1 2003-01-31 Havoc Pennington <hp@pobox.com>
3 * dbus/dbus-message.c (dbus_message_set_is_error_reply): rename
4 just set_is_error/get_is_error as this is a commonly-used
5 function, and write docs.
7 2003-01-31 Anders Carlsson <andersca@codefactory.se>
9 * dbus/dbus-address.c: (dbus_address_entry_free):
10 Free key and value lists.
12 * dbus/dbus-internals.c: (_dbus_type_to_string):
13 Add the types we didn't have.
15 * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos),
16 (_dbus_marshal_validate_arg):
19 * dbus/dbus-message.c: (dbus_message_set_sender):
20 Remove todo about being able to set sender to NULL.
22 (dbus_message_set_is_error_reply),
23 (dbus_message_get_is_error_reply):
24 * dbus/dbus-message.h:
27 * dbus/dbus-protocol.h:
30 * test/data/valid-messages/opposite-endian.message:
33 2003-01-31 Havoc Pennington <hp@pobox.com>
35 * doc/dbus-specification.sgml: fully specify the header. Add
36 flags and major protocol version, and change header/body len to
39 * dbus/dbus-message-builder.c (append_saved_length): append length
42 * dbus/dbus-message.c (dbus_message_create_header): change header
43 length and body length to unsigned. Add the new fields from the
45 (_dbus_message_loader_return_buffer): unsigned header/body len
47 2003-01-30 Havoc Pennington <hp@pobox.com>
49 * dbus/dbus-auth.c: rework to use only REJECTED, no
52 * doc/dbus-sasl-profile.txt: drop MECHANISMS and just
53 use REJECTED, suggested by Mark McLoughlin
55 2003-01-30 Havoc Pennington <hp@pobox.com>
57 * dbus/dbus-server.c (dbus_server_listen): @todo about how we need
58 a better way to report errors here. e.g. "unix address lacks
59 path" or something. also "no such file" when the path doesn't
62 * dbus/dbus-address.c (dbus_address_entries_free): add @todo about
64 (dbus_parse_address): add @todo about documenting address format,
65 and allowing , and ; to be escaped
67 2003-01-30 Anders Carlsson <andersca@codefactory.se>
72 * dbus/dbus-address.c: (dbus_address_entry_free),
73 (dbus_address_entries_free), (create_entry),
74 (dbus_address_entry_get_method), (dbus_address_entry_get_value),
75 (dbus_parse_address), (_dbus_address_test):
76 * dbus/dbus-address.h:
77 New files for dealing with address parsing.
79 * dbus/dbus-connection.c:
80 Document timeout functions.
82 * dbus/dbus-message.c:
83 Document dbus_message_new_from_message.
85 * dbus/dbus-server-debug.c:
88 * dbus/dbus-server.c: (dbus_server_listen):
89 Parse address and use correct server implementation.
91 * dbus/dbus-string.c: (_dbus_string_find_to), (_dbus_string_test):
93 New function with test.
95 * dbus/dbus-test.c: (dbus_internal_symbol_do_not_use_run_tests):
99 * dbus/dbus-transport-debug.c:
102 * dbus/dbus-transport.c: (_dbus_transport_open):
103 Parse address and use correct transport implementation.
105 2003-01-30 Havoc Pennington <hp@pobox.com>
107 * dbus/dbus-message.c: use message->byte_order instead of
108 DBUS_COMPILER_BYTE_ORDER throughout.
109 (dbus_message_create_header): pad header to align the
110 start of the body of the message to 8-byte boundary
112 * dbus/dbus-marshal.h: make all the demarshalers take const
113 DBusString arguments.
115 * dbus/dbus-message.c (_dbus_message_loader_return_buffer):
116 validate message args here, so we don't have to do slow validation
117 later, and so we catch bad messages as they are incoming. Also add
118 better checks on header_len and body_len. Also fill in
121 * dbus/dbus-string.c (_dbus_string_validate_utf8): new (not
122 implemented properly)
123 (_dbus_string_validate_nul): new function to check all-nul
125 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): rename
126 get_arg_end_pos and remove all validation
127 (_dbus_marshal_validate_arg): actually do validation here.
129 2003-01-29 Havoc Pennington <hp@pobox.com>
131 * dbus/dbus-message.c (check_message_handling): fix assertion
132 failure on set_client_serial
134 2003-01-28 Havoc Pennington <hp@pobox.com>
136 * dbus/dbus-server-debug.c: Add doc section comments
138 * dbus/dbus-transport-debug.c: add doc section comments
140 2003-01-28 Havoc Pennington <hp@redhat.com>
142 * dbus/dbus-string.c (_dbus_string_base64_decode): append bytes in
143 the reverse order from how I had it
144 (_dbus_string_base64_encode): reverse encoding order. I was
145 basically byteswapping everything during encoding.
147 2003-01-28 Anders Carlsson <andersca@codefactory.se>
149 * dbus/dbus-connection-internal.h:
150 * dbus/dbus-connection.c: (_dbus_connection_add_timeout),
151 (_dbus_connection_remove_timeout):
152 Add functions for adding and removing timeouts.
154 * dbus/dbus-message.c: (dbus_message_new_from_message):
155 Add new function that takes a message and creates an exact
156 copy of it, but with the refcount set to 1.
157 (check_message_handling):
160 * dbus/dbus-server-protected.h:
161 * dbus/dbus-server.c: (_dbus_server_init_base),
162 (_dbus_server_finalize_base), (_dbus_server_add_timeout),
163 (dbus_server_set_timeout_functions):
164 (_dbus_server_remove_timeout):
165 New functions so that a server can add and remove timeouts.
167 (dbus_server_listen):
168 Add commented out call to dbus_server_debug_new.
170 * dbus/dbus-timeout.c: (_dbus_timeout_new):
171 Actually set the handler, doh.
173 * dbus/dbus-transport.c: (_dbus_transport_open):
174 Add commented out call to dbus_transport_debug_client_new.
177 Add dbus-transport-debug.[ch] and dbus-server-debug.[ch]
179 2003-01-28 Havoc Pennington <hp@pobox.com>
181 * dbus/dbus-message.c (check_message_handling): function to check
182 on the loaded message, iterates over it etc.
184 2003-01-28 Havoc Pennington <hp@pobox.com>
186 * test/Makefile.am (dist-hook): fix make distdir
188 * dbus/Makefile.am (TESTS_ENVIRONMENT): fix make check
190 2003-01-27 Havoc Pennington <hp@pobox.com>
192 * dbus/dbus-mempool.c (time_for_size): replace printf with
195 * dbus/dbus-message-builder.c (_dbus_message_data_load): allow
196 empty lines; fix the SAVE_LENGTH stuff to be
197 START_LENGTH/END_LENGTH so it actually works; couple other
200 * test/Makefile.am (dist-hook): add dist-hook for .message files
202 * dbus/dbus-string.c (DBUS_STRING_COPY_PREAMBLE): source of a copy
203 can be constant or locked.
204 (_dbus_string_free): allow freeing a const string as
207 * dbus/dbus-sysdeps.c (_dbus_concat_dir_and_file): utility
209 * dbus/dbus-test-main.c (main): take an argument which is the
210 directory containing test data
212 * dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir
213 argument to this and load all the messages in test/data/
214 checking that they can be loaded or not loaded as appropriate.
216 2003-01-27 Anders Carlsson <andersca@codefactory.se>
218 * bus/dispatch.c: (bus_dispatch_message_handler):
219 Dispatch messages sent to services.
221 * bus/driver.c: (bus_driver_send_service_deleted),
222 (bus_driver_send_service_created), (bus_driver_send_service_lost),
223 (bus_driver_send_service_acquired):
224 Add helper functions for sending service related messages.
226 (bus_driver_send_welcome_message):
227 Send HELLO_REPLY instead of WELCOME.
229 (bus_driver_handle_list_services):
230 Send LIST_SERVICES_REPLY instead of SERVICES.
232 (bus_driver_handle_own_service),
233 (bus_driver_handle_service_exists):
234 New message handlers.
236 (bus_driver_handle_message):
237 Invoke new message handlers.
239 (bus_driver_remove_connection):
240 Don't remove any services here since that's done automatically
241 by bus_service_remove_owner now.
244 New function signatures.
246 * bus/services.c: (bus_service_add_owner):
247 Send ServiceAcquired message if we're the only primary owner.
249 (bus_service_remove_owner):
250 Send ServiceAcquired/ServiceLost messages.
252 (bus_service_set_prohibit_replacement),
253 (bus_service_get_prohibit_replacement):
254 Functions for setting prohibit replacement.
256 (bus_service_has_owner):
257 New function that checks if a connection is in the owner queue of
261 Add new function signatures.
263 * dbus/dbus-list.c: (_dbus_list_test):
264 Add tests for _dbus_list_remove_last and traversing the list backwards.
267 Fix a typo in _dbus_list_get_prev_link, if we're at the first element we can't
268 go any further, so return NULL then.
270 * dbus/dbus-protocol.h:
271 Add new messages, service flags and service replies.
273 2003-01-26 Havoc Pennington <hp@pobox.com>
275 * dbus/dbus-message-builder.c: implement, completely untested.
277 * test/data/*: add data to be used in testing.
278 ".message" files are our simple loadable text format.
279 ".message-raw" will be binary dumps of messages.
281 * dbus/dbus-string.c (_dbus_string_starts_with_c_str): new
283 2003-01-26 Havoc Pennington <hp@pobox.com>
285 * dbus/dbus-sysdeps.c (_dbus_file_get_contents): new function
287 * dbus/dbus-errors.c (dbus_result_to_string): add
290 * dbus/dbus-message-builder.c: new file, will contain code to load
291 up messages from files. Not implemented yet.
293 2003-01-26 Havoc Pennington <hp@pobox.com>
295 * dbus/dbus-message.c (dbus_message_set_sender): support deleting
296 the sender by setting to NULL
298 2003-01-26 Havoc Pennington <hp@pobox.com>
300 The unit tests pass, but otherwise untested. If it breaks, the
301 tests should have been better. ;-)
303 * bus/driver.c (bus_driver_handle_hello): return if we disconnect
306 * dbus/dbus-message.c: redo everything so we maintain
307 message->header as the only copy of the various fields.
308 This avoids the possibility of out-of-memory in some cases,
309 for example dbus_message_lock() can't run out of memory anymore,
310 and avoids extra copying. Figured I may as well go ahead and do
311 this since it was busted for dbus_message_lock to not return
312 failure on OOM, and dbus_message_write_header was totally
313 unchecked for OOM. Also fixed some random other bugs.
315 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): verify
316 that strings are nul-terminated. Also, end_pos can be equal
317 to string length just not greater than, I think.
318 (_dbus_marshal_set_int32): new function
319 (_dbus_marshal_set_uint32): new function
320 (_dbus_marshal_set_string): new function
322 * dbus/dbus-connection.c (_dbus_connection_new_for_transport): fix
323 a warning, init timeout_list to NULL
324 (dbus_connection_send_message): don't use uninitialized variable
327 * dbus/dbus-string.c (_dbus_string_replace_len): new function
329 2003-01-26 Anders Carlsson <andersca@codefactory.se>
331 * bus/driver.c: (bus_driver_handle_hello),
332 (bus_driver_send_welcome_message):
335 2003-01-26 Anders Carlsson <andersca@codefactory.se>
337 * dbus/dbus-auth.c: (process_auth), (_dbus_auth_unref):
338 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
339 (dbus_connection_unref):
340 * dbus/dbus-marshal.c: (_dbus_marshal_test):
341 * dbus/dbus-message.c: (dbus_message_unref),
344 (dbus_message_get_fields):
345 Remove debugging printout.
347 (_dbus_message_loader_return_buffer):
348 Don't store the header string.
350 (_dbus_message_test):
353 2003-01-26 Richard Hult <rhult@codefactory.se>
355 * glib/dbus-gmain.c (dbus_connection_dispatch): Traverse a copy of
356 the file descriptor list, since it can change under us.
358 2003-01-25 Anders Carlsson <andersca@codefactory.se>
360 * glib/dbus-gmain.c: (dbus_connection_prepare),
361 (dbus_connection_check), (dbus_connection_dispatch), (add_watch),
362 (remove_watch), (dbus_connection_hookup_with_g_main):
363 Rewrite the glib handling to use its own GSource instead of a
364 GIOChannel so we can catch messages put in the queue while waiting
367 2003-01-25 Anders Carlsson <andersca@codefactory.se>
370 * bus/connection.c: (connection_disconnect_handler),
371 (connection_watch_callback), (bus_connection_setup):
372 * bus/dispatch.c: (send_one_message),
373 (bus_dispatch_broadcast_message), (bus_dispatch_message_handler),
374 (bus_dispatch_add_connection), (bus_dispatch_remove_connection):
376 * bus/driver.c: (bus_driver_send_service_deleted),
377 (bus_driver_send_service_created), (bus_driver_handle_hello),
378 (bus_driver_send_welcome_message),
379 (bus_driver_handle_list_services), (bus_driver_remove_connection),
380 (bus_driver_handle_message):
382 Refactor code, put the message dispatching in its own file. Use
383 _DBUS_HANDLE_OOM. Also send ServiceDeleted messages when a client
386 2003-01-25 Anders Carlsson <andersca@codefactory.se>
388 * dbus/dbus-internals.h:
389 Add _DBUS_HANDLE_OOM macro, it doesn't do anything currently.
391 * dbus/dbus-message.c: (dbus_message_get_sender):
392 * dbus/dbus-message.h:
393 Implement dbus_message_get_sender.
395 * dbus/dbus-protocol.h:
396 Add message and service defines.
398 2003-01-25 Anders Carlsson <andersca@codefactory.se>
400 * dbus/dbus-connection.c: (dbus_connection_send_message):
401 * dbus/dbus-message-internal.h:
402 * dbus/dbus-message.c: (_dbus_message_get_client_serial),
403 (dbus_message_write_header):
404 Remove _dbus_messag_unlock and don't set the client serial on a
405 message if one already exists.
407 2003-01-24 Havoc Pennington <hp@pobox.com>
409 * dbus/dbus-list.c (alloc_link): put a thread lock on the global
412 * bus/driver.c (bus_driver_handle_list_services): fix a leak
415 2003-01-25 Anders Carlsson <andersca@codefactory.se>
417 * dbus/dbus-list.c: (alloc_link), (free_link):
418 Use a memory pool for the links.
420 2003-01-25 Anders Carlsson <andersca@codefactory.se>
422 * bus/connection.c: (bus_connection_foreach):
424 Add new bus_connection_foreach function.
426 * bus/driver.c: (send_one_message), (bus_driver_broadcast_message):
427 Add function that broadcasts a message to all clients.
429 (bus_driver_send_service_created), (bus_driver_handle_hello),
430 (bus_driver_send_welcome_message),
431 (bus_driver_handle_list_services), (bus_driver_message_handler):
432 Implement functions that take care of listing services, and notifying
433 clients when new services are created.
435 * bus/services.c: (bus_services_list):
437 Add new function that returns an array of strings with the currently
442 Update copyright year.
444 2003-01-25 Anders Carlsson <andersca@codefactory.se>
446 * dbus/dbus-connection.c: (dbus_connection_send_message):
447 Unlock the message in case it was sent earlier.
449 (dbus_connection_send_message_with_reply_and_block):
450 Remove the reply message from the list.
452 * dbus/dbus-marshal.c: (_dbus_demarshal_string_array):
453 Set array_len and new_pos correctly.
455 (_dbus_marshal_test):
458 * dbus/dbus-message-internal.h:
459 * dbus/dbus-message.c: (_dbus_message_get_reply_serial):
460 New function that returns the reply serial.
462 (_dbus_message_unlock):
463 New function that unlocks a message and resets its header.
465 (dbus_message_append_string_array),
466 (dbus_message_get_fields_valist),
467 (dbus_message_iter_get_field_type),
468 (dbus_message_iter_get_string_array),
469 (dbus_message_get_fields),
470 (dbus_message_append_fields_valist):
471 Handle string arrays.
473 (dbus_message_set_sender):
474 Make this function public since the bus daemon needs it.
476 (decode_header_data):
477 Set the reply serial to -1 initially.
479 * dbus/dbus-message.h:
480 Add dbus_message_set_sender.
482 2003-01-24 Havoc Pennington <hp@pobox.com>
484 * doc/dbus-specification.sgml: add some stuff
486 2003-01-22 Havoc Pennington <hp@pobox.com>
488 * doc/dbus-specification.sgml: Start to document the protocol.
490 2003-01-22 Havoc Pennington <hp@pobox.com>
492 * dbus/dbus-connection.c
493 (dbus_connection_send_message_with_reply_and_block): add some @todo
495 * bus/driver.c (bus_driver_add_connection): add a FIXME about memleak
497 2003-01-21 Havoc Pennington <hp@pobox.com>
499 (patch untested because can't compile)
501 * bus/driver.c (create_unique_client_name): make this function
502 never recycle client names. Also, caller should initialize
505 * dbus/dbus-sysdeps.c (_dbus_get_current_time): new function
507 2003-01-21 Anders Carlsson <andersca@codefactory.se>
509 * dbus/dbus-marshal.c: (_dbus_marshal_double),
510 (_dbus_marshal_int32), (_dbus_marshal_uint32),
511 (_dbus_marshal_int32_array), (_dbus_marshal_uint32_array),
512 (_dbus_marshal_double_array), (_dbus_marshal_string_array),
513 (_dbus_demarshal_int32_array), (_dbus_demarshal_uint32_array),
514 (_dbus_demarshal_double_array), (_dbus_demarshal_string_array),
515 (_dbus_marshal_get_field_end_pos), (_dbus_marshal_test):
516 * dbus/dbus-marshal.h:
517 * dbus/dbus-protocol.h:
518 Add support for marshalling and demarshalling integer, double
521 2003-01-21 Anders Carlsson <andersca@codefactory.se>
526 * bus/connection.c: (connection_disconnect_handler):
527 Remove the connection from the bus driver's list.
529 (connection_watch_callback): Dispatch messages.
531 (free_connection_data): Free connection name.
533 (bus_connection_setup): Add connection to the bus driver's list.
534 (bus_connection_remove_owned_service):
535 (bus_connection_set_name), (bus_connection_get_name):
536 Add functions for setting and getting the connection's name.
539 Add function headers.
541 * bus/driver.c: (create_unique_client_name),
542 (bus_driver_handle_hello_message),
543 (bus_driver_send_welcome_message), (bus_driver_message_handler),
544 (bus_driver_add_connection), (bus_driver_remove_connection):
547 * bus/services.c: (bus_service_free):
549 New file that handles communication and registreation with the bus
552 2003-01-21 Anders Carlsson <andersca@codefactory.se>
554 * dbus/dbus-connection.c: (dbus_connection_send_message):
555 Add a new client_serial parameter.
557 (dbus_connection_send_message_with_reply):
558 Remove a @todo since we've implemented the blocking function.
560 (dbus_connection_send_message_with_reply_and_block):
561 New function that sends a message and waits for a reply and
562 then returns the reply.
564 * dbus/dbus-connection.h:
567 * dbus/dbus-errors.c: (dbus_result_to_string):
568 * dbus/dbus-errors.h:
571 * dbus/dbus-message-internal.h:
572 * dbus/dbus-message.c: (_dbus_message_get_reply_serial),
573 (_dbus_message_set_sender), (dbus_message_write_header),
574 (dbus_message_new_reply), (decode_header_data),
575 (_dbus_message_loader_return_buffer), (_dbus_message_test):
576 * dbus/dbus-message.h:
577 Add new functions that set the reply serial and sender.
578 Also marshal and demarshal them correctly and add test.
580 * dbus/dbus-protocol.h:
581 Add new DBUS_MESSAGE_TYPE_SENDER.
584 * glib/dbus-gmain.c: (watch_callback), (free_callback_data),
585 (add_watch), (remove_watch), (add_timeout), (remove_timeout),
586 (dbus_connection_hookup_with_g_main):
587 * glib/test-dbus-glib.c: (main):
588 Rewrite to use GIOChannel and remove the GSource crack.
590 * test/echo-client.c: (main):
591 * test/watch.c: (check_messages):
592 Update for changed APIs
594 2003-01-19 Anders Carlsson <andersca@codefactory.se>
596 * dbus/Makefile.am: Add dbus-timeout.[cħ]
598 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport):
599 Create a DBusTimeoutList.
600 (dbus_connection_set_timeout_functions): Add new function to
601 set timeout callbacks
603 * dbus/dbus-connection.h: Add public DBusTimeout API.
605 * dbus/dbus-message.c: (dbus_message_get_service):
606 * dbus/dbus-message.h: New function.
608 * dbus/dbus-server.c: Fix small doc typo.
610 * dbus/dbus-timeout.[ch]: New files for mainloop timeouts.
612 2003-01-19 Anders Carlsson <andersca@codefactory.se>
614 * dbus/dbus-string.c (_dbus_string_move_len): Don't delete all
615 of the string, just as long as specified.
617 2003-01-19 Havoc Pennington <hp@pobox.com>
619 * dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
622 * dbus/dbus-server.c (dbus_server_set_max_connections)
623 (dbus_server_get_max_connections, dbus_server_get_n_connections):
624 keep track of current number of connections, and add API for
625 setting a max (but haven't implemented enforcing the max yet)
627 2003-01-18 Havoc Pennington <hp@pobox.com>
629 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
630 reading/writing if read_watch != NULL or write_watch != NULL.
632 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
633 the message loader code to actually load message->header and
634 message->body into the newly-created message.
636 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
639 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
640 (dbus_connection_get_max_message_size)
641 (dbus_connection_set_max_live_messages_size)
642 (dbus_connection_get_max_live_messages_size): implement some
643 resource limitation functions
645 * dbus/dbus-resources.c: new file implementing some of the
646 resource limits stuff
648 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
649 missing docs, add @todo to handle OOM etc.
651 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
654 2003-01-18 Havoc Pennington <hp@pobox.com>
656 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
657 connection if it hasn't been already.
659 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
660 replace with DisconnectFunction.
662 2003-01-18 Havoc Pennington <hp@pobox.com>
664 Building --disable-verbose-mode --disable-asserts --disable-tests
665 cuts the library from 112K to 45K or so
667 * configure.in: check for varargs macro support,
668 add --enable-verbose-mode, --enable-asserts.
670 * dbus/dbus-internals.h (_dbus_assert): support
672 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
674 2003-01-18 Havoc Pennington <hp@pobox.com>
676 * dbus/dbus-test.c: include config.h so that tests actually run
678 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
679 so the failure mode when that assumption fails will be plenty
682 2003-01-18 Havoc Pennington <hp@pobox.com>
684 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
686 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
689 * test/Makefile.am: don't use special variable "TESTS" for echo-*
690 since we don't want to use those in make check
692 2003-01-15 Havoc Pennington <hp@redhat.com>
698 2003-01-15 Havoc Pennington <hp@redhat.com>
700 * test/Makefile.am: fix so that test source code ends up in the
701 distribution on make distcheck
703 2003-01-15 Havoc Pennington <hp@redhat.com>
709 2003-01-15 Havoc Pennington <hp@redhat.com>
711 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
712 fix build when --disable-tests
714 * Makefile.am (EXTRA_DIST): put HACKING in here
716 * HACKING: document procedure for making a tarball release.
718 2003-01-14 Anders Carlsson <andersca@codefactory.se>
720 * bus/connection.c: (connection_error_handler),
721 (bus_connection_setup):
722 * bus/main.c: (main):
723 Make sure that the DBusConnectionData struct is NULLed
724 out to prevent a segfault.
726 * dbus/dbus-errors.c: (dbus_result_to_string):
727 * dbus/dbus-errors.h:
728 * dbus/dbus-message.c: (dbus_message_get_fields),
729 (dbus_message_get_fields_valist), (_dbus_message_test):
730 * dbus/dbus-message.h:
731 Make dbus_message_get_fields return a result code so we can
732 track invalid fields as well as oom.
734 2003-01-11 Havoc Pennington <hp@pobox.com>
736 * configure.in: change --enable-test/--enable-ansi action-if-given
737 to enable_foo=$enableval instead of enable_foo=yes
739 2003-01-08 Havoc Pennington <hp@pobox.com>
741 * dbus/dbus-string.c (_dbus_string_align_length): new function
743 * dbus/dbus-test-main.c: move main() for test app here
745 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
746 symbol to run tests, because dbus-test isn't in the main
749 Code review nitpicks.
751 * dbus/dbus-message.c (dbus_message_write_header): add newlines
752 for people with narrow emacs ;-). Assert client_serial was filled
753 in. Assert message->name != NULL.
754 (dbus_message_append_fields): have "first_field_type" arg separate
755 from va list, needed for C++ binding that also uses varargs IIRC
756 and helps with type safety
757 (dbus_message_new): add @todo about using DBusString to store
758 service/name internally
759 (dbus_message_new): don't leak ->service and ->name on OOM later
761 (dbus_message_unref): free the service name
762 (dbus_message_get_fields): same change to varargs
763 i.e. first_field_type
764 (_dbus_message_loader_return_buffer): assert that the message data
765 is aligned (if not it's a bug in our code). Put in verbose griping
766 about why we set corrupted = TRUE.
767 (decode_header_data): add FIXME that char* is evil. Was going to
768 add FIXME about evil locale-specific string.h strncmp, but just
769 switched to wacky string-as-uint32 optimization. Move check for
770 "no room for field name" above get_const_data_len() to avoid
771 assertion failure in get_const_data_len if we have trailing 2
772 bytes or the like. Check for service and name fields being
773 provided twice. Don't leak service/name on error. Require field
774 names to be aligned to 4 bytes.
776 * dbus/dbus-marshal.c: move byte swap stuff to header
777 (_dbus_pack_int32): uscore-prefix
778 (_dbus_unpack_int32): uscore-prefix
779 (_dbus_unpack_uint32): export
780 (_dbus_demarshal_string): add @todo complaining about use of
782 (_dbus_marshal_get_field_end_pos): add @todo about bad error
783 handling allowing corrupt data to go unchecked
785 2003-01-08 Havoc Pennington <hp@redhat.com>
787 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
788 to the select() as needed for authentication. (should be using
789 _dbus_poll() not select, but for another day)
791 * dbus/dbus.h: include dbus/dbus-protocol.h
793 2003-01-08 Anders Carlsson <andersca@codefactory.se>
795 * dbus/Makefile.am (dbusinclude_HEADERS): Install
798 2003-01-08 Anders Carlsson <andersca@codefactory.se>
800 * dbus/dbus-internals.c: (_dbus_type_to_string):
801 New function that returns a string describing a type.
803 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
804 * dbus/dbus-marshal.h:
805 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
806 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
807 (dbus_message_iter_get_byte_array):
808 * dbus/dbus-message.h:
809 Add new convenience functions for appending and getting message fields.
810 Also add demarshalling routines for byte arrays.
812 2003-01-07 Anders Carlsson <andersca@codefactory.se>
814 * dbus/dbus-connection-internal.h:
815 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
816 (_dbus_connection_get_next_client_serial),
817 (dbus_connection_send_message):
818 * dbus/dbus-internals.h:
819 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
820 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
821 (_dbus_marshal_uint32), (_dbus_demarshal_double),
822 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
823 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
824 (_dbus_verbose_bytes), (_dbus_marshal_test):
825 * dbus/dbus-marshal.h:
826 * dbus/dbus-message-internal.h:
827 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
828 (dbus_message_write_header), (_dbus_message_lock),
829 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
830 (dbus_message_get_name), (dbus_message_append_int32),
831 (dbus_message_append_uint32), (dbus_message_append_double),
832 (dbus_message_append_string), (dbus_message_append_byte_array),
833 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
834 (dbus_message_iter_unref), (dbus_message_iter_has_next),
835 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
836 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
837 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
838 (decode_header_data), (_dbus_message_loader_return_buffer),
839 (message_iter_test), (_dbus_message_test):
840 * dbus/dbus-message.h:
841 * dbus/dbus-protocol.h:
842 * dbus/dbus-test.c: (main):
844 * glib/test-dbus-glib.c: (message_handler), (main):
845 * test/echo-client.c: (main):
846 * test/watch.c: (check_messages):
847 Make messages sendable and receivable for real.
849 2003-01-07 Anders Carlsson <andersca@codefactory.se>
851 * dbus/dbus-marshal.c: (_dbus_marshal_double),
852 (_dbus_marshal_string), (_dbus_marshal_byte_array):
853 * dbus/dbus-message.c: (dbus_message_append_int32),
854 (dbus_message_append_uint32), (dbus_message_append_double),
855 (dbus_message_append_string), (dbus_message_append_byte_array):
856 Handle OOM restoration.
858 2003-01-07 Anders Carlsson <andersca@codefactory.se>
860 * dbus/dbus-marshal.c: (_dbus_marshal_string),
861 (_dbus_demarshal_string), (_dbus_marshal_test):
862 * dbus/dbus-marshal.h:
863 * dbus/dbus-message.c: (dbus_message_get_name),
864 Document these functions.
866 (dbus_message_append_int32), (dbus_message_append_uint32),
867 (dbus_message_append_double), (dbus_message_append_string),
868 (dbus_message_append_byte_array):
869 * dbus/dbus-message.h:
870 Add functions for adding message fields of different types.
872 * dbus/dbus-protocol.h:
873 Add the different types.
875 2003-01-05 Havoc Pennington <hp@pobox.com>
877 * bus/connection.c: implement routines for handling connections,
878 first thing is keeping a list of owned services on each connection
879 and setting up watches etc.
881 * bus/services.c: implement a mapping from service names to lists
884 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
886 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
887 to use static mutexes for global data
889 * dbus/dbus-connection.c (dbus_connection_set_data): add new
890 collection of functions to set/get application-specific data
891 on the DBusConnection.
893 2003-01-04 Havoc Pennington <hp@pobox.com>
895 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
896 (_dbus_poll): new function
898 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
901 * bus/loop.c: initial code for the daemon main loop
903 2003-01-04 Havoc Pennington <hp@pobox.com>
905 * test/watch.c (error_handler): make it safe if the error handler
906 is called multiple times (if we s/error handler/disconnect
907 handler/ we should just guarantee it's called only once)
909 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
910 error handler on disconnect (it's quite possible we should
911 just change the error handler to a "disconnect handler," I'm
912 not sure we have any other meaningful errors)
914 * configure.in: check for getpwnam_r
916 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
917 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
918 mechanism as in SASL spec, using socket credentials
920 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
921 (_dbus_send_credentials_unix_socket): new function
923 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
925 (_dbus_write): only check errno if <0 returned
926 (_dbus_write_two): ditto
928 2003-01-02 Anders Carlsson <andersca@codefactory.se>
930 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
931 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
932 (_dbus_marshal_test):
933 * dbus/dbus-marshal.h:
934 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
935 to _dbus_marshal_utf8_string. Also fix some tests.
937 2002-12-28 Harri Porten <porten@kde.org>
939 * configure.in: added check for C++ compiler and a very cheesy
940 check for the Qt integration
942 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
944 * qt/Makefile.am: added
946 * qt/.cvsignore: added
948 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
949 latter, added #ifdef QT_THREAD_SUPPORT guard.
951 * dbus/Makefile.am: added missing headers for make dist
953 2002-12-28 Kristian Rietveld <kris@gtk.org>
955 * dbus/Makefile.am: fixup export-symbols-regex.
957 2002-12-27 Anders Carlsson <andersca@codefactory.se>
959 * acinclude.m4: Add this file and put the
960 PKG_CHECK_MODULE macro in it.
962 2002-12-27 Anders Carlsson <andersca@codefactory.se>
964 * dbus/dbus-marshal.c: (_dbus_marshal_string),
965 (_dbus_demarshal_double), (_dbus_demarshal_int32),
966 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
967 (_dbus_marshal_test):
968 Make the demarshalling routines align the pos argument.
969 Add string marshalling tests and fix the obvious bugs
972 2002-12-26 Havoc Pennington <hp@pobox.com>
974 * dbus/dbus-auth.c: fixes fixes fixes
976 * dbus/dbus-transport-unix.c: wire up support for
977 encoding/decoding data on the wire
979 * dbus/dbus-auth.c (_dbus_auth_encode_data)
980 (_dbus_auth_decode_data): append to target string
981 instead of nuking it.
983 2002-12-26 Havoc Pennington <hp@pobox.com>
985 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
986 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
989 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
990 avoid swap_bytes() overhead (ignoring possible assembly stuff for
991 now). Main point is because I wanted unpack_uint32 to implement
993 (_dbus_verbose_bytes): new function
995 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
997 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
998 mechanism to handle a corrupt message stream
999 (_dbus_message_loader_new): fix preallocation to only prealloc,
1002 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
1003 (_dbus_string_test): enhance tests for copy/move and fix the
1006 * dbus/dbus-transport-unix.c: Hold references in more places to
1007 avoid reentrancy problems
1009 * dbus/dbus-transport.c: ditto
1011 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
1012 leak reference count in no-message case
1014 * test/watch.c (do_mainloop): handle adding/removing watches
1015 during iteration over the watches. Also, ref the connection/server
1016 stored on a watch, so we don't try to mangle a destroyed one.
1018 * dbus/dbus-transport-unix.c (do_authentication): perform
1021 * dbus/dbus-auth.c (get_state): add a state
1022 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
1023 (_dbus_auth_get_unused_bytes): append the unused bytes
1024 to the passed in string, rather than prepend
1026 * dbus/dbus-transport.c (_dbus_transport_init_base): create
1027 the auth conversation DBusAuth
1029 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
1030 (_dbus_transport_new_for_domain_socket): when creating a
1031 transport, pass in whether it's a client-side or server-side
1032 transport so we know which DBusAuth to create
1034 2002-12-03 Havoc Pennington <hp@pobox.com>
1036 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
1037 _after_ finalizing the derived members
1038 (unix_connection_set): unref watch if we fail to add it
1040 * dbus/dbus-connection.c (dbus_connection_unref): delete the
1041 transport first, so that the connection owned by the
1042 transport will be valid as the transport finalizes.
1044 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
1045 if necessary, and remove watches from the connection.
1047 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
1049 2002-12-26 Anders Carlsson <andersca@codefactory.se>
1051 * dbus/dbus-marshal.c: (_dbus_marshal_string),
1052 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1053 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
1054 (_dbus_marshal_test):
1055 * dbus/dbus-marshal.h:
1056 Add string marshal functions and have the demarshal functions
1057 return the new position.
1059 2002-12-25 Havoc Pennington <hp@pobox.com>
1061 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
1062 it is a simple protocol that just maps directly to SASL.
1064 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
1065 initial implementation, not actually used yet.
1067 * dbus/dbus-string.c (_dbus_string_find): new function
1068 (_dbus_string_equal): new function
1069 (_dbus_string_base64_encode): new function
1070 (_dbus_string_base64_decode): new function
1072 2002-12-25 Anders Carlsson <andersca@codefactory.se>
1075 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
1076 (_dbus_marshal_int32), (_dbus_marshal_uint32),
1077 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1078 (_dbus_demarshal_uint32), (_dbus_marshal_test):
1079 * dbus/dbus-marshal.h:
1080 * dbus/dbus-protocol.h:
1081 * dbus/dbus-test.c: (main):
1083 Add un-optimized marshalling/demarshalling routines.
1085 2002-12-25 Harri Porten <porten@kde.org>
1087 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
1089 2002-12-24 Zack Rusin <zack@kde.org>
1091 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
1092 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
1095 2002-12-24 Havoc Pennington <hp@pobox.com>
1097 * glib/dbus-gthread.c: fix include
1099 * glib/dbus-glib.h: rename DBusMessageHandler for now.
1100 I think glib API needs to change, though, as you don't
1101 want to use DBusMessageFunction, you want to use the
1102 DBusMessageHandler object. Probably
1103 dbus_connection_open_with_g_main_loop()
1104 and dbus_connection_setup_g_main_loop() or something like that
1105 (but think of better names...) that just create a connection
1106 that has watch/timeout functions etc. already set up.
1108 * dbus/dbus-connection.c
1109 (dbus_connection_send_message_with_reply): new function just to
1110 show how the message handler helps us deal with replies.
1112 * dbus/dbus-list.c (_dbus_list_remove_last): new function
1114 * dbus/dbus-string.c (_dbus_string_test): free a string that
1117 * dbus/dbus-hash.c: use memory pools for the hash entries
1118 (rebuild_table): be more paranoid about overflow, and
1119 shrink table when we can
1120 (_dbus_hash_test): reduce number of sprintfs and write
1121 valid C89. Add tests for case where we grow and then
1122 shrink the hash table.
1124 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
1126 * dbus/dbus-connection.c (dbus_connection_register_handler)
1127 (dbus_connection_unregister_handler): new functions
1129 * dbus/dbus-message.c (dbus_message_get_name): new
1131 * dbus/dbus-list.c: fix docs typo
1133 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
1134 an object representing a handler for messages.
1136 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1139 * glib/dbus-gthread.c: (dbus_gthread_init):
1140 Don't use the gdbus prefix for public functions.
1142 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1146 Add GLib checks and fixup .pc files
1150 * glib/dbus-gmain.c: (gdbus_connection_prepare),
1151 (gdbus_connection_check), (gdbus_connection_dispatch),
1152 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
1153 (dbus_connection_gsource_new):
1154 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
1155 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
1156 * glib/test-dbus-glib.c: (message_handler), (main):
1159 2002-12-15 Harri Porten <porten@kde.org>
1161 * autogen.sh: check for libtoolize before attempting to use it
1163 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
1166 * .cvsignore: ignore more stamp files
1168 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
1170 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
1171 without make install.
1173 2002-12-15 Havoc Pennington <hp@pobox.com>
1175 * dbus/dbus-threads.c: add thread stubs that a higher library
1176 layer can fill in. e.g. the GLib wrapper might fill them in with
1177 GThread stuff. We still need to use this thread API to
1178 thread-safe-ize the library.
1180 2002-12-12 Havoc Pennington <hp@pobox.com>
1182 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
1183 below new interfaces and include fewer system headers.
1185 * dbus/dbus-sysdeps.c (_dbus_read): new function
1186 (_dbus_write): new function
1187 (_dbus_write_two): new function
1188 (_dbus_connect_unix_socket): new function
1189 (_dbus_listen_unix_socket): new function
1191 * dbus/dbus-message-internal.h: change interfaces to use
1194 2002-12-11 Havoc Pennington <hp@pobox.com>
1196 * dbus/dbus-types.h: add dbus_unichar
1198 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
1200 * dbus/dbus-connection.c (dbus_connection_send_message): return
1203 * dbus/dbus-transport.c: include dbus-watch.h
1205 * dbus/dbus-connection.c: include dbus-message-internal.h
1207 * HACKING: add file with coding guidelines stuff.
1209 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
1210 handling here, for security purposes (as in vsftpd). Not actually
1211 using this class yet.
1213 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
1214 system/libc usage here, as in vsftpd, for ease of auditing (and
1215 should also simplify portability). Haven't actually moved all the
1216 system/libc usage into here yet.
1218 2002-11-25 Havoc Pennington <hp@pobox.com>
1220 * dbus/dbus-internals.c (_dbus_verbose): fix to not
1221 always print the first verbose message.
1223 2002-11-24 Havoc Pennington <hp@pobox.com>
1225 * test/echo-client.c, test/echo-server.c: cheesy test
1228 * configure.in (AC_CHECK_FUNCS): check for writev
1230 * dbus/dbus-message.c (_dbus_message_get_network_data): new
1233 * dbus/dbus-list.c (_dbus_list_foreach): new function
1235 * dbus/dbus-internals.c (_dbus_verbose): new function
1237 * dbus/dbus-server.c, dbus/dbus-server.h: public object
1238 representing a server that listens for connections.
1240 * dbus/.cvsignore: create
1242 * dbus/dbus-errors.h, dbus/dbus-errors.c:
1243 public API for reporting errors
1245 * dbus/dbus-connection.h, dbus/dbus-connection.c:
1246 public object representing a connection that
1247 sends/receives messages. (Same object used for
1248 both client and server.)
1250 * dbus/dbus-transport.h, dbus/dbus-transport.c:
1251 Basic abstraction for different kinds of stream
1252 that we might read/write messages from.
1254 2002-11-23 Havoc Pennington <hp@pobox.com>
1256 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
1259 * dbus/dbus-test.c (main): add list test, and include
1260 dbus-test.h as intended
1262 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
1263 (_dbus_hash_table_remove_int): return value indicates
1264 whether the entry existed to remove
1266 * dbus/dbus-list.c: add linked list utility class,
1269 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
1272 2002-11-23 Havoc Pennington <hp@pobox.com>
1274 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
1275 DBUS_END_DECLS to nothing, that should fix this once and for all
1277 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
1279 * dbus/dbus-message.c, dbus/dbus-hash.c:
1280 add some missing @brief
1282 2002-11-23 Havoc Pennington <hp@pobox.com>
1284 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
1285 to avoid confusing Doxygen
1287 * dbus/dbus-hash.c: @} not }@
1289 * dbus/dbus-message.c (struct DBusMessage): split out
1292 2002-11-23 Havoc Pennington <hp@pobox.com>
1294 * configure.in: pile on more warning flags if using gcc
1296 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
1297 to document static functions
1299 * configure.in: add summary to end of configure so it
1300 looks nice and attractive
1302 * dbus/dbus-hash.c: finish implementation and write unit
1305 * configure.in: add --enable-tests to enable unit tests
1307 * dbus/dbus-test.c: test program to run unit tests
1308 for all files in dbus/*, initially runs a test for
1311 * dbus/dbus-internals.h: file to hold some internal utility stuff
1313 2002-11-22 Havoc Pennington <hp@redhat.com>
1315 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
1316 "ported" away from Tcl
1318 * dbus/dbus-types.h: header for types such as dbus_bool_t
1320 2002-11-22 Havoc Pennington <hp@redhat.com>
1322 * dbus/dbus.h: fixups for doc warnings
1324 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
1326 (QUIET): make it quiet so we can see warnings
1328 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
1330 2002-11-22 Havoc Pennington <hp@redhat.com>
1332 * Makefile.am: include "Doxyfile" target in all-local
1334 * configure.in: generate the Doxyfile
1336 * Doxyfile.in: move Doxyfile here, so we can use
1337 configure to generate a Doxyfile with the right
1340 2002-11-22 Havoc Pennington <hp@redhat.com>
1342 * dbus/dbus-message.c: move inline docs into .c file
1344 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
1345 so all docs are under doc/
1346 (MAN_EXTENSION): generate man pages. Use extension
1347 ".3dbus" which matches ".3qt" on my system,
1348 I guess this is OK, I don't know really.
1349 (FILE_PATTERNS): look for .c files not .h, makes sense
1352 2002-11-22 Havoc Pennington <hp@pobox.com>
1354 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
1355 because any app can be a server, and any app can be a client,
1356 the bus is a special kind of server.
1358 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
1360 * Doxyfile : adding. Still needs Makefile rules to be generated
1361 automatically (just run "doxygen" in the toplevel dir for now to
1364 * dbus/dbus-message.h : Adding sample docs (javadoc since
1365 resembles gtk-doc a little more)
1367 * dbus/dbus.h : Adding sample docs
1369 2002-11-21 Havoc Pennington <hp@redhat.com>
1371 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
1372 so we can allow ourselves to include files directly,
1373 instead of having to use dbus.h
1375 * dbus/dbus.h: fill in
1377 * dbus/dbus-message.h: sketch out a sample header file.
1378 Include griping if you include it directly instead of
1381 * dbus/dbus-macros.h: new file with macros for extern "C",
1382 TRUE/FALSE, NULL, etc.
1384 * doc/file-boilerplate.c: put include guards in here
1386 2002-11-21 Havoc Pennington <hp@redhat.com>
1388 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
1390 * COPYING: include the GPL as well, and license code
1391 under both AFL and GPL.
1393 2002-11-21 Havoc Pennington <hp@redhat.com>
1395 * acconfig.h: get rid of this
1397 * autogen.sh (run_configure): add --no-configure option
1399 * configure.in: remove AC_ARG_PROGRAM to make
1400 autoconf complain less. add AC_PREREQ.
1401 add AC_DEFINE third arg.
1403 2002-11-21 Anders Carlsson <andersca@codefactory.se>
1406 Fix references so we can distcheck.
1408 2002-11-21 Havoc Pennington <hp@redhat.com>
1410 * Initial module creation