1 commit 8c84ef95c9a76de9189feedfebc8963db29d6bf0
2 Author: Christoph Reiter <reiter.christoph@gmail.com>
3 Date: Thu May 31 16:55:56 2018 +0200
8 1 file changed, 9 insertions(+)
10 commit 2783b342dea7413e674811700c935ee98635ee38
11 Author: Philip Withnall <withnall@endlessm.com>
12 Date: Fri May 18 15:16:45 2018 +0100
14 gi/pygi-argument: Squash critical warning when using array as
17 Using a GPtrArray as the value type of a GHashTable currently
20 Unsupported type array
21 for example when calling a function whose return type is annotated as:
22 (transfer container) (element-type filename GPtrArray<SomeObject>)
24 Since we don’t treat objects (GI_TYPE_TAG_INTERFACE) specially when
25 marshalling to/from GHashTable, we shouldn’t need to treat arrays
26 specially either. Handle the case explicitly.
28 Signed-off-by: Philip Withnall <withnall@endlessm.com>
30 gi/pygi-argument.c | 2 ++
31 1 file changed, 2 insertions(+)
33 commit 211dd45cc885969d6525cd0ef609bd3c4e997812
34 Author: Christoph Reiter <reiter.christoph@gmail.com>
35 Date: Fri May 11 15:04:50 2018 +0200
37 ossig: Don't leak the callbacks in case the event loops are not
38 stopped through SIGINT. Fixes #219
40 We didn't remove them if the event loops returned normally.
41 This also fixes a small race where a SIGINT gets ignored right after
42 the yield check and before
43 the old handler is reinstated. Check after the signal handler is
44 switched back instead.
46 This resulted in GLib.MainLoop and Gio.Aplication instances leaking.
48 gi/_ossighelper.py | 15 +++++++++------
49 1 file changed, 9 insertions(+), 6 deletions(-)
51 commit 23f9f43f93befd177fb48c67e2d7da5f08a2b490
52 Author: Christoph Reiter <reiter.christoph@gmail.com>
53 Date: Sun Apr 1 11:15:18 2018 +0200
55 ossig: pass the signal number and frame to default_int_handler()
57 PyPy doesn't have default parameter values there.
59 gi/_ossighelper.py | 2 +-
60 1 file changed, 1 insertion(+), 1 deletion(-)
62 commit b7bb1a83280012035b7036a7d938d8949b673aa8
63 Author: Christoph Reiter <reiter.christoph@gmail.com>
64 Date: Tue Mar 27 22:56:32 2018 +0200
69 1 file changed, 1 insertion(+), 1 deletion(-)
71 commit 3ba1f36ebd63ce4477fab1c0d1c9d7fc817f19a8
72 Author: Christoph Reiter <reiter.christoph@gmail.com>
73 Date: Tue Mar 27 22:48:17 2018 +0200
78 1 file changed, 11 insertions(+)
80 commit 8eb973ec4cafa6bbedb47e8d12bd02e6ed318273
81 Author: Christoph Reiter <reiter.christoph@gmail.com>
82 Date: Sun Mar 25 19:12:54 2018 +0200
84 resulttuple: fix a wrong decref
86 We don't get ownership here so don't unref.
87 Thist function is only used in the test suite.
89 gi/pygi-resulttuple.c | 2 --
90 tests/test_resulttuple.py | 6 ++++--
91 2 files changed, 4 insertions(+), 4 deletions(-)
93 commit 1c962cb74cd99e0169abed45cf813550574a2a80
94 Author: Christoph Reiter <reiter.christoph@gmail.com>
95 Date: Fri Mar 23 07:23:21 2018 +0100
97 autotools: define PY_SSIZE_T_CLEAN for the test extension
99 tests/Makefile.am | 8 ++++++--
100 1 file changed, 6 insertions(+), 2 deletions(-)
102 commit 1b072bb45b07bbb461bf9c8318a81a26e0d65a18
103 Author: Christoph Reiter <reiter.christoph@gmail.com>
104 Date: Fri Mar 23 07:07:26 2018 +0100
106 setup.py: always define PY_SSIZE_T_CLEAN. Fixes #185
108 gi/pyglib-python-compat.h | 6 ++++++
110 2 files changed, 9 insertions(+), 2 deletions(-)
112 commit 997f6d95f3a1d8ce8376eb10e3f2d76d3b5e29d3
113 Author: Christoph Reiter <reiter.christoph@gmail.com>
114 Date: Mon Mar 19 13:52:21 2018 +0100
116 properties: fix a crash when setting a str value containing
117 surrogates. Fixes #169
119 In Python 3 decoding unicode fails if it contains surrogates. Handle
121 This ususally happens with filenames where undecodable bytes get
122 converted to surrogates.
124 gi/pygi-value.c | 4 ++++
125 gi/pygobject-object.c | 4 ++--
126 tests/test_properties.py | 12 +++++++++++-
127 3 files changed, 17 insertions(+), 3 deletions(-)
129 commit c9cfde92d7a1eb558c66dc9e8e1959816fcbf0cc
130 Author: Christoph Reiter <reiter.christoph@gmail.com>
131 Date: Sun Mar 18 07:33:19 2018 +0100
133 gtk overrides: Fix return type Gtk.TreePath with depth == 0. Fixes
136 compare() also errors out with depth == 0, but str() shouldn't fail
137 as it's important for debugging.
139 gi/overrides/Gtk.py | 2 +-
140 tests/test_overrides_gtk.py | 4 ++++
141 2 files changed, 5 insertions(+), 1 deletion(-)
143 commit c6d57734cf97b7eb7b11b21a9096d70dd1465865
144 Author: Christoph Reiter <reiter.christoph@gmail.com>
145 Date: Sun Mar 18 21:57:07 2018 +0100
147 setup.py: build the test extension in a separate build dir. Fixes #181
149 The install command just copies the whole build tree as is when
151 which installs the test extension when tests are build before install.
153 To avoid that set the build base of the extension to a a subdirectory
154 of the build base of the main build base.
156 setup.py | 9 +++++++++
157 1 file changed, 9 insertions(+)
159 commit 923bef11d037e82ae0d91cb495a09d09ab93e3ca
160 Author: Christoph Reiter <reiter.christoph@gmail.com>
161 Date: Sun Mar 18 22:28:34 2018 +0100
163 setup.py: forward force flag to the test extension build
168 1 file changed, 1 insertion(+)
170 commit 43758746432d5cd59409cd54eb242c8799e249c3
171 Author: Christoph Reiter <reiter.christoph@gmail.com>
172 Date: Sat Mar 17 19:09:19 2018 +0100
177 1 file changed, 1 insertion(+), 1 deletion(-)
179 commit ca6918747214484a429c039caed02dd858c307fe
180 Author: Christoph Reiter <reiter.christoph@gmail.com>
181 Date: Sat Mar 17 18:46:05 2018 +0100
185 NEWS | 12 ++++++++++++
186 1 file changed, 12 insertions(+)
188 commit ab470a4f02b294ec8f1f11ea30c9ed4625490a52
189 Author: Christoph Reiter <reiter.christoph@gmail.com>
190 Date: Fri Mar 16 23:48:20 2018 +0100
192 tests: fix glib tests with newest glib
194 g_filename_from_utf8() was recently fixed to return filenames
196 See https://bugzilla.gnome.org/show_bug.cgi?id=756128
198 tests/test_glib.py | 21 ++++++++++++++++++++-
199 1 file changed, 20 insertions(+), 1 deletion(-)
201 commit 76d4503ff856d7cc6e15d45bb82d79c17bda69f7
202 Author: Christoph Reiter <reiter.christoph@gmail.com>
203 Date: Fri Mar 16 15:17:37 2018 +0100
205 setup.py: don't install tests
207 Now that the tests directory has a __init__.py and is a Python package
208 find_packages() returns it and setup() will install it.
210 Instead of using find_packages() hardcode the list of included
213 setup.py | 9 +++++++--
214 1 file changed, 7 insertions(+), 2 deletions(-)
216 commit f6c17c998e12a38bbc1c14e43fa969f01fbac46b
217 Author: Christoph Reiter <reiter.christoph@gmail.com>
218 Date: Wed Mar 14 12:31:28 2018 +0100
220 pyg_flags_get_value_names: fix a leak
222 PyList_Append() is transfer-none for the value
224 gi/pygflags.c | 12 +++++++++---
225 1 file changed, 9 insertions(+), 3 deletions(-)
227 commit 9b4a056bbd7003bdb12f3eaf30524caa8747adb1
228 Author: Mathieu Duponchelle <mathieu@centricular.com>
229 Date: Tue Mar 13 19:41:20 2018 +0100
231 all around: Fix some assumptions about the size of long
233 This was creating various issues on 64-bit Windows, where sizeof(long)
236 gi/pygi-basictype.c | 6 +++---
237 gi/pygi-closure.c | 10 +++++-----
238 gi/pygi-value.c | 2 +-
239 3 files changed, 9 insertions(+), 9 deletions(-)
241 commit b8bffa925566e561bb6270db5aecbe2b7b70d178
242 Author: Mathieu Duponchelle <mathieu@centricular.com>
243 Date: Tue Mar 13 19:12:23 2018 +0100
245 GValue override: chain up __del__
247 This was added in d08e244d , which was recently reverted, that
248 specific bit was however unrelated and still relevant.
252 gi/overrides/GObject.py | 3 +++
253 1 file changed, 3 insertions(+)
255 commit 48171470feccca4c5595a5f28adf6630fca66515
256 Author: Christoph Reiter <reiter.christoph@gmail.com>
257 Date: Thu Mar 1 16:07:10 2018 +0100
259 gitlab-ci: add Python 3.7.0b2 job
261 .gitlab-ci.yml | 5 +++++
262 .gitlab-ci/Dockerfile | 1 +
263 .gitlab-ci/run-docker.sh | 2 ++
264 3 files changed, 8 insertions(+)
266 commit a0b633185d1dbb2cfef46f85b6b593c0c296e6f7
267 Author: Christoph Reiter <reiter.christoph@gmail.com>
268 Date: Sat Mar 10 20:03:33 2018 +0100
270 marshal-cleanup: save and restore exception around cleanup
272 With Python 3.7 some Python API in the cleanup path clears exceptions
273 which makes us return NULL in the end without an error set.
275 Make if safe to call the cleanup functions with an error set by
276 saving and restoring exceptions.
278 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
279 1 file changed, 24 insertions(+)
281 commit 8eee391694e657a79281707e476b1950a87f4d29
282 Author: Christoph Reiter <reiter.christoph@gmail.com>
283 Date: Sun Mar 11 13:13:30 2018 +0100
285 _struct_dealloc: handle being called with an error set
287 With Python 3.7 it gets called with an error set and tp_dealloc
288 implementations need to handle that.
289 Fix by saving and restoring the error.
291 gi/pygi-struct.c | 12 +++++++++++-
292 1 file changed, 11 insertions(+), 1 deletion(-)
294 commit 7a1b725805b97a037f38c844d107644c780d87b6
295 Author: Christoph Reiter <reiter.christoph@gmail.com>
296 Date: Sat Mar 10 18:54:28 2018 +0100
298 IntrospectionModule: __path__ should be List[str] and not str
300 This fixes a crash when calling help() on the module which got
304 It's a bit questionable why the type has __path__ in the first
306 that's only meant for packages. But let's leave that for now.
308 gi/module.py | 5 +++--
309 tests/test_gi.py | 6 ++++--
310 2 files changed, 7 insertions(+), 4 deletions(-)
312 commit 2386fb7070dcde591313abb10f3e65d7cef7364f
313 Author: Christoph Reiter <reiter.christoph@gmail.com>
314 Date: Sat Mar 10 18:04:14 2018 +0100
316 tests_gi: Use capture_output() context manager instead of manually
319 tests/helper.py | 2 +-
320 tests/test_gi.py | 14 +++-----------
321 2 files changed, 4 insertions(+), 12 deletions(-)
323 commit e0b92c65f4af126f1ba9c924e8e71b958a280a6e
324 Author: Christoph Reiter <reiter.christoph@gmail.com>
325 Date: Mon Mar 12 13:18:34 2018 +0100
330 1 file changed, 1 insertion(+), 1 deletion(-)
332 commit dde2f66f9d95f4da81230b11317207a1ac08d84e
333 Author: Christoph Reiter <reiter.christoph@gmail.com>
334 Date: Mon Mar 12 08:36:14 2018 +0100
338 configure.ac | 4 ++--
339 1 file changed, 2 insertions(+), 2 deletions(-)
341 commit 9562b75a825c2a0c223bd89a2859dae5b419647f
342 Author: Christoph Reiter <reiter.christoph@gmail.com>
343 Date: Mon Mar 12 12:39:52 2018 +0100
345 tests: fix with stable builds by force enabling PyGIDeprecationWarning
347 tests/__init__.py | 5 +++++
348 1 file changed, 5 insertions(+)
350 commit 22b41598d69fce167a0d44f6a9f91034d099f696
351 Author: Christoph Reiter <reiter.christoph@gmail.com>
352 Date: Mon Mar 12 08:35:27 2018 +0100
357 1 file changed, 7 insertions(+)
359 commit 02664122c260a31fa9d242d09ddede639fea80bb
360 Author: Christoph Reiter <reiter.christoph@gmail.com>
361 Date: Sat Mar 10 10:41:27 2018 +0100
363 GLib.Variant: Fix creation of guchar array from bytes. Fixes #174
365 This is some fallout from !4
367 Instead of only allowing certain types just make sure that the passed
370 gi/overrides/GLib.py | 4 +++-
371 tests/test_overrides_glib.py | 16 ++++++++++++++++
372 2 files changed, 19 insertions(+), 1 deletion(-)
374 commit 92f94761dfed4105e0b3f6d1c490f60ec31816a8
375 Author: Christoph Reiter <reiter.christoph@gmail.com>
376 Date: Thu Mar 1 18:03:26 2018 +0100
381 1 file changed, 1 insertion(+), 1 deletion(-)
383 commit 7e571ea62074243eef36110c240e192e5682a687
384 Author: Christoph Reiter <reiter.christoph@gmail.com>
385 Date: Thu Mar 1 17:57:08 2018 +0100
390 1 file changed, 9 insertions(+)
392 commit 1138bc7e0aeb8d4e7354c6cfd5a63edaa724d3fb
393 Author: Christoph Reiter <reiter.christoph@gmail.com>
394 Date: Tue Feb 27 12:46:11 2018 +0100
396 setup.py: fix distcheck
399 1 file changed, 1 insertion(+), 1 deletion(-)
401 commit 79ee93ea667c7a2cdacf9c770c0e60dc624ced0b
402 Author: Christoph Reiter <reiter.christoph@gmail.com>
403 Date: Fri Feb 23 18:15:55 2018 +0100
405 coverage: exclude external headers. See #168
407 While we could just pass --no-external we want the coverage of
408 the gobject-introspection files.
410 .gitlab-ci/coverage-docker.sh | 6 ++++++
411 1 file changed, 6 insertions(+)
413 commit 9ae49b49850dca86566b745966104bdd33914df7
414 Author: Christoph Reiter <reiter.christoph@gmail.com>
415 Date: Fri Feb 23 17:33:55 2018 +0100
417 coverage.py: ignore errors
419 not sure where that path is comming from, it worked in the MR..
421 .gitlab-ci/coverage-docker.sh | 2 +-
422 1 file changed, 1 insertion(+), 1 deletion(-)
424 commit 2d812a6bc4d0952997a3ed3c63c4b09d8c95c103
425 Author: Christoph Reiter <reiter.christoph@gmail.com>
426 Date: Fri Feb 23 11:02:03 2018 +0100
428 gitlab-ci: Add Windows coverage support. See #168
430 Use coverage.py and cygwin lcov to generate coverage files.
431 In the report generation step fixup the Windows paths in the coverage
432 files to match the Linux/Docker ones.
435 +++++++++++++++++++++++++++---------------
436 .gitlab-ci/coverage-docker.sh | 3 +++
437 .gitlab-ci/fixup-cov-paths.py | 35 +++++++++++++++++++++++++++++++++++
438 .gitlab-ci/test-docker.sh | 5 +++++
439 .gitlab-ci/test-msys2.sh | 33 +++++++++++++++++++++++++++++++--
440 5 files changed, 101 insertions(+), 17 deletions(-)
442 commit 1534289ce5934b73b5c980f8e246192009337776
443 Author: Christoph Reiter <reiter.christoph@gmail.com>
444 Date: Tue Feb 20 16:38:25 2018 +0100
446 gitlab-ci: Add MSYS2 test jobs
448 This assumes a gitlab runner with a "win32" tag which has
449 MSYS2 installed in the default path and uses the "cmd" shell.
451 .gitlab-ci.yml | 32 +++++++++++++++++++++++++++-----
452 .gitlab-ci/test-msys2.sh | 28 ++++++++++++++++++++++++++++
453 2 files changed, 55 insertions(+), 5 deletions(-)
455 commit 20fa66387020877a3ae20a6b48bba52153c7bd6c
456 Author: Christoph Reiter <reiter.christoph@gmail.com>
457 Date: Tue Feb 20 18:17:15 2018 +0100
459 tests: skip one more GdkAtom test on Windows
461 This has started to crash with newer gtk
463 tests/test_atoms.py | 2 ++
464 1 file changed, 2 insertions(+)
466 commit d3cd49ce8777312cbb91b82bd076c0e4b761c848
467 Merge: 5ec1aea8 aab23dbd
468 Author: Christoph Reiter <reiter.christoph@gmail.com>
469 Date: Sun Feb 18 08:32:22 2018 +0000
471 Merge branch 'gilabissue123' into 'master'
473 Performance improvements to avoid GIL congestion
475 See merge request GNOME/pygobject!13
477 commit 5ec1aea8ab4599a7a0945bd5754ce79c7c5cbef3
478 Author: Christoph Reiter <reiter.christoph@gmail.com>
479 Date: Sat Feb 17 18:13:47 2018 +0100
481 coverage: don't just use the major python version number for coverage
484 all py3 jobs wrote to the same file, oops..
486 .gitlab-ci/test-docker.sh | 2 +-
487 1 file changed, 1 insertion(+), 1 deletion(-)
489 commit af7aa11acebd9a34e6aee41dc77c0d7c3000fd47
490 Author: Christoph Reiter <reiter.christoph@gmail.com>
491 Date: Sat Feb 17 15:23:49 2018 +0100
493 gitlab-ci: Add coverage reports
495 Use gcov/lcov and coverage.py; merge all results and provide
496 the final html reports as job artifacts.
499 .gitlab-ci.yml | 18 ++++++++++++++++++
500 .gitlab-ci/Dockerfile | 1 +
501 .gitlab-ci/coverage-docker.sh | 17 +++++++++++++++++
502 .gitlab-ci/test-docker.sh | 20 ++++++++++++++++----
503 setup.cfg | 7 +++++++
504 6 files changed, 60 insertions(+), 4 deletions(-)
506 commit 8df9570b7f25ceaaa590c8da33952a7bdeade203
507 Author: Mathieu Duponchelle <mathieu@centricular.com>
508 Date: Fri Feb 16 16:54:06 2018 +0100
510 array, list: always run items cleanup funcs
513 ++++++++++++++++++++++++++++++++-------------------------
514 gi/pygi-list.c | 37 +++++++++++++++---------------
515 2 files changed, 58 insertions(+), 49 deletions(-)
517 commit 9978b521450d9b2a038d48492550dcab49c7b113
518 Author: Mathieu Duponchelle <mathieu@centricular.com>
519 Date: Fri Feb 16 00:49:25 2018 +0100
521 pygi-struct-marshal: perform boxed copy ...
523 when the cleanup marshaller will not be called, that is when
524 marshalling something that is not actually an argument.
528 gi/pygi-struct-marshal.c | 48
529 ++++++++++++++++++++++++++++++++----------------
530 1 file changed, 32 insertions(+), 16 deletions(-)
532 commit e41dd91e9e62eeaeaa0fee97b50500591a87b249
533 Author: Mathieu Duponchelle <mathieu@centricular.com>
534 Date: Thu Feb 15 23:32:37 2018 +0100
536 Revert "Revert "to python struct marshalling: copy boxed during
539 This reverts commit 10c062001ddd948b0a70545cbf613b38ed6fa46c.
541 gi/pygi-struct-marshal.c | 34 +++++++++++++++++++++++++++-------
542 tests/test_gi.py | 1 -
543 2 files changed, 27 insertions(+), 8 deletions(-)
545 commit b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2
546 Author: Mathieu Duponchelle <mathieu@centricular.com>
547 Date: Thu Feb 15 23:32:20 2018 +0100
549 Revert "Revert "to python marshalling: collect cleanup data""
551 This reverts commit fa555767464fbe551b14cfbc121febc5290b1371.
553 gi/pygi-array.c | 24 ++++++++++++++++++------
554 gi/pygi-basictype.c | 8 +++++---
555 gi/pygi-basictype.h | 3 ++-
556 gi/pygi-cache.h | 13 ++++++++++---
557 gi/pygi-closure.c | 9 +++++++--
558 gi/pygi-enum-marshal.c | 6 ++++--
559 gi/pygi-error.c | 3 ++-
560 gi/pygi-hashtable.c | 13 +++++++++----
561 gi/pygi-invoke-state-struct.h | 3 +++
562 gi/pygi-invoke.c | 17 +++++++++++++----
563 gi/pygi-list.c | 38 +++++++++++++++++++++++++++++++-------
564 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
565 gi/pygi-object.c | 8 +++++---
566 gi/pygi-struct-marshal.c | 5 +++--
567 14 files changed, 120 insertions(+), 43 deletions(-)
569 commit 26b7fc3fee55870cc944b0f718da8a75c75f4eae
570 Author: Mathieu Duponchelle <mathieu@centricular.com>
571 Date: Fri Feb 16 00:45:40 2018 +0100
573 Revert "Revert "pygi-boxed: make in-place copy safer""
575 This reverts commit 700c785367975995d24a8ffd00b2aa028ccf77e8.
577 gi/pygi-boxed.c | 8 +++++++-
578 1 file changed, 7 insertions(+), 1 deletion(-)
580 commit d08e244d011121f8ffd5c21437e0f11fe9545bbf
581 Author: Mathieu Duponchelle <mathieu@centricular.com>
582 Date: Thu Feb 15 23:32:08 2018 +0100
584 Revert "Revert "Revert "Refactor boxed wrapper memory management
587 This reverts commit a506d5e3c64321c43a4ce7c2a72ca8d36e985999.
589 gi/gimodule.c | 6 +---
590 gi/overrides/GLib.py | 4 +++
591 gi/overrides/GObject.py | 3 --
592 gi/pygi-boxed.c | 32 +++++---------------
593 gi/pygi-boxed.h | 4 +--
594 gi/pygi-property.c | 6 +++-
595 gi/pygi-source.c | 6 ++--
596 gi/pygi-struct-marshal.c | 78
597 ++++--------------------------------------------
598 tests/test_gi.py | 1 +
599 tests/test_source.py | 8 ++---
600 10 files changed, 29 insertions(+), 119 deletions(-)
602 commit c56b4510649dae58519681c1a53aed85d598139e
603 Author: Christoph Reiter <reiter.christoph@gmail.com>
604 Date: Fri Feb 16 17:43:00 2018 +0100
606 tests: add tests for boxed in GLists. See !24
608 tests/regressextra.c | 33 +++++++++++++++++++++++++++++++++
609 tests/regressextra.h | 4 ++++
610 tests/test_everything.py | 16 ++++++++++++++++
611 3 files changed, 53 insertions(+)
613 commit 9c3cb6b49c33f53d637e80aad68a67e89d0eb944
614 Author: Christoph Reiter <reiter.christoph@gmail.com>
615 Date: Fri Feb 16 10:12:42 2018 +0100
617 gitlab-ci: use ccache
619 .gitlab-ci.yml | 9 +++++++++
620 .gitlab-ci/Dockerfile | 3 +++
621 .gitlab-ci/run-docker.sh | 6 ++++--
622 3 files changed, 16 insertions(+), 2 deletions(-)
624 commit 91a25c2aa1776e5e5757dc317a798615c31b3854
625 Author: Christoph Reiter <reiter.christoph@gmail.com>
626 Date: Fri Feb 16 09:59:31 2018 +0100
628 tests: Add a test for a out transfer-none boxed array
630 Makes sure we copy the array items as well.
632 tests/regressextra.c | 18 ++++++++++++++++++
633 tests/regressextra.h | 3 +++
634 tests/test_everything.py | 6 ++++++
635 3 files changed, 27 insertions(+)
637 commit e00e38f9c44568f7fab643a069f86c576011ddcc
638 Author: Christoph Reiter <reiter.christoph@gmail.com>
639 Date: Fri Feb 16 08:49:38 2018 +0100
641 tests: add a pytest hook for handling unhandled exception in closures
643 In PyGObject when an exception is raised in a closure called from
645 the error gets passed to sys.excepthook (on the main thread at least)
646 and the error is by default printed to stdout. Since pytest by default
647 hides stdout, errors can be easily missed now.
649 To make these errors more visible add a test wrapper which checks
650 sys.excepthook for unhandled exceptions and reraises them.
651 This makes the tests fail and as a bonus also shows the right
652 stack trace instead of just the error message.
654 tests/Makefile.am | 1 +
655 tests/compathelper.py | 5 +++++
656 tests/conftest.py | 31 +++++++++++++++++++++++++++++++
657 tests/test_glib.py | 13 +++++++++++++
658 tests/test_mainloop.py | 28 ++++++++--------------------
659 tests/test_option.py | 18 +++++++-----------
660 6 files changed, 65 insertions(+), 31 deletions(-)
662 commit aae383cf44ee3eabcc4b4122049ea277524d5001
663 Author: Christoph Reiter <reiter.christoph@gmail.com>
664 Date: Wed Feb 14 02:15:54 2018 +0100
669 1 file changed, 1 insertion(+), 1 deletion(-)
671 commit 9c1d66be67008604206e336a0433c5cdf824b837
672 Author: Christoph Reiter <reiter.christoph@gmail.com>
673 Date: Wed Feb 14 01:47:12 2018 +0100
678 1 file changed, 9 insertions(+)
680 commit 86fb783d0f00a49ea7e66ad73be7e150eb0162db
681 Author: Christoph Reiter <reiter.christoph@gmail.com>
682 Date: Wed Feb 14 02:07:13 2018 +0100
686 tests/Makefile.am | 9 +++++++--
687 1 file changed, 7 insertions(+), 2 deletions(-)
689 commit 618ccf06ad75bc481dec59b7da86a550571968c5
690 Author: Christoph Reiter <reiter.christoph@gmail.com>
691 Date: Wed Feb 14 01:34:02 2018 +0100
693 setup.py: cache pkg-config calls
695 This saves 300ms for a noop build_tests command
697 setup.py | 29 +++++++++++++++++------------
698 1 file changed, 17 insertions(+), 12 deletions(-)
700 commit ad9fc2d9cd8d9a0f3fd07a46e7056a182f18d399
701 Author: Christoph Reiter <reiter.christoph@gmail.com>
702 Date: Wed Feb 14 01:29:09 2018 +0100
704 gitlab-ci: Install pytest-faulthandler
706 This makes pytest print a Python stack trace in case of a crash.
708 .gitlab-ci/test-docker.sh | 2 +-
709 1 file changed, 1 insertion(+), 1 deletion(-)
711 commit 0d3fbc2a8d10c9eea4e3eef905d52c946f8ab7e9
712 Author: Christoph Reiter <reiter.christoph@gmail.com>
713 Date: Wed Feb 14 01:16:51 2018 +0100
715 setup.py: set the same env vars for testing as autotools
717 Also don't print a Python stack trace of the calling process on
718 error, just return the error status.
720 setup.py | 8 ++++++--
721 1 file changed, 6 insertions(+), 2 deletions(-)
723 commit 0fcd57846b0053319dc5a28503d3eab173927fc6
724 Author: Christoph Reiter <reiter.christoph@gmail.com>
725 Date: Wed Feb 14 00:56:47 2018 +0100
727 tests: add a test for Gio.DBusNodeInfo.new_for_xml, see #164
729 This was fixed by the recent reverts
731 tests/test_gdbus.py | 29 +++++++++++++++++++++++++++++
732 1 file changed, 29 insertions(+)
734 commit a506d5e3c64321c43a4ce7c2a72ca8d36e985999
735 Author: Christoph Reiter <reiter.christoph@gmail.com>
736 Date: Tue Feb 13 23:26:21 2018 +0100
738 Revert "Revert "Refactor boxed wrapper memory management strategy""
740 This reverts commit daefdfa3e4dc97b4ae38250358d722f09764cc9b.
742 gi/gimodule.c | 6 +++-
743 gi/overrides/GLib.py | 4 ---
744 gi/overrides/GObject.py | 3 ++
745 gi/pygi-boxed.c | 32 +++++++++++++++-----
746 gi/pygi-boxed.h | 4 +--
747 gi/pygi-property.c | 6 +---
748 gi/pygi-source.c | 6 ++--
749 gi/pygi-struct-marshal.c | 78
750 ++++++++++++++++++++++++++++++++++++++++++++----
751 tests/test_gi.py | 1 -
752 tests/test_source.py | 8 +++--
753 10 files changed, 119 insertions(+), 29 deletions(-)
755 commit 700c785367975995d24a8ffd00b2aa028ccf77e8
756 Author: Christoph Reiter <reiter.christoph@gmail.com>
757 Date: Tue Feb 13 23:26:15 2018 +0100
759 Revert "pygi-boxed: make in-place copy safer"
761 This reverts commit 9d96df1ea3ad533885fbcae4de693a3cd81e765a.
763 gi/pygi-boxed.c | 8 +-------
764 1 file changed, 1 insertion(+), 7 deletions(-)
766 commit fa555767464fbe551b14cfbc121febc5290b1371
767 Author: Christoph Reiter <reiter.christoph@gmail.com>
768 Date: Tue Feb 13 23:26:03 2018 +0100
770 Revert "to python marshalling: collect cleanup data"
772 This reverts commit 80eab029ce4e181624d7b845a4b517051797080d.
774 gi/pygi-array.c | 24 ++++++------------------
775 gi/pygi-basictype.c | 8 +++-----
776 gi/pygi-basictype.h | 3 +--
777 gi/pygi-cache.h | 13 +++----------
778 gi/pygi-closure.c | 9 ++-------
779 gi/pygi-enum-marshal.c | 6 ++----
780 gi/pygi-error.c | 3 +--
781 gi/pygi-hashtable.c | 13 ++++---------
782 gi/pygi-invoke-state-struct.h | 3 ---
783 gi/pygi-invoke.c | 17 ++++-------------
784 gi/pygi-list.c | 38 +++++++-------------------------------
785 gi/pygi-marshal-cleanup.c | 13 +++++--------
786 gi/pygi-object.c | 8 +++-----
787 gi/pygi-struct-marshal.c | 5 ++---
788 14 files changed, 43 insertions(+), 120 deletions(-)
790 commit 10c062001ddd948b0a70545cbf613b38ed6fa46c
791 Author: Christoph Reiter <reiter.christoph@gmail.com>
792 Date: Tue Feb 13 23:09:49 2018 +0100
794 Revert "to python struct marshalling: copy boxed during cleanup"
796 This reverts commit 7ed8191818733b9130bce84f782dc6f8f734abf7.
798 gi/pygi-struct-marshal.c | 34 +++++++---------------------------
799 tests/test_gi.py | 1 +
800 2 files changed, 8 insertions(+), 27 deletions(-)
802 commit e427d1a3a44e882c998543bb2c189700409df873
803 Author: Christoph Reiter <reiter.christoph@gmail.com>
804 Date: Mon Feb 12 20:35:09 2018 +0100
806 tests: Fix tests under Wayland. Fixes #163
808 These tests try to test Gdk.Atom with the exsting API in libgdk
809 but under Wayland they either don't return Gdk.Atom or block.
811 Since they are disabled on other platforms just change them to only
814 tests/test_atoms.py | 17 ++++++++++++-----
815 1 file changed, 12 insertions(+), 5 deletions(-)
817 commit 3e91df3dca3691635b978d1dc661506213e0efe3
818 Author: Christoph Reiter <reiter.christoph@gmail.com>
819 Date: Mon Feb 12 15:39:41 2018 +0100
821 docs: fix build with sphinx 1.7.0
823 1.7.0 no longer allows non-class references as param types
825 docs/guide/api/signals.rst | 3 ++-
826 1 file changed, 2 insertions(+), 1 deletion(-)
828 commit 5a25c98cb6d387791e41c7dc240c55814988519a
829 Author: Christoph Reiter <reiter.christoph@gmail.com>
830 Date: Sun Feb 11 18:08:07 2018 +0100
832 tests: Make it possible to use pytest directly
834 pytest will just import the files passed to it and try to run tests.
835 Since we need to run some setup code convert the tests directory to
836 a Python package and do the initialization in __init__.py. This makes
837 the init code (env vars, typelib search path, dbus) always run when
838 something from the package gets imported.
840 python3 setup.py build_tests # build pygobject and tests
841 py.test-3 tests/test_gi.py # run tests in test_gi.py only
843 docs/devguide/building_testing.rst | 6 ++
845 tests/Makefile.am | 8 ++-
846 tests/__init__.py | 102 ++++++++++++++++++++++++++
847 tests/helper.py | 4 +-
848 tests/runtests.py | 143
849 +++++++------------------------------
850 tests/test_atoms.py | 4 +-
851 tests/test_cairo.py | 6 +-
852 tests/test_docstring.py | 2 +
853 tests/test_error.py | 6 +-
854 tests/test_everything.py | 6 +-
855 tests/test_fields.py | 2 +
856 tests/test_gdbus.py | 2 +
857 tests/test_generictreemodel.py | 5 +-
858 tests/test_gi.py | 6 +-
859 tests/test_gio.py | 4 +-
860 tests/test_glib.py | 2 +
861 tests/test_gobject.py | 8 +--
862 tests/test_gtype.py | 2 +
863 tests/test_import_machinery.py | 2 +
864 tests/test_interface.py | 4 +-
865 tests/test_internal_api.py | 10 ++-
866 tests/test_iochannel.py | 6 +-
867 tests/test_mainloop.py | 2 +
868 tests/test_object_marshaling.py | 2 +
869 tests/test_option.py | 2 +
870 tests/test_ossig.py | 2 +
871 tests/test_overrides_gdk.py | 4 +-
872 tests/test_overrides_glib.py | 4 +-
873 tests/test_overrides_gtk.py | 4 +-
874 tests/test_overrides_pango.py | 2 +
875 tests/test_properties.py | 10 ++-
876 tests/test_pygtkcompat.py | 4 +-
877 tests/test_repository.py | 8 +--
878 tests/test_resulttuple.py | 2 +
879 tests/test_signal.py | 13 ++--
880 tests/test_source.py | 8 +--
881 tests/test_subprocess.py | 2 +
882 tests/test_thread.py | 5 +-
883 tests/test_typeclass.py | 6 +-
884 tests/test_unknown.py | 5 +-
885 tests/testmodule.py | 2 +
886 42 files changed, 244 insertions(+), 193 deletions(-)
888 commit 21cee6cc4fbc7fb1a28a15840924b0da52b49fca
889 Author: Christoph Reiter <reiter.christoph@gmail.com>
890 Date: Sun Feb 11 16:08:18 2018 +0100
892 tests: Make patching in pygtkcompat reversible
894 Record all the attribute and sys.modules changes and add an API
895 for reverting them after tests are completed.
897 This allows us to run the pygtkcompat tests in the same test process
900 pygtkcompat/pygtkcompat.py | 273
901 ++++++++++++---------
903 tests/Makefile.am | 4 +-
904 tests/runtests.py | 2 +-
905 .../{compat_test_pygtk.py => test_pygtkcompat.py} | 96 ++++++--
906 5 files changed, 237 insertions(+), 145 deletions(-)
908 commit 7f5aedb6e1f317b33a96d0c77641b95f182b2a47
909 Author: Christoph Reiter <reiter.christoph@gmail.com>
910 Date: Sat Feb 10 13:31:23 2018 +0100
915 1 file changed, 1 insertion(+), 1 deletion(-)
917 commit c65efcb0bb4a73c9fb1ffa10225795adc489a081
918 Author: Christoph Reiter <reiter.christoph@gmail.com>
919 Date: Sat Feb 10 13:22:17 2018 +0100
923 NEWS | 11 +++++++++++
925 2 files changed, 12 insertions(+)
927 commit 11de6f55f48447325325ec2f334af5576d12e2ed
928 Author: Christoph Reiter <reiter.christoph@gmail.com>
929 Date: Sat Feb 10 11:37:55 2018 +0100
931 tests: switch to pytest as the default test runner. See #153
933 The TEST_NAMES env var gets translated to work with the pytest syntax
934 (foo.py::class::method).
936 Rename one class which triggers a pytest warning because it starts
938 "Test" but isn't one.
940 Remove erroring out on Python warnings as pytest triggers some
941 deprecation warnings by default.
944 .gitlab-ci/test-docker.sh | 2 +-
945 docs/devguide/building_testing.rst | 9 +++++++++
946 docs/devguide/dev_environ.rst | 6 ++++--
947 tests/Makefile.am | 2 +-
948 tests/runtests.py | 16 +++++++++-------
949 tests/test_generictreemodel.py | 16 ++++++++--------
950 7 files changed, 34 insertions(+), 19 deletions(-)
952 commit 9a9bb732752e7bec42a1c13f080b37536876e3e0
953 Author: Christoph Reiter <reiter.christoph@gmail.com>
954 Date: Sat Feb 10 11:16:49 2018 +0100
956 tests: set DBUS_SESSION_BUS_ADDRESS to some invalid value to
959 While keepig it empty works on Linux, on Windows setting an invalid
960 value is needed to disable dbus.
962 tests/runtests.py | 2 +-
963 1 file changed, 1 insertion(+), 1 deletion(-)
965 commit 64b02e3017b50a17a087ee821522a1cb8e066f27
966 Author: Christoph Reiter <reiter.christoph@gmail.com>
967 Date: Fri Feb 9 17:06:52 2018 +0100
969 tests: remove locale test for uppercasing C names
971 Someone on IRC had problems running the test suite, and that's not
973 time, so remove it for now (added in 63c7f17c2248)
975 The locale generation adds extra dependencies and only works on Linux,
976 and while the test does something useful it complicates things
979 We need to find a better way (in Python if possible) to test for
981 dependend upper()/lower().
984 tests/Makefile.am | 1 -
985 tests/te_ST@nouppera | 50
986 --------------------------------------------------
987 tests/test_gi.py | 31 -------------------------------
988 4 files changed, 1 insertion(+), 83 deletions(-)
990 commit d9516e8dc32db9494139a733ae3a535d2f89c6e1
991 Author: Christoph Reiter <reiter.christoph@gmail.com>
992 Date: Fri Feb 9 14:12:20 2018 +0100
994 tests: disable dbus tests on Windows/macOS
996 dbus-daemon is available in MSYS2 unlike dbus-run-session but the
997 tests fail. Disable dbus tests on Windows/macOS to restore the
998 old behaviour for now.
1000 tests/runtests.py | 3 +++
1001 1 file changed, 3 insertions(+)
1003 commit 1e28b03b1562c030a956ed82337eaacfa38c304e
1004 Author: Christoph Reiter <reiter.christoph@gmail.com>
1005 Date: Thu Feb 8 17:10:21 2018 +0100
1007 tests: move dbus session bus handling into runtests.py
1009 This allows us to remove code duplication in autotools/distutils.
1011 This also fixes the noisy dbus output during tests because
1013 forwarded dbus logging output to stderr.
1015 .gitlab-ci/Dockerfile | 1 -
1016 .gitlab-ci/run-docker.sh | 0
1017 setup.py | 14 ++------------
1018 tests/Makefile.am | 10 +++-------
1019 tests/runtests.py | 27 +++++++++++++++++++++++++--
1020 5 files changed, 30 insertions(+), 22 deletions(-)
1022 commit 095388a7c83dbffbe042f842789285f63996fc11
1023 Author: Christoph Reiter <reiter.christoph@gmail.com>
1024 Date: Thu Feb 8 15:38:24 2018 +0100
1026 gitlab-ci: use pyenv in docker instead of the deadsnakes PPA
1028 deadsnakes only provides packages for Ubuntu LTS versions and doesn't
1029 include versions present in that Ubuntu version.
1030 With Ubuntu zesty this happened to work, but now that that's EOL
1031 we have to switch to artful and no longer have a Python 3.5 available.
1033 Instead switch to using pyenv in docker and compiler our own Python
1034 versions. This should make it easier to swtich distros in the future.
1036 Also adds a run-docker.sh script which builds the image and
1037 runs it with the git repo mounted. This should make local testing
1038 easier in the future.
1040 .gitlab-ci.yml | 12 +++++++---
1041 .gitlab-ci/Dockerfile | 60
1042 ++++++++++++++++++++++++++++-------------------
1043 .gitlab-ci/run-docker.sh | 7 ++++++
1044 .gitlab-ci/test-docker.sh | 11 +++++----
1045 4 files changed, 58 insertions(+), 32 deletions(-)
1047 commit 7bc20fe2d1225bebb2f4ec1faabf6a70e4e5a4e7
1048 Author: Mikhail Fludkov <misha@pexip.com>
1049 Date: Thu Feb 8 12:49:01 2018 +0100
1051 tests: Make tests run without Gtk/Gdk installed
1053 Python evaluates the code inside @unittest.skipIf decorator during
1054 import time. Because Gtk is not installed it crashes while evaluating
1055 'Gtk._version' where Gtk=None.
1057 tests/test_ossig.py | 10 ++++++---
1058 tests/test_overrides_gdk.py | 17 +++++++--------
1059 tests/test_overrides_gtk.py | 50
1060 +++++++++++++++++++++++----------------------
1061 3 files changed, 42 insertions(+), 35 deletions(-)
1063 commit d371fd77d33c2987cc450bd68ce4ee4835e09bd8
1064 Author: Christoph Reiter <reiter.christoph@gmail.com>
1065 Date: Thu Feb 8 09:02:37 2018 +0100
1067 Revert "to-py-struct: don't copy the boxed if we are the sole owner
1070 This reverts commit a4a68b3c7a4bb64c71e1bdbe52ede109b6bcd0bb.
1072 This was wrong. In the context of a boxed return value we also have
1074 ref but it doesn't get freed after.
1076 We could decide this based on PYGI_CALLING_CONTEXT_IS_FROM_C from
1078 but let's leave that for now.
1080 gi/pygi-struct-marshal.c | 11 ++---------
1081 tests/test_everything.py | 2 --
1082 2 files changed, 2 insertions(+), 11 deletions(-)
1084 commit 024ac583538976330b429b9b203d412fec0426e3
1085 Author: Mikhail Fludkov <fludkov.me@gmail.com>
1086 Date: Tue Feb 6 15:24:17 2018 +0100
1088 tests: test_boxed_c_wrapper failing tests
1090 Introduced here 1ec8d58
1093 tests/Makefile.am | 8 +++++---
1094 tests/regressextra.c | 51
1095 ++++++++++++++++++++++++++++++++++++++++++++++++
1096 tests/regressextra.h | 17 ++++++++++++++++
1097 tests/test_everything.py | 31 +++++++++++++++++++++++++++++
1098 5 files changed, 106 insertions(+), 3 deletions(-)
1100 commit aab23dbdb38c5c316c1939410e0301aa8b262143
1101 Author: Mikhail Fludkov <fludkov.me@gmail.com>
1102 Date: Wed Feb 7 16:03:42 2018 +0100
1104 gi/pygtype.c: avoid GIL congestion in pyg_type_lookup
1106 https://gitlab.gnome.org/GNOME/pygobject/issues/123
1108 GIL congestion can be caused when many threads emit signals with
1110 boxed type up to Python. The code in pyg_type_lookup imports a
1112 corresponding to gtype, which is expensive and can cause GIL
1114 the proposed patch of pyg_type_lookup does:
1116 - pygi_type_import_by_g_type is called only once per a gtype
1117 - early NULL return. For example GStreamer types benefit greatly
1119 Because pyg_register_gtype_custom is not used and pyg_type_lookup
1121 returns NULL for such types.
1123 gi/pygtype.c | 41 ++++++++++++++++++++++++++++++++++++-----
1124 1 file changed, 36 insertions(+), 5 deletions(-)
1126 commit 080e1a8e8c130a94b5662770621dea2ad1646b3a
1127 Author: Mikhail Fludkov <fludkov.me@gmail.com>
1128 Date: Wed Feb 7 16:36:26 2018 +0100
1130 Use optimized version of PyImport_ImportModule
1132 https://gitlab.gnome.org/GNOME/pygobject/issues/123
1134 You would expect PyImport_ImportModule to import a module once, store
1135 it's reference to sys.modules and the next time we call it with
1137 argument reuse the reference from sys.module. But it is not what is
1138 happening unfortunately.
1140 Everytime we call it it releases GIL, grabs global python import lock,
1141 grabs GIL back. The proposed optimization looks at sys.modules
1143 uses the reference from there to avoid GIL congestion. pyg_type_lookup
1145 a good example of a function which imports python modules at run
1147 can cause GIL congestion.
1149 gi/pygi-error.c | 2 +-
1150 gi/pygi-info.c | 2 +-
1151 gi/pygi-type.c | 2 +-
1152 gi/pyglib-python-compat.h | 17 +++++++++++++++++
1153 4 files changed, 20 insertions(+), 3 deletions(-)
1155 commit ee79fef18748ad660d3a0471ed9a18ea11410849
1156 Author: Christoph Reiter <reiter.christoph@gmail.com>
1157 Date: Wed Feb 7 11:55:54 2018 +0100
1162 1 file changed, 1 insertion(+), 1 deletion(-)
1164 commit 7f678500a9edad6218911dc7d81e0bc057c58326
1165 Author: Christoph Reiter <reiter.christoph@gmail.com>
1166 Date: Wed Feb 7 11:35:13 2018 +0100
1171 1 file changed, 2 insertions(+), 2 deletions(-)
1173 commit 07993bb18195f19a07cdda3ba47b231b02863e2b
1174 Author: Christoph Reiter <reiter.christoph@gmail.com>
1175 Date: Wed Feb 7 09:41:58 2018 +0100
1177 docs: add pypi step to maintainer release list
1179 docs/maintguide.rst | 2 ++
1180 1 file changed, 2 insertions(+)
1182 commit f7a8711d16de226aec1496c366fba1c6434b4218
1183 Author: Christoph Reiter <reiter.christoph@gmail.com>
1184 Date: Wed Feb 7 09:36:50 2018 +0100
1186 docs: getting started: default to Python 3 everywhere
1188 docs/getting_started.rst | 12 ++++++------
1189 1 file changed, 6 insertions(+), 6 deletions(-)
1191 commit 1330712bcf8109090bacf0cdfbba0c2a47930ac9
1192 Author: Christoph Reiter <reiter.christoph@gmail.com>
1193 Date: Wed Feb 7 09:35:08 2018 +0100
1195 docs: update building/testing with new setup.py features
1197 docs/devguide/building_testing.rst | 45
1198 +++++++++++++++++++++-----------------
1199 1 file changed, 25 insertions(+), 20 deletions(-)
1201 commit e6ffd8f37c83d2627086207192030975dee44bd7
1202 Author: Christoph Reiter <reiter.christoph@gmail.com>
1203 Date: Wed Feb 7 00:55:54 2018 +0100
1207 NEWS | 26 ++++++++++++++++++++++----
1208 1 file changed, 22 insertions(+), 4 deletions(-)
1210 commit e56975aaf9bb976397b5961b7b34adcdd91b5a94
1211 Author: Christoph Reiter <reiter.christoph@gmail.com>
1212 Date: Tue Feb 6 23:04:18 2018 +0100
1214 gitlab-ci: adjust PKG_CONFIG_PATH for pycairo
1216 pycairo git now installs things into $prefix/lib/pkgconfig
1218 .gitlab-ci/test-docker.sh | 2 +-
1219 1 file changed, 1 insertion(+), 1 deletion(-)
1221 commit 4b315835f7006655fe9fa23c02ec6096478114e5
1222 Author: Christoph Reiter <reiter.christoph@gmail.com>
1223 Date: Tue Feb 6 18:32:13 2018 +0100
1225 setup.py: use dbus-run-session for tests if available
1227 Like we do with "make check"
1229 setup.py | 16 ++++++++++++----
1230 1 file changed, 12 insertions(+), 4 deletions(-)
1232 commit e36797f6ea971bffe5cd55065e43e233644c3e0a
1233 Author: Christoph Reiter <reiter.christoph@gmail.com>
1234 Date: Tue Feb 6 18:16:58 2018 +0100
1236 setup.py: remove wrong comment about share lib extenions in distutils
1238 It just happened to work with MinGW Python3 as that is patched to use
1239 .dll for Python extenions by default. Forcing a different extension
1240 here is needed as distutils is targeted at building extensions and
1244 1 file changed, 1 insertion(+), 1 deletion(-)
1246 commit 05159327eb70a75bc876a2355f5f31c6d424c1d5
1247 Author: Christoph Reiter <reiter.christoph@gmail.com>
1248 Date: Tue Feb 6 18:15:05 2018 +0100
1250 build: remove libdir from the .pc file
1252 It's unused afaics and in the distutils case we can't replicated
1253 what autotools does, so better remove it.
1255 pygobject-3.0.pc.in | 1 -
1257 2 files changed, 2 deletions(-)
1259 commit 1de81a939711b9c2edb915b8bd9855ef9db12f02
1260 Author: Christoph Reiter <reiter.christoph@gmail.com>
1261 Date: Tue Feb 6 18:14:08 2018 +0100
1263 setup.py: install .pc file into libdir
1265 To match what the autotools build does.
1268 1 file changed, 3 insertions(+), 1 deletion(-)
1270 commit 32771e7509a266d5cafbfb0965b018ad8c87c530
1271 Author: Christoph Reiter <reiter.christoph@gmail.com>
1272 Date: Tue Feb 6 00:16:57 2018 +0100
1274 tests: skip some more tests on macOS
1276 I haven't looked into why, but my hope is that this makes tests
1277 pass on travis-ci, so we have a starting point and can at least
1278 catch regression in an automated fashion.
1280 tests/test_glib.py | 1 +
1281 tests/test_overrides_gtk.py | 1 +
1282 2 files changed, 2 insertions(+)
1284 commit 3d4bc64461c7c59f5e4aaabe7f2752d6ece83ed0
1285 Author: Christoph Reiter <reiter.christoph@gmail.com>
1286 Date: Mon Feb 5 22:55:04 2018 +0100
1288 setup.py: convince distutils to build dylibs on macOS
1290 This makes the "build_tests" command work
1292 setup.py | 7 +++++++
1293 1 file changed, 7 insertions(+)
1295 commit a153be8a6d79f52f1a45e2241e1fca5bd0aba6ea
1296 Author: Christoph Reiter <reiter.christoph@gmail.com>
1297 Date: Mon Feb 5 10:49:55 2018 +0100
1299 setup.py: rework pycairo header lookup and use new pycairo API when
1302 pycairo git/next version now has a get_include() function which
1304 include path matching the Python module in all cases.
1306 Rework the lookup code to try that API if possible and fall back to
1308 way. Also add logging everywhere so it's easier to debug if there
1313 ++++++++++++++++++++++++++++++++++++++++++---------------------
1314 1 file changed, 88 insertions(+), 44 deletions(-)
1316 commit 9a3958d30f8eeaf3cf5ad03c30a1915683ce4e6c
1317 Merge: 8811bfc6 a4a68b3c
1318 Author: Christoph Reiter <reiter.christoph@gmail.com>
1319 Date: Thu Feb 1 08:24:50 2018 +0000
1321 Merge branch 'dont-copy-unowned-boxed' into 'master'
1323 to-py-struct: don't copy the boxed if we are the sole owner of
1326 See merge request GNOME/pygobject!14
1328 commit a4a68b3c7a4bb64c71e1bdbe52ede109b6bcd0bb
1329 Author: Christoph Reiter <reiter.christoph@gmail.com>
1330 Date: Tue Jan 30 16:39:18 2018 +0100
1332 to-py-struct: don't copy the boxed if we are the sole owner of
1335 In commit 7ed8191818733b9130bce84f78 things were changed to copy the
1336 wrapped boxed after the Python function returned. In case the wrapper
1337 is only used during the call there is no need to copy the boxed
1338 as the wrapper will be freed anyway.
1340 Add a special case and don't copy the boxed in case the refcount at
1341 cleanup is only 1. This should speed up the common case.
1343 thanks to @mathieudu for suggesting this
1345 gi/pygi-struct-marshal.c | 11 +++++++++--
1346 1 file changed, 9 insertions(+), 2 deletions(-)
1348 commit 8811bfc695a8513e49cfc8ba1e304a3ed0814fa9
1349 Merge: 0dca3f4f 1fbf74eb
1350 Author: Christoph Reiter <reiter.christoph@gmail.com>
1351 Date: Tue Jan 30 14:46:40 2018 +0000
1353 Merge branch 'property_fix' into 'master'
1355 gobjectmodule: do not clear floating flag in set_/get_property
1357 See merge request GNOME/pygobject!8
1359 commit 0dca3f4f577c540d8e09097b6e414708c8d54108
1360 Author: Christoph Reiter <reiter.christoph@gmail.com>
1361 Date: Tue Jan 30 14:05:24 2018 +0100
1363 setup.py: test: also run compat_test_pygtk tests
1365 setup.py | 7 +++++++
1366 1 file changed, 7 insertions(+)
1368 commit 94904a17fb65b5174aca58c9e8ed6ebd50bc6cb3
1369 Merge: 1ec8d58e fd9e24a7
1370 Author: Christoph Reiter <reiter.christoph@gmail.com>
1371 Date: Mon Jan 29 16:26:11 2018 +0000
1373 Merge branch 'gitlabissue158' into 'master'
1375 pygobject-object: fix memory corruption around list of closures
1377 See merge request GNOME/pygobject!12
1379 commit fd9e24a73acde7313fbf96c946f4ce8dad130b33
1380 Author: Mikhail Fludkov <fludkov.me@gmail.com>
1381 Date: Mon Jan 29 14:23:37 2018 +0100
1383 pygobject-object: fix memory corruption around list of closures
1385 https://gitlab.gnome.org/GNOME/pygobject/issues/158
1387 The memory corruption occurs because of the race while accessing
1388 PyGObjectData->closures list.
1390 Protect PyGObjectData->closures by GIL in pygobject_unwatch_closure.
1391 Despite the fact that we don't call any Python API in the function. We
1393 GIL to be sure that PyGObjectData->closures list stays intact while
1394 GC iterating the list inside pygobject_traverse. Otherwise we can
1395 segfault while trying to call 'visit' function on an object that
1396 was just freed in pygobject_unwatch_closure.
1398 gi/pygobject-object.c | 5 +++++
1399 tests/test_signal.py | 50
1400 ++++++++++++++++++++++++++++++++++++++++++++++++++
1401 2 files changed, 55 insertions(+)
1403 commit 1ec8d58e879a3802f54190be3cdc23bd976ca01f
1404 Merge: 8c8dd210 7ed81918
1405 Author: Christoph Reiter <reiter.christoph@gmail.com>
1406 Date: Mon Jan 29 11:40:40 2018 +0000
1408 Merge branch 'fix_boxed_copies' into 'master'
1412 See merge request GNOME/pygobject!10
1414 commit 8c8dd210f7cb2001144dc00ab6adde9e840e5dcf
1415 Author: Christoph Reiter <reiter.christoph@gmail.com>
1416 Date: Thu Jan 25 17:13:15 2018 +0100
1418 setup.py: set zip_safe=False
1420 We install .h/.pc files now and zipping them could be problematic,
1421 so better don't allow it.
1424 1 file changed, 1 insertion(+)
1426 commit 06f981d83bb6f4b7d6043e9ee04277fcc2631d91
1427 Author: Christoph Reiter <reiter.christoph@gmail.com>
1428 Date: Thu Jan 25 16:33:29 2018 +0100
1430 setup.py: Install the pkg-config file
1432 Skip installation when a wheel is built as it doesn't allow including
1433 absolute paths and the .pc does.
1435 Remove LIBFFI_PC as it's always the same.
1438 pygobject-3.0.pc.in | 2 +-
1440 +++++++++++++++++++++++++++++++++++++++++++++++++----
1441 3 files changed, 80 insertions(+), 9 deletions(-)
1443 commit db78f98b0133102d77111c595df59f930e9b1c63
1444 Author: Christoph Reiter <reiter.christoph@gmail.com>
1445 Date: Thu Jan 25 15:57:38 2018 +0100
1447 setup.py: Install the header file
1450 1 file changed, 3 insertions(+)
1452 commit 200a9c940d9bf5b0104cedc96c94c55867aac440
1453 Author: Christoph Reiter <reiter.christoph@gmail.com>
1454 Date: Thu Jan 25 15:42:04 2018 +0100
1456 setup.py: Add logging for pycairo lookup and fail early if the header
1457 isn't found. See #150
1459 Log the pycairo module we find and the include path we deduce
1461 Also check that the directory actually includes the right header file
1462 instead of letting the compiler fail later on.
1464 This will hopefully make it more clear why installing through pip
1466 in some cases (see #150 for some reports)
1468 setup.py | 13 ++++++++++++-
1469 1 file changed, 12 insertions(+), 1 deletion(-)
1471 commit 1fbf74eb06bbe2868fd40ea9f3fc1addc27e4bc3
1472 Author: Mathieu Duponchelle <mathieu@centricular.com>
1473 Date: Sat Jan 20 04:44:46 2018 +0100
1475 gobjectmodule: do not clear floating flag in set_/get_property
1477 gi/gobjectmodule.c | 14 ++++++++++++--
1478 1 file changed, 12 insertions(+), 2 deletions(-)
1480 commit f2100902c6fdfd6a3daaab39d3325ffc9ada9a7d
1481 Author: Mathieu Duponchelle <mathieu@centricular.com>
1482 Date: Sun Jan 21 19:17:10 2018 +0100
1484 gi/types: make it possible to resolve ambiguous vmethod names
1486 Related to https://gitlab.gnome.org/GNOME/pygobject/issues/105,
1487 but the method exposed to resolve the ambiguities does not
1488 use a decorator, as a decorator cannot rename the function it
1489 wraps, which means that users will have to provide different names
1490 if they want to implement ambiguous methods from multiple base
1493 Instead, ambiguities can be resolved by implementing methods named
1494 do_$namespaced_base_class_name_$vfunc_name, eg:
1496 do_gst_base_src_query
1498 gi/types.py | 50 ++++++++++++++++++++++++++++++++++++--------------
1499 1 file changed, 36 insertions(+), 14 deletions(-)
1501 commit 7ed8191818733b9130bce84f782dc6f8f734abf7
1502 Author: Mathieu Duponchelle <mathieu@centricular.com>
1503 Date: Tue Jan 23 15:58:38 2018 +0100
1505 to python struct marshalling: copy boxed during cleanup
1507 If the boxed was passed with transfer nothing, we need to
1508 make a copy of it in the boxed wrapper, this in order
1509 to have a valid reference, but still let closures modify
1510 the original reference while it is valid (during the closure)
1512 This fixes an expected failure in the tests, that was added
1513 by https://bugzilla.gnome.org/show_bug.cgi?id=722899, first fixed
1514 by https://bugzilla.gnome.org/show_bug.cgi?id=726999 and broken
1515 in the preceding commits.
1517 gi/pygi-struct-marshal.c | 34 +++++++++++++++++++++++++++-------
1518 tests/test_gi.py | 1 -
1519 2 files changed, 27 insertions(+), 8 deletions(-)
1521 commit 80eab029ce4e181624d7b845a4b517051797080d
1522 Author: Mathieu Duponchelle <mathieu@centricular.com>
1523 Date: Tue Jan 23 15:57:04 2018 +0100
1525 to python marshalling: collect cleanup data
1527 Similar to what is done for marshalling from python, we
1528 collect cleanup data that will then be passed on to the
1531 gi/pygi-array.c | 24 ++++++++++++++++++------
1532 gi/pygi-basictype.c | 8 +++++---
1533 gi/pygi-basictype.h | 3 ++-
1534 gi/pygi-cache.h | 13 ++++++++++---
1535 gi/pygi-closure.c | 9 +++++++--
1536 gi/pygi-enum-marshal.c | 6 ++++--
1537 gi/pygi-error.c | 3 ++-
1538 gi/pygi-hashtable.c | 13 +++++++++----
1539 gi/pygi-invoke-state-struct.h | 3 +++
1540 gi/pygi-invoke.c | 17 +++++++++++++----
1541 gi/pygi-list.c | 38 +++++++++++++++++++++++++++++++-------
1542 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
1543 gi/pygi-object.c | 8 +++++---
1544 gi/pygi-struct-marshal.c | 5 +++--
1545 14 files changed, 120 insertions(+), 43 deletions(-)
1547 commit 9d96df1ea3ad533885fbcae4de693a3cd81e765a
1548 Author: Mathieu Duponchelle <mathieu@centricular.com>
1549 Date: Tue Jan 23 14:15:19 2018 +0100
1551 pygi-boxed: make in-place copy safer
1553 Making sure we don't attempt to g_boxed_copy a NULL pointer,
1554 as this is explicitly disallowed, and setting slice-allocated
1555 to FALSE once g_slice_free has been called.
1557 gi/pygi-boxed.c | 8 +++++++-
1558 1 file changed, 7 insertions(+), 1 deletion(-)
1560 commit daefdfa3e4dc97b4ae38250358d722f09764cc9b
1561 Author: Mathieu Duponchelle <mathieu@centricular.com>
1562 Date: Sun Jan 21 19:23:19 2018 +0100
1564 Revert "Refactor boxed wrapper memory management strategy"
1566 This reverts commit 85175047e66dfc0c0263eac91d8056a95d0a60a0.
1568 gi/gimodule.c | 6 +---
1569 gi/overrides/GLib.py | 4 +++
1570 gi/overrides/GObject.py | 3 --
1571 gi/pygi-boxed.c | 32 +++++---------------
1572 gi/pygi-boxed.h | 4 +--
1573 gi/pygi-property.c | 6 +++-
1574 gi/pygi-source.c | 6 ++--
1575 gi/pygi-struct-marshal.c | 78
1576 ++++--------------------------------------------
1577 tests/test_gi.py | 1 +
1578 tests/test_source.py | 8 ++---
1579 10 files changed, 29 insertions(+), 119 deletions(-)
1581 commit b0fbb13783a2ece048a812b233e1fad15c5b8a31
1582 Author: Christoph Reiter <reiter.christoph@gmail.com>
1583 Date: Tue Jan 23 00:27:32 2018 +0100
1585 setup.py: default to Python 3
1587 autotools defaults to Python 3 as well, so do the same for
1591 1 file changed, 1 insertion(+), 1 deletion(-)
1593 commit f59ba1ae65876df786458f785558f96d8b400c9a
1594 Author: Christoph Reiter <reiter.christoph@gmail.com>
1595 Date: Mon Jan 22 23:09:10 2018 +0100
1597 setup.py: Make the test command work under MSYS2
1599 gobject-introspection requires an import lib (.dll.a) on Windows,
1600 so build that as well.
1602 Disable the dbus tests until we have a temp bus like with autotools.
1603 Unset MSYSTEM to disable the os.sep hackery.
1605 This hit a bug in GI for the mingw+no-libtool case, see
1606 https://bugzilla.gnome.org/show_bug.cgi?id=791902
1607 The fix has been applied to MSYS2 in the meantime, see
1608 https://github.com/Alexpux/MINGW-packages/pull/3308
1611 setup.py | 57 +++++++++++++++++++++++++++++++++++++++++++--------------
1612 2 files changed, 45 insertions(+), 14 deletions(-)
1614 commit 89d66dd0aa48aaef0a70aba8a17234bc188ef609
1615 Author: Christoph Reiter <reiter.christoph@gmail.com>
1616 Date: Sun Jan 21 15:32:26 2018 +0100
1618 setup.py: add a "quality" command
1620 This just calls flake8 internally
1622 setup.py | 19 +++++++++++++++++++
1623 1 file changed, 19 insertions(+)
1625 commit efb19909ebf15c8bdbd0b4acfe0046a512ba3b82
1626 Author: Christoph Reiter <reiter.christoph@gmail.com>
1627 Date: Sat Jan 20 12:22:41 2018 +0100
1629 gitlab-ci: switch to a non-srcdir build
1631 .gitlab-ci/test-docker.sh | 8 +++++++-
1632 1 file changed, 7 insertions(+), 1 deletion(-)
1634 commit 722ef028739b1e3e585f49418a98efa98834bc02
1635 Author: Christoph Reiter <reiter.christoph@gmail.com>
1636 Date: Fri Jan 19 20:34:04 2018 +0100
1638 autotools: use flake8 instead of pep8/pyflakes
1640 flake8 uses pep8/pycodestyle/pyflakes internally, so there should not
1643 The nice thing about it is that we can store the configuration in
1644 setup.cfg and linting comes down to just executing "flake8".
1645 It also allows to ignore warnings with inline comments, so that
1646 when avoiding a warning isn't possible it doesn't need to be disabled
1647 for the whole codebase.
1649 .gitlab-ci/test-docker.sh | 2 +-
1651 Makefile.am | 19 +++----------------
1652 docs/devguide/building_testing.rst | 2 +-
1654 5 files changed, 9 insertions(+), 18 deletions(-)
1656 commit 162b6ab75d3c3d1717245f5957433b8cf400b17a
1657 Author: Christoph Reiter <reiter.christoph@gmail.com>
1658 Date: Fri Jan 19 20:08:31 2018 +0100
1660 gitlab-ci: Install pep8 package, "make check.quality" requires it
1662 While pep8 is replaced by pycodestyle, the "make check.quality"
1663 command still uses pep8. Install it for now and fix some warnings
1664 which slipped through due to pep8 not running.
1666 .gitlab-ci/test-docker.sh | 2 +-
1667 gi/overrides/GLib.py | 5 +++--
1668 tests/test_overrides_glib.py | 1 -
1669 3 files changed, 4 insertions(+), 4 deletions(-)
1671 commit c365cc9c14a001dcbe294375d322a02401a1814d
1672 Author: Christoph Reiter <reiter.christoph@gmail.com>
1673 Date: Fri Jan 19 15:12:22 2018 +0100
1677 List the authors like before and link them to the gitlab user profile.
1681 2 files changed, 6 insertions(+), 2 deletions(-)
1683 commit 2ccef77f240149891fe9e8f557c7afc951a91839
1684 Author: Christoph Reiter <reiter.christoph@gmail.com>
1685 Date: Thu Jan 18 17:08:26 2018 +0100
1687 setup.py: add a "test" command which is equal to "make check"
1690 Adds a "build_tests" command which builds all resources required
1692 It has some simple dependency awareness and only rebuilds if any of
1694 sources have changed. Passing -f/--force will force a rebuild.
1696 Adds a new "test" command which builds the main extension module in
1698 directory, runs "build_tests" and finally runs all tests.
1700 Extends the "distcheck" command to run the tests after extracting
1702 distribution and run the distcheck command in the gitlab CI script.
1704 Only tested on Linux.
1706 .gitlab-ci/test-docker.sh | 3 +
1707 docs/devguide/building_testing.rst | 28 ++--
1709 +++++++++++++++++++++++++++++++------
1710 tests/runtests.py | 1 +
1711 4 files changed, 305 insertions(+), 63 deletions(-)
1713 commit 812cdbfec0c8c9866c339a5eb01268672514d447
1714 Author: Alberto Ruiz <aruiz@gnome.org>
1715 Date: Thu Jan 18 18:29:33 2018 +0100
1717 GVariant add support to maybe types
1719 While adding support to maybe types I realized that the GVariant
1720 override was replicating a lot of logic from GVariant to parse
1721 format strings by itself. This patch simplifies the creation of
1722 GVariants from Python types and relies on GVariantType to interpret
1723 the format string and walk through its items.
1725 This patch also expands test coverage for maybe types.
1727 gi/overrides/GLib.py | 164
1728 ++++++++++++-------------------------------
1729 tests/test_overrides_glib.py | 49 ++++++++++---
1730 2 files changed, 86 insertions(+), 127 deletions(-)
1732 commit 54059b93a5559a4ccf28fa8014cacabbcf140902
1733 Author: Christoph Reiter <reiter.christoph@gmail.com>
1734 Date: Thu Jan 18 08:39:53 2018 +0100
1739 1 file changed, 7 insertions(+)
1741 commit e5a21f56cd375373741dcb2f2e8eefae349cffbc
1742 Author: Christoph Reiter <reiter.christoph@gmail.com>
1743 Date: Mon Jan 15 20:44:27 2018 +0100
1745 overrides: Fix Gtk.Adjustment.__init__ overrides not setting "value"
1746 sometimes. Fixes #151
1748 Gtk.Adjustment allows passing positional arguments to __init__
1750 translated to a dict for passing to GObject.Object.__init__. In case
1752 first argument "value", if "value" is passed before the upper and
1753 lower bound to Object.__init__ it will be set to 0 instead.
1755 In Python 2 this happened to work (at least on my machine) because
1756 "value" got placed after the bounds (in terms of iteration order)
1757 in the final dict value passed to Object.__init__.
1759 To work around this, set "value" again after __init__().
1760 A similar work around already exists when "value" is passed as
1763 gi/overrides/Gtk.py | 2 ++
1764 tests/test_overrides_gtk.py | 6 ++++++
1765 2 files changed, 8 insertions(+)
1767 commit 5cb3d7af47310d0b6174811d0d298e7d1869624c
1768 Author: Christoph Reiter <reiter.christoph@gmail.com>
1769 Date: Mon Jan 15 18:02:39 2018 +0100
1771 Update MANIFEST.in to include the CI scripts and config files
1773 This fixes "setup.py distcheck", which makes sure all files in git end
1777 1 file changed, 2 insertions(+)
1779 commit 74ad29c908447a4054dbd3427a09a1d44ff00f6d
1780 Author: Christoph Reiter <reiter.christoph@gmail.com>
1781 Date: Fri Jan 12 09:49:36 2018 +0100
1783 docs: Add Anaconda to the list of software that is using PyGObject
1785 https://fedoraproject.org/wiki/Anaconda
1787 docs/index.rst | 1 +
1788 1 file changed, 1 insertion(+)
1790 commit 9fe7eb528c711e56ee58ce3b8a4d7b4270708d40
1791 Author: Christoph Reiter <reiter.christoph@gmail.com>
1792 Date: Fri Jan 12 09:42:49 2018 +0100
1794 docs: Add custom roles for linking to gitlab issues and merge requests
1796 This allows one to use :issue:`42` or :mr:`42` in the documentation
1797 and the NEWS file and will result in links pointing to the
1798 specified issue/merge request.
1800 docs/conf.py | 3 +++
1801 1 file changed, 3 insertions(+)
1803 commit 91a1ec0ef6e3cbfb6c83ae8e17564733c8e840f6
1804 Author: Christoph Reiter <creiter@src.gnome.org>
1805 Date: Wed Jan 10 18:17:56 2018 +0100
1807 docs: Update for the git repo move from git.gnome.org to
1810 Changes all the links to point to the gitlab instance.
1812 Adds the gitlab setup to the sphinx theme configuration, so the theme
1813 can show "Edit on GitLab" links on each page.
1815 Create a new page pointing to the git report and bug tracker.
1816 Someone on IRC mentioned that this info is hard to find, so try
1820 docs/bugs_repo.rst | 31 +++++++++++++++++++++++++++++++
1821 docs/changelog.rst | 3 ++-
1822 docs/conf.py | 6 ++++++
1823 docs/devguide/dev_environ.rst | 4 ++--
1824 docs/devguide/overview.rst | 24 ++++--------------------
1825 docs/guide/porting.rst | 2 +-
1826 docs/index.rst | 1 +
1827 7 files changed, 47 insertions(+), 24 deletions(-)
1829 commit adf5e51ccf9d9dbf938c0da496e0d4d81d3284f6
1830 Author: Christoph Reiter <reiter.christoph@gmail.com>
1831 Date: Fri Dec 22 16:34:53 2017 +0100
1835 Adds a Dockerfile which is available on the docker hub
1836 and gets used by the gitlab test runner.
1838 The tests get executed in an Ubuntu 17.04 image for various Python
1839 versions and consist of building, testing, code quality testing and
1840 documentation build testing.
1842 .gitlab-ci.yml | 22 ++++++++++++++++++++++
1843 .gitlab-ci/Dockerfile | 32 ++++++++++++++++++++++++++++++++
1844 .gitlab-ci/README.rst | 1 +
1845 .gitlab-ci/test-docker.sh | 30 ++++++++++++++++++++++++++++++
1846 4 files changed, 85 insertions(+)
1848 commit 661e64ce6091724b86a934268daa2c80bda46eb5
1849 Author: Christoph Reiter <creiter@src.gnome.org>
1850 Date: Thu Dec 21 12:33:07 2017 +0100
1852 docs: Include NEWS entries for releases not made on the master branch
1854 So that every release is visible in the online documentation.
1855 The list is sorted by release date.
1858 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1859 docs/changelog.rst | 3 +-
1860 2 files changed, 337 insertions(+), 1 deletion(-)
1862 commit a109b4c96537e8ba3062a56699f3aefc63c82d6d
1863 Author: Christoph Reiter <creiter@src.gnome.org>
1864 Date: Wed Dec 20 15:59:05 2017 +0100
1866 docs: convert NEWS file to reST and link bugs
1868 Looks nicer in the online docs and makes it easier to look
1869 up bugs and link to specific releases.
1871 Rename the custom reST role for bugs from gnomebug to bzbug.
1872 With the upcoming move to gitlab that makes it more clear that those
1873 are referencing bugzilla.
1875 Adjust the "make release-news" target to output something similar
1876 to the new format to make converting to reST easier.
1878 Update the maintainer release todo list to state that the changelog
1879 should be copied from stable branches to master. It would be
1880 nice if the NEWS file in master, which gets exposed on readthedocs,
1881 would contain all the information available.
1885 +++++++++++++++++----------------
1886 docs/Makefile | 2 +-
1887 docs/changelog.rst | 1 -
1889 docs/devguide/override_guidelines.rst | 14 +-
1890 docs/maintguide.rst | 2 +
1891 7 files changed, 2712 insertions(+), 2484 deletions(-)
1893 commit df77beb730c336e5fdc87f4225af0842edfbe56a
1894 Author: Christoph Reiter <creiter@src.gnome.org>
1895 Date: Mon Dec 11 18:50:22 2017 +0100
1900 1 file changed, 1 insertion(+), 1 deletion(-)
1902 commit 22ef18884d1c7cb5b9ba68ef78489bb779a347b3
1903 Author: Christoph Reiter <creiter@src.gnome.org>
1904 Date: Mon Dec 11 18:40:47 2017 +0100
1908 NEWS | 11 +++++++++++
1909 1 file changed, 11 insertions(+)
1911 commit 2e30c7fbfcb579efb2ff7134979f169f673ac285
1912 Author: Christoph Reiter <creiter@src.gnome.org>
1913 Date: Mon Dec 11 18:32:16 2017 +0100
1915 Revert "setup.py: Also set setup_requires to require pycairo"
1917 This reverts commit bab1cb0d98e4a6219332394161dbf07aafa0c615.
1919 pycairo gets installed under /tmp as an .egg this way, and that
1921 with finding the C headers.
1924 1 file changed, 4 deletions(-)
1926 commit bab1cb0d98e4a6219332394161dbf07aafa0c615
1927 Author: Christoph Reiter <creiter@src.gnome.org>
1928 Date: Mon Dec 11 16:26:54 2017 +0100
1930 setup.py: Also set setup_requires to require pycairo
1932 We need pycairo at build time. There are some problems with
1934 in that it isn't directly handled by pip, but let's give it a try
1936 which problems come up.
1938 Thanks to mgedmin for pointing that out
1941 1 file changed, 4 insertions(+)
1943 commit 47aeaab6142a716234e91e8bbc3adefeff9ff5c3
1944 Author: Christoph Reiter <creiter@src.gnome.org>
1945 Date: Mon Dec 11 16:14:34 2017 +0100
1947 setup.py: Provide a os.path.samefile fallback for Python 2 under
1950 os.path.samefile is missing from Python 2 under Windows. Implement a
1951 simple fallback which normalizes and compares paths instead.
1953 setup.py | 15 ++++++++++++++-
1954 1 file changed, 14 insertions(+), 1 deletion(-)
1956 commit dfab41d0b66a15c8cf8229f7522160ec6b08a2b8
1957 Author: Christoph Reiter <creiter@src.gnome.org>
1958 Date: Sun Dec 10 20:38:47 2017 +0100
1960 Add sphinx based documentation
1962 Takes the documentation developed at
1963 https://github.com/pygobject/pygobject-docs
1966 See https://pygobject.readthedocs.io for how it looks
1968 Now that we move to gitlab we can use webhooks to trigger builds
1969 on readthedocs from gitlab directly and we should also have a nicer
1972 This also gets rid of most of README/HACKING/INSTALL and moves most
1973 of the information into the documentation. The README is kept short
1974 and only makes clear what pygobject is and points to the online docs
1975 as that should answer all questions.
1977 setup.py now sets the content of README.rst as long_descriptions,
1978 as that is the content shown on PyPI. This makes the page on PyPI
1979 look the same as on gitlab.
1981 https://bugzilla.gnome.org/show_bug.cgi?id=791448
1986 --------------------------------
1989 README.rst | 137 ++----------
1990 docs/Makefile | 16 ++
1991 docs/changelog.rst | 10 +
1992 docs/conf.py | 50 +++++
1993 docs/contact.rst | 11 +
1994 docs/devguide/building_testing.rst | 56 +++++
1995 docs/devguide/dev_environ.rst | 46 ++++
1996 docs/devguide/index.rst | 13 ++
1997 docs/devguide/override_guidelines.rst | 90 ++++++++
1998 docs/devguide/overview.rst | 32 +++
1999 docs/devguide/style_guide.rst | 101 +++++++++
2000 docs/extra.css | 57 +++++
2001 docs/further.rst | 10 +
2002 docs/getting_started.rst | 128 +++++++++++
2003 docs/guide/api/api.rst | 75 +++++++
2004 docs/guide/api/basic_types.rst | 53 +++++
2005 docs/guide/api/flags_enums.rst | 39 ++++
2006 docs/guide/api/gobject.rst | 91 ++++++++
2007 docs/guide/api/index.rst | 12 ++
2008 docs/guide/api/properties.rst | 119 ++++++++++
2009 docs/guide/api/signals.rst | 93 ++++++++
2010 docs/guide/cairo_integration.rst | 39 ++++
2011 docs/guide/code/cairo-demo.py | 133 ++++++++++++
2012 docs/guide/debug_profile.rst | 112 ++++++++++
2013 docs/guide/deploy.rst | 52 +++++
2014 docs/guide/faq.rst | 11 +
2015 docs/guide/images/cairo_integration.png | Bin 0 -> 24418 bytes
2016 docs/guide/index.rst | 17 ++
2017 docs/guide/porting.rst | 109 ++++++++++
2018 docs/guide/testing.rst | 39 ++++
2019 docs/guide/threading.rst | 290 +++++++++++++++++++++++++
2020 docs/icons.rst | 48 +++++
2021 docs/images/LICENSE | 3 +
2022 docs/images/favicon.ico | Bin 0 -> 34494 bytes
2023 docs/images/logo.svg | 266 +++++++++++++++++++++++
2024 docs/images/overview.dia | Bin 0 -> 1885 bytes
2025 docs/images/overview.svg | 72 +++++++
2026 docs/images/pygobject-small.svg | 193 +++++++++++++++++
2027 docs/images/pygobject.svg | 244 +++++++++++++++++++++
2028 docs/images/start_linux.png | Bin 0 -> 9893 bytes
2029 docs/images/start_macos.png | Bin 0 -> 13949 bytes
2030 docs/images/start_windows.png | Bin 0 -> 11454 bytes
2031 docs/index.rst | 89 ++++++++
2032 docs/maintguide.rst | 32 +++
2033 docs/packagingguide.rst | 55 +++++
2035 51 files changed, 2933 insertions(+), 533 deletions(-)
2037 commit 307e64982fdfcc9b505d867c0628e1e0a189cd67
2038 Author: Christoph Reiter <creiter@src.gnome.org>
2039 Date: Sun Dec 10 16:23:45 2017 +0100
2041 PKG-INFO: Revert name back to PyGObject
2043 My thinking there was that it gives us the same naming of tarballs
2044 as with the autotools build system. But on a second thought, we
2045 can't use the same tarball anyway due to gz vs xz and while the
2046 naming should be case insensitive it's not worth the risk.
2048 The commit changing it was 3e455944f5835c7509
2051 1 file changed, 1 insertion(+), 1 deletion(-)
2053 commit eb20f3c9f062fe25a44068ccab46475c4cb5e523
2054 Author: Christoph Reiter <creiter@src.gnome.org>
2055 Date: Sun Dec 10 16:17:28 2017 +0100
2057 setup.py: Rework pycairo discovery to not use pkg-config
2059 Two problems with the previous approach:
2061 * We looked into sys.prefix for the .pc file while the package
2062 could be installed in another location like the user dir location
2063 or on Debian it goes into /usr/local.
2064 * The .pc file intalled by pycairo can contain wrong paths if
2065 installed through pip, since that sometimes builds a wheel
2066 and caches that for future installations to different locations.
2068 Instead of using the .pc file use pkg_resources to discover the
2069 pycairo location and then try to find the correspinding "data"
2071 path for the first matching location scheme.
2073 See https://github.com/pygobject/pycairo/issues/85
2075 setup.py | 44 +++++++++++++++++++++++++++-----------------
2076 1 file changed, 27 insertions(+), 17 deletions(-)
2078 commit de2ff6e883015741527638ab5cece47a97ef2856
2079 Author: Christoph Reiter <creiter@src.gnome.org>
2080 Date: Sat Dec 9 15:59:26 2017 +0100
2082 setup.py: Fix the distcheck command on Windows
2084 The distutils install command complains if the passed root/record
2086 aren't absolute on Windows.
2087 Also make use of os.path.join() while at it.
2089 setup.py | 9 +++++++--
2090 1 file changed, 7 insertions(+), 2 deletions(-)
2092 commit 46225bf34fc5737ca5b8e9fd9a0029e6f4a8b302
2093 Author: Christoph Reiter <creiter@src.gnome.org>
2094 Date: Sat Dec 9 15:55:39 2017 +0100
2096 setup.py: Remove various classifiers and the download-url which
2097 aren't accepted by pypi
2099 pypi does not allow uploading packages with these set, so remove
2102 PKG-INFO.in | 5 -----
2104 2 files changed, 6 deletions(-)
2106 commit bf884345be38f1ebd53fbe891841348b8485dac0
2107 Author: Christoph Reiter <creiter@src.gnome.org>
2108 Date: Fri Dec 8 20:34:18 2017 +0100
2113 1 file changed, 1 insertion(+), 1 deletion(-)
2115 commit f8801c24993e9b7b9abc65e32d1a851c7ed09649
2116 Author: Christoph Reiter <creiter@src.gnome.org>
2117 Date: Fri Dec 8 20:31:17 2017 +0100
2121 NEWS | 34 ++++++++++++++++++++++++++++++++++
2122 1 file changed, 34 insertions(+)
2124 commit eb2ff4362878d0e348c67c606a32e8d332e2454d
2125 Author: Christoph Reiter <creiter@src.gnome.org>
2126 Date: Fri Dec 8 16:56:10 2017 +0100
2130 The demo app now gets analyzed by pep8 since it was moved to the
2133 examples/demo/demos/Css/css_accordion.py | 1 +
2134 examples/demo/demos/Entry/entry_buffer.py | 1 +
2135 examples/demo/demos/Entry/entry_completion.py | 1 +
2136 examples/demo/demos/Entry/search_entry.py | 1 +
2137 examples/demo/demos/IconView/iconviewbasics.py | 1 +
2138 examples/demo/demos/IconView/iconviewedit.py | 1 +
2139 examples/demo/demos/TreeView/liststore.py | 2 +
2140 examples/demo/demos/TreeView/treemodel_filelist.py | 1 +
2141 examples/demo/demos/TreeView/treemodel_filetree.py | 1 +
2142 examples/demo/demos/appwindow.py | 1 +
2143 examples/demo/demos/assistant.py | 1 +
2144 examples/demo/demos/builder.py | 1 +
2145 examples/demo/demos/button_box.py | 1 +
2146 examples/demo/demos/clipboard.py | 1 +
2147 examples/demo/demos/colorselector.py | 1 +
2148 examples/demo/demos/combobox.py | 1 +
2149 examples/demo/demos/dialogs.py | 1 +
2150 examples/demo/demos/drawingarea.py | 11 +-
2151 examples/demo/demos/expander.py | 1 +
2152 examples/demo/demos/flowbox.py | 1332
2153 ++++++++++----------
2154 examples/demo/demos/images.py | 1 +
2155 examples/demo/demos/infobars.py | 1 +
2156 examples/demo/demos/links.py | 1 +
2157 examples/demo/demos/menus.py | 1 +
2158 examples/demo/demos/pickers.py | 1 +
2159 examples/demo/demos/pixbuf.py | 1 +
2160 examples/demo/demos/printing.py | 1 +
2161 examples/demo/demos/rotatedtext.py | 1 +
2162 28 files changed, 700 insertions(+), 670 deletions(-)
2164 commit af9ddf322f7cf377996b8fa29906bd4b254dc001
2165 Author: Christoph Reiter <creiter@src.gnome.org>
2166 Date: Fri Dec 8 16:40:33 2017 +0100
2168 Fix ctypes.PyDLL construction under Windows
2170 We require the ctypes.pythonapi interface but can't use the global one
2171 since we have to change it which could potentially break other users
2174 Turns out simply passing None to PyDLL() only works on Unix to
2176 CPython library. Instead copy the logic from the ctypes module in the
2179 https://bugzilla.gnome.org/show_bug.cgi?id=622084
2181 gi/_ossighelper.py | 13 ++++++++++++-
2182 1 file changed, 12 insertions(+), 1 deletion(-)
2184 commit d19aca693950c0edb02b226db8bcf81a5304870e
2185 Author: Christoph Reiter <creiter@src.gnome.org>
2186 Date: Fri Dec 8 14:40:58 2017 +0100
2188 configure.ac: Error out in case autoconf-archive isn't installed
2190 Check whether the AX_IS_RELEASE macro is defined and if not print
2191 a proper error message.
2193 https://bugzilla.gnome.org/show_bug.cgi?id=784428
2195 configure.ac | 3 +++
2196 1 file changed, 3 insertions(+)
2198 commit 26001a6ae42f8e10ed4c44bc9414e219b946cee0
2199 Author: Christoph Reiter <creiter@src.gnome.org>
2200 Date: Wed Dec 6 18:37:45 2017 +0100
2202 Move pygi-convert.sh into tools
2206 pygi-convert.sh => tools/pygi-convert.sh | 0
2207 3 files changed, 2 insertions(+), 2 deletions(-)
2209 commit dd1507be6c198319304342b73c8ec1ec2a102145
2210 Author: Christoph Reiter <creiter@src.gnome.org>
2211 Date: Wed Dec 6 18:26:13 2017 +0100
2213 README: Convert to reST
2217 README => README.rst | 56
2218 ++++++++++++++++++++++++++++++++++------------------
2219 3 files changed, 40 insertions(+), 21 deletions(-)
2221 commit e4a52b9f99667df98806d0c4ee78c2909ead27e1
2222 Author: Christoph Reiter <creiter@src.gnome.org>
2223 Date: Wed Dec 6 17:53:51 2017 +0100
2225 demo: Move demo into examples and dist it
2227 We might want to install it in the future, but until then at least put
2228 it into the tarball.
2230 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2233 examples/Makefile.am | 7 ++++++-
2234 {demo => examples/demo}/demo.py | 0
2235 {demo => examples/demo}/demos/Css/__init__.py | 0
2236 {demo => examples/demo}/demos/Css/css_accordion.py | 0
2237 {demo => examples/demo}/demos/Css/css_basics.py | 0
2238 {demo => examples/demo}/demos/Css/css_multiplebgs.py | 0
2239 {demo => examples/demo}/demos/Entry/__init__.py | 0
2240 {demo => examples/demo}/demos/Entry/entry_buffer.py | 0
2241 {demo => examples/demo}/demos/Entry/entry_completion.py | 0
2242 {demo => examples/demo}/demos/Entry/search_entry.py | 0
2243 {demo => examples/demo}/demos/IconView/__init__.py | 0
2244 {demo => examples/demo}/demos/IconView/iconviewbasics.py | 0
2245 {demo => examples/demo}/demos/IconView/iconviewedit.py | 0
2246 {demo => examples/demo}/demos/TreeView/__init__.py | 0
2247 {demo => examples/demo}/demos/TreeView/liststore.py | 0
2248 .../demo}/demos/TreeView/treemodel_filelist.py | 0
2249 .../demo}/demos/TreeView/treemodel_filetree.py | 0
2250 {demo => examples/demo}/demos/TreeView/treemodel_large.py | 0
2251 {demo => examples/demo}/demos/__init__.py | 0
2252 {demo => examples/demo}/demos/appwindow.py | 0
2253 {demo => examples/demo}/demos/assistant.py | 0
2254 {demo => examples/demo}/demos/builder.py | 0
2255 {demo => examples/demo}/demos/button_box.py | 0
2256 {demo => examples/demo}/demos/clipboard.py | 0
2257 {demo => examples/demo}/demos/colorselector.py | 0
2258 {demo => examples/demo}/demos/combobox.py | 0
2259 {demo => examples/demo}/demos/data/alphatest.png | Bin
2260 {demo => examples/demo}/demos/data/apple-red.png | Bin
2261 {demo => examples/demo}/demos/data/background.jpg | Bin
2262 {demo => examples/demo}/demos/data/brick.png | Bin
2263 {demo => examples/demo}/demos/data/brick2.png | Bin
2264 {demo => examples/demo}/demos/data/css_accordion.css | 0
2265 {demo => examples/demo}/demos/data/css_basics.css | 0
2266 {demo => examples/demo}/demos/data/css_multiplebgs.css | 0
2267 {demo => examples/demo}/demos/data/cssview.css | 0
2268 {demo => examples/demo}/demos/data/demo.gresource | Bin
2269 {demo => examples/demo}/demos/data/demo.gresource.xml | 0
2270 {demo => examples/demo}/demos/data/demo.ui | 0
2271 {demo => examples/demo}/demos/data/floppybuddy.gif | Bin
2272 {demo => examples/demo}/demos/data/gnome-applets.png | Bin
2273 {demo => examples/demo}/demos/data/gnome-calendar.png | Bin
2274 {demo => examples/demo}/demos/data/gnome-foot.png | Bin
2275 {demo => examples/demo}/demos/data/gnome-fs-directory.png | Bin
2276 {demo => examples/demo}/demos/data/gnome-fs-regular.png | Bin
2277 {demo => examples/demo}/demos/data/gnome-gimp.png | Bin
2278 {demo => examples/demo}/demos/data/gnome-gmush.png | Bin
2279 {demo => examples/demo}/demos/data/gnome-gsame.png | Bin
2280 {demo => examples/demo}/demos/data/gnu-keys.png | Bin
2281 {demo => examples/demo}/demos/data/gtk-logo-rgb.gif | Bin
2282 {demo => examples/demo}/demos/data/reset.css | 0
2283 {demo => examples/demo}/demos/dialogs.py | 0
2284 {demo => examples/demo}/demos/drawingarea.py | 0
2285 {demo => examples/demo}/demos/expander.py | 0
2286 {demo => examples/demo}/demos/flowbox.py | 0
2287 {demo => examples/demo}/demos/images.py | 0
2288 {demo => examples/demo}/demos/infobars.py | 0
2289 {demo => examples/demo}/demos/links.py | 0
2290 {demo => examples/demo}/demos/menus.py | 0
2291 {demo => examples/demo}/demos/pickers.py | 0
2292 {demo => examples/demo}/demos/pixbuf.py | 0
2293 {demo => examples/demo}/demos/printing.py | 0
2294 {demo => examples/demo}/demos/rotatedtext.py | 0
2295 {demo => examples/demo}/demos/test.py | 0
2296 64 files changed, 7 insertions(+), 3 deletions(-)
2298 commit f8ff3b5e0e769e6db1509426af28728129780529
2299 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
2300 Date: Thu Sep 4 08:51:10 2014 +0100
2302 demo: Add new Gtk.FlowBox example
2304 Added a new example for the Gtk.FlowBox class added in GTK+ 3.12.
2305 This example additionally makes use of Gtk.HeaderBar.
2307 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2309 demo/demos/flowbox.py | 750
2310 ++++++++++++++++++++++++++++++++++++++++++++++++++
2311 1 file changed, 750 insertions(+)
2313 commit 3f4a176c77a8026949c04d85d0a822554c4c661c
2314 Author: Simon Feltman <sfeltman@src.gnome.org>
2315 Date: Tue Sep 2 10:53:29 2014 -0700
2317 demo: Use HeaderBar for main app window
2319 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2321 demo/demo.py | 23 +++++++++++------------
2322 1 file changed, 11 insertions(+), 12 deletions(-)
2324 commit 995f1e72eed0970d56d871ed8452c61f92a40696
2325 Author: Simon Feltman <sfeltman@src.gnome.org>
2326 Date: Tue Sep 2 11:10:31 2014 -0700
2328 demo: PyFlakes and PEP8 fixes
2330 Since PyFlakes and PEP8 are not currently run on the demo due to it
2331 not being packaged, manually check and fix this for now.
2333 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2336 demo/demos/Entry/entry_buffer.py | 2 +-
2337 demo/demos/Entry/entry_completion.py | 2 +-
2338 demo/demos/clipboard.py | 6 +-----
2339 demo/demos/combobox.py | 2 +-
2340 5 files changed, 5 insertions(+), 9 deletions(-)
2342 commit 5d2ce69ed51aec62872ebb2a129c2b8a6b4256af
2343 Author: Simon Feltman <sfeltman@src.gnome.org>
2344 Date: Tue Sep 2 11:01:55 2014 -0700
2346 demo: Rename gtk-demo.py to demo.py
2348 Remove GTK+ specificity which also allows the demo app to be used as
2349 one of the demos itself.
2351 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2353 demo/{gtk-demo.py => demo.py} | 0
2354 1 file changed, 0 insertions(+), 0 deletions(-)
2356 commit 7e48d91a5e1f180cbe4adea41bd41939c26c77b0
2357 Author: Simon Feltman <sfeltman@src.gnome.org>
2358 Date: Mon Sep 1 22:04:29 2014 -0700
2360 demo: Rename demos/gtk-demo to simply demo
2362 Move the entire "pygobject/demos/gtk-demo" folder to "pygobject/demo".
2363 Since we only have a single demo app which should be used for all
2364 platform demos we can remove the diectory obfuscation.
2366 https://bugzilla.gnome.org/show_bug.cgi?id=735918
2368 {demos/gtk-demo => demo}/demos/Css/__init__.py | 0
2369 {demos/gtk-demo => demo}/demos/Css/css_accordion.py | 0
2370 {demos/gtk-demo => demo}/demos/Css/css_basics.py | 0
2371 {demos/gtk-demo => demo}/demos/Css/css_multiplebgs.py | 0
2372 {demos/gtk-demo => demo}/demos/Entry/__init__.py | 0
2373 {demos/gtk-demo => demo}/demos/Entry/entry_buffer.py | 0
2374 {demos/gtk-demo => demo}/demos/Entry/entry_completion.py | 0
2375 {demos/gtk-demo => demo}/demos/Entry/search_entry.py | 0
2376 {demos/gtk-demo => demo}/demos/IconView/__init__.py | 0
2377 {demos/gtk-demo => demo}/demos/IconView/iconviewbasics.py | 0
2378 {demos/gtk-demo => demo}/demos/IconView/iconviewedit.py | 0
2379 {demos/gtk-demo => demo}/demos/TreeView/__init__.py | 0
2380 {demos/gtk-demo => demo}/demos/TreeView/liststore.py | 0
2381 .../gtk-demo => demo}/demos/TreeView/treemodel_filelist.py | 0
2382 .../gtk-demo => demo}/demos/TreeView/treemodel_filetree.py | 0
2383 {demos/gtk-demo => demo}/demos/TreeView/treemodel_large.py | 0
2384 {demos/gtk-demo => demo}/demos/__init__.py | 0
2385 {demos/gtk-demo => demo}/demos/appwindow.py | 0
2386 {demos/gtk-demo => demo}/demos/assistant.py | 0
2387 {demos/gtk-demo => demo}/demos/builder.py | 0
2388 {demos/gtk-demo => demo}/demos/button_box.py | 0
2389 {demos/gtk-demo => demo}/demos/clipboard.py | 0
2390 {demos/gtk-demo => demo}/demos/colorselector.py | 0
2391 {demos/gtk-demo => demo}/demos/combobox.py | 0
2392 {demos/gtk-demo => demo}/demos/data/alphatest.png | Bin
2393 {demos/gtk-demo => demo}/demos/data/apple-red.png | Bin
2394 {demos/gtk-demo => demo}/demos/data/background.jpg | Bin
2395 {demos/gtk-demo => demo}/demos/data/brick.png | Bin
2396 {demos/gtk-demo => demo}/demos/data/brick2.png | Bin
2397 {demos/gtk-demo => demo}/demos/data/css_accordion.css | 0
2398 {demos/gtk-demo => demo}/demos/data/css_basics.css | 0
2399 {demos/gtk-demo => demo}/demos/data/css_multiplebgs.css | 0
2400 {demos/gtk-demo => demo}/demos/data/cssview.css | 0
2401 {demos/gtk-demo => demo}/demos/data/demo.gresource | Bin
2402 {demos/gtk-demo => demo}/demos/data/demo.gresource.xml | 0
2403 {demos/gtk-demo => demo}/demos/data/demo.ui | 0
2404 {demos/gtk-demo => demo}/demos/data/floppybuddy.gif | Bin
2405 {demos/gtk-demo => demo}/demos/data/gnome-applets.png | Bin
2406 {demos/gtk-demo => demo}/demos/data/gnome-calendar.png | Bin
2407 {demos/gtk-demo => demo}/demos/data/gnome-foot.png | Bin
2408 {demos/gtk-demo => demo}/demos/data/gnome-fs-directory.png | Bin
2409 {demos/gtk-demo => demo}/demos/data/gnome-fs-regular.png | Bin
2410 {demos/gtk-demo => demo}/demos/data/gnome-gimp.png | Bin
2411 {demos/gtk-demo => demo}/demos/data/gnome-gmush.png | Bin
2412 {demos/gtk-demo => demo}/demos/data/gnome-gsame.png | Bin
2413 {demos/gtk-demo => demo}/demos/data/gnu-keys.png | Bin
2414 {demos/gtk-demo => demo}/demos/data/gtk-logo-rgb.gif | Bin
2415 {demos/gtk-demo => demo}/demos/data/reset.css | 0
2416 {demos/gtk-demo => demo}/demos/dialogs.py | 0
2417 {demos/gtk-demo => demo}/demos/drawingarea.py | 0
2418 {demos/gtk-demo => demo}/demos/expander.py | 0
2419 {demos/gtk-demo => demo}/demos/images.py | 0
2420 {demos/gtk-demo => demo}/demos/infobars.py | 0
2421 {demos/gtk-demo => demo}/demos/links.py | 0
2422 {demos/gtk-demo => demo}/demos/menus.py | 0
2423 {demos/gtk-demo => demo}/demos/pickers.py | 0
2424 {demos/gtk-demo => demo}/demos/pixbuf.py | 0
2425 {demos/gtk-demo => demo}/demos/printing.py | 0
2426 {demos/gtk-demo => demo}/demos/rotatedtext.py | 0
2427 {demos/gtk-demo => demo}/demos/test.py | 0
2428 {demos/gtk-demo => demo}/gtk-demo.py | 0
2429 61 files changed, 0 insertions(+), 0 deletions(-)
2431 commit 1ea36ccfc755693b9ce4cf28be549704bf5370d3
2432 Author: Christoph Reiter <creiter@src.gnome.org>
2433 Date: Wed Dec 6 16:54:54 2017 +0100
2437 No need to duplicate that information over and over.
2438 It's in the README and .doap file still
2440 AUTHORS | 11 -----------
2443 3 files changed, 2 insertions(+), 14 deletions(-)
2445 commit 9462873823a5459276400c0d6cf11e084b681751
2446 Author: Christoph Reiter <creiter@src.gnome.org>
2447 Date: Wed Dec 6 15:55:54 2017 +0100
2449 Remove pre-commit.hook
2451 It was obviously not used in some time as the git command doesn't
2453 If we ever get per pull/merge request CI we can look into bringing
2458 pre-commit.hook | 39 ---------------------------------------
2459 2 files changed, 40 deletions(-)
2461 commit 3e455944f5835c750911d3178a0607201f23f1a8
2462 Author: Christoph Reiter <creiter@src.gnome.org>
2463 Date: Mon Dec 4 15:33:00 2017 +0100
2465 setup.py: Port to distutils/setuptools
2467 Instead of wrapping autotools add a proper setuptools based build
2469 Compared to the autotools one this does not install .pc files
2471 and does not allow running tests.
2473 It uses pkg-config for discovering dependencies and explictely
2475 for .pc files in the Python prefix so that pycairo installations in a
2476 virtualenv are discovered. When using MSVC, pkg-config is skipped and
2477 it is assumend that INCLUDE and LIB is properly set up.
2479 Version information and requirements are parsed from configure.ac,
2481 metadata is parsed from PKG-INFO.in.
2483 Also adds a "setup.py distcheck" command which makes sure all
2485 end up in the tarball and that the tarball builds (no tests are
2488 https://bugzilla.gnome.org/show_bug.cgi?id=789211
2491 MANIFEST.in | 20 +++
2496 +++++++++++++++++++++++++++++++++++++++++++++++------------
2497 6 files changed, 359 insertions(+), 85 deletions(-)
2499 commit 58f677bfaa0f117465a9e2146c5d83768b5a76ac
2500 Author: Christoph Reiter <creiter@src.gnome.org>
2501 Date: Fri Nov 24 13:11:26 2017 +0100
2503 Install a default SIGINT handler for functions which start an
2506 Currently ctrl+c on a program blocked on Gtk.main() will raise
2508 but not return control. While it's easy to set up the proper signal
2510 stop the event loop or execute some other application shutdown code
2511 it's nice to have a good default behaviour for small
2513 or when testing some code in an interactive console.
2515 This adds a context manager which registers a SIGINT handler only
2517 the default Python signal handler is active and restores the
2519 afterwards. Since signal handlers registered through
2521 are not detected by Python's signal module we use PyOS_getsig()
2523 to detect if the signal handler is changed from outside.
2525 In case of nested event loops, all of them will be aborted.
2526 In case an event loop is started in a thread, nothing will happen.
2528 The context manager is used in the overrides for Gtk.main(),
2530 Gio.Application.run() and GLib.MainLoop.run()
2532 This also fixes GLib.MainLoop.run() replacing a non-default signal
2534 and not restoring the default one:
2535 https://bugzilla.gnome.org/show_bug.cgi?id=698623
2537 https://bugzilla.gnome.org/show_bug.cgi?id=622084
2539 gi/_ossighelper.py | 115
2540 +++++++++++++++++++++++++++++++++++++++++++++++++++
2541 gi/overrides/GLib.py | 31 +++-----------
2542 gi/overrides/Gio.py | 7 ++--
2543 gi/overrides/Gtk.py | 12 +++---
2544 tests/test_ossig.py | 73 +++++++++++++++++++++++++++++++-
2545 5 files changed, 203 insertions(+), 35 deletions(-)
2547 commit a321f6e9d8f5b8e779892eab4ce759b60ff98e39
2548 Author: Christoph Reiter <creiter@src.gnome.org>
2549 Date: Fri Nov 17 20:05:24 2017 +0100
2551 Make Python OS signal handlers run when an event loop is idling
2553 When Python receives a signal such as SIGINT it sets a flag and
2555 the registered signal handler on the next call to
2556 PyErr_CheckSignals().
2557 In case the main thread is blocked by an idling event loop (say
2559 or Gtk.Dialog.run()) the check never happens and the signal handler
2560 will not get executed.
2562 To work around the issue use signal.set_wakeup_fd() to wake up
2564 event loop when a signal is received, which will invoke a Python
2566 which will lead to the signal handler being executed.
2568 This patch enables it in overrides for Gtk.main(), Gtk.Dialog.run(),
2569 Gio.Application.run() and GLib.MainLoop.run().
2571 Works on Unix, and on Windows with Python 3.5+.
2573 With this fix in place it is possible to have a cross platform way to
2574 react to SIGINT (GLib.unix_signal_add() worked, but not on Windows),
2577 signal.signal(signal.SIGINT, lambda *args: Gtk.main_quit())
2580 https://bugzilla.gnome.org/show_bug.cgi?id=622084
2583 gi/_ossighelper.py | 137
2584 +++++++++++++++++++++++++++++++++++++++++++++++++++
2585 gi/overrides/GLib.py | 4 +-
2586 gi/overrides/Gio.py | 12 +++++
2587 gi/overrides/Gtk.py | 14 ++++++
2588 tests/Makefile.am | 1 +
2589 tests/test_ossig.py | 102 ++++++++++++++++++++++++++++++++++++++
2590 7 files changed, 271 insertions(+), 2 deletions(-)
2592 commit 46a9dade170127006df98d44b1a9fb2035ada86b
2593 Author: Christoph Reiter <creiter@src.gnome.org>
2594 Date: Fri Nov 24 17:40:11 2017 +0100
2596 Drop Python 3.3 support
2598 It's EOL and not used much (https://hynek.me/articles/python3-2016/)
2600 https://bugzilla.gnome.org/show_bug.cgi?id=790787
2603 1 file changed, 1 insertion(+), 1 deletion(-)
2605 commit bd165405754ba44dea12fd3f31b841b5c8ba0f1a
2606 Author: Sander Sweers <infirit@gmail.com>
2607 Date: Sun Aug 20 22:44:15 2017 +0200
2609 Drop set_value usage in Gtk.List/TreeStore.set override
2611 this causes multiple updates to the store each emitting a signal.
2613 https://bugzilla.gnome.org/show_bug.cgi?id=790346
2615 gi/overrides/Gtk.py | 48
2616 ++++++++++++++++++++++++---------------------
2617 tests/test_overrides_gtk.py | 12 ++++++++++++
2618 2 files changed, 38 insertions(+), 22 deletions(-)
2620 commit 5f63b8c626eb7f27de346dac2b66f07794e61b07
2621 Author: Christoph Reiter <creiter@src.gnome.org>
2622 Date: Thu Oct 26 17:24:02 2017 +0200
2624 pygobject-object: Fix Python GC collecting a ref cycle too early
2626 PyGObject traverses its closures in tp_traverse, but the lifetime
2628 is tied to the lifetime of the GObject and not the wrapper. This
2630 the Python GC when it sees a ref cycle and tries to break it up
2632 Since tp_clear will not invalidate the closure and only invalidate
2634 wrapper the closure callback gets called with the now cleared/invalid
2637 Instead let the GC only check the Python objects referenced by the
2638 closure when tp_clear
2639 would actually free them and as a result break the cycle. This is
2641 the wrapped object would be freed by tp_clear which is when its
2642 reference count is at 1.
2644 Original patch by Gustavo Carneiro:
2645 https://bugzilla.gnome.org/show_bug.cgi?id=546802#c5
2647 https://bugzilla.gnome.org/show_bug.cgi?id=731501
2649 gi/pygobject-object.c | 6 ++++--
2650 tests/test_signal.py | 29 ++++++++++++++++++++++++++++-
2651 2 files changed, 32 insertions(+), 3 deletions(-)
2653 commit f13b0d6e0d97e21aa2a4553a036362dec9d0c4cb
2654 Author: Daniel Colascione <dancol@dancol.org>
2655 Date: Tue Oct 24 14:42:43 2017 +0200
2657 Fix potential uninitialized memory access during GC
2659 We use _PyGIDefaultArgPlaceholder as a sentinel value to represent
2661 values during function argument list construction. Right now, it's
2663 type object. We make it using PyObject_New, so most of its fields
2665 uninitialized. The object body being uninitialized wouldn't be a
2667 the placeholder object were unreachable, but the object *can*
2669 during GC by traversal through frame objects.
2671 Depending on the exact contents of the uninitialized memory, the GC
2673 to cause other kinds of memory corruption through the process.
2675 IMHO, the easiest fix for this problem is to just make the
2677 simpler data structure, like a list.
2679 https://bugzilla.gnome.org/show_bug.cgi?id=786872
2681 gi/gimodule.c | 2 +-
2682 1 file changed, 1 insertion(+), 1 deletion(-)
2684 commit 280e80c54e6f2c91638195b92736f5c2b34bbbbd
2685 Author: Christoph Reiter <creiter@src.gnome.org>
2686 Date: Thu Oct 26 09:35:09 2017 +0200
2688 test: revert parts of the previous test as it's broken on 32 bit
2691 The int based flag type can't represent the flag value on 32 bit,
2692 some more work is needed there. Remove that check again for now.
2694 https://bugzilla.gnome.org/show_bug.cgi?id=786948
2696 tests/test_gi.py | 1 -
2697 1 file changed, 1 deletion(-)
2699 commit 5f41add624990255dfebf2d726af946599f7bcf6
2700 Author: Christoph Reiter <creiter@src.gnome.org>
2701 Date: Mon Oct 23 12:41:45 2017 +0200
2703 flags: Add testcase for bug 786948
2705 Add a flags type which has a value with the highes bit set
2706 and fits in an int. While the C type is a signed int, the type
2707 is registered as flags, which GI interprets as unsigned.
2709 https://bugzilla.gnome.org/show_bug.cgi?id=786948
2711 tests/gimarshallingtestsextra.c | 29 +++++++++++++++++++++++++++++
2712 tests/gimarshallingtestsextra.h | 11 +++++++++++
2713 tests/test_gi.py | 5 +++++
2714 3 files changed, 45 insertions(+)
2716 commit 0695d234b0e3e9b0f15a7548816c5c4c96a41ab5
2717 Author: Philippe Renon <philippe_renon@yahoo.fr>
2718 Date: Thu Aug 31 16:39:08 2017 +0200
2720 fix potential overflow when marshalling flags from py interface
2722 the overflow happens on windows platforms when an unsigned
2723 flags value overflows the capacity of a signed long
2724 on windows long is a 32-bit signed integer.
2726 fixes https://bugzilla.gnome.org/show_bug.cgi?id=786948
2728 gi/pygi-enum-marshal.c | 8 ++++----
2729 1 file changed, 4 insertions(+), 4 deletions(-)
2731 commit 1bf7d2cddcd24f619a268d0af85d7919d72bacba
2732 Author: Christoph Reiter <creiter@src.gnome.org>
2733 Date: Sun Oct 22 17:59:17 2017 +0200
2735 to_py_array: Properly handle enum array items
2737 It used the fallback path and copied pointers.
2738 Do the same thing we do for integer items instead.
2740 https://bugzilla.gnome.org/show_bug.cgi?id=788890
2742 gi/pygi-array.c | 3 +++
2743 tests/gimarshallingtestsextra.c | 21 +++++++++++++++++++++
2744 tests/gimarshallingtestsextra.h | 2 ++
2745 tests/test_gi.py | 6 ++++++
2746 4 files changed, 32 insertions(+)
2748 commit e502d0097f28e6c65d3d5120230fb428aabbc083
2749 Author: Christoph Reiter <creiter@src.gnome.org>
2750 Date: Fri Oct 20 09:48:07 2017 +0200
2752 pygobject.doap: Add myself as maintainer
2754 pygobject.doap | 7 +++++++
2755 1 file changed, 7 insertions(+)
2757 commit 37db51220668238e4870b7220b496803d942691b
2758 Author: James Clarke <jrtc27@jrtc27.com>
2759 Date: Fri Oct 13 18:04:45 2017 +0100
2761 closure: Fix unaligned and out-of-bounds access
2763 When the direction is FROM_PYTHON, a whole GIArgument was being loaded
2764 from the address given by the argument, but like any other case, this
2765 could point to different types, and so could run off the end of the
2766 pointed-to value, and, more importantly, be performing an unaligned
2767 access, causing it to crash with SIGBUS on sparc64 when running
2768 test_callback_scope_call_array_inout. Instead, reuse the existing code
2769 for the TO_PYTHON case to do the copying into arg_value based on the
2772 https://bugzilla.gnome.org/show_bug.cgi?id=788894
2774 gi/pygi-closure.c | 40 +++++++++++++++++++++-------------------
2775 1 file changed, 21 insertions(+), 19 deletions(-)
2777 commit 3c791a5d4b17d647a531de04469d04f77fce0548
2778 Author: Christoph Reiter <creiter@src.gnome.org>
2779 Date: Fri Oct 13 19:24:01 2017 +0200
2781 build: Fix not installing .egg-info file
2783 While removing the egg target in 49cc3643819dad0d065d I wrongfully
2784 removed that part as well. While the file extension has "egg" in
2785 it it has nothing to do with eggs..
2787 https://bugzilla.gnome.org/show_bug.cgi?id=777719
2789 Makefile.am | 7 +++++++
2790 1 file changed, 7 insertions(+)
2792 commit c4995493c233225b1fa5a3e5406e78d02e3b86e6
2793 Author: Christoph Reiter <creiter@src.gnome.org>
2794 Date: Fri Oct 13 17:22:02 2017 +0200
2796 Drop pygobject-3.0-uninstalled.pc file
2798 Like glib/gtk+ did in 2011:
2799 https://git.gnome.org/browse/glib/commit/?id=306aa62ea5fa4d3a57bca419afcc159f9509b476
2802 pygobject-3.0-uninstalled.pc.in | 12 ------------
2803 2 files changed, 13 deletions(-)
2805 commit 3363049be9d8cd277b33127427694588598aa6dd
2806 Author: Christoph Reiter <creiter@src.gnome.org>
2807 Date: Fri Oct 13 16:08:01 2017 +0200
2811 some fallout from fd5f2a09ce48329d2df191eca9a0cea926ddfb5b
2813 tests/test_everything.py | 2 +-
2814 1 file changed, 1 insertion(+), 1 deletion(-)
2816 commit fd5f2a09ce48329d2df191eca9a0cea926ddfb5b
2817 Author: Christoph Reiter <creiter@src.gnome.org>
2818 Date: Fri Oct 13 15:29:40 2017 +0200
2820 tests: some more C locale fixes
2822 see f40df0a09803ec9c729d842f1f83c6d56aebac22
2824 tests/test_everything.py | 8 +++++++-
2825 tests/test_gi.py | 6 ++++--
2826 2 files changed, 11 insertions(+), 3 deletions(-)
2828 commit f40df0a09803ec9c729d842f1f83c6d56aebac22
2829 Author: Christoph Reiter <creiter@src.gnome.org>
2830 Date: Fri Oct 13 14:32:44 2017 +0200
2832 tests: Make the test suite pass with the C locale
2834 Some filename tests assumed a Unicode locale, skip those.
2836 tests/test_gi.py | 29 +++++++++++++++++++++++++----
2837 1 file changed, 25 insertions(+), 4 deletions(-)
2839 commit 857fb023886476988d99d35c92894cdbc1bbeab2
2840 Author: Christoph Reiter <creiter@src.gnome.org>
2841 Date: Tue Sep 12 08:35:12 2017 +0200
2843 configure.ac: post-release version bump to 3.27.0
2846 1 file changed, 1 insertion(+), 1 deletion(-)
2848 commit 47af078546b1e9e4396bdea877c1cf0f21708818
2849 Author: Christoph Reiter <creiter@src.gnome.org>
2850 Date: Tue Sep 12 08:31:22 2017 +0200
2855 1 file changed, 9 insertions(+)
2857 commit 9580b2f1e447cea2d50f8ab83a715b29e4e862e6
2858 Author: Christoph Reiter <creiter@src.gnome.org>
2859 Date: Tue Sep 12 08:25:25 2017 +0200
2861 configure.ac: pre-release version bump to 3.26.0
2863 configure.ac | 4 ++--
2864 1 file changed, 2 insertions(+), 2 deletions(-)
2866 commit a541a916ce798cd779ed17f015f6902e66c4454c
2867 Author: Christoph Reiter <creiter@src.gnome.org>
2868 Date: Fri Aug 25 18:21:47 2017 +0200
2870 closure: silence a new compiler warning
2872 gcc7 has started to warn for fallthrough in switch. Prevent this
2873 by duplicating the default case + break.
2875 gi/pygi-closure.c | 4 ++--
2876 1 file changed, 2 insertions(+), 2 deletions(-)
2878 commit c0e42240cd72c012a740f26dc3fb0eef98328110
2879 Author: Christoph Reiter <creiter@src.gnome.org>
2880 Date: Fri Aug 25 18:17:33 2017 +0200
2882 tests: skip some failing test under Windows with Python 3.6
2884 Python 3.6 has changed the default filesystem encoding on Windows
2885 from mbcs to utf-8. Some tests assume mbcs, so skip them for now.
2887 tests/test_gi.py | 24 +++++++++++++++++-------
2888 1 file changed, 17 insertions(+), 7 deletions(-)
2890 commit 0fe781efdd46386f7c373b6073d30411025e2854
2891 Author: Christoph Reiter <creiter@src.gnome.org>
2892 Date: Tue Aug 22 13:02:43 2017 +0200
2894 tests: pyflakes/pep8 fixes
2896 Make Python 3 pyflakes work by adding Python 2 builtins
2897 through PYFLAKES_BUILTINS.
2899 Makefile.am | 4 ++--
2900 tests/test_import_machinery.py | 4 ++--
2901 2 files changed, 4 insertions(+), 4 deletions(-)
2903 commit 20430e87c66b03ac05fbab8283a3771ce8364ad8
2904 Author: Christoph Reiter <creiter@src.gnome.org>
2905 Date: Fri Jun 9 13:13:57 2017 +0200
2907 tests: Fix cairo test with pycairo >= 1.13
2909 All pycairo functions now return an enum value which type is an int
2910 subclass. Remove the overly strict check for the return value type.
2912 tests/test_cairo.py | 2 +-
2913 1 file changed, 1 insertion(+), 1 deletion(-)
2915 commit 9cbf370d0034bffa60be67f6d47eee94e4045c18
2916 Author: Benjamin Berg <bberg@redhat.com>
2917 Date: Fri Apr 21 13:35:05 2017 +0200
2919 Make sure version information passed to require_version is a string.
2921 This simply makes it easier for someone to find an error in cases
2923 a floating point is passed by accident.
2925 https://bugzilla.gnome.org/show_bug.cgi?id=781582
2927 gi/__init__.py | 7 +++++++
2928 tests/test_import_machinery.py | 12 ++++++++++++
2929 2 files changed, 19 insertions(+)
2931 commit 5e2bb06086c6bfa2bcb1a47f4c963d336630d12e
2932 Author: Christoph Reiter <creiter@src.gnome.org>
2933 Date: Sat Apr 22 15:56:37 2017 +0200
2935 configure.ac: post-release version bump to 3.25.2
2938 1 file changed, 1 insertion(+), 1 deletion(-)
2940 commit 31d7e92a24400a5d03f05912fdd8fd625082a837
2941 Author: Christoph Reiter <creiter@src.gnome.org>
2942 Date: Fri Apr 21 18:30:12 2017 +0200
2947 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2949 2 files changed, 60 insertions(+), 1 deletion(-)
2951 commit fc451f235754a98c647972f0a03e11eaefca4cef
2952 Author: Christoph Reiter <creiter@src.gnome.org>
2953 Date: Wed Apr 19 15:04:30 2017 +0200
2955 Bump pycairo requirement to 1.11.1
2957 This requires pycairo from https://pycairo.readthedocs.io/en/latest/
2958 (already updated/included in JHBuild)
2960 For more info on the upstream change see:
2961 https://lists.cairographics.org/archives/cairo/2017-April/027919.html
2962 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00065.html
2964 This will enable cairo.Region support for all setups and Python
2966 as make moving to Python 3 easier for applications since all APIs
2968 under Python 2 are available there as well now.
2970 https://bugzilla.gnome.org/show_bug.cgi?id=707196
2972 configure.ac | 7 +++----
2973 1 file changed, 3 insertions(+), 4 deletions(-)
2975 commit 36e786e1a2305c001c8c067adfee9d731c2ec0fb
2976 Author: Christoph Reiter <creiter@src.gnome.org>
2977 Date: Thu Apr 20 09:43:50 2017 +0200
2979 configure.ac: Always disable -Werror
2981 Instead of disabling it for release builds do it always.
2982 While JHBuild uses --disable-Werror by default, gnome-continuous
2986 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html
2988 configure.ac | 4 +++-
2989 1 file changed, 3 insertions(+), 1 deletion(-)
2991 commit a2cb674334267e3eaeac5b2ce849c4a38cc1b428
2992 Author: Christoph Reiter <creiter@src.gnome.org>
2993 Date: Sun Apr 9 18:48:33 2017 +0200
2995 foreign-cairo: Enable cairo.Region support also on Python 2 if
2998 The next pycairo version might add support for cairo_region_t.
2999 This enables the converter functions also on Python 2 and makes
3000 sure that the test suite does not crash in case it does.
3002 gi/pygi-foreign-cairo.c | 4 ++--
3003 1 file changed, 2 insertions(+), 2 deletions(-)
3005 commit 3460081ed20b33b3a08c4fce5de135f1171f2ff0
3006 Author: Christoph Reiter <creiter@src.gnome.org>
3007 Date: Sun Apr 2 15:51:25 2017 +0200
3009 configure.ac: remove unused PLATFORM variable
3011 This was added in 93e7d047e
3013 configure.ac | 3 ---
3014 1 file changed, 3 deletions(-)
3016 commit 810392173ce20f8a7935966b46df483742e73f23
3017 Author: Christoph Reiter <creiter@src.gnome.org>
3018 Date: Sun Apr 2 15:25:56 2017 +0200
3020 configure.ac: Remove unused PySignal_SetWakeupFd check
3022 HAVE_PYSIGNAL_SETWAKEUPFD isn't used anywhere
3024 configure.ac | 12 ------------
3025 1 file changed, 12 deletions(-)
3027 commit 52693463749f045355a7ddeace033d369fe2e786
3028 Author: Christoph Reiter <creiter@src.gnome.org>
3029 Date: Sun Apr 2 14:13:08 2017 +0200
3031 tests: remove python 2.5/3.2 compat code
3033 2.7/3.3 support the u/b prefixes and both have callable()
3035 gi/overrides/Gtk.py | 4 +---
3036 tests/compathelper.py | 40 ----------------------------------------
3037 tests/helper.py | 2 +-
3038 tests/test_fields.py | 6 ++----
3039 tests/test_gi.py | 26 +++++++++-----------------
3040 tests/test_glib.py | 12 +++++-------
3041 tests/test_iochannel.py | 21 +++++++++------------
3042 tests/test_mainloop.py | 4 +---
3043 tests/test_overrides_gtk.py | 13 ++++++-------
3044 tests/test_properties.py | 29 ++++++++++++-----------------
3045 10 files changed, 46 insertions(+), 111 deletions(-)
3047 commit 1039e9a512d1df35e9c4656b0b41c1e4a25aafad
3048 Author: Christoph Reiter <creiter@src.gnome.org>
3049 Date: Sun Apr 2 14:04:39 2017 +0200
3051 configure.ac: Require Python 3.3
3053 At the time of the next release nothing will support 3.2 anymore.
3056 1 file changed, 1 insertion(+), 1 deletion(-)
3058 commit e98558a6843b68115d68d3bc92dad271b74ef6d0
3059 Author: Christoph Reiter <creiter@src.gnome.org>
3060 Date: Sun Apr 2 13:22:32 2017 +0200
3062 tests: Make test suite run with GTK+ 4
3064 Skip various tests which test things that are no longer available
3066 Does not remove any deprecated overrides.
3068 Disable gtk4 support in pygtkcompat. The porting path over gtk3
3071 gi/overrides/Gdk.py | 3 ++
3072 pygtkcompat/pygtkcompat.py | 3 ++
3073 tests/compat_test_pygtk.py | 4 +-
3074 tests/test_atoms.py | 1 +
3075 tests/test_overrides_gdk.py | 7 +++
3076 tests/test_overrides_gtk.py | 107
3077 +++++++++++++++++++++++++++++++++-----------
3078 6 files changed, 98 insertions(+), 27 deletions(-)
3080 commit c3159accf3faa2bd804ac22ec7ac93e62b158a3e
3081 Author: Christoph Reiter <creiter@src.gnome.org>
3082 Date: Sun Apr 2 13:17:36 2017 +0200
3084 tests: always call require_version; add TEST_GTK_VERSION env var
3086 Set the versions in runtests.py instead of repeating it in every
3089 Add a new TEST_GTK_VERSION env var which defaults to "3.0".
3090 Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
3092 tests/compat_test_pygtk.py | 6 ------
3093 tests/runtests.py | 26 ++++++++++++++++++++++++++
3094 tests/test_atoms.py | 7 +++----
3095 tests/test_overrides_gtk.py | 8 +++-----
3096 tests/test_overrides_pango.py | 7 +------
3097 tests/test_properties.py | 6 +-----
3098 tests/test_repository.py | 4 ----
3099 7 files changed, 34 insertions(+), 30 deletions(-)
3101 commit c89fa35814103a4ceefece8e305af4f9e0dd6a37
3102 Author: Christoph Reiter <creiter@src.gnome.org>
3103 Date: Sun Apr 2 10:57:34 2017 +0200
3105 tests: Fix make check.valgrind
3107 Got broken when we changed to use dbus-run-session. Move
3108 valgrind related env vars before the dbus launcher helper.
3110 This also tries to improve the lookup of the suppression file.
3111 Instead of relying on the basename of the python binary use the python
3112 major version to select one of two suppression files in the repo.
3114 Add PYTHONMALLOC=malloc when running under valgrind, which makes
3116 use malloc instead of its own allocator. Only works with Python 3.6+.
3119 tests/Makefile.am | 22 +-
3120 tests/{python2.7.supp => python2.supp} | 0
3121 tests/python3.3dm.supp | 471
3122 ---------------------------------
3123 tests/{python3.3.supp => python3.supp} | 0
3124 5 files changed, 14 insertions(+), 484 deletions(-)
3126 commit 7c774ce5ce9ec5cda61e10a704b28f0b82df1b03
3127 Author: Christoph Reiter <creiter@src.gnome.org>
3128 Date: Sun Apr 2 10:54:48 2017 +0200
3130 tests: Don't skip Regress tests when cairo is missing
3133 https://git.gnome.org/browse/pygobject/commit/?id=a731db5908b79b97277be4f5138b46010c2dd616
3134 we build libregress even if cairo is missing.
3136 Instead of skipping regress tests when cairo is missing only skip
3140 tests/test_cairo.py | 3 +--
3141 tests/test_docstring.py | 10 +++-------
3142 tests/test_everything.py | 17 +----------------
3143 tests/test_import_machinery.py | 7 +------
3144 tests/test_properties.py | 32 +++++++++++---------------------
3145 tests/test_repository.py | 10 ----------
3146 tests/test_signal.py | 15 +--------------
3147 7 files changed, 18 insertions(+), 76 deletions(-)
3149 commit c2be3cbefbbacb52758b49338be61d093a896d09
3150 Author: Christoph Reiter <creiter@src.gnome.org>
3151 Date: Sun Apr 2 10:52:41 2017 +0200
3153 tests: fix invalid regex escaping
3155 Python 3.6 got stricter here and raises warnings/errors for invalid
3159 tests/helper.py | 4 ++--
3160 tests/test_gi.py | 24 ++++++++++++------------
3161 2 files changed, 14 insertions(+), 14 deletions(-)
3163 commit b7d504c3ef689a79448c9f6597ae59153a77104f
3164 Author: Christoph Reiter <creiter@src.gnome.org>
3165 Date: Sat Apr 1 18:11:46 2017 +0200
3167 tests: avoid mapping a GtkWindow
3169 This let to a window being shown when running the test suite.
3171 https://bugzilla.gnome.org/show_bug.cgi?id=780812
3173 tests/test_overrides_gdk.py | 3 ++-
3174 1 file changed, 2 insertions(+), 1 deletion(-)
3176 commit a2b3d846fab3a4b660eefbe3555933afe6d9c90a
3177 Author: Christoph Reiter <creiter@src.gnome.org>
3178 Date: Sat Apr 1 18:06:47 2017 +0200
3180 tests: silence some glib deprecation warnings
3182 These functions were deprecated in the last few cycles.
3183 This hides the warnings when running the test suite.
3185 https://bugzilla.gnome.org/show_bug.cgi?id=780812
3187 tests/test_atoms.py | 7 +++++--
3188 tests/test_overrides_gtk.py | 6 ++++--
3189 2 files changed, 9 insertions(+), 4 deletions(-)
3191 commit ed488be1f0bcd2d2ec1acf98f27585d8577ddc5f
3192 Author: Christoph Reiter <creiter@src.gnome.org>
3193 Date: Sat Apr 1 18:05:13 2017 +0200
3195 tests: avoid deprecation warnings for
3196 assertRegexpMatches/assertRaisesRegexp
3198 Replace them with the renamed variants. We can't switch because
3200 no non-deprecated variant available under both Python 2 and 3.
3202 https://bugzilla.gnome.org/show_bug.cgi?id=780812
3204 tests/runtests.py | 5 +++++
3205 1 file changed, 5 insertions(+)
3207 commit c39bf20cca3d1c6bcf89f93759772117d087b042
3208 Author: Christoph Reiter <creiter@src.gnome.org>
3209 Date: Sat Apr 1 17:49:01 2017 +0200
3211 pygi-source: clear exceptions in finalize handler
3213 This was executed in the context of Source.__del__ and while Python
3214 ignores errors there it started to warn with Python 3.
3216 This fixes the warnings visible when running test_source under
3219 https://bugzilla.gnome.org/show_bug.cgi?id=780812
3221 gi/pygi-source.c | 2 ++
3222 1 file changed, 2 insertions(+)
3224 commit d806a120998e9b38e96d02ab05d28051a441db61
3225 Author: Christoph Reiter <creiter@src.gnome.org>
3226 Date: Sat Apr 1 17:48:38 2017 +0200
3230 gi/_option.py | 2 +-
3231 1 file changed, 1 insertion(+), 1 deletion(-)
3233 commit b2529624b3925adbef2671025e08cbf747f162e8
3234 Author: Christoph Reiter <creiter@src.gnome.org>
3235 Date: Mon Mar 27 10:14:22 2017 +0200
3237 Remove gi._gi._gobject and gi._gobject modules
3239 Expose everything from _gi._gobject in _gi instead.
3240 This does not move any code around, just removes the module.
3242 Also removes the gi._gobject package and replaces it
3243 with a small dummy module in gi.__init__.py
3245 https://bugzilla.gnome.org/show_bug.cgi?id=735206
3248 gi/Makefile.am | 3 +-
3249 gi/__init__.py | 9 ++++--
3250 gi/_constants.py | 52 +++++++++++++++----------------
3251 gi/_gobject/Makefile.am | 16 ----------
3252 gi/_gobject/__init__.py | 23 --------------
3253 gi/_propertyhelper.py | 47 ++++++++++++++--------------
3254 gi/_signalhelper.py | 6 ++--
3255 gi/gimodule.c | 48 ++++++++++++++++++++++-------
3256 gi/gobjectmodule.c | 82
3257 +++++++++++--------------------------------------
3258 gi/gobjectmodule.h | 21 +++++++++++++
3259 gi/module.py | 6 ++--
3260 gi/overrides/GLib.py | 3 +-
3261 gi/overrides/GObject.py | 82
3262 ++++++++++++++++++++++++-------------------------
3263 gi/pygi-value.c | 2 +-
3264 gi/pygobject-object.c | 12 ++++----
3265 gi/types.py | 13 ++++----
3266 tests/helper.py | 4 +--
3267 tests/test_gi.py | 2 +-
3268 tests/test_gobject.py | 8 ++---
3269 20 files changed, 199 insertions(+), 241 deletions(-)
3271 commit bdfafd2bdc84d961bd2df43d8dee690177c77a56
3272 Author: Christoph Reiter <creiter@src.gnome.org>
3273 Date: Mon Mar 27 07:39:22 2017 +0200
3275 Remove gi._gi._glib module
3277 Move the code into gi._gi (gimodule)
3278 The module was a leftover from
3279 https://bugzilla.gnome.org/show_bug.cgi?id=712197
3281 https://bugzilla.gnome.org/show_bug.cgi?id=735206
3283 gi/Makefile.am | 1 -
3284 gi/_option.py | 12 +++++------
3285 gi/gimodule.c | 31 +++++++++++++++-------------
3286 gi/glibmodule.c | 56
3287 ---------------------------------------------------
3288 gi/overrides/GLib.py | 10 ++++-----
3289 gi/pygoptioncontext.c | 4 ++--
3290 gi/pygoptiongroup.c | 4 ++--
3291 gi/pygspawn.c | 14 ++++++-------
3292 8 files changed, 39 insertions(+), 93 deletions(-)
3294 commit 4ad6899bdca6fbd0fb7e88cd16b49367f7f41267
3295 Author: Christoph Reiter <creiter@src.gnome.org>
3296 Date: Mon Mar 27 06:41:19 2017 +0200
3298 GValue: add overflow checking for py -> gint; forward marshaling
3301 https://bugzilla.gnome.org/show_bug.cgi?id=769789
3303 gi/pygi-struct-marshal.c | 3 +--
3304 gi/pygi-value.c | 11 ++++++++++-
3305 tests/test_gi.py | 7 ++++++-
3306 3 files changed, 17 insertions(+), 4 deletions(-)
3308 commit 052cea9e2b6e599e52435df3155d8de22500e0f4
3309 Author: Christoph Reiter <creiter@src.gnome.org>
3310 Date: Sun Mar 26 19:34:00 2017 +0200
3312 pygobject_lookup_class: clear exceptions between calls and don't
3315 https://bugzilla.gnome.org/show_bug.cgi?id=773394
3317 gi/pygobject-object.c | 7 ++++++-
3318 1 file changed, 6 insertions(+), 1 deletion(-)
3320 commit 271e94b4e4cc9a9619015ef76880346ad7962ac4
3321 Author: Christoph Reiter <creiter@src.gnome.org>
3322 Date: Sat Apr 1 10:15:00 2017 +0200
3324 Avoid some new deprecation warnings
3326 https://bugzilla.gnome.org/show_bug.cgi?id=780768
3328 gi/gobjectmodule.c | 6 +++++-
3329 1 file changed, 5 insertions(+), 1 deletion(-)
3331 commit 81625ce4c0164dcb3409471fc38168147af4026a
3332 Author: Christoph Reiter <creiter@src.gnome.org>
3333 Date: Sun Mar 26 16:23:25 2017 +0200
3335 Raise RuntimeError in case an uninitilialized GObject.Object is
3338 One common case where this can happen is when subclassing a
3340 without chaining up __init__ and then calling a method.
3342 https://bugzilla.gnome.org/show_bug.cgi?id=730908
3344 gi/pygi-object.c | 6 ++++++
3345 tests/test_gobject.py | 6 ++++++
3346 2 files changed, 12 insertions(+)
3348 commit b23dea0981ab5718cb26d3a9f4f7bf8f593ac343
3349 Author: Christoph Reiter <creiter@src.gnome.org>
3350 Date: Sun Mar 26 19:11:33 2017 +0200
3352 closure: support unichar args
3354 https://bugzilla.gnome.org/show_bug.cgi?id=759276
3356 gi/pygi-closure.c | 3 +++
3357 tests/test_overrides_gtk.py | 14 ++++++++++++++
3358 2 files changed, 17 insertions(+)
3360 commit d6e46f778ea2bfede89f4fe2422b80998ed7fec8
3361 Author: Christoph Reiter <creiter@src.gnome.org>
3362 Date: Fri Jun 3 15:51:37 2016 +0200
3364 Add support for bytes and non-utf-8 file names.
3366 Py2+Unix: Convert unicode to bytes using the fsencoding. Pass bytes
3368 Returns path as bytes as is.
3370 Py2+Windows: Convert unicode to wtf-8. Pass bytes as is.
3371 Returns path as bytes as is.
3373 Py3+Unix: Convert str using os.fsencode so that the surrogateescape
3375 can restore the real path if the source was a Python API such as
3377 sys.argv etc. Pass bytes as is. Return str decoded using os.fsdecode
3379 it can be passed to Python API such as open, os.listdir etc.
3381 Py3+Windows: Convert str to wtf-8. Decode bytes using the fsencoding
3383 Returns str + surrogates.
3385 This change makes anyting taking filenames on Python 3 behave the same
3386 as Python functions like listdir() or open(). Compared to Python
3388 functions which return the same type that was passed in we always
3391 One remaining problem is that glib assumes that Windows paths
3393 while they are just 16bit arrays and as a result utf-8 is not
3395 represent all possible paths. We use wtf-8 here instead (utf-8 with
3397 which allows us to convert all paths, but glib functions accessing
3399 will fail with them.
3401 PyUnicode_EncodeFSDefault was added in CPython 3.2 so bump the
3404 https://bugzilla.gnome.org/show_bug.cgi?id=746564
3407 gi/pygi-basictype.c | 186
3408 ++++++++++++++++++++++++++++++++--------
3409 gi/pyglib-python-compat.h | 2 +
3410 tests/compathelper.py | 4 +
3411 tests/gimarshallingtestsextra.c | 14 +++
3412 tests/gimarshallingtestsextra.h | 1 +
3413 tests/test_gi.py | 152 +++++++++++++++++++++++++++++++-
3414 7 files changed, 320 insertions(+), 41 deletions(-)
3416 commit 33a44c7653030da0a1de76ff8241e40e66d04701
3417 Author: Christoph Reiter <creiter@src.gnome.org>
3418 Date: Mon Mar 27 15:53:13 2017 +0200
3420 test_gi: use correct min/max constants for gsize/gssize
3422 This made these tests on 64bit Windows fail because sizeof(gsize)
3425 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3427 tests/test_gi.py | 6 +++---
3428 1 file changed, 3 insertions(+), 3 deletions(-)
3430 commit b993e4dc73af976e8140661d2b6e9f745206808e
3431 Author: Christoph Reiter <creiter@src.gnome.org>
3432 Date: Mon Mar 27 14:55:22 2017 +0200
3434 Don't use long format string for formatting pointers
3436 long is too small on 64bit Windows
3438 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3440 gi/pygpointer.c | 5 +++--
3441 1 file changed, 3 insertions(+), 2 deletions(-)
3443 commit d031e1700816836366989ece0eda486c77543c3b
3444 Author: Christoph Reiter <creiter@src.gnome.org>
3445 Date: Mon Mar 27 14:48:08 2017 +0200
3447 Fix conversion from pointers to hashfunc return values.
3449 Fixes comiler warnings on 64bit Windows.
3451 Python 3 now uses Py_hash_t as return value for hashfunc. Use
3452 a compat define so we can use the right type depending on the
3455 On Python 2 + 64bit Windows the pointer doesn't fit the long
3456 return type. Add a macro which handles the casting for that case
3457 to prevent compiler warnings.
3459 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3461 gi/pygboxed.c | 4 ++--
3462 gi/pyglib-python-compat.h | 6 ++++++
3463 gi/pygobject-object.c | 4 ++--
3464 gi/pygparamspec.c | 4 ++--
3465 gi/pygpointer.c | 4 ++--
3466 5 files changed, 14 insertions(+), 8 deletions(-)
3468 commit d2a7e9a7b29e74fd97592fcc8462d718d0b7af17
3469 Author: Christoph Reiter <creiter@src.gnome.org>
3470 Date: Mon Mar 27 14:47:22 2017 +0200
3472 Fix PyLong <-> GPid conversion on 64bit Windows
3474 GPid on Windows is a pointer and not int, and pointers don't fit long
3475 on 64bit so use PyLong_AsVoidPtr/PyLong_FromVoidPtr there instead.
3477 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3479 gi/pygspawn.c | 26 +++++++++++++++++++++-----
3480 1 file changed, 21 insertions(+), 5 deletions(-)
3482 commit cfeeaaf69f6d6f777e5f3a17493ff9dcc2bda900
3483 Author: Christoph Reiter <creiter@src.gnome.org>
3484 Date: Tue Mar 28 17:58:54 2017 +0200
3486 property: support setting flags
3488 This also adds some tests for setting flags and enum properties
3489 which depend on some properties being added in g-i's
3491 https://bugzilla.gnome.org/show_bug.cgi?id=780652
3493 https://bugzilla.gnome.org/show_bug.cgi?id=726484
3495 gi/pygi-property.c | 3 +++
3496 tests/test_properties.py | 34 ++++++++++++++++++++++++++++++++++
3497 2 files changed, 37 insertions(+)
3499 commit 44a51ddd6418f8fa85df5803b8288974bcf20bc2
3500 Author: Christoph Reiter <creiter@src.gnome.org>
3501 Date: Thu Mar 23 15:49:18 2017 +0100
3503 overrides: warn on instantiation of Gio.VolumeMonitor
3505 Gio.VolumeMonitor.get() should be used instead
3507 https://bugzilla.gnome.org/show_bug.cgi?id=744690
3509 gi/overrides/Gio.py | 19 +++++++++++++++++++
3510 tests/test_gio.py | 11 +++++++++++
3511 2 files changed, 30 insertions(+)
3513 commit 275a92cb7fe530efe83349b3c7da557f22096fc0
3514 Author: Christoph Reiter <creiter@src.gnome.org>
3515 Date: Tue Mar 21 19:19:33 2017 +0100
3517 Remove gi.overrides.overridefunc
3519 Move the code into override()
3521 https://bugzilla.gnome.org/show_bug.cgi?id=686835
3523 gi/overrides/__init__.py | 32 ++++++++++++++++----------------
3524 1 file changed, 16 insertions(+), 16 deletions(-)
3526 commit f47027d6abde392fff03ce9b49e42a0c6f7d83cd
3527 Author: Christoph Reiter <creiter@src.gnome.org>
3528 Date: Tue Mar 21 12:48:27 2017 +0100
3530 tests: Reduce usage of timeout_add() and sleep()
3532 * Instead of waiting for a fixed time, use a timeout and stop the main
3533 loop right after the test has succeeded.
3534 * Replace time.sleep to sync processes with os.pipe communication
3535 * Chain idle sources instead of using multiple timeout sources
3536 * Replace sleeps with unbufferd communication
3538 https://bugzilla.gnome.org/show_bug.cgi?id=698548
3540 tests/test_glib.py | 37 ++++++++++++-------
3541 tests/test_iochannel.py | 86
3542 +++++++++++++++++++++++++++++++++------------
3543 tests/test_mainloop.py | 13 +++++--
3544 tests/test_overrides_gtk.py | 4 +--
3545 tests/test_source.py | 10 +++---
3546 tests/test_thread.py | 6 +++-
3547 6 files changed, 111 insertions(+), 45 deletions(-)
3549 commit ab574b6c40b6e58f396c9522be864a78478617c1
3550 Author: Christoph Reiter <creiter@src.gnome.org>
3551 Date: Tue Mar 21 12:43:33 2017 +0100
3553 tests: Remove TestMainLoop.test_concurrency
3555 The code containing the bug no longer exists and the test doesn't do
3556 what it says. The thread never gets terminated and it doesn't
3557 assert anything. And I'm not sure what it should assert.
3559 For the corresponding bug see
3560 https://bugzilla.gnome.org/show_bug.cgi?id=663068
3562 While the test doesn't hurt, it adds half a second wait time
3565 https://bugzilla.gnome.org/show_bug.cgi?id=698548
3567 tests/test_mainloop.py | 27 ---------------------------
3568 1 file changed, 27 deletions(-)
3570 commit 4da4a1d5c55a5db060bf3f67b708da0a00e3e957
3571 Author: Christoph Reiter <creiter@src.gnome.org>
3572 Date: Mon Mar 27 16:22:12 2017 +0200
3574 Update .gitignore: add *.dll, *.dylib, .DS_STORE
3577 1 file changed, 3 insertions(+)
3579 commit 30228a98299eeb540fd014b9519a9efd4a434d4b
3580 Author: Christoph Reiter <reiter.christoph@gmail.com>
3581 Date: Thu Mar 23 17:59:55 2017 +0100
3583 tests: Make test suite run on Windows
3585 (in a msys2 environment)
3587 * Replace LD_LIBRARY_PATH with gir code in runtests.py
3588 * Remove unneeded runtests-windows.py
3589 * Unset MSYSTEM to disable path separator hacks by msys2
3590 * Set sys.path in runtests.py
3591 * Skip various tests failing/hanging/crashing on Windows
3593 https://bugzilla.gnome.org/show_bug.cgi?id=780396
3595 tests/Makefile.am | 9 +++-----
3596 tests/compat_test_pygtk.py | 4 +++-
3597 tests/runtests-windows.py | 52
3598 ---------------------------------------------
3599 tests/runtests.py | 13 ++++++++++--
3600 tests/test_atoms.py | 4 +++-
3601 tests/test_everything.py | 2 +-
3602 tests/test_gi.py | 7 +++---
3603 tests/test_gio.py | 3 +++
3604 tests/test_glib.py | 15 +++++++++----
3605 tests/test_iochannel.py | 17 ++++++++++++++-
3606 tests/test_mainloop.py | 4 ++++
3607 tests/test_overrides_gdk.py | 3 ++-
3608 tests/test_properties.py | 9 +++++---
3609 tests/test_subprocess.py | 1 +
3610 14 files changed, 68 insertions(+), 75 deletions(-)
3612 commit 23deef70102657e75e07e54b4378c20214c867f3
3613 Author: Christoph Reiter <creiter@src.gnome.org>
3614 Date: Wed Mar 22 14:07:49 2017 +0100
3616 tests: Make test suite run on macOS
3618 * Skip all tests which fail, crash or hang.
3619 * Disable D-Bus in case dbus-run-session is not available.
3621 https://bugzilla.gnome.org/show_bug.cgi?id=780396
3623 tests/Makefile.am | 10 +++++++---
3624 tests/runtests.py | 3 +++
3625 tests/test_atoms.py | 3 +++
3626 tests/test_gdbus.py | 9 +++++++++
3627 tests/test_gi.py | 4 ++++
3628 tests/test_glib.py | 2 ++
3629 tests/test_overrides_gdk.py | 3 +++
3630 tests/test_overrides_gtk.py | 2 ++
3631 tests/test_source.py | 3 +++
3632 9 files changed, 36 insertions(+), 3 deletions(-)
3634 commit 5399bb785e625c36025d6bc1e5cf2b5519759d0d
3635 Author: Christoph Reiter <creiter@src.gnome.org>
3636 Date: Wed Mar 22 19:24:22 2017 +0100
3638 Fix various compiler warnings for 32bit builds
3640 Due to the switch to AX_COMPILER_FLAGS which adds some more
3641 warning flags. I didn't notice these as they only get triggered
3642 on 32bit builds. Tested with gcc 6.3 and clang 3.9.
3644 https://bugzilla.gnome.org/show_bug.cgi?id=780409
3649 gi/pygi-argument.c | 2 ++
3650 gi/pygi-array.c | 4 ++--
3651 gi/pygi-cache.c | 6 +++---
3652 gi/pygi-closure.c | 4 ++--
3653 gi/pygi-foreign-cairo.c | 2 +-
3654 gi/pygi-invoke.c | 8 ++++----
3655 gi/pygi-marshal-cleanup.c | 4 ++--
3656 gi/pygi-signal-closure.h | 1 +
3657 gi/pygi-util.h | 1 +
3658 gi/pygi-value.h | 2 +-
3659 gi/pygobject-object.c | 4 ++--
3661 15 files changed, 25 insertions(+), 19 deletions(-)
3663 commit 29d07d6e659a518f4e0a7f53eba3dc1d9ba33c3a
3664 Author: Christoph Reiter <creiter@src.gnome.org>
3665 Date: Fri Mar 24 08:25:48 2017 +0100
3669 gi/overrides/Gdk.py | 1 -
3670 1 file changed, 1 deletion(-)
3672 commit b0476e2db4577e12b52caa3163ccb69575221d6c
3673 Author: Christoph Reiter <creiter@src.gnome.org>
3674 Date: Thu Mar 23 22:32:23 2017 +0100
3676 testhelper: only link against libpython on Windows
3678 https://bugzilla.gnome.org/show_bug.cgi?id=773803
3680 configure.ac | 6 +++---
3681 tests/Makefile.am | 11 ++++++++++-
3682 2 files changed, 13 insertions(+), 4 deletions(-)
3684 commit e8c071f518a0e1c3e1877705291d24f056bed77e
3685 Author: Garrett Regier <garrettregier@gmail.com>
3686 Date: Thu Oct 13 15:00:52 2016 -0700
3688 overrides: Fix Gtk.TextBuffer.insert_with_tags_by_name() with no tags
3690 The text was not inserted when no tags were provided.
3692 https://bugzilla.gnome.org/show_bug.cgi?id=772896
3694 gi/overrides/Gtk.py | 3 ---
3695 tests/test_overrides_gtk.py | 12 ++++++++++++
3696 2 files changed, 12 insertions(+), 3 deletions(-)
3698 commit fb0404c0bf08dedf657ce1384b283223b7192df1
3699 Author: Christoph Reiter <creiter@src.gnome.org>
3700 Date: Tue Mar 21 14:03:47 2017 +0100
3702 Make use of instance-argument annotations
3704 Use g_callable_info_get_instance_ownership_transfer() instead
3705 of hardcoding the transfer for instances.
3707 get_instance_ownership_transfer() is available since 1.42.0, so no
3708 version dependency bump is required.
3710 https://bugzilla.gnome.org/show_bug.cgi?id=735076
3712 gi/pygi-cache.c | 4 +++-
3713 tests/test_everything.py | 9 +++++++++
3714 2 files changed, 12 insertions(+), 1 deletion(-)
3716 commit c1ad1129b42c7938662422bb33990026572866d0
3717 Author: Christoph Reiter <creiter@src.gnome.org>
3718 Date: Tue Mar 21 20:23:13 2017 +0100
3720 Remove pyglib_gil_state_ensure/pyglib_gil_state_release
3722 Use PyGILState_Ensure/PyGILState_Release instead.
3724 https://bugzilla.gnome.org/show_bug.cgi?id=699440
3726 gi/gobjectmodule.c | 40 ++++++++++++++++++++--------------------
3727 gi/pygboxed.c | 14 +++++++-------
3728 gi/pygenum.c | 6 +++---
3729 gi/pygflags.c | 6 +++---
3730 gi/pygi-error.c | 8 ++++----
3731 gi/pygi-source.c | 16 ++++++++--------
3732 gi/pyglib.c | 8 ++++----
3734 gi/pygobject-object.c | 36 ++++++++++++++++++------------------
3735 gi/pygoptiongroup.c | 9 ++++-----
3736 gi/pygpointer.c | 6 +++---
3737 gi/pygspawn.c | 4 ++--
3738 gi/pygtype.c | 18 +++++++++---------
3739 tests/testhelpermodule.c | 12 ++++++------
3740 14 files changed, 91 insertions(+), 95 deletions(-)
3742 commit 16e187636d186d4c128288efb032c5ddd69569b3
3743 Author: Christoph Reiter <creiter@src.gnome.org>
3744 Date: Tue Mar 21 20:05:08 2017 +0100
3746 Remove support for building without threads
3748 This removes the --disable-thread configure option.
3750 * glib removed disable-threads in 2011
3751 * We use PyEval_InitThreads() for some time now which means we
3752 build against a Python with threads. And nobody complained.
3754 https://bugzilla.gnome.org/show_bug.cgi?id=699440
3756 configure.ac | 24 ------------------------
3757 gi/gobjectmodule.c | 7 +------
3758 gi/pyglib.h | 9 ++-------
3759 gi/pygobject.h | 19 +++++--------------
3760 4 files changed, 8 insertions(+), 51 deletions(-)
3762 commit 20220d5eac510e3445a96e4e9061fd1bc6ec37c7
3763 Author: Christoph Reiter <creiter@src.gnome.org>
3764 Date: Tue Mar 21 14:46:00 2017 +0100
3766 pygtkcompat: Allow multiple calls to enable(), enable_gtk() as long
3767 as the version matches
3769 enable_gtk() isn't idempotent and was breaking the API when called
3771 This ignores the call in case the version passed is the same as for
3774 https://bugzilla.gnome.org/show_bug.cgi?id=759009
3776 pygtkcompat/pygtkcompat.py | 42
3777 ++++++++++++++++++++++++++++++++++++++++++
3778 tests/compat_test_pygtk.py | 21 +++++++++++++++++++++
3779 2 files changed, 63 insertions(+)
3781 commit 4af42e85a1959cbae06a1bbb7268c76890b60db9
3782 Author: Simon Feltman <sfeltman@src.gnome.org>
3783 Date: Mon Feb 22 23:02:22 2016 -0800
3785 tests: Update Makefile for building tests on OS X
3787 Pull LDFLAGS into variables for command and Python extension specific.
3788 Use -shext .so for the Python extension on both Linux and OS X. The
3790 is needed by Python on OS X (not dylib).
3791 Remove "all" target and explicit .la targets as these are handled
3793 and the "check" target on demand.
3795 https://bugzilla.gnome.org/show_bug.cgi?id=762176
3797 tests/Makefile.am | 56
3798 +++++++++++++++++++++++++++++--------------------------
3799 1 file changed, 30 insertions(+), 26 deletions(-)
3801 commit 3fe9213a3886ffa7a380dc08c5d636cda5865462
3802 Author: Mikhail Fludkov <misha@pexip.com>
3803 Date: Fri Feb 19 16:27:53 2016 +0100
3805 testhelper: propagate exception if _gobject could not be imported
3807 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3809 tests/testhelpermodule.c | 8 ++++++--
3810 1 file changed, 6 insertions(+), 2 deletions(-)
3812 commit 399939b55860211e0ab64bdfbfada2c86be8bf64
3813 Author: Christoph Reiter <creiter@src.gnome.org>
3814 Date: Mon Mar 20 18:11:21 2017 +0100
3816 pygi-info: initialize GIArgument before passing it to
3817 g_constant_info_get_value
3819 Co-Authored-By: Mikhail Fludkov <misha@pexip.com>
3821 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3823 gi/pygi-info.c | 2 +-
3824 1 file changed, 1 insertion(+), 1 deletion(-)
3826 commit a731db5908b79b97277be4f5138b46010c2dd616
3827 Author: Mikhail Fludkov <misha@pexip.com>
3828 Date: Fri Oct 14 18:41:48 2016 +0200
3830 tests: build libregress with disabled cairo
3832 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3834 tests/Makefile.am | 9 ++++++---
3835 1 file changed, 6 insertions(+), 3 deletions(-)
3837 commit 2c329edb870787be1db4d5ecafdf221bead8b271
3838 Author: Mikhail Fludkov <misha@pexip.com>
3839 Date: Fri Oct 14 18:36:21 2016 +0200
3841 tests: use g-ir utils found by pkg-config
3843 Use g-ir utils found by pkg-config to not fail if
3844 gobject-introspection is not installed systemwide
3846 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3848 tests/Makefile.am | 8 ++++----
3849 1 file changed, 4 insertions(+), 4 deletions(-)
3851 commit 7a3e4c005a6677ed7bf3ef807cd1a8487b0465de
3852 Author: Shyouzou Sugitani <shy@users.sourceforge.jp>
3853 Date: Mon Jun 6 12:26:44 2016 +0200
3855 Add a foreign type for cairo_region_t.
3857 Based on the patch at
3858 https://bugzilla.gnome.org/show_bug.cgi?id=667959#c7
3861 * Fixes the cairo_region_from_arg signature
3862 * Add check for pycairo region support (only in pycairo master)
3865 Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com>
3866 Co-Authored-By: Christoph Reiter <creiter@src.gnome.org>
3868 https://bugzilla.gnome.org/show_bug.cgi?id=667959
3870 gi/pygi-foreign-cairo.c | 51
3871 +++++++++++++++++++++++++++++++++++++++++++++++++
3872 tests/test_cairo.py | 28 +++++++++++++++++++++++++--
3873 2 files changed, 77 insertions(+), 2 deletions(-)
3875 commit bb5aa249f1ab6be81f88fdcfb56cee8b3ae2465d
3876 Author: Christoph Reiter <creiter@src.gnome.org>
3877 Date: Tue Jan 24 21:17:07 2017 +0100
3879 aclocal: make local file discover by reading AC_CONFIG_MACRO_DIR work
3881 aclocal needs to know where the local macros are for including
3883 for having a place to put the required system ones in.
3885 Since 1.13 it can parse configure.ac and get the path from
3886 AC_CONFIG_MACRO_DIR.
3887 This didn't work because for some reasons it complains if the
3889 start with "AM_" even if they are there (I guess it assumes they
3892 To work around that, change the AM prefix to PYG, bump the automake
3894 we can asume aclocal finds it and remove the hardcoded paths from both
3895 autogen.sh and Makefile.am.
3897 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3901 configure.ac | 12 +++++-------
3902 m4/python.m4 | 12 ++++++------
3903 4 files changed, 12 insertions(+), 16 deletions(-)
3905 commit 8578ed7e9fd0486fd10e71d24f2e9f969793af8d
3906 Author: Christoph Reiter <creiter@src.gnome.org>
3907 Date: Tue Jan 24 18:58:48 2017 +0100
3909 Port from gnome-common to autoconf-archive
3911 See https://wiki.gnome.org/Projects/GnomeCommon/Migration
3915 * --enable-compile-warnings is now [no/auto/yes] instead of
3916 [no/minimum/yes/maximum/error]
3917 * warnings are errors by default except for releases or if
3918 --disable-Werror is passed (which is the default in jhbuild)
3920 AX_APPEND_COMPILE_FLAGS() gets used to disable some warnings
3922 AX_COMPILER_FLAGS() because they trigger with pycairo/python headers.
3924 Tested with gcc 6.3, clang 3.8.1
3926 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3929 Makefile.am | 8 +++-----
3930 autogen.sh | 44 ++++++++++++++++++++++++++++++--------------
3931 configure.ac | 44 +++++++++++++-------------------------------
3932 gi/Makefile.am | 10 ++++++++++
3933 gi/_gobject/Makefile.am | 3 ---
3934 m4/as-ac-expand.m4 | 40 ----------------------------------------
3935 m4/jhflags.m4 | 21 ---------------------
3936 tests/Makefile.am | 9 ++++++---
3937 9 files changed, 65 insertions(+), 117 deletions(-)
3939 commit f939a71167bd94c9e7777312af444183f7b20441
3940 Author: Christoph Reiter <creiter@src.gnome.org>
3941 Date: Tue Jan 24 18:13:56 2017 +0100
3943 Fix various potential compiler warnings
3945 This is useful for a the next commit which switches away from
3946 gnome-common and uses AX_COMPILER_FLAGS adding some new compiler
3949 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3951 gi/gimodule.c | 7 ++++---
3952 gi/gobjectmodule.c | 22 +++++++++++-----------
3954 gi/pygflags.c | 8 ++++----
3955 gi/pygi-argument.c | 2 ++
3956 gi/pygi-array.c | 16 ++++++++--------
3957 gi/pygi-cache.c | 2 ++
3958 gi/pygi-closure.c | 2 +-
3959 gi/pygi-foreign.c | 2 +-
3960 gi/pygi-info.c | 13 ++++++++++---
3961 gi/pygi-invoke.c | 3 +++
3962 gi/pygi-property.c | 2 +-
3963 gi/pygi-signal-closure.c | 3 ++-
3964 gi/pygi-value.c | 11 +++++++----
3965 gi/pygobject-object.c | 20 ++++++++++----------
3966 15 files changed, 67 insertions(+), 48 deletions(-)
3968 commit b3fb2ecbb98bd6e40fe49a5b16e5174645886710
3969 Author: Christoph Reiter <creiter@src.gnome.org>
3970 Date: Mon Mar 20 16:39:35 2017 +0100
3972 configure.ac: post-release version bump to 3.25.0
3975 1 file changed, 1 insertion(+), 1 deletion(-)
3977 commit 49cc3643819dad0d065d3c86327cd60d2f022dad
3978 Author: Christoph Reiter <creiter@src.gnome.org>
3979 Date: Tue Jan 24 22:11:23 2017 +0100
3981 Remove egg make target
3983 eggs are deprecated and the command was referencing long
3984 gone files and failing, so nobody was using it.
3986 https://bugzilla.gnome.org/show_bug.cgi?id=777719
3988 Makefile.am | 27 ---------------------------
3989 1 file changed, 27 deletions(-)
3991 commit 3aa5c80213194a8a3a993e937bae0f6b3d992547
3992 Author: Christoph Reiter <creiter@src.gnome.org>
3993 Date: Tue Jan 24 22:05:48 2017 +0100
3997 They aren't shipped, can't be build and describe the old
3998 pygobject 2 interface.
4000 There also was a doc-dist make target, but it was broken.
4002 If someone wants to look things up they are in git or still
4003 online for 2.28: https://developer.gnome.org/pygobject/stable/
4005 https://bugzilla.gnome.org/show_bug.cgi?id=777719
4008 docs/Makefile.am | 112 ----
4009 docs/reference/ChangeLog | 114 ----
4010 docs/reference/entities.docbook.in | 1 -
4011 docs/reference/pyglib-classes.xml | 13 -
4012 docs/reference/pyglib-functions.xml | 293 ---------
4013 docs/reference/pygobject-classes.xml | 17 -
4014 docs/reference/pygobject-constants.xml | 304 ----------
4015 docs/reference/pygobject-functions.xml | 864
4016 ---------------------------
4017 docs/reference/pygobject-gboxed.xml | 68 ---
4018 docs/reference/pygobject-ginterface.xml | 38 --
4019 docs/reference/pygobject-gpointer.xml | 42 --
4020 docs/reference/pygobject-introduction.xml | 222 -------
4021 docs/reference/pygobject-ref.xml | 34 --
4022 docs/reference/pygobject.xml | 953
4023 ------------------------------
4024 docs/style.css | 10 -
4025 docs/xsl/common.xsl | 19 -
4026 docs/xsl/devhelp.xsl | 154 -----
4027 docs/xsl/fixxref.py.in | 67 ---
4028 docs/xsl/html.xsl | 285 ---------
4029 docs/xsl/pdf-style.xsl | 11 -
4030 docs/xsl/pdf.xsl | 259 --------
4031 docs/xsl/ref-html-style.xsl | 54 --
4032 23 files changed, 3943 deletions(-)
4034 commit 9d76190bc7a256764b1af5ec4bd05ce4a7b6e1d2
4035 Author: Christoph Reiter <creiter@src.gnome.org>
4036 Date: Mon Mar 20 14:28:51 2017 +0100
4041 1 file changed, 3 insertions(+)
4043 commit bffbb4b1f823de5035e51e013dc6da5a973045aa
4044 Author: Christoph Reiter <creiter@src.gnome.org>
4045 Date: Mon Mar 20 14:23:59 2017 +0100
4047 configure.ac: pre-release version bump to 3.24.0
4049 configure.ac | 4 ++--
4050 1 file changed, 2 insertions(+), 2 deletions(-)
4052 commit 78defd2ab5f1935a6226336eaa08727e7516fb02
4053 Author: Christoph Reiter <creiter@src.gnome.org>
4054 Date: Mon Mar 13 20:14:37 2017 +0100
4058 NEWS | 10 ++++++++++
4059 1 file changed, 10 insertions(+)
4061 commit 4ccabfec0cececba935339ea8449ec51b4aeef5e
4062 Author: Christoph Reiter <creiter@src.gnome.org>
4063 Date: Mon Mar 13 20:13:13 2017 +0100
4065 Version bump to 3.23.92
4068 1 file changed, 1 insertion(+), 1 deletion(-)
4070 commit ebc245c477c36fa1f65f80d2e75792b82d837611
4071 Author: Fabian Orccon <cfoch.fabian@gmail.com>
4072 Date: Tue Jan 24 00:00:12 2017 -0500
4074 overrides: Update for Gdk-4.0 and Gtk+-4.0
4076 Override Gdk.Color and Gdk.RGBA according version.
4077 Use properly Gtk.init_check in Gtk+-4.0
4079 https://bugzilla.gnome.org/show_bug.cgi?id=777680
4081 gi/overrides/Gdk.py | 74
4082 ++++++++++++++++++++++++++++-------------------------
4083 gi/overrides/Gtk.py | 7 +++--
4084 2 files changed, 44 insertions(+), 37 deletions(-)
4086 commit d005df9645fd5fb2f19bd09384355f45591f1e58
4087 Author: Christoph Reiter <creiter@src.gnome.org>
4088 Date: Mon Jan 23 21:26:05 2017 +0100
4090 Disable -Werror=missing-prototypes
4092 https://bugzilla.gnome.org/show_bug.cgi?id=760056
4093 added some code triggering "missing-prototype" which we by default
4094 treat as an error. This disables that specific error by default.
4096 https://bugzilla.gnome.org/show_bug.cgi?id=777534
4099 1 file changed, 1 insertion(+), 1 deletion(-)
4101 commit 6695931a0dfb7d9db9ea14a128108342c3d0be89
4102 Author: Christoph Reiter <creiter@src.gnome.org>
4103 Date: Mon Jan 9 20:44:11 2017 +0100
4107 Two new errors popped up:
4109 * E305 expected 2 blank lines after class or function definition
4110 * E741 ambiguous variable name
4112 https://bugzilla.gnome.org/show_bug.cgi?id=776009
4114 examples/cairo-demo.py | 1 +
4115 examples/properties.py | 1 +
4117 gi/overrides/GIMarshallingTests.py | 2 ++
4118 gi/overrides/GLib.py | 19 +++++++++++++++++++
4119 gi/overrides/GObject.py | 12 ++++++++++++
4120 gi/overrides/Gdk.py | 3 +++
4121 gi/overrides/Gio.py | 2 ++
4122 gi/overrides/Gtk.py | 35
4123 +++++++++++++++++++++++++++++++++++
4124 gi/overrides/Pango.py | 2 ++
4126 pygtkcompat/pygtkcompat.py | 1 +
4127 tests/test_generictreemodel.py | 1 +
4128 tests/test_interface.py | 4 ++++
4129 tests/test_iochannel.py | 1 +
4130 tests/test_overrides_gtk.py | 10 +++++-----
4131 tests/test_properties.py | 12 ++++++------
4132 tests/test_signal.py | 1 +
4133 18 files changed, 98 insertions(+), 11 deletions(-)
4135 commit 3f68e0a352abc12e1990e82e3134c48f0be2b3c9
4136 Author: Christoph Reiter <creiter@src.gnome.org>
4137 Date: Wed Mar 23 17:07:53 2016 +0100
4139 Move pep8/pyflakes tests from 'make check' to 'make check.quality'
4141 The current behaviour is problematic because new versions of
4143 add new warnings or get more picky. This makes testing
4144 hard in case newly added code is developed on an older version
4145 or when testing old branches/releases.
4147 This moves the pep8/pyflakes tests to a new "make check.quality"
4150 This also removes the SKIP_PEP8 flag which was added in
4152 to speed up make check.
4154 https://bugzilla.gnome.org/show_bug.cgi?id=764087
4157 Makefile.am | 12 +++++-------
4158 2 files changed, 6 insertions(+), 8 deletions(-)
4160 commit 222f5581c38551bdd5c6c9ca4e895d1f44397ad1
4161 Author: Christoph Reiter <creiter@src.gnome.org>
4162 Date: Fri Oct 21 13:59:54 2016 +0200
4164 overrides: Update for Gtk-4.0
4166 Skip things which are gone since 4.0.
4167 This only fixes importing and doesn't add any tests for now.
4169 https://bugzilla.gnome.org/show_bug.cgi?id=773315
4171 gi/overrides/Gtk.py | 482
4172 ++++++++++++++++++++++++++--------------------------
4173 1 file changed, 242 insertions(+), 240 deletions(-)
4175 commit 8694e4dd42565f07b6f9ba1221fb03146be333a0
4176 Author: Dan Nicholson <nicholson@endlessm.com>
4177 Date: Wed Dec 21 12:02:14 2016 -0600
4179 Handle exception unreffing Variant at exit
4181 Calling unref will cause gi and gi.repository.GLib to be imported.
4182 However, if the program is exiting, then these modules have likely
4184 removed from sys.modules and will raise an exception. Assume
4186 case for ImportError and ignore the exception since everything will be
4187 cleaned up, anyways.
4189 This can be triggered with the following trivial program:
4191 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
4193 Exception ignored in:
4195 Adding some debug code to show the full exception revealed this:
4197 Traceback (most recent call last):
4198 File "/home/dan/src/pygobject/build3/gi/overrides/GLib.py", line
4201 ImportError: import of 'gi.repository.GLib' halted; None in
4204 https://bugzilla.gnome.org/show_bug.cgi?id=776092
4206 gi/overrides/GLib.py | 11 ++++++++++-
4207 1 file changed, 10 insertions(+), 1 deletion(-)
4209 commit 54c623ba639654716ca475f75c92cc8ed673d9f5
4210 Author: Dan Nicholson <nicholson@endlessm.com>
4211 Date: Wed Dec 21 11:50:08 2016 -0600
4213 Handle multiple deinit of callable cache
4215 In python3, it seems that the callable cache deinit can be called
4216 multiple times when the program is exiting. Make that safer by
4218 the various pointers in the structure using g_clear_pointer and
4219 Py_CLEAR. A subsequent call will skip all the deinit by seeing NULL
4220 pointers for the members.
4222 This was causing a critical warning when destroying the arg name hash
4223 table multiple times with the following trivial program:
4225 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
4228 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
4229 'hash_table != NULL' failed
4231 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
4232 'hash_table != NULL' failed
4234 https://bugzilla.gnome.org/show_bug.cgi?id=776092
4236 gi/pygi-cache.c | 15 +++++++--------
4237 1 file changed, 7 insertions(+), 8 deletions(-)
4239 commit 94226b8eb63dd985def8501168572ee16e02acad
4240 Author: Christoph Reiter <creiter@src.gnome.org>
4241 Date: Mon Sep 19 15:31:57 2016 +0200
4243 configure.ac: post-release version bump to 3.23.0
4246 1 file changed, 1 insertion(+), 1 deletion(-)
4248 commit fb1b8fa8a67f2c7ea7ad4b53076496a8f2b4afdb
4249 Author: Christoph Reiter <creiter@src.gnome.org>
4250 Date: Mon Sep 19 15:27:35 2016 +0200
4255 1 file changed, 3 insertions(+)
4257 commit b93523fcdb6bc04b42709ecd30b8cd11de80f0c5
4258 Author: Christoph Reiter <creiter@src.gnome.org>
4259 Date: Mon Sep 19 15:24:35 2016 +0200
4261 configure.ac: pre-release version bump to 3.22.0
4263 configure.ac | 4 ++--
4264 1 file changed, 2 insertions(+), 2 deletions(-)
4266 commit 3ec19401dc57263508ee3aa16f5293419c222f5b
4267 Author: Christoph Reiter <creiter@src.gnome.org>
4268 Date: Sun Sep 11 11:45:59 2016 +0200
4273 1 file changed, 7 insertions(+)
4275 commit 7ccc164b6da6d87c0a200ea50314d213470a1f18
4276 Author: Christoph Reiter <creiter@src.gnome.org>
4277 Date: Sat Sep 3 20:02:13 2016 +0200
4279 Handle nullable filename parameters
4281 Make _pygi_marshal_from_py_filename handle None input
4282 values. This allows one to pass None to parameters
4283 annotated as nullable filenames.
4285 This fixes a test suite error in test_spawn_async_with_pipes
4286 triggered by an annotation change in glib.
4288 https://bugzilla.gnome.org/show_bug.cgi?id=770821
4290 gi/pygi-basictype.c | 5 +++++
4291 tests/gimarshallingtestsextra.c | 22 ++++++++++++++++++++++
4292 tests/gimarshallingtestsextra.h | 3 +++
4293 tests/test_gi.py | 4 ++++
4294 4 files changed, 34 insertions(+)
4296 commit f4d858c069f06e7060a0bb067c29f5bffb7869ee
4297 Author: Aurelien Jarno <aurelien@aurel32.net>
4298 Date: Wed Aug 31 22:16:06 2016 +0200
4300 Fix list/hashtable enum <-> hash conversion on 64-bit big endian
4302 glist and ghashtable objects both store pointers. Complex objects are
4303 stored as pointers to the objects, but simpler objects like an integer
4304 value are stored directly as a pointer, using for example the
4305 GINT_TO_POINTER and GPOINTER_TO_INT macros.
4307 This is done in pygobject with the _pygi_hash_pointer_to_arg and
4308 _pygi_arg_to_hash_pointer functions. These functions handle the
4310 type of objects. However they consider that an enum, represented
4312 GI_TYPE_TAG_INTERFACE type (extended interface object), are always a
4313 pointer. This is wrong as it is often a 32-bit value. Therefore
4315 big endian machines, the value is handle with the 2 32-bit parts
4318 This patches fixes that by changing the second argument of both
4320 from GITypeTag to GITypeInfo. This way the interface can be
4322 and the underlying storage type can also be determined. This currently
4323 only handles enum and flags, leaving other types as pointers. The
4325 also adds two tests in the testsuite, one for each direction.
4327 https://bugzilla.gnome.org/show_bug.cgi?id=770608
4329 gi/pygi-argument.c | 33 +++++++++++++++++++++++++++++----
4330 gi/pygi-argument.h | 4 ++--
4331 gi/pygi-hashtable.c | 8 ++++----
4332 gi/pygi-list.c | 8 ++++----
4333 tests/gimarshallingtestsextra.c | 33 +++++++++++++++++++++++++++++++++
4334 tests/gimarshallingtestsextra.h | 10 ++++++++++
4335 tests/test_gi.py | 11 +++++++++++
4336 7 files changed, 93 insertions(+), 14 deletions(-)
4338 commit 1cb6c470e9d297afda21b73efaccb0b95e519b5d
4339 Author: Lukas K <lu@0x83.eu>
4340 Date: Fri May 13 21:30:47 2016 +0200
4342 Allow passing sockets to io_add_watch on win32
4344 https://bugzilla.gnome.org/show_bug.cgi?id=766396
4346 gi/overrides/GLib.py | 4 ++++
4347 1 file changed, 4 insertions(+)
4349 commit 4617c39ca212f0da82af1a9989c912bcdfe1158b
4350 Author: Michael Biebl <biebl@debian.org>
4351 Date: Sat Sep 3 16:46:40 2016 +0200
4353 tests: use dbus-run-session instead of dbus-launch to run tests
4355 The use of dbus-launch is deprecated by dbus upstream.
4356 See https://lists.debian.org/debian-devel/2016/08/msg00554.html
4360 So use dbus-run-session instead, which was specifically designed to be
4361 used for such cases, like running test-suites.
4363 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
4365 https://bugzilla.gnome.org/show_bug.cgi?id=770798
4367 tests/Makefile.am | 7 ++-----
4368 1 file changed, 2 insertions(+), 5 deletions(-)
4370 commit 4b9185250d73c38231d90b53974d0d2912a02972
4371 Author: Christoph Reiter <creiter@src.gnome.org>
4372 Date: Thu Aug 25 16:57:11 2016 +0200
4374 configure.ac: post-release version bump to 3.21.92
4377 1 file changed, 1 insertion(+), 1 deletion(-)
4379 commit 2f98ecc4df9e0feaab78ba289956f469e36c7d76
4380 Author: Christoph Reiter <creiter@src.gnome.org>
4381 Date: Thu Aug 25 16:51:39 2016 +0200
4385 NEWS | 13 +++++++++++++
4386 1 file changed, 13 insertions(+)
4388 commit 91abec259ed0c387ab69762ff92142b08327d00a
4389 Author: Christoph Reiter <creiter@src.gnome.org>
4390 Date: Thu Aug 25 16:50:56 2016 +0200
4392 configure.ac: version bump to 3.21.91
4395 1 file changed, 1 insertion(+), 1 deletion(-)
4397 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
4398 Author: Mathieu Bridon <bochecha@daitauha.fr>
4399 Date: Thu Jun 23 22:35:42 2016 +0200
4401 Allow installing with pip
4403 This commit adds a setup.py file which just calls the autotools to
4404 configure/make/make install.
4406 It is heavily inspired by the similar work from Simon McVittie on
4409 https://bugzilla.gnome.org/show_bug.cgi?id=767988
4414 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4415 3 files changed, 110 insertions(+), 1 deletion(-)
4417 commit 14626ee5dcf380ae94680626607742a8cc048351
4418 Author: Christoph Reiter <creiter@src.gnome.org>
4419 Date: Mon Jun 6 20:08:18 2016 +0200
4421 Skip a test with older glib
4423 https://bugzilla.gnome.org/show_bug.cgi?id=740301
4425 tests/test_docstring.py | 4 ++++
4426 1 file changed, 4 insertions(+)
4428 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
4429 Author: Christoph Reiter <creiter@src.gnome.org>
4430 Date: Mon Jun 6 20:13:29 2016 +0200
4432 Fix a test with Python 3.1/3.2
4434 Fix Python version check in
4435 TestImporter.test_invalid_repository_module_name()
4436 to avoid failure with Python 3.1 and 3.2.
4438 Fix provided by Arfrever Frehtes Taifersar Arahesis at
4439 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
4441 https://bugzilla.gnome.org/show_bug.cgi?id=740324
4443 tests/test_import_machinery.py | 4 ++--
4444 1 file changed, 2 insertions(+), 2 deletions(-)
4446 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
4447 Author: Christoph Reiter <creiter@src.gnome.org>
4448 Date: Mon Jun 6 20:45:22 2016 +0200
4450 tests: Use places kwarg for assertAlmostEqual
4452 Always pass 'places' argument of TestCase.assertAlmostEqual
4453 as keyword argument.
4455 Fix by Arfrever Frehtes Taifersar Arahesis
4456 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
4458 https://bugzilla.gnome.org/show_bug.cgi?id=740337
4460 tests/test_properties.py | 6 +++---
4461 tests/test_signal.py | 4 ++--
4462 2 files changed, 5 insertions(+), 5 deletions(-)
4464 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
4465 Author: Christoph Reiter <creiter@src.gnome.org>
4466 Date: Mon Jun 6 11:34:47 2016 +0200
4468 Print exception if marshalling a signal argument fails
4470 For example if cairo support is missing a Gtk.Widget::draw call
4472 "TypeError: Couldn't find foreign struct converter for
4475 https://bugzilla.gnome.org/show_bug.cgi?id=748198
4477 gi/pygi-signal-closure.c | 1 +
4478 1 file changed, 1 insertion(+)
4480 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
4481 Author: Marinus Schraal <mschraal@src.gnome.org>
4482 Date: Fri May 20 01:26:27 2016 +0200
4484 overrides: allow treemodel sequence shorthands
4486 Add get_ and set_ overrides for sequences of GtkTreeModel
4488 allows an arbitray list of indices to be retrieved or written in
4490 from or to a GtkTreeModel row:
4492 model[0][0, 1] = [True, "Hello"]
4493 [foo, bar] = model[0][2, 7]
4495 https://bugzilla.gnome.org/show_bug.cgi?id=766580
4497 gi/overrides/Gtk.py | 15 +++++++++++++--
4498 tests/test_overrides_gtk.py | 46
4499 +++++++++++++++++++++++++++++++++++++++++++++
4500 2 files changed, 59 insertions(+), 2 deletions(-)
4502 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
4503 Author: Christoph Reiter <creiter@src.gnome.org>
4504 Date: Tue May 31 19:26:00 2016 +0200
4506 Remove pygobject-external.h
4508 It's not used any more
4510 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4512 gi/Makefile.am | 1 -
4513 gi/pygobject-external.h | 73
4514 -------------------------------------------------
4515 2 files changed, 74 deletions(-)
4517 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
4518 Author: Christoph Reiter <creiter@src.gnome.org>
4519 Date: Tue May 31 18:47:54 2016 +0200
4521 Remove pygobject-private.h and rename pygobject.c to
4524 Move all the random declarations in pygobject-private.h to their
4525 respective header files. Rename pygobject.c to pygobject-object.c
4526 so it's clearer that it's not the implementation of pygobject.h.
4527 Add a new pygobject-internal.h which includes pygobject.h
4528 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
4530 In case you are looking at the git log and end up here due to the
4533 git log --follow pygobject-object.c
4535 or on the web interface go to the history of the old file name:
4537 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
4539 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4541 gi/Makefile.am | 7 +-
4542 gi/gimodule.c | 10 +-
4543 gi/gobjectmodule.c | 56 +---------
4544 gi/gobjectmodule.h | 11 ++
4545 gi/pygboxed.c | 4 +-
4546 gi/pygboxed.h | 11 ++
4548 gi/pygenum.h | 22 ++++
4549 gi/pygflags.c | 4 +-
4550 gi/pygflags.h | 21 ++++
4551 gi/pygi-argument.c | 4 +-
4552 gi/pygi-basictype.c | 2 +-
4553 gi/pygi-boxed.c | 3 +-
4554 gi/pygi-boxed.h | 2 +-
4555 gi/pygi-cache.c | 1 +
4556 gi/pygi-ccallback.c | 1 -
4557 gi/pygi-enum-marshal.c | 3 +-
4558 gi/pygi-foreign.c | 2 +-
4559 gi/pygi-info.c | 2 +-
4560 gi/pygi-object.c | 2 +-
4561 gi/pygi-property.c | 1 +
4562 gi/pygi-property.h | 2 +-
4563 gi/pygi-signal-closure.h | 2 +-
4564 gi/pygi-source.c | 3 +-
4565 gi/pygi-struct-marshal.c | 3 +
4566 gi/pygi-struct.c | 3 +-
4567 gi/pygi-struct.h | 2 +-
4568 gi/pygi-type.c | 2 +-
4569 gi/pygi-util.c | 42 ++++++++
4570 gi/pygi-util.h | 6 ++
4571 gi/pygi-value.c | 6 +-
4572 gi/pyginterface.c | 3 +-
4573 gi/pygobject-internal.h | 7 ++
4574 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
4575 gi/pygobject-object.h | 56 ++++++++++
4576 gi/pygobject-private.h | 186
4577 ---------------------------------
4578 gi/pygparamspec.c | 5 +-
4579 gi/pygpointer.c | 3 +-
4580 gi/pygpointer.h | 8 ++
4581 gi/pygtype.c | 27 ++---
4582 gi/pygtype.h | 25 +++++
4583 41 files changed, 305 insertions(+), 286 deletions(-)
4585 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
4586 Author: Christoph Reiter <creiter@src.gnome.org>
4587 Date: Tue May 31 15:44:36 2016 +0200
4589 Merge pyglib-private.h into pyglib.h
4591 No need for another header
4593 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4595 gi/Makefile.am | 1 -
4596 gi/gimodule.c | 2 +-
4597 gi/glibmodule.c | 1 -
4598 gi/pygi-resulttuple.c | 2 +-
4599 gi/pygi-source.c | 1 -
4600 gi/pyglib-private.h | 40 ----------------------------------------
4602 gi/pyglib.h | 6 ++++++
4603 gi/pygoptioncontext.c | 1 -
4604 gi/pygoptiongroup.c | 1 -
4606 11 files changed, 8 insertions(+), 49 deletions(-)
4608 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
4609 Author: Christoph Reiter <creiter@src.gnome.org>
4610 Date: Tue May 31 15:31:38 2016 +0200
4612 Remove pygi.h and pygi-private.h
4614 Instead include things where needed.
4616 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4618 gi/Makefile.am | 3 +-
4619 gi/gimodule.c | 11 ++++-
4622 gi/pygflags.c | 4 +-
4623 gi/pygi-argument.c | 17 ++++++--
4624 gi/pygi-array.c | 3 +-
4625 gi/pygi-basictype.c | 2 +-
4626 gi/pygi-boxed.c | 3 +-
4627 gi/pygi-boxed.h | 8 ++++
4628 gi/pygi-cache.c | 2 +
4629 gi/pygi-ccallback.c | 2 +-
4630 gi/pygi-ccallback.h | 11 +++++
4631 gi/pygi-closure.c | 5 ++-
4632 gi/pygi-enum-marshal.c | 3 +-
4633 gi/pygi-error.c | 2 +-
4634 gi/pygi-hashtable.c | 2 +-
4635 gi/pygi-info.c | 6 ++-
4636 gi/pygi-info.h | 22 ++++++++++
4637 gi/pygi-invoke.c | 5 +++
4638 gi/pygi-invoke.h | 2 +-
4639 gi/pygi-list.c | 2 +-
4640 gi/pygi-marshal-cleanup.c | 8 ++--
4641 gi/pygi-marshal-cleanup.h | 4 +-
4642 gi/pygi-object.c | 2 +-
4643 gi/pygi-property.c | 3 +-
4644 gi/pygi-property.h | 2 +-
4645 gi/pygi-repository.c | 3 +-
4646 gi/pygi-repository.h | 6 +++
4647 gi/pygi-signal-closure.c | 4 +-
4648 gi/pygi-signal-closure.h | 3 +-
4649 gi/pygi-source.c | 4 +-
4650 gi/pygi-struct-marshal.c | 6 ++-
4651 gi/pygi-struct.c | 5 ++-
4652 gi/pygi-struct.h | 6 +++
4653 gi/pygi-type.c | 3 +-
4654 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
4656 --------------------------------------
4657 gi/pygobject.c | 3 +-
4658 gi/pygpointer.c | 1 -
4659 40 files changed, 146 insertions(+), 164 deletions(-)
4661 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
4662 Author: Simon Feltman <sfeltman@src.gnome.org>
4663 Date: Sun Apr 24 21:27:59 2016 -0700
4665 configure.ac: post-release version bump to 3.21.1
4668 1 file changed, 1 insertion(+), 1 deletion(-)
4670 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
4671 Author: Simon Feltman <sfeltman@src.gnome.org>
4672 Date: Sun Apr 24 21:19:39 2016 -0700
4677 1 file changed, 7 insertions(+)
4679 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
4680 Author: Dustin Falgout <dustin@falgout.us>
4681 Date: Sun Mar 20 03:21:02 2016 -0500
4683 gi: Add require_versions() function
4685 Adds a new function that accepts a dict of one or more namespace,
4687 pairs through which it iterates and calls `gi.require_version()`
4688 for each pair. Also adds a test for the new function.
4690 https://bugzilla.gnome.org/show_bug.cgi?id=761141
4692 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
4693 tests/test_import_machinery.py | 6 ++++++
4694 2 files changed, 39 insertions(+)
4696 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
4697 Author: Iain Lane <iain@orangesquash.org.uk>
4698 Date: Thu Mar 24 18:04:40 2016 +0000
4700 test_gerror_novalue: Don't assign the error to a variable
4702 Otherwise the build fails with:
4704 CHECK Pyflakes examples gi tests pygtkcompat
4705 tests/test_gobject.py:689: local variable 'error' is assigned to
4708 https://bugzilla.gnome.org/show_bug.cgi?id=764165
4710 tests/test_gobject.py | 2 +-
4711 1 file changed, 1 insertion(+), 1 deletion(-)
4713 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
4714 Author: Emmanuele Bassi <ebassi@gnome.org>
4715 Date: Wed Mar 23 13:59:53 2016 +0000
4717 build: Do not enable code coverage based on lcov
4719 Code coverage turns on various slow paths and disables
4721 should be, and it usually is, an opt in configuration flag.
4723 Enabling it should not be conditional on the existence of the lcov
4724 binary on the system, otherwise anybody building PyGObject from Git on
4725 any moderately complete development environment will automatically
4726 enable code coverage even when not wanted.
4728 https://bugzilla.gnome.org/show_bug.cgi?id=764075
4730 autogen.sh | 10 +---------
4731 1 file changed, 1 insertion(+), 9 deletions(-)
4733 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
4734 Author: Simon Feltman <sfeltman@src.gnome.org>
4735 Date: Mon Mar 21 21:00:37 2016 -0700
4737 configure.ac: post-release version bump to 3.21.0
4740 1 file changed, 1 insertion(+), 1 deletion(-)
4742 commit ce3034544f126f196cad57485f126f1246cd1acf
4743 Author: Simon Feltman <sfeltman@src.gnome.org>
4744 Date: Mon Mar 21 20:34:50 2016 -0700
4749 1 file changed, 2 insertions(+)
4751 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
4752 Author: Simon Feltman <sfeltman@src.gnome.org>
4753 Date: Mon Mar 21 20:33:13 2016 -0700
4755 configure.ac: pre-release version bump to 3.20.0
4757 configure.ac | 4 ++--
4758 1 file changed, 2 insertions(+), 2 deletions(-)
4760 commit f4401234cdc9be784eea9347fec349e7cba0a153
4761 Author: Simon Feltman <sfeltman@src.gnome.org>
4762 Date: Tue Mar 15 22:56:10 2016 -0700
4767 1 file changed, 2 insertions(+)
4769 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
4770 Author: Simon Feltman <sfeltman@src.gnome.org>
4771 Date: Tue Mar 1 22:10:21 2016 -0800
4773 post-release version bump to 3.19.92
4776 1 file changed, 1 insertion(+), 1 deletion(-)
4778 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
4779 Author: Simon Feltman <sfeltman@src.gnome.org>
4780 Date: Tue Mar 1 21:46:21 2016 -0800
4784 NEWS | 11 +++++++++++
4785 1 file changed, 11 insertions(+)
4787 commit cc75f994a07639b9ffcc6afef757768780a076de
4788 Author: Thibault Saunier <tsaunier@gnome.org>
4789 Date: Fri Feb 5 15:00:10 2016 +0100
4791 tests: check passing Boxed type in GValue as function parameters
4793 https://bugzilla.gnome.org/show_bug.cgi?id=761592
4795 tests/Makefile.am | 13 +++++++++++--
4796 tests/gimarshallingtestsextra.c | 37
4797 +++++++++++++++++++++++++++++++++++++
4798 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
4799 tests/test_error.py | 6 ++++++
4800 4 files changed, 80 insertions(+), 2 deletions(-)
4802 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
4803 Author: Simon Feltman <sfeltman@src.gnome.org>
4804 Date: Mon Feb 29 22:50:32 2016 -0800
4806 gerror: Add special case marshaling for boxing GErrors
4808 Transfer gtype from introspection GError class to Python GError
4810 Expose the PyGError pointer as an extern so other C files can pick
4812 Add custom to/from GValue marshalers for GError.
4813 Add tests for both complete and incomplete (no boxed pointer held).
4815 https://bugzilla.gnome.org/show_bug.cgi?id=761592
4817 gi/overrides/GLib.py | 1 +
4818 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
4819 gi/pygi-error.h | 2 ++
4820 gi/pygi-value.c | 1 +
4821 tests/test_gobject.py | 17 +++++++++++++++++
4822 5 files changed, 52 insertions(+), 1 deletion(-)
4824 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
4825 Author: Simon Feltman <sfeltman@src.gnome.org>
4826 Date: Sun Feb 28 01:39:31 2016 -0800
4828 gerror: Add support for marshaling GError from Python to C
4830 Refactor pygi_gerror_exception_check() to use a new broken out
4832 pygi_error_marshal_from_py(). This allows re-use for argument
4834 of a Python GError to a C GError.
4835 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
4837 This was incorrect since GError exception arguments are not specified
4838 explicitly and instead uses the "throws" option.
4840 https://bugzilla.gnome.org/show_bug.cgi?id=685197
4842 gi/pygi-error.c | 132
4843 +++++++++++++++++++++++++++++--------------
4844 gi/pygi-error.h | 3 +
4845 tests/test_overrides_glib.py | 30 ++++++++++
4846 3 files changed, 123 insertions(+), 42 deletions(-)
4848 commit 2fc1a689a81614649d042965997f4546b0a58ada
4849 Author: Simon Feltman <sfeltman@src.gnome.org>
4850 Date: Sat Feb 27 17:21:53 2016 -0800
4852 gerror: Add "_to_py" suffix to pygi_error_marshal
4854 This will allow for the a pygi_error_marshal_from_py function.
4856 https://bugzilla.gnome.org/show_bug.cgi?id=685197
4858 gi/pygi-error.c | 8 ++++----
4859 gi/pygi-error.h | 2 +-
4860 2 files changed, 5 insertions(+), 5 deletions(-)
4862 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
4863 Author: Christoph Reiter <creiter@src.gnome.org>
4864 Date: Sat Jul 4 22:09:46 2015 +0200
4866 Some error handling/reporting fixes.
4868 * Check in pyg_boxed_new() if the passed type is an actual subclass
4869 * Don't replace existing exceptions in pyg_value_as_pyobject()
4870 * Print an error in pyg_closure_marshal() in case marshalling
4873 https://bugzilla.gnome.org/show_bug.cgi?id=751956
4875 gi/pygboxed.c | 8 +++++++-
4876 gi/pygi-value.c | 15 ++++++++++-----
4877 gi/pygtype.c | 11 ++++++++++-
4878 3 files changed, 27 insertions(+), 7 deletions(-)
4880 commit 49880800b35029de3731523eede1b3174f10c1db
4881 Author: Christoph Reiter <creiter@src.gnome.org>
4882 Date: Sat Jul 4 21:40:04 2015 +0200
4884 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
4887 This only worked because they share the same struct layout.
4888 This adds a new constructor for creating a new PyGIStruct instance
4891 https://bugzilla.gnome.org/show_bug.cgi?id=751956
4893 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
4894 gi/pygi-struct.h | 5 +++++
4895 gi/pygi-value.c | 3 ++-
4896 3 files changed, 39 insertions(+), 1 deletion(-)
4898 commit f27b1976ea325fcd55359888401dd08ac8fb074a
4899 Author: Mikhail Fludkov <misha@pexip.com>
4900 Date: Tue Sep 1 17:54:17 2015 +0200
4902 pygi-value: special case for NULL GValueArray
4904 Don't segfault when dealing with GValue of GValueArray type containing
4905 NULL. Return empty list in this case.
4907 https://bugzilla.gnome.org/show_bug.cgi?id=754359
4909 gi/pygi-value.c | 5 +++--
4910 tests/test_gobject.py | 6 ++++++
4911 2 files changed, 9 insertions(+), 2 deletions(-)
4913 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
4914 Author: Simon Feltman <sfeltman@src.gnome.org>
4915 Date: Sat Feb 20 20:42:40 2016 -0800
4917 post-release version bump to 3.19.91
4920 1 file changed, 1 insertion(+), 1 deletion(-)
4922 commit d16ae38f0a12653557bdeba17eb155144d91bff4
4923 Author: Simon Feltman <sfeltman@src.gnome.org>
4924 Date: Sat Feb 20 19:56:24 2016 -0800
4929 1 file changed, 9 insertions(+)
4931 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
4932 Author: Simon Feltman <sfeltman@src.gnome.org>
4933 Date: Sat Feb 20 19:49:31 2016 -0800
4935 pre-release version bump to 3.19.90
4938 1 file changed, 1 insertion(+), 1 deletion(-)
4940 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
4941 Author: Simon Feltman <sfeltman@src.gnome.org>
4942 Date: Sat Feb 20 19:40:45 2016 -0800
4944 tests: Set the active style context state before retrieving values
4946 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
4947 to set/get state mismatch. Set the current state before getting values
4950 tests/compat_test_pygtk.py | 1 +
4951 1 file changed, 1 insertion(+)
4953 commit 8145fa69c8ace9772687f26f782acb5e461776be
4954 Author: Simon Feltman <sfeltman@src.gnome.org>
4955 Date: Sat Feb 20 17:32:01 2016 -0800
4957 tests: Fix crash with empty drag source icon names
4959 Add "_About" argument when testing call to
4960 drag_source_set_icon_name().
4961 Add Gtk.STOCK_ABOUT argument when testing call to
4962 drag_source_set_icon_stock().
4963 This avoids crashes due to GTK+ drag source attempting to unref a
4966 https://bugzilla.gnome.org/show_bug.cgi?id=762392
4968 tests/test_overrides_gtk.py | 4 ++--
4969 1 file changed, 2 insertions(+), 2 deletions(-)
4971 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
4972 Author: Christoph Reiter <creiter@src.gnome.org>
4973 Date: Sun Oct 4 11:18:04 2015 +0200
4975 Try to import GdkX11 in Gdk overrides
4977 pygobject will not provide GdkX11 instances until the namespace
4978 is loaded so try to load it in the overrides.
4980 This makes Gdk.Display.get_default() return a GdkX11.X11Display
4981 instead of a dummy Gdk.Display subclass instance.
4983 https://bugzilla.gnome.org/show_bug.cgi?id=673396
4985 gi/overrides/Gdk.py | 11 ++++++++++-
4986 1 file changed, 10 insertions(+), 1 deletion(-)
4988 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
4989 Author: Christoph Reiter <creiter@src.gnome.org>
4990 Date: Fri Oct 30 13:07:57 2015 +0100
4992 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
4994 For making warnings point to the code doing the import, the stack
4996 of the import system need to be skipped. The frame count number
4998 between CPython versions and in 3.5 all frames of the import
5000 skipped for warnings (https://bugs.python.org/issue24305).
5002 This hardcodes the frame counts for all supported CPython versions
5003 which fixes the import warning output for CPython 3.3 and 3.5.
5005 This also fixes/works around a bug in CPython 3 where if a too
5006 large stacklevel value was passed to warn(), CPython would try to
5007 interpret a file called "sys" in the same directory of the
5008 executed script (https://bugs.python.org/issue25493
5009 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
5011 https://bugzilla.gnome.org/show_bug.cgi?id=757184
5013 gi/importer.py | 28 +++++++++++++++++++++++-----
5014 tests/test_import_machinery.py | 4 ++++
5015 2 files changed, 27 insertions(+), 5 deletions(-)
5017 commit 72ab17963e81fb63f7238123c359be8d83a529f4
5018 Author: Christoph Reiter <creiter@src.gnome.org>
5019 Date: Sun Oct 25 11:39:22 2015 +0100
5021 Bump automake version to 1.12.6
5023 Required to a get a new enough py-compile which supports
5024 the __pycache__ directories for newer Python 3 versions.
5025 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
5027 Also remove m4/py-compile which doesn't seem to get used in
5028 either 1.11 or 1.15 here.
5030 https://bugzilla.gnome.org/show_bug.cgi?id=757086
5034 ----------------------------------------------------------
5035 2 files changed, 3 insertions(+), 162 deletions(-)
5037 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
5038 Author: Simon Feltman <sfeltman@src.gnome.org>
5039 Date: Sat Oct 31 14:55:46 2015 -0700
5041 post-release version bump to 3.19.3
5044 1 file changed, 1 insertion(+), 1 deletion(-)
5046 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
5047 Author: Simon Feltman <sfeltman@src.gnome.org>
5048 Date: Sat Oct 31 14:47:07 2015 -0700
5053 1 file changed, 7 insertions(+)
5055 commit 4164e7088be446fcab65cef642c6853aad3b6a69
5056 Author: Simon Feltman <sfeltman@src.gnome.org>
5057 Date: Sat Oct 31 14:06:40 2015 -0700
5059 tests: Fix failure due to new GTK+ warning regarding size_allocate()
5061 Call get_preferred_size() to avoid size_allocated() warning in
5062 size-allocated signal handler test.
5064 tests/test_overrides_gtk.py | 1 +
5065 1 file changed, 1 insertion(+)
5067 commit a8293f411234180d70e9ff979954b28381842e1f
5068 Author: Simon Feltman <sfeltman@src.gnome.org>
5069 Date: Sat Oct 31 14:03:21 2015 -0700
5071 Fix build warnings regarding _POSIX_C_SOURCE redefinition
5073 Move Python.h includes above glib includes to avoid build
5074 warnings with Python 2 as noted here:
5075 https://docs.python.org/2/c-api/intro.html#include-files
5077 gi/gobjectmodule.c | 1 +
5078 gi/pygi-array.c | 2 +-
5079 gi/pygi-cache.c | 2 +-
5080 gi/pygi-enum-marshal.c | 2 +-
5081 gi/pygi-hashtable.c | 1 +
5082 gi/pygi-hashtable.h | 2 +-
5083 gi/pygi-list.c | 1 +
5084 gi/pygi-object.c | 2 +-
5085 gi/pygi-struct-marshal.c | 2 +-
5086 gi/pygi-value.c | 1 +
5087 10 files changed, 10 insertions(+), 6 deletions(-)
5089 commit 3b1d130174951f7648beceac270daa8ac65939c7
5090 Author: Matthias Clasen <mclasen@redhat.com>
5091 Date: Fri Oct 30 12:15:26 2015 -0400
5093 Drop -std=c90 for now
5095 glib headers have a problem with it, and sorting it out on the
5096 glib side will take a while, so drop this for now.
5098 configure.ac | 9 ---------
5099 1 file changed, 9 deletions(-)
5101 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
5102 Author: Christoph Reiter <creiter@src.gnome.org>
5103 Date: Fri Oct 30 16:23:11 2015 +0100
5105 configure.ac: post release version bump to 3.19.2
5108 1 file changed, 1 insertion(+), 1 deletion(-)
5110 commit 98a4bfe4606bd2c7534533633a20a998f732e248
5111 Author: Christoph Reiter <creiter@src.gnome.org>
5112 Date: Fri Oct 30 16:13:46 2015 +0100
5116 NEWS | 20 ++++++++++++++++++++
5117 1 file changed, 20 insertions(+)
5119 commit 175d10665472e6f4090d707e3b89255814c932b1
5120 Author: Christoph Reiter <creiter@src.gnome.org>
5121 Date: Mon Jun 8 18:14:08 2015 +0200
5123 Use a named tuple for returning multiple values
5125 >>> v = Gtk.Button().get_alignment()
5127 (xalign=0.5, yalign=0.5)
5131 For each GICallable a new gi._gi.ResultTuple subclass
5132 is created which knows the return value names of that
5133 callable and displays them in __repr__, __dir__ and
5134 allows to access tuple items by name.
5136 The subclass is cached in PyGICallableCache.
5138 To reduce the number of small tuple allocations use a free list
5139 similar to the one used for pure tuples in CPython.
5141 https://bugzilla.gnome.org/show_bug.cgi?id=727374
5143 gi/Makefile.am | 2 +
5145 gi/pygi-cache.c | 34 +++++
5146 gi/pygi-cache.h | 6 +
5147 gi/pygi-invoke.c | 35 ++---
5148 gi/pygi-private.h | 1 +
5149 gi/pygi-resulttuple.c | 354
5150 ++++++++++++++++++++++++++++++++++++++++++++++
5151 gi/pygi-resulttuple.h | 34 +++++
5152 gi/pyglib-python-compat.h | 5 +
5153 tests/Makefile.am | 1 +
5154 tests/test_resulttuple.py | 87 ++++++++++++
5155 11 files changed, 543 insertions(+), 17 deletions(-)
5157 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
5158 Author: Christoph Reiter <creiter@src.gnome.org>
5159 Date: Mon Oct 26 11:17:34 2015 +0100
5161 enum/flags: use gir info for type names and __repr__ instead of the
5164 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
5165 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
5167 https://bugzilla.gnome.org/show_bug.cgi?id=657915
5169 gi/gimodule.c | 35 ++++++++++++++++++++++++----
5171 +++++++++++++++++++++++++++++++--------------
5172 gi/pygflags.c | 31 +++++++++++++++++++-----
5173 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
5174 tests/test_overrides_gdk.py | 6 ++---
5175 5 files changed, 139 insertions(+), 31 deletions(-)
5177 commit 6b702c052e9f26e809cff494f0c896d17a514c64
5178 Author: Christoph Reiter <creiter@src.gnome.org>
5179 Date: Wed Jun 10 18:24:44 2015 +0200
5181 Improve and unify __repr__ format for PyGObject, PyGBoxed and
5184 Includes the module, Python type name, pointer and wrapper pointer
5185 and GType name. e.g.
5186 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
5188 In case of PyGObjects created from GType set the module to __gi__
5189 instead of guessing the old static binding name. Also
5190 remove the code that tries to add them to the guessed static bindings
5191 module while at it. The __repr__ will now return
5192 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
5194 https://bugzilla.gnome.org/show_bug.cgi?id=657915
5196 gi/pygboxed.c | 31 +++++++++++++++++++++----
5197 gi/pygi-struct.c | 23 ++++++++++++++++++
5199 +++++++++++++++++++++++++-------------------------------
5200 tests/test_gi.py | 33 ++++++++++++++++++++++++++
5201 4 files changed, 113 insertions(+), 45 deletions(-)
5203 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
5204 Author: Christoph Reiter <creiter@src.gnome.org>
5205 Date: Sun Oct 4 11:13:37 2015 +0200
5207 Don't leak internal RepositoryError on import.
5209 In case a dependency of the imported namespace has a version
5210 conflict with an already loaded version, import would raise
5213 This fixes it to raise an ImportError instead.
5215 https://bugzilla.gnome.org/show_bug.cgi?id=756033
5217 gi/importer.py | 7 +++++--
5218 gi/module.py | 4 ++++
5219 2 files changed, 9 insertions(+), 2 deletions(-)
5221 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
5222 Author: Christoph Reiter <creiter@src.gnome.org>
5223 Date: Sun Oct 4 10:13:35 2015 +0200
5225 Import dependencies when importing typelibs from gi.repository
5227 Recursively import a modules dependencies when importing from
5230 This fixes the case where a library depends on initialization
5231 code of dependency overrides. For example libwnck expects
5232 gdk_init to be called before using its API and gdk_init
5233 gets called in the Gdk overrrides.
5235 https://bugzilla.gnome.org/show_bug.cgi?id=656314
5237 gi/importer.py | 12 +++++++++++-
5238 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
5239 tests/test_import_machinery.py | 13 +++++++++++++
5240 tests/test_repository.py | 10 ++++++++++
5241 4 files changed, 69 insertions(+), 1 deletion(-)
5243 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
5244 Author: Christoph Reiter <creiter@src.gnome.org>
5245 Date: Sun Oct 11 01:28:48 2015 +0200
5247 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
5249 3.18 added a Gdk.Rectangle type which changed these functions
5250 to methods in the gir.
5252 Fix by providing aliases in the Gdk overrides.
5254 https://bugzilla.gnome.org/show_bug.cgi?id=756364
5256 gi/overrides/Gdk.py | 8 ++++++++
5257 tests/test_overrides_gdk.py | 9 +++++++++
5258 2 files changed, 17 insertions(+)
5260 commit 98726caff183491cde1e145861adfcff0c243d9b
5261 Author: Christoph Reiter <creiter@src.gnome.org>
5262 Date: Sun Oct 4 09:53:27 2015 +0200
5264 Don't import inspect at module level
5266 Move it to the only user instead as importing inspect
5269 gi/_signalhelper.py | 3 ++-
5270 1 file changed, 2 insertions(+), 1 deletion(-)
5272 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
5273 Author: Christoph Reiter <creiter@src.gnome.org>
5274 Date: Sat Sep 26 21:29:54 2015 +0200
5276 invoke state: add a free memory cache for PyGIInvokeArgState
5278 Keep one free allocation per argument count around
5279 to reduce g_slice_alloc/free usage.
5281 Reduces CPU time for simple functions by 10% and 5% for closures.
5283 https://bugzilla.gnome.org/show_bug.cgi?id=750658
5285 gi/pygi-closure.c | 6 ++----
5286 gi/pygi-invoke.c | 61
5287 +++++++++++++++++++++++++++++++++++++++++++++++++------
5288 gi/pygi-invoke.h | 4 ++++
5289 3 files changed, 61 insertions(+), 10 deletions(-)
5291 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
5292 Author: Christoph Reiter <creiter@src.gnome.org>
5293 Date: Sat Sep 26 21:25:38 2015 +0200
5295 invoke/closure: reduce g_slice_alloc usage
5297 Instead of allocating multiple arrays, combine argument
5298 data in a new PyGIInvokeArgState and allocate it in one go.
5300 This reduces CPU time by 20% for simple functions and by 15%
5303 https://bugzilla.gnome.org/show_bug.cgi?id=750658
5305 gi/pygi-array.c | 6 +--
5306 gi/pygi-closure.c | 99
5307 +++++++++++++++++++------------------------
5308 gi/pygi-invoke-state-struct.h | 34 +++++++++------
5309 gi/pygi-invoke.c | 50 +++++++---------------
5310 gi/pygi-marshal-cleanup.c | 10 ++---
5311 5 files changed, 86 insertions(+), 113 deletions(-)
5313 commit 640221c099031a55cbc32f5cdac3e6e018256fff
5314 Author: Christoph Reiter <creiter@src.gnome.org>
5315 Date: Sun Sep 27 11:19:14 2015 +0200
5317 pep8: ignore new errors reported by pep8 1.6
5319 Makes sure we get the same result for older and newer pep8.
5320 Once 1.6 is more common, the ignored errors could be added back
5321 and fixed (E402 might be impossible, see bug 755620)
5324 1 file changed, 1 insertion(+), 1 deletion(-)
5326 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
5327 Author: Garrett Regier <garrett.regier@riftio.com>
5328 Date: Tue Sep 22 14:57:13 2015 -0700
5330 Bump g-i dependency to latest stable
5332 This is required for throwing exceptions in closures.
5336 2 files changed, 2 insertions(+), 2 deletions(-)
5338 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
5339 Author: Garrett Regier <garrett.regier@riftio.com>
5340 Date: Tue Jun 9 07:11:51 2015 -0700
5342 Avoid calling g_slist_length() during invoke
5344 We already know the number of Python args.
5346 gi/pygi-invoke.c | 3 +--
5347 1 file changed, 1 insertion(+), 2 deletions(-)
5349 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
5350 Author: Garrett Regier <garrett.regier@riftio.com>
5351 Date: Wed Jun 3 08:14:08 2015 -0700
5353 Simplify closure_convert_arguments()
5355 This chunk of work should really be done
5356 in convert_ffi_arguments().
5358 gi/pygi-closure.c | 65
5359 +++++++++++++++++++++++++------------------------------
5360 1 file changed, 29 insertions(+), 36 deletions(-)
5362 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
5363 Author: Garrett Regier <garrett.regier@riftio.com>
5364 Date: Wed Jun 3 08:09:31 2015 -0700
5366 Remove a level of indentation in convert_ffi_arguments()
5368 gi/pygi-closure.c | 138
5369 ++++++++++++++++++++++++++----------------------------
5370 1 file changed, 67 insertions(+), 71 deletions(-)
5372 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
5373 Author: Garrett Regier <garrett.regier@riftio.com>
5374 Date: Wed Jun 3 07:50:37 2015 -0700
5376 Prevent passing the user data multiple times to callbacks
5378 This can happen when a callback has multiple gpointers.
5379 Also, store the closure index as it is hopefully more reliable
5382 https://bugzilla.gnome.org/show_bug.cgi?id=750347
5384 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
5385 gi/pygi-cache.h | 3 +++
5386 gi/pygi-closure.c | 8 ++------
5387 3 files changed, 29 insertions(+), 6 deletions(-)
5389 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
5390 Author: Garrett Regier <garrett.regier@riftio.com>
5391 Date: Wed Jun 3 07:06:40 2015 -0700
5393 Support throwing exceptions in closures
5395 This allows exceptions raised in vfunc implemntations
5396 and callbacks to be turned into GErrors.
5398 NOTE: this requires matchs in
5399 https://bugzilla.gnome.org/show_bug.cgi?id=729543
5400 thus we must bump the GI req once they are commited.
5402 https://bugzilla.gnome.org/show_bug.cgi?id=710671
5404 gi/pygi-closure.c | 113
5405 ++++++++++++++++++++++++++++++----------------------
5406 tests/test_error.py | 22 ++++++++++
5407 2 files changed, 88 insertions(+), 47 deletions(-)
5409 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
5410 Author: Christoph Reiter <creiter@src.gnome.org>
5411 Date: Sun Sep 6 05:35:03 2015 +0200
5413 Don't emit require_version warning if namespace was loaded previously
5414 using g_irepository_require
5416 Instead of tracking loaded dependencies ourself to hide warnings
5418 were loaded by a previous import just look if the namespace was loaded
5419 before the import. This (a) makes the implementation much simpler and
5420 (b) also takes into account namespaces loaded outside of
5422 using the libgirepository C API (as is common in applications using
5423 libpeas with Python plugins)
5425 This also introduces a new Python wrapper for
5426 g_irepository_is_registered()
5427 to allow checking the loading state of namespaces before imports.
5429 This fixes unnecessary require_version warnings in gedit,
5431 totem, rhythmbox etc.
5433 https://bugzilla.gnome.org/show_bug.cgi?id=754491
5436 +++++++++++-------------------------------
5437 gi/pygi-repository.c | 19 +++++++++
5438 tests/test_import_machinery.py | 9 ----
5439 tests/test_repository.py | 11 +++++
5440 4 files changed, 54 insertions(+), 78 deletions(-)
5442 commit 65726314de2833ce0364a3f3e23f344d122b342f
5443 Author: Garrett Regier <garrett.regier@riftio.com>
5444 Date: Tue Sep 22 00:17:00 2015 -0700
5446 configure.ac: post release version bump to 3.19.1
5448 configure.ac | 4 ++--
5449 1 file changed, 2 insertions(+), 2 deletions(-)
5451 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
5452 Author: Garrett Regier <garrettregier@gmail.com>
5453 Date: Tue Sep 22 00:10:35 2015 -0700
5458 configure.ac | 4 ++--
5459 2 files changed, 4 insertions(+), 2 deletions(-)
5461 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
5462 Author: Simon Feltman <sfeltman@src.gnome.org>
5463 Date: Wed Aug 19 21:04:37 2015 -0700
5465 configure.ac: post-release version bump to 3.17.91
5468 1 file changed, 1 insertion(+), 1 deletion(-)
5470 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
5471 Author: Simon Feltman <sfeltman@src.gnome.org>
5472 Date: Wed Aug 19 21:02:44 2015 -0700
5476 NEWS | 14 ++++++++++++++
5477 1 file changed, 14 insertions(+)
5479 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
5480 Author: Simon Feltman <sfeltman@src.gnome.org>
5481 Date: Wed Aug 19 20:57:37 2015 -0700
5483 configure.ac: pre-release version bump to 3.17.90
5486 1 file changed, 1 insertion(+), 1 deletion(-)
5488 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
5489 Author: Christoph Reiter <reiter.christoph@gmail.com>
5490 Date: Wed Feb 18 19:30:30 2015 +0100
5492 Allow passing unicode lists to GStrv properties on Python 2
5494 https://bugzilla.gnome.org/show_bug.cgi?id=744745
5496 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
5497 tests/test_properties.py | 8 +++++++-
5498 2 files changed, 39 insertions(+), 10 deletions(-)
5500 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
5501 Author: Rui Matos <tiagomatos@gmail.com>
5502 Date: Thu May 21 17:53:17 2015 +0200
5504 Avoid a silent long to int truncation
5506 If the python object contains a value bigger than MAXUINT we'd
5507 silently truncate it when assigning to 'val' and the if condition
5508 would always be true.
5510 This was caught by a coverity scan.
5512 https://bugzilla.gnome.org/show_bug.cgi?id=749698
5514 gi/pygi-value.c | 4 ++--
5515 1 file changed, 2 insertions(+), 2 deletions(-)
5517 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
5518 Author: Christoph Reiter <creiter@src.gnome.org>
5519 Date: Sun Jul 5 11:58:50 2015 +0200
5521 tests: add a test for test_glist_gtype_container_in()
5523 https://bugzilla.gnome.org/show_bug.cgi?id=749696
5525 tests/test_everything.py | 6 ++++++
5526 1 file changed, 6 insertions(+)
5528 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
5529 Author: Mathieu Bridon <bochecha@daitauha.fr>
5530 Date: Sun Jul 5 11:07:00 2015 +0200
5532 Handle gtype marshalling
5534 https://bugzilla.gnome.org/show_bug.cgi?id=749696
5536 gi/pygi-argument.c | 5 +++++
5537 1 file changed, 5 insertions(+)
5539 commit 0ee1f562c975df51ce93578d35678ef1e915e202
5540 Author: Daniel Hahler <git@thequod.de>
5541 Date: Wed Mar 25 14:37:29 2015 +0100
5543 pygi-foreign-cairo.c: fix include for py3cairo.h
5545 The pkg-config info includes the "pycairo" folder already.
5547 https://bugzilla.gnome.org/show_bug.cgi?id=746742
5549 gi/pygi-foreign-cairo.c | 2 +-
5550 1 file changed, 1 insertion(+), 1 deletion(-)
5552 commit fea15145c2a3e6aac73350241a982a095e16c7d8
5553 Author: Christoph Reiter <creiter@src.gnome.org>
5554 Date: Thu Jun 18 13:36:52 2015 +0200
5556 tests: Silence various error messages and warnings.
5558 This silences glib warnings which are due to testing
5559 of error handling, deprecation warnings which we ignore
5560 since we want to continue testing deprecated code and
5561 other error output of code which is supposed to fail.
5563 To reduce code duplication and make things easier
5564 this introduces a shared helper module containing
5565 various context managers and decorators which allow
5566 testing and silencing of warnings and errors.
5568 https://bugzilla.gnome.org/show_bug.cgi?id=751156
5570 tests/Makefile.am | 1 +
5571 tests/compat_test_pygtk.py | 27 +++------
5572 tests/compathelper.py | 8 +++
5573 tests/helper.py | 132
5574 ++++++++++++++++++++++++++++++++++++++++++++
5575 tests/test_everything.py | 28 ++++++----
5576 tests/test_gi.py | 6 +-
5577 tests/test_gio.py | 3 +
5578 tests/test_iochannel.py | 20 +++----
5579 tests/test_overrides_gdk.py | 18 +++---
5580 tests/test_overrides_gtk.py | 20 +++----
5581 tests/test_properties.py | 21 +++----
5582 tests/test_repository.py | 13 ++---
5583 tests/test_signal.py | 24 +++-----
5584 tests/test_source.py | 8 +--
5585 14 files changed, 231 insertions(+), 98 deletions(-)
5587 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
5588 Author: Christoph Reiter <creiter@src.gnome.org>
5589 Date: Thu Jun 18 13:30:03 2015 +0200
5591 Fix gcc warning regarding uninitialized use of variable
5593 https://bugzilla.gnome.org/show_bug.cgi?id=751156
5595 gi/pygobject.c | 4 +++-
5596 1 file changed, 3 insertions(+), 1 deletion(-)
5598 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
5599 Author: Christoph Reiter <creiter@src.gnome.org>
5600 Date: Sun Jun 21 23:55:02 2015 +0200
5602 Fix test regression when xdg-user-dirs is not installed.
5604 GLib.get_user_special_dir is only guaranteed to always return
5605 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
5606 This was unintentionally changed to DIRECTORY_MUSIC
5607 in 9948a67e677c8a351f2de1708.
5609 https://bugzilla.gnome.org/show_bug.cgi?id=751299
5611 tests/test_glib.py | 2 +-
5612 1 file changed, 1 insertion(+), 1 deletion(-)
5614 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
5615 Author: Garrett Regier <garrett.regier@riftio.com>
5616 Date: Mon May 18 02:32:18 2015 -0700
5618 Explicitly check if an override exists instead of ImportError
5620 If an override depended on another module and it did not
5621 exist then the raised ImportError was consumed and assumed
5622 to mean that the override did not exist. This makes it
5623 difficult to diagnose issues with overrides.
5625 This uses pkgutil.get_loader() as it is the easier way to
5626 determine if a module exists in both Python 2 and 3
5627 and avoid deprecated functions.
5629 https://bugzilla.gnome.org/show_bug.cgi?id=749532
5631 gi/overrides/__init__.py | 17 +++++++++++++++--
5632 1 file changed, 15 insertions(+), 2 deletions(-)
5634 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
5635 Author: Simon Feltman <sfeltman@src.gnome.org>
5636 Date: Mon Jun 15 01:24:16 2015 -0700
5638 configure.ac: post-release version bump to 3.17.2
5641 1 file changed, 1 insertion(+), 1 deletion(-)
5643 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
5644 Author: Simon Feltman <sfeltman@src.gnome.org>
5645 Date: Mon Jun 15 01:20:47 2015 -0700
5649 NEWS | 16 ++++++++++++++++
5650 1 file changed, 16 insertions(+)
5652 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
5653 Author: Christoph Reiter <creiter@src.gnome.org>
5654 Date: Mon Mar 2 20:58:04 2015 +0100
5656 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
5657 case the version to import wasn't specified.
5659 This makes the warning visible by default.
5660 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
5663 https://bugzilla.gnome.org/show_bug.cgi?id=727379
5665 gi/__init__.py | 2 ++
5666 gi/gimodule.c | 6 ++++++
5667 gi/importer.py | 3 ++-
5668 tests/test_gi.py | 15 +++++++++++++++
5669 4 files changed, 25 insertions(+), 1 deletion(-)
5671 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
5672 Author: Christoph Reiter <creiter@src.gnome.org>
5673 Date: Sat May 30 17:46:54 2015 +0200
5675 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
5677 The new GdkRectangle in the typelib confuses the marshalling code
5678 as PyGObject uses the Python class from the overrides for marshalling
5679 to Python but uses the gtype from the typelib to do
5680 type checking when marshalling from Python.
5682 https://bugzilla.gnome.org/show_bug.cgi?id=749625
5684 gi/overrides/Gdk.py | 12 ++++++++----
5685 1 file changed, 8 insertions(+), 4 deletions(-)
5687 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
5688 Author: Christoph Reiter <creiter@src.gnome.org>
5689 Date: Thu Apr 23 22:03:54 2015 +0200
5691 overrides: Provide _overrides_module attribute to make gst-python
5692 overrides work again.
5694 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
5696 the Gst.Fraction class through
5697 gi.repository.Gst._overrides_module.Fraction
5698 and failed since _overrides_module was removed in revision
5701 This adds it back pointing to the proxy itself which also contains
5704 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
5706 gi/overrides/__init__.py | 7 +++++++
5707 1 file changed, 7 insertions(+)
5709 commit 6772e990ad889af817b9224e88ea9d79a04caef7
5710 Author: Simon Feltman <sfeltman@src.gnome.org>
5711 Date: Mon Apr 13 19:33:40 2015 -0700
5713 overrides: Conditionalize touch override support in Gdk
5715 Conditionalize Gdk.EventTouch union discrimination. This fixes the
5716 Gdk overrides to continue working with versions of Gdk less than 3.4.
5718 https://bugzilla.gnome.org/show_bug.cgi?id=747717
5720 gi/overrides/Gdk.py | 18 +++++++++++++-----
5721 1 file changed, 13 insertions(+), 5 deletions(-)
5723 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
5724 Author: Christoph Reiter <reiter.christoph@gmail.com>
5725 Date: Sun Mar 29 23:23:09 2015 +0200
5727 Field setters: Remove unneeded type/range checks and resulting
5730 These checks are performed in the actual marshalling code
5731 paths as well, no need to do them twice.
5733 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
5734 as it's the only place where it is still used.
5736 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5738 gi/pygi-argument.c | 626
5739 ---------------------------------------------------
5740 gi/pygi-argument.h | 12 -
5741 gi/pygi-info.c | 90 ++++++--
5742 tests/test_fields.py | 14 +-
5743 4 files changed, 83 insertions(+), 659 deletions(-)
5745 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
5746 Author: Christoph Reiter <reiter.christoph@gmail.com>
5747 Date: Sun Mar 29 21:51:42 2015 +0200
5749 pygi-argument: Remove unused imports/includes
5751 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5754 gi/pygi-argument.c | 7 -------
5755 gi/pygi-argument.h | 2 --
5756 3 files changed, 10 deletions(-)
5758 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
5759 Author: Christoph Reiter <reiter.christoph@gmail.com>
5760 Date: Sun Mar 29 21:47:47 2015 +0200
5762 Improve test coverage for field setters/getters.
5764 Field setters are the sole users of the GIArgument value validation
5765 code and the error handling is hardly tested. This tries to improve
5766 the coverage for the field types available in
5767 GLib/Regress/GIMarshallingTests.
5769 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5771 tests/Makefile.am | 1 +
5772 tests/test_fields.py | 186
5773 +++++++++++++++++++++++++++++++++++++++++++++++++++
5774 2 files changed, 187 insertions(+)
5776 commit b0170220fabbf878a36e0c14b0a3024973b7355f
5777 Author: Simon Feltman <sfeltman@src.gnome.org>
5778 Date: Sun Mar 29 16:35:47 2015 -0700
5780 configure.ac: post release version bump to 3.17.1
5782 configure.ac | 4 ++--
5783 1 file changed, 2 insertions(+), 2 deletions(-)
5785 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
5786 Author: Simon Feltman <sfeltman@src.gnome.org>
5787 Date: Tue Mar 24 01:25:25 2015 -0700
5792 configure.ac | 4 ++--
5793 2 files changed, 4 insertions(+), 2 deletions(-)
5795 commit bf802599f5d0d13cc4b69f1716400561a16a2443
5796 Author: Simon Feltman <sfeltman@src.gnome.org>
5797 Date: Thu Mar 5 01:09:12 2015 -0800
5799 configure.ac: post release version bump to 3.15.92
5802 1 file changed, 1 insertion(+), 1 deletion(-)
5804 commit a86f309066f007f9787a6d1ac679dc041740d8dc
5805 Author: Simon Feltman <sfeltman@src.gnome.org>
5806 Date: Thu Mar 5 01:08:03 2015 -0800
5810 NEWS | 14 ++++++++++++++
5812 2 files changed, 15 insertions(+), 1 deletion(-)
5814 commit 9948a67e677c8a351f2de17080d7a671882570f3
5815 Author: Christoph Reiter <reiter.christoph@gmail.com>
5816 Date: Tue Jan 27 17:47:49 2015 +0100
5818 tests: Don't use deprecated override attributes
5820 In case the test explicitly tests the deprecated attribute
5821 silence the resulting warnings.
5823 Instead of replacing GObject.PARAM_READWRITE with
5824 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
5825 to not depend on a newer glib version.
5827 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5829 tests/test_everything.py | 168
5830 ++++++++++++++++++++++----------------------
5831 tests/test_gi.py | 66 ++++++++---------
5832 tests/test_glib.py | 33 +++++----
5833 tests/test_gobject.py | 21 +++---
5834 tests/test_internal_api.py | 4 +-
5835 tests/test_iochannel.py | 11 +--
5836 tests/test_overrides_gtk.py | 20 +++---
5837 tests/test_properties.py | 100 ++++++++++++++------------
5838 tests/test_signal.py | 111 ++++++++++++++---------------
5839 tests/test_source.py | 8 +--
5840 tests/test_subprocess.py | 7 +-
5841 tests/testmodule.py | 3 +-
5842 12 files changed, 292 insertions(+), 260 deletions(-)
5844 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
5845 Author: Christoph Reiter <reiter.christoph@gmail.com>
5846 Date: Tue Jan 27 16:36:02 2015 +0100
5848 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
5850 They are defined in glib, not gobject and not included in the gir;
5851 Similar constants like G_MAXINT64 are defined in GLib gir and marked
5852 deprecated in the GObject overrides already.
5854 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5856 gi/overrides/GLib.py | 12 ++++++++++++
5857 gi/overrides/GObject.py | 4 +++-
5858 tests/test_overrides_glib.py | 7 +++++++
5859 3 files changed, 22 insertions(+), 1 deletion(-)
5861 commit f74acb38f1410982f3419acb134adf173600e497
5862 Author: Christoph Reiter <reiter.christoph@gmail.com>
5863 Date: Tue Jan 27 16:06:03 2015 +0100
5865 Emit PyGIDeprecationWarning when accessing deprecated override
5868 Adds a new helper function for overrides to mark a module level
5870 as deprecated. A warning will be emitted every time the attribute gets
5873 e.g. when marking GObject.STATUS_FOO as deprecated using
5875 STATUS_FOO = GLib.Status.FOO
5876 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
5877 __all__.append("STATUS_FOO")
5879 accessing it will emit
5881 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
5883 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5885 gi/overrides/GLib.py | 44 ++++++++++++++++-------
5886 gi/overrides/GObject.py | 90
5887 +++++++++++++++++++++++++-----------------------
5888 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
5889 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
5890 4 files changed, 221 insertions(+), 57 deletions(-)
5892 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
5893 Author: Christoph Reiter <reiter.christoph@gmail.com>
5894 Date: Tue Jan 27 19:13:54 2015 +0100
5896 Add namespace and container name to callable cache and include them
5897 in all warnings/error messages.
5899 https://bugzilla.gnome.org/show_bug.cgi?id=743468
5901 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
5902 gi/pygi-cache.h | 5 +++++
5903 gi/pygi-closure.c | 4 +++-
5904 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
5905 tests/test_everything.py | 2 +-
5906 tests/test_gi.py | 28 ++++++++++++++++++----------
5907 6 files changed, 90 insertions(+), 29 deletions(-)
5909 commit 747fc3754c296ad5481d354bbf35521f886c5c61
5910 Author: Garrett Regier <garrettregier@gmail.com>
5911 Date: Sun Mar 1 03:30:46 2015 -0800
5913 tests: Add test for GIRepository.UnionInfo.get_size()
5915 https://bugzilla.gnome.org/show_bug.cgi?id=745362
5917 tests/test_repository.py | 1 +
5918 1 file changed, 1 insertion(+)
5920 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
5921 Author: Garrett Regier <garrettregier@gmail.com>
5922 Date: Fri Jan 23 01:37:35 2015 -0800
5924 Avoid duping filenames when marshalling from Python to C
5926 https://bugzilla.gnome.org/show_bug.cgi?id=744719
5928 gi/pygi-basictype.c | 12 ++++++------
5929 1 file changed, 6 insertions(+), 6 deletions(-)
5931 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
5932 Author: Simon Feltman <sfeltman@src.gnome.org>
5933 Date: Fri Feb 20 22:06:24 2015 -0800
5935 configure.ac: post release version bump to 3.15.1
5938 1 file changed, 1 insertion(+), 1 deletion(-)
5940 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
5941 Author: Simon Feltman <sfeltman@src.gnome.org>
5942 Date: Fri Feb 20 22:04:43 2015 -0800
5946 NEWS | 10 ++++++++++
5947 1 file changed, 10 insertions(+)
5949 commit 5dc113283c0a721c4027026bb8de7243585f1289
5950 Author: Simon Feltman <sfeltman@src.gnome.org>
5951 Date: Fri Feb 20 21:59:10 2015 -0800
5953 Ignore deprecation warning for g_option_group_free()
5955 gi/pygoptiongroup.c | 5 ++++-
5956 1 file changed, 4 insertions(+), 1 deletion(-)
5958 commit d8961622ea748c42171bdb4703e70022035ec3cc
5959 Author: Simon Feltman <sfeltman@src.gnome.org>
5960 Date: Fri Feb 20 21:52:58 2015 -0800
5962 tests: Make get_all_dependendencies() test more robust
5964 Replace array comparison with checking if individual items are in
5966 This solves a problem where the returned array might be in a
5968 as well as future proofs the test in case more dependencies are added.
5970 tests/test_import_machinery.py | 8 +++++---
5971 1 file changed, 5 insertions(+), 3 deletions(-)
5973 commit b10ab49afb97655507e2d3b92f621387287a2928
5974 Author: Simon Feltman <sfeltman@src.gnome.org>
5975 Date: Fri Feb 20 20:16:35 2015 -0800
5977 tests: Fix PEP8 error with commented code in test
5979 tests/test_gi.py | 1 -
5980 1 file changed, 1 deletion(-)
5982 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
5983 Author: Garrett Regier <garrett.regier@riftio.com>
5984 Date: Tue Jan 27 10:39:53 2015 -0800
5986 Avoid copying bytearrays from Python to C when transfer nothing
5988 https://bugzilla.gnome.org/show_bug.cgi?id=743278
5990 gi/pygi-array.c | 23 +++++++++++++++++++----
5991 tests/test_gi.py | 14 +++++++++++++-
5992 2 files changed, 32 insertions(+), 5 deletions(-)
5994 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
5995 Author: Garrett Regier <garrett.regier@riftio.com>
5996 Date: Mon Jan 19 14:53:53 2015 -0800
5998 Allows passing arguments to opaque Boxed types
6000 https://bugzilla.gnome.org/show_bug.cgi?id=743214
6002 gi/pygi-info.c | 7 +++++++
6003 gi/types.py | 10 +++++++++-
6004 tests/test_everything.py | 9 +++++++++
6005 tests/test_glib.py | 6 +++---
6006 4 files changed, 28 insertions(+), 4 deletions(-)
6008 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
6009 Author: Christoph Reiter <reiter.christoph@gmail.com>
6010 Date: Sat Jan 24 20:01:00 2015 +0100
6012 Emit ImportWarning when gi.require_version() is not used
6014 gi tries to import the latest version of typelibs which can cause
6015 existing code to break when a newer typelib is released.
6016 Emit an ImportWarning when gi.require_version() is not used to give
6017 developers this awareness so they can future proof their code.
6019 https://bugzilla.gnome.org/show_bug.cgi?id=727379
6022 +++++++++++++++++++++++++++++++++++++++++-
6023 gi/pygi-repository.c | 35 +++++++++++++++
6024 tests/compat_test_pygtk.py | 7 ++-
6025 tests/test_atoms.py | 6 ++-
6026 tests/test_import_machinery.py | 22 ++++++++++
6027 tests/test_overrides_gtk.py | 7 ++-
6028 tests/test_overrides_pango.py | 5 ++-
6029 tests/test_properties.py | 5 ++-
6030 tests/test_repository.py | 10 +++++
6031 9 files changed, 187 insertions(+), 9 deletions(-)
6033 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
6034 Author: Christoph Reiter <reiter.christoph@gmail.com>
6035 Date: Tue Dec 2 15:38:57 2014 +0100
6037 Refactor overrides import/modules
6039 Removes Registry and DynamicModule in favor of a simple module
6041 contains only overrides and falls back to the introspection module.
6042 Moves all the overrides logic into gi.overrides; Speeds up module
6045 https://bugzilla.gnome.org/show_bug.cgi?id=736678
6047 gi/importer.py | 11 ++--
6048 gi/module.py | 68 ---------------------
6049 gi/overrides/__init__.py | 131
6050 ++++++++++++++++++++++++++++++-----------
6051 tests/test_gi.py | 4 --
6052 tests/test_import_machinery.py | 32 +++++++---
6053 5 files changed, 126 insertions(+), 120 deletions(-)
6055 commit 4d0ab13a8461f781986accc637fada3909cfb91a
6056 Author: Simon Feltman <sfeltman@src.gnome.org>
6057 Date: Thu Aug 21 15:11:39 2014 -0700
6059 Replace statically bound GLib.Variant.new_tuple() with GI
6061 Remove the static implementation of _wrap_pyg_variant_new_tuple with
6062 usage of the dynamic version coming from GI. Array marshalling has
6063 drastically improved in recent years making the dynamic version usable
6064 with a small compatibility shim for the arguments.
6066 https://bugzilla.gnome.org/show_bug.cgi?id=735199
6068 gi/gimodule.c | 39 ---------------------------------------
6069 gi/overrides/GLib.py | 12 +++++-------
6070 2 files changed, 5 insertions(+), 46 deletions(-)
6072 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
6073 Author: Simon Feltman <sfeltman@src.gnome.org>
6074 Date: Wed Sep 10 13:30:48 2014 -0700
6076 overrides: Add Gdk.EventTouch union discrimination
6078 Add EventTouch to get/setattr pass-through to support BEGIN,
6080 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
6081 get_axis(), get_coords(), and get_root_coords() are patched onto
6084 https://bugzilla.gnome.org/show_bug.cgi?id=736380
6086 gi/overrides/Gdk.py | 5 +++++
6087 tests/test_overrides_gdk.py | 12 ++++++++++++
6088 2 files changed, 17 insertions(+)
6090 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
6091 Author: Simon Feltman <sfeltman@src.gnome.org>
6092 Date: Sat Jan 3 17:20:14 2015 -0800
6094 tests: Update pixbuf loader test to not raise exception when closing
6097 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
6098 changed the close() method to raise if the a loader is prematurely
6100 Update the test to write a 1x1 PNG stream to ensure close() will
6103 tests/compat_test_pygtk.py | 9 +++++++++
6104 1 file changed, 9 insertions(+)
6106 commit fd3935541ab4baddb504e000ec659b80923afa13
6107 Author: Murray Cumming <murrayc@murrayc.com>
6108 Date: Tue Dec 2 19:55:51 2014 +0100
6110 PyGObjectFlags: Remove a trailing comma on the enum.
6112 Because this produces a g++ pedantic warning.
6114 gi/pygobject.h | 2 +-
6115 1 file changed, 1 insertion(+), 1 deletion(-)
6117 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
6118 Author: Simon Feltman <sfeltman@src.gnome.org>
6119 Date: Mon Oct 27 20:19:23 2014 -0700
6121 Remove redefinitions of function and vfunc cache typedefs
6123 https://bugzilla.gnome.org/show_bug.cgi?id=737874
6125 gi/pygi-cache.h | 8 ++++----
6126 1 file changed, 4 insertions(+), 4 deletions(-)
6128 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
6129 Author: Simon Feltman <sfeltman@src.gnome.org>
6130 Date: Mon Sep 22 13:26:24 2014 -0700
6132 configure.ac: post release version bump to 3.15.0
6135 1 file changed, 1 insertion(+), 1 deletion(-)
6137 commit f20df385f480b65a8128986ce3df4022b324ade0
6138 Author: Simon Feltman <sfeltman@src.gnome.org>
6139 Date: Mon Sep 22 12:38:35 2014 -0700
6144 1 file changed, 3 insertions(+)
6146 commit 309d4100a08867d18420586c3b1f8709c360250f
6147 Author: Simon Feltman <sfeltman@src.gnome.org>
6148 Date: Mon Sep 22 12:24:32 2014 -0700
6150 configure.ac: pre release version bump to 3.14.0
6152 configure.ac | 4 ++--
6153 1 file changed, 2 insertions(+), 2 deletions(-)
6155 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
6156 Author: Simon Feltman <sfeltman@src.gnome.org>
6157 Date: Mon Sep 15 15:46:04 2014 -0700
6162 1 file changed, 7 insertions(+)
6164 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
6165 Author: Simon Feltman <sfeltman@src.gnome.org>
6166 Date: Fri Sep 12 17:10:04 2014 -0700
6168 tests: Add test for Gio.Application.add_main_option()
6170 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
6171 1 file changed, 29 insertions(+)
6173 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
6174 Author: Simon Feltman <sfeltman@src.gnome.org>
6175 Date: Thu Sep 11 19:32:53 2014 -0700
6177 Split test_everything.TestEverything.test_string() into multiple tests
6179 https://bugzilla.gnome.org/show_bug.cgi?id=735193
6181 tests/test_everything.py | 25 +++++++++++++++++++------
6182 1 file changed, 19 insertions(+), 6 deletions(-)
6184 commit 6674701b6de02353738b9dc04ab88de23996704e
6185 Author: Simon Feltman <sfeltman@src.gnome.org>
6186 Date: Thu Sep 11 19:08:53 2014 -0700
6188 tests: Split array tests up
6190 Split test_everything.TestEverything.test_array(),
6191 test_array_fixed_size(),
6192 and test_ptrarray() into functions of a finer granularity. This
6194 easier diagnosis of problems and leaks when they occur.
6196 https://bugzilla.gnome.org/show_bug.cgi?id=735193
6198 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
6199 1 file changed, 32 insertions(+), 5 deletions(-)
6201 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
6202 Author: Simon Feltman <sfeltman@src.gnome.org>
6203 Date: Thu Sep 11 16:17:13 2014 -0700
6205 tests: Split test_strv() into multiple tests
6207 https://bugzilla.gnome.org/show_bug.cgi?id=735193
6209 tests/test_everything.py | 10 +++++++++-
6210 1 file changed, 9 insertions(+), 1 deletion(-)
6212 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
6213 Author: Simon Feltman <sfeltman@src.gnome.org>
6214 Date: Wed Sep 10 19:06:35 2014 -0700
6216 Fix invalid read error in argument cleanup code
6218 Always set initial length argument index for arrays to -1. Ensure
6220 attempt retrieving Python cleanup arguments until we know it is valid.
6221 This was causing an invalid read in test_gi.TestArray.test_array_out()
6223 gi/pygi-array.c | 1 +
6224 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
6225 2 files changed, 9 insertions(+), 5 deletions(-)
6227 commit 972e944ad4b2aac03c61633b8c277e35395c114c
6228 Author: Simon Feltman <sfeltman@src.gnome.org>
6229 Date: Wed Sep 10 18:55:45 2014 -0700
6231 tests: Increase num-callers for valgrind runs
6233 Additionally split valgrind check variations over multiple lines
6236 tests/Makefile.am | 23 ++++++++++++++++++++---
6237 1 file changed, 20 insertions(+), 3 deletions(-)
6239 commit d70b300c7415dd7b20ff88b09fe835690da19831
6240 Author: Simon Feltman <sfeltman@src.gnome.org>
6241 Date: Sat Sep 6 23:58:25 2014 -0700
6243 Fix memory management problems with struct arguments to signals
6245 Replicate struct marshaling logic for determining if struct arguments
6246 to signals should be passed by reference to callbacks.
6247 Maintain a list of these structs and apply an in-place copy of
6249 pointer if the struct wrapper is held longer than the duration of the
6250 Python callback. This allows for both mutation of struct arguments
6252 callbacks as well as memory safety incase a callbacks holds onto
6255 https://bugzilla.gnome.org/show_bug.cgi?id=736175
6257 gi/pygi-boxed.c | 20 ++++++++++++++++++++
6258 gi/pygi-boxed.h | 2 ++
6259 gi/pygi-signal-closure.c | 43
6260 +++++++++++++++++++++++++++++++++++++------
6261 tests/test_overrides_gtk.py | 1 -
6262 tests/test_signal.py | 27 +++++++++++++++++++++++++++
6263 5 files changed, 86 insertions(+), 7 deletions(-)
6265 commit 09161ff690ad37c94668d5d65191f4d84829d41f
6266 Author: Simon Feltman <sfeltman@src.gnome.org>
6267 Date: Sun Sep 7 15:53:35 2014 -0700
6269 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
6271 Add struct type check before calling g_struct_info_is_foreign().
6273 https://bugzilla.gnome.org/show_bug.cgi?id=736175
6275 gi/pygi-argument.c | 11 ++++++++---
6276 gi/pygi-struct-marshal.c | 7 +++++--
6277 2 files changed, 13 insertions(+), 5 deletions(-)
6279 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
6280 Author: Simon Feltman <sfeltman@src.gnome.org>
6281 Date: Sat Sep 6 15:16:06 2014 -0700
6283 tests: Add failing regression test for Gtk.TextBuffer.insert-text
6286 https://bugzilla.gnome.org/show_bug.cgi?id=736175
6288 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
6289 1 file changed, 19 insertions(+)
6291 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
6292 Author: Simon Feltman <sfeltman@src.gnome.org>
6293 Date: Mon Sep 1 17:36:46 2014 -0700
6295 configure.ac: post release version bump to 3.13.92
6298 1 file changed, 1 insertion(+), 1 deletion(-)
6300 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
6301 Author: Simon Feltman <sfeltman@src.gnome.org>
6302 Date: Mon Sep 1 17:31:39 2014 -0700
6306 NEWS | 15 +++++++++++++++
6307 1 file changed, 15 insertions(+)
6309 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
6310 Author: Simon Feltman <sfeltman@src.gnome.org>
6311 Date: Mon Sep 1 16:48:15 2014 -0700
6313 docs: Skip "Constructors" header for anonymous structs
6315 Structs which don't have a size or constructor should not procuce
6317 string. The trailing "::" was causing a problem with sphinx.
6319 gi/docstring.py | 8 ++++++--
6320 tests/test_docstring.py | 3 ++-
6321 2 files changed, 8 insertions(+), 3 deletions(-)
6323 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
6324 Author: Simon Feltman <sfeltman@src.gnome.org>
6325 Date: Mon Sep 1 15:21:04 2014 -0700
6327 docs: Fix error when using may_return_null()
6329 Fix error with an untested code path opened up by commit 1f78dc0ace.
6331 gi/docstring.py | 3 ++-
6332 tests/test_docstring.py | 4 ++++
6333 2 files changed, 6 insertions(+), 1 deletion(-)
6335 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
6336 Author: Simon Feltman <sfeltman@src.gnome.org>
6337 Date: Fri Aug 29 16:49:14 2014 -0700
6339 docs: Fix function doc string generator return types
6341 Change skip_return() access into a function call. This was causing
6342 return type doc strings to always be skipped.
6344 gi/docstring.py | 2 +-
6345 tests/test_docstring.py | 8 ++++++--
6346 2 files changed, 7 insertions(+), 3 deletions(-)
6348 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
6349 Author: Simon Feltman <sfeltman@src.gnome.org>
6350 Date: Fri Aug 29 14:18:28 2014 -0700
6352 Special case signal output arguments which are structs as
6355 Add a special case which avoids copying of struct arguments marked
6357 to signals. Since we don't currently support output arguments,
6359 come to rely on a pass-by-reference bug which was fixed and caused
6361 regress (bug 722899). Add unittest which is currently failing due
6363 of issues with emit() not supporting type annotations or output
6367 https://bugzilla.gnome.org/show_bug.cgi?id=735486
6369 gi/pygi-signal-closure.c | 41
6370 +++++++++++++++++++++++++++++++++++------
6371 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
6372 2 files changed, 59 insertions(+), 6 deletions(-)
6374 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
6375 Author: Simon Feltman <sfeltman@src.gnome.org>
6376 Date: Wed Aug 27 23:55:06 2014 -0700
6378 Ignore closure callbacks when Python is not initialized
6380 Add an immediate return in ffi closures if Python is not initialized.
6381 This fixes rare events when which lead to a segfault when a process
6384 https://bugzilla.gnome.org/show_bug.cgi?id=722562
6386 gi/pygi-closure.c | 7 +++++++
6387 1 file changed, 7 insertions(+)
6389 commit 27a14679dce33f64bbb5d77677eba83849f168ff
6390 Author: Christoph Reiter <reiter.christoph@gmail.com>
6391 Date: Fri Aug 22 21:51:31 2014 -0700
6393 Change boxed init with args to warn instead of raise
6395 Replace raising a TypeError in gi.types.Boxed() with a warning.
6396 Even though passing arguments or keywords to the parent class is
6397 incorrect here, raising an exception was causing a bit of fallout
6398 in some apps (Gramps).
6400 https://bugzilla.gnome.org/show_bug.cgi?id=727810
6402 gi/pygi-boxed.c | 5 ++++-
6403 tests/test_gi.py | 13 +++++++++++--
6404 2 files changed, 15 insertions(+), 3 deletions(-)
6406 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
6407 Author: Simon Feltman <sfeltman@src.gnome.org>
6408 Date: Fri Aug 22 02:16:10 2014 -0700
6410 tests: Add test for GLib.spawn_async_with_pipes()
6412 https://bugzilla.gnome.org/show_bug.cgi?id=735213
6414 tests/test_signal.py | 2 +-
6415 tests/test_subprocess.py | 17 +++++++++++++++++
6416 2 files changed, 18 insertions(+), 1 deletion(-)
6418 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
6419 Author: Simon Feltman <sfeltman@src.gnome.org>
6420 Date: Thu Aug 21 17:16:31 2014 -0700
6422 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
6424 This was accidentally pushed.
6425 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
6427 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
6428 gi/overrides/GLib.py | 12 +++++++-----
6429 2 files changed, 46 insertions(+), 5 deletions(-)
6431 commit b7a4e68a224ab66f67e45667023f74dd743e6177
6432 Author: Christoph Reiter <reiter.christoph@gmail.com>
6433 Date: Fri Aug 22 01:04:40 2014 +0200
6435 Fix crash in GList/GSList marshaling error handling path.
6437 In case PySequence_GetItem() failed, the retured NULL was passed
6440 https://bugzilla.gnome.org/show_bug.cgi?id=735201
6442 gi/pygi-list.c | 4 ++--
6443 tests/test_gi.py | 16 ++++++++++++++++
6444 2 files changed, 18 insertions(+), 2 deletions(-)
6446 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
6447 Author: Simon Feltman <sfeltman@src.gnome.org>
6448 Date: Thu Aug 21 15:11:39 2014 -0700
6450 Replace statically bound GLib.Variant.new_tuple() with GI
6452 Remove the static implementation of _wrap_pyg_variant_new_tuple with
6453 usage of the dynamic version coming from GI. Array marshalling has
6454 drastically improved in recent years making the dynamic version usable
6455 with a small compatibility shim for the arguments.
6457 https://bugzilla.gnome.org/show_bug.cgi?id=735199
6459 gi/gimodule.c | 39 ---------------------------------------
6460 gi/overrides/GLib.py | 12 +++++-------
6461 2 files changed, 5 insertions(+), 46 deletions(-)
6463 commit c1d387540a0b2db66e860c574b070051a5431914
6464 Author: Simon Feltman <sfeltman@src.gnome.org>
6465 Date: Thu Aug 21 14:37:14 2014 -0700
6467 Fix reference counting problems with GLib.Variant.new_tuple()
6469 Always sink the results of g_variant_new_tuple() in the statically
6470 bound wrapper. This matches the generic GI marshalling behavior
6471 of passing GVariants to Python with transfer-none.
6473 https://bugzilla.gnome.org/show_bug.cgi?id=735166
6476 tests/test_overrides_glib.py | 7 +++++++
6477 2 files changed, 8 insertions(+)
6479 commit 9ce261f27742ba200f70003f162291a375d244d3
6480 Author: Simon Feltman <sfeltman@src.gnome.org>
6481 Date: Tue Aug 19 14:57:31 2014 -0700
6483 configure.ac: Fix darwin builds
6485 Merge platform_win32 and os_win32 variables/case statements and
6486 define "link_python_libs" for win32 as well as darwin.
6488 https://bugzilla.gnome.org/show_bug.cgi?id=735068
6490 configure.ac | 30 +++++++++++-------------------
6491 1 file changed, 11 insertions(+), 19 deletions(-)
6493 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
6494 Author: Simon Feltman <sfeltman@src.gnome.org>
6495 Date: Wed Aug 20 13:39:31 2014 -0700
6497 Skip marshalling NULL output arguments in Python closures
6499 Skip marshalling optional output arguments which are passed NULL
6500 as the memory location. This fixes fallout from bug 727004.
6502 https://bugzilla.gnome.org/show_bug.cgi?id=735090
6504 gi/pygi-closure.c | 3 ++-
6505 1 file changed, 2 insertions(+), 1 deletion(-)
6507 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
6508 Author: Simon Feltman <sfeltman@src.gnome.org>
6509 Date: Mon Aug 18 19:10:36 2014 -0700
6511 configure.ac: post release version bump to 3.13.91
6514 1 file changed, 1 insertion(+), 1 deletion(-)
6516 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
6517 Author: Simon Feltman <sfeltman@src.gnome.org>
6518 Date: Mon Aug 18 19:07:10 2014 -0700
6522 NEWS | 15 +++++++++++++++
6523 1 file changed, 15 insertions(+)
6525 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
6526 Author: Simon Feltman <sfeltman@src.gnome.org>
6527 Date: Mon Aug 18 18:57:28 2014 -0700
6529 configure.ac: pre release version bump to 3.13.90
6532 1 file changed, 1 insertion(+), 1 deletion(-)
6534 commit 3b5b590599ca98cc51871878618cd59fc05212d1
6535 Author: Simon Feltman <sfeltman@src.gnome.org>
6536 Date: Mon Aug 18 02:33:54 2014 -0700
6538 gtk-demo: Don't use deprecated constructor for Gtk.Label
6540 demos/gtk-demo/demos/pickers.py | 2 +-
6541 1 file changed, 1 insertion(+), 1 deletion(-)
6543 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
6544 Author: Simon Feltman <sfeltman@src.gnome.org>
6545 Date: Sat Aug 9 02:30:43 2014 -0700
6547 Fast path Python Property getter when accessed through GObject
6550 Break do_get_property() call into a re-usable function.
6551 Call do_get_property() Python implementations instead of going
6553 machinery for Python GObjects. This gives a performance boost
6555 GObject properties when accessed via. obj.get_property() and
6558 https://bugzilla.gnome.org/show_bug.cgi?id=723872
6560 gi/gobjectmodule.c | 11 ++++-------
6561 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
6562 gi/pygi-property.h | 3 +++
6563 3 files changed, 34 insertions(+), 15 deletions(-)
6565 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
6566 Author: Simon Feltman <sfeltman@src.gnome.org>
6567 Date: Sat Aug 9 02:10:11 2014 -0700
6569 Fast path Python Property getter when accessing descriptor directly
6571 Call the Python implemented fget() when a property is accessed
6573 on a Python implemented GObject. This skips going through the GObject
6574 machinery which ends up calling fget() and marshalling the results
6577 https://bugzilla.gnome.org/show_bug.cgi?id=723872
6579 gi/_propertyhelper.py | 19 +++++++++++++++----
6580 1 file changed, 15 insertions(+), 4 deletions(-)
6582 commit 74722386192ad27aac8855d4603d8120af82c98e
6583 Author: Simon Feltman <sfeltman@src.gnome.org>
6584 Date: Mon Aug 18 02:05:58 2014 -0700
6586 Don't use GI type for determining pointer extraction from GValues
6588 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
6589 pointers from GValues being marshalled from properties and signals.
6590 This fixes fallout from commit abdfb0f.
6592 gi/pygi-value.c | 10 ++++------
6593 1 file changed, 4 insertions(+), 6 deletions(-)
6595 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
6596 Author: Simon Feltman <sfeltman@src.gnome.org>
6597 Date: Fri Aug 8 23:58:17 2014 -0700
6599 Fast path property access for basic types
6601 Attempt marshalling with pygi_value_to_py_basic_type() prior to
6603 GI info. This gives a quick conversion for basic types like bools,
6605 strings without having to go through GIArgument and GI
6607 gives approximately a 3x performance boost for accessing these
6609 the unified GValue marshaller.
6611 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6613 gi/pygi-property.c | 9 +++++++++
6614 gi/pygi-value.c | 26 ++++++++++++++++++--------
6615 2 files changed, 27 insertions(+), 8 deletions(-)
6617 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
6618 Author: Simon Feltman <sfeltman@src.gnome.org>
6619 Date: Fri Aug 8 16:31:01 2014 -0700
6621 Break pyg_value_as_pyobject into two functions
6623 Add pygi_value_to_py_basic_type() which is limited to handling basic
6624 types that don't need introspection information when marshalling
6626 Add pygi_value_to_py_structured_type() for marshalling of structured
6628 which can eventually accept GI type hints.
6630 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6632 gi/pygi-value.c | 74
6633 +++++++++++++++++++++++++++++++++++++++++++++++----------
6634 gi/pygi-value.h | 6 +++++
6635 2 files changed, 68 insertions(+), 12 deletions(-)
6637 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
6638 Author: Simon Feltman <sfeltman@src.gnome.org>
6639 Date: Fri Aug 8 20:55:28 2014 -0700
6641 Unify property getters
6643 Consolidate duplicate logic into pygi_get_property_value().
6644 Use the function for GObject.get_property(), GObject.get_properties(),
6646 Remove overridden expected failures in TestCGetPropertyMethod which
6647 now work due to the unification.
6649 https://bugzilla.gnome.org/show_bug.cgi?id=733893
6650 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6652 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
6653 gi/pygi-property.h | 4 ++
6655 +++++++-----------------------------------------
6656 tests/test_properties.py | 38 -------------------
6657 4 files changed, 77 insertions(+), 147 deletions(-)
6659 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
6660 Author: Simon Feltman <sfeltman@src.gnome.org>
6661 Date: Mon Jul 28 19:09:30 2014 -0700
6663 Merge pygi_get_property_value and _pygi_argument_from_g_value
6665 Merge duplicated GValue marshaling code which has diverged over time
6666 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
6668 Use _pygi_argument_to_array within pygi_get_property_value. This
6670 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
6672 Side effects of this change also include support for properties
6674 G_TYPE_FLAGS and G_TYPE_PARAM.
6676 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6678 gi/pygi-property.c | 140
6679 +++++------------------------------------------------
6680 gi/pygi-value.c | 24 ++++++---
6681 2 files changed, 28 insertions(+), 136 deletions(-)
6683 commit 142ff1903d34876db3d1bee5e9782ac49de12313
6684 Author: Simon Feltman <sfeltman@src.gnome.org>
6685 Date: Mon Jul 28 04:40:36 2014 -0700
6687 Never dup data structures when marshaling signal in arguments
6689 Always assume transfer-none of GValue arguments to signal handlers.
6690 A signal handler with arguments marked as transfer-full does not
6691 make any sense, so assume they are always transfer-none.
6693 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6695 gi/pygi-signal-closure.c | 4 +---
6696 gi/pygi-value.c | 4 +++-
6697 2 files changed, 4 insertions(+), 4 deletions(-)
6699 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
6700 Author: Simon Feltman <sfeltman@src.gnome.org>
6701 Date: Mon Jul 28 04:23:39 2014 -0700
6703 Never dup data structures when marshaling from g_object_get_property()
6705 Always use transfer-none with the results of g_object_get_property()
6706 and assume g_value_unset() will cleanup the results. This gives us
6707 control over memory of properties and limits property anotations to
6710 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6712 gi/pygi-property.c | 24 +++++++-----------------
6713 1 file changed, 7 insertions(+), 17 deletions(-)
6715 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
6716 Author: Simon Feltman <sfeltman@src.gnome.org>
6717 Date: Tue Jul 29 19:29:28 2014 -0700
6719 Refactor boxed wrapper memory management strategy
6721 Change pygi_boxed_new() to accept "copy_boxed" instead of
6723 This changes memory management so the PyGIBoxed wrapper owns the boxed
6724 pointer given to it. Use __del__ instead of dealloc for freeing
6726 memory. This is needed for edge cases where objects like GSource can
6727 trigger the finalized callback during de-alloc, resulting in the
6729 references counts being manipulated and triggering a re-entrant
6731 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
6733 which rely on pass-by-reference.
6734 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
6736 https://bugzilla.gnome.org/show_bug.cgi?id=722899
6738 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6740 gi/gimodule.c | 6 +++-
6741 gi/overrides/GLib.py | 4 ---
6742 gi/overrides/GObject.py | 3 ++
6743 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
6744 gi/pygi-boxed.h | 4 +--
6745 gi/pygi-source.c | 6 ++--
6746 gi/pygi-struct-marshal.c | 81
6747 +++++++++++++++++++++++++++++++++++++++++++++---
6748 tests/test_gi.py | 1 -
6749 tests/test_source.py | 8 +++--
6750 9 files changed, 140 insertions(+), 27 deletions(-)
6752 commit 62aed0977090f7099a5e538209f7c680ea22fe12
6753 Author: Simon Feltman <sfeltman@src.gnome.org>
6754 Date: Sun Aug 17 19:04:51 2014 -0700
6756 Replace GObject.signal_query with introspected version
6758 Remove the static bindings for GObject.signal_query and replace with a
6759 Python compatibility shim which utilizes the introspection exposed
6763 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6765 gi/gobjectmodule.c | 89
6766 -------------------------------------------------
6767 gi/overrides/GObject.py | 39 ++++++++++++----------
6768 2 files changed, 21 insertions(+), 107 deletions(-)
6770 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
6771 Author: Simon Feltman <sfeltman@src.gnome.org>
6772 Date: Sun Aug 17 19:03:32 2014 -0700
6774 Use array lengths specified on struct fields
6776 Add array length marshalling policy for struct fields. This fixes
6778 C array fields on structs which also specify a length field.
6780 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6782 gi/pygi-argument.c | 14 ++++++-------
6783 gi/pygi-argument.h | 4 ++++
6785 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
6786 3 files changed, 68 insertions(+), 9 deletions(-)
6788 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
6789 Author: Simon Feltman <sfeltman@src.gnome.org>
6790 Date: Sun Aug 17 18:15:23 2014 -0700
6792 Refactor signal array length marshalling to support a length policy
6794 Replace passing arrays of data to non-caching array marshallers with
6796 closure that can be customized depending on context. In the case
6798 this is mostly scaffolding which will be replaced with caching
6800 However, it opens the legacy marshaller for usage with struct
6804 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6806 gi/pygi-argument.c | 70
6807 ++++++++++++++++++++++++++++++++----------------
6808 gi/pygi-argument.h | 14 +++++++---
6809 gi/pygi-signal-closure.c | 8 ++++--
6810 3 files changed, 64 insertions(+), 28 deletions(-)
6812 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
6813 Author: Simon Feltman <sfeltman@src.gnome.org>
6814 Date: Sun Aug 17 13:58:10 2014 -0700
6816 Remove dead code for marshalling array lengths in the context
6819 Remove usage of the args parameter from _pygi_argument_to_array. This
6821 longer used because array marshalling for vfuncs is now handled by
6825 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6827 gi/pygi-argument.c | 24 +++++++++---------------
6828 1 file changed, 9 insertions(+), 15 deletions(-)
6830 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
6831 Author: Simon Feltman <sfeltman@src.gnome.org>
6832 Date: Sun Aug 17 21:53:55 2014 -0700
6834 Fix memory leak with unboxed caller allocated structs
6836 Take caller-allocates into account when wrapping unboxed structures.
6837 This will free the allocated memory when the Python object is
6840 gi/pygi-struct-marshal.c | 2 +-
6841 1 file changed, 1 insertion(+), 1 deletion(-)
6843 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
6844 Author: Simon Feltman <sfeltman@src.gnome.org>
6845 Date: Sat Aug 16 22:34:29 2014 -0700
6847 tests: Add reference count test for signal connection arguments
6849 Add tests for ensuring reference counts are what we expect for
6850 connect() callback, user_data, and swap object (currently broken
6853 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6855 tests/test_signal.py | 133
6856 +++++++++++++++++++++++++++++++++++++++++++++++++++
6857 1 file changed, 133 insertions(+)
6859 commit 7076669aadfc5227144df87277d69ae66865770a
6860 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
6861 Date: Sat Aug 16 17:46:50 2014 -0700
6863 Don't mask GObject sub-class doc strings in meta-class
6865 If a class has a __doc__ attribute explicitly set, always return it.
6866 Only generate doc strings for classes coming from gi.repository
6869 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6871 https://bugzilla.gnome.org/show_bug.cgi?id=731452
6873 https://bugzilla.gnome.org/show_bug.cgi?id=734926
6875 gi/types.py | 12 +++++++++++-
6876 tests/test_docstring.py | 2 --
6877 2 files changed, 11 insertions(+), 3 deletions(-)
6879 commit 4cdca4328da7442be247e775294fc676cf677bb7
6880 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
6881 Date: Sat Aug 16 15:06:40 2014 -0700
6883 tests: Add failing tests for GObject sub-class doc-strings
6885 Add tests for sub-class docstrings set with either doc-string
6886 syntax and by setting the __doc__ attribute directly.
6888 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6890 https://bugzilla.gnome.org/show_bug.cgi?id=731452
6892 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
6893 1 file changed, 39 insertions(+)
6895 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
6896 Author: Simon Feltman <sfeltman@src.gnome.org>
6897 Date: Thu Aug 14 22:47:14 2014 -0700
6899 configure.ac: post release version bump to 3.13.5
6902 1 file changed, 1 insertion(+), 1 deletion(-)
6904 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
6905 Author: Simon Feltman <sfeltman@src.gnome.org>
6906 Date: Thu Aug 14 22:42:27 2014 -0700
6910 NEWS | 22 ++++++++++++++++++++++
6911 1 file changed, 22 insertions(+)
6913 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
6914 Author: Simon Feltman <sfeltman@src.gnome.org>
6915 Date: Thu Aug 14 18:33:06 2014 -0700
6917 Fix invalid unref after getting callable container
6919 Don't unref the results of g_base_info_get_container() because it is
6920 transfer-none. This was causing an attempted unref on an invalid
6922 when setting up callback caches for signals.
6924 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6926 gi/pygi-cache.c | 2 --
6927 1 file changed, 2 deletions(-)
6929 commit 654c28faffc8d956bd31987adca092fa014cc897
6930 Author: Simon Feltman <sfeltman@src.gnome.org>
6931 Date: Thu Aug 14 21:31:33 2014 -0700
6933 tests: Silence valgrindlog and valgrindxml output from forked procs
6935 This is needed to properly diff valgrind runs between commits.
6937 tests/Makefile.am | 4 ++--
6938 1 file changed, 2 insertions(+), 2 deletions(-)
6940 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
6941 Author: Simon Feltman <sfeltman@src.gnome.org>
6942 Date: Wed Aug 13 10:27:01 2014 -0700
6944 Remove ffi wrapped destroy notify used for closure cleanup
6946 Remove global ffi wrapper for _pygi_invoke_closure_free() and
6948 a pointer to _pygi_invoke_closure_free() directly. There is no need
6950 a known single use function with an ffi closure. Originally
6952 commit 610dd1eec87f.
6954 gi/pygi-closure.c | 49 +------------------------------------------------
6955 1 file changed, 1 insertion(+), 48 deletions(-)
6957 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
6958 Author: Simon Feltman <sfeltman@src.gnome.org>
6959 Date: Tue Aug 12 22:19:24 2014 -0700
6961 tests: Update tests for static binding protection to check
6964 tests/test_import_machinery.py | 10 +++++-----
6965 1 file changed, 5 insertions(+), 5 deletions(-)
6967 commit e674340db90c29c556b45e0a8f8b2da72661b738
6968 Author: Simon Feltman <sfeltman@src.gnome.org>
6969 Date: Mon Aug 11 23:12:38 2014 -0700
6971 Use AttributeError for static binding protection
6973 Replace usage of RuntimeError with AttributeError in the dummy module
6974 protecting importing of static bindings. This is needed so we
6976 modules like inspect which is used by ipython.
6978 gi/__init__.py | 2 +-
6979 1 file changed, 1 insertion(+), 1 deletion(-)
6981 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
6982 Author: Simon Feltman <sfeltman@src.gnome.org>
6983 Date: Mon Aug 11 22:47:14 2014 -0700
6985 Add deprecation warning for connect_object() with non-GObject argument
6987 GObject.connect_object() accepts any Python object and holds a strong
6988 reference to it in the closure defeating the purpose of
6990 Add a warning so we can eventually limit connect_object() to GObject
6992 use the underlying g_signal_connect_object() which holds a weak
6995 https://bugzilla.gnome.org/show_bug.cgi?id=688064
6997 gi/pygobject.c | 9 +++++++++
6998 1 file changed, 9 insertions(+)
7000 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
7001 Author: Simon Feltman <sfeltman@src.gnome.org>
7002 Date: Mon Aug 11 22:39:13 2014 -0700
7004 tests: Add tests for connect_object()
7006 Add tests for both introspected and non-introspected signals
7008 of connect_object() and connect_object_after() in combination
7010 and Python object swap data.
7012 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7014 tests/test_signal.py | 139
7015 +++++++++++++++++++++++++++++++++++++++++++--------
7016 1 file changed, 117 insertions(+), 22 deletions(-)
7018 commit 581acc4c56be127b3a724df504bb46a40959fdd9
7019 Author: Simon Feltman <sfeltman@src.gnome.org>
7020 Date: Mon Aug 11 21:21:42 2014 -0700
7022 Add Python implementation of Object.connect_data()
7024 Add GObject.Object.connect_data() which takes an optional
7026 keyword argument accepting GObject.ConnectFlags enum values. This is
7027 for supporting user data swapping (ConnectFlags.SWAPPED).
7029 https://bugzilla.gnome.org/show_bug.cgi?id=701843
7031 gi/overrides/GObject.py | 37 ++++++++++++++++
7032 tests/test_signal.py | 109
7033 ++++++++++++++++++++++++++++++++++++++++++++++++
7034 2 files changed, 146 insertions(+)
7036 commit b1caef95c4b68b65f3f159563162afde5a0b0939
7037 Author: Simon Feltman <sfeltman@src.gnome.org>
7038 Date: Sat Aug 9 02:14:23 2014 -0700
7040 tests: Add failing tests which verify exceptions raised in property
7043 https://bugzilla.gnome.org/show_bug.cgi?id=575652
7045 tests/test_properties.py | 17 +++++++++++++++++
7046 1 file changed, 17 insertions(+)
7048 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
7049 Author: Garrett Regier <Garrett.Regier@riftio.com>
7050 Date: Fri Aug 8 10:08:23 2014 -0400
7052 Cleanup input args when marshaling in closures
7054 The cleanup must happen before setting the out args otherwise
7055 the args that cleanup would free are the just set args, not the
7058 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7060 gi/pygi-closure.c | 2 +-
7061 1 file changed, 1 insertion(+), 1 deletion(-)
7063 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
7064 Author: Simon Feltman <sfeltman@src.gnome.org>
7065 Date: Fri Aug 8 02:47:11 2014 -0700
7067 tests: Fix Python 2 build for newly added test_array_parm()
7069 Use @unittest.skip() with a string argument as required by Python 2.
7071 tests/test_signal.py | 2 +-
7072 1 file changed, 1 insertion(+), 1 deletion(-)
7074 commit 3165c17a455652de9a61439428fa40f30120dc6a
7075 Author: Simon Feltman <sfeltman@src.gnome.org>
7076 Date: Fri Aug 8 02:46:26 2014 -0700
7078 Remove incorrect and unused casts from tp_free calls
7080 Arguments to Py_TYPE() do not need to be cast since the macro
7082 to a PyObject* internall.
7084 gi/pygi-boxed.c | 2 +-
7085 gi/pygi-ccallback.c | 2 +-
7086 gi/pygi-info.c | 2 +-
7087 gi/pygi-struct.c | 2 +-
7088 4 files changed, 4 insertions(+), 4 deletions(-)
7090 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
7091 Author: Simon Feltman <sfeltman@src.gnome.org>
7092 Date: Fri Aug 8 02:33:51 2014 -0700
7094 Fix GCallback Python wrapper leak
7096 The PyObject wrapper for GCallbacks was not calling tp_free in
7098 tp_dealloc class method.
7100 https://bugzilla.gnome.org/show_bug.cgi?id=695130
7102 gi/pygi-ccallback.c | 2 ++
7103 1 file changed, 2 insertions(+)
7105 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
7106 Author: Martin Pitt <martinpitt@gnome.org>
7107 Date: Fri Aug 8 01:55:21 2014 -0700
7109 tests: Add failing test for marshalling an array of GValues through
7112 https://bugzilla.gnome.org/show_bug.cgi?id=669496
7114 tests/test_signal.py | 12 ++++++++++++
7115 1 file changed, 12 insertions(+)
7117 commit d689d24f271c30612c6a86b5c51d50a1179aedad
7118 Author: Simon Feltman <sfeltman@src.gnome.org>
7119 Date: Thu Aug 7 17:52:35 2014 -0700
7121 tests: Add tests for GApplication local command line handling
7123 Add various tests which override Gio.Appliction.do_command_line and
7124 do_local_command_line.
7126 https://bugzilla.gnome.org/show_bug.cgi?id=690851
7128 tests/test_gio.py | 65
7129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
7130 1 file changed, 65 insertions(+)
7132 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
7133 Author: Garrett Regier <Garrett.Regier@riftio.com>
7134 Date: Thu Aug 7 12:25:59 2014 -0400
7136 Add test for a callback with an inout array
7138 This was broken until the closures used the caches for marshaling.
7140 https://bugzilla.gnome.org/show_bug.cgi?id=702508
7142 tests/test_everything.py | 19 +++++++++++++++++++
7143 1 file changed, 19 insertions(+)
7145 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
7146 Author: Garrett Regier <Garrett.Regier@riftio.com>
7147 Date: Thu Aug 7 12:06:30 2014 -0400
7149 Fix raising an error in a constructor
7151 It should raise a Python exception instead of warnings about
7152 a constructor returning NULL.
7154 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7156 gi/pygi-cache.c | 6 +++---
7157 tests/test_gi.py | 6 ++++++
7158 2 files changed, 9 insertions(+), 3 deletions(-)
7160 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
7161 Author: Garrett Regier <Garrett.Regier@riftio.com>
7162 Date: Wed Aug 6 15:30:58 2014 -0400
7164 Use the caches for marshaling the arguments in closures
7166 Changes to object marshaling when the calling context is from
7167 C was required to correctly keep the correct floating status.
7169 The array cache has been modified to set to/from_py_marshaller
7170 for the length arg cache. This is required for closures which include
7171 the length arg for backwards compatibility. The closure cache takes
7172 care to change the length arg cache's meta type so it gets marshalled
7175 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7177 gi/pygi-array.c | 5 +-
7178 gi/pygi-basictype.c | 4 +-
7179 gi/pygi-basictype.h | 36 +++--
7180 gi/pygi-cache.c | 30 +++-
7181 gi/pygi-closure.c | 403
7182 ++++++++++++++++++++++++++++------------------------
7183 gi/pygi-invoke.c | 3 +-
7184 6 files changed, 271 insertions(+), 210 deletions(-)
7186 commit 9337acf98d783777c94d4bcb912a185ba6791efb
7187 Author: Garrett Regier <Garrett.Regier@riftio.com>
7188 Date: Wed Aug 6 12:14:27 2014 -0400
7190 Specialize GObject marshaling when called from C
7192 These are needed otherwise the floating status of
7193 the GObject will not be kept.
7195 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7197 gi/pygi-object.c | 86
7198 +++++++++++++++++++++++++++++++++++++++++++++++---------
7199 1 file changed, 72 insertions(+), 14 deletions(-)
7201 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
7202 Author: Garrett Regier <Garrett.Regier@riftio.com>
7203 Date: Wed Aug 6 11:59:09 2014 -0400
7205 Move special handling of GObject from Python when calling from C
7207 This will soon be used in the GObject arg cache marshaling when
7208 the calling context is C.
7210 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7212 gi/pygi-argument.c | 21 +--------------------
7213 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
7214 gi/pygi-object.h | 5 +++++
7215 3 files changed, 36 insertions(+), 20 deletions(-)
7217 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
7218 Author: Garrett Regier <Garrett.Regier@riftio.com>
7219 Date: Wed Aug 6 11:53:39 2014 -0400
7221 Always pass along the callable cache to the arg cache constructors
7223 This will be needed in a future patch which requires that the callable
7224 cache is always available.
7226 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7228 gi/pygi-array.c | 20 ++++++++++++--------
7229 gi/pygi-array.h | 9 +++++----
7230 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
7231 gi/pygi-cache.h | 7 ++++---
7232 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
7233 gi/pygi-hashtable.h | 9 +++++----
7234 gi/pygi-list.c | 30 +++++++++++++++++++-----------
7235 gi/pygi-list.h | 9 +++++----
7236 gi/pygi-object.c | 25 ++++++++++++++-----------
7237 gi/pygi-object.h | 3 ++-
7238 10 files changed, 103 insertions(+), 74 deletions(-)
7240 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
7241 Author: Garrett Regier <Garrett.Regier@riftio.com>
7242 Date: Tue Aug 5 10:42:46 2014 -0400
7244 Set the correct meta type for GErrors when marshaling to Python
7246 Otherwise we do not pass the GError into python callbacks and
7247 we also want to convert these into Python Exceptions.
7249 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7251 gi/pygi-error.c | 2 +-
7252 1 file changed, 1 insertion(+), 1 deletion(-)
7254 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
7255 Author: Garrett Regier <Garrett.Regier@riftio.com>
7256 Date: Tue Aug 5 10:37:58 2014 -0400
7258 Pass the GIArgument to the closure assign functions
7260 This will be required once we use the caches for marshaling.
7262 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7264 gi/pygi-closure.c | 102
7265 ++++++++++++++++++++++++++----------------------------
7266 1 file changed, 50 insertions(+), 52 deletions(-)
7268 commit ca3579db14df278923674c294d07481a7255510f
7269 Author: Garrett Regier <Garrett.Regier@riftio.com>
7270 Date: Tue Aug 5 10:25:40 2014 -0400
7272 Use the caches for closures, but not yet for marshaling the arguments
7274 Instead of using the various GI functions we use the data from
7276 This also fixes generating an arg cache for a closure as it was
7278 data or simply setting incorrect data. Also, always included the
7280 until the closures no longer need it for marshaling the arguments.
7282 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7284 gi/pygi-cache.c | 33 +++++++-
7285 gi/pygi-cache.h | 4 +
7286 gi/pygi-closure.c | 245
7287 +++++++++++++++++++++++++-----------------------------
7288 gi/pygi-closure.h | 2 +
7289 4 files changed, 150 insertions(+), 134 deletions(-)
7291 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
7292 Author: Garrett Regier <Garrett.Regier@riftio.com>
7293 Date: Tue Aug 5 10:16:45 2014 -0400
7295 Correctly set the destroy notify for callbacks in closures
7297 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7299 gi/pygi-closure.c | 2 +-
7300 1 file changed, 1 insertion(+), 1 deletion(-)
7302 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
7303 Author: Garrett Regier <Garrett.Regier@riftio.com>
7304 Date: Fri Aug 1 11:40:08 2014 -0400
7306 Split the callable cache into the different types
7308 Instead of doing different things based on the various function types
7309 this adds vfuncs for generate_args_cache() and invoke() which are then
7310 specialized for the various function types. Also add a calling context
7311 to the callable cache which is then used to determine the direction
7312 when generating the arg caches.
7314 This is in preparation for adding closure caches.
7316 https://bugzilla.gnome.org/show_bug.cgi?id=727004
7318 gi/pygi-cache.c | 514
7319 +++++++++++++++++++++++++++++++-----------
7320 gi/pygi-cache.h | 96 +++++---
7321 gi/pygi-ccallback.c | 16 +-
7322 gi/pygi-info.c | 3 +-
7323 gi/pygi-invoke-state-struct.h | 2 -
7324 gi/pygi-invoke.c | 244 ++++++++------------
7325 gi/pygi-invoke.h | 4 +
7327 8 files changed, 564 insertions(+), 317 deletions(-)
7329 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
7330 Author: Ignacio Casal Quinteiro <icq@gnome.org>
7331 Date: Wed Aug 6 08:27:43 2014 +0200
7333 Generate .dll libraries on windows
7335 https://bugzilla.gnome.org/show_bug.cgi?id=734288
7337 configure.ac | 8 ++++++++
7338 tests/Makefile.am | 8 ++++----
7339 2 files changed, 12 insertions(+), 4 deletions(-)
7341 commit d70403357d6b510356dd375304fb97e458fd12b2
7342 Author: Simon Feltman <sfeltman@src.gnome.org>
7343 Date: Tue Aug 5 22:45:46 2014 -0700
7345 Add protection against attempts at importing static bindings
7347 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
7349 gi with dummy modules which produce an error upon access.
7351 https://bugzilla.gnome.org/show_bug.cgi?id=709183
7353 gi/__init__.py | 25 ++++++++++++++++++++++---
7354 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
7355 2 files changed, 46 insertions(+), 3 deletions(-)
7357 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
7358 Author: Simon Feltman <sfeltman@src.gnome.org>
7359 Date: Tue Dec 31 16:15:04 2013 -0800
7361 Update and deprecate gi.overrides.keysyms
7363 Replace manually assigned keysyms with a dynamically generated version
7364 pulling names and values from Gdk via GI. Add a runtime warning when
7365 this module is imported.
7367 https://bugzilla.gnome.org/show_bug.cgi?id=721295
7369 gi/overrides/keysyms.py | 1490
7370 +-------------------------------------------
7371 pygtkcompat/pygtkcompat.py | 14 +-
7372 2 files changed, 27 insertions(+), 1477 deletions(-)
7374 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
7375 Author: Alexey Pavlov <alexpux@gmail.com>
7376 Date: Tue Aug 5 19:03:38 2014 -0700
7378 Use -no-undefined for building on Windows
7380 See LT_INIT([win32-dll]):
7381 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
7383 Additionally add PYTHON_LIBS to testhelper.la linking.
7385 https://bugzilla.gnome.org/show_bug.cgi?id=734284
7387 tests/Makefile.am | 6 +++---
7388 1 file changed, 3 insertions(+), 3 deletions(-)
7390 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
7391 Author: Alexey Pavlov <alexpux@gmail.com>
7392 Date: Tue Aug 5 18:40:53 2014 -0700
7394 Use python-config for libs when available
7396 https://bugzilla.gnome.org/show_bug.cgi?id=734289
7398 m4/python.m4 | 7 ++++++-
7399 1 file changed, 6 insertions(+), 1 deletion(-)
7401 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
7402 Author: Alexey Pavlov <alexpux@gmail.com>
7403 Date: Tue Aug 5 18:20:25 2014 -0700
7405 Link gi.so with FFI_LIBS
7407 https://bugzilla.gnome.org/show_bug.cgi?id=734286
7409 gi/Makefile.am | 3 ++-
7410 1 file changed, 2 insertions(+), 1 deletion(-)
7412 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
7413 Author: Alexey Pavlov <alexpux@gmail.com>
7414 Date: Tue Aug 5 15:45:04 2014 +0200
7416 Include math headers also on mingw
7418 https://bugzilla.gnome.org/show_bug.cgi?id=734287
7420 gi/pygi-basictype.c | 2 --
7421 1 file changed, 2 deletions(-)
7423 commit 964ced98e03c704074d10cc362abfa14c00457ba
7424 Author: Garrett Regier <Garrett.Regier@riftio.com>
7425 Date: Thu Jul 31 10:16:47 2014 -0400
7427 Added args_offset to the cache instead of checking the function type
7429 gi/pygi-array.c | 6 ++----
7430 gi/pygi-cache.c | 6 +++---
7431 gi/pygi-cache.h | 3 +++
7432 gi/pygi-closure.c | 4 +---
7433 4 files changed, 9 insertions(+), 10 deletions(-)
7435 commit 9943d876059201cbee87f072a84234ed774ed932
7436 Author: Simon Feltman <sfeltman@src.gnome.org>
7437 Date: Thu Jul 31 21:51:00 2014 -0700
7439 doap: Update homepage URL and email address
7441 pygobject.doap | 4 ++--
7442 1 file changed, 2 insertions(+), 2 deletions(-)
7444 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
7445 Author: Simon Feltman <sfeltman@src.gnome.org>
7446 Date: Thu Jul 31 21:46:37 2014 -0700
7448 Change maintainer in PKG-INFO to self
7450 PKG-INFO.in | 4 ++--
7451 1 file changed, 2 insertions(+), 2 deletions(-)
7453 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
7454 Author: Andre Klapper <a9016009@gmx.de>
7455 Date: Thu Jul 31 21:28:12 2014 +0200
7457 doap: add <programming-language>
7459 pygobject.doap | 2 ++
7460 1 file changed, 2 insertions(+)
7462 commit f30001f2b01896577a2b4d956bc4658350e56b8d
7463 Author: Simon Feltman <sfeltman@src.gnome.org>
7464 Date: Wed Jul 30 00:29:01 2014 -0700
7466 Add GClosure marshalling cleanup
7468 Add marshalling cleanup for Python callables and boxed GClosures
7469 passed as arguments. Make sure the marshaller owns a reference
7470 until clean. Fix transfer everything case by adding a new reference.
7471 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
7473 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7475 gi/pygi-struct-marshal.c | 46
7476 ++++++++++++++++++++++++++++++++++++++--------
7477 gi/pygi-struct-marshal.h | 4 ----
7478 2 files changed, 38 insertions(+), 12 deletions(-)
7480 commit cf4e830f1b613736ef9586562eb6c0b354165925
7481 Author: Simon Feltman <sfeltman@src.gnome.org>
7482 Date: Wed Jul 30 12:42:15 2014 -0700
7484 Remove decrementing argument index for failed marshalling cleanup
7486 Remove index decrement when cleanup function is called for failed
7488 marshalling. The decrement is incorrect and causes the failed argument
7489 cleanup to be skipped. The decrement also causes cleanup for arguments
7490 prior to the failed argument to receive "was_successful" as FALSE,
7494 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7496 gi/pygi-invoke.c | 10 +++++-----
7497 1 file changed, 5 insertions(+), 5 deletions(-)
7499 commit 662a4421125d126a11ca163c362d205f0c2147c4
7500 Author: Simon Feltman <sfeltman@src.gnome.org>
7501 Date: Wed Jul 30 12:46:18 2014 -0700
7503 Use cleanup data for argument marshalling failures
7505 Use state->args_cleanup_data when cleaning up failed argument
7507 This was overlooked when cleanup data tracking was implemented
7510 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7512 gi/pygi-marshal-cleanup.c | 14 +++++++-------
7513 1 file changed, 7 insertions(+), 7 deletions(-)
7515 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
7516 Author: Olav Vitters <olav@vitters.nl>
7517 Date: Wed Jul 30 20:41:37 2014 +0200
7521 pygobject.doap | 2 +-
7522 1 file changed, 1 insertion(+), 1 deletion(-)
7524 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
7525 Author: Simon Feltman <sfeltman@src.gnome.org>
7526 Date: Mon Jul 28 23:51:19 2014 -0700
7528 tests: Move object property reference count tests to test_properties
7530 Move and consolidate tests for object property reference counts from
7531 tests_object_marshaling to test_properties.
7533 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7535 tests/test_object_marshaling.py | 68
7536 -----------------------------------------
7537 tests/test_properties.py | 36 ++++++++++++++++++++++
7538 2 files changed, 36 insertions(+), 68 deletions(-)
7540 commit 15b795354ca5a8f436779ee5d81936af8961acb5
7541 Author: Simon Feltman <sfeltman@src.gnome.org>
7542 Date: Mon Jul 28 22:20:44 2014 -0700
7544 tests: Move test_everything.TestProperties into test_properties
7546 Consolidate property tests found in test_everything into test_property
7547 removing redundant tests already found in test_property.
7549 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7551 tests/test_everything.py | 69
7552 +-----------------------------------------------
7553 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
7554 2 files changed, 60 insertions(+), 68 deletions(-)
7556 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
7557 Author: Simon Feltman <sfeltman@src.gnome.org>
7558 Date: Mon Jul 28 21:32:44 2014 -0700
7560 tests: Add tests for get/set_property()
7562 Re-use the new CPropertiesTestBase class for testing
7566 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7568 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
7569 1 file changed, 32 insertions(+)
7571 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
7572 Author: Simon Feltman <sfeltman@src.gnome.org>
7573 Date: Mon Jul 28 21:32:00 2014 -0700
7575 tests: Break TestPropertiesObject up for re-use
7577 Refactor TestPropertiesObject into a base class which abstracts
7579 property methods. This will allow re-use for testing both
7581 and the props accessor.
7583 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7585 tests/test_properties.py | 221
7586 +++++++++++++++++++++++++----------------------
7587 1 file changed, 118 insertions(+), 103 deletions(-)
7589 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
7590 Author: Simon Feltman <sfeltman@src.gnome.org>
7591 Date: Mon Jul 28 19:32:00 2014 -0700
7593 tests: Move test_gi.TestPropertiesObject into test_properties
7595 Move all property testing code into the test_properties module.
7597 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7599 tests/test_gi.py | 233
7600 ----------------------------------------------
7601 tests/test_properties.py | 235
7602 +++++++++++++++++++++++++++++++++++++++++++++++
7603 2 files changed, 235 insertions(+), 233 deletions(-)
7605 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
7606 Author: Simon Feltman <sfeltman@src.gnome.org>
7607 Date: Fri Jul 25 18:33:15 2014 -0700
7609 pyflakes: Fix legacy print and exception usage under Python 3
7611 Fix print statements and legacy exception usage in examples.
7613 https://bugzilla.gnome.org/show_bug.cgi?id=731042
7615 examples/properties.py | 12 ++++++------
7616 tests/runtests-windows.py | 4 ++--
7617 2 files changed, 8 insertions(+), 8 deletions(-)
7619 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
7620 Author: Simon Feltman <sfeltman@src.gnome.org>
7621 Date: Fri Jul 25 17:49:57 2014 -0700
7623 tests: Ignore warnings for GtkAlignment
7625 This was causing unittests to bail. Even though this is deprecated,
7626 we still need to test its usage in the context of pygtkcompat.
7628 tests/compat_test_pygtk.py | 15 ++++++++++++++-
7629 1 file changed, 14 insertions(+), 1 deletion(-)
7631 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
7632 Author: Simon Feltman <sfeltman@src.gnome.org>
7633 Date: Fri Jul 25 17:40:36 2014 -0700
7635 tests: Remove usage of deprecated "schema" property in GSettings
7638 Use new and new_with_path instead as the schema property was causing a
7639 hard warning which fails the test suite.
7641 tests/test_gio.py | 6 +++---
7642 1 file changed, 3 insertions(+), 3 deletions(-)
7644 commit 6b806137825891cc6bdad82a68cf3deb087feb70
7645 Author: Simon Feltman <sfeltman@src.gnome.org>
7646 Date: Fri Jul 25 17:35:06 2014 -0700
7648 tests: Ignore stock-id usage warnings
7650 Add ignore_glib_warnings context manager for easily ignoring warnings
7651 caused by stock-id usage. Even though stock-id is deprecated, we still
7652 need to test the related Python binding overrides.
7654 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
7655 1 file changed, 24 insertions(+), 16 deletions(-)
7657 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
7658 Author: Simon Feltman <sfeltman@src.gnome.org>
7659 Date: Mon Jun 23 15:55:57 2014 -0700
7661 configure.ac: post release version bump to 3.13.4
7664 1 file changed, 1 insertion(+), 1 deletion(-)
7666 commit 58198b6ae426448cde82cad7304018c7c770c0ea
7667 Author: Simon Feltman <sfeltman@src.gnome.org>
7668 Date: Mon Jun 23 15:53:03 2014 -0700
7673 1 file changed, 8 insertions(+)
7675 commit cdf8c40768b00d08a1facca696a042efc6e8988f
7676 Author: Simon Feltman <sfeltman@src.gnome.org>
7677 Date: Thu May 29 13:02:44 2014 -0700
7679 demos: Cleanup CSS accordion demo to use a loop for adding buttons
7681 Also use Gtk.main_quit directly since it has been overridden to accept
7684 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
7685 1 file changed, 3 insertions(+), 18 deletions(-)
7687 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
7688 Author: Simon Feltman <sfeltman@src.gnome.org>
7689 Date: Tue May 27 19:24:20 2014 -0700
7691 refactor: Move builder connection utilities outside of Builder class
7693 Move _extract_handler_and_args and _builder_connect_callback into
7695 scope for re-use by GTK+ Composite Templates.
7697 https://bugzilla.gnome.org/show_bug.cgi?id=701843
7699 gi/overrides/Gtk.py | 83
7700 ++++++++++++++++++++++++---------------------
7701 tests/test_overrides_gtk.py | 8 ++---
7702 2 files changed, 48 insertions(+), 43 deletions(-)
7704 commit f127fabe9664b243774b76a68e6fce5986aa23a0
7705 Author: Simon Feltman <sfeltman@src.gnome.org>
7706 Date: Tue May 27 15:52:10 2014 -0700
7708 tests: Move TestSignals from test_everything into test_signal
7710 Move these tests into a more meaningful location.
7712 https://bugzilla.gnome.org/show_bug.cgi?id=701843
7714 tests/test_everything.py | 123
7715 --------------------------------------------
7716 tests/test_signal.py | 131
7717 +++++++++++++++++++++++++++++++++++++++++++++++
7718 2 files changed, 131 insertions(+), 123 deletions(-)
7720 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
7721 Author: Simon Feltman <sfeltman@src.gnome.org>
7722 Date: Mon May 26 04:21:07 2014 -0700
7724 configure.ac: post release version bump to 3.13.2
7727 1 file changed, 1 insertion(+), 1 deletion(-)
7729 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
7730 Author: Simon Feltman <sfeltman@src.gnome.org>
7731 Date: Mon May 26 04:18:55 2014 -0700
7735 NEWS | 21 +++++++++++++++++++++
7736 1 file changed, 21 insertions(+)
7738 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
7739 Author: Simon Feltman <sfeltman@src.gnome.org>
7740 Date: Mon May 26 03:01:13 2014 -0700
7742 Python 3.4 make check fixes
7744 Bump GI required version to 1.39.0. This is needed to get rid of
7745 expectedFailures which pass when built with 1.39.0 (unexpected
7747 fail unittesting in Python 3.4).
7748 Silence deprecation warning when using imp.reload.
7750 https://bugzilla.gnome.org/show_bug.cgi?id=730411
7753 pygtkcompat/pygtkcompat.py | 4 +++-
7754 tests/test_gi.py | 1 -
7755 tests/test_repository.py | 2 --
7756 4 files changed, 4 insertions(+), 5 deletions(-)
7758 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
7759 Author: Simon Feltman <sfeltman@src.gnome.org>
7760 Date: Mon May 26 01:53:14 2014 -0700
7762 tests: Don't use deprecated positional argument for Gio.Settings
7765 tests/test_gio.py | 6 +++---
7766 1 file changed, 3 insertions(+), 3 deletions(-)
7768 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
7769 Author: Simon Feltman <sfeltman@src.gnome.org>
7770 Date: Sun May 25 23:03:35 2014 -0700
7772 overrides: Add Gtk.Container.child_get/set overrides
7774 Add overrides for child_get and child_set to Gtk.Container since these
7775 are not introspectable methods.
7777 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7779 gi/overrides/Gtk.py | 10 ++++++++++
7780 tests/test_overrides_gtk.py | 16 ++++++++++++++++
7781 2 files changed, 26 insertions(+)
7783 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
7784 Author: Simon Feltman <sfeltman@src.gnome.org>
7785 Date: Sun May 25 22:07:07 2014 -0700
7787 overrides: Make value argument to Widget.style_get_property optional
7789 Override Gtk.Widget.style_get_property to optionally accept the
7791 argument. If "value" is not supplied, the override will locate
7793 property value type and create the GValue. Additionally return
7795 GValue converted to a native Python value.
7797 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7799 gi/overrides/Gtk.py | 11 +++++++++++
7800 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
7801 2 files changed, 40 insertions(+)
7803 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
7804 Author: Simon Feltman <sfeltman@src.gnome.org>
7805 Date: Sun May 25 21:08:47 2014 -0700
7807 overrides: Make value argument to Container.child_get_property
7810 Override Gtk.Container.child_get_property to optionally accept the
7812 argument. If "value" is not supplied, the override will locate
7814 property value type and create the GValue. Additionally return
7816 GValue converted to a native Python value.
7818 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7820 gi/overrides/Gtk.py | 11 +++++++++++
7821 tests/test_overrides_gtk.py | 47
7822 +++++++++++++++++++++++++++++++++++++++++++++
7823 2 files changed, 58 insertions(+)
7825 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
7826 Author: Johan Dahlin <johan@gnome.org>
7827 Date: Mon Oct 1 06:42:24 2012 -0700
7829 Add GTypeClass methods as Python GObject class methods
7831 Take all the methods from an objects type classs and add them
7832 as class methods. For instance, GObject.ObjectClass.list_properties
7833 is available as GObject.Object.list_properties().
7835 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
7837 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7839 gi/types.py | 13 +++++++++++++
7840 tests/test_typeclass.py | 13 +++++++++++++
7841 2 files changed, 26 insertions(+)
7843 commit 778d05c93e079ba207a250b754bda9377cb47457
7844 Author: Simon Feltman <sfeltman@src.gnome.org>
7845 Date: Sun May 25 19:05:56 2014 -0700
7847 Add marshalling coercion for Python classes and instances to
7850 Automatically marshal Python GObject classes and instances to
7852 structs (GObjectClass). This allows usage of the GTypeClass methods by
7853 passing a Python GObject class or instance to the GTypeClass method.
7854 This is needed to support usage of GTypeClass methods since we don't
7855 manually bind GTypeClasses and they are not very well supported with
7858 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7860 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
7861 tests/Makefile.am | 1 +
7862 tests/test_typeclass.py | 67
7863 ++++++++++++++++++++++++++++++++++++++++++++++++
7864 3 files changed, 117 insertions(+), 5 deletions(-)
7866 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
7867 Author: Simon Feltman <sfeltman@src.gnome.org>
7868 Date: Sun May 25 02:00:00 2014 -0700
7870 Cleanup struct marshalling function names
7872 Use a consistent naming scheme for struct marshalling cache related
7873 functions. This removes prefixed underscores from function names
7874 as well as redundant wording.
7876 To ignore this commit with git blame use:
7877 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
7879 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7881 gi/pygi-argument.c | 34 ++++----
7882 gi/pygi-array.c | 2 +-
7883 gi/pygi-struct-marshal.c | 221
7884 ++++++++++++++++++++---------------------------
7885 gi/pygi-struct-marshal.h | 56 ++++++------
7886 4 files changed, 142 insertions(+), 171 deletions(-)
7888 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
7889 Author: Simon Feltman <sfeltman@src.gnome.org>
7890 Date: Fri May 16 15:08:35 2014 -0700
7892 Use accessors for getting and setting PyGParamSpec pointers
7894 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
7895 setting the GParamSpec pointer field held by the Python wrapper. This
7896 is preliminary cleanup work for supporting fundamental types.
7898 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7900 gi/pygi-value.c | 2 +-
7901 gi/pygobject.h | 9 +++++++--
7902 gi/pygparamspec.c | 22 +++++++++++-----------
7903 3 files changed, 19 insertions(+), 14 deletions(-)
7905 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
7906 Author: Simon Feltman <sfeltman@src.gnome.org>
7907 Date: Fri May 16 14:50:57 2014 -0700
7909 Use accessors for getting and setting PyGPointer fields
7911 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
7912 setting the pointer field. This is preliminary cleanup work for
7916 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7918 gi/gimodule.c | 2 +-
7919 gi/pygi-struct.c | 6 +++---
7920 gi/pygobject.h | 2 ++
7921 gi/pygpointer.c | 14 +++++++-------
7922 4 files changed, 13 insertions(+), 11 deletions(-)
7924 commit 92fe52243d819ffe91597744a6a1c2362a295bce
7925 Author: Simon Feltman <sfeltman@src.gnome.org>
7926 Date: Fri May 16 14:19:47 2014 -0700
7928 Use accessors for getting and setting PyGBoxed pointers
7930 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
7932 the boxed pointer field. This is preliminary cleanup work for
7936 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7938 gi/pygboxed.c | 20 ++++++++++----------
7939 gi/pygi-boxed.c | 6 +++---
7940 gi/pygobject.h | 2 ++
7941 gi/pygtype.c | 3 ++-
7942 4 files changed, 17 insertions(+), 14 deletions(-)
7944 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
7945 Author: Simon Feltman <sfeltman@src.gnome.org>
7946 Date: Sun May 11 16:04:55 2014 -0700
7948 tests: Use assertRaises as a context manager for GError test
7950 Simplify tests/test_error.py:TestMarshalling.test_exception so that
7951 it no longer needs to pull exception information out of sys.exc_info.
7953 tests/test_error.py | 14 ++++++--------
7954 1 file changed, 6 insertions(+), 8 deletions(-)
7956 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
7957 Author: Andrew Grigorev <andrew@ei-grad.ru>
7958 Date: Sun May 11 23:54:46 2014 +0400
7960 Replace direct parent class call by super()
7962 Super works, it just needs the correct class.
7964 https://bugzilla.gnome.org/show_bug.cgi?id=729970
7966 demos/gtk-demo/gtk-demo.py | 6 ++----
7967 1 file changed, 2 insertions(+), 4 deletions(-)
7969 commit de827d00762f2a741f90bc38f8b55518593f4509
7970 Author: Simon Feltman <sfeltman@src.gnome.org>
7971 Date: Sun Mar 23 01:59:00 2014 -0700
7973 Add cairo marshaling support for non-introspected signals
7975 Add link dependency of cairo-gobject to _gi_cairo_la needed for
7977 the GTypes of cairo classes.
7978 Add GValue marshalers for cairo Context, Surface, FontFace,
7980 and Pattern classes.
7982 https://bugzilla.gnome.org/show_bug.cgi?id=694604
7984 gi/Makefile.am | 2 +
7985 gi/pygi-foreign-cairo.c | 186
7986 ++++++++++++++++++++++++++++++++++++++++++++++++
7987 gi/pygi-type.h | 1 +
7989 tests/test_cairo.py | 65 +++++++++++++++++
7990 5 files changed, 256 insertions(+)
7992 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
7993 Author: Simon Feltman <sfeltman@src.gnome.org>
7994 Date: Mon May 5 19:37:18 2014 -0700
7996 [New API] Add gi.require_foreign
7998 Add gi.require_foreign(namespace, symbol=None) API for determining
7999 if a foreign marshaling module is available. This can be used in an
8000 applications import statement block to verify the existence of a
8001 specific foreign marshaling module (cairo).
8002 Additionally it forces loading of the foreign marshaling module as
8003 well as the GI repository module. This allows non-introspected signal
8004 closures to correctly marshal their arguments (bug 694604).
8006 https://bugzilla.gnome.org/show_bug.cgi?id=707735
8008 gi/__init__.py | 28 +++++++++++++++++++++++++
8009 gi/gimodule.c | 2 ++
8010 gi/pygi-foreign.c | 60
8011 ++++++++++++++++++++++++++++++++++++++++++++++-------
8012 gi/pygi-foreign.h | 4 ++++
8013 tests/test_cairo.py | 9 ++++++++
8014 5 files changed, 95 insertions(+), 8 deletions(-)
8016 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
8017 Author: Simon Feltman <sfeltman@src.gnome.org>
8018 Date: Mon May 5 19:48:06 2014 -0700
8020 tests: Move cairo tests into test_cairo.py
8022 Move cairo related tests from test_everything.py into test_cairo.py
8024 https://bugzilla.gnome.org/show_bug.cgi?id=694604
8026 tests/Makefile.am | 1 +
8027 tests/test_cairo.py | 67
8028 ++++++++++++++++++++++++++++++++++++++++++++++++
8029 tests/test_everything.py | 43 +------------------------------
8030 3 files changed, 69 insertions(+), 42 deletions(-)
8032 commit 31ecd935564984068e6646676392122bdc03e42e
8033 Author: Simon Feltman <sfeltman@src.gnome.org>
8034 Date: Mon May 5 19:42:59 2014 -0700
8036 Initialize the foreign API at PyGI load time
8038 Initialize the foreign struct list at gi._gi module load time. This
8040 we always have a valid (non-null) list of foreign marshalers outside
8042 context of marshaling.
8044 https://bugzilla.gnome.org/show_bug.cgi?id=694604
8046 gi/gimodule.c | 3 ++-
8047 gi/pygi-foreign.c | 12 ++++++++----
8048 gi/pygi-foreign.h | 2 ++
8049 3 files changed, 12 insertions(+), 5 deletions(-)
8051 commit def47144b63a1492ebf47a4eadb535f45253ff3a
8052 Author: Simon Feltman <sfeltman@src.gnome.org>
8053 Date: Sat Mar 22 14:13:01 2014 -0700
8055 Move pygi foreign API into pygi-foreign-api.h
8057 Move limited set of APIs necessary for registering foreign marshalers
8059 pygi-foreign-api.h. Remove "_real" from internally used APIs and
8061 includes to the rest of pygobject for calling directly (instead of
8063 the PyCapsule API within PyGI itself).
8064 This is needed to avoid compilation errors when including pygobject.h
8066 foreign marshaling plugins which conflicts with pygobject-private.h.
8068 https://bugzilla.gnome.org/show_bug.cgi?id=694604
8070 gi/Makefile.am | 1 +
8071 gi/gimodule.c | 6 +--
8075 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
8076 gi/pygi-foreign-cairo.c | 8 ++--
8077 gi/pygi-foreign.c | 10 ++---
8078 gi/pygi-foreign.h | 14 +++----
8079 gi/pygi-property.c | 8 ++--
8080 gi/pygi-property.h | 14 ++++---
8081 gi/pygi-signal-closure.c | 12 +++---
8082 gi/pygi-signal-closure.h | 15 +++----
8083 gi/pygi-type.c | 4 +-
8084 gi/pygi-type.h | 2 +-
8086 -----------------------------------------------
8087 gi/pygobject.c | 3 ++
8088 gi/pygpointer.c | 1 +
8089 18 files changed, 139 insertions(+), 154 deletions(-)
8091 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
8092 Author: Simon Feltman <sfeltman@src.gnome.org>
8093 Date: Sun May 4 23:19:30 2014 -0700
8095 Clobber GLib.Error with custom implementation
8097 Clobber the introspection GLib.Error class with the custom Python
8098 implementation found in gi._error.GError. Update references to
8102 https://bugzilla.gnome.org/show_bug.cgi?id=712519
8104 gi/_error.py | 3 ++-
8105 gi/overrides/GLib.py | 9 ++++++---
8106 gi/pygi-error.c | 10 +++++-----
8107 tests/test_error.py | 24 ++++++++++++------------
8108 4 files changed, 25 insertions(+), 21 deletions(-)
8110 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
8111 Author: Simon Feltman <sfeltman@src.gnome.org>
8112 Date: Sun May 4 23:43:50 2014 -0700
8114 Simplify pygi_error_marshal to use GError initializer arguments
8116 https://bugzilla.gnome.org/show_bug.cgi?id=712519
8118 gi/pygi-error.c | 25 ++++++-------------------
8119 1 file changed, 6 insertions(+), 19 deletions(-)
8121 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
8122 Author: Simon Feltman <sfeltman@src.gnome.org>
8123 Date: Sun May 4 04:13:46 2014 -0700
8125 Add Python implementation of GError
8127 Add internally used gi/_error.py module as a basis for implementing
8128 a unified GError between introspection and static bindings. Patch
8130 implementations of GError.matches and GError.new_literal in the GLib
8133 https://bugzilla.gnome.org/show_bug.cgi?id=712519
8137 ++++++++++++++++++++++++++++++++++++++++++++++++++++
8138 gi/_option.py | 3 ++-
8139 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
8140 gi/pygi-error.c | 18 +++++++-----------
8141 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
8142 6 files changed, 125 insertions(+), 14 deletions(-)
8144 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
8145 Author: Simon Feltman <sfeltman@src.gnome.org>
8146 Date: Sun May 4 23:14:27 2014 -0700
8148 tests: Move GError tests into test_error.py
8150 https://bugzilla.gnome.org/show_bug.cgi?id=712519
8152 tests/Makefile.am | 1 +
8153 tests/test_error.py | 81
8154 +++++++++++++++++++++++++++++++++++++++++++++++++++++
8155 tests/test_gi.py | 49 --------------------------------
8156 3 files changed, 82 insertions(+), 49 deletions(-)
8158 commit 649895d83a90cd3a370da215a6f98a606b987419
8159 Author: Simon Feltman <sfeltman@src.gnome.org>
8160 Date: Sun May 4 00:18:41 2014 -0700
8162 Consolidate GError related code into pygi-error
8164 Rename all pyglib_error_* functions to pygi_error_* and move them into
8166 Register GError as part of the gi._gi module instead of gi._gi._glib.
8167 Update all code to use new naming.
8169 https://bugzilla.gnome.org/show_bug.cgi?id=712519
8171 gi/_option.py | 6 +-
8172 gi/gimodule.c | 4 +-
8173 gi/glibmodule.c | 19 -----
8174 gi/gobjectmodule.c | 54 +-----------
8175 gi/overrides/GLib.py | 3 +-
8176 gi/pygi-argument.c | 6 +-
8177 gi/pygi-cache.c | 4 +-
8178 gi/pygi-error.c | 222
8179 ++++++++++++++++++++++++++++++++++++++++++++++++-
8180 gi/pygi-error.h | 21 ++++-
8181 gi/pygi-invoke.c | 5 +-
8182 gi/pyglib-private.h | 1 -
8183 gi/pyglib.c | 199 --------------------------------------------
8185 gi/pygobject-private.h | 3 -
8186 gi/pygoptioncontext.c | 3 +-
8187 gi/pygoptiongroup.c | 3 +-
8188 gi/pygspawn.c | 3 +-
8189 17 files changed, 262 insertions(+), 299 deletions(-)
8191 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
8192 Author: Simon Feltman <sfeltman@src.gnome.org>
8193 Date: Sat May 3 22:56:49 2014 -0700
8195 Add gi.CallableInfo.can_throw_gerror()
8197 Add static binding for g_callable_info_can_throw_gerror.
8199 gi/pygi-info.c | 10 ++++++++++
8200 tests/test_repository.py | 16 ++++++++++++++++
8201 2 files changed, 26 insertions(+)
8203 commit f129e78d579b7897cb86111c524d87b5b12019ad
8204 Author: Simon Feltman <sfeltman@src.gnome.org>
8205 Date: Sat May 3 22:56:03 2014 -0700
8207 Derive PyCallbackInfo from PyCallableInfo
8209 Update the static GI bindings for PyGICallbackInfo to derive
8210 from PyGICallableInfo. This makes all the gi.CallableInfo methods
8211 available to gi.CallbackInfo for use from Python.
8213 gi/pygi-info.c | 4 ++--
8214 tests/test_repository.py | 7 +++++++
8215 2 files changed, 9 insertions(+), 2 deletions(-)
8217 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
8218 Author: Simon Feltman <sfeltman@src.gnome.org>
8219 Date: Fri May 2 21:36:25 2014 -0700
8223 Use infix 'not' instead of prefixed.
8224 Don't use double comments (##).
8225 Use space between comment and text.
8226 Un-comment tests that now work.
8227 Move broken (and won't fix) implicit int64 signal tests into
8228 a new skipped test function.
8230 gi/overrides/GIMarshallingTests.py | 4 ++--
8231 gi/overrides/Gio.py | 4 ++--
8232 gi/overrides/Gtk.py | 6 +++---
8234 pygtkcompat/pygtkcompat.py | 4 ++--
8235 tests/test_everything.py | 1 -
8236 tests/test_gi.py | 9 +++------
8237 tests/test_iochannel.py | 2 +-
8238 tests/test_option.py | 2 +-
8239 tests/test_signal.py | 28 +++++++++++++---------------
8240 10 files changed, 28 insertions(+), 34 deletions(-)
8242 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
8243 Author: Simon Feltman <sfeltman@src.gnome.org>
8244 Date: Mon Apr 28 14:06:30 2014 -0700
8246 configure.ac: post release version bump to 3.13.2
8249 1 file changed, 1 insertion(+), 1 deletion(-)
8251 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
8252 Author: Simon Feltman <sfeltman@src.gnome.org>
8253 Date: Mon Apr 28 14:00:59 2014 -0700
8257 NEWS | 14 ++++++++++++++
8258 1 file changed, 14 insertions(+)
8260 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
8261 Author: Christoph Reiter <reiter.christoph@gmail.com>
8262 Date: Mon Apr 14 23:33:52 2014 +0200
8264 Raise TypeError if arguments are passed to Boxed.__init__
8266 This is a partial revert of
8267 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
8268 which removed a type check in __new__. This adds it back
8269 into __init__. Overrides which define __new__ now have to
8270 filter out any arguments in __init__ and not the other way
8271 around, which is a bit less surprising in the common case.
8273 https://bugzilla.gnome.org/show_bug.cgi?id=727810
8275 gi/overrides/GLib.py | 6 ++++++
8276 gi/overrides/Gtk.py | 6 ++++++
8277 gi/overrides/Pango.py | 3 +++
8278 gi/pygi-boxed.c | 6 ++++++
8279 tests/test_gi.py | 4 ++++
8280 5 files changed, 25 insertions(+)
8282 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
8283 Author: Christoph Reiter <reiter.christoph@gmail.com>
8284 Date: Mon Apr 14 15:40:50 2014 +0200
8286 Gdk.Event: Override __setattr__ to set fields based on the event type
8288 Pass the setting of attributes through to the underlying union based
8289 on event type. This mirrors the logic in __getattr__.
8291 https://bugzilla.gnome.org/show_bug.cgi?id=727810
8293 gi/overrides/Gdk.py | 7 +++++++
8294 tests/test_overrides_gdk.py | 13 ++++++++++---
8295 2 files changed, 17 insertions(+), 3 deletions(-)
8297 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
8298 Author: Christoph Reiter <reiter.christoph@gmail.com>
8299 Date: Mon Apr 14 13:06:02 2014 +0200
8301 Gdk.Event: Include GdkEventType in __repr__
8303 https://bugzilla.gnome.org/show_bug.cgi?id=727810
8305 gi/overrides/Gdk.py | 4 ++++
8306 tests/test_overrides_gdk.py | 4 ++++
8307 2 files changed, 8 insertions(+)
8309 commit 23965455f060793ffcbc0d8288527d41a667579c
8310 Author: Simon Feltman <sfeltman@src.gnome.org>
8311 Date: Mon Apr 14 15:10:01 2014 -0700
8313 Fix crash with type checking for GObject arguments
8315 Ensure we have a valid GObject before attempting to call g_type_is_a.
8316 Swap conditional blocks to make if condition more readable.
8318 https://bugzilla.gnome.org/show_bug.cgi?id=727604
8320 gi/pygi-object.c | 19 ++++++++++---------
8321 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
8322 2 files changed, 45 insertions(+), 9 deletions(-)
8324 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
8325 Author: Paolo Borelli <pborelli@gnome.org>
8326 Date: Sun Mar 30 18:27:59 2014 +0200
8328 Do not leak info of destroy notify
8330 gi/pygi-closure.c | 11 ++++++-----
8331 1 file changed, 6 insertions(+), 5 deletions(-)
8333 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
8334 Author: Simon Feltman <sfeltman@src.gnome.org>
8335 Date: Fri Mar 28 19:51:58 2014 -0700
8337 configure.ac: Update PyGObject wiki link in AC_INIT
8340 1 file changed, 1 insertion(+), 1 deletion(-)
8342 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
8343 Author: Simon Feltman <sfeltman@src.gnome.org>
8344 Date: Mon Mar 24 18:57:56 2014 -0700
8346 Ignore GValueArray deprecations
8348 Wrap calls to GValueArray related calls with
8349 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
8350 Although GValueArray is deprecated, we still need to support the
8352 them in PyGObject. The deprecations add noise to the build processes
8354 new warnings could be lost. Essentially losing the element of surprise
8356 warning should have on maintainers.
8358 gi/pygi-value.c | 23 ++++++++++++++++++++---
8359 tests/testhelpermodule.c | 3 +++
8360 2 files changed, 23 insertions(+), 3 deletions(-)
8362 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
8363 Author: Simon Feltman <sfeltman@src.gnome.org>
8364 Date: Mon Mar 24 18:09:10 2014 -0700
8366 Raise ImportError when importing modules not found in repository
8368 Raise an ImportError with extra information noting the typelib was not
8369 found. This removes the need to log a similar message which adds
8371 noise when attempting controlled imports within try/except statements.
8372 In Python 2, the additional information is lost but in Python 3 it
8375 https://bugzilla.gnome.org/show_bug.cgi?id=726877
8377 gi/importer.py | 9 ++++-----
8378 tests/test_import_machinery.py | 18 ++++++++++++++++++
8379 2 files changed, 22 insertions(+), 5 deletions(-)
8381 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
8382 Author: Simon Feltman <sfeltman@src.gnome.org>
8383 Date: Mon Mar 24 18:04:27 2014 -0700
8385 tests: Rename test_overrides to test_import_machinery
8387 Rename this test to better suit the contents of the file. This
8389 us a more concise location to grow other tests related to import
8393 https://bugzilla.gnome.org/show_bug.cgi?id=726877
8395 tests/Makefile.am | 2 +-
8396 tests/{test_overrides.py => test_import_machinery.py} | 0
8397 2 files changed, 1 insertion(+), 1 deletion(-)
8399 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
8400 Author: Simon Feltman <sfeltman@src.gnome.org>
8401 Date: Mon Mar 24 04:39:47 2014 -0700
8403 HACKING: Update branch creation instructions to include -b
8406 1 file changed, 1 insertion(+), 1 deletion(-)
8408 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
8409 Author: Simon Feltman <sfeltman@src.gnome.org>
8410 Date: Mon Mar 24 04:35:52 2014 -0700
8412 configure.ac: post release version bump to 3.13.1
8414 configure.ac | 4 ++--
8415 1 file changed, 2 insertions(+), 2 deletions(-)
8417 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
8418 Author: Simon Feltman <sfeltman@src.gnome.org>
8419 Date: Mon Mar 24 03:35:21 2014 -0700
8424 1 file changed, 2 insertions(+)
8426 commit 70020e9934abb39cbccfa49e582fb838465c0490
8427 Author: Simon Feltman <sfeltman@src.gnome.org>
8428 Date: Mon Mar 24 03:05:16 2014 -0700
8430 pre-release version bump to 3.12.0
8432 configure.ac | 4 ++--
8433 1 file changed, 2 insertions(+), 2 deletions(-)
8435 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
8436 Author: Simon Feltman <sfeltman@src.gnome.org>
8437 Date: Mon Mar 17 15:17:12 2014 -0700
8439 configure.ac: post release version bump to 3.11.93
8442 1 file changed, 1 insertion(+), 1 deletion(-)
8444 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
8445 Author: Simon Feltman <sfeltman@src.gnome.org>
8446 Date: Mon Mar 17 15:12:33 2014 -0700
8451 1 file changed, 6 insertions(+)
8453 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
8454 Author: Simon Feltman <sfeltman@src.gnome.org>
8455 Date: Mon Mar 17 14:55:52 2014 -0700
8457 configure.ac: Remove option to build without libffi
8459 We've always had a hard dependency on libffi headers.
8460 Commit 5798f94b6a727b93 added a direct module dependency on libffi
8461 instead of indirect via GI. Remove the option to build without libffi.
8463 configure.ac | 21 +++------------------
8464 1 file changed, 3 insertions(+), 18 deletions(-)
8466 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
8467 Author: Simon Feltman <sfeltman@src.gnome.org>
8468 Date: Sat Mar 15 00:50:14 2014 -0700
8470 docs: Standardize Python doc strings
8472 Use consistent doc string quotations (three double quotes).
8473 Update usage of GObject.GObject in docs to GObject.Object.
8474 Use reStructuredText markup for parameter annotations, instance
8476 admonitions, and code examples.
8477 This allows for better Sphinx documentation generation for the
8479 Preliminary style guide:
8480 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
8482 gi/_option.py | 67 +++++++++++++++------------
8483 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
8484 gi/_signalhelper.py | 117
8485 ++++++++++++++++++++++++-----------------------
8486 gi/docstring.py | 17 ++++---
8487 gi/glibmodule.c | 3 +-
8488 gi/overrides/GLib.py | 20 ++++----
8489 gi/overrides/GObject.py | 39 ++++++++++------
8490 gi/overrides/Gtk.py | 28 ++++++++----
8491 gi/overrides/__init__.py | 66 +++++++++++++-------------
8493 10 files changed, 242 insertions(+), 203 deletions(-)
8495 commit 2d268ef661badabcb63e696dab01857d57cb3371
8496 Author: Simon Feltman <sfeltman@src.gnome.org>
8497 Date: Sat Mar 15 00:49:00 2014 -0700
8499 Quote argument names in initializer deprecation warning
8501 Add quotation marks around names of deprecated positional arguments.
8502 This makes the message clearer in stating what has been deprecated
8503 in cases when only a single argument is displayed.
8505 gi/overrides/__init__.py | 2 +-
8506 tests/test_gi.py | 6 +++---
8507 2 files changed, 4 insertions(+), 4 deletions(-)
8509 commit a070e712526e433c236753813acc3ef300f0d203
8510 Author: Simon Feltman <sfeltman@src.gnome.org>
8511 Date: Sat Mar 15 00:35:03 2014 -0700
8513 docs: Ignore meta-class bases in dynamic docstring generation
8515 Skip attempts at generating a doc string for GObject meta-class bases
8516 since they do not contain an __info__ attribute.
8517 This circumvents errors with documentation generators (Sphinx).
8519 gi/types.py | 7 ++++++-
8520 1 file changed, 6 insertions(+), 1 deletion(-)
8522 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
8523 Author: Simon Feltman <sfeltman@src.gnome.org>
8524 Date: Thu Mar 13 10:13:34 2014 -0700
8526 Update Free Software Foundation addresses
8528 Update all references to the FSF physical address
8529 to use the web address: http://www.gnu.org/licenses
8531 gi/_constants.py | 4 +---
8532 gi/_gobject/__init__.py | 4 +---
8533 gi/_option.py | 4 +---
8534 gi/_propertyhelper.py | 4 +---
8535 gi/_signalhelper.py | 4 +---
8536 gi/glibmodule.c | 4 +---
8537 gi/gobjectmodule.c | 4 +---
8538 gi/overrides/keysyms.py | 4 +---
8539 gi/pygboxed.c | 4 +---
8540 gi/pygboxed.h | 4 +---
8541 gi/pygenum.c | 4 +---
8542 gi/pygenum.h | 4 +---
8543 gi/pygflags.c | 4 +---
8544 gi/pygflags.h | 4 +---
8545 gi/pygi-argument.c | 4 +---
8546 gi/pygi-argument.h | 4 +---
8547 gi/pygi-boxed.c | 4 +---
8548 gi/pygi-boxed.h | 4 +---
8549 gi/pygi-cache.c | 4 +---
8550 gi/pygi-cache.h | 4 +---
8551 gi/pygi-ccallback.c | 4 +---
8552 gi/pygi-ccallback.h | 4 +---
8553 gi/pygi-info.c | 4 +---
8554 gi/pygi-info.h | 4 +---
8555 gi/pygi-invoke.c | 4 +---
8556 gi/pygi-invoke.h | 4 +---
8557 gi/pygi-marshal-cleanup.c | 4 +---
8558 gi/pygi-marshal-cleanup.h | 4 +---
8559 gi/pygi-repository.c | 4 +---
8560 gi/pygi-repository.h | 4 +---
8561 gi/pygi-signal-closure.c | 4 +---
8562 gi/pygi-struct.c | 4 +---
8563 gi/pygi-struct.h | 4 +---
8564 gi/pygi-type.c | 4 +---
8565 gi/pygi-type.h | 4 +---
8567 gi/pyginterface.c | 4 +---
8568 gi/pyginterface.h | 4 +---
8569 gi/pyglib-private.h | 4 +---
8570 gi/pyglib-python-compat.h | 4 +---
8571 gi/pyglib.c | 4 +---
8572 gi/pyglib.h | 4 +---
8573 gi/pygobject-external.h | 4 +---
8574 gi/pygobject.c | 4 +---
8575 gi/pygoptioncontext.c | 4 +---
8576 gi/pygoptioncontext.h | 4 +---
8577 gi/pygoptiongroup.c | 4 +---
8578 gi/pygoptiongroup.h | 4 +---
8579 gi/pygparamspec.c | 4 +---
8580 gi/pygparamspec.h | 4 +---
8581 gi/pygpointer.c | 4 +---
8582 gi/pygpointer.h | 4 +---
8583 gi/pygspawn.c | 4 +---
8584 gi/pygspawn.h | 4 +---
8585 gi/pygtype.c | 4 +---
8586 gi/pygtype.h | 4 +---
8587 pygtkcompat/generictreemodel.py | 4 +---
8588 tests/test_generictreemodel.py | 4 +---
8589 58 files changed, 58 insertions(+), 174 deletions(-)
8591 commit bbfcebdfdc5e574999221b60520422ea6da82435
8592 Author: Owen W. Taylor <otaylor@fishsoup.net>
8593 Date: Wed Mar 12 18:32:47 2014 -0400
8595 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
8597 Any (transfer full) return of a cairo type other than a path
8600 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
8601 it for the cairo foreign type. For paths we can only handle
8602 (transfer full) so throw an error for (transfer none).
8604 https://bugzilla.gnome.org/show_bug.cgi?id=726206
8606 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
8607 gi/pygi-foreign.c | 3 ++-
8608 gi/pygi-foreign.h | 1 +
8609 gi/pygi-invoke.c | 1 +
8610 gi/pygi-struct-marshal.c | 1 +
8612 6 files changed, 31 insertions(+), 8 deletions(-)
8614 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
8615 Author: Simon Feltman <sfeltman@src.gnome.org>
8616 Date: Mon Mar 3 15:20:02 2014 -0800
8618 configure.ac: post release version bump to 3.11.92
8621 1 file changed, 1 insertion(+), 1 deletion(-)
8623 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
8624 Author: Simon Feltman <sfeltman@src.gnome.org>
8625 Date: Mon Mar 3 15:16:43 2014 -0800
8630 1 file changed, 7 insertions(+)
8632 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
8633 Author: Simon Feltman <sfeltman@src.gnome.org>
8634 Date: Mon Mar 3 06:49:09 2014 -0800
8636 build: Update release-news to use srcdir
8638 Use $(top_srcdir)/NEWS for pulling in news items to ensure
8639 "make release-news" works in a vpath build environment.
8642 1 file changed, 1 insertion(+), 1 deletion(-)
8644 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
8645 Author: Simon Feltman <sfeltman@src.gnome.org>
8646 Date: Fri Feb 7 20:16:21 2014 -0800
8648 Use ffi_call directly instead of g_callable_info_invoke
8650 Cleanup internal callable cache and state tracking by removing
8652 counting schemes for differently sized "in" and "out" argument arrays.
8653 Use a single count based on the total number of arguments passed to C
8654 (inclusive of instance argument and GError exception where
8656 Size all state tracking arrays to the same size and ensure argument
8658 indices always line up with these arrays. This cleans up logic
8660 required by g_callable_info_invoke for splitting "in" and "out"
8664 Cleanup array marshaling which can now rely on the new scheme
8666 the "arg_values" array always points to the correct location for
8670 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
8672 related GI methods. Overall, these changes can give a performance
8674 almost 2x for simple function calls (see ticket for micro benchmarks).
8676 https://bugzilla.gnome.org/show_bug.cgi?id=723642
8678 gi/pygi-array.c | 26 ++---
8679 gi/pygi-cache.c | 61 +++++++++--
8680 gi/pygi-cache.h | 10 +-
8681 gi/pygi-ccallback.c | 3 +-
8682 gi/pygi-closure.c | 6 +-
8683 gi/pygi-invoke-state-struct.h | 42 +++++---
8684 gi/pygi-invoke.c | 241
8685 +++++++++++++++++++++++-------------------
8686 gi/pygi-invoke.h | 2 +-
8687 gi/pygi-marshal-cleanup.c | 4 +-
8688 9 files changed, 230 insertions(+), 165 deletions(-)
8690 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
8691 Author: Simon Feltman <sfeltman@src.gnome.org>
8692 Date: Mon Mar 3 04:51:09 2014 -0800
8694 tests: Move class definition depending on GTK+ within function
8697 Move the definition of WindowWithSizeAllocOverride inside of the test
8698 function call to so it is lazily defined. This avoids problems
8700 on systems without GTK+ installed.
8702 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
8703 1 file changed, 16 insertions(+), 16 deletions(-)
8705 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
8706 Author: Simon Feltman <sfeltman@src.gnome.org>
8707 Date: Mon Mar 3 04:45:59 2014 -0800
8709 tests: Conditionalize usage of GTK+ in tests_generictreemodel
8711 This allows running make check without GTK+ installed.
8713 tests/test_generictreemodel.py | 16 +++++++++++++---
8714 1 file changed, 13 insertions(+), 3 deletions(-)
8716 commit 038563ed620e0d966e385a1779455d9b0e148c41
8717 Author: Simon Feltman <sfeltman@src.gnome.org>
8718 Date: Mon Mar 3 04:39:35 2014 -0800
8720 tests: Conditionalize usage of regress typelib in test_properties
8722 Unconditional usage of regress breaks tests when PyGObject is
8726 tests/test_properties.py | 27 +++++++++++++++++----------
8727 1 file changed, 17 insertions(+), 10 deletions(-)
8729 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
8730 Author: Simon Feltman <sfeltman@src.gnome.org>
8731 Date: Mon Mar 3 02:44:12 2014 -0800
8733 configure.ac: Use -std=c90 and error on declaration-after-statement
8735 Replace gcc option of -std=c9x with c90 and add
8736 -Werror=declaration-after-statement
8737 This ensures we keep compatibility with msvc builds.
8739 configure.ac | 3 ++-
8740 1 file changed, 2 insertions(+), 1 deletion(-)
8742 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
8743 Author: Simon Feltman <sfeltman@src.gnome.org>
8744 Date: Mon Mar 3 02:38:30 2014 -0800
8746 Use g_snprintf instead of snprintf
8748 Use g_snprintf for consistency with the rest of gobjectmodule.c
8750 gi/gobjectmodule.c | 2 +-
8751 1 file changed, 1 insertion(+), 1 deletion(-)
8753 commit b016ae6793839b2a6a00a69d00de30937bc611be
8754 Author: Simon Feltman <sfeltman@src.gnome.org>
8755 Date: Thu Feb 27 04:27:41 2014 -0800
8757 Use C style comments
8759 Update various locations which use C99 single line comments to
8761 C90 style comments. Found with: make CFLAGS="-std=C90"
8763 gi/gimodule.c | 2 +-
8764 gi/pygi-array.c | 3 ++-
8765 gi/pygi-property.c | 2 +-
8767 4 files changed, 5 insertions(+), 4 deletions(-)
8769 commit df7cba1495c167f1019dec7f4398dc5de62a5937
8770 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8771 Date: Tue Feb 25 14:38:41 2014 +0800
8773 Fix Build on Visual Studio
8775 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
8777 included the use of the NAN and INFINITY macros/constants, so the
8778 definitions for those need to be moved to pygi-basictype.c as well.
8780 avoid defining a variable in the middle of the block.
8782 https://bugzilla.gnome.org/show_bug.cgi?id=725122
8784 gi/pygi-basictype.c | 16 ++++++++++++++++
8785 gi/pygi-cache.c | 3 ++-
8786 gi/pygi-enum-marshal.c | 16 ----------------
8787 3 files changed, 18 insertions(+), 17 deletions(-)
8789 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
8790 Author: Simon Feltman <sfeltman@src.gnome.org>
8791 Date: Mon Feb 17 17:22:40 2014 -0800
8793 Update release steps to be more explicit in regards to NEWS
8795 Add an explicit step to commit the NEWS changes and push prior
8798 HACKING | 11 ++++++-----
8799 1 file changed, 6 insertions(+), 5 deletions(-)
8801 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
8802 Author: Simon Feltman <sfeltman@src.gnome.org>
8803 Date: Mon Feb 17 17:18:10 2014 -0800
8805 configure.ac: post release version bump to 3.11.91
8808 1 file changed, 1 insertion(+), 1 deletion(-)
8810 commit f87e341c5528d066371d4ec493956db28dd0bafa
8811 Author: Simon Feltman <sfeltman@src.gnome.org>
8812 Date: Mon Feb 17 17:08:13 2014 -0800
8817 1 file changed, 4 insertions(+)
8819 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
8820 Author: Simon Feltman <sfeltman@src.gnome.org>
8821 Date: Wed Feb 12 10:28:35 2014 -0800
8823 Use GObject type checking for instance arguments
8825 Add a g_type_is_a check to interface/object instance arguments
8827 to the Python IsInstance check. This loosens restrictions on
8829 don't use gi.overrides.override() and is needed to keep API
8831 which broke with commit:
8832 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
8834 https://bugzilla.gnome.org/show_bug.cgi?id=724009
8836 gi/pygi-object.c | 6 +++++-
8837 1 file changed, 5 insertions(+), 1 deletion(-)
8839 commit 419e13e1717b725d5c6815bae9672649b0afddd4
8840 Author: Simon Feltman <sfeltman@src.gnome.org>
8841 Date: Mon Feb 3 15:58:30 2014 -0800
8843 configure.ac: post release version bump to 3.11.90
8846 1 file changed, 1 insertion(+), 1 deletion(-)
8848 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
8849 Author: Simon Feltman <sfeltman@src.gnome.org>
8850 Date: Mon Feb 3 15:51:27 2014 -0800
8854 NEWS | 16 ++++++++++++++++
8855 1 file changed, 16 insertions(+)
8857 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
8858 Author: Simon Feltman <sfeltman@src.gnome.org>
8859 Date: Mon Feb 3 06:45:09 2014 -0800
8861 Restore pygobject_version API needed for pygobject.h
8863 Add gi._gobject.pygobject_version which was removed with commit:
8864 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
8865 This is needed for pygobject.h to function properly.
8867 gi/_gobject/__init__.py | 1 +
8868 1 file changed, 1 insertion(+)
8870 commit f3be4cedcb1d395a3fabee95d7460bce86268153
8871 Author: Simon Feltman <sfeltman@src.gnome.org>
8872 Date: Mon Feb 3 06:29:07 2014 -0800
8874 cache refactoring: Add comments to arg cache setup functions
8876 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8878 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
8879 1 file changed, 36 insertions(+)
8881 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
8882 Author: Simon Feltman <sfeltman@src.gnome.org>
8883 Date: Mon Feb 3 06:24:18 2014 -0800
8885 cache refactoring: Use consistent prefix for arg cache functions
8887 Use "pygi_arg_cache" as the prefix for arg cache memory related
8890 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8892 gi/pygi-array.c | 6 ++--
8893 gi/pygi-basictype.c | 4 +--
8894 gi/pygi-cache.c | 74
8895 ++++++++++++++++++++++++------------------------
8896 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
8897 gi/pygi-ccallback.c | 2 +-
8898 gi/pygi-closure.c | 6 ++--
8899 gi/pygi-enum-marshal.c | 4 +--
8900 gi/pygi-error.c | 4 +--
8901 gi/pygi-hashtable.c | 30 ++++++++++----------
8902 gi/pygi-info.c | 2 +-
8903 gi/pygi-invoke.c | 2 +-
8904 gi/pygi-list.c | 2 +-
8905 gi/pygi-object.c | 2 +-
8906 gi/pygi-struct-marshal.c | 2 +-
8907 14 files changed, 102 insertions(+), 96 deletions(-)
8909 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
8910 Author: Simon Feltman <sfeltman@src.gnome.org>
8911 Date: Sun Jan 12 12:26:30 2014 -0800
8913 marshal refactoring: Move GValue marshaling from pytype into
8916 Move marshaling of GValues to and from PyObjects into
8918 PyGTypeMarshal struct and related functions accessible via pygtype.h.
8920 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8922 gi/gobjectmodule.c | 2 +
8923 gi/pygi-struct-marshal.c | 1 +
8924 gi/pygi-value.c | 720
8925 +++++++++++++++++++++++++++++++++++++++++++++-
8926 gi/pygi-value.h | 12 +
8927 gi/pygobject-private.h | 16 --
8928 gi/pygobject.c | 2 +-
8930 +----------------------------------------------
8931 gi/pygtype.h | 17 ++
8932 8 files changed, 757 insertions(+), 741 deletions(-)
8934 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
8935 Author: Simon Feltman <sfeltman@src.gnome.org>
8936 Date: Sun Jan 12 11:41:20 2014 -0800
8938 marshal refactoring: Move GIArgument from GValue code to new file
8940 Add gi/pygi-value.h and .c files with initial contents of
8941 _pygi_argument_from_g_value. Eventually this file will contain
8943 related to GValue marshaling from various code locations in the
8946 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8948 gi/Makefile.am | 2 +
8949 gi/pygi-argument.c | 126 +----------------------------------------
8950 gi/pygi-argument.h | 3 -
8951 gi/pygi-signal-closure.c | 1 +
8952 gi/pygi-value.c | 144
8953 +++++++++++++++++++++++++++++++++++++++++++++++
8954 gi/pygi-value.h | 32 +++++++++++
8955 6 files changed, 180 insertions(+), 128 deletions(-)
8957 commit c2d5857e9b964427190e1230be32ae7919e86bc0
8958 Author: Simon Feltman <sfeltman@src.gnome.org>
8959 Date: Sat Oct 12 21:26:55 2013 -0700
8961 cache refactoring: Move enum and flags arg setup and marshaling to
8964 Move enum and flags argument cache setup and marshaling fragments into
8965 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
8967 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8969 gi/Makefile.am | 6 +-
8970 gi/pygi-argument.c | 2 -
8971 gi/pygi-cache.c | 74 ++-------
8972 gi/pygi-enum-marshal.c | 408
8973 ++++++++++++++++++++++++++++++++++++++++++++++
8974 gi/pygi-enum-marshal.h | 42 +++++
8975 gi/pygi-marshal-from-py.c | 206 -----------------------
8976 gi/pygi-marshal-from-py.h | 57 -------
8977 gi/pygi-marshal-to-py.c | 152 -----------------
8978 gi/pygi-marshal-to-py.h | 34 ----
8979 9 files changed, 464 insertions(+), 517 deletions(-)
8981 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
8982 Author: Simon Feltman <sfeltman@src.gnome.org>
8983 Date: Sat Oct 12 20:00:12 2013 -0700
8985 cache refactoring: Move various struct arg setup and marshaling to
8988 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
8990 cache setup and marshaling fragments into isolated file:
8991 pygi-struct-marshal.c.
8992 Remove redundant and dead code related to boxed and union marshaling.
8994 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8996 gi/Makefile.am | 2 +
8997 gi/pygi-argument.c | 1 +
8998 gi/pygi-array.c | 3 +
8999 gi/pygi-cache.c | 72 +------
9000 gi/pygi-cache.h | 1 +
9001 gi/pygi-marshal-cleanup.c | 48 -----
9002 gi/pygi-marshal-cleanup.h | 16 --
9003 gi/pygi-marshal-from-py.c | 288 --------------------------
9004 gi/pygi-marshal-from-py.h | 33 ---
9005 gi/pygi-marshal-to-py.c | 120 -----------
9006 gi/pygi-marshal-to-py.h | 27 ---
9007 gi/pygi-object.c | 2 +-
9008 gi/pygi-struct-marshal.c | 516
9009 ++++++++++++++++++++++++++++++++++++++++++++++
9010 gi/pygi-struct-marshal.h | 73 +++++++
9011 14 files changed, 607 insertions(+), 595 deletions(-)
9013 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
9014 Author: Simon Feltman <sfeltman@src.gnome.org>
9015 Date: Sat Oct 12 16:40:58 2013 -0700
9017 cache refactoring: Move GObject arg setup and marshaling into new file
9019 Move GObject argument cache setup and marshaling fragments into
9020 isolated file: pygi-object.c.
9021 Break GIInterfaceCache creation and setup into API for interface based
9022 argument cache usage.
9024 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9026 gi/Makefile.am | 2 +
9027 gi/pygi-argument.c | 7 +-
9028 gi/pygi-cache.c | 183 ++++++++++++++-----------------
9029 gi/pygi-cache.h | 7 ++
9030 gi/pygi-marshal-cleanup.c | 27 -----
9031 gi/pygi-marshal-cleanup.h | 10 --
9032 gi/pygi-marshal-from-py.c | 123 ---------------------
9033 gi/pygi-marshal-from-py.h | 12 --
9034 gi/pygi-marshal-to-py.c | 31 ------
9035 gi/pygi-marshal-to-py.h | 8 --
9036 gi/pygi-object.c | 273
9037 ++++++++++++++++++++++++++++++++++++++++++++++
9038 gi/pygi-object.h | 46 ++++++++
9039 12 files changed, 416 insertions(+), 313 deletions(-)
9041 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
9042 Author: Simon Feltman <sfeltman@src.gnome.org>
9043 Date: Sat Oct 12 12:39:20 2013 -0700
9045 cache refactoring: Move closure setup and marshaling into pygi-closure
9047 Move closure argument caching and marshaling fragments into
9050 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9052 gi/pygi-cache.c | 111 ++--------------
9053 gi/pygi-cache.h | 9 --
9054 gi/pygi-closure.c | 314
9055 +++++++++++++++++++++++++++++++++++++++++++++-
9056 gi/pygi-closure.h | 13 +-
9057 gi/pygi-marshal-cleanup.c | 14 ---
9058 gi/pygi-marshal-cleanup.h | 5 -
9059 gi/pygi-marshal-from-py.c | 160 -----------------------
9060 gi/pygi-marshal-from-py.h | 6 -
9061 gi/pygi-marshal-to-py.c | 13 --
9062 gi/pygi-marshal-to-py.h | 4 -
9063 10 files changed, 333 insertions(+), 316 deletions(-)
9065 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
9066 Author: Simon Feltman <sfeltman@src.gnome.org>
9067 Date: Sat Oct 12 11:30:36 2013 -0700
9069 cache refactoring: Move GError arg setup and marshaling to new file
9071 Move GError argument caching and marshaling fragments into
9072 isolated file: pygi-error.c.
9074 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9076 gi/Makefile.am | 2 +
9077 gi/pygi-cache.c | 93 ++++++++++++---------------------------
9078 gi/pygi-error.c | 109
9079 ++++++++++++++++++++++++++++++++++++++++++++++
9080 gi/pygi-error.h | 35 +++++++++++++++
9081 gi/pygi-marshal-from-py.c | 13 ------
9082 gi/pygi-marshal-from-py.h | 6 ---
9083 gi/pygi-marshal-to-py.c | 22 ----------
9084 gi/pygi-marshal-to-py.h | 4 --
9085 8 files changed, 174 insertions(+), 110 deletions(-)
9087 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
9088 Author: Simon Feltman <sfeltman@src.gnome.org>
9089 Date: Sat Oct 12 03:07:53 2013 -0700
9091 cache refactoring: Move GArray arg setup and marshaling into new file
9093 Move GArray argument caching and marshaling fragments into an
9094 isolated file: pygi-array.c.
9096 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9098 gi/Makefile.am | 2 +
9099 gi/pygi-array.c | 906
9100 ++++++++++++++++++++++++++++++++++++++++++++++
9101 gi/pygi-array.h | 42 +++
9102 gi/pygi-cache.c | 236 +-----------
9103 gi/pygi-marshal-cleanup.c | 150 --------
9104 gi/pygi-marshal-cleanup.h | 10 -
9105 gi/pygi-marshal-from-py.c | 354 ------------------
9106 gi/pygi-marshal-from-py.h | 6 -
9107 gi/pygi-marshal-to-py.c | 210 -----------
9108 gi/pygi-marshal-to-py.h | 4 -
9109 10 files changed, 963 insertions(+), 957 deletions(-)
9111 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
9112 Author: Simon Feltman <sfeltman@src.gnome.org>
9113 Date: Fri Oct 11 23:26:08 2013 -0700
9115 cache refactoring: Move GList/GSList arg setup and marshaling into
9118 Move GList and GSList argument caching and marshaling fragments
9120 isolated file: pygi-list.c.
9122 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9124 gi/Makefile.am | 2 +
9125 gi/pygi-cache.c | 71 ++-----
9126 gi/pygi-list.c | 466
9127 ++++++++++++++++++++++++++++++++++++++++++++++
9128 gi/pygi-list.h | 38 ++++
9129 gi/pygi-marshal-cleanup.c | 80 --------
9130 gi/pygi-marshal-cleanup.h | 10 -
9131 gi/pygi-marshal-from-py.c | 156 ----------------
9132 gi/pygi-marshal-from-py.h | 12 --
9133 gi/pygi-marshal-to-py.c | 98 ----------
9134 gi/pygi-marshal-to-py.h | 8 -
9135 10 files changed, 517 insertions(+), 424 deletions(-)
9137 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
9138 Author: Simon Feltman <sfeltman@src.gnome.org>
9139 Date: Fri Oct 11 21:30:45 2013 -0700
9141 cache refactoring: Break sequence cache up for array vs list
9143 Add new arg cache type specialized for arrays. This cleans up
9145 sequence cache type which does not need length and size related
9147 fixed length checks from GList and GSList from_py marshaling
9151 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9153 gi/pygi-cache.c | 160
9154 +++++++++++++++++++++++++++++++++++-----------
9155 gi/pygi-cache.h | 16 ++++-
9156 gi/pygi-invoke.c | 4 +-
9157 gi/pygi-marshal-cleanup.c | 28 ++++----
9158 gi/pygi-marshal-from-py.c | 37 ++++-------
9159 gi/pygi-marshal-to-py.c | 23 +++----
9160 6 files changed, 177 insertions(+), 91 deletions(-)
9162 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
9163 Author: Simon Feltman <sfeltman@src.gnome.org>
9164 Date: Fri Oct 11 20:12:01 2013 -0700
9166 cache refactoring: Move basic type arg setup and marshaling into
9169 Move all basic type arg caching and marshaling fragments into
9171 file where most functions are made static. pygi-basictype.h exposes:
9172 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
9174 _pygi_marshal_to_py_basic_type which allows continued use for all
9178 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9180 gi/Makefile.am | 2 +
9181 gi/pygi-argument.c | 1 +
9182 gi/pygi-basictype.c | 824
9183 ++++++++++++++++++++++++++++++++++++++++++++++
9184 gi/pygi-basictype.h | 42 +++
9185 gi/pygi-cache.c | 82 +----
9186 gi/pygi-cache.h | 1 +
9187 gi/pygi-marshal-cleanup.c | 26 --
9188 gi/pygi-marshal-cleanup.h | 10 -
9189 gi/pygi-marshal-from-py.c | 478 ---------------------------
9190 gi/pygi-marshal-from-py.h | 18 -
9191 gi/pygi-marshal-to-py.c | 155 ---------
9192 gi/pygi-marshal-to-py.h | 11 -
9193 12 files changed, 880 insertions(+), 770 deletions(-)
9195 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
9196 Author: Simon Feltman <sfeltman@src.gnome.org>
9197 Date: Fri Oct 11 17:39:31 2013 -0700
9199 cache refactoring: Move PyGIHashCache and related marshaling into
9202 Re-organize hash table arg cache and its marshaling by moving all
9203 related code fragments into an isolated file where most of it is made
9204 static. pygi-hashtable.h exposes a single function:
9205 pygi_arg_hash_table_new_from_info. This is all the caching system
9207 produce the proper bits for handling hash table marshaling.
9209 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9211 gi/Makefile.am | 4 +-
9212 gi/pygi-cache.c | 103 +-----------
9213 gi/pygi-cache.h | 21 ++-
9214 gi/pygi-hashtable.c | 413
9215 ++++++++++++++++++++++++++++++++++++++++++++++
9216 gi/pygi-hashtable.h | 35 ++++
9217 gi/pygi-marshal-cleanup.c | 63 -------
9218 gi/pygi-marshal-cleanup.h | 10 --
9219 gi/pygi-marshal-from-py.c | 125 --------------
9220 gi/pygi-marshal-from-py.h | 6 -
9221 gi/pygi-marshal-to-py.c | 85 ----------
9222 gi/pygi-marshal-to-py.h | 4 -
9223 11 files changed, 471 insertions(+), 398 deletions(-)
9225 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
9226 Author: Simon Feltman <sfeltman@src.gnome.org>
9227 Date: Fri Oct 11 15:49:32 2013 -0700
9229 cache refactoring: Separate ArgCache creation and setup
9231 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
9232 functions: pygi_arg_base_setup and pygi_arg_interface_setup
9234 Shift argument order and move arguments which will eventually
9236 from the signature into the tail with comment. Isolate special
9238 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
9239 _arg_cache_new_for_interface.
9241 https://bugzilla.gnome.org/show_bug.cgi?id=709700
9243 gi/pygi-cache.c | 263
9244 ++++++++++++++++++++++++++++++++------------------------
9245 gi/pygi-cache.h | 15 ++++
9246 2 files changed, 167 insertions(+), 111 deletions(-)
9248 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
9249 Author: Simon Feltman <sfeltman@src.gnome.org>
9250 Date: Sun Feb 2 15:52:24 2014 -0800
9252 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
9254 https://bugzilla.gnome.org/show_bug.cgi?id=722899
9256 tests/test_gi.py | 3 +++
9257 1 file changed, 3 insertions(+)
9259 commit e79d2acc54c1e3b052835de5de20feb0b7069476
9260 Author: Mike Gorse <mgorse@suse.com>
9261 Date: Fri Jan 24 05:17:06 2014 -0600
9263 tests: Add test for an owned boxed struct passed in a callback
9265 https://bugzilla.gnome.org/show_bug.cgi?id=722899
9267 tests/test_gi.py | 11 +++++++++++
9268 1 file changed, 11 insertions(+)
9270 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
9271 Author: Simon Feltman <sfeltman@src.gnome.org>
9272 Date: Thu Jan 23 17:19:12 2014 -0800
9274 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
9276 Rename GIObjectMeta to GObjectMeta reverting it to its original
9278 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
9279 That change could have been considered an API break for anyone
9281 gi.types.GObjectMeta since it is essentially public API. Rename
9283 class to _GObjectMetaBase which was previously gi._gobject before
9284 commit 2624bd2b (private API).
9286 gi/module.py | 8 ++++----
9287 gi/types.py | 10 +++++-----
9288 2 files changed, 9 insertions(+), 9 deletions(-)
9290 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
9291 Author: Patrick Welche <prlw1@cam.ac.uk>
9292 Date: Thu Jan 23 23:49:51 2014 +0000
9294 build: Add --without-common configure option for package maintainers
9296 https://bugzilla.gnome.org/show_bug.cgi?id=721646
9299 configure.ac | 7 +++++++
9300 gi/Makefile.am | 2 ++
9301 3 files changed, 11 insertions(+)
9303 commit df21dbbc84fa319af2a0f0664de436ca30df616e
9304 Author: Simon Feltman <sfeltman@src.gnome.org>
9305 Date: Thu Jan 16 16:33:41 2014 -0800
9307 tests: Add skipped test for GLib.Source inheritance problems
9309 Add test showing memory problems with sub-classes of GLib.Source.
9311 https://bugzilla.gnome.org/show_bug.cgi?id=722387
9313 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
9314 1 file changed, 45 insertions(+)
9316 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
9317 Author: Simon Feltman <sfeltman@src.gnome.org>
9318 Date: Wed Jan 15 12:51:57 2014 -0800
9320 Fix reference sharing of gi sub-modules in Python 2
9322 Ensure we add a new reference to sub-modules added to gi._gi. This may
9323 have caused GC errors upon exiting the Python process since a
9325 shared by sys.modules and gi._gi.
9327 https://bugzilla.gnome.org/show_bug.cgi?id=722274
9329 gi/gimodule.c | 11 +++++++++++
9330 1 file changed, 11 insertions(+)
9332 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
9333 Author: Simon Feltman <sfeltman@src.gnome.org>
9334 Date: Tue Jan 14 23:46:44 2014 -0800
9336 demo: Add TreeModel interface implementation demonstration
9338 Add demo which shows how to implement the Gtk.TreeModel interfaces
9342 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
9343 +++++++++++++++++++++++
9344 1 file changed, 143 insertions(+)
9346 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
9347 Author: Simon Feltman <sfeltman@src.gnome.org>
9348 Date: Tue Jan 14 23:33:16 2014 -0800
9350 demo: Remove "Icon View" and "Tree View" directories
9352 demos/gtk-demo/demos/Icon View/__init__.py | 0
9353 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
9354 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
9355 demos/gtk-demo/demos/Tree View/__init__.py | 0
9356 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
9357 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
9359 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
9360 ---------------------
9361 7 files changed, 1041 deletions(-)
9363 commit f89fa08ba756a1c529ff48beb39025f834a249bf
9364 Author: Simon Feltman <sfeltman@src.gnome.org>
9365 Date: Tue Jan 14 23:08:33 2014 -0800
9367 demo: Remove spaces from demo sub-directories
9369 Move "Icon View" to IconView and "Tree View" to TreeView. This
9371 ability to package the demos in tarball releases in future versions.
9373 demos/gtk-demo/demos/IconView/__init__.py | 0
9374 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
9375 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
9376 demos/gtk-demo/demos/TreeView/__init__.py | 0
9377 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
9378 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
9380 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
9381 +++++++++++++++++++++
9382 7 files changed, 1041 insertions(+)
9384 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
9385 Author: Simon Feltman <sfeltman@src.gnome.org>
9386 Date: Tue Jan 14 14:28:52 2014 -0800
9388 build: Remove _glib directory include from testhelper CFLAGS
9390 tests/Makefile.am | 2 +-
9391 1 file changed, 1 insertion(+), 1 deletion(-)
9393 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
9394 Author: Colin Walters <walters@verbum.org>
9395 Date: Tue Jan 14 16:33:38 2014 -0500
9397 build: Set PLATFORM_VERSION again to 3.0
9399 We are installing headers to:
9400 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
9402 If the variable isn't set, then things attempting to use pygobject
9405 This was a regression from a build system refactoring.
9407 gi/Makefile.am | 2 ++
9408 1 file changed, 2 insertions(+)
9410 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
9411 Author: Simon Feltman <sfeltman@src.gnome.org>
9412 Date: Tue Jan 14 12:54:42 2014 -0800
9414 Fix Python 2 build warning for module definitions
9416 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
9418 needed now that the function signature created with
9419 PYGLIB_MODULE_START is
9420 consistent between the two versions.
9422 gi/pyglib-python-compat.h | 5 ++---
9423 1 file changed, 2 insertions(+), 3 deletions(-)
9425 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
9426 Author: Simon Feltman <sfeltman@src.gnome.org>
9427 Date: Tue Jan 14 12:26:16 2014 -0800
9429 tests: Run PyFlakes and PEP8 only on SUBDIRS
9431 Move PyFlakes and PEP8 checks into check-local of the root
9433 run these tools on selective subdirs of top_srcdir. This fixes
9435 where vpath build directories within the srcdir would contain links
9437 source files, causing these tools to run multiple times slowing
9441 Makefile.am | 21 ++++++++++++++++++++-
9442 tests/Makefile.am | 6 ------
9443 2 files changed, 20 insertions(+), 7 deletions(-)
9445 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
9446 Author: Simon Feltman <sfeltman@src.gnome.org>
9447 Date: Tue Jan 14 12:25:09 2014 -0800
9449 Remove _glib include path from gi module target
9451 gi/Makefile.am | 7 ++-----
9452 1 file changed, 2 insertions(+), 5 deletions(-)
9454 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
9455 Author: Simon Feltman <sfeltman@src.gnome.org>
9456 Date: Wed Jan 8 19:22:08 2014 -0800
9458 Move Python glib options module into gi package
9460 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
9464 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9468 gi/Makefile.am | 1 -
9469 gi/_glib/Makefile.am | 21 ---------------------
9470 gi/_glib/__init__.py | 20 --------------------
9471 gi/{_glib/option.py => _option.py} | 2 +-
9472 gi/overrides/GLib.py | 2 +-
9473 gi/overrides/GObject.py | 2 +-
9474 8 files changed, 5 insertions(+), 47 deletions(-)
9476 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
9477 Author: Simon Feltman <sfeltman@src.gnome.org>
9478 Date: Wed Jan 8 18:57:58 2014 -0800
9480 Merge static PyGLib module into PyGI
9482 Remove gi._glib._glib as a separately compiled module. Move all C
9484 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
9486 shared dependency since we do not distribute header files for it.
9487 Remove unused threading macros.
9489 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9491 gi/Makefile.am | 16 +++++--
9492 gi/_glib/Makefile.am | 74
9493 +-------------------------------
9494 gi/_glib/__init__.py | 5 ---
9495 gi/_glib/option.py | 2 +-
9496 gi/gimodule.c | 9 ++++
9497 gi/{_glib => }/glibmodule.c | 34 ++-------------
9498 gi/gobjectmodule.c | 5 +--
9499 gi/overrides/GLib.py | 2 +-
9500 gi/{_glib => }/pyglib-private.h | 14 ++----
9501 gi/{_glib => }/pyglib-python-compat.h | 0
9502 gi/{_glib => }/pyglib.c | 81
9503 ++---------------------------------
9504 gi/{_glib => }/pyglib.h | 10 -----
9505 gi/{_glib => }/pygoptioncontext.c | 0
9506 gi/{_glib => }/pygoptioncontext.h | 0
9507 gi/{_glib => }/pygoptiongroup.c | 0
9508 gi/{_glib => }/pygoptiongroup.h | 0
9509 gi/{_glib => }/pygspawn.c | 0
9510 gi/{_glib => }/pygspawn.h | 0
9511 18 files changed, 40 insertions(+), 212 deletions(-)
9513 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
9514 Author: Simon Feltman <sfeltman@src.gnome.org>
9515 Date: Thu Oct 31 03:13:53 2013 -0700
9517 Move gobject sub-module Python files into the main gi package
9519 This moves the signalhelper, propertyhelper, and constants Python
9521 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
9523 still needed to maintain the "_PyGObject_API" exposed by
9525 allows external modules compiled with prior versions of PyGObject to
9526 continue working with newer versions.
9528 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9531 gi/__init__.py | 19 +++++-----
9532 gi/{_gobject/constants.py => _constants.py} | 5 ++-
9533 gi/_gobject/Makefile.am | 5 +--
9534 gi/_gobject/__init__.py | 42
9535 ++--------------------
9536 .../propertyhelper.py => _propertyhelper.py} | 4 +--
9537 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
9538 gi/module.py | 16 ++++-----
9539 gi/overrides/GObject.py | 7 ++--
9540 gi/overrides/__init__.py | 2 +-
9542 ++++++++++++++++-----
9543 pygtkcompat/pygtkcompat.py | 4 +--
9544 tests/test_gi.py | 2 +-
9545 tests/test_gobject.py | 4 ++-
9546 tests/test_properties.py | 2 +-
9547 tests/test_signal.py | 2 +-
9548 16 files changed, 78 insertions(+), 87 deletions(-)
9550 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
9551 Author: Simon Feltman <sfeltman@src.gnome.org>
9552 Date: Thu Oct 31 02:22:03 2013 -0700
9554 Merge gobject static code into the gi module
9556 Remove gi._gobject._gobject as a separately compiled static module and
9557 move all the files into gi._gi.
9558 Remove dead module initialization macros from "pyglib-python-compat.h"
9560 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9562 gi/Makefile.am | 31 ++++++++++++++--
9563 gi/_glib/pyglib-python-compat.h | 62
9564 +++++++++----------------------
9565 gi/_gobject/Makefile.am | 69
9566 +----------------------------------
9567 gi/_gobject/__init__.py | 4 +-
9568 gi/_gobject/constants.py | 3 +-
9569 gi/_gobject/propertyhelper.py | 16 +++++---
9570 gi/_gobject/signalhelper.py | 3 +-
9571 gi/gimodule.c | 13 ++++---
9572 gi/{_gobject => }/gobjectmodule.c | 0
9574 gi/{_gobject => }/pygboxed.c | 0
9575 gi/{_gobject => }/pygboxed.h | 0
9576 gi/{_gobject => }/pygenum.c | 0
9577 gi/{_gobject => }/pygenum.h | 0
9578 gi/{_gobject => }/pygflags.c | 0
9579 gi/{_gobject => }/pygflags.h | 0
9580 gi/pygi-argument.c | 3 +-
9581 gi/pygi-boxed.c | 2 +-
9582 gi/pygi-ccallback.c | 2 +-
9583 gi/pygi-foreign.c | 2 +-
9584 gi/pygi-info.c | 2 +-
9585 gi/pygi-marshal-to-py.c | 3 +-
9586 gi/pygi-private.h | 2 +-
9587 gi/pygi-source.c | 3 +-
9588 gi/pygi-struct.c | 2 +-
9590 gi/{_gobject => }/pyginterface.c | 0
9591 gi/{_gobject => }/pyginterface.h | 0
9592 gi/{_gobject => }/pygobject-private.h | 5 ++-
9593 gi/{_gobject => }/pygobject.c | 0
9594 gi/{_gobject => }/pygobject.h | 0
9595 gi/{_gobject => }/pygparamspec.c | 0
9596 gi/{_gobject => }/pygparamspec.h | 2 +
9597 gi/{_gobject => }/pygpointer.c | 0
9598 gi/{_gobject => }/pygpointer.h | 0
9599 gi/{_gobject => }/pygtype.c | 0
9600 gi/{_gobject => }/pygtype.h | 0
9602 tests/Makefile.am | 2 +-
9603 39 files changed, 93 insertions(+), 148 deletions(-)
9605 commit a329f559002f2be0898309c9d81cdf2c34aef158
9606 Author: Simon Feltman <sfeltman@src.gnome.org>
9607 Date: Tue Jan 14 10:15:53 2014 -0800
9609 tests: Fix test_torture_profile to return a number from its callback
9611 Return a number from rather than None from the callback passed to
9612 regress_test_torture_signature_2. This fixes a TypeError being
9614 callback return argument marshaling which was ignored by the test
9617 tests/test_everything.py | 2 +-
9618 1 file changed, 1 insertion(+), 1 deletion(-)
9620 commit a50a8386aae54dace7e46569415fdef85758fb9c
9621 Author: Martin Pitt <martinpitt@gnome.org>
9622 Date: Tue Jan 14 08:53:25 2014 +0100
9624 Add test for callback user data arguments with following arguments
9626 In this case we can't use the varargs userdata handling. Provides
9628 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
9630 tests/test_everything.py | 48
9631 ++++++++++++++++++++++++++++++++++++++++++++++++
9632 1 file changed, 48 insertions(+)
9634 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
9635 Author: Simon Feltman <sfeltman@src.gnome.org>
9636 Date: Mon Jan 13 08:19:02 2014 -0800
9638 valgrind: Add suppression files for python3.3 and python3.3dm
9640 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
9641 suppression filename in the various make check.valgrind
9643 python.supp to python2.7.supp
9645 tests/Makefile.am | 6 +-
9646 tests/{python.supp => python2.7.supp} | 0
9647 tests/python3.3.supp | 471
9648 ++++++++++++++++++++++++++++++++++
9649 tests/python3.3dm.supp | 471
9650 ++++++++++++++++++++++++++++++++++
9651 4 files changed, 945 insertions(+), 3 deletions(-)
9653 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
9654 Author: Simon Feltman <sfeltman@src.gnome.org>
9655 Date: Mon Jan 13 18:53:55 2014 -0800
9657 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
9659 Make sure NEWS generation uses top_srcdir to allow "make release-news"
9661 work under a vpath build (directory outside the source tree).
9662 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
9664 where running "make dist" under a vpath build directory would
9668 Makefile.am | 6 +++---
9669 1 file changed, 3 insertions(+), 3 deletions(-)
9671 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
9672 Author: Simon Feltman <sfeltman@src.gnome.org>
9673 Date: Mon Jan 13 18:53:02 2014 -0800
9675 Update HACKING to include better release tagging instructions
9677 HACKING | 15 ++++++++-------
9678 1 file changed, 8 insertions(+), 7 deletions(-)
9680 commit c0a43d259c003c5d06db23debd0675b87e805b74
9681 Author: Simon Feltman <sfeltman@src.gnome.org>
9682 Date: Mon Jan 13 17:20:17 2014 -0800
9684 configure.ac: post release version bump to 3.11.5
9686 NEWS | 16 ++++++++++++++++
9688 2 files changed, 17 insertions(+), 1 deletion(-)
9690 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
9691 Author: Simon Feltman <sfeltman@src.gnome.org>
9692 Date: Mon Jan 13 16:51:41 2014 -0800
9694 Fix mid-argument list callback user data expecting a tuple
9696 Ensure user data arguments are always packed into a tuple during
9698 marshaling. This fixes cases where there is mid-argument user data
9700 not in the form of a variable length tuple.
9702 https://bugzilla.gnome.org/show_bug.cgi?id=722104
9704 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
9705 1 file changed, 15 insertions(+), 1 deletion(-)
9707 commit 415b240e3baab522f3bf9752995610f950ba609e
9708 Author: Simon Feltman <sfeltman@src.gnome.org>
9709 Date: Tue Oct 15 03:57:52 2013 -0700
9711 Remove special case GObject base class check when creating GI classes
9713 Replace explicit GObject.Object string name check when calculating the
9714 introspection class hierarchy with a more generalized technique. This
9716 any C based wrapper of a GType to "underride" an introspection class
9717 automatically. This currently only handles the case of GObject.Object,
9719 will be used for fundamentals and GParamSpec.
9721 https://bugzilla.gnome.org/show_bug.cgi?id=631901
9723 gi/module.py | 17 +++++++++++------
9724 1 file changed, 11 insertions(+), 6 deletions(-)
9726 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
9727 Author: Simon Feltman <sfeltman@src.gnome.org>
9728 Date: Tue Jan 7 09:16:54 2014 -0800
9730 overrides: Fix __repr__ for various Gdk structs
9732 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
9734 string reprentation that is valid Python given an expected
9736 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
9738 gi/overrides/Gdk.py | 10 +++++-----
9739 tests/test_atoms.py | 7 +++++--
9740 tests/test_overrides_gdk.py | 9 +++++++++
9741 3 files changed, 19 insertions(+), 7 deletions(-)
9743 commit f6a87935596a3b59c238a5572b288f34691b53d1
9744 Author: Simon Feltman <sfeltman@src.gnome.org>
9745 Date: Tue Jan 7 07:31:22 2014 -0800
9747 docs: Fix array length argument skipping with preceding out arguments
9749 Remove split_function_info_args and use a list of all arguments for
9750 generating skipped index lists. Determine argument skipping based
9752 full argument list in each in/inout and out/inout argument list
9754 This fixes a problem where out arguments preceding array length
9756 would still show array length arguments in the docstring. This was
9758 index mismatch when using split lists instead of list of all
9761 gi/docstring.py | 38 ++++++++++++--------------------------
9762 tests/test_docstring.py | 37 +++++++++++++++----------------------
9763 2 files changed, 27 insertions(+), 48 deletions(-)
9765 commit f114edc0a0afa64077a13459034afc4255b7a3f1
9766 Author: Simon Feltman <sfeltman@src.gnome.org>
9767 Date: Mon Jan 6 22:10:47 2014 -0800
9769 overrides: Remove GLib.Source.attach
9771 Remove GLib.Source.attach override now that tail end allow-none
9773 default to None when not specified.
9775 gi/overrides/GLib.py | 5 -----
9776 tests/test_glib.py | 7 +++++++
9777 2 files changed, 7 insertions(+), 5 deletions(-)
9779 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
9780 Author: Simon Feltman <sfeltman@src.gnome.org>
9781 Date: Mon Jan 6 21:42:09 2014 -0800
9783 overrides: Remove Gtk overrides with tail end allow-none keywords
9785 Remove overrides for Widget.render_icon, TextIter.begins_tag,
9787 toggles_tag, and TreeModel.filter_new. These overrides added an
9788 optional keyword=None for allow-none arguments. This is now implicitly
9789 accepted by the PyGObject machinery so the overrides can go away.
9791 gi/overrides/Gtk.py | 16 ----------------
9792 tests/test_overrides_gtk.py | 11 +++++++++++
9793 2 files changed, 11 insertions(+), 16 deletions(-)
9795 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
9796 Author: Simon Feltman <sfeltman@src.gnome.org>
9797 Date: Mon Jan 6 21:22:41 2014 -0800
9799 overrides: Remove Pango.Context.get_metrics
9801 Remove the override for Pango.Context and the get_metrics method. This
9803 be done now that tail end method arguments with "allow-none"
9805 defaulted to use None/NULL.
9807 gi/overrides/Pango.py | 9 ---------
9808 tests/test_overrides_pango.py | 12 ++++++++++++
9809 2 files changed, 12 insertions(+), 9 deletions(-)
9811 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
9812 Author: Simon Feltman <sfeltman@src.gnome.org>
9813 Date: Mon Jan 6 17:35:04 2014 -0800
9815 Add enum and flags member methods
9817 Add all methods from GIEnumInfo to both enums and flags classes.
9819 https://bugzilla.gnome.org/show_bug.cgi?id=693099
9822 tests/test_gi.py | 9 +++++++++
9823 2 files changed, 11 insertions(+)
9825 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
9826 Author: Patrick Welche <prlw1@cam.ac.uk>
9827 Date: Mon Jan 6 22:31:48 2014 +0000
9829 python.m4: g/c JD_PYTHON_CHECK_VERSION
9831 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
9832 is identical (made here).
9834 https://bugzilla.gnome.org/show_bug.cgi?id=721662
9836 configure.ac | 4 ++--
9837 m4/python.m4 | 23 ++---------------------
9838 2 files changed, 4 insertions(+), 23 deletions(-)
9840 commit aaaead18e2167c2becb309f1d9ae199222c0256b
9841 Author: Simon Feltman <sfeltman@src.gnome.org>
9842 Date: Sat Jan 4 16:31:56 2014 -0800
9844 Support union creation with PyGIStruct
9846 Add additional case for allowing the creation bare unions wrapped with
9847 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
9850 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
9851 tests/test_repository.py | 13 +++++++++++++
9852 2 files changed, 47 insertions(+), 5 deletions(-)
9854 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
9855 Author: Simon Feltman <sfeltman@src.gnome.org>
9856 Date: Sat Jan 4 16:07:44 2014 -0800
9858 Fix crash in error handling when creating struct with mismatched
9861 Error handling code was attempting to get the PyType of a pointer to a
9862 pointer. Use the correct amount of indirection so an exception is
9864 intended rather than a segfault.
9866 gi/pygi-info.c | 2 +-
9867 1 file changed, 1 insertion(+), 1 deletion(-)
9869 commit 07abf8343bbeac6f36d370ced654fa6506b22175
9870 Author: Simon Feltman <sfeltman@src.gnome.org>
9871 Date: Wed Jan 1 20:23:17 2014 -0800
9873 docs: Skip display of default constructor for disguised structs
9875 Structs which have zero length should now show a default constructor.
9876 Structs with a length should not show keyword arguments in the default
9879 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9881 gi/docstring.py | 9 ++++++++-
9882 tests/test_docstring.py | 18 ++++++++++++++++--
9883 2 files changed, 24 insertions(+), 3 deletions(-)
9885 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
9886 Author: Simon Feltman <sfeltman@src.gnome.org>
9887 Date: Wed Jan 1 19:57:06 2014 -0800
9889 Cleanup disguised struct constructor error and add it to boxed
9891 Give a cleaner error message when an attempt is made to create
9893 struct which also gives a hint to look at the pydoc. Add similar
9895 disguised boxed/unions.
9897 https://bugzilla.gnome.org/show_bug.cgi?id=647249
9899 gi/pygi-boxed.c | 17 ++++++++++++++---
9900 gi/pygi-struct.c | 2 +-
9901 tests/test_everything.py | 1 -
9902 tests/test_glib.py | 4 ++++
9903 4 files changed, 19 insertions(+), 5 deletions(-)
9905 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
9906 Author: Simon Feltman <sfeltman@src.gnome.org>
9907 Date: Wed Jan 1 19:54:59 2014 -0800
9909 docs: List default constructor in doc strings
9911 Add default constructor to class docs strings as:
9912 Object(**properties)
9914 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9916 gi/docstring.py | 10 ++++------
9917 1 file changed, 4 insertions(+), 6 deletions(-)
9919 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
9920 Author: Simon Feltman <sfeltman@src.gnome.org>
9921 Date: Wed Jan 1 17:34:32 2014 -0800
9923 docs: List constructors in object and struct doc strings
9925 Add type dispatching to gi.docstring documentation generator for
9927 of StructInfo and ObjectInfo. Add lazy doc string generation to
9928 Object and Struct meta classes by using a property for __doc__. This
9930 available constructors immediately in all GObject.Object and Struct
9936 Button(**properties)
9938 new_from_icon_name(icon_name:str, size:int)
9939 new_from_stock(stock_id:str)
9940 new_with_label(label:str)
9941 new_with_mnemonic(label:str)
9943 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9945 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
9946 gi/types.py | 9 +++++++++
9947 tests/test_docstring.py | 8 ++++++++
9948 3 files changed, 46 insertions(+), 7 deletions(-)
9950 commit 44612636575dd93c97210a7255c4490e2c84db67
9951 Author: Simon Feltman <sfeltman@src.gnome.org>
9952 Date: Wed Jan 1 17:10:15 2014 -0800
9954 docs: Cleanup PyGIBaseInfo repr
9956 Remove angle brackets and pointer address from
9957 PyGIBaseInfo.__repr__. This
9958 cleans up documentation and makes it easier to read.
9960 gi/pygi-info.c | 5 ++---
9961 1 file changed, 2 insertions(+), 3 deletions(-)
9963 commit 826c0e63eabac68fd665335950d311988a1405e3
9964 Author: Simon Feltman <sfeltman@src.gnome.org>
9965 Date: Tue Dec 31 21:45:21 2013 -0800
9967 docs: Add return values and skip implicit out arguments in functions
9969 Add gi.CallableInfo.skip_return static binding for testing if
9971 value should show up in docs. Skip implicit list index arguments
9975 https://bugzilla.gnome.org/show_bug.cgi?id=697356
9977 gi/docstring.py | 26 +++++++++++++++++++++-----
9978 gi/pygi-info.c | 7 +++++++
9979 tests/test_docstring.py | 6 ++++++
9980 3 files changed, 34 insertions(+), 5 deletions(-)
9982 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
9983 Author: Simon Feltman <sfeltman@src.gnome.org>
9984 Date: Tue Dec 31 21:15:27 2013 -0800
9986 docs: Replace usage of functools.wraps with a custom version
9988 Using functools.wraps in overrides would cause docstring evaluation
9990 can hurt performance during overrides loading. Add custom wraps
9992 which only copies __name__ and __module__ attributes. Remove function
9993 wrapping used within gi.overrides.overridefunc because the wrapping
9995 doing anything, this preserves __doc__ ability without causing an
9999 https://bugzilla.gnome.org/show_bug.cgi?id=697356
10001 gi/overrides/GObject.py | 3 +--
10002 gi/overrides/__init__.py | 21 ++++++++++++---------
10003 2 files changed, 13 insertions(+), 11 deletions(-)
10005 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
10006 Author: Simon Feltman <sfeltman@src.gnome.org>
10007 Date: Tue Dec 31 19:42:02 2013 -0800
10009 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
10011 Move the C implementation of pytype hinting into pure Python. Now that
10012 doc strings are lazily evaluated we can simplify this tedious bit of C
10013 code with Python. This is precursory work for getting return
10015 function doc strings.
10017 https://bugzilla.gnome.org/show_bug.cgi?id=697356
10019 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
10020 gi/pygi-info.c | 49 ----------------------------------------
10021 gi/pygi-type.c | 58
10022 ------------------------------------------------
10023 gi/pygi-type.h | 2 --
10024 tests/test_docstring.py | 8 ++++---
10025 tests/test_repository.py | 1 -
10026 6 files changed, 52 insertions(+), 116 deletions(-)
10028 commit 28a178e385e32c56910f1c430b370a8872218081
10029 Author: Simon Feltman <sfeltman@src.gnome.org>
10030 Date: Tue Dec 31 17:50:36 2013 -0800
10032 docs: Skip implicit array length args when building function doc
10035 https://bugzilla.gnome.org/show_bug.cgi?id=697356
10037 gi/docstring.py | 8 ++++++--
10038 tests/test_docstring.py | 4 ++++
10039 2 files changed, 10 insertions(+), 2 deletions(-)
10041 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
10042 Author: Simon Feltman <sfeltman@src.gnome.org>
10043 Date: Tue Dec 31 13:41:20 2013 -0800
10045 gtk-demo: Avoid crash in CSS demos
10047 Avoid a potential crash in the CSS demos where the text editing
10049 out of sync with the last good CSS parsing buffer. In the case of CSS
10050 warnings, we get a parsing-error callback but no exception is raised.
10051 This would cause the buffers to become out of sync and accessing
10053 information from the parsing-error section would crash the text
10055 to an out of range iterator being created.
10057 demos/gtk-demo/demos/Css/css_basics.py | 31
10058 +++++++++++++++++++++--------
10059 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
10060 +++++++++++++++++++++--------
10061 2 files changed, 46 insertions(+), 16 deletions(-)
10063 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
10064 Author: Simon Feltman <sfeltman@src.gnome.org>
10065 Date: Tue Dec 31 02:05:46 2013 -0800
10067 gtk-demo: Add info bar and better error handling to CSS demos
10069 Use an info bar for displaying CSS parsing errors. Store the last good
10070 stylesheet text for use as a backup when a parsing error occures. This
10072 a seamless look while typing changes into the text editor.
10074 https://bugzilla.gnome.org/show_bug.cgi?id=719722
10076 demos/gtk-demo/demos/Css/css_basics.py | 28
10077 +++++++++++++++++++++-------
10078 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
10079 ++++++++++++++++++++++-------
10080 2 files changed, 43 insertions(+), 14 deletions(-)
10082 commit becb56734e13df182fd31cfe46c465477dfc4d2c
10083 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
10084 Date: Mon Dec 30 16:36:28 2013 +0100
10086 gtk-demo: Add CSS demos
10088 Add a couple of demos demostrating the use of CSS, the css files are
10089 stored into a GResource binary file compiled with
10090 glib-compile-resources,
10091 the comments in gtk-demo.py explain the usage of GResource.
10093 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
10095 https://bugzilla.gnome.org/show_bug.cgi?id=719722
10098 demos/gtk-demo/demos/Css/__init__.py | 0
10099 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
10100 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
10101 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
10102 ++++++++++++++++++++++++++
10103 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
10104 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
10105 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
10106 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
10107 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
10108 ++++++++++++++++++++++
10109 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
10110 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
10111 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
10112 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
10113 demos/gtk-demo/gtk-demo.py | 16 ++-
10114 15 files changed, 723 insertions(+), 1 deletion(-)
10116 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
10117 Author: Colin Watson <cjwatson@ubuntu.com>
10118 Date: Tue Dec 24 22:19:02 2013 +0000
10120 build: Avoid clash between gi/types.py and stdlib
10122 Use non-recursive make for the Python modules in gi/ to work around a
10123 clash between gi/types.py and the standard library's types module when
10124 running py-compile.
10126 https://bugzilla.gnome.org/show_bug.cgi?id=721025
10128 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
10130 Makefile.am | 24 ++++++++++++++++++++++++
10131 gi/Makefile.am | 20 ++------------------
10132 2 files changed, 26 insertions(+), 18 deletions(-)
10134 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
10135 Author: Simon Feltman <sfeltman@src.gnome.org>
10136 Date: Mon Dec 16 04:17:28 2013 -0800
10138 configure.ac: post-release bump to 3.11.4
10140 configure.ac | 2 +-
10141 1 file changed, 1 insertion(+), 1 deletion(-)
10143 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
10144 Author: Simon Feltman <sfeltman@src.gnome.org>
10145 Date: Mon Dec 16 04:10:54 2013 -0800
10150 1 file changed, 4 insertions(+)
10152 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
10153 Author: Simon Feltman <sfeltman@src.gnome.org>
10154 Date: Thu Dec 12 01:35:11 2013 -0800
10156 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
10158 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
10160 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
10161 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
10162 we can use the GIStructInfo API for boxed types because we also
10164 base classes on GType checks as seen in:
10165 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
10166 This fixes some of the issues noted in bug 581525.
10168 https://bugzilla.gnome.org/show_bug.cgi?id=581525
10170 gi/pygi-info.c | 13 +------------
10171 1 file changed, 1 insertion(+), 12 deletions(-)
10173 commit b3c85eec75c62c138c136531ebe49a33351941f0
10174 Author: Simon Feltman <sfeltman@src.gnome.org>
10175 Date: Sun Nov 17 20:12:50 2013 -0800
10177 configure.ac: post release version bump to 3.11.3
10179 configure.ac | 2 +-
10180 1 file changed, 1 insertion(+), 1 deletion(-)
10182 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
10183 Author: Simon Feltman <sfeltman@src.gnome.org>
10184 Date: Sun Nov 17 20:04:49 2013 -0800
10189 1 file changed, 6 insertions(+)
10191 commit 6fc3d977f17397e514aed492055e93d03c410f60
10192 Author: Simon Feltman <sfeltman@src.gnome.org>
10193 Date: Tue Nov 12 23:04:50 2013 -0800
10195 gtk-demo: Fix pyflakes error after recent commit
10197 demos/gtk-demo/demos/pixbuf.py | 2 +-
10198 1 file changed, 1 insertion(+), 1 deletion(-)
10200 commit a309b3baf5ee99139cc2d1817339233e24391bc2
10201 Author: Simon Feltman <sfeltman@src.gnome.org>
10202 Date: Tue Nov 12 18:41:35 2013 -0800
10204 gkt-demo: Change main info/source notebook into a GtkStack
10206 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
10208 and Source tabs. Beyond giving a newer look and feel to the demo,
10210 provides an example for how to use a GtkStack.
10212 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
10213 1 file changed, 17 insertions(+), 6 deletions(-)
10215 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
10216 Author: Simon Feltman <sfeltman@src.gnome.org>
10217 Date: Tue Nov 12 19:32:18 2013 -0800
10219 gtk-demo: Cleanup deprecated calls throughout demo code
10221 Specify constructor arguments as keyword args for various object
10222 creation calls. Update combobox demo to use bind_property instead
10224 signal connections with update callbacks.
10226 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
10227 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
10228 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
10229 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
10230 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
10231 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
10232 demos/gtk-demo/demos/appwindow.py | 4 +--
10233 demos/gtk-demo/demos/combobox.py | 30
10234 +++-------------------
10235 demos/gtk-demo/demos/dialogs.py | 26
10236 +++++++++----------
10237 demos/gtk-demo/demos/expander.py | 9 +++----
10238 demos/gtk-demo/demos/images.py | 2 +-
10239 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
10240 demos/gtk-demo/demos/links.py | 10 ++++----
10241 demos/gtk-demo/demos/menus.py | 4 +--
10242 demos/gtk-demo/demos/pickers.py | 8 +++---
10243 demos/gtk-demo/demos/pixbuf.py | 4 +--
10244 demos/gtk-demo/demos/rotatedtext.py | 2 +-
10245 17 files changed, 64 insertions(+), 90 deletions(-)
10247 commit 890fb7b97823985d5c800284ead43a49174db244
10248 Author: Simon Feltman <sfeltman@src.gnome.org>
10249 Date: Tue Nov 12 18:19:34 2013 -0800
10251 Revert TreeStore and ListStore initializer replacements
10253 Revert changes to Tree/ListStore where the __init__ overrides were
10255 with __new__ overrides which accept column types directly. The
10257 the change is sub-classes of these types can override __init__
10259 passing in their own column types to the super class. These
10261 expect the super class to handle column type setup via __init__
10263 the change described is an API break. This reverts parts of commit:
10264 2f2069c9efcd8f312ce9ffa572df371fbc08822d
10266 gi/overrides/Gtk.py | 10 ++++++----
10267 1 file changed, 6 insertions(+), 4 deletions(-)
10269 commit 795201873a3aae530598f5e16470b6a8d2d55c23
10270 Author: Simon Feltman <sfeltman@src.gnome.org>
10271 Date: Thu Aug 15 20:01:48 2013 -0700
10273 Deprecate Gdk.Cursor constructor dispatching
10275 Give deprecation warning for the overridden __new__ method on
10276 Gdk.Cursor when more than one argument is used. Recommend using
10277 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
10280 https://bugzilla.gnome.org/show_bug.cgi?id=705810
10282 gi/overrides/Gdk.py | 48
10283 ++++++++++++++++++++++++++-------------------
10284 tests/test_overrides_gdk.py | 17 ++++++++++++----
10285 2 files changed, 41 insertions(+), 24 deletions(-)
10287 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
10288 Author: Simon Feltman <sfeltman@src.gnome.org>
10289 Date: Thu Aug 15 19:23:18 2013 -0700
10291 Cleanup overzealous new and init implementations
10293 Remove PyGObject initializer code attempting to set properties on
10294 GObjects that have already been created. There were a number of
10295 overridden __new__ and __init__ methods that stripped away
10296 arguments before calling the base class to work around attempted
10297 property sets and argument count errors (fixing the symptom not
10299 Use Gtk.ListStore/TreeStore.new with __new__ override instead
10300 of __init__ with set_column_types.
10302 https://bugzilla.gnome.org/show_bug.cgi?id=705810
10304 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
10305 gi/_gobject/pygobject.c | 16 ++++++++++++++--
10306 gi/overrides/GObject.py | 3 ---
10307 gi/overrides/Gdk.py | 15 ---------------
10308 gi/overrides/Gtk.py | 11 ++++-------
10309 gi/overrides/Pango.py | 5 -----
10310 gi/pygi-boxed.c | 6 ------
10311 7 files changed, 32 insertions(+), 59 deletions(-)
10313 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
10314 Author: Simon Feltman <sfeltman@src.gnome.org>
10315 Date: Tue Aug 13 18:02:54 2013 -0700
10317 Add deprecation warnings and cleanup class initializer overrides
10319 Print deprecation warnings for calls to class initializers which
10320 don't explicitly specify keywords. Print deprecation warning
10321 for overrides that have renamed keywords (Gtk.Table.rows should
10322 be n_rows). Additionally deprecate non-standard defaults with
10323 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
10324 and VERTICAL in PyGI).
10325 Remove AboutDialog override because it doesn't do anything.
10327 https://bugzilla.gnome.org/show_bug.cgi?id=705810
10329 gi/overrides/Gio.py | 6 +-
10330 gi/overrides/Gtk.py | 367
10331 ++++++++++++++++++++++----------------------
10332 gi/overrides/__init__.py | 88 +++++++++++
10333 tests/test_gi.py | 75 +++++++++
10334 tests/test_overrides_gtk.py | 95 ++++++++----
10335 5 files changed, 411 insertions(+), 220 deletions(-)
10337 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
10338 Author: Simon Feltman <sfeltman@src.gnome.org>
10339 Date: Tue Aug 13 17:42:11 2013 -0700
10341 tests: Use explicit keywords args when calling initializers
10343 Replace all usage of GObject creation that relies on positional
10344 arguments from overrides. Positional initializer args will be
10345 deprecated, updating the tests as a first pass proves backwards
10346 and forwards compatibility of the deprecation.
10348 https://bugzilla.gnome.org/show_bug.cgi?id=705810
10350 tests/test_overrides_gtk.py | 107
10351 +++++++++++++++++++++++---------------------
10352 1 file changed, 55 insertions(+), 52 deletions(-)
10354 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
10355 Author: Simon Feltman <sfeltman@src.gnome.org>
10356 Date: Tue Nov 12 03:46:08 2013 -0800
10358 Revert "Add type checking to positional Gtk.Box and Gtk.Window
10361 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
10363 gi/overrides/Gtk.py | 7 -------
10364 tests/test_overrides_gtk.py | 18 ------------------
10365 tests/test_properties.py | 9 ---------
10366 3 files changed, 34 deletions(-)
10368 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
10369 Author: Simon Feltman <sfeltman@src.gnome.org>
10370 Date: Sun Nov 10 03:26:10 2013 -0800
10372 Fix dir method for static GParamSpec in Python 3
10374 Add a __dir__ method which lists GParamSpec attributes and remove
10376 getattr which made use of the deprecated __members__ technique for dir
10377 (removed in Python 3). This makes dir(pspec) work again in Python 3.
10379 gi/_gobject/pygparamspec.c | 218
10380 ++++++++++++++++++++++++---------------------
10381 tests/test_gi.py | 10 +++
10382 2 files changed, 126 insertions(+), 102 deletions(-)
10384 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
10385 Author: Martin Pitt <martinpitt@gnome.org>
10386 Date: Tue Nov 5 15:28:12 2013 +0100
10388 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
10390 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
10392 when trying to create a subclass of them through the GObject
10394 positional arguments by at least verifying that their type is
10396 you can do things like
10398 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
10400 which succeeds, but does not have the desired effect (it sets the
10402 property of the Gtk.Box superclass instead).
10404 https://bugzilla.gnome.org/show_bug.cgi?id=711487
10406 gi/overrides/Gtk.py | 7 +++++++
10407 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
10408 tests/test_properties.py | 9 +++++++++
10409 3 files changed, 34 insertions(+)
10411 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
10412 Author: Simon Feltman <sfeltman@src.gnome.org>
10413 Date: Mon Nov 4 03:29:57 2013 -0800
10415 Remove overzealous argument checking for callback userdata
10417 Remove check which ensures userdata is None if the callback is None.
10418 This check would need to become more complicated with recent
10420 PyGObject where userdata can be variable (would also need to check
10422 a tuple containing None). Instead of adding more complex checking,
10424 remove the checking as it is unnecessary to begin with.
10426 https://bugzilla.gnome.org/show_bug.cgi?id=711173
10428 gi/pygi-marshal-from-py.c | 7 -------
10429 tests/test_overrides_gtk.py | 11 +++++++----
10430 2 files changed, 7 insertions(+), 11 deletions(-)
10432 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
10433 Author: Martin Pitt <martinpitt@gnome.org>
10434 Date: Mon Oct 28 16:00:57 2013 +0100
10436 configure.ac: post-release bump to 3.11.2
10438 configure.ac | 2 +-
10439 1 file changed, 1 insertion(+), 1 deletion(-)
10441 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
10442 Author: Martin Pitt <martinpitt@gnome.org>
10443 Date: Mon Oct 28 15:59:51 2013 +0100
10447 NEWS | 27 +++++++++++++++++++++++++++
10448 1 file changed, 27 insertions(+)
10450 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
10451 Author: Simon Feltman <sfeltman@src.gnome.org>
10452 Date: Sun Oct 27 22:09:27 2013 -0700
10454 Fix toggleref safety problems by always enabling the GIL
10456 Call PyEval_InitThreads for the base gi module import. This forces the
10457 Python internals create the GIL and always support threading with the
10458 various thread state enter/exit funcs. This is needed since we cannot
10459 predict which GI repositories might accept Python callbacks and run
10461 non-Python threads or trigger toggle ref notifications in a thread
10465 https://bugzilla.gnome.org/show_bug.cgi?id=709223
10467 gi/__init__.py | 2 --
10468 gi/gimodule.c | 18 +++++++-----------
10469 gi/overrides/GLib.py | 8 ++------
10470 3 files changed, 9 insertions(+), 19 deletions(-)
10472 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
10473 Author: Simon Feltman <sfeltman@src.gnome.org>
10474 Date: Sun Oct 27 16:02:13 2013 -0700
10476 Add consistent GLib.MainLoop SIGINT cleanup
10478 Remove auto cleanup of SIGINT source handling by returning True
10480 signal callback. This gives the __del__ method consistent cleanup
10482 regardless of whether or not a SIGINT occurred.
10484 https://bugzilla.gnome.org/show_bug.cgi?id=710978
10486 gi/overrides/GLib.py | 4 ++++
10487 1 file changed, 4 insertions(+)
10489 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
10490 Author: Simon Feltman <sfeltman@src.gnome.org>
10491 Date: Sun Oct 27 15:16:09 2013 -0700
10493 tests: Fix source testing to handle critical with non-existing sources
10495 Silence new critical coming from g_source_remove on non-existing
10497 This function still returns False, but we need to silence the new
10499 so the test suite doesn't fail. See bug 710724.
10501 https://bugzilla.gnome.org/show_bug.cgi?id=710978
10503 tests/test_source.py | 18 ++++++++++++------
10504 1 file changed, 12 insertions(+), 6 deletions(-)
10506 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
10507 Author: Simon Feltman <sfeltman@src.gnome.org>
10508 Date: Sun Jul 28 00:01:35 2013 -0700
10510 docs: Add a keyword value of None for allow-none annotations
10512 Update documentation generator for allow-none arguments and
10513 user_data arguments to show a keyword value of None.
10514 Add skip for GDestroyNotify closure arguments.
10516 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10518 gi/docstring.py | 20 +++++++++++++++++---
10519 tests/test_docstring.py | 10 ++++++++++
10520 2 files changed, 27 insertions(+), 3 deletions(-)
10522 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
10523 Author: Simon Feltman <sfeltman@src.gnome.org>
10524 Date: Sat Oct 19 19:03:12 2013 -0700
10526 Remove overrides for supporting pre-3.10 GObject signal functions
10528 Remove GObject override code for supporting pre-3.10 signal functions
10530 annotate the object argument as "gpointer". With PyGObject 3.11
10532 dependency on GObject 3.10, clear the special case overrides out.
10534 gi/overrides/GObject.py | 76
10535 ++++++-------------------------------------------
10536 1 file changed, 9 insertions(+), 67 deletions(-)
10538 commit 0c308de528c402f67808b13760ca30d55d4c99d7
10539 Author: Simon Feltman <sfeltman@src.gnome.org>
10540 Date: Fri Oct 18 17:15:06 2013 -0700
10542 Add threads_init back as a requirement for non-Python threaded repos
10544 Re-add a "threads_init" function to gi for explicit intialization
10546 threading support. This was marked as deprecated in the previous cycle
10547 because using Python threads already initializes everything.
10548 However, we still need an explicit initalization when using
10550 with non-Python threads which may interact with Python callbacks
10553 https://bugzilla.gnome.org/show_bug.cgi?id=710447
10555 gi/__init__.py | 2 ++
10556 gi/gimodule.c | 10 ++++++++++
10557 gi/overrides/GLib.py | 11 +++++++----
10558 3 files changed, 19 insertions(+), 4 deletions(-)
10560 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
10561 Author: Simon Feltman <sfeltman@src.gnome.org>
10562 Date: Mon Oct 14 20:38:13 2013 -0700
10564 Add dir method to GObject props accessor
10566 Remove special case __members__ attribute from the props accessor
10567 objects getattr method. This has been deprecated since Python 2.3 and
10568 removed in Python 3. Replace this with a __dir__ method making use
10570 old members list building code. Additionally fix error where the
10571 GObjectClass was being unref'd too many times when using
10573 causing a GLib critical.
10575 https://bugzilla.gnome.org/show_bug.cgi?id=705754
10577 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
10578 tests/test_gi.py | 14 ++++++++++++++
10579 2 files changed, 35 insertions(+), 8 deletions(-)
10581 commit 799989ada2f6b1d729f078f204445651c808a2c7
10582 Author: Simon Feltman <sfeltman@src.gnome.org>
10583 Date: Fri May 3 04:37:13 2013 -0700
10585 Remove PyGObjectWeakRef now that g_binding_unbind exists
10587 Remove the static code for managing GBinding weak references now
10589 has a method (unbind) for clearing out bindings.
10591 https://bugzilla.gnome.org/show_bug.cgi?id=699571
10593 gi/_gobject/pygobject.c | 59
10594 +------------------------------------------------
10595 gi/overrides/GObject.py | 19 ++++++++++++++++
10596 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
10597 3 files changed, 44 insertions(+), 75 deletions(-)
10599 commit fe217e0afbd63f05285e59628533f351896377d9
10600 Author: Simon Feltman <sfeltman@src.gnome.org>
10601 Date: Wed Oct 9 00:34:37 2013 -0700
10603 Fix GArray, GList, GSList, and GHashTable marshaling leaks
10605 Remove calling of cleanup code for transfer-everything modes by
10607 cleanup_data is set to NULL in from_py marshalers. Use array and hash
10608 table ref/unref functions for container transfer mode to ensure we
10610 valid container ref after invoke and during from_py cleanup of
10612 Rework restrictions with to_py marshaling cleanup so we always
10614 container for transfer-everything and transfer-container modes.
10616 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10618 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
10619 gi/pygi-marshal-from-py.c | 77
10620 ++++++++++++++++++++++++++++++++++++++++-------
10621 2 files changed, 84 insertions(+), 47 deletions(-)
10623 commit 7407367f424595c2780a2d6a47d936ad0bd91735
10624 Author: Simon Feltman <sfeltman@src.gnome.org>
10625 Date: Mon Oct 7 14:11:39 2013 -0700
10627 Add cleanup_data argument used for Python to C marshaler cleanup
10629 Add a new output argument to all from_py marshalers which is used for
10630 keeping track of marshaling data that later needs cleanup. Previously
10632 marshalers would rely on the GIArgument->v_pointer as the means
10634 cleanup. However, this pointer would get clobbered in the case of
10635 bi-directional arguments (inout) and the memory lost.
10636 Use the new cleanup_data for storing temporarily wrapped C arrays
10638 don't need to re-calculate the length argument during cleanup.
10640 Additionally delay the from_py marshaling cleanup function until after
10641 _invoke_marshal_out_args is called. This gives inout arguments
10643 modify the pointer sufficient time to exist until they marshaled
10645 Python (gi_marshalling_tests_gvalue_inout).
10647 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10649 gi/pygi-argument.c | 4 +-
10650 gi/pygi-cache.h | 3 +-
10651 gi/pygi-invoke-state-struct.h | 7 +-
10652 gi/pygi-invoke.c | 20 +++---
10653 gi/pygi-marshal-cleanup.c | 43 +++++-------
10654 gi/pygi-marshal-from-py.c | 160
10655 ++++++++++++++++++++++++++++--------------
10656 gi/pygi-marshal-from-py.h | 45 ++++++++----
10657 7 files changed, 177 insertions(+), 105 deletions(-)
10659 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
10660 Author: Simon Feltman <sfeltman@src.gnome.org>
10661 Date: Wed Aug 7 12:08:15 2013 -0700
10663 Add support for variable user data arguments
10665 Support a variable number of user data arguments for all callback
10666 connection function where the user data is the last explicit argument.
10667 This adds convience as well as consistency with the rest of PyGObject.
10668 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
10669 io_add_watch, and child_watch_add which manually implemented this
10672 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10674 gi/overrides/GLib.py | 75
10675 +++++++++++++++--------------------------------
10676 gi/pygi-cache.c | 14 +++++++++
10677 gi/pygi-cache.h | 3 ++
10678 gi/pygi-closure.c | 37 +++++++++++++++--------
10679 gi/pygi-invoke.c | 71
10680 +++++++++++++++++++++++++++++++-------------
10681 gi/pygi-marshal-from-py.c | 5 ++++
10682 tests/test_everything.py | 32 ++++++++++++++++++++
10683 tests/test_glib.py | 21 +++++++++++++
10684 tests/test_subprocess.py | 8 ++---
10685 9 files changed, 177 insertions(+), 89 deletions(-)
10687 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
10688 Author: Martin Pitt <martinpitt@gnome.org>
10689 Date: Mon Oct 14 12:57:04 2013 +0200
10691 Bump glib and g-i dependencies to latest stable.
10693 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
10697 Drop @unittest.skipUnless tags from tests which didn't work with
10701 configure.ac | 6 +++---
10702 tests/test_gi.py | 2 --
10703 3 files changed, 5 insertions(+), 6 deletions(-)
10705 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
10706 Author: Nuno Araujo <nuno.araujo@russo79.com>
10707 Date: Fri Oct 11 18:41:48 2013 +0200
10709 Fix TypeError when setting drag target_list to None
10711 When calling Widget.drag_dest_set_target_list(None) or
10712 Widget.drag_source_set_target_list(None)
10713 a "TypeError: 'NoneType' object is not iterable" is thrown.
10715 According to Gtk documentation [1] [2], this shouldn't be the case
10716 since client code should be
10717 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
10718 gtk_drag_source_set_target_list.
10720 We now check if the target_list is None and do not try to create a
10721 TargetList if it is the case.
10724 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
10726 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
10728 https://bugzilla.gnome.org/show_bug.cgi?id=709926
10730 gi/overrides/Gtk.py | 4 ++--
10731 tests/test_overrides_gtk.py | 2 ++
10732 2 files changed, 4 insertions(+), 2 deletions(-)
10734 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
10735 Author: Simon Feltman <sfeltman@src.gnome.org>
10736 Date: Tue Oct 1 17:09:39 2013 -0700
10738 Use qdata for wrapper retrieval in toggle reference notifications
10740 Replace usage of user data holding PyGObject wrappers in toggle ref
10741 notifications with GObject qdata retrieval. This fixes thread
10743 where a toggle notify may be called from another thread during
10745 wrappers dealloc. In this case the toggle notify is blocked because
10747 is held in dealloc, and when it continues, the user data would be
10749 invalid PyGObject wrapper. Using qdata solves this by ensuring
10751 retrieval is done within the safety of the GIL and may turn up
10754 https://bugzilla.gnome.org/show_bug.cgi?id=709223
10756 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
10757 1 file changed, 14 insertions(+), 7 deletions(-)
10759 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
10760 Author: Simon Feltman <sfeltman@src.gnome.org>
10761 Date: Thu Oct 10 16:10:16 2013 -0700
10763 Add expected failure to deal with fixes in gimarshallingtests.c
10765 Fix test_object_full_inout based on newer gimarshallingtests.c >
10767 Add expectedFailure to deal with previous versions of
10768 gimarshallingtests.c.
10770 https://bugzilla.gnome.org/show_bug.cgi?id=709796
10772 tests/test_gi.py | 6 +++++-
10773 1 file changed, 5 insertions(+), 1 deletion(-)
10775 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
10776 Author: Simon Feltman <sfeltman@src.gnome.org>
10777 Date: Mon Oct 7 01:17:08 2013 -0700
10779 Fix memory leaks for inout array arguments
10781 Add tracking for array allocations to from_py marashalers in the
10782 argument states extra data (arg_data). This is then used later
10784 marshaling cleanup to call the array cleanup function.
10786 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10788 gi/pygi-invoke.c | 1 +
10789 gi/pygi-marshal-cleanup.c | 1 +
10790 gi/pygi-marshal-from-py.c | 13 +++++++++----
10791 3 files changed, 11 insertions(+), 4 deletions(-)
10793 commit 31263ac117027446c8e2fd1b56d7e348384aabef
10794 Author: Simon Feltman <sfeltman@src.gnome.org>
10795 Date: Sun Oct 6 21:54:15 2013 -0700
10797 Fix to Python marshaling leaks for arrays holding GVariants
10799 Add early check for array items holding pointers and simply assign the
10800 pointer to GIArgument.v_pointer prior giving it to the per-item
10802 This simplifies marshaling and fixes leaks regarding arrays of
10804 removing the unneeded g_variant_ref_sink (variants are always
10806 Conditionalize the use of g_variant_ref_sink based on transfer mode
10808 per-item marshaler. This fixes a reference leak where we are given
10810 of the variant (transfer full) but added a new ref anyway.
10812 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10814 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
10815 1 file changed, 18 insertions(+), 16 deletions(-)
10817 commit c9580ce1156789221aa19b00c7aab404db5431b5
10818 Author: Simon Feltman <sfeltman@src.gnome.org>
10819 Date: Sun Oct 6 04:26:18 2013 -0700
10821 Cleanup per-item array marshaling code for flat arrays
10823 Add an early per-item check which tests if the item being marshaled
10825 pointer and simply copies the pointer into the array. This takes
10827 GdkAtom and GVariant special cases because these items are always
10830 Fix error condition cleanup code when an item fails marshaling in
10834 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10836 gi/pygi-marshal-from-py.c | 87
10837 +++++++++++++++++++++--------------------------
10838 tests/test_gi.py | 32 +++++++++++++++++
10839 2 files changed, 71 insertions(+), 48 deletions(-)
10841 commit 4623caa71c54958ab821db27a9eff2790acb3975
10842 Author: Simon Feltman <sfeltman@src.gnome.org>
10843 Date: Sat Oct 5 17:00:54 2013 -0700
10845 Fix GValue array marshaling leaks and crash fallout
10847 * Decrement references for results of PySequence_GetItem. There were
10849 places we were not decrementing the Python reference, leaking
10851 * Add tracking of Python arguments with recursive marshaling
10853 allows arrays of GValues which have been coerced from Python types
10855 properly free'd (also fixes bug 703662).
10856 * Use g_variant_ref for variant arguments marked as transfer
10858 This fixes double free's caused by the decrementing of
10862 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10864 gi/pygi-cache.h | 1 +
10865 gi/pygi-invoke.c | 1 +
10866 gi/pygi-marshal-cleanup.c | 50
10867 +++++++++++++++++++++++++++++++++++++++++------
10868 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
10869 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
10870 gi/pygi-marshal-to-py.c | 1 +
10871 6 files changed, 78 insertions(+), 9 deletions(-)
10873 commit 549f849ef8854352483657df3d7558688a4b0007
10874 Author: Simon Feltman <sfeltman@src.gnome.org>
10875 Date: Sat Sep 28 00:26:28 2013 -0700
10877 Refactor GLib.io_add_watch to make it more testable
10879 Break the argument munging code into a separate function which
10880 can be tested in isolation of adding an io watch.
10881 Add additional failing test which specifies all args as keywords
10882 which we eventually need to support for consistency with the
10885 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10887 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
10888 1 file changed, 18 insertions(+), 5 deletions(-)
10890 commit bc780ed17bc4cc62959c63c3f0142161a924679f
10891 Author: Simon Feltman <sfeltman@src.gnome.org>
10892 Date: Fri Sep 27 20:59:45 2013 -0700
10894 Refactor GLib.child_watch_add to make it more testable
10896 Break the argument munging code into a separate function which
10897 can be tested in isolation of adding a child watch. Update tests
10898 to reflect this. Add additional failing test which specify
10899 all args as keywords which we eventually need to support for
10900 consistency with the rest of PyGObject.
10902 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10904 gi/overrides/GLib.py | 25 +++++++++-----
10905 tests/test_subprocess.py | 88
10906 +++++++++++++++++++++---------------------------
10907 2 files changed, 56 insertions(+), 57 deletions(-)
10909 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
10910 Author: Simon Feltman <sfeltman@src.gnome.org>
10911 Date: Thu Sep 26 19:05:20 2013 -0700
10913 Don't pass None to callbacks when user data is not specified
10915 For APIs which support a callback and optional user data,
10916 don't pass the user data to the callback if it was not explicitly
10917 specified when the callback was connected.
10919 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10921 gi/pygi-closure.c | 17 ++++++++++++++---
10922 gi/pygi-marshal-from-py.c | 5 -----
10923 tests/test_everything.py | 7 ++-----
10924 3 files changed, 16 insertions(+), 13 deletions(-)
10926 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
10927 Author: Simon Feltman <sfeltman@src.gnome.org>
10928 Date: Fri Oct 4 17:27:47 2013 -0700
10930 Add missing methods on PyGIBaseInfo and sub-classes
10932 Expose all methods of GIBaseBase info and its sub-classes.
10934 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10936 gi/_glib/pyglib-python-compat.h | 1 +
10937 gi/pygi-info.c | 550
10938 +++++++++++++++++++++++++++++++++++++++-
10939 tests/test_repository.py | 134 ++++++++++
10940 3 files changed, 677 insertions(+), 8 deletions(-)
10942 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
10943 Author: Simon Feltman <sfeltman@src.gnome.org>
10944 Date: Fri Oct 4 13:46:36 2013 -0700
10946 Expose all GI enum and flags types
10948 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
10949 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
10951 GInfoType. These types are found in the gi._gi module exposed
10953 "GI" prefix and contain all of their values as class attributes. e.g.
10954 gi._gi.Transfer.EVERYTHING.
10956 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10958 gi/docstring.py | 10 ++--
10959 gi/pygi-info.c | 150
10960 ++++++++++++++++++++++++++++++++++++++++++++---
10961 tests/test_repository.py | 13 +++-
10962 3 files changed, 158 insertions(+), 15 deletions(-)
10964 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
10965 Author: Simon Feltman <sfeltman@src.gnome.org>
10966 Date: Fri Oct 4 13:42:34 2013 -0700
10968 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
10970 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
10972 cause a crash. Avoid this by adding _safe_base_info_get_name and
10974 throughout the bindings.
10975 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
10977 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10979 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
10980 1 file changed, 25 insertions(+), 10 deletions(-)
10982 commit c86b2fe8d01070f06c45fffd910d890afba1313a
10983 Author: Simon Feltman <sfeltman@src.gnome.org>
10984 Date: Fri Oct 4 13:41:08 2013 -0700
10986 Add GIBaseInfo.equal method
10988 Break PyGIBaseInfo rich compare into two methods: equal and
10990 Equal is a direct exposure of the GI method and richcompare makes
10992 this with additional support for Pyton "==" and "!=" operators.
10994 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10996 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
10997 tests/test_repository.py | 1 +
10998 2 files changed, 25 insertions(+), 8 deletions(-)
11000 commit e7b758badd0ab0b147117859f7871c39fb5399c1
11001 Author: Simon Feltman <sfeltman@src.gnome.org>
11002 Date: Fri Oct 4 13:36:11 2013 -0700
11004 Move info string retrieval into generic function
11006 Add get_info_string for sharing binding of simple string retrieval on
11007 GIBaseInfo objects.
11009 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11011 gi/pygi-info.c | 15 +++++++++++++--
11012 1 file changed, 13 insertions(+), 2 deletions(-)
11014 commit d2aef364de778da966bc1cfffe184d649f9ebb21
11015 Author: Simon Feltman <sfeltman@src.gnome.org>
11016 Date: Tue Sep 24 06:26:17 2013 -0700
11018 Move child info retrieval into generic function
11020 Add a generic function for bindings which return a single child info.
11021 This trivializes binding methods like PyGIObjectInfo.get_parent and
11022 fixes leaks in PyGIObjectInfo.get_class_struct and
11023 PyGIVFuncInfo.get_invoker.
11025 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11027 gi/pygi-info.c | 56
11028 +++++++++++++++++++++++---------------------------------
11029 1 file changed, 23 insertions(+), 33 deletions(-)
11031 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
11032 Author: Simon Feltman <sfeltman@src.gnome.org>
11033 Date: Tue Sep 24 02:52:22 2013 -0700
11035 Move info tuple retrieval into generic function
11037 Create new generic function for retrieving a tuple of child infos.
11038 This greatly simplifies all the bindings which return tuples from
11039 a common pattern of functions on GIBaseInfo based instances.
11041 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11043 gi/pygi-info.c | 469
11044 ++++++++-------------------------------------------------
11045 1 file changed, 59 insertions(+), 410 deletions(-)
11047 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
11048 Author: Simon Feltman <sfeltman@src.gnome.org>
11049 Date: Sun Oct 6 16:41:37 2013 -0700
11051 tests: Update check.valgrind with always-malloc and add logging
11054 Based on notes in https://wiki.gnome.org/Valgrind we need to use
11055 always-malloc for valgrind runs.
11056 Add check.valgrindlog and check.valgrindxml which output valgrind
11058 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
11060 can track commits and use diff tools on the logs.
11063 Makefile.am | 6 ++++++
11064 tests/Makefile.am | 10 +++++++++-
11065 3 files changed, 16 insertions(+), 1 deletion(-)
11067 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
11068 Author: Simon Feltman <sfeltman@src.gnome.org>
11069 Date: Fri Oct 4 20:43:02 2013 -0700
11071 Move existing repository tests into test_repository
11073 Move flags and enum double registration tests into test_repository.py.
11074 Remove duplicate ObjectInfo tests from test_gi.py.
11076 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11078 tests/test_gi.py | 38 --------------------------------------
11079 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
11080 2 files changed, 28 insertions(+), 38 deletions(-)
11082 commit 31840888c8948aab78041da93c329572f3aabb64
11083 Author: Simon Feltman <sfeltman@src.gnome.org>
11084 Date: Fri Oct 4 17:31:21 2013 -0700
11086 Add unittests for GIRepository
11088 Add basic unittests for the existing classes and methods exposed for
11089 the GIRepository module (gi._gi).
11091 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11093 tests/Makefile.am | 1 +
11094 tests/test_repository.py | 170
11095 +++++++++++++++++++++++++++++++++++++++++++++++
11096 2 files changed, 171 insertions(+)
11098 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
11099 Author: Simon Feltman <sfeltman@src.gnome.org>
11100 Date: Fri Oct 4 15:50:05 2013 -0700
11102 Derive SignalInfo info from CallableInfo
11104 Change Python class derivation of PyGISignalInfo to use
11105 PyGICallableInfo as
11106 the base class. This accurately reflects the GI class layout and
11108 the callable information for signals.
11110 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11112 gi/pygi-info.c | 7 ++++---
11113 1 file changed, 4 insertions(+), 3 deletions(-)
11115 commit b01daba04ff001b9e63d343938e879d339d9a98c
11116 Author: Simon Feltman <sfeltman@src.gnome.org>
11117 Date: Fri Oct 4 15:48:05 2013 -0700
11119 Use PYGLIB_PyLong_FromLong for GIDirection return
11121 https://bugzilla.gnome.org/show_bug.cgi?id=709008
11123 gi/pygi-info.c | 2 +-
11124 1 file changed, 1 insertion(+), 1 deletion(-)
11126 commit d644cbd0c0ad85142286754838db848c4eb1707f
11127 Author: Simon Feltman <sfeltman@src.gnome.org>
11128 Date: Thu Oct 3 19:25:34 2013 -0700
11130 Fix memory leak for caller allocated GValue out arguments
11132 Swizzle the order of type checks in _cleanup_caller_allocates so
11133 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
11135 important because G_TYPE_VALUE is a sub-type of boxed and so its
11137 cleanup code was never being called (g_value_unset).
11138 Additionally update check to use g_type_is_a instead of a compare
11140 the potential case of a G_TYPE_VALUE sub-type.
11142 https://bugzilla.gnome.org/show_bug.cgi?id=709397
11144 gi/pygi-marshal-cleanup.c | 11 ++++++-----
11145 1 file changed, 6 insertions(+), 5 deletions(-)
11147 commit 510789d52e9e2fd863d26613f3282364eb175601
11148 Author: Simon Feltman <sfeltman@src.gnome.org>
11149 Date: Sun Jul 28 14:44:51 2013 -0700
11151 Add support for default arguments annotated with allow-none
11153 Support default value of NULL for tail end arguments which are
11154 marked with allow-none.
11155 The implementation uses a place holder object for un-supplied
11157 which are annotated with allow-none. This is then used later during
11158 marshaling to supply NULL as the default.
11159 Additionally support an implicit default for callback user_data
11160 using the same technique.
11162 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11164 gi/gimodule.c | 6 +++
11165 gi/pygi-cache.c | 103
11166 ++++++++++++++++++++++++++++++----------------
11167 gi/pygi-cache.h | 8 ++++
11168 gi/pygi-invoke.c | 42 +++++++++++++------
11169 gi/pygi-marshal-from-py.c | 5 +++
11171 tests/test_everything.py | 16 +++++++
11172 tests/test_gi.py | 30 ++++++++++++++
11173 8 files changed, 162 insertions(+), 49 deletions(-)
11175 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
11176 Author: Simon Feltman <sfeltman@src.gnome.org>
11177 Date: Fri Aug 2 22:27:10 2013 -0700
11179 cache refactoring: Move arg cache field assignments into
11182 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11184 gi/pygi-cache.c | 23 +++++++++++------------
11185 1 file changed, 11 insertions(+), 12 deletions(-)
11187 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
11188 Author: Simon Feltman <sfeltman@src.gnome.org>
11189 Date: Fri Aug 2 20:27:02 2013 -0700
11191 cache refactoring: Cleanup array length argument marshaling
11193 Add shared function: _arg_cache_array_len_arg_setup for use
11194 with both to and from array marshaling setup. This function
11195 consolidates all of the edge cases regarding array length setup
11196 and removes the need for flagging arguments with
11197 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
11199 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11201 gi/pygi-cache.c | 145
11202 +++++++++++++++++++++++++++-----------------------------
11203 gi/pygi-cache.h | 5 --
11204 2 files changed, 71 insertions(+), 79 deletions(-)
11206 commit c9d8639401ae82977e960de44d80b94a501a2184
11207 Author: Simon Feltman <sfeltman@src.gnome.org>
11208 Date: Sat Aug 3 00:26:11 2013 -0700
11210 cache refactoring: Move variable declarations to blocks where they
11213 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11215 gi/pygi-cache.c | 25 ++++++++++++++-----------
11216 1 file changed, 14 insertions(+), 11 deletions(-)
11218 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
11219 Author: Simon Feltman <sfeltman@src.gnome.org>
11220 Date: Thu Aug 1 19:33:27 2013 -0700
11222 cache refactoring: Remove continue statements from
11223 _args_cache_generate
11225 Remove continue and goto statements from the large loop within
11226 _args_cache_generate. This simplifies the sharing of parts of
11227 the loop for future refactoring.
11229 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11231 gi/pygi-cache.c | 126
11232 +++++++++++++++++++++++++++-----------------------------
11233 1 file changed, 61 insertions(+), 65 deletions(-)
11235 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
11236 Author: Simon Feltman <sfeltman@src.gnome.org>
11237 Date: Wed Jul 31 18:10:05 2013 -0700
11239 cache refactoring: Use bit field for PyGIDirection instead of enum
11241 This supports cleaner logic when testing the direction of
11242 arguments due to the majority of these tests being along the
11243 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
11244 Which is replaced with: (direction & FROM_PYTHON)
11246 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11248 gi/pygi-cache.c | 64
11249 ++++++++++++++++++++++++++++-----------------------------
11250 gi/pygi-cache.h | 6 +++---
11251 2 files changed, 35 insertions(+), 35 deletions(-)
11253 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
11254 Author: Simon Feltman <sfeltman@src.gnome.org>
11255 Date: Sun Jul 28 20:45:05 2013 -0700
11257 cache refactoring: Remove special case marshaling for instance
11260 Remove duplicate code for marshaling struct and objects for
11261 instance arguments. Re-use individual cache marshalers for
11262 structs and objects with the instance argument. This required
11263 removal of passing GITypeInfo to the marshaler because it is
11264 not available for instance arguments. Instead always assume
11265 "is_pointer" for the instance argument by using the cache.
11267 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11269 gi/pygi-argument.c | 4 +--
11270 gi/pygi-cache.c | 16 ++++-----
11271 gi/pygi-marshal-from-py.c | 87
11272 +++--------------------------------------------
11273 gi/pygi-marshal-from-py.h | 16 ++-------
11274 4 files changed, 16 insertions(+), 107 deletions(-)
11276 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
11277 Author: Simon Feltman <sfeltman@src.gnome.org>
11278 Date: Sun Jul 28 16:44:01 2013 -0700
11280 cache refactoring: Use GPtrArray for callable arg cache
11282 Replace manual management of the C array holding individual
11283 argument caches with usage of GPtrArray. This provides storage
11284 of the array length along with item memory management.
11286 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11288 gi/pygi-cache.c | 62
11289 +++++++++++++++++++++++------------------------
11290 gi/pygi-cache.h | 16 +++++++++---
11291 gi/pygi-invoke.c | 16 ++++++------
11292 gi/pygi-marshal-cleanup.c | 8 +++---
11293 gi/pygi-marshal-from-py.c | 6 ++---
11294 gi/pygi-marshal-to-py.c | 6 ++---
11295 6 files changed, 62 insertions(+), 52 deletions(-)
11297 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
11298 Author: Simon Feltman <sfeltman@src.gnome.org>
11299 Date: Sun Jul 28 15:02:51 2013 -0700
11301 cache refactoring: Move PyGI direction code into new function
11303 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11305 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
11306 1 file changed, 21 insertions(+), 21 deletions(-)
11308 commit 83208bf495b152e93a28a231d445f43ea827d2eb
11309 Author: Simon Feltman <sfeltman@src.gnome.org>
11310 Date: Fri Aug 2 15:59:25 2013 -0700
11312 cache refactoring: Add comments to callable cache structure
11314 Add comments to count fields on _PyGICallableCache.
11316 https://bugzilla.gnome.org/show_bug.cgi?id=640812
11318 gi/pygi-cache.h | 13 ++++++++++++-
11319 1 file changed, 12 insertions(+), 1 deletion(-)
11321 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
11322 Author: Simon Feltman <sfeltman@src.gnome.org>
11323 Date: Wed Jul 24 01:14:29 2013 -0700
11325 Remove support for allowing PyObjects as void pointers
11327 Final removal of marshaling Python object addresses as
11328 void pointers. This ensures we can successfully pass
11329 integer values as the pointer without the Python object
11330 leaking or crashing due to invalid memory.
11332 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11334 gi/pygi-marshal-from-py.c | 20 ++++++--------------
11335 gi/pygi-marshal-to-py.c | 14 ++------------
11336 tests/test_signal.py | 5 +----
11337 3 files changed, 9 insertions(+), 30 deletions(-)
11339 commit 1469403ee2faa699430055384b338f0cd8e672d7
11340 Author: Simon Feltman <sfeltman@src.gnome.org>
11341 Date: Wed Sep 25 18:21:22 2013 -0700
11343 configure.ac: bump trunk to 3.11.1
11345 configure.ac | 2 +-
11346 1 file changed, 1 insertion(+), 1 deletion(-)
11348 commit 8e774e61d62c82efa3d907c1201359121878b4b5
11349 Author: Simon Feltman <sfeltman@src.gnome.org>
11350 Date: Mon Sep 23 03:57:03 2013 -0700
11352 configure.ac: post-release bump to 3.10.1
11354 configure.ac | 2 +-
11355 1 file changed, 1 insertion(+), 1 deletion(-)
11357 commit 95af6279a9affff5c816db2db53207ff0f19872d
11358 Author: Simon Feltman <sfeltman@src.gnome.org>
11359 Date: Mon Sep 23 03:17:19 2013 -0700
11364 configure.ac | 4 ++--
11365 2 files changed, 5 insertions(+), 2 deletions(-)
11367 commit c626be6317b610277c95461108573d1ae6f42b6d
11368 Author: Martin Pitt <martinpitt@gnome.org>
11369 Date: Mon Sep 23 12:06:11 2013 +0200
11371 Fix test_gi.TestProjectVersion.test_version_str()
11373 In this test case we only do a string comparison, not a proper
11375 component" numerical one. So relax the test to also work with 3.10.
11377 tests/test_gi.py | 2 +-
11378 1 file changed, 1 insertion(+), 1 deletion(-)
11380 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
11381 Author: Martin Pitt <martinpitt@gnome.org>
11382 Date: Mon Sep 16 10:12:33 2013 -0500
11387 1 file changed, 7 insertions(+)
11389 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
11390 Author: Simon Feltman <sfeltman@src.gnome.org>
11391 Date: Mon Sep 16 01:23:49 2013 -0700
11393 Update current maintainers list in README
11396 1 file changed, 2 insertions(+), 1 deletion(-)
11398 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
11399 Author: Simon Feltman <sfeltman@src.gnome.org>
11400 Date: Tue Sep 10 17:11:21 2013 -0700
11402 Fix union argument regression when marshaling from python
11404 Check for union members when marshaling boxed types from Python.
11405 This is a regression caused by stricter type checking added when
11406 merging code from pygi-argument.c.
11407 Re-add pyg_boxed_check to the same bit of code in addition to
11408 __gtype__ checking to avoid a double regression.
11410 https://bugzilla.gnome.org/show_bug.cgi?id=703873
11412 gi/pygi-marshal-from-py.c | 53
11413 ++++++++++++++++++++++++++---------------------
11414 1 file changed, 29 insertions(+), 24 deletions(-)
11416 commit 59a2964141e963d2961e55d4b84a777927b4f21b
11417 Author: Simon Feltman <sfeltman@src.gnome.org>
11418 Date: Wed Sep 11 05:05:33 2013 -0700
11420 Fix GLib.Source sub-classing with initializer args
11422 Add variable args and keyword args to the GLib.Source.__new__
11423 method to support sub-classes which want to implement __init__.
11425 https://bugzilla.gnome.org/show_bug.cgi?id=707904
11427 gi/overrides/GLib.py | 2 +-
11428 tests/test_source.py | 11 +++++++++++
11429 2 files changed, 12 insertions(+), 1 deletion(-)
11431 commit afa42ab95327da1de0cf86005974cd8ab0d46872
11432 Author: Vratislav Podzimek <vpodzime@redhat.com>
11433 Date: Wed Sep 4 14:17:31 2013 +0200
11435 Copy __doc__ when wrapping function
11437 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
11438 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
11440 gi/overrides/__init__.py | 1 +
11441 1 file changed, 1 insertion(+)
11443 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
11444 Author: Martin Pitt <martinpitt@gnome.org>
11445 Date: Mon Sep 2 14:56:24 2013 +0200
11447 configure.ac: post-release bump to 3.9.92
11449 configure.ac | 2 +-
11450 1 file changed, 1 insertion(+), 1 deletion(-)
11452 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
11453 Author: Martin Pitt <martinpitt@gnome.org>
11454 Date: Mon Sep 2 14:38:41 2013 +0200
11458 NEWS | 10 ++++++++++
11459 1 file changed, 10 insertions(+)
11461 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
11462 Author: Simon Feltman <sfeltman@src.gnome.org>
11463 Date: Mon Sep 2 04:19:35 2013 -0700
11465 Fix GObject signal methods to work with new annotations
11467 Add conditional support for signal methods annotated as gpointer
11468 or GObject.Object. This is needed to work with newer versions of
11469 glib which changed annotations to GObject.Object (bug #685387).
11471 https://bugzilla.gnome.org/show_bug.cgi?id=707280
11473 gi/overrides/GObject.py | 106
11474 ++++++++++++++++++++++++++++++------------------
11475 1 file changed, 66 insertions(+), 40 deletions(-)
11477 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
11478 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
11479 Date: Thu Aug 15 14:41:40 2013 +0800
11481 Fix build on C89 Compilers
11483 Avoid a variable declaration at the middle of the block
11485 https://bugzilla.gnome.org/show_bug.cgi?id=707264
11487 gi/pygi-closure.c | 3 ++-
11488 1 file changed, 2 insertions(+), 1 deletion(-)
11490 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
11491 Author: Simon Feltman <sfeltman@src.gnome.org>
11492 Date: Sun Sep 1 20:44:26 2013 -0700
11494 Change boxed type checking in marshaling to use __gtype__ attribute
11496 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
11497 pyg_type_from_object. This has the effect of using the __gtype__
11498 attribute stashed on object class instead of the PyGBoxed
11499 internally held gtype. This fixes type descrepencies for objects
11500 marshaled into overridden signal class closures and passed back
11501 to functions taking an alias their type.
11503 https://bugzilla.gnome.org/show_bug.cgi?id=707140
11505 gi/pygi-marshal-from-py.c | 8 +++++++-
11506 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
11507 2 files changed, 41 insertions(+), 1 deletion(-)
11509 commit dab0c09f1996e124ca98334e5aea0852904b44b5
11510 Author: Simon Feltman <sfeltman@src.gnome.org>
11511 Date: Sun Sep 1 17:49:09 2013 -0700
11513 Use G_IS_VALUE for checking return values in closure marshaling
11515 Replace return_value argument NULL checks in GClosureMarshal
11516 implementations with G_IS_VALUE. This checks both NULL and
11517 validity of the value (!= G_TYPE_INVALID). This is needed
11518 because GLib can pass either NULL or an invalid value based
11519 on whether or not G_ENABLE_DEBUG is set.
11520 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
11522 https://bugzilla.gnome.org/show_bug.cgi?id=707170
11524 gi/_gobject/pygtype.c | 4 ++--
11525 gi/pygi-signal-closure.c | 2 +-
11526 2 files changed, 3 insertions(+), 3 deletions(-)
11528 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
11529 Author: Yanko Kaneti <yaneti@declera.com>
11530 Date: Wed Aug 21 08:53:07 2013 +0200
11532 Fix PEP-8 errors in propertyhelper.py
11534 https://bugzilla.gnome.org/show_bug.cgi?id=706319
11536 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
11538 gi/_gobject/propertyhelper.py | 12 ++++++------
11539 1 file changed, 6 insertions(+), 6 deletions(-)
11541 commit 6fdd58404103596accb6ab04d4de33846d853c58
11542 Author: Martin Pitt <martinpitt@gnome.org>
11543 Date: Mon Aug 19 17:13:30 2013 +0200
11545 configure.ac: post-release bump to 3.9.91
11547 configure.ac | 2 +-
11548 1 file changed, 1 insertion(+), 1 deletion(-)
11550 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
11551 Author: Martin Pitt <martinpitt@gnome.org>
11552 Date: Mon Aug 19 17:10:52 2013 +0200
11557 1 file changed, 9 insertions(+)
11559 commit a8d5da559ef088b05062681206758d2718946269
11560 Author: Martin Pitt <martinpitt@gnome.org>
11561 Date: Mon Aug 19 11:38:31 2013 +0200
11563 NEWS: retroactively fix last version number
11566 1 file changed, 1 insertion(+), 1 deletion(-)
11568 commit aba45eb2617c4b35168089bc9028f351732a617f
11569 Author: Benjamin Berg <benjamin@sipsolutions.net>
11570 Date: Tue Aug 6 00:41:52 2013 +0200
11572 Create GLib.Pid in the same way on python 2 and 3
11574 https://bugzilla.gnome.org/show_bug.cgi?id=705451
11576 gi/_glib/pygspawn.c | 8 --------
11577 1 file changed, 8 deletions(-)
11579 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
11580 Author: Benjamin Berg <benjamin@sipsolutions.net>
11581 Date: Mon Aug 5 17:04:15 2013 +0200
11583 Use PyLong_Type.tp_new for GLib.Pid
11585 For GLib.Pid the original implementation for __new__ needs to be used,
11586 as it is able to initialize the integer correctly.
11588 https://bugzilla.gnome.org/show_bug.cgi?id=705451
11590 gi/_glib/pygspawn.c | 1 +
11591 tests/test_subprocess.py | 1 +
11592 2 files changed, 2 insertions(+)
11594 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
11595 Author: Simon Feltman <sfeltman@src.gnome.org>
11596 Date: Mon Aug 5 14:40:38 2013 -0700
11598 Add accumulator and accu_data arguments to GObject.Signal decorator
11600 Update __init__, __call__, and copy methods to accept and pass
11601 accumulators and associated user data through them. Update
11602 accumulator unittests to use Signal decorators for testing accumulator
11603 pass throughs. Verified the __gsignals__ dictionary accepts None
11604 as valid values for accumulator and accu_data so specialization
11605 for these arguments is not necessary.
11607 https://bugzilla.gnome.org/show_bug.cgi?id=705533
11609 gi/_gobject/signalhelper.py | 17 ++++++++++-----
11610 tests/test_signal.py | 52
11611 ++++++++++++++++++++++++---------------------
11612 2 files changed, 40 insertions(+), 29 deletions(-)
11614 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
11615 Author: Simon Feltman <sfeltman@src.gnome.org>
11616 Date: Mon Aug 5 14:12:24 2013 -0700
11618 Pass return values through the GObject.Signal.emit wrapper
11620 Return the result of GObject.emit from the Signal decorators wrapping.
11621 Update unittest for decorated return type to use skipUnless for
11623 Add test for Signal decorator return type.
11625 https://bugzilla.gnome.org/show_bug.cgi?id=705530
11627 gi/_gobject/signalhelper.py | 2 +-
11628 tests/test_signal.py | 37 +++++++++++++++++++++----------------
11629 2 files changed, 22 insertions(+), 17 deletions(-)
11631 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
11632 Author: Simon Feltman <sfeltman@src.gnome.org>
11633 Date: Mon Jul 29 03:33:40 2013 -0700
11635 configure.ac: post-release bump to 3.9.90
11637 configure.ac | 2 +-
11638 1 file changed, 1 insertion(+), 1 deletion(-)
11640 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
11641 Author: Simon Feltman <sfeltman@src.gnome.org>
11642 Date: Mon Jul 29 02:23:02 2013 -0700
11646 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
11647 configure.ac | 2 +-
11648 2 files changed, 42 insertions(+), 1 deletion(-)
11650 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
11651 Author: Simon Feltman <sfeltman@src.gnome.org>
11652 Date: Mon Jul 29 01:21:19 2013 -0700
11654 Ensure exceptions set in closure out argument marshaling are printed
11656 Call PyErr_Print when an exception occurs after marshaling closure
11657 out arguments. These exceptions were being ignored and cleared out
11658 only to show up in debug builds of Python.
11660 https://bugzilla.gnome.org/show_bug.cgi?id=705064
11662 gi/pygi-closure.c | 8 ++++++++
11663 tests/test_generictreemodel.py | 17 +++++++++++------
11664 2 files changed, 19 insertions(+), 6 deletions(-)
11666 commit b5dcb1800839f747a052e487643c234668384677
11667 Author: Simon Feltman <sfeltman@src.gnome.org>
11668 Date: Sun Jul 28 23:00:26 2013 -0700
11670 Use Python error messages for marshaling integers from Python
11672 Use Pythons default error messages where possible.
11673 Change all explicitly raised ValueError to use OverflowError
11674 for out of range data.
11676 https://bugzilla.gnome.org/show_bug.cgi?id=705057
11678 gi/pygi-marshal-from-py.c | 76
11679 +++++++++++++++++------------------------------
11680 tests/test_everything.py | 52 ++++++++++++++++----------------
11681 tests/test_gi.py | 64 +++++++++++++++++++--------------------
11682 tests/test_gobject.py | 2 +-
11683 4 files changed, 86 insertions(+), 108 deletions(-)
11685 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
11686 Author: Simon Feltman <sfeltman@src.gnome.org>
11687 Date: Sat Jul 27 21:10:07 2013 -0700
11689 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
11691 gi/pygi-closure.c | 11 ++---------
11692 1 file changed, 2 insertions(+), 9 deletions(-)
11694 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
11695 Author: Simon Feltman <sfeltman@src.gnome.org>
11696 Date: Sat Jul 27 15:25:20 2013 -0700
11698 Cleanup invoke args and kwargs combiner code
11700 Change _py_args_combine_and_check_length use cleaner reference
11702 It no longer DECREFs input arguments and always returns a new value
11704 Use PyGICallableCache directly as an argument instead of passing
11708 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
11709 1 file changed, 17 insertions(+), 27 deletions(-)
11711 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
11712 Author: Simon Feltman <sfeltman@src.gnome.org>
11713 Date: Wed Jul 17 16:10:25 2013 -0700
11715 Replace Python VFunc descriptor directly with PyGIVFuncInfo
11717 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
11718 to be used directly as a callable descriptor. This piggy backs
11719 off the added support for functions and constructors in previous
11722 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11724 gi/pygi-info.c | 25 +++++++++++++++++++++++--
11725 gi/types.py | 33 ++++-----------------------------
11726 2 files changed, 27 insertions(+), 31 deletions(-)
11728 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
11729 Author: Simon Feltman <sfeltman@src.gnome.org>
11730 Date: Tue Jul 16 16:00:14 2013 -0700
11732 Add callable and descriptor protocols to PyGICallableInfo
11734 Add tp_call (__call__) function to callable info objects.
11735 This allows for replacement of wrapped invoke methods directly
11736 with the already created callable info object. This has the
11737 additional side effect of making doc strings lazily bound
11738 (only generated when __doc__ is accessed).
11740 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
11741 a bound version of itself for methods and constructors.
11743 Update various internal type checks to reflect the changes.
11744 Update tests to reflect the new callable type being the same
11745 across Python 2 & 3.
11747 This patch gives roughly a %17 speedup for Gtk imports and
11748 an %11 speedup for GI method calls.
11750 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11752 gi/module.py | 5 +-
11753 gi/overrides/__init__.py | 10 ++-
11754 gi/pygi-info.c | 179
11755 ++++++++++++++++++++++++++++++++++++++++++--
11756 gi/pygi.h | 13 ++++
11757 gi/types.py | 35 +--------
11758 tests/test_docstring.py | 6 +-
11759 tests/test_gi.py | 32 +++-----
11760 tests/test_overrides_gtk.py | 4 +-
11761 8 files changed, 212 insertions(+), 72 deletions(-)
11763 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
11764 Author: Simon Feltman <sfeltman@src.gnome.org>
11765 Date: Fri Jul 26 19:33:32 2013 -0700
11767 Move "from Python" GObject out arg marshaler into specialized function
11769 Move hacks specific to out argument marshaling for vfuncs into a
11770 a specialized function. This allows standard function call marshaling
11771 to continue working correctly when there are no extra references
11772 holding the arguments "foo(SomeObject())". This is currently being
11773 masked because all GI functions are wrapped by additional layers
11774 of Python functions. When these layers are removed, it exposes
11775 bugs introduced by reference counting hacks intended for vfunc
11778 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11780 gi/pygi-argument.c | 2 +-
11781 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
11782 gi/pygi-marshal-from-py.h | 3 +++
11783 3 files changed, 34 insertions(+), 8 deletions(-)
11785 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
11786 Author: Simon Feltman <sfeltman@src.gnome.org>
11787 Date: Fri Jul 26 17:34:01 2013 -0700
11789 Add underscore prefix and _cache_adapter suffix to marshaling
11792 Add underscores to all _pygi_marshal_* functions. We don't currently
11793 export symbols, but we might need to for C unittesting. This will
11794 ensure we don't have a "public API".
11795 Add _cache_adapter suffix to marshaling functions which are light
11796 weight wrappers intended only for cached marshalers.
11798 gi/pygi-argument.c | 40 +++++++++++-----------
11799 gi/pygi-cache.c | 10 +++---
11800 gi/pygi-marshal-from-py.c | 86
11801 +++++++++++++++++++++++------------------------
11802 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
11803 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
11804 gi/pygi-marshal-to-py.h | 34 +++++++++----------
11805 6 files changed, 131 insertions(+), 131 deletions(-)
11807 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
11808 Author: Simon Feltman <sfeltman@src.gnome.org>
11809 Date: Tue Jul 16 11:13:17 2013 -0700
11811 Add common attribute accessors to PyGIBaseInfo
11813 Add __name__, __module__, and __doc__ accessors to
11814 PyGIBaseInfo object. This is a precursory patch for setting
11815 up PyGICallableInfo as a directly callable object with lazy
11816 doc string evaluation.
11818 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11820 gi/_glib/pyglib-python-compat.h | 5 +++
11821 gi/pygi-info.c | 83
11822 +++++++++++++++++++++++++++++++++++++++--
11823 gi/types.py | 7 ++--
11824 3 files changed, 88 insertions(+), 7 deletions(-)
11826 commit ea194404843a16555f9a475cc973872a4428bfe1
11827 Author: Simon Feltman <sfeltman@src.gnome.org>
11828 Date: Sat Jul 13 23:10:31 2013 -0700
11830 Merge method and constructor setup
11832 Merge _setup_constructors into _setup_methods as they contain same
11833 basic logic. This removes an unnecessary call with additional
11834 filtering of GIObjectInfo.get_methods() which can be large for
11835 objects with many methods.
11837 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11839 gi/types.py | 15 ++++-----------
11840 1 file changed, 4 insertions(+), 11 deletions(-)
11842 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
11843 Author: Simon Feltman <sfeltman@src.gnome.org>
11844 Date: Sat Jul 13 18:11:18 2013 -0700
11846 Remove redundant info.get_name calls
11848 Remove a number of redundant calls to GIBaseInfo.get_name. Info
11849 names are already cached on function objects so re-use them when
11850 possible. This gives a small load time improvement by removing over
11851 2000 calls when importing Gtk.
11853 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11856 gi/types.py | 8 +++-----
11857 2 files changed, 3 insertions(+), 6 deletions(-)
11859 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
11860 Author: Simon Feltman <sfeltman@src.gnome.org>
11861 Date: Fri Jul 12 12:21:54 2013 -0700
11863 Move doc string generator into separate module
11865 Move the doc string generator for creating function signatures
11866 into "gi.docstring". This includes a new API for getting and
11867 setting the doc string creation functions:
11869 gi.docstring.get_doc_string_generator
11870 gi.docstring.set_doc_string_generator
11871 gi.docstring.generate_doc_string
11873 Beyond adding the ability for custom doc string generators,
11874 this API is a necessary step for adding lazy __doc__
11875 attribute access for optimization.
11877 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11879 gi/Makefile.am | 3 +-
11880 gi/docstring.py | 106
11881 ++++++++++++++++++++++++++++++++++++++++++++++++
11882 gi/types.py | 55 ++-----------------------
11883 tests/Makefile.am | 1 +
11884 tests/test_docstring.py | 49 ++++++++++++++++++++++
11885 tests/test_gi.py | 30 --------------
11886 6 files changed, 161 insertions(+), 83 deletions(-)
11888 commit f86701b15ee04c717d9c6bf688101606165e4f83
11889 Author: Simon Feltman <sfeltman@src.gnome.org>
11890 Date: Wed Jul 24 19:36:28 2013 -0700
11892 tests: Change GHashTable<string,GValue> marshaling test to use GValue
11894 Add test to explicitly use a boxed GStrv GValue in addition to a
11895 Python list sub-class.
11897 https://bugzilla.gnome.org/show_bug.cgi?id=666636
11899 tests/test_everything.py | 21 +++++++++++++++------
11900 1 file changed, 15 insertions(+), 6 deletions(-)
11902 commit 6ea41b60691e1ba7e21374582d7aea072af71103
11903 Author: Simon Feltman <sfeltman@src.gnome.org>
11904 Date: Thu Jul 25 18:00:47 2013 -0700
11906 gtk-demo: Change demo to use Gtk.Application
11908 Replace deriving from Gtk.Window with deriving from Gtk.Application
11909 connected to a Gtk.ApplicationWindow instance.
11911 https://bugzilla.gnome.org/show_bug.cgi?id=698547
11913 demos/gtk-demo/demos/printing.py | 2 +-
11914 demos/gtk-demo/gtk-demo.py | 40
11915 ++++++++++++++++++++--------------------
11916 2 files changed, 21 insertions(+), 21 deletions(-)
11918 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
11919 Author: Simon Feltman <sfeltman@src.gnome.org>
11920 Date: Tue Jul 23 14:25:01 2013 -0700
11922 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
11924 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
11925 and rename to _pygi_marshal_to_py_basic_type.
11926 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
11927 and filename types.
11929 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11931 gi/pygi-argument.c | 73 +-----------------------------
11932 gi/pygi-argument.h | 4 --
11933 gi/pygi-cache.c | 4 +-
11934 gi/pygi-marshal-to-py.c | 115
11935 +++++++++++++++++++++++++++++++++++++-----------
11936 gi/pygi-marshal-to-py.h | 27 +++---------
11937 5 files changed, 99 insertions(+), 124 deletions(-)
11939 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
11940 Author: Simon Feltman <sfeltman@src.gnome.org>
11941 Date: Tue Jul 23 13:06:33 2013 -0700
11943 Unify and clean up from Python marshalers for basic types
11945 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
11946 and filename marshalers.
11948 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11950 gi/pygi-cache.c | 101
11951 ++--------------------------------------------
11952 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
11953 gi/pygi-marshal-from-py.h | 30 --------------
11954 3 files changed, 28 insertions(+), 189 deletions(-)
11956 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
11957 Author: Simon Feltman <sfeltman@src.gnome.org>
11958 Date: Tue Jul 23 12:35:06 2013 -0700
11960 Unify from Python int64 and uint64 marshalers
11962 Replaced int64 and uint64 cached marshalers with usage of the
11963 unified basic type marshaler. Replace a large amount of int64
11964 exception formatting code with usage of %S for Python 3 and
11965 give a more vague message for Python 2.
11967 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11969 gi/pygi-cache.c | 36 +--------
11970 gi/pygi-marshal-from-py.c | 193
11971 ++++++++++------------------------------------
11972 gi/pygi-marshal-from-py.h | 10 ---
11973 3 files changed, 43 insertions(+), 196 deletions(-)
11975 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
11976 Author: Simon Feltman <sfeltman@src.gnome.org>
11977 Date: Tue Jul 23 11:03:14 2013 -0700
11979 Unify from Python int16 and int32 marshalers
11981 Add PyNumber_Check to unified basic type marshaler.
11982 Add bounds checking to unified int16 and int32 marshalers.
11983 Replaced int16 and int32 cached marshalers with usage of
11984 unified basic type marshaler.
11986 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11988 gi/pygi-cache.c | 69 +--------------
11989 gi/pygi-marshal-from-py.c | 218
11990 ++++++++++------------------------------------
11991 gi/pygi-marshal-from-py.h | 20 -----
11992 3 files changed, 48 insertions(+), 259 deletions(-)
11994 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
11995 Author: Simon Feltman <sfeltman@src.gnome.org>
11996 Date: Tue Jul 23 00:27:14 2013 -0700
11998 Unify from Python boolean, int8, and uint8 marshalers
12000 Replaced boolean, int8, and uint8 cached marshalers with usage of
12001 unified basic type marshaler. Add bounds checking to unified int8
12004 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12006 gi/pygi-cache.c | 48 +++------------
12007 gi/pygi-marshal-from-py.c | 146
12008 +++++++++++-----------------------------------
12009 gi/pygi-marshal-from-py.h | 20 ++-----
12010 3 files changed, 45 insertions(+), 169 deletions(-)
12012 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
12013 Author: Simon Feltman <sfeltman@src.gnome.org>
12014 Date: Mon Jul 22 23:24:13 2013 -0700
12016 Add support for PyBytes with int8 and uint8 from Python marshaler
12018 This additional type marshaling is necessary for unifying marhalers
12019 due to the same feature being available with cached argument
12022 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12024 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
12025 1 file changed, 14 insertions(+)
12027 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
12028 Author: Simon Feltman <sfeltman@src.gnome.org>
12029 Date: Mon Jul 22 23:23:29 2013 -0700
12031 Move from Python integer marshaling into separate function
12033 Add _pygi_marshal_from_py_long for marshaling Python objects
12034 that can convert to a PyLong type. This allows for better
12035 sharing of code amongst marshalers along with unifying
12036 them across Python 2.7 and 3.0.
12038 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12040 gi/pygi-argument.c | 3 +-
12041 gi/pygi-marshal-from-py.c | 159
12042 ++++++++++++++++++++++++----------------------
12043 2 files changed, 84 insertions(+), 78 deletions(-)
12045 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
12046 Author: Simon Feltman <sfeltman@src.gnome.org>
12047 Date: Mon Jul 22 22:19:26 2013 -0700
12049 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
12051 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
12052 and rename to: _pygi_marshal_from_py_basic_type
12054 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12056 gi/pygi-argument.c | 149
12057 +---------------------------------------------
12058 gi/pygi-marshal-from-py.c | 147
12059 +++++++++++++++++++++++++++++++++++++++++++++
12060 gi/pygi-marshal-from-py.h | 4 ++
12061 3 files changed, 152 insertions(+), 148 deletions(-)
12063 commit 9c9510eec782f242280af24e86adf3561e4fac72
12064 Author: Simon Feltman <sfeltman@src.gnome.org>
12065 Date: Fri Jul 19 23:37:35 2013 -0700
12067 Move basic type marshaling out of _pygi_argument_from_object
12069 Move the marshaling of Python objects to GI arguments for basic types
12070 into a new function: _pygi_argument_from_object_basic_type
12071 This is staging work needed before unifying basic type marshaling
12072 of arguments from Python to GI.
12074 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12076 gi/pygi-argument.c | 73
12077 ++++++++++++++++++++++++++++++++++--------------------
12078 1 file changed, 46 insertions(+), 27 deletions(-)
12080 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
12081 Author: Simon Feltman <sfeltman@src.gnome.org>
12082 Date: Fri Jul 19 20:16:10 2013 -0700
12084 Replace to Python cached marshalers with unified basic type marshaler
12086 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
12087 unifies functions, vfuncs, signals, and property marshaling for
12088 "basic types". Remove all the individual cached arg marshalers
12091 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12093 gi/pygi-argument.c | 104 +++++++++++------------------------
12094 gi/pygi-argument.h | 4 ++
12095 gi/pygi-cache.c | 114 +++++++-------------------------------
12096 gi/pygi-marshal-to-py.c | 142
12097 ++++--------------------------------------------
12098 gi/pygi-marshal-to-py.h | 48 ++--------------
12099 5 files changed, 73 insertions(+), 339 deletions(-)
12101 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
12102 Author: Simon Feltman <sfeltman@src.gnome.org>
12103 Date: Fri Jul 19 18:00:40 2013 -0700
12105 Move to Python basic type marshaling out of _pygi_argument_to_object
12107 Move the marshaling of GI arguments to Python objects for basic types
12108 into a new function. The required information for this marshaler
12109 is a GITypeTag and GITransfer. Argument marshaling matching these
12110 requirments are now found in: _pygi_argument_to_object_basic_type.
12111 The new marshaler can be used with a generic argument cache marshaler
12112 to unify all of the "basic type" marshaling.
12114 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12116 gi/pygi-argument.c | 86
12117 +++++++++++++++++++++++++++++++++++++++---------------
12118 1 file changed, 63 insertions(+), 23 deletions(-)
12120 commit dd43a1e19440dbe025451d2e4e07a6074086498d
12121 Author: Simon Feltman <sfeltman@src.gnome.org>
12122 Date: Sat Jul 6 14:16:36 2013 -0700
12124 Override GValue.set/get_boxed with static C marshaler
12126 Override boxed type get/set methods on GValue to use the static C
12127 GValue marshaler. This works around the inability of the introspection
12128 version of these methods to know what the held GValue type is.
12129 With this, all boxed types will now marshal properly with GValues as
12132 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12134 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
12135 gi/overrides/GObject.py | 9 +++++++++
12136 2 files changed, 47 insertions(+)
12138 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
12139 Author: Simon Feltman <sfeltman@src.gnome.org>
12140 Date: Sat Jul 6 14:10:20 2013 -0700
12142 Refactor pyg_value_from_pyobject into two functions
12144 Break pyg_value_from_pyobject into two functions. One which keeps
12145 Python exceptions queued (pyg_value_from_pyobject_with_error) and
12146 one which clears them (pyg_value_from_pyobject). This allows for
12147 re-use for code which want to keep the errors around
12149 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12151 gi/_gobject/gobjectmodule.c | 4 ++-
12152 gi/_gobject/pygobject-private.h | 1 +
12153 gi/_gobject/pygobject.h | 2 ++
12154 gi/_gobject/pygtype.c | 67
12155 ++++++++++++++++++++++++++++++++---------
12156 4 files changed, 59 insertions(+), 15 deletions(-)
12158 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
12159 Author: Simon Feltman <sfeltman@src.gnome.org>
12160 Date: Sat Jul 6 20:41:19 2013 -0700
12162 Fix indentation for pyg_value_from_pyobject
12164 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12166 gi/_gobject/pygtype.c | 744
12167 +++++++++++++++++++++++++-------------------------
12168 1 file changed, 372 insertions(+), 372 deletions(-)
12170 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
12171 Author: Simon Feltman <sfeltman@src.gnome.org>
12172 Date: Sat Jul 6 13:32:39 2013 -0700
12174 Add deprecation warning for marshaling arbitrary objects as pointers
12176 Add deprecation warning for marshaling arbitrary objects to/from void
12177 pointers with the exception of integers, PyCapsules, and None.
12179 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12181 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
12182 gi/pygi-marshal-to-py.c | 10 ++++++++--
12183 2 files changed, 24 insertions(+), 3 deletions(-)
12185 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
12186 Author: Simon Feltman <sfeltman@src.gnome.org>
12187 Date: Sat Jul 6 13:34:53 2013 -0700
12189 Move PyGIDeprecationWarning to C for shared Python/C usage
12191 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12193 gi/__init__.py | 19 ++++---------------
12194 gi/gimodule.c | 18 ++++++++++++++++++
12196 3 files changed, 24 insertions(+), 15 deletions(-)
12198 commit 90427107af36ea3c624b36967ee181ed13b9828f
12199 Author: Simon Feltman <sfeltman@src.gnome.org>
12200 Date: Thu Jul 18 14:59:55 2013 -0700
12202 Replace usage of __import__ with importlib.import_module
12204 https://bugzilla.gnome.org/show_bug.cgi?id=682320
12206 gi/module.py | 8 ++++----
12207 1 file changed, 4 insertions(+), 4 deletions(-)
12209 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
12210 Author: Mike Gorse <mgorse@suse.com>
12211 Date: Wed Jul 10 16:44:23 2013 -0500
12213 Always unref the GiTypeInfo when generating an argument cache
12215 We were leaking a GiTypeInfo when handling child arguments.
12217 https://bugzilla.gnome.org/show_bug.cgi?id=703973
12219 gi/pygi-cache.c | 1 +
12220 1 file changed, 1 insertion(+)
12222 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
12223 Author: Mike Gorse <mgorse@suse.com>
12224 Date: Wed Jul 10 12:10:16 2013 -0500
12226 Unref interface info when fetching enums or flags
12228 When calling g_type_info_get_interface, the resulting interface should
12229 be dereferenced by calling g_base_info_unref.
12231 https://bugzilla.gnome.org/show_bug.cgi?id=703960
12233 gi/pygi-marshal-from-py.c | 8 +++++++-
12234 gi/pygi-marshal-to-py.c | 3 +++
12235 2 files changed, 10 insertions(+), 1 deletion(-)
12237 commit a93755ddba9a1761b627583d7b9be63783c2c063
12238 Author: Daniel Drake <dsd@laptop.org>
12239 Date: Tue Jul 9 13:03:36 2013 -0600
12241 Speed up MRO calculation
12243 Optimize gi.type.mro() with the following observations and tricks:
12245 1. Python prepares all the base classes before trying to calculate the
12246 MRO of the current one (it first needs to populate __bases__, for
12247 example). So we can assume that the base class MRO is already
12249 in __mro__ and this will have been previously calculated (by us,
12251 case of gi classes). This avoids repeating a lot of MRO-calculating
12253 and also avoids (re)calculating MROs for inheritance chains
12255 have any gi classes in them anyway.
12257 2. With that simplification in place, we can avoid recursion, which
12259 all that great in Python...
12261 3. ...except in the uncommon case of a Python2 old-style classes,
12263 __mro__ is not available. There doesn't seem to be any existing
12264 function to calculate or read MRO of old-style python classes,
12266 keep doing as before: calculate the C3 MRO of the old-style
12268 recursion. That behaviour is not really correct, and the
12270 not desirable, so we print a warning here.
12272 This makes the "hello world" Sugar app start up approximately
12276 https://bugzilla.gnome.org/show_bug.cgi?id=703829
12278 gi/types.py | 30 +++++++++++++++++++++++++++---
12279 tests/test_gi.py | 16 ++++++++++++----
12280 2 files changed, 39 insertions(+), 7 deletions(-)
12282 commit 7aca95781fc76f3e820e63325ccc07d128a60075
12283 Author: Daniel Drake <dsd@laptop.org>
12284 Date: Wed Jul 10 10:45:47 2013 -0600
12286 tests: Add tests for MRO override
12288 Add tests for the MRO override to prevent against unintended
12291 https://bugzilla.gnome.org/show_bug.cgi?id=703829
12293 tests/test_gi.py | 66
12294 ++++++++++++++++++++++++++++++++++++++++++--------------
12295 1 file changed, 50 insertions(+), 16 deletions(-)
12297 commit a15333a36e31b76ea6b80251553840269ec5deb1
12298 Author: Simon Feltman <sfeltman@src.gnome.org>
12299 Date: Sat Jul 6 13:34:13 2013 -0700
12301 Add GIL safety to pyobject_copy for copying boxed PyObjects
12303 https://bugzilla.gnome.org/show_bug.cgi?id=688081
12305 gi/_gobject/pygobject.c | 3 +++
12306 1 file changed, 3 insertions(+)
12308 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
12309 Author: Simon Feltman <sfeltman@src.gnome.org>
12310 Date: Sat Jul 6 09:48:35 2013 -0700
12312 testhelper: Fix import requirement for GObject
12314 Replace the importing of gi._gobject._gobject with
12315 gi.repository.GObject
12316 in tests/testhelpermodule.c
12318 The testhelper module was only importing the static bindings
12319 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
12320 This was causing some tests to fail when test_thread was the first
12321 test to run in the suite due to it registering new types based on
12324 https://bugzilla.gnome.org/show_bug.cgi?id=703647
12326 tests/testhelpermodule.c | 2 +-
12327 1 file changed, 1 insertion(+), 1 deletion(-)
12329 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
12330 Author: Simon Feltman <sfeltman@src.gnome.org>
12331 Date: Wed Jul 3 05:26:12 2013 -0700
12333 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
12335 Replace assertion for this case with a simple marshalling of the
12336 pointer value to a Python int. While not particularly useful
12337 this allows some callbacks in WebKit to function without causing
12340 https://bugzilla.gnome.org/show_bug.cgi?id=694233
12342 gi/pygi-argument.c | 4 ++--
12343 1 file changed, 2 insertions(+), 2 deletions(-)
12345 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
12346 Author: Cole Robinson <crobinso@redhat.com>
12347 Date: Sat Feb 16 17:26:43 2013 -0500
12349 GTK overrides: Make connect_signals handle tuple
12351 This is used for passing extra arguments to callbacks during
12352 signal emission in the form of:
12353 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
12355 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
12357 https://bugzilla.gnome.org/show_bug.cgi?id=693994
12359 gi/overrides/Gtk.py | 51 ++++++++----
12360 tests/test_overrides_gtk.py | 196
12361 +++++++++++++++++++++++++++++---------------
12362 2 files changed, 165 insertions(+), 82 deletions(-)
12364 commit 466567373289e6f141709f08efa80ba588d3d64a
12365 Author: Simon Feltman <sfeltman@src.gnome.org>
12366 Date: Tue Jul 2 18:06:01 2013 -0700
12368 Re-add support for passing GValue's by reference
12370 Fix special casing when marshaling from a Python held GValue
12371 to a GValue argument intended for a function call.
12372 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
12373 broke this by always making a copy of the GValue. This removed the
12374 ability to retrieve values with functions like
12375 gtk_style_context_get_style_property.
12377 https://bugzilla.gnome.org/show_bug.cgi?id=701058
12379 gi/pygi-argument.c | 2 +-
12380 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
12381 2 files changed, 16 insertions(+), 18 deletions(-)
12383 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
12384 Author: Simon Feltman <sfeltman@src.gnome.org>
12385 Date: Tue Jul 2 19:20:04 2013 -0700
12387 tests: Add test for pass-by-reference GValue
12389 https://bugzilla.gnome.org/show_bug.cgi?id=701058
12391 tests/test_gi.py | 7 +++++++
12392 1 file changed, 7 insertions(+)
12394 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
12395 Author: Simon Feltman <sfeltman@src.gnome.org>
12396 Date: Tue Jul 2 23:02:17 2013 -0700
12398 Clear return value of closures to zero when an exception occures
12400 For return types other than void, set the ffi closure return argument
12401 to 0 when a Python exception occures. This a good default in general
12402 but also has the side affect of fixing failing idle callbacks
12403 by causing them to be removed from main loops (after their stack
12406 https://bugzilla.gnome.org/show_bug.cgi?id=702552
12408 gi/pygi-closure.c | 14 ++++++++++++++
12409 tests/test_gi.py | 8 ++++++++
12410 2 files changed, 22 insertions(+)
12412 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
12413 Author: Martin Pitt <martinpitt@gnome.org>
12414 Date: Wed Jul 3 10:40:28 2013 +0200
12416 Don't use doctest syntax in docstrings for examples
12418 These are not actual doctests, so don't use the >>> syntax there. Just
12422 This fixes pyflakes 0.7 failures.
12424 https://bugzilla.gnome.org/show_bug.cgi?id=701009
12426 gi/_gobject/propertyhelper.py | 11 +++++------
12427 gi/overrides/GObject.py | 8 ++++----
12428 gi/overrides/Gtk.py | 2 +-
12429 3 files changed, 10 insertions(+), 11 deletions(-)
12431 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
12432 Author: Garrett Regier <garrettregier@gmail.com>
12433 Date: Tue Jul 2 06:07:15 2013 -0700
12435 Add support for properties of type GInterface
12437 Add support for G_TYPE_INTERFACE/GInterface to switch
12438 statement which handles G_TYPE_OBJECT based properties.
12440 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12442 https://bugzilla.gnome.org/show_bug.cgi?id=703456
12444 gi/_gobject/gobjectmodule.c | 1 +
12445 gi/_gobject/propertyhelper.py | 3 ++-
12446 tests/test_properties.py | 16 ++++++++++++++++
12447 3 files changed, 19 insertions(+), 1 deletion(-)
12449 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
12450 Author: Martin Pitt <martinpitt@gnome.org>
12451 Date: Fri Jun 21 07:27:48 2013 +0200
12453 pygtkcompat: Fix for missing methods on Windows
12455 Deal with non-existing Gtk.Clipboard.get() and
12456 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
12458 https://bugzilla.gnome.org/show_bug.cgi?id=702787
12460 pygtkcompat/pygtkcompat.py | 10 ++++++++--
12461 1 file changed, 8 insertions(+), 2 deletions(-)
12463 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
12464 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12465 Date: Fri Jun 21 12:32:33 2013 +0800
12467 gi/pygi-info.c: Avoid C99-style variable declaration
12469 https://bugzilla.gnome.org/show_bug.cgi?id=702786
12471 gi/pygi-info.c | 3 ++-
12472 1 file changed, 2 insertions(+), 1 deletion(-)
12474 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
12475 Author: Martin Pitt <martinpitt@gnome.org>
12476 Date: Wed May 29 11:20:35 2013 +0200
12478 GLib overrides: fix typo in deprecation message
12480 Spotted by Dmitrijs Ledkovs, thanks!
12482 gi/overrides/GLib.py | 2 +-
12483 1 file changed, 1 insertion(+), 1 deletion(-)
12485 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
12486 Author: Martin Pitt <martinpitt@gnome.org>
12487 Date: Tue May 28 17:57:20 2013 +0200
12489 configure.ac: post-release version bump to 3.9.3
12491 configure.ac | 2 +-
12492 1 file changed, 1 insertion(+), 1 deletion(-)
12494 commit 10f703189ed6a7104252907d1b1a114f26d79559
12495 Author: Martin Pitt <martinpitt@gnome.org>
12496 Date: Tue May 28 17:56:07 2013 +0200
12500 NEWS | 15 +++++++++++++++
12501 1 file changed, 15 insertions(+)
12503 commit af8d048442b924c72a1d0ae868ee63ccf292759d
12504 Author: Martin Pitt <martinpitt@gnome.org>
12505 Date: Fri May 24 13:03:07 2013 +0200
12507 examples/option.py: Port to GI and Python 3
12509 examples/option.py | 38 +++++++++++++++++++-------------------
12510 1 file changed, 19 insertions(+), 19 deletions(-)
12512 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
12513 Author: Simon Feltman <sfeltman@src.gnome.org>
12514 Date: Sun May 12 18:58:06 2013 -0700
12516 Fix vfunc info search for classes with multiple inheritance
12518 Ensure the search for vfunc GI info continues recursively even if the
12519 current class being looked at does not contain GI info of type
12520 InterfaceInfo. This more exhaustive search is needed for setups with
12521 multiple sub-classes and multiple inheritance.
12523 https://bugzilla.gnome.org/show_bug.cgi?id=700092
12525 gi/types.py | 12 +++++++-----
12526 tests/test_gi.py | 1 -
12527 2 files changed, 7 insertions(+), 6 deletions(-)
12529 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
12530 Author: Simon Feltman <sfeltman@src.gnome.org>
12531 Date: Sun May 12 22:19:38 2013 -0700
12533 Fix closure argument conversion for enum and flag in args
12535 Replace incorrect cast and assignment of double with uint for flags
12538 gi/pygi-closure.c | 2 +-
12539 1 file changed, 1 insertion(+), 1 deletion(-)
12541 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
12542 Author: Simon Feltman <sfeltman@src.gnome.org>
12543 Date: Sat May 11 21:47:54 2013 -0700
12545 tests: Add tests for overriding vfunc implementations
12547 Add tests for overriding vfuncs for both single inheritance
12548 and multiple inheritance with an interface (currently failing).
12550 https://bugzilla.gnome.org/show_bug.cgi?id=700092
12552 tests/test_gi.py | 23 +++++++++++++++++++++++
12553 1 file changed, 23 insertions(+)
12555 commit c4e1112840004af264b4f2a052f333ea38f95cb6
12556 Author: Simon Feltman <sfeltman@src.gnome.org>
12557 Date: Sat May 11 20:28:22 2013 -0700
12559 Fix marshaling Python to FFI return value for enum and flags
12561 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
12563 assignment of arg.v_pointer to the ffi return arg.
12565 gi/pygi-closure.c | 1 +
12566 1 file changed, 1 insertion(+)
12568 commit a703217eaf4075e9720d4247351e1dfc4f553772
12569 Author: Simon Feltman <sfeltman@src.gnome.org>
12570 Date: Fri Apr 19 06:37:24 2013 -0700
12572 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
12574 Remove half implemented GC tracking from PyGIBaseInfo as it was not
12575 needed (the implemented was also missing usage of
12576 PyObject_GC_New/Track).
12577 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
12580 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
12581 for both PyGIStruct and PyGIBoxed as these types were not being
12582 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
12584 https://bugzilla.gnome.org/show_bug.cgi?id=677091
12586 gi/pygi-boxed.c | 4 ----
12587 gi/pygi-info.c | 20 +++++---------------
12588 gi/pygi-struct.c | 4 ----
12589 3 files changed, 5 insertions(+), 23 deletions(-)
12591 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
12592 Author: Simon Feltman <sfeltman@src.gnome.org>
12593 Date: Fri May 3 02:00:07 2013 -0700
12595 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
12597 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
12598 of Py_BEGIN_ALLOW_THREADS.
12600 https://bugzilla.gnome.org/show_bug.cgi?id=699440
12602 gi/_glib/pyglib.h | 4 ----
12603 gi/_glib/pygoptioncontext.c | 4 ++--
12604 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
12605 gi/gimodule.c | 4 ++--
12606 gi/pygi-invoke.c | 4 ++--
12607 5 files changed, 22 insertions(+), 27 deletions(-)
12609 commit c9e95663d05de98a9abd3d1479554b1f09753382
12610 Author: Simon Feltman <sfeltman@src.gnome.org>
12611 Date: Thu May 2 03:57:05 2013 -0700
12613 Remove and deprecate API for setting of thread blocking functions
12615 Remove pyglib_set_thread_block_funcs and deprecate
12616 pyg_set_thread_block_funcs.
12617 The thread block function APIs are no longer be neccessary because
12619 can use the Python C API directly when working with threads.
12621 https://bugzilla.gnome.org/show_bug.cgi?id=699440
12623 gi/_glib/pyglib.c | 41 -----------------------------------
12624 gi/_glib/pyglib.h | 9 ++++----
12625 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
12626 gi/_gobject/pygobject-private.h | 33 ----------------------------
12627 gi/_gobject/pygobject.h | 48
12628 ++++++++++++++++++++---------------------
12629 gi/gimodule.c | 15 +++++++------
12630 6 files changed, 46 insertions(+), 125 deletions(-)
12632 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
12633 Author: Martin Pitt <martinpitt@gnome.org>
12634 Date: Tue Apr 30 11:51:05 2013 -0700
12636 configure.ac: Post-release bump to 3.9.2
12638 configure.ac | 2 +-
12639 1 file changed, 1 insertion(+), 1 deletion(-)
12641 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
12642 Author: Martin Pitt <martinpitt@gnome.org>
12643 Date: Tue Apr 30 11:49:03 2013 -0700
12647 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
12648 1 file changed, 49 insertions(+)
12650 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
12651 Author: Simon Feltman <sfeltman@src.gnome.org>
12652 Date: Sun Apr 28 19:59:35 2013 -0700
12654 gtk-demo: Wrap description strings at 80 characters
12656 Wrap trailing demo description strings so they are easier to read
12657 in a programming editor. The gtk-demo itself re-wraps this using
12658 textwrap and the Gtk.TextView dynamic wrapping.
12660 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12662 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
12663 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
12664 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
12665 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
12666 demos/gtk-demo/demos/images.py | 6 ++++--
12667 demos/gtk-demo/demos/menus.py | 20
12668 ++++++++++++++++----
12669 demos/gtk-demo/demos/pickers.py | 4 ++--
12670 demos/gtk-demo/demos/pixbuf.py | 5 +++--
12671 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
12672 9 files changed, 43 insertions(+), 22 deletions(-)
12674 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
12675 Author: Simon Feltman <sfeltman@src.gnome.org>
12676 Date: Sat Apr 27 22:30:35 2013 -0700
12678 gtk-demo: Use textwrap to reformat description for Gtk.TextView
12680 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12682 demos/gtk-demo/gtk-demo.py | 8 +++++++-
12683 1 file changed, 7 insertions(+), 1 deletion(-)
12685 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
12686 Author: Simon Feltman <sfeltman@src.gnome.org>
12687 Date: Sat Apr 27 21:58:28 2013 -0700
12689 gtk-demo: Use GtkSource.View for showing source code
12691 Replace manual syntax highlighting of Gtk.TextView with usage of
12692 GtkSource.View when available. Fall back to TextView with no
12693 hightlighting when GtkSource is not available.
12695 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12697 demos/gtk-demo/gtk-demo.py | 170
12698 ++++++++++++---------------------------------
12699 1 file changed, 44 insertions(+), 126 deletions(-)
12701 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
12702 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
12703 Date: Sun Apr 28 01:40:34 2013 -0500
12705 Use correct class for GtkEditable's get_selection_bounds() function
12707 https://bugzilla.gnome.org/show_bug.cgi?id=699096
12709 gi/overrides/Gtk.py | 2 +-
12710 1 file changed, 1 insertion(+), 1 deletion(-)
12712 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
12713 Author: Simon Feltman <sfeltman@src.gnome.org>
12714 Date: Thu Apr 25 05:27:35 2013 -0700
12716 Test results of g_base_info_get_name for NULL
12718 Block against potential NULL result when generating type hint with
12719 _g_arg_get_pytype_hint.
12721 https://bugzilla.gnome.org/show_bug.cgi?id=698829
12723 gi/pygi-info.c | 12 ++++++++++--
12724 1 file changed, 10 insertions(+), 2 deletions(-)
12726 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
12727 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12728 Date: Sun Apr 21 19:09:59 2013 -0300
12730 Remove g_type_init conditional call
12732 It's deprecated in the glib version we depend on.
12734 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12736 gi/_gobject/gobjectmodule.c | 3 ---
12737 1 file changed, 3 deletions(-)
12739 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
12740 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12741 Date: Sat Mar 30 20:59:44 2013 -0300
12743 Update deps versions also in README
12745 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
12748 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12751 1 file changed, 2 insertions(+), 2 deletions(-)
12753 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
12754 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12755 Date: Sat Mar 30 20:50:35 2013 -0300
12757 Drop compat code for old python version
12759 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12761 gi/_glib/pyglib-python-compat.h | 12 ------------
12762 1 file changed, 12 deletions(-)
12764 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
12765 Author: Niklas Koep <niklas.koep@gmail.com>
12766 Date: Thu Apr 25 06:14:12 2013 +0200
12768 Remove duplicate call to _gi.Repository.require()
12770 repository.require() was called twice in IntrospectionModule's
12773 https://bugzilla.gnome.org/show_bug.cgi?id=698797
12776 1 file changed, 1 deletion(-)
12778 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
12779 Author: Johan Dahlin <johan@gnome.org>
12780 Date: Mon Oct 1 03:02:10 2012 -0700
12782 Add ObjectInfo.get_class_struct()
12784 https://bugzilla.gnome.org/show_bug.cgi?id=685218
12786 gi/pygi-info.c | 15 +++++++++++++++
12787 tests/test_gi.py | 4 ++++
12788 2 files changed, 19 insertions(+)
12790 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
12791 Author: Simon Feltman <sfeltman@src.gnome.org>
12792 Date: Mon Apr 22 03:43:23 2013 -0700
12794 Change interpretation of NULL pointer field from None to 0
12796 The usage of 0 is needed because these fields should generally
12797 be used to store integer indices or hashes, not necessarily
12798 pointers to actual data.
12800 https://bugzilla.gnome.org/show_bug.cgi?id=698366
12802 gi/pygi-argument.c | 11 +----------
12803 tests/test_everything.py | 5 +++--
12804 2 files changed, 4 insertions(+), 12 deletions(-)
12806 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
12807 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
12808 Date: Fri Mar 8 08:25:58 2013 +0330
12810 Do not build tests until needed
12812 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
12814 https://bugzilla.gnome.org/show_bug.cgi?id=698444
12816 tests/Makefile.am | 12 ++++++------
12817 1 file changed, 6 insertions(+), 6 deletions(-)
12819 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
12820 Author: Kai Willadsen <kai.willadsen@gmail.com>
12821 Date: Sun Apr 14 15:16:40 2013 +1000
12823 pygi-convert: Support toolbar styles
12825 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12827 pygi-convert.sh | 1 +
12828 1 file changed, 1 insertion(+)
12830 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
12831 Author: Kai Willadsen <kai.willadsen@gmail.com>
12832 Date: Sun Apr 14 10:54:04 2013 +1000
12834 pygi-convert: Support new-style constructors for Gio.File
12836 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12838 pygi-convert.sh | 2 ++
12839 1 file changed, 2 insertions(+)
12841 commit 1e8120992dc103ac817351be3c150e6cb25f719f
12842 Author: Kai Willadsen <kai.willadsen@gmail.com>
12843 Date: Sun Apr 14 10:22:55 2013 +1000
12845 pygi-convert: Add some support for recent manager constructs
12847 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12849 pygi-convert.sh | 3 +++
12850 1 file changed, 3 insertions(+)
12852 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
12853 Author: Kai Willadsen <kai.willadsen@gmail.com>
12854 Date: Sun Apr 14 07:37:24 2013 +1000
12856 pygi-convert: Check for double quote in require statement
12858 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12860 pygi-convert.sh | 1 +
12861 1 file changed, 1 insertion(+)
12863 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
12864 Author: Kai Willadsen <kai.willadsen@gmail.com>
12865 Date: Sun Apr 14 07:37:00 2013 +1000
12867 pygi-convert: Don't transform arbitrary keysym imports
12869 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12871 pygi-convert.sh | 2 +-
12872 1 file changed, 1 insertion(+), 1 deletion(-)
12874 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
12875 Author: Simon Feltman <sfeltman@src.gnome.org>
12876 Date: Thu Apr 11 04:09:59 2013 -0700
12878 Remove Python keyword escapement in Repository.find_by_name
12880 Strip trailing underscore from module level items before
12881 calling g_irepository_find_by_name. This fixes a problem
12882 with GI module level items having the same name as a Python
12883 keyword raising an AttributeError during access (Pango.break_).
12885 https://bugzilla.gnome.org/show_bug.cgi?id=697363
12887 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
12888 gi/pygi-info.h | 2 ++
12889 gi/pygi-repository.c | 16 ++++++++++++++++
12890 tests/test_overrides_pango.py | 5 +++++
12891 4 files changed, 45 insertions(+), 10 deletions(-)
12893 commit c07404461b126206e369270b56e613f81369c70a
12894 Author: Daniel Drake <dsd@laptop.org>
12895 Date: Mon Mar 18 16:08:09 2013 -0600
12897 Optimize signal lookup in gi repository
12899 Now that we have GSignalQuery results available to us when connecting
12900 signals, we already know which GType implements the signal in
12903 Therefore there is no need to traverse the class parent hierarchy
12904 looking for this, which takes a considerable amount of CPU time.
12906 There is also no need to canonicalize the signal name; both before
12907 and after this patch, by the time we reach this point we have already
12908 successfully looked up the signal name as presented from Python.
12910 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12912 gi/_gobject/pygobject.c | 5 ++--
12913 gi/pygi-signal-closure.c | 59
12914 +++++++++++++-----------------------------------
12915 gi/pygi-signal-closure.h | 1 +
12917 4 files changed, 23 insertions(+), 46 deletions(-)
12919 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
12920 Author: Daniel Drake <dsd@laptop.org>
12921 Date: Mon Mar 18 15:38:19 2013 -0600
12923 Optimize connection of Python-implemented signals
12925 Like properties, when working with signals we must detect if the
12926 signal is implemented in a Python class or if it originates from the
12927 gi repository, and act accordingly.
12929 Asking the gi repository if it can find a signal that is implemented
12930 in a Python class (it can't) takes a considerable amount of CPU time.
12932 Use g_signal_query() to find out which GType implements the signal.
12933 Then perform a simple test to see if this type is implemented at the
12934 Python level, allowing us to to skip the GI querying in this case.
12936 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12938 gi/_gobject/pygobject.c | 19 +++++++++++++++----
12939 1 file changed, 15 insertions(+), 4 deletions(-)
12941 commit e91b35d72f93678a79623347dce271148d57046f
12942 Author: Daniel Drake <dsd@laptop.org>
12943 Date: Mon Mar 18 15:24:52 2013 -0600
12945 Consolidate signal connection code
12947 This code was repeated 4 times with very little variance;
12948 consolidate it and add simple tests to ensure basic coverage.
12950 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12952 gi/_gobject/pygobject.c | 129
12953 +++++++++++++++--------------------------------
12954 tests/test_everything.py | 33 ++++++++++++
12955 2 files changed, 74 insertions(+), 88 deletions(-)
12957 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
12958 Author: Daniel Drake <dsd@laptop.org>
12959 Date: Mon Mar 18 15:11:16 2013 -0600
12961 Fix setting of struct property values
12963 "goto out" in this context means that an error occurred, but this
12964 particular instance was sitting in the "good" codepath.
12966 Fixes setting of struct property values.
12968 gi/pygi-property.c | 3 ++-
12969 1 file changed, 2 insertions(+), 1 deletion(-)
12971 commit 8981ea0422c6837d488311dafe8937593372e736
12972 Author: Daniel Drake <dsd@laptop.org>
12973 Date: Mon Mar 18 14:25:45 2013 -0600
12975 Optimize property get/set when using GObject.props
12977 Skip GI repository lookup for properties defined on Python
12978 defined GObject types.
12980 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12982 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12984 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
12985 1 file changed, 19 insertions(+), 18 deletions(-)
12987 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
12988 Author: Christoph Reiter <reiter.christoph@gmail.com>
12989 Date: Sat Apr 13 17:28:26 2013 +0200
12991 configure.ac: Fix PYTHON_SO with Python3.3
12993 https://bugzilla.gnome.org/show_bug.cgi?id=696646
12995 configure.ac | 5 ++++-
12996 1 file changed, 4 insertions(+), 1 deletion(-)
12998 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
12999 Author: Daniel Drake <dsd@laptop.org>
13000 Date: Mon Mar 18 14:13:37 2013 -0600
13002 Simplify registration of custom types
13004 Use custom quark data to track Python created GTypes.
13006 Remove previous mechanism to track registration of python-implemented
13007 GTypes as it was unused (no custom registration was ever tracked).
13009 Leave vtable pointer and set to NULL to avoid an ABI break.
13011 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
13013 https://bugzilla.gnome.org/show_bug.cgi?id=696143
13015 gi/_gobject/gobjectmodule.c | 11 +++++--
13016 gi/_gobject/pygobject-private.h | 8 ++---
13017 gi/_gobject/pygobject.c | 8 ++---
13018 gi/_gobject/pygobject.h | 9 +++---
13019 gi/_gobject/pygtype.c | 69
13020 +++--------------------------------------
13021 5 files changed, 22 insertions(+), 83 deletions(-)
13023 commit 50702a09344825e3a8aa54365d78de807f989d88
13024 Author: Christoph Reiter <reiter.christoph@gmail.com>
13025 Date: Sat Apr 13 16:04:17 2013 +0200
13027 pygi-convert.sh: Add GStreamer rules
13029 https://bugzilla.gnome.org/show_bug.cgi?id=697951
13031 pygi-convert.sh | 17 +++++++++++++++++
13032 1 file changed, 17 insertions(+)
13034 commit b289176e6b37cb2825bd555cea019b85b68d5c57
13035 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
13036 Date: Sun Mar 10 15:04:40 2013 +0200
13038 pygi-convert: Add rule for TreeModelFlags
13040 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
13042 pygi-convert.sh | 1 +
13043 1 file changed, 1 insertion(+)
13045 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
13046 Author: Simon Feltman <sfeltman@src.gnome.org>
13047 Date: Fri Mar 29 03:20:44 2013 -0700
13049 Unify interface struct to Python GI marshaling code
13051 Add pygi_marshal_to_py_interface_struct used for direct gi method
13052 call out args and vfunc in args.
13054 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13056 gi/pygi-argument.c | 72 ++++++-------------------------
13057 gi/pygi-marshal-to-py.c | 112
13058 +++++++++++++++++++++++++++++-------------------
13059 gi/pygi-marshal-to-py.h | 8 ++++
13060 3 files changed, 91 insertions(+), 101 deletions(-)
13062 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
13063 Author: Simon Feltman <sfeltman@src.gnome.org>
13064 Date: Thu Mar 28 22:41:51 2013 -0700
13066 Unify Python interface struct to GI marshaling code
13068 Add pygi_marshal_from_py_interface_struct used for direct gi method
13069 call in args and vfunc out args.
13071 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13073 gi/pygi-argument.c | 75 +++++++--------------
13074 gi/pygi-cache.c | 12 +---
13075 gi/pygi-marshal-from-py.c | 167
13076 +++++++++++++++++++++++++++++-----------------
13077 gi/pygi-marshal-from-py.h | 11 +++
13078 4 files changed, 141 insertions(+), 124 deletions(-)
13080 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
13081 Author: Simon Feltman <sfeltman@src.gnome.org>
13082 Date: Thu Mar 28 06:17:15 2013 -0700
13084 Unify Python float and double to GI marshaling code
13086 Change _pygi_argument_from_object to use the cachers marshalers
13087 (_pygi_marshal_from_py_float/double) directly instead of keeping a
13089 Refactor _pygi_marshal_from_py_float/double to use a common utility
13090 _pygi_py_arg_to_double for initial error checking and conversion.
13092 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13094 gi/pygi-argument.c | 26 ++++----------------------
13095 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
13096 2 files changed, 24 insertions(+), 44 deletions(-)
13098 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
13099 Author: Simon Feltman <sfeltman@src.gnome.org>
13100 Date: Thu Mar 28 05:29:08 2013 -0700
13102 Unify filename to Python GI marshaling code
13104 Change _pygi_argument_to_object to use the cachers marshaler
13105 (_pygi_marshal_to_py_filename) directly instead of keeping a
13108 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13110 gi/pygi-argument.c | 22 ++--------------------
13111 gi/pygi-marshal-to-py.c | 6 ++----
13112 2 files changed, 4 insertions(+), 24 deletions(-)
13114 commit 54aa043d96deb02589e13042a46917405ca53780
13115 Author: Simon Feltman <sfeltman@src.gnome.org>
13116 Date: Thu Mar 28 05:20:00 2013 -0700
13118 Unify utf8 to Python GI marshaling code
13120 Change _pygi_argument_to_object to use the cachers marshaler
13121 (_pygi_marshal_to_py_utf8) directly instead of keeping a
13124 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13126 gi/pygi-argument.c | 11 ++++-------
13127 gi/pygi-marshal-to-py.c | 4 +---
13128 2 files changed, 5 insertions(+), 10 deletions(-)
13130 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
13131 Author: Simon Feltman <sfeltman@src.gnome.org>
13132 Date: Thu Mar 28 05:10:45 2013 -0700
13134 Unify unichar to Python GI marshaling code
13136 Change _pygi_argument_to_object to use the cachers marshaler
13137 (_pygi_marshal_to_py_unichar) directly instead of keeping a
13140 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13142 gi/pygi-argument.c | 19 ++-----------------
13143 1 file changed, 2 insertions(+), 17 deletions(-)
13145 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
13146 Author: Simon Feltman <sfeltman@src.gnome.org>
13147 Date: Sat Feb 16 19:49:59 2013 -0800
13149 Unify Python unicode to filename GI marshaling code
13151 Change _pygi_argument_from_object to use the cachers marshaler
13152 (_pygi_marshal_from_py_filename) directly instead of keeping a
13155 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13157 gi/pygi-argument.c | 30 ++----------------------------
13158 1 file changed, 2 insertions(+), 28 deletions(-)
13160 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
13161 Author: Simon Feltman <sfeltman@src.gnome.org>
13162 Date: Sat Feb 16 19:32:54 2013 -0800
13164 Unify Python unicode to utf8 GI marshaling code
13166 Change _pygi_argument_from_object to use the cachers marshaler
13167 (_pygi_marshal_from_py_utf8) directly instead of keeping a
13170 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13172 gi/pygi-argument.c | 32 ++------------------------------
13173 1 file changed, 2 insertions(+), 30 deletions(-)
13175 commit e253c73335fccabc61e0329f8528a90f79858c67
13176 Author: Simon Feltman <sfeltman@src.gnome.org>
13177 Date: Sat Feb 16 19:16:43 2013 -0800
13179 Unify Python unicode to unichar GI marshaling code
13181 Change _pygi_argument_from_object to use the cachers marshaler
13182 (_pygi_marshal_from_py_unichar) directly instead of keeping a
13185 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13187 gi/pygi-argument.c | 34 ++--------------------------------
13188 gi/pygi-marshal-from-py.c | 9 +++++++++
13189 2 files changed, 11 insertions(+), 32 deletions(-)
13191 commit 216caf590b262fed40d10bb34d020089d1197160
13192 Author: Simon Feltman <sfeltman@src.gnome.org>
13193 Date: Thu Apr 4 15:57:12 2013 -0700
13195 Fix enum and flags marshaling type assumptions
13197 Replace assignments of GFlags and GEnum values to various GIArgument
13198 members with v_uint and v_int respectively.
13200 gi/pygi-argument.c | 6 +++---
13201 gi/pygi-property.c | 4 ++--
13202 2 files changed, 5 insertions(+), 5 deletions(-)
13204 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
13205 Author: Christoph Reiter <reiter.christoph@gmail.com>
13206 Date: Thu Apr 4 10:08:38 2013 +0200
13208 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
13210 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
13212 m4/python.m4 | 4 ++--
13213 1 file changed, 2 insertions(+), 2 deletions(-)
13215 commit f82f755a0f419539c223e4a74e33145726c6e69f
13216 Author: Christoph Reiter <reiter.christoph@gmail.com>
13217 Date: Thu Apr 4 09:05:48 2013 +0200
13219 Use distutils.sysconfig to retrieve the python include path.
13221 https://bugzilla.gnome.org/show_bug.cgi?id=696648
13223 m4/python.m4 | 8 ++------
13224 1 file changed, 2 insertions(+), 6 deletions(-)
13226 commit cf81dd66e6387bf27122a71176e91ca39beb6519
13227 Author: Martin Pitt <martinpitt@gnome.org>
13228 Date: Thu Apr 4 06:47:56 2013 +0200
13230 Use g_strdup() consistently
13232 https://bugzilla.gnome.org/show_bug.cgi?id=696650
13234 gi/pygi-marshal-from-py.c | 2 +-
13235 1 file changed, 1 insertion(+), 1 deletion(-)
13237 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
13238 Author: Christoph Reiter <reiter.christoph@gmail.com>
13239 Date: Tue Mar 26 16:03:59 2013 +0100
13241 Support PEP 3149 (ABI version tagged .so files)
13243 Add a ABI suffix to the shared library retrieved from
13244 distutils.sysconfig
13245 instead of hardcoding it. This should also make things more robust
13248 https://bugzilla.gnome.org/show_bug.cgi?id=696646
13250 configure.ac | 3 +++
13251 gi/Makefile.am | 14 +++++++-------
13252 gi/_glib/Makefile.am | 14 +++++++-------
13253 gi/_gobject/Makefile.am | 14 +++++++-------
13254 4 files changed, 24 insertions(+), 21 deletions(-)
13256 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
13257 Author: Simon Feltman <sfeltman@src.gnome.org>
13258 Date: Sun Mar 31 01:32:34 2013 -0700
13260 Fix stack corruption due to incorrect format for argument parser
13262 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
13263 of "l" meaning long (8 bytes) in combination with an output pointer
13264 of guint (4 bytes). Change to use gulong with a format of "k".
13266 https://bugzilla.gnome.org/show_bug.cgi?id=696892
13268 gi/_gobject/pygflags.c | 4 ++--
13269 1 file changed, 2 insertions(+), 2 deletions(-)
13271 commit 48e52210ece0e144b4c959e773ea542a912358e7
13272 Author: Simon Feltman <sfeltman@src.gnome.org>
13273 Date: Thu Mar 7 00:26:37 2013 -0800
13275 Deprecate GLib and GObject threads_init
13277 Remove a handful of Python threading related helper functions
13278 from pyglib and pygobject. The binding internals required
13279 GLib.threads_init to be called for PyGObject to work with
13280 Python threads. This was removed as it should not be a requirement.
13281 Using the Python threading module already initializes threading
13282 for us (PyEval_InitThreads).
13284 https://bugzilla.gnome.org/show_bug.cgi?id=686914
13286 gi/_glib/glibmodule.c | 16 --------
13287 gi/_glib/pyglib.c | 94
13288 ---------------------------------------------
13289 gi/_glib/pyglib.h | 28 +++++++-------
13290 gi/_gobject/gobjectmodule.c | 31 ++++-----------
13291 gi/overrides/GLib.py | 8 +++-
13292 gi/overrides/GObject.py | 2 +-
13293 6 files changed, 28 insertions(+), 151 deletions(-)
13295 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
13296 Author: Martin Pitt <martinpitt@gnome.org>
13297 Date: Mon Mar 25 09:03:51 2013 +0100
13299 Drop support for Python 2.6
13301 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
13303 this unblocks e. g. GNOME #682320.
13305 Drop usage of PyCObject_* (which has been superseded by PyCapsule
13307 and drop Python 2.6 specific workarounds.
13309 configure.ac | 2 +-
13310 gi/_glib/pyglib-python-compat.h | 20 ------------------
13311 gi/_gobject/pygobject.h | 6 ------
13313 m4/python.m4 | 2 +-
13314 tests/runtests.py | 45
13315 +----------------------------------------
13316 tests/test_gobject.py | 1 -
13317 tests/test_signal.py | 4 ----
13318 8 files changed, 3 insertions(+), 81 deletions(-)
13320 commit 56347953abb1e214817186581eaf2b2d8762cf97
13321 Author: Martin Pitt <martinpitt@gnome.org>
13322 Date: Wed Oct 24 16:43:25 2012 +0200
13324 Remove static PollFD bindings
13326 Use the GLib API through GI instead, and provide an override to keep a
13327 backwards compatible constructor syntax.
13329 https://bugzilla.gnome.org/show_bug.cgi?id=686795
13331 gi/_glib/Makefile.am | 2 --
13332 gi/_glib/glibmodule.c | 2 --
13333 gi/_glib/pygsource.c | 98
13334 ---------------------------------------------------
13335 gi/_glib/pygsource.h | 36 -------------------
13336 gi/overrides/GLib.py | 17 +++++++--
13337 5 files changed, 15 insertions(+), 140 deletions(-)
13339 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
13340 Author: Martin Pitt <martinpitt@gnome.org>
13341 Date: Mon Mar 25 08:44:24 2013 +0100
13343 Drop test skipping due to too old g-i
13345 We depend on gobject-introspection 1.35.9 now, which has all this API.
13347 tests/test_gi.py | 24 ------------------------
13348 tests/test_object_marshaling.py | 14 --------------
13349 2 files changed, 38 deletions(-)
13351 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
13352 Author: Martin Pitt <martinpitt@gnome.org>
13353 Date: Mon Mar 25 08:37:37 2013 +0100
13355 Bump glib and g-i dependencies
13357 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
13359 versions. This allows us to drop the conditional test suite skips
13361 static PollFD bindings.
13363 configure.ac | 6 +++---
13364 1 file changed, 3 insertions(+), 3 deletions(-)
13366 commit 252556d044322207429c0d0c269365f48e4d819a
13367 Author: Martin Pitt <martinpitt@gnome.org>
13368 Date: Mon Mar 25 08:43:53 2013 +0100
13370 configure.ac: post-release version bump to 3.9.1
13372 configure.ac | 4 ++--
13373 1 file changed, 2 insertions(+), 2 deletions(-)
13375 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
13376 Author: Martin Pitt <martinpitt@gnome.org>
13377 Date: Mon Mar 25 08:12:10 2013 +0100
13382 1 file changed, 4 insertions(+)
13384 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
13385 Author: Simon Feltman <sfeltman@src.gnome.org>
13386 Date: Wed Mar 20 23:45:01 2013 -0700
13388 tests: Fix incorrect assumption when testing pyglib version
13390 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
13391 value that can be used for a future proof unittest here.
13393 tests/test_glib.py | 4 ++--
13394 1 file changed, 2 insertions(+), 2 deletions(-)
13396 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
13397 Author: Martin Pitt <martinpitt@gnome.org>
13398 Date: Mon Mar 18 14:02:29 2013 +0100
13400 configure.ac: post-release bump to 3.8.0
13402 configure.ac | 4 ++--
13403 1 file changed, 2 insertions(+), 2 deletions(-)
13405 commit defbd63e95faafaa84230f160bc95dad0f55e37d
13406 Author: Martin Pitt <martinpitt@gnome.org>
13407 Date: Mon Mar 18 14:01:05 2013 +0100
13411 NEWS | 18 ++++++++++++++++++
13412 1 file changed, 18 insertions(+)
13414 commit a0844a896603c5c91bed24cf94106765f0ced74e
13415 Author: Simon Feltman <sfeltman@src.gnome.org>
13416 Date: Sun Mar 17 23:22:38 2013 -0700
13418 Fix stack smasher when marshaling enums as a vfunc return value
13420 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
13421 flag types. Default interfaces to marshal as a pointer.
13422 Add explicit cases for GType and Unichar out/return marshaling.
13423 Fix leaking of GIBaseInfo when marshaling interface as out arg.
13425 https://bugzilla.gnome.org/show_bug.cgi?id=637832
13427 gi/pygi-closure.c | 69
13428 ++++++++++++++++++++++++++++++++++++++++++++++---------
13429 tests/test_gi.py | 19 +++++++++++++++
13430 2 files changed, 77 insertions(+), 11 deletions(-)
13432 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
13433 Author: Simon Feltman <sfeltman@src.gnome.org>
13434 Date: Sun Mar 17 15:37:09 2013 -0700
13436 Change base class of PyGIDeprecationWarning based on minor version
13438 Use RuntimeWarning as the base class of PyGIDeprecationWarning
13439 for unstable (odd minor version) and use DeprecationWarning for
13440 stable (even minor version). This is so PyGObject deprecations
13441 behave the same as regular Python deprecations in stable releases.
13443 https://bugzilla.gnome.org/show_bug.cgi?id=696011
13445 gi/__init__.py | 14 +++++++++++---
13446 1 file changed, 11 insertions(+), 3 deletions(-)
13448 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
13449 Author: Alban Browaeys <prahal@yahoo.com>
13450 Date: Thu Feb 28 18:57:21 2013 +0100
13452 autogen.sh: Source gnome-autogen to fix out of source builddir
13454 https://bugzilla.gnome.org/show_bug.cgi?id=694889
13457 1 file changed, 1 insertion(+), 1 deletion(-)
13459 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
13460 Author: Martin Pitt <martinpitt@gnome.org>
13461 Date: Tue Mar 5 12:22:15 2013 +0100
13463 Add 3.7.91.1 NEWS entry
13465 Forgot to push this back then.
13468 1 file changed, 3 insertions(+)
13470 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
13471 Author: Simon Feltman <sfeltman@src.gnome.org>
13472 Date: Sun Mar 17 04:19:57 2013 -0700
13474 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
13476 Make get_geometry return a tuple of (x, y, width, height, depth)
13477 as it did in pygtk 2.
13478 Update pygtkcompat.enable_gtk() to default to version 3.0 because
13479 version 2.0 core dumps trying to use introspection with gtk 2.
13481 pygtkcompat/pygtkcompat.py | 8 +++++++-
13482 1 file changed, 7 insertions(+), 1 deletion(-)
13484 commit 38683f721c33cc35f0260868e58643fd35f04cbe
13485 Author: Simon Feltman <sfeltman@src.gnome.org>
13486 Date: Sun Mar 17 02:08:03 2013 -0700
13488 testhelpermodule: Fix build warning for PyGObject_Type redefinition
13490 Remove dynamic retrieval of PyGObject_Type as it is available
13491 in pygobject.h since commit 2656bc47 (causing this compile warning)
13493 tests/testhelpermodule.c | 14 +-------------
13494 1 file changed, 1 insertion(+), 13 deletions(-)
13496 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
13497 Author: Simon Feltman <sfeltman@src.gnome.org>
13498 Date: Sun Mar 17 01:51:33 2013 -0700
13500 pygtkcompat: Initialize hint to zero in set_geometry_hints
13502 pygtkcompat/pygtkcompat.py | 2 +-
13503 1 file changed, 1 insertion(+), 1 deletion(-)
13505 commit 471204953d6fc93b3d311afd133d40f7d75ec541
13506 Author: Simon Feltman <sfeltman@src.gnome.org>
13507 Date: Fri Mar 15 04:33:22 2013 -0700
13509 Remove incorrect bounds check with property helper flags
13511 Remove bounds check for flags as it is not necessary for the
13512 helper to make these kind of judgement calls in general.
13513 e.g. leave it to marshaling/internals to complain about potential
13514 problems. The flags were being bounds checked to a maximum
13515 value of 32 (the intention was most likely to limit it to 32 bits).
13517 gi/_gobject/propertyhelper.py | 3 ---
13518 tests/test_properties.py | 1 -
13519 2 files changed, 4 deletions(-)
13521 commit 2656bc47ca1219b329066da1c2c58018ae624866
13522 Author: Simon Feltman <sfeltman@src.gnome.org>
13523 Date: Thu Mar 7 18:07:17 2013 -0800
13525 Fix crash when setting property of type object to an incorrect type
13527 Add type check when marshaling an object from Python for GObject
13529 Add PyGObject_Type as part of the pygobject API to check for this.
13531 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13533 gi/_gobject/gobjectmodule.c | 3 ++-
13534 gi/_gobject/pygobject.h | 2 ++
13535 gi/pygi-marshal-from-py.c | 8 ++++++++
13536 tests/test_object_marshaling.py | 4 ++++
13537 4 files changed, 16 insertions(+), 1 deletion(-)
13539 commit 44587f42224a44a480629223c8d78a426bc32a12
13540 Author: Simon Feltman <sfeltman@src.gnome.org>
13541 Date: Thu Mar 7 17:59:02 2013 -0800
13543 Remove skipping of object property tests
13545 These were showing up as unexpected successes now that bug 675726
13548 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13550 tests/test_object_marshaling.py | 7 ++-----
13551 1 file changed, 2 insertions(+), 5 deletions(-)
13553 commit 10214ba2d96fd6d66eeea159219f585abff8632a
13554 Author: Simon Feltman <sfeltman@src.gnome.org>
13555 Date: Thu Mar 7 15:34:49 2013 -0800
13557 Give more informative error when setting property to incorrect type
13559 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13561 gi/_gobject/pygobject.c | 10 ++++++++--
13562 1 file changed, 8 insertions(+), 2 deletions(-)
13564 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
13565 Author: Martin Pitt <martinpitt@gnome.org>
13566 Date: Tue Mar 5 12:04:55 2013 +0100
13568 Revert "Drop gi.overrides.overridefunc()"
13570 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
13572 like GEdit plugins use @overrides for functions as well, we must
13576 https://bugzilla.gnome.org/show_bug.cgi?id=695199
13578 gi/overrides/Gtk.py | 7 ++++---
13579 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
13580 2 files changed, 26 insertions(+), 5 deletions(-)
13582 commit 862de794bf01a66aa6d796c674bce375cad37ba7
13583 Author: Martin Pitt <martinpitt@gnome.org>
13584 Date: Mon Mar 4 17:33:51 2013 +0100
13586 configure.ac: Post-release bump to 3.7.92
13588 configure.ac | 2 +-
13589 1 file changed, 1 insertion(+), 1 deletion(-)
13591 commit bb12e652d661cf6ce931b44a89c11951894101bf
13592 Author: Martin Pitt <martinpitt@gnome.org>
13593 Date: Mon Mar 4 17:27:50 2013 +0100
13597 NEWS | 33 +++++++++++++++++++++++++++++++++
13598 1 file changed, 33 insertions(+)
13600 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
13601 Author: Martin Pitt <martinpitt@gnome.org>
13602 Date: Mon Mar 4 17:16:22 2013 +0100
13604 Dot not clobber original Gdk/Gtk functions with overrides
13606 https://bugzilla.gnome.org/show_bug.cgi?id=686835
13608 gi/overrides/Gdk.py | 3 ++-
13609 gi/overrides/Gtk.py | 3 ++-
13610 2 files changed, 4 insertions(+), 2 deletions(-)
13612 commit d50d16428edf42799489fe1befbc4ce56f0fa181
13613 Author: Martin Pitt <martinpitt@gnome.org>
13614 Date: Mon Mar 4 15:30:31 2013 +0100
13616 tests: Reorganize GError and GClosure tests
13618 Split TestGClosure.test_gclosure_in() into its three components.
13620 Merge the various TestGError* classes into one, to match the structure
13624 tests/test_gi.py | 59
13625 +++++++++++++++++++++++++-------------------------------
13626 1 file changed, 26 insertions(+), 33 deletions(-)
13628 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
13629 Author: Martin Pitt <martinpitt@gnome.org>
13630 Date: Mon Mar 4 15:16:25 2013 +0100
13632 Fix memory leaks in property setting/getting
13634 Do not leak GValues and string arrays, free them properly. As we
13636 the intermediate GValues, use g_value_dup_boxed() instead of
13637 g_value_get_boxed() when appropriate.
13639 Detected by test_gi.TestPropertiesObject.test_strv test case.
13641 gi/pygi-property.c | 21 ++++++++++++++++-----
13642 1 file changed, 16 insertions(+), 5 deletions(-)
13644 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
13645 Author: Martin Pitt <martinpitt@gnome.org>
13646 Date: Mon Mar 4 12:43:24 2013 +0100
13648 Fix memory leak in pyg_flags_get_value_nicks()
13650 Discovered by test_gi.TestKeywords.test_uppercase() test.
13652 gi/_gobject/pygflags.c | 7 +++++--
13653 1 file changed, 5 insertions(+), 2 deletions(-)
13655 commit 002a834dd993b82508a4fe262269befcf1a6d341
13656 Author: Martin Pitt <martinpitt@gnome.org>
13657 Date: Mon Mar 4 12:10:03 2013 +0100
13659 Fix memory leak in _pygi_argument_to_array()
13661 Free the originally allocated GArray data before setting it to
13665 Discovered by test_gi.TestStructure.test_boxed_struct_return test
13668 gi/pygi-argument.c | 1 +
13669 1 file changed, 1 insertion(+)
13671 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
13672 Author: Martin Pitt <martinpitt@gnome.org>
13673 Date: Mon Mar 4 10:19:34 2013 +0100
13675 Fix leaking inout C arrays
13677 g_*_info_invoke() changes the original state->in_args and state->args
13679 to the output values for (inout) arguments, thus losing the pointer
13681 originally allocated array. Remember that in state->args_data,
13683 free it in _pygi_marshal_cleanup_from_py_array().
13685 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
13687 gi/pygi-marshal-cleanup.c | 6 ++++++
13688 gi/pygi-marshal-from-py.c | 4 ++++
13689 2 files changed, 10 insertions(+)
13691 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
13692 Author: Martin Pitt <martinpitt@gnome.org>
13693 Date: Fri Mar 1 15:12:31 2013 +0100
13695 Fix leak in _PyGI_ERROR_PREFIX()
13697 Properly clean up our allocated py_error_prefix string.
13699 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
13701 gi/pygi-private.h | 1 +
13702 1 file changed, 1 insertion(+)
13704 commit b388c3e87ce86d26560337c88eb33d0a95647db8
13705 Author: Martin Pitt <martinpitt@gnome.org>
13706 Date: Fri Mar 1 15:01:06 2013 +0100
13708 Fix leaking of boxed array elements
13710 Commit 631d8ef879a copies struct array elements, but this needlessly
13712 and leaks the array element for boxed types. So only do it for
13715 This fixes the memory leak with
13716 test_gi.TestGValue.test_gvalue_flat_array_out.
13718 https://bugzilla.gnome.org/show_bug.cgi?id=693402
13720 gi/pygi-marshal-to-py.c | 3 ++-
13721 1 file changed, 2 insertions(+), 1 deletion(-)
13723 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
13724 Author: Martin Pitt <martinpitt@gnome.org>
13725 Date: Fri Mar 1 14:04:34 2013 +0100
13727 Drop gi.overrides.overridefunc()
13729 This just adds an unnecessary extra function call and is not really
13731 Drop it from the only remaining function which uses this
13732 (Gtk.main_quit) and
13733 drop overridefunc().
13735 https://bugzilla.gnome.org/show_bug.cgi?id=686835
13737 gi/overrides/Gtk.py | 7 +++----
13738 gi/overrides/__init__.py | 24 ++----------------------
13739 2 files changed, 5 insertions(+), 26 deletions(-)
13741 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
13742 Author: Martin Pitt <martinpitt@gnome.org>
13743 Date: Fri Mar 1 14:02:02 2013 +0100
13745 Add some tests for overridden Gdk/Gtk functions
13747 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
13749 have overrides for them.
13751 tests/test_overrides_gdk.py | 7 +++++++
13752 tests/test_overrides_gtk.py | 15 +++++++++++++++
13753 2 files changed, 22 insertions(+)
13755 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
13756 Author: Martin Pitt <martinpitt@gnome.org>
13757 Date: Fri Mar 1 11:10:01 2013 +0100
13759 Fix GLib.Source ref leak upon destruction
13761 In GLib.Source.__del__(), manually unref the source if we are a
13763 As we use a static binding to create it, the GI part won't unref it
13765 leading to finalize() method not being called and the GSource
13768 https://bugzilla.gnome.org/show_bug.cgi?id=510511
13770 gi/overrides/GLib.py | 4 ++++
13771 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
13772 2 files changed, 35 insertions(+)
13774 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
13775 Author: Martin Pitt <martinpitt@gnome.org>
13776 Date: Thu Feb 28 15:08:56 2013 +0100
13778 Add performance test for Gtk.ListStore.append
13780 We are going to optimize this in various ways, so let's measure it.
13782 tests/test_overrides_gtk.py | 14 ++++++++++++++
13783 1 file changed, 14 insertions(+)
13785 commit b1ff74b085bdca72c272f019be4dd387073a991a
13786 Author: Simon Feltman <sfeltman@src.gnome.org>
13787 Date: Thu Feb 28 04:32:30 2013 -0800
13789 Optimize GValue.get/set_value by setting GValue.g_type to a local
13791 This increases performance by a factor of 2x for types later
13794 https://bugzilla.gnome.org/show_bug.cgi?id=694857
13796 gi/overrides/GObject.py | 98
13797 +++++++++++++++++++++++++------------------------
13798 1 file changed, 51 insertions(+), 47 deletions(-)
13800 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
13801 Author: Martin Pitt <martinpitt@gnome.org>
13802 Date: Thu Feb 28 11:43:47 2013 +0100
13804 Fix leak of caller-allocated boxed values
13806 Add a new "allocated_slice" argument to _pygi_boxed_new() which
13808 whether its "boxed" pointer was allocated using a slice (by giving
13810 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
13814 Use this in _pygi_marshal_to_py_interface_struct() for
13815 caller-allocated boxed
13816 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
13818 which would otherwise leak.
13820 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
13822 https://bugzilla.gnome.org/show_bug.cgi?id=691501
13824 gi/gimodule.c | 2 +-
13825 gi/pygi-argument.c | 2 +-
13826 gi/pygi-boxed.c | 14 ++++++++++----
13827 gi/pygi-boxed.h | 3 ++-
13828 gi/pygi-marshal-to-py.c | 6 ++++--
13829 gi/pygi-source.c | 3 ++-
13830 6 files changed, 20 insertions(+), 10 deletions(-)
13832 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
13833 Author: Martin Pitt <martinpitt@gnome.org>
13834 Date: Thu Feb 28 10:48:18 2013 +0100
13836 Fix memory handling of caller-allocated boxed types
13838 _pygi_marshal_to_py_interface_struct() and other places treat
13840 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
13841 _caller_alloc() and _cleanup_caller_allocates() to consider
13843 subtypes as well and use the slice allocator instead of malloc()'ing
13845 This avoids trying to free an malloc'ed struct with g_slice_free()
13847 cleans up the boxed values.
13849 The leak was produced with:
13851 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
13852 --leak-check=full --show-possibly-lost=no \
13853 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
13854 (s,e) = b.get_bounds()'
13856 gi/pygi-invoke.c | 2 +-
13857 gi/pygi-marshal-cleanup.c | 2 +-
13858 2 files changed, 2 insertions(+), 2 deletions(-)
13860 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
13861 Author: Martin Pitt <martinpitt@gnome.org>
13862 Date: Wed Feb 27 23:21:34 2013 +0100
13864 Fix cleanup of GValue arrays
13866 Commit bc1fd8 introduced a thinko: We must not change
13867 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
13869 change, and instead put the hack into
13870 _pygi_marshal_cleanup_from_py_array(),
13871 which now short-circuits
13872 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
13873 trying to release a slice which has never been allocated in
13874 _pygi_marshal_from_py_array().
13876 https://bugzilla.gnome.org/show_bug.cgi?id=672224
13878 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
13879 gi/pygi-marshal-from-py.c | 10 +++-------
13880 2 files changed, 13 insertions(+), 8 deletions(-)
13882 commit 70118c3840b10e1585d066a4be485c097cd23e99
13883 Author: Martin Pitt <martinpitt@gnome.org>
13884 Date: Wed Feb 27 21:52:43 2013 +0100
13886 Revert "Mark caller-allocated boxed structures as having a slice
13889 This is wrong after all, as it sets slice_allocated to TRUE, but
13891 corresponding size. Also, poking in internal fields from that place
13893 this should rather be fixed in gi/pygi-marshal-cleanup.c
13894 _cleanup_caller_allocates().
13896 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
13898 gi/pygi-marshal-to-py.c | 4 +---
13899 1 file changed, 1 insertion(+), 3 deletions(-)
13901 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
13902 Author: Martin Pitt <martinpitt@gnome.org>
13903 Date: Wed Feb 27 21:51:30 2013 +0100
13905 Run tests with G_SLICE=debug_blocks
13907 This will help finding regressions in slice management, like in
13908 https://bugzilla.gnome.org/show_bug.cgi?id=691501
13910 tests/Makefile.am | 3 ++-
13911 1 file changed, 2 insertions(+), 1 deletion(-)
13913 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
13914 Author: Martin Pitt <martinpitt@gnome.org>
13915 Date: Wed Feb 27 18:30:23 2013 +0100
13917 Add override helper for stripping boolean returns
13919 Introduce a gi.overrides.strip_boolean_result() helper which checks
13921 return value and if True, return the remaining arguments, otherwise
13923 default. This pattern is being used by a lot of overrides, which get
13924 significantly smaller and more consistent that way.
13926 https://bugzilla.gnome.org/show_bug.cgi?id=694431
13928 gi/overrides/Gdk.py | 27 +-------
13929 gi/overrides/Gtk.py | 156
13930 +++++++++--------------------------------------
13931 gi/overrides/__init__.py | 22 +++++++
13932 3 files changed, 53 insertions(+), 152 deletions(-)
13934 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
13935 Author: Martin Pitt <martinpitt@gnome.org>
13936 Date: Wed Feb 27 15:39:23 2013 +0100
13938 Drop obsolete pygobject_register_sinkfunc() declaration
13940 There is no definition for this any more, nor is it being used
13943 https://bugzilla.gnome.org/show_bug.cgi?id=639849
13945 gi/_gobject/pygobject-private.h | 2 --
13946 1 file changed, 2 deletions(-)
13948 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
13949 Author: Martin Pitt <martinpitt@gnome.org>
13950 Date: Wed Feb 27 13:41:55 2013 +0100
13952 Fix marshalling of C arrays with explicit length in signal arguments
13954 We need _pygi_argument_to_array() from both closure marshalling
13956 the arguments as GIArgument array) and signal closure marshalling
13958 have the arguments in a GValue array). Add an alternative
13960 parameter to _pygi_argument_to_array() so that callers can specify
13962 other depending on which type they have available.
13964 This allows us to pass on the full argument list for signal closures,
13966 _pygi_argument_to_array() can access the explicit length argument
13970 This fixes the GSettings:change-event signal.
13972 https://bugzilla.gnome.org/show_bug.cgi?id=662241
13974 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
13975 gi/pygi-argument.h | 1 +
13976 gi/pygi-closure.c | 2 +-
13977 gi/pygi-info.c | 4 ++--
13978 gi/pygi-signal-closure.c | 3 ++-
13979 tests/test_gio.py | 18 ++++++++++++++++++
13980 6 files changed, 52 insertions(+), 12 deletions(-)
13982 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
13983 Author: Martin Pitt <martinpitt@gnome.org>
13984 Date: Wed Feb 27 08:07:20 2013 +0100
13986 Fix signedness, overflow checking, and 32 bit overflow of GFlags
13988 GFlagsValue.value is a guint, so we must access it as unsigned
13990 new macros PYGLIB_PyLong_FromUnsignedLong() and
13991 PYGLIB_PyLong_AsUnsignedLong()
13992 for that purpose, and consistently use them for handling flag
13994 checked variant of these functions which produce OverflowErrors
13996 of the unchecked PYGLIB_PyLong_AS_LONG().
13998 Insert zero padding after the PyLongObject in PyGFlags and
14000 this, the directly adjacent GType field seems to confuse
14001 PyLong_FromUnsignedLong() and includes the GType into the numeric
14004 https://bugzilla.gnome.org/show_bug.cgi?id=693121
14006 gi/_glib/pyglib-python-compat.h | 8 +++++++
14007 gi/_gobject/gobjectmodule.c | 2 +-
14008 gi/_gobject/pygflags.c | 52
14009 +++++++++++++++++++++++++----------------
14010 gi/_gobject/pygobject-private.h | 10 ++++----
14011 gi/_gobject/pygobject.h | 4 ++--
14012 gi/_gobject/pygtype.c | 6 ++---
14013 tests/test_overrides_gdk.py | 15 ++++++++++++
14014 7 files changed, 67 insertions(+), 30 deletions(-)
14016 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
14017 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14018 Date: Tue Feb 26 16:15:36 2013 +0800
14020 gi/pygi-marshal-from-py.c: Fix build on Visual C++
14022 Since Visual C++ does not provide the INFINITY and NAN constants
14024 math.h (they are items defined by C99), provide fallback
14026 for it here. The INFINITY constant can be provided with HUGE_VAL,
14028 we are using INFINITY to check the value of a variable of double
14030 we could use a rather simple workaround for NAN.
14032 Also avoid declaring variables in the middle of the block.
14034 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14036 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
14037 1 file changed, 18 insertions(+), 1 deletion(-)
14039 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
14040 Author: Martin Pitt <martinpitt@gnome.org>
14041 Date: Tue Feb 26 16:42:19 2013 +0100
14043 Fix some style issues with previous patch
14045 gi/pygi-cache.c | 6 +++---
14046 1 file changed, 3 insertions(+), 3 deletions(-)
14048 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
14049 Author: Martin Pitt <martinpitt@gnome.org>
14050 Date: Tue Feb 26 10:15:22 2013 +0100
14052 Raise DeprecationWarning on deprecated callables
14054 Check if a callable is marked as deprecated and raise a
14055 DeprecationWarning in
14059 - Python hides DeprecationWarning by default, you need to enable
14061 - The deprecation message is currently not in the typelib (bug
14064 https://bugzilla.gnome.org/show_bug.cgi?id=665084
14066 gi/pygi-cache.c | 14 ++++++++++++++
14067 tests/test_gi.py | 10 ++++++++++
14068 2 files changed, 24 insertions(+)
14070 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
14071 Author: Simon Feltman <sfeltman@src.gnome.org>
14072 Date: Mon Feb 18 00:39:45 2013 -0800
14074 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
14076 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
14077 Add Gtk.Widget.window property which uses get_window()
14078 Add Gtk.TextView.scroll_to_mark with defaults
14079 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
14081 https://bugzilla.gnome.org/show_bug.cgi?id=694067
14083 gi/pygtkcompat.py | 2 ++
14084 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
14085 2 files changed, 16 insertions(+)
14087 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
14088 Author: Simon Feltman <sfeltman@src.gnome.org>
14089 Date: Sun Dec 16 02:56:06 2012 -0800
14091 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
14094 Monkey patch a keyword argument version of set_geometry_hints onto
14096 This version is compatible with pygtk and takes keywords instead of a
14097 Gdk.Geometry and Gdk.GeometryMask.
14099 https://bugzilla.gnome.org/show_bug.cgi?id=694067
14101 pygtkcompat/pygtkcompat.py | 44
14102 ++++++++++++++++++++++++++++++++++++++++++++
14103 1 file changed, 44 insertions(+)
14105 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
14106 Author: Martin Pitt <martinpitt@gnome.org>
14107 Date: Tue Feb 26 10:09:47 2013 +0100
14109 tests: Fix warning behaviour
14111 -Werror::* does not seem to do what it says on the tin, these
14113 ignored entirely apparently. Just keep -Wd to actually show all
14115 including DeprecationWarning, which is hidden by default.
14117 tests/Makefile.am | 2 +-
14118 1 file changed, 1 insertion(+), 1 deletion(-)
14120 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
14121 Author: Martin Pitt <martinpitt@gnome.org>
14122 Date: Tue Feb 26 08:49:10 2013 +0100
14124 Ship pygobject.doap for autogen.sh
14126 https://bugzilla.gnome.org/show_bug.cgi?id=694591
14129 1 file changed, 1 insertion(+)
14131 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
14132 Author: Simon Feltman <sfeltman@src.gnome.org>
14133 Date: Tue Feb 19 03:07:19 2013 -0800
14135 Fix crashes in various GObject signal handler functions
14137 Fix crashes in a large amount of signal handler functions exposed
14138 on the GObject module. This is possible now that the underlying
14139 GObject pointer is exposed to Python as a PyCapsule which marshaling
14140 can handle. The following functions in the GObject module have been
14143 signal_handler_unblock
14144 signal_handler_disconnect
14145 signal_handler_is_connected
14146 signal_stop_emission
14147 signal_stop_emission_by_name
14148 signal_has_handler_pending
14149 signal_connect_closure
14150 signal_connect_closure_by_id
14151 signal_handler_find
14152 signal_handlers_destroy
14154 https://bugzilla.gnome.org/show_bug.cgi?id=633927
14156 gi/_gobject/gobjectmodule.c | 57 ++--------------
14157 gi/overrides/GObject.py | 158
14158 ++++++++++++++++++++++++++++++++++----------
14159 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
14160 3 files changed, 247 insertions(+), 89 deletions(-)
14162 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
14163 Author: Olivier Crête <olivier.crete@collabora.com>
14164 Date: Fri Sep 14 21:29:53 2012 -0400
14166 pygi-closure: Protect the GSList prepend with the GIL
14168 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
14170 https://bugzilla.gnome.org/show_bug.cgi?id=684060
14172 gi/pygi-closure.c | 4 ++--
14173 1 file changed, 2 insertions(+), 2 deletions(-)
14175 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
14176 Author: Simon Feltman <sfeltman@src.gnome.org>
14177 Date: Wed Feb 20 01:21:32 2013 -0800
14179 generictreemodel: Fix bad default return type for get_column_type
14181 pygtkcompat/generictreemodel.py | 2 +-
14182 1 file changed, 1 insertion(+), 1 deletion(-)
14184 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
14185 Author: Martin Pitt <martinpitt@gnome.org>
14186 Date: Tue Feb 19 12:23:13 2013 +0100
14188 configure.ac: post-release bump to 3.7.91
14190 configure.ac | 2 +-
14191 1 file changed, 1 insertion(+), 1 deletion(-)
14193 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
14194 Author: Martin Pitt <martinpitt@gnome.org>
14195 Date: Tue Feb 19 12:19:35 2013 +0100
14199 NEWS | 17 +++++++++++++++++
14200 configure.ac | 2 +-
14201 2 files changed, 18 insertions(+), 1 deletion(-)
14203 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
14204 Author: Simon Feltman <sfeltman@src.gnome.org>
14205 Date: Mon Feb 18 01:46:22 2013 -0800
14207 overrides: Fix inconsistencies with drag and drop target list API
14209 Add support to Gtk.Widget.drag_dest_set_target_list and
14210 Gtk.Widget.drag_source_set_target_list to accept iterables containing
14211 mixed TargetEntry or a tuple of (target, flags, info).
14212 Add support to Gtk.TreeView.enable_model_drag_source and
14213 Gtk.TreeView.enable_model_drag_dest to accept a list of
14217 https://bugzilla.gnome.org/show_bug.cgi?id=680640
14219 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
14220 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
14221 2 files changed, 61 insertions(+), 11 deletions(-)
14223 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
14224 Author: Simon Feltman <sfeltman@src.gnome.org>
14225 Date: Mon Feb 18 03:19:34 2013 -0800
14227 tests: Add test_marshaling_object to Makefile.am
14229 tests/Makefile.am | 1 +
14230 1 file changed, 1 insertion(+)
14232 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
14233 Author: Simon Feltman <s.feltman@gmail.com>
14234 Date: Wed Aug 29 03:46:23 2012 -0700
14236 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
14238 Add Python implementation of the GenericTreeModel that was
14239 available in pygtk. The implementation attempts a better job
14240 than the original at ref counting by guaranteeing no leaks
14241 upon deletion of the model itself. Or by using the extra "node"
14242 argument to the row_deleted signal. The model is available in
14243 the pygtkcompat package directly as
14244 pygtkcompat.generictreemodel.GenericTreeModel or with as
14245 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
14247 Add file list and tree demos making use of GenericTreeModel
14250 Auto-expand gtk-demo app tree to give a better overview of
14251 the demos available.
14253 https://bugzilla.gnome.org/show_bug.cgi?id=682933
14255 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
14256 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
14257 demos/gtk-demo/gtk-demo.py | 2 +-
14258 gi/pygtkcompat.py | 2 +-
14259 pygtkcompat/Makefile.am | 1 +
14260 pygtkcompat/generictreemodel.py | 420
14261 +++++++++++++++++++++
14262 pygtkcompat/pygtkcompat.py | 3 +
14263 tests/Makefile.am | 1 +
14264 tests/test_generictreemodel.py | 406
14265 ++++++++++++++++++++
14266 9 files changed, 1346 insertions(+), 2 deletions(-)
14268 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
14269 Author: Simon Feltman <sfeltman@src.gnome.org>
14270 Date: Mon Feb 18 02:54:14 2013 -0800
14272 overrides: Add support for iterables besides tuples for TreePath
14275 Allow Gtk.TreePath to accept any iterable for creation of the path.
14277 https://bugzilla.gnome.org/show_bug.cgi?id=682933
14279 gi/overrides/Gtk.py | 2 +-
14280 1 file changed, 1 insertion(+), 1 deletion(-)
14282 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
14283 Author: Simon Feltman <sfeltman@src.gnome.org>
14284 Date: Fri Feb 15 22:56:29 2013 -0800
14286 Unify Python callable to GClosure GI marshaling code
14288 Add pygi_marshal_from_py_gclosure which can be used for direct
14290 call args and vfunc out args.
14292 https://bugzilla.gnome.org/show_bug.cgi?id=693405
14294 gi/pygi-argument.c | 14 +-----------
14295 gi/pygi-marshal-from-py.c | 55
14296 ++++++++++++++++++++++++++++-------------------
14297 gi/pygi-marshal-from-py.h | 3 +++
14298 3 files changed, 37 insertions(+), 35 deletions(-)
14300 commit 9e47afe459df942d9ffc4f71b39f1443976293df
14301 Author: Simon Feltman <sfeltman@src.gnome.org>
14302 Date: Fri Feb 15 20:56:12 2013 -0800
14304 Unify Python object to GValue GI marshaling code
14306 Add pygi_marshal_from_py_g_value which can be used for direct
14308 call args and vfunc out args. The new method also adds an
14310 parameter that will be used to fix leaks in the future.
14312 https://bugzilla.gnome.org/show_bug.cgi?id=693405
14314 gi/pygi-argument.c | 43 +++++++--------------------
14315 gi/pygi-marshal-from-py.c | 74
14316 ++++++++++++++++++++++++++++++++---------------
14317 gi/pygi-marshal-from-py.h | 5 ++++
14318 3 files changed, 65 insertions(+), 57 deletions(-)
14320 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
14321 Author: Simon Feltman <sfeltman@src.gnome.org>
14322 Date: Fri Feb 15 23:07:57 2013 -0800
14324 Rename pygi_marshal_from_py_object to make it more explicit
14326 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
14327 to make it more explicit and give consistency with future refactoring.
14329 https://bugzilla.gnome.org/show_bug.cgi?id=693405
14331 gi/pygi-argument.c | 2 +-
14332 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
14333 gi/pygi-marshal-from-py.h | 6 +++---
14334 3 files changed, 17 insertions(+), 13 deletions(-)
14336 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
14337 Author: Niklas Koep <niklas.koep@gmail.com>
14338 Date: Fri Feb 15 21:23:01 2013 -0800
14340 Prefix __module__ attribute of function objects with gi.repository
14342 This allows gi module methods to work with pydoc and help().
14343 Additionally correct typo in two docstrings of the same module.
14345 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
14347 https://bugzilla.gnome.org/show_bug.cgi?id=693839
14349 gi/overrides/__init__.py | 3 ++-
14350 gi/types.py | 6 +++---
14351 2 files changed, 5 insertions(+), 4 deletions(-)
14353 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
14354 Author: Jonathan Ballet <jon@multani.info>
14355 Date: Thu Feb 14 07:50:02 2013 +0100
14357 configure.ac: only enable code coverage when available
14359 When building with an older gnome-common which does not yet provide
14361 coverage support, disable it instead of breaking the configure script.
14363 https://bugzilla.gnome.org/show_bug.cgi?id=693328
14365 configure.ac | 10 +++++++++-
14366 1 file changed, 9 insertions(+), 1 deletion(-)
14368 commit 42cbff60e2032f715d9be6ab280954211899e03c
14369 Author: Jonathan Ballet <jon@multani.info>
14370 Date: Tue Feb 12 23:03:00 2013 +0100
14372 Correctly set properties on object with statically defined properties
14374 Fix failures in GObject.Object.set_properties() when used with
14375 statically defined properties:
14377 * Calling the method was raising a "SystemError: error return without
14378 exception set" since `result` was (most of the time) still NULL at the
14379 end of pygobject_set_properties()
14381 * Calling the method with several properties would only set one of
14382 the properties, since the function was exiting too early.
14384 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
14386 https://bugzilla.gnome.org/show_bug.cgi?id=693618
14388 gi/_gobject/pygobject.c | 19 +++++++++++--------
14389 tests/test_gi.py | 6 ++++++
14390 2 files changed, 17 insertions(+), 8 deletions(-)
14392 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
14393 Author: Martin Pitt <martinpitt@gnome.org>
14394 Date: Mon Feb 11 18:08:37 2013 +0100
14396 autogen.sh: Use gnome-autogen.sh
14398 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
14400 in a much better error message when gnome-common is not installed,
14403 https://bugzilla.gnome.org/show_bug.cgi?id=693328
14405 autogen.sh | 30 +++++++++++++++++-------------
14406 1 file changed, 17 insertions(+), 13 deletions(-)
14408 commit c107bb1f9275a748b494d3f32818f227e07cadf0
14409 Author: Christoph Reiter <christoph.reiter@gmx.at>
14410 Date: Mon Feb 11 10:07:47 2013 +0100
14412 GTK tests: Add and use context manager for realized widgets
14414 https://bugzilla.gnome.org/show_bug.cgi?id=693377
14416 tests/test_overrides_gtk.py | 91
14417 +++++++++++++++++++++++++--------------------
14418 1 file changed, 50 insertions(+), 41 deletions(-)
14420 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
14421 Author: Martin Pitt <martinpitt@gnome.org>
14422 Date: Mon Feb 11 08:55:19 2013 +0100
14424 _pygi_marshal_from_py_array: Fix uninitialized variable
14426 gi/pygi-marshal-from-py.c | 2 +-
14427 1 file changed, 1 insertion(+), 1 deletion(-)
14429 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
14430 Author: Christoph Reiter <christoph.reiter@gmx.at>
14431 Date: Mon Feb 11 08:34:42 2013 +0100
14433 Skip some vfunc tests with gi 1.34
14435 https://bugzilla.gnome.org/show_bug.cgi?id=693374
14437 tests/test_object_marshaling.py | 14 ++++++++++++++
14438 1 file changed, 14 insertions(+)
14440 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
14441 Author: Simon Feltman <sfeltman@src.gnome.org>
14442 Date: Sun Feb 10 13:40:45 2013 -0800
14444 Remove workaround for g_struct_info_get_size reporting incorrect size
14446 Remove workaround for g_struct_info_get_size reporting incorrect size
14447 for boxed GValues. Verified this now returns the correct size of 24.
14449 https://bugzilla.gnome.org/show_bug.cgi?id=622711
14451 gi/pygi-boxed.c | 31 +++++++++++++------------------
14452 1 file changed, 13 insertions(+), 18 deletions(-)
14454 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
14455 Author: Simon Feltman <sfeltman@src.gnome.org>
14456 Date: Mon Feb 4 20:50:10 2013 -0800
14458 Fix reference leaks with transient floating objects
14460 Unify and refactor caller and callee GObject argument marshalers.
14461 Combine code from the large switch statement used to marshal
14462 arguments to and from vfuncs/closures with the marshalers used
14463 for direct calls to gi functions. This fixes a reference leak
14464 when marshalling GObjects to Python with transfer=full due to
14465 the diverging code paths.
14466 Replace ability in gobject_new_full to optionally sink objects
14467 with ability to optionaly "steal" objects. This fits the premise
14468 that binding layers should always sink objects initially. The
14469 steal argument is then used for marshalling arguments which are
14471 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
14473 https://bugzilla.gnome.org/show_bug.cgi?id=687522
14475 gi/_gobject/gobjectmodule.c | 10 +++++--
14476 gi/_gobject/pygobject-private.h | 2 +-
14477 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
14478 gi/_gobject/pygobject.h | 8 ++++--
14479 gi/pygi-argument.c | 52 +++++++++++++++++------------------
14480 gi/pygi-marshal-from-py.c | 61
14481 +++++++++++++++++++++++++++++++++++++----
14482 gi/pygi-marshal-from-py.h | 6 ++++
14483 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
14484 gi/pygi-marshal-to-py.h | 5 ++++
14485 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
14486 10 files changed, 181 insertions(+), 97 deletions(-)
14488 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
14489 Author: Simon Feltman <sfeltman@src.gnome.org>
14490 Date: Wed Feb 6 12:56:44 2013 -0800
14492 tests: Fix spelling mistakes in new vfunc object marshalling tests
14494 tests/test_object_marshaling.py | 12 ++++++------
14495 1 file changed, 6 insertions(+), 6 deletions(-)
14497 commit cd96fd8b8e10add9890f36ec237bb78548de7002
14498 Author: Martin Pitt <martinpitt@gnome.org>
14499 Date: Tue Feb 5 07:53:38 2013 +0100
14501 configure.ac: post-release bump to 3.7.6
14503 configure.ac | 2 +-
14504 1 file changed, 1 insertion(+), 1 deletion(-)
14506 commit 92b1404e61f46348168f32720eff4a482531e5e3
14507 Author: Martin Pitt <martinpitt@gnome.org>
14508 Date: Tue Feb 5 07:46:46 2013 +0100
14513 configure.ac | 2 +-
14514 2 files changed, 4 insertions(+), 1 deletion(-)
14516 commit a3a30559240077194f23c4651d6f382fa59b7d63
14517 Author: Simon Feltman <sfeltman@src.gnome.org>
14518 Date: Mon Feb 4 15:16:37 2013 -0800
14520 Fix API break with pygobject.h
14522 Move pygobject_new_full after everything in the public API table.
14523 This fixes a break that went in along with bug 675726.
14525 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14527 gi/_gobject/gobjectmodule.c | 5 +++--
14528 gi/_gobject/pygobject.h | 2 +-
14529 2 files changed, 4 insertions(+), 3 deletions(-)
14531 commit b3ca7e27494c35620995840d777037a097082661
14532 Author: Martin Pitt <martinpitt@gnome.org>
14533 Date: Mon Feb 4 19:53:26 2013 +0100
14535 configure.ac: post-release bump to 3.7.6
14537 configure.ac | 2 +-
14538 1 file changed, 1 insertion(+), 1 deletion(-)
14540 commit 77f638411314218748f349b337a36e2864eed1f4
14541 Author: Martin Pitt <martinpitt@gnome.org>
14542 Date: Mon Feb 4 19:37:14 2013 +0100
14546 NEWS | 24 ++++++++++++++++++++++++
14547 1 file changed, 24 insertions(+)
14549 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
14550 Author: Simon Feltman <sfeltman@src.gnome.org>
14551 Date: Sun Feb 3 23:56:14 2013 -0800
14553 Fix pointer cast warning that was missed in bug 675726
14555 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14557 gi/_gobject/pygobject.h | 2 +-
14558 1 file changed, 1 insertion(+), 1 deletion(-)
14560 commit b31d8a952cd57dc92b06a381e054199660a2d570
14561 Author: Simon Feltman <sfeltman@src.gnome.org>
14562 Date: Thu Jan 31 02:35:36 2013 -0800
14564 Move various signal methods from static bindings to gi and python
14566 Move disconnect, handler_is_connected, handler_block, handler_unblock,
14567 and stop_emission from static to gi python overrides.
14569 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14571 gi/_gobject/pygobject.c | 90
14572 -------------------------------------------------
14573 gi/overrides/GObject.py | 44 +++++++++++++++++-------
14574 tests/test_signal.py | 19 ++++++-----
14575 3 files changed, 42 insertions(+), 111 deletions(-)
14577 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
14578 Author: Paolo Borelli <pborelli@gnome.org>
14579 Date: Fri Feb 1 21:09:26 2013 +0100
14581 GLib overrides: Support unpacking 'maybe' variants
14583 Automatically unpack 'maybe' variants to None or to their actual value
14584 as we do for other kind of variants
14586 https://bugzilla.gnome.org/show_bug.cgi?id=693032
14588 gi/overrides/GLib.py | 5 +++++
14589 tests/test_overrides_glib.py | 8 ++++++++
14590 2 files changed, 13 insertions(+)
14592 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
14593 Author: Mike Gorse <mgorse@suse.com>
14594 Date: Mon Jan 21 16:45:52 2013 -0600
14596 Fix ref count leak when creating pygobject wrappers for input args
14598 Only sink input references for closures and vfuncs when transfer is
14599 everything. This fixes cases where incoming floating references for
14600 callbacks need to maintain their floating state throughout the
14601 callback so they don't leak a strong reference. Re-introduce a
14602 working "sink" argument to pygobject_new_full which allows for this.
14603 Change existing callers to always sink in order maintain behavior.
14605 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
14607 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14609 gi/_gobject/gobjectmodule.c | 5 +--
14610 gi/_gobject/pygobject.c | 7 ++--
14611 gi/_gobject/pygobject.h | 2 ++
14612 gi/pygi-argument.c | 13 +++----
14613 tests/test_object_marshaling.py | 76
14614 +++++++++++++++++++++++++++++++++++++----
14615 5 files changed, 85 insertions(+), 18 deletions(-)
14617 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
14618 Author: Simon Feltman <sfeltman@src.gnome.org>
14619 Date: Thu Jan 31 01:50:44 2013 -0800
14621 Add tests for signal stop_emission, disconnect, and
14622 handler_is_connected
14624 Add tests for methods which will be moving from static bindings to gi
14625 by using the new __gpointer__ attribute of GObject.
14627 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14629 tests/test_signal.py | 51
14630 ++++++++++++++++++++++++++++++++++++++++++++++++++-
14631 1 file changed, 50 insertions(+), 1 deletion(-)
14633 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
14634 Author: Simon Feltman <sfeltman@src.gnome.org>
14635 Date: Wed Jan 30 21:37:07 2013 -0800
14637 Add __gpointer__ property to GObject static binding
14639 Add access to the underlying C GObject pointer by wrapping it in a
14640 PyCapsule/PyCPointer and exposing it as __gpointer__.
14641 Add special case marshaling for gi parameters annotated as gpointer
14642 to accept a PyCapsule and extract the underlying pointer as the arg.
14643 This allows usage of methods like GObject.signal_handler_disconnect
14644 which we can start replacing the static bindings with.
14646 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14648 gi/_gobject/pygobject.c | 11 +++++++++--
14649 gi/pygi-marshal-from-py.c | 6 +++++-
14650 2 files changed, 14 insertions(+), 3 deletions(-)
14652 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
14653 Author: Simon Feltman <sfeltman@src.gnome.org>
14654 Date: Sun Jan 27 01:22:37 2013 -0800
14656 Prefix names of typeless enums and flags for GType registration
14658 Prefix names given to g_flags_register_static and
14659 g_enum_register_static
14660 with "Py". This avoids conflicts with GTypes of the same name being
14661 registered later by a library which does not provide a "get-type"
14664 https://bugzilla.gnome.org/show_bug.cgi?id=692515
14666 gi/gimodule.c | 10 ++++++++--
14667 tests/test_gi.py | 4 ++--
14668 2 files changed, 10 insertions(+), 4 deletions(-)
14670 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
14671 Author: Simon Feltman <sfeltman@src.gnome.org>
14672 Date: Wed Jan 30 04:35:32 2013 -0800
14674 Add tests for vfunc object arguments and returns
14676 Add tests which use different combinations of floating, transfer full,
14677 transfer none, and held wrapper as in, out, or return arguments
14679 Most of these are marked as skip or expectedFailure due to various
14681 noted on the tests.
14683 https://bugzilla.gnome.org/show_bug.cgi?id=687522
14685 gi/overrides/GObject.py | 15 +-
14686 tests/test_object_marshaling.py | 540
14687 ++++++++++++++++++++++++++++++++++++++++
14688 2 files changed, 550 insertions(+), 5 deletions(-)
14690 commit 73a83186329ede7702501d5bc49df269482461e4
14691 Author: Paolo Borelli <pborelli@gnome.org>
14692 Date: Wed Jan 30 17:48:12 2013 +0100
14694 Cosmetic fix to last patch
14696 gi/pygi-argument.c | 7 +++++--
14697 1 file changed, 5 insertions(+), 2 deletions(-)
14699 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
14700 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14701 Date: Fri Jan 25 13:05:18 2013 +0800
14703 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
14705 Drop the array forward static declarations. They are not necessary
14709 Also move declarations of variables to the top of their respective
14712 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14714 gi/pygi-info.c | 18 ++++++++++--------
14715 gi/pygi-repository.c | 2 --
14716 2 files changed, 10 insertions(+), 10 deletions(-)
14718 commit 2e7c458ef6377a872043634b47737ef12eed744a
14719 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14720 Date: Fri Jan 25 13:00:48 2013 +0800
14722 Move variable declaration to top of blocks (C99ism)
14724 Move variable declarations to the top of their respective blocks,
14726 code will build under C89 compilers such as Visual C++.
14728 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14730 gi/pygi-argument.c | 10 ++++++----
14731 gi/pygi-closure.c | 23 +++++++++++++++--------
14732 gi/pygi-invoke.c | 3 ++-
14733 gi/pygi-marshal-cleanup.c | 3 ++-
14734 gi/pygi-property.c | 3 ++-
14735 5 files changed, 27 insertions(+), 15 deletions(-)
14737 commit 20fc5aa7514215fc7807adceb603d17f7943304a
14738 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14739 Date: Fri Jan 25 12:58:26 2013 +0800
14741 gi/pygobject-external.h: Remove GCCism
14743 We can use G_GNUC_UNUSED from GLib that does the same purpose of
14744 __attribute__ ( (unused)) when we are using a GCC that provides this.
14746 The GLib headers that defines that macro should have already been
14748 before this header is included (due to use of gboolean).
14750 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14752 gi/pygobject-external.h | 2 +-
14753 1 file changed, 1 insertion(+), 1 deletion(-)
14755 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
14756 Author: Martin Pitt <martinpitt@gnome.org>
14757 Date: Wed Jan 30 14:59:11 2013 +0100
14759 tests: Update test_double() after e65c1248
14761 Commit e65c1248 introduced support for NaN and ±inf as valid
14763 rendering the "expect ValueError on 2*double" check broken. Just
14766 tests/test_everything.py | 1 -
14767 1 file changed, 1 deletion(-)
14769 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
14770 Author: Martin Pitt <martinpitt@gnome.org>
14771 Date: Wed Jan 23 07:14:16 2013 +0100
14773 Do not immediately initialize Gdk and Gtk on import
14775 Raising an exception if Gdk/Gtk cannot be imported makes it
14777 merely import a module for e. g. nosetests without actually running
14780 Programs who want to provide a proper error message should check
14781 Gtk.initialized explicitly after importing. Check initialized
14783 Window.__init__() instead to provide a reasonably early error message
14787 https://bugzilla.gnome.org/show_bug.cgi?id=692300
14789 gi/overrides/Gdk.py | 2 --
14790 gi/overrides/Gtk.py | 5 +++--
14791 2 files changed, 3 insertions(+), 4 deletions(-)
14793 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
14794 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14795 Date: Fri Jan 25 12:49:18 2013 +0800
14797 gi/overrides/Glib.py: Fix running on Windows/non-Unix
14799 The definition of self._signal_source uses a Unix-specific GLib
14801 does not exist or have a direct equivilant on Windows.
14803 Only define and use that variable when we aren't on Windows.
14805 gi/overrides/GLib.py | 18 ++++++++++--------
14806 1 file changed, 10 insertions(+), 8 deletions(-)
14808 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
14809 Author: Martin Pitt <martinpitt@gnome.org>
14810 Date: Wed Jan 23 14:56:02 2013 +0100
14812 Accept ±inf and NaN as float and double values
14814 Also fix the broken error message when a float value is out of range.
14815 PyErr_Format() does not support float macros.
14817 https://bugzilla.gnome.org/show_bug.cgi?id=692381
14819 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
14820 tests/test_gobject.py | 14 ++++++++++++++
14821 2 files changed, 33 insertions(+), 18 deletions(-)
14823 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
14824 Author: Martin Pitt <martinpitt@gnome.org>
14825 Date: Wed Jan 23 14:28:42 2013 +0100
14827 Fix repr() of GLib.Variant
14829 When using a standard constructor like GLib.Variant.new_*(), the
14831 not have a format_string property, and previously repr() would
14833 to get_type_string() instead.
14835 Also drop the unintended type annotations in repr().
14837 gi/overrides/GLib.py | 6 +++++-
14838 tests/test_overrides_glib.py | 15 ++++++++++++++-
14839 2 files changed, 19 insertions(+), 2 deletions(-)
14841 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
14842 Author: Martin Pitt <martinpitt@gnome.org>
14843 Date: Wed Jan 23 14:14:29 2013 +0100
14845 Fix gtk-demo for Python 3
14847 It was crashing with
14849 package = __import__(packagename, globals(), locals(),
14851 ValueError: level must be >= 0
14853 Using level zero works with both Python 2 and 3.
14855 demos/gtk-demo/gtk-demo.py | 2 +-
14856 1 file changed, 1 insertion(+), 1 deletion(-)
14858 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
14859 Author: Colin Walters <walters@verbum.org>
14860 Date: Tue Jan 22 10:49:57 2013 -0500
14862 build: Add autogen.sh to EXTRA_DIST
14864 So downstreams that patch the autotools can use it.
14867 1 file changed, 1 insertion(+)
14869 commit ed7fb99efa81854d947ae548d41a03f5275c5884
14870 Author: Martin Pitt <martinpitt@gnome.org>
14871 Date: Thu Jan 17 08:23:02 2013 +0100
14873 Define GObject.TYPE_VALUE gtype constant
14875 gi/overrides/GObject.py | 4 +++-
14876 tests/test_gobject.py | 4 ++++
14877 2 files changed, 7 insertions(+), 1 deletion(-)
14879 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
14880 Author: Olivier Crête <olivier.crete@collabora.com>
14881 Date: Mon Sep 17 15:37:04 2012 -0400
14883 gobject: Go through introspection on property setting
14885 Consider introspected properties in object.set_property().
14887 https://bugzilla.gnome.org/show_bug.cgi?id=684062
14889 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
14890 tests/test_properties.py | 13 ++++++++++---
14891 2 files changed, 27 insertions(+), 4 deletions(-)
14893 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
14894 Author: Mike Gorse <mgorse@suse.com>
14895 Date: Tue Jan 15 20:04:46 2013 -0600
14897 Clean up caller-allocated GValues and their memory
14899 When space for a GValue is allocated by the caller (as in
14900 gtk_tree_model_get_value), we need to free the space allocated for the
14901 value along with its contents. The GValue is not needed after
14902 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
14903 have it unset the value and deallocate the memory.
14905 https://bugzilla.gnome.org/show_bug.cgi?id=691820
14907 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
14908 1 file changed, 18 insertions(+), 2 deletions(-)
14910 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
14911 Author: Dmitry Shachnev <mitya57@ubuntu.com>
14912 Date: Wed Jan 16 13:44:42 2013 +0400
14914 tests: define correct unittest.skipIf for python 2.6
14916 tests/runtests.py | 2 +-
14917 1 file changed, 1 insertion(+), 1 deletion(-)
14919 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
14920 Author: Martin Pitt <martinpitt@gnome.org>
14921 Date: Wed Jan 16 09:17:13 2013 +0100
14923 tests: More robust tree view realization
14925 With current GNOME git head, the Gtk.TreeViews were not realized
14927 more to receive property values. Put them into a Gtk.Dialog now and
14929 ensure that they are realized.
14931 tests/test_overrides_gtk.py | 16 ++++++++++------
14932 1 file changed, 10 insertions(+), 6 deletions(-)
14934 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
14935 Author: Martin Pitt <martinpitt@gnome.org>
14936 Date: Tue Jan 15 10:42:49 2013 +0100
14938 Drop deprecated g_thread_create()
14940 Replace with g_thread_new(). This is available with glib >= 2.32,
14942 already require >= 2.34.
14944 tests/test-thread.c | 3 +--
14945 1 file changed, 1 insertion(+), 2 deletions(-)
14947 commit 98504273dead9eade6e53c2297bcaec7bea6265a
14948 Author: Martin Pitt <martinpitt@gnome.org>
14949 Date: Tue Jan 15 10:37:52 2013 +0100
14951 Drop usage of deprecated GStaticPrivate
14953 Replace with GPrivate.
14955 gi/_gobject/gobjectmodule.c | 6 +++---
14956 1 file changed, 3 insertions(+), 3 deletions(-)
14958 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
14959 Author: Martin Pitt <martinpitt@gnome.org>
14960 Date: Tue Jan 15 10:29:47 2013 +0100
14962 Don't call g_type_init() with glib >= 2.35.x
14964 This fixes a deprecation warning.
14966 gi/_gobject/gobjectmodule.c | 2 ++
14967 1 file changed, 2 insertions(+)
14969 commit 206e736380ba798c68de09f661d75c8e27451117
14970 Author: Martin Pitt <martinpitt@gnome.org>
14971 Date: Tue Jan 15 09:47:11 2013 +0100
14973 Use GNOME_COMPILE_WARNINGS from gnome-common
14975 As we are now using gnome-common anyway for the code coverage macro,
14977 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
14981 This also enables -Wstrict-prototypes.
14983 configure.ac | 14 ++++----------
14984 1 file changed, 4 insertions(+), 10 deletions(-)
14986 commit 137679426ff39507e15f08e9e6428d851fee06b7
14987 Author: Martin Pitt <martinpitt@gnome.org>
14988 Date: Tue Jan 15 09:46:01 2013 +0100
14990 Fix function prototypes and static functions
14992 These cause errors/warnings with -Wstrict-prototypes.
14994 gi/_glib/pyglib-python-compat.h | 2 ++
14995 gi/pygi-foreign.c | 2 +-
14996 gi/pygi-marshal-from-py.c | 4 ++--
14997 gi/pygi-marshal-to-py.c | 4 ++--
14998 gi/pygi-source.c | 2 +-
14999 gi/pygi-source.h | 2 +-
15000 6 files changed, 9 insertions(+), 7 deletions(-)
15002 commit d47927f1701a11aec8566425f22688c5df73d7f2
15003 Author: Martin Pitt <martinpitt@gnome.org>
15004 Date: Mon Jan 14 17:38:23 2013 +0100
15006 configure.ac: post-release bump to 3.7.5
15008 configure.ac | 2 +-
15009 1 file changed, 1 insertion(+), 1 deletion(-)
15011 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
15012 Author: Martin Pitt <martinpitt@gnome.org>
15013 Date: Mon Jan 14 17:30:48 2013 +0100
15017 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
15018 1 file changed, 38 insertions(+)
15020 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
15021 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
15022 Date: Tue Dec 4 15:45:00 2012 +0200
15024 Allow setting values through GtkTreeModelFilter
15026 Previously, trying to set a value through filter throwed an exception
15028 model has no set_value() method. You had to first retrieve the
15030 model and set value to it.
15032 https://bugzilla.gnome.org/show_bug.cgi?id=689624
15034 gi/overrides/Gtk.py | 5 +++++
15035 tests/test_overrides_gtk.py | 11 +++++++++++
15036 2 files changed, 16 insertions(+)
15038 commit b092630efc691a6f7ae94ae896193254f5a961a6
15039 Author: Martin Pitt <martinpitt@gnome.org>
15040 Date: Mon Jan 14 12:37:18 2013 +0100
15042 tests: Add (failing) test case for GParamSpec arguments
15045 https://bugzilla.gnome.org/show_bug.cgi?id=682355
15047 tests/test_gi.py | 9 +++++++++
15048 1 file changed, 9 insertions(+)
15050 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
15051 Author: Martin Pitt <martinpitt@gnome.org>
15052 Date: Mon Jan 14 12:20:27 2013 +0100
15054 tests: Skip struct string member tests with g-i 1.34
15056 We still support building against gobject-introspection 1.34, so
15058 which do not work with that version yet.
15060 tests/test_gi.py | 8 ++++++++
15061 1 file changed, 8 insertions(+)
15063 commit f9429192cb1002725a11a75a7b8f9300375b9caf
15064 Author: Martin Pitt <martinpitt@gnome.org>
15065 Date: Mon Jan 14 12:15:27 2013 +0100
15067 Support GParamSpec signal arguments from Python
15069 In pyg_value_from_pyobject(), recognize both the real GI
15070 GObject.ParamSpec type
15071 as well as the statically wrapped _gobject.GParamSpec type.
15073 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
15075 https://bugzilla.gnome.org/show_bug.cgi?id=683099
15077 gi/_gobject/pygtype.c | 6 +++++-
15078 tests/test_signal.py | 12 ++++++++++++
15079 tests/testhelpermodule.c | 13 +++++++++++++
15080 3 files changed, 30 insertions(+), 1 deletion(-)
15082 commit 99f72925c7de76611f7592bce9d8217a9ff46809
15083 Author: Martin Pitt <martinpitt@gnome.org>
15084 Date: Mon Jan 14 11:48:11 2013 +0100
15086 pygobject_emit(): Fix cleanup on error
15088 Dot not try to unset GValues which have not been initialized yet,
15090 conversion fails for a parameter.
15092 gi/_gobject/pygobject.c | 8 ++++----
15093 1 file changed, 4 insertions(+), 4 deletions(-)
15095 commit acef1d3266d11b2465d61185a55526df879a5c62
15096 Author: Simon Feltman <sfeltman@src.gnome.org>
15097 Date: Mon Dec 31 19:01:57 2012 -0800
15099 Add signal emission methods to TreeModel which coerce the path
15102 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
15103 row_deleted, and rows_reordered methods to accept python iterables as
15104 the path parameter. This is for compatibility with pygtk and
15106 with the rest of the TreeModel and TreePath overrides.
15108 https://bugzilla.gnome.org/show_bug.cgi?id=682933
15110 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
15111 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
15112 2 files changed, 55 insertions(+), 3 deletions(-)
15114 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
15115 Author: Martin Pitt <martinpitt@gnome.org>
15116 Date: Mon Jan 14 10:36:36 2013 +0100
15118 Simplify overrides and tests using the new GObject.Value override
15120 The previous commit added support for constructing a GObject.Value
15122 GType and Python object conversion. Use this to simplify the Gtk
15124 the tests that construct GValues.
15126 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
15128 gi/overrides/Gtk.py | 88
15129 +++------------------------------------------
15130 tests/test_gi.py | 26 +++++---------
15131 tests/test_overrides_gtk.py | 2 +-
15132 tests/test_signal.py | 12 ++-----
15133 4 files changed, 17 insertions(+), 111 deletions(-)
15135 commit f62b98398177991bfdbe0b6753342e79e6cf170a
15136 Author: Bastian Winkler <buz@netbuz.org>
15137 Date: Mon Jan 14 10:26:08 2013 +0100
15139 Add override for GValue
15141 Override GValue with a custom constructor and set_value()/get_value()
15142 methods. This allows you to call
15144 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
15148 >>> value = GObject.Value()
15149 >>> value.init(GObject.TYPE_FLOAT)
15150 >>> value.set_float(42.23)
15152 This is especially useful for overrides that need to convert a Python
15153 value to a expected type like G_TYPE_FLOAT.
15155 https://bugzilla.gnome.org/show_bug.cgi?id=677473
15157 gi/overrides/GObject.py | 127
15158 +++++++++++++++++++++++++++++++++++++++++++++++-
15159 tests/test_gobject.py | 47 +++++++++++++++++-
15160 2 files changed, 172 insertions(+), 2 deletions(-)
15162 commit dc3d21173b75232f7ea0b9913f7309486456a69d
15163 Author: Mike Gorse <mgorse@suse.com>
15164 Date: Thu Jan 10 15:48:30 2013 -0600
15166 Mark caller-allocated boxed structures as having a slice allocated
15168 When a C function takes a pointer and fills it with a boxed structure
15170 gtk_tree_store_insert_with_values), pygi should deallocate the slice
15172 box is no longer being used.
15174 https://bugzilla.gnome.org/show_bug.cgi?id=699501
15176 gi/pygi-marshal-to-py.c | 4 +++-
15177 1 file changed, 3 insertions(+), 1 deletion(-)
15179 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
15180 Author: Olivier Crête <olivier.crete@collabora.com>
15181 Date: Fri Sep 14 21:31:32 2012 -0400
15183 pygi-property: Support boxed GSList/GList types
15185 Note that this does not yet work for construct properties.
15187 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15189 https://bugzilla.gnome.org/show_bug.cgi?id=684059
15191 gi/pygi-property.c | 10 ++++++++--
15192 tests/test_gi.py | 21 +++++++++++++++++++++
15193 2 files changed, 29 insertions(+), 2 deletions(-)
15195 commit 074f10d815453e58f4bee2f440c5db799add3876
15196 Author: Martin Pitt <martinpitt@gnome.org>
15197 Date: Mon Jan 14 07:48:31 2013 +0100
15199 test_gio: Fix for Python 2
15201 Python 2 does not yet take an "encoding" argument for str(), while
15203 requires it. Use a less fancy static test string instead.
15205 tests/test_gio.py | 2 +-
15206 1 file changed, 1 insertion(+), 1 deletion(-)
15208 commit 734979d0c8317201148a7e94a323225fba2d1635
15209 Author: Martin Pitt <martinpitt@gnome.org>
15210 Date: Mon Jan 14 07:40:10 2013 +0100
15212 tests: Add missing backwards compat methods for Python 2.6
15214 Define skipIf(), assertLess(), and assertLessEqual() for running
15218 https://bugzilla.gnome.org/show_bug.cgi?id=691646
15220 tests/runtests.py | 17 +++++++++++++++++
15221 1 file changed, 17 insertions(+)
15223 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
15224 Author: Martin Pitt <martinpitt@gnome.org>
15225 Date: Mon Jan 14 07:34:46 2013 +0100
15227 tests: Stop using assertSequenceEqual()
15229 assertSequenceEqual() does not yet exist in Python 2.6, and is
15231 either as assertEqual() on sequences automatically does list
15234 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
15236 tests/test_gtype.py | 6 ++----
15237 tests/test_signal.py | 6 ++----
15238 2 files changed, 4 insertions(+), 8 deletions(-)
15240 commit 0a5587b6a56d417a6703e342f153596f08cd5889
15241 Author: Simon Feltman <sfeltman@src.gnome.org>
15242 Date: Sun Jan 13 18:19:51 2013 -0800
15244 Allow setting TreeModel values to None
15246 Change TreeModel.set_value to use an empty but initialized GValue when
15247 None is used as the value argument. This allows clearing of cell data
15248 which was not accessible due to auto-coercion.
15250 https://bugzilla.gnome.org/show_bug.cgi?id=684094
15252 gi/overrides/Gtk.py | 11 ++++++++---
15253 tests/test_overrides_gtk.py | 8 ++++++++
15254 2 files changed, 16 insertions(+), 3 deletions(-)
15256 commit 5ae129da436793478750f0dc9427a174a980e10b
15257 Author: Mike Gorse <mgorse@suse.com>
15258 Date: Thu Jan 10 16:42:17 2013 -0600
15260 Set clean-up handler for marshalled arrays
15262 Arrays did not have a cleanup handler set in some cases, resulting
15265 https://bugzilla.gnome.org/show_bug.cgi?id=691509
15267 gi/pygi-cache.c | 1 +
15268 1 file changed, 1 insertion(+)
15270 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
15271 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
15272 Date: Fri Jan 11 15:41:27 2013 +0100
15274 Support setting string fields in structs
15276 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15278 https://bugzilla.gnome.org/show_bug.cgi?id=678401
15280 gi/pygi-info.c | 3 ++-
15281 tests/test_gi.py | 16 ++++++++++++++++
15282 2 files changed, 18 insertions(+), 1 deletion(-)
15284 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
15285 Author: Martin Pitt <martinpitt@gnome.org>
15286 Date: Fri Jan 11 14:58:44 2013 +0100
15288 Re-enable test_gi.TestPropertiesObject.test_char test
15290 The gobject-introspection bug got fixed:
15291 https://bugzilla.gnome.org/show_bug.cgi?id=691524
15293 tests/test_gi.py | 14 +++-----------
15294 1 file changed, 3 insertions(+), 11 deletions(-)
15296 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
15297 Author: Martin Pitt <martinpitt@gnome.org>
15298 Date: Fri Jan 11 09:46:56 2013 +0100
15300 tests: Re-enable test_callback_scope_call_array() check
15302 Drop the expected failure from test_callback_scope_call_array()
15304 the explicit array length arguments. While it would look cleaner to
15306 them, it is probably not worth breaking the API for this.
15308 tests/test_everything.py | 9 +++------
15309 1 file changed, 3 insertions(+), 6 deletions(-)
15311 commit 609636424b5f9b659e99a4bb53a48c165187c430
15312 Author: Martin Pitt <martinpitt@gnome.org>
15313 Date: Fri Jan 11 09:13:36 2013 +0100
15315 Permit plain integers for "gchar" values
15317 Similar to guchar/guint8, allow plain integers (withing correct
15319 values for gchar/gint8 types.
15321 This is covered by the test_gi.TestPropertiesObject.test_char
15323 removing the "expected failure" flag.
15325 gi/_gobject/pygtype.c | 16 ++++++++++++----
15326 1 file changed, 12 insertions(+), 4 deletions(-)
15328 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
15329 Author: Martin Pitt <martinpitt@gnome.org>
15330 Date: Fri Jan 11 09:09:41 2013 +0100
15332 Allow single byte values for int8 types
15334 When fixing gobject-introspection to consider "gchar" as signed (see
15335 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
15337 single-element "bytes" array as a valid value for int8, not just
15340 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
15343 gi/pygi-argument.c | 4 ++--
15344 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
15345 2 files changed, 23 insertions(+), 15 deletions(-)
15347 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
15348 Author: Mike Gorse <mgorse@suse.com>
15349 Date: Thu Jan 10 14:11:56 2013 -0600
15351 Fix invalid memory access handling errors when registering an
15354 Don't free the name until we are done with it.
15356 gi/gimodule.c | 8 ++++----
15357 1 file changed, 4 insertions(+), 4 deletions(-)
15359 commit ecd235959317d39b6d598662c00829e0ec717b17
15360 Author: Martin Pitt <martinpitt@gnome.org>
15361 Date: Thu Jan 10 16:42:46 2013 +0100
15363 Fix (out) arguments in callbacks
15365 Do not ignore the first argument in _pygi_closure_set_out_arguments().
15366 Presumably that has been done to skip over "self", but callbacks
15368 required to have a self argument. As self is never (out), we can
15372 gi/pygi-closure.c | 2 +-
15373 tests/test_gi.py | 4 ----
15374 2 files changed, 1 insertion(+), 5 deletions(-)
15376 commit d8e241e24a816691acbd592775b73defd9aa4f44
15377 Author: Martin Pitt <martinpitt@gnome.org>
15378 Date: Thu Jan 10 15:14:05 2013 +0100
15380 Fix C to Python marshalling of struct pointer arrays
15382 Do not treat an array of pointers to values like an array of values on
15383 marshalling from C. This makes the test_array_boxed_struct_return()
15387 gi/pygi-marshal-to-py.c | 5 +++--
15388 tests/test_gi.py | 2 --
15389 2 files changed, 3 insertions(+), 4 deletions(-)
15391 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
15392 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
15393 Date: Tue Jan 8 23:22:54 2013 +0200
15395 Add tests for GFile
15397 Most notably this commit contains a test for
15398 Gio.File.replace_contents_async(),
15399 which currently fails. Disable the tests for now as it breaks the
15402 https://bugzilla.gnome.org/show_bug.cgi?id=690525
15404 tests/test_gio.py | 64
15405 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
15406 1 file changed, 64 insertions(+)
15408 commit 118c5eaad045580455515876ba73b9537a8468b4
15409 Author: Martin Pitt <martinpitt@gnome.org>
15410 Date: Thu Jan 10 13:56:11 2013 +0100
15412 Rename test_overrides_gio.py to test_gio.py
15414 As we want to add more tests for non-overridden API.
15416 tests/Makefile.am | 2 +-
15417 tests/{test_overrides_gio.py => test_gio.py} | 0
15418 2 files changed, 1 insertion(+), 1 deletion(-)
15420 commit 8117e6bce73581e89211371708ff7d5de7d870d4
15421 Author: Martin Pitt <martinpitt@gnome.org>
15422 Date: Thu Jan 10 12:13:16 2013 +0100
15424 Don't let Property.setter() method names define property names
15426 Defining property names in install_properties() is too late when using
15427 @propname.setter decorators; their method names don't define a
15429 nor are they even required to be a valid property identifier.
15431 So change the logic to already fix the property name when using
15433 decorator and use that instead of the member name in
15434 install_properties().
15436 https://bugzilla.gnome.org/show_bug.cgi?id=688971
15438 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
15439 tests/test_properties.py | 18 ++++++++++++++++++
15440 2 files changed, 40 insertions(+), 7 deletions(-)
15442 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
15443 Author: Martin Pitt <martinpitt@gnome.org>
15444 Date: Wed Jan 9 10:39:36 2013 +0100
15446 tests: Force UTF-8 file name encoding
15448 The test_gi.TestFilename tests fail if the environment specifies
15450 file name encoding. Force it to "UTF-8" for the tests.
15452 https://bugzilla.gnome.org/show_bug.cgi?id=691355
15454 tests/runtests.py | 1 +
15455 1 file changed, 1 insertion(+)
15457 commit c02a00ae9599a661076630b21b7e24e78fb88c29
15458 Author: Martin Pitt <martinpitt@gnome.org>
15459 Date: Tue Jan 8 16:56:40 2013 +0100
15461 Use g-i stack allocation API
15463 Where possible, i. e. when not keeping references across functions,
15465 _load_() methods instead of the _get_() ones from
15466 gobject-introspection, which
15467 is faster and less prone to memory leaks:
15469 g_callable_info_get_arg () → g_callable_info_load_arg ()
15470 g_callable_info_get_return_type() →
15471 g_callable_info_load_return_type ()
15472 g_arg_info_get_type() → g_arg_info_load_type ()
15474 https://bugzilla.gnome.org/show_bug.cgi?id=615982
15476 gi/pygi-argument.c | 16 ++++------
15477 gi/pygi-closure.c | 88
15478 ++++++++++++++++++++++++------------------------------
15479 2 files changed, 45 insertions(+), 59 deletions(-)
15481 commit 23d1f14f553069740465c82eaa937b877c41e0cb
15482 Author: Ray Strode <rstrode@redhat.com>
15483 Date: Wed Dec 19 13:04:32 2012 -0500
15485 pyg_value_from_pyobject: support GArray
15487 This commit adds support for marshalling a python list (or other
15489 returned from signal handlers to GArray, if necessary.
15491 This parallels the implementation written to marshal to (the now
15495 This fixes a crash in rhythmbox as seen downstream here:
15496 https://bugzilla.redhat.com/show_bug.cgi?id=872851
15498 https://bugzilla.gnome.org/show_bug.cgi?id=690514
15500 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15502 gi/_gobject/pygtype.c | 60
15503 ++++++++++++++++++++++++++++++++++++++++++++++++
15504 tests/test_everything.py | 22 ++++++++++++++++++
15505 2 files changed, 82 insertions(+)
15507 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
15508 Author: Marko Lindqvist <cazfi74@gmail.com>
15509 Date: Fri Jan 4 07:01:29 2013 +0100
15511 Fix obsolete automake macros
15513 https://bugzilla.gnome.org/show_bug.cgi?id=691101
15515 configure.ac | 3 +--
15516 1 file changed, 1 insertion(+), 2 deletions(-)
15518 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
15519 Author: Simon Feltman <sfeltman@src.gnome.org>
15520 Date: Mon Dec 31 02:53:07 2012 -0800
15522 Change dynamic enum and flag gtype creation to use namespaced naming
15524 Use the combination of g_base_info_get_namespace and
15525 g_base_info_get_name
15526 as the name for registering enum and flag types with glib through
15527 g_enum_register_static and g_flags_register_static. This avoids
15529 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
15530 and memory cleanup for invalid registration problems.
15532 https://bugzilla.gnome.org/show_bug.cgi?id=690455
15534 gi/_gobject/pygenum.c | 6 ++--
15536 ++++++++++++++++++++++++++++++++++++++++++++-------
15537 tests/test_gi.py | 35 +++++++++++++++++++++++
15538 3 files changed, 106 insertions(+), 13 deletions(-)
15540 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
15541 Author: Dan Horák <dan@danny.cz>
15542 Date: Fri Dec 28 22:12:32 2012 +0100
15544 Fix test for GBytes.compare()
15546 The result of the compare method is defined as equal, less than or
15548 and the test must match to that. The underlaying memcmp() function
15550 values than -1, 0 and 1. For example on architectures where it is
15551 implemented directly
15552 via a CPU instruction like on s390(x) where I can see -2 as a result
15556 https://bugzilla.gnome.org/show_bug.cgi?id=690837
15558 tests/test_gi.py | 4 ++--
15559 1 file changed, 2 insertions(+), 2 deletions(-)
15561 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
15562 Author: Jonathan Ballet <jon@multani.info>
15563 Date: Thu Dec 27 16:04:51 2012 +0100
15565 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
15567 The length argument is the size of the buffer in bytes, not in
15570 https://bugzilla.gnome.org/show_bug.cgi?id=690329
15572 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15574 gi/overrides/Gtk.py | 2 +-
15575 tests/test_overrides_gtk.py | 7 +++++++
15576 2 files changed, 8 insertions(+), 1 deletion(-)
15578 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
15579 Author: Mike Gorse <mgorse@suse.com>
15580 Date: Wed Dec 19 20:51:03 2012 -0500
15582 Don't dup strings before passing them to type registration functions
15584 Strings passed to g_enum_register_static and g_flags_register_static
15586 eventually passed to g_quark_from_string, which dups the string
15588 needed and does not take ownership of it, so passing in a
15589 dynamically-allocated
15590 string without freeing it results in a small leak.
15592 https://bugzilla.gnome.org/show_bug.cgi?id=690532
15594 gi/gimodule.c | 2 --
15595 1 file changed, 2 deletions(-)
15597 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
15598 Author: Carlos Garnacho <carlos@lanedo.com>
15599 Date: Tue Dec 18 22:47:09 2012 +0100
15601 Fix marshalling of arrays of boxed struct values
15603 This fixes methods like gtk_selection_set_with_data(). In such cases
15604 data is passed as an array of struct pointers, so it must be converted
15605 to an array of structs.
15607 https://bugzilla.gnome.org/show_bug.cgi?id=656312
15609 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15611 gi/pygi-marshal-from-py.c | 6 ++++++
15612 tests/test_gi.py | 12 ++++++++++++
15613 2 files changed, 18 insertions(+)
15615 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
15616 Author: Simon Feltman <sfeltman@src.gnome.org>
15617 Date: Tue Dec 18 02:03:41 2012 -0800
15619 Add reference counting tests for Object.bind_property
15621 Add tests which ensure transform callbacks and user_data
15622 are propertly ref-counted.
15624 https://bugzilla.gnome.org/show_bug.cgi?id=690397
15626 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
15627 1 file changed, 36 insertions(+), 4 deletions(-)
15629 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
15630 Author: Martin Pitt <martinpitt@gnome.org>
15631 Date: Tue Dec 18 11:43:04 2012 +0100
15633 testhelpermodule.c: Do not unref called method
15635 In _wrap_test_gerror_exception(), do not unref the method
15637 causes a crash when being run with the stricter refcounting/memory
15639 debug-enabled Python builds.
15641 tests/testhelpermodule.c | 1 -
15642 1 file changed, 1 deletion(-)
15644 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
15645 Author: Martin Pitt <martinpitt@gnome.org>
15646 Date: Mon Dec 17 23:20:50 2012 +0100
15648 configure.ac: post-release bump to 3.7.4
15650 configure.ac | 2 +-
15651 1 file changed, 1 insertion(+), 1 deletion(-)
15653 commit 061b23d14386c0e54d2c3af113554231bbe85f16
15654 Author: Martin Pitt <martinpitt@gnome.org>
15655 Date: Mon Dec 17 23:18:31 2012 +0100
15659 NEWS | 19 +++++++++++++++++++
15660 1 file changed, 19 insertions(+)
15662 commit a242f02823a63c9dca5d0b1ce84b031221053690
15663 Author: Martin Pitt <martinpitt@gnome.org>
15664 Date: Mon Dec 17 23:11:29 2012 +0100
15666 Add (failing) tests for callbacks with out arguments
15668 Most of these fail and need marshalling fixes.
15670 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
15671 1 file changed, 36 insertions(+)
15673 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
15674 Author: Martin Pitt <martinpitt@gnome.org>
15675 Date: Mon Dec 17 22:50:59 2012 +0100
15677 Add tests for internal API
15679 These cover functions like pygobject_new(), pyg_value_from_pyobject()
15681 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
15683 functions can be tested in isolation without the whole GI stack
15686 tests/Makefile.am | 1 +
15687 tests/test_internal_api.py | 73
15688 ++++++++++++++++++++++++++++++++++++++++++++++
15689 2 files changed, 74 insertions(+)
15691 commit e44312139426f51e576ef9e880819542cc224383
15692 Author: Martin Pitt <martinpitt@gnome.org>
15693 Date: Mon Dec 17 18:02:15 2012 +0100
15695 Add support for caller-allocated GArray out arguments
15697 https://bugzilla.gnome.org/show_bug.cgi?id=690041
15699 gi/pygi-cache.c | 2 +-
15700 gi/pygi-invoke.c | 57
15701 ++++++++++++++++++++++++++++++--------------------------
15702 tests/test_gi.py | 5 +++--
15703 3 files changed, 35 insertions(+), 29 deletions(-)
15705 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
15706 Author: Martin Pitt <martinpitt@gnome.org>
15707 Date: Mon Dec 17 16:18:24 2012 +0100
15709 Add (failing) test for caller-allocated GArray return value
15711 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
15713 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
15715 The test is failing and causing a segfault right now, so disable it
15719 tests/test_gi.py | 4 ++++
15720 1 file changed, 4 insertions(+)
15722 commit 1cb4c30c3cf19690210010d39b6272965f489c58
15723 Author: Martin Pitt <martinpitt@gnome.org>
15724 Date: Mon Dec 17 15:56:44 2012 +0100
15726 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
15728 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
15730 available, but fall back to GLib.unix_signal_add_full() until we
15734 gi/overrides/GLib.py | 8 ++++++--
15735 1 file changed, 6 insertions(+), 2 deletions(-)
15737 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
15738 Author: Martin Pitt <martinpitt@gnome.org>
15739 Date: Fri Nov 30 14:17:18 2012 +0100
15741 Re-support calling GLib.io_add_watch with an fd or Python file
15743 This does not strictly adhere to the GLib API, but it's very
15745 unlike the other modes, does not change the number or order of
15747 let's keep support for this and drop the deprecation warning.
15749 gi/overrides/GLib.py | 9 +++------
15750 1 file changed, 3 insertions(+), 6 deletions(-)
15752 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
15753 Author: Martin Pitt <martinpitt@gnome.org>
15754 Date: Fri Nov 30 09:04:20 2012 +0100
15756 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
15758 Use a longer timeout to avoid races on slow architectures, and cut
15760 loop as soon as we received all expected events.
15762 tests/test_glib.py | 5 ++++-
15763 1 file changed, 4 insertions(+), 1 deletion(-)
15765 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
15766 Author: Martin Pitt <martinpitt@gnome.org>
15767 Date: Fri Nov 30 08:44:56 2012 +0100
15769 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
15771 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
15773 unavailable monitor backends in the test environment) to fail
15776 tests/test_overrides_gtk.py | 12 +++++++++---
15777 1 file changed, 9 insertions(+), 3 deletions(-)
15779 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
15780 Author: Martin Pitt <martinpitt@gnome.org>
15781 Date: Thu Nov 29 16:45:49 2012 +0100
15783 pygtkcompat: Work around IndexError on large flags
15785 On 32 bit systems pygtkcompat currently fails with
15787 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
15788 name = flag.value_names[-1].replace(modname + '_', '')
15789 IndexError: cannot fit 'int' into an index-sized integer
15791 on 32 bit systems as some flags in Gdk are too large to fit into a
15793 "long". Work around this crash until this gets fixed properly
15797 pygtkcompat/pygtkcompat.py | 7 ++++++-
15798 1 file changed, 6 insertions(+), 1 deletion(-)
15800 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
15801 Author: Martin Pitt <martinpitt@gnome.org>
15802 Date: Thu Nov 29 14:11:29 2012 +0100
15804 Fix pyg_value_from_pyobject() range check for uint
15806 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
15808 this overflows large uints. Use PyLong_AsLongLong() separately to
15810 negative values, and PyLong_AsUnsignedLong() for the actual
15813 gi/_gobject/pygtype.c | 12 ++++++++----
15814 1 file changed, 8 insertions(+), 4 deletions(-)
15816 commit 05d767a602571805e80099f1db47ad4164575c53
15817 Author: Martin Pitt <martinpitt@gnome.org>
15818 Date: Thu Nov 29 13:30:56 2012 +0100
15820 Fix tests to work with g-i 1.34.2
15822 Do not try to call GIMarshallingTests API which isn't present
15824 against g-i 1.34.2. This can be dropped when the g-i dependency gets
15828 tests/test_gi.py | 8 +++++---
15829 1 file changed, 5 insertions(+), 3 deletions(-)
15831 commit a107c928ef85b4e3b9075a408774b74879586029
15832 Author: Martin Pitt <martinpitt@gnome.org>
15833 Date: Thu Nov 29 13:13:14 2012 +0100
15835 Fix wrong refcount for GVariant property defaults
15837 Drop the bogus DECREF for the GVariant default argument, as we need
15839 around in the class. Otherwise the refcount drops to zero, and
15841 garbage collection run causes segfaults.
15843 https://bugzilla.gnome.org/show_bug.cgi?id=689267
15845 gi/_gobject/gobjectmodule.c | 1 -
15846 1 file changed, 1 deletion(-)
15848 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
15849 Author: Martin Pitt <martinpitt@gnome.org>
15850 Date: Thu Nov 29 11:44:22 2012 +0100
15852 test_gi: Fix TestFilename failure under C locale
15854 tests/test_gi.py | 1 +
15855 1 file changed, 1 insertion(+)
15857 commit 37ab227555ba8628b4fa99aa286bd046208745ed
15858 Author: Martin Pitt <martinpitt@gnome.org>
15859 Date: Thu Nov 29 11:16:26 2012 +0100
15861 Fix array arguments on 32 bit
15863 In _pygi_argument_from_object() we never put the actual element
15865 constructed array. The array contains GIArguments, or bytes in the
15867 passing a string as an array.
15869 This happened to work on 64 bit machines where GIArgument and char*
15871 same size, but not on 32 bit machines
15872 (test_gi.TestPropertiesObject.test_strv
15875 gi/pygi-argument.c | 6 +++++-
15876 1 file changed, 5 insertions(+), 1 deletion(-)
15878 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
15879 Author: Martin Pitt <martinpitt@gnome.org>
15880 Date: Thu Nov 29 10:20:27 2012 +0100
15882 test_gi: Disable failing check in test_module_name()
15884 When calling this under some conditions, such as
15886 TEST_NAMES='test_thread test_gi.TestOverrides'
15888 then the module name of GObject.InitiallyUnowned comes out as
15889 "importlib._bootstrap" instead of "gi.repository.GObject". To be
15891 Add a couple of other tests to ensure that it is not broken in
15894 tests/test_gi.py | 10 +++++++++-
15895 1 file changed, 9 insertions(+), 1 deletion(-)
15897 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
15898 Author: Martin Pitt <martinpitt@gnome.org>
15899 Date: Thu Nov 29 09:40:32 2012 +0100
15901 test_gdbus: Drop failure if timeout=0 works differently
15903 In some test environments we do not actually get a timeout exceptions
15905 timeout=0, but a different error message. So only ensure that we
15909 tests/test_gdbus.py | 4 +++-
15910 1 file changed, 3 insertions(+), 1 deletion(-)
15912 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
15913 Author: Martin Pitt <martinpitt@gnome.org>
15914 Date: Thu Nov 29 09:29:05 2012 +0100
15916 test_glib: Drop some assumptions about XDG dirs
15918 Some directories do not exist in minimal test environments, and this
15920 important for testing that calling these GLib functions works.
15922 tests/test_glib.py | 8 +++++---
15923 1 file changed, 5 insertions(+), 3 deletions(-)
15925 commit e45c690bc83b6d513887649de88965a9752e316d
15926 Author: Martin Pitt <martinpitt@gnome.org>
15927 Date: Wed Nov 28 12:20:31 2012 +0100
15929 Add backwards compatible API for GLib.unix_signal_add_full()
15931 This was renamed to GLib.unix_signal_add() in
15932 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
15934 Provide a backwards compatible shim with a deprecation message.
15936 gi/overrides/GLib.py | 10 ++++++++++
15937 1 file changed, 10 insertions(+)
15939 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
15940 Author: Martin Pitt <martinpitt@gnome.org>
15941 Date: Mon Nov 26 08:11:36 2012 +0100
15943 Drop MININT64/MAXUINT64 workaround
15945 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
15947 properly now. Drop the workaround in the overrides to manually
15951 gi/overrides/GLib.py | 7 -------
15952 1 file changed, 7 deletions(-)
15954 commit d16604f64d25d18409270d7537fc993113b65c19
15955 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
15956 Date: Fri Nov 23 19:57:56 2012 +0200
15958 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
15960 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
15961 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
15962 warnings even tough values are valid.
15964 https://bugzilla.gnome.org/show_bug.cgi?id=688949
15966 gi/_gobject/propertyhelper.py | 6 +++---
15967 tests/test_properties.py | 11 ++++-------
15968 2 files changed, 7 insertions(+), 10 deletions(-)
15970 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
15971 Author: Martin Pitt <martinpitt@gnome.org>
15972 Date: Wed Nov 21 12:58:07 2012 +0100
15974 Test virtual methods with in and out arguments
15976 ... and both caller and callee out argument allocation.
15978 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
15980 tests/test_gi.py | 13 +++++++++++++
15981 1 file changed, 13 insertions(+)
15983 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
15984 Author: Martin Pitt <martinpitt@gnome.org>
15985 Date: Tue Nov 20 07:00:44 2012 +0100
15987 Ship pygi-convert.sh in tarballs
15989 https://bugzilla.gnome.org/show_bug.cgi?id=688697
15992 1 file changed, 1 insertion(+)
15994 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
15995 Author: Martin Pitt <martinpitt@gnome.org>
15996 Date: Mon Nov 19 15:25:38 2012 +0100
15998 Post-release version bump to 3.7.3
16000 configure.ac | 2 +-
16001 1 file changed, 1 insertion(+), 1 deletion(-)
16003 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
16004 Author: Martin Pitt <martinpitt@gnome.org>
16005 Date: Mon Nov 19 15:13:28 2012 +0100
16009 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
16010 1 file changed, 47 insertions(+)
16012 commit 29dc7425dd7584411b52ef07b50f929ed119a000
16013 Author: Martin Pitt <martinpitt@gnome.org>
16014 Date: Mon Nov 19 14:37:02 2012 +0100
16018 Commit e617f76e forgot to rename the file in EXTRA_DIST
16020 tests/Makefile.am | 2 +-
16021 1 file changed, 1 insertion(+), 1 deletion(-)
16023 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
16024 Author: Martin Pitt <martinpitt@gnome.org>
16025 Date: Mon Nov 19 14:34:13 2012 +0100
16027 tests: Fix unicode vs. str issues in Python 2
16029 Some of the tests assumed a system default encoding of UTF-8, which
16031 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
16034 tests/test_gi.py | 8 ++++----
16035 tests/test_iochannel.py | 16 +++++++++-------
16036 2 files changed, 13 insertions(+), 11 deletions(-)
16038 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
16039 Author: Martin Pitt <martinpitt@gnome.org>
16040 Date: Mon Nov 19 14:20:56 2012 +0100
16042 tests: Fix previous commit to fail properly on test failures
16044 tests/Makefile.am | 2 +-
16045 1 file changed, 1 insertion(+), 1 deletion(-)
16047 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
16048 Author: Martin Pitt <martinpitt@gnome.org>
16049 Date: Mon Nov 19 14:09:14 2012 +0100
16051 tests: Run pygtkcompat tests separately
16053 pygtkcompat changes the global namespace, in particular patching
16055 overrides. Run the tests in a separate process so that the main
16057 potentially affected by the pygtkcompat test.
16059 runtests.py runs all tests/test_*.py by default, so rename to
16060 compat_test_pygtk.py and run that explicitly after successfully
16064 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
16066 tests/Makefile.am | 3 +++
16067 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
16068 2 files changed, 3 insertions(+)
16070 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
16071 Author: Simon Feltman <sfeltman@src.gnome.org>
16072 Date: Thu Nov 15 02:51:52 2012 -0800
16074 Move pygtkcompat into sibling package of gi
16076 Move the pygtkcompat module out of the gi package and into
16077 a sibling package as follows:
16083 This allows for pygtkcompat to grow without affecting the gi package.
16084 Add deprecation message to gi/pygtkcompat.py
16086 https://bugzilla.gnome.org/show_bug.cgi?id=688219
16090 gi/pygtkcompat.py | 524
16091 +++------------------------------------------
16092 pygtkcompat/Makefile.am | 15 ++
16093 pygtkcompat/__init__.py | 20 ++
16094 pygtkcompat/pygtkcompat.py | 501
16095 +++++++++++++++++++++++++++++++++++++++++++
16096 tests/test_pygtkcompat.py | 6 +-
16097 7 files changed, 565 insertions(+), 504 deletions(-)
16099 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
16100 Author: Martin Pitt <martinpitt@gnome.org>
16101 Date: Mon Nov 19 13:59:20 2012 +0100
16103 Bump g-i dependency to >= 1.34.2
16105 We need this for updated GLib annotations and new test API.
16107 configure.ac | 2 +-
16108 1 file changed, 1 insertion(+), 1 deletion(-)
16110 commit f6c994c76cd8010460b76bf455e1a341348d735b
16111 Author: Martin Pitt <martinpitt@gnome.org>
16112 Date: Mon Nov 19 10:39:26 2012 +0100
16114 test_gi: Fix failing tests with g-i 1.34.x
16116 Skip tests which require g-i test API from 1.35.x when building
16120 tests/test_gi.py | 6 ++++++
16121 1 file changed, 6 insertions(+)
16123 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
16124 Author: Martin Pitt <martinpitt@gnome.org>
16125 Date: Wed Nov 14 11:57:21 2012 +0100
16127 test_gi: Add tests for type "filename"
16129 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
16130 1 file changed, 30 insertions(+)
16132 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
16133 Author: Martin Pitt <martinpitt@gnome.org>
16134 Date: Wed Nov 14 11:09:33 2012 +0100
16136 Drop foreign GVariant registration/support
16138 This is dead code. We have tests for GVariant in and out method
16140 callback arguments and return values, properties, etc to ensure that
16144 gi/Makefile.am | 2 --
16145 gi/pygi-foreign-gvariant.c | 63
16146 ----------------------------------------------
16147 gi/pygi-foreign-gvariant.h | 41 ------------------------------
16148 gi/pygi-foreign.c | 8 +-----
16149 4 files changed, 1 insertion(+), 113 deletions(-)
16151 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
16152 Author: Martin Pitt <martinpitt@gnome.org>
16153 Date: Wed Nov 14 10:33:24 2012 +0100
16155 test_properties.py: Fix PEP-8 errors
16157 tests/test_properties.py | 3 +--
16158 1 file changed, 1 insertion(+), 2 deletions(-)
16160 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
16161 Author: Martin Pitt <martinpitt@gnome.org>
16162 Date: Wed Nov 14 10:14:36 2012 +0100
16164 Add support for GVariant properties defined in Python
16166 gi/_gobject/gobjectmodule.c | 13 +++++++
16167 gi/_gobject/propertyhelper.py | 11 ++++--
16168 tests/test_properties.py | 81
16169 +++++++++++++++++++++++++++++++++++++------
16170 3 files changed, 91 insertions(+), 14 deletions(-)
16172 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
16173 Author: Martin Pitt <martinpitt@gnome.org>
16174 Date: Wed Nov 14 09:33:43 2012 +0100
16176 pyg_value_from_pyobject(): Simplify GVariant type check
16178 Use pyg_type_from_object_strict() instead of the much more expensive
16180 pyg_get_gvariant_type().
16182 gi/_gobject/pygtype.c | 23 +----------------------
16183 1 file changed, 1 insertion(+), 22 deletions(-)
16185 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
16186 Author: Martin Pitt <martinpitt@gnome.org>
16187 Date: Wed Nov 14 09:27:42 2012 +0100
16189 test_everything: Add test for callback returning wrong type
16191 This covers the "expected a GVariant, got something else" check in
16192 pyg_value_from_pyobject().
16194 tests/test_everything.py | 16 ++++++++++++++++
16195 1 file changed, 16 insertions(+)
16197 commit 84db7109dfbaf443758a5a4871ee385686d2703d
16198 Author: Martin Pitt <martinpitt@gnome.org>
16199 Date: Wed Nov 14 08:42:53 2012 +0100
16201 Add type checking to GVariant argument assignment
16203 gi/pygi-argument.c | 7 ++++++-
16204 tests/test_gi.py | 5 ++---
16205 2 files changed, 8 insertions(+), 4 deletions(-)
16207 commit e944caf5ff53143a98dd4a5578530996358013ec
16208 Author: Martin Pitt <martinpitt@gnome.org>
16209 Date: Wed Nov 14 08:22:35 2012 +0100
16211 Add support for GVariant properties defined in C
16213 Note that trying to assign a non-GVariant value to a GVariant property
16216 gi/pygi-property.c | 6 +++++-
16217 tests/test_gi.py | 21 +++++++++++++++++++++
16218 2 files changed, 26 insertions(+), 1 deletion(-)
16220 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
16221 Author: Martin Pitt <martinpitt@gnome.org>
16222 Date: Wed Nov 14 07:09:58 2012 +0100
16224 test_unknown.py: Check property interface
16226 NB that the property implementation in test-unknown.c does not
16228 anything, we just want to assert that the properties are properly
16231 tests/test_unknown.py | 10 ++++++++++
16232 1 file changed, 10 insertions(+)
16234 commit 9d7771affcf788d251cced65da56fc2773a278b3
16235 Author: Martin Pitt <martinpitt@gnome.org>
16236 Date: Wed Nov 14 07:01:24 2012 +0100
16238 Fix previous commit for Python 2
16240 gi/pygi-foreign-cairo.c | 2 +-
16241 1 file changed, 1 insertion(+), 1 deletion(-)
16243 commit 997d4e70b2793039d916acf8921087576622152e
16244 Author: Martin Pitt <martinpitt@gnome.org>
16245 Date: Wed Nov 14 06:57:04 2012 +0100
16247 pygi-foreign-cairo.c: Use official py3cairo API
16249 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
16251 instead of our own code.
16253 gi/pygi-foreign-cairo.c | 4 ++--
16254 1 file changed, 2 insertions(+), 2 deletions(-)
16256 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
16257 Author: Martin Pitt <martinpitt@gnome.org>
16258 Date: Wed Nov 14 06:47:23 2012 +0100
16260 Drop dead code from pygi-callbacks.[hc]
16262 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
16264 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
16266 there, and drop pygi-callbacks.[hc] completely.
16268 gi/Makefile.am | 2 -
16269 gi/pygi-callbacks.c | 217
16270 ----------------------------------------------
16271 gi/pygi-callbacks.h | 48 ----------
16272 gi/pygi-marshal-from-py.c | 44 ++++++++++
16273 gi/pygi-private.h | 1 -
16274 5 files changed, 44 insertions(+), 268 deletions(-)
16276 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
16277 Author: Carlos Garnacho <carlos@lanedo.com>
16278 Date: Tue Nov 13 18:24:28 2012 +0100
16280 Fix marshalling of arrays of struct pointers to Python
16282 Fill in the pointer to the struct, not the pointer to the
16283 array position. This makes the GdkAtom** argument in
16284 gtk_clipboard_wait_for_targets() work.
16286 https://bugzilla.gnome.org/show_bug.cgi?id=678620
16288 gi/pygi-marshal-to-py.c | 5 ++++-
16289 1 file changed, 4 insertions(+), 1 deletion(-)
16291 commit fc021516552b1720bacc4afe6b7a610c413194c4
16292 Author: Martin Pitt <martinpitt@gnome.org>
16293 Date: Wed Nov 14 06:27:17 2012 +0100
16295 test_atoms.py: Add test for out array
16297 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
16299 tests/test_atoms.py | 19 +++++++++++++++++++
16300 1 file changed, 19 insertions(+)
16302 commit e2790d22610aae773635d4caef2458082a307283
16303 Author: Martin Pitt <martinpitt@gnome.org>
16304 Date: Tue Nov 13 16:38:36 2012 +0100
16306 Fix Gdk.Atom str()/repr() fallback
16308 Fix regression in commit 6713618: If an atom does not have a name,
16310 recursively call our own str()/repr() methods, but just print
16311 "Gdk.Atom<atom_id>".
16313 gi/overrides/Gdk.py | 6 ++++--
16314 1 file changed, 4 insertions(+), 2 deletions(-)
16316 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
16317 Author: Martin Pitt <martinpitt@gnome.org>
16318 Date: Tue Nov 13 13:16:14 2012 +0100
16320 test_gi: Stop using GLib.bytes.unref_to_array()
16322 This method isn't safe for GI, and should be (skip)ed. Use get_data()
16324 which is safe and works fine.
16326 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
16328 tests/test_gi.py | 6 ------
16329 1 file changed, 6 deletions(-)
16331 commit 671361841de797ef62b59d1d7568fc3d431898c7
16332 Author: Martin Pitt <martinpitt@gnome.org>
16333 Date: Tue Nov 13 12:56:11 2012 +0100
16335 Fix Gdk.Atom to have a proper str() and repr()
16337 Gdk.Atom is not proper GType'd class, so we cannot override the
16339 Just override its __str__() and __repr__() methods so that printing
16341 something sensible. For nameless/invalid atoms, fall back to the old
16342 <void at 0xdeadbeef> output to help with debugging.
16344 https://bugzilla.gnome.org/show_bug.cgi?id=678620
16346 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
16347 tests/test_atoms.py | 12 ++++++++++++
16348 2 files changed, 33 insertions(+)
16350 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
16351 Author: Simon Feltman <sfeltman@src.gnome.org>
16352 Date: Tue Nov 13 02:53:34 2012 -0800
16354 Make sure g_value_set_boxed does not cause a buffer overrun with
16357 Add NULL terminator to gchar** passed to g_value_set_boxed to
16358 make sure it does not overrun memory in pygi_set_property_value_real.
16359 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
16362 https://bugzilla.gnome.org/show_bug.cgi?id=688232
16364 gi/pygi-property.c | 8 ++++++--
16365 tests/Makefile.am | 1 +
16366 2 files changed, 7 insertions(+), 2 deletions(-)
16368 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
16369 Author: Martin Pitt <martinpitt@gnome.org>
16370 Date: Mon Nov 12 08:35:28 2012 +0100
16372 types.py: Fix PEP-8 violation
16375 1 file changed, 1 insertion(+), 1 deletion(-)
16377 commit df589458358d7e7bf178dff4e6ad937a70f806e3
16378 Author: Simon Feltman <sfeltman@src.gnome.org>
16379 Date: Sun Nov 11 22:26:19 2012 -0800
16381 Fix leaks with GValues holding boxed and object types
16383 Expose read access to PyGIBoxed.free_on_dealloc.
16384 Add GObject.Value.__del__ override and call unset() to
16385 correctly free reference counts.
16387 https://bugzilla.gnome.org/show_bug.cgi?id=688137
16389 gi/overrides/GObject.py | 9 +++++++++
16390 gi/pygi-boxed.c | 12 ++++++++++++
16391 tests/test_gi.py | 2 --
16392 3 files changed, 21 insertions(+), 2 deletions(-)
16394 commit c01c95b9fb3d726385efac945f6d1270ae65d109
16395 Author: Simon Feltman <sfeltman@src.gnome.org>
16396 Date: Sun Nov 11 19:46:15 2012 -0800
16398 Add expectantly failing unittests for GValue boxed/object leaks
16400 https://bugzilla.gnome.org/show_bug.cgi?id=688137
16402 tests/test_gi.py | 80
16403 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16404 1 file changed, 80 insertions(+)
16406 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
16407 Author: Simon Feltman <s.feltman@gmail.com>
16408 Date: Thu Aug 16 15:09:08 2012 -0700
16410 Add doc strings showing method signatures for gi methods
16412 Add signature based doc string to all methods pulled in from
16413 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
16414 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
16415 icon_area:cairo.RectangleInt
16417 https://bugzilla.gnome.org/show_bug.cgi?id=681967
16419 gi/overrides/GIMarshallingTests.py | 1 +
16420 gi/pygi-info.c | 103
16421 +++++++++++++++++++++++++++++++++----
16422 gi/pygi-type.c | 60 +++++++++++++++++++++
16423 gi/pygi-type.h | 1 +
16425 ++++++++++++++++++++++++++-------
16426 tests/test_gi.py | 30 +++++++++++
16427 6 files changed, 259 insertions(+), 28 deletions(-)
16429 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
16430 Author: Simon Feltman <sfeltman@src.gnome.org>
16431 Date: Fri Nov 9 19:17:03 2012 -0800
16433 Set Property instance doc string and blurb to getter doc string
16435 Assign Property getter __doc__ strings or explicit blurb parameters
16436 to the Property instances __doc__ attribute. This clobbers the
16437 default Property classes lengthy and unhelpful doc string in the case
16440 https://bugzilla.gnome.org/show_bug.cgi?id=688025
16442 gi/_gobject/propertyhelper.py | 10 +++++++---
16443 tests/test_properties.py | 14 ++++++++++----
16444 2 files changed, 17 insertions(+), 7 deletions(-)
16446 commit c5343d329ebb452d97afac30e4120ebab8477556
16447 Author: Martin Pitt <martinpitt@gnome.org>
16448 Date: Mon Nov 12 07:47:02 2012 +0100
16450 tests: Fix for Python 2
16452 Add quirks for Python 2's string handling, and disable the
16453 Everything.test_array_gint8_in() as there seems to be no way of
16457 tests/test_everything.py | 7 +++++--
16458 1 file changed, 5 insertions(+), 2 deletions(-)
16460 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
16461 Author: Martin Pitt <martinpitt@gnome.org>
16462 Date: Sat Nov 10 15:52:15 2012 +0100
16464 test_everything: Add tests for more Regress data and container types
16466 Add more tests for Regress' data and container type test API.
16468 This detects a number of bugs, which have been marked as expected
16470 disabled completely for the cases where they cause crashes:
16472 * unsigned enums with values >= 0x80000000 do not work
16473 * nested ghashes in return values do not work
16474 * array length arguments in callbacks are passed instead of
16477 tests/test_everything.py | 156
16478 ++++++++++++++++++++++++++++++++++++++++++++++-
16479 1 file changed, 154 insertions(+), 2 deletions(-)
16481 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
16482 Author: Martin Pitt <martinpitt@gnome.org>
16483 Date: Fri Nov 9 18:45:22 2012 +0100
16485 test_everything: Add tests for Regress type tests
16487 Add tests for all the data type handling tests of g-i's Regress
16490 tests/test_everything.py | 183
16491 +++++++++++++++++++++++++++++++++++++++++++++++
16492 1 file changed, 183 insertions(+)
16494 commit 0d7974396e8379b518403983d9d13629066680d7
16495 Author: Martin Pitt <martinpitt@gnome.org>
16496 Date: Fri Nov 9 18:44:50 2012 +0100
16498 Add GObject.G_MINSSIZE
16500 gi/_gobject/gobjectmodule.c | 1 +
16501 gi/overrides/GObject.py | 2 +-
16502 2 files changed, 2 insertions(+), 1 deletion(-)
16504 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
16505 Author: Martin Pitt <martinpitt@gnome.org>
16506 Date: Fri Nov 9 16:02:00 2012 +0100
16508 Fix marshalling of GByteArrays
16510 In _pygi_marshal_from_py_array(), set the array length after copying
16512 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
16514 will always come out as zero length.
16516 Enable the TestGByteArray.test_bytearray_none_in() test case as that
16519 gi/pygi-marshal-from-py.c | 1 +
16520 tests/test_gi.py | 3 +--
16521 2 files changed, 2 insertions(+), 2 deletions(-)
16523 commit fa568949c46dd4b537357f1af74d1f675294b760
16524 Author: Martin Pitt <martinpitt@gnome.org>
16525 Date: Fri Nov 9 15:23:37 2012 +0100
16527 Fix marshalling of ssize_t to smaller ints
16529 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
16530 TestArray.test_array_in test, so drop the expected failure.
16532 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
16533 tests/test_gi.py | 2 --
16534 2 files changed, 29 insertions(+), 3 deletions(-)
16536 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
16537 Author: Martin Pitt <martinpitt@gnome.org>
16538 Date: Fri Nov 9 09:37:00 2012 +0100
16540 test_gi: Enable GByteArray constructor tests
16542 GByteArray annotations have been fixed in GLib now, enable the
16545 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
16547 is the same as disabled_test_bytearray_none_in().
16549 tests/test_gi.py | 16 ++++------------
16550 1 file changed, 4 insertions(+), 12 deletions(-)
16552 commit e2c545896ab08b1f1885b502a8472db83f193d08
16553 Author: Martin Pitt <martinpitt@gnome.org>
16554 Date: Fri Nov 9 09:11:38 2012 +0100
16556 test_gi: Enable GBytes test cases
16558 GBytes annotations are fixed in GLib now, enable the test case and
16560 for g_bytes_new_take() and g_bytes_{compare,equal}().
16562 Please note that calling unref_to_array() on a GBytes object that
16564 ourselves currently causes a double free crash, so disable that part
16567 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
16568 1 file changed, 25 insertions(+), 5 deletions(-)
16570 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
16571 Author: Martin Pitt <martinpitt@gnome.org>
16572 Date: Fri Nov 9 08:26:29 2012 +0100
16574 test_gi: Add missing data type tests from GIMarshallingTests
16576 Add tests for types time_t, GBytes, GByteArray, and various variants
16578 around GValues, flags, enums, arrays, and boxed structs. This tests
16580 is provided by GIMarshallingTests, but which we did not cover yet.
16582 This detects a number of bugs in annotations and our
16583 marshalling. These have
16584 been marked as expected failure, or disabled completely for the
16586 they cause crashes.
16588 tests/test_gi.py | 152
16589 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
16590 1 file changed, 152 insertions(+)
16592 commit 0456d9c892b76ed79134230a4a8610a23c602964
16593 Author: Martin Pitt <martinpitt@gnome.org>
16594 Date: Fri Nov 9 06:44:46 2012 +0100
16596 autogen.sh: Only enable code coverage if lcov is installed
16598 Otherwise we break minimal build environments.
16600 autogen.sh | 8 +++++++-
16601 1 file changed, 7 insertions(+), 1 deletion(-)
16603 commit 76a3acebf73f930c541d0f30249f67d254f948ab
16604 Author: Martin Pitt <martinpitt@gnome.org>
16605 Date: Fri Nov 9 06:41:58 2012 +0100
16607 Lower autoconf dependency to 2.68 again
16609 configure.ac | 2 +-
16610 1 file changed, 1 insertion(+), 1 deletion(-)
16612 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
16613 Author: Martin Pitt <martinpitt@gnome.org>
16614 Date: Thu Nov 8 14:54:30 2012 +0100
16616 Add support for lcov code coverage
16618 Use gnome-common's new code coverage flags. Default to enabling
16620 in autogen.sh (but not for dist).
16622 To use this, run "make check-code-coverage" after building.
16627 configure.ac | 6 ++++++
16628 4 files changed, 10 insertions(+), 1 deletion(-)
16630 commit e46af4aba220cfaf4b84a9be847f3363da556993
16631 Author: Martin Pitt <martinpitt@gnome.org>
16632 Date: Wed Nov 7 17:14:22 2012 +0100
16634 Update documentation files
16636 Update AUTHORS to have the current maintainers.
16638 Update HACKING to drop Tomeu's GNOME login (this should be set in
16641 Update INSTALL to current upstream version.
16646 +++++++++++++++++++++++++++++++++++++++++++---------------------
16647 3 files changed, 267 insertions(+), 130 deletions(-)
16649 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
16650 Author: Martin Pitt <martinpitt@gnome.org>
16651 Date: Wed Nov 7 17:08:11 2012 +0100
16653 Quiesce automake output
16655 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
16657 existing symlinks on rebuilds.
16659 gi/Makefile.am | 2 +-
16660 gi/_glib/Makefile.am | 2 +-
16661 gi/_gobject/Makefile.am | 2 +-
16662 tests/Makefile.am | 6 +++---
16663 4 files changed, 6 insertions(+), 6 deletions(-)
16665 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
16666 Author: Martin Pitt <martinpitt@gnome.org>
16667 Date: Wed Nov 7 16:50:07 2012 +0100
16669 Drop unused variable, fail builds on those
16671 Build with -Werror=unused-variable, as these could hide programming
16673 incomplete refactoring, and are not platform dependent.
16675 Drop unused variable in pyg_type_add_interfaces().
16678 gi/_gobject/gobjectmodule.c | 1 -
16679 2 files changed, 1 insertion(+), 1 deletion(-)
16681 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
16682 Author: Martin Pitt <martinpitt@gnome.org>
16683 Date: Wed Nov 7 16:37:04 2012 +0100
16685 configure.ac: Drop maintainer mode, modernize libtool declarations
16687 Use all arguments of AC_INIT.
16689 AM_MAINTAINER_MODE is discouraged now, drop it.
16691 Use LT_PREREQ and LT_INIT for libtool initialization instead of
16695 See https://live.gnome.org/GnomeGoals/ModernAutotools
16697 configure.ac | 19 ++++++-------------
16698 1 file changed, 6 insertions(+), 13 deletions(-)
16700 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
16701 Author: Martin Pitt <martinpitt@gnome.org>
16702 Date: Wed Nov 7 16:21:13 2012 +0100
16704 autoupdate configure.ac
16706 Result of "autoupdate", with slight manual beautification.
16708 See https://live.gnome.org/GnomeGoals/ModernAutotools
16710 configure.ac | 21 +++++++++------------
16711 1 file changed, 9 insertions(+), 12 deletions(-)
16713 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
16714 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16715 Date: Mon Nov 5 14:26:05 2012 -0300
16717 pygi-convert: remove deprecated GLib → GObject conversions
16719 Using these functions from the GObject module is deprecated now,
16723 pygi-convert.sh | 5 -----
16724 1 file changed, 5 deletions(-)
16726 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
16727 Author: Simon Feltman <sfeltman@src.gnome.org>
16728 Date: Wed Nov 7 03:49:24 2012 -0800
16730 Use hasattr when testing for __info__ when finding vfuncs
16732 Change gi.types.find_vfunc_info_in_interface to use hasattr
16733 when finding vfuncs. Using '__info__' in __dict__ was skipping
16734 overridden interfaces which don't directly contain the __info__.
16737 1 file changed, 1 insertion(+), 1 deletion(-)
16739 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
16740 Author: Martin Pitt <martinpitt@gnome.org>
16741 Date: Wed Nov 7 12:05:24 2012 +0100
16743 tests: Ensure that the fatal mask is always reset
16745 On test case failures the fatal mask might be left in a wrong state,
16747 with "finally" that it is reset on failed tests as well, to avoid
16751 tests/test_gi.py | 11 ++++++-----
16752 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
16753 tests/test_pygtkcompat.py | 6 ++++--
16754 tests/test_signal.py | 6 ++++--
16755 4 files changed, 33 insertions(+), 23 deletions(-)
16757 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
16758 Author: Simon Feltman <sfeltman@src.gnome.org>
16759 Date: Tue Nov 6 21:34:06 2012 -0800
16761 Replace GObject notify methods with introspection and python
16763 Replace static context managers for freeze_notify and
16764 handler_block with python context managers. Remove notify,
16765 freeze_notify, thaw_notify static methods as the introspection
16766 versions work fine.
16768 https://bugzilla.gnome.org/show_bug.cgi?id=672727
16770 gi/_gobject/pygobject.c | 173
16771 ++----------------------------------------------
16772 gi/overrides/GObject.py | 61 +++++++++++++++--
16773 tests/test_gobject.py | 26 ++++++--
16774 tests/test_signal.py | 13 +++-
16775 4 files changed, 91 insertions(+), 182 deletions(-)
16777 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
16778 Author: Simon Feltman <sfeltman@src.gnome.org>
16779 Date: Tue Oct 23 13:56:32 2012 -0700
16781 Add support for overriding GObject.Object
16783 Shift pygi module mechanics so the introspection generated 'Object'
16784 class becomes derived from the static GObject class. Add initial
16785 GObject.Object override which sets all static methods back essentially
16786 leapfrogging the introspection methods. This sets the stage for having
16787 the ability to remove static methods piecemeal in favor of
16788 introspection/python in future commits.
16790 https://bugzilla.gnome.org/show_bug.cgi?id=672727
16792 gi/module.py | 30 +++++++++++---------
16793 gi/overrides/GObject.py | 74
16794 ++++++++++++++++++++++++++++++++++++++++++++++++
16795 gi/pygobject-external.h | 10 +------
16796 gi/types.py | 7 +++++
16797 tests/test_gobject.py | 31 ++++++++++++++++----
16798 tests/testhelpermodule.c | 2 +-
16799 6 files changed, 126 insertions(+), 28 deletions(-)
16801 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
16802 Author: Martin Pitt <martinpitt@gnome.org>
16803 Date: Tue Nov 6 13:55:21 2012 +0100
16805 Bump glib dependency to >= 2.34.2
16807 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
16811 configure.ac | 4 ++--
16812 2 files changed, 3 insertions(+), 3 deletions(-)
16814 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
16815 Author: Martin Pitt <martinpitt@gnome.org>
16816 Date: Tue Nov 6 11:28:42 2012 +0100
16820 Point to python-hackers-list instead of the old pygtk list, update
16822 versions, and point to wiki page and IRC.
16824 README | 19 ++++++++++---------
16825 1 file changed, 10 insertions(+), 9 deletions(-)
16827 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
16828 Author: Martin Pitt <martinpitt@gnome.org>
16829 Date: Tue Nov 6 11:21:32 2012 +0100
16831 Add --with-python configure option
16833 This behaves like setting $PYTHON, but also works in build systems
16835 which do not support setting environment variables.
16837 Update README accordingly.
16839 README | 15 +++++++++------
16840 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
16841 2 files changed, 43 insertions(+), 15 deletions(-)
16843 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
16844 Author: Martin Pitt <martinpitt@gnome.org>
16845 Date: Tue Nov 6 10:39:27 2012 +0100
16847 python.m4: Add python3.3, do not prefer unversioned "python"
16849 Add python 3.3 to the search list.
16851 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
16853 "python", so use that as last fallback if more specific versions do
16856 configure.ac | 2 +-
16857 m4/python.m4 | 2 +-
16858 2 files changed, 2 insertions(+), 2 deletions(-)
16860 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
16861 Author: Martin Pitt <martinpitt@gnome.org>
16862 Date: Tue Nov 6 09:48:50 2012 +0100
16864 m4: Update py-compile to current upstream version
16866 Update py-compile to current versions from automake 1.11.6.
16869 +++++++++++++++++++++++++++++++++++------------------------
16870 1 file changed, 48 insertions(+), 33 deletions(-)
16872 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
16873 Author: Martin Pitt <martinpitt@gnome.org>
16874 Date: Tue Nov 6 09:57:00 2012 +0100
16876 m4: Update introspection.m4 to current upstream version
16878 m4/introspection.m4 | 4 ++++
16879 1 file changed, 4 insertions(+)
16881 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
16882 Author: Martin Pitt <martinpitt@gnome.org>
16883 Date: Tue Nov 6 09:53:15 2012 +0100
16885 option.py: Fix PEP-8 error
16887 gi/_glib/option.py | 2 +-
16888 1 file changed, 1 insertion(+), 1 deletion(-)
16890 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
16891 Author: Simon Feltman <sfeltman@src.gnome.org>
16892 Date: Mon Nov 5 18:27:56 2012 -0800
16894 Remove DynamicGLibModule and DynamicGObjectModule
16896 Move final bits of _glib static binding imports directly into
16897 the GLib override. Change _glib/option use the .so directly
16898 rather than the staged variables in _glib/__init__.py.
16899 Remove DynamicGLibModule and DynamicGObjectModule and update
16902 https://bugzilla.gnome.org/show_bug.cgi?id=687488
16904 gi/_glib/__init__.py | 11 ----------
16905 gi/_glib/option.py | 16 +++++++-------
16906 gi/importer.py | 12 ++---------
16908 ----------------------------------------------------
16909 gi/overrides/GLib.py | 14 ++++++++++++
16910 tests/test_gi.py | 9 ++------
16911 6 files changed, 26 insertions(+), 96 deletions(-)
16913 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
16914 Author: Daniel Drake <dsd@laptop.org>
16915 Date: Thu Nov 1 14:46:22 2012 +0000
16917 Fix property lookup in class hierarchy
16919 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
16920 a Python subclass of a gi-provided base class overrides a property
16924 The new behaviour in the above commit causes pygobject to seek
16926 in the base class and try to read it from there (resulting in
16928 rather than noticing that the property is overridden and present
16930 Python object instance.
16932 To provide a nicer solution here, we can exploit the fact that
16933 g_object_class_find_property() will traverse the hierarchy in order to
16934 find the right GParamSpec, and the returned GParamSpec can tell
16936 which GType introduces the property. The strategy is:
16938 1. Find pspec with g_object_class_find_property()
16939 2. Find the class that owns that property (pspec->owner_type)
16940 3. See if girepository owns that class.
16941 3a. If yes, get property from there.
16942 3b. If not, get property "directly"
16944 And the same for property setting.
16946 Now that _pygi_lookup_property_from_g_type is always passed the
16948 implements the property, it no longer has to go recursing through
16950 classes, which was the original cause of confusion.
16952 https://bugzilla.gnome.org/show_bug.cgi?id=686942
16954 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
16955 gi/pygi-property.c | 130
16956 ++++++++++++++++++++++-------------------------
16957 gi/pygi-property.h | 4 +-
16958 gi/pygi.h | 12 ++---
16959 tests/test_properties.py | 30 +++++++++++
16960 5 files changed, 164 insertions(+), 104 deletions(-)
16962 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
16963 Author: Martin Pitt <martinpitt@gnome.org>
16964 Date: Sat Nov 3 16:14:01 2012 +0100
16966 Move property and signal creation into _class_init()
16968 We must not add class interfaces after g_type_class_ref() has been
16970 first time. Move signal and property creation from pyg_type_register()
16972 pyg_object_class_init(), and drop the hack of registering interfaces
16975 This changed class initialization order now exposes GLib's warning
16977 unknown signals, so adjust
16978 test_signal.TestGSignalsError.test_invalid_name() to
16981 https://bugzilla.gnome.org/show_bug.cgi?id=686149
16983 gi/_gobject/gobjectmodule.c | 177
16984 ++++++++++++++++++--------------------------
16985 tests/test_signal.py | 6 +-
16986 2 files changed, 75 insertions(+), 108 deletions(-)
16988 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
16989 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16990 Date: Sat Nov 3 13:21:52 2012 -0300
16992 Remove unused macro definitions
16994 PYGLIB_*_VERSION are not used anywhere any more, remove those.
16995 (dropped in commit 8d52bceb1)
16997 gi/_glib/glibmodule.c | 5 -----
16998 1 file changed, 5 deletions(-)
17000 commit fa054fd15b8874760bee97d9af168a2969e6ece4
17001 Author: Martin Pitt <martinpitt@gnome.org>
17002 Date: Mon Nov 5 14:38:07 2012 +0100
17004 testhelpermodule.c: Drop obsolete g_thread_init()
17006 We already require a new enough glib version as we dropped
17008 the main code a long time ago. But for formality's sake, bump glib
17012 configure.ac | 4 ++--
17013 tests/testhelpermodule.c | 1 -
17014 2 files changed, 2 insertions(+), 3 deletions(-)
17016 commit 2e57530a27a44e94927d487cf2f2d9e543777654
17017 Author: Martin Pitt <martinpitt@gnome.org>
17018 Date: Mon Nov 5 14:37:11 2012 +0100
17020 pygi-source.c: Drop dead code
17022 gi/pygi-source.c | 2 --
17023 1 file changed, 2 deletions(-)
17025 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
17026 Author: Simon Feltman <sfeltman@src.gnome.org>
17027 Date: Sun Nov 4 22:22:53 2012 -0800
17029 Move TYPE constants from _gobject to GObject
17031 Clear out TYPE constants from _gobject/__init__.py and move them
17033 GObject overrides. Disperse class imports among modules that use
17035 of using _gobject/__init__.py as a staging area (e.g. GInterface).
17037 https://bugzilla.gnome.org/show_bug.cgi?id=687487
17039 gi/_gobject/__init__.py | 30 ------------------------------
17040 gi/_gobject/constants.py | 2 +-
17041 gi/module.py | 38 +++++++++++++++++++++++++-------------
17042 gi/overrides/__init__.py | 9 ++++++---
17043 gi/types.py | 10 ++++++----
17044 5 files changed, 38 insertions(+), 51 deletions(-)
17046 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
17047 Author: Martin Pitt <martinpitt@gnome.org>
17048 Date: Mon Nov 5 13:10:05 2012 +0100
17050 Move G_MIN/MAX constants into GObject overrides
17052 These really ought to come from GLib's typelib, but are not right
17054 need to keep the static bindings for those. But drop them from
17056 move them into the overrides where they belong.
17058 gi/_gobject/__init__.py | 17 -----------------
17059 gi/_gobject/constants.py | 21 ---------------------
17060 gi/_gobject/propertyhelper.py | 2 +-
17061 gi/overrides/GObject.py | 9 +++++++++
17062 tests/test_gi.py | 32 ++++++++++++++++----------------
17063 5 files changed, 26 insertions(+), 55 deletions(-)
17065 commit 12b84727edc36f686a7031b5c4c6bf662838908d
17066 Author: Martin Pitt <martinpitt@gnome.org>
17067 Date: Mon Nov 5 11:04:54 2012 +0100
17069 Replace static OPTION_* constants with GI
17071 Drop static definitions of GLib.OPTION_* constants and use the ones
17075 https://bugzilla.gnome.org/show_bug.cgi?id=686765
17077 gi/_glib/__init__.py | 13 -------------
17078 gi/_glib/glibmodule.c | 32 --------------------------------
17079 gi/_glib/option.py | 46
17080 ++++++++++++++++++++++++----------------------
17081 gi/overrides/GLib.py | 13 +++++++++++++
17082 gi/overrides/GObject.py | 2 +-
17083 5 files changed, 38 insertions(+), 68 deletions(-)
17085 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
17086 Author: Martin Pitt <martinpitt@gnome.org>
17087 Date: Mon Nov 5 10:14:52 2012 +0100
17089 tests: Do not use deprecated assertRaisesRegexp()
17091 Use assertRaisesRegex() instead and provide 2.7 compatibility in
17094 tests/runtests.py | 3 +++
17095 tests/test_signal.py | 8 ++++----
17096 2 files changed, 7 insertions(+), 4 deletions(-)
17098 commit da2106902eb3dabebdff1674743cb3040566a745
17099 Author: Simon Feltman <sfeltman@src.gnome.org>
17100 Date: Sun Nov 4 02:57:29 2012 -0800
17102 Move gobject static functions and constants to gi
17104 Replace the following functions with gi and overrides:
17105 type_children, type_interfaces, signal_list_ids, signal_list_names,
17106 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
17107 PARAM_* from gi SignalFlags and ParamFlags respectively.
17108 Move module level assignments of a number of static functions to
17109 the GObject.py overrides file.
17111 https://bugzilla.gnome.org/show_bug.cgi?id=687487
17113 docs/reference/pygobject-functions.xml | 25 ---
17114 gi/_gobject/__init__.py | 72 +--------
17115 gi/_gobject/gobjectmodule.c | 272
17116 ---------------------------------
17117 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
17118 gi/overrides/__init__.py | 5 +-
17119 tests/test_signal.py | 11 +-
17120 6 files changed, 215 insertions(+), 378 deletions(-)
17122 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
17123 Author: Simon Feltman <sfeltman@src.gnome.org>
17124 Date: Sun Nov 4 02:52:19 2012 -0800
17126 Make unitests for gobject functions moving to gi more strict
17128 Add expected failure test for invalid SystemError's coming from
17129 signal_lookup and signal_list_ids. Remove excessive type_name
17130 tests and type_from_name tests.
17132 https://bugzilla.gnome.org/show_bug.cgi?id=687487
17134 tests/test_gtype.py | 53
17135 ----------------------------------------------------
17136 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
17137 2 files changed, 25 insertions(+), 68 deletions(-)
17139 commit 3267808318b284814e52f2803b17af56fca648ad
17140 Author: Martin Pitt <martinpitt@gnome.org>
17141 Date: Sat Nov 3 14:17:25 2012 +0100
17143 [API change] Remove static filename_from_utf8() binding
17145 Replace static GLib.filename_from_utf8() with GI. The old static
17147 tried to convert the result to an Unicode object, which will fail
17149 is not UTF-8 encoded (which is the whole point of this function
17153 Although the static binding was rather useless before, this is
17157 docs/reference/pyglib-functions.xml | 32 --------------------------------
17158 gi/_glib/__init__.py | 1 -
17159 gi/_glib/glibmodule.c | 26 --------------------------
17160 gi/_gobject/__init__.py | 1 -
17161 gi/overrides/GLib.py | 8 ++++++++
17162 gi/overrides/GObject.py | 3 ++-
17163 tests/test_glib.py | 8 ++++++++
17164 7 files changed, 18 insertions(+), 61 deletions(-)
17166 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
17167 Author: Martin Pitt <martinpitt@gnome.org>
17168 Date: Sat Nov 3 13:14:15 2012 +0100
17170 Drop static glib_version and pyglib_version constants
17172 Use the GLib version from GI instead, and the already existing
17175 docs/reference/pyglib-constants.xml | 50
17176 ----------------------------------
17177 docs/reference/pygobject-constants.xml | 19 -------------
17178 gi/_glib/__init__.py | 2 --
17179 gi/_glib/glibmodule.c | 21 --------------
17180 gi/_gobject/__init__.py | 1 -
17181 gi/overrides/GLib.py | 8 +++++-
17182 gi/overrides/GObject.py | 3 +-
17183 tests/test_glib.py | 12 ++++++++
17184 8 files changed, 21 insertions(+), 95 deletions(-)
17186 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
17187 Author: Martin Pitt <martinpitt@gnome.org>
17188 Date: Sat Nov 3 12:12:44 2012 +0100
17190 Drop static G_MININT8 and related constants
17192 Use the introspected constants from GLib instead.
17194 gi/_gobject/__init__.py | 12 ------------
17195 gi/_gobject/constants.py | 12 ------------
17196 gi/_gobject/gobjectmodule.c | 18 +-----------------
17197 gi/overrides/GObject.py | 17 +++++++++++++++++
17198 tests/test_gobject.py | 4 ++++
17199 5 files changed, 22 insertions(+), 41 deletions(-)
17201 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
17202 Author: Martin Pitt <martinpitt@gnome.org>
17203 Date: Sat Nov 3 11:58:40 2012 +0100
17205 test_gobject: Add test case for min/max int constants
17207 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
17209 tests/test_gobject.py | 9 +++++++++
17210 1 file changed, 9 insertions(+)
17212 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
17213 Author: Jose Rostagno <joserostagno@vijona.com.ar>
17214 Date: Sat Oct 27 15:37:32 2012 -0300
17216 Use g_object_info_find_signal()
17218 Replace our custom code with a call to the corresponding
17219 gobject-instrospection
17222 https://bugzilla.gnome.org/show_bug.cgi?id=687371
17224 gi/pygi-signal-closure.c | 21 ++++-----------------
17225 1 file changed, 4 insertions(+), 17 deletions(-)
17227 commit ae6d0aada9587cd4dca168375527b80785b604a0
17228 Author: Martin Pitt <martinpitt@gnome.org>
17229 Date: Sat Nov 3 11:23:06 2012 +0100
17231 GLib overrides: code cleanup
17233 Factorize the logic to handle zero or multiple user_data arguments
17235 user_data_varargs_shim(), and put code that handles deprecated API
17237 corresponding "then" branches, to improve readability.
17239 gi/overrides/GLib.py | 87
17240 ++++++++++++++++++++++++++++------------------------
17241 1 file changed, 47 insertions(+), 40 deletions(-)
17243 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
17244 Author: Martin Pitt <martinpitt@gnome.org>
17245 Date: Sat Nov 3 09:33:08 2012 +0100
17247 Restore actual GLib API after previous fix
17249 Re-fix the acceptance of priority as first argument for idle_add(),
17250 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
17252 this keeps supporting the backwards compatible API with supplying
17256 https://bugzilla.gnome.org/show_bug.cgi?id=687047
17258 gi/overrides/GLib.py | 117
17259 +++++++++++++++++++++++++-----------------------
17260 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
17261 tests/test_source.py | 30 +++++++++++++
17262 3 files changed, 158 insertions(+), 63 deletions(-)
17264 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
17265 Author: Simon Feltman <sfeltman@src.gnome.org>
17266 Date: Fri Nov 2 21:01:38 2012 -0700
17268 Add unittests for module level type and signal functions
17270 Add tests for the following methods: signal_list_ids,
17271 signal_name, signal_lookup, signal_query, type_children,
17272 type_from_name, type_name, type_is_a, and type_interfaces.
17274 https://bugzilla.gnome.org/show_bug.cgi?id=687487
17276 tests/Makefile.am | 1 +
17277 tests/test_gtype.py | 106
17278 +++++++++++++++++++++++++++++++++++++++++++++++++++
17279 tests/test_signal.py | 43 +++++++++++++++++++++
17280 3 files changed, 150 insertions(+)
17282 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
17283 Author: Simon Feltman <sfeltman@src.gnome.org>
17284 Date: Tue Oct 30 18:33:44 2012 -0700
17286 Fix GLib override incompatibilities with old static API
17288 Change idle_add, timeout_add, timeout_add_seconds, and
17289 io_add_watch to accept *args and **kwargs as arguments
17290 to the callback functions instead of only accepting a single
17291 user_data arg. This ensures the new overridden introspection
17292 methods are backwards compatible with the static versions
17295 https://bugzilla.gnome.org/show_bug.cgi?id=687047
17297 gi/overrides/GLib.py | 98
17298 ++++++++++++++++++++++++++++---------------------
17299 tests/test_iochannel.py | 37 +++++++++++++++++--
17300 2 files changed, 90 insertions(+), 45 deletions(-)
17302 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
17303 Author: Simon Feltman <sfeltman@src.gnome.org>
17304 Date: Tue Oct 30 12:01:44 2012 -0700
17306 Fix IOChannel unittests for python 2.7
17308 Use __future__ unicode_literals to minimize difference
17309 between python 2.7 and 3. Comparisons need to encode arguments as
17310 'UTF-8' for testing readline operations.
17311 Add backwards compatible "next" to support the python 2.7 iteration.
17312 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
17313 support all python versions (and duck typing).
17315 https://bugzilla.gnome.org/show_bug.cgi?id=687047
17317 gi/overrides/GLib.py | 4 +++-
17318 tests/test_iochannel.py | 1 +
17319 2 files changed, 4 insertions(+), 1 deletion(-)
17321 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
17322 Author: Martin Pitt <martinpitt@gnome.org>
17323 Date: Mon Oct 29 23:00:31 2012 +0100
17325 Allow calling io_add_watch with a file object
17327 The old static bindings allowed that, so we need to allow it to
17329 backwards compatibility. Deprecate this mode as well, so that we
17333 https://bugzilla.gnome.org/show_bug.cgi?id=687047
17335 gi/overrides/GLib.py | 7 +++++++
17336 tests/test_glib.py | 26 ++++++++++++++++++++++++++
17337 2 files changed, 33 insertions(+)
17339 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
17340 Author: John Ralls <jralls@ceridwen.us>
17341 Date: Mon Oct 29 14:57:22 2012 -0700
17343 Fix duplicate symbols error on OSX
17345 gi/pygi-source.c | 1 +
17346 1 file changed, 1 insertion(+)
17348 commit 5a367aa067e369f2b1e713199614e3426fecc10e
17349 Author: Martin Pitt <martinpitt@gnome.org>
17350 Date: Sun Oct 28 17:42:34 2012 +0100
17352 Drop removed markup-escape-text() from reference documentation
17354 docs/reference/pyglib-functions.xml | 36
17355 ------------------------------------
17356 1 file changed, 36 deletions(-)
17358 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
17359 Author: Martin Pitt <martinpitt@gnome.org>
17360 Date: Sun Oct 28 17:41:03 2012 +0100
17362 Drop some dead code from gi/_glib/glibmodule.c
17364 gi/_glib/glibmodule.c | 45 ---------------------------------------------
17365 1 file changed, 45 deletions(-)
17367 commit 7b12803bce3418bb487127f497f022c973f35888
17368 Author: Martin Pitt <martinpitt@gnome.org>
17369 Date: Sun Oct 28 17:37:29 2012 +0100
17371 Remove static get_current_time() binding
17373 Use GLib.get_real_time() through GI instead. Deprecate the function,
17375 GLib.get_real_time() should be called directly.
17377 docs/reference/pyglib-functions.xml | 26 --------------------------
17378 gi/_glib/__init__.py | 1 -
17379 gi/_glib/glibmodule.c | 11 -----------
17380 gi/_glib/pyglib.c | 16 ----------------
17381 gi/_glib/pyglib.h | 1 -
17382 gi/_gobject/__init__.py | 1 -
17383 gi/overrides/GLib.py | 8 ++++++++
17384 gi/overrides/GObject.py | 2 +-
17385 tests/test_glib.py | 6 +++++-
17386 9 files changed, 14 insertions(+), 58 deletions(-)
17388 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
17389 Author: Martin Pitt <martinpitt@gnome.org>
17390 Date: Sun Oct 28 17:23:23 2012 +0100
17392 Add more tests for GLib.spawn_async()
17394 Check spawn_async() with getting stdin/out/err pipes and specifying
17397 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
17398 1 file changed, 29 insertions(+)
17400 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
17401 Author: Martin Pitt <martinpitt@gnome.org>
17402 Date: Sun Oct 28 14:15:05 2012 +0100
17404 Remove static child_add_watch() binding
17406 Use the GLib API through GI instead, and provide override to keep
17408 compatible API. Also allow using the actual GLib API, and deprecate
17410 static API of calling without a priority as first argument.
17412 docs/reference/pyglib-functions.xml | 61 ---------------------------
17413 gi/_glib/__init__.py | 1 -
17414 gi/_glib/glibmodule.c | 72 -------------------------------
17415 gi/_gobject/__init__.py | 1 -
17416 gi/overrides/GLib.py | 46 ++++++++++++++++++++
17417 gi/overrides/GObject.py | 2 +-
17418 tests/test_mainloop.py | 2 +-
17419 tests/test_subprocess.py | 84
17420 ++++++++++++++++++++++++++++++++++---
17421 8 files changed, 127 insertions(+), 142 deletions(-)
17423 commit 4b16427714b850e33c6020d8de1833bae19a3b87
17424 Author: Martin Pitt <martinpitt@gnome.org>
17425 Date: Sun Oct 28 13:44:23 2012 +0100
17427 test_subprocess: Cover more child_watch_add() cases
17429 Verify that priority is set correctly, and also test calling without
17432 tests/test_subprocess.py | 24 +++++++++++++++++++-----
17433 1 file changed, 19 insertions(+), 5 deletions(-)
17435 commit 83ff5938612d37d52f112867a472777dd6786d69
17436 Author: Colin Walters <walters@verbum.org>
17437 Date: Sat Oct 27 12:22:53 2012 -0400
17439 gi/__init__.py: Pacify pep8 style checker
17441 It was complaining about finding only 1 blank line. Regression
17442 likely introduced by f976d05b.
17444 https://bugzilla.gnome.org/show_bug.cgi?id=686991
17446 gi/__init__.py | 1 +
17447 1 file changed, 1 insertion(+)
17449 commit f976d05b04f26e733d19988e68989e340eb3a29e
17450 Author: Martin Pitt <martinpitt@gnome.org>
17451 Date: Fri Oct 26 10:39:28 2012 +0200
17453 Use a custom deprecation warning to make them visible by default
17455 DeprecationWarning is not shown by default, and is thus rather
17457 developers. Use a custom PyGIDeprecationWarning class and derive
17459 RuntimeWarning to make it visible.
17461 gi/__init__.py | 5 +++++
17462 gi/overrides/GLib.py | 5 +++--
17463 gi/overrides/Gtk.py | 5 +++--
17464 gi/overrides/__init__.py | 4 ++--
17465 gi/pygtkcompat.py | 4 ++--
17466 tests/Makefile.am | 2 +-
17467 tests/test_glib.py | 5 +++--
17468 tests/test_gobject.py | 3 ++-
17469 tests/test_iochannel.py | 5 +++--
17470 tests/test_source.py | 3 ++-
17471 10 files changed, 26 insertions(+), 15 deletions(-)
17473 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
17474 Author: Martin Pitt <martinpitt@gnome.org>
17475 Date: Fri Oct 26 09:26:17 2012 +0200
17477 Remove static io_add_watch() binding
17479 Use the GLib API through GI instead, and provide override to keep
17481 compatible API. Also allow using the actual GLib API, and deprecate
17484 - calling with an fd as first argument instead of an IOChannel
17485 - calling without a priority as second argument
17487 docs/reference/pyglib-functions.xml | 106
17488 ------------------------------------
17489 gi/_glib/__init__.py | 1 -
17490 gi/_glib/glibmodule.c | 98
17491 ---------------------------------
17492 gi/_gobject/__init__.py | 1 -
17493 gi/overrides/GLib.py | 51 ++++++++++++++---
17494 gi/overrides/GObject.py | 3 +-
17495 tests/test_glib.py | 15 ++++-
17496 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
17497 8 files changed, 126 insertions(+), 219 deletions(-)
17499 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
17500 Author: Martin Pitt <martinpitt@gnome.org>
17501 Date: Fri Oct 26 08:48:35 2012 +0200
17503 Add tests for GLib.io_add_watch()
17505 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
17506 1 file changed, 36 insertions(+)
17508 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
17509 Author: Martin Pitt <martinpitt@gnome.org>
17510 Date: Thu Oct 25 15:55:46 2012 +0200
17512 Remove static GIOChannel bindings
17514 Use the GLib API through GI instead, and provide overrides to keep
17516 compatible API, including its bugs.
17518 We still need to keep a static wrapper around
17519 g_io_channel_read_chars() until
17520 we teach PyGObject to correctly handle caller allocated out array
17523 https://bugzilla.gnome.org/show_bug.cgi?id=686795
17525 gi/_glib/Makefile.am | 2 -
17526 gi/_glib/__init__.py | 1 -
17527 gi/_glib/glibmodule.c | 2 -
17528 gi/_glib/pygiochannel.c | 748
17529 ------------------------------------------------
17530 gi/_glib/pygiochannel.h | 29 --
17531 gi/_gobject/__init__.py | 1 -
17532 gi/gimodule.c | 72 +++++
17533 gi/overrides/GLib.py | 95 +++++-
17534 8 files changed, 161 insertions(+), 789 deletions(-)
17536 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
17537 Author: Martin Pitt <martinpitt@gnome.org>
17538 Date: Thu Oct 25 12:59:46 2012 +0200
17540 test_iochannel.py: Fix data type of IOFlags
17542 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
17544 the result is of type GLib.IOFlags again.
17546 tests/test_iochannel.py | 2 +-
17547 1 file changed, 1 insertion(+), 1 deletion(-)
17549 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
17550 Author: Martin Pitt <martinpitt@gnome.org>
17551 Date: Thu Oct 25 08:24:31 2012 +0200
17553 Add environment variable to disable pep8 checks
17555 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
17557 makes the test/fix turnaround time faster.
17559 tests/Makefile.am | 6 ++++--
17560 1 file changed, 4 insertions(+), 2 deletions(-)
17562 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
17563 Author: Simon Feltman <sfeltman@src.gnome.org>
17564 Date: Wed Oct 24 04:31:26 2012 -0700
17566 [API add] Add get_introspection_module for getting un-overridden
17569 Add gi.module.get_introspection_module to explicitly get a
17570 wrapped module pulled in through introspection without static
17571 and python override handling. This API is intended for python
17572 overrides to use rather than having them access
17573 gi.importer.modules['<name>']._introspection_module directly.
17574 Replace aforementioned usage in all overrides.
17576 https://bugzilla.gnome.org/show_bug.cgi?id=686828
17579 +++++++++++++++++++++++++++++++++++---
17580 gi/overrides/GIMarshallingTests.py | 4 ++--
17581 gi/overrides/GLib.py | 4 ++--
17582 gi/overrides/Gdk.py | 6 +++---
17583 gi/overrides/Gio.py | 4 ++--
17584 gi/overrides/Gtk.py | 5 +++--
17585 gi/overrides/Pango.py | 4 ++--
17586 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
17587 8 files changed, 78 insertions(+), 16 deletions(-)
17589 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
17590 Author: Martin Pitt <martinpitt@gnome.org>
17591 Date: Wed Oct 24 15:16:13 2012 +0200
17593 test_option: Use public API
17595 Use GLib.option, not gi._glib.option.
17597 tests/test_option.py | 42 ++++++++++++++++++++----------------------
17598 1 file changed, 20 insertions(+), 22 deletions(-)
17600 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
17601 Author: Martin Pitt <martinpitt@gnome.org>
17602 Date: Wed Oct 24 14:12:05 2012 +0200
17604 Drop static SPAWN_* constants
17606 Use the introspected constants instead, which are identical. Add
17608 compatible aliases.
17610 These constants are covered by tests/test_subprocess.py.
17612 https://bugzilla.gnome.org/show_bug.cgi?id=686765
17614 docs/reference/pyglib-constants.xml | 68
17615 ----------------------------------
17616 docs/reference/pyglib-functions.xml | 26 ++++++-------
17617 docs/reference/pygobject-constants.xml | 67
17618 ---------------------------------
17619 gi/_glib/__init__.py | 7 ----
17620 gi/_glib/glibmodule.c | 15 --------
17621 gi/_gobject/__init__.py | 7 ----
17622 gi/overrides/GLib.py | 6 +++
17623 gi/overrides/GObject.py | 6 ++-
17624 tests/test_subprocess.py | 6 ++-
17625 9 files changed, 29 insertions(+), 179 deletions(-)
17627 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
17628 Author: Martin Pitt <martinpitt@gnome.org>
17629 Date: Wed Oct 24 13:59:31 2012 +0200
17631 Drop static IO_* constants
17633 Use the introspected constants instead, which are identical. Add
17635 compatible aliases.
17637 These constants are covered by tests/test_iochannel.py.
17639 docs/reference/pyglib-constants.xml | 52
17640 -------------------------------------
17641 gi/_glib/__init__.py | 19 --------------
17642 gi/_glib/glibmodule.c | 32 -----------------------
17643 gi/_gobject/__init__.py | 18 -------------
17644 gi/overrides/GLib.py | 18 ++++++++++++-
17645 gi/overrides/GObject.py | 8 +++++-
17646 tests/test_iochannel.py | 1 +
17647 tests/test_source.py | 2 +-
17648 8 files changed, 26 insertions(+), 124 deletions(-)
17650 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
17651 Author: Martin Pitt <martinpitt@gnome.org>
17652 Date: Wed Oct 24 12:50:50 2012 +0200
17654 Fix various bugs in GLib.IOChannel
17656 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
17658 NULL on the last element, instead of raising a StopIteration.
17660 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
17662 stream is being used in binary mode; in that case, we should not
17664 do any automagic conversion to an Unicode object. As this special
17666 inconsistent and has never worked anyway, and the current buggy
17667 implementation breaks binary streams, just drop it without
17669 (Introduced in commit de9eae4dfcce8)
17671 These bugs were uncovered by the previously committed tests.
17673 gi/_glib/pygiochannel.c | 25 +++++--------------------
17674 1 file changed, 5 insertions(+), 20 deletions(-)
17676 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
17677 Author: Martin Pitt <martinpitt@gnome.org>
17678 Date: Wed Oct 24 12:49:04 2012 +0200
17680 Add tests for GLib.IOChannel
17682 This did not have any code coverage at all. The tests uncover a
17684 which will be fixed in the next commit.
17686 tests/Makefile.am | 1 +
17687 tests/test_iochannel.py | 262
17688 ++++++++++++++++++++++++++++++++++++++++++++++++
17689 2 files changed, 263 insertions(+)
17691 commit 1b27432abf6004553e9476d5ffeb2bf603534419
17692 Author: Martin Pitt <martinpitt@gnome.org>
17693 Date: Wed Oct 24 08:50:37 2012 +0200
17695 Remove static idle_add/timeout_add bindings
17697 Use the GLib functions through GI instead. Add overrides to ensure
17699 arguments continue to work as before, and that callbacks are called
17701 userdata argument if it wasn't specified.
17703 docs/reference/pyglib-functions.xml | 165
17704 ------------------------------------
17705 gi/_glib/__init__.py | 3 -
17706 gi/_glib/glibmodule.c | 139 ------------------------------
17707 gi/_gobject/__init__.py | 3 -
17708 gi/overrides/GLib.py | 31 +++++++
17709 gi/overrides/GObject.py | 3 +-
17710 tests/test_source.py | 19 +++++
17711 7 files changed, 52 insertions(+), 311 deletions(-)
17713 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
17714 Author: Martin Pitt <martinpitt@gnome.org>
17715 Date: Wed Oct 24 09:14:57 2012 +0200
17717 Add tests for priority argument of idle_add/timeout_add
17719 There is a potential to treat the priority as user data in a call like
17720 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
17722 using a keyword argument for the priority (but silently ignore it
17724 specify both userdata and priority as a positional argument).
17726 Test the correct handling of priority as well.
17728 tests/test_source.py | 63
17729 ++++++++++++++++++++++++++++++++++++++++++++++++----
17730 1 file changed, 59 insertions(+), 4 deletions(-)
17732 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
17733 Author: Martin Pitt <martinpitt@gnome.org>
17734 Date: Wed Oct 24 08:40:50 2012 +0200
17736 Drop old ChangeLog.pre-2.18
17738 This is ancient by now, quite sizable, and the complete history can
17740 seen in the git log.
17742 ChangeLog.pre-2.18 | 3608
17743 ----------------------------------------------------
17745 2 files changed, 3609 deletions(-)
17747 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
17748 Author: Martin Pitt <martinpitt@gnome.org>
17749 Date: Wed Oct 24 08:39:05 2012 +0200
17751 Fix PEP-8 whitespace in previous commit
17753 tests/test_source.py | 4 ++++
17754 1 file changed, 4 insertions(+)
17756 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
17757 Author: Martin Pitt <martinpitt@gnome.org>
17758 Date: Wed Oct 24 08:33:49 2012 +0200
17760 Add tests for idle_add()/timeout_add with and without user data
17762 This is implicitly spread over various test cases, but let's test
17764 to ensure that the behaviour stays consistent when moving this to GI.
17766 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
17767 1 file changed, 35 insertions(+)
17769 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
17770 Author: Martin Pitt <martinpitt@gnome.org>
17771 Date: Wed Oct 24 08:05:43 2012 +0200
17773 tests: consitent naming style
17775 Stop mixing camel case and underline naming, use the latter
17779 tests/test_gobject.py | 64
17780 +++++++++++++++++++++++------------------------
17781 tests/test_interface.py | 4 +--
17782 tests/test_option.py | 14 +++++------
17783 tests/test_pygtkcompat.py | 32 ++++++++++++------------
17784 tests/test_signal.py | 10 ++++----
17785 tests/test_source.py | 23 ++++++++---------
17786 tests/test_subprocess.py | 2 +-
17787 tests/test_thread.py | 2 +-
17788 tests/test_unknown.py | 2 +-
17789 9 files changed, 76 insertions(+), 77 deletions(-)
17791 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
17792 Author: Martin Pitt <martinpitt@gnome.org>
17793 Date: Wed Oct 24 07:28:10 2012 +0200
17795 Work around wrong 64 bit constants in GLib Gir
17797 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
17799 set them in an override, until this gets fixed properly.
17801 https://bugzilla.gnome.org/show_bug.cgi?id=685022
17803 gi/overrides/GLib.py | 8 ++++++++
17804 tests/test_gi.py | 9 +++++++++
17805 2 files changed, 17 insertions(+)
17807 commit f30efd2619911c89ca873fac6bec06a1b60fab82
17808 Author: Martin Pitt <martinpitt@gnome.org>
17809 Date: Tue Oct 23 13:32:14 2012 +0200
17811 Mark GLib.Source.get_current_time() as deprecated
17813 This method has been deprecated in GLib long ago. We have a workaround
17814 implementation using GLib.get_real_time(), but eventually this should
17817 gi/overrides/GLib.py | 5 ++++-
17818 tests/test_source.py | 8 +++++++-
17819 2 files changed, 11 insertions(+), 2 deletions(-)
17821 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
17822 Author: Martin Pitt <martinpitt@gnome.org>
17823 Date: Tue Oct 23 08:56:19 2012 +0200
17825 Mark GLib API that is exposed in GObject as deprecated
17827 A lot of API in GObject really belongs into GLib and is just there for
17828 historical/backwards compatible reasons. Mark these methods as
17830 that at some point we can drop them.
17832 gi/overrides/GObject.py | 3 ++-
17833 gi/overrides/__init__.py | 13 +++++++++++++
17834 tests/test_gobject.py | 24 ++++++++++++++----------
17835 3 files changed, 29 insertions(+), 11 deletions(-)
17837 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
17838 Author: Martin Pitt <martinpitt@gnome.org>
17839 Date: Fri Oct 19 09:55:05 2012 +0200
17841 Remove static MainLoop, MainContext, and some GSource bindings
17843 glib's MainLoop and MainContext are fully introspectable these days,
17845 our static bindings. This reduces our code, as well enables GLib
17847 hasn't been available through the static bindings before.
17849 This also requires dropping our custom static types for GLib Source,
17851 and Idle. The latter two work fine with introspection and just
17853 overrides for a backwards compatible API. g_source_new() is not
17855 though, so we need to keep our static wrappers for that. Move
17857 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
17860 Note that gi/_glib/pygsource.[hc] is still required for the static
17862 which is used by the static IOChannel binding. Once the latter
17864 PollFD can be dropped as well.
17866 https://bugzilla.gnome.org/show_bug.cgi?id=686443
17868 docs/Makefile.am | 6 +-
17869 docs/reference/pyglib-classes.xml | 2 -
17870 docs/reference/pyglib-constants.xml | 53 ---
17871 docs/reference/pyglib-functions.xml | 58 ---
17872 docs/reference/pyglib-maincontext.xml | 152 --------
17873 docs/reference/pyglib-mainloop.xml | 202 -----------
17874 gi/Makefile.am | 2 +
17875 gi/_glib/Makefile.am | 4 -
17876 gi/_glib/__init__.py | 12 -
17877 gi/_glib/glibmodule.c | 45 +--
17878 gi/_glib/pyglib.c | 15 -
17879 gi/_glib/pyglib.h | 1 -
17880 gi/_glib/pygmaincontext.c | 126 -------
17881 gi/_glib/pygmaincontext.h | 40 ---
17882 gi/_glib/pygmainloop.c | 362 -------------------
17883 gi/_glib/pygmainloop.h | 36 --
17884 gi/_glib/pygsource.c | 640
17885 ----------------------------------
17886 gi/_glib/pygsource.h | 3 -
17887 gi/_gobject/__init__.py | 13 -
17888 gi/gimodule.c | 9 +
17889 gi/overrides/GLib.py | 116 +++++-
17890 gi/overrides/GObject.py | 10 +-
17891 gi/pygi-private.h | 1 +
17892 gi/pygi-source.c | 247 +++++++++++++
17893 gi/pygi-source.h | 31 ++
17894 tests/test_glib.py | 22 +-
17895 tests/test_gobject.py | 2 +
17896 tests/test_source.py | 3 -
17897 28 files changed, 437 insertions(+), 1776 deletions(-)
17899 commit 326218a20681c1f2234a6eea1ed800382be57626
17900 Author: Simon Feltman <s.feltman@gmail.com>
17901 Date: Wed Sep 19 15:37:14 2012 -0700
17903 Deprecate void pointer fields as general PyObject storage.
17905 Complete deprecation of gpointer struct fields as general
17906 PyObject storage. Only int types are now allowed.
17907 Assignment of anything other than an int or None raises
17908 a TypeError stating the error and associated bug URL.
17910 https://bugzilla.gnome.org/show_bug.cgi?id=683599
17912 gi/pygi-argument.c | 25 ++++++++++++++++-----
17913 gi/pygi-info.c | 28 ++++--------------------
17914 tests/test_everything.py | 53
17915 +++++++++++++++++++++++++--------------------
17916 tests/test_overrides_gtk.py | 41 -----------------------------------
17917 4 files changed, 54 insertions(+), 93 deletions(-)
17919 commit 3dba328010a4ffd9259700ffec95871c7341d491
17920 Author: Martin Pitt <martinpitt@gnome.org>
17921 Date: Tue Oct 23 11:59:08 2012 +0200
17923 Add some MainLoop, MainContext, and Source test cases
17925 These cover the remaining static API and behaviour, so that we
17927 regression tests for converting them to GI.
17929 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
17931 tests/test_glib.py | 21 +++++++++++++++++++++
17932 tests/test_gobject.py | 11 +++++++++++
17933 tests/test_mainloop.py | 16 ++++++++++++++++
17934 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
17935 4 files changed, 92 insertions(+)
17937 commit 7635340271df0a135873459e6a2a365fd4b187a2
17938 Author: Steve Frécinaux <code@istique.net>
17939 Date: Wed Feb 9 18:37:33 2011 +0100
17941 [API change] Do not bind gobject_get_data() and gobject_set_data()
17943 They will basically cause a crash if misused, and you can always use a
17944 python member attribute instead.
17946 These methods were marked as deprecated for 3.4 and throwing a
17948 let's remove them for good now.
17950 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17952 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
17954 docs/reference/pygobject.xml | 63
17955 --------------------------------------------
17956 gi/_gobject/pygobject.c | 44 -------------------------------
17957 2 files changed, 107 deletions(-)
17959 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
17960 Author: Martin Pitt <martinpitt@gnome.org>
17961 Date: Tue Oct 23 08:17:40 2012 +0200
17963 Add test for GLib.get_current_time()
17965 This adds a plausibility test, as well as ensuring the documented
17967 This will be useful if/once we drop the static _glib binding.
17969 tests/test_glib.py | 5 +++++
17970 1 file changed, 5 insertions(+)
17972 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
17973 Author: Martin Pitt <martinpitt@gnome.org>
17974 Date: Tue Oct 23 07:48:52 2012 +0200
17976 Drop unnecessary static _glib bindings
17978 Drop static pyglib bindings which have straightforward and working
17980 bindings. Add tests for all dropped functions to ensure they keep
17983 docs/reference/pyglib-constants.xml | 59 -------
17984 docs/reference/pyglib-functions.xml | 270 ------------------------------
17985 gi/_glib/__init__.py | 24 ---
17986 gi/_glib/glibmodule.c | 319
17987 ------------------------------------
17988 gi/_gobject/__init__.py | 9 -
17989 gi/overrides/GLib.py | 16 ++
17990 gi/overrides/GObject.py | 32 ++++
17991 gi/overrides/Makefile.am | 1 +
17992 tests/Makefile.am | 1 -
17993 tests/test_glib.py | 46 ++++++
17994 tests/test_gobject.py | 4 +
17995 tests/test_uris.py | 16 --
17996 12 files changed, 99 insertions(+), 698 deletions(-)
17998 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
17999 Author: Martin Pitt <martinpitt@gnome.org>
18000 Date: Tue Oct 23 06:12:08 2012 +0200
18002 Fix OverflowError in source_remove()
18004 GSource IDs are unsigned, so we must use 'I' for parsing then, not
18007 https://bugzilla.gnome.org/show_bug.cgi?id=684526
18009 gi/_glib/glibmodule.c | 2 +-
18010 tests/test_source.py | 13 ++++++++++++-
18011 2 files changed, 13 insertions(+), 2 deletions(-)
18013 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
18014 Author: Martin Pitt <martinpitt@gnome.org>
18015 Date: Mon Oct 22 13:38:23 2012 +0200
18017 Fix TestSource.testSources() test case
18019 PyGObject has established the assumption that the destruction of
18021 Python object does not destroy the actual GSource, as shown in
18022 TestSource.setup_timeout(), TestTimeout.test504337(), and
18023 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
18025 So we need to explicitly destroy our MySource and Idle objects
18027 them, as their callbacks always return True and we do not want them
18029 over into other tests.
18031 Also fix the assertions to actually verify that MySources' callback
18033 (pos > 0, not pos >= 0), and use the unittest comparison API instead
18035 simple assert statement.
18037 https://bugzilla.gnome.org/show_bug.cgi?id=686627
18039 tests/test_source.py | 8 +++++++-
18040 1 file changed, 7 insertions(+), 1 deletion(-)
18042 commit b984a5fe0d065818a153f259db4dbde79534f084
18043 Author: Martin Pitt <martinpitt@gnome.org>
18044 Date: Mon Oct 22 17:38:56 2012 +0200
18046 configure.ac: post-release bump to 3.7.2
18048 configure.ac | 2 +-
18049 1 file changed, 1 insertion(+), 1 deletion(-)
18051 commit ce0825f58c3eba6084143e430605ffb597622369
18052 Author: Martin Pitt <martinpitt@gnome.org>
18053 Date: Mon Oct 22 17:37:17 2012 +0200
18057 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
18058 1 file changed, 42 insertions(+)
18060 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
18061 Author: Martin Pitt <martinpitt@gnome.org>
18062 Date: Mon Oct 22 17:33:12 2012 +0200
18064 Bump version to 3.7.1
18066 Let's follow the real GNOME versioning from now on.
18068 configure.ac | 2 +-
18069 1 file changed, 1 insertion(+), 1 deletion(-)
18071 commit 3fb13cc05a281970c3a624c2dd152996031b482c
18072 Author: Martin Pitt <martinpitt@gnome.org>
18073 Date: Mon Oct 22 11:36:49 2012 +0200
18075 test_mainloop code cleanup
18077 Ensure that sys.excepthook is always restored, even if the test
18079 assert{True,False,Equal} unittest API instead of simple asserts for
18083 tests/test_mainloop.py | 19 ++++++++++---------
18084 1 file changed, 10 insertions(+), 9 deletions(-)
18086 commit 31061f20083aa60919f6763a12addbf2b052cab7
18087 Author: Simon Feltman <sfeltman@src.gnome.org>
18088 Date: Sun Oct 21 18:55:24 2012 -0700
18090 Change install_properties to not use getattr on classes
18092 The usage of getattr for accessing a classes __gproperties__
18093 variable can be problematic due to the potential of it returning
18094 the parent classes variable when it does not exist on the sub-class.
18095 Similar to the fix for
18096 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
18097 cls.__dict__.get is used to ensure this does not happen.
18099 https://bugzilla.gnome.org/show_bug.cgi?id=686559
18101 gi/_gobject/propertyhelper.py | 2 +-
18102 tests/test_properties.py | 6 ++++--
18103 2 files changed, 5 insertions(+), 3 deletions(-)
18105 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
18106 Author: Simon Feltman <sfeltman@src.gnome.org>
18107 Date: Sat Oct 20 19:56:04 2012 -0700
18109 Move property install function into propertyhelper.py
18111 Move _install_properties() into gi/_gobject/propertyhelper.py
18114 https://bugzilla.gnome.org/show_bug.cgi?id=686559
18116 gi/_gobject/__init__.py | 45 +++----------------------------
18117 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
18118 tests/test_properties.py | 63
18119 +++++++++++++++++++++++++++++++++++++++++++
18120 3 files changed, 111 insertions(+), 42 deletions(-)
18122 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
18123 Author: Simon Feltman <s.feltman@gmail.com>
18124 Date: Sat Oct 20 03:11:07 2012 -0700
18126 Fix Signal decorator to not use base class gsignals dict
18128 Fix install_signals to not use the parent classes __gsignals__
18129 dict if one does not exist on the given class.
18131 https://bugzilla.gnome.org/show_bug.cgi?id=686496
18133 gi/_gobject/signalhelper.py | 2 +-
18134 tests/test_signal.py | 43
18135 +++++++++++++++++++++++++++++++++++++++++++
18136 2 files changed, 44 insertions(+), 1 deletion(-)
18138 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
18139 Author: Martin Pitt <martinpitt@gnome.org>
18140 Date: Fri Oct 19 09:05:01 2012 +0200
18142 tests: Consistently use GLib.MainLoop
18144 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
18146 tests/test_everything.py | 4 ++--
18147 tests/test_gdbus.py | 11 +++++------
18148 2 files changed, 7 insertions(+), 8 deletions(-)
18150 commit ff7e7401b4cf50532fef70263f7559ea513b8333
18151 Author: Kalev Lember <kalevlember@gmail.com>
18152 Date: Wed Oct 17 18:27:14 2012 +0200
18154 Install the .egg-info files into correct multilib directory
18156 This makes sure the .egg-info files end up in the same python
18158 directory as the rest of the gi .py files.
18160 https://bugzilla.gnome.org/show_bug.cgi?id=686315
18162 Makefile.am | 6 +++---
18163 1 file changed, 3 insertions(+), 3 deletions(-)
18165 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
18166 Author: Simon Feltman <s.feltman@gmail.com>
18167 Date: Mon Oct 15 04:03:50 2012 -0700
18169 Fix leaked vfunc return values
18171 Simple fix to dec ref returned values from closures wrapping
18174 https://bugzilla.gnome.org/show_bug.cgi?id=686140
18176 gi/pygi-closure.c | 1 +
18177 tests/test_gi.py | 21 +++++++++++++++++++--
18178 2 files changed, 20 insertions(+), 2 deletions(-)
18180 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
18181 Author: Martin Pitt <martinpitt@gnome.org>
18182 Date: Mon Oct 15 07:42:05 2012 +0200
18184 Skip Regress tests with --disable-cairo
18186 We need cairo to build g-i's Regress library, gir, and typelib. Update
18187 configure.ac to only require cairo if --disable-cairo was not
18189 --disable-cairo, skip building the Regress library and skip all
18193 https://bugzilla.gnome.org/show_bug.cgi?id=685094
18195 configure.ac | 5 ++---
18196 tests/Makefile.am | 45
18197 +++++++++++++++++++++++++++------------------
18198 tests/test_everything.py | 15 +++++++++++----
18199 tests/test_overrides.py | 7 ++++++-
18200 4 files changed, 46 insertions(+), 26 deletions(-)
18202 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
18203 Author: Martin Pitt <martinpitt@gnome.org>
18204 Date: Fri Oct 12 11:05:24 2012 +0200
18206 _pygi_marshal_from_py_uint64: Re-fix check of negative values
18208 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
18212 https://bugzilla.gnome.org/show_bug.cgi?id=685000
18214 gi/pygi-marshal-from-py.c | 6 +++---
18215 1 file changed, 3 insertions(+), 3 deletions(-)
18217 commit 22c22124b787ae67638aff89796d7ce14900ea8e
18218 Author: Simon Feltman <s.feltman@gmail.com>
18219 Date: Mon Oct 8 05:54:30 2012 -0700
18221 Fix leak with python callables as closure argument.
18223 The fix adds an extra args_data list to the PyGIInvokeState
18224 structure. This list is used to track dynamically generated
18225 closures that wrap python callables. This allows the ffi closure
18226 and python callable to be freed when call scope has finished.
18228 https://bugzilla.gnome.org/show_bug.cgi?id=685598
18230 gi/pygi-cache.c | 1 +
18231 gi/pygi-closure.c | 41 +++++++++----
18232 gi/pygi-invoke-state-struct.h | 4 ++
18233 gi/pygi-invoke.c | 7 +++
18234 gi/pygi-marshal-cleanup.c | 14 +++++
18235 gi/pygi-marshal-cleanup.h | 4 ++
18236 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
18237 tests/test_everything.py | 137
18238 +++++++++++++++++++++++++++++++-----------
18239 8 files changed, 206 insertions(+), 59 deletions(-)
18241 commit c0bc69906df2db64560f7c054277ad1956aab57f
18242 Author: Martin Pitt <martinpitt@gnome.org>
18243 Date: Thu Oct 11 17:49:30 2012 +0200
18245 Gio overrides: Handle setting GSettings enum keys
18247 https://bugzilla.gnome.org/show_bug.cgi?id=685947
18249 gi/overrides/Gio.py | 9 ++++++++-
18250 tests/test_overrides_gio.py | 3 +++
18251 2 files changed, 11 insertions(+), 1 deletion(-)
18253 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
18254 Author: Martin Pitt <martinpitt@gnome.org>
18255 Date: Thu Oct 11 17:20:38 2012 +0200
18257 tests: Check reading GSettings enums in Gio overrides
18259 Also split test_override() into several smaller test cases.
18261 tests/org.gnome.test.gschema.xml | 9 +++++++++
18262 tests/test_overrides_gio.py | 14 +++++++++-----
18263 2 files changed, 18 insertions(+), 5 deletions(-)
18265 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
18266 Author: Martin Pitt <martinpitt@gnome.org>
18267 Date: Thu Oct 11 16:08:11 2012 +0200
18269 Fix unsigned values in GArray/GList/GSList/GHash
18271 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
18273 https://bugzilla.gnome.org/show_bug.cgi?id=685860
18275 gi/pygi-argument.c | 9 +++++++++
18276 tests/test_gi.py | 12 ++++++++++++
18277 2 files changed, 21 insertions(+)
18279 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
18280 Author: Colin Walters <walters@verbum.org>
18281 Date: Thu Oct 4 20:13:55 2012 -0400
18283 build: Fix srcdir != builddir
18286 1 file changed, 1 insertion(+), 1 deletion(-)
18288 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
18289 Author: Alban Browaeys <prahal@yahoo.com>
18290 Date: Thu Sep 27 22:44:22 2012 +0200
18292 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
18294 Casting an unsigned to signed and checking if positive was not
18296 unsigned 64 is below G_MAXUINT64 instead.
18298 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
18300 gi/pygi-marshal-from-py.c | 4 ++--
18301 1 file changed, 2 insertions(+), 2 deletions(-)
18303 commit f0870336b9fc7797895f206e0d3ef17a19efe253
18304 Author: Johan Dahlin <johan@gnome.org>
18305 Date: Tue Oct 2 05:30:16 2012 -0700
18307 Install an .egg-info file
18309 This will help easy_install and pip to figure out that PyGObject
18310 is already installed.
18312 https://bugzilla.gnome.org/show_bug.cgi?id=680138
18314 Makefile.am | 13 ++++++++-----
18315 1 file changed, 8 insertions(+), 5 deletions(-)
18317 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
18318 Author: Johan Dahlin <johan@gnome.org>
18319 Date: Thu Oct 4 09:42:41 2012 +0200
18321 PyGProps_getattro(): Fix GObjectClass leak
18323 https://bugzilla.gnome.org/show_bug.cgi?id=685218
18325 gi/_gobject/pygobject.c | 4 +++-
18326 1 file changed, 3 insertions(+), 1 deletion(-)
18328 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
18329 Author: Olivier Crête <olivier.crete@collabora.com>
18330 Date: Mon Sep 17 15:16:32 2012 -0400
18332 pygobject.c: Don't leak GObjectClass reference
18334 https://bugzilla.gnome.org/show_bug.cgi?id=684062
18336 gi/_gobject/pygobject.c | 6 +++++-
18337 1 file changed, 5 insertions(+), 1 deletion(-)
18339 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
18340 Author: Alban Browaeys <prahal@yahoo.com>
18341 Date: Sat Sep 29 01:17:14 2012 +0200
18343 Fix memory leak in _pygi_argument_to_array()
18345 Length arg and type info need to be unref'ed.
18347 https://bugzilla.gnome.org/show_bug.cgi?id=685082
18349 gi/pygi-argument.c | 3 +++
18350 1 file changed, 3 insertions(+)
18352 commit 34270a109d2af20391c80e88874ee7303eaf5c09
18353 Author: Martin Pitt <martinpitt@gnome.org>
18354 Date: Fri Sep 28 07:42:51 2012 +0200
18356 Fix error messages for out of range numbers
18358 PyErr_Format() does not understand %lli and %li, it needs to be %lld
18360 So we cannot use those and G_GINT64_FORMAT.
18362 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
18364 is a gint64 which can't possibly overflow its own data type. It
18366 an unprintable error message.
18368 https://bugzilla.gnome.org/show_bug.cgi?id=684314
18370 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
18371 1 file changed, 8 insertions(+), 13 deletions(-)
18373 commit 7f1422bf929976722edd6144beb0b4c96d74391b
18374 Author: Martin Pitt <martinpitt@gnome.org>
18375 Date: Fri Sep 28 06:59:38 2012 +0200
18377 Kill dbus-daemon after running tests
18379 dbus-launch does not kill the spawned dbus-daemon by itself (see
18380 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
18382 our tests. Take care to preserve the exit code.
18384 https://bugzilla.gnome.org/show_bug.cgi?id=685009
18386 tests/Makefile.am | 5 ++++-
18387 1 file changed, 4 insertions(+), 1 deletion(-)
18389 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
18390 Author: Martin Pitt <martinpitt@gnome.org>
18391 Date: Thu Sep 27 08:18:34 2012 +0200
18393 GVariant overrides: Support empty tuple arrays
18395 Implement the "empty value" branch in _create_tuple(), so that
18397 can call it for parsing the element type for an empty array.
18399 This fixes creating variants such as GLib.Variant('a(ii)', []).
18401 https://bugzilla.gnome.org/show_bug.cgi?id=684928
18403 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
18404 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
18405 2 files changed, 54 insertions(+), 7 deletions(-)
18407 commit 75d452ea5b179c3585adcf95356b4316c9180768
18408 Author: Martin Pitt <martinpitt@gnome.org>
18409 Date: Thu Sep 27 06:50:12 2012 +0200
18411 TestGVariant: Split creation test case into several smaller ones
18413 tests/test_overrides_glib.py | 20 ++++++--------------
18414 1 file changed, 6 insertions(+), 14 deletions(-)
18416 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
18417 Author: Martin Pitt <martinpitt@gnome.org>
18418 Date: Tue Sep 25 09:10:10 2012 +0200
18420 Fix unused variables and results
18422 This gets rid of all warnings except the deprecated symbol ones.
18424 gi/_glib/pygiochannel.c | 9 +++------
18425 gi/pygi-argument.c | 4 +---
18426 gi/pygi-callbacks.c | 4 ----
18427 gi/pygi-ccallback.c | 1 -
18428 gi/pygi-repository.c | 3 +--
18429 5 files changed, 5 insertions(+), 16 deletions(-)
18431 commit 5285f14fee93d2729d4422c40a945adc2be69c14
18432 Author: Martin Pitt <martinpitt@gnome.org>
18433 Date: Tue Sep 25 08:56:20 2012 +0200
18435 tests: Fix wrong return type in test_int64_callback()
18437 https://bugzilla.gnome.org/show_bug.cgi?id=684700
18439 tests/testhelpermodule.c | 2 +-
18440 1 file changed, 1 insertion(+), 1 deletion(-)
18442 commit e14ebab6099d082466ec11ca21d44de0d6017216
18443 Author: Giovanni Campagna <gcampagna@src.gnome.org>
18444 Date: Wed Sep 19 00:10:57 2012 +0200
18446 Fix GValue marshalling of long and unsigned long
18448 long can be equivalent to int64 or int32, depending on the
18450 and GI conflates this distinction in the typelib, but GType does
18452 warns if the wrong accessor is used.
18454 https://bugzilla.gnome.org/show_bug.cgi?id=684331
18456 gi/pygi-argument.c | 25 +++++++++++++++++++++----
18457 1 file changed, 21 insertions(+), 4 deletions(-)
18459 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
18460 Author: Simon Feltman <s.feltman@gmail.com>
18461 Date: Wed Sep 19 19:07:00 2012 -0700
18463 Clean up deprecation message for assigning gpointers to objects.
18465 The previous deprecation message was worded as if the deprecation
18466 had already occurred and it has not.
18468 https://bugzilla.gnome.org/show_bug.cgi?id=683599
18470 gi/pygi-info.c | 4 ++--
18471 1 file changed, 2 insertions(+), 2 deletions(-)
18473 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
18474 Author: Olivier Crête <olivier.crete@collabora.com>
18475 Date: Tue Sep 18 08:52:02 2012 +0200
18477 pygi-property: Lookup property in base classes of non-introspected
18480 Look for introspection data in the base classes of non-introspected
18482 This is necessary to look up introspection data for plugins.
18484 https://bugzilla.gnome.org/show_bug.cgi?id=684058
18486 gi/pygi-property.c | 28 ++++++++++++++--------------
18487 tests/test_everything.py | 12 ++++++++++++
18488 2 files changed, 26 insertions(+), 14 deletions(-)
18490 commit 7aa94cc861082147b9c382b930f3257f0a842c84
18491 Author: Martin Pitt <martinpitt@gnome.org>
18492 Date: Mon Sep 24 09:41:10 2012 +0200
18494 post-release bump to 3.4.1
18496 configure.ac | 2 +-
18497 1 file changed, 1 insertion(+), 1 deletion(-)
18499 commit fcceed3adb8d78baba68861a1408627321b2c1ef
18500 Author: Martin Pitt <martinpitt@gnome.org>
18501 Date: Mon Sep 24 09:35:33 2012 +0200
18506 configure.ac | 4 ++--
18507 2 files changed, 5 insertions(+), 2 deletions(-)
18509 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
18510 Author: Martin Pitt <martinpitt@gnome.org>
18511 Date: Mon Sep 24 09:27:47 2012 +0200
18513 Bump g-i dependency to 1.33.14
18515 To ensure we have all the Regress test APIs that we use.
18517 configure.ac | 2 +-
18518 1 file changed, 1 insertion(+), 1 deletion(-)
18520 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
18521 Author: Martin Pitt <martinpitt@gnome.org>
18522 Date: Mon Sep 17 22:52:49 2012 +0200
18524 post-release bump to 3.3.93
18526 configure.ac | 2 +-
18527 1 file changed, 1 insertion(+), 1 deletion(-)
18529 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
18530 Author: Martin Pitt <martinpitt@gnome.org>
18531 Date: Mon Sep 17 22:48:13 2012 +0200
18535 NEWS | 12 ++++++++++++
18536 1 file changed, 12 insertions(+)
18538 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
18539 Author: Martin Pitt <martinpitt@gnome.org>
18540 Date: Mon Sep 17 22:32:55 2012 +0200
18542 release-news: Generate HTML changelog
18544 In addition to producing a NEWS paragraph from the changelog,
18546 changelog HTML which can be put into blog announcements.
18548 Update HACKING to point this out, too.
18551 Makefile.am | 22 ++++++++++++++++------
18552 2 files changed, 17 insertions(+), 7 deletions(-)
18554 commit be4a0682bdd189ee908ab1961001f759a80e133c
18555 Author: Simon Feltman <s.feltman@gmail.com>
18556 Date: Sun Sep 16 17:27:25 2012 -0700
18558 [API add] Add ObjectInfo.get_abstract method
18560 Adds exposure of g_object_info_get_abstract to python for
18561 helping with analysis of non-constructable objects from
18564 https://bugzilla.gnome.org/show_bug.cgi?id=675581
18566 gi/pygi-info.c | 8 ++++++++
18567 tests/test_gi.py | 12 ++++++++++++
18568 2 files changed, 20 insertions(+)
18570 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
18571 Author: Simon Feltman <s.feltman@gmail.com>
18572 Date: Thu Sep 13 20:53:22 2012 -0700
18574 Add deprecation warning when setting gpointers to anything other
18577 This is a first pass which does not change anything except add
18579 when anything other than an int is set on a gpointer on a boxed type.
18581 https://bugzilla.gnome.org/show_bug.cgi?id=683599
18583 gi/pygi-info.c | 8 ++++++++
18584 1 file changed, 8 insertions(+)
18586 commit a047f61f26d9c78b82d22948199313e5a389e918
18587 Author: Martin Pitt <martinpitt@gnome.org>
18588 Date: Mon Sep 17 09:41:24 2012 +0200
18590 test_properties: Test accessing a property from a superclass
18592 We already cover accessing the superclass' property if that was
18594 Python. Add a corresponding test case for a property defined in C.
18596 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
18598 tests/test_properties.py | 12 ++++++++++++
18599 1 file changed, 12 insertions(+)
18601 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
18602 Author: Martin Pitt <martinpitt@gnome.org>
18603 Date: Mon Sep 17 09:31:05 2012 +0200
18605 test_properties.py: Consistent test names
18607 Use underscore style method/test case names consistently. Also rename
18609 cases to better describe what they do.
18611 tests/test_properties.py | 78
18612 ++++++++++++++++++++++++------------------------
18613 1 file changed, 39 insertions(+), 39 deletions(-)
18615 commit 4069c3d8547f35437e0cee175a5912febe25326d
18616 Author: Martin Pitt <martinpitt@gnome.org>
18617 Date: Wed Sep 12 06:51:24 2012 +0200
18619 test_everything: Ensure TestSignals callback does get called
18621 tests/test_everything.py | 3 +++
18622 1 file changed, 3 insertions(+)
18624 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
18625 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
18626 Date: Fri Sep 7 17:17:09 2012 -0400
18628 argument: Fix 64bit integer convertion from GValue
18630 Trying to get a 64bit integer using the wrong getter was resulting
18632 assertion and 0 being returned.
18634 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18636 https://bugzilla.gnome.org/show_bug.cgi?id=683596
18638 gi/pygi-argument.c | 8 ++++++--
18639 tests/test_everything.py | 52
18640 ++++++++++++++++++++++++++++++++++++++++++++++++
18641 2 files changed, 58 insertions(+), 2 deletions(-)
18643 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
18644 Author: Martin Pitt <martinpitt@gnome.org>
18645 Date: Tue Sep 11 12:32:10 2012 +0200
18647 Add Simon Feltman as a project maintainer
18649 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
18650 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
18652 pygobject.doap | 7 +++++++
18653 1 file changed, 7 insertions(+)
18655 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
18656 Author: Martin Pitt <martinpitt@gnome.org>
18657 Date: Tue Sep 11 10:17:50 2012 +0200
18659 test_signals.py: Drop global type variables
18661 Just use the real types and flags from GObject instead of redefining
18663 for them. They weren't used consistently, make the tests harder to
18665 really do not want global single-letter variables like "f" and "l".
18667 tests/test_signal.py | 38 ++++++++++++++++----------------------
18668 1 file changed, 16 insertions(+), 22 deletions(-)
18670 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
18671 Author: Martin Pitt <martinpitt@gnome.org>
18672 Date: Tue Sep 11 10:11:58 2012 +0200
18674 test_signals.py: Consistent test names
18676 Use underscore style method/test case names consistently.
18678 tests/test_signal.py | 88
18679 ++++++++++++++++++++++++++--------------------------
18680 1 file changed, 44 insertions(+), 44 deletions(-)
18682 commit 4559247553b792db956f69c9674c12344d719c82
18683 Author: Martin Pitt <martinpitt@gnome.org>
18684 Date: Tue Sep 11 09:43:14 2012 +0200
18686 Add test cases for GValue signal arguments
18688 These cover various types, (u)int(64) and string.
18690 Keep the test case for implicit int64 GValues disabled, as this
18692 not work and it is not clear whether it should:
18693 https://bugzilla.gnome.org/show_bug.cgi?id=683775
18695 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
18696 tests/testhelpermodule.c | 17 +++++++++++++++++
18697 2 files changed, 58 insertions(+)
18699 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
18700 Author: Martin Pitt <martinpitt@gnome.org>
18701 Date: Tue Sep 11 09:31:18 2012 +0200
18703 Add test for GValue signal return values
18705 Another attempt to reproduce the reported error in
18706 https://bugzilla.gnome.org/show_bug.cgi?id=683596
18707 but this works already.
18709 tests/test_signal.py | 13 +++++++++++++
18710 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
18711 2 files changed, 49 insertions(+)
18713 commit 4f77c7798563ea436ff5b6306a987f03de50b211
18714 Author: Simon Feltman <s.feltman@gmail.com>
18715 Date: Fri Sep 7 02:32:15 2012 -0700
18717 Improve setting pointer fields/arguments to NULL using None
18719 Setting gi pointers will set them to the address of the python object.
18720 This is good except in the case of None which should be used to NULL
18721 the pointer out as a special case.
18723 Commit 21b1d17d2a already fixed this. This improved patch
18724 does that in a cleaner and safer way and adds more comments.
18726 https://bugzilla.gnome.org/show_bug.cgi?id=683150
18728 gi/pygi-argument.c | 8 +-------
18729 gi/pygi-info.c | 14 +++++++++++++-
18730 2 files changed, 14 insertions(+), 8 deletions(-)
18732 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
18733 Author: Martin Pitt <martinpitt@gnome.org>
18734 Date: Mon Sep 10 16:46:30 2012 +0200
18736 Test gint64 C signal arguments and return values
18738 tests/test_signal.py | 12 ++++++++++++
18739 tests/testhelpermodule.c | 14 ++++++++++++++
18740 2 files changed, 26 insertions(+)
18742 commit 822d9e07a95f706a40f64335765293542787da90
18743 Author: Martin Pitt <martinpitt@gnome.org>
18744 Date: Mon Sep 10 16:29:32 2012 +0200
18746 Test in/out int64 GValue method arguments.
18748 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
18750 tests/test_gi.py | 9 +++++++++
18751 1 file changed, 9 insertions(+)
18753 commit 2d83e52233812618493af4b165615e8741ba41c8
18754 Author: Martin Pitt <martinpitt@gnome.org>
18755 Date: Wed Sep 5 08:54:53 2012 +0200
18757 Bump g-i dependency to 1.33.10
18759 To ensure we have all the Regress test APIs that we use.
18761 configure.ac | 2 +-
18762 1 file changed, 1 insertion(+), 1 deletion(-)
18764 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
18765 Author: Thibault Saunier <thibault.saunier@collabora.com>
18766 Date: Wed Aug 8 12:57:41 2012 -0400
18768 Fix -uninstalled.pc.in file
18770 https://bugzilla.gnome.org/show_bug.cgi?id=683379
18772 pygobject-3.0-uninstalled.pc.in | 6 +++---
18773 1 file changed, 3 insertions(+), 3 deletions(-)
18775 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
18776 Author: Martin Pitt <martinpitt@gnome.org>
18777 Date: Mon Sep 3 22:16:47 2012 +0200
18779 post-release bump to 3.3.92
18781 configure.ac | 2 +-
18782 1 file changed, 1 insertion(+), 1 deletion(-)
18784 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
18785 Author: Martin Pitt <martinpitt@gnome.org>
18786 Date: Mon Sep 3 22:04:01 2012 +0200
18790 NEWS | 32 ++++++++++++++++++++++++++++++++
18791 1 file changed, 32 insertions(+)
18793 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
18794 Author: Martin Pitt <martinpitt@gnome.org>
18795 Date: Mon Sep 3 21:57:00 2012 +0200
18797 Fix exception test case for Python 2
18799 Regression from commit 77844c5 which did not work with Python 2.
18801 tests/test_everything.py | 12 +++++++-----
18802 1 file changed, 7 insertions(+), 5 deletions(-)
18804 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
18805 Author: Martin Pitt <martinpitt@gnome.org>
18806 Date: Mon Sep 3 21:16:01 2012 +0200
18808 Bump g-i dependency
18810 Require at least 1.33.9, as we got a couple of bug fixes there which
18812 and for some cases the code, depend on. We actually require 1.33.10
18814 tests to succeed, but that hasn't been released yet.
18816 configure.ac | 2 +-
18817 1 file changed, 1 insertion(+), 1 deletion(-)
18819 commit 77844c571ad0badc189428b93de9f2572051b67e
18820 Author: Martin Pitt <martinpitt@gnome.org>
18821 Date: Mon Sep 3 17:58:38 2012 +0200
18823 Show proper exception when trying to allocate a disguised struct
18825 Instead of a simple "MemoryError" with no details, raise a proper
18826 TypeError with a traceback and an explanation what happened.
18828 https://bugzilla.gnome.org/show_bug.cgi?id=639972
18830 gi/pygi-struct.c | 7 +++++++
18831 tests/test_everything.py | 13 +++++++++++++
18832 2 files changed, 20 insertions(+)
18834 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
18835 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
18836 Date: Mon Sep 3 16:47:22 2012 +0200
18838 Support marshalling GParamSpec signal arguments
18840 Fix marshalling GParamSpec arguments from C to Python.
18842 https://bugzilla.gnome.org/show_bug.cgi?id=683099
18844 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18846 gi/pygi-argument.c | 10 +++++++++-
18847 tests/test_signal.py | 14 ++++++++++++++
18848 2 files changed, 23 insertions(+), 1 deletion(-)
18850 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
18851 Author: Martin Pitt <martinpitt@gnome.org>
18852 Date: Mon Sep 3 16:06:49 2012 +0200
18854 Add test for a signal that returns a GParamSpec
18856 https://bugzilla.gnome.org/show_bug.cgi?id=683265
18858 tests/test_signal.py | 6 ++++++
18859 tests/testhelpermodule.c | 12 ++++++++++++
18860 2 files changed, 18 insertions(+)
18862 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
18863 Author: Simon Feltman <s.feltman@gmail.com>
18864 Date: Tue Mar 20 04:33:50 2012 -0700
18866 [API add] Add Signal class for adding and connecting custom signals.
18868 The Signal class provides easy creation of signals and removes the
18869 need for __gsignals__ in client code. The Signal class can also be
18870 used as a decorator for wrapping up the custom closure. As well as
18871 providing a "BoundSignal" when accessed on an instance for making
18872 connections without specifying a signal name string.
18873 Python3 annotations can also be used to supply closure argument and
18874 return types when Signal is used as a decorator. For example:
18876 class Eggs(GObject.GObject):
18878 def spam(self, count:int):
18881 https://bugzilla.gnome.org/show_bug.cgi?id=434924
18883 examples/signal.py | 34 ++++--
18884 gi/_gobject/Makefile.am | 3 +-
18885 gi/_gobject/__init__.py | 5 +
18886 gi/_gobject/signalhelper.py | 251
18887 ++++++++++++++++++++++++++++++++++++++++++++
18888 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
18889 5 files changed, 482 insertions(+), 19 deletions(-)
18891 commit 96fa22369fd188465559fc904c7f76e73040e6dd
18892 Author: Martin Pitt <martinpitt@gnome.org>
18893 Date: Mon Sep 3 15:32:12 2012 +0200
18895 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
18897 We have a proper implementation for insert_column_with_attributes()
18899 drop pygtkcompat's empty stub for it.
18901 Also improve test case for
18902 Gtk.TreeView.insert_column_with_attributes().
18904 gi/pygtkcompat.py | 6 ------
18905 tests/test_overrides_gtk.py | 16 ++++++++--------
18906 2 files changed, 8 insertions(+), 14 deletions(-)
18908 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
18909 Author: Marta Maria Casetti <mmcasetti@gmail.com>
18910 Date: Mon Sep 3 13:06:22 2012 +0200
18912 Add override for Gtk.TreeView.insert_column_with_attributes()
18914 https://bugzilla.gnome.org/show_bug.cgi?id=679415
18916 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18918 gi/overrides/Gtk.py | 7 +++++++
18919 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
18920 2 files changed, 45 insertions(+)
18922 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
18923 Author: Martin Pitt <martinpitt@gnome.org>
18924 Date: Mon Sep 3 11:09:55 2012 +0200
18926 .gitignore: Add missing built files
18928 .gitignore | 9 +++++++--
18929 1 file changed, 7 insertions(+), 2 deletions(-)
18931 commit 96431f393036a688666dcf67911bf12b9824b264
18932 Author: Martin Pitt <martinpitt@gnome.org>
18933 Date: Mon Sep 3 11:07:32 2012 +0200
18935 Ship tests/gi in tarball
18937 Spotted by distcheck.
18939 tests/Makefile.am | 6 +++++-
18940 1 file changed, 5 insertions(+), 1 deletion(-)
18942 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
18943 Author: Martin Pitt <martinpitt@gnome.org>
18944 Date: Mon Sep 3 10:18:45 2012 +0200
18946 Fix separate build tree and distcheck
18948 Fix regression from c7c95a79: We must set sys.path in runtests.py
18950 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
18952 prepends the directory of the source file to sys.path, but that
18954 source dir, not the build dir. The build dir has to take precedence,
18956 we fail to import the built libraries.
18958 tests/runtests-windows.py | 10 +++++++---
18959 tests/runtests.py | 13 ++++++++-----
18960 2 files changed, 15 insertions(+), 8 deletions(-)
18962 commit 2d8f48f4ff56bb75985136452b50b75895258608
18963 Author: Martin Pitt <martinpitt@gnome.org>
18964 Date: Mon Sep 3 07:57:01 2012 +0200
18966 Split test_overrides.py
18968 Split the huge test_overrides.py into separate files for gdk, gtk,
18970 and pango. Further split the monolithic classes for Gtk and Gio
18974 https://bugzilla.gnome.org/show_bug.cgi?id=683188
18976 tests/Makefile.am | 5 +
18977 tests/test_overrides.py | 2198
18978 +----------------------------------------
18979 tests/test_overrides_gdk.py | 119 +++
18980 tests/test_overrides_gio.py | 114 +++
18981 tests/test_overrides_glib.py | 445 +++++++++
18982 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
18983 tests/test_overrides_pango.py | 32 +
18984 7 files changed, 2234 insertions(+), 2196 deletions(-)
18986 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
18987 Author: Martin Pitt <martinpitt@gnome.org>
18988 Date: Mon Sep 3 07:17:57 2012 +0200
18990 _pygi_argument_to_object(): Clean up array unmarshalling
18992 The NULL case is already handled at the top, so it does not need to be
18995 Emit a critical if we fail to allocate a Python array of the
18998 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
18999 1 file changed, 16 insertions(+), 31 deletions(-)
19001 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
19002 Author: Alban Browaeys <prahal@yahoo.com>
19003 Date: Wed Aug 29 21:24:17 2012 +0200
19005 Fix memory leak in _pygi_argument_to_object()
19007 Avoid leaking the item_type_info when breaking out of the
19008 switch in _pygi_argument_to_object() for unmarshalling arrays.
19010 https://bugzilla.gnome.org/show_bug.cgi?id=682979
19012 gi/pygi-argument.c | 4 ++++
19013 1 file changed, 4 insertions(+)
19015 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
19016 Author: Simon Feltman <s.feltman@gmail.com>
19017 Date: Sat Sep 1 03:40:31 2012 -0700
19019 Fix setting pointer fields/arguments to NULL using None.
19021 Setting gi pointers will set them to the address of the python object.
19022 This is good except in the case of None which should be used to NULL
19023 the pointer out as a special case.
19025 https://bugzilla.gnome.org/show_bug.cgi?id=683150
19027 gi/pygi-argument.c | 8 +++++++-
19028 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
19029 2 files changed, 48 insertions(+), 1 deletion(-)
19031 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
19032 Author: Martin Pitt <martinpitt@gnome.org>
19033 Date: Thu Aug 23 06:44:27 2012 +0200
19035 Fix for python 2.6, drop support for < 2.6
19037 Replace sys.version_info.major access to tuple access which also
19041 When building for Python 2.6, inject some missing unittest API such as
19042 @unittest.skipUnless and assertGreaterEqual() into the unittest
19044 runtests.py, so that the tests have a chance to run.
19046 As building with Python 2.5 has been broken for a long time with
19048 complaining, and 2.5 is ancient, bump minimum Python requirement to
19050 obsolete #ifdef paths which only apply to <= 2.5.
19052 https://bugzilla.gnome.org/show_bug.cgi?id=682422
19054 configure.ac | 2 +-
19055 gi/_glib/pyglib-python-compat.h | 8 --------
19056 gi/_gobject/gobjectmodule.c | 8 --------
19057 gi/module.py | 2 +-
19058 tests/runtests.py | 27 +++++++++++++++++++++++++++
19059 tests/test_gi.py | 2 +-
19060 6 files changed, 30 insertions(+), 19 deletions(-)
19062 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
19063 Author: Thibault Saunier <thibault.saunier@collabora.com>
19064 Date: Tue Aug 21 07:54:09 2012 +0200
19066 Allow overrides in other directories than gi itself
19068 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
19069 libraries can install overrides in a path that is different from
19071 pygobject installs itself into. These overrides need to put this
19073 __init__.py at the top:
19075 from pkgutil import extend_path
19076 __path__ = extend_path(__path__, __name__)
19078 and put themselves somewhere into the default PYTHONPATH.
19080 https://bugzilla.gnome.org/show_bug.cgi?id=680913
19082 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
19083 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
19085 gi/__init__.py | 4 ++++
19086 gi/overrides/__init__.py | 4 ++++
19087 tests/gi/__init__.py | 2 ++
19088 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
19089 tests/gi/overrides/__init__.py | 2 ++
19090 tests/test_overrides.py | 6 ++++++
19091 6 files changed, 44 insertions(+)
19093 commit c7c95a795eee499373499ea5b771447746317bfb
19094 Author: Simon Feltman <s.feltman@gmail.com>
19095 Date: Thu Aug 23 06:03:09 2012 +0200
19097 Clean up sys.path handling in tests
19099 Only set sys.path once in runtests.py, not in the individual test
19101 reduces hidden dependencies between tests by building up a run
19103 search path, and also makes it easier in the future to run the
19105 the installed system libraries.
19107 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
19109 tests/runtests-windows.py | 6 +++++-
19110 tests/runtests.py | 3 +++
19111 tests/test_everything.py | 1 -
19112 tests/test_gdbus.py | 3 ---
19113 tests/test_overrides.py | 3 ---
19114 tests/test_pygtkcompat.py | 3 ---
19115 6 files changed, 8 insertions(+), 11 deletions(-)
19117 commit 3e3525e93d852cde0f63e835b774a9b004773c69
19118 Author: Simon Feltman <s.feltman@gmail.com>
19119 Date: Sun Aug 19 02:30:39 2012 -0700
19121 Fix dynamic creation of enum and flag gi types for Python 3.3
19123 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
19124 subclasses due to what looks to be an unsupported technique. Change
19125 tp_new() method for classes dynamically derived from PyGEnum_Type and
19126 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
19128 __new__() as a python method. This technique seems to work with all
19129 versions of python so the previous python version checking also became
19132 https://bugzilla.gnome.org/show_bug.cgi?id=682323
19134 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
19135 gi/_gobject/pygflags.c | 21 +++++++++------------
19136 2 files changed, 25 insertions(+), 25 deletions(-)
19138 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
19139 Author: Paolo Borelli <pborelli@gnome.org>
19140 Date: Wed Aug 22 10:45:39 2012 +0200
19142 [API add] Override g_menu_item_set_attribute
19144 This C utility API take a vararg, add a corresponding override that
19145 takes a list of tuples
19147 https://bugzilla.gnome.org/show_bug.cgi?id=682436
19149 gi/overrides/Gio.py | 10 ++++++++++
19150 tests/test_overrides.py | 11 +++++++++++
19151 2 files changed, 21 insertions(+)
19153 commit 836902801373e386d370c44e7487aac3432f19f6
19154 Author: Martin Pitt <martinpitt@gnome.org>
19155 Date: Mon Aug 20 23:37:40 2012 +0200
19157 post-release bump to 3.3.91
19159 configure.ac | 2 +-
19160 1 file changed, 1 insertion(+), 1 deletion(-)
19162 commit 6a629e23ff7b0d6f532184017577c7427d577e28
19163 Author: Martin Pitt <martinpitt@gnome.org>
19164 Date: Mon Aug 20 23:05:49 2012 +0200
19168 NEWS | 13 +++++++++++++
19169 configure.ac | 2 +-
19170 2 files changed, 14 insertions(+), 1 deletion(-)
19172 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
19173 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
19174 Date: Mon Aug 20 22:54:52 2012 +0200
19176 Implement marshalling for GParamSpec
19178 https://bugzilla.gnome.org/show_bug.cgi?id=681565
19180 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
19182 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
19183 tests/test_gi.py | 14 ++++++++++++++
19184 2 files changed, 26 insertions(+), 4 deletions(-)
19186 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
19187 Author: Martin Pitt <martinpitt@gnome.org>
19188 Date: Mon Aug 20 15:24:10 2012 +0200
19190 Fix pep8/pyflakes invocation
19192 Fix regression from commit 1e056e4f4a: Do fail the tests if
19196 tests/Makefile.am | 4 ++--
19197 1 file changed, 2 insertions(+), 2 deletions(-)
19199 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
19200 Author: Simon Feltman <s.feltman@gmail.com>
19201 Date: Thu Aug 16 16:05:52 2012 -0700
19203 Fix erronous import statements for Python 3.3
19205 Update pygobject-external.h to use GType (which is what GTypeWrapper
19207 exposed as) instead of GTypeWrapper when attempting import.
19209 Catch ImportError around attempted imports of a typelibs override file
19210 which don't always exist (GObject...). This is a behavioural change in
19211 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
19214 https://bugzilla.gnome.org/show_bug.cgi?id=682051
19216 gi/module.py | 7 +++++--
19217 gi/pygobject-external.h | 2 +-
19218 2 files changed, 6 insertions(+), 3 deletions(-)
19220 commit 1e056e4f4a19fd1139187467677c2592c2722290
19221 Author: Martin Pitt <martinpitt@gnome.org>
19222 Date: Mon Aug 20 11:52:08 2012 +0200
19224 Do not fail tests if pyflakes or pep8 are not installed
19226 These tools might not be desirable in restricted build environments or
19227 backports, and e. g. Fedora patches those out. So let the tests
19231 tests/Makefile.am | 4 ++--
19232 1 file changed, 2 insertions(+), 2 deletions(-)
19234 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
19235 Author: Martin Pitt <martinpitt@gnome.org>
19236 Date: Mon Aug 20 11:42:47 2012 +0200
19238 gtk-demo: Fix some PEP-8 whitespace issues
19240 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
19241 demos/gtk-demo/demos/dialogs.py | 2 +-
19242 demos/gtk-demo/demos/rotatedtext.py | 3 +--
19243 3 files changed, 3 insertions(+), 5 deletions(-)
19245 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
19246 Author: Martin Pitt <martinpitt@gnome.org>
19247 Date: Mon Aug 20 11:38:50 2012 +0200
19249 test_overrides.py: Fix PEP8 whitespacing
19251 tests/test_overrides.py | 48
19252 +++++++++++++++++++++++++-----------------------
19253 1 file changed, 25 insertions(+), 23 deletions(-)
19255 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
19256 Author: Martin Pitt <martinpitt@gnome.org>
19257 Date: Mon Aug 20 11:36:19 2012 +0200
19259 Ignore E124 pep8 error
19261 This is "closing bracket does not match visual indentation" which
19263 stupid. We do want the closing bracket at the same indentation level
19265 opening bracket, not the indentation level of the whole statement.
19267 tests/Makefile.am | 2 +-
19268 1 file changed, 1 insertion(+), 1 deletion(-)
19270 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
19271 Author: David Malcolm <dmalcolm@redhat.com>
19272 Date: Mon Aug 20 11:27:52 2012 +0200
19274 Fix unmarshalling of gssize
19276 Do not assume that the v_int union member always corresponds to a
19278 is not true on big-endian 64 bit machines like ppc64, so add a new
19279 gi_argument_to_gssize() and use it properly.
19281 https://bugzilla.gnome.org/show_bug.cgi?id=680693
19282 https://bugzilla.redhat.com/show_bug.cgi?id=842880
19284 gi/pygi-argument.c | 53
19285 +++++++++++++++++++++++++++++++++++++++++++++---
19286 gi/pygi-argument.h | 1 +
19287 gi/pygi-closure.c | 2 +-
19288 gi/pygi-info.c | 4 ++--
19289 gi/pygi-signal-closure.c | 2 +-
19290 5 files changed, 55 insertions(+), 7 deletions(-)
19292 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
19293 Author: David Malcolm <dmalcolm@redhat.com>
19294 Date: Mon Aug 20 11:19:27 2012 +0200
19296 Fix various endianess errors
19298 Fix code which assumed little endian behaviour when mixing different
19300 ints, putting ints into pointers, etc.
19302 https://bugzilla.gnome.org/show_bug.cgi?id=680692
19303 https://bugzilla.redhat.com/show_bug.cgi?id=841596
19305 gi/pygi-argument.c | 64 +++++++++++++--
19306 gi/pygi-argument.h | 6 ++
19307 gi/pygi-cache.c | 2 +
19308 gi/pygi-closure.c | 57 ++++++++++++-
19309 gi/pygi-marshal-from-py.c | 203
19310 ++++++++++++++++++++++++++++++++++++----------
19311 gi/pygi-marshal-from-py.h | 3 +
19312 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
19313 7 files changed, 391 insertions(+), 81 deletions(-)
19315 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
19316 Author: Paolo Borelli <pborelli@gnome.org>
19317 Date: Wed Aug 15 13:16:11 2012 +0200
19319 Add unit test for the TreeModelSort override
19321 tests/test_overrides.py | 7 +++++++
19322 1 file changed, 7 insertions(+)
19324 commit 9f027daa5737107b5959964b699c0089aec8ab1e
19325 Author: Simon Feltman <s.feltman@gmail.com>
19326 Date: Thu Aug 9 03:33:06 2012 -0700
19328 Gtk overrides: Add TreeModelSort.__init__(self, model)
19330 This adds "model" as a required argument to TreeModelSort
19331 instead of it being a hidden keyword argument. This is needed
19332 because the model property is set to construct only and the
19333 default value of None/NULL makes the object useless anyhow.
19335 https://bugzilla.gnome.org/show_bug.cgi?id=681477
19337 gi/overrides/Gtk.py | 8 ++++++++
19338 1 file changed, 8 insertions(+)
19340 commit c8424c2bb19356679e250e73542682dd5f4c74a5
19341 Author: Manuel Quiñones <manuq@laptop.org>
19342 Date: Fri Aug 10 09:38:24 2012 -0300
19344 Convert Gtk.CellRendererState in the pygi-convert script
19346 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19348 https://bugzilla.gnome.org/show_bug.cgi?id=681596
19350 pygi-convert.sh | 5 +++++
19351 1 file changed, 5 insertions(+)
19353 commit 54d829b34a0d32d852db370f61cc7f25c149f373
19354 Author: Paolo Borelli <pborelli@gnome.org>
19355 Date: Mon Aug 6 16:19:28 2012 +0200
19357 More updates to the HACKING file
19359 module-install has been replaced with 'ftpadmin install' and other
19363 HACKING | 26 ++++++++++----------------
19364 1 file changed, 10 insertions(+), 16 deletions(-)
19366 commit 0788880c6cf4070d3db09896c165fe470d2ec186
19367 Author: Paolo Borelli <pborelli@gnome.org>
19368 Date: Mon Aug 6 16:00:39 2012 +0200
19370 Post-release version bump to 3.3.6
19372 configure.ac | 2 +-
19373 1 file changed, 1 insertion(+), 1 deletion(-)
19375 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
19376 Author: Paolo Borelli <pborelli@gnome.org>
19377 Date: Mon Aug 6 15:52:22 2012 +0200
19381 NEWS | 29 +++++++++++++++++++++++++++++
19382 1 file changed, 29 insertions(+)
19384 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
19385 Author: Paolo Borelli <pborelli@gnome.org>
19386 Date: Mon Aug 6 15:44:32 2012 +0200
19388 Update HACKING file to mention "make release-news"
19390 HACKING | 7 +++----
19391 1 file changed, 3 insertions(+), 4 deletions(-)
19393 commit 587a0c33901383b891f8eb77351c17f06af20b4f
19394 Author: Paolo Borelli <pborelli@gnome.org>
19395 Date: Mon Aug 6 15:38:23 2012 +0200
19397 pygi-closure: remove unused variables
19399 These variables are assigned but never actually used
19401 gi/pygi-closure.c | 8 --------
19402 1 file changed, 8 deletions(-)
19404 commit dbc6df6aad7197fcf8721ade429baadd749f7069
19405 Author: Martin Pitt <martinpitt@gnome.org>
19406 Date: Fri Aug 3 07:13:55 2012 +0200
19408 tests: Do not break on Pango warnings
19410 In some restricted environments (like chroots) we sometimes get
19412 Pango when it cannot find an appropriate font. Do not make the tests
19416 tests/test_overrides.py | 4 ++++
19417 tests/test_pygtkcompat.py | 6 ++++++
19418 2 files changed, 10 insertions(+)
19420 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
19421 Author: Martin Pitt <martinpitt@gnome.org>
19422 Date: Fri Aug 3 06:45:48 2012 +0200
19424 Fix list marshalling on big-endian machines
19426 On big endian machines we cannot simply set e. g. GIArgument.v_int8
19428 GIArgument.v_pointer to be a correct representation. This needs to use
19429 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
19430 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
19432 to and from GList and GSList, and handle int8 and int16 as well.
19434 Part of porting pygobject to ppc64:
19435 https://bugzilla.redhat.com/show_bug.cgi?id=842880
19436 https://bugzilla.gnome.org/show_bug.cgi?id=680693
19438 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
19439 gi/pygi-marshal-to-py.c | 54
19440 +++++++++++++++++++++++++++--------------------
19441 2 files changed, 60 insertions(+), 42 deletions(-)
19443 commit b5cd13f47309ec26727b7574e33595a357602468
19444 Author: Colin Walters <walters@verbum.org>
19445 Date: Tue Jul 31 11:47:02 2012 -0400
19447 pygi-marshal: One more 32-bit -Werror=format fix
19449 gi/pygi-marshal-from-py.c | 6 +++---
19450 1 file changed, 3 insertions(+), 3 deletions(-)
19452 commit 526bf43691cb6ed908589312b1693a6389eba00c
19453 Author: Martin Pitt <martinpitt@gnome.org>
19454 Date: Tue Jul 31 17:14:37 2012 +0200
19456 Beautify class/interface type mismatch error messages
19458 Avoid saying "<unknown module>.int", just skip the module name
19459 completely if we do not have one.
19461 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
19462 1 file changed, 12 insertions(+), 8 deletions(-)
19464 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
19465 Author: Martin Pitt <martinpitt@gnome.org>
19466 Date: Tue Jul 31 13:13:21 2012 +0200
19468 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
19470 On initial jhbuild bootstrap or restricted environments, the Pango,
19472 and Gtk typelibs might not be available. Skip tests which need these
19474 failing the testsuite.
19476 tests/test_atoms.py | 7 ++++++-
19477 tests/test_everything.py | 9 ++++++++-
19478 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
19479 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
19480 4 files changed, 60 insertions(+), 18 deletions(-)
19482 commit a2e73c109f3ed6080eabc85810e624b9f984317e
19483 Author: Colin Walters <walters@verbum.org>
19484 Date: Tue Jul 31 09:02:24 2012 -0400
19486 pygi-argument: Fix -Wformat warning on 32 bit builds
19488 gi/pygi-argument.c | 4 ++--
19489 1 file changed, 2 insertions(+), 2 deletions(-)
19491 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
19492 Author: Martin Pitt <martinpitt@gnome.org>
19493 Date: Tue Jul 31 11:14:36 2012 +0200
19495 Fix tests for Python 2
19497 In Python 2 we get different error messages for a mismatching self
19499 check after commit 121b14028.
19501 tests/test_gi.py | 32 ++++++++++++++++++++------------
19502 1 file changed, 20 insertions(+), 12 deletions(-)
19504 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
19505 Author: Martin Pitt <martinpitt@gnome.org>
19506 Date: Tue Jul 31 10:30:22 2012 +0200
19508 Build with -Werror=format
19510 This catches format string problems on particular architectures like
19512 dea24f8e12 much more insistently.
19515 1 file changed, 1 insertion(+)
19517 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
19518 Author: Simon Feltman <s.feltman@gmail.com>
19519 Date: Mon Jul 30 02:00:16 2012 -0700
19521 [API add] pygtkcompat: Add more pixbuf creation functions
19523 Add the following functions:
19524 pixbuf_new_from_data
19525 pixbuf_new_from_file_at_scale
19526 pixbuf_new_from_file_at_size
19527 pixbuf_new_from_inline
19528 pixbuf_new_from_stream
19529 pixbuf_new_from_stream_at_scale
19530 pixbuf_new_from_xpm_data
19531 pixbuf_get_file_info
19533 https://bugzilla.gnome.org/show_bug.cgi?id=680814
19535 gi/pygtkcompat.py | 10 +++++++++-
19536 1 file changed, 9 insertions(+), 1 deletion(-)
19538 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
19539 Author: Colin Walters <walters@verbum.org>
19540 Date: Mon Jul 30 22:17:44 2012 -0400
19542 marshal: Fix a lot of format string warnings on 32 bit
19544 G_GUINT64_FORMAT and friends handle "%lld" portably.
19546 https://bugzilla.gnome.org/show_bug.cgi?id=680878
19548 gi/pygi-marshal-from-py.c | 18 +++++++++---------
19549 1 file changed, 9 insertions(+), 9 deletions(-)
19551 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
19552 Author: Colin Walters <walters@verbum.org>
19553 Date: Mon Jul 30 22:30:07 2012 -0400
19555 marshal: Fix build break on Python 2
19557 I *think* using this wrapper function instead is right.
19559 https://bugzilla.gnome.org/show_bug.cgi?id=680879
19561 gi/pygi-marshal-from-py.c | 8 ++++----
19562 1 file changed, 4 insertions(+), 4 deletions(-)
19564 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
19565 Author: Manuel Quiñones <manuq@laptop.org>
19566 Date: Mon Jul 30 12:53:36 2012 -0300
19568 Improve testcase for tree_view_column_set_attributes
19570 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19572 https://bugzilla.gnome.org/show_bug.cgi?id=680320
19574 tests/test_overrides.py | 20 ++++++++++++++++++--
19575 1 file changed, 18 insertions(+), 2 deletions(-)
19577 commit 121b1402860407fe46f7501e42447bf3607872ec
19578 Author: Martin Pitt <martinpitt@gnome.org>
19579 Date: Tue Jul 31 00:37:55 2012 +0200
19581 Fix error messages on interface/class type mismatches
19583 Previously, when you called a function with an argument which was not
19584 compatible with the expected class/interface type, you got an
19588 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
19590 which had the wrong (and useless) class name for the actual type,
19592 tell you which argument caused the problem. With this it says e. g.
19594 TypeError: argument column: Expected Gtk.TreeViewColumn, but
19599 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
19600 tests/test_gi.py | 57
19601 ++++++++++++++++++++++++++++++++++++++++++++++-
19602 2 files changed, 88 insertions(+), 10 deletions(-)
19604 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
19605 Author: Simon Feltman <s.feltman@gmail.com>
19606 Date: Sun Jul 29 23:36:25 2012 -0700
19608 Fix crash when returning (False, None) from
19609 Gtk.TreeModel.do_get_iter()
19611 Add a Py_None check before attempting memcpy().
19613 https://bugzilla.gnome.org/show_bug.cgi?id=680812
19615 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19617 gi/pygi-closure.c | 10 +++++++---
19618 tests/test_overrides.py | 9 +++++++++
19619 2 files changed, 16 insertions(+), 3 deletions(-)
19621 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
19622 Author: Martin Pitt <martinpitt@gnome.org>
19623 Date: Mon Jul 30 11:58:24 2012 +0200
19625 Add test case for Gtk.TextIter.forward_search()
19627 https://bugzilla.gnome.org/show_bug.cgi?id=679415
19629 tests/test_overrides.py | 19 +++++++++++++++++++
19630 1 file changed, 19 insertions(+)
19632 commit aae4e77482c02e21154ab02b159f380f5f0f74be
19633 Author: Martin Pitt <martinpitt@gnome.org>
19634 Date: Fri Jul 27 23:06:39 2012 +0200
19636 Add missing static declarations
19638 This fixes a lot of -Wmissing-prototype warnings.
19640 Also remove _pygi_marshal_cleanup_closure_unref() which is not
19643 gi/_gobject/gobjectmodule.c | 4 ++--
19644 gi/_gobject/pygobject.c | 2 +-
19645 gi/pygi-cache.c | 2 +-
19646 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
19647 gi/pygi-foreign.c | 2 +-
19648 gi/pygi-marshal-cleanup.c | 9 ---------
19649 tests/test-unknown.c | 2 +-
19650 tests/testhelpermodule.c | 4 ++--
19651 8 files changed, 20 insertions(+), 29 deletions(-)
19653 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
19654 Author: Martin Pitt <martinpitt@gnome.org>
19655 Date: Fri Jul 27 23:01:08 2012 +0200
19657 Fix more missing #includes
19659 Add missing includes which caused -Wmissing-prototypes warnings.
19661 gi/_gobject/pygenum.c | 2 ++
19662 gi/_gobject/pyginterface.c | 2 ++
19663 2 files changed, 4 insertions(+)
19665 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
19666 Author: Martin Pitt <martinpitt@gnome.org>
19667 Date: Fri Jul 27 22:59:21 2012 +0200
19669 Make some warnings fatal
19671 Add -Werror for some warnings which are real errors in the source
19673 really want to avoid. This includes -Wmissing-prototypes, but that
19675 breaks on building g-i's regress.c.
19677 configure.ac | 5 +++++
19678 1 file changed, 5 insertions(+)
19680 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
19681 Author: Martin Pitt <martinpitt@gnome.org>
19682 Date: Fri Jul 27 22:08:47 2012 +0200
19684 Fix missing #includes
19686 Add missing includes which caused -Wmissing-prototypes warnings.
19688 gi/_glib/pygiochannel.c | 2 ++
19689 gi/_glib/pygspawn.c | 2 ++
19690 2 files changed, 4 insertions(+)
19692 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
19693 Author: Martin Pitt <martinpitt@gnome.org>
19694 Date: Fri Jul 27 20:52:00 2012 +0200
19696 pygi-info.c: Robustify pointer arithmetic
19698 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
19700 that we are using byte offsets. Fixes warnings:
19702 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
19703 arithmetic [-Werror=pointer-arith]
19705 gi/pygi-info.c | 4 ++--
19706 1 file changed, 2 insertions(+), 2 deletions(-)
19708 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
19709 Author: Martin Pitt <martinpitt@gnome.org>
19710 Date: Fri Jul 27 20:50:30 2012 +0200
19712 pyglib.c: Remove some dead code
19714 Drop unused pyglib_gil_state_ensure_py23() and
19715 pyglib_gil_state_release_py23().
19717 gi/_glib/pyglib.c | 18 ------------------
19718 1 file changed, 18 deletions(-)
19720 commit a46d165d906d0ac7613f4d946542423e979f39d5
19721 Author: Manuel Quiñones <manuq@laptop.org>
19722 Date: Fri Jul 20 10:37:04 2012 -0300
19724 Add set_attributes() override to Gtk.TreeViewColumn
19726 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
19727 gtk_cell_layout_clear_attributes and then
19728 gtk_cell_layout_add_attribute for each (name, value) passed. This
19729 patch makes the same in the overrides.
19731 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19732 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19734 gi/overrides/Gtk.py | 7 +++++++
19735 tests/test_overrides.py | 6 ++++++
19736 2 files changed, 13 insertions(+)
19738 commit 4df676e10a5ea595a0d491af10268f557dd722d7
19739 Author: Daniel Narvaez <dwnarvaez@gmail.com>
19740 Date: Tue Jul 24 13:49:15 2012 +0200
19744 The autogenerated gitignores was missing several files. So we
19745 was using a manual .gitignore at the root. But since it's
19746 enough to add a couple of entries to it to cover the whole
19747 tree, there is no much point in using git.mk at all.
19749 https://bugzilla.gnome.org/show_bug.cgi?id=678192
19752 docs/Makefile.am | 2 -
19753 examples/Makefile.am | 3 -
19754 gi/Makefile.am | 3 -
19755 gi/_glib/Makefile.am | 3 -
19756 gi/_gobject/Makefile.am | 2 -
19757 gi/overrides/Makefile.am | 2 -
19758 gi/repository/Makefile.am | 2 -
19760 ----------------------------------------------
19761 tests/Makefile.am | 2 -
19762 10 files changed, 222 deletions(-)
19764 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
19765 Author: Simon Feltman <s.feltman@gmail.com>
19766 Date: Fri Jul 20 19:55:46 2012 -0700
19768 Gtk overrides: Add TreePath.__getitem__()
19770 Use pythons sub-script operator for indexing into TreePaths
19771 as was the case in PyGtk. Also changed __iter__ to use
19772 TreePath.get_indices as opposed to formatting and re-parsing
19773 a string for getting an index list.
19775 https://bugzilla.gnome.org/show_bug.cgi?id=680353
19777 gi/overrides/Gtk.py | 5 ++++-
19778 tests/test_overrides.py | 4 ++++
19779 2 files changed, 8 insertions(+), 1 deletion(-)
19781 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
19782 Author: Simon Feltman <s.feltman@gmail.com>
19783 Date: Fri Jul 20 21:34:33 2012 -0700
19785 Fix property type mapping from int to TYPE_INT for python3.
19787 Python3 does not have a long type, however, propertyhelper.py was
19788 using long_ = int; to get things working. Type mapping code
19789 was then checking for long_ first and always returning TYPE_LONG.
19790 Additional refactoring was done to move large if/elif statements
19791 into dictionary lookups and usage of tuples instead of lists
19792 for simple 'in' list of items tests.
19794 https://bugzilla.gnome.org/show_bug.cgi?id=679939
19796 gi/_gobject/propertyhelper.py | 117
19797 +++++++++++++++++++-----------------------
19798 tests/test_properties.py | 55 +++++++++++++++-----
19799 2 files changed, 96 insertions(+), 76 deletions(-)
19801 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
19802 Author: Manuel Quiñones <manuq@laptop.org>
19803 Date: Thu Jul 19 12:11:34 2012 -0300
19805 Convert Gtk.DestDefaults constants in pygi-convert.sh script
19807 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19809 https://bugzilla.gnome.org/show_bug.cgi?id=680259
19811 pygi-convert.sh | 1 +
19812 1 file changed, 1 insertion(+)
19814 commit d58c3553062fd8704a81a8233b4a1563a6611718
19815 Author: Manuel Quiñones <manuq@laptop.org>
19816 Date: Thu Jul 19 12:04:03 2012 -0300
19818 Convert all Gdk.WindowState constants in pygi-convert.sh
19820 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19822 https://bugzilla.gnome.org/show_bug.cgi?id=680257
19824 pygi-convert.sh | 1 +
19825 1 file changed, 1 insertion(+)
19827 commit a3aae2e152c0b955037b7b85e16d14d00881d870
19828 Author: Joe R. Nassimian <placidrage@gmail.com>
19829 Date: Thu Jul 19 15:48:20 2012 +0200
19831 [API add] Add API for checking pygobject's version
19833 Add a gi.__version__ attribute for the textual version, and
19834 gi.version_info for
19835 a version triple similar to sys.version_info.
19837 Also add a gi.require_version(<minimum_version>) which raises an
19839 the pygobject version is older.
19841 https://bugzilla.gnome.org/show_bug.cgi?id=680176
19843 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19845 gi/__init__.py | 16 ++++++++++++++++
19846 tests/test_gi.py | 16 ++++++++++++++++
19847 2 files changed, 32 insertions(+)
19849 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
19850 Author: Manuel Quiñones <manuq@laptop.org>
19851 Date: Mon Jul 16 17:14:46 2012 -0300
19853 pygi-convert.sh: Add some missing Gdk.CursorTypes
19855 This patch adds WATCH, ARROW and CLOCK.
19857 https://bugzilla.gnome.org/show_bug.cgi?id=680050
19859 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19860 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19862 pygi-convert.sh | 3 +++
19863 1 file changed, 3 insertions(+)
19865 commit 0b08c01414ac73a4604acd9a846e7af09574929f
19866 Author: Manuel Kaufmann <humitos@gmail.com>
19867 Date: Tue Jul 17 09:05:27 2012 -0300
19869 pygi-convert.sh: convert rsvg.Handle(data=...)
19871 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
19873 https://bugzilla.gnome.org/show_bug.cgi?id=680092
19875 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
19876 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19878 pygi-convert.sh | 2 ++
19879 1 file changed, 2 insertions(+)
19881 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
19882 Author: Martin Pitt <martinpitt@gnome.org>
19883 Date: Mon Jul 16 17:35:38 2012 +0200
19885 configure.ac: post-release bump to 3.3.5
19887 configure.ac | 2 +-
19888 1 file changed, 1 insertion(+), 1 deletion(-)
19890 commit 126842b7227fcc1381dc158acdc5a96d0a465515
19891 Author: Martin Pitt <martinpitt@gnome.org>
19892 Date: Mon Jul 16 17:33:08 2012 +0200
19896 NEWS | 28 ++++++++++++++++++++++++++++
19897 1 file changed, 28 insertions(+)
19899 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
19900 Author: Martin Pitt <martinpitt@gnome.org>
19901 Date: Mon Jul 16 17:29:22 2012 +0200
19903 test_gi: Fix for Python 2
19905 tests/test_gi.py | 7 +++++--
19906 1 file changed, 5 insertions(+), 2 deletions(-)
19908 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
19909 Author: Martin Pitt <martinpitt@gnome.org>
19910 Date: Mon Jul 16 16:35:33 2012 +0200
19912 pygi-convert.sh: Drop bogus filter_new() conversion
19914 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
19915 constructor, so do not try to convert it to a constructor call.
19917 https://bugzilla.gnome.org/show_bug.cgi?id=679999
19919 pygi-convert.sh | 1 -
19920 1 file changed, 1 deletion(-)
19922 commit c0607d970fc59528ca27d518282cf2871b92e909
19923 Author: Martin Pitt <martinpitt@gnome.org>
19924 Date: Mon Jul 16 16:00:40 2012 +0200
19926 Fix help() for GI modules
19928 Derive DynamicModule from types.ModuleType, so that the inspect
19930 ismodule() actually succeeds on those and generates useful help on
19934 https://bugzilla.gnome.org/show_bug.cgi?id=679804
19936 gi/module.py | 3 ++-
19937 tests/test_gi.py | 15 +++++++++++++++
19938 2 files changed, 17 insertions(+), 1 deletion(-)
19940 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
19941 Author: Martin Pitt <martinpitt@gnome.org>
19942 Date: Mon Jul 16 15:53:31 2012 +0200
19944 Skip gi.CallbackInfo objects from a module's dir()
19946 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
19948 implement __getattr__ for those.
19950 Add a test case that dir() works on GI modules, contain expected
19952 and that all identifiers in dir() can actually be retrieved.
19954 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
19956 gi/module.py | 7 +++++--
19957 tests/test_gi.py | 14 ++++++++++++++
19958 2 files changed, 19 insertions(+), 2 deletions(-)
19960 commit f6cc039e014448a553d626aac4020ee69717edab
19961 Author: Martin Pitt <martinpitt@gnome.org>
19962 Date: Mon Jul 16 15:38:05 2012 +0200
19964 Fix __path__ module attribute
19966 get_typelib_path() returns bytes, not strings, so in Python 3 we
19968 it to get a proper __path__ attribute.
19970 gi/module.py | 17 +++++++++++++++++
19971 tests/test_gi.py | 10 ++++++++++
19972 2 files changed, 27 insertions(+)
19974 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
19975 Author: Joe R. Nassimian <placidrage@gmail.com>
19976 Date: Mon Jul 16 15:02:10 2012 +0200
19978 pygi-convert.sh: Fix some child → getChild() false positives
19980 https://bugzilla.gnome.org/show_bug.cgi?id=680004
19982 pygi-convert.sh | 2 +-
19983 1 file changed, 1 insertion(+), 1 deletion(-)
19985 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
19986 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
19987 Date: Thu Jul 12 09:19:42 2012 +0200
19989 Fix array handling for interfaces, properties, and signals
19991 Fix lots of corner cases where arrays are not handled properly.
19992 _pygi_argument_to_object() now has the documented expectation of
19994 packed in GArrays. This was implicit before and not correctly done
19998 The helper _pygi_argument_to_array() has been improved to work on
20000 array. Fix all call sites of _pygi_argument_to_object() to do the
20001 array conversion appropriately before calling
20002 _pygi_argument_to_object().
20004 Adds a test case that implements a GInterface with a method that
20006 of variants as input.
20008 https://bugzilla.gnome.org/show_bug.cgi?id=667244
20010 gi/pygi-argument.c | 156
20011 ++++++++++++++++++++++++++++++++---------------
20012 gi/pygi-argument.h | 4 +-
20013 gi/pygi-closure.c | 11 ++++
20014 gi/pygi-info.c | 20 ++++--
20015 gi/pygi-property.c | 1 +
20016 gi/pygi-signal-closure.c | 14 ++++-
20017 tests/test_gi.py | 18 ++++++
20018 7 files changed, 167 insertions(+), 57 deletions(-)
20020 commit bb80d124269ee2389c04d03a478475868fd9ff7b
20021 Author: Manuel Quiñones <manuq@laptop.org>
20022 Date: Wed Jul 11 22:05:41 2012 -0300
20024 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
20026 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
20028 https://bugzilla.gnome.org/show_bug.cgi?id=679775
20030 pygi-convert.sh | 3 +++
20031 1 file changed, 3 insertions(+)
20033 commit e3a63eefa5fb2abeabd210790e12642e577363c8
20034 Author: Manuel Quiñones <manuq@laptop.org>
20035 Date: Wed Jul 11 13:18:16 2012 -0300
20037 Add the same rules for pack_start to convert pack_end
20039 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
20041 https://bugzilla.gnome.org/show_bug.cgi?id=679760
20043 pygi-convert.sh | 5 +++++
20044 1 file changed, 5 insertions(+)
20046 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
20047 Author: Dave Malcolm <dmalcolm@redhat.com>
20048 Date: Wed Jul 11 08:21:27 2012 +0200
20050 Add error-checking for the case where _arg_cache_new() fails
20052 This can happen when a typelib and its underlying library are
20054 converts the segfault into a more helpful traceback.
20056 https://bugzilla.gnome.org/show_bug.cgi?id=678914
20058 gi/pygi-cache.c | 2 ++
20059 1 file changed, 2 insertions(+)
20061 commit 41287d8a439c656e4ac60361fddec643c713234c
20062 Author: Manuel Quiñones <manuq@laptop.org>
20063 Date: Wed Jul 11 11:13:38 2012 -0300
20065 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
20068 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
20070 https://bugzilla.gnome.org/show_bug.cgi?id=679754
20072 pygi-convert.sh | 6 ++++++
20073 1 file changed, 6 insertions(+)
20075 commit 5403149b900d1b73cbc78767dc43be2eb344c836
20076 Author: Simon Feltman <s.feltman@gmail.com>
20077 Date: Tue Jul 10 19:07:32 2012 -0700
20079 Fix PyObject_Repr and PyObject_Str reference leaks
20081 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
20084 https://bugzilla.gnome.org/show_bug.cgi?id=675857
20086 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20088 gi/_glib/glibmodule.c | 10 +++++++--
20089 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
20090 gi/_gobject/pygobject.c | 53
20091 ++++++++++++++++++++++++++++++---------------
20092 gi/pygi-marshal-from-py.c | 9 +++++---
20093 4 files changed, 62 insertions(+), 27 deletions(-)
20095 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
20096 Author: Martin Pitt <martinpitt@gnome.org>
20097 Date: Wed Jul 4 08:46:30 2012 +0200
20099 [API add] Gtk overrides: Add TreePath.__len__()
20101 Use the path depth as length of a Gtk.TreePath object.
20103 https://bugzilla.gnome.org/show_bug.cgi?id=679199
20105 gi/overrides/Gtk.py | 3 +++
20106 tests/test_overrides.py | 4 ++++
20107 2 files changed, 7 insertions(+)
20109 commit e1e849d1a9af77c29ee35971db8d439bac60d573
20110 Author: Martin Pitt <martinpitt@gnome.org>
20111 Date: Wed Jul 4 08:35:16 2012 +0200
20113 GLib.Variant: Fix repr(), add proper str()
20115 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
20117 proper __str__() method, and tests for both.
20119 Thanks to Rul Matos for spotting this!
20121 https://bugzilla.gnome.org/show_bug.cgi?id=679336
20123 gi/overrides/GLib.py | 6 +++++-
20124 tests/test_overrides.py | 5 +++++
20125 2 files changed, 10 insertions(+), 1 deletion(-)
20127 commit af20d7c929b9c1888454b52932a308d346e1c12b
20128 Author: Martin Pitt <martinpitt@gnome.org>
20129 Date: Thu Jun 28 06:51:22 2012 +0200
20131 m4/python.m4: Update Python version list
20133 Thanks to Dieter Verfaillie for pointing this out.
20135 m4/python.m4 | 3 +--
20136 1 file changed, 1 insertion(+), 2 deletions(-)
20138 commit a96a26234e2aaa157837d26094864e3ad9b63edf
20139 Author: Micah Carrick <micah@quixotix.com>
20140 Date: Mon Jun 25 09:05:59 2012 -0700
20142 Remove "label" property from Gtk.MenuItem if it is not set
20144 The Gtk.MenuItem will not render as a separator if the "label" or
20145 "user-underline" properties have been accessed. The constructor
20146 for Gtk.MenuItem override should not pass the "label" property
20147 as an argument if it is None since that will still result in an
20148 empty label widget which breaks Gtk.SeparatorMenuItem.
20150 https://bugzilla.gnome.org/show_bug.cgi?id=670575
20152 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20154 gi/overrides/Gtk.py | 5 ++++-
20155 1 file changed, 4 insertions(+), 1 deletion(-)
20157 commit afa12faf339efb4f7780168e884ecf49b630644a
20158 Author: Martin Pitt <martinpitt@gnome.org>
20159 Date: Mon Jun 25 16:36:31 2012 +0200
20161 configure.ac: Post-release bump to 3.3.4.
20163 configure.ac | 2 +-
20164 1 file changed, 1 insertion(+), 1 deletion(-)
20166 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
20167 Author: Martin Pitt <martinpitt@gnome.org>
20168 Date: Mon Jun 25 16:35:49 2012 +0200
20173 configure.ac | 2 +-
20174 2 files changed, 4 insertions(+), 1 deletion(-)
20176 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
20177 Author: Martin Pitt <martinpitt@gnome.org>
20178 Date: Mon Jun 25 16:32:45 2012 +0200
20180 Do not escape enum and flag names that are Python keywords
20182 These are translated to upper case, and thus can never be
20183 keywords. This broke
20184 existing API such as Gtk.ShadowType.IN.
20186 gi/module.py | 2 +-
20187 gi/pygi-info.c | 7 +++++++
20188 tests/test_gi.py | 3 +++
20189 3 files changed, 11 insertions(+), 1 deletion(-)
20191 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
20192 Author: Martin Pitt <martinpitt@gnome.org>
20193 Date: Mon Jun 25 15:39:50 2012 +0200
20195 configure.ac: Post-release version bump to 3.3.4
20197 configure.ac | 2 +-
20198 1 file changed, 1 insertion(+), 1 deletion(-)
20200 commit fe56faa346c8e8f9fd5915602424778d458a776d
20201 Author: Martin Pitt <martinpitt@gnome.org>
20202 Date: Mon Jun 25 15:36:37 2012 +0200
20206 NEWS | 15 +++++++++++++++
20207 1 file changed, 15 insertions(+)
20209 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
20210 Author: Martin Pitt <martinpitt@gnome.org>
20211 Date: Mon Jun 25 15:35:19 2012 +0200
20213 Bring back ChangeLog make target
20215 This is being used by "make dist".
20217 Makefile.am | 15 +++++++++++++++
20218 1 file changed, 15 insertions(+)
20220 commit 760118e4ed73de2f022706ef897fcc848e90c005
20221 Author: Martin Pitt <martinpitt@gnome.org>
20222 Date: Mon Jun 25 15:31:14 2012 +0200
20224 Remove obsolete ChangeLog and release-tag make targets
20226 Makefile.am | 23 -----------------------
20227 1 file changed, 23 deletions(-)
20229 commit e92278692bb51679d6e957c2ac36db64498a7c73
20230 Author: Simon Schampijer <simon@schampijer.de>
20231 Date: Fri Jun 15 16:11:21 2012 +0200
20233 Do not do any python calls when GObjects are destroyed after the
20234 python interpreter has been finalized
20236 This happens when pygobject_data_free () function is called after
20238 interpreter shuts down, we can't do python calls after that.
20240 Benzea did the findings because of a bug in Sugar, and commented
20242 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
20244 https://bugzilla.gnome.org/show_bug.cgi?id=678046
20246 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
20247 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20249 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
20250 1 file changed, 22 insertions(+), 5 deletions(-)
20252 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
20253 Author: Martin Pitt <martinpitt@gnome.org>
20254 Date: Mon Jun 25 15:06:47 2012 +0200
20256 Do not change constructor-only "type" Window property
20258 When reading a Gtk.Window subclass from a GtkBuilder object,
20260 properties are already set at __init__ time. Do not try to set it
20264 https://bugzilla.gnome.org/show_bug.cgi?id=678510
20266 gi/overrides/Gtk.py | 8 +++++++-
20267 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
20268 2 files changed, 43 insertions(+), 1 deletion(-)
20270 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
20271 Author: Martin Pitt <martinpitt@gnome.org>
20272 Date: Mon Jun 25 09:40:38 2012 +0200
20274 Escape identifiers which are Python keywords
20276 Add a trailing underscore to identifiers which are Python keywords.
20278 We use a per-major-version static identifier list derived from
20280 instead of calling out to Python's keyword.iskeyword(). This is
20282 and also allows us to tweak the result. For example, Python 3 dropped
20284 as a keyword, but we still want to escape that to avoid breaking
20286 between different Python versions.
20288 Error out when building with a major Python version not covered yet,
20290 do not forget to update the list in the future.
20292 https://bugzilla.gnome.org/show_bug.cgi?id=676746
20294 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
20295 tests/test_gi.py | 17 +++++++++++++++++
20296 2 files changed, 54 insertions(+), 1 deletion(-)
20298 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
20299 Author: Martin Pitt <martinpitt@gnome.org>
20300 Date: Fri Jun 22 13:13:37 2012 +0200
20302 Ignore E123 in pep8 tests
20304 This is "closing bracket does not match indentation of opening
20306 but it really looks better to have the closing bracket on the
20308 of the opening bracket instead of the indentation level of the
20310 contains the opening bracket.
20312 tests/Makefile.am | 2 +-
20313 1 file changed, 1 insertion(+), 1 deletion(-)
20315 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
20316 Author: Martin Pitt <martinpitt@gnome.org>
20317 Date: Fri Jun 22 13:08:34 2012 +0200
20319 PEP8: Fix indentation
20321 Spotted by current pep8 checker.
20323 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
20324 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
20325 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
20326 demos/gtk-demo/demos/appwindow.py | 2 +-
20327 demos/gtk-demo/demos/clipboard.py | 8 +--
20328 demos/gtk-demo/demos/colorselector.py | 6 +--
20329 demos/gtk-demo/demos/rotatedtext.py | 8 +--
20330 demos/gtk-demo/gtk-demo.py | 6 +--
20331 examples/option.py | 29 ++++++-----
20332 examples/signal.py | 3 +-
20333 gi/_glib/option.py | 6 +--
20334 gi/_gobject/propertyhelper.py | 18 +++----
20335 gi/module.py | 14 +++---
20336 gi/overrides/GLib.py | 2 +-
20337 gi/overrides/Gio.py | 11 +++--
20338 gi/overrides/Gtk.py | 16 +++---
20339 gi/pygtkcompat.py | 7 ++-
20340 gi/types.py | 17 ++++---
20341 tests/runtests.py | 2 +-
20342 tests/test_gdbus.py | 55 +++++++++++----------
20343 tests/test_gi.py | 15 +++---
20344 tests/test_gobject.py | 18 +++----
20345 tests/test_option.py | 26 +++++-----
20346 tests/test_overrides.py | 67
20347 +++++++++++++-------------
20348 tests/test_properties.py | 30 ++++++------
20349 tests/test_signal.py | 2 +-
20350 tests/test_uris.py | 9 ++--
20351 27 files changed, 200 insertions(+), 193 deletions(-)
20353 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
20354 Author: Martin Pitt <martinpitt@gnome.org>
20355 Date: Fri Jun 22 12:36:54 2012 +0200
20357 PEP8: Use isinstance() instead of direct type comparisons
20359 Spotted by current pep8 checker.
20361 gi/overrides/GLib.py | 2 +-
20362 gi/overrides/__init__.py | 2 +-
20363 2 files changed, 2 insertions(+), 2 deletions(-)
20365 commit 50e45a624e6301e65c150e137aad6d092f203f3f
20366 Author: Martin Pitt <martinpitt@gnome.org>
20367 Date: Fri Jun 22 12:30:10 2012 +0200
20369 PEP8: Fix continuation lines
20371 Spotted by current pep8 checker.
20373 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
20374 gi/__init__.py | 6 +++---
20375 gi/_gobject/__init__.py | 6 ++----
20376 gi/module.py | 6 +++---
20377 tests/test_overrides.py | 11 +++--------
20378 5 files changed, 14 insertions(+), 21 deletions(-)
20380 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
20381 Author: Martin Pitt <martinpitt@gnome.org>
20382 Date: Fri Jun 22 12:24:32 2012 +0200
20384 PEP8: Consistent comparisons against True, False, and None
20386 Spotted by current pep8 checker.
20388 demos/gtk-demo/demos/clipboard.py | 4 ++--
20389 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20390 demos/gtk-demo/gtk-demo.py | 8 ++++----
20391 gi/overrides/Gdk.py | 2 +-
20392 gi/overrides/Gtk.py | 2 +-
20393 tests/test_gi.py | 4 ++--
20394 tests/test_overrides.py | 3 +--
20395 7 files changed, 13 insertions(+), 14 deletions(-)
20397 commit 379c1474a071292a1e8da413af2f5438cff09fc8
20398 Author: Martin Pitt <martinpitt@gnome.org>
20399 Date: Wed Jun 20 12:23:12 2012 +0200
20401 Fix crash in GLib.find_program_in_path()
20403 We need to handle a NULL return value properly.
20405 https://bugzilla.gnome.org/show_bug.cgi?id=678119
20407 gi/_glib/glibmodule.c | 10 ++++++++--
20408 tests/Makefile.am | 1 +
20409 tests/test_glib.py | 15 +++++++++++++++
20410 3 files changed, 24 insertions(+), 2 deletions(-)
20412 commit 73531fd7820bd1922347bd856298d68205a27877
20413 Author: Martin Pitt <martinpitt@gnome.org>
20414 Date: Wed Jun 20 11:16:39 2012 +0200
20416 Revert "Do not bind gobject_get_data() and gobject_set_data()"
20418 We should have some deprecation period for this, so bring back
20420 methods and add deprecation warnings.
20422 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
20424 https://bugzilla.gnome.org/show_bug.cgi?id=641944
20426 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
20427 1 file changed, 44 insertions(+)
20429 commit a0daa843801658929ffee5bcb9eb67d955dc7921
20430 Author: David Keijser <keijser@gmail.com>
20431 Date: Mon Jun 18 15:09:34 2012 +0200
20433 GVariant: Raise proper TypeError on invalid tuple input
20435 https://bugzilla.gnome.org/show_bug.cgi?id=678317
20437 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20439 gi/overrides/GLib.py | 4 ++--
20440 tests/test_overrides.py | 1 +
20441 2 files changed, 3 insertions(+), 2 deletions(-)
20443 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
20444 Author: Martin Pitt <martinpitt@gnome.org>
20445 Date: Tue Jun 5 19:11:38 2012 +0200
20447 configure.ac: Post-release bump to 3.3.3
20449 configure.ac | 2 +-
20450 1 file changed, 1 insertion(+), 1 deletion(-)
20452 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
20453 Author: Martin Pitt <martinpitt@gnome.org>
20454 Date: Tue Jun 5 19:09:12 2012 +0200
20458 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
20459 1 file changed, 44 insertions(+)
20461 commit 8209c1ae1632c77768699481e574d5d378956e71
20462 Author: Martin Pitt <martinpitt@gnome.org>
20463 Date: Tue Jun 5 19:04:49 2012 +0200
20465 Fix "release-news" make target
20467 Actually list changes since the previous release, not since 3.1.92.
20470 1 file changed, 1 insertion(+), 1 deletion(-)
20472 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
20473 Author: Bastian Winkler <buz@netbuz.org>
20474 Date: Wed May 9 19:04:01 2012 +0200
20476 foreign: Register cairo.Path and cairo.FontOptions foreign structs
20478 They are rarely used, but they are used at least by Gdk, PangoCairo
20482 clutter.Path is not used by any API that the test suite uses, so
20484 without a test for now.
20486 https://bugzilla.gnome.org/show_bug.cgi?id=677388
20488 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20490 gi/pygi-foreign-cairo.c | 85
20491 ++++++++++++++++++++++++++++++++++++++++++++++++
20492 tests/test_everything.py | 8 +++++
20493 2 files changed, 93 insertions(+)
20495 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
20496 Author: Marien Zwart <marien.zwart@gmail.com>
20497 Date: Wed May 23 01:51:46 2012 +0200
20499 Check types in GBoxed assignments
20501 Check if the Python value is GBoxed instead of assuming it is.
20502 Without this, the following segfaults:
20504 from gi.repository import Soup
20506 msg = Soup.Message()
20507 msg.props.uri = 'http://www.gnome.org'
20509 as we assume the new property is a GBoxed while it is actually a
20512 https://bugzilla.gnome.org/show_bug.cgi?id=676603
20514 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
20515 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20517 gi/pygi-argument.c | 10 +++++++---
20518 tests/test_gi.py | 19 +++++++++++++++++++
20519 2 files changed, 26 insertions(+), 3 deletions(-)
20521 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
20522 Author: Bastian Winkler <buz@netbuz.org>
20523 Date: Sat May 12 14:08:51 2012 +0200
20525 [API add] Gtk overrides: Add TreeModelRow.get_previous()
20527 TreeModelRow has get_next() and a next property, it should also have
20528 get_previous() and previous.
20530 https://bugzilla.gnome.org/show_bug.cgi?id=677389
20532 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20534 gi/overrides/Gtk.py | 9 +++++++++
20535 1 file changed, 9 insertions(+)
20537 commit 5501fba534696974899f2591929bff9e1b6ecd65
20538 Author: Bastian Winkler <buz@netbuz.org>
20539 Date: Sat May 12 13:50:02 2012 +0200
20541 [API add] Add missing GObject.TYPE_VARIANT
20543 Add TYPE_VARIANT to constants to make it accessible as
20544 GObject.TYPE_VARIANT.
20546 https://bugzilla.gnome.org/show_bug.cgi?id=677387
20548 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20550 gi/_gobject/__init__.py | 1 +
20551 gi/_gobject/constants.py | 1 +
20552 2 files changed, 2 insertions(+)
20554 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
20555 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20556 Date: Fri Jun 1 02:53:13 2012 -0400
20558 Fix boxed type equality
20560 Each boxed type has its own Python type, not PyGBoxed_Type. Use
20561 PyObject_IsInstance instead of comparing against PyGBoxed_Type
20564 https://bugzilla.gnome.org/show_bug.cgi?id=677249
20566 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20568 gi/_gobject/pygboxed.c | 3 ++-
20569 tests/test_everything.py | 8 ++++++++
20570 2 files changed, 10 insertions(+), 1 deletion(-)
20572 commit dc8eef26906753fcb3ce057b23ca110137897fa5
20573 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20574 Date: Fri Jun 1 13:43:38 2012 +0200
20576 Fix TestProperties.testBoxed test
20578 A typo was preventing the test from being run.
20580 https://bugzilla.gnome.org/show_bug.cgi?id=676644
20582 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20584 tests/test_properties.py | 4 ++--
20585 1 file changed, 2 insertions(+), 2 deletions(-)
20587 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
20588 Author: Carlos Garnacho <carlos@lanedo.com>
20589 Date: Thu May 17 17:09:15 2012 +0200
20591 Fix handling of by-reference structs as out parameters
20593 When marshalling back from python, copy the result of by-reference
20594 structs into the memory expected by the native caller, instead of
20595 attempting to handle it as a pointer.
20597 https://bugzilla.gnome.org/show_bug.cgi?id=653151
20599 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20601 gi/pygi-closure.c | 17 +++++++++++++++++
20602 tests/test_gi.py | 5 +++++
20603 2 files changed, 22 insertions(+)
20605 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
20606 Author: Martin Pitt <martinpitt@gnome.org>
20607 Date: Fri Jun 1 12:28:53 2012 +0200
20609 tests: Add more vfunc checks for GIMarshallingTestsObject
20611 tests/test_gi.py | 25 +++++++++++++++++++++++++
20612 1 file changed, 25 insertions(+)
20614 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
20615 Author: Martin Pitt <martinpitt@gnome.org>
20616 Date: Fri Jun 1 12:02:55 2012 +0200
20618 Test caller-allocated GValue out parameter
20620 This came up as a side issue in
20621 https://bugzilla.gnome.org/show_bug.cgi?id=653151
20623 tests/test_gi.py | 3 +++
20624 1 file changed, 3 insertions(+)
20626 commit edc17e703e1a05e20545d3df9167ceb076450443
20627 Author: Bastian Winkler <buz@netbuz.org>
20628 Date: Wed May 16 11:13:05 2012 +0200
20630 GObject.bind_property: Support transform functions
20632 Add support for optional transformation functions to
20633 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
20634 return value correctly.
20636 https://bugzilla.gnome.org/show_bug.cgi?id=676169
20638 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20640 gi/_gobject/pygobject.c | 130
20641 +++++++++++++++++++++++++++++++++++++++++++++---
20642 tests/test_gobject.py | 59 ++++++++++++++++++++++
20643 2 files changed, 181 insertions(+), 8 deletions(-)
20645 commit 07a08b49aae83a297e2f91240448314e4663f724
20646 Author: Carlos Garnacho <carlos@lanedo.com>
20647 Date: Mon May 14 15:31:14 2012 +0200
20649 Fix lookup of vfuncs in parent classes
20651 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
20653 As subclasses implemented in python override the attribute for the
20654 vfunc, __mro__ has to be used so subclasses of the subclass overriding
20655 methods may find the corresponding VFuncInfo.
20657 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
20659 gi/types.py | 6 +++---
20660 tests/test_gi.py | 27 +++++++++++++++++++++++++++
20661 2 files changed, 30 insertions(+), 3 deletions(-)
20663 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
20664 Author: Martin Pitt <martinpitt@gnome.org>
20665 Date: Fri Jun 1 08:18:40 2012 +0200
20667 tests/test_properties.py: Fix whitespace
20669 The pep8 check failed on this.
20671 tests/test_properties.py | 2 +-
20672 1 file changed, 1 insertion(+), 1 deletion(-)
20674 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
20675 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20676 Date: Wed May 30 16:45:53 2012 -0400
20678 gi: Support zero-terminated arrays with length arguments
20680 Sometimes, you may see (array zero-terminated=1 length=length)
20682 Don't expose the length argument to the user in this case.
20684 https://bugzilla.gnome.org/show_bug.cgi?id=677124
20686 gi/pygi-cache.c | 13 ++++---------
20687 tests/test_gi.py | 3 +++
20688 2 files changed, 7 insertions(+), 9 deletions(-)
20690 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
20691 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20692 Date: Fri May 25 17:09:55 2012 -0400
20696 libregress now needs cairo-gobject
20698 configure.ac | 2 +-
20699 1 file changed, 1 insertion(+), 1 deletion(-)
20701 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
20702 Author: Martin Pitt <martinpitt@gnome.org>
20703 Date: Mon May 14 15:48:34 2012 +0200
20705 Fix comment in previous commit
20707 tests/test_gobject.py | 2 +-
20708 1 file changed, 1 insertion(+), 1 deletion(-)
20710 commit 6610428394d0c65987de5021bf2c38641cdb7116
20711 Author: Simon Feltman <s.feltman@gmail.com>
20712 Date: Tue May 8 20:04:09 2012 -0700
20714 [API add] Add GObject.bind_property method
20716 This adds the "bind_property" method for binding two gobject
20718 together. The method returns a weak reference to a GBinding object.
20719 The BindingWeakRef object is used to manage GBinding objects within
20721 created through GObject.bind_property. It is a sub-class
20722 PyGObjectWeakRef so
20723 that we can maintain the same reference counting semantics between
20725 and GObject Binding objects. This gives explicit direct control of the
20726 binding lifetime by using the "unbind" method on the BindingWeakRef
20728 along with implicit management based on the lifetime of the source or
20731 Note this does not yet include support for converter closures. This
20733 later after the initial implementation is accepted.
20735 https://bugzilla.gnome.org/show_bug.cgi?id=675582
20737 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20739 gi/_gobject/pygobject.c | 104
20740 +++++++++++++++++++++++++++++++++++++++++++++++-
20741 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
20742 2 files changed, 193 insertions(+), 1 deletion(-)
20744 commit 88babe7377402f6e6f912a8b83615aab848eae81
20745 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20746 Date: Fri May 11 19:08:47 2012 -0300
20748 pygtkcompat: Correctly set flags
20750 https://bugzilla.gnome.org/show_bug.cgi?id=675911
20752 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20754 gi/pygtkcompat.py | 5 ++---
20755 tests/test_pygtkcompat.py | 1 +
20756 2 files changed, 3 insertions(+), 3 deletions(-)
20758 commit 3f712b56397296bca2f5358cd52977b1a2011964
20759 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20760 Date: Fri May 11 12:39:05 2012 -0300
20762 Gtk overrides: Implement __delitem__ on TreeModel
20764 https://bugzilla.gnome.org/show_bug.cgi?id=675892
20766 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20768 gi/overrides/Gtk.py | 16 ++++++++++++----
20769 tests/test_overrides.py | 9 +++++++++
20770 2 files changed, 21 insertions(+), 4 deletions(-)
20772 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
20773 Author: Simon Feltman <s.feltman@gmail.com>
20774 Date: Sun May 6 18:10:39 2012 -0700
20776 Gdk Color override should support red/green/blue_float properties
20778 Added red_float, green_float, and blue_float properties to Color.
20779 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
20781 https://bugzilla.gnome.org/show_bug.cgi?id=675579
20783 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20785 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
20786 tests/Makefile.am | 2 +-
20787 tests/test_overrides.py | 17 +++++++++++++++++
20788 3 files changed, 62 insertions(+), 1 deletion(-)
20790 commit d9608c332d9592f03545b110cfac8105453ea035
20791 Author: Martin Pitt <martinpitt@gnome.org>
20792 Date: Sat May 5 12:42:42 2012 -0700
20794 Support marshalling of GVariants for closures
20796 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
20798 be called with GVariant arguments and return GVariant.
20800 Unmark the corresponding test case as "expected failure", and also
20802 for None values and type mismatches.
20804 https://bugzilla.gnome.org/show_bug.cgi?id=656554
20806 gi/_gobject/pygtype.c | 47
20807 +++++++++++++++++++++++++++++++++++++++++++++--
20808 tests/test_everything.py | 16 ++++++++++++----
20809 2 files changed, 57 insertions(+), 6 deletions(-)
20811 commit e7a909c16dc1c625ab11e270f23d540f15c71767
20812 Author: Johan Dahlin <johan@gnome.org>
20813 Date: Mon May 7 10:33:40 2012 -0300
20815 Require gobject-introspection 1.33.0
20817 configure.ac | 2 +-
20818 1 file changed, 1 insertion(+), 1 deletion(-)
20820 commit 9e8239684433631e0d1650d25416e4d7bf92a058
20821 Author: Martin Pitt <martinpitt@gnome.org>
20822 Date: Sun May 6 18:28:23 2012 -0700
20824 NEWS: Add API additions since 3.2.0
20827 1 file changed, 4 insertions(+), 3 deletions(-)
20829 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
20830 Author: Martin Pitt <martinpitt@gnome.org>
20831 Date: Sun May 6 18:25:23 2012 -0700
20833 NEWS: Mark API changes since 3.2.0
20836 1 file changed, 3 insertions(+), 3 deletions(-)
20838 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
20839 Author: Martin Pitt <martinpitt@gnome.org>
20840 Date: Sun May 6 18:19:35 2012 -0700
20842 Fix commit 168a087 for Python 3
20844 Simplify the type check and use the already existing one. Fix the
20846 to work with both Python 2 and 3.
20848 gi/pygi-argument.c | 42 +++++++++---------------------------------
20849 1 file changed, 9 insertions(+), 33 deletions(-)
20851 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
20852 Author: Martin Pitt <martinpitt@gnome.org>
20853 Date: Sun May 6 18:08:57 2012 -0700
20855 pygtkcompat.py: Typo fix
20857 Was missing a space around operator, causing the PEP8 check to fail.
20859 gi/pygtkcompat.py | 2 +-
20860 1 file changed, 1 insertion(+), 1 deletion(-)
20862 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
20863 Author: Martin Pitt <martinpitt@gnome.org>
20864 Date: Sun May 6 18:02:04 2012 -0700
20866 _pygi_argument_from_object(): Check for compatible data type
20868 Verify that the passed PyObject actually matches the expected type
20870 argument. With this, trying to assign a wrong type to a property
20872 a proper TypeError.
20874 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
20875 gi/pygi-property.c | 3 +++
20876 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
20877 3 files changed, 82 insertions(+)
20879 commit 5948b62ba3e08ea943e6965ee38c94c363186226
20880 Author: Martin Pitt <martinpitt@gnome.org>
20881 Date: Sun May 6 17:59:57 2012 -0700
20883 pygtkcompat: Fix color conversion
20885 gtk_style_context_get_background_color() returns a GdkRGBA value,
20887 float values between 0 and 1. However, we construct a GdkColor
20889 that, so we need to scale to 0..65535 and round to int.
20891 gi/pygtkcompat.py | 6 +++---
20892 1 file changed, 3 insertions(+), 3 deletions(-)
20894 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
20895 Author: Martin Pitt <martinpitt@gnome.org>
20896 Date: Sun May 6 06:02:31 2012 -0700
20898 test_gi: Check setting properties in constructor
20900 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
20901 1 file changed, 33 insertions(+)
20903 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
20904 Author: Martin Pitt <martinpitt@gnome.org>
20905 Date: Sun May 6 05:50:00 2012 -0700
20907 Support getting and setting GStrv properties
20909 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
20910 tests/test_gi.py | 11 +++++++++++
20911 2 files changed, 47 insertions(+)
20913 commit 8321af2c7df499291e664c676376f149a0c3dcac
20914 Author: Martin Pitt <martinpitt@gnome.org>
20915 Date: Sat May 5 13:58:29 2012 -0700
20917 Support defining GStrv properties from Python
20919 gi/_gobject/propertyhelper.py | 10 ++++++--
20920 tests/test_properties.py | 58
20921 +++++++++++++++++++++++++++++++++++++++++--
20922 2 files changed, 64 insertions(+), 4 deletions(-)
20924 commit f2494526e1c579c41babfe7ff67deef0f6966adf
20925 Author: Martin Pitt <martinpitt@gnome.org>
20926 Date: Sat May 5 13:21:20 2012 -0700
20928 Add GObject.TYPE_STRV constant
20930 gi/_gobject/__init__.py | 1 +
20931 gi/_gobject/constants.py | 1 +
20932 tests/test_everything.py | 2 +-
20933 tests/test_signal.py | 2 +-
20934 4 files changed, 4 insertions(+), 2 deletions(-)
20936 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
20937 Author: Martin Pitt <martinpitt@gnome.org>
20938 Date: Sat May 5 09:28:36 2012 +0200
20940 Unref GVariants when destroying the wrapper
20942 https://bugzilla.gnome.org/show_bug.cgi?id=675472
20944 gi/overrides/GLib.py | 3 +++
20945 1 file changed, 3 insertions(+)
20947 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
20948 Author: Martin Pitt <martinpitt@gnome.org>
20949 Date: Sat May 5 09:23:55 2012 +0200
20951 Fix TestArrayGVariant test cases
20953 test_array_gvariant_container_in() and test_array_gvariant_full_in()
20955 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
20957 Actually do what they mean to do now and call the corresponding
20958 GIMarshallingTests methods.
20960 tests/test_gi.py | 4 ++--
20961 1 file changed, 2 insertions(+), 2 deletions(-)
20963 commit fda8a069d503e63c76a6b1ba285a181822549059
20964 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20965 Date: Sat May 5 08:52:41 2012 +0200
20967 pygtkcompat: Add gdk.pixbuf_get_formats compat code
20969 https://bugzilla.gnome.org/show_bug.cgi?id=675489
20971 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20973 gi/pygtkcompat.py | 20 ++++++++++++++++++++
20974 tests/test_pygtkcompat.py | 8 ++++++++
20975 2 files changed, 28 insertions(+)
20977 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
20978 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20979 Date: Mon Apr 30 13:44:19 2012 -0300
20981 pygtkcompat: Add some more compat functions
20983 https://bugzilla.gnome.org/show_bug.cgi?id=675489
20985 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20987 gi/pygtkcompat.py | 14 ++++++++++++++
20988 1 file changed, 14 insertions(+)
20990 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
20991 Author: Martin Pitt <martinpitt@gnome.org>
20992 Date: Thu May 3 12:25:04 2012 +0200
20994 Fix tests for Python 3
20996 cmp() does not exist any more in Python 3, replace with comparison
20999 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
21001 can't pass a str (which is an Unicode object in Python 3). Pass a
21005 tests/test_gi.py | 2 +-
21006 tests/test_overrides.py | 2 +-
21007 2 files changed, 2 insertions(+), 2 deletions(-)
21009 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
21010 Author: Martin Pitt <martinpitt@gnome.org>
21011 Date: Thu May 3 09:38:56 2012 +0200
21013 Fix building with --disable-cairo
21015 Build gobject-introspection's regress.c against cairo, not
21016 pycairo/py3cairo. We
21017 always need cairo to build, so unconditionally check for this in
21020 In test_everything.py, gracefully handle the absence of the "cairo"
21022 module, which we do not have when building without cairo support.
21024 configure.ac | 3 +++
21025 tests/Makefile.am | 4 ++--
21026 tests/test_everything.py | 8 +++++++-
21027 3 files changed, 12 insertions(+), 3 deletions(-)
21029 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
21030 Author: Martin Pitt <martinpitt@gnome.org>
21031 Date: Thu May 3 09:28:51 2012 +0200
21033 tests: Fix deprecated assertions
21035 assertAlmostEquals → assertAlmostEqual
21036 assertNotEquals → assertNotEqual
21038 tests/test_everything.py | 4 ++--
21039 tests/test_gi.py | 12 ++++++------
21040 tests/test_overrides.py | 10 +++++-----
21041 3 files changed, 13 insertions(+), 13 deletions(-)
21043 commit 07f312e66c07357168098d3f96813d2c997e8dc7
21044 Author: Martin Pitt <martinpitt@gnome.org>
21045 Date: Wed May 2 12:08:19 2012 +0200
21047 Run tests with MALLOC_PERTURB_
21049 We mostly use the glib allocation functions, but this might
21050 help to uncover access to already freed or uninitialized memory in
21054 tests/Makefile.am | 1 +
21055 1 file changed, 1 insertion(+)
21057 commit b0740d386c2cbbd153878209b584b568968e4d98
21058 Author: Martin Pitt <martinpitt@gnome.org>
21059 Date: Mon Apr 30 16:26:57 2012 +0200
21061 configure.ac: Post-release bump to 3.3.2
21063 configure.ac | 2 +-
21064 1 file changed, 1 insertion(+), 1 deletion(-)
21066 commit d3977266faadacd3d05705497c1cf51a01a6606f
21067 Author: Martin Pitt <martinpitt@gnome.org>
21068 Date: Mon Apr 30 16:08:09 2012 +0200
21073 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21074 1 file changed, 66 insertions(+)
21076 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
21077 Author: Giovanni Campagna <gcampagna@src.gnome.org>
21078 Date: Sun Apr 29 23:55:15 2012 +0200
21080 GSettings: allow extra keyword arguments
21082 All GObject constructors are expected to accept any construct
21083 property as keyword argument, and overrides should respect that.
21084 In particular, not doing this for GSettings prevents using a custom
21087 https://bugzilla.gnome.org/show_bug.cgi?id=675105
21089 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21091 gi/overrides/Gio.py | 4 ++--
21092 1 file changed, 2 insertions(+), 2 deletions(-)
21094 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
21095 Author: Jose Rostagno <joserostagno@vijona.com.ar>
21096 Date: Sun Apr 29 12:56:50 2012 -0300
21098 pygtkcompat: Correct Userlist module use
21100 https://bugzilla.gnome.org/show_bug.cgi?id=675084
21102 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21104 gi/pygtkcompat.py | 2 +-
21105 tests/test_pygtkcompat.py | 4 ++++
21106 2 files changed, 5 insertions(+), 1 deletion(-)
21108 commit 3551462a429ef30274fa01fc8111da5025f9c342
21109 Author: Martin Pitt <martinpitt@gnome.org>
21110 Date: Sun Apr 29 20:17:47 2012 +0200
21112 Add release-news make rule
21114 This produces a commit log since the previous release in our
21116 format. This does not currently wrap long lines automatically, though.
21118 Do include bug numbers from now on, as they are very useful.
21120 Makefile.am | 12 ++++++++++--
21121 1 file changed, 10 insertions(+), 2 deletions(-)
21123 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
21124 Author: Martin Pitt <martinpitt@gnome.org>
21125 Date: Wed Apr 25 13:07:59 2012 +0200
21127 Add "make check.nemiver" target
21129 Similar to "check.gdb", but invokes nemiver.
21131 Makefile.am | 3 +++
21132 tests/Makefile.am | 3 +++
21133 2 files changed, 6 insertions(+)
21135 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
21136 Author: Martin Pitt <martinpitt@gnome.org>
21137 Date: Tue Apr 24 13:24:00 2012 +0200
21139 Test flags and enums in GHash values
21141 https://bugzilla.gnome.org/show_bug.cgi?id=637466
21143 tests/test_everything.py | 18 ++++++++++++------
21144 1 file changed, 12 insertions(+), 6 deletions(-)
21146 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
21147 Author: Martin Pitt <martinpitt@gnome.org>
21148 Date: Tue Apr 24 13:03:36 2012 +0200
21150 tests: Activate test_hash_in and apply workaround
21152 Work around pygobject's current inability to produce a GStrv object
21154 string array by explicitly producing a GStrV object, and reactivate
21157 https://bugzilla.gnome.org/show_bug.cgi?id=666636
21159 tests/test_everything.py | 24 +++++++++++++-----------
21160 1 file changed, 13 insertions(+), 11 deletions(-)
21162 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
21163 Author: Martin Pitt <martinpitt@gnome.org>
21164 Date: Mon Apr 23 12:33:09 2012 +0200
21166 Add special case for Gdk.Atom array entries from Python
21168 Gdk.Atom pretends to be a struct pointer, but is really just an
21170 into a pointer. So we must not dereference it directly, nor free
21172 instead just copy the pointer value.
21174 Also add a few other test cases for "single Atom return", "single
21176 in", and Atom GList return", which already work fine.
21178 https://bugzilla.gnome.org/show_bug.cgi?id=661709
21180 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
21181 tests/Makefile.am | 1 +
21182 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
21183 3 files changed, 56 insertions(+), 4 deletions(-)
21185 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
21186 Author: Martin Pitt <martinpitt@gnome.org>
21187 Date: Mon Apr 23 20:09:43 2012 +0200
21189 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
21191 https://bugzilla.gnome.org/show_bug.cgi?id=667954
21193 tests/test_gdbus.py | 2 +-
21194 1 file changed, 1 insertion(+), 1 deletion(-)
21196 commit 3ae38d7519524288a57e5d522954b9d6725f0185
21197 Author: Martin Pitt <martinpitt@gnome.org>
21198 Date: Mon Apr 23 18:47:34 2012 +0200
21200 Add test case for Gtk.ListStore custom sort
21202 This works in Python 2, but crashes in Python 3, another case of
21204 we get when C calls a Python callback in Python 3.
21206 https://bugzilla.gnome.org/show_bug.cgi?id=674475
21208 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
21209 1 file changed, 31 insertions(+)
21211 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
21212 Author: Martin Pitt <martinpitt@gnome.org>
21213 Date: Mon Apr 23 17:40:23 2012 +0200
21215 GTK overrides: Add missing keyword arguments
21217 Add missing **kwargs to overridden __init__() constructors, to
21219 arbitrary widget properties.
21221 https://bugzilla.gnome.org/show_bug.cgi?id=660018
21223 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
21224 tests/test_overrides.py | 6 ++++++
21225 2 files changed, 24 insertions(+), 16 deletions(-)
21227 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
21228 Author: Martin Pitt <martinpitt@gnome.org>
21229 Date: Mon Apr 23 15:24:04 2012 +0200
21231 Add missing override for TreeModel.iter_previous()
21233 This should behave like the override for TreeModel.iter_next().
21235 https://bugzilla.gnome.org/show_bug.cgi?id=660018
21237 gi/overrides/Gtk.py | 6 ++++++
21238 tests/test_overrides.py | 4 ++++
21239 2 files changed, 10 insertions(+)
21241 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
21242 Author: Martin Pitt <martinpitt@gnome.org>
21243 Date: Sun Apr 22 16:45:06 2012 +0200
21245 pygi-convert.py: Drop obsolete drag method conversions
21247 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
21249 fixed a while ago to be proper Widget methods again.
21251 https://bugzilla.gnome.org/show_bug.cgi?id=652860
21253 pygi-convert.sh | 3 ---
21254 1 file changed, 3 deletions(-)
21256 commit f82eca6006dec21624796074af8ffe9b2256f7a4
21257 Author: Martin Pitt <martinpitt@gnome.org>
21258 Date: Sat Apr 21 14:00:50 2012 +0200
21260 tests: Replace deprecated assertEquals() with assertEqual()
21262 tests/test_everything.py | 144 ++++++-------
21263 tests/test_gi.py | 502
21264 +++++++++++++++++++++++-----------------------
21265 tests/test_gobject.py | 58 +++---
21266 tests/test_option.py | 6 +-
21267 tests/test_overrides.py | 352 ++++++++++++++++----------------
21268 tests/test_properties.py | 18 +-
21269 tests/test_pygtkcompat.py | 42 ++--
21270 7 files changed, 561 insertions(+), 561 deletions(-)
21272 commit ddb0bf01e694585d58af52673a21796e7c9578ea
21273 Author: Paolo Borelli <pborelli@gnome.org>
21274 Date: Sat Apr 21 12:02:54 2012 +0200
21276 Plug tiny leak in constant_info_get_value
21278 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
21280 gi/pygi-info.c | 1 +
21281 1 file changed, 1 insertion(+)
21283 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
21284 Author: Bastian Winkler <buz@netbuz.org>
21285 Date: Thu Apr 12 20:30:05 2012 +0200
21287 Fix len_arg_index for array arguments
21289 Don't set len_arg_index for arrays without the length annotation
21291 This fixes methods like Clutter.Texture.set_from_rgb_data() and
21292 Clutter.Image.set_data()
21294 https://bugzilla.gnome.org/show_bug.cgi?id=674271
21296 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21298 gi/pygi-cache.c | 4 +++-
21299 gi/pygi-marshal-cleanup.c | 4 ++--
21300 tests/test_gi.py | 3 +++
21301 3 files changed, 8 insertions(+), 3 deletions(-)
21303 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
21304 Author: Martin Pitt <martinpitt@gnome.org>
21305 Date: Thu Apr 19 13:11:56 2012 +0200
21307 Support defining GType properties from Python
21309 Commit 84e3471 fixed the handling of GType properties for properties
21311 defined in the C library already. Add the missing support for
21313 properties in Python as well.
21315 https://bugzilla.gnome.org/show_bug.cgi?id=674351
21317 gi/_gobject/gobjectmodule.c | 5 ++++-
21318 gi/_gobject/propertyhelper.py | 9 ++++++---
21319 tests/test_properties.py | 42
21320 +++++++++++++++++++++++++++++++++++++++---
21321 3 files changed, 49 insertions(+), 7 deletions(-)
21323 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
21324 Author: Martin Pitt <martinpitt@gnome.org>
21325 Date: Thu Apr 19 16:12:29 2012 +0200
21327 Fix typo in previous commit
21329 In the test case, actually assign the newly created object, so that
21331 properties of the right object.
21333 tests/test_everything.py | 2 +-
21334 1 file changed, 1 insertion(+), 1 deletion(-)
21336 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
21337 Author: Bastian Winkler <buz@netbuz.org>
21338 Date: Wed Apr 18 21:44:08 2012 +0200
21340 Handle GType properties correctly
21342 Fix conversion from/to properties of type G_TYPE_GTYPE
21344 https://bugzilla.gnome.org/show_bug.cgi?id=674351
21346 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21348 gi/_gobject/pygtype.c | 9 +++++++--
21349 tests/test_everything.py | 15 +++++++++++++++
21350 2 files changed, 22 insertions(+), 2 deletions(-)
21352 commit d1362451e070e156d2f49c9cde930cc38befb12b
21353 Author: Martin Pitt <martinpitt@gnome.org>
21354 Date: Thu Apr 19 07:27:10 2012 +0200
21356 Add missing GObject.TYPE_GTYPE
21358 gi/_gobject/__init__.py | 1 +
21359 gi/_gobject/constants.py | 1 +
21360 2 files changed, 2 insertions(+)
21362 commit d3225f1540e09719caa73e52d402e946da3add24
21363 Author: Martin Pitt <martinpitt@gnome.org>
21364 Date: Tue Apr 10 12:44:00 2012 +0200
21366 Fix test_mainloop.py for Python 3
21368 tests/test_mainloop.py | 9 +++++++--
21369 1 file changed, 7 insertions(+), 2 deletions(-)
21371 commit 903283119896f3e054694484da4147788b02ce60
21372 Author: Martin Pitt <martinpitt@gnome.org>
21373 Date: Mon Apr 9 15:20:39 2012 +0200
21375 Make callback exception propagation test stricter
21377 Propagating Python exceptions from callbacks through the C context
21379 original caller does not currently happen, is nontrivial/unsafe
21381 and not desirable at this point any more as by now we have established
21383 current behaviour. So remove the catching of ZeroDivisionError in
21386 https://bugzilla.gnome.org/show_bug.cgi?id=616279
21388 tests/test_everything.py | 16 ++++++++--------
21389 1 file changed, 8 insertions(+), 8 deletions(-)
21391 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
21392 Author: Simon Feltman <s.feltman@gmail.com>
21393 Date: Sun Mar 18 15:59:58 2012 -0700
21395 Add context management to freeze_notify() and handler_block().
21397 These methods now return a context manager object. Within the
21399 thaw_notify() and handler_unblock() are called respectively. This
21401 statements like the following:
21403 with obj.freeze_notify():
21404 obj.props.width = 100
21405 obj.props.height = 100
21406 obj.props.opacity = 0.5
21408 This does not affect standard usage of these methods.
21410 https://bugzilla.gnome.org/show_bug.cgi?id=672324
21412 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21414 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
21415 tests/test_gobject.py | 158
21416 ++++++++++++++++++++++++++++++++++++++++++++++++
21417 2 files changed, 288 insertions(+), 8 deletions(-)
21419 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
21420 Author: Martin Pitt <martinpitt@gnome.org>
21421 Date: Wed Apr 4 19:08:54 2012 +0200
21423 Add support for GFlags properties
21425 https://bugzilla.gnome.org/show_bug.cgi?id=620943
21427 gi/_gobject/propertyhelper.py | 9 +++++++--
21428 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
21429 2 files changed, 34 insertions(+), 3 deletions(-)
21431 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
21432 Author: Martin Pitt <martinpitt@gnome.org>
21433 Date: Wed Apr 4 17:54:52 2012 +0200
21435 Wrap GLib.Source.is_destroyed() method
21437 Based on original patch from Bryan Silverthorn.
21439 https://bugzilla.gnome.org/show_bug.cgi?id=524719
21441 gi/_glib/pygsource.c | 15 +++++++++++++++
21442 tests/test_source.py | 24 ++++++++++++++++++++++++
21443 2 files changed, 39 insertions(+)
21445 commit 05030a95a4d3090162ed5f510a26d69bbb152942
21446 Author: Martin Pitt <martinpitt@gnome.org>
21447 Date: Wed Apr 4 15:59:24 2012 +0200
21449 Fix error message when trying to override a non-GI class
21451 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
21453 https://bugzilla.gnome.org/show_bug.cgi?id=646667
21455 gi/overrides/__init__.py | 7 ++++---
21456 tests/test_overrides.py | 13 +++++++++++++
21457 2 files changed, 17 insertions(+), 3 deletions(-)
21459 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
21460 Author: Steve Frécinaux <code@istique.net>
21461 Date: Wed Apr 4 15:30:55 2012 +0200
21463 Fix segfault when accessing __grefcount__ before creating the GObject
21465 When creating a new instance using Type() and trying to access
21466 __grefcount__ before calling the subclass's __init__ function, there
21467 used to be a segmentation fault because we were trying to access the
21468 not yet created object. Now raise a proper exception instead.
21470 https://bugzilla.gnome.org/show_bug.cgi?id=640434
21472 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
21474 gi/_gobject/pygobject.c | 4 ++++
21475 tests/test_gobject.py | 11 +++++++++++
21476 2 files changed, 15 insertions(+)
21478 commit 24cc09a7105299805fcc5bc151f53ac69958d728
21479 Author: Steve Frécinaux <code@istique.net>
21480 Date: Wed Feb 9 18:37:33 2011 +0100
21482 Do not bind gobject_get_data() and gobject_set_data()
21484 They will basically cause a crash if misused, and you can always use a
21485 python member attribute instead.
21487 https://bugzilla.gnome.org/show_bug.cgi?id=641944
21489 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21491 gi/_gobject/pygobject.c | 40 ----------------------------------------
21492 1 file changed, 40 deletions(-)
21494 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
21495 Author: Martin Pitt <martinpitt@gnome.org>
21496 Date: Tue Apr 3 22:26:34 2012 +0200
21498 Add test case for multiple GLib.MainLoop instances
21500 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
21504 https://bugzilla.gnome.org/show_bug.cgi?id=663068
21506 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
21507 1 file changed, 24 insertions(+), 1 deletion(-)
21509 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
21510 Author: John (J5) Palmieri <johnp@redhat.com>
21511 Date: Tue Feb 21 15:13:42 2012 +0100
21513 Add a ccallback type which is used to invoke callbacks passed to
21516 Used when overriding methods like gtk_container_forall wich pass in a
21517 callback that needs to be executed on internal children:
21518 def do_forall(self, callback, userdata):
21519 callback(self.custom_child, userdata)
21521 https://bugzilla.gnome.org/show_bug.cgi?id=644926
21523 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21524 Co-authored-by: Simon Schampijer <simon@laptop.org>
21526 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21528 gi/Makefile.am | 2 +
21529 gi/gimodule.c | 1 +
21530 gi/module.py | 5 +++
21531 gi/pygi-argument.c | 12 +----
21532 gi/pygi-cache.c | 28 ++++++++++--
21533 gi/pygi-cache.h | 9 ++--
21534 gi/pygi-ccallback.c | 100
21535 ++++++++++++++++++++++++++++++++++++++++++
21536 gi/pygi-ccallback.h | 41 +++++++++++++++++
21537 gi/pygi-closure.c | 50 ++++++++++++++++++++-
21538 gi/pygi-invoke-state-struct.h | 2 +
21539 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
21540 gi/pygi-invoke.h | 3 ++
21541 gi/pygi-private.h | 1 +
21542 gi/pygi.h | 10 +++++
21543 tests/test_gi.py | 16 +++++++
21544 15 files changed, 312 insertions(+), 41 deletions(-)
21546 commit db7e1d078db16b6f11dee51aa97525c451346632
21547 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
21548 Date: Tue Mar 27 17:34:48 2012 +0200
21550 Regression test: marshalling GValues in GHashTable
21552 https://bugzilla.gnome.org/show_bug.cgi?id=668903
21554 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21556 tests/test_everything.py | 19 +++++++++++++++++++
21557 1 file changed, 19 insertions(+)
21559 commit 7c0017c30129a8db391f902ed592782200d69c64
21560 Author: Martin Pitt <martin.pitt@ubuntu.com>
21561 Date: Mon Mar 26 17:55:41 2012 +0200
21563 Bump version to 3.3.1
21565 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
21567 continue with 3.3.x on master.
21569 configure.ac | 4 ++--
21570 1 file changed, 2 insertions(+), 2 deletions(-)
21572 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
21573 Author: Martin Pitt <martin.pitt@ubuntu.com>
21574 Date: Mon Mar 26 17:51:37 2012 +0200
21578 - Ignore *.o, backup files, and generated Makefiles in all
21580 - Ignore *.pyc files.
21581 - Do not ignore .gitignore, we actually want to track this.
21584 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21585 1 file changed, 61 insertions(+)
21587 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
21588 Author: Martin Pitt <martin.pitt@ubuntu.com>
21589 Date: Mon Mar 26 17:45:08 2012 +0200
21591 Fix "distcheck" and tests with out-of-tree builds
21593 - Symlink *.py files from srcdir into builddir during build, as
21595 accept the extensions and modules in different paths.
21596 - "make clean" should remove *.pyc files
21597 - tests/runtests.py: Look for tests in srcdir, not in builddir
21599 Makefile.am | 6 ++++--
21600 gi/Makefile.am | 13 +++++++++++--
21601 gi/_glib/Makefile.am | 12 ++++++++++--
21602 gi/_gobject/Makefile.am | 12 ++++++++++--
21603 gi/overrides/Makefile.am | 10 ++++++++++
21604 gi/repository/Makefile.am | 11 +++++++++++
21605 tests/runtests.py | 6 ++++--
21606 7 files changed, 60 insertions(+), 10 deletions(-)
21608 commit f83d95e6fff572bda659a48e309b4524dafa4e83
21609 Author: Johan Dahlin <johan@gnome.org>
21610 Date: Thu Mar 22 11:14:03 2012 -0300
21612 Add a pep8 check to the makefile
21614 Also reorganize the pyflakes check, since target dependencies do not
21615 take the exit status of the shell command into account.
21617 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21619 tests/Makefile.am | 9 ++++-----
21620 1 file changed, 4 insertions(+), 5 deletions(-)
21622 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
21623 Author: Johan Dahlin <johan@gnome.org>
21624 Date: Thu Mar 22 10:56:59 2012 -0300
21626 PEP8: Remaining whitespace fixes
21628 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21630 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
21631 demos/gtk-demo/demos/Tree View/liststore.py | 28
21632 +++++++++++++-------------
21633 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
21634 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21635 examples/cairo-demo.py | 4 ++--
21636 tests/test_gi.py | 12 +++++------
21637 tests/test_overrides.py | 2 +-
21638 7 files changed, 32 insertions(+), 33 deletions(-)
21640 commit 032fcce2bf6070a9001cbb780e90403051e303b1
21641 Author: Johan Dahlin <johan@gnome.org>
21642 Date: Thu Mar 22 10:56:03 2012 -0300
21644 PEP8: Add spaces before #
21646 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21648 demos/gtk-demo/demos/drawingarea.py | 6 +++---
21649 demos/gtk-demo/demos/images.py | 10 +++++-----
21650 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21651 gi/__init__.py | 2 +-
21652 gi/_glib/option.py | 2 +-
21653 gi/_gobject/__init__.py | 2 +-
21654 gi/overrides/GLib.py | 12 ++++++------
21655 gi/types.py | 4 ++--
21656 tests/runtests.py | 2 +-
21657 tests/test_gdbus.py | 4 ++--
21658 10 files changed, 23 insertions(+), 23 deletions(-)
21660 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
21661 Author: Johan Dahlin <johan@gnome.org>
21662 Date: Thu Mar 22 10:52:05 2012 -0300
21664 PEP8: Add missing whitespace after : and ,
21666 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21668 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21669 demos/gtk-demo/demos/appwindow.py | 2 +-
21670 tests/test_everything.py | 23 +++++++++--------------
21671 tests/test_gi.py | 2 +-
21672 tests/test_overrides.py | 2 +-
21673 5 files changed, 13 insertions(+), 18 deletions(-)
21675 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
21676 Author: Johan Dahlin <johan@gnome.org>
21677 Date: Thu Mar 22 10:49:52 2012 -0300
21679 PEP8: Remove too whitespace before }
21681 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21683 tests/test_overrides.py | 2 +-
21684 1 file changed, 1 insertion(+), 1 deletion(-)
21686 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
21687 Author: Johan Dahlin <johan@gnome.org>
21688 Date: Thu Mar 22 10:49:27 2012 -0300
21690 PEP8: Remove too many blank lines
21692 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21694 demos/gtk-demo/demos/rotatedtext.py | 1 -
21695 tests/test_overrides.py | 1 -
21696 2 files changed, 2 deletions(-)
21698 commit 03e597cb8f3b075efae556ee51a598695a883ad3
21699 Author: Johan Dahlin <johan@gnome.org>
21700 Date: Thu Mar 22 10:48:59 2012 -0300
21702 PEP8: Fix whitespace around operators
21704 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21706 demos/gtk-demo/demos/images.py | 2 +-
21707 examples/cairo-demo.py | 8 ++++----
21708 tests/test_gi.py | 4 ++--
21709 tests/test_overrides.py | 8 ++++----
21710 tests/test_properties.py | 14 +++++++-------
21711 tests/test_signal.py | 2 +-
21712 6 files changed, 19 insertions(+), 19 deletions(-)
21714 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
21715 Author: Johan Dahlin <johan@gnome.org>
21716 Date: Thu Mar 22 10:46:17 2012 -0300
21718 PEP8: Remove whitespace before (
21720 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21722 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
21723 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
21724 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
21725 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
21726 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21727 demos/gtk-demo/demos/dialogs.py | 12 ++---
21728 demos/gtk-demo/demos/pickers.py | 8 ++--
21729 demos/gtk-demo/demos/pixbuf.py | 4 +-
21730 demos/gtk-demo/demos/printing.py | 8 ++--
21731 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21732 demos/gtk-demo/gtk-demo.py | 4 +-
21733 gi/module.py | 4 +-
21734 gi/overrides/Pango.py | 2 +-
21735 gi/pygtkcompat.py | 4 +-
21736 tests/test_everything.py | 4 +-
21737 tests/test_overrides.py | 62
21738 +++++++++++++-------------
21739 16 files changed, 68 insertions(+), 68 deletions(-)
21741 commit b04d209930ab01bae6563b0d714aec829739bdc6
21742 Author: Johan Dahlin <johan@gnome.org>
21743 Date: Thu Mar 22 10:40:46 2012 -0300
21745 PEP8: Remove whitespace around {}
21747 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21749 tests/test_signal.py | 20 ++++++++++----------
21750 1 file changed, 10 insertions(+), 10 deletions(-)
21752 commit 725483a5dc36739dc7836716b5d6d48091564bf8
21753 Author: Johan Dahlin <johan@gnome.org>
21754 Date: Thu Mar 22 10:38:59 2012 -0300
21756 PEP8: run via --fix from craigds fork
21758 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21760 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
21761 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
21762 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
21763 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
21764 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
21765 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
21766 demos/gtk-demo/demos/appwindow.py | 13 +++++-
21767 demos/gtk-demo/demos/assistant.py | 1 +
21768 demos/gtk-demo/demos/builder.py | 1 +
21769 demos/gtk-demo/demos/button_box.py | 1 +
21770 demos/gtk-demo/demos/clipboard.py | 2 +-
21771 demos/gtk-demo/demos/colorselector.py | 1 +
21772 demos/gtk-demo/demos/combobox.py | 4 +-
21773 demos/gtk-demo/demos/dialogs.py | 2 +
21774 demos/gtk-demo/demos/drawingarea.py | 1 +
21775 demos/gtk-demo/demos/expander.py | 4 +-
21776 demos/gtk-demo/demos/images.py | 10 +++--
21777 demos/gtk-demo/demos/infobars.py | 2 +
21778 demos/gtk-demo/demos/links.py | 2 +
21779 demos/gtk-demo/demos/menus.py | 2 +
21780 demos/gtk-demo/demos/pickers.py | 2 +
21781 demos/gtk-demo/demos/pixbuf.py | 2 +
21782 demos/gtk-demo/demos/printing.py | 5 ++-
21783 demos/gtk-demo/demos/rotatedtext.py | 4 +-
21784 demos/gtk-demo/demos/test.py | 1 +
21785 demos/gtk-demo/gtk-demo.py | 9 ++--
21786 examples/cairo-demo.py | 57
21787 ++++++++++++++----------
21788 examples/option.py | 1 -
21789 examples/properties.py | 1 +
21790 examples/signal.py | 4 ++
21791 gi/__init__.py | 2 +
21792 gi/_glib/option.py | 4 +-
21793 gi/_gobject/__init__.py | 1 +
21794 gi/_gobject/propertyhelper.py | 5 ++-
21795 gi/module.py | 3 ++
21796 gi/overrides/GIMarshallingTests.py | 2 +
21797 gi/overrides/GLib.py | 12 +++--
21798 gi/overrides/Gdk.py | 9 ++++
21799 gi/overrides/Gio.py | 4 ++
21800 gi/overrides/Gtk.py | 56
21801 ++++++++++++++++++++---
21802 gi/overrides/Pango.py | 2 +
21803 gi/overrides/__init__.py | 5 ++-
21804 gi/pygtkcompat.py | 16 +++++--
21806 tests/test_everything.py | 30 +++++++++----
21807 tests/test_gdbus.py | 1 +
21808 tests/test_gi.py | 30 +++++++------
21809 tests/test_gobject.py | 3 +-
21810 tests/test_mainloop.py | 1 +
21811 tests/test_option.py | 1 +
21812 tests/test_overrides.py | 55
21813 ++++++++++++-----------
21814 tests/test_properties.py | 11 ++++-
21815 tests/test_signal.py | 32 ++++++++++++-
21816 tests/test_source.py | 1 +
21817 tests/test_subprocess.py | 1 +
21818 tests/test_thread.py | 1 +
21819 tests/test_uris.py | 1 +
21820 tests/testmodule.py | 1 +
21821 58 files changed, 326 insertions(+), 111 deletions(-)
21823 commit 917275d4aa81db39ccaca34fa514032fb80a3187
21824 Author: Johan Dahlin <johan@gnome.org>
21825 Date: Thu Mar 22 10:33:29 2012 -0300
21827 PEP8: Remove spaces around = for keyword arguments
21829 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21831 demos/gtk-demo/demos/appwindow.py | 8 ++++----
21832 demos/gtk-demo/demos/colorselector.py | 4 ++--
21833 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
21834 examples/option.py | 4 ++--
21835 gi/_glib/option.py | 2 +-
21836 gi/overrides/Gtk.py | 2 +-
21837 tests/test_gi.py | 26 +++++++++++++-------------
21838 tests/test_option.py | 2 +-
21839 tests/test_overrides.py | 8 ++++----
21840 9 files changed, 40 insertions(+), 40 deletions(-)
21842 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
21843 Author: Johan Dahlin <johan@gnome.org>
21844 Date: Thu Mar 22 10:28:28 2012 -0300
21846 PEP8: Remove trailing ;
21848 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21850 demos/gtk-demo/demos/appwindow.py | 4 ++--
21851 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
21852 demos/gtk-demo/demos/links.py | 2 +-
21853 demos/gtk-demo/demos/pixbuf.py | 2 +-
21854 demos/gtk-demo/demos/printing.py | 8 ++++----
21855 gi/overrides/Gtk.py | 4 ++--
21856 tests/test_everything.py | 22 +++++++++++-----------
21857 tests/test_gi.py | 2 +-
21858 tests/test_overrides.py | 8 ++++----
21859 9 files changed, 41 insertions(+), 41 deletions(-)
21861 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
21862 Author: Johan Dahlin <johan@gnome.org>
21863 Date: Thu Mar 22 10:24:40 2012 -0300
21865 Remove all tabs and fix indentation
21867 By running the whole source tree via the indent.py script found
21868 in the Python distribution.
21870 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
21871 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
21872 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
21873 demos/gtk-demo/demos/appwindow.py | 18 +--
21874 demos/gtk-demo/demos/dialogs.py | 26 ++---
21875 demos/gtk-demo/demos/expander.py | 6 +-
21876 demos/gtk-demo/demos/images.py | 2 +-
21877 demos/gtk-demo/demos/links.py | 2 +-
21878 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
21879 gi/_glib/option.py | 2 +-
21880 gi/_gobject/constants.py | 1 -
21881 gi/importer.py | 1 -
21882 gi/module.py | 10 +-
21883 gi/overrides/GLib.py | 11 +-
21884 gi/overrides/Gdk.py | 30 ++---
21885 gi/overrides/Gio.py | 4 +-
21886 gi/overrides/Gtk.py | 150
21887 ++++++++++++-------------
21888 gi/overrides/Pango.py | 1 -
21889 gi/overrides/__init__.py | 10 +-
21890 gi/pygtkcompat.py | 2 +-
21891 tests/compathelper.py | 2 +-
21892 tests/runtests.py | 19 ++--
21893 tests/test_everything.py | 22 ++--
21894 tests/test_gdbus.py | 11 +-
21895 tests/test_gi.py | 38 +++----
21896 tests/test_gobject.py | 2 +-
21897 tests/test_interface.py | 1 -
21898 tests/test_option.py | 1 -
21899 tests/test_overrides.py | 78 ++++++-------
21900 tests/test_properties.py | 2 +-
21901 tests/test_uris.py | 1 -
21902 31 files changed, 255 insertions(+), 271 deletions(-)
21904 commit c375e3136f0f48eb8a6717c0053155db088b329d
21905 Author: Martin Pitt <martin.pitt@ubuntu.com>
21906 Date: Thu Mar 22 10:32:43 2012 +0100
21908 tests: Replace deprecated Python API
21910 failIf → assertFalse, failUnless → assertTrue
21912 Caught by the previous commit of making deprecations fatal.
21914 tests/test_option.py | 10 +++----
21915 tests/test_overrides.py | 66
21916 +++++++++++++++++++++++------------------------
21917 tests/test_properties.py | 14 +++++-----
21918 tests/test_pygtkcompat.py | 18 ++++++-------
21919 tests/test_signal.py | 4 +--
21920 5 files changed, 56 insertions(+), 56 deletions(-)
21922 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
21923 Author: Martin Pitt <martin.pitt@ubuntu.com>
21924 Date: Thu Mar 22 10:31:22 2012 +0100
21926 Fail tests if they use or encounter deprecations
21928 tests/Makefile.am | 2 +-
21929 1 file changed, 1 insertion(+), 1 deletion(-)
21931 commit 65762243a34af014950527c323a51a29d40fb3e1
21932 Author: Martin Pitt <martin.pitt@ubuntu.com>
21933 Date: Thu Mar 22 10:15:16 2012 +0100
21935 Do not run tests in two phases any more
21937 As we dropped the static bindings a while ago, there is no need any
21939 the tests in two phases (static/GI). Now just run them all in one go,
21940 simplifying tests/Makefile.am.
21942 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
21944 needs to happen even further, so move it from tests/test_overrides.py
21948 tests/Makefile.am | 33 ++++++++++++---------------------
21949 tests/runtests.py | 7 +++++++
21950 tests/test_overrides.py | 6 ------
21951 3 files changed, 19 insertions(+), 27 deletions(-)
21953 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
21954 Author: Martin Pitt <martin.pitt@ubuntu.com>
21955 Date: Thu Mar 22 09:58:21 2012 +0100
21957 test_overrides: Find local gsettings schema with current glib
21959 With current glib, gsettings now fails to find the gschemas.compiled
21961 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
21963 which makes this work again.
21965 tests/test_overrides.py | 9 +++++----
21966 1 file changed, 5 insertions(+), 4 deletions(-)
21968 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
21969 Author: Paolo Borelli <pborelli@gnome.org>
21970 Date: Wed Mar 21 21:09:24 2012 +0100
21972 Add GtkComboBoxEntry compatibility
21974 This widget has been removed in Gtk+ 3, add a small wrapper to the
21975 compat module to make at least basic pygtk programs that use it work.
21977 https://bugzilla.gnome.org/show_bug.cgi?id=672589
21979 gi/pygtkcompat.py | 19 +++++++++++++++++++
21980 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
21981 2 files changed, 41 insertions(+)
21983 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
21984 Author: Johan Dahlin <johan@gnome.org>
21985 Date: Wed Mar 21 16:01:35 2012 -0300
21987 Correct review comments from Martin
21989 https://bugzilla.gnome.org/show_bug.cgi?id=672578
21991 tests/test_everything.py | 4 ++--
21992 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
21993 2 files changed, 20 insertions(+), 2 deletions(-)
21995 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
21996 Author: Johan Dahlin <johan@gnome.org>
21997 Date: Wed Mar 21 14:45:53 2012 -0300
21999 Correct pyflakes warnings/errors
22001 And add a target to make check that runs pyflakes.
22003 https://bugzilla.gnome.org/show_bug.cgi?id=672578
22005 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
22006 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
22007 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
22008 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
22009 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
22010 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
22011 demos/gtk-demo/demos/appwindow.py | 13 +-
22012 demos/gtk-demo/demos/assistant.py | 4 +-
22013 demos/gtk-demo/demos/builder.py | 4 +-
22014 demos/gtk-demo/demos/button_box.py | 2 +-
22015 demos/gtk-demo/demos/clipboard.py | 2 +-
22016 demos/gtk-demo/demos/colorselector.py | 2 +-
22017 demos/gtk-demo/demos/combobox.py | 4 +-
22018 demos/gtk-demo/demos/dialogs.py | 4 +-
22019 demos/gtk-demo/demos/drawingarea.py | 2 +-
22020 demos/gtk-demo/demos/expander.py | 4 +-
22021 demos/gtk-demo/demos/images.py | 8 +-
22022 demos/gtk-demo/demos/infobars.py | 2 +-
22023 demos/gtk-demo/demos/links.py | 2 +-
22024 demos/gtk-demo/demos/menus.py | 5 +-
22025 demos/gtk-demo/demos/pickers.py | 2 +-
22026 demos/gtk-demo/demos/pixbuf.py | 2 +-
22027 demos/gtk-demo/demos/printing.py | 3 +-
22028 demos/gtk-demo/demos/rotatedtext.py | 6 +-
22029 demos/gtk-demo/gtk-demo.py | 9 +-
22030 examples/cairo-demo.py | 2 +-
22031 gi/__init__.py | 4 +
22032 gi/_glib/__init__.py | 101 ++++++++++-
22033 gi/_glib/option.py | 1 +
22034 gi/_gobject/__init__.py | 203
22035 ++++++++++++++++++++---
22036 gi/_gobject/constants.py | 2 -
22037 gi/_gobject/propertyhelper.py | 4 +-
22038 gi/importer.py | 2 +-
22040 gi/overrides/Gtk.py | 1 -
22041 gi/overrides/__init__.py | 1 -
22042 gi/pygtkcompat.py | 2 +
22044 tests/Makefile.am | 5 +
22045 tests/test_everything.py | 6 +-
22046 tests/test_gi.py | 8 +-
22047 tests/test_option.py | 10 +-
22048 tests/test_overrides.py | 30 ++--
22049 tests/test_properties.py | 12 +-
22050 tests/test_pygtkcompat.py | 4 -
22051 tests/test_signal.py | 4 +-
22052 tests/test_source.py | 6 +-
22053 47 files changed, 377 insertions(+), 138 deletions(-)
22055 commit 39650906559fcc39b4be406fa7e25c4788d349a3
22056 Author: Martin Pitt <martin.pitt@ubuntu.com>
22057 Date: Wed Mar 21 16:59:33 2012 +0100
22059 Make tests fail on CRITICAL logs, too, and apply to all tests
22061 Instead of setting warnings/criticals to fatal in individual test
22063 it in runtests.py, so that it applies to all tests.
22065 We currently have some tests which are known to generate CRITICALs
22067 with FIXME), and some WARNINGs (as they test behaviour with known-bad
22069 For these, warnings/criticals are now explicitly permitted.
22071 tests/runtests.py | 1 +
22072 tests/test_gi.py | 7 ++++++-
22073 tests/test_overrides.py | 14 +++++++-------
22074 tests/test_properties.py | 36 +++++++++++++++++++++---------------
22075 4 files changed, 35 insertions(+), 23 deletions(-)
22077 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
22078 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
22079 Date: Tue Mar 20 14:55:07 2012 +0400
22081 Support marshalling GI_TYPE_TAG_INTERFACE
22083 Marshalling of interfaces got broken with commit
22084 7746d2188ac4933c2c9011d84525d1e62fc18953.
22086 Also, do not abort on unsupported types, but log a critical failure
22090 https://bugzilla.gnome.org/show_bug.cgi?id=668903
22092 gi/pygi-marshal-from-py.c | 3 ++-
22093 gi/pygi-marshal-to-py.c | 3 ++-
22094 2 files changed, 4 insertions(+), 2 deletions(-)
22096 commit 8d85d6639778ec6364235071d272d67e7aae49ae
22097 Author: Martin Pitt <martin.pitt@ubuntu.com>
22098 Date: Wed Mar 21 14:34:36 2012 +0100
22100 Fix warnings on None values in added tree/list store rows
22102 Commit bf8c95836e1c changed the List/TreeStore overrides to use
22103 insert_with_valuesv(), but supplied all columns instead of just
22105 not None. With this, None values cause warnings like
22107 (runtests.py:12375): Gtk-WARNING **:
22108 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
22109 convert from (null) to gboolean
22111 Update the tests to make warnings fatal, to catch this better.
22113 Change _convert_row() to skip the None entries and return the list
22115 columns, and use the latter instead of a simple range(n_columns). This
22117 the behaviour before bf8c95836e1c, where columns with None values
22121 https://bugzilla.gnome.org/show_bug.cgi?id=672463
22123 gi/overrides/Gtk.py | 26 ++++++++++++++------------
22124 tests/test_overrides.py | 5 +++++
22125 2 files changed, 19 insertions(+), 12 deletions(-)
22127 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
22128 Author: Martin Pitt <martin.pitt@ubuntu.com>
22129 Date: Wed Mar 21 15:21:02 2012 +0100
22131 pygtkcompat test: Properly clean up PixbufLoader
22133 Tests currently give
22135 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
22136 without calling gdk_pixbuf_loader_close() - this is not allowed. You
22137 must explicitly end the data stream to the loader before dropping
22138 the last reference.
22140 Fix this by calling close().
22142 tests/test_pygtkcompat.py | 3 ++-
22143 1 file changed, 2 insertions(+), 1 deletion(-)
22145 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
22146 Author: Martin Pitt <martin.pitt@ubuntu.com>
22147 Date: Mon Mar 19 16:58:22 2012 +0100
22151 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
22153 configure.ac | 2 +-
22154 1 file changed, 1 insertion(+), 1 deletion(-)
22156 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
22157 Author: Martin Pitt <martin.pitt@ubuntu.com>
22158 Date: Mon Mar 19 16:41:17 2012 +0100
22162 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
22163 1 file changed, 46 insertions(+)
22165 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
22166 Author: Martin Pitt <martin.pitt@ubuntu.com>
22167 Date: Mon Mar 19 16:14:54 2012 +0100
22169 README: Update current maintainers
22171 Also update Martin's email address.
22173 README | 10 ++++++----
22174 pygobject.doap | 2 +-
22175 2 files changed, 7 insertions(+), 5 deletions(-)
22177 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
22178 Author: Martin Pitt <martin.pitt@ubuntu.com>
22179 Date: Mon Mar 19 16:11:22 2012 +0100
22181 Bump version to 3.1.92, in sync with GNOME
22183 configure.ac | 2 +-
22184 1 file changed, 1 insertion(+), 1 deletion(-)
22186 commit 77d358f8c5f524259249ea686899e3a4da05562e
22187 Author: Johan Dahlin <johan@gnome.org>
22188 Date: Mon Mar 19 11:54:07 2012 -0300
22190 Correct Gtk.TreePath.__iter__ to work with Python 3
22192 gi/overrides/Gtk.py | 2 +-
22193 1 file changed, 1 insertion(+), 1 deletion(-)
22195 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
22196 Author: Martin Pitt <martin.pitt@ubuntu.com>
22197 Date: Mon Mar 19 15:54:13 2012 +0100
22199 Fix pygtkcompat.py to work with Python 3
22201 gi/pygtkcompat.py | 20 +++++++++++++++-----
22202 1 file changed, 15 insertions(+), 5 deletions(-)
22204 commit 96a9f92da801989464fbcedf6d849819f6dbea64
22205 Author: Martin Pitt <martin.pitt@ubuntu.com>
22206 Date: Mon Mar 19 15:32:22 2012 +0100
22208 Fix test_everything.TestSignals.test_object_param_signal test case
22210 The callback gets two arguments, not one. This short-circuited
22212 assertions. Fix the arguments and update the refcount check, as it
22214 exactly two at the moment.
22216 tests/test_everything.py | 4 ++--
22217 1 file changed, 2 insertions(+), 2 deletions(-)
22219 commit ba00afb1e50759b2b321f16e05a15946053cdafa
22220 Author: Johan Dahlin <johan@gnome.org>
22221 Date: Mon Mar 19 10:58:09 2012 -0300
22223 pygtkcompat: Remove first argument for get_origin()
22225 gi/pygtkcompat.py | 5 +++++
22226 tests/test_pygtkcompat.py | 5 +++++
22227 2 files changed, 10 insertions(+)
22229 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
22230 Author: Johan Dahlin <johan@gnome.org>
22231 Date: Fri Mar 16 16:08:44 2012 -0300
22233 GtkViewport: Add a default values for the adjustment constructor
22236 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22238 gi/overrides/Gtk.py | 10 ++++++++++
22239 tests/test_overrides.py | 11 +++++++++++
22240 2 files changed, 21 insertions(+)
22242 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
22243 Author: Johan Dahlin <johan@gnome.org>
22244 Date: Fri Mar 16 16:08:23 2012 -0300
22246 GtkIconSet: Add a default value for the pixbuf constructor parameter
22248 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22250 gi/overrides/Gtk.py | 11 +++++++++++
22251 tests/test_overrides.py | 6 ++++++
22252 2 files changed, 17 insertions(+)
22254 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
22255 Author: Johan Dahlin <johan@gnome.org>
22256 Date: Fri Mar 16 16:07:30 2012 -0300
22258 PangoLayout: Add a default value for set_markup()
22260 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22262 gi/overrides/Pango.py | 3 +++
22263 tests/test_overrides.py | 4 ++++
22264 2 files changed, 7 insertions(+)
22266 commit a3ca47b086b7fcf084282be788c5d737dde847ac
22267 Author: Johan Dahlin <johan@gnome.org>
22268 Date: Fri Mar 16 16:06:37 2012 -0300
22270 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
22273 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22275 gi/overrides/Gtk.py | 15 +++++++++++++++
22276 tests/test_overrides.py | 14 ++++++++++++++
22277 2 files changed, 29 insertions(+)
22279 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
22280 Author: Johan Dahlin <johan@gnome.org>
22281 Date: Fri Mar 16 16:06:12 2012 -0300
22283 GtkToolButton: Add a default value for the stock_id constructor
22286 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22288 gi/overrides/Gtk.py | 10 ++++++++++
22289 tests/test_overrides.py | 9 ++++++++-
22290 2 files changed, 18 insertions(+), 1 deletion(-)
22292 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
22293 Author: Johan Dahlin <johan@gnome.org>
22294 Date: Fri Mar 16 16:05:55 2012 -0300
22296 GtkIconView: Add a default value for the model constructor parameter
22298 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22300 gi/overrides/Gtk.py | 3 +++
22301 tests/test_overrides.py | 11 +++++++++++
22302 2 files changed, 14 insertions(+)
22304 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
22305 Author: Johan Dahlin <johan@gnome.org>
22306 Date: Thu Mar 15 15:22:46 2012 -0300
22308 Add a default value for column in Gtk.TreeView.get_cell_area()
22310 https://bugzilla.gnome.org/show_bug.cgi?id=672260
22312 gi/overrides/Gtk.py | 5 +++++
22313 tests/test_overrides.py | 3 +++
22314 2 files changed, 8 insertions(+)
22316 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
22317 Author: Martin Pitt <martin.pitt@ubuntu.com>
22318 Date: Thu Mar 15 09:48:10 2012 +0100
22320 Atomic inserts in Gtk.{List,Tree}Store overrides
22322 Gtk.{List,Tree}Store's overrides provide append(), insert()
22324 take an optional data row array. If this is given, use
22325 insert_with_valuesv()
22326 instead of creating a new iter and then filling it with data. The
22328 row-added signal, at which time the row was still empty, and a
22330 row-changed signal. With this we only get a single row-added
22334 Note that this does not change insert_{before,after}(), as there is no
22335 counterpart of insert_with_valuesv() which takes a TreeIter instead
22337 position. For those you will still get two signals, and have to deal
22341 https://bugzilla.gnome.org/show_bug.cgi?id=671610
22343 gi/overrides/Gtk.py | 81
22344 ++++++++++++++++++++++++++++++-------------------
22345 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
22346 2 files changed, 124 insertions(+), 31 deletions(-)
22348 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
22349 Author: Martin Pitt <martin.pitt@ubuntu.com>
22350 Date: Sun Mar 18 16:07:26 2012 +0100
22352 Fix Gtk.Button constructor to accept use_stock parameter
22354 Thanks to kalanzun@googlemail.com!
22356 https://bugzilla.gnome.org/show_bug.cgi?id=672318
22358 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22360 gi/overrides/Gtk.py | 4 +---
22361 tests/test_overrides.py | 6 ++++++
22362 2 files changed, 7 insertions(+), 3 deletions(-)
22364 commit 466337cf2fd091738eeab12c10d250a9d0827284
22365 Author: Johan Dahlin <johan@gnome.org>
22366 Date: Fri Mar 16 16:55:47 2012 -0300
22368 Correct bad rebase, remove duplicate Window
22370 gi/overrides/Gtk.py | 7 -------
22371 1 file changed, 7 deletions(-)
22373 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
22374 Author: Johan Dahlin <johan@gnome.org>
22375 Date: Thu Mar 15 15:42:28 2012 -0300
22377 Add a PyGTK compatibility layer
22379 This module tries quite a bit harder to maintain compatibility
22380 with PyGTK, module names, enums, flags and some API.
22382 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22384 gi/Makefile.am | 3 +-
22385 gi/pygtkcompat.py | 421
22386 ++++++++++++++++++++++++++++++++++++++++++++++
22387 tests/Makefile.am | 3 +-
22388 tests/test_pygtkcompat.py | 77 +++++++++
22389 4 files changed, 502 insertions(+), 2 deletions(-)
22391 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
22392 Author: Johan Dahlin <johan@gnome.org>
22393 Date: Wed Mar 14 15:20:53 2012 -0300
22395 Add bw-compatible arguments to Gtk.Adjustment
22397 The argument used to be called page/step_incr, if they
22398 are found map them to the existing properties for extra
22401 https://bugzilla.gnome.org/show_bug.cgi?id=672087
22403 gi/overrides/Gtk.py | 8 +++++++-
22404 1 file changed, 7 insertions(+), 1 deletion(-)
22406 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
22407 Author: Johan Dahlin <johan@gnome.org>
22408 Date: Wed Mar 14 17:13:04 2012 -0300
22410 GtkTreePath: make it iterable
22412 https://bugzilla.gnome.org/show_bug.cgi?id=672093
22414 gi/overrides/Gtk.py | 3 +++
22415 tests/test_overrides.py | 2 ++
22416 2 files changed, 5 insertions(+)
22418 commit a7b08cb75541612c78d123b1d968be7874e3c481
22419 Author: Johan Dahlin <johan@gnome.org>
22420 Date: Wed Mar 14 13:32:31 2012 -0300
22422 Add a default argument to TreeModelFilter.set_visible_func()
22424 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22426 gi/overrides/Gtk.py | 14 ++++++++++++++
22427 1 file changed, 14 insertions(+)
22429 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
22430 Author: Johan Dahlin <johan@gnome.org>
22431 Date: Wed Mar 14 13:31:41 2012 -0300
22433 Add a default argument to Gtk.TreeView.set_cursor
22435 And also make sure that the path is a Gtk.TreePath.
22437 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22439 gi/overrides/Gtk.py | 4 ++++
22440 tests/test_overrides.py | 10 ++++++++++
22441 2 files changed, 14 insertions(+)
22443 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
22444 Author: Johan Dahlin <johan@gnome.org>
22445 Date: Wed Mar 14 13:31:06 2012 -0300
22447 Add a default argument to Pango.Context.get_metrics()
22449 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22451 gi/overrides/Pango.py | 9 +++++++++
22452 1 file changed, 9 insertions(+)
22454 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
22455 Author: Martin Pitt <martin.pitt@ubuntu.com>
22456 Date: Fri Mar 16 13:27:56 2012 +0100
22458 Fix double-freeing GValues in arrays
22460 When marshalling a GValue array to C, the GValue items are copied
22462 GValue array, not a C GValue pointer
22463 array. _pygi_marshal_from_py_array()
22464 already calls the cleanup_func for the original item;
22465 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
22467 to g_slice_free the array item.
22469 https://bugzilla.gnome.org/show_bug.cgi?id=672224
22471 gi/pygi-marshal-from-py.c | 7 ++++++-
22472 1 file changed, 6 insertions(+), 1 deletion(-)
22474 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
22475 Author: Simon Feltman <s.feltman@gmail.com>
22476 Date: Fri Mar 16 00:29:31 2012 -0700
22478 Renamed "property" class to "Property"
22480 Renamed to match the rest of the class names in GObject and also
22481 not clobber the builtin python property.
22483 Keep the old "property" identifier for backwards compatibility
22486 https://bugzilla.gnome.org/show_bug.cgi?id=672168
22488 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22490 examples/properties.py | 6 +--
22491 gi/_gobject/__init__.py | 7 ++--
22492 gi/_gobject/propertyhelper.py | 12 +++---
22493 tests/test_interface.py | 4 +-
22494 tests/test_properties.py | 94
22495 +++++++++++++++++++++----------------------
22496 5 files changed, 62 insertions(+), 61 deletions(-)
22498 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
22499 Author: Martin Pitt <martin.pitt@ubuntu.com>
22500 Date: Wed Mar 14 22:52:47 2012 +0100
22502 Fix Python to C marshalling of GValue arrays
22504 For GValues we cannot just copy the GValue memory in
22505 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
22507 releases the GValue and with it its v_pointer. Use g_value_copy()
22511 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
22513 assumed that C arrays contained pointers, but this is not the case
22515 arrays: these are actual struct arrays, not struct pointer arrays
22517 construction in _pygi_marshal_from_py_array()). Check if an array
22519 pointers or values and compute the correct array item pointer for
22522 Also add a corresponding test case for marshalling GValue arrays
22524 Python, which works fine.
22526 https://bugzilla.gnome.org/show_bug.cgi?id=672065
22528 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
22529 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
22530 tests/test_gi.py | 8 ++++++++
22531 3 files changed, 34 insertions(+), 6 deletions(-)
22533 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
22534 Author: Johan Dahlin <johan@gnome.org>
22535 Date: Fri Mar 16 09:59:57 2012 +0100
22537 Correct the Gtk.Window hierarchy
22539 We need to make sure that all Gtk.Dialog subclasses inherit from
22540 the overridden Window class. For that to be done automaticly we need
22541 to create the Window class before the Dialog class.
22543 Now when it's inherited properly we need to avoid calling the Window
22544 constructor twice as it passes in a construct-only parameter. So add
22545 **kwargs to the Window constructor to allow us to pass in any kind
22546 of GObject property to it and refactor the Dialog subclasses to pass
22547 in all properties to the same constructor.
22549 Also adds a bunch of tests to make sure that the hiearchy is correct.
22551 https://bugzilla.gnome.org/show_bug.cgi?id=672158
22553 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22555 gi/overrides/Gtk.py | 56
22556 ++++++++++++++++++++++++-------------------------
22557 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
22558 2 files changed, 61 insertions(+), 30 deletions(-)
22560 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
22561 Author: simon <simon@gerty>
22562 Date: Tue Mar 13 01:41:53 2012 -0700
22564 Renamed getter/setter instance attributes to fget/fset respectively.
22566 The python 'property' class allows for decoration of methods using
22567 .getter and .setter. These were added as methods to the
22569 class to match that of the python property class and allow for
22573 In addition, __call__ was added to allow an instantiated decorator
22575 args to also decorate a method:
22577 class C(GObject.GObject):
22579 @GObject.property(type=int, default=0)
22583 def propInt(self, value):
22584 self._value = value
22586 https://bugzilla.gnome.org/show_bug.cgi?id=586181
22588 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22590 gi/_gobject/__init__.py | 10 ++++----
22591 gi/_gobject/propertyhelper.py | 59
22592 +++++++++++++++++++++++++++++++------------
22593 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
22594 3 files changed, 89 insertions(+), 21 deletions(-)
22596 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
22597 Author: Johan Dahlin <johan@gnome.org>
22598 Date: Tue Mar 13 17:10:13 2012 -0300
22600 Add Gtk.Arrow/Gtk.Window constructor override
22602 Adds argument that makes them compatible with PyGTK.
22604 https://bugzilla.gnome.org/show_bug.cgi?id=672045
22606 gi/overrides/Gtk.py | 17 +++++++++++++++++
22607 1 file changed, 17 insertions(+)
22609 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
22610 Author: Michel Dänzer <michel@daenzer.net>
22611 Date: Fri Mar 9 12:26:53 2012 +0100
22613 Fix marshalling to/from Python to work on big endian machines.
22615 https://bugzilla.gnome.org/show_bug.cgi?id=668903
22617 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22619 gi/pygi-argument.c | 25 ++++++++++++++++---------
22620 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
22621 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
22622 3 files changed, 60 insertions(+), 16 deletions(-)
22624 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
22625 Author: Michel Dänzer <michel@daenzer.net>
22626 Date: Thu Mar 8 12:21:28 2012 +0100
22628 Use gi_cclosure_marshal_generic instead of duplicating it.
22630 Bump gobject-introspection dependency to ensure that we have the
22634 https://bugzilla.gnome.org/show_bug.cgi?id=668903
22636 Signed-off-by: Michel Dänzer <michel@daenzer.net>
22637 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22639 configure.ac | 3 +-
22640 gi/_gobject/Makefile.am | 7 +-
22641 gi/_gobject/ffi-marshaller.c | 194
22642 -------------------------------------------
22643 gi/_gobject/ffi-marshaller.h | 31 -------
22644 gi/_gobject/gobjectmodule.c | 12 +--
22645 5 files changed, 4 insertions(+), 243 deletions(-)
22647 commit 8ca828825a2c47080055c5f986979aac8da9a93f
22648 Author: René Stadler <rene.stadler@collabora.co.uk>
22649 Date: Mon Mar 5 21:10:55 2012 +0100
22651 Override Gtk.TreeView.get_visible_range to fix return
22653 Just like IconView.
22655 https://bugzilla.gnome.org/show_bug.cgi?id=671409
22657 gi/overrides/Gtk.py | 5 +++++
22658 1 file changed, 5 insertions(+)
22660 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
22661 Author: Paolo Borelli <pborelli@gnome.org>
22662 Date: Sun Mar 4 16:41:18 2012 +0100
22664 Plug memory leak in _is_union_member
22666 When we found the member, unref the objects before breaking out of the
22669 gi/pygi-marshal-from-py.c | 9 +++------
22670 1 file changed, 3 insertions(+), 6 deletions(-)
22672 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
22673 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22674 Date: Tue Feb 21 15:37:18 2012 +0100
22676 tests: Split TestInterfaces into separate tests
22678 tests/test_gi.py | 36 +++++++++++++++++++-----------------
22679 1 file changed, 19 insertions(+), 17 deletions(-)
22681 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
22682 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22683 Date: Mon Feb 20 19:37:32 2012 +0100
22685 Post release version bump to 3.1.2
22687 configure.ac | 2 +-
22688 1 file changed, 1 insertion(+), 1 deletion(-)
22690 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
22691 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22692 Date: Mon Feb 20 19:33:56 2012 +0100
22694 Prepare 3.1.1 release
22696 NEWS | 18 ++++++++++++++++++
22697 1 file changed, 18 insertions(+)
22699 commit 99485d96811667ef7a7a393b68b7361733157d61
22700 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22701 Date: Sat Feb 18 00:38:05 2012 +0100
22703 Don't use C99 style
22705 gi/pygi-cache.c | 3 ++-
22706 1 file changed, 2 insertions(+), 1 deletion(-)
22708 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
22709 Author: Martin Pitt <martin.pitt@ubuntu.com>
22710 Date: Thu Feb 16 16:42:53 2012 +0100
22712 Add test for GPtrArray with transfer full
22714 This complements the already existing test for a "transfer container"
22716 array. We can't verify the internal refcount as these arrays get
22718 internally, but at least we can verify that it does not crash due to
22721 tests/test_everything.py | 10 +++++++++-
22722 1 file changed, 9 insertions(+), 1 deletion(-)
22724 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
22725 Author: Martin Pitt <martin.pitt@ubuntu.com>
22726 Date: Wed Feb 15 13:36:39 2012 +0100
22728 Drop obsolete g_thread_init()
22730 Not necessary any more since glib 2.24, and we depend on 2.31.
22732 gi/_glib/pyglib.c | 3 ---
22733 1 file changed, 3 deletions(-)
22735 commit 66fb610e45912a7def29e5848577d280ef55643a
22736 Author: Martin Pitt <martin.pitt@ubuntu.com>
22737 Date: Wed Feb 15 13:35:33 2012 +0100
22739 Fix deprecated g_source_get_current_time()
22741 Use g_get_real_time() instead as recommended by the
22742 documentation. This also
22743 simplifies the code.
22745 gi/_glib/pygsource.c | 4 +---
22746 1 file changed, 1 insertion(+), 3 deletions(-)
22748 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
22749 Author: Martin Pitt <martin.pitt@ubuntu.com>
22750 Date: Wed Feb 15 13:31:23 2012 +0100
22752 Fix deprecated g_value_[gs]et_char()
22754 Replace with _schar(). We depend on glib >= 2.31 already.
22756 gi/_gobject/ffi-marshaller.c | 2 +-
22757 gi/_gobject/pygtype.c | 6 +++---
22758 gi/pygi-argument.c | 2 +-
22759 3 files changed, 5 insertions(+), 5 deletions(-)
22761 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
22762 Author: Simon Schampijer <simon@schampijer.de>
22763 Date: Thu Feb 2 19:06:01 2012 +0100
22765 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
22767 Looking at the gir file gtk.gdk.x11_* should get converted to
22768 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
22770 pygi-convert.sh | 2 +-
22771 1 file changed, 1 insertion(+), 1 deletion(-)
22773 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
22774 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22775 Date: Fri Feb 10 13:29:41 2012 +0100
22777 Raise required glib version to 2.31 because of g_value_(get|set)_schar
22779 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
22781 configure.ac | 6 +++---
22782 1 file changed, 3 insertions(+), 3 deletions(-)
22784 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
22785 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22786 Date: Fri Feb 10 09:28:36 2012 +0100
22788 Fix cset_first typo
22790 https://bugzilla.gnome.org/show_bug.cgi?id=649267
22792 gi/_gobject/pygparamspec.c | 2 +-
22793 1 file changed, 1 insertion(+), 1 deletion(-)
22795 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
22796 Author: Bastian Winkler <buz@netbuz.org>
22797 Date: Mon Nov 14 14:41:08 2011 +0100
22799 pygi-convert: Handle Clutter and Cogl
22801 https://bugzilla.gnome.org/show_bug.cgi?id=664496
22803 pygi-convert.sh | 76
22804 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22805 1 file changed, 76 insertions(+)
22807 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
22808 Author: Cédric Krier <cedric.krier@b2ck.com>
22809 Date: Fri Feb 10 09:04:18 2012 +0100
22811 Provide access to gpointer struct values
22813 https://bugzilla.gnome.org/show_bug.cgi?id=668356
22815 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22817 gi/pygi-argument.c | 3 ++-
22818 gi/pygi-info.c | 13 +++++++++++++
22819 tests/test_everything.py | 21 +++++++++++++++++++++
22820 3 files changed, 36 insertions(+), 1 deletion(-)
22822 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
22823 Author: Paolo Borelli <pborelli@gnome.org>
22824 Date: Thu Feb 9 18:15:42 2012 +0100
22826 Add some GType tests
22828 Use what was recently added in g-i
22830 tests/test_gi.py | 17 +++++++++++++++--
22831 1 file changed, 15 insertions(+), 2 deletions(-)
22833 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
22834 Author: Paolo Borelli <pborelli@gnome.org>
22835 Date: Thu Feb 9 18:14:52 2012 +0100
22837 Split GStrv and array variant tests in their own classes
22839 Also tidy up the spacing a bit
22841 tests/test_gi.py | 29 +++++++++++++++++++++++------
22842 1 file changed, 23 insertions(+), 6 deletions(-)
22844 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
22845 Author: Paolo Borelli <pborelli@gnome.org>
22846 Date: Wed Feb 8 22:23:30 2012 +0100
22848 Add unit test for builder's connect_after
22850 tests/test_overrides.py | 8 ++++++++
22851 1 file changed, 8 insertions(+)
22853 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
22854 Author: Ryan Lortie <desrt@desrt.ca>
22855 Date: Wed Feb 8 16:06:22 2012 -0500
22857 fix GtkBuilder signal connection 'after' logic
22859 All GtkBuilder signals are presently being connected 'after', ignoring
22860 what is specified in the builder XML. This is due to an obvious logic
22863 https://bugzilla.gnome.org/show_bug.cgi?id=669705
22865 gi/overrides/Gtk.py | 2 +-
22866 1 file changed, 1 insertion(+), 1 deletion(-)
22868 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
22869 Author: Patrick Welche <prlw1@cam.ac.uk>
22870 Date: Tue Feb 7 11:49:58 2012 +0000
22872 test(1) uses '=' to test if strings are identical
22874 https://bugzilla.gnome.org/show_bug.cgi?id=669598
22876 m4/python.m4 | 6 +++---
22877 1 file changed, 3 insertions(+), 3 deletions(-)
22879 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
22880 Author: Ryan Lortie <desrt@desrt.ca>
22881 Date: Tue Feb 7 13:42:19 2012 -0500
22883 pygspawn: improve error checking
22885 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
22886 is enforced by checking that the passed argument is a sequence
22888 each item returned from it is a string.
22890 We do now, however, verify that each item can be successfully
22892 the sequence. 'os.environ' is an example of an object that passes
22893 PySequence_Check() but fails to return objects from PySequence_ITEM().
22895 Add a simple NULL check to avoid the crash.
22897 https://bugzilla.gnome.org/show_bug.cgi?id=669594
22899 gi/_glib/pygspawn.c | 4 ++--
22900 1 file changed, 2 insertions(+), 2 deletions(-)
22902 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
22903 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22904 Date: Mon Feb 6 19:15:53 2012 +0100
22906 Post release version bump to 3.1.1
22908 configure.ac | 2 +-
22909 1 file changed, 1 insertion(+), 1 deletion(-)
22911 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
22912 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22913 Date: Mon Feb 6 19:11:52 2012 +0100
22915 Prepare 3.1.0 release
22917 NEWS | 34 ++++++++++++++++++++++++++++++++++
22918 1 file changed, 34 insertions(+)
22920 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
22921 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22922 Date: Mon Feb 6 19:04:41 2012 +0100
22924 Updated DOAP file to only include people currently actively working
22927 Removed obsolete MAINTAINERS file
22929 MAINTAINERS | 19 -------------------
22930 pygobject.doap | 44 +++++++++++++++-----------------------------
22931 2 files changed, 15 insertions(+), 48 deletions(-)
22933 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
22934 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22935 Date: Mon Feb 6 18:57:01 2012 +0100
22937 Revert "Convert all strings to utf-8 encoding when retrieving from
22940 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
22942 Due to this commit breaking backwards compatability, we decided to
22945 gi/overrides/Gtk.py | 15 ---------------
22946 tests/compathelper.py | 2 --
22947 tests/test_overrides.py | 31 +------------------------------
22948 3 files changed, 1 insertion(+), 47 deletions(-)
22950 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
22951 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22952 Date: Sun Feb 5 13:47:10 2012 +0100
22954 tests: Fixed issues with python3
22956 tests/test_gi.py | 9 ++++++---
22957 1 file changed, 6 insertions(+), 3 deletions(-)
22959 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
22960 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22961 Date: Sun Feb 5 11:59:51 2012 +0100
22963 Properly distinguish between different integer types for properties
22965 https://bugzilla.gnome.org/show_bug.cgi?id=664150
22967 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
22968 tests/test_gi.py | 62
22969 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22970 2 files changed, 106 insertions(+), 4 deletions(-)
22972 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
22973 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22974 Date: Sun Feb 5 11:46:21 2012 +0100
22976 Distinguish between GArray and GPtrArray when cleaning up
22978 This fixes a crash in test_gi.TestGPtrArray and makes sure
22979 memory is free'd correctly
22981 https://bugzilla.gnome.org/show_bug.cgi?id=669393
22983 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
22984 1 file changed, 23 insertions(+), 9 deletions(-)
22986 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
22987 Author: Paolo Borelli <pborelli@gnome.org>
22988 Date: Sun Feb 5 18:51:53 2012 +0100
22990 Add null_gerror_callback unit test
22992 This models the case where the callback is successful and does not set
22995 https://bugzilla.gnome.org/show_bug.cgi?id=669415
22997 tests/test_everything.py | 9 +++++++++
22998 1 file changed, 9 insertions(+)
23000 commit a41984780ee49dcf02c718ca1be87bba747472e5
23001 Author: Martin Pitt <martin.pitt@ubuntu.com>
23002 Date: Mon Feb 6 09:34:28 2012 +0100
23004 pyglib_error_check: Re-add missing NULL check
23006 Commit adcfe96d49b09bc accidentally dropped the check if *error is
23008 any error is actually set. Due to that, pyglib_error_check()
23010 TRUE. Reintroduce the check.
23012 Thanks to Alberto Mardegan for spotting this!
23014 https://bugzilla.gnome.org/show_bug.cgi?id=669415
23016 gi/_glib/pyglib.c | 2 ++
23017 1 file changed, 2 insertions(+)
23019 commit 2c797c17913999379e277788d5e4cce8d68cebb0
23020 Author: Michael Culbertson <michael.culbertson@gmail.com>
23021 Date: Sat Feb 4 16:11:34 2012 +0100
23023 Add tests/runtests-windows.py to source tarball
23025 https://bugzilla.gnome.org/show_bug.cgi?id=663288
23027 tests/Makefile.am | 1 +
23028 1 file changed, 1 insertion(+)
23030 commit d6a899cdf70e978534326155e3fad75a705f4b20
23031 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23032 Date: Sat Feb 4 15:55:55 2012 +0100
23034 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
23037 https://bugzilla.gnome.org/show_bug.cgi?id=665553
23039 gi/overrides/Gtk.py | 6 ++----
23040 1 file changed, 2 insertions(+), 4 deletions(-)
23042 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
23043 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
23044 Date: Sat Feb 4 15:42:36 2012 +0100
23046 Fix bool() operations on GLib.Variant objects
23048 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
23050 Also adds some tests for boolean comparisons.
23052 https://bugzilla.gnome.org/show_bug.cgi?id=647723
23054 gi/overrides/GLib.py | 18 ++++++++++++++++++
23055 tests/test_overrides.py | 45
23056 +++++++++++++++++++++++++++++++++++++++++++++
23057 2 files changed, 63 insertions(+)
23059 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
23060 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
23061 Date: Sat Feb 4 15:41:08 2012 +0100
23063 Fix hash() and __eq__() for GLib.Variant objects
23065 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
23066 be used in sets, dicts, and can be compared using == and != easily.
23068 Also adds some tests for this.
23070 https://bugzilla.gnome.org/show_bug.cgi?id=647725
23072 gi/overrides/GLib.py | 23 ++++++++++++++++++++
23073 tests/test_overrides.py | 56
23074 +++++++++++++++++++++++++++++++++++++++++++++++++
23075 2 files changed, 79 insertions(+)
23077 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
23078 Author: Martin Pitt <martin.pitt@ubuntu.com>
23079 Date: Wed Jan 25 07:01:06 2012 +0100
23081 Fix method names of callback tests
23083 Change test_everything.TestCallbacks.* test names from camelCase
23085 standard PEP-8 underscore_style. This is now consistent with all
23089 tests/test_everything.py | 30 +++++++++++++++---------------
23090 1 file changed, 15 insertions(+), 15 deletions(-)
23092 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
23093 Author: Will Thompson <will.thompson@collabora.co.uk>
23094 Date: Mon Jan 23 13:10:30 2012 +0000
23096 Cairo: add missing braces around array-of-struct definition
23098 This triggered a -Wmissing-braces warning.
23100 https://bugzilla.gnome.org/show_bug.cgi?id=668497
23102 gi/pygi-foreign-cairo.c | 2 +-
23103 1 file changed, 1 insertion(+), 1 deletion(-)
23105 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
23106 Author: Will Thompson <will.thompson@collabora.co.uk>
23107 Date: Mon Jan 23 13:06:41 2012 +0000
23109 g_instance_init: cast to PyGObject * as needed
23111 This squashes a compiler warning.
23113 https://bugzilla.gnome.org/show_bug.cgi?id=668497
23115 gi/_gobject/gobjectmodule.c | 2 +-
23116 1 file changed, 1 insertion(+), 1 deletion(-)
23118 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
23119 Author: Will Thompson <will.thompson@collabora.co.uk>
23120 Date: Mon Jan 23 13:01:27 2012 +0000
23122 Fix a few set-but-not-used warnings.
23124 In a couple of cases, the variable in question was set to a value
23125 spelled out again later in the function.
23127 The 'sequence_cache' variable is re-declared five lines below.
23129 The return value of 'read' was previously completely ignored. The
23130 'gssize ret' variable was in fact added to squash an unused-result
23133 https://bugzilla.gnome.org/show_bug.cgi?id=668497
23135 gi/_glib/pygiochannel.c | 2 +-
23136 gi/_glib/pygmainloop.c | 3 +--
23137 gi/_gobject/pygobject.c | 2 +-
23138 gi/pygi-marshal-cleanup.c | 2 --
23139 4 files changed, 3 insertions(+), 6 deletions(-)
23141 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
23142 Author: Stefano Facchini <stefano.facchini@gmail.com>
23143 Date: Thu Jan 19 18:09:07 2012 +0100
23145 pygmainloop: allow for extra arguments in 'quit' method
23147 To allow for the common syntax:
23149 object.connect('signal-name', main_loop.quit)
23151 https://bugzilla.gnome.org/show_bug.cgi?id=668288
23153 gi/_glib/pygmainloop.c | 4 ++--
23154 1 file changed, 2 insertions(+), 2 deletions(-)
23156 commit 557a61c12c01137a0d7c679c4b053973df09d445
23157 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
23158 Date: Mon Dec 26 00:44:56 2011 -0500
23160 Fix bytearray test compatibility with python3
23162 https://bugs.gentoo.org/show_bug.cgi?id=321879
23164 https://bugzilla.gnome.org/show_bug.cgi?id=666852
23166 tests/test_gi.py | 4 ++--
23167 1 file changed, 2 insertions(+), 2 deletions(-)
23169 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
23170 Author: Alberto Mardegan <mardy@users.sourceforge.net>
23171 Date: Mon Jan 23 12:37:26 2012 +0200
23173 Respect transfer-type when demarshalling GErrors
23175 The marshaller previously ignored "transfer full" on GError*
23177 crashes due to double-freeing them. This causes the
23178 testCallbackUserdata() test
23179 case to crash after the previous GError/GHashTable marshalling fix.
23181 https://bugzilla.gnome.org/show_bug.cgi?id=666270
23183 gi/pygi-argument.c | 12 +++++++++++-
23184 1 file changed, 11 insertions(+), 1 deletion(-)
23186 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
23187 Author: Alberto Mardegan <mardy@users.sourceforge.net>
23188 Date: Thu Dec 15 16:12:01 2011 +0200
23190 Support GHashTable and GError as callback/closure arguments
23192 Marshalling of these types from C is already implemented, let's
23194 into use for calbacks and closures too.
23196 Add corresponding test cases.
23198 https://bugzilla.gnome.org/show_bug.cgi?id=666270
23200 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
23202 gi/pygi-closure.c | 2 ++
23203 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
23204 2 files changed, 37 insertions(+)
23206 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
23207 Author: Will Thompson <will.thompson@collabora.co.uk>
23208 Date: Mon Jan 23 13:56:02 2012 +0000
23210 Don't leak when marshalling GErrors to C
23212 Python-land GLib.GErrors are supposed to have three attributes:
23213 "message", "domain" and "code". If those attributes are missing,
23215 have the wrong types, the C GError is filled in with a message
23216 describing the error. The present-but-ill-typed code paths did not
23217 DECREF the ill-typed values.
23219 https://bugzilla.gnome.org/show_bug.cgi?id=666098
23221 gi/_glib/pyglib.c | 3 +++
23222 1 file changed, 3 insertions(+)
23224 commit adcfe96d49b09bcc550653d73de196610fd5144d
23225 Author: Will Thompson <will.thompson@collabora.co.uk>
23226 Date: Fri Jan 20 16:20:10 2012 +0000
23228 Support functions which return GError
23230 GStreamer has the following method:
23232 void gst_message_parse_error (
23233 GstMessage *message,
23235 gchar **debug_message);
23237 With this patch, we marshal the GError out parameter as a
23239 exception, but return it rather than throwing it. The test cases cover
23240 two variations on the theme of the function above (one with (transfer
23241 full), as in GStreamer, and another with (transfer none)) as well as a
23242 function with return type GError *.
23244 https://bugzilla.gnome.org/show_bug.cgi?id=666098
23246 gi/_glib/pyglib.c | 46
23247 +++++++++++++++++++++++++++++++++++-----------
23248 gi/_glib/pyglib.h | 1 +
23249 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
23250 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
23251 4 files changed, 81 insertions(+), 14 deletions(-)
23253 commit 09f003729eac9d553a208c343c2a14d253b77d9a
23254 Author: Alberto Mardegan <mardy@users.sourceforge.net>
23255 Date: Mon Jan 23 12:42:21 2012 +0200
23257 Fix indentation of _pygi_argument_to_object()
23259 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
23261 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
23263 gi/pygi-argument.c | 26 +++++++++++++-------------
23264 1 file changed, 13 insertions(+), 13 deletions(-)
23266 commit c71c010be01d706f90bc200194325fd82f4071b2
23267 Author: Paolo Borelli <pborelli@gnome.org>
23268 Date: Sat Jan 14 14:24:23 2012 +0100
23272 gi/gimodule.c | 10 ++++++----
23273 1 file changed, 6 insertions(+), 4 deletions(-)
23275 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
23276 Author: Paolo Borelli <pborelli@gnome.org>
23277 Date: Fri Jan 6 13:39:31 2012 +0100
23279 Connect to first action of a radio group.
23281 gi/overrides/Gtk.py | 4 ++--
23282 1 file changed, 2 insertions(+), 2 deletions(-)
23284 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
23285 Author: Paolo Borelli <pborelli@gnome.org>
23286 Date: Wed Jan 4 16:40:51 2012 +0100
23288 Use g_slist_free_full in pygi-closure.
23290 gi/pygi-closure.c | 3 +--
23291 1 file changed, 1 insertion(+), 2 deletions(-)
23293 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
23294 Author: Paolo Borelli <pborelli@gnome.org>
23295 Date: Wed Jan 4 15:24:13 2012 +0100
23297 Avoid O(n^2) behavior when marshalling lists
23299 Appending requires walking the list every time: just prepend and
23301 the list at the end.
23303 https://bugzilla.gnome.org/show_bug.cgi?id=667261
23305 gi/pygi-marshal-from-py.c | 8 ++++----
23306 1 file changed, 4 insertions(+), 4 deletions(-)
23308 commit d68455e99b1a9ebba31209b17a11317b1958678b
23309 Author: Paolo Borelli <pborelli@gnome.org>
23310 Date: Tue Jan 3 16:57:40 2012 +0100
23312 Handle NULL as a valid case of a char** array
23314 Treat NULL as an empty array and add the corresponding testcase
23316 gi/pygi-marshal-to-py.c | 9 +++++----
23317 tests/test_gi.py | 3 +++
23318 2 files changed, 8 insertions(+), 4 deletions(-)
23320 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
23321 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23322 Date: Fri Dec 23 12:01:43 2011 +0100
23324 Branching, bump version to 3.1.0
23326 configure.ac | 4 ++--
23327 1 file changed, 2 insertions(+), 2 deletions(-)
23329 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
23330 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23331 Date: Mon Dec 12 18:35:30 2011 +0100
23333 Add notes about branching to HACKING
23335 HACKING | 10 ++++++++++
23336 1 file changed, 10 insertions(+)
23338 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
23339 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23340 Date: Sat Dec 10 12:51:45 2011 +0100
23342 Fixed bug where GObject.property did not respect minimum and maximum
23345 https://bugzilla.gnome.org/show_bug.cgi?id=664864
23347 gi/_gobject/propertyhelper.py | 2 +-
23348 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
23349 2 files changed, 32 insertions(+), 1 deletion(-)
23351 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
23352 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23353 Date: Mon Dec 12 17:00:24 2011 +0100
23355 Remove mention of removed option --enable-docs
23358 1 file changed, 1 insertion(+), 1 deletion(-)
23360 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
23361 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23362 Date: Mon Dec 12 17:00:03 2011 +0100
23364 Fix sebp's name in NEWS
23367 1 file changed, 1 insertion(+), 1 deletion(-)
23369 commit 8c95981d0ba224a577f87998030c384b3dae3d80
23370 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23371 Date: Mon Dec 12 16:20:09 2011 +0100
23375 NEWS | 15 +++++++++++++++
23376 1 file changed, 15 insertions(+)
23378 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
23379 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23380 Date: Mon Dec 12 16:16:44 2011 +0100
23382 Pre-release version bump
23384 configure.ac | 2 +-
23385 1 file changed, 1 insertion(+), 1 deletion(-)
23387 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
23388 Author: Manuel Quiñones <manuq@laptop.org>
23389 Date: Thu Dec 1 11:50:38 2011 -0300
23391 Convert all modifier constants to Gdk.ModifierType
23393 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
23395 pygi-convert.sh | 14 ++++++++++++++
23396 1 file changed, 14 insertions(+)
23398 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
23399 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23400 Date: Tue Nov 8 12:38:12 2011 +0100
23402 Convert all strings to utf-8 encoding when retrieving from TreeModel
23404 https://bugzilla.gnome.org/show_bug.cgi?id=663610
23406 gi/overrides/Gtk.py | 15 +++++++++++++++
23407 tests/compathelper.py | 2 ++
23408 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
23409 3 files changed, 47 insertions(+), 1 deletion(-)
23411 commit 4f637212f13b197a95c824967a58496b9e3b877c
23412 Author: John (J5) Palmieri <johnp@redhat.com>
23413 Date: Wed Nov 2 14:51:24 2011 -0400
23415 add test for bytearray variants
23417 tests/test_gi.py | 4 ++++
23418 1 file changed, 4 insertions(+)
23420 commit 20ca3f129d6cc662285cce8c732b55596016aefa
23421 Author: John (J5) Palmieri <johnp@redhat.com>
23422 Date: Wed Nov 2 14:50:42 2011 -0400
23424 handle NULL arrays correctly for each array type
23426 gi/pygi-marshal-to-py.c | 11 ++++++-----
23427 1 file changed, 6 insertions(+), 5 deletions(-)
23429 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
23430 Author: John (J5) Palmieri <johnp@redhat.com>
23431 Date: Wed Nov 2 14:17:21 2011 -0400
23433 Revert "Revert "Fix array termination and size calculation""
23435 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
23437 gi/pygi-marshal-from-py.c | 6 +++++-
23438 gi/pygi-marshal-to-py.c | 8 +++++++-
23439 2 files changed, 12 insertions(+), 2 deletions(-)
23441 commit 832f16f96815adc22cc3acbeb3fa969631795a29
23442 Author: Owen W. Taylor <otaylor@fishsoup.net>
23443 Date: Sun Oct 30 18:08:57 2011 -0400
23445 pygmainloop: avoid lockups if multiple glib.MainLoop exist
23447 If multiple glib.MainLoop() sources exist, then we will add multiple
23448 watches, and when python writes a byte to the wakeup pipe, all of the
23449 sources will try to read it; only one will succeed and the others
23450 will block. Set both ends of the pipe nonblocking to avoid this.
23452 https://bugzilla.gnome.org/show_bug.cgi?id=663068
23454 gi/_glib/pygmainloop.c | 5 ++++-
23455 1 file changed, 4 insertions(+), 1 deletion(-)
23457 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
23458 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23459 Date: Sat Oct 29 15:08:03 2011 +0200
23461 Properly chain up to the class that implements a given vfunc.
23463 https://bugzilla.gnome.org/show_bug.cgi?id=662994
23465 gi/types.py | 22 +++++++++++++---------
23466 tests/test_gi.py | 20 ++++++++++----------
23467 2 files changed, 23 insertions(+), 19 deletions(-)
23469 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
23470 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23471 Date: Wed Nov 2 14:54:21 2011 +0100
23473 Revert "Fix array termination and size calculation"
23475 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
23477 gi/pygi-marshal-from-py.c | 6 +-----
23478 gi/pygi-marshal-to-py.c | 8 +-------
23479 2 files changed, 2 insertions(+), 12 deletions(-)
23481 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
23482 Author: Holger Berndt <hb@gnome.org>
23483 Date: Sun Oct 30 16:36:32 2011 +0100
23485 Fix array termination and size calculation
23487 When creating an array of element type uint8 and setting it directly
23489 memcpy(), make sure that zero-termination is respected.
23491 When calculating the length of a zero-terminated array of type uint8,
23492 fall back to strlen() instead of g_strv_length().
23494 https://bugzilla.gnome.org/show_bug.cgi?id=662550
23496 gi/pygi-marshal-from-py.c | 6 +++++-
23497 gi/pygi-marshal-to-py.c | 8 +++++++-
23498 2 files changed, 12 insertions(+), 2 deletions(-)
23500 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
23501 Author: Daniel Drake <dsd@laptop.org>
23502 Date: Sun Oct 30 09:20:45 2011 +0000
23504 pygi-convert: fix for Pango.Alignment
23506 pygi-convert.sh | 1 +
23507 1 file changed, 1 insertion(+)
23509 commit e3abd76096cc9f335681c7225f452c286b9c59e2
23510 Author: Daniel Drake <dsd@laptop.org>
23511 Date: Sun Oct 30 07:06:57 2011 +0000
23513 pygi-convert: fix for Gtk.Orientation
23515 pygi-convert.sh | 1 +
23516 1 file changed, 1 insertion(+)
23518 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
23519 Author: Martin Pitt <martin.pitt@ubuntu.com>
23520 Date: Thu Oct 27 07:16:24 2011 +0200
23522 Add tests for calling closures
23524 Add checks for correct handling of closure calls.
23525 Regress.test_closure_one_arg() is working fine and should continue
23527 Regress.test_closure_variant() is known to not work yet, so mark
23529 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
23531 tests/test_everything.py | 24 ++++++++++++++++++++++++
23532 1 file changed, 24 insertions(+)
23534 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
23535 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
23536 Date: Tue Oct 4 12:28:26 2011 +0200
23538 fix marshaling of arrays of GVariants
23540 Add unit tests for marshaling of arrays of variants with all
23541 transfer modes. Requires latest gobject-introspection.
23543 Plug potential leaks of GArray data members
23545 Fix calling of wrong cleanup_from_py for arrays
23547 Simplify and fix logic for cleaning up arrays both in from_py()
23548 and to_py() code paths.
23550 https://bugzilla.gnome.org/show_bug.cgi?id=638915
23552 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
23554 gi/pygi-cache.c | 2 +-
23555 gi/pygi-marshal-cleanup.c | 81
23556 ++++++++++++++++++++++++++++++-----------------
23557 gi/pygi-marshal-from-py.c | 10 ++++--
23558 gi/pygi-marshal-to-py.c | 13 ++++++--
23559 tests/test_gi.py | 14 +++++++-
23560 5 files changed, 85 insertions(+), 35 deletions(-)
23562 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
23563 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23564 Date: Sat Oct 22 00:20:57 2011 +0200
23569 1 file changed, 8 insertions(+)
23571 commit 5c24760b797e985721f7fe51d52252e4dd54a417
23572 Author: Martin Pitt <martin.pitt@ubuntu.com>
23573 Date: Fri Oct 21 17:31:41 2011 +0200
23575 Fix "Returns: (skip)" method calls without (out) arguments
23577 When we have a method call with a skipped return value, but no
23579 arguments, we previously returned NULL to Python, which causes
23581 error return without exception set". Return None instead.
23583 https://bugzilla.gnome.org/show_bug.cgi?id=662383
23585 gi/pygi-invoke.c | 10 ++++++++++
23586 tests/test_everything.py | 8 ++++++++
23587 2 files changed, 18 insertions(+)
23589 commit 585222915dc98b0e375de3db4771466278a32e81
23590 Author: John (J5) Palmieri <johnp@redhat.com>
23591 Date: Tue Oct 18 00:39:16 2011 -0400
23593 Do union member checks for unions that are parameters
23595 * before we were only doing checks if the union was an instance
23597 https://bugzilla.gnome.org/show_bug.cgi?id=661673
23599 gi/pygi-marshal-from-py.c | 121
23600 ++++++++++++++++++++++++++--------------------
23601 1 file changed, 68 insertions(+), 53 deletions(-)
23603 commit 8deaec6b9abd87f02060c9feec773d4693e89028
23604 Author: Martin Pitt <martin.pitt@ubuntu.com>
23605 Date: Wed Oct 19 14:35:11 2011 +0200
23607 Gdk overrides: Unbreak for Gdk-2.0
23609 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
23611 only do this for Gdk >= 3.0.
23613 https://launchpad.net/bugs/875399
23615 gi/overrides/Gdk.py | 95
23616 +++++++++++++++++++++++++++--------------------------
23617 1 file changed, 48 insertions(+), 47 deletions(-)
23619 commit f395fb131caf7ca550acd17138d8061926ef4f92
23620 Author: John (J5) Palmieri <johnp@redhat.com>
23621 Date: Fri Oct 14 17:19:45 2011 -0400
23623 unit test for checking ref count of object param in signals
23625 https://bugzilla.gnome.org/show_bug.cgi?id=661359
23627 tests/test_everything.py | 11 +++++++++++
23628 1 file changed, 11 insertions(+)
23630 commit 611f58b99851328653af4930f188c33eccaa9f6f
23631 Author: John (J5) Palmieri <johnp@redhat.com>
23632 Date: Fri Oct 14 16:42:32 2011 -0400
23634 when converting an object with transfer none, make sure the wrapper
23637 https://bugzilla.gnome.org/show_bug.cgi?id=661359
23639 gi/pygi-argument.c | 10 ++++++++++
23640 1 file changed, 10 insertions(+)
23642 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
23643 Author: Timo Vanwynsberghe <timovwb@gmail.com>
23644 Date: Tue Oct 4 11:13:43 2011 +0200
23646 Allow GBoxed types as property
23648 Add the GBoxed type as valid type to the gobject property helper
23649 https://bugzilla.gnome.org/show_bug.cgi?id=660798
23651 gi/_gobject/propertyhelper.py | 5 +++--
23652 1 file changed, 3 insertions(+), 2 deletions(-)
23654 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
23655 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23656 Date: Mon Oct 10 11:24:42 2011 +0200
23658 Add tests for boxed properties.
23660 tests/test_properties.py | 20 ++++++++++++++++++--
23661 1 file changed, 18 insertions(+), 2 deletions(-)
23663 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
23664 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23665 Date: Fri Sep 30 20:21:07 2011 +0200
23667 Post release bump version
23669 configure.ac | 2 +-
23670 1 file changed, 1 insertion(+), 1 deletion(-)
23672 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
23673 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23674 Date: Fri Sep 30 20:19:46 2011 +0200
23679 configure.ac | 2 +-
23680 2 files changed, 6 insertions(+), 1 deletion(-)
23682 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
23683 Author: John (J5) Palmieri <johnp@redhat.com>
23684 Date: Thu Sep 22 19:03:20 2011 -0400
23686 when checking instances union members are same type as parent
23688 * this is so we can support sending Gdk.Event members in place of
23689 the Event union into methods
23690 * we only support this if the union member has a type of GI_INTERFACE
23693 https://bugzilla.gnome.org/show_bug.cgi?id=659879
23695 gi/pygi-marshal-from-py.c | 60
23696 +++++++++++++++++++++++++++++++++++++++++++----
23697 1 file changed, 56 insertions(+), 4 deletions(-)
23699 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
23700 Author: John (J5) Palmieri <johnp@redhat.com>
23701 Date: Wed Sep 21 21:50:48 2011 -0400
23703 add a floating flag to pygobjects
23705 * this allows us to correctly refcount when custom gobjects are
23709 gi/_gobject/gobjectmodule.c | 5 +++++
23710 gi/_gobject/pygobject-private.h | 3 +++
23711 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
23712 gi/_gobject/pygobject.h | 3 ++-
23713 4 files changed, 36 insertions(+), 2 deletions(-)
23715 commit d2d29ae5845217254b9336fd8629f369cb119b25
23716 Author: John (J5) Palmieri <johnp@redhat.com>
23717 Date: Wed Sep 21 21:13:22 2011 -0400
23719 Revert "Fix refcount bug by not creating python wrapper during
23720 gobject init stage"
23722 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
23724 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
23725 1 file changed, 17 insertions(+), 15 deletions(-)
23727 commit a24c10b779f2a1b0425d56d03d59c393389cad98
23728 Author: John (J5) Palmieri <johnp@redhat.com>
23729 Date: Wed Sep 21 21:10:00 2011 -0400
23731 make sure to commit the NEWS file
23734 1 file changed, 4 insertions(+)
23736 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
23737 Author: John (J5) Palmieri <johnp@redhat.com>
23738 Date: Mon Sep 19 13:19:57 2011 -0400
23740 prep for 3.0 release
23742 configure.ac | 6 +++---
23743 1 file changed, 3 insertions(+), 3 deletions(-)
23745 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
23746 Author: John (J5) Palmieri <johnp@redhat.com>
23747 Date: Fri Sep 16 14:19:15 2011 -0400
23749 up version required of gobject-introspection to 1.29.0
23751 configure.ac | 2 +-
23752 1 file changed, 1 insertion(+), 1 deletion(-)
23754 commit 225f21117b6b3546989abe22538c784291e86b2a
23755 Author: John (J5) Palmieri <johnp@redhat.com>
23756 Date: Fri Sep 16 12:26:10 2011 -0400
23760 * remove some unused vars
23761 * correctly cast vars
23762 * handle deprecated enums in switch statments by using default:
23763 * unused wanrings still remain in some places
23765 gi/pygi-argument.c | 2 +-
23766 gi/pygi-cache.c | 7 ++-----
23767 gi/pygi-info.c | 6 ++++++
23768 gi/pygi-invoke.c | 2 +-
23769 gi/pygi-marshal-from-py.c | 17 +++++++++--------
23770 gi/pygi-marshal-to-py.c | 3 +--
23771 6 files changed, 20 insertions(+), 17 deletions(-)
23773 commit 9a70f01288e1b049206d25d67938907f1b38a490
23774 Author: John (J5) Palmieri <johnp@redhat.com>
23775 Date: Fri Sep 16 12:24:38 2011 -0400
23779 configure.ac | 2 +-
23780 1 file changed, 1 insertion(+), 1 deletion(-)
23782 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
23783 Author: John (J5) Palmieri <johnp@redhat.com>
23784 Date: Thu Sep 15 18:12:01 2011 -0400
23786 edit HACKING file to show correct tag format
23789 1 file changed, 1 insertion(+), 1 deletion(-)
23791 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
23792 Author: John (J5) Palmieri <johnp@redhat.com>
23793 Date: Thu Sep 15 18:10:33 2011 -0400
23795 update NEWS file to prep for release
23797 NEWS | 35 +++++++++++++++++++++++++++++++++++
23798 1 file changed, 35 insertions(+)
23800 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
23801 Author: John (J5) Palmieri <johnp@redhat.com>
23802 Date: Thu Sep 15 17:59:31 2011 -0400
23804 fix typo s/lenth/length
23806 gi/overrides/Gtk.py | 2 +-
23807 1 file changed, 1 insertion(+), 1 deletion(-)
23809 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
23810 Author: John (J5) Palmieri <johnp@redhat.com>
23811 Date: Thu Sep 15 17:48:58 2011 -0400
23813 fix typo in docstring
23815 gi/_gobject/propertyhelper.py | 2 +-
23816 1 file changed, 1 insertion(+), 1 deletion(-)
23818 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
23819 Author: John (J5) Palmieri <johnp@redhat.com>
23820 Date: Thu Sep 15 17:46:46 2011 -0400
23822 do not pass in len(str) to the length argument of
23823 gtk_test_buffer_insert* apis
23825 * in python 3 len(str) returns the number of characters while
23827 parameter is expecting the number of bytes. It also excepts -1
23829 terminated string. Since all of our strings are null terminated,
23831 set length to that.
23833 gi/overrides/Gtk.py | 6 ++----
23834 1 file changed, 2 insertions(+), 4 deletions(-)
23836 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
23837 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23838 Date: Mon Sep 12 21:07:20 2011 +0200
23840 Switch tarball compression format to tar.xz only.
23843 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
23844 for more information.
23846 https://bugzilla.gnome.org/show_bug.cgi?id=659140
23848 configure.ac | 2 +-
23849 1 file changed, 1 insertion(+), 1 deletion(-)
23851 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
23852 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23853 Date: Thu Sep 15 14:18:57 2011 +0200
23855 Remove pygtk_version attribute from internal gi._gobject module.
23857 This used to be provided for backwards compatibility with older PyGTK
23858 versions. As PyGObject3 no longer provides support for static bindings
23859 like PyGTK, the pygtk_version attribute has become obsolete.
23861 https://bugzilla.gnome.org/show_bug.cgi?id=659142
23863 gi/_gobject/gobjectmodule.c | 4 ----
23864 gi/_gobject/pygobject.h | 2 --
23865 2 files changed, 6 deletions(-)
23867 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
23868 Author: John (J5) Palmieri <johnp@redhat.com>
23869 Date: Thu Sep 15 15:52:18 2011 -0400
23871 remove overridesdir from the .pc file and add it to the gi module
23873 * having the variable in the .pc file caused issues parallel
23875 for different versions of python
23876 * putting it into the module allows us to give the correct directory
23877 based on which version of python you run the script from
23878 * access the var as such:
23880 installdir = gi._overridesdir
23882 gi/__init__.py | 2 ++
23883 pygobject-3.0.pc.in | 10 +++++++++-
23884 2 files changed, 11 insertions(+), 1 deletion(-)
23886 commit beea7072a5a989be47a755ac46647380d4dbd6b4
23887 Author: John (J5) Palmieri <johnp@redhat.com>
23888 Date: Thu Sep 15 00:11:09 2011 -0400
23890 fix tests to correctly construct a dummy Gtk.TargetEntry
23892 * structs are sometimes a pain in gi. Simply constructing them
23894 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
23896 but not correctly initialize the fields which can cause a crash.
23897 * tests didn't crash before because they were sending in bogus
23899 somehow did not trigger the issue
23900 * now with the C struct array marshallers doing the right thing,
23902 use of TargetEntry was causing a crash
23904 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23906 tests/test_overrides.py | 4 ++--
23907 1 file changed, 2 insertions(+), 2 deletions(-)
23909 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
23910 Author: John (J5) Palmieri <johnp@redhat.com>
23911 Date: Thu Sep 15 00:08:31 2011 -0400
23913 we now assume that C arrays of structs are flat so memcpy them
23916 * there is no way in GI to tell if a C array is flat or an array
23918 so we assume that all arrays of simple structs and gvalues are
23920 all arrays of objects and boxed structs are pointer arrays.
23921 * this will be removed once GI gets the ability to annotate level
23924 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23926 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
23927 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
23928 2 files changed, 61 insertions(+), 3 deletions(-)
23930 commit e30a41592baa942188574e5c9f99572963e2e387
23931 Author: John (J5) Palmieri <johnp@redhat.com>
23932 Date: Thu Sep 15 00:02:34 2011 -0400
23934 only update the arg counts once if child arg comes before parent arg
23936 * if the child arg comes before the parent arg we need to update the
23937 argument counts and take the child arg out of the marshalling lists
23938 since it is handled by the parent
23939 * when two parents reference the same child arg as is the case with
23940 two arrays which have a single length argument we only want
23943 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
23945 and only do the count update if this is set
23946 * APIs should keep in mind that this take extra processing so
23948 should really come after their parents
23950 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23952 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
23953 gi/pygi-cache.h | 9 +++++++--
23954 2 files changed, 27 insertions(+), 12 deletions(-)
23956 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
23957 Author: John (J5) Palmieri <johnp@redhat.com>
23958 Date: Wed Sep 14 20:26:15 2011 -0400
23960 Fix refcount bug by not creating python wrapper during gobject
23963 * This only applys to python subclasses of GObject which are
23966 * Because we were creating the wrapper when the gobject is
23968 and then again calling pygobject_new_full the wrapper would get
23970 * we could not simply Py_DECREF the wrapper due to the fact that
23971 non-subclassed objects (e.g. GObject.Object) instantiated via
23972 new do not run the same initialization code and would not have the
23974 * solution was to simply not create the wrapper during initialization
23975 because if it doesn't exist when pygobject_new_full is called
23976 it gets created and registered there
23977 * move the call to __init__ into pyg_object_new
23979 https://bugzilla.gnome.org/show_bug.cgi?id=657403
23981 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
23982 1 file changed, 15 insertions(+), 17 deletions(-)
23984 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
23985 Author: John (J5) Palmieri <johnp@redhat.com>
23986 Date: Tue Sep 13 18:08:04 2011 -0400
23988 don't destroy just created wrapper when object is created via
23991 https://bugzilla.gnome.org/show_bug.cgi?id=657403
23993 gi/_gobject/gobjectmodule.c | 2 +-
23994 1 file changed, 1 insertion(+), 1 deletion(-)
23996 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
23997 Author: Steve Frécinaux <code@istique.net>
23998 Date: Fri Aug 26 11:22:09 2011 +0200
24000 Remove deprecated API from pygobject.h
24002 https://bugzilla.gnome.org/show_bug.cgi?id=657416
24004 gi/_gobject/pygobject.h | 19 +------------------
24005 1 file changed, 1 insertion(+), 18 deletions(-)
24007 commit e1c71092af6e2cffa36248519adfceac1874051d
24008 Author: Marcin Owsiany <marcin@owsiany.pl>
24009 Date: Wed Aug 31 09:43:28 2011 +0100
24011 Convert gtk.TRUE/FALSE to Python True/False.
24013 https://bugzilla.gnome.org/show_bug.cgi?id=657785
24015 pygi-convert.sh | 2 ++
24016 1 file changed, 2 insertions(+)
24018 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
24019 Author: Steve Frécinaux <code@istique.net>
24020 Date: Fri Sep 2 08:37:15 2011 +0200
24022 Drop legacy __gobject_init__ method of GObject.Object.
24024 This method was used in gobject initialization at some point, but now
24025 using GObject.__init__() is sufficient, so let's not keep this old
24026 method around and let people misuse it.
24028 https://bugzilla.gnome.org/show_bug.cgi?id=658032
24030 examples/signal.py | 2 --
24031 gi/_gobject/pygobject.c | 11 -----------
24032 2 files changed, 13 deletions(-)
24034 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
24035 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24036 Date: Tue Sep 13 12:05:30 2011 +0200
24038 AM_CHECK_PYTHON_LIBS does not work for lib64
24040 But on Windows, Python extension modules need to be explicitly
24041 linked to libpython.
24043 https://bugzilla.gnome.org/show_bug.cgi?id=658856
24045 configure.ac | 4 +++-
24046 gi/Makefile.am | 9 ++++++---
24047 gi/_glib/Makefile.am | 10 ++++++++--
24048 gi/_gobject/Makefile.am | 8 +++++++-
24049 4 files changed, 24 insertions(+), 7 deletions(-)
24051 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
24052 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24053 Date: Mon Sep 12 23:03:05 2011 +0200
24055 Remove common_ldflags from Makefile.am as it is no longer used.
24057 https://bugzilla.gnome.org/show_bug.cgi?id=658856
24059 Makefile.am | 6 ------
24060 1 file changed, 6 deletions(-)
24062 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
24063 Author: John (J5) Palmieri <johnp@redhat.com>
24064 Date: Tue Sep 13 16:20:48 2011 -0400
24066 cast params for PyObject_IsInstance to suppress warnings
24068 gi/_gobject/pygobject-private.h | 4 ++--
24069 1 file changed, 2 insertions(+), 2 deletions(-)
24071 commit 861369ec59b17f67151813dc2e87c6e86126b954
24072 Author: John (J5) Palmieri <johnp@redhat.com>
24073 Date: Tue Sep 13 16:04:31 2011 -0400
24075 check if object is actually a PyGFlag before trying to access g_type
24077 * we are lucky this bit of code worked for as long as it did but when
24078 checking if an object is a PyGFlag we can't just rely on looking
24079 at the g_type field because if a regular gobject is passed in
24080 as is the case when you compare a long to a gflag, the gobject
24081 will not have a g_type field. Accessing a non-existant field
24082 could at best give you a false positive and at worse read
24083 memory beyond the bounds of the actual structure passed in
24085 gi/_gobject/pygobject-private.h | 4 ++--
24086 1 file changed, 2 insertions(+), 2 deletions(-)
24088 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
24089 Author: John (J5) Palmieri <johnp@redhat.com>
24090 Date: Tue Sep 13 16:03:02 2011 -0400
24092 fix regression - add instance type checks since Py3 no longer does
24095 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
24096 1 file changed, 19 insertions(+), 2 deletions(-)
24098 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
24099 Author: John (J5) Palmieri <johnp@redhat.com>
24100 Date: Fri Sep 2 18:39:51 2011 -0400
24102 refactor in/out marshalling to be to_py/from_py
24104 * in/out make sense from a C perspective but when you get to the
24105 python layers it makes more sense to label them as to_py and
24106 from_py to denote which way we are marshalling
24107 * this helps clear up the difference between callbacks which
24108 call into python and invoked functions which call into C
24109 * in the callback case we marshal in values to Python objects
24110 and out values to C types but in the invoke case we do the
24111 reverse. Dealing with to_py/from_py makes the code much more
24112 resuable and consistant
24114 https://bugzilla.gnome.org/show_bug.cgi?id=658362
24116 gi/Makefile.am | 8 +-
24117 gi/pygi-cache.c | 673
24118 ++++++++++++-----------
24119 gi/pygi-cache.h | 62 ++-
24120 gi/pygi-invoke.c | 144 ++---
24121 gi/pygi-marshal-cleanup.c | 168 +++---
24122 gi/pygi-marshal-cleanup.h | 128 ++---
24123 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
24124 gi/pygi-marshal-from-py.h | 186 +++++++
24125 gi/pygi-marshal-in.h | 186 -------
24126 gi/pygi-marshal-out.h | 144 -----
24127 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
24128 gi/pygi-marshal-to-py.h | 144 +++++
24129 12 files changed, 1267 insertions(+), 1226 deletions(-)
24131 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
24132 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24133 Date: Fri Sep 9 16:50:25 2011 +0200
24135 Examples: fix cairo-demo.py imports
24137 examples/cairo-demo.py | 6 +++---
24138 1 file changed, 3 insertions(+), 3 deletions(-)
24140 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
24141 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24142 Date: Fri Sep 9 15:08:27 2011 +0200
24144 Fix paths and add missing overridesdir variable used in uninstalled
24147 https://bugzilla.gnome.org/show_bug.cgi?id=658654
24149 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
24150 1 file changed, 7 insertions(+), 7 deletions(-)
24152 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
24153 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24154 Date: Fri Sep 9 15:08:04 2011 +0200
24156 Remove no longer used variables from pkgconfig files
24158 https://bugzilla.gnome.org/show_bug.cgi?id=658654
24160 pygobject-3.0-uninstalled.pc.in | 6 ------
24161 pygobject-3.0.pc.in | 5 +----
24162 2 files changed, 1 insertion(+), 10 deletions(-)
24164 commit 81d388780311311d8dc4a027a59d114edf9a00fc
24165 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24166 Date: Fri Sep 9 14:57:58 2011 +0200
24168 docs/Makefile.am and m4/python.m4: Python3 portability fixes
24170 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24172 docs/Makefile.am | 2 +-
24173 m4/python.m4 | 2 +-
24174 2 files changed, 2 insertions(+), 2 deletions(-)
24176 commit 7e692ee061406e48e4862b98a0829650b1d6d585
24177 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24178 Date: Fri Sep 9 14:57:46 2011 +0200
24180 Refactor and clean Makefile.am files
24182 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24185 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
24186 gi/_glib/Makefile.am | 100
24187 ++++++++++++++++++++++++++++++----------------
24188 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
24189 gi/overrides/Makefile.am | 4 +-
24190 gi/repository/Makefile.am | 4 +-
24191 6 files changed, 162 insertions(+), 114 deletions(-)
24193 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
24194 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24195 Date: Fri Sep 9 14:57:36 2011 +0200
24197 Remove all PLATFORM_VERSION = 2.0 traces
24199 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24201 gi/Makefile.am | 2 --
24202 gi/overrides/Makefile.am | 1 -
24203 gi/repository/Makefile.am | 1 -
24204 3 files changed, 4 deletions(-)
24206 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
24207 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24208 Date: Fri Sep 9 14:57:25 2011 +0200
24210 Remove gi/tests/ directory as all the tests now live in tests/
24212 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24214 gi/tests/Makefile.am | 24 ------------------------
24215 gi/tests/runtests.py | 21 ---------------------
24216 2 files changed, 45 deletions(-)
24218 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
24219 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24220 Date: Fri Sep 9 14:55:25 2011 +0200
24222 autogen.sh: Use autoreconf instead of a custom script and honor
24225 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24229 +++++++------------------------------------------------------
24230 2 files changed, 12 insertions(+), 85 deletions(-)
24232 commit 4671f5397003f376f00830e3fd1c214de594619f
24233 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24234 Date: Fri Sep 9 14:55:01 2011 +0200
24236 use improved python.m4 macros to search for Python headers and libs
24238 https://bugzilla.gnome.org/show_bug.cgi?id=658652
24240 configure.ac | 3 ++-
24241 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
24242 2 files changed, 39 insertions(+), 11 deletions(-)
24244 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
24245 Author: Javier Jardón <jjardon@gnome.org>
24246 Date: Fri Sep 9 15:38:22 2011 +0100
24248 Make maintiner mode enabled by default
24251 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
24253 configure.ac | 2 +-
24254 1 file changed, 1 insertion(+), 1 deletion(-)
24256 commit b24dcb415406668931e02a1f669ef9861bb3a660
24257 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24258 Date: Wed Aug 24 09:58:10 2011 +0200
24260 Disable documentation for now since they are completely wrong for GI.
24262 https://bugzilla.gnome.org/show_bug.cgi?id=657054
24265 configure.ac | 25 -------------------------
24266 2 files changed, 1 insertion(+), 26 deletions(-)
24268 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
24269 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24270 Date: Wed Sep 7 10:38:28 2011 +0200
24272 Fix documentation installation directory
24274 https://bugzilla.gnome.org/show_bug.cgi?id=657054
24276 docs/Makefile.am | 5 +++--
24277 1 file changed, 3 insertions(+), 2 deletions(-)
24279 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
24280 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24281 Date: Tue Sep 6 22:22:11 2011 +0200
24283 Remove distutils based build system.
24285 The only reason this might be brought back to life again is when
24286 the whole stack can be built with Visual Studio (including
24287 gobject-introspection) again. Building with MinGW/MSYS can now
24288 be done with the usual autogen.sh/configure/make/make install dance.
24290 https://bugzilla.gnome.org/show_bug.cgi?id=657054
24293 Makefile.am | 25 +--
24294 README.win32 | 21 --
24296 -----------------------------------------------
24297 pygobject_postinstall.py | 9 -
24298 setup.py | 351 --------------------------------
24299 6 files changed, 7 insertions(+), 915 deletions(-)
24301 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
24302 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24303 Date: Wed Sep 7 10:40:36 2011 +0200
24305 [gtk-demo] Fix syntax highlighter encoding issue
24307 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
24308 Python 2 however we get a str (not unicode). So with Python 2 the
24309 tokenizer returned bogus data when ran over a demo that contains real
24310 UTF-8 codepoints (like rotatedtext.py for example).
24312 This patch thus fixes the "Gtk-CRITICAL **:
24313 gtk_text_iter_set_line_offset:
24314 assertion `char_on_line <= chars_in_line` failed" assertions when
24316 the rotated text demo in the treeview.
24318 demos/gtk-demo/gtk-demo.py | 3 +++
24319 1 file changed, 3 insertions(+)
24321 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
24322 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24323 Date: Tue Sep 6 22:13:54 2011 +0200
24325 overrides: add constants for atoms
24327 gi/overrides/Gdk.py | 49
24328 +++++++++++++++++++++++++++++++++++++++++++++++++
24329 1 file changed, 49 insertions(+)
24331 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
24332 Author: Steve Frécinaux <code@istique.net>
24333 Date: Wed Aug 31 14:18:56 2011 +0200
24335 Drop pygobject_construct() from public API.
24337 These functions were introduced in 2005 because python objects
24339 "just" be instantiated using g_object_new(), but this is not true
24340 anymore since the introduction of new-style constructors. Hence
24342 has no reason to be there anymore.
24344 Nowadays, people who want to construct GObjects defined in python
24346 just use g_object_new().
24348 https://bugzilla.gnome.org/show_bug.cgi?id=657814
24350 gi/_gobject/gobjectmodule.c | 118
24351 +++++++++-------------------------------
24352 gi/_gobject/pygobject-private.h | 3 -
24353 gi/_gobject/pygobject.h | 8 ---
24354 3 files changed, 26 insertions(+), 103 deletions(-)
24356 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
24357 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24358 Date: Wed Aug 31 18:00:44 2011 +0200
24360 post release version bump
24362 configure.ac | 2 +-
24363 1 file changed, 1 insertion(+), 1 deletion(-)
24365 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
24366 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24367 Date: Wed Aug 31 17:58:37 2011 +0200
24371 NEWS | 12 ++++++++++++
24372 1 file changed, 12 insertions(+)
24374 commit 429569abddada5a3bad554de707ddf35b349936e
24375 Author: John (J5) Palmieri <johnp@redhat.com>
24376 Date: Thu Aug 25 13:57:53 2011 -0400
24378 support skip annotation for return values
24380 * this is used for things like skiping gboolean returns that are
24381 useful is C but useless in python
24383 * cleans up after skipped returns that are also marked transfer
24385 https://bugzilla.gnome.org/show_bug.cgi?id=650135
24387 gi/pygi-cache.c | 1 +
24388 gi/pygi-cache.h | 1 +
24389 gi/pygi-invoke.c | 48
24390 ++++++++++++++++++++++++++++++------------------
24391 tests/test_everything.py | 8 ++++++++
24392 4 files changed, 40 insertions(+), 18 deletions(-)
24394 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
24395 Author: Xavier Claessens <xclaesse@gmail.com>
24396 Date: Tue Aug 2 12:05:12 2011 +0200
24398 Test GPtrArray regression
24400 tests/test_everything.py | 3 +++
24401 1 file changed, 3 insertions(+)
24403 commit 42fc9fa437102c882844a0e70a081ab08de92658
24404 Author: Steve Frécinaux <code@istique.net>
24405 Date: Fri Aug 26 10:53:43 2011 +0200
24407 Drop support for old constructor style.
24409 Bindings don't write their own constructors anymore, and the old style
24410 has been deprecated for ages, so let's just drop them now and make
24413 https://bugzilla.gnome.org/show_bug.cgi?id=657413
24415 gi/_gobject/gobjectmodule.c | 20 --------------------
24416 gi/_gobject/pygobject-private.h | 1 -
24417 gi/_gobject/pygobject.c | 1 -
24418 gi/_gobject/pygobject.h | 2 --
24419 gi/gimodule.c | 28 ----------------------------
24421 tests/testhelpermodule.c | 5 -----
24422 7 files changed, 59 deletions(-)
24424 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
24425 Author: Steve Frécinaux <code@istique.net>
24426 Date: Fri Aug 26 10:45:59 2011 +0200
24428 Drop support for sink functions.
24430 Sink functions were meant to deal with floating references in a custom
24431 way. They are not useful anymore with the dynamic bindings.
24433 https://bugzilla.gnome.org/show_bug.cgi?id=642233
24435 gi/_gobject/gobjectmodule.c | 1 -
24436 gi/_gobject/pygobject.c | 53 ----------------------------------------
24437 gi/_gobject/pygobject.h | 4 ---
24438 tests/test-floating.c | 59
24439 +++++++--------------------------------------
24440 tests/test-floating.h | 42 +++++++++-----------------------
24441 tests/test_gobject.py | 13 +++-------
24442 tests/testhelpermodule.c | 32 +++++++-----------------
24443 7 files changed, 32 insertions(+), 172 deletions(-)
24445 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
24446 Author: Mike Gorse <mgorse@novell.com>
24447 Date: Wed Aug 24 17:30:09 2011 -0500
24449 Reinstate copying of in-line structs in arrays
24451 For arrays of in-line, non-boxed structures with (transfer full),
24452 _pygi_marshal_free_out_array eventually gets called and frees
24454 data, so we should copy it (IE, BGO#653588).
24456 https://bugzilla.gnome.org/show_bug.cgi?id=657120
24458 gi/pygi-marshal-out.c | 8 +++++++-
24459 1 file changed, 7 insertions(+), 1 deletion(-)
24461 commit f38511f251602e18551c04617cc2e2d42e812e1e
24462 Author: John (J5) Palmieri <johnp@redhat.com>
24463 Date: Tue Aug 23 14:18:43 2011 -0400
24465 fix inline struct array handling
24467 * we now assume any non-boxed structs are inline in an array since
24469 no way to check in GI and this is the most common use for an
24473 https://bugzilla.gnome.org/show_bug.cgi?id=657120
24475 gi/pygi-marshal-out.c | 23 +++++++++--------------
24476 tests/test_gi.py | 8 ++++++++
24477 2 files changed, 17 insertions(+), 14 deletions(-)
24479 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
24480 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24481 Date: Tue Aug 23 11:30:41 2011 +0200
24483 [gtk-demo] printing.py: set print and error dialog transient parent
24485 demos/gtk-demo/demos/printing.py | 8 ++++----
24486 1 file changed, 4 insertions(+), 4 deletions(-)
24488 commit 1aebc1565752840075027b9452fe2a67217bf53b
24489 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24490 Date: Tue Aug 23 11:28:05 2011 +0200
24492 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
24493 handle printing errors
24495 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
24496 1 file changed, 10 insertions(+), 4 deletions(-)
24498 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
24499 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24500 Date: Tue Aug 23 08:05:43 2011 +0200
24502 [gtk-demo] show "activated" demo's in italic font in the TreeView
24504 demos/gtk-demo/gtk-demo.py | 7 +++++--
24505 1 file changed, 5 insertions(+), 2 deletions(-)
24507 commit 971d063f7a36e13ef6621db7002b00af52f6292a
24508 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24509 Date: Mon Aug 22 14:52:28 2011 +0200
24511 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
24512 token, so simply remove it
24514 demos/gtk-demo/gtk-demo.py | 5 +----
24515 1 file changed, 1 insertion(+), 4 deletions(-)
24517 commit c2979a37d6d505095b6e55789150a6498d95819d
24518 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24519 Date: Mon Aug 22 14:22:18 2011 +0200
24521 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
24522 but Gtk.TextBuffer.insert expects a string.
24524 Fixed by using codes.open() as hinted in
24525 http://docs.python.org/dev/howto/pyporting.html#text-files
24526 section "If pre-2.6 compatibility is needed" (because configure.ac
24527 is still happy with Python 2.5.2).
24529 demos/gtk-demo/gtk-demo.py | 6 +++++-
24530 1 file changed, 5 insertions(+), 1 deletion(-)
24532 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
24533 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24534 Date: Mon Aug 22 12:30:24 2011 +0200
24536 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
24538 demos/gtk-demo/demos/images.py | 2 +-
24539 1 file changed, 1 insertion(+), 1 deletion(-)
24541 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
24542 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24543 Date: Mon Aug 22 10:38:04 2011 +0200
24545 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
24548 demos/gtk-demo/demos/printing.py | 4 ++--
24549 1 file changed, 2 insertions(+), 2 deletions(-)
24551 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
24552 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24553 Date: Mon Aug 22 10:37:08 2011 +0200
24555 [gtk-demo] printing.py: fix text file loading
24557 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
24558 1 file changed, 16 insertions(+), 16 deletions(-)
24560 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
24561 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24562 Date: Mon Aug 22 10:20:35 2011 +0200
24564 [gtk-demo] pixbuf.py: fix image loading
24566 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
24567 1 file changed, 11 insertions(+), 14 deletions(-)
24569 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
24570 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24571 Date: Mon Aug 22 10:10:02 2011 +0200
24573 [gtk-demo] images.py: fix logo loading
24575 demos/gtk-demo/demos/images.py | 70
24576 +++++++++++++++++-------------------------
24577 1 file changed, 29 insertions(+), 41 deletions(-)
24579 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
24580 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24581 Date: Wed Aug 24 12:19:21 2011 +0200
24583 [gtk-demo] appwindow.py: set AboutDialog parent
24585 demos/gtk-demo/demos/appwindow.py | 7 +++----
24586 1 file changed, 3 insertions(+), 4 deletions(-)
24588 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
24589 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24590 Date: Mon Aug 22 07:58:25 2011 +0200
24592 [gtk-demo] appwindow.py: fix logo loading
24594 demos/gtk-demo/demos/appwindow.py | 10 +++-------
24595 1 file changed, 3 insertions(+), 7 deletions(-)
24597 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
24598 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24599 Date: Mon Aug 22 07:57:31 2011 +0200
24601 [gtk-demo] appwindow.py: fix callback signatures
24603 demos/gtk-demo/demos/appwindow.py | 6 +++---
24604 1 file changed, 3 insertions(+), 3 deletions(-)
24606 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
24607 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24608 Date: Mon Aug 22 07:48:28 2011 +0200
24610 [gtk-demo] fix glib vs GLib usage
24612 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
24613 demos/gtk-demo/demos/appwindow.py | 2 +-
24614 2 files changed, 2 insertions(+), 2 deletions(-)
24616 commit d29cad6976a80862e1fc590d3e7d190e8a234866
24617 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24618 Date: Wed Aug 24 12:19:02 2011 +0200
24620 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
24621 caused by improved GDK overrides
24623 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
24624 1 file changed, 3 insertions(+), 3 deletions(-)
24626 commit f29d3a85a275a39e8481484779264b0dea1160ab
24627 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24628 Date: Mon Aug 22 07:25:32 2011 +0200
24630 [gtk-demo] optimize source colorizer by only preparing iters for
24631 known colorized tokens
24633 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
24634 1 file changed, 15 insertions(+), 5 deletions(-)
24636 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
24637 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24638 Date: Fri Aug 19 18:31:20 2011 +0200
24640 [gtk-demo] small formatting fixes
24642 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
24643 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
24644 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
24645 demos/gtk-demo/demos/assistant.py | 1 +
24646 demos/gtk-demo/demos/builder.py | 4 +++-
24647 demos/gtk-demo/demos/button_box.py | 1 +
24648 demos/gtk-demo/demos/clipboard.py | 1 +
24649 demos/gtk-demo/demos/colorselector.py | 1 +
24650 demos/gtk-demo/demos/combobox.py | 1 +
24651 demos/gtk-demo/demos/drawingarea.py | 4 +++-
24652 demos/gtk-demo/demos/test.py | 2 ++
24653 11 files changed, 19 insertions(+), 6 deletions(-)
24655 commit c42cb4da399ff5732f4ca732b85134de796a60fa
24656 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24657 Date: Fri Aug 19 18:30:50 2011 +0200
24659 [gtk-demo] remove "is_fully_bound" from demos
24661 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
24662 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
24663 demos/gtk-demo/demos/appwindow.py | 3 ---
24664 demos/gtk-demo/demos/assistant.py | 2 --
24665 demos/gtk-demo/demos/builder.py | 2 --
24666 demos/gtk-demo/demos/button_box.py | 2 --
24667 demos/gtk-demo/demos/clipboard.py | 2 --
24668 demos/gtk-demo/demos/colorselector.py | 2 --
24669 demos/gtk-demo/demos/combobox.py | 2 --
24670 demos/gtk-demo/demos/drawingarea.py | 2 --
24671 demos/gtk-demo/demos/test.py | 1 -
24672 11 files changed, 22 deletions(-)
24674 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
24675 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24676 Date: Fri Aug 19 18:26:31 2011 +0200
24678 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
24679 and GTK+'s gtk-demo code
24681 demos/gtk-demo/gtk-demo.py | 116
24682 +++++++++++++++++++++++++++++++++++++++------
24683 1 file changed, 101 insertions(+), 15 deletions(-)
24685 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
24686 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24687 Date: Fri Aug 19 15:08:15 2011 +0200
24689 [gtk-demo] remove C-isms
24691 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
24692 1 file changed, 14 insertions(+), 14 deletions(-)
24694 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
24695 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24696 Date: Fri Aug 19 14:54:39 2011 +0200
24698 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
24700 demos/gtk-demo/gtk-demo.py | 4 ++--
24701 1 file changed, 2 insertions(+), 2 deletions(-)
24703 commit 241827208e25c72a990d8edd95a3b879470d6409
24704 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24705 Date: Fri Aug 19 14:40:56 2011 +0200
24707 [gtk-demo] remove duplicate storage of demos by only storing them
24708 in a TreeStore subclass
24710 This also moves demos loading code into the TreeStore subclass and
24711 demo loading code into the Demo class
24713 demos/gtk-demo/gtk-demo.py | 151
24714 +++++++++++++++++++++------------------------
24715 1 file changed, 70 insertions(+), 81 deletions(-)
24717 commit 58797c355a08a35375988881a17958bb42ad54bb
24718 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24719 Date: Fri Aug 19 14:40:00 2011 +0200
24721 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
24722 to demonstrate the GLib.MainLoop
24724 demos/gtk-demo/gtk-demo.py | 43
24725 ++++++++++++++++++++++++++-----------------
24726 1 file changed, 26 insertions(+), 17 deletions(-)
24728 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
24729 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24730 Date: Fri Aug 19 11:46:17 2011 +0200
24732 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
24734 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
24735 1 file changed, 23 insertions(+), 16 deletions(-)
24737 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
24738 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24739 Date: Fri Aug 19 11:02:35 2011 +0200
24741 [gtk-demo] drawingarea: fix labels
24743 demos/gtk-demo/demos/drawingarea.py | 4 ++--
24744 1 file changed, 2 insertions(+), 2 deletions(-)
24746 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
24747 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24748 Date: Fri Aug 19 09:57:31 2011 +0200
24750 [gtk-demo] fix imports
24752 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
24753 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
24754 demos/gtk-demo/gtk-demo.py | 8 ++++----
24755 3 files changed, 14 insertions(+), 9 deletions(-)
24757 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
24758 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24759 Date: Fri Aug 19 10:07:14 2011 +0200
24761 [gtk-demo] fix shebang
24763 demos/gtk-demo/gtk-demo.py | 2 +-
24764 1 file changed, 1 insertion(+), 1 deletion(-)
24766 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
24767 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24768 Date: Fri Aug 19 12:27:04 2011 +0200
24770 Added support for __setitem__ to TreeModel and support for slices
24773 https://bugzilla.gnome.org/show_bug.cgi?id=656891
24775 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
24776 tests/test_overrides.py | 57
24777 +++++++++++++++++++++++++++++++++++++++++++++++++
24778 2 files changed, 81 insertions(+), 2 deletions(-)
24780 commit d6da96c65b2ed3cda238886990a624fbc31f6987
24781 Author: Olav Vitters <olav@vitters.nl>
24782 Date: Wed Aug 24 16:31:12 2011 +0200
24784 Convert ACCEL_* constants into Gtk.AccelFlags.
24786 pygi-convert.sh | 1 +
24787 1 file changed, 1 insertion(+)
24789 commit 0841d41698302abb5d987849a5874252564ed428
24790 Author: Olav Vitters <olav@vitters.nl>
24791 Date: Wed Aug 24 16:22:17 2011 +0200
24793 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
24795 pygi-convert.sh | 1 +
24796 1 file changed, 1 insertion(+)
24798 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
24799 Author: John (J5) Palmieri <johnp@redhat.com>
24800 Date: Thu Aug 18 14:06:32 2011 -0400
24802 post commit version bump
24804 configure.ac | 2 +-
24805 1 file changed, 1 insertion(+), 1 deletion(-)
24807 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
24808 Author: John (J5) Palmieri <johnp@redhat.com>
24809 Date: Thu Aug 18 14:02:30 2011 -0400
24813 NEWS | 10 ++++++++++
24814 1 file changed, 10 insertions(+)
24816 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
24817 Author: John (J5) Palmieri <johnp@redhat.com>
24818 Date: Thu Aug 18 13:50:51 2011 -0400
24820 remove tests that were removed from gi
24822 tests/test_gi.py | 11 -----------
24823 1 file changed, 11 deletions(-)
24825 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
24826 Author: John (J5) Palmieri <johnp@redhat.com>
24827 Date: Thu Aug 18 13:48:57 2011 -0400
24829 don't calculate item_size using is_pointer
24831 * is_pointer is poorly defined and cacluating item_size for
24832 arrays causes a crash in the tests because of this
24833 * disregaurd is_pointer when cacluating item sizes
24835 gi/pygi-info.c | 8 ++------
24836 1 file changed, 2 insertions(+), 6 deletions(-)
24838 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
24839 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24840 Date: Wed Jul 6 01:50:31 2011 +0200
24842 Updated signal example to use GObject introspection
24844 https://bugzilla.gnome.org/show_bug.cgi?id=654162
24846 examples/signal.py | 9 ++++-----
24847 1 file changed, 4 insertions(+), 5 deletions(-)
24849 commit 0332010e704e253380e993874eab9dd122e59a7e
24850 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24851 Date: Wed Jul 6 01:54:50 2011 +0200
24853 Updated properties example to use GObject introspection
24855 https://bugzilla.gnome.org/show_bug.cgi?id=654162
24857 examples/properties.py | 14 +++++++-------
24858 1 file changed, 7 insertions(+), 7 deletions(-)
24860 commit c39f4555ebd703651eca6f978ed9870655b737f0
24861 Author: Martin Pitt <martin.pitt@ubuntu.com>
24862 Date: Fri Aug 12 22:55:02 2011 +0200
24864 Add override for GLib.Variant.split_signature()
24866 This is useful for e. g. iterating over method parameters which are
24868 single Variant. In particular we will need it for automatically
24870 introspection XML for exported DBus server objects.
24872 gi/overrides/GLib.py | 50
24873 +++++++++++++++++++++++++++++++++++++++++++++++++
24874 tests/test_overrides.py | 22 ++++++++++++++++++++++
24875 2 files changed, 72 insertions(+)
24877 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
24878 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24879 Date: Mon Aug 15 18:58:31 2011 +0200
24881 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
24883 https://bugzilla.gnome.org/show_bug.cgi?id=654001
24885 pygi-convert.sh | 2 ++
24886 1 file changed, 2 insertions(+)
24888 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
24889 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24890 Date: Mon Aug 15 13:12:49 2011 +0200
24892 Install pygobject.h again.
24894 This is needed by libpeas.
24896 gi/_gobject/Makefile.am | 5 ++++-
24897 pygobject-3.0-uninstalled.pc.in | 4 ++--
24898 pygobject-3.0.pc.in | 6 +++---
24899 3 files changed, 9 insertions(+), 6 deletions(-)
24901 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
24902 Author: John (J5) Palmieri <johnp@redhat.com>
24903 Date: Sun Aug 14 11:20:15 2011 -0400
24905 update the doap file
24907 pygobject.doap | 26 ++++++++++++++------------
24908 1 file changed, 14 insertions(+), 12 deletions(-)
24910 commit 762a36d2343bc39a502507d600fd1b9db9649dae
24911 Author: John (J5) Palmieri <johnp@redhat.com>
24912 Date: Sun Aug 14 11:13:25 2011 -0400
24916 configure.ac | 2 +-
24917 1 file changed, 1 insertion(+), 1 deletion(-)
24919 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
24920 Author: John (J5) Palmieri <johnp@redhat.com>
24921 Date: Sun Aug 14 10:13:37 2011 -0400
24923 get things ready for release
24926 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24927 1 file changed, 194 insertions(+)
24929 commit ffd057649380d4249c1c52e1225e3646f3994bc6
24930 Author: John (J5) Palmieri <johnp@redhat.com>
24931 Date: Sun Aug 14 05:26:18 2011 -0400
24933 pass exta keywords to the Box constructor
24935 gi/overrides/Gtk.py | 4 ++--
24936 1 file changed, 2 insertions(+), 2 deletions(-)
24938 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
24939 Author: John (J5) Palmieri <johnp@redhat.com>
24940 Date: Sat Aug 13 11:03:07 2011 -0400
24942 add (Tree|List)Store set method override
24944 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
24945 tests/test_overrides.py | 102
24946 ++++++++++++++++++++++++++++++++++++++++++++++--
24947 2 files changed, 149 insertions(+), 3 deletions(-)
24949 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
24950 Author: John (J5) Palmieri <johnp@redhat.com>
24951 Date: Sat Aug 13 09:19:29 2011 -0400
24953 add test for object arrays
24955 tests/test_everything.py | 6 ++++++
24956 1 file changed, 6 insertions(+)
24958 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
24959 Author: John (J5) Palmieri <johnp@redhat.com>
24960 Date: Sat Aug 13 08:46:18 2011 -0400
24962 only support C pointer arrays for structs and objects
24964 * There is no way to know if an array of structs or objects are
24966 or flat arrays. Since pointer arrays are the most useful and
24968 it has been decided to only support those arrays
24970 gi/pygi-marshal-out.c | 2 +-
24971 tests/test_gi.py | 8 --------
24972 2 files changed, 1 insertion(+), 9 deletions(-)
24974 commit b12379de1790b72d51883bf7b63c892639a892e7
24975 Author: John (J5) Palmieri <johnp@redhat.com>
24976 Date: Sat Aug 13 06:31:52 2011 -0400
24978 revert Gtk.Window override because it causes issues with subclasses
24980 gi/overrides/Gtk.py | 9 ---------
24981 1 file changed, 9 deletions(-)
24983 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
24984 Author: Jonathan Matthew <jonathan@d14n.org>
24985 Date: Thu Apr 7 21:05:32 2011 +1000
24987 take GIL in _pygi_invoke_closure_free (bug #647016)
24989 gi/pygi-closure.c | 3 +++
24990 1 file changed, 3 insertions(+)
24992 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
24993 Author: Johan Dahlin <jdahlin@litl.com>
24994 Date: Mon Jun 27 00:41:24 2011 -0300
24996 Add a default parameter to GtkTreeModel.filter_new
24998 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25000 gi/overrides/Gtk.py | 3 +++
25001 1 file changed, 3 insertions(+)
25003 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
25004 Author: Johan Dahlin <jdahlin@litl.com>
25005 Date: Mon Jun 27 00:40:12 2011 -0300
25007 Add vbox/action_area properties
25009 Accessing vbox/action_area directly creates segmentation fault,
25010 avoid that by mapping the fields to their getters for PyGTK
25013 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25015 gi/overrides/Gtk.py | 3 +++
25016 1 file changed, 3 insertions(+)
25018 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
25019 Author: Johan Dahlin <jdahlin@litl.com>
25020 Date: Mon Jun 27 00:39:41 2011 -0300
25022 Add a couple of constructors
25024 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
25027 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25029 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
25030 1 file changed, 40 insertions(+)
25032 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
25033 Author: Johan Dahlin <jdahlin@litl.com>
25034 Date: Mon Jun 27 00:38:30 2011 -0300
25036 Do not always pass in user_data to callbacks.
25038 This keeps API compatibility with PyGTK and avoids sending
25039 in user_data if it's None.
25041 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25043 gi/overrides/Gtk.py | 15 ++++++++++++---
25044 1 file changed, 12 insertions(+), 3 deletions(-)
25046 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
25047 Author: Johan Dahlin <jdahlin@litl.com>
25048 Date: Mon Jun 27 00:38:20 2011 -0300
25050 Add a default detail value for Widget.render_icon
25052 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25054 gi/overrides/Gtk.py | 3 +++
25055 1 file changed, 3 insertions(+)
25057 commit 5b1c875269b7979caae97e84919a690a34d92f29
25058 Author: Johan Dahlin <jdahlin@litl.com>
25059 Date: Mon Jun 27 00:36:20 2011 -0300
25061 Add an override for Gdk.color_parse()
25063 Change Gdk.color_parse() to not return a tuple, instead just
25064 return the created color or None if it wasn't possible to parse
25065 the name into a color.
25067 This keeps compatibility with PyGTK but breaks the current API.
25069 https://bugzilla.gnome.org/show_bug.cgi?id=653462
25071 gi/overrides/Gdk.py | 8 ++++++++
25072 1 file changed, 8 insertions(+)
25074 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
25075 Author: Laszlo Pandy <lpandy@src.gnome.org>
25076 Date: Mon Aug 8 12:06:18 2011 +0200
25078 Support function calling with keyword arguments in invoke.
25080 https://bugzilla.gnome.org/show_bug.cgi?id=625596
25082 gi/pygi-cache.c | 39 ++++++++++++
25083 gi/pygi-cache.h | 4 ++
25084 gi/pygi-invoke.c | 162
25085 +++++++++++++++++++++++++++++++++++++++++++++--
25086 gi/types.py | 12 ++--
25087 tests/test_everything.py | 2 +-
25088 tests/test_gi.py | 58 +++++++++++++++++
25089 6 files changed, 265 insertions(+), 12 deletions(-)
25091 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
25092 Author: John (J5) Palmieri <johnp@redhat.com>
25093 Date: Sat Aug 13 04:13:28 2011 -0400
25095 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
25097 gi/pygi-info.c | 5 -----
25098 1 file changed, 5 deletions(-)
25100 commit 745001178fc72be5626c7211366d694f41162987
25101 Author: Martin Pitt <martin.pitt@ubuntu.com>
25102 Date: Thu Aug 11 15:11:42 2011 +0200
25104 Fix gobject vs. gi.repository warning
25106 Check the warning earlier and fix the operator, so that it actually
25108 update the warning to explain how to fix the problem.
25110 gi/_gobject/__init__.py | 8 ++++----
25111 1 file changed, 4 insertions(+), 4 deletions(-)
25113 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
25114 Author: John (J5) Palmieri <johnp@redhat.com>
25115 Date: Fri Jul 22 15:46:31 2011 -0400
25117 make GObject and GLib able to take overrides
25119 * derive directly from DynamicModule instead of InterfaceModule
25121 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25123 gi/importer.py | 11 +++---
25125 ++++++++++++++++++++++++++++-----------------------------
25126 2 files changed, 64 insertions(+), 65 deletions(-)
25128 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
25129 Author: John (J5) Palmieri <johnp@redhat.com>
25130 Date: Fri Jul 22 15:45:09 2011 -0400
25132 avoid dependency issue by importing the internal gobject
25134 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25136 gi/__init__.py | 2 +-
25137 1 file changed, 1 insertion(+), 1 deletion(-)
25139 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
25140 Author: John (J5) Palmieri <johnp@redhat.com>
25141 Date: Fri Jul 22 14:13:02 2011 -0400
25143 fix tests to use the new GLib module
25145 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25147 tests/test_mainloop.py | 7 +++----
25148 tests/test_option.py | 3 ++-
25149 tests/test_source.py | 24 +++++++++++-------------
25150 tests/test_subprocess.py | 12 +++++-------
25151 tests/test_thread.py | 10 ++++------
25152 tests/test_uris.py | 4 ++--
25153 6 files changed, 27 insertions(+), 33 deletions(-)
25155 commit 191ef79315f8a5641699536fde58da18e23ef904
25156 Author: John (J5) Palmieri <johnp@redhat.com>
25157 Date: Fri Jul 22 14:11:53 2011 -0400
25159 add DynamicGLibModule which works like DynamicGObjectModule
25161 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25163 gi/importer.py | 7 +++++--
25164 gi/module.py | 32 +++++++++++++++++++++++++++++---
25165 2 files changed, 34 insertions(+), 5 deletions(-)
25167 commit fbd4a8263260c187211799454c08b1e55e2cb998
25168 Author: John (J5) Palmieri <johnp@redhat.com>
25169 Date: Fri Jul 22 12:27:41 2011 -0400
25171 refactor, add objects and types to the correct internal module
25173 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25175 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
25176 gi/_glib/pygmaincontext.c | 2 +-
25177 gi/_glib/pygmainloop.c | 4 ++--
25178 gi/_glib/pygoptioncontext.c | 4 ++--
25179 gi/_glib/pygoptiongroup.c | 4 ++--
25180 gi/_glib/pygsource.c | 14 +++++++-------
25181 gi/_glib/pygspawn.c | 14 +++++++-------
25182 7 files changed, 40 insertions(+), 40 deletions(-)
25184 commit 7431b49a161df9178c55b814d3adff992ac2d722
25185 Author: John (J5) Palmieri <johnp@redhat.com>
25186 Date: Fri Jul 22 12:26:32 2011 -0400
25188 rename the pyglib shared library so we don't load the old one
25190 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25192 gi/Makefile.am | 2 +-
25193 gi/_glib/Makefile.am | 10 +++++-----
25194 gi/_gobject/Makefile.am | 2 +-
25195 3 files changed, 7 insertions(+), 7 deletions(-)
25197 commit b8700451acd4a19b59b64fc8641fca748d2189e2
25198 Author: John (J5) Palmieri <johnp@redhat.com>
25199 Date: Fri Jul 22 11:20:09 2011 -0400
25201 refactor tests to only use PyGObject 3 syntax
25203 * for PyGObject 3 we want to discourage the use of legacy
25205 * Using interfaces like from gi.repository import GObject makes
25206 sure that the internal _gobject module is loaded and not
25207 PyGObject 2's gobject module which would cause the application
25208 to not work correctly
25210 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25212 tests/runtests-windows.py | 4 +-
25213 tests/test_gdbus.py | 12 ++---
25214 tests/test_gi.py | 4 +-
25215 tests/test_gobject.py | 31 ++++++------
25216 tests/test_interface.py | 16 +++---
25217 tests/test_mainloop.py | 3 +-
25218 tests/test_overrides.py | 8 +--
25219 tests/test_properties.py | 124
25220 +++++++++++++++++++++++-----------------------
25221 tests/test_signal.py | 98 ++++++++++++++++++------------------
25222 tests/test_source.py | 5 +-
25223 tests/test_subprocess.py | 3 +-
25224 tests/test_thread.py | 5 +-
25225 tests/test_unknown.py | 8 +--
25226 tests/testhelpermodule.c | 2 +-
25227 tests/testmodule.py | 10 ++--
25228 15 files changed, 169 insertions(+), 164 deletions(-)
25230 commit c980dae21468fe073cc8782608148c346bb90ad7
25231 Author: John (J5) Palmieri <johnp@redhat.com>
25232 Date: Fri Jul 22 11:16:00 2011 -0400
25234 refactor the internal _glib module to import correct modules
25236 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25238 gi/_glib/__init__.py | 3 ++-
25239 gi/_glib/glibmodule.c | 10 +++++-----
25240 gi/_glib/option.py | 4 ++--
25241 gi/_glib/pyglib.c | 18 +++++++++---------
25242 4 files changed, 18 insertions(+), 17 deletions(-)
25244 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
25245 Author: John (J5) Palmieri <johnp@redhat.com>
25246 Date: Fri Jul 22 11:10:46 2011 -0400
25248 refactor to use the new internal _glib and _gobject modules
25250 * use relative imports instead of aboslute
25251 * fix the C imports to import the internal _gobject libs
25252 * add a check to see if the PyGObject 2 gobject module
25253 was already imported
25255 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25257 gi/_gobject/__init__.py | 20 +++++++++++++-------
25258 gi/_gobject/constants.py | 3 +--
25259 gi/_gobject/gobjectmodule.c | 2 +-
25260 gi/_gobject/propertyhelper.py | 11 +++++------
25261 gi/_gobject/pygobject.c | 16 ++++++++--------
25262 gi/_gobject/pygobject.h | 2 +-
25263 6 files changed, 29 insertions(+), 25 deletions(-)
25265 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
25266 Author: John (J5) Palmieri <johnp@redhat.com>
25267 Date: Fri Jul 22 11:07:10 2011 -0400
25269 refactor gi module to import and use internal _gobject module
25271 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25273 gi/importer.py | 2 --
25274 gi/module.py | 31 ++++++++++++++++---------------
25275 gi/overrides/Gtk.py | 2 +-
25276 gi/overrides/__init__.py | 6 +++---
25277 gi/pygobject-external.h | 2 +-
25278 gi/types.py | 12 ++++++------
25279 6 files changed, 27 insertions(+), 28 deletions(-)
25281 commit 6b9d738d78c6ac45d49f00402c89356887555069
25282 Author: John (J5) Palmieri <johnp@redhat.com>
25283 Date: Fri Jul 22 11:02:49 2011 -0400
25285 move the static bits internal to gi and refactor build files
25287 * the glib module now becomes the gi._glib module
25288 * the gobject module now becomes the gi._gobject module
25289 * we do this so we can install in parallel with PyGObject 2
25291 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25294 configure.ac | 6 +++---
25295 gi/Makefile.am | 8 +++++---
25296 {glib => gi/_glib}/Makefile.am | 5 +----
25297 {glib => gi/_glib}/__init__.py | 0
25298 {glib => gi/_glib}/glibmodule.c | 0
25299 {glib => gi/_glib}/option.py | 0
25300 {glib => gi/_glib}/pygiochannel.c | 0
25301 {glib => gi/_glib}/pygiochannel.h | 0
25302 {glib => gi/_glib}/pyglib-private.h | 0
25303 {glib => gi/_glib}/pyglib-python-compat.h | 0
25304 {glib => gi/_glib}/pyglib.c | 0
25305 {glib => gi/_glib}/pyglib.h | 0
25306 {glib => gi/_glib}/pygmaincontext.c | 0
25307 {glib => gi/_glib}/pygmaincontext.h | 0
25308 {glib => gi/_glib}/pygmainloop.c | 0
25309 {glib => gi/_glib}/pygmainloop.h | 0
25310 {glib => gi/_glib}/pygoptioncontext.c | 0
25311 {glib => gi/_glib}/pygoptioncontext.h | 0
25312 {glib => gi/_glib}/pygoptiongroup.c | 0
25313 {glib => gi/_glib}/pygoptiongroup.h | 0
25314 {glib => gi/_glib}/pygsource.c | 0
25315 {glib => gi/_glib}/pygsource.h | 0
25316 {glib => gi/_glib}/pygspawn.c | 0
25317 {glib => gi/_glib}/pygspawn.h | 0
25318 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
25319 {gobject => gi/_gobject}/__init__.py | 0
25320 {gobject => gi/_gobject}/constants.py | 0
25321 {gobject => gi/_gobject}/ffi-marshaller.c | 0
25322 {gobject => gi/_gobject}/ffi-marshaller.h | 0
25323 {gobject => gi/_gobject}/gobjectmodule.c | 0
25324 {gobject => gi/_gobject}/propertyhelper.py | 0
25325 {gobject => gi/_gobject}/pygboxed.c | 0
25326 {gobject => gi/_gobject}/pygboxed.h | 0
25327 {gobject => gi/_gobject}/pygenum.c | 0
25328 {gobject => gi/_gobject}/pygenum.h | 0
25329 {gobject => gi/_gobject}/pygflags.c | 0
25330 {gobject => gi/_gobject}/pygflags.h | 0
25331 {gobject => gi/_gobject}/pyginterface.c | 0
25332 {gobject => gi/_gobject}/pyginterface.h | 0
25333 {gobject => gi/_gobject}/pygobject-private.h | 0
25334 {gobject => gi/_gobject}/pygobject.c | 0
25335 {gobject => gi/_gobject}/pygobject.h | 0
25336 {gobject => gi/_gobject}/pygparamspec.c | 0
25337 {gobject => gi/_gobject}/pygparamspec.h | 0
25338 {gobject => gi/_gobject}/pygpointer.c | 0
25339 {gobject => gi/_gobject}/pygpointer.h | 0
25340 {gobject => gi/_gobject}/pygtype.c | 0
25341 {gobject => gi/_gobject}/pygtype.h | 0
25342 tests/Makefile.am | 2 +-
25343 50 files changed, 15 insertions(+), 18 deletions(-)
25345 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
25346 Author: John (J5) Palmieri <johnp@redhat.com>
25347 Date: Mon Jul 18 18:46:31 2011 -0400
25351 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25353 Makefile.am | 5 ----
25355 -------------------------------------------------------------
25356 2 files changed, 100 deletions(-)
25358 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
25359 Author: John (J5) Palmieri <johnp@redhat.com>
25360 Date: Mon Jul 18 18:41:41 2011 -0400
25362 introspection is no longer optional
25364 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25366 Makefile.am | 8 +-------
25367 configure.ac | 43 +++++++++++++++++--------------------------
25368 gi/pygi.h | 37 -------------------------------------
25369 gobject/Makefile.am | 5 +----
25370 tests/Makefile.am | 7 +------
25371 5 files changed, 20 insertions(+), 80 deletions(-)
25373 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
25374 Author: John (J5) Palmieri <johnp@redhat.com>
25375 Date: Mon Jul 18 18:28:50 2011 -0400
25377 up platform version to 3.0
25379 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25384 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
25385 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
25386 4 files changed, 3 insertions(+), 3 deletions(-)
25388 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
25389 Author: Martin Pitt <martin.pitt@ubuntu.com>
25390 Date: Thu Aug 11 09:53:15 2011 +0200
25392 [gi] Handle GVariants from callback return values
25394 Callbacks still use GIArgument, add missing GVariant support for
25397 gi/pygi-argument.c | 6 ++++--
25398 1 file changed, 4 insertions(+), 2 deletions(-)
25400 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
25401 Author: Martin Pitt <martin.pitt@ubuntu.com>
25402 Date: Wed Aug 10 14:11:10 2011 +0200
25404 Handle GVariants for callback arguments
25406 Callbacks still use GIArgument, add missing GVariant support. This
25408 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
25410 gi/pygi-argument.c | 7 +++++++
25411 1 file changed, 7 insertions(+)
25413 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
25414 Author: Laszlo Pandy <lpandy@src.gnome.org>
25415 Date: Mon Aug 8 01:58:10 2011 +0200
25417 [gi] Fix crash: check return value of
25418 _invoke_state_init_from_callable_cache() before continuing.
25420 gi/pygi-invoke.c | 4 +++-
25421 1 file changed, 3 insertions(+), 1 deletion(-)
25423 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
25424 Author: Laszlo Pandy <lpandy@src.gnome.org>
25425 Date: Fri Aug 5 21:03:33 2011 +0200
25427 [gi] Pass gtype as first parameter to vfuncs (instead of using
25430 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
25432 2 files changed, 19 insertions(+), 15 deletions(-)
25434 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
25435 Author: John (J5) Palmieri <johnp@redhat.com>
25436 Date: Mon Jul 18 18:21:51 2011 -0400
25441 codegen/Makefile.am | 33 -
25442 codegen/README.defs | 351 --------
25443 codegen/__init__.py | 16 -
25444 codegen/argtypes.py | 1043 -----------------------
25445 codegen/code-coverage.py | 44 -
25446 codegen/codegen.py | 1722
25447 --------------------------------------
25448 codegen/createdefs.py | 17 -
25449 codegen/definitions.py | 575 -------------
25450 codegen/defsconvert.py | 132 ---
25451 codegen/defsgen.py | 737 ----------------
25452 codegen/defsparser.py | 153 ----
25453 codegen/docextract.py | 461 ----------
25454 codegen/docextract_to_xml.py | 142 ----
25455 codegen/docgen.py | 766 -----------------
25456 codegen/h2def.py | 631 --------------
25457 codegen/mergedefs.py | 26 -
25458 codegen/missingdefs.py | 17 -
25459 codegen/mkskel.py | 89 --
25460 codegen/override.py | 285 -------
25461 codegen/pygobject-codegen-2.0.in | 11 -
25462 codegen/reversewrapper.py | 912 --------------------
25463 codegen/scanvirtuals.py | 54 --
25464 codegen/scmexpr.py | 143 ----
25466 pygobject-2.0-uninstalled.pc.in | 1 -
25467 pygobject-2.0.pc.in | 1 -
25468 27 files changed, 1 insertion(+), 8368 deletions(-)
25470 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
25471 Author: John (J5) Palmieri <johnp@redhat.com>
25472 Date: Mon Jul 18 11:04:58 2011 -0400
25474 remove some left over ifdefs to complete merge of the invoke-rewrite
25477 gi/pygi-cache.h | 2 --
25478 gi/pygi-info.c | 2 --
25479 gi/pygi-private.h | 5 +----
25481 4 files changed, 1 insertion(+), 10 deletions(-)
25483 commit 8c653ec3033fab47c4bb4071b5732a349357141f
25484 Author: John (J5) Palmieri <johnp@redhat.com>
25485 Date: Mon Jul 18 10:59:45 2011 -0400
25487 rename pygi-invoke-ng to pygi-invoke
25489 gi/Makefile.am | 3 ++-
25490 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
25491 2 files changed, 2 insertions(+), 1 deletion(-)
25493 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
25494 Author: John (J5) Palmieri <johnp@redhat.com>
25495 Date: Mon Jul 18 10:56:36 2011 -0400
25497 make invoke-ng the only invoker
25499 configure.ac | 11 -
25500 gi/Makefile.am | 10 +-
25501 gi/pygi-invoke.c | 1030
25502 ------------------------------------------------------
25503 3 files changed, 1 insertion(+), 1050 deletions(-)
25505 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
25506 Merge: 519e556d 917ea2df
25507 Author: John (J5) Palmieri <johnp@redhat.com>
25508 Date: Mon Jul 18 10:45:18 2011 -0400
25510 Merge branch 'master' into invoke-rewrite
25512 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
25513 Merge: bab7e882 38cca3c1
25514 Author: John (J5) Palmieri <johnp@redhat.com>
25515 Date: Mon Jul 18 10:37:20 2011 -0400
25517 Merge branch 'master' into invoke-rewrite
25519 commit bab7e88251bffcd360186c6dedc26be8eb077084
25520 Author: John (J5) Palmieri <johnp@redhat.com>
25521 Date: Mon Jul 18 10:35:10 2011 -0400
25523 split the marshalling routines into two source files
25525 * update copy and paste copyright info to list the correct owner
25527 gi/Makefile.am | 6 +-
25528 gi/pygi-cache.c | 3 +-
25529 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
25530 +----------------------------
25531 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
25532 gi/pygi-marshal-out.c | 767
25533 +++++++++++++++++++++++++++++++
25534 gi/pygi-marshal-out.h | 144 ++++++
25535 6 files changed, 920 insertions(+), 856 deletions(-)
25537 commit 917ea2dfa2d097e563233145003a66b3e4423287
25538 Author: Martin Pitt <martin.pitt@ubuntu.com>
25539 Date: Thu Jul 14 11:21:10 2011 +0200
25541 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
25543 tests/Makefile.am | 1 +
25544 1 file changed, 1 insertion(+)
25546 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
25547 Author: John (J5) Palmieri <johnp@redhat.com>
25548 Date: Wed Jul 13 15:43:02 2011 -0400
25550 [invoke] break out caller_allocates allocating into its own function
25552 gi/pygi-invoke-ng.c | 78
25553 +++++++++++++++++++++++++++++++++--------------------
25554 1 file changed, 49 insertions(+), 29 deletions(-)
25556 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
25557 Author: John (J5) Palmieri <johnp@redhat.com>
25558 Date: Wed Jul 13 15:42:26 2011 -0400
25560 [invoke] missed a bit when removing constructor_class usage
25562 gi/pygi-invoke-ng.c | 2 +-
25563 1 file changed, 1 insertion(+), 1 deletion(-)
25565 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
25566 Author: John (J5) Palmieri <johnp@redhat.com>
25567 Date: Wed Jul 13 15:16:17 2011 -0400
25569 [invoke] don't hold on to the constructor class, just add a TODO
25571 gi/pygi-invoke-ng.c | 11 +++++------
25572 gi/pygi-invoke-state-struct.h | 1 -
25573 2 files changed, 5 insertions(+), 7 deletions(-)
25575 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
25576 Author: Martin Pitt <martin.pitt@ubuntu.com>
25577 Date: Wed Jul 13 10:40:25 2011 +0200
25579 [gi] Port test_properties from static gio to GI Gio
25581 As we ripped out the static gio bindings a while ago, this test case
25583 the system installed gio bindings with Python 2, and now fails
25585 Python 3. Rewrite it to use gi.repository.Gio.
25587 tests/test_properties.py | 38 +++++++++++++++++++-------------------
25588 1 file changed, 19 insertions(+), 19 deletions(-)
25590 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
25591 Author: Martin Pitt <martin.pitt@ubuntu.com>
25592 Date: Wed Jul 13 08:42:22 2011 +0200
25594 [python3] Fix maketrans import
25596 Python3 moved the maketrans() function from the string module to a
25598 This unbreaks gi/module.py for Python 3 again.
25600 gi/module.py | 8 ++++++--
25601 1 file changed, 6 insertions(+), 2 deletions(-)
25603 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
25604 Author: John (J5) Palmieri <johnp@redhat.com>
25605 Date: Fri Jul 8 14:39:22 2011 -0400
25607 [caching] remove all inline compiler flags
25609 gi/pygi-cache.c | 96
25610 ++++++++++++++++++++++++++++-----------------------------
25611 1 file changed, 48 insertions(+), 48 deletions(-)
25613 commit bf7bb79b66ad406063fb443e7452d830c55986ef
25614 Author: John (J5) Palmieri <johnp@redhat.com>
25615 Date: Fri Jul 8 14:35:20 2011 -0400
25617 [caching] refactor function names to be less confusing
25619 gi/pygi-cache.c | 307
25620 +++++++++++++++++++++++++++-----------------------------
25621 1 file changed, 150 insertions(+), 157 deletions(-)
25623 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
25624 Author: John (J5) Palmieri <johnp@redhat.com>
25625 Date: Fri Jul 8 11:24:09 2011 -0400
25627 [overrides] deprecate the use of type keyword MessageDialog
25630 * pygtk used type to determine the "type" of message dialog to
25632 use the proper property name "message_type" since we should not be
25633 overriding a reserved word
25634 * to keep compat with pygtk we check the kwds hash for the key
25636 assign it to message_type while throwing a deprecation warning
25637 * also add a deprication warning when trying to use the depricated
25641 gi/overrides/Gtk.py | 13 ++++++++-----
25642 1 file changed, 8 insertions(+), 5 deletions(-)
25644 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
25645 Author: Martin Pitt <martin.pitt@ubuntu.com>
25646 Date: Fri Jul 8 10:15:53 2011 +0200
25648 gdbus tests: Fix hang if test case fails
25650 In the TestGDBusClient.test_native_calls_async() test case, the main
25652 never quit when the call failed.
25654 tests/test_gdbus.py | 6 ++++--
25655 1 file changed, 4 insertions(+), 2 deletions(-)
25657 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
25658 Author: John (J5) Palmieri <johnp@redhat.com>
25659 Date: Thu Jul 7 19:30:11 2011 -0400
25661 use an enum instead of booleans to denote function type
25663 gi/pygi-cache.c | 85
25664 ++++++++++++++++++++++++++++++-----------------------
25665 gi/pygi-cache.h | 18 +++++++++---
25666 gi/pygi-invoke-ng.c | 8 ++---
25667 3 files changed, 67 insertions(+), 44 deletions(-)
25669 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
25670 Author: John (J5) Palmieri <johnp@redhat.com>
25671 Date: Thu Jul 7 15:18:03 2011 -0400
25673 rename aux arguments to child arguments to make their purpose clearer
25675 gi/pygi-cache.c | 64
25676 ++++++++++++++++++++++++++---------------------------
25677 gi/pygi-cache.h | 29 ++++++++++++++++--------
25678 gi/pygi-invoke-ng.c | 10 ++++-----
25679 gi/pygi-marshal.c | 12 +++++-----
25680 4 files changed, 63 insertions(+), 52 deletions(-)
25682 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
25683 Author: Timo Vanwynsberghe <timovwb@gmail.com>
25684 Date: Thu Jul 7 10:59:08 2011 +0200
25686 Fixed the cairo example
25688 https://bugzilla.gnome.org/show_bug.cgi?id=653844
25690 examples/cairo-demo.py | 6 ++----
25691 1 file changed, 2 insertions(+), 4 deletions(-)
25693 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
25694 Author: Adam Dingle <adam@yorba.org>
25695 Date: Tue Jul 5 14:28:20 2011 -0700
25697 Add override binding for Gtk.ListStore.prepend().
25699 https://bugzilla.gnome.org/show_bug.cgi?id=654056
25701 gi/overrides/Gtk.py | 8 ++++++++
25702 tests/test_overrides.py | 13 ++++++++++++-
25703 2 files changed, 20 insertions(+), 1 deletion(-)
25705 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
25706 Author: Martin Pitt <martin.pitt@ubuntu.com>
25707 Date: Thu Jul 7 13:39:19 2011 +0200
25709 Fix crash in Gtk.TextIter overrides
25711 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
25713 pointers when the search was unsuccessful. Actually check the
25715 value; if it is False return None, just like PyGTK used to.
25717 Thanks to Michael Vogt for discovering this and writing the test case!
25721 -------------- 8< -----------------
25722 from gi.repository import Gtk
25724 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
25725 textview = Gtk.TextView()
25726 buffer = textview.get_buffer()
25727 buffer.set_text("hello world")
25732 iter = buffer.get_start_iter()
25733 end = buffer.get_end_iter()
25734 ret = iter.forward_search("foo",
25735 Gtk.TextSearchFlags.VISIBLE_ONLY,
25737 print "this is my return value"
25739 print "now I crash"
25740 print ret[0].get_offset()
25743 -------------- 8< -----------------
25745 gi/overrides/Gtk.py | 10 ++++++++--
25746 1 file changed, 8 insertions(+), 2 deletions(-)
25748 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
25749 Author: John (J5) Palmieri <johnp@redhat.com>
25750 Date: Tue Jul 5 15:57:23 2011 -0400
25752 use gssize instead of int for arg indexes
25754 gi/pygi-cache.c | 24 ++++++++++++------------
25755 gi/pygi-cache.h | 6 +++---
25756 gi/pygi-invoke-ng.c | 6 +++---
25757 gi/pygi-marshal-cleanup.c | 6 +++---
25758 4 files changed, 21 insertions(+), 21 deletions(-)
25760 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
25761 Author: John (J5) Palmieri <johnp@redhat.com>
25762 Date: Tue Jul 5 14:17:30 2011 -0400
25764 [cache] remove refrence to default value as it is not implemented yet
25766 gi/pygi-cache.h | 1 -
25767 1 file changed, 1 deletion(-)
25769 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
25770 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25771 Date: Thu May 12 18:53:06 2011 +0200
25773 Handle arguments that are flags correctly
25775 https://bugzilla.gnome.org/show_bug.cgi?id=647581
25777 gi/pygi-argument.c | 2 ++
25778 1 file changed, 2 insertions(+)
25780 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
25781 Author: John (J5) Palmieri <johnp@redhat.com>
25782 Date: Fri Jul 1 05:19:15 2011 -0400
25784 correctly initialize the _gi_cairo_functions array to be zero filled
25786 gi/pygi-foreign-cairo.c | 2 +-
25787 1 file changed, 1 insertion(+), 1 deletion(-)
25789 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
25790 Author: John (J5) Palmieri <johnp@redhat.com>
25791 Date: Fri Jul 1 05:19:15 2011 -0400
25793 correctly initialize the _gi_cairo_functions array to be zero filled
25795 gi/pygi-foreign-cairo.c | 2 +-
25796 1 file changed, 1 insertion(+), 1 deletion(-)
25798 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
25799 Author: John (J5) Palmieri <johnp@redhat.com>
25800 Date: Wed Jun 29 18:14:40 2011 -0400
25802 pass in the address of the gerror, not the gerror itself
25804 gi/pygi-argument.c | 2 +-
25805 1 file changed, 1 insertion(+), 1 deletion(-)
25807 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
25808 Author: John (J5) Palmieri <johnp@redhat.com>
25809 Date: Wed Jun 29 18:01:44 2011 -0400
25811 [gi] handle marshalling gerrors arguments for signals
25813 gi/pygi-argument.c | 18 ++++++++++++++++--
25814 1 file changed, 16 insertions(+), 2 deletions(-)
25816 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
25817 Author: John (J5) Palmieri <johnp@redhat.com>
25818 Date: Wed Jun 29 12:12:29 2011 -0400
25820 [gi-invoke-ng] fix NULL check to check before we access the cache
25823 gi/pygi-cache.c | 6 +++---
25824 1 file changed, 3 insertions(+), 3 deletions(-)
25826 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
25827 Author: John (J5) Palmieri <johnp@redhat.com>
25828 Date: Tue Jun 28 18:21:55 2011 -0400
25830 [gi-tests] add test for PyGObject->PyObject TreeModel storage
25832 * make sure we can store a custom GObject as a PyObject inside of
25835 tests/test_overrides.py | 26 +++++++++++++++-----------
25836 1 file changed, 15 insertions(+), 11 deletions(-)
25838 commit b6842e4b2a28733e143d4022864041ca82e91f7a
25839 Author: John (J5) Palmieri <johnp@redhat.com>
25840 Date: Tue Jun 28 18:13:38 2011 -0400
25842 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
25844 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
25847 gi/overrides/Gtk.py | 7 ++++---
25848 gobject/pygtype.c | 7 ++++---
25849 2 files changed, 8 insertions(+), 6 deletions(-)
25851 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
25852 Author: John (J5) Palmieri <johnp@redhat.com>
25853 Date: Tue Jun 28 17:32:29 2011 -0400
25855 [gi-invoke-ng] copy structs when transfer is full for array
25857 gi/pygi-marshal.c | 21 ++++++++++++++++++---
25858 1 file changed, 18 insertions(+), 3 deletions(-)
25860 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
25861 Author: John (J5) Palmieri <johnp@redhat.com>
25862 Date: Tue Jun 28 13:54:48 2011 -0400
25864 [gtk-override] print warning if user imports Gtk 2.0
25866 * this is needed because people file bugs not realizing they are
25868 which is not supported
25870 gi/overrides/Gtk.py | 12 ++++++++++++
25871 1 file changed, 12 insertions(+)
25873 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
25874 Author: John (J5) Palmieri <johnp@redhat.com>
25875 Date: Tue Jun 28 13:08:49 2011 -0400
25877 [gtk-overrides] allow the message_type keyword to be used for
25880 * for pygtk compat we use the type keyword for message type but
25882 the use of message_type because it is more descriptive and does
25884 with a python reserved word
25885 * if you passed message_type into a MessageDialog constructor you
25887 an error because we also convert type to message_type when
25890 * this patch looks to see if message_type was passed in as a
25892 assigns it to type while removing message_type from the keywords
25894 to avoid name clashing
25896 gi/overrides/Gtk.py | 5 +++++
25897 1 file changed, 5 insertions(+)
25899 commit 2aa12267bee91aa696633a0cea2a0accae09250a
25900 Author: Johan Dahlin <jdahlin@litl.com>
25901 Date: Mon Jun 27 10:56:20 2011 -0300
25903 Add support for enums in gobject.property
25905 https://bugzilla.gnome.org/show_bug.cgi?id=653488
25907 gobject/propertyhelper.py | 23 ++++++++++++++++-------
25908 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
25909 2 files changed, 52 insertions(+), 11 deletions(-)
25911 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
25912 Author: Johan Dahlin <jdahlin@litl.com>
25913 Date: Mon Jun 27 10:56:20 2011 -0300
25915 Add support for enums in gobject.property
25917 https://bugzilla.gnome.org/show_bug.cgi?id=653488
25919 gobject/propertyhelper.py | 23 ++++++++++++++++-------
25920 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
25921 2 files changed, 52 insertions(+), 11 deletions(-)
25923 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
25924 Author: John (J5) Palmieri <johnp@redhat.com>
25925 Date: Fri Jun 24 14:17:24 2011 -0400
25927 [gi-invoke-ng] use g_slice for allocating GValues that are caller
25930 gi/pygi-invoke-ng.c | 2 ++
25931 gi/pygi-marshal-cleanup.c | 2 ++
25932 2 files changed, 4 insertions(+)
25934 commit eff65cd2ce490296865441c3c78b7846f380459c
25935 Author: John (J5) Palmieri <johnp@redhat.com>
25936 Date: Fri Jun 24 11:49:05 2011 -0400
25938 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
25941 gi/pygi-marshal.c | 56
25942 +++++++++++++++++++++++++++++++++++++++++++------------
25943 1 file changed, 44 insertions(+), 12 deletions(-)
25945 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
25946 Author: John (J5) Palmieri <johnp@redhat.com>
25947 Date: Wed Jun 22 12:26:39 2011 -0400
25949 [gi-invoke-ng] only cache caller allocates for interfaces as some
25952 gi/pygi-cache.c | 6 ++++--
25953 1 file changed, 4 insertions(+), 2 deletions(-)
25955 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
25956 Author: John (J5) Palmieri <johnp@redhat.com>
25957 Date: Fri Jun 17 17:07:56 2011 -0400
25959 [gi-invoke-ng] handle in pointer array marshalling
25961 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
25962 1 file changed, 22 insertions(+), 6 deletions(-)
25964 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
25965 Author: Alex Eftimie <alex@eftimie.ro>
25966 Date: Fri Jun 10 08:44:04 2011 +0300
25968 Adding GPtrArray tests
25970 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
25971 1 file changed, 42 insertions(+), 1 deletion(-)
25973 commit e32c2be53175014399d89e1e85c9afc6e53c94be
25974 Author: John (J5) Palmieri <johnp@redhat.com>
25975 Date: Fri Jun 17 11:32:28 2011 -0400
25977 [gi-invoke-ng] fix array element offset calculations
25979 * use pointer arithmetic to calculate based on element size instead of
25980 relying on the size of GIArgument
25981 * special case GPtrArrays
25983 gi/pygi-marshal.c | 27 +++++++++------------------
25984 1 file changed, 9 insertions(+), 18 deletions(-)
25986 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
25987 Author: John (J5) Palmieri <johnp@redhat.com>
25988 Date: Wed Jun 15 12:46:03 2011 -0400
25990 [gi] don't clean up arguments that weren't yet processed during in
25993 gi/pygi-marshal-cleanup.c | 2 +-
25994 1 file changed, 1 insertion(+), 1 deletion(-)
25996 commit af7c93ea98b7f492eef265e58c8b3c878805524f
25997 Author: John (J5) Palmieri <johnp@redhat.com>
25998 Date: Wed Jun 15 12:06:47 2011 -0400
26000 [gi-overrides] use new instead of init when constructing a
26001 GLib.VariantBuilder
26003 * init is now skipped in the gir
26005 gi/overrides/GLib.py | 18 ++++++++----------
26006 tests/test_overrides.py | 6 ++----
26007 2 files changed, 10 insertions(+), 14 deletions(-)
26009 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
26010 Author: John (J5) Palmieri <johnp@redhat.com>
26011 Date: Wed Jun 15 11:42:45 2011 -0400
26013 [gi-invoke-ng] actual code to import overrides
26015 gi/pygi-cache.c | 7 +------
26016 1 file changed, 1 insertion(+), 6 deletions(-)
26018 commit 902575d857beffb14e56821ea8a52f705385f6bb
26019 Author: John (J5) Palmieri <johnp@redhat.com>
26020 Date: Wed Jun 15 11:25:10 2011 -0400
26022 [gi-invoke-ng] import pytypes so we get overrides
26024 gi/pygi-marshal.c | 4 +++-
26025 1 file changed, 3 insertions(+), 1 deletion(-)
26027 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
26028 Author: John (J5) Palmieri <johnp@redhat.com>
26029 Date: Tue Jun 14 16:13:37 2011 -0400
26031 [gi-invoke-ng] handle gvariants now that they are not foreign
26033 gi/pygi-marshal.c | 7 ++++++-
26034 1 file changed, 6 insertions(+), 1 deletion(-)
26036 commit c1f5651062687e800a52b5d8d16c88c0acde2934
26037 Author: John (J5) Palmieri <johnp@redhat.com>
26038 Date: Tue Jun 14 16:12:43 2011 -0400
26040 [gi-invoke-ng] do not try to clean up NULL arguments
26042 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
26043 1 file changed, 16 insertions(+), 8 deletions(-)
26045 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
26046 Merge: 499b68d6 1491f622
26047 Author: John (J5) Palmieri <johnp@redhat.com>
26048 Date: Mon Jun 13 17:28:23 2011 -0400
26050 Merge branch 'master' into invoke-rewrite
26052 commit 499b68d6c9040cffc6e43dc87789d68446564a92
26053 Merge: 4c9bcedb 426c7109
26054 Author: John (J5) Palmieri <johnp@redhat.com>
26055 Date: Mon Jun 13 17:26:37 2011 -0400
26057 Merge branch 'master' into invoke-rewrite
26059 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
26060 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26061 Date: Fri Jun 10 14:01:32 2011 +0200
26063 closure: avoid double free crash
26065 gi/pygi-closure.c | 12 ++++--------
26066 1 file changed, 4 insertions(+), 8 deletions(-)
26068 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
26069 Author: Jason Siefken <siefkenj@gmail.com>
26070 Date: Fri Jun 3 23:11:17 2011 -0700
26072 Added __eq__ method for Gdk.Color and Gdk.RGBA
26074 Call Gdk.Color.equal and Gdk.RGBA.equal when
26075 == equality testing is used.
26077 gi/overrides/Gdk.py | 6 ++++++
26078 tests/test_overrides.py | 4 ++++
26079 2 files changed, 10 insertions(+)
26081 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
26082 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26083 Date: Wed Jun 8 19:13:48 2011 +0200
26085 closure: Check the out arg is not null. Fixes bug #651812
26087 gi/pygi-closure.c | 3 +++
26088 1 file changed, 3 insertions(+)
26090 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
26091 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26092 Date: Wed Jun 8 09:47:20 2011 +0200
26094 Use constants instead of literals
26096 tests/test_overrides.py | 8 ++++----
26097 1 file changed, 4 insertions(+), 4 deletions(-)
26099 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
26100 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26101 Date: Mon Jun 6 19:07:22 2011 +0200
26103 GVariant has now a GType, take that into account
26105 https://bugzilla.gnome.org/show_bug.cgi?id=647509
26107 gi/pygi-argument.c | 8 ++++----
26108 gi/pygi-invoke.c | 20 +++++++++++++-------
26109 2 files changed, 17 insertions(+), 11 deletions(-)
26111 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
26112 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26113 Date: Mon Jun 6 19:05:07 2011 +0200
26115 GVariantType is a boxed struct
26117 https://bugzilla.gnome.org/show_bug.cgi?id=647509
26119 gi/gimodule.c | 2 +-
26120 1 file changed, 1 insertion(+), 1 deletion(-)
26122 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
26123 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26124 Date: Mon Jun 6 17:38:21 2011 +0200
26126 Use _gi.Struct to wrap fundamentals
26128 https://bugzilla.gnome.org/show_bug.cgi?id=647509
26130 gi/module.py | 4 +++-
26131 1 file changed, 3 insertions(+), 1 deletion(-)
26133 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
26134 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
26135 Date: Mon Jun 6 17:24:28 2011 +0200
26137 Merge gi/HACKING into /HACKING
26139 HACKING | 16 ++++++++++++++++
26140 gi/HACKING | 26 --------------------------
26141 2 files changed, 16 insertions(+), 26 deletions(-)
26143 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
26144 Author: Daniel Drake <dsd@laptop.org>
26145 Date: Fri Jun 3 16:59:15 2011 +0100
26147 Fix GC-related crash during PyGObject deallocation
26149 Python-2.7.1's GC source has the following comment:
26151 /* Python's cyclic gc should never see an incoming refcount
26152 * of 0: if something decref'ed to 0, it should have been
26153 * deallocated immediately at that time.
26154 * Possible cause (if the assert triggers): a tp_dealloc
26155 * routine left a gc-aware object tracked during its teardown
26156 * phase, and did something-- or allowed something to
26158 * that called back into Python. gc can trigger then, and may
26159 * see the still-tracked dying object. Before this assert
26160 * was added, such mistakes went on to allow gc to try to
26161 * delete the object again. In a debug build, that caused
26162 * a mysterious segfault, when _Py_ForgetReference tried
26163 * to remove the object from the doubly-linked list of all
26164 * objects a second time. In a release build, an actual
26165 * double deallocation occurred, which leads to corruption
26166 * of the allocator's internal bookkeeping pointers. That's
26167 * so serious that maybe this should be a release-build
26168 * check instead of an assert?
26171 As shown in a backtrace at
26172 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
26174 this exact mistake. Before untracking its object, pygobject_dealloc
26175 calls PyObject_ClearWeakRefs() which can call back into python, create
26176 new allocations, and trigger the GC.
26178 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
26180 crash on a regular basis while interacting with widgets or launching
26183 Fix this by untracking the object early. Also fix the same issue
26185 in the GSource wrapper.
26187 Thanks to Bernie Innocenti for initial diagnosis.
26189 glib/pygsource.c | 6 ++++--
26190 gobject/pygobject.c | 8 +++++++-
26191 2 files changed, 11 insertions(+), 3 deletions(-)
26193 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
26194 Author: John (J5) Palmieri <johnp@redhat.com>
26195 Date: Tue May 31 16:59:41 2011 -0400
26197 [gi-invoke-ng] enable invoke-ng by default
26199 configure.ac | 8 ++++----
26200 1 file changed, 4 insertions(+), 4 deletions(-)
26202 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
26203 Author: John (J5) Palmieri <johnp@redhat.com>
26204 Date: Tue May 31 16:37:21 2011 -0400
26206 [gi-invoke-ng] add code to clean up when input values fail to marshal
26208 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
26209 1 file changed, 25 insertions(+), 5 deletions(-)
26211 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
26212 Author: John (J5) Palmieri <johnp@redhat.com>
26213 Date: Tue May 31 16:01:03 2011 -0400
26215 [gi-invoke-ng] add hash cleanup routines
26217 gi/pygi-cache.c | 2 ++
26218 gi/pygi-marshal-cleanup.c | 64
26219 +++++++++++++++++++++++++++++++++++++++++++++++
26220 gi/pygi-marshal-cleanup.h | 10 ++++++--
26221 3 files changed, 74 insertions(+), 2 deletions(-)
26223 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
26224 Author: John (J5) Palmieri <johnp@redhat.com>
26225 Date: Tue May 31 14:47:30 2011 -0400
26227 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
26229 gi/pygi-marshal-cleanup.c | 3 ++-
26230 1 file changed, 2 insertions(+), 1 deletion(-)
26232 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
26233 Author: John (J5) Palmieri <johnp@redhat.com>
26234 Date: Tue May 31 14:40:49 2011 -0400
26236 [gi-invoke-ng] add list cleanup routines
26238 gi/pygi-cache.c | 8 ++---
26239 gi/pygi-marshal-cleanup.c | 84
26240 +++++++++++++++++++++++++++++++++++++++++++++++
26241 gi/pygi-marshal-cleanup.h | 8 +++++
26242 3 files changed, 96 insertions(+), 4 deletions(-)
26244 commit 2e542c327cd52c1f77af28905557dd25c64175d8
26245 Author: John (J5) Palmieri <johnp@redhat.com>
26246 Date: Thu May 26 16:10:13 2011 -0400
26250 gi/pygi-marshal.c | 8 ++++----
26251 1 file changed, 4 insertions(+), 4 deletions(-)
26253 commit 601aec11c49e821fe97dd30a2187fe3c75844712
26254 Author: John (J5) Palmieri <johnp@redhat.com>
26255 Date: Thu May 26 16:09:38 2011 -0400
26257 [gi-invoke-ng] add out array cleanup
26259 gi/pygi-cache.c | 2 +-
26260 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
26261 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
26262 3 files changed, 56 insertions(+), 7 deletions(-)
26264 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
26265 Author: John (J5) Palmieri <johnp@redhat.com>
26266 Date: Thu May 26 13:22:38 2011 -0400
26268 [gi-invoke-ng] do not allocate null terminator for garray
26270 * We are simply setting our own array so we don't want any allocate
26273 gi/pygi-marshal.c | 2 +-
26274 1 file changed, 1 insertion(+), 1 deletion(-)
26276 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
26277 Author: John (J5) Palmieri <johnp@redhat.com>
26278 Date: Thu May 26 13:21:55 2011 -0400
26280 [gi-invoke-ng] add array cleanup for in arrays
26282 gi/pygi-cache.c | 2 +-
26283 gi/pygi-marshal-cleanup.c | 72
26284 ++++++++++++++++++++++++++++++++++++++++++++++-
26285 gi/pygi-marshal-cleanup.h | 9 ++++++
26286 gi/pygi-marshal.c | 13 +++++++--
26287 4 files changed, 91 insertions(+), 5 deletions(-)
26289 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
26290 Author: John (J5) Palmieri <johnp@redhat.com>
26291 Date: Mon May 23 17:06:30 2011 -0400
26293 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
26295 gi/pygi-invoke-ng.c | 7 +------
26296 gi/pygi-invoke-state-struct.h | 14 --------------
26297 2 files changed, 1 insertion(+), 20 deletions(-)
26299 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
26300 Author: John (J5) Palmieri <johnp@redhat.com>
26301 Date: Mon May 23 16:59:57 2011 -0400
26303 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
26306 * cleanup now has symmetry with setup so there are now in and out
26308 for each type that needs to be cleaned up
26309 * no longer use state machine but instead call different cleanup
26311 different stages of invoke, making it easier to understand what
26315 gi/pygi-cache.c | 19 ++-
26316 gi/pygi-cache.h | 7 +-
26317 gi/pygi-invoke-ng.c | 10 +-
26318 gi/pygi-invoke-state-struct.h | 2 +
26319 gi/pygi-marshal-cleanup.c | 301
26320 +++++++++++++++++-------------------------
26321 gi/pygi-marshal-cleanup.h | 45 ++++---
26322 gi/pygi-marshal.c | 15 +--
26323 7 files changed, 174 insertions(+), 225 deletions(-)
26325 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
26326 Author: John (J5) Palmieri <johnp@redhat.com>
26327 Date: Thu May 12 17:29:20 2011 -0400
26329 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
26331 * The state machine concept of cleaning up was getting a bit messy.
26332 It was like we took a big bowl of spaghetti code and dumped it.
26333 * Now we call specific cleanup functions at the point of failure (or
26334 successful completion of a marshalling stage)
26336 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
26337 gi/pygi-marshal-cleanup.c | 72
26338 +++++++++++++++++++++++++++++++++++++++++++++++
26339 gi/pygi-marshal-cleanup.h | 14 +++++++++
26340 3 files changed, 135 insertions(+), 10 deletions(-)
26342 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
26343 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26344 Date: Thu May 12 11:53:40 2011 -0400
26346 Doc Extractor: Correct the logic of the --no-since option.
26348 * codegen/docextract.py (process_final_sections): If the
26350 option has been specified and a "Since:" is encountered
26352 processing of the final sections, simply don't append the
26354 instead of reading the next line. This preserves the logical
26358 codegen/docextract.py | 4 ++--
26359 1 file changed, 2 insertions(+), 2 deletions(-)
26361 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
26362 Author: José Alburquerque <jaalburqu@svn.gnome.org>
26363 Date: Mon May 9 17:32:09 2011 -0400
26365 Doc Extractor: Add a --no-since option.
26367 * codegen/docextract.py:
26368 * codegen/docextract_to_xml.py: Modified so that if a
26370 option is specified at the command line, the "Since:
26372 the gtkdoc function block is omitted. This is useful for
26374 such as gstreamermm where this information would not be
26376 as the C API is still unstable.
26378 codegen/docextract.py | 15 ++++++++++++++-
26379 codegen/docextract_to_xml.py | 9 ++++++---
26380 2 files changed, 20 insertions(+), 4 deletions(-)
26382 commit 4f615c6e300d6f2d7551b640efa301060206ab58
26383 Author: John (J5) Palmieri <johnp@redhat.com>
26384 Date: Thu May 5 14:04:34 2011 -0400
26386 [gi-invoke-ng] tweek cleanup routines
26388 gi/pygi-cache.c | 5 +++
26389 gi/pygi-marshal-cleanup.c | 87
26390 +++++++++++++++++++++++++++++++++++------------
26391 gi/pygi-marshal-cleanup.h | 6 ++--
26392 gi/pygi-marshal.c | 11 ++----
26393 4 files changed, 76 insertions(+), 33 deletions(-)
26395 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
26396 Author: Martin Pitt <martin.pitt@ubuntu.com>
26397 Date: Mon May 2 15:49:52 2011 +0200
26399 Fix symbol names to be locale independent
26401 We currently use upper() to present enum values, which are usually
26403 lower case in the typelib, in upper cases. However, upper() is locale
26404 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
26405 because Turkish has some extra variants of "i".
26407 Use a local ASCII-only translate() call instead to avoid this. Thanks
26409 Philippsen for the idea!
26411 This also adds a test locale "te_ST@nouppera" which defines
26412 toupper('a') == 'a'.
26413 Run the Enum tests under this locale to reproduce the bug and verify
26416 https://bugzilla.gnome.org/show_bug.cgi?id=649165
26418 gi/module.py | 9 ++++++++-
26419 tests/te_ST@nouppera | 50
26420 ++++++++++++++++++++++++++++++++++++++++++++++++++
26421 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
26422 3 files changed, 88 insertions(+), 1 deletion(-)
26424 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
26425 Author: Martin Pitt <martin.pitt@ubuntu.com>
26426 Date: Wed May 4 08:35:27 2011 +0200
26428 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
26430 pygi-convert.sh | 1 +
26431 1 file changed, 1 insertion(+)
26433 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
26434 Author: John (J5) Palmieri <johnp@redhat.com>
26435 Date: Fri Apr 29 17:41:08 2011 -0400
26437 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
26439 gi/pygi-cache.c | 2 ++
26440 1 file changed, 2 insertions(+)
26442 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
26443 Author: John (J5) Palmieri <johnp@redhat.com>
26444 Date: Fri Apr 29 17:40:13 2011 -0400
26446 [gi-invoke-ng] handle caller allocates cleanup
26448 gi/pygi-invoke-ng.c | 5 ++-
26449 gi/pygi-marshal-cleanup.c | 104
26450 ++++++++++++++++++++++++++++++++++++----------
26451 gi/pygi-marshal-cleanup.h | 7 ++--
26452 3 files changed, 90 insertions(+), 26 deletions(-)
26454 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
26455 Author: John (J5) Palmieri <johnp@redhat.com>
26456 Date: Thu Apr 28 19:16:02 2011 -0400
26458 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
26461 gi/pygi-cache.c | 15 ++-----------
26462 gi/pygi-invoke-ng.c | 8 +++----
26463 gi/pygi-invoke-state-struct.h | 2 ++
26464 gi/pygi-marshal-cleanup.c | 51
26465 ++++++++++++++++++++++++++++++++++++++++++-
26466 gi/pygi-marshal-cleanup.h | 3 +++
26467 5 files changed, 60 insertions(+), 19 deletions(-)
26469 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
26470 Author: John (J5) Palmieri <johnp@redhat.com>
26471 Date: Wed Apr 27 15:47:19 2011 -0400
26473 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
26476 * PyCObject is deprecated and pycairo 1.10.0 is first release to
26479 configure.ac | 15 +++++++++++----
26480 gi/pygi-foreign-cairo.c | 2 +-
26481 2 files changed, 12 insertions(+), 5 deletions(-)
26483 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
26484 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26485 Date: Thu Apr 21 16:52:20 2011 +0200
26487 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
26489 gi/pygi-foreign-cairo.c | 7 ++++++-
26490 1 file changed, 6 insertions(+), 1 deletion(-)
26492 commit 3e933784df423757e591d703614cb700adb0bbe0
26493 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26494 Date: Mon Apr 18 18:36:25 2011 +0200
26498 pygobject.doap | 15 +++++++++++++++
26499 1 file changed, 15 insertions(+)
26501 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
26502 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26503 Date: Sat Apr 16 16:02:05 2011 +0200
26505 [gi] Don't create variant twice
26507 gi/overrides/GLib.py | 2 +-
26508 1 file changed, 1 insertion(+), 1 deletion(-)
26510 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
26511 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26512 Date: Fri Apr 15 16:14:43 2011 +0200
26514 pygi-convert.sh: Make sure the uppercase GObject module is imported
26515 instead of the lowercase
26517 https://bugzilla.gnome.org/show_bug.cgi?id=647736
26519 pygi-convert.sh | 1 +
26520 1 file changed, 1 insertion(+)
26522 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
26523 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26524 Date: Fri Apr 15 15:58:53 2011 +0200
26526 [gi] Removed hack to avoid using GLib.Variant.new_variant.
26528 The bug in the annotations of GLib is fixed now.
26529 https://bugzilla.gnome.org/show_bug.cgi?id=639952
26530 https://bugzilla.gnome.org/show_bug.cgi?id=647796
26532 gi/overrides/GLib.py | 14 +-------------
26533 1 file changed, 1 insertion(+), 13 deletions(-)
26535 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
26536 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26537 Date: Fri Apr 15 15:58:31 2011 +0200
26539 [gi] Added additional test case for GVariant handling
26541 tests/test_overrides.py | 15 +++++++++++++++
26542 1 file changed, 15 insertions(+)
26544 commit 138df2778543409752e229a09828a805f68a420d
26545 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26546 Date: Mon Apr 11 18:34:31 2011 +0200
26548 [gi] Added support for GVariant arguments
26550 This is required in order for the "g-signal" signal of GDBusProxy
26551 to work properly and thus to properly receive DBus signals with any
26554 https://bugzilla.gnome.org/show_bug.cgi?id=647477
26556 gi/pygi-argument.c | 2 ++
26557 1 file changed, 2 insertions(+)
26559 commit 985f239d891c7697d76ccecb797b189669ae6ee1
26560 Author: John (J5) Palmieri <johnp@redhat.com>
26561 Date: Tue Mar 22 18:46:28 2011 -0400
26563 fix static ABI for setting string gvalues from python objects
26565 * the static bindings used to be able to set a string gvalue to
26567 object that implemented __str__, for instance when setting a
26569 * this restores that code while still keeping unicode and python 3
26572 gobject/pygtype.c | 28 +++++++++++++++++++---------
26573 tests/test_properties.py | 8 ++++++++
26574 2 files changed, 27 insertions(+), 9 deletions(-)
26576 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
26577 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26578 Date: Tue Mar 22 20:47:51 2011 +0100
26580 dsextras.py: ensure eol characters are preserved when writing template
26581 files (so \n does not become \r\n)
26584 1 file changed, 1 insertion(+), 1 deletion(-)
26586 commit 629d267478982c426ba61a639d5c9603fed856e6
26587 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26588 Date: Tue Mar 22 11:35:44 2011 +0100
26590 dsextras.py: remove \r as wel as \n character
26593 1 file changed, 1 insertion(+), 1 deletion(-)
26595 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
26596 Author: John (J5) Palmieri <johnp@redhat.com>
26597 Date: Wed Apr 27 15:47:19 2011 -0400
26599 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
26602 * PyCObject is deprecated and pycairo 1.10.0 is first release to
26605 configure.ac | 15 +++++++++++----
26606 gi/pygi-foreign-cairo.c | 2 +-
26607 2 files changed, 12 insertions(+), 5 deletions(-)
26609 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
26610 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26611 Date: Thu Apr 21 16:52:20 2011 +0200
26613 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
26615 gi/pygi-foreign-cairo.c | 7 ++++++-
26616 1 file changed, 6 insertions(+), 1 deletion(-)
26618 commit 91ec337359720839862d3f5a8a0ea98f760a0752
26619 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26620 Date: Mon Apr 18 18:36:25 2011 +0200
26624 pygobject.doap | 15 +++++++++++++++
26625 1 file changed, 15 insertions(+)
26627 commit 05c766044c83340c44564d0097514bfc1d1d9df7
26628 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26629 Date: Sat Apr 16 16:02:05 2011 +0200
26631 [gi] Don't create variant twice
26633 gi/overrides/GLib.py | 2 +-
26634 1 file changed, 1 insertion(+), 1 deletion(-)
26636 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
26637 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26638 Date: Fri Apr 15 16:14:43 2011 +0200
26640 pygi-convert.sh: Make sure the uppercase GObject module is imported
26641 instead of the lowercase
26643 https://bugzilla.gnome.org/show_bug.cgi?id=647736
26645 pygi-convert.sh | 1 +
26646 1 file changed, 1 insertion(+)
26648 commit af31729573de24161ee90563e5738187c749783c
26649 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26650 Date: Fri Apr 15 15:58:53 2011 +0200
26652 [gi] Removed hack to avoid using GLib.Variant.new_variant.
26654 The bug in the annotations of GLib is fixed now.
26655 https://bugzilla.gnome.org/show_bug.cgi?id=639952
26656 https://bugzilla.gnome.org/show_bug.cgi?id=647796
26658 gi/overrides/GLib.py | 14 +-------------
26659 1 file changed, 1 insertion(+), 13 deletions(-)
26661 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
26662 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26663 Date: Fri Apr 15 15:58:31 2011 +0200
26665 [gi] Added additional test case for GVariant handling
26667 tests/test_overrides.py | 15 +++++++++++++++
26668 1 file changed, 15 insertions(+)
26670 commit 65aa040e86d94ee6bb227a2bce09668b60208027
26671 Author: John (J5) Palmieri <johnp@redhat.com>
26672 Date: Tue Apr 12 14:51:35 2011 -0400
26674 [gi-invoke-ng] fix prototype
26676 gi/pygi-cache.h | 2 +-
26677 1 file changed, 1 insertion(+), 1 deletion(-)
26679 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
26680 Author: John (J5) Palmieri <johnp@redhat.com>
26681 Date: Tue Apr 12 14:48:16 2011 -0400
26683 [gi-invoke-ng] create new framework for cleaning up args
26685 * we now have a state machine so we know what point in the marshalling
26687 we are and which args need to be cleaned up
26688 * call the cleanup functions after invoking the gi callable, after
26690 the out parameters and at any time an error occures
26692 gi/Makefile.am | 4 ++-
26693 gi/pygi-cache.c | 25 +++++++------
26694 gi/pygi-cache.h | 5 ++-
26695 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
26696 gi/pygi-invoke-state-struct.h | 13 +++++++
26697 gi/pygi-marshal-cleanup.c | 81
26698 +++++++++++++++++++++++++++++++++++++++++++
26699 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
26700 gi/pygi-marshal.c | 1 +
26701 8 files changed, 187 insertions(+), 19 deletions(-)
26703 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
26704 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26705 Date: Mon Apr 11 18:34:31 2011 +0200
26707 [gi] Added support for GVariant arguments
26709 This is required in order for the "g-signal" signal of GDBusProxy
26710 to work properly and thus to properly receive DBus signals with any
26713 https://bugzilla.gnome.org/show_bug.cgi?id=647477
26715 gi/pygi-argument.c | 2 ++
26716 1 file changed, 2 insertions(+)
26718 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
26719 Author: John (J5) Palmieri <johnp@redhat.com>
26720 Date: Wed Mar 30 16:40:31 2011 -0400
26722 [gi-invoke-ng] fix marshal header that is no longer part of
26725 gi/pygi-marshal.h | 8 ++++----
26726 1 file changed, 4 insertions(+), 4 deletions(-)
26728 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
26729 Author: John (J5) Palmieri <johnp@redhat.com>
26730 Date: Wed Mar 30 15:53:13 2011 -0400
26732 [gi-invoke-ng] code style space fixes
26734 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
26735 gi/pygi-invoke-ng.c | 145 +++++++-------
26736 gi/pygi-marshal.c | 565
26737 ++++++++++++++++++++++++++--------------------------
26738 3 files changed, 566 insertions(+), 564 deletions(-)
26740 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
26741 Author: John (J5) Palmieri <johnp@redhat.com>
26742 Date: Tue Mar 29 16:54:44 2011 -0400
26744 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
26746 gi/pygi-invoke-ng.c | 1 -
26747 1 file changed, 1 deletion(-)
26749 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
26750 Author: John (J5) Palmieri <johnp@redhat.com>
26751 Date: Tue Mar 29 15:23:06 2011 -0400
26753 [gi-invoke-ng] return None when appropriate so we don't crash
26755 gi/pygi-marshal.c | 18 +++++++++++++++++-
26756 1 file changed, 17 insertions(+), 1 deletion(-)
26758 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
26759 Author: John (J5) Palmieri <johnp@redhat.com>
26760 Date: Tue Mar 29 15:21:41 2011 -0400
26762 [gi-invoke-ng] fix aux value caching
26764 gi/pygi-cache.c | 15 ++++++++++-----
26765 1 file changed, 10 insertions(+), 5 deletions(-)
26767 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
26768 Author: John (J5) Palmieri <johnp@redhat.com>
26769 Date: Mon Mar 28 20:25:46 2011 -0400
26771 [gi-invoke-ng] backport handling flags with no gtype
26773 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
26774 1 file changed, 24 insertions(+), 1 deletion(-)
26776 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
26777 Author: John (J5) Palmieri <johnp@redhat.com>
26778 Date: Mon Mar 28 18:32:00 2011 -0400
26780 [gi-invoke-ng] backport raw gvalue handling
26782 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
26783 1 file changed, 18 insertions(+), 5 deletions(-)
26785 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
26786 Author: John (J5) Palmieri <johnp@redhat.com>
26787 Date: Mon Mar 28 18:30:31 2011 -0400
26789 [gi-invoke-ng] marshal instances seperately since they differ slightly
26792 gi/pygi-cache.c | 2 +-
26793 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
26794 2 files changed, 39 insertions(+), 1 deletion(-)
26796 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
26797 Author: John (J5) Palmieri <johnp@redhat.com>
26798 Date: Mon Mar 28 18:26:09 2011 -0400
26800 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
26802 gi/pygi-cache.c | 392
26803 +++++++++++++++++++++++++++-------------------------
26804 gi/pygi-cache.h | 12 +-
26805 gi/pygi-info.c | 2 +-
26806 gi/pygi-invoke-ng.c | 40 +++---
26807 gi/pygi-marshal.c | 140 +++++++++----------
26808 gi/pygi-marshal.h | 159 +++++++++------------
26810 7 files changed, 362 insertions(+), 385 deletions(-)
26812 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
26813 Author: John (J5) Palmieri <johnp@redhat.com>
26814 Date: Mon Mar 28 15:01:12 2011 -0400
26816 [gi-invoke-rewrite] backport glib error handling
26818 gi/pygi-invoke-ng.c | 14 ++++++--------
26819 1 file changed, 6 insertions(+), 8 deletions(-)
26821 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
26822 Author: John (J5) Palmieri <johnp@redhat.com>
26823 Date: Fri Mar 25 18:48:42 2011 -0400
26825 [gi-invoke-ng] backport closure passing from invoke
26827 gi/pygi-marshal.c | 13 ++++++++++---
26828 1 file changed, 10 insertions(+), 3 deletions(-)
26830 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
26831 Author: John (J5) Palmieri <johnp@redhat.com>
26832 Date: Fri Mar 25 18:47:36 2011 -0400
26834 [gi-invoke-ng] handle vfuncs and fix cosntrutors
26836 gi/pygi-cache.c | 9 +++++++
26837 gi/pygi-cache.h | 2 ++
26838 gi/pygi-invoke-ng.c | 56
26839 ++++++++++++++++++++++++++++++++-----------
26840 gi/pygi-invoke-state-struct.h | 2 ++
26841 4 files changed, 55 insertions(+), 14 deletions(-)
26843 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
26844 Author: John (J5) Palmieri <johnp@redhat.com>
26845 Date: Fri Mar 25 18:39:06 2011 -0400
26847 [gi-invoke-ng] handle foreign types correctly
26849 gi/pygi-cache.c | 22 ++++++----------------
26850 gi/pygi-marshal.c | 3 +++
26851 2 files changed, 9 insertions(+), 16 deletions(-)
26853 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
26854 Author: John (J5) Palmieri <johnp@redhat.com>
26855 Date: Fri Mar 25 13:14:01 2011 -0400
26857 [gi] remove the class parameter from the argument list of constructors
26859 * constructors pass in their class to be constructed. Since we
26861 and g_object_new to do the construction we ignore this for now but
26862 keep it around in the state for future use.
26864 gi/pygi-invoke-ng.c | 46
26865 +++++++++++++++++++++++++++++++++++++------
26866 gi/pygi-invoke-state-struct.h | 1 +
26867 2 files changed, 41 insertions(+), 6 deletions(-)
26869 commit 0534eb0e843cdf09611143da184052f7e549e4dc
26870 Author: John (J5) Palmieri <johnp@redhat.com>
26871 Date: Tue Mar 22 18:46:28 2011 -0400
26873 fix static ABI for setting string gvalues from python objects
26875 * the static bindings used to be able to set a string gvalue to
26877 object that implemented __str__, for instance when setting a
26879 * this restores that code while still keeping unicode and python 3
26882 gobject/pygtype.c | 28 +++++++++++++++++++---------
26883 tests/test_properties.py | 8 ++++++++
26884 2 files changed, 27 insertions(+), 9 deletions(-)
26886 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
26887 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26888 Date: Tue Mar 22 20:47:51 2011 +0100
26890 dsextras.py: ensure eol characters are preserved when writing template
26891 files (so \n does not become \r\n)
26894 1 file changed, 1 insertion(+), 1 deletion(-)
26896 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
26897 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26898 Date: Tue Mar 22 11:35:44 2011 +0100
26900 dsextras.py: remove \r as wel as \n character
26903 1 file changed, 1 insertion(+), 1 deletion(-)
26905 commit 86c436978c933f6ebe17627abe98325ce66f6baa
26906 Author: John (J5) Palmieri <johnp@redhat.com>
26907 Date: Tue Mar 22 16:13:58 2011 -0400
26909 [gi] make new invoke-ng codepath compile correctly
26912 gi/Makefile.am | 5 +-
26913 gi/pygi-cache.c | 2 +-
26914 gi/pygi-invoke-ng.c | 841 ----------------------
26915 gi/pygi-marshal.c | 1962
26916 +--------------------------------------------------
26917 gi/pygi-private.h | 4 +-
26918 6 files changed, 9 insertions(+), 2809 deletions(-)
26920 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
26921 Author: John (J5) Palmieri <johnp@redhat.com>
26922 Date: Tue Mar 22 15:40:02 2011 -0400
26924 [gi] conditionalize invoke code paths
26926 configure.ac | 7 +++++++
26927 gi/Makefile.am | 20 +++++++++++++++-----
26928 gi/pygi-cache.h | 2 ++
26929 gi/pygi-info.c | 4 +++-
26930 gi/pygi-private.h | 9 +++++++--
26932 6 files changed, 37 insertions(+), 9 deletions(-)
26934 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
26935 Author: John (J5) Palmieri <johnp@redhat.com>
26936 Date: Tue Mar 22 15:37:24 2011 -0400
26938 [gi] revert back to the type.py from master
26940 gi/types.py | 21 +++++++++++++++------
26941 1 file changed, 15 insertions(+), 6 deletions(-)
26943 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
26944 Author: John (J5) Palmieri <johnp@redhat.com>
26945 Date: Tue Mar 22 14:46:29 2011 -0400
26947 [gi] revert pygi-argument.h and move the invoke-ng code to
26950 gi/pygi-argument.h | 268 +-----------------------------------------
26951 gi/pygi-marshal.h | 336
26952 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26953 2 files changed, 337 insertions(+), 267 deletions(-)
26955 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
26956 Merge: 7332a1b9 01596a9b
26957 Author: John (J5) Palmieri <johnp@redhat.com>
26958 Date: Tue Mar 22 13:34:36 2011 -0400
26960 Merge branch 'master' into invoke-rewrite
26965 gi/pygi-foreign-cairo.c
26966 gi/pygi-foreign-gvariant.c
26967 gi/pygi-foreign-gvariant.h
26973 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
26974 Author: John (J5) Palmieri <johnp@redhat.com>
26975 Date: Tue Mar 22 13:20:54 2011 -0400
26977 [gi] foreign types now take interface infos instead of type infos
26979 * this is a prep for the invoke-rewrite branch
26980 * when marshalling foreign structs we may not have the type info but
26981 we will always have the interface info to pass
26982 * this simplifies the code because we were simply converting the
26983 type info back to an interface info anyway so there is less
26984 refcounting to keep track of
26985 * also fixes a bug where we were leaking PyNone ref counts
26987 gi/pygi-argument.c | 4 ++--
26988 gi/pygi-foreign-cairo.c | 16 ++++++++--------
26989 gi/pygi-foreign-gvariant.c | 12 ++++++------
26990 gi/pygi-foreign.c | 32 +++++++++++++-------------------
26991 gi/pygi-foreign.h | 8 ++++----
26992 gi/pygi-invoke.c | 6 +++---
26993 gi/pygi.h | 12 ++++++------
26994 7 files changed, 42 insertions(+), 48 deletions(-)
26996 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
26997 Author: Martin Pitt <martin.pitt@ubuntu.com>
26998 Date: Tue Mar 22 15:04:01 2011 +0100
27000 Fix GSchema tests for separate build tree
27002 When using a separate build tree, the compiled GSettings schema will
27004 build tree, but as the test scripts are only in the source tree they
27006 the compiled schema. Pass the build dir as environment variable and
27008 over test_overrides.py's directory.
27010 tests/Makefile.am | 3 ++-
27011 tests/test_overrides.py | 4 +++-
27012 2 files changed, 5 insertions(+), 2 deletions(-)
27014 commit 7332a1b99775519fdc5500cab6628b713e946a8c
27015 Author: John (J5) Palmieri <johnp@redhat.com>
27016 Date: Mon Mar 21 19:03:29 2011 -0400
27018 [gi] start of merge from master
27020 * move some of the modified files that will cause merge conflicts
27022 own, nonconflicting files
27023 * copy the old files out of master
27025 gi/pygi-argument.c | 2101 +++------------------------
27026 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
27027 gi/pygi-invoke.c | 421 ++----
27028 gi/pygi-marshal.c | 3916
27029 +++++++++++++++++++++++++++++++++++++++++++++++++++
27030 4 files changed, 5389 insertions(+), 2228 deletions(-)
27032 commit 62b49dae97441953452d097cb1751df14302547a
27033 Author: John (J5) Palmieri <johnp@redhat.com>
27034 Date: Wed Mar 16 17:34:18 2011 -0400
27036 [gi] marshal raw closures
27038 * before we were able to marshal python callables into methods
27040 GClosures but we had no way to take a GClosure returned from one
27041 method and pass it to another - this enables that usecase
27043 https://bugzilla.gnome.org/show_bug.cgi?id=644757
27045 gi/pygi-argument.c | 17 ++++++++++-------
27046 tests/test_gi.py | 4 ++++
27047 2 files changed, 14 insertions(+), 7 deletions(-)
27049 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
27050 Author: John Stowers <john.stowers@gmail.com>
27051 Date: Sun Mar 6 23:41:01 2011 +1300
27053 pygi-convert.sh add GObject.xxx and webkit
27055 https://bugzilla.gnome.org/show_bug.cgi?id=644347
27057 pygi-convert.sh | 7 +++++++
27058 1 file changed, 7 insertions(+)
27060 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
27061 Author: John Stowers <john.stowers@gmail.com>
27062 Date: Sun Mar 6 23:41:30 2011 +1300
27064 pygi-convert.sh remove gobject tests, GObject works now
27066 https://bugzilla.gnome.org/show_bug.cgi?id=644347
27068 pygi-convert.sh | 28 ----------------------------
27069 1 file changed, 28 deletions(-)
27071 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
27072 Author: John (J5) Palmieri <johnp@redhat.com>
27073 Date: Fri Mar 11 14:09:02 2011 -0500
27075 [gi-demos] add pickers demo
27077 demos/gtk-demo/demos/pickers.py | 74
27078 +++++++++++++++++++++++++++++++++++++++++
27079 1 file changed, 74 insertions(+)
27081 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
27082 Author: John (J5) Palmieri <johnp@redhat.com>
27083 Date: Thu Mar 10 18:12:50 2011 -0500
27085 [gi-demos] add menu demo
27087 demos/gtk-demo/demos/menus.py | 122
27088 ++++++++++++++++++++++++++++++++++++++++++
27089 1 file changed, 122 insertions(+)
27091 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
27092 Author: John (J5) Palmieri <johnp@redhat.com>
27093 Date: Wed Mar 9 13:02:50 2011 -0500
27095 [gi-overrides] fix exception block so it works in Python 2.5
27097 gi/overrides/Gio.py | 5 ++++-
27098 1 file changed, 4 insertions(+), 1 deletion(-)
27100 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
27101 Author: Martin Pitt <martin.pitt@ubuntu.com>
27102 Date: Mon Mar 21 13:19:58 2011 +0100
27104 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
27106 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
27108 This introduces additional libpython dependencies, which breaks
27110 which support multiple Python versions, and also causes the python
27112 to be in memory twice in some cases.
27114 https://bugzilla.gnome.org/show_bug.cgi?id=620215
27116 gi/Makefile.am | 4 +---
27117 glib/Makefile.am | 2 +-
27118 m4/python.m4 | 7 ++-----
27119 tests/Makefile.am | 2 +-
27120 4 files changed, 5 insertions(+), 10 deletions(-)
27122 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
27123 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27124 Date: Fri Mar 18 17:06:08 2011 +0100
27126 setup.py: fix user_access_control option
27129 1 file changed, 1 insertion(+), 1 deletion(-)
27131 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
27132 Author: Martin Pitt <martin.pitt@ubuntu.com>
27133 Date: Wed Mar 16 10:22:35 2011 +0100
27135 [gi] Respect the MessageType for Gtk.MessageDialog
27137 Don't just ignore the type argument, actually pass it on. Thanks
27139 Chou for spotting this!
27141 gi/overrides/Gtk.py | 1 +
27142 1 file changed, 1 insertion(+)
27144 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
27145 Author: Martin Pitt <martin.pitt@ubuntu.com>
27146 Date: Tue Mar 15 10:22:39 2011 +0100
27148 [gi] Do not require signature for D-BUS methods without arguments
27150 Calling methods on DBusProxy objects usually requires specifying
27152 as first argument. However, if the D-BUS method does not take any
27154 specifying the empty '()' signature does not give any additional
27156 so allow the caller to just call the proxy method without any
27159 Also ensure that passing a non-string signature raises a
27161 exception, instead of crashing deep in the GVariant leaf constructor.
27163 https://bugzilla.gnome.org/show_bug.cgi?id=644260
27165 gi/overrides/Gio.py | 16 +++++++++++++++-
27166 tests/test_gdbus.py | 13 +++++++++++++
27167 2 files changed, 28 insertions(+), 1 deletion(-)
27169 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
27170 Author: John Stowers <john.stowers@gmail.com>
27171 Date: Sun Mar 6 23:05:33 2011 +1300
27173 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
27175 https://bugzilla.gnome.org/show_bug.cgi?id=644343
27177 gi/overrides/Gtk.py | 2 ++
27178 1 file changed, 2 insertions(+)
27180 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
27181 Author: John Stowers <john.stowers@gmail.com>
27182 Date: Sun Mar 6 17:48:04 2011 +1300
27184 [gi-demos] dont try and run demos that represent directories
27186 demos/gtk-demo/gtk-demo.py | 3 ++-
27187 1 file changed, 2 insertions(+), 1 deletion(-)
27189 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
27190 Author: John (J5) Palmieri <johnp@redhat.com>
27191 Date: Mon Mar 7 18:09:18 2011 -0500
27193 [gi-demos] some python 3 compat fixes
27195 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
27196 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
27197 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
27198 demos/gtk-demo/gtk-demo.py | 4 ++--
27199 4 files changed, 11 insertions(+), 5 deletions(-)
27201 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
27202 Author: John (J5) Palmieri <johnp@redhat.com>
27203 Date: Tue Feb 22 15:07:40 2011 -0500
27205 [gi-demos] add liststore demo
27207 demos/gtk-demo/demos/Tree View/__init__.py | 0
27208 demos/gtk-demo/demos/Tree View/liststore.py | 205
27209 ++++++++++++++++++++++++++++
27210 2 files changed, 205 insertions(+)
27212 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
27213 Author: John (J5) Palmieri <johnp@redhat.com>
27214 Date: Mon Mar 7 18:08:40 2011 -0500
27216 [gi-demos] catch the correct error class
27218 demos/gtk-demo/demos/images.py | 11 ++++++-----
27219 1 file changed, 6 insertions(+), 5 deletions(-)
27221 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
27222 Author: Steve Frécinaux <code@istique.net>
27223 Date: Sun Mar 6 21:18:36 2011 +0100
27225 Do not leak python references when using the gobject.property()
27228 Since this helper was storing plain references in a long-lived
27230 refcount for the instances would never drop to zero, and so they would
27231 never get finalized.
27233 https://bugzilla.gnome.org/show_bug.cgi?id=644039
27235 gobject/propertyhelper.py | 5 ++---
27236 tests/test_properties.py | 23 +++++++++++++++++++++++
27237 2 files changed, 25 insertions(+), 3 deletions(-)
27239 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
27240 Author: John (J5) Palmieri <johnp@redhat.com>
27241 Date: Fri Mar 4 12:25:49 2011 -0500
27243 handle uchar as bytes, not strings in python 3
27245 * This worked in Python2 because bytes and strings are equivilant
27247 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
27248 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
27250 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
27251 and a PyBytes object in Python 3
27253 gobject/pygtype.c | 2 +-
27254 1 file changed, 1 insertion(+), 1 deletion(-)
27256 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
27257 Author: John (J5) Palmieri <johnp@redhat.com>
27258 Date: Fri Mar 4 12:24:35 2011 -0500
27260 [gi-overrides] handle unichar gvalues when setting treemodels
27262 gi/overrides/Gtk.py | 10 ++++++++++
27263 1 file changed, 10 insertions(+)
27265 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
27266 Author: John (J5) Palmieri <johnp@redhat.com>
27267 Date: Fri Mar 4 11:43:51 2011 -0500
27269 [gi-overrides] special case python 2 keywords that crept in
27271 gi/overrides/Gtk.py | 6 +++++-
27272 tests/test_overrides.py | 8 ++++----
27273 2 files changed, 9 insertions(+), 5 deletions(-)
27275 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
27276 Author: John (J5) Palmieri <johnp@redhat.com>
27277 Date: Fri Mar 4 11:10:16 2011 -0500
27279 check for the py3 _thread module in configure.ac if thread is
27282 configure.ac | 6 +++++-
27283 1 file changed, 5 insertions(+), 1 deletion(-)
27285 commit 4645af87d3c587f535404867dab56608719e5c7b
27286 Author: John (J5) Palmieri <johnp@redhat.com>
27287 Date: Fri Mar 4 00:39:23 2011 -0500
27289 [gi-demos] add iconview demo
27291 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
27292 +++++++++++++++++++++++
27293 1 file changed, 212 insertions(+)
27295 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
27296 Author: John (J5) Palmieri <johnp@redhat.com>
27297 Date: Thu Mar 3 18:39:16 2011 -0500
27299 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
27301 * python < 2.6 does not allow sending in keyword litterals after
27303 *args. You can only send in **kwds.
27306 1 file changed, 1 insertion(+), 1 deletion(-)
27308 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
27309 Author: John (J5) Palmieri <johnp@redhat.com>
27310 Date: Thu Mar 3 18:30:40 2011 -0500
27312 [gi-demos] add the combobox with string ids section to the demos
27314 demos/gtk-demo/demos/combobox.py | 49
27315 +++++++++++++++++++++++++++++++++++++++-
27316 1 file changed, 48 insertions(+), 1 deletion(-)
27318 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
27319 Author: John (J5) Palmieri <johnp@redhat.com>
27320 Date: Thu Mar 3 16:47:51 2011 -0500
27322 [gi-overrides] add an override for Gdk.RGBA
27324 gi/overrides/Gdk.py | 18 ++++++++++++++++++
27325 tests/test_overrides.py | 10 ++++++++++
27326 2 files changed, 28 insertions(+)
27328 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
27329 Author: John (J5) Palmieri <johnp@redhat.com>
27330 Date: Thu Mar 3 16:10:17 2011 -0500
27332 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
27335 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
27336 1 file changed, 9 insertions(+), 14 deletions(-)
27338 commit cd046e4c355706ead5f512b810a2a48317f8c32e
27339 Author: John (J5) Palmieri <johnp@redhat.com>
27340 Date: Wed Mar 2 18:13:43 2011 -0500
27342 [gi-demos] add search entry demo
27344 demos/gtk-demo/demos/Entry/search_entry.py | 257
27345 +++++++++++++++++++++++++++++
27346 1 file changed, 257 insertions(+)
27348 commit d5ddaa92e6349c2f52b67317326060973cb69661
27349 Author: John (J5) Palmieri <johnp@redhat.com>
27350 Date: Wed Mar 2 15:37:27 2011 -0500
27352 [gi] wrap map in a list for Python 3 compat
27355 1 file changed, 1 insertion(+), 1 deletion(-)
27357 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
27358 Author: John (J5) Palmieri <johnp@redhat.com>
27359 Date: Tue Mar 1 14:52:00 2011 -0500
27361 [gi-demos] fix up the validation combobox
27363 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
27364 1 file changed, 15 insertions(+), 6 deletions(-)
27366 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
27367 Author: John (J5) Palmieri <johnp@redhat.com>
27368 Date: Tue Mar 1 12:31:35 2011 -0500
27370 add overridesdir variable in the .pc file for 3rd party overrides
27372 pygobject-2.0.pc.in | 1 +
27373 1 file changed, 1 insertion(+)
27375 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
27376 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
27377 Date: Fri Feb 11 17:14:11 2011 +0100
27379 setup.py: Set bdist_wininst user-access-control property
27382 1 file changed, 2 insertions(+), 1 deletion(-)
27384 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
27385 Author: Martin Pitt <martin.pitt@ubuntu.com>
27386 Date: Wed Mar 2 16:29:00 2011 +0100
27388 Fix uninitialized variable in gi.require_version()
27390 gi/__init__.py | 3 ++-
27391 1 file changed, 2 insertions(+), 1 deletion(-)
27393 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
27394 Author: Martin Pitt <martin.pitt@ubuntu.com>
27395 Date: Tue Mar 1 23:26:07 2011 +0100
27397 Run tests with LC_MESSAGES="C"
27399 Some tests, such as tests/test_gdbus.py check parts of error messages
27401 visible strings. Ensure that these do not get translated in the
27404 tests/runtests.py | 2 ++
27405 1 file changed, 2 insertions(+)
27407 commit 0461e05174637ae02f34029b85ba217d5ae48c53
27408 Author: John (J5) Palmieri <johnp@redhat.com>
27409 Date: Mon Feb 28 18:21:43 2011 -0500
27411 [gi-overrides] override Gtk.stock_lookup to not return success
27413 demos/gtk-demo/demos/combobox.py | 2 +-
27414 gi/overrides/Gtk.py | 9 +++++++++
27415 2 files changed, 10 insertions(+), 1 deletion(-)
27417 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
27418 Author: John (J5) Palmieri <johnp@redhat.com>
27419 Date: Mon Feb 28 14:16:00 2011 -0500
27421 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
27424 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
27425 1 file changed, 50 insertions(+)
27427 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
27428 Author: John (J5) Palmieri <johnp@redhat.com>
27429 Date: Mon Feb 28 14:08:05 2011 -0500
27431 [gi-tests] use Gdk.test_simulate_button instead of emitting event
27434 * this function is available specifically so we can test events so
27436 instead of creating our own button press event
27438 tests/test_overrides.py | 9 +++++----
27439 1 file changed, 5 insertions(+), 4 deletions(-)
27441 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
27442 Author: Laszlo Pandy <lpandy@src.gnome.org>
27443 Date: Thu Feb 24 19:30:32 2011 +0100
27445 [gi-tests] tests for EventButton override.
27447 * John (J5) Palmieri - fixed up original patch so that we actually
27448 emit the event instead of just creating a Gdk.ButtonEvent object
27450 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27452 tests/test_overrides.py | 21 +++++++++++++++++++++
27453 1 file changed, 21 insertions(+)
27455 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
27456 Author: John (J5) Palmieri <johnp@redhat.com>
27457 Date: Wed Feb 23 18:43:27 2011 -0500
27459 [gi-overrides] Add event methods to all event union members
27461 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27463 gi/overrides/Gdk.py | 70
27464 +++++++++++++++++++++++++++++++++++++++++++++++++++++
27465 1 file changed, 70 insertions(+)
27467 commit 6e30c69d38fd382414eb820097c297a80be547ac
27468 Author: John (J5) Palmieri <johnp@redhat.com>
27469 Date: Wed Feb 23 14:14:16 2011 -0500
27471 [gi] check to see if object is a member of a union when validating
27474 * union members are not subclasses of the union they belong to so
27476 inteface requires you pass a union but you pass one of its members
27477 there will be a type error
27478 * this patch checks to see if the type you are passing is a member
27480 union and passes the checks if it is
27481 * this works in python 3 but in python 2 methods do their own
27483 check on the instance parameter (e.g. self) so we need to figure
27484 out how to override that for union methods
27485 (e.g. Gdk.Event.get_state)
27487 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27489 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
27490 1 file changed, 38 insertions(+)
27492 commit 525f21d1365c24488b768955362085bf82512dee
27493 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27494 Date: Wed Feb 16 09:44:12 2011 +0100
27496 Skip interfaces when checking for conflicts in the MRO
27498 https://bugzilla.gnome.org/show_bug.cgi?id=642437
27500 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
27501 gobject/gobjectmodule.c | 9 +++++++--
27502 tests/test_gi.py | 16 ++++++++++++++++
27503 3 files changed, 63 insertions(+), 2 deletions(-)
27505 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
27506 Author: Laszlo Pandy <lpandy@src.gnome.org>
27507 Date: Thu Feb 24 18:46:15 2011 +0100
27509 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
27512 gi/importer.py | 2 +-
27513 gi/module.py | 2 +-
27514 2 files changed, 2 insertions(+), 2 deletions(-)
27516 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
27517 Author: Laszlo Pandy <lpandy@src.gnome.org>
27518 Date: Wed Feb 23 12:05:03 2011 +0100
27520 Test case with John's fix for crash with C arrays and a GError is set.
27522 I have added a test case, and made a few fixes to John's patch,
27524 solution is the same his.
27526 Workaround a bug when freeing C array types
27528 * This is a hack and there is really no way around it without
27530 the current array handling code which spans between pygi-invoke.c
27532 pygi-argument.c and completely rewriting it.
27533 * The is no time before our stable release
27534 * This patch trades a segfault for a leak in the very unusual
27536 an error occures inside an interface that takes one or more C
27538 we wrap C arrays in GArrays internally but have to unwrap them
27540 to the introspected C function, there is a period of time where
27542 can occure with the C array in an unknown state (some being true
27544 and others still wrapped in a GArray)
27545 * This patch adds a c_arrays_are_wrapped state to signal that it
27547 free them. However since c_arrays_are_wrapped can only track
27549 as a group, not individually, if it is set to FALSE we can
27551 that every array is a pure C array, so instead we will simply
27553 to avoid incorrectly freeing one and causing a segfault.
27554 * This issue is fixed in the invoke rewrite branch as it treats
27556 GArrays separately, however that branch is not yet ready to be
27558 won't be until the next release.
27560 https://bugzilla.gnome.org/show_bug.cgi?id=642708
27562 gi/pygi-invoke.c | 54
27563 ++++++++++++++++++++++++++++++++++++++++++++++++++----
27564 tests/test_gi.py | 9 +++++++++
27565 2 files changed, 59 insertions(+), 4 deletions(-)
27567 commit 702a89beca92cab6b0142829b20281b9245f28b8
27568 Author: John (J5) Palmieri <johnp@redhat.com>
27569 Date: Wed Feb 23 15:11:59 2011 -0500
27571 [gi-overrides] fix setting rows in treeview to accept None as a value
27573 * as done in PyGTK None indicates the column should not be set
27575 gi/overrides/Gtk.py | 3 +++
27576 tests/test_overrides.py | 18 +++++++++++++-----
27577 2 files changed, 16 insertions(+), 5 deletions(-)
27579 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
27580 Author: Laszlo Pandy <lpandy@src.gnome.org>
27581 Date: Wed Feb 23 14:23:19 2011 +0100
27583 [gi] Add value_name for enum and flags from introspection
27584 "c:identifier" (if attr is available).
27586 gi/gimodule.c | 22 ++++++++++++++++++----
27587 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
27588 2 files changed, 54 insertions(+), 4 deletions(-)
27590 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
27591 Author: Laszlo Pandy <lpandy@src.gnome.org>
27592 Date: Wed Feb 23 11:40:55 2011 +0100
27594 Fix flags with multiple names for the same value.
27596 Flags constructs a dict __flags_values__ and uses it to cache
27597 instances. However some flags in Glib such as G_IO_FLAG_MASK and
27598 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
27599 override each other's place in the dictionary.
27601 The dict length check is not necessary. It only reduces the number
27602 of duplicate instances we keep, because if an instance is not
27603 found in the dict, a new one is created anyway.
27605 gobject/pygflags.c | 2 +-
27606 1 file changed, 1 insertion(+), 1 deletion(-)
27608 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
27609 Author: Laszlo Pandy <lpandy@src.gnome.org>
27610 Date: Tue Feb 22 21:37:33 2011 +0100
27612 Don't force loading of DynamicModule until set in sys.modules
27614 This fixes Tomeu's previous commit, which removed lazy loading.
27615 Forcing the loading of a module before it is installed in sys.modules
27616 prevents some overrides from being registered (namely Gtk.main_quit).
27618 https://bugzilla.gnome.org/show_bug.cgi?id=642305
27620 gi/importer.py | 2 +-
27621 1 file changed, 1 insertion(+), 1 deletion(-)
27623 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
27624 Author: John (J5) Palmieri <johnp@redhat.com>
27625 Date: Mon Feb 21 17:20:57 2011 -0500
27627 use GValue support to marshal GtkTreeModel values correctly
27629 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
27631 https://bugzilla.gnome.org/show_bug.cgi?id=642921
27633 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
27634 tests/test_overrides.py | 87
27635 +++++++++++++++++++++++++++++++++++++++++--------
27636 2 files changed, 107 insertions(+), 17 deletions(-)
27638 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
27639 Author: John (J5) Palmieri <johnp@redhat.com>
27640 Date: Mon Feb 21 16:14:20 2011 -0500
27642 [gi] pass raw GValues instead of trying to marshal them
27644 * Right now GValues are transparent to the user but this leave us no
27645 way to describe fundimental types other than those supported
27647 by python (e.g. int, str, etc)
27648 * If an interface is expecting a uint or other GValue type a user
27650 the raw GValue interfaces and expect paramaters that take
27652 marshal them correctly e.g.:
27653 value = GObject.Value()
27654 value.int(GObject.TYPE_UINT)
27655 value.set_uint(1234)
27656 * The objective here is to not for users to use this API but for
27658 to be able to utilize them. For instance in the TreeModel API
27660 get the expected type for a column and them create a GValue with
27662 type so that he underlying python object is marshalled correctly.
27664 https://bugzilla.gnome.org/show_bug.cgi?id=642914
27666 gi/pygi-argument.c | 24 ++++++++++++++++++------
27667 tests/test_gi.py | 9 ++++++++-
27668 2 files changed, 26 insertions(+), 7 deletions(-)
27670 commit b458f6f3424a04f6ceece09d443009372d70544c
27671 Author: John (J5) Palmieri <johnp@redhat.com>
27672 Date: Sat Feb 19 19:42:41 2011 -0500
27674 [gi-demos] add icon view edit and drag-and-drop demo
27676 demos/gtk-demo/demos/Icon View/__init__.py | 0
27677 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
27678 +++++++++++++++++++++++++
27679 2 files changed, 101 insertions(+)
27681 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
27682 Author: John (J5) Palmieri <johnp@redhat.com>
27683 Date: Sat Feb 19 17:26:42 2011 -0500
27685 [gi-demos] add info bars demo
27687 demos/gtk-demo/demos/infobars.py | 99
27688 ++++++++++++++++++++++++++++++++++++++++
27689 1 file changed, 99 insertions(+)
27691 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
27692 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27693 Date: Wed Feb 16 11:53:18 2011 +0100
27695 Load typelibs at import time, add gi.require_version()
27697 also adds Repository.get_loaded_namespaces()
27699 https://bugzilla.gnome.org/show_bug.cgi?id=642305
27701 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
27702 gi/importer.py | 1 +
27703 gi/module.py | 21 ++++-----------------
27704 gi/pygi-repository.c | 23 +++++++++++++++++++++++
27705 4 files changed, 56 insertions(+), 18 deletions(-)
27707 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
27708 Author: Laszlo Pandy <lpandy@src.gnome.org>
27709 Date: Sat Feb 19 23:11:25 2011 +0100
27711 [gi] Register GType for non-GType enums and flags at runtime.
27713 Note: rebuild of gobject-introspection is required for new tests.
27715 Previously non-GType enums used a separate type implemented in
27716 Python, and non-GType flags had no implementation at all. This
27717 removes the separate type for enums, and registers a new GType at
27718 runtime if there isn't one.
27720 This allows non-GType enums and flags to use the same Python type
27721 as GType enums and flags. This removes duplication of code, and
27722 make both kinds behave identically.
27724 https://bugzilla.gnome.org/show_bug.cgi?id=642607
27726 gi/gimodule.c | 117
27727 +++++++++++++++++++++++++++++++++++++++++++++++++++++
27728 gi/module.py | 24 ++++++-----
27729 gi/pygi-info.c | 15 +++++++
27730 gi/types.py | 16 --------
27731 gobject/pygflags.c | 13 ++++--
27732 tests/test_gi.py | 35 ++++++++++++++++
27733 6 files changed, 191 insertions(+), 29 deletions(-)
27735 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
27736 Author: Martin Pitt <martin.pitt@ubuntu.com>
27737 Date: Tue Feb 8 15:38:21 2011 +0100
27739 [gi] Add Pythonic gdbus method invocation
27741 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
27743 Python object. This will handle the Python object <-> GVariant
27745 optional keyword arguments for flags, timeout, and a result handler
27747 asynchronous calls.
27749 Require specifying the input argument signature as the first argument
27751 method call. This ensures that the types of e. g. integers are
27753 and avoids having to do expensive D-Bus introspection for each call.
27755 https://bugzilla.gnome.org/show_bug.cgi?id=640181
27757 gi/overrides/Gio.py | 99
27758 ++++++++++++++++++++++++++++++++++++++++++++++++++
27759 tests/test_gdbus.py | 102
27760 ++++++++++++++++++++++++++++++++++++++++++++++++++--
27761 2 files changed, 199 insertions(+), 2 deletions(-)
27763 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
27764 Author: Laszlo Pandy <lpandy@src.gnome.org>
27765 Date: Fri Feb 18 22:48:59 2011 +0100
27767 Skip GError out parameters in Python closure.
27769 Python code should have never have to explicitely return a GError.
27770 Once we are able to marshal exceptions the Python code should
27771 throw an exception instead. Until then, set GError to NULL, and
27772 don't complain if a Python function doesn't return an arg for it.
27774 https://bugzilla.gnome.org/show_bug.cgi?id=642715
27776 gi/pygi-closure.c | 8 ++++++++
27777 1 file changed, 8 insertions(+)
27779 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
27780 Author: Laszlo Pandy <lpandy@src.gnome.org>
27781 Date: Fri Feb 18 10:15:59 2011 +0100
27783 Fix runtests.py to work with Python3 (print function syntax error).
27785 tests/runtests.py | 2 +-
27786 1 file changed, 1 insertion(+), 1 deletion(-)
27788 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
27789 Author: John (J5) Palmieri <johnp@redhat.com>
27790 Date: Thu Feb 17 19:46:49 2011 -0500
27792 [gi-demos] added rotate text demo
27794 * needs some Pango Attr fixes to be 100% done, See FIXME
27796 demos/gtk-demo/demos/rotatedtext.py | 196
27797 ++++++++++++++++++++++++++++++++++++
27798 1 file changed, 196 insertions(+)
27800 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
27801 Author: John (J5) Palmieri <johnp@redhat.com>
27802 Date: Thu Feb 17 17:25:00 2011 -0500
27804 [gi-demos] add images demo
27806 * needs annotation fix from GdkPixbuf for ImageLoader to work
27808 demos/gtk-demo/demos/images.py | 311
27809 +++++++++++++++++++++++++++++++++++++++++
27810 1 file changed, 311 insertions(+)
27812 commit 13b06170b89b3468e6255be32af4833ffc675c9d
27813 Author: John (J5) Palmieri <johnp@redhat.com>
27814 Date: Thu Feb 17 14:48:24 2011 -0500
27816 [gi-demos] add pixbuf demo
27818 demos/gtk-demo/demos/pixbuf.py | 183
27819 +++++++++++++++++++++++++++++++++++++++++
27820 1 file changed, 183 insertions(+)
27822 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
27823 Author: John (J5) Palmieri <johnp@redhat.com>
27824 Date: Thu Feb 17 14:47:12 2011 -0500
27826 [gi-demos] remove fixmes from print demo, fixed in pango
27828 demos/gtk-demo/demos/printing.py | 10 +++-------
27829 1 file changed, 3 insertions(+), 7 deletions(-)
27831 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
27832 Author: John (J5) Palmieri <johnp@redhat.com>
27833 Date: Wed Feb 16 19:39:30 2011 -0500
27835 [gi-demos] add printing demo
27837 * needs some annotations for pango before it is 100% useful
27839 demos/gtk-demo/demos/printing.py | 177
27840 +++++++++++++++++++++++++++++++++++++++
27841 1 file changed, 177 insertions(+)
27843 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
27844 Author: John (J5) Palmieri <johnp@redhat.com>
27845 Date: Wed Feb 16 17:52:38 2011 -0500
27847 [gi-overrides] add cursor overrides
27849 https://bugzilla.gnome.org/show_bug.cgi?id=635947
27851 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
27852 tests/test_overrides.py | 23 +++++++++++++++++++++++
27853 2 files changed, 64 insertions(+)
27855 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
27856 Author: John (J5) Palmieri <johnp@redhat.com>
27857 Date: Wed Feb 16 16:18:24 2011 -0500
27859 [gi-demos] add the links demo
27861 demos/gtk-demo/demos/links.py | 74
27862 +++++++++++++++++++++++++++++++++++++++++++
27863 1 file changed, 74 insertions(+)
27865 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
27866 Author: John (J5) Palmieri <johnp@redhat.com>
27867 Date: Wed Feb 16 15:48:40 2011 -0500
27869 [gi-demos] add expander demo
27871 demos/gtk-demo/demos/expander.py | 60
27872 ++++++++++++++++++++++++++++++++++++++++
27873 1 file changed, 60 insertions(+)
27875 commit 76cdb13ab872f91f8384d26b0f2932087a746117
27876 Author: John (J5) Palmieri <johnp@redhat.com>
27877 Date: Wed Feb 16 15:14:35 2011 -0500
27879 [gi-overrides] use pop instead of del and add extra tests for
27882 gi/overrides/Gtk.py | 6 ++----
27883 tests/test_overrides.py | 8 ++++++++
27884 2 files changed, 10 insertions(+), 4 deletions(-)
27886 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
27887 Author: Laszlo Pandy <lpandy@src.gnome.org>
27888 Date: Tue Feb 15 20:07:42 2011 +0100
27890 [tests] Separate processes for GI and static binding tests.
27892 Importing and using both static gobject bindings and
27893 introspection GObject bindings in the same process can cause
27894 conflicts with types which otherwise wouldn't be there.
27896 This patch changes "make check" to call runtests.py twice -- once
27897 for each set of tests.
27899 In the case of a test failure, runtests.py now sets the exit code
27900 so that make does not continue. Otherwise you might miss the
27901 failures from the first batch of tests in the scrollback.
27903 tests/Makefile.am | 19 +++++++++++--------
27904 tests/runtests.py | 4 +++-
27905 2 files changed, 14 insertions(+), 9 deletions(-)
27907 commit e0896b45f60f37097ec521f1bc38778383b78dd8
27908 Author: John (J5) Palmieri <johnp@redhat.com>
27909 Date: Tue Feb 15 14:47:10 2011 -0500
27911 [gi-demos] add dialogs demo
27913 demos/gtk-demo/demos/dialogs.py | 153
27914 ++++++++++++++++++++++++++++++++++++++++
27915 1 file changed, 153 insertions(+)
27917 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
27918 Author: John (J5) Palmieri <johnp@redhat.com>
27919 Date: Tue Feb 15 14:46:41 2011 -0500
27921 [gi-overrides] fix typo in GtkTable constructor
27923 gi/overrides/Gtk.py | 8 ++++----
27924 1 file changed, 4 insertions(+), 4 deletions(-)
27926 commit 9c277e1782c5a9d672d91fabf5289c5415891682
27927 Author: John (J5) Palmieri <johnp@redhat.com>
27928 Date: Tue Feb 15 13:26:38 2011 -0500
27930 [gi-demos] keep popup menu from destroying itself by holding a ref
27933 demos/gtk-demo/demos/clipboard.py | 8 ++++----
27934 1 file changed, 4 insertions(+), 4 deletions(-)
27936 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
27937 Author: John (J5) Palmieri <johnp@redhat.com>
27938 Date: Tue Feb 15 13:25:13 2011 -0500
27940 [gi-overrides] add a Gtk.Menu override for the popup method
27942 gi/overrides/Gtk.py | 7 +++++++
27943 1 file changed, 7 insertions(+)
27945 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
27946 Author: John (J5) Palmieri <johnp@redhat.com>
27947 Date: Tue Feb 15 13:24:33 2011 -0500
27949 [gi-demos] fix the about dialog in appwindow demo
27951 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
27952 1 file changed, 9 insertions(+), 13 deletions(-)
27954 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
27955 Author: John (J5) Palmieri <johnp@redhat.com>
27956 Date: Tue Feb 15 11:21:13 2011 -0500
27958 [gi-demos] fix clipboard demo so DnD works
27960 * menu popups don't work because the API takes a callback without
27964 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
27965 1 file changed, 10 insertions(+), 10 deletions(-)
27967 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
27968 Author: John (J5) Palmieri <johnp@redhat.com>
27969 Date: Tue Feb 15 10:18:53 2011 -0500
27971 [gi-demos] fix clipboard demo to reflect new API
27973 demos/gtk-demo/demos/clipboard.py | 6 +++---
27974 1 file changed, 3 insertions(+), 3 deletions(-)
27976 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
27977 Author: John (J5) Palmieri <johnp@redhat.com>
27978 Date: Mon Feb 14 18:17:20 2011 -0500
27980 [gi-demo] Fix color dialog demo to run with new draw, style and
27983 demos/gtk-demo/demos/colorselector.py | 44
27984 ++++++++++++++---------------------
27985 1 file changed, 17 insertions(+), 27 deletions(-)
27987 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
27988 Author: John (J5) Palmieri <johnp@redhat.com>
27989 Date: Mon Feb 14 17:58:25 2011 -0500
27991 [gi-demos] fix most of the combobox app
27993 * Still having some issues with filtering the ComboBoxText widget
27995 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
27996 1 file changed, 8 insertions(+), 9 deletions(-)
27998 commit 3606eb20ad1651af621bf1aa429ec102082565eb
27999 Author: Laszlo Pandy <lpandy@src.gnome.org>
28000 Date: Mon Feb 14 19:36:27 2011 +0100
28002 Use PyGI type conversion (to fix foreign types) for signal callbacks.
28004 First attempt at patch to fix foreign types in signal callbacks.
28005 Tests are not implemented yet.
28007 https://bugzilla.gnome.org/show_bug.cgi?id=637601
28009 gi/Makefile.am | 2 +
28010 gi/gimodule.c | 1 +
28011 gi/pygi-argument.c | 91 ++++++++++++++++++
28012 gi/pygi-argument.h | 2 +
28013 gi/pygi-private.h | 1 +
28014 gi/pygi-signal-closure.c | 245
28015 +++++++++++++++++++++++++++++++++++++++++++++++
28016 gi/pygi-signal-closure.h | 46 +++++++++
28017 gi/pygi.h | 28 ++++++
28018 gobject/pygobject.c | 24 ++++-
28019 9 files changed, 436 insertions(+), 4 deletions(-)
28021 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
28022 Author: John (J5) Palmieri <johnp@redhat.com>
28023 Date: Mon Feb 14 16:47:03 2011 -0500
28025 [gi-demos] fix drawingarea app to use the new draw api
28027 demos/gtk-demo/demos/drawingarea.py | 144
28028 +++++++++++++-----------------------
28029 1 file changed, 50 insertions(+), 94 deletions(-)
28031 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
28032 Author: John (J5) Palmieri <johnp@redhat.com>
28033 Date: Mon Feb 14 16:43:35 2011 -0500
28035 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
28037 * note this is the introspected gobject-cairo boxed type not the
28040 * we alias this so people do not get confused
28042 gi/overrides/Gdk.py | 5 +++++
28043 1 file changed, 5 insertions(+)
28045 commit d491c369e049ab726f09002af0462391d5c2f3ec
28046 Author: John (J5) Palmieri <johnp@redhat.com>
28047 Date: Mon Feb 14 15:07:11 2011 -0500
28049 [gi-overrides] let user set the proper property names in Gtk.Table
28051 * the old override added a columns and rows parameters to the Table
28053 to be in sync with PyGtk.
28054 * The GTK properties are n_columns and n_rows
28057 gi/overrides/Gtk.py | 8 ++++++++
28058 1 file changed, 8 insertions(+)
28060 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
28061 Author: John (J5) Palmieri <johnp@redhat.com>
28062 Date: Mon Feb 14 15:06:38 2011 -0500
28064 [gi-demos] get appwindow demo working again
28066 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
28067 1 file changed, 4 insertions(+), 20 deletions(-)
28069 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
28070 Author: John (J5) Palmieri <johnp@redhat.com>
28071 Date: Mon Feb 14 15:05:44 2011 -0500
28073 [gi-demos] fixed use of tree_iter_get
28075 demos/gtk-demo/gtk-demo.py | 2 +-
28076 1 file changed, 1 insertion(+), 1 deletion(-)
28078 commit 0c20977e4598e5447dd07c069e91226efacb1160
28079 Author: Simon van der Linden <svdlinden@gnome.org>
28080 Date: Fri Feb 11 22:02:03 2011 +0100
28082 Remove last GIO-related bits
28084 https://bugzilla.gnome.org/show_bug.cgi?id=638899
28088 configure.ac | 3 --
28089 examples/gio/directory-async.py | 33 ------------------
28090 examples/gio/downloader.py | 77
28091 -----------------------------------------
28092 pygobject.doap | 2 +-
28093 6 files changed, 3 insertions(+), 117 deletions(-)
28095 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
28096 Author: Simon van der Linden <svdlinden@gnome.org>
28097 Date: Fri Feb 11 18:38:27 2011 +0100
28099 Remove GIO documentation
28101 https://bugzilla.gnome.org/show_bug.cgi?id=638899
28103 docs/Makefile.am | 82 +-
28104 docs/reference/pygio-appinfo.xml | 894 -----
28105 docs/reference/pygio-applaunchcontext.xml | 194 --
28106 docs/reference/pygio-asyncresult.xml | 117 -
28107 docs/reference/pygio-bufferedinputstream.xml | 461 ---
28108 docs/reference/pygio-bufferedoutputstream.xml | 275 --
28109 docs/reference/pygio-cancellable.xml | 290 --
28110 docs/reference/pygio-classes.xml | 47 -
28111 docs/reference/pygio-constants.xml | 1540 ---------
28112 docs/reference/pygio-datainputstream.xml | 799 -----
28113 docs/reference/pygio-dataoutputstream.xml | 504 ---
28114 docs/reference/pygio-drive.xml | 546 ---
28115 docs/reference/pygio-emblem.xml | 232 --
28116 docs/reference/pygio-emblemedicon.xml | 160 -
28117 docs/reference/pygio-file.xml | 4534
28118 -------------------------
28119 docs/reference/pygio-fileattributeinfo.xml | 73 -
28120 docs/reference/pygio-fileenumerator.xml | 488 ---
28121 docs/reference/pygio-fileicon.xml | 109 -
28122 docs/reference/pygio-fileinfo.xml | 346 --
28123 docs/reference/pygio-fileinputstream.xml | 214 --
28124 docs/reference/pygio-filemonitor.xml | 128 -
28125 docs/reference/pygio-fileoutputstream.xml | 257 --
28126 docs/reference/pygio-filterinputstream.xml | 152 -
28127 docs/reference/pygio-filteroutputstream.xml | 152 -
28128 docs/reference/pygio-functions.xml | 395 ---
28129 docs/reference/pygio-icon.xml | 217 --
28130 docs/reference/pygio-inputstream.xml | 730 ----
28131 docs/reference/pygio-loadableicon.xml | 198 --
28132 docs/reference/pygio-memoryinputstream.xml | 151 -
28133 docs/reference/pygio-memoryoutputstream.xml | 175 -
28134 docs/reference/pygio-mount.xml | 962 ------
28135 docs/reference/pygio-mountoperation.xml | 726 ----
28136 docs/reference/pygio-outputstream.xml | 140 -
28137 docs/reference/pygio-seekable.xml | 231 --
28138 docs/reference/pygio-simpleasyncresult.xml | 317 --
28139 docs/reference/pygio-themedicon.xml | 204 --
28140 docs/reference/pygio-unixinputstream.xml | 202 --
28141 docs/reference/pygio-unixoutputstream.xml | 202 --
28142 docs/reference/pygio-volume.xml | 718 ----
28143 docs/reference/pygio-volumemonitor.xml | 844 -----
28144 docs/reference/pygiounix-classes.xml | 13 -
28145 docs/reference/pygobject-ref.xml | 2 -
28146 42 files changed, 1 insertion(+), 19020 deletions(-)
28148 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
28149 Author: John (J5) Palmieri <johnp@redhat.com>
28150 Date: Fri Feb 11 11:05:04 2011 -0500
28152 bump version to reflect the master branch moving towards pygobject 3.0
28154 * added NEWS file from branch pygobject-2-28
28156 * this branch will drop support for the static binding
28157 * use the pygobject-2-28 branch for static binding fixes
28160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
28161 configure.ac | 4 +-
28162 2 files changed, 291 insertions(+), 2 deletions(-)
28164 commit 16140237aa45b4f188923da9f95b9d2af971011b
28165 Author: John (J5) Palmieri <johnp@redhat.com>
28166 Date: Thu Feb 10 16:46:08 2011 -0500
28168 fix build to correctly use python-config
28171 configure.ac | 6 ------
28172 m4/python.m4 | 9 +++++----
28173 tests/runtests.py | 1 +
28174 4 files changed, 9 insertions(+), 10 deletions(-)
28176 commit c2079f415638ef892b1e51f25eaafa3e1621667f
28177 Author: Simon van der Linden <svdlinden@gnome.org>
28178 Date: Thu Feb 10 22:26:00 2011 +0100
28180 Add missing libraries to link against
28182 glib/Makefile.am | 2 +-
28183 gobject/Makefile.am | 1 +
28184 2 files changed, 2 insertions(+), 1 deletion(-)
28186 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
28187 Author: Steve Frécinaux <code@istique.net>
28188 Date: Wed Jan 19 15:00:56 2011 +0100
28190 Make runtests.py able to run command-line provided test files
28192 With this patch we are now able to run ./runtests.py <somefile>, which
28193 is more friendly than defining an environment variable to run some
28196 https://bugzilla.gnome.org/show_bug.cgi?id=639948
28198 tests/runtests.py | 9 +++++++++
28199 1 file changed, 9 insertions(+)
28201 commit 14c4cf8e6edae893538680964380d543bde4a14d
28202 Author: Martin Pitt <martin.pitt@ubuntu.com>
28203 Date: Wed Feb 9 11:34:59 2011 +0100
28205 Run test suite under dbus-launch
28207 When available, run the test suite in dbus-launch, so that the
28209 succeed even when building this in an environment without a running
28211 D-BUS (such as distribution package builds).
28213 tests/Makefile.am | 3 ++-
28214 1 file changed, 2 insertions(+), 1 deletion(-)
28216 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
28217 Author: Martin Pitt <martin.pitt@ubuntu.com>
28218 Date: Tue Feb 8 15:46:36 2011 +0100
28220 Fix test_gdbus.py to be Python3 friendly
28222 - TestCase.assert_() has been deprecated by assertTrue().
28223 - Exceptions don't have a message attribute any more, use str(e)
28225 tests/test_gdbus.py | 34 +++++++++++++++-------------------
28226 1 file changed, 15 insertions(+), 19 deletions(-)
28228 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
28229 Author: Martin Pitt <martin.pitt@ubuntu.com>
28230 Date: Sat Jan 29 12:20:50 2011 +0100
28232 [gi] Provide comfortable GSettings API
28234 Make Gio.Settings behave like a dictionary, with transparent
28236 GVariants. Also provide a more comfortable constructor.
28238 https://bugzilla.gnome.org/show_bug.cgi?id=640838
28240 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
28241 tests/org.gnome.test.gschema.xml | 9 +++++
28242 tests/test_overrides.py | 73
28243 ++++++++++++++++++++++++++++++++--------
28244 3 files changed, 122 insertions(+), 14 deletions(-)
28246 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
28247 Author: Laszlo Pandy <lpandy@src.gnome.org>
28248 Date: Fri Feb 4 16:36:07 2011 +0100
28250 Fix vfunc search bug when using GInterfaces and a do_* method.
28252 If a class inherits from a GInterface, as well as implements a do_*
28253 method (which is not in a super class), all the base interfaces
28254 will be searched for an __info__ attribute. GInterface doesn't
28255 have one, causing an error on class creation.
28257 https://bugzilla.gnome.org/show_bug.cgi?id=641493
28259 gi/types.py | 4 +++-
28260 tests/test_gi.py | 8 ++++++++
28261 2 files changed, 11 insertions(+), 1 deletion(-)
28263 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
28264 Author: Laszlo Pandy <lpandy@src.gnome.org>
28265 Date: Thu Feb 3 15:31:42 2011 +0100
28267 [GI] Add tests for Gtk.Widget.drag_* methods.
28269 Previously all the drag_* methods were accessible as Gtk.drag_*.
28270 Now that the (method) attribute has been included for these
28271 methods in Gtk+, this test checks that they are included as class
28272 methods when using pygobject introspection.
28274 https://bugzilla.gnome.org/show_bug.cgi?id=639945
28276 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
28277 1 file changed, 40 insertions(+)
28279 commit d57500537014b3da624be33b40401ba289fa22b8
28280 Author: John (J5) Palmieri <johnp@redhat.com>
28281 Date: Thu Feb 3 09:02:16 2011 -0500
28283 [gi] make caller allocates work again
28285 gi/pygi-cache.c | 18 +++---------------
28286 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
28287 2 files changed, 37 insertions(+), 18 deletions(-)
28289 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
28290 Author: John (J5) Palmieri <johnp@redhat.com>
28291 Date: Wed Feb 2 19:27:40 2011 -0500
28293 [gi] fix container object reffing
28295 gi/pygi-argument.c | 7 +++----
28296 gi/pygi-cache.c | 12 ++++--------
28297 2 files changed, 7 insertions(+), 12 deletions(-)
28299 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
28300 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28301 Date: Wed Feb 2 21:00:48 2011 +0100
28303 [python 3] use the right syntaxis to raise exceptions
28305 codegen/argtypes.py | 8 ++++----
28306 codegen/definitions.py | 14 +++++++-------
28307 gi/overrides/Gtk.py | 2 +-
28308 3 files changed, 12 insertions(+), 12 deletions(-)
28310 commit 36094e5982d3e05d5662843b6d401f0974f5235f
28311 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28312 Date: Wed Feb 2 20:50:12 2011 +0100
28314 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
28316 tests/testhelpermodule.c | 6 +++---
28317 1 file changed, 3 insertions(+), 3 deletions(-)
28319 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
28320 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28321 Date: Wed Feb 2 20:37:21 2011 +0100
28323 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
28325 This is to avoid some warnings when building with python 3
28327 gi/gimodule.c | 6 +++---
28328 1 file changed, 3 insertions(+), 3 deletions(-)
28330 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
28331 Author: Steve Frécinaux <code@istique.net>
28332 Date: Sat Jan 29 00:16:50 2011 +0100
28334 Fix wrong refcount when calling introspected widget constructors
28336 Introspected widget constructors, like Gtk.Button.new(), can return
28337 objects with a floating reference, which was then reffed by pygobject,
28338 resulting in two references, despite the object is not owned by
28341 This patch uses ref_sink() when pygobject takes its own reference, to
28342 avoid adding that extra reference. Hence we now claim ownership on
28343 objects returned by constructors with transfer=none (which is the case
28344 for nearly all the widget constructors, despite the floating ref).
28346 https://bugzilla.gnome.org/show_bug.cgi?id=640868
28348 gobject/pygobject.c | 4 +++-
28349 tests/test_everything.py | 9 ++++++++-
28350 2 files changed, 11 insertions(+), 2 deletions(-)
28352 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
28353 Author: Simon Schampijer <simon@laptop.org>
28354 Date: Wed Jan 19 16:19:46 2011 +0100
28356 Gdk.Window: Map the standard constructor to the *new* constructor
28358 Gdk.Window had to be made abstract
28359 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
28360 this override allows using the standard constructor
28362 This commit adds as well a testcase.
28364 https://bugzilla.gnome.org/show_bug.cgi?id=639936
28366 gi/overrides/Gdk.py | 6 ++++++
28367 tests/test_overrides.py | 8 ++++++++
28368 2 files changed, 14 insertions(+)
28370 commit 4a67f45880433905de33632fe0c32a13b44c0b33
28371 Author: John (J5) Palmieri <johnp@redhat.com>
28372 Date: Mon Jan 31 16:51:37 2011 -0500
28374 [gi] handle hash being NULL
28376 gi/pygi-argument.c | 6 ++++++
28377 1 file changed, 6 insertions(+)
28379 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
28380 Author: John (J5) Palmieri <johnp@redhat.com>
28381 Date: Mon Jan 31 16:50:52 2011 -0500
28383 [gi] handle the situation where an aux arg comes before its parent
28385 gi/pygi-cache.c | 70
28386 ++++++++++++++++++++++++++++++++++++++++----------------
28387 gi/pygi-invoke.c | 2 +-
28388 2 files changed, 51 insertions(+), 21 deletions(-)
28390 commit 858669f92c9907dd70b4966d6a8521ed122225be
28391 Author: Martin Pitt <martin.pitt@ubuntu.com>
28392 Date: Mon Jan 31 17:38:52 2011 +0100
28394 Ship tests/org.gnome.test.gschema.xml in dist tarballs
28396 tests/Makefile.am | 3 ++-
28397 1 file changed, 2 insertions(+), 1 deletion(-)
28399 commit 77d76df59606e470808085e977fb199cc76e8251
28400 Author: John (J5) Palmieri <johnp@redhat.com>
28401 Date: Sun Jan 30 18:21:24 2011 -0500
28403 [gi] allow caching and marshalling of ghash out
28405 gi/pygi-argument.c | 155
28406 +++++++++++++++++++++++++++++++++++++++++++++++++----
28407 gi/pygi-cache.c | 27 ++++++----
28408 2 files changed, 162 insertions(+), 20 deletions(-)
28410 commit bd66af67f248a3ca90d2fa2626605263c2392e16
28411 Author: John (J5) Palmieri <johnp@redhat.com>
28412 Date: Sun Jan 30 17:06:44 2011 -0500
28414 [gi] whitespace fixes
28416 gi/pygi-cache.c | 60
28417 ++++++++++++++++++++++++++++-----------------------------
28418 1 file changed, 30 insertions(+), 30 deletions(-)
28420 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
28421 Author: John (J5) Palmieri <johnp@redhat.com>
28422 Date: Sun Jan 30 17:04:13 2011 -0500
28424 [gi] added ugly aux arg counters
28426 * we need to simplify the ffi invoke so we can simply reference args
28427 at their position in the C parameter list
28428 * this works for now but is fragile if new aux values are added in
28431 gi/pygi-argument.c | 12 ++++++++--
28432 gi/pygi-cache.c | 66
28433 +++++++++++++++++++++++++++++++++++++-----------------
28434 gi/pygi-cache.h | 2 ++
28435 gi/pygi-invoke.c | 12 +++++++---
28436 4 files changed, 66 insertions(+), 26 deletions(-)
28438 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
28439 Author: John (J5) Palmieri <johnp@redhat.com>
28440 Date: Sun Jan 30 11:30:54 2011 -0500
28442 [gi] make inout marshalling work
28444 * refactor cache generation so we can create caches and then fill
28446 values based on if they are in, out or inout
28447 * in invoke we order the pointers based on their direction
28449 gi/pygi-cache.c | 1445
28450 ++++++++++++++++++++++++++----------------------------
28451 gi/pygi-invoke.c | 19 +-
28452 2 files changed, 711 insertions(+), 753 deletions(-)
28454 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
28455 Author: John (J5) Palmieri <johnp@redhat.com>
28456 Date: Sat Jan 29 13:49:36 2011 -0500
28458 [gi] marshal arrays out
28460 gi/pygi-argument.c | 101
28461 +++++++++++++++++++++++++++++++++++++++++++++++++++--
28462 1 file changed, 99 insertions(+), 2 deletions(-)
28464 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
28465 Author: John (J5) Palmieri <johnp@redhat.com>
28466 Date: Sat Jan 29 13:48:23 2011 -0500
28468 [gi] fix sequence caching to support out
28470 gi/pygi-cache.c | 111
28471 ++++++++++++++++++++++++++++++++++++++++++++------------
28472 1 file changed, 87 insertions(+), 24 deletions(-)
28474 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
28475 Author: Martin Pitt <martin.pitt@ubuntu.com>
28476 Date: Fri Jan 28 17:14:19 2011 +0100
28478 [gi] Add GSettings tests
28480 Ryan Lortie proposed an override for more convenient GSettings access,
28482 first make sure that the canonical GLib API works.
28484 tests/Makefile.am | 7 +++++--
28485 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
28486 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
28487 3 files changed, 52 insertions(+), 2 deletions(-)
28489 commit 488478a83640d50baee963337fcc870fec76b784
28490 Author: Martin Pitt <martin.pitt@ubuntu.com>
28491 Date: Fri Jan 28 07:20:26 2011 +0100
28493 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
28495 Provide an actual insert_with_tags_by_name() instead of overloading
28496 insert_with_tags() to handle both types. This keeps the overrides
28498 with the actual GTK API.
28500 gi/overrides/Gtk.py | 19 ++++++++++++++-----
28501 tests/test_overrides.py | 4 ++--
28502 2 files changed, 16 insertions(+), 7 deletions(-)
28504 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
28505 Author: Martin Pitt <martin.pitt@ubuntu.com>
28506 Date: Thu Jan 27 13:37:18 2011 +0100
28508 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
28510 Neither insert_with_tags() nor insert_with_tags_by_name() are
28512 due to using varargs. As both are useful, support both cases in
28515 gi/overrides/Gtk.py | 5 +++++
28516 tests/test_overrides.py | 9 +++++++++
28517 2 files changed, 14 insertions(+)
28519 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
28520 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28521 Date: Thu Jan 27 12:23:18 2011 +0100
28523 Add MAINTAINERCLEANFILES
28525 This var behaves like .gitignore and allows us to skip some specific
28528 Makefile.am | 27 +++++++++++++++++++++++++++
28529 1 file changed, 27 insertions(+)
28531 commit 8a98d26981ce68809a21c64cac4962e58c927905
28532 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28533 Date: Thu Jan 27 12:15:30 2011 +0100
28535 Remove .gitignore files and use git.mk
28537 git.mk is a script maintained in pango. From time to time we must
28538 check if it was updated and update it here.
28540 .gitignore | 46 -----------
28542 codegen/.gitignore | 2 -
28543 codegen/Makefile.am | 2 +
28544 docs/.gitignore | 7 --
28545 docs/Makefile.am | 2 +
28546 examples/Makefile.am | 2 +
28547 gi/.gitignore | 40 ----------
28548 gi/Makefile.am | 2 +
28549 gi/overrides/Makefile.am | 2 +
28550 gi/repository/Makefile.am | 2 +
28551 gi/tests/Makefile.am | 2 +
28553 ++++++++++++++++++++++++++++++++++++++++++++++
28554 glib/Makefile.am | 2 +
28555 gobject/.gitignore | 3 -
28556 gobject/Makefile.am | 2 +
28557 tests/.gitignore | 2 -
28558 tests/Makefile.am | 2 +
28559 18 files changed, 222 insertions(+), 100 deletions(-)
28561 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
28562 Author: Martin Pitt <martin.pitt@ubuntu.com>
28563 Date: Thu Jan 27 12:04:19 2011 +0100
28565 pygi-convert.sh: Convert Pango.TabAlign.*
28567 pygi-convert.sh | 1 +
28568 1 file changed, 1 insertion(+)
28570 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
28571 Author: Martin Pitt <martin.pitt@ubuntu.com>
28572 Date: Thu Jan 27 12:02:39 2011 +0100
28574 pygi-convert.sh: Drop window -> get_window() conversion
28576 It is doing more harm than good for projects which use things like
28579 pygi-convert.sh | 1 -
28580 1 file changed, 1 deletion(-)
28582 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
28583 Author: Martin Pitt <martin.pitt@ubuntu.com>
28584 Date: Thu Jan 27 11:58:26 2011 +0100
28586 pygi-convert.sh: Don't convert self.window assignments
28588 pygi-convert.sh | 2 +-
28589 1 file changed, 1 insertion(+), 1 deletion(-)
28591 commit 975341a26772966d4afc87a88a6a566d61237fa0
28592 Author: Steve Frécinaux <code@istique.net>
28593 Date: Fri Jan 21 18:41:54 2011 +0100
28595 Fix leaked python reference in python-defined subclasses
28597 https://bugzilla.gnome.org/show_bug.cgi?id=640184
28599 gobject/gobjectmodule.c | 1 +
28600 tests/test_gobject.py | 4 ++++
28601 2 files changed, 5 insertions(+)
28603 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
28604 Author: Steve Frécinaux <code@istique.net>
28605 Date: Fri Jan 21 15:54:43 2011 +0100
28607 Add some tests for the number of python refs held at creation time
28609 https://bugzilla.gnome.org/show_bug.cgi?id=640184
28611 tests/test_gobject.py | 21 +++++++++++++++++++++
28612 1 file changed, 21 insertions(+)
28614 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
28615 Author: Steve Frécinaux <code@istique.net>
28616 Date: Fri Jan 21 17:24:49 2011 +0100
28618 Factor out parameter marshalling from construction functions.
28620 https://bugzilla.gnome.org/show_bug.cgi?id=640197
28622 gobject/gobjectmodule.c | 35 ++--------------------
28623 gobject/pygobject-private.h | 5 ++++
28624 gobject/pygobject.c | 71
28625 +++++++++++++++++++++++++++------------------
28626 3 files changed, 50 insertions(+), 61 deletions(-)
28628 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
28629 Author: John (J5) Palmieri <johnp@redhat.com>
28630 Date: Wed Jan 26 15:34:24 2011 -0500
28632 [gi] in python 3 an array of uint8 can be bytes but not string
28634 tests/test_gi.py | 4 +++-
28635 1 file changed, 3 insertions(+), 1 deletion(-)
28637 commit 843553ea958eddec185bb660851a310dc050a14b
28638 Author: John (J5) Palmieri <johnp@redhat.com>
28639 Date: Wed Jan 26 15:30:06 2011 -0500
28641 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
28643 gi/overrides/Gio.py | 6 +++++-
28644 1 file changed, 5 insertions(+), 1 deletion(-)
28646 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
28647 Author: John (J5) Palmieri <johnp@redhat.com>
28648 Date: Wed Jan 26 15:17:03 2011 -0500
28650 [gi] python 3 fixes
28652 Patches need to work in Python 3 - here are some of the issues I
28654 Patch submitters should keep this in mind. When I note to only
28656 in tests it means that there is a compat module that is only available
28658 tests. Actuall code should either add the workaround to the top
28660 module or try not to have a distinction between things such as
28662 longs which no longer exist in Python 3
28664 * use range instead of xrange - loss of performance in Python 2 but
28666 treats range similarly to python 2's xrange
28667 * use dict.items() instead of dict.iteritems() - same as the xrange
28669 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
28671 if sys.version_info > (3, 0):
28673 return hasattr(obj, '__call__')
28675 * using unicode in tests is tricky, you can't use u'' even in
28677 conditional as python3's parser chokes on it. Do this in tests
28681 from compathelper import _unicode
28682 unicode_string = _unicode('this is a unicode string')
28684 * exception caching changed in 2.7, instead of except Exception,
28686 except Exception as e. Do this to be compatible with older
28690 etype, e = sys.exc_info()[:2]
28692 * Unbound methods with an im_func attribute no longer exits in 3.x.
28693 Unbound methods are now just functions so class.method in 3.x is
28694 equivalent to class.method.im_func in 2.x. If you have to go this
28697 func = class1.method
28698 if sys.version_info < (3,0):
28699 func = func.im_func
28701 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
28702 only in tests) do this:
28704 from compathelper import _long
28707 gi/overrides/GLib.py | 16 ++++++++--------
28708 gi/types.py | 5 ++++-
28709 tests/compathelper.py | 19 +++++++++++++++++++
28710 tests/test_gdbus.py | 12 ++++++++----
28711 tests/test_gi.py | 19 ++++++++++++-------
28712 tests/test_overrides.py | 8 +++++---
28713 6 files changed, 56 insertions(+), 23 deletions(-)
28715 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
28716 Author: John (J5) Palmieri <johnp@redhat.com>
28717 Date: Wed Jan 26 14:00:08 2011 -0500
28719 [gi] fix try/except blocks using depricated raise format
28721 gi/overrides/GLib.py | 4 ++--
28722 gi/overrides/Gdk.py | 2 +-
28723 2 files changed, 3 insertions(+), 3 deletions(-)
28725 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
28726 Author: Martin Pitt <martin.pitt@ubuntu.com>
28727 Date: Wed Jan 26 19:03:48 2011 +0100
28729 [gi] Add docstring to GLib.Variant constructor
28731 gi/overrides/GLib.py | 11 +++++++++++
28732 1 file changed, 11 insertions(+)
28734 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
28735 Author: Martin Pitt <martin.pitt@ubuntu.com>
28736 Date: Wed Jan 26 18:45:38 2011 +0100
28738 [gi] update gdbus test cases for previous GVariant change
28740 tests/test_gdbus.py | 4 ++--
28741 1 file changed, 2 insertions(+), 2 deletions(-)
28743 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
28744 Author: Martin Pitt <martin.pitt@ubuntu.com>
28745 Date: Wed Jan 26 18:39:17 2011 +0100
28747 [gi] Accept only a single object in GLib.Variant constructor
28749 We previously allowed flat arguments for tuple signatures, e. g.
28751 GLib.Variant('(ii)', 1, 2)
28753 However, that's not how GVariant is supposed to work. Remove the
28755 to handle flat argument lists, and only accept a single value, i. e.
28757 GLib.Variant('(ii)', (1, 2))
28759 Note that this breaks the current API, but as it is not used widely
28763 Thanks to Ryan Lortie for pointing this out!
28765 gi/overrides/GLib.py | 25 ++++++++++---------------
28766 tests/test_overrides.py | 32 +++++++++++++-------------------
28767 2 files changed, 23 insertions(+), 34 deletions(-)
28769 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
28770 Author: Laszlo Pandy <lpandy@src.gnome.org>
28771 Date: Wed Jan 26 00:40:49 2011 +0100
28773 Speed up _setup_native_vfuncs()
28775 This changes _setup_native_vfuncs() to only install native
28776 vfunc wrappers from the current class on the current class.
28777 Native vfuncs will not be propogated up or down the class
28778 hierarchy as this is unnecessary and wastes CPU and memory.
28780 Since the normal process in python to retrieve a method or
28781 attribute recurses to the base classes if an attribute is not
28782 found in the subclass, there is no need to setup all base class
28783 virtual functions on a subclass.
28785 This patch removes the recursion in _setup_native_vfuncs()
28786 and lets Python find them in the base classes like a normal
28787 Python class would work. This significantly increases the speed
28788 of any class which is or inherits from a C class which includes
28791 https://bugzilla.gnome.org/show_bug.cgi?id=640629
28793 gi/types.py | 26 +++++++++++++-------------
28794 tests/test_gi.py | 13 +++++++++++++
28795 2 files changed, 26 insertions(+), 13 deletions(-)
28797 commit 569d42ac2f50fb706ef289ff631db743483f40ee
28798 Author: Laszlo Pandy <lpandy@src.gnome.org>
28799 Date: Thu Jan 20 16:26:18 2011 +0100
28801 Speed up class creation: rewrite _setup_vfuncs() to be much more
28804 This patch rewrites the _setup_vfuncs() method to remove recursion and
28805 make the running time linear in the number of virtual functions to
28807 (ie. methods starting with "do_") instead of linear in the number of
28808 virtual functions in the base class which could possibly be
28811 Since most classes do not override all of the virtual functions in the
28812 base class (and many override none), this runs much faster.
28814 It is possible to not recurse on all base classes because
28816 base classes will have the virtual function installed as an attribute.
28817 Thus getattr() can be called, which recurses to the base classes much
28818 faster than a custom implementation in Python. If the method cannot be
28819 found with getattr(), all interface bases classes are searched
28822 The function is_function_in_classes() has been deleted. Because of the
28823 above changes, it is not used anymore.
28825 https://bugzilla.gnome.org/show_bug.cgi?id=640073
28828 ++++++++++++++++++++++++++++++++++---------------------
28829 tests/test_gi.py | 13 +++++++
28830 2 files changed, 77 insertions(+), 40 deletions(-)
28832 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
28833 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28834 Date: Mon Jan 24 19:23:19 2011 +0100
28836 pygi-convert.sh: Convert gtk.UI_MANAGER_*
28838 pygi-convert.sh | 1 +
28839 1 file changed, 1 insertion(+)
28841 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
28842 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28843 Date: Fri Jan 21 18:41:54 2011 +0100
28845 pygi-convert.sh: Convert gdk.GRAB_*
28847 pygi-convert.sh | 1 +
28848 1 file changed, 1 insertion(+)
28850 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
28851 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28852 Date: Fri Jan 21 16:45:07 2011 +0100
28854 [gi] set the gtype GValue correctly
28856 gi/pygi-property.c | 4 ++--
28857 1 file changed, 2 insertions(+), 2 deletions(-)
28859 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
28860 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28861 Date: Fri Jan 21 16:20:23 2011 +0100
28863 [gi] use the right argument type for callback
28865 gi/pygi-foreign-cairo.c | 8 ++++----
28866 gi/pygi-foreign-gvariant.c | 4 ++--
28867 gi/pygi-foreign-gvariant.h | 2 +-
28868 gi/pygi-foreign.c | 2 +-
28870 5 files changed, 9 insertions(+), 9 deletions(-)
28872 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
28873 Author: John (J5) Palmieri <johnp@redhat.com>
28874 Date: Fri Jan 21 09:23:54 2011 -0500
28876 [gi] marshal out flags and enum
28878 gi/pygi-argument.c | 14 +++++++++-----
28879 gi/pygi-cache.c | 24 ++++++++++++------------
28880 2 files changed, 21 insertions(+), 17 deletions(-)
28882 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
28883 Author: John (J5) Palmieri <johnp@redhat.com>
28884 Date: Fri Jan 21 08:18:37 2011 -0500
28886 [gi] marshal unions
28888 gi/pygi-cache.c | 27 +++++++++++++--------------
28889 1 file changed, 13 insertions(+), 14 deletions(-)
28891 commit a060287d1a6d190acb9d344f08fd5662e3296da5
28892 Author: Martin Pitt <martin.pitt@ubuntu.com>
28893 Date: Fri Jan 21 11:00:27 2011 +0100
28895 [gi] Add test cases for GDBus client operations
28897 tests/Makefile.am | 1 +
28898 tests/test_gdbus.py | 94
28899 +++++++++++++++++++++++++++++++++++++++++++++++++++++
28900 2 files changed, 95 insertions(+)
28902 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
28903 Author: John (J5) Palmieri <johnp@redhat.com>
28904 Date: Fri Jan 21 04:28:15 2011 -0500
28906 [gi] error out if the constructor returns NULL
28908 gi/pygi-invoke.c | 7 +++++++
28909 1 file changed, 7 insertions(+)
28911 commit 58ff2b2c38c1004861083ca88633be76767229f0
28912 Author: John (J5) Palmieri <johnp@redhat.com>
28913 Date: Fri Jan 21 04:26:45 2011 -0500
28915 [gi] throw error for caller allocates until we can write code to
28918 gi/pygi-cache.c | 11 +++++++++++
28919 1 file changed, 11 insertions(+)
28921 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
28922 Author: John (J5) Palmieri <johnp@redhat.com>
28923 Date: Fri Jan 21 04:26:11 2011 -0500
28925 [gi] support struct out
28927 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
28928 gi/pygi-cache.c | 15 ++-------------
28929 2 files changed, 28 insertions(+), 17 deletions(-)
28931 commit 3133dc595adf44279397d30712c0f8595f0e1acc
28932 Author: John (J5) Palmieri <johnp@redhat.com>
28933 Date: Fri Jan 21 04:22:06 2011 -0500
28935 [gi] move to using type_info and interface_info instead of arg_info
28937 * only arguments have arg_infos, not return types and instances so
28938 type_info is much better to pass. In fact most API that took an
28939 arg_info simply converted it to a type_info
28940 * In the case of instances for methods we don't even have a type_info.
28941 Since all instances are interfaces, we also attach the
28943 to the interface cache
28945 gi/pygi-argument.c | 20 ++++----------------
28946 gi/pygi-cache.c | 43
28947 ++++++++++++++++++++++++++++++++-----------
28948 gi/pygi-cache.h | 4 +++-
28949 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
28950 gi/pygi-foreign-gvariant.c | 11 +++++------
28951 gi/pygi-foreign-gvariant.h | 10 +++++-----
28952 gi/pygi-foreign.c | 21 +++++++++------------
28953 gi/pygi-foreign.h | 6 +++---
28954 gi/pygi.h | 8 ++++----
28955 9 files changed, 77 insertions(+), 70 deletions(-)
28957 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
28958 Author: Martin Pitt <martin.pitt@ubuntu.com>
28959 Date: Fri Jan 21 09:54:14 2011 +0100
28961 [gi] Add Variant construction/unpack support for boxed Variants
28963 Construction uses a GVariantBuilder for now, as the new_variant()
28965 currently does not work (see
28966 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
28968 gi/overrides/GLib.py | 18 +++++++++++++++++-
28969 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
28970 2 files changed, 43 insertions(+), 1 deletion(-)
28972 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
28973 Merge: bc29600a bd002c72
28974 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28975 Date: Fri Jan 21 09:33:16 2011 +0100
28977 Merge branch 'windows-setup-fixes'
28979 commit bc29600a2a04c972ceab7ef8d3292e8633977591
28980 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
28981 Date: Thu Jan 20 19:48:23 2011 +0100
28983 pygi-convert.sh: GdkPixbuf methods
28987 pygi-convert.sh | 1 +
28988 1 file changed, 1 insertion(+)
28990 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
28991 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
28992 Date: Thu Jan 20 19:45:01 2011 +0100
28994 pygi-convert.sh: Gdk.COLORSPACE_RGB
28998 pygi-convert.sh | 1 +
28999 1 file changed, 1 insertion(+)
29001 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
29002 Author: Martin Pitt <martin.pitt@ubuntu.com>
29003 Date: Wed Jan 19 11:41:11 2011 +0100
29005 [gi] Support nested objects and empty sequences in GLib.Variant
29008 The GVariant constructor (in the overrides) previously did not
29010 arrays/dictionaries or nested structures. Rewrite the VariantCreator
29012 be fully recursive and determine the element types of
29013 arrays/dictionaries.
29015 This now also allows you to use actual tuples as input values for
29017 tuple types. Taking values from the flat argument list is still
29019 convenience, though.
29021 https://bugzilla.gnome.org/show_bug.cgi?id=639939
29023 gi/overrides/GLib.py | 229
29024 ++++++++++++++++++++++++++----------------------
29025 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
29026 2 files changed, 273 insertions(+), 115 deletions(-)
29028 commit ac095f5435f106e175fa3297cb273e63c85d2809
29029 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29030 Date: Thu Jan 20 15:55:45 2011 +0100
29032 Uncomment test_gi.TestInterfaceClash
29034 tests/test_gi.py | 22 +++++++++++-----------
29035 1 file changed, 11 insertions(+), 11 deletions(-)
29037 commit 1239f3709ba257c404dda72b7067b77b19c240fa
29038 Author: John (J5) Palmieri <johnp@redhat.com>
29039 Date: Thu Jan 20 09:05:02 2011 -0500
29041 [gi] add support for enum and flags
29043 gi/pygi-argument.c | 121
29044 +++++++++++++++++++++++++++++++++++++++++------------
29045 gi/pygi-cache.c | 30 ++++++-------
29046 2 files changed, 111 insertions(+), 40 deletions(-)
29048 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
29049 Author: Steve Frécinaux <code@istique.net>
29050 Date: Thu Jan 20 14:14:15 2011 +0100
29052 Fix reference leaks for GInitiallyUnowned objects
29054 References were leaked for GInitiallyUnowned objects which got their
29055 wrappers created several times, because someone else holds reference
29056 on it and it got out of python scope at some point.
29058 https://bugzilla.gnome.org/show_bug.cgi?id=639949
29060 gobject/gobjectmodule.c | 2 ++
29061 gobject/pygobject.c | 14 +++++------
29062 tests/test-floating.c | 36 +++++++++++++++++++++++++++
29063 tests/test-floating.h | 21 ++++++++++++++++
29064 tests/test_gobject.py | 63
29065 ++++++++++++++++++++++++++++++++++++++++++++++++
29066 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
29067 6 files changed, 179 insertions(+), 7 deletions(-)
29069 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
29070 Author: Steve Frécinaux <code@istique.net>
29071 Date: Wed Jan 19 16:57:57 2011 +0100
29073 Add tests for refcount of a GObject owned by a library
29075 When the object is constructed, its refcount is 2 because the library
29076 refs it once. It should remain around until we ask the library to
29077 release its reference.
29079 https://bugzilla.gnome.org/show_bug.cgi?id=639949
29081 tests/test-floating.c | 30 +++++++++++++++++++++++
29082 tests/test-floating.h | 20 ++++++++++++++++
29083 tests/test_gobject.py | 62
29084 ++++++++++++++++++++++++++++++++++++++++++++++++
29085 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
29086 4 files changed, 163 insertions(+)
29088 commit b6737b91938d527872eff1d645a205cacf94e15d
29089 Author: Steve Frécinaux <code@istique.net>
29090 Date: Wed Jan 19 14:52:41 2011 +0100
29092 Add a test to check for regular object reference count
29094 https://bugzilla.gnome.org/show_bug.cgi?id=639949
29096 tests/test_gobject.py | 8 +++++++-
29097 1 file changed, 7 insertions(+), 1 deletion(-)
29099 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
29100 Author: Martin Pitt <martin.pitt@ubuntu.com>
29101 Date: Thu Jan 20 14:15:52 2011 +0100
29103 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
29105 GTK master now landed a lot of annotation fixes which also correctly
29107 array length argument of
29108 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
29109 drop the explicit array length argument from the call in the override.
29111 gi/overrides/Gtk.py | 2 --
29112 1 file changed, 2 deletions(-)
29114 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
29115 Author: Steve Frécinaux <code@istique.net>
29116 Date: Wed Jan 19 18:04:10 2011 +0100
29118 Fix a typo in a private symbol name.
29120 gobject/gobjectmodule.c | 6 +++---
29121 1 file changed, 3 insertions(+), 3 deletions(-)
29123 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
29124 Author: Martin Pitt <martin.pitt@ubuntu.com>
29125 Date: Thu Jan 20 11:49:08 2011 +0100
29127 pygi-convert.sh: Convert glib.source_remove()
29129 pygi-convert.sh | 1 +
29130 1 file changed, 1 insertion(+)
29132 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
29133 Author: Martin Pitt <martin.pitt@ubuntu.com>
29134 Date: Thu Jan 20 11:42:34 2011 +0100
29136 Fix typo in previous commit to actually convert glib.GError
29138 pygi-convert.sh | 2 +-
29139 1 file changed, 1 insertion(+), 1 deletion(-)
29141 commit b238cb614338f46e6feb7935cca0a55c7a929418
29142 Author: Martin Pitt <martin.pitt@ubuntu.com>
29143 Date: Thu Jan 20 11:40:14 2011 +0100
29145 pygi-convert.sh: Move some glib bits which are better handled
29148 pygi-convert.sh | 3 +++
29149 1 file changed, 3 insertions(+)
29151 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
29152 Author: Laszlo Pandy <lpandy@src.gnome.org>
29153 Date: Wed Jan 19 12:00:02 2011 +0100
29155 Modify override for Gtk.Adjustment to allow position or keyword
29156 arguments in __init__().
29158 Previously passing no arguments was not working, because the default
29159 value for each parameter was None, and GObject.__init__() refuses to
29160 allow None for integer properties. This patch does not pass None up
29161 to GObject.__init__. Instead it does not pass the parameter at all,
29162 and uses the class's default values.
29164 https://bugzilla.gnome.org/show_bug.cgi?id=639934
29166 gi/overrides/Gtk.py | 14 ++++++++++++--
29167 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
29168 2 files changed, 39 insertions(+), 9 deletions(-)
29170 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
29171 Author: Martin Pitt <martin.pitt@ubuntu.com>
29172 Date: Wed Jan 19 22:52:51 2011 +0100
29174 [gi] Fix small typo in previous commit
29176 The GVariant signature of the self test had a trailing 'i'. The
29178 GVariant builder doesn't mind, but the new implementation proposed
29182 tests/test_overrides.py | 2 +-
29183 1 file changed, 1 insertion(+), 1 deletion(-)
29185 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
29186 Author: Martin Pitt <martin.pitt@ubuntu.com>
29187 Date: Wed Jan 19 20:18:19 2011 +0100
29189 [gi] Add pythonic iterator and indexing for string GVariants
29191 This extends commit b1a98083c to also work for strings.
29193 gi/overrides/GLib.py | 8 +++++++-
29194 tests/test_overrides.py | 13 +++++++++++++
29195 2 files changed, 20 insertions(+), 1 deletion(-)
29197 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
29198 Author: John (J5) Palmieri <johnp@redhat.com>
29199 Date: Wed Jan 19 14:08:03 2011 -0500
29201 [gi] return NULL if out_marshaller fails
29203 gi/pygi-invoke.c | 5 +++++
29204 1 file changed, 5 insertions(+)
29206 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
29207 Author: John (J5) Palmieri <johnp@redhat.com>
29208 Date: Wed Jan 19 13:57:54 2011 -0500
29210 [gi] fix some transfer issues and test case failures
29212 gi/pygi-argument.c | 4 ++++
29213 gi/pygi-cache.c | 11 ++++++++---
29214 gi/pygi-invoke.c | 17 +++++++++--------
29215 3 files changed, 21 insertions(+), 11 deletions(-)
29217 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
29218 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29219 Date: Wed Jan 19 18:09:23 2011 +0100
29221 Construct structs using default API constructor
29223 If the struct has something that looks like a default constructor,
29224 use it instead of trying to directly allocate it, as it will fail
29225 if the struct fields are not exposed.
29227 https://bugzilla.gnome.org/show_bug.cgi?id=627444
29229 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
29230 gi/types.py | 7 +++++++
29231 2 files changed, 44 insertions(+)
29233 commit db7300e173388d9557dcd2333781bfaa6b021605
29234 Author: Martin Pitt <martin.pitt@ubuntu.com>
29235 Date: Wed Jan 19 18:54:39 2011 +0100
29237 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
29239 pygi-convert.sh | 2 ++
29240 1 file changed, 2 insertions(+)
29242 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
29243 Author: Martin Pitt <martin.pitt@ubuntu.com>
29244 Date: Wed Jan 19 18:43:29 2011 +0100
29246 pygi-convert.sh: Handle .window attributes
29248 In general, convert them to .get_window(). For some of them, prefer
29250 GtkWidget methods instead.
29252 pygi-convert.sh | 5 ++++-
29253 1 file changed, 4 insertions(+), 1 deletion(-)
29255 commit b1049b947d073fb569ba900a4d5c8519482d831e
29256 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29257 Date: Wed Jan 19 17:35:09 2011 +0100
29259 Also deal with foreign boxed structs
29261 cairo.Context has been boxed and our tests started failing
29263 https://bugzilla.gnome.org/show_bug.cgi?id=639967
29265 gi/pygi-argument.c | 4 ++--
29266 1 file changed, 2 insertions(+), 2 deletions(-)
29268 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
29269 Author: Laszlo Pandy <lpandy@src.gnome.org>
29270 Date: Wed Jan 19 17:45:11 2011 +0100
29272 [gi] Convert GErrors to GObject.GError exceptions, and throw them
29273 upon returning from calling the C function.
29275 This changes gi to make use of pyglib_error_check() which already
29278 The included tests make use of the other patch attached to this bug,
29279 to check that the right exception is thrown from the new function
29280 in GIMarshallingTests.
29281 two Gtk C functions.
29283 https://bugzilla.gnome.org/show_bug.cgi?id=639834
29285 gi/Makefile.am | 3 ++-
29286 gi/pygi-invoke.c | 12 +++---------
29287 tests/test_gi.py | 10 ++++++++++
29288 3 files changed, 15 insertions(+), 10 deletions(-)
29290 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
29291 Author: John (J5) Palmieri <johnp@redhat.com>
29292 Date: Wed Jan 19 12:05:45 2011 -0500
29294 [gi] fix out marshalling for a couple of int types
29296 gi/pygi-argument.c | 2 +-
29297 gi/pygi-cache.c | 2 +-
29298 2 files changed, 2 insertions(+), 2 deletions(-)
29300 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
29301 Author: John (J5) Palmieri <johnp@redhat.com>
29302 Date: Wed Jan 19 11:59:09 2011 -0500
29304 [gi] fixed range checking and type conversion with unsigned and
29307 gi/pygi-argument.c | 90
29308 +++++++++++++++++++++++++++++++++++++++++++++---------
29309 gi/pygi-cache.c | 2 +-
29310 2 files changed, 76 insertions(+), 16 deletions(-)
29312 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
29313 Author: Martin Pitt <martin.pitt@ubuntu.com>
29314 Date: Wed Jan 19 17:03:06 2011 +0100
29316 pygi-convert.sh: Don't convert glib -> GLib for now
29318 This currently leads to a load of crashes, MemoryErrors, etc, as
29320 very well introspectable, due to the low-level operations that
29323 John Palmieri confirms that using the static "glib" binding is
29325 now, so disable the replacement rules.
29327 pygi-convert.sh | 19 ++++++++++---------
29328 1 file changed, 10 insertions(+), 9 deletions(-)
29330 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
29331 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29332 Date: Wed Jan 19 16:47:08 2011 +0100
29334 Link libregress.so to GIO_LIBS again
29336 configure.ac | 5 +++++
29337 1 file changed, 5 insertions(+)
29339 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
29340 Author: Laszlo Pandy <lpandy@src.gnome.org>
29341 Date: Wed Jan 19 16:14:42 2011 +0100
29343 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
29345 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
29346 because in Python attributes starting with a numeral causes a
29349 gi/overrides/Gdk.py | 7 +++++--
29350 1 file changed, 5 insertions(+), 2 deletions(-)
29352 commit 4f5d20966d4a8c649e5fae584039621edab178f3
29353 Author: John (J5) Palmieri <johnp@redhat.com>
29354 Date: Wed Jan 19 10:02:40 2011 -0500
29356 [gi] use correct format stings when setting errors
29358 gi/pygi-argument.c | 12 ++++++------
29359 1 file changed, 6 insertions(+), 6 deletions(-)
29361 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
29362 Author: John (J5) Palmieri <johnp@redhat.com>
29363 Date: Wed Jan 19 09:45:09 2011 -0500
29365 [gi] allow marshalling strings as None
29367 gi/pygi-argument.c | 5 +++++
29368 1 file changed, 5 insertions(+)
29370 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
29371 Author: John (J5) Palmieri <johnp@redhat.com>
29372 Date: Wed Jan 19 09:41:56 2011 -0500
29374 [gi] make error messages more detailed
29376 gi/pygi-argument.c | 2 +-
29377 gi/pygi-cache.c | 18 +++++++++---------
29378 2 files changed, 10 insertions(+), 10 deletions(-)
29380 commit f0b17605ed2eb917b350654b070984beb553eae3
29381 Author: John (J5) Palmieri <johnp@redhat.com>
29382 Date: Wed Jan 19 09:41:13 2011 -0500
29384 [gi] allow marshalling None for hashes
29386 gi/pygi-argument.c | 5 +++++
29387 1 file changed, 5 insertions(+)
29389 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
29390 Author: John (J5) Palmieri <johnp@redhat.com>
29391 Date: Wed Jan 19 09:40:37 2011 -0500
29393 [gi] add marshalling to some out values
29395 gi/pygi-argument.c | 50
29396 +++++++++++++++++++++++++++++++++++++++++---------
29397 1 file changed, 41 insertions(+), 9 deletions(-)
29399 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
29400 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29401 Date: Wed Jan 19 15:27:33 2011 +0100
29403 [gi] Fixed typo in exception
29405 gi/overrides/Gtk.py | 2 +-
29406 1 file changed, 1 insertion(+), 1 deletion(-)
29408 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
29409 Author: John (J5) Palmieri <johnp@redhat.com>
29410 Date: Wed Jan 19 09:13:44 2011 -0500
29412 [gi] fix marshalling structs
29414 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
29415 gi/pygi-foreign.c | 18 ++++++++++++------
29416 gi/pygi-foreign.h | 8 ++++----
29417 3 files changed, 51 insertions(+), 22 deletions(-)
29419 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
29420 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29421 Date: Wed Jan 19 15:12:25 2011 +0100
29423 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
29425 gi/overrides/Gdk.py | 4 ++--
29426 1 file changed, 2 insertions(+), 2 deletions(-)
29428 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
29429 Author: Martin Pitt <martin.pitt@ubuntu.com>
29430 Date: Wed Jan 19 14:54:57 2011 +0100
29432 Revert "Fix Pango FontDescription override"
29435 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
29436 the default constructor actually does take no arguments; we should
29438 the MemoryError. Add a test case for this.
29440 Remove the FIXME though, as pango_font_description_from_string()
29442 FontDescription constructor, but a static factory method.
29444 Thanks to Paolo Borelli for pointing this out!
29446 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
29448 gi/overrides/Pango.py | 5 ++++-
29449 tests/test_overrides.py | 5 +++++
29450 2 files changed, 9 insertions(+), 1 deletion(-)
29452 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
29453 Author: Tony Young <rofflwaffls@gmail.com>
29454 Date: Thu Dec 16 23:39:33 2010 +0000
29456 Python iterator interface support for GFileEnumerator.
29458 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
29459 gi/overrides/Makefile.am | 1 +
29460 tests/test_overrides.py | 20 ++++++++++++++++++++
29461 3 files changed, 62 insertions(+)
29463 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
29464 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29465 Date: Fri Jan 7 12:10:37 2011 +0100
29467 Remove gio static bindings
29469 https://bugzilla.gnome.org/show_bug.cgi?id=638899
29472 configure.ac | 25 -
29473 gio/.gitignore | 3 -
29474 gio/Makefile.am | 117 -
29475 gio/__init__.py | 40 -
29476 gio/gappinfo.override | 213 --
29477 gio/gapplaunchcontext.override | 99 -
29478 gio/gbufferedinputstream.override | 70 -
29479 gio/gcancellable.override | 38 -
29480 gio/gdatainputstream.override | 250 --
29481 gio/gdrive.override | 347 --
29482 gio/gfile.override | 2215 -----------
29483 gio/gfileattribute.override | 153 -
29484 gio/gfileenumerator.override | 184 -
29485 gio/gfileinfo.override | 121 -
29486 gio/gfileinputstream.override | 68 -
29487 gio/gfileiostream.override | 68 -
29488 gio/gfileoutputstream.override | 68 -
29489 gio/gicon.override | 310 --
29490 gio/ginputstream.override | 344 --
29491 gio/gio-types.defs | 807 ----
29492 gio/gio.defs | 7465
29493 -------------------------------------
29494 gio/gio.override | 409 --
29495 gio/giomodule.c | 208 --
29496 gio/giostream.override | 68 -
29497 gio/gmemoryinputstream.override | 91 -
29498 gio/gmemoryoutputstream.override | 45 -
29499 gio/gmount.override | 454 ---
29500 gio/goutputstream.override | 292 --
29501 gio/gresolver.override | 312 --
29502 gio/gsocket.override | 575 ---
29503 gio/gvolume.override | 237 --
29504 gio/gvolumemonitor.override | 94 -
29505 gio/pygio-utils.c | 236 --
29506 gio/pygio-utils.h | 49 -
29507 gio/unix-types.defs | 55 -
29508 gio/unix.defs | 475 ---
29509 gio/unix.override | 62 -
29510 gio/unixmodule.c | 52 -
29511 tests/Makefile.am | 9 -
29512 tests/runtests-windows.py | 3 -
29513 tests/test_gcancellable.py | 15 -
29514 tests/test_gicon.py | 112 -
29515 tests/test_gio.py | 1138 ------
29516 tests/test_gresolver.py | 68 -
29517 tests/test_gsocket.py | 126 -
29518 46 files changed, 1 insertion(+), 18191 deletions(-)
29520 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
29521 Author: John (J5) Palmieri <johnp@redhat.com>
29522 Date: Wed Jan 19 07:56:16 2011 -0500
29524 [gi] switch from using (*arg). to arg-> when referencing union
29527 gi/pygi-argument.c | 54
29528 +++++++++++++++++++++++++++---------------------------
29529 1 file changed, 27 insertions(+), 27 deletions(-)
29531 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
29532 Author: John (J5) Palmieri <johnp@redhat.com>
29533 Date: Wed Jan 19 07:49:52 2011 -0500
29535 [gi] return FALSE when setting errors in the marshaller
29537 gi/pygi-argument.c | 3 ++-
29538 1 file changed, 2 insertions(+), 1 deletion(-)
29540 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
29541 Author: John (J5) Palmieri <johnp@redhat.com>
29542 Date: Wed Jan 19 07:14:18 2011 -0500
29544 [gi] do arg counting in new invoke
29546 gi/pygi-cache.c | 2 ++
29547 gi/pygi-cache.h | 14 ++++++++------
29548 gi/pygi-invoke-state-struct.h | 2 +-
29549 gi/pygi-invoke.c | 20 +++++++++++++++++++-
29550 4 files changed, 30 insertions(+), 8 deletions(-)
29552 commit f45033858bed70d7defec3f71f26aa5b3999d680
29553 Author: John (J5) Palmieri <johnp@redhat.com>
29554 Date: Wed Jan 19 06:35:45 2011 -0500
29556 [gi] set length for uint8 in arrays in new invoke marshaller
29558 gi/pygi-argument.c | 1 +
29559 1 file changed, 1 insertion(+)
29561 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
29562 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29563 Date: Wed Jan 19 12:04:15 2011 +0100
29565 [gi] set length when marshalling guint8 erases
29567 gi/pygi-argument.c | 1 +
29568 tests/test_gi.py | 4 ++++
29569 2 files changed, 5 insertions(+)
29571 commit 22eee43e50a150ace80694213fb87be9f0c72f51
29572 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29573 Date: Wed Jan 19 10:27:47 2011 +0100
29575 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
29577 pygi-convert.sh | 1 +
29578 1 file changed, 1 insertion(+)
29580 commit a4b210d69c832629894090b7154ae194209b0c60
29581 Author: Arnaud Charlet <charlet@adacore.com>
29582 Date: Tue Jan 18 18:31:29 2011 +0100
29584 Disable calls to PyGILState_* when threads are disabled
29586 Since threads may also be disabled in Python too, those symbols
29590 https://bugzilla.gnome.org/show_bug.cgi?id=374603
29592 glib/pyglib.c | 12 ++++++++++++
29593 gobject/pygobject-private.h | 6 ++++++
29594 2 files changed, 18 insertions(+)
29596 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
29597 Author: John (J5) Palmieri <johnp@redhat.com>
29598 Date: Tue Jan 18 12:31:57 2011 -0500
29600 [gi] fix handling of garrays vs c arrays
29602 gi/pygi-argument.c | 9 +++++++--
29603 gi/pygi-cache.c | 2 ++
29604 gi/pygi-cache.h | 1 +
29605 3 files changed, 10 insertions(+), 2 deletions(-)
29607 commit a000627ec3904b9414ce375aec8d144fc0c26248
29608 Author: Martin Pitt <martin.pitt@ubuntu.com>
29609 Date: Tue Jan 18 18:29:50 2011 +0100
29611 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
29612 these should be ported properly
29614 pygi-convert.sh | 1 -
29615 1 file changed, 1 deletion(-)
29617 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
29618 Author: Martin Pitt <martin.pitt@ubuntu.com>
29619 Date: Tue Jan 18 18:26:01 2011 +0100
29621 pygi-convert.sh: Fix match for adding missing imports
29623 pygi-convert.sh | 8 ++++----
29624 1 file changed, 4 insertions(+), 4 deletions(-)
29626 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
29627 Author: Martin Pitt <martin.pitt@ubuntu.com>
29628 Date: Tue Jan 18 18:09:30 2011 +0100
29630 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
29632 As we are not replacing line by line, but the whole file at once,
29634 hackish unfortunately. We can't use a match test or a lookahead/behind
29637 pygi-convert.sh | 5 +++--
29638 1 file changed, 3 insertions(+), 2 deletions(-)
29640 commit f66051380c0432bf142774542ade2144adcd455e
29641 Author: John (J5) Palmieri <johnp@redhat.com>
29642 Date: Tue Jan 18 11:44:27 2011 -0500
29644 [gi] use correct union memeber when marshalling floats
29646 gi/pygi-argument.c | 2 +-
29647 1 file changed, 1 insertion(+), 1 deletion(-)
29649 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
29650 Author: Laszlo Pandy <lpandy@src.gnome.org>
29651 Date: Tue Jan 18 17:29:52 2011 +0100
29653 Remove trailing whitespace from gi/overrides/Gtk.py
29655 gi/overrides/Gtk.py | 10 +++++-----
29656 1 file changed, 5 insertions(+), 5 deletions(-)
29658 commit 1006df1929a667716c25e74b35b8f14643358732
29659 Author: John (J5) Palmieri <johnp@redhat.com>
29660 Date: Tue Jan 18 11:24:06 2011 -0500
29662 [gi] fix constructor invoking and add some support for interface
29665 * constructors are now simplified and are treated like normal
29667 which happen to return an instance
29669 gi/pygi-argument.c | 8 ++--
29670 gi/pygi-cache.c | 132
29671 +++++++++++++++++++++++++++++++++++++++++++++++++++--
29672 gi/pygi-invoke.c | 9 ++--
29673 gi/types.py | 21 +++------
29674 4 files changed, 142 insertions(+), 28 deletions(-)
29676 commit 8878c57676091c08e66bc6cbe735d898cb420582
29677 Author: Martin Pitt <martin.pitt@ubuntu.com>
29678 Date: Tue Jan 18 16:47:10 2011 +0100
29680 Fix Pango FontDescription override
29682 Trying to call __new__() on a record crashes with a MemoryError,
29684 the intended static factory method for a None argument as well
29688 gi/overrides/Pango.py | 7 +------
29689 1 file changed, 1 insertion(+), 6 deletions(-)
29691 commit efbbe71634037fa100b17327389b883b259cca54
29692 Author: Martin Pitt <martin.pitt@ubuntu.com>
29693 Date: Tue Jan 18 16:23:39 2011 +0100
29695 tests: Respect existing $GI_TYPELIB_PATH
29697 This allows us to run the test suite against local typelibs.
29699 tests/Makefile.am | 2 +-
29700 1 file changed, 1 insertion(+), 1 deletion(-)
29702 commit c96ca383350e5b9b079d9a86464922314939c006
29703 Author: John (J5) Palmieri <johnp@redhat.com>
29704 Date: Tue Jan 18 07:16:40 2011 -0500
29706 [gi] fix aux value offsets for methods and element size crashers
29708 * if the callable is a method we need to add 1 to the aux index
29709 for in values so we grab the right argument cache
29710 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
29713 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
29714 1 file changed, 24 insertions(+), 18 deletions(-)
29716 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
29717 Merge: 84d6142c 7d997b6f
29718 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29719 Date: Tue Jan 18 13:14:45 2011 +0100
29721 Merge branch 'value'
29723 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
29724 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29725 Date: Tue Jan 18 13:12:36 2011 +0100
29727 GTK overrides: Do type conversion to column types of ListStore and
29728 TreeStore in set_value
29730 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
29731 tests/test_overrides.py | 12 +++++++++++-
29732 2 files changed, 29 insertions(+), 11 deletions(-)
29734 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
29735 Author: Steve Frécinaux <code@istique.net>
29736 Date: Mon Jan 17 18:57:58 2011 +0100
29738 Always register a new GType when a GObject class is subclassed
29740 This patch makes the GType <-> python mapping much more predictible,
29741 and fixes the bug caused by overriding methods without specifying a
29742 __gtype_name__ member in the subclass, and makes type_register useless
29745 It is still possible to provide an explicit __gtype_name__ member
29747 subclass as it allows having a predictible GType name, which is handy
29748 for some of our tests. There is also an explicit special case for
29749 overrides because we obviously do not want to register new GTypes for
29750 those ones as it would clearly defeat the purpose of overrides.
29752 https://bugzilla.gnome.org/show_bug.cgi?id=543056
29754 gobject/__init__.py | 6 +++---
29755 tests/test_gi.py | 21 ++-------------------
29756 2 files changed, 5 insertions(+), 22 deletions(-)
29758 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
29759 Author: Simon van der Linden <svdlinden@gnome.org>
29760 Date: Tue Jan 18 12:57:13 2011 +0100
29762 Raise required versions of GLib and GObject-Introspection
29764 https://bugzilla.gnome.org/show_bug.cgi?id=612126
29766 configure.ac | 6 +++---
29767 1 file changed, 3 insertions(+), 3 deletions(-)
29769 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
29770 Author: Martin Pitt <martin.pitt@ubuntu.com>
29771 Date: Tue Jan 18 12:52:32 2011 +0100
29773 pygi-convert.sh: Handle keysyms
29775 pygi-convert.sh | 1 +
29776 1 file changed, 1 insertion(+)
29778 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
29779 Author: Martin Pitt <martin.pitt@ubuntu.com>
29780 Date: Tue Jan 18 12:14:09 2011 +0100
29782 GLib overrides: Add test case for array variant building
29784 tests/test_overrides.py | 7 +++++++
29785 1 file changed, 7 insertions(+)
29787 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
29788 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29789 Date: Tue Jan 18 10:21:03 2011 +0100
29791 Remove cairo.RectangleInt from the foreign module
29793 https://bugzilla.gnome.org/show_bug.cgi?id=639824
29795 gi/pygi-foreign-cairo.c | 96
29796 -------------------------------------------------
29797 1 file changed, 96 deletions(-)
29799 commit 017680c9a5e163021628bf29543598861a3b600a
29800 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29801 Date: Tue Jan 18 10:20:25 2011 +0100
29803 Dont try to guess the transfer if its a boxed
29805 https://bugzilla.gnome.org/show_bug.cgi?id=639823
29807 gi/pygi-invoke.c | 5 ++++-
29808 1 file changed, 4 insertions(+), 1 deletion(-)
29810 commit 771ef76574690eb98926249f38661d741d1ebbb0
29811 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29812 Date: Tue Jan 18 12:02:01 2011 +0100
29814 The tags can be Empty not None.
29816 gi/overrides/Gtk.py | 2 +-
29817 1 file changed, 1 insertion(+), 1 deletion(-)
29819 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
29820 Author: Martin Pitt <martin.pitt@ubuntu.com>
29821 Date: Tue Jan 18 12:01:28 2011 +0100
29823 Add Pythonic iterators and indexing to GVariant
29825 Add the usual set of iterators and index accessors to GLib.Variant
29827 which are containers.
29829 Add corresponding test cases.
29831 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
29832 tests/test_overrides.py | 55
29833 +++++++++++++++++++++++++++++++++++++++++++++++++
29834 2 files changed, 105 insertions(+)
29836 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
29837 Author: Martin Pitt <martin.pitt@ubuntu.com>
29838 Date: Tue Jan 18 10:48:03 2011 +0100
29840 Add GLib.Variant.unpack()
29842 This method decomposes a GLib.Variant into a native Python object,
29844 counterpart of _VariantCreator. This makes it a lot nicer for
29846 developers to use e. g. return values from gdbus calls.
29848 Add appropriate test case.
29850 gi/overrides/GLib.py | 45
29851 +++++++++++++++++++++++++++++++++++++++++++++
29852 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
29853 2 files changed, 77 insertions(+), 1 deletion(-)
29855 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
29856 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29857 Date: Tue Jan 18 10:56:18 2011 +0100
29859 Add override for gtk_text_buffer_insert_with_tags
29861 gi/overrides/Gtk.py | 12 ++++++++++++
29862 tests/test_overrides.py | 6 ++++++
29863 2 files changed, 18 insertions(+)
29865 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
29866 Author: Simon van der Linden <svdlinden@gnome.org>
29867 Date: Mon Jan 17 14:35:14 2011 +0100
29869 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
29871 https://bugzilla.gnome.org/show_bug.cgi?id=620215
29873 gi/Makefile.am | 6 ++++--
29874 gio/Makefile.am | 2 +-
29875 glib/Makefile.am | 2 +-
29876 m4/python.m4 | 7 +++++--
29877 tests/Makefile.am | 2 +-
29878 5 files changed, 12 insertions(+), 7 deletions(-)
29880 commit bceec758b27e6c396d17a79424633b5dc9116f54
29881 Author: Simon van der Linden <svdlinden@gnome.org>
29882 Date: Mon Jan 17 14:20:55 2011 +0100
29884 Kill JD_CHECK_PYTHON_HEADERS
29886 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
29888 https://bugzilla.gnome.org/show_bug.cgi?id=620215
29890 configure.ac | 2 +-
29891 m4/python.m4 | 31 +------------------------------
29892 2 files changed, 2 insertions(+), 31 deletions(-)
29894 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
29895 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29896 Date: Mon Jan 17 19:09:27 2011 +0100
29898 Revert "Override Gtk.Box.pack_start and pack_end to set default
29899 values to be compliant with pygtk"
29901 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
29905 gi/overrides/Gtk.py
29907 gi/overrides/Gtk.py | 10 ----------
29908 1 file changed, 10 deletions(-)
29910 commit 4fbae9629adc166627de05bb0946b71485343d69
29911 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29912 Date: Mon Jan 17 19:08:23 2011 +0100
29914 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
29915 default values to be compliant with pygtk"
29917 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
29919 gi/overrides/Gtk.py | 13 ++-----------
29920 1 file changed, 2 insertions(+), 11 deletions(-)
29922 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
29923 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29924 Date: Mon Jan 17 19:08:06 2011 +0100
29926 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
29927 set_cell_data_func to add default values to be compliant with pygtk"
29929 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
29931 gi/overrides/Gtk.py | 9 ---------
29932 1 file changed, 9 deletions(-)
29934 commit 2d9534f347505573da46743b47318e08bf073aef
29935 Author: Martin Pitt <martin.pitt@ubuntu.com>
29936 Date: Mon Jan 17 18:54:10 2011 +0100
29938 pygi-convert.sh: Handle gtk.combo_box_new_text()
29940 pygi-convert.sh | 1 +
29941 1 file changed, 1 insertion(+)
29943 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
29944 Author: John (J5) Palmieri <johnp@redhat.com>
29945 Date: Mon Jan 17 12:31:03 2011 -0500
29949 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
29950 gi/pygi-cache.c | 80
29951 +++++++++++++++++++++++++++++++++++++++++-------------
29952 gi/pygi-cache.h | 13 +++++++--
29953 gi/pygi-invoke.c | 2 +-
29954 4 files changed, 138 insertions(+), 25 deletions(-)
29956 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
29957 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29958 Date: Mon Jan 17 16:57:53 2011 +0100
29960 Override TreeSortable.set_sort_func and set_default_sort_func to
29961 add default values to be pygtk compliant
29963 gi/overrides/Gtk.py | 6 ++++++
29964 1 file changed, 6 insertions(+)
29966 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
29967 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29968 Date: Mon Jan 17 16:29:28 2011 +0100
29970 Override Gtk.TreeViewColumn.pack_start, pack_end and
29971 set_cell_data_func to add default values to be compliant with pygtk
29973 gi/overrides/Gtk.py | 9 +++++++++
29974 1 file changed, 9 insertions(+)
29976 commit 232841148f35684be83a2f47b5b18da4fb74f63a
29977 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29978 Date: Mon Jan 17 16:28:51 2011 +0100
29980 Override Gtk.CellLayout.pack_start and pack_end to add default values
29981 to be compliant with pygtk
29983 gi/overrides/Gtk.py | 13 +++++++++++--
29984 1 file changed, 11 insertions(+), 2 deletions(-)
29986 commit 1dec12826753756fcadefc8ef8c756fc902c320b
29987 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29988 Date: Mon Jan 17 15:54:32 2011 +0100
29990 Override Gtk.Paned pack1 and pack2 to add default values to be
29991 compliant with pygtk
29993 gi/overrides/Gtk.py | 10 ++++++++++
29994 1 file changed, 10 insertions(+)
29996 commit a8c727b9c4195d8085a45661683a18614ae84485
29997 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29998 Date: Mon Jan 17 15:46:25 2011 +0100
30000 Override Gtk.Box.pack_start and pack_end to set default values to
30001 be compliant with pygtk
30003 gi/overrides/Gtk.py | 10 ++++++++++
30004 1 file changed, 10 insertions(+)
30006 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
30007 Author: Steve Frécinaux <code@istique.net>
30008 Date: Wed Aug 4 00:30:05 2010 +0200
30010 Handle GObject subclasses in the property helper.
30012 https://bugzilla.gnome.org/show_bug.cgi?id=625982
30014 gobject/propertyhelper.py | 26 +++++++++++++-------------
30015 tests/test_properties.py | 9 +++++++++
30016 2 files changed, 22 insertions(+), 13 deletions(-)
30018 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
30019 Author: Martin Pitt <martin.pitt@ubuntu.com>
30020 Date: Mon Jan 17 17:52:15 2011 +0100
30022 Fix handling of unicode for GtkTreeModels
30024 The code previously converted an unicode object into unicode, but
30026 models actually have to specify 'str' (GTK expects a gchararray). So
30028 UTF-8 instead to get what GTK expects.
30030 Add corresponding test case.
30032 gi/overrides/Gtk.py | 2 +-
30033 tests/test_overrides.py | 12 +++++++++++-
30034 2 files changed, 12 insertions(+), 2 deletions(-)
30036 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
30037 Author: Laszlo Pandy <lpandy@src.gnome.org>
30038 Date: Mon Jan 17 16:46:08 2011 +0100
30040 In IntrospectionModule and DynamicModule classes, make all instance
30041 attributes start with an underscore.
30043 This changes IntrospectionModule.version to _version and
30044 DynamicModule.introspection_module to _introspection_module.
30045 This is done to mark the attributes as private, and also avoid name
30046 collisions with attributes from the typelib.
30047 In Gstreamer, there is a function gst_version, which was previously
30048 inaccessible because of IntrospectionModule.version overriding it.
30050 gi/module.py | 26 +++++++++++++-------------
30051 gi/overrides/GIMarshallingTests.py | 2 +-
30052 gi/overrides/GLib.py | 2 +-
30053 gi/overrides/Gdk.py | 10 +++++-----
30054 gi/overrides/Gtk.py | 2 +-
30055 gi/overrides/Pango.py | 2 +-
30056 gi/overrides/__init__.py | 2 +-
30057 tests/test_everything.py | 2 +-
30058 8 files changed, 24 insertions(+), 24 deletions(-)
30060 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
30061 Author: Laszlo Pandy <lpandy@src.gnome.org>
30062 Date: Mon Jan 17 16:17:25 2011 +0100
30064 Amend previous enum wrapping commit to remove redundant setting of
30065 __info__ attribute.
30067 gi/module.py | 2 +-
30068 gi/types.py | 6 +++---
30069 2 files changed, 4 insertions(+), 4 deletions(-)
30071 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
30072 Author: Martin Pitt <martin.pitt@ubuntu.com>
30073 Date: Mon Jan 17 16:16:45 2011 +0100
30075 pygi-convert.sh: Handle GdkPixbuf.InterpType
30077 pygi-convert.sh | 2 ++
30078 1 file changed, 2 insertions(+)
30080 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
30081 Author: Laszlo Pandy <laszlok2@gmail.com>
30082 Date: Mon Jan 17 15:43:34 2011 +0100
30084 Fix wrapping of enums: Create new Python type for each non-gtype enum.
30086 Previously non-gtype enums used the same class, which meant they
30087 were all the same type.
30088 This caused another problem that since they were all the same class,
30089 attributes from different enums were available from each other.
30091 A new test case is created to check for this bug. It requires a new
30092 enum from the GIMarshallingTests (updating gobject-introspection
30095 gi/module.py | 2 +-
30097 tests/test_gi.py | 10 ++++++++++
30098 3 files changed, 13 insertions(+), 1 deletion(-)
30100 commit da50d5620a42046d4fc905bb28a0890d73533cb1
30101 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30102 Date: Mon Dec 13 18:03:51 2010 +0100
30104 Use g_vfunc_info_invoke for chaining up in vfuncs
30106 https://bugzilla.gnome.org/show_bug.cgi?id=637165
30108 gi/pygi-info.c | 4 ++--
30109 gi/pygi-invoke.c | 72
30110 +++++++++++++++++++++++++++++++++++++++++++-------------
30111 gi/pygi-invoke.h | 3 ++-
30112 gi/types.py | 28 +++++++++++++++++++++-
30113 tests/test_gi.py | 5 ++--
30114 5 files changed, 89 insertions(+), 23 deletions(-)
30116 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
30117 Author: Simon van der Linden <svdlinden@gnome.org>
30118 Date: Fri Dec 31 18:38:04 2010 +0100
30120 Move pyglib_{main_context, option_context, option_group}_new into
30123 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
30125 when used inside the glib module, since pyglib_init is not called.
30127 pyglib.c is compiled as a stand-alone library loaded by the _glib
30129 declares the above-mentioned types. Hence, they cannot be accessed
30131 former. This patch moves the functions that need those symbols
30133 glib._glib module and exports them to the pyglib library through
30136 https://bugzilla.gnome.org/show_bug.cgi?id=636656
30138 glib/glibmodule.c | 5 ++++-
30139 glib/pyglib-private.h | 3 +++
30141 +++---------------------------------------------
30142 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
30143 glib/pygmaincontext.h | 2 +-
30144 glib/pygmainloop.c | 2 +-
30145 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
30146 glib/pygoptioncontext.h | 2 ++
30147 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
30148 glib/pygoptiongroup.h | 2 ++
30149 glib/pygsource.c | 2 +-
30150 11 files changed, 86 insertions(+), 49 deletions(-)
30152 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
30153 Author: Martin Pitt <martin.pitt@ubuntu.com>
30154 Date: Mon Jan 17 14:51:26 2011 +0100
30156 pygi-convert.sh: Handle Gdk.DragAction
30158 pygi-convert.sh | 1 +
30159 1 file changed, 1 insertion(+)
30161 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
30162 Author: Martin Pitt <martin.pitt@ubuntu.com>
30163 Date: Mon Jan 17 14:46:58 2011 +0100
30165 pygi-convert.sh: Generalize Gtk.Settings migration
30167 There are other GSettings.get_* functions like get_for_screen().
30169 pygi-convert.sh | 2 +-
30170 1 file changed, 1 insertion(+), 1 deletion(-)
30172 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
30173 Author: Martin Pitt <martin.pitt@ubuntu.com>
30174 Date: Mon Jan 17 11:22:46 2011 +0100
30176 pygi-convert.sh: Don't change the name of "glib" submodules
30178 This particular affects dbus.mainloop.glib.*
30180 pygi-convert.sh | 2 +-
30181 1 file changed, 1 insertion(+), 1 deletion(-)
30183 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
30184 Author: Paolo Borelli <pborelli@gnome.org>
30185 Date: Sun Jan 16 22:09:56 2011 +0100
30187 Plug another memory leak
30189 Do not leak interface info in (g|s)_et_property.
30191 gi/pygi-property.c | 4 ++++
30192 1 file changed, 4 insertions(+)
30194 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
30195 Author: Paolo Borelli <pborelli@gnome.org>
30196 Date: Sun Jan 16 21:43:30 2011 +0100
30198 Plug a small memory leak.
30200 Do not leak type_info in find_vfunc_info
30202 gi/gimodule.c | 10 +++++-----
30203 1 file changed, 5 insertions(+), 5 deletions(-)
30205 commit d0cbcc45366d40702c69cef207d3c0f361260c02
30206 Author: Paolo Borelli <pborelli@gnome.org>
30207 Date: Sun Jan 16 12:16:31 2011 +0100
30209 Override Table.attach() to behave like pygtk
30211 It is fairly common and even gtk itself still has attach_defaults.
30213 gi/overrides/Gtk.py | 3 +++
30214 tests/test_overrides.py | 4 ++++
30215 2 files changed, 7 insertions(+)
30217 commit 6409d659326bf3cefdf6051379e8bc2031f16733
30218 Author: Martin Pitt <martin.pitt@ubuntu.com>
30219 Date: Sat Jan 15 11:20:23 2011 -0600
30221 pygi-convert.sh: Convert Pango.WrapMode
30223 pygi-convert.sh | 1 +
30224 1 file changed, 1 insertion(+)
30226 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
30227 Author: Martin Pitt <martin.pitt@ubuntu.com>
30228 Date: Sat Jan 15 11:17:09 2011 -0600
30230 pygi-convert.sh: Don't change the name of "gtk" submodules
30232 Some projects have local modules like "myproject.ui.gtk". Avoid
30234 just change module names which start with "gtk" or "gdk".
30236 pygi-convert.sh | 4 ++--
30237 1 file changed, 2 insertions(+), 2 deletions(-)
30239 commit 9be0f1f2dfb89150faf1827ef482feea03645149
30240 Author: John (J5) Palmieri <johnp@redhat.com>
30241 Date: Thu Jan 13 23:56:19 2011 -0500
30243 [gi] implement aux arg handling for array lengths
30245 gi/pygi-argument.c | 8 ++++++++
30246 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
30247 gi/pygi-cache.h | 1 -
30248 gi/pygi-invoke.c | 8 ++++++--
30249 4 files changed, 42 insertions(+), 11 deletions(-)
30251 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
30252 Author: John (J5) Palmieri <johnp@redhat.com>
30253 Date: Thu Jan 13 21:07:25 2011 -0500
30255 [gi] marshal in hashes
30257 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
30258 gi/pygi-cache.c | 122
30259 +++++++++++++++++++++++++++++++++++++----------------
30260 2 files changed, 176 insertions(+), 39 deletions(-)
30262 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
30263 Author: Laszlo Pandy <git@laszlopandy.com>
30264 Date: Tue Jan 11 21:41:47 2011 +0100
30266 Fix the __dir__() methods on DynamicModule and IntrospectionModule
30268 Previously the __dir__() methods did not list all attributes.
30269 A simple test case is included. It does not test to see if
30270 every attribute is listed, it just tests a few of each kind:
30271 - (wrapped) typelib attributes
30272 - class attributes and methods
30273 - instance attributes
30275 A set() is used to avoid returning duplicate attributes.
30276 The test case checks for this as well.
30278 https://bugzilla.gnome.org/show_bug.cgi?id=639229
30280 gi/module.py | 28 +++++++++++++++++++++-------
30281 tests/test_everything.py | 18 ++++++++++++++++++
30282 2 files changed, 39 insertions(+), 7 deletions(-)
30284 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
30285 Author: Paolo Borelli <pborelli@gnome.org>
30286 Date: Thu Jan 13 00:02:20 2011 +0100
30288 pygi-convert.sh: handle ReliefStyle
30290 pygi-convert.sh | 1 +
30291 1 file changed, 1 insertion(+)
30293 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
30294 Author: John (J5) Palmieri <johnp@redhat.com>
30295 Date: Wed Jan 12 16:50:30 2011 -0500
30297 [gi] support for GList and GSList in
30299 gi/pygi-argument.c | 122
30300 ++++++++++++++++++++++++++++++++++++++++++++++++++---
30301 1 file changed, 116 insertions(+), 6 deletions(-)
30303 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
30304 Author: John (J5) Palmieri <johnp@redhat.com>
30305 Date: Wed Jan 12 16:24:17 2011 -0500
30307 [gi] handle allow_none for all args
30309 gi/pygi-cache.c | 3 ++-
30310 gi/pygi-cache.h | 1 +
30311 gi/pygi-invoke.c | 7 +++++++
30312 3 files changed, 10 insertions(+), 1 deletion(-)
30314 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
30315 Author: John (J5) Palmieri <johnp@redhat.com>
30316 Date: Wed Jan 12 16:23:02 2011 -0500
30318 [gi] fix marshalling fixed arrays
30320 * get the correct item_size and pass the GArray data not the GArray
30322 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
30323 gi/pygi-cache.c | 3 ++-
30324 2 files changed, 24 insertions(+), 18 deletions(-)
30326 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
30327 Author: John (J5) Palmieri <johnp@redhat.com>
30328 Date: Tue Jan 11 17:20:43 2011 -0500
30330 [gi] implement out arg handling
30332 gi/pygi-argument.c | 43 ++++++++++---------------------------
30333 gi/pygi-cache.c | 22 ++++++++++++++-----
30334 gi/pygi-invoke-state-struct.h | 13 +++++++++++
30335 gi/pygi-invoke.c | 50
30336 +++++++++++++++++++++++++++++++++++++++++--
30337 4 files changed, 89 insertions(+), 39 deletions(-)
30339 commit bd002c72675d35b5e60ab773181e7c36c30d2625
30340 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30341 Date: Tue Jan 11 22:21:18 2011 +0100
30343 setup.py: fix the provides keyword argument
30346 1 file changed, 1 insertion(+), 1 deletion(-)
30348 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
30349 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30350 Date: Tue Jan 11 22:19:18 2011 +0100
30352 setup.py: use the same spaces-less format for all setup() parameters
30354 setup.py | 8 ++++----
30355 1 file changed, 4 insertions(+), 4 deletions(-)
30357 commit c5c149be171895d292852df364541f14f0ec423a
30358 Author: John (J5) Palmieri <johnp@redhat.com>
30359 Date: Tue Jan 11 15:39:09 2011 -0500
30361 [gi] implemented return marshalling and started on out marshalling
30363 gi/pygi-argument.c | 387
30364 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
30365 gi/pygi-argument.h | 117 ++++++++++++++++
30366 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
30367 gi/pygi-cache.h | 8 +-
30368 gi/pygi-invoke.c | 12 +-
30369 5 files changed, 829 insertions(+), 11 deletions(-)
30371 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
30372 Author: John (J5) Palmieri <johnp@redhat.com>
30373 Date: Tue Jan 11 13:49:58 2011 -0500
30375 [gi] flesh out interface in marshalling a bit more
30377 gi/pygi-argument.c | 74
30378 ++++++++++++++++++++++++++++++++++++++++----------
30379 gi/pygi-cache.c | 79
30380 ++++++++++++++++++++++++++++++++++++++++++------------
30381 gi/pygi-cache.h | 1 +
30382 3 files changed, 123 insertions(+), 31 deletions(-)
30384 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
30385 Author: Laszlo Pandy <laszlok2@gmail.com>
30386 Date: Tue Jan 11 19:30:38 2011 +0100
30388 Add a __repr__() method to DynamicModule.
30390 This patch adds a __repr__() method to DynamicModule so that modules
30392 meaningful string with the typelib path included:
30394 >>> from gi.repository import Gtk
30396 <gi.module.DynamicModule 'Gtk' from
30397 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
30399 https://bugzilla.gnome.org/show_bug.cgi?id=639232
30401 gi/module.py | 9 +++++++++
30402 1 file changed, 9 insertions(+)
30404 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
30405 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30406 Date: Tue Jan 11 19:40:19 2011 +0100
30408 Go back to using getattr() in DynamicModule.__getattr__
30410 Breaks marshalling of some types
30412 gi/module.py | 2 +-
30413 1 file changed, 1 insertion(+), 1 deletion(-)
30415 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
30416 Author: Laszlo Pandy <laszlok2@gmail.com>
30417 Date: Tue Jan 11 19:26:50 2011 +0100
30419 Change __dir__() to report all the attributes that __getattr__
30422 Change DynamicModule.__dir__() to return the local class members as
30424 typelib attributes.
30426 Change DynamicModule.__getattr__() to call
30427 IntrospectionModule.__getattr__()
30428 directly, so that it won't inadvertently return class attributes from
30429 IntrospectionModule.
30431 https://bugzilla.gnome.org/show_bug.cgi?id=639229
30433 gi/module.py | 10 +++++++---
30434 1 file changed, 7 insertions(+), 3 deletions(-)
30436 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
30437 Author: John (J5) Palmieri <johnp@redhat.com>
30438 Date: Mon Jan 10 17:55:03 2011 -0500
30440 [gi] add object and interface in marshalling
30442 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
30445 gi/pygi-argument.c | 15 +++--
30446 gi/pygi-cache.c | 182
30447 ++++++++++++++++++++++++++++++++++++++++++++++++-----
30448 gi/pygi-cache.h | 1 -
30449 gi/pygi-invoke.c | 1 +
30450 4 files changed, 178 insertions(+), 21 deletions(-)
30452 commit 88531c58d0491a31dd319387237a03df5c9edc07
30453 Author: John (J5) Palmieri <johnp@redhat.com>
30454 Date: Mon Jan 10 15:33:56 2011 -0500
30456 [gi] fix casting when marshaling a char to uint8
30458 gi/pygi-argument.c | 2 +-
30459 1 file changed, 1 insertion(+), 1 deletion(-)
30461 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
30462 Author: John (J5) Palmieri <johnp@redhat.com>
30463 Date: Mon Jan 10 15:07:16 2011 -0500
30465 [gi] hook up invoke to the cache
30467 * We now can invoke with in values
30468 * out, constructors and returns still don't work along with numerous
30472 gi/Makefile.am | 1 +
30473 gi/pygi-argument.c | 60 +++++++++--------
30474 gi/pygi-argument.h | 60 ++++++++---------
30475 gi/pygi-cache.h | 6 +-
30476 gi/pygi-invoke-state-struct.h | 26 ++++++++
30477 gi/pygi-invoke.c | 149
30478 ++++++++++++++++++++++++++++++++----------
30479 gi/pygi-invoke.h | 2 +-
30480 gi/pygi-private.h | 1 +
30481 8 files changed, 208 insertions(+), 97 deletions(-)
30483 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
30484 Author: John (J5) Palmieri <johnp@redhat.com>
30485 Date: Sun Jan 9 19:37:55 2011 -0500
30487 hooked up caching stage and fixed segfaults
30489 * caching stage is hooked up but not used yet
30490 * throws exceptions for everything that can not be cached yet
30492 gi/pygi-cache.c | 59
30493 +++++++++++++++++++++++++++++++++++++++++++-------------
30494 gi/pygi-info.c | 3 +++
30495 gi/pygi-invoke.c | 5 +++++
30497 4 files changed, 56 insertions(+), 13 deletions(-)
30499 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
30500 Author: John (J5) Palmieri <johnp@redhat.com>
30501 Date: Sun Jan 9 18:05:31 2011 -0500
30503 [gi] fix some function names
30505 gi/pygi-cache.c | 5 ++---
30506 1 file changed, 2 insertions(+), 3 deletions(-)
30508 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
30509 Author: John (J5) Palmieri <johnp@redhat.com>
30510 Date: Sun Jan 9 15:58:06 2011 -0500
30512 [gi] refactor cache structs so they inherit from ArgCache
30514 gi/pygi-argument.c | 122 +++++++++----------
30515 gi/pygi-cache.c | 344
30516 +++++++++++++++++++++++++++++------------------------
30517 gi/pygi-cache.h | 50 ++++----
30518 3 files changed, 273 insertions(+), 243 deletions(-)
30520 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
30521 Author: John (J5) Palmieri <johnp@redhat.com>
30522 Date: Sat Jan 8 20:45:11 2011 -0500
30524 [gi]fix cache compile error - now compiles but cache still not
30527 gi/Makefile.am | 2 +
30528 gi/pygi-argument.c | 100 +++++++++++++++---------------
30529 gi/pygi-argument.h | 174
30530 ++++++++++++++++++++++++++++++++++++++++++++---------
30531 gi/pygi-cache.c | 169
30532 +++++++++++++++++++++++++--------------------------
30533 gi/pygi-cache.h | 25 ++++----
30534 5 files changed, 293 insertions(+), 177 deletions(-)
30536 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
30537 Author: John (J5) Palmieri <johnp@redhat.com>
30538 Date: Sat Jan 8 19:10:29 2011 -0500
30540 add sequence caching and array marshalling w/ item marshalling
30542 * simplify what we pass into the arg cache generators so we may
30544 for geneating marshalling caches for container items, not just
30547 gi/pygi-argument.c | 76 ++++++++++++++++-
30548 gi/pygi-cache.c | 242
30549 ++++++++++++++++++++++-------------------------------
30550 gi/pygi-cache.h | 4 +-
30551 3 files changed, 175 insertions(+), 147 deletions(-)
30553 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
30554 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
30555 Date: Sat Jan 8 02:19:52 2011 +0000
30557 Bump the minimum gio dependency
30559 Needed for G_TYPE_CONVERTER_FLAGS and others.
30561 configure.ac | 2 +-
30562 1 file changed, 1 insertion(+), 1 deletion(-)
30564 commit c3aa36151fdef9ed9884d93114786bbe86387983
30565 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30566 Date: Fri Jan 7 12:58:11 2011 +0100
30568 Add test for incorrect attributes in Gdk.Event
30570 tests/test_overrides.py | 4 ++++
30571 1 file changed, 4 insertions(+)
30573 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
30574 Author: Simon van der Linden <svdlinden@gnome.org>
30575 Date: Sun Jan 2 19:25:55 2011 +0100
30577 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
30579 __getattr__ is only called when the attribute is not found through
30581 mechanism, so getattr must not be called again in __getattr__
30583 create an infinite loop).
30585 Another possibility would be to implement __getattribute__ instead,
30587 called in place of the normal mechanism. In that case, calling
30589 needed for normal attributes.
30591 https://bugzilla.gnome.org/show_bug.cgi?id=638523
30593 gi/overrides/Gdk.py | 2 +-
30594 1 file changed, 1 insertion(+), 1 deletion(-)
30596 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
30597 Author: Mike Gorse <mgorse@novell.com>
30598 Date: Fri Jan 7 09:08:31 2011 +0100
30600 Release allocated array of arguments when handling closures
30602 https://bugzilla.gnome.org/show_bug.cgi?id=638847
30604 gi/pygi-closure.c | 3 +++
30605 1 file changed, 3 insertions(+)
30607 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
30608 Author: Mike Gorse <mgorse@novell.com>
30609 Date: Fri Jan 7 09:07:35 2011 +0100
30611 Release GIValueInfo when checking an enum argument
30613 https://bugzilla.gnome.org/show_bug.cgi?id=638847
30615 gi/pygi-argument.c | 1 +
30616 1 file changed, 1 insertion(+)
30618 commit 43849c51391fc9cd239697065c3d40fa02fb6783
30619 Author: John (J5) Palmieri <johnp@redhat.com>
30620 Date: Thu Jan 6 17:30:14 2011 -0500
30624 gi/pygi-cache.c | 24 ++++++++++++------------
30625 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
30626 2 files changed, 33 insertions(+), 33 deletions(-)
30628 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
30629 Author: John (J5) Palmieri <johnp@redhat.com>
30630 Date: Thu Jan 6 17:29:00 2011 -0500
30632 add marshalling for basic types and add more skeleton code
30634 * still doesn't compile
30636 gi/pygi-argument.c | 708
30637 +++++++++++++++++++++++++++++++++++++++++++++++++++++
30638 gi/pygi-argument.h | 35 ++-
30639 gi/pygi-cache.c | 82 +++++--
30640 gi/pygi-cache.h | 41 +++-
30641 4 files changed, 832 insertions(+), 34 deletions(-)
30643 commit f554cf62848104d31518138ae85bc51acaafda67
30644 Author: John (J5) Palmieri <johnp@redhat.com>
30645 Date: Tue Jan 4 18:49:53 2011 -0500
30647 first checkin of the new caching branch
30649 * this does not compile and is not hooked up to the build system
30650 * lays out the caching data structures and some skeleton functions
30652 gi/pygi-cache.c | 480
30653 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30654 gi/pygi-cache.h | 104 ++++++++++++
30655 2 files changed, 584 insertions(+)
30657 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
30658 Author: Eitan Isaacson <eitan@monotonous.org>
30659 Date: Wed Dec 22 12:34:10 2010 -0800
30661 Respect different type lengths when assigning out-argument pointers.
30663 https://bugzilla.gnome.org/show_bug.cgi?id=637832
30665 gi/pygi-closure.c | 66
30666 ++++++++++++++++++++++++++++++++++++++++++++++---------
30667 1 file changed, 56 insertions(+), 10 deletions(-)
30669 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
30670 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30671 Date: Tue Dec 28 18:34:25 2010 +0100
30673 Fix stupid name clash
30675 gi/module.py | 7 +++++--
30676 1 file changed, 5 insertions(+), 2 deletions(-)
30678 commit 01b2a193d403beb861eab524300b4f1af63157ce
30679 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30680 Date: Tue Dec 28 13:49:18 2010 +0100
30682 Add /usr/share to XDG_DATA_DIRS when running the tests
30684 tests/Makefile.am | 7 ++++++-
30685 1 file changed, 6 insertions(+), 1 deletion(-)
30687 commit efc186f692f9eac781cc47456be74a3da7f14dcd
30688 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30689 Date: Tue Dec 28 13:25:34 2010 +0100
30691 Comment out tests that require SRV lookups
30693 tests/test_gresolver.py | 5 ++++-
30694 1 file changed, 4 insertions(+), 1 deletion(-)
30696 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
30697 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30698 Date: Tue Dec 28 13:00:16 2010 +0100
30700 Use suppresion file when running valgrind
30702 tests/Makefile.am | 2 +-
30703 tests/python.supp | 387
30704 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
30705 2 files changed, 388 insertions(+), 1 deletion(-)
30707 commit 0ee58113ecbea72784c52de928c041fc8fc88984
30708 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30709 Date: Thu Dec 23 00:10:41 2010 +0100
30713 gi/pygi-argument.c | 16 +++++++---------
30714 gi/pygi-foreign-cairo.c | 13 ++-----------
30715 gio/gfile.override | 5 ++---
30716 glib/pyglib-python-compat.h | 3 +++
30717 glib/pyglib.c | 2 +-
30718 glib/pygmainloop.c | 3 ++-
30719 6 files changed, 17 insertions(+), 25 deletions(-)
30721 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
30722 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
30723 Date: Sun Dec 19 23:10:57 2010 +0100
30725 Allow comparing Gtk.TreePath to None
30727 https://bugzilla.gnome.org/show_bug.cgi?id=637615
30729 gi/overrides/Gtk.py | 12 ++++++------
30730 tests/test_overrides.py | 6 ++++++
30731 2 files changed, 12 insertions(+), 6 deletions(-)
30733 commit 046cc5915286e042d1040271a90676b77632409e
30734 Author: John (J5) Palmieri <johnp@redhat.com>
30735 Date: Thu Dec 16 15:41:10 2010 -0500
30737 handle unicode objects in properties
30739 * There are still some cavets in Python 2:
30740 - properties are returned as String objects with the unicode
30742 - you must add # coding=utf-8 to the top of your python file
30744 will error out if it sees embeded unicode charaters (such as when
30745 supporting python 3 and python 2 from the same source)
30747 https://bugzilla.gnome.org/show_bug.cgi?id=620579
30749 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
30750 tests/test_properties.py | 16 ++++++++++++++++
30751 2 files changed, 42 insertions(+), 9 deletions(-)
30753 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
30754 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30755 Date: Tue Dec 14 12:29:54 2010 +0100
30757 dsextras.py: check if gcc is there when platform is win32 and compiler
30760 dsextras.py | 6 ++++++
30761 1 file changed, 6 insertions(+)
30763 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
30764 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30765 Date: Tue Dec 14 12:29:01 2010 +0100
30767 dsextras.py: be consistent in how distutils imports are done
30769 dsextras.py | 6 +++---
30770 1 file changed, 3 insertions(+), 3 deletions(-)
30772 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
30773 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30774 Date: Tue Dec 14 12:25:07 2010 +0100
30776 dsextras.py: add have_gcc() function
30778 dsextras.py | 5 +++++
30779 1 file changed, 5 insertions(+)
30781 commit 637c2c287cfb0e89365026531c651111f5593ac7
30782 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30783 Date: Tue Dec 14 12:24:41 2010 +0100
30785 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
30787 dsextras.py | 8 ++------
30788 1 file changed, 2 insertions(+), 6 deletions(-)
30790 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
30791 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30792 Date: Tue Dec 14 12:22:54 2010 +0100
30794 setup.py: fix another case of use True/False instead of 1/0
30797 1 file changed, 1 insertion(+), 1 deletion(-)
30799 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
30800 Author: Paolo Borelli <pborelli@gnome.org>
30801 Date: Mon Dec 13 10:21:52 2010 +0100
30803 pygi-convert.sh: improve GtkSourceView conversion
30805 pygi-convert.sh | 7 +++++++
30806 1 file changed, 7 insertions(+)
30808 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
30809 Author: Paolo Borelli <pborelli@gnome.org>
30810 Date: Mon Dec 13 10:27:56 2010 +0100
30812 pygi-convert.sh: Gtk.DialogFlags conversion
30814 pygi-convert.sh | 1 +
30815 1 file changed, 1 insertion(+)
30817 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
30818 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30819 Date: Sun Dec 12 20:38:46 2010 -0500
30821 Doc Extractor: Print the gtk-doc blocks sorted by function
30824 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
30826 alphabetical order according to the identifier (function name)
30828 the generation of xml files in the C++ bindings is
30830 Thanks to Krzesimir Nowak for suggesting this in a
30834 codegen/docextract_to_xml.py | 2 +-
30835 1 file changed, 1 insertion(+), 1 deletion(-)
30837 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
30838 Author: Paolo Borelli <pborelli@gnome.org>
30839 Date: Mon Dec 13 00:17:26 2010 +0100
30841 pygi-convert.sh: add more Gtk conversions and sort
30843 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
30844 1 file changed, 26 insertions(+), 24 deletions(-)
30846 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
30847 Author: Paolo Borelli <pborelli@gnome.org>
30848 Date: Mon Dec 13 00:01:40 2010 +0100
30850 pygi-convert.sh: convert Atk
30852 pygi-convert.sh | 12 ++++++++++++
30853 1 file changed, 12 insertions(+)
30855 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
30856 Author: Paolo Borelli <pborelli@gnome.org>
30857 Date: Sun Dec 12 23:48:48 2010 +0100
30859 pygi-convert.sh: convert a few more Gio types
30861 pygi-convert.sh | 9 +++++++++
30862 1 file changed, 9 insertions(+)
30864 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
30865 Author: Paolo Borelli <pborelli@gnome.org>
30866 Date: Sun Dec 12 14:19:00 2010 +0100
30868 pygi-convert.sh: more GLib conversion
30870 pygi-convert.sh | 7 +++++++
30871 1 file changed, 7 insertions(+)
30873 commit c903390814bebdc62d530472f6f94feecc59b8b3
30874 Author: Paolo Borelli <pborelli@gnome.org>
30875 Date: Sun Dec 12 14:00:34 2010 +0100
30877 pygi-convert.sh: remove two cases handled by overrides
30879 pygi-convert.sh | 2 --
30880 1 file changed, 2 deletions(-)
30882 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
30883 Author: Paolo Borelli <pborelli@gnome.org>
30884 Date: Sun Dec 12 13:38:56 2010 +0100
30886 Override Gtk.ScrolledWindow constructor
30888 gi/overrides/Gtk.py | 7 +++++++
30889 tests/test_overrides.py | 7 +++++++
30890 2 files changed, 14 insertions(+)
30892 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
30893 Author: Paolo Borelli <pborelli@gnome.org>
30894 Date: Sun Dec 12 12:32:39 2010 +0100
30896 pygi-convert.sh: Fix 'find' syntax
30898 pygi-convert.sh | 2 +-
30899 1 file changed, 1 insertion(+), 1 deletion(-)
30901 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
30902 Author: Paolo Borelli <pborelli@gnome.org>
30903 Date: Sun Dec 12 12:29:38 2010 +0100
30905 pygi-convert.sh: start handling Gio and GLib
30907 pygi-convert.sh | 8 ++++++++
30908 1 file changed, 8 insertions(+)
30910 commit 365bf3251af3498dc797a58cce071805451b49b1
30911 Author: Paolo Borelli <pborelli@gnome.org>
30912 Date: Sat Dec 11 23:05:31 2010 +0100
30914 pygi-convert.sh: convert Gdk.ScrollDirection.
30916 pygi-convert.sh | 1 +
30917 1 file changed, 1 insertion(+)
30919 commit bca603de0f217fb290189a0ea330f82961c46d5d
30920 Author: Paolo Borelli <pborelli@gnome.org>
30921 Date: Sat Dec 11 15:03:21 2010 +0100
30923 Override Pango.Layout constructor.
30925 I must take a Pango.Context argument. Unfortumately the context is
30927 gobject property so we need to jump through some oops.
30929 gi/overrides/Pango.py | 13 +++++++++++++
30930 tests/test_overrides.py | 6 ++++++
30931 2 files changed, 19 insertions(+)
30933 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
30934 Author: Paolo Borelli <pborelli@gnome.org>
30935 Date: Sat Dec 11 14:18:53 2010 +0100
30937 Remove Pango.FontDescription() conversion.
30939 It is now properly handled by an override.
30941 pygi-convert.sh | 1 -
30942 1 file changed, 1 deletion(-)
30944 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
30945 Author: Paolo Borelli <pborelli@gnome.org>
30946 Date: Fri Dec 10 14:05:20 2010 +0100
30948 Override GtkAction and GtkRadioAction constructors.
30950 gi/overrides/Gtk.py | 20 +++++++++++++++++---
30951 tests/test_overrides.py | 18 ++++++++++++++++++
30952 2 files changed, 35 insertions(+), 3 deletions(-)
30954 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
30955 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
30956 Date: Sat Dec 4 22:13:28 2010 +0000
30958 Override Adjustment constructor to behave like pygtk
30960 https://bugzilla.gnome.org/show_bug.cgi?id=636486
30962 gi/overrides/Gtk.py | 7 +++++++
30963 tests/test_overrides.py | 9 +++++++++
30964 2 files changed, 16 insertions(+)
30966 commit e76352dd83c8706e68ad57d00d185da9afea99c4
30967 Author: John (J5) Palmieri <johnp@redhat.com>
30968 Date: Thu Dec 9 13:23:10 2010 -0500
30970 add secondary_text apis to MessageDialog
30972 gi/overrides/Gtk.py | 8 ++++++++
30973 tests/test_overrides.py | 8 ++++++++
30974 2 files changed, 16 insertions(+)
30976 commit de682b2d36c362140ab7d43c0743b01ec0865a74
30977 Author: John (J5) Palmieri <johnp@redhat.com>
30978 Date: Wed Dec 8 16:39:27 2010 -0500
30980 [gi] get rid of some debug prints and fix error messages
30982 gi/overrides/Gtk.py | 7 +++----
30983 1 file changed, 3 insertions(+), 4 deletions(-)
30985 commit dbb16571803bf51f497768bf80944514f4290ee5
30986 Author: Paolo Borelli <pborelli@gnome.org>
30987 Date: Wed Dec 8 18:25:15 2010 +0100
30989 Fix demo for override changes.
30991 demos/gtk-demo/gtk-demo.py | 5 +++--
30992 1 file changed, 3 insertions(+), 2 deletions(-)
30994 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
30995 Author: Paolo Borelli <pborelli@gnome.org>
30996 Date: Wed Dec 8 18:06:01 2010 +0100
30998 Override Pango.FontDescription.
31000 demos/gtk-demo/gtk-demo.py | 2 +-
31001 gi/overrides/Makefile.am | 1 +
31002 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
31003 tests/test_overrides.py | 7 +++++++
31004 4 files changed, 49 insertions(+), 1 deletion(-)
31006 commit 769da968c9187414d0420412d8fb8c833d12042a
31007 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
31008 Date: Wed Dec 8 17:38:11 2010 +0100
31010 Stop checking that all vfuncs are implemented
31012 Because some methods are optionally implementable but g-i won't
31015 https://bugzilla.gnome.org/show_bug.cgi?id=619606
31017 gi/gimodule.c | 4 +++-
31018 gi/types.py | 12 ++----------
31019 tests/test_gi.py | 10 ----------
31020 3 files changed, 5 insertions(+), 21 deletions(-)
31022 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
31023 Author: Paolo Borelli <pborelli@gnome.org>
31024 Date: Wed Dec 8 17:37:00 2010 +0100
31026 Fix usage of TreeIter api that is now an override.
31028 demos/gtk-demo/gtk-demo.py | 6 +++---
31029 1 file changed, 3 insertions(+), 3 deletions(-)
31031 commit d2cfd6e9250d40de7c715ac74e299deddf137683
31032 Author: Paolo Borelli <pborelli@gnome.org>
31033 Date: Wed Dec 8 17:34:54 2010 +0100
31035 Fix Gtk.Label(label="Foo")
31037 Use 'label' as an argument name instead of 'str', otherwise we may
31038 end up up with two 'label' in the kwds dict. Besides 'str' is a
31041 gi/overrides/Gtk.py | 4 ++--
31042 1 file changed, 2 insertions(+), 2 deletions(-)
31044 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
31045 Author: Paolo Borelli <pborelli@gnome.org>
31046 Date: Wed Dec 8 14:16:39 2010 +0100
31048 Fix typo when raising an exception
31051 1 file changed, 1 insertion(+), 1 deletion(-)
31053 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
31054 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31055 Date: Wed Dec 8 10:46:27 2010 +0100
31057 pygi-convert.sh: Added more conversions
31059 pygi-convert.sh | 14 ++++++++++++++
31060 1 file changed, 14 insertions(+)
31062 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
31063 Author: Paolo Borelli <pborelli@gnome.org>
31064 Date: Tue Dec 7 20:39:15 2010 +0100
31066 Override LinkButton constructor to make 'uri' mandatory
31068 gi/overrides/Gtk.py | 7 +++++++
31069 tests/test_overrides.py | 6 ++++++
31070 2 files changed, 13 insertions(+)
31072 commit f4f7fb35af1b41598dc050f5df155a01c370a920
31073 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
31074 Date: Sat Dec 4 19:19:19 2010 +0600
31076 Container should be iterable.
31078 gi/overrides/Gtk.py | 9 +++++++++
31079 tests/test_overrides.py | 6 +++++-
31080 2 files changed, 14 insertions(+), 1 deletion(-)
31082 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
31083 Author: Paolo Borelli <pborelli@gnome.org>
31084 Date: Tue Dec 7 14:13:00 2010 +0100
31086 No need to import Gdk
31088 gi/overrides/Gtk.py | 1 -
31089 1 file changed, 1 deletion(-)
31091 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
31092 Author: Paolo Borelli <pborelli@gnome.org>
31093 Date: Tue Dec 7 14:07:53 2010 +0100
31097 gi/overrides/Gtk.py | 7 +++----
31098 1 file changed, 3 insertions(+), 4 deletions(-)
31100 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
31101 Author: John (J5) Palmieri <johnp@redhat.com>
31102 Date: Mon Dec 6 16:05:30 2010 -0500
31104 [gi] make sure Gtk.Button override passes all keywords to parent
31107 gi/overrides/Gtk.py | 4 ++--
31108 1 file changed, 2 insertions(+), 2 deletions(-)
31110 commit cede81ad65db017e95543d8d35715751aa202fed
31111 Author: Paolo Borelli <pborelli@gnome.org>
31112 Date: Sun Dec 5 13:31:20 2010 +0100
31114 Fix cut&paste error in the Label override
31116 gi/overrides/Gtk.py | 2 +-
31117 1 file changed, 1 insertion(+), 1 deletion(-)
31119 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
31120 Author: Paolo Borelli <pborelli@gnome.org>
31121 Date: Sat Dec 4 16:03:27 2010 +0100
31123 pygi-convert.sh: handle TextWindowType
31125 pygi-convert.sh | 1 +
31126 1 file changed, 1 insertion(+)
31128 commit dfeabe0b68938e27da2e65903983b5113dc422f1
31129 Author: Paolo Borelli <pborelli@gnome.org>
31130 Date: Sat Dec 4 15:49:15 2010 +0100
31132 Override Label constructor to behave like pygtk
31134 gi/overrides/Gtk.py | 7 +++++++
31135 tests/test_overrides.py | 4 ++++
31136 2 files changed, 11 insertions(+)
31138 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
31139 Author: Paolo Borelli <pborelli@gnome.org>
31140 Date: Sat Dec 4 15:40:35 2010 +0100
31142 Override GtkTable constructor to behave like pygtk
31144 gi/overrides/Gtk.py | 7 +++++++
31145 tests/test_overrides.py | 12 ++++++++++++
31146 2 files changed, 19 insertions(+)
31148 commit 81452c23ab1befa59ff375692e582791432796a5
31149 Author: Paolo Borelli <pborelli@gnome.org>
31150 Date: Sat Dec 4 12:59:43 2010 +0100
31152 pygi-convert.sh: convert MovementStep
31154 pygi-convert.sh | 1 +
31155 1 file changed, 1 insertion(+)
31157 commit 4d097eea94258eda0c328711491fd456cbd6741b
31158 Author: Paolo Borelli <pborelli@gnome.org>
31159 Date: Sat Dec 4 11:57:02 2010 +0100
31161 Update Gdk overrides to work with latest Gtk+ 3
31163 For now added consitionals on version == 2.0, but maybe at some
31165 shuld just clean up the old stuff.
31167 gi/overrides/Gdk.py | 22 ++++++++++++++++------
31168 1 file changed, 16 insertions(+), 6 deletions(-)
31170 commit cda317195566711d66190145b545e26ed7226172
31171 Author: Johan Dahlin <johan@gnome.org>
31172 Date: Thu Dec 2 23:47:40 2010 -0200
31174 Gtk: add an override for Gtk.main_quit
31176 Override gtk.main_quit so that it can be used as a callback
31177 to signals, most importantly to the destroy signal of a widget:
31179 widget.connect('destroy', gtk.main_quit)
31181 This is compatible with what PyGTK does.
31183 https://bugzilla.gnome.org/show_bug.cgi?id=636336
31185 gi/overrides/Gtk.py | 5 ++++-
31186 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
31187 2 files changed, 29 insertions(+), 3 deletions(-)
31189 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
31190 Author: John (J5) Palmieri <johnp@redhat.com>
31191 Date: Thu Dec 2 16:27:04 2010 -0500
31193 [gi] handle subtypes when inserting into tree models
31195 * Often modules will give back basic types wrapped in a subtype.
31196 This is the case with D-Bus where you may want to keep some of the
31197 metadata around. More often than not, the developer is just looking
31198 to use the basetype.
31200 * This override checks the column type and handles basic types such as
31201 gchararrays, ints, longs, floats and doubles, converting them
31203 base types before sending them to the generic GI type marshaller.
31205 * More types may need to be supported but these are the common
31209 https://bugzilla.gnome.org/show_bug.cgi?id=635172
31211 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
31212 tests/test_overrides.py | 8 +++++++-
31213 2 files changed, 43 insertions(+), 3 deletions(-)
31215 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
31216 Author: Paolo Borelli <pborelli@gnome.org>
31217 Date: Fri Dec 3 23:39:50 2010 +0100
31219 Override TreeSelection.select_path and TreeView.scroll_to_cell
31221 The "path" argument may also be a string or a tuple
31223 gi/overrides/Gtk.py | 10 ++++++++++
31224 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
31225 2 files changed, 39 insertions(+)
31227 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
31228 Author: Paolo Borelli <pborelli@gnome.org>
31229 Date: Fri Dec 3 23:29:00 2010 +0100
31231 Override TreePath.__new__
31233 Instead of having a private _tree_path_from_string it is cleaner to
31234 override __new__ and it will be useful for all the api that take a
31235 TreePath or a string or a tuple.
31237 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
31238 tests/test_overrides.py | 18 ++++++++++++++++++
31239 2 files changed, 33 insertions(+), 18 deletions(-)
31241 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
31242 Author: Paolo Borelli <pborelli@gnome.org>
31243 Date: Sun Nov 28 13:02:30 2010 +0100
31245 Override Container to behave like a sequence
31247 gi/overrides/Gtk.py | 6 ++++++
31248 tests/test_overrides.py | 11 +++++++++++
31249 2 files changed, 17 insertions(+)
31251 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
31252 Author: John (J5) Palmieri <johnp@redhat.com>
31253 Date: Tue Nov 30 16:57:05 2010 -0500
31255 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
31258 * this patch does the recursion using the previous patche's support
31261 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
31262 1 file changed, 45 insertions(+), 10 deletions(-)
31264 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
31265 Author: Jonathan Matthew <jonathan@d14n.org>
31266 Date: Thu Jul 22 23:19:51 2010 +1000
31268 Recurse up through base classes when setting up vfuncs
31270 * this patch adds the support methods to do the recursion
31272 https://bugzilla.gnome.org/show_bug.cgi?id=625033
31274 gi/gimodule.c | 130
31275 ++++++++++++++++++++++++++++++++++++++++---------------
31276 tests/test_gi.py | 37 ++++++++++++++++
31277 2 files changed, 131 insertions(+), 36 deletions(-)
31279 commit 78358e1ab54d02317f397276adee03ecb2187588
31280 Author: John (J5) Palmieri <johnp@redhat.com>
31281 Date: Mon Nov 29 18:29:57 2010 -0500
31283 add a profiling torture test for when we fix up invoke
31285 tests/test_everything.py | 67
31286 ++++++++++++++++++++++++++++++++++++++++++++++++
31287 1 file changed, 67 insertions(+)
31289 commit 792e679c06df4357843fd310c7953a931172fc99
31290 Author: John (J5) Palmieri <johnp@redhat.com>
31291 Date: Mon Nov 29 16:41:38 2010 -0500
31293 moved dynamic and base modules outside of gtk-2.0 directory
31295 * do not move header files yet as they are mostly used by static
31297 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
31299 these back to pygtk but you might want to import gio static
31301 having to have pygtk installed
31302 * I have not tested this with pygtk, committing it so we can find
31304 causes any issues with legacy modules and code
31306 gi/Makefile.am | 2 +-
31307 gi/overrides/Makefile.am | 2 +-
31308 gi/repository/Makefile.am | 2 +-
31309 glib/Makefile.am | 2 +-
31310 gobject/Makefile.am | 2 +-
31311 tests/test_gi.py | 2 --
31312 tests/test_overrides.py | 3 ---
31313 7 files changed, 5 insertions(+), 10 deletions(-)
31315 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
31316 Author: John (J5) Palmieri <johnp@redhat.com>
31317 Date: Mon Nov 29 15:11:46 2010 -0500
31319 add test for inout argument count
31321 tests/test_gi.py | 1 +
31322 1 file changed, 1 insertion(+)
31324 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
31325 Author: John (J5) Palmieri <johnp@redhat.com>
31326 Date: Mon Nov 22 19:17:23 2010 -0500
31328 [gi] add check for UNICHAR
31330 https://bugzilla.gnome.org/show_bug.cgi?id=623615
31332 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
31333 tests/test_everything.py | 17 +++++++++++++++--
31334 2 files changed, 41 insertions(+), 3 deletions(-)
31336 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
31337 Author: Paolo Borelli <pborelli@gnome.org>
31338 Date: Sun Nov 21 12:16:53 2010 +0100
31342 https://bugzilla.gnome.org/show_bug.cgi?id=623615
31344 gi/pygi-argument.c | 60
31345 ++++++++++++++++++++++++++++++++++++++++++++++++
31346 gi/pygi-info.c | 5 ++++
31347 tests/test_everything.py | 5 ++++
31348 3 files changed, 70 insertions(+)
31350 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
31351 Author: Paolo Borelli <pborelli@gnome.org>
31352 Date: Sat Nov 27 23:01:42 2010 +0100
31354 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
31356 pygi-convert.sh | 1 +
31357 1 file changed, 1 insertion(+)
31359 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
31360 Author: Paolo Borelli <pborelli@gnome.org>
31361 Date: Sat Nov 27 22:34:13 2010 +0100
31363 pygi-convert.sh: handle "from gtk import gdk"
31365 pygi-convert.sh | 2 ++
31366 1 file changed, 2 insertions(+)
31368 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
31369 Author: Paolo Borelli <pborelli@gnome.org>
31370 Date: Sat Nov 27 22:23:24 2010 +0100
31372 pygi-convert.sh: add some Pango special cases
31374 pygi-convert.sh | 3 +++
31375 1 file changed, 3 insertions(+)
31377 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
31378 Author: Paolo Borelli <pborelli@gnome.org>
31379 Date: Sat Nov 27 19:51:38 2010 +0100
31381 Override TextIter (begins|ends|toggles)_tag()
31383 Make the tag argument optional.
31385 gi/overrides/Gtk.py | 9 +++++++++
31386 tests/test_overrides.py | 17 +++++++++++++++++
31387 2 files changed, 26 insertions(+)
31389 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
31390 Author: Paolo Borelli <pborelli@gnome.org>
31391 Date: Sat Nov 27 19:32:48 2010 +0100
31393 Override TextBuffer.set_text() to make length optional
31395 gi/overrides/Gtk.py | 3 +++
31396 tests/test_overrides.py | 11 ++++++++++-
31397 2 files changed, 13 insertions(+), 1 deletion(-)
31399 commit bf55dc862755a57bb1b998702d284fc460e88a30
31400 Author: Paolo Borelli <pborelli@gnome.org>
31401 Date: Sat Nov 27 16:46:40 2010 +0100
31403 Override TextBuffer.create_mark()
31405 Override create_mark to make the left_gravity argument optional
31407 gi/overrides/Gtk.py | 3 +++
31408 tests/test_overrides.py | 3 +++
31409 2 files changed, 6 insertions(+)
31411 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
31412 Author: Paolo Borelli <pborelli@gnome.org>
31413 Date: Sat Nov 27 16:10:33 2010 +0100
31415 Fix TextBuffer.get_selection_bounds() override
31417 Fix the override and add unit test
31419 gi/overrides/Gtk.py | 8 +++++---
31420 tests/test_overrides.py | 7 +++++++
31421 2 files changed, 12 insertions(+), 3 deletions(-)
31423 commit 0cd717e3926276540b9145e58a4a3368136b00de
31424 Author: John (J5) Palmieri <johnp@redhat.com>
31425 Date: Mon Nov 22 18:35:09 2010 -0500
31427 [gi] fix ActionGroup constructor to allow other keyword properties
31430 gi/overrides/Gtk.py | 4 ++--
31431 1 file changed, 2 insertions(+), 2 deletions(-)
31433 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
31434 Author: John (J5) Palmieri <johnp@redhat.com>
31435 Date: Mon Nov 22 18:32:28 2010 -0500
31437 [gi] require the name parameter when creatin a Gtk.ActionGroup
31439 gi/overrides/Gtk.py | 3 +++
31440 tests/test_overrides.py | 2 ++
31441 2 files changed, 5 insertions(+)
31443 commit d0049fa9982d13b3553b05569fb0a227e48b6647
31444 Author: Paolo Borelli <pborelli@gnome.org>
31445 Date: Sun Nov 21 15:20:58 2010 +0100
31447 Override UIManager.insert_action_group
31449 https://bugzilla.gnome.org/show_bug.cgi?id=635437
31451 gi/overrides/Gtk.py | 3 +++
31452 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
31453 2 files changed, 24 insertions(+), 13 deletions(-)
31455 commit e1db544e46aeed984133896af34b671a6a5547df
31456 Author: Paolo Borelli <pborelli@gnome.org>
31457 Date: Sun Nov 21 23:03:25 2010 +0100
31459 Override TreeModel.get() to return a tuple
31461 https://bugzilla.gnome.org/show_bug.cgi?id=635466
31463 gi/overrides/Gtk.py | 15 +++++++++++++++
31464 tests/test_overrides.py | 6 ++++++
31465 2 files changed, 21 insertions(+)
31467 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
31468 Author: Paolo Borelli <pborelli@gnome.org>
31469 Date: Sun Nov 21 21:57:40 2010 +0100
31471 Make TreeSelection.get_selected_rows compatible with PyGtk
31473 https://bugzilla.gnome.org/show_bug.cgi?id=635464
31475 gi/overrides/Gtk.py | 6 ++++++
31476 1 file changed, 6 insertions(+)
31478 commit 1c537bc67107948c92b51ba6ba749747e84263e2
31479 Author: John (J5) Palmieri <johnp@redhat.com>
31480 Date: Mon Nov 22 15:04:00 2010 -0500
31482 [gi] switch to using sequences/tuples when marshalling
31483 cairo_rectangle_int_t
31485 * Upstream pycairo didn't want to add a new wrapper for
31486 cairo_rectangle_int_t
31487 * this works around that issue by using 4 element squences instead
31489 should be accepted by pycairo for any API that takes a rect
31491 gi/pygi-foreign-cairo.c | 85
31492 +++++++++++++++++++++++++++++++++++++------------
31493 1 file changed, 64 insertions(+), 21 deletions(-)
31495 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
31496 Author: John (J5) Palmieri <johnp@redhat.com>
31497 Date: Fri Nov 19 16:46:53 2010 -0500
31499 [gi] overrides for treeview Drag and Drop
31501 https://bugzilla.gnome.org/show_bug.cgi?id=627367
31503 gi/overrides/Gdk.py | 7 +++++++
31504 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
31505 2 files changed, 32 insertions(+)
31507 commit 3fd51bb903724b752f72f49c7cb35652b819791d
31508 Author: John (J5) Palmieri <johnp@redhat.com>
31509 Date: Fri Nov 19 16:44:32 2010 -0500
31511 [gi] when encountering guint8 arrays treat them as byte arrays
31513 * In Python 2 this means returning a PyString object
31514 * In Python 3 we return a PyBytes object
31516 https://bugzilla.gnome.org/show_bug.cgi?id=627367
31518 gi/pygi-argument.c | 65
31519 ++++++++++++++++++++++++++++++++++++++++++++----------
31520 tests/test_gi.py | 6 +++--
31521 2 files changed, 57 insertions(+), 14 deletions(-)
31523 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
31524 Author: Martin Pitt <martin.pitt@ubuntu.com>
31525 Date: Fri Nov 19 18:19:38 2010 +0100
31527 pygi-convert.sh: Add pynotify -> Notify
31529 pygi-convert.sh | 3 +++
31530 1 file changed, 3 insertions(+)
31532 commit bf03d4db03a7739ac16ddc4e614441557ede554d
31533 Author: Martin Pitt <martin.pitt@ubuntu.com>
31534 Date: Fri Nov 19 09:08:07 2010 +0100
31536 pygi-convert.sh: Remove sugar specifics, and allow command line
31539 This script is generally useful for converting pygtk2 projects,
31541 sugar. Remove the sugar specific bits, since they will just cause
31544 Also allow the user to specify the files to convert as command line
31545 arguments. If not given, all *.py files will be processed.
31547 https://bugzilla.gnome.org/show_bug.cgi?id=635244
31549 pygi-convert.sh | 25 +++++--------------------
31550 1 file changed, 5 insertions(+), 20 deletions(-)
31552 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
31553 Author: Martin Pitt <martin.pitt@ubuntu.com>
31554 Date: Fri Nov 19 09:00:35 2010 +0100
31556 pygi-convert.sh: Cover Message and Buttons types
31558 https://bugzilla.gnome.org/show_bug.cgi?id=635244
31560 pygi-convert.sh | 2 ++
31561 1 file changed, 2 insertions(+)
31563 commit ef74273c2043944708515e59a654ebe4944b46ff
31564 Author: John (J5) Palmieri <johnp@redhat.com>
31565 Date: Thu Nov 18 13:54:48 2010 -0500
31567 [gi] fix actiongroup test since actions are hashed
31569 * when actions are listed they may not show up in the order they
31571 since they reside in an unordered hash internally
31573 tests/test_overrides.py | 9 +++++----
31574 1 file changed, 5 insertions(+), 4 deletions(-)
31576 commit 2c25886bf6710568d0646f82dce4770faa44c40d
31577 Author: John (J5) Palmieri <johnp@redhat.com>
31578 Date: Wed Nov 17 14:38:09 2010 -0500
31580 [gi] when converting to UTF-8 accept Python Unicode objects as input
31583 https://bugzilla.gnome.org/show_bug.cgi?id=620579
31585 gi/pygi-argument.c | 14 ++++++++++++--
31586 glib/pyglib-python-compat.h | 5 +++++
31587 tests/test_gi.py | 3 +++
31588 3 files changed, 20 insertions(+), 2 deletions(-)
31590 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
31591 Author: Damien Caliste <damien.caliste@cea.fr>
31592 Date: Fri Nov 12 10:20:32 2010 +0100
31594 Correct a bug in the freeing of memory in pygi-invoke.c.
31596 When a method with inout arguments is called from Python with
31597 a wrong number of arguments, the system crashs because of an
31598 assertion fail. This patch corrects this behaviour.
31600 https://bugzilla.gnome.org/show_bug.cgi?id=634671
31602 gi/pygi-invoke.c | 25 ++++++++++++++-----------
31603 1 file changed, 14 insertions(+), 11 deletions(-)
31605 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
31606 Author: John (J5) Palmieri <johnp@redhat.com>
31607 Date: Wed Nov 10 14:11:56 2010 -0500
31609 update news for release
31612 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31613 1 file changed, 73 insertions(+)
31615 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
31616 Author: Jonathan Matthew <jonathan@d14n.org>
31617 Date: Tue Sep 28 13:44:13 2010 +1000
31619 Implement richcompare for GIBaseInfo
31621 https://bugzilla.gnome.org/show_bug.cgi?id=625033
31623 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
31624 1 file changed, 29 insertions(+)
31626 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
31627 Author: John (J5) Palmieri <johnp@redhat.com>
31628 Date: Tue Nov 9 22:57:41 2010 -0500
31630 [gi] add the rectangle_int_t forign cairo type
31632 * the pycairo maintainer is not being responsive so you will need
31634 https://bugs.freedesktop.org/show_bug.cgi?id=31111
31635 * added conditionals, if the api doesn't exist in PyCairo we will
31637 without the forign structs
31639 gi/pygi-foreign-cairo.c | 4 ++++
31640 1 file changed, 4 insertions(+)
31642 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
31643 Author: John (J5) Palmieri <johnp@redhat.com>
31644 Date: Mon Oct 25 18:28:36 2010 -0400
31646 add a foreign type for cairo_rectangle_int_t and allow it to be
31649 * this is needed because Gdk and Gtk switched from returning a
31651 to a CairoRectangleInt structure
31652 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
31654 for pycairo (however there is currently no patch for python 2)
31655 * added fix for foreign types to allow them to be caller allocated
31656 * in order for a type to be caller allocated it must be able to take
31658 and create an empty struct in foreign_struct_from_arg and it must
31660 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
31662 https://bugzilla.gnome.org/show_bug.cgi?id=627545
31664 gi/pygi-foreign-cairo.c | 57
31665 +++++++++++++++++++++++++++++++++++++++++++++++++
31666 gi/pygi-invoke.c | 15 +++++++++++--
31667 2 files changed, 70 insertions(+), 2 deletions(-)
31669 commit ce8b948310220288e9eef904eef4ec8f4e24a376
31670 Author: John (J5) Palmieri <johnp@redhat.com>
31671 Date: Tue Nov 9 22:11:51 2010 -0500
31673 [gi] add overrides to Gtk.Editable
31675 gi/overrides/Gtk.py | 17 +++++++++++++++++
31676 tests/test_overrides.py | 12 ++++++++++++
31677 2 files changed, 29 insertions(+)
31679 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
31680 Author: John (J5) Palmieri <johnp@redhat.com>
31681 Date: Tue Nov 9 21:12:54 2010 -0500
31683 [gi] handle virtual invokers
31685 * right now we check to see if there is an method with the same name
31686 as the virtual method and assume that is the invoker
31687 * some invokers are named different so we now ask the VFuncInfo if
31688 the vfunc has an invoker
31689 * this is still not completly correct, gi needs to support telling
31690 us which vfuncs must be overridden.
31691 * this keeps the old way of checking vfuncs while adding the edge case
31692 where vfunc is named differently from their invoker
31694 gi/pygi-info.c | 16 ++++++++++++++++
31696 2 files changed, 17 insertions(+), 1 deletion(-)
31698 commit 540e9f1f349ba3625e28b7673c92210eb8974098
31699 Author: John (J5) Palmieri <johnp@redhat.com>
31700 Date: Tue Nov 9 12:17:05 2010 -0500
31702 add overrides for the insert* apis of list_store and tree_store
31704 * add set_row to tree_model as convinience method for both list and
31707 https://bugzilla.gnome.org/show_bug.cgi?id=634423
31709 gi/overrides/Gtk.py | 80
31710 ++++++++++++++++++++++++++++++++++++++-----------
31711 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
31712 2 files changed, 114 insertions(+), 19 deletions(-)
31714 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
31715 Author: John (J5) Palmieri <johnp@redhat.com>
31716 Date: Fri Nov 5 13:56:12 2010 -0400
31718 fix dialogs overrides which were relying on broken inheritance
31721 gi/overrides/Gtk.py | 14 ++++++++++++--
31722 1 file changed, 12 insertions(+), 2 deletions(-)
31724 commit 89c104d17d79d7b935cd76101cba19d49390f7be
31725 Author: John (J5) Palmieri <johnp@redhat.com>
31726 Date: Thu Nov 4 12:00:14 2010 -0400
31728 Add a overrides registry so we can refrence overrides inside the
31731 * Overrides have a reentrancy issue when doing inheritance. If an
31733 inherits from another override down the stack it won't see the
31735 because the module is not finished loading and will inherit from the
31736 non-overriden object instead. This causes type errors later.
31737 * By adding the overrides to a registry outside of the module we
31739 registration and make the override available as soon as the class
31741 not when the whole module is parsed.
31743 https://bugzilla.gnome.org/show_bug.cgi?id=633347
31745 gi/module.py | 12 ++++++++++-
31746 gi/overrides/GIMarshallingTests.py | 2 +-
31747 gi/overrides/Gdk.py | 2 +-
31748 gi/overrides/Gtk.py | 2 +-
31749 gi/overrides/__init__.py | 43
31750 ++++++++++++++++++++++++++++++++++++++
31751 gi/types.py | 8 -------
31752 tests/test_overrides.py | 27 ++++++++++++++++++++++++
31753 7 files changed, 84 insertions(+), 12 deletions(-)
31755 commit 878b8f630acd2146bee364054acd45cd33eea37a
31756 Merge: cdacaa95 e3178381
31757 Author: John Stowers <john.stowers@gmail.com>
31758 Date: Fri Nov 5 11:40:22 2010 +1300
31760 Merge remote branch 'dieterv/setup-fixes-for-merge'
31762 commit e317838178fba5f0590fb8bd323f49602d564b53
31763 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31764 Date: Thu Nov 4 11:16:43 2010 +0100
31766 setup.py: ease maintenance burden for tests installation
31768 setup.py | 23 +++--------------------
31769 1 file changed, 3 insertions(+), 20 deletions(-)
31771 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
31772 Author: John (J5) Palmieri <johnp@redhat.com>
31773 Date: Wed Nov 3 09:51:09 2010 -0400
31775 fix inheritence issues in overrides
31777 gi/overrides/Gtk.py | 79
31778 +++++++++++++++++++++++++++--------------------------
31779 1 file changed, 40 insertions(+), 39 deletions(-)
31781 commit 3d5955767d81f45e796ab2af0707533375681774
31782 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31783 Date: Wed Nov 3 09:38:56 2010 +0100
31785 tests: add runtests-windows.py script
31787 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31789 tests/runtests-windows.py | 47
31790 +++++++++++++++++++++++++++++++++++++++++++++++
31791 1 file changed, 47 insertions(+)
31793 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
31794 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31795 Date: Wed Nov 3 09:35:52 2010 +0100
31797 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
31798 postinstall as pkg-config on windows figures out the correct prefix
31801 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31803 pygobject_postinstall.py | 26 +++-----------------------
31804 1 file changed, 3 insertions(+), 23 deletions(-)
31806 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
31807 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31808 Date: Wed Nov 3 09:34:38 2010 +0100
31810 pygobject_postinstall.py: remove shortcut creation
31812 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31814 pygobject_postinstall.py | 35 +----------------------------------
31815 1 file changed, 1 insertion(+), 34 deletions(-)
31817 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
31818 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31819 Date: Wed Nov 3 09:31:14 2010 +0100
31821 setup.py: formatting cleanup, makes things readable
31823 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31825 setup.py | 56 ++++++++++++++++++++++++++------------------------------
31826 1 file changed, 26 insertions(+), 30 deletions(-)
31828 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
31829 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31830 Date: Wed Nov 3 09:28:36 2010 +0100
31832 setup.py: build and install tests
31834 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31837 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31838 1 file changed, 61 insertions(+)
31840 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
31841 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31842 Date: Wed Nov 3 09:26:59 2010 +0100
31844 setup.py: install documentation when available on build system
31846 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31849 1 file changed, 3 insertions(+)
31851 commit 78533d851ee1314686f18cfa793613a9cf7d6686
31852 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31853 Date: Wed Nov 3 09:25:56 2010 +0100
31855 setup.py: install pygobject-codegen script
31857 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31859 setup.py | 25 +++++++++++++++++++++++++
31860 1 file changed, 25 insertions(+)
31862 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
31863 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31864 Date: Wed Nov 3 09:24:45 2010 +0100
31866 setup.py: install fixxref.py script
31868 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31871 1 file changed, 3 insertions(+)
31873 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
31874 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31875 Date: Wed Nov 3 09:23:05 2010 +0100
31877 setup.py: rearrange constants
31879 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31881 setup.py | 37 ++++++++++++++++++++-----------------
31882 1 file changed, 20 insertions(+), 17 deletions(-)
31884 commit 7d353d04892de67265bf693f591f37fd393de639
31885 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31886 Date: Wed Nov 3 09:18:11 2010 +0100
31888 setup.py: check python version and pkgconig availability before
31891 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31893 setup.py | 18 ++++++++++--------
31894 1 file changed, 10 insertions(+), 8 deletions(-)
31896 commit 286364ed39953e942e24d5911519bcac2f90975a
31897 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31898 Date: Wed Nov 3 09:05:59 2010 +0100
31900 setup.py: simplify sys.platform != 'win32' detection and error
31903 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31905 setup.py | 29 +++++++++--------------------
31906 1 file changed, 9 insertions(+), 20 deletions(-)
31908 commit 3f70f92904c123e6cc40929c0affd3f75d061828
31909 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31910 Date: Wed Nov 3 09:02:30 2010 +0100
31912 setup.py: rearrange imports
31914 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31916 setup.py | 31 ++++++++++++++++++++++---------
31917 1 file changed, 22 insertions(+), 9 deletions(-)
31919 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
31920 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31921 Date: Wed Nov 3 08:58:00 2010 +0100
31923 README.win32: update build instructions
31925 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31927 README.win32 | 13 +++++--------
31928 1 file changed, 5 insertions(+), 8 deletions(-)
31930 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
31931 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31932 Date: Wed Nov 3 07:59:18 2010 +0100
31934 dsextras.py: formatting cleanup, makes things readable
31936 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31939 ++++++++++++++++++++++++++++++++++++++----------------------
31940 1 file changed, 93 insertions(+), 55 deletions(-)
31942 commit d03503d0412d173acb383926ab3c2d640dad3e3f
31943 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31944 Date: Wed Nov 3 07:00:40 2010 +0100
31946 dsextras.py: add ggc4 to MSVC compatible struct packing comment
31948 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31950 dsextras.py | 4 ++--
31951 1 file changed, 2 insertions(+), 2 deletions(-)
31953 commit 8c62968e9f8467e24870b8c4f61112676eef4630
31954 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31955 Date: Wed Nov 3 06:56:32 2010 +0100
31957 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
31958 incantations all over the place
31960 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31962 dsextras.py | 15 ++++++---------
31963 1 file changed, 6 insertions(+), 9 deletions(-)
31965 commit b98277afc24886bbda400e0ad360992bffa77b7c
31966 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31967 Date: Wed Nov 3 06:49:48 2010 +0100
31969 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
31971 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31973 dsextras.py | 10 ++++++++++
31974 1 file changed, 10 insertions(+)
31976 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
31977 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31978 Date: Wed Nov 3 06:45:05 2010 +0100
31980 dsextras.py: PEP8: Comparisons to singletons like None should always
31981 be done with 'is' or 'is not', never the equality operators.
31983 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31985 dsextras.py | 4 ++--
31986 1 file changed, 2 insertions(+), 2 deletions(-)
31988 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
31989 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31990 Date: Wed Nov 3 06:44:21 2010 +0100
31992 dsextras.py: use True/False instead of 1/0
31994 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31996 dsextras.py | 25 +++++++++++++------------
31997 1 file changed, 13 insertions(+), 12 deletions(-)
31999 commit 819a21cea831c3892040390e9446b78a91d1cbbe
32000 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
32001 Date: Wed Nov 3 06:28:04 2010 +0100
32003 dsextras.py: rearrange imports
32005 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
32008 +++++++++++++++++++++++++++++++---------------------------
32009 1 file changed, 31 insertions(+), 27 deletions(-)
32011 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
32012 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
32013 Date: Wed Nov 3 06:16:21 2010 +0100
32015 Add distutils generated build/dist directories and eclipse
32016 configuration files to .gitignore
32018 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
32020 .gitignore | 7 +++++++
32021 1 file changed, 7 insertions(+)
32023 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
32024 Author: John (J5) Palmieri <johnp@redhat.com>
32025 Date: Thu Oct 28 15:32:28 2010 -0400
32027 [gi] add tests for calling dir on a dynamic module
32029 tests/test_gi.py | 24 ++++++++++++++++++++++++
32030 1 file changed, 24 insertions(+)
32032 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
32033 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
32034 Date: Wed Oct 27 18:28:11 2010 -0400
32036 [gi] dir() now works for modules
32038 https://bugzilla.gnome.org/show_bug.cgi?id=625093
32040 gi/module.py | 8 ++++++++
32041 1 file changed, 8 insertions(+)
32043 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
32044 Author: Simón Pena <spenap@gmail.com>
32045 Date: Mon Sep 20 23:10:14 2010 +0200
32047 Don't check the inner type when comparing gpointers
32049 When using pyg_pointer_richcompare to compare two objects,
32050 don't check their inner types. As we can't compare their private
32051 fields, nor get a proper compare function, we can consider them
32052 gpointers and compare them that way.
32054 https://bugzilla.gnome.org/show_bug.cgi?id=629552
32056 gobject/pygpointer.c | 2 +-
32057 1 file changed, 1 insertion(+), 1 deletion(-)
32059 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
32060 Author: John (J5) Palmieri <johnp@redhat.com>
32061 Date: Thu Oct 28 14:21:12 2010 -0400
32063 Release GIL when calling into C functions
32065 Author: Daniel P. Berrange <dan@berrange.com>
32067 https://bugzilla.gnome.org/show_bug.cgi?id=629042
32069 gi/pygi-invoke.c | 10 +++++++++-
32070 1 file changed, 9 insertions(+), 1 deletion(-)
32072 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
32073 Author: José Aliste <jaliste@src.gnome.org>
32074 Date: Fri Oct 15 14:30:10 2010 -0300
32076 _gi.Repository : Implement missing info bindings.
32078 https://bugzilla.gnome.org/show_bug.cgi?id=632185
32080 gi/pygi-info.c | 91
32081 +++++++++++++++++++++++++++++++++++++++++++++++++---------
32082 gi/pygi-info.h | 7 +++++
32083 2 files changed, 84 insertions(+), 14 deletions(-)
32085 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
32086 Author: John (J5) Palmieri <johnp@redhat.com>
32087 Date: Thu Oct 28 13:49:15 2010 -0400
32089 include Python.h so that PY_VERSION_HEX gets defined
32091 gi/pygi-foreign-cairo.c | 1 +
32092 1 file changed, 1 insertion(+)
32094 commit 8b28b1d713df33931e255600ab98feda37a8e02a
32095 Author: John (J5) Palmieri <johnp@redhat.com>
32096 Date: Thu Oct 28 13:47:34 2010 -0400
32098 [gi] make overrides work for python 3.x protocols and alias for
32101 gi/overrides/Gtk.py | 9 +++++++--
32102 1 file changed, 7 insertions(+), 2 deletions(-)
32104 commit 3c09710d2f68af9c16ce39fd25656147656a486a
32105 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32106 Date: Sat Oct 23 14:24:24 2010 +0200
32108 Override Gtk.Widget.translate_coordinates to not return success value
32110 gi/overrides/Gtk.py | 11 +++++++++++
32111 1 file changed, 11 insertions(+)
32113 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
32114 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32115 Date: Sat Oct 23 14:22:36 2010 +0200
32117 Override Gtk.TreeViewColumn.cell_get_position to not return success
32120 gi/overrides/Gtk.py | 5 +++++
32121 1 file changed, 5 insertions(+)
32123 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
32124 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32125 Date: Sat Oct 23 14:21:36 2010 +0200
32127 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
32128 not return success value
32130 gi/overrides/Gtk.py | 15 +++++++++++++++
32131 1 file changed, 15 insertions(+)
32133 commit 80b1b266fa68a5c67106871502017166628f71e4
32134 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32135 Date: Sat Oct 23 14:20:38 2010 +0200
32137 Override Gtk.TreeSortable.get_sort_column_id to not return success
32140 gi/overrides/Gtk.py | 12 ++++++++++++
32141 1 file changed, 12 insertions(+)
32143 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
32144 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32145 Date: Sat Oct 23 14:19:20 2010 +0200
32147 Override forward_search and backward_search of Gtk.TextIter to not
32148 return success value
32150 gi/overrides/Gtk.py | 15 +++++++++++++++
32151 1 file changed, 15 insertions(+)
32153 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
32154 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32155 Date: Sat Oct 23 14:18:09 2010 +0200
32157 Override Gtk.TextBuffer.get_selection_bounds to not return success
32160 gi/overrides/Gtk.py | 5 +++++
32161 1 file changed, 5 insertions(+)
32163 commit da6d87460b9392c29d025a7eed9249fb604204bc
32164 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32165 Date: Sat Oct 23 14:17:04 2010 +0200
32167 Override Gtk.RecentInfo.get_application_info to not return success
32170 gi/overrides/Gtk.py | 10 ++++++++++
32171 1 file changed, 10 insertions(+)
32173 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
32174 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32175 Date: Sat Oct 23 14:16:21 2010 +0200
32177 Override Gtk.IMContext.get_surrounding to not return success value
32179 gi/overrides/Gtk.py | 10 ++++++++++
32180 1 file changed, 10 insertions(+)
32182 commit b85b445f15421209c0b4adf676d7c8218d6437c5
32183 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32184 Date: Sat Oct 23 14:15:24 2010 +0200
32186 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
32187 of Gtk.IconView to not return success value
32189 gi/overrides/Gtk.py | 19 +++++++++++++++++++
32190 1 file changed, 19 insertions(+)
32192 commit 684d716192d58c972083e579e909bcd97f8a5025
32193 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32194 Date: Sat Oct 23 14:13:47 2010 +0200
32196 Override Gtk.Container.get_focus_chain to not return success value
32198 gi/overrides/Gtk.py | 10 ++++++++++
32199 1 file changed, 10 insertions(+)
32201 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
32202 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32203 Date: Sat Oct 23 14:12:44 2010 +0200
32205 Override Gtk.ComboBox.get_active_iter to not return success value
32207 gi/overrides/Gtk.py | 10 ++++++++++
32208 1 file changed, 10 insertions(+)
32210 commit b483852904468722230903989e3451c7c6a24c0f
32211 Author: John (J5) Palmieri <johnp@redhat.com>
32212 Date: Tue Oct 12 12:18:33 2010 -0400
32214 [gi] make parameter check less strict when dealing with GValue params
32216 * Some GValue API can store a pointer to a python object for later
32217 use but our parameter checking was too strict to allow this
32218 * Add pyg_type_from_object_strict API which takes a strict boolean and
32219 returns PY_TYPE_OBJECT if no other GType can be found
32220 * Since we don't have enough info to genrically check GValue
32222 use the less strict type guessing when encountering a GValue param
32223 * Other API stays the same and continues to do strict testing
32225 https://bugzilla.gnome.org/show_bug.cgi?id=622987
32227 gi/pygi-argument.c | 17 ++++++---------
32228 gobject/gobjectmodule.c | 4 ++--
32229 gobject/pygobject-private.h | 1 +
32230 gobject/pygobject.h | 2 ++
32231 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
32232 tests/test_gi.py | 1 -
32233 tests/test_overrides.py | 50
32234 +++++++++++++++++++++++++++++++++++++++++----
32235 7 files changed, 90 insertions(+), 22 deletions(-)
32237 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
32238 Author: John Stowers <john.stowers@gmail.com>
32239 Date: Fri Oct 22 13:28:31 2010 +1300
32241 Shortcut removal is not needed on post-uninstall
32243 pygobject_postinstall.py | 14 ++------------
32244 1 file changed, 2 insertions(+), 12 deletions(-)
32246 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
32247 Author: John Stowers <john.stowers@gmail.com>
32248 Date: Thu Oct 21 13:25:35 2010 +1300
32250 Disable shortcut creation in windows installer
32252 pygobject_postinstall.py | 2 +-
32253 1 file changed, 1 insertion(+), 1 deletion(-)
32255 commit a3d6212b0abccef58f05d454c091936776413d98
32256 Author: John (J5) Palmieri <johnp@redhat.com>
32257 Date: Thu Oct 7 11:43:27 2010 -0400
32259 overrides for all subclasses of dialog
32261 https://bugzilla.gnome.org/show_bug.cgi?id=631634
32263 gi/overrides/Gtk.py | 94
32264 +++++++++++++++++++++++++++++++++++++++++++++----
32265 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
32266 2 files changed, 151 insertions(+), 7 deletions(-)
32268 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
32269 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32270 Date: Thu Oct 7 19:37:53 2010 +0200
32272 Make TreeModel behave like in GTK-2.x
32274 Moved stuff from __getitem__ to get_iter.
32275 Added TreePath.__cmp__
32277 get_iter_from_string throws ValueError.
32278 iterchildren() does not return None.
32280 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
32283 Added support for negative row and column indices
32285 Use rich comparison methods instead of __cmp__
32287 Added TreeModel.__bool__/__nonzero__
32289 Raise Error if tree path string is empty
32291 https://bugzilla.gnome.org/show_bug.cgi?id=631547
32293 gi/overrides/Gtk.py | 195
32294 ++++++++++++++++++++++++++++++++++++++++++++++++
32295 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
32296 2 files changed, 349 insertions(+), 6 deletions(-)
32298 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
32299 Author: John Stowers <john.stowers@gmail.com>
32300 Date: Sat Oct 16 18:59:25 2010 +1300
32302 Correctly build GIO on windows
32304 setup.py | 6 +++---
32305 1 file changed, 3 insertions(+), 3 deletions(-)
32307 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
32308 Author: John Stowers <john.stowers@gmail.com>
32309 Date: Sat Oct 16 18:17:28 2010 +1300
32311 Require Python >= 2.6.0 for Windows build
32314 1 file changed, 1 insertion(+), 1 deletion(-)
32316 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
32317 Author: John Stowers <john.stowers@gmail.com>
32318 Date: Sat Oct 16 17:41:01 2010 +1300
32320 Fix depreciation warning in dsextras.py
32323 1 file changed, 1 insertion(+), 1 deletion(-)
32325 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
32326 Author: John Stowers <john.stowers@gmail.com>
32327 Date: Sat Oct 16 17:34:50 2010 +1300
32329 Fix build on windows
32331 gi/pygi-foreign.c | 5 ++++-
32332 gi/pygi.h | 5 ++++-
32334 3 files changed, 10 insertions(+), 4 deletions(-)
32336 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
32337 Author: Michael Culbertson <michael.culbertson@gmail.com>
32338 Date: Sat Oct 16 17:08:11 2010 +1300
32340 Support for GCC4 in Windows distutils build - bug 626548
32342 dsextras.py | 3 ++-
32343 1 file changed, 2 insertions(+), 1 deletion(-)
32345 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
32346 Author: John Stowers <john.stowers@gmail.com>
32347 Date: Fri Oct 15 09:39:02 2010 +1300
32349 Remove obsolete comments in dsextras.py
32351 dsextras.py | 11 ++---------
32352 1 file changed, 2 insertions(+), 9 deletions(-)
32354 commit b5f383f854fb8f72677828b029589320c59006d1
32355 Author: John Stowers <john.stowers@gmail.com>
32356 Date: Fri Oct 15 09:21:03 2010 +1300
32358 Broken dsextras.py pkg-config check error message
32363 1 file changed, 1 insertion(+), 1 deletion(-)
32365 commit e1981da105b574e273ae6500fc6d25caf6af6aae
32366 Author: John (J5) Palmieri <johnp@redhat.com>
32367 Date: Tue Sep 28 15:31:03 2010 -0400
32369 add compat functions for the deprecated PyCObject api
32371 * Moved to using the PyCapsule API for python >= 3
32372 * PyCObject is removed from Python 3.2
32373 * It has also been deprecated in 2.7 but since we use the API in
32375 which are consumed by static binding modules, appling this for
32377 causes crashes unless the modules are recompiled, breaking ABI.
32379 to rely on for 2.7 because it will never be removed and there is
32381 undeprecating it upstream.
32382 * There is no issues with static bindings under python 3 because
32384 supported yet and most likely never will be.
32385 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
32387 which adds a poorman's type check when unboxing.
32389 https://bugzilla.gnome.org/show_bug.cgi?id=630844
32391 gi/gimodule.c | 2 +-
32392 gi/pygi.h | 5 ++++-
32393 glib/glibmodule.c | 2 +-
32394 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
32395 glib/pyglib.c | 6 +++---
32396 glib/pygoptioncontext.c | 2 +-
32397 gobject/gobjectmodule.c | 2 +-
32398 gobject/pygobject.h | 6 ++++++
32399 gobject/pygtype.c | 10 +++++-----
32400 9 files changed, 50 insertions(+), 13 deletions(-)
32402 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
32403 Author: Damien Caliste <damien.caliste@cea.fr>
32404 Date: Tue Sep 28 12:44:42 2010 +0200
32406 Add __path__ attributes.
32408 Add an attribute __path__ to DynamicModule and IntrospectionModule,
32409 using the path of the typelib.
32411 https://bugzilla.gnome.org/show_bug.cgi?id=630807
32413 gi/module.py | 2 ++
32414 1 file changed, 2 insertions(+)
32416 commit 28f9366c9cb382801bad080864f667c867daa3c7
32417 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32418 Date: Sat Oct 9 17:40:40 2010 +0200
32420 Override Gtk.TreeSelection.get_selected to not return success value.
32422 https://bugzilla.gnome.org/show_bug.cgi?id=631765
32424 gi/overrides/Gtk.py | 12 ++++++++++++
32425 1 file changed, 12 insertions(+)
32427 commit f01a7d9e8222663ce52100e061033f2745a5e7af
32428 Author: Vincent Untz <vuntz@gnome.org>
32429 Date: Thu Oct 7 09:42:24 2010 +0200
32431 Make row optional in Gtk.TreeStore/ListStore.append override
32433 https://bugzilla.gnome.org/show_bug.cgi?id=631548
32435 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
32436 1 file changed, 22 insertions(+), 14 deletions(-)
32438 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
32439 Author: John (J5) Palmieri <johnp@redhat.com>
32440 Date: Mon Oct 4 12:50:55 2010 -0400
32442 Revert "add compat functions for the deprecated PyCObject api"
32444 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
32446 I ment to commit another patch and ended up comitting both
32448 gi/gimodule.c | 2 +-
32449 gi/pygi.h | 5 +----
32450 glib/glibmodule.c | 2 +-
32451 glib/pyglib-python-compat.h | 19 -------------------
32452 glib/pyglib.c | 6 +++---
32453 glib/pygoptioncontext.c | 2 +-
32454 gobject/gobjectmodule.c | 2 +-
32455 gobject/pygobject.h | 6 ------
32456 gobject/pygtype.c | 10 +++++-----
32457 9 files changed, 13 insertions(+), 41 deletions(-)
32459 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
32460 Author: John (J5) Palmieri <johnp@redhat.com>
32461 Date: Mon Oct 4 12:43:31 2010 -0400
32463 return NULL instead of -1 which fixes crash when introspection is
32466 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
32469 1 file changed, 1 insertion(+), 1 deletion(-)
32471 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
32472 Author: John (J5) Palmieri <johnp@redhat.com>
32473 Date: Tue Sep 28 15:31:03 2010 -0400
32475 add compat functions for the deprecated PyCObject api
32477 * Moved to using the PyCapsule API for python >= 2.7
32479 https://bugzilla.gnome.org/show_bug.cgi?id=630844
32481 gi/gimodule.c | 2 +-
32482 gi/pygi.h | 5 ++++-
32483 glib/glibmodule.c | 2 +-
32484 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
32485 glib/pyglib.c | 6 +++---
32486 glib/pygoptioncontext.c | 2 +-
32487 gobject/gobjectmodule.c | 2 +-
32488 gobject/pygobject.h | 6 ++++++
32489 gobject/pygtype.c | 10 +++++-----
32490 9 files changed, 41 insertions(+), 13 deletions(-)
32492 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
32493 Author: John (J5) Palmieri <johnp@redhat.com>
32494 Date: Tue Sep 28 15:28:16 2010 -0400
32496 fix commit 7fe83108 which didn't use the compat functions for
32499 glib/glibmodule.c | 2 +-
32500 1 file changed, 1 insertion(+), 1 deletion(-)
32502 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
32503 Author: John (J5) Palmieri <johnp@redhat.com>
32504 Date: Tue Sep 28 13:15:57 2010 -0400
32506 Python 3 fixes for dsextras and the python.m4 distribution files
32508 dsextras.py | 13 +++++++------
32509 m4/python.m4 | 4 ++--
32510 2 files changed, 9 insertions(+), 8 deletions(-)
32512 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
32513 Author: John (J5) Palmieri <johnp@redhat.com>
32514 Date: Mon Sep 27 14:01:31 2010 -0400
32516 post release bump to 2.27.0 unstable
32518 * update hacking to fill in some holes in the release instructions
32521 configure.ac | 2 +-
32522 2 files changed, 5 insertions(+), 3 deletions(-)
32524 commit fd38010101411e6bc1ca9314657f418de660fa13
32525 Author: John (J5) Palmieri <johnp@redhat.com>
32526 Date: Mon Sep 27 12:03:10 2010 -0400
32528 update NEWS for release
32531 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
32532 1 file changed, 93 insertions(+)
32534 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
32535 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32536 Date: Sun Sep 26 08:37:31 2010 +0200
32538 Pre-release version bump 2.26.0
32540 configure.ac | 4 ++--
32541 1 file changed, 2 insertions(+), 2 deletions(-)
32543 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
32544 Author: John Stowers <john.stowers@gmail.com>
32545 Date: Fri Sep 24 22:44:03 2010 +1200
32547 Wrap g_get_system_{config,data}_dirs ()
32549 * Also tidy up g_get_{cache,config,data}_dir
32550 to share common code
32552 glib/glibmodule.c | 68
32553 ++++++++++++++++++++++++++++++++++++++++---------------
32554 1 file changed, 50 insertions(+), 18 deletions(-)
32556 commit 328aca600714bdca89dfdb531c222ee561ede27e
32557 Author: John (J5) Palmieri <johnp@redhat.com>
32558 Date: Fri Sep 24 12:16:22 2010 -0400
32560 fixed make check and make dist
32562 tests/Makefile.am | 31 ++++++++++++++++++-------------
32563 1 file changed, 18 insertions(+), 13 deletions(-)
32565 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
32566 Author: John Stowers <john.stowers@gmail.com>
32567 Date: Fri Sep 24 21:20:53 2010 +1200
32569 Disable GI tests when introspection disabled
32571 tests/Makefile.am | 2 ++
32572 1 file changed, 2 insertions(+)
32574 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
32575 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32576 Date: Sat Jul 18 19:35:08 2009 +0200
32578 Wrap g_uri_list_extract_uris. Fixes bug #584431
32580 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
32581 gobject/__init__.py | 2 +-
32582 tests/Makefile.am | 3 ++-
32583 tests/test_uris.py | 15 +++++++++++++++
32584 4 files changed, 56 insertions(+), 2 deletions(-)
32586 commit d6721a59c294f2471142b8c32de2f647b7084bca
32587 Author: Paul Bolle <pebolle@tiscali.nl>
32588 Date: Thu Sep 23 15:38:40 2010 -0400
32590 Fix a few uses of TRUE and FALSE in the docs
32592 docs/reference/pygio-mount.xml | 5 +++--
32593 docs/reference/pyglib-functions.xml | 18 +++++++++---------
32594 docs/reference/pyglib-maincontext.xml | 12 ++++++------
32595 docs/reference/pyglib-mainloop.xml | 6 +++---
32596 docs/reference/pygobject-functions.xml | 6 +++---
32597 docs/reference/pygobject.xml | 4 ++--
32598 6 files changed, 26 insertions(+), 25 deletions(-)
32600 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
32601 Author: Damien Caliste <damien.caliste@cea.fr>
32602 Date: Tue Sep 21 17:52:14 2010 +0200
32604 pygi: always free the invocation_state struct
32606 In pygi-invoke.c, the invocation_state struct is never freed
32607 in case of success. Thus, always call _free_invocation_state()
32609 Modify _free_invocation_state to avoid double free in case of
32610 caller-allocated GValue, once as a released argument in the
32611 _process routine and another time in the _free as the special
32612 case. So move all argument releasing code from the _process
32613 routine to the _free one.
32614 Modify the tests for the callback routines to return an integer
32615 value as specified in the GIR file.
32617 Make check is as successful as before (already existing error
32618 related to GVariant is still there).
32620 https://bugzilla.gnome.org/show_bug.cgi?id=630271
32622 gi/pygi-invoke.c | 83
32623 +++++++++++++++++++++---------------------------
32624 tests/test_everything.py | 4 ++-
32625 2 files changed, 40 insertions(+), 47 deletions(-)
32627 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
32628 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32629 Date: Mon Sep 13 16:36:47 2010 +0200
32631 Start implementing something equivalent to g_variant_new
32633 https://bugzilla.gnome.org/show_bug.cgi?id=629367
32635 gi/gimodule.c | 20 +++++++
32636 gi/overrides/GLib.py | 131
32637 ++++++++++++++++++++++++++++++++++++++++++---
32638 gi/pygi-foreign-gvariant.c | 2 +-
32639 tests/test_everything.py | 16 ------
32640 tests/test_overrides.py | 25 +++++++++
32641 5 files changed, 170 insertions(+), 24 deletions(-)
32643 commit fc45abdd9b55ab63556798ab0f04715be79dba08
32644 Author: John (J5) Palmieri <johnp@redhat.com>
32645 Date: Thu Sep 23 10:49:36 2010 -0400
32647 fixed typo - missing comma in glib.option module
32649 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
32651 glib/option.py | 2 +-
32652 1 file changed, 1 insertion(+), 1 deletion(-)
32654 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
32655 Author: John (J5) Palmieri <johnp@redhat.com>
32656 Date: Fri Sep 17 12:08:09 2010 -0400
32658 add checks so we can compile under python 3 by setting PYTHON=python3
32660 * compile for python 3
32661 * disables gio if compiling under python 3.x
32662 * runs only pertinant tests
32664 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32666 configure.ac | 32 +++++++++++++++++++++++++++++---
32667 tests/Makefile.am | 35 ++++++++++++++++++++---------------
32668 tests/runtests.py | 4 ++++
32669 3 files changed, 53 insertions(+), 18 deletions(-)
32671 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
32672 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32673 Date: Fri Sep 17 15:50:47 2010 +0200
32675 Rename static methods as functions
32677 In recent gobject-introspection releases, static methods have been
32678 removed and placed as functions in the namespace level. In a future
32679 releases it's planned to become static methods again but for now
32680 let's fix the tests.
32682 tests/test_gi.py | 14 +++++++-------
32683 1 file changed, 7 insertions(+), 7 deletions(-)
32685 commit 2da8da589644d6125101210712defb1272a8abb1
32686 Author: John (J5) Palmieri <johnp@redhat.com>
32687 Date: Thu Sep 9 13:52:14 2010 -0400
32689 fix a couple of compiler warnings
32691 https://bugzilla.gnome.org/show_bug.cgi?id=629199
32693 gi/pygi-argument.c | 4 ++--
32694 gi/pygi-struct.c | 2 +-
32695 gobject/gobjectmodule.c | 2 +-
32696 3 files changed, 4 insertions(+), 4 deletions(-)
32698 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
32699 Author: John (J5) Palmieri <johnp@redhat.com>
32700 Date: Thu Sep 9 13:55:17 2010 -0400
32704 * we use richcompare now
32706 https://bugzilla.gnome.org/show_bug.cgi?id=629198
32708 gobject/pygtype.c | 9 ---------
32709 1 file changed, 9 deletions(-)
32711 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
32712 Author: John (J5) Palmieri <johnp@redhat.com>
32713 Date: Tue Sep 14 14:10:49 2010 -0400
32715 Check the type of the instance object
32717 * in python 2 methods were added to classes as unbound methods and
32719 check the instance type to make sure it was correct
32720 * in python 3 for perfomance reasons methods are added to classes
32722 functions which treat the instance as an untyped argument so
32725 * this patch adds a type check so that the correct errors are
32727 python 3 (python 2 this just adds another layer of redundancy should
32728 something change with type checking in the future)
32729 * since GI handles regular args and the instance arg slightly
32731 we had to split out the interface checks in
32732 _pygi_g_type_info_check_object
32733 in order to not duplicate code
32735 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32737 gi/pygi-argument.c | 182
32738 ++++++++++++++++++++++++++++-------------------------
32739 gi/pygi-argument.h | 2 +
32740 gi/pygi-invoke.c | 14 +++++
32741 3 files changed, 112 insertions(+), 86 deletions(-)
32743 commit 5d79498d38b147b66ae72c1481e397160491e8d6
32744 Author: John (J5) Palmieri <johnp@redhat.com>
32745 Date: Wed Sep 15 10:26:20 2010 -0400
32747 include the correct pycairo version
32749 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32751 gi/pygi-foreign-cairo.c | 6 ++++++
32752 1 file changed, 6 insertions(+)
32754 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
32755 Author: John (J5) Palmieri <johnp@redhat.com>
32756 Date: Thu Sep 9 22:16:58 2010 -0400
32758 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
32760 * in Py3k PyMapping_Check returns true for sequences such as strings
32761 and lists. Since we need to get the keys anyway, and it returns
32762 NULL if this is not a dict, this is a much better test, even in
32765 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32767 gi/pygi-argument.c | 10 +++-------
32768 1 file changed, 3 insertions(+), 7 deletions(-)
32770 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
32771 Author: John (J5) Palmieri <johnp@redhat.com>
32772 Date: Thu Sep 9 18:44:11 2010 -0400
32774 fix handling of UINT64 and INT64 arguments in py3k
32776 * decode to the right sized C long
32778 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32780 gi/pygi-argument.c | 20 ++++++++++++--------
32781 1 file changed, 12 insertions(+), 8 deletions(-)
32783 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
32784 Author: John (J5) Palmieri <johnp@redhat.com>
32785 Date: Thu Sep 9 17:35:10 2010 -0400
32787 properly handle ulongs properties in py3k
32789 * If this is a PyLong object pull use AsUnsignedLong
32791 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32793 gobject/pygtype.c | 29 ++++++++++++++++-------------
32794 1 file changed, 16 insertions(+), 13 deletions(-)
32796 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
32797 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32798 Date: Fri Sep 17 12:14:56 2010 +0200
32800 Specify encoding of tests/test_gi.py
32802 tests/test_gi.py | 3 ++-
32803 1 file changed, 2 insertions(+), 1 deletion(-)
32805 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
32806 Author: John (J5) Palmieri <johnp@redhat.com>
32807 Date: Thu Sep 9 13:24:30 2010 -0400
32809 use actual unicode in the tests on py3k, not the byte representation
32811 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32813 tests/test_gi.py | 6 +++++-
32814 1 file changed, 5 insertions(+), 1 deletion(-)
32816 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
32817 Author: John (J5) Palmieri <johnp@redhat.com>
32818 Date: Thu Sep 9 12:45:21 2010 -0400
32820 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
32823 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
32825 with both the METH_VARARGS and METH_KEYWORDS flags.
32827 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32829 glib/pygiochannel.c | 30 +++++++++++++++---------------
32830 glib/pygsource.c | 4 ++--
32831 gobject/pygobject.c | 2 +-
32832 3 files changed, 18 insertions(+), 18 deletions(-)
32834 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
32835 Author: John (J5) Palmieri <johnp@redhat.com>
32836 Date: Thu Sep 9 08:04:40 2010 -0400
32838 fix subclassing PyLong by calling __new__ correctly
32840 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32842 glib/pygspawn.c | 4 ++--
32843 1 file changed, 2 insertions(+), 2 deletions(-)
32845 commit a499b2f0d622b671bd154544f66b73f1278e66ed
32846 Author: John (J5) Palmieri <johnp@redhat.com>
32847 Date: Thu Sep 9 07:56:44 2010 -0400
32849 minor py3k fixups for python modules
32851 * add _basestring and _bytes and _callable wrappers
32852 * use items instead of iteritems and range instead of xrange
32856 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32858 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
32859 glib/option.py | 16 ++++++++++++----
32860 2 files changed, 28 insertions(+), 12 deletions(-)
32862 commit dec9001d26c97949e7b3578086cb35e98075c047
32863 Author: John (J5) Palmieri <johnp@redhat.com>
32864 Date: Thu Sep 9 07:36:04 2010 -0400
32866 minor fixes in tests for py3k compat
32868 * add a _bytes wrapper for API that expects bytes in py3k but str
32870 * fix some more exception handling using sys.exc_info()[:2]
32871 * use range instead of xrange, items instead of iteritems since py3k
32872 dropped support for the different ways of accessing iterators
32873 - this is less efficient in py2 but we plan to target py3k as the
32875 * use list(dict.items()) since py3k only returns iterables which
32878 * missed some _long wrapping
32880 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32882 tests/compathelper.py | 18 ++++++++++++++++++
32883 tests/test_everything.py | 5 +++--
32884 tests/test_mainloop.py | 3 ++-
32885 tests/test_option.py | 6 ++++--
32886 tests/test_overrides.py | 4 ++--
32887 tests/test_properties.py | 6 +++---
32888 6 files changed, 32 insertions(+), 10 deletions(-)
32890 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
32891 Author: Colin Walters <walters@verbum.org>
32892 Date: Thu Sep 9 16:25:51 2010 -0400
32894 compilation: Fix syntax error
32896 gi/pygi-info.c | 2 +-
32897 1 file changed, 1 insertion(+), 1 deletion(-)
32899 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
32900 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32901 Date: Thu Sep 9 22:17:00 2010 +0200
32905 gi/overrides/GLib.py | 48
32906 ++++++++++++++++++++++++++++++++++++++++++++++++
32907 1 file changed, 48 insertions(+)
32909 commit 306b792ac97a458ddee59fb86d66453495117f3e
32910 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32911 Date: Thu Jul 22 13:48:51 2010 +0100
32913 Add override for GLib.Variant.new_tuple
32915 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
32916 * gi/overrides/GLib.py: Override Variant.new_tuple and
32918 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
32919 _pygi_type_import_by_gi_info
32920 * gi/types.py: Never override gobject.TYPE_NONE
32921 * tests/test_everything.py: Add tests for GVariant tuples
32923 https://bugzilla.gnome.org/show_bug.cgi?id=625050
32925 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
32926 gi/overrides/Makefile.am | 1 +
32927 gi/pygi-type.c | 15 +++++++++------
32928 gi/pygi-type.h | 2 ++
32930 tests/test_everything.py | 9 +++++++++
32931 6 files changed, 60 insertions(+), 6 deletions(-)
32933 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
32934 Author: John (J5) Palmieri <johnp@redhat.com>
32935 Date: Wed Sep 8 13:08:48 2010 -0400
32937 fix for changes in the gi test libraries
32939 tests/test_everything.py | 2 +-
32940 1 file changed, 1 insertion(+), 1 deletion(-)
32942 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
32943 Author: John (J5) Palmieri <johnp@redhat.com>
32944 Date: Wed Sep 8 13:08:07 2010 -0400
32946 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
32948 gi/overrides/Gtk.py | 10 ++++++++--
32949 1 file changed, 8 insertions(+), 2 deletions(-)
32951 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
32952 Author: John (J5) Palmieri <johnp@redhat.com>
32953 Date: Wed Sep 8 12:35:09 2010 -0400
32955 no need to offset arg positions when is_method is true
32957 * The old GI libraries required we offset arg positions for the
32959 self argument. The new library fixes this so we don't have
32963 https://bugzilla.gnome.org/show_bug.cgi?id=629087
32965 gi/pygi-callbacks.c | 5 +----
32966 1 file changed, 1 insertion(+), 4 deletions(-)
32968 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
32969 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32970 Date: Fri Aug 20 14:54:35 2010 +0200
32972 gi: Add support for more property types
32974 https://bugzilla.gnome.org/show_bug.cgi?id=627494
32976 gi/pygi-property.c | 156
32977 ++++++++++++++++++++++++++++++++++++-----------
32978 tests/test_everything.py | 34 +++++++++++
32979 2 files changed, 154 insertions(+), 36 deletions(-)
32981 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
32982 Author: John (J5) Palmieri <johnp@redhat.com>
32983 Date: Fri Sep 3 12:04:16 2010 -0400
32985 use PyObject_SetAttrString, not PyDict_SetItemString when setting
32988 * When registering a gtype wrapper we used to set tp_dict
32989 directly. This works
32990 in python 2 but python 3 seems to handle attributes in a slightly
32992 way where the tp_dict and attr get out of sync. By setting the attr
32993 directly we avoid this issue.
32994 * Note that there are many more places where we set __gtype__
32996 however for objects which are not instantiated yet we have to
32999 * Since this one change fixes a lot of failed tests, for now we
33001 other places where we set __gtype__. If we run into more issues
33003 with __gtype__ we can take a closer look later.
33005 https://bugzilla.gnome.org/show_bug.cgi?id=627878
33007 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33009 gobject/gobjectmodule.c | 2 +-
33010 1 file changed, 1 insertion(+), 1 deletion(-)
33012 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
33013 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33014 Date: Wed Sep 1 11:03:40 2010 +0200
33016 Rename GArgument to GIArgument
33018 gi/pygi-argument.c | 52
33019 +++++++++++++++++++++++-----------------------
33020 gi/pygi-argument.h | 10 ++++-----
33021 gi/pygi-closure.c | 34 +++++++++++++++---------------
33022 gi/pygi-foreign-cairo.c | 8 +++----
33023 gi/pygi-foreign-gvariant.c | 4 ++--
33024 gi/pygi-foreign-gvariant.h | 4 ++--
33025 gi/pygi-foreign.c | 12 +++++------
33026 gi/pygi-foreign.h | 8 +++----
33027 gi/pygi-info.c | 8 +++----
33028 gi/pygi-invoke.c | 28 ++++++++++++-------------
33029 gi/pygi-property.c | 4 ++--
33030 gi/pygi.h | 16 +++++++-------
33031 12 files changed, 94 insertions(+), 94 deletions(-)
33033 commit 7197f85c9be2b03636639ac909ca2c3170653509
33034 Author: John (J5) Palmieri <johnp@redhat.com>
33035 Date: Wed Aug 18 10:29:19 2010 -0400
33037 fix up tests so they run in py3k
33039 * add a compat helper that should only be used by tests
33040 * fix long notation to use the compat helper instead
33041 * add parens to print statements
33042 * use compatable try/except pattern
33044 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33046 gobject/propertyhelper.py | 16 +++++++++++-----
33047 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
33048 tests/test_option.py | 7 ++++++-
33049 tests/test_properties.py | 24 ++++++++++++++----------
33050 tests/test_signal.py | 14 +++++++-------
33051 tests/test_source.py | 4 ++--
33052 6 files changed, 72 insertions(+), 25 deletions(-)
33054 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
33055 Author: Colin Walters <walters@verbum.org>
33056 Date: Fri Aug 20 10:58:48 2010 -0400
33058 tests: Port to new introspection tests
33060 Everything is renamed "Regress", and both it and GIMarshallingTests
33061 are now in source form, so we compile them.
33063 The scanner now adds "static methods" to objects, structs, and unions,
33064 so update the test code to use those.
33066 In the tests, remove broken (inout) cases - the person writing these
33067 tests misunderstood the semantics of (inout). It's not acceptable for
33068 a C API to mutate e.g. a GSList* passed in, or unref an object.
33070 The invocation code needed to be updated for this - remove some
33073 https://bugzilla.gnome.org/show_bug.cgi?id=627878
33075 configure.ac | 5 +-
33076 gi/pygi-argument.c | 9 +--
33077 gi/pygi-invoke.c | 147
33078 +++++----------------------------------------
33079 tests/Makefile.am | 42 ++++++++++++-
33080 tests/test_everything.py | 6 +-
33081 tests/test_gi.py | 151
33082 +++++++++--------------------------------------
33083 6 files changed, 93 insertions(+), 267 deletions(-)
33085 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
33086 Author: John (J5) Palmieri <johnp@redhat.com>
33087 Date: Fri Aug 20 10:43:58 2010 -0400
33089 we need to specify tp_hash since we overide tp_richcompare
33091 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33093 gobject/pygenum.c | 1 +
33094 gobject/pygflags.c | 1 +
33095 2 files changed, 2 insertions(+)
33097 commit c03e6b482548aee99362356807c804f8834fad2b
33098 Author: John Ehresman <jpe@wingware.com>
33099 Date: Thu Apr 15 17:11:30 2010 -0400
33101 working enum/flags/pid subclasses of long
33103 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33105 glib/pygspawn.c | 7 ++---
33106 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
33107 gobject/pygflags.c | 76
33108 +++++++++++++++++++++++-------------------------------
33109 3 files changed, 71 insertions(+), 73 deletions(-)
33111 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
33112 Author: John (J5) Palmieri <johnp@redhat.com>
33113 Date: Wed Aug 18 11:03:32 2010 -0400
33115 make vfuncs work in py3k
33117 * methods now export __func__ instead of im_func for getting the
33119 out of a method closure
33120 * however classes no longer return unbound methods in py3k and instead
33121 return the actual function
33122 * in python 2 we use im_func when getting the function from the
33124 * in py3k we simply assign vfunc to the function
33126 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33128 gi/types.py | 12 ++++++++----
33129 1 file changed, 8 insertions(+), 4 deletions(-)
33131 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
33132 Author: John (J5) Palmieri <johnp@redhat.com>
33133 Date: Tue Aug 17 15:43:42 2010 -0400
33135 make cairo module compile in py3k
33137 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33139 gi/Makefile.am | 2 +-
33140 gi/pygi-foreign-cairo.c | 17 +++++++----------
33141 2 files changed, 8 insertions(+), 11 deletions(-)
33143 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
33144 Author: John (J5) Palmieri <johnp@redhat.com>
33145 Date: Tue Aug 17 02:33:45 2010 -0400
33147 fix exceptions so they work in python 3.x
33149 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33151 gi/module.py | 2 +-
33153 2 files changed, 2 insertions(+), 2 deletions(-)
33155 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
33156 Author: John (J5) Palmieri <johnp@redhat.com>
33157 Date: Tue Aug 17 02:24:44 2010 -0400
33159 make the gi module compile under 3.x
33161 * include the compat macros
33162 * use GLIB_MODULE_START/END to define module
33163 * add PyInit__gi to the exported symbols
33165 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33167 gi/Makefile.am | 2 +-
33168 gi/gimodule.c | 24 +++++++++---------------
33169 2 files changed, 10 insertions(+), 16 deletions(-)
33171 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
33172 Author: John (J5) Palmieri <johnp@redhat.com>
33173 Date: Tue Aug 17 02:14:14 2010 -0400
33175 fix up testshelper module so it compiles in python 3.x
33177 * include the compat header
33178 * fix up PyInts to be PYGLIB_Long
33179 * Use PYGLIB_DEFINE_TYPE macros to define module objects
33180 * Use PYGLIB_MODULE_START/END to define modules
33182 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33184 tests/Makefile.am | 2 +-
33185 tests/testhelpermodule.c | 221
33186 ++++++-----------------------------------------
33187 2 files changed, 28 insertions(+), 195 deletions(-)
33189 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
33190 Author: John (J5) Palmieri <johnp@redhat.com>
33191 Date: Mon Aug 16 21:14:27 2010 -0400
33193 convert to using PYGLIB_DEFINE_TYPE for module objects
33195 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33197 gi/pygi-boxed.c | 43 ++-----------
33198 gi/pygi-info.c | 171
33199 ++++++++++++++++++++-------------------------------
33200 gi/pygi-repository.c | 39 +++---------
33201 gi/pygi-struct.c | 45 +++-----------
33202 4 files changed, 88 insertions(+), 210 deletions(-)
33204 commit 1efa2b12913b194d433c17014bc1077271a6ca32
33205 Author: John (J5) Palmieri <johnp@redhat.com>
33206 Date: Mon Aug 16 13:51:05 2010 -0400
33208 some more p3k PyString and PyInt eradication in GI
33210 * add the glib dir to the includes list in the build
33211 * make sure we include the compat macros
33212 * add GLIB_PyBytes_FromString to compat macros
33213 * add GLIB_PyNumber_Long to compat macros
33214 * use RichCompare instead of Compare
33216 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33218 gi/Makefile.am | 2 +-
33219 gi/pygi-argument.c | 96
33220 +++++++++++++++++++++++++++------------------
33221 gi/pygi-boxed.c | 1 +
33222 gi/pygi-info.c | 13 +++---
33223 gi/pygi-private.h | 23 +++++++++++
33224 gi/pygi-repository.c | 8 ++--
33225 gi/pygi-struct.c | 1 +
33226 glib/pyglib-python-compat.h | 6 +++
33227 8 files changed, 103 insertions(+), 47 deletions(-)
33229 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
33230 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33231 Date: Fri Aug 20 09:28:57 2010 +0200
33233 pyglib: Fix typo (Leo Singer)
33235 https://bugzilla.gnome.org/show_bug.cgi?id=627408
33237 glib/option.py | 4 ++--
33238 1 file changed, 2 insertions(+), 2 deletions(-)
33240 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
33241 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
33242 Date: Thu Aug 19 18:45:05 2010 -0300
33244 Add defines for size_t and ssize_t conversion functions
33246 These missing defines cause the resulting module to have unresolved
33247 symbols, rendering it unusable.
33249 https://bugzilla.gnome.org/show_bug.cgi?id=627440
33251 glib/pyglib-python-compat.h | 2 ++
33252 1 file changed, 2 insertions(+)
33254 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
33255 Author: Colin Walters <walters@verbum.org>
33256 Date: Thu Aug 19 17:50:35 2010 -0400
33258 pyglib: Fix a compiler warning
33260 glib/pyglib.c | 1 +
33261 1 file changed, 1 insertion(+)
33263 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
33264 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33265 Date: Wed Aug 18 20:36:51 2010 +0200
33267 Don't force gtk 2.0
33269 pygi-convert.sh | 11 +++++++----
33270 1 file changed, 7 insertions(+), 4 deletions(-)
33272 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
33273 Author: Steve Frécinaux <code@istique.net>
33274 Date: Tue Aug 17 14:49:30 2010 +0200
33276 Fix some ref leaks in hook_up_vfunc_implementation()
33278 https://bugzilla.gnome.org/show_bug.cgi?id=627143
33280 gi/gimodule.c | 9 +++++++--
33281 1 file changed, 7 insertions(+), 2 deletions(-)
33283 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
33284 Author: John (J5) Palmieri <johnp@redhat.com>
33285 Date: Thu Aug 12 12:16:31 2010 -0400
33287 handle strings correctly in gio
33289 gio/gappinfo.override | 5 +++++
33290 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
33291 2 files changed, 40 insertions(+), 7 deletions(-)
33293 commit 45ab0c03110c911b47519941dfd753326891b5e0
33294 Author: John (J5) Palmieri <johnp@redhat.com>
33295 Date: Wed Aug 11 16:13:59 2010 -0400
33297 make giomodule compile under py3k
33299 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33301 gio/giomodule.c | 153
33302 +++++++++++++++++++++++++++++---------------------------
33303 1 file changed, 78 insertions(+), 75 deletions(-)
33305 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
33306 Author: John (J5) Palmieri <johnp@redhat.com>
33307 Date: Wed Aug 11 16:04:48 2010 -0400
33309 for py3k we need to do some more processing to get bytes from a
33312 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33314 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
33315 1 file changed, 27 insertions(+), 4 deletions(-)
33317 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
33318 Author: John (J5) Palmieri <johnp@redhat.com>
33319 Date: Wed Aug 11 15:03:55 2010 -0400
33321 use Bytes instead of Unicode when reading io
33323 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33325 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
33326 1 file changed, 24 insertions(+), 6 deletions(-)
33328 commit 5824ff98175b749dbcfa72d24b994230b6e05377
33329 Author: John (J5) Palmieri <johnp@redhat.com>
33330 Date: Mon Aug 9 15:16:51 2010 -0400
33332 prefix compat macros with PYGLIB
33334 * refactor from John Ehresman <jpe@wingware.com> py3k branch
33335 * fix up some extranious PyString calls
33336 * remove duplicate macros from pyglib.h that are in
33337 pyglib-python-compat.h
33338 * pygobject.h can't import pyglib-python-compat.h so add codepaths
33339 for both Py3k and legacy code instead of using macros
33341 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33343 glib/glibmodule.c | 48 +++++-----
33344 glib/pygiochannel.c | 46 +++++-----
33345 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
33346 glib/pyglib.c | 22 ++---
33347 glib/pyglib.h | 14 ---
33348 glib/pygoptioncontext.c | 4 +-
33349 glib/pygsource.c | 16 ++--
33350 glib/pygspawn.c | 32 +++----
33351 gobject/gobjectmodule.c | 216
33352 ++++++++++++++++++++++----------------------
33353 gobject/pygboxed.c | 2 +-
33354 gobject/pygenum.c | 84 ++++++++---------
33355 gobject/pygflags.c | 122 ++++++++++++-------------
33356 gobject/pygobject-private.h | 12 +--
33357 gobject/pygobject.c | 46 +++++-----
33358 gobject/pygobject.h | 23 +++++
33359 gobject/pygparamspec.c | 24 ++---
33360 gobject/pygpointer.c | 2 +-
33361 gobject/pygtype.c | 170 +++++++++++++++++-----------------
33362 18 files changed, 563 insertions(+), 473 deletions(-)
33364 commit 231e934cc01d061e81bb60d35127a133cd0e1793
33365 Author: John (J5) Palmieri <johnp@redhat.com>
33366 Date: Mon Aug 16 10:14:04 2010 +0200
33368 Gtk.Button unit tests
33370 https://bugzilla.gnome.org/show_bug.cgi?id=622606
33372 tests/test_overrides.py | 10 ++++++++++
33373 1 file changed, 10 insertions(+)
33375 commit f07cfde377e42686c6b80f56cac62338ee333e61
33376 Author: Johan Dahlin <johan@gnome.org>
33377 Date: Mon Aug 16 10:08:38 2010 +0200
33379 [Gtk] Add overrides for Button
33381 https://bugzilla.gnome.org/show_bug.cgi?id=622606
33383 gi/overrides/Gtk.py | 13 +++++++++++++
33384 1 file changed, 13 insertions(+)
33386 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
33387 Author: Simon van der Linden <svdlinden@gnome.org>
33388 Date: Thu Aug 12 16:18:58 2010 +0200
33390 Make Cairo an optional dependency
33392 Add the --enable-cairo configure argument.
33394 https://bugzilla.gnome.org/show_bug.cgi?id=616732
33396 configure.ac | 15 ++++++++++++---
33397 gi/Makefile.am | 20 ++++++++++++--------
33398 2 files changed, 24 insertions(+), 11 deletions(-)
33400 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
33401 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33402 Date: Mon Aug 16 09:55:35 2010 +0200
33404 Don't import again PyGObject (John Ralls)
33406 https://bugzilla.gnome.org/show_bug.cgi?id=626996
33409 1 file changed, 1 insertion(+)
33411 commit 0dc3656070f496431829c6e8441ca17129c569f8
33412 Author: John (J5) Palmieri <johnp@redhat.com>
33413 Date: Mon Aug 9 16:11:55 2010 -0400
33415 move to using richcompare slot instead of compare
33417 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33419 glib/pygiochannel.c | 18 +++++++----
33421 +++++++++++++++++++++++++++++++++++++++++++++++++
33422 glib/pyglib.h | 3 ++
33423 glib/pygmaincontext.c | 17 ++++++----
33424 glib/pygmainloop.c | 17 ++++++----
33425 glib/pygoptioncontext.c | 18 +++++++----
33426 glib/pygoptiongroup.c | 22 +++++++------
33427 gobject/pygboxed.c | 18 +++++++----
33428 gobject/pygobject.c | 44 ++++++++++++++++++-------
33429 gobject/pygparamspec.c | 19 +++++++----
33430 gobject/pygpointer.c | 17 ++++++----
33431 gobject/pygtype.c | 26 +++++++++++----
33432 12 files changed, 233 insertions(+), 71 deletions(-)
33434 commit b426e531dc53d4b50e572a2da19733479635e662
33435 Author: Simon van der Linden <svdlinden@gnome.org>
33436 Date: Thu Aug 12 18:09:33 2010 +0200
33438 Replace autogen.sh by a newer version
33440 It pulls automake 1.10 or 1.11.
33441 Greatly inspired from GLib's.
33443 https://bugzilla.gnome.org/show_bug.cgi?id=625661
33446 +++++++------------------------------------------------------
33447 1 file changed, 58 insertions(+), 448 deletions(-)
33449 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
33450 Author: Simon van der Linden <svdlinden@gnome.org>
33451 Date: Thu Aug 12 14:11:55 2010 +0200
33455 pyglib.c: In function ‘pyglib_gerror_exception_check’:
33456 pyglib.c:362: warning: format not a string literal and no format
33458 pyglib.c:371: warning: format not a string literal and no format
33461 gio.override: In function 'pygio_notify_allocate_buffer':
33462 gio.override:144:13: warning: format '%d' expects type 'int', but
33466 https://bugzilla.gnome.org/show_bug.cgi?id=625437
33468 gio/gio.override | 2 +-
33469 glib/pyglib.c | 4 ++--
33470 2 files changed, 3 insertions(+), 3 deletions(-)
33472 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
33473 Author: Simon van der Linden <svdlinden@gnome.org>
33474 Date: Thu Aug 12 11:09:37 2010 +0200
33476 Fix caller-allocates emergency free.
33478 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
33480 NULL in order to be able caller-allocates. This patch adds those
33483 Moreover, the interface info needs to be freed afterwards.
33485 https://bugzilla.gnome.org/show_bug.cgi?id=626684
33487 gi/pygi-invoke.c | 9 ++++++++-
33488 1 file changed, 8 insertions(+), 1 deletion(-)
33490 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
33491 Author: Simon van der Linden <svdlinden@gnome.org>
33492 Date: Thu Aug 12 10:46:17 2010 +0200
33494 Remove useless checks.
33496 No need to check for state->arg_infos, state->arg_type_infos, and
33497 state->args_is_auxiliary to be NULL, they are always allocated.
33499 https://bugzilla.gnome.org/show_bug.cgi?id=626684
33501 gi/pygi-invoke.c | 14 +++-----------
33502 1 file changed, 3 insertions(+), 11 deletions(-)
33504 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
33505 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33506 Date: Tue Aug 10 17:40:16 2010 +0200
33508 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
33510 tests/Makefile.am | 2 +-
33511 1 file changed, 1 insertion(+), 1 deletion(-)
33513 commit 8be59c37dd57acc51875c7189ca09d728b729013
33514 Author: Ignacio Casal Quinteiro <icq@gnome.org>
33515 Date: Wed Aug 4 13:43:17 2010 +0200
33519 gi/pygi-argument.c | 2 --
33520 gi/pygi-invoke.c | 2 +-
33521 gi/pygi-struct.c | 1 -
33522 3 files changed, 1 insertion(+), 4 deletions(-)
33524 commit 529eca6054e9a7e2267f1529e317c2373932762f
33525 Author: Simon van der Linden <svdlinden@gnome.org>
33526 Date: Fri Jul 30 22:39:40 2010 +0200
33528 Add myself as a maintainer
33530 MAINTAINERS | 4 ++++
33531 1 file changed, 4 insertions(+)
33533 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
33534 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33535 Date: Fri Jul 30 14:14:16 2010 +0200
33537 Properly allocate boxed structs that are (caller-allocates)
33539 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
33540 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
33541 are (caller-allocates)
33542 * tests/test_overrides.py: Split the TreeView tests
33544 https://bugzilla.gnome.org/show_bug.cgi?id=625653
33546 gi/pygi-boxed.c | 50
33547 ++++++++++++++++++++++++++++++++-----------------
33548 gi/pygi-boxed.h | 10 ++++++----
33549 gi/pygi-invoke.c | 16 ++++++----------
33550 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
33551 4 files changed, 64 insertions(+), 51 deletions(-)
33553 commit 99c7322898c00a576c7319ea0a7c808446253133
33554 Author: Toms Baugis <toms.baugis@gmail.com>
33555 Date: Fri Jul 30 15:44:21 2010 +0200
33557 override gdk.Event to return attribute from the proper event object
33559 https://bugzilla.gnome.org/show_bug.cgi?id=620593
33561 gi/overrides/Gdk.py | 48
33562 ++++++++++++++++++++++++++++++++++++++++++++++++
33563 gi/pygi-invoke.c | 4 ----
33564 tests/test_overrides.py | 10 ++++++++++
33565 3 files changed, 58 insertions(+), 4 deletions(-)
33567 commit 55814e722c2ae11310f346790c9221e4fad92b50
33568 Author: John (J5) Palmieri <johnp@redhat.com>
33569 Date: Fri Jul 30 06:30:48 2010 -0400
33571 check if z# needs an int or Py_ssize_t
33573 https://bugzilla.gnome.org/show_bug.cgi?id=625438
33575 gio/gio.override | 5 +++++
33576 1 file changed, 5 insertions(+)
33578 commit 477315465d0a6d84b51e146e86e254873bc564ff
33579 Author: John (J5) Palmieri <johnp@redhat.com>
33580 Date: Fri Jul 30 06:43:06 2010 -0400
33582 make sure we parse parameters to python object vars not glib vars
33584 * py_flags was already set up but due to a typo &flags was being
33588 https://bugzilla.gnome.org/show_bug.cgi?id=625438
33590 gio/gfile.override | 8 ++++----
33591 1 file changed, 4 insertions(+), 4 deletions(-)
33593 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
33594 Author: Paul Bolle <pebolle@tiscali.nl>
33595 Date: Fri Jul 30 10:56:01 2010 +0200
33597 Make an example and a demo work out of the box
33599 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
33600 regarding pygtk to work out of the box. So add those.
33602 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
33604 https://bugzilla.gnome.org/show_bug.cgi?id=625638
33606 demos/gtk-demo/gtk-demo.py | 2 ++
33607 examples/cairo-demo.py | 2 ++
33608 2 files changed, 4 insertions(+)
33610 commit c9da5782e6c633d9af43ee85075e9ee65db09780
33611 Author: John (J5) Palmieri <johnp@redhat.com>
33612 Date: Fri Jul 9 13:14:42 2010 -0400
33614 make sure caller allocated structs are freed when they go out of scope
33616 * Move struct transfer checks from pygi-arguments to pygi-invoke
33617 * add better warning if an unknown struct is fully transfered
33618 * only free GValues we create in the invoke cleanup. All other
33620 get cleaned up when they go out of scope in python
33621 * Fixes issues with caller allocated treeiters getting freed to early
33622 * this is a fix to crashes in the current test suite when API's
33624 TreeIters were annotated as out caller-allocates so no new tests
33627 https://bugzilla.gnome.org/show_bug.cgi?id=623969
33629 gi/pygi-argument.c | 13 +++++--------
33630 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
33631 2 files changed, 45 insertions(+), 14 deletions(-)
33633 commit e0a85305cd107aae5902e524afd074cd8c329927
33634 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33635 Date: Fri Jul 30 10:35:33 2010 +0200
33637 Revert "override gdk.Event to return attribute from the proper
33640 Pushed by mistake, we still need testcases
33642 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
33644 gi/overrides/Gdk.py | 44 --------------------------------------------
33645 1 file changed, 44 deletions(-)
33647 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
33648 Author: Paul Bolle <pebolle@tiscali.nl>
33649 Date: Thu Jul 29 22:55:28 2010 +0200
33651 PyGI: properly quit cairo-demo
33653 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
33655 https://bugzilla.gnome.org/show_bug.cgi?id=625619
33657 examples/cairo-demo.py | 2 +-
33658 1 file changed, 1 insertion(+), 1 deletion(-)
33660 commit e7bb3954880568884ca66e7751ede689dc2f24f6
33661 Author: Toms Baugis <toms.baugis@gmail.com>
33662 Date: Tue Jul 27 21:37:16 2010 +0200
33664 override gdk.Event to return attribute from the proper event object.
33666 https://bugzilla.gnome.org/show_bug.cgi?id=620593
33668 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
33669 1 file changed, 44 insertions(+)
33671 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
33672 Author: Simon van der Linden <svdlinden@gnome.org>
33673 Date: Wed Jul 28 14:56:00 2010 +0200
33675 Clean and improve the test infrastructure
33677 To run select tests, use for instance:
33678 % make check TEST_NAMES='test_everything test_gi.TestConstant'
33680 It works with check.gdb and check.valgrind too.
33682 https://bugzilla.gnome.org/show_bug.cgi?id=625488
33684 Makefile.am | 5 ----
33685 tests/Makefile.am | 65
33686 +++++++++++++++++++++-------------------------
33687 tests/common.py | 47 ---------------------------------
33688 tests/runtests.py | 43 ++++++++++++------------------
33689 tests/test_gcancellable.py | 4 +--
33690 tests/test_gi.py | 3 ---
33691 tests/test_gicon.py | 3 ++-
33692 tests/test_gio.py | 3 ++-
33693 tests/test_gobject.py | 3 ++-
33694 tests/test_gresolver.py | 4 +--
33695 tests/test_gsocket.py | 4 ++-
33696 tests/test_interface.py | 6 ++++-
33697 tests/test_mainloop.py | 11 +++-----
33698 tests/test_signal.py | 4 ++-
33699 tests/test_source.py | 4 +--
33700 tests/test_subprocess.py | 5 +---
33701 tests/test_thread.py | 5 +++-
33702 tests/test_unknown.py | 5 +++-
33703 18 files changed, 82 insertions(+), 142 deletions(-)
33705 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
33706 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33707 Date: Thu Jul 29 12:34:19 2010 +0200
33709 Add some more transformations to pygi-convert.sh
33711 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
33712 1 file changed, 29 insertions(+), 8 deletions(-)
33714 commit de519adcd21947a0aef7932cdecb78cef200c85e
33715 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33716 Date: Wed Jul 28 14:42:36 2010 +0200
33718 Adapt to API changes: g_irepository_enumerate_versions
33720 gi/importer.py | 2 +-
33721 gi/pygi-repository.c | 12 ++++++------
33722 2 files changed, 7 insertions(+), 7 deletions(-)
33724 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
33725 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33726 Date: Wed Jul 28 12:26:48 2010 +0200
33728 Add GValue<->GArgument marshalling for some more types
33730 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
33731 1 file changed, 36 insertions(+), 1 deletion(-)
33733 commit ddffa70c3ee0e837070f390632bc692430f79171
33734 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33735 Date: Wed Jul 28 11:10:42 2010 +0200
33737 Chain up with the non-introspection implementation for properties
33740 gobject/pygobject.c | 7 ++++++-
33741 1 file changed, 6 insertions(+), 1 deletion(-)
33743 commit 045433a1f8167205dc8eae613dcb8835d02c8916
33744 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33745 Date: Wed Jul 28 10:59:49 2010 +0200
33747 Improve error reporting for missing attributes in introspection
33750 gi/module.py | 4 ++--
33751 1 file changed, 2 insertions(+), 2 deletions(-)
33753 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
33754 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33755 Date: Tue Jul 27 21:52:49 2010 +0200
33757 Implement getting and setting properties using introspection
33760 This allows us to use information not present in GObject such as
33761 transfer and element types.
33763 https://bugzilla.gnome.org/show_bug.cgi?id=620808
33765 gi/Makefile.am | 2 +
33766 gi/gimodule.c | 2 +
33767 gi/pygi-argument.c | 2 +
33768 gi/pygi-private.h | 1 +
33769 gi/pygi-property.c | 226
33770 +++++++++++++++++++++++++++++++++++++++++++++++
33771 gi/pygi-property.h | 39 ++++++++
33772 gi/pygi.h | 41 +++++++++
33773 gobject/pygobject.c | 9 ++
33774 tests/test_everything.py | 19 ++++
33775 9 files changed, 341 insertions(+)
33777 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
33778 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33779 Date: Tue Jul 27 21:32:41 2010 +0200
33781 Readd Gdk.Rectangle override for Gtk-2.0
33783 gi/overrides/Gdk.py | 19 +++++++++++++++++++
33784 1 file changed, 19 insertions(+)
33786 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
33787 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33788 Date: Tue Jul 27 18:25:27 2010 +0200
33790 Allow specifying a version when loading a typelib
33792 * gi/importer.py: Defer loading the typelib until first usage.
33793 * gi/module.py: Load the typelib in IntrospectionModule().
33794 * gi/overrides/*.py: Adapt to API change.
33795 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
33796 g_irepository_get_version.
33798 gi/importer.py | 26 ++++++-----------
33800 +++++++++++++++++++++++++-------------
33801 gi/overrides/GIMarshallingTests.py | 2 +-
33802 gi/overrides/Gdk.py | 2 +-
33803 gi/overrides/Gtk.py | 2 +-
33804 gi/pygi-repository.c | 56
33805 +++++++++++++++++++++++++++++++++++-
33806 6 files changed, 105 insertions(+), 41 deletions(-)
33808 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
33809 Author: Jonathan Matthew <jonathan@d14n.org>
33810 Date: Tue Jul 13 20:27:28 2010 +1000
33812 treat GFreeFunc as equivalent to GDestroyNotify when scanning
33815 https://bugzilla.gnome.org/show_bug.cgi?id=624232
33817 gi/pygi-callbacks.c | 3 ++-
33818 1 file changed, 2 insertions(+), 1 deletion(-)
33820 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
33821 Author: Simon van der Linden <svdlinden@gnome.org>
33822 Date: Mon Jul 26 17:00:23 2010 +0200
33824 Don't use == to compare doubles, use <= and =>.
33826 This avoids inequality due to small precisions difference.
33828 https://bugzilla.gnome.org/show_bug.cgi?id=625326
33830 tests/testhelpermodule.c | 2 +-
33831 1 file changed, 1 insertion(+), 1 deletion(-)
33833 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
33834 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33835 Date: Thu Jul 8 11:36:12 2010 +0200
33837 Allow passing ints as enum args
33839 https://bugzilla.gnome.org/show_bug.cgi?id=622584
33841 gi/pygi-argument.c | 23 +++++++++++++++++++++--
33842 tests/test_gi.py | 6 ++++--
33843 2 files changed, 25 insertions(+), 4 deletions(-)
33845 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
33846 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33847 Date: Sun Jul 25 17:30:40 2010 +0100
33849 Make error message less ambiguous
33851 https://bugzilla.gnome.org/show_bug.cgi?id=625095
33853 gi/pygi-callbacks.c | 3 ++-
33854 1 file changed, 2 insertions(+), 1 deletion(-)
33856 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
33857 Author: John (J5) Palmieri <johnp@redhat.com>
33858 Date: Thu Jun 24 10:07:12 2010 -0400
33860 fix passing in type names as a GType and add gtype unit tests
33862 * a simple call to pyg_type_from_object covers all the bases
33863 * added unit tests to check for correct GType value passing
33864 * fixed up tree override tests to also check different ways of
33867 https://bugzilla.gnome.org/show_bug.cgi?id=622605
33869 gi/pygi-argument.c | 8 +-------
33870 tests/test_everything.py | 27 +++++++++++++++++++++++++++
33871 tests/test_overrides.py | 6 ++----
33872 3 files changed, 30 insertions(+), 11 deletions(-)
33874 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
33875 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33876 Date: Mon Jul 26 11:54:47 2010 +0200
33878 Increase a bit verbosity of tests so people know which test failed
33880 tests/runtests.py | 2 +-
33881 1 file changed, 1 insertion(+), 1 deletion(-)
33883 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
33884 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33885 Date: Thu Jul 15 15:17:53 2010 +0200
33887 Actually add the files for GVariant foreign structs
33889 gi/pygi-foreign-gvariant.c | 63
33890 ++++++++++++++++++++++++++++++++++++++++++++++
33891 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
33892 2 files changed, 104 insertions(+)
33894 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
33895 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33896 Date: Thu Jul 15 13:31:33 2010 +0200
33898 Add foreign struct support for GVariant
33900 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
33901 * gi/pygi-foreign.c: Register foreign support for GVariant
33902 * gi/pygi-struct.c: properly release foreign structs
33903 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
33905 * tests/test_everything.py: Add basic tests for GVariant
33907 https://bugzilla.gnome.org/show_bug.cgi?id=619501
33909 gi/Makefile.am | 2 +
33910 gi/pygi-argument.c | 2 +-
33911 gi/pygi-foreign-cairo.c | 16 +++----
33912 gi/pygi-foreign.c | 107
33913 +++++++++++++++++++++++++++++------------------
33914 gi/pygi-foreign.h | 7 ++--
33915 gi/pygi-invoke.c | 18 ++++----
33916 gi/pygi-struct.c | 10 ++++-
33918 tests/test_everything.py | 8 ++++
33919 9 files changed, 110 insertions(+), 69 deletions(-)
33921 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
33922 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33923 Date: Mon Jul 12 11:19:06 2010 +0200
33925 Add HACKING to MANIFEST.in
33928 1 file changed, 1 insertion(+), 1 deletion(-)
33930 commit 40bf08ff001b119c7daf709197005ef6480216c5
33931 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33932 Date: Mon Jul 12 11:18:04 2010 +0200
33934 Add HACKING file with instructions for releasing
33936 HACKING | 14 ++++++++++++++
33937 1 file changed, 14 insertions(+)
33939 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
33940 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33941 Date: Mon Jul 12 11:09:58 2010 +0200
33943 Post release version bump to 2.21.6
33945 configure.ac | 2 +-
33946 1 file changed, 1 insertion(+), 1 deletion(-)
33948 commit 42a5a0897b38156ae010c396ea254abf502f35de
33949 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33950 Date: Mon Jul 12 11:00:29 2010 +0200
33952 Update NEWS and release PyGObject-2.21.5
33954 NEWS | 17 +++++++++++++++++
33955 1 file changed, 17 insertions(+)
33957 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
33958 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33959 Date: Mon Jul 12 11:00:20 2010 +0200
33961 Pre-release version bump to 2.21.5
33963 configure.ac | 2 +-
33964 1 file changed, 1 insertion(+), 1 deletion(-)
33966 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
33967 Author: Florian Müllner <florian.muellner@gmail.com>
33968 Date: Sat Jul 10 22:35:13 2010 +0200
33970 Shut up some compiler warnings
33972 Remove unused variables, make sure variables are properly initialized.
33974 https://bugzilla.gnome.org/show_bug.cgi?id=624066
33976 gi/pygi-callbacks.c | 1 -
33977 gi/pygi-closure.c | 2 +-
33978 gi/pygi-invoke.c | 1 -
33979 3 files changed, 1 insertion(+), 3 deletions(-)
33981 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
33982 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
33983 Date: Mon Jul 12 10:31:42 2010 +0200
33985 Adjust to API break in GObject-Introspection
33987 As of commit 5cb925b20, many type_tags for standard C types have
33988 been removed - namely machine-dependent integer types and derived
33989 types (size_t, time_t).
33991 Most removals are just synonyms of other types, so their removal
33992 should not have too much impact, with the exception of time_t,
33993 which was translated to a native datetime object before.
33995 Also remove time_t tests (Tomeu Vizoso).
33997 https://bugzilla.gnome.org/show_bug.cgi?id=624065
33999 configure.ac | 2 +-
34000 gi/importer.py | 7 +--
34001 gi/pygi-argument.c | 146
34002 -----------------------------------------------------
34003 gi/pygi-closure.c | 10 ----
34004 gi/pygi-info.c | 37 --------------
34005 tests/test_gi.py | 21 --------
34006 6 files changed, 5 insertions(+), 218 deletions(-)
34008 commit 27a417c71f8c122e46c7472663bb25c17413f103
34009 Author: John (J5) Palmieri <johnp@redhat.com>
34010 Date: Thu Jul 8 16:01:25 2010 -0400
34012 pass in the demo app so demos can use utility methods like requesting
34015 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
34016 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
34017 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
34018 demos/gtk-demo/demos/assistant.py | 2 +-
34019 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
34020 demos/gtk-demo/demos/button_box.py | 2 +-
34021 demos/gtk-demo/demos/clipboard.py | 8 +-------
34022 demos/gtk-demo/demos/colorselector.py | 2 +-
34023 demos/gtk-demo/demos/combobox.py | 8 +++++---
34024 demos/gtk-demo/demos/drawingarea.py | 2 +-
34025 demos/gtk-demo/demos/test.py | 2 +-
34026 demos/gtk-demo/gtk-demo.py | 6 +++---
34027 12 files changed, 37 insertions(+), 26 deletions(-)
34029 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
34030 Author: John (J5) Palmieri <johnp@redhat.com>
34031 Date: Thu Jul 8 15:38:07 2010 -0400
34033 demo fixes to keep up with Gtk+
34035 * treeiter changes to reflect caller-allocate annotations
34036 * fix some flag handling
34037 * use get_indicies_with_depth instead of get_indices for paths
34039 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
34040 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
34041 demos/gtk-demo/gtk-demo.py | 13 +++++--------
34042 3 files changed, 24 insertions(+), 23 deletions(-)
34044 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
34045 Author: John (J5) Palmieri <johnp@redhat.com>
34046 Date: Thu Jul 8 12:54:43 2010 -0400
34048 override test fixes for new GTK+ annotations
34050 tests/test_overrides.py | 23 +++++++++++++----------
34051 1 file changed, 13 insertions(+), 10 deletions(-)
34053 commit 7a400f8139b70ddfe7c949035e0851689951c647
34054 Author: Ignacio Casal Quinteiro <icq@gnome.org>
34055 Date: Thu Jul 8 12:42:25 2010 +0200
34059 gi/pygi-argument.c | 4 ++--
34060 1 file changed, 2 insertions(+), 2 deletions(-)
34062 commit 39fd0a85a3de06b1b877d1125f91036409886373
34063 Author: John (J5) Palmieri <johnp@redhat.com>
34064 Date: Wed Jul 7 15:48:36 2010 -0400
34066 fix up treeiter usage due to caller-allocates annotations in gtk+
34068 * we still don't pass tests because the caller-allocates code path
34070 handle the case where the parameter is followed by a regular
34073 gi/overrides/Gtk.py | 7 +++----
34074 tests/test_overrides.py | 21 +++++++++++----------
34075 2 files changed, 14 insertions(+), 14 deletions(-)
34077 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
34078 Author: John (J5) Palmieri <johnp@redhat.com>
34079 Date: Tue Jul 6 17:50:10 2010 -0400
34081 add entry completion demo
34083 demos/gtk-demo/demos/Entry/entry_completion.py | 87
34084 ++++++++++++++++++++++++++
34085 1 file changed, 87 insertions(+)
34087 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
34088 Author: John (J5) Palmieri <johnp@redhat.com>
34089 Date: Tue Jul 6 17:49:18 2010 -0400
34093 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
34094 1 file changed, 2 insertions(+), 2 deletions(-)
34096 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
34097 Author: John (J5) Palmieri <johnp@redhat.com>
34098 Date: Tue Jul 6 17:27:04 2010 -0400
34100 add the Entry demo directory and the entry_buffer demo
34102 demos/gtk-demo/demos/Entry/__init__.py | 0
34103 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
34104 ++++++++++++++++++++++++++++++
34105 2 files changed, 73 insertions(+)
34107 commit f2b1d222120f055bec9339cca55c9cc90f538c00
34108 Author: John (J5) Palmieri <johnp@redhat.com>
34109 Date: Tue Jul 6 17:26:03 2010 -0400
34111 fix loading of demo modules to support sub modules
34113 demos/gtk-demo/gtk-demo.py | 9 +++++++--
34114 1 file changed, 7 insertions(+), 2 deletions(-)
34116 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
34117 Author: John (J5) Palmieri <johnp@redhat.com>
34118 Date: Tue Jul 6 15:56:34 2010 -0400
34120 add the ability to have demos in sub catagories
34122 demos/gtk-demo/gtk-demo.py | 76
34123 ++++++++++++++++++++++++++++++++--------------
34124 1 file changed, 54 insertions(+), 22 deletions(-)
34126 commit dc2249a3ecf339008351316217191d0551ccc588
34127 Author: Jose Aliste <jaliste@src.gnome.org>
34128 Date: Mon Jul 5 14:36:59 2010 -0400
34130 Add __name__ to DynamicModule class.
34135 1 file changed, 1 insertion(+)
34137 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
34138 Author: Ignacio Casal Quinteiro <icq@gnome.org>
34139 Date: Mon Jul 5 16:11:07 2010 +0200
34141 Do not override GdkRectangle.
34143 This class was lately removed from gtk+ 3, so there is no need
34147 gi/overrides/Gdk.py | 19 -------------------
34148 1 file changed, 19 deletions(-)
34150 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
34151 Author: Philip Withnall <philip.withnall@collabora.co.uk>
34152 Date: Tue Jun 29 16:37:36 2010 +0100
34154 Add override for TreeModel implementing __len__()
34158 gi/overrides/Gtk.py | 11 +++++++++--
34159 tests/test_overrides.py | 5 +++++
34160 2 files changed, 14 insertions(+), 2 deletions(-)
34162 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
34163 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34164 Date: Tue Jun 29 11:27:13 2010 +0200
34166 Update NEWS and release PyGObject-2.21.4
34168 NEWS | 27 +++++++++++++++++++++++++--
34169 1 file changed, 25 insertions(+), 2 deletions(-)
34171 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
34172 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34173 Date: Tue Jun 29 10:55:03 2010 +0200
34175 Remove files from the makefiles
34177 gi/Makefile.am | 4 +---
34178 gobject/Makefile.am | 3 +--
34179 2 files changed, 2 insertions(+), 5 deletions(-)
34181 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
34182 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34183 Date: Tue Jun 29 10:27:39 2010 +0200
34185 Build the cairo shim as a python module so the _gi module stops
34188 https://bugzilla.gnome.org/show_bug.cgi?id=623021
34191 gi/Makefile.am | 38 ++++++++++-----
34192 gi/gimodule.c | 8 +---
34193 gi/pygi-argument.c | 10 +---
34194 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
34195 gi/pygi-foreign-cairo.h | 55 ---------------------
34196 gi/pygi-foreign.c | 125
34197 ++++++++++++++++++++++++++++--------------------
34198 gi/pygi-foreign.h | 31 ++++++------
34199 gi/pygi.h | 40 ++++++++++++++--
34200 9 files changed, 196 insertions(+), 169 deletions(-)
34202 commit a6a90551311bc64f037cbd442e13f70c30060871
34203 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34204 Date: Mon Jun 28 14:20:43 2010 +0200
34206 Remove pygi-external.h
34208 https://bugzilla.gnome.org/show_bug.cgi?id=623021
34210 gi/gimodule.c | 8 +++---
34211 gi/pygi-type.c | 4 +--
34212 gi/pygi-type.h | 2 +-
34213 gi/pygi.h | 54 ++++++++++++++++-----------------------
34214 gobject/Makefile.am | 6 +++++
34215 gobject/pygboxed.c | 2 +-
34216 gobject/pygenum.c | 2 +-
34217 gobject/pygflags.c | 2 +-
34218 gobject/pygi-external.h | 67
34219 -------------------------------------------------
34220 gobject/pygobject.c | 2 +-
34221 gobject/pygpointer.c | 2 +-
34222 11 files changed, 40 insertions(+), 111 deletions(-)
34224 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
34225 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34226 Date: Fri Jun 25 13:54:57 2010 +0200
34228 Revert "correctly handle floating objects in gtk"
34230 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
34235 tests/test_everything.py
34237 gi/gimodule.c | 13 -------------
34238 tests/test_everything.py | 3 ++-
34239 2 files changed, 2 insertions(+), 14 deletions(-)
34241 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
34242 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34243 Date: Fri Jun 25 13:49:04 2010 +0200
34245 Make valgrind happy again
34247 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
34248 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
34250 gi/pygi-argument.c | 1 +
34251 gi/pygi-info.c | 2 ++
34252 gi/pygi-invoke.c | 8 ++++++--
34253 3 files changed, 9 insertions(+), 2 deletions(-)
34255 commit 63afe55906c8637e913783e65b82b540b81bed65
34256 Author: John (J5) Palmieri <johnp@redhat.com>
34257 Date: Thu Jun 24 16:13:37 2010 -0400
34259 add drawing area demo
34261 demos/gtk-demo/demos/drawingarea.py | 249
34262 ++++++++++++++++++++++++++++++++++++
34263 1 file changed, 249 insertions(+)
34265 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
34266 Author: John (J5) Palmieri <johnp@redhat.com>
34267 Date: Thu Jun 24 14:11:00 2010 -0400
34271 demos/gtk-demo/gtk-demo.py | 2 ++
34272 1 file changed, 2 insertions(+)
34274 commit b9da82742701ed276b01dee39626cd71cbef8556
34275 Author: John (J5) Palmieri <johnp@redhat.com>
34276 Date: Thu Jun 24 13:56:18 2010 -0400
34278 rename iter to treeiter so we aren't using a python reserved word
34280 demos/gtk-demo/gtk-demo.py | 12 ++++++------
34281 1 file changed, 6 insertions(+), 6 deletions(-)
34283 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
34284 Author: John (J5) Palmieri <johnp@redhat.com>
34285 Date: Thu Jun 24 13:47:54 2010 -0400
34287 Fixup for change in buffer API
34289 * Part of buffer API dealing with TextIter now marked (out
34292 demos/gtk-demo/gtk-demo.py | 10 ++++------
34293 1 file changed, 4 insertions(+), 6 deletions(-)
34295 commit 8d9516a593a515290109401a9db7aa259b5aa35c
34296 Author: John (J5) Palmieri <johnp@redhat.com>
34297 Date: Wed Jun 23 17:04:33 2010 -0400
34299 add ListStore, TreeStore and TreeViewColumn APIs
34301 * this is enough to support the gtk-demo.py shell
34302 * TreeStore and ListStore allow passing in as an argument list
34303 of either python or GLib types to the constructor as a description
34304 of the columns in the model
34305 * TreeStore and ListStore override the append method, allowing
34306 the application developer to send in a list of column values
34307 for one row in the model. Unlike the append in C which
34308 just returns an iter that you can then add data to,
34309 this append actualy appends data in one step
34310 * TreeViewColumn overrides the constructor to allow the adding
34311 of attributes and a cell renderer when constructing the
34314 https://bugzilla.gnome.org/show_bug.cgi?id=620405
34316 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
34317 tests/test_overrides.py | 69
34318 +++++++++++++++++++++++++++++++++++++++++++++++++
34319 2 files changed, 128 insertions(+)
34321 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
34322 Author: Johan Dahlin <johan@gnome.org>
34323 Date: Wed Jun 23 14:34:28 2010 -0300
34325 [gi] Add -I../gobject to cflags
34327 Since we're no longer pulling in pygobject cflags,
34328 add this to be able to include pygobject.h
34330 gi/Makefile.am | 3 +++
34331 1 file changed, 3 insertions(+)
34333 commit 53a093198851e3ba5abd1f6c3314737decd401d8
34334 Author: Ignacio Casal Quinteiro <icq@gnome.org>
34335 Date: Wed Jun 23 18:09:19 2010 +0200
34337 Add unit test for add_actions user data.
34339 tests/test_overrides.py | 20 +++++++++++++++-----
34340 1 file changed, 15 insertions(+), 5 deletions(-)
34342 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
34343 Author: Paolo Borelli <pborelli@gnome.org>
34344 Date: Wed Jun 23 18:06:46 2010 +0200
34346 Pass user_data param when adding actions
34348 gi/overrides/Gtk.py | 12 ++++++------
34349 1 file changed, 6 insertions(+), 6 deletions(-)
34351 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
34352 Author: John (J5) Palmieri <johnp@redhat.com>
34353 Date: Wed Jun 23 12:02:04 2010 -0400
34355 add an exception type to the try/except block
34357 * we should always specify what exception types we are expecting
34359 gi/overrides/Gtk.py | 6 +++---
34360 1 file changed, 3 insertions(+), 3 deletions(-)
34362 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
34363 Author: Johan Dahlin <johan@gnome.org>
34364 Date: Wed Jun 23 12:31:51 2010 -0300
34366 Avoid duplicating required versions
34368 Avoid duplicating the version of all required packages.
34369 Also remove cyclic dependency of pygobject
34371 https://bugzilla.gnome.org/show_bug.cgi?id=622503
34373 configure.ac | 9 +++++----
34374 1 file changed, 5 insertions(+), 4 deletions(-)
34376 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
34377 Author: John (J5) Palmieri <johnp@redhat.com>
34378 Date: Tue Jun 22 15:03:08 2010 -0400
34380 return PyList instead of PyTuple for array, return empty list for
34383 * returns an empty list when a NULL array (empty array) is encountered
34384 * fix tests to check for lists instead of tuples or None
34385 * test the ability to send in both None and empty list for arrays
34388 gi/pygi-argument.c | 7 ++--
34389 tests/test_everything.py | 5 ++-
34390 tests/test_gi.py | 84
34391 ++++++++++++++++++++++++------------------------
34392 3 files changed, 49 insertions(+), 47 deletions(-)
34394 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
34395 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34396 Date: Wed Jun 23 15:42:29 2010 +0200
34398 Fix 'make distcheck'
34400 * Makefile.am: put the tests dir to the end
34401 * g*/Makefile.am: build the .so when running make check
34402 * tests/Makefile.am: Don't pass the src dir to runtests.py and
34403 remove (hopefully) unneeded cruft.
34404 * tests/common.py: Don't add the src dir to the python path
34405 * tests/runtests.py: Don't pass the src dir to common.py
34407 Makefile.am | 4 +++-
34408 gi/Makefile.am | 1 +
34409 gio/Makefile.am | 1 +
34410 glib/Makefile.am | 2 +-
34411 gobject/Makefile.am | 1 +
34412 tests/Makefile.am | 17 ++---------------
34413 tests/common.py | 3 +--
34414 tests/runtests.py | 12 +++++-------
34415 8 files changed, 15 insertions(+), 26 deletions(-)
34417 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
34418 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34419 Date: Wed Jun 23 13:59:14 2010 +0200
34421 Allow building pygobject without introspection support by providing
34422 --disable-introspection to configure.
34424 Makefile.am | 6 +++++-
34425 configure.ac | 15 ++++++++-------
34426 gobject/pygi-external.h | 4 ++--
34427 tests/Makefile.am | 8 ++++++--
34428 tests/runtests.py | 21 +++++++--------------
34429 5 files changed, 28 insertions(+), 26 deletions(-)
34431 commit cc3ea77318ee572673d2a044deca9001366b0f08
34432 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34433 Date: Wed Jun 23 12:26:51 2010 +0200
34435 Make sure that sys.argv is a list and not a sequence.
34437 Because Python's optparse will try to do things on it that can
34438 only be done with list.
34440 gi/overrides/Gtk.py | 2 +-
34441 1 file changed, 1 insertion(+), 1 deletion(-)
34443 commit 3d72b8248cc534a689dee5679a729b2fba56c528
34444 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34445 Date: Wed Jun 23 12:26:02 2010 +0200
34447 Force loading the GObject typelib so we have available the wrappers
34448 for base classes such as GInitiallyUnowned.
34450 gi/__init__.py | 3 +++
34451 1 file changed, 3 insertions(+)
34453 commit c7c94ef349c30597f2f10d90f74718d678ec7add
34454 Author: John (J5) Palmieri <johnp@redhat.com>
34455 Date: Tue Jun 22 14:45:48 2010 -0400
34457 we shouldn't g_array_free NULL pointers
34459 https://bugzilla.gnome.org/show_bug.cgi?id=622425
34461 gi/pygi-info.c | 5 +++--
34462 1 file changed, 3 insertions(+), 2 deletions(-)
34464 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
34465 Merge: acf7b43a 5f9cb91c
34466 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34467 Date: Wed Jun 23 12:53:05 2010 +0200
34469 Merge branch 'pygi'
34471 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
34472 Author: John (J5) Palmieri <johnp@redhat.com>
34473 Date: Tue Jun 22 15:39:46 2010 -0400
34475 remove unneeded TextIter creation in the tests
34477 tests/test_overrides.py | 3 ---
34478 1 file changed, 3 deletions(-)
34480 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
34481 Author: John (J5) Palmieri <johnp@redhat.com>
34482 Date: Mon Jun 21 11:42:12 2010 -0400
34484 add override for TextBuffer
34486 * TextBuffer.create_tag takes vargs which we can't bind yet so
34488 to except a keyword list of properties
34489 * override the insert* methods so the developer does not have to
34491 - lengths are already encapsulated by a string in Python
34493 https://bugzilla.gnome.org/show_bug.cgi?id=620583
34495 gi/overrides/Gtk.py | 51
34496 +++++++++++++++++++++++++++++++++++++++++++++++++
34497 tests/test_overrides.py | 25 ++++++++++++++++++++++++
34498 2 files changed, 76 insertions(+)
34500 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
34501 Author: John (J5) Palmieri <johnp@redhat.com>
34502 Date: Tue Jun 22 12:46:39 2010 -0400
34504 fix up some build issues
34506 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
34508 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
34509 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
34511 make check.gdb work
34513 configure.ac | 2 +-
34514 tests/Makefile.am | 2 +-
34515 2 files changed, 2 insertions(+), 2 deletions(-)
34517 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
34518 Author: John (J5) Palmieri <johnp@redhat.com>
34519 Date: Tue Jun 22 11:50:30 2010 -0400
34521 make the overrides file git friendly by appending to __all__ after
34524 * modifying the __all__ line for each override would confuse git as
34525 each override needs to get seperate approval before comitting.
34527 this commits would not always go in in the same order as they
34529 Also different people working on the same file would start from
34531 commit states. This caused conflicts when patches were merged.
34532 * instead of modifying a single hard coded list we now append to
34534 after each override. This creates distinct blocks of changed text
34535 which will not conflict
34537 gi/overrides/GIMarshallingTests.py | 10 ++++------
34538 gi/overrides/Gdk.py | 8 ++++----
34539 gi/overrides/Gtk.py | 7 +++++--
34540 3 files changed, 13 insertions(+), 12 deletions(-)
34542 commit 49321b934603e1ec69fb04082c63902970907d2b
34543 Author: Paolo Borelli <pborelli@gnome.org>
34544 Date: Sun Jun 20 13:27:34 2010 +0200
34546 Override Dialog constructor and add_buttons method
34548 gi/overrides/Gtk.py | 46
34549 +++++++++++++++++++++++++++++++++++++++++++++-
34550 tests/test_overrides.py | 16 ++++++++++++++++
34551 2 files changed, 61 insertions(+), 1 deletion(-)
34553 commit acf7b43a41ce814f0c57ce609a090826f04771db
34554 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34555 Date: Mon Jun 21 18:17:38 2010 +0200
34557 Post release version bump to 2.21.4
34559 configure.ac | 2 +-
34560 1 file changed, 1 insertion(+), 1 deletion(-)
34562 commit a7fa8b80406227a06cf18f8675dbc1f471283829
34563 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34564 Date: Mon Jun 21 18:10:32 2010 +0200
34566 Update NEWS and release PyGObject-2.21.3
34569 1 file changed, 7 insertions(+)
34571 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
34572 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
34573 Date: Tue Jul 21 16:28:34 2009 +0200
34575 Proper handling of null-ok in virtual methods
34577 https://bugzilla.gnome.org/show_bug.cgi?id=589253
34579 codegen/codegen.py | 2 ++
34580 codegen/reversewrapper.py | 18 +++++++++++++++---
34581 2 files changed, 17 insertions(+), 3 deletions(-)
34583 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
34584 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34585 Date: Mon Jun 21 17:34:54 2010 +0200
34587 Add *~ and *.orig to .gitignore
34589 .gitignore | 5 ++++-
34590 1 file changed, 4 insertions(+), 1 deletion(-)
34592 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
34593 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34594 Date: Mon Jun 21 17:33:56 2010 +0200
34596 Fall back to use the floating references API in glib if there isn't
34597 a sinkfunc defined.
34599 * tests/*: Add ref counting tests for floating objects
34600 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
34602 or g_object_ref if there isn't a sinkfunc defined. Make sure that
34603 pygobject_sink gets called only once per GObject instance.
34605 https://bugzilla.gnome.org/show_bug.cgi?id=583909
34607 gobject/gobjectmodule.c | 2 -
34608 gobject/pygobject.c | 50 +++++++++++++---------
34609 gobject/pygobject.h | 1 +
34610 tests/Makefile.am | 2 +
34611 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
34612 tests/test-floating.h | 60 ++++++++++++++++++++++++++
34613 tests/test_gobject.py | 19 ++++++++-
34614 tests/testhelpermodule.c | 109
34615 +++++++++++++++++++++++++++++++++++++++++++++++
34616 8 files changed, 315 insertions(+), 23 deletions(-)
34618 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
34619 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34620 Date: Mon Jun 21 13:06:13 2010 +0200
34622 Revert "Drop sinkfuncs."
34624 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
34626 gobject/gobjectmodule.c | 3 ++-
34627 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
34628 gobject/pygobject.h | 1 -
34629 3 files changed, 36 insertions(+), 10 deletions(-)
34631 commit b2661054d6bde673484eab472e69ca021124528d
34632 Author: Johan Dahlin <johan@gnome.org>
34633 Date: Sun Jun 20 11:09:57 2010 -0300
34637 For reasons outlined at:
34638 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
34640 Makefile.am | 14 ++++-
34641 configure.ac | 29 ++++++++--
34642 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
34643 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
34644 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
34645 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
34646 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
34647 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
34648 .../gtk-demo/demos/colorselector.py | 0
34649 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
34650 .../gtk-demo/demos/data/alphatest.png | Bin
34651 .../gtk-demo/demos/data/apple-red.png | Bin
34652 .../gtk-demo/demos/data/background.jpg | Bin
34653 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
34654 .../gtk-demo/demos/data/floppybuddy.gif | Bin
34655 .../gtk-demo/demos/data/gnome-applets.png | Bin
34656 .../gtk-demo/demos/data/gnome-calendar.png | Bin
34657 .../gtk-demo/demos/data/gnome-foot.png | Bin
34658 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
34659 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
34660 .../gtk-demo/demos/data/gnome-gimp.png | Bin
34661 .../gtk-demo/demos/data/gnome-gmush.png | Bin
34662 .../gtk-demo/demos/data/gnome-gsame.png | Bin
34663 .../gtk-demo/demos/data/gnu-keys.png | Bin
34664 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
34665 {gi/demos => demos}/gtk-demo/demos/test.py | 0
34666 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
34667 examples/Makefile.am | 2 +-
34668 {gi/examples => examples}/cairo-demo.py | 0
34669 gi/Makefile.am | 4 +-
34670 gi/examples/Makefile.am | 2 -
34671 pygi-Makefile.am | 28 ----------
34672 pygi-configure.ac | 60
34673 ---------------------
34674 pygi.doap | 34 ------------
34675 pygobject.doap | 16 +++++-
34676 tests/Makefile.am | 23 ++++++--
34677 {gi/tests => tests}/test_everything.py | 0
34678 {gi/tests => tests}/test_gi.py | 0
34679 {gi/tests => tests}/test_overrides.py | 0
34680 39 files changed, 75 insertions(+), 137 deletions(-)
34682 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
34683 Merge: ec8d148e fa91dfd3
34684 Author: Johan Dahlin <johan@gnome.org>
34685 Date: Sun Jun 20 10:53:46 2010 -0300
34687 Merge branch 'pygi-merge'
34689 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
34690 Author: Johan Dahlin <johan@gnome.org>
34691 Date: Sun Jun 20 10:53:36 2010 -0300
34696 ---------------------
34697 .gitignore => gi/.gitignore | 0
34698 HACKING => gi/HACKING | 0
34699 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
34700 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
34701 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
34702 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
34703 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
34704 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
34705 .../demos}/gtk-demo/demos/colorselector.py | 0
34706 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
34707 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
34708 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
34709 .../demos}/gtk-demo/demos/data/background.jpg | Bin
34710 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
34711 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
34712 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
34713 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
34714 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
34715 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
34716 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
34717 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
34718 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
34719 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
34720 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
34721 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
34722 {demos => gi/demos}/gtk-demo/demos/test.py | 0
34723 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
34724 {examples => gi/examples}/Makefile.am | 0
34725 {examples => gi/examples}/cairo-demo.py | 0
34726 {tests => gi/tests}/Makefile.am | 0
34727 {tests => gi/tests}/runtests.py | 0
34728 {tests => gi/tests}/test_everything.py | 0
34729 {tests => gi/tests}/test_gi.py | 0
34730 {tests => gi/tests}/test_overrides.py | 0
34731 Makefile.am => pygi-Makefile.am | 0
34732 configure.ac => pygi-configure.ac | 0
34733 37 files changed, 166 deletions(-)
34735 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
34736 Author: Johan Dahlin <johan@gnome.org>
34737 Date: Sun Jun 20 10:49:55 2010 -0300
34739 [giounix] Make it possible to compile on glib 2.20
34741 gio/unix.override | 2 ++
34742 1 file changed, 2 insertions(+)
34744 commit 606018a2c551d890fc2bb987d99683f777598bda
34745 Author: John (J5) Palmieri <johnp@redhat.com>
34746 Date: Mon Jun 7 16:32:29 2010 -0400
34748 Don't free transfer full struct pointers because we can't do it safely
34750 * Most libraries which are sending back structs as transfer-full
34751 are either annotated incorrectly or should be sending boxed types
34752 * It is much better to throw a warning and leak memory than it is to
34753 call free on an unknown struct pointer. Doing so may cause
34755 * Specific case is gdk_atom_intern where a GdkAtom is not actually
34757 but an integer stuffed into a pointer type
34759 https://bugzilla.gnome.org/show_bug.cgi?id=620898
34761 gi/pygi-argument.c | 9 ++++++++-
34762 gi/pygi-invoke.c | 11 +++++++++--
34763 2 files changed, 17 insertions(+), 3 deletions(-)
34765 commit 433ee2aa029a1482961f478252a06492bd3498e6
34766 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
34767 Date: Tue Jun 15 11:42:28 2010 +0200
34769 Release the lock when potentially invoking Python code.
34771 * gobject/pygobject.c: Release GIL lock when retrieving properties
34772 and when clearing a PyGObject.
34774 https://bugzilla.gnome.org/show_bug.cgi?id=530935
34776 gobject/pygobject.c | 11 ++++++++++-
34777 1 file changed, 10 insertions(+), 1 deletion(-)
34779 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
34780 Author: John (J5) Palmieri <johnp@redhat.com>
34781 Date: Mon Jun 14 18:36:57 2010 -0400
34783 add combobox example
34785 demos/gtk-demo/demos/combobox.py | 282
34786 +++++++++++++++++++++++++++++++++++++++
34787 1 file changed, 282 insertions(+)
34789 commit a8668694da59c2dd959c875f13337e64ca22f7e9
34790 Author: John (J5) Palmieri <johnp@redhat.com>
34791 Date: Mon Jun 14 13:43:53 2010 -0400
34793 fix leak in the allow None callbacks patch
34795 gi/pygi-callbacks.c | 4 ++--
34796 1 file changed, 2 insertions(+), 2 deletions(-)
34798 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
34799 Author: John (J5) Palmieri <johnp@redhat.com>
34800 Date: Mon Jun 7 17:12:09 2010 -0400
34802 Allow passing None for callbacks which are annotated allow-none
34804 * Many callbacks are optional parameters yet we were asserting on
34806 * We now check to see if allow_none is set when setting up callbacks,
34807 if it is set and py_function == Py_None, we set the closure to NULL
34809 * pygi-invoke.c now checks to see if the closure == NULL when setting
34811 * if it is NULL there is no reason to set the the destroy notify
34813 so we skip that too
34815 https://bugzilla.gnome.org/show_bug.cgi?id=620906
34817 gi/pygi-callbacks.c | 7 +++++++
34818 gi/pygi-invoke.c | 14 +++++++++++---
34819 tests/test_everything.py | 4 ++++
34820 3 files changed, 22 insertions(+), 3 deletions(-)
34822 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
34823 Author: Paolo Borelli <pborelli@gnome.org>
34824 Date: Mon Jun 14 19:06:45 2010 +0200
34826 Fix to match latest gtk annotations
34828 demos/gtk-demo/demos/appwindow.py | 3 +--
34829 1 file changed, 1 insertion(+), 2 deletions(-)
34831 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
34832 Author: John (J5) Palmieri <johnp@redhat.com>
34833 Date: Tue Jun 8 15:03:49 2010 -0400
34835 fix variable member names in Gdk.Color override
34837 * override was using r, g, and b for the red, green, blue components
34839 the struct specifies red, green, blue so we need to use those names
34841 https://bugzilla.gnome.org/show_bug.cgi?id=621007
34843 gi/overrides/Gdk.py | 10 +++++-----
34844 tests/test_overrides.py | 6 +++---
34845 2 files changed, 8 insertions(+), 8 deletions(-)
34847 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
34848 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34849 Date: Thu Jun 10 20:23:13 2010 +0200
34851 Post release version bump to 2.21.3
34853 configure.ac | 2 +-
34854 1 file changed, 1 insertion(+), 1 deletion(-)
34856 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
34857 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34858 Date: Thu Jun 10 20:21:13 2010 +0200
34860 Update NEWS and release PyGObject-2.21.2
34862 NEWS | 26 ++++++++++++++++++++++++++
34863 1 file changed, 26 insertions(+)
34865 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
34866 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34867 Date: Thu Jun 10 20:09:07 2010 +0200
34869 Remove deleted files from the Makefile.
34876 tests/Makefile.am | 4 ----
34877 1 file changed, 4 deletions(-)
34879 commit 495a301cb81c5e914bcef905999265604faa27fc
34880 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34881 Date: Thu Jun 10 19:39:09 2010 +0200
34883 Add myself to the maintainers list in the README
34886 1 file changed, 1 insertion(+)
34888 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
34889 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34890 Date: Thu Jun 10 19:24:31 2010 +0200
34894 * use g_object methods to sink floating refs instead of allowing
34895 custom sink functions to be registered
34896 * we now sink inside of pygobject_new_full to handle cases where
34897 a library creates its own gobject via g_object_new and just
34898 needs a python wrapper
34899 - a previous patch had done the sink when creating the gobject,
34900 since it needs to call pygobject_new_full to wrap the object,
34901 this patch handles both cases (e.g. pygobject created object
34902 and externally created gobject)
34904 https://bugzilla.gnome.org/show_bug.cgi?id=583909
34906 gobject/gobjectmodule.c | 3 +--
34907 gobject/pygobject.c | 42 ++++++++----------------------------------
34908 gobject/pygobject.h | 1 +
34909 3 files changed, 10 insertions(+), 36 deletions(-)
34911 commit 07df124dc06cf506634e95d08397f50a2d07fce2
34912 Author: Steve Frécinaux <code@istique.net>
34913 Date: Mon Jun 7 09:47:23 2010 +0200
34915 Make the "wrong argument count" exception more explicit.
34917 Previously we had messages like this one:
34918 TypeError: takes exactly 2 argument(s) (1 given)
34920 With this patch, they become like this:
34921 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
34923 It makes things much easier to debug when there are several pygi calls
34926 https://bugzilla.gnome.org/show_bug.cgi?id=620804
34928 gi/pygi-invoke.c | 3 ++-
34929 tests/test_everything.py | 6 ++++++
34930 2 files changed, 8 insertions(+), 1 deletion(-)
34932 commit b435319fe830a909cc4d414533b3b66574931e24
34933 Author: Steve Frécinaux <code@istique.net>
34934 Date: Mon Jun 7 09:54:06 2010 +0200
34936 Use bash explicitely in the pre-commit hook.
34938 The "builtin" command is not available in all sh flavours, so the
34939 pre-commit hook is going to fail if you use dash or others instead of
34940 bash as your default 'sh' alias.
34942 https://bugzilla.gnome.org/show_bug.cgi?id=620805
34944 pre-commit.hook | 2 +-
34945 1 file changed, 1 insertion(+), 1 deletion(-)
34947 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
34948 Author: John (J5) Palmieri <johnp@redhat.com>
34949 Date: Tue Jun 8 16:55:26 2010 -0400
34953 demos/gtk-demo/demos/colorselector.py | 121
34954 ++++++++++++++++++++++++++++++++++
34955 1 file changed, 121 insertions(+)
34957 commit ec598128de9e90dccab662ed2f5511c8d659e156
34958 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34959 Date: Tue Jun 8 15:48:33 2010 +0200
34961 Update PyGObject dependency to 2.21.1
34963 configure.ac | 2 +-
34964 1 file changed, 1 insertion(+), 1 deletion(-)
34966 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
34967 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34968 Date: Tue Jun 8 10:40:39 2010 +0200
34970 Add myself to maintainers
34972 MAINTAINERS | 4 ++++
34973 pygobject.doap | 7 +++++++
34974 2 files changed, 11 insertions(+)
34976 commit 46c91a11d448e5e11d142d3362aff1483226bca4
34977 Author: Colin Walters <walters@verbum.org>
34978 Date: Wed May 5 13:54:27 2010 -0400
34980 Clear error if we failed the import
34982 Otherwise we leave the exception set which causes bizarre problems
34983 later in unrelated code.
34985 https://bugzilla.redhat.com/show_bug.cgi?id=569885
34987 https://bugzilla.gnome.org/show_bug.cgi?id=617796
34989 gobject/pygi-external.h | 2 ++
34990 1 file changed, 2 insertions(+)
34992 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
34993 Author: John (J5) Palmieri <johnp@redhat.com>
34994 Date: Mon Jun 7 17:19:30 2010 -0400
34996 fix some typos and add a link to a patch which fixes a FIXME
34998 demos/gtk-demo/demos/clipboard.py | 7 +++++--
34999 1 file changed, 5 insertions(+), 2 deletions(-)
35001 commit e7fabb5024d94a3166766e5fca740741bc50380a
35002 Author: John (J5) Palmieri <johnp@redhat.com>
35003 Date: Mon Jun 7 16:21:42 2010 -0400
35007 demos/gtk-demo/demos/clipboard.py | 235
35008 ++++++++++++++++++++++++++++++++++++++
35009 1 file changed, 235 insertions(+)
35011 commit e0f1dce5ec58d071759f886697501da6eeea549d
35012 Author: John (J5) Palmieri <johnp@redhat.com>
35013 Date: Sun Jun 6 13:27:46 2010 -0400
35015 set is_fully_bound to false
35017 demos/gtk-demo/demos/button_box.py | 2 +-
35018 1 file changed, 1 insertion(+), 1 deletion(-)
35020 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
35021 Author: John (J5) Palmieri <johnp@redhat.com>
35022 Date: Sat Jun 5 23:53:36 2010 -0400
35024 new button box demo
35026 demos/gtk-demo/demos/button_box.py | 121
35027 +++++++++++++++++++++++++++++++++++++
35028 1 file changed, 121 insertions(+)
35030 commit e9f5f8a829121e59367bae690442150f144946ad
35031 Author: John (J5) Palmieri <johnp@redhat.com>
35032 Date: Sat Jun 5 23:26:03 2010 -0400
35034 set is_fully_bound to True fro builder example
35036 demos/gtk-demo/demos/builder.py | 2 +-
35037 1 file changed, 1 insertion(+), 1 deletion(-)
35039 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
35040 Author: John (J5) Palmieri <johnp@redhat.com>
35041 Date: Sat Jun 5 23:24:36 2010 -0400
35043 fix up formatting in demos
35045 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
35046 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
35047 demos/gtk-demo/demos/builder.py | 2 +-
35048 3 files changed, 21 insertions(+), 21 deletions(-)
35050 commit ffca02536bafb55e8c3bce31cd992365207429f6
35051 Author: John (J5) Palmieri <johnp@redhat.com>
35052 Date: Sat Jun 5 14:54:47 2010 -0400
35054 add the builder demo
35056 demos/gtk-demo/demos/builder.py | 57
35057 +++++++++++++++++++++++++++++++++++++++++
35058 1 file changed, 57 insertions(+)
35060 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
35061 Author: John (J5) Palmieri <johnp@redhat.com>
35062 Date: Fri Jun 4 17:48:24 2010 -0400
35066 demos/gtk-demo/demos/assistant.py | 134
35067 ++++++++++++++++++++++++++++++++++++++
35068 1 file changed, 134 insertions(+)
35070 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
35071 Author: John (J5) Palmieri <johnp@redhat.com>
35072 Date: Fri Jun 4 16:56:46 2010 -0400
35074 add formatting rules and copyright notice
35076 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
35077 1 file changed, 19 insertions(+)
35079 commit 03b99692b81631d397ab62dcd263341465bcee88
35080 Author: John (J5) Palmieri <johnp@redhat.com>
35081 Date: Fri Jun 4 16:26:54 2010 -0400
35083 add the gtk-demo app along with a couple of demos
35085 * note there are still a couple of patches in bugzilla that are
35088 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
35089 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
35091 demos/gtk-demo/demos/__init__.py | 0
35092 demos/gtk-demo/demos/appwindow.py | 393
35093 +++++++++++++++++++++++
35094 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
35095 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
35096 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
35097 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
35098 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
35099 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
35100 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
35101 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
35102 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
35103 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
35104 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
35105 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
35106 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
35107 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
35108 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
35109 demos/gtk-demo/demos/test.py | 14 +
35110 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
35111 19 files changed, 931 insertions(+)
35113 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
35114 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35115 Date: Fri Jun 4 11:25:08 2010 +0200
35117 Update gobject-introspection dependency to 0.6.14
35119 configure.ac | 2 +-
35120 1 file changed, 1 insertion(+), 1 deletion(-)
35122 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
35123 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35124 Date: Fri Jun 4 11:23:41 2010 +0200
35126 Post-release version bump to 0.6.1
35128 configure.ac | 2 +-
35129 1 file changed, 1 insertion(+), 1 deletion(-)
35131 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
35132 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35133 Date: Fri Jun 4 08:29:42 2010 +0200
35135 Pre-release version bump 0.6.0
35137 configure.ac | 2 +-
35138 1 file changed, 1 insertion(+), 1 deletion(-)
35140 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
35141 Author: John (J5) Palmieri <johnp@redhat.com>
35142 Date: Fri May 28 10:03:11 2010 -0400
35144 support for caller-allocates annotations for structs
35146 * out caller-allocates parameters expect an already constructed
35148 to be passed in by reference. It is then modified and the caller
35150 modified value. We support this by using only one level of pointer
35152 * Only structs are considered to be caller-allocates parameters
35154 they are marked as such by GI. This is because the GI scanner
35156 enough to correctly guess 100% of the time
35157 * GValues are a special case of a caller-allocates parameter when
35159 up (e.g. g_value_unset is called). GValues make no sense in
35161 language. Developers should never deal with them.
35163 https://bugzilla.gnome.org/show_bug.cgi?id=620406
35165 gi/pygi-invoke.c | 73
35166 +++++++++++++++++++++++++++++++++++++++++++++---
35167 tests/test_everything.py | 28 +++++++++++++++++++
35168 2 files changed, 97 insertions(+), 4 deletions(-)
35170 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
35171 Author: John (J5) Palmieri <johnp@redhat.com>
35172 Date: Wed Jun 2 14:14:16 2010 -0400
35174 don't import gobject directly in the tests
35176 * use from gi.repository import GObject
35178 tests/test_overrides.py | 5 ++---
35179 1 file changed, 2 insertions(+), 3 deletions(-)
35181 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
35182 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35183 Date: Tue Jun 1 14:28:57 2010 +0200
35185 Wrap C arrays in structs as GArrays before converting to Python
35187 https://bugzilla.gnome.org/show_bug.cgi?id=620247
35189 gi/pygi-info.c | 11 +++++++++++
35190 tests/test_gi.py | 17 +++++++++++++++++
35191 2 files changed, 28 insertions(+)
35193 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
35194 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35195 Date: Wed May 26 13:20:27 2010 +0200
35197 Install pre-commit hook that checks the code changes for style
35200 autogen.sh | 7 +++++++
35201 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
35202 2 files changed, 46 insertions(+)
35204 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
35205 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35206 Date: Wed May 26 12:19:17 2010 +0200
35208 Apply consistent whitespace formatting with:
35210 astyle -p -d -c -S -U -M60
35212 This won't affect git blame nor git diff if the switch -w is used.
35214 gi/gimodule.c | 138 +++----
35215 gi/pygi-argument.c | 960
35216 ++++++++++++++++++++++++------------------------
35217 gi/pygi-boxed.c | 108 +++---
35218 gi/pygi-callbacks.c | 154 ++++----
35219 gi/pygi-callbacks.h | 8 +-
35220 gi/pygi-closure.c | 270 +++++++-------
35221 gi/pygi-closure.h | 18 +-
35222 gi/pygi-foreign-cairo.c | 36 +-
35223 gi/pygi-foreign-cairo.h | 36 +-
35224 gi/pygi-foreign.c | 54 +--
35225 gi/pygi-foreign.h | 10 +-
35226 gi/pygi-info.c | 646 ++++++++++++++++----------------
35227 gi/pygi-invoke.c | 380 +++++++++----------
35228 gi/pygi-repository.c | 114 +++---
35229 gi/pygi-struct.c | 88 ++---
35230 gi/pygi-type.c | 32 +-
35232 gi/pygobject-external.h | 14 +-
35233 18 files changed, 1544 insertions(+), 1542 deletions(-)
35235 commit 6156f15cb15b4c20e975527227135d49207c520a
35236 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35237 Date: Tue May 25 14:08:51 2010 +0200
35239 Prepend gi.repository to the __module__ attribute of wrapper classes.
35241 https://bugzilla.gnome.org/show_bug.cgi?id=619597
35243 gi/module.py | 4 ++--
35244 tests/test_gi.py | 4 +++-
35245 2 files changed, 5 insertions(+), 3 deletions(-)
35247 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
35248 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35249 Date: Tue May 25 14:17:13 2010 +0200
35251 Correctly identify at creation time:
35253 * if the class is defined in python -> hook up vfuncs
35254 * if the class wraps a type from a .typelib -> set atributes
35255 * else (GLocalFile) -> do nothing
35257 https://bugzilla.gnome.org/show_bug.cgi?id=619604
35259 gi/types.py | 15 +++++++++++----
35260 1 file changed, 11 insertions(+), 4 deletions(-)
35262 commit 686e10fcdb108af9758eb025a3447813c3513a93
35263 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35264 Date: Thu Apr 29 10:55:13 2010 +0200
35266 Dont complain if another base has implemented the method
35268 https://bugzilla.gnome.org/show_bug.cgi?id=617153
35270 gi/types.py | 3 ++-
35271 1 file changed, 2 insertions(+), 1 deletion(-)
35273 commit 9f34d120845d936b04546a5cea599ec67e9181a7
35274 Author: John (J5) Palmieri <johnp@redhat.com>
35275 Date: Mon May 24 16:16:50 2010 -0400
35277 fix up Builder override, add new override methods, and add unit tests
35279 * check for flags when connecting signals now that we get gi
35281 * override the add_from_string and add_objects_from string overrides
35283 that you don't have to pass in the length of the buffer
35284 * add test that loads objects from strings and connects them to
35287 gi/overrides/Gtk.py | 19 +++++++++++--
35288 tests/test_overrides.py | 72
35289 ++++++++++++++++++++++++++++++++++++++++++++++---
35290 2 files changed, 86 insertions(+), 5 deletions(-)
35292 commit 1561d2977691f1cb8684f183a2e274c47960d931
35293 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35294 Date: Mon May 24 18:48:10 2010 +0200
35296 Improve handling of subclasses without __gtype_name__
35298 Gives a better message at type registration.
35300 https://bugzilla.gnome.org/show_bug.cgi?id=616849
35302 gi/gimodule.c | 9 +++++++++
35303 tests/test_gi.py | 13 ++++++++++++-
35304 2 files changed, 21 insertions(+), 1 deletion(-)
35306 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
35307 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35308 Date: Fri Apr 30 18:17:50 2010 +0200
35310 Add support for GArray args
35312 https://bugzilla.gnome.org/show_bug.cgi?id=617054
35314 gi/pygi-invoke.c | 11 +++++++----
35315 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
35316 2 files changed, 57 insertions(+), 4 deletions(-)
35318 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
35319 Author: John (J5) Palmieri <johnp@redhat.com>
35320 Date: Mon May 24 11:48:16 2010 -0400
35322 check refcounting of callback userdata in unit tests
35324 tests/test_everything.py | 18 ++++++++++++++++++
35325 1 file changed, 18 insertions(+)
35327 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
35328 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35329 Date: Sat May 22 15:12:37 2010 +0200
35331 Add support for out args in callbacks
35333 This patch refactors argument marshalling for closures in
35334 preparation for more complete support.
35336 Also fixes a bug in the memory management of user_data args.
35338 https://bugzilla.gnome.org/show_bug.cgi?id=617780
35340 gi/pygi-closure.c | 335
35341 +++++++++++++++++++++++++++++++++++++++++-------------
35342 tests/test_gi.py | 4 +
35343 2 files changed, 263 insertions(+), 76 deletions(-)
35345 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
35346 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
35347 Date: Sun May 23 10:59:27 2010 +0200
35349 If None is passed to an interface which takes an object, convert it to
35352 * without this patch PyGI treats the None object as a PyGObject
35354 extracting garbage data causing a crash
35355 * None's equivalent in C is NULL so we must provide a special case
35357 marshal the None as NULL
35359 https://bugzilla.gnome.org/show_bug.cgi?id=617880
35361 gi/pygi-argument.c | 5 +++++
35362 tests/test_everything.py | 6 ++++++
35363 2 files changed, 11 insertions(+)
35365 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
35366 Author: John (J5) Palmieri <johnp@redhat.com>
35367 Date: Sat May 22 14:06:37 2010 +0200
35369 correctly handle floating objects in gtk
35371 * this is a stopgap so we work with older pygobject libraries
35372 * there is a patch at
35373 https://bugzilla.gnome.org/show_bug.cgi?id=583909
35374 which adds the correct fix to pygobject
35375 * once pygobject accepts the above patch this patch does not need to
35376 be reverted because pygobject_register_sinkfunc becomes a noop
35377 * add tests (Tomeu)
35379 https://bugzilla.gnome.org/show_bug.cgi?id=619007
35381 gi/gimodule.c | 12 ++++++++++++
35382 tests/test_everything.py | 3 +++
35383 2 files changed, 15 insertions(+)
35385 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
35386 Author: John (J5) Palmieri <johnp@redhat.com>
35387 Date: Sat May 22 13:21:30 2010 +0200
35389 Return an empty list when a NULL GList and GSList is returned
35391 * In GTK a GList * and GSList set to NULL is equivilant to empty
35393 GTK list methods can take a NULL and treat it as an empty list. e.g.
35394 g_list_length(NULL) returns 0
35395 * PyGtk consitently returns empty list when a NULL is returned for
35398 * Many PyGtk apps do this:
35399 for i in range(len(obj.get_list())):
35401 * If we were to continue to return None, they would have to add
35403 which is needlessly verbose and isn't very "pythonic"
35405 https://bugzilla.gnome.org/show_bug.cgi?id=619232
35407 gi/pygi-argument.c | 6 ------
35408 tests/test_everything.py | 4 ++--
35409 2 files changed, 2 insertions(+), 8 deletions(-)
35411 commit 71a2148b00dfdda99e0d961ae39b901608724e59
35412 Author: Steve Frécinaux <code@istique.net>
35413 Date: Fri May 21 19:05:03 2010 +0200
35415 Fix warning in configure.
35417 The warning is caused by the use of the construction 'CFLAGS+=' in a
35418 sh version that doesn't understand it (in this case, 'dash').
35420 https://bugzilla.gnome.org/show_bug.cgi?id=619311
35422 configure.ac | 2 +-
35423 1 file changed, 1 insertion(+), 1 deletion(-)
35425 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
35426 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35427 Date: Thu Apr 29 13:06:15 2010 +0200
35429 GTypeInterface cannot be unrefed
35431 https://bugzilla.gnome.org/show_bug.cgi?id=617159
35433 gi/gimodule.c | 4 +++-
35434 1 file changed, 3 insertions(+), 1 deletion(-)
35436 commit ab1aaff108d23aabd28c3634edfb67236eb55460
35437 Author: John (J5) Palmieri <johnp@redhat.com>
35438 Date: Sat May 22 13:09:48 2010 +0200
35440 fix NULL array unit tests and fix crasher when sending None as
35443 * Unit tests were wrong given the annotation for
35444 test_array_int_null_in and
35445 test_array_int_null_out:
35448 * test_array_int_null_in:
35449 * @arr: (array length=len) (allow-none):
35456 * test_array_int_null_out:
35457 * @arr: (out) (array length=len) (allow-none):
35458 * @len: (out) : length
35461 The (array length=len) annotation meant we don't pass in or
35462 receive the len argument as this is handled under the hood
35463 (Python's representation of an array, the list type, encapsulates
35464 the length inside the type)
35466 * Fixing up the tests revealed a latent crasher bug when passing
35468 interface that accepts an array. The fix was to check for NULL
35470 the length argument to 0 when invoking the bound method.
35472 https://bugzilla.gnome.org/show_bug.cgi?id=619235
35474 gi/pygi-invoke.c | 6 +++++-
35475 tests/test_everything.py | 4 ++--
35476 2 files changed, 7 insertions(+), 3 deletions(-)
35478 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
35479 Author: John (J5) Palmieri <johnp@redhat.com>
35480 Date: Fri May 14 14:57:27 2010 -0400
35482 don't error out on methods with callbacks as return type
35484 * Right now we just throw an error which means API's like
35485 gtk_about_dialog_set_url_hook aren't able to be called,
35486 * this allows us to call such APIs while printing a warning, in
35488 API such as this doesn't need to be used anymore and is a result of
35489 early GTK development
35491 gi/pygi-argument.c | 14 +++++++++++---
35492 1 file changed, 11 insertions(+), 3 deletions(-)
35494 commit d963007aab123f4e53a944a66a935db2d22907c2
35495 Author: John (J5) Palmieri <johnp@redhat.com>
35496 Date: Mon May 17 11:54:34 2010 -0400
35498 reset sys.argv to the return value of Gtk.init_check
35500 * applications which check command line arguments will error out if it
35501 encounters a GTK command line switch such as --g-fatal-warnings.
35502 * The Gtk.init* API reads these switches and returns a new argv with
35504 switches stripped out
35505 * In C argv is modified in place but in Python we must set sys.argv
35507 new modified argument list
35508 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
35510 gi/overrides/Gtk.py | 1 +
35511 1 file changed, 1 insertion(+)
35513 commit 897420ed97cc4a7b8a806894df5e76ed72617614
35514 Author: John (J5) Palmieri <johnp@redhat.com>
35515 Date: Wed May 12 14:25:32 2010 -0400
35517 add GtkUIManager and GtkActionGroup overrides
35519 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
35521 gi/overrides/Gtk.py | 167
35522 +++++++++++++++++++++++++++++++++++++++++++++++-
35523 tests/test_overrides.py | 45 +++++++++++++
35524 2 files changed, 211 insertions(+), 1 deletion(-)
35526 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
35527 Author: Zach Goldberg <zach@zachgoldberg.com>
35528 Date: Thu May 13 01:02:24 2010 -0400
35530 Bump version for development to 0.5.2 (hopefully 0.6)
35532 configure.ac | 2 +-
35533 1 file changed, 1 insertion(+), 1 deletion(-)
35535 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
35536 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35537 Date: Wed May 5 15:54:39 2010 +0200
35539 Fix overrides.Gdk.Color.__new__ args
35541 https://bugzilla.gnome.org/show_bug.cgi?id=617757
35543 gi/overrides/Gdk.py | 2 +-
35544 tests/Makefile.am | 3 ++-
35545 tests/test_overrides.py | 22 ++++++++++++++++++++++
35546 3 files changed, 25 insertions(+), 2 deletions(-)
35548 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
35549 Author: John (J5) Palmieri <johnp@redhat.com>
35550 Date: Thu Apr 29 14:55:33 2010 -0400
35552 wrap GObject module so we can go through GI when requesting attrs
35554 * This gives us the best of both worlds.
35555 - We remain backwards compatable with pygobject by checking for
35557 attrs in the gobject module
35558 - If an attr does not exist we use the GI mechanism to look it up
35560 things like flags look the same whether exported from GObject, Gtk
35561 or any GI managed library
35563 * add DynamicGObjectModule tests and make tests use the new module
35564 - change import gobject to from gi.repository import GObject
35566 gi/importer.py | 6 ++--
35567 gi/module.py | 30 ++++++++++++++++
35568 tests/test_everything.py | 6 ++--
35569 tests/test_gi.py | 93
35570 ++++++++++++++++++++++++++----------------------
35571 4 files changed, 87 insertions(+), 48 deletions(-)
35573 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
35574 Author: John (J5) Palmieri <johnp@redhat.com>
35575 Date: Fri Apr 30 14:11:55 2010 -0400
35577 override Gdk.Drawable to add cairo_create convinience method
35579 gi/overrides/Gdk.py | 7 ++++++-
35580 1 file changed, 6 insertions(+), 1 deletion(-)
35582 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
35583 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35584 Date: Mon May 3 19:13:46 2010 +0200
35586 Fix passing callbacks as constructor args
35588 https://bugzilla.gnome.org/show_bug.cgi?id=617551
35590 gi/pygi-callbacks.c | 3 ++-
35591 gi/pygi-callbacks.h | 1 +
35592 gi/pygi-invoke.c | 7 +++++--
35593 tests/test_everything.py | 21 +++++++++++++++++++++
35594 4 files changed, 29 insertions(+), 3 deletions(-)
35596 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
35597 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35598 Date: Wed May 5 08:06:03 2010 +0200
35600 Avoid freeing garbage
35602 gi/pygi-invoke.c | 6 ++++--
35603 1 file changed, 4 insertions(+), 2 deletions(-)
35605 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
35606 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35607 Date: Thu Apr 29 13:09:03 2010 +0200
35609 Only hookup vfunc implementations for locally-defined methods
35611 https://bugzilla.gnome.org/show_bug.cgi?id=617160
35613 gi/types.py | 10 +++++++++-
35614 tests/test_gi.py | 10 ++++++++++
35615 2 files changed, 19 insertions(+), 1 deletion(-)
35617 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
35618 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35619 Date: Mon May 3 18:35:13 2010 +0200
35621 Fix passing GDestroyNotify
35623 https://bugzilla.gnome.org/show_bug.cgi?id=617542
35625 gi/pygi-invoke.c | 3 ++-
35626 tests/test_everything.py | 10 ++++++++++
35627 2 files changed, 12 insertions(+), 1 deletion(-)
35629 commit 9669acd0fad193013ef3505ae231588307f9834c
35630 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35631 Date: Mon May 3 12:23:58 2010 +0200
35633 Move invocation code to its own file
35635 https://bugzilla.gnome.org/show_bug.cgi?id=617107
35637 gi/Makefile.am | 2 +
35638 gi/pygi-info.c | 884
35639 ----------------------------------------------------
35640 gi/pygi-invoke.c | 909
35641 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
35642 gi/pygi-invoke.h | 37 +++
35643 gi/pygi-private.h | 1 +
35644 5 files changed, 949 insertions(+), 884 deletions(-)
35646 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
35647 Author: John (J5) Palmieri <johnp@redhat.com>
35648 Date: Tue Apr 27 19:13:08 2010 -0400
35650 Add the Gtk.Builder override
35652 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
35653 1 file changed, 36 insertions(+), 1 deletion(-)
35655 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
35656 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35657 Date: Fri Apr 30 15:00:52 2010 +0200
35659 Fix GAsyncReadyCallback
35661 https://bugzilla.gnome.org/show_bug.cgi?id=616236
35663 gi/pygi-closure.c | 8 +++++++-
35664 tests/test_everything.py | 16 ++++++++++++++++
35665 2 files changed, 23 insertions(+), 1 deletion(-)
35667 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
35668 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35669 Date: Thu Apr 29 18:32:50 2010 +0200
35671 Add override for Gdk.Color
35673 https://bugzilla.gnome.org/show_bug.cgi?id=617162
35675 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
35676 1 file changed, 19 insertions(+), 1 deletion(-)
35678 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
35679 Author: John (J5) Palmieri <johnp@redhat.com>
35680 Date: Wed Apr 28 13:19:48 2010 -0400
35682 make __all__ be a list of strings, fix override mechanism to use
35685 * before we were adding classes to the __all__ module property but
35686 the convention is to use the name of the class
35687 * simplified the check to just check the name against __all__
35688 instead of trying to get the class and then checking the class
35689 against None as well as in __all__
35690 * went through all the overrides and made __all__ be a list of strings
35692 gi/module.py | 9 ++++-----
35693 gi/overrides/GIMarshallingTests.py | 2 +-
35694 gi/overrides/Gdk.py | 2 +-
35695 3 files changed, 6 insertions(+), 7 deletions(-)
35697 commit 64fa8f936bad9a90628df446e690d67d947a0a22
35698 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35699 Date: Mon Apr 26 11:41:06 2010 +0200
35701 One more step at refactoring _wrap_g_function_info_invoke
35703 https://bugzilla.gnome.org/show_bug.cgi?id=616357
35705 gi/pygi-callbacks.c | 22 +-
35706 gi/pygi-callbacks.h | 4 +-
35707 gi/pygi-info.c | 582
35708 ++++++++++++++++++++++++++++++----------------------
35709 3 files changed, 346 insertions(+), 262 deletions(-)
35711 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
35712 Author: Zach Goldberg <zach@zachgoldberg.com>
35713 Date: Tue Apr 20 23:23:38 2010 -0400
35715 Step 1 of refactoring _wrap_g_function_info_invoke
35717 Original patch by David Malcom <dmalcolm@redhat.com>
35719 This patch bitrots *REALLY* fast.
35721 https://bugzilla.gnome.org/show_bug.cgi?id=616357
35723 gi/pygi-info.c | 417
35724 +++++++++++++++++++++++++++++----------------------------
35725 1 file changed, 214 insertions(+), 203 deletions(-)
35727 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
35728 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35729 Date: Tue Apr 27 10:24:35 2010 +0200
35731 Dont force subclasses to implement all virtual methods of their bases
35733 https://bugzilla.gnome.org/show_bug.cgi?id=616674
35735 gi/types.py | 4 ++--
35736 tests/test_gi.py | 15 +++++++++++++++
35737 2 files changed, 17 insertions(+), 2 deletions(-)
35739 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
35740 Author: Zach Goldberg <zach@zachgoldberg.com>
35741 Date: Sun Apr 25 15:09:08 2010 -0400
35743 Correct the reference counting of userdata in closure handling
35745 Without this we lose references on every call and eventually end up
35747 while they are still in use.
35749 https://bugzilla.gnome.org/show_bug.cgi?id=616786
35751 gi/pygi-closure.c | 3 +++
35752 tests/test_everything.py | 13 +++++++++++++
35753 2 files changed, 16 insertions(+)
35755 commit 2b12049306bf57513c43d08017185468bf897a4a
35756 Author: Zach Goldberg <zach@zachgoldberg.com>
35757 Date: Tue Apr 20 22:57:14 2010 -0400
35759 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
35761 (Previous commit did not include the proper error message. I blame
35764 https://bugzilla.gnome.org/show_bug.cgi?id=616356
35766 gi/pygi-closure.c | 4 ++--
35767 1 file changed, 2 insertions(+), 2 deletions(-)
35769 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
35770 Author: Zach Goldberg <zach@zachgoldberg.com>
35771 Date: Tue Apr 20 23:53:57 2010 -0400
35773 Force out arguments to be initialized as NULL. Comes with a test.
35775 This fix was motivated by a real world library which had a transfer
35777 utf8 out argument which sometimes was not set. We would leave
35779 dangling and try and free it at the end of invoke() and crash.
35781 to change their behavior so we're forced to take care of it on
35784 https://bugzilla.gnome.org/show_bug.cgi?id=616043
35786 gi/pygi-info.c | 1 +
35787 tests/test_gi.py | 3 +++
35788 2 files changed, 4 insertions(+)
35790 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
35791 Author: Zach Goldberg <zach@zachgoldberg.com>
35792 Date: Tue Apr 20 22:57:14 2010 -0400
35794 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
35796 Be slightly nicer to library maintainers. It really isn't a fatal
35798 if we don't have a proper scope type, better to leave a good code
35800 and a warning than to cause their code to segv.
35802 https://bugzilla.gnome.org/show_bug.cgi?id=616356
35804 gi/pygi-closure.c | 3 ++-
35805 1 file changed, 2 insertions(+), 1 deletion(-)
35807 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
35808 Author: Zach Goldberg <zach@zachgoldberg.com>
35809 Date: Tue Apr 20 22:43:20 2010 -0400
35811 Refactor implementation of scope call to allow for multiple calls
35812 during lifetime of function invocation.
35814 https://bugzilla.gnome.org/show_bug.cgi?id=616343
35816 gi/pygi-closure.c | 10 +++++-----
35817 gi/pygi-info.c | 9 +++++++--
35818 tests/test_everything.py | 9 +++++++++
35819 3 files changed, 21 insertions(+), 7 deletions(-)
35821 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
35822 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35823 Date: Sat Jan 2 16:31:55 2010 +0100
35825 Add basic support for unions
35827 https://bugzilla.gnome.org/show_bug.cgi?id=603598
35829 gi/module.py | 3 +-
35830 gi/pygi-argument.c | 24 +++-----------
35831 gi/pygi-boxed.c | 18 +++++++++--
35832 gi/pygi-info.c | 94
35833 ++++++++++++++++++++++++++++++++++++++++++++++++------
35834 gi/pygi-info.h | 1 +
35835 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
35836 6 files changed, 165 insertions(+), 31 deletions(-)
35838 commit af9e4e086d160fe7fb24758ed81753e784b198a8
35839 Author: Simon van der Linden <svdlinden@src.gnome.org>
35840 Date: Fri Jan 22 22:16:32 2010 +0100
35842 Bump required GLib version to 2.22
35844 Since PyGObject now depends on GLib 2.22.4, there is no need to
35846 backward-compatible.
35848 configure.ac | 2 +-
35849 gi/pygi-private.h | 20 --------------------
35850 2 files changed, 1 insertion(+), 21 deletions(-)
35852 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
35853 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35854 Date: Sun Apr 18 11:50:14 2010 -0400
35856 Refactor get_* methods in the *Info wrappers
35858 https://bugzilla.gnome.org/show_bug.cgi?id=616108
35860 gi/pygi-info.c | 360
35861 +++++++++++++++++++++++++++------------------------------
35862 1 file changed, 168 insertions(+), 192 deletions(-)
35864 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
35865 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35866 Date: Tue Apr 20 15:12:47 2010 +0200
35868 Print any error messages raised inside _pygi_closure_handle
35870 https://bugzilla.gnome.org/show_bug.cgi?id=616279
35872 gi/pygi-closure.c | 9 +++++----
35873 1 file changed, 5 insertions(+), 4 deletions(-)
35875 commit d1ba23cdd05686ea721425f233371d573a2e9cce
35876 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35877 Date: Thu Apr 22 19:57:17 2010 +0200
35879 Rename variable with a very generic name
35881 gi/module.py | 28 ++++++++++++++--------------
35882 1 file changed, 14 insertions(+), 14 deletions(-)
35884 commit 391640b30ede50af3667b1019edb72bd79f2c68c
35885 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35886 Date: Thu Apr 22 19:53:06 2010 +0200
35888 Add support for enums without GType
35890 https://bugzilla.gnome.org/show_bug.cgi?id=616520
35892 gi/module.py | 6 +++++-
35893 gi/pygi-argument.c | 22 +++++++++++++++++++++-
35894 gi/types.py | 14 ++++++++++++++
35895 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
35896 4 files changed, 68 insertions(+), 4 deletions(-)
35898 commit 89704f60ddae0c81f1383d86491ef2785590a353
35899 Author: Zach Goldberg <zach@zachgoldberg.com>
35900 Date: Tue Apr 20 22:20:42 2010 -0400
35902 Bump version during development to 0.5.1
35904 This follows what is, according to Colin Walters,
35905 standard versioning practice. During development the
35906 version in your config is the *next* version you will release,
35907 not the version after. Thus after a release you make a new commit
35908 bumping to the next development version.
35910 configure.ac | 2 +-
35911 1 file changed, 1 insertion(+), 1 deletion(-)
35913 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
35914 Author: John Ehresman <jpe@wingware.com>
35915 Date: Tue Apr 20 20:40:02 2010 -0400
35917 Added missing , to keyword list of gio.GFile.set_attribute
35919 gio/gresolver.override | 2 +-
35920 1 file changed, 1 insertion(+), 1 deletion(-)
35922 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
35923 Author: John Ehresman <jpe@wingware.com>
35924 Date: Tue Apr 20 20:37:12 2010 -0400
35926 Fix arg conversion in gio.GFile.set_attribute
35928 gio/gfile.override | 232
35929 +++++++++++++++++++++++++++++++++++++++++++++++++++--
35930 1 file changed, 227 insertions(+), 5 deletions(-)
35932 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
35933 Author: John Ehresman <jpe@wingware.com>
35934 Date: Tue Apr 20 20:01:53 2010 -0400
35936 Set constants under python 2.5 or before
35938 gobject/gobjectmodule.c | 8 ++++++++
35939 1 file changed, 8 insertions(+)
35941 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
35942 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35943 Date: Sun Apr 18 20:22:21 2010 -0400
35945 Doc Extractor: Use replacements that make sense for &...;
35948 * codegen/docextract_to_xml.py: Use # and  
35950 # (#) and . These are interpreted correctly in
35952 not make the parsing crash.
35954 codegen/docextract_to_xml.py | 4 ++--
35955 1 file changed, 2 insertions(+), 2 deletions(-)
35957 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
35958 Author: Zach Goldberg <zach@zachgoldberg.com>
35959 Date: Sun Apr 18 14:32:06 2010 -0400
35961 Bump version for release 0.5.0
35963 HACKING | 7 +++++++
35964 configure.ac | 4 ++--
35965 2 files changed, 9 insertions(+), 2 deletions(-)
35967 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
35968 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35969 Date: Sun Apr 18 14:28:13 2010 -0400
35971 One more missing file...
35973 examples/Makefile.am | 2 ++
35974 1 file changed, 2 insertions(+)
35976 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
35977 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35978 Date: Sun Apr 18 14:18:44 2010 -0400
35980 Add more stuff to the tarballs
35982 Makefile.am | 8 +++++++-
35984 2 files changed, 8 insertions(+), 1 deletion(-)
35986 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
35987 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35988 Date: Sun Apr 18 13:48:45 2010 -0400
35990 Add one more missing file to tarballs
35992 gi/overrides/GIMarshallingTests.py | 0
35993 gi/overrides/Makefile.am | 1 +
35994 2 files changed, 1 insertion(+)
35996 commit 979e01852fc7f830ee91093accdc387fa535075f
35997 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35998 Date: Sun Apr 18 13:45:29 2010 -0400
36000 Add missing file to tarballs
36002 tests/Makefile.am | 1 +
36003 1 file changed, 1 insertion(+)
36005 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
36006 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36007 Date: Sun Apr 18 13:11:11 2010 -0400
36011 https://bugzilla.gnome.org/show_bug.cgi?id=602736
36014 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36015 gi/pygi-argument.c | 1 +
36016 gi/pygi-callbacks.c | 3 +-
36017 gi/pygi-closure.c | 4 +--
36018 gi/pygi-closure.h | 2 +-
36019 gi/pygi-info.c | 86
36020 +++++++++++++++++++++++++++++++++++++++++++++++++--
36021 gi/pygi-info.h | 1 +
36022 gi/types.py | 44 +++++++++++++++++---------
36023 tests/test_gi.py | 18 +++++++++++
36024 9 files changed, 227 insertions(+), 21 deletions(-)
36026 commit e239faacb4798fe2d166233ca1a19a843a6225e3
36027 Author: Zach Goldberg <zach@zachgoldberg.com>
36028 Date: Sun Apr 18 11:59:06 2010 -0400
36030 Fix a typo in pygi-callbacks.c header
36032 gi/pygi-callbacks.c | 2 +-
36033 1 file changed, 1 insertion(+), 1 deletion(-)
36035 commit 79aa416ae8632b123da61d79fb820d9e2704209c
36036 Author: Zach Goldberg <zach@zachgoldberg.com>
36037 Date: Sat Apr 17 12:00:05 2010 -0400
36039 Implement nullable argument support, including tests
36041 https://bugzilla.gnome.org/show_bug.cgi?id=616035
36043 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
36044 gi/pygi-argument.h | 3 ++-
36045 gi/pygi-info.c | 19 +++++++++++++------
36046 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
36047 4 files changed, 80 insertions(+), 13 deletions(-)
36049 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
36050 Author: Zach Goldberg <zach@zachgoldberg.com>
36051 Date: Sat Apr 17 12:56:19 2010 -0400
36053 Move some tests from test_gi to test_everything
36055 tests/test_everything.py | 60
36056 ++++++++++++++++++++++++++++++++++++++++++++++
36057 tests/test_gi.py | 62
36058 +-----------------------------------------------
36059 2 files changed, 61 insertions(+), 61 deletions(-)
36061 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
36062 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36063 Date: Sun Apr 18 10:44:35 2010 -0400
36065 Update to latest version of the pygi-convert.sh script
36067 pygi-convert.sh | 193
36068 ++++++++++++++++++++++++++++++++++++++++----------------
36069 1 file changed, 137 insertions(+), 56 deletions(-)
36071 commit 34a39318c674737c6d64f2430456daef86ba1626
36072 Author: Colin Walters <walters@verbum.org>
36073 Date: Sun Apr 18 10:40:44 2010 -0400
36075 Add Tomeu's prototype script for converting pygtk to pygi
36077 pygi-convert.sh | 71
36078 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
36079 1 file changed, 71 insertions(+)
36081 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
36082 Author: Olav Vitters <olav@vitters.nl>
36083 Date: Sun Apr 18 13:01:58 2010 +0200
36088 1 file changed, 4 insertions(+)
36090 commit 0de73d0bba79f92af22f43693f3575c596712416
36091 Author: Zach Goldberg <zach@zachgoldberg.com>
36092 Date: Sat Apr 17 16:01:31 2010 -0400
36094 Add Zach Goldberg as a pygi maintainer
36096 pygi.doap | 5 +++++
36097 1 file changed, 5 insertions(+)
36099 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
36100 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36101 Date: Sat Apr 17 11:47:54 2010 -0400
36105 configure.ac | 7 +------
36106 1 file changed, 1 insertion(+), 6 deletions(-)
36108 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
36109 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36110 Date: Sat Apr 17 11:40:14 2010 -0400
36112 Add examples/cairo-demo.py
36114 examples/cairo-demo.py | 121
36115 +++++++++++++++++++++++++++++++++++++++++++++++++
36116 1 file changed, 121 insertions(+)
36118 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
36119 Author: Zach Goldberg <zach@zachgoldberg.com>
36120 Date: Sat Apr 17 09:17:14 2010 -0400
36122 Implementation callback support with scoping and basic argument
36125 This patch was originally written by
36126 Zach Goldberg <zach@zachgoldberg.com> with modifications and
36127 review by Simon van der Linden <svdlinden@src.gnome.org> and
36128 Colin Walters <walters@verbum.org>.
36130 This impementation enforces the assumption that any one function
36131 signature can only have one (callback, userdata, destronotify) tuple.
36132 This allows us to move callback creation into the actual function
36133 invoke pipeline and also to keep just one destroy notify callback
36134 around, vastly simplifying the code.
36136 https://bugzilla.gnome.org/show_bug.cgi?id=603095
36139 gi/Makefile.am | 4 +
36140 gi/pygi-argument.c | 12 ++-
36141 gi/pygi-callbacks.c | 216
36142 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36143 gi/pygi-callbacks.h | 47 ++++++++++++
36144 gi/pygi-closure.c | 205
36145 +++++++++++++++++++++++++++++++++++++++++++++++++
36146 gi/pygi-closure.h | 57 ++++++++++++++
36147 gi/pygi-info.c | 49 ++++++++++--
36148 gi/pygi-private.h | 2 +
36149 tests/test_gi.py | 64 +++++++++++++++-
36150 10 files changed, 648 insertions(+), 10 deletions(-)
36152 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
36153 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36154 Date: Sat Apr 17 10:54:45 2010 -0400
36156 Add support for foreign structs
36158 https://bugzilla.gnome.org/show_bug.cgi?id=603712
36160 configure.ac | 6 +++
36161 gi/Makefile.am | 10 +++-
36162 gi/gimodule.c | 7 +++
36163 gi/pygi-argument.c | 27 ++++++++++-
36164 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
36165 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
36166 gi/pygi-foreign.c | 123
36167 +++++++++++++++++++++++++++++++++++++++++++++++
36168 gi/pygi-foreign.h | 52 ++++++++++++++++++++
36169 gi/pygi-private.h | 1 +
36170 tests/test_everything.py | 48 ++++++++++++++++++
36171 10 files changed, 428 insertions(+), 4 deletions(-)
36173 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
36174 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36175 Date: Fri Apr 16 14:35:13 2010 -0400
36177 Allow creating structs with pointers
36179 https://bugzilla.gnome.org/show_bug.cgi?id=603537
36181 gi/pygi-struct.c | 6 ------
36182 tests/test_gi.py | 3 ++-
36183 2 files changed, 2 insertions(+), 7 deletions(-)
36185 commit fc9ff02e53aacf9e77625c70985e99813544912a
36186 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36187 Date: Fri Apr 16 10:40:40 2010 -0400
36189 Add gdb and valgrind variants for the tests
36191 HACKING | 19 +++++++++++++++++++
36192 Makefile.am | 12 ++++++++++++
36193 tests/Makefile.am | 14 +++++++++++++-
36194 3 files changed, 44 insertions(+), 1 deletion(-)
36196 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
36197 Author: John Stowers <john.stowers@gmail.com>
36198 Date: Fri Apr 16 14:36:11 2010 +1200
36200 Add build docs for windows
36203 README.win32 | 24 ++++++++++++++++++++++++
36204 2 files changed, 25 insertions(+)
36206 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
36207 Author: John Stowers <john.stowers@gmail.com>
36208 Date: Thu Apr 15 13:40:39 2010 +1200
36210 Setup.py cosmetic tidy
36212 * Remove local doc install, point to website instead
36213 * link to versioned docs
36215 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
36216 setup.py | 39 ++++++++++++++-------------------------
36217 2 files changed, 40 insertions(+), 42 deletions(-)
36219 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
36220 Author: John Stowers <john.stowers@gmail.com>
36221 Date: Sat Jul 25 14:12:30 2009 +1200
36223 Fix crash when importing gio
36225 Only seems to be necessary on windows, but
36226 no harm on linux as multiple calls to init
36229 gio/giomodule.c | 3 +++
36230 1 file changed, 3 insertions(+)
36232 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
36233 Author: John Stowers <john.stowers@gmail.com>
36234 Date: Thu Apr 15 22:52:48 2010 +1200
36236 Bug 589671 - Dont use generate-constants
36238 This breaks the build using distutils, and it is
36239 largely unneeded. Just add the G_XXX constants
36240 to the module directly
36242 gobject/Makefile.am | 16 +----------
36243 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
36244 gobject/generate-constants.c | 44
36245 -------------------------------
36246 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
36248 tests/runtests.py | 3 +--
36249 6 files changed, 71 insertions(+), 62 deletions(-)
36251 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
36252 Author: John Stowers <john.stowers@gmail.com>
36253 Date: Thu Apr 15 22:49:17 2010 +1200
36255 Bug 589671 - Fix setup.py for windows build
36257 * Building pyglib as a static private library
36258 * Update to include new defs
36259 * Modernise setup.py and add more util functions
36262 dsextras.py | 32 ++++++++++++++++---
36264 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
36265 2 files changed, 116 insertions(+), 18 deletions(-)
36267 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
36268 Author: John Stowers <john.stowers@gmail.com>
36269 Date: Thu Apr 15 22:48:28 2010 +1200
36271 Include pygsource.h
36273 glib/pygiochannel.c | 1 +
36274 1 file changed, 1 insertion(+)
36276 commit c5f6af4844c74354abc508d17969d9d45153acf2
36277 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36278 Date: Thu Apr 15 14:25:59 2010 -0400
36280 Add metadata to the .doap file
36283 1 file changed, 3 insertions(+)
36285 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
36286 Author: John (J5) Palmieri <johnp@redhat.com>
36287 Date: Wed Apr 14 12:01:43 2010 -0400
36289 override that wasn't checked in - fixes some test cases
36291 gi/overrides/GIMarshallingTests.py | 69
36292 ++++++++++++++++++++++++++++++++++++++
36293 1 file changed, 69 insertions(+)
36295 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
36296 Author: Colin Walters <walters@verbum.org>
36297 Date: Wed Apr 14 10:06:07 2010 -0400
36299 [Makefile.am] Clean up CFLAGS handling, don't override all: target
36301 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
36302 per-target CFLAGS forces Automake to prefix object files, which
36303 is unnecessary since we only have one target.
36305 More importantly, avoid overriding the all: target here; that's
36306 owned by Automake. Use all-local instead to append things to
36307 the end of the normal build.
36309 gi/Makefile.am | 15 +++++++++------
36310 1 file changed, 9 insertions(+), 6 deletions(-)
36312 commit 5a47e96e3f580c973e6880dafa747f54c144c760
36313 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36314 Date: Tue Apr 13 19:15:49 2010 -0400
36316 Use GIMarshallingTests (old TestGI) in gobject-introspection
36318 gi/overrides/TestGI.py | 69 --
36319 tests/Makefile.am | 40 -
36320 tests/libtestgi.c | 2924
36321 ------------------------------------------------
36322 tests/libtestgi.h | 628 -----------
36323 tests/test_gi.py | 832 +++++++-------
36324 5 files changed, 416 insertions(+), 4077 deletions(-)
36326 commit 681832c3cd040433a488a400693b68f213bf7078
36327 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36328 Date: Tue Apr 13 13:33:12 2010 -0400
36330 codegen/docextract_to_xml.py: One more &...; replacement
36333 * codegen/docextract_to_xml.py: Replace which also
36335 errors with a regular space.
36337 codegen/docextract_to_xml.py | 1 +
36338 1 file changed, 1 insertion(+)
36340 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
36341 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36342 Date: Tue Apr 13 12:28:10 2010 -0400
36344 codegen/docextract_to_xml.py: Replace some &..; that cause
36347 * codegen/docextract_to_xml.py (escape_text): Replace
36349 expressions that cause errors with more appropriate output.
36351 codegen/docextract_to_xml.py | 4 ++++
36352 1 file changed, 4 insertions(+)
36354 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
36355 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36356 Date: Sun Apr 11 17:46:40 2010 -0400
36358 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
36360 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
36362 in text to '/ *' and '* /' respectively so that comment
36364 show up when the descriptions that include C++ code with C++
36365 multi-line comments are used in Doxygen blocks.
36367 codegen/docextract_to_xml.py | 9 +++++++++
36368 1 file changed, 9 insertions(+)
36370 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
36371 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36372 Date: Sun Apr 11 16:15:01 2010 -0400
36374 codegen/docextract.py: Stop final section processing on
36377 * codegen/docextract.py (process_final_sections): Modify
36379 section pattern matching for loop to stop on first match so
36381 doesn't match both a colon return ('Returns: ...') and a
36383 return ('Returns ...') which leads to annotation extraction
36386 codegen/docextract.py | 4 ++++
36387 1 file changed, 4 insertions(+)
36389 commit 825fd305f03b726665edca34963978ce27448182
36390 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36391 Date: Sun Apr 11 15:45:09 2010 -0400
36393 Update doc extraction tool to handle GObjectIntrospection
36396 * codegen/docextract.py (FunctionDoc): Renamed class to
36398 (GtkDoc::annotations): Added a list field to store annotations
36400 are 2-tuples of (name, value).
36401 (GtkDoc::ret): Modified field to store the return description
36403 with a list of annotations as described above.
36404 (GtkDoc::params): Now holds a list of 3-tupples: name,
36406 annotations (as described above).
36407 (GtkDoc::block_type): Add a field to tell if the comment
36409 function block, signal block or property block.
36410 (GtkDoc::set_type):
36411 (GtkDoc::get_type): Add methods for setting/getting the
36413 (GtkDoc::add_param): Modified to also accept a list of
36415 be added with the parameter.
36416 (GtkDoc::add_annotation):
36417 (GtkDoc::get_annotations): Added methods to add/get
36420 (GtkDoc::append_description): Renamed to
36421 append_to_description().
36422 (GtkDoc::get_param_description): Removed unused method.
36423 (GtkDoc::get_description): Added method to get block
36425 (GtkDoc::add_return): Added method to add a return accepting
36427 line of the description and its annotations.
36428 (GtkDoc::append_return): Renamed to append_to_return().
36429 (Regular expressions):
36430 - Made the names of the variables un-abbreviated.
36432 - Added 'since', 'deprecated' and 'rename to' regular
36435 - Modified the return matching regular expression so that
36437 match descriptions that begin with 'Returns ...'.
36439 the docs of many function.
36441 - Added signal and property comment block identifier
36443 expressions in case those are useful.
36445 - Modified existing identifier matching regular expressions
36447 signal, and property regular expressions) to properly parse
36448 annotations. Also added a regular expression for extracting
36449 annotations from the parameter and return descriptions.
36451 - Refined the function name matching regular expression to
36453 identifiers that begin with a lowercase letter.
36455 'SECTION:' matches.
36457 - Finally, grouped commonly related expressions like
36459 since_pattern, etc. into groups (in lists) so that
36461 sections can be done using loops.
36463 (Parsing algorithm): Modified the algorithm to use a
36465 approach to parsing. Extra methods like skip_to_comment() and
36466 processs_params() have been added and used in the parse_file()
36467 function to now process the comment blocks.
36468 (parse_dir): Added file processing output to stderr.
36469 * codegen/docextract_to_xml.py (usage): Added function to
36472 (print_annotations): Added function to print the given list of
36474 (options): Added --with-signals (-i), with-properties (-p) and
36475 --with-annotation (-a) to the existing --source-dir (-s)
36478 (algorithm): Now prints annotations, if specified. Also,
36480 signals and properties correctly (using names like
36482 for signals and Classs:property) with xml such as <signal
36483 name="...">...</signal>. The return xml is slightly
36485 annotations but this would only be exhibited if annotation
36489 codegen/docextract.py | 439
36490 ++++++++++++++++++++++++++++++++++---------
36491 codegen/docextract_to_xml.py | 87 ++++++---
36492 2 files changed, 414 insertions(+), 112 deletions(-)
36494 commit 9fef1acb42cd900d4a814a7378f60bc189121785
36495 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36496 Date: Fri Apr 9 13:47:03 2010 +0200
36498 Always create the .so link
36500 gi/Makefile.am | 2 +-
36501 1 file changed, 1 insertion(+), 1 deletion(-)
36503 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
36504 Author: Paul Bolle <pebolle@tiscali.nl>
36505 Date: Thu Apr 8 11:52:25 2010 +0200
36507 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
36509 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
36511 docs/reference/pygio-file.xml | 58
36512 ++++++++++++++++++------------------
36513 docs/reference/pygio-inputstream.xml | 22 +++++++-------
36514 docs/reference/pygio-mount.xml | 10 +++----
36515 3 files changed, 45 insertions(+), 45 deletions(-)
36517 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
36518 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36519 Date: Mon Apr 5 18:10:42 2010 +0200
36521 Bug 613341 - pygobject tests seem to require pygtk causing a circular
36522 dependencies problem
36524 move tests that require pygtk to pygtk itself
36526 tests/test_conversion.py | 83 --------------
36527 tests/test_enum.py | 234 --------------------------------------
36528 tests/test_gtype.py | 112 ------------------
36529 tests/test_subtype.py | 289
36530 -----------------------------------------------
36531 4 files changed, 718 deletions(-)
36533 commit ef0ceb266a45715ece58642fb0042e3376416755
36534 Author: Simon van der Linden <svdlinden@src.gnome.org>
36535 Date: Wed Feb 3 20:33:03 2010 +0100
36537 Add modelines and copyright information to overrides modules
36539 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
36540 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
36541 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
36542 3 files changed, 62 insertions(+)
36544 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
36545 Author: Simon van der Linden <svdlinden@src.gnome.org>
36546 Date: Wed Feb 3 20:29:55 2010 +0100
36548 Fix and complete overrides tests
36550 Those tests were missing in the last commit
36552 https://bugzilla.gnome.org/show_bug.cgi?id=602830
36554 gi/overrides/TestGI.py | 49
36555 +++++++++++++++++++++++++++++++++++++++++++++++++
36556 tests/test_gi.py | 8 +++++++-
36557 2 files changed, 56 insertions(+), 1 deletion(-)
36559 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
36560 Author: Simon van der Linden <svdlinden@src.gnome.org>
36561 Date: Thu Jan 21 17:30:51 2010 +0100
36563 Don't raise an error in _pygi_import if pygi support is disabled
36565 http://bugzilla.gnome.org/show_bug.cgi?id=607674
36567 gobject/pygboxed.c | 6 +-----
36568 gobject/pygi-external.h | 1 -
36569 gobject/pygobject.c | 6 +-----
36570 gobject/pygpointer.c | 6 +-----
36571 4 files changed, 3 insertions(+), 16 deletions(-)
36573 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
36574 Author: Simon van der Linden <svdlinden@src.gnome.org>
36575 Date: Fri Jan 22 22:22:37 2010 +0100
36577 Remove support for pointers to basic types as input-only argument
36580 There is no reason for an API to use such things, and
36581 g_function_info_invoke
36582 broke such features.
36584 https://bugzilla.gnome.org/show_bug.cgi?id=607759
36586 gi/pygi-argument.c | 586 ++++-------------------------------------------
36587 gi/pygi-argument.h | 1 -
36588 gi/pygi-info.c | 8 +-
36589 tests/libtestgi.c | 660
36590 -----------------------------------------------------
36591 tests/libtestgi.h | 86 -------
36592 tests/test_gi.py | 144 ------------
36593 6 files changed, 47 insertions(+), 1438 deletions(-)
36595 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
36596 Author: Simon van der Linden <svdlinden@src.gnome.org>
36597 Date: Fri Jan 22 13:41:21 2010 +0100
36599 Restore the overrides support
36601 Add a ModuleProxy in front of the DynamicModule when an overrides
36603 present. There is no need for an overrides module to be a class;
36604 it can just be a module.
36606 Add an override decorator to override the wrapper of a registered
36609 Adapt Gdk and Gtk accordingly.
36613 https://bugzilla.gnome.org/show_bug.cgi?id=602830
36615 gi/importer.py | 40 +++++++-------------
36616 gi/module.py | 43 ++++++++++++++-------
36617 gi/overrides/Gdk.py | 42 +++++++++++++--------
36618 gi/overrides/Gtk.py | 16 ++++----
36619 gi/types.py | 6 +++
36620 tests/libtestgi.c | 105
36621 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36622 tests/libtestgi.h | 49 ++++++++++++++++++++++++
36623 tests/test_gi.py | 36 ++++++++++++++++++
36624 8 files changed, 273 insertions(+), 64 deletions(-)
36626 commit 289d641775d1ea52d2a5379126b70b7fcee46683
36627 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36628 Date: Sun Jan 10 21:01:59 2010 +0100
36630 Initialize PyGPollFD_Type.fd_obj to NULL
36632 https://bugzilla.gnome.org/show_bug.cgi?id=606582
36634 gio/gcancellable.override | 1 +
36635 1 file changed, 1 insertion(+)
36637 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
36638 Author: Simon van der Linden <svdlinden@src.gnome.org>
36639 Date: Fri Jan 8 21:10:28 2010 +0100
36641 Initialize struct fields to 0 when allocating
36643 gi/pygi-struct.c | 2 +-
36644 tests/test_gi.py | 5 +++++
36645 2 files changed, 6 insertions(+), 1 deletion(-)
36647 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
36648 Author: Simon van der Linden <svdlinden@src.gnome.org>
36649 Date: Fri Jan 8 20:33:44 2010 +0100
36651 Don't set a default constructor for structures.
36653 Update tests accordingly.
36655 The reason for this change is that setting __new__ in the metaclass
36657 one overrides it afterwards, in a subclass (in my experience, at
36659 though it seems weird).
36661 https://bugzilla.gnome.org/show_bug.cgi?id=603536
36663 gi/types.py | 35 +++++++----------------------------
36664 tests/libtestgi.c | 33 ---------------------------------
36665 tests/libtestgi.h | 7 -------
36666 tests/test_gi.py | 21 ++++++++++-----------
36667 4 files changed, 17 insertions(+), 79 deletions(-)
36669 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
36670 Author: Simon van der Linden <svdlinden@src.gnome.org>
36671 Date: Tue Jan 5 13:36:44 2010 +0100
36673 Suppress compilation warnings
36675 gi/pygi-argument.c | 3 ++-
36676 gi/pygi-boxed.c | 2 --
36677 gi/pygobject-external.h | 2 +-
36678 3 files changed, 3 insertions(+), 4 deletions(-)
36680 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
36681 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36682 Date: Mon Jan 4 08:35:14 2010 +0100
36684 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
36686 Committed a patch from Kevin Pyle
36688 Makefile.am | 27 +++++++++++++--------------
36689 1 file changed, 13 insertions(+), 14 deletions(-)
36691 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
36692 Author: Simon van der Linden <svdlinden@src.gnome.org>
36693 Date: Fri Dec 11 22:24:30 2009 +0100
36695 sys.path must be modified after pygtk is imported
36697 Otherwise, sys.path is overridden by pygtk and gi.repository is
36699 system's default site-package directory.
36701 tests/runtests.py | 1 -
36702 tests/test_gi.py | 3 +++
36703 2 files changed, 3 insertions(+), 1 deletion(-)
36705 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
36706 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36707 Date: Sun Jan 3 11:02:57 2010 +0100
36709 Wrap gio.Cancellable.make_pollfd() and add a test
36711 gio/Makefile.am | 1 +
36712 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
36713 gio/gio.override | 3 +++
36714 tests/test_gcancellable.py | 15 +++++++++++++++
36715 4 files changed, 56 insertions(+)
36717 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
36718 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36719 Date: Sat Jan 2 23:15:56 2010 +0100
36721 Make cancellable an optional parameter in many methods
36724 +++++++++++++++++++++++++++++------------------------------
36725 1 file changed, 51 insertions(+), 51 deletions(-)
36727 commit 49a078cd22d55dc33a03ecfda235d63955edc741
36728 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36729 Date: Sat Jan 2 23:15:21 2010 +0100
36731 Post release version bump to 2.21.2
36733 configure.ac | 2 +-
36734 1 file changed, 1 insertion(+), 1 deletion(-)
36736 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
36737 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36738 Date: Sat Jan 2 22:58:36 2010 +0100
36740 Update NEWS and release PyGObject-2.21.1
36742 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
36743 1 file changed, 55 insertions(+)
36745 commit c1f34be73bd186d7b4682dfef133da2c4229d213
36746 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36747 Date: Fri Jan 1 20:25:35 2010 +0100
36749 Wrap gio.Volume.eject_with_operation()
36751 gio/gvolume.override | 54
36752 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36753 1 file changed, 54 insertions(+)
36755 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
36756 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36757 Date: Fri Jan 1 20:22:21 2010 +0100
36759 gio.Mount.unmount_with_operation() fix a copy/paste leftover
36761 gio/gmount.override | 4 ++--
36762 1 file changed, 2 insertions(+), 2 deletions(-)
36764 commit 6f459786dd641cd49d81eba403d940620f961cab
36765 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36766 Date: Fri Jan 1 20:21:05 2010 +0100
36768 Wrap gio.Mount.eject_with_operation()
36770 gio/gmount.override | 54
36771 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36772 1 file changed, 54 insertions(+)
36774 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
36775 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36776 Date: Fri Jan 1 20:15:38 2010 +0100
36778 Wrap gio.Mount.unmount_mountable_with_operation()
36780 gio/gmount.override | 54
36781 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36782 1 file changed, 54 insertions(+)
36784 commit e919d47c2430451b436cec955e9b99237f97028c
36785 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36786 Date: Fri Jan 1 18:22:46 2010 +0100
36788 Wrap File.unmount_mountable_with_operation()
36790 gio/gfile.override | 54
36791 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36792 1 file changed, 54 insertions(+)
36794 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
36795 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36796 Date: Fri Jan 1 18:14:11 2010 +0100
36798 Wrap gio.File.stop_mountable()
36800 gio/gfile.override | 52
36801 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36802 1 file changed, 52 insertions(+)
36804 commit 6af506647f36f2b825bc6556df5ee57fa7721906
36805 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36806 Date: Fri Jan 1 18:10:49 2010 +0100
36808 Wrap gio.File.start_mountable()
36810 gio/gfile.override | 52
36811 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36812 1 file changed, 52 insertions(+)
36814 commit e700efc839fc0b651fc9794a1611190bffa80263
36815 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36816 Date: Fri Jan 1 18:02:46 2010 +0100
36818 Wrap gio.File.replace_readwrite_async()
36820 gio/gfile.override | 55
36821 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36822 1 file changed, 55 insertions(+)
36824 commit 92662f129fc728258fd5e34f53dcb081e3715017
36825 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36826 Date: Fri Jan 1 17:00:26 2010 +0100
36828 Wrap gio.File.poll_mountable()
36830 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
36831 1 file changed, 41 insertions(+)
36833 commit 99902b786500948c3278779841e4db54223b9256
36834 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36835 Date: Fri Jan 1 16:56:26 2010 +0100
36837 Wrap gio.File.open_readwrite_async()
36839 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
36840 1 file changed, 44 insertions(+)
36842 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
36843 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36844 Date: Fri Jan 1 16:50:15 2010 +0100
36846 Wrap gio.File.eject_mountable_with_operation()
36848 gio/gfile.override | 54
36849 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36850 1 file changed, 54 insertions(+)
36852 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
36853 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36854 Date: Fri Jan 1 13:30:24 2010 +0100
36856 Wrap gio.File.create_readwrite_async() and add a test
36858 gio/gfile.override | 51
36859 +++++++++++++++++++++++++++++++++++++++++++++++++++
36860 tests/test_gio.py | 24 ++++++++++++++++++++++++
36861 2 files changed, 75 insertions(+)
36863 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
36864 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36865 Date: Fri Jan 1 13:20:11 2010 +0100
36867 Wrap gio.Drive.stop()
36869 gio/gdrive.override | 52
36870 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36871 1 file changed, 52 insertions(+)
36873 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
36874 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36875 Date: Fri Jan 1 13:00:42 2010 +0100
36877 Wrap gio.Drive.start()
36879 gio/gdrive.override | 52
36880 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36881 1 file changed, 52 insertions(+)
36883 commit dff374287bbecc8af782bbc726fad86c6c867754
36884 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36885 Date: Fri Jan 1 12:45:29 2010 +0100
36887 Add more remainders on missing methods of gio.Socket and related types
36889 gio/gsocket.override | 3 +++
36890 1 file changed, 3 insertions(+)
36892 commit b8c7e996498bd72df551011af85ff05ef7335b4f
36893 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36894 Date: Fri Jan 1 12:41:08 2010 +0100
36896 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
36898 gio/gsocket.override | 86
36899 +++++++++++++++++++++++++++++++++++++++++++++++++--
36900 tests/test_gsocket.py | 24 ++++++++++++++
36901 2 files changed, 108 insertions(+), 2 deletions(-)
36903 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
36904 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36905 Date: Fri Jan 1 12:28:53 2010 +0100
36907 Wrap gio.SocketListener.accept_finish() and add a test
36909 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
36910 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
36911 2 files changed, 66 insertions(+), 2 deletions(-)
36913 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
36914 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36915 Date: Fri Jan 1 11:19:34 2010 +0100
36917 Wrap gio.SocketListener.accept_async()
36919 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
36920 1 file changed, 42 insertions(+)
36922 commit c9496b29ef9ef232020a4044577d2947353953a5
36923 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36924 Date: Fri Jan 1 11:14:35 2010 +0100
36926 Wrap gio.SocketListener.accept_socket() and add a test
36928 gio/gsocket.override | 48
36929 +++++++++++++++++++++++++++++++++++++++++++++++-
36930 tests/test_gsocket.py | 13 +++++++++++++
36931 2 files changed, 60 insertions(+), 1 deletion(-)
36933 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
36934 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36935 Date: Thu Dec 31 16:35:18 2009 +0100
36937 Wrap gio.SocketListener.accept() and add a test
36939 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
36940 tests/test_gsocket.py | 13 +++++++++++++
36941 2 files changed, 58 insertions(+), 1 deletion(-)
36943 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
36944 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36945 Date: Thu Dec 31 16:25:33 2009 +0100
36947 Make cancellable optional in gio.SocketClient.connect_to_host()
36949 gio/gio.defs | 2 +-
36950 1 file changed, 1 insertion(+), 1 deletion(-)
36952 commit 3829d7667b19126fb74562b28d271e616b154c99
36953 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36954 Date: Thu Dec 31 15:25:10 2009 +0100
36956 Wrap gio.SocketListener.add_address() and add a test
36958 gio/gsocket.override | 57
36959 ++++++++++++++++++++++++++++++++++++++++++++++++++-
36960 tests/test_gsocket.py | 9 ++++++++
36961 2 files changed, 65 insertions(+), 1 deletion(-)
36963 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
36964 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36965 Date: Thu Dec 31 10:19:47 2009 +0100
36967 Add more remainders on missing methods of gio.Socket and related types
36969 gio/gsocket.override | 8 ++++++++
36970 1 file changed, 8 insertions(+)
36972 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
36973 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36974 Date: Thu Dec 31 10:16:18 2009 +0100
36976 Wrap gio.SocketClient.connect_to_service_async()
36978 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
36979 1 file changed, 47 insertions(+)
36981 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
36982 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36983 Date: Thu Dec 31 10:10:43 2009 +0100
36985 Wrap gio.SocketClient.connect_to_host_async()
36987 gio/gsocket.override | 48
36988 ++++++++++++++++++++++++++++++++++++++++++++++++
36989 1 file changed, 48 insertions(+)
36991 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
36992 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36993 Date: Thu Dec 31 09:59:46 2009 +0100
36995 Wrap gio.SocketClient.connect_async()
36997 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
36998 1 file changed, 45 insertions(+)
37000 commit dff024256295c15e49888ad9d5fef74a7746edd7
37001 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37002 Date: Wed Dec 30 23:44:25 2009 +0100
37004 Wrap gio.SocketAddressEnumerator.next_async() and add a test
37006 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
37007 tests/test_gsocket.py | 16 ++++++++++++++++
37008 2 files changed, 58 insertions(+)
37010 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
37011 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37012 Date: Wed Dec 30 23:43:14 2009 +0100
37014 Add a missing object gio.InetSocketAddress new in GIO 2.22
37016 gio/gio-types.defs | 7 +++++++
37017 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
37018 2 files changed, 38 insertions(+)
37020 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
37021 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37022 Date: Wed Dec 30 22:54:47 2009 +0100
37024 Make cancellable optional for gio.SocketAddressEnumerator.next()
37026 gio/gio.defs | 2 +-
37027 1 file changed, 1 insertion(+), 1 deletion(-)
37029 commit b19f59790b9de943d69b6c5e483928e0443c3d20
37030 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37031 Date: Wed Dec 30 22:17:44 2009 +0100
37033 Add a remainder of the Socket methods that needs manual wrapping still
37035 gio/gsocket.override | 5 +++++
37036 1 file changed, 5 insertions(+)
37038 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
37039 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37040 Date: Wed Dec 30 17:20:35 2009 +0100
37042 Wrap gio.Socket.condition_wait() and add a test
37044 gio/gsocket.override | 27 +++++++++++++++++++++++++++
37045 tests/test_gsocket.py | 6 +++++-
37046 2 files changed, 32 insertions(+), 1 deletion(-)
37048 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
37049 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37050 Date: Wed Dec 30 16:21:49 2009 +0100
37052 Wrap gio.Socket.condition_check() and add a test
37054 gio/Makefile.am | 1 +
37055 gio/gio.override | 1 +
37056 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
37057 tests/test_gsocket.py | 21 +++++++++++++++++++++
37058 4 files changed, 64 insertions(+)
37060 commit de7a359e81792ae8573ac944455ea289985449ed
37061 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37062 Date: Wed Dec 30 14:07:52 2009 +0100
37064 Wrap gio.Resolver.lookup_service_finish() and add a test
37066 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
37067 tests/test_gresolver.py | 13 +++++++++++++
37068 2 files changed, 50 insertions(+)
37070 commit 308421789ce849040d645077c41c80b6e2e65e83
37071 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37072 Date: Wed Dec 30 14:00:22 2009 +0100
37074 Wrap gio.Resolver.lookup_service_async()
37076 gio/gresolver.override | 48
37077 ++++++++++++++++++++++++++++++++++++++++++++++++
37078 1 file changed, 48 insertions(+)
37080 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
37081 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37082 Date: Wed Dec 30 11:11:32 2009 +0100
37084 Wrap gio.Resolver.lookup_service() and add a test
37086 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
37087 tests/test_gresolver.py | 5 +++++
37088 2 files changed, 47 insertions(+)
37090 commit 7fc71f490494dae73a5264869a97a9d30814930e
37091 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37092 Date: Tue Dec 29 22:12:50 2009 +0100
37094 Wrap gio.Resolver.lookup_by_address_async() and add a test
37096 gio/gresolver.override | 46
37097 ++++++++++++++++++++++++++++++++++++++++++++++
37098 tests/test_gresolver.py | 14 ++++++++++++++
37099 2 files changed, 60 insertions(+)
37101 commit c91656dbe56f07d3ebbad5113467c22427cf212a
37102 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37103 Date: Tue Dec 29 21:41:30 2009 +0100
37105 Wrap gio.Resolver.lookup_by_name_finish() and add a test
37107 gio/gresolver.override | 82
37108 +++++++++++++++++++++++++++++++++++++++++++++++++
37109 tests/test_gresolver.py | 16 ++++++++--
37110 2 files changed, 96 insertions(+), 2 deletions(-)
37112 commit 45b477342fa1c2435917c6d97745ad57665c4734
37113 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37114 Date: Tue Dec 29 17:15:44 2009 +0100
37116 Wrap gio.Drive.eject_with_data()
37118 gio/gdrive.override | 54
37119 +++++++++++++++++++++++++++++++++++++++++++++++++++++
37120 1 file changed, 54 insertions(+)
37122 commit 635227480f9659a1f91ab1ec12536d3ed012a976
37123 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37124 Date: Tue Dec 29 17:06:52 2009 +0100
37126 Deprecate old gio.Drive methods
37128 gio/gdrive.override | 7 ++++++-
37130 2 files changed, 7 insertions(+), 1 deletion(-)
37132 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
37133 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37134 Date: Tue Dec 29 13:51:54 2009 +0100
37136 Small fix in the header
37138 gio/gdrive.override | 2 +-
37139 1 file changed, 1 insertion(+), 1 deletion(-)
37141 commit 7589128515b79d836365247dc876538c6352da23
37142 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37143 Date: Tue Dec 29 12:40:50 2009 +0100
37145 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
37147 gio/Makefile.am | 1 +
37148 gio/gio.override | 1 +
37149 gio/gresolver.override | 57
37150 +++++++++++++++++++++++++++++++++++++++++++++++++
37151 tests/test_gresolver.py | 21 ++++++++++++++++++
37152 4 files changed, 80 insertions(+)
37154 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
37155 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37156 Date: Tue Dec 29 12:39:13 2009 +0100
37158 Make cancellable an optional parameter in
37159 gio.Resolver.lookup_by_address()
37161 gio/gio.defs | 2 +-
37162 1 file changed, 1 insertion(+), 1 deletion(-)
37164 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
37165 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37166 Date: Tue Dec 29 10:15:14 2009 +0100
37168 Strip g_ prefix for many other functions
37171 ++++++++++++++++++++++++++++++------------------------------
37172 1 file changed, 47 insertions(+), 47 deletions(-)
37174 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
37175 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37176 Date: Tue Dec 29 10:12:53 2009 +0100
37178 Strip g_prefix from InetAddress functions
37180 gio/gio.defs | 8 ++++----
37181 1 file changed, 4 insertions(+), 4 deletions(-)
37183 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
37184 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37185 Date: Tue Dec 29 10:03:59 2009 +0100
37187 Fix function name gio.resolver_get_default()
37189 Strip the g_ prefix from function name
37191 gio/gio.defs | 2 +-
37192 1 file changed, 1 insertion(+), 1 deletion(-)
37194 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
37195 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37196 Date: Tue Dec 29 09:54:05 2009 +0100
37198 Wrap gio.FileIOStream.query_info_async() and add a test
37200 gio/Makefile.am | 1 +
37201 gio/gfileiostream.override | 68
37202 ++++++++++++++++++++++++++++++++++++++++++++++
37203 gio/gio.override | 1 +
37204 tests/test_gio.py | 18 ++++++++++++
37205 4 files changed, 88 insertions(+)
37207 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
37208 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37209 Date: Tue Dec 29 13:08:29 2009 +0100
37211 Register enums and flags in PyGI if needed
37213 https://bugzilla.gnome.org/show_bug.cgi?id=603534
37215 gobject/pygenum.c | 20 ++++++++++++++------
37216 gobject/pygflags.c | 19 +++++++++++++------
37217 2 files changed, 27 insertions(+), 12 deletions(-)
37219 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
37220 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37221 Date: Mon Dec 28 22:41:54 2009 +0100
37223 Wrap GIOStream.close_async() and add a test
37225 gio/Makefile.am | 1 +
37226 gio/gio.override | 1 +
37227 gio/giostream.override | 68
37228 ++++++++++++++++++++++++++++++++++++++++++++++++++
37229 tests/test_gio.py | 21 ++++++++++++++++
37230 4 files changed, 91 insertions(+)
37232 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
37233 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37234 Date: Mon Dec 28 22:39:09 2009 +0100
37236 Make cancellable an optional parameter in GFile.create_readwrite()
37238 gio/gio.defs | 2 +-
37239 1 file changed, 1 insertion(+), 1 deletion(-)
37241 commit 1cabd733cde269ce3164834933f4a226673ecb0b
37242 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37243 Date: Mon Dec 28 21:39:50 2009 +0100
37245 Remove a duplicate entry in gio.defs
37247 gio/gio.defs | 9 ---------
37248 1 file changed, 9 deletions(-)
37250 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
37251 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37252 Date: Mon Dec 28 21:37:49 2009 +0100
37254 Wrap gio.FileInfo.set_modification_time and add a test
37256 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
37257 tests/test_gio.py | 7 ++++++-
37258 2 files changed, 38 insertions(+), 2 deletions(-)
37260 commit 7bc2673f92138b1804d8eba091942d14d8884f90
37261 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37262 Date: Mon Dec 28 18:28:03 2009 +0100
37264 Wrap gio.EmblemedIcon.get_emblems() and add a test
37266 gio/gicon.override | 14 ++++++++++++++
37267 tests/test_gicon.py | 7 +++++++
37268 2 files changed, 21 insertions(+)
37270 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
37271 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37272 Date: Sat Dec 26 22:27:48 2009 +0100
37274 Update Enums and Flags with new API
37276 gio/gio-types.defs | 153
37277 +++++++++++++++++++++++++++++++++++++++++++++++++++--
37278 1 file changed, 149 insertions(+), 4 deletions(-)
37280 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
37281 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37282 Date: Fri Dec 25 18:06:39 2009 +0100
37284 Post release version bump to 2.21.1
37286 configure.ac | 2 +-
37287 1 file changed, 1 insertion(+), 1 deletion(-)
37289 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
37290 Author: Bastian Winkler <buz@netbuz.org>
37291 Date: Fri Aug 14 15:10:26 2009 +0200
37293 Fix handling of uchar in pyg_value_from_pyobject
37295 Set the value by g_value_set_uchar and allow to use integer types
37298 gobject/pygtype.c | 15 +++++++++++----
37299 1 file changed, 11 insertions(+), 4 deletions(-)
37301 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
37302 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37303 Date: Tue Dec 22 18:05:47 2009 +0100
37305 Add Gtk.keysyms to overrides
37307 gi/overrides/Gtk.py | 2 +
37308 gi/overrides/Makefile.am | 1 +
37309 gi/overrides/keysyms.py | 1499
37310 ++++++++++++++++++++++++++++++++++++++++++++++
37311 3 files changed, 1502 insertions(+)
37313 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
37314 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37315 Date: Wed Nov 25 10:33:56 2009 +0100
37317 The array field 'length' starts to count from the C arg list, so
37318 need to decrement when it's a method
37320 https://bugzilla.gnome.org/show_bug.cgi?id=602640
37322 gi/pygi-argument.c | 11 +++++++++-
37323 gi/pygi-argument.h | 3 ++-
37324 gi/pygi-info.c | 14 +++++++++++--
37325 tests/libtestgi.c | 60
37326 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
37327 tests/libtestgi.h | 4 ++++
37328 tests/test_gi.py | 15 ++++++++++++++
37329 6 files changed, 103 insertions(+), 4 deletions(-)
37331 commit 867536c6734e606d045760837ed22583da06566e
37332 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37333 Date: Fri Dec 18 10:50:09 2009 +0100
37335 Update NEWS and README, release pygobject 2.21.0
37337 NEWS | 18 ++++++++++++++++++
37339 2 files changed, 21 insertions(+), 3 deletions(-)
37341 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
37342 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37343 Date: Fri Dec 18 10:31:48 2009 +0100
37345 Add pygi-external.h into Makefile SOURCES
37347 gobject/Makefile.am | 3 ++-
37348 1 file changed, 2 insertions(+), 1 deletion(-)
37350 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
37351 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37352 Date: Fri Dec 18 01:20:34 2009 +0100
37354 Bug 598435 - No wrapping for g_find_program_in_path ()
37356 glib/glibmodule.c | 20 ++++++++++++++++++++
37357 1 file changed, 20 insertions(+)
37359 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
37360 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37361 Date: Thu Dec 17 21:54:36 2009 +0100
37363 Wrap new API added in GIO-UNIX 2.22
37365 gio/unix-types.defs | 22 ++++++++++
37366 gio/unix.defs | 115
37367 +++++++++++++++++++++++++++++++++++++++++++++++++++-
37368 gio/unix.override | 8 ++++
37369 3 files changed, 144 insertions(+), 1 deletion(-)
37371 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
37372 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37373 Date: Thu Dec 17 21:52:11 2009 +0100
37375 Bump required glib version to 2.22.4
37377 I've committed a patch to glib which will be released in the stable
37379 Without the patch the unix module will fail, so I'm forced to bump.
37381 configure.ac | 6 +++---
37382 1 file changed, 3 insertions(+), 3 deletions(-)
37384 commit b630c8d4b1e55938dac89729768c4a877b305215
37385 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37386 Date: Thu Dec 17 02:24:45 2009 +0100
37388 Properly define Connectable as interface type and not object type
37390 gio/gio-types.defs | 12 ++++++------
37391 1 file changed, 6 insertions(+), 6 deletions(-)
37393 commit e955b931b07113c7432f7a85f882f69f12d263ad
37394 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
37395 Date: Mon Nov 30 22:01:25 2009 +0100
37397 Depend on GLib 2.20 rather than 2.22
37399 Backport g_array_get_element_size.
37401 https://bugzilla.gnome.org/show_bug.cgi?id=603411
37403 configure.ac | 2 +-
37404 gi/pygi-private.h | 19 +++++++++++++++++++
37405 2 files changed, 20 insertions(+), 1 deletion(-)
37407 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
37408 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37409 Date: Sat Nov 28 18:48:19 2009 +0000
37411 Use the limit constants from glib and interpret G_MAXUINT32 as
37412 PyLong_FromLongLong
37414 https://bugzilla.gnome.org/show_bug.cgi?id=602384
37416 gi/pygi-argument.c | 14 +++++++-------
37417 tests/test_gi.py | 18 +++++++++---------
37418 2 files changed, 16 insertions(+), 16 deletions(-)
37420 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
37421 Author: Simon van der Linden <svdlinden@src.gnome.org>
37422 Date: Mon Nov 30 00:10:56 2009 +0100
37424 Suppress warnings about format conversion
37426 https://bugzilla.gnome.org/show_bug.cgi?id=603355
37428 gobject/generate-constants.c | 32 ++++++++++++++++----------------
37429 1 file changed, 16 insertions(+), 16 deletions(-)
37431 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
37432 Author: Simon van der Linden <svdlinden@src.gnome.org>
37433 Date: Sat Nov 28 00:22:21 2009 +0100
37435 Remove global checks for pointers and move them in type cases that
37438 gi/pygi-argument.c | 516
37439 +++++++++++++++++++++++++++++++++++++++++++----------
37440 gi/pygi-info.c | 333 +++++++++++++++++-----------------
37441 2 files changed, 596 insertions(+), 253 deletions(-)
37443 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
37444 Author: Johan Dahlin <johan@gnome.org>
37445 Date: Mon Nov 23 15:58:17 2009 -0200
37447 Pythonify. Avoid ; and () around if statements
37449 https://bugzilla.gnome.org/show_bug.cgi?id=602830
37451 gi/types.py | 8 ++++----
37452 1 file changed, 4 insertions(+), 4 deletions(-)
37454 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
37455 Author: Johan Dahlin <johan@gnome.org>
37456 Date: Tue Nov 24 10:36:18 2009 -0200
37458 Remove trailing whitespace
37460 https://bugzilla.gnome.org/show_bug.cgi?id=602830
37462 gi/module.py | 4 ++--
37463 1 file changed, 2 insertions(+), 2 deletions(-)
37465 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
37466 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37467 Date: Mon Nov 30 10:03:34 2009 +0000
37469 Set a default constructor for boxed structs that don't have one
37471 https://bugzilla.gnome.org/show_bug.cgi?id=602735
37473 gi/Makefile.am | 2 +
37474 gi/gimodule.c | 1 +
37475 gi/module.py | 2 +-
37476 gi/pygi-argument.c | 14 +++-
37477 gi/pygi-boxed.c | 184
37478 +++++++++++++++++++++++++++++++++++++++++++++++++++++
37479 gi/pygi-boxed.h | 40 ++++++++++++
37480 gi/pygi-info.c | 2 +-
37481 gi/pygi-private.h | 1 +
37483 gi/types.py | 18 ------
37484 tests/libtestgi.c | 72 ++++++++++-----------
37485 tests/libtestgi.h | 18 +++---
37486 tests/test_gi.py | 47 ++++++++------
37487 13 files changed, 321 insertions(+), 86 deletions(-)
37489 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
37490 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37491 Date: Mon Nov 30 10:53:57 2009 +0000
37493 Revert "Use the limit constants from glib and interpret G_MAXUINT32
37494 as PyLong_FromLongLong"
37496 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
37498 gi/pygi-argument.c | 14 +++++++-------
37499 tests/test_gi.py | 18 +++++++++---------
37500 2 files changed, 16 insertions(+), 16 deletions(-)
37502 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
37503 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37504 Date: Sat Nov 28 18:48:19 2009 +0000
37506 Use the limit constants from glib and interpret G_MAXUINT32 as
37507 PyLong_FromLongLong
37509 https://bugzilla.gnome.org/show_bug.cgi?id=602384
37511 gi/pygi-argument.c | 14 +++++++-------
37512 tests/test_gi.py | 18 +++++++++---------
37513 2 files changed, 16 insertions(+), 16 deletions(-)
37515 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
37516 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37517 Date: Sat Nov 28 18:45:54 2009 +0000
37519 Add the missing limit constants from glibconfig.h
37521 https://bugzilla.gnome.org/show_bug.cgi?id=603244
37523 gobject/generate-constants.c | 17 ++++++++++++++++-
37524 1 file changed, 16 insertions(+), 1 deletion(-)
37526 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
37527 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37528 Date: Sat Nov 28 18:48:49 2009 +0100
37530 Fix bad name when rebuilding the unix source module
37532 gio/Makefile.am | 2 +-
37533 1 file changed, 1 insertion(+), 1 deletion(-)
37535 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
37536 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37537 Date: Sat Nov 28 18:47:26 2009 +0100
37539 Wrap new API added in GIO 2.22
37541 gio/gio-types.defs | 138 +++
37542 gio/gio.defs | 2444
37543 +++++++++++++++++++++++++++++++++++++++++++++++-----
37544 2 files changed, 2360 insertions(+), 222 deletions(-)
37546 commit 96f6c638709636d7e2ddf560b877879691da3314
37547 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37548 Date: Sat Nov 28 11:03:51 2009 +0000
37550 A few tests about interfaces
37552 https://bugzilla.gnome.org/show_bug.cgi?id=601181
37554 tests/libtestgi.c | 23 +++++++++++++++++++++++
37555 tests/libtestgi.h | 16 ++++++++++++++++
37556 tests/test_gi.py | 21 +++++++++++++++++++++
37557 3 files changed, 60 insertions(+)
37559 commit 076ba3156c13375a75983cef7a409c8c8afea119
37560 Author: Simon van der Linden <svdlinden@src.gnome.org>
37561 Date: Thu Nov 26 23:50:54 2009 +0100
37563 Fix members initialization in metaclasses
37565 In metaclasses, the test for the name of the class was wrong, since it
37566 prevented one to create a subclass with the same name (especially
37568 overrides). Now, if a GType is available from the info, the fact
37570 doesn't have any wrapper yet means that the metaclass is creating
37572 class, which will be registerd just after its creation. This is
37574 objects, and for structures registered as boxed or pointer too.
37576 This patch includes a test for basic subclassing in Python. It
37578 that methods don't get overridden by the metaclass.
37580 gi/types.py | 5 +++--
37581 tests/test_gi.py | 19 +++++++++++++++++++
37582 2 files changed, 22 insertions(+), 2 deletions(-)
37584 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
37585 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37586 Date: Fri Nov 27 12:06:59 2009 +0000
37588 Structs in arrays are not marshalled correctly
37590 https://bugzilla.gnome.org/show_bug.cgi?id=602709
37592 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
37593 tests/libtestgi.c | 23 ++++++++++++++++++++++-
37594 tests/libtestgi.h | 7 +++++--
37595 tests/test_gi.py | 8 ++++++++
37596 4 files changed, 59 insertions(+), 8 deletions(-)
37598 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
37599 Author: Simon van der Linden <svdlinden@src.gnome.org>
37600 Date: Wed Nov 25 16:53:55 2009 +0100
37602 Use the right variable when looking up in sys.modules
37604 gi/importer.py | 2 +-
37605 1 file changed, 1 insertion(+), 1 deletion(-)
37607 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
37608 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37609 Date: Tue Nov 24 15:52:47 2009 +0100
37611 Accept 0 as a valid value for flag and enum arguments
37613 https://bugzilla.gnome.org/show_bug.cgi?id=602638
37615 gi/pygi-argument.c | 19 ++++++++++++++++++-
37616 tests/libtestgi.c | 6 ++++++
37617 tests/libtestgi.h | 1 +
37618 tests/test_gi.py | 1 +
37619 4 files changed, 26 insertions(+), 1 deletion(-)
37621 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
37622 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37623 Date: Tue Nov 24 13:10:11 2009 +0100
37625 Add stuff to .gitignore
37627 .gitignore | 7 +++++++
37628 1 file changed, 7 insertions(+)
37630 commit 5c010fe673d9bd01c27c8d7d312064665275888c
37631 Author: Simon van der Linden <svdlinden@src.gnome.org>
37632 Date: Mon Nov 23 22:39:12 2009 +0100
37634 Remove the girepository module
37637 configure.ac | 17 -
37638 girepository/Makefile.am | 54 --
37639 girepository/__init__.py | 24 -
37640 girepository/bank-argument.c | 379 ------------
37641 girepository/bank-info.c | 1194
37642 ------------------------------------
37643 girepository/bank-repository.c | 236 -------
37644 girepository/bank.c | 155 -----
37645 girepository/bank.h | 80 ---
37646 girepository/btypes.py | 300 ---------
37647 girepository/importer.py | 51 --
37648 girepository/module.py | 224 -------
37649 girepository/overrides/Gdk.py | 14 -
37650 girepository/overrides/Gtk.py | 8 -
37651 girepository/overrides/__init__.py | 0
37652 girepository/repository.py | 51 --
37653 tests/test_girepository.py | 386 ------------
37654 17 files changed, 1 insertion(+), 3174 deletions(-)
37656 commit a644edf0515c26ed027522891ccf02aceac764e8
37657 Author: Johan Dahlin <johan@gnome.org>
37658 Date: Mon Nov 23 15:32:16 2009 -0200
37660 Create overridden modules in two passes
37662 This patch splits overridden module creation into two passes. The
37664 creates the auto-generated module normally before the overridden
37666 attempted to be imported. The second pass imports the overridden
37668 replaces the auto-generated module with the overridden. This is
37670 for the overridden modules to be able to access the auto-generated
37673 gi/importer.py | 34 +++++++++++++++++++++-------------
37674 1 file changed, 21 insertions(+), 13 deletions(-)
37676 commit fad89e12a744b57e6348968f351d25d167de8248
37677 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37678 Date: Sun Nov 22 17:56:20 2009 +0100
37680 Add support for Any arguments
37682 https://bugzilla.gnome.org/show_bug.cgi?id=601253
37684 gi/pygi-argument.c | 20 ++++++++++++--------
37685 tests/libtestgi.c | 5 +++++
37686 tests/libtestgi.h | 5 +++++
37687 tests/test_gi.py | 5 +++++
37688 4 files changed, 27 insertions(+), 8 deletions(-)
37690 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
37691 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37692 Date: Sun Nov 22 17:25:04 2009 +0100
37694 Register interfaces
37696 https://bugzilla.gnome.org/show_bug.cgi?id=601181
37698 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
37699 gi/types.py | 5 ++++-
37700 2 files changed, 37 insertions(+), 1 deletion(-)
37702 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
37703 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37704 Date: Sun Nov 22 18:23:02 2009 +0200
37706 Ignore one more file.
37709 1 file changed, 1 insertion(+)
37711 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
37712 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37713 Date: Sun Nov 22 18:22:23 2009 +0200
37715 Fix wrong minimum checking in float properties
37717 Bug #587637. Test the fix.
37719 gobject/propertyhelper.py | 5 +++--
37720 tests/test_properties.py | 6 ++++++
37721 2 files changed, 9 insertions(+), 2 deletions(-)
37723 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
37724 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37725 Date: Mon Oct 26 18:06:06 2009 +0000
37727 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
37729 gi/pygi-argument.c | 3 +++
37730 1 file changed, 3 insertions(+)
37732 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
37733 Author: Simon van der Linden <svdlinden@src.gnome.org>
37734 Date: Sat Nov 14 21:42:43 2009 +0100
37736 Import pygtk properly to avoid failure on some setups
37738 tests/test_gi.py | 3 +++
37739 1 file changed, 3 insertions(+)
37741 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
37742 Author: Alex Dedul <rotmer@gmail.com>
37743 Date: Sat Nov 14 21:39:15 2009 +0100
37745 Search for python-config-${VERSION} when python${VERSION}-config is
37748 On Gentoo, notably, the config tool is named python-config-${VERSION},
37750 Fedora and Ubuntu, it is named python${VERSION}-config.
37752 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
37754 configure.ac | 7 +++++--
37755 1 file changed, 5 insertions(+), 2 deletions(-)
37757 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
37758 Author: Simon van der Linden <svdlinden@src.gnome.org>
37759 Date: Sat Nov 14 21:36:19 2009 +0100
37761 Fix silent rules setup
37763 configure.ac | 2 +-
37764 1 file changed, 1 insertion(+), 1 deletion(-)
37766 commit 602afea88c338a38327cd84e08703c5daa384ec6
37767 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37768 Date: Tue Nov 10 22:32:33 2009 +0200
37770 Move threads_init() function from 'gobject' to 'glib'
37772 Retain in original place for backward compatibility, but remove it
37775 docs/reference/pygobject-functions.xml | 36
37776 +++++++---------------------------
37777 glib/glibmodule.c | 16 +++++++++++++++
37778 2 files changed, 23 insertions(+), 29 deletions(-)
37780 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
37781 Author: Simon van der Linden <svdlinden@src.gnome.org>
37782 Date: Mon Nov 9 22:44:12 2009 +0100
37784 Remove PyGObject patches since they've been merged to master
37786 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
37787 patches/0002-Fix-girpository-build-setup.patch | 186
37788 -------------------
37789 ...capabilities-to-import-wrappers-from-pygi.patch | 200
37790 ---------------------
37791 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
37792 4 files changed, 493 deletions(-)
37794 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
37795 Author: Simon van der Linden <svdlinden@src.gnome.org>
37796 Date: Sat Nov 7 23:42:07 2009 +0100
37798 Create instances by calling tp_alloc rather than PyObject_NEW
37800 PyObject_NEW calls a generic allocator and should only be called by
37802 that the type's free function agrees. In pyg_boxed_new, we may
37804 PyGBoxed subtypes, so the subtype's allocation function must be
37807 gobject/pygboxed.c | 3 ++-
37808 1 file changed, 2 insertions(+), 1 deletion(-)
37810 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
37811 Author: Simon van der Linden <svdlinden@src.gnome.org>
37812 Date: Sat Nov 7 16:43:35 2009 +0100
37814 Add capabilities to import wrappers from pygi
37816 At instance creation for boxed and pointers, at lookup for objects,
37817 when the gtype has no wrapper yet, a wrapper may be imported from
37820 The feature is turned on at configure time by --enable-pygi.
37822 Because we couldn't create a circular build dependency, PyGI's import
37824 API definition had to be copied in this tree.
37826 configure.ac | 8 ++++++
37827 gobject/pygboxed.c | 10 ++++++++
37828 gobject/pygi-external.h | 66
37829 +++++++++++++++++++++++++++++++++++++++++++++++++
37830 gobject/pygobject.c | 10 ++++++++
37831 gobject/pygpointer.c | 11 +++++++++
37832 5 files changed, 105 insertions(+)
37834 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
37835 Author: Simon van der Linden <svdlinden@src.gnome.org>
37836 Date: Sun Nov 8 20:03:58 2009 +0100
37838 Update PyGObject patches
37840 A file, pygi-external.h, was missing in patch #3.
37842 ...capabilities-to-import-wrappers-from-pygi.patch | 74
37843 ++++++++++++++++++++--
37844 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
37845 2 files changed, 69 insertions(+), 7 deletions(-)
37847 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
37848 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37849 Date: Sun Nov 8 16:52:18 2009 +0100
37851 Add myself to pygi.doap
37853 pygi.doap | 5 +++++
37854 1 file changed, 5 insertions(+)
37856 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
37857 Author: Simon van der Linden <svdlinden@src.gnome.org>
37858 Date: Sun Nov 8 15:40:51 2009 +0100
37862 pygi.doap | 17 +++++++++++++++++
37863 1 file changed, 17 insertions(+)
37865 commit ce673b9027868e6add4eeb438bc707eb40bfd046
37866 Author: Simon van der Linden <svdlinden@src.gnome.org>
37867 Date: Sun Nov 8 13:06:54 2009 +0100
37869 Add PyGObject patches
37871 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
37872 patches/0002-Fix-girpository-build-setup.patch | 186
37873 +++++++++++++++++++++
37874 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
37875 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
37876 4 files changed, 431 insertions(+)
37878 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
37879 Author: Simon van der Linden <svdlinden@src.gnome.org>
37880 Date: Sun Nov 8 12:35:08 2009 +0100
37886 autogen.sh | 159 +++
37887 configure.ac | 53 +
37888 gi/Makefile.am | 50 +
37889 gi/__init__.py | 24 +
37890 gi/gimodule.c | 144 ++
37891 gi/importer.py | 89 ++
37892 gi/module.py | 167 +++
37893 gi/overrides/Gdk.py | 21 +
37894 gi/overrides/Gtk.py | 13 +
37895 gi/overrides/Makefile.am | 10 +
37896 gi/overrides/__init__.py | 0
37897 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
37898 gi/pygi-argument.h | 65 +
37899 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
37900 gi/pygi-info.h | 64 +
37901 gi/pygi-private.h | 55 +
37902 gi/pygi-repository.c | 238 ++++
37903 gi/pygi-repository.h | 39 +
37904 gi/pygi-struct.c | 175 +++
37905 gi/pygi-struct.h | 40 +
37906 gi/pygi-type.c | 96 ++
37907 gi/pygi-type.h | 43 +
37909 gi/pygobject-external.h | 83 ++
37910 gi/repository/Makefile.am | 8 +
37911 gi/repository/__init__.py | 30 +
37912 gi/types.py | 163 +++
37913 tests/Makefile.am | 48 +
37914 tests/libtestgi.c | 3397
37915 +++++++++++++++++++++++++++++++++++++++++++++
37916 tests/libtestgi.h | 643 +++++++++
37917 tests/runtests.py | 22 +
37918 tests/test_gi.py | 1416 +++++++++++++++++++
37919 34 files changed, 11566 insertions(+)
37921 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
37922 Author: Simon van der Linden <svdlinden@src.gnome.org>
37923 Date: Sat Nov 7 13:23:53 2009 +0100
37925 Fix girpository build setup
37927 configure.ac | 21 ++++++-----
37928 girepository/Makefile.am | 13 ++++---
37929 m4/introspection.m4 | 92
37930 ++++++++++++++++++++++++++++++++++++++++++++++++
37931 3 files changed, 111 insertions(+), 15 deletions(-)
37933 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
37934 Author: Simon van der Linden <svdlinden@src.gnome.org>
37935 Date: Fri Nov 6 19:17:36 2009 +0100
37937 Make GType.pytype aware of the interface, enum, flags, pointer and
37940 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
37941 1 file changed, 33 insertions(+), 6 deletions(-)
37943 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
37944 Author: Philippe Normad <phil@base-art.net>
37945 Date: Wed Oct 21 18:01:16 2009 +0200
37947 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
37951 glib/pygmainloop.c | 95
37952 ++++++++++++++++++++++++++++--------------------------
37953 1 file changed, 50 insertions(+), 45 deletions(-)
37955 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
37956 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37957 Date: Fri Sep 25 20:12:21 2009 +0200
37959 Post release version bump to 2.21.0
37961 configure.ac | 2 +-
37962 1 file changed, 1 insertion(+), 1 deletion(-)
37964 commit 33920eb013628a5e22b7b32403fb965ae3210f47
37965 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37966 Date: Wed Sep 23 21:52:04 2009 +0200
37968 Update NEWS and release 2.20.0
37971 1 file changed, 6 insertions(+)
37973 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
37974 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37975 Date: Wed Sep 23 21:51:43 2009 +0200
37977 Bump version to 2.20.0
37979 configure.ac | 2 +-
37980 1 file changed, 1 insertion(+), 1 deletion(-)
37982 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
37983 Author: Brian Cameron <Brian.Cameron@sun.com>
37984 Date: Wed Sep 23 12:11:50 2009 -0500
37986 Updated uninstalled.pc file so that it contains the right paths for
37987 defsdir files and codegen files. See bug #596023.
37989 pygobject-2.0-uninstalled.pc.in | 4 ++--
37990 1 file changed, 2 insertions(+), 2 deletions(-)
37992 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
37993 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37994 Date: Tue Sep 22 22:02:27 2009 +0300
37996 Plug reference leak of GSource in pyg_main_loop_init()
37998 Bug #579406, second change.
38000 glib/pygmainloop.c | 1 +
38001 1 file changed, 1 insertion(+)
38003 commit 640be8109d066e85ed77c810830a5f73c750415b
38004 Author: Frédéric Péters <fpeters@0d.be>
38005 Date: Sun Aug 30 16:46:02 2009 +0200
38007 Specify programming language in .devhelp file
38009 This add a new language attribute (hardcoded to python) in the
38011 file that is produced when using ref-html-style.xsl.
38013 docs/xsl/devhelp.xsl | 2 +-
38014 1 file changed, 1 insertion(+), 1 deletion(-)
38016 commit c888b5ca722fcad6a03de585606c677c2969ebd6
38017 Author: Paolo Borelli <pborelli@gnome.org>
38018 Date: Thu Aug 13 21:32:07 2009 +0200
38020 Allow to use automake 1.11
38022 autogen.sh | 13 +++++++------
38023 1 file changed, 7 insertions(+), 6 deletions(-)
38025 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
38026 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38027 Date: Tue Aug 11 22:19:50 2009 +0200
38031 README | 10 ++++++++--
38032 1 file changed, 8 insertions(+), 2 deletions(-)
38034 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
38035 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38036 Date: Tue Aug 11 22:16:52 2009 +0200
38040 AUTHORS | 8 +++++---
38041 1 file changed, 5 insertions(+), 3 deletions(-)
38043 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
38044 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38045 Date: Tue Aug 11 22:11:43 2009 +0200
38047 Add myself and Paul as maintainers
38049 MAINTAINERS | 8 ++++++++
38050 pygobject.doap | 14 ++++++++++++++
38051 2 files changed, 22 insertions(+)
38053 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
38054 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38055 Date: Tue Aug 11 20:52:44 2009 +0200
38057 Update NEWS release 2.19.0
38059 NEWS | 29 +++++++++++++++++++++++++++++
38060 1 file changed, 29 insertions(+)
38062 commit e82a1841f31ad54dd50569d0d45290713409e0bf
38063 Author: John Finlay <finlay@moeraki.com>
38064 Date: Tue Aug 11 00:04:31 2009 -0700
38066 Add macros to help with Python list to/from GList/GSList conversions.
38068 gobject/pygobject.h | 242
38069 +++++++++++++++++++++++++++++++++++++++++++++++++++-
38070 1 file changed, 241 insertions(+), 1 deletion(-)
38072 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
38073 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38074 Date: Sat Aug 8 21:37:54 2009 +0200
38076 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
38078 gio/gfileinfo.override | 4 ++--
38079 1 file changed, 2 insertions(+), 2 deletions(-)
38081 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
38082 Author: Johan Dahlin <johan@gnome.org>
38083 Date: Fri Jul 24 14:30:37 2009 -0300
38085 Remove myself as a maintainer
38087 MAINTAINERS | 4 ----
38088 pygobject.doap | 7 -------
38089 2 files changed, 11 deletions(-)
38091 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
38092 Author: John Finlay <finlay@moeraki.com>
38093 Date: Wed Jul 8 15:47:44 2009 -0700
38095 * codegen/defsgen.py (clean_patterns): Strip out Windows
38098 codegen/defsgen.py | 6 +++---
38099 1 file changed, 3 insertions(+), 3 deletions(-)
38101 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
38102 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38103 Date: Tue Jun 23 21:18:23 2009 +0200
38105 Fix the gio.unix namespace in docs
38107 docs/Makefile.am | 2 ++
38108 docs/reference/pygio-classes.xml | 2 --
38109 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
38110 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
38111 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
38112 docs/reference/pygobject-ref.xml | 1 +
38113 6 files changed, 42 insertions(+), 28 deletions(-)
38115 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
38116 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38117 Date: Mon Jun 22 23:13:36 2009 +0200
38119 Add docs for gio functions (mostly for content types)
38121 docs/Makefile.am | 2 +
38122 docs/reference/pygio-classes.xml | 1 +
38123 docs/reference/pygio-functions.xml | 395
38124 +++++++++++++++++++++++++++++++++++++
38125 3 files changed, 398 insertions(+)
38127 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
38128 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38129 Date: Sun Jun 21 18:35:56 2009 +0200
38131 Add docs for gio.Unix[In|Out]putStream classes
38133 docs/Makefile.am | 4 +
38134 docs/reference/pygio-classes.xml | 2 +
38135 docs/reference/pygio-unixinputstream.xml | 202
38136 ++++++++++++++++++++++++++++++
38137 docs/reference/pygio-unixoutputstream.xml | 202
38138 ++++++++++++++++++++++++++++++
38139 4 files changed, 410 insertions(+)
38141 commit 5b71e58117c85634d95d08449eb54079b246e5be
38142 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38143 Date: Sun Jun 21 16:50:03 2009 +0300
38145 Document that many functions got moved gobject -> glib
38147 docs/reference/pygobject-functions.xml | 7 +++++++
38148 1 file changed, 7 insertions(+)
38150 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
38151 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38152 Date: Sat Jun 20 19:23:25 2009 +0200
38154 Add docs for class gio.DataOutputStream
38156 docs/Makefile.am | 2 +
38157 docs/reference/pygio-classes.xml | 1 +
38158 docs/reference/pygio-dataoutputstream.xml | 504
38159 ++++++++++++++++++++++++++++++
38160 3 files changed, 507 insertions(+)
38162 commit 549313fc4886fa3deb31761de6f5400708165d86
38163 Author: Murray Cumming <murrayc@murrayc.com>
38164 Date: Thu Jun 18 18:48:37 2009 +0200
38166 Allow h2def.py to work when there are tabs or multiple spaces after
38167 the struct keyword.
38169 codegen/h2def.py | 8 ++++----
38170 1 file changed, 4 insertions(+), 4 deletions(-)
38172 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
38173 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38174 Date: Mon Jun 15 23:02:34 2009 +0200
38176 Add dpcs for class gio.DataInputStream
38178 docs/Makefile.am | 2 +
38179 docs/reference/pygio-classes.xml | 1 +
38180 docs/reference/pygio-constants.xml | 66 +++
38181 docs/reference/pygio-datainputstream.xml | 799
38182 +++++++++++++++++++++++++++++++
38183 4 files changed, 868 insertions(+)
38185 commit a8b36c343c6850af929c1d5a930f923831b4e637
38186 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
38187 Date: Mon Jun 15 23:25:01 2009 +0300
38189 Fix build when builddir is not the same as srcdir
38193 girepository/Makefile.am | 2 +-
38194 1 file changed, 1 insertion(+), 1 deletion(-)
38196 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
38197 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38198 Date: Mon Jun 15 23:19:47 2009 +0300
38200 Make gio.Emblem constructor new-style
38202 Add optional 'origin' parameter. Expand gio.Emblem documentation and
38203 mark gio.emblem_new_with_origin as sort-of-deprecated.
38205 docs/reference/pygio-emblem.xml | 51
38206 +++++++++++++++++++++++++++++++++++++++--
38207 gio/gio.defs | 5 ++--
38208 2 files changed, 52 insertions(+), 4 deletions(-)
38210 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
38211 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38212 Date: Sat Jun 13 14:44:47 2009 +0200
38214 Add docs for gio.BufferedOutputStream class
38216 docs/Makefile.am | 96 ++++-----
38217 docs/reference/pygio-bufferedoutputstream.xml | 275
38218 ++++++++++++++++++++++++++
38219 docs/reference/pygio-classes.xml | 1 +
38220 3 files changed, 325 insertions(+), 47 deletions(-)
38222 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
38223 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38224 Date: Sat Jun 13 14:38:34 2009 +0200
38226 Fix gio.BufferedInputStream docs
38228 Added the constructor reference and fixed a typo in properties header
38230 docs/reference/pygio-bufferedinputstream.xml | 34
38231 ++++++++++++++++++++++++++--
38232 1 file changed, 32 insertions(+), 2 deletions(-)
38234 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
38235 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38236 Date: Sat Jun 13 01:25:06 2009 +0200
38238 Add docs for gio.BufferedInputStream
38240 docs/Makefile.am | 2 +
38241 docs/reference/pygio-bufferedinputstream.xml | 431
38242 +++++++++++++++++++++++++++
38243 docs/reference/pygio-classes.xml | 1 +
38244 3 files changed, 434 insertions(+)
38246 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
38247 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38248 Date: Sun May 31 18:25:47 2009 +0300
38250 Cleanup GIO overrides to use Python function/method names
38252 Also move several gio.Mount overrides over from 'gio.override' to
38253 existing 'gmount.override'. Part of bug #584289.
38255 gio/gfile.override | 20 ++---
38256 gio/gfileenumerator.override | 6 +-
38257 gio/ginputstream.override | 2 +-
38258 gio/gio.override | 204
38259 -------------------------------------------
38260 gio/gmount.override | 204
38261 +++++++++++++++++++++++++++++++++++++++++++
38262 5 files changed, 218 insertions(+), 218 deletions(-)
38264 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
38265 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38266 Date: Sun May 31 18:56:55 2009 +0300
38268 Make codegen report errors using Python function/method names
38270 Part of bug #584289.
38272 codegen/codegen.py | 9 +++++----
38273 codegen/definitions.py | 10 +++++++++-
38274 2 files changed, 14 insertions(+), 5 deletions(-)
38276 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
38277 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38278 Date: Fri Jun 12 00:12:17 2009 +0200
38280 Fix object type in gio.BufferedInputStream_fill_async
38282 gio/gbufferedinputstream.override | 2 +-
38283 1 file changed, 1 insertion(+), 1 deletion(-)
38285 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
38286 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38287 Date: Tue Jun 9 00:08:21 2009 +0200
38289 Wrap gio.BufferedInputStream.fill_async
38291 Wrap the method gio.BufferedInputStream.fill_async and add a test
38293 gio/Makefile.am | 1 +
38294 gio/gbufferedinputstream.override | 70
38295 +++++++++++++++++++++++++++++++++++++++
38296 gio/gio.override | 1 +
38297 tests/test_gio.py | 25 ++++++++++++++
38298 4 files changed, 97 insertions(+)
38300 commit b7c96b41b287685fe57504e0add3a6f16e649975
38301 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38302 Date: Mon Jun 8 15:42:40 2009 +0200
38304 Add gio.BufferedOutputStream which was forgotten in the types
38307 gio/gio-types.defs | 7 +++++++
38308 1 file changed, 7 insertions(+)
38310 commit 3666f75af4ef2c8e038116aee5afada59d59f689
38311 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38312 Date: Mon Jun 8 14:20:02 2009 +0200
38314 Add docs for gio.MemoryOutputStream
38316 docs/Makefile.am | 2 +
38317 docs/reference/pygio-classes.xml | 1 +
38318 docs/reference/pygio-memoryoutputstream.xml | 175
38319 ++++++++++++++++++++++++++++
38320 3 files changed, 178 insertions(+)
38322 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
38323 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38324 Date: Mon Jun 8 13:30:15 2009 +0200
38326 Split overrides for gio.MemoryOutputStream
38328 gio/Makefile.am | 1 +
38329 gio/gio.override | 1 +
38330 gio/gmemoryoutputstream.override | 45
38331 ++++++++++++++++++++++++++++++++++++++++
38332 gio/goutputstream.override | 24 ---------------------
38333 4 files changed, 47 insertions(+), 24 deletions(-)
38335 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
38336 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38337 Date: Mon Jun 8 11:45:11 2009 +0200
38339 Wrap gio.memory_input_stream_new_from_data
38341 Add the wrapper for gio.memory_input_stream_new_from_data including
38344 docs/Makefile.am | 4 +-
38345 docs/reference/pygio-classes.xml | 1 +
38346 docs/reference/pygio-memoryinputstream.xml | 151
38347 +++++++++++++++++++++++++++++
38348 gio/Makefile.am | 1 +
38349 gio/ginputstream.override | 34 -------
38350 gio/gio.override | 1 +
38351 gio/gmemoryinputstream.override | 91 +++++++++++++++++
38352 tests/test_gio.py | 4 +
38353 8 files changed, 252 insertions(+), 35 deletions(-)
38355 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
38356 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38357 Date: Mon Jun 8 19:15:24 2009 +0200
38359 Fixes whitespaces style issues with girepository.
38361 girepository/Makefile.am | 2 +-
38362 girepository/bank-repository.c | 67
38363 +++++++++++++++++++++---------------------
38364 girepository/bank.h | 2 +-
38365 girepository/btypes.py | 6 ++--
38366 girepository/module.py | 2 +-
38367 5 files changed, 39 insertions(+), 40 deletions(-)
38369 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
38370 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38371 Date: Fri Jun 5 19:03:59 2009 +0200
38373 Removes the header but the modeline in test_girepository.py.
38375 tests/test_girepository.py | 26 +-------------------------
38376 1 file changed, 1 insertion(+), 25 deletions(-)
38378 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
38379 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38380 Date: Wed Jun 3 10:47:58 2009 +0200
38382 Adds overrides modules from PyBank.
38384 girepository/Makefile.am | 3 +++
38385 girepository/importer.py | 3 +--
38386 girepository/overrides/Gdk.py | 14 ++++++++++++++
38387 girepository/overrides/Gtk.py | 8 ++++++++
38388 girepository/overrides/__init__.py | 0
38389 5 files changed, 26 insertions(+), 2 deletions(-)
38391 commit c12964e6a3354d8063355225c94e6d21d621e08b
38392 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38393 Date: Tue Jun 2 23:40:41 2009 +0200
38395 Disables the tests that fail in tests/test_girepository.py.
38397 tests/test_girepository.py | 242
38398 ++++++++++++++++++++++++++++++++++-----------
38399 1 file changed, 182 insertions(+), 60 deletions(-)
38401 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
38402 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38403 Date: Tue Jun 2 23:03:26 2009 +0200
38405 Imports test_girepository.py from former PyBank's
38406 everything_unittest.py.
38408 tests/test_girepository.py | 288
38409 +++++++++++++++++++++++++++++++++++++++++++++
38410 1 file changed, 288 insertions(+)
38412 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
38413 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38414 Date: Thu May 28 17:45:11 2009 +0200
38416 Introduces the girepository module from the former PyBank.
38420 configure.ac | 12 +
38421 girepository/Makefile.am | 52 ++
38422 girepository/__init__.py | 24 +
38423 girepository/bank-argument.c | 379 +++++++++++++
38424 girepository/bank-info.c | 1194
38425 ++++++++++++++++++++++++++++++++++++++++
38426 girepository/bank-repository.c | 237 ++++++++
38427 girepository/bank.c | 155 ++++++
38428 girepository/bank.h | 80 +++
38429 girepository/btypes.py | 300 ++++++++++
38430 girepository/importer.py | 52 ++
38431 girepository/module.py | 224 ++++++++
38432 girepository/repository.py | 51 ++
38433 14 files changed, 2799 insertions(+), 32 deletions(-)
38435 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
38436 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38437 Date: Tue Jun 2 18:28:22 2009 +0200
38439 Fix the docs for gio.FilterOutputStream
38441 docs/reference/pygio-filteroutputstream.xml | 6 +++---
38442 1 file changed, 3 insertions(+), 3 deletions(-)
38444 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
38445 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38446 Date: Tue Jun 2 18:27:00 2009 +0200
38448 Add gio.FilterOutputStream docs
38450 docs/Makefile.am | 2 +
38451 docs/reference/pygio-classes.xml | 1 +
38452 docs/reference/pygio-filteroutputstream.xml | 152
38453 ++++++++++++++++++++++++++++
38454 3 files changed, 155 insertions(+)
38456 commit e2c31f916967229b6547e68013628ce0082cf875
38457 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38458 Date: Tue Jun 2 13:29:59 2009 +0200
38460 Add gio.FilterInputStream docs
38462 docs/Makefile.am | 2 +
38463 docs/reference/pygio-classes.xml | 1 +
38464 docs/reference/pygio-filterinputstream.xml | 152
38465 +++++++++++++++++++++++++++++
38466 3 files changed, 155 insertions(+)
38468 commit 49a467eee445bc75554db0374006722ac075194b
38469 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38470 Date: Tue Jun 2 11:33:20 2009 +0200
38472 Add API appeared in 2.20 but not marked as such in gio docs
38474 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
38475 1 file changed, 30 insertions(+)
38477 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
38478 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38479 Date: Tue Jun 2 10:41:26 2009 +0200
38481 Wrap gio.FileOutputStream.query_info_async
38483 Add the wrapper for gio.FileOutputStream.query_info_async
38484 including docs and a test.
38486 docs/Makefile.am | 2 +
38487 docs/reference/pygio-classes.xml | 1 +
38488 docs/reference/pygio-fileoutputstream.xml | 257
38489 ++++++++++++++++++++++++++++++
38490 gio/Makefile.am | 3 +-
38491 gio/gfileoutputstream.override | 68 ++++++++
38492 gio/gio.override | 1 +
38493 tests/test_gio.py | 27 ++++
38494 7 files changed, 358 insertions(+), 1 deletion(-)
38496 commit 4673577d1f6c3d54423808dd575987092fb05ad2
38497 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38498 Date: Tue Jun 2 10:17:41 2009 +0200
38500 Fix gio.FileInputStream docs
38502 Add implemented interface section and remove a method description
38504 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
38505 1 file changed, 9 insertions(+), 16 deletions(-)
38507 commit 1e1cad02879d514745b5233658654cbe944530a5
38508 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38509 Date: Mon Jun 1 22:54:26 2009 +0200
38511 Fix the method name
38513 gio/gfileinputstream.override | 14 +++++++-------
38514 1 file changed, 7 insertions(+), 7 deletions(-)
38516 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
38517 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38518 Date: Mon Jun 1 22:40:56 2009 +0200
38520 Wrap gio.FileInputStream.query_async
38522 Add the wrapper for gio.FileInputStream.query_async including docs and
38525 docs/Makefile.am | 2 +
38526 docs/reference/pygio-classes.xml | 1 +
38527 docs/reference/pygio-fileinputstream.xml | 221
38528 +++++++++++++++++++++++++++++++
38529 gio/Makefile.am | 1 +
38530 gio/gfileinputstream.override | 68 ++++++++++
38531 gio/gio.override | 1 +
38532 tests/test_gio.py | 27 ++++
38533 7 files changed, 321 insertions(+)
38535 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
38536 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38537 Date: Sun May 31 17:43:16 2009 +0300
38539 Install executable codegen parts with executing permissions
38541 Also add shebang where it was missing. Bug #583979.
38543 codegen/Makefile.am | 23 ++++++++++++-----------
38544 codegen/code-coverage.py | 2 ++
38545 codegen/codegen.py | 2 ++
38546 codegen/createdefs.py | 0
38547 codegen/defsconvert.py | 2 ++
38548 codegen/defsgen.py | 0
38549 codegen/docgen.py | 0
38550 codegen/scmexpr.py | 0
38551 8 files changed, 18 insertions(+), 11 deletions(-)
38553 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
38554 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38555 Date: Sat May 30 16:57:49 2009 +0300
38557 Wrap gio.DataInputStream.read_line_async and read_until_async
38559 Wrap the functions and their corresponding *_finish() functions.
38560 Create 'gdatainputstream.override' for these and move two existing
38561 functions there. Add unit tests. Re-enable synchronous read_line
38562 unit test and adjust it for new official GIO behavior. Bug #584285.
38564 gio/Makefile.am | 1 +
38565 gio/gdatainputstream.override | 250
38566 ++++++++++++++++++++++++++++++++++++++++++
38567 gio/ginputstream.override | 65 -----------
38568 gio/gio.defs | 4 +-
38569 gio/gio.override | 1 +
38570 tests/test_gio.py | 51 ++++++++-
38571 6 files changed, 300 insertions(+), 72 deletions(-)
38573 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
38574 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38575 Date: Sat May 30 17:24:15 2009 +0300
38577 Fix gio.OutputStream.splice_async
38581 gio/goutputstream.override | 8 ++++----
38582 1 file changed, 4 insertions(+), 4 deletions(-)
38584 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
38585 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38586 Date: Wed May 27 21:19:27 2009 +0300
38588 Code maintenance: ignore one more file created by unit tests
38590 tests/.gitignore | 1 +
38591 1 file changed, 1 insertion(+)
38593 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
38594 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38595 Date: Mon May 25 20:20:38 2009 +0200
38597 Update the docs with new 2.20 API
38599 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
38600 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
38601 docs/reference/pygio-mount.xml | 156
38602 +++++++++++++++++++++++++++++++++++++++
38603 3 files changed, 367 insertions(+), 3 deletions(-)
38605 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
38606 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38607 Date: Mon May 25 01:33:08 2009 +0200
38611 add the new API added in gio 2.20, some needs to be wrapped manually
38614 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38615 gio/unix.defs | 48 +++++++++++++++++++++-----
38616 2 files changed, 146 insertions(+), 8 deletions(-)
38618 commit 0d08df42514fba6abc896814abfee0d2d083c29e
38619 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38620 Date: Mon May 25 00:14:21 2009 +0200
38622 Post release version bump 2.19.0
38624 configure.ac | 2 +-
38625 1 file changed, 1 insertion(+), 1 deletion(-)
38627 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
38628 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38629 Date: Sun May 24 23:56:29 2009 +0200
38631 Update NEWS, release 2.18.0
38633 NEWS | 14 ++++++++++++++
38634 configure.ac | 4 ++--
38635 2 files changed, 16 insertions(+), 2 deletions(-)
38637 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
38638 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38639 Date: Sun May 24 22:18:40 2009 +0200
38641 Add documentation for the gio.OutputStream class
38643 The docs for this class are not completed, missing methods
38645 The index is complete though, it will be completed once all the
38647 are in place so we can ship a (almost) complete reference.
38649 docs/Makefile.am | 2 +
38650 docs/reference/pygio-classes.xml | 3 +-
38651 docs/reference/pygio-outputstream.xml | 140
38652 ++++++++++++++++++++++++++++++++++
38653 3 files changed, 144 insertions(+), 1 deletion(-)
38655 commit 11524cdf6472d9115a812ce431f6767aec5627bc
38656 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38657 Date: Sun May 24 22:12:04 2009 +0200
38659 Wrap gio.OutputStream.splice_async()
38661 wrap gio.OutputStream.splice_async() and add a test.
38663 gio/goutputstream.override | 58
38664 +++++++++++++++++++++++++++++++++++++++++++++-
38665 tests/test_gio.py | 20 ++++++++++++++++
38666 2 files changed, 77 insertions(+), 1 deletion(-)
38668 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
38669 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
38670 Date: Sun May 24 22:55:16 2009 +0300
38672 Add Python version into installed libpyglib name
38674 Do this now, while no-one (as far as we know) links to the library
38675 besides PyGObject itself. Bug #550235.
38677 configure.ac | 2 ++
38678 gio/Makefile.am | 2 +-
38679 glib/Makefile.am | 10 +++++-----
38680 gobject/Makefile.am | 2 +-
38681 4 files changed, 9 insertions(+), 7 deletions(-)
38683 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
38684 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38685 Date: Sun May 24 11:44:24 2009 +0200
38687 Wrap gio.OutputStream.flush_async()
38689 wrap gio.OutputStream.flush_async() and add a test.
38691 gio/goutputstream.override | 47
38692 +++++++++++++++++++++++++++++++++++++++++++++-
38693 tests/test_gio.py | 11 +++++++++++
38694 2 files changed, 57 insertions(+), 1 deletion(-)
38696 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
38697 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38698 Date: Sun May 17 17:29:37 2009 +0200
38700 Add documentation for the gio.FileMonitor class
38702 The docs for this class are not completed, missing methods
38704 The index is complete though, it will be completed once all the
38706 are in place so we can ship a (almost) complete reference.
38708 docs/Makefile.am | 2 +
38709 docs/reference/pygio-classes.xml | 1 +
38710 docs/reference/pygio-filemonitor.xml | 128
38711 +++++++++++++++++++++++++++++++++++
38712 3 files changed, 131 insertions(+)
38714 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
38715 Author: Josselin Mouette <joss@malsain.org>
38716 Date: Sun May 17 18:03:44 2009 +0300
38718 Use 'Requires.private' for libffi in '.pc' files
38720 Correction for patch in bug #550231.
38722 pygobject-2.0-uninstalled.pc.in | 3 ++-
38723 pygobject-2.0.pc.in | 3 ++-
38724 2 files changed, 4 insertions(+), 2 deletions(-)
38726 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
38727 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38728 Date: Wed May 13 21:54:39 2009 +0200
38730 Add wrapper for gio.FileAttributeMatcher
38732 added a boxed type for gio.FileAttributeMatcher which has been
38734 wrapping the gio API. This should probably be done in gio itself.
38736 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
38737 gio/gio-types.defs | 7 +++++++
38738 gio/gio.override | 2 ++
38739 3 files changed, 31 insertions(+), 2 deletions(-)
38741 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
38742 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38743 Date: Wed May 13 22:06:25 2009 +0300
38745 Mark relevant glib.IOChannel methods as METH_NOARGS
38747 Additionally fix glib.IOChannel.set_close_on_unref: was marked
38748 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
38750 glib/pygiochannel.c | 83
38751 +++++++++++++----------------------------------------
38752 1 file changed, 20 insertions(+), 63 deletions(-)
38754 commit 002915e5f458fec5a89766a54e8119a70a80caa7
38755 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38756 Date: Tue May 12 20:37:24 2009 +0200
38758 Add documentation for the gio.FileInfo class
38760 The docs for this class are not completed, missing methods
38762 The index is complete though, it will be completed once all the
38764 are in place so we can ship a (almost) complete reference.
38766 docs/Makefile.am | 2 +
38767 docs/reference/pygio-classes.xml | 1 +
38768 docs/reference/pygio-fileinfo.xml | 346
38769 ++++++++++++++++++++++++++++++++++++++
38770 3 files changed, 349 insertions(+)
38772 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
38773 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38774 Date: Sat May 9 16:46:04 2009 +0300
38776 Retire hand-written ChangeLog; autocreate from Git history
38778 Basically copied over from GLib source tree.
38780 ChangeLog => ChangeLog.pre-2.18 | 2 ++
38781 Makefile.am | 32 ++++++++++++++++++++++++++++++++
38782 2 files changed, 34 insertions(+)
38784 commit 23556bdbcf9cf06db866901fb822dd78a9043648
38785 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38786 Date: Sat May 9 00:03:05 2009 +0200
38788 Fix a bug in InputStream.skip_async
38790 use the count argument instead of buffer_size which is always zero
38792 gio/ginputstream.override | 3 ++-
38793 1 file changed, 2 insertions(+), 1 deletion(-)
38795 commit ed6b06315c17441b41c001d38537c904b8fe18de
38796 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38797 Date: Sat May 9 00:02:33 2009 +0200
38799 Add docs for the gio.InputStream class
38801 docs/Makefile.am | 2 +
38802 docs/reference/pygio-classes.xml | 1 +
38803 docs/reference/pygio-inputstream.xml | 730
38804 +++++++++++++++++++++++++++++++++++
38805 3 files changed, 733 insertions(+)
38807 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
38808 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38809 Date: Mon May 4 23:40:28 2009 +0200
38811 Wrap gio.InputStream.skip_async()
38813 wrap gio.InputStream.skip_async() and add a test.
38815 gio/ginputstream.override | 50
38816 ++++++++++++++++++++++++++++++++++++++++++++++-
38817 tests/test_gio.py | 20 +++++++++++++++++++
38818 2 files changed, 69 insertions(+), 1 deletion(-)
38820 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
38821 Author: Siavash Safi <siavash@siavashs.org>
38822 Date: Mon May 4 15:46:49 2009 +0430
38824 Add -n --namespace option and the code to remove
38825 dll API in headers, Added documentation
38827 Patch from bug #579275
38830 codegen/h2def.py | 133
38831 +++++++++++++++++++++++++++++++++++++++++++++----------
38832 2 files changed, 117 insertions(+), 24 deletions(-)
38834 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
38835 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38836 Date: Sat May 2 23:54:52 2009 +0300
38838 Properly mark glib.get_user_special_dir() as a keywords method
38842 glib/glibmodule.c | 2 +-
38843 1 file changed, 1 insertion(+), 1 deletion(-)
38845 commit f466dca880cc6ea68b9fe236943eea7a07d33520
38846 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38847 Date: Sun May 3 11:03:25 2009 +0200
38849 Add docs for the gio.LoadableIcon class
38851 docs/Makefile.am | 2 +
38852 docs/reference/pygio-classes.xml | 1 +
38853 docs/reference/pygio-loadableicon.xml | 198
38854 ++++++++++++++++++++++++++++++++++
38855 3 files changed, 201 insertions(+)
38857 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
38858 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38859 Date: Sun May 3 01:21:55 2009 +0200
38861 Add docs for the gio.ThemedIcon class
38863 docs/Makefile.am | 2 +
38864 docs/reference/pygio-classes.xml | 1 +
38865 docs/reference/pygio-themedicon.xml | 204
38866 ++++++++++++++++++++++++++++++++++++
38867 3 files changed, 207 insertions(+)
38869 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
38870 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38871 Date: Sat May 2 12:25:19 2009 +0200
38873 post release version bump to 2.17.1
38875 configure.ac | 2 +-
38876 1 file changed, 1 insertion(+), 1 deletion(-)
38878 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
38879 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38880 Date: Fri May 1 23:40:31 2009 +0200
38882 Fix the class title
38884 docs/reference/pygio-mountoperation.xml | 2 +-
38885 1 file changed, 1 insertion(+), 1 deletion(-)
38887 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
38888 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38889 Date: Fri May 1 22:24:33 2009 +0200
38891 Add docs for the gio.MountOperation class
38893 docs/Makefile.am | 2 +
38894 docs/reference/pygio-classes.xml | 1 +
38895 docs/reference/pygio-constants.xml | 107 +++++
38896 docs/reference/pygio-mountoperation.xml | 726
38897 ++++++++++++++++++++++++++++++++
38898 4 files changed, 836 insertions(+)
38900 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
38901 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38902 Date: Thu Apr 30 22:13:06 2009 +0200
38904 Update NEWS, release 2.17.0
38907 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38908 1 file changed, 93 insertions(+)
38910 commit 47389217d1a65a8e3f404d486c508cf5d3164756
38911 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38912 Date: Thu Apr 30 22:47:19 2009 +0300
38914 Fix memory leak in gio.File.query_info_async()
38916 After the recent patch it would leak exception data if old argument
38917 order was used. Properly decref the objects.
38919 gio/gfile.override | 4 ++++
38920 1 file changed, 4 insertions(+)