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