1 2007-07-24 Richard Hughes <richard@hughsie.com>
3 * doc/system-activation.txt:
4 Add design document for the system activation parts. I'll shortly be
5 committing many patches that add system activation using a setuid
6 launcher into CVS, so expect things to be broken for a few hours.
8 2007-07-19 Ralf Habacker <ralf.habacker@freenet.de>
10 * cmake/modules/FindKDEWIN.cmake: fixed comment
11 * cmake/modules/FindKDEWIN32.cmake: removed obsolate cmake module
13 2007-07-18 Havoc Pennington <hp@redhat.com>
15 * dbus/dbus-message.c (dbus_message_get_cached)
16 (dbus_message_cache_or_finalize): don't mess with message from
17 message cache outside of the cache lock. Bug #9164 from Jonathan
20 2007-07-13 Havoc Pennington <hp@redhat.com>
22 * Add indent-tabs-mode: nil to all file headers.
24 2007-07-12 Havoc Pennington <hp@redhat.com>
26 * dbus/dbus-sysdeps-util.c (_dbus_sysdeps_test): invert the test
27 for parsing hex as double to be sure it fails to work
29 * dbus/dbus-sysdeps.c (_dbus_string_parse_double): don't allow hex numbers.
31 2007-07-10 Havoc Pennington <hp@redhat.com>
33 * dbus/dbus-connection.c (struct DBusConnection): Fix from Olivier
34 Hochreutiner to avoid trying to protect individual bits in a word
35 with different locks (make dispatch_acquired and io_path_acquired
36 dbus_bool_t rather than bitfields)
38 2007-07-09 Ralf Habacker <ralf.habacker@freenet.de>
40 * dbus/dbus-sysdeps-win.c,dbus-sysdeps-win.h,dbus-sysdeps-win-util.c,
41 dbus-sysdeps-spawn-win.c: synced with windbus sources
43 2007-07-07 Ralf Habacker <ralf.habacker@freenet.de>
45 * dbus/dbus-sysdeps-win.c
46 (_dbus_getsid): remove unused jump label
47 (_dbus_read_credentials_socket): _dbus_string_init could fail,
49 (_dbus_get_working_dir, _dbus_init_working_dir): remove unused
52 2007-07-04 Ralf Habacker <ralf.habacker@freenet.de>
54 * cmake/modules/FindKDEWIN.cmake: search in <program files dir>\win32libs
55 for windows supplementary packages too
57 2007-06-30 Ralf Habacker <ralf.habacker@freenet.de>
59 * cmake/dbus/CMakeLists.txt: handle userdb as unix file
61 2007-06-30 Ralf Habacker <ralf.habacker@freenet.de>
63 * dbus/dbus-sysdeps-win.c,dbus/dbus-sysdeps-win.h: removed obsolate
66 2007-06-30 Ralf Habacker <ralf.habacker@freenet.de>
68 * dbus/dbus-sysdeps-win.c (_dbus_daemon_init): reduced compiler warnings
70 2007-06-23 Ralf Habacker <ralf.habacker@freenet.de>
72 * dbus/dbus-auth-script.c (_dbus_auth_script_run): added UNIX_ONLY and
73 WIN_ONLY commands for auth scripts
74 * test/data/auth/external-root.auth-script: limit execution to unix
76 2007-06-21 Havoc Pennington <hp@redhat.com>
78 * dbus/dbus-tranport.c (auth_via_default_rules): made the verbose spam
81 2007-06-21 Havoc Pennington <hp@redhat.com>
83 * dbus/dbus-watch.c (dbus_watch_get_fd): 1) its behavior should
84 not be the same as before, the ABI has never been declared stable
85 on Windows and 2) do not commit to cross-platform files without
86 posting the exact patch to the mailing list
88 * dbus/dbus-sysdeps-util.c (_dbus_sysdeps_test): as I have pointed
89 out before, either 0xff needs to work on both platforms, or none
90 of the dbus code can rely on it working. That means the options
91 are 1) audit the code for anywhere that relies on 0xff working, if
92 none found ideally add a test that it *doesn't* work and make unix
93 reject it explicitly, but in any case this test would go away or
94 2) make it work on Windows also, then we don't have to figure out
95 whether we rely on it.
97 And in either case, post the exact patch to the mailing list and
100 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
102 * cmake/CMakeLists.txt: added VERSION_PATCH to be able to
103 distinguish win32 binary release from dbus versioning
105 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
107 * dbus/dbus-sysdeps-win.c: deleted local DBusCredentials structure
108 (_dbus_getsid): new function
109 (_dbus_read_credentials_socket): used correct function
110 (_dbus_append_user_from_current_process,
111 _dbus_credentials_add_from_current_process): added real
113 (_dbus_credentials_parse_and_add_desired,_dbus_parse_uid):
116 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
118 * dbus/dbus-sysdeps-util.c (_dbus_sysdeps_test): don't check
119 0xff as floating point, this isn't supported on win32 math
122 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
124 * dbus/dbus-sysdeps-win.c (_dbus_homedir_from_username,
125 _dbus_homedir_from_current_process, _dbus_append_desired_identity):
126 removed obsolate functions
128 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
130 * dbus/dbus-sysdeps-win.c, dbus/dbus-sysdeps-util-win.c,
131 dbus/dbus-sysdeps-win.h: disabled uid/sid conversation stuff
132 implementation by Peter Kuemmel
134 2007-06-21 Ralf Habacker <ralf.habacker@freenet.de>
136 * dbus/dbus-watch.c (dbus_watch_get_fd): this function is
137 deprecated and its behavior should be as before until all
138 client code is migrated.
140 2007-06-19 Ralf Habacker <ralf.habacker@freenet.de>
142 * dbus/dbus-sysdeps-util-win.c, tools/dbus-launch-win.c:
143 msvc7.1 fixes by Jaroslaw Staniek tested with mingw
145 2007-06-19 Ralf Habacker <ralf.habacker@freenet.de>
147 * dbus/dbus-sysdeps-win.c, dbus/dbus-sysdeps-spawn-win.c,
148 dbus/dbus-sysdeps-win.h: disabled DBusSocket implementation
151 2007-06-18 Ralf Habacker <ralf.habacker@freenet.de>
153 * dbus-win.patch: removed obsolate patches
155 2007-06-18 Havoc Pennington <hp@redhat.com>
157 * configure.in: bump version to 1.1.2 so CVS is higher than last
158 release (this is not the 1.1.2 release)
160 2007-06-18 Havoc Pennington <hp@redhat.com>
164 2007-06-18 Havoc Pennington <hp@redhat.com>
166 * doc/dbus-specification.xml: document org.freedesktop.DBus.GetId()
168 * bus/driver.c (bus_driver_handle_get_id): implement org.freedesktop.DBus.GetId()
170 * bus/bus.c (bus_context_new): generate a unique ID for each bus context
172 * dbus/dbus-connection.c (dbus_connection_get_server_id): new function
174 * dbus/dbus-bus.c (dbus_bus_get_id): new function
176 * dbus/dbus-server.c (dbus_server_get_id): new function
178 2007-06-18 Havoc Pennington <hp@redhat.com>
180 * dbus/dbus-sysdeps-unix.c (_dbus_read_credentials_socket): clean
181 this up a little bit, to try and understand why telnet'ing to a
182 server and sending a non-nul byte didn't disconnect immediately;
183 now it seems that it does disconnect immediately as it should,
184 though I don't understand what has changed.
186 2007-06-18 Havoc Pennington <hp@redhat.com>
188 * dbus/dbus-watch.c (dbus_watch_get_socket)
189 (dbus_watch_get_unix_fd): new API to match DBusConnection
190 (dbus_watch_get_fd): deprecate this
192 Throughout: just s/dbus_watch_get_fd/dbus_watch_get_socket/g for
193 now since all the transports use sockets anyway
195 2007-06-16 Ralf Habacker <ralf.habacker@freenet.de>
197 * dbus/dbus-macros.h, dbus/dbus-message.c,
198 dbus/dbus-message.h: renamed DBUS_GNUC_DEPRECATED
199 to DBUS_DEPRECATED and extended to msvc compiler
201 2007-06-15 Ralf Habacker <ralf.habacker@freenet.de>
203 * cmake/CMakeLists.txt: use local include header first
205 * dbus/dbus-sysdeps-win.c: mingw fix of DBusCredential struct
207 2007-06-15 Ralf Habacker <ralf.habacker@freenet.de>
209 * cmake/ConfigureChecks.cmake,cmake/config.h.cmake:
210 added check for HAVE_ERRNO_H
212 * cmake/dbus/CMakeLists.txt: added missing files
214 * dbus/dbus-transport-win.c/.h: new files
216 * dbus/dbus-sysdeps-win.c,.h: added required _unix functions
217 to make dbus compilable on win32
219 * dbus/dbus-sysdeps-win-utils.c,.h: moved some functions to
222 * dbus-win.patch: removed applied or obsolate patches
224 Note: dbus-win32 is now compilable, no guarantee that it runs
227 2007-06-15 Havoc Pennington <hp@redhat.com>
229 * dbus/dbus-sysdeps-unix.c (_dbus_append_session_config_file)
230 (_dbus_append_system_config_file): new functions
232 * bus/main.c (main): use _dbus_append_system_config_file() and
233 _dbus_append_session_config_file()
235 * dbus/Makefile.am (INCLUDES): move DBUS_SYSTEM_CONFIG_FILE and
236 DBUS_SESSION_CONFIG_FILE into this makefile
238 2007-06-15 Havoc Pennington <hp@redhat.com>
240 * dbus/dbus-sysdeps.c (_dbus_set_errno_to_zero)
241 (_dbus_get_is_errno_nonzero, _dbus_get_is_errno_eintr)
242 (_dbus_strerror_from_errno): family of functions to abstract
243 errno, though these are somewhat bogus (really we should make our
244 socket wrappers not use errno probably - the issue is that any
245 usage of errno that isn't socket-related probably is not
246 cross-platform, so should either be in a unix-only file that can
247 use errno directly, or is a bug - these general errno wrappers
248 hide issues of this nature in non-socket code, while
249 socket-specific API changes would not since sockets are allowed
252 2007-06-14 Havoc Pennington <hp@redhat.com>
254 * bus/dispatch.c (check_get_connection_unix_process_id): mop up
255 getpid() (noticed by Peter KKümmel) and adapt the test to
256 expect a "pid unknown" error when running on Windows.
258 2007-06-14 Havoc Pennington <hp@redhat.com>
260 * dbus/dbus-sysdeps-unix.c (_dbus_credentials_parse_and_add_user):
261 delete this function since it was effectively the same as
262 _dbus_credentials_add_from_username()
264 2007-06-14 Havoc Pennington <hp@redhat.com>
266 * dbus/dbus-auth.c: adapt to keyring changes
268 * dbus/dbus-keyring.c: change to avoid using user ID and home
269 directory directly; instead use a
270 keyring-location-from-credentials function in dbus-sysdeps
272 * fix to use _dbus_append_user_from_current_process() instead of
273 _dbus_username_from_current_process() or _dbus_append_desired_identity().
275 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
277 * reverted global rename of function _dbus_username_from_current_process.
278 It needs too much tests to verify that the change does not break anything.
279 I had overseen that the signatures are different and requires non
281 This is one *major* disadvantage of emulating oop functionality with c.
282 You are responsible for cleaning every object on every function return point
283 which could be a nightmare if you are not working with dbus all the days.
285 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
287 * dbus/dbus-auth.c (handle_client_initial_response_cookie_sha1_mech):
288 fixed usage of _dbus_append_desired_identity()
290 * dbus/dbus-sysdeps.h (_dbus_username_from_current_process): removed prototype
292 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
294 * dbus/dbus-sysdeps.c: moved global lock system_users from dbus-userdb.c
296 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
298 * global rename of function _dbus_username_from_current_process
299 to _dbus_append_desired_identity.
300 Approved by Havoc Pennington
302 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
304 * dbus/dbus-sysdeps-win.c: disabled DBusUserInfo related code
305 (_dbus_append_desired_identity, _dbus_windows_user_is_process_owner):
306 new win32 functions as counterpart of unix related
307 (_dbus_send_credentials_socket,_dbus_read_credentials_socket):
308 renamed from ..._unix_socket
309 (_dbus_send_credentials_unix_socket): removed obsolate function
311 * dbus/dbus-sysdeps-win-util.c: disabled DBusGroupInfo related code
312 (_dbus_verify_daemon_user,_dbus_change_to_daemon_user):
313 new win32 functions as counterpart of unix related
315 2007-06-14 Simon McVittie <simon.mcvittie@collabora.co.uk>
317 * doc/dbus-specification.xml: say the protocol version is 1 instead of
318 0 (patch from Kristoffer Lundén, fd.o#10033) and remove the FIXME
319 about removing protocol version from messages (as per Havoc's comment
322 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
324 * dbus/dbus-sysdeps-win.c (_dbus_pid_for_log,_dbus_flush_caches):
325 new win32 functions as counterpart of unix related
327 2007-06-14 Ralf Habacker <ralf.habacker@freenet.de>
329 * cmake/modules/FindKDEWIN.cmake,
330 cmake/modules/FindKDEWIN_Packager.cmake,
331 cmake/modules/Win32Macros.cmake: new files from the
333 * cmake/CMakeLists.txt: cleaned support for kdewin installer and
334 win32 explorer wrapper
336 2007-06-13 Havoc Pennington <hp@redhat.com>
338 * dbus/dbus-message.c (dbus_message_iter_open_container): Fix
339 broken return_if_fail (kind of scary that test suite does not
342 2007-06-13 Havoc Pennington <hp@redhat.com>
344 * dbus/dbus-server-socket.c (_dbus_server_listen_socket): support
345 all_interfaces=true|false for tcp servers
347 * dbus/dbus-sysdeps-unix.c (_dbus_listen_tcp_socket): support
350 * bus/selinux.c: fix some missing includes
352 * dbus/dbus-server-socket.c (_dbus_server_listen_socket): allow
353 port to simply be omitted in addition to specifying 0
355 2007-06-13 Havoc Pennington <hp@redhat.com>
357 * configure.ac, bus/selinux.c, dbus/dbus-sysdeps-unix-util.c: add
358 libaudit support, no clue what this means really but now we have
359 it. Patches from Fedora package.
361 * bus/bus.c (bus_context_new): move selinux initialization after
362 changing to daemon user, patch from Fedora package
364 * dbus/dbus-transport.c (auth_via_unix_user_function): fix a typo
366 2007-06-12 Havoc Pennington <hp@redhat.com>
368 * dbus/dbus-message.c (dbus_message_iter_open_container): improve
369 the checks/warnings for contained_signature a bit
371 2007-06-12 Havoc Pennington <hp@redhat.com>
373 * dbus/dbus-marshal-recursive.c (write_or_verify_typecode):
374 improve the warning a bit if you write extra data into a message
376 2007-06-12 Havoc Pennington <hp@redhat.com>
378 * dbus/dbus-auth.c (sha1_handle_second_client_response)
379 (handle_server_data_anonymous_mech): add the process ID from
380 socket credentials, if available, even if not using EXTERNAL
382 * dbus/dbus-transport.c (auth_via_default_rules): support
385 * dbus/dbus-connection.c (dbus_connection_get_is_anonymous)
386 (dbus_connection_set_allow_anonymous): new API for controlling
389 2007-06-09 Havoc Pennington <hp@redhat.com>
391 * dbus/dbus-string.c (_dbus_string_pop_line): fix this not to
392 think an empty line is the end of the file.
393 Also, fix some whitespace.
395 * dbus/dbus-string-util.c: add more tests for
396 _dbus_string_pop_line() revealing that it thinks an empty line is
397 the end of the file, which broke dbus-auth-script.c so
398 it didn't really run the scripts
400 * dbus/dbus-auth.c: add ANONYMOUS mechanism
402 * dbus/dbus-auth-script.c (_dbus_auth_script_run): fix to detect
403 an empty/no-op auth script; add commands to check that we have or
404 don't have the expected credentials
406 2007-06-09 Havoc Pennington <hp@redhat.com>
408 * bus/policy.c (bus_policy_create_client_policy): gracefully
409 continue if the connection has no unix user - just don't apply
410 any unix user dependent rules.
412 * bus/config-parser.c: remove dbus-userdb.h usage
414 * bus/bus.c: remove dbus-userdb.h usage
416 * dbus/dbus-transport.c (_dbus_transport_get_is_authenticated):
417 support Windows user function; also, fix the logic for checking
418 auth as root in the default auth code (broken in the previous
421 * dbus/dbus-connection.c
422 (dbus_connection_set_windows_user_function): new function
423 (dbus_connection_get_windows_user): new function
425 2007-06-09 Havoc Pennington <hp@redhat.com>
427 * bus/dispatch.c (check_get_connection_unix_process_id): adapt
428 since sysdeps-unix.h stuff isn't included anymore
430 * bus/bus.c (bus_context_new): use more abstract functions to
431 change user, so they can be no-ops on Windows
433 * dbus/dbus-credentials.c, dbus/dbus-credentials.h,
434 dbus/dbus-credentials-util.c: new files containing a fully opaque
435 DBusCredentials data type to replace the old not opaque one.
437 * configure.in (DBUS_UNIX): define DBUS_UNIX to match DBUS_WIN on
440 * dbus/dbus-userdb.h: prohibit on Windows, next step is to clean
441 up the uses of it in bus/*.c and factor out the parts of
442 cookie auth that depend on it
444 2007-06-07 Havoc Pennington <hp@redhat.com>
446 * dbus/dbus-message.c: improve some docs related to reading values
449 2007-06-02 Ralf Habacker <ralf.habacker@freenet.de>
451 * cmake: added cygwin compile support
453 2007-06-01 Ralf Habacker <ralf.habacker@freenet.de>
455 * tools/dbus-launch-win.c: new file, replaces script wrapper on win32.
457 * cmake/dbus-launch.bat.cmake: removed obsolate file
459 2007-05-31 Ralf Habacker <ralf.habacker@freenet.de>
461 * bus/main.c (main): uses _dbus_get_config_file_name() to detect
462 session.conf location on win32.
464 * dbus-sysdeps-win.h (_dbus_get_config_file_name,_dbus_file_exists):
465 new prototyp, undefined interface after including windows.h because
466 it makes trouble when a paramater is named interface.
468 * dbus-sysdeps-win.c (_dbus_get_install_root,
469 _dbus_get_config_file_name,_dbus_file_exists): new functions.
471 2007-05-27 Ralf Habacker <ralf.habacker@freenet.de>
473 * bus/policy.c,dbus/dbus-internals.c: fixed inconsistant line endings
474 as reported by Peter Kümmel.
476 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
480 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
482 * Split NEWS and ChangeLog into a .pre-1-0 file as per HACKING
483 We forgot to do this during the 1.0 release and it makes sense
484 now as we get ready to release the first 1.1.0 development tarball
486 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
488 * create directory test/data/valid-config-files/session.d so that
491 2007-05-25 John (J5) Palmieri <johnp@redhat.com>
493 * INSTALL: remove dependancies for bindings since they no longer
496 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
498 * dbus/dbus-server-win.c,dbus/dbus-server-win.h: new file
499 with empty function _dbus_server_listen_platform_specific().
501 * dbus/dbus-server.c (listen_funcs): uses
502 _dbus_server_listen_platform_specific on any platform.
504 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
506 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting
507 user info from a domain controller isn't an error, the computer
508 may run in a non domain context.
510 2007-05-25 Ralf Habacker <ralf.habacker@freenet.de>
512 * dbus/dbus-sysdeps-win.c (_dbus_full_duplex_pipe): fixed assertation.
514 2007-05-24 Simon McVittie <simon.mcvittie@collabora.co.uk>
516 * bus/config-parser.c (test_service_dir_matches): fixed ordering for unix.
518 * bus/config-parser.c (test_default_session_servicedirs): made allocation
519 of _progs platform independent.
521 2007-05-23 Havoc Pennington <hp@redhat.com>
523 * bus/Makefile.am (install-data-hook): create session.d
525 * bus/session.conf.in: add session.d for the session bus, so
526 security policy can be extended
528 2007-05-22 Ralf.Habacker <ralf.habacker@freenet.de>
530 * cmake/CMakeLists.txt: fixed creating of TEST_..._BINARY to make
531 bus-test able to find the binaries.
533 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
535 * acinclude.m4, configure.in: In recent autotools, ${datadir} is
536 defined in terms of ${datarootdir}, so EXPANDED_DATADIR needs to be
537 expanded recursively. Rather than fixing configure.in to do this, I
538 grabbed the AS_AC_EXPAND macro from autostars.sf.net, which seems to be
541 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
543 * update-dbus-docs.sh: Assorted improvements:
544 - Default user if $FDUSER is not set is the ssh default
545 (set in ~/.ssh/config or based on the local username), not a
547 - Temporary checkout directory is created securely (preventing symlink
548 attacks), if mktemp(1) is available
549 - Use make -C rather than cd && make && cd ..
551 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
553 * HACKING: Point to correct mailing list
555 2007-05-21 Simon McVittie <simon.mcvittie@collabora.co.uk>
557 * doc/dbus-specification.xml: explicitly specify that STRING cannot
558 contain embedded NULs.
560 2007-05-20 Ralf.Habacker <ralf.habacker@freenet.de>
562 * dbus/dbus-internal.c: fix inline problem on win32.
564 2007-05-20 Ralf.Habacker <ralf.habacker@freenet.de>
566 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not reaching
567 domain controller isn't an error, converted error message to verbose
570 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
572 * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): disabled
573 tests not running on wince.
575 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
577 * dbus/dbus-internals.c (_dbus_verbose_init): win32 requires 'varname='
578 to unset a environment variable.
580 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
582 * dbus/dbus-sysdeps.c (_dbus_setenv): win32 requires 'varname='
583 to unset a environment variable.
585 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
587 * bus/policy.c (bus_policy_create_client_policy):
588 win32 temporary fix until the userdb stuff is ported completly.
590 2007-05-19 Ralf.Habacker <ralf.habacker@freenet.de>
592 * dbus/dbus-server.c (listen_funcs):
593 _dbus_server_listen_platform_specific is empty on win32,
594 limited to unix only.
596 * dbus/dbus-server.c (valid_addresses): limit unix
597 only addresses to unix.
599 2007-05-18 Havoc Pennington <hp@redhat.com>
601 * doc/dbus-specification.xml: add a GetAll to the Properties
604 2007-05-17 Ralf.Habacker <ralf.habacker@freenet.de>
606 * bus\config-parser.c (test_default_session_servicedirs):
609 2007-05-17 Ralf.Habacker <ralf.habacker@freenet.de>
611 * configure.in: define constant DBUS_UNIX.
613 2007-05-14 Ralf Habacker <ralf.habacker@freenet.de>
615 * dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound):
616 compile fix for MS Platform SDK 6
617 patch from Michael Luschas <mluschas@gmail.com>
619 2007-05-10 John (J5) Palmieri <johnp@redhat.com>
621 * dbus-1.pc.in: add daemondir to pc file
622 patch from Brian Cameron <brian.cameron at sun.com>
624 2007-05-04 Simon McVittie <simon.mcvittie@collabora.co.uk>
626 * doc/dbus-specification.xml: mention the reserved o.fd.DBus.Local
627 interface and the corresponding /o/fd/DBus/Local object path;
628 describe them as reserved and forbid using them in a sent message,
629 mentioning that in the reference implementation this will cause the
630 connection to be dropped. Patch approved by Havoc.
632 2007-04-28 Ralf Habacker <ralf.habacker@freenet.de>
634 * cmake/: don't install test applications and service files,
635 moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt
637 2007-04-27 Havoc Pennington <hp@redhat.com>
639 * dbus/dbus-sysdeps-unix.c (_dbus_open_socket): fix #10781 from
640 Tobias Nygren, checking pointer to fd vs. 0 rather than checking
643 2007-04-26 Ralf Habacker <ralf.habacker@freenet.de>
645 * cmake/: added debug postfixes to debug exe's for
647 * dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error):
648 print error code in case no string message is available.
650 2007-04-06 Simon McVittie <simon.mcvittie@collabora.co.uk>
652 * dbus/dbus-message-util.c, dbus/dbus-message.c,
653 dbus/dbus-message.h: Add API to convert a DBusMessage to/from a
654 byte array. Patch from Dafydd Harries <dafydd.harries@collabora.co.uk>,
655 approved by Havoc Pennington.
657 2007-04-03 Timo Hoenig <thoenig@suse.de>
659 * dbus/dbus-address.c (dbus_parse_address): Do not accept zero-
661 * dbus/dbus-address.c (_dbus_address_test): Add test for zero-
664 2007-03-25 Ralf.Habacker <ralf.habacker@freenet.de>
666 * cmake/dbus/CMakeLists.txt: debug postfix also for mingw.
668 2007-03-16 Ralf.Habacker <ralf.habacker@freenet.de>
670 * cmake/modules/FindExpat.cmake: fix package detection on win32.
672 * README.win: update install instructions.
674 2007-03-16 Ralf.Habacker <ralf.habacker@freenet.de>
676 * dbus/dbus-sysdeps.h (_dbus_split_paths_and_append):
678 (_DBUS_PATH_SEPARATOR): new macro.
680 * dbus/dbus-sysdeps.c (_dbus_split_paths_and_append): merged
681 from dbus/dbus-sysdeps-unix.c and dbus/dbus-sysdeps-win.c.
683 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
685 * bus/config-parser.c, bus/policy.c,
686 bus/policy.h, bus/dbus-daemon.1.in,
687 bus/session.conf.in: added eavesdrop support
688 for replies - patch by olli.salli at collabora.co.uk
689 approved by Havoc Pennington.
691 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
693 * dbus\dbus-sysdeps-win-thread.c: renamed to
694 dbus-sysdeps-thread-win.c, it is a platform depending file
695 similar to dbus-sysdeps-pthread.c.
697 2007-03-15 Ralf.Habacker <ralf.habacker@freenet.de>
699 * cmake\doc\CMakeLists.txt: added prelimary xml doc
700 support, needs cmake Find script.
702 2007-03-14 Ralf.Habacker <ralf.habacker@freenet.de>
704 * cmake: add doxygen support
706 2007-03-14 Ralf.Habacker <ralf.habacker@freenet.de>
708 * cmake/config.h.cmake: WINCE fixes, defined DBUS_UNIX.
710 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
712 * dbus/dbus-sysdeps-util-win.c (dbus_become_daemon):
715 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
717 * dbus-win.patch: removed obsolate patches.
719 2007-03-13 Ralf.Habacker <ralf.habacker@freenet.de>
721 * dbus/dbus-sysdeps-win.c: added zero byte sending
722 and receiving after connection start up
724 2007-03-11 Havoc Pennington <hp@redhat.com>
726 * tools/dbus-launch.c (do_close_stderr): fix C89 problem and
729 * Mostly fix the DBusPipe mess.
730 - put line break after function return types
731 - put space before parens
732 - do not pass structs around by value
733 - don't use dbus_strerror after calling supposedly cross-platform
735 - don't name pipe variables "fd"
736 - abstract special fd numbers like -1 and 1
738 2007-03-12 Ralf Habacker <ralf.habacker@freenet.de>
740 * dbus/dbus-sysdeps-win.h, dbus/dbus-sysdeps-win.c,
741 dbus/dbus-sysdeps-util-win.c: renamed functions
742 _dbus_xxx_file() to _dbus_file_xxx() to reflect
743 struct name DBusFile.
745 2007-03-12 Ralf Habacker <ralf.habacker@freenet.de>
747 * dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon):
748 fix _dbus_pid_fd check.
750 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
752 * tools/dbus-print-message.c (print_message):
753 added printing of the reply serial to method returns and
754 errors, so you can actually figure out the message/reply
755 pairs - patch by olli.salli at collabora.co.uk.
757 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
759 * dbus-win.patch: removed committed patches.
761 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
763 * bus/bus.c, bus/bus.h, bus/main.c, bus/test.c,
764 dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-util-unix.c,
765 dbus/dbus-sysdeps-util-win.c, dbus/dbus-sysdeps-win.c,
766 dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx,
767 completed _dbus_pipe support.
769 2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
771 * dbus/dbus-sysdeps.h (_dbus_listen_tcp_socket):
772 changed type or port to pointer, because the port is given back.
774 * dbus/dbus-server-socket.c (_dbus_server_new_for_tcp_socket):
775 implemented returning tcp port. Skipping port parameter
776 and non integer port values in config <listen> statement
779 * dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-win.c
780 (_dbus_listen_tcp_socket): return the real used tcp port.
782 * bus/dbus-daemon.1.in: added <listen> tcp examples
784 2007-03-09 Ralf Habacker <ralf.habacker@freenet.de>
786 * cmake/config.h.cmake: win32 msvc bug fix
788 2007-03-09 Ralf Habacker <ralf.habacker@freenet.de>
790 * cmake/config.h.cmake: fixed DBUS_WINxx defines,
791 using _WINCE does not work.
793 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
795 * dbus-win.patch: removed _dbus_write_pipe() patch, it is now
798 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
800 * bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h:
801 rename pipe related write() function calls to _dbus_write_pipe().
803 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
805 * dbus-win.patch: added bus/config-loader-libexpat.c patch,
806 uses DBUS_WIN for alls win32 related #ifdefs,
809 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
811 * dbus-win.patch: updated patch for bus/dispatch.c.
813 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
815 * dbus-win.patch: dbus-connection.c (dbus_connection_get_unix_user,
816 dbus_connection_get_unix_process_id): Let return them valid user id's,
817 otherwise bus-test fails. How to replace on win32 ?.
819 * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir):
822 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
824 * dbus/dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error):
825 use dbus friendly error name.
826 (fill_win_user_info_homedir): print user name in error case too.
828 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
830 * cmake/ConfigureChecks.cmake: fixed socketpair check
832 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
834 * bus/dispatch.c: disabled segfault test on win32 for now
836 2007-03-08 Ralf Habacker <ralf.habacker@freenet.de>
838 * configure.in, cmake/ConfigureChecks.cmake: added check
840 * test/test-segfault.c: only include setrlimit stuff only
843 2007-03-07 Ralf Habacker <ralf.habacker@freenet.de>
845 * test/test-segfault.c: unix compile fix.
846 * dbus-win.patch: removed obsolate patches.
848 2007-03-07 Ralf Habacker <ralf.habacker@freenet.de>
850 * bus/activation.c: removed obsolate include header.
851 * test/test-segfault.c: win32 compile fix, rlimit
852 isn't available on win32.
853 * dbus-win.patch: removed some more patches, they
854 are applied or obsolate
856 2007-03-06 Ralf Habacker <ralf.habacker@freenet.de>
858 * bus-win.patch: fixes unix listen problems, dbus-test
861 2007-03-06 Ralf Habacker <ralf.habacker@freenet.de>
863 * cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
864 cmake/CMakeLists.txt: win32 compile fix
866 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
868 * dbus-win.patch, README.win: added available win32
869 patches from windbus project (http://sf.net/projects/windbus)
871 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
873 * bus/activation.c: (bus_activation_activate_service):
874 fixed call to _dbus_spawn_async_with_babysitter().
876 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
878 * dbus/dbus-spawn.c,dbus/dbus-spawn.h (_dbus_spawn_async_with_babysitter):
879 added environment pointer as function parameter, used on win32.
881 * test/spawn-test.c: fixed call to above mentioned function.
883 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
885 * configure.in,test/test-sleep-forever.c,test/test-names.c:
886 added configure check for unistd.h.
888 2007-03-04 Ralf Habacker <ralf.habacker@freenet.de>
890 * test/Makefile.am: fixed test data copy problem in
891 out of source build, when sources came from svn or cvs.
893 2007-03-03 Ralf Habacker <ralf.habacker@freenet.de>
895 * dbus/*-win.*,bus/*-win.*: added win32 platform related
896 files. These files are only added to the cmake build system.
897 The missing dbus-win.patch file will be added later.
899 2007-03-03 Ralf Habacker <ralf.habacker@freenet.de>
901 * cmake: new directory, contains cmake build support.
902 See http://www.cmake.org for more informations.
903 Currently only unix will be buildable because some
904 win32 required files are still missing.
906 2007-03-03 Thiago Macieira <thiago@kde.org>
908 * dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr
909 output and add it to the DBusError message we return.
911 * tools/dbus-launch.1:
912 * tools/dbus-launch.c: Add option --close-stderr to, well,
913 close stderr before starting dbus-daemon.
915 2007-01-31 Havoc Pennington <hp@redhat.com>
917 * bus/dbus-daemon.1.in: write a section in the man page on running
918 a test daemon for debugging purposes
920 2007-01-26 Havoc Pennington <hp@redhat.com>
922 * bus/session.conf.in: override all the default limits with much
923 higher limits on the session bus, there is no reason the session
924 bus should have low limits
926 * bus/config-parser.c (bus_config_parser_new): increase default
927 limits so they are less likely to be hit; in particular the max
928 replies per connection was way too low
930 2006-01-25 Simon McVittie <simon.mcvittie@collabora.co.uk>
932 * doc/dbus-tutorial.xml: Replace Python section of tutorial with
933 a pointer to the tutorial maintained as part of dbus-python
935 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
937 * dbus/dbus-sysdeps-unix.c: unix compile fix, moved
938 atomic_exchange_and_add() from dbus/dbus-sysdeps.c
939 to here, it's used by _dbus_atomic_inc() and _dbus_atomic_dec().
941 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
943 * tools/dbus-monitor.c: gettimeofday() is not available
944 on windows so we have to provide our own. It's taken from
945 lgpl'd kdewin32 package. - Patches from Christian Ehrlicher
947 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
949 * dbus/dbus-sysdeps-unix.c: moved _dbus_atomic_inc/dec()
950 from dbus/dbus-sysdeps.c, windows version of _dbus_atomic_inc/dec()
951 is in dbus-sysdeps-win.c (not in this patch).
953 * dbus/dbus-sysdeps.h: DBusAtomic::value is long on windows to fit
954 with InterlockedInc/Decrement.
955 - Patches from Christian Ehrlicher
957 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
959 * tools/dbus-send.c, tools/dbus-monitor.c: win32 compile fix.
961 2006-12-31 Ralf Habacker <ralf.habacker@freenet.de>
963 * dbus/dbus-marshal-recursive.c (type DBusTypeReaderClass):
964 fix mispaced const statement. - Patch from Peter Kümmel
966 2006-12-19 Ray Strode <rstrode@redhat.com>
968 * bus/bus.c (process_config_every_time):
969 don't overwrite existing bus context activation object
970 until after we've checked that the new activation is
974 (signal_handler), (handle_reload_watch):
975 don't call exit() on failure, instead make do and keep
977 (close_reload_pipe): new function to turn off
978 hangup-causes-config-reload behavior if an unexpected
981 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
983 * dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
984 correctness fix. - Patch from Christian Ehrlicher
986 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
988 * dbus/dbus-internals.h: msvc also knows about __FUNCTION__,
989 we should also use it. - Patch from Christian Ehrlicher
991 2006-12-13 Ralf Habacker <ralf.habacker@freenet.de>
993 * dbus-sysdeps-util.c: added win32 related tests
995 2006-12-12 Ralf Habacker <ralf.habacker@freenet.de>
997 * dbus/dbus-string.c (_dbus_string_pop_line),
998 bus/desktop-file.c (parse_section_start,
999 parse_comment_or_blank,parse_key_value,): uses
1000 _dbus_string_find_eol() to support platform independent eol style.
1002 2006-12-12 Ralf Habacker <ralf.habacker@freenet.de>
1004 * dbus/dbus-string.[ch] (_dbus_string_find_eol): new function.
1005 * dbus/dbus-string-util.c (_dbus_string_test): added testcases for
1006 _dbus_string_find_eol().
1007 Approved by: Havoc Pennington.
1009 2006-12-12 Tim Dijkstra <tim@famdijkstra.org>
1011 * configure.in: Added switch to disable user_database caching.
1013 * dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Add ifdefs to
1014 be able disable user_dabase caching.
1016 2006-12-12 Tim Dijkstra <tim@famdijkstra.org>
1018 * bus/bus.c, bus/bus.h: Remove DBusUserDatabase from the BusContext
1019 struct. It is unnecessary we have a global one already. Also remove
1020 bus_context_get_user_database function, it is no longer needed.
1021 Flush the global database on reload.
1023 * dbus/dbus-userdb-util.c: Replace _dbus_user_database_get_groups
1024 with _dbus_groups_from_uid. It no longer needs a DBusUserDatabase.
1026 * dbus/dbus-userdb.c, dbus/dbus-userdb.h:
1027 Add _dbus_user_database_flush_system.
1028 Make more functions DBUS_USERDB_INCLUDES_PRIVATE.
1029 Small unrelated change in _dbus_is_a_number: change
1030 _dbus_string_parse_int to _dbus_string_parse_uint.
1032 * bus/connection.c: Change call to _dbus_user_database_get_groups to
1033 _dbus_groups_from_uid.
1035 * bus/policy.c, bus/policy.h: Change call to
1036 _dbus_user_database_get_groups to _dbus_groups_from_uid. Remove
1037 DBusUserDatabase from bus_policy_allow_user prototype, it no longer
1040 2006-12-12 John (J5) Palmieri <johnp@redhat.com>
1042 * bus/signal.c: Fix match_rule_equal errata
1043 (CVE-2006-6107 - Patch from Kimmo Hämäläinen
1044 <kimmo.hamalainen@nokia.com>)
1046 2006-11-19 Thiago Macieira <thiago@kde.org>
1048 * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock,
1049 _dbus_pthread_condvar_wait,
1050 _dbus_pthread_condvar_wait_timeout): set pmutex->holder to
1051 pthread_self() after coming back from a conditional variable
1052 wait as well as in one codepath where it was forgotten.
1053 Approved by: Havoc Pennington.
1055 2006-11-17 Havoc Pennington <hp@redhat.com>
1057 * update-dbus-docs.sh: allow setting fd.org username via env
1058 variable. Make it run autogen with --enable-xml-docs=yes
1059 --enable-doxygen-docs=yes so configure will fail if the required
1062 2006-11-17 Havoc Pennington <hp@redhat.com>
1064 * doc/dbus-faq.xml: minor FAQ tweaks
1066 2006-11-14 Havoc Pennington <hp@redhat.com>
1068 * dbus/dbus-misc.c, dbus/dbus-misc.h: Move
1069 dbus_get_local_machine_id() to its own file, no substantive
1070 changes. There are a couple other things we might want to add that
1071 are "misc" so moving out of dbus-connection.[hc] which is big
1074 2006-11-14 Havoc Pennington <hp@redhat.com>
1076 * dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the
1077 UUID had the timestamp last, but the implementation had it first;
1078 move it to last since I think it's a tiny bit nicer (easier to
1079 compare at a glance, faster to sort, less code), and will not
1080 cause any practical compatibility problems. Also, always convert
1081 the timestamp to big endian.
1083 * doc/dbus-specification.xml: Clean up the docs on the UUID.
1085 * tools/dbus-uuidgen.1: more prominently say it is not suitable
1086 as a replacement for regular uuidgen/RFC4122.
1088 2006-11-14 John (J5) Palmieri <johnp@redhat.com>
1090 * dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have
1091 the correct value so we don't assert when initalizing recursive threads
1093 * test/name-test/test-thread-init.c: call dbus_threads_init_default
1094 instead of _dbus_threads_init_debug since it is more of a real world