1 2003-01-31 Anders Carlsson <andersca@codefactory.se>
3 * dbus/dbus-address.c: (dbus_address_entry_free):
4 Free key and value lists.
6 * dbus/dbus-internals.c: (_dbus_type_to_string):
7 Add the types we didn't have.
9 * dbus/dbus-marshal.c: (_dbus_marshal_get_arg_end_pos),
10 (_dbus_marshal_validate_arg):
13 * dbus/dbus-message.c: (dbus_message_set_sender):
14 Remove todo about being able to set sender to NULL.
16 (dbus_message_set_is_error_reply),
17 (dbus_message_get_is_error_reply):
18 * dbus/dbus-message.h:
21 * dbus/dbus-protocol.h:
24 * test/data/valid-messages/opposite-endian.message:
27 2003-01-31 Havoc Pennington <hp@pobox.com>
29 * doc/dbus-specification.sgml: fully specify the header. Add
30 flags and major protocol version, and change header/body len to
33 * dbus/dbus-message-builder.c (append_saved_length): append length
36 * dbus/dbus-message.c (dbus_message_create_header): change header
37 length and body length to unsigned. Add the new fields from the
39 (_dbus_message_loader_return_buffer): unsigned header/body len
41 2003-01-30 Havoc Pennington <hp@pobox.com>
43 * dbus/dbus-auth.c: rework to use only REJECTED, no
46 * doc/dbus-sasl-profile.txt: drop MECHANISMS and just
47 use REJECTED, suggested by Mark McLoughlin
49 2003-01-30 Havoc Pennington <hp@pobox.com>
51 * dbus/dbus-server.c (dbus_server_listen): @todo about how we need
52 a better way to report errors here. e.g. "unix address lacks
53 path" or something. also "no such file" when the path doesn't
56 * dbus/dbus-address.c (dbus_address_entries_free): add @todo about
58 (dbus_parse_address): add @todo about documenting address format,
59 and allowing , and ; to be escaped
61 2003-01-30 Anders Carlsson <andersca@codefactory.se>
66 * dbus/dbus-address.c: (dbus_address_entry_free),
67 (dbus_address_entries_free), (create_entry),
68 (dbus_address_entry_get_method), (dbus_address_entry_get_value),
69 (dbus_parse_address), (_dbus_address_test):
70 * dbus/dbus-address.h:
71 New files for dealing with address parsing.
73 * dbus/dbus-connection.c:
74 Document timeout functions.
76 * dbus/dbus-message.c:
77 Document dbus_message_new_from_message.
79 * dbus/dbus-server-debug.c:
82 * dbus/dbus-server.c: (dbus_server_listen):
83 Parse address and use correct server implementation.
85 * dbus/dbus-string.c: (_dbus_string_find_to), (_dbus_string_test):
87 New function with test.
89 * dbus/dbus-test.c: (dbus_internal_symbol_do_not_use_run_tests):
93 * dbus/dbus-transport-debug.c:
96 * dbus/dbus-transport.c: (_dbus_transport_open):
97 Parse address and use correct transport implementation.
99 2003-01-30 Havoc Pennington <hp@pobox.com>
101 * dbus/dbus-message.c: use message->byte_order instead of
102 DBUS_COMPILER_BYTE_ORDER throughout.
103 (dbus_message_create_header): pad header to align the
104 start of the body of the message to 8-byte boundary
106 * dbus/dbus-marshal.h: make all the demarshalers take const
107 DBusString arguments.
109 * dbus/dbus-message.c (_dbus_message_loader_return_buffer):
110 validate message args here, so we don't have to do slow validation
111 later, and so we catch bad messages as they are incoming. Also add
112 better checks on header_len and body_len. Also fill in
115 * dbus/dbus-string.c (_dbus_string_validate_utf8): new (not
116 implemented properly)
117 (_dbus_string_validate_nul): new function to check all-nul
119 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): rename
120 get_arg_end_pos and remove all validation
121 (_dbus_marshal_validate_arg): actually do validation here.
123 2003-01-29 Havoc Pennington <hp@pobox.com>
125 * dbus/dbus-message.c (check_message_handling): fix assertion
126 failure on set_client_serial
128 2003-01-28 Havoc Pennington <hp@pobox.com>
130 * dbus/dbus-server-debug.c: Add doc section comments
132 * dbus/dbus-transport-debug.c: add doc section comments
134 2003-01-28 Havoc Pennington <hp@redhat.com>
136 * dbus/dbus-string.c (_dbus_string_base64_decode): append bytes in
137 the reverse order from how I had it
138 (_dbus_string_base64_encode): reverse encoding order. I was
139 basically byteswapping everything during encoding.
141 2003-01-28 Anders Carlsson <andersca@codefactory.se>
143 * dbus/dbus-connection-internal.h:
144 * dbus/dbus-connection.c: (_dbus_connection_add_timeout),
145 (_dbus_connection_remove_timeout):
146 Add functions for adding and removing timeouts.
148 * dbus/dbus-message.c: (dbus_message_new_from_message):
149 Add new function that takes a message and creates an exact
150 copy of it, but with the refcount set to 1.
151 (check_message_handling):
154 * dbus/dbus-server-protected.h:
155 * dbus/dbus-server.c: (_dbus_server_init_base),
156 (_dbus_server_finalize_base), (_dbus_server_add_timeout),
157 (dbus_server_set_timeout_functions):
158 (_dbus_server_remove_timeout):
159 New functions so that a server can add and remove timeouts.
161 (dbus_server_listen):
162 Add commented out call to dbus_server_debug_new.
164 * dbus/dbus-timeout.c: (_dbus_timeout_new):
165 Actually set the handler, doh.
167 * dbus/dbus-transport.c: (_dbus_transport_open):
168 Add commented out call to dbus_transport_debug_client_new.
171 Add dbus-transport-debug.[ch] and dbus-server-debug.[ch]
173 2003-01-28 Havoc Pennington <hp@pobox.com>
175 * dbus/dbus-message.c (check_message_handling): function to check
176 on the loaded message, iterates over it etc.
178 2003-01-28 Havoc Pennington <hp@pobox.com>
180 * test/Makefile.am (dist-hook): fix make distdir
182 * dbus/Makefile.am (TESTS_ENVIRONMENT): fix make check
184 2003-01-27 Havoc Pennington <hp@pobox.com>
186 * dbus/dbus-mempool.c (time_for_size): replace printf with
189 * dbus/dbus-message-builder.c (_dbus_message_data_load): allow
190 empty lines; fix the SAVE_LENGTH stuff to be
191 START_LENGTH/END_LENGTH so it actually works; couple other
194 * test/Makefile.am (dist-hook): add dist-hook for .message files
196 * dbus/dbus-string.c (DBUS_STRING_COPY_PREAMBLE): source of a copy
197 can be constant or locked.
198 (_dbus_string_free): allow freeing a const string as
201 * dbus/dbus-sysdeps.c (_dbus_concat_dir_and_file): utility
203 * dbus/dbus-test-main.c (main): take an argument which is the
204 directory containing test data
206 * dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir
207 argument to this and load all the messages in test/data/
208 checking that they can be loaded or not loaded as appropriate.
210 2003-01-27 Anders Carlsson <andersca@codefactory.se>
212 * bus/dispatch.c: (bus_dispatch_message_handler):
213 Dispatch messages sent to services.
215 * bus/driver.c: (bus_driver_send_service_deleted),
216 (bus_driver_send_service_created), (bus_driver_send_service_lost),
217 (bus_driver_send_service_acquired):
218 Add helper functions for sending service related messages.
220 (bus_driver_send_welcome_message):
221 Send HELLO_REPLY instead of WELCOME.
223 (bus_driver_handle_list_services):
224 Send LIST_SERVICES_REPLY instead of SERVICES.
226 (bus_driver_handle_own_service),
227 (bus_driver_handle_service_exists):
228 New message handlers.
230 (bus_driver_handle_message):
231 Invoke new message handlers.
233 (bus_driver_remove_connection):
234 Don't remove any services here since that's done automatically
235 by bus_service_remove_owner now.
238 New function signatures.
240 * bus/services.c: (bus_service_add_owner):
241 Send ServiceAcquired message if we're the only primary owner.
243 (bus_service_remove_owner):
244 Send ServiceAcquired/ServiceLost messages.
246 (bus_service_set_prohibit_replacement),
247 (bus_service_get_prohibit_replacement):
248 Functions for setting prohibit replacement.
250 (bus_service_has_owner):
251 New function that checks if a connection is in the owner queue of
255 Add new function signatures.
257 * dbus/dbus-list.c: (_dbus_list_test):
258 Add tests for _dbus_list_remove_last and traversing the list backwards.
261 Fix a typo in _dbus_list_get_prev_link, if we're at the first element we can't
262 go any further, so return NULL then.
264 * dbus/dbus-protocol.h:
265 Add new messages, service flags and service replies.
267 2003-01-26 Havoc Pennington <hp@pobox.com>
269 * dbus/dbus-message-builder.c: implement, completely untested.
271 * test/data/*: add data to be used in testing.
272 ".message" files are our simple loadable text format.
273 ".message-raw" will be binary dumps of messages.
275 * dbus/dbus-string.c (_dbus_string_starts_with_c_str): new
277 2003-01-26 Havoc Pennington <hp@pobox.com>
279 * dbus/dbus-sysdeps.c (_dbus_file_get_contents): new function
281 * dbus/dbus-errors.c (dbus_result_to_string): add
284 * dbus/dbus-message-builder.c: new file, will contain code to load
285 up messages from files. Not implemented yet.
287 2003-01-26 Havoc Pennington <hp@pobox.com>
289 * dbus/dbus-message.c (dbus_message_set_sender): support deleting
290 the sender by setting to NULL
292 2003-01-26 Havoc Pennington <hp@pobox.com>
294 The unit tests pass, but otherwise untested. If it breaks, the
295 tests should have been better. ;-)
297 * bus/driver.c (bus_driver_handle_hello): return if we disconnect
300 * dbus/dbus-message.c: redo everything so we maintain
301 message->header as the only copy of the various fields.
302 This avoids the possibility of out-of-memory in some cases,
303 for example dbus_message_lock() can't run out of memory anymore,
304 and avoids extra copying. Figured I may as well go ahead and do
305 this since it was busted for dbus_message_lock to not return
306 failure on OOM, and dbus_message_write_header was totally
307 unchecked for OOM. Also fixed some random other bugs.
309 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): verify
310 that strings are nul-terminated. Also, end_pos can be equal
311 to string length just not greater than, I think.
312 (_dbus_marshal_set_int32): new function
313 (_dbus_marshal_set_uint32): new function
314 (_dbus_marshal_set_string): new function
316 * dbus/dbus-connection.c (_dbus_connection_new_for_transport): fix
317 a warning, init timeout_list to NULL
318 (dbus_connection_send_message): don't use uninitialized variable
321 * dbus/dbus-string.c (_dbus_string_replace_len): new function
323 2003-01-26 Anders Carlsson <andersca@codefactory.se>
325 * bus/driver.c: (bus_driver_handle_hello),
326 (bus_driver_send_welcome_message):
329 2003-01-26 Anders Carlsson <andersca@codefactory.se>
331 * dbus/dbus-auth.c: (process_auth), (_dbus_auth_unref):
332 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
333 (dbus_connection_unref):
334 * dbus/dbus-marshal.c: (_dbus_marshal_test):
335 * dbus/dbus-message.c: (dbus_message_unref),
338 (dbus_message_get_fields):
339 Remove debugging printout.
341 (_dbus_message_loader_return_buffer):
342 Don't store the header string.
344 (_dbus_message_test):
347 2003-01-26 Richard Hult <rhult@codefactory.se>
349 * glib/dbus-gmain.c (dbus_connection_dispatch): Traverse a copy of
350 the file descriptor list, since it can change under us.
352 2003-01-25 Anders Carlsson <andersca@codefactory.se>
354 * glib/dbus-gmain.c: (dbus_connection_prepare),
355 (dbus_connection_check), (dbus_connection_dispatch), (add_watch),
356 (remove_watch), (dbus_connection_hookup_with_g_main):
357 Rewrite the glib handling to use its own GSource instead of a
358 GIOChannel so we can catch messages put in the queue while waiting
361 2003-01-25 Anders Carlsson <andersca@codefactory.se>
364 * bus/connection.c: (connection_disconnect_handler),
365 (connection_watch_callback), (bus_connection_setup):
366 * bus/dispatch.c: (send_one_message),
367 (bus_dispatch_broadcast_message), (bus_dispatch_message_handler),
368 (bus_dispatch_add_connection), (bus_dispatch_remove_connection):
370 * bus/driver.c: (bus_driver_send_service_deleted),
371 (bus_driver_send_service_created), (bus_driver_handle_hello),
372 (bus_driver_send_welcome_message),
373 (bus_driver_handle_list_services), (bus_driver_remove_connection),
374 (bus_driver_handle_message):
376 Refactor code, put the message dispatching in its own file. Use
377 _DBUS_HANDLE_OOM. Also send ServiceDeleted messages when a client
380 2003-01-25 Anders Carlsson <andersca@codefactory.se>
382 * dbus/dbus-internals.h:
383 Add _DBUS_HANDLE_OOM macro, it doesn't do anything currently.
385 * dbus/dbus-message.c: (dbus_message_get_sender):
386 * dbus/dbus-message.h:
387 Implement dbus_message_get_sender.
389 * dbus/dbus-protocol.h:
390 Add message and service defines.
392 2003-01-25 Anders Carlsson <andersca@codefactory.se>
394 * dbus/dbus-connection.c: (dbus_connection_send_message):
395 * dbus/dbus-message-internal.h:
396 * dbus/dbus-message.c: (_dbus_message_get_client_serial),
397 (dbus_message_write_header):
398 Remove _dbus_messag_unlock and don't set the client serial on a
399 message if one already exists.
401 2003-01-24 Havoc Pennington <hp@pobox.com>
403 * dbus/dbus-list.c (alloc_link): put a thread lock on the global
406 * bus/driver.c (bus_driver_handle_list_services): fix a leak
409 2003-01-25 Anders Carlsson <andersca@codefactory.se>
411 * dbus/dbus-list.c: (alloc_link), (free_link):
412 Use a memory pool for the links.
414 2003-01-25 Anders Carlsson <andersca@codefactory.se>
416 * bus/connection.c: (bus_connection_foreach):
418 Add new bus_connection_foreach function.
420 * bus/driver.c: (send_one_message), (bus_driver_broadcast_message):
421 Add function that broadcasts a message to all clients.
423 (bus_driver_send_service_created), (bus_driver_handle_hello),
424 (bus_driver_send_welcome_message),
425 (bus_driver_handle_list_services), (bus_driver_message_handler):
426 Implement functions that take care of listing services, and notifying
427 clients when new services are created.
429 * bus/services.c: (bus_services_list):
431 Add new function that returns an array of strings with the currently
436 Update copyright year.
438 2003-01-25 Anders Carlsson <andersca@codefactory.se>
440 * dbus/dbus-connection.c: (dbus_connection_send_message):
441 Unlock the message in case it was sent earlier.
443 (dbus_connection_send_message_with_reply_and_block):
444 Remove the reply message from the list.
446 * dbus/dbus-marshal.c: (_dbus_demarshal_string_array):
447 Set array_len and new_pos correctly.
449 (_dbus_marshal_test):
452 * dbus/dbus-message-internal.h:
453 * dbus/dbus-message.c: (_dbus_message_get_reply_serial):
454 New function that returns the reply serial.
456 (_dbus_message_unlock):
457 New function that unlocks a message and resets its header.
459 (dbus_message_append_string_array),
460 (dbus_message_get_fields_valist),
461 (dbus_message_iter_get_field_type),
462 (dbus_message_iter_get_string_array),
463 (dbus_message_get_fields),
464 (dbus_message_append_fields_valist):
465 Handle string arrays.
467 (dbus_message_set_sender):
468 Make this function public since the bus daemon needs it.
470 (decode_header_data):
471 Set the reply serial to -1 initially.
473 * dbus/dbus-message.h:
474 Add dbus_message_set_sender.
476 2003-01-24 Havoc Pennington <hp@pobox.com>
478 * doc/dbus-specification.sgml: add some stuff
480 2003-01-22 Havoc Pennington <hp@pobox.com>
482 * doc/dbus-specification.sgml: Start to document the protocol.
484 2003-01-22 Havoc Pennington <hp@pobox.com>
486 * dbus/dbus-connection.c
487 (dbus_connection_send_message_with_reply_and_block): add some @todo
489 * bus/driver.c (bus_driver_add_connection): add a FIXME about memleak
491 2003-01-21 Havoc Pennington <hp@pobox.com>
493 (patch untested because can't compile)
495 * bus/driver.c (create_unique_client_name): make this function
496 never recycle client names. Also, caller should initialize
499 * dbus/dbus-sysdeps.c (_dbus_get_current_time): new function
501 2003-01-21 Anders Carlsson <andersca@codefactory.se>
503 * dbus/dbus-marshal.c: (_dbus_marshal_double),
504 (_dbus_marshal_int32), (_dbus_marshal_uint32),
505 (_dbus_marshal_int32_array), (_dbus_marshal_uint32_array),
506 (_dbus_marshal_double_array), (_dbus_marshal_string_array),
507 (_dbus_demarshal_int32_array), (_dbus_demarshal_uint32_array),
508 (_dbus_demarshal_double_array), (_dbus_demarshal_string_array),
509 (_dbus_marshal_get_field_end_pos), (_dbus_marshal_test):
510 * dbus/dbus-marshal.h:
511 * dbus/dbus-protocol.h:
512 Add support for marshalling and demarshalling integer, double
515 2003-01-21 Anders Carlsson <andersca@codefactory.se>
520 * bus/connection.c: (connection_disconnect_handler):
521 Remove the connection from the bus driver's list.
523 (connection_watch_callback): Dispatch messages.
525 (free_connection_data): Free connection name.
527 (bus_connection_setup): Add connection to the bus driver's list.
528 (bus_connection_remove_owned_service):
529 (bus_connection_set_name), (bus_connection_get_name):
530 Add functions for setting and getting the connection's name.
533 Add function headers.
535 * bus/driver.c: (create_unique_client_name),
536 (bus_driver_handle_hello_message),
537 (bus_driver_send_welcome_message), (bus_driver_message_handler),
538 (bus_driver_add_connection), (bus_driver_remove_connection):
541 * bus/services.c: (bus_service_free):
543 New file that handles communication and registreation with the bus
546 2003-01-21 Anders Carlsson <andersca@codefactory.se>
548 * dbus/dbus-connection.c: (dbus_connection_send_message):
549 Add a new client_serial parameter.
551 (dbus_connection_send_message_with_reply):
552 Remove a @todo since we've implemented the blocking function.
554 (dbus_connection_send_message_with_reply_and_block):
555 New function that sends a message and waits for a reply and
556 then returns the reply.
558 * dbus/dbus-connection.h:
561 * dbus/dbus-errors.c: (dbus_result_to_string):
562 * dbus/dbus-errors.h:
565 * dbus/dbus-message-internal.h:
566 * dbus/dbus-message.c: (_dbus_message_get_reply_serial),
567 (_dbus_message_set_sender), (dbus_message_write_header),
568 (dbus_message_new_reply), (decode_header_data),
569 (_dbus_message_loader_return_buffer), (_dbus_message_test):
570 * dbus/dbus-message.h:
571 Add new functions that set the reply serial and sender.
572 Also marshal and demarshal them correctly and add test.
574 * dbus/dbus-protocol.h:
575 Add new DBUS_MESSAGE_TYPE_SENDER.
578 * glib/dbus-gmain.c: (watch_callback), (free_callback_data),
579 (add_watch), (remove_watch), (add_timeout), (remove_timeout),
580 (dbus_connection_hookup_with_g_main):
581 * glib/test-dbus-glib.c: (main):
582 Rewrite to use GIOChannel and remove the GSource crack.
584 * test/echo-client.c: (main):
585 * test/watch.c: (check_messages):
586 Update for changed APIs
588 2003-01-19 Anders Carlsson <andersca@codefactory.se>
590 * dbus/Makefile.am: Add dbus-timeout.[cħ]
592 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport):
593 Create a DBusTimeoutList.
594 (dbus_connection_set_timeout_functions): Add new function to
595 set timeout callbacks
597 * dbus/dbus-connection.h: Add public DBusTimeout API.
599 * dbus/dbus-message.c: (dbus_message_get_service):
600 * dbus/dbus-message.h: New function.
602 * dbus/dbus-server.c: Fix small doc typo.
604 * dbus/dbus-timeout.[ch]: New files for mainloop timeouts.
606 2003-01-19 Anders Carlsson <andersca@codefactory.se>
608 * dbus/dbus-string.c (_dbus_string_move_len): Don't delete all
609 of the string, just as long as specified.
611 2003-01-19 Havoc Pennington <hp@pobox.com>
613 * dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
616 * dbus/dbus-server.c (dbus_server_set_max_connections)
617 (dbus_server_get_max_connections, dbus_server_get_n_connections):
618 keep track of current number of connections, and add API for
619 setting a max (but haven't implemented enforcing the max yet)
621 2003-01-18 Havoc Pennington <hp@pobox.com>
623 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
624 reading/writing if read_watch != NULL or write_watch != NULL.
626 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
627 the message loader code to actually load message->header and
628 message->body into the newly-created message.
630 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
633 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
634 (dbus_connection_get_max_message_size)
635 (dbus_connection_set_max_live_messages_size)
636 (dbus_connection_get_max_live_messages_size): implement some
637 resource limitation functions
639 * dbus/dbus-resources.c: new file implementing some of the
640 resource limits stuff
642 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
643 missing docs, add @todo to handle OOM etc.
645 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
648 2003-01-18 Havoc Pennington <hp@pobox.com>
650 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
651 connection if it hasn't been already.
653 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
654 replace with DisconnectFunction.
656 2003-01-18 Havoc Pennington <hp@pobox.com>
658 Building --disable-verbose-mode --disable-asserts --disable-tests
659 cuts the library from 112K to 45K or so
661 * configure.in: check for varargs macro support,
662 add --enable-verbose-mode, --enable-asserts.
664 * dbus/dbus-internals.h (_dbus_assert): support
666 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
668 2003-01-18 Havoc Pennington <hp@pobox.com>
670 * dbus/dbus-test.c: include config.h so that tests actually run
672 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
673 so the failure mode when that assumption fails will be plenty
676 2003-01-18 Havoc Pennington <hp@pobox.com>
678 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
680 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
683 * test/Makefile.am: don't use special variable "TESTS" for echo-*
684 since we don't want to use those in make check
686 2003-01-15 Havoc Pennington <hp@redhat.com>
692 2003-01-15 Havoc Pennington <hp@redhat.com>
694 * test/Makefile.am: fix so that test source code ends up in the
695 distribution on make distcheck
697 2003-01-15 Havoc Pennington <hp@redhat.com>
703 2003-01-15 Havoc Pennington <hp@redhat.com>
705 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
706 fix build when --disable-tests
708 * Makefile.am (EXTRA_DIST): put HACKING in here
710 * HACKING: document procedure for making a tarball release.
712 2003-01-14 Anders Carlsson <andersca@codefactory.se>
714 * bus/connection.c: (connection_error_handler),
715 (bus_connection_setup):
716 * bus/main.c: (main):
717 Make sure that the DBusConnectionData struct is NULLed
718 out to prevent a segfault.
720 * dbus/dbus-errors.c: (dbus_result_to_string):
721 * dbus/dbus-errors.h:
722 * dbus/dbus-message.c: (dbus_message_get_fields),
723 (dbus_message_get_fields_valist), (_dbus_message_test):
724 * dbus/dbus-message.h:
725 Make dbus_message_get_fields return a result code so we can
726 track invalid fields as well as oom.
728 2003-01-11 Havoc Pennington <hp@pobox.com>
730 * configure.in: change --enable-test/--enable-ansi action-if-given
731 to enable_foo=$enableval instead of enable_foo=yes
733 2003-01-08 Havoc Pennington <hp@pobox.com>
735 * dbus/dbus-string.c (_dbus_string_align_length): new function
737 * dbus/dbus-test-main.c: move main() for test app here
739 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
740 symbol to run tests, because dbus-test isn't in the main
743 Code review nitpicks.
745 * dbus/dbus-message.c (dbus_message_write_header): add newlines
746 for people with narrow emacs ;-). Assert client_serial was filled
747 in. Assert message->name != NULL.
748 (dbus_message_append_fields): have "first_field_type" arg separate
749 from va list, needed for C++ binding that also uses varargs IIRC
750 and helps with type safety
751 (dbus_message_new): add @todo about using DBusString to store
752 service/name internally
753 (dbus_message_new): don't leak ->service and ->name on OOM later
755 (dbus_message_unref): free the service name
756 (dbus_message_get_fields): same change to varargs
757 i.e. first_field_type
758 (_dbus_message_loader_return_buffer): assert that the message data
759 is aligned (if not it's a bug in our code). Put in verbose griping
760 about why we set corrupted = TRUE.
761 (decode_header_data): add FIXME that char* is evil. Was going to
762 add FIXME about evil locale-specific string.h strncmp, but just
763 switched to wacky string-as-uint32 optimization. Move check for
764 "no room for field name" above get_const_data_len() to avoid
765 assertion failure in get_const_data_len if we have trailing 2
766 bytes or the like. Check for service and name fields being
767 provided twice. Don't leak service/name on error. Require field
768 names to be aligned to 4 bytes.
770 * dbus/dbus-marshal.c: move byte swap stuff to header
771 (_dbus_pack_int32): uscore-prefix
772 (_dbus_unpack_int32): uscore-prefix
773 (_dbus_unpack_uint32): export
774 (_dbus_demarshal_string): add @todo complaining about use of
776 (_dbus_marshal_get_field_end_pos): add @todo about bad error
777 handling allowing corrupt data to go unchecked
779 2003-01-08 Havoc Pennington <hp@redhat.com>
781 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
782 to the select() as needed for authentication. (should be using
783 _dbus_poll() not select, but for another day)
785 * dbus/dbus.h: include dbus/dbus-protocol.h
787 2003-01-08 Anders Carlsson <andersca@codefactory.se>
789 * dbus/Makefile.am (dbusinclude_HEADERS): Install
792 2003-01-08 Anders Carlsson <andersca@codefactory.se>
794 * dbus/dbus-internals.c: (_dbus_type_to_string):
795 New function that returns a string describing a type.
797 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
798 * dbus/dbus-marshal.h:
799 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
800 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
801 (dbus_message_iter_get_byte_array):
802 * dbus/dbus-message.h:
803 Add new convenience functions for appending and getting message fields.
804 Also add demarshalling routines for byte arrays.
806 2003-01-07 Anders Carlsson <andersca@codefactory.se>
808 * dbus/dbus-connection-internal.h:
809 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
810 (_dbus_connection_get_next_client_serial),
811 (dbus_connection_send_message):
812 * dbus/dbus-internals.h:
813 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
814 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
815 (_dbus_marshal_uint32), (_dbus_demarshal_double),
816 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
817 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
818 (_dbus_verbose_bytes), (_dbus_marshal_test):
819 * dbus/dbus-marshal.h:
820 * dbus/dbus-message-internal.h:
821 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
822 (dbus_message_write_header), (_dbus_message_lock),
823 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
824 (dbus_message_get_name), (dbus_message_append_int32),
825 (dbus_message_append_uint32), (dbus_message_append_double),
826 (dbus_message_append_string), (dbus_message_append_byte_array),
827 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
828 (dbus_message_iter_unref), (dbus_message_iter_has_next),
829 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
830 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
831 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
832 (decode_header_data), (_dbus_message_loader_return_buffer),
833 (message_iter_test), (_dbus_message_test):
834 * dbus/dbus-message.h:
835 * dbus/dbus-protocol.h:
836 * dbus/dbus-test.c: (main):
838 * glib/test-dbus-glib.c: (message_handler), (main):
839 * test/echo-client.c: (main):
840 * test/watch.c: (check_messages):
841 Make messages sendable and receivable for real.
843 2003-01-07 Anders Carlsson <andersca@codefactory.se>
845 * dbus/dbus-marshal.c: (_dbus_marshal_double),
846 (_dbus_marshal_string), (_dbus_marshal_byte_array):
847 * dbus/dbus-message.c: (dbus_message_append_int32),
848 (dbus_message_append_uint32), (dbus_message_append_double),
849 (dbus_message_append_string), (dbus_message_append_byte_array):
850 Handle OOM restoration.
852 2003-01-07 Anders Carlsson <andersca@codefactory.se>
854 * dbus/dbus-marshal.c: (_dbus_marshal_string),
855 (_dbus_demarshal_string), (_dbus_marshal_test):
856 * dbus/dbus-marshal.h:
857 * dbus/dbus-message.c: (dbus_message_get_name),
858 Document these functions.
860 (dbus_message_append_int32), (dbus_message_append_uint32),
861 (dbus_message_append_double), (dbus_message_append_string),
862 (dbus_message_append_byte_array):
863 * dbus/dbus-message.h:
864 Add functions for adding message fields of different types.
866 * dbus/dbus-protocol.h:
867 Add the different types.
869 2003-01-05 Havoc Pennington <hp@pobox.com>
871 * bus/connection.c: implement routines for handling connections,
872 first thing is keeping a list of owned services on each connection
873 and setting up watches etc.
875 * bus/services.c: implement a mapping from service names to lists
878 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
880 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
881 to use static mutexes for global data
883 * dbus/dbus-connection.c (dbus_connection_set_data): add new
884 collection of functions to set/get application-specific data
885 on the DBusConnection.
887 2003-01-04 Havoc Pennington <hp@pobox.com>
889 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
890 (_dbus_poll): new function
892 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
895 * bus/loop.c: initial code for the daemon main loop
897 2003-01-04 Havoc Pennington <hp@pobox.com>
899 * test/watch.c (error_handler): make it safe if the error handler
900 is called multiple times (if we s/error handler/disconnect
901 handler/ we should just guarantee it's called only once)
903 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
904 error handler on disconnect (it's quite possible we should
905 just change the error handler to a "disconnect handler," I'm
906 not sure we have any other meaningful errors)
908 * configure.in: check for getpwnam_r
910 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
911 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
912 mechanism as in SASL spec, using socket credentials
914 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
915 (_dbus_send_credentials_unix_socket): new function
917 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
919 (_dbus_write): only check errno if <0 returned
920 (_dbus_write_two): ditto
922 2003-01-02 Anders Carlsson <andersca@codefactory.se>
924 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
925 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
926 (_dbus_marshal_test):
927 * dbus/dbus-marshal.h:
928 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
929 to _dbus_marshal_utf8_string. Also fix some tests.
931 2002-12-28 Harri Porten <porten@kde.org>
933 * configure.in: added check for C++ compiler and a very cheesy
934 check for the Qt integration
936 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
938 * qt/Makefile.am: added
940 * qt/.cvsignore: added
942 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
943 latter, added #ifdef QT_THREAD_SUPPORT guard.
945 * dbus/Makefile.am: added missing headers for make dist
947 2002-12-28 Kristian Rietveld <kris@gtk.org>
949 * dbus/Makefile.am: fixup export-symbols-regex.
951 2002-12-27 Anders Carlsson <andersca@codefactory.se>
953 * acinclude.m4: Add this file and put the
954 PKG_CHECK_MODULE macro in it.
956 2002-12-27 Anders Carlsson <andersca@codefactory.se>
958 * dbus/dbus-marshal.c: (_dbus_marshal_string),
959 (_dbus_demarshal_double), (_dbus_demarshal_int32),
960 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
961 (_dbus_marshal_test):
962 Make the demarshalling routines align the pos argument.
963 Add string marshalling tests and fix the obvious bugs
966 2002-12-26 Havoc Pennington <hp@pobox.com>
968 * dbus/dbus-auth.c: fixes fixes fixes
970 * dbus/dbus-transport-unix.c: wire up support for
971 encoding/decoding data on the wire
973 * dbus/dbus-auth.c (_dbus_auth_encode_data)
974 (_dbus_auth_decode_data): append to target string
975 instead of nuking it.
977 2002-12-26 Havoc Pennington <hp@pobox.com>
979 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
980 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
983 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
984 avoid swap_bytes() overhead (ignoring possible assembly stuff for
985 now). Main point is because I wanted unpack_uint32 to implement
987 (_dbus_verbose_bytes): new function
989 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
991 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
992 mechanism to handle a corrupt message stream
993 (_dbus_message_loader_new): fix preallocation to only prealloc,
996 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
997 (_dbus_string_test): enhance tests for copy/move and fix the
1000 * dbus/dbus-transport-unix.c: Hold references in more places to
1001 avoid reentrancy problems
1003 * dbus/dbus-transport.c: ditto
1005 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
1006 leak reference count in no-message case
1008 * test/watch.c (do_mainloop): handle adding/removing watches
1009 during iteration over the watches. Also, ref the connection/server
1010 stored on a watch, so we don't try to mangle a destroyed one.
1012 * dbus/dbus-transport-unix.c (do_authentication): perform
1015 * dbus/dbus-auth.c (get_state): add a state
1016 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
1017 (_dbus_auth_get_unused_bytes): append the unused bytes
1018 to the passed in string, rather than prepend
1020 * dbus/dbus-transport.c (_dbus_transport_init_base): create
1021 the auth conversation DBusAuth
1023 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
1024 (_dbus_transport_new_for_domain_socket): when creating a
1025 transport, pass in whether it's a client-side or server-side
1026 transport so we know which DBusAuth to create
1028 2002-12-03 Havoc Pennington <hp@pobox.com>
1030 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
1031 _after_ finalizing the derived members
1032 (unix_connection_set): unref watch if we fail to add it
1034 * dbus/dbus-connection.c (dbus_connection_unref): delete the
1035 transport first, so that the connection owned by the
1036 transport will be valid as the transport finalizes.
1038 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
1039 if necessary, and remove watches from the connection.
1041 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
1043 2002-12-26 Anders Carlsson <andersca@codefactory.se>
1045 * dbus/dbus-marshal.c: (_dbus_marshal_string),
1046 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1047 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
1048 (_dbus_marshal_test):
1049 * dbus/dbus-marshal.h:
1050 Add string marshal functions and have the demarshal functions
1051 return the new position.
1053 2002-12-25 Havoc Pennington <hp@pobox.com>
1055 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
1056 it is a simple protocol that just maps directly to SASL.
1058 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
1059 initial implementation, not actually used yet.
1061 * dbus/dbus-string.c (_dbus_string_find): new function
1062 (_dbus_string_equal): new function
1063 (_dbus_string_base64_encode): new function
1064 (_dbus_string_base64_decode): new function
1066 2002-12-25 Anders Carlsson <andersca@codefactory.se>
1069 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
1070 (_dbus_marshal_int32), (_dbus_marshal_uint32),
1071 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1072 (_dbus_demarshal_uint32), (_dbus_marshal_test):
1073 * dbus/dbus-marshal.h:
1074 * dbus/dbus-protocol.h:
1075 * dbus/dbus-test.c: (main):
1077 Add un-optimized marshalling/demarshalling routines.
1079 2002-12-25 Harri Porten <porten@kde.org>
1081 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
1083 2002-12-24 Zack Rusin <zack@kde.org>
1085 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
1086 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
1089 2002-12-24 Havoc Pennington <hp@pobox.com>
1091 * glib/dbus-gthread.c: fix include
1093 * glib/dbus-glib.h: rename DBusMessageHandler for now.
1094 I think glib API needs to change, though, as you don't
1095 want to use DBusMessageFunction, you want to use the
1096 DBusMessageHandler object. Probably
1097 dbus_connection_open_with_g_main_loop()
1098 and dbus_connection_setup_g_main_loop() or something like that
1099 (but think of better names...) that just create a connection
1100 that has watch/timeout functions etc. already set up.
1102 * dbus/dbus-connection.c
1103 (dbus_connection_send_message_with_reply): new function just to
1104 show how the message handler helps us deal with replies.
1106 * dbus/dbus-list.c (_dbus_list_remove_last): new function
1108 * dbus/dbus-string.c (_dbus_string_test): free a string that
1111 * dbus/dbus-hash.c: use memory pools for the hash entries
1112 (rebuild_table): be more paranoid about overflow, and
1113 shrink table when we can
1114 (_dbus_hash_test): reduce number of sprintfs and write
1115 valid C89. Add tests for case where we grow and then
1116 shrink the hash table.
1118 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
1120 * dbus/dbus-connection.c (dbus_connection_register_handler)
1121 (dbus_connection_unregister_handler): new functions
1123 * dbus/dbus-message.c (dbus_message_get_name): new
1125 * dbus/dbus-list.c: fix docs typo
1127 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
1128 an object representing a handler for messages.
1130 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1133 * glib/dbus-gthread.c: (dbus_gthread_init):
1134 Don't use the gdbus prefix for public functions.
1136 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1140 Add GLib checks and fixup .pc files
1144 * glib/dbus-gmain.c: (gdbus_connection_prepare),
1145 (gdbus_connection_check), (gdbus_connection_dispatch),
1146 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
1147 (dbus_connection_gsource_new):
1148 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
1149 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
1150 * glib/test-dbus-glib.c: (message_handler), (main):
1153 2002-12-15 Harri Porten <porten@kde.org>
1155 * autogen.sh: check for libtoolize before attempting to use it
1157 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
1160 * .cvsignore: ignore more stamp files
1162 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
1164 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
1165 without make install.
1167 2002-12-15 Havoc Pennington <hp@pobox.com>
1169 * dbus/dbus-threads.c: add thread stubs that a higher library
1170 layer can fill in. e.g. the GLib wrapper might fill them in with
1171 GThread stuff. We still need to use this thread API to
1172 thread-safe-ize the library.
1174 2002-12-12 Havoc Pennington <hp@pobox.com>
1176 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
1177 below new interfaces and include fewer system headers.
1179 * dbus/dbus-sysdeps.c (_dbus_read): new function
1180 (_dbus_write): new function
1181 (_dbus_write_two): new function
1182 (_dbus_connect_unix_socket): new function
1183 (_dbus_listen_unix_socket): new function
1185 * dbus/dbus-message-internal.h: change interfaces to use
1188 2002-12-11 Havoc Pennington <hp@pobox.com>
1190 * dbus/dbus-types.h: add dbus_unichar
1192 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
1194 * dbus/dbus-connection.c (dbus_connection_send_message): return
1197 * dbus/dbus-transport.c: include dbus-watch.h
1199 * dbus/dbus-connection.c: include dbus-message-internal.h
1201 * HACKING: add file with coding guidelines stuff.
1203 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
1204 handling here, for security purposes (as in vsftpd). Not actually
1205 using this class yet.
1207 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
1208 system/libc usage here, as in vsftpd, for ease of auditing (and
1209 should also simplify portability). Haven't actually moved all the
1210 system/libc usage into here yet.
1212 2002-11-25 Havoc Pennington <hp@pobox.com>
1214 * dbus/dbus-internals.c (_dbus_verbose): fix to not
1215 always print the first verbose message.
1217 2002-11-24 Havoc Pennington <hp@pobox.com>
1219 * test/echo-client.c, test/echo-server.c: cheesy test
1222 * configure.in (AC_CHECK_FUNCS): check for writev
1224 * dbus/dbus-message.c (_dbus_message_get_network_data): new
1227 * dbus/dbus-list.c (_dbus_list_foreach): new function
1229 * dbus/dbus-internals.c (_dbus_verbose): new function
1231 * dbus/dbus-server.c, dbus/dbus-server.h: public object
1232 representing a server that listens for connections.
1234 * dbus/.cvsignore: create
1236 * dbus/dbus-errors.h, dbus/dbus-errors.c:
1237 public API for reporting errors
1239 * dbus/dbus-connection.h, dbus/dbus-connection.c:
1240 public object representing a connection that
1241 sends/receives messages. (Same object used for
1242 both client and server.)
1244 * dbus/dbus-transport.h, dbus/dbus-transport.c:
1245 Basic abstraction for different kinds of stream
1246 that we might read/write messages from.
1248 2002-11-23 Havoc Pennington <hp@pobox.com>
1250 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
1253 * dbus/dbus-test.c (main): add list test, and include
1254 dbus-test.h as intended
1256 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
1257 (_dbus_hash_table_remove_int): return value indicates
1258 whether the entry existed to remove
1260 * dbus/dbus-list.c: add linked list utility class,
1263 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
1266 2002-11-23 Havoc Pennington <hp@pobox.com>
1268 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
1269 DBUS_END_DECLS to nothing, that should fix this once and for all
1271 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
1273 * dbus/dbus-message.c, dbus/dbus-hash.c:
1274 add some missing @brief
1276 2002-11-23 Havoc Pennington <hp@pobox.com>
1278 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
1279 to avoid confusing Doxygen
1281 * dbus/dbus-hash.c: @} not }@
1283 * dbus/dbus-message.c (struct DBusMessage): split out
1286 2002-11-23 Havoc Pennington <hp@pobox.com>
1288 * configure.in: pile on more warning flags if using gcc
1290 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
1291 to document static functions
1293 * configure.in: add summary to end of configure so it
1294 looks nice and attractive
1296 * dbus/dbus-hash.c: finish implementation and write unit
1299 * configure.in: add --enable-tests to enable unit tests
1301 * dbus/dbus-test.c: test program to run unit tests
1302 for all files in dbus/*, initially runs a test for
1305 * dbus/dbus-internals.h: file to hold some internal utility stuff
1307 2002-11-22 Havoc Pennington <hp@redhat.com>
1309 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
1310 "ported" away from Tcl
1312 * dbus/dbus-types.h: header for types such as dbus_bool_t
1314 2002-11-22 Havoc Pennington <hp@redhat.com>
1316 * dbus/dbus.h: fixups for doc warnings
1318 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
1320 (QUIET): make it quiet so we can see warnings
1322 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
1324 2002-11-22 Havoc Pennington <hp@redhat.com>
1326 * Makefile.am: include "Doxyfile" target in all-local
1328 * configure.in: generate the Doxyfile
1330 * Doxyfile.in: move Doxyfile here, so we can use
1331 configure to generate a Doxyfile with the right
1334 2002-11-22 Havoc Pennington <hp@redhat.com>
1336 * dbus/dbus-message.c: move inline docs into .c file
1338 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
1339 so all docs are under doc/
1340 (MAN_EXTENSION): generate man pages. Use extension
1341 ".3dbus" which matches ".3qt" on my system,
1342 I guess this is OK, I don't know really.
1343 (FILE_PATTERNS): look for .c files not .h, makes sense
1346 2002-11-22 Havoc Pennington <hp@pobox.com>
1348 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
1349 because any app can be a server, and any app can be a client,
1350 the bus is a special kind of server.
1352 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
1354 * Doxyfile : adding. Still needs Makefile rules to be generated
1355 automatically (just run "doxygen" in the toplevel dir for now to
1358 * dbus/dbus-message.h : Adding sample docs (javadoc since
1359 resembles gtk-doc a little more)
1361 * dbus/dbus.h : Adding sample docs
1363 2002-11-21 Havoc Pennington <hp@redhat.com>
1365 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
1366 so we can allow ourselves to include files directly,
1367 instead of having to use dbus.h
1369 * dbus/dbus.h: fill in
1371 * dbus/dbus-message.h: sketch out a sample header file.
1372 Include griping if you include it directly instead of
1375 * dbus/dbus-macros.h: new file with macros for extern "C",
1376 TRUE/FALSE, NULL, etc.
1378 * doc/file-boilerplate.c: put include guards in here
1380 2002-11-21 Havoc Pennington <hp@redhat.com>
1382 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
1384 * COPYING: include the GPL as well, and license code
1385 under both AFL and GPL.
1387 2002-11-21 Havoc Pennington <hp@redhat.com>
1389 * acconfig.h: get rid of this
1391 * autogen.sh (run_configure): add --no-configure option
1393 * configure.in: remove AC_ARG_PROGRAM to make
1394 autoconf complain less. add AC_PREREQ.
1395 add AC_DEFINE third arg.
1397 2002-11-21 Anders Carlsson <andersca@codefactory.se>
1400 Fix references so we can distcheck.
1402 2002-11-21 Havoc Pennington <hp@redhat.com>
1404 * Initial module creation