1 2003-01-19 Havoc Pennington <hp@pobox.com>
3 * dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
6 * dbus/dbus-server.c (dbus_server_set_max_connections)
7 (dbus_server_get_max_connections, dbus_server_get_n_connections):
8 keep track of current number of connections, and add API for
9 setting a max (but haven't implemented enforcing the max yet)
11 2003-01-18 Havoc Pennington <hp@pobox.com>
13 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
14 reading/writing if read_watch != NULL or write_watch != NULL.
16 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
17 the message loader code to actually load message->header and
18 message->body into the newly-created message.
20 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
23 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
24 (dbus_connection_get_max_message_size)
25 (dbus_connection_set_max_live_messages_size)
26 (dbus_connection_get_max_live_messages_size): implement some
27 resource limitation functions
29 * dbus/dbus-resources.c: new file implementing some of the
32 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
33 missing docs, add @todo to handle OOM etc.
35 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
38 2003-01-18 Havoc Pennington <hp@pobox.com>
40 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
41 connection if it hasn't been already.
43 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
44 replace with DisconnectFunction.
46 2003-01-18 Havoc Pennington <hp@pobox.com>
48 Building --disable-verbose-mode --disable-asserts --disable-tests
49 cuts the library from 112K to 45K or so
51 * configure.in: check for varargs macro support,
52 add --enable-verbose-mode, --enable-asserts.
54 * dbus/dbus-internals.h (_dbus_assert): support
56 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
58 2003-01-18 Havoc Pennington <hp@pobox.com>
60 * dbus/dbus-test.c: include config.h so that tests actually run
62 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
63 so the failure mode when that assumption fails will be plenty
66 2003-01-18 Havoc Pennington <hp@pobox.com>
68 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
70 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
73 * test/Makefile.am: don't use special variable "TESTS" for echo-*
74 since we don't want to use those in make check
76 2003-01-15 Havoc Pennington <hp@redhat.com>
82 2003-01-15 Havoc Pennington <hp@redhat.com>
84 * test/Makefile.am: fix so that test source code ends up in the
85 distribution on make distcheck
87 2003-01-15 Havoc Pennington <hp@redhat.com>
93 2003-01-15 Havoc Pennington <hp@redhat.com>
95 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
96 fix build when --disable-tests
98 * Makefile.am (EXTRA_DIST): put HACKING in here
100 * HACKING: document procedure for making a tarball release.
102 2003-01-14 Anders Carlsson <andersca@codefactory.se>
104 * bus/connection.c: (connection_error_handler),
105 (bus_connection_setup):
106 * bus/main.c: (main):
107 Make sure that the DBusConnectionData struct is NULLed
108 out to prevent a segfault.
110 * dbus/dbus-errors.c: (dbus_result_to_string):
111 * dbus/dbus-errors.h:
112 * dbus/dbus-message.c: (dbus_message_get_fields),
113 (dbus_message_get_fields_valist), (_dbus_message_test):
114 * dbus/dbus-message.h:
115 Make dbus_message_get_fields return a result code so we can
116 track invalid fields as well as oom.
118 2003-01-11 Havoc Pennington <hp@pobox.com>
120 * configure.in: change --enable-test/--enable-ansi action-if-given
121 to enable_foo=$enableval instead of enable_foo=yes
123 2003-01-08 Havoc Pennington <hp@pobox.com>
125 * dbus/dbus-string.c (_dbus_string_align_length): new function
127 * dbus/dbus-test-main.c: move main() for test app here
129 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
130 symbol to run tests, because dbus-test isn't in the main
133 Code review nitpicks.
135 * dbus/dbus-message.c (dbus_message_write_header): add newlines
136 for people with narrow emacs ;-). Assert client_serial was filled
137 in. Assert message->name != NULL.
138 (dbus_message_append_fields): have "first_field_type" arg separate
139 from va list, needed for C++ binding that also uses varargs IIRC
140 and helps with type safety
141 (dbus_message_new): add @todo about using DBusString to store
142 service/name internally
143 (dbus_message_new): don't leak ->service and ->name on OOM later
145 (dbus_message_unref): free the service name
146 (dbus_message_get_fields): same change to varargs
147 i.e. first_field_type
148 (_dbus_message_loader_return_buffer): assert that the message data
149 is aligned (if not it's a bug in our code). Put in verbose griping
150 about why we set corrupted = TRUE.
151 (decode_header_data): add FIXME that char* is evil. Was going to
152 add FIXME about evil locale-specific string.h strncmp, but just
153 switched to wacky string-as-uint32 optimization. Move check for
154 "no room for field name" above get_const_data_len() to avoid
155 assertion failure in get_const_data_len if we have trailing 2
156 bytes or the like. Check for service and name fields being
157 provided twice. Don't leak service/name on error. Require field
158 names to be aligned to 4 bytes.
160 * dbus/dbus-marshal.c: move byte swap stuff to header
161 (_dbus_pack_int32): uscore-prefix
162 (_dbus_unpack_int32): uscore-prefix
163 (_dbus_unpack_uint32): export
164 (_dbus_demarshal_string): add @todo complaining about use of
166 (_dbus_marshal_get_field_end_pos): add @todo about bad error
167 handling allowing corrupt data to go unchecked
169 2003-01-08 Havoc Pennington <hp@redhat.com>
171 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
172 to the select() as needed for authentication. (should be using
173 _dbus_poll() not select, but for another day)
175 * dbus/dbus.h: include dbus/dbus-protocol.h
177 2003-01-08 Anders Carlsson <andersca@codefactory.se>
179 * dbus/Makefile.am (dbusinclude_HEADERS): Install
182 2003-01-08 Anders Carlsson <andersca@codefactory.se>
184 * dbus/dbus-internals.c: (_dbus_type_to_string):
185 New function that returns a string describing a type.
187 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
188 * dbus/dbus-marshal.h:
189 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
190 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
191 (dbus_message_iter_get_byte_array):
192 * dbus/dbus-message.h:
193 Add new convenience functions for appending and getting message fields.
194 Also add demarshalling routines for byte arrays.
196 2003-01-07 Anders Carlsson <andersca@codefactory.se>
198 * dbus/dbus-connection-internal.h:
199 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
200 (_dbus_connection_get_next_client_serial),
201 (dbus_connection_send_message):
202 * dbus/dbus-internals.h:
203 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
204 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
205 (_dbus_marshal_uint32), (_dbus_demarshal_double),
206 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
207 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
208 (_dbus_verbose_bytes), (_dbus_marshal_test):
209 * dbus/dbus-marshal.h:
210 * dbus/dbus-message-internal.h:
211 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
212 (dbus_message_write_header), (_dbus_message_lock),
213 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
214 (dbus_message_get_name), (dbus_message_append_int32),
215 (dbus_message_append_uint32), (dbus_message_append_double),
216 (dbus_message_append_string), (dbus_message_append_byte_array),
217 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
218 (dbus_message_iter_unref), (dbus_message_iter_has_next),
219 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
220 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
221 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
222 (decode_header_data), (_dbus_message_loader_return_buffer),
223 (message_iter_test), (_dbus_message_test):
224 * dbus/dbus-message.h:
225 * dbus/dbus-protocol.h:
226 * dbus/dbus-test.c: (main):
228 * glib/test-dbus-glib.c: (message_handler), (main):
229 * test/echo-client.c: (main):
230 * test/watch.c: (check_messages):
231 Make messages sendable and receivable for real.
233 2003-01-07 Anders Carlsson <andersca@codefactory.se>
235 * dbus/dbus-marshal.c: (_dbus_marshal_double),
236 (_dbus_marshal_string), (_dbus_marshal_byte_array):
237 * dbus/dbus-message.c: (dbus_message_append_int32),
238 (dbus_message_append_uint32), (dbus_message_append_double),
239 (dbus_message_append_string), (dbus_message_append_byte_array):
240 Handle OOM restoration.
242 2003-01-07 Anders Carlsson <andersca@codefactory.se>
244 * dbus/dbus-marshal.c: (_dbus_marshal_string),
245 (_dbus_demarshal_string), (_dbus_marshal_test):
246 * dbus/dbus-marshal.h:
247 * dbus/dbus-message.c: (dbus_message_get_name),
248 Document these functions.
250 (dbus_message_append_int32), (dbus_message_append_uint32),
251 (dbus_message_append_double), (dbus_message_append_string),
252 (dbus_message_append_byte_array):
253 * dbus/dbus-message.h:
254 Add functions for adding message fields of different types.
256 * dbus/dbus-protocol.h:
257 Add the different types.
259 2003-01-05 Havoc Pennington <hp@pobox.com>
261 * bus/connection.c: implement routines for handling connections,
262 first thing is keeping a list of owned services on each connection
263 and setting up watches etc.
265 * bus/services.c: implement a mapping from service names to lists
268 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
270 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
271 to use static mutexes for global data
273 * dbus/dbus-connection.c (dbus_connection_set_data): add new
274 collection of functions to set/get application-specific data
275 on the DBusConnection.
277 2003-01-04 Havoc Pennington <hp@pobox.com>
279 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
280 (_dbus_poll): new function
282 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
285 * bus/loop.c: initial code for the daemon main loop
287 2003-01-04 Havoc Pennington <hp@pobox.com>
289 * test/watch.c (error_handler): make it safe if the error handler
290 is called multiple times (if we s/error handler/disconnect
291 handler/ we should just guarantee it's called only once)
293 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
294 error handler on disconnect (it's quite possible we should
295 just change the error handler to a "disconnect handler," I'm
296 not sure we have any other meaningful errors)
298 * configure.in: check for getpwnam_r
300 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
301 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
302 mechanism as in SASL spec, using socket credentials
304 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
305 (_dbus_send_credentials_unix_socket): new function
307 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
309 (_dbus_write): only check errno if <0 returned
310 (_dbus_write_two): ditto
312 2003-01-02 Anders Carlsson <andersca@codefactory.se>
314 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
315 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
316 (_dbus_marshal_test):
317 * dbus/dbus-marshal.h:
318 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
319 to _dbus_marshal_utf8_string. Also fix some tests.
321 2002-12-28 Harri Porten <porten@kde.org>
323 * configure.in: added check for C++ compiler and a very cheesy
324 check for the Qt integration
326 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
328 * qt/Makefile.am: added
330 * qt/.cvsignore: added
332 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
333 latter, added #ifdef QT_THREAD_SUPPORT guard.
335 * dbus/Makefile.am: added missing headers for make dist
337 2002-12-28 Kristian Rietveld <kris@gtk.org>
339 * dbus/Makefile.am: fixup export-symbols-regex.
341 2002-12-27 Anders Carlsson <andersca@codefactory.se>
343 * acinclude.m4: Add this file and put the
344 PKG_CHECK_MODULE macro in it.
346 2002-12-27 Anders Carlsson <andersca@codefactory.se>
348 * dbus/dbus-marshal.c: (_dbus_marshal_string),
349 (_dbus_demarshal_double), (_dbus_demarshal_int32),
350 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
351 (_dbus_marshal_test):
352 Make the demarshalling routines align the pos argument.
353 Add string marshalling tests and fix the obvious bugs
356 2002-12-26 Havoc Pennington <hp@pobox.com>
358 * dbus/dbus-auth.c: fixes fixes fixes
360 * dbus/dbus-transport-unix.c: wire up support for
361 encoding/decoding data on the wire
363 * dbus/dbus-auth.c (_dbus_auth_encode_data)
364 (_dbus_auth_decode_data): append to target string
365 instead of nuking it.
367 2002-12-26 Havoc Pennington <hp@pobox.com>
369 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
370 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
373 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
374 avoid swap_bytes() overhead (ignoring possible assembly stuff for
375 now). Main point is because I wanted unpack_uint32 to implement
377 (_dbus_verbose_bytes): new function
379 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
381 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
382 mechanism to handle a corrupt message stream
383 (_dbus_message_loader_new): fix preallocation to only prealloc,
386 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
387 (_dbus_string_test): enhance tests for copy/move and fix the
390 * dbus/dbus-transport-unix.c: Hold references in more places to
391 avoid reentrancy problems
393 * dbus/dbus-transport.c: ditto
395 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
396 leak reference count in no-message case
398 * test/watch.c (do_mainloop): handle adding/removing watches
399 during iteration over the watches. Also, ref the connection/server
400 stored on a watch, so we don't try to mangle a destroyed one.
402 * dbus/dbus-transport-unix.c (do_authentication): perform
405 * dbus/dbus-auth.c (get_state): add a state
406 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
407 (_dbus_auth_get_unused_bytes): append the unused bytes
408 to the passed in string, rather than prepend
410 * dbus/dbus-transport.c (_dbus_transport_init_base): create
411 the auth conversation DBusAuth
413 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
414 (_dbus_transport_new_for_domain_socket): when creating a
415 transport, pass in whether it's a client-side or server-side
416 transport so we know which DBusAuth to create
418 2002-12-03 Havoc Pennington <hp@pobox.com>
420 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
421 _after_ finalizing the derived members
422 (unix_connection_set): unref watch if we fail to add it
424 * dbus/dbus-connection.c (dbus_connection_unref): delete the
425 transport first, so that the connection owned by the
426 transport will be valid as the transport finalizes.
428 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
429 if necessary, and remove watches from the connection.
431 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
433 2002-12-26 Anders Carlsson <andersca@codefactory.se>
435 * dbus/dbus-marshal.c: (_dbus_marshal_string),
436 (_dbus_demarshal_double), (_dbus_demarshal_int32),
437 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
438 (_dbus_marshal_test):
439 * dbus/dbus-marshal.h:
440 Add string marshal functions and have the demarshal functions
441 return the new position.
443 2002-12-25 Havoc Pennington <hp@pobox.com>
445 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
446 it is a simple protocol that just maps directly to SASL.
448 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
449 initial implementation, not actually used yet.
451 * dbus/dbus-string.c (_dbus_string_find): new function
452 (_dbus_string_equal): new function
453 (_dbus_string_base64_encode): new function
454 (_dbus_string_base64_decode): new function
456 2002-12-25 Anders Carlsson <andersca@codefactory.se>
459 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
460 (_dbus_marshal_int32), (_dbus_marshal_uint32),
461 (_dbus_demarshal_double), (_dbus_demarshal_int32),
462 (_dbus_demarshal_uint32), (_dbus_marshal_test):
463 * dbus/dbus-marshal.h:
464 * dbus/dbus-protocol.h:
465 * dbus/dbus-test.c: (main):
467 Add un-optimized marshalling/demarshalling routines.
469 2002-12-25 Harri Porten <porten@kde.org>
471 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
473 2002-12-24 Zack Rusin <zack@kde.org>
475 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
476 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
479 2002-12-24 Havoc Pennington <hp@pobox.com>
481 * glib/dbus-gthread.c: fix include
483 * glib/dbus-glib.h: rename DBusMessageHandler for now.
484 I think glib API needs to change, though, as you don't
485 want to use DBusMessageFunction, you want to use the
486 DBusMessageHandler object. Probably
487 dbus_connection_open_with_g_main_loop()
488 and dbus_connection_setup_g_main_loop() or something like that
489 (but think of better names...) that just create a connection
490 that has watch/timeout functions etc. already set up.
492 * dbus/dbus-connection.c
493 (dbus_connection_send_message_with_reply): new function just to
494 show how the message handler helps us deal with replies.
496 * dbus/dbus-list.c (_dbus_list_remove_last): new function
498 * dbus/dbus-string.c (_dbus_string_test): free a string that
501 * dbus/dbus-hash.c: use memory pools for the hash entries
502 (rebuild_table): be more paranoid about overflow, and
503 shrink table when we can
504 (_dbus_hash_test): reduce number of sprintfs and write
505 valid C89. Add tests for case where we grow and then
506 shrink the hash table.
508 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
510 * dbus/dbus-connection.c (dbus_connection_register_handler)
511 (dbus_connection_unregister_handler): new functions
513 * dbus/dbus-message.c (dbus_message_get_name): new
515 * dbus/dbus-list.c: fix docs typo
517 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
518 an object representing a handler for messages.
520 2002-12-16 Anders Carlsson <andersca@codefactory.se>
523 * glib/dbus-gthread.c: (dbus_gthread_init):
524 Don't use the gdbus prefix for public functions.
526 2002-12-16 Anders Carlsson <andersca@codefactory.se>
530 Add GLib checks and fixup .pc files
534 * glib/dbus-gmain.c: (gdbus_connection_prepare),
535 (gdbus_connection_check), (gdbus_connection_dispatch),
536 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
537 (dbus_connection_gsource_new):
538 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
539 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
540 * glib/test-dbus-glib.c: (message_handler), (main):
543 2002-12-15 Harri Porten <porten@kde.org>
545 * autogen.sh: check for libtoolize before attempting to use it
547 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
550 * .cvsignore: ignore more stamp files
552 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
554 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
555 without make install.
557 2002-12-15 Havoc Pennington <hp@pobox.com>
559 * dbus/dbus-threads.c: add thread stubs that a higher library
560 layer can fill in. e.g. the GLib wrapper might fill them in with
561 GThread stuff. We still need to use this thread API to
562 thread-safe-ize the library.
564 2002-12-12 Havoc Pennington <hp@pobox.com>
566 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
567 below new interfaces and include fewer system headers.
569 * dbus/dbus-sysdeps.c (_dbus_read): new function
570 (_dbus_write): new function
571 (_dbus_write_two): new function
572 (_dbus_connect_unix_socket): new function
573 (_dbus_listen_unix_socket): new function
575 * dbus/dbus-message-internal.h: change interfaces to use
578 2002-12-11 Havoc Pennington <hp@pobox.com>
580 * dbus/dbus-types.h: add dbus_unichar
582 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
584 * dbus/dbus-connection.c (dbus_connection_send_message): return
587 * dbus/dbus-transport.c: include dbus-watch.h
589 * dbus/dbus-connection.c: include dbus-message-internal.h
591 * HACKING: add file with coding guidelines stuff.
593 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
594 handling here, for security purposes (as in vsftpd). Not actually
595 using this class yet.
597 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
598 system/libc usage here, as in vsftpd, for ease of auditing (and
599 should also simplify portability). Haven't actually moved all the
600 system/libc usage into here yet.
602 2002-11-25 Havoc Pennington <hp@pobox.com>
604 * dbus/dbus-internals.c (_dbus_verbose): fix to not
605 always print the first verbose message.
607 2002-11-24 Havoc Pennington <hp@pobox.com>
609 * test/echo-client.c, test/echo-server.c: cheesy test
612 * configure.in (AC_CHECK_FUNCS): check for writev
614 * dbus/dbus-message.c (_dbus_message_get_network_data): new
617 * dbus/dbus-list.c (_dbus_list_foreach): new function
619 * dbus/dbus-internals.c (_dbus_verbose): new function
621 * dbus/dbus-server.c, dbus/dbus-server.h: public object
622 representing a server that listens for connections.
624 * dbus/.cvsignore: create
626 * dbus/dbus-errors.h, dbus/dbus-errors.c:
627 public API for reporting errors
629 * dbus/dbus-connection.h, dbus/dbus-connection.c:
630 public object representing a connection that
631 sends/receives messages. (Same object used for
632 both client and server.)
634 * dbus/dbus-transport.h, dbus/dbus-transport.c:
635 Basic abstraction for different kinds of stream
636 that we might read/write messages from.
638 2002-11-23 Havoc Pennington <hp@pobox.com>
640 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
643 * dbus/dbus-test.c (main): add list test, and include
644 dbus-test.h as intended
646 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
647 (_dbus_hash_table_remove_int): return value indicates
648 whether the entry existed to remove
650 * dbus/dbus-list.c: add linked list utility class,
653 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
656 2002-11-23 Havoc Pennington <hp@pobox.com>
658 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
659 DBUS_END_DECLS to nothing, that should fix this once and for all
661 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
663 * dbus/dbus-message.c, dbus/dbus-hash.c:
664 add some missing @brief
666 2002-11-23 Havoc Pennington <hp@pobox.com>
668 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
669 to avoid confusing Doxygen
671 * dbus/dbus-hash.c: @} not }@
673 * dbus/dbus-message.c (struct DBusMessage): split out
676 2002-11-23 Havoc Pennington <hp@pobox.com>
678 * configure.in: pile on more warning flags if using gcc
680 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
681 to document static functions
683 * configure.in: add summary to end of configure so it
684 looks nice and attractive
686 * dbus/dbus-hash.c: finish implementation and write unit
689 * configure.in: add --enable-tests to enable unit tests
691 * dbus/dbus-test.c: test program to run unit tests
692 for all files in dbus/*, initially runs a test for
695 * dbus/dbus-internals.h: file to hold some internal utility stuff
697 2002-11-22 Havoc Pennington <hp@redhat.com>
699 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
700 "ported" away from Tcl
702 * dbus/dbus-types.h: header for types such as dbus_bool_t
704 2002-11-22 Havoc Pennington <hp@redhat.com>
706 * dbus/dbus.h: fixups for doc warnings
708 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
710 (QUIET): make it quiet so we can see warnings
712 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
714 2002-11-22 Havoc Pennington <hp@redhat.com>
716 * Makefile.am: include "Doxyfile" target in all-local
718 * configure.in: generate the Doxyfile
720 * Doxyfile.in: move Doxyfile here, so we can use
721 configure to generate a Doxyfile with the right
724 2002-11-22 Havoc Pennington <hp@redhat.com>
726 * dbus/dbus-message.c: move inline docs into .c file
728 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
729 so all docs are under doc/
730 (MAN_EXTENSION): generate man pages. Use extension
731 ".3dbus" which matches ".3qt" on my system,
732 I guess this is OK, I don't know really.
733 (FILE_PATTERNS): look for .c files not .h, makes sense
736 2002-11-22 Havoc Pennington <hp@pobox.com>
738 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
739 because any app can be a server, and any app can be a client,
740 the bus is a special kind of server.
742 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
744 * Doxyfile : adding. Still needs Makefile rules to be generated
745 automatically (just run "doxygen" in the toplevel dir for now to
748 * dbus/dbus-message.h : Adding sample docs (javadoc since
749 resembles gtk-doc a little more)
751 * dbus/dbus.h : Adding sample docs
753 2002-11-21 Havoc Pennington <hp@redhat.com>
755 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
756 so we can allow ourselves to include files directly,
757 instead of having to use dbus.h
759 * dbus/dbus.h: fill in
761 * dbus/dbus-message.h: sketch out a sample header file.
762 Include griping if you include it directly instead of
765 * dbus/dbus-macros.h: new file with macros for extern "C",
766 TRUE/FALSE, NULL, etc.
768 * doc/file-boilerplate.c: put include guards in here
770 2002-11-21 Havoc Pennington <hp@redhat.com>
772 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
774 * COPYING: include the GPL as well, and license code
775 under both AFL and GPL.
777 2002-11-21 Havoc Pennington <hp@redhat.com>
779 * acconfig.h: get rid of this
781 * autogen.sh (run_configure): add --no-configure option
783 * configure.in: remove AC_ARG_PROGRAM to make
784 autoconf complain less. add AC_PREREQ.
785 add AC_DEFINE third arg.
787 2002-11-21 Anders Carlsson <andersca@codefactory.se>
790 Fix references so we can distcheck.
792 2002-11-21 Havoc Pennington <hp@redhat.com>
794 * Initial module creation