1 2002-12-25 Anders Carlsson <andersca@codefactory.se>
4 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
5 (_dbus_marshal_int32), (_dbus_marshal_uint32),
6 (_dbus_demarshal_double), (_dbus_demarshal_int32),
7 (_dbus_demarshal_uint32), (_dbus_marshal_test):
9 * dbus/dbus-protocol.h:
10 * dbus/dbus-test.c: (main):
12 Add un-optimized marshalling/demarshalling routines.
14 2002-12-25 Harri Porten <porten@kde.org>
16 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
18 2002-12-24 Zack Rusin <zack@kde.org>
20 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
21 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
24 2002-12-24 Havoc Pennington <hp@pobox.com>
26 * glib/dbus-gthread.c: fix include
28 * glib/dbus-glib.h: rename DBusMessageHandler for now.
29 I think glib API needs to change, though, as you don't
30 want to use DBusMessageFunction, you want to use the
31 DBusMessageHandler object. Probably
32 dbus_connection_open_with_g_main_loop()
33 and dbus_connection_setup_g_main_loop() or something like that
34 (but think of better names...) that just create a connection
35 that has watch/timeout functions etc. already set up.
37 * dbus/dbus-connection.c
38 (dbus_connection_send_message_with_reply): new function just to
39 show how the message handler helps us deal with replies.
41 * dbus/dbus-list.c (_dbus_list_remove_last): new function
43 * dbus/dbus-string.c (_dbus_string_test): free a string that
46 * dbus/dbus-hash.c: use memory pools for the hash entries
47 (rebuild_table): be more paranoid about overflow, and
48 shrink table when we can
49 (_dbus_hash_test): reduce number of sprintfs and write
50 valid C89. Add tests for case where we grow and then
51 shrink the hash table.
53 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
55 * dbus/dbus-connection.c (dbus_connection_register_handler)
56 (dbus_connection_unregister_handler): new functions
58 * dbus/dbus-message.c (dbus_message_get_name): new
60 * dbus/dbus-list.c: fix docs typo
62 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
63 an object representing a handler for messages.
65 2002-12-16 Anders Carlsson <andersca@codefactory.se>
68 * glib/dbus-gthread.c: (dbus_gthread_init):
69 Don't use the gdbus prefix for public functions.
71 2002-12-16 Anders Carlsson <andersca@codefactory.se>
75 Add GLib checks and fixup .pc files
79 * glib/dbus-gmain.c: (gdbus_connection_prepare),
80 (gdbus_connection_check), (gdbus_connection_dispatch),
81 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
82 (dbus_connection_gsource_new):
83 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
84 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
85 * glib/test-dbus-glib.c: (message_handler), (main):
88 2002-12-15 Harri Porten <porten@kde.org>
90 * autogen.sh: check for libtoolize before attempting to use it
92 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
95 * .cvsignore: ignore more stamp files
97 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
99 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
100 without make install.
102 2002-12-15 Havoc Pennington <hp@pobox.com>
104 * dbus/dbus-threads.c: add thread stubs that a higher library
105 layer can fill in. e.g. the GLib wrapper might fill them in with
106 GThread stuff. We still need to use this thread API to
107 thread-safe-ize the library.
109 2002-12-12 Havoc Pennington <hp@pobox.com>
111 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
112 below new interfaces and include fewer system headers.
114 * dbus/dbus-sysdeps.c (_dbus_read): new function
115 (_dbus_write): new function
116 (_dbus_write_two): new function
117 (_dbus_connect_unix_socket): new function
118 (_dbus_listen_unix_socket): new function
120 * dbus/dbus-message-internal.h: change interfaces to use
123 2002-12-11 Havoc Pennington <hp@pobox.com>
125 * dbus/dbus-types.h: add dbus_unichar
127 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
129 * dbus/dbus-connection.c (dbus_connection_send_message): return
132 * dbus/dbus-transport.c: include dbus-watch.h
134 * dbus/dbus-connection.c: include dbus-message-internal.h
136 * HACKING: add file with coding guidelines stuff.
138 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
139 handling here, for security purposes (as in vsftpd). Not actually
140 using this class yet.
142 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
143 system/libc usage here, as in vsftpd, for ease of auditing (and
144 should also simplify portability). Haven't actually moved all the
145 system/libc usage into here yet.
147 2002-11-25 Havoc Pennington <hp@pobox.com>
149 * dbus/dbus-internals.c (_dbus_verbose): fix to not
150 always print the first verbose message.
152 2002-11-24 Havoc Pennington <hp@pobox.com>
154 * test/echo-client.c, test/echo-server.c: cheesy test
157 * configure.in (AC_CHECK_FUNCS): check for writev
159 * dbus/dbus-message.c (_dbus_message_get_network_data): new
162 * dbus/dbus-list.c (_dbus_list_foreach): new function
164 * dbus/dbus-internals.c (_dbus_verbose): new function
166 * dbus/dbus-server.c, dbus/dbus-server.h: public object
167 representing a server that listens for connections.
169 * dbus/.cvsignore: create
171 * dbus/dbus-errors.h, dbus/dbus-errors.c:
172 public API for reporting errors
174 * dbus/dbus-connection.h, dbus/dbus-connection.c:
175 public object representing a connection that
176 sends/receives messages. (Same object used for
177 both client and server.)
179 * dbus/dbus-transport.h, dbus/dbus-transport.c:
180 Basic abstraction for different kinds of stream
181 that we might read/write messages from.
183 2002-11-23 Havoc Pennington <hp@pobox.com>
185 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
188 * dbus/dbus-test.c (main): add list test, and include
189 dbus-test.h as intended
191 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
192 (_dbus_hash_table_remove_int): return value indicates
193 whether the entry existed to remove
195 * dbus/dbus-list.c: add linked list utility class,
198 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
201 2002-11-23 Havoc Pennington <hp@pobox.com>
203 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
204 DBUS_END_DECLS to nothing, that should fix this once and for all
206 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
208 * dbus/dbus-message.c, dbus/dbus-hash.c:
209 add some missing @brief
211 2002-11-23 Havoc Pennington <hp@pobox.com>
213 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
214 to avoid confusing Doxygen
216 * dbus/dbus-hash.c: @} not }@
218 * dbus/dbus-message.c (struct DBusMessage): split out
221 2002-11-23 Havoc Pennington <hp@pobox.com>
223 * configure.in: pile on more warning flags if using gcc
225 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
226 to document static functions
228 * configure.in: add summary to end of configure so it
229 looks nice and attractive
231 * dbus/dbus-hash.c: finish implementation and write unit
234 * configure.in: add --enable-tests to enable unit tests
236 * dbus/dbus-test.c: test program to run unit tests
237 for all files in dbus/*, initially runs a test for
240 * dbus/dbus-internals.h: file to hold some internal utility stuff
242 2002-11-22 Havoc Pennington <hp@redhat.com>
244 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
245 "ported" away from Tcl
247 * dbus/dbus-types.h: header for types such as dbus_bool_t
249 2002-11-22 Havoc Pennington <hp@redhat.com>
251 * dbus/dbus.h: fixups for doc warnings
253 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
255 (QUIET): make it quiet so we can see warnings
257 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
259 2002-11-22 Havoc Pennington <hp@redhat.com>
261 * Makefile.am: include "Doxyfile" target in all-local
263 * configure.in: generate the Doxyfile
265 * Doxyfile.in: move Doxyfile here, so we can use
266 configure to generate a Doxyfile with the right
269 2002-11-22 Havoc Pennington <hp@redhat.com>
271 * dbus/dbus-message.c: move inline docs into .c file
273 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
274 so all docs are under doc/
275 (MAN_EXTENSION): generate man pages. Use extension
276 ".3dbus" which matches ".3qt" on my system,
277 I guess this is OK, I don't know really.
278 (FILE_PATTERNS): look for .c files not .h, makes sense
281 2002-11-22 Havoc Pennington <hp@pobox.com>
283 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
284 because any app can be a server, and any app can be a client,
285 the bus is a special kind of server.
287 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
289 * Doxyfile : adding. Still needs Makefile rules to be generated
290 automatically (just run "doxygen" in the toplevel dir for now to
293 * dbus/dbus-message.h : Adding sample docs (javadoc since
294 resembles gtk-doc a little more)
296 * dbus/dbus.h : Adding sample docs
298 2002-11-21 Havoc Pennington <hp@redhat.com>
300 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
301 so we can allow ourselves to include files directly,
302 instead of having to use dbus.h
304 * dbus/dbus.h: fill in
306 * dbus/dbus-message.h: sketch out a sample header file.
307 Include griping if you include it directly instead of
310 * dbus/dbus-macros.h: new file with macros for extern "C",
311 TRUE/FALSE, NULL, etc.
313 * doc/file-boilerplate.c: put include guards in here
315 2002-11-21 Havoc Pennington <hp@redhat.com>
317 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
319 * COPYING: include the GPL as well, and license code
320 under both AFL and GPL.
322 2002-11-21 Havoc Pennington <hp@redhat.com>
324 * acconfig.h: get rid of this
326 * autogen.sh (run_configure): add --no-configure option
328 * configure.in: remove AC_ARG_PROGRAM to make
329 autoconf complain less. add AC_PREREQ.
330 add AC_DEFINE third arg.
332 2002-11-21 Anders Carlsson <andersca@codefactory.se>
335 Fix references so we can distcheck.
337 2002-11-21 Havoc Pennington <hp@redhat.com>
339 * Initial module creation