2007-06-09 Havoc Pennington <hp@redhat.com>
[platform/upstream/dbus.git] / ChangeLog
1 2007-06-09  Havoc Pennington  <hp@redhat.com>
2
3         * bus/policy.c (bus_policy_create_client_policy): gracefully
4         continue if the connection has no unix user - just don't apply 
5         any unix user dependent rules.
6
7         * bus/config-parser.c: remove dbus-userdb.h usage
8
9         * bus/bus.c: remove dbus-userdb.h usage
10
11         * dbus/dbus-transport.c (_dbus_transport_get_is_authenticated):
12         support Windows user function; also, fix the logic for checking
13         auth as root in the default auth code (broken in the previous
14         commit)
15
16         * dbus/dbus-connection.c
17         (dbus_connection_set_windows_user_function): new function
18         (dbus_connection_get_windows_user): new function
19
20 2007-06-09  Havoc Pennington  <hp@redhat.com>
21
22         * bus/dispatch.c (check_get_connection_unix_process_id): adapt
23         since sysdeps-unix.h stuff isn't included anymore
24
25         * bus/bus.c (bus_context_new): use more abstract functions to
26         change user, so they can be no-ops on Windows
27
28         * dbus/dbus-credentials.c, dbus/dbus-credentials.h,
29         dbus/dbus-credentials-util.c: new files containing a fully opaque
30         DBusCredentials data type to replace the old not opaque one.
31
32         * configure.in (DBUS_UNIX): define DBUS_UNIX to match DBUS_WIN on
33         windows
34
35         * dbus/dbus-userdb.h: prohibit on Windows, next step is to clean
36         up the uses of it in bus/*.c and factor out the parts of 
37         cookie auth that depend on it
38         
39 2007-06-07  Havoc Pennington  <hp@redhat.com>
40
41         * dbus/dbus-message.c: improve some docs related to reading values
42         from a message iter
43
44 2007-06-02  Ralf Habacker  <ralf.habacker@freenet.de>
45
46         * cmake: added cygwin compile support
47
48 2007-06-01  Ralf Habacker  <ralf.habacker@freenet.de>
49
50         * tools/dbus-launch-win.c: new file, replaces script wrapper on win32.
51
52         * cmake/dbus-launch.bat.cmake: removed obsolate file
53
54 2007-05-31  Ralf Habacker  <ralf.habacker@freenet.de>
55
56         * bus/main.c (main): uses _dbus_get_config_file_name() to detect 
57         session.conf location on win32. 
58
59         * dbus-sysdeps-win.h (_dbus_get_config_file_name,_dbus_file_exists): 
60         new prototyp, undefined interface after including windows.h because 
61         it makes trouble when a paramater is named interface.
62
63         * dbus-sysdeps-win.c (_dbus_get_install_root,
64         _dbus_get_config_file_name,_dbus_file_exists):  new functions.
65
66 2007-05-27  Ralf Habacker  <ralf.habacker@freenet.de>
67
68         * bus/policy.c,dbus/dbus-internals.c: fixed inconsistant line endings 
69         as reported by Peter Kümmel.
70
71 2007-05-25  John (J5) Palmieri  <johnp@redhat.com>
72
73         * Released 1.1.0
74
75 2007-05-25  John (J5) Palmieri  <johnp@redhat.com>
76
77         * Split NEWS and ChangeLog into a .pre-1-0 file as per HACKING
78         We forgot to do this during the 1.0 release and it makes sense
79         now as we get ready to release the first 1.1.0 development tarball
80
81 2007-05-25  John (J5) Palmieri  <johnp@redhat.com>
82
83         * create directory test/data/valid-config-files/session.d so that
84         make check passes
85
86 2007-05-25  John (J5) Palmieri  <johnp@redhat.com>
87
88         * INSTALL: remove dependancies for bindings since they no longer
89         are a part of core
90
91 2007-05-25  Ralf Habacker  <ralf.habacker@freenet.de>
92
93         * dbus/dbus-server-win.c,dbus/dbus-server-win.h: new file 
94         with empty function _dbus_server_listen_platform_specific(). 
95
96         * dbus/dbus-server.c (listen_funcs): uses 
97         _dbus_server_listen_platform_specific on any platform.
98
99 2007-05-25  Ralf Habacker  <ralf.habacker@freenet.de>
100
101         * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not getting 
102         user info from a domain controller isn't an error, the computer 
103         may run in a non domain context. 
104
105 2007-05-25  Ralf Habacker  <ralf.habacker@freenet.de>
106
107         * dbus/dbus-sysdeps-win.c (_dbus_full_duplex_pipe): fixed assertation.
108
109 2007-05-24  Simon McVittie  <simon.mcvittie@collabora.co.uk>
110
111         * bus/config-parser.c (test_service_dir_matches): fixed ordering for unix.
112
113         * bus/config-parser.c (test_default_session_servicedirs): made allocation 
114         of _progs platform independent.
115
116 2007-05-23  Havoc Pennington  <hp@redhat.com>
117
118         * bus/Makefile.am (install-data-hook): create session.d
119
120         * bus/session.conf.in: add session.d for the session bus, so
121         security policy can be extended
122
123 2007-05-22 Ralf.Habacker <ralf.habacker@freenet.de>
124
125         * cmake/CMakeLists.txt: fixed creating of TEST_..._BINARY to make 
126         bus-test able to find the binaries.
127
128 2007-05-21 Simon McVittie  <simon.mcvittie@collabora.co.uk>
129
130         * acinclude.m4, configure.in: In recent autotools, ${datadir} is
131         defined in terms of ${datarootdir}, so EXPANDED_DATADIR needs to be
132         expanded recursively. Rather than fixing configure.in to do this, I
133         grabbed the AS_AC_EXPAND macro from autostars.sf.net, which seems to be
134         commonly used.
135
136 2007-05-21 Simon McVittie  <simon.mcvittie@collabora.co.uk>
137
138         * update-dbus-docs.sh: Assorted improvements:
139         - Default user if $FDUSER is not set is the ssh default
140           (set in ~/.ssh/config or based on the local username), not a
141           hard-coded "johnp"
142         - Temporary checkout directory is created securely (preventing symlink
143           attacks), if mktemp(1) is available
144         - Use make -C rather than cd && make && cd ..
145
146 2007-05-21 Simon McVittie  <simon.mcvittie@collabora.co.uk>
147
148         * HACKING: Point to correct mailing list
149
150 2007-05-21 Simon McVittie  <simon.mcvittie@collabora.co.uk>
151
152         * doc/dbus-specification.xml: explicitly specify that STRING cannot
153         contain embedded NULs.
154
155 2007-05-20 Ralf.Habacker  <ralf.habacker@freenet.de>
156
157         * dbus/dbus-internal.c: fix inline problem on win32.
158
159 2007-05-20 Ralf.Habacker  <ralf.habacker@freenet.de>
160
161         * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir): not reaching 
162         domain controller isn't an error, converted error message to verbose 
163         message.
164
165 2007-05-19 Ralf.Habacker  <ralf.habacker@freenet.de>
166
167         * dbus/dbus-test.c (dbus_internal_do_not_use_run_tests): disabled 
168         tests not running on wince.
169
170 2007-05-19 Ralf.Habacker  <ralf.habacker@freenet.de>
171
172         * dbus/dbus-internals.c (_dbus_verbose_init): win32 requires 'varname=' 
173         to unset a environment variable. 
174
175 2007-05-19 Ralf.Habacker  <ralf.habacker@freenet.de>
176
177         * dbus/dbus-sysdeps.c (_dbus_setenv): win32 requires 'varname=' 
178         to unset a environment variable. 
179
180 2007-05-19 Ralf.Habacker  <ralf.habacker@freenet.de>
181
182         * bus/policy.c (bus_policy_create_client_policy): 
183         win32 temporary fix until the userdb stuff is ported completly.
184
185 2007-05-19  Ralf.Habacker  <ralf.habacker@freenet.de>
186
187         * dbus/dbus-server.c (listen_funcs): 
188         _dbus_server_listen_platform_specific is empty on win32, 
189         limited to unix only.
190
191         * dbus/dbus-server.c (valid_addresses): limit unix 
192         only addresses to unix. 
193
194 2007-05-18  Havoc Pennington  <hp@redhat.com>
195
196         * doc/dbus-specification.xml: add a GetAll to the Properties
197         interface.
198
199 2007-05-17 Ralf.Habacker  <ralf.habacker@freenet.de>
200  
201         * bus\config-parser.c (test_default_session_servicedirs):
202         win32 fix.
203
204 2007-05-17 Ralf.Habacker  <ralf.habacker@freenet.de>
205  
206         * configure.in: define constant DBUS_UNIX.
207
208 2007-05-14  Ralf Habacker <ralf.habacker@freenet.de>
209
210         * dbus/dbus-sysdeps-win.c (_dbus_printf_string_upper_bound):
211         compile fix for MS Platform SDK 6 
212         patch from Michael Luschas <mluschas@gmail.com>
213
214 2007-05-10  John (J5) Palmieri <johnp@redhat.com>
215
216         * dbus-1.pc.in: add daemondir to pc file
217         patch from Brian Cameron <brian.cameron at sun.com>
218
219 2007-05-04  Simon McVittie <simon.mcvittie@collabora.co.uk>
220
221         * doc/dbus-specification.xml: mention the reserved o.fd.DBus.Local
222         interface and the corresponding /o/fd/DBus/Local object path;
223         describe them as reserved and forbid using them in a sent message,
224         mentioning that in the reference implementation this will cause the
225         connection to be dropped. Patch approved by Havoc.
226
227 2007-04-28  Ralf Habacker <ralf.habacker@freenet.de>
228
229         * cmake/: don't install test applications and service files,
230         moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt
231
232 2007-04-27  Havoc Pennington  <hp@redhat.com>
233
234         * dbus/dbus-sysdeps-unix.c (_dbus_open_socket): fix #10781 from
235         Tobias Nygren, checking pointer to fd vs. 0 rather than checking
236         the fd itself
237
238 2007-04-26 Ralf Habacker  <ralf.habacker@freenet.de>
239
240         * cmake/: added debug postfixes to debug exe's for 
241         easier debugging.
242         * dbus\dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error): 
243         print error code in case no string message is available.
244
245 2007-04-06 Simon McVittie <simon.mcvittie@collabora.co.uk>
246
247         * dbus/dbus-message-util.c, dbus/dbus-message.c,
248         dbus/dbus-message.h: Add API to convert a DBusMessage to/from a
249         byte array. Patch from Dafydd Harries <dafydd.harries@collabora.co.uk>,
250         approved by Havoc Pennington.
251
252 2007-04-03  Timo Hoenig  <thoenig@suse.de>
253
254         * dbus/dbus-address.c (dbus_parse_address): Do not accept zero-
255           length address.
256         * dbus/dbus-address.c (_dbus_address_test): Add test for zero-
257           length address.
258
259 2007-03-25 Ralf.Habacker  <ralf.habacker@freenet.de>
260
261         * cmake/dbus/CMakeLists.txt: debug postfix also for mingw.
262
263 2007-03-16 Ralf.Habacker  <ralf.habacker@freenet.de>
264
265         * cmake/modules/FindExpat.cmake: fix package detection on win32.
266
267         * README.win: update install instructions. 
268
269 2007-03-16 Ralf.Habacker  <ralf.habacker@freenet.de>
270
271         * dbus/dbus-sysdeps.h (_dbus_split_paths_and_append):
272         new prototyp
273         (_DBUS_PATH_SEPARATOR): new macro. 
274
275         * dbus/dbus-sysdeps.c (_dbus_split_paths_and_append): merged 
276         from dbus/dbus-sysdeps-unix.c and dbus/dbus-sysdeps-win.c. 
277
278 2007-03-15 Ralf.Habacker  <ralf.habacker@freenet.de>
279
280         * bus/config-parser.c, bus/policy.c,  
281         bus/policy.h, bus/dbus-daemon.1.in,
282         bus/session.conf.in: added eavesdrop support 
283         for replies - patch by olli.salli at collabora.co.uk
284         approved by Havoc Pennington. 
285
286 2007-03-15 Ralf.Habacker  <ralf.habacker@freenet.de>
287
288         * dbus\dbus-sysdeps-win-thread.c: renamed to 
289         dbus-sysdeps-thread-win.c, it is a platform depending file 
290         similar to dbus-sysdeps-pthread.c.
291
292 2007-03-15 Ralf.Habacker  <ralf.habacker@freenet.de>
293
294         * cmake\doc\CMakeLists.txt: added prelimary xml doc 
295         support, needs cmake Find script.
296
297 2007-03-14 Ralf.Habacker  <ralf.habacker@freenet.de>
298
299         * cmake: add doxygen support
300
301 2007-03-14  Ralf.Habacker  <ralf.habacker@freenet.de>
302
303         * cmake/config.h.cmake: WINCE fixes, defined DBUS_UNIX.
304
305 2007-03-13  Ralf.Habacker  <ralf.habacker@freenet.de>
306
307         * dbus/dbus-sysdeps-util-win.c (dbus_become_daemon): 
308         win32 compile fix. 
309
310 2007-03-13  Ralf.Habacker  <ralf.habacker@freenet.de>
311
312         * dbus-win.patch: removed obsolate patches. 
313
314 2007-03-13  Ralf.Habacker  <ralf.habacker@freenet.de>
315
316         * dbus/dbus-sysdeps-win.c: added zero byte sending 
317         and receiving after connection start up
318
319 2007-03-11  Havoc Pennington  <hp@redhat.com>
320
321         * tools/dbus-launch.c (do_close_stderr): fix C89 problem and
322         formatting problem
323
324         * Mostly fix the DBusPipe mess.
325         - put line break after function return types
326         - put space before parens
327         - do not pass structs around by value
328         - don't use dbus_strerror after calling supposedly cross-platform
329         api
330         - don't name pipe variables "fd"
331         - abstract special fd numbers like -1 and 1
332
333 2007-03-12  Ralf Habacker  <ralf.habacker@freenet.de>
334
335         * dbus/dbus-sysdeps-win.h, dbus/dbus-sysdeps-win.c, 
336         dbus/dbus-sysdeps-util-win.c: renamed functions 
337         _dbus_xxx_file() to _dbus_file_xxx() to reflect 
338         struct name DBusFile. 
339
340 2007-03-12  Ralf Habacker  <ralf.habacker@freenet.de>
341
342         * dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon):
343         fix _dbus_pid_fd check. 
344
345 2007-03-10  Ralf Habacker  <ralf.habacker@freenet.de>
346
347         * tools/dbus-print-message.c (print_message):
348         added printing of the reply serial to method returns and 
349         errors, so you can actually figure out the message/reply 
350         pairs - patch by olli.salli at collabora.co.uk.
351
352 2007-03-10  Ralf Habacker  <ralf.habacker@freenet.de>
353
354         * dbus-win.patch: removed committed patches. 
355
356 2007-03-10  Ralf Habacker  <ralf.habacker@freenet.de>
357
358         * bus/bus.c, bus/bus.h, bus/main.c, bus/test.c,
359         dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-util-unix.c,
360         dbus/dbus-sysdeps-util-win.c, dbus/dbus-sysdeps-win.c,
361         dbus/dbus-sysdeps.h: renamed _dbus_xxx_pipe to _dbus_pipe_xxx,
362         completed _dbus_pipe support. 
363
364 2007-03-10  Ralf Habacker  <ralf.habacker@freenet.de>
365
366         * dbus/dbus-sysdeps.h (_dbus_listen_tcp_socket):
367         changed type or port to pointer, because the port is given back.
368
369         * dbus/dbus-server-socket.c (_dbus_server_new_for_tcp_socket):
370         implemented returning tcp port. Skipping port parameter
371         and non integer port values in config <listen> statement
372         needs more effort.
373
374         * dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps-win.c
375         (_dbus_listen_tcp_socket): return the real used tcp port.
376
377         * bus/dbus-daemon.1.in: added <listen> tcp examples
378
379 2007-03-09  Ralf Habacker  <ralf.habacker@freenet.de>
380
381         * cmake/config.h.cmake: win32 msvc bug fix
382
383 2007-03-09  Ralf Habacker  <ralf.habacker@freenet.de>
384
385         * cmake/config.h.cmake: fixed DBUS_WINxx defines,
386         using _WINCE does not work.
387
388 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
389
390         * dbus-win.patch: removed _dbus_write_pipe() patch, it is now 
391         committed.
392
393 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
394
395         * bus/bus.c, dbus/dbus-sysdeps-unix.c, dbus/dbus-sysdeps.h:
396         rename pipe related write() function calls to _dbus_write_pipe().
397
398 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
399
400         * dbus-win.patch: added bus/config-loader-libexpat.c patch, 
401         uses DBUS_WIN for alls win32 related #ifdefs, 
402         some minor cleanups
403
404 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
405
406         * dbus-win.patch: updated patch for bus/dispatch.c.
407
408 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
409
410         * dbus-win.patch: dbus-connection.c (dbus_connection_get_unix_user,
411         dbus_connection_get_unix_process_id): Let return them valid user id's, 
412         otherwise bus-test fails. How to replace on win32 ?.
413         
414         * dbus/dbus-sysdeps-win.c (fill_win_user_info_homedir):
415         fix memory leak.
416
417 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
418
419         * dbus/dbus-sysdeps-win.c (_dbus_win_set_error_from_win_error):
420         use dbus friendly error name.
421         (fill_win_user_info_homedir): print user name in error case too.
422
423 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
424
425         * cmake/ConfigureChecks.cmake: fixed socketpair check
426
427 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
428
429         * bus/dispatch.c: disabled segfault test on win32 for now
430
431 2007-03-08  Ralf Habacker  <ralf.habacker@freenet.de>
432
433         * configure.in, cmake/ConfigureChecks.cmake: added check 
434         for setrlimit. 
435         * test/test-segfault.c: only include setrlimit stuff only 
436         when available.  
437
438 2007-03-07  Ralf Habacker  <ralf.habacker@freenet.de>
439
440         * test/test-segfault.c: unix compile fix.
441         * dbus-win.patch: removed obsolate patches.
442
443 2007-03-07  Ralf Habacker  <ralf.habacker@freenet.de>
444
445         * bus/activation.c: removed obsolate include header.
446         * test/test-segfault.c: win32 compile fix, rlimit 
447         isn't available on win32.
448         * dbus-win.patch: removed some more patches, they
449         are applied or obsolate 
450
451 2007-03-06  Ralf Habacker  <ralf.habacker@freenet.de>
452
453         * bus-win.patch: fixes unix listen problems, dbus-test 
454         now runs.
455
456 2007-03-06  Ralf Habacker  <ralf.habacker@freenet.de>
457
458         * cmake/dbus/CMakeLists.txt,cmake/bus/CMakeLists.txt,
459         cmake/CMakeLists.txt: win32 compile fix
460
461 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
462
463         * dbus-win.patch, README.win: added available win32 
464         patches from windbus project (http://sf.net/projects/windbus)
465
466 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
467
468         * bus/activation.c: (bus_activation_activate_service):
469         fixed call to _dbus_spawn_async_with_babysitter().
470
471 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
472
473         * dbus/dbus-spawn.c,dbus/dbus-spawn.h (_dbus_spawn_async_with_babysitter):
474         added environment pointer as function parameter, used on win32.
475
476         * test/spawn-test.c: fixed call to above mentioned function.
477
478 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
479
480         * configure.in,test/test-sleep-forever.c,test/test-names.c: 
481         added configure check for unistd.h.
482
483 2007-03-04  Ralf Habacker  <ralf.habacker@freenet.de>
484
485         * test/Makefile.am: fixed test data copy problem in 
486         out of source build, when sources came from svn or cvs. 
487
488 2007-03-03  Ralf Habacker  <ralf.habacker@freenet.de>
489
490         * dbus/*-win.*,bus/*-win.*: added win32 platform related
491         files. These files are only added to the cmake build system.  
492         The missing dbus-win.patch file will be added later. 
493
494 2007-03-03  Ralf Habacker  <ralf.habacker@freenet.de>
495
496         * cmake: new directory, contains cmake build support.
497         See http://www.cmake.org for more informations.
498         Currently only unix will be buildable because some 
499         win32 required files are still missing. 
500
501 2007-03-03  Thiago Macieira  <thiago@kde.org>
502
503         * dbus/dbus-sysdeps-unix.c: capture the dbus-launch stderr
504         output and add it to the DBusError message we return.
505
506         * tools/dbus-launch.1:
507         * tools/dbus-launch.c: Add option --close-stderr to, well,
508         close stderr before starting dbus-daemon.
509
510 2007-01-31  Havoc Pennington  <hp@redhat.com>
511
512         * bus/dbus-daemon.1.in: write a section in the man page on running
513         a test daemon for debugging purposes
514
515 2007-01-26  Havoc Pennington  <hp@redhat.com>
516
517         * bus/session.conf.in: override all the default limits with much
518         higher limits on the session bus, there is no reason the session
519         bus should have low limits
520
521         * bus/config-parser.c (bus_config_parser_new): increase default
522         limits so they are less likely to be hit; in particular the max
523         replies per connection was way too low
524
525 2006-01-25  Simon McVittie  <simon.mcvittie@collabora.co.uk>
526
527         * doc/dbus-tutorial.xml: Replace Python section of tutorial with
528         a pointer to the tutorial maintained as part of dbus-python
529
530 2006-12-31  Ralf Habacker  <ralf.habacker@freenet.de>
531
532         * dbus/dbus-sysdeps-unix.c: unix compile fix, moved 
533         atomic_exchange_and_add() from dbus/dbus-sysdeps.c 
534         to here, it's used by _dbus_atomic_inc() and _dbus_atomic_dec().
535
536 2006-12-31  Ralf Habacker  <ralf.habacker@freenet.de>
537
538         * tools/dbus-monitor.c: gettimeofday() is not available 
539         on windows so we have to provide our own. It's taken from 
540         lgpl'd kdewin32 package. - Patches from Christian Ehrlicher
541
542 2006-12-31  Ralf Habacker  <ralf.habacker@freenet.de>
543
544         * dbus/dbus-sysdeps-unix.c: moved _dbus_atomic_inc/dec() 
545         from dbus/dbus-sysdeps.c, windows version of _dbus_atomic_inc/dec() 
546         is in dbus-sysdeps-win.c (not in this patch).
547
548         * dbus/dbus-sysdeps.h: DBusAtomic::value is long on windows to fit 
549         with InterlockedInc/Decrement. 
550         - Patches from Christian Ehrlicher
551         
552 2006-12-31  Ralf Habacker  <ralf.habacker@freenet.de>
553
554         * tools/dbus-send.c, tools/dbus-monitor.c: win32 compile fix.
555
556 2006-12-31  Ralf Habacker  <ralf.habacker@freenet.de>
557
558         * dbus/dbus-marshal-recursive.c (type DBusTypeReaderClass):
559         fix mispaced const statement. - Patch from Peter Kümmel
560
561 2006-12-19  Ray Strode  <rstrode@redhat.com>
562
563         * bus/bus.c (process_config_every_time):
564         don't overwrite existing bus context activation object
565         until after we've checked that the new activation is
566         valid.
567
568         * bus/main.c 
569         (signal_handler), (handle_reload_watch):
570         don't call exit() on failure, instead make do and keep
571         going.
572         (close_reload_pipe): new function to turn off
573         hangup-causes-config-reload behavior if an unexpected
574         error occurs
575
576 2006-12-13  Ralf Habacker  <ralf.habacker@freenet.de>
577
578         * dbus/dbus-sysdeps-win-thread.c (_dbus_condvar_wait_win32):
579         correctness fix. - Patch from Christian Ehrlicher
580
581 2006-12-13  Ralf Habacker  <ralf.habacker@freenet.de>
582
583         * dbus/dbus-internals.h: msvc also knows about __FUNCTION__, 
584         we should also use it. - Patch from Christian Ehrlicher
585
586 2006-12-13  Ralf Habacker  <ralf.habacker@freenet.de>
587   
588         * dbus-sysdeps-util.c: added win32 related tests
589
590 2006-12-12  Ralf Habacker  <ralf.habacker@freenet.de>
591
592         * dbus/dbus-string.c (_dbus_string_pop_line),
593         bus/desktop-file.c (parse_section_start,
594         parse_comment_or_blank,parse_key_value,): uses
595         _dbus_string_find_eol() to support platform independent eol style.
596
597 2006-12-12  Ralf Habacker  <ralf.habacker@freenet.de>
598
599         * dbus/dbus-string.[ch] (_dbus_string_find_eol): new function. 
600         * dbus/dbus-string-util.c (_dbus_string_test): added testcases for 
601               _dbus_string_find_eol().
602         Approved by: Havoc Pennington.
603
604 2006-12-12  Tim Dijkstra <tim@famdijkstra.org>
605
606         * configure.in: Added switch to disable user_database caching.
607
608         * dbus/dbus-userdb-util.c, dbus/dbus-userdb.c: Add ifdefs to
609         be able disable user_dabase caching.
610
611 2006-12-12  Tim Dijkstra <tim@famdijkstra.org>
612
613         * bus/bus.c, bus/bus.h: Remove DBusUserDatabase from the BusContext 
614         struct. It is unnecessary we have a global one already. Also remove 
615         bus_context_get_user_database function, it is no longer needed.
616         Flush the global database on reload.
617
618         * dbus/dbus-userdb-util.c: Replace _dbus_user_database_get_groups 
619         with _dbus_groups_from_uid. It no longer needs a DBusUserDatabase.
620
621         * dbus/dbus-userdb.c, dbus/dbus-userdb.h: 
622         Add _dbus_user_database_flush_system. 
623         Make more functions DBUS_USERDB_INCLUDES_PRIVATE. 
624         Small unrelated change in _dbus_is_a_number: change 
625         _dbus_string_parse_int to _dbus_string_parse_uint. 
626
627         * bus/connection.c: Change call to _dbus_user_database_get_groups to 
628         _dbus_groups_from_uid.
629
630         * bus/policy.c, bus/policy.h: Change call to 
631         _dbus_user_database_get_groups to _dbus_groups_from_uid. Remove 
632         DBusUserDatabase from bus_policy_allow_user prototype, it no longer 
633         needs it.
634
635 2006-12-12  John (J5) Palmieri  <johnp@redhat.com>
636
637         * bus/signal.c: Fix match_rule_equal errata
638         (CVE-2006-6107 - Patch from Kimmo Hämäläinen 
639         <kimmo.hamalainen@nokia.com>)
640
641 2006-11-19  Thiago Macieira  <thiago@kde.org>
642
643         * dbus/dbus-sysdeps-pthread.c (_dbus_pthread_mutex_lock,
644         _dbus_pthread_condvar_wait,
645         _dbus_pthread_condvar_wait_timeout): set pmutex->holder to
646         pthread_self() after coming back from a conditional variable
647         wait as well as in one codepath where it was forgotten.
648         Approved by: Havoc Pennington.
649
650 2006-11-17  Havoc Pennington  <hp@redhat.com>
651
652         * update-dbus-docs.sh: allow setting fd.org username via env
653         variable. Make it run autogen with --enable-xml-docs=yes
654         --enable-doxygen-docs=yes so configure will fail if the required
655         tools are missing.
656
657 2006-11-17  Havoc Pennington  <hp@redhat.com>
658
659         * doc/dbus-faq.xml: minor FAQ tweaks
660
661 2006-11-14  Havoc Pennington  <hp@redhat.com>
662         
663         * dbus/dbus-misc.c, dbus/dbus-misc.h: Move
664         dbus_get_local_machine_id() to its own file, no substantive
665         changes. There are a couple other things we might want to add that
666         are "misc" so moving out of dbus-connection.[hc] which is big
667         enough already.
668         
669 2006-11-14  Havoc Pennington  <hp@redhat.com>
670
671         * dbus/dbus-internals.c (_dbus_generate_uuid): The spec said the
672         UUID had the timestamp last, but the implementation had it first;
673         move it to last since I think it's a tiny bit nicer (easier to
674         compare at a glance, faster to sort, less code), and will not
675         cause any practical compatibility problems. Also, always convert
676         the timestamp to big endian.
677
678         * doc/dbus-specification.xml: Clean up the docs on the UUID.
679
680         * tools/dbus-uuidgen.1: more prominently say it is not suitable
681         as a replacement for regular uuidgen/RFC4122.
682
683 2006-11-14  John (J5) Palmieri  <johnp@redhat.com>
684
685         * dbus/dbus-threads.h: fix DBUS_THREAD_FUNCTIONS_ALL_MASK to have
686         the correct value so we don't assert when initalizing recursive threads
687
688         * test/name-test/test-thread-init.c: call dbus_threads_init_default
689         instead of _dbus_threads_init_debug since it is more of a real world
690         test
691