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