Imported Upstream version 0.100.2
[platform/upstream/dbus-glib.git] / ChangeLog
1 commit 02b44f8427ea48463d7b9f2a9f7099be7643b60d
2 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3 Date:   2013-02-25 12:24:35 +0000
4
5     0.102: respin tarball
6
7  configure.ac |    2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 commit 78f3e953e4a05a1126874dd2ca6cec5777a15b3b
11 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
12 Date:   2013-02-15 12:37:04 +0000
13
14     0.100.1 point release
15
16  configure.ac |    2 +-
17  1 file changed, 1 insertion(+), 1 deletion(-)
18
19 commit 166978a09cf5edff4028e670b6074215a4c75eca
20 Author: Colin Walters <walters@verbum.org>
21 Date:   2013-02-14 10:19:34 -0500
22
23     CVE-2013-0292: dbus-gproxy: Verify sender of NameOwnerChanged signals
24     to be o.f.DBus
25
26     Anyone can hop on the bus and emit a signal whose interface is
27     o.f.DBus; it's expected at the moments that clients (and notably DBus
28     libraries) check the sender.
29
30     This could previously be used to trick a system service using
31     dbus-glib
32     into thinking a malicious signal came from a privileged source, by
33     claiming that ownership of the privileged source's well-known name had
34     changed from the privileged source's real unique name to the
35     attacker's
36     unique name.
37
38     [altered to be NULL-safe so it won't crash on peer connections -smcv]
39     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
40     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
41
42  dbus/dbus-gproxy.c |    7 ++++---
43  1 file changed, 4 insertions(+), 3 deletions(-)
44
45 commit c6cbdf9ed99f82983dd529319475dd02c53ad2aa
46 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
47 Date:   2012-06-25 18:23:30 +0100
48
49     Fix builds without tests
50
51  test/manual/Makefile.am |    5 +++++
52  1 file changed, 5 insertions(+)
53
54 commit a0dd0c8c240896a5dd205c1dbc51924b9d41f833
55 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
56 Date:   2012-06-25 17:26:48 +0100
57
58     Prepare version 0.100
59
60  configure.ac |    4 ++--
61  1 file changed, 2 insertions(+), 2 deletions(-)
62
63 commit 8b7e4a1c4ae055864e26db4addbcc2dc38ee6963
64 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
65 Date:   2012-04-16 12:11:38 +0100
66
67     Fix two crashes when dbus_g_proxy_new_for_peer is used on a bus
68
69     The first part of the bug is that when NameOwnerChanged is received
70     with
71     a dbus_g_proxy_new_for_peer (which has no name) alive, checking
72     whether it was affected by the NameOwnerChanged caused a NULL
73     dereference and segfault.
74
75     The second part of the bug is that if the last proxy in existence is
76     for a peer, when it was unregistered there would be no
77     owner_match_rules,
78     causing a crash.
79
80     Both are exercised in the new test added here.
81
82     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41126
83     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
84     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
85
86  .gitignore              |    1 +
87  dbus/dbus-gproxy.c      |    5 +-
88  test/core/Makefile.am   |    3 +
89  test/core/peer-on-bus.c |  148
90  +++++++++++++++++++++++++++++++++++++++++++++++
91  test/core/run-test.sh   |    1 +
92  5 files changed, 156 insertions(+), 2 deletions(-)
93
94 commit 82d45d15088d206f1e1f024215e95301fa04e92c
95 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
96 Date:   2012-04-16 12:10:37 +0100
97
98     Add a utility function to tear down a private connection in tests
99
100     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41126
101     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
102
103  configure.ac                |    1 +
104  test/Makefile.am            |    4 +--
105  test/core/Makefile.am       |    4 ++-
106  test/interfaces/Makefile.am |    4 ++-
107  test/lib/Makefile.am        |   19 ++++++++++++
108  test/lib/util.c             |   69
109  +++++++++++++++++++++++++++++++++++++++++++
110  test/lib/util.h             |   32 ++++++++++++++++++++
111  7 files changed, 129 insertions(+), 4 deletions(-)
112
113 commit 403c5bf4d98fcba83caa94aee96da27128bbf9c8
114 Author: Matthias Klose <doko@ubuntu.com>
115 Date:   2012-06-25 17:11:45 +0100
116
117     Fix build error with -Werror=format-security
118
119     Origin: vendor, Ubuntu
120     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
121
122  dbus/dbus-gobject.c |    2 +-
123  1 file changed, 1 insertion(+), 1 deletion(-)
124
125 commit ae0ed3e435c550c3fae1a86a1c3cb42da319dff2
126 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
127 Date:   2011-09-28 17:42:44 +0100
128
129     Move use of 0 as an error domain into the invalid-usage test
130
131     I think this is invalid, although others might disagree.
132
133     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
134     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
135     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
136
137  test/core/error-mapping.c   |   26 --------------------------
138  test/manual/invalid-usage.c |   25 +++++++++++++++++++++++++
139  2 files changed, 25 insertions(+), 26 deletions(-)
140
141 commit 92c613b8f429a4fe6c762805f1a4f3588511e6a7
142 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
143 Date:   2011-09-28 17:35:42 +0100
144
145     Add a manual test for various invalid behaviour
146
147     Most of this has been sitting in a branch since fd.o #30171; fixing
148     fd.o #40151, another case of library-user error leading to undefined
149     behaviour and a hard-to-diagnose crash, seems a good time to get this
150     merged.
151
152     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
153     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
154     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
155
156  .gitignore                  |    1 +
157  configure.ac                |    1 +
158  test/Makefile.am            |    4 +-
159  test/manual/Makefile.am     |   27 ++++
160  test/manual/invalid-usage.c |  295
161  +++++++++++++++++++++++++++++++++++++++++++
162  5 files changed, 326 insertions(+), 2 deletions(-)
163
164 commit 539bd92b8703134057c039f965ff7a5b5434c3a7
165 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
166 Date:   2011-09-28 17:41:35 +0100
167
168     Remove tests in test-dbus-glib which basically just test error mapping
169
170     Also remove the methods on MyObject that only existed to support these
171     tests; ThrowError is now versatile enough to implement them all.
172
173     Leave ThrowUnregisteredError as it is, since it violates GError
174     expectations (see GNOME#660371), but stop using it in test-dbus-glib -
175     it's enough to use it in test-error-mapping.
176
177     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
178     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
179     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
180
181  test/core/my-object.c           |   36 -------------------------------
182  test/core/test-dbus-glib.c      |   45
183  ---------------------------------------
184  test/core/test-service-glib.xml |    9 --------
185  3 files changed, 90 deletions(-)
186
187 commit b0dc0f419b641f4ab8fdd8eaf69f4ed4c2d61159
188 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
189 Date:   2011-09-28 14:56:45 +0100
190
191     Add a new test for error mapping
192
193     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
194     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
195     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
196
197  .gitignore                |    1 +
198  test/core/Makefile.am     |    7 +
199  test/core/error-mapping.c |  327
200  +++++++++++++++++++++++++++++++++++++++++++++
201  test/core/run-test.sh     |    1 +
202  4 files changed, 336 insertions(+)
203
204 commit 5aa25d4f3c44e7f46e95b8d8de64bf63f2c7c42e
205 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
206 Date:   2011-09-28 17:23:18 +0100
207
208     MyObject: make ThrowError, AsyncThrowError throw a caller-specified
209     error
210
211     This can be used to test arbitrary errors, but only in-process; in
212     tests with the service out-of-process, like test-dbus-glib,
213     the initial
214     error (matching the error they previously threw) will always be used.
215
216     This obsoletes ThrowErrorUnderscore, ThrowErrorMultiWord and
217     ThrowNotSupported, but not ThrowUnregisteredError due to some strange
218     assumptions about the validity of GError domains in that method
219     (see GNOME#660731).
220
221     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
222     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
223     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
224
225  test/core/my-object.c |   49
226  +++++++++++++++++++++++++++++++++++--------------
227  test/core/my-object.h |    5 +++++
228  2 files changed, 40 insertions(+), 14 deletions(-)
229
230 commit df3949806818ba0eab495fcaad2c7f3ad38007c7
231 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
232 Date:   2011-09-28 16:14:52 +0100
233
234     test-dbus-glib.c isn't GTest yet, but add bug numbers anyway
235
236     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
237     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
238     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
239
240  test/core/test-dbus-glib.c |    4 ++++
241  1 file changed, 4 insertions(+)
242
243 commit ead4ef065f700a4b586e78400789a7a18c856cc4
244 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
245 Date:   2011-09-28 14:57:02 +0100
246
247     Add copyright/licensing information to test-dbus-glib
248
249     I've tried to dig up the copyright holders from git history; possibly
250     incomplete, but none of them cared enough to add their own copyright
251     notices, so this is the best we'll get.
252
253     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
254     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
255     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
256
257  test/core/test-dbus-glib.c |   26 ++++++++++++++++++++++++++
258  1 file changed, 26 insertions(+)
259
260 commit 309bce6d7965037bc6f1827715d2372ae19c98d5
261 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
262 Date:   2011-09-28 13:23:29 +0100
263
264     Form a valid D-Bus error name if an unmapped error has a negative code
265
266     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
267     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
268     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
269
270  dbus/dbus-gobject.c |    3 ++-
271  1 file changed, 2 insertions(+), 1 deletion(-)
272
273 commit ffd32e448a76045696d81a82fec9aeac7dd5e64b
274 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
275 Date:   2011-09-28 12:20:16 +0100
276
277     If an error code is out of range for its domain, warn about it
278
279     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
280     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
281     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
282
283  dbus/dbus-gobject.c |   10 +++++++++-
284  1 file changed, 9 insertions(+), 1 deletion(-)
285
286 commit a31371cb5852c485b85926125988c0a170a640ca
287 Author: David Woodhouse <dwmw2@infradead.org>
288 Date:   2011-09-28 12:16:01 +0100
289
290     Don't crash in gerror_domaincode_to_dbus_error_name if code is out
291     of range
292
293     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40151
294     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
295
296  dbus/dbus-gobject.c |    3 ++-
297  1 file changed, 2 insertions(+), 1 deletion(-)
298
299 commit 86ba4b0b8591b882803be1a064df4c213349fba0
300 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
301 Date:   2011-09-22 18:25:02 +0100
302
303     dbus_g_value_parse_variant: fix several GVariant ref leaks
304
305     g_variant_get_child_value() (and hence g_variant_get_variant(),
306     which is
307     a simple wrapper) returns a ref to the child; we were assuming
308     it didn't.
309
310     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41125
311     Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
312
313  dbus/dbus-gvalue-parse-variant.c |   56
314  ++++++++++++++++++++++++++------------
315  1 file changed, 38 insertions(+), 18 deletions(-)
316
317 commit 51222609f1af2eda0c223881dda3985435c3ad3f
318 Author: Colin Walters <walters@verbum.org>
319 Date:   2012-01-08 11:29:33 -0500
320
321     test-service-glib: Fix build with GLib 2.30
322
323     Only <glib.h> can be included directly.
324
325  test/core/test-service-glib.c |    1 -
326  1 file changed, 1 deletion(-)
327
328 commit 0215b0af4c95c9b9fc79ada5b99882f1261e2644
329 Author: Colin Walters <walters@verbum.org>
330 Date:   2012-01-08 11:28:10 -0500
331
332     autogen.sh: Honor NOCONFIGURE=1 environment variable
333
334     http://people.gnome.org/~walters/docs/build-api.txt
335
336  autogen.sh |   24 ++++++++++++++----------
337  1 file changed, 14 insertions(+), 10 deletions(-)
338
339 commit 6a8daa9569a4a6c2610758b122f46f181ce52448
340 Author: Derek Foreman <derek.foreman@collabora.co.uk>
341 Date:   2011-04-20 12:14:23 -0400
342
343     Support building on Android
344
345     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
346     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=42532
347
348  .gitignore       |    1 +
349  Android.mk       |   35 +++++++++++++++++++++++++++++++++++
350  dbus/Makefile.am |    9 +++++++++
351  3 files changed, 45 insertions(+)
352
353 commit dfdb0de78563a01c3d722e1de83d85e90163feaa
354 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
355 Date:   2011-09-30 16:12:29 +0100
356
357     Micro version
358
359  configure.ac |    2 +-
360  1 file changed, 1 insertion(+), 1 deletion(-)
361
362 commit f669a4aa6c7caaf6cbf9395ed14a1a357c4f6004
363 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
364 Date:   2011-09-30 12:06:50 +0100
365
366     Prepare 0.98
367
368  configure.ac |    4 ++--
369  1 file changed, 2 insertions(+), 2 deletions(-)
370
371 commit 1803b6cf35876247bb3e577bec9be8eed8b1b825
372 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
373 Date:   2011-08-17 19:28:04 +0100
374
375     invoke_object_method: simplify how we return
376
377     Based on review feedback from Cosimo.
378
379     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
380     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
381     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
382
383  dbus/dbus-gobject.c |    5 +----
384  1 file changed, 1 insertion(+), 4 deletions(-)
385
386 commit 83bdd09f6124289dd19556da9334906f28064838
387 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
388 Date:   2011-08-17 19:26:46 +0100
389
390     dbus-gobject: centralize death-by-OOM and use oom() instead of goto
391
392     You can't recover from OOM (in GLib-land) so there's no point in
393     complicating the code for the reader.
394
395     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
396     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
397     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
398
399  dbus/dbus-gobject.c |   37 +++++++++++++++++++------------------
400  1 file changed, 19 insertions(+), 18 deletions(-)
401
402 commit 705761ad983392c311c3e66c3ddf7e44e0efbc6f
403 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
404 Date:   2011-09-27 18:42:33 +0100
405
406     Fix various minor documentation bugs
407
408     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
409     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
410     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
411     Bug-NB: related to NB#218973
412
413  dbus/dbus-glib.c                     |    2 +-
414  dbus/dbus-glib.h                     |    2 +-
415  dbus/dbus-gmain.c                    |   10 +++++-----
416  dbus/dbus-gobject.c                  |   33
417  +++++++++++++++++++--------------
418  dbus/dbus-gproxy.c                   |   33
419  ++++++++++++++++++++++++++++-----
420  dbus/dbus-gvalue.c                   |    2 +-
421  doc/reference/dbus-glib-sections.txt |    6 +++++-
422  7 files changed, 60 insertions(+), 28 deletions(-)
423
424 commit 0d058307cb914fa61e809b9e0500ac139e286ec6
425 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
426 Date:   2011-09-27 17:47:03 +0100
427
428     specialized types: improve documentation and document more things
429
430     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
431     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
432     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
433     Bug-NB: related to NB#218973
434
435  dbus/dbus-gtype-specialized.c        |  436
436  +++++++++++++++++++++++++++++-----
437  dbus/dbus-gtype-specialized.h        |    6 +-
438  doc/reference/dbus-glib-sections.txt |    1 +
439  3 files changed, 388 insertions(+), 55 deletions(-)
440
441 commit b3af6fdb643f9293d156c95860270a997b9f6843
442 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
443 Date:   2011-09-27 17:50:07 +0100
444
445     dbus_g_type_collection_value_iterate, etc.: check that the type
446     is suitable
447
448     Otherwise we'd probably crash when we cast the vtable to an
449     inappropriate
450     type, and call its methods with inappropriate arguments as a result.
451
452     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
453     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
454     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
455     Bug-NB: related to NB#218973
456
457  dbus/dbus-gtype-specialized.c |   29 +++++++++++++++++++++++++----
458  1 file changed, 25 insertions(+), 4 deletions(-)
459
460 commit 3183d79b119d0296924602f19d9fc2a58a7bd597
461 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
462 Date:   2011-09-27 17:47:46 +0100
463
464     dbus_g_type_collection_get_fixed: check preconditions on the type
465     and vtable
466
467     Previously, if it wasn't a collection or didn't have the
468     fixed_accessor,
469     we'd just segfault. Not ideal.
470
471     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
472     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
473     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
474     Bug-NB: related to NB#218973
475
476  dbus/dbus-gtype-specialized.c |   14 ++++++++++----
477  1 file changed, 10 insertions(+), 4 deletions(-)
478
479 commit 7fcaf6c8c6d0e6ade0e8d5460b5311b564a24d3f
480 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
481 Date:   2011-09-27 17:41:36 +0100
482
483     dbus-gtype-specialized: warn if vtables have missing callbacks
484
485     It's just about conceivable that they wouldn't segfault, if
486     application
487     authors carefully avoided the unimplemented functionality... but
488     still.
489
490     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
491     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
492     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
493     Bug-NB: related to NB#218973
494
495  dbus/dbus-gtype-specialized.c |   19 ++++++++++++++++++-
496  1 file changed, 18 insertions(+), 1 deletion(-)
497
498 commit 58ed26382bf23fe9fb592d38b5be2c2c7b2e77e2
499 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
500 Date:   2011-05-31 16:17:10 +0100
501
502     Tidy up docs for DBusGError and its pseudo-methods
503
504     * attach the introductory doc-comments to the enum and macro names,
505       not the internal function
506     * remove docs for method parameters which didn't actually exist
507     * more cross-references
508     * make the domain macro visible in the documentation index
509
510     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
511     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
512     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
513     Bug-NB: related to NB#218973
514
515  dbus/dbus-glib.c                     |   33
516  ++++++++++++++++++---------------
517  doc/reference/dbus-glib-sections.txt |    1 -
518  2 files changed, 18 insertions(+), 16 deletions(-)
519
520 commit 4b6482d5987095b474c9582e7415bf94a154d9b4
521 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
522 Date:   2011-09-27 16:25:21 +0100
523
524     Make gtk-doc DOC_SOURCE_DIR absolute, fixing out-of-tree docs
525
526     I used an absolute path to avoid differing behaviour with older
527     versions
528     of gtk-doc, where DOC_SOURCE_DIR was relative to the *source*
529     directory.
530
531     Also resync doc/reference/Makefile.am with gtk-doc's example.
532
533     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
534     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
535
536  doc/reference/Makefile.am |   51
537  +++++++++++++++++++++++++++++++++------------
538  1 file changed, 38 insertions(+), 13 deletions(-)
539
540 commit 83471e869e464c63063e9e254bc8c40b25de03b7
541 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
542 Date:   2011-05-31 16:04:29 +0100
543
544     DBusGProxy: be more pedantic about boolean returns
545
546     Returning false doesn't strictly imply that the error is set;
547     if you're
548     being pedantic enough, it's really a tri-state where TRUE indicates
549     success, FALSE indicates failure, and calling the function incorrectly
550     results in undefined behaviour (currently a critical warning and
551     returning FALSE).
552
553     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
554     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
555     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
556     Bug-NB: NB#218973
557
558  dbus/dbus-gproxy.c |   10 +++++-----
559  1 file changed, 5 insertions(+), 5 deletions(-)
560
561 commit c6aa1d7dbdf04501495e4a3b4cfe6e7d808af6dd
562 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
563 Date:   2011-05-31 15:57:44 +0100
564
565     DBusGProxy: misc documentation tidying
566
567     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
568     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
569     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
570     Bug-NB: related to NB#218973
571
572  dbus/dbus-gproxy.c                   |   37
573  +++++++++++++++++++++++++---------
574  doc/reference/dbus-glib-sections.txt |    4 ++++
575  2 files changed, 32 insertions(+), 9 deletions(-)
576
577 commit c568ace5ee6a9c13f748d876d69ad50234b2bc78
578 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
579 Date:   2011-05-31 15:57:15 +0100
580
581     DBusGProxy: make argument names in declaration, definition and
582     docs consistent
583
584     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
585     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
586     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
587     Bug-NB: related to NB#218973
588
589  dbus/dbus-glib.h   |    8 +++----
590  dbus/dbus-gproxy.c |   59
591  +++++++++++++++++++++++++---------------------------
592  2 files changed, 32 insertions(+), 35 deletions(-)
593
594 commit dc766e475f3a42872edbd9c3bcc98714dde8bff7
595 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
596 Date:   2011-05-31 15:55:47 +0100
597
598     DBusGProxy: mark struct contents as private
599
600     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
601     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
602     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
603     Bug-NB: related to NB#218973
604
605  dbus/dbus-glib.h |    2 ++
606  1 file changed, 2 insertions(+)
607
608 commit 9d1cce7c64662733f0b48e52e4d5a1e805a3e246
609 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
610 Date:   2011-05-31 15:40:40 +0100
611
612     Remove declaration of dbus_pending_call_get_g_type, which doesn't
613     exist
614
615     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
616     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
617     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
618     Bug-NB: related to NB#218973
619
620  dbus/dbus-glib-lowlevel.h            |    8 --------
621  doc/reference/dbus-glib-sections.txt |    2 --
622  2 files changed, 10 deletions(-)
623
624 commit 35e049459945a22b87cc61c05bd903790f05cf40
625 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
626 Date:   2011-05-31 16:17:34 +0100
627
628     Add DBUS_TYPE_CONNECTION, DBUS_TYPE_MESSAGE to the docs, and document
629     them better
630
631     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
632     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
633     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
634     Bug-NB: related to NB#218973
635
636  dbus/dbus-glib.c                     |   15 +++++++++++----
637  doc/reference/dbus-glib-sections.txt |    2 +-
638  2 files changed, 12 insertions(+), 5 deletions(-)
639
640 commit 43a4bf8b038c08d6b8c565495cbf69433bc2dcc6
641 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
642 Date:   2011-05-31 16:15:43 +0100
643
644     Tidy up docs for DBusGMessage
645
646     * document the instance struct
647     * make argument names match the headers
648     * document the GType macro, not the function it calls, and mention it
649       in the documentation (since this is a boxed type, so it's
650       non-obvious)
651
652     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
653     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
654     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
655     Bug-NB: related to NB#218973
656
657  dbus/dbus-glib.c                     |   28 ++++++++++++++++++----------
658  doc/reference/dbus-glib-sections.txt |    2 +-
659  2 files changed, 19 insertions(+), 11 deletions(-)
660
661 commit 53ac9ee390e173f8e63f276d8c7e211e4fadca4b
662 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
663 Date:   2011-03-29 16:34:38 +0100
664
665     Clean up docs for DBusGConnection
666
667     * introductory doc-comment for the (pseudo-)class
668     * attach the doc-comment for the GType to the macro, not the internal
669       function
670     * rename function parameters to match what the header file says
671
672     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
673     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
674     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
675     Bug-NB: related to NB#218973
676
677  dbus/dbus-glib.c                     |   26 +++++++++++++++++---------
678  doc/reference/dbus-glib-sections.txt |    2 +-
679  2 files changed, 18 insertions(+), 10 deletions(-)
680
681 commit be937e037a6c076cf650bb79aba9c1138da39511
682 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
683 Date:   2011-03-29 16:42:19 +0100
684
685     Ignore non-API source files correctly
686
687     gtk-doc only cares about the basename of the files.
688
689     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
690     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
691     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
692     Bug-NB: related to NB#218973
693
694  doc/reference/Makefile.am |   17 ++++++++++-------
695  1 file changed, 10 insertions(+), 7 deletions(-)
696
697 commit 053d41e56050706b512562f13b9ebde7dac3c60b
698 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
699 Date:   2011-03-29 16:42:44 +0100
700
701     Remove stray empty subsection
702
703     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
704     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
705     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
706     Bug-NB: related to NB#218973
707
708  doc/reference/dbus-glib-sections.txt |    3 ---
709  1 file changed, 3 deletions(-)
710
711 commit 3d02f22d475286db8160604755ee85d24b133005
712 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
713 Date:   2011-05-31 16:13:24 +0100
714
715     Mention which header to include in the gtk-doc
716
717     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
718     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
719     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
720     Bug-NB: related to NB#218973
721
722  doc/reference/dbus-glib-sections.txt |    8 ++++++++
723  1 file changed, 8 insertions(+)
724
725 commit 30b6a106ed590c0fd97a783998a19779002e65d8
726 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
727 Date:   2011-05-31 16:13:07 +0100
728
729     Add some missing symbols to the docs
730
731     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
732     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
733     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37793
734     Bug-NB: related to NB#218973
735
736  doc/reference/dbus-glib-sections.txt |    6 ++++++
737  1 file changed, 6 insertions(+)
738
739 commit a4bc263721fc5a80a78c6b551f35d281c22694ff
740 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
741 Date:   2011-09-21 18:14:46 +0100
742
743     Micro version
744
745  configure.ac |    2 +-
746  1 file changed, 1 insertion(+), 1 deletion(-)
747
748 commit 80e37faeac62a4694514410ec17c2ab4a75d50e6
749 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
750 Date:   2011-09-21 17:36:11 +0100
751
752     dbus-glib 0.96
753
754  configure.ac |    4 ++--
755  1 file changed, 2 insertions(+), 2 deletions(-)
756
757 commit 4bc172fd5f31123ee883c4027e729b38c2777d7d
758 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
759 Date:   2011-04-05 17:43:15 +0100
760
761     test-dbus-glib: make lose() abort, and make lose_gerror() more
762     informative
763
764     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
765     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
766
767  test/core/test-dbus-glib.c |   21 ++++-----------------
768  1 file changed, 4 insertions(+), 17 deletions(-)
769
770 commit 9e97f9744e7ffeb04a105087da6143931195ce77
771 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
772 Date:   2011-04-05 16:25:15 +0100
773
774     get_all_object_properties: if _dbus_gvalue_marshal fails, bail out
775
776     This isn't necessarily OOM: _dbus_gvalue_marshal can fail due to
777     programming errors. If so, raise a critical warning, then (if
778     that wasn't
779     fatal) return a D-Bus error to be sent to the caller.
780
781     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
782     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
783
784  dbus/dbus-gobject.c |   27 +++++++++++++++++++++++++--
785  1 file changed, 25 insertions(+), 2 deletions(-)
786
787 commit bfd1c05174b86c9dfcf1b22a4fa0b2c552dfc902
788 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
789 Date:   2011-04-05 18:02:47 +0100
790
791     get_all_object_properties: note which operations can only fail via OOM
792
793     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
794     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
795
796  dbus/dbus-gobject.c |   12 ++++++++++++
797  1 file changed, 12 insertions(+)
798
799 commit 30198a2368c9cd19db4b8f595bfad7a719ada7e9
800 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
801 Date:   2011-04-05 16:21:12 +0100
802
803     get_all_object_properties: skip invalidly-named properties, with
804     a critical
805
806     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
807     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
808
809  dbus/dbus-gobject.c |    9 +++++++++
810  1 file changed, 9 insertions(+)
811
812 commit a2a3315ac9747dcc7dda860ceb1d1f94ab56d29b
813 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
814 Date:   2011-08-17 19:15:05 +0100
815
816     dbus-gobject: add and use connection_send_or_die to check for OOM
817
818     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
819     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
820     Conflicts:
821         dbus/dbus-gobject.c
822
823  dbus/dbus-gobject.c |   40 +++++++++++++++++++++++++---------------
824  1 file changed, 25 insertions(+), 15 deletions(-)
825
826 commit 22262581b0956f69f321b9e2eb702e3f15b49823
827 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
828 Date:   2011-04-05 15:50:38 +0100
829
830     emit_signal_for_registration: assert that signal headers are all valid
831
832     This is an assertion, not a return_if_fail, because we already checked
833     the object path in dbus_g_connection_register_g_object and the others
834     in export_signals.
835
836     After these checks, dbus_message_new_signal can really only fail
837     on OOM.
838
839     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
840     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
841
842  dbus/dbus-gobject.c |    4 ++++
843  1 file changed, 4 insertions(+)
844
845 commit cccf1e6672fba6b649fe02082c2f087cdf022dcd
846 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
847 Date:   2011-04-05 15:49:18 +0100
848
849     export_signals: check interface, signal names for validity
850
851     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
852     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
853
854  dbus/dbus-gobject.c |   14 ++++++++++++++
855  1 file changed, 14 insertions(+)
856
857 commit d09dfcb130be0a17f337bd198a9fb43aab7dfa28
858 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
859 Date:   2011-04-05 15:43:30 +0100
860
861     object_registration_message: check for OOM when a property is absent
862
863     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
864     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
865
866  dbus/dbus-gobject.c |    8 +++++---
867  1 file changed, 5 insertions(+), 3 deletions(-)
868
869 commit 7b92ac1bfd1e50e842549dbb14b845478d114652
870 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
871 Date:   2011-04-05 15:42:49 +0100
872
873     object_registration_message: make logic/assertions slightly clearer
874
875     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
876     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
877
878  dbus/dbus-gobject.c |   13 ++++++-------
879  1 file changed, 6 insertions(+), 7 deletions(-)
880
881 commit b5b27e4ca0d8ca250fa7649bcf2613e8d889a722
882 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
883 Date:   2011-04-05 15:42:29 +0100
884
885     object_registration_message: handle remote caller errors better
886
887     If the remote process sends us a wrong message, that's its fault, not
888     ours; we should send back a comprehensible D-Bus error, and not spam
889     to stderr.
890
891     Previously, in each of these cases libdbus would have sent back
892     NoReply,
893     because we declined to handle the method call.
894
895     One case that's still wrong is passing extra arguments to Get,
896     GetAll or
897     Set, like so:
898
899         Get("com.example.Iface", "MyProperty", "extra")
900         Set("com.example.Iface", "MyProperty", Variant("foo"), "extra")
901         GetAll("com.example.Iface", "extra")
902
903     dbus-glib has historically warned, ignored the extra argument(s)
904     and sent
905     back a reply as if they hadn't been there, whereas a stricter
906     implementation (like telepathy-glib's TpDBusPropertiesMixin) would
907     have sent back an error reply and done nothing.
908
909     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
910     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
911
912  dbus/dbus-gobject.c |   20 ++++++++++++++------
913  1 file changed, 14 insertions(+), 6 deletions(-)
914
915 commit e5cf2be0e03af4df19618076015cc2a6556ca5d4
916 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
917 Date:   2011-04-05 15:36:09 +0100
918
919     get_object_property: add brief documentation
920
921     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
922     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
923
924  dbus/dbus-gobject.c |    5 +++++
925  1 file changed, 5 insertions(+)
926
927 commit d3aa6c7942cce0cf7b602c6b0854488938f0548e
928 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
929 Date:   2011-04-05 15:25:55 +0100
930
931     get_object_property: unwind on errors, and avoid returning NULL
932
933     Also treat all errors here as programming errors (because this method
934     should never fail), upgrading them from warning to critical; return a
935     D-Bus error reply anyway, to be nicer to our callers.
936
937     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
938     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
939
940  dbus/dbus-gobject.c |   33 +++++++++++++++++++++++----------
941  1 file changed, 23 insertions(+), 10 deletions(-)
942
943 commit 98b3b3f323fd4001be0630c3e0a1dc4fb83cdeab
944 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
945 Date:   2011-04-05 15:21:56 +0100
946
947     check_property_access: centralize error handling (and check for OOM)
948
949     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
950     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
951
952  dbus/dbus-gobject.c |   69
953  ++++++++++++++++++++++++++++++++-------------------
954  1 file changed, 43 insertions(+), 26 deletions(-)
955
956 commit 6293849bf0469ce8d6d122b38db5091c21304a30
957 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
958 Date:   2011-08-17 19:11:14 +0100
959
960     dbus-gobject: check for NULL when producing messages
961
962     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
963     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
964     Conflicts:
965         dbus/dbus-gobject.c
966
967  dbus/dbus-gobject.c |    6 +++---
968  1 file changed, 3 insertions(+), 3 deletions(-)
969
970 commit 8ec3166b6a40508a91144efedc10dcb32964498e
971 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
972 Date:   2011-04-05 14:56:16 +0100
973
974     dbus-gobject: factor out reply_or_die, error_or_die and add
975     error-checking
976
977     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35766
978     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
979
980  dbus/dbus-gobject.c |   83
981  +++++++++++++++++++++++++++++++--------------------
982  1 file changed, 50 insertions(+), 33 deletions(-)
983
984 commit 7a1abf5243fe5b7adf7211fd7d8c82851f448192
985 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
986 Date:   2011-04-04 16:52:58 +0100
987
988     invoke_object_method: if marshalling an out argument fails, discard
989     message
990
991     We shouldn't report this as OOM, because it probably wasn't (it's much
992     more likely to be programming error); we should also continue
993     through the
994     arguments, so that we don't leak them.
995
996     By abandoning the message as soon as we detect a programming error,
997     we can use reply == NULL as an indicator of whether to keep appending.
998
999     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
1000     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1001
1002  dbus/dbus-gobject.c |   47
1003  ++++++++++++++++++++++++++++++++++++-----------
1004  1 file changed, 36 insertions(+), 11 deletions(-)
1005
1006 commit 4ba637e2ae32b2daf224265c22cc8b43cf0a0bbf
1007 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1008 Date:   2011-04-04 15:45:07 +0100
1009
1010     invoke_object_method, dbus_g_method_return_error: handle sending
1011     failure
1012
1013     I just made it fatal, since it's either programming error or OOM.
1014
1015     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
1016     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1017
1018  dbus/dbus-gobject.c |    9 +++++++--
1019  1 file changed, 7 insertions(+), 2 deletions(-)
1020
1021 commit cd7e9a1c6dd0eef6e867cac80339a38758d0cd6f
1022 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1023 Date:   2011-04-04 15:44:28 +0100
1024
1025     gerror_to_dbus_error_message: guarantee to return non-NULL
1026
1027     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
1028     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1029
1030  dbus/dbus-gobject.c |    6 ++++++
1031  1 file changed, 6 insertions(+)
1032
1033 commit c239a810543bde85dd458012612874cdc81a4151
1034 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1035 Date:   2011-04-04 15:41:32 +0100
1036
1037     invoke_object_method: if dbus_message_new_method_return fails,
1038     fail hard
1039
1040     There's no point in doing graceful unwinding here, since it really
1041     shouldn't happen.
1042
1043     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
1044     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1045
1046  dbus/dbus-gobject.c |    4 +++-
1047  1 file changed, 3 insertions(+), 1 deletion(-)
1048
1049 commit 480c480b024a77dd8f4efecdb6639d45de9767ce
1050 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1051 Date:   2011-04-04 15:40:40 +0100
1052
1053     arg_iterate: document
1054
1055     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35767
1056     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1057
1058  dbus/dbus-gobject.c |   40 ++++++++++++++++++++++++++++++++++++++++
1059  1 file changed, 40 insertions(+)
1060
1061 commit 36b55c3aac5de873a69c9bd0fbe003200a03ba32
1062 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1063 Date:   2011-06-16 15:33:01 +0100
1064
1065     dbus_g_proxy_manager_unregister: if GetNameOwner failed, don't assert
1066
1067     got_name_owner_cb never adds the proxy to the unassociated_proxies
1068     list
1069     if there is a D-Bus error other than NameHasNoOwner.
1070
1071     Based on a patch from Janne Karhunen, for Maemo.
1072
1073     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38408
1074     Bug-NB: NB#116862
1075     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1076
1077  dbus/dbus-gproxy.c |   10 ++++++----
1078  1 file changed, 6 insertions(+), 4 deletions(-)
1079
1080 commit 18705c42ca6b6a583b64451055eec4dad3aaa3b4
1081 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1082 Date:   2011-06-17 14:40:28 +0100
1083
1084     Add a regression test for fd.o #38406
1085
1086     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38406
1087     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1088
1089  .gitignore             |    1 +
1090  test/core/Makefile.am  |    7 ++
1091  test/core/proxy-peer.c |  274
1092  ++++++++++++++++++++++++++++++++++++++++++++++++
1093  3 files changed, 282 insertions(+)
1094
1095 commit 5d800ca9352b40354a0f4a905c1c0b111b81f030
1096 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1097 Date:   2011-06-17 14:53:09 +0100
1098
1099     MyObject: register marshallers so individual tests don't have to
1100
1101     These marshallers are actually dual-use: they're used to call certain
1102     methods on MyObject, and also to bind to its signals.
1103
1104     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38406
1105     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1106
1107  test/core/Makefile.am      |    4 +++-
1108  test/core/my-object.c      |   12 ++++++++++++
1109  test/core/my-object.h      |    1 +
1110  test/core/test-dbus-glib.c |   11 ++++-------
1111  4 files changed, 20 insertions(+), 8 deletions(-)
1112
1113 commit 70e09208ab13812037b3cf133df312aacd24d036
1114 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1115 Date:   2011-06-17 12:18:57 +0100
1116
1117     DBusGProxy: deal with errors in DBUS_G_VALUE_ARRAY_COLLECT_ALL
1118
1119     G_VALUE_COLLECT can fail (admittedly, it's a programming error if it
1120     does). Previously, we leaked the resulting g_malloc'd string; now we
1121     emit a critical warning, free it, and abort the call.
1122
1123     Based on patches from Kimmo Hämäläinen and Christian Dywan
1124     in Maemo's
1125     dbus-glib.
1126
1127     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38406
1128     Bug-NB: NB#86280
1129     Bug-NB: NB#180486 (CID-34419 to CID-34424 inclusive)
1130     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1131
1132  dbus/dbus-gproxy.c |   93
1133  +++++++++++++++++++++++++++++++++++++---------------
1134  1 file changed, 66 insertions(+), 27 deletions(-)
1135
1136 commit 2731a2f7f824f9c1cd11dd14e88ff1e0875f280b
1137 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1138 Date:   2011-06-17 12:15:20 +0100
1139
1140     dbus_g_proxy_call: simplify error handling now that call_id may be 0
1141
1142     There's no need to special-case it any more - we can just use
1143     dbus_g_proxy_end_call_internal and rely on it to cope.
1144
1145     This reverts the fix for fd.o #12675, since the commit before this one
1146     is more general.
1147
1148     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38406
1149     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1150
1151  dbus/dbus-gproxy.c |   15 +++------------
1152  1 file changed, 3 insertions(+), 12 deletions(-)
1153
1154 commit 1b38cecf7bbdb8a99ef13616b8c661dfb0bc060f
1155 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1156 Date:   2011-06-17 12:06:11 +0100
1157
1158     DBusGProxy: cope gracefully with call_id == 0
1159
1160     As well as happening on a programming error or OOM (which both provoke
1161     critical warnings), dbus_g_proxy_begin_call_internal() can
1162     legitimately
1163     fail if we got disconnected from D-Bus (so can't send any more),
1164     but are
1165     still working through our backlog of incoming messages (so we haven't
1166     got round to the Disconnected message yet, so the DBusGProxy hasn't
1167     emitted ::destroy).
1168
1169     fd.o #12675 fixed dbus_g_proxy_call(), but
1170     dbus_g_proxy_call_with_timeout()
1171     and the asynchronous API still need similar treatment.
1172
1173     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=38406
1174     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1175
1176  dbus/dbus-gproxy.c |   16 ++++++++++++++++
1177  1 file changed, 16 insertions(+)
1178
1179 commit af31c9c21efeec8a38c73de24d82a2038d80f74e
1180 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1181 Date:   2011-08-03 18:38:49 +0100
1182
1183     registrations test: fix race condition in adding match rules
1184
1185     If you don't block waiting for the reply to AddMatch, and you're
1186     using two
1187     connections to the bus, then messages sent from connection 2 might not
1188     be matched by connection 1, because they arrive before the AddMatch
1189     call
1190     from connection 1. This manifests itself as the /registrations/twice
1191     test *sometimes* failing (dependent on timing).
1192
1193     Only tests with two parallel bus connections need this, but to
1194     be safe,
1195     I've added it throughout this test.
1196
1197     Reviewed-by: Vivek Dasmohapatra <vivek@collabora.co.uk>
1198
1199  test/core/registrations.c |   28 +++++++++++++++++++++++++---
1200  1 file changed, 25 insertions(+), 3 deletions(-)
1201
1202 commit 6d06dd358b22057dca1808c1432e620998202c41
1203 Author: Tim Waugh <twaugh@redhat.com>
1204 Date:   2011-07-22 15:13:42 +0100
1205
1206     dbus-binding-tool: fixed "pretty" mode output for methods.
1207
1208     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1209     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39475
1210
1211  dbus/dbus-glib-tool.c |    2 +-
1212  1 file changed, 1 insertion(+), 1 deletion(-)
1213
1214 commit e294ba3e579db1c12158ce95ad6ff34391cf571a
1215 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1216 Date:   2011-06-16 18:12:27 +0100
1217
1218     Show warning if marshalling in dbus_g_method_return fails
1219
1220     Based on a patch from Christian Dywan <christian.dywan@lanedo.com>.
1221
1222     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29884
1223     Bug-NB: NB#180486
1224     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1225
1226  dbus/dbus-gobject.c |    8 +++++++-
1227  1 file changed, 7 insertions(+), 1 deletion(-)
1228
1229 commit cce0887278ae105f010d35636fc5f6d654c2d41f
1230 Author: Christian Dywan <christian.dywan@lanedo.com>
1231 Date:   2010-12-14 15:07:27 +0100
1232
1233     remove minor dead code in dbus-gparser
1234
1235     There's no way retval can be false at this location.
1236
1237     Bug-NB: NB#180486 CID-643
1238     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1239
1240  dbus/dbus-gparser.c |    3 ---
1241  1 file changed, 3 deletions(-)
1242
1243 commit f446cb80f91b4cf584883b47477295d07dd32eac
1244 Author: Derek Foreman <derek.foreman@collabora.co.uk>
1245 Date:   2011-06-02 17:16:42 +0100
1246
1247     remove remaining inclusions of <glib/gi18n.h> from library
1248
1249     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36428
1250     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1251
1252  dbus/dbus-binding-tool-glib.c |    1 -
1253  dbus/dbus-gproxy.c            |    1 -
1254  2 files changed, 2 deletions(-)
1255
1256 commit 2a85bd434e6d8dba9615a53d288a0a72d6b5e0cf
1257 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1258 Date:   2011-06-02 13:50:20 +0100
1259
1260     Regression test for fd.o #37852
1261
1262     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37852
1263     Reviewed-by: Colin Walters <walters@verbum.org>
1264
1265  test/core/my-object.c           |   17 ++++++++++
1266  test/core/my-object.h           |    2 ++
1267  test/core/registrations.c       |   68
1268  +++++++++++++++++++++++++++++++++++++++
1269  test/core/test-service-glib.xml |    4 +++
1270  4 files changed, 91 insertions(+)
1271
1272 commit 3e0828f57c3925ea9b63d22ab82d991a0fea0536
1273 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1274 Date:   2011-06-02 13:49:51 +0100
1275
1276     Fix regression in marshalling objects as object paths
1277
1278     This regressed while fixing fd.o #36811. NetworkManager apparently
1279     uses
1280     this idiom.
1281
1282     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37852
1283     Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628890
1284     Tested-by: Michael Biebl <biebl@debian.org>
1285     Reviewed-by: Colin Walters <walters@verbum.org>
1286
1287  dbus/dbus-gobject.c |    8 ++++----
1288  1 file changed, 4 insertions(+), 4 deletions(-)
1289
1290 commit f534276eb20d8035566a206d1e38fd651a1eeab9
1291 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1292 Date:   2011-05-31 17:03:59 +0100
1293
1294     registrations test: only listen for signals, not all messages
1295
1296     Otherwise, we'd reply with an error to messages not intended for us.
1297
1298     Reviewed-by: Colin Walters <walters@verbum.org>
1299
1300  test/core/registrations.c |    4 ++--
1301  1 file changed, 2 insertions(+), 2 deletions(-)
1302
1303 commit 867d670daad983f8b4416528e69d3ad2e0596e88
1304 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1305 Date:   2011-06-01 19:44:42 +0100
1306
1307     0.95
1308
1309  configure.ac |    2 +-
1310  1 file changed, 1 insertion(+), 1 deletion(-)
1311
1312 commit 469df67525a9e5363644ac730ac8ec7580a8ebe0
1313 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1314 Date:   2011-06-01 19:07:30 +0100
1315
1316     Prepare 0.94 release
1317
1318  configure.ac |    7 ++++---
1319  1 file changed, 4 insertions(+), 3 deletions(-)
1320
1321 commit 5a780af947f0141f4e0524aaf62fdd06abe6cd5f
1322 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1323 Date:   2011-04-04 13:46:11 +0100
1324
1325     dbus-binding-tool: forbid ReturnVal annotation after the first
1326     OUT <arg>
1327
1328     It has never actually worked correctly (invoke_object_method would
1329     always
1330     treat the ReturnVal as if it had been the first OUT argument),
1331     so let's
1332     only allow the situation that worked in practice.
1333
1334     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35952
1335     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1336
1337  dbus/dbus-binding-tool-glib.c |   15 +++++++++++++++
1338  1 file changed, 15 insertions(+)
1339
1340 commit a8605cf4c6c9dbc4a933dd744d339744e0102765
1341 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1342 Date:   2011-06-01 17:33:48 +0100
1343
1344     Fix compiler warnings in dbus-binding-tool
1345
1346     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1347
1348  dbus/dbus-glib-tool.c |    3 ++-
1349  1 file changed, 2 insertions(+), 1 deletion(-)
1350
1351 commit 0c162cc63b073a9f50dd11ea99db72fe95a16064
1352 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1353 Date:   2011-06-01 17:33:07 +0100
1354
1355     Remove all support for Doxygen
1356
1357     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1358     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10890
1359
1360  Doxyfile.in    |  180
1361  --------------------------------------------------------
1362  Makefile.am    |    2 -
1363  README         |    1 -
1364  configure.ac   |   34 +----------
1365  doc/api/README |    3 -
1366  5 files changed, 1 insertion(+), 219 deletions(-)
1367
1368 commit 6e20efb5c4c094915d2b6e86c3cab486a0562a95
1369 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1370 Date:   2011-06-01 17:32:58 +0100
1371
1372     Use single star in doc-comments not intended for gtk-doc
1373
1374     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1375     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10890
1376
1377  dbus/dbus-glib.h          |    4 ++--
1378  dbus/dbus-gloader-expat.c |    2 +-
1379  dbus/dbus-gproxy.c        |    2 +-
1380  dbus/dbus-gtest.c         |    2 +-
1381  4 files changed, 5 insertions(+), 5 deletions(-)
1382
1383 commit 1472d195bd201d219aab5bc4b31d80d8340cee5c
1384 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1385 Date:   2011-06-01 17:32:06 +0100
1386
1387     Remove Doxygen droppings from source code
1388
1389     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1390     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10890
1391
1392  dbus/dbus-gidl.c    |    4 ----
1393  dbus/dbus-gidl.h    |    4 ----
1394  dbus/dbus-glib.c    |    3 +--
1395  dbus/dbus-gmain.c   |   22 +++-------------------
1396  dbus/dbus-gobject.c |    3 +--
1397  dbus/dbus-gparser.c |    4 ----
1398  dbus/dbus-gproxy.c  |   26 ++------------------------
1399  dbus/dbus-gthread.c |    6 ------
1400  dbus/dbus-gutils.c  |    4 ----
1401  dbus/dbus-gutils.h  |    4 ----
1402  dbus/dbus-gvalue.c  |    5 +----
1403  11 files changed, 8 insertions(+), 77 deletions(-)
1404
1405 commit 4c3a346d296789cf3a81f6cc98f64d84ea892247
1406 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1407 Date:   2011-06-01 17:24:36 +0100
1408
1409     Remove _dbus_g_proxy_test, which isn't called and doesn't do anything
1410
1411     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1412     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37790
1413
1414  dbus/dbus-gproxy.c |   17 -----------------
1415  1 file changed, 17 deletions(-)
1416
1417 commit cded5996b02ff937a73654788d1f3a7ca46ca0a9
1418 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1419 Date:   2011-06-01 17:24:29 +0100
1420
1421     Remove _dbus_gutils_test, which didn't test anything
1422
1423     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1424     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37790
1425
1426  dbus/dbus-gtest.c  |    6 +-----
1427  dbus/dbus-gutils.c |   17 -----------------
1428  2 files changed, 1 insertion(+), 22 deletions(-)
1429
1430 commit d81722def291666a3c557a18d66be061f8f55e31
1431 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1432 Date:   2011-06-01 17:24:22 +0100
1433
1434     _dbus_gidl_test: remove unused function which does nothing
1435
1436     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1437     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37790
1438
1439  dbus/dbus-gidl.c |   17 -----------------
1440  1 file changed, 17 deletions(-)
1441
1442 commit 1f371d3c75a5c2e9979350380e4243e3c445e093
1443 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1444 Date:   2011-06-01 17:23:45 +0100
1445
1446     dbus-glib-tool: remove regression-test boilerplate which does nothing
1447
1448     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37790
1449     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1450
1451  dbus/dbus-glib-tool.c |   48
1452  ------------------------------------------------
1453  1 file changed, 48 deletions(-)
1454
1455 commit 8abfa07b8acd2d8527785db3711d8a88a213a60e
1456 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1457 Date:   2011-06-01 17:18:52 +0100
1458
1459     dbus-binding-tool: clean up temporary file on error
1460
1461     This fixes distcheck, which otherwise fails because temporary
1462     files are
1463     left over after distclean. We could delete them with the build system,
1464     but leaving them behind is a bug, so...
1465
1466     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37812
1467     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1468
1469  dbus/dbus-glib-tool.c |   78
1470  ++++++++++++++++++++++++++++++++++++-------------
1471  1 file changed, 58 insertions(+), 20 deletions(-)
1472
1473 commit d5b9aa101d61bcd2321f0266fa638b644e4cba96
1474 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1475 Date:   2011-05-31 14:35:01 +0100
1476
1477     Remove useless HAVE_GLIB conditional - GLib is mandatory
1478
1479     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1480     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37789
1481
1482  configure.ac |    1 -
1483  1 file changed, 1 deletion(-)
1484
1485 commit 601b51279e7fbb08ff6ce8c98eaf4bcee21d46a5
1486 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1487 Date:   2011-03-28 14:40:12 +0100
1488
1489     Remove unused DBUS_DAEMONDIR
1490
1491     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1492     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37789
1493
1494  configure.ac |   10 ----------
1495  1 file changed, 10 deletions(-)
1496
1497 commit 1a966d070e71378590fb0b64c5ec7a2e250d397b
1498 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1499 Date:   2011-03-28 14:39:57 +0100
1500
1501     Remove vestigial dbus-glib-error-*.h and the machinery to generate
1502     them
1503
1504     This was the only use of DBUS_INCLUDEDIR, so remove that too.
1505
1506     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1507     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37789
1508
1509  .gitignore                          |    4 ----
1510  configure.ac                        |    2 --
1511  dbus/Makefile.am                    |   16 ++--------------
1512  dbus/make-dbus-glib-error-enum.sh   |    2 --
1513  dbus/make-dbus-glib-error-switch.sh |    2 --
1514  5 files changed, 2 insertions(+), 24 deletions(-)
1515
1516 commit 98d7cb8c869b53686a742fb48d1f189c74ff1484
1517 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1518 Date:   2011-05-31 14:33:18 +0100
1519
1520     Simplify the check for dbus-1
1521
1522     As in commit 0f782b4, omitting the action-if-found and
1523     action-if-not-found
1524     results in much better error messages if this mandatory dependency
1525     isn't
1526     found.
1527
1528     Nothing checks HAVE_DBUS (as they shouldn't - it's mandatory!),
1529     so there's
1530     no point in keeping that either.
1531
1532     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1533     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37789
1534
1535  configure.ac |   12 +++---------
1536  1 file changed, 3 insertions(+), 9 deletions(-)
1537
1538 commit b00d53dd647cf456ddb67c1dfdf44a8d56be90b4
1539 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1540 Date:   2011-01-04 18:35:41 +0000
1541
1542     Add more auto-generated gtkdoc droppings to .gitignore
1543
1544     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1545     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37789
1546
1547  .gitignore |    2 ++
1548  1 file changed, 2 insertions(+)
1549
1550 commit bd92f266609fef162b6028fd249250b0ab9ae689
1551 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1552 Date:   2011-05-31 14:46:33 +0100
1553
1554     Remove support for i18n completely
1555
1556     As far as I can tell, dbus-glib has never actually been translated
1557     into
1558     another language, or even had the necessary infrastructure so
1559     people could
1560     do that. The translated strings are all low-level errors in
1561     "programmer
1562     English" anyway, and most of them only make sense to D-Bus experts.
1563
1564     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1565     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36428
1566
1567  configure.ac                  |   25 +-----------------
1568  dbus/dbus-binding-tool-glib.c |    8 +++---
1569  dbus/dbus-glib-tool.c         |   35 ++++++++++----------------
1570  dbus/dbus-gparser.c           |   56
1571  +++++++++++++++++++----------------------
1572  dbus/dbus-gproxy.c            |    8 +++---
1573  dbus/dbus-gvalue.c            |   41 +++++++++++++++---------------
1574  6 files changed, 68 insertions(+), 105 deletions(-)
1575
1576 commit c37bd4357d50d1cd683ef04f05ee427c9a0f7e9f
1577 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1578 Date:   2011-03-28 14:43:15 +0100
1579
1580     Remove i18n macros from files where they're unused
1581
1582     dbus-glib-tool (dbus-binding-tool) and dbus-gparser are theoretically
1583     localizable, but the library doesn't make any use of gettext.
1584
1585     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1586     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36428
1587
1588  dbus/dbus-glib.c  |    5 -----
1589  dbus/dbus-gmain.c |    4 ----
1590  2 files changed, 9 deletions(-)
1591
1592 commit e8a4f0496d0eec10fc9c76e0ef20e761bb2256c6
1593 Author: Dan Williams <dcbw@redhat.com>
1594 Date:   2011-05-31 11:25:59 -0500
1595
1596     Log error message from failed object registration
1597
1598     See https://bugzilla.redhat.com/show_bug.cgi?id=708686 for a case
1599     of this; it
1600     would be extremely helpful to figure out what the error actually
1601     was since it
1602     appears not to be a double-registration or other such issues after
1603     inspection
1604     of nm-applet and libnm-glib.
1605
1606     Reviewed-by: Colin Walters <walters@verbum.org>
1607     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1608     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37795
1609
1610  dbus/dbus-gobject.c |   15 ++++++++++-----
1611  1 file changed, 10 insertions(+), 5 deletions(-)
1612
1613 commit eeb1c50aa03a95c39487e9331107142f27412958
1614 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1615 Date:   2011-04-20 16:41:28 +0100
1616
1617     Remind maintainers to update the libtool versioning
1618
1619     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22854
1620     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1621
1622  HACKING |    1 +
1623  1 file changed, 1 insertion(+)
1624
1625 commit 9e2031148fd0ee114ec67c681d2b9bcfd84cdaa4
1626 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1627 Date:   2011-04-20 16:41:00 +0100
1628
1629     add a Makefile rule to upload a tarball and up-to-date docs
1630
1631     Simplified from telepathy-glib, which has more elaborate machinery to
1632     automate releases.
1633
1634     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=26952
1635     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1636
1637  HACKING     |    3 ++-
1638  Makefile.am |   12 ++++++++++++
1639  2 files changed, 14 insertions(+), 1 deletion(-)
1640
1641 commit 61f48c290176c007ff0aef6ca4d752491763e4b0
1642 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1643 Date:   2011-05-30 15:41:27 +0100
1644
1645     Force a full rebuild for new gcc versions if gcov is enabled
1646
1647     This avoids a lot of "Version mismatch - expected 406p got
1648     405*". Because
1649     we're changing the content of each file after preprocessing, it even
1650     defeats ccache, which is desirable here - otherwise we'd get old
1651     versions
1652     of the profiling code being resurrected from the cache.
1653
1654     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37060
1655     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1656
1657  configure.ac |   17 ++++-------------
1658  1 file changed, 4 insertions(+), 13 deletions(-)
1659
1660 commit 0f320c5224fe39df44648ac75ecce9e0a01079d0
1661 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1662 Date:   2011-05-30 15:41:01 +0100
1663
1664     Include config.h in generated C files, and regenerate dbus-gmarshal.c
1665
1666     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37060
1667     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1668
1669  dbus/Makefile.am                       |    3 ++-
1670  dbus/dbus-gmarshal.c                   |    7 +++++--
1671  dbus/examples/statemachine/Makefile.am |    4 +++-
1672  test/core/Makefile.am                  |    4 +++-
1673  4 files changed, 13 insertions(+), 5 deletions(-)
1674
1675 commit f91828abb160e44b53a32823516d55d8a5d634bc
1676 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1677 Date:   2011-05-30 15:39:28 +0100
1678
1679     Consistently include config.h in all non-generated .c files
1680
1681     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37060
1682     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1683
1684  dbus/dbus-gidl.c                                 |    2 ++
1685  dbus/dbus-gloader-expat.c                        |    2 ++
1686  dbus/dbus-gparser.c                              |    3 +++
1687  dbus/dbus-gproxy.c                               |    3 +++
1688  dbus/dbus-gthread.c                              |    2 ++
1689  dbus/dbus-gtype-specialized.c                    |    2 ++
1690  dbus/dbus-gvalue-parse-variant.c                 |    2 ++
1691  dbus/examples/example-client.c                   |    2 ++
1692  dbus/examples/example-service.c                  |    2 ++
1693  dbus/examples/example-signal-emitter.c           |    2 ++
1694  dbus/examples/example-signal-recipient.c         |    2 ++
1695  dbus/examples/statemachine/statemachine-client.c |    2 ++
1696  dbus/examples/statemachine/statemachine-server.c |    2 ++
1697  dbus/examples/statemachine/statemachine.c        |    2 ++
1698  test/core/30574.c                                |    2 ++
1699  test/core/peer-client.c                          |    2 ++
1700  test/core/peer-server.c                          |    2 ++
1701  test/core/test-dbus-glib.c                       |    2 ++
1702  test/core/test-gvariant.c                        |    2 ++
1703  test/core/test-service-glib.c                    |    2 ++
1704  test/core/test-thread-client.c                   |    2 ++
1705  test/core/test-thread-server.c                   |    2 ++
1706  test/core/test-types.c                           |    2 ++
1707  test/core/test-variant-recursion.c               |    2 ++
1708  test/interfaces/test-client.c                    |    2 ++
1709  test/interfaces/test-objects.c                   |    2 ++
1710  test/interfaces/test-server.c                    |    2 ++
1711  test/test-service.c                              |    2 ++
1712  28 files changed, 58 insertions(+)
1713
1714 commit 6d6d9a61e47f5bc28b5d61ae0d6cb072a81b5569
1715 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1716 Date:   2011-04-13 19:00:41 +0100
1717
1718     dbus_g_proxy_add_signal: document error cases
1719
1720     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36216
1721     Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
1722
1723  dbus/dbus-gproxy.c |    5 ++++-
1724  1 file changed, 4 insertions(+), 1 deletion(-)
1725
1726 commit 52f4e09d49551f3a8ece6578a6cb6e016c03a9d8
1727 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1728 Date:   2011-05-10 12:00:15 +0100
1729
1730     dbus-gobject: check various preconditions for methods
1731
1732     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1733     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1734
1735  dbus/dbus-gobject.c |   29 ++++++++++++++++++++++++++---
1736  1 file changed, 26 insertions(+), 3 deletions(-)
1737
1738 commit 6a61c922cedad9f5af5c32a0d783e9fbd53f3487
1739 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1740 Date:   2011-05-04 12:52:25 +0100
1741
1742     dbus-gobject: move weakref to ObjectExport, with ObjectRegistration
1743     pointing there
1744
1745     This has the following results:
1746
1747     * each exported object only needs one weak ref to itself, however many
1748       times it is registered
1749     * because the ObjectRegistration now points to the ObjectExport,
1750       it can always remove itself from the list of registrations even
1751       if the
1752       actual object has been disposed, avoiding a leak (fd.o #36811)
1753
1754     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1755     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1756
1757  dbus/dbus-gobject.c |   89
1758  ++++++++++++++++++++++++++++++++++-----------------
1759  1 file changed, 59 insertions(+), 30 deletions(-)
1760
1761 commit f07cf89fd36aebe5bd32f9e7cff13b5697365917
1762 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1763 Date:   2011-05-04 12:25:18 +0100
1764
1765     Add a regression test for removing all registrations and starting
1766     again
1767
1768     This has been confirmed to fail when the previous commit is reverted.
1769
1770     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1771     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1772
1773  test/core/registrations.c |   64
1774  +++++++++++++++++++++++++++++++++++++++++++++
1775  1 file changed, 64 insertions(+)
1776
1777 commit c3c6f8365f5074f3f59b66c5b4ece1feb214be23
1778 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1779 Date:   2011-05-04 12:24:35 +0100
1780
1781     dbus_g_connection_register_g_object: only hook onto signals on
1782     first use
1783
1784     This fixes a bug in which an empty list of registrations was
1785     considered
1786     to be synonymous with the object never having been exported, resulting
1787     in this failure mode:
1788
1789     * register object at n locations
1790       - the first time, export_signals() is called
1791     * unregister all of those locations
1792     * register object at a new location
1793       - export_signals() is wrongly called again
1794     * emit a signal
1795       - the D-Bus signal gets emitted twice
1796
1797     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1798     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1799
1800  dbus/dbus-gobject.c |   48
1801  ++++++++++++++++--------------------------------
1802  1 file changed, 16 insertions(+), 32 deletions(-)
1803
1804 commit 323d5adb48f8630024f2b22172f10684508bd2a8
1805 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1806 Date:   2011-05-04 10:47:56 +0100
1807
1808     dbus_g_connection_register_g_object: attach ObjectExport first
1809
1810     This means we no longer need the unnecessarily subtle "steal and
1811     put back"
1812     pattern.
1813
1814     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1815     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1816
1817  dbus/dbus-gobject.c |   20 +++++++++-----------
1818  1 file changed, 9 insertions(+), 11 deletions(-)
1819
1820 commit c9961279c5ac667d4ddca98cbd3a3dfb4f1d8705
1821 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1822 Date:   2011-05-04 10:45:58 +0100
1823
1824     dbus-gobject: wrap the GSList of registrations in a simple struct
1825
1826     For simplicity, the ObjectExport struct isn't freed until the object
1827     is actually destroyed, even if there are no more registrations.
1828
1829     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1830     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36811
1831
1832  dbus/dbus-gobject.c |   77
1833  ++++++++++++++++++++++++++++++++++-----------------
1834  1 file changed, 51 insertions(+), 26 deletions(-)
1835
1836 commit 357fef2267d4243435e0d26ae659d21bd6bcde96
1837 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1838 Date:   2011-01-04 16:12:03 +0000
1839
1840     test/interfaces: test annotated arguments
1841
1842     The D-Bus Specification doesn't actually allow this, but dbus-glib has
1843     always supported it, and indeed understands a couple of <arg>
1844     annotations
1845     itself - org.freedesktop.DBus.GLib.ReturnVal and â€¦.DBus.GLib.Const.
1846
1847     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1848     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1849
1850  test/interfaces/valid-annotations.xml |   10 ++++++++--
1851  1 file changed, 8 insertions(+), 2 deletions(-)
1852
1853 commit b04f6b33224973cefec959a9fe0f7de655b93d0e
1854 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1855 Date:   2011-01-04 16:07:39 +0000
1856
1857     test/interfaces: check that some invalid annotations aren't allowed
1858
1859     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1860     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1861
1862  .gitignore                                    |    2 ++
1863  test/interfaces/Makefile.am                   |    7 ++++++-
1864  test/interfaces/invalid-annotated-node.xml    |    8 ++++++++
1865  test/interfaces/invalid-nested-annotation.xml |    8 ++++++++
1866  test/interfaces/run-test.sh                   |   20 +++++++++++++++++++-
1867  5 files changed, 43 insertions(+), 2 deletions(-)
1868
1869 commit e4a25a148703ef7ff13e5d87276b5d6fc395a57d
1870 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1871 Date:   2011-01-04 16:01:39 +0000
1872
1873     Test that interfaces, methods, properties, signals can be annotated
1874
1875     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1876     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1877
1878  test/interfaces/Makefile.am           |   20 ++++++++++++++++++--
1879  test/interfaces/valid-annotations.xml |   21 +++++++++++++++++++++
1880  2 files changed, 39 insertions(+), 2 deletions(-)
1881
1882 commit ac53fc025df08f12532fa7e3e69208db16151935
1883 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1884 Date:   2011-01-04 15:51:05 +0000
1885
1886     Don't .gitignore everything in test/interfaces, and remove some
1887     duplication
1888
1889     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1890     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1891
1892  .gitignore |   19 ++++++-------------
1893  1 file changed, 6 insertions(+), 13 deletions(-)
1894
1895 commit b1338486f0ce5df460e9af67f3738f6a0f829840
1896 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1897 Date:   2011-01-04 15:45:57 +0000
1898
1899     Allow <annotation> inside <property> too
1900
1901     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1902     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1903
1904  dbus/dbus-gparser.c |    4 ++--
1905  1 file changed, 2 insertions(+), 2 deletions(-)
1906
1907 commit 160842c85f808a4815d005dd39a0d9419aa06788
1908 Author: Christian Dywan <christian@lanedo.com>
1909 Date:   2011-01-04 15:43:05 +0000
1910
1911     Allow signal annotations in dbus-binding-tool
1912
1913     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27598
1914     Bug-NB: NB#163566
1915     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1916     Reviewed-by: Robert Ancell <robert.ancell@canonical.com>
1917
1918  dbus/dbus-gparser.c |    1 -
1919  1 file changed, 1 deletion(-)
1920
1921 commit dcbebd2ee2941136a2e04868da08777c985e0117
1922 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1923 Date:   2011-05-03 18:49:19 +0100
1924
1925     Add a regression test for removing an object from only one connection
1926
1927     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1928     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32087
1929
1930  test/core/registrations.c |    9 +++++----
1931  1 file changed, 5 insertions(+), 4 deletions(-)
1932
1933 commit 818b90092102e4fe6d2addfe77ee5a86d50e31c5
1934 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1935 Date:   2011-05-03 18:49:06 +0100
1936
1937     dbus_g_connection_unregister_g_object: only unregister from
1938     @connection
1939
1940     Previously, we unregistered the object from all connections, if it was
1941     present on more than one.
1942
1943     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1944     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32087
1945
1946  dbus/dbus-gobject.c |    8 ++++++--
1947  1 file changed, 6 insertions(+), 2 deletions(-)
1948
1949 commit 6b29f7f317df7d96a94ac910306508452be9130c
1950 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1951 Date:   2011-05-03 18:43:29 +0100
1952
1953     Add a regression test for registering an object on two connections
1954
1955     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1956     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32087
1957
1958  test/core/registrations.c |  101
1959  +++++++++++++++++++++++++++++++++++++++++++++
1960  1 file changed, 101 insertions(+)
1961
1962 commit 17d5dcf86c766075400aff5d2aa3fe8e599fb715
1963 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1964 Date:   2011-05-03 18:19:44 +0100
1965
1966     fd.o #32087: emit signals on the appropriate connections
1967
1968     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1969     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32087
1970
1971  dbus/dbus-gobject.c |   23 +++++------------------
1972  1 file changed, 5 insertions(+), 18 deletions(-)
1973
1974 commit 7f041871c3e5d023ee9cb77609bf0b69ebdbde34
1975 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1976 Date:   2011-05-03 16:06:25 +0100
1977
1978     Add a regression test for re-registering an object at the same path
1979
1980     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1981     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
1982
1983  test/core/registrations.c |   24 ++++++++++++++++++++++++
1984  1 file changed, 24 insertions(+)
1985
1986 commit 43f9dda46e9279b4489b6bd1efa0e5f9eb825a48
1987 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1988 Date:   2011-05-03 16:04:30 +0100
1989
1990     dbus_g_connection_register_g_object: don't destroy state on early
1991     return
1992
1993     At the beginning of the function we steal the object's state so we
1994     can add
1995     to the list. After doing that, we must make sure we give it back!
1996
1997     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
1998     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
1999     Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2000
2001  dbus/dbus-gobject.c |   12 ++++++++----
2002  1 file changed, 8 insertions(+), 4 deletions(-)
2003
2004 commit 4da28a6c49cecb902544d9152a693105d320cdac
2005 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2006 Date:   2011-05-03 11:59:44 +0100
2007
2008     dbus_g_connection_unregister_g_object: fix out-of-bounds reading
2009
2010     The list of registrations is singly linked; we only avoid a crash here
2011     by luck.
2012
2013     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
2014     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2015     Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2016
2017  dbus/dbus-gobject.c |    6 +++---
2018  1 file changed, 3 insertions(+), 3 deletions(-)
2019
2020 commit da740bfd88850c858d1cee079c8d261a79e2c75e
2021 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2022 Date:   2011-05-03 15:25:08 +0100
2023
2024     Subsume the test for #5688 into the more general registrations test
2025
2026     Also test that the object is unregistered by the last unref or
2027     by forced
2028     disposal, without crashing.
2029
2030     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2031     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
2032
2033  test/core/5688.c          |   81
2034  ---------------------------------------------
2035  test/core/Makefile.am     |    9 -----
2036  test/core/registrations.c |   73 ++++++++++++++++++++++++++++++++++++----
2037  test/core/run-test.sh     |    1 -
2038  4 files changed, 67 insertions(+), 97 deletions(-)
2039
2040 commit 0692c5995ea4a7013b4ab605cd76aca49239168d
2041 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2042 Date:   2011-05-03 15:08:27 +0100
2043
2044     Convert registrations test to use GTest
2045
2046     Also use a private bus connection, for potentially better
2047     leak-detection.
2048
2049     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2050     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
2051
2052  test/core/registrations.c |   74
2053  ++++++++++++++++++++++++++++++++-------------
2054  1 file changed, 53 insertions(+), 21 deletions(-)
2055
2056 commit 002feb57cfcfeb439be1ace875a67ad540fed950
2057 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2058 Date:   2011-05-03 14:49:29 +0100
2059
2060     Rename test/core/unregister to registrations (no source changes)
2061
2062     Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
2063     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36793
2064
2065  .gitignore                |    2 +-
2066  test/core/Makefile.am     |    6 ++--
2067  test/core/registrations.c |   71
2068  +++++++++++++++++++++++++++++++++++++++++++++
2069  test/core/run-test.sh     |    2 +-
2070  test/core/unregister.c    |   71
2071  ---------------------------------------------
2072  5 files changed, 76 insertions(+), 76 deletions(-)
2073
2074 commit 15d9f31812b07439558e615d4d9bdfccaa33dbd5
2075 Author: Mike Gorse <mgorse@novell.com>
2076 Date:   2011-03-11 09:26:01 -0600
2077
2078     Fix removal of old io and timeout handlers when switching
2079     GMainContexts
2080
2081     Bug: http://bugs.freedesktop.org/show_bug.cgi?id=35115
2082     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2083
2084  dbus/dbus-gmain.c |   16 +++++-----------
2085  1 file changed, 5 insertions(+), 11 deletions(-)
2086
2087 commit a1a9a6f973f64e543c3d43b01bd6ef0963f8bf16
2088 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2089 Date:   2011-05-10 11:17:53 +0100
2090
2091     test-service: ignore result of dbus_bus_request_name since we look
2092     at the error instead
2093
2094     gcc 4.6 warns for this usage.
2095
2096     Reviewed-by: Colin Walters <walters@verbum.org>
2097     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2098
2099  test/test-service.c |    3 +--
2100  1 file changed, 1 insertion(+), 2 deletions(-)
2101
2102 commit 6c1e9559094be37bf66731b9f09fffcb1a19e8e5
2103 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2104 Date:   2011-05-10 11:16:45 +0100
2105
2106     marshal_collection_array: statically assert that size conversion is
2107     not needed
2108
2109     Previously, the function blindly assumed this without a check.
2110
2111     Reviewed-by: Colin Walters <walters@verbum.org>
2112     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2113
2114  dbus/dbus-gvalue.c |   10 ++++++++++
2115  1 file changed, 10 insertions(+)
2116
2117 commit 324122a9f0bc859bb424d9026019e9077cda4015
2118 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2119 Date:   2011-05-10 11:15:32 +0100
2120
2121     marshal_collection_array: remove set-but-unused variable elt_size
2122
2123     gcc 4.6 warns about these.
2124
2125     Reviewed-by: Colin Walters <walters@verbum.org>
2126     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2127
2128  dbus/dbus-gvalue.c |    3 ---
2129  1 file changed, 3 deletions(-)
2130
2131 commit 341043e2d776cbd6faaf5b8d6a54a46920bb094c
2132 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2133 Date:   2011-05-04 15:18:48 +0100
2134
2135     marshal_map, marshal_struct: remove unused variable ret
2136
2137     gcc 4.6 warns about these.
2138
2139     Reviewed-by: Colin Walters <walters@verbum.org>
2140     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2141
2142  dbus/dbus-gvalue.c |    6 ------
2143  1 file changed, 6 deletions(-)
2144
2145 commit 1ea2eee4623cace2e852f1c16b1b1ce23035d037
2146 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2147 Date:   2011-05-04 15:18:18 +0100
2148
2149     demarshal_static_variant: remove useless call to
2150     dbus_message_iter_get_arg_type
2151
2152     gcc 4.6 warns about this.
2153
2154     Reviewed-by: Colin Walters <walters@verbum.org>
2155     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2156
2157  dbus/dbus-gvalue.c |    2 --
2158  1 file changed, 2 deletions(-)
2159
2160 commit f8a7ccf024a19caa54d6f79cd9d62a63a9b36c5b
2161 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2162 Date:   2011-05-04 15:17:51 +0100
2163
2164     bash completion helper: remove unused variable 'prev', and simplify
2165
2166     gcc 4.6 warns about this.
2167
2168     Reviewed-by: Colin Walters <walters@verbum.org>
2169     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37062
2170
2171  dbus/dbus-bash-completion-helper.c |    8 +-------
2172  1 file changed, 1 insertion(+), 7 deletions(-)
2173
2174 commit 09d85a945760d06447aea09a38ea99d0dc54de2a
2175 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2176 Date:   2011-03-29 17:05:04 +0100
2177
2178     DBusGProxy: link against GIO and use GDBus to check names' syntax
2179
2180     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2181     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=23616
2182
2183  configure.ac       |    2 +-
2184  dbus/dbus-gproxy.c |   29 ++++++++++++++++++++---------
2185  2 files changed, 21 insertions(+), 10 deletions(-)
2186
2187 commit f2b445d0d931f3f680cefe0141e62abeafda9742
2188 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2189 Date:   2011-03-29 15:08:36 +0100
2190
2191     dbus_g_proxy_end_call: check that it's a proxy
2192
2193     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2194     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=23616
2195
2196  dbus/dbus-gproxy.c |    2 ++
2197  1 file changed, 2 insertions(+)
2198
2199 commit 811089dae49c2f47d0f15fd7e9c180674f484391
2200 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2201 Date:   2011-03-29 15:08:05 +0100
2202
2203     dbus_g_proxy_set_interface: check that it's a proxy and not destroyed
2204
2205     If it has emitted destroy, our use of priv->manager will be a NULL
2206     pointer dereference.
2207
2208     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2209     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=23616
2210
2211  dbus/dbus-gproxy.c |    5 +++++
2212  1 file changed, 5 insertions(+)
2213
2214 commit af3d48b10042616ac7ecceed5af8ddaeecc093f5
2215 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2216 Date:   2011-03-29 15:07:23 +0100
2217
2218     Document that most DBusGProxy methods stop working on ::destroy
2219
2220     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2221     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=23616
2222
2223  dbus/dbus-gproxy.c |   42 ++++++++++++++++++++++++++++++++++++++++++
2224  1 file changed, 42 insertions(+)
2225
2226 commit 63bd85823fd3039e88176105434c7bbdeae71e84
2227 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2228 Date:   2011-03-29 15:06:18 +0100
2229
2230     dbus_g_proxy_new_from_proxy: check that the old proxy is in fact
2231     a proxy
2232
2233     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2234     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=23616
2235
2236  dbus/dbus-gproxy.c |    2 +-
2237  1 file changed, 1 insertion(+), 1 deletion(-)
2238
2239 commit 97de5501c2ebb29e4e32822bae0e45c88140bffd
2240 Author: Alban Crequy <alban.crequy@collabora.co.uk>
2241 Date:   2011-04-14 14:48:56 +0100
2242
2243     DBusGProxy: remove duplicate owner match rules.
2244
2245     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33646
2246     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2247
2248  dbus/dbus-gproxy.c |  109
2249  +++++++++++++++++++++++++++++++++++++++-------------
2250  1 file changed, 82 insertions(+), 27 deletions(-)
2251
2252 commit bc0497ea0c5ac65abc3658a31c95f9b0e15680f3
2253 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2254 Date:   2011-04-13 19:00:23 +0100
2255
2256     dbus_g_proxy_add_signal: stop falsely claiming that we read
2257     introspection
2258
2259     If we believed the introspection, services could change their
2260     introspection and remote-crash us, so it's good that we don't. We
2261     shouldn't claim that we do, though.
2262
2263     The second sentence is subtle: for D-Bus types that dbus-glib can map
2264     into more than one GLib type, you must currently use the one that
2265     dbus-glib would "naturally" produce. The only example I can find
2266     is that
2267     object paths must be DBUS_TYPE_G_OBJECT_PATH, even though dbus-glib
2268     can
2269     also (in principle) unmarshal object-paths as DBUS_TYPE_G_PROXY.
2270
2271     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36216
2272
2273  dbus/dbus-gproxy.c |    6 +++---
2274  1 file changed, 3 insertions(+), 3 deletions(-)
2275
2276 commit f5008cc76e0b466c4730e331857bc041aced5e94
2277 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2278 Date:   2011-03-28 18:52:27 +0100
2279
2280     improve documentation of proxy timeouts to mention that -1 is special
2281
2282     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2283     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2284
2285  dbus/dbus-gproxy.c |   10 ++++++----
2286  1 file changed, 6 insertions(+), 4 deletions(-)
2287
2288 commit 25c4b24a0d8490a7ba667b9944ce9b1c0808878a
2289 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2290 Date:   2011-03-28 18:52:02 +0100
2291
2292     Don't allow proxy timeouts to be set negative, except for -1
2293
2294     libdbus checks this as a precondition, but to avoid astonishing error
2295     behaviour (interpreted as OOM), so should we.
2296
2297     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2298     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2299
2300  dbus/dbus-gproxy.c |    3 +++
2301  1 file changed, 3 insertions(+)
2302
2303 commit 35d1d8479031393f86fe668d2a1f64325b5dd1be
2304 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2305 Date:   2011-03-28 17:35:51 +0100
2306
2307     DBusGProxy: share OOM handler
2308
2309     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2310     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2311
2312  dbus/dbus-gproxy.c |   19 ++++++++++---------
2313  1 file changed, 10 insertions(+), 9 deletions(-)
2314
2315 commit 3a0e477ed6648bcb99711976fd51f4c0394000c6
2316 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2317 Date:   2011-03-28 17:32:11 +0100
2318
2319     dbus_g_proxy_call_no_reply: don't assume NULL message means OOM
2320
2321     It might either be OOM or bad arguments, probably the latter. That's
2322     programming error, but we already raised a critical warning, so
2323     be silent.
2324
2325     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2326     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2327
2328  dbus/dbus-gproxy.c |    3 ++-
2329  1 file changed, 2 insertions(+), 1 deletion(-)
2330
2331 commit d0332f9862c3af18161f58444f35c7d03d9fb067
2332 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2333 Date:   2011-03-28 17:32:00 +0100
2334
2335     dbus_g_proxy_begin_call_internal: don't assume NULL message means OOM
2336
2337     It might either be OOM or bad arguments, probably the latter. That's
2338     programming error, but we already raised a critical warning, so
2339     be silent.
2340
2341     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2342     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2343
2344  dbus/dbus-gproxy.c |    4 +++-
2345  1 file changed, 3 insertions(+), 1 deletion(-)
2346
2347 commit cd0da3f56873c5399b6247791df16acd3f4a73b1
2348 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2349 Date:   2011-03-28 17:30:29 +0100
2350
2351     dbus_g_proxy_marshal_args_to_message: diagnose inability to marshal
2352     args
2353
2354     Failure to marshal arguments is entirely reachable, albeit only via
2355     programming error.
2356
2357     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2358     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2359
2360  dbus/dbus-gproxy.c |   16 ++++++++++++----
2361  1 file changed, 12 insertions(+), 4 deletions(-)
2362
2363 commit 8b75efc7941ac789605128d48f82168da18bb9fd
2364 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2365 Date:   2011-03-28 17:27:18 +0100
2366
2367     marshal_collection_array: simplify exit path
2368
2369     Also don't assume that failure of dbus_message_iter_close_container is
2370     always OOM.
2371
2372     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2373     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2374
2375  dbus/dbus-gvalue.c |    7 +------
2376  1 file changed, 1 insertion(+), 6 deletions(-)
2377
2378 commit 7729c5a4ee9c1bba0fe3f35d840c542303e26a1a
2379 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2380 Date:   2011-03-28 17:26:56 +0100
2381
2382     marshal_collection_array: if appending fails, don't assume OOM
2383
2384     Appending can also fail by appending ((gboolean) 23) or something;
2385     admittedly, that's a programming error.
2386
2387     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2388     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2389
2390  dbus/dbus-gvalue.c |    9 ++++++++-
2391  1 file changed, 8 insertions(+), 1 deletion(-)
2392
2393 commit 73c1dc8031df7c9de0ab321f02cc5bedc49be7c1
2394 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2395 Date:   2011-03-28 17:25:50 +0100
2396
2397     marshal_collection_array: assert validity of signature
2398
2399     This means we can recognise OOM reliably; do so.
2400
2401     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2402     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2403
2404  dbus/dbus-gvalue.c |    3 ++-
2405  1 file changed, 2 insertions(+), 1 deletion(-)
2406
2407 commit ca88a4f4adffccc1be8ddc0835d640f36d42f9fc
2408 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2409 Date:   2011-03-28 17:25:25 +0100
2410
2411     marshal_collection_array: fail early if the array is NULL
2412
2413     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2414     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2415
2416  dbus/dbus-gvalue.c |    7 ++++---
2417  1 file changed, 4 insertions(+), 3 deletions(-)
2418
2419 commit 7228321ddafc88e12406ca49406dfaa80240be9d
2420 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2421 Date:   2011-03-28 17:24:53 +0100
2422
2423     marshal_collection_ptrarray: abandon broken containers, simplify
2424     exit path
2425
2426     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2427     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2428
2429  dbus/dbus-gvalue.c |   14 +++++++-------
2430  1 file changed, 7 insertions(+), 7 deletions(-)
2431
2432 commit 9e8bed2ec229e48df0b1c63560b183f46d33bffd
2433 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2434 Date:   2011-03-28 17:24:18 +0100
2435
2436     marshal_collection_ptrarray: assert that the signature is valid
2437
2438     This means that dbus_message_iter_open_container can't fail except
2439     by OOM,
2440     so use the shared handler.
2441
2442     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2443     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2444
2445  dbus/dbus-gvalue.c |    4 +++-
2446  1 file changed, 3 insertions(+), 1 deletion(-)
2447
2448 commit 385180d3b1975afce823d4aa9aa5daf82fa09b5a
2449 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2450 Date:   2011-03-28 17:23:46 +0100
2451
2452     marshal_variant: abandon broken containers rather than closing them
2453
2454     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2455     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2456
2457  dbus/dbus-gvalue.c |    5 ++++-
2458  1 file changed, 4 insertions(+), 1 deletion(-)
2459
2460 commit 72c21e4e4cac8092c1dcf8348fdf3955cb01229c
2461 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2462 Date:   2011-03-28 17:23:34 +0100
2463
2464     marshal_struct: simplify teardown, and abandon broken containers
2465
2466     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2467     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2468
2469  dbus/dbus-gvalue.c |   15 ++++++++-------
2470  1 file changed, 8 insertions(+), 7 deletions(-)
2471
2472 commit 48cf1b8b147d80265e2ab23b257d5c96ca260db9
2473 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2474 Date:   2011-03-28 17:23:08 +0100
2475
2476     marshal_map: on error, abandon the container instead of closing it
2477
2478     libdbus considers it to be a programming error if you close a
2479     container
2480     gracefully when its contents are incomplete.
2481
2482     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2483     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2484
2485  dbus/dbus-gvalue.c |   11 +++++++++--
2486  1 file changed, 9 insertions(+), 2 deletions(-)
2487
2488 commit c827cd5b160b59246305526eac6154006f8bb8d5
2489 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2490 Date:   2011-03-28 17:21:18 +0100
2491
2492     marshal_signature: check validity of the signature
2493
2494     Also remove a spurious cast, and comment why we're *not* assuming that
2495     failure here is necessarily OOM.
2496
2497     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2498     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2499
2500  dbus/dbus-gvalue.c |    5 ++++-
2501  1 file changed, 4 insertions(+), 1 deletion(-)
2502
2503 commit 98e5da6a6363b68042503e8e01819dc86ec7781e
2504 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2505 Date:   2011-03-28 17:20:51 +0100
2506
2507     marshal_object: check that it's really an object and its path is valid
2508
2509     Again, we can now assume that failure is OOM.
2510
2511     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2512     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2513
2514  dbus/dbus-gvalue.c |   10 +++++-----
2515  1 file changed, 5 insertions(+), 5 deletions(-)
2516
2517 commit 5d90b996ad4e9ee927d25fc692c8b08baa2a36b4
2518 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2519 Date:   2011-03-28 17:20:23 +0100
2520
2521     marshal_object_path: check that it's really a valid object path
2522
2523     Again, this means failure can only be OOM, so use the shared handler.
2524     Also remove an unnecessary cast.
2525
2526     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2527     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2528
2529  dbus/dbus-gvalue.c |    8 +++++---
2530  1 file changed, 5 insertions(+), 3 deletions(-)
2531
2532 commit f57e4e33838062e98d39764202fdcd60b709362d
2533 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2534 Date:   2011-03-28 17:19:45 +0100
2535
2536     marshal_proxy: check that it's really a proxy and its path is valid
2537
2538     This means that dbus_message_iter_append_basic can't fail other
2539     than by
2540     OOM, so use the shared OOM handler.
2541
2542     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2543     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2544
2545  dbus/dbus-gvalue.c |    7 +++++--
2546  1 file changed, 5 insertions(+), 2 deletions(-)
2547
2548 commit 15bf1a2ef4d8b3e37b056cc893a844706fc714dc
2549 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2550 Date:   2011-03-28 17:18:43 +0100
2551
2552     marshal_valuearray: simplify teardown
2553
2554     If close_container fails, it might be an assertion failure in libdbus,
2555     so don't assume it's OOM. We have to handle programming errors
2556     somewhat
2557     gracefully during marshalling anyway, so there's no point in
2558     asserting.
2559
2560     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2561     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2562
2563  dbus/dbus-gvalue.c |    8 +-------
2564  1 file changed, 1 insertion(+), 7 deletions(-)
2565
2566 commit d1093f2c3413285c839cdbbca0c848b0d071cb62
2567 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2568 Date:   2011-03-28 17:16:29 +0100
2569
2570     marshal_valuearray: abandon the container if we fail
2571
2572     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2573     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2574
2575  dbus/dbus-gvalue.c |    5 ++++-
2576  1 file changed, 4 insertions(+), 1 deletion(-)
2577
2578 commit 782412b65a1364f8736e15217aa853083c962935
2579 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2580 Date:   2011-03-28 17:15:27 +0100
2581
2582     marshal_basic: if marshalling a string fails, critical and return
2583     FALSE
2584
2585     This could be OOM, but it could also be non-UTF-8.
2586
2587     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2588     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2589
2590  dbus/dbus-gvalue.c |   18 ++++++++++++------
2591  1 file changed, 12 insertions(+), 6 deletions(-)
2592
2593 commit a2c276a49fa9efb8336db74db60dc1bcd2f0e8d6
2594 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2595 Date:   2011-03-28 17:14:25 +0100
2596
2597     marshal_basic: if a boolean has a non-boolean value, diagnose
2598     the error
2599
2600     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2601     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2602
2603  dbus/dbus-gvalue.c |    5 ++++-
2604  1 file changed, 4 insertions(+), 1 deletion(-)
2605
2606 commit 94a501e0e69cf912c7f6a5250fdea0ec5fe673c7
2607 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2608 Date:   2011-03-28 17:13:50 +0100
2609
2610     dbus-gvalue: replace trivial cases of OOM with a call to a noreturn
2611     function
2612
2613     In these cases there's no invalid value we could be supplying
2614     to libdbus,
2615     so it's definitely OOM, not a programming error (e.g. non-UTF-8)
2616     masquerading as OOM.
2617
2618     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2619     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2620
2621  dbus/dbus-gvalue.c |   31 +++++++++++++++++++------------
2622  1 file changed, 19 insertions(+), 12 deletions(-)
2623
2624 commit 41b2fd28a833995c8ccab1a690c0e3925572488b
2625 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2626 Date:   2011-03-28 17:54:12 +0100
2627
2628     When given an object path, use GVariant to check syntactic validity
2629
2630     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2631     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2632
2633  dbus/dbus-gobject.c |    2 +-
2634  dbus/dbus-gproxy.c  |    6 +++---
2635  2 files changed, 4 insertions(+), 4 deletions(-)
2636
2637 commit 367a58bc081d451ff90262ae96b7d78ea74f3d11
2638 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2639 Date:   2011-03-28 19:05:44 +0100
2640
2641     Depend on dbus 1.2.16 for dbus_message_iter_abandon_container
2642
2643     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2644     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30171
2645
2646  configure.ac |    2 +-
2647  1 file changed, 1 insertion(+), 1 deletion(-)
2648
2649 commit 0f782b478a784ac890741e5d84fd741a26d49510
2650 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2651 Date:   2011-03-29 14:45:34 +0100
2652
2653     Stop overriding pkg-config's nice informative message if GLib is
2654     too old
2655
2656     This means that instead of this rather ambiguous text:
2657
2658         checking for DBUS_GLIB... no
2659         checking for DBUS_GLIB_THREADS... yes
2660         configure: error: GLib development libraries not found
2661
2662     platforms whose GLib is too old will get the conventional output:
2663
2664         checking for DBUS_GLIB... no
2665         configure: error: Package requirements (gobject-2.0 >= 2.26)
2666         were not met:
2667
2668         Requested 'gobject-2.0 >= 2.26' but version of GObject is 2.24.0
2669
2670     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33145
2671     Reviewed-by: Colin Walters <walters@verbum.org>
2672
2673  configure.ac |    6 +-----
2674  1 file changed, 1 insertion(+), 5 deletions(-)
2675
2676 commit ab2a98bd3ae0c59f198e82cba2c81095a47fa58d
2677 Author: Robert Ancell <robert.ancell@canonical.com>
2678 Date:   2011-02-15 14:10:34 +1100
2679
2680     Fix linking order
2681
2682     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2683     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34282
2684
2685  dbus/Makefile.am |    2 +-
2686  1 file changed, 1 insertion(+), 1 deletion(-)
2687
2688 commit af0c64037673d598a6842fb344b5f3dad80ab821
2689 Author: Will Thompson <will.thompson@collabora.co.uk>
2690 Date:   2010-06-02 16:31:54 +0100
2691
2692     docs: correct links in introduction
2693
2694     Fixes https://bugs.freedesktop.org/show_bug.cgi?id=22667 â€” thanks to
2695     Daniel Macks for the bug report!
2696
2697  doc/reference/dbus-glib-docs.sgml |   13 ++++++++-----
2698  1 file changed, 8 insertions(+), 5 deletions(-)
2699
2700 commit 04e11da48a6c2a75bebb5ece31cf86508203dd02
2701 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2702 Date:   2011-01-04 16:33:27 +0000
2703
2704     Add a regression test for errors containing underscores
2705
2706     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30274
2707     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2708
2709  test/core/my-object.c           |   15 +++++++++++++++
2710  test/core/my-object.h           |    3 ++-
2711  test/core/test-dbus-glib.c      |   11 +++++++++++
2712  test/core/test-service-glib.xml |    3 +++
2713  4 files changed, 31 insertions(+), 1 deletion(-)
2714
2715 commit 2d987890c3ba2fd8efc92f8b75da88904ce425f9
2716 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2717 Date:   2011-01-04 18:04:11 +0000
2718
2719     Run run-with-tmp-session-bus.sh directly rather than via ${SHELL}
2720
2721     It has a correct #!/bin/sh line and is executable, so just running
2722     it is
2723     fine. This avoids running it under a user's chosen interactive shell,
2724     which might be non-POSIX (zsh, csh). Gentoo Portage apparently sets
2725     SHELL to /bin/false, presumably to trap this sort of thing.
2726
2727     (I've tested this on Debian unstable with /bin/sh -> /bin/dash,
2728     to check
2729     that weren't accidentally relying on $SHELL being bash or similar.)
2730
2731     Based on a workaround from Myckel Habets on the Gentoo bug.
2732
2733     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27193
2734     Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=254192
2735     Reviewed-by: Colin Walters <walters@verbum.org>
2736
2737  test/core/run-test.sh       |    2 +-
2738  test/interfaces/run-test.sh |    2 +-
2739  2 files changed, 2 insertions(+), 2 deletions(-)
2740
2741 commit 6708c68cc9c312ffea600d0020425412ba242ddb
2742 Author: Christian Dywan <christian@lanedo.com>
2743 Date:   2011-01-04 18:48:31 +0000
2744
2745     Cleanup indentation in dbus-glib-binding-tool
2746
2747     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32351
2748     Bug-NB: NB#180486
2749     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2750
2751  dbus/dbus-binding-tool-glib.c |  134
2752  ++++++++++++++++++++---------------------
2753  1 file changed, 67 insertions(+), 67 deletions(-)
2754
2755 commit f1b8944a93a22d342f744526f5c47e80e394579f
2756 Author: Christian Dywan <christian@lanedo.com>
2757 Date:   2011-01-04 18:48:27 +0000
2758
2759     Plug leaks in dbus-glib-binding-tool
2760
2761     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32351
2762     Bug-NB: NB#180486
2763     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2764
2765  dbus/dbus-binding-tool-glib.c |   27 +++++++++++++--------------
2766  1 file changed, 13 insertions(+), 14 deletions(-)
2767
2768 commit 4cd1f54f4db5759db3781da4645cebcd4143e9a4
2769 Author: Christian Dywan <christian@twotoasts.de>
2770 Date:   2010-09-20 11:57:08 +0200
2771
2772     Do not squash underscores in error names
2773
2774     Underscores are used and valid according to the specification.
2775
2776     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30274
2777     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2778
2779  dbus/dbus-gobject.c |    9 +++++----
2780  1 file changed, 5 insertions(+), 4 deletions(-)
2781
2782 commit d4780b527f5112acf015c0e57c9911e939b16f99
2783 Author: Christian Dywan <christian.dywan@lanedo.com>
2784 Date:   2010-07-21 16:32:22 +0200
2785
2786     Watch server_set_data failure in dbus__server_setup_with_g_main
2787
2788     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29884
2789     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2790
2791  dbus/dbus-gmain.c |    3 ++-
2792  1 file changed, 2 insertions(+), 1 deletion(-)
2793
2794 commit c7b83e5b3bf7291b75399eed3f01ecea0c98702f
2795 Author: Christian Dywan <christian.dywan@lanedo.com>
2796 Date:   2010-12-13 10:14:57 -0800
2797
2798     Verify Increment call in dbus-glib-test
2799
2800     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29884
2801     Origin: vendor, Maemo
2802     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2803
2804  test/core/test-dbus-glib.c |    3 +++
2805  1 file changed, 3 insertions(+)
2806
2807 commit 7e157ee379de430fce9874291701c0c6666d2c2d
2808 Author: Will Thompson <will.thompson@collabora.co.uk>
2809 Date:   2010-11-10 10:44:38 +0000
2810
2811     Bump version to 0.93 for development
2812
2813  configure.ac |    2 +-
2814  1 file changed, 1 insertion(+), 1 deletion(-)
2815
2816 commit a12d06317591f954542d5ddbe1a1d3cad10a8156
2817 Author: Will Thompson <will.thompson@collabora.co.uk>
2818 Date:   2010-11-10 10:25:19 +0000
2819
2820     Release version 0.92
2821
2822  configure.ac |    2 +-
2823  1 file changed, 1 insertion(+), 1 deletion(-)
2824
2825 commit cb7a627ea838ae453d1401679a2b97acd95ba327
2826 Author: Will Thompson <will.thompson@collabora.co.uk>
2827 Date:   2010-11-10 10:22:40 +0000
2828
2829     Bump GLib dependency to 2.26.
2830
2831     G_VARIANT_TYPE_STRING_ARRAY, as used by the GVariant<->GValue
2832     conversion
2833     functions, was added in 2.26. The previous release should have
2834     had this
2835     dependency, but I didn't notice.
2836
2837  configure.ac |    2 +-
2838  1 file changed, 1 insertion(+), 1 deletion(-)
2839
2840 commit c12efeeb7d9eb76eeae049528cee09c331551a5e
2841 Author: Will Thompson <will.thompson@collabora.co.uk>
2842 Date:   2010-11-08 00:20:20 -0500
2843
2844     Bump version to 0.91 for development
2845
2846  configure.ac |    2 +-
2847  1 file changed, 1 insertion(+), 1 deletion(-)
2848
2849 commit 4d4a1e266727de9ed1cba2707006435a389cac90
2850 Author: Will Thompson <will.thompson@collabora.co.uk>
2851 Date:   2010-11-08 00:16:46 -0500
2852
2853     HACKING: Fix release URL; be honest about NEWS
2854
2855  HACKING |    8 ++++----
2856  1 file changed, 4 insertions(+), 4 deletions(-)
2857
2858 commit b3c18c486dbb1fd2c6221d26fd64719d73ff4200
2859 Author: Will Thompson <will.thompson@collabora.co.uk>
2860 Date:   2010-11-08 00:12:00 -0500
2861
2862     Makefile.am: Remove ChangeLog's spurious FORCE dependency
2863
2864     This seems to be some kind of leftover from the now-deleted lcov
2865     stuff.
2866
2867  Makefile.am |    2 +-
2868  1 file changed, 1 insertion(+), 1 deletion(-)
2869
2870 commit ccd31bb39e496ba511e888d793b15bfaa22894f0
2871 Author: Will Thompson <will.thompson@collabora.co.uk>
2872 Date:   2010-11-08 00:08:15 -0500
2873
2874     Release version 0.90
2875
2876  configure.ac |    2 +-
2877  1 file changed, 1 insertion(+), 1 deletion(-)
2878
2879 commit 65fb5802295ff28970ac1e3f0d5adaa6927a5773
2880 Author: Will Thompson <will.thompson@collabora.co.uk>
2881 Date:   2010-11-08 00:04:31 -0500
2882
2883     Build test/ before its subdirs.
2884
2885     This fixes running `make check` without first running `make`, since
2886     subdirs of test/ depend on the binaries in that directory.
2887
2888  test/Makefile.am |    2 +-
2889  1 file changed, 1 insertion(+), 1 deletion(-)
2890
2891 commit 22df79e0c1373b696adbbaf2791195f0a8b5fb0f
2892 Author: Mike Gorse <mgorse@novell.com>
2893 Date:   2010-10-22 04:33:53 -0400
2894
2895     Fix switching a connection's GMainContext
2896
2897     dbus_connection_setup_with_g_main and dbus_server_setup_with_g_main
2898     are
2899     intended to switch the setup to a new main loop context if they are
2900     called with a context other than the one with which they were
2901     initially
2902     called.  However, this does not work in practice.  The problem has
2903     to do
2904     with libdbus maintaining a list of watches associated with the
2905     connection.  When dbus_connection_set_watch_functions is called, it
2906     first adds the existing watches using the new function and data, then
2907     removes the watches using the old function and data.  Remove_watch
2908     calls
2909     connection_setup_remove_watch, and the latter does not check that the
2910     watch's connection setup matches the connection setup passed to it, so
2911     it winds up removing the watch from the new connection setup.  (The
2912     watch has already been removed from the old setup at this point, as a
2913     side effect of dbus_watch_set_data).
2914
2915     Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=30574>
2916     Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
2917
2918  .gitignore            |    1 +
2919  dbus/dbus-gmain.c     |    7 ++--
2920  test/core/30574.c     |   96
2921  +++++++++++++++++++++++++++++++++++++++++++++++++
2922  test/core/Makefile.am |    4 +++
2923  test/core/run-test.sh |    1 +
2924  5 files changed, 106 insertions(+), 3 deletions(-)
2925
2926 commit 8f0936de52b62b025385182406e5ea5795503d76
2927 Merge: 8aca055 afd0987
2928 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2929 Date:   2010-10-14 13:06:47 +0100
2930
2931     Merge branch 'type-names'
2932
2933     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2934     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30431
2935
2936 commit 8aca05563f86bd24fedb4322363ae844affc3c61
2937 Merge: 0ab27bb ad4b66d
2938 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2939 Date:   2010-10-14 12:37:58 +0100
2940
2941     Merge branch 'gvariant'
2942
2943     Reviewed-by: Danielle Madeley <danielle.madeley@collabora.co.uk>
2944     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30428
2945
2946 commit ad4b66db0e3a6ecab31bed214f341c4b07691224
2947 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2948 Date:   2010-10-14 12:15:08 +0100
2949
2950     copy arrays of 'o', 'g' from GVariant without constructing a format
2951     string programmatically
2952
2953  dbus/dbus-gvalue-parse-variant.c |    5 ++---
2954  1 file changed, 2 insertions(+), 3 deletions(-)
2955
2956 commit 869c180e12c68ed06fe973c58f26cffbf4a3cec9
2957 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2958 Date:   2010-10-14 12:13:19 +0100
2959
2960     output unhandled GVariantClass as ASCII if possible
2961
2962  dbus/dbus-gvalue-parse-variant.c |    5 +++--
2963  1 file changed, 3 insertions(+), 2 deletions(-)
2964
2965 commit 42192c5bc0517d747aa83e9ce82e0208c3426aab
2966 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2967 Date:   2010-10-14 12:06:36 +0100
2968
2969     Add dbus_g_value_parse_g_variant to gtkdoc
2970
2971  doc/reference/dbus-glib-sections.txt |    1 +
2972  1 file changed, 1 insertion(+)
2973
2974 commit f3b4a2d82994f0013f14fffbd3fedd8cd45cf7da
2975 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2976 Date:   2010-10-14 12:06:07 +0100
2977
2978     dbus_g_value_parse_variant_by_type: talk about GVariant, not GDBus,
2979     in docs
2980
2981  dbus/dbus-gvalue-parse-variant.c |    4 ++--
2982  1 file changed, 2 insertions(+), 2 deletions(-)
2983
2984 commit bc207d10cace8051ff7b2ddf51176030c0d40d17
2985 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2986 Date:   2010-10-14 12:05:48 +0100
2987
2988     Adjust syntax to avoid relying on array/pointer duality
2989
2990  dbus/dbus-gvalue-parse-variant.c |    4 ++--
2991  1 file changed, 2 insertions(+), 2 deletions(-)
2992
2993 commit a66176ecd5eab86d62e23c393c90dfda4d9ca354
2994 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2995 Date:   2010-10-14 12:04:29 +0100
2996
2997     dbus_g_value_basic_array_parse_variant: allow the fast path to
2998     be taken
2999
3000  dbus/dbus-gvalue-parse-variant.c |    2 +-
3001  1 file changed, 1 insertion(+), 1 deletion(-)
3002
3003 commit b9c4c4bf00321ab1fb092514c6b1312d82a098c3
3004 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3005 Date:   2010-10-13 13:27:33 +0100
3006
3007     Test dbus_g_value_parse_g_variant
3008
3009     Also test dbus_g_value_build_g_variant more thoroughly, by carrying
3010     out
3011     various round-trip conversions.
3012
3013  test/core/test-gvariant.c |  283
3014  +++++++++++++++++++++++++++++++++++++++++++++
3015  1 file changed, 283 insertions(+)
3016
3017 commit 817e1fc7c50ccde3643c20ed837dce00bc16a885
3018 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3019 Date:   2010-10-13 12:57:35 +0100
3020
3021     dbus_g_value_build_g_variant: cope with empty arrays, maps
3022
3023     We can't just derive the type from the first entry if there's no first
3024     entry, so for the empty case we need a function whose structure
3025     mirrors
3026     dbus_g_value_build_g_variant itself, which just returns the type.
3027
3028  dbus/dbus-gtype-specialized.c |  114
3029  ++++++++++++++++++++++++++++++++++++++++-
3030  1 file changed, 112 insertions(+), 2 deletions(-)
3031
3032 commit 53d4457fb5bd71467acb1fbca7ecd80d8e39e189
3033 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3034 Date:   2010-10-13 12:52:39 +0100
3035
3036     dbus_g_type_specialized_map_append: document that the value contents
3037     are stolen
3038
3039     This is highly non-obvious, and tripped me up while writing
3040     dbus_g_value_parse_g_variant.
3041
3042  dbus/dbus-gtype-specialized.c |    4 ++--
3043  1 file changed, 2 insertions(+), 2 deletions(-)
3044
3045 commit 26e1c1d86b6e583ac326674ab8b886673f7c1f90
3046 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3047 Date:   2010-10-13 12:52:07 +0100
3048
3049     fd.o #30428: add dbus_g_value_parse_g_variant
3050
3051     This is the inverse of dbus_g_value_build_g_variant, and can be
3052     used to
3053     present an API with GVariant 'in' arguments to library users, then
3054     translate them into GValue for transmission over dbus-glib, as a
3055     transition mechanism.
3056
3057  dbus/Makefile.am                 |    2 +
3058  dbus/dbus-glib.h                 |    2 +
3059  dbus/dbus-gvalue-parse-variant.c |  525
3060  ++++++++++++++++++++++++++++++++++++++
3061  dbus/dbus-gvalue-parse-variant.h |   39 +++
3062  4 files changed, 568 insertions(+)
3063
3064 commit abe6ee06e30f71187aeaed2c8804cbcc6692d8cc
3065 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3066 Date:   2010-10-13 12:48:51 +0100
3067
3068     replace remnants of gcov support with lcov.am from telepathy-glib
3069
3070  .gitignore    |    4 ++++
3071  Makefile.am   |   27 +--------------------------
3072  tools/lcov.am |   47 +++++++++++++++++++++++++++++++++++++++++++++++
3073  3 files changed, 52 insertions(+), 26 deletions(-)
3074
3075 commit b4362df4d4b9ccd3246f102f7990dbda426f1b8c
3076 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3077 Date:   2010-10-12 15:27:52 +0100
3078
3079     Remove gcov decoder, which hasn't worked since dbus-glib left libdbus
3080
3081  Makefile.am        |   16 +-
3082  test/Makefile.am   |   12 +-
3083  test/decode-gcov.c | 2652
3084  ----------------------------------------------------
3085  3 files changed, 2 insertions(+), 2678 deletions(-)
3086
3087 commit c42b86fecc793edaf82055a3552f1490be8ad29c
3088 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3089 Date:   2010-10-12 15:19:24 +0100
3090
3091     Test dbus_g_value_build_g_variant for various fixed arrays
3092
3093  test/core/test-gvariant.c |  217
3094  +++++++++++++++++++++++++++++++++++++++++++++
3095  1 file changed, 217 insertions(+)
3096
3097 commit 75161c695e8d9729ead8543b1297202eee1894f9
3098 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3099 Date:   2010-10-12 15:19:05 +0100
3100
3101     Actually run test/core/test-gvariant
3102
3103  test/core/run-test.sh |    1 +
3104  1 file changed, 1 insertion(+)
3105
3106 commit 48b2b580c4d6fdcd9db83db7acebb0ea4be6fff9
3107 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3108 Date:   2010-10-12 14:41:35 +0100
3109
3110     Give specialized GArrays iteration/appending support
3111
3112     This is necessary to have dbus_g_value_build_g_variant work on them.
3113
3114  dbus/dbus-gvalue-utils.c |  162
3115  +++++++++++++++++++++++++++++++++++++++++++++-
3116  1 file changed, 160 insertions(+), 2 deletions(-)
3117
3118 commit 0ab27bb2b7c3f944348e6368069ffbfcfc2bcb5a
3119 Author: Christian Dywan <christian.dywan@lanedo.com>
3120 Date:   2010-07-21 17:28:09 +0200
3121
3122     Free looked up function name in dbus binding tool
3123
3124  dbus/dbus-binding-tool-glib.c |   11 +++++++----
3125  1 file changed, 7 insertions(+), 4 deletions(-)
3126
3127 commit 5784ee8f24334e634e91b8761dfa956f97a0d2ba
3128 Author: Christian Dywan <christian.dywan@lanedo.com>
3129 Date:   2010-07-21 17:18:18 +0200
3130
3131     Always free method_c_name in dbus binding tool
3132
3133  dbus/dbus-binding-tool-glib.c |   11 +++++++++--
3134  1 file changed, 9 insertions(+), 2 deletions(-)
3135
3136 commit 4acce76d97825721c1792417994e592542f4d3d9
3137 Author: Christian Dywan <christian.dywan@lanedo.com>
3138 Date:   2010-07-21 17:12:34 +0200
3139
3140     Free path string after emission in in statemachine server example
3141
3142  dbus/examples/statemachine/statemachine-server.c |    1 +
3143  1 file changed, 1 insertion(+)
3144
3145 commit ddb48ae24e40c8636b85555e8d288e2a33cadd44
3146 Author: Christian Dywan <christian.dywan@lanedo.com>
3147 Date:   2010-07-21 17:10:26 +0200
3148
3149     Plug leak of expected_str in threaded server test
3150
3151  test/core/test-thread-server.c |    1 +
3152  1 file changed, 1 insertion(+)
3153
3154 commit a07afee00e091a11dc9eefd775288a32f0e49e2d
3155 Author: Christian Dywan <christian.dywan@lanedo.com>
3156 Date:   2010-07-21 18:41:06 +0200
3157
3158     Dereference main loop once variant recursion test is done
3159
3160  test/core/test-variant-recursion.c |    2 ++
3161  1 file changed, 2 insertions(+)
3162
3163 commit ffe66eb93737eb5ac699b8acba7781a5f77bdab6
3164 Author: Christian Dywan <christian.dywan@lanedo.com>
3165 Date:   2010-07-22 16:26:15 +0200
3166
3167     Remove unused method attribute variables in introspect_interfaces
3168
3169  dbus/dbus-gobject.c |    4 ----
3170  1 file changed, 4 deletions(-)
3171
3172 commit afd098718e36b8ce51f565447f429d807bab3785
3173 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3174 Date:   2010-09-28 17:19:19 +0100
3175
3176     Add DBusGObjectPath, DBusGSignature typedefs
3177
3178  dbus/dbus-glib.h                     |    2 ++
3179  dbus/dbus-gvalue.c                   |   44
3180  ++++++++++++++++++++++++++++++----
3181  doc/reference/dbus-glib-sections.txt |    4 +++-
3182  3 files changed, 45 insertions(+), 5 deletions(-)
3183
3184 commit 8318613e6b186bd9e5c8a844c58beebf47426116
3185 Author: Colin Walters <walters@verbum.org>
3186 Date:   2010-08-12 10:19:35 -0400
3187
3188     configure: Release 0.88
3189
3190  configure.ac |    2 +-
3191  1 file changed, 1 insertion(+), 1 deletion(-)
3192
3193 commit 510bdcd63ae4e588a5cb72727696d5ad7fd5298b
3194 Author: Colin Walters <walters@verbum.org>
3195 Date:   2010-04-19 16:47:11 -0400
3196
3197     Respect property access flags for writing, allow disabling for reads
3198
3199     Because DBus-GLib originally was designed as a generic "object
3200     mapping"
3201     binding, the handler for org.freedesktop.DBus.Properties simply
3202     allowed access (read or write) to any GObject property that was
3203     exported.
3204
3205     Later, the (compile time) introspection XML was added, and while
3206     we only
3207     listed "exported" properties in the dynamic introspection XML, we
3208     still allowed Get or Set calls to any property that was valid.
3209
3210     With this patch, we deny writes to properties which aren't listed
3211     in the XML, or are listed as read-only.
3212
3213     For backwards compatibility however, we still allow reads.  A
3214     service may disable this by calling
3215     dbus_glib_global_set_disable_legacy_property_access().
3216
3217  dbus/dbus-binding-tool-glib.c   |   53 +++++--
3218  dbus/dbus-glib.h                |    2 +
3219  dbus/dbus-gobject.c             |  293
3220  +++++++++++++++++++++++++++++++++------
3221  test/core/my-object.c           |   63 ++++++++-
3222  test/core/my-object.h           |    5 +
3223  test/core/test-dbus-glib.c      |  252 +++++++++++++++++++++++++++++++--
3224  test/core/test-service-glib.xml |    5 +
3225  7 files changed, 601 insertions(+), 72 deletions(-)
3226
3227 commit f0668d71d63f97c1c429dad165a30d3aadbdfa0f
3228 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3229 Date:   2010-08-09 11:25:19 +0100
3230
3231     Consolidate LDADD variables in tests/examples and make them more
3232     complete
3233
3234     This fixes compilation with LDFLAGS=-Wl,--no-add-needed, which is the
3235     default behaviour of GNU gold, and of Fedora's patched GNU ld.
3236     See: http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
3237
3238     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=29274
3239     Reviewed-by: Colin Walters <walters@verbum.org>
3240
3241  dbus/examples/Makefile.am              |    8 ++++----
3242  dbus/examples/statemachine/Makefile.am |    6 ++++--
3243  test/core/Makefile.am                  |   32
3244  +++++++++++++-------------------
3245  test/interfaces/Makefile.am            |    8 ++++----
3246  4 files changed, 25 insertions(+), 29 deletions(-)
3247
3248 commit ccf4a4d8c82b7309af7f3fb23144690acbf8e38c
3249 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3250 Date:   2010-08-09 11:25:55 +0100
3251
3252     Add various tests etc. to .gitignore
3253
3254  .gitignore |    7 +++++++
3255  1 file changed, 7 insertions(+)
3256
3257 commit dcc9c8f2dede482614b885eace06f2dedaf2a736
3258 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3259 Date:   2010-07-27 17:16:33 +0100
3260
3261     Add Libtool m4 to .gitignore
3262
3263  .gitignore |    5 +++++
3264  1 file changed, 5 insertions(+)
3265
3266 commit 9440209e203cccef158904800ea623568637a71e
3267 Merge: 0eec114 077d445
3268 Author: Will Thompson <will.thompson@collabora.co.uk>
3269 Date:   2010-08-05 10:09:08 +0100
3270
3271     Merge remote branch 'danni/gvalue-to-gvariant'
3272
3273     Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=28715
3274
3275 commit 0eec114bb510a3bb30888b0020ca0dc11dc3497d
3276 Author: Christian Dywan <christian@twotoasts.de>
3277 Date:   2010-07-22 13:38:01 +0200
3278
3279     Refer to dbus_g_connection_flush rather than the plain dbus call
3280
3281     Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29214
3282
3283  dbus/dbus-gproxy.c |    6 +++---
3284  1 file changed, 3 insertions(+), 3 deletions(-)
3285
3286 commit 077d445078663e3ee6f93beacc14d866504148bf
3287 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3288 Date:   2010-07-14 15:43:11 +1000
3289
3290     Support DBUS_TYPE_G_SIGNATURE
3291
3292  dbus/dbus-gtype-specialized.c |    2 ++
3293  test/core/test-gvariant.c     |   21 +++++++++++++++++++++
3294  2 files changed, 23 insertions(+)
3295
3296 commit 13f7c51344111ca5266e790d2f4863fab770bfd8
3297 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3298 Date:   2010-06-25 14:35:17 +1000
3299
3300     Test test_g_variant_equivalent itself
3301
3302  test/core/test-gvariant.c |  144
3303  +++++++++++++++++++++++++++++++++++++++++++++
3304  1 file changed, 144 insertions(+)
3305
3306 commit 90b5e06797f2c9c5ed8918d22de35d5093bc3bd1
3307 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3308 Date:   2010-06-25 14:11:40 +1000
3309
3310     Write a recursive equivalence function for testing the equivalence
3311     of GVariants
3312
3313     Makes up for the limitations of g_variant_equal()
3314
3315  test/core/test-gvariant.c |  114
3316  +++++++++++++++++++++++++++++++++++++++++----
3317  1 file changed, 106 insertions(+), 8 deletions(-)
3318
3319 commit 5456dc1f10544505a61f2608f646256e28b0047a
3320 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3321 Date:   2010-06-24 22:10:48 +1000
3322
3323     Tests for GValue-to-GVariant
3324
3325  test/core/Makefile.am     |    7 +-
3326  test/core/test-gvariant.c |  191
3327  +++++++++++++++++++++++++++++++++++++++++++++
3328  2 files changed, 197 insertions(+), 1 deletion(-)
3329
3330 commit 5cc0676c83ee678069886daad5fc5487f098686e
3331 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3332 Date:   2010-06-24 20:52:26 +1000
3333
3334     fd.o #28715: Add dbus_g_value_build_g_variant()
3335
3336  dbus/dbus-gtype-specialized.c        |  127
3337  ++++++++++++++++++++++++++++++++++
3338  dbus/dbus-gtype-specialized.h        |    2 +
3339  doc/reference/dbus-glib-sections.txt |    1 +
3340  3 files changed, 130 insertions(+)
3341
3342 commit 5ed147db0808e5f4ef50dfd6011419c44255ea6c
3343 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
3344 Date:   2010-06-24 20:59:05 +1000
3345
3346     Bumping required GLib to 2.24 for GVariant
3347
3348  configure.ac |    2 +-
3349  1 file changed, 1 insertion(+), 1 deletion(-)
3350
3351 commit 7f054d7bce4b2ea74e5268f2cf65c467773ee14f
3352 Author: Dan Williams <dcbw@redhat.com>
3353 Date:   2010-06-29 21:19:25 -0700
3354
3355     Fix lookup of regular properties when shadow properties are used
3356
3357     Only free the uscore converted name if there's actually a shadow
3358     property registered for this property; otherwise if there is no
3359     shadow property we free the uscore converted one and then return
3360     it immediately after.
3361
3362  dbus/dbus-gobject.c |    3 ++-
3363  1 file changed, 2 insertions(+), 1 deletion(-)
3364
3365 commit e6b6e27dc2d6e3abae88d9a773a1e4c016e58aa3
3366 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3367 Date:   2010-05-04 12:39:51 +0100
3368
3369     fd.o #27958: dbus_g_error_domain_register: rewrite the documentation
3370
3371     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
3372
3373  dbus/dbus-gobject.c |   30 +++++++++++++++++++++++++-----
3374  1 file changed, 25 insertions(+), 5 deletions(-)
3375
3376 commit 451183c140f7d6b42fdff3a6c190ef93d860c5fc
3377 Merge: 7db074f 499beb6
3378 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3379 Date:   2010-05-04 12:18:31 +0100
3380
3381     Merge branch '14579-remove-before-cancel'
3382
3383     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
3384     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=14579
3385
3386 commit 7db074fead497c31041ebf417db26ae9a7ab565c
3387 Author: Fridrich Å trba <fridrich.strba@bluewin.ch>
3388 Date:   2010-04-26 18:51:49 +0200
3389
3390     Put the G_OS_WIN32 check where it can be defined.
3391
3392  test/core/test-profile.c |    5 +++--
3393  1 file changed, 3 insertions(+), 2 deletions(-)
3394
3395 commit fb7cb9f10e08eaf3887b2a63a7fa59510e40b5d2
3396 Author: Fridrich Å trba <fridrich.strba@bluewin.ch>
3397 Date:   2010-04-26 18:50:31 +0200
3398
3399     Fix linking of tests. On windows, undefined symbols are not allowed
3400     and symbol lookup is sequencial
3401
3402  test/core/Makefile.am       |    2 +-
3403  test/interfaces/Makefile.am |    2 +-
3404  2 files changed, 2 insertions(+), 2 deletions(-)
3405
3406 commit fadbedfbbf512d69611a80a0cd4698e3b5d579ea
3407 Author: Fridrich Å trba <fridrich.strba@bluewin.ch>
3408 Date:   2010-04-26 18:44:21 +0200
3409
3410     Use EXEEXT so that we satisfy dependencies when cross-compiling
3411
3412  test/core/Makefile.am       |    6 +++---
3413  test/interfaces/Makefile.am |   20 ++++++++++----------
3414  2 files changed, 13 insertions(+), 13 deletions(-)
3415
3416 commit f0abb1f78d4e4764119b57d2b6f3b5fa57d8fdfb
3417 Author: Dan Williams <dcbw@redhat.com>
3418 Date:   2010-04-22 13:26:44 -0700
3419
3420     core: don't pass malformed error interface to dbus (rh#581794)
3421
3422     While clients should really register their errors, dbus-glib
3423     shouldn't be passing a malformed error interface to dbus
3424     either.  It's just not nice and libdbus will call abort().
3425
3426     See https://bugzilla.redhat.com/show_bug.cgi?id=581794
3427
3428     Signed-off-by: Colin Walters <walters@verbum.org>
3429
3430  dbus/dbus-gobject.c             |   17 +++++++++++------
3431  test/core/my-object.c           |   12 ++++++++++++
3432  test/core/my-object.h           |    1 +
3433  test/core/test-dbus-glib.c      |    8 ++++++++
3434  test/core/test-service-glib.xml |    3 +++
3435  5 files changed, 35 insertions(+), 6 deletions(-)
3436
3437 commit 47adc3b17f20a78230c5c34e635fc30bb7afbde2
3438 Author: Colin Walters <walters@verbum.org>
3439 Date:   2010-04-26 10:51:39 -0400
3440
3441     Disable test-profile on win32 for now
3442
3443     It uses Unix sockets, and overall isn't very interesting anyways.
3444
3445  test/core/test-profile.c |   13 +++++++++++--
3446  1 file changed, 11 insertions(+), 2 deletions(-)
3447
3448 commit 16deb341b52421695b81ebe8c91c81f47eb173f3
3449 Author: Fridrich Strba <fridrich.strba@bluewin.ch>
3450 Date:   2010-04-26 10:31:23 -0400
3451
3452     Don't use the identifier "interface" in public headers
3453
3454     This causes problems on Windows.
3455
3456  dbus/dbus-gidl.h |    2 +-
3457  dbus/dbus-glib.h |    6 +++---
3458  2 files changed, 4 insertions(+), 4 deletions(-)
3459
3460 commit 354ed0897ae0e815e95a7eb931de6ba35325121c
3461 Author: Fridrich Strba <fridrich.strba@bluewin.ch>
3462 Date:   2010-04-26 10:29:41 -0400
3463
3464     Use AC_CANONICAL_HOST, not _TARGET
3465
3466     This is what GLib uses; see the Autoconf manual for the full
3467     explanation of the train wreck.
3468
3469  configure.ac |    2 +-
3470  1 file changed, 1 insertion(+), 1 deletion(-)
3471
3472 commit af0ec6795ea64d6498b83f30ecd94adc4e935e7e
3473 Author: Astone Lin <astone.lin@mediatek.com>
3474 Date:   2010-04-19 06:56:43 -0400
3475
3476     Allow duplicate object path registrations for different connections
3477
3478     We clearly need to respect the connection when comparing
3479     registrations,
3480     since it's perfectly valid to have the same one on two different
3481     connections.
3482
3483  dbus/dbus-gobject.c |    2 +-
3484  1 file changed, 1 insertion(+), 1 deletion(-)
3485
3486 commit fc7114a536571688d48ede025f1357c0e467c879
3487 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
3488 Date:   2010-04-07 12:08:59 +0200
3489
3490     add mising DBUS_TYPE_G_* to the doc
3491
3492     Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
3493     Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
3494
3495  doc/reference/dbus-glib-sections.txt |    9 +++++++++
3496  1 file changed, 9 insertions(+)
3497
3498 commit 8df3281e536557cfd6b4056a9c95102d57596179
3499 Author: Colin Walters <walters@verbum.org>
3500 Date:   2010-03-24 20:17:54 -0400
3501
3502     [configure] Release 0.86
3503
3504  configure.ac |    2 +-
3505  1 file changed, 1 insertion(+), 1 deletion(-)
3506
3507 commit 551d86f7fe0e7f2304f57baa7a406c935182b06a
3508 Author: Dan Williams <dcbw@redhat.com>
3509 Date:   2010-03-24 14:40:09 -0700
3510
3511     core: performance optimization for object info lookup
3512
3513  dbus/dbus-gobject.c |   31 ++++++++++++++++++-------------
3514  1 file changed, 18 insertions(+), 13 deletions(-)
3515
3516 commit ed73cb2f32c411a3306c6dfe2ae541aea249f200
3517 Author: Dan Williams <dcbw@redhat.com>
3518 Date:   2010-03-24 12:20:13 -0700
3519
3520     core: allow duplicate property names on GInterfaces
3521
3522     Allows dbus-glib clients to handle objects that implement
3523     more than one interface with the properties of the same name.
3524     Normally this would not be allowed since with GObject all
3525     properties are in the same namespace.  This patch allows
3526     the interface to register "shadow" properties on a per-interface
3527     basis which redirect the lookup of the property name.
3528
3529  dbus/dbus-glib.h                    |    4 +
3530  dbus/dbus-gobject.c                 |  160 +++++++++++++++++++++++++----
3531  test/interfaces/Makefile.am         |   24 ++++-
3532  test/interfaces/test-client.c       |  186
3533  +++++++++++++++++++++++++++++++++
3534  test/interfaces/test-dup-prop-a.xml |    6 ++
3535  test/interfaces/test-dup-prop-b.xml |    6 ++
3536  test/interfaces/test-dup-prop.c     |  192
3537  +++++++++++++++++++++++++++++++++++
3538  test/interfaces/test-dup-prop.h     |   60 +++++++++++
3539  test/interfaces/test-server.c       |    8 ++
3540  9 files changed, 627 insertions(+), 19 deletions(-)
3541
3542 commit c1bbf6fb1b7c6e2a743c8a7353cddea52d42fa2d
3543 Author: Colin Walters <walters@verbum.org>
3544 Date:   2010-03-18 21:39:24 -0400
3545
3546     [dbus-gobject.c] Trivial compiler warning fixes
3547
3548  dbus/dbus-gobject.c |    3 +--
3549  1 file changed, 1 insertion(+), 2 deletions(-)
3550
3551 commit b52c16b495632bd945328ca858533d5660106bdf
3552 Author: Colin Walters <walters@verbum.org>
3553 Date:   2010-03-18 21:37:38 -0400
3554
3555     Remove dbus-glib-undeclared.txt from git; it's a generated file
3556
3557  0 files changed
3558
3559 commit 7b029451dac1fdd14da4e558cc995fb7f5263d04
3560 Author: Colin Walters <walters@verbum.org>
3561 Date:   2010-03-18 21:37:05 -0400
3562
3563     [configure.ac] Use AM_SILENT_RULES if available
3564
3565  configure.ac |    2 ++
3566  1 file changed, 2 insertions(+)
3567
3568 commit db026859406ce768d71d4ccf850e8be56b52998c
3569 Author: Will Thompson <will.thompson@collabora.co.uk>
3570 Date:   2010-03-09 17:18:10 +0000
3571
3572     Free errors returned by method implementations
3573
3574     https://bugs.freedesktop.org/show_bug.cgi?id=26981
3575
3576  dbus/dbus-gobject.c |    4 ++++
3577  1 file changed, 4 insertions(+)
3578
3579 commit 3902ac5a13a7510b8411b1147d0cce5711cf4168
3580 Author: Sven Herzberg <herzi@gnome-de.org>
3581 Date:   2010-03-08 16:50:28 +0100
3582
3583     turn the gtk-doc documentation into buildable shape
3584
3585     * dbus/dbus-gobject.c: the < and > symbols broke the sgml generation
3586     in
3587       gtk-doc
3588
3589  dbus/dbus-gobject.c |    6 +++---
3590  1 file changed, 3 insertions(+), 3 deletions(-)
3591
3592 commit 3d69cfeab177e79b4ecfe1b4284a5bd840fd11e7
3593 Author: Colin Walters <walters@verbum.org>
3594 Date:   2009-04-02 14:01:05 +0100
3595
3596     Fix hyphenated error codes correctly
3597
3598     The error code names generated my glib-mkenums separate the words by
3599     hyphens which are invalid D-BUS error names. This patch converts them
3600     back to wincaps, but we can't uppercase the first letter.
3601
3602     Based on an original patch from Neil Roberts <neil@linux.intel.com>
3603
3604  dbus/dbus-gobject.c             |   21 ++++++++++++++++++---
3605  test/core/my-object.c           |   13 +++++++++++++
3606  test/core/my-object.h           |    4 +++-
3607  test/core/test-dbus-glib.c      |    7 +++++++
3608  test/core/test-service-glib.xml |    3 +++
3609  5 files changed, 44 insertions(+), 4 deletions(-)
3610
3611 commit 4538adc1fe903d1ce71ca24590df9bdac7c4a50e
3612 Author: Colin Walters <walters@verbum.org>
3613 Date:   2010-03-02 12:12:18 -0500
3614
3615     Revert "Squash underscores and dashes in errors when converting to
3616     DBus errors"
3617
3618     This reverts commit 9637ed9f0c66982a06048b18ccf983881643e456.
3619
3620     This incorrectly uppercased the first character in error names:
3621     https://bugzilla.redhat.com/show_bug.cgi?id=569631
3622
3623  dbus/dbus-gobject.c |   13 ++-----------
3624  1 file changed, 2 insertions(+), 11 deletions(-)
3625
3626 commit 2d85761286e96df3490426af1e20e7b553448092
3627 Author: Colin Walters <walters@verbum.org>
3628 Date:   2010-03-02 13:52:36 -0500
3629
3630     Remove dbus-glib-undocumented.txt from git
3631
3632     It's autogenerated by gtk-doc, so shouldn't be in git.
3633
3634  doc/reference/dbus-glib-undocumented.txt |   60
3635  ------------------------------
3636  1 file changed, 60 deletions(-)
3637
3638 commit 9637ed9f0c66982a06048b18ccf983881643e456
3639 Author: Colin Walters <walters@verbum.org>
3640 Date:   2010-02-01 10:09:53 -0500
3641
3642     Squash underscores and dashes in errors when converting to DBus errors
3643
3644     We were just taking the enumeration nick and appending to the DBus
3645     error name, but since these can contain '-' we need to squash.
3646
3647  dbus/dbus-gobject.c |   13 +++++++++++--
3648  1 file changed, 11 insertions(+), 2 deletions(-)
3649
3650 commit d039ca66f85955788e2d58294c249579bed9cc03
3651 Author: Colin Walters <walters@verbum.org>
3652 Date:   2010-01-27 13:56:48 -0500
3653
3654     Release 0.84
3655
3656  configure.ac |    2 +-
3657  1 file changed, 1 insertion(+), 1 deletion(-)
3658
3659 commit f1c3f7bf585d6010c84491372b0a6f0ae3b1432a
3660 Author: Colin Walters <walters@verbum.org>
3661 Date:   2010-01-27 13:01:29 -0500
3662
3663     Add GMainContext to dbus_g_bus_get_private, add a test case
3664
3665     To even sort of work with threads right now, a common workaround
3666     is to open a private connection.  This patch more explicitly
3667     supports creating a private connection, associating it with
3668     the GMainContext which will be used for a thread.
3669
3670     Also, add a (very simple) test case which just uses a private
3671     connection for the default main context.
3672
3673  dbus/dbus-glib.h           |    1 +
3674  dbus/dbus-gmain.c          |    4 +++-
3675  test/core/test-dbus-glib.c |   21 +++++++++++++++++++++
3676  3 files changed, 25 insertions(+), 1 deletion(-)
3677
3678 commit 87c645ed17d6fef350e8c26e322ecde566a27d42
3679 Author: Colin Walters <walters@verbum.org>
3680 Date:   2010-01-27 13:06:34 -0500
3681
3682     Fix compilation of dbus-gvalue.c
3683
3684     commit c4a5653e0402f876a1824c33a19e69991ee46a27 was missing a "break;"
3685
3686  dbus/dbus-gvalue.c |    1 +
3687  1 file changed, 1 insertion(+)
3688
3689 commit e6cd65545ee5cd2eeb5ccc21d5bfe8e8ac286d95
3690 Author: Colin Walters <walters@verbum.org>
3691 Date:   2010-01-27 11:40:07 -0500
3692
3693     Add note about non-maintenance of NEWS
3694
3695  NEWS |    7 +++++++
3696  1 file changed, 7 insertions(+)
3697
3698 commit c4a5653e0402f876a1824c33a19e69991ee46a27
3699 Author: Andres Salomon <dilinger@collabora.co.uk>
3700 Date:   2009-08-19 08:57:21 -0400
3701
3702     dbus-gvalue: set an error when demarshal_basic doesn't recognize type
3703
3704     By passing dbus_g_proxy_call an incorrect signature, we can cause
3705     the function to fail but not provide any error message (if
3706     G_DISABLE_ASSERT is defined).  As smvc pointed out, this can also
3707     become a runtime error when a telepathy CM changes signature, but
3708     the client hasn't been updated.  As such, g_assert isn't an
3709     appropriate
3710     action.  See http://bugs.debian.org/541632 for more information.
3711
3712     This patch causes it to set an error when demarshalling a type
3713     that it's
3714     not expecting.  Instead of a NULL error, one instead
3715     sees something like the following when the method returns a path
3716     object but the client expected a string:
3717
3718     "modem Create() failed: Expected type gchararray, got type code 'o'"
3719
3720     Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
3721
3722  dbus/dbus-gvalue.c |    3 +--
3723  1 file changed, 1 insertion(+), 2 deletions(-)
3724
3725 commit b976413f896f2d5a0be9449fc77a716f2e67cc96
3726 Author: Jiří KlimeÅ¡ <jklimes@redhat.com>
3727 Date:   2010-01-27 10:36:57 -0500
3728
3729     Fix bad NAME in dbus-binding-tool man page
3730
3731  doc/dbus-binding-tool.1 |    2 +-
3732  1 file changed, 1 insertion(+), 1 deletion(-)
3733
3734 commit 34636b12c62523b9db789b0fbeb3a86782debf10
3735 Author: Colin Walters <walters@verbum.org>
3736 Date:   2010-01-15 12:23:30 -0500
3737
3738     Import dbus-bus-introspect.xml upstream
3739
3740     Rather than having consumers pass an externally-generated XML file,
3741     just include one here.  In practice our target audience is OS
3742     builders,
3743     who if they have the capability to update dbus, also have the
3744     capability
3745     to update dbus-glib.
3746
3747  Makefile.am             |    1 +
3748  configure.ac            |   12 --------
3749  dbus-bus-introspect.xml |   77
3750  +++++++++++++++++++++++++++++++++++++++++++++++
3751  tools/Makefile.am       |   15 ++-------
3752  4 files changed, 81 insertions(+), 24 deletions(-)
3753
3754 commit 9cefa4bae8d20beddf695380af00945790da0206
3755 Merge: 5e5a1c1 15f4533
3756 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3757 Date:   2009-11-25 14:55:32 +0000
3758
3759     Merge remote branch 'upstream/master'
3760
3761 commit 15f4533742ad6aeab85ebb723ac8fca99c00e939
3762 Author: Will Thompson <will.thompson@collabora.co.uk>
3763 Date:   2009-11-16 13:32:40 +0000
3764
3765     Don't leak DBusGMethodInvocation for no-reply calls
3766
3767     https://bugs.freedesktop.org/show_bug.cgi?id=25119
3768
3769  dbus/dbus-gobject.c |   17 ++++++++++-------
3770  1 file changed, 10 insertions(+), 7 deletions(-)
3771
3772 commit 5e5a1c1930173dac0e331c2cb78a164c3565b0eb
3773 Merge: 2a4396b 90e2199
3774 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3775 Date:   2009-09-29 14:22:07 +0100
3776
3777     Merge remote branch 'wjt/duplicate-registrations'
3778
3779     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
3780
3781 commit 2a4396b523912c3bf4d2a1ef6d6fa930c0871c67
3782 Merge: 980b468 e2007cf
3783 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3784 Date:   2009-09-29 14:07:11 +0100
3785
3786     Merge branch '20936-fsf-address'
3787
3788     Reviewed-by: Colin Walters <walters@verbum.org>
3789
3790 commit 980b46870aa0e44a04ad1191d7af1d0601577501
3791 Author: Stian Skjelstad <stian@nixia.no>
3792 Date:   2009-09-18 14:01:00 -0400
3793
3794     Bug 19623 - Add dbus_g_bus_get_private
3795
3796     Useful for cases where you have to get a private connection, among
3797     them to work around threading issues.
3798
3799     Signed-off-by: Colin Walters <walters@verbum.org>
3800
3801  dbus/dbus-glib.h  |    3 +++
3802  dbus/dbus-gmain.c |   41 +++++++++++++++++++++++++++++++++++++++++
3803  2 files changed, 44 insertions(+)
3804
3805 commit 90e2199ac99f5b8ab0cd5f45dcb398ecf9af03d9
3806 Author: Will Thompson <will.thompson@collabora.co.uk>
3807 Date:   2009-09-12 11:58:22 +0100
3808
3809     Copy object registration list when unregistering.
3810
3811     Since the list of registrations on the object is modified when
3812     each path
3813     is removed, iterating it directly is wrong: after the first pass
3814     of the
3815     loop, 'iter' would point to a link which has been freed.
3816
3817  dbus/dbus-gobject.c |    8 +++++++-
3818  1 file changed, 7 insertions(+), 1 deletion(-)
3819
3820 commit 39e2642e41b2293de7556fa15c57872f78ffcdc8
3821 Author: Will Thompson <will.thompson@collabora.co.uk>
3822 Date:   2009-09-12 11:28:25 +0100
3823
3824     Only re-set registration list if it's non-empty
3825
3826  dbus/dbus-gobject.c |    4 +++-
3827  1 file changed, 3 insertions(+), 1 deletion(-)
3828
3829 commit 0263b72669de710e0adda419a520ae9f123a1be9
3830 Author: Colin Walters <walters@verbum.org>
3831 Date:   2009-08-19 13:27:53 -0400
3832
3833     Support duplicate object registrations
3834
3835     Before commit e869fda4, we semi-supported registering the
3836     same object multiple times.  We'd accept messages for both paths,
3837     however when signals were emitted, they'd both use the first object
3838     path.
3839
3840     That commit simply disallowed multiple registrations, which broke
3841     backwards compatibility with some projects like PolicyKit which
3842     had the same object registered with different paths.
3843
3844     With this commit, explicitly allow and support multiple registrations.
3845     The primary change is that signals are now emitted once for each
3846     registration path of an object, using the correct path.
3847
3848  dbus/dbus-gobject.c           |  159
3849  ++++++++++++++++++++++++++++-------------
3850  test/core/test-dbus-glib.c    |   41 +++++++++++
3851  test/core/test-service-glib.c |    4 ++
3852  3 files changed, 154 insertions(+), 50 deletions(-)
3853
3854 commit c993494ad463ffe55b8603e58aa5ecb6dd731144
3855 Author: Colin Walters <walters@verbum.org>
3856 Date:   2009-07-16 14:09:18 -0400
3857
3858     Release 0.82
3859
3860  configure.ac |    2 +-
3861  1 file changed, 1 insertion(+), 1 deletion(-)
3862
3863 commit 65e03ccf0f2417a83fd187035b80d680e376fd32
3864 Author: Colin Walters <walters@verbum.org>
3865 Date:   2009-07-16 13:51:57 -0400
3866
3867     Test for git-log in Makefile.am should just be for git now
3868
3869     The combined tools are no longer in $PATH for modern git.
3870
3871  Makefile.am |    8 ++++----
3872  1 file changed, 4 insertions(+), 4 deletions(-)
3873
3874 commit f5edb761202d3aff8f8bd0bc68dd57d3d32d2bd1
3875 Author: Alban Crequy <alban.crequy@collabora.co.uk>
3876 Date:   2009-07-16 13:39:08 -0400
3877
3878     Bug 18294 - Be defensive about a possibly NULL property string
3879
3880     As far as I can tell we should always be writing one, but it doesn't
3881     hurt to guard against NULL here.
3882
3883     Signed-off-by: Colin Walters <walters@verbum.org>
3884
3885  dbus/dbus-gobject.c |    4 ++--
3886  1 file changed, 2 insertions(+), 2 deletions(-)
3887
3888 commit 2508e687e7d7792a656c7af0aad1be851faa33bb
3889 Author: Brian Cameron <brian.cameron@sun.com>
3890 Date:   2009-07-16 13:15:38 -0400
3891
3892     Bug 20343 - Add a man page for dbus-binding-tool
3893
3894     Signed-off-by: Colin Walters <walters@verbum.org>
3895
3896  doc/Makefile.am         |    6 +-
3897  doc/dbus-binding-tool.1 |  294
3898  +++++++++++++++++++++++++++++++++++++++++++++++
3899  2 files changed, 299 insertions(+), 1 deletion(-)
3900
3901 commit 29513843b22dbd2aba1d3ba2930bb38e2c6631e5
3902 Author: Marc-André Lureau <marcandre.lureau@gmail.com>
3903 Date:   2009-05-09 18:13:49 +0300
3904
3905     build: fix undefined macro: AM_PROG_LIBTOOL with recent libtool
3906
3907     Without this patch, I get:
3908
3909      configure.ac:206: warning: macro `AM_PROG_LIBTOOL' not found
3910      in library
3911      configure.ac:213: error: possibly undefined macro: AM_PROG_LIBTOOL
3912            If this token and others are legitimate, please use
3913            m4_pattern_allow.
3914            See the Autoconf documentation.
3915      autoreconf2.50: /usr/bin/autoconf failed with exit status: 1
3916
3917     (I am using libltdl-dev 2.2.6a-4 from Debian)
3918
3919  Makefile.am |    1 +
3920  autogen.sh  |    1 +
3921  2 files changed, 2 insertions(+)
3922
3923 commit d66337bdf9fc8f5372d84b05ae68c818bb9c881b
3924 Author: Luis Menina <liberforce@freeside.fr>
3925 Date:   2009-07-16 10:55:39 -0400
3926
3927     Bugg 22244 - Only include <glib.h>, not individual headers
3928
3929     Signed-off-by: Colin Walters <walters@verbum.org>
3930
3931  dbus/dbus-glib-tool.h |    2 +-
3932  1 file changed, 1 insertion(+), 1 deletion(-)
3933
3934 commit 67c289a60a4ac2ee9660f38a7168a238c1b3cffb
3935 Author: Colin Walters <walters@verbum.org>
3936 Date:   2009-07-15 15:33:31 -0400
3937
3938     Clean up some compilation warnings
3939
3940  dbus/dbus-gloader-expat.c  |    6 +++---
3941  dbus/dbus-gobject.c        |    4 ++--
3942  test/core/test-dbus-glib.c |    2 +-
3943  3 files changed, 6 insertions(+), 6 deletions(-)
3944
3945 commit 5eea6af0d24780109dbbc15b8bfa4078df3a80a2
3946 Author: Colin Walters <walters@verbum.org>
3947 Date:   2009-07-15 15:28:06 -0400
3948
3949     Add missing prototype for dbus_g_connection_unregister_g_object
3950
3951     The function was introduced in commit b4911558384de and intended
3952     to be public, make it so.
3953
3954  dbus/dbus-glib.h |    2 ++
3955  1 file changed, 2 insertions(+)
3956
3957 commit de68d2b2fc3012ae733212a704aa29a748f22f80
3958 Author: Brian Tarricone <bjt23@cornell.edu>
3959 Date:   2009-07-15 15:03:36 -0400
3960
3961     Bug 21753 - Correctly initialize GValues in dbus-binding-tool
3962     generated code
3963
3964     GValues should have their type set to 0.
3965
3966     Signed-off-by: Colin Walters <walters@verbum.org>
3967
3968  dbus/dbus-binding-tool-glib.c |   12 ++++++++----
3969  1 file changed, 8 insertions(+), 4 deletions(-)
3970
3971 commit af07e13e6afe09456588ddba4b72cba215bc7c93
3972 Author: Jason Leach <jason@archlinux.us>
3973 Date:   2009-07-01 15:41:04 -0400
3974
3975     Bug 21362 - Remove use of deprecated symbols
3976
3977     The _set*_take_ownership are replaced by _take, and
3978     use g_main_loop_run.
3979
3980  dbus/dbus-binding-tool-glib.c  |    6 +++---
3981  dbus/dbus-gvalue-utils.c       |   14 +++++++-------
3982  dbus/dbus-gvalue.c             |   16 ++++++++--------
3983  m4/gtk-doc.m4                  |    2 +-
3984  test/core/test-dbus-glib.c     |    2 +-
3985  test/core/test-thread-client.c |    2 +-
3986  test/core/test-thread-server.c |    2 +-
3987  7 files changed, 22 insertions(+), 22 deletions(-)
3988
3989 commit e2007cfc5822f057b975660bd369fee56a7f2eb6
3990 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3991 Date:   2009-06-09 16:22:46 +0100
3992
3993     fd.o #20936: Fix another couple of instances of the old FSF address
3994
3995     `git grep 'Temple Place'` now returns nothing.
3996
3997  dbus/dbus-bash-completion-helper.c |    2 +-
3998  dbus/dbus-gtool-test.h             |    2 +-
3999  dbus/dbus-gtype-specialized-priv.h |    2 +-
4000  3 files changed, 3 insertions(+), 3 deletions(-)
4001
4002 commit cbe5250e553112221e1230301767ad1052790b0a
4003 Author: Tobias Mueller <fdo-bugs@cryptobitch.de>
4004 Date:   2009-04-15 21:37:05 +0100
4005
4006     fd.o #20936: Update FSF address
4007
4008     The glib bindings contain an outdated address of the FSF:
4009     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
4010
4011     The new address is:
4012     http://www.fsf.org/about/contact.html writes:
4013     > Free Software Foundation
4014     > 51 Franklin Street, Fifth Floor
4015     > Boston, MA 02110-1301
4016     > USA
4017
4018     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
4019
4020  COPYING                       |    4 ++--
4021  dbus/dbus-binding-tool-glib.c |    2 +-
4022  dbus/dbus-binding-tool-glib.h |    2 +-
4023  dbus/dbus-gidl.c              |    2 +-
4024  dbus/dbus-gidl.h              |    2 +-
4025  dbus/dbus-glib-lowlevel.h     |    2 +-
4026  dbus/dbus-glib-tool.c         |    2 +-
4027  dbus/dbus-glib-tool.h         |    2 +-
4028  dbus/dbus-glib.c              |    2 +-
4029  dbus/dbus-glib.h              |    2 +-
4030  dbus/dbus-gloader-expat.c     |    2 +-
4031  dbus/dbus-gmain.c             |    2 +-
4032  dbus/dbus-gobject.c           |    2 +-
4033  dbus/dbus-gobject.h           |    2 +-
4034  dbus/dbus-gparser.c           |    2 +-
4035  dbus/dbus-gparser.h           |    2 +-
4036  dbus/dbus-gproxy.c            |    2 +-
4037  dbus/dbus-gsignature.c        |    2 +-
4038  dbus/dbus-gtest-main.c        |    2 +-
4039  dbus/dbus-gtest.c             |    2 +-
4040  dbus/dbus-gtest.h             |    2 +-
4041  dbus/dbus-gthread.c           |    2 +-
4042  dbus/dbus-gtype-specialized.c |    2 +-
4043  dbus/dbus-gtype-specialized.h |    2 +-
4044  dbus/dbus-gutils.c            |    2 +-
4045  dbus/dbus-gutils.h            |    2 +-
4046  dbus/dbus-gvalue-utils.c      |    2 +-
4047  dbus/dbus-gvalue-utils.h      |    2 +-
4048  dbus/dbus-gvalue.c            |    2 +-
4049  test/core/test-profile.c      |    2 +-
4050  test/decode-gcov.c            |    2 +-
4051  31 files changed, 32 insertions(+), 32 deletions(-)
4052
4053 commit 499beb64a12cead99ccb09d7de01890aaa800ef2
4054 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4055 Date:   2008-11-28 16:04:57 +0000
4056
4057     Bug 14579: remove pending call from hash table before cancelling it
4058
4059     Previously, the code implicitly assumed that cancelling the pending
4060     call
4061     would not cause the DBusGProxy to be freed. This can fail if user_data
4062     for the pending call holds the last reference to the DBusGProxy - in
4063     this case, it is unsafe to be manipulating the contents of "priv"
4064     after
4065     the call is cancelled.
4066
4067  dbus/dbus-gproxy.c |    3 +--
4068  1 file changed, 1 insertion(+), 2 deletions(-)
4069
4070 commit b615918eef9723c00f03d30903181d9989dfd261
4071 Merge: cb8a113 f550c49
4072 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4073 Date:   2009-06-09 16:15:49 +0100
4074
4075     Merge branch '13908-autoinit'
4076
4077     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
4078     Reviewed-by: Colin Walters <walters@verbum.org>
4079     Bug: http://bugs.freedesktop.org/show_bug.cgi?id=13908
4080
4081 commit f550c492a10922795099166db34d8ccf5dbe63a7
4082 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4083 Date:   2009-05-28 18:21:27 +0100
4084
4085     fd.o #13908: silently initialize specialized types whenever required
4086
4087     Colin Walters asks: "Is there a reason not to just do the
4088     initialization
4089     at the time someone calls one of the public API entry points that
4090     depends
4091     on it?". This turns out to be non-trivial because those public
4092     API entry
4093     points are themselves used inside the initialization.
4094
4095  dbus/Makefile.am                   |    1 +
4096  dbus/dbus-gtype-specialized-priv.h |   48 +++++++++++++++++++++++++++
4097  dbus/dbus-gtype-specialized.c      |   64
4098  ++++++++++++++++++++++++++----------
4099  dbus/dbus-gvalue-utils.c           |   11 ++++---
4100  4 files changed, 101 insertions(+), 23 deletions(-)
4101
4102 commit cb8a113be8808fe2c88d3e7851e79115235f9e8c
4103 Merge: 0d64d31 725e98f
4104 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4105 Date:   2009-05-28 18:04:20 +0100
4106
4107     Merge branch '20716-with-dbus-binding-tool'
4108
4109     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
4110     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=20716
4111     Reviewed-by: Colin Walters <walters@verbum.org>
4112
4113 commit 0d64d318397da26f224abd2d7ef1f27d14a544fa
4114 Merge: 48abffb b93c2a1
4115 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4116 Date:   2009-05-28 18:02:44 +0100
4117
4118     Merge branch '5688-survive-disconnection'
4119
4120     This is unsuitable for cherry-picking by distros, since it adds API.
4121
4122     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21219
4123     Reviewed-by: Colin Walters <walters@verbum.org>
4124
4125 commit 48abffba4cd81c182901dd7c80987251ba05348e
4126 Merge: 9a0c188 e869fda
4127 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4128 Date:   2009-05-28 18:01:54 +0100
4129
4130     Merge part of branch '5688-survive-disconnection'
4131
4132     Bug: https://bugs.freedesktop.org/show_bug.cgi?id=5688
4133     Reviewed-by: Colin Walters <walters@verbum.org>
4134
4135 commit 9a0c188e2662809950738e92b963e5602dfbd8eb
4136 Merge: 03de444 98087a3
4137 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4138 Date:   2009-05-07 15:33:15 +0100
4139
4140     Merge branch '16776-make-dbus-errors-throwable'
4141
4142     Reviewed-by: Colin Walters <walters@verbum.org>
4143
4144 commit 03de44461132ed610c3d52133d4b4760f20e4cb2
4145 Merge: b6b3787 f363811
4146 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4147 Date:   2009-04-27 10:47:58 +0100
4148
4149     Merge branch '20884-proxy-manager-replace-name-owner'
4150
4151     Reviewed-by: Colin Walters <walters@verbum.org>
4152
4153 commit b6b37871960ee06d9cc589e031ec3d5d6a4a6b92
4154 Merge: e11c0ac d275c2e
4155 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4156 Date:   2009-04-16 19:25:02 +0100
4157
4158     Merge branch '20886-configure-cleanup'
4159
4160     Reviewed by Colin Walters, fd.o #20886.
4161
4162 commit e11c0aced3b00733766207f15876fb300d63d442
4163 Author: Colin Walters <walters@verbum.org>
4164 Date:   2009-02-25 11:27:57 -0500
4165
4166     Bug 19927 - Use const for GError * param we're not modifying
4167
4168     This makes it clearer we're not taking ownership of the error, and
4169     interoperates more nicely with functions which provide const GError *.
4170
4171  dbus/dbus-glib.h    |    2 +-
4172  dbus/dbus-gobject.c |    2 +-
4173  2 files changed, 2 insertions(+), 2 deletions(-)
4174
4175 commit a809ea3016a0eae166df13c757f3e917dea0c0f9
4176 Author: Vincent Untz <vuntz@gnome.org>
4177 Date:   2009-04-16 12:35:42 -0400
4178
4179     Bug 20879 - Use --skip-source argument for glib-genmarshal
4180
4181     This avoids adding debug information for the temporary file.
4182
4183     Signed-off-by: Colin Walters <walters@verbum.org>
4184
4185  dbus/dbus-binding-tool-glib.c |    1 +
4186  1 file changed, 1 insertion(+)
4187
4188 commit b93c2a19f468930c6badf054f79597d99d86e76c
4189 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4190 Date:   2009-04-16 12:59:10 +0100
4191
4192     fd.o #21219: regression test
4193
4194  test/core/Makefile.am  |   22 ++++++++++++++-
4195  test/core/run-test.sh  |    1 +
4196  test/core/unregister.c |   71
4197  ++++++++++++++++++++++++++++++++++++++++++++++++
4198  3 files changed, 93 insertions(+), 1 deletion(-)
4199
4200 commit e869fda44331e6f590f974ad779115a22f5af22e
4201 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4202 Date:   2009-04-16 12:57:43 +0100
4203
4204     dbus-gobject: save the ObjectRegistration on each object, not just
4205     the path
4206
4207  dbus/dbus-gobject.c |   20 +++++++++++++-------
4208  1 file changed, 13 insertions(+), 7 deletions(-)
4209
4210 commit b4911558384de9919a231c29d75d9560f81fad0a
4211 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4212 Date:   2009-04-16 12:58:32 +0100
4213
4214     fd.o #21219: implement unregistration of objects
4215
4216  dbus/dbus-gobject.c                  |   25 ++++++++++++++++++++++++-
4217  doc/reference/dbus-glib-sections.txt |    1 +
4218  2 files changed, 25 insertions(+), 1 deletion(-)
4219
4220 commit e42535c3c0dace3ede96c50f5a9b3cc315c80190
4221 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4222 Date:   2009-04-16 12:11:15 +0100
4223
4224     fd.o #5688: Add a regression test
4225
4226     Also assert that dbus_g_connection_lookup_g_object works (my previous
4227     attempt to fix #5688 broke this).
4228
4229  test/core/5688.c      |   81
4230  +++++++++++++++++++++++++++++++++++++++++++++++++
4231  test/core/Makefile.am |   13 +++++++-
4232  test/core/run-test.sh |    1 +
4233  3 files changed, 94 insertions(+), 1 deletion(-)
4234
4235 commit 6de1441865da2816c6bcd8cae842be93a8a96304
4236 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4237 Date:   2009-04-16 12:06:26 +0100
4238
4239     fd.o #5688: don't assert when exported object is destroyed *after*
4240     D-Bus connection closes
4241
4242     My solution was to introduce an ObjectRegistration struct which
4243     encapsulates the D-Bus <-> GObject glue.
4244
4245     Also, warn and keep the first object path if the library user
4246     registers
4247     an object at two object paths (previously, this would fail silently,
4248     use
4249     the second object path, and leak memory).
4250
4251  dbus/dbus-gobject.c |  111
4252  ++++++++++++++++++++++++++++++++++++++++-----------
4253  1 file changed, 88 insertions(+), 23 deletions(-)
4254
4255 commit 725e98ffa810d04baf38e5d5d3f62091334b0888
4256 Author: Peter Korsgaard <jacmet@sunsite.dk>
4257 Date:   2009-04-15 21:29:09 +0100
4258
4259     add --with-dbus-binding-tool option to use an external
4260     dbus-binding-tool
4261
4262     Cross compilation fix. dbus-binding-tool needs to run on the host, but
4263     gets
4264     compiled for the target. Add an option to use an external program
4265     (host version) instead, similar to the --with-introspect-xml option.
4266
4267     Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
4268     Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
4269
4270  configure.ac                           |    5 +++++
4271  dbus/examples/Makefile.am              |    4 ++--
4272  dbus/examples/statemachine/Makefile.am |    4 ++--
4273  test/core/Makefile.am                  |    6 +++---
4274  test/interfaces/Makefile.am            |   12 ++++++------
4275  tools/Makefile.am                      |    2 +-
4276  6 files changed, 19 insertions(+), 14 deletions(-)
4277
4278 commit a0124a5ecc829b73e2293cd7b23bf0cf0eb0a87c
4279 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4280 Date:   2009-03-26 18:06:53 +0000
4281
4282     dbus_g_type_specialized_init: make some effort at being thread-safe
4283
4284     dbus-glib isn't really thread-safe and needs a systematic audit,
4285     but let's
4286     at least be preemptively thread-safe in new code.
4287
4288     Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
4289
4290  dbus/dbus-gtype-specialized.c |   21 +++++++++++++++------
4291  1 file changed, 15 insertions(+), 6 deletions(-)
4292
4293 commit f36381131b6f410333a9a823a4fc131ac799394f
4294 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4295 Date:   2009-03-26 18:00:16 +0000
4296
4297     fd.o#20884: dbus_g_proxy_manager_replace_name_owner: don't leave
4298     freed memory in the hash table if the name was the owner's first
4299
4300     Here's a situation where this code would fail:
4301
4302     * an owner :1.42 owns a name com.Example and a name org.Example
4303     * the owner_names hash table contains { :1.42 => c }, where
4304       c is a GSList link with data = "com.Example", next = o and
4305       o is a GSList link with data = "org.Example", next = NULL
4306     * the name owner for com.Example changes so :1.42 no longer owns the
4307       name
4308     * initially, names == c
4309     * g_slist_delete_link unlinks and frees c, and sets names = o
4310     * but c is still in the hash table, so next time we look in the hash
4311       table, we crash
4312
4313     The fix is to replace c with o in the owner_names hash table.
4314
4315  dbus/dbus-gproxy.c |   13 ++++++++++---
4316  1 file changed, 10 insertions(+), 3 deletions(-)
4317
4318 commit d275c2e646f67a3929d9290c6bdb270d6346b83c
4319 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4320 Date:   2008-11-28 17:14:47 +0000
4321
4322     Remove all sorts of libdbus cruft from configure.ac
4323
4324  configure.ac     |  102
4325  ------------------------------------------------------
4326  test/Makefile.am |    1 -
4327  2 files changed, 103 deletions(-)
4328
4329 commit 6791d09f72a63dcb72d57a187210bc133f463fcf
4330 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4331 Date:   2008-11-28 17:07:06 +0000
4332
4333     Don't check for atomic integer ops
4334
4335     GLib has perfectly good ones, and `git grep ATOMIC` confirms that
4336     we no
4337     longer use the result of the check
4338
4339  configure.ac |   26 --------------------------
4340  1 file changed, 26 deletions(-)
4341
4342 commit 6de33eb0a3e53d92e47a717849f144a0a313e923
4343 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4344 Date:   2008-11-28 17:06:29 +0000
4345
4346     Don't check whether va_copy works
4347
4348     `git grep DBUS_VA_COPY` confirms that we no longer care
4349
4350  configure.ac |   75
4351  ----------------------------------------------------------
4352  1 file changed, 75 deletions(-)
4353
4354 commit 7bf91463598fc1e6ad44096f33aa4b61bf58443f
4355 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4356 Date:   2008-11-28 17:04:09 +0000
4357
4358     configure.ac: Don't check endianness
4359
4360     `git grep ENDIAN` confirms that we no longer need it.
4361
4362  configure.ac |    3 ---
4363  1 file changed, 3 deletions(-)
4364
4365 commit dc93d2a6eaf75bd783d16d90f62d8abefd4e26a4
4366 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4367 Date:   2008-11-28 17:01:32 +0000
4368
4369     Don't define DBUS_API_SUBJECT_TO_CHANGE
4370
4371     It isn't, and we need libdbus >= 1.1 in any case
4372
4373  configure.ac |    2 --
4374  1 file changed, 2 deletions(-)
4375
4376 commit 094f45d0097679e8d458431231bcb3c999568d60
4377 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4378 Date:   2008-11-28 17:00:06 +0000
4379
4380     configure.ac: don't check the sizes of integers
4381
4382     This is presumably a relic of libdbus.
4383
4384  configure.ac |  105
4385  ----------------------------------------------------------
4386  1 file changed, 105 deletions(-)
4387
4388 commit d30b06afd0a8bb6dddeefd7ac4d978799df03a52
4389 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4390 Date:   2008-11-28 16:58:37 +0000
4391
4392     Remove CXX cruft from configure.ac
4393
4394     There is no C++ in this package, so why are we checking for a C++
4395     compiler?
4396
4397  configure.ac |    3 ---
4398  1 file changed, 3 deletions(-)
4399
4400 commit 98087a3d62523b621a1bd2359661ffe24553c34e
4401 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4402 Date:   2008-11-28 17:22:59 +0000
4403
4404     Bug #16776: add a regression test
4405
4406  test/core/my-object.c           |   11 +++++++++++
4407  test/core/my-object.h           |    1 +
4408  test/core/test-dbus-glib.c      |   13 +++++++++++++
4409  test/core/test-service-glib.xml |    3 +++
4410  4 files changed, 28 insertions(+)
4411
4412 commit 20c474b8b8b356836e50af0e9bf3b32584d83ac4
4413 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4414 Date:   2008-11-28 16:23:43 +0000
4415
4416     Bug 16776: teach dbus_g_method_return_error about DBUS_GERROR
4417
4418     Code called by dbus_g_method_return_error assumes that errors in the
4419     domain DBUS_GERROR always have the code DBUS_GERROR_REMOTE_EXCEPTION.
4420     This is clearly not true, and it would be nice to be able to raise the
4421     "well-known" D-Bus errors from library user code.
4422
4423  dbus/dbus-gobject.c |   69
4424  ++++++++++++++++++++++++++++++++++++++++++++++++---
4425  1 file changed, 66 insertions(+), 3 deletions(-)
4426
4427 commit e18f5dd13c562333bc580f3b5bdf3ecd8d7555ce
4428 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>
4429 Date:   2008-11-28 15:58:43 +0000
4430
4431     Bug 13908: make dbus_g_type_specialized_init() safe for library
4432     users to call
4433
4434  dbus/dbus-gtype-specialized.c |    6 ++++++
4435  dbus/dbus-gvalue.c            |    1 -
4436  2 files changed, 6 insertions(+), 1 deletion(-)
4437
4438 commit bc474819fa638a0daf3c89e6d041949b73e9228e
4439 Author: Sjoerd Simons <sjoerd@luon.net>
4440 Date:   2009-03-17 11:21:56 +0000
4441
4442     Use g_strdup instead of strdup in dbus_g_method_get_sender
4443
4444  dbus/dbus-gobject.c |    6 +-----
4445  1 file changed, 1 insertion(+), 5 deletions(-)
4446
4447 commit dfef72c61c050e7f57e1d2eb601701e0a27827cc
4448 Author: Colin Walters <walters@verbum.org>
4449 Date:   2009-02-05 11:17:15 -0500
4450
4451     Bug 14183 - Listen to NameOwnerChanged using arg0 matching
4452
4453     This is more efficient - we avoid waking up every dbus-glib using
4454     process
4455     when a process joins or leaves the bus.
4456
4457  dbus/dbus-gproxy.c |   57
4458  ++++++++++++++++++++++++++--------------------------
4459  1 file changed, 29 insertions(+), 28 deletions(-)
4460
4461 commit 42b17678dec6d0100bcbc433441f6a75df747e5c
4462 Author: Colin Walters <walters@verbum.org>
4463 Date:   2009-02-05 10:59:15 -0500
4464
4465     Use -fno-strict-aliasing by default
4466
4467     We're unlikely to be strict-aliasing safe anytime soon.  This change
4468     corresponds with http://bugs.freedesktop.org/show_bug.cgi?id=10599
4469
4470  configure.ac |    8 ++++++++
4471  1 file changed, 8 insertions(+)
4472
4473 commit 56b9773dc5dd589638e22f48ec4222ae491c2bc1
4474 Author: Frederic Crozat <fcrozat@mandriva.com>
4475 Date:   2009-02-03 14:00:50 +0100
4476
4477     Fix format-security warning
4478
4479  dbus/dbus-gobject.c |    2 +-
4480  1 file changed, 1 insertion(+), 1 deletion(-)
4481
4482 commit 300b4fd822b8f57802ca35f4c867464b881632e3
4483 Author: Colin Walters <walters@verbum.org>
4484 Date:   2009-02-02 19:40:51 -0500
4485
4486     Bump configure for unstable cycle
4487
4488  configure.ac |    2 +-
4489  1 file changed, 1 insertion(+), 1 deletion(-)
4490
4491 commit 49cad2ca523de6a85f12d22ade23046c548ea601
4492 Author: Colin Walters <walters@verbum.org>
4493 Date:   2009-02-02 19:40:29 -0500
4494
4495     Release 0.80
4496
4497  configure.ac |    2 +-
4498  1 file changed, 1 insertion(+), 1 deletion(-)
4499
4500 commit b161082148a51f2a2d8a4ee85f5736791dedc276
4501 Author: Colin Walters <walters@verbum.org>
4502 Date:   2009-02-02 15:07:51 -0500
4503
4504     Bug 19065 - handle nested nodes in dbus-binding-tool
4505
4506     Patch modified from one provided by Stian Skelstad <stian@nixia.no>.
4507
4508     Split the generate_glue function explicitly into a toplevel
4509     function and
4510     one for processing recursive nodes.
4511
4512  dbus/dbus-binding-tool-glib.c   |  108
4513  ++++++++++++++++++++++-----------------
4514  m4/gtk-doc.m4                   |    2 +-
4515  test/Makefile.am                |    5 ++
4516  test/core/Makefile.am           |    6 +--
4517  test/data/nested-introspect.xml |   10 ++++
4518  test/test-compile-nested.sh     |    5 ++
4519  6 files changed, 85 insertions(+), 51 deletions(-)
4520
4521 commit 64ec55f59a9ebe699e240c2a3b4d82e85f2db4a0
4522 Author: Doug Goldstein <cardoe@gentoo.org>
4523 Date:   2009-01-30 17:38:19 -0500
4524
4525     Bug 19325 - parallel build fix
4526
4527     Signed-off-by: Colin Walters <walters@verbum.org>
4528
4529  dbus/Makefile.am |    8 ++++----
4530  1 file changed, 4 insertions(+), 4 deletions(-)
4531
4532 commit 299460549e92665e5ea09d459d3985fc85d8d73c
4533 Author: Colin Walters <walters@verbum.org>
4534 Date:   2009-01-30 16:03:11 -0500
4535
4536     Bug 19259: Always use /etc/bash_completion.d
4537
4538     This looks like what bash upstream has standardized on.
4539
4540  dbus/Makefile.am |    4 ++--
4541  1 file changed, 2 insertions(+), 2 deletions(-)
4542
4543 commit 78eb504bd9954918c363f357d0ab71ca85e3fc23
4544 Author: Colin Walters <walters@verbum.org>
4545 Date:   2009-01-27 18:59:01 -0500
4546
4547     Bug 19647: Move test-types inside run-test to avoid dep on existing
4548     session bus
4549
4550     All tests that use DBUS_BUS_SESSION should be in run-test.sh to
4551     avoid introducing
4552     a dependency on an existing session bus.
4553
4554  test/core/Makefile.am |    2 +-
4555  test/core/run-test.sh |    1 +
4556  2 files changed, 2 insertions(+), 1 deletion(-)
4557
4558 commit 3d25c1640d59e9770c33fafb1a12766feb6494e8
4559 Merge: d92a441 8868486
4560 Author: Colin Walters <walters@verbum.org>
4561 Date:   2009-01-27 18:43:50 -0500
4562
4563     Merge branch 'master' of
4564     ssh://walters@git.freedesktop.org/git/dbus/dbus-glib
4565
4566 commit d92a44109e3fdc766e34b53f7ec5329e98e13909
4567 Author: Colin Walters <walters@verbum.org>
4568 Date:   2009-01-27 17:00:37 -0500
4569
4570     Bug 19441: Don't send replies for messages explicitly not requesting
4571     one
4572
4573     In sending a reply when a message has the dbus_message_set_no_reply
4574     flag set, we can cause spurious denials logged on the system bus,
4575     aside
4576     from being inefficient.
4577
4578  dbus/dbus-gobject.c |   67
4579  ++++++++++++++++++++++++++++++++++++---------------
4580  1 file changed, 47 insertions(+), 20 deletions(-)
4581
4582 commit 88684866d06df99f89b30a07e4809369b4cb0453
4583 Author: Colin Walters <walters@verbum.org>
4584 Date:   2008-12-19 11:18:26 -0500
4585
4586     Add new files missed from last commit
4587
4588  test/core/my-object-subclass.c           |  115
4589  ++++++++++++++++++++++++++++++
4590  test/core/my-object-subclass.h           |   33 +++++++++
4591  test/core/test-service-glib-subclass.xml |    8 +++
4592  3 files changed, 156 insertions(+)
4593
4594 commit d55ffa5bbccd027caf7f2e7376b555e397a7ac3c
4595 Author: Dan Williams <dcbw@redhat.com>
4596 Date:   2008-12-18 13:09:33 -0500
4597
4598     Bug 19145: test cases for GetAll
4599
4600     Add test cases for GetAll.
4601
4602     Signed-off-by: Colin Walters <walters@verbum.org>
4603
4604  test/core/Makefile.am           |   11 ++-
4605  test/core/test-dbus-glib.c      |  187
4606  +++++++++++++++++++++++++++++++++++++++
4607  test/core/test-service-glib.c   |    7 ++
4608  test/core/test-service-glib.xml |    2 +
4609  4 files changed, 205 insertions(+), 2 deletions(-)
4610
4611 commit 94d68f00d9d244de3b1d66d3cf78bb5171552311
4612 Author: Tambet Ingo <tambet@gmail.com>
4613 Date:   2008-12-18 12:09:43 +0200
4614
4615     Use the provided interface for org.freedesktop.DBus.Properties.GetAll
4616     call.
4617
4618  dbus/dbus-gobject.c |   82
4619  ++++++++++++++++++++++++++++++++++++++++++---------
4620  1 file changed, 68 insertions(+), 14 deletions(-)
4621
4622 commit 1b150c32aa574b421161b63bb01eeeb5ad23bf3a
4623 Author: Frederic Crozat <fcrozat@mandriva.com>
4624 Date:   2008-12-05 11:16:46 -0500
4625
4626     Fix linking order so -Wl,--as-needed works
4627
4628     Signed-off-by: Colin Walters <walters@verbum.org>
4629
4630  dbus/Makefile.am |    2 +-
4631  1 file changed, 1 insertion(+), 1 deletion(-)
4632
4633 commit f4a6c4755d7a82bb7ec0a8bf472bfe091c310ef0
4634 Author: Colin Walters <walters@verbum.org>
4635 Date:   2008-12-04 16:12:18 -0500
4636
4637     Do NEWS for 0.78
4638
4639     Should have been in earlier commit, oops.
4640
4641  NEWS |   18 ++++++++++++++++++
4642  1 file changed, 18 insertions(+)
4643
4644 commit 3a713710a34d75d174eb632a6444e87dbf3923f4
4645 Author: Colin Walters <walters@verbum.org>
4646 Date:   2008-12-04 16:02:12 -0500
4647
4648     Bump configure for unstable cycle
4649
4650  configure.ac |    2 +-
4651  1 file changed, 1 insertion(+), 1 deletion(-)
4652
4653 commit beaff4e7c8e6ef601a00c03a4bed533becd273be
4654 Author: Colin Walters <walters@verbum.org>
4655 Date:   2008-12-04 15:58:30 -0500
4656
4657     Release 0.78.
4658
4659  configure.ac |    2 +-
4660  1 file changed, 1 insertion(+), 1 deletion(-)
4661
4662 commit d77506652b555b147e79889d6163208535e1cd74
4663 Author: Colin Walters <walters@verbum.org>
4664 Date:   2008-12-04 15:58:12 -0500
4665
4666     Clean bash completion file
4667
4668  dbus/Makefile.am |    1 +
4669  1 file changed, 1 insertion(+)
4670
4671 commit 6ba71576f4417bab46ca666fa44dda52dee95e88
4672 Author: David Zeuthen <davidz@redhat.com>
4673 Date:   2008-07-31 12:28:07 -0400
4674
4675     add bash completion for dbus-send(1)
4676
4677     For now, it's in dbus-glib since dbus doesn't have an introspection
4678     XML parser (yet).
4679
4680     Signed-off-by: Colin Walters <walters@verbum.org>
4681
4682  configure.ac                       |   13 +
4683  dbus/Makefile.am                   |   17 +-
4684  dbus/dbus-bash-completion-helper.c |  513
4685  ++++++++++++++++++++++++++++++++++++
4686  dbus/dbus-bash-completion.sh.in    |   21 ++
4687  4 files changed, 563 insertions(+), 1 deletion(-)
4688
4689 commit 48738e529dc7a0f27d185f2e79174b0e369fd0af
4690 Author: Tomas Pelka <tpelka@redhat.com>
4691 Date:   2008-12-04 15:46:31 -0500
4692
4693     Bug 18497 - Correct type in test case
4694
4695     Changing to INT32 matches the sending side.
4696
4697     Signed-off-by: Colin Walters <walters@verbum.org>
4698
4699  test/core/test-thread-server.c |    2 +-
4700  1 file changed, 1 insertion(+), 1 deletion(-)
4701
4702 commit aebec4bd82c023502600786793ba0ce0c7323fbe
4703 Author: Colin Walters <walters@verbum.org>
4704 Date:   2008-12-04 15:42:08 -0500
4705
4706     Bug 18698 - Use AC_SEARCH_LIBS to avoid unneeded dep on nsl
4707
4708     Also changed the socket search to be the same way.
4709
4710  configure.ac |    4 ++--
4711  1 file changed, 2 insertions(+), 2 deletions(-)
4712
4713 commit f10ee141185f9501c852acaf557b100abafc60fb
4714 Author: Nick Welch <nick@incise.org>
4715 Date:   2008-12-04 15:28:45 -0500
4716
4717     Typo fix in docs
4718
4719     Signed-off-by: Colin Walters <walters@verbum.org>
4720
4721  dbus/dbus-gobject.c |    2 +-
4722  1 file changed, 1 insertion(+), 1 deletion(-)
4723
4724 commit c0bba240c4beb6ecfd71aefa184011e8adc27f5f
4725 Author: Robert McQueen <robert.mcqueen@collabora.co.uk>
4726 Date:   2008-09-23 23:42:02 +0300
4727
4728     Bug #17329: allow hash tables to contain complex types
4729
4730     Previously, dbus-glib has provided destroy functions for the keys and
4731     values when constructing hash tables, so that any hash tables it
4732     constructed could be entirely freed (along with their contents) by
4733     destroying/unreffing. Unfortunately this meant that any "complex"
4734     types,
4735     where you need to know the GType in order to free them, were not
4736     allowed
4737     in hash tables. In real terms, this was anything which dbus-glib
4738     marshalled to a GPtrArray, so any array of arrays, variants,
4739     structures,
4740     object paths, or other boxed types were not allowed as hash values.
4741
4742     This patch allows a broader range of types to be used as the values in
4743     hash tables, including those where no simple free function is
4744     available.
4745     Instead of relying on the key/value destroy functions, the new
4746     hash_free
4747     function uses g_hash_table_foreach_steal to remove the keys and values
4748     pairwise and free them when the type is known.
4749
4750     Unfortunately, it's part of the API assumptions that hash tables which
4751     were produced through the current API had valid free functions, and
4752     particularly that if the hash table was reffed by the application,
4753     that
4754     the keys/values would persist beyond when dbus-glib had unreffed
4755     it, and
4756     be freed when the hash table was later destroyed. So it's not
4757     sufficient
4758     to use only this new freeing method on all hash tables from now on
4759     - we
4760     have to behave in the old way for all of the previously allowable
4761     types
4762     (including any hash tables which contain any hash tables which were
4763     freeable in the old way).
4764
4765     However, as these new hash tables contain values which will not
4766     be freed
4767     if you manipulate the hash table directly (removing or replacing keys,
4768     or destroying or unreffing it directly), and g_boxed_free should
4769     be used
4770     instead, a false free function is provided to print a critical warning
4771     for the developer in the case that memory would be leaked.
4772
4773  dbus/dbus-gvalue-utils.c        |  151
4774  +++++++++++++++++++++++++++++++++++++--
4775  test/core/test-dbus-glib.c      |   37 ++++++----
4776  test/core/test-service-glib.xml |    4 +-
4777  3 files changed, 168 insertions(+), 24 deletions(-)
4778
4779 commit 143b09b42d73451dcc3b835f76f8d43da786342a
4780 Author: Robert McQueen <robert.mcqueen@collabora.co.uk>
4781 Date:   2008-09-22 21:40:48 +0100
4782
4783     Bug #17798: add support for 'o', 'g' and 'as' in dictionaries
4784
4785     This teaches the parameterised hash table about how to hash,
4786     compare and
4787     free object paths and signatures, allowing them to be used as
4788     hash keys
4789     and values, and also how to free strvs, so they can be used as values.
4790     Adds some simple test methods which echo a{gas} and a{oas}
4791     dictionaries
4792     back immediately and compare the results.
4793
4794  dbus/dbus-gvalue-utils.c        |   29 ++++++++++++
4795  test/core/my-object.c           |   16 +++++++
4796  test/core/my-object.h           |    4 ++
4797  test/core/test-dbus-glib.c      |   96
4798  +++++++++++++++++++++++++++++++++++++++
4799  test/core/test-service-glib.xml |   12 +++++
4800  5 files changed, 157 insertions(+)
4801
4802 commit e4c917189dc9478c261c94703b311e1579292f22
4803 Author: Robert McQueen <robert.mcqueen@collabora.co.uk>
4804 Date:   2008-09-14 21:16:10 +0100
4805
4806     Bug #17797: add support for 'g' type, as a boxed char *
4807
4808     Adds DBUS_G_TYPE_SIGNATURE, which is a boxed type just like
4809     DBUS_G_TYPE_OBJECT_PATH.
4810
4811  dbus/dbus-binding-tool-glib.c   |    4 ++
4812  dbus/dbus-glib.h                |    3 ++
4813  dbus/dbus-gmain.c               |    5 ++-
4814  dbus/dbus-gsignature.c          |    2 +
4815  dbus/dbus-gvalue.c              |   82
4816  ++++++++++++++++++++++++++++++++++++++-
4817  test/core/my-object.c           |    7 ++++
4818  test/core/my-object.h           |    1 +
4819  test/core/test-dbus-glib.c      |   19 +++++++++
4820  test/core/test-service-glib.xml |    5 +++
4821  9 files changed, 126 insertions(+), 2 deletions(-)
4822
4823 commit f89b8de02f21891f430a2e370c391238b575403a
4824 Author: Robert McQueen <robert.mcqueen@collabora.co.uk>
4825 Date:   2008-09-23 23:45:14 +0300
4826
4827     Bug #17795: depend on Glib 2.10 for hash unref consistency
4828
4829     Commit a8bf32 (for bug #11396) introduced a compile-time version check
4830     for Glib 2.10 which changed whether hash_simple_free called
4831     g_hash_table_unref or g_hash_table_destroy. This is at best useless
4832     for
4833     people who actually wanted to rely on _unref being used instead of
4834     _destroy, because dbus-glib can legitimately be built against older
4835     versions of Glib than that in use by the application itself, and at
4836     worst harmful as applications relying on the _unref semantics
4837     would have
4838     their assumptions violated on platforms where this was the case. Given
4839     in /most/ cases now, Glib 2.10 is readily available, and we were
4840     in this
4841     kinda vague state where people could've used _unref and gotten
4842     away with
4843     it, I'm going to say thats what our ABI is now, and stick to
4844     it. People
4845     can depend on the next version of dbus-glib if they rely on _unref.
4846
4847  configure.ac             |    2 +-
4848  dbus/dbus-gvalue-utils.c |    4 ----
4849  2 files changed, 1 insertion(+), 5 deletions(-)
4850
4851 commit 24b94fb83c0d22cf2803af692dd8ccbc485d890c
4852 Author: Robert McQueen <robert.mcqueen@collabora.co.uk>
4853 Date:   2008-09-22 21:25:03 +0100
4854
4855     Bug #17794: make run-test.sh fail when die is called
4856
4857     Missing die() function meant this wasn't returning non-zero even when
4858     tests were failing. Oops.
4859
4860  test/core/run-test.sh |    6 ++++++
4861  1 file changed, 6 insertions(+)
4862
4863 commit 3ca014ea6b55cd843f1c80b04a4e0ec41af6210e
4864 Author: Colin Walters <walters@verbum.org>
4865 Date:   2008-11-17 18:30:32 -0500
4866
4867     Bug 18573 - Fix race when service appears and disappears quickly
4868
4869     We can't assert that a for_name_owner proxy is associated when
4870     we disassociate; if a service appears and disappears quickly, we
4871     won't be associated yet.  So remove the assertion.
4872     Correspondingly we need to cancel any inflight GetNameOwner call
4873     when disassociating proxies to avoid leaking.
4874
4875  dbus/dbus-gproxy.c |   11 +++++++++--
4876  1 file changed, 9 insertions(+), 2 deletions(-)
4877
4878 commit 0a883a523f8d133f71271276b755162c56480021
4879 Author: Philip Van Hoof <pvanhoof@gnome.org>
4880 Date:   2008-09-18 18:22:59 -0400
4881
4882     Bug 17614: Use g_slice for allocating temporary async call data
4883
4884     Using g_slice is going to be faster.
4885
4886     Signed-off-by: Colin Walters <walters@verbum.org>
4887
4888  dbus/dbus-binding-tool-glib.c |   10 ++++++++--
4889  1 file changed, 8 insertions(+), 2 deletions(-)
4890
4891 commit 4c7e60e3ff4148a181a496f85b491e8cb39d7e46
4892 Author: Colin Walters <walters@verbum.org>
4893 Date:   2008-06-20 14:08:47 -0400
4894
4895     Bug 10373: Use of deprecated API (was used incorrectly)
4896
4897         * dbus/dbus-gvalue.c: The use of dbus_message_iter_get_array_len
4898         here is incorrect; we don't want to allocate a number of pointers
4899         based on the length of the strings.  Instead, we now use the
4900         regular
4901         GArray type which handles reallocating as size increases
4902         appropriately.
4903
4904  dbus/dbus-gvalue.c |   25 +++++++++++--------------
4905  1 file changed, 11 insertions(+), 14 deletions(-)
4906
4907 commit 2514b84b3644223653018cd75d0d6e1459a7ab70
4908 Author: Colin Walters <walters@verbum.org>
4909 Date:   2008-06-19 12:47:16 -0400
4910
4911     Bug 16419: stack overflow demarshaling recursive variants
4912
4913         * dbus/dbus-gvalue.h: Add a recursion_depth member.
4914         * dbus/dbus-gvalue.c: Keep track of recursion depth in
4915         _dbus_gvalue_demarshal, cut it off at a default
4916         (right now 32).
4917         * dbus/dbus-gobject.c: Initialize recursion depth.
4918         * dbus/dbus-gproxy.c: Ditto.
4919         * test/core/test-variant-recursion.c: Test the
4920         variant recursion case, make sure the remote site
4921         will throw an error.
4922         * test/core/Makefile.am: Add test-variant-recursion.
4923
4924  dbus/dbus-gobject.c                |    2 +
4925  dbus/dbus-gproxy.c                 |    2 +
4926  dbus/dbus-gvalue.c                 |   21 ++++++++-
4927  dbus/dbus-gvalue.h                 |    1 +
4928  test/core/Makefile.am              |    6 ++-
4929  test/core/run-test.sh              |    1 +
4930  test/core/test-variant-recursion.c |   89
4931  ++++++++++++++++++++++++++++++++++++
4932  7 files changed, 119 insertions(+), 3 deletions(-)
4933
4934 commit d1b80d803a0268bd4b3dd5b9a9522230461f2947
4935 Author: Dan Williams <dcbw@redhat.com>
4936 Date:   2008-06-05 17:57:53 -0400
4937
4938     Bug 16114 [patch] wincaps-to-uscore property names for GetAll()
4939
4940         * dbus/dbus-gobject.c: We need to uscore property names
4941         so that we actually find the right properties.
4942
4943  dbus/dbus-gobject.c |   10 ++++++++--
4944  1 file changed, 8 insertions(+), 2 deletions(-)
4945
4946 commit 8054025ae498cc586676fd0ed6573828dd0de4a0
4947 Author: Colin Walters <walters@verbum.org>
4948 Date:   2008-06-05 16:05:39 -0400
4949
4950     One final large HACKING update
4951
4952  HACKING |   32 +++++++++++++++++++++++++++++---
4953  1 file changed, 29 insertions(+), 3 deletions(-)
4954
4955 commit d80bc7686a0e5cc7d45d940e8404ac4c8742b8f5
4956 Author: Colin Walters <walters@verbum.org>
4957 Date:   2008-06-05 15:40:35 -0400
4958
4959     Pacify gtk-doc by adding new files
4960
4961         * doc/reference/dbus-glib-undeclared.txt:
4962         * doc/reference/dbus-glib.types: New files
4963         without which gtk-doc complains.
4964
4965  0 files changed
4966
4967 commit d91cf40b83f7900899fe89cc83a75c82cd4bf833
4968 Author: Colin Walters <walters@verbum.org>
4969 Date:   2008-06-05 15:37:16 -0400
4970
4971     Another HACKING tweak
4972
4973  HACKING |    6 ++++--
4974  1 file changed, 4 insertions(+), 2 deletions(-)
4975
4976 commit e4b73986d1b2d6f9badda4656e57023b2c921ff7
4977 Author: Colin Walters <walters@verbum.org>
4978 Date:   2008-06-05 15:37:02 -0400
4979
4980     Bump for development
4981
4982  configure.ac                             |    2 +-
4983  doc/reference/dbus-glib-undocumented.txt |   20 +++-----------------
4984  2 files changed, 4 insertions(+), 18 deletions(-)
4985
4986 commit 96f144d25c7f3d573684bd50f87d912990f3c589
4987 Author: Colin Walters <walters@verbum.org>
4988 Date:   2008-06-05 15:09:02 -0400
4989
4990     Release 0.76
4991
4992  configure.ac |    2 +-
4993  1 file changed, 1 insertion(+), 1 deletion(-)
4994
4995 commit 1517f7f395527519402f8b37988de9d4ea24dbc5
4996 Author: Colin Walters <walters@verbum.org>
4997 Date:   2008-06-05 15:08:40 -0400
4998
4999     Document release process
5000
5001  HACKING |   23 ++++++++++++++++++++++-
5002  1 file changed, 22 insertions(+), 1 deletion(-)
5003
5004 commit e0dcd92e33e566f9852df94036e74f48af795ea3
5005 Author: Colin Walters <walters@verbum.org>
5006 Date:   2008-06-05 14:55:15 -0400
5007
5008     Update HACKING
5009
5010  HACKING |   13 ++++++++++---
5011  1 file changed, 10 insertions(+), 3 deletions(-)
5012
5013 commit 4f776e9db9f299dab96a12a00a6279b6977f6c32
5014 Author: Colin Walters <walters@verbum.org>
5015 Date:   2008-06-05 14:48:18 -0400
5016
5017     Update gtk-doc
5018
5019  doc/reference/dbus-glib-undocumented.txt |   20 +++++++++++++++++---
5020  1 file changed, 17 insertions(+), 3 deletions(-)
5021
5022 commit fa46dc8d35de877b8bdcb53f9508252249138bd6
5023 Author: Colin Walters <walters@verbum.org>
5024 Date:   2008-06-05 14:40:09 -0400
5025
5026     Update NEWS
5027
5028  NEWS |   25 +++++++++++++++++++++++++
5029  1 file changed, 25 insertions(+)
5030
5031 commit acd44d2ae3069667dbbb8b9c9c8b9c2afcad96d9
5032 Author: Christian Persch <chpe@gnome.org>
5033 Date:   2008-06-03 18:01:54 -0400
5034
5035     Bug 16217: generated bindings don't build with
5036     -DG_DISABLE_SINGLE_INCLUDES
5037
5038                 * dbus/dbus-binding-tool-glib.c: Only include glib.h
5039                 because
5040                 individual includes are disallowed.
5041
5042     Signed-off-by: Colin Walters <walters@verbum.org>
5043
5044  dbus/dbus-binding-tool-glib.c |    3 +--
5045  1 file changed, 1 insertion(+), 2 deletions(-)
5046
5047 commit 1744bf88024756d17f867ab9b86aca25e2b77e64
5048 Author: Colin Walters <walters@verbum.org>
5049 Date:   2008-05-28 14:11:01 -0400
5050
5051     Remove GConnection tests that assert, since we abort on those
5052
5053  test/core/test-types.c |   26 --------------------------
5054  1 file changed, 26 deletions(-)
5055
5056 commit a94e11973467e1b2cc43ba1e77b7413655b1dff7
5057 Author: Colin Walters <walters@verbum.org>
5058 Date:   2008-05-28 00:25:57 -0400
5059
5060     Bug 11671: Don't use well known name in /tmp
5061
5062     This as a side effect fixes the test suite on Solaris.
5063
5064  test/core/peer-client.c    |   13 ++++++++++++-
5065  test/core/peer-server.c    |   26 ++++++++++++++------------
5066  test/core/run-peer-test.sh |    9 +++------
5067  3 files changed, 29 insertions(+), 19 deletions(-)
5068
5069 commit dceee795d0cdc5889701064ac38d3c64451b02ec
5070 Author: Colin Walters <walters@verbum.org>
5071 Date:   2008-05-27 23:19:52 -0400
5072
5073     From OpenSUSE: Add return statement in case assertions not enabled
5074
5075  dbus/dbus-gvalue-utils.c |    1 +
5076  1 file changed, 1 insertion(+)
5077
5078 commit 681f3ae573b2e00dad5c1193a044a994fc50cf38
5079 Author: Colin Walters <walters@verbum.org>
5080 Date:   2008-05-27 23:08:59 -0400
5081
5082     Bug 13060: Remove NameOwnerChange matches on unref (Kimmo
5083     Hämäläinen)
5084
5085  dbus/dbus-gproxy.c |   14 ++++++++++++++
5086  1 file changed, 14 insertions(+)
5087
5088 commit eef148bdc0f602b0fba09a851c1ca6b55b8bb71c
5089 Author: Colin Walters <walters@verbum.org>
5090 Date:   2008-05-27 23:01:39 -0400
5091
5092     Bug 15733: Cosmetic fix for removing redundant declarations
5093
5094  dbus/dbus-gtype-specialized.h |    2 --
5095  1 file changed, 2 deletions(-)
5096
5097 commit d043342c41535e610268b9bb2a45143bad0b597d
5098 Author: Colin Walters <walters@verbum.org>
5099 Date:   2008-05-27 22:56:00 -0400
5100
5101     Bug 12505: Avoid receiving duplicate NameOwnerChanged (Dan Williams)
5102
5103  dbus/dbus-gproxy.c |   13 +++++++++++--
5104  1 file changed, 11 insertions(+), 2 deletions(-)
5105
5106 commit 43db9baa4cd0921d2ee830185ab46b4646b4e73b
5107 Author: Colin Walters <walters@verbum.org>
5108 Date:   2008-05-27 16:49:26 -0400
5109
5110     Bug 10834: Fix error handling path for dbus_g_proxy_end_call_internal
5111
5112     This patch was based initial work by Peter Kjellerstedt.
5113
5114     This patch made obvious the need to correctly handle type
5115     mismatches in demarshal_basic, similarly to what the other
5116     demarshalers are doing.
5117
5118     Also add some tests for error handling.
5119
5120  dbus/dbus-gproxy.c         |   25 ++++++++++++++++++++-----
5121  dbus/dbus-gvalue.c         |   28 ++++++++++++++++++++++++++++
5122  test/core/test-dbus-glib.c |   29 +++++++++++++++++++++++++++++
5123  3 files changed, 77 insertions(+), 5 deletions(-)
5124
5125 commit dc3bfd517a3bd0e28f4fc2d030ac38bdc848eb86
5126 Author: Colin Walters <walters@verbum.org>
5127 Date:   2008-05-27 16:36:58 -0400
5128
5129     Fix some test suite memory leaks
5130
5131  test/core/test-dbus-glib.c |    3 +++
5132  1 file changed, 3 insertions(+)
5133
5134 commit 167ea555cf3a763d148a69d0af9453b83d70d107
5135 Author: Julien Danjou <julien@danjou.info>
5136 Date:   2008-04-24 14:03:42 +0200
5137
5138     Fix typo in --help print strings
5139
5140     Signed-off-by: Julien Danjou <julien@danjou.info>
5141     Signed-off-by: Colin Walters <walters@verbum.org>
5142
5143  dbus/dbus-glib-tool.c |    4 ++--
5144  1 file changed, 2 insertions(+), 2 deletions(-)
5145
5146 commit c057283a86230904552d5c51623bbce5ab0c9770
5147 Author: Colin Walters <walters@verbum.org>
5148 Date:   2008-05-27 15:15:35 -0400
5149
5150     Bug 10244: Fix error handling case in parser (William Jon McCann)
5151
5152     We need to return FALSE when handling an error.
5153
5154  dbus/dbus-gparser.c |   11 +++++++----
5155  1 file changed, 7 insertions(+), 4 deletions(-)
5156
5157 commit 361dc90eaa269325ddc5dae0003ca11e1d7b811e
5158 Author: Colin Walters <walters@verbum.org>
5159 Date:   2008-05-27 14:57:20 -0400
5160
5161     Bug 9867: Respect ACLOCAL_FLAGS (Kalle Vahlman)
5162
5163  autogen.sh |    1 +
5164  1 file changed, 1 insertion(+)
5165
5166 commit a8bf32ab8b0e30e0c74e07c58e9bc79a448683b2
5167 Author: Colin Walters <walters@verbum.org>
5168 Date:   2008-05-27 14:31:58 -0400
5169
5170     Bug 11396: Use g_hash_table_unref if available (Marco Barisione)
5171
5172     This lets users ref hashes with g_hash_table_ref.
5173
5174  dbus/dbus-gvalue-utils.c |    4 ++++
5175  1 file changed, 4 insertions(+)
5176
5177 commit ad35bf13f93d18b0b0e8f930ff79af9dcc1c8508
5178 Author: Colin Walters <walters@verbum.org>
5179 Date:   2008-05-27 14:18:49 -0400
5180
5181     Bug 12675: Handle disconnected connections in calls (Kimmo
5182     Hämäläinen)
5183
5184  dbus/dbus-gproxy.c |   22 +++++++++++++++++++---
5185  1 file changed, 19 insertions(+), 3 deletions(-)
5186
5187 commit f110cd3aa0532ab6cdfb1ee9a19f839700fe32e6
5188 Author: Colin Walters <walters@verbum.org>
5189 Date:   2008-05-27 13:57:40 -0400
5190
5191     Bug 12857: Balance va_start/va_end in error case (Kimmo Hämäläinen)
5192
5193  dbus/dbus-gparser.c |    6 +++++-
5194  1 file changed, 5 insertions(+), 1 deletion(-)
5195
5196 commit d20c90aab3b0eca8715deaa59877f35a7d4e345e
5197 Author: Colin Walters <walters@verbum.org>
5198 Date:   2008-05-27 13:54:11 -0400
5199
5200     Bug 12849: Fix use after free (Kimmo Hämäläinen)
5201
5202  dbus/dbus-gvalue.c |    3 ++-
5203  1 file changed, 2 insertions(+), 1 deletion(-)
5204
5205 commit fde77bff42fac9ed95869a69acff4f9daab23e04
5206 Author: Colin Walters <walters@verbum.org>
5207 Date:   2008-05-27 13:35:20 -0400
5208
5209     Bug 16079: Return an error on unknown property
5210
5211     https://bugs.freedesktop.org/show_bug.cgi?id=16079
5212
5213     Previously we just asserted, not very useful.
5214
5215  dbus/dbus-gobject.c        |    6 +++++
5216  test/core/test-dbus-glib.c |   62
5217  +++++++++++++++++++++++++++++++++++++++++++-
5218  2 files changed, 67 insertions(+), 1 deletion(-)
5219
5220 commit b26f1887f6907d4c9a1dac013649f28950c6b2d3
5221 Author: Colin Walters <walters@verbum.org>
5222 Date:   2008-05-27 13:34:55 -0400
5223
5224     Support for monitoring conversation during tests
5225
5226  test/core/run-test.sh |    3 +++
5227  1 file changed, 3 insertions(+)
5228
5229 commit b783ce802db01a5370ce70514755e1885f6e6eb1
5230 Author: Colin Walters <walters@verbum.org>
5231 Date:   2008-05-27 12:39:44 -0400
5232
5233     Also make CRITICAL messages fatal in tests.
5234
5235  test/core/test-dbus-glib.c |    2 +-
5236  1 file changed, 1 insertion(+), 1 deletion(-)
5237
5238 commit 8fe656de630e851bc512bbd7e7a6c18c53aecb61
5239 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5240 Date:   2008-04-14 12:56:43 +0100
5241
5242     Freeze error ABI at the ABI used in Fedora 8 and Ubuntu gutsy.
5243
5244     This avoids getting a different ABI depending on the version of
5245     libdbus
5246     we're compiled against. fd.o #15430, Debian #476080.
5247
5248  dbus/dbus-glib.h                    |   34 ++++++++++++++++-
5249  dbus/dbus-gobject.c                 |   72
5250  ++++++++++++++++++++++++++++++++++-
5251  dbus/make-dbus-glib-error-enum.sh   |   25 +-----------
5252  dbus/make-dbus-glib-error-switch.sh |   29 +-------------
5253  4 files changed, 106 insertions(+), 54 deletions(-)
5254
5255 commit 7fccdc8386d97d8c7e963800b1fbedd47f72b66b
5256 Author: Colin Walters <walters@space-ghost.verbum.private>
5257 Date:   2008-03-31 11:23:29 -0400
5258
5259     Add some docs to dbus_set_g_error.
5260
5261  dbus/dbus-gobject.c |   17 ++++++++++++++++-
5262  1 file changed, 16 insertions(+), 1 deletion(-)
5263
5264 commit 34042c4cf2fcf18e101d07e495f9fa5dda99aa58
5265 Merge: df7c2b7 bd53ac9
5266 Author: David Zeuthen <davidz@redhat.com>
5267 Date:   2008-03-17 13:11:45 -0400
5268
5269     Merge branch 'master' of
5270     ssh://david@git.freedesktop.org/git/dbus/dbus-glib
5271
5272 commit df7c2b783ed92f33a1bedcba12a9c30fc34ba8d5
5273 Author: David Zeuthen <davidz@redhat.com>
5274 Date:   2008-03-17 13:10:47 -0400
5275
5276     add some design advice to dbus_g_proxy_set_default_timeout()
5277
5278     ... as requested on the mailing list.
5279
5280  dbus/dbus-gproxy.c |    7 +++++++
5281  1 file changed, 7 insertions(+)
5282
5283 commit bd53ac9f7ef9a6c2c9d1d12af382b1a8a10e9dba
5284 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5285 Date:   2008-03-17 15:10:43 +0100
5286
5287     allow namespaced extentions to introspection XML
5288
5289     This allows us to stick namespaced documentation stuff into the
5290     introspection
5291     XML and have dbus-glib not puke on it.
5292
5293     Patch credit goes to Colin Walters.
5294
5295  dbus/dbus-glib-tool.c |    2 +-
5296  dbus/dbus-gparser.c   |   40 +++++++++++++++++++++++++++++-----------
5297  2 files changed, 30 insertions(+), 12 deletions(-)
5298
5299 commit cb732d38f78dfb7c1ef73179e798fa4f42fd962e
5300 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5301 Date:   2008-03-17 14:26:50 +0100
5302
5303     bump version and dbus dependancy
5304
5305     Bumps version to 0.75. Bumps dbus dependany to 1.1.
5306
5307  configure.ac |    4 ++--
5308  1 file changed, 2 insertions(+), 2 deletions(-)
5309
5310 commit 09b0fc5818812d0167243bae9fd52cdaf67f0af0
5311 Author: David Zeuthen <davidz@redhat.com>
5312 Date:   2008-03-15 16:51:48 -0400
5313
5314     Export the recently added GetAll() method on org.fd.DBus.Properties
5315
5316     Because round-trip city is a bad place.
5317
5318  dbus/dbus-gobject.c |  220
5319  +++++++++++++++++++++++++++++++++++++++++----------
5320  1 file changed, 177 insertions(+), 43 deletions(-)
5321
5322 commit bf0c9b3d6adc95863d5b5a4ce6ca994fd7fdc137
5323 Author: David Zeuthen <davidz@redhat.com>
5324 Date:   2008-03-15 15:32:56 -0400
5325
5326     Add new function to specify the default timeout for a proxy
5327
5328     Without a function like this the generated client glue code is
5329     unusable for D-Bus methods that take a long time to complete (such as
5330     disk operations like mkfs and partitioning).
5331
5332     Also add some missing _with_timeout functions on DBusGProxy to the gtk
5333     docs.
5334
5335  dbus/dbus-glib.h                         |    3 +++
5336  dbus/dbus-gproxy.c                       |   35
5337  ++++++++++++++++++++++++++++--
5338  doc/reference/dbus-glib-sections.txt     |    3 +++
5339  doc/reference/dbus-glib-undocumented.txt |   15 +++++++++----
5340  4 files changed, 50 insertions(+), 6 deletions(-)
5341
5342 commit 1fa4129f67208e24f6ae5f9ab38a3ee26c521f87
5343 Author: David Zeuthen <davidz@redhat.com>
5344 Date:   2008-03-15 15:21:06 -0400
5345
5346     Bump version to 0.75
5347
5348  configure.ac |    2 +-
5349  1 file changed, 1 insertion(+), 1 deletion(-)
5350
5351 commit 1124256e1a87291101a6c287c1248c2f7276b993
5352 Author: Ross Burton <ross@burtonini.com>
5353 Date:   2008-02-27 14:27:49 +0000
5354
5355     Fix incorrect assign in test suite
5356
5357     We were assigning a DBusConnection* to a DBusGConnection*, which
5358     is bad.
5359
5360  test/core/test-types.c |    4 ++--
5361  1 file changed, 2 insertions(+), 2 deletions(-)
5362
5363 commit eea8f7247e1cbeb8c00fe316a37520b98acd55dc
5364 Author: Ross Burton <ross@burtonini.com>
5365 Date:   2008-02-27 14:22:16 +0000
5366
5367     Use dbus_watch_get_unix_fd not dbus_watch_get_fd
5368
5369     The latter is deprecated, so don't use it.
5370
5371  dbus/dbus-gmain.c |    2 +-
5372  1 file changed, 1 insertion(+), 1 deletion(-)
5373
5374 commit 2cf62d7ff7d3a7bc450d0b60bb81a8365ffd310b
5375 Author: Ross Burton <ross@burtonini.com>
5376 Date:   2008-02-27 14:19:48 +0000
5377
5378     Fix pending call cancelling in proxy dispose
5379
5380     The dispose treated the hash values as DBusGProxyCall objects,
5381     but they are
5382     DBusPendingCall (thanks Dafyd Harries).
5383
5384  dbus/dbus-gproxy.c |   11 ++++++-----
5385  1 file changed, 6 insertions(+), 5 deletions(-)
5386
5387 commit 8e024ae2252e6e948c28203f07aa416df3dac0b8
5388 Author: Ross Burton <ross@burtonini.com>
5389 Date:   2008-02-27 14:02:36 +0000
5390
5391     Unref the connection and message on dbus_g_return_error
5392
5393  dbus/dbus-gobject.c |    3 +++
5394  1 file changed, 3 insertions(+)
5395
5396 commit 98423ae4e6b85741ce15f097652620886a49c375
5397 Author: Ross Burton <ross@burtonini.com>
5398 Date:   2007-11-13 17:56:37 +0000
5399
5400     Allow daemondir to be configured (#10668)
5401
5402     The daemon can be at any location, and may not be on the path.
5403     Fetch the path
5404     from the pkg-config file and use it if it is set.
5405
5406     Thanks to Brian Cameron for this patch.
5407
5408  configure.ac      |    9 +++++++++
5409  tools/Makefile.am |    2 +-
5410  2 files changed, 10 insertions(+), 1 deletion(-)
5411
5412 commit 33b7a7f05372baaaf95d0e1c2c3b758321e4b0c5
5413 Author: Ross Burton <ross@burtonini.com>
5414 Date:   2007-09-11 10:52:07 +0100
5415
5416     Update ignores
5417
5418     Add the new tests and *~ to the ignore list.
5419
5420  .gitignore |    5 ++++-
5421  1 file changed, 4 insertions(+), 1 deletion(-)
5422
5423 commit 4b2cf9d75f6c315071adc925ec56e3bac3423730
5424 Author: Ross Burton <ross@burtonini.com>
5425 Date:   2007-09-11 10:49:49 +0100
5426
5427     Fix bashism
5428
5429     "function" is a bashism, so don't use it.
5430
5431  tools/run-with-tmp-session-bus.sh |    2 +-
5432  1 file changed, 1 insertion(+), 1 deletion(-)
5433
5434 commit 3f6e2c0c76d3643a1823b5ea7c8f5486a6b448de
5435 Author: Ross Burton <ross@burtonini.com>
5436 Date:   2007-09-11 10:37:47 +0100
5437
5438     Fix broken introspection XML
5439
5440     When writing XML for properties a duplicate closing tag was
5441     written. (#8607,
5442     thanks William Jon McCann).
5443
5444  dbus/dbus-gobject.c |    2 --
5445  1 file changed, 2 deletions(-)
5446
5447 commit c08a7f910c4c746ba790375be2d0f0682471cf06
5448 Author: Ross Burton <ross@burtonini.com>
5449 Date:   2007-09-11 10:34:07 +0100
5450
5451     Fix build with non-gcc compilers
5452
5453     AIX's compiler and some non-c99 compilers are braindead, massage
5454     the code to
5455     work with them (#11675, thanks Peter O'Gorman).
5456
5457  dbus/dbus-gtype-specialized.c             |    4 +++-
5458  dbus/examples/statemachine/statemachine.c |    2 +-
5459  2 files changed, 4 insertions(+), 2 deletions(-)
5460
5461 commit b2bcb0f3fdf8eaec9257f48dd0a0e2ca03220775
5462 Author: Ross Burton <ross@burtonini.com>
5463 Date:   2007-09-11 10:17:12 +0100
5464
5465     Fix bashisms
5466
5467     The test suite used /bin/bash for no good reason, remove all bashisms.
5468     (#11672,
5469     thanks Peter O'Gorman).
5470
5471  test/core/run-peer-test.sh        |    4 ++--
5472  test/core/run-test.sh             |   18 +++++++++---------
5473  test/interfaces/run-test.sh       |   14 +++++++-------
5474  tools/run-with-tmp-session-bus.sh |    9 +++++----
5475  4 files changed, 23 insertions(+), 22 deletions(-)
5476
5477 commit 377831cc8496bf2b3f96e96a44ff4dfc1a6c690e
5478 Author: Ross Burton <ross@burtonini.com>
5479 Date:   2007-09-11 10:11:12 +0100
5480
5481     Fix build with Glib 2.6
5482
5483     configure.ac checks for glib 2.6, but the test suite used
5484     g_intern_static_string
5485     which was added in 2.10.  This removes the use of that function
5486     because it isn't
5487     required (#11674, thanks Peter O'Gorman).
5488
5489  test/interfaces/test-interfaces.c |    4 ++--
5490  1 file changed, 2 insertions(+), 2 deletions(-)
5491
5492 commit 2929a9d676b9961abff6c6acb1b67431f7d62ab1
5493 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5494 Date:   2007-06-27 11:49:02 +0100
5495
5496     Update version in configure.ac
5497
5498     Update version to 0.74 in configure.ac
5499
5500  configure.ac |    2 +-
5501  1 file changed, 1 insertion(+), 1 deletion(-)
5502
5503 commit de33a575aa58867642bcfd8bb8cb2efc631d9f1d
5504 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5505 Date:   2007-06-27 11:39:08 +0100
5506
5507     Update NEWS
5508
5509     Update NEWS from git history.
5510
5511  NEWS |   20 ++++++++++++++------
5512  1 file changed, 14 insertions(+), 6 deletions(-)
5513
5514 commit a732cbc211b562660c5a17c898ad032fb8c041fd
5515 Author: Ross Burton <ross@burtonini.com>
5516 Date:   2007-06-27 11:05:03 +0100
5517
5518     Sleep after starting the peer server, before starting the peer client.
5519
5520     This fixes random failures due to the race.
5521
5522  test/core/run-peer-test.sh |    4 ++--
5523  1 file changed, 2 insertions(+), 2 deletions(-)
5524
5525 commit 4335b1204a483ffa5c5a72d58b585f77827d852d
5526 Author: Ross Burton <ross@burtonini.com>
5527 Date:   2007-06-27 10:58:03 +0100
5528
5529     Update NEWS for pending release.
5530
5531  NEWS |   12 ++++++++++++
5532  1 file changed, 12 insertions(+)
5533
5534 commit 0d77d83b7afd5837d4427b7cdc5940f54625b65c
5535 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5536 Date:   2007-06-22 17:15:34 +0100
5537
5538     make test/core/run-peer-test.sh executable
5539
5540  0 files changed
5541
5542 commit 0ba73bf7cf1a2770b7aac8d57e61e755aca45b4d
5543 Author: Ross Burton <ross@burtonini.com>
5544 Date:   2007-06-22 15:46:37 +0100
5545
5546     Add missing include.
5547
5548  test/core/Makefile.am |    1 +
5549  1 file changed, 1 insertion(+)
5550
5551 commit bf647c411b42064fe48877c30803cbe10d751204
5552 Author: Ross Burton <ross@burtonini.com>
5553 Date:   2007-06-22 15:45:57 +0100
5554
5555     Install the type info before creating signals
5556
5557     This fixes the type system warnings from peer-server, because the
5558     types where
5559     used (when creating signals) before they were created.  Installing
5560     type info
5561     initialises the types.
5562
5563  test/core/my-object.c |    6 +++---
5564  1 file changed, 3 insertions(+), 3 deletions(-)
5565
5566 commit a3a6efda1117633cc8a5525811f6a3ba41f2d31b
5567 Author: Ross Burton <ross@burtonini.com>
5568 Date:   2007-06-22 15:28:48 +0100
5569
5570     Init threading first to stop a warning from new GLib.
5571
5572  test/core/peer-client.c |    2 +-
5573  test/core/peer-server.c |    2 +-
5574  2 files changed, 2 insertions(+), 2 deletions(-)
5575
5576 commit 36ed523539074a84cd990a8513b5d02a6223c44c
5577 Author: Ross Burton <ross@burtonini.com>
5578 Date:   2007-06-22 15:27:18 +0100
5579
5580     Make test script executable
5581
5582  0 files changed
5583
5584 commit 514fd82183c214e3afd4cca630a20ff24b62e482
5585 Author: Ross Burton <ross@burtonini.com>
5586 Date:   2007-06-22 15:25:14 +0100
5587
5588     Remove unused variable.
5589
5590  test/core/run-peer-test.sh |    2 +-
5591  1 file changed, 1 insertion(+), 1 deletion(-)
5592
5593 commit d428aa4edf426f662e89f2b08a377b0dd481f3ac
5594 Author: Ross Burton <ross@burtonini.com>
5595 Date:   2007-06-22 15:15:37 +0100
5596
5597     Remove the XML documentation support in configure
5598
5599     It isn't used and is legacy from when this was part of dbus itself.
5600
5601  configure.ac |   34 +---------------------------------
5602  1 file changed, 1 insertion(+), 33 deletions(-)
5603
5604 commit 1f385f6b10799cdd0bf57d69d5212ac16ac17266
5605 Author: Ross Burton <ross@burtonini.com>
5606 Date:   2007-06-22 15:02:24 +0100
5607
5608     Fix typo in _dbus_gvalue_signals_error (#10837)
5609
5610     It was using g_value_get_boxed() when looking at a object-holding
5611     value.  Thanks
5612     to Peter Kjellerstedt for noticing this.
5613
5614  dbus/dbus-gvalue-utils.c |    2 +-
5615  1 file changed, 1 insertion(+), 1 deletion(-)
5616
5617 commit 68f03928aaac849dd12e38c01e448b569f578976
5618 Author: Ross Burton <ross@burtonini.com>
5619 Date:   2007-06-22 14:41:36 +0100
5620
5621     Update GLib requirement (#10889).
5622
5623  INSTALL |    2 +-
5624  1 file changed, 1 insertion(+), 1 deletion(-)
5625
5626 commit 58cacc6872e1b8cf365ac056775498b9dede71b4
5627 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5628 Date:   2007-04-16 08:23:17 -0700
5629
5630     Document dbus-gtype-specialized
5631
5632     Documents all the functions in dbus-gtype-specialized.c and adds an
5633     overview of the functionality.
5634
5635  dbus/dbus-gtype-specialized.c            |  312
5636  +++++++++++++++++++++++++++---
5637  dbus/dbus-gtype-specialized.h            |   14 +-
5638  doc/reference/dbus-glib-sections.txt     |    2 +-
5639  doc/reference/dbus-glib-undocumented.txt |   38 +---
5640  4 files changed, 304 insertions(+), 62 deletions(-)
5641
5642 commit 26d8584c04c05be29ae35acc3a2e8f573cc79206
5643 Author: Ross Burton <ross@burtonini.com>
5644 Date:   2007-03-30 18:12:11 +0100
5645
5646     Add simple test suite for peer objects.
5647
5648     Add a simple test suite for peer proxies.  This involved refactoring
5649     the
5650     MyObject class into its own file so that it can be used by multiple
5651     tools.  Also
5652     added is a test suite for dbus_connection_get_g_connection.
5653
5654  test/core/Makefile.am         |   26 +-
5655  test/core/my-object.c         |  737 ++++++++++++++++++++++++++++++++++++
5656  test/core/my-object.h         |  104 ++++++
5657  test/core/peer-client.c       |  127 +++++++
5658  test/core/peer-server.c       |   55 +++
5659  test/core/run-peer-test.sh    |    9 +
5660  test/core/test-service-glib.c |  832
5661  +----------------------------------------
5662  test/core/test-types.c        |   74 ++++
5663  8 files changed, 1129 insertions(+), 835 deletions(-)
5664
5665 commit af91f5e0e2b5a20adf124707356b12da0c2f1e00
5666 Author: Ross Burton <ross@burtonini.com>
5667 Date:   2007-03-30 18:05:40 +0100
5668
5669     Support peer-to-peer proxies.
5670
5671     Previously DBus-GLib didn't support peer proxies despite having API
5672     for them.
5673     This patch stops dbus-glib from crashing when you use a peer signal
5674     (#10233).
5675
5676  dbus/dbus-gproxy.c |   35 ++++++++++++++++++-----------------
5677  1 file changed, 18 insertions(+), 17 deletions(-)
5678
5679 commit 25f056826336d4385b5488706f0f1ecc0843bf2f
5680 Author: Ross Burton <ross@burtonini.com>
5681 Date:   2007-03-30 17:54:58 +0100
5682
5683     Add dbus_connection_get_g_connection.
5684
5685     Add dbus_connection_get_g_connection, which is useful when you have a
5686     DBusConnection which was originally a DBusGConnection, and want
5687     it back
5688     again.
5689
5690  dbus/dbus-glib-lowlevel.h |    1 +
5691  dbus/dbus-glib.c          |   24 ++++++++++++++++++++++++
5692  dbus/dbus-gmain.c         |   12 ++++++------
5693  3 files changed, 31 insertions(+), 6 deletions(-)
5694
5695 commit 0c46ca1a20eb8ba676ea2f1e829d039d5e3c383d
5696 Author: Ross Burton <ross@blackadder.(none)>
5697 Date:   2007-03-22 15:04:14 +0000
5698
5699     Stop compiler warnings (#10374).
5700
5701  dbus/dbus-gthread.c           |    1 +
5702  test/interfaces/test-server.c |    2 ++
5703  2 files changed, 3 insertions(+)
5704
5705 commit 72e9f061668a28cbbeae2400290e1993c5d60d3c
5706 Author: Ross Burton <ross@burtonini.com>
5707 Date:   2007-03-28 16:32:00 +0100
5708
5709     Fix error handling
5710
5711  dbus/dbus-gproxy.c |    9 ++++-----
5712  1 file changed, 4 insertions(+), 5 deletions(-)
5713
5714 commit 9ca04c94ed6ddc2ff7459ce2031740704ec67ff2
5715 Author: Ross Burton <ross@burtonini.com>
5716 Date:   2007-03-22 15:38:03 +0000
5717
5718     Handle dbus errors which are not name has no owner
5719
5720  dbus/dbus-gproxy.c |    3 +++
5721  1 file changed, 3 insertions(+)
5722
5723 commit 85b269cc7ca221ee4fe0235154e783b3640ee62d
5724 Author: Ross Burton <ross@blackadder.(none)>
5725 Date:   2007-03-22 15:05:02 +0000
5726
5727     Update abstract socket test from dbus
5728
5729     The abstract socket test doesn't cross compile at all, updating the
5730     test from
5731     the original copy in DBus.
5732
5733  configure.ac |   17 +++++++++--------
5734  1 file changed, 9 insertions(+), 8 deletions(-)
5735
5736 commit a64b26cdde04e624b2bb42ccadd3fc252bf05667
5737 Author: Ross Burton <ross@burtonini.com>
5738 Date:   2007-03-22 15:10:47 +0000
5739
5740     Rename the error quark.
5741
5742     The error quark was copied from GLib, renaming it to be unique.
5743
5744  dbus/dbus-glib.c |    2 +-
5745  1 file changed, 1 insertion(+), 1 deletion(-)
5746
5747 commit 5ca3418e8e00f62e3e60578e3951b51cd158f8dc
5748 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5749 Date:   2007-03-29 12:44:01 +0100
5750
5751     Update AUTHORS
5752
5753     Correct spelling of S.Nallammai, add Ross Burton, who's been missing
5754     here for quite some time.
5755
5756  AUTHORS |    3 ++-
5757  1 file changed, 2 insertions(+), 1 deletion(-)
5758
5759 commit 7fbd3a1c49614e71a9ff2b3d6e43bf380527301b
5760 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5761 Date:   2007-03-29 12:32:46 +0100
5762
5763     Update AUTHORS
5764
5765     I had failed to update AUTHORS in the last couple of releases,
5766     this commit makesit current.
5767
5768  AUTHORS |    6 ++++++
5769  1 file changed, 6 insertions(+)
5770
5771 commit f78b90659f32474b7ca56925ddebd88af7f06c86
5772 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5773 Date:   2007-03-29 12:20:30 +0100
5774
5775     Update .gitignore
5776
5777     Ignore autoconf errors, autom4te.cache, some new generated files.
5778
5779  .gitignore |    7 ++++++-
5780  1 file changed, 6 insertions(+), 1 deletion(-)
5781
5782 commit 138e4ce76ae53b86488e12c43db511a838be4fc9
5783 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5784 Date:   2007-02-13 14:16:22 +0000
5785
5786     Do libtool versioning.
5787
5788     As we're going to start behaving like a proper library, update
5789     libtool versionsing appropriately for our added api.
5790
5791  configure.ac |    4 ++--
5792  1 file changed, 2 insertions(+), 2 deletions(-)
5793
5794 commit d19c5c0eac749704af70edffaa1fa0ac70eb9373
5795 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5796 Date:   2007-02-13 13:58:38 +0000
5797
5798     Update NEWS
5799
5800     Releasing today..
5801
5802  NEWS |    2 +-
5803  1 file changed, 1 insertion(+), 1 deletion(-)
5804
5805 commit e368483363fc920cf2978180f3a9fe6687465807
5806 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5807 Date:   2007-02-12 04:23:42 +0000
5808
5809     Update NEWS
5810
5811     Update NEWS, adding fix for bug #9769.
5812
5813  NEWS |    4 +++-
5814  1 file changed, 3 insertions(+), 1 deletion(-)
5815
5816 commit 814b029d9291199bc9fdd2998c429ee15f243a93
5817 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5818 Date:   2007-02-12 04:21:50 +0000
5819
5820     Add pkg-config support for uninstalled use.
5821
5822     Adds dbus-glib-1-uninstalled.pc for use in build environments where
5823     dbus-glib is used as an uninstalled build dependancy. Fix due to
5824     Damien Carbery <damien.carbery@sun.com>.
5825     Fixes bug #9769.
5826
5827  configure.ac                  |    1 +
5828  dbus-glib-1-uninstalled.pc.in |   12 ++++++++++++
5829  2 files changed, 13 insertions(+)
5830
5831 commit 6bcb544eb6bc164e367a0e849b6c41274809401e
5832 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5833 Date:   2007-02-09 02:49:57 +0000
5834
5835     Update version in configure.ac
5836
5837     Updates version 0.73 in configure.ac
5838
5839  configure.ac |    2 +-
5840  1 file changed, 1 insertion(+), 1 deletion(-)
5841
5842 commit dba710006cb0b25454989f41babc53c12d3fc901
5843 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5844 Date:   2007-02-09 02:46:57 +0000
5845
5846     Update NEWS ready for 0.73 release
5847
5848     Updates NEWS with all the changes for 0.73
5849
5850  NEWS |   26 ++++++++++++++++++++++++++
5851  1 file changed, 26 insertions(+)
5852
5853 commit 133bc8003657169f622d4340360a0e5b15a455de
5854 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5855 Date:   2007-02-09 02:21:20 +0000
5856
5857     Allow passing of NULL to strv out arguments.
5858
5859     A nicety for the user, allows passing NULL to strv out arguments as
5860     shorthand for an empty array.
5861     Patch due to Luiz Augusto von Dentz <luiz.dentz@gmail.com>
5862     Fixes bug #8795.
5863
5864  dbus/dbus-gvalue.c |   20 +++++++++++++-------
5865  1 file changed, 13 insertions(+), 7 deletions(-)
5866
5867 commit 5f70d7b59445b634f94469a8c12cf31f8f81fdae
5868 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5869 Date:   2007-02-09 02:13:40 +0000
5870
5871     Make uscore_to_wincaps return NULL when passed NULL.
5872
5873     A null pointer dereference occured when uscore_to_wincaps was passed
5874     NULL, which could happen in some cases.
5875     Fixes bug #8318.
5876
5877  dbus/dbus-gobject.c |    2 +-
5878  1 file changed, 1 insertion(+), 1 deletion(-)
5879
5880 commit 678f8e5fdaf5c587547a96b173a5532f14337988
5881 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5882 Date:   2007-02-09 02:08:57 +0000
5883
5884     Only respond to NameOwnerChanged if its one of our names.
5885
5886     This fixes a crash due to code in
5887     dbus_g_proxy_manager_replace_name_owner that was dereferencing a
5888     null pointer when the process received a nameownerchanged for an
5889     object not registered with dbus-glib.
5890     Patch by Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>.
5891     Fixes bug #8235.
5892
5893  dbus/dbus-gproxy.c |   29 +++++++++++++++++++----------
5894  1 file changed, 19 insertions(+), 10 deletions(-)
5895
5896 commit 1ce4d3e7324d92d797b7e41e869b1d0ff51f129a
5897 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5898 Date:   2007-02-09 01:51:55 +0000
5899
5900     Fix dbus-binding-tool to generate headers usable from C++
5901
5902     Adds a cast that isn't needed in C, but is needed in C++
5903     Thanks to Christian Persch <chpe@gnome.org>, though his patch had
5904     a typo :)
5905     Fixes bug #6358.
5906
5907  dbus/dbus-binding-tool-glib.c |    2 +-
5908  1 file changed, 1 insertion(+), 1 deletion(-)
5909
5910 commit 6d61bad839512dedb62318fd82e2c0b20906d62f
5911 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5912 Date:   2007-02-09 01:26:48 +0000
5913
5914     Only require --prefix for server side binding generation
5915
5916     In dbus-binding-tool, only require --prefix for server side
5917     binding generation, as client-side defaults to the useful
5918     org_foo_bar_baz. Also fixes up the help string.
5919
5920     Closes bug #4185
5921
5922  dbus/dbus-glib-tool.c |    5 +++--
5923  1 file changed, 3 insertions(+), 2 deletions(-)
5924
5925 commit cb866d68e733e48bd6a6cea21fa4b5ca648d861e
5926 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5927 Date:   2007-02-09 00:04:13 +0000
5928
5929     Clarify documentation for dbus_g_method_get_sender.
5930
5931     Adds a note that the caller is responsible for freeing the returned
5932     value.
5933
5934  dbus/dbus-gobject.c |    5 +++--
5935  1 file changed, 3 insertions(+), 2 deletions(-)
5936
5937 commit 22bd9971b4ac95f926b577e416f54ec57bb16d2d
5938 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5939 Date:   2007-02-08 23:54:33 +0000
5940
5941     Add new API for specifying the timeout in DBusGProxy calls.
5942
5943     This applies the patch from S. Nalliami <snallammai@novell.com>
5944     to provide new glib API's to allow the user to specify the timeout
5945     parameter for the method calls.
5946     Currently, in the dbus-glib APIs,the timeout value for synchronous
5947     and asynchronous method calls is hard coded as -1(ie.25seconds)
5948     which inhibits the user from specifying shorter or longer timeout
5949     values.The new APIs take the timeout value as an argument and
5950     processes the method calls.
5951
5952     Fixes bug #9832.
5953
5954  dbus/dbus-glib.h   |   16 +++++++
5955  dbus/dbus-gproxy.c |  121
5956  ++++++++++++++++++++++++++++++++++++++++++++++++----
5957  2 files changed, 128 insertions(+), 9 deletions(-)
5958
5959 commit b226873fdc2e7b98740afb93a7bae675952a29f0
5960 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5961 Date:   2007-02-08 23:17:40 +0000
5962
5963     Dont check for libxml2 when expat not found.
5964
5965     There isn't a version of dbus-gloader that works with libxml2, so
5966     this changes configure.ac to not check for libxml2, and error out
5967     if expat isn't found.
5968
5969  configure.ac |   47 ++++++-----------------------------------------
5970  1 file changed, 6 insertions(+), 41 deletions(-)
5971
5972 commit c51ff16bc93b4741061c362de638ab5e8cace000
5973 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5974 Date:   2007-02-08 15:06:08 +0000
5975
5976     Add configure flags --with-introspect-xml
5977
5978     Adds the configure flags --with-introspect-xml, which allows dbus-glib
5979     to be built with pre-generated bus daemons introspection xml (such as
5980     can be gained with dbus-daemon --introspect). This allows dbus-glib to
5981     be built without a running dbus-daemon, useful for embedded systems.
5982
5983  configure.ac      |   15 +++++++++++++++
5984  tools/Makefile.am |    5 +++++
5985  2 files changed, 20 insertions(+)
5986
5987 commit c5c0bed2166767162f599958270e92122da3ff2a
5988 Author: Rob Taylor <rob.taylor@codethink.co.uk>
5989 Date:   2007-02-08 15:00:17 +0000
5990
5991     update doc/reference/dbus-glib-undocumented.txt
5992
5993     dbus_g_thread_init is now documented.
5994
5995  doc/reference/dbus-glib-undocumented.txt |    7 +++----
5996  1 file changed, 3 insertions(+), 4 deletions(-)
5997
5998 commit c807d408924e9a9bcc7b2eb67b411c25888090ee
5999 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6000 Date:   2007-01-08 08:41:11 +0000
6001
6002     Use dbus_threads_init_default() rather than using own threading
6003     primitives.
6004
6005     Modifies dbus_g_threads_init() to just call
6006     dbus_threads_init_default(), which with current dbus gives us full
6007     thread primitives with recursive locking.
6008
6009     Fixes #9259.
6010
6011  dbus/dbus-gthread.c |  143
6012  +++------------------------------------------------
6013  1 file changed, 7 insertions(+), 136 deletions(-)
6014
6015 commit 9bb928331e2ad602728320598698de90c9a246d6
6016 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6017 Date:   2007-01-08 08:39:22 +0000
6018
6019     Reduce dependancy to dbus version 0.93, error out if correct version
6020     not found.
6021
6022     In configure.ac, add code to error out if correct version of dbus-1
6023     not found. Also use correct dependancy of 0.93, as this is when the
6024     --introspect flag was introduced to dbus-daemon. Pacth due to Luiz
6025     Augusto von Dentz  <luiz.dentz@gmail.com>.
6026
6027     Fixes #8793.
6028
6029  configure.ac |    9 +++++++--
6030  1 file changed, 7 insertions(+), 2 deletions(-)
6031
6032 commit 79d115030d45fefd96d5ffc7853f80fc454c13b1
6033 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6034 Date:   2007-01-07 13:34:26 +0000
6035
6036     Allow dbus and dbus-glib to live in different prefixes
6037
6038     Adds Cflags: -I${includedir}/dbus-1.0 to dbus-glib-1.pc.in.
6039     Fixes #9384.
6040
6041  dbus-glib-1.pc.in |    1 +
6042  1 file changed, 1 insertion(+)
6043
6044 commit 6de547af3bd7d2c8b77464435c45d22bba702cc7
6045 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6046 Date:   2006-10-26 10:22:26 +0100
6047
6048     Correct spellings in NEWS
6049
6050  NEWS |   37 +++++++++++++++++++++++--------------
6051  1 file changed, 23 insertions(+), 14 deletions(-)
6052
6053 commit 83f8ed0935c37b3b5668d1a512370a51f73ccc27
6054 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6055 Date:   2006-10-25 22:14:02 +0100
6056
6057     Update NEWS for release.
6058
6059  NEWS |   36 ++++++++++++++++++++++++++++++++++++
6060  1 file changed, 36 insertions(+)
6061
6062 commit c449668fd2b8b92fde03a83ba76a0eb8bb2a9326
6063 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6064 Date:   2006-10-25 21:12:03 +0100
6065
6066     only use -Wfloat-equal if compiler supports it
6067     Closes #7658. Thanks to Jens Granseuer <jensgr@gmx.net> for the patch.
6068
6069  configure.ac |   31 +++++++++++++++++++++++++++----
6070  1 file changed, 27 insertions(+), 4 deletions(-)
6071
6072 commit 505e48a851e38664c45e482b8f75ebbfd27fe278
6073 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6074 Date:   2006-10-25 21:00:18 +0100
6075
6076     return NULL from g_return_val_if_fail in dbus_g_proxy_begin_call
6077     Closes #4159.
6078
6079  dbus/dbus-gproxy.c |    4 ++--
6080  1 file changed, 2 insertions(+), 2 deletions(-)
6081
6082 commit 62acdb49360dfbf994ef38c8e97d9190d30149f3
6083 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6084 Date:   2006-10-25 20:26:04 +0100
6085
6086     Add dbus-gidl.h to IGNORE_HFILES for doxygen docs
6087
6088  doc/reference/Makefile.am |    1 +
6089  1 file changed, 1 insertion(+)
6090
6091 commit 0d9889a99241aebc863237faf8126663c97ae059
6092 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6093 Date:   2006-10-25 20:17:55 +0100
6094
6095     Update tools/Makefile.am for new dbus-binding-tool behaviour
6096
6097  tools/Makefile.am |    2 +-
6098  1 file changed, 1 insertion(+), 1 deletion(-)
6099
6100 commit 0aa2db3f6f18bff7d5c62a00f052ca89e21b269f
6101 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6102 Date:   2006-10-25 20:03:31 +0100
6103
6104     Remove bashism in make-dbus-glib-error-enum.sh
6105     Closes #6700.
6106
6107  dbus/make-dbus-glib-error-enum.sh |    2 +-
6108  1 file changed, 1 insertion(+), 1 deletion(-)
6109
6110 commit 74bcfcfbc242325ca470d483817ae37fa8d41f25
6111 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6112 Date:   2006-10-25 19:37:12 +0100
6113
6114     Fix introspection when object has exported properties.
6115     dbus-gobject:write_interface was completely broken
6116     Fix thanks to mccann@jhu.edu.
6117     Closes #8607.
6118
6119  dbus/dbus-gobject.c |    3 +--
6120  1 file changed, 1 insertion(+), 2 deletions(-)
6121
6122 commit 3647d0df5780967dd505d3c046ab37ada70529bf
6123 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6124 Date:   2006-10-25 19:14:50 +0100
6125
6126     Require --prefix in dbus-binding-tool
6127     Closes #4185.
6128
6129  dbus/dbus-glib-tool.c |    8 +++++++-
6130  1 file changed, 7 insertions(+), 1 deletion(-)
6131
6132 commit 054c6476495a6f85ae708ed81b9053bf666897b7
6133 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6134 Date:   2006-10-25 18:34:49 +0100
6135
6136     Dont shadow index.
6137     Rename useage of index to index_. Thanks stdlib...
6138     Closes #8353.
6139
6140  dbus/dbus-gtype-specialized.c |   12 ++++++------
6141  dbus/dbus-gvalue.c            |   14 +++++++-------
6142  2 files changed, 13 insertions(+), 13 deletions(-)
6143
6144 commit d3a494dced8e3f2de111f23ae3fbab6e32f4051a
6145 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6146 Date:   2006-10-25 18:27:20 +0100
6147
6148     Fix small leak when marshal_table is destroyed
6149     Closes #6870 with patch from Richard Hult <richard@imendio.com>
6150
6151  dbus/dbus-gobject.c |    9 ++++++++-
6152  1 file changed, 8 insertions(+), 1 deletion(-)
6153
6154 commit 9bfec032a72e7af5945336fecbb9b6e0b6f2de9e
6155 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6156 Date:   2006-10-25 18:24:53 +0100
6157
6158     Fixes crash if disposing one DBusGProxy causes another for the
6159     same service
6160     to be unrefed in a destoyed callback.
6161
6162  dbus/dbus-gproxy.c         |   14 ++++++++-
6163  test/core/test-dbus-glib.c |   67
6164  ++++++++++++++++++++++++++++++++++++++++++--
6165  2 files changed, 78 insertions(+), 3 deletions(-)
6166
6167 commit 53bf71bd852810a271d13a73ba445622616c711c
6168 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6169 Date:   2006-10-25 16:41:38 +0100
6170
6171     Bump version to 0.72
6172     and use modern AC_INIT, AM_INIT_AUTOMAKE
6173
6174  configure.ac |    4 ++--
6175  1 file changed, 2 insertions(+), 2 deletions(-)
6176
6177 commit 28a54df202f089a3e00930e36a787c175501be41
6178 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6179 Date:   2006-10-25 14:36:25 +0100
6180
6181     Clean generated run-with-tmp-session-bus.conf on make clean
6182
6183  test/core/Makefile.am |    4 +++-
6184  1 file changed, 3 insertions(+), 1 deletion(-)
6185
6186 commit bcf15d72892582c28755563ca63182c198ef8f64
6187 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6188 Date:   2006-10-25 14:35:25 +0100
6189
6190     Actually run unit tests and checks when doing make distcheck
6191
6192  Makefile.am |    2 +-
6193  1 file changed, 1 insertion(+), 1 deletion(-)
6194
6195 commit 7c21166ef7ce9b370448a39c6c6744813933abee
6196 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6197 Date:   2006-10-25 14:33:53 +0100
6198
6199     Use TEST_CORE_SERVICE_BINARY path for core test service file
6200
6201  test/data/valid-service-files/debug-glib.service.in |    2 +-
6202  1 file changed, 1 insertion(+), 1 deletion(-)
6203
6204 commit d6980d9d59edcf14cc1ab5af3945bd740a3f2495
6205 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6206 Date:   2006-10-25 14:32:14 +0100
6207
6208     Use dbus-daemon --introspect to generate DBus service introspect xml
6209
6210  tools/Makefile.am |    2 +-
6211  1 file changed, 1 insertion(+), 1 deletion(-)
6212
6213 commit 505f5486f055558934718672f1328b52fab6cd6e
6214 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6215 Date:   2006-10-25 14:30:23 +0100
6216
6217     Actually make interfaces tests work
6218     Working interfaces/Makefile.am
6219     Make service file for interfaces test service
6220     Fix up configure.ac appropriately.
6221     Sanitise service/object namespace for interfaces tests
6222     Remove accidentally added test/interfaces/.Makefile.am.sw
6223
6224  configure.ac                      |    6 ++-
6225  test/interfaces/Makefile.am       |   81
6226  +++++++++++++++++--------------------
6227  test/interfaces/run-test.sh       |   23 +----------
6228  test/interfaces/test-client.c     |   22 +++++-----
6229  test/interfaces/test-goodbye.xml  |    4 +-
6230  test/interfaces/test-hello.xml    |    4 +-
6231  test/interfaces/test-interfaces.c |    4 +-
6232  test/interfaces/test-objects.c    |    8 ++--
6233  test/interfaces/test-server.c     |    8 ++--
6234  test/interfaces/test-song.xml     |    4 +-
6235  10 files changed, 69 insertions(+), 95 deletions(-)
6236
6237 commit 4a479fe9516b141d94e57489f7e624ea6b94cb94
6238 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6239 Date:   2006-10-24 19:51:12 +0100
6240
6241     Make interfaces tests work
6242     Working interfaces/Makefile.am
6243     Make service file for interfaces test service
6244     Fix up configure.ac appropriately.
6245     Sanitise service/object namespace for interfaces tests
6246     Remove accidentally added test/interfaces/.Makefile.am.swp
6247
6248  test/data/valid-service-files/interfaces-test.service.in |    3 +++
6249  test/interfaces/.Makefile.am.swp                         |  Bin 12288 ->
6250  0 bytes
6251  2 files changed, 3 insertions(+)
6252
6253 commit 4db00a26f0c67db96ff6185286658278678e23bd
6254 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6255 Date:   2006-10-24 18:07:26 +0100
6256
6257     Changes for test/interfaces
6258     Changed configure.ac and test/Makefile.am
6259
6260  configure.ac     |    1 +
6261  test/Makefile.am |    4 ++--
6262  2 files changed, 3 insertions(+), 2 deletions(-)
6263
6264 commit 4f6a75760f55eeb79113d09baa46ecdd09e100e6
6265 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6266 Date:   2006-10-24 16:36:08 +0100
6267
6268     Add tests for new interfaces functionaility
6269     From bug #5173
6270
6271  test/interfaces/.Makefile.am.swp  |  Bin 0 -> 12288 bytes
6272  test/interfaces/.gitignore        |    4 ++
6273  test/interfaces/Makefile.am       |   86 +++++++++++++++++++++++++
6274  test/interfaces/run-test.sh       |   38 +++++++++++
6275  test/interfaces/test-client.c     |   85 +++++++++++++++++++++++++
6276  test/interfaces/test-goodbye.xml  |    9 +++
6277  test/interfaces/test-hello.xml    |   10 +++
6278  test/interfaces/test-interfaces.c |  126
6279  +++++++++++++++++++++++++++++++++++++
6280  test/interfaces/test-interfaces.h |   48 ++++++++++++++
6281  test/interfaces/test-objects.c    |   73 +++++++++++++++++++++
6282  test/interfaces/test-objects.h    |   31 +++++++++
6283  test/interfaces/test-server.c     |   56 +++++++++++++++++
6284  test/interfaces/test-song.xml     |    9 +++
6285  13 files changed, 575 insertions(+)
6286
6287 commit 4467ffca15e4783b7e90f1349be18fca3807b6cb
6288 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6289 Date:   2006-10-24 15:42:42 +0100
6290
6291     Bump GLib dependancy to 2.6
6292     Closes #4390.
6293
6294  configure.ac |    4 ++--
6295  1 file changed, 2 insertions(+), 2 deletions(-)
6296
6297 commit 6ac144ff50d6c87795b470fb74cc1c0dd3e549a7
6298 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6299 Date:   2006-10-17 17:06:48 +0100
6300
6301     Add gobject-2.0 to dbus-glib-1.pc.in
6302     glib bindings depend on gobject. Its amazing we've got this far with
6303     noone noticiing this bug...
6304
6305  dbus-glib-1.pc.in |    2 +-
6306  1 file changed, 1 insertion(+), 1 deletion(-)
6307
6308 commit 03e629cabe1100527c467fc5bf2a8aa4f7d3a6f5
6309 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6310 Date:   2006-10-04 19:30:46 -0400
6311
6312     Remove accidentally added test/interfaces stuff in the autotools
6313
6314  configure.ac     |    1 -
6315  test/Makefile.am |    4 ++--
6316  2 files changed, 2 insertions(+), 3 deletions(-)
6317
6318 commit 8e2c2ba5f8f0a25708bac86cafa46be02a1bdb78
6319 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6320 Date:   2006-10-04 19:16:35 -0400
6321
6322     Fix up tests
6323     Puts all exposed servies in the org.freedesktop.DBus.GLib namespace
6324     Make tests run again!
6325
6326  test/core/run-test.sh                              |    6 +-
6327  test/core/test-dbus-glib.c                         |  142
6328  ++++++++++----------
6329  test/core/test-profile.c                           |    6 +-
6330  test/core/test-service-glib.c                      |   16 +--
6331  test/core/test-service-glib.xml                    |    6 +-
6332  test/core/test-thread-client.c                     |    4 +-
6333  test/core/test-thread-server.c                     |    2 +-
6334  .../data/valid-service-files/debug-echo.service.in |    2 +-
6335  .../data/valid-service-files/debug-glib.service.in |    2 +-
6336  test/test-service.c                                |   28 ++--
6337  10 files changed, 107 insertions(+), 107 deletions(-)
6338
6339 commit c0bb50ca11675274464d91ed5651676449ce360d
6340 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6341 Date:   2006-10-04 19:13:34 -0400
6342
6343     Update autofoo for new tests layout
6344
6345  configure.ac     |    1 +
6346  test/Makefile.am |    4 ++--
6347  2 files changed, 3 insertions(+), 2 deletions(-)
6348
6349 commit 33412cde926a9fc6ce86618835661bbc48475177
6350 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6351 Date:   2006-10-04 23:43:29 +0100
6352
6353     Make autogen a bit more useful for maintainers
6354     Adds default configure parameters - the ones you usually want ;)
6355
6356  autogen.sh |   12 ++++++++----
6357  1 file changed, 8 insertions(+), 4 deletions(-)
6358
6359 commit b47e9bca585b1104f6d7309b02da27b123015611
6360 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6361 Date:   2006-09-27 14:12:26 +0100
6362
6363     Update COPYING and HACKING to be correct for dbus-glib
6364
6365  COPYING |    9 ++++-----
6366  HACKING |   11 +++++++++++
6367  2 files changed, 15 insertions(+), 5 deletions(-)
6368
6369 commit 50541a23757d59d93918db52c9e9c65596d943c5
6370 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6371 Date:   2006-09-27 14:04:19 +0100
6372
6373     Autoconf changes from test/glib -> test/core move
6374
6375  configure.ac     |    4 ++--
6376  test/Makefile.am |    4 ++--
6377  2 files changed, 4 insertions(+), 4 deletions(-)
6378
6379 commit 01024785e818e72c06ba44e8feea926e8aa8f7a8
6380 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6381 Date:   2006-09-27 14:02:42 +0100
6382
6383     add an .gitignore
6384
6385  .gitignore |  205
6386  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6387  1 file changed, 205 insertions(+)
6388
6389 commit 003840bd5f08802fb2a63b3c49f9d0685f6f292b
6390 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6391 Date:   2006-09-27 13:56:39 +0100
6392
6393     Move tests/glib to test/core
6394     Move tests/glib to test/core in preparation for seperate functionality
6395     tests
6396
6397  test/core/Makefile.am            |   86 ++
6398  test/core/my-object-marshal.list |    2 +
6399  test/core/run-test.sh            |   38 +
6400  test/core/test-dbus-glib.c       | 1614
6401  ++++++++++++++++++++++++++++++++++++++
6402  test/core/test-profile.c         | 1150 +++++++++++++++++++++++++++
6403  test/core/test-service-glib.c    |  928 ++++++++++++++++++++++
6404  test/core/test-service-glib.xml  |  179 +++++
6405  test/core/test-thread-client.c   |   98 +++
6406  test/core/test-thread-server.c   |  209 +++++
6407  test/core/test-thread.h          |    1 +
6408  test/glib/Makefile.am            |   86 --
6409  test/glib/my-object-marshal.list |    2 -
6410  test/glib/run-test.sh            |   38 -
6411  test/glib/test-dbus-glib.c       | 1614
6412  --------------------------------------
6413  test/glib/test-profile.c         | 1150 ---------------------------
6414  test/glib/test-service-glib.c    |  928 ----------------------
6415  test/glib/test-service-glib.xml  |  179 -----
6416  test/glib/test-thread-client.c   |   98 ---
6417  test/glib/test-thread-server.c   |  209 -----
6418  test/glib/test-thread.h          |    1 -
6419  20 files changed, 4305 insertions(+), 4305 deletions(-)
6420
6421 commit de74dd48194f9aa3629d7b65dd89e0b1339f8654
6422 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6423 Date:   2006-09-27 13:39:24 +0100
6424
6425     Rename configure.in to configure.ac for modernity
6426
6427  configure.ac |  902
6428  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6429  configure.in |  902
6430  ----------------------------------------------------------
6431  2 files changed, 902 insertions(+), 902 deletions(-)
6432
6433 commit b17fc759d2d5422ce287706d276443fa338cbf5a
6434 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6435 Date:   2006-09-24 14:34:19 +0100
6436
6437     Fix memleak in lookup_or_register_specialized.
6438     Applies fix from Daniel d'Andrada Tenório de Carvalho, closing
6439     bug #7352.
6440
6441  dbus/dbus-gtype-specialized.c |    3 +--
6442  1 file changed, 1 insertion(+), 2 deletions(-)
6443
6444 commit 4d6aa726814295cfabab95a51d2e320d02b72dde
6445 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6446 Date:   2006-09-24 14:32:52 +0100
6447
6448     Add m4 directory
6449     Add missing changes from last commit.
6450
6451  Makefile.am  |    9 +++++----
6452  autogen.sh   |    6 +++++-
6453  configure.in |    1 +
6454  3 files changed, 11 insertions(+), 5 deletions(-)
6455
6456 commit 1571d556aa5f087e52074e5fd7c5e5c29667c551
6457 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6458 Date:   2006-09-24 14:07:50 +0100
6459
6460     Add m4 directory
6461     Add an m4 directory and add gtk-doc.m4, which is installed in the
6462     tree by gtkdocize.
6463
6464  m4/Makefile.am |    1 +
6465  1 file changed, 1 insertion(+)
6466
6467 commit fcc2ccdb19bfa25db005494271dbd91a3205c3a6
6468 Merge: 99e1085 3f978cf
6469 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6470 Date:   2006-09-21 03:44:22 +0100
6471
6472     Merge branch 'master' of
6473     git+ssh://git.freedesktop.org/git/dbus/dbus-glib
6474
6475 commit 3f978cf34b91e5404dc3ea559995a9648734a2da
6476 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
6477 Date:   2006-09-08 10:56:06 -0400
6478
6479     * tools/Makefile.am: Add tools/session.conf to EXTRA_DIST so make
6480     check works
6481       from tarballs
6482
6483  tools/Makefile.am |    2 +-
6484  1 file changed, 1 insertion(+), 1 deletion(-)
6485
6486 commit 99e10857c50a025fb37613c4dae720b5afc890f5
6487 Merge: b193f2b 22ea91b
6488 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6489 Date:   2006-08-24 23:27:58 +0100
6490
6491     Merge http://ms800.montefiore.ulg.ac.be/~frecinau/dbus-glib
6492
6493 commit 22ea91b33bff95cf480a4c992e4774b671f1534b
6494 Author: Steve Frécinaux <steve@istique.net>
6495 Date:   2006-08-22 22:57:44 +0200
6496
6497     Fix compilation with -Werror
6498
6499  dbus/dbus-gmain.c          |    2 +-
6500  test/glib/test-dbus-glib.c |    9 +--------
6501  2 files changed, 2 insertions(+), 9 deletions(-)
6502
6503 commit 368aaee38049dc599fb8d06d7096bcdbd04befab
6504 Author: Steve Frécinaux <steve@istique.net>
6505 Date:   2006-08-22 22:26:24 +0200
6506
6507     Make test scripts run during out-of-tree compilation
6508
6509  test/glib/run-test.sh             |    4 +++-
6510  tools/run-with-tmp-session-bus.sh |    5 ++++-
6511  2 files changed, 7 insertions(+), 2 deletions(-)
6512
6513 commit b193f2b28472790ff66fc575d55d4e6d5a9d3e78
6514 Author: Steve Frécinaux <steve@istique.net>
6515 Date:   2006-08-22 19:36:44 +0200
6516
6517     Fix out-of-tree compilation
6518     (cherry picked from 4b85a9e92bcf21356f25c535b3550a330cb018a4 commit)
6519
6520  dbus/Makefile.am                       |   13 +++++++++++--
6521  dbus/examples/Makefile.am              |    8 +++++++-
6522  dbus/examples/statemachine/Makefile.am |    9 ++++++++-
6523  test/Makefile.am                       |    7 ++++++-
6524  test/glib/Makefile.am                  |    8 +++++++-
6525  5 files changed, 39 insertions(+), 6 deletions(-)
6526
6527 commit 4b85a9e92bcf21356f25c535b3550a330cb018a4
6528 Author: Steve Frécinaux <steve@istique.net>
6529 Date:   2006-08-22 19:36:44 +0200
6530
6531     Fix out-of-tree compilation
6532
6533  dbus/Makefile.am                       |   13 +++++++++++--
6534  dbus/examples/Makefile.am              |    8 +++++++-
6535  dbus/examples/statemachine/Makefile.am |    9 ++++++++-
6536  test/Makefile.am                       |    7 ++++++-
6537  test/glib/Makefile.am                  |    8 +++++++-
6538  5 files changed, 39 insertions(+), 6 deletions(-)
6539
6540 commit 46e7e573203e354b676e031067b8607b4f2640df
6541 Merge: 355ef78 3be8161
6542 Author: Steve Frécinaux <steve@istique.net>
6543 Date:   2006-08-22 19:07:59 +0200
6544
6545     Merge branch 'master' of
6546     git://anongit.freedesktop.org/git/dbus/dbus-glib
6547
6548 commit 3be816118dfc560955e5cd8e85203129087959ce
6549 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6550 Date:   2006-08-22 12:25:39 +0100
6551
6552     replace doxygen with gtk-doc in INSTALL
6553
6554  INSTALL |    2 +-
6555  1 file changed, 1 insertion(+), 1 deletion(-)
6556
6557 commit 27e76bb78db2b467ce93fa0088c6c2407836e4ff
6558 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6559 Date:   2006-08-22 12:25:13 +0100
6560
6561     Combine .PHONY rules in toplevel Makefile.am
6562     A .PHONY rule was added by the gtk-doc patch, this combines it with
6563     the existsing .PHONY rule
6564
6565  Makefile.am |    5 ++---
6566  1 file changed, 2 insertions(+), 3 deletions(-)
6567
6568 commit d49a2a2486cd60e22b360dda8ae5a50d25486667
6569 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6570 Date:   2006-08-22 12:24:00 +0100
6571
6572     Modifed autogen.sh to check for autotools an gtkdocize versions
6573     autogen.sh now does a full check for all the correct versions of
6574     autotools. It uses autoreconf to do the various steps. It also
6575     checks for correct gtkdocize version and pretty prints a bit,
6576     a-la gnome-autogen.sh.
6577
6578  autogen.sh |  143
6579  ++++++++++++++++++++++++++++++++++++++++++------------------
6580  1 file changed, 101 insertions(+), 42 deletions(-)
6581
6582 commit 62419419257d6353c5f35001e1f538fca300f3c4
6583 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6584 Date:   2006-08-22 11:44:42 +0100
6585
6586     add missing doc/Makefile.am from gtk-doc update.
6587
6588  doc/Makefile.am |    1 +
6589  1 file changed, 1 insertion(+)
6590
6591 commit f812d9044aa73b0c86f92dc0dcae03d26e23193a
6592 Author: Rob Taylor <rob.taylor@collabora.co.uk>
6593 Date:   2006-08-22 11:43:43 +0100
6594
6595     Add missing m4/gtk-doc.m4 from gtk-doc patch.
6596
6597  m4/gtk-doc.m4 |    1 +
6598  1 file changed, 1 insertion(+)
6599
6600 commit 2effafca679d6331201e7637b18888a70b958eb8
6601 Author: Rob Taylor <robtaylor@lancastria.(none)>
6602 Date:   2006-08-18 20:55:17 +0100
6603
6604     Commit patch to switch to gtk-doc with gtype-specialized doc and
6605     updates from
6606     Marc-Andre Lureau <marcandre.lureau@gmail.com>, with minor cleanup.
6607
6608     Closes #7726.
6609
6610  Makefile.am                              |    5 +-
6611  autogen.sh                               |    4 +
6612  configure.in                             |    8 ++
6613  dbus/dbus-gidl.c                         |    2 +-
6614  dbus/dbus-glib-tool.c                    |    2 +-
6615  dbus/dbus-glib.c                         |  134 ++++++++++++++-------
6616  dbus/dbus-glib.h                         |   41 ++++---
6617  dbus/dbus-gmain.c                        |   46 ++++---
6618  dbus/dbus-gobject.c                      |  140 +++++++++++++---------
6619  dbus/dbus-gproxy.c                       |  193
6620  +++++++++++++++++-------------
6621  dbus/dbus-gtype-specialized.c            |   20 +++-
6622  dbus/dbus-gutils.c                       |    2 +-
6623  dbus/dbus-gvalue.c                       |    6 +-
6624  doc/reference/Makefile.am                |   94 +++++++++++++++
6625  doc/reference/dbus-binding-tool.xml      |   62 ++++++++++
6626  doc/reference/dbus-glib-docs.sgml        |   83 +++++++++++++
6627  doc/reference/dbus-glib-sections.txt     |  166 +++++++++++++++++++++++++
6628  doc/reference/dbus-glib-undocumented.txt |   78 ++++++++++++
6629  doc/reference/version.xml.in             |    1 +
6630  19 files changed, 858 insertions(+), 229 deletions(-)
6631
6632 commit 355ef78d98d6fc65715845d56232199162cab12a
6633 Author: Steve Frécinaux <steve@istique.net>
6634 Date:   2006-08-17 11:48:20 +0200
6635
6636     Interface support for bindings.
6637
6638  dbus/dbus-gobject.c |  286
6639  +++++++++++++++++++++++++++++----------------------
6640  1 file changed, 161 insertions(+), 125 deletions(-)
6641
6642 commit e6c7815f9457757d7364463759766c85981ce207
6643 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
6644 Date:   2006-07-24 14:44:36 -0400
6645
6646     * Released 0.71
6647
6648  NEWS         |    7 ++++++-
6649  configure.in |    2 +-
6650  2 files changed, 7 insertions(+), 2 deletions(-)
6651
6652 commit 3f720d5a5028d2b4075b474ba17fb9b7508093ac
6653 Author: John (J5) Palmieri <johnp@redhat.com>
6654 Date:   2006-07-21 16:25:35 -0400
6655
6656     * Various Makefile cleanups
6657
6658  Makefile.am      |   26 ++++++++++++++++++++++++--
6659  dbus/Makefile.am |    8 ++++----
6660  test/Makefile.am |    2 --
6661  3 files changed, 28 insertions(+), 8 deletions(-)
6662
6663 commit 05cb3fd6e2c139e61d1461443660badfbdf94a83
6664 Author: John (J5) Palmieri <johnp@redhat.com>
6665 Date:   2006-07-17 16:36:02 -0400
6666
6667     * Released 0.70
6668     * Add NEWS to the dist
6669
6670  Makefile.am |    1 +
6671  1 file changed, 1 insertion(+)
6672
6673 commit d59c4a541397033b69d575c8cc495d0f3ba13ee3
6674 Author: John (J5) Palmieri <johnp@redhat.com>
6675 Date:   2006-07-17 16:28:45 -0400
6676
6677     * Added a NEWS entry for this release
6678
6679  NEWS |   18 ++++++++++++++++++
6680  1 file changed, 18 insertions(+)
6681
6682 commit 990802d9f01a7c5aa1ae582aad21963fe20b601e
6683 Author: John (J5) Palmieri <johnp@redhat.com>
6684 Date:   2006-07-17 16:06:52 -0400
6685
6686     * remove ChangeLog because this will now be generated during dist
6687
6688  0 files changed
6689
6690 commit 6a68e96e69cb17a981c801d8e7480c5bb4d51a6c
6691 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6692 Date:   2006-07-17 15:52:26 -0400
6693
6694     * add the Doxyfile.in file
6695
6696  Doxyfile.in |  180
6697  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6698  1 file changed, 180 insertions(+)
6699
6700 commit 89a2a3b5b5795434900f1ca41fc73162b7bb09f2
6701 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6702 Date:   2006-07-06 19:16:07 -0400
6703
6704     - distcheck cleanups
6705
6706  dbus/Makefile.am  |    2 +-
6707  tools/Makefile.am |    6 ++++++
6708  2 files changed, 7 insertions(+), 1 deletion(-)
6709
6710 commit 46ea5dc1aa64ca906d28119e2d9eed3a48e6adfc
6711 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6712 Date:   2006-07-06 19:05:44 -0400
6713
6714     - Renabled another test
6715
6716  dbus/Makefile.am |   20 ++++++++++----------
6717  1 file changed, 10 insertions(+), 10 deletions(-)
6718
6719 commit ae743d6feca5e24541124148a53a475f6f27e2a9
6720 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6721 Date:   2006-07-06 18:52:50 -0400
6722
6723     - add gcov source
6724
6725  test/decode-gcov.c | 2652
6726  ++++++++++++++++++++++++++++++++++++++++++++++++++++
6727  1 file changed, 2652 insertions(+)
6728
6729 commit ae90f4bab7a98d89a85e8e6c11b4af72bb9a2525
6730 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6731 Date:   2006-07-06 18:52:16 -0400
6732
6733     - Adding placeholder HACKING file
6734
6735  0 files changed
6736
6737 commit 5f47ecc191cae12930652b708d3c52d293eba4da
6738 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6739 Date:   2006-07-06 18:05:37 -0400
6740
6741     - Add back the Doxygen doc generation
6742
6743  Makefile.am    |    2 +-
6744  configure.in   |    1 +
6745  doc/api/README |    3 +++
6746  3 files changed, 5 insertions(+), 1 deletion(-)
6747
6748 commit fdb8aaaab032ab4eb63aa80dbef7de91a3de346a
6749 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6750 Date:   2006-07-06 17:40:30 -0400
6751
6752     - Add back tests to the glib bindings
6753
6754  Makefile.am                                        |    5 +-
6755  configure.in                                       |   17 +-
6756  test/Makefile.am                                   |   29 +
6757  .../data/valid-service-files/debug-echo.service.in |    3 +
6758  .../data/valid-service-files/debug-glib.service.in |    3 +
6759  test/glib/Makefile.am                              |   80 +
6760  test/glib/my-object-marshal.list                   |    2 +
6761  test/glib/run-test.sh                              |   36 +
6762  test/glib/test-dbus-glib.c                         | 1621
6763  ++++++++++++++++++++
6764  test/glib/test-profile.c                           | 1150 ++++++++++++++
6765  test/glib/test-service-glib.c                      |  928 +++++++++++
6766  test/glib/test-service-glib.xml                    |  179 +++
6767  test/glib/test-thread-client.c                     |   98 ++
6768  test/glib/test-thread-server.c                     |  209 +++
6769  test/glib/test-thread.h                            |    1 +
6770  test/test-service.c                                |  374 +++++
6771  tools/Makefile.am                                  |   13 +
6772  tools/run-with-tmp-session-bus.sh                  |   65 +
6773  tools/session.conf                                 |   24 +
6774  19 files changed, 4833 insertions(+), 4 deletions(-)
6775
6776 commit 24e982d596036202850c679aa0460b729840e45d
6777 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6778 Date:   2006-07-06 14:40:14 -0400
6779
6780     - Fix up docs
6781
6782  INSTALL |   78
6783  ++-------------------------------------------------------------
6784  README  |   71 ---------------------------------------------------------
6785  2 files changed, 2 insertions(+), 147 deletions(-)
6786
6787 commit 6aa2aba0a64ea19e504118dc56a1f9e559568f90
6788 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6789 Date:   2006-06-29 12:05:05 -0400
6790
6791     - Really commit the glib to dbus move and build fixes
6792
6793  Makefile.am                            |   10 +++++-----
6794  configure.in                           |   18 +++++++++++++-----
6795  dbus/dbus-glib.h                       |    2 +-
6796  dbus/examples/Makefile.am              |   14 +++++++-------
6797  dbus/examples/statemachine/Makefile.am |   10 +++++-----
6798  5 files changed, 31 insertions(+), 23 deletions(-)
6799
6800 commit 6a9ac47cc9143ee899455c576f557818dab1f7d2
6801 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6802 Date:   2006-06-29 11:26:07 -0400
6803
6804     - Created empty NEWS file
6805     - renamed glib dir to dbus so include paths stay the same in the
6806     examples
6807     - build now works
6808
6809  dbus/.cvsignore                                    |   13 +
6810  dbus/Makefile.am                                   |  111 +
6811  dbus/dbus-binding-tool-glib.c                      | 1625 ++++++++++++
6812  dbus/dbus-binding-tool-glib.h                      |   40 +
6813  dbus/dbus-gidl.c                                   |  788 ++++++
6814  dbus/dbus-gidl.h                                   |  158 ++
6815  dbus/dbus-glib-lowlevel.h                          |   72 +
6816  dbus/dbus-glib-tool.c                              |  489 ++++
6817  dbus/dbus-glib-tool.h                              |   38 +
6818  dbus/dbus-glib.c                                   |  304 +++
6819  dbus/dbus-glib.h                                   |  256 ++
6820  dbus/dbus-gloader-expat.c                          |  266 ++
6821  dbus/dbus-gmain.c                                  |  814 ++++++
6822  dbus/dbus-gmarshal.c                               |   89 +
6823  dbus/dbus-gmarshal.h                               |   21 +
6824  dbus/dbus-gmarshal.list                            |    1 +
6825  dbus/dbus-gobject.c                                | 2217
6826  ++++++++++++++++
6827  dbus/dbus-gobject.h                                |   43 +
6828  dbus/dbus-gparser.c                                |  881 +++++++
6829  dbus/dbus-gparser.h                                |   65 +
6830  dbus/dbus-gproxy.c                                 | 2748
6831  ++++++++++++++++++++
6832  dbus/dbus-gsignature.c                             |  210 ++
6833  dbus/dbus-gsignature.h                             |   19 +
6834  dbus/dbus-gtest-main.c                             |   51 +
6835  dbus/dbus-gtest.c                                  |   92 +
6836  dbus/dbus-gtest.h                                  |   38 +
6837  dbus/dbus-gthread.c                                |  179 ++
6838  dbus/dbus-gtool-test.h                             |   31 +
6839  dbus/dbus-gtype-specialized.c                      |  778 ++++++
6840  dbus/dbus-gtype-specialized.h                      |  176 ++
6841  dbus/dbus-gutils.c                                 |  130 +
6842  dbus/dbus-gutils.h                                 |   57 +
6843  dbus/dbus-gvalue-utils.c                           | 1439 ++++++++++
6844  dbus/dbus-gvalue-utils.h                           |   73 +
6845  dbus/dbus-gvalue.c                                 | 1854 +++++++++++++
6846  dbus/dbus-gvalue.h                                 |   43 +
6847  dbus/examples/.cvsignore                           |   17 +
6848  dbus/examples/Makefile.am                          |   38 +
6849  dbus/examples/example-client.c                     |  121 +
6850  dbus/examples/example-service.c                    |  153 ++
6851  dbus/examples/example-service.xml                  |   19 +
6852  dbus/examples/example-signal-emitter.c             |  132 +
6853  dbus/examples/example-signal-emitter.xml           |   13 +
6854  dbus/examples/example-signal-recipient.c           |  102 +
6855  dbus/examples/statemachine/.cvsignore              |   16 +
6856  dbus/examples/statemachine/Makefile.am             |   35 +
6857  dbus/examples/statemachine/sm-marshal.list         |    1 +
6858  dbus/examples/statemachine/statemachine-client.c   |  662 +++++
6859  dbus/examples/statemachine/statemachine-server.c   |  229 ++
6860  dbus/examples/statemachine/statemachine-server.h   |   37 +
6861  dbus/examples/statemachine/statemachine-server.xml |   14 +
6862  dbus/examples/statemachine/statemachine.c          |  353 +++
6863  dbus/examples/statemachine/statemachine.h          |   77 +
6864  dbus/examples/statemachine/statemachine.xml        |   33 +
6865  dbus/make-dbus-glib-error-enum.sh                  |   25 +
6866  dbus/make-dbus-glib-error-switch.sh                |   29 +
6867  glib/.cvsignore                                    |   13 -
6868  glib/Makefile.am                                   |  105 -
6869  glib/dbus-binding-tool-glib.c                      | 1625 ------------
6870  glib/dbus-binding-tool-glib.h                      |   40 -
6871  glib/dbus-gidl.c                                   |  788 ------
6872  glib/dbus-gidl.h                                   |  158 --
6873  glib/dbus-glib-lowlevel.h                          |   72 -
6874  glib/dbus-glib-tool.c                              |  489 ----
6875  glib/dbus-glib-tool.h                              |   38 -
6876  glib/dbus-glib.c                                   |  304 ---
6877  glib/dbus-glib.h                                   |  256 --
6878  glib/dbus-gloader-expat.c                          |  266 --
6879  glib/dbus-gmain.c                                  |  814 ------
6880  glib/dbus-gmarshal.c                               |   89 -
6881  glib/dbus-gmarshal.h                               |   21 -
6882  glib/dbus-gmarshal.list                            |    1 -
6883  glib/dbus-gobject.c                                | 2217
6884  ----------------
6885  glib/dbus-gobject.h                                |   43 -
6886  glib/dbus-gparser.c                                |  881 -------
6887  glib/dbus-gparser.h                                |   65 -
6888  glib/dbus-gproxy.c                                 | 2748
6889  --------------------
6890  glib/dbus-gsignature.c                             |  210 --
6891  glib/dbus-gsignature.h                             |   19 -
6892  glib/dbus-gtest-main.c                             |   51 -
6893  glib/dbus-gtest.c                                  |   92 -
6894  glib/dbus-gtest.h                                  |   38 -
6895  glib/dbus-gthread.c                                |  179 --
6896  glib/dbus-gtool-test.h                             |   31 -
6897  glib/dbus-gtype-specialized.c                      |  778 ------
6898  glib/dbus-gtype-specialized.h                      |  176 --
6899  glib/dbus-gutils.c                                 |  130 -
6900  glib/dbus-gutils.h                                 |   57 -
6901  glib/dbus-gvalue-utils.c                           | 1439 ----------
6902  glib/dbus-gvalue-utils.h                           |   73 -
6903  glib/dbus-gvalue.c                                 | 1854 -------------
6904  glib/dbus-gvalue.h                                 |   43 -
6905  glib/examples/.cvsignore                           |   17 -
6906  glib/examples/Makefile.am                          |   38 -
6907  glib/examples/example-client.c                     |  121 -
6908  glib/examples/example-service.c                    |  153 --
6909  glib/examples/example-service.xml                  |   19 -
6910  glib/examples/example-signal-emitter.c             |  132 -
6911  glib/examples/example-signal-emitter.xml           |   13 -
6912  glib/examples/example-signal-recipient.c           |  102 -
6913  glib/examples/statemachine/.cvsignore              |   16 -
6914  glib/examples/statemachine/Makefile.am             |   35 -
6915  glib/examples/statemachine/sm-marshal.list         |    1 -
6916  glib/examples/statemachine/statemachine-client.c   |  662 -----
6917  glib/examples/statemachine/statemachine-server.c   |  229 --
6918  glib/examples/statemachine/statemachine-server.h   |   37 -
6919  glib/examples/statemachine/statemachine-server.xml |   14 -
6920  glib/examples/statemachine/statemachine.c          |  353 ---
6921  glib/examples/statemachine/statemachine.h          |   77 -
6922  glib/examples/statemachine/statemachine.xml        |   33 -
6923  glib/make-dbus-glib-error-enum.sh                  |   25 -
6924  glib/make-dbus-glib-error-switch.sh                |   29 -
6925  112 files changed, 18315 insertions(+), 18309 deletions(-)
6926
6927 commit 7fa1f1471e5b878253695da46a89a3186fb2a0d1
6928 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6929 Date:   2006-06-28 14:39:18 -0400
6930
6931     - Take out comment in a literal
6932
6933  configure.in |    1 -
6934  1 file changed, 1 deletion(-)
6935
6936 commit 1a7d56d33f83dde917871f8b2d5af19f25786449
6937 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6938 Date:   2006-06-28 14:24:40 -0400
6939
6940     - Have autogen.sh point to dbus-glib
6941
6942  autogen.sh |    4 ++--
6943  1 file changed, 2 insertions(+), 2 deletions(-)
6944
6945 commit 24ec6aba3281c460f64bbe9d5bb2dd265d453cce
6946 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6947 Date:   2006-06-28 14:22:25 -0400
6948
6949     - Add files missed in the split
6950
6951  glib/dbus-glib-lowlevel.h         |   72 +++++++++++
6952  glib/dbus-glib.h                  |  256
6953  +++++++++++++++++++++++++++++++++++++
6954  glib/make-dbus-glib-error-enum.sh |   25 ++++
6955  3 files changed, 353 insertions(+)
6956
6957 commit b8b86555280694d85d64b68d0f9131868598161a
6958 Author: John (J5) Palmieri <quinticent@phuket.(none)>
6959 Date:   2006-06-28 14:21:26 -0400
6960
6961     - Add boilerplate build files
6962
6963  AUTHORS           |   16 +
6964  COPYING           |  551 +++++++++++++++++++++++++++++++++
6965  INSTALL           |  294 ++++++++++++++++++
6966  Makefile.am       |   57 ++++
6967  README            |  101 +++++++
6968  autogen.sh        |   93 ++++++
6969  configure.in      |  870
6970  +++++++++++++++++++++++++++++++++++++++++++++++++++++
6971  dbus-glib-1.pc.in |   12 +
6972  8 files changed, 1994 insertions(+)
6973
6974 commit 698177269a46c2cb80fbb2c471f5ad6314bd106b
6975 Author: Ross Burton <ross@openedhand.com>
6976 Date:   2006-06-14 16:49:37 +0000
6977
6978     2006-06-14 Ross Burton <ross@openedhand.com>
6979
6980         * glib/dbus-gobject.c:
6981         Free a leaking GArray (surely not!) in dbus_g_method_return.
6982
6983  glib/dbus-gobject.c |    1 +
6984  1 file changed, 1 insertion(+)
6985
6986 commit 0b305ffe12e7273640226e323074f2cb7d7387cc
6987 Author: Ross Burton <ross@openedhand.com>
6988 Date:   2006-06-12 14:22:48 +0000
6989
6990     2006-06-12 Ross Burton <ross@openedhand.com>
6991
6992         * glib/dbus-gproxy.c:
6993         Don't leak a GArray when firing signals (thank Rob Taylor for
6994         review).
6995
6996  glib/dbus-gproxy.c |    4 +++-
6997  1 file changed, 3 insertions(+), 1 deletion(-)
6998
6999 commit 66e5632e14760bbd396afbc4d474cbbed22f37f7
7000 Author: Robert McQueen <robot101@debian.org>
7001 Date:   2006-06-07 00:31:01 +0000
7002
7003     2005-05-06 Robert McQueen <robot101@debian.org>
7004
7005         * glib/dbus-gtype-specialized.c: Fix obvious leak of GArray
7006         in every
7007           call to dbus_g_type_get_struct.
7008
7009  glib/dbus-gtype-specialized.c |    9 +++++++--
7010  1 file changed, 7 insertions(+), 2 deletions(-)
7011
7012 commit 9b151fd7a396463aa3f7c6ac0a14df444c78a6b1
7013 Author: Robert McQueen <robot101@debian.org>
7014 Date:   2006-06-07 00:03:57 +0000
7015
7016     2005-05-06 Robert McQueen <robot101@debian.org>
7017
7018         * glib/dbus-gvalue-utils.c: Fix the failing test where static
7019         string
7020           pointers were put into a GPtrArray-based specialised collection,
7021           and
7022           then freed along with the array. GValues which you add into
7023           collections or maps which have the NOCOPY flag set are assumed
7024           to not
7025           belong to the caller, so rather than the existing
7026           pointer-stealing
7027           semantics, they are copied instead. Given that the main
7028           consumers of
7029           this abstraction are the bindings themselves, I don't think
7030           this is
7031           too bad, but others should watch their choice of take vs
7032           set_static.
7033
7034  glib/dbus-gvalue-utils.c |   24 ++++++++++++++----------
7035  1 file changed, 14 insertions(+), 10 deletions(-)
7036
7037 commit 5559e67b90b3c186bf0002253587013264ce9dc0
7038 Author: Robert McQueen <robot101@debian.org>
7039 Date:   2006-06-06 23:07:04 +0000
7040
7041     2005-05-06 Robert McQueen <robot101@debian.org>
7042
7043         * glib/dbus-gvalue-utils.c: Spotted a warning about the return
7044         value
7045           of g_slist_prepend not being used. Fixed copying of slist-based
7046           specialised collections, then wrote a test case and found that
7047           it was
7048           all broken. Went on to fix iterating and appending too. Good
7049           thing
7050           nobody uses this code yet.
7051
7052  glib/dbus-gvalue-utils.c |  101
7053  ++++++++++++++++++++++++++++++++++++++++------
7054  1 file changed, 89 insertions(+), 12 deletions(-)
7055
7056 commit 7ca236d43bc91778e90ac59500aeb1d68c8acd6f
7057 Author: Robert McQueen <robot101@debian.org>
7058 Date:   2006-06-06 19:45:39 +0000
7059
7060     2005-05-06 Robert McQueen <robot101@debian.org>
7061
7062         * glib/dbus-gvalue-utils.c: Remove duplicated code by having
7063         all of
7064           the iterators use gvalue_take_ptrarray_value (the GValues
7065           themselves
7066           are discarded without unsetting, so it makes no difference
7067           whether
7068           we take or set_static). Remove cases for G_TYPE_POINTER because
7069           there really is nothing useful we can do with them in our
7070           specialised types - we *need* boxed copy/free functions at
7071           the very
7072           least.
7073
7074  glib/dbus-gvalue-utils.c |   91
7075  ++++++++--------------------------------------
7076  1 file changed, 16 insertions(+), 75 deletions(-)
7077
7078 commit 8896d43457634c4c10d9909907d0d9082b520a07
7079 Author: Havoc Pennington <hp@redhat.com>
7080 Date:   2006-05-21 05:33:52 +0000
7081
7082     2006-05-21 Havoc Pennington <hp@redhat.com>
7083
7084         * glib/dbus-gproxy.c: Put in a pile of assertions that the
7085         proxy name
7086         is not NULL when it shouldn't be. Also a couple of possible fixes
7087         for #4637 though I don't understand why the bug happens, to be
7088         honest... also the object constructor has an assert name != NULL
7089         and the name is only currently NULL for peer-to-peer proxies that
7090         I don't think anyone uses? So it should be asserting.
7091         Anyway, for now at least see if we get an earlier assertion
7092         failure.
7093
7094         * glib/dbus-gvalue-utils.c: Put in a couple of assertions for
7095         apparently broken code to be sure the tests fail and someone
7096         will fix them...
7097
7098  glib/dbus-gvalue-utils.c |   15 +++++++++++++++
7099  1 file changed, 15 insertions(+)
7100
7101 commit 4da76dd7d5845f05efd553037750ddeffd7d1962
7102 Author: Robert McQueen <robot101@debian.org>
7103 Date:   2006-04-28 21:11:28 +0000
7104
7105     2005-04-28 Robert McQueen <robot101@debian.org>
7106
7107         * glib/dbus-gproxy.c: Fix properties so that they can be given in
7108         any order, making it easier for people who inherit from this
7109         object.
7110
7111  glib/dbus-gproxy.c |   29 ++++++++++++++++++++++-------
7112  1 file changed, 22 insertions(+), 7 deletions(-)
7113
7114 commit 08cd19641ff8c6fcb1f8e5821e6c9dc81f11cd6f
7115 Author: Robert McQueen <robot101@debian.org>
7116 Date:   2006-04-28 21:02:16 +0000
7117
7118     2005-04-28 Robert McQueen <robot101@debian.org>
7119
7120         * glib/dbus-gvalue-utils.c: Patch from Jakub Stachowski to
7121         fix leaking
7122         of memory from within pointer arrays and lists. Fixes bug #6300.
7123
7124  glib/dbus-gvalue-utils.c |   62
7125  +++++++++++++++++++++++++++++++++++++++++-----
7126  1 file changed, 56 insertions(+), 6 deletions(-)
7127
7128 commit 96fb792c6a5661afeef76ece3cd7defc9ffc8db8
7129 Author: Robert McQueen <robot101@debian.org>
7130 Date:   2006-04-28 20:36:56 +0000
7131
7132     2005-04-28 Robert McQueen <robot101@debian.org>
7133
7134         * glib/dbus-gvalue.c: Patch from Jakub Stachowski to fix a leak in
7135         generating struct signatures. Fixes bug #6083.
7136
7137  glib/dbus-gvalue.c |    9 ++++++---
7138  1 file changed, 6 insertions(+), 3 deletions(-)
7139
7140 commit 636fe6ed1b321cd05b72ca39d414ecd1c2cb4b4f
7141 Author: Havoc Pennington <hp@redhat.com>
7142 Date:   2006-02-26 01:06:33 +0000
7143
7144     2006-02-25 Havoc Pennington <hp@redhat.com>
7145
7146         * glib/dbus-glib-tool.c (usage): fix up the usage message, someone
7147         should make this thing use the new glib options parser
7148
7149  glib/dbus-glib-tool.c |    2 +-
7150  1 file changed, 1 insertion(+), 1 deletion(-)
7151
7152 commit 844b4184483ac979eff27319f144e8f330858062
7153 Author: Robert McQueen <robot101@debian.org>
7154 Date:   2006-02-16 00:43:41 +0000
7155
7156     2006-02-16 Robert McQueen <robot101@debian.org>
7157
7158         * dbus/dbus-message.c (dbus_message_iter_get_fixed_array):
7159         Patch from Rob Taylor <rob.taylor@collabora.co.uk> to correct
7160         a bogus
7161         assertion that the next element to read from the iter is fixed in
7162         size. This is not the case when you are at the end of the iter,
7163         because the next element type is INVALID.
7164
7165         * dbus/dbus-string.c (_dbus_string_init_const_len): Correct a
7166         a bogus assert which means that you may not initialise a 0-length
7167         string unless you provide a non-NULL pointer. This prevented
7168         you from marshalling messages containing zero-length arrays in
7169         some cases.
7170
7171         * glib/dbus-gvalue.c (demarshal_collection_array): Another patch
7172         from Rob to correct bogus asserts when trying to demarshal an
7173         array and get_fixed_array got you 0 elements. Append nothing to
7174         the GArray in this case.
7175
7176         * test/glib/test-dbus-glib.c: Add a test case for round-tripping
7177         an empty array via the glib bindings. Without all of the above
7178         patches, this new test fails.
7179
7180  glib/dbus-gvalue.c |    7 ++++---
7181  1 file changed, 4 insertions(+), 3 deletions(-)
7182
7183 commit 7b33862bac766c00c12f5cb400af06200ae004c4
7184 Author: Robert McQueen <robot101@debian.org>
7185 Date:   2006-02-15 23:45:48 +0000
7186
7187     2006-02-16 Robert McQueen <robot101@debian.org>
7188
7189         * glib/dbus-gmain.c: Make the previous commit compile.
7190
7191         * python/_dbus.py, python/matchrules.py: Patch from Ole Andre
7192         Ravnaas <ole.andre.ravnaas@collabora.co.uk> to allow you to
7193         specify sender_keyword="foo", path_keyword="bar" when adding
7194         a signal listener, so that you can bind to signals generically
7195         but still do something useful in your callback.
7196
7197         * python/dbus_bindings.pyx: Demarshal the byte type as unsigned
7198         chars so that they're not cast to chars and made negative. Thanks
7199         to Jakub Stachowski for reporting this and testing the fix.
7200
7201  glib/dbus-gmain.c |    8 ++++----
7202  1 file changed, 4 insertions(+), 4 deletions(-)
7203
7204 commit 8d98ce884210745d7070e4438167ece2be0e357b
7205 Author: John (J5) Palmieri <johnp@redhat.com>
7206 Date:   2006-02-15 21:42:54 +0000
7207
7208     2006-02-15 John (J5) Palmieri <johnp@redhat.com>
7209
7210         * dbus/dbus-glib.h:
7211         * glib/dbus-gmain.h:
7212         (dbus_g_connection_open): new method for openning
7213         a connection to an arbitrary address in the glib bindings
7214
7215         * ChangeLog: checkin last entry which doesn't seem to be commited
7216
7217  glib/dbus-gmain.c |   37 +++++++++++++++++++++++++++++++++++++
7218  1 file changed, 37 insertions(+)
7219
7220 commit 6fd3dffe4561b37bc75c13f6296e91b65224ce4d
7221 Author: Robert McQueen <robot101@debian.org>
7222 Date:   2006-02-13 22:30:11 +0000
7223
7224     2006-02-13 Robert McQueen <robot101@debian.org>
7225
7226         * glib/dbus-binding-tool-glib.c, glib/dbus-gmain.c,
7227         glib/dbus-gsignature.c, glib/dbus-gtype-specialized.c,
7228         glib/dbus-gtype-specialized.h, glib/dbus-gvalue-utils.c,
7229         glib/dbus-gvalue-utils.h, glib/dbus-gvalue.c:
7230         Patch from Rob Taylor <rob.taylor@collabora.co.uk> to add a big
7231         missing piece of the glib bindings jigsaw puzzle. This modifies
7232         the existing specialised types to have N type parameters (rather
7233         than the current 1 or 2 for arrays and dictionaries respectively).
7234         You can then use this to get a glib type to represent any
7235         arbitrary
7236         D-Bus struct type using dbus_g_type_get_struct. The only
7237         implementation of these types is with GValueArrays as before,
7238         but it's now possible to store these in arrays, emit them in
7239         signals, etc.
7240
7241  glib/dbus-binding-tool-glib.c |   26 ++++
7242  glib/dbus-gmain.c             |    4 +-
7243  glib/dbus-gsignature.c        |   25 +++-
7244  glib/dbus-gtype-specialized.c |  296
7245  ++++++++++++++++++++++++++++++++++++++---
7246  glib/dbus-gtype-specialized.h |   43 ++++++
7247  glib/dbus-gvalue-utils.c      |  184 +++++++++++++++++++++++++
7248  glib/dbus-gvalue-utils.h      |    2 +-
7249  glib/dbus-gvalue.c            |  148 ++++++++++++++++++++-
7250  8 files changed, 695 insertions(+), 33 deletions(-)
7251
7252 commit eef27dfbd6dc73baa13c78220f98297881071368
7253 Author: Robert McQueen <robot101@debian.org>
7254 Date:   2006-01-27 16:40:53 +0000
7255
7256     2006-01-27 Robert McQueen <robot101@debian.org>
7257
7258         * glib/dbus-binding-tool-glib.[ch]: Patch based on Ricardo Kekki's
7259         patch to use an annotation org.freedesktop.DBus.GLib.ClientCSymbol
7260         when generating the client-side methods, instead of overloading
7261         CSymbol which broke everything horribly. My apologies.
7262
7263  glib/dbus-binding-tool-glib.c |   45
7264  +++++++++++++++++------------------------
7265  glib/dbus-binding-tool-glib.h |    1 +
7266  2 files changed, 19 insertions(+), 27 deletions(-)
7267
7268 commit 879e2b697e2a0fd439a38ea4d4422cd8c01fefb5
7269 Author: Robert McQueen <robot101@debian.org>
7270 Date:   2006-01-27 15:40:36 +0000
7271
7272     2006-01-27 Robert McQueen <robot101@debian.org>
7273
7274         * glib/dbus-gtype-specialized.[ch], glib/dbus-gvalue-utils.c:
7275         Patch
7276         by me and Rob Taylor to add a simple_free function to D-Bus map
7277         and collection types, which allows those types which can be freed
7278         with a GDestroyNotify (such as GHashTables and GArrays, but not
7279         GPtrArrays) to be stored as the values in hashtables.
7280
7281         * test/glib/test-dbus-glib.c, test/glib/test-service-glib.{c,xml}:
7282         Patch by Rob Taylor to add nested dicts to the glib tests to check
7283         the above code works, and appears not to leak when called
7284         repeatedly.
7285
7286  glib/dbus-gtype-specialized.c |   33 ++++++++++++++++++++++++++-
7287  glib/dbus-gtype-specialized.h |    4 +++-
7288  glib/dbus-gvalue-utils.c      |   50
7289  ++++++++++++++++++++++++++++++++++-------
7290  3 files changed, 77 insertions(+), 10 deletions(-)
7291
7292 commit f467138770f3b5b771e772e7f59780a502540cb6
7293 Author: Robert McQueen <robot101@debian.org>
7294 Date:   2006-01-27 15:15:16 +0000
7295
7296     2006-01-27 Robert McQueen <robot101@debian.org>
7297
7298         * glib/dbus-gvalue.c (demarshal_valuearray): Patch from Rob Taylor
7299         to free a D-Bus allocated string with dbus_free () instead of
7300         g_free ().
7301
7302  glib/dbus-gvalue.c |    2 +-
7303  1 file changed, 1 insertion(+), 1 deletion(-)
7304
7305 commit 0c87b127b878d41d8a134fd5dee5d41a2434ef41
7306 Author: Robert McQueen <robot101@debian.org>
7307 Date:   2006-01-27 15:06:54 +0000
7308
7309     2006-01-27 Iain Holmes <iain@openedhand.com>
7310
7311         * glib/dbus-gproxy.c (dbus_g_proxy_dispose): Protect the dispose
7312         method from being called multiple times.
7313
7314  glib/dbus-gproxy.c |    5 +++++
7315  1 file changed, 5 insertions(+)
7316
7317 commit 5ad59f0f48a27d35d58e86c2cf2aa8c7d025248b
7318 Author: Robert McQueen <robot101@debian.org>
7319 Date:   2006-01-19 02:54:07 +0000
7320
7321     2006-01-19 Robert McQueen <robot101@debian.org>
7322
7323         * glib/dbus-binding-tool-glib.c: Patch from Rob Taylor
7324         <rob.taylor@collabora.co.uk> to add support for generating
7325         bindings
7326         to arrays that are represented as GPtrArrays rather than GArrays
7327         (ie
7328         size-variable things, such as strings, objects, structs, etc).
7329
7330  glib/dbus-binding-tool-glib.c |   32 ++++++++++++++++++++++++++------
7331  1 file changed, 26 insertions(+), 6 deletions(-)
7332
7333 commit 0dffd5ab28874cc6453e8907f1f4cb95785748cb
7334 Author: Robert McQueen <robot101@debian.org>
7335 Date:   2006-01-05 20:22:06 +0000
7336
7337     2006-01-05 Robert McQueen <robot101@debian.org>
7338
7339         * dbus/dbus-glib.h, glib/dbus-gproxy.c: Patch from Ricardo Kekki
7340         <ricardo.kekki@movial.fi> to make it possible to inherit from
7341         DBusGProxy, by splitting the DBusGProxy struct into a public
7342         part and
7343         a private part, and moving the setting of the DBusGProxyManager
7344         into a
7345         connection property, allowing proper GObject construction.
7346
7347  glib/dbus-gproxy.c |  327
7348  +++++++++++++++++++++++++++++++---------------------
7349  1 file changed, 196 insertions(+), 131 deletions(-)
7350
7351 commit b356f998530ffe9762b4b0f5fd7f236eceb044db
7352 Author: Robert McQueen <robot101@debian.org>
7353 Date:   2006-01-05 20:03:38 +0000
7354
7355     2006-01-05 Robert McQueen <robot101@debian.org>
7356
7357         * glib/dbus-binding-tool-glib.c: Patch from Ricardo Kekki
7358         <ricardo.kekki@movial.fi> to make dbus-binding-tool heed C
7359         symbol name
7360         annotations when generating glib client bindings.
7361
7362  glib/dbus-binding-tool-glib.c |   42
7363  ++++++++++++++++++++++++++++++++++++-----
7364  1 file changed, 37 insertions(+), 5 deletions(-)
7365
7366 commit 8029bd07868baa11810b0b3ee56a8daefc0588da
7367 Author: John (J5) Palmieri <johnp@redhat.com>
7368 Date:   2005-11-30 19:32:25 +0000
7369
7370     * dbus/dbus-auth.c, dbus/dbus-connection.c, dbus/dbus-keyring.c,
7371     dbus/dbus-server-debug-pipe.c, glib/dbus-binding-tool-glib.c
7372     glib/dbus-glib-tool.c, glib/dbus-gparser.c, glib/dbus-gproxy.c
7373     test/test-segfault.c, test/test-utils.c, test/glib/test-dbus-glib.c,
7374     tools/dbus-cleanup-sockets.c tools/dbus-launch.c,
7375     tools/dbus-tree-view.c, tools/dbus-viewer.c: Various cleanup of
7376     dead code and compiler warnings (patch from Kjartan Maraas <kmaraas
7377     at gnome.org>)
7378
7379  glib/dbus-binding-tool-glib.c |    2 --
7380  glib/dbus-glib-tool.c         |    4 ----
7381  glib/dbus-gparser.c           |   11 ++---------
7382  glib/dbus-gproxy.c            |    2 --
7383  4 files changed, 2 insertions(+), 17 deletions(-)
7384
7385 commit c5753442aaccba39a3e0948aa77e523eb3fe866b
7386 Author: John (J5) Palmieri <johnp@redhat.com>
7387 Date:   2005-11-30 18:48:09 +0000
7388
7389     * glib/dbus-gmain.c (connection_setup_add_watch): plugged a leak
7390     (patch from Carlos Garnacho Parro <carlosg at gnome.org>
7391
7392  glib/dbus-gmain.c |    1 +
7393  1 file changed, 1 insertion(+)
7394
7395 commit 5d3c9bd0cd7e98df0be8351e3c210a38a978f52a
7396 Author: Robert McQueen <robot101@debian.org>
7397 Date:   2005-11-27 16:55:09 +0000
7398
7399     2005-11-27 Carlos Garcia Campos <carlosgc@gnome.org>
7400
7401         * glib/dbus-gobject.c: Append a GValue instead of a basic type in
7402         method return message for property getters
7403
7404  glib/dbus-gobject.c |   41 +++++++++++++++++++++++++++++++----------
7405  glib/dbus-gvalue.c  |    8 ++++----
7406  glib/dbus-gvalue.h  |    1 +
7407  3 files changed, 36 insertions(+), 14 deletions(-)
7408
7409 commit 9f2aae9a744e45c0646b36396e846031ec4ffe7f
7410 Author: John (J5) Palmieri <johnp@redhat.com>
7411 Date:   2005-11-22 20:37:00 +0000
7412
7413      * configure.in: Add test/name-test/Makefile to the generated
7414      Makefile list
7415
7416         * dbus/dbus-shared.h (#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT):
7417         New flag which replaces DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT
7418         (#define DBUS_NAME_FLAG_DO_NOT_QUEUE): New flag for specifying
7419         not to queue an ower if it can't be the primary owner
7420
7421         * bus/bus.h: Add new internal BusOwner struct
7422
7423         * bus/driver.c (bus_driver_handle_hello): Send flags (0 for
7424         default)
7425         to bus_registry_ensure and don't set the prohibit_replacement flag
7426         since they are now set per BusOwner and not per name.
7427         (bus_driver_handle_list_queued_owners): bus method
7428         (ListQueuedOwners)
7429         that returns the list of connections in a name's connection queue
7430
7431         * bus/services.c (struct BusService): remove prohibit_replacement
7432         field
7433         (struct BusOwner): new struct for keeping track of queued
7434         connections
7435         and their associated flags for the queue
7436         (struct BusRegistry): add a BusOwner memory pool
7437         (bus_registry_new): initialize the BusOwner memory pool
7438         (bus_registry_unref): free the BusOwner memory pool
7439         (_bus_service_find_owner_link): new internal method for
7440         searching the queue for a specific connection
7441         (bus_owner_set_flags): new method for adding setting the flags
7442         on a
7443         bus owner
7444         (bus_owner_new): new method that creates a BusOwner object
7445         from the
7446         pool and sets its flags
7447         (bus_owner_ref, bus_owner_unref): ref counting for BusOwner
7448         objects
7449         (bus_registry_ensure): Add the flags parameter
7450         (bus_registry_acquire_service): Switch from using raw connections
7451         to
7452         using the BusOwner struct
7453         Add new state machine for dealing with the new set of flags
7454         (bus_registry_set_service_context_table, struct
7455         OwnershipCancelData,
7456         cancel_ownership, free_ownership_cancel_data,
7457         add_cancel_ownership_to_transaction, struct OwnershipRestoreData,
7458         restore_ownership, free_ownership_restore_data,
7459         add_restore_ownership_to_transaction): Switch to using BusOwner
7460         instead of raw connections
7461         (bus_service_add_owner): Add flags parameter
7462         Switch to using BusOwner instead of raw connections
7463         Add state machine for dealing with the new set of flags
7464         (bus_service_swap_owner): Swaps the first and second owners in the
7465         queue.  Used to make sure proper signals are sent when a service
7466         looses
7467         or gains primary ownership.  We never insert an owner at the
7468         top of the
7469         queue.  Instead we insert it in the second position and then swap.
7470         (bus_service_remove_owner): Remove the owner from the queue
7471         sending
7472         out the NameLost and NameOwnerChanged signals if the we were the
7473         primary owner
7474         (bus_service_get_primary_owners_connection): New method that
7475         extracts
7476         the connection from the primary owner
7477         (bus_service_get_primary_owner): Returns the BusOwner instead
7478         of the
7479         connection
7480         (bus_service_get_allow_replacement): Changed from the old
7481         bus_service_get_prohibit_replacement method.  Checks the flags
7482         of the
7483         primary owner and returns if it can be replaced or not
7484         (bus_service_set_prohibit_replacement): removed
7485         (bus_service_has_owner): returns TRUE if and owner with
7486         the specified connection exists in the queue
7487
7488         * dbus/dbus-bus.c (dbus_bus_connection_get_unique_name):
7489         New helper
7490         method that only compiles if tests are enabled.  Allows us to
7491         get the
7492         unique name of a connection so we can check it against the
7493         queue when
7494         doing regression tests
7495
7496         * bus/activation.c (bus_activation_send_pending_auto_activate),
7497         bus/dispatch.c (bus_dispatch),
7498         bus/driver.c (bus_driver_handle_get_service_owner,
7499         bus_driver_handle_get_connection_unix_user,
7500         bus_driver_handle_get_connection_unix_process_id,
7501         bus_driver_handle_get_connection_selinux_security_context),
7502         bus/signals.c (connection_is_primary_owner):
7503         use bus_service_get_primary_owners_connection instead of
7504         bus_service_get_primary_owner
7505
7506         * dbus/dbus-sysdeps.c (_dbus_connect_unix_socket,
7507         _dbus_listen_unix_socket): Calculate the length of the socket
7508         path and use that instead of using a fixed length which was
7509         causing socket names to contain many trailing Nul bytes.
7510
7511         * dbus/dbus-glib-lowlevel.h, glib/dbus-gobject.c
7512         (dbus_g_method_get_sender): New method for extracting the sender
7513         from a DBusGMethodInvocation
7514         (dbus_g_method_return_get_reply): changed name to
7515         dbus_g_method_get_reply
7516         (dbus_g_method_return_send_reply): changed name to
7517         dbus_g_method_send reply
7518
7519         * doc/dbus-specification.xml: New docs that describe how the new
7520         queueing system works and talks about the changes to the how
7521         we specify socket names
7522
7523         * glib/examples/example-service.c,
7524         glib/examples/example-signal-emitter.c,
7525         glib/examples/statemachine/statemachine-server.c:
7526         Changed the RequestName flags to the new system
7527
7528         * test/name-test/ (test-names.c, run-test.sh, Makefile.am): New
7529         regression test suite for testing various states of the new
7530         queueing system
7531
7532  glib/dbus-gobject.c                              |   28
7533  +++++++++++++++++++---
7534  glib/examples/example-service.c                  |    2 +-
7535  glib/examples/example-signal-emitter.c           |    2 +-
7536  glib/examples/statemachine/statemachine-server.c |    2 +-
7537  4 files changed, 28 insertions(+), 6 deletions(-)
7538
7539 commit 57b6ef4e8648c0c7f9b059690c4a35e73932669f
7540 Author: Robert McQueen <robot101@debian.org>
7541 Date:   2005-11-15 19:34:32 +0000
7542
7543     2005-11-15 Robert McQueen <robot101@debian.org>
7544
7545         * dbus/dbus-glib-lowlevel.h, glib/dbus-gobject.c: Patch from Rob
7546         Taylor to add two methods, dbus_g_method_return_get_reply and
7547         dbus_g_method_return_send_reply, to allow you to get the reply
7548         message from a DBusGMethodInvocation, append arbitrary stuff
7549         to it,
7550         and send it. The GLib bindings can't marshal a return value of
7551         something like a(s) if the array is empty - ultimately they
7552         should be
7553         made to heed the signature of the out arguments as the Python
7554         bindings
7555         now can, but this is a workable interim solution which might have
7556         other applications.
7557
7558  glib/dbus-gobject.c |   34 ++++++++++++++++++++++++++++++++++
7559  1 file changed, 34 insertions(+)
7560
7561 commit cf87837198ac181b16965dcc8fb3f65bc2efa8bd
7562 Author: Robert McQueen <robot101@debian.org>
7563 Date:   2005-10-29 17:02:58 +0000
7564
7565     2005-10-29 Robert McQueen <robot101@debian.org>
7566
7567             * glib/Makefile.am, glib/examples/Makefile.am,
7568             glib/examples/statemachine/Makefile.am: Merge patch from
7569             Ubuntu by
7570             Daniel Stone to replace explicit calls to libtool with
7571             $(LIBTOOL).
7572
7573             * test/python/.cvsignore: Add run-with-tmp-session-bus.conf.
7574
7575             * tools/dbus-monitor.1, tools/dbus-monitor.c: Merge
7576             dbus-monitor patch
7577             from Ubuntu by Daniel Silverstone to allow specifying match
7578             rules on
7579             the command line.
7580
7581  glib/Makefile.am                       |    2 +-
7582  glib/examples/Makefile.am              |    4 ++--
7583  glib/examples/statemachine/Makefile.am |    4 ++--
7584  3 files changed, 5 insertions(+), 5 deletions(-)
7585
7586 commit 3a8319b792df4ce260f8cf1e0f95fadd76942d75
7587 Author: Ross Burton <ross@openedhand.com>
7588 Date:   2005-10-27 16:35:43 +0000
7589
7590     Cleanups
7591
7592  glib/dbus-gobject.c |    1 +
7593  1 file changed, 1 insertion(+)
7594
7595 commit 29f0ea31b256784b4e75cdedcb822f30fe804dd3
7596 Author: Ross Burton <ross@openedhand.com>
7597 Date:   2005-10-25 15:57:13 +0000
7598
7599     Add const keywords
7600
7601  glib/dbus-gmain.c   |    2 +-
7602  glib/dbus-gobject.c |    2 +-
7603  2 files changed, 2 insertions(+), 2 deletions(-)
7604
7605 commit f4b2bdf28c5e589d9161e27bf89e636c8226169f
7606 Author: Ross Burton <ross@openedhand.com>
7607 Date:   2005-10-25 08:54:57 +0000
7608
7609     Add a NoReply annotation
7610
7611  glib/dbus-binding-tool-glib.c |   53
7612  ++++++++++++++++++++++++++++-------------
7613  glib/dbus-binding-tool-glib.h |    3 ++-
7614  2 files changed, 39 insertions(+), 17 deletions(-)
7615
7616 commit adc1cd1de84b057cc858b1226522d2fde96871a0
7617 Author: John (J5) Palmieri <johnp@redhat.com>
7618 Date:   2005-10-18 04:38:04 +0000
7619
7620     * glib/dbus-gvalue-utils.c (hash_free_from_gtype): handle gdouble
7621
7622     and G_TYPE_VALUE_ARRAY (DBUS_TYPE_STRUCT)
7623     (gvalue_from_hash_value, hash_value_from_gvalue): handle gdouble
7624
7625     * glib/dbus-gvalue.c (dbus_gvalue_to_signature): add missing
7626     DBUS_STRUCT_BEGIN_CHAR and DBUS_STRUCT_END_CHAR charaters
7627     when constructing struct signatures
7628
7629     * python/_dbus.py (Bus): handle private connections using the
7630     private keyword in the constructor. defaults to private=False
7631     (Bus::close): new method to close a connection to the bus
7632
7633     * python/dbus_bindings.pyx (Connection::close): renamed method
7634     was previously called disconnect
7635     (bus_get): now supports getting a private connection
7636
7637     * python/proxies.py (ProxyMethod::__call__): check if ignore_reply
7638     keyword is set to True.  if it is, execute the method without waiting
7639     for a reply
7640     (ProxyObject::_introspect_execute_queue): new method for executing
7641     all the pending methods that were waiting for the introspect to
7642     finish.  this is called when introspect either succeeds or fails
7643     (ProxyObject::_introspect_error_handler): call queued methods
7644
7645  glib/dbus-gvalue-utils.c |   17 +++++++++++++++++
7646  glib/dbus-gvalue.c       |    4 +++-
7647  2 files changed, 20 insertions(+), 1 deletion(-)
7648
7649 commit 8c16af02c159982b451289945835a86ff56805c2
7650 Author: John (J5) Palmieri <johnp@redhat.com>
7651 Date:   2005-10-05 20:43:46 +0000
7652
7653     * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal
7654     instead of marshal basic so we can handle recursive types in a variant
7655
7656     * test/glib/test-dbus-glib.c: Add test for marshaling recurive types
7657       in variants
7658
7659     * test/glib/test-service-glib.c, test-service-glib.xml
7660       (my_object_echo_variant [EchoVariant],
7661       my_object_process_variant_of_array_of_ints123
7662       [ProcessVariantOfArrayOfInts123]):
7663       Add two test methods
7664
7665     * python/introspect_parser.py: New module for parsing introspect
7666       data.
7667
7668     * python/dbus_bindings.pyx:
7669       (various places): when throwing errors fix to use errormsg instead
7670       of message local variable because Pyrex can get confused with other
7671       message variables (initial patch by Robert McQueen
7672       <robert.mcqueen at collabora.co.uk>)
7673       (MessageIter::parse_signature_block): new method for getting
7674       the next
7675       block in a signiture.
7676       (MessageIter::append_strict): new method for appending values
7677       strictly
7678       using the passed in signature instead of guessing at the type
7679       (MessageItter:: append_dict, append_struct, append_array): use
7680       signatures to marshal children if the signature is available
7681
7682     * python/exceptions.py (IntrospectionParserException): new exception
7683
7684     * python/proxies.py (ProxyMethod::__call__): Marshal args with
7685       introspected signatures if available, else we fall back to the
7686       old way of doing things.
7687       (ProxyObject::_introspect_reply_handler ): parse introspection data
7688
7689     * python/service.py (ObjectType::_reflect_on_method): Properly
7690       terminate <method> if there are no args in the reflection data
7691
7692     * test/python/test-client.py: add tests for talking with the GLib
7693       test server.  This gives us better coverage for introspection since
7694       python to python will always generate arguments as variants.
7695       It also
7696       allows us to test the robustness of the GLib bindings and
7697       interlanguage
7698       communications.
7699
7700  glib/dbus-gvalue.c |    2 +-
7701  1 file changed, 1 insertion(+), 1 deletion(-)
7702
7703 commit b489f57506320ba3e29088dc612e27112c6a1854
7704 Author: John (J5) Palmieri <johnp@redhat.com>
7705 Date:   2005-09-26 22:26:38 +0000
7706
7707     * glib/dbus-glib-tool.c: removed extra comma at the end of the
7708     DBusBindingOutputMode enum which was causing a warning. #include
7709     <time.h> so using time_t is explicitly defined
7710
7711  glib/dbus-glib-tool.c |    3 ++-
7712  1 file changed, 2 insertions(+), 1 deletion(-)
7713
7714 commit a32ca0058020e7e23d72d9ad69fe881ba8b98e93
7715 Author: John (J5) Palmieri <johnp@redhat.com>
7716 Date:   2005-09-06 22:38:54 +0000
7717
7718     * Released 0.50
7719
7720     * Patch from Steve Grubb:
7721     - bus/activation.c (bus_activation_service_reload_test): clean up
7722     some indentation
7723     - dbus/dbus-keyring.c (_dbus_keyring_reload): fix conditional
7724     - dbus/dbus-message-factory.c (generate_special): fix a couple of
7725     buffer overflows in the test suite.  This is non critical because
7726     it can not be exploited and this code is only run when doing a
7727     make check.
7728
7729     * Patch from Yaakov Selkowitz: Build fixes for Cygwin
7730     - configure.in: Don't check and link against kdecore, only qt headers
7731     - dbus/Makefile.am: Add -no-undefined to libdbus_1_la_LDFLAGS
7732     - gcj/org/freedesktop/dbus/Makefile.am:
7733     add libdbus_gcj_1_la_LDFLAGS = -no-undefined
7734     - glib/Makefile.am: Add -no-undefined to libdbus_glib_1_la_LDFLAGS
7735     and $(DBUS_GLIB_LIBS) to dbus_binding_tool_LDADD
7736     - qt/Makefile.am: Add -no-undefined to libdbus_qt_1_la_LDFLAGS
7737     - tools/Makefile.am: Add platform extentions to binaries
7738     (i.e. .exe on windows)
7739
7740     * configure.in:
7741     - Make it so if no suitable version of python is found we only
7742     disable building python instead of exiting the configure script
7743     - Require version 2.4 of glib for glib bindings
7744     - Up version to 0.50
7745
7746     * python/__init__.py: Sync version with libdbus to (0,50,0)
7747
7748  glib/Makefile.am |    6 +++---
7749  1 file changed, 3 insertions(+), 3 deletions(-)
7750
7751 commit 23fb630c1e907187c8d7aa5539b30a34e7cc9632
7752 Author: Colin Walters <walters@verbum.org>
7753 Date:   2005-08-26 02:00:37 +0000
7754
7755     2005-08-25 Colin Walters <walters@verbum.org>
7756
7757         * glib/dbus-gproxy.c (dbus_g_proxy_call): Doc update, thanks
7758         to Ryan Lortie for the suggestion.
7759
7760  glib/dbus-gproxy.c |    3 ++-
7761  1 file changed, 2 insertions(+), 1 deletion(-)
7762
7763 commit 8e13d06500c5b4df219891fc4b5b8242cb9f5cae
7764 Author: Ross Burton <ross@openedhand.com>
7765 Date:   2005-08-17 17:30:45 +0000
7766
7767     Unref message and protect against NULL
7768
7769  glib/dbus-gproxy.c |    5 ++++-
7770  1 file changed, 4 insertions(+), 1 deletion(-)
7771
7772 commit 03dc49be2e41245f107e71194ebef428d4d4ccf7
7773 Author: Colin Walters <walters@verbum.org>
7774 Date:   2005-08-16 21:26:12 +0000
7775
7776     2005-08-16 Colin Walters <walters@verbum.org>
7777
7778         * glib/dbus-gobject.c (dbus_set_g_error): Don't lose if the
7779         DBusError message is NULL.
7780
7781  glib/dbus-gobject.c |    2 +-
7782  1 file changed, 1 insertion(+), 1 deletion(-)
7783
7784 commit 20ab99c264aa730de304f637a7e4eacec3e1686d
7785 Author: Colin Walters <walters@verbum.org>
7786 Date:   2005-08-04 15:49:30 +0000
7787
7788     2005-08-04 Colin Walters <walters@verbum.org>
7789
7790         * glib/dbus-gvalue-utils.h
7791         (_dbus_g_type_specialized_builtins_init)
7792         (dbus_g_type_is_fixed, dbus_g_type_fixed_get_size)
7793         (dbus_gvalue_set_from_pointer, dbus_g_hash_table_value_foreach)
7794         (dbus_g_hash_table_insert_values,
7795         dbus_g_hash_table_insert_steal_values)
7796         (dbus_gtype_is_valid_hash_key, dbus_gtype_is_valid_hash_value)
7797         (dbus_g_hash_func_from_gtype, dbus_g_hash_free_from_gtype)
7798         (dbus_g_hash_equal_from_gtype, dbus_gvalue_stor,
7799         dbus_gvalue_take):
7800         * glib/dbus-gvalue.h (dbus_g_value_types_init)
7801         (dbus_gvalue_demarshal, dbus_gvalue_demarshal_variant)
7802         (dbus_gvalue_demarshal_message, dbus_gvalue_marshal):
7803
7804         Prefix name with _ to ensure they're not exported.  All callers
7805         updated.
7806
7807         * glib/dbus-gvalue.c (typecode_to_gtype)
7808         (dbus_typecode_maps_to_basic, basic_typecode_to_gtype)
7809         (signature_iter_to_g_type_dict)
7810         (signature_iter_to_g_type_array)
7811         (dbus_gtype_from_signature_iter, dbus_gtype_from_signature)
7812         (dbus_gtypes_from_arg_signature):
7813         Move to dbus-gsignature.c.
7814
7815         * glib/dbus-binding-tool-glib.c
7816         (dbus_binding_tool_output_glib_server): Call
7817         dbus_g_type_specialized_builtins_init instead of
7818         dbus_g_value_types_init.
7819         (dbus_binding_tool_output_glib_client): Ditto.
7820
7821         * glib/Makefile.am (DBUS_GLIB_INTERNALS): Add dbus-gsignature.c
7822         and dbus-gsignature.h
7823
7824         * test/glib/test-service-glib.c (my_object_rec_arrays): Delete
7825         unused variable.
7826
7827  glib/Makefile.am              |    5 +-
7828  glib/dbus-binding-tool-glib.c |   36 ++++---
7829  glib/dbus-gmain.c             |   23 ++--
7830  glib/dbus-gobject.c           |   35 +++---
7831  glib/dbus-gproxy.c            |   13 +--
7832  glib/dbus-gsignature.c        |  189 ++++++++++++++++++++++++++++++++
7833  glib/dbus-gsignature.h        |   19 ++++
7834  glib/dbus-gvalue-utils.c      |   46 ++++----
7835  glib/dbus-gvalue-utils.h      |   28 ++---
7836  glib/dbus-gvalue.c            |  237
7837  +++++++----------------------------------
7838  glib/dbus-gvalue.h            |   21 ++--
7839  11 files changed, 350 insertions(+), 302 deletions(-)
7840
7841 commit f19bb3b8b599f006e51a1ff81447ac6470c249fc
7842 Author: Colin Walters <walters@verbum.org>
7843 Date:   2005-08-03 23:21:49 +0000
7844
7845     2005-08-03 Colin Walters <walters@verbum.org>
7846
7847         * glib/dbus-gobject.c: Add tests on hardcoded object info;
7848         this should
7849         catch any incompatible changes accidentally made.
7850
7851  glib/dbus-gobject.c |  150
7852  +++++++++++++++++++++++++++++++++++++++++++++++++++
7853  1 file changed, 150 insertions(+)
7854
7855 commit f902eead6b209181f7a26b4cb1a967661ac86117
7856 Author: Colin Walters <walters@verbum.org>
7857 Date:   2005-08-01 16:12:53 +0000
7858
7859     2005-08-01 Colin Walters <walters@verbum.org>
7860
7861         Patch from Joe Markus Clarke:
7862
7863         * glib/dbus-gidl.c (property_info_unref, arg_info_unref): Fix
7864         use-after-free.
7865
7866  glib/dbus-gidl.c |    4 ++--
7867  1 file changed, 2 insertions(+), 2 deletions(-)
7868
7869 commit db1be2d67b4239496940080f44c7e05eed42a610
7870 Author: Colin Walters <walters@verbum.org>
7871 Date:   2005-08-01 16:07:19 +0000
7872
7873     2005-08-01 Colin Walters <walters@verbum.org>
7874
7875         Patch from Joe Markus Clarke:
7876
7877         * glib/dbus-gvalue.c (dbus_g_value_types_init):
7878         * glib/dbus-gvalue-utils.c (dbus_g_type_specialized_builtins_init)
7879         * glib/dbus-gobject.c (write_interface):
7880
7881         Don't use C99 style initializers (bug #3933).
7882
7883  glib/dbus-gobject.c      |    2 +-
7884  glib/dbus-gvalue-utils.c |    7 +++----
7885  glib/dbus-gvalue.c       |    8 ++++----
7886  3 files changed, 8 insertions(+), 9 deletions(-)
7887
7888 commit 04045b587a62e4b5cafbad0b81e18761c28a41e5
7889 Author: Havoc Pennington <hp@redhat.com>
7890 Date:   2005-07-31 02:09:15 +0000
7891
7892     2005-07-30 Havoc Pennington <hp@redhat.com>
7893
7894         * fix a bunch of Doxygen warnings and mistakes
7895
7896  glib/dbus-glib.c    |    4 ++--
7897  glib/dbus-gobject.c |    2 +-
7898  glib/dbus-gproxy.c  |    4 ++--
7899  3 files changed, 5 insertions(+), 5 deletions(-)
7900
7901 commit f91e8613d913ee943afa5bbb6cdafb2ce062c6ef
7902 Author: Ross Burton <ross@openedhand.com>
7903 Date:   2005-07-25 19:16:22 +0000
7904
7905     Remove matchers when all proxies are removed
7906
7907  glib/dbus-gproxy.c |    6 ++++++
7908  1 file changed, 6 insertions(+)
7909
7910 commit 2c755e157a9b41451efd5fd88e74c37501e21127
7911 Author: Colin Walters <walters@verbum.org>
7912 Date:   2005-07-24 18:04:23 +0000
7913
7914     2005-07-24 Colin Walters <walters@verbum.org>
7915
7916         * glib/dbus-gvalue.c (signature_iter_to_g_type_array): Don't
7917         require
7918         typedata; recursive arrays won't have it.
7919
7920         * test/glib/test-dbus-glib.c:
7921         * test/glib/test-service-glib.c:
7922         * test/glib/test-service-glib.xml: Add recursive arrays tests.
7923
7924  glib/dbus-gvalue.c |    5 -----
7925  1 file changed, 5 deletions(-)
7926
7927 commit 6bf40ec5a63f7703070f951130d8e78cb044ec66
7928 Author: John (J5) Palmieri <johnp@redhat.com>
7929 Date:   2005-07-15 20:28:05 +0000
7930
7931     * glib/Makefile.am: Add make-dbus-glib-error-switch.sh to EXTRA_DIST
7932     so distcheck doesn't fail
7933
7934     * glib/examples/Makefile.am: Add example-service.xml and
7935       example-signal-emitter.xml to EXTRA_DIST so distcheck doesn't fail
7936
7937     * glib/examples/statemachine/Makefile.am: Add statemachine.xml and
7938       statemachine-server.xml to EXTRA_DIST so distcheck doesn't fail
7939
7940     * python/Makefile.am: Preprend $(srcdir)/ to source files so the
7941       compiler looks in the right places during distcheck
7942
7943  glib/Makefile.am                       |    2 +-
7944  glib/examples/Makefile.am              |    2 ++
7945  glib/examples/statemachine/Makefile.am |    2 +-
7946  3 files changed, 4 insertions(+), 2 deletions(-)
7947
7948 commit a447f257bd0b557b661be74f2d63ba0d31366a46
7949 Author: John (J5) Palmieri <johnp@redhat.com>
7950 Date:   2005-07-15 19:15:05 +0000
7951
7952     * glib/example/Makefile.am: Fix a typo which cause make distcheck
7953     to fail
7954
7955  glib/examples/Makefile.am |    2 +-
7956  1 file changed, 1 insertion(+), 1 deletion(-)
7957
7958 commit ce277d89860aaf05064d11eb24878cbf41326ff2
7959 Author: Ross Burton <ross@openedhand.com>
7960 Date:   2005-07-15 13:25:48 +0000
7961
7962     Don't leak messages when calling methods
7963
7964  glib/dbus-gproxy.c |    1 +
7965  1 file changed, 1 insertion(+)
7966
7967 commit 877add82e329e1de4ab7b4d99084362e250fa34c
7968 Author: Colin Walters <walters@verbum.org>
7969 Date:   2005-07-12 17:57:04 +0000
7970
7971     2005-07-12 Colin Walters <walters@verbum.org>
7972
7973         * glib/examples/statemachine/Makefile.am
7974         (statemachine-server-glue.h)
7975         (statemachine-glue.h):
7976         * glib/examples/Makefile.am (example-service-glue.h)
7977         (example-signal-emitter-glue.h):
7978         * glib/Makefile.am (dbus-glib-error-switch.h):
7979         Add libtool --mode=execute so we use the built library instead
7980         of any installed one.
7981
7982  glib/Makefile.am                       |    2 +-
7983  glib/examples/Makefile.am              |    4 ++--
7984  glib/examples/statemachine/Makefile.am |    4 ++--
7985  3 files changed, 5 insertions(+), 5 deletions(-)
7986
7987 commit 31ca9e74c599c17f802698ad8184f9ae654983c5
7988 Author: Colin Walters <walters@verbum.org>
7989 Date:   2005-07-11 16:12:49 +0000
7990
7991     2005-07-11 Colin Walters <walters@verbum.org>
7992
7993         * glib/dbus-gvalue.c (struct _DBusGValue): Delete.
7994         (dbus_g_value_types_init): Remove assertion.
7995         (dbus_g_value_get_g_type, dbus_g_value_open)
7996         (dbus_g_value_iterator_get_values, dbus_g_value_get_signature)
7997         (dbus_g_value_copy, dbus_g_value_free): Delete unimplemented
7998         functions related to DBusGValue.  Now we marshal/demarshal
7999         structures as GValueArray.
8000         (dbus_gtype_from_signature_iter): Return G_TYPE_VALUE_ARRAY for
8001         structures.
8002         (signature_iter_to_g_type_array): Don't call
8003         signature_iter_to_g_type_struct.
8004         (signature_iter_to_g_type_struct): Delete.
8005         (dbus_gvalue_to_signature): Delete.
8006         (dbus_gvalue_to_signature): New function with same name as other
8007         one; we can convert structures to signatures.
8008         (demarshal_valuearray): New function.
8009         (get_type_demarshaller): Use it.
8010         (demarshal_recurse): Delete.
8011         (marshal_proxy): New function.
8012         (marshal_map): Warn if we can't determine signature from type.
8013         (marshal_collection_ptrarray): Ditto.
8014         (marshal_collection_array): Ditto.
8015         (get_type_marshaller): Use marshal_valuearray.
8016         (marshal_recurse): Delete.
8017         (_dbus_gvalue_test): Add some tests.
8018
8019         * dbus/dbus-glib.h (struct _DBusGValueIterator):
8020         (dbus_g_value_get_g_type, DBUS_TYPE_G_VALUE)
8021         (dbus_g_value_open, dbus_g_value_iterator_get_value)
8022         (dbus_g_value_iterator_get_values, dbus_g_value_iterator_recurse)
8023         (dbus_g_value_free): Remove prototypes.
8024
8025         * glib/dbus-binding-tool-glib.c (dbus_g_type_get_lookup_function):
8026         Handle
8027         G_TYPE_VALUE_ARRAY.
8028
8029         * glib/examples/example-service.c:
8030         * glib/examples/example-client.c: Implement GetTuple.
8031
8032         * test/glib/test-dbus-glib.c:
8033         * test/glib/test-service-glib.c:
8034         * test/glib/test-service-glib.xml: Add structure tests.
8035
8036  glib/dbus-binding-tool-glib.c   |    1 +
8037  glib/dbus-gvalue.c              |  358
8038  ++++++++++++++++++---------------------
8039  glib/examples/example-client.c  |   32 +++-
8040  glib/examples/example-service.c |   21 ++-
8041  4 files changed, 209 insertions(+), 203 deletions(-)
8042
8043 commit 5c39fa43d8eb87284abe7d009349523ad5398db0
8044 Author: Colin Walters <walters@verbum.org>
8045 Date:   2005-07-10 22:54:18 +0000
8046
8047     2005-07-10 Colin Walters <walters@verbum.org>
8048
8049         * doc/TODO: Knock off some GLib items with this patch.
8050
8051         * glib/dbus-gvalue-utils.c (_dbus_gtype_can_signal_error)
8052         (_dbus_gvalue_signals_error): New functions.
8053
8054         * glib/dbus-gvalue-utils.h: Prototype them.
8055
8056         * glib/dbus-gobject.c (arg_iterate): Update to handle return vals
8057         and change to not output const/retval flags for input args.  All
8058         callers updated.
8059         (invoke_object_method): Refactor to handle return values.  Add
8060         some more comments in various places.  Remove debug g_print.
8061
8062         * glib/dbus-binding-tool-glib.h (DBUS_GLIB_ANNOTATION_RETURNVAL):
8063         New.
8064
8065         * glib/dbus-binding-tool-glib.c (dbus_g_type_get_marshal_name):
8066         Handle G_TYPE_NONE.
8067         (compute_gsignature): New function; refactored from code from
8068         compute_marshaller and compute_marshaller_name.  Enhance to
8069         handle return values and async ops more cleanly.  Update for
8070         async ops returning NONE instead of BOOLEAN.
8071         (compute_marshaller, compute_marshaller_name): Call
8072         compute_gsignature
8073         and output appropriate string.
8074         (generate_glue): Handle return value annotation.  Also don't dump
8075         constness flag for input arguments.
8076
8077         * glib/Makefile.am (DBUS_GLIB_INTERNALS): New variable; contains
8078         files shared between installed library and utilities.
8079         (libdbus_glib_1_la_SOURCES): Move some stuf into
8080         DBUS_GLIB_INTERNALS.
8081         (libdbus_gtool_la_SOURCES): Suck in DBUS_GLIB_INTERNALS so the
8082         binding tool can access gtype utility functions.
8083
8084         * test/glib/test-service-glib.c:
8085         * test/glib/test-service-glib.xml:
8086         * test/glib/test-dbus-glib.c: Add some tests for return values.
8087
8088  glib/Makefile.am                      |   19 +-
8089  glib/dbus-binding-tool-glib.c         |  324
8090  ++++++++++++++++++++++-----------
8091  glib/dbus-binding-tool-glib.h         |    1 +
8092  glib/dbus-gobject.c                   |  242 ++++++++++++++++++------
8093  glib/dbus-gvalue-utils.c              |   54 ++++++
8094  glib/dbus-gvalue-utils.h              |    4 +
8095  glib/examples/statemachine/.cvsignore |    1 +
8096  7 files changed, 479 insertions(+), 166 deletions(-)
8097
8098 commit 00de44640de45aa6068ca9d1b42deb801b430320
8099 Author: Colin Walters <walters@verbum.org>
8100 Date:   2005-07-09 18:54:45 +0000
8101
8102     2005-07-09 Colin Walters <walters@verbum.org>
8103
8104         * glib/dbus-gparser.c (parse_annotation): Add annotations to
8105         argument if available, not method.
8106
8107         * glib/dbus-gobject.c (arg_iterate): More verbose warnings.
8108         (invoke_object_method): First, remove some redundant
8109         GValues (object_value, error_value) in favor of working on
8110         array directly.  Second, rework constness to be less buggy.
8111         Now we iterate directly over the argument metadata instead
8112         of parallel iterating over output signature and metadata.
8113
8114         * glib/dbus-glib-tool.h: Add INVALID_ANNOTATION error.
8115
8116         * glib/dbus-binding-tool-glib.c (generate_glue): Barf on const
8117         annotation on input args.
8118
8119  glib/dbus-binding-tool-glib.c |   17 +++++++++++--
8120  glib/dbus-glib-tool.h         |    3 ++-
8121  glib/dbus-gobject.c           |   54
8122  ++++++++++++++++++++++++-----------------
8123  glib/dbus-gparser.c           |    7 +++---
8124  4 files changed, 52 insertions(+), 29 deletions(-)
8125
8126 commit 91dc6d18c4ccc69fef3c12e6f628f7458c1d4511
8127 Author: Colin Walters <walters@verbum.org>
8128 Date:   2005-07-09 17:52:51 +0000
8129
8130     2005-07-09 Colin Walters <walters@verbum.org>
8131
8132         * glib/dbus-binding-tool-glib.h (DBUS_GLIB_ANNOTATION_CONST):
8133         Define.
8134
8135         * glib/dbus-binding-tool-glib.c (generate_glue): Handle Const
8136         annotation.
8137
8138         * glib/dbus-gobject.c (arg_iterate): Update to parse constval too.
8139         (method_dir_signature_from_object_info): Handle arg_iterate
8140         change.
8141         (write_interface): Ditto.
8142         (lookup_object_info): Don't barf if format_version is > 0.
8143         (invoke_object_method): Handle arg constness.
8144
8145         * glib/dbus-gidl.c (struct ArgInfo): Add annotations.
8146         (arg_info_new): Create.
8147         (arg_info_unref): Destroy.
8148         (arg_info_get_annotations, arg_info_get_annotation)
8149         (arg_info_add_annotation): New functions.
8150
8151         * glib/dbus-gidl.h: Prototype them.
8152
8153         * glib/dbus-gparser.c (parse_annotation): Allow annotations in
8154         args, disallow them in properties.
8155         (parse_annotation): Handle arg annotations.
8156
8157         * test/glib/test-service-glib.xml:
8158         * test/glib/test-service-glib.c: Update to make some methods
8159         const.
8160
8161  glib/dbus-binding-tool-glib.c |    6 ++++++
8162  glib/dbus-binding-tool-glib.h |    1 +
8163  glib/dbus-gidl.c              |   30 ++++++++++++++++++++++++++
8164  glib/dbus-gidl.h              |    7 ++++++
8165  glib/dbus-gobject.c           |   48
8166  +++++++++++++++++++++++++++++++++++------
8167  glib/dbus-gparser.c           |    5 ++++-
8168  6 files changed, 89 insertions(+), 8 deletions(-)
8169
8170 commit 52438e8f3f67fa96ffd9607bad34968875d90226
8171 Author: Colin Walters <walters@verbum.org>
8172 Date:   2005-07-09 01:46:51 +0000
8173
8174     2005-07-08 Colin Walters <walters@verbum.org>
8175
8176         * test/glib/test-service-glib.xml:
8177         * test/glib/test-service-glib.c:
8178         * test/glib/test-dbus-glib.c: Test a{sv}.
8179
8180         * glib/examples/statemachine/statemachine.c:
8181         * glib/examples/statemachine/statemachine-server.c:
8182         * glib/examples/statemachine/statemachine-client.c: Fix some bugs,
8183         add progress bar, etc.
8184
8185         * glib/dbus-gvalue.c (register_array, register_dict): Delete; not
8186         needed anymore due to generic array/map marshalling.
8187         (dbus_g_value_types_init): Don't register basic arrays or the
8188         string/string hash.
8189         (dbus_gtype_from_signature_iter): Don't try to recurse into
8190         variants.
8191         (dbus_gtype_to_signature): Check collection/map before type
8192         metadata.
8193         (demarshal_garray_basic): Renamed to demarshal_collection_array.
8194         (demarshal_ghashtable): Renamed to demarshal_map; fix to use new
8195         generic map creation/append functions instead of hash table
8196         specifically.
8197         (get_type_demarshaller): Handle maps.
8198         (demarshal_collection): Dispatch on collection type to either
8199         demarshal_collection_ptrarray or demarshal_collection_array.
8200         (get_type_marshaller): Handle maps.
8201         (marshal_collection): Dispatch collection type to either
8202         marshal_collection_ptrarray or marshal_collection_array.
8203         (_dbus_gvalue_test): New test.
8204
8205         * glib/dbus-gvalue-utils.c (unset_and_free_g_value): New function.
8206         (hash_free_from_gtype): Use it to free GValues.
8207         (hashtable_append): New function.
8208         (ptrarray_append): Fix prototype.
8209         (slist_append): Ditto.
8210         (_dbus_gvalue_utils_test): Extend tests.
8211
8212         * glib/dbus-gtype-specialized.c
8213         (dbus_g_type_specialized_init_append): Renamed from
8214         dbus_g_type_specialized_collection_init_append.  Remove const from
8215         value, since we steal it.
8216         (dbus_g_type_specialized_map_append): New function.
8217
8218         * glib/dbus-gtype-specialized.h: Update prototypes.
8219         Add DBusGTypeSpecializedMapAppendFunc.
8220
8221         * glib/dbus-gtest.c (dbus_glib_internal_do_not_use_run_tests): Run
8222         _dbus_gvalue_test.
8223
8224         * glib/dbus-gtest.h: Prototype it.
8225
8226  glib/dbus-gtest.c                                |    4 +
8227  glib/dbus-gtest.h                                |    1 +
8228  glib/dbus-gtype-specialized.c                    |   13 +-
8229  glib/dbus-gtype-specialized.h                    |   15 +-
8230  glib/dbus-gvalue-utils.c                         |  116 ++++++-
8231  glib/dbus-gvalue.c                               |  402
8232  +++++++++++-----------
8233  glib/examples/statemachine/statemachine-client.c |  192 +++++++++--
8234  glib/examples/statemachine/statemachine-server.c |   27 ++
8235  glib/examples/statemachine/statemachine.c        |   44 +--
8236  9 files changed, 555 insertions(+), 259 deletions(-)
8237
8238 commit 6758d07f4dd3bee533488381c8cf236d9d99a5f0
8239 Author: Ross Burton <ross@openedhand.com>
8240 Date:   2005-07-08 17:02:42 +0000
8241
8242     Make async bindings work again
8243
8244  glib/dbus-binding-tool-glib.c |   31 +++++++++++++------------------
8245  1 file changed, 13 insertions(+), 18 deletions(-)
8246
8247 commit 8068477b92f2ee5ca19623e033e335d4b16d8de5
8248 Author: Colin Walters <walters@verbum.org>
8249 Date:   2005-07-08 16:25:28 +0000
8250
8251     2005-07-08 Colin Walters <walters@verbum.org>
8252
8253         * tools/Makefile.am: Kill of print-introspect in favor of using
8254         dbus-send --print-reply=literal.
8255         * tools/print-introspect.c: Deleted.
8256
8257         * test/glib/test-service-glib.xml:
8258         * test/glib/test-service-glib.c (my_object_get_objs): New test
8259         for "ao".
8260
8261         * test/glib/test-dbus-glib.c (echo_received_cb): Free echo data.
8262         (main): Test GetObjs.
8263
8264         * glib/examples/statemachine/Makefile.am:
8265         * glib/examples/statemachine/sm-marshal.list:
8266         * glib/examples/statemachine/statemachine-client.c:
8267         * glib/examples/statemachine/statemachine-server.c:
8268         * glib/examples/statemachine/statemachine-server.xml:
8269         * glib/examples/statemachine/statemachine.c:
8270         * glib/examples/statemachine/statemachine.h:
8271         * glib/examples/statemachine/statemachine.xml:
8272
8273         New example.
8274
8275         * glib/examples/example-service.c (main): Move invocation
8276         of dbus_g_object_type_install_info earlier, to emphasize it
8277         should only be done once.
8278
8279         * glib/examples/example-signal-emitter.c (main): Ditto.
8280
8281         * glib/examples/Makefile.am (SUBDIRS): Include statemachine.
8282
8283         * glib/dbus-gvalue.h (dbus_gtype_to_signature)
8284         (dbus_gvalue_marshal): Update prototypes.
8285
8286         * glib/dbus-gvalue.c: Update all marshalling functions to take
8287         const GValue instead of GValue.
8288         (signature_iter_to_g_type_array): Return a GPtrArray for nonfixed
8289         types.
8290         (dbus_gvalue_to_signature): Update for dbus_gtype_to_signature
8291         change.
8292         (dbus_gtype_to_signature): Handle generic collecitons and maps.
8293         Return a newly-allocated string.
8294         (demarshal_proxy, demarshal_object_path, demarshal_object)
8295         (demarshal_strv, demarshal_ghashtable): Set error, don't assert if
8296         we get the wrong types from message.
8297         (get_type_demarshaller): New function, extracted from
8298         dbus_gvalue_demarshal.
8299         (demarshal_collection): New function, demarshals generic
8300         collection.
8301         (dbus_gvalue_demarshal): Just invoke result of
8302         get_type_demarshaller.  Throw error if we don't have one.
8303         (marshal_garray_basic): Abort on OOM.
8304         (get_type_marshaller): New function, extracted from
8305         dbus_gvalue_marshal.
8306         (collection_marshal_iterator, marshal_collection): New functions;
8307         implements generic marshalling for an iteratable specialized
8308         collection.
8309         (dbus_gvalue_marshal): Just invoke result of get_type_marshaller.
8310
8311         * glib/dbus-gvalue-utils.c (gvalue_from_ptrarray_value): Handle
8312         G_TYPE_STRING.
8313         (ptrarray_value_from_gvalue): Ditto.
8314         (ptrarray_append, ptrarray_free): New functions.
8315         (slist_constructor, slist_iterator, slist_copy_elt, slist_copy)
8316         (slist_append, slist_end_append, slist_free): New functions.
8317         (dbus_g_type_specialized_builtins_init): Add append fuctions
8318         for GPtrArray and GSList.  Register GSList.
8319         (test_specialized_hash, _dbus_gvalue_utils_test): New functions.
8320
8321         * glib/dbus-gtype-specialized.h
8322         (DBusGTypeSpecializedAppendContext):
8323         New.
8324         (dbus_g_type_specialized_collection_init_append)
8325         (dbus_g_type_specialized_collection_append)
8326         (dbus_g_type_specialized_collection_end_append): Prototype.
8327         (DBusGTypeSpecializedCollectionVtable): Add append_func and
8328         end_append_func.
8329
8330         * glib/dbus-gtype-specialized.c
8331         (dbus_g_type_specialized_collection_init_append)
8332         (dbus_g_type_specialized_collection_append)
8333         (dbus_g_type_specialized_collection_end_append): New functions.
8334         (dbus_g_type_map_value_iterate): Take const GValue.
8335         (dbus_g_type_collection_value_iterate): Ditto.
8336
8337         * glib/dbus-gtest.c (dbus_glib_internal_do_not_use_run_tests): Run
8338         _dbus_gvalue_utils_test.
8339
8340         * glib/dbus-gtest.h: Prototype it.
8341
8342         * glib/dbus-gproxy.c (dbus_g_proxy_manager_filter): Avoid
8343         using uninitialized owner_list.
8344         (dbus_g_proxy_begin_call_internal): Move return_if_fail to
8345         public API.
8346         (dbus_g_proxy_end_call_internal): Update to use error set
8347         from dbus_gvalue_demarshal instead of setting it here.
8348         (dbus_g_proxy_begin_call): Move return_if_fail here.
8349
8350         * glib/dbus-gobject.c (write_interface): Update for
8351         dbus_gtype_to_signature returning new string.
8352
8353         * configure.in: Add glib/examples/statemachine.
8354
8355  glib/dbus-gobject.c                                |    6 +-
8356  glib/dbus-gproxy.c                                 |   31 +-
8357  glib/dbus-gtest.c                                  |    7 +
8358  glib/dbus-gtest.h                                  |    1 +
8359  glib/dbus-gtype-specialized.c                      |   44 +-
8360  glib/dbus-gtype-specialized.h                      |   32 +-
8361  glib/dbus-gvalue-utils.c                           |  261 +++++++++-
8362  glib/dbus-gvalue-utils.h                           |    1 -
8363  glib/dbus-gvalue.c                                 |  388 +++++++++++---
8364  glib/dbus-gvalue.h                                 |    4 +-
8365  glib/examples/Makefile.am                          |    2 +
8366  glib/examples/example-service.c                    |    4 +-
8367  glib/examples/example-signal-emitter.c             |    4 +-
8368  glib/examples/statemachine/.cvsignore              |   15 +
8369  glib/examples/statemachine/Makefile.am             |   35 ++
8370  glib/examples/statemachine/sm-marshal.list         |    1 +
8371  glib/examples/statemachine/statemachine-client.c   |  540
8372  ++++++++++++++++++++
8373  glib/examples/statemachine/statemachine-server.c   |  202 ++++++++
8374  glib/examples/statemachine/statemachine-server.h   |   37 ++
8375  glib/examples/statemachine/statemachine-server.xml |   14 +
8376  glib/examples/statemachine/statemachine.c          |  351 +++++++++++++
8377  glib/examples/statemachine/statemachine.h          |   77 +++
8378  glib/examples/statemachine/statemachine.xml        |   33 ++
8379  23 files changed, 1983 insertions(+), 107 deletions(-)
8380
8381 commit 8b39e9d32cb505d4f9550ca24627020e5edd9681
8382 Author: Colin Walters <walters@verbum.org>
8383 Date:   2005-07-06 21:27:45 +0000
8384
8385     2005-07-06 Colin Walters <walters@verbum.org>
8386
8387         * dbus/dbus-glib.h (DBusGPendingCall, DBusGPendingCallNotify)
8388         (DBUS_TYPE_G_PENDING_CALL, dbus_g_pending_call_get_g_type)
8389         (dbus_g_pending_call_ref, dbus_g_pending_call_unref): Delete.
8390         (dbus_g_pending_call_set_notify, dbus_g_pending_call_cancel):
8391         Delete in favor of dbus_g_proxy_begin_call and
8392         dbus_g_proxy_cancel_call.
8393         (DBusGProxyCall, DBusGProxyCallNotify): New.
8394         (dbus_g_proxy_begin_call): Change prototype to take callback, user
8395         data, and destroy function.  This replaces
8396         dbus_g_pending_call_set_notify.
8397         (dbus_g_proxy_cancel_call): Prototype.
8398         (DBusGAsyncData): Delete, shouldn't be needed anymore.
8399
8400         * glib/dbus-gproxy.c (struct _DBusGProxy): Add call_id_counter and
8401         pending_calls map.
8402         (struct _DBusGProxyManager): Add bus_proxy member, which is an
8403         internal proxy for calls to the bus. Remove
8404         pending_nameowner_calls, now the internal proxy keeps track.
8405         (dbus_g_proxy_manager_unref): Unref bus proxy, remove reference to
8406         pending_nameowner_calls.
8407         (got_name_owner_cb): Update prototype, and use
8408         dbus_g_proxy_end_call.
8409         (got_name_owner_cb): Remove reference to pending_nameowner_calls.
8410         (dbus_g_proxy_manager_register): Delete directly libdbus code in
8411         favor of using internal proxy.
8412         (dbus_g_proxy_manager_unregister): Update to use
8413         dbus_g_proxy_cancel_call for any pending GetNameOwner call.
8414         (dbus_g_proxy_init): Initialize pending calls map.
8415         (dbus_g_proxy_constructor): New.
8416         (dbus_g_proxy_class_init): Add get/set property functions,
8417         constructor, and add NAME, PATH, and INTERFACE properties.
8418         (cancel_pending_call): New function.
8419         (dbus_g_proxy_dispose): Iterate over any outstanding calls and
8420         cancel them.
8421         (dbus_g_proxy_set_property, dbus_g_proxy_get_property): New.
8422         (GPendingNotifyClosure): New structure.
8423         (d_pending_call_notify, d_pending_call_free): Moved here from
8424         dbus-glib.c.
8425         (DBUS_G_VALUE_ARRAY_COLLECT_ALL): Moved around to satisfy function
8426         ordering.
8427         (manager_begin_bus_call): New internal function for talking to
8428         internal bus proxy.
8429         (dbus_g_proxy_new): Construct object using GObjet properties.
8430         (dbus_g_proxy_begin_call_internal): Update to take user data, etc.
8431         Create closure of same, and insert call into map of pending calls.
8432         (dbus_g_proxy_end_call_internal): Take call id instead of pending
8433         call.  Look up pending call in current set.  Remove it when we've
8434         completed.
8435         (dbus_g_pending_call_end, dbus_g_proxy_end_call_internal): Delete.
8436         (dbus_g_proxy_begin_call): Change API to take callback, user data,
8437         and destroy function directly.
8438         (dbus_g_proxy_end_call): Update to take DBusGProxyCall.
8439         (dbus_g_proxy_call): Invoke with NULL callback.
8440         (dbus_g_proxy_cancel_call): New function, replaces
8441         dbus_g_pending_call_cancel.
8442
8443         * glib/dbus-gparser.c (validate_signature): Fix call to
8444         dbus_set_g_error.
8445
8446         * glib/dbus-gobject.c (dbus_g_object_type_dbus_metadata_quark):
8447         New quark for attaching metadata to GType.
8448         (info_hash): Delete.
8449         (lookup_object_info): Look up using quark.
8450         (dbus_g_object_type_install_info): Check that a type is classed,
8451         not that it's an object.  Also just install type data using quark
8452         instead of using global hash.
8453
8454         * glib/dbus-glib.c (dbus_g_pending_call_ref)
8455         (dbus_g_pending_call_unref, dbus_pending_call_get_g_type)
8456         (GPendingNotifyClosure): Delete.
8457         (d_pending_call_notify, d_pending_call_free): Move to
8458         dbus-gproxy.c.
8459         (dbus_g_pending_call_set_notify, dbus_g_pending_call_cancel):
8460         Delete.
8461
8462         * glib/dbus-binding-tool-glib.c (generate_client_glue):
8463         Disable async
8464         client method generation until we can fix it...
8465
8466         * tools/dbus-viewer.c (load_child_nodes): Use dbus_g_proxy_call.
8467         (load_from_service_thread_func): Ditto.
8468
8469         * tools/dbus-names-model.c (struct NamesModel): Hold
8470         DBusGProxyCall.
8471         (have_names_notify): Update prototype, use
8472         dbus_g_proxy_cancel_call.
8473         (names_model_reload): Update for new dbus_g_proxy_begin_call API.
8474
8475         * tools/dbus-monitor.c (filter_func): Update for print_message
8476         API change.
8477
8478         * test/glib/test-dbus-glib.c: Add more tests for async
8479         invocations.  Update many begin_call/end_call pairs to just use
8480         dbus_g_proxy_call.
8481
8482         * tools/dbus-send.c (main): Add --print-reply=literal mode.  This
8483         allows us to dump print-introspect.c.
8484
8485         * tools/dbus-print-message.h (print_message): Add literal argument
8486         to print_message which is intended to allow printing arguments
8487         without
8488         metadata like "string=".
8489
8490         * tools/dbus-print-message.c (print_iter): Add literal argument.
8491         (print_message): Allow printing string messages literally.
8492
8493  glib/dbus-binding-tool-glib.c |    2 +
8494  glib/dbus-glib.c              |  140 -----------
8495  glib/dbus-gobject.c           |   44 ++--
8496  glib/dbus-gparser.c           |    2 +-
8497  glib/dbus-gproxy.c            |  555
8498  +++++++++++++++++++++++++++--------------
8499  5 files changed, 390 insertions(+), 353 deletions(-)
8500
8501 commit 462a36e4898da053ba749857511f2d634dbea665
8502 Author: Colin Walters <walters@verbum.org>
8503 Date:   2005-07-05 16:39:56 +0000
8504
8505     2005-07-05 Colin Walters <walters@verbum.org>
8506
8507         * glib/dbus-gproxy.c (marshal_dbus_message_to_g_marshaller):
8508         Remove value refcount leak, original patch from Jorn Baayen
8509         <jorn@openedhand.com>.  Also remove useless extra value in favor
8510         of prepending to value array directly.
8511
8512  glib/dbus-gproxy.c |    7 +++----
8513  1 file changed, 3 insertions(+), 4 deletions(-)
8514
8515 commit d80b7960d7d189d7c33e6d230fdbbf8b69546f60
8516 Author: Colin Walters <walters@verbum.org>
8517 Date:   2005-07-02 06:05:23 +0000
8518
8519     2005-07-02 Colin Walters <walters@verbum.org>
8520
8521         * glib/dbus-gmain.c (_dbus_gmain_test): Fix test.
8522
8523  glib/dbus-gmain.c |    4 ++--
8524  1 file changed, 2 insertions(+), 2 deletions(-)
8525
8526 commit c7f14e3c337601053b08dc07a186be81063fc005
8527 Author: Colin Walters <walters@verbum.org>
8528 Date:   2005-07-01 15:44:12 +0000
8529
8530     2005-07-01 Colin Walters <walters@verbum.org>
8531
8532         Patch from Jonathan Matthew <jonathan@kaolin.hn.org>
8533
8534         * glib/dbus-gvalue.c (basic_typecode_to_gtype): Fix return type.
8535         (dbus_g_value_types_init): Marshal G_TYPE_CHAR as DBUS_TYPE_BYTE,
8536         G_TYPE_LONG as DBUS_TYPE_INT32, G_TYPE_ULONG as DBUS_TYPE_UINT32,
8537         and G_TYPE_FLOAT as DBUS_TYPE_DOUBLE.
8538
8539  glib/dbus-gvalue.c |   33 +++++++++++++++++++++++++++++++--
8540  1 file changed, 31 insertions(+), 2 deletions(-)
8541
8542 commit 5c82c5ce0eba4ec3bbb0454f3987f56de968bf95
8543 Author: Colin Walters <walters@verbum.org>
8544 Date:   2005-06-30 18:22:09 +0000
8545
8546     2005-06-30 Colin Walters <walters@verbum.org>
8547
8548         * test/glib/test-dbus-glib.c:
8549         * test/glib/test-service-glib.c:
8550         * test/glib/test-service-glib.xml: Update tests for new error
8551         setting bits, also add async tests (patch from Ross Burton).
8552
8553         * test/glib/Makefile.am (test_service_glib_LDADD): Add
8554         DBUS_GLIB_THREADS_LIBS.
8555
8556         * glib/dbus-gproxy.c (get_name_owner)
8557         (dbus_g_pending_call_end_valist): Ditto.
8558
8559         * glib/dbus-gobject.c (error_metadata): New mapping from GError
8560         domain (GQuark) to DBusGErrorInfo.
8561         (gerror_domaincode_to_dbus_error_name): Attempt to look up error
8562         quark in error_metadata.  Take message interface as default
8563         error message interface.
8564         (gerror_to_dbus_error_message): Pass message interface.
8565         (dbus_set_g_error): Resurrected.
8566         (dbus_g_error_info_free): New function.
8567         (dbus_g_object_type_install_info): Use g_type_class_ref instead
8568         of _peek to actually create the object class if it hasn't been
8569         created yet.
8570         (dbus_g_error_domain_register): New function.
8571
8572         * glib/dbus-gmain.c (dbus_g_bus_get): Switch to dbus_set_g_error.
8573
8574         * glib/dbus-gparser.c (validate_signature): Ditto.
8575
8576         * dbus/dbus-glib.h (dbus_g_error_set): Delete.
8577         (dbus_g_error_domain_register): Prototype.
8578
8579         * glib/dbus-glib.c (dbus_g_error_set): Delete.
8580         Update tests.
8581
8582  glib/dbus-glib.c    |   45 +-----------------
8583  glib/dbus-gmain.c   |    3 +-
8584  glib/dbus-gobject.c |  127
8585  ++++++++++++++++++++++++++++++++++++++++++++++++++-
8586  glib/dbus-gparser.c |    3 +-
8587  glib/dbus-gproxy.c  |    6 +--
8588  5 files changed, 134 insertions(+), 50 deletions(-)
8589
8590 commit f879e3e832d76a7b3b02cc7d25a3e5b9ef195f42
8591 Author: Colin Walters <walters@verbum.org>
8592 Date:   2005-06-29 23:52:35 +0000
8593
8594     2005-06-29 Colin Walters <walters@verbum.org>
8595
8596         * dbus/dbus-glib.h: Delete DBUS_TYPE_G_PROXY_ARRAY.  Add
8597         DBUS_TYPE_G_OBJECT_PATH.
8598
8599         * glib/dbus-gvalue.c (dbus_g_value_types_init): Remove marshallers
8600         for G_TYPE_OBJECT and DBUS_TYPE_G_PROXY_ARRAY (the latter should
8601         be handled more generically).  Add DBUS_TYPE_G_OBJECT_PATH.
8602         (dbus_g_object_path_get_g_type): New function.
8603         (dbus_gtype_from_signature_iter): Map DBUS_TYPE_OBJECT_PATH
8604         to DBUS_TYPE_G_OBJECT_PATH by default.
8605         (demarshal_proxy): Remove unused name variable.
8606         (demarshal_object_path, marshal_object_path): New functions.
8607         (demarshal_proxy_array, marshal_proxy_array): Delete.
8608
8609         * glib/dbus-binding-tool-glib.c (dbus_g_type_get_c_name): Map
8610         DBUS_TYPE_G_OBJECT_PATH to char *.
8611         (dbus_g_type_get_lookup_function): Map builtin
8612         DBUS_TYPE_G_OBJECT_PATH.
8613
8614         * test/glib/test-dbus-glib.c
8615         * test/glib/test-service-glib.c (my_object_objpath):
8616         Adapt tests to new object path marshalling.
8617
8618  glib/dbus-binding-tool-glib.c |    5 +-
8619  glib/dbus-gvalue.c            |  164
8620  ++++++++++++++++-------------------------
8621  2 files changed, 68 insertions(+), 101 deletions(-)
8622
8623 commit 1f87d5d3363d1e23208c993eabb3cb1f0341b4d9
8624 Author: Colin Walters <walters@verbum.org>
8625 Date:   2005-06-29 17:02:33 +0000
8626
8627     2005-06-29 Colin Walters <walters@verbum.org>
8628
8629         Patch from Ross Burton <ross@openedhand.com>
8630
8631         * glib/dbus-gobject.c (invoke_object_method): Unset object
8632         value in all cases, not only in async case.
8633
8634  glib/dbus-gobject.c |    4 ++--
8635  1 file changed, 2 insertions(+), 2 deletions(-)
8636
8637 commit 49fce903db4124277de6aba92f7c03f24d84e598
8638 Author: Colin Walters <walters@verbum.org>
8639 Date:   2005-06-29 16:58:59 +0000
8640
8641     2005-06-29 Colin Walters <walters@verbum.org>
8642
8643         * glib/dbus-gproxy.c (struct _DBusGProxy): Add new member
8644         name_call for keeping track of any outgoing GetNameOwner call.
8645         Also add for_owner and associated.
8646         (struct _DBusGProxyManager): Add owner_names, which is hash table
8647         that maps a base name to a list of names it owns (that we're
8648         interested in).  Add pending_nameowner_calls which is a list of
8649         all outstanding GetNameOwner; avoids us having to iterate over
8650         every proxy.  Add unassociated_proxies which keeps track of name
8651         proxies with no associated name owner.
8652         (dbus_g_proxy_manager_unref): Destroy owner_names.
8653         (struct DBusGProxyNameOwnerInfo): New struct for keeping track of
8654         name refcounts.
8655         (find_name_in_info, name_owner_foreach)
8656         (dbus_g_proxy_manager_lookup_name_owner, insert_nameinfo)
8657         (dbus_g_proxy_manager_monitor_name_owner)
8658         (dbus_g_proxy_manager_unmonitor_name_owner)
8659         (unassociate_proxies, dbus_g_proxy_manager_replace_name_owner):
8660         New functions; they manipulate the owner_names mapping.
8661         (got_name_owner_cb): New function.
8662         (get_name_owner): New function, extracted from
8663         dbus_g_proxy_new_for_name_owner.
8664         (dbus_g_proxy_manager_register): For now we need to keep track of
8665         all NameOwnerChanged.  Also if the proxy is for a name, if we
8666         don't already know the name owner, queue a new GetNameOwner
8667         request and add it to our list of unassociated proxies.  Otherwise
8668         inc the refcount.
8669         (dbus_g_proxy_manager_unregister): If this proxy is for a name,
8670         cancel any pending GetNameOwner call, etc.
8671         (dbus_g_proxy_manager_filter): Handle NameOwnerChanged.  Also use
8672         the owner_names mapping to look up the current names for the
8673         signal source, and dispatch to any proxies for that name.
8674         (dbus_g_proxy_new): Initialize new members.
8675         (dbus_g_proxy_new_for_name): Delete unused proxy variable.
8676         (dbus_g_proxy_new_for_name_owner): Use get_name_owner.
8677         (dbus_g_pending_call_end_valist): New function, extracted from
8678         dbus_g_proxy_end_call_internal.  Useful when we don't have a proxy
8679         but want to use the GLib infrastructure.  Also note how many
8680         arguments in reply were over.
8681         (dbus_g_pending_call_end): New function, just call
8682         dbus_g_pending_call_end_valist.
8683         (dbus_g_proxy_end_call_internal): Just call
8684         dbus_g_pending_call_end_valist.
8685
8686         * glib/dbus-gobject.c (_dbus_gobject_lookup_marshaller):
8687         Fix lookup
8688         of builtin marshaller for STRING_STRING_STRING.
8689
8690         * test/glib/test-dbus-glib.c:
8691         * test/glib/test-service-glib.c:
8692         * test/glib/test-service-glib.xml:
8693         Extend tests to cover name proxies, destruction of owner proxies,
8694         etc.
8695
8696         * glib/examples/example-signal-recipient.c
8697         (dbus_g_proxy_new_for_name_owner): Create a name proxy.
8698
8699         * tools/dbus-send.c (main): Print D-BUS error name in addition
8700         to message.
8701
8702  glib/dbus-gobject.c                      |   14 +-
8703  glib/dbus-gproxy.c                       |  780
8704  ++++++++++++++++++++++++++----
8705  glib/examples/example-signal-recipient.c |    9 +-
8706  3 files changed, 689 insertions(+), 114 deletions(-)
8707
8708 commit f2f505e8027bd4ef84b051ad9cd84ab86524b530
8709 Author: Colin Walters <walters@verbum.org>
8710 Date:   2005-06-27 18:20:20 +0000
8711
8712     2005-06-27 Colin Walters <walters@verbum.org>
8713
8714         * test/glib/test-dbus-glib.c:
8715         * test/glib/test-service-glib.c:
8716         * test/glib/test-service-glib.xml:
8717         Test hash table signal emitting.
8718
8719         * glib/dbus-gobject.c (_dbus_gobject_lookup_marshaller): Convert
8720         types to their fundamental basis types, since this is what
8721         marshallers operate on.  Also add an entry for VOID__BOXED.
8722         (dbus_g_object_register_marshaller_array): Convert to fundamental.
8723
8724  glib/dbus-gobject.c |   28 +++++++++++++++++++++-------
8725  1 file changed, 21 insertions(+), 7 deletions(-)
8726
8727 commit f0480850590afa233d7e1ad2b0c8250621c2bb9f
8728 Author: Colin Walters <walters@verbum.org>
8729 Date:   2005-06-26 17:02:09 +0000
8730
8731     2005-06-26 Colin Walters <walters@verbum.org>
8732
8733         * glib/dbus-glib.c (dbus_set_g_error): Delete.
8734         (dbus_g_error_set): New public function from its ashes; used by
8735         both service-side method implementation and GLib bindings
8736         internals.
8737         (dbus_g_error_has_name, dbus_g_error_get_name): New function.
8738         (_dbus_glib_test): Add some tests.
8739
8740         * test/glib/test-dbus-glib.c (main): Test dbus_g_error_has_name.
8741
8742         * test/glib/test-service-glib.c (my_object_throw_error): Use
8743         dbus_g_error_set.
8744
8745         * glib/dbus-gobject.c (gerror_to_dbus_error_message): Handle
8746         errors thrown by dbus_g_error_set.
8747
8748         * glib/dbus-gmain.c (dbus_g_bus_get): Change to dbus_g_error_set.
8749
8750         * glib/dbus-gparser.c (validate_signature): Ditto.
8751
8752         * glib/dbus-gproxy.c (dbus_g_proxy_new_for_name_owner)
8753         (dbus_g_proxy_end_call_internal): Ditto.
8754
8755         * glib/Makefile.am: Generate dbus-glib-error-switch.h, which
8756         converts DBUS_ERROR_x to DBUS_GERROR_x.
8757         (libdbus_glib_1_la_SOURCES, BUILT_SOURCES, CLEANFILES): Add it.
8758
8759         * doc/TODO: Remove error TODO.
8760
8761         * doc/dbus-tutorial.xml: Update with documentation about error
8762         handling.
8763
8764         * dbus/make-dbus-glib-error-enum.sh: Tighten up regexp to make
8765         sure we only change DBUS_ERROR to DBUS_GERROR, not all ERROR to
8766         GERROR.  Also add DBUS_GERROR_REMOTE_EXCEPTION.
8767
8768  glib/.cvsignore                     |    1 +
8769  glib/Makefile.am                    |    8 +++
8770  glib/dbus-glib.c                    |  109
8771  ++++++++++++++++++++++++++++++-----
8772  glib/dbus-gmain.c                   |    2 +-
8773  glib/dbus-gobject.c                 |   15 +++--
8774  glib/dbus-gparser.c                 |    2 +-
8775  glib/dbus-gproxy.c                  |    6 +-
8776  glib/make-dbus-glib-error-switch.sh |   29 ++++++++++
8777  8 files changed, 150 insertions(+), 22 deletions(-)
8778
8779 commit ce03d4c9e9be4724a3255085b5ab5e51d9b9c196
8780 Author: Colin Walters <walters@verbum.org>
8781 Date:   2005-06-22 23:35:32 +0000
8782
8783     2005-06-22 Colin Walters <walters@verbum.org>
8784
8785         Patch from Ross Burton <ross@openedhand.com>
8786
8787         * glib/dbus-gobject.c (dbus_g_method_return): Free out_sig.
8788
8789  glib/dbus-gobject.c |    1 +
8790  1 file changed, 1 insertion(+)
8791
8792 commit 6d152f08fa90bdc14d75b9091cccd5422faf3f11
8793 Author: Colin Walters <walters@verbum.org>
8794 Date:   2005-06-21 01:18:25 +0000
8795
8796     2005-06-20 Colin Walters <walters@verbum.org>
8797
8798         * configure.in: Add glib/examples.
8799
8800         * glib/Makefile.am: Add examples/
8801
8802         * glib/examples/.cvsignore
8803         * glib/examples/Makefile.am
8804         * glib/examples/example-client.c
8805         * glib/examples/example-service.c
8806         * glib/examples/example-service.xml
8807         * glib/examples/example-signal-emitter.c
8808         * glib/examples/example-signal-emitter.xml
8809         * glib/examples/example-signal-recipient.c:
8810         New files; GLib binding examples, ported from
8811         python/examples.
8812
8813  glib/Makefile.am                         |    2 +
8814  glib/examples/.cvsignore                 |   17 ++++
8815  glib/examples/Makefile.am                |   34 ++++++++
8816  glib/examples/example-client.c           |  107 +++++++++++++++++++++++
8817  glib/examples/example-service.c          |  138
8818  ++++++++++++++++++++++++++++++
8819  glib/examples/example-service.xml        |   19 ++++
8820  glib/examples/example-signal-emitter.c   |  132
8821  ++++++++++++++++++++++++++++
8822  glib/examples/example-signal-emitter.xml |   13 +++
8823  glib/examples/example-signal-recipient.c |  103 ++++++++++++++++++++++
8824  9 files changed, 565 insertions(+)
8825
8826 commit ad05d7aa3b298fdc6c214550944e9aa1464a1e43
8827 Author: Colin Walters <walters@verbum.org>
8828 Date:   2005-06-21 00:30:20 +0000
8829
8830     2005-06-20 Colin Walters <walters@verbum.org>
8831
8832         * dbus/dbus-glib.h:
8833         * glib/dbus-gproxy.c: Rename dbus_g_proxy_invoke to
8834         dbus_g_proxy_call.
8835
8836         * glib/dbus-binding-tool-glib.c:
8837         * doc/dbus-tutorial.xml:
8838         * test/glib/test-dbus-glib.c: Update for rename.
8839
8840  glib/dbus-binding-tool-glib.c |    2 +-
8841  glib/dbus-gproxy.c            |   18 ++++++++++--------
8842  2 files changed, 11 insertions(+), 9 deletions(-)
8843
8844 commit 17ba4df65fdf4a7b65eedd2a4f10e616dd1b186c
8845 Author: Colin Walters <walters@verbum.org>
8846 Date:   2005-06-20 19:54:21 +0000
8847
8848     2005-06-20 Colin Walters <walters@verbum.org>
8849
8850         Patch suggested by Ross Burton <ross@openedhand.com>
8851
8852         * glib/dbus-gobject.c (export_signals): Free signal name.
8853         (g_value_init): Use G_VALUE_NOCOPY_CONTENTS to plug
8854         memory leak.  Add a bit of documentation.
8855         (dbus_g_method_return_error): Free context, and note we do
8856         so.
8857
8858  glib/dbus-gobject.c |    6 +++++-
8859  1 file changed, 5 insertions(+), 1 deletion(-)
8860
8861 commit 01b89e61b5b98ad983babb506c9856aeadef2562
8862 Author: Murray Cumming <murrayc@murrayc.com>
8863 Date:   2005-06-19 15:31:25 +0000
8864
8865     2005-06-18 Murray Cumming <murrayc@murrayc.com>
8866
8867             * dbus/dbus-glib.h:
8868             * glib/dbus-gobject.c:
8869             * glib/dbus-gproxy.c:
8870             * glib/dbus-gvalue.c: Predeclare structs as
8871             typedef struct _Something Something instead of
8872             typedef struct Something Something, so we can
8873             redeclare the prototypes. Other GNOME libraries
8874             do this already.
8875
8876  glib/dbus-gobject.c |    2 +-
8877  glib/dbus-gproxy.c  |    8 ++++----
8878  glib/dbus-gvalue.c  |    2 +-
8879  3 files changed, 6 insertions(+), 6 deletions(-)
8880
8881 commit da18702f63a9f33d4f929113b6361062a86443a6
8882 Author: Colin Walters <walters@verbum.org>
8883 Date:   2005-06-17 14:29:48 +0000
8884
8885     2005-06-17 Colin Walters <walters@verbum.org>
8886
8887         * glib/dbus-gproxy.c (dbus_g_proxy_emit_remote_signal): Don't
8888         spew warnings if we get malformed remote signals.
8889
8890         * glib/dbus-gobject.c (propsig_iterate): New function.
8891         (lookup_object_info): New function, extracted from
8892         lookup_object_and_method.
8893         (introspect_properties, introspect_signals): Delete; these
8894         are merged into write_interface.
8895         (write_interface): Write out signals and properties here;
8896         dump the org.gtk.object stuff and use the interface given
8897         in the introspection data blob.  Also fix up property XML.
8898         (lookup_values): New function.
8899         (introspect_interfaces): Gather a mapping from interface to a
8900         list of its methods, signals, and properties, then write out
8901         each interface.
8902         (lookup_object_and_method): Use lookup_object_info.
8903         (struct DBusGSignalClosure): Add interface.
8904         (dbus_g_signal_closure_new): Add interface. Don't dup signame;
8905         we can just use the constant data.
8906         (dbus_g_signal_closure_finalize): Don't free signal name.
8907         (signal_emitter_marshaller): Use interface from signal closure.
8908         (export_signals): Only export signals mentioned in introspection
8909         blob.
8910         (dbus_g_connection_register_g_object): Warn if we have no
8911         introspection data for an object.
8912         (funcsig_equal): Remove unused variable.
8913         (dbus_g_object_register_marshaller): Take varargs instead of
8914         list.
8915         (dbus_g_object_register_marshaller_array): New function,
8916         extracted from old dbus_g_object_register_marshaller.
8917
8918         * glib/dbus-binding-tool-glib.c (struct DBusBindingToolCData): Add
8919         signals and property data.
8920         (write_quoted_string): New function, extracted from generate_glue.
8921         (generate_glue): Write signals and properties to introspection
8922         blob.
8923
8924         * dbus/dbus-glib.h (struct DBusGObjectInfo): Include
8925         exported_signals and exported_properties.
8926         (dbus_g_object_register_marshaller): Update prototype.
8927         (dbus_g_object_register_marshaller_array): Prototype.
8928
8929         * test/glib/test-dbus-glib.c: Extend testing to cover new signals.
8930
8931         * test/glib/test-service-glib.c: Add new test signals and method
8932         to emit them.
8933
8934         * test/glib/test-service-glib.xml: Add some test signals.
8935
8936         * test/glib/Makefile.am (BUILT_SOURCES): Add my-object-marshal.c
8937         and my-object-marshal.h
8938         (test_service_glib_SOURCES, test_dbus_glib_SOURCES): Add
8939         my-object-marshal.c.
8940         (my-object-marshal.c, my-object-marshal.h): Implement.
8941
8942         * test/glib/.cvsignore: Update.
8943
8944         * doc/TODO: Remove two GLib TODO items fixed by this
8945         patch.
8946
8947  glib/dbus-binding-tool-glib.c |   88 +++++--
8948  glib/dbus-gobject.c           |  547
8949  ++++++++++++++++++++++++-----------------
8950  glib/dbus-gproxy.c            |    3 +
8951  3 files changed, 394 insertions(+), 244 deletions(-)
8952
8953 commit 5c64ac1e7abcb7013c640d8aa6621319341f228d
8954 Author: Colin Walters <walters@verbum.org>
8955 Date:   2005-06-16 19:50:24 +0000
8956
8957     2005-06-16 Colin Walters <walters@verbum.org>
8958
8959         * glib/dbus-binding-tool-glib.c:
8960         * glib/dbus-gobject.c:
8961         * glib/dbus-gproxy.c:  Add Nokia copyright; Patch
8962         from Ross Burton, for his GLib bindings work.
8963
8964  glib/dbus-binding-tool-glib.c |    1 +
8965  glib/dbus-gobject.c           |    1 +
8966  glib/dbus-gproxy.c            |    1 +
8967  3 files changed, 3 insertions(+)
8968
8969 commit 87556105e7b984f8e56fc75d5c5ede8a69d63d12
8970 Author: Colin Walters <walters@verbum.org>
8971 Date:   2005-06-16 19:45:49 +0000
8972
8973     2005-06-16 Colin Walters <walters@verbum.org>
8974
8975         * glib/dbus-gobject.c (funcsig_hash, funcsig_equal): Use n_params
8976         to iterate instead of walking to G_TYPE_INVALID.
8977
8978         Patch based on a patch from Ryan Gammon.
8979
8980  glib/dbus-gobject.c |   11 ++++++-----
8981  1 file changed, 6 insertions(+), 5 deletions(-)
8982
8983 commit b274594d1f15e23be62d3ae2693524652ff58752
8984 Author: Colin Walters <walters@verbum.org>
8985 Date:   2005-06-16 04:38:11 +0000
8986
8987     2005-06-16 Colin Walters <walters@verbum.org>
8988
8989         * glib/dbus-gvalue.c (marshal_basic): Marshal NULL string
8990         values as the empty string (#2948).
8991
8992  glib/dbus-gvalue.c |    2 ++
8993  1 file changed, 2 insertions(+)
8994
8995 commit 702f09f4f45225f603a6d17ae77c3360c428855a
8996 Author: Colin Walters <walters@verbum.org>
8997 Date:   2005-06-14 15:55:10 +0000
8998
8999     2005-06-14 Colin Walters <walters@verbum.org>
9000
9001         * glib/dbus-binding-tool-glib.c:
9002         * glib/dbus-gobject.c:
9003         * glib/dbus-gvalue.c: Fix indentation and brace style.
9004
9005  glib/dbus-binding-tool-glib.c |   74 ++++++++--------
9006  glib/dbus-gobject.c           |  190
9007  +++++++++++++++++++++--------------------
9008  glib/dbus-gvalue.c            |   11 +--
9009  3 files changed, 145 insertions(+), 130 deletions(-)
9010
9011 commit ceb44c57e8ebc78ef420597bae484f7713c2e8bf
9012 Author: Colin Walters <walters@verbum.org>
9013 Date:   2005-06-14 15:49:43 +0000
9014
9015     2005-06-14 Ross Burton <ross@burtonini.com>.
9016
9017         * glib/dbus-glib.h: Make DBusGMethodInvocation
9018         a private structure.  Rearrange prototypes a bit.
9019
9020         * glib/dbus-gproxy.c (dbus_g_proxy_invoke): Add
9021         documentation for first_arg_type.
9022
9023         * glib/dbus-gobject.c: Move DBusGMethodInvocation
9024         here, add documentation.  Move dbus_g_method_return
9025         and dbus_g_method_return_error into public API
9026         section.
9027
9028  glib/dbus-gobject.c |  119
9029  ++++++++++++++++++++++++++++++---------------------
9030  glib/dbus-gproxy.c  |    1 +
9031  2 files changed, 71 insertions(+), 49 deletions(-)
9032
9033 commit 72b52186a73aac9f4d0ae1868fe1dedcedf3a6e6
9034 Author: Colin Walters <walters@verbum.org>
9035 Date:   2005-06-14 14:23:56 +0000
9036
9037     2005-06-14 Colin Walters <walters@verbum.org>
9038
9039         * glib/dbus-gobject.c (_dbus_gobject_lookup_marshaller):
9040         Add missing return statements, noticed by Ross Burton.
9041
9042  glib/dbus-gobject.c |    6 ++++++
9043  1 file changed, 6 insertions(+)
9044
9045 commit 40617899dc08750ab5a8cd0fb176dc2111a95420
9046 Author: Colin Walters <walters@verbum.org>
9047 Date:   2005-06-13 15:36:31 +0000
9048
9049     2005-06-13 Ross Burton <ross@burtonini.com>.
9050
9051         * glib/dbus-gobject.c: Handle errors on message
9052         demarshalling by sending error message back.
9053         * glib/dbus-gvalue.c: Initialize return variables.
9054
9055  glib/dbus-gobject.c |   11 ++++++++---
9056  glib/dbus-gvalue.c  |    8 ++++----
9057  2 files changed, 12 insertions(+), 7 deletions(-)
9058
9059 commit fc23d39a292cee7d4f9ee9a1df0c0141c69d0942
9060 Author: Colin Walters <walters@verbum.org>
9061 Date:   2005-06-13 15:34:05 +0000
9062
9063     2005-06-13 Colin Walters <walters@verbum.org>
9064
9065         * glib/Makefile.am: Fix thinko in last patch.
9066
9067  glib/Makefile.am |    2 +-
9068  1 file changed, 1 insertion(+), 1 deletion(-)
9069
9070 commit 7c42065c67e99716130a5dec4e493bce3ccc9aaa
9071 Author: Colin Walters <walters@verbum.org>
9072 Date:   2005-06-13 14:56:51 +0000
9073
9074     2005-06-13 Colin Walters <walters@verbum.org>
9075
9076         * glib/Makefile.am: Move dbus-gtype-specialized.c
9077         and dbus-gtype-specialized.h into a _HEADERS variable,
9078         install them.
9079
9080  glib/Makefile.am |    8 ++++++--
9081  1 file changed, 6 insertions(+), 2 deletions(-)
9082
9083 commit 8bcbafe775d6bc63290c5c73f138c1511b104c70
9084 Author: Colin Walters <walters@verbum.org>
9085 Date:   2005-06-13 03:01:17 +0000
9086
9087     2005-06-12 Colin Walters <walters@verbum.org>
9088
9089         Async signals and various bugfixes and testing by
9090         Ross Burton <ross@burtonini.com>.
9091
9092         * glib/dbus-gvalue.h: (struct DBusBasicGValue): Delete.
9093         (dbus_gvalue_genmarshal_name_from_type)
9094         (dbus_gvalue_ctype_from_type): Moved to dbus-binding-tool-glib.c.
9095         (dbus_gtype_to_dbus_type): Renamed to dbus_gtype_from_signature.
9096         (dbus_g_value_types_init, dbus_gtype_from_signature)
9097         (dbus_gtype_from_signature_iter, dbus_gtype_to_signature)
9098         (dbus_gtypes_from_arg_signature): New function prototypes.
9099         (dbus_gvalue_demarshal): Take context and error arguments.
9100         (dbus_gvalue_demarshal_variant): New function.
9101         (dbus_gvalue_demarshal_message): New function.
9102         (dbus_gvalue_store): Delete.
9103
9104         * glib/dbus-gvalue.c:
9105
9106         File has been almost entirely rewritten; now we special-case
9107         more types such as DBUS_TYPE_SIGNATURE, handle arrays and
9108         hash tables correctly, etc.  Full support for recursive values
9109         is not yet complete.
9110
9111         * glib/dbus-gproxy.c (dbus_g_proxy_class_init): Change last
9112         argument of signal to G_TYPE_POINTER since we now pass a
9113         structure.
9114         (lookup_g_marshaller): Delete in favor of
9115         _dbus_gobject_lookup_marshaller.
9116         (marshal_dbus_message_to_g_marshaller): Use
9117         _dbus_gobject_lookup_marshaller and dbus_gvalue_demarshal_message
9118         to handle remote signal callbacks.
9119         (dbus_g_proxy_new_from_proxy): New function; creates a new
9120         DBusGProxy by copying an existing one.
9121         (dbus_g_proxy_get_interface, dbus_g_proxy_set_interface)
9122         (dbus_g_proxy_get_path): New functions.
9123         (dbus_g_proxy_marshal_args_to_message): New function;
9124         factored out of existing code.
9125         (DBUS_G_VALUE_ARRAY_COLLECT_ALL): Collect all arguments
9126         from a varargs array.
9127         (dbus_g_proxy_begin_call_internal): New function.
9128         (dbus_g_proxy_end_call_internal): New function.
9129         (dbus_g_proxy_begin_call): Take GTypes instead of DBus types
9130         as arguments; simply invoke dbus_g_proxy_begin_call_internal
9131         after collecting args into value array.
9132         (dbus_g_proxy_end_call): Take GTypes instead of DBus types;
9133         invoke dbus_g_proxy_end_call_internal.
9134         (dbus_g_proxy_invoke): Simply invoke begin_call_interanl and
9135         end_call_internal.
9136         (dbus_g_proxy_call_no_reply): Take GTypes instead of DBus
9137         types.
9138         (array_free_all): New function.
9139         (dbus_g_proxy_add_signal): Take GTypes.
9140
9141         * glib/dbus-gobject.h:
9142         (_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
9143         (_dbus_gobject_get_path, _dbus_gobject_lookup_marshaller):
9144         Prototype.
9145
9146         * glib/dbus-gobject.c: Add a global marshal_table hash which
9147         stores mappings from type signatures to marshallers.  Change lots
9148         of invocations of dbus_gtype_to_dbus_type to
9149         dbus_gtype_to_signature.
9150         (_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
9151         (introspect_signals): Fix test for query.return_type.
9152         (set_object_property): Update invocation of dbus_gvalue_demarshal.
9153         (invoke_object_method): Many changes.  Handle asynchronous
9154         invocations.  Convert arguments with
9155         dbus_gvalue_demarshal_message.  Handle errors.  Use
9156         DBusSignatureIter instead of strlen on args. Handle all arguments
9157         generically.  Special-case variants.
9158         (dbus_g_method_return, dbus_g_method_return_error): New function.
9159         (DBusGSignalClosure): New structure, closes over signal
9160         information.
9161         (dbus_g_signal_closure_new): New function.
9162         (dbus_g_signal_closure_finalize): New function.
9163         (signal_emitter_marshaller): New function; is special marshaller
9164         which emits signals on bus.
9165         (export_signals): New function; introspects object signals and
9166         connects to them.
9167         (dbus_g_object_type_install_info): Take GType instead of
9168         GObjectClass.
9169         (dbus_g_connection_register_g_object): Invoke export_signals.
9170         (dbus_g_connection_lookup_g_object): New function.
9171         (DBusGFuncSignature) New structure; used for mapping type
9172         signatures to marshallers.
9173         (funcsig_hash): New function; hashes DBusGFuncSignature.
9174         (funcsig_equal): New function; compares DBusGFuncSignature.
9175         (_dbus_gobject_lookup_marshaller): New function.
9176         (dbus_g_object_register_marshaller): New function; used to
9177         register a marshaller at runtime for a particular signature.
9178
9179         * glib/dbus-gmain.c (_dbus_gmain_test): Add various tests.
9180
9181         * glib/dbus-binding-tool-glib.h: Add DBUS_GLIB_ANNOTATION_ASYNC
9182         which notes a server method implementation should be
9183         asynchronous.
9184
9185         * glib/dbus-binding-tool-glib.c
9186         (dbus_binding_tool_output_glib_server): Call
9187         dbus_g_value_types_init.
9188         (write_formal_parameters): Use dbus_gtype_from_signature.  Handle
9189         variants specially.
9190         (dbus_g_type_get_lookup_function): Turn GType into an invocation
9191         of a lookup function.
9192         (write_args_for_direction): Use dbus_g_type_get_lookup_function.
9193         (write_untyped_out_args): New method; write output arguments.
9194         (write_formal_declarations_for_direction): Function for
9195         writing prototypes.
9196         (write_formal_parameters_for_direction): Function for
9197         writing implementations.
9198         (write_typed_args_for_direction): Function for writing
9199         arguments prefixed with GTypes.
9200         (write_async_method_client): Write out async version
9201         of method.
9202
9203         * glib/dbus-binding-tool-glib.c: Include dbus-gvalue-utils.h.
9204         (dbus_g_type_get_marshal_name): Move mapping from GType
9205         to marshal name into here.
9206         (dbus_g_type_get_c_name): Move into here.
9207         (compute_marshaller): Convert signature to type with
9208         dbus_gtype_from_signature, use dbus_g_type_get_marshal_name.
9209         (compute_marshaller_name): Ditto.
9210         (compute_marshaller): Handle async signal annotations.
9211         (gather_marshallers): Return if we don't have a known
9212         prefix.
9213         (generate_glue): Collect introspection blob here, and
9214         write all of the blob at the end.  This allows an object
9215         with multiple interfaces to work.
9216         Mark async methods in introspection blob.
9217
9218         * glib/Makefile.am (libdbus_glib_1_la_SOURCES): Add
9219         dbus-gtype-specialized.c, dbus-gtype-specialized.h,
9220         dbus-gvalue-utils.h, dbus-gvalue-utils.c.
9221
9222         * dbus/dbus-glib.h: Don't include dbus-protocol.h; this
9223         avoids people accidentally using DBUS_TYPE_* which should
9224         not be necessary anymore.
9225         Do include dbus-gtype-specialized.h, which are utilities
9226         for GLib container types.
9227         Add various #defines for types such as
9228         DBUS_TYPE_G_BOOLEAN_ARRAY.
9229         (DBusGValueIterator, DBusGValue): Define, not fully used
9230         yet.
9231         (dbus_g_value_get_g_type): Type for recursive value.
9232         (dbus_g_value_open, dbus_g_value_iterator_get_value)
9233         (dbus_g_value_iterator_get_values, dbus_g_value_iterator_recurse)
9234         (dbus_g_value_free): Prototypes.
9235         (dbus_g_object_register_marshaller, dbus_g_proxy_new_from_proxy):
9236         Prototype.
9237         (dbus_g_proxy_set_interface): Prototype.
9238         (dbus_g_proxy_begin_call, dbus_g_proxy_end_call)
9239         (dbus_g_proxy_call_no_reply): Take GLib types instead of DBus
9240         types.
9241         (dbus_g_proxy_get_path, dbus_g_proxy_get_interface):
9242         Accessors.
9243         (DBusGAsyncData, DBusGMethodInvocation): Structures for
9244         doing async invocations.
9245         (dbus_g_method_return, dbus_g_method_return_error):
9246         Prototypes.
9247         * doc/dbus-tutorial.xml: Update GLib section.
9248
9249         * tools/dbus-viewer.c (load_child_nodes): Update
9250         for new invocation type of dbus_g_proxy_end_call.
9251         (load_from_service_thread_func): Ditto.
9252
9253         * tools/print-introspect.c (main): Ditto.
9254
9255         * tools/dbus-names-model.c (have_names_notify)
9256         (names_model_reload, names_model_set_connection)
9257         Use GTypes.
9258
9259         * python/Makefile.am (INCLUDES): Define DBUS_COMPILATION,
9260         needed since Python bindings use GLib bindings.
9261
9262         * test/glib/Makefile.am (INCLUDES): Define DBUS_COMPILATION.
9263         Add --prefix argument.
9264
9265         * tools/Makefile.am: Define DBUS_COMPILATION.  Remove
9266         unneeded --ignore-unsupported arg.
9267
9268         * test/glib/test-service-glib.c:
9269         * test/glib/test-service-glib.xml:
9270         * test/glib/test-dbus-glib.c: Add many more tests.
9271
9272  glib/Makefile.am              |    6 +-
9273  glib/dbus-binding-tool-glib.c |  642 +++++++++++++++---
9274  glib/dbus-binding-tool-glib.h |    1 +
9275  glib/dbus-gmain.c             |   29 +
9276  glib/dbus-gobject.c           |  599 +++++++++++++---
9277  glib/dbus-gobject.h           |   10 +-
9278  glib/dbus-gproxy.c            |  789 +++++++++++----------
9279  glib/dbus-gtype-specialized.c |  441 ++++++++++++
9280  glib/dbus-gtype-specialized.h |  104 +++
9281  glib/dbus-gvalue-utils.c      |  715 +++++++++++++++++++
9282  glib/dbus-gvalue-utils.h      |   70 ++
9283  glib/dbus-gvalue.c            | 1508
9284  +++++++++++++++++++++++++++++++++++------
9285  glib/dbus-gvalue.h            |   55 +-
9286  13 files changed, 4185 insertions(+), 784 deletions(-)
9287
9288 commit 4bc350fedd536bc187768a7bfa2455aae7474f74
9289 Author: John (J5) Palmieri <johnp@redhat.com>
9290 Date:   2005-05-16 21:27:03 +0000
9291
9292     * glib/dbus-gmain.c (io_handler_dispatch): fix deadlock when using
9293     recursive g_main_loops
9294
9295     * python/_dbus.py (class Bus): add the ProxyObjectClass
9296       alias for ProxyObject to make it easier for the Twisted
9297       networking framework to integrate dbus.
9298
9299     * python/proxies.py (class ProxyObject): add the ProxyMethodClass
9300       alias for ProxyMethod to make it easier for the Twisted
9301       networking framework to integrate dbus.
9302
9303  glib/dbus-gmain.c |    8 +-------
9304  1 file changed, 1 insertion(+), 7 deletions(-)
9305
9306 commit 3c7dcbf8f47d3061fccdc315716c90a0b69a470f
9307 Author: Colin Walters <walters@verbum.org>
9308 Date:   2005-05-11 19:02:31 +0000
9309
9310     2005-05-11 Ross Burton <ross@burtonini.com>
9311
9312         * glib/dbus-glib-tool.c: Add --prefix argument.
9313         * glib/dbus-binding-tool-glib.h: Add prefix argument.
9314         * glib/dbus-binding-tool-glib.c (compute_marshaller_name):
9315         Add prefix argument.
9316         (generate_glue): Pass prefix argument down.
9317         (dbus_binding_tool_output_glib_server): Pass prefix to
9318         glib-genmarshal.
9319
9320  glib/dbus-binding-tool-glib.c |   16 ++++++++++------
9321  glib/dbus-binding-tool-glib.h |    2 +-
9322  glib/dbus-glib-tool.c         |    8 +++++++-
9323  3 files changed, 18 insertions(+), 8 deletions(-)
9324
9325 commit 55263b490f4dba73b1590939be2b087856487054
9326 Author: Colin Walters <walters@verbum.org>
9327 Date:   2005-05-03 17:45:29 +0000
9328
9329     2005-05-03 Ross Burton <ross@burtonini.com>
9330
9331         * glib/dbus-gobject.c (dbus_g_connection_register_g_object):
9332         Return if we get an error during registration.  Set up a
9333         weak reference on object to unregister if object is destroyed.
9334         (unregister_gobject): New function.
9335
9336  glib/dbus-gobject.c |   18 ++++++++++++++----
9337  1 file changed, 14 insertions(+), 4 deletions(-)
9338
9339 commit 260e1fecf1690bb12c5bf7d5ddf793d79a1efed5
9340 Author: David Zeuthen <david@fubar.dk>
9341 Date:   2005-04-19 03:35:19 +0000
9342
9343     2005-04-18 David Zeuthen <davidz@redhat.com>
9344
9345         * glib/dbus-gmain.c (io_handler_destroy_source):
9346         (timeout_handler_destroy_source, connection_setup_free):
9347         Also unref the source to avoid memory leaks.
9348
9349  glib/dbus-gmain.c |    3 +++
9350  1 file changed, 3 insertions(+)
9351
9352 commit 56288b6e3a9e5f8bd8920c5f7dac2a2b64842b15
9353 Author: Havoc Pennington <hp@redhat.com>
9354 Date:   2005-04-13 14:10:21 +0000
9355
9356     2005-04-13 Havoc Pennington <hp@redhat.com>
9357
9358         * glib/dbus-gmain.c (message_queue_dispatch): only dispatch one
9359         message at a time to avoid monopolizing the main loop, bug
9360         #2953 from Benjamin Otte
9361
9362  glib/dbus-gmain.c |    6 +++---
9363  1 file changed, 3 insertions(+), 3 deletions(-)
9364
9365 commit ca2ab9616ed7c6e936e495e64303f77956cb6b82
9366 Author: Havoc Pennington <hp@redhat.com>
9367 Date:   2005-04-09 23:50:58 +0000
9368
9369     2005-04-09 Havoc Pennington <hp@redhat.com>
9370
9371         * dbus/dbus-message-util.c (_dbus_message_test): fix signedness
9372         warning
9373
9374         * glib/dbus-glib-tool.c (main): fix warning
9375
9376         * glib/dbus-binding-tool-glib.c (generate_glue): fix warning
9377
9378         * dbus/dbus-connection.c (dbus_connection_read_write_dispatch):
9379         add a new function that can be used in simple applications that
9380         don't have a main loop and are willing to block
9381
9382  glib/dbus-binding-tool-glib.c |    3 +++
9383  glib/dbus-glib-tool.c         |    1 +
9384  2 files changed, 4 insertions(+)
9385
9386 commit b34961c0e5a75ff9f70e0ba439a96d993456ef92
9387 Author: David Zeuthen <david@fubar.dk>
9388 Date:   2005-04-06 17:36:47 +0000
9389
9390     2005-04-05 David Zeuthen <davidz@redhat.com>
9391
9392         Fix https://bugs.freedesktop.org/show_bug.cgi?id=2889
9393
9394         * glib/dbus-gmain.c:
9395         (io_handler_destroy_source): Remove from list of IO handlers
9396         of the ConnectionSetup object
9397         (timeout_handler_destroy_source): -do- for timeout handlers
9398         (io_handler_source_finalized): Don't remove from list since
9399         we now do that in io_handler_destroy_source(). Renamed from
9400         io_handler_source_destroyed
9401         (timeout_handler_source_destroyed): -do- for timeout handlers
9402         (connection_setup_free): It is now safe to iterate over all
9403         IO and timeout handlers as the _destroy_source removes them
9404         from the list synchronously
9405
9406  glib/dbus-gmain.c |   14 ++++++--------
9407  1 file changed, 6 insertions(+), 8 deletions(-)
9408
9409 commit 681e7deee9a01c1f315b0066b87204e0da207d99
9410 Author: Colin Walters <walters@verbum.org>
9411 Date:   2005-03-17 17:48:29 +0000
9412
9413     2005-03-17 Colin Walters <walters@verbum.org>
9414
9415         * bus/print-introspect.c: Move to tools/.
9416         * bus/run-with-tmp-session-bus.sh: Ditto.
9417
9418         * glib/Makefile.am (dbus-glib-bindings.h): Move
9419         generation to tools/Makefile.am.
9420
9421         * test/glib/run-test.sh: Update to handle move
9422         of run-with-tmp-session-bus.sh.
9423
9424         * test/glib/test-service-glib.c: Update to handle
9425         move of dbus-glib-bindings.h.
9426
9427         * tools/print-introspect.c: Moved here
9428         from bus/, and ported to GLib bindings.
9429
9430         * tools/run-with-tmp-session-bus.sh: Moved here
9431         from bus/.
9432
9433         * tools/Makefile.am: Generate dbus-glib-bindings.h
9434         and dbus-bus-introspect.xml here.
9435
9436         * tools/.cvsignore, glib/.cvsignore, bus/.cvsignore:
9437         Update.
9438
9439  glib/.cvsignore  |    1 -
9440  glib/Makefile.am |    8 --------
9441  2 files changed, 9 deletions(-)
9442
9443 commit 1cc2659deb9f108f449ad3ca8f18bff743a4cd81
9444 Author: Colin Walters <walters@verbum.org>
9445 Date:   2005-03-12 20:07:21 +0000
9446
9447     2005-03-12 Colin Walters <walters@verbum.org>
9448
9449         * bus/driver.c (write_args_for_direction): New function,
9450         parses a type signature into arguments and outputs to
9451         XML.
9452         (bus_driver_handle_introspect): Use it instead of
9453         hardcoding XML for certain signatures.
9454
9455         * bus/Makefile.am (dbus-bus-introspect.xml): Add
9456         dependency on dbus-daemon.
9457
9458         * glib/dbus-glib-tool.c (main): Parse ignore_unsupported
9459         argument, pass it to dbus_binding_tool_output_glib_client.
9460
9461         * glib/dbus-binding-tool-glib.c
9462         (generate_client_glue): Protect against multiple inclusion.
9463         (dbus_binding_tool_output_glib_client): Add
9464         G_BEGIN_DECLS/G_END_DECLS.
9465
9466         * glib/dbus-binding-tool-glib.c (compute_client_method_name):
9467         Change to just take iface prefix directly.
9468         (write_formal_parameters): Clarify error message.
9469         (check_supported_parameters): New function; checks to see type
9470         signatures of method parameters are supported.
9471         (generate_client_glue): Handle ignore_unsupported flag.
9472         (dbus_binding_tool_output_glib_client): Handle ignore_unsupported
9473         parameter.
9474
9475         * glib/Makefile.am (dbus-glib-bindings.h): Pass
9476         --ignore-unsupported by default until glib bindings
9477         support arrays.
9478
9479  glib/Makefile.am              |    2 +-
9480  glib/dbus-binding-tool-glib.c |   64
9481  +++++++++++++++++++++++++++++++++++------
9482  glib/dbus-binding-tool-glib.h |    2 +-
9483  glib/dbus-glib-tool.c         |    6 +++-
9484  4 files changed, 63 insertions(+), 11 deletions(-)
9485
9486 commit c5247484ea45ef9b6b3449a71e3ea80b86de03ad
9487 Author: Colin Walters <walters@verbum.org>
9488 Date:   2005-03-12 16:33:00 +0000
9489
9490     2005-03-11 Colin Walters <walters@verbum.org>
9491
9492         * glib/Makefile.am: Generate dbus-glib-bindings.h and
9493         install it.
9494
9495         * bus/print-introspect.c: New file; prints introspection
9496         data for a given name and object path.
9497
9498         * bus/run-with-tmp-session-bus.sh: New file, refactored
9499         from test/glib/run-test.sh.  Creates a temporary session
9500         bus and runs another program.
9501
9502         * test/glib/run-test.sh: Refactor to invoke
9503         run-with-tmp-session-bus.sh.
9504
9505         * bus/driver.c (bus_driver_handle_introspect): Fix to print new
9506         introspection format.  Also change to use DBUS_TYPE_x_AS_STRING
9507         macros instead of hardcoding.
9508
9509         * glib/.cvsignore, bus/.cvsignore, test/glib/.cvsignore: Update.
9510
9511  glib/.cvsignore  |    1 +
9512  glib/Makefile.am |    8 ++++++++
9513  2 files changed, 9 insertions(+)
9514
9515 commit 10dc75239d071c49622972d061ff7546ed169bc5
9516 Author: Colin Walters <walters@verbum.org>
9517 Date:   2005-03-09 17:09:11 +0000
9518
9519     2005-03-09 Colin Walters <walters@verbum.org>
9520
9521         * glib/dbus-gproxy.c (dbus_g_proxy_invoke): New method; calls
9522         to this are generated for client-side wrappers.  Invokes a
9523         D-BUS method and returns reply values.
9524
9525         * glib/dbus-binding-tool-glib.c (write_args_sig_for_direction):
9526         New
9527         function; writes signature string for argument direction.
9528         (write_args_for_direction): Change to pass input values directly
9529         instead of via address, and fix indentation.
9530         (generate_client_glue): Change to invoke dbus_g_proxy_invoke.
9531         Also
9532         make generated wrappers inlineable.
9533
9534         * dbus/dbus-message.c (dbus_message_iter_get_fixed_array): Add
9535         note about using dbus_type_is_fixed.
9536
9537         * dbus/dbus-marshal-basic.c (_dbus_type_is_fixed): Moved to
9538         dbus/dbus-signature.c as dbus_type_is_fixed.
9539
9540         All callers updated.
9541
9542         * dbus/dbus-signature.c (dbus_type_is_fixed): Moved here
9543         from dbus/dbus-marshal-basic.c:_dbus_type_is_fixed.
9544
9545         * dbus/dbus-signature.h: Prototype.
9546
9547         * glib/dbus-binding-tool-glib.c (compute_marshaller_name): Fix
9548         error printf code.
9549
9550         * test/glib/test-dbus-glib.c (main): Be sure to clear error as
9551         appropriate instead of just freeing it.
9552         (main): Free returned strings using g_free.
9553
9554         * test/glib/Makefile.am (test-service-glib-glue.h)
9555         (test-service-glib-bindings.h): Add dependency on
9556         dbus-binding-tool.
9557
9558         * glib/dbus-gvalue.c (MAP_BASIC): Refactored from MAP_BASIC_INIT;
9559         simply maps a simple D-BUS type to GType.
9560         (dbus_dbus_type_to_gtype): Function which maps D-BUS type to
9561         GType.
9562         (dbus_gvalue_init): Just invoke dbus_dbus_type_to_gtype and
9563         initialize the value with it.
9564         (dbus_gvalue_binding_type_from_type): Unused, delete.
9565         (dbus_gvalue_demarshal): Switch to hardcoding demarshalling for
9566         various types instead of unmarshalling to value data directly.
9567         Remove can_convert boolean.
9568         (dbus_gvalue_marshal): Remove duplicate initialization; switch to
9569         returning directly instead of using can_convert boolean.
9570         (dbus_gvalue_store): New function; not related to D-BUS per-se.
9571         Stores a GValue in a pointer to a value of its corresponding C
9572         type.
9573
9574         * glib/dbus-gvalue.h: Remove dbus_gvalue_binding_type_from_type,
9575         add dbus_gvalue_store.
9576
9577  glib/dbus-binding-tool-glib.c |   73 ++++++------
9578  glib/dbus-gproxy.c            |  205 +++++++++++++++++++++++++++++++++
9579  glib/dbus-gvalue.c            |  254
9580  +++++++++++++++++++++++------------------
9581  glib/dbus-gvalue.h            |    4 +-
9582  4 files changed, 392 insertions(+), 144 deletions(-)
9583
9584 commit 61b05621beeb5a929bf68b95fdb9cb63516c1c7e
9585 Author: John (J5) Palmieri <johnp@redhat.com>
9586 Date:   2005-03-07 21:10:46 +0000
9587
9588     * NEWS: Update for 0.31
9589
9590     * configure.in: Release 0.31
9591       add LT_CURRENT, LT_REVISION, LT_AGE for easy soname bumping
9592
9593     * qt/Makefile.am: fixed build
9594
9595     * dbus/Makefile.am: soname bump for libdbus
9596
9597     * glib/Makefile.am: soname bump for libdbus-glib
9598
9599  glib/Makefile.am |    2 +-
9600  1 file changed, 1 insertion(+), 1 deletion(-)
9601
9602 commit be6ef9488ddc1b9fd3fc303cccf6e6618450be89
9603 Author: Colin Walters <walters@verbum.org>
9604 Date:   2005-02-27 17:38:12 +0000
9605
9606     2005-02-27 Colin Walters <walters@verbum.org>
9607
9608         * glib/dbus-gidl.c (property_info_get_type, arg_info_get_type):
9609         Change return value to const char * instead of int so we can do
9610         full signatures.
9611         (struct PropertyInfo, struct ArgInfo): Store char *.
9612         (property_info_new, arg_info_new): Update parameters, strdup.
9613         (property_info_unref, arg_info_unref): Free.
9614
9615         * glib/dbus-gidl.h: Update prototypes.
9616
9617         * glib/dbus-gparser.c (basic_type_from_string): Delete.
9618         (validate_signature): New function, just validates signature and
9619         sets GError.
9620         (parse_property, parse_arg): Invoke validate_signature.  Store
9621         signature instead of just type code.
9622
9623         * glib/dbus-gvalue.c (base_type_from_signature): New utility
9624         function to return a primary type for a signature, dropping
9625         information about types in container types.
9626         (dbus_gvalue_genmarshal_name_from_type)
9627         (dbus_gvalue_binding_type_from_type)
9628         (dbus_gvalue_ctype_from_type): Update to take full signature
9629          instead of type code.
9630         (dbus_gtype_to_dbus_type): Moved here from glib/dbus-gobject.c.
9631
9632         * glib/dbus-gvalue.h: Update prototypes for above.
9633
9634         * glib/dbus-gobject.c (gtype_to_dbus_type): Moved to
9635         glib/dbus-gvalue.c as dbus_gtype_to_dbus_type.
9636         (introspect_properties, introspect_signals, write_interface):
9637         Update to handle signatures, and remove usage of
9638         _dbus_gutils_type_to_string.
9639         (handle_introspect): Print out type codes instead of e.g. "string"
9640         in hardcoded introspection XML; also use x_AS_STRING constants
9641         instead of hardcoding in string.
9642
9643         * glib/dbus-glib-tool.c (pretty_print): Handle signature change
9644         to string.  Remove usage of _dbus_gutils_type_to_string.
9645
9646         * glib/dbus-gutils.c (_dbus_gutils_type_to_string): Delete.
9647
9648         * glib/dbus-gutils.h (_dbus_gutils_type_to_string): Update for
9649         deletion.
9650
9651         * glib/dbus-binding-tool-glib.c (compute_marshaller)
9652         (compute_marshaller_name, generate_glue): Handle signature change
9653         to string.
9654         (write_formal_parameters, write_args_for_direction): Ditto, and
9655         remove FIXME.
9656
9657         * tools/dbus-tree-view.c (type_to_string): Delete.
9658         (info_set_func_text): Update to print full signatures.
9659
9660         * test/glib/test-service-glib.xml: Change types to new
9661         introspection format.
9662
9663  glib/dbus-binding-tool-glib.c |   20 ++++++------
9664  glib/dbus-gidl.c              |   18 ++++++-----
9665  glib/dbus-gidl.h              |    8 ++---
9666  glib/dbus-glib-tool.c         |    8 ++---
9667  glib/dbus-gobject.c           |   69
9668  ++++++++-------------------------------
9669  glib/dbus-gparser.c           |   72
9670  +++++++++--------------------------------
9671  glib/dbus-gutils.c            |   42 ------------------------
9672  glib/dbus-gutils.h            |    1 -
9673  glib/dbus-gvalue.c            |   71
9674  ++++++++++++++++++++++++++++++++++++++--
9675  glib/dbus-gvalue.h            |    8 +++--
9676  10 files changed, 131 insertions(+), 186 deletions(-)
9677
9678 commit 662755210c931da87972398ded13d4651e3d3fec
9679 Author: John (J5) Palmieri <johnp@redhat.com>
9680 Date:   2005-02-24 22:01:34 +0000
9681
9682     glib/Makefile.am: added dbus-gobject.h to sources list
9683
9684     so distcheck doesn't fail
9685
9686  glib/Makefile.am |    1 +
9687  1 file changed, 1 insertion(+)
9688
9689 commit 0573676ce932874b07780036eaeaa42a6f3e1628
9690 Author: Colin Walters <walters@verbum.org>
9691 Date:   2005-02-19 23:25:41 +0000
9692
9693     2005-02-19 Colin Walters <walters@verbum.org>
9694
9695         * glib/dbus-binding-tool-glib.c
9696         (dbus_binding_tool_output_glib_server): Fix iochannel refcounting.
9697
9698         * glib/dbus-glib-tool.c: Include dbus-glib-tool.h, as well
9699         as errno.h and sys/stat.h.
9700         (lose): New function, prints error with
9701         newline and exits.
9702         (lose_gerror): Similar, but takes GError for message.
9703         (main): Add --output argument to specify output file to write to,
9704         instead of always printing to stdout.  In this mode, determine
9705         timestamps on source files to see whether any are newer than the
9706         target file.  If not, exit.  Also convert a number of error
9707         messages to use lose (since it's shorter), and switch to using
9708         g_io_channel_shutdown.
9709
9710  glib/dbus-binding-tool-glib.c |    2 +-
9711  glib/dbus-glib-tool.c         |  119
9712  +++++++++++++++++++++++++++++++----------
9713  2 files changed, 91 insertions(+), 30 deletions(-)
9714
9715 commit 7ff788981218b324d0eeec16fa4b7bb9ec97d694
9716 Author: Havoc Pennington <hp@redhat.com>
9717 Date:   2005-02-19 16:17:29 +0000
9718
9719     2005-02-19 Havoc Pennington <hp@redhat.com>
9720
9721         * glib/dbus-gobject.c
9722         (_dbus_glib_marshal_dbus_message_to_gvalue_array): add docs
9723
9724         * glib/dbus-glib.c: fix doxygen warnings
9725
9726         * glib/dbus-gparser.c (parse_annotation): error if an annotation
9727         is found on an <arg>
9728
9729  glib/dbus-glib.c    |    8 ++++----
9730  glib/dbus-gobject.c |    8 +++++++-
9731  glib/dbus-gparser.c |    4 +---
9732  3 files changed, 12 insertions(+), 8 deletions(-)
9733
9734 commit 03186401718758948242881cf429bdbb48eb8474
9735 Author: Colin Walters <walters@verbum.org>
9736 Date:   2005-02-18 03:14:33 +0000
9737
9738     2005-02-17 Colin Walters <walters@verbum.org>
9739
9740         * glib/dbus-gobject.h: Don't export
9741         _dbus_glib_marshal_dbus_message_to_gvalue_array.
9742
9743         * glib/dbus-gobject.c
9744         (_dbus_glib_marshal_dbus_message_to_gvalue_array): Do rename.
9745         (invoke_object_method): Handle it.
9746
9747         * glib/dbus-gproxy.c (marshal_dbus_message_to_g_marshaller):
9748         Handle rename.
9749
9750  glib/dbus-gobject.c |    4 ++--
9751  glib/dbus-gobject.h |    2 +-
9752  glib/dbus-gproxy.c  |    2 +-
9753  3 files changed, 4 insertions(+), 4 deletions(-)
9754
9755 commit a6e8deb82f6202628fcb3b9b3a616d0a98598474
9756 Author: Colin Walters <walters@verbum.org>
9757 Date:   2005-02-17 21:19:48 +0000
9758
9759     2005-02-17 Colin Walters <walters@verbum.org>
9760
9761         * dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_DBUS):
9762         Rename to DBUS_SERVICE_DBUS.
9763         (DBUS_PATH_ORG_FREEDESKTOP_DBUS): Rename to DBUS_PATH_DBUS.
9764         (DBUS_PATH_ORG_FREEDESKTOP_LOCAL): Rename to DBUS_PATH_LOCAL.
9765         (DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS): Rename to
9766         DBUS_INTERFACE_DBUS.
9767         (DBUS_INTERFACE_ORG_FREEDESKTOP_INTROSPECTABLE): Rename to
9768         DBUS_INTERFACE_INTROSPECTABLE.
9769         (DBUS_INTERFACE_ORG_FREEDESKTOP_PROPERTIES): Rename to
9770         DBUS_INTERFACE_PROPERTIES.
9771         (DBUS_INTERFACE_ORG_FREEDESKTOP_PEER): Rename to
9772         DBUS_INTERFACE_PEER.
9773         (DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL):
9774         DBUS_INTERFACE_LOCAL.
9775
9776         All other users of those constants have been changed.
9777
9778         * bus/driver.c (bus_driver_handle_introspect): Use constants.
9779
9780         * glib/dbus-gobject.c (handle_introspect): Use constants.
9781
9782         * doc/dbus-faq.xml, doc/dbus-specification.xml: Update for rename.
9783
9784  glib/dbus-gobject.c |   10 +++++-----
9785  glib/dbus-gproxy.c  |    8 ++++----
9786  2 files changed, 9 insertions(+), 9 deletions(-)
9787
9788 commit b085dcd0556e82c8fe347cc4bedd2e5b9b876a95
9789 Author: Colin Walters <walters@verbum.org>
9790 Date:   2005-02-17 21:11:18 +0000
9791
9792     2005-02-17 Colin Walters <walters@verbum.org>
9793
9794         * glib/dbus-gparser.c (struct Parser): Add in_annotation boolean.
9795         (parse_node, parse_interface, parse_method, parse_signal)
9796         (parse_property, parse_annotation): Lose if we're currently in an
9797         annotation.
9798         (parse_annotation): New function.
9799         (parser_start_element, parser_end_element): Handle annotation.
9800         (parse_method, parse_interface): Remove support for c_name
9801         attribute,
9802         switch to annotations.
9803
9804         * glib/dbus-gidl.h (interface_info_get_binding_names)
9805         (method_info_get_binding_names)
9806         (interface_info_get_binding_name, method_info_get_binding_name)
9807         (interface_info_set_binding_name, method_info_set_binding_name):
9808         Remove.
9809         (interface_info_get_annotations, method_info_get_annotations)
9810         (interface_info_get_annotation, method_info_get_annotation)
9811         (interface_info_add_annotation, method_info_add_annotation):
9812         Prototype.
9813
9814         * glib/dbus-gidl.c (struct InterfaceInfo): Substitute
9815         "annotations"
9816         for "bindings".
9817         (struct MethodInfo): Ditto.
9818         Straightfoward conversion of binding methods into annotation
9819         methods
9820         as prototyped.
9821
9822         * glib/dbus-glib-tool.c (pretty_print): Print annotations.
9823
9824         * glib/dbus-binding-tool-glib.h (DBUS_GLIB_ANNOTATION_C_SYMBOL):
9825         Define.
9826
9827         * glib/dbus-binding-tool-glib.c (gather_marshallers,
9828         generate_glue):
9829         Use new annotation API.
9830
9831         * doc/introspect.dtd: Fix a number of DTD syntax errors.  Add
9832         annotation element.
9833
9834         * doc/dbus-specification.xml: Discuss introspection annotations,
9835         include list of well-known annotations.
9836
9837         * test/glib/test-service-glib.xml: Make validate against new DTD.
9838
9839  glib/dbus-binding-tool-glib.c |   10 ++---
9840  glib/dbus-binding-tool-glib.h |    2 +
9841  glib/dbus-gidl.c              |   60 ++++++++++++++--------------
9842  glib/dbus-gidl.h              |   24 +++++------
9843  glib/dbus-glib-tool.c         |   30 +++++++-------
9844  glib/dbus-gparser.c           |   88
9845  ++++++++++++++++++++++++++++++++++++-----
9846  6 files changed, 143 insertions(+), 71 deletions(-)
9847
9848 commit 87e81b87d7b443142302ecb48e46191a443ae02a
9849 Author: Colin Walters <walters@verbum.org>
9850 Date:   2005-02-17 17:41:24 +0000
9851
9852     2005-02-17 Colin Walters <walters@verbum.org>
9853
9854         This patch is based on initial work from
9855         Paul Kuliniewicz <kuliniew@purdue.edu>.
9856
9857         * glib/dbus-gvalue.c (dbus_gvalue_init): New function; move
9858         initialization of GValue from dbus type to here.
9859         (dbus_gvalue_genmarshal_name_from_type): New function; generates
9860         a string
9861         for the "glib-genmarshal" program from a DBus type.
9862         (dbus_gvalue_binding_type_from_type): New function; turns a
9863         DBus type
9864         into the C name for it we use in the glib bindings.
9865         (dbus_gvalue_ctype_from_type): New function; maps a DBus type
9866         into a
9867         glib C type (not GValue).
9868         (dbus_gvalue_demarshal): invoke dbus_gvalue_init.
9869
9870         * glib/dbus-gutils.c (_dbus_gutils_wincaps_to_uscore): Moved here
9871         from dbus-gobject.c.
9872
9873         * glib/dbus-gutils.h: Prototype it.
9874
9875         * glib/dbus-gproxy.c: Include new dbus-gobject.h.
9876         (marshal_dbus_message_to_g_marshaller): Use new shared function
9877         dbus_glib_marshal_dbus_message_to_gvalue_array.
9878
9879         * glib/dbus-gparser.c (parse_interface, parse_method): Handle
9880         c_name attribute.
9881         Will be changed once we have annotations.
9882
9883         * glib/dbus-gobject.c: Change info_hash_mutex from GStaticMutex to
9884         GStaticRWLock.  Callers updated.
9885         (wincaps_to_uscore): Move to dbus-gutils.c.  Callers updated.
9886         (string_table_next): New function for iterating over
9887         zero-terminated
9888         string value array.
9889         (string_table_lookup): New function; retrieves specific entry in
9890         array.
9891         (get_method_data): New function; look up method data in object
9892         data chunk.
9893         (object_error_domain_prefix_from_object_info)
9894         (object_error_code_from_object_info): New functions, but not
9895         implemented yet.
9896         (method_interface_from_object_info): New function; retrieve
9897         interface name.
9898         (method_name_from_object_info): New function; retrieve method
9899         name.
9900         (method_arg_info_from_object_info): New function; retrieve
9901         argument data.
9902         (arg_iterate): New function; iterates over serialized argument
9903         data.
9904         (method_dir_signature_from_object_info): New function; returns a
9905         GString holding type signature for arguments for just one
9906         direction (input or output).
9907         (method_input_signature_from_object_info)
9908         (method_output_signature_from_object_info): New functions.
9909         (dbus_glib_marshal_dbus_message_to_gvalue_array): New shared
9910         function;
9911         converts dbus message arguments into a GValue array.  Used for
9912         both
9913         signal handling and method invocation.
9914         (struct DBusGlibWriteIterfaceData): New utility structure.
9915         (write_interface): New function; generate introspection XML for
9916         an interface.
9917         (introspect_interfaces): New function; gathers all
9918         interface->methods,
9919         generates introspection XML for them.
9920         (handle_introspect): Invoke introspect_interfaces.
9921         (get_object_property): Be sure to zero-initalize stack-allocated
9922         GValue.
9923         (lookup_object_and_method): New function; examines an incoming
9924         message
9925         and attempts to match it up (via interface, method name,
9926         and argument
9927         signature) with a known object and method.
9928         (gerror_domaincode_to_dbus_error_name): New function; converts a
9929         GError domain and code into a DBus error name.  Needs GError data
9930         added to object introspection to work well.
9931         (gerror_to_dbus_error_message): Creates a DBusMessage error
9932         return from
9933         GError.
9934         (invoke_object_method): New function to invoke an object method
9935         looked up via lookup_object_and_method.  Parses the incoming
9936         message, turns it into a GValue array, then invokes the marshaller
9937         specified in the DBusGMethodInfo.  Creates a new message with
9938         either return values or error message as appropriate.
9939         (gobject_message_function): Invoke lookup_object_and_method and
9940         invoke_object_method.
9941
9942         * glib/dbus-glib-tool.c: Include dbus-binding-tool-glib.h.
9943         (enum DBusBindingOutputMode): New enum for binding output modes.
9944         (pretty_print): Print binding names.
9945         (dbus_binding_tool_error_quark): GError bits.
9946         (version): Fix typo.
9947         (main): Create GIOChannel for output.  Parse new --mode argument,
9948         possible values are "pretty-print", "glib-server", "glib-client".
9949         Use mode to invoke appropriate function.
9950
9951         * glib/dbus-gobject.h: Prototype
9952         dbus_glib_marshal_dbus_message_to_gvalue_array.
9953
9954         * glib/dbus-glib-tool.h: New header, just includes GError bits
9955         for now.
9956
9957         * glib/dbus-gidl.c (struct InterfaceInfo): Add bindings hashtable;
9958         maps binding style to name.
9959         (struct MethodInfo): Ditto.
9960         (get_hash_keys, get_hash_key): Utility function, returns keys for
9961         a GHashTable.
9962         (interface_info_new, method_info_new): Initialize bindings.
9963         (interface_info_unref, method_info_unref): Destroy bindings.
9964         (method_info_get_binding_names, method_info_get_binding_name)
9965         (interface_info_get_binding_names,
9966         interface_info_get_binding_name):
9967         Functions for retrieving binding names.
9968         (method_info_set_binding_name, interface_info_set_binding_name):
9969         Functions for setting binding names.
9970
9971         * glib/dbus-binding-tool-glib.h: New file, has prototypes
9972         for glib binding generation.
9973
9974         * glib/dbus-binding-tool-glib.c: New file, implements server-side
9975         and client-side glib glue generation.
9976
9977         * glib/Makefile.am (dbus_binding_tool_SOURCES): Add
9978         dbus-binding-tool-glib.c, dbus-binding-tool-glib.h,
9979         dbus-glib-tool.h.
9980
9981         * dbus/dbus-glib.h (struct DBusGMethodMarshaller): Remove in favor
9982         of using GClosureMarshal directly.
9983         (struct DBusGObjectInfo): Add n_infos member.
9984
9985         * test/glib/test-service-glib.xml: New file; contains
9986         introspection data
9987         for MyTestObject used in test-service-glib.c.
9988
9989         * test/glib/test-service-glib.c (enum MyObjectError): New
9990         GError enum.
9991         (my_object_do_nothing, my_object_increment, my_object_throw_error)
9992         (my_object_uppercase, my_object_many_args): New test methods.
9993         (main): Use dbus_g_object_class_install_info to include generated
9994         object
9995         info.
9996
9997         * test/glib/Makefile.am: Generate server-side glue for
9998         test-service-glib.c,
9999         as well as client-side bindings.
10000
10001         * test/glib/test-dbus-glib.c: Include
10002         test-service-glib-bindings.h.
10003         (main): Activate TestSuiteGLibService; test invoke a bunch of
10004         its methods
10005         using both the dbus_gproxy stuff directly as well as the
10006         generated bindings.
10007
10008  glib/Makefile.am              |    3 +
10009  glib/dbus-binding-tool-glib.c |  812
10010  +++++++++++++++++++++++++++++++++++++++++
10011  glib/dbus-binding-tool-glib.h |   33 ++
10012  glib/dbus-gidl.c              |   73 ++++
10013  glib/dbus-gidl.h              |   14 +-
10014  glib/dbus-glib-tool.c         |  120 +++++-
10015  glib/dbus-glib-tool.h         |   37 ++
10016  glib/dbus-gobject.c           |  596 +++++++++++++++++++++++++++---
10017  glib/dbus-gobject.h           |   35 ++
10018  glib/dbus-gparser.c           |    8 +
10019  glib/dbus-gproxy.c            |   52 +--
10020  glib/dbus-gutils.c            |   28 ++
10021  glib/dbus-gutils.h            |    1 +
10022  glib/dbus-gvalue.c            |  171 ++++++++-
10023  glib/dbus-gvalue.h            |   28 +-
10024  15 files changed, 1889 insertions(+), 122 deletions(-)
10025
10026 commit dd22216537d98b06366ade81eb6f63621d4c6379
10027 Author: Havoc Pennington <hp@redhat.com>
10028 Date:   2005-02-16 04:37:27 +0000
10029
10030     2005-02-15 Havoc Pennington <hp@redhat.com>
10031
10032         * dbus/dbus-connection.c (dbus_connection_dispatch): always
10033         complete a pending call, don't run filters first.
10034
10035         * glib/dbus-gproxy.c (dbus_g_proxy_end_call): change to use
10036         dbus_pending_call_steal_reply
10037
10038         * dbus/dbus-pending-call.c (dbus_pending_call_block): just call
10039         _dbus_connection_block_pending_call
10040         (dbus_pending_call_get_reply): change to steal_reply and return a
10041         ref
10042
10043         * dbus/dbus-connection.c
10044         (dbus_connection_send_with_reply_and_block): port to work in terms
10045         of DBusPendingCall
10046         (_dbus_connection_block_pending_call): replace block_for_reply
10047         with this
10048
10049  glib/dbus-gproxy.c |    5 ++++-
10050  1 file changed, 4 insertions(+), 1 deletion(-)
10051
10052 commit 3ce5325735aae6b1d4e6a28b45465a586710d23e
10053 Author: Havoc Pennington <hp@redhat.com>
10054 Date:   2005-02-12 20:27:45 +0000
10055
10056     2005-02-12 Havoc Pennington <hp@redhat.com>
10057
10058         * tools/dbus-tree-view.c (info_set_func_text): display more
10059         details on args
10060
10061         * bus/driver.c (bus_driver_handle_list_services): list the bus
10062         driver
10063
10064         * glib/dbus-gparser.c (parse_arg): generate an arg name if none
10065         is supplied
10066
10067         * glib/dbus-gidl.c (signal_info_get_n_args): new function
10068         (method_info_get_n_args): new function
10069
10070  glib/dbus-gidl.c    |   12 ++++++++++++
10071  glib/dbus-gidl.h    |    2 ++
10072  glib/dbus-gparser.c |   13 ++++++++++++-
10073  3 files changed, 26 insertions(+), 1 deletion(-)
10074
10075 commit 89113d257f1f75cea5d0f39bbca4785afc784bf2
10076 Author: Havoc Pennington <hp@redhat.com>
10077 Date:   2005-02-10 23:47:54 +0000
10078
10079     2005-02-10 Havoc Pennington <hp@redhat.com>
10080
10081         * dbus/dbus-object-tree.c (handle_default_introspect_and_unlock):
10082         change to be _and_unlock instead of _unlocked
10083
10084         * dbus/dbus-connection.c
10085         (_dbus_connection_send_preallocated_unlocked_no_update): rename to
10086         have no_update so we can find this bug quickly in future
10087
10088  glib/dbus-gthread.c |    2 ++
10089  1 file changed, 2 insertions(+)
10090
10091 commit 116d931394d42412595e64185cd9cb97444cd653
10092 Author: Havoc Pennington <hp@redhat.com>
10093 Date:   2005-02-05 04:15:57 +0000
10094
10095     2005-02-04 Havoc Pennington <hp@redhat.com>
10096
10097         * glib/dbus-gproxy.c (dbus_g_proxy_disconnect_signal): use
10098         g_quark_try_string() so it actually can return 0
10099         (dbus_g_proxy_connect_signal): ditto
10100
10101     2005-02-04  Havoc Pennington  <hp@redhat.com>
10102
10103         * glib/dbus-gproxy.c (dbus_g_proxy_emit_remote_signal): fix a
10104         bogus warning
10105         (tristring_from_message): assert cleanly on null path/interface
10106         (should not be possible though I decided later)
10107         (dbus_g_proxy_dispose): move proxy manager unregistration here
10108         (DBUS_G_PROXY_DESTROYED): add this macro, and use it in a bunch of
10109         g_return_if_fail() checks
10110
10111  glib/dbus-gproxy.c |   59
10112  ++++++++++++++++++++++++++++++++++++++++------------
10113  1 file changed, 46 insertions(+), 13 deletions(-)
10114
10115 commit 1fdc099a4ed729871597c501a9015ec2855bebc2
10116 Author: Havoc Pennington <hp@redhat.com>
10117 Date:   2005-01-31 23:17:18 +0000
10118
10119     2005-01-31 Havoc Pennington <hp@redhat.com>
10120
10121         * glib/dbus-gproxy.c: rewrite how signals work again, this time I
10122         think it's sort of right
10123
10124  glib/dbus-gproxy.c |  334
10125  ++++++++++++++++++++++++++++++----------------------
10126  1 file changed, 194 insertions(+), 140 deletions(-)
10127
10128 commit 463fb506e9661849d9838aedbdf4b7febe8e132e
10129 Author: Havoc Pennington <hp@redhat.com>
10130 Date:   2005-01-31 02:55:12 +0000
10131
10132     2005-01-30 Havoc Pennington <hp@redhat.com>
10133
10134         * tools/dbus-names-model.c: dynamically watch NameOwnerChanged
10135
10136         * autogen.sh: change to autotools 1.9
10137
10138         * glib/dbus-gproxy.c: completely change how signals work
10139         (dbus_g_proxy_add_signal): new function to specify signature of a
10140         signal
10141         (dbus_g_proxy_emit_received): marshal the dbus message to GValues,
10142         and g_warning if the incoming message has the wrong signature.
10143
10144  glib/Makefile.am        |   11 ++
10145  glib/dbus-gmarshal.c    |   89 ++++++++++++
10146  glib/dbus-gmarshal.h    |   21 +++
10147  glib/dbus-gmarshal.list |    1 +
10148  glib/dbus-gproxy.c      |  345
10149  ++++++++++++++++++++++++++++++++++++-----------
10150  5 files changed, 390 insertions(+), 77 deletions(-)
10151
10152 commit c39a68d373c1f73a3bb7d0f45287cee1cd8eff55
10153 Author: Havoc Pennington <hp@redhat.com>
10154 Date:   2005-01-30 23:06:32 +0000
10155
10156     2005-01-30 Havoc Pennington <hp@redhat.com>
10157
10158         * glib/dbus-glib.c (dbus_g_pending_call_set_notify): new function
10159         (dbus_g_pending_call_cancel): new function
10160
10161         * dbus/dbus-glib.h: move GType decls for connection/message here;
10162         * dbus/dbus-glib.c: move all the g_type and ref/unref stuff in
10163         here, just kind of rationalizing how we handle all that
10164
10165         * tools/dbus-names-model.c: new file for a tree model listing the
10166         services on a bus
10167
10168         * tools/dbus-tree-view.c (model_new): use proper typing on the
10169         model rows
10170
10171  glib/dbus-glib.c   |  335
10172  ++++++++++++++++++++++++++++++++++++++++++++++++++++
10173  glib/dbus-gmain.c  |  172 ---------------------------
10174  glib/dbus-gproxy.c |   32 +----
10175  3 files changed, 338 insertions(+), 201 deletions(-)
10176
10177 commit 967f6acd6c220b0be691edd18d9a636f4d16fbaf
10178 Author: Havoc Pennington <hp@redhat.com>
10179 Date:   2005-01-30 20:06:52 +0000
10180
10181     2005-01-30 Havoc Pennington <hp@redhat.com>
10182
10183         * glib/dbus-gmain.c: add a custom GSource back that just checks
10184         whether the message queue has anything in it; otherwise, there are
10185         cases where we won't see messages in the queue since there was no
10186         IO visible to the glib main loop
10187
10188         * dbus/dbus-connection-internal.h (_DBUS_DEFAULT_TIMEOUT_VALUE):
10189         increase default message timeout to 25 seconds
10190
10191  glib/dbus-gmain.c |   93
10192  +++++++++++++++++++++++++++++++++++++++++++++++++----
10193  1 file changed, 86 insertions(+), 7 deletions(-)
10194
10195 commit af3c2731c74f014c0713a52d66027a9428c1ddaf
10196 Author: Havoc Pennington <hp@redhat.com>
10197 Date:   2005-01-30 19:33:29 +0000
10198
10199     2005-01-30 Havoc Pennington <hp@redhat.com>
10200
10201         * glib/dbus-gmain.c: rewrite the main loop stuff to avoid the
10202         custom source, seems to be a lot easier to understand and work
10203         better.
10204
10205  glib/dbus-gmain.c |  653
10206  +++++++++++++++++++++++++----------------------------
10207  1 file changed, 313 insertions(+), 340 deletions(-)
10208
10209 commit 32587c38401f16a9477f7ea7868120645d072462
10210 Author: Havoc Pennington <hp@redhat.com>
10211 Date:   2005-01-30 18:25:14 +0000
10212
10213     2005-01-30 Havoc Pennington <hp@redhat.com>
10214
10215             I think this main loop thing is conceptually broken, but
10216             here are
10217         some band aids. I'll maybe rewrite it in a minute.
10218
10219         * glib/dbus-gmain.c (add_timeout): timeout stuff doesn't use the
10220         custom GSource, so don't pass it in; confusing
10221         (gsource_server_finalize, gsource_connection_finalize): add
10222         finalize handlers that remove all the watches.
10223
10224  glib/dbus-gmain.c |   90
10225  +++++++++++++++++++++++++++++++++++++++++++----------
10226  1 file changed, 74 insertions(+), 16 deletions(-)
10227
10228 commit 4b7acbbfacaa37ce399df1ce616920c09750ae60
10229 Author: Havoc Pennington <hp@redhat.com>
10230 Date:   2005-01-30 07:44:08 +0000
10231
10232     2005-01-30 Havoc Pennington <hp@redhat.com>
10233
10234         * glib/dbus-gobject.c (introspect_properties): fix the XML
10235         generated
10236
10237         * dbus/dbus-message.c (dbus_message_unref): add an in_cache flag
10238         which effectively detects the use of freed messages
10239
10240         * glib/dbus-gobject.c (handle_introspect): modify and return the
10241         reply message instead of the incoming message
10242
10243         * dbus/dbus-object-tree.c (handle_default_introspect_unlocked):
10244         gee, maybe it should SEND THE XML instead of just making a string
10245         and freeing it again ;-)
10246
10247         * tools/dbus-print-message.c (print_message): improve printing of
10248         messages
10249
10250         * configure.in: add debug-glib.service to the output
10251
10252  glib/dbus-gobject.c |   10 +++++-----
10253  glib/dbus-gparser.c |    2 ++
10254  2 files changed, 7 insertions(+), 5 deletions(-)
10255
10256 commit 71181795196712bbb64d721464f42432997c7d0c
10257 Author: Havoc Pennington <hp@redhat.com>
10258 Date:   2005-01-30 05:18:44 +0000
10259
10260     2005-01-30 Havoc Pennington <hp@redhat.com>
10261
10262             dbus-viewer introspected and displayed the bus driver
10263
10264         * dbus/dbus-object-tree.c
10265         (object_tree_test_iteration): add tests for a handler registered
10266         on "/"
10267
10268         * dbus/dbus-object-tree.c
10269         (_dbus_decompose_path): fix to handle path "/" properly
10270         (run_decompose_tests): add tests for path decomposition
10271
10272         * glib/dbus-gutils.c (_dbus_gutils_split_path): fix to handle "/"
10273         properly
10274
10275         * glib/dbus-gobject.c (handle_introspect): fix quotes
10276
10277         * test/glib/run-test.sh: support launching the bus, then running
10278         dbus-viewer
10279
10280         * test/glib/test-service-glib.c (main): put in a trivial gobject
10281         subclass and register it on the connection
10282
10283         * bus/driver.c (bus_driver_handle_introspect): implement
10284         introspection of the bus driver service
10285
10286         * dbus/dbus-protocol.h: add #defines for the XML namespace,
10287         identifiers, doctype decl
10288
10289         * bus/driver.c (bus_driver_handle_get_service_owner): handle
10290         attempts to get owner of DBUS_SERVICE_ORG_FREEDESKTOP_DBUS by
10291         returning the service unchanged.
10292         (bus_driver_handle_message): remove old check for reply_serial in
10293         method calls, now the message type deals with that
10294         (bus_driver_handle_message): handle NULL interface
10295
10296         * glib/dbus-gproxy.c (dbus_g_proxy_get_bus_name): new function
10297
10298         * glib/dbus-gloader-expat.c (description_load_from_string): allow
10299         -1 for len
10300
10301         * tools/dbus-viewer.c: add support for introspecting a service on
10302         a bus
10303
10304         * glib/dbus-gproxy.c (dbus_g_pending_call_ref): add
10305         (dbus_g_pending_call_unref): add
10306
10307  glib/dbus-gidl.c          |   14 ++++++++++
10308  glib/dbus-gidl.h          |    3 +++
10309  glib/dbus-gloader-expat.c |    4 +++
10310  glib/dbus-gobject.c       |   16 +++++++-----
10311  glib/dbus-gproxy.c        |   62
10312  ++++++++++++++++++++++++++++++++++++++++-----
10313  glib/dbus-gutils.c        |   20 ++++++++++-----
10314  6 files changed, 98 insertions(+), 21 deletions(-)
10315
10316 commit 3593b814632b482b541ccf3adb2b31887028b234
10317 Author: Havoc Pennington <hp@redhat.com>
10318 Date:   2005-01-29 20:12:21 +0000
10319
10320     2005-01-29 Havoc Pennington <hp@redhat.com>
10321
10322         * tools/dbus-tree-view.c: add support for displaying properties.
10323         (run dbus-viewer with an introspect xml file as arg, then resize
10324         the window so the tree elements show up, not sure what that is)
10325
10326         * glib/dbus-gobject.c (handle_introspect): return
10327         org.freedesktop.Properties and org.freedesktop.Introspectable
10328         interfaces when we are introspected.
10329
10330         * doc/dbus-specification.xml: allow empty interface name when
10331         Get/Set a property
10332
10333  glib/dbus-gobject.c |   28 ++++++++++++++++++++++++++--
10334  1 file changed, 26 insertions(+), 2 deletions(-)
10335
10336 commit 426cf6b944282d16db0d88b230627793df52f1ad
10337 Author: Havoc Pennington <hp@redhat.com>
10338 Date:   2005-01-29 19:52:19 +0000
10339
10340     2005-01-29 Havoc Pennington <hp@redhat.com>
10341
10342         * glib/Makefile.am: rename dbus-glib-tool to dbus-binding-tool;
10343         though it uses glib, it could be extended for any binding in
10344         principle
10345
10346         * glib/dbus-gobject.c (gobject_message_function): change to the
10347         new way properties work
10348
10349         * dbus/dbus-protocol.h: add the new interfaces
10350
10351         * doc/dbus-specification.xml: document the introspection format,
10352         Introspectable interface, and add an org.freedesktop.Properties
10353         interface.
10354
10355         * glib/dbus-gparser.c: add support for a <property> element
10356
10357         * glib/dbus-gidl.c: add PropertyInfo
10358
10359         * glib/dbus-gobject.c (handle_introspect): put the outermost
10360         <node> outside the signal and property descriptions.
10361         (introspect_properties): export properties as <property> rather
10362         than as method calls
10363
10364  glib/.cvsignore       |    2 +-
10365  glib/Makefile.am      |    6 +-
10366  glib/dbus-gidl.c      |  100 +++++++++++++++++++++++++-
10367  glib/dbus-gidl.h      |  112 ++++++++++++++++-------------
10368  glib/dbus-glib-tool.c |   31 ++++++--
10369  glib/dbus-gobject.c   |  104 ++++++++++++++++++---------
10370  glib/dbus-gparser.c   |  190
10371  +++++++++++++++++++++++++++++++++++++++++++++----
10372  7 files changed, 434 insertions(+), 111 deletions(-)
10373
10374 commit 54c56014a0d2dab88f1fa3bd17a7c1fd2768c4e9
10375 Author: Havoc Pennington <hp@redhat.com>
10376 Date:   2005-01-28 03:06:55 +0000
10377
10378     2005-01-27 Havoc Pennington <hp@redhat.com>
10379
10380         * dbus/dbus-arch-deps.h.in: add 16/32-bit types
10381
10382         * configure.in: find the right type for 16 and 32 bit ints as well
10383         as 64
10384
10385         * dbus/dbus-protocol.h (DBUS_TYPE_INT16, DBUS_TYPE_UINT16): add
10386         the 16-bit types so people don't have to stuff them in 32-bit or
10387         byte arrays.
10388
10389  glib/dbus-gparser.c |    4 ++++
10390  glib/dbus-gutils.c  |    4 ++++
10391  glib/dbus-gvalue.c  |   29 +++++++++++++++++++++++------
10392  3 files changed, 31 insertions(+), 6 deletions(-)
10393
10394 commit 459e046b1ca4bdd06d85458fd4f213354833d1ed
10395 Author: Havoc Pennington <hp@redhat.com>
10396 Date:   2005-01-21 05:06:10 +0000
10397
10398     2005-01-21 Havoc Pennington <hp@redhat.com>
10399
10400         * glib/dbus-gmain.c: don't put the GLib bindings in the same
10401         toplevel doxygen group as the low-level API stuff
10402
10403         * dbus/dbus.h: note that libdbus is the low-level API
10404
10405  glib/dbus-gmain.c |   12 +++++++-----
10406  1 file changed, 7 insertions(+), 5 deletions(-)
10407
10408 commit 8cecb5bad77434129fc751c2ace45c389f46ef0d
10409 Author: Havoc Pennington <hp@redhat.com>
10410 Date:   2005-01-18 20:42:15 +0000
10411
10412     2005-01-18 Havoc Pennington <hp@redhat.com>
10413
10414             * Throughout, grand renaming to strip out the use of
10415             "service",
10416         just say "name" instead (or "bus name" when ambiguous).  Did not
10417         change the internal code of the message bus itself, only the
10418         programmer-facing API and messages.
10419
10420         * doc/dbus-specification.xml: further update the message bus
10421         section
10422
10423         * bus/config-parser.c (all_are_equiv): fix bug using freed string
10424         in error case
10425
10426  glib/dbus-gproxy.c |  171
10427  +++++++++++++++++++++++++++-------------------------
10428  1 file changed, 88 insertions(+), 83 deletions(-)
10429
10430 commit 40c882bcb60faeee24e3e887f3503e9ecb878166
10431 Author: Havoc Pennington <hp@redhat.com>
10432 Date:   2005-01-17 19:49:52 +0000
10433
10434     2005-01-17 Havoc Pennington <hp@redhat.com>
10435
10436         * dbus/dbus-types.h: hardcode dbus_bool_t to 32 bits
10437
10438         * Throughout: modify DBUS_TYPE_BOOLEAN to be a 32-bit type instead
10439         of an 8-bit type. Now dbus_bool_t is the type to use whenever you
10440         are marshaling/unmarshaling a boolean.
10441
10442  glib/dbus-gvalue.c |    4 +++-
10443  1 file changed, 3 insertions(+), 1 deletion(-)
10444
10445 commit c8c3d8a243f6b284b3aa46352afb9fb913f09f78
10446 Author: Havoc Pennington <hp@redhat.com>
10447 Date:   2005-01-16 15:51:55 +0000
10448
10449     2005-01-16 Havoc Pennington <hp@redhat.com>
10450
10451             * Add and fix docs according to Doxygen warnings throughout
10452         source.
10453
10454         * dbus/dbus-marshal-recursive.c
10455         (_dbus_type_reader_array_is_empty): change this to just call
10456         array_reader_get_array_len() and make it static
10457
10458         * dbus/dbus-message.c (dbus_message_iter_get_element_type): rename
10459         from get_array_type
10460         (dbus_message_iter_init_append): rename from append_iter_init
10461
10462         * dbus/dbus-marshal-recursive.c
10463         (_dbus_type_reader_get_element_type): rename from
10464         _dbus_type_reader_get_array_type
10465
10466  glib/dbus-glib.c    |    2 +-
10467  glib/dbus-gobject.c |    2 +-
10468  2 files changed, 2 insertions(+), 2 deletions(-)
10469
10470 commit e116119209a507a5ba305e890f897d31e5b626e1
10471 Author: Havoc Pennington <hp@redhat.com>
10472 Date:   2005-01-15 07:15:38 +0000
10473
10474     2005-01-15 Havoc Pennington <hp@redhat.com>
10475
10476         * Land the new message args API and type system.
10477
10478         This patch is huge, but the public API change is not
10479         really large. The set of D-BUS types has changed somewhat,
10480         and the arg "getters" are more geared toward language bindings;
10481         they don't make a copy, etc.
10482
10483         There are also some known issues. See these emails for details
10484         on this huge patch:
10485         http://lists.freedesktop.org/archives/dbus/2004-December/001836.html
10486             http://lists.freedesktop.org/archives/dbus/2005-January/001922.html
10487
10488         * dbus/dbus-marshal-*: all the new stuff
10489
10490         * dbus/dbus-message.c: basically rewritten
10491
10492         * dbus/dbus-memory.c (check_guards): with "guards" enabled, init
10493         freed blocks to be all non-nul bytes so using freed memory is less
10494         likely to work right
10495
10496         * dbus/dbus-internals.c (_dbus_test_oom_handling): add
10497         DBUS_FAIL_MALLOC=N environment variable, so you can do
10498         DBUS_FAIL_MALLOC=0 to skip the out-of-memory checking, or
10499         DBUS_FAIL_MALLOC=10 to make it really, really, really slow and
10500         thorough.
10501
10502         * qt/message.cpp: port to the new message args API
10503         (operator<<): use str.utf8() rather than str.unicode()
10504         (pretty sure this is right from the Qt docs?)
10505
10506         * glib/dbus-gvalue.c: port to the new message args API
10507
10508         * bus/dispatch.c, bus/driver.c: port to the new message args API
10509
10510         * dbus/dbus-string.c (_dbus_string_init_const_len): initialize the
10511         "locked" flag to TRUE and align_offset to 0; I guess we never
10512         looked at these anyhow, but seems cleaner.
10513
10514         * dbus/dbus-string.h (_DBUS_STRING_ALLOCATION_PADDING):
10515         move allocation padding macro to this header; use it to implement
10516         (_DBUS_STRING_STATIC): ability to declare a static string.
10517
10518         * dbus/dbus-message.c (_dbus_message_has_type_interface_member):
10519         change to return TRUE if the interface is not set.
10520
10521         * dbus/dbus-string.[hc]: move the D-BUS specific validation stuff
10522         to dbus-marshal-validate.[hc]
10523
10524         * dbus/dbus-marshal-basic.c (_dbus_type_to_string): move here from
10525         dbus-internals.c
10526
10527         * dbus/Makefile.am: cut over from dbus-marshal.[hc]
10528         to dbus-marshal-*.[hc]
10529
10530         * dbus/dbus-object-tree.c (_dbus_decompose_path): move this
10531         function here from dbus-marshal.c
10532
10533  glib/dbus-gobject.c |    2 +-
10534  glib/dbus-gproxy.c  |    7 +-
10535  glib/dbus-gutils.c  |   24 ++++---
10536  glib/dbus-gvalue.c  |  186
10537  ++++++++++++++++++++++++++++++++++++++-------------
10538  4 files changed, 156 insertions(+), 63 deletions(-)
10539
10540 commit 62f29fd0fea8e1eaa3e61db44ddd1eeba765f153
10541 Author: Havoc Pennington <hp@redhat.com>
10542 Date:   2004-11-13 07:07:46 +0000
10543
10544     2004-11-13 Havoc Pennington <hp@redhat.com>
10545
10546         * test/glib/test-profile.c: fix this thing up a bit
10547
10548         * dbus/dbus-message.c (dbus_message_new_empty_header): increase
10549         preallocation sizes by a fair bit; not sure if this will be an
10550         overall performance win or not, but it does reduce reallocs.
10551
10552         * dbus/dbus-string.c (set_length, reallocate_for_length): ignore
10553         the test hack that forced constant realloc if asserts are
10554         disabled, so we can profile sanely. Sprinkle in some
10555         _DBUS_UNLIKELY() which are probably pointless, but before I
10556         noticed the real performance problem I put them in.
10557         (_dbus_string_validate_utf8): micro-optimize this thing a little
10558         bit, though callgrind says it didn't help; then special-case
10559         ascii, which did help a lot; then be sure we detect nul bytes as
10560         invalid, which is a bugfix.
10561         (align_length_then_lengthen): add some more _DBUS_UNLIKELY
10562         superstition; use memset to nul the padding instead of a manual
10563         loop.
10564         (_dbus_string_get_length): inline this as a
10565         macro; it showed up in the profile because it's used for loop
10566         tests and so forth
10567
10568  glib/dbus-gmain.c |    4 ++--
10569  1 file changed, 2 insertions(+), 2 deletions(-)
10570
10571 commit 0ab857b2916731f92be856c6821d5c9950716f89
10572 Author: Olivier Andrieu <oliv__a@users.sourceforge.net>
10573 Date:   2004-10-07 09:56:01 +0000
10574
10575     * dbus/dbus-sysdeps.c (_dbus_file_get_contents): fix an incorrect
10576     format string.
10577
10578     * glib/dbus-dbus-gmain.c (dbus_g_bus_get): do not mangle NULL pointer
10579     (bug #1540, Leonardo Boiko).
10580
10581  glib/dbus-gmain.c |    9 ++++-----
10582  1 file changed, 4 insertions(+), 5 deletions(-)
10583
10584 commit 4b50c510605d5dda629c9d493a61611bb382a55d
10585 Author: Havoc Pennington <hp@redhat.com>
10586 Date:   2004-08-10 03:06:59 +0000
10587
10588     2004-08-09 Havoc Pennington <hp@redhat.com>
10589
10590         * COPYING: switch to Academic Free License version 2.1 instead of
10591         2.0, to resolve complaints about patent termination clause.
10592
10593  glib/dbus-gidl.c          |    2 +-
10594  glib/dbus-gidl.h          |    2 +-
10595  glib/dbus-glib-tool.c     |    2 +-
10596  glib/dbus-glib.c          |    2 +-
10597  glib/dbus-gloader-expat.c |    2 +-
10598  glib/dbus-gmain.c         |    2 +-
10599  glib/dbus-gobject.c       |    2 +-
10600  glib/dbus-gparser.c       |    2 +-
10601  glib/dbus-gparser.h       |    2 +-
10602  glib/dbus-gproxy.c        |    4 ++--
10603  glib/dbus-gtest-main.c    |    2 +-
10604  glib/dbus-gtest.c         |    2 +-
10605  glib/dbus-gtest.h         |    2 +-
10606  glib/dbus-gthread.c       |    2 +-
10607  glib/dbus-gtool-test.h    |    2 +-
10608  glib/dbus-gutils.c        |    2 +-
10609  glib/dbus-gutils.h        |    2 +-
10610  17 files changed, 18 insertions(+), 18 deletions(-)
10611
10612 commit 301a3547a2efd9784fa3ab253373fa689c9bd1c3
10613 Author: Olivier Andrieu <oliv__a@users.sourceforge.net>
10614 Date:   2004-07-29 08:00:45 +0000
10615
10616     * bus/config-loader-libxml.c: complete the implementation of libxml
10617
10618     backend for config file loader. Doesn't work with full OOM test yet.
10619
10620     * configure.in: change error when selecting libxml into a warning.
10621
10622     * test/data/invalid-config-files: add two non-well-formed XML files.
10623
10624     * glib/Makefile.am: libdbus_gtool always uses expat, not libxml.
10625
10626     * dbus/dbus-transport-unix.c (unix_handle_watch): do not disconnect in
10627     case of DBUS_WATCH_HANGUP, several do_reading() may be necessary to
10628     read all the buffer. (bug #894)
10629
10630     * bus/activation.c (bus_activation_activate_service): fix a potential
10631     assertion failure (bug #896). Small optimization in the case of
10632     auto-activation messages.
10633
10634     * dbus/dbus-message.c (verify_test_message, _dbus_message_test): add
10635     test case for byte-through-vararg bug (#901). patch by Kimmo
10636     Hämäläinen.
10637
10638  glib/Makefile.am |    2 +-
10639  1 file changed, 1 insertion(+), 1 deletion(-)
10640
10641 commit ef7e145899ce58a5df564127783f014d8bed233f
10642 Author: Havoc Pennington <hp@redhat.com>
10643 Date:   2004-06-20 15:28:14 +0000
10644
10645     2004-06-20 Havoc Pennington <hp@redhat.com>
10646
10647             * dbus/dbus-glib-error-enum.h: autogenerate the GError enum
10648         codes from the dbus error names
10649
10650             * glib/dbus-glib.h: move to subdir dbus/ since it's included
10651         as dbus/dbus-glib.h and that breakage is now visible due to
10652         including dbus/dbus-glib.h in dbus-glib-lowlevel.h
10653
10654         * glib/dbus-glib.h: s/gproxy/g_proxy/
10655
10656         * dbus/dbus-shared.h: new header to hold stuff shared with
10657         binding APIs
10658
10659         * dbus/dbus-protocol.h (DBUS_ERROR_*): move errors here rather
10660         than dbus-errors.h
10661
10662         * glib/dbus-glib.h (dbus_set_g_error): move to
10663         dbus-glib-lowlevel.h
10664
10665         * glib/dbus-glib.h: remove dbus/dbus.h from here; change a bunch
10666         of stuff to enable this
10667
10668         * dbus/dbus-glib-lowlevel.h: put dbus/dbus.h here
10669
10670         * a bunch of other changes with the same basic "separate glib
10671         bindings from dbus.h" theme
10672
10673  glib/Makefile.am       |    6 +-
10674  glib/dbus-gidl.c       |    2 +-
10675  glib/dbus-glib-tool.c  |    2 +-
10676  glib/dbus-glib.c       |   67 ++++++++++++++
10677  glib/dbus-glib.h       |  159 --------------------------------
10678  glib/dbus-gmain.c      |  121 ++++++++++++++++++++++--
10679  glib/dbus-gobject.c    |   17 ++--
10680  glib/dbus-gproxy.c     |  237
10681  +++++++++++++++++++++++++-----------------------
10682  glib/dbus-gtest.c      |    4 +
10683  glib/dbus-gtest.h      |    9 +-
10684  glib/dbus-gthread.c    |    3 +-
10685  glib/dbus-gtool-test.h |    4 +-
10686  glib/dbus-gutils.c     |    2 +-
10687  glib/dbus-gutils.h     |   15 +++
10688  14 files changed, 342 insertions(+), 306 deletions(-)
10689
10690 commit 9426e419227a721a8b7b04661ec133cb93c389e5
10691 Author: Olivier Andrieu <oliv__a@users.sourceforge.net>
10692 Date:   2004-06-05 16:32:00 +0000
10693
10694     2004-06-05 Olivier Andrieu <oliv__a@users.sourceforge.net>
10695
10696         * dbus/dbus-connection.h, dbus/dbus-connection.c: have object path
10697         registration functions take the path argument as char* instead of
10698         char**.
10699
10700         * dbus/dbus-marshal.h, dbus/dbus-marshal.c (_dbus_decompose_path):
10701         split off the path decompostion part of
10702         _dbus_demarshal_object_path. Some misc. fixes to silence compiler
10703         warnings.
10704
10705         * glib/dbus-gobject.c, test/test-service.c: update accordingly.
10706
10707  glib/dbus-gobject.c |   16 +++-------------
10708  1 file changed, 3 insertions(+), 13 deletions(-)
10709
10710 commit b2a4e237f907acd5127f85d0e2110b32d8a7ea86
10711 Author: Kristian Hogsberg <krh@redhat.com>
10712 Date:   2004-06-02 13:13:14 +0000
10713
10714     2004-06-02 Kristian Hÿÿgsberg <krh@redhat.com>
10715
10716         * glib/dbus-gproxy.c, glib/dbus-gmain.c, dbus/dbus-string.c,
10717         dbus/dbus-object-tree.c, dbus/dbus-message.c: add comments to
10718         quiet doxygen.
10719
10720         * Doxyfile.in: remove deprecated options.
10721
10722         * dbus/dbus-message-handler.c, dbus/dbus-message-handler.h,
10723         glib/test-thread.h, glib/test-thread-client.c,
10724         glib/test-thread-server.c, glib/test-profile.c,
10725         glib/test-dbus-glib.c: remove these unused files.
10726
10727  glib/dbus-gmain.c         |   12 ++-
10728  glib/dbus-gproxy.c        |   32 +++++-
10729  glib/test-dbus-glib.c     |   50 ---------
10730  glib/test-profile.c       |  223 ----------------------------------------
10731  glib/test-thread-client.c |   95 -----------------
10732  glib/test-thread-server.c |  248
10733  ---------------------------------------------
10734  glib/test-thread.h        |    1 -
10735  7 files changed, 36 insertions(+), 625 deletions(-)
10736
10737 commit 05a2332400f9e23d84e7376b9908f19a59868d5d
10738 Author: Havoc Pennington <hp@redhat.com>
10739 Date:   2004-06-01 03:02:26 +0000
10740
10741     2004-05-31 Havoc Pennington <hp@redhat.com>
10742
10743         * glib/dbus-gidl.c (method_info_add_arg): keep args sorted with
10744         "in" before "out"
10745
10746         * glib/dbus-gobject.c (dbus_type_to_string): move to dbus-gutils.c
10747
10748         * glib/dbus-glib-tool.c (main): set up to have a --self-test
10749         option that runs the tests, and start filling in some code
10750         including for starters just dumping the interfaces to stdout
10751
10752         * glib/Makefile.am (INCLUDES): define DBUS_LOCALEDIR
10753
10754         * test/data/valid-introspection-files/lots-of-types.xml: test of
10755         an example introspection file
10756
10757         * glib/dbus-gparser.c (parser_check_doctype): doctype should be
10758         "node" (I think...)
10759
10760  glib/Makefile.am      |    9 +-
10761  glib/dbus-gidl.c      |   25 +++++
10762  glib/dbus-glib-tool.c |  280
10763  ++++++++++++++++++++++++++++++++++++++++++++++---
10764  glib/dbus-glib.h      |    5 +-
10765  glib/dbus-gobject.c   |   36 +------
10766  glib/dbus-gparser.c   |    4 +-
10767  glib/dbus-gutils.c    |   34 ++++++
10768  glib/dbus-gutils.h    |    4 +-
10769  8 files changed, 338 insertions(+), 59 deletions(-)
10770
10771 commit c02ba470d7a212d7c51777c467eae808dd954f2f
10772 Author: Havoc Pennington <hp@redhat.com>
10773 Date:   2004-05-28 22:30:04 +0000
10774
10775     2004-05-28 Havoc Pennington <hp@redhat.com>
10776
10777         * test/glib/test-service-glib.c (main): remove unused variable
10778
10779         * glib/dbus-gidl.c (base_info_ref): fix a silly compiler warning
10780
10781         * dbus/dbus-auth.h (enum): remove AUTHENTICATED_WITH_UNUSED_BYTES
10782         from the enum, no longer in use.
10783
10784         * dbus/dbus-sysdeps.h: include config.h so DBUS_VA_COPY actually
10785         works right.
10786
10787         * dbus/dbus-message.c: add various _dbus_return_val_if_fail for
10788         whether error_name passed in is a valid error name.
10789
10790  glib/dbus-gidl.c |    4 ++--
10791  1 file changed, 2 insertions(+), 2 deletions(-)
10792
10793 commit 1400b16528f4d0d8f6a60b199e5799eadb0ff0ea
10794 Author: Michael Meeks <michael@ximian.com>
10795 Date:   2004-05-28 13:10:35 +0000
10796
10797     2004-05-28 Michael Meeks <michael@ximian.com>
10798
10799         * glib/dbus-gvalue.c (dbus_gvalue_marshal, dbus_gvalue_demarshal):
10800         fix no int64 case.
10801
10802         * dbus/dbus-string.c (_dbus_string_parse_basic_type): impl.
10803
10804         * dbus/dbus-message.c (_dbus_message_iter_get_basic_type),
10805         (_dbus_message_iter_get_basic_type_array): impl.
10806         drastically simplify ~all relevant _get methods to use these.
10807         (_dbus_message_iter_append_basic_array),
10808         (dbus_message_iter_append_basic): impl
10809         drastically simplify ~all relevant _append methods to use these.
10810
10811         * dbus/dbus-message-builder.c (parse_basic_type)
10812         (parse_basic_array, lookup_basic_type): impl.
10813         (_dbus_message_data_load): prune scads of duplicate /
10814         cut & paste coding.
10815
10816         * dbus/dbus-marshal.c (_dbus_demarshal_basic_type_array)
10817         (_dbus_demarshal_basic_type): implement,
10818         (demarshal_and_validate_len/arg): beef up debug.
10819         (_dbus_marshal_basic_type, _dbus_marshal_basic_type_array): impl.
10820
10821  glib/dbus-gvalue.c |    4 ++++
10822  1 file changed, 4 insertions(+)
10823
10824 commit 7866137fa3b028e7a8e22f03998754c0967e1501
10825 Author: Olivier Andrieu <oliv__a@users.sourceforge.net>
10826 Date:   2004-04-15 22:08:04 +0000
10827
10828     2004-04-15 Olivier Andrieu <oliv__a@users.sourceforge.net>
10829
10830         * bus/driver.c (bus_driver_handle_get_service_owner):
10831         implement a GetServiceOwner method.
10832         * doc/dbus-specification.xml: document it.
10833         * dbus/dbus-errors.h: add a 'ServiceHasNoOwner' error.
10834
10835         * glib/dbus-gproxy.c (dbus_gproxy_new_for_service_owner):
10836         implement, using the bus GetServiceOwner method.
10837
10838         * test/glib/test-dbus-glib.c:
10839         use dbus_gproxy_new_for_service_owner so that we can receive the
10840         signal.
10841
10842  glib/dbus-gproxy.c |   55
10843  ++++++++++++++++++++++++++++++++++++++++++++++++++++
10844  1 file changed, 55 insertions(+)
10845
10846 commit e03a715a21237d70233d40a393958ec7d3d4027d
10847 Author: Michael Meeks <michael@ximian.com>
10848 Date:   2004-04-13 11:47:17 +0000
10849
10850     2004-04-13 Michael Meeks <michael@ximian.com>
10851
10852         * glib/dbus-gobject.c (handle_introspect): split out
10853         (introspect_properties): this.
10854         (handle_introspect): implement this.
10855
10856  glib/dbus-gobject.c |  123
10857  ++++++++++++++++++++++++++++++++++-----------------
10858  1 file changed, 82 insertions(+), 41 deletions(-)
10859
10860 commit e7e5d9377e54b9d26a59402197d26bb575c15976
10861 Author: Michael Meeks <michael@ximian.com>
10862 Date:   2004-03-29 13:24:50 +0000
10863
10864     2004-03-29 Michael Meeks <michael@ximian.com>
10865
10866         * glib/dbus-gobject.c (set_object_property): split out /
10867         re-work, use the property type, and not the message type(!)
10868         (get_object_property): ditto.
10869
10870             * glib/dbus-gvalue.c (dbus_gvalue_demarshal),
10871         (dbus_gvalue_marshal): make this code re-usable, needed
10872         for signals too, also on both proxy and server side.
10873         Re-write for more efficiency / readability.
10874
10875  glib/Makefile.am    |    4 +-
10876  glib/dbus-gobject.c |  187
10877  +++------------------------------------------------
10878  glib/dbus-gvalue.c  |  115 +++++++++++++++++++++++++++++++
10879  glib/dbus-gvalue.h  |   16 +++++
10880  4 files changed, 142 insertions(+), 180 deletions(-)
10881
10882 commit 82d9c846687c428fde8e517ca38d69642de9a66a
10883 Author: Richard Hult <richard@imendio.com>
10884 Date:   2003-12-02 10:44:21 +0000
10885
10886     2003-12-02 Richard Hult <richard@imendio.com>
10887
10888         * Update AFL version to 2.0 throughout the source files to reflect
10889         the update that was done a while ago.
10890
10891  glib/dbus-gidl.c          |    2 +-
10892  glib/dbus-gidl.h          |    2 +-
10893  glib/dbus-glib-tool.c     |    2 +-
10894  glib/dbus-glib.h          |    2 +-
10895  glib/dbus-gloader-expat.c |    2 +-
10896  glib/dbus-gmain.c         |    2 +-
10897  glib/dbus-gobject.c       |    2 +-
10898  glib/dbus-gparser.c       |    2 +-
10899  glib/dbus-gparser.h       |    2 +-
10900  glib/dbus-gproxy.c        |    2 +-
10901  glib/dbus-gtest-main.c    |    2 +-
10902  glib/dbus-gtest.c         |    2 +-
10903  glib/dbus-gtest.h         |    2 +-
10904  glib/dbus-gthread.c       |    2 +-
10905  glib/dbus-gtool-test.h    |    2 +-
10906  glib/dbus-gutils.c        |    2 +-
10907  glib/dbus-gutils.h        |    2 +-
10908  glib/test-profile.c       |    2 +-
10909  18 files changed, 18 insertions(+), 18 deletions(-)
10910
10911 commit 64858892747bea931226f39dad9e063475bf3c89
10912 Author: Mikael Hallendal <micke@imendio.com>
10913 Date:   2003-11-27 01:25:49 +0000
10914
10915     2003-11-26 Mikael Hallendal <micke@imendio.com>
10916
10917         * bus/*.[ch]:
10918         * dbus/*.[ch]:
10919         * glib/*.[ch]: Made ref functions return the pointer
10920
10921  glib/dbus-gidl.c    |   24 ++++++++++++++++++------
10922  glib/dbus-gidl.h    |   12 ++++++------
10923  glib/dbus-gmain.c   |    4 +++-
10924  glib/dbus-gparser.c |    4 +++-
10925  glib/dbus-gparser.h |    2 +-
10926  glib/dbus-gproxy.c  |    6 ++++--
10927  6 files changed, 35 insertions(+), 17 deletions(-)
10928
10929 commit f130073ef0a107d0b57695720f5a94d0e17ce38f
10930 Author: Havoc Pennington <hp@redhat.com>
10931 Date:   2003-10-21 05:46:51 +0000
10932
10933     2003-10-20 Havoc Pennington <hp@redhat.com>
10934
10935             hmm, make check is currently not passing.
10936
10937         * doc/dbus-specification.xml: add requirement that custom type
10938         names follow the same rules as interface names.
10939
10940         * dbus/dbus-protocol.h: change some of the byte codes, to avoid
10941         duplication and allow 'c' to be 'custom'; dict is now 'm' for
10942         'map'
10943
10944         * doc/dbus-specification.xml: update type codes to match
10945         dbus-protocol.h, using the ASCII byte values. Rename type NAMED to
10946         CUSTOM. Add type OBJECT_PATH to the spec.
10947
10948     2003-10-17  Havoc Pennington  <hp@redhat.com>
10949
10950         * bus/driver.c (create_unique_client_name): use "." as separator
10951         in base service names instead of '-'
10952
10953         * dbus/dbus-string.c (_dbus_string_get_byte): allow getting nul
10954         byte at the end of the string
10955
10956         * dbus/dbus-internals.h (_DBUS_LIKELY, _DBUS_UNLIKELY): add
10957         optimization macros since string validation seems to be a slow
10958         point.
10959
10960         * doc/dbus-specification.xml: restrict valid
10961         service/interface/member/error names. Add test suite code for the
10962         name validation.
10963
10964         * dbus/dbus-string.c: limit service/interface/member/error names
10965         to [0-9][A-Z][a-z]_
10966
10967         * dbus/dbus-connection.c (dbus_connection_dispatch): add missing
10968         format arg to verbose spew
10969
10970         * glib/dbus-gproxy.c (dbus_gproxy_call_no_reply): if not out of
10971         memory, return instead of g_error
10972
10973         * test/test-service.c (path_message_func): support emitting a
10974         signal on request
10975
10976         * dbus/dbus-bus.c (init_connections_unlocked): only fill in
10977         activation bus type if DBUS_BUS_ACTIVATION was set; default to
10978         assuming the activation bus was the session bus so that services
10979         started manually will still register.
10980         (init_connections_unlocked): fix so that in OOM situation we get
10981         the same semantics when retrying the function
10982
10983         * test/test-service.c (main): change to use path registration, to
10984         test those codepaths; register with DBUS_BUS_ACTIVATION rather
10985         than DBUS_BUS_SESSION
10986
10987  glib/dbus-gobject.c |    4 ++--
10988  glib/dbus-gproxy.c  |   12 +++++++++++-
10989  2 files changed, 13 insertions(+), 3 deletions(-)
10990
10991 commit 756f88a96232ae730faca81feeb30fcd07458df9
10992 Author: Havoc Pennington <hp@redhat.com>
10993 Date:   2003-10-17 16:23:19 +0000
10994
10995     2003-10-16 Havoc Pennington <hp@redhat.com>
10996
10997         * glib/dbus-gtest-main.c: bracket with #ifdef DBUS_BUILD_TESTS
10998
10999         * Makefile.am (GCOV_DIRS): remove "test", we don't care about test
11000         coverage of the tests
11001         (coverage-report.txt): don't move the .da and .bbg files around
11002
11003  glib/dbus-gtest-main.c |    5 +++++
11004  1 file changed, 5 insertions(+)
11005
11006 commit aa0c367ff5214ddbb2578e5b290cfae6aa472a0d
11007 Author: Havoc Pennington <hp@redhat.com>
11008 Date:   2003-10-16 06:34:50 +0000
11009
11010     2003-10-16 Havoc Pennington <hp@redhat.com>
11011
11012         * bus/connection.c (bus_pending_reply_expired): either cancel or
11013         execute, not both
11014         (bus_connections_check_reply): use unlink, not remove_link, as we
11015         don't want to free the link; fixes double free mess
11016
11017         * dbus/dbus-pending-call.c (dbus_pending_call_block): fix in case
11018         where no reply was received
11019
11020         * dbus/dbus-connection.c (_dbus_pending_call_complete_and_unlock):
11021         fix a refcount leak
11022
11023         * bus/signals.c (match_rule_matches): add special cases for the
11024         bus driver, so you can match on sender/destination for it.
11025
11026         * dbus/dbus-sysdeps.c (_dbus_abort): print backtrace if
11027         DBUS_PRINT_BACKTRACE is set
11028
11029         * dbus/dbus-internals.c: add pid to assertion failure messages
11030
11031         * dbus/dbus-connection.c: add message type code to the debug spew
11032
11033         * glib/dbus-gproxy.c (gproxy_get_match_rule): match rules want
11034         sender=foo not service=foo
11035
11036         * dbus/dbus-bus.c (dbus_bus_get): if the activation bus is the
11037         session bus but DBUS_SESSION_BUS_ADDRESS isn't set, use
11038         DBUS_ACTIVATION_ADDRESS instead
11039
11040         * bus/activation.c: set DBUS_SESSION_BUS_ADDRESS,
11041         DBUS_SYSTEM_BUS_ADDRESS if appropriate
11042
11043         * bus/bus.c (bus_context_new): handle OOM copying bus type into
11044         context struct
11045
11046         * dbus/dbus-message.c (dbus_message_iter_get_object_path):
11047         new function
11048         (dbus_message_iter_get_object_path_array): new function (half
11049         finished, disabled for the moment)
11050
11051         * glib/dbus-gproxy.c (dbus_gproxy_end_call): properly handle
11052         DBUS_MESSAGE_TYPE_ERROR
11053
11054         * tools/dbus-launch.c (babysit): support DBUS_DEBUG_OUTPUT to
11055         avoid redirecting stderr to /dev/null
11056         (babysit): close stdin if not doing the "exit_with_session" thing
11057
11058         * dbus/dbus-sysdeps.c (_dbus_become_daemon): delete some leftover
11059         debug code; change DBUS_DEBUG_OUTPUT to only enable stderr, not
11060         stdout/stdin, so things don't get confused
11061
11062         * bus/system.conf.in: fix to allow replies, I modified .conf
11063         instead of .conf.in again.
11064
11065  glib/dbus-gproxy.c |   26 ++++++++++++++++++++------
11066  1 file changed, 20 insertions(+), 6 deletions(-)
11067
11068 commit 33689cc9f76ff14f77ba9b9d6e17094991fc2ba1
11069 Author: Havoc Pennington <hp@redhat.com>
11070 Date:   2003-10-12 05:59:39 +0000
11071
11072     2003-10-12 Havoc Pennington <hp@pobox.com>
11073
11074             Added test code that 1) starts an actual bus daemon and
11075             2) uses
11076         DBusGProxy; fixed bugs that were revealed by the test. Lots
11077         more testing possible, but this is the basic framework.
11078
11079         * glib/dbus-gproxy.c (dbus_gproxy_manager_unregister): remove
11080         empty proxy lists from the proxy list hash
11081
11082         * dbus/dbus-message.c (dbus_message_iter_get_args_valist): add a
11083         couple of return_if_fail checks
11084
11085         * dbus/dbus-pending-call.c (_dbus_pending_call_new): use dbus_new0
11086         to allocate, so everything is cleared to NULL as it should be.
11087
11088         * glib/dbus-gmain.c (dbus_connection_setup_with_g_main): pass
11089         source as data to dbus_connection_set_timeout_functions() as the
11090         timeout functions expected
11091
11092         * test/glib/run-test.sh: add a little script to start up a message
11093         bus and run tests using it
11094
11095         * tools/dbus-launch.1: updates
11096
11097         * tools/dbus-launch.c (main): add --config-file option
11098
11099         * tools/dbus-launch.c (main): remove confusing else if (runprog)
11100         that could never be reached.
11101
11102         * dbus/dbus-message.c (dbus_message_new_method_return)
11103         (dbus_message_new_error, dbus_message_new_signal): set the
11104         no-reply-expected flag on all these. Redundant, but may
11105         as well be consistent.
11106
11107  glib/dbus-gmain.c  |    2 +-
11108  glib/dbus-gproxy.c |   17 ++++++++++++-----
11109  2 files changed, 13 insertions(+), 6 deletions(-)
11110
11111 commit 6741526f3dedd835d9f0d7ae4beaa097016b0b9e
11112 Author: Havoc Pennington <hp@redhat.com>
11113 Date:   2003-10-03 03:55:35 +0000
11114
11115     2003-10-02 Havoc Pennington <hp@pobox.com>
11116
11117         * glib/dbus-gproxy.c (dbus_gproxy_call_no_reply): rename from
11118         dbus_gproxy_oneway_call
11119
11120         * glib/dbus-gmain.c (dbus_connection_setup_with_g_main)
11121         (dbus_server_setup_with_g_main): fix to allow calling them more
11122         than once on the same args
11123         (dbus_bus_get_with_g_main): new function
11124
11125  glib/dbus-glib.h   |   14 ++++----
11126  glib/dbus-gmain.c  |   99
11127  ++++++++++++++++++++++++++++++++++++++++++++--------
11128  glib/dbus-gproxy.c |    8 ++---
11129  3 files changed, 97 insertions(+), 24 deletions(-)
11130
11131 commit b05fc993d8d813ca93fa2c49e4c8b7345613c8e0
11132 Author: Havoc Pennington <hp@redhat.com>
11133 Date:   2003-09-30 02:32:48 +0000
11134
11135     2003-09-29 Havoc Pennington <hp@pobox.com>
11136
11137         * Merge dbus-object-names branch. To see the entire patch
11138         do cvs diff -r DBUS_OBJECT_NAMES_BRANCHPOINT -r dbus-object-names,
11139         it's huuuuge though.
11140         To revert, I tagged DBUS_BEFORE_OBJECT_NAMES_MERGE.
11141
11142     2003-09-28  Havoc Pennington  <hp@pobox.com>
11143
11144         * HACKING: update to reflect new server
11145
11146     2003-09-26  Seth Nickell  <seth@gnome.org>
11147
11148         * python/dbus.py:
11149         * python/examples/example-signals.py:
11150
11151         Start implementing some notions of signals. The API
11152         is really terrible, but they sort of work (with the
11153         exception of being able to filter by service, and to
11154         transmit signals *as* a particular service). Need to
11155         figure out how to make messages come from the service
11156         we registered :-(
11157
11158         * python/dbus_bindings.pyx.in:
11159
11160         Removed duplicate message_handler callbacks.
11161
11162     2003-09-25  Havoc Pennington  <hp@redhat.com>
11163
11164         * bus/session.conf.in: fix my mess
11165
11166     2003-09-25  Havoc Pennington  <hp@pobox.com>
11167
11168         * bus/session.conf.in: fix security policy, reported by Seth
11169         Nickell
11170
11171     2003-09-25  Seth Nickell  <seth@gnome.org>
11172
11173         * python/examples/example-service.py:
11174
11175         Johan notices complete wrong code in example-service, but
11176         completely wrong in a way that works exactly the same (!).
11177         Johan is confused, how could this possibly work? Example
11178         code fails to serve purpose of making things clear.
11179         Seth fixes.
11180
11181     2003-09-25  Mark McLoughlin  <mark@skynet.ie>
11182
11183         * doc/dbus-specification.sgml: don't require header fields
11184         to be 4-byte aligned and specify that fields should be
11185         distinguished from padding by the fact that zero is not
11186         a valid field name.
11187
11188         * doc/TODO: remove re-alignment item and add item to doc
11189         the OBJECT_PATH type.
11190
11191         * dbus/dbus-message.c:
11192         (HeaderField): rename the original member to value_offset
11193         and introduce a name_offset member to keep track of where
11194         the field actually begins.
11195         (adjust_field_offsets): remove.
11196         (append_int_field), (append_uint_field),
11197         (append_string_field): don't align the start of the header
11198         field to a 4-byte boundary.
11199         (get_next_field): impl finding the next marhsalled field
11200         after a given field.
11201         (re_align_field_recurse): impl re-aligning a number of
11202         already marshalled fields.
11203         (delete_field): impl deleting a field of any type and
11204         re-aligning any following fields.
11205         (delete_int_or_uint_field), (delete_string_field): remove.
11206         (set_int_field), (set_uint_field): no need to re-check
11207         that we have the correct type for the field.
11208         (set_string_field): ditto and impl re-aligning any
11209         following fields.
11210         (decode_header_data): update to take into account that
11211         the fields aren't 4-byte aligned any more and the new
11212         way to distinguish padding from header fields. Also,
11213         don't exit when there is too much header padding.
11214         (process_test_subdir): print the directory.
11215         (_dbus_message_test): add test to make sure a following
11216         field is re-aligned correctly after field deletion.
11217
11218         * dbus/dbus-string.[ch]:
11219         (_dbus_string_insert_bytes): rename from insert_byte and
11220         allow the insert of multiple bytes.
11221         (_dbus_string_test): test inserting multiple bytes.
11222
11223         * dbus/dbus-marshal.c: (_dbus_marshal_set_string): add
11224         warning note to docs about having to re-align any
11225         marshalled values following the string.
11226
11227         * dbus/dbus-message-builder.c:
11228         (append_string_field), (_dbus_message_data_load):
11229         don't align the header field.
11230
11231         * dbus/dbus-auth.c: (process_test_subdir): print the
11232         directory.
11233
11234         * test/break-loader.c: (randomly_add_one_byte): upd. for
11235         insert_byte change.
11236
11237         * test/data/invalid-messages/bad-header-field-alignment.message:
11238         new test case.
11239
11240         * test/data/valid-messages/unknown-header-field.message: shove
11241         a dict in the unknown field.
11242
11243     2003-09-25  Seth Nickell  <seth@gnome.org>
11244
11245         * python/dbus.py:
11246         * python/dbus_bindings.pyx.in:
11247
11248         Handle return values.
11249
11250         * python/examples/example-client.py:
11251         * python/examples/example-service.py:
11252
11253         Pass back return values from the service to the client.
11254
11255     2003-09-24  Seth Nickell  <seth@gnome.org>
11256
11257         * python/dbus.py:
11258
11259         Connect Object methods (when you are sharing an object) up... pass
11260         in a list of methods to be shared. Sharing all the methods just
11261         worked out too weird. You can now create nice Services over the
11262         DBus in Python. :-)
11263
11264         * python/dbus_bindings.pyx.in:
11265
11266         Keep references to user_data tuples passed into C functions so
11267         Python doesn't garbage collect on us.
11268
11269         Implement MethodReturn and Error subclasses of Message for
11270         creating
11271         DBusMessage's of those types.
11272
11273         * python/examples/example-client.py:
11274         * python/examples/example-service.py:
11275
11276         Simple example code showing both how create DBus services and
11277         objects,
11278         and how to use them.
11279
11280     2003-09-23  Havoc Pennington  <hp@pobox.com>
11281
11282         * glib/dbus-gproxy.c (dbus_gproxy_manager_filter): implement
11283
11284     2003-09-23  Havoc Pennington  <hp@redhat.com>
11285
11286         * glib/dbus-gproxy.c (dbus_gproxy_connect_signal): implement
11287         (dbus_gproxy_disconnect_signal): implement
11288         (dbus_gproxy_manager_remove_signal_match): implement
11289         (dbus_gproxy_manager_add_signal_match): implement
11290         (dbus_gproxy_oneway_call): implement
11291
11292     2003-09-23  Havoc Pennington  <hp@pobox.com>
11293
11294         * glib/dbus-gproxy.c (struct DBusGProxy): convert to a GObject
11295         subclass. This means dropping the transparent thread safety of the
11296         proxy; you now need a separate proxy per-thread, or your own
11297         locking on the proxy. Probably right anyway.
11298         (dbus_gproxy_ref, dbus_gproxy_unref): nuke, just use g_object_ref
11299
11300     2003-09-22  Havoc Pennington  <hp@redhat.com>
11301
11302         * glib/dbus-gproxy.c (dbus_gproxy_manager_get): implement
11303
11304     2003-09-21  Seth Nickell  <seth@gnome.org>
11305
11306             First checkin of the Python bindings.
11307
11308         * python/.cvsignore:
11309         * python/Makefile.am:
11310         * python/dbus_bindings.pyx.in:
11311         * python/dbus_h_wrapper.h:
11312
11313         Pieces for Pyrex to operate on, building a dbus_bindings.so
11314         python module for low-level access to the DBus APIs.
11315
11316         * python/dbus.py:
11317
11318         High-level Python module for accessing DBus objects.
11319
11320         * configure.in:
11321         * Makefile.am:
11322
11323         Build stuff for the python bindings.
11324
11325         * acinclude.m4:
11326
11327         Extra macro needed for finding the Python C header files.
11328
11329     2003-09-21  Havoc Pennington  <hp@pobox.com>
11330
11331         * glib/dbus-gproxy.c (dbus_gproxy_manager_new): start
11332         implementing the proxy manager, didn't get very far.
11333
11334         * dbus/dbus-bus.c (dbus_bus_add_match): new
11335         (dbus_bus_remove_match): new
11336
11337         * glib/dbus-gproxy.c (dbus_gproxy_new_for_service): add a
11338         path_name argument; adjust the other not-yet-implemented
11339         gproxy constructors to be what I think they should be.
11340
11341     2003-09-21  Havoc Pennington  <hp@pobox.com>
11342
11343         * dbus/dbus-bus.c (dbus_bus_get): set exit_on_disconnect to TRUE
11344         by default for message bus connections.
11345
11346         * dbus/dbus-connection.c (dbus_connection_dispatch): exit if
11347         exit_on_disconnect flag is set and we process the disconnected
11348         signal.
11349         (dbus_connection_set_exit_on_disconnect): new function
11350
11351     2003-09-21  Havoc Pennington  <hp@pobox.com>
11352
11353         Get matching rules mostly working in the bus; only actually
11354         parsing the rule text remains. However, the client side of
11355         "signal connections" hasn't been started, this patch is only the
11356         bus side.
11357
11358         * dbus/dispatch.c: fix for the matching rules changes
11359
11360         * bus/driver.c (bus_driver_handle_remove_match)
11361         (bus_driver_handle_add_match): send an ack reply from these
11362         method calls
11363
11364         * glib/dbus-gproxy.c (dbus_gproxy_begin_call): fix order of
11365         arguments, reported by Seth Nickell
11366
11367         * bus/config-parser.c (append_rule_from_element): support
11368         eavesdrop=true|false attribute on policies so match rules
11369         can be prevented from snooping on the system bus.
11370
11371         * bus/dbus-daemon-1.1.in: consistently use terminology "sender"
11372         and "destination" in attribute names; fix some docs bugs;
11373         add eavesdrop=true|false attribute
11374
11375         * bus/driver.c (bus_driver_handle_add_match)
11376         (bus_driver_handle_remove_match): handle AddMatch, RemoveMatch
11377         messages
11378
11379         * dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_BROADCAST):
11380         get
11381         rid of broadcast service concept, signals are just always
11382         broadcast
11383
11384         * bus/signals.c, bus/dispatch.c, bus/connection.c, bus/bus.c:
11385         mostly implement matching rules stuff (currently only exposed
11386         as signal
11387         connections)
11388
11389     2003-09-21  Mark McLoughlin  <mark@skynet.ie>
11390
11391         * doc/dbus-specification.sgml: Change the header field name
11392         to be an enum and update the rest of the spec to reference
11393         the fields using the conventinal name.
11394
11395         * dbus/dbus-protocol.h: update to reflect the spec.
11396
11397         * doc/TODO: add item to remove the 4 byte alignment requirement.
11398
11399         * dbus/dbus-message.c: Remove the code to generalise the
11400         header/body length and serial number header fields as named
11401         header fields so we can reference field names using the
11402         protocol values.
11403         (append_int_field), (append_uint_field), (append_string_field):
11404         Append the field name as a byte rather than four chars.
11405         (delete_int_or_uint_field), (delete_string_field): reflect the
11406         fact that the field name and typecode now occupy 4 bytes instead
11407         of 8.
11408         (decode_string_field), (decode_header_data): update to reflect
11409         protocol changes and move the field specific encoding from
11410         decode_string_field() back into decode_header_data().
11411
11412         * dbus/dbus-internals.[ch]: (_dbus_header_field_to_string):
11413         Add utility to aid debugging.
11414
11415         * dbus/dbus-message-builder.c:
11416         (append_string_field), (_dbus_message_data_load): Update to
11417         reflect protocol changes; Change the FIELD_NAME directive
11418         to HEADER_FIELD and allow it to take the field's conventional
11419         name rather than the actual value.
11420
11421         * test/data/*/*.message: Update to use HEADER_FIELD instead
11422         of FIELD_NAME; Always align the header on an 8 byte boundary
11423         *before* updating the header length.
11424
11425     2003-09-15  Havoc Pennington  <hp@pobox.com>
11426
11427         * dbus/dbus-pending-call.c: add the get/set object data
11428         boilerplate as for DBusConnection, etc. Use generic object data
11429         for the notify callback.
11430
11431         * glib/dbus-gparser.c (parse_node): parse child nodes
11432
11433         * tools/dbus-viewer.c: more hacking on the dbus-viewer
11434
11435         * glib/dbus-gutils.c (_dbus_gutils_split_path): add a file to
11436         contain functions shared between the convenience lib and the
11437         installed lib
11438
11439         * glib/Makefile.am (libdbus_glib_1_la_LDFLAGS): add
11440         -export-symbols-regex to the GLib library
11441
11442         * dbus/dbus-object-tree.c (_dbus_object_tree_dispatch_and_unlock):
11443         fix the locking in here, and add a default handler for
11444         Introspect() that just returns sub-nodes.
11445
11446     2003-09-14  Havoc Pennington  <hp@pobox.com>
11447
11448         * glib/dbus-gthread.c (dbus_g_thread_init): rename to make g_foo
11449         rather than gfoo consistent
11450
11451         * glib/dbus-gproxy.h: delete for now, move contents to
11452         dbus-glib.h, because the include files don't work right since we
11453         aren't in the dbus/ subdir.
11454
11455         * glib/dbus-gproxy.c (dbus_gproxy_send): finish implementing
11456         (dbus_gproxy_end_call): finish
11457         (dbus_gproxy_begin_call): finish
11458
11459         * glib/dbus-gmain.c (dbus_set_g_error): new
11460
11461         * glib/dbus-gobject.c (handle_introspect): include information
11462         about child nodes in the introspection
11463
11464         * dbus/dbus-connection.c (dbus_connection_list_registered): new
11465         function to help in implementation of introspection
11466
11467         * dbus/dbus-object-tree.c
11468         (_dbus_object_tree_list_registered_and_unlock): new function
11469
11470     2003-09-12  Havoc Pennington  <hp@pobox.com>
11471
11472         * glib/dbus-gidl.h: add common base class for all the foo_info
11473         types
11474
11475             * tools/dbus-viewer.c: add GTK-based introspection UI thingy
11476         similar to kdcop
11477
11478         * test/Makefile.am: try test srcdir -ef . in addition to test
11479         srcdir = ., one of them should work (yeah lame)
11480
11481             * glib/Makefile.am: build the "idl" parser stuff as a
11482             convenience
11483         library
11484
11485         * glib/dbus-gparser.h: make description_load routines return
11486         NodeInfo* not Parser*
11487
11488         * Makefile.am (SUBDIRS): build test dir after all library dirs
11489
11490         * configure.in: add GTK+ detection
11491
11492     2003-09-07  Havoc Pennington  <hp@pobox.com>
11493
11494         * Make Doxygen contented.
11495
11496     2003-09-07  Havoc Pennington  <hp@pobox.com>
11497
11498         * doc/dbus-specification.sgml: more updates
11499
11500     2003-09-06  Havoc Pennington  <hp@pobox.com>
11501
11502         * doc/dbus-specification.sgml: partial updates
11503
11504         * bus/dbus-daemon-1.1.in: fix the config file docs for the
11505         zillionth time; hopefully I edited the right file this time.
11506
11507         * bus/config-parser.c (append_rule_from_element): support
11508         send_type, send_path, receive_type, receive_path
11509
11510         * bus/policy.c: add message type and path to the list of things
11511         that can be "firewalled"
11512
11513     2003-09-06  Havoc Pennington  <hp@pobox.com>
11514
11515         * dbus/dbus-connection.c (dbus_connection_register_fallback):
11516         add this
11517         (dbus_connection_register_object_path): make this not handle
11518         messages to paths below the given path
11519
11520     2003-09-03  Havoc Pennington  <hp@pobox.com>
11521
11522         * test/glib/Makefile.am: add this with random glib-linked test
11523         programs
11524
11525         * glib/Makefile.am: remove the random test programs from here,
11526         leave only the unit tests
11527
11528         * glib/dbus-gobject.c (_dbus_gobject_test): add test for
11529         uscore/javacaps conversion, and fix
11530         (get_object_property, set_object_property): change to .NET
11531         convention for mapping props to methods, set_FooBar/get_FooBar,
11532         since one language has such a convention we may as well copy it.
11533         Plus real methods in either getFooBar or get_foo_bar style won't
11534         collide with this convention.
11535
11536     2003-09-01  Havoc Pennington  <hp@pobox.com>
11537
11538         * glib/dbus-gparser.c: implement
11539
11540         * glib/dbus-gobject.c: start implementing skeletons support
11541
11542         * configure.in: when disabling checks/assert, also define
11543         G_DISABLE_ASSERT and G_DISABLE_CHECKS
11544
11545     2003-09-01  Havoc Pennington  <hp@pobox.com>
11546
11547         * glib/Makefile.am: rearrange a bunch of files and get "make
11548         check" framework set up
11549
11550     2003-08-31  Havoc Pennington  <hp@pobox.com>
11551
11552         * fix build with --disable-tests
11553
11554     2003-08-30  Havoc Pennington  <hp@pobox.com>
11555
11556         * dbus/dbus-connection.c: purge DBusMessageHandler
11557
11558         * dbus/dbus-message-handler.c: remove DBusMessageHandler, just
11559         use callbacks everywhere
11560
11561     2003-08-30  Havoc Pennington  <hp@pobox.com>
11562
11563         * test/data/valid-config-files/system.d/test.conf: change to
11564         root for the user so warnings don't get printed
11565
11566         * dbus/dbus-message.c: add dbus_message_get_path,
11567         dbus_message_set_path
11568
11569         * dbus/dbus-object-tree.c (do_test_dispatch): add test of
11570         dispatching to a path
11571
11572         * dbus/dbus-string.c (_dbus_string_validate_path): add
11573
11574         * dbus/dbus-marshal.c (_dbus_demarshal_object_path): implement
11575         (_dbus_marshal_object_path): implement
11576
11577         * dbus/dbus-protocol.h (DBUS_HEADER_FIELD_PATH): new header field
11578         to contain the path to the target object
11579         (DBUS_HEADER_FIELD_SENDER_SERVICE): rename
11580         DBUS_HEADER_FIELD_SENDER to explicitly say it's the sender service
11581
11582     2003-08-30  Havoc Pennington  <hp@pobox.com>
11583
11584         * dbus/dbus-object-tree.c: write tests and fix the discovered bugs
11585
11586     2003-08-29  Havoc Pennington  <hp@pobox.com>
11587
11588         * dbus/dbus-object-tree.c: modify to allow overlapping paths to be
11589         registered
11590         (struct DBusObjectSubtree): shrink this
11591         a lot, since we may have a lot of them
11592         (_dbus_object_tree_free_all_unlocked): implement
11593         (_dbus_object_tree_dispatch_and_unlock): implement
11594
11595     2003-08-29  Havoc Pennington  <hp@pobox.com>
11596
11597         * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS
11598
11599     2003-08-28  Havoc Pennington  <hp@pobox.com>
11600
11601         purge DBusObjectID
11602
11603         * dbus/dbus-connection.c: port to no ObjectID, create a
11604         DBusObjectTree, rename ObjectTree to ObjectPath in public API
11605
11606         * dbus/dbus-connection.h (struct DBusObjectTreeVTable): delete
11607         everything except UnregisterFunction and MessageFunction
11608
11609         * dbus/dbus-marshal.c: port away from DBusObjectID,
11610         add DBUS_TYPE_OBJECT_PATH
11611
11612         * dbus/dbus-object-registry.[hc], dbus/dbus-object.[hc],
11613         dbus/dbus-objectid.[hc]: remove these, we are moving to
11614         path-based object IDs
11615
11616     2003-08-25  Havoc Pennington  <hp@pobox.com>
11617
11618             Just noticed that dbus_message_test is hosed, I wonder when I
11619         broke that. I thought make check was passing earlier...
11620
11621         * dbus/dbus-object-tree.c: add new "object tree" to match DCOP
11622         container tree, will replace most of dbus-object-registry
11623
11624         * dbus/dbus-string.c (_dbus_string_append_printf_valist): fix C99
11625         screwup
11626
11627     2003-08-19  Havoc Pennington  <hp@pobox.com>
11628
11629         * dbus/dbus-message.c (decode_string_field): support FIELD_SENDER
11630         (dbus_message_is_error): fix this function
11631
11632         * bus/dbus-daemon-1.1: clarify logic on when <deny>/<allow> rules
11633         match
11634
11635         * bus/policy.c (bus_client_policy_check_can_receive): fix code to
11636         reflect clarified man page
11637         (bus_client_policy_check_can_send): ditto
11638
11639         * bus/session.conf.in: fixup
11640
11641         * bus/system.conf.in: fixup
11642
11643     2003-08-18  Havoc Pennington  <hp@redhat.com>
11644
11645         * dbus/dbus-hash.c (_dbus_hash_table_insert_two_strings): fix
11646
11647         ...
11648
11649  glib/.cvsignore           |    6 +-
11650  glib/Makefile.am          |   70 ++-
11651  glib/dbus-gidl.c          |  524 +++++++++++++++++++
11652  glib/dbus-gidl.h          |  120 +++++
11653  glib/dbus-glib-tool.c     |   77 +++
11654  glib/dbus-glib.h          |  121 ++++-
11655  glib/dbus-gloader-expat.c |  262 ++++++++++
11656  glib/dbus-gmain.c         |  100 +++-
11657  glib/dbus-gobject.c       |  790 ++++++++++++++++++++++++++++
11658  glib/dbus-gparser.c       |  670 ++++++++++++++++++++++++
11659  glib/dbus-gparser.h       |   65 +++
11660  glib/dbus-gproxy.c        | 1249
11661  +++++++++++++++++++++++++++++++++++++++++++++
11662  glib/dbus-gtest-main.c    |   46 ++
11663  glib/dbus-gtest.c         |   77 +++
11664  glib/dbus-gtest.h         |   35 ++
11665  glib/dbus-gthread.c       |    2 +-
11666  glib/dbus-gtool-test.h    |   31 ++
11667  glib/dbus-gutils.c        |   96 ++++
11668  glib/dbus-gutils.h        |   40 ++
11669  19 files changed, 4345 insertions(+), 36 deletions(-)
11670
11671 commit c6510f49417e04522d9cc6a6c51331bef252aba0
11672 Author: Anders Carlsson <andersca@gnome.org>
11673 Date:   2003-08-05 13:57:20 +0000
11674
11675     2003-08-05 Anders Carlsson <andersca@codefactory.se>
11676
11677         * glib/dbus-gmain.c: (watch_fd_new), (watch_fd_ref),
11678         (watch_fd_unref), (dbus_gsource_check), (dbus_gsource_dispatch),
11679         (add_watch), (remove_watch), (create_source):
11680         Refcount fds, fixes some reentrancy issues.
11681
11682  glib/dbus-gmain.c |  116
11683  +++++++++++++++++++++++++++++++++++------------------
11684  1 file changed, 78 insertions(+), 38 deletions(-)
11685
11686 commit a3c695d62bcfc46bd12f4165610649a604ed6166
11687 Author: Havoc Pennington <hp@redhat.com>
11688 Date:   2003-06-22 19:39:46 +0000
11689
11690     2003-06-22 Havoc Pennington <hp@pobox.com>
11691
11692         * dbus/dbus-dataslot.c (_dbus_data_slot_allocator_unref)
11693         (_dbus_data_slot_allocator_alloc): rework these to keep a
11694         reference count on each slot and automatically manage a global
11695         slot ID variable passed in by address
11696
11697         * bus/bus.c: convert to new dataslot API
11698
11699         * dbus/dbus-bus.c: convert to new dataslot API
11700
11701         * dbus/dbus-connection.c: convert to new dataslot API
11702
11703         * dbus/dbus-server.c: convert to new dataslot API
11704
11705         * glib/dbus-gmain.c: ditto
11706
11707         * bus/test.c: ditto
11708
11709         * bus/connection.c: ditto
11710
11711  glib/dbus-gmain.c         |   24 ++++++++++--------------
11712  glib/test-thread-server.c |    5 +++--
11713  2 files changed, 13 insertions(+), 16 deletions(-)
11714
11715 commit 1284fea96df990975632f0a5d8d982ec5c974161
11716 Author: Anders Carlsson <andersca@gnome.org>
11717 Date:   2003-06-19 22:19:56 +0000
11718
11719     2003-06-19 Anders Carlsson <andersca@codefactory.se>
11720
11721         * glib/dbus-glib.h: Fix so that dbus-glib.h can be used
11722         from C++ (Patch by Miloslav Trmac).
11723
11724  glib/dbus-glib.h |    4 ++++
11725  1 file changed, 4 insertions(+)
11726
11727 commit 375ff8ffbed8683c1a46fab9c537ccb9e603e1d7
11728 Author: Anders Carlsson <andersca@gnome.org>
11729 Date:   2003-06-18 10:48:07 +0000
11730
11731     Add .cvsignore files
11732
11733  glib/.cvsignore |    1 +
11734  1 file changed, 1 insertion(+)
11735
11736 commit b4dd1b2cb3e226ece5055bc2f24ef819db7d1b08
11737 Author: Havoc Pennington <hp@redhat.com>
11738 Date:   2003-05-17 17:53:16 +0000
11739
11740     2003-05-17 Havoc Pennington <hp@pobox.com>
11741
11742         * bus/config-parser.c (merge_included): merge in policies from
11743         child configuration file.
11744
11745         * bus/policy.c (bus_policy_merge): function to merge two policies
11746         together
11747
11748  glib/test-profile.c |    4 ++--
11749  1 file changed, 2 insertions(+), 2 deletions(-)
11750
11751 commit ae655688473fc5e5d6a279b3e764a713fc73b8ca
11752 Author: Havoc Pennington <hp@redhat.com>
11753 Date:   2003-05-12 02:44:44 +0000
11754
11755     2003-05-11 Havoc Pennington <hp@pobox.com>
11756
11757         * dbus/dbus-marshal.c (_dbus_marshal_validate_arg): fix to avoid
11758         calling _dbus_marshal_validate_arg() for every byte in a byte
11759         array, etc.
11760
11761         * dbus/dbus-message-handler.c: use atomic reference counting to
11762         reduce number of locks slightly; the global lock in here sucks
11763
11764         * dbus/dbus-connection.c
11765         (_dbus_connection_update_dispatch_status_and_unlock): variant of
11766         update_dispatch_status that can be called with lock held; then use
11767         in a couple places to reduce locking/unlocking
11768         (dbus_connection_send): hold the lock over the whole function
11769         instead of acquiring it twice.
11770
11771         * dbus/dbus-timeout.c (_dbus_timeout_new): handle OOM
11772
11773         * bus/connection.c (bus_connections_setup_connection): fix access
11774         to already-freed memory.
11775
11776         * dbus/dbus-connection.c: keep a little cache of linked list
11777         nodes, to avoid using the global linked list alloc lock in the
11778         normal send-message case. Instead we just use the connection lock
11779         that we already have to take.
11780
11781         * dbus/dbus-list.c (_dbus_list_find_last): new function
11782
11783         * dbus/dbus-sysdeps.c (_dbus_atomic_inc, _dbus_atomic_dec):
11784         change to use a struct for the atomic type; fix docs,
11785         they return value before increment, not after increment.
11786
11787         * dbus/dbus-string.c (_dbus_string_append_4_aligned)
11788         (_dbus_string_append_8_aligned): new functions to try to
11789         microoptimize this operation.
11790         (reallocate_for_length): break this out of set_length(), to
11791         improve profile info, and also so we can consider inlining the
11792         set_length() part.
11793
11794         * dbus/dbus-message.c (dbus_message_new_empty_header): init data
11795         strings with some preallocation, cuts down on our calls to realloc
11796         a fair bit. Though if we can get the "move entire string to empty
11797         string" optimization below to kick in here, it would be better.
11798
11799         * dbus/dbus-string.c (_dbus_string_move): just call
11800         _dbus_string_move_len
11801         (_dbus_string_move_len): add a special case for moving
11802         an entire string into an empty string; we can just
11803         swap the string data instead of doing any reallocs.
11804         (_dbus_string_init_preallocated): new function
11805
11806  glib/test-profile.c |   16 ++++++++++++----
11807  1 file changed, 12 insertions(+), 4 deletions(-)
11808
11809 commit b36dd8b35d932d01407b88e948c5196b49e31aa0
11810 Author: Havoc Pennington <hp@redhat.com>
11811 Date:   2003-05-11 07:59:08 +0000
11812
11813     2003-05-11 Havoc Pennington <hp@pobox.com>
11814
11815         Write a "test-profile" that does echo client-server with threads;
11816         profile reveals lock contention, memcpy/realloc of buffers, and
11817         UTF-8 validation as hot spots. 20% of lock contention eliminated
11818         with dbus_atomic_inc/dec implementation on x86.  Much remaining
11819         contention is global mempool locks for GList and DBusList.
11820
11821         * dbus/dbus-sysdeps.c (_dbus_atomic_inc, _dbus_atomic_dec): add
11822         x86 implementation
11823
11824         * dbus/dbus-connection.c (struct DBusConnection): use
11825         dbus_atomic_t for the reference count
11826
11827         * dbus/dbus-message.c (struct DBusMessage): declare
11828         dbus_atomic_t values as volatile
11829
11830         * configure.in: code to detect ability to use atomic integer
11831         operations in assembly, from GLib patch
11832
11833         * dbus/dbus-internals.c (_dbus_verbose_real): call getpid every
11834         time, tired of it being wrong in threads and forked processes
11835
11836         * glib/test-profile.c: a little program to bounce messages back
11837         and forth between threads and eat CPU
11838
11839         * dbus/dbus-connection.c: add debug spew macros for debugging
11840         thread locks; include config.h at top; fix deadlock in
11841         dbus_connection_flush()
11842
11843  glib/Makefile.am    |   33 +++++---
11844  glib/test-profile.c |  215
11845  +++++++++++++++++++++++++++++++++++++++++++++++++++
11846  2 files changed, 237 insertions(+), 11 deletions(-)
11847
11848 commit 6f4b867ddd6cef070d65149a4d935b4a964987f1
11849 Author: Havoc Pennington <hp@redhat.com>
11850 Date:   2003-04-29 22:57:13 +0000
11851
11852     2003-04-29 Havoc Pennington <hp@redhat.com>
11853
11854         * glib/dbus-gmain.c: docs cleanups
11855
11856         * dbus/dbus-types.h: add docs on int64 types
11857
11858         * dbus/dbus-memory.c: fix docs to avoid putting private API in
11859         public API docs section
11860
11861  glib/dbus-gmain.c |    8 +++++++-
11862  1 file changed, 7 insertions(+), 1 deletion(-)
11863
11864 commit 7d22e9a86a21e337a31ee42ccdb851ada88c0b40
11865 Author: Havoc Pennington <hp@redhat.com>
11866 Date:   2003-04-25 20:41:49 +0000
11867
11868     2003-04-25 Havoc Pennington <hp@redhat.com>
11869
11870         * glib/dbus-gmain.c (remove_watch): fix for a crash when watches
11871         were toggled without add/remove, fix from Anders Gustafsson
11872
11873  glib/dbus-gmain.c |    4 ++++
11874  1 file changed, 4 insertions(+)
11875
11876 commit 36a6a6bc4edb1b3280e405b0addb9113dc09de5c
11877 Author: Havoc Pennington <hp@redhat.com>
11878 Date:   2003-04-24 19:18:22 +0000
11879
11880     2003-04-24 Havoc Pennington <hp@redhat.com>
11881
11882         * configure.in: add --enable-checks
11883
11884         * dbus/dbus-message.c (dbus_message_new): reverse name/service
11885         arguments
11886
11887         * dbus/dbus-connection.c (dbus_connection_preallocate_send): fix
11888         to use thread locks.
11889         (_dbus_connection_handler_destroyed_locked): move some private
11890         functions into proper docs group
11891
11892         * dbus/dbus-internals.h: add _dbus_return_if_fail,
11893         _dbus_return_val_if_fail
11894
11895         Throughout: use dbus_return_if_fail
11896
11897  glib/test-dbus-glib.c     |    3 ++-
11898  glib/test-thread-client.c |    2 +-
11899  2 files changed, 3 insertions(+), 2 deletions(-)
11900
11901 commit eb553e370e7651a3104038cbba7ebb7a502118e7
11902 Author: James Willcox <jwillcox@gnome.org>
11903 Date:   2003-04-24 02:22:49 +0000
11904
11905     2003-04-23 James Willcox <jwillcox@gnome.org>
11906
11907         * glib/dbus-glib.h:
11908         * glib/dbus-gmain.c: (add_timeout), (wakeup_main),
11909         (create_source),
11910         (dbus_connection_setup_with_g_main),
11911         (dbus_server_setup_with_g_main):
11912         * glib/test-dbus-glib.c: (main):
11913         * glib/test-thread-client.c: (main):
11914         * glib/test-thread-server.c: (new_connection_callback), (main):
11915         * tools/dbus-monitor.c: (main):
11916
11917         Added a GMainContext argument to
11918         dbus_connection_setup_with_g_main()
11919         and dbus_server_setup_with_g_main().
11920
11921  glib/dbus-glib.h          |    6 ++++--
11922  glib/dbus-gmain.c         |   36 +++++++++++++++++++++++-------------
11923  glib/test-dbus-glib.c     |    2 +-
11924  glib/test-thread-client.c |    2 +-
11925  glib/test-thread-server.c |    4 ++--
11926  5 files changed, 31 insertions(+), 19 deletions(-)
11927
11928 commit 62cc9827dee1d9fa052a11ce259acc7d1d2dcb9d
11929 Author: Havoc Pennington <hp@redhat.com>
11930 Date:   2003-04-18 04:18:57 +0000
11931
11932     2003-04-18 Havoc Pennington <hp@pobox.com>
11933
11934         * glib/dbus-gmain.c: adapt to watch changes
11935
11936         * bus/bus.c, bus/activation.c, etc.: adjust to watch changes
11937
11938         * dbus/dbus-server.h: remove dbus_server_handle_watch
11939
11940         * dbus/dbus-connection.h: remove dbus_connection_handle_watch
11941
11942         * dbus/dbus-watch.c (dbus_watch_handle): change DBusWatch to work
11943         like DBusTimeout, so we don't need dbus_connection_handle_watch
11944         etc.
11945
11946  glib/dbus-gmain.c |    9 ++-------
11947  1 file changed, 2 insertions(+), 7 deletions(-)
11948
11949 commit 723f9251ee8892f05f4c94a9b0cfa864c5e56bae
11950 Author: Alex Larsson <alexl@redhat.com>
11951 Date:   2003-04-10 12:09:00 +0000
11952
11953     2003-04-10 Alexander Larsson <alexl@redhat.com>
11954
11955         * bus/.cvsignore:
11956         * glib/.cvsignore:
11957         * test/.cvsignore:
11958         Added files to cvsignore
11959
11960         * dbus/dbus-message.h:
11961         * dbus/dbus-message.c: (dbus_message_iter_get_named):
11962         Make get_named() take two out argument and return a boolean.
11963         (dbus_message_iter_get_args_valist):
11964         Update usage of get_named().
11965         (dbus_message_iter_append_byte):
11966         Fix typo
11967         (dbus_message_iter_append_named)
11968         Fix typo
11969         (message_iter_test), (check_message_handling_type),
11970         (_dbus_message_test):
11971         More tests.
11972
11973  glib/.cvsignore |    2 ++
11974  1 file changed, 2 insertions(+)
11975
11976 commit f8c607ec8949388bd09136d0a6635190910a3e9a
11977 Author: Alex Larsson <alexl@redhat.com>
11978 Date:   2003-04-08 15:52:50 +0000
11979
11980     2003-04-08 Alexander Larsson <alexl@redhat.com>
11981
11982         Implemented recursive types, named types and new-style iters
11983
11984         * bus/driver.c:
11985         * glib/test-thread-client.c: (thread_func):
11986         * glib/test-thread-server.c: (handle_test_message):
11987         * test/test-service.c: (handle_echo):
11988         Update to new api
11989
11990         * dbus/Makefile.am:
11991         * dbus/dbus-dict.c:
11992         * dbus/dbus-dict.h:
11993         * dbus/dbus.h
11994         Remove DBusDict
11995
11996         * dbus/dbus-internals.c: (_dbus_type_to_string):
11997         Update for new types.
11998
11999         * dbus/dbus-marshal.[ch]:
12000         Implement recursive types and the new marshalling format.
12001         Remove hardcoded dict marshalling.
12002         Marshal named types.
12003
12004         * dbus/dbus-message-builder.c:
12005         Add BYTE_ARRAY.
12006         Remove references to old types
12007
12008         * dbus/dbus-message.[ch]:
12009         New non-refcounted iter API that supports recursive iters.
12010         Use iters for appending, including support for recursive
12011         iters.
12012         Add byte and named type support.
12013         Update everything to new marshalling formats.
12014         Add tests for new API.
12015
12016         * dbus/dbus-protocol.h:
12017         Remove old array types.
12018         Add types: BYTE, ARRAY, DICT, NAMED
12019
12020         * dbus/dbus-string.c:
12021         * dbus/dbus-sysdeps.c:
12022         Make parse_double locale safe.
12023
12024         * dbus/dbus-test-main.c:
12025         Call setlocale.
12026
12027         * dbus/dbus-test.c:
12028         Kill dict test
12029
12030         * doc/dbus-specification.sgml:
12031         Update spec
12032
12033         * test/data/incomplete-messages/missing-body.message:
12034         * test/data/invalid-messages/bad-boolean.message:
12035         * test/data/invalid-messages/bad-boolean-array.message:
12036         *
12037         test/data/invalid-messages/boolean-array-length-too-long.message-raw:
12038         * test/data/invalid-messages/boolean-has-no-value.message-raw:
12039         * test/data/invalid-messages/too-short-dict.message:
12040         * test/data/valid-messages/dict-simple.message:
12041         * test/data/valid-messages/dict.message:
12042         * test/data/valid-messages/emptiness.message:
12043         * test/data/valid-messages/lots-of-arguments.message:
12044         * test/data/valid-messages/no-padding.message:
12045         * test/data/valid-messages/recursive-types.message:
12046         Add missing NAME fields
12047         Fix up dicts & arrays
12048
12049         * test/data/invalid-messages/dict-with-nil-value.message:
12050         Removed, this is not invalid anymore.
12051
12052         * test/data/valid-messages/recursive-types.message:
12053         Add new test for deeply recursive types.
12054
12055  glib/test-thread-client.c |    9 ++++++---
12056  glib/test-thread-server.c |   23 +++++++++++------------
12057  2 files changed, 17 insertions(+), 15 deletions(-)
12058
12059 commit 4612ff9267417cf8860c233a59fe8ec249ee4a62
12060 Author: Havoc Pennington <hp@redhat.com>
12061 Date:   2003-03-25 04:37:07 +0000
12062
12063     2003-03-24 Havoc Pennington <hp@redhat.com>
12064
12065         * dbus/dbus-sysdeps.c (_dbus_set_fd_nonblocking): move to this
12066         file
12067
12068         * dbus/dbus-errors.c (dbus_set_error, dbus_set_error_const): allow
12069         NULL argument for "message" if the error is a well-known one,
12070         fill in a generic message in this case.
12071
12072         * dbus/dbus-errors.h (DBusResultCode): Kill DBusResultCode in
12073         favor of DBusError
12074
12075         * bus/test.c (bus_test_flush_bus): add
12076
12077         * bus/policy.c (bus_policy_test): test code stub
12078
12079  glib/test-dbus-glib.c     |    7 ++++---
12080  glib/test-thread-client.c |    8 +++++---
12081  glib/test-thread-server.c |    8 +++++---
12082  3 files changed, 14 insertions(+), 9 deletions(-)
12083
12084 commit 9eb162678713477754e9d88eb68c156d336c80ab
12085 Author: Havoc Pennington <hp@redhat.com>
12086 Date:   2003-03-16 20:16:46 +0000
12087
12088     2003-03-16 Havoc Pennington <hp@pobox.com>
12089
12090         * dbus/dbus-string.c (_dbus_string_validate_utf8): oops, unbreak
12091         this. always run the test suite before commit...
12092
12093         * bus/*: adapt to DBusConnection API changes
12094
12095         * glib/dbus-gmain.c: adapt to DBusConnection API changes,
12096         requires renaming stuff to avoid dbus_connection_dispatch name
12097         conflict.
12098
12099         * dbus/dbus-transport.c (_dbus_transport_queue_messages): new
12100         function
12101
12102         * dbus/dbus-message.c (_dbus_message_loader_queue_messages):
12103         separate from _dbus_message_loader_return_buffer()
12104
12105         * dbus/dbus-connection.c (dbus_connection_get_n_messages): remove
12106         this, because it's now always broken to use; the number of
12107         messages in queue vs. the number still buffered by the message
12108         loader is undefined/meaningless. Should use
12109         dbus_connection_get_dispatch_state().
12110         (dbus_connection_dispatch): rename from
12111         dbus_connection_dispatch_message
12112
12113  glib/dbus-gmain.c |   64
12114  ++++++++++++++++++++++++++---------------------------
12115  1 file changed, 32 insertions(+), 32 deletions(-)
12116
12117 commit 457dd574d5eda1286571f7070860c6feb56f184e
12118 Author: Havoc Pennington <hp@redhat.com>
12119 Date:   2003-03-15 20:47:16 +0000
12120
12121     2003-03-15 Havoc Pennington <hp@pobox.com>
12122
12123         Make it pass the Hello handling test including all OOM codepaths.
12124         Now to do other messages...
12125
12126         * bus/services.c (bus_service_remove_owner): fix crash when
12127         removing owner from an empty list of owners
12128         (bus_registry_ensure): don't leave service in the list of
12129         a connection's owned services if we fail to put the service
12130         in the hash table.
12131
12132         * bus/connection.c (bus_connection_preallocate_oom_error): set
12133         error flag on the OOM error.
12134
12135         * dbus/dbus-connection.c (_dbus_connection_new_for_transport):
12136         handle _dbus_transport_set_connection failure
12137
12138         * dbus/dbus-transport-unix.c (_dbus_transport_new_for_fd): modify
12139         to create watches up front and simply enable/disable them as
12140         needed.
12141         (unix_connection_set): this can now fail on OOM
12142
12143         * dbus/dbus-timeout.c, dbus/dbus-watch.c: add concept
12144         of enabling/disabling a watch or timeout.
12145
12146         * bus/loop.c (bus_loop_iterate): don't touch disabled
12147         watches/timeouts
12148
12149         * glib/dbus-gmain.c: adapt to enable/disable watches and timeouts
12150
12151  glib/dbus-gmain.c |   44 ++++++++++++++++++++++++++++++++++++++++++--
12152  1 file changed, 42 insertions(+), 2 deletions(-)
12153
12154 commit 0f748f23b6fd40ab314bdc4d18e631cde958c1d2
12155 Author: Havoc Pennington <hp@redhat.com>
12156 Date:   2003-03-15 02:19:01 +0000
12157
12158     2003-03-14 Havoc Pennington <hp@redhat.com>
12159
12160         * dbus/dbus-memory.c: add a "detect buffer overwrites on free"
12161         cheesy hack
12162
12163         * dbus/dbus-transport-debug.c: rework this a good bit to be
12164         less complicated. hopefully still works.
12165
12166         * dbus/dbus-server-debug.c (handle_new_client): remove timeout
12167         manually
12168
12169         * glib/dbus-gmain.c (timeout_handler): don't remove timeout
12170         after running it
12171
12172         * dbus/dbus-message.c (dbus_message_copy): rename from
12173         dbus_message_new_from_message, fix it up to copy
12174         all the message fields, add test case
12175
12176         * bus/dispatch.c (bus_dispatch_test): add some more test code,
12177         not quite passing yet
12178
12179  glib/dbus-gmain.c |    2 +-
12180  1 file changed, 1 insertion(+), 1 deletion(-)
12181
12182 commit a15287bc97819cca7b61cc18d6d69232bb05117d
12183 Author: Havoc Pennington <hp@redhat.com>
12184 Date:   2003-03-14 01:27:58 +0000
12185
12186     2003-03-13 Havoc Pennington <hp@redhat.com>
12187
12188         * dbus/dbus-timeout.c (_dbus_timeout_list_set_functions): handle
12189         out of memory
12190
12191         * dbus/dbus-watch.c (_dbus_watch_list_set_functions): handle out
12192         of memory
12193
12194         * dbus/dbus-connection.h: Make AddWatchFunction and
12195         AddTimeoutFunction return a bool so they can fail on out-of-memory
12196
12197         * bus/bus.c (bus_context_new): set up timeout handlers
12198
12199         * bus/connection.c (bus_connections_setup_connection): set up
12200         timeout handlers
12201
12202         * glib/dbus-gmain.c: adapt to the fact that set_functions stuff
12203         can fail
12204
12205         * bus/bus.c (bus_context_new): adapt to changes
12206
12207         * bus/connection.c: adapt to changes
12208
12209         * test/watch.c: adapt to DBusWatch changes
12210
12211         * bus/dispatch.c (bus_dispatch_test): started adding this but
12212         didn't finish
12213
12214  glib/dbus-gmain.c |   28 +++++++++++++++++-----------
12215  1 file changed, 17 insertions(+), 11 deletions(-)
12216
12217 commit e0a3fe2914f611ef4d74bbc1ca39794f0f7ae575
12218 Author: Havoc Pennington <hp@redhat.com>
12219 Date:   2003-03-13 00:56:43 +0000
12220
12221     2003-03-12 Havoc Pennington <hp@redhat.com>
12222
12223             Mega-patch that gets the message bus daemon initially handling
12224         out-of-memory. Work still needed. Also lots of random
12225         moving stuff to DBusError instead of ResultCode.
12226
12227         * dbus/dbus-list.c (_dbus_list_length_is_one): new function
12228
12229         * dbus/dbus-connection.c
12230         (dbus_connection_send_with_reply_and_block): use DBusError
12231
12232         * dbus/dbus-bus.c: adapt to API changes, make it use DBusError not
12233         DBusResultCode
12234
12235         * dbus/dbus-connection.c (dbus_connection_send): drop the result
12236         code here, as the only failure possible is OOM.
12237
12238         * bus/connection.c (bus_connection_disconnect):
12239         rename bus_connection_disconnected as it's a notification only
12240
12241         * bus/driver.c (bus_driver_handle_acquire_service): don't free
12242         "name" on get_args failure, should be done by get_args;
12243         don't disconnect client for bad args, just return an error.
12244         (bus_driver_handle_service_exists): ditto
12245
12246         * bus/services.c (bus_services_list): NULL-terminate returned
12247         array
12248
12249         * bus/driver.c (bus_driver_send_service_lost)
12250         (bus_driver_send_service_acquired): send messages from driver to a
12251         specific client to the client's unique name, not to the broadcast
12252         service.
12253
12254         * dbus/dbus-message.c (decode_header_data): reject messages that
12255         contain no name field
12256         (_dbus_message_get_client_serial): rename to
12257         dbus_message_get_serial and make public
12258         (_dbus_message_set_serial): rename from set_client_serial
12259         (_dbus_message_set_reply_serial): make public
12260         (_dbus_message_get_reply_serial): make public
12261
12262         * bus/connection.c (bus_connection_foreach): allow stopping
12263         iteration by returning FALSE from foreach function.
12264
12265         * dbus/dbus-connection.c (dbus_connection_send_preallocated)
12266         (dbus_connection_free_preallocated_send)
12267         (dbus_connection_preallocate_send): new API for sending a message
12268         without possibility of malloc failure.
12269         (dbus_connection_send_message): rename to just
12270         dbus_connection_send (and same for whole function family)
12271
12272         * dbus/dbus-errors.c (dbus_error_free): make this reinit the error
12273
12274         * dbus/dbus-sysdeps.c (_dbus_exit): new function
12275
12276         * bus/activation.c: handle/return errors
12277
12278         * dbus/dbus-errors.h: add more DBUS_ERROR #define
12279
12280         * dbus/dbus-sysdeps.c (_dbus_directory_open)
12281         (_dbus_file_get_contents)
12282         (_dbus_directory_get_next_file): use DBusError instead of
12283         DBusResultCode
12284         (_dbus_result_from_errno): move to this file
12285
12286  glib/test-dbus-glib.c     |   20 ++++++++++++++------
12287  glib/test-thread-client.c |    9 +++++----
12288  2 files changed, 19 insertions(+), 10 deletions(-)
12289
12290 commit 284daff1f103a303178243ca3e2dee960651fec0
12291 Author: Alex Larsson <alexl@redhat.com>
12292 Date:   2003-02-27 14:22:36 +0000
12293
12294     2003-02-27 Alexander Larsson <alexl@redhat.com>
12295
12296         * glib/Makefile.am:
12297         * configure.in:
12298         Make gthreads-2.0 dependency optional. Don't build thread test if
12299         its not found.
12300
12301  glib/Makefile.am |    8 +++++++-
12302  1 file changed, 7 insertions(+), 1 deletion(-)
12303
12304 commit b9589e9908d368cb064d1614e5c52239394414f4
12305 Author: Alex Larsson <alexl@redhat.com>
12306 Date:   2003-02-26 15:52:25 +0000
12307
12308     2003-02-26 Alexander Larsson <alexl@redhat.com>
12309
12310         * configure.in:
12311         Set DBUS_GLIB_THREADS_LIBS for apps using gthread-2.0
12312
12313         * dbus/dbus-connection.c:
12314         * dbus/dbus-connection.h:
12315         Fix _dbus_connection_acquire_io_path and
12316         _dbus_connection_acquire_dispatch.
12317         Add dbus_connection_set_wakeup_main_function and use it when
12318         queueing
12319         incoming and outgoing messages.
12320
12321         * dbus/dbus-dataslot.c:
12322         Threadsafe usage of DBusDataSlotAllocator
12323
12324         * dbus/dbus-message.c: (dbus_message_get_args_iter):
12325         dbus_new can fail.
12326
12327         * dbus/dbus-server-unix.c:
12328         Add todo comment
12329
12330         * glib/dbus-gmain.c:
12331         Implement the new wakeup functions for glib.
12332
12333         * glib/Makefile.am:
12334         * glib/test-thread-client.c:
12335         * glib/test-thread-server.c:
12336         * glib/test-thread.h:
12337         Initial cut at some thread test code. Not really done yet.
12338
12339  glib/Makefile.am          |   16 ++-
12340  glib/dbus-gmain.c         |   13 ++-
12341  glib/test-thread-client.c |   89 ++++++++++++++++
12342  glib/test-thread-server.c |  246
12343  +++++++++++++++++++++++++++++++++++++++++++++
12344  glib/test-thread.h        |    1 +
12345  5 files changed, 362 insertions(+), 3 deletions(-)
12346
12347 commit c79213c6d3b041ce00bb00f24d4824e4a77f63ef
12348 Author: Havoc Pennington <hp@redhat.com>
12349 Date:   2003-02-26 06:42:57 +0000
12350
12351     2003-02-26 Havoc Pennington <hp@pobox.com>
12352
12353         * dbus/dbus-connection.c
12354         (dbus_connection_send_message_with_reply_and_block): fix crash
12355         where we ref'd the outgoing message instead of the returned reply
12356
12357         * dbus/dbus-transport-unix.c (do_authentication): check read watch
12358         at the end of this function, so if we didn't need to read for
12359         authentication, we reinstall it for receiving messages
12360
12361         * dbus/dbus-message.c (dbus_message_new_reply): allow replies to
12362         a NULL sender for peer-to-peer case
12363
12364         * dbus/dbus-transport-unix.c (check_read_watch): handle
12365         !authenticated case correctly
12366
12367         * glib/dbus-gmain.c: add support for DBusServer
12368
12369         * dbus/dbus-server.c: add data slot support
12370
12371         * glib/dbus-gmain.c (dbus_connection_setup_with_g_main): check
12372         return values and handle errors
12373
12374         * dbus/dbus-dataslot.c: factor out the data slot stuff from
12375         DBusConnection
12376
12377         * Doxyfile.in (INPUT): add glib subdir
12378
12379         * glib/dbus-gmain.c (dbus_connection_setup_with_g_main): rename
12380         setup_with_g_main instead of hookup_with_g_main; write docs
12381
12382  glib/dbus-glib.h      |    5 +-
12383  glib/dbus-gmain.c     |  257
12384  +++++++++++++++++++++++++++++++++++++++++--------
12385  glib/dbus-gthread.c   |   16 +++
12386  glib/test-dbus-glib.c |    2 +-
12387  4 files changed, 238 insertions(+), 42 deletions(-)
12388
12389 commit ebace7f90ea6b3d85a9140be3671ea527c3a5727
12390 Author: Joe Shaw <joe@novell.com>
12391 Date:   2003-02-18 22:51:35 +0000
12392
12393     2003-02-18 Joe Shaw <joe@assbarn.com>
12394
12395         * dbus/dbus-auth.c (handle_server_data_stupid_test_mech): Just get
12396         credentials from our currently running process.
12397         (get_word): Fix a buglet where we were copying the entire length
12398         instead of relative to our position.
12399
12400         * dbus/dbus-hash.c (_dbus_hash_test): Don't try to allocate the
12401         keys on the stack... it's 640k of data.
12402
12403         * dbus/dbus-sysdeps.c (_dbus_read_credentials_unix_socket): Always
12404         read the credentials byte off the socket, even if we don't have
12405         SO_PEERCRED.
12406         (_dbus_poll): Implement poll() using select() for systems which
12407         don't have it.
12408
12409         * glib/test-dbus-glib.c (main): Print out an error if no
12410         parameters are given.
12411
12412         * test/data/auth/fallback.auth-script: Added.  Tests that a client
12413         can fallback to a secondary auth mechanism if the first fails.
12414
12415  glib/test-dbus-glib.c |    7 +++++++
12416  1 file changed, 7 insertions(+)
12417
12418 commit 2655a78cdf1114a686d3c2ee28025db133b287c3
12419 Author: Anders Carlsson <andersca@gnome.org>
12420 Date:   2003-02-16 12:57:26 +0000
12421
12422     2003-02-16 Anders Carlsson <andersca@codefactory.se>
12423
12424         * dbus/dbus-auth.c: (client_try_next_mechanism):
12425         Plug a leak.
12426
12427         * dbus/dbus-threads.c: (dbus_condvar_wait_timeout):
12428         Return TRUE if there's no thread implementation around.
12429
12430         * glib/dbus-gmain.c: (free_source),
12431         (dbus_connection_hookup_with_g_main):
12432         Make sure to remove the GSource when the connection is finalized.
12433
12434  glib/dbus-gmain.c |   15 +++++++++++++++
12435  1 file changed, 15 insertions(+)
12436
12437 commit 4fbaec0ff143d92f96fb60c585282b5cb03bdc76
12438 Author: Havoc Pennington <hp@redhat.com>
12439 Date:   2003-02-16 07:20:54 +0000
12440
12441     2003-02-16 Havoc Pennington <hp@pobox.com>
12442
12443         * dbus/dbus-connection.c (dbus_connection_set_change_sigpipe):
12444         allow people to avoid setting SIGPIPE to SIG_IGN
12445         (_dbus_connection_new_for_transport): disable SIGPIPE unless
12446         we've been asked not to
12447
12448  glib/.cvsignore |    4 ++++
12449  1 file changed, 4 insertions(+)
12450
12451 commit 69a436d7913c1681eea397e768687fab736f9d7c
12452 Author: Alex Larsson <alexl@redhat.com>
12453 Date:   2003-02-15 16:25:08 +0000
12454
12455     2003-02-15 Alexander Larsson <alexl@redhat.com>
12456
12457         * dbus/dbus-threads.c:
12458         * dbus/dbus-threads.h:
12459         Add condvars. Remove static mutext from API.
12460         Implement static mutexes by initializing them from threads_init.
12461
12462         * glib/dbus-gthread.c:
12463         * qt/dbus-qthread.cpp:
12464         Update with the thread api changes.
12465
12466         * dbus/dbus-list.c:
12467         * dbus/dbus-list.h:
12468         Turn StaticMutex into normal mutex + init function.
12469         Export new functions _dbus_list_alloc_link, _dbus_list_free_link,
12470         _dbus_list_append_link, _dbus_list_prepend_link
12471
12472         * dbus/dbus-sysdeps.c:
12473         * dbus/dbus-sysdeps.h:
12474         New type dbus_atomic_t, and new functions _dbus_atomic_inc,
12475         _dbus_atomic_dec. Only slow fallback implementation at the moment.
12476
12477         * dbus/dbus-protocol.h:
12478         Add DBUS_MESSAGE_LOCAL_DISCONNECT define
12479
12480         * dbus/dbus-message.c:
12481         Make ref/unref atomic.
12482         Fix some docs.
12483
12484         * dbus/dbus-connection-internal.h:
12485         * dbus/dbus-connection.c:
12486         * dbus/dbus-connection.h:
12487         Make threadsafe.
12488         Change _peek to _borrow,_return & _steal_borrowed.
12489         Change disconnect callback to event.
12490         Make dbus_connection_dispatch_messages reentrant.
12491
12492         * dbus/dbus-transport.c:
12493         Don't ref the connection on calls to the transport
12494         implementation.
12495
12496         * dbus/dbus-message-handler.c:
12497         Make threadsafe.
12498
12499         * glib/dbus-gmain.c:
12500         Don't use peek_message anymore
12501
12502         * test/Makefile.am:
12503         * test/debug-thread.c:
12504         * test/debug-thread.h:
12505         Simple thread implementation that asserts() on deadlocks in
12506         single-threaded code.
12507
12508         * test/bus-test.c:
12509         (main) Call debug_threads_init.
12510
12511         * test/watch.c:
12512         Use disconnect message instead of disconnect callback.
12513
12514         * bus/connection.c:
12515         * bus/connection.h:
12516         Don't call dbus_connection_set_disconnect_function. Instead export
12517         bus_connection_disconnect.
12518
12519         * bus/dispatch.c:
12520         Call bus_connection_disconnect when we get a disconnected message.
12521
12522  glib/dbus-gmain.c   |    2 +-
12523  glib/dbus-gthread.c |   94
12524  ++++++++++++++++++++++++++++++++++++++++++++++-----
12525  2 files changed, 86 insertions(+), 10 deletions(-)
12526
12527 commit 530cf7689515707b5430b3207da225320cf244c4
12528 Author: Anders Carlsson <andersca@gnome.org>
12529 Date:   2003-02-13 21:37:58 +0000
12530
12531     2003-02-13 Anders Carlsson <andersca@codefactory.se>
12532
12533         * bus/driver.c: (bus_driver_handle_hello):
12534         * bus/driver.h:
12535         * bus/services.c: (bus_service_lookup):
12536         Reorder message sending so we get a more sane order.
12537
12538         * test/bus-test.c: (message_handler):
12539         Fix tyop.
12540
12541  glib/test-dbus-glib.c |    3 ---
12542  1 file changed, 3 deletions(-)
12543
12544 commit 044f4c6ed2170170d833d402079b90277893cd05
12545 Author: Anders Carlsson <andersca@gnome.org>
12546 Date:   2003-02-13 20:37:07 +0000
12547
12548     2003-02-13 Anders Carlsson <andersca@codefactory.se>
12549
12550         * glib/dbus-gmain.c: (timeout_handler), (add_timeout),
12551         (remove_timeout):
12552         Implement support for timeouts in dbus-glib.
12553
12554  glib/dbus-gmain.c |   22 ++++++++++++++++++++++
12555  1 file changed, 22 insertions(+)
12556
12557 commit 12d8e0d2d6aeb5f29ff8b51cdd4aae857d35d13f
12558 Author: Alex Larsson <alexl@redhat.com>
12559 Date:   2003-02-01 22:02:27 +0000
12560
12561     2003-02-02 Alexander Larsson <alexl@redhat.com>
12562
12563         * dbus/dbus-watch.c (dbus_watch_get_flags):
12564         Add note in the docs that ERROR or HANGUP won't be returned
12565         and are assumed always on.
12566
12567         * glib/dbus-gmain.c (add_watch):
12568         Always add IO_ERR | IO_HUP
12569
12570         * dbus/dbus-message.h:
12571         Add semicolon after dbus_message_iter_get_string_array().
12572         Makes qt code build again
12573
12574  glib/dbus-gmain.c |    5 +----
12575  1 file changed, 1 insertion(+), 4 deletions(-)
12576
12577 commit bb581faf87398e807a828f2686474869cd23757d
12578 Author: Richard Hult <rhult@codefactory.de>
12579 Date:   2003-01-26 00:06:30 +0000
12580
12581     2003-01-26 Richard Hult <rhult@codefactory.se>
12582
12583         * glib/dbus-gmain.c (dbus_connection_dispatch): Traverse a copy of
12584         the file descriptor list, since it can change under us.
12585
12586  glib/dbus-gmain.c |   12 ++++++++----
12587  1 file changed, 8 insertions(+), 4 deletions(-)
12588
12589 commit 74cef08b5e2f2596cade4fc1027933d763cd13ae
12590 Author: Anders Carlsson <andersca@gnome.org>
12591 Date:   2003-01-25 21:22:57 +0000
12592
12593     2003-01-25 Anders Carlsson <andersca@codefactory.se>
12594
12595         * glib/dbus-gmain.c: (dbus_connection_prepare),
12596         (dbus_connection_check), (dbus_connection_dispatch), (add_watch),
12597         (remove_watch), (dbus_connection_hookup_with_g_main):
12598         Rewrite the glib handling to use its own GSource instead of a
12599         GIOChannel so we can catch messages put in the queue while waiting
12600         for a reply.
12601
12602  glib/dbus-gmain.c |  193
12603  +++++++++++++++++++++++++++++++++++------------------
12604  1 file changed, 128 insertions(+), 65 deletions(-)
12605
12606 commit 6f062c93ca19a73b34688488e76ec055d2bab2a0
12607 Author: Anders Carlsson <andersca@gnome.org>
12608 Date:   2003-01-24 23:51:58 +0000
12609
12610     2003-01-25 Anders Carlsson <andersca@codefactory.se>
12611
12612         * bus/connection.c: (bus_connection_foreach):
12613         * bus/connection.h:
12614         Add new bus_connection_foreach function.
12615
12616         * bus/driver.c: (send_one_message),
12617         (bus_driver_broadcast_message):
12618         Add function that broadcasts a message to all clients.
12619
12620         (bus_driver_send_service_created), (bus_driver_handle_hello),
12621         (bus_driver_send_welcome_message),
12622         (bus_driver_handle_list_services), (bus_driver_message_handler):
12623         Implement functions that take care of listing services, and
12624         notifying
12625         clients when new services are created.
12626
12627         * bus/services.c: (bus_services_list):
12628         * bus/services.h:
12629         Add new function that returns an array of strings with the
12630         currently
12631         registered services.
12632
12633         * glib/dbus-glib.h:
12634         * glib/dbus-gmain.c:
12635         Update copyright year.
12636
12637  glib/dbus-glib.h  |    2 +-
12638  glib/dbus-gmain.c |    2 +-
12639  2 files changed, 2 insertions(+), 2 deletions(-)
12640
12641 commit ea868ce1cd9328ffa31cd9419e23498771f8feb2
12642 Author: Anders Carlsson <andersca@gnome.org>
12643 Date:   2003-01-21 09:23:18 +0000
12644
12645     2003-01-21 Anders Carlsson <andersca@codefactory.se>
12646
12647         * dbus/dbus-connection.c: (dbus_connection_send_message):
12648         Add a new client_serial parameter.
12649
12650         (dbus_connection_send_message_with_reply):
12651         Remove a @todo since we've implemented the blocking function.
12652
12653         (dbus_connection_send_message_with_reply_and_block):
12654         New function that sends a message and waits for a reply and
12655         then returns the reply.
12656
12657         * dbus/dbus-connection.h:
12658         Add new functions.
12659
12660         * dbus/dbus-errors.c: (dbus_result_to_string):
12661         * dbus/dbus-errors.h:
12662         Add new DBUS_RESULT.
12663
12664         * dbus/dbus-message-internal.h:
12665         * dbus/dbus-message.c: (_dbus_message_get_reply_serial),
12666         (_dbus_message_set_sender), (dbus_message_write_header),
12667         (dbus_message_new_reply), (decode_header_data),
12668         (_dbus_message_loader_return_buffer), (_dbus_message_test):
12669         * dbus/dbus-message.h:
12670         Add new functions that set the reply serial and sender.
12671         Also marshal and demarshal them correctly and add test.
12672
12673         * dbus/dbus-protocol.h:
12674         Add new DBUS_MESSAGE_TYPE_SENDER.
12675
12676         * glib/dbus-glib.h:
12677         * glib/dbus-gmain.c: (watch_callback), (free_callback_data),
12678         (add_watch), (remove_watch), (add_timeout), (remove_timeout),
12679         (dbus_connection_hookup_with_g_main):
12680         * glib/test-dbus-glib.c: (main):
12681         Rewrite to use GIOChannel and remove the GSource crack.
12682
12683         * test/echo-client.c: (main):
12684         * test/watch.c: (check_messages):
12685         Update for changed APIs
12686
12687  glib/dbus-glib.h      |   10 +--
12688  glib/dbus-gmain.c     |  219
12689  +++++++++++++++++++------------------------------
12690  glib/test-dbus-glib.c |   48 +++--------
12691  3 files changed, 99 insertions(+), 178 deletions(-)
12692
12693 commit f8a3cb6d30e74be85b583ce9ff3482f91cd26b9a
12694 Author: Anders Carlsson <andersca@gnome.org>
12695 Date:   2003-01-07 20:18:23 +0000
12696
12697     2003-01-07 Anders Carlsson <andersca@codefactory.se>
12698
12699         * dbus/dbus-connection-internal.h:
12700         * dbus/dbus-connection.c: (_dbus_connection_new_for_transport),
12701         (_dbus_connection_get_next_client_serial),
12702         (dbus_connection_send_message):
12703         * dbus/dbus-internals.h:
12704         * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32),
12705         (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32),
12706         (_dbus_marshal_uint32), (_dbus_demarshal_double),
12707         (_dbus_demarshal_int32), (_dbus_demarshal_uint32),
12708         (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos),
12709         (_dbus_verbose_bytes), (_dbus_marshal_test):
12710         * dbus/dbus-marshal.h:
12711         * dbus/dbus-message-internal.h:
12712         * dbus/dbus-message.c: (_dbus_message_set_client_serial),
12713         (dbus_message_write_header), (_dbus_message_lock),
12714         (dbus_message_new), (dbus_message_ref), (dbus_message_unref),
12715         (dbus_message_get_name), (dbus_message_append_int32),
12716         (dbus_message_append_uint32), (dbus_message_append_double),
12717         (dbus_message_append_string), (dbus_message_append_byte_array),
12718         (dbus_message_get_fields_iter), (dbus_message_iter_ref),
12719         (dbus_message_iter_unref), (dbus_message_iter_has_next),
12720         (dbus_message_iter_next), (dbus_message_iter_get_field_type),
12721         (dbus_message_iter_get_string), (dbus_message_iter_get_int32),
12722         (dbus_message_iter_get_uint32), (dbus_message_iter_get_double),
12723         (decode_header_data), (_dbus_message_loader_return_buffer),
12724         (message_iter_test), (_dbus_message_test):
12725         * dbus/dbus-message.h:
12726         * dbus/dbus-protocol.h:
12727         * dbus/dbus-test.c: (main):
12728         * dbus/dbus-test.h:
12729         * glib/test-dbus-glib.c: (message_handler), (main):
12730         * test/echo-client.c: (main):
12731         * test/watch.c: (check_messages):
12732         Make messages sendable and receivable for real.
12733
12734  glib/test-dbus-glib.c |    4 ++--
12735  1 file changed, 2 insertions(+), 2 deletions(-)
12736
12737 commit 9784f2653287c62f32a637f869ad0029412ebfae
12738 Author: Anders Carlsson <andersca@gnome.org>
12739 Date:   2002-12-27 08:26:26 +0000
12740
12741     Ssh
12742
12743  glib/.cvsignore |    7 +++++++
12744  1 file changed, 7 insertions(+)
12745
12746 commit c27a1609f595a75be3910c5185f7312cb93575c7
12747 Author: Havoc Pennington <hp@redhat.com>
12748 Date:   2002-12-24 06:37:32 +0000
12749
12750     2002-12-24 Havoc Pennington <hp@pobox.com>
12751
12752         * glib/dbus-gthread.c: fix include
12753
12754         * glib/dbus-glib.h: rename DBusMessageHandler for now.
12755         I think glib API needs to change, though, as you don't
12756         want to use DBusMessageFunction, you want to use the
12757         DBusMessageHandler object. Probably
12758         dbus_connection_open_with_g_main_loop()
12759         and dbus_connection_setup_g_main_loop() or something like that
12760         (but think of better names...) that just create a connection
12761         that has watch/timeout functions etc. already set up.
12762
12763         * dbus/dbus-connection.c
12764         (dbus_connection_send_message_with_reply): new function just to
12765         show how the message handler helps us deal with replies.
12766
12767         * dbus/dbus-list.c (_dbus_list_remove_last): new function
12768
12769         * dbus/dbus-string.c (_dbus_string_test): free a string that
12770         wasn't
12771
12772         * dbus/dbus-hash.c: use memory pools for the hash entries
12773         (rebuild_table): be more paranoid about overflow, and
12774         shrink table when we can
12775         (_dbus_hash_test): reduce number of sprintfs and write
12776         valid C89. Add tests for case where we grow and then
12777         shrink the hash table.
12778
12779         * dbus/dbus-mempool.h, dbus/dbus-mempool.c: memory pools
12780
12781         * dbus/dbus-connection.c (dbus_connection_register_handler)
12782         (dbus_connection_unregister_handler): new functions
12783
12784         * dbus/dbus-message.c (dbus_message_get_name): new
12785
12786         * dbus/dbus-list.c: fix docs typo
12787
12788         * dbus/dbus-message-handler.h, dbus/dbus-message-handler.c:
12789         an object representing a handler for messages.
12790
12791  glib/dbus-glib.h    |    6 +++---
12792  glib/dbus-gmain.c   |    2 +-
12793  glib/dbus-gthread.c |    2 +-
12794  3 files changed, 5 insertions(+), 5 deletions(-)
12795
12796 commit 723dc26c4880ae66688ff707588797e7c83b4fe4
12797 Author: Anders Carlsson <andersca@gnome.org>
12798 Date:   2002-12-16 01:43:52 +0000
12799
12800     Doh
12801
12802  glib/dbus-glib.h |    2 +-
12803  1 file changed, 1 insertion(+), 1 deletion(-)
12804
12805 commit a2c39755d2c9749d22f547e9b92125509e95aae6
12806 Author: Anders Carlsson <andersca@gnome.org>
12807 Date:   2002-12-16 00:56:23 +0000
12808
12809     2002-12-16 Anders Carlsson <andersca@codefactory.se>
12810
12811         * glib/dbus-glib.h:
12812         * glib/dbus-gthread.c: (dbus_gthread_init):
12813         Don't use the gdbus prefix for public functions.
12814
12815  glib/dbus-glib.h    |    4 +---
12816  glib/dbus-gthread.c |    4 ++--
12817  2 files changed, 3 insertions(+), 5 deletions(-)
12818
12819 commit 03900e96a260048f23176319003671c17b6a0013
12820 Author: Anders Carlsson <andersca@gnome.org>
12821 Date:   2002-12-16 00:26:05 +0000
12822
12823     2002-12-16 Anders Carlsson <andersca@codefactory.se>
12824
12825         * Makefile.am:
12826         * configure.in:
12827         Add GLib checks and fixup .pc files
12828
12829         * glib/Makefile.am:
12830         * glib/dbus-glib.h:
12831         * glib/dbus-gmain.c: (gdbus_connection_prepare),
12832         (gdbus_connection_check), (gdbus_connection_dispatch),
12833         (gdbus_add_connection_watch), (gdbus_remove_connection_watch),
12834         (dbus_connection_gsource_new):
12835         * glib/dbus-gthread.c: (dbus_gmutex_new), (dbus_gmutex_free),
12836         (dbus_gmutex_lock), (dbus_gmutex_unlock), (dbus_gthread_init):
12837         * glib/test-dbus-glib.c: (message_handler), (main):
12838         Add GLib support.
12839
12840  glib/Makefile.am      |   26 +++++++
12841  glib/dbus-glib.h      |   40 ++++++++++
12842  glib/dbus-gmain.c     |  194
12843  +++++++++++++++++++++++++++++++++++++++++++++++++
12844  glib/dbus-gthread.c   |   84 +++++++++++++++++++++
12845  glib/test-dbus-glib.c |   60 +++++++++++++++
12846  5 files changed, 404 insertions(+)
12847
12848 commit 7c0c11bfa019cd4be3f7a62fe936aaf2573fa51e
12849 Author: John (J5) Palmieri <johnp@redhat.com>
12850 Date:   2006-06-28 08:14:04 -0400
12851
12852     Initial commit of module dbus-glib
12853
12854  0 files changed