2003-01-15 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / ChangeLog
1 2003-01-15  Havoc Pennington  <hp@redhat.com>
2
3         Release 0.1.
4         
5         * NEWS: update  
6
7 2003-01-15  Havoc Pennington  <hp@redhat.com>
8
9         * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
10         fix build when --disable-tests
11
12         * Makefile.am (EXTRA_DIST): put HACKING in here
13
14         * HACKING: document procedure for making a tarball release.
15
16 2003-01-14  Anders Carlsson  <andersca@codefactory.se>
17
18         * bus/connection.c: (connection_error_handler),
19         (bus_connection_setup):
20         * bus/main.c: (main):
21         Make sure that the DBusConnectionData struct is NULLed
22         out to prevent a segfault.
23         
24         * dbus/dbus-errors.c: (dbus_result_to_string):
25         * dbus/dbus-errors.h:
26         * dbus/dbus-message.c: (dbus_message_get_fields),
27         (dbus_message_get_fields_valist), (_dbus_message_test):
28         * dbus/dbus-message.h:
29         Make dbus_message_get_fields return a result code so we can
30         track invalid fields as well as oom.
31         
32 2003-01-11  Havoc Pennington  <hp@pobox.com>
33
34         * configure.in: change --enable-test/--enable-ansi action-if-given
35         to enable_foo=$enableval instead of enable_foo=yes
36
37 2003-01-08  Havoc Pennington  <hp@pobox.com>
38
39         * dbus/dbus-string.c (_dbus_string_align_length): new function
40
41         * dbus/dbus-test-main.c: move main() for test app here
42         * dbus/dbus-test.c
43         (dbus_internal_symbol_do_not_use_run_tests): we have to export a
44         symbol to run tests, because dbus-test isn't in the main 
45         library
46
47         Code review nitpicks.
48         
49         * dbus/dbus-message.c (dbus_message_write_header): add newlines
50         for people with narrow emacs ;-). Assert client_serial was filled
51         in. Assert message->name != NULL.
52         (dbus_message_append_fields): have "first_field_type" arg separate
53         from va list, needed for C++ binding that also uses varargs IIRC
54         and helps with type safety
55         (dbus_message_new): add @todo about using DBusString to store
56         service/name internally
57         (dbus_message_new): don't leak ->service and ->name on OOM later
58         in the function
59         (dbus_message_unref): free the service name
60         (dbus_message_get_fields): same change to varargs
61         i.e. first_field_type
62         (_dbus_message_loader_return_buffer): assert that the message data
63         is aligned (if not it's a bug in our code). Put in verbose griping
64         about why we set corrupted = TRUE.
65         (decode_header_data): add FIXME that char* is evil.  Was going to
66         add FIXME about evil locale-specific string.h strncmp, but just
67         switched to wacky string-as-uint32 optimization. Move check for
68         "no room for field name" above get_const_data_len() to avoid
69         assertion failure in get_const_data_len if we have trailing 2
70         bytes or the like. Check for service and name fields being
71         provided twice. Don't leak service/name on error. Require field
72         names to be aligned to 4 bytes.
73
74         * dbus/dbus-marshal.c: move byte swap stuff to header
75         (_dbus_pack_int32): uscore-prefix
76         (_dbus_unpack_int32): uscore-prefix
77         (_dbus_unpack_uint32): export
78         (_dbus_demarshal_string): add @todo complaining about use of
79         memcpy()
80         (_dbus_marshal_get_field_end_pos): add @todo about bad error
81         handling allowing corrupt data to go unchecked
82
83 2003-01-08  Havoc Pennington  <hp@redhat.com>
84
85         * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write 
86         to the select() as needed for authentication. (should be using
87         _dbus_poll() not select, but for another day)
88
89         * dbus/dbus.h: include dbus/dbus-protocol.h
90
91 2003-01-08  Anders Carlsson  <andersca@codefactory.se>
92
93         * dbus/Makefile.am (dbusinclude_HEADERS): Install
94         dbus-connection.h
95
96 2003-01-08  Anders Carlsson  <andersca@codefactory.se>
97
98         * dbus/dbus-internals.c: (_dbus_type_to_string):
99         New function that returns a string describing a type.
100         
101         * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
102         * dbus/dbus-marshal.h:
103         * dbus/dbus-message.c: (dbus_message_get_fields_valist),
104         (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
105         (dbus_message_iter_get_byte_array):
106         * dbus/dbus-message.h:
107         Add new convenience functions for appending and getting message fields.
108         Also add demarshalling routines for byte arrays.
109
110 2003-01-07  Anders Carlsson  <andersca@codefactory.se>
111
112         * dbus/dbus-connection-internal.h:
113         * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
114         (_dbus_connection_get_next_client_serial),
115         (dbus_connection_send_message):
116         * dbus/dbus-internals.h:
117         * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
118         (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
119         (_dbus_marshal_uint32), (_dbus_demarshal_double),
120         (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
121         (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
122         (_dbus_verbose_bytes), (_dbus_marshal_test):
123         * dbus/dbus-marshal.h:
124         * dbus/dbus-message-internal.h:
125         * dbus/dbus-message.c: (_dbus_message_set_client_serial),
126         (dbus_message_write_header), (_dbus_message_lock),
127         (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
128         (dbus_message_get_name), (dbus_message_append_int32),
129         (dbus_message_append_uint32), (dbus_message_append_double),
130         (dbus_message_append_string), (dbus_message_append_byte_array),
131         (dbus_message_get_fields_iter), (dbus_message_iter_ref),
132         (dbus_message_iter_unref), (dbus_message_iter_has_next),
133         (dbus_message_iter_next), (dbus_message_iter_get_field_type),
134         (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
135         (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
136         (decode_header_data), (_dbus_message_loader_return_buffer),
137         (message_iter_test), (_dbus_message_test):
138         * dbus/dbus-message.h:
139         * dbus/dbus-protocol.h:
140         * dbus/dbus-test.c: (main):
141         * dbus/dbus-test.h:
142         * glib/test-dbus-glib.c: (message_handler), (main):
143         * test/echo-client.c: (main):
144         * test/watch.c: (check_messages):
145         Make messages sendable and receivable for real.
146         
147 2003-01-07  Anders Carlsson  <andersca@codefactory.se>
148
149         * dbus/dbus-marshal.c: (_dbus_marshal_double),
150         (_dbus_marshal_string), (_dbus_marshal_byte_array):
151         * dbus/dbus-message.c: (dbus_message_append_int32),
152         (dbus_message_append_uint32), (dbus_message_append_double),
153         (dbus_message_append_string), (dbus_message_append_byte_array):
154         Handle OOM restoration.
155         
156 2003-01-07  Anders Carlsson  <andersca@codefactory.se>
157
158         * dbus/dbus-marshal.c: (_dbus_marshal_string),
159         (_dbus_demarshal_string), (_dbus_marshal_test):
160         * dbus/dbus-marshal.h:
161         * dbus/dbus-message.c: (dbus_message_get_name),
162         Document these functions.
163         
164         (dbus_message_append_int32), (dbus_message_append_uint32),
165         (dbus_message_append_double), (dbus_message_append_string),
166         (dbus_message_append_byte_array):
167         * dbus/dbus-message.h:
168         Add functions for adding message fields of different types.
169         
170         * dbus/dbus-protocol.h:
171         Add the different types.
172
173 2003-01-05  Havoc Pennington  <hp@pobox.com>
174
175         * bus/connection.c: implement routines for handling connections,
176         first thing is keeping a list of owned services on each connection
177         and setting up watches etc.
178
179         * bus/services.c: implement a mapping from service names to lists
180         of connections
181
182         * dbus/dbus-hash.c: add DBUS_HASH_POINTER
183
184         * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
185         to use static mutexes for global data
186
187         * dbus/dbus-connection.c (dbus_connection_set_data): add new
188         collection of functions to set/get application-specific data
189         on the DBusConnection.
190
191 2003-01-04  Havoc Pennington  <hp@pobox.com>
192
193         * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
194         (_dbus_poll): new function
195
196         * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
197         copied from GLib
198
199         * bus/loop.c: initial code for the daemon main loop
200
201 2003-01-04  Havoc Pennington  <hp@pobox.com>
202
203         * test/watch.c (error_handler): make it safe if the error handler 
204         is called multiple times (if we s/error handler/disconnect
205         handler/ we should just guarantee it's called only once)
206
207         * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
208         error handler on disconnect (it's quite possible we should
209         just change the error handler to a "disconnect handler," I'm 
210         not sure we have any other meaningful errors)
211
212         * configure.in: check for getpwnam_r
213
214         * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
215         dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
216         mechanism as in SASL spec, using socket credentials
217
218         * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
219         (_dbus_send_credentials_unix_socket): new function
220
221         * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
222         dbus_accept()
223         (_dbus_write): only check errno if <0 returned
224         (_dbus_write_two): ditto
225
226 2003-01-02  Anders Carlsson  <andersca@codefactory.se>
227
228         * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
229         (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
230         (_dbus_marshal_test):
231         * dbus/dbus-marshal.h:
232         Add _dbus_marshal_byte_array and rename _dbus_marshal_string
233         to _dbus_marshal_utf8_string. Also fix some tests.
234         
235 2002-12-28  Harri Porten  <porten@kde.org>
236
237         * configure.in: added check for C++ compiler and a very cheesy
238         check for the Qt integration
239
240         * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
241
242         * qt/Makefile.am: added 
243
244         * qt/.cvsignore: added  
245
246         * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
247         latter, added #ifdef QT_THREAD_SUPPORT guard.
248
249         * dbus/Makefile.am: added missing headers for make dist
250
251 2002-12-28  Kristian Rietveld  <kris@gtk.org>
252
253         * dbus/Makefile.am: fixup export-symbols-regex.
254
255 2002-12-27  Anders Carlsson  <andersca@codefactory.se>
256
257         * acinclude.m4: Add this file and put the 
258         PKG_CHECK_MODULE macro in it.
259
260 2002-12-27  Anders Carlsson  <andersca@codefactory.se>
261
262         * dbus/dbus-marshal.c: (_dbus_marshal_string),
263         (_dbus_demarshal_double), (_dbus_demarshal_int32),
264         (_dbus_demarshal_uint32), (_dbus_demarshal_string),
265         (_dbus_marshal_test):
266         Make the demarshalling routines align the pos argument.
267         Add string marshalling tests and fix the obvious bugs 
268         discovered.
269         
270 2002-12-26  Havoc Pennington  <hp@pobox.com>
271
272         * dbus/dbus-auth.c: fixes fixes fixes
273
274         * dbus/dbus-transport-unix.c: wire up support for
275         encoding/decoding data on the wire
276
277         * dbus/dbus-auth.c (_dbus_auth_encode_data) 
278         (_dbus_auth_decode_data): append to target string 
279         instead of nuking it.
280
281 2002-12-26  Havoc Pennington  <hp@pobox.com>
282
283         * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
284         WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
285         doh
286
287         * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
288         avoid swap_bytes() overhead (ignoring possible assembly stuff for 
289         now). Main point is because I wanted unpack_uint32 to implement
290         _dbus_verbose_bytes
291         (_dbus_verbose_bytes): new function
292
293         * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
294
295         * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
296         mechanism to handle a corrupt message stream
297         (_dbus_message_loader_new): fix preallocation to only prealloc, 
298         not prelengthen
299         
300         * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
301         (_dbus_string_test): enhance tests for copy/move and fix the
302         functions
303
304         * dbus/dbus-transport-unix.c: Hold references in more places to 
305         avoid reentrancy problems
306
307         * dbus/dbus-transport.c: ditto
308
309         * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
310         leak reference count in no-message case
311
312         * test/watch.c (do_mainloop): handle adding/removing watches
313         during iteration over the watches. Also, ref the connection/server
314         stored on a watch, so we don't try to mangle a destroyed one.
315
316         * dbus/dbus-transport-unix.c (do_authentication): perform
317         authentication
318
319         * dbus/dbus-auth.c (get_state): add a state
320         AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
321         (_dbus_auth_get_unused_bytes): append the unused bytes
322         to the passed in string, rather than prepend
323
324         * dbus/dbus-transport.c (_dbus_transport_init_base): create 
325         the auth conversation DBusAuth
326
327         * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
328         (_dbus_transport_new_for_domain_socket): when creating a
329         transport, pass in whether it's a client-side or server-side
330         transport so we know which DBusAuth to create
331
332 2002-12-03  Havoc Pennington  <hp@pobox.com>
333
334         * dbus/dbus-transport-unix.c (unix_finalize): finalize base
335         _after_ finalizing the derived members
336         (unix_connection_set): unref watch if we fail to add it
337
338         * dbus/dbus-connection.c (dbus_connection_unref): delete the
339         transport first, so that the connection owned by the 
340         transport will be valid as the transport finalizes.
341
342         * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
343         if necessary, and remove watches from the connection.
344         
345         * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
346         
347 2002-12-26  Anders Carlsson  <andersca@codefactory.se>
348
349         * dbus/dbus-marshal.c: (_dbus_marshal_string),
350         (_dbus_demarshal_double), (_dbus_demarshal_int32),
351         (_dbus_demarshal_uint32), (_dbus_demarshal_string),
352         (_dbus_marshal_test):
353         * dbus/dbus-marshal.h:
354         Add string marshal functions and have the demarshal functions
355         return the new position.
356         
357 2002-12-25  Havoc Pennington  <hp@pobox.com>
358
359         * doc/dbus-sasl-profile.txt: docs on the authentication protocol, 
360         it is a simple protocol that just maps directly to SASL.
361
362         * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
363         initial implementation, not actually used yet.
364         
365         * dbus/dbus-string.c (_dbus_string_find): new function
366         (_dbus_string_equal): new function
367         (_dbus_string_base64_encode): new function
368         (_dbus_string_base64_decode): new function
369
370 2002-12-25  Anders Carlsson  <andersca@codefactory.se>
371
372         * dbus/Makefile.am:
373         * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
374         (_dbus_marshal_int32), (_dbus_marshal_uint32),
375         (_dbus_demarshal_double), (_dbus_demarshal_int32),
376         (_dbus_demarshal_uint32), (_dbus_marshal_test):
377         * dbus/dbus-marshal.h:
378         * dbus/dbus-protocol.h:
379         * dbus/dbus-test.c: (main):
380         * dbus/dbus-test.h:
381         Add un-optimized marshalling/demarshalling routines.
382         
383 2002-12-25  Harri Porten  <porten@kde.org>
384
385         * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
386
387 2002-12-24  Zack Rusin  <zack@kde.org>
388
389         * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
390         * qt/dbus-qt.h: skeleton with two sample implemenatation of the
391         main loop stuff
392
393 2002-12-24  Havoc Pennington  <hp@pobox.com>
394
395         * glib/dbus-gthread.c: fix include
396
397         * glib/dbus-glib.h: rename DBusMessageHandler for now. 
398         I think glib API needs to change, though, as you don't 
399         want to use DBusMessageFunction, you want to use the 
400         DBusMessageHandler object. Probably 
401         dbus_connection_open_with_g_main_loop()
402         and dbus_connection_setup_g_main_loop() or something like that
403         (but think of better names...) that just create a connection 
404         that has watch/timeout functions etc. already set up.
405
406         * dbus/dbus-connection.c
407         (dbus_connection_send_message_with_reply): new function just to 
408         show how the message handler helps us deal with replies.
409
410         * dbus/dbus-list.c (_dbus_list_remove_last): new function
411
412         * dbus/dbus-string.c (_dbus_string_test): free a string that
413         wasn't
414
415         * dbus/dbus-hash.c: use memory pools for the hash entries
416         (rebuild_table): be more paranoid about overflow, and 
417         shrink table when we can
418         (_dbus_hash_test): reduce number of sprintfs and write
419         valid C89. Add tests for case where we grow and then 
420         shrink the hash table.
421
422         * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
423
424         * dbus/dbus-connection.c (dbus_connection_register_handler) 
425         (dbus_connection_unregister_handler): new functions
426
427         * dbus/dbus-message.c (dbus_message_get_name): new
428
429         * dbus/dbus-list.c: fix docs typo
430
431         * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
432         an object representing a handler for messages.
433
434 2002-12-16  Anders Carlsson  <andersca@codefactory.se>
435
436         * glib/dbus-glib.h:
437         * glib/dbus-gthread.c: (dbus_gthread_init):
438         Don't use the gdbus prefix for public functions.
439         
440 2002-12-16  Anders Carlsson  <andersca@codefactory.se>
441
442         * Makefile.am:
443         * configure.in:
444         Add GLib checks and fixup .pc files
445         
446         * glib/Makefile.am:
447         * glib/dbus-glib.h:
448         * glib/dbus-gmain.c: (gdbus_connection_prepare),
449         (gdbus_connection_check), (gdbus_connection_dispatch),
450         (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
451         (dbus_connection_gsource_new):
452         * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
453         (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
454         * glib/test-dbus-glib.c: (message_handler), (main):
455         Add GLib support.
456         
457 2002-12-15  Harri Porten  <porten@kde.org>
458
459         * autogen.sh: check for libtoolize before attempting to use it 
460         
461         * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
462         struct.
463         
464         * .cvsignore: ignore more stamp files
465
466         * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
467
468         * test/Makefile.am: added -I$(top_srcdir) to be able to compile
469         without make install.
470
471 2002-12-15  Havoc Pennington  <hp@pobox.com>
472
473         * dbus/dbus-threads.c: add thread stubs that a higher library
474         layer can fill in. e.g. the GLib wrapper might fill them in with
475         GThread stuff. We still need to use this thread API to
476         thread-safe-ize the library.
477
478 2002-12-12  Havoc Pennington  <hp@pobox.com>
479
480         * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
481         below new interfaces and include fewer system headers.
482
483         * dbus/dbus-sysdeps.c (_dbus_read): new function
484         (_dbus_write): new function
485         (_dbus_write_two): new function
486         (_dbus_connect_unix_socket): new function
487         (_dbus_listen_unix_socket): new function
488
489         * dbus/dbus-message-internal.h: change interfaces to use
490         DBusString
491
492 2002-12-11  Havoc Pennington  <hp@pobox.com>
493
494         * dbus/dbus-types.h: add dbus_unichar
495
496         * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
497
498         * dbus/dbus-connection.c (dbus_connection_send_message): return
499         TRUE on success
500
501         * dbus/dbus-transport.c: include dbus-watch.h   
502
503         * dbus/dbus-connection.c: include dbus-message-internal.h
504
505         * HACKING: add file with coding guidelines stuff.
506
507         * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
508         handling here, for security purposes (as in vsftpd). Not actually
509         using this class yet.
510
511         * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
512         system/libc usage here, as in vsftpd, for ease of auditing (and
513         should also simplify portability). Haven't actually moved all the
514         system/libc usage into here yet.
515         
516 2002-11-25  Havoc Pennington  <hp@pobox.com>
517
518         * dbus/dbus-internals.c (_dbus_verbose): fix to not 
519         always print the first verbose message.
520
521 2002-11-24  Havoc Pennington  <hp@pobox.com>
522
523         * test/echo-client.c, test/echo-server.c: cheesy test 
524         clients.
525         
526         * configure.in (AC_CHECK_FUNCS): check for writev
527
528         * dbus/dbus-message.c (_dbus_message_get_network_data): new
529         function
530
531         * dbus/dbus-list.c (_dbus_list_foreach): new function
532
533         * dbus/dbus-internals.c (_dbus_verbose): new function
534
535         * dbus/dbus-server.c, dbus/dbus-server.h: public object
536         representing a server that listens for connections.
537
538         * dbus/.cvsignore: create
539
540         * dbus/dbus-errors.h, dbus/dbus-errors.c:
541         public API for reporting errors
542
543         * dbus/dbus-connection.h, dbus/dbus-connection.c:
544         public object representing a connection that 
545         sends/receives messages. (Same object used for 
546         both client and server.)
547
548         * dbus/dbus-transport.h, dbus/dbus-transport.c:
549         Basic abstraction for different kinds of stream
550         that we might read/write messages from.
551
552 2002-11-23  Havoc Pennington  <hp@pobox.com>
553
554         * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN 
555         _DBUS_INT_MAX
556
557         * dbus/dbus-test.c (main): add list test, and include 
558         dbus-test.h as intended
559
560         * dbus/dbus-hash.c (_dbus_hash_table_remove_string) 
561         (_dbus_hash_table_remove_int): return value indicates 
562         whether the entry existed to remove
563
564         * dbus/dbus-list.c: add linked list utility class, 
565         with docs and tests
566
567         * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket 
568         array sometimes.
569
570 2002-11-23  Havoc Pennington  <hp@pobox.com>
571
572         * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
573         DBUS_END_DECLS to nothing, that should fix this once and for all
574
575         * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
576
577         * dbus/dbus-message.c, dbus/dbus-hash.c: 
578         add some missing @brief
579
580 2002-11-23  Havoc Pennington  <hp@pobox.com>
581
582         * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS 
583         to avoid confusing Doxygen
584
585         * dbus/dbus-hash.c: @} not }@
586
587         * dbus/dbus-message.c (struct DBusMessage): split out 
588         internals docs
589
590 2002-11-23  Havoc Pennington  <hp@pobox.com>
591
592         * configure.in: pile on more warning flags if using gcc
593
594         * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have 
595         to document static functions
596
597         * configure.in: add summary to end of configure so it 
598         looks nice and attractive
599
600         * dbus/dbus-hash.c: finish implementation and write unit 
601         tests and docs
602
603         * configure.in: add --enable-tests to enable unit tests
604
605         * dbus/dbus-test.c: test program to run unit tests 
606         for all files in dbus/*, initially runs a test for 
607         dbus-hash.c
608         
609         * dbus/dbus-internals.h: file to hold some internal utility stuff
610
611 2002-11-22  Havoc Pennington  <hp@redhat.com>
612
613         * dbus/dbus-hash.c: copy in Tcl hash table, not yet 
614         "ported" away from Tcl
615
616         * dbus/dbus-types.h: header for types such as dbus_bool_t
617
618 2002-11-22  Havoc Pennington  <hp@redhat.com>
619
620         * dbus/dbus.h: fixups for doc warnings
621
622         * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up 
623         macros
624         (QUIET): make it quiet so we can see warnings
625
626         * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
627
628 2002-11-22  Havoc Pennington  <hp@redhat.com>
629
630         * Makefile.am: include "Doxyfile" target in all-local
631
632         * configure.in: generate the Doxyfile
633
634         * Doxyfile.in: move Doxyfile here, so we can use 
635         configure to generate a Doxyfile with the right 
636         version number etc.
637
638 2002-11-22  Havoc Pennington  <hp@redhat.com>
639
640         * dbus/dbus-message.c: move inline docs into .c file
641
642         * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
643         so all docs are under doc/
644         (MAN_EXTENSION): generate man pages. Use extension 
645         ".3dbus" which matches ".3qt" on my system, 
646         I guess this is OK, I don't know really.
647         (FILE_PATTERNS): look for .c files not .h, makes sense
648         for plain C I think
649
650 2002-11-22  Havoc Pennington  <hp@pobox.com>
651
652         * Makefile.am (SUBDIRS): rename subdir "server" to "bus" 
653         because any app can be a server, and any app can be a client, 
654         the bus is a special kind of server.
655
656 Thu Nov 21 23:35:31 2002  Zack Rusin  <zack@kde.org>
657
658         * Doxyfile : adding. Still needs Makefile rules to be generated
659         automatically (just run "doxygen" in the toplevel dir for now to
660         generate docs)
661         
662         * dbus/dbus-message.h : Adding sample docs (javadoc since
663         resembles gtk-doc a little more)
664
665         * dbus/dbus.h : Adding sample docs
666
667 2002-11-21  Havoc Pennington  <hp@redhat.com>
668
669         * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION 
670         so we can allow ourselves to include files directly, 
671         instead of having to use dbus.h
672
673         * dbus/dbus.h: fill in
674
675         * dbus/dbus-message.h: sketch out a sample header file.
676         Include griping if you include it directly instead of 
677         via dbus.h
678
679         * dbus/dbus-macros.h: new file with macros for extern "C", 
680         TRUE/FALSE, NULL, etc.
681
682         * doc/file-boilerplate.c: put include guards in here
683
684 2002-11-21  Havoc Pennington  <hp@redhat.com>
685
686         * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
687
688         * COPYING: include the GPL as well, and license code 
689         under both AFL and GPL.
690
691 2002-11-21  Havoc Pennington  <hp@redhat.com>
692
693         * acconfig.h: get rid of this
694
695         * autogen.sh (run_configure): add --no-configure option
696
697         * configure.in: remove AC_ARG_PROGRAM to make
698         autoconf complain less. add AC_PREREQ. 
699         add AC_DEFINE third arg.
700         
701 2002-11-21  Anders Carlsson  <andersca@codefactory.se>
702
703         * doc/Makefile.am:
704         Fix references so we can distcheck.
705
706 2002-11-21  Havoc Pennington  <hp@redhat.com>
707
708         * Initial module creation
709