1 2003-01-31 Havoc Pennington <hp@pobox.com>
3 * doc/dbus-specification.sgml: fully specify the header. Add
4 flags and major protocol version, and change header/body len to
7 * dbus/dbus-message-builder.c (append_saved_length): append length
10 * dbus/dbus-message.c (dbus_message_create_header): change header
11 length and body length to unsigned. Add the new fields from the
13 (_dbus_message_loader_return_buffer): unsigned header/body len
15 2003-01-30 Havoc Pennington <hp@pobox.com>
17 * dbus/dbus-auth.c: rework to use only REJECTED, no
20 * doc/dbus-sasl-profile.txt: drop MECHANISMS and just
21 use REJECTED, suggested by Mark McLoughlin
23 2003-01-30 Havoc Pennington <hp@pobox.com>
25 * dbus/dbus-server.c (dbus_server_listen): @todo about how we need
26 a better way to report errors here. e.g. "unix address lacks
27 path" or something. also "no such file" when the path doesn't
30 * dbus/dbus-address.c (dbus_address_entries_free): add @todo about
32 (dbus_parse_address): add @todo about documenting address format,
33 and allowing , and ; to be escaped
35 2003-01-30 Anders Carlsson <andersca@codefactory.se>
40 * dbus/dbus-address.c: (dbus_address_entry_free),
41 (dbus_address_entries_free), (create_entry),
42 (dbus_address_entry_get_method), (dbus_address_entry_get_value),
43 (dbus_parse_address), (_dbus_address_test):
44 * dbus/dbus-address.h:
45 New files for dealing with address parsing.
47 * dbus/dbus-connection.c:
48 Document timeout functions.
50 * dbus/dbus-message.c:
51 Document dbus_message_new_from_message.
53 * dbus/dbus-server-debug.c:
56 * dbus/dbus-server.c: (dbus_server_listen):
57 Parse address and use correct server implementation.
59 * dbus/dbus-string.c: (_dbus_string_find_to), (_dbus_string_test):
61 New function with test.
63 * dbus/dbus-test.c: (dbus_internal_symbol_do_not_use_run_tests):
67 * dbus/dbus-transport-debug.c:
70 * dbus/dbus-transport.c: (_dbus_transport_open):
71 Parse address and use correct transport implementation.
73 2003-01-30 Havoc Pennington <hp@pobox.com>
75 * dbus/dbus-message.c: use message->byte_order instead of
76 DBUS_COMPILER_BYTE_ORDER throughout.
77 (dbus_message_create_header): pad header to align the
78 start of the body of the message to 8-byte boundary
80 * dbus/dbus-marshal.h: make all the demarshalers take const
83 * dbus/dbus-message.c (_dbus_message_loader_return_buffer):
84 validate message args here, so we don't have to do slow validation
85 later, and so we catch bad messages as they are incoming. Also add
86 better checks on header_len and body_len. Also fill in
89 * dbus/dbus-string.c (_dbus_string_validate_utf8): new (not
91 (_dbus_string_validate_nul): new function to check all-nul
93 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): rename
94 get_arg_end_pos and remove all validation
95 (_dbus_marshal_validate_arg): actually do validation here.
97 2003-01-29 Havoc Pennington <hp@pobox.com>
99 * dbus/dbus-message.c (check_message_handling): fix assertion
100 failure on set_client_serial
102 2003-01-28 Havoc Pennington <hp@pobox.com>
104 * dbus/dbus-server-debug.c: Add doc section comments
106 * dbus/dbus-transport-debug.c: add doc section comments
108 2003-01-28 Havoc Pennington <hp@redhat.com>
110 * dbus/dbus-string.c (_dbus_string_base64_decode): append bytes in
111 the reverse order from how I had it
112 (_dbus_string_base64_encode): reverse encoding order. I was
113 basically byteswapping everything during encoding.
115 2003-01-28 Anders Carlsson <andersca@codefactory.se>
117 * dbus/dbus-connection-internal.h:
118 * dbus/dbus-connection.c: (_dbus_connection_add_timeout),
119 (_dbus_connection_remove_timeout):
120 Add functions for adding and removing timeouts.
122 * dbus/dbus-message.c: (dbus_message_new_from_message):
123 Add new function that takes a message and creates an exact
124 copy of it, but with the refcount set to 1.
125 (check_message_handling):
128 * dbus/dbus-server-protected.h:
129 * dbus/dbus-server.c: (_dbus_server_init_base),
130 (_dbus_server_finalize_base), (_dbus_server_add_timeout),
131 (dbus_server_set_timeout_functions):
132 (_dbus_server_remove_timeout):
133 New functions so that a server can add and remove timeouts.
135 (dbus_server_listen):
136 Add commented out call to dbus_server_debug_new.
138 * dbus/dbus-timeout.c: (_dbus_timeout_new):
139 Actually set the handler, doh.
141 * dbus/dbus-transport.c: (_dbus_transport_open):
142 Add commented out call to dbus_transport_debug_client_new.
145 Add dbus-transport-debug.[ch] and dbus-server-debug.[ch]
147 2003-01-28 Havoc Pennington <hp@pobox.com>
149 * dbus/dbus-message.c (check_message_handling): function to check
150 on the loaded message, iterates over it etc.
152 2003-01-28 Havoc Pennington <hp@pobox.com>
154 * test/Makefile.am (dist-hook): fix make distdir
156 * dbus/Makefile.am (TESTS_ENVIRONMENT): fix make check
158 2003-01-27 Havoc Pennington <hp@pobox.com>
160 * dbus/dbus-mempool.c (time_for_size): replace printf with
163 * dbus/dbus-message-builder.c (_dbus_message_data_load): allow
164 empty lines; fix the SAVE_LENGTH stuff to be
165 START_LENGTH/END_LENGTH so it actually works; couple other
168 * test/Makefile.am (dist-hook): add dist-hook for .message files
170 * dbus/dbus-string.c (DBUS_STRING_COPY_PREAMBLE): source of a copy
171 can be constant or locked.
172 (_dbus_string_free): allow freeing a const string as
175 * dbus/dbus-sysdeps.c (_dbus_concat_dir_and_file): utility
177 * dbus/dbus-test-main.c (main): take an argument which is the
178 directory containing test data
180 * dbus/dbus-message.c (_dbus_message_test): pass a test_data_dir
181 argument to this and load all the messages in test/data/
182 checking that they can be loaded or not loaded as appropriate.
184 2003-01-27 Anders Carlsson <andersca@codefactory.se>
186 * bus/dispatch.c: (bus_dispatch_message_handler):
187 Dispatch messages sent to services.
189 * bus/driver.c: (bus_driver_send_service_deleted),
190 (bus_driver_send_service_created), (bus_driver_send_service_lost),
191 (bus_driver_send_service_acquired):
192 Add helper functions for sending service related messages.
194 (bus_driver_send_welcome_message):
195 Send HELLO_REPLY instead of WELCOME.
197 (bus_driver_handle_list_services):
198 Send LIST_SERVICES_REPLY instead of SERVICES.
200 (bus_driver_handle_own_service),
201 (bus_driver_handle_service_exists):
202 New message handlers.
204 (bus_driver_handle_message):
205 Invoke new message handlers.
207 (bus_driver_remove_connection):
208 Don't remove any services here since that's done automatically
209 by bus_service_remove_owner now.
212 New function signatures.
214 * bus/services.c: (bus_service_add_owner):
215 Send ServiceAcquired message if we're the only primary owner.
217 (bus_service_remove_owner):
218 Send ServiceAcquired/ServiceLost messages.
220 (bus_service_set_prohibit_replacement),
221 (bus_service_get_prohibit_replacement):
222 Functions for setting prohibit replacement.
224 (bus_service_has_owner):
225 New function that checks if a connection is in the owner queue of
229 Add new function signatures.
231 * dbus/dbus-list.c: (_dbus_list_test):
232 Add tests for _dbus_list_remove_last and traversing the list backwards.
235 Fix a typo in _dbus_list_get_prev_link, if we're at the first element we can't
236 go any further, so return NULL then.
238 * dbus/dbus-protocol.h:
239 Add new messages, service flags and service replies.
241 2003-01-26 Havoc Pennington <hp@pobox.com>
243 * dbus/dbus-message-builder.c: implement, completely untested.
245 * test/data/*: add data to be used in testing.
246 ".message" files are our simple loadable text format.
247 ".message-raw" will be binary dumps of messages.
249 * dbus/dbus-string.c (_dbus_string_starts_with_c_str): new
251 2003-01-26 Havoc Pennington <hp@pobox.com>
253 * dbus/dbus-sysdeps.c (_dbus_file_get_contents): new function
255 * dbus/dbus-errors.c (dbus_result_to_string): add
258 * dbus/dbus-message-builder.c: new file, will contain code to load
259 up messages from files. Not implemented yet.
261 2003-01-26 Havoc Pennington <hp@pobox.com>
263 * dbus/dbus-message.c (dbus_message_set_sender): support deleting
264 the sender by setting to NULL
266 2003-01-26 Havoc Pennington <hp@pobox.com>
268 The unit tests pass, but otherwise untested. If it breaks, the
269 tests should have been better. ;-)
271 * bus/driver.c (bus_driver_handle_hello): return if we disconnect
274 * dbus/dbus-message.c: redo everything so we maintain
275 message->header as the only copy of the various fields.
276 This avoids the possibility of out-of-memory in some cases,
277 for example dbus_message_lock() can't run out of memory anymore,
278 and avoids extra copying. Figured I may as well go ahead and do
279 this since it was busted for dbus_message_lock to not return
280 failure on OOM, and dbus_message_write_header was totally
281 unchecked for OOM. Also fixed some random other bugs.
283 * dbus/dbus-marshal.c (_dbus_marshal_get_field_end_pos): verify
284 that strings are nul-terminated. Also, end_pos can be equal
285 to string length just not greater than, I think.
286 (_dbus_marshal_set_int32): new function
287 (_dbus_marshal_set_uint32): new function
288 (_dbus_marshal_set_string): new function
290 * dbus/dbus-connection.c (_dbus_connection_new_for_transport): fix
291 a warning, init timeout_list to NULL
292 (dbus_connection_send_message): don't use uninitialized variable
295 * dbus/dbus-string.c (_dbus_string_replace_len): new function
297 2003-01-26 Anders Carlsson <andersca@codefactory.se>
299 * bus/driver.c: (bus_driver_handle_hello),
300 (bus_driver_send_welcome_message):
303 2003-01-26 Anders Carlsson <andersca@codefactory.se>
305 * dbus/dbus-auth.c: (process_auth), (_dbus_auth_unref):
306 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
307 (dbus_connection_unref):
308 * dbus/dbus-marshal.c: (_dbus_marshal_test):
309 * dbus/dbus-message.c: (dbus_message_unref),
312 (dbus_message_get_fields):
313 Remove debugging printout.
315 (_dbus_message_loader_return_buffer):
316 Don't store the header string.
318 (_dbus_message_test):
321 2003-01-26 Richard Hult <rhult@codefactory.se>
323 * glib/dbus-gmain.c (dbus_connection_dispatch): Traverse a copy of
324 the file descriptor list, since it can change under us.
326 2003-01-25 Anders Carlsson <andersca@codefactory.se>
328 * glib/dbus-gmain.c: (dbus_connection_prepare),
329 (dbus_connection_check), (dbus_connection_dispatch), (add_watch),
330 (remove_watch), (dbus_connection_hookup_with_g_main):
331 Rewrite the glib handling to use its own GSource instead of a
332 GIOChannel so we can catch messages put in the queue while waiting
335 2003-01-25 Anders Carlsson <andersca@codefactory.se>
338 * bus/connection.c: (connection_disconnect_handler),
339 (connection_watch_callback), (bus_connection_setup):
340 * bus/dispatch.c: (send_one_message),
341 (bus_dispatch_broadcast_message), (bus_dispatch_message_handler),
342 (bus_dispatch_add_connection), (bus_dispatch_remove_connection):
344 * bus/driver.c: (bus_driver_send_service_deleted),
345 (bus_driver_send_service_created), (bus_driver_handle_hello),
346 (bus_driver_send_welcome_message),
347 (bus_driver_handle_list_services), (bus_driver_remove_connection),
348 (bus_driver_handle_message):
350 Refactor code, put the message dispatching in its own file. Use
351 _DBUS_HANDLE_OOM. Also send ServiceDeleted messages when a client
354 2003-01-25 Anders Carlsson <andersca@codefactory.se>
356 * dbus/dbus-internals.h:
357 Add _DBUS_HANDLE_OOM macro, it doesn't do anything currently.
359 * dbus/dbus-message.c: (dbus_message_get_sender):
360 * dbus/dbus-message.h:
361 Implement dbus_message_get_sender.
363 * dbus/dbus-protocol.h:
364 Add message and service defines.
366 2003-01-25 Anders Carlsson <andersca@codefactory.se>
368 * dbus/dbus-connection.c: (dbus_connection_send_message):
369 * dbus/dbus-message-internal.h:
370 * dbus/dbus-message.c: (_dbus_message_get_client_serial),
371 (dbus_message_write_header):
372 Remove _dbus_messag_unlock and don't set the client serial on a
373 message if one already exists.
375 2003-01-24 Havoc Pennington <hp@pobox.com>
377 * dbus/dbus-list.c (alloc_link): put a thread lock on the global
380 * bus/driver.c (bus_driver_handle_list_services): fix a leak
383 2003-01-25 Anders Carlsson <andersca@codefactory.se>
385 * dbus/dbus-list.c: (alloc_link), (free_link):
386 Use a memory pool for the links.
388 2003-01-25 Anders Carlsson <andersca@codefactory.se>
390 * bus/connection.c: (bus_connection_foreach):
392 Add new bus_connection_foreach function.
394 * bus/driver.c: (send_one_message), (bus_driver_broadcast_message):
395 Add function that broadcasts a message to all clients.
397 (bus_driver_send_service_created), (bus_driver_handle_hello),
398 (bus_driver_send_welcome_message),
399 (bus_driver_handle_list_services), (bus_driver_message_handler):
400 Implement functions that take care of listing services, and notifying
401 clients when new services are created.
403 * bus/services.c: (bus_services_list):
405 Add new function that returns an array of strings with the currently
410 Update copyright year.
412 2003-01-25 Anders Carlsson <andersca@codefactory.se>
414 * dbus/dbus-connection.c: (dbus_connection_send_message):
415 Unlock the message in case it was sent earlier.
417 (dbus_connection_send_message_with_reply_and_block):
418 Remove the reply message from the list.
420 * dbus/dbus-marshal.c: (_dbus_demarshal_string_array):
421 Set array_len and new_pos correctly.
423 (_dbus_marshal_test):
426 * dbus/dbus-message-internal.h:
427 * dbus/dbus-message.c: (_dbus_message_get_reply_serial):
428 New function that returns the reply serial.
430 (_dbus_message_unlock):
431 New function that unlocks a message and resets its header.
433 (dbus_message_append_string_array),
434 (dbus_message_get_fields_valist),
435 (dbus_message_iter_get_field_type),
436 (dbus_message_iter_get_string_array),
437 (dbus_message_get_fields),
438 (dbus_message_append_fields_valist):
439 Handle string arrays.
441 (dbus_message_set_sender):
442 Make this function public since the bus daemon needs it.
444 (decode_header_data):
445 Set the reply serial to -1 initially.
447 * dbus/dbus-message.h:
448 Add dbus_message_set_sender.
450 2003-01-24 Havoc Pennington <hp@pobox.com>
452 * doc/dbus-specification.sgml: add some stuff
454 2003-01-22 Havoc Pennington <hp@pobox.com>
456 * doc/dbus-specification.sgml: Start to document the protocol.
458 2003-01-22 Havoc Pennington <hp@pobox.com>
460 * dbus/dbus-connection.c
461 (dbus_connection_send_message_with_reply_and_block): add some @todo
463 * bus/driver.c (bus_driver_add_connection): add a FIXME about memleak
465 2003-01-21 Havoc Pennington <hp@pobox.com>
467 (patch untested because can't compile)
469 * bus/driver.c (create_unique_client_name): make this function
470 never recycle client names. Also, caller should initialize
473 * dbus/dbus-sysdeps.c (_dbus_get_current_time): new function
475 2003-01-21 Anders Carlsson <andersca@codefactory.se>
477 * dbus/dbus-marshal.c: (_dbus_marshal_double),
478 (_dbus_marshal_int32), (_dbus_marshal_uint32),
479 (_dbus_marshal_int32_array), (_dbus_marshal_uint32_array),
480 (_dbus_marshal_double_array), (_dbus_marshal_string_array),
481 (_dbus_demarshal_int32_array), (_dbus_demarshal_uint32_array),
482 (_dbus_demarshal_double_array), (_dbus_demarshal_string_array),
483 (_dbus_marshal_get_field_end_pos), (_dbus_marshal_test):
484 * dbus/dbus-marshal.h:
485 * dbus/dbus-protocol.h:
486 Add support for marshalling and demarshalling integer, double
489 2003-01-21 Anders Carlsson <andersca@codefactory.se>
494 * bus/connection.c: (connection_disconnect_handler):
495 Remove the connection from the bus driver's list.
497 (connection_watch_callback): Dispatch messages.
499 (free_connection_data): Free connection name.
501 (bus_connection_setup): Add connection to the bus driver's list.
502 (bus_connection_remove_owned_service):
503 (bus_connection_set_name), (bus_connection_get_name):
504 Add functions for setting and getting the connection's name.
507 Add function headers.
509 * bus/driver.c: (create_unique_client_name),
510 (bus_driver_handle_hello_message),
511 (bus_driver_send_welcome_message), (bus_driver_message_handler),
512 (bus_driver_add_connection), (bus_driver_remove_connection):
515 * bus/services.c: (bus_service_free):
517 New file that handles communication and registreation with the bus
520 2003-01-21 Anders Carlsson <andersca@codefactory.se>
522 * dbus/dbus-connection.c: (dbus_connection_send_message):
523 Add a new client_serial parameter.
525 (dbus_connection_send_message_with_reply):
526 Remove a @todo since we've implemented the blocking function.
528 (dbus_connection_send_message_with_reply_and_block):
529 New function that sends a message and waits for a reply and
530 then returns the reply.
532 * dbus/dbus-connection.h:
535 * dbus/dbus-errors.c: (dbus_result_to_string):
536 * dbus/dbus-errors.h:
539 * dbus/dbus-message-internal.h:
540 * dbus/dbus-message.c: (_dbus_message_get_reply_serial),
541 (_dbus_message_set_sender), (dbus_message_write_header),
542 (dbus_message_new_reply), (decode_header_data),
543 (_dbus_message_loader_return_buffer), (_dbus_message_test):
544 * dbus/dbus-message.h:
545 Add new functions that set the reply serial and sender.
546 Also marshal and demarshal them correctly and add test.
548 * dbus/dbus-protocol.h:
549 Add new DBUS_MESSAGE_TYPE_SENDER.
552 * glib/dbus-gmain.c: (watch_callback), (free_callback_data),
553 (add_watch), (remove_watch), (add_timeout), (remove_timeout),
554 (dbus_connection_hookup_with_g_main):
555 * glib/test-dbus-glib.c: (main):
556 Rewrite to use GIOChannel and remove the GSource crack.
558 * test/echo-client.c: (main):
559 * test/watch.c: (check_messages):
560 Update for changed APIs
562 2003-01-19 Anders Carlsson <andersca@codefactory.se>
564 * dbus/Makefile.am: Add dbus-timeout.[cħ]
566 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport):
567 Create a DBusTimeoutList.
568 (dbus_connection_set_timeout_functions): Add new function to
569 set timeout callbacks
571 * dbus/dbus-connection.h: Add public DBusTimeout API.
573 * dbus/dbus-message.c: (dbus_message_get_service):
574 * dbus/dbus-message.h: New function.
576 * dbus/dbus-server.c: Fix small doc typo.
578 * dbus/dbus-timeout.[ch]: New files for mainloop timeouts.
580 2003-01-19 Anders Carlsson <andersca@codefactory.se>
582 * dbus/dbus-string.c (_dbus_string_move_len): Don't delete all
583 of the string, just as long as specified.
585 2003-01-19 Havoc Pennington <hp@pobox.com>
587 * dbus/dbus-connection.c (dbus_connection_get_is_authenticated):
590 * dbus/dbus-server.c (dbus_server_set_max_connections)
591 (dbus_server_get_max_connections, dbus_server_get_n_connections):
592 keep track of current number of connections, and add API for
593 setting a max (but haven't implemented enforcing the max yet)
595 2003-01-18 Havoc Pennington <hp@pobox.com>
597 * dbus/dbus-transport-unix.c (unix_do_iteration): only do the
598 reading/writing if read_watch != NULL or write_watch != NULL.
600 * dbus/dbus-message.c (_dbus_message_loader_return_buffer): fix
601 the message loader code to actually load message->header and
602 message->body into the newly-created message.
604 * dbus/dbus-transport-unix.c (check_write_watch): fix a mem leak
607 * dbus/dbus-connection.c (dbus_connection_set_max_message_size)
608 (dbus_connection_get_max_message_size)
609 (dbus_connection_set_max_live_messages_size)
610 (dbus_connection_get_max_live_messages_size): implement some
611 resource limitation functions
613 * dbus/dbus-resources.c: new file implementing some of the
614 resource limits stuff
616 * dbus/dbus-message.c (dbus_message_iter_get_byte_array): add
617 missing docs, add @todo to handle OOM etc.
619 * dbus/dbus-marshal.c (_dbus_demarshal_byte_array): add missing
622 2003-01-18 Havoc Pennington <hp@pobox.com>
624 * dbus/dbus-connection.c (dbus_connection_unref): disconnect the
625 connection if it hasn't been already.
627 * dbus/dbus-connection.h: kill off the idea of an ErrorFunction,
628 replace with DisconnectFunction.
630 2003-01-18 Havoc Pennington <hp@pobox.com>
632 Building --disable-verbose-mode --disable-asserts --disable-tests
633 cuts the library from 112K to 45K or so
635 * configure.in: check for varargs macro support,
636 add --enable-verbose-mode, --enable-asserts.
638 * dbus/dbus-internals.h (_dbus_assert): support
640 (_dbus_verbose): support DBUS_ENABLE_VERBOSE_MODE
642 2003-01-18 Havoc Pennington <hp@pobox.com>
644 * dbus/dbus-test.c: include config.h so that tests actually run
646 * dbus/dbus-string.c: add assertions that stuff is 8-byte aligned,
647 so the failure mode when that assumption fails will be plenty
650 2003-01-18 Havoc Pennington <hp@pobox.com>
652 * configure.in: default --enable-tests to $USE_MAINTAINER_MODE
654 * dbus/Makefile.am: fix it up so dubs-test-main.c is included in
657 * test/Makefile.am: don't use special variable "TESTS" for echo-*
658 since we don't want to use those in make check
660 2003-01-15 Havoc Pennington <hp@redhat.com>
666 2003-01-15 Havoc Pennington <hp@redhat.com>
668 * test/Makefile.am: fix so that test source code ends up in the
669 distribution on make distcheck
671 2003-01-15 Havoc Pennington <hp@redhat.com>
677 2003-01-15 Havoc Pennington <hp@redhat.com>
679 * dbus/dbus-test.c (dbus_internal_symbol_do_not_use_run_tests):
680 fix build when --disable-tests
682 * Makefile.am (EXTRA_DIST): put HACKING in here
684 * HACKING: document procedure for making a tarball release.
686 2003-01-14 Anders Carlsson <andersca@codefactory.se>
688 * bus/connection.c: (connection_error_handler),
689 (bus_connection_setup):
690 * bus/main.c: (main):
691 Make sure that the DBusConnectionData struct is NULLed
692 out to prevent a segfault.
694 * dbus/dbus-errors.c: (dbus_result_to_string):
695 * dbus/dbus-errors.h:
696 * dbus/dbus-message.c: (dbus_message_get_fields),
697 (dbus_message_get_fields_valist), (_dbus_message_test):
698 * dbus/dbus-message.h:
699 Make dbus_message_get_fields return a result code so we can
700 track invalid fields as well as oom.
702 2003-01-11 Havoc Pennington <hp@pobox.com>
704 * configure.in: change --enable-test/--enable-ansi action-if-given
705 to enable_foo=$enableval instead of enable_foo=yes
707 2003-01-08 Havoc Pennington <hp@pobox.com>
709 * dbus/dbus-string.c (_dbus_string_align_length): new function
711 * dbus/dbus-test-main.c: move main() for test app here
713 (dbus_internal_symbol_do_not_use_run_tests): we have to export a
714 symbol to run tests, because dbus-test isn't in the main
717 Code review nitpicks.
719 * dbus/dbus-message.c (dbus_message_write_header): add newlines
720 for people with narrow emacs ;-). Assert client_serial was filled
721 in. Assert message->name != NULL.
722 (dbus_message_append_fields): have "first_field_type" arg separate
723 from va list, needed for C++ binding that also uses varargs IIRC
724 and helps with type safety
725 (dbus_message_new): add @todo about using DBusString to store
726 service/name internally
727 (dbus_message_new): don't leak ->service and ->name on OOM later
729 (dbus_message_unref): free the service name
730 (dbus_message_get_fields): same change to varargs
731 i.e. first_field_type
732 (_dbus_message_loader_return_buffer): assert that the message data
733 is aligned (if not it's a bug in our code). Put in verbose griping
734 about why we set corrupted = TRUE.
735 (decode_header_data): add FIXME that char* is evil. Was going to
736 add FIXME about evil locale-specific string.h strncmp, but just
737 switched to wacky string-as-uint32 optimization. Move check for
738 "no room for field name" above get_const_data_len() to avoid
739 assertion failure in get_const_data_len if we have trailing 2
740 bytes or the like. Check for service and name fields being
741 provided twice. Don't leak service/name on error. Require field
742 names to be aligned to 4 bytes.
744 * dbus/dbus-marshal.c: move byte swap stuff to header
745 (_dbus_pack_int32): uscore-prefix
746 (_dbus_unpack_int32): uscore-prefix
747 (_dbus_unpack_uint32): export
748 (_dbus_demarshal_string): add @todo complaining about use of
750 (_dbus_marshal_get_field_end_pos): add @todo about bad error
751 handling allowing corrupt data to go unchecked
753 2003-01-08 Havoc Pennington <hp@redhat.com>
755 * dbus/dbus-transport-unix.c (unix_do_iteration): add read/write
756 to the select() as needed for authentication. (should be using
757 _dbus_poll() not select, but for another day)
759 * dbus/dbus.h: include dbus/dbus-protocol.h
761 2003-01-08 Anders Carlsson <andersca@codefactory.se>
763 * dbus/Makefile.am (dbusinclude_HEADERS): Install
766 2003-01-08 Anders Carlsson <andersca@codefactory.se>
768 * dbus/dbus-internals.c: (_dbus_type_to_string):
769 New function that returns a string describing a type.
771 * dbus/dbus-marshal.c: (_dbus_demarshal_byte_array):
772 * dbus/dbus-marshal.h:
773 * dbus/dbus-message.c: (dbus_message_get_fields_valist),
774 (dbus_message_iter_get_field_type), (dbus_message_iter_get_double),
775 (dbus_message_iter_get_byte_array):
776 * dbus/dbus-message.h:
777 Add new convenience functions for appending and getting message fields.
778 Also add demarshalling routines for byte arrays.
780 2003-01-07 Anders Carlsson <andersca@codefactory.se>
782 * dbus/dbus-connection-internal.h:
783 * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
784 (_dbus_connection_get_next_client_serial),
785 (dbus_connection_send_message):
786 * dbus/dbus-internals.h:
787 * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
788 (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
789 (_dbus_marshal_uint32), (_dbus_demarshal_double),
790 (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
791 (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
792 (_dbus_verbose_bytes), (_dbus_marshal_test):
793 * dbus/dbus-marshal.h:
794 * dbus/dbus-message-internal.h:
795 * dbus/dbus-message.c: (_dbus_message_set_client_serial),
796 (dbus_message_write_header), (_dbus_message_lock),
797 (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
798 (dbus_message_get_name), (dbus_message_append_int32),
799 (dbus_message_append_uint32), (dbus_message_append_double),
800 (dbus_message_append_string), (dbus_message_append_byte_array),
801 (dbus_message_get_fields_iter), (dbus_message_iter_ref),
802 (dbus_message_iter_unref), (dbus_message_iter_has_next),
803 (dbus_message_iter_next), (dbus_message_iter_get_field_type),
804 (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
805 (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
806 (decode_header_data), (_dbus_message_loader_return_buffer),
807 (message_iter_test), (_dbus_message_test):
808 * dbus/dbus-message.h:
809 * dbus/dbus-protocol.h:
810 * dbus/dbus-test.c: (main):
812 * glib/test-dbus-glib.c: (message_handler), (main):
813 * test/echo-client.c: (main):
814 * test/watch.c: (check_messages):
815 Make messages sendable and receivable for real.
817 2003-01-07 Anders Carlsson <andersca@codefactory.se>
819 * dbus/dbus-marshal.c: (_dbus_marshal_double),
820 (_dbus_marshal_string), (_dbus_marshal_byte_array):
821 * dbus/dbus-message.c: (dbus_message_append_int32),
822 (dbus_message_append_uint32), (dbus_message_append_double),
823 (dbus_message_append_string), (dbus_message_append_byte_array):
824 Handle OOM restoration.
826 2003-01-07 Anders Carlsson <andersca@codefactory.se>
828 * dbus/dbus-marshal.c: (_dbus_marshal_string),
829 (_dbus_demarshal_string), (_dbus_marshal_test):
830 * dbus/dbus-marshal.h:
831 * dbus/dbus-message.c: (dbus_message_get_name),
832 Document these functions.
834 (dbus_message_append_int32), (dbus_message_append_uint32),
835 (dbus_message_append_double), (dbus_message_append_string),
836 (dbus_message_append_byte_array):
837 * dbus/dbus-message.h:
838 Add functions for adding message fields of different types.
840 * dbus/dbus-protocol.h:
841 Add the different types.
843 2003-01-05 Havoc Pennington <hp@pobox.com>
845 * bus/connection.c: implement routines for handling connections,
846 first thing is keeping a list of owned services on each connection
847 and setting up watches etc.
849 * bus/services.c: implement a mapping from service names to lists
852 * dbus/dbus-hash.c: add DBUS_HASH_POINTER
854 * dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
855 to use static mutexes for global data
857 * dbus/dbus-connection.c (dbus_connection_set_data): add new
858 collection of functions to set/get application-specific data
859 on the DBusConnection.
861 2003-01-04 Havoc Pennington <hp@pobox.com>
863 * dbus/dbus-sysdeps.c (_dbus_sleep_milliseconds): new function
864 (_dbus_poll): new function
866 * dbus/dbus-internals.h (_DBUS_STRUCT_OFFSET): new macro
869 * bus/loop.c: initial code for the daemon main loop
871 2003-01-04 Havoc Pennington <hp@pobox.com>
873 * test/watch.c (error_handler): make it safe if the error handler
874 is called multiple times (if we s/error handler/disconnect
875 handler/ we should just guarantee it's called only once)
877 * dbus/dbus-transport.c (_dbus_transport_disconnect): call the
878 error handler on disconnect (it's quite possible we should
879 just change the error handler to a "disconnect handler," I'm
880 not sure we have any other meaningful errors)
882 * configure.in: check for getpwnam_r
884 * dbus/dbus-transport.c, dbus/dbus-transport-unix.c,
885 dbus/dbus-auth.c: add credentials support, add EXTERNAL auth
886 mechanism as in SASL spec, using socket credentials
888 * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): new function
889 (_dbus_send_credentials_unix_socket): new function
891 * dbus/dbus-sysdeps.c (_dbus_accept_unix_socket): rename just
893 (_dbus_write): only check errno if <0 returned
894 (_dbus_write_two): ditto
896 2003-01-02 Anders Carlsson <andersca@codefactory.se>
898 * dbus/dbus-marshal.c: (_dbus_marshal_utf8_string),
899 (_dbus_marshal_byte_array), (_dbus_demarshal_utf8_string),
900 (_dbus_marshal_test):
901 * dbus/dbus-marshal.h:
902 Add _dbus_marshal_byte_array and rename _dbus_marshal_string
903 to _dbus_marshal_utf8_string. Also fix some tests.
905 2002-12-28 Harri Porten <porten@kde.org>
907 * configure.in: added check for C++ compiler and a very cheesy
908 check for the Qt integration
910 * Makefile.am (SUBDIRS): compile qt subdir if support is enabled
912 * qt/Makefile.am: added
914 * qt/.cvsignore: added
916 * qt/dbus-qthread.cc, qt/dbus-qthread.cpp: renamed former to
917 latter, added #ifdef QT_THREAD_SUPPORT guard.
919 * dbus/Makefile.am: added missing headers for make dist
921 2002-12-28 Kristian Rietveld <kris@gtk.org>
923 * dbus/Makefile.am: fixup export-symbols-regex.
925 2002-12-27 Anders Carlsson <andersca@codefactory.se>
927 * acinclude.m4: Add this file and put the
928 PKG_CHECK_MODULE macro in it.
930 2002-12-27 Anders Carlsson <andersca@codefactory.se>
932 * dbus/dbus-marshal.c: (_dbus_marshal_string),
933 (_dbus_demarshal_double), (_dbus_demarshal_int32),
934 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
935 (_dbus_marshal_test):
936 Make the demarshalling routines align the pos argument.
937 Add string marshalling tests and fix the obvious bugs
940 2002-12-26 Havoc Pennington <hp@pobox.com>
942 * dbus/dbus-auth.c: fixes fixes fixes
944 * dbus/dbus-transport-unix.c: wire up support for
945 encoding/decoding data on the wire
947 * dbus/dbus-auth.c (_dbus_auth_encode_data)
948 (_dbus_auth_decode_data): append to target string
949 instead of nuking it.
951 2002-12-26 Havoc Pennington <hp@pobox.com>
953 * dbus/dbus-marshal.h (DBUS_COMPILER_BYTE_ORDER): #ifdef
954 WORDS_BIGENDIAN then compiler byte order is DBUS_BIG_ENDIAN,
957 * dbus/dbus-marshal.c: Add macros to do int swapping in-place and
958 avoid swap_bytes() overhead (ignoring possible assembly stuff for
959 now). Main point is because I wanted unpack_uint32 to implement
961 (_dbus_verbose_bytes): new function
963 * dbus/dbus-string.c (_dbus_string_validate_ascii): new function
965 * dbus/dbus-message.c (_dbus_message_loader_get_is_corrupted): add
966 mechanism to handle a corrupt message stream
967 (_dbus_message_loader_new): fix preallocation to only prealloc,
970 * dbus/dbus-string.c (_dbus_string_skip_blank): fix this function
971 (_dbus_string_test): enhance tests for copy/move and fix the
974 * dbus/dbus-transport-unix.c: Hold references in more places to
975 avoid reentrancy problems
977 * dbus/dbus-transport.c: ditto
979 * dbus/dbus-connection.c (dbus_connection_dispatch_message): don't
980 leak reference count in no-message case
982 * test/watch.c (do_mainloop): handle adding/removing watches
983 during iteration over the watches. Also, ref the connection/server
984 stored on a watch, so we don't try to mangle a destroyed one.
986 * dbus/dbus-transport-unix.c (do_authentication): perform
989 * dbus/dbus-auth.c (get_state): add a state
990 AUTHENTICATED_WITH_UNUSED_BYTES and return it if required
991 (_dbus_auth_get_unused_bytes): append the unused bytes
992 to the passed in string, rather than prepend
994 * dbus/dbus-transport.c (_dbus_transport_init_base): create
995 the auth conversation DBusAuth
997 * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd)
998 (_dbus_transport_new_for_domain_socket): when creating a
999 transport, pass in whether it's a client-side or server-side
1000 transport so we know which DBusAuth to create
1002 2002-12-03 Havoc Pennington <hp@pobox.com>
1004 * dbus/dbus-transport-unix.c (unix_finalize): finalize base
1005 _after_ finalizing the derived members
1006 (unix_connection_set): unref watch if we fail to add it
1008 * dbus/dbus-connection.c (dbus_connection_unref): delete the
1009 transport first, so that the connection owned by the
1010 transport will be valid as the transport finalizes.
1012 * dbus/dbus-transport-unix.c (unix_finalize): free the write_watch
1013 if necessary, and remove watches from the connection.
1015 * dbus/dbus-watch.c (_dbus_watch_list_free): improve a comment
1017 2002-12-26 Anders Carlsson <andersca@codefactory.se>
1019 * dbus/dbus-marshal.c: (_dbus_marshal_string),
1020 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1021 (_dbus_demarshal_uint32), (_dbus_demarshal_string),
1022 (_dbus_marshal_test):
1023 * dbus/dbus-marshal.h:
1024 Add string marshal functions and have the demarshal functions
1025 return the new position.
1027 2002-12-25 Havoc Pennington <hp@pobox.com>
1029 * doc/dbus-sasl-profile.txt: docs on the authentication protocol,
1030 it is a simple protocol that just maps directly to SASL.
1032 * dbus/dbus-auth.h, dbus/dbus-auth.c: authentication protocol
1033 initial implementation, not actually used yet.
1035 * dbus/dbus-string.c (_dbus_string_find): new function
1036 (_dbus_string_equal): new function
1037 (_dbus_string_base64_encode): new function
1038 (_dbus_string_base64_decode): new function
1040 2002-12-25 Anders Carlsson <andersca@codefactory.se>
1043 * dbus/dbus-marshal.c: (swap_bytes), (_dbus_marshal_double),
1044 (_dbus_marshal_int32), (_dbus_marshal_uint32),
1045 (_dbus_demarshal_double), (_dbus_demarshal_int32),
1046 (_dbus_demarshal_uint32), (_dbus_marshal_test):
1047 * dbus/dbus-marshal.h:
1048 * dbus/dbus-protocol.h:
1049 * dbus/dbus-test.c: (main):
1051 Add un-optimized marshalling/demarshalling routines.
1053 2002-12-25 Harri Porten <porten@kde.org>
1055 * qt/dbus-qt.h: adjusted ctor and getter to KDE/Qt conventions
1057 2002-12-24 Zack Rusin <zack@kde.org>
1059 * qt/dbus-qthread.cc: adding - integrates QMutex into Dbus
1060 * qt/dbus-qt.h: skeleton with two sample implemenatation of the
1063 2002-12-24 Havoc Pennington <hp@pobox.com>
1065 * glib/dbus-gthread.c: fix include
1067 * glib/dbus-glib.h: rename DBusMessageHandler for now.
1068 I think glib API needs to change, though, as you don't
1069 want to use DBusMessageFunction, you want to use the
1070 DBusMessageHandler object. Probably
1071 dbus_connection_open_with_g_main_loop()
1072 and dbus_connection_setup_g_main_loop() or something like that
1073 (but think of better names...) that just create a connection
1074 that has watch/timeout functions etc. already set up.
1076 * dbus/dbus-connection.c
1077 (dbus_connection_send_message_with_reply): new function just to
1078 show how the message handler helps us deal with replies.
1080 * dbus/dbus-list.c (_dbus_list_remove_last): new function
1082 * dbus/dbus-string.c (_dbus_string_test): free a string that
1085 * dbus/dbus-hash.c: use memory pools for the hash entries
1086 (rebuild_table): be more paranoid about overflow, and
1087 shrink table when we can
1088 (_dbus_hash_test): reduce number of sprintfs and write
1089 valid C89. Add tests for case where we grow and then
1090 shrink the hash table.
1092 * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
1094 * dbus/dbus-connection.c (dbus_connection_register_handler)
1095 (dbus_connection_unregister_handler): new functions
1097 * dbus/dbus-message.c (dbus_message_get_name): new
1099 * dbus/dbus-list.c: fix docs typo
1101 * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
1102 an object representing a handler for messages.
1104 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1107 * glib/dbus-gthread.c: (dbus_gthread_init):
1108 Don't use the gdbus prefix for public functions.
1110 2002-12-16 Anders Carlsson <andersca@codefactory.se>
1114 Add GLib checks and fixup .pc files
1118 * glib/dbus-gmain.c: (gdbus_connection_prepare),
1119 (gdbus_connection_check), (gdbus_connection_dispatch),
1120 (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
1121 (dbus_connection_gsource_new):
1122 * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
1123 (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
1124 * glib/test-dbus-glib.c: (message_handler), (main):
1127 2002-12-15 Harri Porten <porten@kde.org>
1129 * autogen.sh: check for libtoolize before attempting to use it
1131 * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval
1134 * .cvsignore: ignore more stamp files
1136 * dbus/dbus-watch.c (_dbus_watch_list_new): fixed doc error
1138 * test/Makefile.am: added -I$(top_srcdir) to be able to compile
1139 without make install.
1141 2002-12-15 Havoc Pennington <hp@pobox.com>
1143 * dbus/dbus-threads.c: add thread stubs that a higher library
1144 layer can fill in. e.g. the GLib wrapper might fill them in with
1145 GThread stuff. We still need to use this thread API to
1146 thread-safe-ize the library.
1148 2002-12-12 Havoc Pennington <hp@pobox.com>
1150 * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
1151 below new interfaces and include fewer system headers.
1153 * dbus/dbus-sysdeps.c (_dbus_read): new function
1154 (_dbus_write): new function
1155 (_dbus_write_two): new function
1156 (_dbus_connect_unix_socket): new function
1157 (_dbus_listen_unix_socket): new function
1159 * dbus/dbus-message-internal.h: change interfaces to use
1162 2002-12-11 Havoc Pennington <hp@pobox.com>
1164 * dbus/dbus-types.h: add dbus_unichar
1166 * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
1168 * dbus/dbus-connection.c (dbus_connection_send_message): return
1171 * dbus/dbus-transport.c: include dbus-watch.h
1173 * dbus/dbus-connection.c: include dbus-message-internal.h
1175 * HACKING: add file with coding guidelines stuff.
1177 * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
1178 handling here, for security purposes (as in vsftpd). Not actually
1179 using this class yet.
1181 * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
1182 system/libc usage here, as in vsftpd, for ease of auditing (and
1183 should also simplify portability). Haven't actually moved all the
1184 system/libc usage into here yet.
1186 2002-11-25 Havoc Pennington <hp@pobox.com>
1188 * dbus/dbus-internals.c (_dbus_verbose): fix to not
1189 always print the first verbose message.
1191 2002-11-24 Havoc Pennington <hp@pobox.com>
1193 * test/echo-client.c, test/echo-server.c: cheesy test
1196 * configure.in (AC_CHECK_FUNCS): check for writev
1198 * dbus/dbus-message.c (_dbus_message_get_network_data): new
1201 * dbus/dbus-list.c (_dbus_list_foreach): new function
1203 * dbus/dbus-internals.c (_dbus_verbose): new function
1205 * dbus/dbus-server.c, dbus/dbus-server.h: public object
1206 representing a server that listens for connections.
1208 * dbus/.cvsignore: create
1210 * dbus/dbus-errors.h, dbus/dbus-errors.c:
1211 public API for reporting errors
1213 * dbus/dbus-connection.h, dbus/dbus-connection.c:
1214 public object representing a connection that
1215 sends/receives messages. (Same object used for
1216 both client and server.)
1218 * dbus/dbus-transport.h, dbus/dbus-transport.c:
1219 Basic abstraction for different kinds of stream
1220 that we might read/write messages from.
1222 2002-11-23 Havoc Pennington <hp@pobox.com>
1224 * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN
1227 * dbus/dbus-test.c (main): add list test, and include
1228 dbus-test.h as intended
1230 * dbus/dbus-hash.c (_dbus_hash_table_remove_string)
1231 (_dbus_hash_table_remove_int): return value indicates
1232 whether the entry existed to remove
1234 * dbus/dbus-list.c: add linked list utility class,
1237 * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket
1240 2002-11-23 Havoc Pennington <hp@pobox.com>
1242 * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
1243 DBUS_END_DECLS to nothing, that should fix this once and for all
1245 * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
1247 * dbus/dbus-message.c, dbus/dbus-hash.c:
1248 add some missing @brief
1250 2002-11-23 Havoc Pennington <hp@pobox.com>
1252 * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS
1253 to avoid confusing Doxygen
1255 * dbus/dbus-hash.c: @} not }@
1257 * dbus/dbus-message.c (struct DBusMessage): split out
1260 2002-11-23 Havoc Pennington <hp@pobox.com>
1262 * configure.in: pile on more warning flags if using gcc
1264 * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have
1265 to document static functions
1267 * configure.in: add summary to end of configure so it
1268 looks nice and attractive
1270 * dbus/dbus-hash.c: finish implementation and write unit
1273 * configure.in: add --enable-tests to enable unit tests
1275 * dbus/dbus-test.c: test program to run unit tests
1276 for all files in dbus/*, initially runs a test for
1279 * dbus/dbus-internals.h: file to hold some internal utility stuff
1281 2002-11-22 Havoc Pennington <hp@redhat.com>
1283 * dbus/dbus-hash.c: copy in Tcl hash table, not yet
1284 "ported" away from Tcl
1286 * dbus/dbus-types.h: header for types such as dbus_bool_t
1288 2002-11-22 Havoc Pennington <hp@redhat.com>
1290 * dbus/dbus.h: fixups for doc warnings
1292 * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up
1294 (QUIET): make it quiet so we can see warnings
1296 * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
1298 2002-11-22 Havoc Pennington <hp@redhat.com>
1300 * Makefile.am: include "Doxyfile" target in all-local
1302 * configure.in: generate the Doxyfile
1304 * Doxyfile.in: move Doxyfile here, so we can use
1305 configure to generate a Doxyfile with the right
1308 2002-11-22 Havoc Pennington <hp@redhat.com>
1310 * dbus/dbus-message.c: move inline docs into .c file
1312 * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
1313 so all docs are under doc/
1314 (MAN_EXTENSION): generate man pages. Use extension
1315 ".3dbus" which matches ".3qt" on my system,
1316 I guess this is OK, I don't know really.
1317 (FILE_PATTERNS): look for .c files not .h, makes sense
1320 2002-11-22 Havoc Pennington <hp@pobox.com>
1322 * Makefile.am (SUBDIRS): rename subdir "server" to "bus"
1323 because any app can be a server, and any app can be a client,
1324 the bus is a special kind of server.
1326 Thu Nov 21 23:35:31 2002 Zack Rusin <zack@kde.org>
1328 * Doxyfile : adding. Still needs Makefile rules to be generated
1329 automatically (just run "doxygen" in the toplevel dir for now to
1332 * dbus/dbus-message.h : Adding sample docs (javadoc since
1333 resembles gtk-doc a little more)
1335 * dbus/dbus.h : Adding sample docs
1337 2002-11-21 Havoc Pennington <hp@redhat.com>
1339 * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION
1340 so we can allow ourselves to include files directly,
1341 instead of having to use dbus.h
1343 * dbus/dbus.h: fill in
1345 * dbus/dbus-message.h: sketch out a sample header file.
1346 Include griping if you include it directly instead of
1349 * dbus/dbus-macros.h: new file with macros for extern "C",
1350 TRUE/FALSE, NULL, etc.
1352 * doc/file-boilerplate.c: put include guards in here
1354 2002-11-21 Havoc Pennington <hp@redhat.com>
1356 * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
1358 * COPYING: include the GPL as well, and license code
1359 under both AFL and GPL.
1361 2002-11-21 Havoc Pennington <hp@redhat.com>
1363 * acconfig.h: get rid of this
1365 * autogen.sh (run_configure): add --no-configure option
1367 * configure.in: remove AC_ARG_PROGRAM to make
1368 autoconf complain less. add AC_PREREQ.
1369 add AC_DEFINE third arg.
1371 2002-11-21 Anders Carlsson <andersca@codefactory.se>
1374 Fix references so we can distcheck.
1376 2002-11-21 Havoc Pennington <hp@redhat.com>
1378 * Initial module creation