1 2003-01-19 Anders Carlsson <andersca@codefactory.se>
3 * dbus/dbus-string.c (_dbus_string_move_len): Don't delete all
4 of the string, just as long as specified.
6 2003-01-19 Havoc Pennington <hp@pobox.com>
8 * dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
11 * dbus/dbus-server.c (dbus_server_set_max_connections)
12 (dbus_server_get_max_connections, dbus_server_get_n_connections):
13 keep track of current number of connections, and add API for
14 setting a max (but haven't implemented enforcing the max yet)
16 2003-01-18 Havoc Pennington <hp@pobox.com>
18 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
19 reading/writing if read_watch != NULL or write_watch != NULL.
21 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
22 the message loader code to actually load message->header and
23 message->body into the newly-created message.
25 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
28 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
29 (dbus_connection_get_max_message_size)
30 (dbus_connection_set_max_live_messages_size)
31 (dbus_connection_get_max_live_messages_size): implement some
32 resource limitation functions
34 * dbus/dbus-resources.c: new file implementing some of the
37 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
38 missing docs, add @todo to handle OOM etc.
40 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
43 2003-01-18 Havoc Pennington <hp@pobox.com>
45 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
46 connection if it hasn't been already.
48 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
49 replace with DisconnectFunction.
51 2003-01-18 Havoc Pennington <hp@pobox.com>
53 Building --disable-verbose-mode --disable-asserts --disable-tests
54 cuts the library from 112K to 45K or so
56 * configure.in: check for varargs macro support,
57 add --enable-verbose-mode, --enable-asserts.
59 * dbus/dbus-internals.h (_dbus_assert): support
61 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
63 2003-01-18 Havoc Pennington <hp@pobox.com>
65 * dbus/dbus-test.c: include config.h so that tests actually run
67 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
68 so the failure mode when that assumption fails will be plenty
71 2003-01-18 Havoc Pennington <hp@pobox.com>
73 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
75 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
78 * test/Makefile.am: don't use special variable "TESTS" for echo-*
79 since we don't want to use those in make check
81 2003-01-15 Havoc Pennington <hp@redhat.com>
87 2003-01-15 Havoc Pennington <hp@redhat.com>
89 * test/Makefile.am: fix so that test source code ends up in the
90 distribution on make distcheck
92 2003-01-15 Havoc Pennington <hp@redhat.com>
98 2003-01-15 Havoc Pennington <hp@redhat.com>
100 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
101 fix build when --disable-tests
103 * Makefile.am (EXTRA_DIST): put HACKING in here
105 * HACKING: document procedure for making a tarball release.
107 2003-01-14 Anders Carlsson <andersca@codefactory.se>
109 * bus/connection.c: (connection_error_handler),
110 (bus_connection_setup):
111 * bus/main.c: (main):
112 Make sure that the DBusConnectionData struct is NULLed
113 out to prevent a segfault.
115 * dbus/dbus-errors.c: (dbus_result_to_string):
116 * dbus/dbus-errors.h:
117 * dbus/dbus-message.c: (dbus_message_get_fields),
118 (dbus_message_get_fields_valist), (_dbus_message_test):
119 * dbus/dbus-message.h:
120 Make dbus_message_get_fields return a result code so we can
121 track invalid fields as well as oom.
123 2003-01-11 Havoc Pennington <hp@pobox.com>
125 * configure.in: change --enable-test/--enable-ansi action-if-given
126 to enable_foo=$enableval instead of enable_foo=yes
128 2003-01-08 Havoc Pennington <hp@pobox.com>
130 * dbus/dbus-string.c (_dbus_string_align_length): new function
132 * dbus/dbus-test-main.c: move main() for test app here
134 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
135 symbol to run tests, because dbus-test isn't in the main
138 Code review nitpicks.
140 * dbus/dbus-message.c (dbus_message_write_header): add newlines
141 for people with narrow emacs ;-). Assert client_serial was filled
142 in. Assert message->name != NULL.
143 (dbus_message_append_fields): have "first_field_type" arg separate
144 from va list, needed for C++ binding that also uses varargs IIRC
145 and helps with type safety
146 (dbus_message_new): add @todo about using DBusString to store
147 service/name internally
148 (dbus_message_new): don't leak ->service and ->name on OOM later
150 (dbus_message_unref): free the service name
151 (dbus_message_get_fields): same change to varargs
152 i.e. first_field_type
153 (_dbus_message_loader_return_buffer): assert that the message data
154 is aligned (if not it's a bug in our code). Put in verbose griping
155 about why we set corrupted = TRUE.
156 (decode_header_data): add FIXME that char* is evil. Was going to
157 add FIXME about evil locale-specific string.h strncmp, but just
158 switched to wacky string-as-uint32 optimization. Move check for
159 "no room for field name" above get_const_data_len() to avoid
160 assertion failure in get_const_data_len if we have trailing 2
161 bytes or the like. Check for service and name fields being
162 provided twice. Don't leak service/name on error. Require field
163 names to be aligned to 4 bytes.
165 * dbus/dbus-marshal.c: move byte swap stuff to header
166 (_dbus_pack_int32): uscore-prefix
167 (_dbus_unpack_int32): uscore-prefix
168 (_dbus_unpack_uint32): export
169 (_dbus_demarshal_string): add @todo complaining about use of
171 (_dbus_marshal_get_field_end_pos): add @todo about bad error
172 handling allowing corrupt data to go unchecked
174 2003-01-08 Havoc Pennington <hp@redhat.com>
176 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
177 to the select() as needed for authentication. (should be using
178 _dbus_poll() not select, but for another day)
180 * dbus/dbus.h: include dbus/dbus-protocol.h
182 2003-01-08 Anders Carlsson <andersca@codefactory.se>
184 * dbus/Makefile.am (dbusinclude_HEADERS): Install
187 2003-01-08 Anders Carlsson <andersca@codefactory.se>
189 * dbus/dbus-internals.c: (_dbus_type_to_string):
190 New function that returns a string describing a type.
192 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
193 * dbus/dbus-marshal.h:
194 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
195 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
196 (dbus_message_iter_get_byte_array):
197 * dbus/dbus-message.h:
198 Add new convenience functions for appending and getting message fields.
199 Also add demarshalling routines for byte arrays.
201 2003-01-07 Anders Carlsson <andersca@codefactory.se>
203 * dbus/dbus-connection-internal.h:
204 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
205 (_dbus_connection_get_next_client_serial),
206 (dbus_connection_send_message):
207 * dbus/dbus-internals.h:
208 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
209 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
210 (_dbus_marshal_uint32), (_dbus_demarshal_double),
211 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
212 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
213 (_dbus_verbose_bytes), (_dbus_marshal_test):
214 * dbus/dbus-marshal.h:
215 * dbus/dbus-message-internal.h:
216 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
217 (dbus_message_write_header), (_dbus_message_lock),
218 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
219 (dbus_message_get_name), (dbus_message_append_int32),
220 (dbus_message_append_uint32), (dbus_message_append_double),
221 (dbus_message_append_string), (dbus_message_append_byte_array),
222 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
223 (dbus_message_iter_unref), (dbus_message_iter_has_next),
224 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
225 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
226 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
227 (decode_header_data), (_dbus_message_loader_return_buffer),
228 (message_iter_test), (_dbus_message_test):
229 * dbus/dbus-message.h:
230 * dbus/dbus-protocol.h:
231 * dbus/dbus-test.c: (main):
233 * glib/test-dbus-glib.c: (message_handler), (main):
234 * test/echo-client.c: (main):
235 * test/watch.c: (check_messages):
236 Make messages sendable and receivable for real.
238 2003-01-07 Anders Carlsson <andersca@codefactory.se>
240 * dbus/dbus-marshal.c: (_dbus_marshal_double),
241 (_dbus_marshal_string), (_dbus_marshal_byte_array):
242 * dbus/dbus-message.c: (dbus_message_append_int32),
243 (dbus_message_append_uint32), (dbus_message_append_double),
244 (dbus_message_append_string), (dbus_message_append_byte_array):
245 Handle OOM restoration.
247 2003-01-07 Anders Carlsson <andersca@codefactory.se>
249 * dbus/dbus-marshal.c: (_dbus_marshal_string),
250 (_dbus_demarshal_string), (_dbus_marshal_test):
251 * dbus/dbus-marshal.h:
252 * dbus/dbus-message.c: (dbus_message_get_name),
253 Document these functions.
255 (dbus_message_append_int32), (dbus_message_append_uint32),
256 (dbus_message_append_double), (dbus_message_append_string),
257 (dbus_message_append_byte_array):
258 * dbus/dbus-message.h:
259 Add functions for adding message fields of different types.
261 * dbus/dbus-protocol.h:
262 Add the different types.
264 2003-01-05 Havoc Pennington <hp@pobox.com>
266 * bus/connection.c: implement routines for handling connections,
267 first thing is keeping a list of owned services on each connection
268 and setting up watches etc.
270 * bus/services.c: implement a mapping from service names to lists
273 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
275 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
276 to use static mutexes for global data
278 * dbus/dbus-connection.c (dbus_connection_set_data): add new
279 collection of functions to set/get application-specific data
280 on the DBusConnection.
282 2003-01-04 Havoc Pennington <hp@pobox.com>
284 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
285 (_dbus_poll): new function
287 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
290 * bus/loop.c: initial code for the daemon main loop
292 2003-01-04 Havoc Pennington <hp@pobox.com>
294 * test/watch.c (error_handler): make it safe if the error handler
295 is called multiple times (if we s/error handler/disconnect
296 handler/ we should just guarantee it's called only once)
298 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
299 error handler on disconnect (it's quite possible we should
300 just change the error handler to a "disconnect handler," I'm
301 not sure we have any other meaningful errors)
303 * configure.in: check for getpwnam_r
305 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
306 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
307 mechanism as in SASL spec, using socket credentials
309 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
310 (_dbus_send_credentials_unix_socket): new function
312 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
314 (_dbus_write): only check errno if <0 returned
315 (_dbus_write_two): ditto
317 2003-01-02 Anders Carlsson <andersca@codefactory.se>
319 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
320 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
321 (_dbus_marshal_test):
322 * dbus/dbus-marshal.h:
323 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
324 to _dbus_marshal_utf8_string. Also fix some tests.
326 2002-12-28 Harri Porten <porten@kde.org>
328 * configure.in: added check for C++ compiler and a very cheesy
329 check for the Qt integration
331 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
333 * qt/Makefile.am: added
335 * qt/.cvsignore: added
337 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
338 latter, added #ifdef QT_THREAD_SUPPORT guard.
340 * dbus/Makefile.am: added missing headers for make dist
342 2002-12-28 Kristian Rietveld <kris@gtk.org>
344 * dbus/Makefile.am: fixup export-symbols-regex.
346 2002-12-27 Anders Carlsson <andersca@codefactory.se>
348 * acinclude.m4: Add this file and put the
349 PKG_CHECK_MODULE macro in it.
351 2002-12-27 Anders Carlsson <andersca@codefactory.se>
353 * dbus/dbus-marshal.c: (_dbus_marshal_string),
354 (_dbus_demarshal_double), (_dbus_demarshal_int32),
355 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
356 (_dbus_marshal_test):
357 Make the demarshalling routines align the pos argument.
358 Add string marshalling tests and fix the obvious bugs
361 2002-12-26 Havoc Pennington <hp@pobox.com>
363 * dbus/dbus-auth.c: fixes fixes fixes
365 * dbus/dbus-transport-unix.c: wire up support for
366 encoding/decoding data on the wire
368 * dbus/dbus-auth.c (_dbus_auth_encode_data)
369 (_dbus_auth_decode_data): append to target string
370 instead of nuking it.
372 2002-12-26 Havoc Pennington <hp@pobox.com>
374 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
375 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
378 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
379 avoid swap_bytes() overhead (ignoring possible assembly stuff for
380 now). Main point is because I wanted unpack_uint32 to implement
382 (_dbus_verbose_bytes): new function
384 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
386 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
387 mechanism to handle a corrupt message stream
388 (_dbus_message_loader_new): fix preallocation to only prealloc,
391 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
392 (_dbus_string_test): enhance tests for copy/move and fix the
395 * dbus/dbus-transport-unix.c: Hold references in more places to
396 avoid reentrancy problems
398 * dbus/dbus-transport.c: ditto
400 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
401 leak reference count in no-message case
403 * test/watch.c (do_mainloop): handle adding/removing watches
404 during iteration over the watches. Also, ref the connection/server
405 stored on a watch, so we don't try to mangle a destroyed one.
407 * dbus/dbus-transport-unix.c (do_authentication): perform
410 * dbus/dbus-auth.c (get_state): add a state
411 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
412 (_dbus_auth_get_unused_bytes): append the unused bytes
413 to the passed in string, rather than prepend
415 * dbus/dbus-transport.c (_dbus_transport_init_base): create
416 the auth conversation DBusAuth
418 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
419 (_dbus_transport_new_for_domain_socket): when creating a
420 transport, pass in whether it's a client-side or server-side
421 transport so we know which DBusAuth to create
423 2002-12-03 Havoc Pennington <hp@pobox.com>
425 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
426 _after_ finalizing the derived members
427 (unix_connection_set): unref watch if we fail to add it
429 * dbus/dbus-connection.c (dbus_connection_unref): delete the
430 transport first, so that the connection owned by the
431 transport will be valid as the transport finalizes.
433 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
434 if necessary, and remove watches from the connection.
436 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
438 2002-12-26 Anders Carlsson <andersca@codefactory.se>
440 * dbus/dbus-marshal.c: (_dbus_marshal_string),
441 (_dbus_demarshal_double), (_dbus_demarshal_int32),
442 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
443 (_dbus_marshal_test):
444 * dbus/dbus-marshal.h:
445 Add string marshal functions and have the demarshal functions
446 return the new position.
448 2002-12-25 Havoc Pennington <hp@pobox.com>
450 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
451 it is a simple protocol that just maps directly to SASL.
453 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
454 initial implementation, not actually used yet.
456 * dbus/dbus-string.c (_dbus_string_find): new function
457 (_dbus_string_equal): new function
458 (_dbus_string_base64_encode): new function
459 (_dbus_string_base64_decode): new function
461 2002-12-25 Anders Carlsson <andersca@codefactory.se>
464 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
465 (_dbus_marshal_int32), (_dbus_marshal_uint32),
466 (_dbus_demarshal_double), (_dbus_demarshal_int32),
467 (_dbus_demarshal_uint32), (_dbus_marshal_test):
468 * dbus/dbus-marshal.h:
469 * dbus/dbus-protocol.h:
470 * dbus/dbus-test.c: (main):
472 Add un-optimized marshalling/demarshalling routines.
474 2002-12-25 Harri Porten <porten@kde.org>
476 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
478 2002-12-24 Zack Rusin <zack@kde.org>
480 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
481 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
484 2002-12-24 Havoc Pennington <hp@pobox.com>
486 * glib/dbus-gthread.c: fix include
488 * glib/dbus-glib.h: rename DBusMessageHandler for now.
489 I think glib API needs to change, though, as you don't
490 want to use DBusMessageFunction, you want to use the
491 DBusMessageHandler object. Probably
492 dbus_connection_open_with_g_main_loop()
493 and dbus_connection_setup_g_main_loop() or something like that
494 (but think of better names...) that just create a connection
495 that has watch/timeout functions etc. already set up.
497 * dbus/dbus-connection.c
498 (dbus_connection_send_message_with_reply): new function just to
499 show how the message handler helps us deal with replies.
501 * dbus/dbus-list.c (_dbus_list_remove_last): new function
503 * dbus/dbus-string.c (_dbus_string_test): free a string that
506 * dbus/dbus-hash.c: use memory pools for the hash entries
507 (rebuild_table): be more paranoid about overflow, and
508 shrink table when we can
509 (_dbus_hash_test): reduce number of sprintfs and write
510 valid C89. Add tests for case where we grow and then
511 shrink the hash table.
513 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
515 * dbus/dbus-connection.c (dbus_connection_register_handler)
516 (dbus_connection_unregister_handler): new functions
518 * dbus/dbus-message.c (dbus_message_get_name): new
520 * dbus/dbus-list.c: fix docs typo
522 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
523 an object representing a handler for messages.
525 2002-12-16 Anders Carlsson <andersca@codefactory.se>
528 * glib/dbus-gthread.c: (dbus_gthread_init):
529 Don't use the gdbus prefix for public functions.
531 2002-12-16 Anders Carlsson <andersca@codefactory.se>
535 Add GLib checks and fixup .pc files
539 * glib/dbus-gmain.c: (gdbus_connection_prepare),
540 (gdbus_connection_check), (gdbus_connection_dispatch),
541 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
542 (dbus_connection_gsource_new):
543 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
544 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
545 * glib/test-dbus-glib.c: (message_handler), (main):
548 2002-12-15 Harri Porten <porten@kde.org>
550 * autogen.sh: check for libtoolize before attempting to use it
552 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
555 * .cvsignore: ignore more stamp files
557 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
559 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
560 without make install.
562 2002-12-15 Havoc Pennington <hp@pobox.com>
564 * dbus/dbus-threads.c: add thread stubs that a higher library
565 layer can fill in. e.g. the GLib wrapper might fill them in with
566 GThread stuff. We still need to use this thread API to
567 thread-safe-ize the library.
569 2002-12-12 Havoc Pennington <hp@pobox.com>
571 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
572 below new interfaces and include fewer system headers.
574 * dbus/dbus-sysdeps.c (_dbus_read): new function
575 (_dbus_write): new function
576 (_dbus_write_two): new function
577 (_dbus_connect_unix_socket): new function
578 (_dbus_listen_unix_socket): new function
580 * dbus/dbus-message-internal.h: change interfaces to use
583 2002-12-11 Havoc Pennington <hp@pobox.com>
585 * dbus/dbus-types.h: add dbus_unichar
587 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
589 * dbus/dbus-connection.c (dbus_connection_send_message): return
592 * dbus/dbus-transport.c: include dbus-watch.h
594 * dbus/dbus-connection.c: include dbus-message-internal.h
596 * HACKING: add file with coding guidelines stuff.
598 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
599 handling here, for security purposes (as in vsftpd). Not actually
600 using this class yet.
602 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
603 system/libc usage here, as in vsftpd, for ease of auditing (and
604 should also simplify portability). Haven't actually moved all the
605 system/libc usage into here yet.
607 2002-11-25 Havoc Pennington <hp@pobox.com>
609 * dbus/dbus-internals.c (_dbus_verbose): fix to not
610 always print the first verbose message.
612 2002-11-24 Havoc Pennington <hp@pobox.com>
614 * test/echo-client.c, test/echo-server.c: cheesy test
617 * configure.in (AC_CHECK_FUNCS): check for writev
619 * dbus/dbus-message.c (_dbus_message_get_network_data): new
622 * dbus/dbus-list.c (_dbus_list_foreach): new function
624 * dbus/dbus-internals.c (_dbus_verbose): new function
626 * dbus/dbus-server.c, dbus/dbus-server.h: public object
627 representing a server that listens for connections.
629 * dbus/.cvsignore: create
631 * dbus/dbus-errors.h, dbus/dbus-errors.c:
632 public API for reporting errors
634 * dbus/dbus-connection.h, dbus/dbus-connection.c:
635 public object representing a connection that
636 sends/receives messages. (Same object used for
637 both client and server.)
639 * dbus/dbus-transport.h, dbus/dbus-transport.c:
640 Basic abstraction for different kinds of stream
641 that we might read/write messages from.
643 2002-11-23 Havoc Pennington <hp@pobox.com>
645 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
648 * dbus/dbus-test.c (main): add list test, and include
649 dbus-test.h as intended
651 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
652 (_dbus_hash_table_remove_int): return value indicates
653 whether the entry existed to remove
655 * dbus/dbus-list.c: add linked list utility class,
658 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
661 2002-11-23 Havoc Pennington <hp@pobox.com>
663 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
664 DBUS_END_DECLS to nothing, that should fix this once and for all
666 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
668 * dbus/dbus-message.c, dbus/dbus-hash.c:
669 add some missing @brief
671 2002-11-23 Havoc Pennington <hp@pobox.com>
673 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
674 to avoid confusing Doxygen
676 * dbus/dbus-hash.c: @} not }@
678 * dbus/dbus-message.c (struct DBusMessage): split out
681 2002-11-23 Havoc Pennington <hp@pobox.com>
683 * configure.in: pile on more warning flags if using gcc
685 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
686 to document static functions
688 * configure.in: add summary to end of configure so it
689 looks nice and attractive
691 * dbus/dbus-hash.c: finish implementation and write unit
694 * configure.in: add --enable-tests to enable unit tests
696 * dbus/dbus-test.c: test program to run unit tests
697 for all files in dbus/*, initially runs a test for
700 * dbus/dbus-internals.h: file to hold some internal utility stuff
702 2002-11-22 Havoc Pennington <hp@redhat.com>
704 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
705 "ported" away from Tcl
707 * dbus/dbus-types.h: header for types such as dbus_bool_t
709 2002-11-22 Havoc Pennington <hp@redhat.com>
711 * dbus/dbus.h: fixups for doc warnings
713 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
715 (QUIET): make it quiet so we can see warnings
717 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
719 2002-11-22 Havoc Pennington <hp@redhat.com>
721 * Makefile.am: include "Doxyfile" target in all-local
723 * configure.in: generate the Doxyfile
725 * Doxyfile.in: move Doxyfile here, so we can use
726 configure to generate a Doxyfile with the right
729 2002-11-22 Havoc Pennington <hp@redhat.com>
731 * dbus/dbus-message.c: move inline docs into .c file
733 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
734 so all docs are under doc/
735 (MAN_EXTENSION): generate man pages. Use extension
736 ".3dbus" which matches ".3qt" on my system,
737 I guess this is OK, I don't know really.
738 (FILE_PATTERNS): look for .c files not .h, makes sense
741 2002-11-22 Havoc Pennington <hp@pobox.com>
743 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
744 because any app can be a server, and any app can be a client,
745 the bus is a special kind of server.
747 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
749 * Doxyfile : adding. Still needs Makefile rules to be generated
750 automatically (just run "doxygen" in the toplevel dir for now to
753 * dbus/dbus-message.h : Adding sample docs (javadoc since
754 resembles gtk-doc a little more)
756 * dbus/dbus.h : Adding sample docs
758 2002-11-21 Havoc Pennington <hp@redhat.com>
760 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
761 so we can allow ourselves to include files directly,
762 instead of having to use dbus.h
764 * dbus/dbus.h: fill in
766 * dbus/dbus-message.h: sketch out a sample header file.
767 Include griping if you include it directly instead of
770 * dbus/dbus-macros.h: new file with macros for extern "C",
771 TRUE/FALSE, NULL, etc.
773 * doc/file-boilerplate.c: put include guards in here
775 2002-11-21 Havoc Pennington <hp@redhat.com>
777 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
779 * COPYING: include the GPL as well, and license code
780 under both AFL and GPL.
782 2002-11-21 Havoc Pennington <hp@redhat.com>
784 * acconfig.h: get rid of this
786 * autogen.sh (run_configure): add --no-configure option
788 * configure.in: remove AC_ARG_PROGRAM to make
789 autoconf complain less. add AC_PREREQ.
790 add AC_DEFINE third arg.
792 2002-11-21 Anders Carlsson <andersca@codefactory.se>
795 Fix references so we can distcheck.
797 2002-11-21 Havoc Pennington <hp@redhat.com>
799 * Initial module creation