1 2003-01-18 Havoc Pennington <hp@pobox.com>
3 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
4 reading/writing if read_watch != NULL or write_watch != NULL.
6 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
7 the message loader code to actually load message->header and
8 message->body into the newly-created message.
10 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
13 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
14 (dbus_connection_get_max_message_size)
15 (dbus_connection_set_max_live_messages_size)
16 (dbus_connection_get_max_live_messages_size): implement some
17 resource limitation functions
19 * dbus/dbus-resources.c: new file implementing some of the
22 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
23 missing docs, add @todo to handle OOM etc.
25 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
28 2003-01-18 Havoc Pennington <hp@pobox.com>
30 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
31 connection if it hasn't been already.
33 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
34 replace with DisconnectFunction.
36 2003-01-18 Havoc Pennington <hp@pobox.com>
38 Building --disable-verbose-mode --disable-asserts --disable-tests
39 cuts the library from 112K to 45K or so
41 * configure.in: check for varargs macro support,
42 add --enable-verbose-mode, --enable-asserts.
44 * dbus/dbus-internals.h (_dbus_assert): support
46 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
48 2003-01-18 Havoc Pennington <hp@pobox.com>
50 * dbus/dbus-test.c: include config.h so that tests actually run
52 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
53 so the failure mode when that assumption fails will be plenty
56 2003-01-18 Havoc Pennington <hp@pobox.com>
58 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
60 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
63 * test/Makefile.am: don't use special variable "TESTS" for echo-*
64 since we don't want to use those in make check
66 2003-01-15 Havoc Pennington <hp@redhat.com>
72 2003-01-15 Havoc Pennington <hp@redhat.com>
74 * test/Makefile.am: fix so that test source code ends up in the
75 distribution on make distcheck
77 2003-01-15 Havoc Pennington <hp@redhat.com>
83 2003-01-15 Havoc Pennington <hp@redhat.com>
85 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
86 fix build when --disable-tests
88 * Makefile.am (EXTRA_DIST): put HACKING in here
90 * HACKING: document procedure for making a tarball release.
92 2003-01-14 Anders Carlsson <andersca@codefactory.se>
94 * bus/connection.c: (connection_error_handler),
95 (bus_connection_setup):
97 Make sure that the DBusConnectionData struct is NULLed
98 out to prevent a segfault.
100 * dbus/dbus-errors.c: (dbus_result_to_string):
101 * dbus/dbus-errors.h:
102 * dbus/dbus-message.c: (dbus_message_get_fields),
103 (dbus_message_get_fields_valist), (_dbus_message_test):
104 * dbus/dbus-message.h:
105 Make dbus_message_get_fields return a result code so we can
106 track invalid fields as well as oom.
108 2003-01-11 Havoc Pennington <hp@pobox.com>
110 * configure.in: change --enable-test/--enable-ansi action-if-given
111 to enable_foo=$enableval instead of enable_foo=yes
113 2003-01-08 Havoc Pennington <hp@pobox.com>
115 * dbus/dbus-string.c (_dbus_string_align_length): new function
117 * dbus/dbus-test-main.c: move main() for test app here
119 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
120 symbol to run tests, because dbus-test isn't in the main
123 Code review nitpicks.
125 * dbus/dbus-message.c (dbus_message_write_header): add newlines
126 for people with narrow emacs ;-). Assert client_serial was filled
127 in. Assert message->name != NULL.
128 (dbus_message_append_fields): have "first_field_type" arg separate
129 from va list, needed for C++ binding that also uses varargs IIRC
130 and helps with type safety
131 (dbus_message_new): add @todo about using DBusString to store
132 service/name internally
133 (dbus_message_new): don't leak ->service and ->name on OOM later
135 (dbus_message_unref): free the service name
136 (dbus_message_get_fields): same change to varargs
137 i.e. first_field_type
138 (_dbus_message_loader_return_buffer): assert that the message data
139 is aligned (if not it's a bug in our code). Put in verbose griping
140 about why we set corrupted = TRUE.
141 (decode_header_data): add FIXME that char* is evil. Was going to
142 add FIXME about evil locale-specific string.h strncmp, but just
143 switched to wacky string-as-uint32 optimization. Move check for
144 "no room for field name" above get_const_data_len() to avoid
145 assertion failure in get_const_data_len if we have trailing 2
146 bytes or the like. Check for service and name fields being
147 provided twice. Don't leak service/name on error. Require field
148 names to be aligned to 4 bytes.
150 * dbus/dbus-marshal.c: move byte swap stuff to header
151 (_dbus_pack_int32): uscore-prefix
152 (_dbus_unpack_int32): uscore-prefix
153 (_dbus_unpack_uint32): export
154 (_dbus_demarshal_string): add @todo complaining about use of
156 (_dbus_marshal_get_field_end_pos): add @todo about bad error
157 handling allowing corrupt data to go unchecked
159 2003-01-08 Havoc Pennington <hp@redhat.com>
161 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
162 to the select() as needed for authentication. (should be using
163 _dbus_poll() not select, but for another day)
165 * dbus/dbus.h: include dbus/dbus-protocol.h
167 2003-01-08 Anders Carlsson <andersca@codefactory.se>
169 * dbus/Makefile.am (dbusinclude_HEADERS): Install
172 2003-01-08 Anders Carlsson <andersca@codefactory.se>
174 * dbus/dbus-internals.c: (_dbus_type_to_string):
175 New function that returns a string describing a type.
177 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
178 * dbus/dbus-marshal.h:
179 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
180 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
181 (dbus_message_iter_get_byte_array):
182 * dbus/dbus-message.h:
183 Add new convenience functions for appending and getting message fields.
184 Also add demarshalling routines for byte arrays.
186 2003-01-07 Anders Carlsson <andersca@codefactory.se>
188 * dbus/dbus-connection-internal.h:
189 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
190 (_dbus_connection_get_next_client_serial),
191 (dbus_connection_send_message):
192 * dbus/dbus-internals.h:
193 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
194 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
195 (_dbus_marshal_uint32), (_dbus_demarshal_double),
196 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
197 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
198 (_dbus_verbose_bytes), (_dbus_marshal_test):
199 * dbus/dbus-marshal.h:
200 * dbus/dbus-message-internal.h:
201 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
202 (dbus_message_write_header), (_dbus_message_lock),
203 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
204 (dbus_message_get_name), (dbus_message_append_int32),
205 (dbus_message_append_uint32), (dbus_message_append_double),
206 (dbus_message_append_string), (dbus_message_append_byte_array),
207 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
208 (dbus_message_iter_unref), (dbus_message_iter_has_next),
209 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
210 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
211 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
212 (decode_header_data), (_dbus_message_loader_return_buffer),
213 (message_iter_test), (_dbus_message_test):
214 * dbus/dbus-message.h:
215 * dbus/dbus-protocol.h:
216 * dbus/dbus-test.c: (main):
218 * glib/test-dbus-glib.c: (message_handler), (main):
219 * test/echo-client.c: (main):
220 * test/watch.c: (check_messages):
221 Make messages sendable and receivable for real.
223 2003-01-07 Anders Carlsson <andersca@codefactory.se>
225 * dbus/dbus-marshal.c: (_dbus_marshal_double),
226 (_dbus_marshal_string), (_dbus_marshal_byte_array):
227 * dbus/dbus-message.c: (dbus_message_append_int32),
228 (dbus_message_append_uint32), (dbus_message_append_double),
229 (dbus_message_append_string), (dbus_message_append_byte_array):
230 Handle OOM restoration.
232 2003-01-07 Anders Carlsson <andersca@codefactory.se>
234 * dbus/dbus-marshal.c: (_dbus_marshal_string),
235 (_dbus_demarshal_string), (_dbus_marshal_test):
236 * dbus/dbus-marshal.h:
237 * dbus/dbus-message.c: (dbus_message_get_name),
238 Document these functions.
240 (dbus_message_append_int32), (dbus_message_append_uint32),
241 (dbus_message_append_double), (dbus_message_append_string),
242 (dbus_message_append_byte_array):
243 * dbus/dbus-message.h:
244 Add functions for adding message fields of different types.
246 * dbus/dbus-protocol.h:
247 Add the different types.
249 2003-01-05 Havoc Pennington <hp@pobox.com>
251 * bus/connection.c: implement routines for handling connections,
252 first thing is keeping a list of owned services on each connection
253 and setting up watches etc.
255 * bus/services.c: implement a mapping from service names to lists
258 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
260 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
261 to use static mutexes for global data
263 * dbus/dbus-connection.c (dbus_connection_set_data): add new
264 collection of functions to set/get application-specific data
265 on the DBusConnection.
267 2003-01-04 Havoc Pennington <hp@pobox.com>
269 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
270 (_dbus_poll): new function
272 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
275 * bus/loop.c: initial code for the daemon main loop
277 2003-01-04 Havoc Pennington <hp@pobox.com>
279 * test/watch.c (error_handler): make it safe if the error handler
280 is called multiple times (if we s/error handler/disconnect
281 handler/ we should just guarantee it's called only once)
283 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
284 error handler on disconnect (it's quite possible we should
285 just change the error handler to a "disconnect handler," I'm
286 not sure we have any other meaningful errors)
288 * configure.in: check for getpwnam_r
290 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
291 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
292 mechanism as in SASL spec, using socket credentials
294 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
295 (_dbus_send_credentials_unix_socket): new function
297 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
299 (_dbus_write): only check errno if <0 returned
300 (_dbus_write_two): ditto
302 2003-01-02 Anders Carlsson <andersca@codefactory.se>
304 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
305 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
306 (_dbus_marshal_test):
307 * dbus/dbus-marshal.h:
308 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
309 to _dbus_marshal_utf8_string. Also fix some tests.
311 2002-12-28 Harri Porten <porten@kde.org>
313 * configure.in: added check for C++ compiler and a very cheesy
314 check for the Qt integration
316 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
318 * qt/Makefile.am: added
320 * qt/.cvsignore: added
322 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
323 latter, added #ifdef QT_THREAD_SUPPORT guard.
325 * dbus/Makefile.am: added missing headers for make dist
327 2002-12-28 Kristian Rietveld <kris@gtk.org>
329 * dbus/Makefile.am: fixup export-symbols-regex.
331 2002-12-27 Anders Carlsson <andersca@codefactory.se>
333 * acinclude.m4: Add this file and put the
334 PKG_CHECK_MODULE macro in it.
336 2002-12-27 Anders Carlsson <andersca@codefactory.se>
338 * dbus/dbus-marshal.c: (_dbus_marshal_string),
339 (_dbus_demarshal_double), (_dbus_demarshal_int32),
340 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
341 (_dbus_marshal_test):
342 Make the demarshalling routines align the pos argument.
343 Add string marshalling tests and fix the obvious bugs
346 2002-12-26 Havoc Pennington <hp@pobox.com>
348 * dbus/dbus-auth.c: fixes fixes fixes
350 * dbus/dbus-transport-unix.c: wire up support for
351 encoding/decoding data on the wire
353 * dbus/dbus-auth.c (_dbus_auth_encode_data)
354 (_dbus_auth_decode_data): append to target string
355 instead of nuking it.
357 2002-12-26 Havoc Pennington <hp@pobox.com>
359 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
360 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
363 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
364 avoid swap_bytes() overhead (ignoring possible assembly stuff for
365 now). Main point is because I wanted unpack_uint32 to implement
367 (_dbus_verbose_bytes): new function
369 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
371 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
372 mechanism to handle a corrupt message stream
373 (_dbus_message_loader_new): fix preallocation to only prealloc,
376 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
377 (_dbus_string_test): enhance tests for copy/move and fix the
380 * dbus/dbus-transport-unix.c: Hold references in more places to
381 avoid reentrancy problems
383 * dbus/dbus-transport.c: ditto
385 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
386 leak reference count in no-message case
388 * test/watch.c (do_mainloop): handle adding/removing watches
389 during iteration over the watches. Also, ref the connection/server
390 stored on a watch, so we don't try to mangle a destroyed one.
392 * dbus/dbus-transport-unix.c (do_authentication): perform
395 * dbus/dbus-auth.c (get_state): add a state
396 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
397 (_dbus_auth_get_unused_bytes): append the unused bytes
398 to the passed in string, rather than prepend
400 * dbus/dbus-transport.c (_dbus_transport_init_base): create
401 the auth conversation DBusAuth
403 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
404 (_dbus_transport_new_for_domain_socket): when creating a
405 transport, pass in whether it's a client-side or server-side
406 transport so we know which DBusAuth to create
408 2002-12-03 Havoc Pennington <hp@pobox.com>
410 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
411 _after_ finalizing the derived members
412 (unix_connection_set): unref watch if we fail to add it
414 * dbus/dbus-connection.c (dbus_connection_unref): delete the
415 transport first, so that the connection owned by the
416 transport will be valid as the transport finalizes.
418 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
419 if necessary, and remove watches from the connection.
421 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
423 2002-12-26 Anders Carlsson <andersca@codefactory.se>
425 * dbus/dbus-marshal.c: (_dbus_marshal_string),
426 (_dbus_demarshal_double), (_dbus_demarshal_int32),
427 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
428 (_dbus_marshal_test):
429 * dbus/dbus-marshal.h:
430 Add string marshal functions and have the demarshal functions
431 return the new position.
433 2002-12-25 Havoc Pennington <hp@pobox.com>
435 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
436 it is a simple protocol that just maps directly to SASL.
438 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
439 initial implementation, not actually used yet.
441 * dbus/dbus-string.c (_dbus_string_find): new function
442 (_dbus_string_equal): new function
443 (_dbus_string_base64_encode): new function
444 (_dbus_string_base64_decode): new function
446 2002-12-25 Anders Carlsson <andersca@codefactory.se>
449 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
450 (_dbus_marshal_int32), (_dbus_marshal_uint32),
451 (_dbus_demarshal_double), (_dbus_demarshal_int32),
452 (_dbus_demarshal_uint32), (_dbus_marshal_test):
453 * dbus/dbus-marshal.h:
454 * dbus/dbus-protocol.h:
455 * dbus/dbus-test.c: (main):
457 Add un-optimized marshalling/demarshalling routines.
459 2002-12-25 Harri Porten <porten@kde.org>
461 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
463 2002-12-24 Zack Rusin <zack@kde.org>
465 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
466 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
469 2002-12-24 Havoc Pennington <hp@pobox.com>
471 * glib/dbus-gthread.c: fix include
473 * glib/dbus-glib.h: rename DBusMessageHandler for now.
474 I think glib API needs to change, though, as you don't
475 want to use DBusMessageFunction, you want to use the
476 DBusMessageHandler object. Probably
477 dbus_connection_open_with_g_main_loop()
478 and dbus_connection_setup_g_main_loop() or something like that
479 (but think of better names...) that just create a connection
480 that has watch/timeout functions etc. already set up.
482 * dbus/dbus-connection.c
483 (dbus_connection_send_message_with_reply): new function just to
484 show how the message handler helps us deal with replies.
486 * dbus/dbus-list.c (_dbus_list_remove_last): new function
488 * dbus/dbus-string.c (_dbus_string_test): free a string that
491 * dbus/dbus-hash.c: use memory pools for the hash entries
492 (rebuild_table): be more paranoid about overflow, and
493 shrink table when we can
494 (_dbus_hash_test): reduce number of sprintfs and write
495 valid C89. Add tests for case where we grow and then
496 shrink the hash table.
498 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
500 * dbus/dbus-connection.c (dbus_connection_register_handler)
501 (dbus_connection_unregister_handler): new functions
503 * dbus/dbus-message.c (dbus_message_get_name): new
505 * dbus/dbus-list.c: fix docs typo
507 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
508 an object representing a handler for messages.
510 2002-12-16 Anders Carlsson <andersca@codefactory.se>
513 * glib/dbus-gthread.c: (dbus_gthread_init):
514 Don't use the gdbus prefix for public functions.
516 2002-12-16 Anders Carlsson <andersca@codefactory.se>
520 Add GLib checks and fixup .pc files
524 * glib/dbus-gmain.c: (gdbus_connection_prepare),
525 (gdbus_connection_check), (gdbus_connection_dispatch),
526 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
527 (dbus_connection_gsource_new):
528 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
529 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
530 * glib/test-dbus-glib.c: (message_handler), (main):
533 2002-12-15 Harri Porten <porten@kde.org>
535 * autogen.sh: check for libtoolize before attempting to use it
537 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
540 * .cvsignore: ignore more stamp files
542 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
544 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
545 without make install.
547 2002-12-15 Havoc Pennington <hp@pobox.com>
549 * dbus/dbus-threads.c: add thread stubs that a higher library
550 layer can fill in. e.g. the GLib wrapper might fill them in with
551 GThread stuff. We still need to use this thread API to
552 thread-safe-ize the library.
554 2002-12-12 Havoc Pennington <hp@pobox.com>
556 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
557 below new interfaces and include fewer system headers.
559 * dbus/dbus-sysdeps.c (_dbus_read): new function
560 (_dbus_write): new function
561 (_dbus_write_two): new function
562 (_dbus_connect_unix_socket): new function
563 (_dbus_listen_unix_socket): new function
565 * dbus/dbus-message-internal.h: change interfaces to use
568 2002-12-11 Havoc Pennington <hp@pobox.com>
570 * dbus/dbus-types.h: add dbus_unichar
572 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
574 * dbus/dbus-connection.c (dbus_connection_send_message): return
577 * dbus/dbus-transport.c: include dbus-watch.h
579 * dbus/dbus-connection.c: include dbus-message-internal.h
581 * HACKING: add file with coding guidelines stuff.
583 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
584 handling here, for security purposes (as in vsftpd). Not actually
585 using this class yet.
587 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
588 system/libc usage here, as in vsftpd, for ease of auditing (and
589 should also simplify portability). Haven't actually moved all the
590 system/libc usage into here yet.
592 2002-11-25 Havoc Pennington <hp@pobox.com>
594 * dbus/dbus-internals.c (_dbus_verbose): fix to not
595 always print the first verbose message.
597 2002-11-24 Havoc Pennington <hp@pobox.com>
599 * test/echo-client.c, test/echo-server.c: cheesy test
602 * configure.in (AC_CHECK_FUNCS): check for writev
604 * dbus/dbus-message.c (_dbus_message_get_network_data): new
607 * dbus/dbus-list.c (_dbus_list_foreach): new function
609 * dbus/dbus-internals.c (_dbus_verbose): new function
611 * dbus/dbus-server.c, dbus/dbus-server.h: public object
612 representing a server that listens for connections.
614 * dbus/.cvsignore: create
616 * dbus/dbus-errors.h, dbus/dbus-errors.c:
617 public API for reporting errors
619 * dbus/dbus-connection.h, dbus/dbus-connection.c:
620 public object representing a connection that
621 sends/receives messages. (Same object used for
622 both client and server.)
624 * dbus/dbus-transport.h, dbus/dbus-transport.c:
625 Basic abstraction for different kinds of stream
626 that we might read/write messages from.
628 2002-11-23 Havoc Pennington <hp@pobox.com>
630 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
633 * dbus/dbus-test.c (main): add list test, and include
634 dbus-test.h as intended
636 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
637 (_dbus_hash_table_remove_int): return value indicates
638 whether the entry existed to remove
640 * dbus/dbus-list.c: add linked list utility class,
643 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
646 2002-11-23 Havoc Pennington <hp@pobox.com>
648 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
649 DBUS_END_DECLS to nothing, that should fix this once and for all
651 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
653 * dbus/dbus-message.c, dbus/dbus-hash.c:
654 add some missing @brief
656 2002-11-23 Havoc Pennington <hp@pobox.com>
658 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
659 to avoid confusing Doxygen
661 * dbus/dbus-hash.c: @} not }@
663 * dbus/dbus-message.c (struct DBusMessage): split out
666 2002-11-23 Havoc Pennington <hp@pobox.com>
668 * configure.in: pile on more warning flags if using gcc
670 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
671 to document static functions
673 * configure.in: add summary to end of configure so it
674 looks nice and attractive
676 * dbus/dbus-hash.c: finish implementation and write unit
679 * configure.in: add --enable-tests to enable unit tests
681 * dbus/dbus-test.c: test program to run unit tests
682 for all files in dbus/*, initially runs a test for
685 * dbus/dbus-internals.h: file to hold some internal utility stuff
687 2002-11-22 Havoc Pennington <hp@redhat.com>
689 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
690 "ported" away from Tcl
692 * dbus/dbus-types.h: header for types such as dbus_bool_t
694 2002-11-22 Havoc Pennington <hp@redhat.com>
696 * dbus/dbus.h: fixups for doc warnings
698 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
700 (QUIET): make it quiet so we can see warnings
702 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
704 2002-11-22 Havoc Pennington <hp@redhat.com>
706 * Makefile.am: include "Doxyfile" target in all-local
708 * configure.in: generate the Doxyfile
710 * Doxyfile.in: move Doxyfile here, so we can use
711 configure to generate a Doxyfile with the right
714 2002-11-22 Havoc Pennington <hp@redhat.com>
716 * dbus/dbus-message.c: move inline docs into .c file
718 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
719 so all docs are under doc/
720 (MAN_EXTENSION): generate man pages. Use extension
721 ".3dbus" which matches ".3qt" on my system,
722 I guess this is OK, I don't know really.
723 (FILE_PATTERNS): look for .c files not .h, makes sense
726 2002-11-22 Havoc Pennington <hp@pobox.com>
728 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
729 because any app can be a server, and any app can be a client,
730 the bus is a special kind of server.
732 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
734 * Doxyfile : adding. Still needs Makefile rules to be generated
735 automatically (just run "doxygen" in the toplevel dir for now to
738 * dbus/dbus-message.h : Adding sample docs (javadoc since
739 resembles gtk-doc a little more)
741 * dbus/dbus.h : Adding sample docs
743 2002-11-21 Havoc Pennington <hp@redhat.com>
745 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
746 so we can allow ourselves to include files directly,
747 instead of having to use dbus.h
749 * dbus/dbus.h: fill in
751 * dbus/dbus-message.h: sketch out a sample header file.
752 Include griping if you include it directly instead of
755 * dbus/dbus-macros.h: new file with macros for extern "C",
756 TRUE/FALSE, NULL, etc.
758 * doc/file-boilerplate.c: put include guards in here
760 2002-11-21 Havoc Pennington <hp@redhat.com>
762 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
764 * COPYING: include the GPL as well, and license code
765 under both AFL and GPL.
767 2002-11-21 Havoc Pennington <hp@redhat.com>
769 * acconfig.h: get rid of this
771 * autogen.sh (run_configure): add --no-configure option
773 * configure.in: remove AC_ARG_PROGRAM to make
774 autoconf complain less. add AC_PREREQ.
775 add AC_DEFINE third arg.
777 2002-11-21 Anders Carlsson <andersca@codefactory.se>
780 Fix references so we can distcheck.
782 2002-11-21 Havoc Pennington <hp@redhat.com>
784 * Initial module creation