1 commit d0d5b5be685dc4c16b21c54335becc87ca4d6f58
2 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3 Date: 2013-05-08 08:49:58 +0100
7 test/Makefile.am | 2 ++
8 1 file changed, 2 insertions(+)
10 commit bd6aac594c72d32057a5821fcedb2d36644526aa
11 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
12 Date: 2013-05-08 08:48:28 +0100
17 configure.ac | 6 +++---
18 2 files changed, 12 insertions(+), 4 deletions(-)
20 commit 9b26cf8238a7d432fe96a50a75008aa6bce110da
21 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
22 Date: 2013-05-08 08:38:22 +0100
24 Add support for skipping tests, and use it
26 Now that Python 2.6 isn't a supported version in Debian, it doesn't
27 get a gi module, but we can still get some minimal test coverage.
29 test/cross-test-client.py | 5 ++++-
30 test/cross-test-server.py | 5 ++++-
31 test/run-test.sh | 37 ++++++++++++++++++++++++++++---------
32 test/run-with-tmp-session-bus.sh | 14 +++++++++++++-
33 test/test-client.py | 6 +++++-
34 test/test-p2p.py | 5 ++++-
35 test/test-signals.py | 5 ++++-
36 7 files changed, 62 insertions(+), 15 deletions(-)
38 commit 0872782255fdbaeda64311a298664597e59ba94f
39 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
40 Date: 2013-05-08 08:37:13 +0100
42 utf8 test: pass when used with dbus 1.6.10, 1.7.2
44 We used to reject noncharacters, but now we accept them.
46 test/test-standalone.py | 41 +++++++++++++++++++++++++----------------
47 1 file changed, 25 insertions(+), 16 deletions(-)
49 commit f909f596705f62a5218cf16d61433364fe2f8168
50 Author: Marko Lindqvist <cazfi74 gmail com>
51 Date: 2013-05-07 20:16:20 +0100
53 Replace AM_CONFIG_HEADER with AC_CONFIG_HEADERS
55 This has been (silently!) deprecated since 2002 and was removed from
58 [added commit message -smcv]
59 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
62 1 file changed, 1 insertion(+), 1 deletion(-)
64 commit 423ee853dfbb4ee9ed89a21e1cf2b6a928e2fc4d
65 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
66 Date: 2013-04-22 17:40:51 +0100
68 Use GObject.__class__ instead of GObjectMeta
70 In pygobject 3.8, GObjectMeta is no longer available via
71 gi.repository.GObject. What we actually want is "the metaclass of
75 dbus/gi_service.py | 4 ++--
76 dbus/gobject_service.py | 4 ++--
77 3 files changed, 7 insertions(+), 4 deletions(-)
79 commit c9ad0a3909c80c09d33b21db6cb46cfee4489010
80 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
81 Date: 2013-04-22 15:47:06 +0100
83 Unset DBUS_STARTER_ADDRESS, DBUS_STARTER_BUS_TYPE
85 See <https://bugs.freedesktop.org/show_bug.cgi?id=63119>.
87 test/run-with-tmp-session-bus.sh | 2 ++
88 1 file changed, 2 insertions(+)
90 commit 121c294b1853a280b01e0504eb1828c6d0e07bbc
91 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
92 Date: 2013-04-22 15:44:57 +0100
94 Require D-Bus 1.6, drop fallback paths
97 _dbus_bindings/compat-internal.h | 19 ---------------
98 _dbus_bindings/message-append.c | 48 --------------------------------------
99 configure.ac | 11 +--------
100 4 files changed, 7 insertions(+), 77 deletions(-)
102 commit c57c4d281369589b636aee928238b7cf6e42e00f
103 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
104 Date: 2012-10-23 19:34:35 +0100
109 1 file changed, 7 insertions(+)
111 commit f52465232234ae71fa16741abcd57aab155949ad
112 Author: Thiago Macieira <thiago.macieira@intel.com>
113 Date: 2012-10-23 11:12:21 -0700
115 Update the confusing notice of what license dbus-python is under
117 We tried to change the license for the D-Bus core too but were unable
118 to reach all copyright holders. The MIT license was the suggested new
119 license and all reached parties had agreed to.
121 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
124 1 file changed, 2 insertions(+), 1 deletion(-)
126 commit d262628e89115bbcc33c439c77d33733c4a23491
127 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
128 Date: 2012-10-16 18:33:08 +0100
130 DBusException: override both __str__ and __unicode__
132 Avoid chaining up to the superclass, because that behaves particularly
133 oddly. This fixes regression test failures: str(some_dbus_exception) was no
134 longer prefixed with the D-Bus error name under Python 2.
136 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55899
138 dbus/exceptions.py | 28 +++++++++++++++++-----------
139 1 file changed, 17 insertions(+), 11 deletions(-)
141 commit 544e05a16e55dad7e666baabfb665997a79d6580
142 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
143 Date: 2012-10-16 18:31:43 +0100
145 Slightly better test coverage
147 test/test-client.py | 4 ++++
148 1 file changed, 4 insertions(+)
150 commit efdd1823239b02fe5a39e766cbd7597e6c3fcb96
151 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
152 Date: 2012-10-16 17:52:36 +0100
154 Use a form of assertRaises() that works in Python 2.6
156 test/test-exception-py2.py | 5 ++---
157 1 file changed, 2 insertions(+), 3 deletions(-)
159 commit 83615efbed565a689008b00a4ac82fc0fc4e5603
160 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
161 Date: 2012-10-16 17:52:22 +0100
163 Skip test_dbus_exception_convert_str_fail under unusual default encodings
165 This would actually work fine if the default encoding was UTF-8 or
166 Latin-1 or something.
168 test/test-exception-py2.py | 11 ++++++++---
169 1 file changed, 8 insertions(+), 3 deletions(-)
171 commit 09b540bd55fb2fca14d4df7e0c520b8ba0ce4646
172 Author: Michael Vogt <mvo@ubuntu.com>
173 Date: 2012-10-12 13:37:51 +0200
175 Support unicode messages for DBusException in Python 2
177 [commit message amended -smcv]
178 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=55899
179 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
181 dbus/exceptions.py | 23 ++++++++++++++++--
182 test/run-test.sh | 6 +++++
183 test/test-exception-py2.py | 58 ++++++++++++++++++++++++++++++++++++++++++++
184 test/test-exception-py3.py | 31 +++++++++++++++++++++++
185 4 files changed, 116 insertions(+), 2 deletions(-)
187 commit 5558ee11313fd929ed6aeb22228e89de2263e520
188 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
189 Date: 2012-07-04 12:17:10 +0100
191 Link Python extensions differently on Windows
193 _dbus_bindings/Makefile.am | 14 ++++++++++++++
194 _dbus_glib_bindings/Makefile.am | 14 ++++++++++++++
195 configure.ac | 13 +++++++++++++
196 3 files changed, 41 insertions(+)
198 commit ec2671485a23090c470180eb297e67b86638d9b5
199 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
200 Date: 2012-07-04 12:15:16 +0100
202 Replace incorrect AM_LDFLAGS usage with a proper AM_LDFLAGS/LIBADD split
204 _dbus_bindings/Makefile.am | 6 +++++-
205 _dbus_glib_bindings/Makefile.am | 8 +++++++-
206 2 files changed, 12 insertions(+), 2 deletions(-)
208 commit 9c02d05642c8f99e3fe61804bcc33df380ebd5b1
209 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
210 Date: 2012-07-04 20:27:12 +0100
212 run-test.sh: don't go via make to run the cross-test
214 Based on a patch from Christoph Höger.
216 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=51725
218 test/run-test.sh | 4 ++--
219 1 file changed, 2 insertions(+), 2 deletions(-)
221 commit e8a507570e12778a0f325786fcf9f5f768019118
222 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
223 Date: 2012-07-04 19:49:13 +0100
227 NEWS | 14 +++++++++++++-
228 1 file changed, 13 insertions(+), 1 deletion(-)
230 commit f3199102a68c72460fd0a025ab966557a0996223
231 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
232 Date: 2012-07-04 19:49:07 +0100
234 Don't include stdint.h
236 Every use here turns out to be unnecessary, some compilers *still*
237 don't have it after more than a decade in ISO C, and if we need
238 fixed-length integer types we can use the ones from D-Bus.
240 _dbus_bindings/abstract.c | 2 --
241 _dbus_bindings/bytes.c | 2 --
242 _dbus_bindings/containers.c | 2 --
243 _dbus_bindings/float.c | 2 --
244 _dbus_bindings/signature.c | 2 --
245 _dbus_bindings/types-internal.h | 1 -
246 6 files changed, 11 deletions(-)
248 commit 6f5ec9552ca169b66b338698850a125151e3599c
249 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
250 Date: 2012-07-04 19:36:26 +0100
252 Re-indent now that the indentation is unecessary
254 _dbus_bindings/server.c | 61 ++++++++++++++++++++++-------------------------
255 1 file changed, 29 insertions(+), 32 deletions(-)
257 commit 5b79604a6d1eb11268293342d19da633e5eedaa4
258 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
259 Date: 2012-07-04 19:35:43 +0100
261 Avoid variable-length arrays, which MSVC *still* doesn't support
263 Based on patches from Christoph Höger.
265 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=51725
267 _dbus_bindings/message-append.c | 16 +++++++++++++---
268 _dbus_bindings/server.c | 30 ++++++++++++++++++++----------
269 2 files changed, 33 insertions(+), 13 deletions(-)
271 commit bdc48547078b8ba09856c81b7c4f148fb163c01b
272 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
273 Date: 2012-07-04 19:19:12 +0100
275 Use AC_C_INLINE to make sure "inline" works
278 1 file changed, 1 insertion(+)
280 commit 3d23ff9e91151c2fb8e5ccb74067ff7ad6df3067
281 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
282 Date: 2012-06-25 21:20:12 +0100
287 1 file changed, 1 insertion(+), 1 deletion(-)
289 commit 86b978042fa23d9b262cb0baa40398e21ddb0530
290 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
291 Date: 2012-06-25 21:19:35 +0100
296 configure.ac | 4 ++--
297 2 files changed, 5 insertions(+), 3 deletions(-)
299 commit f6066573d25508f5cbbc5c12254086d419bb8828
300 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
301 Date: 2012-06-25 17:01:51 +0100
303 fd.o #40817: validate UTF-8 according to the same rules as libdbus
306 _dbus_bindings/message-append.c | 102 ++++++++++++++++++++++++++++-----------
308 test/test-standalone.py | 59 +++++++++++++++++++++-
309 4 files changed, 143 insertions(+), 30 deletions(-)
311 commit 4a0f4379d4a5783d576aec90019a39459eff007d
312 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
313 Date: 2012-06-05 19:39:20 +0100
318 1 file changed, 6 insertions(+), 1 deletion(-)
320 commit 6ff89bf0d05a550cf1aff2053579fc1f0192cd97
321 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
322 Date: 2012-06-05 19:07:51 +0100
324 Py3: correctly guess the signature of ObjectPath(...) and Signature(...)
326 Under Python 2, ObjectPath and Signature are subtypes of str (= bytes),
327 and the existing type-guessing worked.
329 The type-guessing code assumed that all unicode objects were just
330 strings, but that assumption became false in the Python 3 port:
331 ObjectPath and Signature are still subtypes of str, but str now means
334 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=50740
336 _dbus_bindings/message-append.c | 14 ++++++++++++--
337 test/test-standalone.py | 2 ++
338 2 files changed, 14 insertions(+), 2 deletions(-)
340 commit 2f08b9e644c8530c4d324c4bd9d8a0cdb24edc92
341 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
342 Date: 2012-05-09 17:50:59 +0100
344 Back to unreleased status
348 2 files changed, 6 insertions(+), 1 deletion(-)
350 commit 4a4bce958b3257b7cb2adc050022879660aface1
351 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
352 Date: 2012-05-09 15:47:48 +0100
356 NEWS | 35 +++++++++++++++++++++++++++++++++++
357 configure.ac | 4 ++--
358 dbus/gobject_service.py | 1 +
359 3 files changed, 38 insertions(+), 2 deletions(-)
361 commit e2e589889ef5257f62cc3a32561142f625716ef0
362 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
363 Date: 2012-05-02 11:11:11 +0100
365 Make AM_CHECK_PYTHON_HEADERS compatible with Python 3 in the absence of python3-config
367 m4/am-check-python-headers.m4 | 4 ++--
368 1 file changed, 2 insertions(+), 2 deletions(-)
370 commit 2f59718a4bf22cbea28e0c7b2f880f86d4497a7a
371 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
372 Date: 2012-05-02 10:44:13 +0100
374 Deprecate dbus.gobject_service and make it vaguely compatible with 1.0
376 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
378 dbus/gobject_service.py | 16 +++++++++++++++-
379 1 file changed, 15 insertions(+), 1 deletion(-)
381 commit 5b9f87676802f04ebc339fd16a4a30dc42e33c91
382 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
383 Date: 2012-05-02 10:41:27 +0100
385 Reinstate the old dbus.gobject_service, but only for Python 2
387 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
390 configure.ac | 5 ++++
391 dbus/gobject_service.py | 71 +++++++++++++++++++++++++++++++++++++++++++++++
392 3 files changed, 82 insertions(+)
394 commit ba3f3ff253982c9ad3b5a33df5b120e5692c9d29
395 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
396 Date: 2012-05-02 10:39:29 +0100
398 Rename gobject_service (PyGI version) to gi_service
400 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=48904
403 dbus/gi_service.py | 83 +++++++++++++++++++++++++++++++++++++++++++++++
404 dbus/gobject_service.py | 83 -----------------------------------------------
405 test/test-service.py | 10 +++---
406 4 files changed, 89 insertions(+), 89 deletions(-)
408 commit f264e37f13720898d941f3636f77c489a9a1d845
409 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
410 Date: 2012-03-12 11:41:00 +0000
412 Fix ref leak in dbus_py_variant_level_set
414 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47108
415 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
417 _dbus_bindings/abstract.c | 2 ++
418 1 file changed, 2 insertions(+)
420 commit c53788657c0cfbd038325e690e7097e31f5e8430
421 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
422 Date: 2012-02-29 13:35:24 +0000
424 Put sockets for the regression tests in /tmp, not ${builddir}
426 Some automated build systems (naming no Portage) have really long build
427 directories, which can cause dbus-python to hit the length limit for Unix
430 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46747
431 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
433 test/tmp-session-bus.conf.in | 2 +-
434 1 file changed, 1 insertion(+), 1 deletion(-)
436 commit 1055343d746accc4048e5806f84a880143444c9f
437 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
438 Date: 2011-11-15 16:07:57 +0000
440 Use DBusBasicValue instead of reinventing it, if dbus is new enough
442 If we don't find it, continue to reinvent it, but move the reinvention
443 to an internal header so it's at least the same in both files that want it.
445 _dbus_bindings/Makefile.am | 1 +
446 _dbus_bindings/compat-internal.h | 52 ++++++++++++++++++++++++++++++++++
447 _dbus_bindings/message-append.c | 56 ++++++++++++++++---------------------
448 _dbus_bindings/message-get-args.c | 56 +++++++++++++++----------------------
449 configure.ac | 5 ++++
450 5 files changed, 104 insertions(+), 66 deletions(-)
452 commit 8e4836c318eb64ef720b497bebc247ac6a468b4b
453 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
454 Date: 2012-02-01 10:10:26 +0000
456 Fix _maintainer-update-htmldocs for out-of-tree builds
459 1 file changed, 1 insertion(+), 1 deletion(-)
461 commit de81bf8dd5d70f4184412a5c7c2aacd82348d7ea
462 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
463 Date: 2012-02-01 10:10:10 +0000
465 Remove TODO, which is now empty - use bugzilla instead
468 1 file changed, 1 insertion(+), 1 deletion(-)
470 commit 996a3f46f0998219eaf0cd68a744ebc90cfc6dd8
471 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
472 Date: 2012-01-24 20:33:38 +0000
477 1 file changed, 1 insertion(+), 1 deletion(-)
479 commit c59647b024b3242810fe46e500d557fd56d684d4
480 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
481 Date: 2012-01-24 20:33:26 +0000
483 retroactively add release date
486 1 file changed, 1 insertion(+), 1 deletion(-)
488 commit 5a8eb939ab4603a931457c5d4e8dfcdc323eaf89
489 Author: Barry Warsaw <barry@python.org>
490 Date: 2012-01-24 16:43:05 +0000
495 1 file changed, 1 insertion(+)
497 commit d1ccc12dd1dee34faae52c7b325048ea801599fd
498 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
499 Date: 2012-01-24 16:41:46 +0000
501 Generate ChangeLog correctly when out-of-tree
504 1 file changed, 2 insertions(+), 2 deletions(-)
506 commit 1ee2b1a8cf729a71ae56e5671564c5fd62504707
507 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
508 Date: 2012-01-24 16:36:49 +0000
513 configure.ac | 6 +++---
514 2 files changed, 7 insertions(+), 5 deletions(-)
516 commit 5b76f66e79f9bc07241a44c0277d4bbebc08ce20
517 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
518 Date: 2012-01-24 16:35:45 +0000
520 Remove duplicate -Werror machinery
522 configure.ac | 8 --------
523 1 file changed, 8 deletions(-)
525 commit cd4e91c65624062b5504c10b2af0a05aefbf4878
526 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
527 Date: 2012-01-24 16:35:38 +0000
529 Move PY3PORT into doc, use the same extension as other rst, and render it
531 Makefile.am | 16 +++-
533 PY3PORT.rst | 224 -------------------------------------------------------
535 doc/PY3PORT.txt | 224 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
536 5 files changed, 240 insertions(+), 229 deletions(-)
538 commit 09ca5de0f38d3cc30b8d149b2a8c9f0ad810a09a
539 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
540 Date: 2012-01-24 16:21:15 +0000
542 Describe problems, alternatives
544 README | 24 ++++++++++++++++++++++++
545 1 file changed, 24 insertions(+)
547 commit b486edf800ecb9d2e23a35f7ac3151657ee39250
548 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
549 Date: 2012-01-24 16:06:35 +0000
551 Deprecate dbus.glib (use dbus.mainloop.glib or dbus.mainloop.qt4)
553 dbus/glib.py | 10 ++++++++++
554 1 file changed, 10 insertions(+)
556 commit 50fa5eb54992c28d63b0532533f755ff39f082e2
557 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
558 Date: 2012-01-11 15:02:40 +0000
560 Add INTORLONG_CHECK macro so we don't have to conditionalize PyInt_Check
562 _dbus_bindings/bus.c | 7 ++-----
563 _dbus_bindings/bytes.c | 8 ++------
564 _dbus_bindings/dbus_bindings-internal.h | 2 ++
565 _dbus_bindings/message-append.c | 8 +++-----
566 _dbus_bindings/unixfd.c | 7 ++-----
567 5 files changed, 11 insertions(+), 21 deletions(-)
569 commit 4f043cf34a8001c071644eb8c89dc7d43e86b62a
570 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
571 Date: 2012-01-11 15:01:39 +0000
573 Use native 'int' (whatever that means) for variant_level etc.
575 This reverts the Python 2 API to be in terms of PyInt, leaving the
576 Python 3 API in terms of PyLong (which is called 'int' in Python code).
580 _dbus_bindings/abstract.c | 12 ++++++------
581 _dbus_bindings/bytes.c | 4 ++--
582 _dbus_bindings/conn-methods.c | 2 +-
583 _dbus_bindings/dbus_bindings-internal.h | 6 ++++++
584 _dbus_bindings/message-get-args.c | 2 +-
585 _dbus_bindings/message.c | 2 +-
586 8 files changed, 17 insertions(+), 16 deletions(-)
588 commit cdc0ca5c72686aab38a172f14da3b38fe304baa9
589 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
590 Date: 2012-01-11 14:59:36 +0000
592 update NEWS, PY3PORT.rst
594 NEWS | 20 +++++++++++++++++---
595 PY3PORT.rst | 9 ++++-----
596 2 files changed, 21 insertions(+), 8 deletions(-)
598 commit ae61078cc90917c20b14298aaec18e87e149d337
599 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
600 Date: 2012-01-11 14:04:14 +0000
602 Test behaviour of various Message methods
604 test/test-standalone.py | 54 +++++++++++++++++++++++++++++++++++++++++++++++
605 1 file changed, 54 insertions(+)
607 commit 69342f86b0d036ca41a19363efaf4e8352837c24
608 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
609 Date: 2012-01-11 14:03:53 +0000
611 Do not allow Byte(unicode(x)) (i.e. Byte(str(x)) in Python 3)
613 Unicode strings aren't bytestrings, so there's no obvious meaning for
614 the byte value of a Unicode string of length 1.
616 PY3PORT.rst | 12 ++++++------
617 _dbus_bindings/bytes.c | 14 --------------
618 test/cross-test-client.py | 18 +++++++++---------
619 test/test-standalone.py | 38 +++++++++++++++++++++++++++++++-------
620 4 files changed, 46 insertions(+), 36 deletions(-)
622 commit cada4883df6b67f4059eedd2def1f5cffa41c7d8
623 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
624 Date: 2012-01-11 12:58:21 +0000
626 Use better names for the superclasses of Byte and ByteArray
628 Strictly speaking, DBUS_FOO is libdbus' namespace, not ours. Use
631 DBUS_BYTES_BASE was misleading: it's the base class for a single byte,
632 so call it DBUS_PY_BYTE_BASE.
634 _dbus_bindings/bytes.c | 18 +++++++++---------
635 1 file changed, 9 insertions(+), 9 deletions(-)
637 commit beaa479066a0139bbb09f058818cd5476f1a79d2
638 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
639 Date: 2012-01-11 12:57:15 +0000
641 Consistently use the str type for identifier-like (ASCII) strings
643 Porting to Python 3 left these methods returning unicode, which is
644 arguably an API break in Python 2:
647 * Message.get_path_decomposed (array of unicode)
649 * Message.get_destination
650 * Message.get_interface
651 * Message.get_error_name
655 Instead, make them return whatever the natural str type is (bytes in
656 Python 2, unicode in Python 3).
658 _dbus_bindings/bus.c | 6 +-----
659 _dbus_bindings/conn-methods.c | 6 +-----
660 _dbus_bindings/exceptions.c | 4 ++--
661 _dbus_bindings/message.c | 12 ++++++------
662 _dbus_bindings/server.c | 4 ++--
663 5 files changed, 12 insertions(+), 20 deletions(-)
665 commit a5c77b73651f8f288f7ea2eb9029895eed3cacab
666 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
667 Date: 2012-01-11 12:54:26 +0000
669 DBusPythonString base class: use "native str" as base class instead of reinventing it
671 _dbus_bindings/abstract.c | 16 +++++-----------
672 _dbus_bindings/dbus_bindings-internal.h | 2 ++
673 2 files changed, 7 insertions(+), 11 deletions(-)
675 commit 0daad225ff9085c4013da69e5733e8846e9b8de3
676 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
677 Date: 2012-01-11 12:50:43 +0000
679 SignalMessage.__repr__: include the destination and abbreviate "interface" more conventionally
681 Yes, signals can have a destination. The default is to broadcast.
683 _dbus_bindings/message.c | 7 +++++--
684 1 file changed, 5 insertions(+), 2 deletions(-)
686 commit 9201d65b31305c8bef86ab072b7c33b197ede562
687 Author: Barry Warsaw <barry@python.org>
688 Date: 2011-12-17 12:09:57 -0500
690 Quash a few more deprecations.
692 test/test-p2p.py | 10 +++++-----
693 test/test-signals.py | 2 +-
694 2 files changed, 6 insertions(+), 6 deletions(-)
696 commit f8dab5af0bef5d26a51df41a564a5285c16a9cb5
697 Author: Barry Warsaw <barry@python.org>
698 Date: 2011-12-16 17:07:07 -0500
700 More Python 3 porting, this time primarily to get test-client.py working.
703 - DBusException.get_dbus_message(): In Python 3, the str of the exception will
704 already be a unicode, so don't try to decode it unless it's a bytes object
705 (a.k.a. 8-bit str in Python 2).
706 - gobject_service.py: Switch to pygi and rewrite the metaclass instantiation
707 code to be portable between Python 2 and Python 3.
708 - run-test.sh: echo a few more useful environment variables
710 - Globally replace deprecated assertEquals with assertEqual
711 - Globally replace deprecated assert_ with assertTrue
712 - Use bytes objects for both 'ay' signatured methods on the server
713 - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
714 and a unicode in Python 2. Python 3 has no `unicode` built-in.
715 - Reformat some long lines for debugging.
717 - Open the log file in 'a' mode for easier tailing.
718 - AcceptUnicodeString will return a native unicode, i.e. a str in Python 3
719 and a unicode in Python 2. Python 3 has no `unicode` built-in.
720 - reformat some long lines for debugging.
721 - Put module-scope code into a main() function and add a bunch of logger
722 output for better debugging. `session_bus` must still be global though.
723 Wrap main() in a bit try/except to log all top-level exceptions.
725 dbus/exceptions.py | 5 +-
726 dbus/gobject_service.py | 76 +++++++++-------
727 test/run-test.sh | 2 +
728 test/test-client.py | 231 +++++++++++++++++++++++++----------------------
729 test/test-service.py | 57 ++++++++----
730 5 files changed, 214 insertions(+), 157 deletions(-)
732 commit 2167b305db78b8345b0f5ea23bfa445fa7cfca4d
733 Author: Barry Warsaw <barry@python.org>
734 Date: 2011-12-16 11:15:01 -0500
736 Re-enable the other tests, even though these still fail for me (b.f.o #43303).
737 Fix another except syntax problem.
739 test/run-test.sh | 12 ++++++------
740 test/test-client.py | 6 +++---
741 2 files changed, 9 insertions(+), 9 deletions(-)
743 commit 0c71d7dd6eb843a74931c714d6142921f1971f88
744 Author: Barry Warsaw <barry@python.org>
745 Date: 2011-12-15 19:58:06 -0500
747 Re-enable previously disabled test.
749 test/cross-test-client.py | 3 ++-
750 1 file changed, 2 insertions(+), 1 deletion(-)
752 commit ef05d294e85978cf96a86535321cf914b605fa48
753 Author: Barry Warsaw <barry@python.org>
754 Date: 2011-12-15 19:37:23 -0500
756 Fix the match rule semantics so that a match rule of "arg0='/'" does not match
757 object paths in Python3, as per Simon's review comments.
759 dbus/connection.py | 18 +++++++++---------
760 test/test-standalone.py | 19 +++++++++++++++++++
761 2 files changed, 28 insertions(+), 9 deletions(-)
763 commit 8e87ac365f6b08c0617985488dd5d27148c9281d
764 Author: Barry Warsaw <barry@python.org>
765 Date: 2011-12-15 17:55:20 -0500
767 Consistency; clean-up.
769 _dbus_bindings/abstract.c | 8 ++++----
770 _dbus_bindings/bytes.c | 8 ++++----
771 2 files changed, 8 insertions(+), 8 deletions(-)
773 commit f2909c23abc4f8fa55d71673785f8e70a843f6ce
774 Author: Barry Warsaw <barry@python.org>
775 Date: 2011-12-15 16:50:02 -0500
777 - Added back the missing PY3PORT.rst file, with updates.
778 - Disallow appending unicode objects with 'y' (bytes) signatures. This now
779 requires either a bytes object or an integer. Update the tests to reflect
781 - Fix broken __all__ in Python 3.
783 PY3PORT.rst | 227 +++++++++++++++++++++++++++++++++++++++
784 _dbus_bindings/message-append.c | 26 ++---
786 test/cross-test-client.py | 9 +-
787 test/run-test.sh | 1 +
788 test/test-standalone.py | 10 +-
789 6 files changed, 249 insertions(+), 29 deletions(-)
791 commit 4c1c2eade1c5b383adad94a7a4fd6553873fecf0
792 Author: Barry Warsaw <barry@python.org>
793 Date: 2011-12-15 06:57:21 -0500
795 This is the big one; it adds Python 3 support.
797 _dbus_bindings/Makefile.am | 3 +-
798 _dbus_bindings/abstract.c | 182 +++++++++++++++++++++++++++--
799 _dbus_bindings/bus.c | 20 +++-
800 _dbus_bindings/bytes.c | 59 ++++++++--
801 _dbus_bindings/conn-methods.c | 30 +++--
802 _dbus_bindings/conn.c | 32 ++++-
803 _dbus_bindings/containers.c | 59 +++++++++-
804 _dbus_bindings/dbus_bindings-internal.h | 31 +++--
805 _dbus_bindings/exceptions.c | 4 +-
806 _dbus_bindings/int.c | 44 ++++---
807 _dbus_bindings/message-append.c | 195 +++++++++++++++++++++++++------
808 _dbus_bindings/message-get-args.c | 27 ++++-
809 _dbus_bindings/message.c | 60 ++++++++--
810 _dbus_bindings/module.c | 143 +++++++++++++++--------
811 _dbus_bindings/server.c | 40 +++++--
812 _dbus_bindings/signature.c | 34 ++++--
813 _dbus_bindings/string.c | 17 +--
814 _dbus_bindings/types-internal.h | 12 +-
815 _dbus_bindings/unixfd.c | 7 +-
816 _dbus_glib_bindings/Makefile.am | 2 +-
817 _dbus_glib_bindings/module.c | 32 +++++
819 dbus/__init__.py | 19 ++-
820 dbus/_compat.py | 8 ++
821 dbus/_dbus.py | 11 +-
822 dbus/_expat_introspect_parser.py | 2 +-
823 dbus/bus.py | 23 +++-
824 dbus/connection.py | 79 ++++++++-----
825 dbus/decorators.py | 19 +--
826 dbus/proxies.py | 12 +-
827 dbus/service.py | 25 ++--
829 include/dbus-python.h | 18 +++
830 test/cross-test-client.py | 107 ++++++++++-------
831 test/cross-test-server.py | 34 ++++--
832 test/dbus_py_test.c | 26 +++++
833 test/run-test.sh | 14 ++-
834 test/test-client.py | 149 ++++++++++++-----------
835 test/test-p2p.py | 21 ++--
836 test/test-service.py | 9 +-
837 test/test-standalone.py | 173 +++++++++++++++++----------
838 test/test-unusable-main-loop.py | 5 +-
839 42 files changed, 1333 insertions(+), 462 deletions(-)
841 commit 667082d0b4aef9c438a2e7fec89614b5b8ef960a
842 Author: Barry Warsaw <barry@python.org>
843 Date: 2011-12-14 15:05:16 -0500
845 First round of PyInt -> PyLong changes. These are only compatible with Python
846 2, since there are still some unconditional PyInt calls, which are not valid
847 in Python 3. However, it lays the framework for conditionalizing on Python 3
848 and using only PyLong in that case. Where it doesn't matter, PyLong is used
851 _dbus_bindings/abstract.c | 20 ++++++--
852 _dbus_bindings/bus.c | 6 ++-
853 _dbus_bindings/bytes.c | 34 +++++++++----
854 _dbus_bindings/conn-methods.c | 2 +-
855 _dbus_bindings/conn.c | 2 +-
856 _dbus_bindings/containers.c | 11 +++--
857 _dbus_bindings/generic.c | 4 +-
858 _dbus_bindings/int.c | 33 ++++++++-----
859 _dbus_bindings/message-append.c | 21 ++++++--
860 _dbus_bindings/message-get-args.c | 2 +-
861 _dbus_bindings/message.c | 2 +-
862 _dbus_bindings/types-internal.h | 3 ++
863 _dbus_bindings/unixfd.c | 95 ++++++++++++++++++++++++-------------
864 test/test-standalone.py | 7 +--
865 14 files changed, 166 insertions(+), 76 deletions(-)
867 commit 11c639e3bd2ca3e6a87f349155dda2acc3cd92ea
868 Author: Barry Warsaw <barry@python.org>
869 Date: 2011-12-14 13:54:31 -0500
871 Add error checking to dbus_py_variant_level_get() and call sites.
873 _dbus_bindings/abstract.c | 22 +++++++++++++++++++---
874 _dbus_bindings/containers.c | 4 ++++
875 _dbus_bindings/message-append.c | 4 ++++
876 3 files changed, 27 insertions(+), 3 deletions(-)
878 commit 71f4481c1876785572170ef68d5624ed23f91333
879 Author: Barry Warsaw <barry@python.org>
880 Date: 2011-12-14 13:36:39 -0500
882 In preparation for Python 3 support, use the Python 2 PyBytes aliases for the
883 PyString API. This makes the code compilable in Python 2.x (x >= 6) and
886 _dbus_bindings/abstract.c | 21 ++++---
887 _dbus_bindings/bus.c | 4 +-
888 _dbus_bindings/bytes.c | 8 +--
889 _dbus_bindings/conn-methods.c | 40 ++++++------
890 _dbus_bindings/conn.c | 2 +-
891 _dbus_bindings/containers.c | 8 +--
892 _dbus_bindings/exceptions.c | 4 +-
893 _dbus_bindings/message-append.c | 128 ++++++++++++++++++++-------------------
894 _dbus_bindings/message.c | 12 ++--
895 _dbus_bindings/server.c | 6 +-
896 _dbus_bindings/signature.c | 4 +-
897 _dbus_bindings/types-internal.h | 7 +++
898 12 files changed, 129 insertions(+), 115 deletions(-)
900 commit ca7a705663adbac2e781d10c13fc98a5444ef646
901 Author: Barry Warsaw <barry@python.org>
902 Date: 2011-12-14 12:00:04 -0500
904 In preparation for Python 3 support, all reprs now return unicodes, which is
905 legal in Python 2 also. Use fancy REPR macro and the %V format code for
906 cross-Python compatibility.
908 _dbus_bindings/abstract.c | 48 ++++++++++++-------------
909 _dbus_bindings/containers.c | 60 +++++++++++++++----------------
910 _dbus_bindings/dbus_bindings-internal.h | 25 +++++++++++++
911 _dbus_bindings/int.c | 14 ++++----
912 _dbus_bindings/string.c | 12 +++----
913 5 files changed, 92 insertions(+), 67 deletions(-)
915 commit 5ff1d938ee230b47dcab8b7703409067df35ed2f
916 Author: Barry Warsaw <barry@python.org>
917 Date: 2011-12-13 17:36:49 -0500
919 Modernize multiline imports in preparation for Python 3 support.
921 dbus/__init__.py | 34 +++++++++++++++-------------------
922 dbus/_dbus.py | 12 +++++-------
923 dbus/bus.py | 27 ++++++++++-----------------
924 dbus/connection.py | 15 +++++++--------
925 dbus/lowlevel.py | 14 +++++---------
926 dbus/proxies.py | 10 ++++++----
927 dbus/service.py | 10 +++++-----
928 dbus/types.py | 9 ++++-----
929 8 files changed, 57 insertions(+), 74 deletions(-)
931 commit dc7b07bc5921cd6263552bb1f3351416327fd67c
932 Author: Barry Warsaw <barry@python.org>
933 Date: 2011-12-13 17:26:15 -0500
935 Modernize `raise` syntax in preparation of Python 3 support.
937 dbus/decorators.py | 8 ++++----
938 1 file changed, 4 insertions(+), 4 deletions(-)
940 commit e033b0c8f22a67abfe2ba1b61365d0c2570b7429
941 Author: Barry Warsaw <barry@python.org>
942 Date: 2011-12-13 17:22:22 -0500
944 Import threading instead of thread. The latter is gone in Python 3.
946 dbus/_dbus.py | 5 -----
947 dbus/connection.py | 7 ++-----
948 dbus/service.py | 7 ++-----
949 3 files changed, 4 insertions(+), 15 deletions(-)
951 commit 061e55e8edbfb457bf56194c52e7d7624855cf41
952 Author: Barry Warsaw <barry@python.org>
953 Date: 2011-12-13 17:17:46 -0500
955 Fix an inconsequential typo.
957 _dbus_bindings/signature.c | 2 +-
958 1 file changed, 1 insertion(+), 1 deletion(-)
960 commit 4477b6120240e186db8d86619f6da63faca296ba
961 Author: Barry Warsaw <barry@python.org>
962 Date: 2011-12-13 17:15:41 -0500
964 For pendantic correctness, and future Python 3 compatibility, explicitly
965 initialize the weaklist slots.
967 _dbus_bindings/conn.c | 1 +
968 _dbus_bindings/server.c | 1 +
969 2 files changed, 2 insertions(+)
971 commit 48abd4782f336de2d6dd228e58f86729778e26fb
972 Author: Barry Warsaw <barry@python.org>
973 Date: 2011-12-13 17:08:50 -0500
975 Don't leak the fast_seq object.
977 _dbus_bindings/server.c | 5 ++++-
978 1 file changed, 4 insertions(+), 1 deletion(-)
980 commit 033a0f2890495053fd6474d6f52d4a6e9c32cca1
981 Author: Barry Warsaw <barry@python.org>
982 Date: 2011-12-13 16:50:38 -0500
984 - Add a few missing Py_TYPE() changes for Python 3 compatibility.
985 - De-tabbify a few instances that "make check" complains about.
987 _dbus_bindings/bytes.c | 2 +-
988 _dbus_bindings/containers.c | 8 ++++----
989 _dbus_bindings/message-append.c | 2 +-
990 3 files changed, 6 insertions(+), 6 deletions(-)
992 commit 4a26dab362e8ddd7a765f1249649408f62eb96e7
993 Author: Barry Warsaw <barry@python.org>
994 Date: 2011-12-13 16:21:04 -0500
996 Additional PyObject_HEAD_INIT -> PyVarObject_HEAD_INIT changes in preparation
997 for Python 3 support.
999 _dbus_bindings/abstract.c | 12 ++++--------
1000 _dbus_bindings/conn.c | 3 +--
1001 _dbus_bindings/int.c | 3 +--
1002 _dbus_bindings/libdbusconn.c | 3 +--
1003 _dbus_bindings/message.c | 15 +++++----------
1004 _dbus_bindings/server.c | 3 +--
1005 6 files changed, 13 insertions(+), 26 deletions(-)
1007 commit deccd695a43573d31183fe0e93316d306ce989f2
1008 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
1009 Date: 2011-12-13 12:06:17 +0000
1011 Fix rst2html build failure in non-unicode locales
1013 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43735
1014 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1018 2 files changed, 3 insertions(+)
1020 commit 75f2aaaa06e57bc1fbdbaf0530e48dea02541b03
1021 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1022 Date: 2011-12-13 12:04:25 +0000
1027 1 file changed, 9 insertions(+)
1029 commit cabcf23207a67cb9215e3efc25ae6e8d73823fd1
1030 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1031 Date: 2011-12-13 12:04:19 +0000
1033 Remove dbus_bindings, deprecated for nearly 5 years
1035 Makefile.am | 4 +---
1037 dbus/__init__.py | 4 ----
1038 dbus/_dbus.py | 18 ------------------
1039 dbus/dbus_bindings.py | 37 -------------------------------------
1040 dbus_bindings.py | 1 -
1041 6 files changed, 6 insertions(+), 63 deletions(-)
1043 commit 14225c74b5bd75cf6c4cda3647341dc20214e6b8
1044 Author: Barry Warsaw <barry@python.org>
1045 Date: 2011-12-13 11:55:44 +0000
1047 Use Python 3 syntax to catch exceptions
1049 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1051 dbus/_expat_introspect_parser.py | 2 +-
1053 dbus/connection.py | 6 +++---
1054 dbus/proxies.py | 2 +-
1055 dbus/service.py | 6 +++---
1056 examples/example-client.py | 2 +-
1057 test/cross-test-client.py | 8 ++++----
1058 test/test-client.py | 12 ++++++------
1059 test/test-service.py | 2 +-
1060 9 files changed, 21 insertions(+), 21 deletions(-)
1062 commit 959ce518a3b5b8794b9813bac82c64540c21fc31
1063 Author: Barry Warsaw <barry@python.org>
1064 Date: 2011-12-13 11:51:17 +0000
1066 Use PyVarObject_HEAD_INIT to initialize types
1068 Part of a patch for Python 3 compatibility.
1070 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1072 _dbus_bindings/bytes.c | 6 ++----
1073 _dbus_bindings/containers.c | 9 +++------
1074 _dbus_bindings/float.c | 6 ++----
1075 _dbus_bindings/int.c | 18 ++++++------------
1076 _dbus_bindings/mainloop.c | 3 +--
1077 _dbus_bindings/pending-call.c | 3 +--
1078 _dbus_bindings/signature.c | 6 ++----
1079 _dbus_bindings/string.c | 9 +++------
1080 _dbus_bindings/unixfd.c | 3 +--
1081 9 files changed, 21 insertions(+), 42 deletions(-)
1083 commit 380d1f383c65e767c49d8416dde041a59ba1343e
1084 Author: Barry Warsaw <barry@python.org>
1085 Date: 2011-12-13 11:46:17 +0000
1087 Adjust debug messages
1089 Part of a patch for Python 3 compatibility.
1091 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1093 _dbus_bindings/message-append.c | 6 +++---
1094 1 file changed, 3 insertions(+), 3 deletions(-)
1096 commit fc24dbaa43e1aea47945cc608640022fd8f94093
1097 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1098 Date: 2011-12-13 11:39:32 +0000
1100 Require Python 2.6, to make porting to Python 3 easier
1102 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1106 2 files changed, 2 insertions(+), 2 deletions(-)
1108 commit ebd44a420264da0031b715f7f08a0b347a81dd30
1109 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1110 Date: 2011-12-13 11:38:48 +0000
1112 Use Py_TYPE() rather than thing->ob_type, for Python 3 portability
1114 Based on part of a patch from Barry Warsaw.
1116 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1118 _dbus_bindings/abstract.c | 16 ++++++++--------
1119 _dbus_bindings/bytes.c | 2 +-
1120 _dbus_bindings/conn.c | 2 +-
1121 _dbus_bindings/containers.c | 4 ++--
1122 _dbus_bindings/dbus_bindings-internal.h | 4 ++--
1123 _dbus_bindings/int.c | 4 ++--
1124 _dbus_bindings/libdbusconn.c | 2 +-
1125 _dbus_bindings/message-append.c | 2 +-
1126 _dbus_bindings/message-get-args.c | 2 +-
1127 _dbus_bindings/message.c | 4 ++--
1128 _dbus_bindings/pending-call.c | 2 +-
1129 _dbus_bindings/server.c | 2 +-
1130 _dbus_bindings/string.c | 4 ++--
1131 13 files changed, 25 insertions(+), 25 deletions(-)
1133 commit dc1c98f05d29c5b7464d7ac34ee900066f261a86
1134 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1135 Date: 2011-12-13 11:30:54 +0000
1137 _message_iter_get_pyobject: if UTF-8 from libdbus is invalid, don't crash
1139 Based on part of a patch from Barry Warsaw.
1141 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1143 _dbus_bindings/message-get-args.c | 10 +++++++---
1144 1 file changed, 7 insertions(+), 3 deletions(-)
1146 commit 876c668ecbc7b79aa04218b90e0f8b617d3997ed
1147 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1148 Date: 2011-12-13 11:26:31 +0000
1150 Don't warn about unused parameters
1152 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1154 configure.ac | 3 ++-
1155 1 file changed, 2 insertions(+), 1 deletion(-)
1157 commit d1b628e10626a51c306ac8f59bcfbaae2b6fbf2b
1158 Author: Barry Warsaw <barry@python.org>
1159 Date: 2011-12-13 11:25:01 +0000
1161 Don't leak UTF-8 string if serializing a unicode object fails with OOM
1163 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1165 _dbus_bindings/message-append.c | 1 +
1166 1 file changed, 1 insertion(+)
1168 commit fb64313b8d37a7869c5489c8ee1bfad0c2c84c0f
1169 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1170 Date: 2011-12-13 11:22:28 +0000
1172 Remove dbus_py_tp_richcompare_by_pointer, dbus_py_tp_hash_by_pointer
1174 These turn out not to be used for anything. Spotted by Barry Warsaw.
1176 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1178 _dbus_bindings/dbus_bindings-internal.h | 4 ----
1179 _dbus_bindings/generic.c | 23 -----------------------
1180 2 files changed, 27 deletions(-)
1182 commit 3caf4241af3a0fbee5948a217172990bb3c5e0b7
1183 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1184 Date: 2011-11-15 16:34:51 +0000
1189 1 file changed, 9 insertions(+)
1191 commit 092f60d1887a907434fb34e3a8841b067c21a01e
1192 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1193 Date: 2011-11-15 16:23:50 +0000
1195 Remove support for Python < 2.5
1197 _dbus_bindings/dbus_bindings-internal.h | 7 -------
1198 _dbus_bindings/module.c | 10 ----------
1200 3 files changed, 1 insertion(+), 18 deletions(-)
1202 commit dfa62b24adde8666df4d9cf64569d3aa51063ac8
1203 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1204 Date: 2011-11-15 13:33:27 +0000
1206 Bump dbus dependency to 1.4 so we can make decent error handling mandatory
1208 _dbus_bindings/message-append.c | 4 ----
1209 configure.ac | 12 +-----------
1210 2 files changed, 1 insertion(+), 15 deletions(-)
1212 commit 9c26d255d7d94a6a9be961672ca666de601b561d
1213 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1214 Date: 2011-05-25 13:51:24 +0100
1219 1 file changed, 1 insertion(+), 1 deletion(-)
1221 commit 6bdb27482cace69935584d2d9b33bdfce50ef5ce
1222 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1223 Date: 2011-05-25 12:50:36 +0100
1227 NEWS | 11 ++++++++++-
1228 configure.ac | 4 ++--
1229 2 files changed, 12 insertions(+), 3 deletions(-)
1231 commit 5ee02bf8785167f042636ab3005105243bff533b
1232 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1233 Date: 2011-05-24 17:49:20 +0100
1235 Let PYTHON_LIBS be overriden on the command line too
1237 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21017
1239 configure.ac | 11 ++++++++++-
1240 1 file changed, 10 insertions(+), 1 deletion(-)
1242 commit e9feba0f7b3a2b67fd56154185e92eab4b932468
1243 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1244 Date: 2011-05-24 17:48:36 +0100
1246 Let the user set PYTHON_INCLUDES on the configure command line
1248 This might be useful for cross-compilation or other strange setups.
1250 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=21017
1252 m4/am-check-python-headers.m4 | 32 +++++++++++++++++++-------------
1253 1 file changed, 19 insertions(+), 13 deletions(-)
1255 commit d6962024d7686e40cc012905581cb31c6999b856
1256 Merge: 4093246 cbc3f71
1257 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1258 Date: 2011-05-24 16:39:13 +0100
1260 Merge branch 'fd-passing'
1262 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30812
1263 Tested-by: Elvis Pfützenreuter <epx@signove.com>
1265 commit 4093246a1593ccc7bf02b5097254df163ab33b8b
1266 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1267 Date: 2011-05-18 12:30:57 +0100
1271 NEWS | 17 +++++++++++++++++
1272 1 file changed, 17 insertions(+)
1274 commit 86653c55435a05d047cc6bb191e2df64f3aa165c
1275 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1276 Date: 2011-05-17 18:54:55 +0100
1278 _ProxyMethod: allow an explicit signature to be given to method calls
1280 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36206
1281 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
1283 dbus/proxies.py | 31 ++++++++++++++++++-------------
1284 1 file changed, 18 insertions(+), 13 deletions(-)
1286 commit cbc3f71cebc313b988f8ecc461031c828bfd2302
1287 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1288 Date: 2011-05-18 11:10:54 +0100
1290 remove stray declaration of dbus_py_unixfd_range_check
1292 _dbus_bindings/types-internal.h | 1 -
1293 1 file changed, 1 deletion(-)
1295 commit 77f745f8a27af7b0ff4692ec02278591cdda2bbf
1296 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1297 Date: 2011-05-18 11:09:00 +0100
1299 unix-fd-service example: also exercise returning UnixFd(int)
1301 Also, cycle through the three possible return types deterministically,
1302 rather than choosing at random.
1304 examples/unix-fd-service.py | 17 +++++++++++------
1305 1 file changed, 11 insertions(+), 6 deletions(-)
1307 commit 917c41bfcad70c2c519c56a8f2a62e1804c08fc1
1308 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1309 Date: 2011-05-18 11:02:58 +0100
1311 Don't try to export DBUS_TYPE_UNIX_FD constant if not defined
1313 _dbus_bindings/module.c | 2 ++
1314 1 file changed, 2 insertions(+)
1316 commit 04d9fe485b408bf1139e59c457f665a93f514464
1317 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1318 Date: 2011-05-18 11:02:44 +0100
1320 unixfd: improve documentation
1322 _dbus_bindings/unixfd.c | 36 ++++++++++++++++++------------------
1323 1 file changed, 18 insertions(+), 18 deletions(-)
1325 commit 9d848d864606866f06d3a61cf74e6b9ae44180c1
1326 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1327 Date: 2011-05-18 10:49:11 +0100
1329 _message_iter_get_pyobject: fix whitespace
1331 _dbus_bindings/message-get-args.c | 2 +-
1332 1 file changed, 1 insertion(+), 1 deletion(-)
1334 commit c1f49ac473ac8910aa14f65362088a22e3f60a42
1335 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1336 Date: 2011-05-18 10:49:00 +0100
1338 UnixFd: don't close file descriptors passed to the constructor as an int
1340 Elvis agreed that this shouldn't differ from our handling of objects with
1343 This means that _message_iter_get_pyobject does need to close the fd
1346 _dbus_bindings/message-get-args.c | 9 +++++++--
1347 _dbus_bindings/unixfd.c | 13 ++++---------
1348 2 files changed, 11 insertions(+), 11 deletions(-)
1350 commit 630a7c54d85b36b82b1e180703d712ca2d5c5650
1351 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1352 Date: 2011-05-18 10:38:49 +0100
1354 unixfd: coding style
1356 _dbus_bindings/unixfd.c | 18 +++++++++---------
1357 1 file changed, 9 insertions(+), 9 deletions(-)
1359 commit 13503a5c05b63f19f2d2f65c872fe70debf11700
1360 Author: Elvis Pfützenreuter <epx@signove.com>
1361 Date: 2010-10-14 14:53:29 -0300
1363 Added Unix Fd support to dbus-python
1365 _dbus_bindings/Makefile.am | 1 +
1366 _dbus_bindings/containers.c | 3 +
1367 _dbus_bindings/dbus_bindings-internal.h | 6 +
1368 _dbus_bindings/message-append.c | 33 +++++
1369 _dbus_bindings/message-get-args.c | 11 ++
1370 _dbus_bindings/module.c | 3 +
1371 _dbus_bindings/types-internal.h | 1 +
1372 _dbus_bindings/unixfd.c | 225 +++++++++++++++++++++++++++++++
1373 dbus/types.py | 5 +-
1374 examples/unix-fd-client.py | 76 +++++++++++
1375 examples/unix-fd-service.py | 70 ++++++++++
1376 11 files changed, 432 insertions(+), 2 deletions(-)
1378 commit 95dc58760290d190a9f62d13d5b3936a0249cb43
1379 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1380 Date: 2011-05-17 18:56:45 +0100
1382 example-async-client: remove duplicate handle_hello_error()
1384 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=22560
1386 examples/example-async-client.py | 12 ------------
1387 1 file changed, 12 deletions(-)
1389 commit 070bddd9a60604ea47f003a0982ee90356092be5
1390 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1391 Date: 2011-05-17 18:06:40 +0100
1393 adjust Scott's patch to force boolean to be 0 or 1, and for coding style
1395 _dbus_bindings/conn-methods.c | 6 ++++--
1396 1 file changed, 4 insertions(+), 2 deletions(-)
1398 commit 4965899a9a6bfa1d9969895720089986b997189e
1399 Author: Scott Tsai <scottt.tw@gmail.com>
1400 Date: 2011-02-16 23:46:39 +0800
1402 Wrap dbus_connection_set_allow_anonymous()
1404 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34342
1405 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1407 _dbus_bindings/conn-methods.c | 20 ++++++++++++++++++++
1408 1 file changed, 20 insertions(+)
1410 commit d2fc8a5a4ac2ce8eab519557c40432a6879a7c23
1411 Author: Scott Tsai <scottt.tw@gmail.com>
1412 Date: 2011-03-24 22:13:55 +0800
1414 ProxyObject: clear _pending_introspect_queue after execution
1416 Signed-off-by: Simon McVittie <smcv@debian.org>
1418 dbus/proxies.py | 1 +
1419 1 file changed, 1 insertion(+)
1421 commit 73fce893626e2e2640a35798266f4ee2bc6c05eb
1422 Author: Simon McVittie <smcv@debian.org>
1423 Date: 2010-12-02 17:47:13 +0000
1428 configure.ac | 4 ++--
1429 2 files changed, 6 insertions(+), 6 deletions(-)
1431 commit d51c445c8460507526124c3874f81a205a1ae4b9
1432 Author: Simon McVittie <smcv@debian.org>
1433 Date: 2010-12-02 17:41:12 +0000
1437 NEWS | 24 +++++++++++++++++++++++-
1438 1 file changed, 23 insertions(+), 1 deletion(-)
1440 commit 59a0ea47f343da7626ea6f10f661a942f8eb284a
1441 Author: Simon McVittie <smcv@debian.org>
1442 Date: 2010-12-02 17:39:08 +0000
1444 DBusPyException_ConsumeError: check whether the constructor failed
1446 _dbus_bindings/exceptions.c | 5 +++++
1447 1 file changed, 5 insertions(+)
1449 commit 28880468dddbb0e063d80dd003145a6322238507
1450 Author: Simon McVittie <smcv@debian.org>
1451 Date: 2010-12-02 17:28:33 +0000
1453 Add a regression test for fd.o #23831
1456 configure.ac | 4 ++++
1457 test/Makefile.am | 8 +++++++-
1458 test/import-repeatedly.c | 16 ++++++++++++++++
1459 4 files changed, 29 insertions(+), 1 deletion(-)
1461 commit d3f57baf2a9e5e26e2365313abd2890239b6572a
1462 Author: Simon McVittie <smcv@debian.org>
1463 Date: 2010-12-02 17:27:34 +0000
1465 fd.o #23831: make sure to ref types passed to PyModule_AddObject
1467 This avoids these static types wrongly being deallocated. Python
1468 implements static types as having one initial reference, which is never
1469 meant to be released, but if you get your refcounting wrong they'll be
1470 "deallocated" (causing a crash) during Py_Finalize.
1472 _dbus_bindings/abstract.c | 1 +
1473 _dbus_bindings/bytes.c | 1 +
1474 _dbus_bindings/conn.c | 2 ++
1475 _dbus_bindings/containers.c | 1 +
1476 _dbus_bindings/float.c | 1 +
1477 _dbus_bindings/int.c | 1 +
1478 _dbus_bindings/libdbusconn.c | 3 +++
1479 _dbus_bindings/mainloop.c | 2 ++
1480 _dbus_bindings/message.c | 7 +++++++
1481 _dbus_bindings/pending-call.c | 2 ++
1482 _dbus_bindings/server.c | 2 ++
1483 _dbus_bindings/signature.c | 1 +
1484 _dbus_bindings/string.c | 1 +
1485 13 files changed, 25 insertions(+)
1487 commit 56ad64cd14e52b479489549f76343f19e3842139
1488 Author: Simon McVittie <smcv@debian.org>
1489 Date: 2010-12-02 16:31:07 +0000
1491 Use Py_CLEAR for greater robustness
1493 _dbus_bindings/abstract.c | 36 ++++++++---------
1494 _dbus_bindings/bus.c | 10 ++---
1495 _dbus_bindings/bytes.c | 6 +--
1496 _dbus_bindings/conn-methods.c | 60 ++++++++++++++--------------
1497 _dbus_bindings/conn.c | 18 ++++-----
1498 _dbus_bindings/containers.c | 78 ++++++++++++++++++-------------------
1499 _dbus_bindings/exceptions.c | 8 ++--
1500 _dbus_bindings/generic.c | 2 +-
1501 _dbus_bindings/int.c | 32 +++++++--------
1502 _dbus_bindings/message-append.c | 59 ++++++++++++++--------------
1503 _dbus_bindings/message-get-args.c | 42 ++++++++++----------
1504 _dbus_bindings/message.c | 14 +++----
1505 _dbus_bindings/module.c | 2 +-
1506 _dbus_bindings/pending-call.c | 16 ++++----
1507 _dbus_bindings/server.c | 18 ++++-----
1508 _dbus_bindings/signature.c | 6 +--
1509 _dbus_bindings/string.c | 4 +-
1510 _dbus_glib_bindings/module.c | 10 ++---
1511 test/dbus_py_test.c | 8 ++--
1512 19 files changed, 209 insertions(+), 220 deletions(-)
1514 commit cb1bbd2414e892469023653ea7ddd5d39cd76b84
1515 Author: Simon McVittie <smcv@debian.org>
1516 Date: 2010-12-02 15:15:02 +0000
1518 dbus_py_Message_append: avoid looking beyond the valid part of a signature
1520 Similar reasoning: we don't even want to look where the iterator is
1521 pointing if the last call to dbus_signature_iter_next indicated "no more".
1523 _dbus_bindings/message-append.c | 36 ++++++++++++++++++++++--------------
1524 1 file changed, 22 insertions(+), 14 deletions(-)
1526 commit db66571902a3406fc58ac453d8bfa7f689f46c42
1527 Author: Simon McVittie <smcv@debian.org>
1528 Date: 2010-12-02 15:13:28 +0000
1530 _message_iter_append_multi: bail out safely if a struct isn't filled
1532 In newer versions of libdbus, calling dbus_signature_iter_get_current_type
1533 when the iterator is pointing at the ')' of a struct trips an assertion
1534 failure, rather than just returning INVALID.
1536 _dbus_bindings/message-append.c | 9 +++++++++
1537 1 file changed, 9 insertions(+)
1539 commit 3813781fec33ed3cf33cedbfe7d1ecaf8af34aee
1540 Author: Simon McVittie <smcv@debian.org>
1541 Date: 2010-12-02 15:10:50 +0000
1543 Use dbus_message_iter_abandon_container to bail out, if supported
1545 This avoids (potentially fatal) warnings, with newer libdbus; it'll only
1546 work if we were compiled against libdbus >= 1.3.0.
1548 _dbus_bindings/message-append.c | 22 ++++++++++++++++++++--
1549 configure.ac | 4 ++++
1550 2 files changed, 24 insertions(+), 2 deletions(-)
1552 commit 156463909029aa5f3b56755f488e3ac15ed5a79a
1553 Author: Simon McVittie <smcv@debian.org>
1554 Date: 2010-12-02 15:09:00 +0000
1556 _message_iter_append_multi: assert that mode is what we expect
1558 _dbus_bindings/message-append.c | 5 +++++
1559 1 file changed, 5 insertions(+)
1561 commit abefbed911ecab8fb5c08d887479f21b449b392b
1562 Author: Simon McVittie <smcv@debian.org>
1563 Date: 2010-12-02 15:08:15 +0000
1565 Makefile.am: build API docs etc. last, so they pick up any recent changes
1568 1 file changed, 1 insertion(+), 1 deletion(-)
1570 commit 53e9cde2ca64de906967546750e5c6dd6aa58da6
1571 Author: Simon McVittie <smcv@debian.org>
1572 Date: 2010-11-23 19:17:19 +0000
1574 fd.o #21831: deserialize empty ByteArray objects correctly
1576 For some reason libdbus gives us NULL instead of a pointer to a
1577 zero-length object (i.e. any random place in the message would do), which
1578 Py_BuildValue doesn't interpret the way we'd want it to.
1580 _dbus_bindings/message-get-args.c | 6 ++++++
1581 test/test-standalone.py | 7 +++++++
1582 2 files changed, 13 insertions(+)
1584 commit 292a9eab92e908b6dc0e97b5ea07c432f41b8bae
1585 Author: Simon McVittie <smcv@debian.org>
1586 Date: 2010-11-23 19:06:17 +0000
1588 Move CFLAGS_WARNINGS setup after uses of JH_ADD_CFLAG
1590 We don't want to enable potentially-fatal errors when checking for things
1591 like -fno-strict-aliasing, because autoconf's test programs provoke
1594 configure.ac | 4 ++--
1595 1 file changed, 2 insertions(+), 2 deletions(-)
1597 commit 83b51706c422662dd0a7d55a40030a1d75c38f88
1598 Author: Elvis Pfützenreuter <epx signove.com>
1599 Date: 2010-10-14 23:19:14 -0300
1601 Fix compilation in 64-bit architecture
1603 _dbus_bindings/message-append.c | 2 +-
1604 1 file changed, 1 insertion(+), 1 deletion(-)
1606 commit 0ed654e18e29f8c23add3d69e57f6b3628c8f848
1607 Author: Louis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>
1608 Date: 2010-08-18 14:02:11 -0400
1610 Don't override CFLAGS when adding compiler warnings
1612 Macro function TP_COMPILER_WARNINGS overrides the value of the given
1613 variable (first argument of the function)
1615 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1617 configure.ac | 4 +++-
1618 1 file changed, 3 insertions(+), 1 deletion(-)
1620 commit f68a143ac3b19bd40709cbc85b5112fcb0d2e07b
1621 Author: Johan Sandelin <johan@alphafish.com>
1622 Date: 2010-03-23 15:15:33 +0100
1624 Fixed typo in dbus/bus.py where list_activatable_names would call org.freedesktop.DBus.ListNames instead of org.freedesktop.DBus.ListActivatableNames
1626 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1629 1 file changed, 1 insertion(+), 1 deletion(-)
1631 commit e2262071188067360a7798ae30d4b694229f6f0f
1632 Author: Simon McVittie <smcv@debian.org>
1633 Date: 2010-02-18 18:11:34 +0000
1639 2 files changed, 6 insertions(+), 1 deletion(-)
1641 commit 49884241db42ea4d2eadd08cb8b5805a6708c925
1642 Author: Simon McVittie <smcv@debian.org>
1643 Date: 2010-02-18 17:15:57 +0000
1645 Prepare version 0.83.1
1650 configure.ac | 4 ++--
1651 2 files changed, 7 insertions(+), 6 deletions(-)
1653 commit c91476085faaf7456c5b67e431c11b153b3c8762
1654 Author: Simon McVittie <smcv@debian.org>
1655 Date: 2010-02-18 17:35:32 +0000
1657 Use telepathy-glib's macros for desirable and undesirable compiler warnings
1659 configure.ac | 26 ++++++++++++++++----------
1660 m4/Makefile.am | 4 +++-
1661 m4/tp-compiler-flag.m4 | 36 ++++++++++++++++++++++++++++++++++++
1662 m4/tp-compiler-warnings.m4 | 40 ++++++++++++++++++++++++++++++++++++++++
1663 4 files changed, 95 insertions(+), 11 deletions(-)
1665 commit 65838e33fc871a8cf4b18541a6b0a59af2951eb2
1666 Author: Simon McVittie <smcv@debian.org>
1667 Date: 2010-02-18 17:35:11 +0000
1669 Require a halfway modern Automake
1672 1 file changed, 1 insertion(+), 1 deletion(-)
1674 commit 4bef0dcf7a040d3656b60e480e9e94b663887ab9
1675 Author: Simon McVittie <smcv@debian.org>
1676 Date: 2010-02-18 17:35:01 +0000
1678 Support silent rules if automake >= 1.11
1681 1 file changed, 1 insertion(+)
1683 commit ea197112c5601b0b527b933c3e1241a1bdb02f9f
1684 Author: Simon McVittie <smcv@debian.org>
1685 Date: 2010-02-18 17:22:14 +0000
1687 Fix signature and return value of Connection_tp_init (oops)
1689 _dbus_bindings/conn.c | 4 +++-
1690 1 file changed, 3 insertions(+), 1 deletion(-)
1692 commit 1c9d2019260b38f7ee2eef1f73d07c0620ba51f2
1693 Author: Simon McVittie <smcv@debian.org>
1694 Date: 2010-02-18 17:21:56 +0000
1696 Revert "Prepare version 0.83.1"
1698 This reverts commit a63043f262e8938affe515faa145d0f619b9fae6.
1701 configure.ac | 4 ++--
1702 2 files changed, 6 insertions(+), 7 deletions(-)
1704 commit a63043f262e8938affe515faa145d0f619b9fae6
1705 Author: Simon McVittie <smcv@debian.org>
1706 Date: 2010-02-18 17:15:57 +0000
1708 Prepare version 0.83.1
1711 configure.ac | 4 ++--
1712 2 files changed, 7 insertions(+), 6 deletions(-)
1714 commit 2124e4f2a44791c92781276ebe7c4e9a458888d5
1715 Author: Simon McVittie <smcv@debian.org>
1716 Date: 2010-02-18 17:15:48 +0000
1718 Ignore generated files from newer libtool
1720 .gitignore | 5 +++++
1721 1 file changed, 5 insertions(+)
1723 commit 35f4c2e950539f3c72628eb758b62ed2a0b70492
1724 Author: Simon McVittie <smcv@debian.org>
1725 Date: 2010-02-18 17:02:13 +0000
1727 Use git log rather than git-log, to support distcheck with modern git
1729 Makefile.am | 4 ++--
1730 1 file changed, 2 insertions(+), 2 deletions(-)
1732 commit 50f0a326c63f35b2cafe8cb9e9082bc2c4a3fa1b
1733 Author: Simon McVittie <smcv@debian.org>
1734 Date: 2010-02-18 15:07:39 +0000
1736 fd.o#21172: avoid DeprecationWarning with Python 2.6
1738 _dbus_bindings/conn.c | 9 ++++++++-
1739 1 file changed, 8 insertions(+), 1 deletion(-)
1741 commit abdf6021b21883beb51d92862caafc127d3c25ec
1742 Author: Simon McVittie <smcv@debian.org>
1743 Date: 2010-02-18 15:03:30 +0000
1745 tests/cross-test-*: don't use deprecated sets module
1747 set() has been a built-in since 2.4, and we don't support older versions.
1749 test/cross-test-client.py | 3 +--
1750 test/cross-test-server.py | 5 ++---
1751 2 files changed, 3 insertions(+), 5 deletions(-)
1753 commit add31c0964a0a659443aa534b1f114f4e0a2e7b3
1754 Author: Simon McVittie <smcv@debian.org>
1755 Date: 2010-02-18 14:45:24 +0000
1757 fd.o #15013: expose dbus.lowlevel.MESSAGE_TYPE_SIGNAL and friends
1759 _dbus_bindings/module.c | 2 --
1760 dbus/lowlevel.py | 12 ++++++++++--
1761 2 files changed, 10 insertions(+), 4 deletions(-)
1763 commit c1ade22086f9d25cfd1d1096307bbf96cbb1ae29
1764 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1765 Date: 2008-09-30 15:38:16 +0100
1770 1 file changed, 3 insertions(+)
1772 commit a6df6fb20142e7624b78b5c84e9e23cba3d3a3b9
1773 Author: Huang Peng <shawn.p.huang gmail com>
1774 Date: 2008-09-30 15:35:39 +0100
1776 Message.set_sender: allow org.freedesktop.DBus
1778 I found Message.set_sender method only accepts unique bus name. But in
1779 my project, I need implement a simple dbus daemon, it need set the sender
1780 as "org.freedesktop.DBus".
1782 _dbus_bindings/message.c | 2 +-
1783 1 file changed, 1 insertion(+), 1 deletion(-)
1785 commit 98d85a33c8570dff007ce79d87657b19e67e0f00
1786 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1787 Date: 2008-09-30 15:34:24 +0100
1789 NEWS: mention mpg's bugfix
1792 1 file changed, 4 insertions(+)
1794 commit 29774bca65ef7f887f9dafda56cb167dc0a2e80e
1795 Merge: 884acb5 6a94507
1796 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1797 Date: 2008-09-16 11:27:24 +0100
1801 commit 884acb58ef583a7565bfa88f2dc161d10c8adde6
1802 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1803 Date: 2008-09-16 11:26:24 +0100
1805 Start development for 0.83.1
1809 2 files changed, 10 insertions(+), 1 deletion(-)
1811 commit 6a945076699cd0a5eebde6bcf22a3cc4a4f9e547
1812 Author: Marco Pesenti Gritti <mpgritti gmail com>
1813 Date: 2008-09-15 18:09:00 +0100
1815 Cleanup self._signal_recipients_by_object_path (fd.o #17551)
1817 In Connection, add_signal_receiver adds object paths to
1818 self._signal_recipients_by_object_path and they are not cleaned by
1819 remove_signal_receiver.
1821 As a result self._signal_recipients_by_object_path keeps growing indefinitely.
1823 This seem to work for me. I know very little about dbus-python though, so I
1824 could very well be doing it wrong.
1826 https://bugs.freedesktop.org/show_bug.cgi?id=17551
1827 https://bugs.freedesktop.org/attachment.cgi?id=18857
1829 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
1831 dbus/connection.py | 10 +++++++++-
1832 1 file changed, 9 insertions(+), 1 deletion(-)
1834 commit 81d0dcd79e1bc6187faa2f6a2f6d4d821f879a0e
1835 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1836 Date: 2008-07-23 17:45:07 +0100
1838 Release version 0.83.0
1841 configure.ac | 6 +++---
1842 2 files changed, 4 insertions(+), 4 deletions(-)
1844 commit d634b018107c5aaeaeca704c14b9e853b9d52bfd
1845 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1846 Date: 2008-07-23 17:36:41 +0100
1848 Avoid some compiler warnings
1850 _dbus_bindings/dbus_bindings-internal.h | 1 +
1851 _dbus_glib_bindings/module.c | 2 ++
1852 test/dbus_py_test.c | 2 ++
1853 3 files changed, 5 insertions(+)
1855 commit fe5981ca2b90978c75d3308b0f58844fabf8ea4d
1856 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1857 Date: 2008-07-23 17:36:24 +0100
1859 Make the API docs build correctly when out-of-tree
1861 Makefile.am | 5 ++++-
1863 2 files changed, 6 insertions(+), 1 deletion(-)
1865 commit 7ef26213b5b3b46444f87a603ee3bb5c6381a56a
1866 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1867 Date: 2008-07-23 17:16:43 +0100
1871 It's been out for ages, and we can finally drop DBUS_API_SUBJECT_TO_CHANGE if we do.
1875 dbus-python.pc.in | 2 +-
1876 include/dbus-python.h | 1 -
1877 4 files changed, 4 insertions(+), 3 deletions(-)
1879 commit 8c2ef87d94525af4b1e7f21e18b0a07b30ab425b
1880 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1881 Date: 2008-07-17 13:06:06 +0100
1885 NEWS | 15 ++++++++++-----
1886 1 file changed, 10 insertions(+), 5 deletions(-)
1888 commit d1ded84e774c4aaad9bf02842e1898580dd599ea
1889 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1890 Date: 2008-07-17 13:00:15 +0100
1892 Omit the remote traceback from certain D-Bus errors
1894 Specifically, DBusException and its subclasses no longer have the remote
1895 traceback by default (although subclasses can turn it back on again
1896 by setting include_traceback = True, and the various "programmer error"
1897 subclasses of DBusException do have this set).
1899 Hopefully this will stop people thinking it's a dbus-python or
1900 telepathy-python bug when a D-Bus API like Telepathy deliberately raises an
1901 error (and so dbus-python or telepathy-python is visible in the traceback).
1903 dbus/exceptions.py | 33 +++++++++++++++++++++++++++++++++
1904 dbus/service.py | 5 ++++-
1905 test/test-client.py | 37 +++++++++++++++++++++++++++++++++++++
1906 test/test-service.py | 22 ++++++++++++++++++++++
1907 4 files changed, 96 insertions(+), 1 deletion(-)
1909 commit b962965f8c30d785ade69dd6a60924b42d6a1c8d
1910 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1911 Date: 2008-07-17 12:17:31 +0100
1913 Update NEWS. Let's call the next release 0.83 since it's a feature release
1916 dbus/server.py | 2 +-
1917 2 files changed, 8 insertions(+), 2 deletions(-)
1919 commit 90c84c2cbe826e8aa4a4a4d8c4f4926c77590f25
1920 Merge: a7725c9 b5aa7ce
1921 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1922 Date: 2008-07-15 19:38:08 +0100
1924 Merge branch 'master' into server
1926 commit b5aa7ce1baa7628c883982f6dde9ca32958db857
1927 Author: Huang Peng <phuang@redhat.com>
1928 Date: 2008-07-15 19:37:00 +0100
1930 Bugfix for: if using Connection.add_message_filter, only the last filter will be called
1932 _dbus_bindings/conn-methods.c | 1 +
1933 1 file changed, 1 insertion(+)
1935 commit a7725c9d7589773de7c068f11ca63b95f99ccfcc
1936 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1937 Date: 2008-07-15 19:33:01 +0100
1939 Alter dbus.server.Server API to have pseudo-signals
1941 By either appending to a list of callbacks, or subclassing and providing a
1942 method, you can be notified when connections are added or removed.
1943 Inspired by the DBusServer patch from Huang Peng.
1945 dbus/server.py | 48 ++++++++++++++++++++++++++++++++++++++++++++----
1946 test/test-server.py | 24 +++++++++++++-----------
1947 2 files changed, 57 insertions(+), 15 deletions(-)
1949 commit 810b67cd6d30e4af73067090c7fe1ae14952ce00
1950 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1951 Date: 2008-07-15 19:30:33 +0100
1953 Initialize LibDBusConnection correctly
1955 _dbus_bindings/module.c | 2 ++
1956 1 file changed, 2 insertions(+)
1958 commit 07196538f58c069313eeda2c496278f8289b9437
1959 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1960 Date: 2008-07-15 19:22:33 +0100
1962 Add some more compiler warning flags if supported
1964 configure.ac | 5 +++++
1965 1 file changed, 5 insertions(+)
1967 commit 88a08077393d4c6f091109ccc819c6ec4664ba71
1968 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1969 Date: 2008-07-15 19:22:21 +0100
1971 Make DBusPyConnection_NewConsumingDBusConnection static now nobody else needs to call it
1973 _dbus_bindings/conn.c | 2 +-
1974 1 file changed, 1 insertion(+), 1 deletion(-)
1976 commit 2f7e3865c5cae60769b98dac163802e224345fb9
1977 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1978 Date: 2008-07-15 19:21:51 +0100
1980 DbusPyServer: construct connections by calling the type, so the object will be fully initialized
1982 _dbus_bindings/server.c | 28 ++++++++++++++++++++--------
1983 1 file changed, 20 insertions(+), 8 deletions(-)
1985 commit bdc76e63da5ca9e017cfbea6c1ce1b0e21ebf706
1986 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1987 Date: 2008-07-15 19:15:42 +0100
1989 Refactor DBusPyConnection_NewForBus and make it go via DbusPyConnection_Type.tp_new
1991 Now that we have the LibDBusConnection temporary objects, we don't have
1992 to do strange sideways inheritance, we can just chain up to the superclass
1995 _dbus_bindings/bus.c | 85 +++++++++++++++++++++++++++++++++++---------------
1996 1 file changed, 59 insertions(+), 26 deletions(-)
1998 commit 0f0193180b7853cfea486d0aef1b60d4fa067ed2
1999 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2000 Date: 2008-07-15 19:13:55 +0100
2002 _dbus_bindings._Connection: sort out constructor
2004 Accept a LibDBusConnection for the address (sic) parameter,
2005 so we can construct a Connection for a DBusConnection that already
2008 The way all this works right now is a bit unfortunate, with hindsight,
2009 but most of it is fixable like this.
2011 _dbus_bindings/conn.c | 40 +++++++++++++++++++++++++++-------------
2012 1 file changed, 27 insertions(+), 13 deletions(-)
2014 commit 9d53f6c5179c590089bd6560e266dda538202f93
2015 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2016 Date: 2008-07-15 18:59:33 +0100
2018 [trivial] un-extern Struct_tp_getattro
2020 _dbus_bindings/containers.c | 2 +-
2021 1 file changed, 1 insertion(+), 1 deletion(-)
2023 commit 9d9322f9faf49f7ac8b4c3048f1333a9d7cabb48
2024 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2025 Date: 2008-07-15 18:54:54 +0100
2027 Add LibDBusConnection in _dbus_bindings
2029 _dbus_bindings/Makefile.am | 1 +
2030 _dbus_bindings/conn-internal.h | 5 ++
2031 _dbus_bindings/dbus_bindings-internal.h | 16 +++-
2032 _dbus_bindings/libdbusconn.c | 124 +++++++++++++++++++++++++++++++
2033 4 files changed, 143 insertions(+), 3 deletions(-)
2035 commit 565d2e88c54d3f2e6dab4ae0ed3202d3a26bfd2c
2036 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2037 Date: 2008-07-14 18:44:15 +0100
2039 Add Connection.call_on_disconnection
2041 dbus/connection.py | 24 ++++++++++++++++++++++++
2042 1 file changed, 24 insertions(+)
2044 commit a7e29e3dbab9651761fc9a7c3ec7fbc27c711286
2045 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2046 Date: 2008-07-14 17:30:43 +0100
2048 Actually create objects of class Server->conn_class
2050 _dbus_bindings/server.c | 7 ++++---
2051 1 file changed, 4 insertions(+), 3 deletions(-)
2053 commit ee4c9f80cd6a6e839eeebd2e592e4793e9bb61a8
2054 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2055 Date: 2008-07-14 17:24:35 +0100
2057 dbus.server.Server: implement a stub version of _on_new_connection
2059 dbus/server.py | 17 +++++++++++++++++
2060 1 file changed, 17 insertions(+)
2062 commit 689e366ec0192920bcc961a0c44e89898d9bd8b1
2063 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2064 Date: 2008-07-14 17:19:56 +0100
2066 Fix *another* thinko in dbus.server
2068 dbus/server.py | 2 +-
2069 1 file changed, 1 insertion(+), 1 deletion(-)
2071 commit 2a646b1a5ac0ac15923e657058703f146f12a452
2072 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2073 Date: 2008-07-14 17:18:45 +0100
2075 Fix thinko in dbus.server: actually instantiate a _Server
2077 dbus/server.py | 2 ++
2078 1 file changed, 2 insertions(+)
2080 commit b9925dc51a1fe6d07c263f7f956005b44ca95b29
2081 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2082 Date: 2008-07-14 16:56:02 +0100
2084 Add some whitespace to make reStructuredText happy
2086 dbus/_dbus.py | 2 ++
2087 1 file changed, 2 insertions(+)
2089 commit c731758bd9d5dfcfe2a9e3176596bb43777ea334
2090 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2091 Date: 2008-07-14 16:54:16 +0100
2093 Hook DBusServer into the build system.
2095 Based on parts of the patch by Huang Peng <phuang@redhat.com>
2098 _dbus_bindings/Makefile.am | 1 +
2099 _dbus_bindings/dbus_bindings-internal.h | 8 ++++++++
2100 _dbus_bindings/mainloop.c | 19 +++++++++++++++++++
2101 _dbus_bindings/module.c | 2 ++
2102 5 files changed, 31 insertions(+)
2104 commit 6dcd530f0b6aa158330726d7a5cca9d6dd96eafb
2105 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2106 Date: 2008-07-14 16:43:15 +0100
2108 Rename _dbus_bindings.Server to _dbus_bindings._Server
2110 _dbus_bindings/server.c | 9 +++++----
2111 dbus/server.py | 2 +-
2112 2 files changed, 6 insertions(+), 5 deletions(-)
2114 commit 87a86d7d6033cbb61271a84f20d5d25c4b4182c0
2115 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2116 Date: 2008-07-14 16:41:28 +0100
2118 DBusPyServer: construct a user-specified subtype of Connection
2120 _dbus_bindings/server.c | 32 +++++++++++++++++++++++++-------
2121 dbus/server.py | 20 ++++++++++++++++++++
2122 2 files changed, 45 insertions(+), 7 deletions(-)
2124 commit 8e213001de0523bd7971fc9251c56635a9e943db
2125 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2126 Date: 2008-07-14 16:40:32 +0100
2128 test-server: import Connection from the right place
2130 test/test-server.py | 4 ++--
2131 1 file changed, 2 insertions(+), 2 deletions(-)
2133 commit 54a64a6571a6de18b87177ff1410e5d57f574463
2134 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2135 Date: 2008-07-14 16:16:22 +0100
2137 DBusPyServer initialization: remove some debugging printfs
2139 _dbus_bindings/server.c | 8 +++-----
2140 1 file changed, 3 insertions(+), 5 deletions(-)
2142 commit 05c19f23c63246322e4c9dfed2af47aaf77f7619
2143 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2144 Date: 2008-07-14 16:15:43 +0100
2146 DBusPyServer get_address, get_id: correct docs, these return str not String
2148 _dbus_bindings/server.c | 4 ++--
2149 1 file changed, 2 insertions(+), 2 deletions(-)
2151 commit cf64e96607157f4e73c6dacaa34fb54fead26d1f
2152 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2153 Date: 2008-07-14 16:14:48 +0100
2155 DBusPyServer tp_dealloc: remove a stray debugging printf
2157 _dbus_bindings/server.c | 1 -
2158 1 file changed, 1 deletion(-)
2160 commit d9821035d58c4fe161a9ff0a2546198e2c1dbb49
2161 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2162 Date: 2008-07-14 16:13:34 +0100
2164 DBusPyServer: correctly unref the partially constructed DBusPyServer on errors
2166 _dbus_bindings/server.c | 3 ++-
2167 1 file changed, 2 insertions(+), 1 deletion(-)
2169 commit 6d77f23d062f047437dc8ce428d86a7ad9fa05b2
2170 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2171 Date: 2008-07-14 16:12:27 +0100
2173 DBusPyServer: correctly unref the weakref object on errors
2175 _dbus_bindings/server.c | 3 ++-
2176 1 file changed, 2 insertions(+), 1 deletion(-)
2178 commit 603d449610275db1e51816104630cce6d74ac9d4
2179 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2180 Date: 2008-07-14 16:11:30 +0100
2182 DBusPyServer: fix a typo
2184 _dbus_bindings/server.c | 2 +-
2185 1 file changed, 1 insertion(+), 1 deletion(-)
2187 commit 0a888fb732074426d9b0dd6f487dffe5cee9df39
2188 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2189 Date: 2008-07-14 16:09:57 +0100
2191 DBusPyServer: Fix refcounting of the main loop
2193 _dbus_bindings/server.c | 6 ++++--
2194 1 file changed, 4 insertions(+), 2 deletions(-)
2196 commit 1144c656fa9d956853fd8c03dc52937f60d3ee2e
2197 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2198 Date: 2008-07-14 16:09:27 +0100
2200 DBusPyServer: if there's no main loop, throw an exception
2202 The code starting at the "err" label assumes that an exception has been
2205 _dbus_bindings/server.c | 8 +++++++-
2206 1 file changed, 7 insertions(+), 1 deletion(-)
2208 commit 37fd41a721a5417eeb72e90cbe3296f823ccc1b2
2209 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2210 Date: 2008-07-14 16:08:26 +0100
2212 Document that DBusPyServer_NewDBusServer consumes a reference to the server.
2214 Rename it to DBusPyServer_NewConsumingDBusServer to make this clearer.
2216 _dbus_bindings/server.c | 14 +++++++++-----
2217 1 file changed, 9 insertions(+), 5 deletions(-)
2219 commit 1896381006ec54b1dfaf8bbcaaeab14b8a12ed32
2220 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2221 Date: 2008-07-14 15:45:35 +0100
2223 DBusPyServer: remove some stray debugging printfs
2225 _dbus_bindings/server.c | 3 ---
2226 1 file changed, 3 deletions(-)
2228 commit ac83797b39b1d0eacaafcdf42772eab8ca91ce63
2229 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2230 Date: 2008-07-14 15:39:02 +0100
2232 DBusPyServer: refactor set_auth_mechanisms
2236 * don't crash if the sequence isn't a sequence
2237 * don't coerce items to strings too hard (we only want to accept str or
2238 unicode, accepting FooObject and trying to use it as an authentication
2239 method "<FooObject at 0xdeadbeef>" would be silly)
2241 _dbus_bindings/server.c | 52 ++++++++++++++++++++++++++---------------------
2242 1 file changed, 29 insertions(+), 23 deletions(-)
2244 commit 9774cdade2306b9bb641162a14645510fc822c86
2245 Author: Mathias Hasselmann <mathias@openismus.com>
2246 Date: 2008-01-31 23:26:30 +0100
2248 Initial support for DBusServer class (#14322).
2250 _dbus_bindings/server.c | 535 +++++++++++++++++++++++++++++++++++++++++++++++
2251 dbus/server.py | 38 ++++
2252 test/test-server.py | 74 +++++++
2253 3 files changed, 647 insertions(+)
2255 commit dff98456995c37d964eb32a7de7ca718fc3d48d7
2256 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2257 Date: 2008-01-22 12:01:18 +0000
2259 Don't assume that libdbus only gives method call messages to object-path handlers (fd.o #14199)
2262 dbus/service.py | 5 ++++-
2263 2 files changed, 8 insertions(+), 1 deletion(-)
2265 commit 2295b58e4eef9f41a2f917c51408f83a4d2b7efd
2266 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2267 Date: 2007-12-19 18:19:02 +0000
2269 doc/tutorial.txt: Briefly describe how to use the Qt event loop.
2270 Based on a patch from Phil Thompson, riverbankcomputing.co.uk
2272 doc/tutorial.txt | 6 +++++-
2273 1 file changed, 5 insertions(+), 1 deletion(-)
2275 commit e0883f3518f137399077c13409f7a469924c0fd8
2276 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2277 Date: 2007-12-10 17:40:23 +0000
2279 Unset release flag, and start NEWS for 0.82.5
2283 2 files changed, 8 insertions(+), 1 deletion(-)
2285 commit a536c5ed08c21e35937bc8ea52844c2f19bfdc55
2286 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2287 Date: 2007-12-10 17:39:20 +0000
2289 Add a maintainer-upload target to the Makefile.am, which uploads the current .tar.gz and .tar.gz.asc
2291 Makefile.am | 7 ++++++-
2292 1 file changed, 6 insertions(+), 1 deletion(-)
2294 commit ca0a58e3ef9fe1cc2b1282b52f652c71b736e182
2295 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2296 Date: 2007-12-10 15:14:06 +0000
2300 configure.ac | 4 ++--
2301 1 file changed, 2 insertions(+), 2 deletions(-)
2303 commit ae97b7432232bc008e20e4696c512bcf69938dd8
2304 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2305 Date: 2007-12-10 15:13:48 +0000
2307 When user sets reply_handler but not error_handler raise MissingReplyHandlerException instead of MissingErrorHandlerException, and vice versa (fd.o #12304, patch from René Neumann)
2310 dbus/proxies.py | 4 ++--
2311 2 files changed, 6 insertions(+), 3 deletions(-)
2313 commit 2beb7890280ae3b553e59ab8355b65ec203e4776
2314 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2315 Date: 2007-10-12 11:34:37 +0100
2319 NEWS | 14 ++++++++++++++
2320 1 file changed, 14 insertions(+)
2322 commit 6076d4222af7da5a8aa1de28626423d811ba6be2
2323 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2324 Date: 2007-10-12 11:34:28 +0100
2326 Don't try to make dbus/Makefile from dbus/Makefile.in; the fix for #12741 removed it
2329 1 file changed, 1 deletion(-)
2331 commit 4fdbc65e42d940ba6cc4445a8a83af90dc3d3a34
2332 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2333 Date: 2007-10-09 12:26:21 +0100
2335 Revert "Make sure extensions are built before docs; get rid of strange inter-directory dependency"
2337 This reverts commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc.
2339 Makefile.am | 7 ++++++-
2340 1 file changed, 6 insertions(+), 1 deletion(-)
2342 commit 09611c45b3301e93a34a03366e058c3edc184e47
2343 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2344 Date: 2007-10-09 12:24:52 +0100
2346 Don't distribute COPYING.*, which we no longer have or need
2349 1 file changed, 1 insertion(+), 1 deletion(-)
2351 commit 81897e3143ff5d4c660e4960cc103b92d54ae14d
2352 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2353 Date: 2007-10-09 12:24:15 +0100
2355 Don't try to distribute COPYING.AFL-2.1 and COPYING.GPL-2, which we no longer have or need
2358 1 file changed, 2 deletions(-)
2360 commit 0a8b67e2d99ed36f30d6709277a40fdd2812953d
2361 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2362 Date: 2007-10-09 12:20:10 +0100
2364 Use MIT/X11 license as per permission given on the dbus mailing list.
2365 This affects code with copyright statements from the following individuals:
2370 and the following companies:
2371 * Collabora Ltd. (represented by me)
2372 * Red Hat Inc. (represented by Havoc Pennington)
2375 COPYING.AFL-2.1 | 197 ----------------------
2376 COPYING.GPL-2 | 342 --------------------------------------
2377 dbus/__init__.py | 30 ++--
2378 dbus/_dbus.py | 30 ++--
2379 dbus/_expat_introspect_parser.py | 30 ++--
2380 dbus/decorators.py | 30 ++--
2381 dbus/glib.py | 30 ++--
2382 dbus/mainloop/glib.py | 34 ++--
2383 dbus/proxies.py | 34 ++--
2384 dbus/service.py | 34 ++--
2385 test/run-test.sh | 20 +++
2386 test/run-with-tmp-session-bus.sh | 20 +++
2387 13 files changed, 186 insertions(+), 659 deletions(-)
2389 commit 5321d836844f3bc06a6d5796c9ca902e0bd6f4cc
2390 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2391 Date: 2007-10-09 12:07:57 +0100
2393 Make sure extensions are built before docs; get rid of strange inter-directory dependency
2395 Makefile.am | 7 +------
2396 1 file changed, 1 insertion(+), 6 deletions(-)
2398 commit 07b0486fa32ede65b5c05011d56f2ee0694a5176
2399 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2400 Date: 2007-10-09 11:43:05 +0100
2402 Use non-recursive make for dbus/ to work around types.py clash with top-level types module (fd.o #12741)
2404 Makefile.am | 36 ++++++++++++++++++++++++++++++------
2405 dbus/Makefile.am | 28 ----------------------------
2406 2 files changed, 30 insertions(+), 34 deletions(-)
2408 commit 64eeafbf7a167dd116aeabbcf78ebc257f551e1b
2409 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2410 Date: 2007-10-09 11:42:00 +0100
2412 test/: add some missing copyright headers
2414 test/dbus_py_test.c | 25 ++++++++++++++++++++++++-
2415 test/run-test.sh | 3 +++
2416 test/run-with-tmp-session-bus.sh | 4 ++++
2417 3 files changed, 31 insertions(+), 1 deletion(-)
2419 commit 5295a01631b2a02f948d22417de997a3200a2cee
2420 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2421 Date: 2007-09-28 11:49:28 +0100
2423 License examples under MIT/X11.
2424 According to history of dbus-core before the bindings split, the examples were
2425 written by Red Hat employees, so we should be OK to relicense them; and it's
2426 good to have copyright headers.
2428 examples/example-async-client.py | 23 +++++++++++++++++++++++
2429 examples/example-client.py | 23 +++++++++++++++++++++++
2430 examples/example-service.py | 23 +++++++++++++++++++++++
2431 examples/example-signal-emitter.py | 23 +++++++++++++++++++++++
2432 examples/example-signal-recipient.py | 23 +++++++++++++++++++++++
2433 examples/gconf-proxy-client.py | 23 +++++++++++++++++++++++
2434 examples/gconf-proxy-service2.py | 24 ++++++++++++++++++++++++
2435 examples/list-system-services.py | 23 +++++++++++++++++++++++
2436 8 files changed, 185 insertions(+)
2438 commit c658f7804cf892c2c45548dc9283c06ce7249925
2439 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2440 Date: 2007-09-28 11:28:26 +0100
2442 Use MIT/X11 license for code owned by Collabora and Red Hat only, as per Havoc's permission
2443 (Message-ID: <815098350709271800k2505485dlef9414609d392b48@mail.gmail.com>)
2445 test/dbus_python_check.py | 21 +++++++++++++++++++++
2446 test/test-client.py | 33 ++++++++++++++++++---------------
2447 test/test-p2p.py | 32 ++++++++++++++++++--------------
2448 test/test-service.py | 32 ++++++++++++++++++--------------
2449 test/test-signals.py | 33 ++++++++++++++++++---------------
2450 5 files changed, 93 insertions(+), 58 deletions(-)
2452 commit a6c85a634286fe6ddfb0d15c40a475acf4bd214c
2453 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2454 Date: 2007-09-27 19:05:06 +0100
2456 Unset dbus_python_released following release
2459 1 file changed, 1 insertion(+), 1 deletion(-)
2461 commit 137f8e8bbfcd1bef30efe8aec4923c407da180eb
2462 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2463 Date: 2007-09-27 18:36:07 +0100
2468 configure.ac | 4 ++--
2469 2 files changed, 3 insertions(+), 3 deletions(-)
2471 commit a5d922d9605ae3c1540cd232cb754a9dc5dc7812
2472 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2473 Date: 2007-09-27 18:31:20 +0100
2475 Don't try to distribute COPYING.LGPL-2.1 - no longer exists
2477 Makefile.am | 9 +++++++--
2478 1 file changed, 7 insertions(+), 2 deletions(-)
2480 commit dfa86e6e601be2ebef25ad99056929ff30e1cac9
2481 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2482 Date: 2007-09-27 18:24:58 +0100
2484 Fix NEWS indentation
2487 1 file changed, 1 insertion(+)
2489 commit 4e39a3c08aef2b502e9d330b372b7ab96fac6881
2490 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2491 Date: 2007-09-27 18:21:16 +0100
2493 Mention relicensing in NEWS
2496 1 file changed, 5 insertions(+)
2498 commit 2afba7e53cf65fccfd15c87852e791845cff8467
2499 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2500 Date: 2007-09-27 18:19:16 +0100
2502 Update NEWS, and add regression tests for fd.o #12096 and #12403
2504 NEWS | 11 +++++++++++
2505 test/test-client.py | 15 +++++++++++++++
2506 test/test-service.py | 8 ++++++++
2507 3 files changed, 34 insertions(+)
2509 commit cb1ffaea799249d6c2dcc9452f758f57392f55e7
2510 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2511 Date: 2007-09-27 18:14:11 +0100
2513 fd.o #12432: fix documentation for remove_from_connection
2515 dbus/service.py | 4 ----
2516 1 file changed, 4 deletions(-)
2518 commit 05460fdecf77c56640c332d290a5950884f26769
2519 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2520 Date: 2007-09-27 18:13:42 +0100
2522 dbus.exceptions.DBusException: allow setting _dbus_error_name in subclasses
2524 dbus/exceptions.py | 4 +++-
2525 1 file changed, 3 insertions(+), 1 deletion(-)
2527 commit 79b4ea50399db59fa8459badf33918764677248d
2528 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2529 Date: 2007-09-27 17:57:15 +0100
2531 Don't raise KeyError when closing private dbus.Bus. (fd.o #12096)
2532 Also deprecate private dbus.Bus in favour of dbus.bus.BusConnection - the only
2533 things you gain from using dbus.Bus are the shared-instance behaviour and some
2534 strange more-than-one-way-to-do-it APIs.
2536 dbus/_dbus.py | 11 ++++-------
2537 1 file changed, 4 insertions(+), 7 deletions(-)
2539 commit d8c154284ca464f493c81a4d3b5a37890d68acec
2540 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2541 Date: 2007-09-27 13:57:49 +0100
2543 Relicense Collabora code under the MIT/X11 license proposed for dbus core, removing all references to the LGPL as a result
2546 COPYING.LGPL-2.1 | 510 -------------------------------
2547 _dbus_bindings/abstract.c | 33 +-
2548 _dbus_bindings/bus.c | 33 +-
2549 _dbus_bindings/bytes.c | 33 +-
2550 _dbus_bindings/conn-internal.h | 30 +-
2551 _dbus_bindings/conn-methods.c | 31 +-
2552 _dbus_bindings/conn.c | 31 +-
2553 _dbus_bindings/containers.c | 33 +-
2554 _dbus_bindings/dbus_bindings-internal.h | 31 +-
2555 _dbus_bindings/debug.c | 33 +-
2556 _dbus_bindings/exceptions.c | 33 +-
2557 _dbus_bindings/float.c | 33 +-
2558 _dbus_bindings/generic.c | 33 +-
2559 _dbus_bindings/int.c | 33 +-
2560 _dbus_bindings/mainloop.c | 33 +-
2561 _dbus_bindings/message-append.c | 33 +-
2562 _dbus_bindings/message-get-args.c | 33 +-
2563 _dbus_bindings/message-internal.h | 33 +-
2564 _dbus_bindings/message.c | 33 +-
2565 _dbus_bindings/module.c | 33 +-
2566 _dbus_bindings/pending-call.c | 33 +-
2567 _dbus_bindings/signature.c | 33 +-
2568 _dbus_bindings/string.c | 33 +-
2569 _dbus_bindings/types-internal.h | 33 +-
2570 _dbus_bindings/validation.c | 31 +-
2571 _dbus_glib_bindings/module.c | 33 +-
2573 dbus/connection.py | 30 +-
2574 dbus/exceptions.py | 22 ++
2575 dbus/gobject_service.py | 30 +-
2576 dbus/lowlevel.py | 30 +-
2577 dbus/mainloop/__init__.py | 30 +-
2578 doc/tutorial.txt | 34 ++-
2579 include/dbus-python.h | 33 +-
2580 test/cross-test-client.py | 30 +-
2581 test/cross-test-server.py | 30 +-
2582 test/crosstest.py | 30 +-
2583 test/test-standalone.py | 32 +-
2584 test/test-unusable-main-loop.py | 22 ++
2585 40 files changed, 707 insertions(+), 1036 deletions(-)
2587 commit 003204b6a58faad7bc937ba029a99204cfa417e1
2588 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2589 Date: 2007-09-27 13:56:01 +0100
2591 dbus.service: Don't assume that exceptions passed to asynchronous callbacks are the same as the pending exception
2592 (fd.o #12403, https://dev.laptop.org/ticket/3370)
2594 dbus/service.py | 11 ++++++++++-
2595 1 file changed, 10 insertions(+), 1 deletion(-)
2597 commit 7028d177352b18efa3cc567f6753e1dbdab8f025
2598 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2599 Date: 2007-08-06 14:27:01 +0100
2604 1 file changed, 4 insertions(+)
2606 commit 050bf4a893e24061c3de35eb24c05d3d1002ed28
2607 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2608 Date: 2007-08-06 14:26:21 +0100
2610 Makefile.am, test/Makefile.am: Use @abs_top_builddir@, @abs_top_srcdir@
2611 This fixes incorrect Python path for docs and tests if doing an out-of-tree
2612 build using an absolute path for $(srcdir), and is also less ugly.
2614 Makefile.am | 6 ++++--
2615 test/Makefile.am | 10 ++++++----
2616 2 files changed, 10 insertions(+), 6 deletions(-)
2618 commit 33773b778911c890d76c38b13f0fdb39df237d9e
2619 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2620 Date: 2007-08-01 21:37:50 +0100
2622 Unset dbus_python_released
2626 2 files changed, 4 insertions(+), 1 deletion(-)
2628 commit af16daa9ff5d7217f361d68ce2bfe405f2cbd412
2629 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2630 Date: 2007-08-01 21:37:02 +0100
2635 configure.ac | 4 ++--
2636 2 files changed, 3 insertions(+), 3 deletions(-)
2638 commit f27c16490c23df1b7700904ea20232ef3e4097ae
2639 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2640 Date: 2007-08-01 20:00:37 +0100
2642 Mention in NEWS that API docs are generated by default
2645 1 file changed, 3 insertions(+)
2647 commit 44471aab0502cfccef6a4fb63f01feeb6bf8732e
2648 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2649 Date: 2007-08-01 19:59:19 +0100
2651 Reorganise README to reflect that API docs are generated by default
2653 README | 31 +++++++++++--------------------
2654 1 file changed, 11 insertions(+), 20 deletions(-)
2656 commit d3208ff19c3b61ae006403a9096c7a7ac09d4f5f
2657 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2658 Date: 2007-08-01 19:58:59 +0100
2660 Mention incompatibility with 0.82.1 more prominently
2662 NEWS | 18 ++++++++++++------
2663 1 file changed, 12 insertions(+), 6 deletions(-)
2665 commit 8a27b1d1164c6c63467d79c497330fefd7c6de6e
2666 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2667 Date: 2007-08-01 19:27:30 +0100
2669 Check for epydoc version >= 3, and default to building API docs if available
2671 configure.ac | 17 +++++++++++++++--
2672 1 file changed, 15 insertions(+), 2 deletions(-)
2674 commit 44f7d60ff7ea038c2e314f05f1ccbc3a76f258d5
2675 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2676 Date: 2007-08-01 19:15:45 +0100
2678 Update NEWS to mention #11623 fix
2680 NEWS | 10 ++++++++++
2681 1 file changed, 10 insertions(+)
2683 commit 5e6fa32bf95a0d17fe5ce6a4ecdcae5dd3f967d5
2684 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2685 Date: 2007-08-01 19:10:37 +0100
2687 Add rel_path_keyword to @method (fd.o #11623)
2689 dbus/decorators.py | 18 +++++++++++++++++-
2690 dbus/service.py | 25 ++++++++++++++++++++++++-
2691 test/test-client.py | 23 +++++++++++++++++++----
2692 test/test-service.py | 15 ++++++++-------
2693 4 files changed, 68 insertions(+), 13 deletions(-)
2695 commit 65680613473b7ca39f68d25010b6b17eda841f6a
2696 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2697 Date: 2007-08-01 19:08:48 +0100
2699 Avoid deprecated API in cross-test
2701 test/cross-test-client.py | 5 ++---
2702 test/cross-test-server.py | 14 ++++++++------
2703 2 files changed, 10 insertions(+), 9 deletions(-)
2705 commit cea890e5e98e1846c47b220b69ae00e843c695a1
2706 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2707 Date: 2007-08-01 18:36:37 +0100
2712 1 file changed, 3 insertions(+)
2714 commit 159319390404ed58406dba5a42d931740660af78
2715 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2716 Date: 2007-08-01 18:34:38 +0100
2718 Fix introspection on objects with more than one connection or more than one object path (bugs.fd.o #11794)
2720 dbus/service.py | 12 ++++++------
2721 test/test-client.py | 11 +++++++++++
2722 test/test-service.py | 8 ++++++++
2723 3 files changed, 25 insertions(+), 6 deletions(-)
2725 commit 5aef31b429ac0c14312265e166aeeeda91b3f8ac
2726 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2727 Date: 2007-07-31 19:01:11 +0100
2729 NEWS: mention the solved build problems related to python-config
2732 1 file changed, 4 insertions(+)
2734 commit e821e102b2fa3baff4de719411b03385132dd0f4
2735 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2736 Date: 2007-07-31 18:49:43 +0100
2738 Re-fix checking for Python include paths. Use $PYTHON-config like in 0.82.1 if we can, use the hard-coded logic from versions prior to 0.82.0 if we can't.
2740 m4/am-check-python-headers.m4 | 27 +++++++++++++++++++--------
2741 1 file changed, 19 insertions(+), 8 deletions(-)
2743 commit f0291410ce950913593d5ae6c9fd4fabd5eaaa3f
2744 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2745 Date: 2007-07-31 18:04:16 +0100
2747 Complete the .m4 renaming
2749 m4/dbus-py-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
2750 m4/dbuspy-add-rst2htmlflag.m4 | 23 -----------------------
2751 2 files changed, 23 insertions(+), 23 deletions(-)
2753 commit 4764f07dfeee9a3baa90399f9f2a18d7d5175fd2
2754 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2755 Date: 2007-07-31 17:47:12 +0100
2757 Move dbus-py-add-rst2htmlflag.m4 to jh-add-cflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
2759 m4/dbus-py-add-rst2htmlflag.m4 | 20 --------------------
2760 m4/jh-add-cflag.m4 | 20 ++++++++++++++++++++
2761 2 files changed, 20 insertions(+), 20 deletions(-)
2763 commit 3396bcbacfaaa4c2ad4ad1e9d627be8ce14a6d77
2764 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2765 Date: 2007-07-31 17:46:42 +0100
2767 Move jh-add-cflag.m4 to dbuspy-add-rst2htmlflag.m4 - the contents of two of the .m4 files were the opposite of what they should be
2769 m4/dbuspy-add-rst2htmlflag.m4 | 23 +++++++++++++++++++++++
2770 m4/jh-add-cflag.m4 | 23 -----------------------
2771 2 files changed, 23 insertions(+), 23 deletions(-)
2773 commit a7b73b44ca3b86a0ccf0a58e2c1fdee205633657
2774 Author: Simon McVittie <smcv@carbon.pseudorandom.co.uk>
2775 Date: 2007-07-31 17:40:20 +0100
2777 Revert "Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282)."
2779 Python < 2.5 didn't have python-config (although some distributions, e.g.
2780 Debian and Ubuntu, shipped it as an add-on). Even for 2.5, some distributions
2781 install it under gratuitously different names (hi, Gentoo). As a result,
2782 this patch needs replacing with one that doesn't rely on having python-config.
2784 This reverts commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9.
2786 m4/am-check-python-headers.m4 | 5 ++++-
2787 1 file changed, 4 insertions(+), 1 deletion(-)
2789 commit 66ebaa801a13be7403e6ec47de1f322ccf310346
2790 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2791 Date: 2007-07-31 13:01:04 +0100
2793 _dbus_bindings/mainloop.c: Remove Watch and Timeout.
2795 They were never used, and didn't make a great deal of sense. I now believe the
2796 right direction for pure-Python mainloop support is to define a Pythonic main
2797 loop abstraction and coerce libdbus to fit into it, rather than pretending
2798 the objects in libdbus' abstraction are Python objects.
2800 _dbus_bindings/mainloop.c | 357 ---------------------------------------------
2801 1 file changed, 357 deletions(-)
2803 commit 4856b6c485c430ac15d4a634b6958d5f6af89dfa
2804 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2805 Date: 2007-07-31 12:55:16 +0100
2807 NEWS: update with timeout fix
2809 NEWS | 13 +++++++++++++
2810 1 file changed, 13 insertions(+)
2812 commit 5ab6cdc200267095edd56645df536dac5d4dc986
2813 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2814 Date: 2007-07-31 12:38:02 +0100
2816 Measure async call timeout in seconds as intended, not in ms (blocking calls already used seconds). Add regression tests
2818 dbus/connection.py | 2 +-
2819 test/test-client.py | 40 ++++++++++++++++++++++++++++++++++++++++
2820 test/test-service.py | 13 +++++++++++++
2821 3 files changed, 54 insertions(+), 1 deletion(-)
2823 commit 70f802152547898f225a0a675789fb923a5ea410
2824 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2825 Date: 2007-07-26 17:04:44 +0100
2827 test-client: Avoid deprecated usage - explicitly pass SessionBus() to BusName ctor
2829 test/test-client.py | 2 +-
2830 1 file changed, 1 insertion(+), 1 deletion(-)
2832 commit f5eb61dce982d6c51a78f5bb745ebd632ef1ad70
2833 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2834 Date: 2007-07-18 21:26:10 +0100
2836 Try to avoid importing things from _dbus_bindings when they could be imported from public API
2838 dbus/_dbus.py | 6 ++----
2840 dbus/connection.py | 8 ++++----
2841 dbus/decorators.py | 16 ++++++++--------
2843 dbus/service.py | 28 ++++++++++++++--------------
2844 6 files changed, 29 insertions(+), 33 deletions(-)
2846 commit 4cab9350dda0b36446d7b2a935bd6451a38e67a2
2847 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2848 Date: 2007-07-12 16:26:05 +0100
2850 Bump version to 0.82.1.YYYYMMDD
2853 1 file changed, 1 insertion(+), 1 deletion(-)
2855 commit 07bb7f1de21c64ea1f19ff107910daa2a14ec4ba
2856 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2857 Date: 2007-07-12 13:13:13 +0100
2859 Avoid cpp directives inside macro calls, to be nice to old gcc versions
2861 _dbus_bindings/containers.c | 6 +-----
2862 _dbus_bindings/int.c | 14 --------------
2863 2 files changed, 1 insertion(+), 19 deletions(-)
2865 commit a94d9d68d17fd5284aa549187ac6fbb29c188efd
2866 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2867 Date: 2007-07-11 17:11:08 +0100
2869 NEWS, configure.ac: 0.82.1, the "double precision" release
2872 configure.ac | 4 ++--
2873 2 files changed, 4 insertions(+), 4 deletions(-)
2875 commit e94f1a9a3c4e9a7800e013dd61b06b5538c9b8ac
2876 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2877 Date: 2007-07-11 15:51:23 +0100
2879 Use PyArg_ParseTuple correctly, fixing the timeout in send_message_with_reply and send_message_with_reply_and_block.
2880 (bugs.fd.o #11489; thanks to Marco Pesenti Gritti for report and initial patch)
2883 _dbus_bindings/conn-methods.c | 4 ++--
2884 2 files changed, 5 insertions(+), 2 deletions(-)
2886 commit 9fc1958471a95249984e9556b7dab8838eb19844
2887 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2888 Date: 2007-07-03 19:54:06 +0100
2890 Unset dbus_python_released
2893 1 file changed, 1 insertion(+), 1 deletion(-)
2895 commit a2ee1a4bbdef1613c44be8131b9a89bf8c4543ba
2896 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2897 Date: 2007-06-29 17:54:02 +0100
2899 .gitignore: ignore patch(1) cruft, and detached signatures for the release tarballs
2902 1 file changed, 3 insertions(+)
2904 commit 439ceed581837381aa690b6a0b809a06470d167d
2905 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2906 Date: 2007-06-29 17:47:23 +0100
2910 NEWS | 23 +++++++++++++++++++++++
2911 1 file changed, 23 insertions(+)
2913 commit 1b91d2d408ea471af1e4641e7fb31b4534026a70
2914 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2915 Date: 2007-06-29 17:38:46 +0100
2917 dbus.proxies: If making a call with ignore_reply=True, don't block for introspection
2919 dbus/proxies.py | 3 ++-
2920 1 file changed, 2 insertions(+), 1 deletion(-)
2922 commit 06810eb34ed2cdc5f0def02b45680915b0e0b985
2923 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2924 Date: 2007-06-21 01:22:27 +0100
2926 dbus.service: use DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE
2928 dbus/service.py | 2 +-
2929 1 file changed, 1 insertion(+), 1 deletion(-)
2931 commit 9556649e48df344f6ec0010c4af00a076a751760
2932 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2933 Date: 2007-06-21 01:22:04 +0100
2935 Expose HANDLER_RESULT_HANDLED, HANDLER_RESULT_NOT_YET_HANDLED as public API in dbus.lowlevel
2937 dbus/lowlevel.py | 7 +++++--
2938 1 file changed, 5 insertions(+), 2 deletions(-)
2940 commit 0d4f60d771305572594fb2cfb502bf565230fa37
2941 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2942 Date: 2007-06-21 01:21:33 +0100
2944 Get stacklevel right on deprecation of not specifying bus in BusName.__init__
2946 dbus/service.py | 2 +-
2947 1 file changed, 1 insertion(+), 1 deletion(-)
2949 commit 11925e0a12989793926f82d2286cbb20ef7a179d
2950 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2951 Date: 2007-06-21 01:20:39 +0100
2953 _dbus_bindings: add DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE etc.
2955 _dbus_bindings/module.c | 9 +++++++++
2956 1 file changed, 9 insertions(+)
2958 commit d45d56a6ba455ee9b12af4d2c8c448392d74d1b4
2959 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2960 Date: 2007-06-21 01:19:39 +0100
2962 Avoid using deprecated dbus_watch_get_fd()
2964 _dbus_bindings/mainloop.c | 8 +++++++-
2965 configure.ac | 6 ++++++
2966 2 files changed, 13 insertions(+), 1 deletion(-)
2968 commit a2f7458105791f37be52e1de22b710968904b235
2969 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2970 Date: 2007-06-20 18:01:19 +0100
2972 dbus.service: Deprecate the omission of the `bus` argument in the BusName constructor.
2973 Explicit is better than implicit.
2975 dbus/service.py | 17 +++++++++++++----
2976 1 file changed, 13 insertions(+), 4 deletions(-)
2978 commit 39c996ac7439c5c9a61ddb0efc92bada491fa0e5
2979 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2980 Date: 2007-06-20 18:00:10 +0100
2982 Stop using interactive-Python syntax in tutorial to reduce user confusion.
2983 Closes bugs.fd.o #11209.
2985 doc/tutorial.txt | 45 +++++++++++++++++++--------------------------
2986 1 file changed, 19 insertions(+), 26 deletions(-)
2988 commit 9f2e2040c33b09196e438c818379290c9e41a4ca
2989 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2990 Date: 2007-06-19 18:05:00 +0100
2995 configure.ac | 6 +++---
2996 2 files changed, 4 insertions(+), 4 deletions(-)
2998 commit 343aaa190f8a1c7475e4565c50483abbc5914a75
2999 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3000 Date: 2007-06-19 13:59:23 +0100
3002 Improve API documentation markup, particularly adding :Since: annotations
3004 dbus/bus.py | 63 +++++++++++++++++++++++++++++++++++-----------------
3005 dbus/connection.py | 5 +++++
3006 dbus/decorators.py | 14 ++++++++++++
3007 dbus/proxies.py | 6 ++---
3008 dbus/service.py | 30 +++++++++++++++++++------
3009 5 files changed, 88 insertions(+), 30 deletions(-)
3011 commit e631446a0c3113260c380284fe1f71419d5a7edb
3012 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3013 Date: 2007-06-19 13:58:37 +0100
3015 Mark Bus.get_connection() as deprecated; improve Bus.__repr__
3017 dbus/_dbus.py | 18 ++++++++++--------
3018 1 file changed, 10 insertions(+), 8 deletions(-)
3020 commit 10c49fa072b4f28713cfc873444b902b0bbe021e
3021 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3022 Date: 2007-06-19 13:37:30 +0100
3024 Update NEWS with recent changes; next version should be 0.82.0 I think
3026 NEWS | 19 +++++++++++++++----
3027 1 file changed, 15 insertions(+), 4 deletions(-)
3029 commit 7c9d08d1ba7f5b0a9aa4a37118e56b1725cdaef9
3030 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3031 Date: 2007-06-19 13:22:31 +0100
3033 Use python-config to get Python cppflags (patch from Ubuntu, fd.o #11282).
3034 Thanks to Sebastien Bacher.
3036 m4/am-check-python-headers.m4 | 5 +----
3037 1 file changed, 1 insertion(+), 4 deletions(-)
3039 commit 543ebc088ffbef9a52de333d99361b47301571b3
3040 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3041 Date: 2007-06-18 16:31:20 +0100
3043 Implement fallback objects.
3044 In the process, simplify the signal decorator a bit - don't allow the signal
3045 to be emitted from a subset of interfaces (removing connection_keyword),
3046 deprecate path_keyword, disallow path_keyword on objects that support multiple
3047 object paths, and add rel_path_keyword. This is an API removal since previous
3048 patches, but is compatible with the last release.
3050 dbus/decorators.py | 115 +++++++++++++++++++++++++++++++-------------------
3051 dbus/service.py | 52 +++++++++++++++++++++--
3052 test/run-test.sh | 3 ++
3053 test/test-client.py | 22 ++++++++--
3054 test/test-service.py | 39 +++++++++++++++++
3055 test/test-signals.py | 28 ++++++++++--
3056 6 files changed, 205 insertions(+), 54 deletions(-)
3058 commit b62c9694c5f3e39ef00c08fee5754a91515bca54
3059 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3060 Date: 2007-06-15 19:03:03 +0100
3062 Unset dbus_python_released
3065 1 file changed, 1 insertion(+), 1 deletion(-)
3067 commit c5f1a34d6319e768f38f18817b09134849c74794
3068 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3069 Date: 2007-06-15 18:51:46 +0100
3073 NEWS | 29 +++++++++++++++++++++++++++++
3074 1 file changed, 29 insertions(+)
3076 commit b4a34bf6ac17fae4f0cc67f5b5082856f0aa7283
3077 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3078 Date: 2007-06-14 11:05:39 +0100
3080 doc/tutorial.txt: @service and @method take dbus_interface=..., not interface=...
3082 doc/tutorial.txt | 8 ++++----
3083 1 file changed, 4 insertions(+), 4 deletions(-)
3085 commit dbfb6d7b676d22dc98c3ef88071a9deeffa79648
3086 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3087 Date: 2007-06-12 14:27:39 +0100
3089 dbus.bus: In watch_name_owner, only watch the desired name!
3092 1 file changed, 2 insertions(+), 1 deletion(-)
3094 commit 5b408fd8501d79f87bd752f9ce483f5beb6f157b
3095 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3096 Date: 2007-06-11 18:10:16 +0100
3098 dbus.bus: Ignore any errors while cleaning up signal matches, so we can make the call asynchronously
3101 1 file changed, 1 insertion(+), 1 deletion(-)
3103 commit 7f2e0bfe0c205af512af716f4fcb7b8508269eb7
3104 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3105 Date: 2007-06-11 14:51:59 +0100
3107 dbus.service: Allow objects to start off unexported, and become exported later.
3108 Also allow them to be exported on more than one object path or even connection.
3109 dbus.decorators: Allow connection_keyword on signals and methods, so we can
3110 tell which connection to use for any follow-up actions.
3112 dbus/decorators.py | 81 +++++++++++++------
3113 dbus/service.py | 209 ++++++++++++++++++++++++++++++++++++++++++--------
3114 test/test-service.py | 8 +-
3115 3 files changed, 239 insertions(+), 59 deletions(-)
3117 commit cc6ea2758794601e2747ad9deccf7c8e887b0100
3118 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3119 Date: 2007-06-07 20:11:57 +0100
3121 dbus.bus: when a unique name goes away, disconnect all signal handlers.
3122 Unique names are not recycled, so no more signals can arrive for that name.
3124 dbus/bus.py | 19 ++++++++++---------
3125 1 file changed, 10 insertions(+), 9 deletions(-)
3127 commit c2773de718d0cbcac27a60d2fc56063499eeef0e
3128 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3129 Date: 2007-06-04 14:47:15 +0100
3131 Update date in NEWS for 0.81.1 release
3134 1 file changed, 2 insertions(+), 2 deletions(-)
3136 commit 8d5f51a95f04ddc524e8790a00635082c851b4a1
3137 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3138 Date: 2007-06-04 14:19:21 +0100
3142 configure.ac | 4 ++--
3143 1 file changed, 2 insertions(+), 2 deletions(-)
3145 commit 382b890175ecef7818ce07d8d36cdaab138032df
3146 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3147 Date: 2007-06-04 12:26:15 +0100
3152 1 file changed, 2 insertions(+), 2 deletions(-)
3154 commit f1c2dcd0f7b9d177877aafed95fe64343862c1cf
3155 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3156 Date: 2007-06-04 12:24:58 +0100
3158 dbus.service: change unexport() to remove_from_connection() at J5's request
3160 dbus/service.py | 14 ++++++++------
3161 test/test-client.py | 2 +-
3162 test/test-service.py | 2 +-
3163 3 files changed, 10 insertions(+), 8 deletions(-)
3165 commit a370850a68659a771690c2dac7148e371b6c9b51
3166 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3167 Date: 2007-06-04 12:10:53 +0100
3169 dbus-python.pc.in: Use -I${includedir} to allow libdbus and dbus-python to be in different ${prefix}es
3170 Patch from Phil Thompson at Riverbank Computing Ltd.
3172 dbus-python.pc.in | 1 +
3173 1 file changed, 1 insertion(+)
3175 commit cf4afc9ccf1408f0f0fde2a01e2dd68ba59de1f9
3176 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3177 Date: 2007-05-30 15:52:36 +0100
3179 NEWS: Describe the fix for #10457
3182 1 file changed, 3 insertions(+)
3184 commit c87b55c6ab30542d5d17f2e2041e4c87b3df712d
3185 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3186 Date: 2007-05-30 15:19:46 +0100
3188 dbus.service: Make it possible to unexport objects (fd.o#10457)
3190 dbus/service.py | 33 ++++++++++++++++++++++++++++++++-
3191 test/test-client.py | 20 ++++++++++++++++++++
3192 test/test-service.py | 34 +++++++++++++++++++++++++++++++---
3193 3 files changed, 83 insertions(+), 4 deletions(-)
3195 commit 030b68b4e6d64dc25904618852917839892de1be
3196 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3197 Date: 2007-05-29 15:33:44 +0100
3199 NEWS: mention list_exported_child_objects() and its use in introspection
3202 1 file changed, 4 insertions(+)
3204 commit 5618e6182ded0d1861a9fcb5a26440e4454801f6
3205 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3206 Date: 2007-05-29 15:33:18 +0100
3208 dbus.service: include child nodes in introspection
3210 dbus/service.py | 4 ++++
3211 1 file changed, 4 insertions(+)
3213 commit 26288ab181eb2452fad7fd94c9bc00c817b4137d
3214 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3215 Date: 2007-05-29 15:32:01 +0100
3217 _dbus_bindings/conn-methods.c: add list_exported_child_objects().
3218 This is equivalent to dbus_connection_list_registered() in libdbus.
3220 _dbus_bindings/conn-methods.c | 62 +++++++++++++++++++++++++++++++++++++++++
3221 test/test-client.py | 3 ++
3222 test/test-service.py | 8 ++++++
3223 3 files changed, 73 insertions(+)
3225 commit f0947ab721499d5202cdbfcaad6fac7d781b5666
3226 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3227 Date: 2007-05-28 19:47:25 +0100
3229 NEWS: mention the fix for Debian#426412
3232 1 file changed, 5 insertions(+)
3234 commit ffb1d3310d97bc4d86a09604649f334e3367816f
3235 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3236 Date: 2007-05-28 19:45:59 +0100
3238 dbus.connection: Release signals lock before calling _clean_up_signal_match().
3239 This prevents a deadlock when a signal match that's tracking name owner
3240 changes is removed, causing a match on NameOwnerChanged to be removed too.
3243 Also move more of the tree manipulation inside the lock, to be nice to
3244 anyone attempting a port to implementations without a GIL (mainly IronPython),
3245 and add a regression test for the above bug.
3248 dbus/connection.py | 45 +++++++++++++++++++++++++--------------------
3249 test/test-client.py | 2 ++
3250 test/test-signals.py | 34 ++++++++++++++++++++++++----------
3251 4 files changed, 52 insertions(+), 31 deletions(-)
3253 commit 03bcbff71d4bf112441dfd53300328c70d3a512c
3254 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3255 Date: 2007-05-21 13:18:18 +0100
3257 dbus.bus: detect NameHasNoOwner correctly, using new get_dbus_name() method
3259 dbus/bus.py | 12 ++++++------
3260 1 file changed, 6 insertions(+), 6 deletions(-)
3262 commit 09e138af65710b11363e0852711171c3a9f8ef00
3263 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3264 Date: 2007-05-21 13:15:48 +0100
3266 NEWS: Describe new DBusException 'args' support
3269 1 file changed, 3 insertions(+)
3271 commit c68cc723a95f6a4716d61b4ae455e3f8382347e3
3272 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3273 Date: 2007-05-21 13:10:09 +0100
3275 Describe DBusException.get_dbus_name() in NEWS
3277 NEWS | 11 +++++++++++
3278 1 file changed, 11 insertions(+)
3280 commit 000536a6b707fe3b28f7afd5360058d48e281688
3281 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3282 Date: 2007-05-17 12:41:05 +0100
3284 dbus.proxies: Log more informatively when introspection fails, and use logging rather than just stderr
3286 dbus/proxies.py | 7 ++++++-
3287 1 file changed, 6 insertions(+), 1 deletion(-)
3289 commit b052211a63cf833ac394ca529c344c288e921401
3290 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3291 Date: 2007-05-16 11:05:29 +0100
3293 Implement DBusException in pure Python; add get_dbus_name() method and name= keyword argument
3295 _dbus_bindings/bus.c | 5 +-
3296 _dbus_bindings/conn-methods.c | 6 +-
3297 _dbus_bindings/dbus_bindings-internal.h | 2 +-
3298 _dbus_bindings/exceptions.c | 99 ++++++++++++++++++-------------
3299 _dbus_bindings/message.c | 6 +-
3300 _dbus_bindings/module.c | 2 -
3301 dbus/__init__.py | 7 +--
3302 dbus/_dbus.py | 3 +-
3304 dbus/connection.py | 11 ++--
3305 dbus/dbus_bindings.py | 2 +-
3306 dbus/decorators.py | 2 +
3307 dbus/exceptions.py | 22 +++++--
3308 dbus/service.py | 11 ++--
3309 14 files changed, 105 insertions(+), 75 deletions(-)
3311 commit df88e33eb69ef1528f76d06429d451b8274bd69b
3312 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3313 Date: 2007-05-16 11:03:34 +0100
3315 configure.ac: Reset released flag to 0
3318 1 file changed, 1 insertion(+), 1 deletion(-)
3320 commit 523e63fcef2c3391e94ded7959abdba739a52354
3321 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3322 Date: 2007-05-09 10:13:02 +0100
3324 Update NEWS for 0.81.0
3326 NEWS | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3327 1 file changed, 85 insertions(+)
3329 commit fac67418d9bc51b75f39b108c3e5f0bd9d7e6a98
3330 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3331 Date: 2007-05-09 10:03:06 +0100
3333 Increment version to 0.81.0
3335 configure.ac | 6 +++---
3336 1 file changed, 3 insertions(+), 3 deletions(-)
3338 commit 756d092e3bb346dbf791af32f31c0efe520573d1
3339 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3340 Date: 2007-05-09 10:02:33 +0100
3342 Don't run the examples during "make check" - timing/startup issues cause intermittent failures
3344 test/run-test.sh | 24 ++++++++++++------------
3345 1 file changed, 12 insertions(+), 12 deletions(-)
3347 commit 32c4636888e03025b5f01167cea6530a8fb1ce53
3348 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3349 Date: 2007-05-09 09:56:51 +0100
3351 Generate ChangeLog during make dist rather than during make.
3352 Commit a dummy ChangeLog so the autotools won't fail in git checkouts.
3356 Makefile.am | 9 +++++----
3357 3 files changed, 7 insertions(+), 5 deletions(-)
3359 commit 46d28550bbe03ccf9853f072743d879ae7d621ff
3360 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3361 Date: 2007-05-07 15:53:59 +0100
3363 dbus/gobject_service.py: Make ExportedGObject __init__ accept GObject properties
3365 dbus/gobject_service.py | 25 +++++++++++++++++++++++--
3366 1 file changed, 23 insertions(+), 2 deletions(-)
3368 commit 863cec2464edd80fcf7fbdf62cf1c89ecab647d0
3369 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3370 Date: 2007-05-04 19:51:50 +0100
3372 Create doc directory before writing HTML into it
3374 Makefile.am | 5 +++--
3375 1 file changed, 3 insertions(+), 2 deletions(-)
3377 commit 727fa4079d91f8dd1b301e21d3e4279c202a9739
3378 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3379 Date: 2007-05-04 19:44:18 +0100
3381 doc/tutorial.txt: Don't claim we have a tutorial for p2p connections yet
3383 doc/tutorial.txt | 3 ++-
3384 1 file changed, 2 insertions(+), 1 deletion(-)
3386 commit 3033d92876dc094d5f86404bdf997af9b3bb3a82
3387 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3388 Date: 2007-05-04 19:43:14 +0100
3390 Update tutorial to describe add_signal_receiver before connect_to_signal.
3391 Also remove old ./configure substitutions and update to avoid deprecated API.
3393 doc/tutorial.txt | 100 ++++++++++++++++++++++++++++++------------------------
3394 1 file changed, 56 insertions(+), 44 deletions(-)
3396 commit f1d118f3d8c7dee8f5611cba2786a77e3b3cdaf1
3397 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3398 Date: 2007-05-04 19:41:59 +0100
3400 Stop tutorial.txt being generated by ./configure - not worthwhile just for a version number
3404 doc/tutorial.txt | 667 +++++++++++++++++++++++++++++++++++++++++++++++++++
3405 doc/tutorial.txt.in | 667 ---------------------------------------------------
3406 4 files changed, 667 insertions(+), 669 deletions(-)
3408 commit 0432c5256bad3fbdf10240b7ef76cea181c9f8b7
3409 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3410 Date: 2007-05-04 19:39:54 +0100
3412 dbus/service.py: Before emitting an error, configure logging to write to stderr, unless already configured
3414 dbus/service.py | 1 +
3415 1 file changed, 1 insertion(+)
3417 commit 24bee8cea054fa21d3229c97d75b2c08f273d9d9
3418 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3419 Date: 2007-05-04 19:39:16 +0100
3421 Remove contents of TODO: the peer-to-peer Connection now exists and the string change has been rejected
3424 1 file changed, 8 deletions(-)
3426 commit ed2ace3161337789924e03f559603dccfa40c56e
3427 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3428 Date: 2007-05-04 17:09:57 +0100
3430 dbus/service.py: Don't use deprecated get_connection() in Object constructor.
3431 The Connection and BusConnection base classes don't have it, and we can now
3432 export Objects on a plain Connection.
3434 dbus/service.py | 4 +---
3435 1 file changed, 1 insertion(+), 3 deletions(-)
3437 commit 774e133d2cdc1a0fda2bd14d2354a9da2deece88
3438 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3439 Date: 2007-05-03 13:20:59 +0100
3441 Deprecate all arguments called named_service; use bus_name instead
3443 dbus/bus.py | 49 +++++++++++++++++++++++++++++---------
3444 dbus/connection.py | 61 ++++++++++++++++++++++++++++++++++++++++--------
3445 dbus/proxies.py | 66 ++++++++++++++++++++++++++++++++++++++--------------
3446 3 files changed, 137 insertions(+), 39 deletions(-)
3448 commit 040adaef5646823dfb9247247104cb678cecacad
3449 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3450 Date: 2007-05-03 13:19:12 +0100
3452 examples/list-system-services.py: Make more exemplary
3454 examples/list-system-services.py | 14 +++++++++-----
3455 1 file changed, 9 insertions(+), 5 deletions(-)
3457 commit e6d5bb0209c9cba4d42f12a448bd708a2cabaa9f
3458 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3459 Date: 2007-05-03 12:11:31 +0100
3461 dbus/gobject_service.py: Make ExportedGObject work correctly.
3462 Also add a simple unit test for it.
3464 dbus/Makefile.am | 1 +
3465 dbus/gobject_service.py | 13 +++++++++++--
3466 test/test-client.py | 10 ++++++++++
3467 test/test-service.py | 11 +++++++++++
3468 4 files changed, 33 insertions(+), 2 deletions(-)
3470 commit 717837a91498f9f928a0affbfa39d8cd68de5ca1
3471 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3472 Date: 2007-05-01 13:26:51 +0100
3474 Simplify dbus_bindings backwards compatibility glue
3476 dbus/_dbus.py | 26 ++++----------------------
3477 dbus/dbus_bindings.py | 13 ++++++++++++-
3478 dbus_bindings.py | 4 ----
3479 3 files changed, 16 insertions(+), 27 deletions(-)
3481 commit 77566373b89e721e468f411507821ee8a5273fff
3482 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3483 Date: 2007-05-01 12:18:50 +0100
3485 dbus/bus.py: Add watch_name_owner().
3486 Use it to avoid a race in signal name matching.
3487 Also change SignalMatch API from sender_unique being a public attribute to
3488 having a method set_sender_name_owner(), and make it hashable so we can
3489 use it to look up associated signal-sender matches in a dict.
3491 dbus/bus.py | 94 +++++++++++++++++++++++++++++++---------------------
3492 dbus/connection.py | 54 +++++++++++++++++++-----------
3493 2 files changed, 92 insertions(+), 56 deletions(-)
3495 commit 77f19ef18864f3468b7373bd75461aad3239fe52
3496 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3497 Date: 2007-04-30 13:38:50 +0100
3499 test/test-p2p.py: Added. Test "peer-to-peer" connections.
3500 (Actually tested by connecting to the bus daemon, because I haven't implemented
3501 a Python binding for DBusServer yet.)
3503 test/Makefile.am | 1 +
3504 test/run-test.sh | 3 ++
3505 test/test-p2p.py | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
3506 3 files changed, 95 insertions(+)
3508 commit a5905b31f82b898eaa3f80a907ea636e1e3d71eb
3509 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3510 Date: 2007-04-30 13:33:11 +0100
3512 dbus/connection.py: comments
3514 dbus/connection.py | 6 ++++++
3515 1 file changed, 6 insertions(+)
3517 commit c38536726dfced572da01604909888f1f78a0492
3518 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3519 Date: 2007-04-30 13:32:52 +0100
3521 dbus/bus.py: correct name of logger
3523 dbus/bus.py | 4 ++--
3524 1 file changed, 2 insertions(+), 2 deletions(-)
3526 commit e96509a88425c0f48c203fbfff100cde901adc7c
3527 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3528 Date: 2007-04-30 13:15:28 +0100
3530 Move signal matching machinery into superclasses
3532 dbus/_dbus.py | 412 +---------------------------------------------------
3533 dbus/bus.py | 90 +++++++++++-
3534 dbus/connection.py | 387 ++++++++++++++++++++++++++++++++++++++++++++++--
3535 3 files changed, 464 insertions(+), 425 deletions(-)
3537 commit 494191632d27aa60c6f7c8fbcb1b595f8ff0253e
3538 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3539 Date: 2007-04-30 12:55:21 +0100
3541 tools/check-coding-style.mk: Work correctly with out-of-tree builds
3543 tools/check-coding-style.mk | 1 +
3544 1 file changed, 1 insertion(+)
3546 commit 060ffcc1d3f3296c679b4e91c1ed070b2e0205f9
3547 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3548 Date: 2007-04-30 12:36:37 +0100
3550 Move get_object, constants into Connection and BusConnection. Add docstrings
3552 dbus/_dbus.py | 64 ++++++----------------------------------------------
3553 dbus/bus.py | 60 +++++++++++++++++++++++++++++++++++++++++++++---
3554 dbus/connection.py | 30 ++++++++++++++++++++++++
3555 3 files changed, 94 insertions(+), 60 deletions(-)
3557 commit dff13840b106cf08a8227379e9bb82e654442e1d
3558 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3559 Date: 2007-04-30 11:56:42 +0100
3561 Convert _BusDaemonMixin and _MethodCallMixin into base classes BusConnection and Connection.
3562 Also add method activate_name_owner() for proxies to use (so they don't need
3563 to be aware of whether the connection is a bus daemon or not), and stop using
3564 deprecated get_connection method.
3566 dbus/_dbus.py | 8 +++-----
3567 dbus/bus.py | 22 +++++++++++++++++++---
3568 dbus/connection.py | 23 +++++++++++++++++------
3569 dbus/proxies.py | 21 +++------------------
3570 4 files changed, 42 insertions(+), 32 deletions(-)
3572 commit 338b87fcc4010fe92b3f16ebbbf5955eab825dd7
3573 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3574 Date: 2007-04-30 11:43:26 +0100
3576 dbus/service.py: Use public API for dbus.SessionBus, since we cause an import anyway
3578 dbus/service.py | 4 ++--
3579 1 file changed, 2 insertions(+), 2 deletions(-)
3581 commit 2eb946f58e132706683890a8b961423e16998efe
3582 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3583 Date: 2007-04-30 11:41:44 +0100
3585 dbus/_dbus.py: in SignalMatch, use get_name_owner()
3587 dbus/_dbus.py | 2 +-
3588 1 file changed, 1 insertion(+), 1 deletion(-)
3590 commit 26cccef4d8e049613b4b815bf9b9bd5ac86dc087
3591 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3592 Date: 2007-04-30 11:39:57 +0100
3594 dbus/_bus_mixin.py: Add bindings for ListNames, ListActivatableNames, GetNameOwner too
3596 dbus/bus.py | 29 +++++++++++++++++++++++++++++
3597 test/test-client.py | 24 ++++++++++++++++++++++--
3598 2 files changed, 51 insertions(+), 2 deletions(-)
3600 commit f75c1a0c7f7f4365f1265c6ede0c9465e50466ff
3601 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3602 Date: 2007-04-30 11:38:32 +0100
3604 dbus/_dbus.py: import constants from _dbus_bindings; use "from...import"
3606 dbus/_dbus.py | 58 +++++++++++++++++++++++++++++++--------------------------
3607 1 file changed, 32 insertions(+), 26 deletions(-)
3609 commit 1d4594e2463e00def64dd10a71101a4a45e63553
3610 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3611 Date: 2007-04-30 11:35:54 +0100
3613 dbus/connection.py: Import constants from _dbus_bindings; check for reserved local interface as well as path
3615 dbus/connection.py | 13 +++++++------
3616 1 file changed, 7 insertions(+), 6 deletions(-)
3618 commit 02d302ce90b136991de60015285ff7a39ff54375
3619 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3620 Date: 2007-04-30 11:34:33 +0100
3622 dbus/bus.py: get BUS_DAEMON_NAME etc. from _dbus_bindings
3624 dbus/bus.py | 7 ++-----
3625 1 file changed, 2 insertions(+), 5 deletions(-)
3627 commit 84beab96c9b9a1270e82e670aa3dca3f208b728f
3628 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3629 Date: 2007-04-30 11:33:31 +0100
3631 dbus/proxies.py: get INTROSPECTABLE_IFACE from _dbus_bindings
3633 dbus/proxies.py | 5 ++---
3634 1 file changed, 2 insertions(+), 3 deletions(-)
3636 commit 3c62924718ff00839843cecaae09598e36199f79
3637 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3638 Date: 2007-04-30 11:31:22 +0100
3640 Move the client method-call machinery from dbus.proxies to dbus.connection._MethodCallMixin.
3641 This makes proxy methods much simpler, and allows the _BusDaemonMixin to bypass
3642 the proxies module completely (since the signatures are already known, so
3643 we don't need to introspect anything).
3645 dbus/Makefile.am | 1 +
3646 dbus/_dbus.py | 7 ++-
3647 dbus/bus.py | 76 +++++++++++--------------
3648 dbus/connection.py | 139 +++++++++++++++++++++++++++++++++++++++++++++
3649 dbus/proxies.py | 161 +++++++++++++++++++++-------------------------------
3650 5 files changed, 241 insertions(+), 143 deletions(-)
3652 commit e40ec8e4f29d104b66d78b183300e6bf134c2714
3653 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3654 Date: 2007-04-30 11:23:58 +0100
3656 Remove BusImplementation, removing its remaining functionality to Connection.
3657 * Move get_unique_name to Connection (it can be useful for connections which
3658 aren't to a real bus daemon but partially emulate one, like Telepathy's
3660 * Add set_unique_name to Connection (same reason)
3661 * Convert BusImplementation.__new__ into Connection._new_for_bus
3662 * Have dbus.Bus subclass _dbus_bindings.Connection directly
3664 _dbus_bindings/bus.c | 134 ++++++++++++----------------------------
3665 _dbus_bindings/conn-internal.h | 5 ++
3666 _dbus_bindings/conn-methods.c | 30 +++++++++
3667 _dbus_bindings/module.c | 2 -
3668 dbus/_dbus.py | 8 +--
3669 5 files changed, 79 insertions(+), 100 deletions(-)
3671 commit 6963fa9cfa5be7af19b93c71d8a26c149cf2c88c
3672 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3673 Date: 2007-04-30 11:20:53 +0100
3675 Implement o.fd.DBus method wrappers in Python instead of C.
3676 This reduces the need to have _dbus_bindings.BusImplementation and makes
3677 peer-to-peer connections easier to implement.
3679 _dbus_bindings/bus.c | 235 --------------------------------------------------
3680 dbus/Makefile.am | 3 +-
3681 dbus/_dbus.py | 4 +-
3682 dbus/bus.py | 191 ++++++++++++++++++++++++++++++++++++++++
3683 4 files changed, 196 insertions(+), 237 deletions(-)
3685 commit 478e03e211990d05725bfec5c44a1a1bf68eaf19
3686 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3687 Date: 2007-04-27 12:44:45 +0100
3689 dbus/proxies.py: Give Interface some properties. Vastly simplify __getattr__ on Interface and ProxyObject
3691 dbus/proxies.py | 55 +++++++++++++++++++++++++++++--------------------------
3692 1 file changed, 29 insertions(+), 26 deletions(-)
3694 commit f6fd7b7102ac5cfd961f4e53532eb7904f877a6e
3695 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3696 Date: 2007-04-27 12:22:54 +0100
3698 Move Interface from dbus._dbus to dbus.proxies (it belongs there really).
3699 Make it a new-style object and document it more clearly.
3701 dbus/__init__.py | 5 +-
3702 dbus/_dbus.py | 134 +-----------------------------------------------------
3703 dbus/proxies.py | 72 +++++++++++++++++++++++++++++
3704 3 files changed, 77 insertions(+), 134 deletions(-)
3706 commit fe50b35f867caed213d30cf0e046f51aeb275b20
3707 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3708 Date: 2007-04-27 12:12:54 +0100
3710 Remove redundant constants
3712 dbus/_dbus.py | 3 ---
3713 1 file changed, 3 deletions(-)
3715 commit a6a86fbfc299cdc61c6d013a0081c2eec878f99a
3716 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3717 Date: 2007-04-27 12:11:28 +0100
3719 dbus/_dbus.py: Match NameOwnerChanged correctly
3721 dbus/_dbus.py | 3 ++-
3722 1 file changed, 2 insertions(+), 1 deletion(-)
3724 commit 6457e018adf4bf87a1bb4791ba5a08ad6ac6ba51
3725 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3726 Date: 2007-04-26 15:53:06 +0100
3728 test/test-service.py: Use constants for the bus name and object path
3730 test/test-service.py | 9 +++++----
3731 1 file changed, 5 insertions(+), 4 deletions(-)
3733 commit db310619c1bd0496259cd251e6df0c83af73f3d1
3734 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3735 Date: 2007-04-25 18:33:55 +0100
3737 dbus/__init__.py: Add well-known interface, path, bus-name constants
3739 dbus/__init__.py | 8 ++++++++
3740 1 file changed, 8 insertions(+)
3742 commit 4be15d3a5d949107c7cf51a87a02f8555791868e
3743 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3744 Date: 2007-04-25 18:30:52 +0100
3746 dbus/__init__.py: Remove pseudo-tutorial from docstring, we have a tutorial now
3748 dbus/__init__.py | 111 ------------------------------------------------------
3749 1 file changed, 111 deletions(-)
3751 commit 4a027b3240152f7b9d5eabb66c2c1a94bd5ef831
3752 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3753 Date: 2007-04-25 18:29:48 +0100
3755 _dbus_bindings/module.c: Add some useful constants
3757 _dbus_bindings/module.c | 17 +++++++++++++++++
3758 1 file changed, 17 insertions(+)
3760 commit b6e2f84963ea0b399d50bbfeab7df046f6f24f5b
3761 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3762 Date: 2007-04-25 17:46:54 +0100
3764 Make ProxyObject a new-style class, since it now has properties
3766 dbus/proxies.py | 2 +-
3767 1 file changed, 1 insertion(+), 1 deletion(-)
3769 commit 26965c2bf04ffb3b101623bbe02c34f43bee9232
3770 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3771 Date: 2007-04-25 14:07:49 +0100
3773 Add object_path, bus_name and requested_bus_name properties to ProxyObject.
3774 There is also a placeholder for unique_bus_name, although it's not currently
3777 dbus/proxies.py | 43 +++++++++++++++++++++++++++++++++++++++++--
3778 1 file changed, 41 insertions(+), 2 deletions(-)
3780 commit a81f1e90b293f1279ad4797753649f4264c559f3
3781 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3782 Date: 2007-04-24 14:49:44 +0100
3784 Revert the part of the previous patch that added dbus_name to signals.
3785 Making this work correctly will also require changes to the introspect code.
3787 dbus/decorators.py | 13 +++----------
3788 1 file changed, 3 insertions(+), 10 deletions(-)
3790 commit e4050f2750d2fdb5c05a7d7b9cb4030b99133f13
3791 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3792 Date: 2007-04-24 14:45:14 +0100
3794 Preparation for fallback-object support:
3795 * Let exported methods receive the path, destination and raw message via
3796 kwargs, as well as the sender
3797 * Let exported signals be emitted from a variable object-path
3799 dbus/decorators.py | 81 ++++++++++++++++++++++++++++++++++++++++++++------
3800 dbus/service.py | 8 ++++-
3801 test/test-client.py | 11 +++++++
3802 test/test-service.py | 8 +++++
3803 4 files changed, 98 insertions(+), 10 deletions(-)
3805 commit ae8014c72a7d304f20d9422009f42bc48fa8f298
3806 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3807 Date: 2007-04-24 17:45:03 +0100
3809 Fix fd.o #10174: make it possible to return multiple values with no signature.
3810 More specifically: when a service method with no signature synchronously
3811 returns a tuple that is not a Struct, interpret it as a multi-valued return,
3812 rather than as a structure.
3814 This is a common Python idiom, and returning a struct makes little sense
3815 anyway when D-Bus lets you return multiple values.
3817 Returned lists are still interpreted as arrays - returning an array is
3818 entirely sensible, and indeed likely to be common.
3820 Async service methods are unaffected (there is no ambiguity), and it's still
3821 possible to return a structure by returning a dbus.Struct with appropriate
3824 https://bugs.freedesktop.org/show_bug.cgi?id=10174
3826 dbus/service.py | 8 +++++++-
3827 test/test-client.py | 6 ++++++
3828 test/test-service.py | 5 +++++
3829 3 files changed, 18 insertions(+), 1 deletion(-)
3831 commit 705b343c205b82c93aab0f31535d1dc99a3c0265
3832 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3833 Date: 2007-04-24 17:39:27 +0100
3835 test/test-service.py: use a constant for the interface name, for clarity
3837 test/test-service.py | 43 +++++++++++++++++++++++--------------------
3838 1 file changed, 23 insertions(+), 20 deletions(-)
3840 commit a2fa9563ee9e3bfca549397c0bf58946eaff37b2
3841 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3842 Date: 2007-04-24 17:21:11 +0100
3844 .gitignore: Ignore INSTALL and dbus-python-*.tar.gz
3847 1 file changed, 2 insertions(+)
3849 commit 50469e3e0a04d27be1ee227518ca377e16919626
3850 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3851 Date: 2007-04-24 14:41:45 +0100
3853 Remember to include tools in dist
3856 1 file changed, 1 insertion(+), 1 deletion(-)
3858 commit df42e53ab497dce7f00bd2eb3f2af1c022c0096c
3859 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3860 Date: 2007-04-24 13:51:51 +0100
3862 Remove trailing whitespace in Python source
3864 dbus/_dbus.py | 8 ++++----
3865 dbus/decorators.py | 2 +-
3866 dbus/proxies.py | 10 +++++-----
3867 dbus/service.py | 2 +-
3868 4 files changed, 11 insertions(+), 11 deletions(-)
3870 commit 1fa0c331f5327ef1d622b55a050949845eb89b0f
3871 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3872 Date: 2007-04-24 13:50:02 +0100
3874 Remove trailing whitespace in C source
3876 _dbus_bindings/abstract.c | 4 ++--
3877 _dbus_bindings/conn-methods.c | 4 ++--
3878 _dbus_bindings/conn.c | 2 +-
3879 _dbus_bindings/containers.c | 4 ++--
3880 _dbus_bindings/message-append.c | 6 +++---
3881 _dbus_bindings/message-internal.h | 2 +-
3882 _dbus_bindings/message.c | 2 +-
3883 _dbus_bindings/pending-call.c | 2 +-
3884 8 files changed, 13 insertions(+), 13 deletions(-)
3886 commit cdf20eebae59e0ceb2cf8fc2660609e6c38ccebf
3887 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3888 Date: 2007-04-24 13:47:09 +0100
3890 Add optional checks for coding style (mainly whitespace at the moment).
3891 These are on by default for git builds, off by default for releases.
3893 _dbus_bindings/Makefile.am | 3 +++
3894 configure.ac | 17 ++++++++++++++++-
3895 dbus/Makefile.am | 3 +++
3896 tools/Makefile.am | 5 +++++
3897 tools/check-c-style.sh | 17 +++++++++++++++++
3898 tools/check-coding-style.mk | 25 +++++++++++++++++++++++++
3899 tools/check-py-style.sh | 18 ++++++++++++++++++
3900 tools/check-whitespace.sh | 17 +++++++++++++++++
3901 8 files changed, 104 insertions(+), 1 deletion(-)
3903 commit b5552a3ea76b3e229f40a06d32a5860b0e9e2217
3904 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3905 Date: 2007-04-24 13:05:17 +0100
3907 Refactor build system:
3908 * Use autoreconf to simplify autogen.sh considerably
3909 * Use AC_CONFIG_MACRO_DIR and aclocal -I to pick up macros from m4/
3910 * Drop acinclude.m4 in favour of putting our macros in m4/
3913 acinclude.m4 | 109 ----------------------------------------
3914 autogen.sh | 64 ++++-------------------
3915 configure.ac | 7 ++-
3916 m4/Makefile.am | 5 ++
3917 m4/am-check-pymod.m4 | 37 ++++++++++++++
3918 m4/am-check-python-headers.m4 | 24 +++++++++
3919 m4/dbus-py-add-rst2htmlflag.m4 | 20 ++++++++
3920 m4/jh-add-cflag.m4 | 23 +++++++++
3921 9 files changed, 126 insertions(+), 167 deletions(-)
3923 commit 29fae4fdfd02cc2dd4c896a2cb271d9a3597623c
3924 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3925 Date: 2007-04-24 12:27:18 +0100
3927 test/run-with-tmp-session-bus.sh: untabify, remove trailing whitespace
3929 test/run-with-tmp-session-bus.sh | 8 ++++----
3930 1 file changed, 4 insertions(+), 4 deletions(-)
3932 commit d6b644f9317346211c94a2ae75b77ca9369a7088
3933 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3934 Date: 2007-04-24 12:26:42 +0100
3936 test/test-client.py: untabify
3938 test/test-client.py | 16 ++++++++--------
3939 1 file changed, 8 insertions(+), 8 deletions(-)
3941 commit 35808b1bae43f846fdbcb740c359c66977231518
3942 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3943 Date: 2007-04-24 12:24:02 +0100
3945 dbus/service.py: untabify
3947 dbus/service.py | 2 +-
3948 1 file changed, 1 insertion(+), 1 deletion(-)
3950 commit 7207bc9f616b2401de609b36dc774bbe79fa7166
3951 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3952 Date: 2007-04-24 12:23:47 +0100
3954 configure.ac: untabify
3956 configure.ac | 12 ++++++------
3957 1 file changed, 6 insertions(+), 6 deletions(-)
3959 commit c2aa57fc64f32e0c197320b050b93e71949edd53
3960 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3961 Date: 2007-04-24 12:23:24 +0100
3963 _dbus_bindings/message.c: untabify
3965 _dbus_bindings/message.c | 60 +++++++++++++++++++++++-----------------------
3966 1 file changed, 30 insertions(+), 30 deletions(-)
3968 commit a7110d5ee20f04f17346079a6a824a7c017fe124
3969 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3970 Date: 2007-03-02 18:46:12 +0000
3972 Implement ExportedGObject, a convenience class to export GObjects on the bus.
3973 This is non-trivial because dbus.service.Object and GObject both use
3974 metaclasses, so we need to implement a metaclass inheriting from both their
3975 metaclasses - it might as well go in dbus-python to avoid everyone having to
3976 reinvent this solution.
3978 dbus/gobject_service.py | 37 +++++++++++++++++++++++++++++++++++++
3979 1 file changed, 37 insertions(+)
3981 commit cfb1ea5f32a5ab77078ce184cb13602f2e28fec1
3982 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3983 Date: 2007-03-02 18:43:09 +0000
3985 * dbus.service.Object: don't let the user try to export objects on the local
3986 path reserved by libdbus/dbus-daemon, or on an invalid path.
3987 * BusName: don't even try to claim an invalid bus name either.
3989 dbus/service.py | 8 ++++++++
3990 1 file changed, 8 insertions(+)
3992 commit 5ee2e05d5056584d589991f5d5fd0d22df598676
3993 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
3994 Date: 2007-03-02 18:41:01 +0000
3996 * ProxyObject: allow named_service to be None, in preparation for peer-to-peer
3997 connections. If so, never attempt to follow name owner changes (doesn't make
3998 sense when you're talking directly to the peer).
3999 * _ProxyMethod: allow interface to be None, for when a method call is made
4000 on a ProxyObject without going via a dbus.Interface.
4002 dbus/proxies.py | 9 ++++++---
4003 1 file changed, 6 insertions(+), 3 deletions(-)
4005 commit f2fda30b23b0176dd314329050127f61b5e92255
4006 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4007 Date: 2007-03-02 18:38:00 +0000
4009 SignalMatch: check that interface, member and sender are either valid, or None
4011 dbus/_dbus.py | 9 +++++++++
4012 1 file changed, 9 insertions(+)
4014 commit 91d0a865d574325328b67ec8c5dab9b841b9218c
4015 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4016 Date: 2007-03-02 18:29:34 +0000
4018 SignalMatch: remove assorted commented-out debug messages
4020 dbus/_dbus.py | 24 +++---------------------
4021 1 file changed, 3 insertions(+), 21 deletions(-)
4023 commit bfc541fad2dec718abce406caa0285b1e40c4958
4024 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4025 Date: 2007-03-02 18:13:23 +0000
4027 Remove FIXME comment - I think the current behaviour is correct.
4029 dbus/service.py | 2 --
4030 1 file changed, 2 deletions(-)
4032 commit cf48b799ebdcaf7dca0b6f729516b413be21e989
4033 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4034 Date: 2007-03-02 18:12:47 +0000
4036 * Don't let the user call methods on the reserved local path - we'll get
4037 kicked off the bus if they do.
4038 * Don't try to introspect the reserved local path - same problem.
4039 * Do earlier validation of bus names etc. in client proxies.
4041 dbus/proxies.py | 19 ++++++++++++++++++-
4042 1 file changed, 18 insertions(+), 1 deletion(-)
4044 commit f1e0a64b9f02a77cfd468f146ed3f398b2c1c8bc
4045 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4046 Date: 2007-02-21 15:04:20 +0000
4048 If send_with_reply() returns TRUE but with pending call NULL, cope gracefully.
4049 This is a workaround for the fact that trying to use the object path
4050 /org/freedesktop/DBus/Local in a message header (e.g. when introspecting
4051 trackerd with dbus-inspector) causes us to be disconnected by the bus daemon.
4053 _dbus_bindings/conn-methods.c | 7 +++++++
4054 1 file changed, 7 insertions(+)
4056 commit 8dce2df1ceacffb2aa6e2cc8b1d4b58ee95ac5b1
4057 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4058 Date: 2007-02-21 12:31:15 +0000
4060 Don't examine args for functions declared METH_NOARGS.
4061 It's not guaranteed to be non-NULL, and Python checks there are no arguments
4062 so we don't have to.
4064 _dbus_bindings/conn-methods.c | 9 +++------
4065 1 file changed, 3 insertions(+), 6 deletions(-)
4067 commit 4f88700588d80861c8520e56407d3a40d5bd86e6
4068 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4069 Date: 2007-02-19 14:17:08 +0000
4071 dbus/_dbus.py: When an exception is raised by a signal handler, print it to stderr
4073 dbus/_dbus.py | 54 ++++++++++++++++++++++++++++++++----------------------
4074 1 file changed, 32 insertions(+), 22 deletions(-)
4076 commit a79f8dacbf86efce563cc29104bbacecb5ef9739
4077 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4078 Date: 2007-02-13 17:54:55 +0000
4080 Update NEWS file for 0.80.2 (not actually present in the release, but at least it'll be in the next release's NEWS file)
4083 1 file changed, 9 insertions(+)
4085 commit 22f2a483aa45720711b42fa8ce4ddf2d9fdbaec9
4086 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4087 Date: 2007-02-13 17:44:38 +0000
4089 Set released flag back to 0
4092 1 file changed, 1 insertion(+), 1 deletion(-)
4094 commit 728e8f47d884bdff66106b89cc1d803fa5f30456
4095 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4096 Date: 2007-02-13 16:54:51 +0000
4098 Release version 0.80.2
4100 configure.ac | 6 +++---
4101 1 file changed, 3 insertions(+), 3 deletions(-)
4103 commit 87dc3d5807ba12c6396dbcb1acdebb8f453e8fcd
4104 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4105 Date: 2007-02-07 20:46:17 +0000
4107 Actually commit the numerous copyright-statement changes.
4109 COPYING | 551 +------------------------------
4111 _dbus_bindings/abstract.c | 16 +-
4112 _dbus_bindings/bus.c | 14 +-
4113 _dbus_bindings/bytes.c | 14 +-
4114 _dbus_bindings/conn-internal.h | 14 +-
4115 _dbus_bindings/conn-methods.c | 14 +-
4116 _dbus_bindings/conn.c | 14 +-
4117 _dbus_bindings/containers.c | 16 +-
4118 _dbus_bindings/dbus_bindings-internal.h | 14 +-
4119 _dbus_bindings/debug.c | 14 +-
4120 _dbus_bindings/exceptions.c | 14 +-
4121 _dbus_bindings/float.c | 14 +-
4122 _dbus_bindings/generic.c | 14 +-
4123 _dbus_bindings/message-get-args.c | 16 +-
4124 _dbus_bindings/message-internal.h | 14 +-
4125 _dbus_bindings/message.c | 14 +-
4126 _dbus_bindings/module.c | 14 +-
4127 _dbus_bindings/pending-call.c | 14 +-
4128 _dbus_bindings/signature.c | 14 +-
4129 _dbus_bindings/string.c | 16 +-
4130 _dbus_bindings/types-internal.h | 16 +-
4131 _dbus_bindings/validation.c | 14 +-
4132 _dbus_glib_bindings/module.c | 8 +-
4133 dbus/lowlevel.py | 14 +-
4134 dbus/mainloop/__init__.py | 18 +
4135 doc/tutorial.txt.in | 8 +-
4136 include/dbus-python.h | 14 +-
4137 test/cross-test-client.py | 8 +-
4138 test/cross-test-server.py | 8 +-
4139 test/crosstest.py | 8 +-
4140 test/test-standalone.py | 8 +-
4141 32 files changed, 217 insertions(+), 735 deletions(-)
4143 commit 1f9f29452352baf103fd6620eb0cd8315f8b736d
4144 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4145 Date: 2007-02-07 17:05:29 +0000
4147 For files solely owned by Collabora Ltd., additionally allow use under LGPL 2.1.
4149 * split out AFL, GPL from COPYING into separate files, and add LGPL.
4150 * update copyright year in recently touched files
4152 COPYING.AFL-2.1 | 197 +++++++++++++++++++++
4153 COPYING.GPL-2 | 342 ++++++++++++++++++++++++++++++++++++
4154 COPYING.LGPL-2.1 | 510 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
4155 3 files changed, 1049 insertions(+)
4157 commit 278b57d9f4a1aed4f0296b17a94bde2a36145a45
4158 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4159 Date: 2007-02-07 13:15:17 +0000
4161 Audit tp_dealloc callbacks to make sure they preserve the exception state.
4162 * Connection: use PyErr_Fetch and PyErr_Restore to preserve exception state
4163 * MainLoop: add a comment indicating that the "free" callback needs to do the
4164 same if it might alter the exception state
4166 _dbus_bindings/conn.c | 5 +++++
4167 _dbus_bindings/mainloop.c | 3 ++-
4168 2 files changed, 7 insertions(+), 1 deletion(-)
4170 commit ffe3b55b4b293c5dfb36de8cf2dc2b91d09a9f0d
4171 Merge: 5135a35 66fb274
4172 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4173 Date: 2007-02-07 13:00:33 +0000
4175 Merge git+ssh://people.freedesktop.org/home/smcv/public_html/git/dbus-python/
4177 commit 5135a35677e25c473db0e8a463f97c15359c9e34
4178 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4179 Date: 2007-02-07 12:50:48 +0000
4181 Fix memory leak where Struct, _LongBase, _StrBase, String leaked their __dict__ on deallocation.
4182 * Use a fixed-size struct for String (unicode objects are in fact fixed-size)
4183 and store its variant_level that way.
4184 * Don't store Struct, _LongBase, _StrBase variant_level and Struct signature
4185 in a __dict__, but instead have a global dict mapping object IDs to variant
4186 levels, and a global dict mapping Struct IDs to signatures. This is a bit
4187 strange, but easier than correctly freeing the __dict__ (which is stored
4188 at the end of a variable-length struct, so somewhat hard to get at).
4189 * With this change, allocating objects in a loop no longer leaks memory, and
4190 neither does the test case supplied by Luka Renko.
4192 _dbus_bindings/abstract.c | 194 +++++++++++++++++++++++++++++++--------
4193 _dbus_bindings/containers.c | 132 ++++++++++++++++++++------
4194 _dbus_bindings/message-append.c | 6 +-
4195 _dbus_bindings/string.c | 75 +++++++--------
4196 _dbus_bindings/types-internal.h | 10 ++
4197 5 files changed, 309 insertions(+), 108 deletions(-)
4199 commit 870227fafd9c976a0354b02aff6052ba24234e91
4200 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4201 Date: 2007-02-05 16:21:13 +0000
4203 Close a couple of reference leaks in String (there's another somewhere, but I can't find it)
4205 _dbus_bindings/string.c | 30 ++++++++++++++++++++++--------
4206 1 file changed, 22 insertions(+), 8 deletions(-)
4208 commit c04456ff1b24de8695cda14f91e8886ca9c0bf0f
4209 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4210 Date: 2007-02-05 15:18:39 +0000
4212 Don't leak memory in Struct repr()
4214 _dbus_bindings/containers.c | 7 +++++--
4215 1 file changed, 5 insertions(+), 2 deletions(-)
4217 commit 192bd48b8a17e4f62400b64e037df22c3b47de88
4218 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4219 Date: 2007-02-05 15:18:14 +0000
4221 Don't leak memory in _StringBase and _LongBase repr()
4223 _dbus_bindings/abstract.c | 12 ++++++++++--
4224 1 file changed, 10 insertions(+), 2 deletions(-)
4226 commit 630f912b2155e6328a3fa48deb832f5c3d114b94
4227 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4228 Date: 2007-02-05 13:18:19 +0000
4230 Switch _IntBase back to using generic alloc/free implementation rather than half-participating in the int free list (which would result in _IntBase instances leaking)
4232 _dbus_bindings/abstract.c | 3 ++-
4233 1 file changed, 2 insertions(+), 1 deletion(-)
4235 commit 95c0d3618041e8c8f9173a3eb8e8ddc93c456952
4236 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4237 Date: 2007-02-05 13:17:12 +0000
4239 Fix a couple of memory leaks - D-Bus signature strings, and decoded Unicode objects
4241 _dbus_bindings/message-get-args.c | 18 +++++++++++-------
4242 1 file changed, 11 insertions(+), 7 deletions(-)
4244 commit 99e0758b1d4f958e5753d51e843f1254e15b93b2
4245 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4246 Date: 2007-01-31 13:47:49 +0000
4248 _dbus_bindings/pending-call.c: Fix memory leak of one Message per method call.
4249 Also fix a leak of references to Py_None (unlikely to be a practical problem,
4250 but best to be correct).
4252 _dbus_bindings/pending-call.c | 5 +++--
4253 1 file changed, 3 insertions(+), 2 deletions(-)
4255 commit 66fb2745189037ba634cc3574f174f26e53a9be6
4256 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4257 Date: 2007-01-31 13:27:16 +0000
4259 Fix a leak of references to Py_None in slightly pathological cases (should never be a problem in practice, but correctness is good)
4261 _dbus_bindings/pending-call.c | 2 +-
4262 1 file changed, 1 insertion(+), 1 deletion(-)
4264 commit 9285b0648419a6860ca274d381cdb2924f85fdd2
4265 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4266 Date: 2007-01-31 13:07:49 +0000
4268 _pending_call_notify_function: stop leaking a Message per call
4270 _dbus_bindings/pending-call.c | 3 ++-
4271 1 file changed, 2 insertions(+), 1 deletion(-)
4273 commit c0c48abc99e66998b4c81436a8f6eca58f93cef4
4274 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4275 Date: 2007-01-25 12:59:39 +0000
4277 configure.ac: Only use -Werror if user passes --enable-Werror to configure.
4278 Also improve clarity of help message for --enable-html-docs.
4280 configure.ac | 11 ++++++++---
4281 1 file changed, 8 insertions(+), 3 deletions(-)
4283 commit d7c11cccfcdc3ef94f183d79203fac136e2c3494
4284 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4285 Date: 2007-01-25 12:49:57 +0000
4287 doc/tutorial.txt.in: Add copyright and license (GPL2/AFL2.1, like the code)
4289 doc/tutorial.txt.in | 23 +++++++++++++++++++++++
4290 1 file changed, 23 insertions(+)
4292 commit dc6b66210bda929f92524ef10f5c3edbb3cb495c
4293 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4294 Date: 2007-01-25 12:43:57 +0000
4296 COPYING: Remove information about files we no longer have
4299 1 file changed, 2 insertions(+), 4 deletions(-)
4301 commit 00ffd01f3186bf7eab88a5408daa59d162efdf70
4302 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4303 Date: 2007-01-25 12:43:13 +0000
4305 test/, include/: remove accidentally duplicated lines from license statement
4307 include/dbus-python.h | 2 --
4308 test/cross-test-client.py | 2 --
4309 test/cross-test-server.py | 2 --
4310 test/crosstest.py | 2 --
4311 test/test-client.py | 2 --
4312 test/test-service.py | 2 --
4313 test/test-signals.py | 2 --
4314 test/test-standalone.py | 2 --
4315 8 files changed, 16 deletions(-)
4317 commit 41694b4df5c1dbf745e5ddd443571d5cb67d74b3
4318 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4319 Date: 2007-01-25 12:38:53 +0000
4321 dbus, _dbus_bindings, _dbus_glib_bindings: remove accidentally duplicated lines in license statement
4323 _dbus_bindings/abstract.c | 2 --
4324 _dbus_bindings/bus.c | 2 --
4325 _dbus_bindings/bytes.c | 2 --
4326 _dbus_bindings/conn-internal.h | 2 --
4327 _dbus_bindings/conn-methods.c | 2 --
4328 _dbus_bindings/conn.c | 2 --
4329 _dbus_bindings/containers.c | 2 --
4330 _dbus_bindings/dbus_bindings-internal.h | 2 --
4331 _dbus_bindings/debug.c | 2 --
4332 _dbus_bindings/exceptions.c | 2 --
4333 _dbus_bindings/float.c | 2 --
4334 _dbus_bindings/generic.c | 2 --
4335 _dbus_bindings/int.c | 2 --
4336 _dbus_bindings/mainloop.c | 2 --
4337 _dbus_bindings/message-append.c | 2 --
4338 _dbus_bindings/message-get-args.c | 2 --
4339 _dbus_bindings/message-internal.h | 2 --
4340 _dbus_bindings/message.c | 2 --
4341 _dbus_bindings/module.c | 2 --
4342 _dbus_bindings/pending-call.c | 2 --
4343 _dbus_bindings/signature.c | 2 --
4344 _dbus_bindings/string.c | 2 --
4345 _dbus_bindings/types-internal.h | 2 --
4346 _dbus_bindings/validation.c | 2 --
4347 _dbus_glib_bindings/module.c | 2 --
4348 dbus/__init__.py | 2 --
4349 dbus/_dbus.py | 2 --
4350 dbus/_expat_introspect_parser.py | 2 --
4351 dbus/decorators.py | 2 --
4353 dbus/lowlevel.py | 2 --
4354 dbus/mainloop/glib.py | 2 --
4355 dbus/proxies.py | 2 --
4356 dbus/service.py | 2 --
4357 34 files changed, 68 deletions(-)
4359 commit 3706648c6ba07d2781fb9723eddc202a7e2b8a72
4360 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4361 Date: 2007-01-24 20:29:17 +0000
4363 Use AC_PREREQ(2.59c) to make sure we can use docdir, which is relatively new
4366 1 file changed, 1 insertion(+), 1 deletion(-)
4368 commit 4c9b10a511f9465ee87e4f87065445c04a34d7e5
4369 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4370 Date: 2007-01-24 16:37:03 +0000
4375 1 file changed, 1 insertion(+), 1 deletion(-)
4377 commit 130d1a59220a921af7cc7738306804a6f8878062
4378 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4379 Date: 2007-01-24 16:17:43 +0000
4381 Version 0.80.1, the "oops" release. Install dbus/_version.py so dbus.__version__ exists again.
4384 configure.ac | 4 ++--
4385 dbus/Makefile.am | 1 +
4386 dbus/_version.py.in | 2 +-
4387 4 files changed, 11 insertions(+), 5 deletions(-)
4389 commit 6e6b4cd1d7ade85612872d94374d722531f2e3f9
4390 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4391 Date: 2007-01-24 16:03:37 +0000
4393 Clear "released" flag after release
4396 1 file changed, 1 insertion(+), 1 deletion(-)
4398 commit 876f343d4eb39519ca155a4add1483d4f6ced641
4399 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4400 Date: 2007-01-24 16:01:09 +0000
4402 Relax dbus requirement to 0.93, to be nice to Ubuntu 6.10 and Fedora Core 6 users. Release version 0.80.0
4404 configure.ac | 10 +++++-----
4405 1 file changed, 5 insertions(+), 5 deletions(-)
4407 commit 1ad24fa7b36a333a0a4e0ce1f0afd2b201f09245
4408 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4409 Date: 2007-01-24 14:55:43 +0000
4411 Remove unnecessary "..." in AC_MSG_CHECKING; correct quoting in AC_MSG_RESULT and tests
4413 configure.ac | 14 +++++++-------
4414 1 file changed, 7 insertions(+), 7 deletions(-)
4416 commit 3edafe1f009d0e228109368dcec3ba3da2d559a1
4417 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4418 Date: 2007-01-24 14:37:32 +0000
4420 Clear "released" flag. Improve checking for rst2html and epydoc.
4422 configure.ac | 48 +++++++++++++++++++++++++++++++++++++++---------
4423 1 file changed, 39 insertions(+), 9 deletions(-)
4425 commit 057317ea759323f49133351e997ce7b892394889
4426 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4427 Date: 2007-01-24 14:31:54 +0000
4429 Update NEWS, README for 0.80.0
4432 README | 33 +++++++++++++++++++++------------
4433 2 files changed, 24 insertions(+), 15 deletions(-)
4435 commit bdf3c3a8ca30149b8d047ac0437858a47927f37e
4436 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4437 Date: 2007-01-24 14:31:29 +0000
4439 Remove from EXTRA_DIST files we'd already be distributing
4441 Makefile.am | 4 +---
4442 1 file changed, 1 insertion(+), 3 deletions(-)
4444 commit 36deedcc043fb5abde7cbb432b3a3b24a5031da0
4445 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4446 Date: 2007-01-24 14:13:50 +0000
4448 Add Makefile target maintainer-update-website to update d.fd.o/doc/dbus-python
4449 (to use this target, configure your fd.o username, if not the same as
4450 your local username, in ~/.ssh/config).
4451 Move API_CHANGES.txt, HACKING.txt to doc/ directory.
4452 Tweak documentation generation so deprecated stuff isn't documented.
4454 API_CHANGES.txt | 124 ---------------------------------------------------
4455 HACKING.txt | 62 --------------------------
4456 Makefile.am | 35 ++++++++++++---
4457 dbus/__init__.py | 7 ++-
4458 dbus/_dbus.py | 39 ++++++++--------
4459 doc/API_CHANGES.txt | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++
4460 doc/HACKING.txt | 68 ++++++++++++++++++++++++++++
4461 7 files changed, 248 insertions(+), 211 deletions(-)
4463 commit 0035c926fd188d9458a4b23275fcb277b26abfbd
4464 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4465 Date: 2007-01-24 12:12:39 +0000
4467 Install dbus-python.h in $includedir/dbus-1.0/dbus rather than $includedir for consistency with libdbus-glib and libdbus
4470 1 file changed, 2 insertions(+), 1 deletion(-)
4472 commit 6708a7bb677ac91cb1190f5f6761e2136f6dc779
4473 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4474 Date: 2007-01-24 12:04:19 +0000
4476 Automatically detect whether various desirable rst2html options are actually supported, using a modified version of JH_ADD_CFLAG. Also allow HTML documentation building to be switched off.
4479 acinclude.m4 | 25 +++++++++++++++++++++++++
4480 configure.ac | 35 +++++++++++++++++++++++++++++------
4481 3 files changed, 54 insertions(+), 9 deletions(-)
4483 commit 5e31fb2bfc9ea3e39e13abc519fade6e0322c864
4484 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4485 Date: 2007-01-22 18:52:00 +0000
4487 Build pre-release version 0.79.94 (= 0.80rc4)
4489 configure.ac | 4 ++--
4490 1 file changed, 2 insertions(+), 2 deletions(-)
4492 commit 7ab85ec3ad175ed8631409e2fb216162fda70d67
4493 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4494 Date: 2007-01-22 18:34:11 +0000
4496 Alter Makefile.am, configure.ac to recurse into subdirs for previous change to take effect
4499 Makefile.am | 124 ++++++++++------------------------------------------------
4500 configure.ac | 5 +++
4501 3 files changed, 27 insertions(+), 103 deletions(-)
4503 commit 625bfaac68f6c7afd85d62752e34fc8e00405790
4504 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4505 Date: 2007-01-22 18:26:36 +0000
4507 Split up Makefile.am between subdirectories
4508 As well as being conventional, this seems to be necessary to avoid having
4509 dbus_py_test.so installed, while still having it be a Libtool shared library
4510 (noinst libraries are helpfully made static).
4512 _dbus_bindings/Makefile.am | 30 ++++++++++++++++++++++++++
4513 _dbus_glib_bindings/Makefile.am | 9 ++++++++
4514 dbus/Makefile.am | 21 +++++++++++++++++++
4515 examples/Makefile.am | 8 +++++++
4516 test/Makefile.am | 44 +++++++++++++++++++++++++++++++++++++++
4517 5 files changed, 112 insertions(+)
4519 commit 6edb71ddccce139f6c7de1e43f885fed37f58b1b
4520 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4521 Date: 2007-01-22 16:50:19 +0000
4523 API_CHANGES.txt, NEWS: update for 0.79.94 (= 0.80rc4)
4525 API_CHANGES.txt | 4 ----
4526 NEWS | 11 +++++++----
4527 2 files changed, 7 insertions(+), 8 deletions(-)
4529 commit b693df256198cd58c71e97531aa4169999bfd2d8
4530 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4531 Date: 2007-01-22 16:49:52 +0000
4533 configure.ac: When building a non-release version, compile with -Werror
4535 configure.ac | 5 ++++-
4536 1 file changed, 4 insertions(+), 1 deletion(-)
4538 commit 795927e72a9b5e0a14ea7125c31972d2fc3501dc
4539 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4540 Date: 2007-01-19 12:31:56 +0000
4542 Add a "released" flag to configure.ac: if not 1, append the date to the version.
4543 When making official releases please do the following:
4544 * set dbus_python_released to 1 and set the new version
4545 * make the release tarball (make distcheck)
4547 * change dbus_python_released back to 0 and commit again
4549 configure.ac | 8 +++++++-
4550 1 file changed, 7 insertions(+), 1 deletion(-)
4552 commit 43c48b9c7fdbb5741daa024df9e7a319d1993dac
4553 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4554 Date: 2007-01-17 13:06:33 +0000
4556 dbus/proxies.py: Finish implementing deferred methods so they can be async.
4558 * Queue up async methods and execute them when introspection finishes, instead
4559 of blocking on the introspection operation (heavily based on patch by J5)
4560 * Rename DeferedMethod (sic) to spell Deferred correctly, and rename to
4561 _DeferredMethod (also _ProxyMethod) since these classes are not public API
4562 * Make it safe to keep a reference to a DeferredMethod and call it with
4563 differing arguments:
4564 meth = proxy.DoStuff
4565 meth(1, reply_handler=on_reply, error_handler=on_error)
4566 meth(2, reply_handler=on_reply, error_handler=on_error)
4567 * Make it safe to keep references to DeferredMethod even after introspection
4568 has finished - if called after introspection finishes, silently do an
4570 * Add some locking to avoid subtle failures if one thread appends
4571 to the pending introspect queue at the same time another thread gets
4572 introspection results back - ProxyObject and friends should now be
4573 threadsafe (I think)
4575 dbus/proxies.py | 145 +++++++++++++++++++++++++++++++++----------------------
4576 1 file changed, 87 insertions(+), 58 deletions(-)
4578 commit 4dbee87fbe9dd7abb56d8d150d8c8ae7bd01f261
4579 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4580 Date: 2007-01-17 12:28:38 +0000
4582 dbus/service.py: cope with exceptions with no __module__
4583 (thanks Phil Thompson, <phil riverbankcomputing co uk>)
4585 dbus/service.py | 4 ++--
4586 1 file changed, 2 insertions(+), 2 deletions(-)
4588 commit cc4dfc18c7fe0843b5e118d35a94ca9cca563f98
4589 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4590 Date: 2007-01-17 12:27:51 +0000
4592 DBusGMainLoop: avoid reference leak on success
4593 (thanks Phil Thompson, <phil riverbankcomputing co uk>)
4595 _dbus_glib_bindings/module.c | 1 +
4596 1 file changed, 1 insertion(+)
4598 commit 47860b5c25c823587e4e06636acc926b252fe114
4599 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4600 Date: 2007-01-16 19:52:45 +0000
4602 Add regression test for main loop failure handling (a main loop that never works)
4604 Also run tests with DBUS_FATAL_WARNINGS and ulimit -c unlimited so they dump
4605 core at the slightest provocation.
4607 Makefile.am | 11 ++++-
4608 test/dbus_py_test.c | 101 +++++++++++++++++++++++++++++++++++++++
4609 test/run-test.sh | 6 +++
4610 test/test-unusable-main-loop.py | 17 +++++++
4611 4 files changed, 134 insertions(+), 1 deletion(-)
4613 commit 916df7703d828afec95635d309ca83bc1c05fd98
4614 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4615 Date: 2007-01-16 19:51:28 +0000
4617 examples: Don't load a main loop when only making blocking calls
4619 examples/example-client.py | 2 --
4620 examples/list-system-services.py | 3 +--
4621 2 files changed, 1 insertion(+), 4 deletions(-)
4623 commit f0deb687acad02173c20a0dc644323774b24dc0e
4624 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4625 Date: 2007-01-16 19:38:00 +0000
4627 When running without a main loop, don't make introspection fail.
4629 Also change send_message_with_reply() to not demand a main loop by default
4630 (since you can call block() on the returned object, like blocking introspection
4633 _dbus_bindings/conn-methods.c | 24 +++++++++++++++++-------
4634 dbus/proxies.py | 2 +-
4635 2 files changed, 18 insertions(+), 8 deletions(-)
4637 commit 7d70b07e62d579ce85572a3e1ebb92f42461a185
4638 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4639 Date: 2007-01-16 19:36:05 +0000
4641 conn.c: fix Connection setup in absence of main loop, and error handling
4643 * Only set up a main loop if we actually have one (not None)
4644 * Don't double-close the DBusConnection (causing an assertion in libdbus) if
4645 we somehow fail to set up the main loop. Thanks to tsuraan
4646 <tsuraan at gmail.com> for the bug report.
4648 _dbus_bindings/conn.c | 5 ++++-
4649 1 file changed, 4 insertions(+), 1 deletion(-)
4651 commit 6d7356140055082a30090161c586b4575f8f0fa7
4652 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4653 Date: 2007-01-16 18:08:04 +0000
4655 Correctly don't build HTML docs if rst2html is not found
4658 1 file changed, 1 insertion(+), 1 deletion(-)
4660 commit b33efe312c8d89ecc6e2ba9f075d2d0a9e28c3e1
4661 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4662 Date: 2007-01-16 17:41:45 +0000
4664 Switch types from int to Py_ssize_t to be compatible with Python 2.5 on 64-bit archs
4666 _dbus_bindings/conn-methods.c | 2 +-
4667 _dbus_bindings/dbus_bindings-internal.h | 10 ++++++++++
4668 _dbus_bindings/message-append.c | 8 ++++----
4669 _dbus_bindings/message-get-args.c | 7 +++++--
4670 4 files changed, 20 insertions(+), 7 deletions(-)
4672 commit 4d7fac530ce82c3dc888248234b955c04c364ada
4673 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4674 Date: 2007-01-16 17:24:00 +0000
4676 Always install text documentation, even if we're not able to build the HTML
4678 Makefile.am | 8 ++++----
4679 1 file changed, 4 insertions(+), 4 deletions(-)
4681 commit 597d278a3973ad411e345ab8938adf6c582da42d
4682 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4683 Date: 2007-01-16 17:23:25 +0000
4685 bytes.c, string.c: Don't mention get_object_by_unique_name in docstrings, it no longer exists
4687 _dbus_bindings/bytes.c | 2 +-
4688 _dbus_bindings/string.c | 2 +-
4689 2 files changed, 2 insertions(+), 2 deletions(-)
4691 commit d723afa11282cc694342a0043cdc8303747c88a7
4692 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4693 Date: 2007-01-16 17:19:03 +0000
4695 When running make clean, also get rid of the generated API docs
4696 (now passes make distcheck DISTCHECK_CONFIGURE_ARGS=--enable-api-docs)
4699 1 file changed, 3 insertions(+)
4701 commit 0557d5bdcf90dc79ed3662144d8ecd1df28e5dcf
4702 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4703 Date: 2007-01-16 17:09:10 +0000
4705 Remove generated HTML documentation on distclean
4708 1 file changed, 2 insertions(+)
4710 commit 3504ac8bc098b5872be747c151f304bbe80d2131
4711 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4712 Date: 2007-01-16 17:04:37 +0000
4714 Remove get_object_by_unique_name again, and replace with a better-thought-out version of get_object
4716 - Remove get_object_by_unique_name (introduced in 0.80rc1) - J5's right, the
4718 - Make get_object *not* follow name changes by default (a return to pre-0.80
4719 behaviour, and the same as 0.80rc1's get_object_by_unique_name())
4720 - Add keyword argument follow_name_owner_changes (default is False): if True,
4721 it will follow name owner changes (like 0.80rc1's get_object() always did)
4722 - Implement with modifications to ProxyObject so it resolves the unique name
4723 on construction, if required (activating it if necessary)
4725 dbus/_dbus.py | 71 ++++++++++++++++---------------------------------------
4726 dbus/proxies.py | 34 ++++++++++++++++++++++----
4727 2 files changed, 50 insertions(+), 55 deletions(-)
4729 commit e8d766e1b2d5013e3f2c0a95d43b1dcb5eb00044
4730 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4731 Date: 2007-01-16 17:00:00 +0000
4733 Ensure we put the right number of items in a struct or message and add test cases.
4735 This avoids us getting kicked off the bus when trying to put the wrong
4736 number of things in a struct - this used to happen, but was masked by the fact
4737 that the tests ran with service activation, so the service was just killed and
4738 reactivated. Forthcoming changes to get_object make this automatic reactivation
4739 not happen (messages will be directed to the unique name by default, so
4740 stateful communication can work).
4742 _dbus_bindings/message-append.c | 55 +++++++++++++++++++++++++--------------
4743 test/test-standalone.py | 44 ++++++++++++++++++++++++++++++-
4744 2 files changed, 79 insertions(+), 20 deletions(-)
4746 commit bd2baf2aad6a7f5ecf0bf7e867e74077cf733cd6
4747 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4748 Date: 2007-01-16 15:05:31 +0000
4750 test/run-test.sh: Re-order to run the simpler tests (standalone, examples, cross tests) first
4752 test/run-test.sh | 34 ++++++++++++++++++----------------
4753 1 file changed, 18 insertions(+), 16 deletions(-)
4755 commit c7fa08a7a7cc6ae3811b1164b0fdd627a9377e43
4756 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4757 Date: 2007-01-16 14:44:01 +0000
4759 Write some more of the tutorial
4761 doc/tutorial.txt.in | 289 +++++++++++++++++++++++++++++++++++++++++++++++----
4762 1 file changed, 267 insertions(+), 22 deletions(-)
4764 commit e018fa3f6a7e4e0da334453c81e3bde22da46fe1
4765 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4766 Date: 2007-01-16 12:08:05 +0000
4768 Comment on why we're putting the client at path /Test
4770 test/cross-test-client.py | 2 ++
4771 1 file changed, 2 insertions(+)
4773 commit c98c7742c13ff38998bbc6b6acca390a529e9c7f
4774 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4775 Date: 2007-01-16 11:40:47 +0000
4777 Use autoconf's usual directory for docs
4779 Makefile.am | 7 ++-----
4780 1 file changed, 2 insertions(+), 5 deletions(-)
4782 commit 24d8be176996913853b01f0e3ed1d33082640dec
4783 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4784 Date: 2007-01-15 20:24:59 +0000
4786 Generate HTML docs from reStructuredText if rst2html is available
4788 Makefile.am | 22 ++++++++++++++++++++++
4789 configure.ac | 7 ++++++-
4790 2 files changed, 28 insertions(+), 1 deletion(-)
4792 commit a9575bf47b9ba5bc02ad5280fe35652758c0d00e
4793 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4794 Date: 2007-01-15 20:23:48 +0000
4796 reStructuredText syntax corrections
4798 API_CHANGES.txt | 2 +-
4799 HACKING.txt | 6 +++---
4802 4 files changed, 10 insertions(+), 10 deletions(-)
4804 commit cd5719adbf6cafb53fb3dd19c141ad312729c83c
4805 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4806 Date: 2007-01-15 20:22:52 +0000
4808 Ignore generated documentation
4811 1 file changed, 2 insertions(+)
4813 commit 6053bac21757a0d87abd0c50135f6c783fdf63b9
4814 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4815 Date: 2007-01-15 19:15:20 +0000
4817 configure.ac: don't divert autotools cruft into autotools/, it's probably more trouble than it's worth (fd.o#9630); .gitignore: adjust accordingly
4819 .gitignore | 16 ++++++++--------
4821 2 files changed, 8 insertions(+), 9 deletions(-)
4823 commit 02f962921e831a710e7b1566ec5d4c0b84a15d91
4824 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4825 Date: 2007-01-15 19:09:04 +0000
4827 Makefile.am: ship example-async-client so it can be used as a test
4830 1 file changed, 1 insertion(+)
4832 commit 618e13ee5bdce6dd129600a698910f5edb7ab4db
4833 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4834 Date: 2007-01-10 13:11:33 +0000
4836 Add half-written tutorial. Fix reStructuredText syntax in documentation, and build HTML if we have rst2html or rst2html.py.
4837 Distribution packagers may want to build-depend on docutils, and configure with --docdir=... if their distribution would usually use a location other than PREFIX/share/doc/dbus-python - for instance Debian/Ubuntu should use --docdir=/usr/share/doc/python-dbus.
4839 doc/tutorial.txt.in | 399 +++++++++++++++++++++++++++++++++++++++++++++++++++
4840 1 file changed, 399 insertions(+)
4842 commit bde53f1cf59b743d5e38b6ac4fbdf348bdf773db
4843 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4844 Date: 2007-01-10 13:05:23 +0000
4846 Add special case to serialization: objects with a __dbus_object_path__ attribute are serialized as that object path. Add that attribute to ProxyObject, dbus.Interface and dbus.service.Object.
4848 _dbus_bindings/abstract.c | 4 ++
4849 _dbus_bindings/message-append.c | 120 +++++++++++++++++++++++++++++++--------
4850 _dbus_bindings/types-internal.h | 1 +
4851 dbus/_dbus.py | 5 ++
4852 dbus/proxies.py | 12 ++--
4853 dbus/service.py | 3 +
4854 test/test-standalone.py | 15 +++++
4855 7 files changed, 130 insertions(+), 30 deletions(-)
4857 commit 92e8cc8ff3cb87af3e94bc455d3be057e98846d3
4858 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4859 Date: 2007-01-10 12:45:06 +0000
4861 Remove old .cvsignore files
4863 dbus/.cvsignore | 10 ----------
4864 examples/.cvsignore | 2 --
4865 2 files changed, 12 deletions(-)
4867 commit 984b7fc404a89b61f5efefb2a82d203a6b4fd143
4868 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4869 Date: 2007-01-09 16:49:58 +0000
4871 Validate that the signature on an Array or Dict has the right number of complete types
4873 _dbus_bindings/containers.c | 58 ++++++++++++++++++++++++++++++++++++++++---
4874 1 file changed, 54 insertions(+), 4 deletions(-)
4876 commit 6e4a93545a40a13af7308b97e435921a0eee7805
4877 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4878 Date: 2007-01-09 15:30:22 +0000
4880 When putting a ByteArray into a variant array, serialise it as an array of variants containing byte, not an array of variants containing string
4882 _dbus_bindings/message-append.c | 26 +++++++++++++++++++++++++-
4883 test/test-standalone.py | 3 ++-
4884 2 files changed, 27 insertions(+), 2 deletions(-)
4886 commit 93faf8793f271d91fbc413f1c9374328605bcda8
4887 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4888 Date: 2007-01-09 15:27:52 +0000
4890 Improve documentation of type conversion from D-Bus to Python
4892 _dbus_bindings/message-get-args.c | 23 ++++++++++++-----------
4893 1 file changed, 12 insertions(+), 11 deletions(-)
4895 commit e5cef62c8ed04f5842257653bc6ec70abbdd20bb
4896 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4897 Date: 2007-01-09 15:27:02 +0000
4899 dbus.Interface, dbus.ProxyObject: add get_dbus_method(), which can be used to call awkwardly-named methods like __getattr__
4901 dbus/_dbus.py | 26 ++++++++++++++++++++++++++
4902 dbus/proxies.py | 47 ++++++++++++++++++++++++++++++++++++-----------
4903 test/test-client.py | 4 ++++
4904 3 files changed, 66 insertions(+), 11 deletions(-)
4906 commit ee11236f45c9aa354136e6e5d2ec1c4490bc6657
4907 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4908 Date: 2007-01-09 14:53:55 +0000
4910 Improve docstrings for String and UTF8String explaining how to get UTF8String from the API.
4912 _dbus_bindings/string.c | 26 ++++++++++++++++++++++++++
4913 1 file changed, 26 insertions(+)
4915 commit d75fec04ba79b46872801c6132afad7b9f192c94
4916 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4917 Date: 2007-01-09 14:53:16 +0000
4919 Subscripting a ByteArray now gives 1-character strings again (for least astonishment). Also document how to get a ByteArray from the API
4921 _dbus_bindings/bytes.c | 75 ++++++++++++------------------------------------
4922 1 file changed, 18 insertions(+), 57 deletions(-)
4924 commit b68d891998983ab94e68555855d10f85a3dca019
4925 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4926 Date: 2007-01-09 14:29:46 +0000
4928 Correct usage in example-async-client: you need to use example-client (or kill(1) of course) to shut down the example service
4930 examples/example-async-client.py | 2 +-
4931 1 file changed, 1 insertion(+), 1 deletion(-)
4933 commit 26ce68b8de3f48187091d3686cb30b75375b84d0
4934 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4935 Date: 2007-01-09 14:05:28 +0000
4937 Add an example of asynchronous calls. Run the examples during 'make check'.
4939 examples/example-async-client.py | 109 ++++++++++++++++++++++++++++++++++
4940 examples/example-client.py | 6 ++
4941 examples/example-service.py | 10 ++++
4942 examples/example-signal-recipient.py | 1 -
4943 test/run-test.sh | 13 ++++
4944 5 files changed, 138 insertions(+), 1 deletion(-)
4946 commit 9ede20248d690d9bb2cb9fba6b75955770930a94
4947 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4948 Date: 2007-01-09 14:04:49 +0000
4950 Don't require a main loop unless async calls, signal connections or exported objects are actually made. (Increases backwards compatibility with Pyrex-dbus-python)
4952 _dbus_bindings/conn-internal.h | 2 ++
4953 _dbus_bindings/conn-methods.c | 30 ++++++++++++++++++++++++++++++
4954 _dbus_bindings/conn.c | 8 ++------
4955 _dbus_bindings/module.c | 7 ++++---
4956 dbus/_dbus.py | 10 ++++++++--
4957 5 files changed, 46 insertions(+), 11 deletions(-)
4959 commit 336cfd395976627b9c758a48f7ec7db275963bc9
4960 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4961 Date: 2007-01-09 13:03:27 +0000
4963 Accept keyword argument introspect=False to Bus.get_object(),
4964 Bus.get_object_by_unique_name() to suppress introspection - off by
4965 default, but necessary to work around broken service implementations
4966 which fail to reply to introspection.
4967 Thanks to Ulisses Furquim <ulissesf at gmail.com> for the patch.
4969 dbus/_dbus.py | 14 ++++++++++----
4970 1 file changed, 10 insertions(+), 4 deletions(-)
4972 commit 88011f8e449d92959f83e304d8b6b2db44ec02bc
4973 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4974 Date: 2007-01-09 12:59:31 +0000
4976 Stop trying to get macros from the autotools directory (no longer needed)
4979 1 file changed, 2 deletions(-)
4981 commit adf16bd849e1ebf98f65e288bc42956810a3e2eb
4982 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4983 Date: 2007-01-09 12:47:26 +0000
4985 Remove extra M4 macros (J5 added them to acinclude.m4 instead)
4987 autotools/as-ac-expand.m4 | 40 -----------------------------
4988 autotools/jhflags.m4 | 21 ---------------
4989 autotools/python.m4 | 62 ---------------------------------------------
4990 3 files changed, 123 deletions(-)
4992 commit 2a100a94dc4db5174244b9dac89f4ca5c1083103
4993 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
4994 Date: 2007-01-09 12:46:53 +0000
4996 Remove setup.py (no longer used in favour of autotools)
4998 setup.py | 195 --------------------------------------------------------------
4999 1 file changed, 195 deletions(-)
5001 commit d0004b6162a18c3d9f02dbc4404f8f452f1c3e79
5002 Author: John (J5) Palmieri <quinticent@localhost.localdomain>
5003 Date: 2007-01-03 17:35:57 -0500
5005 fix autogen.sh to run all the correct steps that jhbuild expects
5007 * copy autogen.sh from D-Bus core
5008 * add JH_ADD_CFLAG, AM_CHECK_PYTHON_HEADERS and AM_CHECK_PYMOD m4 macros
5011 acinclude.m4 | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++
5012 autogen.sh | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
5013 2 files changed, 175 insertions(+), 3 deletions(-)
5015 commit 5b8c9eb452b78ed56b395193f6989ad87eae111b
5016 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5017 Date: 2006-12-21 19:51:54 +0000
5019 Improve various type docstrings
5021 _dbus_bindings/abstract.c | 28 ++++++++++--
5022 _dbus_bindings/bus.c | 8 +++-
5023 _dbus_bindings/bytes.c | 28 +++++++++---
5024 _dbus_bindings/containers.c | 59 ++++++++++++++----------
5025 _dbus_bindings/generic.c | 3 ++
5026 _dbus_bindings/int.c | 91 +++++++++++++++++++------------------
5027 _dbus_bindings/message-get-args.c | 2 +-
5028 _dbus_bindings/message.c | 35 ++++++++++----
5029 _dbus_bindings/module.c | 10 ++--
5030 _dbus_bindings/pending-call.c | 3 +-
5031 _dbus_bindings/signature.c | 11 +++--
5032 _dbus_bindings/string.c | 25 ++++++----
5033 _dbus_bindings/validation.c | 29 ++++++------
5034 13 files changed, 205 insertions(+), 127 deletions(-)
5036 commit b2e5a27a119ca7b94cd8a343a163bc6639f7c8f9
5037 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5038 Date: 2006-12-21 18:39:51 +0000
5040 Fix recommendation given by exception message bringing it into sync with current API (spotted by Phil Thompson)
5042 _dbus_bindings/conn.c | 2 +-
5043 1 file changed, 1 insertion(+), 1 deletion(-)
5045 commit 7f7262c8d6b1e3aa6cdc541ac0cdb275f9e68501
5046 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5047 Date: 2006-12-19 17:48:34 +0000
5049 Makefile.am: if in a git checkout, generate the ChangeLog (correctly)
5052 1 file changed, 1 insertion(+), 1 deletion(-)
5054 commit 06e9507ebca33369c106b616f948fe6af4fe71c9
5055 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5056 Date: 2006-12-19 17:44:35 +0000
5058 NEWS, README: 0.80rc3, a.k.a. 0.79.93
5062 2 files changed, 7 insertions(+), 1 deletion(-)
5064 commit d62626c19c32348c28b90e269c47635a421247f3
5065 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5066 Date: 2006-12-19 17:42:57 +0000
5068 .gitignore: ignore the generated Makefile
5071 1 file changed, 1 insertion(+)
5073 commit 75a897710ffafb1fc4df17460784829df844666f
5074 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5075 Date: 2006-12-19 17:37:11 +0000
5077 Makefile.am: if in a git checkout, generate the ChangeLog
5079 Makefile.am | 13 +++++++++++--
5080 1 file changed, 11 insertions(+), 2 deletions(-)
5082 commit 6020c7f6252833c2d5bf890c68335ee4cc6f777c
5083 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5084 Date: 2006-12-19 15:57:11 +0000
5086 dbus-python.h: Alter header comment, use a better cpp define name for the multiple-inclusion guard
5088 include/dbus-python.h | 10 ++++++----
5089 1 file changed, 6 insertions(+), 4 deletions(-)
5091 commit 75111a7da5f12f3f01d736694158ea266926139b
5092 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5093 Date: 2006-12-19 15:43:57 +0000
5095 Remove old introspect_parser from Makefile.am too
5098 1 file changed, 1 deletion(-)
5100 commit 550390810f9ee63a3f251e854f3e234c6a948436
5101 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5102 Date: 2006-12-19 15:17:12 +0000
5104 Remove old libxml2-based introspection parser
5106 dbus/introspect_parser.py | 90 ---------------------------------------------
5107 1 file changed, 90 deletions(-)
5109 commit d6bfbdd4a270a0b2421e8cba566805211b711c77
5110 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5111 Date: 2006-12-19 15:16:43 +0000
5113 Include the cross-test in 'make check'
5115 test/run-test.sh | 30 ++++++++++++++++++++++++++++++
5116 1 file changed, 30 insertions(+)
5118 commit 432694be74b0a6bfb5336e4fa493958b1bf1ac4e
5119 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5120 Date: 2006-12-19 15:16:22 +0000
5122 Add missing _expat_introspect_parser.py; fix cross-test to work for out-of-tree builds
5124 Makefile.am | 5 +++--
5125 1 file changed, 3 insertions(+), 2 deletions(-)
5127 commit 0bccb0f1fd68b224e7aee6d21aef8e36cdc8d980
5128 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5129 Date: 2006-12-19 15:15:01 +0000
5131 Remove Makefile (auto-generated since switching to autotools)
5133 Makefile | 1088 --------------------------------------------------------------
5134 1 file changed, 1088 deletions(-)
5136 commit b3c9b4c65aaefc6c940793e00fcdb60831367d10
5137 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5138 Date: 2006-12-19 14:45:16 +0000
5140 Add an Expat-based introspect parser, and use it instead of libxml2.
5141 (Removes dependency on libxml2.)
5143 dbus/_expat_introspect_parser.py | 83 ++++++++++++++++++++++++++++++++++++++
5144 dbus/proxies.py | 2 +-
5145 2 files changed, 84 insertions(+), 1 deletion(-)
5147 commit 164f38ea01187c1bbe9606dde81e09efd62362e5
5148 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5149 Date: 2006-12-19 14:24:45 +0000
5151 Pass introspection XML around as UTF-8, rather than decoding it to Unicode
5152 during unmarshalling and re-encoding it for libxml2.
5154 dbus/introspect_parser.py | 6 +++++-
5155 dbus/proxies.py | 2 +-
5156 2 files changed, 6 insertions(+), 2 deletions(-)
5158 commit 956a5c9e47e9504b67685a6bf582afd04c613fd3
5159 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5160 Date: 2006-12-19 14:21:10 +0000
5162 Respect utf8_strings, byte_arrays options when calling methods asynchronously.
5164 Also make it possible to fail the async call tests in test-client, and add a test case for utf8_strings in async use.
5166 dbus/proxies.py | 9 +++++----
5167 test/test-client.py | 38 +++++++++++++++++++++++++++++---------
5168 2 files changed, 34 insertions(+), 13 deletions(-)
5170 commit b4845467ec4e381f07dadf48ce67a7b02ac46618
5171 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5172 Date: 2006-12-19 14:05:15 +0000
5174 Do cross-product of options in more obvious way
5176 test/test-client.py | 25 +++++++++++++------------
5177 1 file changed, 13 insertions(+), 12 deletions(-)
5179 commit e6eb7b5307da2a446e1c8c6b0cb6b11fc6705b00
5180 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5181 Date: 2006-12-18 20:33:56 +0000
5183 Switch to autotools and test with Python 2.5 as well as 2.4.
5188 include/dbus-python.h: add some typedefs to make it saner
5189 bus.c, conn.c, conn-methods.c: further alter docstrings to keep epydoc happy
5190 exceptions.c: create exceptions in a more longwinded way for Python 2.5 compatibility
5191 message-get-args.c, bus/__init__.py: tweak docstrings
5192 dbus/introspect_parser.py: make docstring valid reStructuredText
5193 run-test.sh: simplify, since configure now does some of the work
5194 test/*.py: use paths from run-test.sh, cope with out-of-tree builds
5195 test-standalone.py: carry out additional sanity checks
5200 Makefile | 1108 +++++++++++++++++++++++++++++++-
5201 Makefile.am | 124 ++++
5203 _dbus_bindings/bus.c | 2 +-
5204 _dbus_bindings/conn-methods.c | 5 +-
5205 _dbus_bindings/conn.c | 4 +-
5206 _dbus_bindings/exceptions.c | 39 +-
5207 _dbus_bindings/message-get-args.c | 9 +-
5208 _dbus_bindings/module.c | 15 +-
5210 autotools/as-ac-expand.m4 | 40 ++
5211 autotools/jhflags.m4 | 21 +
5212 autotools/python.m4 | 62 ++
5213 configure.ac | 83 +++
5214 dbus-python.pc.in | 11 +
5215 dbus/__init__.py | 14 +-
5216 dbus/_version.py.in | 3 +
5217 dbus/introspect_parser.py | 10 +-
5218 include/dbus-python.h | 27 +-
5219 test/TestSuitePythonService.service.in | 3 +
5220 test/run-test.sh | 43 +-
5221 test/run-with-tmp-session-bus.sh | 51 ++
5222 test/test-client.py | 9 +-
5223 test/test-service.py | 9 +-
5224 test/test-signals.py | 9 +-
5225 test/test-standalone.py | 25 +-
5226 test/tmp-session-bus.conf.in | 21 +
5227 tools/run-with-tmp-session-bus.sh | 65 --
5228 tools/session.conf | 24 -
5229 32 files changed, 1722 insertions(+), 247 deletions(-)
5231 commit 73457d0e435f4a9be9a9980fb06dd004b87c6647
5232 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5233 Date: 2006-12-18 12:05:00 +0000
5235 bus.c, conn-methods.c, conn.c: Alter format of signatures in docstrings to keep epydoc happy
5237 _dbus_bindings/bus.c | 14 +++++++-------
5238 _dbus_bindings/conn-methods.c | 11 ++++++-----
5239 _dbus_bindings/conn.c | 5 +++--
5240 3 files changed, 16 insertions(+), 14 deletions(-)
5242 commit 358403cd0cba20ccda4961a39644c092a0f05b74
5243 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5244 Date: 2006-12-18 12:03:27 +0000
5246 include/dbus_bindings.h: Rename to include/dbus-python.h, improve namespacing.
5247 _dbus_bindings/conn-internal.h, _dbus_bindings/dbus_bindings-internal.h,
5248 _dbus_glib_bindings/module.c: Use dbus-python.h instead of dbus_bindings.h
5250 _dbus_bindings/conn-internal.h | 2 +-
5251 _dbus_bindings/dbus_bindings-internal.h | 4 +-
5252 _dbus_glib_bindings/module.c | 13 +++--
5253 include/dbus-python.h | 96 +++++++++++++++++++++++++++++++
5254 include/dbus_bindings.h | 96 -------------------------------
5255 5 files changed, 106 insertions(+), 105 deletions(-)
5257 commit f4bb2ca522a39fbbf2cce536410c973a73b9059c
5258 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5259 Date: 2006-12-15 12:56:36 +0000
5261 COMPAT.txt: cross off some to-do items, patches now sent upstream
5263 COMPAT.txt | 17 ++++++++---------
5264 1 file changed, 8 insertions(+), 9 deletions(-)
5266 commit 6376c0c422063a48554719f9ec72162c1b63fdda
5267 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5268 Date: 2006-12-14 16:18:13 +0000
5270 _dbus_bindings/module.c: If Python is older than 2.4.2c1, initialize threads.
5271 In newer versions the PyGILState API is allowed even when threads haven't been
5272 initialized yet, but in 2.4.1 it causes a crash. It's desirable to avoid
5273 initializing threads until just before the second thread is created, since
5274 this creates locking overhead which isn't needed until the app actually goes
5277 _dbus_bindings/module.c | 10 ++++++++++
5278 1 file changed, 10 insertions(+)
5280 commit 274314c98304fdaa23bcc7b3940ab48e7afe0e8c
5281 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5282 Date: 2006-12-13 15:02:36 +0000
5284 Bump version to 0.80rc2
5287 dbus/__init__.py | 4 ++--
5289 3 files changed, 4 insertions(+), 4 deletions(-)
5291 commit 8989e8da843210e7d18c456cfaa12cabc1015ac0
5292 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5293 Date: 2006-12-13 15:02:07 +0000
5295 MANIFEST.in: include Makefile (for the benefit of mjj29's interop test) and examples
5298 1 file changed, 2 insertions(+)
5300 commit 717c5b4b3852c5e519bc4a1ccb9df8414d4c019c
5301 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5302 Date: 2006-12-13 14:48:56 +0000
5304 list-system-services.py: Use the NULL_MAIN_LOOP
5306 examples/list-system-services.py | 4 +++-
5307 1 file changed, 3 insertions(+), 1 deletion(-)
5309 commit b70364f2a37e64585c53a72e36481407e375808c
5310 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5311 Date: 2006-12-13 14:40:32 +0000
5313 dbus/examples: Move to examples/ (it's not part of the library and isn't installed)
5315 dbus/examples/.cvsignore | 2 -
5316 dbus/examples/example-client.py | 51 -------------------
5317 dbus/examples/example-service.py | 50 -------------------
5318 dbus/examples/example-signal-emitter.py | 46 -----------------
5319 dbus/examples/example-signal-recipient.py | 77 -----------------------------
5320 dbus/examples/gconf-proxy-client.py | 15 ------
5321 dbus/examples/gconf-proxy-service2.py | 40 ---------------
5322 dbus/examples/list-system-services.py | 41 ---------------
5323 examples/.cvsignore | 2 +
5324 examples/example-client.py | 51 +++++++++++++++++++
5325 examples/example-service.py | 50 +++++++++++++++++++
5326 examples/example-signal-emitter.py | 46 +++++++++++++++++
5327 examples/example-signal-recipient.py | 77 +++++++++++++++++++++++++++++
5328 examples/gconf-proxy-client.py | 15 ++++++
5329 examples/gconf-proxy-service2.py | 40 +++++++++++++++
5330 examples/list-system-services.py | 41 +++++++++++++++
5331 16 files changed, 322 insertions(+), 322 deletions(-)
5333 commit c874bb37093c39e3dcc974c7bff39a36e4f7202a
5334 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5335 Date: 2006-12-13 14:39:03 +0000
5337 dbus/_dbus.py: Strongly reference shared connections, so they stay alive and signal handlers etc. stick. On close, remove them from the table of shared connections first
5339 dbus/_dbus.py | 8 +++++++-
5340 1 file changed, 7 insertions(+), 1 deletion(-)
5342 commit 4a7f442a322a8df6306f50ae22aaf049d3807c9f
5343 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5344 Date: 2006-12-13 14:36:00 +0000
5346 dbus/__init__.py: Import exceptions too in case someone is relying on it
5348 dbus/__init__.py | 1 +
5349 1 file changed, 1 insertion(+)
5351 commit 1cd510ab8be262106e1a57359a06708236b9dd39
5352 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5353 Date: 2006-12-13 13:53:38 +0000
5355 test/test-client.py: Add test case for weak reference logic (which would segfault on 0.80rc1)
5357 test/test-client.py | 10 ++++++++++
5358 1 file changed, 10 insertions(+)
5360 commit a3f966c49e6158a3382a2dce553b91ceb64376fe
5361 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5362 Date: 2006-12-13 13:50:38 +0000
5364 dbus/__init__.py: Import types submodule into dbus, because Sugar assumes it'll be available
5366 dbus/__init__.py | 3 +++
5367 1 file changed, 3 insertions(+)
5369 commit a4b88e345e8ee03ddcf12ce323730d12d51193db
5370 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5371 Date: 2006-12-13 13:49:38 +0000
5373 dbus/_dbus.py: Use absolute import for proxies
5375 dbus/_dbus.py | 2 +-
5376 1 file changed, 1 insertion(+), 1 deletion(-)
5378 commit 8edf45a9dc51a70ce4897606f4cd2b08e3536332
5379 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5380 Date: 2006-12-13 13:48:40 +0000
5382 message-append.c, message-get-args.c: Turn off debug messages even when debugging other things, they're too verbose
5384 _dbus_bindings/message-append.c | 1 +
5385 _dbus_bindings/message-get-args.c | 1 +
5386 2 files changed, 2 insertions(+)
5388 commit 422855dd98922b8a3038f7315809462ed6a54ba6
5389 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5390 Date: 2006-12-13 13:48:03 +0000
5392 _dbus_bindings/conn.c: Fix broken weak reference handling, which caused a segfault on OLPC.
5393 Also add debug related to this.
5395 _dbus_bindings/conn.c | 55 ++++++++++++++++++++++++++++++++++++++-----------
5396 1 file changed, 43 insertions(+), 12 deletions(-)
5398 commit 6ff6bd99176b7b1d7931bb16c8a7c8a75e3755ee
5399 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5400 Date: 2006-12-13 13:46:29 +0000
5402 conn-methods.c: Add tracing
5404 _dbus_bindings/conn-methods.c | 21 +++++++++++++++++++++
5405 1 file changed, 21 insertions(+)
5407 commit 98f392d386ae89e3b7ebe397beee6a15869511df
5408 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5409 Date: 2006-12-13 13:45:55 +0000
5411 conn-internal.h: Comment weakref list
5413 _dbus_bindings/conn-internal.h | 1 +
5414 1 file changed, 1 insertion(+)
5416 commit d1bc9f29818e576b07946e0ea9a89e90e1d5ec42
5417 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5418 Date: 2006-12-13 13:45:28 +0000
5420 bus.c: Add tracing and a couple of missed assertions
5422 _dbus_bindings/bus.c | 11 +++++++++++
5423 1 file changed, 11 insertions(+)
5425 commit 6afa6d2e76c83c921c799bec3a7b3259248eb57f
5426 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5427 Date: 2006-12-13 13:45:01 +0000
5429 Add TRACE macro and allow debug to be turned off per file
5431 _dbus_bindings/dbus_bindings-internal.h | 10 +++++++++-
5432 1 file changed, 9 insertions(+), 1 deletion(-)
5434 commit 2ad0498ce6f253da333907ed87df11c6b5a8cf1e
5435 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5436 Date: 2006-12-12 19:56:17 +0000
5438 conn.c: Correct number of varargs to debug message
5440 _dbus_bindings/conn.c | 2 +-
5441 1 file changed, 1 insertion(+), 1 deletion(-)
5443 commit 53c4f8628eac5c1ba62e9ccf3be6e1b4c0990b20
5444 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5445 Date: 2006-12-12 19:55:38 +0000
5447 conn.c: Use __func__ instead of incorrect __FUNC__
5449 _dbus_bindings/conn.c | 8 ++++----
5450 1 file changed, 4 insertions(+), 4 deletions(-)
5452 commit d8a2d78963cf76051a72bb18e7c9d9dd0afd27e8
5453 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5454 Date: 2006-12-12 19:54:05 +0000
5456 _dbus_bindings/bus.c, _dbus_bindings/conn-methods.c, _dbus_bindings/conn.c: Add lifecycle debugging and assertions
5458 _dbus_bindings/bus.c | 9 +++++++++
5459 _dbus_bindings/conn-methods.c | 28 +++++++++++++++++++++-------
5460 _dbus_bindings/conn.c | 31 +++++++++++++++++++++++++------
5461 3 files changed, 55 insertions(+), 13 deletions(-)
5463 commit 88306feb544fac52c5ffe7de48ef0fd07a59a749
5464 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5465 Date: 2006-12-12 19:46:54 +0000
5467 _dbus_bindings/dbus_bindings-internal.h: Add wrapper macro "DBG_WHEREAMI;"
5469 _dbus_bindings/dbus_bindings-internal.h | 4 +++-
5470 1 file changed, 3 insertions(+), 1 deletion(-)
5472 commit 883b24563b5f9bf406fcde5edb19caabbc812ac2
5473 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5474 Date: 2006-12-12 19:44:41 +0000
5476 Add assertion macros and supporting functions
5478 _dbus_bindings/dbus_bindings-internal.h | 28 +++++++++++++++++++++--
5479 _dbus_bindings/debug.c | 38 +++++++++++++++++++++++++++++--
5480 2 files changed, 62 insertions(+), 4 deletions(-)
5482 commit b7d21102b99e717e3b4f103d71ce96e8f056cfd4
5483 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5484 Date: 2006-12-11 21:57:52 +0000
5486 Whitespace consistency: Don't put a space between function name and parentheses around arguments
5488 _dbus_bindings/bus.c | 98 +++++++++---------
5489 _dbus_bindings/message-append.c | 92 ++++++++---------
5490 _dbus_bindings/message-get-args.c | 4 +-
5491 _dbus_bindings/message.c | 204 ++++++++++++++++++-------------------
5492 4 files changed, 199 insertions(+), 199 deletions(-)
5494 commit 830f94f31010d4783490217d4b02f6f87927ae4c
5495 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5496 Date: 2006-12-11 21:45:29 +0000
5498 Convert generic glue, main loop integration, message append/get_args, validation into separate translation units - no *-impl.h remaining
5500 _dbus_bindings/dbus_bindings-internal.h | 8 +
5501 _dbus_bindings/generic-impl.h | 78 ---
5502 _dbus_bindings/generic.c | 80 +++
5503 _dbus_bindings/mainloop-impl.h | 606 -------------------
5504 _dbus_bindings/mainloop.c | 538 +++++++++++++++++
5505 _dbus_bindings/message-append-impl.h | 974 ------------------------------
5506 _dbus_bindings/message-append.c | 975 +++++++++++++++++++++++++++++++
5507 _dbus_bindings/message-get-args-impl.h | 511 ----------------
5508 _dbus_bindings/message-get-args.c | 512 ++++++++++++++++
5509 _dbus_bindings/message-internal.h | 48 ++
5510 _dbus_bindings/message.c | 91 ++-
5511 _dbus_bindings/module.c | 191 +++++-
5512 _dbus_bindings/validation-impl.h | 352 -----------
5513 _dbus_bindings/validation.c | 243 ++++++++
5515 15 files changed, 2636 insertions(+), 2576 deletions(-)
5517 commit 8ab339978d34b8c14dcf53aa6fbf228efb9130c6
5518 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5519 Date: 2006-12-11 20:30:19 +0000
5521 Separate out remaining types (abstract, bytes, containers, int, float, signature, string) into separate translation units
5524 _dbus_bindings/abstract-impl.h | 499 --------------
5525 _dbus_bindings/abstract.c | 508 ++++++++++++++
5526 _dbus_bindings/bytes-impl.h | 283 --------
5527 _dbus_bindings/bytes.c | 291 ++++++++
5528 _dbus_bindings/containers-impl.h | 618 -----------------
5529 _dbus_bindings/containers.c | 626 ++++++++++++++++++
5530 _dbus_bindings/dbus_bindings-internal.h | 15 +
5531 _dbus_bindings/float.c | 157 +++++
5532 _dbus_bindings/floattypes-impl.h | 149 -----
5533 _dbus_bindings/generic-impl.h | 4 +-
5534 _dbus_bindings/int.c | 791 ++++++++++++++++++++++
5535 _dbus_bindings/module.c | 32 +-
5536 _dbus_bindings/signature-impl.h | 237 -------
5537 _dbus_bindings/signature.c | 245 +++++++
5538 _dbus_bindings/string.c | 347 ++++++++++
5539 _dbus_bindings/types-impl.h | 1100 -------------------------------
5540 _dbus_bindings/types-internal.h | 10 +-
5542 19 files changed, 3017 insertions(+), 2912 deletions(-)
5544 commit 14df12b437c1d8e0ce79aa90c99d58c820a94048
5545 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5546 Date: 2006-12-11 20:06:09 +0000
5548 Split out exceptions, pending call, message into separate .c files
5550 _dbus_bindings/abstract-impl.h | 143 ++---
5551 _dbus_bindings/bus.c | 4 +-
5552 _dbus_bindings/bytes-impl.h | 48 +-
5553 _dbus_bindings/conn.c | 14 +-
5554 _dbus_bindings/containers-impl.h | 141 ++---
5555 _dbus_bindings/dbus_bindings-internal.h | 45 +-
5556 _dbus_bindings/exceptions-impl.h | 71 ---
5557 _dbus_bindings/exceptions.c | 64 ++
5558 _dbus_bindings/floattypes-impl.h | 34 +-
5559 _dbus_bindings/generic-impl.h | 13 +-
5560 _dbus_bindings/mainloop-impl.h | 30 +-
5561 _dbus_bindings/message-append-impl.h | 70 ++-
5562 _dbus_bindings/message-get-args-impl.h | 55 +-
5563 _dbus_bindings/message-impl.h | 1039 ------------------------------
5564 _dbus_bindings/message.c | 1050 +++++++++++++++++++++++++++++++
5565 _dbus_bindings/module.c | 15 +-
5566 _dbus_bindings/pending-call-impl.h | 290 ---------
5567 _dbus_bindings/pending-call.c | 292 +++++++++
5568 _dbus_bindings/signature-impl.h | 24 +-
5569 _dbus_bindings/types-impl.h | 261 ++++----
5570 _dbus_bindings/types-internal.h | 81 +++
5572 22 files changed, 1895 insertions(+), 1892 deletions(-)
5574 commit 7ee3e9020ae67172b82b39fee05d25db3f43ea08
5575 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5576 Date: 2006-12-08 17:57:12 +0000
5578 _dbus_bindings: debug-impl.h -> debug.c
5580 _dbus_bindings/debug-impl.h | 60 -------------------------------------------
5581 _dbus_bindings/debug.c | 60 +++++++++++++++++++++++++++++++++++++++++++
5582 _dbus_bindings/module.c | 1 -
5584 4 files changed, 62 insertions(+), 61 deletions(-)
5586 commit 3273a66c7b0d8a91ffe68732a482d17775627273
5587 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5588 Date: 2006-12-08 17:55:24 +0000
5590 _dbus_bindings: bus-impl.h -> bus.c
5592 _dbus_bindings/bus-impl.h | 417 -------------------------------
5593 _dbus_bindings/bus.c | 417 +++++++++++++++++++++++++++++++
5594 _dbus_bindings/dbus_bindings-internal.h | 4 +
5595 _dbus_bindings/module.c | 5 +-
5596 4 files changed, 423 insertions(+), 420 deletions(-)
5598 commit f50c6643bf9fe153a7add75ca150a1470b7eb63a
5599 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5600 Date: 2006-12-08 17:50:25 +0000
5602 _dbus_bindings: split out conn, conn-methods into separate translation units
5604 _dbus_bindings/bus-impl.h | 35 +-
5605 _dbus_bindings/conn-impl.h | 590 ---------------------
5606 _dbus_bindings/conn-internal.h | 52 ++
5607 _dbus_bindings/conn-methods-impl.h | 687 ------------------------
5608 _dbus_bindings/conn-methods.c | 862 +++++++++++++++++++++++++++++++
5609 _dbus_bindings/conn.c | 390 ++++++++++++++
5610 _dbus_bindings/dbus_bindings-internal.h | 113 ++++
5611 _dbus_bindings/debug-impl.h | 39 +-
5612 _dbus_bindings/exceptions-impl.h | 28 +-
5613 _dbus_bindings/generic-impl.h | 16 +-
5614 _dbus_bindings/mainloop-impl.h | 47 +-
5615 _dbus_bindings/message-impl.h | 57 +-
5616 _dbus_bindings/module.c | 8 +-
5617 _dbus_bindings/pending-call-impl.h | 7 +-
5618 _dbus_bindings/types-impl.h | 2 +-
5619 _dbus_bindings/validation-impl.h | 28 +-
5620 include/dbus_bindings.h | 7 +-
5622 18 files changed, 1552 insertions(+), 1422 deletions(-)
5624 commit 380b44d38d333092bc9fe2eae8b7a836cb2791c7
5625 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5626 Date: 2006-12-08 16:10:12 +0000
5628 _dbus_bindings/conn-impl.h: Be more careful that referenced Connections always have a DBusConnection
5630 _dbus_bindings/conn-impl.h | 26 ++++++++++++++++++++++----
5631 1 file changed, 22 insertions(+), 4 deletions(-)
5633 commit 93b846e642ea1830b40aee6dfc600b8cd18b51bf
5634 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5635 Date: 2006-12-08 16:08:56 +0000
5637 _dbus_bindings/bus-impl.h: Correctly construct Bus objects with non-default addresses
5639 _dbus_bindings/bus-impl.h | 2 ++
5640 1 file changed, 2 insertions(+)
5642 commit 9c4374aba50a9de68e307b85dc0f4d0425ee0b1b
5643 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5644 Date: 2006-12-07 18:43:07 +0000
5646 gconf-proxy-{client,service2}.py: Print a message warning that these might not work.
5647 gconf-proxy-service.py: Delete, it uses API which was obsoleted long ago.
5649 dbus/examples/gconf-proxy-client.py | 2 ++
5650 dbus/examples/gconf-proxy-service.py | 43 ---------------------------------
5651 dbus/examples/gconf-proxy-service2.py | 1 +
5652 3 files changed, 3 insertions(+), 43 deletions(-)
5654 commit 11757fcd9434e1e541c928ee34a6294a120bc0eb
5655 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5656 Date: 2006-12-07 18:40:31 +0000
5658 dbus/examples/example-*.py: update to current API
5660 dbus/examples/example-client.py | 49 ++++++++++++++++----
5661 dbus/examples/example-service.py | 46 +++++++++++++------
5662 dbus/examples/example-signal-emitter.py | 39 +++++++++++-----
5663 dbus/examples/example-signal-recipient.py | 71 +++++++++++++++++++----------
5664 4 files changed, 147 insertions(+), 58 deletions(-)
5666 commit ed1306b347fedce65a24bf525ad9d430bcfdf15d
5667 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5668 Date: 2006-12-07 18:39:51 +0000
5670 dbus/_dbus.py, dbus/proxies.py: Add keyword arguments interface_keyword, member_keyword, destination_keyword (completing the set of useful message fields for signal handlers); also add message_keyword (for advanced use)
5672 dbus/_dbus.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
5673 dbus/proxies.py | 14 ++++++++++++++
5674 2 files changed, 61 insertions(+), 2 deletions(-)
5676 commit 14bf5b0eb6dcd7da8b4f3e90d55480dfa0c4b9b7
5677 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5678 Date: 2006-12-07 18:37:58 +0000
5680 dbus/decorators: Remove explicitly_pass_message
5682 dbus/decorators.py | 21 +--------------------
5683 1 file changed, 1 insertion(+), 20 deletions(-)
5685 commit 090091828e1d616171601d68aed00991d93dfd49
5686 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
5687 Date: 2006-12-07 16:53:42 +0000
5689 examples/list-system-services.py: Print services in a nicer form, once per line. Offer to connect to the session bus instead.
5691 dbus/examples/list-system-services.py | 47 +++++++++++++++++++++++----------
5692 1 file changed, 33 insertions(+), 14 deletions(-)
5694 commit 9802e3eb22d1ed464eec71153067593db7071764
5695 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5696 Date: 2006-12-06 12:56:59 +0000
5698 NEWS, setup.py, dbus/__init__.py: Bump version to 0.80rc1, aka 0.79.91
5700 NEWS | 22 ++++++++++++++++++++++
5701 dbus/__init__.py | 4 ++--
5703 3 files changed, 25 insertions(+), 3 deletions(-)
5705 commit c5c7185c7638b650608a0854f28afbd94208ab02
5706 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5707 Date: 2006-12-05 18:46:45 +0000
5709 MANIFEST.in: add TODO (but not COMPAT.txt, which shouldn't go in the sdist)
5712 1 file changed, 1 insertion(+)
5714 commit 49ea22f2a1be697437f7c232613c87920957bc86
5715 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5716 Date: 2006-12-05 18:38:36 +0000
5718 TODO, COMPAT.txt: add
5720 COMPAT.txt | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
5722 2 files changed, 56 insertions(+)
5724 commit aa0710da718fb04079076b6b02c486a177323322
5725 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5726 Date: 2006-12-05 18:37:54 +0000
5728 dbus/__init__.py, dbus/_dbus.py, dbus/service.py: Improve docstrings, imports, __all__
5730 dbus/__init__.py | 160 ++++++++++++++++++++++++++++++++++++++++++++++++++----
5731 dbus/_dbus.py | 96 +++++++++-----------------------
5732 dbus/service.py | 49 +++++++++++++----
5733 3 files changed, 213 insertions(+), 92 deletions(-)
5735 commit 31ecbdd6c42cd508ae6510e9655a805094f04b31
5736 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5737 Date: 2006-12-05 18:36:53 +0000
5739 _dbus_bindings/validation-impl.h: Mark new functions as :Since: 0.80
5741 _dbus_bindings/validation-impl.h | 9 +++++++++
5742 1 file changed, 9 insertions(+)
5744 commit e4a70180d3ab0eb77264dc1a9f22b2521e5d3607
5745 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5746 Date: 2006-12-05 18:36:21 +0000
5748 _dbus_bindings/types-impl.h: Always implement Int64 and UInt64 at least as a stub, raising NotImplementedError from the constructor on 64-bit-deficient platforms. Improve docstrings.
5750 _dbus_bindings/types-impl.h | 258 ++++++++++++++++++++++++++++++++++++-------
5751 1 file changed, 217 insertions(+), 41 deletions(-)
5753 commit 34b237b3e1ed0c6665892f3a4765b09e29bdb3a5
5754 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5755 Date: 2006-12-05 18:34:58 +0000
5757 _dbus_bindings/signature-impl.h: Improve Signature class docstring
5759 _dbus_bindings/signature-impl.h | 19 ++++++++++++++++---
5760 1 file changed, 16 insertions(+), 3 deletions(-)
5762 commit 69d95e61f95c21708596d2f973f46cde61521e68
5763 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5764 Date: 2006-12-05 18:34:21 +0000
5766 _dbus_bindings/message-append-impl.h, _dbus_bindings/message-get-args.h: Use PY_LONG_LONG rather than long long to support deficient platforms; consistently use NotImplementedError for platforms with no PY_LONG_LONG type
5768 _dbus_bindings/message-append-impl.h | 6 +++---
5769 _dbus_bindings/message-get-args-impl.h | 9 +++++----
5770 2 files changed, 8 insertions(+), 7 deletions(-)
5772 commit 4ed5dcb72bcc41aa9327461a0cad325fa8d1afbd
5773 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5774 Date: 2006-12-05 18:32:25 +0000
5776 _dbus_bindings/containers-impl.h: Disallow empty structs. Improve docstrings
5778 _dbus_bindings/containers-impl.h | 80 +++++++++++++++++++++++++++++++-------
5779 1 file changed, 67 insertions(+), 13 deletions(-)
5781 commit 42ea333ddd2351b4dc87c12089efbda89165783b
5782 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5783 Date: 2006-12-05 18:31:54 +0000
5785 _dbus_bindings/module.c: Add Constructor, Supported usage field declarations for epydoc
5787 _dbus_bindings/module.c | 6 +++++-
5788 1 file changed, 5 insertions(+), 1 deletion(-)
5790 commit 4779424a806aecfce2754eb8fc4673f0ce35823e
5791 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5792 Date: 2006-12-05 11:36:50 +0000
5794 dbus/decorators.py: Say that explicitly_pass_message() is deprecated
5796 dbus/decorators.py | 13 +++++++++----
5797 1 file changed, 9 insertions(+), 4 deletions(-)
5799 commit c08743227d9e78da2d02d1e1f5a621d43d38efc4
5800 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5801 Date: 2006-12-05 11:36:17 +0000
5803 dbus/glib.py: mention that the new API only works in >= 0.80
5805 dbus/glib.py | 6 +++---
5806 1 file changed, 3 insertions(+), 3 deletions(-)
5808 commit cb7538d514e968c19c3fea74bd5de89330112ed5
5809 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5810 Date: 2006-12-05 11:35:51 +0000
5812 dbus/introspect_parser.py: Add docstring for process_introspection_data()
5814 dbus/introspect_parser.py | 12 ++++++++++++
5815 1 file changed, 12 insertions(+)
5817 commit 3c606fda6ea70622ee234cc51d63644ab27e6e55
5818 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5819 Date: 2006-12-05 11:35:23 +0000
5821 dbus/mainloop/__init__.py, dbus/mainloop/glib.py: Add docstrings
5823 dbus/mainloop/__init__.py | 4 ++++
5824 dbus/mainloop/glib.py | 7 +++++++
5825 2 files changed, 11 insertions(+)
5827 commit 0c7cc37a5ac8fe1a044cfcf6d615aa8341dcb30e
5828 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5829 Date: 2006-12-05 11:34:54 +0000
5831 dbus/proxies.py: trivial change to process_introspection_data() invocation: import and "." => from-import
5833 dbus/proxies.py | 4 ++--
5834 1 file changed, 2 insertions(+), 2 deletions(-)
5836 commit 01a91b63644b7f1e8b23dea20f639a9b13bb36ef
5837 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5838 Date: 2006-12-05 11:33:51 +0000
5840 setup.py, dbus/matchrules.py: Remove obsolete dbus.matchrules (the new implementation is in _dbus)
5842 dbus/matchrules.py | 271 ----------------------------------------------------
5844 2 files changed, 272 deletions(-)
5846 commit 3655f865eb742eacc9f677c34757b0f115a7179b
5847 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5848 Date: 2006-12-05 11:33:10 +0000
5850 Stop asserting that dbus.Struct(()) works
5852 test/test-standalone.py | 4 ++--
5853 1 file changed, 2 insertions(+), 2 deletions(-)
5855 commit 880a2a87e78355e546dc97f0661f500c1c42da73
5856 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5857 Date: 2006-12-04 14:13:24 +0000
5859 dbus/__init__.py: remove FIXME comment
5861 dbus/__init__.py | 4 ----
5862 1 file changed, 4 deletions(-)
5864 commit 8339653949802cb296811fe488b53b721d63e0f7
5865 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5866 Date: 2006-12-04 14:11:40 +0000
5868 dbus/proxies.py: Ignore unused result from send_message. Pass on SignalMatch result from add_signal_receiver() so caller can disconnect the signal more easily.
5870 dbus/proxies.py | 3 ++-
5871 1 file changed, 2 insertions(+), 1 deletion(-)
5873 commit 539faca6578f418da4bbbbd9d4a77c2f5fad682c
5874 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5875 Date: 2006-12-04 13:43:42 +0000
5877 dbus/introspect_parser.py: Import the right exceptions module, so we can raise the right exception
5879 dbus/introspect_parser.py | 2 +-
5880 1 file changed, 1 insertion(+), 1 deletion(-)
5882 commit f6284a1b6552652c84e76585fd208ea361ff288b
5883 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5884 Date: 2006-12-04 13:42:43 +0000
5886 test/test-signals.py: add test case for signal handling; test/run-test.sh: run test-signals.
5888 test/run-test.sh | 3 ++
5889 test/test-signals.py | 128 ++++++++++++++++++++++++++++++++++++++++++++++++++
5890 2 files changed, 131 insertions(+)
5892 commit 14ae543d77a0d6ec72d10ba33c5a50c801f1feab
5893 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5894 Date: 2006-12-04 13:41:48 +0000
5896 dbus/_dbus.py: Re-work signal matching so it does the right thing when name ownership changes
5898 dbus/_dbus.py | 410 ++++++++++++++++++++++++++++++++++++++++++++-------------
5899 1 file changed, 322 insertions(+), 88 deletions(-)
5901 commit 601a1a2b4bbabebb248310334a60413bffde9780
5902 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5903 Date: 2006-12-04 13:35:24 +0000
5905 _dbus_bindings/bus-impl.h: Correct docstring for Bus.remove_match_string
5907 _dbus_bindings/bus-impl.h | 2 +-
5908 1 file changed, 1 insertion(+), 1 deletion(-)
5910 commit a61bb622aa26d48de7cb1cb269d4b4cfc75dda3f
5911 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5912 Date: 2006-11-30 17:23:38 +0000
5914 dbus._dbus, dbus.decorators, dbus.service: Update names of newly public low-level methods
5916 dbus/_dbus.py | 2 +-
5917 dbus/decorators.py | 2 +-
5918 dbus/service.py | 4 ++--
5919 3 files changed, 4 insertions(+), 4 deletions(-)
5921 commit 469c2586d661e16193c9d22772b37d2fe98ad5da
5922 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5923 Date: 2006-11-30 17:22:49 +0000
5925 _dbus_bindings/pending-call-impl.h: Fix reference counting
5927 _dbus_bindings/pending-call-impl.h | 8 ++++++--
5928 1 file changed, 6 insertions(+), 2 deletions(-)
5930 commit 2c5f7716211f0157bf6a4fe93ea3df7f03c5f5e8
5931 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5932 Date: 2006-11-30 17:15:00 +0000
5934 _dbus_bindings/mainloop-impl.h: Fix compilation with debug enabled
5936 _dbus_bindings/mainloop-impl.h | 8 ++++----
5937 1 file changed, 4 insertions(+), 4 deletions(-)
5939 commit 114f98df9c1a6897b0030430550a23b3d5da0a83
5940 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5941 Date: 2006-11-30 17:02:02 +0000
5943 dbus.proxies: Alter calls to methods which have become public
5945 dbus/proxies.py | 16 +++++++---------
5946 1 file changed, 7 insertions(+), 9 deletions(-)
5948 commit 535e860b648798aae2644b2b222f19990484be88
5949 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5950 Date: 2006-11-30 17:00:07 +0000
5952 setup.py: Add dbus.lowlevel
5955 1 file changed, 1 insertion(+)
5957 commit 4237e29b6f76e7dcfc1b34b984f9640e9a57fb7d
5958 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5959 Date: 2006-11-30 16:59:48 +0000
5961 dbus/__init__.py: Document existence of dbus.lowlevel
5963 dbus/__init__.py | 2 +-
5964 1 file changed, 1 insertion(+), 1 deletion(-)
5966 commit 0586633996ed3d529588b1c429f2dd02ecb9bf5a
5967 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5968 Date: 2006-11-30 16:59:22 +0000
5970 _dbus_bindings/pending-call-impl.h: Make block() public and work around dbus_pending_call_set_notify() race
5972 _dbus_bindings/pending-call-impl.h | 75 ++++++++++++++++++++++++++++++------
5973 1 file changed, 64 insertions(+), 11 deletions(-)
5975 commit 181ff34cbd75fdb0cdfe71628f22d7b5f4b34d7b
5976 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5977 Date: 2006-11-30 16:58:18 +0000
5979 dbus.lowlevel: Add module exposing lower-level classes for advanced users
5980 _dbus_bindings/message-impl.h: Indicate that Message classes' "official"
5981 location is dbus.lowlevel
5983 _dbus_bindings/message-impl.h | 10 +++++-----
5984 dbus/lowlevel.py | 27 +++++++++++++++++++++++++++
5985 2 files changed, 32 insertions(+), 5 deletions(-)
5987 commit 79abbf3a2c3ddd67e8b655f597f74cca347c4a26
5988 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5989 Date: 2006-11-30 16:56:49 +0000
5991 Make send, etc. public, but rename to send_message etc.
5993 _dbus_bindings/conn-methods-impl.h | 85 +++++++++++++++++++++---------------
5994 1 file changed, 49 insertions(+), 36 deletions(-)
5996 commit 7db487a5e4efcdaf6c8ff59dfa6f26c5042ee1e9
5997 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
5998 Date: 2006-11-30 13:48:26 +0000
6000 Document the absence of dbus.mainloop.MainLoop in this release.
6001 Add get_object_by_unique_name to Bus objects.
6003 _dbus_bindings/mainloop-impl.h | 14 ++++++-----
6004 dbus/_dbus.py | 54 ++++++++++++++++++++++++++++++++++------
6005 dbus/proxies.py | 3 +++
6006 3 files changed, 58 insertions(+), 13 deletions(-)
6008 commit 69660ac1b650a2328f21dc2d9953700d1efe1e17
6009 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6010 Date: 2006-11-30 11:08:41 +0000
6012 API_CHANGES.txt: Document mainloop changes
6014 API_CHANGES.txt | 63 ++++++++++++++++++++++++++++++++++++++++++++++++-------
6015 1 file changed, 55 insertions(+), 8 deletions(-)
6017 commit 77778920c41ddc3fe99771f4bd0f865e9550868c
6018 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6019 Date: 2006-11-30 11:08:08 +0000
6021 dbus/mainloop/__init__.py: Export glib submodule; improve docstrings
6023 dbus/mainloop/__init__.py | 41 +++++++++++++++++++++++++++++++++++------
6024 1 file changed, 35 insertions(+), 6 deletions(-)
6026 commit c5e4c6f8d67ad4305ab7e2254de10a6320b9c305
6027 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6028 Date: 2006-11-30 11:07:16 +0000
6030 Emulate old bus_request_name, bus_release_name
6032 dbus/dbus_bindings.py | 4 ++++
6033 1 file changed, 4 insertions(+)
6035 commit e54d3f2c370ebcdb07269b49081519017981bcdb
6036 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6037 Date: 2006-11-30 11:06:53 +0000
6039 dbus/service.py: Allow a Connection as parameter to Object constructor, to avoid having to have a well-known bus name
6041 dbus/service.py | 44 +++++++++++++++++++++++++++++++-------------
6042 1 file changed, 31 insertions(+), 13 deletions(-)
6044 commit 6120021f3563f2df73fc35b2ded4ae30958a47da
6045 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6046 Date: 2006-11-30 11:05:55 +0000
6048 dbus/__init__.py: Export get_default_main_loop, set_default_main_loop and submodules service and mainloop
6050 dbus/__init__.py | 4 ++++
6051 1 file changed, 4 insertions(+)
6053 commit 9c1b58183966ae8a622796ae3df4a5a699bfd5fc
6054 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6055 Date: 2006-11-30 11:05:17 +0000
6057 dbus/glib.py: Use new API to set main loop as default
6059 dbus/glib.py | 13 ++++++++++++-
6060 1 file changed, 12 insertions(+), 1 deletion(-)
6062 commit f3a23de9e022e708b9884d36f65ab9ccaf634bee
6063 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6064 Date: 2006-11-30 11:04:48 +0000
6066 dbus/_dbus.py: Import get_default_main_loop, set_default_main_loop
6068 dbus/_dbus.py | 14 ++++++++++++--
6069 1 file changed, 12 insertions(+), 2 deletions(-)
6071 commit 605a8ec83eba854b319d94c9fee3467e52999005
6072 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6073 Date: 2006-11-30 11:04:06 +0000
6075 _dbus_glib_bindings/module.c: Support set_as_default keyword argument
6077 _dbus_glib_bindings/module.c | 50 +++++++++++++++++++++++++++++++++++++-----
6078 1 file changed, 44 insertions(+), 6 deletions(-)
6080 commit 3aff827e8fe14a9fb9b1846e00c32f01afee40b2
6081 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6082 Date: 2006-11-30 11:03:19 +0000
6084 _dbus_bindings: Change default-main-loop API to use global functions
6085 get_default_main_loop, set_default_main_loop. Improve docstrings
6087 _dbus_bindings/bus-impl.h | 5 +--
6088 _dbus_bindings/conn-impl.h | 32 +++++++----------
6089 _dbus_bindings/conn-methods-impl.h | 56 -----------------------------
6090 _dbus_bindings/mainloop-impl.h | 70 ++++++++++++++++++++++++++++++++++--
6091 _dbus_bindings/module.c | 12 ++++---
6092 5 files changed, 91 insertions(+), 84 deletions(-)
6094 commit 919cd3aeac6676b19246091a6ff762bb6e154773
6095 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6096 Date: 2006-11-24 13:00:13 +0000
6098 include/dbus_bindings.h: Put _dbus_bindings in a static variable when imported
6099 into e.g. _dbus_glib_bindings. Re-indent for consistency.
6101 include/dbus_bindings.h | 53 +++++++++++++++++++++++++----------------------
6102 1 file changed, 28 insertions(+), 25 deletions(-)
6104 commit 16d460e5c4987d67a4db248c5fd1a69ca8b0ab23
6105 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6106 Date: 2006-11-24 12:58:39 +0000
6108 setup.py: Don't remove ChangeLog on clean.
6109 Yes, it's generated, but that just means it shouldn't be in the git repo; it
6110 should still appear in tarballs.
6112 setup.py | 12 +-----------
6113 1 file changed, 1 insertion(+), 11 deletions(-)
6115 commit 894bafef2cae44d4b41845ed900cffe65dd63900
6116 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6117 Date: 2006-11-23 16:44:21 +0000
6119 _dbus_bindings/mainloop-impl.h: Add Watch and Timeout types
6120 _dbus_bindings/generic-impl.h: Add Glue_tp_hash_by_pointer and Glue_tp_richcompare_by_pointer to support the above
6122 _dbus_bindings/generic-impl.h | 23 +++
6123 _dbus_bindings/mainloop-impl.h | 354 ++++++++++++++++++++++++++++++++++++++++
6124 2 files changed, 377 insertions(+)
6126 commit aabf7935466aee3c8cc82f9c08a39017fcb603f8
6127 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6128 Date: 2006-11-23 16:43:05 +0000
6130 _dbus_bindings/conn-methods-impl.h: Correct docstring: there is no dbus.mainloop.base
6132 _dbus_bindings/conn-methods-impl.h | 4 ++--
6133 1 file changed, 2 insertions(+), 2 deletions(-)
6135 commit 4a51f14170ffa4750b459fa4250bd7ce89bfa801
6136 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6137 Date: 2006-11-22 18:27:27 +0000
6139 Bump version to 0.80pre2 (or internally 0.79.2)
6141 dbus/__init__.py | 4 ++--
6143 2 files changed, 3 insertions(+), 3 deletions(-)
6145 commit 49c03f8525e321467eca862b186fa58ff2621f18
6146 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6147 Date: 2006-11-22 18:25:47 +0000
6149 MANIFEST.in: include MANIFEST.in itself
6152 1 file changed, 1 insertion(+)
6154 commit f064ecd77fb99506ea32c500e687a59ee68d9425
6155 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6156 Date: 2006-11-22 18:24:48 +0000
6158 Include top-level dbus_bindings.py (missed in previous commit)
6160 dbus_bindings.py | 5 +++++
6161 1 file changed, 5 insertions(+)
6163 commit 5bcdc1378cceb0885fc2138e55259f15a83fa1ce
6164 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6165 Date: 2006-11-22 18:18:13 +0000
6167 Add short-term backwards compatibility with dbus_bindings (various programs try to catch dbus_bindings.DBusException)
6169 _dbus_bindings/dbus_bindings.py | 27 ---------------------------
6170 dbus/__init__.py | 1 +
6171 dbus/_dbus.py | 34 ++++++++++++++++++++++++++++++++++
6172 dbus/dbus_bindings.py | 22 ++++++++++++++++++++++
6174 5 files changed, 59 insertions(+), 27 deletions(-)
6176 commit 08971243466ab63ea19a20a1c1f1fd0d98714541
6177 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6178 Date: 2006-11-22 17:34:56 +0000
6180 Remove _dbus_bindings/test.py (duplicates bits of test-standalone)
6182 _dbus_bindings/test.py | 30 ------------------------------
6183 1 file changed, 30 deletions(-)
6185 commit 4a0902b38a50d34f28ce022fe0684aec8ce91718
6186 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6187 Date: 2006-11-22 17:33:59 +0000
6189 MANIFEST.in: pass through LC_ALL=C sort -k2
6191 MANIFEST.in | 13 ++++++-------
6192 1 file changed, 6 insertions(+), 7 deletions(-)
6194 commit f2c08d18ac2645311e4c0d94da0b06b3754a6def
6195 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6196 Date: 2006-11-22 17:28:56 +0000
6198 Add improved main-loop integration.
6199 Currently only GLib (with the default main context) and a "null main loop"
6200 are supported, but a pure-Python main loop could be supported without
6201 incompatible API changes.
6203 _dbus_bindings/bus-impl.h | 19 ++--
6204 _dbus_bindings/conn-impl.h | 55 ++++++++----
6205 _dbus_bindings/conn-methods-impl.h | 56 ++++++++++++
6206 _dbus_bindings/mainloop-impl.h | 175 ++++++++++++++++++++++++++++++++++++
6207 _dbus_bindings/module.c | 22 ++++-
6208 _dbus_glib_bindings/module.c | 65 +++++++++++++-
6209 dbus/__init__.py | 2 -
6210 dbus/_dbus.py | 74 ++++++++-------
6211 dbus/glib.py | 15 +---
6212 dbus/mainloop/__init__.py | 7 ++
6213 dbus/mainloop/glib.py | 32 +++++++
6214 dbus/proxies.py | 9 --
6215 include/dbus_bindings.h | 44 +++++++--
6217 14 files changed, 474 insertions(+), 103 deletions(-)
6219 commit aad4ee9dfbe203e74bffb0ec93bdd180143e4cee
6220 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6221 Date: 2006-11-21 18:13:14 +0000
6223 _dbus_bindings/conn-impl.h: Check for errors, printing them if necessary, before releasing GIL
6225 _dbus_bindings/conn-impl.h | 6 ++++++
6226 1 file changed, 6 insertions(+)
6228 commit df744af92832a69dbdbe97014bee38f6271ca30a
6229 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6230 Date: 2006-11-16 14:34:21 +0000
6232 Bump version to 0.80~pre1 (but in __init__.py, write it as 0.79.1)
6234 dbus/__init__.py | 3 ++-
6236 2 files changed, 3 insertions(+), 2 deletions(-)
6238 commit 9e682a1a6d60bc31b63552c240718a9b7583f1c7
6239 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6240 Date: 2006-11-16 14:25:27 +0000
6242 MANIFEST.in: remove README, which doesn't exist
6245 1 file changed, 1 deletion(-)
6247 commit 280061c0e03fb59f1eabf950fa4ab0716b4b7a39
6248 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6249 Date: 2006-11-15 19:26:56 +0000
6251 dbus._dbus, dbus.proxies: Raise RuntimeError when user tries to do async calls or receive signals without a main loop
6252 This makes the Connection base class useless, but should let people know
6253 that they need to use dbus.glib for async functionality. I do intend to
6254 replace the mainloop integration so GLib isn't the only option.
6256 dbus/_dbus.py | 10 ++++++++++
6257 dbus/proxies.py | 9 +++++++++
6258 2 files changed, 19 insertions(+)
6260 commit 48a87921075edbe3b94cdd1ddfef90b8f6e3a152
6261 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6262 Date: 2006-11-15 19:02:20 +0000
6264 HACKING.txt: fix typo
6267 1 file changed, 1 insertion(+), 1 deletion(-)
6269 commit 192d203341d584a3f6502d0c3fb45d26870e7698
6270 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6271 Date: 2006-11-15 16:31:23 +0000
6273 dbus._dbus, cross-test-server: fix signal calling convention support, and test it in cross-test-server
6275 dbus/_dbus.py | 3 ++-
6276 test/cross-test-server.py | 7 +++++--
6277 2 files changed, 7 insertions(+), 3 deletions(-)
6279 commit 1974c56c89080df4d38eba8b5d251680b5c42131
6280 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6281 Date: 2006-11-15 16:04:38 +0000
6283 dbus._dbus, dbus.matchrules, dbus.proxies: Support utf8_strings and byte_arrays calling convention options to signal handlers. Handle arg matches containing "'" correctly
6285 dbus/_dbus.py | 52 +++++++++++++++++++++++++++++++++++++++++++---------
6286 dbus/matchrules.py | 44 ++++++++++++++++++++++++++++++--------------
6287 dbus/proxies.py | 18 ++++++++++++++++--
6288 3 files changed, 89 insertions(+), 25 deletions(-)
6290 commit 069d09797e22cf6d70c82c9b39edb3a094dd1e83
6291 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6292 Date: 2006-11-15 15:51:28 +0000
6294 dbus._dbus: Whitespace
6296 dbus/_dbus.py | 11 ++++++-----
6297 1 file changed, 6 insertions(+), 5 deletions(-)
6299 commit b02991564418e2136ac305669afa8457595fd397
6300 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6301 Date: 2006-11-15 15:44:09 +0000
6303 _dbus_bindings/bus-impl.h: Remove duplicate registration of name_has_owner method
6305 _dbus_bindings/bus-impl.h | 1 -
6306 1 file changed, 1 deletion(-)
6308 commit d3aa18da0ee31f4c7c6e17b9d027237021402292
6309 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6310 Date: 2006-11-15 15:16:59 +0000
6312 Makefile: Produce warning about "development use only" for all targets. Set targets PHONY. Make docs depend on build, now the build is quicker
6314 Makefile | 18 ++++++++++++------
6315 1 file changed, 12 insertions(+), 6 deletions(-)
6317 commit 6008b37253f7a04b563b28a2aa9357de8cfd29d1
6318 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6319 Date: 2006-11-14 15:48:47 +0000
6321 - dbus.service.Object, dbus.decorators.method: Allow utf8_strings and
6322 byte_arrays parameters kwargs when exporting a
6323 method. These change the calling convention in the same way as
6324 Message.get_args_list().
6325 - dbus.proxies.ProxyMethod: allow the same kwargs to be passed to any proxy
6326 method; this time, they change the representation of the remote method's
6328 - Test that the above work
6329 - Improve correctness of setting the NAME_FLAG_* flags
6330 - Whitespace tweaks (remove hard tabs)
6332 dbus/decorators.py | 29 ++++++++++++++++++++++++++---
6333 dbus/proxies.py | 13 +++++++++----
6334 dbus/service.py | 14 +++++++-------
6335 test/cross-test-server.py | 2 +-
6336 test/test-client.py | 12 +++++++++++-
6337 test/test-service.py | 20 ++++++++++++++++++++
6338 6 files changed, 74 insertions(+), 16 deletions(-)
6340 commit 21b10a103d91651d9ac55d2d22832a5df251f45e
6341 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6342 Date: 2006-11-14 14:31:43 +0000
6344 Test UTF8String as well as String
6346 test/cross-test-client.py | 1 +
6347 1 file changed, 1 insertion(+)
6349 commit 7416bf25886650aec413eea2ca2c42b69f5a3537
6350 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6351 Date: 2006-11-14 14:30:19 +0000
6353 Update tests for the new variant API
6355 test/cross-test-client.py | 136 ++++++++++++++++++++++++++--------
6356 test/cross-test-server.py | 5 +-
6357 test/run-test.sh | 4 +-
6358 test/test-client.py | 15 ++--
6359 test/test-service.py | 2 +-
6360 test/test-standalone.py | 178 +++++++++++++++++++++++----------------------
6361 6 files changed, 210 insertions(+), 130 deletions(-)
6363 commit 1761e5bd810ea45776e2d1c82193b73184ed3eda
6364 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6365 Date: 2006-11-14 14:29:13 +0000
6367 Update API_CHANGES.txt
6369 API_CHANGES.txt | 43 ++++++++++++++++++++-----------------------
6370 1 file changed, 20 insertions(+), 23 deletions(-)
6372 commit 9997fd83b55e16d1c50fe04ce57951483f867982
6373 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6374 Date: 2006-11-14 14:28:36 +0000
6377 - Clarify that this is only for d-p developers, not for packagers or
6379 - Build with lots of warnings, and -Werror, but disable warning about partially
6380 uninitialized structs since this is conventional in Python (for source
6381 backwards compatibility).
6383 Makefile | 11 ++++++++---
6384 1 file changed, 8 insertions(+), 3 deletions(-)
6386 commit 1a4b9502f1d06e94fd5f90bfd85cf4d47b88c1fd
6387 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6388 Date: 2006-11-14 14:26:14 +0000
6390 setup.py: Import CFLAGS from environment (used by development Makefile for warning control)
6392 setup.py | 7 +++++++
6393 1 file changed, 7 insertions(+)
6395 commit 4ce650d5c4ca5807c8eb4bc6f8074ff6eddab359
6396 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6397 Date: 2006-11-14 14:25:39 +0000
6399 Remove Variant from API, add UTF8String
6401 dbus/__init__.py | 2 +-
6402 1 file changed, 1 insertion(+), 1 deletion(-)
6404 commit bf5550fdcbd02a55d18f17d2b79e692145dfad58
6405 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6406 Date: 2006-11-14 14:25:04 +0000
6408 Import the newly re-added types into dbus.types
6410 dbus/types.py | 10 ++++------
6411 1 file changed, 4 insertions(+), 6 deletions(-)
6413 commit 0bd42c7cce423ce04def63217675b730228294af
6414 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6415 Date: 2006-11-14 14:24:37 +0000
6417 - Convert Message.get_args_list and Message.append to the new way of handling variants
6418 - Remove most of the options for get_args_list and just do the right thing
6420 _dbus_bindings/message-append-impl.h | 261 ++++++++++-----
6421 _dbus_bindings/message-get-args-impl.h | 568 +++++++++++++++++++-------------
6422 2 files changed, 515 insertions(+), 314 deletions(-)
6424 commit b2ba98067873acdc8f7989b63384fc1d37da49d1
6425 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6426 Date: 2006-11-14 14:20:10 +0000
6428 - Add variant_level to Array, Dict, Struct
6429 - Remove Variant type
6431 _dbus_bindings/containers-impl.h | 538 ++++++++++++++------------------------
6432 1 file changed, 194 insertions(+), 344 deletions(-)
6434 commit 481428655794be4491cf7fd33f86b8e9e059a2d6
6435 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6436 Date: 2006-11-14 14:18:30 +0000
6438 - Remove special case for ObjectPaths when registering object paths - now that
6439 they have a __dict__, they can reference the Connection, which is bad
6440 - Accept Unicode object paths for deregistration
6441 - Correctly raise an exception on non-str, non-unicode arguments where an
6442 object-path is expected
6443 - Annotate unused arguments
6445 _dbus_bindings/conn-methods-impl.h | 35 ++++++++++++++++++++++-------------
6446 1 file changed, 22 insertions(+), 13 deletions(-)
6448 commit 5c908374f838e7b88c6725c6b54308316d8ed798
6449 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6450 Date: 2006-11-14 14:15:51 +0000
6452 - Remove float types from types-impl.h.
6454 - Subclass DBusPythonInt, etc.
6455 - Add UTF8String and (unicode) String types
6457 _dbus_bindings/types-impl.h | 481 ++++++++++++++++++++++++++-----------------
6458 1 file changed, 291 insertions(+), 190 deletions(-)
6460 commit 5bed478bed959ad477efac7da01ced0d0a76d6ed
6461 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6462 Date: 2006-11-14 14:12:47 +0000
6464 Make Signature a subclass of DBusPythonString
6466 _dbus_bindings/signature-impl.h | 22 ++++++++--------------
6467 1 file changed, 8 insertions(+), 14 deletions(-)
6469 commit 23013477f373aae9569e05bf793dcb3ec92530fb
6470 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6471 Date: 2006-11-14 14:12:11 +0000
6473 - Add Double type (and Float type #if'd out, ready for Alp's 32-bit float type
6474 if/when it's added to libdbus)
6475 - Include "abstract" base classes and float types in module.c
6477 _dbus_bindings/floattypes-impl.h | 159 ++++++++++++++++++++++++++++++++++++++
6478 _dbus_bindings/module.c | 8 +-
6479 2 files changed, 166 insertions(+), 1 deletion(-)
6481 commit 3c5d7904ea641f2b4adcf1edb1165e1381119120
6482 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6483 Date: 2006-11-14 14:10:16 +0000
6485 - Make Byte a subclass of DBusPythonInt
6486 - Make ByteArray a subclass of DBusPythonString
6487 - Remove Byte_as_uchar, Byte_from_uchar, ByteArray_as_ucharptr,
6488 ByteArray_from_uchars helpers
6489 - Don't try to do clever things for Byte memory allocation
6491 _dbus_bindings/bytes-impl.h | 105 +++++++++++++------------------------------
6492 1 file changed, 31 insertions(+), 74 deletions(-)
6494 commit 77c594008a1a4a655a94868c0028ef6fdec0b492
6495 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6496 Date: 2006-11-14 14:01:25 +0000
6498 Add abstract-impl.h: abstract base classes for D-Bus types that subclass int/float/long/str, with a variant_level attribute.
6500 _dbus_bindings/abstract-impl.h | 518 ++++++++++++++++++++++++++++++++++++++++
6501 1 file changed, 518 insertions(+)
6503 commit ec4382fc301ddd60c4abfa0175e912880980de68
6504 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6505 Date: 2006-11-14 14:00:33 +0000
6507 Annotate UNUSED arguments
6509 _dbus_bindings/bus-impl.h | 2 +-
6510 _dbus_bindings/message-impl.h | 32 +++++++++++++++++---------------
6511 _dbus_bindings/pending-call-impl.h | 6 +++---
6512 _dbus_bindings/validation-impl.h | 8 ++++----
6513 _dbus_glib_bindings/module.c | 14 ++++++++++++--
6514 5 files changed, 37 insertions(+), 25 deletions(-)
6516 commit 7e742ca5b5543ea290175f9351053f9ad6cfd492
6517 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6518 Date: 2006-11-14 13:58:02 +0000
6520 Add Glue_immutable_setattro, DEFINE_CHECK, UNUSED attribute. Remove generic repr() functions
6522 _dbus_bindings/generic-impl.h | 96 +++++++++--------------------------------
6523 1 file changed, 21 insertions(+), 75 deletions(-)
6525 commit 3ab7a818a7a7a92a15de50ef848318ca61a6d2df
6526 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6527 Date: 2006-11-02 13:24:03 +0000
6529 Revert switch from Byte being an int subclass to a str subclass following discussion with J5.
6530 Switching Byte to be a single-character string is arguably more Pythonic, but
6531 needlessly breaks API.
6533 _dbus_bindings/bytes-impl.h | 154 +++++----------------
6534 _dbus_bindings/generic-impl.h | 20 +++
6535 _dbus_bindings/message-append-impl.h | 16 ++-
6536 _dbus_bindings/message-get-args-impl.h | 6 +-
6537 _dbus_bindings/types-impl.h | 235 +++++++++++++++++++++++++++++++-
6538 test/cross-test-client.py | 4 +-
6539 test/cross-test-server.py | 2 +-
6540 test/test-standalone.py | 5 +-
6541 8 files changed, 313 insertions(+), 129 deletions(-)
6543 commit 263e3ad1cf99e7cd115e7051ed1ea3f2cc35c587
6544 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6545 Date: 2006-10-05 17:37:07 +0100
6547 Seth was a Red Hat employee when contributing to dbus-python: alter copyright notices accordingly
6549 dbus/__init__.py | 3 +--
6550 dbus/_dbus.py | 3 +--
6551 dbus/decorators.py | 3 +--
6552 dbus/introspect_parser.py | 3 +--
6553 dbus/matchrules.py | 3 +--
6554 dbus/proxies.py | 3 +--
6555 dbus/service.py | 3 +--
6557 test/test-client.py | 2 +-
6558 test/test-service.py | 2 +-
6559 10 files changed, 10 insertions(+), 18 deletions(-)
6561 commit da74c4cce7fee0dc4b5f0fa2144211f1bd0d9cdd
6562 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6563 Date: 2006-10-05 17:36:25 +0100
6565 test/test-standalone.py: Test API guarantee that integer types subclass int or long
6567 test/test-standalone.py | 8 ++++++++
6568 1 file changed, 8 insertions(+)
6570 commit 6a9cafc90a31cf1d396b8a492fc1d618ef03dc65
6571 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6572 Date: 2006-10-02 15:28:00 +0100
6574 test/cross-test-client.py: Add more workarounds for odd dbus-java behaviour. Compare InvertMapping results better.
6576 test/cross-test-client.py | 75 ++++++++++++++++++++++++++++++++-------------
6577 1 file changed, 54 insertions(+), 21 deletions(-)
6579 commit df50fee665eb68d27394123ca79475bd37a0c528
6580 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6581 Date: 2006-10-02 15:26:42 +0100
6583 Produce debug output
6585 test/cross-test-server.py | 10 ++++++++--
6586 1 file changed, 8 insertions(+), 2 deletions(-)
6588 commit 3ad6bd460e0addc46cb503984e6d9cf2868111f5
6589 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6590 Date: 2006-10-02 15:26:17 +0100
6592 Use a temp variable to make crash debugging easier (although I now can't reproduce the crash...)
6594 _dbus_bindings/pending-call-impl.h | 8 +++++---
6595 1 file changed, 5 insertions(+), 3 deletions(-)
6597 commit 8801e3159d5a5a048eb30bd030ecb5dbd16610f9
6598 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6599 Date: 2006-09-29 20:47:09 +0100
6601 Make cross-test stricter by including extreme values for integers, etc.
6603 test/cross-test-client.py | 34 +++++++++++++++++++++++-----------
6604 1 file changed, 23 insertions(+), 11 deletions(-)
6606 commit 52336a79a623dc2674ce22965eb6f0b010078b5e
6607 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6608 Date: 2006-09-29 20:46:13 +0100
6610 When trying to validate an int64 it helps if you put it in a 64-bit variable.
6612 _dbus_bindings/types-impl.h | 2 +-
6613 1 file changed, 1 insertion(+), 1 deletion(-)
6615 commit 0590a83202f27a98b8bb898876339a9b02a60896
6616 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6617 Date: 2006-09-28 18:17:41 +0100
6619 test/cross-test-client.py, test/cross-test-server.py: Start to fix for interop with dbus-java:
6620 * Don't assume we have introspection data - only call methods with correctly
6622 * Make InvertMapping check order-independent
6623 * Make signal test not fail if the Triggered signal is meant to come from /Test
6624 * Use logging rather than sys.stderr
6626 test/cross-test-client.py | 181 +++++++++++++++++++++++++++++++--------------
6627 test/cross-test-server.py | 28 ++++---
6628 2 files changed, 140 insertions(+), 69 deletions(-)
6630 commit dd48a45dec3704ee459a418734485985e5fba205
6631 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6632 Date: 2006-09-28 16:03:11 +0100
6634 test/cross-test-client.py, test/cross-test-server.py: Output in the same format dbus-java does (the <> in the specification were not meant to be literal, apparently)
6636 test/cross-test-client.py | 18 +++++++++---------
6637 test/cross-test-server.py | 4 ++--
6638 2 files changed, 11 insertions(+), 11 deletions(-)
6640 commit 3d645c9743e630d5064566a3a35d1e2c35d76cc2
6641 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6642 Date: 2006-09-28 16:00:22 +0100
6644 dbus/_dbus.py, dbus/proxies.py: Amend docstrings for signal receiving
6646 dbus/_dbus.py | 18 ++++++++++++------
6647 dbus/proxies.py | 13 +++++++++----
6648 2 files changed, 21 insertions(+), 10 deletions(-)
6650 commit f9d2961b45a085dc5d8febf8b1ed0f9caa9558ec
6651 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6652 Date: 2006-09-28 15:59:17 +0100
6654 setup.py: Remove "import extract" (no longer exists)
6657 1 file changed, 2 insertions(+), 2 deletions(-)
6659 commit fcd45af4aa4fd81454f1c8a8fa7b8b5790f44b54
6660 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6661 Date: 2006-09-27 14:26:44 +0100
6663 Add copyright, AFL2.1, GPL2 notices, which might even be correct...
6665 The lists of copyright holders are derived from the D-Bus CVS changelog: I've
6666 erred on the side of adding people to the list rather than not.
6668 For now I've assumed that J5's contributions are owned by Red Hat, Collabora
6669 people's contributions (Rob McQueen, Rob Taylor, Ole Andre Ravnaas,
6670 myself) are owned by Collabora and everything else is owned by the author.
6672 dbus/__init__.py | 24 ++++++++++++++++++++++++
6673 dbus/_dbus.py | 24 ++++++++++++++++++++++++
6674 dbus/decorators.py | 24 ++++++++++++++++++++++++
6675 dbus/glib.py | 22 ++++++++++++++++++++++
6676 dbus/introspect_parser.py | 24 ++++++++++++++++++++++++
6677 dbus/matchrules.py | 24 ++++++++++++++++++++++++
6678 dbus/proxies.py | 24 ++++++++++++++++++++++++
6679 dbus/service.py | 24 ++++++++++++++++++++++++
6680 setup.py | 25 +++++++++++++++++++++++++
6681 test/cross-test-client.py | 20 ++++++++++++++++++++
6682 test/cross-test-server.py | 20 ++++++++++++++++++++
6683 test/crosstest.py | 20 ++++++++++++++++++++
6684 test/test-client.py | 23 +++++++++++++++++++++++
6685 test/test-service.py | 22 ++++++++++++++++++++++
6686 test/test-standalone.py | 21 +++++++++++++++++++++
6687 15 files changed, 341 insertions(+)
6689 commit 329dc1e985c5090bba889e8ac5543d47c6abb5e2
6690 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6691 Date: 2006-09-27 14:16:29 +0100
6693 Put AUTHORS in the right order
6696 1 file changed, 1 insertion(+), 1 deletion(-)
6698 commit 7aed1104ddafd10c708234189345c4696cc2759e
6699 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6700 Date: 2006-09-27 13:50:07 +0100
6702 dbus/extract.py: Remove (no longer used now we're not using Pyrex)
6704 dbus/extract.py | 245 -------------------------------------------------------
6705 1 file changed, 245 deletions(-)
6707 commit b4d4ab76adabd4a8d0a14efa678c057f51d23431
6708 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6709 Date: 2006-09-27 13:30:49 +0100
6711 Extend and correct docstrings. Set epydoc to expect reStructuredText by default.
6714 _dbus_bindings/conn-methods-impl.h | 40 +++++++++++++++++++++-----------
6715 _dbus_bindings/message-append-impl.h | 8 +++----
6716 _dbus_bindings/message-get-args-impl.h | 38 +++++++++++++++---------------
6717 _dbus_bindings/validation-impl.h | 33 ++++++++++++++++----------
6718 5 files changed, 71 insertions(+), 50 deletions(-)
6720 commit 78a7b67f03f9267fd47ab3686f971d1190cadf1a
6721 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6722 Date: 2006-09-27 13:03:26 +0100
6724 Cast to PyCFunction to avoid compiler warning for function with kwargs
6726 _dbus_bindings/module.c | 2 +-
6727 1 file changed, 1 insertion(+), 1 deletion(-)
6729 commit 274b4601130abb67b5b7f68de38c71ee7a64d3fb
6730 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6731 Date: 2006-09-27 13:02:53 +0100
6733 Correct argument parsing in validate_bus_name
6735 _dbus_bindings/validation-impl.h | 6 ++++--
6736 1 file changed, 4 insertions(+), 2 deletions(-)
6738 commit b235e382198fc7599a2183a5b4cba10f650659bc
6739 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6740 Date: 2006-09-27 13:00:58 +0100
6742 setup.py: Remove _util from modules to install
6745 1 file changed, 1 deletion(-)
6747 commit cdc40aa20b52b4a8e9910e8fe48824205b4e7591
6748 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6749 Date: 2006-09-27 12:50:06 +0100
6751 _dbus_bindings: Expose name-validation functions to Python code.
6752 dbus: Remove _util module in favour of using the name-validation functions
6753 from _dbus_bindings.
6755 _dbus_bindings/module.c | 9 ++++
6756 _dbus_bindings/validation-impl.h | 91 ++++++++++++++++++++++++++++++++++++++
6757 dbus/_util.py | 13 ------
6758 dbus/decorators.py | 9 ++--
6759 4 files changed, 106 insertions(+), 16 deletions(-)
6761 commit 9c7ee716288ffc80d1c931c84cc2b3242acf0b1e
6762 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6763 Date: 2006-09-27 12:47:55 +0100
6765 Minor docstring correction
6767 _dbus_bindings/types-impl.h | 2 +-
6768 1 file changed, 1 insertion(+), 1 deletion(-)
6770 commit 4c53d31fcc5b2f3a8e5578cae57e51db84a396fb
6771 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6772 Date: 2006-09-27 12:47:27 +0100
6774 _dbus_bindings/message-get-args-impl: Fix ByteArray unmarshalling.
6776 _dbus_bindings/message-get-args-impl.h | 4 +++-
6777 1 file changed, 3 insertions(+), 1 deletion(-)
6779 commit aa5cb1a66951705540a51645eb8efd3cbcf6788e
6780 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6781 Date: 2006-09-27 12:45:58 +0100
6783 dbus/_dbus.py: Now that Bus subclasses Connection, simplify signature of signal filter
6785 dbus/_dbus.py | 4 ++--
6786 1 file changed, 2 insertions(+), 2 deletions(-)
6788 commit 747b2b9d37329796c4bf0bdaa1ca99e1d82d420d
6789 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6790 Date: 2006-09-27 11:55:46 +0100
6792 Add a test case for the various options to get_args_list.
6793 Fix ByteArray unmarshalling.
6795 test/test-standalone.py | 112 ++++++++++++++++++++++++++++++++++++++---------
6796 1 file changed, 91 insertions(+), 21 deletions(-)
6798 commit de8aeda1687948230bb97fa4083744087356e738
6799 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6800 Date: 2006-09-27 11:01:18 +0100
6802 .gitignore: Ignore MANIFEST, dist/
6805 1 file changed, 2 insertions(+)
6807 commit a7bcad2d2239e28bb32ef7cfe74105c514a32ee5
6808 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6809 Date: 2006-09-27 11:00:35 +0100
6811 _dbus_bindings/module.c: PEP7-style whitespace
6813 _dbus_bindings/module.c | 44 ++++++++++++++++++++++----------------------
6814 1 file changed, 22 insertions(+), 22 deletions(-)
6816 commit 888110c46b864b613a3281e3d0bf76ed85b04b01
6817 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6818 Date: 2006-09-27 10:59:01 +0100
6820 _dbus_bindings/module.c: Add __docformat__, top-level docstring.
6821 Also don't abort() if adding constants to the module fails.
6823 _dbus_bindings/module.c | 8 ++++++--
6824 1 file changed, 6 insertions(+), 2 deletions(-)
6826 commit 552b7b4c997ea44de86f68e79341ecf323b9ead5
6827 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6828 Date: 2006-09-27 10:44:25 +0100
6830 MANIFEST.in: Include added files, stop trying to include the Pyrex version
6832 MANIFEST.in | 11 ++++++-----
6833 1 file changed, 6 insertions(+), 5 deletions(-)
6835 commit 84be4d92f3f913f04941562ffb4cde5d21a63b37
6836 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6837 Date: 2006-09-27 10:43:21 +0100
6839 Makefile, setup.py: Stop forcing -O0 -g
6843 2 files changed, 1 insertion(+), 2 deletions(-)
6845 commit 78ce34da2c1cea65372b96505e21529d3896634f
6846 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6847 Date: 2006-09-27 10:38:44 +0100
6849 Remove the Pyrex implementation of dbus_bindings and dbus_glib_bindings
6851 dbus/_dbus_bindings-exceptions.pxi | 10 -
6852 dbus/_dbus_bindings-types.pxi | 174 ----
6853 dbus/_dbus_bindings.pxd.in | 8 -
6854 dbus/_dbus_bindings.pyx | 1820 ------------------------------------
6855 dbus/_dbus_glib_bindings.pyx | 17 -
6856 dbus/dbus_h_wrapper.h | 3 -
6857 6 files changed, 2032 deletions(-)
6859 commit 97d01a1d540e5ec31b752c31ad9f2b794eddf472
6860 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6861 Date: 2006-09-26 20:50:58 +0100
6863 Throughout dbus-python: Use the C implementation.
6864 Add document API_CHANGES.txt listing visible API changes.
6865 Add more test cases, for low-level Python <-> D-Bus type mappings.
6866 Amend existing test cases to cope with the API changes.
6868 API_CHANGES.txt | 84 ++++++++++++++++++++++++++++++
6869 dbus/_dbus.py | 56 +++++---------------
6870 dbus/decorators.py | 13 ++---
6871 dbus/exceptions.py | 3 +-
6872 dbus/proxies.py | 90 ++++++++++++++++++++------------
6873 dbus/service.py | 82 +++++++++++++++--------------
6874 dbus/types.py | 26 +++-------
6875 setup.py | 25 +++------
6876 test/cross-test-client.py | 55 ++++++++++----------
6877 test/cross-test-server.py | 11 +++-
6878 test/run-test.sh | 3 +-
6879 test/test-client.py | 33 +++++++-----
6880 test/test-service.py | 16 ++++--
6881 test/test-standalone.py | 126 +++++++++++++++++++++++++++++++++++++++++++++
6882 14 files changed, 413 insertions(+), 210 deletions(-)
6884 commit e0552c3d9cfe22e9ea1b3c2874dc4f79d6948b21
6885 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6886 Date: 2006-09-26 20:48:55 +0100
6888 _dbus_bindings: Correct get_args -> get_args_list change
6890 _dbus_bindings/message-get-args-impl.h | 2 +-
6891 _dbus_bindings/message-impl.h | 4 ++--
6892 2 files changed, 3 insertions(+), 3 deletions(-)
6894 commit 030e4fe368e976cb20d223d45ae787c12686b3f4
6895 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6896 Date: 2006-09-26 19:30:58 +0100
6898 _dbus_bindings/message-get-args-impl.h: Revert gratuitous API change
6899 Message has a method get_args_list() returning a list again, rather than
6900 a method get_args() returning a tuple.
6902 _dbus_bindings/message-get-args-impl.h | 16 +++++++---------
6903 1 file changed, 7 insertions(+), 9 deletions(-)
6905 commit 24eb072bd8aabbc4d0f916b981e2283be0848e97
6906 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6907 Date: 2006-09-26 19:27:24 +0100
6909 dbus/matchrules.py: Use absolute import
6911 dbus/matchrules.py | 2 +-
6912 1 file changed, 1 insertion(+), 1 deletion(-)
6914 commit 97900c452754b832d0817edc03f3e00fe888d24a
6915 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6916 Date: 2006-09-26 18:53:55 +0100
6918 Add a C reimplementation of the formerly-Pyrex bits of dbus-python.
6921 _dbus_bindings/bus-impl.h | 415 +++++++++++++
6922 _dbus_bindings/bytes-impl.h | 420 +++++++++++++
6923 _dbus_bindings/conn-impl.h | 551 +++++++++++++++++
6924 _dbus_bindings/conn-methods-impl.h | 653 ++++++++++++++++++++
6925 _dbus_bindings/containers-impl.h | 743 ++++++++++++++++++++++
6926 _dbus_bindings/dbus_bindings.py | 27 +
6927 _dbus_bindings/debug-impl.h | 49 ++
6928 _dbus_bindings/exceptions-impl.h | 71 +++
6929 _dbus_bindings/generic-impl.h | 108 ++++
6930 _dbus_bindings/message-append-impl.h | 863 ++++++++++++++++++++++++++
6931 _dbus_bindings/message-get-args-impl.h | 403 ++++++++++++
6932 _dbus_bindings/message-impl.h | 1064 ++++++++++++++++++++++++++++++++
6933 _dbus_bindings/module.c | 139 +++++
6934 _dbus_bindings/pending-call-impl.h | 230 +++++++
6935 _dbus_bindings/signature-impl.h | 238 +++++++
6936 _dbus_bindings/test.py | 30 +
6937 _dbus_bindings/types-impl.h | 635 +++++++++++++++++++
6938 _dbus_bindings/validation-impl.h | 241 ++++++++
6939 _dbus_glib_bindings/module.c | 74 +++
6940 include/dbus_bindings.h | 64 ++
6941 21 files changed, 7053 insertions(+)
6943 commit 0a189b73baa8e7b1d1d7743534b635fabe1aaf80
6944 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6945 Date: 2006-09-26 18:43:04 +0100
6947 Add Makefile rule to do a clean build (setup.py doesn't track .h dependencies properly) and make it the default
6950 1 file changed, 4 insertions(+)
6952 commit d1e74259da30f732ebf58057188478367b492840
6953 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6954 Date: 2006-09-26 18:42:16 +0100
6959 1 file changed, 1 insertion(+)
6961 commit 3b1b6ec26d55e08c4a9fbed12714913974f8e0c3
6962 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6963 Date: 2006-09-08 18:10:06 +0100
6965 dbus/service.py, dbus/_dbus_bindings-types.pxi: Move VariantSignature
6966 As it's only used in dbus.service, there is no reason for VariantSignature
6967 to be written in Pyrex.
6969 dbus/_dbus_bindings-types.pxi | 14 --------------
6970 dbus/service.py | 18 ++++++++++++++++--
6971 2 files changed, 16 insertions(+), 16 deletions(-)
6973 commit 6e0e797a2c354d1cdd2e940ec2ab25614ac49f6f
6974 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6975 Date: 2006-09-08 18:08:27 +0100
6977 dbus/_dbus_bindings.pyx: More docstrings
6979 dbus/_dbus_bindings.pyx | 20 +++++++++++++++++---
6980 1 file changed, 17 insertions(+), 3 deletions(-)
6982 commit 82c249159bbbfa1ad1d77d26b8e3a2f0615a80ee
6983 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6984 Date: 2006-09-08 18:08:04 +0100
6986 dbus/proxies.py: Set __docformat__ to 'restructuredtext' for epydoc
6988 dbus/proxies.py | 3 +++
6989 1 file changed, 3 insertions(+)
6991 commit 3f77ab99f21400fbea5642affff2e8bc0c8faf28
6992 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
6993 Date: 2006-09-08 18:07:23 +0100
6995 dbus/_dbus.py: More docstrings
6997 dbus/_dbus.py | 30 ++++++++++++++++++++++++++++--
6998 1 file changed, 28 insertions(+), 2 deletions(-)
7000 commit d65d0b6654b19522e250a6a4a361f06fa1ccd2d2
7001 Author: Simon McVittie <smcv@celebrin.pseudorandom.co.uk>
7002 Date: 2006-09-07 13:21:48 +0100
7004 _dbus_bindings: split out types, exceptions into separate source files
7006 dbus/_dbus_bindings-exceptions.pxi | 10 ++
7007 dbus/_dbus_bindings-types.pxi | 188 +++++++++++++++++++++++++++++++++++
7008 dbus/_dbus_bindings.pyx | 191 +-----------------------------------
7009 3 files changed, 200 insertions(+), 189 deletions(-)
7011 commit 346e0f0f332f5e112726536c434535a40072f356
7012 Author: Simon McVittie <smcv@celebrin.(none)>
7013 Date: 2006-09-06 13:42:13 +0100
7015 Add a fairly simplistic implementation of the D-Bus bindings test suite.
7016 Currently only tested with Python <-> Python, and some of the Byte tests fail
7017 until I get an opinion from the list on whether the API should be in terms
7018 of strings-of-length-1, ints, or both.
7021 test/cross-test-client.py | 185 +++++++++++++++++++++++++++++
7022 test/cross-test-server.py | 281 +++++++++++++++++++++++++++++++++++++++++++++
7023 test/crosstest.py | 22 ++++
7024 4 files changed, 506 insertions(+), 2 deletions(-)
7026 commit dc7cea8740b53c7a7061a2392cdc7ec775dd3734
7027 Author: Simon McVittie <smcv@celebrin.(none)>
7028 Date: 2006-09-06 13:30:13 +0100
7030 _dbus_bindings.pyx: Documentation
7031 * Add more docstrings and note methods which I don't think should be public.
7032 * When append_byte() fails, raise a more informative TypeError
7034 dbus/_dbus_bindings.pyx | 64 +++++++++++++++++++++++++++++++++++++++++++++--
7035 1 file changed, 62 insertions(+), 2 deletions(-)
7037 commit e37b430efed0dcfa5ff6196046e0b4302b79662a
7038 Author: Simon McVittie <smcv@celebrin.(none)>
7039 Date: 2006-09-06 13:26:58 +0100
7041 dbus/_dbus.py: Add exceptions to __all__ so they'll be imported into __init__
7043 dbus/_dbus.py | 9 ++++++++-
7044 1 file changed, 8 insertions(+), 1 deletion(-)
7046 commit 99bd2cf0aad0f26cc41459be2c89256f226832f0
7047 Author: Simon McVittie <smcv@celebrin.(none)>
7048 Date: 2006-09-06 13:26:24 +0100
7050 dbus/__init__.py: Annotate __all__ with where the objects come from
7052 dbus/__init__.py | 9 +++++++--
7053 1 file changed, 7 insertions(+), 2 deletions(-)
7055 commit c0574acbc663094fbb722cd6bdc97b02e7111100
7056 Author: Simon McVittie <smcv@celebrin.(none)>
7057 Date: 2006-09-01 16:24:46 +0100
7059 _dbus_bindings.pyx: Spell "negative" correctly
7061 dbus/_dbus_bindings.pyx | 6 +++---
7062 1 file changed, 3 insertions(+), 3 deletions(-)
7064 commit cf1599248d81b848016672cc129a714095f5f11e
7065 Author: Simon McVittie <smcv@celebrin.(none)>
7066 Date: 2006-09-01 16:22:57 +0100
7068 test/test-client.py: Rename dbus.dbus_bindings to _dbus_bindings in test too
7070 test/test-client.py | 8 ++++----
7071 1 file changed, 4 insertions(+), 4 deletions(-)
7073 commit 9c4ad587bb237921ff49ac78581eb66a863e6105
7074 Author: Simon McVittie <smcv@celebrin.(none)>
7075 Date: 2006-09-01 16:21:55 +0100
7077 .gitignore: Add files generated during test
7080 1 file changed, 2 insertions(+)
7082 commit fc2c0c457100003c4b2c85d6202d75e796b89454
7083 Author: Simon McVittie <smcv@celebrin.(none)>
7084 Date: 2006-09-01 16:14:21 +0100
7086 _dbus_bindings.pyx: Remove no-op constructor overrides which just use superclass
7088 dbus/_dbus_bindings.pyx | 26 ++++----------------------
7089 1 file changed, 4 insertions(+), 22 deletions(-)
7091 commit 188e54fd97c48d9183a16cc2373de62a60f36a39
7092 Author: Simon McVittie <smcv@celebrin.(none)>
7093 Date: 2006-09-01 15:56:16 +0100
7095 .gitignore: Amend for renaming of dbus_bindings
7097 .gitignore | 6 +++---
7098 1 file changed, 3 insertions(+), 3 deletions(-)
7100 commit 10186487194e31889f0a255f7986577b169220ac
7101 Author: Simon McVittie <smcv@celebrin.(none)>
7102 Date: 2006-09-01 15:54:47 +0100
7104 dbus._dbus, _dbus_bindings, dbus.proxies: Add docstrings
7106 dbus/_dbus.py | 152 +++++++++++++++++++++++++++++++++++++++++++----
7107 dbus/_dbus_bindings.pyx | 110 ++++++++++++++++++++++++++++++++--
7108 dbus/proxies.py | 39 ++++++++++++
7109 3 files changed, 287 insertions(+), 14 deletions(-)
7111 commit 867c2dd9318c8cbaf810d23d5f2a332d091007d9
7112 Author: Simon McVittie <smcv@celebrin.(none)>
7113 Date: 2006-08-31 18:14:40 +0100
7115 Makefile: add. Makefile for developer convenience, currently does API documentation using epydoc
7117 Makefile | 9 +++++++++
7118 1 file changed, 9 insertions(+)
7120 commit bb8600d38b16999d08950a03473f03d8705394bf
7121 Author: Simon McVittie <smcv@celebrin.(none)>
7122 Date: 2006-08-31 18:13:39 +0100
7124 dbus._dbus: add __all__
7127 1 file changed, 1 insertion(+)
7129 commit 5098824725bc8984e4a84f2bede278648941960d
7130 Author: Simon McVittie <smcv@celebrin.(none)>
7131 Date: 2006-08-31 18:13:07 +0100
7133 dbus.types: add __all__
7135 dbus/types.py | 4 ++++
7136 1 file changed, 4 insertions(+)
7138 commit 656bb219b37ac18ad9bc953ac9a2fb2b5fa6234d
7139 Author: Simon McVittie <smcv@celebrin.(none)>
7140 Date: 2006-08-31 18:09:23 +0100
7142 dbus/__init__.py: Add __all__ (listing a sensible set of public API), __docformat__, __version__
7144 dbus/__init__.py | 19 ++++++++++++++++---
7145 1 file changed, 16 insertions(+), 3 deletions(-)
7147 commit aac6f58ae96faab86e6080702d2dac2bd3a69d66
7148 Author: Simon McVittie <smcv@celebrin.(none)>
7149 Date: 2006-08-31 18:05:57 +0100
7151 Rename dbus_bindings (sometimes a.k.a. dbus.dbus_bindings) to _dbus_bindings.
7152 Ditto for dbus_glib_bindings.
7153 Remove dbus.pth - should no longer be needed after this change.
7155 dbus/_dbus.py | 24 +-
7156 dbus/_dbus_bindings.pxd.in | 8 +
7157 dbus/_dbus_bindings.pyx | 1849 ++++++++++++++++++++++++++++++++++++++++++
7158 dbus/_dbus_glib_bindings.pyx | 17 +
7160 dbus/dbus_bindings.pxd.in | 8 -
7161 dbus/dbus_bindings.pyx | 1849 ------------------------------------------
7162 dbus/dbus_glib_bindings.pyx | 17 -
7163 dbus/decorators.py | 35 +-
7164 dbus/exceptions.py | 6 +-
7166 dbus/matchrules.py | 2 +-
7167 dbus/proxies.py | 8 +-
7168 dbus/service.py | 38 +-
7169 dbus/types.py | 36 +-
7171 16 files changed, 1971 insertions(+), 1947 deletions(-)
7173 commit c51b148077479381844a84989292719417c543b2
7174 Author: Simon McVittie <smcv@celebrin.(none)>
7175 Date: 2006-08-30 20:15:07 +0100
7177 Add some docstrings (reStructuredText with epydoc annotations)
7179 dbus/__init__.py | 9 ++++++++
7180 dbus/_dbus.py | 35 ++++++++++++++--------------
7181 dbus/decorators.py | 44 ++++++++++++++++++++++++++++++++++++
7182 dbus/exceptions.py | 7 ++++++
7183 dbus/service.py | 64 +++++++++++++++++++++++++++++++++++++++++++++++++---
7184 5 files changed, 139 insertions(+), 20 deletions(-)
7186 commit 00435b5adc76a745e17b13386d15a2a1d6b2bb16
7187 Author: Simon McVittie <smcv@celebrin.(none)>
7188 Date: 2006-08-30 20:12:08 +0100
7190 .gitignore: Add. Ignore distutils build dir, Python bytecode, Vim swapfiles, and generated ChangeLog, .pxd and .c files.
7192 .gitignore | 8 ++++++++
7193 1 file changed, 8 insertions(+)
7195 commit 1b1d5b77a841e68043fd1f27900b7b97b4610b33
7196 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
7197 Date: 2006-07-27 14:00:14 -0400
7199 * dbus/BusName.py (BusName::__new__): Modified patch from Alex Jones
7200 <alex at weej dot com> - Add flags when requesting a name
7202 dbus/service.py | 9 +++++++--
7203 1 file changed, 7 insertions(+), 2 deletions(-)
7205 commit eae6cd4e466d9d6dd477cf0bb5ef2b183f4c69f9
7206 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
7207 Date: 2006-07-27 13:57:56 -0400
7209 * setup.py: read the stdout pipe before stderr
7212 1 file changed, 3 insertions(+), 3 deletions(-)
7214 commit f5258f571de77b18354e17073d44f316d1e0af1b
7215 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
7216 Date: 2006-07-27 12:40:36 -0400
7218 * setup.py: some distros have older gits which don't have the git-log --stat
7219 flag. We check for an error and if so revert to just calling git-log
7221 setup.py | 20 +++++++++++++++-----
7222 1 file changed, 15 insertions(+), 5 deletions(-)
7224 commit 49948f1f9554b4431d668992b4953ff09962149f
7225 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
7226 Date: 2006-07-24 14:34:51 -0400
7232 2 files changed, 7 insertions(+), 2 deletions(-)
7234 commit 29b7548ddf4400a20636ae558c1834ad523c33da
7235 Author: John (J5) Palmieri <johnp@remedyz.boston.redhat.com>
7236 Date: 2006-07-24 14:05:26 -0400
7238 * Patch from Joseph Sacco <joseph_sacco [at] comcast [dot] net>:
7239 Export the correct cflags in distutils
7241 setup.py | 25 +++++++++++++++++++++++++
7242 test/run-test.sh | 1 -
7243 2 files changed, 25 insertions(+), 1 deletion(-)
7245 commit 5f76b5a3eec271192e9657213c6693121c3d8df9
7246 Author: John (J5) Palmieri <johnp@redhat.com>
7247 Date: 2006-07-21 17:17:46 -0400
7249 * fix import of dbus_bindings
7251 test/test-client.py | 6 +++---
7252 1 file changed, 3 insertions(+), 3 deletions(-)
7254 commit 163206f228efad53051677a08d3813fcc5d0ab97
7255 Author: John (J5) Palmieri <johnp@redhat.com>
7256 Date: 2006-07-21 16:42:54 -0400
7258 * Automate building of ChangeLog
7260 setup.py | 18 ++++++++++++++++++
7261 1 file changed, 18 insertions(+)
7263 commit f262d88279991faba06578dde48d0c607ce4b0b8
7264 Author: John (J5) Palmieri <johnp@redhat.com>
7265 Date: 2006-07-21 16:27:59 -0400
7267 * fixed where the binary modules are installed into
7270 1 file changed, 2 insertions(+), 2 deletions(-)
7272 commit 7d73bb0ea7631ce1191de1cd6fbbcb07fe215f31
7273 Author: John (J5) Palmieri <johnp@redhat.com>
7274 Date: 2006-07-17 16:58:42 -0400
7277 * Added NEWS to the dist
7281 2 files changed, 8 insertions(+)
7283 commit 8728a13fa422955aa96bf2d8644af773407dbe65
7284 Author: John (J5) Palmieri <johnp@redhat.com>
7285 Date: 2006-07-17 16:43:42 -0400
7287 * remove ChangeLog as it will be generated by git-whatchanged
7291 commit caaabe86ac7a91c84d022c5806e67a42617fa566
7292 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7293 Date: 2006-07-14 12:52:53 -0400
7295 * Add Osvaldo S. Neto to AUTHORS for his distutils patch
7298 1 file changed, 1 insertion(+)
7300 commit 4b1d99c3fbf0d402cb7badbcb8e6ea682f7e54c6
7301 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7302 Date: 2006-07-12 21:40:13 -0400
7305 added the tools directory
7308 1 file changed, 1 insertion(+)
7310 commit 9c70ef78b9368b5fd090dd3aafb3f189cc88616d
7311 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7312 Date: 2006-07-12 21:32:57 -0400
7315 create the .service file before we launch dbus
7317 test/run-test.sh | 17 ++++++++---------
7318 1 file changed, 8 insertions(+), 9 deletions(-)
7320 commit 7a0389c01ac8c775b7b677bcc20cc0da716b1c19
7321 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7322 Date: 2006-07-12 21:28:39 -0400
7325 * create a check command for distutils (python setup.py check)
7329 test/dbus_python_check.py | 48 ++++++
7330 test/run-test.sh | 39 +++++
7331 test/test-client.py | 307 +++++++++++++++++++++++++++++++++++++
7332 test/test-service.py | 142 +++++++++++++++++
7333 tools/run-with-tmp-session-bus.sh | 65 ++++++++
7334 tools/session.conf | 24 +++
7335 8 files changed, 642 insertions(+), 14 deletions(-)
7337 commit 303a9d690767dd40e75940f9e3c4e1d1fa504554
7338 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7339 Date: 2006-07-12 18:11:07 -0400
7341 * MANIFEST.in: Added
7342 * setup.py: change package name to dbus-python
7344 MANIFEST.in | 11 +++++++++++
7346 2 files changed, 12 insertions(+), 1 deletion(-)
7348 commit c72e8df76cda925d0bac0e99af94a4d3760e74b1
7349 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7350 Date: 2006-07-12 17:34:58 -0400
7352 * dbus/dbus_glib_bindings.pyx: Prepend includes dbus-glib.h and
7353 dbus-glib-lowlevel withd dbus/ since we are no longer building in tree and
7354 need to get the system's header files
7356 dbus/dbus_glib_bindings.pyx | 4 ++--
7357 1 file changed, 2 insertions(+), 2 deletions(-)
7359 commit 98bdb18235a405339041596c571f213ea5fa3c24
7360 Author: John (J5) Palmieri <quinticent@phuket.(none)>
7361 Date: 2006-07-12 17:29:04 -0400
7363 - s/dbus/-Idbus\// in includedirs_flag
7366 1 file changed, 3 insertions(+), 3 deletions(-)
7368 commit 82a4e8afb8ca163416f602fdb1df96b11765ecb2
7369 Author: Robert McQueen <robot101@thubuntu.(none)>
7370 Date: 2006-07-12 21:53:57 +0100
7372 setup.py, dbus/extract.py: Patch from Osvaldo Santana Neto
7373 <osvaldo.santana@indt.org.br> to make the python bindings build and install
7374 with distutils. Not quite working yet because of path madness with the
7377 dbus/extract.py | 49 +++++++++++++++----------
7378 setup.py | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7379 2 files changed, 138 insertions(+), 19 deletions(-)
7381 commit 172f80244f21a681609e6918c1f043b3272949f3
7382 Author: Robert McQueen <robot101@thubuntu.(none)>
7383 Date: 2006-07-12 19:40:37 +0100
7385 dbus/__init__.py: Set version to 0.70.
7387 dbus/__init__.py | 2 +-
7388 1 file changed, 1 insertion(+), 1 deletion(-)
7390 commit fb63da94f9e207e807f7f0ae18425d3b73173d43
7391 Author: Robert McQueen <robot101@thubuntu.(none)>
7392 Date: 2006-07-12 19:28:30 +0100
7394 dbus/Makefile.am, dbus/examples/Makefile.am: removed
7396 dbus/Makefile.am | 56 ---------------------------------------------
7397 dbus/examples/Makefile.am | 13 -----------
7398 2 files changed, 69 deletions(-)
7400 commit cc9eb8989a5782f62f8ca786d76e1267e48ec8bf
7401 Author: Robert McQueen <robot101@thubuntu.(none)>
7402 Date: 2006-07-12 19:26:39 +0100
7404 Move python/ to dbus/, the name of the module.
7406 dbus/.cvsignore | 10 +
7407 dbus/Makefile.am | 56 +
7408 dbus/__init__.py | 5 +
7409 dbus/_dbus.py | 308 +++++
7410 dbus/_util.py | 13 +
7412 dbus/dbus_bindings.pxd.in | 8 +
7413 dbus/dbus_bindings.pyx | 1849 +++++++++++++++++++++++++++
7414 dbus/dbus_glib_bindings.pyx | 17 +
7415 dbus/dbus_h_wrapper.h | 3 +
7416 dbus/decorators.py | 83 ++
7417 dbus/examples/.cvsignore | 2 +
7418 dbus/examples/Makefile.am | 13 +
7419 dbus/examples/example-client.py | 22 +
7420 dbus/examples/example-service.py | 30 +
7421 dbus/examples/example-signal-emitter.py | 29 +
7422 dbus/examples/example-signal-recipient.py | 54 +
7423 dbus/examples/gconf-proxy-client.py | 13 +
7424 dbus/examples/gconf-proxy-service.py | 43 +
7425 dbus/examples/gconf-proxy-service2.py | 39 +
7426 dbus/examples/list-system-services.py | 22 +
7427 dbus/exceptions.py | 29 +
7428 dbus/extract.py | 234 ++++
7430 dbus/introspect_parser.py | 51 +
7431 dbus/matchrules.py | 232 ++++
7432 dbus/proxies.py | 222 ++++
7433 dbus/service.py | 370 ++++++
7434 dbus/types.py | 19 +
7435 python/.cvsignore | 10 -
7436 python/Makefile.am | 56 -
7437 python/__init__.py | 5 -
7438 python/_dbus.py | 308 -----
7439 python/_util.py | 13 -
7440 python/dbus.pth | 1 -
7441 python/dbus_bindings.pxd.in | 8 -
7442 python/dbus_bindings.pyx | 1849 ---------------------------
7443 python/dbus_glib_bindings.pyx | 17 -
7444 python/dbus_h_wrapper.h | 3 -
7445 python/decorators.py | 83 --
7446 python/examples/.cvsignore | 2 -
7447 python/examples/Makefile.am | 13 -
7448 python/examples/example-client.py | 22 -
7449 python/examples/example-service.py | 30 -
7450 python/examples/example-signal-emitter.py | 29 -
7451 python/examples/example-signal-recipient.py | 54 -
7452 python/examples/gconf-proxy-client.py | 13 -
7453 python/examples/gconf-proxy-service.py | 43 -
7454 python/examples/gconf-proxy-service2.py | 39 -
7455 python/examples/list-system-services.py | 22 -
7456 python/exceptions.py | 29 -
7457 python/extract.py | 234 ----
7458 python/glib.py | 17 -
7459 python/introspect_parser.py | 51 -
7460 python/matchrules.py | 232 ----
7461 python/proxies.py | 222 ----
7462 python/service.py | 370 ------
7463 python/types.py | 19 -
7464 58 files changed, 3794 insertions(+), 3794 deletions(-)
7466 commit 260a7da603a0449a117690a9cc46c7d171ec1112
7467 Author: Robert McQueen <robot101@thubuntu.(none)>
7468 Date: 2006-07-12 19:25:47 +0100
7470 COPYING: Have the file with its contents and not a file full of NULLs (thanks XFS)
7472 COPYING | Bin 29056 -> 29056 bytes
7473 1 file changed, 0 insertions(+), 0 deletions(-)
7475 commit 85ef4b2f21a67fa6f8ebb7977fc62a69208d86fe
7476 Author: Robert McQueen <robot101@thubuntu.(none)>
7477 Date: 2006-07-12 19:24:09 +0100
7479 AUTHORS, COPYING: Copy from old tree.
7481 AUTHORS | 16 ++++++++++++++++
7482 COPYING | Bin 0 -> 29056 bytes
7483 2 files changed, 16 insertions(+)
7485 commit 7d136b1b7749b9d52703f00f546524a8967aeebc
7486 Author: John (J5) Palmieri <johnp@redhat.com>
7487 Date: 2006-03-02 23:28:18 +0000
7489 2006-03-02 John (J5) Palmieri <johnp@redhat.com>
7491 * python/dbus_bindings.pyx: Remove refrence to sys/cdefs.h
7492 (Patch from Artem Kachitchkine <Artem.Kachitchkin at Sun.COM>)
7494 python/dbus_bindings.pyx | 3 ---
7495 1 file changed, 3 deletions(-)
7497 commit 6387ac0ee38cbc2c613f1ec6b481693451e6a1d6
7498 Author: John (J5) Palmieri <johnp@redhat.com>
7499 Date: 2006-02-24 18:18:41 +0000
7501 2006-02-24 John (J5) Palmieri <johnp@redhat.com>
7505 2006-02-24 John (J5) Palmieri <johnp@redhat.com>
7507 * proxies.py: Fix the callchain
7509 python/proxies.py | 96 +++++++++++++++++++++++++----------------------------
7510 1 file changed, 45 insertions(+), 51 deletions(-)
7512 commit 7ce7ad66afac2b35ddab72190d31c8470a2e4d2d
7513 Author: Robert McQueen <robot101@debian.org>
7514 Date: 2006-02-15 23:45:48 +0000
7516 2006-02-16 Robert McQueen <robot101@debian.org>
7518 * glib/dbus-gmain.c: Make the previous commit compile.
7520 * python/_dbus.py, python/matchrules.py: Patch from Ole Andre
7521 Ravnaas <ole.andre.ravnaas@collabora.co.uk> to allow you to
7522 specify sender_keyword="foo", path_keyword="bar" when adding
7523 a signal listener, so that you can bind to signals generically
7524 but still do something useful in your callback.
7526 * python/dbus_bindings.pyx: Demarshal the byte type as unsigned
7527 chars so that they're not cast to chars and made negative. Thanks
7528 to Jakub Stachowski for reporting this and testing the fix.
7530 python/_dbus.py | 8 ++++++++
7531 python/dbus_bindings.pyx | 6 +++---
7532 python/matchrules.py | 17 +++++++++++++----
7533 3 files changed, 24 insertions(+), 7 deletions(-)
7535 commit 62f127585556aeb828c0114225859bddc8d08aa3
7536 Author: Robert McQueen <robot101@debian.org>
7537 Date: 2005-12-06 12:38:07 +0000
7539 2005-12-06 Robert McQueen <robot101@debian.org>
7541 * python/service.py: s/sucessful/successful/ so we're allocating to
7542 and reading from the same variable. Oops.
7544 python/service.py | 8 ++++----
7545 1 file changed, 4 insertions(+), 4 deletions(-)
7547 commit e48f4d56533ef815d05e05b31128e53640bd7ded
7548 Author: Robert McQueen <robot101@debian.org>
7549 Date: 2005-11-27 17:44:19 +0000
7551 2005-11-27 Robert McQueen <robot101@debian.org>
7553 * python/dbus_bindings.pyx: Repair my previous commit which reverted
7554 part of the preceding one. Oops. Merge patch by Johan Hedberg
7555 <johan.hedberg@nokia.com> to fix marshalling of 16-bit integer values
7556 on big-endian platforms.
7558 * test/python/test-client.py: Add some 16-bit integers to the test
7561 python/dbus_bindings.pyx | 22 ++++++++++++++++------
7562 1 file changed, 16 insertions(+), 6 deletions(-)
7564 commit b5df8fdfae7b488156cef4ccc536523bfb892895
7565 Author: Robert McQueen <robot101@debian.org>
7566 Date: 2005-11-27 16:55:09 +0000
7568 2005-11-27 Carlos Garcia Campos <carlosgc@gnome.org>
7570 * glib/dbus-gobject.c: Append a GValue instead of a basic type in
7571 method return message for property getters
7573 python/dbus_bindings.pyx | 8 ++------
7574 1 file changed, 2 insertions(+), 6 deletions(-)
7576 commit e9046cf6eabcc6e9f86e6dc8cb73a0b28ccc3347
7577 Author: Robert McQueen <robot101@debian.org>
7578 Date: 2005-11-27 16:40:57 +0000
7580 2005-11-27 Robert McQueen <robot101@debian.org>
7582 * python/dbus_bindings.pyx: Fix a bug where doing a strict append
7583 with type v of an instance of dbus.Variant(foo, type='x') caused
7584 it to be boxed twice before sending over the bus.
7586 * python/dbus_bindings.pyx, python/service.py,
7587 test/python/test-client.py: Update the constants for the new
7588 request_name flags, and update comments/test cases now that queueing
7589 is the default action.
7591 python/dbus_bindings.pyx | 8 ++++++--
7592 python/service.py | 5 +++--
7593 2 files changed, 9 insertions(+), 4 deletions(-)
7595 commit c38a568a59493a798164c2449f7774586fd236f3
7596 Author: Robert McQueen <robot101@debian.org>
7597 Date: 2005-11-15 17:19:19 +0000
7599 2005-11-15 Robert McQueen <robot101@debian.org>
7601 * bus/driver.c, bus/services.c, bus/services.h: Add a ReleaseName
7602 method to org.freedesktop.DBus to release a bus name or give up
7603 waiting in the queue for it.
7605 * dbus/dbus-bus.c, dbus/dbus-bus.h, dbus/dbus-shared.h: Add a
7606 dbus_bus_release_name method to send the ReleaseName method calls.
7607 Add constants for the return values to dbus/dbus-shared.h.
7609 * doc/dbus-specification.xml: Document the new ReleaseName method
7610 in the specification.
7612 * python/dbus_bindings.pyx: Add a low-level python binding for the
7613 release name method.
7615 * python/exceptions.py, python/service.py: Make freeing BusName
7616 objects release the name. Add a NameExistsException, and fix a
7617 bug with creating UnknownMethodException.
7619 * test/python/test-client.py: Add tests for freeing BusName
7620 objects causing names to be released.
7622 python/dbus_bindings.pyx | 33 +++++++++++++++++++++++++++------
7623 python/exceptions.py | 10 +++++++---
7624 python/service.py | 11 +++++------
7625 3 files changed, 39 insertions(+), 15 deletions(-)
7627 commit e6351798aca627adba6e3dad43a605482b63a43e
7628 Author: Robert McQueen <robot101@debian.org>
7629 Date: 2005-11-14 20:59:32 +0000
7631 2005-11-15 Robert McQueen <robot101@debian.org>
7633 * python/service.py: Include the traceback in the error reply when we
7634 send an exception over the bus. _BEST_ _PATCH_ _EVER_
7636 python/service.py | 4 +++-
7637 1 file changed, 3 insertions(+), 1 deletion(-)
7639 commit 321ace3a0cf031e638bba1d753818ac068672dee
7640 Author: Robert McQueen <robot101@debian.org>
7641 Date: 2005-11-14 02:53:29 +0000
7643 2005-11-14 Robert McQueen <robot101@debian.org>
7645 * python/decorators.py, python/service.py: Add a new argument to the
7646 dbus.service.method decorator called sender_keyword, which if set,
7647 specifies the name of an argument which will be provided the bus
7648 name of the method caller.
7650 * test/python/test-client.py, test/python/test-service.py: Add a
7651 method and test to check the sender_keyword functionality.
7653 python/decorators.py | 6 +++++-
7654 python/service.py | 4 ++++
7655 2 files changed, 9 insertions(+), 1 deletion(-)
7657 commit cb37041d6ffeab9e7623dd7c51acc64cbaa7534d
7658 Author: Robert McQueen <robot101@debian.org>
7659 Date: 2005-11-07 15:31:30 +0000
7661 2005-11-07 Robert McQueen <robot101@debian.org>
7663 * python/decorators.py: Change emit_signal function to use the
7664 signature annotation of the signal when marhsalling the arguments from
7665 the service. Fix a bug where the code checking signature length
7666 against argument length referenced the wrong variable.
7668 * python/introspect_parser.py: Avoid adding the type signature of
7669 signal arguments to any methods which occur after them in the
7670 introspection data (!) by making the parser a little more careful
7671 about its current state.
7673 * python/service.py: Remove debug prints from last commit (again :D).
7675 * test/python/test-client.py, test/python/test-service.py: Add test
7676 signals with signature decorators to test the strict marshalling code
7677 gives errors at the right time. Could do with checking the signals
7678 actually get emitted too, given that the test does nothing with
7679 signals at the moment...
7681 python/decorators.py | 17 +++++++++++------
7682 python/introspect_parser.py | 27 ++++++++++++++-------------
7683 python/service.py | 4 +---
7684 3 files changed, 26 insertions(+), 22 deletions(-)
7686 commit 792849028648dfc9fd0513c855b0ea9001a9ea04
7687 Author: Robert McQueen <robot101@debian.org>
7688 Date: 2005-11-07 12:14:52 +0000
7690 2005-11-07 Robert McQueen <robot101@debian.org>
7692 * python/_dbus.py: Add WeakReferenceDictionary cache of dbus.Bus
7693 instances to stop madness of creating new instances representing
7694 the same bus connection all the time, rendering any tracking of
7695 match rules and bus names quite meaningless. Caught a bug where
7696 the private argument to SessionBus() and friends was being passed
7697 in as use_default_mainloop by mistake. Still some problems with
7698 multiple dbus_binding.Connection instances representing the same
7699 low-level connection (eg when you use both SessionBus() and
7700 StarterBus() in same process), but it's a lot better now than it
7703 * python/dbus_bindings.pyx: Add constants with the return values
7704 for bus_request_name().
7706 * python/service.py: Store bus name instances in a per-dbus.Bus cache
7707 and retrieve the same instances for the same name, so deletion can be
7708 done with refcounting. Also now throws some kind of error if you
7709 don't actually get the name you requested, unlike previously...
7711 * test/python/test-client.py: Add tests for instance caching of buses
7712 and bus name objects.
7714 python/_dbus.py | 75 +++++++++++++++++++++++++++++++++-------------
7715 python/dbus_bindings.pyx | 9 ++++--
7716 python/service.py | 62 +++++++++++++++++++++++++++++++-------
7717 3 files changed, 114 insertions(+), 32 deletions(-)
7719 commit c6d4440b37c43681a4ecf11edfa5a4b0371734ea
7720 Author: Robert McQueen <robot101@debian.org>
7721 Date: 2005-11-04 12:17:54 +0000
7723 2005-11-04 Robert McQueen <robot101@debian.org>
7725 * python/dbus_bindings.pyx, test/python/test-client.py: Fix
7726 marshalling of boolean values. Add some booleans to the values in
7729 * python/decorators.py, python/service.py: Add an 'async_callbacks'
7730 argument to the dbus.service.method decorator, which allows you to
7731 name arguments to take two callback functions for replying with
7732 return values or an exception.
7734 * test/python/test-client.py, test/python/test-service.py: Add test
7735 case using asynchronous method reply functions, both return values and
7736 errors, and from within both the function itself and from a mainloop
7739 * python/decorators.py, python/service.py: Perform checking that the
7740 number of method/signal arguments matches the number of types in the
7741 signature at class loading time, not when you first introspect the
7744 * python/service.py: Remove debug print left by the last commit.
7746 python/dbus_bindings.pyx | 4 ++--
7747 python/decorators.py | 39 ++++++++++++++++++++++++++++++++++-----
7748 python/service.py | 41 ++++++++++++++++++++++++-----------------
7749 3 files changed, 60 insertions(+), 24 deletions(-)
7751 commit fcbc5d45112bd16c9ff8f6ead36d89a6c6381dc8
7752 Author: Robert McQueen <robot101@debian.org>
7753 Date: 2005-11-03 21:47:31 +0000
7755 2005-11-03 Robert McQueen <robot101@debian.org>
7757 * python/service.py: Heavy refactoring of method invocation, with
7758 hopefully no effect on functionality. Nuked _dispatch_dbus_method_call
7759 in favour of a new _message_cb that uses seperate functions for
7760 looking up the method to call, marshalling the return values, and
7761 sending exceptions as errors, and is easier to follow as a
7762 consequence. Fixes some corner cases about returning things that
7763 don't match your declared out_signature, allows exceptions to define
7764 _dbus_error_name and have it be sent over the bus as the error name,
7765 and paves the way for cool stuff like heeding the message no reply
7766 flag, asynchronous method implementations, informing the method of the
7767 sender, and including backtraces in the error messages.
7769 * test/python/test-client.py: Catch and print exceptions thrown in the
7770 async callback tests, rather than passing them to the low-level
7771 bindings to be ignored in a noisy and frustrating manner.
7773 python/service.py | 252 +++++++++++++++++++++++++++++------------------------
7774 1 file changed, 140 insertions(+), 112 deletions(-)
7776 commit b4a92c736cb37f2daba25283e830615dcf7137e8
7777 Author: Robert McQueen <robot101@debian.org>
7778 Date: 2005-11-03 16:13:52 +0000
7780 2005-11-03 Robert McQueen <robot101@debian.org>
7782 * python/_dbus.py, python/proxies.py, python/service.py: Add __repr__
7783 functions to dbus.Bus, dbus.service.BusName and dbus.service.Object,
7784 tweak others to be consistent.
7786 * test/python/test-client.py: Tweak output of testInheritance.
7788 python/_dbus.py | 16 +++++++++++++++-
7789 python/proxies.py | 2 +-
7790 python/service.py | 7 +++++++
7791 3 files changed, 23 insertions(+), 2 deletions(-)
7793 commit cd40a2db923dc01ee80f4827dfd3e102a98a64ec
7794 Author: Robert McQueen <robot101@debian.org>
7795 Date: 2005-10-29 22:41:07 +0000
7797 2005-10-29 Robert McQueen <robot101@debian.org>
7799 * python/service.py: Major changes to allow multiple inheritance
7800 from classes that define D-Bus interfaces:
7802 1. Create a new Interface class which is the parent class of
7803 Object, and make the ObjectType metaclass into InterfaceType.
7805 2. Patch written with Rob Taylor to replace use of method_vtable
7806 with code that walks the class's __MRO__ (method resolution order)
7807 to behave like Python does when invoking methods and allow
7808 overriding as you'd expect. Code is quite tricky because
7809 we have to find two methods, the one to invoke which has the
7810 right name and isn't decorated with the /wrong/ interface,
7811 and the one to pick up the signatures from which is decorated
7812 with the right interface.
7814 The same caveats apply as to normal multiple inheritance -
7815 this has undefined behaviour if you try and inherit from two
7816 classes that define a method with the same name but are
7817 decorated with different interfaces. You should decorate
7818 your overriding method with the interface you want.
7820 3. Replace grungy introspection XML generation code in the metaclass
7821 with dictionaries that cope correctly with multiple inheritance
7822 and the overriding of methods. This also uses the signature
7823 decorations to provide correct introspection data, including
7824 the debut appearance of the types of your return values. :D
7826 * test/python/test-client.py, test/python/test-service.py: Add a test
7827 case to try invoking an method that overrides one inherited from a
7828 D-Bus interface class.
7830 python/service.py | 234 ++++++++++++++++++++++++++++++++---------------------
7831 1 file changed, 144 insertions(+), 90 deletions(-)
7833 commit f14661ee73a5efc92dfcbe22e4230dab153a4d69
7834 Author: Robert McQueen <robot101@debian.org>
7835 Date: 2005-10-29 22:04:01 +0000
7837 2005-10-29 Robert McQueen <robot101@debian.org>
7839 * python/dbus_bindings.pyx: Tweak 'raise AssertionError' to assert().
7840 Add checking for the end of struct character when marshalling a
7841 struct in MessageIter.append_strict.
7843 * python/examples/example-service.py,
7844 python/examples/gconf-proxy-service.py,
7845 python/examples/gconf-proxy-service2.py: Update to use gobject
7846 mainloop directly rather than appearing to depend on gtk.
7848 * python/test/test-client.py, python/test/test-server.py: Remove
7849 obsolete and broken test scripts for old bindings. We have up to date
7850 and working tests in test/python/.
7852 python/dbus_bindings.pyx | 10 ++--
7853 python/examples/example-service.py | 6 +-
7854 python/examples/gconf-proxy-service.py | 5 +-
7855 python/examples/gconf-proxy-service2.py | 5 +-
7856 python/tests/test-client.py | 100 -------------------------------
7857 python/tests/test-server.py | 17 ------
7858 6 files changed, 15 insertions(+), 128 deletions(-)
7860 commit a10facab362212f630b4fc3191a711523ed367b1
7861 Author: Robert McQueen <robot101@debian.org>
7862 Date: 2005-10-29 19:13:17 +0000
7864 2005-10-29 Robert McQueen <robot101@debian.org>
7866 * python/decorators.py: Add optional arguments to the method and
7867 signal decorators to allow you to specify the signature of arguments
7868 and return values. Preserve the doc strings of signal functions in the
7869 decorated version, for pydoc and friends.
7871 * python/dbus_bindings.pyx, python/proxies.py: Replace the
7872 parse_signature_block function with an iterable dbus.Signature()
7873 type. Fix a bug in MessageIter.append_strict where you could append
7874 anything by claiming it was a string.
7876 * python/service.py: Use the out_signature decoration on methods to
7877 marshal return values, meaning you no longer require dbus.Array()
7878 or dbus.Dictionary() to indicate the type when returning empty
7879 arrays or dictionaries. Fix a bug where exceptions which are defined
7880 in __main__ are not turned into error replies.
7882 * test/python/test-client.py, test/python/test-service.py: Add test
7883 for correct marshalling of return values according to out_signature.
7884 Fix a bug in the async call test where the error_handler is missing a
7887 python/dbus_bindings.pyx | 119 ++++++++++++++++++++++++++++------------------
7888 python/decorators.py | 12 +++--
7889 python/proxies.py | 11 ++---
7890 python/service.py | 43 +++++++++++++++--
7891 4 files changed, 124 insertions(+), 61 deletions(-)
7893 commit b07e4f860f8d9ff323558e8276dbda346a09b3b1
7894 Author: Robert McQueen <robot101@debian.org>
7895 Date: 2005-10-24 18:29:50 +0000
7897 2005-10-24 Robert McQueen <robot101@debian.org>
7899 * python/dbus_bindings.pyx (String, MessageIter): make D-Bus strings
7900 derive from unicode instead of str, and encode/decode UTF-8 when
7901 marshalling/unmarshalling bus messages
7903 * python/introspect_parser.py: encode introspection data as UTF-8
7904 before passing the buffer into libxml2
7906 * test/python/test-client.py: add unicode test strings
7908 * test/data/valid-service-files/.cvsignore, test/python/.cvsignore:
7909 ignore generated python test files
7911 python/dbus_bindings.pyx | 16 +++++++++-------
7912 python/introspect_parser.py | 2 +-
7913 2 files changed, 10 insertions(+), 8 deletions(-)
7915 commit 5b923c8dd10dc21e7f03aa8e27d1bb30652fb5da
7916 Author: John (J5) Palmieri <johnp@redhat.com>
7917 Date: 2005-10-18 04:38:04 +0000
7919 * glib/dbus-gvalue-utils.c (hash_free_from_gtype): handle gdouble
7921 and G_TYPE_VALUE_ARRAY (DBUS_TYPE_STRUCT)
7922 (gvalue_from_hash_value, hash_value_from_gvalue): handle gdouble
7924 * glib/dbus-gvalue.c (dbus_gvalue_to_signature): add missing
7925 DBUS_STRUCT_BEGIN_CHAR and DBUS_STRUCT_END_CHAR charaters
7926 when constructing struct signatures
7928 * python/_dbus.py (Bus): handle private connections using the
7929 private keyword in the constructor. defaults to private=False
7930 (Bus::close): new method to close a connection to the bus
7932 * python/dbus_bindings.pyx (Connection::close): renamed method
7933 was previously called disconnect
7934 (bus_get): now supports getting a private connection
7936 * python/proxies.py (ProxyMethod::__call__): check if ignore_reply
7937 keyword is set to True. if it is, execute the method without waiting
7939 (ProxyObject::_introspect_execute_queue): new method for executing
7940 all the pending methods that were waiting for the introspect to
7941 finish. this is called when introspect either succeeds or fails
7942 (ProxyObject::_introspect_error_handler): call queued methods
7944 python/_dbus.py | 31 +++++++++++++++++--------------
7945 python/dbus_bindings.pyx | 16 ++++++++++------
7946 python/proxies.py | 44 +++++++++++++++++++++++++-------------------
7947 3 files changed, 52 insertions(+), 39 deletions(-)
7949 commit cb8652321a7b3791f54a6fb1ebf1675aac9ac33d
7950 Author: John (J5) Palmieri <johnp@redhat.com>
7951 Date: 2005-10-14 21:44:00 +0000
7953 * python/dbus_bindings.pyx (MessageIter::append_strict): check for STRUCT_BEGIN not TYPE_STRUCT in indicate we are marshalling a struct
7955 * python/service.py (Object::_message_cb): handle exceptions correctly
7956 by sending them over the wire to the calling app. This makes sure
7957 the client returns immediately instead of waiting the 15 seconds to
7960 * test/python/test-client.py (TestDBusBindings::testBenchmarkIntrospect):
7961 Add a test to benchmark how long it takes to introspect a service and
7962 call a method which returns a large element (pretty fast)
7964 * test/python/test-service.py (TestObject::GetComplexArray): new test
7965 method which pushes a lot of data
7967 python/dbus_bindings.pyx | 3 +--
7968 python/service.py | 18 ++++++++++++------
7969 2 files changed, 13 insertions(+), 8 deletions(-)
7971 commit d468280ea6cf7be2c3729a182f3c252fd2a7b999
7972 Author: John (J5) Palmieri <johnp@redhat.com>
7973 Date: 2005-10-13 23:34:11 +0000
7975 * python/service.py(ObjectType::_reflect_on_signal, _reflect_on_method):
7977 reclaim memory outside of the loop and use del istead of just setting
7980 python/service.py | 10 +++++-----
7981 1 file changed, 5 insertions(+), 5 deletions(-)
7983 commit fb3300cea133630f45d13776a66dcbbd71c46d97
7984 Author: John (J5) Palmieri <johnp@redhat.com>
7985 Date: 2005-10-13 23:26:00 +0000
7987 * python/service.py (ObjectType::_reflect_on_signal): Always close
7989 signal tag even when there are no arguments
7991 python/service.py | 2 +-
7992 1 file changed, 1 insertion(+), 1 deletion(-)
7994 commit 137d6a5121de6ae44a37ca99c5519c4300cc9dea
7995 Author: John (J5) Palmieri <johnp@redhat.com>
7996 Date: 2005-10-06 04:43:52 +0000
7998 * actualy add the introspection parser to CVS :-)
8000 python/introspect_parser.py | 50 +++++++++++++++++++++++++++++++++++++++++++
8001 1 file changed, 50 insertions(+)
8003 commit 423589e748db1783cbce03452e5fe5685b83f750
8004 Author: John (J5) Palmieri <johnp@redhat.com>
8005 Date: 2005-10-05 20:43:46 +0000
8007 * glib/dbus-gvalue.c (marshal_variant): call _dbus_gvalue_marshal instead of marshal basic so we can handle recursive types in a variant
8009 * test/glib/test-dbus-glib.c: Add test for marshaling recurive types
8012 * test/glib/test-service-glib.c, test-service-glib.xml
8013 (my_object_echo_variant [EchoVariant],
8014 my_object_process_variant_of_array_of_ints123
8015 [ProcessVariantOfArrayOfInts123]):
8016 Add two test methods
8018 * python/introspect_parser.py: New module for parsing introspect
8021 * python/dbus_bindings.pyx:
8022 (various places): when throwing errors fix to use errormsg instead
8023 of message local variable because Pyrex can get confused with other
8024 message variables (initial patch by Robert McQueen
8025 <robert.mcqueen at collabora.co.uk>)
8026 (MessageIter::parse_signature_block): new method for getting the next
8027 block in a signiture.
8028 (MessageIter::append_strict): new method for appending values strictly
8029 using the passed in signature instead of guessing at the type
8030 (MessageItter:: append_dict, append_struct, append_array): use
8031 signatures to marshal children if the signature is available
8033 * python/exceptions.py (IntrospectionParserException): new exception
8035 * python/proxies.py (ProxyMethod::__call__): Marshal args with
8036 introspected signatures if available, else we fall back to the
8037 old way of doing things.
8038 (ProxyObject::_introspect_reply_handler ): parse introspection data
8040 * python/service.py (ObjectType::_reflect_on_method): Properly
8041 terminate <method> if there are no args in the reflection data
8043 * test/python/test-client.py: add tests for talking with the GLib
8044 test server. This gives us better coverage for introspection since
8045 python to python will always generate arguments as variants. It also
8046 allows us to test the robustness of the GLib bindings and interlanguage
8049 python/Makefile.am | 13 ++-
8050 python/dbus_bindings.pyx | 197 +++++++++++++++++++++++++++++++++++++---------
8051 python/exceptions.py | 4 +
8052 python/proxies.py | 75 ++++++++++++++----
8053 python/service.py | 3 +-
8054 5 files changed, 239 insertions(+), 53 deletions(-)
8056 commit 747ebb525b3522cab2415fe55c6a8418a7528238
8057 Author: John (J5) Palmieri <johnp@redhat.com>
8058 Date: 2005-09-26 22:12:17 +0000
8060 * dbus/Python.pyx: Fixed memory leaks when throwing errors. We now copy the message from a DBusError and then free the error object befor throwing the error
8062 python/dbus_bindings.pyx | 54 ++++++++++++++++++++++++++++++++--------------
8063 1 file changed, 38 insertions(+), 16 deletions(-)
8065 commit 583a8acad47cf49f9e28d8f7360f8bb1a409e0d4
8066 Author: John (J5) Palmieri <johnp@redhat.com>
8067 Date: 2005-09-06 22:42:54 +0000
8069 - update to next release version
8071 python/__init__.py | 2 +-
8072 1 file changed, 1 insertion(+), 1 deletion(-)
8074 commit 8f6b65becb2183f68e5c923854c4b5946a40dbfd
8075 Author: John (J5) Palmieri <johnp@redhat.com>
8076 Date: 2005-09-06 22:38:54 +0000
8080 * Patch from Steve Grubb:
8081 - bus/activation.c (bus_activation_service_reload_test): clean up
8083 - dbus/dbus-keyring.c (_dbus_keyring_reload): fix conditional
8084 - dbus/dbus-message-factory.c (generate_special): fix a couple of
8085 buffer overflows in the test suite. This is non critical because
8086 it can not be exploited and this code is only run when doing a
8089 * Patch from Yaakov Selkowitz: Build fixes for Cygwin
8090 - configure.in: Don't check and link against kdecore, only qt headers
8091 - dbus/Makefile.am: Add -no-undefined to libdbus_1_la_LDFLAGS
8092 - gcj/org/freedesktop/dbus/Makefile.am:
8093 add libdbus_gcj_1_la_LDFLAGS = -no-undefined
8094 - glib/Makefile.am: Add -no-undefined to libdbus_glib_1_la_LDFLAGS
8095 and $(DBUS_GLIB_LIBS) to dbus_binding_tool_LDADD
8096 - qt/Makefile.am: Add -no-undefined to libdbus_qt_1_la_LDFLAGS
8097 - tools/Makefile.am: Add platform extentions to binaries
8098 (i.e. .exe on windows)
8101 - Make it so if no suitable version of python is found we only
8102 disable building python instead of exiting the configure script
8103 - Require version 2.4 of glib for glib bindings
8104 - Up version to 0.50
8106 * python/__init__.py: Sync version with libdbus to (0,50,0)
8108 python/__init__.py | 2 +-
8109 1 file changed, 1 insertion(+), 1 deletion(-)
8111 commit c9ce6ac673fef6ca5189480d73b542e7f2c283f3
8112 Author: John (J5) Palmieri <johnp@redhat.com>
8113 Date: 2005-09-01 01:22:06 +0000
8115 * python/Makefile.am: Break on pyrexc errors instead of ignoring them
8117 * python/dbus_bindings.pyx: Memory management foo
8118 (global): remove hacky _user_data_references global list
8119 (GIL_safe_cunregister_function_handler): userdata now stuffed into
8120 tuples. Unref user_data
8121 (GIL_safe_cmessage_function_handler): userdata now stuffed into tuples
8122 (Connection::__del__): Remove and replace with __dealloc__ method
8123 (Connection::add_filter): Stuff user_data into a tuple. Use Py_INCREF
8124 to keep tuple from being deallocated instead of the global var hack
8125 (Connection::register_object_path): Stuff user_data into a tuple.
8126 Use Py_INCREF to keep tuple from being deallocated instead of the
8128 (Connection::register_fallback): Stuff user_data into a tuple.
8129 Use Py_INCREF to keep tuple from being deallocated instead of the
8131 (GIL_safe_pending_call_notification): Don't unref the message
8132 because it gets unreffed when going out of scope. Py_XDECREF
8134 (PendingCall::__del__): Remove and replace with __dealloc__ method
8135 (PendingCall::set_notify): ref the pending call because we will
8136 need it to stick around for when the notify callback gets called
8137 (Message::__del__): Remove and replace with __dealloc__ method
8139 * python/dbus_glib_bindings.pyx (init_gthreads): Changed to
8140 gthreads_init to match up with the dbus call
8142 * python/glib.py (init_threads): Changed to threads_init to match
8143 up with gobject.threads_init(). init_threads is kept for backwards
8144 compat but will most likely be deprecated in the future
8146 * test/python/test-client.py:
8147 - revamp to use Python's unittest functionality
8148 - add async call tests
8149 - setup threads in glib and dbus so we make sure locks are working
8151 python/Makefile.am | 4 ++--
8152 python/dbus_bindings.pyx | 40 ++++++++++++++++++----------------------
8153 python/dbus_glib_bindings.pyx | 2 +-
8154 python/glib.py | 6 ++++--
8155 4 files changed, 25 insertions(+), 27 deletions(-)
8157 commit c33b023b7a72b42129e202ad3a34d9ac6bc68090
8158 Author: John (J5) Palmieri <johnp@redhat.com>
8159 Date: 2005-08-31 02:18:43 +0000
8161 * python/dbus_bindings.pyx
8163 (_pending_call_notification, cunregister_function_handler,
8164 cmessage_function_handler): All callback functions have been rearranged
8165 to workaround a bug in Pyrex when working with the GIL which is Python's
8166 global lock when dealing with threads. They have been split into
8167 a wrapper function (which assumes the name of the old function) and
8168 a _GIL_safe_<function name> function which contains the functionality
8169 of the old function. This ensures that Pyrex does not write code
8170 the lock is released.
8172 python/dbus_bindings.pyx | 110 +++++++++++++++++++++++++++-------------------
8173 1 file changed, 65 insertions(+), 45 deletions(-)
8175 commit ccba1a75d274300215ac3b8eb06792c06679de55
8176 Author: John (J5) Palmieri <johnp@redhat.com>
8177 Date: 2005-08-30 15:21:04 +0000
8179 * python/dbus_bindings.pyx (_pending_call_notification): Obtain the GIL global lock when calling back into Python
8181 python/dbus_bindings.pyx | 25 +++++++++++++++----------
8182 1 file changed, 15 insertions(+), 10 deletions(-)
8184 commit 780a08253b6e9ac0270d50cb0498cb7085bd05a2
8185 Author: John (J5) Palmieri <johnp@redhat.com>
8186 Date: 2005-08-26 04:23:33 +0000
8188 * s/Message(_create=0)/EmptyMessage everywhere else
8190 * test/python/test-{server|client}.py: add the python/.libs directory
8191 to the lookup path so dbus_bindings and dbus_glib_bindings don't
8192 get picked up from the system
8194 python/dbus_bindings.pyx | 13 ++++++++-----
8195 1 file changed, 8 insertions(+), 5 deletions(-)
8197 commit 068820cbec569f14277f0dc52e4219ad123bed24
8198 Author: John (J5) Palmieri <johnp@redhat.com>
8199 Date: 2005-08-26 03:09:58 +0000
8201 * python/dbus_bindings.pyx: Tracked down a major memleak and fixed it (EmptyMessage): new class that subclasses Message. This is a workaround to a Pyrex bug that fails to call __del__ when the Message object goes out of scope. For some reason subclassing Message fixes this bug (Bus::send_with_reply_and_block): use EmptyMessage instead of Message
8203 python/dbus_bindings.pyx | 36 ++++++++++++++++++++----------------
8204 python/proxies.py | 2 +-
8205 2 files changed, 21 insertions(+), 17 deletions(-)
8207 commit 749873c6f8326c450173f62078c8eb8f38e7e2f7
8208 Author: John (J5) Palmieri <johnp@redhat.com>
8209 Date: 2005-08-24 19:58:32 +0000
8211 - Merged changed from the DBUS_0_36_1 bugfix branch
8213 python/Makefile.am | 2 +-
8214 python/_dbus.py | 12 ++++++------
8215 python/proxies.py | 5 +++--
8216 3 files changed, 10 insertions(+), 9 deletions(-)
8218 commit c93ba0371f2bed41ceb47826dea8852b6b6107cf
8219 Author: John (J5) Palmieri <johnp@redhat.com>
8220 Date: 2005-08-23 17:43:59 +0000
8222 * python/dbus_glib_bindings.pyx: reorder imports and c definitions
8224 to fix some wranings. We now use dbus_bindings.DBusConnection instead
8225 of defining DBusConnection ourselves.
8227 python/dbus_glib_bindings.pyx | 12 +++++-------
8228 1 file changed, 5 insertions(+), 7 deletions(-)
8230 commit 0caa747c4dac110d7a1550cfcded41c03d5bf4f7
8231 Author: John (J5) Palmieri <johnp@redhat.com>
8232 Date: 2005-08-18 20:57:28 +0000
8234 * python/dbus.pth: New path file to fix up problems when installing c libraries to lib64 and python files to lib.
8236 * python/Makefile.am: install dbus.pth in the correct spot
8238 python/Makefile.am | 3 +++
8239 python/dbus.pth | 1 +
8240 2 files changed, 4 insertions(+)
8242 commit 53aee6867499fb4b2135ed06dd5c4c6cd96058e0
8243 Author: John (J5) Palmieri <johnp@redhat.com>
8244 Date: 2005-08-18 04:04:57 +0000
8246 * ChangeLog: clean up my last entry a bit
8248 * doc/introspect.xsl: New stylesheet for converting introspection data
8249 into browser renderable xhtml. Contributed by Lennart Poettering.
8251 * doc/introspect.dtd: Fixups in the introspect format from Lennart
8254 * doc/dbus-tutorial.xml:
8255 - Add Colin Walter to the Authors section for authoring the GLib
8257 - Add descriptions of the new signature and type functionality
8258 in the Python complex type mapping section
8259 - Add a sidenote on the new args matching functionality in
8261 - Fixed up some of the examples to use the gobject.MainLoop
8265 (Bus::_create_args_dict): New. Converts a hash of arg matches
8266 to a more useable format
8267 (Bus::add_signal_receiver): add a **keywords parameter for catching
8268 arg match parameters
8269 (Bus::remove_signal_receiver): add a **keywords parameter for catching
8270 arg match parameters
8272 * python/matchrules.py:
8273 (MatchTree::exec_matches): Check for arg matches
8274 (SignalMatchRule::add_args_match): New method
8275 (SignalMatchRule::execute): Added args_list parameter as an optimization
8276 so we don't have to marshal the args more than once
8277 (SignalMatchRule::match_args_from_list): New method that checks to see
8278 if the rule's arg matches match an argument list. Only arguments
8279 set in the rule are checked.
8280 (SignalMatchRule::match_args_from_rule): New method that checks to see
8281 if the rule's arg matches match another rule's. All args have to match
8282 in order for this method to return true. If either rule has more args
8283 then it is not a match.
8284 (SignalMatchRule::is_match): Add args match
8285 (SignalMatchRule::repr): Add args to the final output if they exist
8287 python/_dbus.py | 55 ++++++++++++++++++++---
8288 python/examples/example-signal-recipient.py | 3 +-
8289 python/matchrules.py | 64 ++++++++++++++++++++++++---
8290 3 files changed, 109 insertions(+), 13 deletions(-)
8292 commit 4f3ccf5fd76cacb67b1a73c7a88b00fe83180275
8293 Author: John (J5) Palmieri <johnp@redhat.com>
8294 Date: 2005-08-16 22:54:02 +0000
8296 * python/__init__.py: Version updated (0, 43, 0)
8298 * python/dbus_bindings.pyx:
8299 - Fixed type objects to have self passed into __init__
8300 - Added the Variant type
8301 - Add the ability to specify types or signatures for Array, Variant and Dictionary
8302 - (Connection::send_with_reply_handlers): return a PendingCall object
8303 - (_pending_call_notification): handle the case when an error is returned
8304 without an error message in the body
8305 - (MessageIter::get_boolean): return True or False instead of an integer
8306 - (MessageIter::python_value_to_dbus_sig): add direct checking of types and
8307 add checks for objects with embeded signatures or types (Array, Variant and
8309 - (MessageIter::append_byte): handle case when the value is a dbus.Byte
8310 - (MessageIter::append_dict): handle embeded types or signatures
8311 - (MessageIter::append_array): handle embeded types or signatures
8312 - (MessageIter::append_variant): new method
8314 * python/proxies.py:
8315 - (DeferedMethod): New. Dummy executable object used when queuing calls blocking on
8317 - (ProxyMethod::__call__): add the timeout keyword for specifying longer or
8318 shorter timeouts for method calls
8319 - (ProxyObject): Add first pass at an introspection state machine
8320 - (ProxyObject::__init__): Add introspect keyword for turing off an on
8322 - (ProxyObject::_Introspect): Internal Introspect call that bypasses the usual
8323 mechanisms for sending messages. This is to avoid a deadlock where the Intospect
8324 call would be queued waiting for the Introspect call to finish ;-)
8325 - (ProxyObject::_introspect_reply_handler): New. This method is called when
8326 introspection returns with no error
8327 - (ProxyObject::_introspect_error_handler): New. This method is called when
8328 introspection encounters an error
8329 - (ProxyObject::__getattr__): Code to handle different introspection states.
8330 Queue async calls or block blocking calls if we are introspecting. Pass through
8331 as normal if we are not or are done with introspecting.
8333 * python/service.py: Import signal and method from decorators.py
8335 * python/types.py: Add Variant type
8337 python/__init__.py | 2 +-
8338 python/_dbus.py | 5 +-
8339 python/dbus_bindings.pyx | 223 ++++++++++++++++++++++++-------
8340 python/examples/example-client.py | 1 +
8341 python/examples/list-system-services.py | 4 +-
8342 python/proxies.py | 97 ++++++++++++--
8343 python/service.py | 2 +
8344 python/types.py | 1 +
8345 8 files changed, 269 insertions(+), 66 deletions(-)
8347 commit 3ff048fc5ad215987749046e283ca97454bc7554
8348 Author: John (J5) Palmieri <johnp@redhat.com>
8349 Date: 2005-07-20 14:15:08 +0000
8351 * python/_dbus.py, _util.py, decorators.py, extract.py, matchrules.py. proxies.py, service.py: Cleanup of code after running it through the pyflakes code checker mostly dealing with undefined names. (Bug #3828, Patch from Anthony Baxter <anthony@interlink.com.au>)
8353 python/_dbus.py | 3 ---
8354 python/_util.py | 1 +
8355 python/decorators.py | 1 -
8356 python/extract.py | 2 --
8357 python/matchrules.py | 2 +-
8358 python/proxies.py | 3 ++-
8359 python/service.py | 5 +++--
8360 7 files changed, 7 insertions(+), 10 deletions(-)
8362 commit a076f4405829b136edbb89d99fbc485c9179b642
8363 Author: John (J5) Palmieri <johnp@redhat.com>
8364 Date: 2005-07-17 21:02:56 +0000
8366 * Merge DBUS_0_35_2 branch into HEAD
8368 2005-07-17 John (J5) Palmieri <johnp@redhat.com>
8370 * NEWS: Update to 0.35.2
8372 2005-07-17 John (J5) Palmieri <johnp@redhat.com>
8374 * python/_dbus.py: Remove import of the dbus.services
8375 module as it no longer exists (patch from Dimitur Kirov)
8377 * python/service.py (Object::__init__): Fixed typo
8378 s/name/bus_name (patch from Dimitur Kirov)
8380 * python/examples/example-signal-emitter.py: import dbus.glib
8381 to get the main loop and use glib mainloop instead of gtk so
8382 X doesn't have to be running.
8384 * python/examples/example-signal-recipient.py: import dbus.glib
8385 to get the main loop and use glib mainloop instead of gtk so
8386 X doesn't have to be running. Import the decorators module
8389 * test/glib/Makefile.am: Added DIST_EXTRA files that distcheck
8390 didn't pick up on but are needed to build
8392 * configure.in: upped version to 0.35.2
8394 * bus/driver.c, bus/selinux.c, bus/selinux.h, dbus/dbus-protocol.h:
8395 added Colin Walters' SELinux API rename patch from head
8396 s/unix sercurity context/selinux security context/
8398 2005-07-16 John (J5) Palmieri <johnp@redhat.com>
8400 * python/Makefile.am: dbus_binding.pxd.in should be included
8401 in EXTRA_DIST not dbus_binding.pxd
8402 fix up $(srcdir) hopefully for the last time
8404 * NEWS: Update to 0.35.1
8406 python/Makefile.am | 16 ++++++++--------
8407 python/_dbus.py | 1 -
8408 python/examples/example-signal-emitter.py | 6 ++++--
8409 python/examples/example-signal-recipient.py | 13 +++++++------
8410 python/service.py | 2 +-
8411 5 files changed, 20 insertions(+), 18 deletions(-)
8413 commit cf7d10b2e4240c5c2bd4df4a1f2cf5b76aa499c0
8414 Author: John (J5) Palmieri <johnp@redhat.com>
8415 Date: 2005-07-15 20:28:05 +0000
8417 * glib/Makefile.am: Add make-dbus-glib-error-switch.sh to EXTRA_DIST so distcheck doesn't fail
8419 * glib/examples/Makefile.am: Add example-service.xml and
8420 example-signal-emitter.xml to EXTRA_DIST so distcheck doesn't fail
8422 * glib/examples/statemachine/Makefile.am: Add statemachine.xml and
8423 statemachine-server.xml to EXTRA_DIST so distcheck doesn't fail
8425 * python/Makefile.am: Preprend $(srcdir)/ to source files so the
8426 compiler looks in the right places during distcheck
8428 python/Makefile.am | 10 +++++-----
8429 1 file changed, 5 insertions(+), 5 deletions(-)
8431 commit dc94fa7e3cd71c0dd29b4899bb0d956dc4019b34
8432 Author: John (J5) Palmieri <johnp@redhat.com>
8433 Date: 2005-07-15 18:09:59 +0000
8435 * python/examples/example-service.py, python/examples/example-signal-emitter.py: Fixed up examples for API changes
8437 python/examples/example-service.py | 4 ++--
8438 python/examples/example-signal-emitter.py | 10 +++++-----
8439 2 files changed, 7 insertions(+), 7 deletions(-)
8441 commit 8b4ad749be5c97607ad2c0c3bcf1fc41c4877bf5
8442 Author: John (J5) Palmieri <johnp@redhat.com>
8443 Date: 2005-07-15 17:33:17 +0000
8445 * python/__init__.py: Upped to version (0,42,0) because of the API change
8447 python/__init__.py | 2 +-
8448 1 file changed, 1 insertion(+), 1 deletion(-)
8450 commit 96a7dee3c739e4c5eb6b18cc093bec41bb42da35
8451 Author: John (J5) Palmieri <johnp@redhat.com>
8452 Date: 2005-07-15 15:21:43 +0000
8454 * bus/dispatch.c, test/test-service.c: Add testcase for sending messages to oneself (TODO item).
8456 * python/service.py (class Object): Swap ordering of bus_name
8457 and object_path parameters to better support inheritance.
8459 * doc/dbus-tutorial.xml: change Python docs to reflect change
8460 in parameter ordering and fix the inheritance section.
8462 * doc/TODO: remove sending message to oneself TODO item
8464 python/service.py | 4 ++--
8465 1 file changed, 2 insertions(+), 2 deletions(-)
8467 commit 557f47a57fed5a5b4e56677ed0cf5ae8f2987536
8468 Author: John (J5) Palmieri <johnp@redhat.com>
8469 Date: 2005-07-15 02:15:07 +0000
8471 * python/_dbus.py (Bus::remove_signal_receiver): don't add a callback to the match if none has been passed in
8473 * python/matchrules.py (SignalMatchTree::remove): if the rule
8474 being matched does not have a callback treat it as a wildcard
8477 * doc/dbus-tutorial.xml: Add Python tutorial
8479 python/_dbus.py | 4 +++-
8480 python/matchrules.py | 12 ++++++++----
8481 2 files changed, 11 insertions(+), 5 deletions(-)
8483 commit ea23dea1046cb6e9fdb2d618a53e61d1d61b1f53
8484 Author: John (J5) Palmieri <johnp@redhat.com>
8485 Date: 2005-07-14 20:44:15 +0000
8487 Checking in Rodrigo's patch along with my fixes to the patch
8489 2005-07-14 John (J5) Palmieri <johnp@redhat.com>
8491 * bus/activation.c: clean up all tabs to be 8 spaces
8492 (bus_activation_activate_service): make sure we clean up
8495 * bus/dispatch.c: clean up all tabs to be 8 spaces
8496 (check_shell_fail_service_auto_start): New function
8497 tests to make sure we get fail properly when trying to auto start a service
8498 with a faulty command line
8499 (check_shell_service_success_auto_start): New function tests to make sure
8500 auto started services get the arguments on the command line
8502 * test/test-shell-service.c: Added service for testing auto-starting with
8503 command line arguments
8505 * test/data/valid-service-files/debug-shell-echo-fail.service.in,
8506 test/data/valid-service-files/debug-shell-echo-success.service.in:
8507 Added service files for testing auto-starting with command line arguments
8509 * */.cvsignore: added a bunch of generated files to various .cvsignore files
8511 2005-07-14 Rodrigo Moya <rodrigo@novell.com>
8513 * dbus/dbus-shell.[ch]: copy/pasted code from GLib.
8515 * dbus/Makefile.am: added new files to build.
8517 * bus/activation.c (bus_activation_activate_service): support
8518 activation commands with parameters.
8520 * test/shell-test.c: added test program for the shell parsing
8523 python/.cvsignore | 1 +
8524 python/Makefile.am | 14 +++++++-------
8525 2 files changed, 8 insertions(+), 7 deletions(-)
8527 commit 008027f4fafbbb77a45c0fa586855552c9564696
8528 Author: John (J5) Palmieri <johnp@redhat.com>
8529 Date: 2005-07-13 18:22:34 +0000
8531 * python/.cvsignore: remove dbus_bindings.pyx, add dbus_bindings.pxd
8533 * python/service.py (class Name): renamed BusName to make it clearer
8534 what the object is for (a name on the bus)
8536 * python/examples/example-service.py,
8537 python/examples/example-signal-emitter.py: change the Name object to
8540 python/.cvsignore | 2 +-
8541 python/examples/example-service.py | 4 +---
8542 python/examples/example-signal-emitter.py | 2 +-
8543 python/service.py | 8 ++------
8544 4 files changed, 5 insertions(+), 11 deletions(-)
8546 commit ac9ab9544b98222fcce9329194f10774edea8a87
8547 Author: John (J5) Palmieri <johnp@redhat.com>
8548 Date: 2005-07-12 18:16:05 +0000
8550 * python/dbus_bindings.pyx.in: removed
8552 * python/dbus_bindings.pyx: Added.
8553 - Fixed some memleaks (patch from
8554 Sean Meiners <sean.meiners@linspireinc.com>)
8555 - Broke out the #include "dbus_h_wrapper.h" and put it in its
8556 own pxd file (Pyrex definition)
8557 - Broke out glib dependancies into its own pyx module
8559 * python/dbus_bindings.pdx: Added.
8560 - Defines C class Connection for exporting to other modules
8562 * python/dbus_glib_bindings.pyx: Added.
8563 - New module to handle lowlevel dbus-glib mainloop integration
8565 * python/glib.py: Added.
8566 - Registers the glib mainloop when you import this module
8568 * python/services.py: Removed (renamed to service.py)
8570 * python/service.py: Added.
8571 - (class Server): renamed Name
8573 * python/__init__.py: Bump ro version (0,41,0)
8574 - don't import the decorators or service module
8575 by default. These now reside in the dbus.service namespace
8577 * python/_dbus.py (Bus::__init__): Add code run the main loop
8578 setup function on creation
8580 * python/examples/example-service.py,
8581 python/examples/example-signal-emitter.py: update examples
8583 * python/examples/gconf-proxy-service.py,
8584 python/examples/gconf-proxy-service2.py: TODO fix these up
8586 * doc/TODO: Addition
8587 - Added a Python Bindings 1.0 section
8588 - added "Add match on args or match on details to match rules"
8590 python/Makefile.am | 34 +-
8591 python/__init__.py | 5 +-
8592 python/_dbus.py | 19 +-
8593 python/dbus_bindings.pxd.in | 8 +
8594 python/dbus_bindings.pyx | 1488 ++++++++++++++++++++++++++++
8595 python/dbus_bindings.pyx.in | 1494 -----------------------------
8596 python/dbus_glib_bindings.pyx | 19 +
8597 python/examples/example-service.py | 19 +-
8598 python/examples/example-signal-emitter.py | 15 +-
8599 python/examples/gconf-proxy-service.py | 2 +-
8600 python/examples/gconf-proxy-service2.py | 2 +-
8601 python/glib.py | 15 +
8602 python/service.py | 187 ++++
8603 python/services.py | 187 ----
8604 14 files changed, 1771 insertions(+), 1723 deletions(-)
8606 commit 5f5b7847e7a159e040bc9070a143cd6547a9689b
8607 Author: John (J5) Palmieri <johnp@redhat.com>
8608 Date: 2005-06-28 19:36:51 +0000
8610 * python/dbus_bindings.pyx.in (cunregister_function_handler, cmessage_function_handler): Patch from Anthony Baxter <anthony@interlink.com.au> fixes threading problems by using the Py_GILState_Ensure/Release to synchronize with the python runtime.
8612 python/dbus_bindings.pyx.in | 60 ++++++++++++++++++++++++++-----------------
8613 1 file changed, 36 insertions(+), 24 deletions(-)
8615 commit b9ef3eaf17a91f258af17c6e9ae8acb23eb7b411
8616 Author: Colin Walters <walters@verbum.org>
8617 Date: 2005-06-16 05:51:46 +0000
8619 2005-06-16 Colin Walters <walters@verbum.org>
8621 * python/dbus_bindings.pyx.in: Import size_t,
8622 __int64_t, __uint64_t, and __signed.
8624 * dbus/dbus-sysdeps.c <HAVE_CMSGCRED> (write_credentials_byte):
8625 Define cmsg struct, output it.
8626 (_dbus_read_credentials_unix_socket):
8629 Patch from Joe Markus Clarke for FreeBSD support.
8631 python/dbus_bindings.pyx.in | 8 ++++++++
8632 1 file changed, 8 insertions(+)
8634 commit 4a8fc73472c80880c0c6c5cf1401f3ab9817965f
8635 Author: Colin Walters <walters@verbum.org>
8636 Date: 2005-06-13 03:01:17 +0000
8638 2005-06-12 Colin Walters <walters@verbum.org>
8640 Async signals and various bugfixes and testing by
8641 Ross Burton <ross@burtonini.com>.
8643 * glib/dbus-gvalue.h: (struct DBusBasicGValue): Delete.
8644 (dbus_gvalue_genmarshal_name_from_type)
8645 (dbus_gvalue_ctype_from_type): Moved to dbus-binding-tool-glib.c.
8646 (dbus_gtype_to_dbus_type): Renamed to dbus_gtype_from_signature.
8647 (dbus_g_value_types_init, dbus_gtype_from_signature)
8648 (dbus_gtype_from_signature_iter, dbus_gtype_to_signature)
8649 (dbus_gtypes_from_arg_signature): New function prototypes.
8650 (dbus_gvalue_demarshal): Take context and error arguments.
8651 (dbus_gvalue_demarshal_variant): New function.
8652 (dbus_gvalue_demarshal_message): New function.
8653 (dbus_gvalue_store): Delete.
8655 * glib/dbus-gvalue.c:
8657 File has been almost entirely rewritten; now we special-case
8658 more types such as DBUS_TYPE_SIGNATURE, handle arrays and
8659 hash tables correctly, etc. Full support for recursive values
8660 is not yet complete.
8662 * glib/dbus-gproxy.c (dbus_g_proxy_class_init): Change last
8663 argument of signal to G_TYPE_POINTER since we now pass a
8665 (lookup_g_marshaller): Delete in favor of
8666 _dbus_gobject_lookup_marshaller.
8667 (marshal_dbus_message_to_g_marshaller): Use
8668 _dbus_gobject_lookup_marshaller and dbus_gvalue_demarshal_message
8669 to handle remote signal callbacks.
8670 (dbus_g_proxy_new_from_proxy): New function; creates a new
8671 DBusGProxy by copying an existing one.
8672 (dbus_g_proxy_get_interface, dbus_g_proxy_set_interface)
8673 (dbus_g_proxy_get_path): New functions.
8674 (dbus_g_proxy_marshal_args_to_message): New function;
8675 factored out of existing code.
8676 (DBUS_G_VALUE_ARRAY_COLLECT_ALL): Collect all arguments
8677 from a varargs array.
8678 (dbus_g_proxy_begin_call_internal): New function.
8679 (dbus_g_proxy_end_call_internal): New function.
8680 (dbus_g_proxy_begin_call): Take GTypes instead of DBus types
8681 as arguments; simply invoke dbus_g_proxy_begin_call_internal
8682 after collecting args into value array.
8683 (dbus_g_proxy_end_call): Take GTypes instead of DBus types;
8684 invoke dbus_g_proxy_end_call_internal.
8685 (dbus_g_proxy_invoke): Simply invoke begin_call_interanl and
8687 (dbus_g_proxy_call_no_reply): Take GTypes instead of DBus
8689 (array_free_all): New function.
8690 (dbus_g_proxy_add_signal): Take GTypes.
8692 * glib/dbus-gobject.h:
8693 (_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
8694 (_dbus_gobject_get_path, _dbus_gobject_lookup_marshaller):
8697 * glib/dbus-gobject.c: Add a global marshal_table hash which
8698 stores mappings from type signatures to marshallers. Change lots
8699 of invocations of dbus_gtype_to_dbus_type to
8700 dbus_gtype_to_signature.
8701 (_dbus_glib_marshal_dbus_message_to_gvalue_array): Delete.
8702 (introspect_signals): Fix test for query.return_type.
8703 (set_object_property): Update invocation of dbus_gvalue_demarshal.
8704 (invoke_object_method): Many changes. Handle asynchronous
8705 invocations. Convert arguments with
8706 dbus_gvalue_demarshal_message. Handle errors. Use
8707 DBusSignatureIter instead of strlen on args. Handle all arguments
8708 generically. Special-case variants.
8709 (dbus_g_method_return, dbus_g_method_return_error): New function.
8710 (DBusGSignalClosure): New structure, closes over signal
8712 (dbus_g_signal_closure_new): New function.
8713 (dbus_g_signal_closure_finalize): New function.
8714 (signal_emitter_marshaller): New function; is special marshaller
8715 which emits signals on bus.
8716 (export_signals): New function; introspects object signals and
8718 (dbus_g_object_type_install_info): Take GType instead of
8720 (dbus_g_connection_register_g_object): Invoke export_signals.
8721 (dbus_g_connection_lookup_g_object): New function.
8722 (DBusGFuncSignature) New structure; used for mapping type
8723 signatures to marshallers.
8724 (funcsig_hash): New function; hashes DBusGFuncSignature.
8725 (funcsig_equal): New function; compares DBusGFuncSignature.
8726 (_dbus_gobject_lookup_marshaller): New function.
8727 (dbus_g_object_register_marshaller): New function; used to
8728 register a marshaller at runtime for a particular signature.
8730 * glib/dbus-gmain.c (_dbus_gmain_test): Add various tests.
8732 * glib/dbus-binding-tool-glib.h: Add DBUS_GLIB_ANNOTATION_ASYNC
8733 which notes a server method implementation should be
8736 * glib/dbus-binding-tool-glib.c
8737 (dbus_binding_tool_output_glib_server): Call
8738 dbus_g_value_types_init.
8739 (write_formal_parameters): Use dbus_gtype_from_signature. Handle
8741 (dbus_g_type_get_lookup_function): Turn GType into an invocation
8742 of a lookup function.
8743 (write_args_for_direction): Use dbus_g_type_get_lookup_function.
8744 (write_untyped_out_args): New method; write output arguments.
8745 (write_formal_declarations_for_direction): Function for
8747 (write_formal_parameters_for_direction): Function for
8748 writing implementations.
8749 (write_typed_args_for_direction): Function for writing
8750 arguments prefixed with GTypes.
8751 (write_async_method_client): Write out async version
8754 * glib/dbus-binding-tool-glib.c: Include dbus-gvalue-utils.h.
8755 (dbus_g_type_get_marshal_name): Move mapping from GType
8756 to marshal name into here.
8757 (dbus_g_type_get_c_name): Move into here.
8758 (compute_marshaller): Convert signature to type with
8759 dbus_gtype_from_signature, use dbus_g_type_get_marshal_name.
8760 (compute_marshaller_name): Ditto.
8761 (compute_marshaller): Handle async signal annotations.
8762 (gather_marshallers): Return if we don't have a known
8764 (generate_glue): Collect introspection blob here, and
8765 write all of the blob at the end. This allows an object
8766 with multiple interfaces to work.
8767 Mark async methods in introspection blob.
8769 * glib/Makefile.am (libdbus_glib_1_la_SOURCES): Add
8770 dbus-gtype-specialized.c, dbus-gtype-specialized.h,
8771 dbus-gvalue-utils.h, dbus-gvalue-utils.c.
8773 * dbus/dbus-glib.h: Don't include dbus-protocol.h; this
8774 avoids people accidentally using DBUS_TYPE_* which should
8775 not be necessary anymore.
8776 Do include dbus-gtype-specialized.h, which are utilities
8777 for GLib container types.
8778 Add various #defines for types such as
8779 DBUS_TYPE_G_BOOLEAN_ARRAY.
8780 (DBusGValueIterator, DBusGValue): Define, not fully used
8782 (dbus_g_value_get_g_type): Type for recursive value.
8783 (dbus_g_value_open, dbus_g_value_iterator_get_value)
8784 (dbus_g_value_iterator_get_values, dbus_g_value_iterator_recurse)
8785 (dbus_g_value_free): Prototypes.
8786 (dbus_g_object_register_marshaller, dbus_g_proxy_new_from_proxy): Prototype.
8787 (dbus_g_proxy_set_interface): Prototype.
8788 (dbus_g_proxy_begin_call, dbus_g_proxy_end_call)
8789 (dbus_g_proxy_call_no_reply): Take GLib types instead of DBus
8791 (dbus_g_proxy_get_path, dbus_g_proxy_get_interface):
8793 (DBusGAsyncData, DBusGMethodInvocation): Structures for
8794 doing async invocations.
8795 (dbus_g_method_return, dbus_g_method_return_error):
8797 * doc/dbus-tutorial.xml: Update GLib section.
8799 * tools/dbus-viewer.c (load_child_nodes): Update
8800 for new invocation type of dbus_g_proxy_end_call.
8801 (load_from_service_thread_func): Ditto.
8803 * tools/print-introspect.c (main): Ditto.
8805 * tools/dbus-names-model.c (have_names_notify)
8806 (names_model_reload, names_model_set_connection)
8809 * python/Makefile.am (INCLUDES): Define DBUS_COMPILATION,
8810 needed since Python bindings use GLib bindings.
8812 * test/glib/Makefile.am (INCLUDES): Define DBUS_COMPILATION.
8813 Add --prefix argument.
8815 * tools/Makefile.am: Define DBUS_COMPILATION. Remove
8816 unneeded --ignore-unsupported arg.
8818 * test/glib/test-service-glib.c:
8819 * test/glib/test-service-glib.xml:
8820 * test/glib/test-dbus-glib.c: Add many more tests.
8822 python/Makefile.am | 2 +-
8823 1 file changed, 1 insertion(+), 1 deletion(-)
8825 commit fc5d7298d72e20bfc3e209e44e6791643a838f49
8826 Author: John (J5) Palmieri <johnp@redhat.com>
8827 Date: 2005-05-24 16:34:38 +0000
8829 * python/__init__.py: Python bindings deserve a minor version update. Upped to (0, 40, 2)
8831 python/__init__.py | 2 +-
8832 1 file changed, 1 insertion(+), 1 deletion(-)
8834 commit abd0204928614dc1d36125e9d3634c25e068af59
8835 Author: John (J5) Palmieri <johnp@redhat.com>
8836 Date: 2005-05-24 16:30:50 +0000
8838 * python/decorators.py: add explicitly_pass_message decorator for passing in the dbus message as keyword for edge case signal handling
8840 * python/matchrules.py (SignalMatchRule.__repr__): fix output
8841 to conform with what dbus expects for match rules
8842 (SignalMatchRule.execute): add the dbus message as a keyword
8843 if the signal handler has requested it
8845 * python/examples/example/signal-recipient.py: added some more
8846 examples on how to hook up to signals
8848 * python/proxies.py: minor formatting changes
8850 python/_dbus.py | 4 +---
8851 python/decorators.py | 5 ++++-
8852 python/examples/example-signal-recipient.py | 22 +++++++++++++++++++++-
8853 python/matchrules.py | 21 +++++++++------------
8854 4 files changed, 35 insertions(+), 17 deletions(-)
8856 commit 1db6dbecffec574f6773286416f7e92ccd864068
8857 Author: John (J5) Palmieri <johnp@redhat.com>
8858 Date: 2005-05-24 00:21:07 +0000
8860 * python/decorators.py: import dbus_bindings
8862 * python/matchrules.py (SignalMatchRule, SignalMatchTree,
8863 SignalMatchNode): new classes that implement wildcard signal
8864 callback matching using a tree lookup. Heavily modified from a
8865 patch sent by Celso Pinto (fd.o bug #3241)
8867 * _dbus.py (add_signal_receiver, remove_signal_receiver, _signal_func):
8868 use new match classes to handle signals.
8870 python/Makefile.am | 2 +-
8871 python/_dbus.py | 69 +++++------
8872 python/decorators.py | 10 +-
8873 python/examples/example-signal-emitter.py | 8 +-
8874 python/examples/example-signal-recipient.py | 4 +-
8875 python/matchrules.py | 170 +++++++++++++++++++++++++++
8876 6 files changed, 211 insertions(+), 52 deletions(-)
8878 commit 717c3781328d631a16a74a8f51a7bb04d92729f6
8879 Author: John (J5) Palmieri <johnp@redhat.com>
8880 Date: 2005-05-19 20:27:19 +0000
8882 - s/TYPE_PATH/TYPE_OBJECT_PATH
8884 python/dbus_bindings.pyx.in | 4 ++--
8885 1 file changed, 2 insertions(+), 2 deletions(-)
8887 commit 3979e97cf4245f720aed1764009a5d1fa875f595
8888 Author: John (J5) Palmieri <johnp@redhat.com>
8889 Date: 2005-05-16 21:27:03 +0000
8891 * glib/dbus-gmain.c (io_handler_dispatch): fix deadlock when using recursive g_main_loops
8893 * python/_dbus.py (class Bus): add the ProxyObjectClass
8894 alias for ProxyObject to make it easier for the Twisted
8895 networking framework to integrate dbus.
8897 * python/proxies.py (class ProxyObject): add the ProxyMethodClass
8898 alias for ProxyMethod to make it easier for the Twisted
8899 networking framework to integrate dbus.
8901 python/_dbus.py | 4 ++-
8902 python/proxies.py | 82 +++++++++++++++++++++++++++--------------------------
8903 2 files changed, 45 insertions(+), 41 deletions(-)
8905 commit 0c2e7112539a1314393826dbd2a14c3c1239078a
8906 Author: John (J5) Palmieri <johnp@redhat.com>
8907 Date: 2005-05-05 18:27:34 +0000
8909 * Fix my name in previous changelog ;)
8911 * python/proxies.py (ProxyObject.__getattr__): add further patch
8912 from Anthony Baxter to throw an AttributeError when python
8913 __special__ functions are called instead of marshling them over
8914 the bus (Bug#1685 comment 3).
8916 python/proxies.py | 2 ++
8917 1 file changed, 2 insertions(+)
8919 commit 933695891ea748308d76faaab23bc548c585b7b8
8920 Author: John (J5) Palmieri <johnp@redhat.com>
8921 Date: 2005-05-05 18:01:45 +0000
8923 * python/Makefile.am: changed to use pyexecdir for the binding shared libraries (Bug#2494)
8925 * python/exceptions.py: bring exceptions over from the bindings
8926 so they can be used in applications (Bug#2036)
8927 Make all exceptions derive from DBusException
8929 * python/_dbus.py, python/proxies.py: implement __repr__ in a couple
8930 of classes so that print obj doesn't throw an exception (Bug #1685)
8932 python/Makefile.am | 2 +-
8933 python/_dbus.py | 7 +++++--
8934 python/exceptions.py | 35 ++++++++++++-----------------------
8935 python/proxies.py | 5 +++++
8936 4 files changed, 23 insertions(+), 26 deletions(-)
8938 commit 99e291c0cf9af2f4438def9212ce2f29c057ae7f
8939 Author: John (J5) Palmieri <johnp@redhat.com>
8940 Date: 2005-05-01 19:34:58 +0000
8942 * python/dbus_bindings.pyx.in:
8944 - added new type classes for hinting to the marashaler what type
8945 to send over the wire
8946 - added int16 and uint16 marshalers
8947 - Fixed a bug in the type constants that caused int32 to go out
8948 as uint16 over the wire
8949 * python/dbus.py: split up into different files and renamed _dbus.py
8950 * python/__init__.py, python/_util.py, python/decorators.py,
8951 python/exceptions.py, python/proxies.py, python/services.py,
8952 python/types.py: new files split off from dbus.py
8953 * python/Makefile.am: Add new files, remove dbus.py and
8954 install all python files to <python module dir>/dbus
8955 * python/examples/*: Added #!/usr/bin/env python to the top of
8956 every example. Patch provided by Tatavarty Kalyan
8958 python/Makefile.am | 6 +-
8959 python/__init__.py | 6 +
8960 python/_dbus.py | 219 +++++++++++
8961 python/_util.py | 12 +
8962 python/dbus.py | 562 ---------------------------
8963 python/dbus_bindings.pyx.in | 146 ++++++-
8964 python/decorators.py | 37 ++
8965 python/examples/example-service.py | 2 +
8966 python/examples/example-signal-emitter.py | 2 +
8967 python/examples/example-signal-recipient.py | 2 +
8968 python/examples/gconf-proxy-client.py | 2 +
8969 python/examples/gconf-proxy-service.py | 2 +
8970 python/examples/gconf-proxy-service2.py | 2 +
8971 python/examples/list-system-services.py | 2 +
8972 python/exceptions.py | 32 ++
8973 python/proxies.py | 90 +++++
8974 python/services.py | 187 +++++++++
8975 python/types.py | 18 +
8976 18 files changed, 761 insertions(+), 568 deletions(-)
8978 commit b27b13812644b7da6a40c212437d1d6898aa9439
8979 Author: John (J5) Palmieri <johnp@redhat.com>
8980 Date: 2005-04-25 22:54:28 +0000
8982 * python/dbus_bindings.pyx.in (send_with_reply_handlers): New send
8984 method for doing async calls
8985 (_pending_call_notification): New C function for handling pendning call
8987 (set_notify): New method for setting pending call notification
8989 * python/dbus.py: new version tuple "version" is set at (0, 40, 0)
8990 Async capabilities added to remote method calls
8991 (Sender): class removed
8992 (RemoteService): class removed
8993 (ObjectTree): class removed for now
8994 (RemoteObject): Renamed to ProxyObject
8995 (RemoteMethod): Renamed to ProxyMethod
8996 (method): Decorator added for decorating python methods as dbus methods
8997 (signal): Decorator added for decorating python methods as signal emitters
8998 (ObjectType): Metaclass added for generating introspection data and the
8999 method callback vtable
9000 (Interface): Wrapper class added to wrap objects in a dbus interface
9001 (Object): Uses ObjectType as its metaclass and exports Introspect
9002 of the org.freedesktop.DBus.Introspectable interface
9003 (ValidationException, UnknownMethodException): new exceptions
9005 * python/examples/*: Modified to fit with the new bindings
9007 python/dbus.py | 510 +++++++++++++++++----------
9008 python/dbus_bindings.pyx.in | 68 +++-
9009 python/examples/example-client.py | 12 +-
9010 python/examples/example-service.py | 12 +-
9011 python/examples/example-signal-emitter.py | 17 +-
9012 python/examples/example-signal-recipient.py | 25 +-
9013 python/examples/list-system-services.py | 13 +-
9014 7 files changed, 428 insertions(+), 229 deletions(-)
9016 commit b190b899f2f645d4b71d01eb9f53ce0e198ce576
9017 Author: John (J5) Palmieri <johnp@redhat.com>
9018 Date: 2005-03-29 17:01:43 +0000
9020 * python/lvalue_cast_post_process.py - removed. Patch has been submitted to Pyrex maintainers that fixes gcc4.0 error
9022 * python/Makefile.am: removed refrences to lvalue_cast_post_process.py
9024 python/Makefile.am | 7 +---
9025 python/lvalue_cast_post_process.py | 80 ------------------------------------
9026 2 files changed, 2 insertions(+), 85 deletions(-)
9028 commit a4597b45df11db105206b87054042f9612684b2e
9029 Author: John (J5) Palmieri <johnp@redhat.com>
9030 Date: 2005-03-21 21:13:56 +0000
9032 * python/lvalue_cast_post_process.py - added post processor to fix Pyrex code so that it compiles with gcc4.0
9034 * python/Makefile.am: Added lvalue_cast_post_process.py to EXTRA_DIST
9035 run dbus_bindings.c through lvalue_cast_post_process.py and copy the
9036 results back to dbus_binding.c
9038 python/Makefile.am | 7 +++-
9039 python/lvalue_cast_post_process.py | 80 ++++++++++++++++++++++++++++++++++++
9040 2 files changed, 85 insertions(+), 2 deletions(-)
9042 commit bb519aab3c2b9112eba2e67a50e2864dc65f765c
9043 Author: John (J5) Palmieri <johnp@redhat.com>
9044 Date: 2005-02-23 19:36:24 +0000
9046 python/dbus_bindings.pyx.in (PendingCall::get_reply):
9048 s/dbus_pending_call_get_reply/dbus_pending_call_steal_reply
9050 python/dbus_bindings.pyx.in | 4 +++-
9051 1 file changed, 3 insertions(+), 1 deletion(-)
9053 commit 4940b112efc417868f567d885e36297e14e43244
9054 Author: John (J5) Palmieri <johnp@redhat.com>
9055 Date: 2005-02-11 19:51:18 +0000
9057 * python/dbus.py (class Sender): added to support dbus signals better
9059 to True. When expand args is True the signal handler will pass the
9060 message arguments as parameters to the signal handler. If False
9061 revert to previous behavior where the signal handler must get the
9062 argument list from the message. This is to help port applications
9063 like HAL that have a tendancy to send variable length argument lists.
9064 self._match_rule_to_receivers is now a dict of dicts.
9065 (Bus::remove_signal_receiver): pop handler off the dict intead of
9066 removing it from a list
9067 (Bus::_signal_func): change signal handlers so that interface,
9068 signal_name, service, path and message are packed into a Sender
9069 object and that is passed to the handler. If expand_args is True
9070 extract the args list from the message and append it to the parameter
9073 * python/dbus_bindings.pyx.in (class Signature): added to support
9075 (MessageIter::__init__): changed iteration limit to match D-BUS
9076 (MessageIter::get*): added INT16, UINT16, SIGNATURE, DICT_ENTRY,
9077 STRUCT and VARIENT type support
9078 (MessageIter::python_value_to_dbus_sig): made recursive to support
9080 (MessageIter::append*): added Signature, dict, tuple
9083 * python/examples/example-client.py: added examples of getting tuples
9086 * python/examples/example-service.py: added examples of sending tuples
9089 * python/examples/example-signal-recipient.py: Fixed to handle new
9090 signal callback format
9092 python/dbus.py | 46 +++--
9093 python/dbus_bindings.pyx.in | 263 +++++++++++++++++++--------
9094 python/examples/example-client.py | 9 +
9095 python/examples/example-service.py | 9 +-
9096 python/examples/example-signal-recipient.py | 4 +-
9097 5 files changed, 239 insertions(+), 92 deletions(-)
9099 commit ca4b771f58b30005ec4bb47acacfa73d1c467ac9
9100 Author: John (J5) Palmieri <johnp@redhat.com>
9101 Date: 2005-01-28 19:09:54 +0000
9103 * python/dbus_bindings.pyx.in: Updated to handle new D-BUS type system - BUS_ACTIVATION -> BUS_STARTER - DBUS_BUS_ACTIVATION -> DBUS_BUS_STARTER - class MessageIter (__init__): Added recursion checking so we throw a nice error instead of just disconnecting from the bus. (get): Added arg_type parameter for recursion. Removed the nil type Added signiture type placeholder (not implemented) Added struct type placeholder (not implemented) Added varient type placeholder (not implemented) Commented out dict type for now (get_element_type): renamed from get_array_type (get_*): changed to use the dbus_message_iter_get_basic API (get_*_array): removed in favor of recursive get_array method (get_array): new recursive method which calls get to marshal the elements of the array (value_to_dbus_sig): New method returns the corrasponding dbus signiture to a python value (append): Comment out dict handling for now Handle lists with the new recursive API Comment out None handling for no
9106 (append_nil): removed
9107 (append_*): changed to use dbus_message_iter_append_basic API
9108 (append_*_array): removed in favor of recursive append_array
9110 (__str__): Make it easier to print out recursive iterators
9112 - class Message (__str__): moved type inspection to the
9113 MessageIter class' __str__ method
9114 (get_iter): Added an append parameter wich defaults to False
9115 If True use the new API's to create an append iterator
9117 * python/dbus.py: Update to use new bindings API
9118 - TYPE_ACTIVATION -> TYPE_STARTER
9119 - class Bus (_get_match_rule): GetServiceOwner -> GetNameOwner
9120 - class ActivationBus -> class StarterBus
9121 - class RemoteObject (__call__): get an append iterator
9122 - (_dispatch_dbus_method_call): get an append iterator
9123 - class Object (emit_signal): get an append iterator
9125 * python/examples/: Fixed up the examples to work with the new API
9127 python/dbus.py | 24 +-
9128 python/dbus_bindings.pyx.in | 591 +++++++++++++----------------
9129 python/examples/example-service.py | 4 +-
9130 python/examples/example-signal-emitter.py | 3 +-
9131 python/examples/list-system-services.py | 7 +-
9132 5 files changed, 277 insertions(+), 352 deletions(-)
9134 commit f6f84489cf9e6fa2f343eb5ce4f78b9b2ee4dc90
9135 Author: John (J5) Palmieri <johnp@redhat.com>
9136 Date: 2005-01-25 19:06:53 +0000
9138 * python/dbus_bindings.pyx.in: Rename of methods and bindings - get_base_service->get_unique_name - bus_get_base_service->bus_get_unique_name - dbus_bus_get_base_service -> dbus_bus_get_unique_name - ACTIVATION_REPLY_ACTIVATED -> DBUS_START_REPLY_SUCCESS - ACTIVATION_REPLY_ALREADY_ACTIVE -> DBUS_START_REPLY_ALREADY_RUNNING - bus_activate_service -> bus_start_service_by_name - dbus_bus_activate_service -> dbus_bus_start_service_by_name - bus_acquire_service -> bus_request_name - dbus_bus_acquire_service -> dbus_bus_request_name - bus_service_exists -> bus_name_has_owner - dbus_bus_service_exists -> dbus_bus_name_has_owner
9140 * python/dbus.py: Rename of methods
9141 - activate_service -> start_service_by_name
9142 - bus_acquire_service -> bus_request_name
9143 - ACTIVATION_REPLY_ACTIVATED -> START_REPLY_SUCCESS
9144 - ACTIVATION_REPLY_ALREADY_ACTIVE -> START_REPLY_ALREADY_RUNNING
9146 python/dbus.py | 10 +++++-----
9147 python/dbus_bindings.pyx.in | 30 +++++++++++++++---------------
9148 2 files changed, 20 insertions(+), 20 deletions(-)
9150 commit dc9a91e745f5885fc9b63568a9f4228a7522c381
9151 Author: John (J5) Palmieri <johnp@redhat.com>
9152 Date: 2004-12-30 18:28:03 +0000
9154 2004-12-30 John (J5) Palmieri <johnp@redhat.com>
9156 * python/dbus.py: s/ACTIVATION_REPLY_ACTIVE/ACTIVATION_REPLY_ACTIVATED
9158 python/dbus.py | 2 +-
9159 1 file changed, 1 insertion(+), 1 deletion(-)
9161 commit 32e2f57ac99f528d159b68b8dfafc74c39a3c4cc
9162 Author: John (J5) Palmieri <johnp@redhat.com>
9163 Date: 2004-12-30 14:19:53 +0000
9165 2004-12-30 John (J5) Palmieri <johnp@redhat.com>
9167 * python/dbus_bindings.pyx.in: Change DBUS_ACTIVATION_REPLY_ACTIVATED
9168 and DBUS_ACTIVATION_REPLY_ALREADY_ACTIVE to match the values in
9169 dbus-protocol.h. Because they are defines and not enums they are not
9172 python/dbus_bindings.pyx.in | 5 +++--
9173 1 file changed, 3 insertions(+), 2 deletions(-)
9175 commit 01740aa1f3c4c2cecdf37a3c043a42d0dbffc773
9176 Author: John (J5) Palmieri <johnp@redhat.com>
9177 Date: 2004-12-27 16:01:13 +0000
9179 2004-12-26 John (J5) Palmieri <johnp@redhat.com>
9181 * python/dbus_bindings.pyx.in (bus_activate_service): Bind
9182 dbus_bus_activate_service
9184 * python/dbus.py (Bus.activate_service): activate a service on the
9187 python/dbus.py | 7 +++++++
9188 python/dbus_bindings.pyx.in | 16 ++++++++++++++++
9189 2 files changed, 23 insertions(+)
9191 commit f33050956dca770af4d188768bcd8537a1686d45
9192 Author: John (J5) Palmieri <johnp@redhat.com>
9193 Date: 2004-12-23 00:50:37 +0000
9195 * patch from Rob Taylor <robtaylor@fastmail.fm> - wrap bus_get_unix_user method in low level bindings - add get_unix_user method to the Bus class - fix extract.py so it can handle unsigned long return types
9197 python/dbus.py | 4 ++++
9198 python/dbus_bindings.pyx.in | 13 +++++++++++++
9199 python/extract.py | 3 +--
9200 3 files changed, 18 insertions(+), 2 deletions(-)
9202 commit 1a6d664b037ea2fcbcbfdc8d637a7f5309e68ffb
9203 Author: David Zeuthen <david@fubar.dk>
9204 Date: 2004-09-16 19:56:26 +0000
9206 2004-09-16 David Zeuthen <david@fubar.dk>
9208 * python/dbus_bindings.pyx.in: Add support for int64 and uint64
9210 python/dbus_bindings.pyx.in | 66 ++++++++++++++++++++++++++++++++++++++++++-
9211 1 file changed, 65 insertions(+), 1 deletion(-)
9213 commit 6e5b6a98a792653e9248767be746a031e851cb84
9214 Author: Anders Carlsson <andersca@gnome.org>
9215 Date: 2004-07-28 18:14:55 +0000
9217 2004-07-28 Anders Carlsson <andersca@gnome.org>
9220 * python/dbus_bindings.pyx.in:
9221 Add dbus.init_gthreads (), allow emit_signal to pass
9222 arguments to the signal.
9224 python/dbus.py | 13 ++++++++++++-
9225 python/dbus_bindings.pyx.in | 4 ++++
9226 2 files changed, 16 insertions(+), 1 deletion(-)
9228 commit bac1c708b7ae971bf96500161f56edec4120ad3b
9229 Author: Seth Nickell <seth@gnome.org>
9230 Date: 2004-07-18 21:44:37 +0000
9232 2004-07-18 Seth Nickell <seth@gnome.org>
9235 * python/dbus_bindings.pyx.in:
9236 * python/tests/test-client.py:
9238 Add dbus.ByteArray and dbus_bindings.ByteArray
9239 types so that byte streams can be passed back.
9241 Give jdahlin the heaps of credit that are so
9244 python/dbus.py | 3 ++-
9245 python/dbus_bindings.pyx.in | 23 ++++++++++++++++-------
9246 python/tests/test-client.py | 7 +++----
9247 3 files changed, 21 insertions(+), 12 deletions(-)
9249 commit fb762d8e21ae66ceda54496168d92d7e8dc4bce2
9250 Author: Seth Nickell <seth@gnome.org>
9251 Date: 2004-07-12 06:28:59 +0000
9253 2004-07-12 Seth Nickell <seth@gnome.org>
9257 Add message argument to the default object_method_handler
9260 * python/dbus_bindings.pyx.in:
9262 Automatically return NIL when passed an empty list
9263 (we can't pass back a list since lists are typed
9264 and we don't have any idea what type the the client
9265 intended the list to be... :-( )
9267 python/dbus.py | 2 +-
9268 python/dbus_bindings.pyx.in | 28 ++++++++++++++++------------
9269 2 files changed, 17 insertions(+), 13 deletions(-)
9271 commit 1e926c3330e91895034c91c59c368d7201a8bc56
9272 Author: Seth Nickell <seth@gnome.org>
9273 Date: 2004-07-11 03:09:03 +0000
9275 2004-07-10 Seth Nickell <seth@gnome.org>
9277 * python/examples/Makefile.am:
9279 Fix distcheck breakage caused by new examples.
9281 python/examples/Makefile.am | 17 +++++++++--------
9282 1 file changed, 9 insertions(+), 8 deletions(-)
9284 commit e386459734ff05d09c43d50b8623659512d36975
9285 Author: Seth Nickell <seth@gnome.org>
9286 Date: 2004-07-11 03:02:14 +0000
9288 2004-07-10 Seth Nickell <seth@gnome.org>
9292 Add "message" argument to service-side dbus.Object
9293 methods. This will break existing services written
9294 using the python bindings, but will allow extraction
9295 of all the message information (e.g. who its from).
9297 Add improved "object oriented" signal handling/emission.
9299 * python/examples/example-service.py:
9303 * python/examples/example-signal-emitter.py:
9304 * python/examples/example-signal-recipient.py:
9306 Two new examples that show how to emit and receive
9307 signals using the new APIs.
9309 * python/examples/example-signals.py:
9310 * python/examples/gconf-proxy-service.py:
9311 * python/examples/gconf-proxy-service2.py:
9313 Add "message" argument to service methods.
9315 python/dbus.py | 91 ++++++++++++++++++---------
9316 python/examples/example-service.py | 2 +-
9317 python/examples/example-signal-emitter.py | 18 ++++++
9318 python/examples/example-signal-recipient.py | 19 ++++++
9319 python/examples/example-signals.py | 27 --------
9320 python/examples/gconf-proxy-service.py | 8 +--
9321 python/examples/gconf-proxy-service2.py | 2 +-
9322 7 files changed, 104 insertions(+), 63 deletions(-)
9324 commit 740b3a75006d1f5cc228c65838105a7a8b3ae75c
9325 Author: John (J5) Palmieri <johnp@redhat.com>
9326 Date: 2004-06-23 14:59:43 +0000
9328 * switched include directory from glib/ to dbus/ since dbus-glib.h moved
9330 python/Makefile.am | 2 +-
9331 1 file changed, 1 insertion(+), 1 deletion(-)
9333 commit 3ba6699d5e975a50693807268923bda69a15773a
9334 Author: Owen Fraser-Green <owen@discobabe.net>
9335 Date: 2004-06-10 12:13:39 +0000
9337 Fixed typo for python/examples make
9339 python/examples/Makefile.am | 2 +-
9340 1 file changed, 1 insertion(+), 1 deletion(-)
9342 commit 5e41974dd9ea8db84985ff5b31d3ea525fbf0947
9343 Author: John (J5) Palmieri <johnp@redhat.com>
9344 Date: 2004-06-08 02:35:43 +0000
9346 * Python bindings are updated to reflect C API changes which now accept plain path strings instead of an array of path elements.
9348 python/dbus_bindings.pyx.in | 35 +++--------------------------------
9349 1 file changed, 3 insertions(+), 32 deletions(-)
9351 commit e29bd0928368c6303209b6a2a4ea1ed749f6e58f
9352 Author: Seth Nickell <seth@gnome.org>
9353 Date: 2004-06-01 06:16:13 +0000
9355 Update .cvsignore files
9357 python/.cvsignore | 6 ++++++
9358 python/examples/.cvsignore | 2 ++
9359 2 files changed, 8 insertions(+)
9361 commit 22ac6379fbc251ac40e1635353e2b83676f6ea66
9362 Author: Seth Nickell <seth@gnome.org>
9363 Date: 2004-06-01 06:13:31 +0000
9365 2004-06-01 Seth Nickell <seth@gnome.org>
9367 * python/dbus_bindings.pyx.in:
9368 * python/tests/test-client.py:
9370 Round off basic type support. Add dicts (yay!), and
9371 remaining array types.
9373 Make MessageIter more general so it works for dicts too.
9375 Mark all loop variables as C integers.
9377 python/dbus_bindings.pyx.in | 90 +++++++++++++++++++++++++++++++------------
9378 python/tests/test-client.py | 38 ++++++++++++++++++
9379 2 files changed, 103 insertions(+), 25 deletions(-)
9381 commit dd476a9662e4f66f08610a793458b4740823a525
9382 Author: Seth Nickell <seth@gnome.org>
9383 Date: 2004-06-01 01:20:59 +0000
9385 * python/dbus_bindings.pyx.in: * python/tests/test-client.py:
9390 (fix string array memory trashing bug... oops)
9392 python/dbus_bindings.pyx.in | 82 ++++++++++++++++++++++++++++++++++++-------
9393 python/tests/test-client.py | 20 +++++++++--
9394 2 files changed, 88 insertions(+), 14 deletions(-)
9396 commit 897be0d7a55449df0fb97b1126afecbb6906c083
9397 Author: Seth Nickell <seth@gnome.org>
9398 Date: 2004-05-30 08:20:58 +0000
9400 2004-05-30 Seth Nickell <seth@gnome.org>
9404 Add a nicer-but-less-flexible alternate API for handling
9405 calls to virtual objects in dbus.ObjectTree.
9407 Screw up the argument order to the dbus.Object constructor
9408 for consistency with dbus.ObjectTree (and to make dbus_methods
9409 optional for future extension)
9411 * python/examples/Makefile.am:
9412 * python/examples/gconf-proxy-service.py:
9413 * python/examples/gconf-proxy-service2.py:
9415 Alternate implementation of gconf-proxy-service using the
9416 nicer dbus.ObjectTree API.
9418 * python/examples/example-service.py:
9419 * python/tests/test-server.py
9421 Reverse the argument order to deal with dbus.Object constructor
9424 python/dbus.py | 52 ++++++++++++++++++++++---------
9425 python/examples/Makefile.am | 1 +
9426 python/examples/example-service.py | 2 +-
9427 python/examples/gconf-proxy-service.py | 42 ++++++++++---------------
9428 python/examples/gconf-proxy-service2.py | 36 +++++++++++++++++++++
9429 python/tests/test-server.py | 2 +-
9430 6 files changed, 94 insertions(+), 41 deletions(-)
9432 commit 51c8a42abcc0a2ab8e079d218003d9ccc48f1d79
9433 Author: Seth Nickell <seth@gnome.org>
9434 Date: 2004-05-30 06:26:24 +0000
9436 2004-05-30 Seth Nickell <seth@gnome.org>
9438 * python/examples/example-client.py:
9439 * python/examples/example-service.py:
9441 Take it back. Lists seem to work but they're broken
9442 in the test suite. Make the base examples use
9445 python/examples/example-client.py | 4 ++--
9446 python/examples/example-service.py | 2 +-
9447 2 files changed, 3 insertions(+), 3 deletions(-)
9449 commit 4f3d0dac99f3f93fc04b403f8c7e6b2177725851
9450 Author: Seth Nickell <seth@gnome.org>
9451 Date: 2004-05-30 06:21:00 +0000
9453 2004-05-30 Seth Nickell <seth@gnome.org>
9455 * python/dbus_bindings.pyx.in:
9456 * python/tests/test-client.py:
9458 Add some more tests and fix errors that crop up.
9459 Unfortunately, currently it seems like marshalling
9460 and unmarshalling of lists is completely broken :-(
9462 python/dbus_bindings.pyx.in | 32 +++++++++++++++++++-------------
9463 python/tests/test-client.py | 35 +++++++++++++++++++++++++++--------
9464 2 files changed, 46 insertions(+), 21 deletions(-)
9466 commit 92e6c358afffd4fcdd5efd0075f9faa857c60ab3
9467 Author: Seth Nickell <seth@gnome.org>
9468 Date: 2004-05-30 05:30:09 +0000
9470 2004-05-30 Seth Nickell <seth@gnome.org>
9472 * python/dbus_bindings.pyx.in:
9474 Add support for ObjectPath type.
9478 Refactor message handling code to a common function.
9480 * python/tests/test-client.py:
9481 * python/tests/test-server.py:
9483 Add tests that check to make sure values of all types
9484 can be echoed from a service w/o mangling.
9486 python/dbus.py | 58 +++++++++++++++++--------------------
9487 python/dbus_bindings.pyx.in | 66 +++++++++++++++++++++++++++++++++++--------
9488 python/tests/test-client.py | 28 ++++++++++++++++++
9489 python/tests/test-server.py | 17 +++++++++++
9490 4 files changed, 126 insertions(+), 43 deletions(-)
9492 commit 4a5617e6090ca2402a74a0bf3cac2b891cbc0824
9493 Author: Seth Nickell <seth@gnome.org>
9494 Date: 2004-05-30 02:26:48 +0000
9496 2004-05-29 Seth Nickell <seth@gnome.org>
9500 Add ObjectTree class which allows implementation
9501 of trees of "virtual" objects. Basically the python
9502 wrapper for "register_fallback".
9504 * python/examples/Makefile.am
9505 * python/examples/gconf-proxy-client.py:
9506 * python/examples/gconf-proxy-service.py:
9508 Implement a simple GConf proxy service that supports
9509 get/set on string and int GConf keys using the ObjectTree.
9511 python/dbus.py | 52 +++++++++++++++++++++++++++++++-
9512 python/examples/Makefile.am | 2 ++
9513 python/examples/gconf-proxy-client.py | 11 +++++++
9514 python/examples/gconf-proxy-service.py | 48 +++++++++++++++++++++++++++++
9515 4 files changed, 112 insertions(+), 1 deletion(-)
9517 commit 188e82d59c07729efbefe22d0919150054d8b374
9518 Author: Seth Nickell <seth@gnome.org>
9519 Date: 2004-05-29 22:37:13 +0000
9521 2004-05-29 Seth Nickell <seth@gnome.org>
9524 * python/examples/example-client.py:
9525 * python/examples/example-service.py:
9526 * python/examples/list-system-services.py:
9528 Add SessionBus, SystemBus and ActivationBus classes
9529 so you don't need to know the special little BUS_TYPE
9532 python/dbus.py | 19 +++++++++++++++++++
9533 python/examples/example-client.py | 2 +-
9534 python/examples/example-service.py | 4 ++--
9535 python/examples/list-system-services.py | 2 +-
9536 4 files changed, 23 insertions(+), 4 deletions(-)
9538 commit 33e96395a41362c57790e3cc9313851ebdd04d96
9539 Author: Seth Nickell <seth@gnome.org>
9540 Date: 2004-05-28 18:43:55 +0000
9542 * python/examples/Makefile.am:
9544 Forget to add Makefile.am. Do not pass go.
9546 python/examples/Makefile.am | 9 +++++++++
9547 1 file changed, 9 insertions(+)
9549 commit ab5a89c0348c8bd271015bfdb2a32f7d4cdf586c
9550 Author: Seth Nickell <seth@gnome.org>
9551 Date: 2004-05-28 02:52:23 +0000
9553 * configure.in: * python/Makefile.am:
9555 Include the example python apps in the tarball.
9557 * python/examples/list-system-services.py
9559 Add a python new example that fetches the list of services
9560 from the system bus.
9562 python/Makefile.am | 2 ++
9563 python/examples/list-system-services.py | 24 ++++++++++++++++++++++++
9564 2 files changed, 26 insertions(+)
9566 commit eff8859282d14b81b24f6092a6e155b5a0df8183
9567 Author: Seth Nickell <seth@gnome.org>
9568 Date: 2004-05-28 02:16:11 +0000
9570 2004-05-27 Seth Nickell <seth@gnome.org>
9573 * python/dbus_bindings.pyx.in:
9575 Fix failure to notify that a signal was not handled,
9576 resulted in hung functions.
9578 python/dbus.py | 6 ++++--
9579 python/dbus_bindings.pyx.in | 2 ++
9580 2 files changed, 6 insertions(+), 2 deletions(-)
9582 commit 42f81c81ba6e69ef0ae0b4c30f9708a7afb6c1e3
9583 Author: John (J5) Palmieri <johnp@redhat.com>
9584 Date: 2004-05-10 18:16:29 +0000
9586 * Fixed python bindings by defining all need parameter and variable types
9588 python/dbus_bindings.pyx.in | 192 ++++++++++++++++++++++++++++---------------
9589 1 file changed, 128 insertions(+), 64 deletions(-)
9591 commit 7b93322959ed78fc28deda8c84835dfe2531a59d
9592 Author: Michael Meeks <michael@ximian.com>
9593 Date: 2004-03-29 12:50:45 +0000
9597 python/.cvsignore | 3 +++
9598 1 file changed, 3 insertions(+)
9600 commit 4f3a79f0e6ba96167dd92c730f122be5c7999889
9601 Author: Havoc Pennington <hp@redhat.com>
9602 Date: 2004-03-19 22:36:30 +0000
9604 2004-03-19 Havoc Pennington <hp@redhat.com>
9606 * NEWS: 0.21 updates
9608 * configure.in: 0.21
9610 * doc/Makefile.am: add all XMLTO usage to DBUS_XML_DOCS_ENABLED
9612 * python/Makefile.am: change to avoid dist of dbus_bindings.c so
9613 you don't need pyrex to make dist
9615 * qt/Makefile.am (libdbus_qt_1_la_SOURCES): add integrator.h to
9618 python/Makefile.am | 3 ++-
9619 1 file changed, 2 insertions(+), 1 deletion(-)
9621 commit e150be4e0a9e55b16eac520bdb5bd0c96621ea5a
9622 Author: David Zeuthen <david@fubar.dk>
9623 Date: 2003-12-01 20:49:53 +0000
9625 2003-12-01 David Zeuthen <david@fubar.dk>
9627 * python/dbus.py: Add the actual message when calling the reciever
9628 of a signal such that parameters can be inspected. Add the method
9629 remove_signal_receiver
9631 python/dbus.py | 12 ++++++++++--
9632 1 file changed, 10 insertions(+), 2 deletions(-)
9634 commit 5dd7e406571391570edc02ed1e0998cdad9f8493
9635 Author: David Zeuthen <david@fubar.dk>
9636 Date: 2003-10-29 00:06:07 +0000
9638 2003-10-28 David Zeuthen <david@fubar.dk>
9640 * python/dbus_bindings.pyx.in: add get_dict to handle dictionaries
9641 return types. Fixup TYPE_* to reflect changes in dbus/dbus-protocol.h
9643 python/dbus_bindings.pyx.in | 25 ++++++++++++++++++++++++-
9644 1 file changed, 24 insertions(+), 1 deletion(-)
9646 commit 8a404b1ab5ed430112d35a23e6155c06a72f236f
9647 Author: David Zeuthen <david@fubar.dk>
9648 Date: 2003-10-15 21:25:13 +0000
9650 2003-10-14 David Zeuthen <david@fubar.dk>
9652 * python/dbus_bindings.pyx.in (MessageIter.get): fixed typo in
9653 argtype to arg_type when raising unknown arg type exception.
9654 Changed type list to reflect the changes in dbus-protocol.h so
9655 the bindings actually work.
9657 python/dbus_bindings.pyx.in | 4 ++--
9658 1 file changed, 2 insertions(+), 2 deletions(-)
9660 commit c4a01481d5ec9530af0f1e08130420f099ffc96c
9661 Author: Seth Nickell <seth@gnome.org>
9662 Date: 2003-10-15 11:56:12 +0000
9666 python/Makefile.am | 1 +
9667 1 file changed, 1 insertion(+)
9669 commit 2a5101364f1b42e52dff3967e999419cfe266f8f
9670 Author: Seth Nickell <seth@gnome.org>
9671 Date: 2003-10-13 23:07:34 +0000
9673 2003-10-13 Seth Nickell <seth@gnome.org>
9675 * python/Makefile.am:
9677 Pass "make distcheck": remove a couple files from DIST_FILES
9678 that weren't included in the final version.
9680 python/Makefile.am | 4 +---
9681 1 file changed, 1 insertion(+), 3 deletions(-)
9683 commit 362dd3f1415326f9dd545e0ac6dc11ffc9507409
9684 Author: Havoc Pennington <hp@redhat.com>
9685 Date: 2003-09-30 02:41:13 +0000
9689 python/examples/example-client.py | 12 ++++++++++++
9690 python/examples/example-service.py | 18 ++++++++++++++++++
9691 python/examples/example-signals.py | 27 +++++++++++++++++++++++++++
9692 3 files changed, 57 insertions(+)
9694 commit 8253b8df29181efd8d6ddd84098384d27a403698
9695 Author: Havoc Pennington <hp@redhat.com>
9696 Date: 2003-09-30 02:40:49 +0000
9698 forgot to add files...
9700 python/Makefile.am | 28 ++
9701 python/dbus.py | 267 +++++++++++++
9702 python/dbus_bindings.pyx.in | 917 +++++++++++++++++++++++++++++++++++++++++++
9703 python/dbus_h_wrapper.h | 3 +
9704 python/extract.py | 237 +++++++++++
9705 5 files changed, 1452 insertions(+)
9707 commit bdadc55cae07f4034bf64604398b382951098ada
9708 Author: John (J5) Palmieri <johnp@redhat.com>
9709 Date: 2006-06-28 08:13:11 -0400
9711 Initial commit of module dbus-python