1 2002-12-26 Anders Carlsson <andersca@codefactory.se>
3 * dbus/dbus-marshal.c: (_dbus_marshal_string),
4 (_dbus_demarshal_double), (_dbus_demarshal_int32),
5 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
8 Add string marshal functions and have the demarshal functions
9 return the new position.
11 2002-12-25 Havoc Pennington <hp@pobox.com>
13 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
14 it is a simple protocol that just maps directly to SASL.
16 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
17 initial implementation, not actually used yet.
19 * dbus/dbus-string.c (_dbus_string_find): new function
20 (_dbus_string_equal): new function
21 (_dbus_string_base64_encode): new function
22 (_dbus_string_base64_decode): new function
24 2002-12-25 Anders Carlsson <andersca@codefactory.se>
27 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
28 (_dbus_marshal_int32), (_dbus_marshal_uint32),
29 (_dbus_demarshal_double), (_dbus_demarshal_int32),
30 (_dbus_demarshal_uint32), (_dbus_marshal_test):
31 * dbus/dbus-marshal.h:
32 * dbus/dbus-protocol.h:
33 * dbus/dbus-test.c: (main):
35 Add un-optimized marshalling/demarshalling routines.
37 2002-12-25 Harri Porten <porten@kde.org>
39 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
41 2002-12-24 Zack Rusin <zack@kde.org>
43 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
44 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
47 2002-12-24 Havoc Pennington <hp@pobox.com>
49 * glib/dbus-gthread.c: fix include
51 * glib/dbus-glib.h: rename DBusMessageHandler for now.
52 I think glib API needs to change, though, as you don't
53 want to use DBusMessageFunction, you want to use the
54 DBusMessageHandler object. Probably
55 dbus_connection_open_with_g_main_loop()
56 and dbus_connection_setup_g_main_loop() or something like that
57 (but think of better names...) that just create a connection
58 that has watch/timeout functions etc. already set up.
60 * dbus/dbus-connection.c
61 (dbus_connection_send_message_with_reply): new function just to
62 show how the message handler helps us deal with replies.
64 * dbus/dbus-list.c (_dbus_list_remove_last): new function
66 * dbus/dbus-string.c (_dbus_string_test): free a string that
69 * dbus/dbus-hash.c: use memory pools for the hash entries
70 (rebuild_table): be more paranoid about overflow, and
71 shrink table when we can
72 (_dbus_hash_test): reduce number of sprintfs and write
73 valid C89. Add tests for case where we grow and then
74 shrink the hash table.
76 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
78 * dbus/dbus-connection.c (dbus_connection_register_handler)
79 (dbus_connection_unregister_handler): new functions
81 * dbus/dbus-message.c (dbus_message_get_name): new
83 * dbus/dbus-list.c: fix docs typo
85 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
86 an object representing a handler for messages.
88 2002-12-16 Anders Carlsson <andersca@codefactory.se>
91 * glib/dbus-gthread.c: (dbus_gthread_init):
92 Don't use the gdbus prefix for public functions.
94 2002-12-16 Anders Carlsson <andersca@codefactory.se>
98 Add GLib checks and fixup .pc files
102 * glib/dbus-gmain.c: (gdbus_connection_prepare),
103 (gdbus_connection_check), (gdbus_connection_dispatch),
104 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
105 (dbus_connection_gsource_new):
106 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
107 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
108 * glib/test-dbus-glib.c: (message_handler), (main):
111 2002-12-15 Harri Porten <porten@kde.org>
113 * autogen.sh: check for libtoolize before attempting to use it
115 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
118 * .cvsignore: ignore more stamp files
120 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
122 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
123 without make install.
125 2002-12-15 Havoc Pennington <hp@pobox.com>
127 * dbus/dbus-threads.c: add thread stubs that a higher library
128 layer can fill in. e.g. the GLib wrapper might fill them in with
129 GThread stuff. We still need to use this thread API to
130 thread-safe-ize the library.
132 2002-12-12 Havoc Pennington <hp@pobox.com>
134 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
135 below new interfaces and include fewer system headers.
137 * dbus/dbus-sysdeps.c (_dbus_read): new function
138 (_dbus_write): new function
139 (_dbus_write_two): new function
140 (_dbus_connect_unix_socket): new function
141 (_dbus_listen_unix_socket): new function
143 * dbus/dbus-message-internal.h: change interfaces to use
146 2002-12-11 Havoc Pennington <hp@pobox.com>
148 * dbus/dbus-types.h: add dbus_unichar
150 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
152 * dbus/dbus-connection.c (dbus_connection_send_message): return
155 * dbus/dbus-transport.c: include dbus-watch.h
157 * dbus/dbus-connection.c: include dbus-message-internal.h
159 * HACKING: add file with coding guidelines stuff.
161 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
162 handling here, for security purposes (as in vsftpd). Not actually
163 using this class yet.
165 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
166 system/libc usage here, as in vsftpd, for ease of auditing (and
167 should also simplify portability). Haven't actually moved all the
168 system/libc usage into here yet.
170 2002-11-25 Havoc Pennington <hp@pobox.com>
172 * dbus/dbus-internals.c (_dbus_verbose): fix to not
173 always print the first verbose message.
175 2002-11-24 Havoc Pennington <hp@pobox.com>
177 * test/echo-client.c, test/echo-server.c: cheesy test
180 * configure.in (AC_CHECK_FUNCS): check for writev
182 * dbus/dbus-message.c (_dbus_message_get_network_data): new
185 * dbus/dbus-list.c (_dbus_list_foreach): new function
187 * dbus/dbus-internals.c (_dbus_verbose): new function
189 * dbus/dbus-server.c, dbus/dbus-server.h: public object
190 representing a server that listens for connections.
192 * dbus/.cvsignore: create
194 * dbus/dbus-errors.h, dbus/dbus-errors.c:
195 public API for reporting errors
197 * dbus/dbus-connection.h, dbus/dbus-connection.c:
198 public object representing a connection that
199 sends/receives messages. (Same object used for
200 both client and server.)
202 * dbus/dbus-transport.h, dbus/dbus-transport.c:
203 Basic abstraction for different kinds of stream
204 that we might read/write messages from.
206 2002-11-23 Havoc Pennington <hp@pobox.com>
208 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
211 * dbus/dbus-test.c (main): add list test, and include
212 dbus-test.h as intended
214 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
215 (_dbus_hash_table_remove_int): return value indicates
216 whether the entry existed to remove
218 * dbus/dbus-list.c: add linked list utility class,
221 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
224 2002-11-23 Havoc Pennington <hp@pobox.com>
226 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
227 DBUS_END_DECLS to nothing, that should fix this once and for all
229 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
231 * dbus/dbus-message.c, dbus/dbus-hash.c:
232 add some missing @brief
234 2002-11-23 Havoc Pennington <hp@pobox.com>
236 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
237 to avoid confusing Doxygen
239 * dbus/dbus-hash.c: @} not }@
241 * dbus/dbus-message.c (struct DBusMessage): split out
244 2002-11-23 Havoc Pennington <hp@pobox.com>
246 * configure.in: pile on more warning flags if using gcc
248 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
249 to document static functions
251 * configure.in: add summary to end of configure so it
252 looks nice and attractive
254 * dbus/dbus-hash.c: finish implementation and write unit
257 * configure.in: add --enable-tests to enable unit tests
259 * dbus/dbus-test.c: test program to run unit tests
260 for all files in dbus/*, initially runs a test for
263 * dbus/dbus-internals.h: file to hold some internal utility stuff
265 2002-11-22 Havoc Pennington <hp@redhat.com>
267 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
268 "ported" away from Tcl
270 * dbus/dbus-types.h: header for types such as dbus_bool_t
272 2002-11-22 Havoc Pennington <hp@redhat.com>
274 * dbus/dbus.h: fixups for doc warnings
276 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
278 (QUIET): make it quiet so we can see warnings
280 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
282 2002-11-22 Havoc Pennington <hp@redhat.com>
284 * Makefile.am: include "Doxyfile" target in all-local
286 * configure.in: generate the Doxyfile
288 * Doxyfile.in: move Doxyfile here, so we can use
289 configure to generate a Doxyfile with the right
292 2002-11-22 Havoc Pennington <hp@redhat.com>
294 * dbus/dbus-message.c: move inline docs into .c file
296 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
297 so all docs are under doc/
298 (MAN_EXTENSION): generate man pages. Use extension
299 ".3dbus" which matches ".3qt" on my system,
300 I guess this is OK, I don't know really.
301 (FILE_PATTERNS): look for .c files not .h, makes sense
304 2002-11-22 Havoc Pennington <hp@pobox.com>
306 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
307 because any app can be a server, and any app can be a client,
308 the bus is a special kind of server.
310 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
312 * Doxyfile : adding. Still needs Makefile rules to be generated
313 automatically (just run "doxygen" in the toplevel dir for now to
316 * dbus/dbus-message.h : Adding sample docs (javadoc since
317 resembles gtk-doc a little more)
319 * dbus/dbus.h : Adding sample docs
321 2002-11-21 Havoc Pennington <hp@redhat.com>
323 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
324 so we can allow ourselves to include files directly,
325 instead of having to use dbus.h
327 * dbus/dbus.h: fill in
329 * dbus/dbus-message.h: sketch out a sample header file.
330 Include griping if you include it directly instead of
333 * dbus/dbus-macros.h: new file with macros for extern "C",
334 TRUE/FALSE, NULL, etc.
336 * doc/file-boilerplate.c: put include guards in here
338 2002-11-21 Havoc Pennington <hp@redhat.com>
340 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
342 * COPYING: include the GPL as well, and license code
343 under both AFL and GPL.
345 2002-11-21 Havoc Pennington <hp@redhat.com>
347 * acconfig.h: get rid of this
349 * autogen.sh (run_configure): add --no-configure option
351 * configure.in: remove AC_ARG_PROGRAM to make
352 autoconf complain less. add AC_PREREQ.
353 add AC_DEFINE third arg.
355 2002-11-21 Anders Carlsson <andersca@codefactory.se>
358 Fix references so we can distcheck.
360 2002-11-21 Havoc Pennington <hp@redhat.com>
362 * Initial module creation