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