1 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
3 * Split NEWS and ChangeLog into a .pre-1-0 file as per HACKING
4 We forgot to do this during the 1.0 release and it makes sense
5 now as we get ready to release the first 1.1.0 development tarball
7 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
9 * create directory test/data/valid-config-files/session.d so that
12 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
14 * INSTALL: remove dependancies for bindings since they no longer
17 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
19 * dbus/dbus-server-win.c,dbus/dbus-server-win.h: new file
20 with empty function _dbus_server_listen_platform_specific().
22 * dbus/dbus-server.c (listen_funcs): uses
23 _dbus_server_listen_platform_specific on any platform.
25 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
27 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting
28 user info from a domain controller isn't an error, the computer
29 may run in a non domain context.
31 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
33 * dbus/dbus-sysdeps-win.c (_dbus_full_duplex_pipe): fixed assertation.
35 2007-05-24 Simon McVittie <simon.mcvittie@collabora.co.uk>
37 * bus/config-parser.c (test_service_dir_matches): fixed ordering for unix.
39 * bus/config-parser.c (test_default_session_servicedirs): made allocation
40 of _progs platform independent.
42 2007-05-23 Havoc Pennington <hp@redhat.com>
44 * bus/Makefile.am (install-data-hook): create session.d
46 * bus/session.conf.in: add session.d for the session bus, so
47 security policy can be extended
49 2007-05-22 Ralf.Habacker <ralf.habacker@freenet.de>
51 * cmake/CMakeLists.txt: fixed creating of TEST_..._BINARY to make
52 bus-test able to find the binaries.
54 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
56 * acinclude.m4, configure.in: In recent autotools, ${datadir} is
57 defined in terms of ${datarootdir}, so EXPANDED_DATADIR needs to be
58 expanded recursively. Rather than fixing configure.in to do this, I
59 grabbed the AS_AC_EXPAND macro from autostars.sf.net, which seems to be
62 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
64 * update-dbus-docs.sh: Assorted improvements:
65 - Default user if $FDUSER is not set is the ssh default
66 (set in ~/.ssh/config or based on the local username), not a
68 - Temporary checkout directory is created securely (preventing symlink
69 attacks), if mktemp(1) is available
70 - Use make -C rather than cd && make && cd ..
72 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
74 * HACKING: Point to correct mailing list
76 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
78 * doc/dbus-specification.xml: explicitly specify that STRING cannot
79 contain embedded NULs.
81 2007-05-20 Ralf.Habacker <ralf.habacker@freenet.de>
83 * dbus/dbus-internal.c: fix inline problem on win32.
85 2007-05-20 Ralf.Habacker <ralf.habacker@freenet.de>
87 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not reaching
88 domain controller isn't an error, converted error message to verbose
91 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
93 * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): disabled
94 tests not running on wince.
96 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
98 * dbus/dbus-internals.c (_dbus_verbose_init): win32 requires 'varname='
99 to unset a environment variable.
101 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
103 * dbus/dbus-sysdeps.c (_dbus_setenv): win32 requires 'varname='
104 to unset a environment variable.
106 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
108 * bus/policy.c (bus_policy_create_client_policy):
109 win32 temporary fix until the userdb stuff is ported completly.
111 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
113 * dbus/dbus-server.c (listen_funcs):
114 _dbus_server_listen_platform_specific is empty on win32,
115 limited to unix only.
117 * dbus/dbus-server.c (valid_addresses): limit unix
118 only addresses to unix.
120 2007-05-18 Havoc Pennington <hp@redhat.com>
122 * doc/dbus-specification.xml: add a GetAll to the Properties
125 2007-05-17 Ralf.Habacker <ralf.habacker@freenet.de>
127 * bus\config-parser.c (test_default_session_servicedirs):
130 2007-05-17 Ralf.Habacker <ralf.habacker@freenet.de>
132 * configure.in: define constant DBUS_UNIX.
134 2007-05-14 Ralf Habacker <ralf.habacker@freenet.de>
136 * dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound):
137 compile fix for MS Platform SDK 6
138 patch from Michael Luschas <mluschas@gmail.com>
140 2007-05-10 John (J5) Palmieri <johnp@redhat.com>
142 * dbus-1.pc.in: add daemondir to pc file
143 patch from Brian Cameron <brian.cameron at sun.com>
145 2007-05-04 Simon McVittie <simon.mcvittie@collabora.co.uk>
147 * doc/dbus-specification.xml: mention the reserved o.fd.DBus.Local
148 interface and the corresponding /o/fd/DBus/Local object path;
149 describe them as reserved and forbid using them in a sent message,
150 mentioning that in the reference implementation this will cause the
151 connection to be dropped. Patch approved by Havoc.
153 2007-04-28 Ralf Habacker <ralf.habacker@freenet.de>
155 * cmake/: don't install test applications and service files,
156 moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt
158 2007-04-27 Havoc Pennington <hp@redhat.com>
160 * dbus/dbus-sysdeps-unix.c (_dbus_open_socket): fix #10781 from
161 Tobias Nygren, checking pointer to fd vs. 0 rather than checking
164 2007-04-26 Ralf Habacker <ralf.habacker@freenet.de>
166 * cmake/: added debug postfixes to debug exe's for
168 * dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error):
169 print error code in case no string message is available.
171 2007-04-06 Simon McVittie <simon.mcvittie@collabora.co.uk>
173 * dbus/dbus-message-util.c, dbus/dbus-message.c,
174 dbus/dbus-message.h: Add API to convert a DBusMessage to/from a
175 byte array. Patch from Dafydd Harries <dafydd.harries@collabora.co.uk>,
176 approved by Havoc Pennington.
178 2007-04-03 Timo Hoenig <thoenig@suse.de>
180 * dbus/dbus-address.c (dbus_parse_address): Do not accept zero-
182 * dbus/dbus-address.c (_dbus_address_test): Add test for zero-
185 2007-03-25 Ralf.Habacker <ralf.habacker@freenet.de>
187 * cmake/dbus/CMakeLists.txt: debug postfix also for mingw.
189 2007-03-16 Ralf.Habacker <ralf.habacker@freenet.de>
191 * cmake/modules/FindExpat.cmake: fix package detection on win32.
193 * README.win: update install instructions.
195 2007-03-16 Ralf.Habacker <ralf.habacker@freenet.de>
197 * dbus/dbus-sysdeps.h (_dbus_split_paths_and_append):
199 (_DBUS_PATH_SEPARATOR): new macro.
201 * dbus/dbus-sysdeps.c (_dbus_split_paths_and_append): merged
202 from dbus/dbus-sysdeps-unix.c and dbus/dbus-sysdeps-win.c.
204 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
206 * bus/config-parser.c, bus/policy.c,
207 bus/policy.h, bus/dbus-daemon.1.in,
208 bus/session.conf.in: added eavesdrop support
209 for replies - patch by olli.salli at collabora.co.uk
210 approved by Havoc Pennington.
212 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
214 * dbus\dbus-sysdeps-win-thread.c: renamed to
215 dbus-sysdeps-thread-win.c, it is a platform depending file
216 similar to dbus-sysdeps-pthread.c.
218 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
220 * cmake\doc\CMakeLists.txt: added prelimary xml doc
221 support, needs cmake Find script.
223 2007-03-14 Ralf.Habacker <ralf.habacker@freenet.de>
225 * cmake: add doxygen support
227 2007-03-14 Ralf.Habacker <ralf.habacker@freenet.de>
229 * cmake/config.h.cmake: WINCE fixes, defined DBUS_UNIX.
231 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
233 * dbus/dbus-sysdeps-util-win.c (dbus_become_daemon):
236 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
238 * dbus-win.patch: removed obsolate patches.
240 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
242 * dbus/dbus-sysdeps-win.c: added zero byte sending
243 and receiving after connection start up
245 2007-03-11 Havoc Pennington <hp@redhat.com>
247 * tools/dbus-launch.c (do_close_stderr): fix C89 problem and
250 * Mostly fix the DBusPipe mess.
251 - put line break after function return types
252 - put space before parens
253 - do not pass structs around by value
254 - don't use dbus_strerror after calling supposedly cross-platform
256 - don't name pipe variables "fd"
257 - abstract special fd numbers like -1 and 1
259 2007-03-12 Ralf Habacker <ralf.habacker@freenet.de>
261 * dbus/dbus-sysdeps-win.h, dbus/dbus-sysdeps-win.c,
262 dbus/dbus-sysdeps-util-win.c: renamed functions
263 _dbus_xxx_file() to _dbus_file_xxx() to reflect
264 struct name DBusFile.
266 2007-03-12 Ralf Habacker <ralf.habacker@freenet.de>
268 * dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon):
269 fix _dbus_pid_fd check.
271 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
273 * tools/dbus-print-message.c (print_message):
274 added printing of the reply serial to method returns and
275 errors, so you can actually figure out the message/reply
276 pairs - patch by olli.salli at collabora.co.uk.
278 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
280 * dbus-win.patch: removed committed patches.
282 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
284 * bus/bus.c, bus/bus.h, bus/main.c, bus/test.c,
285 dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-util-unix.c,
286 dbus/dbus-sysdeps-util-win.c, dbus/dbus-sysdeps-win.c,
287 dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx,
288 completed _dbus_pipe support.
290 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
292 * dbus/dbus-sysdeps.h (_dbus_listen_tcp_socket):
293 changed type or port to pointer, because the port is given back.
295 * dbus/dbus-server-socket.c (_dbus_server_new_for_tcp_socket):
296 implemented returning tcp port. Skipping port parameter
297 and non integer port values in config <listen> statement
300 * dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-win.c
301 (_dbus_listen_tcp_socket): return the real used tcp port.
303 * bus/dbus-daemon.1.in: added <listen> tcp examples
305 2007-03-09 Ralf Habacker <ralf.habacker@freenet.de>
307 * cmake/config.h.cmake: win32 msvc bug fix
309 2007-03-09 Ralf Habacker <ralf.habacker@freenet.de>
311 * cmake/config.h.cmake: fixed DBUS_WINxx defines,
312 using _WINCE does not work.
314 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
316 * dbus-win.patch: removed _dbus_write_pipe() patch, it is now
319 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
321 * bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h:
322 rename pipe related write() function calls to _dbus_write_pipe().
324 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
326 * dbus-win.patch: added bus/config-loader-libexpat.c patch,
327 uses DBUS_WIN for alls win32 related #ifdefs,
330 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
332 * dbus-win.patch: updated patch for bus/dispatch.c.
334 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
336 * dbus-win.patch: dbus-connection.c (dbus_connection_get_unix_user,
337 dbus_connection_get_unix_process_id): Let return them valid user id's,
338 otherwise bus-test fails. How to replace on win32 ?.
340 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir):
343 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
345 * dbus/dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error):
346 use dbus friendly error name.
347 (fill_win_user_info_homedir): print user name in error case too.
349 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
351 * cmake/ConfigureChecks.cmake: fixed socketpair check
353 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
355 * bus/dispatch.c: disabled segfault test on win32 for now
357 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
359 * configure.in, cmake/ConfigureChecks.cmake: added check
361 * test/test-segfault.c: only include setrlimit stuff only
364 2007-03-07 Ralf Habacker <ralf.habacker@freenet.de>
366 * test/test-segfault.c: unix compile fix.
367 * dbus-win.patch: removed obsolate patches.
369 2007-03-07 Ralf Habacker <ralf.habacker@freenet.de>
371 * bus/activation.c: removed obsolate include header.
372 * test/test-segfault.c: win32 compile fix, rlimit
373 isn't available on win32.
374 * dbus-win.patch: removed some more patches, they
375 are applied or obsolate
377 2007-03-06 Ralf Habacker <ralf.habacker@freenet.de>
379 * bus-win.patch: fixes unix listen problems, dbus-test
382 2007-03-06 Ralf Habacker <ralf.habacker@freenet.de>
384 * cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
385 cmake/CMakeLists.txt: win32 compile fix
387 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
389 * dbus-win.patch, README.win: added available win32
390 patches from windbus project (http://sf.net/projects/windbus)
392 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
394 * bus/activation.c: (bus_activation_activate_service):
395 fixed call to _dbus_spawn_async_with_babysitter().
397 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
399 * dbus/dbus-spawn.c,dbus/dbus-spawn.h (_dbus_spawn_async_with_babysitter):
400 added environment pointer as function parameter, used on win32.
402 * test/spawn-test.c: fixed call to above mentioned function.
404 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
406 * configure.in,test/test-sleep-forever.c,test/test-names.c:
407 added configure check for unistd.h.
409 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
411 * test/Makefile.am: fixed test data copy problem in
412 out of source build, when sources came from svn or cvs.
414 2007-03-03 Ralf Habacker <ralf.habacker@freenet.de>
416 * dbus/*-win.*,bus/*-win.*: added win32 platform related
417 files. These files are only added to the cmake build system.
418 The missing dbus-win.patch file will be added later.
420 2007-03-03 Ralf Habacker <ralf.habacker@freenet.de>
422 * cmake: new directory, contains cmake build support.
423 See http://www.cmake.org for more informations.
424 Currently only unix will be buildable because some
425 win32 required files are still missing.
427 2007-03-03 Thiago Macieira <thiago@kde.org>
429 * dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr
430 output and add it to the DBusError message we return.
432 * tools/dbus-launch.1:
433 * tools/dbus-launch.c: Add option --close-stderr to, well,
434 close stderr before starting dbus-daemon.
436 2007-01-31 Havoc Pennington <hp@redhat.com>
438 * bus/dbus-daemon.1.in: write a section in the man page on running
439 a test daemon for debugging purposes
441 2007-01-26 Havoc Pennington <hp@redhat.com>
443 * bus/session.conf.in: override all the default limits with much
444 higher limits on the session bus, there is no reason the session
445 bus should have low limits
447 * bus/config-parser.c (bus_config_parser_new): increase default
448 limits so they are less likely to be hit; in particular the max
449 replies per connection was way too low
451 2006-01-25 Simon McVittie <simon.mcvittie@collabora.co.uk>
453 * doc/dbus-tutorial.xml: Replace Python section of tutorial with
454 a pointer to the tutorial maintained as part of dbus-python
456 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
458 * dbus/dbus-sysdeps-unix.c: unix compile fix, moved
459 atomic_exchange_and_add() from dbus/dbus-sysdeps.c
460 to here, it's used by _dbus_atomic_inc() and _dbus_atomic_dec().
462 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
464 * tools/dbus-monitor.c: gettimeofday() is not available
465 on windows so we have to provide our own. It's taken from
466 lgpl'd kdewin32 package. - Patches from Christian Ehrlicher
468 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
470 * dbus/dbus-sysdeps-unix.c: moved _dbus_atomic_inc/dec()
471 from dbus/dbus-sysdeps.c, windows version of _dbus_atomic_inc/dec()
472 is in dbus-sysdeps-win.c (not in this patch).
474 * dbus/dbus-sysdeps.h: DBusAtomic::value is long on windows to fit
475 with InterlockedInc/Decrement.
476 - Patches from Christian Ehrlicher
478 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
480 * tools/dbus-send.c, tools/dbus-monitor.c: win32 compile fix.
482 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
484 * dbus/dbus-marshal-recursive.c (type DBusTypeReaderClass):
485 fix mispaced const statement. - Patch from Peter Kümmel
487 2006-12-19 Ray Strode <rstrode@redhat.com>
489 * bus/bus.c (process_config_every_time):
490 don't overwrite existing bus context activation object
491 until after we've checked that the new activation is
495 (signal_handler), (handle_reload_watch):
496 don't call exit() on failure, instead make do and keep
498 (close_reload_pipe): new function to turn off
499 hangup-causes-config-reload behavior if an unexpected
502 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
504 * dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
505 correctness fix. - Patch from Christian Ehrlicher
507 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
509 * dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
510 we should also use it. - Patch from Christian Ehrlicher
512 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
514 * dbus-sysdeps-util.c: added win32 related tests
516 2006-12-12 Ralf Habacker <ralf.habacker@freenet.de>
518 * dbus/dbus-string.c (_dbus_string_pop_line),
519 bus/desktop-file.c (parse_section_start,
520 parse_comment_or_blank,parse_key_value,): uses
521 _dbus_string_find_eol() to support platform independent eol style.
523 2006-12-12 Ralf Habacker <ralf.habacker@freenet.de>
525 * dbus/dbus-string.[ch] (_dbus_string_find_eol): new function.
526 * dbus/dbus-string-util.c (_dbus_string_test): added testcases for
527 _dbus_string_find_eol().
528 Approved by: Havoc Pennington.
530 2006-12-12 Tim Dijkstra <tim@famdijkstra.org>
532 * configure.in: Added switch to disable user_database caching.
534 * dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Add ifdefs to
535 be able disable user_dabase caching.
537 2006-12-12 Tim Dijkstra <tim@famdijkstra.org>
539 * bus/bus.c, bus/bus.h: Remove DBusUserDatabase from the BusContext
540 struct. It is unnecessary we have a global one already. Also remove
541 bus_context_get_user_database function, it is no longer needed.
542 Flush the global database on reload.
544 * dbus/dbus-userdb-util.c: Replace _dbus_user_database_get_groups
545 with _dbus_groups_from_uid. It no longer needs a DBusUserDatabase.
547 * dbus/dbus-userdb.c, dbus/dbus-userdb.h:
548 Add _dbus_user_database_flush_system.
549 Make more functions DBUS_USERDB_INCLUDES_PRIVATE.
550 Small unrelated change in _dbus_is_a_number: change
551 _dbus_string_parse_int to _dbus_string_parse_uint.
553 * bus/connection.c: Change call to _dbus_user_database_get_groups to
554 _dbus_groups_from_uid.
556 * bus/policy.c, bus/policy.h: Change call to
557 _dbus_user_database_get_groups to _dbus_groups_from_uid. Remove
558 DBusUserDatabase from bus_policy_allow_user prototype, it no longer
561 2006-12-12 John (J5) Palmieri <johnp@redhat.com>
563 * bus/signal.c: Fix match_rule_equal errata
564 (CVE-2006-6107 - Patch from Kimmo Hämäläinen
565 <kimmo.hamalainen@nokia.com>)
567 2006-11-19 Thiago Macieira <thiago@kde.org>
569 * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock,
570 _dbus_pthread_condvar_wait,
571 _dbus_pthread_condvar_wait_timeout): set pmutex->holder to
572 pthread_self() after coming back from a conditional variable
573 wait as well as in one codepath where it was forgotten.
574 Approved by: Havoc Pennington.
576 2006-11-17 Havoc Pennington <hp@redhat.com>
578 * update-dbus-docs.sh: allow setting fd.org username via env
579 variable. Make it run autogen with --enable-xml-docs=yes
580 --enable-doxygen-docs=yes so configure will fail if the required
583 2006-11-17 Havoc Pennington <hp@redhat.com>
585 * doc/dbus-faq.xml: minor FAQ tweaks
587 2006-11-14 Havoc Pennington <hp@redhat.com>
589 * dbus/dbus-misc.c, dbus/dbus-misc.h: Move
590 dbus_get_local_machine_id() to its own file, no substantive
591 changes. There are a couple other things we might want to add that
592 are "misc" so moving out of dbus-connection.[hc] which is big
595 2006-11-14 Havoc Pennington <hp@redhat.com>
597 * dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the
598 UUID had the timestamp last, but the implementation had it first;
599 move it to last since I think it's a tiny bit nicer (easier to
600 compare at a glance, faster to sort, less code), and will not
601 cause any practical compatibility problems. Also, always convert
602 the timestamp to big endian.
604 * doc/dbus-specification.xml: Clean up the docs on the UUID.
606 * tools/dbus-uuidgen.1: more prominently say it is not suitable
607 as a replacement for regular uuidgen/RFC4122.
609 2006-11-14 John (J5) Palmieri <johnp@redhat.com>
611 * dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have
612 the correct value so we don't assert when initalizing recursive threads
614 * test/name-test/test-thread-init.c: call dbus_threads_init_default
615 instead of _dbus_threads_init_debug since it is more of a real world