summaryrefslogtreecommitdiffstats
path: root/qt
Commit message (Collapse)AuthorAgeFilesLines
* 2005-01-17 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-171-2/+2
| | | | | | | | * dbus/dbus-types.h: hardcode dbus_bool_t to 32 bits * Throughout: modify DBUS_TYPE_BOOLEAN to be a 32-bit type instead of an 8-bit type. Now dbus_bool_t is the type to use whenever you are marshaling/unmarshaling a boolean.
* 2005-01-16 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-161-1/+1
| | | | | | | | | | | | | | | | | * Add and fix docs according to Doxygen warnings throughout source. * dbus/dbus-marshal-recursive.c (_dbus_type_reader_array_is_empty): change this to just call array_reader_get_array_len() and make it static * dbus/dbus-message.c (dbus_message_iter_get_element_type): rename from get_array_type (dbus_message_iter_init_append): rename from append_iter_init * dbus/dbus-marshal-recursive.c (_dbus_type_reader_get_element_type): rename from _dbus_type_reader_get_array_type
* 2005-01-15 Havoc Pennington <hp@redhat.com>Havoc Pennington2005-01-151-21/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Land the new message args API and type system. This patch is huge, but the public API change is not really large. The set of D-BUS types has changed somewhat, and the arg "getters" are more geared toward language bindings; they don't make a copy, etc. There are also some known issues. See these emails for details on this huge patch: http://lists.freedesktop.org/archives/dbus/2004-December/001836.html http://lists.freedesktop.org/archives/dbus/2005-January/001922.html * dbus/dbus-marshal-*: all the new stuff * dbus/dbus-message.c: basically rewritten * dbus/dbus-memory.c (check_guards): with "guards" enabled, init freed blocks to be all non-nul bytes so using freed memory is less likely to work right * dbus/dbus-internals.c (_dbus_test_oom_handling): add DBUS_FAIL_MALLOC=N environment variable, so you can do DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or DBUS_FAIL_MALLOC=10 to make it really, really, really slow and thorough. * qt/message.cpp: port to the new message args API (operator<<): use str.utf8() rather than str.unicode() (pretty sure this is right from the Qt docs?) * glib/dbus-gvalue.c: port to the new message args API * bus/dispatch.c, bus/driver.c: port to the new message args API * dbus/dbus-string.c (_dbus_string_init_const_len): initialize the "locked" flag to TRUE and align_offset to 0; I guess we never looked at these anyhow, but seems cleaner. * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING): move allocation padding macro to this header; use it to implement (_DBUS_STRING_STATIC): ability to declare a static string. * dbus/dbus-message.c (_dbus_message_has_type_interface_member): change to return TRUE if the interface is not set. * dbus/dbus-string.[hc]: move the D-BUS specific validation stuff to dbus-marshal-validate.[hc] * dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from dbus-internals.c * dbus/Makefile.am: cut over from dbus-marshal.[hc] to dbus-marshal-*.[hc] * dbus/dbus-object-tree.c (_dbus_decompose_path): move this function here from dbus-marshal.c
* 2004-10-29 Colin Walters <walters@redhat.com>Colin Walters2004-10-291-0/+1
| | | | * bus/.cvsignore, qt/.cvsignore: Update.
* patch by Jérôme Lodewyck <lodewyck@clipper.ens.fr> to enable integrationHarald Fernengel2004-09-043-2/+15
| | | | of an existing connection into the Qt main loop
* 2004-08-09 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-08-105-5/+5
| | | | | * COPYING: switch to Academic Free License version 2.1 instead of 2.0, to resolve complaints about patent termination clause.
* 2004-07-06 Colin Walters <walters@redhat.com>Colin Walters2004-07-061-0/+2
| | | | | | | * doc/Makefile.am, qt/Makefile.am: mono/doc/Makefile.am: Allow 'make dist' without doc building of various sorts or QT support enabled.
* Modified version of the patch by Jeff Snyder jeff at caffeinated.me.ukZack Rusin2004-05-041-2/+4
| | | | Thanks
* small compile fixHarald Fernengel2004-05-031-0/+2
|
* Committing Haralds stuff together with some of my backlog for connection.Zack Rusin2004-04-272-19/+53
|
* 2004-03-19 Havoc Pennington <hp@redhat.com>dbus-0.21Havoc Pennington2004-03-191-1/+10
| | | | | | | | | | | | | | * NEWS: 0.21 updates * configure.in: 0.21 * doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED * python/Makefile.am: change to avoid dist of dbus_bindings.c so you don't need pyrex to make dist * qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to sources; run moc
* thingiesZack Rusin2004-01-282-0/+5
|
* Slightily modified patch from Alex (blarf). I'll have to rething the accessZack Rusin2004-01-265-15/+120
| | | | to dbus internals from the wrappers.
* 2003-12-02 Richard Hult <richard@imendio.com>Richard Hult2003-12-0210-10/+10
| | | | | * Update AFL version to 2.0 throughout the source files to reflect the update that was done a while ago.
* Adding DBusServer wrapper. Switching some thingies, looking pretty andZack Rusin2003-11-257-12/+205
| | | | | being cool... Anyway, we're done at a very basic level. I have to go back to something else now, but i'll try to commit an example sometime soon.
* As changelog says. Integration is pretty much there, so dbus should at leastZack Rusin2003-11-244-73/+116
| | | | use Qt for timeouts and watches comfortably now.
* Seperating integration with D-BUS from Connection to the internal IntegratorZack Rusin2003-11-245-89/+281
| | | | | | class. I simply hated the interfaces in the public Connection when it had to contain a bunch of friends and protected members that were never really meant to be seen.
* Coding on dbus is like christmas. Just without christmas tree, presents, santaZack Rusin2003-11-235-10/+186
| | | | | | clause, shopping, food, cookies, carrols, eggs, bunnies, trick or treating, smoking crack... I don't quite remember where I was going with this but we're getting closer.
* 1) switching d-pointer names to just PrivateZack Rusin2003-11-233-8/+65
| | | | | | 2) starting workin on the connection binding 3) trying to find clean socks, committing the first two, the third one is hopeless
* Happy birthday to me, happy birthday to me... Well, it's not reallyZack Rusin2003-11-232-47/+53
| | | | | | | | my birthday, but it will be in like 8 months and for such a huge celebration I want to start preparing rather early. The marshelling in Message is crap (not the good kind of crap either). I'm not yet sure how we'll handle the transition from dcop but for now lets at least make it sane api wise.
* thanksgiving break, lets start working on those bindings.Zack Rusin2003-11-232-78/+139
|
* 2003-04-06 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-04-071-0/+5
| | | | | | | | | | | | | | | | | | | | * qt/Makefile.am (dbusinclude_HEADERS): install dbus-qt.h, from Colin Walters * configure.in: fixes to Qt detection from Colin Walters * doc/Makefile.am: Only remove generated docbook dirs if they exist, from Colin Walters * dbus/dbus-bus.c: change how we set well-known connections to NULL, so that it works if a single connection is stored in two well-known array slots. * test/Makefile.am: remove a lot of stuff that isn't immediately useful, it's in CVS history if we want it. * test/test-service.c: use dbus-mainloop instead of that watch.[hc] crack
* 2003-02-16 Havoc Pennington <hp@pobox.com>Havoc Pennington2003-02-161-1/+4
| | | | | | | * dbus/dbus-connection.c (dbus_connection_set_change_sigpipe): allow people to avoid setting SIGPIPE to SIG_IGN (_dbus_connection_new_for_transport): disable SIGPIPE unless we've been asked not to
* Bad Alex.Zack Rusin2003-02-151-1/+1
|
* 2003-02-15 Alexander Larsson <alexl@redhat.com>Alexander Larsson2003-02-151-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dbus/dbus-threads.c: * dbus/dbus-threads.h: Add condvars. Remove static mutext from API. Implement static mutexes by initializing them from threads_init. * glib/dbus-gthread.c: * qt/dbus-qthread.cpp: Update with the thread api changes. * dbus/dbus-list.c: * dbus/dbus-list.h: Turn StaticMutex into normal mutex + init function. Export new functions _dbus_list_alloc_link, _dbus_list_free_link, _dbus_list_append_link, _dbus_list_prepend_link * dbus/dbus-sysdeps.c: * dbus/dbus-sysdeps.h: New type dbus_atomic_t, and new functions _dbus_atomic_inc, _dbus_atomic_dec. Only slow fallback implementation at the moment. * dbus/dbus-protocol.h: Add DBUS_MESSAGE_LOCAL_DISCONNECT define * dbus/dbus-message.c: Make ref/unref atomic. Fix some docs. * dbus/dbus-connection-internal.h: * dbus/dbus-connection.c: * dbus/dbus-connection.h: Make threadsafe. Change _peek to _borrow,_return & _steal_borrowed. Change disconnect callback to event. Make dbus_connection_dispatch_messages reentrant. * dbus/dbus-transport.c: Don't ref the connection on calls to the transport implementation. * dbus/dbus-message-handler.c: Make threadsafe. * glib/dbus-gmain.c: Don't use peek_message anymore * test/Makefile.am: * test/debug-thread.c: * test/debug-thread.h: Simple thread implementation that asserts() on deadlocks in single-threaded code. * test/bus-test.c: (main) Call debug_threads_init. * test/watch.c: Use disconnect message instead of disconnect callback. * bus/connection.c: * bus/connection.h: Don't call dbus_connection_set_disconnect_function. Instead export bus_connection_disconnect. * bus/dispatch.c: Call bus_connection_disconnect when we get a disconnected message.
* Sample KDE wrapper for DBusMessage.Zack Rusin2003-02-112-0/+517
|
* very basic check for Qt integration. Another proof that Qt's buildHarri Porten2002-12-283-2/+22
| | | | | | system needs more work for people using it. I didn't want to copy all of KDEs autoconf magic so this is far from perfect, yet. Can we use pkg-config here ?
* adjusted ctor and getter function to KDE/Qt conventionsHarri Porten2002-12-251-6/+7
|
* Starting the work on Qt integration.Zack Rusin2002-12-252-0/+165