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