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