1 commit 7e571ea62074243eef36110c240e192e5682a687
2 Author: Christoph Reiter <reiter.christoph@gmail.com>
3 Date: Thu Mar 1 17:57:08 2018 +0100
8 1 file changed, 9 insertions(+)
10 commit 1138bc7e0aeb8d4e7354c6cfd5a63edaa724d3fb
11 Author: Christoph Reiter <reiter.christoph@gmail.com>
12 Date: Tue Feb 27 12:46:11 2018 +0100
14 setup.py: fix distcheck
17 1 file changed, 1 insertion(+), 1 deletion(-)
19 commit 79ee93ea667c7a2cdacf9c770c0e60dc624ced0b
20 Author: Christoph Reiter <reiter.christoph@gmail.com>
21 Date: Fri Feb 23 18:15:55 2018 +0100
23 coverage: exclude external headers. See #168
25 While we could just pass --no-external we want the coverage of
26 the gobject-introspection files.
28 .gitlab-ci/coverage-docker.sh | 6 ++++++
29 1 file changed, 6 insertions(+)
31 commit 9ae49b49850dca86566b745966104bdd33914df7
32 Author: Christoph Reiter <reiter.christoph@gmail.com>
33 Date: Fri Feb 23 17:33:55 2018 +0100
35 coverage.py: ignore errors
37 not sure where that path is comming from, it worked in the MR..
39 .gitlab-ci/coverage-docker.sh | 2 +-
40 1 file changed, 1 insertion(+), 1 deletion(-)
42 commit 2d812a6bc4d0952997a3ed3c63c4b09d8c95c103
43 Author: Christoph Reiter <reiter.christoph@gmail.com>
44 Date: Fri Feb 23 11:02:03 2018 +0100
46 gitlab-ci: Add Windows coverage support. See #168
48 Use coverage.py and cygwin lcov to generate coverage files.
49 In the report generation step fixup the Windows paths in the coverage
50 files to match the Linux/Docker ones.
53 +++++++++++++++++++++++++++---------------
54 .gitlab-ci/coverage-docker.sh | 3 +++
55 .gitlab-ci/fixup-cov-paths.py | 35 +++++++++++++++++++++++++++++++++++
56 .gitlab-ci/test-docker.sh | 5 +++++
57 .gitlab-ci/test-msys2.sh | 33 +++++++++++++++++++++++++++++++--
58 5 files changed, 101 insertions(+), 17 deletions(-)
60 commit 1534289ce5934b73b5c980f8e246192009337776
61 Author: Christoph Reiter <reiter.christoph@gmail.com>
62 Date: Tue Feb 20 16:38:25 2018 +0100
64 gitlab-ci: Add MSYS2 test jobs
66 This assumes a gitlab runner with a "win32" tag which has
67 MSYS2 installed in the default path and uses the "cmd" shell.
69 .gitlab-ci.yml | 32 +++++++++++++++++++++++++++-----
70 .gitlab-ci/test-msys2.sh | 28 ++++++++++++++++++++++++++++
71 2 files changed, 55 insertions(+), 5 deletions(-)
73 commit 20fa66387020877a3ae20a6b48bba52153c7bd6c
74 Author: Christoph Reiter <reiter.christoph@gmail.com>
75 Date: Tue Feb 20 18:17:15 2018 +0100
77 tests: skip one more GdkAtom test on Windows
79 This has started to crash with newer gtk
81 tests/test_atoms.py | 2 ++
82 1 file changed, 2 insertions(+)
84 commit d3cd49ce8777312cbb91b82bd076c0e4b761c848
85 Merge: 5ec1aea8 aab23dbd
86 Author: Christoph Reiter <reiter.christoph@gmail.com>
87 Date: Sun Feb 18 08:32:22 2018 +0000
89 Merge branch 'gilabissue123' into 'master'
91 Performance improvements to avoid GIL congestion
93 See merge request GNOME/pygobject!13
95 commit 5ec1aea8ab4599a7a0945bd5754ce79c7c5cbef3
96 Author: Christoph Reiter <reiter.christoph@gmail.com>
97 Date: Sat Feb 17 18:13:47 2018 +0100
99 coverage: don't just use the major python version number for coverage
102 all py3 jobs wrote to the same file, oops..
104 .gitlab-ci/test-docker.sh | 2 +-
105 1 file changed, 1 insertion(+), 1 deletion(-)
107 commit af7aa11acebd9a34e6aee41dc77c0d7c3000fd47
108 Author: Christoph Reiter <reiter.christoph@gmail.com>
109 Date: Sat Feb 17 15:23:49 2018 +0100
111 gitlab-ci: Add coverage reports
113 Use gcov/lcov and coverage.py; merge all results and provide
114 the final html reports as job artifacts.
117 .gitlab-ci.yml | 18 ++++++++++++++++++
118 .gitlab-ci/Dockerfile | 1 +
119 .gitlab-ci/coverage-docker.sh | 17 +++++++++++++++++
120 .gitlab-ci/test-docker.sh | 20 ++++++++++++++++----
121 setup.cfg | 7 +++++++
122 6 files changed, 60 insertions(+), 4 deletions(-)
124 commit 8df9570b7f25ceaaa590c8da33952a7bdeade203
125 Author: Mathieu Duponchelle <mathieu@centricular.com>
126 Date: Fri Feb 16 16:54:06 2018 +0100
128 array, list: always run items cleanup funcs
131 ++++++++++++++++++++++++++++++++-------------------------
132 gi/pygi-list.c | 37 +++++++++++++++---------------
133 2 files changed, 58 insertions(+), 49 deletions(-)
135 commit 9978b521450d9b2a038d48492550dcab49c7b113
136 Author: Mathieu Duponchelle <mathieu@centricular.com>
137 Date: Fri Feb 16 00:49:25 2018 +0100
139 pygi-struct-marshal: perform boxed copy ...
141 when the cleanup marshaller will not be called, that is when
142 marshalling something that is not actually an argument.
146 gi/pygi-struct-marshal.c | 48
147 ++++++++++++++++++++++++++++++++----------------
148 1 file changed, 32 insertions(+), 16 deletions(-)
150 commit e41dd91e9e62eeaeaa0fee97b50500591a87b249
151 Author: Mathieu Duponchelle <mathieu@centricular.com>
152 Date: Thu Feb 15 23:32:37 2018 +0100
154 Revert "Revert "to python struct marshalling: copy boxed during
157 This reverts commit 10c062001ddd948b0a70545cbf613b38ed6fa46c.
159 gi/pygi-struct-marshal.c | 34 +++++++++++++++++++++++++++-------
160 tests/test_gi.py | 1 -
161 2 files changed, 27 insertions(+), 8 deletions(-)
163 commit b1d1c8d9d8820fe405bddd8e9dea88b5ec2fcce2
164 Author: Mathieu Duponchelle <mathieu@centricular.com>
165 Date: Thu Feb 15 23:32:20 2018 +0100
167 Revert "Revert "to python marshalling: collect cleanup data""
169 This reverts commit fa555767464fbe551b14cfbc121febc5290b1371.
171 gi/pygi-array.c | 24 ++++++++++++++++++------
172 gi/pygi-basictype.c | 8 +++++---
173 gi/pygi-basictype.h | 3 ++-
174 gi/pygi-cache.h | 13 ++++++++++---
175 gi/pygi-closure.c | 9 +++++++--
176 gi/pygi-enum-marshal.c | 6 ++++--
177 gi/pygi-error.c | 3 ++-
178 gi/pygi-hashtable.c | 13 +++++++++----
179 gi/pygi-invoke-state-struct.h | 3 +++
180 gi/pygi-invoke.c | 17 +++++++++++++----
181 gi/pygi-list.c | 38 +++++++++++++++++++++++++++++++-------
182 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
183 gi/pygi-object.c | 8 +++++---
184 gi/pygi-struct-marshal.c | 5 +++--
185 14 files changed, 120 insertions(+), 43 deletions(-)
187 commit 26b7fc3fee55870cc944b0f718da8a75c75f4eae
188 Author: Mathieu Duponchelle <mathieu@centricular.com>
189 Date: Fri Feb 16 00:45:40 2018 +0100
191 Revert "Revert "pygi-boxed: make in-place copy safer""
193 This reverts commit 700c785367975995d24a8ffd00b2aa028ccf77e8.
195 gi/pygi-boxed.c | 8 +++++++-
196 1 file changed, 7 insertions(+), 1 deletion(-)
198 commit d08e244d011121f8ffd5c21437e0f11fe9545bbf
199 Author: Mathieu Duponchelle <mathieu@centricular.com>
200 Date: Thu Feb 15 23:32:08 2018 +0100
202 Revert "Revert "Revert "Refactor boxed wrapper memory management
205 This reverts commit a506d5e3c64321c43a4ce7c2a72ca8d36e985999.
207 gi/gimodule.c | 6 +---
208 gi/overrides/GLib.py | 4 +++
209 gi/overrides/GObject.py | 3 --
210 gi/pygi-boxed.c | 32 +++++---------------
211 gi/pygi-boxed.h | 4 +--
212 gi/pygi-property.c | 6 +++-
213 gi/pygi-source.c | 6 ++--
214 gi/pygi-struct-marshal.c | 78
215 ++++--------------------------------------------
216 tests/test_gi.py | 1 +
217 tests/test_source.py | 8 ++---
218 10 files changed, 29 insertions(+), 119 deletions(-)
220 commit c56b4510649dae58519681c1a53aed85d598139e
221 Author: Christoph Reiter <reiter.christoph@gmail.com>
222 Date: Fri Feb 16 17:43:00 2018 +0100
224 tests: add tests for boxed in GLists. See !24
226 tests/regressextra.c | 33 +++++++++++++++++++++++++++++++++
227 tests/regressextra.h | 4 ++++
228 tests/test_everything.py | 16 ++++++++++++++++
229 3 files changed, 53 insertions(+)
231 commit 9c3cb6b49c33f53d637e80aad68a67e89d0eb944
232 Author: Christoph Reiter <reiter.christoph@gmail.com>
233 Date: Fri Feb 16 10:12:42 2018 +0100
235 gitlab-ci: use ccache
237 .gitlab-ci.yml | 9 +++++++++
238 .gitlab-ci/Dockerfile | 3 +++
239 .gitlab-ci/run-docker.sh | 6 ++++--
240 3 files changed, 16 insertions(+), 2 deletions(-)
242 commit 91a25c2aa1776e5e5757dc317a798615c31b3854
243 Author: Christoph Reiter <reiter.christoph@gmail.com>
244 Date: Fri Feb 16 09:59:31 2018 +0100
246 tests: Add a test for a out transfer-none boxed array
248 Makes sure we copy the array items as well.
250 tests/regressextra.c | 18 ++++++++++++++++++
251 tests/regressextra.h | 3 +++
252 tests/test_everything.py | 6 ++++++
253 3 files changed, 27 insertions(+)
255 commit e00e38f9c44568f7fab643a069f86c576011ddcc
256 Author: Christoph Reiter <reiter.christoph@gmail.com>
257 Date: Fri Feb 16 08:49:38 2018 +0100
259 tests: add a pytest hook for handling unhandled exception in closures
261 In PyGObject when an exception is raised in a closure called from
263 the error gets passed to sys.excepthook (on the main thread at least)
264 and the error is by default printed to stdout. Since pytest by default
265 hides stdout, errors can be easily missed now.
267 To make these errors more visible add a test wrapper which checks
268 sys.excepthook for unhandled exceptions and reraises them.
269 This makes the tests fail and as a bonus also shows the right
270 stack trace instead of just the error message.
272 tests/Makefile.am | 1 +
273 tests/compathelper.py | 5 +++++
274 tests/conftest.py | 31 +++++++++++++++++++++++++++++++
275 tests/test_glib.py | 13 +++++++++++++
276 tests/test_mainloop.py | 28 ++++++++--------------------
277 tests/test_option.py | 18 +++++++-----------
278 6 files changed, 65 insertions(+), 31 deletions(-)
280 commit aae383cf44ee3eabcc4b4122049ea277524d5001
281 Author: Christoph Reiter <reiter.christoph@gmail.com>
282 Date: Wed Feb 14 02:15:54 2018 +0100
287 1 file changed, 1 insertion(+), 1 deletion(-)
289 commit 9c1d66be67008604206e336a0433c5cdf824b837
290 Author: Christoph Reiter <reiter.christoph@gmail.com>
291 Date: Wed Feb 14 01:47:12 2018 +0100
296 1 file changed, 9 insertions(+)
298 commit 86fb783d0f00a49ea7e66ad73be7e150eb0162db
299 Author: Christoph Reiter <reiter.christoph@gmail.com>
300 Date: Wed Feb 14 02:07:13 2018 +0100
304 tests/Makefile.am | 9 +++++++--
305 1 file changed, 7 insertions(+), 2 deletions(-)
307 commit 618ccf06ad75bc481dec59b7da86a550571968c5
308 Author: Christoph Reiter <reiter.christoph@gmail.com>
309 Date: Wed Feb 14 01:34:02 2018 +0100
311 setup.py: cache pkg-config calls
313 This saves 300ms for a noop build_tests command
315 setup.py | 29 +++++++++++++++++------------
316 1 file changed, 17 insertions(+), 12 deletions(-)
318 commit ad9fc2d9cd8d9a0f3fd07a46e7056a182f18d399
319 Author: Christoph Reiter <reiter.christoph@gmail.com>
320 Date: Wed Feb 14 01:29:09 2018 +0100
322 gitlab-ci: Install pytest-faulthandler
324 This makes pytest print a Python stack trace in case of a crash.
326 .gitlab-ci/test-docker.sh | 2 +-
327 1 file changed, 1 insertion(+), 1 deletion(-)
329 commit 0d3fbc2a8d10c9eea4e3eef905d52c946f8ab7e9
330 Author: Christoph Reiter <reiter.christoph@gmail.com>
331 Date: Wed Feb 14 01:16:51 2018 +0100
333 setup.py: set the same env vars for testing as autotools
335 Also don't print a Python stack trace of the calling process on
336 error, just return the error status.
338 setup.py | 8 ++++++--
339 1 file changed, 6 insertions(+), 2 deletions(-)
341 commit 0fcd57846b0053319dc5a28503d3eab173927fc6
342 Author: Christoph Reiter <reiter.christoph@gmail.com>
343 Date: Wed Feb 14 00:56:47 2018 +0100
345 tests: add a test for Gio.DBusNodeInfo.new_for_xml, see #164
347 This was fixed by the recent reverts
349 tests/test_gdbus.py | 29 +++++++++++++++++++++++++++++
350 1 file changed, 29 insertions(+)
352 commit a506d5e3c64321c43a4ce7c2a72ca8d36e985999
353 Author: Christoph Reiter <reiter.christoph@gmail.com>
354 Date: Tue Feb 13 23:26:21 2018 +0100
356 Revert "Revert "Refactor boxed wrapper memory management strategy""
358 This reverts commit daefdfa3e4dc97b4ae38250358d722f09764cc9b.
360 gi/gimodule.c | 6 +++-
361 gi/overrides/GLib.py | 4 ---
362 gi/overrides/GObject.py | 3 ++
363 gi/pygi-boxed.c | 32 +++++++++++++++-----
364 gi/pygi-boxed.h | 4 +--
365 gi/pygi-property.c | 6 +---
366 gi/pygi-source.c | 6 ++--
367 gi/pygi-struct-marshal.c | 78
368 ++++++++++++++++++++++++++++++++++++++++++++----
369 tests/test_gi.py | 1 -
370 tests/test_source.py | 8 +++--
371 10 files changed, 119 insertions(+), 29 deletions(-)
373 commit 700c785367975995d24a8ffd00b2aa028ccf77e8
374 Author: Christoph Reiter <reiter.christoph@gmail.com>
375 Date: Tue Feb 13 23:26:15 2018 +0100
377 Revert "pygi-boxed: make in-place copy safer"
379 This reverts commit 9d96df1ea3ad533885fbcae4de693a3cd81e765a.
381 gi/pygi-boxed.c | 8 +-------
382 1 file changed, 1 insertion(+), 7 deletions(-)
384 commit fa555767464fbe551b14cfbc121febc5290b1371
385 Author: Christoph Reiter <reiter.christoph@gmail.com>
386 Date: Tue Feb 13 23:26:03 2018 +0100
388 Revert "to python marshalling: collect cleanup data"
390 This reverts commit 80eab029ce4e181624d7b845a4b517051797080d.
392 gi/pygi-array.c | 24 ++++++------------------
393 gi/pygi-basictype.c | 8 +++-----
394 gi/pygi-basictype.h | 3 +--
395 gi/pygi-cache.h | 13 +++----------
396 gi/pygi-closure.c | 9 ++-------
397 gi/pygi-enum-marshal.c | 6 ++----
398 gi/pygi-error.c | 3 +--
399 gi/pygi-hashtable.c | 13 ++++---------
400 gi/pygi-invoke-state-struct.h | 3 ---
401 gi/pygi-invoke.c | 17 ++++-------------
402 gi/pygi-list.c | 38 +++++++-------------------------------
403 gi/pygi-marshal-cleanup.c | 13 +++++--------
404 gi/pygi-object.c | 8 +++-----
405 gi/pygi-struct-marshal.c | 5 ++---
406 14 files changed, 43 insertions(+), 120 deletions(-)
408 commit 10c062001ddd948b0a70545cbf613b38ed6fa46c
409 Author: Christoph Reiter <reiter.christoph@gmail.com>
410 Date: Tue Feb 13 23:09:49 2018 +0100
412 Revert "to python struct marshalling: copy boxed during cleanup"
414 This reverts commit 7ed8191818733b9130bce84f782dc6f8f734abf7.
416 gi/pygi-struct-marshal.c | 34 +++++++---------------------------
417 tests/test_gi.py | 1 +
418 2 files changed, 8 insertions(+), 27 deletions(-)
420 commit e427d1a3a44e882c998543bb2c189700409df873
421 Author: Christoph Reiter <reiter.christoph@gmail.com>
422 Date: Mon Feb 12 20:35:09 2018 +0100
424 tests: Fix tests under Wayland. Fixes #163
426 These tests try to test Gdk.Atom with the exsting API in libgdk
427 but under Wayland they either don't return Gdk.Atom or block.
429 Since they are disabled on other platforms just change them to only
432 tests/test_atoms.py | 17 ++++++++++++-----
433 1 file changed, 12 insertions(+), 5 deletions(-)
435 commit 3e91df3dca3691635b978d1dc661506213e0efe3
436 Author: Christoph Reiter <reiter.christoph@gmail.com>
437 Date: Mon Feb 12 15:39:41 2018 +0100
439 docs: fix build with sphinx 1.7.0
441 1.7.0 no longer allows non-class references as param types
443 docs/guide/api/signals.rst | 3 ++-
444 1 file changed, 2 insertions(+), 1 deletion(-)
446 commit 5a25c98cb6d387791e41c7dc240c55814988519a
447 Author: Christoph Reiter <reiter.christoph@gmail.com>
448 Date: Sun Feb 11 18:08:07 2018 +0100
450 tests: Make it possible to use pytest directly
452 pytest will just import the files passed to it and try to run tests.
453 Since we need to run some setup code convert the tests directory to
454 a Python package and do the initialization in __init__.py. This makes
455 the init code (env vars, typelib search path, dbus) always run when
456 something from the package gets imported.
458 python3 setup.py build_tests # build pygobject and tests
459 py.test-3 tests/test_gi.py # run tests in test_gi.py only
461 docs/devguide/building_testing.rst | 6 ++
463 tests/Makefile.am | 8 ++-
464 tests/__init__.py | 102 ++++++++++++++++++++++++++
465 tests/helper.py | 4 +-
466 tests/runtests.py | 143
467 +++++++------------------------------
468 tests/test_atoms.py | 4 +-
469 tests/test_cairo.py | 6 +-
470 tests/test_docstring.py | 2 +
471 tests/test_error.py | 6 +-
472 tests/test_everything.py | 6 +-
473 tests/test_fields.py | 2 +
474 tests/test_gdbus.py | 2 +
475 tests/test_generictreemodel.py | 5 +-
476 tests/test_gi.py | 6 +-
477 tests/test_gio.py | 4 +-
478 tests/test_glib.py | 2 +
479 tests/test_gobject.py | 8 +--
480 tests/test_gtype.py | 2 +
481 tests/test_import_machinery.py | 2 +
482 tests/test_interface.py | 4 +-
483 tests/test_internal_api.py | 10 ++-
484 tests/test_iochannel.py | 6 +-
485 tests/test_mainloop.py | 2 +
486 tests/test_object_marshaling.py | 2 +
487 tests/test_option.py | 2 +
488 tests/test_ossig.py | 2 +
489 tests/test_overrides_gdk.py | 4 +-
490 tests/test_overrides_glib.py | 4 +-
491 tests/test_overrides_gtk.py | 4 +-
492 tests/test_overrides_pango.py | 2 +
493 tests/test_properties.py | 10 ++-
494 tests/test_pygtkcompat.py | 4 +-
495 tests/test_repository.py | 8 +--
496 tests/test_resulttuple.py | 2 +
497 tests/test_signal.py | 13 ++--
498 tests/test_source.py | 8 +--
499 tests/test_subprocess.py | 2 +
500 tests/test_thread.py | 5 +-
501 tests/test_typeclass.py | 6 +-
502 tests/test_unknown.py | 5 +-
503 tests/testmodule.py | 2 +
504 42 files changed, 244 insertions(+), 193 deletions(-)
506 commit 21cee6cc4fbc7fb1a28a15840924b0da52b49fca
507 Author: Christoph Reiter <reiter.christoph@gmail.com>
508 Date: Sun Feb 11 16:08:18 2018 +0100
510 tests: Make patching in pygtkcompat reversible
512 Record all the attribute and sys.modules changes and add an API
513 for reverting them after tests are completed.
515 This allows us to run the pygtkcompat tests in the same test process
518 pygtkcompat/pygtkcompat.py | 273
519 ++++++++++++---------
521 tests/Makefile.am | 4 +-
522 tests/runtests.py | 2 +-
523 .../{compat_test_pygtk.py => test_pygtkcompat.py} | 96 ++++++--
524 5 files changed, 237 insertions(+), 145 deletions(-)
526 commit 7f5aedb6e1f317b33a96d0c77641b95f182b2a47
527 Author: Christoph Reiter <reiter.christoph@gmail.com>
528 Date: Sat Feb 10 13:31:23 2018 +0100
533 1 file changed, 1 insertion(+), 1 deletion(-)
535 commit c65efcb0bb4a73c9fb1ffa10225795adc489a081
536 Author: Christoph Reiter <reiter.christoph@gmail.com>
537 Date: Sat Feb 10 13:22:17 2018 +0100
541 NEWS | 11 +++++++++++
543 2 files changed, 12 insertions(+)
545 commit 11de6f55f48447325325ec2f334af5576d12e2ed
546 Author: Christoph Reiter <reiter.christoph@gmail.com>
547 Date: Sat Feb 10 11:37:55 2018 +0100
549 tests: switch to pytest as the default test runner. See #153
551 The TEST_NAMES env var gets translated to work with the pytest syntax
552 (foo.py::class::method).
554 Rename one class which triggers a pytest warning because it starts
556 "Test" but isn't one.
558 Remove erroring out on Python warnings as pytest triggers some
559 deprecation warnings by default.
562 .gitlab-ci/test-docker.sh | 2 +-
563 docs/devguide/building_testing.rst | 9 +++++++++
564 docs/devguide/dev_environ.rst | 6 ++++--
565 tests/Makefile.am | 2 +-
566 tests/runtests.py | 16 +++++++++-------
567 tests/test_generictreemodel.py | 16 ++++++++--------
568 7 files changed, 34 insertions(+), 19 deletions(-)
570 commit 9a9bb732752e7bec42a1c13f080b37536876e3e0
571 Author: Christoph Reiter <reiter.christoph@gmail.com>
572 Date: Sat Feb 10 11:16:49 2018 +0100
574 tests: set DBUS_SESSION_BUS_ADDRESS to some invalid value to
577 While keepig it empty works on Linux, on Windows setting an invalid
578 value is needed to disable dbus.
580 tests/runtests.py | 2 +-
581 1 file changed, 1 insertion(+), 1 deletion(-)
583 commit 64b02e3017b50a17a087ee821522a1cb8e066f27
584 Author: Christoph Reiter <reiter.christoph@gmail.com>
585 Date: Fri Feb 9 17:06:52 2018 +0100
587 tests: remove locale test for uppercasing C names
589 Someone on IRC had problems running the test suite, and that's not
591 time, so remove it for now (added in 63c7f17c2248)
593 The locale generation adds extra dependencies and only works on Linux,
594 and while the test does something useful it complicates things
597 We need to find a better way (in Python if possible) to test for
599 dependend upper()/lower().
602 tests/Makefile.am | 1 -
603 tests/te_ST@nouppera | 50
604 --------------------------------------------------
605 tests/test_gi.py | 31 -------------------------------
606 4 files changed, 1 insertion(+), 83 deletions(-)
608 commit d9516e8dc32db9494139a733ae3a535d2f89c6e1
609 Author: Christoph Reiter <reiter.christoph@gmail.com>
610 Date: Fri Feb 9 14:12:20 2018 +0100
612 tests: disable dbus tests on Windows/macOS
614 dbus-daemon is available in MSYS2 unlike dbus-run-session but the
615 tests fail. Disable dbus tests on Windows/macOS to restore the
616 old behaviour for now.
618 tests/runtests.py | 3 +++
619 1 file changed, 3 insertions(+)
621 commit 1e28b03b1562c030a956ed82337eaacfa38c304e
622 Author: Christoph Reiter <reiter.christoph@gmail.com>
623 Date: Thu Feb 8 17:10:21 2018 +0100
625 tests: move dbus session bus handling into runtests.py
627 This allows us to remove code duplication in autotools/distutils.
629 This also fixes the noisy dbus output during tests because
631 forwarded dbus logging output to stderr.
633 .gitlab-ci/Dockerfile | 1 -
634 .gitlab-ci/run-docker.sh | 0
635 setup.py | 14 ++------------
636 tests/Makefile.am | 10 +++-------
637 tests/runtests.py | 27 +++++++++++++++++++++++++--
638 5 files changed, 30 insertions(+), 22 deletions(-)
640 commit 095388a7c83dbffbe042f842789285f63996fc11
641 Author: Christoph Reiter <reiter.christoph@gmail.com>
642 Date: Thu Feb 8 15:38:24 2018 +0100
644 gitlab-ci: use pyenv in docker instead of the deadsnakes PPA
646 deadsnakes only provides packages for Ubuntu LTS versions and doesn't
647 include versions present in that Ubuntu version.
648 With Ubuntu zesty this happened to work, but now that that's EOL
649 we have to switch to artful and no longer have a Python 3.5 available.
651 Instead switch to using pyenv in docker and compiler our own Python
652 versions. This should make it easier to swtich distros in the future.
654 Also adds a run-docker.sh script which builds the image and
655 runs it with the git repo mounted. This should make local testing
656 easier in the future.
658 .gitlab-ci.yml | 12 +++++++---
659 .gitlab-ci/Dockerfile | 60
660 ++++++++++++++++++++++++++++-------------------
661 .gitlab-ci/run-docker.sh | 7 ++++++
662 .gitlab-ci/test-docker.sh | 11 +++++----
663 4 files changed, 58 insertions(+), 32 deletions(-)
665 commit 7bc20fe2d1225bebb2f4ec1faabf6a70e4e5a4e7
666 Author: Mikhail Fludkov <misha@pexip.com>
667 Date: Thu Feb 8 12:49:01 2018 +0100
669 tests: Make tests run without Gtk/Gdk installed
671 Python evaluates the code inside @unittest.skipIf decorator during
672 import time. Because Gtk is not installed it crashes while evaluating
673 'Gtk._version' where Gtk=None.
675 tests/test_ossig.py | 10 ++++++---
676 tests/test_overrides_gdk.py | 17 +++++++--------
677 tests/test_overrides_gtk.py | 50
678 +++++++++++++++++++++++----------------------
679 3 files changed, 42 insertions(+), 35 deletions(-)
681 commit d371fd77d33c2987cc450bd68ce4ee4835e09bd8
682 Author: Christoph Reiter <reiter.christoph@gmail.com>
683 Date: Thu Feb 8 09:02:37 2018 +0100
685 Revert "to-py-struct: don't copy the boxed if we are the sole owner
688 This reverts commit a4a68b3c7a4bb64c71e1bdbe52ede109b6bcd0bb.
690 This was wrong. In the context of a boxed return value we also have
692 ref but it doesn't get freed after.
694 We could decide this based on PYGI_CALLING_CONTEXT_IS_FROM_C from
696 but let's leave that for now.
698 gi/pygi-struct-marshal.c | 11 ++---------
699 tests/test_everything.py | 2 --
700 2 files changed, 2 insertions(+), 11 deletions(-)
702 commit 024ac583538976330b429b9b203d412fec0426e3
703 Author: Mikhail Fludkov <fludkov.me@gmail.com>
704 Date: Tue Feb 6 15:24:17 2018 +0100
706 tests: test_boxed_c_wrapper failing tests
708 Introduced here 1ec8d58
711 tests/Makefile.am | 8 +++++---
712 tests/regressextra.c | 51
713 ++++++++++++++++++++++++++++++++++++++++++++++++
714 tests/regressextra.h | 17 ++++++++++++++++
715 tests/test_everything.py | 31 +++++++++++++++++++++++++++++
716 5 files changed, 106 insertions(+), 3 deletions(-)
718 commit aab23dbdb38c5c316c1939410e0301aa8b262143
719 Author: Mikhail Fludkov <fludkov.me@gmail.com>
720 Date: Wed Feb 7 16:03:42 2018 +0100
722 gi/pygtype.c: avoid GIL congestion in pyg_type_lookup
724 https://gitlab.gnome.org/GNOME/pygobject/issues/123
726 GIL congestion can be caused when many threads emit signals with
728 boxed type up to Python. The code in pyg_type_lookup imports a
730 corresponding to gtype, which is expensive and can cause GIL
732 the proposed patch of pyg_type_lookup does:
734 - pygi_type_import_by_g_type is called only once per a gtype
735 - early NULL return. For example GStreamer types benefit greatly
737 Because pyg_register_gtype_custom is not used and pyg_type_lookup
739 returns NULL for such types.
741 gi/pygtype.c | 41 ++++++++++++++++++++++++++++++++++++-----
742 1 file changed, 36 insertions(+), 5 deletions(-)
744 commit 080e1a8e8c130a94b5662770621dea2ad1646b3a
745 Author: Mikhail Fludkov <fludkov.me@gmail.com>
746 Date: Wed Feb 7 16:36:26 2018 +0100
748 Use optimized version of PyImport_ImportModule
750 https://gitlab.gnome.org/GNOME/pygobject/issues/123
752 You would expect PyImport_ImportModule to import a module once, store
753 it's reference to sys.modules and the next time we call it with
755 argument reuse the reference from sys.module. But it is not what is
756 happening unfortunately.
758 Everytime we call it it releases GIL, grabs global python import lock,
759 grabs GIL back. The proposed optimization looks at sys.modules
761 uses the reference from there to avoid GIL congestion. pyg_type_lookup
763 a good example of a function which imports python modules at run
765 can cause GIL congestion.
767 gi/pygi-error.c | 2 +-
768 gi/pygi-info.c | 2 +-
769 gi/pygi-type.c | 2 +-
770 gi/pyglib-python-compat.h | 17 +++++++++++++++++
771 4 files changed, 20 insertions(+), 3 deletions(-)
773 commit ee79fef18748ad660d3a0471ed9a18ea11410849
774 Author: Christoph Reiter <reiter.christoph@gmail.com>
775 Date: Wed Feb 7 11:55:54 2018 +0100
780 1 file changed, 1 insertion(+), 1 deletion(-)
782 commit 7f678500a9edad6218911dc7d81e0bc057c58326
783 Author: Christoph Reiter <reiter.christoph@gmail.com>
784 Date: Wed Feb 7 11:35:13 2018 +0100
789 1 file changed, 2 insertions(+), 2 deletions(-)
791 commit 07993bb18195f19a07cdda3ba47b231b02863e2b
792 Author: Christoph Reiter <reiter.christoph@gmail.com>
793 Date: Wed Feb 7 09:41:58 2018 +0100
795 docs: add pypi step to maintainer release list
797 docs/maintguide.rst | 2 ++
798 1 file changed, 2 insertions(+)
800 commit f7a8711d16de226aec1496c366fba1c6434b4218
801 Author: Christoph Reiter <reiter.christoph@gmail.com>
802 Date: Wed Feb 7 09:36:50 2018 +0100
804 docs: getting started: default to Python 3 everywhere
806 docs/getting_started.rst | 12 ++++++------
807 1 file changed, 6 insertions(+), 6 deletions(-)
809 commit 1330712bcf8109090bacf0cdfbba0c2a47930ac9
810 Author: Christoph Reiter <reiter.christoph@gmail.com>
811 Date: Wed Feb 7 09:35:08 2018 +0100
813 docs: update building/testing with new setup.py features
815 docs/devguide/building_testing.rst | 45
816 +++++++++++++++++++++-----------------
817 1 file changed, 25 insertions(+), 20 deletions(-)
819 commit e6ffd8f37c83d2627086207192030975dee44bd7
820 Author: Christoph Reiter <reiter.christoph@gmail.com>
821 Date: Wed Feb 7 00:55:54 2018 +0100
825 NEWS | 26 ++++++++++++++++++++++----
826 1 file changed, 22 insertions(+), 4 deletions(-)
828 commit e56975aaf9bb976397b5961b7b34adcdd91b5a94
829 Author: Christoph Reiter <reiter.christoph@gmail.com>
830 Date: Tue Feb 6 23:04:18 2018 +0100
832 gitlab-ci: adjust PKG_CONFIG_PATH for pycairo
834 pycairo git now installs things into $prefix/lib/pkgconfig
836 .gitlab-ci/test-docker.sh | 2 +-
837 1 file changed, 1 insertion(+), 1 deletion(-)
839 commit 4b315835f7006655fe9fa23c02ec6096478114e5
840 Author: Christoph Reiter <reiter.christoph@gmail.com>
841 Date: Tue Feb 6 18:32:13 2018 +0100
843 setup.py: use dbus-run-session for tests if available
845 Like we do with "make check"
847 setup.py | 16 ++++++++++++----
848 1 file changed, 12 insertions(+), 4 deletions(-)
850 commit e36797f6ea971bffe5cd55065e43e233644c3e0a
851 Author: Christoph Reiter <reiter.christoph@gmail.com>
852 Date: Tue Feb 6 18:16:58 2018 +0100
854 setup.py: remove wrong comment about share lib extenions in distutils
856 It just happened to work with MinGW Python3 as that is patched to use
857 .dll for Python extenions by default. Forcing a different extension
858 here is needed as distutils is targeted at building extensions and
862 1 file changed, 1 insertion(+), 1 deletion(-)
864 commit 05159327eb70a75bc876a2355f5f31c6d424c1d5
865 Author: Christoph Reiter <reiter.christoph@gmail.com>
866 Date: Tue Feb 6 18:15:05 2018 +0100
868 build: remove libdir from the .pc file
870 It's unused afaics and in the distutils case we can't replicated
871 what autotools does, so better remove it.
873 pygobject-3.0.pc.in | 1 -
875 2 files changed, 2 deletions(-)
877 commit 1de81a939711b9c2edb915b8bd9855ef9db12f02
878 Author: Christoph Reiter <reiter.christoph@gmail.com>
879 Date: Tue Feb 6 18:14:08 2018 +0100
881 setup.py: install .pc file into libdir
883 To match what the autotools build does.
886 1 file changed, 3 insertions(+), 1 deletion(-)
888 commit 32771e7509a266d5cafbfb0965b018ad8c87c530
889 Author: Christoph Reiter <reiter.christoph@gmail.com>
890 Date: Tue Feb 6 00:16:57 2018 +0100
892 tests: skip some more tests on macOS
894 I haven't looked into why, but my hope is that this makes tests
895 pass on travis-ci, so we have a starting point and can at least
896 catch regression in an automated fashion.
898 tests/test_glib.py | 1 +
899 tests/test_overrides_gtk.py | 1 +
900 2 files changed, 2 insertions(+)
902 commit 3d4bc64461c7c59f5e4aaabe7f2752d6ece83ed0
903 Author: Christoph Reiter <reiter.christoph@gmail.com>
904 Date: Mon Feb 5 22:55:04 2018 +0100
906 setup.py: convince distutils to build dylibs on macOS
908 This makes the "build_tests" command work
911 1 file changed, 7 insertions(+)
913 commit a153be8a6d79f52f1a45e2241e1fca5bd0aba6ea
914 Author: Christoph Reiter <reiter.christoph@gmail.com>
915 Date: Mon Feb 5 10:49:55 2018 +0100
917 setup.py: rework pycairo header lookup and use new pycairo API when
920 pycairo git/next version now has a get_include() function which
922 include path matching the Python module in all cases.
924 Rework the lookup code to try that API if possible and fall back to
926 way. Also add logging everywhere so it's easier to debug if there
931 ++++++++++++++++++++++++++++++++++++++++++---------------------
932 1 file changed, 88 insertions(+), 44 deletions(-)
934 commit 9a3958d30f8eeaf3cf5ad03c30a1915683ce4e6c
935 Merge: 8811bfc6 a4a68b3c
936 Author: Christoph Reiter <reiter.christoph@gmail.com>
937 Date: Thu Feb 1 08:24:50 2018 +0000
939 Merge branch 'dont-copy-unowned-boxed' into 'master'
941 to-py-struct: don't copy the boxed if we are the sole owner of
944 See merge request GNOME/pygobject!14
946 commit a4a68b3c7a4bb64c71e1bdbe52ede109b6bcd0bb
947 Author: Christoph Reiter <reiter.christoph@gmail.com>
948 Date: Tue Jan 30 16:39:18 2018 +0100
950 to-py-struct: don't copy the boxed if we are the sole owner of
953 In commit 7ed8191818733b9130bce84f78 things were changed to copy the
954 wrapped boxed after the Python function returned. In case the wrapper
955 is only used during the call there is no need to copy the boxed
956 as the wrapper will be freed anyway.
958 Add a special case and don't copy the boxed in case the refcount at
959 cleanup is only 1. This should speed up the common case.
961 thanks to @mathieudu for suggesting this
963 gi/pygi-struct-marshal.c | 11 +++++++++--
964 1 file changed, 9 insertions(+), 2 deletions(-)
966 commit 8811bfc695a8513e49cfc8ba1e304a3ed0814fa9
967 Merge: 0dca3f4f 1fbf74eb
968 Author: Christoph Reiter <reiter.christoph@gmail.com>
969 Date: Tue Jan 30 14:46:40 2018 +0000
971 Merge branch 'property_fix' into 'master'
973 gobjectmodule: do not clear floating flag in set_/get_property
975 See merge request GNOME/pygobject!8
977 commit 0dca3f4f577c540d8e09097b6e414708c8d54108
978 Author: Christoph Reiter <reiter.christoph@gmail.com>
979 Date: Tue Jan 30 14:05:24 2018 +0100
981 setup.py: test: also run compat_test_pygtk tests
984 1 file changed, 7 insertions(+)
986 commit 94904a17fb65b5174aca58c9e8ed6ebd50bc6cb3
987 Merge: 1ec8d58e fd9e24a7
988 Author: Christoph Reiter <reiter.christoph@gmail.com>
989 Date: Mon Jan 29 16:26:11 2018 +0000
991 Merge branch 'gitlabissue158' into 'master'
993 pygobject-object: fix memory corruption around list of closures
995 See merge request GNOME/pygobject!12
997 commit fd9e24a73acde7313fbf96c946f4ce8dad130b33
998 Author: Mikhail Fludkov <fludkov.me@gmail.com>
999 Date: Mon Jan 29 14:23:37 2018 +0100
1001 pygobject-object: fix memory corruption around list of closures
1003 https://gitlab.gnome.org/GNOME/pygobject/issues/158
1005 The memory corruption occurs because of the race while accessing
1006 PyGObjectData->closures list.
1008 Protect PyGObjectData->closures by GIL in pygobject_unwatch_closure.
1009 Despite the fact that we don't call any Python API in the function. We
1011 GIL to be sure that PyGObjectData->closures list stays intact while
1012 GC iterating the list inside pygobject_traverse. Otherwise we can
1013 segfault while trying to call 'visit' function on an object that
1014 was just freed in pygobject_unwatch_closure.
1016 gi/pygobject-object.c | 5 +++++
1017 tests/test_signal.py | 50
1018 ++++++++++++++++++++++++++++++++++++++++++++++++++
1019 2 files changed, 55 insertions(+)
1021 commit 1ec8d58e879a3802f54190be3cdc23bd976ca01f
1022 Merge: 8c8dd210 7ed81918
1023 Author: Christoph Reiter <reiter.christoph@gmail.com>
1024 Date: Mon Jan 29 11:40:40 2018 +0000
1026 Merge branch 'fix_boxed_copies' into 'master'
1030 See merge request GNOME/pygobject!10
1032 commit 8c8dd210f7cb2001144dc00ab6adde9e840e5dcf
1033 Author: Christoph Reiter <reiter.christoph@gmail.com>
1034 Date: Thu Jan 25 17:13:15 2018 +0100
1036 setup.py: set zip_safe=False
1038 We install .h/.pc files now and zipping them could be problematic,
1039 so better don't allow it.
1042 1 file changed, 1 insertion(+)
1044 commit 06f981d83bb6f4b7d6043e9ee04277fcc2631d91
1045 Author: Christoph Reiter <reiter.christoph@gmail.com>
1046 Date: Thu Jan 25 16:33:29 2018 +0100
1048 setup.py: Install the pkg-config file
1050 Skip installation when a wheel is built as it doesn't allow including
1051 absolute paths and the .pc does.
1053 Remove LIBFFI_PC as it's always the same.
1056 pygobject-3.0.pc.in | 2 +-
1058 +++++++++++++++++++++++++++++++++++++++++++++++++----
1059 3 files changed, 80 insertions(+), 9 deletions(-)
1061 commit db78f98b0133102d77111c595df59f930e9b1c63
1062 Author: Christoph Reiter <reiter.christoph@gmail.com>
1063 Date: Thu Jan 25 15:57:38 2018 +0100
1065 setup.py: Install the header file
1068 1 file changed, 3 insertions(+)
1070 commit 200a9c940d9bf5b0104cedc96c94c55867aac440
1071 Author: Christoph Reiter <reiter.christoph@gmail.com>
1072 Date: Thu Jan 25 15:42:04 2018 +0100
1074 setup.py: Add logging for pycairo lookup and fail early if the header
1075 isn't found. See #150
1077 Log the pycairo module we find and the include path we deduce
1079 Also check that the directory actually includes the right header file
1080 instead of letting the compiler fail later on.
1082 This will hopefully make it more clear why installing through pip
1084 in some cases (see #150 for some reports)
1086 setup.py | 13 ++++++++++++-
1087 1 file changed, 12 insertions(+), 1 deletion(-)
1089 commit 1fbf74eb06bbe2868fd40ea9f3fc1addc27e4bc3
1090 Author: Mathieu Duponchelle <mathieu@centricular.com>
1091 Date: Sat Jan 20 04:44:46 2018 +0100
1093 gobjectmodule: do not clear floating flag in set_/get_property
1095 gi/gobjectmodule.c | 14 ++++++++++++--
1096 1 file changed, 12 insertions(+), 2 deletions(-)
1098 commit f2100902c6fdfd6a3daaab39d3325ffc9ada9a7d
1099 Author: Mathieu Duponchelle <mathieu@centricular.com>
1100 Date: Sun Jan 21 19:17:10 2018 +0100
1102 gi/types: make it possible to resolve ambiguous vmethod names
1104 Related to https://gitlab.gnome.org/GNOME/pygobject/issues/105,
1105 but the method exposed to resolve the ambiguities does not
1106 use a decorator, as a decorator cannot rename the function it
1107 wraps, which means that users will have to provide different names
1108 if they want to implement ambiguous methods from multiple base
1111 Instead, ambiguities can be resolved by implementing methods named
1112 do_$namespaced_base_class_name_$vfunc_name, eg:
1114 do_gst_base_src_query
1116 gi/types.py | 50 ++++++++++++++++++++++++++++++++++++--------------
1117 1 file changed, 36 insertions(+), 14 deletions(-)
1119 commit 7ed8191818733b9130bce84f782dc6f8f734abf7
1120 Author: Mathieu Duponchelle <mathieu@centricular.com>
1121 Date: Tue Jan 23 15:58:38 2018 +0100
1123 to python struct marshalling: copy boxed during cleanup
1125 If the boxed was passed with transfer nothing, we need to
1126 make a copy of it in the boxed wrapper, this in order
1127 to have a valid reference, but still let closures modify
1128 the original reference while it is valid (during the closure)
1130 This fixes an expected failure in the tests, that was added
1131 by https://bugzilla.gnome.org/show_bug.cgi?id=722899, first fixed
1132 by https://bugzilla.gnome.org/show_bug.cgi?id=726999 and broken
1133 in the preceding commits.
1135 gi/pygi-struct-marshal.c | 34 +++++++++++++++++++++++++++-------
1136 tests/test_gi.py | 1 -
1137 2 files changed, 27 insertions(+), 8 deletions(-)
1139 commit 80eab029ce4e181624d7b845a4b517051797080d
1140 Author: Mathieu Duponchelle <mathieu@centricular.com>
1141 Date: Tue Jan 23 15:57:04 2018 +0100
1143 to python marshalling: collect cleanup data
1145 Similar to what is done for marshalling from python, we
1146 collect cleanup data that will then be passed on to the
1149 gi/pygi-array.c | 24 ++++++++++++++++++------
1150 gi/pygi-basictype.c | 8 +++++---
1151 gi/pygi-basictype.h | 3 ++-
1152 gi/pygi-cache.h | 13 ++++++++++---
1153 gi/pygi-closure.c | 9 +++++++--
1154 gi/pygi-enum-marshal.c | 6 ++++--
1155 gi/pygi-error.c | 3 ++-
1156 gi/pygi-hashtable.c | 13 +++++++++----
1157 gi/pygi-invoke-state-struct.h | 3 +++
1158 gi/pygi-invoke.c | 17 +++++++++++++----
1159 gi/pygi-list.c | 38 +++++++++++++++++++++++++++++++-------
1160 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
1161 gi/pygi-object.c | 8 +++++---
1162 gi/pygi-struct-marshal.c | 5 +++--
1163 14 files changed, 120 insertions(+), 43 deletions(-)
1165 commit 9d96df1ea3ad533885fbcae4de693a3cd81e765a
1166 Author: Mathieu Duponchelle <mathieu@centricular.com>
1167 Date: Tue Jan 23 14:15:19 2018 +0100
1169 pygi-boxed: make in-place copy safer
1171 Making sure we don't attempt to g_boxed_copy a NULL pointer,
1172 as this is explicitly disallowed, and setting slice-allocated
1173 to FALSE once g_slice_free has been called.
1175 gi/pygi-boxed.c | 8 +++++++-
1176 1 file changed, 7 insertions(+), 1 deletion(-)
1178 commit daefdfa3e4dc97b4ae38250358d722f09764cc9b
1179 Author: Mathieu Duponchelle <mathieu@centricular.com>
1180 Date: Sun Jan 21 19:23:19 2018 +0100
1182 Revert "Refactor boxed wrapper memory management strategy"
1184 This reverts commit 85175047e66dfc0c0263eac91d8056a95d0a60a0.
1186 gi/gimodule.c | 6 +---
1187 gi/overrides/GLib.py | 4 +++
1188 gi/overrides/GObject.py | 3 --
1189 gi/pygi-boxed.c | 32 +++++---------------
1190 gi/pygi-boxed.h | 4 +--
1191 gi/pygi-property.c | 6 +++-
1192 gi/pygi-source.c | 6 ++--
1193 gi/pygi-struct-marshal.c | 78
1194 ++++--------------------------------------------
1195 tests/test_gi.py | 1 +
1196 tests/test_source.py | 8 ++---
1197 10 files changed, 29 insertions(+), 119 deletions(-)
1199 commit b0fbb13783a2ece048a812b233e1fad15c5b8a31
1200 Author: Christoph Reiter <reiter.christoph@gmail.com>
1201 Date: Tue Jan 23 00:27:32 2018 +0100
1203 setup.py: default to Python 3
1205 autotools defaults to Python 3 as well, so do the same for
1209 1 file changed, 1 insertion(+), 1 deletion(-)
1211 commit f59ba1ae65876df786458f785558f96d8b400c9a
1212 Author: Christoph Reiter <reiter.christoph@gmail.com>
1213 Date: Mon Jan 22 23:09:10 2018 +0100
1215 setup.py: Make the test command work under MSYS2
1217 gobject-introspection requires an import lib (.dll.a) on Windows,
1218 so build that as well.
1220 Disable the dbus tests until we have a temp bus like with autotools.
1221 Unset MSYSTEM to disable the os.sep hackery.
1223 This hit a bug in GI for the mingw+no-libtool case, see
1224 https://bugzilla.gnome.org/show_bug.cgi?id=791902
1225 The fix has been applied to MSYS2 in the meantime, see
1226 https://github.com/Alexpux/MINGW-packages/pull/3308
1229 setup.py | 57 +++++++++++++++++++++++++++++++++++++++++++--------------
1230 2 files changed, 45 insertions(+), 14 deletions(-)
1232 commit 89d66dd0aa48aaef0a70aba8a17234bc188ef609
1233 Author: Christoph Reiter <reiter.christoph@gmail.com>
1234 Date: Sun Jan 21 15:32:26 2018 +0100
1236 setup.py: add a "quality" command
1238 This just calls flake8 internally
1240 setup.py | 19 +++++++++++++++++++
1241 1 file changed, 19 insertions(+)
1243 commit efb19909ebf15c8bdbd0b4acfe0046a512ba3b82
1244 Author: Christoph Reiter <reiter.christoph@gmail.com>
1245 Date: Sat Jan 20 12:22:41 2018 +0100
1247 gitlab-ci: switch to a non-srcdir build
1249 .gitlab-ci/test-docker.sh | 8 +++++++-
1250 1 file changed, 7 insertions(+), 1 deletion(-)
1252 commit 722ef028739b1e3e585f49418a98efa98834bc02
1253 Author: Christoph Reiter <reiter.christoph@gmail.com>
1254 Date: Fri Jan 19 20:34:04 2018 +0100
1256 autotools: use flake8 instead of pep8/pyflakes
1258 flake8 uses pep8/pycodestyle/pyflakes internally, so there should not
1261 The nice thing about it is that we can store the configuration in
1262 setup.cfg and linting comes down to just executing "flake8".
1263 It also allows to ignore warnings with inline comments, so that
1264 when avoiding a warning isn't possible it doesn't need to be disabled
1265 for the whole codebase.
1267 .gitlab-ci/test-docker.sh | 2 +-
1269 Makefile.am | 19 +++----------------
1270 docs/devguide/building_testing.rst | 2 +-
1272 5 files changed, 9 insertions(+), 18 deletions(-)
1274 commit 162b6ab75d3c3d1717245f5957433b8cf400b17a
1275 Author: Christoph Reiter <reiter.christoph@gmail.com>
1276 Date: Fri Jan 19 20:08:31 2018 +0100
1278 gitlab-ci: Install pep8 package, "make check.quality" requires it
1280 While pep8 is replaced by pycodestyle, the "make check.quality"
1281 command still uses pep8. Install it for now and fix some warnings
1282 which slipped through due to pep8 not running.
1284 .gitlab-ci/test-docker.sh | 2 +-
1285 gi/overrides/GLib.py | 5 +++--
1286 tests/test_overrides_glib.py | 1 -
1287 3 files changed, 4 insertions(+), 4 deletions(-)
1289 commit c365cc9c14a001dcbe294375d322a02401a1814d
1290 Author: Christoph Reiter <reiter.christoph@gmail.com>
1291 Date: Fri Jan 19 15:12:22 2018 +0100
1295 List the authors like before and link them to the gitlab user profile.
1299 2 files changed, 6 insertions(+), 2 deletions(-)
1301 commit 2ccef77f240149891fe9e8f557c7afc951a91839
1302 Author: Christoph Reiter <reiter.christoph@gmail.com>
1303 Date: Thu Jan 18 17:08:26 2018 +0100
1305 setup.py: add a "test" command which is equal to "make check"
1308 Adds a "build_tests" command which builds all resources required
1310 It has some simple dependency awareness and only rebuilds if any of
1312 sources have changed. Passing -f/--force will force a rebuild.
1314 Adds a new "test" command which builds the main extension module in
1316 directory, runs "build_tests" and finally runs all tests.
1318 Extends the "distcheck" command to run the tests after extracting
1320 distribution and run the distcheck command in the gitlab CI script.
1322 Only tested on Linux.
1324 .gitlab-ci/test-docker.sh | 3 +
1325 docs/devguide/building_testing.rst | 28 ++--
1327 +++++++++++++++++++++++++++++++------
1328 tests/runtests.py | 1 +
1329 4 files changed, 305 insertions(+), 63 deletions(-)
1331 commit 812cdbfec0c8c9866c339a5eb01268672514d447
1332 Author: Alberto Ruiz <aruiz@gnome.org>
1333 Date: Thu Jan 18 18:29:33 2018 +0100
1335 GVariant add support to maybe types
1337 While adding support to maybe types I realized that the GVariant
1338 override was replicating a lot of logic from GVariant to parse
1339 format strings by itself. This patch simplifies the creation of
1340 GVariants from Python types and relies on GVariantType to interpret
1341 the format string and walk through its items.
1343 This patch also expands test coverage for maybe types.
1345 gi/overrides/GLib.py | 164
1346 ++++++++++++-------------------------------
1347 tests/test_overrides_glib.py | 49 ++++++++++---
1348 2 files changed, 86 insertions(+), 127 deletions(-)
1350 commit 54059b93a5559a4ccf28fa8014cacabbcf140902
1351 Author: Christoph Reiter <reiter.christoph@gmail.com>
1352 Date: Thu Jan 18 08:39:53 2018 +0100
1357 1 file changed, 7 insertions(+)
1359 commit e5a21f56cd375373741dcb2f2e8eefae349cffbc
1360 Author: Christoph Reiter <reiter.christoph@gmail.com>
1361 Date: Mon Jan 15 20:44:27 2018 +0100
1363 overrides: Fix Gtk.Adjustment.__init__ overrides not setting "value"
1364 sometimes. Fixes #151
1366 Gtk.Adjustment allows passing positional arguments to __init__
1368 translated to a dict for passing to GObject.Object.__init__. In case
1370 first argument "value", if "value" is passed before the upper and
1371 lower bound to Object.__init__ it will be set to 0 instead.
1373 In Python 2 this happened to work (at least on my machine) because
1374 "value" got placed after the bounds (in terms of iteration order)
1375 in the final dict value passed to Object.__init__.
1377 To work around this, set "value" again after __init__().
1378 A similar work around already exists when "value" is passed as
1381 gi/overrides/Gtk.py | 2 ++
1382 tests/test_overrides_gtk.py | 6 ++++++
1383 2 files changed, 8 insertions(+)
1385 commit 5cb3d7af47310d0b6174811d0d298e7d1869624c
1386 Author: Christoph Reiter <reiter.christoph@gmail.com>
1387 Date: Mon Jan 15 18:02:39 2018 +0100
1389 Update MANIFEST.in to include the CI scripts and config files
1391 This fixes "setup.py distcheck", which makes sure all files in git end
1395 1 file changed, 2 insertions(+)
1397 commit 74ad29c908447a4054dbd3427a09a1d44ff00f6d
1398 Author: Christoph Reiter <reiter.christoph@gmail.com>
1399 Date: Fri Jan 12 09:49:36 2018 +0100
1401 docs: Add Anaconda to the list of software that is using PyGObject
1403 https://fedoraproject.org/wiki/Anaconda
1405 docs/index.rst | 1 +
1406 1 file changed, 1 insertion(+)
1408 commit 9fe7eb528c711e56ee58ce3b8a4d7b4270708d40
1409 Author: Christoph Reiter <reiter.christoph@gmail.com>
1410 Date: Fri Jan 12 09:42:49 2018 +0100
1412 docs: Add custom roles for linking to gitlab issues and merge requests
1414 This allows one to use :issue:`42` or :mr:`42` in the documentation
1415 and the NEWS file and will result in links pointing to the
1416 specified issue/merge request.
1418 docs/conf.py | 3 +++
1419 1 file changed, 3 insertions(+)
1421 commit 91a1ec0ef6e3cbfb6c83ae8e17564733c8e840f6
1422 Author: Christoph Reiter <creiter@src.gnome.org>
1423 Date: Wed Jan 10 18:17:56 2018 +0100
1425 docs: Update for the git repo move from git.gnome.org to
1428 Changes all the links to point to the gitlab instance.
1430 Adds the gitlab setup to the sphinx theme configuration, so the theme
1431 can show "Edit on GitLab" links on each page.
1433 Create a new page pointing to the git report and bug tracker.
1434 Someone on IRC mentioned that this info is hard to find, so try
1438 docs/bugs_repo.rst | 31 +++++++++++++++++++++++++++++++
1439 docs/changelog.rst | 3 ++-
1440 docs/conf.py | 6 ++++++
1441 docs/devguide/dev_environ.rst | 4 ++--
1442 docs/devguide/overview.rst | 24 ++++--------------------
1443 docs/guide/porting.rst | 2 +-
1444 docs/index.rst | 1 +
1445 7 files changed, 47 insertions(+), 24 deletions(-)
1447 commit adf5e51ccf9d9dbf938c0da496e0d4d81d3284f6
1448 Author: Christoph Reiter <reiter.christoph@gmail.com>
1449 Date: Fri Dec 22 16:34:53 2017 +0100
1453 Adds a Dockerfile which is available on the docker hub
1454 and gets used by the gitlab test runner.
1456 The tests get executed in an Ubuntu 17.04 image for various Python
1457 versions and consist of building, testing, code quality testing and
1458 documentation build testing.
1460 .gitlab-ci.yml | 22 ++++++++++++++++++++++
1461 .gitlab-ci/Dockerfile | 32 ++++++++++++++++++++++++++++++++
1462 .gitlab-ci/README.rst | 1 +
1463 .gitlab-ci/test-docker.sh | 30 ++++++++++++++++++++++++++++++
1464 4 files changed, 85 insertions(+)
1466 commit 661e64ce6091724b86a934268daa2c80bda46eb5
1467 Author: Christoph Reiter <creiter@src.gnome.org>
1468 Date: Thu Dec 21 12:33:07 2017 +0100
1470 docs: Include NEWS entries for releases not made on the master branch
1472 So that every release is visible in the online documentation.
1473 The list is sorted by release date.
1476 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1477 docs/changelog.rst | 3 +-
1478 2 files changed, 337 insertions(+), 1 deletion(-)
1480 commit a109b4c96537e8ba3062a56699f3aefc63c82d6d
1481 Author: Christoph Reiter <creiter@src.gnome.org>
1482 Date: Wed Dec 20 15:59:05 2017 +0100
1484 docs: convert NEWS file to reST and link bugs
1486 Looks nicer in the online docs and makes it easier to look
1487 up bugs and link to specific releases.
1489 Rename the custom reST role for bugs from gnomebug to bzbug.
1490 With the upcoming move to gitlab that makes it more clear that those
1491 are referencing bugzilla.
1493 Adjust the "make release-news" target to output something similar
1494 to the new format to make converting to reST easier.
1496 Update the maintainer release todo list to state that the changelog
1497 should be copied from stable branches to master. It would be
1498 nice if the NEWS file in master, which gets exposed on readthedocs,
1499 would contain all the information available.
1503 +++++++++++++++++----------------
1504 docs/Makefile | 2 +-
1505 docs/changelog.rst | 1 -
1507 docs/devguide/override_guidelines.rst | 14 +-
1508 docs/maintguide.rst | 2 +
1509 7 files changed, 2712 insertions(+), 2484 deletions(-)
1511 commit df77beb730c336e5fdc87f4225af0842edfbe56a
1512 Author: Christoph Reiter <creiter@src.gnome.org>
1513 Date: Mon Dec 11 18:50:22 2017 +0100
1518 1 file changed, 1 insertion(+), 1 deletion(-)
1520 commit 22ef18884d1c7cb5b9ba68ef78489bb779a347b3
1521 Author: Christoph Reiter <creiter@src.gnome.org>
1522 Date: Mon Dec 11 18:40:47 2017 +0100
1526 NEWS | 11 +++++++++++
1527 1 file changed, 11 insertions(+)
1529 commit 2e30c7fbfcb579efb2ff7134979f169f673ac285
1530 Author: Christoph Reiter <creiter@src.gnome.org>
1531 Date: Mon Dec 11 18:32:16 2017 +0100
1533 Revert "setup.py: Also set setup_requires to require pycairo"
1535 This reverts commit bab1cb0d98e4a6219332394161dbf07aafa0c615.
1537 pycairo gets installed under /tmp as an .egg this way, and that
1539 with finding the C headers.
1542 1 file changed, 4 deletions(-)
1544 commit bab1cb0d98e4a6219332394161dbf07aafa0c615
1545 Author: Christoph Reiter <creiter@src.gnome.org>
1546 Date: Mon Dec 11 16:26:54 2017 +0100
1548 setup.py: Also set setup_requires to require pycairo
1550 We need pycairo at build time. There are some problems with
1552 in that it isn't directly handled by pip, but let's give it a try
1554 which problems come up.
1556 Thanks to mgedmin for pointing that out
1559 1 file changed, 4 insertions(+)
1561 commit 47aeaab6142a716234e91e8bbc3adefeff9ff5c3
1562 Author: Christoph Reiter <creiter@src.gnome.org>
1563 Date: Mon Dec 11 16:14:34 2017 +0100
1565 setup.py: Provide a os.path.samefile fallback for Python 2 under
1568 os.path.samefile is missing from Python 2 under Windows. Implement a
1569 simple fallback which normalizes and compares paths instead.
1571 setup.py | 15 ++++++++++++++-
1572 1 file changed, 14 insertions(+), 1 deletion(-)
1574 commit dfab41d0b66a15c8cf8229f7522160ec6b08a2b8
1575 Author: Christoph Reiter <creiter@src.gnome.org>
1576 Date: Sun Dec 10 20:38:47 2017 +0100
1578 Add sphinx based documentation
1580 Takes the documentation developed at
1581 https://github.com/pygobject/pygobject-docs
1584 See https://pygobject.readthedocs.io for how it looks
1586 Now that we move to gitlab we can use webhooks to trigger builds
1587 on readthedocs from gitlab directly and we should also have a nicer
1590 This also gets rid of most of README/HACKING/INSTALL and moves most
1591 of the information into the documentation. The README is kept short
1592 and only makes clear what pygobject is and points to the online docs
1593 as that should answer all questions.
1595 setup.py now sets the content of README.rst as long_descriptions,
1596 as that is the content shown on PyPI. This makes the page on PyPI
1597 look the same as on gitlab.
1599 https://bugzilla.gnome.org/show_bug.cgi?id=791448
1604 --------------------------------
1607 README.rst | 137 ++----------
1608 docs/Makefile | 16 ++
1609 docs/changelog.rst | 10 +
1610 docs/conf.py | 50 +++++
1611 docs/contact.rst | 11 +
1612 docs/devguide/building_testing.rst | 56 +++++
1613 docs/devguide/dev_environ.rst | 46 ++++
1614 docs/devguide/index.rst | 13 ++
1615 docs/devguide/override_guidelines.rst | 90 ++++++++
1616 docs/devguide/overview.rst | 32 +++
1617 docs/devguide/style_guide.rst | 101 +++++++++
1618 docs/extra.css | 57 +++++
1619 docs/further.rst | 10 +
1620 docs/getting_started.rst | 128 +++++++++++
1621 docs/guide/api/api.rst | 75 +++++++
1622 docs/guide/api/basic_types.rst | 53 +++++
1623 docs/guide/api/flags_enums.rst | 39 ++++
1624 docs/guide/api/gobject.rst | 91 ++++++++
1625 docs/guide/api/index.rst | 12 ++
1626 docs/guide/api/properties.rst | 119 ++++++++++
1627 docs/guide/api/signals.rst | 93 ++++++++
1628 docs/guide/cairo_integration.rst | 39 ++++
1629 docs/guide/code/cairo-demo.py | 133 ++++++++++++
1630 docs/guide/debug_profile.rst | 112 ++++++++++
1631 docs/guide/deploy.rst | 52 +++++
1632 docs/guide/faq.rst | 11 +
1633 docs/guide/images/cairo_integration.png | Bin 0 -> 24418 bytes
1634 docs/guide/index.rst | 17 ++
1635 docs/guide/porting.rst | 109 ++++++++++
1636 docs/guide/testing.rst | 39 ++++
1637 docs/guide/threading.rst | 290 +++++++++++++++++++++++++
1638 docs/icons.rst | 48 +++++
1639 docs/images/LICENSE | 3 +
1640 docs/images/favicon.ico | Bin 0 -> 34494 bytes
1641 docs/images/logo.svg | 266 +++++++++++++++++++++++
1642 docs/images/overview.dia | Bin 0 -> 1885 bytes
1643 docs/images/overview.svg | 72 +++++++
1644 docs/images/pygobject-small.svg | 193 +++++++++++++++++
1645 docs/images/pygobject.svg | 244 +++++++++++++++++++++
1646 docs/images/start_linux.png | Bin 0 -> 9893 bytes
1647 docs/images/start_macos.png | Bin 0 -> 13949 bytes
1648 docs/images/start_windows.png | Bin 0 -> 11454 bytes
1649 docs/index.rst | 89 ++++++++
1650 docs/maintguide.rst | 32 +++
1651 docs/packagingguide.rst | 55 +++++
1653 51 files changed, 2933 insertions(+), 533 deletions(-)
1655 commit 307e64982fdfcc9b505d867c0628e1e0a189cd67
1656 Author: Christoph Reiter <creiter@src.gnome.org>
1657 Date: Sun Dec 10 16:23:45 2017 +0100
1659 PKG-INFO: Revert name back to PyGObject
1661 My thinking there was that it gives us the same naming of tarballs
1662 as with the autotools build system. But on a second thought, we
1663 can't use the same tarball anyway due to gz vs xz and while the
1664 naming should be case insensitive it's not worth the risk.
1666 The commit changing it was 3e455944f5835c7509
1669 1 file changed, 1 insertion(+), 1 deletion(-)
1671 commit eb20f3c9f062fe25a44068ccab46475c4cb5e523
1672 Author: Christoph Reiter <creiter@src.gnome.org>
1673 Date: Sun Dec 10 16:17:28 2017 +0100
1675 setup.py: Rework pycairo discovery to not use pkg-config
1677 Two problems with the previous approach:
1679 * We looked into sys.prefix for the .pc file while the package
1680 could be installed in another location like the user dir location
1681 or on Debian it goes into /usr/local.
1682 * The .pc file intalled by pycairo can contain wrong paths if
1683 installed through pip, since that sometimes builds a wheel
1684 and caches that for future installations to different locations.
1686 Instead of using the .pc file use pkg_resources to discover the
1687 pycairo location and then try to find the correspinding "data"
1689 path for the first matching location scheme.
1691 See https://github.com/pygobject/pycairo/issues/85
1693 setup.py | 44 +++++++++++++++++++++++++++-----------------
1694 1 file changed, 27 insertions(+), 17 deletions(-)
1696 commit de2ff6e883015741527638ab5cece47a97ef2856
1697 Author: Christoph Reiter <creiter@src.gnome.org>
1698 Date: Sat Dec 9 15:59:26 2017 +0100
1700 setup.py: Fix the distcheck command on Windows
1702 The distutils install command complains if the passed root/record
1704 aren't absolute on Windows.
1705 Also make use of os.path.join() while at it.
1707 setup.py | 9 +++++++--
1708 1 file changed, 7 insertions(+), 2 deletions(-)
1710 commit 46225bf34fc5737ca5b8e9fd9a0029e6f4a8b302
1711 Author: Christoph Reiter <creiter@src.gnome.org>
1712 Date: Sat Dec 9 15:55:39 2017 +0100
1714 setup.py: Remove various classifiers and the download-url which
1715 aren't accepted by pypi
1717 pypi does not allow uploading packages with these set, so remove
1720 PKG-INFO.in | 5 -----
1722 2 files changed, 6 deletions(-)
1724 commit bf884345be38f1ebd53fbe891841348b8485dac0
1725 Author: Christoph Reiter <creiter@src.gnome.org>
1726 Date: Fri Dec 8 20:34:18 2017 +0100
1731 1 file changed, 1 insertion(+), 1 deletion(-)
1733 commit f8801c24993e9b7b9abc65e32d1a851c7ed09649
1734 Author: Christoph Reiter <creiter@src.gnome.org>
1735 Date: Fri Dec 8 20:31:17 2017 +0100
1739 NEWS | 34 ++++++++++++++++++++++++++++++++++
1740 1 file changed, 34 insertions(+)
1742 commit eb2ff4362878d0e348c67c606a32e8d332e2454d
1743 Author: Christoph Reiter <creiter@src.gnome.org>
1744 Date: Fri Dec 8 16:56:10 2017 +0100
1748 The demo app now gets analyzed by pep8 since it was moved to the
1751 examples/demo/demos/Css/css_accordion.py | 1 +
1752 examples/demo/demos/Entry/entry_buffer.py | 1 +
1753 examples/demo/demos/Entry/entry_completion.py | 1 +
1754 examples/demo/demos/Entry/search_entry.py | 1 +
1755 examples/demo/demos/IconView/iconviewbasics.py | 1 +
1756 examples/demo/demos/IconView/iconviewedit.py | 1 +
1757 examples/demo/demos/TreeView/liststore.py | 2 +
1758 examples/demo/demos/TreeView/treemodel_filelist.py | 1 +
1759 examples/demo/demos/TreeView/treemodel_filetree.py | 1 +
1760 examples/demo/demos/appwindow.py | 1 +
1761 examples/demo/demos/assistant.py | 1 +
1762 examples/demo/demos/builder.py | 1 +
1763 examples/demo/demos/button_box.py | 1 +
1764 examples/demo/demos/clipboard.py | 1 +
1765 examples/demo/demos/colorselector.py | 1 +
1766 examples/demo/demos/combobox.py | 1 +
1767 examples/demo/demos/dialogs.py | 1 +
1768 examples/demo/demos/drawingarea.py | 11 +-
1769 examples/demo/demos/expander.py | 1 +
1770 examples/demo/demos/flowbox.py | 1332
1771 ++++++++++----------
1772 examples/demo/demos/images.py | 1 +
1773 examples/demo/demos/infobars.py | 1 +
1774 examples/demo/demos/links.py | 1 +
1775 examples/demo/demos/menus.py | 1 +
1776 examples/demo/demos/pickers.py | 1 +
1777 examples/demo/demos/pixbuf.py | 1 +
1778 examples/demo/demos/printing.py | 1 +
1779 examples/demo/demos/rotatedtext.py | 1 +
1780 28 files changed, 700 insertions(+), 670 deletions(-)
1782 commit af9ddf322f7cf377996b8fa29906bd4b254dc001
1783 Author: Christoph Reiter <creiter@src.gnome.org>
1784 Date: Fri Dec 8 16:40:33 2017 +0100
1786 Fix ctypes.PyDLL construction under Windows
1788 We require the ctypes.pythonapi interface but can't use the global one
1789 since we have to change it which could potentially break other users
1792 Turns out simply passing None to PyDLL() only works on Unix to
1794 CPython library. Instead copy the logic from the ctypes module in the
1797 https://bugzilla.gnome.org/show_bug.cgi?id=622084
1799 gi/_ossighelper.py | 13 ++++++++++++-
1800 1 file changed, 12 insertions(+), 1 deletion(-)
1802 commit d19aca693950c0edb02b226db8bcf81a5304870e
1803 Author: Christoph Reiter <creiter@src.gnome.org>
1804 Date: Fri Dec 8 14:40:58 2017 +0100
1806 configure.ac: Error out in case autoconf-archive isn't installed
1808 Check whether the AX_IS_RELEASE macro is defined and if not print
1809 a proper error message.
1811 https://bugzilla.gnome.org/show_bug.cgi?id=784428
1813 configure.ac | 3 +++
1814 1 file changed, 3 insertions(+)
1816 commit 26001a6ae42f8e10ed4c44bc9414e219b946cee0
1817 Author: Christoph Reiter <creiter@src.gnome.org>
1818 Date: Wed Dec 6 18:37:45 2017 +0100
1820 Move pygi-convert.sh into tools
1824 pygi-convert.sh => tools/pygi-convert.sh | 0
1825 3 files changed, 2 insertions(+), 2 deletions(-)
1827 commit dd1507be6c198319304342b73c8ec1ec2a102145
1828 Author: Christoph Reiter <creiter@src.gnome.org>
1829 Date: Wed Dec 6 18:26:13 2017 +0100
1831 README: Convert to reST
1835 README => README.rst | 56
1836 ++++++++++++++++++++++++++++++++++------------------
1837 3 files changed, 40 insertions(+), 21 deletions(-)
1839 commit e4a52b9f99667df98806d0c4ee78c2909ead27e1
1840 Author: Christoph Reiter <creiter@src.gnome.org>
1841 Date: Wed Dec 6 17:53:51 2017 +0100
1843 demo: Move demo into examples and dist it
1845 We might want to install it in the future, but until then at least put
1846 it into the tarball.
1848 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1851 examples/Makefile.am | 7 ++++++-
1852 {demo => examples/demo}/demo.py | 0
1853 {demo => examples/demo}/demos/Css/__init__.py | 0
1854 {demo => examples/demo}/demos/Css/css_accordion.py | 0
1855 {demo => examples/demo}/demos/Css/css_basics.py | 0
1856 {demo => examples/demo}/demos/Css/css_multiplebgs.py | 0
1857 {demo => examples/demo}/demos/Entry/__init__.py | 0
1858 {demo => examples/demo}/demos/Entry/entry_buffer.py | 0
1859 {demo => examples/demo}/demos/Entry/entry_completion.py | 0
1860 {demo => examples/demo}/demos/Entry/search_entry.py | 0
1861 {demo => examples/demo}/demos/IconView/__init__.py | 0
1862 {demo => examples/demo}/demos/IconView/iconviewbasics.py | 0
1863 {demo => examples/demo}/demos/IconView/iconviewedit.py | 0
1864 {demo => examples/demo}/demos/TreeView/__init__.py | 0
1865 {demo => examples/demo}/demos/TreeView/liststore.py | 0
1866 .../demo}/demos/TreeView/treemodel_filelist.py | 0
1867 .../demo}/demos/TreeView/treemodel_filetree.py | 0
1868 {demo => examples/demo}/demos/TreeView/treemodel_large.py | 0
1869 {demo => examples/demo}/demos/__init__.py | 0
1870 {demo => examples/demo}/demos/appwindow.py | 0
1871 {demo => examples/demo}/demos/assistant.py | 0
1872 {demo => examples/demo}/demos/builder.py | 0
1873 {demo => examples/demo}/demos/button_box.py | 0
1874 {demo => examples/demo}/demos/clipboard.py | 0
1875 {demo => examples/demo}/demos/colorselector.py | 0
1876 {demo => examples/demo}/demos/combobox.py | 0
1877 {demo => examples/demo}/demos/data/alphatest.png | Bin
1878 {demo => examples/demo}/demos/data/apple-red.png | Bin
1879 {demo => examples/demo}/demos/data/background.jpg | Bin
1880 {demo => examples/demo}/demos/data/brick.png | Bin
1881 {demo => examples/demo}/demos/data/brick2.png | Bin
1882 {demo => examples/demo}/demos/data/css_accordion.css | 0
1883 {demo => examples/demo}/demos/data/css_basics.css | 0
1884 {demo => examples/demo}/demos/data/css_multiplebgs.css | 0
1885 {demo => examples/demo}/demos/data/cssview.css | 0
1886 {demo => examples/demo}/demos/data/demo.gresource | Bin
1887 {demo => examples/demo}/demos/data/demo.gresource.xml | 0
1888 {demo => examples/demo}/demos/data/demo.ui | 0
1889 {demo => examples/demo}/demos/data/floppybuddy.gif | Bin
1890 {demo => examples/demo}/demos/data/gnome-applets.png | Bin
1891 {demo => examples/demo}/demos/data/gnome-calendar.png | Bin
1892 {demo => examples/demo}/demos/data/gnome-foot.png | Bin
1893 {demo => examples/demo}/demos/data/gnome-fs-directory.png | Bin
1894 {demo => examples/demo}/demos/data/gnome-fs-regular.png | Bin
1895 {demo => examples/demo}/demos/data/gnome-gimp.png | Bin
1896 {demo => examples/demo}/demos/data/gnome-gmush.png | Bin
1897 {demo => examples/demo}/demos/data/gnome-gsame.png | Bin
1898 {demo => examples/demo}/demos/data/gnu-keys.png | Bin
1899 {demo => examples/demo}/demos/data/gtk-logo-rgb.gif | Bin
1900 {demo => examples/demo}/demos/data/reset.css | 0
1901 {demo => examples/demo}/demos/dialogs.py | 0
1902 {demo => examples/demo}/demos/drawingarea.py | 0
1903 {demo => examples/demo}/demos/expander.py | 0
1904 {demo => examples/demo}/demos/flowbox.py | 0
1905 {demo => examples/demo}/demos/images.py | 0
1906 {demo => examples/demo}/demos/infobars.py | 0
1907 {demo => examples/demo}/demos/links.py | 0
1908 {demo => examples/demo}/demos/menus.py | 0
1909 {demo => examples/demo}/demos/pickers.py | 0
1910 {demo => examples/demo}/demos/pixbuf.py | 0
1911 {demo => examples/demo}/demos/printing.py | 0
1912 {demo => examples/demo}/demos/rotatedtext.py | 0
1913 {demo => examples/demo}/demos/test.py | 0
1914 64 files changed, 7 insertions(+), 3 deletions(-)
1916 commit f8ff3b5e0e769e6db1509426af28728129780529
1917 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
1918 Date: Thu Sep 4 08:51:10 2014 +0100
1920 demo: Add new Gtk.FlowBox example
1922 Added a new example for the Gtk.FlowBox class added in GTK+ 3.12.
1923 This example additionally makes use of Gtk.HeaderBar.
1925 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1927 demo/demos/flowbox.py | 750
1928 ++++++++++++++++++++++++++++++++++++++++++++++++++
1929 1 file changed, 750 insertions(+)
1931 commit 3f4a176c77a8026949c04d85d0a822554c4c661c
1932 Author: Simon Feltman <sfeltman@src.gnome.org>
1933 Date: Tue Sep 2 10:53:29 2014 -0700
1935 demo: Use HeaderBar for main app window
1937 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1939 demo/demo.py | 23 +++++++++++------------
1940 1 file changed, 11 insertions(+), 12 deletions(-)
1942 commit 995f1e72eed0970d56d871ed8452c61f92a40696
1943 Author: Simon Feltman <sfeltman@src.gnome.org>
1944 Date: Tue Sep 2 11:10:31 2014 -0700
1946 demo: PyFlakes and PEP8 fixes
1948 Since PyFlakes and PEP8 are not currently run on the demo due to it
1949 not being packaged, manually check and fix this for now.
1951 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1954 demo/demos/Entry/entry_buffer.py | 2 +-
1955 demo/demos/Entry/entry_completion.py | 2 +-
1956 demo/demos/clipboard.py | 6 +-----
1957 demo/demos/combobox.py | 2 +-
1958 5 files changed, 5 insertions(+), 9 deletions(-)
1960 commit 5d2ce69ed51aec62872ebb2a129c2b8a6b4256af
1961 Author: Simon Feltman <sfeltman@src.gnome.org>
1962 Date: Tue Sep 2 11:01:55 2014 -0700
1964 demo: Rename gtk-demo.py to demo.py
1966 Remove GTK+ specificity which also allows the demo app to be used as
1967 one of the demos itself.
1969 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1971 demo/{gtk-demo.py => demo.py} | 0
1972 1 file changed, 0 insertions(+), 0 deletions(-)
1974 commit 7e48d91a5e1f180cbe4adea41bd41939c26c77b0
1975 Author: Simon Feltman <sfeltman@src.gnome.org>
1976 Date: Mon Sep 1 22:04:29 2014 -0700
1978 demo: Rename demos/gtk-demo to simply demo
1980 Move the entire "pygobject/demos/gtk-demo" folder to "pygobject/demo".
1981 Since we only have a single demo app which should be used for all
1982 platform demos we can remove the diectory obfuscation.
1984 https://bugzilla.gnome.org/show_bug.cgi?id=735918
1986 {demos/gtk-demo => demo}/demos/Css/__init__.py | 0
1987 {demos/gtk-demo => demo}/demos/Css/css_accordion.py | 0
1988 {demos/gtk-demo => demo}/demos/Css/css_basics.py | 0
1989 {demos/gtk-demo => demo}/demos/Css/css_multiplebgs.py | 0
1990 {demos/gtk-demo => demo}/demos/Entry/__init__.py | 0
1991 {demos/gtk-demo => demo}/demos/Entry/entry_buffer.py | 0
1992 {demos/gtk-demo => demo}/demos/Entry/entry_completion.py | 0
1993 {demos/gtk-demo => demo}/demos/Entry/search_entry.py | 0
1994 {demos/gtk-demo => demo}/demos/IconView/__init__.py | 0
1995 {demos/gtk-demo => demo}/demos/IconView/iconviewbasics.py | 0
1996 {demos/gtk-demo => demo}/demos/IconView/iconviewedit.py | 0
1997 {demos/gtk-demo => demo}/demos/TreeView/__init__.py | 0
1998 {demos/gtk-demo => demo}/demos/TreeView/liststore.py | 0
1999 .../gtk-demo => demo}/demos/TreeView/treemodel_filelist.py | 0
2000 .../gtk-demo => demo}/demos/TreeView/treemodel_filetree.py | 0
2001 {demos/gtk-demo => demo}/demos/TreeView/treemodel_large.py | 0
2002 {demos/gtk-demo => demo}/demos/__init__.py | 0
2003 {demos/gtk-demo => demo}/demos/appwindow.py | 0
2004 {demos/gtk-demo => demo}/demos/assistant.py | 0
2005 {demos/gtk-demo => demo}/demos/builder.py | 0
2006 {demos/gtk-demo => demo}/demos/button_box.py | 0
2007 {demos/gtk-demo => demo}/demos/clipboard.py | 0
2008 {demos/gtk-demo => demo}/demos/colorselector.py | 0
2009 {demos/gtk-demo => demo}/demos/combobox.py | 0
2010 {demos/gtk-demo => demo}/demos/data/alphatest.png | Bin
2011 {demos/gtk-demo => demo}/demos/data/apple-red.png | Bin
2012 {demos/gtk-demo => demo}/demos/data/background.jpg | Bin
2013 {demos/gtk-demo => demo}/demos/data/brick.png | Bin
2014 {demos/gtk-demo => demo}/demos/data/brick2.png | Bin
2015 {demos/gtk-demo => demo}/demos/data/css_accordion.css | 0
2016 {demos/gtk-demo => demo}/demos/data/css_basics.css | 0
2017 {demos/gtk-demo => demo}/demos/data/css_multiplebgs.css | 0
2018 {demos/gtk-demo => demo}/demos/data/cssview.css | 0
2019 {demos/gtk-demo => demo}/demos/data/demo.gresource | Bin
2020 {demos/gtk-demo => demo}/demos/data/demo.gresource.xml | 0
2021 {demos/gtk-demo => demo}/demos/data/demo.ui | 0
2022 {demos/gtk-demo => demo}/demos/data/floppybuddy.gif | Bin
2023 {demos/gtk-demo => demo}/demos/data/gnome-applets.png | Bin
2024 {demos/gtk-demo => demo}/demos/data/gnome-calendar.png | Bin
2025 {demos/gtk-demo => demo}/demos/data/gnome-foot.png | Bin
2026 {demos/gtk-demo => demo}/demos/data/gnome-fs-directory.png | Bin
2027 {demos/gtk-demo => demo}/demos/data/gnome-fs-regular.png | Bin
2028 {demos/gtk-demo => demo}/demos/data/gnome-gimp.png | Bin
2029 {demos/gtk-demo => demo}/demos/data/gnome-gmush.png | Bin
2030 {demos/gtk-demo => demo}/demos/data/gnome-gsame.png | Bin
2031 {demos/gtk-demo => demo}/demos/data/gnu-keys.png | Bin
2032 {demos/gtk-demo => demo}/demos/data/gtk-logo-rgb.gif | Bin
2033 {demos/gtk-demo => demo}/demos/data/reset.css | 0
2034 {demos/gtk-demo => demo}/demos/dialogs.py | 0
2035 {demos/gtk-demo => demo}/demos/drawingarea.py | 0
2036 {demos/gtk-demo => demo}/demos/expander.py | 0
2037 {demos/gtk-demo => demo}/demos/images.py | 0
2038 {demos/gtk-demo => demo}/demos/infobars.py | 0
2039 {demos/gtk-demo => demo}/demos/links.py | 0
2040 {demos/gtk-demo => demo}/demos/menus.py | 0
2041 {demos/gtk-demo => demo}/demos/pickers.py | 0
2042 {demos/gtk-demo => demo}/demos/pixbuf.py | 0
2043 {demos/gtk-demo => demo}/demos/printing.py | 0
2044 {demos/gtk-demo => demo}/demos/rotatedtext.py | 0
2045 {demos/gtk-demo => demo}/demos/test.py | 0
2046 {demos/gtk-demo => demo}/gtk-demo.py | 0
2047 61 files changed, 0 insertions(+), 0 deletions(-)
2049 commit 1ea36ccfc755693b9ce4cf28be549704bf5370d3
2050 Author: Christoph Reiter <creiter@src.gnome.org>
2051 Date: Wed Dec 6 16:54:54 2017 +0100
2055 No need to duplicate that information over and over.
2056 It's in the README and .doap file still
2058 AUTHORS | 11 -----------
2061 3 files changed, 2 insertions(+), 14 deletions(-)
2063 commit 9462873823a5459276400c0d6cf11e084b681751
2064 Author: Christoph Reiter <creiter@src.gnome.org>
2065 Date: Wed Dec 6 15:55:54 2017 +0100
2067 Remove pre-commit.hook
2069 It was obviously not used in some time as the git command doesn't
2071 If we ever get per pull/merge request CI we can look into bringing
2076 pre-commit.hook | 39 ---------------------------------------
2077 2 files changed, 40 deletions(-)
2079 commit 3e455944f5835c750911d3178a0607201f23f1a8
2080 Author: Christoph Reiter <creiter@src.gnome.org>
2081 Date: Mon Dec 4 15:33:00 2017 +0100
2083 setup.py: Port to distutils/setuptools
2085 Instead of wrapping autotools add a proper setuptools based build
2087 Compared to the autotools one this does not install .pc files
2089 and does not allow running tests.
2091 It uses pkg-config for discovering dependencies and explictely
2093 for .pc files in the Python prefix so that pycairo installations in a
2094 virtualenv are discovered. When using MSVC, pkg-config is skipped and
2095 it is assumend that INCLUDE and LIB is properly set up.
2097 Version information and requirements are parsed from configure.ac,
2099 metadata is parsed from PKG-INFO.in.
2101 Also adds a "setup.py distcheck" command which makes sure all
2103 end up in the tarball and that the tarball builds (no tests are
2106 https://bugzilla.gnome.org/show_bug.cgi?id=789211
2109 MANIFEST.in | 20 +++
2114 +++++++++++++++++++++++++++++++++++++++++++++++------------
2115 6 files changed, 359 insertions(+), 85 deletions(-)
2117 commit 58f677bfaa0f117465a9e2146c5d83768b5a76ac
2118 Author: Christoph Reiter <creiter@src.gnome.org>
2119 Date: Fri Nov 24 13:11:26 2017 +0100
2121 Install a default SIGINT handler for functions which start an
2124 Currently ctrl+c on a program blocked on Gtk.main() will raise
2126 but not return control. While it's easy to set up the proper signal
2128 stop the event loop or execute some other application shutdown code
2129 it's nice to have a good default behaviour for small
2131 or when testing some code in an interactive console.
2133 This adds a context manager which registers a SIGINT handler only
2135 the default Python signal handler is active and restores the
2137 afterwards. Since signal handlers registered through
2139 are not detected by Python's signal module we use PyOS_getsig()
2141 to detect if the signal handler is changed from outside.
2143 In case of nested event loops, all of them will be aborted.
2144 In case an event loop is started in a thread, nothing will happen.
2146 The context manager is used in the overrides for Gtk.main(),
2148 Gio.Application.run() and GLib.MainLoop.run()
2150 This also fixes GLib.MainLoop.run() replacing a non-default signal
2152 and not restoring the default one:
2153 https://bugzilla.gnome.org/show_bug.cgi?id=698623
2155 https://bugzilla.gnome.org/show_bug.cgi?id=622084
2157 gi/_ossighelper.py | 115
2158 +++++++++++++++++++++++++++++++++++++++++++++++++++
2159 gi/overrides/GLib.py | 31 +++-----------
2160 gi/overrides/Gio.py | 7 ++--
2161 gi/overrides/Gtk.py | 12 +++---
2162 tests/test_ossig.py | 73 +++++++++++++++++++++++++++++++-
2163 5 files changed, 203 insertions(+), 35 deletions(-)
2165 commit a321f6e9d8f5b8e779892eab4ce759b60ff98e39
2166 Author: Christoph Reiter <creiter@src.gnome.org>
2167 Date: Fri Nov 17 20:05:24 2017 +0100
2169 Make Python OS signal handlers run when an event loop is idling
2171 When Python receives a signal such as SIGINT it sets a flag and
2173 the registered signal handler on the next call to
2174 PyErr_CheckSignals().
2175 In case the main thread is blocked by an idling event loop (say
2177 or Gtk.Dialog.run()) the check never happens and the signal handler
2178 will not get executed.
2180 To work around the issue use signal.set_wakeup_fd() to wake up
2182 event loop when a signal is received, which will invoke a Python
2184 which will lead to the signal handler being executed.
2186 This patch enables it in overrides for Gtk.main(), Gtk.Dialog.run(),
2187 Gio.Application.run() and GLib.MainLoop.run().
2189 Works on Unix, and on Windows with Python 3.5+.
2191 With this fix in place it is possible to have a cross platform way to
2192 react to SIGINT (GLib.unix_signal_add() worked, but not on Windows),
2195 signal.signal(signal.SIGINT, lambda *args: Gtk.main_quit())
2198 https://bugzilla.gnome.org/show_bug.cgi?id=622084
2201 gi/_ossighelper.py | 137
2202 +++++++++++++++++++++++++++++++++++++++++++++++++++
2203 gi/overrides/GLib.py | 4 +-
2204 gi/overrides/Gio.py | 12 +++++
2205 gi/overrides/Gtk.py | 14 ++++++
2206 tests/Makefile.am | 1 +
2207 tests/test_ossig.py | 102 ++++++++++++++++++++++++++++++++++++++
2208 7 files changed, 271 insertions(+), 2 deletions(-)
2210 commit 46a9dade170127006df98d44b1a9fb2035ada86b
2211 Author: Christoph Reiter <creiter@src.gnome.org>
2212 Date: Fri Nov 24 17:40:11 2017 +0100
2214 Drop Python 3.3 support
2216 It's EOL and not used much (https://hynek.me/articles/python3-2016/)
2218 https://bugzilla.gnome.org/show_bug.cgi?id=790787
2221 1 file changed, 1 insertion(+), 1 deletion(-)
2223 commit bd165405754ba44dea12fd3f31b841b5c8ba0f1a
2224 Author: Sander Sweers <infirit@gmail.com>
2225 Date: Sun Aug 20 22:44:15 2017 +0200
2227 Drop set_value usage in Gtk.List/TreeStore.set override
2229 this causes multiple updates to the store each emitting a signal.
2231 https://bugzilla.gnome.org/show_bug.cgi?id=790346
2233 gi/overrides/Gtk.py | 48
2234 ++++++++++++++++++++++++---------------------
2235 tests/test_overrides_gtk.py | 12 ++++++++++++
2236 2 files changed, 38 insertions(+), 22 deletions(-)
2238 commit 5f63b8c626eb7f27de346dac2b66f07794e61b07
2239 Author: Christoph Reiter <creiter@src.gnome.org>
2240 Date: Thu Oct 26 17:24:02 2017 +0200
2242 pygobject-object: Fix Python GC collecting a ref cycle too early
2244 PyGObject traverses its closures in tp_traverse, but the lifetime
2246 is tied to the lifetime of the GObject and not the wrapper. This
2248 the Python GC when it sees a ref cycle and tries to break it up
2250 Since tp_clear will not invalidate the closure and only invalidate
2252 wrapper the closure callback gets called with the now cleared/invalid
2255 Instead let the GC only check the Python objects referenced by the
2256 closure when tp_clear
2257 would actually free them and as a result break the cycle. This is
2259 the wrapped object would be freed by tp_clear which is when its
2260 reference count is at 1.
2262 Original patch by Gustavo Carneiro:
2263 https://bugzilla.gnome.org/show_bug.cgi?id=546802#c5
2265 https://bugzilla.gnome.org/show_bug.cgi?id=731501
2267 gi/pygobject-object.c | 6 ++++--
2268 tests/test_signal.py | 29 ++++++++++++++++++++++++++++-
2269 2 files changed, 32 insertions(+), 3 deletions(-)
2271 commit f13b0d6e0d97e21aa2a4553a036362dec9d0c4cb
2272 Author: Daniel Colascione <dancol@dancol.org>
2273 Date: Tue Oct 24 14:42:43 2017 +0200
2275 Fix potential uninitialized memory access during GC
2277 We use _PyGIDefaultArgPlaceholder as a sentinel value to represent
2279 values during function argument list construction. Right now, it's
2281 type object. We make it using PyObject_New, so most of its fields
2283 uninitialized. The object body being uninitialized wouldn't be a
2285 the placeholder object were unreachable, but the object *can*
2287 during GC by traversal through frame objects.
2289 Depending on the exact contents of the uninitialized memory, the GC
2291 to cause other kinds of memory corruption through the process.
2293 IMHO, the easiest fix for this problem is to just make the
2295 simpler data structure, like a list.
2297 https://bugzilla.gnome.org/show_bug.cgi?id=786872
2299 gi/gimodule.c | 2 +-
2300 1 file changed, 1 insertion(+), 1 deletion(-)
2302 commit 280e80c54e6f2c91638195b92736f5c2b34bbbbd
2303 Author: Christoph Reiter <creiter@src.gnome.org>
2304 Date: Thu Oct 26 09:35:09 2017 +0200
2306 test: revert parts of the previous test as it's broken on 32 bit
2309 The int based flag type can't represent the flag value on 32 bit,
2310 some more work is needed there. Remove that check again for now.
2312 https://bugzilla.gnome.org/show_bug.cgi?id=786948
2314 tests/test_gi.py | 1 -
2315 1 file changed, 1 deletion(-)
2317 commit 5f41add624990255dfebf2d726af946599f7bcf6
2318 Author: Christoph Reiter <creiter@src.gnome.org>
2319 Date: Mon Oct 23 12:41:45 2017 +0200
2321 flags: Add testcase for bug 786948
2323 Add a flags type which has a value with the highes bit set
2324 and fits in an int. While the C type is a signed int, the type
2325 is registered as flags, which GI interprets as unsigned.
2327 https://bugzilla.gnome.org/show_bug.cgi?id=786948
2329 tests/gimarshallingtestsextra.c | 29 +++++++++++++++++++++++++++++
2330 tests/gimarshallingtestsextra.h | 11 +++++++++++
2331 tests/test_gi.py | 5 +++++
2332 3 files changed, 45 insertions(+)
2334 commit 0695d234b0e3e9b0f15a7548816c5c4c96a41ab5
2335 Author: Philippe Renon <philippe_renon@yahoo.fr>
2336 Date: Thu Aug 31 16:39:08 2017 +0200
2338 fix potential overflow when marshalling flags from py interface
2340 the overflow happens on windows platforms when an unsigned
2341 flags value overflows the capacity of a signed long
2342 on windows long is a 32-bit signed integer.
2344 fixes https://bugzilla.gnome.org/show_bug.cgi?id=786948
2346 gi/pygi-enum-marshal.c | 8 ++++----
2347 1 file changed, 4 insertions(+), 4 deletions(-)
2349 commit 1bf7d2cddcd24f619a268d0af85d7919d72bacba
2350 Author: Christoph Reiter <creiter@src.gnome.org>
2351 Date: Sun Oct 22 17:59:17 2017 +0200
2353 to_py_array: Properly handle enum array items
2355 It used the fallback path and copied pointers.
2356 Do the same thing we do for integer items instead.
2358 https://bugzilla.gnome.org/show_bug.cgi?id=788890
2360 gi/pygi-array.c | 3 +++
2361 tests/gimarshallingtestsextra.c | 21 +++++++++++++++++++++
2362 tests/gimarshallingtestsextra.h | 2 ++
2363 tests/test_gi.py | 6 ++++++
2364 4 files changed, 32 insertions(+)
2366 commit e502d0097f28e6c65d3d5120230fb428aabbc083
2367 Author: Christoph Reiter <creiter@src.gnome.org>
2368 Date: Fri Oct 20 09:48:07 2017 +0200
2370 pygobject.doap: Add myself as maintainer
2372 pygobject.doap | 7 +++++++
2373 1 file changed, 7 insertions(+)
2375 commit 37db51220668238e4870b7220b496803d942691b
2376 Author: James Clarke <jrtc27@jrtc27.com>
2377 Date: Fri Oct 13 18:04:45 2017 +0100
2379 closure: Fix unaligned and out-of-bounds access
2381 When the direction is FROM_PYTHON, a whole GIArgument was being loaded
2382 from the address given by the argument, but like any other case, this
2383 could point to different types, and so could run off the end of the
2384 pointed-to value, and, more importantly, be performing an unaligned
2385 access, causing it to crash with SIGBUS on sparc64 when running
2386 test_callback_scope_call_array_inout. Instead, reuse the existing code
2387 for the TO_PYTHON case to do the copying into arg_value based on the
2390 https://bugzilla.gnome.org/show_bug.cgi?id=788894
2392 gi/pygi-closure.c | 40 +++++++++++++++++++++-------------------
2393 1 file changed, 21 insertions(+), 19 deletions(-)
2395 commit 3c791a5d4b17d647a531de04469d04f77fce0548
2396 Author: Christoph Reiter <creiter@src.gnome.org>
2397 Date: Fri Oct 13 19:24:01 2017 +0200
2399 build: Fix not installing .egg-info file
2401 While removing the egg target in 49cc3643819dad0d065d I wrongfully
2402 removed that part as well. While the file extension has "egg" in
2403 it it has nothing to do with eggs..
2405 https://bugzilla.gnome.org/show_bug.cgi?id=777719
2407 Makefile.am | 7 +++++++
2408 1 file changed, 7 insertions(+)
2410 commit c4995493c233225b1fa5a3e5406e78d02e3b86e6
2411 Author: Christoph Reiter <creiter@src.gnome.org>
2412 Date: Fri Oct 13 17:22:02 2017 +0200
2414 Drop pygobject-3.0-uninstalled.pc file
2416 Like glib/gtk+ did in 2011:
2417 https://git.gnome.org/browse/glib/commit/?id=306aa62ea5fa4d3a57bca419afcc159f9509b476
2420 pygobject-3.0-uninstalled.pc.in | 12 ------------
2421 2 files changed, 13 deletions(-)
2423 commit 3363049be9d8cd277b33127427694588598aa6dd
2424 Author: Christoph Reiter <creiter@src.gnome.org>
2425 Date: Fri Oct 13 16:08:01 2017 +0200
2429 some fallout from fd5f2a09ce48329d2df191eca9a0cea926ddfb5b
2431 tests/test_everything.py | 2 +-
2432 1 file changed, 1 insertion(+), 1 deletion(-)
2434 commit fd5f2a09ce48329d2df191eca9a0cea926ddfb5b
2435 Author: Christoph Reiter <creiter@src.gnome.org>
2436 Date: Fri Oct 13 15:29:40 2017 +0200
2438 tests: some more C locale fixes
2440 see f40df0a09803ec9c729d842f1f83c6d56aebac22
2442 tests/test_everything.py | 8 +++++++-
2443 tests/test_gi.py | 6 ++++--
2444 2 files changed, 11 insertions(+), 3 deletions(-)
2446 commit f40df0a09803ec9c729d842f1f83c6d56aebac22
2447 Author: Christoph Reiter <creiter@src.gnome.org>
2448 Date: Fri Oct 13 14:32:44 2017 +0200
2450 tests: Make the test suite pass with the C locale
2452 Some filename tests assumed a Unicode locale, skip those.
2454 tests/test_gi.py | 29 +++++++++++++++++++++++++----
2455 1 file changed, 25 insertions(+), 4 deletions(-)
2457 commit 857fb023886476988d99d35c92894cdbc1bbeab2
2458 Author: Christoph Reiter <creiter@src.gnome.org>
2459 Date: Tue Sep 12 08:35:12 2017 +0200
2461 configure.ac: post-release version bump to 3.27.0
2464 1 file changed, 1 insertion(+), 1 deletion(-)
2466 commit 47af078546b1e9e4396bdea877c1cf0f21708818
2467 Author: Christoph Reiter <creiter@src.gnome.org>
2468 Date: Tue Sep 12 08:31:22 2017 +0200
2473 1 file changed, 9 insertions(+)
2475 commit 9580b2f1e447cea2d50f8ab83a715b29e4e862e6
2476 Author: Christoph Reiter <creiter@src.gnome.org>
2477 Date: Tue Sep 12 08:25:25 2017 +0200
2479 configure.ac: pre-release version bump to 3.26.0
2481 configure.ac | 4 ++--
2482 1 file changed, 2 insertions(+), 2 deletions(-)
2484 commit a541a916ce798cd779ed17f015f6902e66c4454c
2485 Author: Christoph Reiter <creiter@src.gnome.org>
2486 Date: Fri Aug 25 18:21:47 2017 +0200
2488 closure: silence a new compiler warning
2490 gcc7 has started to warn for fallthrough in switch. Prevent this
2491 by duplicating the default case + break.
2493 gi/pygi-closure.c | 4 ++--
2494 1 file changed, 2 insertions(+), 2 deletions(-)
2496 commit c0e42240cd72c012a740f26dc3fb0eef98328110
2497 Author: Christoph Reiter <creiter@src.gnome.org>
2498 Date: Fri Aug 25 18:17:33 2017 +0200
2500 tests: skip some failing test under Windows with Python 3.6
2502 Python 3.6 has changed the default filesystem encoding on Windows
2503 from mbcs to utf-8. Some tests assume mbcs, so skip them for now.
2505 tests/test_gi.py | 24 +++++++++++++++++-------
2506 1 file changed, 17 insertions(+), 7 deletions(-)
2508 commit 0fe781efdd46386f7c373b6073d30411025e2854
2509 Author: Christoph Reiter <creiter@src.gnome.org>
2510 Date: Tue Aug 22 13:02:43 2017 +0200
2512 tests: pyflakes/pep8 fixes
2514 Make Python 3 pyflakes work by adding Python 2 builtins
2515 through PYFLAKES_BUILTINS.
2517 Makefile.am | 4 ++--
2518 tests/test_import_machinery.py | 4 ++--
2519 2 files changed, 4 insertions(+), 4 deletions(-)
2521 commit 20430e87c66b03ac05fbab8283a3771ce8364ad8
2522 Author: Christoph Reiter <creiter@src.gnome.org>
2523 Date: Fri Jun 9 13:13:57 2017 +0200
2525 tests: Fix cairo test with pycairo >= 1.13
2527 All pycairo functions now return an enum value which type is an int
2528 subclass. Remove the overly strict check for the return value type.
2530 tests/test_cairo.py | 2 +-
2531 1 file changed, 1 insertion(+), 1 deletion(-)
2533 commit 9cbf370d0034bffa60be67f6d47eee94e4045c18
2534 Author: Benjamin Berg <bberg@redhat.com>
2535 Date: Fri Apr 21 13:35:05 2017 +0200
2537 Make sure version information passed to require_version is a string.
2539 This simply makes it easier for someone to find an error in cases
2541 a floating point is passed by accident.
2543 https://bugzilla.gnome.org/show_bug.cgi?id=781582
2545 gi/__init__.py | 7 +++++++
2546 tests/test_import_machinery.py | 12 ++++++++++++
2547 2 files changed, 19 insertions(+)
2549 commit 5e2bb06086c6bfa2bcb1a47f4c963d336630d12e
2550 Author: Christoph Reiter <creiter@src.gnome.org>
2551 Date: Sat Apr 22 15:56:37 2017 +0200
2553 configure.ac: post-release version bump to 3.25.2
2556 1 file changed, 1 insertion(+), 1 deletion(-)
2558 commit 31d7e92a24400a5d03f05912fdd8fd625082a837
2559 Author: Christoph Reiter <creiter@src.gnome.org>
2560 Date: Fri Apr 21 18:30:12 2017 +0200
2565 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2567 2 files changed, 60 insertions(+), 1 deletion(-)
2569 commit fc451f235754a98c647972f0a03e11eaefca4cef
2570 Author: Christoph Reiter <creiter@src.gnome.org>
2571 Date: Wed Apr 19 15:04:30 2017 +0200
2573 Bump pycairo requirement to 1.11.1
2575 This requires pycairo from https://pycairo.readthedocs.io/en/latest/
2576 (already updated/included in JHBuild)
2578 For more info on the upstream change see:
2579 https://lists.cairographics.org/archives/cairo/2017-April/027919.html
2580 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00065.html
2582 This will enable cairo.Region support for all setups and Python
2584 as make moving to Python 3 easier for applications since all APIs
2586 under Python 2 are available there as well now.
2588 https://bugzilla.gnome.org/show_bug.cgi?id=707196
2590 configure.ac | 7 +++----
2591 1 file changed, 3 insertions(+), 4 deletions(-)
2593 commit 36e786e1a2305c001c8c067adfee9d731c2ec0fb
2594 Author: Christoph Reiter <creiter@src.gnome.org>
2595 Date: Thu Apr 20 09:43:50 2017 +0200
2597 configure.ac: Always disable -Werror
2599 Instead of disabling it for release builds do it always.
2600 While JHBuild uses --disable-Werror by default, gnome-continuous
2604 https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00009.html
2606 configure.ac | 4 +++-
2607 1 file changed, 3 insertions(+), 1 deletion(-)
2609 commit a2cb674334267e3eaeac5b2ce849c4a38cc1b428
2610 Author: Christoph Reiter <creiter@src.gnome.org>
2611 Date: Sun Apr 9 18:48:33 2017 +0200
2613 foreign-cairo: Enable cairo.Region support also on Python 2 if
2616 The next pycairo version might add support for cairo_region_t.
2617 This enables the converter functions also on Python 2 and makes
2618 sure that the test suite does not crash in case it does.
2620 gi/pygi-foreign-cairo.c | 4 ++--
2621 1 file changed, 2 insertions(+), 2 deletions(-)
2623 commit 3460081ed20b33b3a08c4fce5de135f1171f2ff0
2624 Author: Christoph Reiter <creiter@src.gnome.org>
2625 Date: Sun Apr 2 15:51:25 2017 +0200
2627 configure.ac: remove unused PLATFORM variable
2629 This was added in 93e7d047e
2631 configure.ac | 3 ---
2632 1 file changed, 3 deletions(-)
2634 commit 810392173ce20f8a7935966b46df483742e73f23
2635 Author: Christoph Reiter <creiter@src.gnome.org>
2636 Date: Sun Apr 2 15:25:56 2017 +0200
2638 configure.ac: Remove unused PySignal_SetWakeupFd check
2640 HAVE_PYSIGNAL_SETWAKEUPFD isn't used anywhere
2642 configure.ac | 12 ------------
2643 1 file changed, 12 deletions(-)
2645 commit 52693463749f045355a7ddeace033d369fe2e786
2646 Author: Christoph Reiter <creiter@src.gnome.org>
2647 Date: Sun Apr 2 14:13:08 2017 +0200
2649 tests: remove python 2.5/3.2 compat code
2651 2.7/3.3 support the u/b prefixes and both have callable()
2653 gi/overrides/Gtk.py | 4 +---
2654 tests/compathelper.py | 40 ----------------------------------------
2655 tests/helper.py | 2 +-
2656 tests/test_fields.py | 6 ++----
2657 tests/test_gi.py | 26 +++++++++-----------------
2658 tests/test_glib.py | 12 +++++-------
2659 tests/test_iochannel.py | 21 +++++++++------------
2660 tests/test_mainloop.py | 4 +---
2661 tests/test_overrides_gtk.py | 13 ++++++-------
2662 tests/test_properties.py | 29 ++++++++++++-----------------
2663 10 files changed, 46 insertions(+), 111 deletions(-)
2665 commit 1039e9a512d1df35e9c4656b0b41c1e4a25aafad
2666 Author: Christoph Reiter <creiter@src.gnome.org>
2667 Date: Sun Apr 2 14:04:39 2017 +0200
2669 configure.ac: Require Python 3.3
2671 At the time of the next release nothing will support 3.2 anymore.
2674 1 file changed, 1 insertion(+), 1 deletion(-)
2676 commit e98558a6843b68115d68d3bc92dad271b74ef6d0
2677 Author: Christoph Reiter <creiter@src.gnome.org>
2678 Date: Sun Apr 2 13:22:32 2017 +0200
2680 tests: Make test suite run with GTK+ 4
2682 Skip various tests which test things that are no longer available
2684 Does not remove any deprecated overrides.
2686 Disable gtk4 support in pygtkcompat. The porting path over gtk3
2689 gi/overrides/Gdk.py | 3 ++
2690 pygtkcompat/pygtkcompat.py | 3 ++
2691 tests/compat_test_pygtk.py | 4 +-
2692 tests/test_atoms.py | 1 +
2693 tests/test_overrides_gdk.py | 7 +++
2694 tests/test_overrides_gtk.py | 107
2695 +++++++++++++++++++++++++++++++++-----------
2696 6 files changed, 98 insertions(+), 27 deletions(-)
2698 commit c3159accf3faa2bd804ac22ec7ac93e62b158a3e
2699 Author: Christoph Reiter <creiter@src.gnome.org>
2700 Date: Sun Apr 2 13:17:36 2017 +0200
2702 tests: always call require_version; add TEST_GTK_VERSION env var
2704 Set the versions in runtests.py instead of repeating it in every
2707 Add a new TEST_GTK_VERSION env var which defaults to "3.0".
2708 Allows to run tests with gtk4 using "make check TEST_GTK_VERSION=4.0"
2710 tests/compat_test_pygtk.py | 6 ------
2711 tests/runtests.py | 26 ++++++++++++++++++++++++++
2712 tests/test_atoms.py | 7 +++----
2713 tests/test_overrides_gtk.py | 8 +++-----
2714 tests/test_overrides_pango.py | 7 +------
2715 tests/test_properties.py | 6 +-----
2716 tests/test_repository.py | 4 ----
2717 7 files changed, 34 insertions(+), 30 deletions(-)
2719 commit c89fa35814103a4ceefece8e305af4f9e0dd6a37
2720 Author: Christoph Reiter <creiter@src.gnome.org>
2721 Date: Sun Apr 2 10:57:34 2017 +0200
2723 tests: Fix make check.valgrind
2725 Got broken when we changed to use dbus-run-session. Move
2726 valgrind related env vars before the dbus launcher helper.
2728 This also tries to improve the lookup of the suppression file.
2729 Instead of relying on the basename of the python binary use the python
2730 major version to select one of two suppression files in the repo.
2732 Add PYTHONMALLOC=malloc when running under valgrind, which makes
2734 use malloc instead of its own allocator. Only works with Python 3.6+.
2737 tests/Makefile.am | 22 +-
2738 tests/{python2.7.supp => python2.supp} | 0
2739 tests/python3.3dm.supp | 471
2740 ---------------------------------
2741 tests/{python3.3.supp => python3.supp} | 0
2742 5 files changed, 14 insertions(+), 484 deletions(-)
2744 commit 7c774ce5ce9ec5cda61e10a704b28f0b82df1b03
2745 Author: Christoph Reiter <creiter@src.gnome.org>
2746 Date: Sun Apr 2 10:54:48 2017 +0200
2748 tests: Don't skip Regress tests when cairo is missing
2751 https://git.gnome.org/browse/pygobject/commit/?id=a731db5908b79b97277be4f5138b46010c2dd616
2752 we build libregress even if cairo is missing.
2754 Instead of skipping regress tests when cairo is missing only skip
2758 tests/test_cairo.py | 3 +--
2759 tests/test_docstring.py | 10 +++-------
2760 tests/test_everything.py | 17 +----------------
2761 tests/test_import_machinery.py | 7 +------
2762 tests/test_properties.py | 32 +++++++++++---------------------
2763 tests/test_repository.py | 10 ----------
2764 tests/test_signal.py | 15 +--------------
2765 7 files changed, 18 insertions(+), 76 deletions(-)
2767 commit c2be3cbefbbacb52758b49338be61d093a896d09
2768 Author: Christoph Reiter <creiter@src.gnome.org>
2769 Date: Sun Apr 2 10:52:41 2017 +0200
2771 tests: fix invalid regex escaping
2773 Python 3.6 got stricter here and raises warnings/errors for invalid
2777 tests/helper.py | 4 ++--
2778 tests/test_gi.py | 24 ++++++++++++------------
2779 2 files changed, 14 insertions(+), 14 deletions(-)
2781 commit b7d504c3ef689a79448c9f6597ae59153a77104f
2782 Author: Christoph Reiter <creiter@src.gnome.org>
2783 Date: Sat Apr 1 18:11:46 2017 +0200
2785 tests: avoid mapping a GtkWindow
2787 This let to a window being shown when running the test suite.
2789 https://bugzilla.gnome.org/show_bug.cgi?id=780812
2791 tests/test_overrides_gdk.py | 3 ++-
2792 1 file changed, 2 insertions(+), 1 deletion(-)
2794 commit a2b3d846fab3a4b660eefbe3555933afe6d9c90a
2795 Author: Christoph Reiter <creiter@src.gnome.org>
2796 Date: Sat Apr 1 18:06:47 2017 +0200
2798 tests: silence some glib deprecation warnings
2800 These functions were deprecated in the last few cycles.
2801 This hides the warnings when running the test suite.
2803 https://bugzilla.gnome.org/show_bug.cgi?id=780812
2805 tests/test_atoms.py | 7 +++++--
2806 tests/test_overrides_gtk.py | 6 ++++--
2807 2 files changed, 9 insertions(+), 4 deletions(-)
2809 commit ed488be1f0bcd2d2ec1acf98f27585d8577ddc5f
2810 Author: Christoph Reiter <creiter@src.gnome.org>
2811 Date: Sat Apr 1 18:05:13 2017 +0200
2813 tests: avoid deprecation warnings for
2814 assertRegexpMatches/assertRaisesRegexp
2816 Replace them with the renamed variants. We can't switch because
2818 no non-deprecated variant available under both Python 2 and 3.
2820 https://bugzilla.gnome.org/show_bug.cgi?id=780812
2822 tests/runtests.py | 5 +++++
2823 1 file changed, 5 insertions(+)
2825 commit c39bf20cca3d1c6bcf89f93759772117d087b042
2826 Author: Christoph Reiter <creiter@src.gnome.org>
2827 Date: Sat Apr 1 17:49:01 2017 +0200
2829 pygi-source: clear exceptions in finalize handler
2831 This was executed in the context of Source.__del__ and while Python
2832 ignores errors there it started to warn with Python 3.
2834 This fixes the warnings visible when running test_source under
2837 https://bugzilla.gnome.org/show_bug.cgi?id=780812
2839 gi/pygi-source.c | 2 ++
2840 1 file changed, 2 insertions(+)
2842 commit d806a120998e9b38e96d02ab05d28051a441db61
2843 Author: Christoph Reiter <creiter@src.gnome.org>
2844 Date: Sat Apr 1 17:48:38 2017 +0200
2848 gi/_option.py | 2 +-
2849 1 file changed, 1 insertion(+), 1 deletion(-)
2851 commit b2529624b3925adbef2671025e08cbf747f162e8
2852 Author: Christoph Reiter <creiter@src.gnome.org>
2853 Date: Mon Mar 27 10:14:22 2017 +0200
2855 Remove gi._gi._gobject and gi._gobject modules
2857 Expose everything from _gi._gobject in _gi instead.
2858 This does not move any code around, just removes the module.
2860 Also removes the gi._gobject package and replaces it
2861 with a small dummy module in gi.__init__.py
2863 https://bugzilla.gnome.org/show_bug.cgi?id=735206
2866 gi/Makefile.am | 3 +-
2867 gi/__init__.py | 9 ++++--
2868 gi/_constants.py | 52 +++++++++++++++----------------
2869 gi/_gobject/Makefile.am | 16 ----------
2870 gi/_gobject/__init__.py | 23 --------------
2871 gi/_propertyhelper.py | 47 ++++++++++++++--------------
2872 gi/_signalhelper.py | 6 ++--
2873 gi/gimodule.c | 48 ++++++++++++++++++++++-------
2874 gi/gobjectmodule.c | 82
2875 +++++++++++--------------------------------------
2876 gi/gobjectmodule.h | 21 +++++++++++++
2877 gi/module.py | 6 ++--
2878 gi/overrides/GLib.py | 3 +-
2879 gi/overrides/GObject.py | 82
2880 ++++++++++++++++++++++++-------------------------
2881 gi/pygi-value.c | 2 +-
2882 gi/pygobject-object.c | 12 ++++----
2883 gi/types.py | 13 ++++----
2884 tests/helper.py | 4 +--
2885 tests/test_gi.py | 2 +-
2886 tests/test_gobject.py | 8 ++---
2887 20 files changed, 199 insertions(+), 241 deletions(-)
2889 commit bdfafd2bdc84d961bd2df43d8dee690177c77a56
2890 Author: Christoph Reiter <creiter@src.gnome.org>
2891 Date: Mon Mar 27 07:39:22 2017 +0200
2893 Remove gi._gi._glib module
2895 Move the code into gi._gi (gimodule)
2896 The module was a leftover from
2897 https://bugzilla.gnome.org/show_bug.cgi?id=712197
2899 https://bugzilla.gnome.org/show_bug.cgi?id=735206
2901 gi/Makefile.am | 1 -
2902 gi/_option.py | 12 +++++------
2903 gi/gimodule.c | 31 +++++++++++++++-------------
2904 gi/glibmodule.c | 56
2905 ---------------------------------------------------
2906 gi/overrides/GLib.py | 10 ++++-----
2907 gi/pygoptioncontext.c | 4 ++--
2908 gi/pygoptiongroup.c | 4 ++--
2909 gi/pygspawn.c | 14 ++++++-------
2910 8 files changed, 39 insertions(+), 93 deletions(-)
2912 commit 4ad6899bdca6fbd0fb7e88cd16b49367f7f41267
2913 Author: Christoph Reiter <creiter@src.gnome.org>
2914 Date: Mon Mar 27 06:41:19 2017 +0200
2916 GValue: add overflow checking for py -> gint; forward marshaling
2919 https://bugzilla.gnome.org/show_bug.cgi?id=769789
2921 gi/pygi-struct-marshal.c | 3 +--
2922 gi/pygi-value.c | 11 ++++++++++-
2923 tests/test_gi.py | 7 ++++++-
2924 3 files changed, 17 insertions(+), 4 deletions(-)
2926 commit 052cea9e2b6e599e52435df3155d8de22500e0f4
2927 Author: Christoph Reiter <creiter@src.gnome.org>
2928 Date: Sun Mar 26 19:34:00 2017 +0200
2930 pygobject_lookup_class: clear exceptions between calls and don't
2933 https://bugzilla.gnome.org/show_bug.cgi?id=773394
2935 gi/pygobject-object.c | 7 ++++++-
2936 1 file changed, 6 insertions(+), 1 deletion(-)
2938 commit 271e94b4e4cc9a9619015ef76880346ad7962ac4
2939 Author: Christoph Reiter <creiter@src.gnome.org>
2940 Date: Sat Apr 1 10:15:00 2017 +0200
2942 Avoid some new deprecation warnings
2944 https://bugzilla.gnome.org/show_bug.cgi?id=780768
2946 gi/gobjectmodule.c | 6 +++++-
2947 1 file changed, 5 insertions(+), 1 deletion(-)
2949 commit 81625ce4c0164dcb3409471fc38168147af4026a
2950 Author: Christoph Reiter <creiter@src.gnome.org>
2951 Date: Sun Mar 26 16:23:25 2017 +0200
2953 Raise RuntimeError in case an uninitilialized GObject.Object is
2956 One common case where this can happen is when subclassing a
2958 without chaining up __init__ and then calling a method.
2960 https://bugzilla.gnome.org/show_bug.cgi?id=730908
2962 gi/pygi-object.c | 6 ++++++
2963 tests/test_gobject.py | 6 ++++++
2964 2 files changed, 12 insertions(+)
2966 commit b23dea0981ab5718cb26d3a9f4f7bf8f593ac343
2967 Author: Christoph Reiter <creiter@src.gnome.org>
2968 Date: Sun Mar 26 19:11:33 2017 +0200
2970 closure: support unichar args
2972 https://bugzilla.gnome.org/show_bug.cgi?id=759276
2974 gi/pygi-closure.c | 3 +++
2975 tests/test_overrides_gtk.py | 14 ++++++++++++++
2976 2 files changed, 17 insertions(+)
2978 commit d6e46f778ea2bfede89f4fe2422b80998ed7fec8
2979 Author: Christoph Reiter <creiter@src.gnome.org>
2980 Date: Fri Jun 3 15:51:37 2016 +0200
2982 Add support for bytes and non-utf-8 file names.
2984 Py2+Unix: Convert unicode to bytes using the fsencoding. Pass bytes
2986 Returns path as bytes as is.
2988 Py2+Windows: Convert unicode to wtf-8. Pass bytes as is.
2989 Returns path as bytes as is.
2991 Py3+Unix: Convert str using os.fsencode so that the surrogateescape
2993 can restore the real path if the source was a Python API such as
2995 sys.argv etc. Pass bytes as is. Return str decoded using os.fsdecode
2997 it can be passed to Python API such as open, os.listdir etc.
2999 Py3+Windows: Convert str to wtf-8. Decode bytes using the fsencoding
3001 Returns str + surrogates.
3003 This change makes anyting taking filenames on Python 3 behave the same
3004 as Python functions like listdir() or open(). Compared to Python
3006 functions which return the same type that was passed in we always
3009 One remaining problem is that glib assumes that Windows paths
3011 while they are just 16bit arrays and as a result utf-8 is not
3013 represent all possible paths. We use wtf-8 here instead (utf-8 with
3015 which allows us to convert all paths, but glib functions accessing
3017 will fail with them.
3019 PyUnicode_EncodeFSDefault was added in CPython 3.2 so bump the
3022 https://bugzilla.gnome.org/show_bug.cgi?id=746564
3025 gi/pygi-basictype.c | 186
3026 ++++++++++++++++++++++++++++++++--------
3027 gi/pyglib-python-compat.h | 2 +
3028 tests/compathelper.py | 4 +
3029 tests/gimarshallingtestsextra.c | 14 +++
3030 tests/gimarshallingtestsextra.h | 1 +
3031 tests/test_gi.py | 152 +++++++++++++++++++++++++++++++-
3032 7 files changed, 320 insertions(+), 41 deletions(-)
3034 commit 33a44c7653030da0a1de76ff8241e40e66d04701
3035 Author: Christoph Reiter <creiter@src.gnome.org>
3036 Date: Mon Mar 27 15:53:13 2017 +0200
3038 test_gi: use correct min/max constants for gsize/gssize
3040 This made these tests on 64bit Windows fail because sizeof(gsize)
3043 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3045 tests/test_gi.py | 6 +++---
3046 1 file changed, 3 insertions(+), 3 deletions(-)
3048 commit b993e4dc73af976e8140661d2b6e9f745206808e
3049 Author: Christoph Reiter <creiter@src.gnome.org>
3050 Date: Mon Mar 27 14:55:22 2017 +0200
3052 Don't use long format string for formatting pointers
3054 long is too small on 64bit Windows
3056 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3058 gi/pygpointer.c | 5 +++--
3059 1 file changed, 3 insertions(+), 2 deletions(-)
3061 commit d031e1700816836366989ece0eda486c77543c3b
3062 Author: Christoph Reiter <creiter@src.gnome.org>
3063 Date: Mon Mar 27 14:48:08 2017 +0200
3065 Fix conversion from pointers to hashfunc return values.
3067 Fixes comiler warnings on 64bit Windows.
3069 Python 3 now uses Py_hash_t as return value for hashfunc. Use
3070 a compat define so we can use the right type depending on the
3073 On Python 2 + 64bit Windows the pointer doesn't fit the long
3074 return type. Add a macro which handles the casting for that case
3075 to prevent compiler warnings.
3077 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3079 gi/pygboxed.c | 4 ++--
3080 gi/pyglib-python-compat.h | 6 ++++++
3081 gi/pygobject-object.c | 4 ++--
3082 gi/pygparamspec.c | 4 ++--
3083 gi/pygpointer.c | 4 ++--
3084 5 files changed, 14 insertions(+), 8 deletions(-)
3086 commit d2a7e9a7b29e74fd97592fcc8462d718d0b7af17
3087 Author: Christoph Reiter <creiter@src.gnome.org>
3088 Date: Mon Mar 27 14:47:22 2017 +0200
3090 Fix PyLong <-> GPid conversion on 64bit Windows
3092 GPid on Windows is a pointer and not int, and pointers don't fit long
3093 on 64bit so use PyLong_AsVoidPtr/PyLong_FromVoidPtr there instead.
3095 https://bugzilla.gnome.org/show_bug.cgi?id=780591
3097 gi/pygspawn.c | 26 +++++++++++++++++++++-----
3098 1 file changed, 21 insertions(+), 5 deletions(-)
3100 commit cfeeaaf69f6d6f777e5f3a17493ff9dcc2bda900
3101 Author: Christoph Reiter <creiter@src.gnome.org>
3102 Date: Tue Mar 28 17:58:54 2017 +0200
3104 property: support setting flags
3106 This also adds some tests for setting flags and enum properties
3107 which depend on some properties being added in g-i's
3109 https://bugzilla.gnome.org/show_bug.cgi?id=780652
3111 https://bugzilla.gnome.org/show_bug.cgi?id=726484
3113 gi/pygi-property.c | 3 +++
3114 tests/test_properties.py | 34 ++++++++++++++++++++++++++++++++++
3115 2 files changed, 37 insertions(+)
3117 commit 44a51ddd6418f8fa85df5803b8288974bcf20bc2
3118 Author: Christoph Reiter <creiter@src.gnome.org>
3119 Date: Thu Mar 23 15:49:18 2017 +0100
3121 overrides: warn on instantiation of Gio.VolumeMonitor
3123 Gio.VolumeMonitor.get() should be used instead
3125 https://bugzilla.gnome.org/show_bug.cgi?id=744690
3127 gi/overrides/Gio.py | 19 +++++++++++++++++++
3128 tests/test_gio.py | 11 +++++++++++
3129 2 files changed, 30 insertions(+)
3131 commit 275a92cb7fe530efe83349b3c7da557f22096fc0
3132 Author: Christoph Reiter <creiter@src.gnome.org>
3133 Date: Tue Mar 21 19:19:33 2017 +0100
3135 Remove gi.overrides.overridefunc
3137 Move the code into override()
3139 https://bugzilla.gnome.org/show_bug.cgi?id=686835
3141 gi/overrides/__init__.py | 32 ++++++++++++++++----------------
3142 1 file changed, 16 insertions(+), 16 deletions(-)
3144 commit f47027d6abde392fff03ce9b49e42a0c6f7d83cd
3145 Author: Christoph Reiter <creiter@src.gnome.org>
3146 Date: Tue Mar 21 12:48:27 2017 +0100
3148 tests: Reduce usage of timeout_add() and sleep()
3150 * Instead of waiting for a fixed time, use a timeout and stop the main
3151 loop right after the test has succeeded.
3152 * Replace time.sleep to sync processes with os.pipe communication
3153 * Chain idle sources instead of using multiple timeout sources
3154 * Replace sleeps with unbufferd communication
3156 https://bugzilla.gnome.org/show_bug.cgi?id=698548
3158 tests/test_glib.py | 37 ++++++++++++-------
3159 tests/test_iochannel.py | 86
3160 +++++++++++++++++++++++++++++++++------------
3161 tests/test_mainloop.py | 13 +++++--
3162 tests/test_overrides_gtk.py | 4 +--
3163 tests/test_source.py | 10 +++---
3164 tests/test_thread.py | 6 +++-
3165 6 files changed, 111 insertions(+), 45 deletions(-)
3167 commit ab574b6c40b6e58f396c9522be864a78478617c1
3168 Author: Christoph Reiter <creiter@src.gnome.org>
3169 Date: Tue Mar 21 12:43:33 2017 +0100
3171 tests: Remove TestMainLoop.test_concurrency
3173 The code containing the bug no longer exists and the test doesn't do
3174 what it says. The thread never gets terminated and it doesn't
3175 assert anything. And I'm not sure what it should assert.
3177 For the corresponding bug see
3178 https://bugzilla.gnome.org/show_bug.cgi?id=663068
3180 While the test doesn't hurt, it adds half a second wait time
3183 https://bugzilla.gnome.org/show_bug.cgi?id=698548
3185 tests/test_mainloop.py | 27 ---------------------------
3186 1 file changed, 27 deletions(-)
3188 commit 4da4a1d5c55a5db060bf3f67b708da0a00e3e957
3189 Author: Christoph Reiter <creiter@src.gnome.org>
3190 Date: Mon Mar 27 16:22:12 2017 +0200
3192 Update .gitignore: add *.dll, *.dylib, .DS_STORE
3195 1 file changed, 3 insertions(+)
3197 commit 30228a98299eeb540fd014b9519a9efd4a434d4b
3198 Author: Christoph Reiter <reiter.christoph@gmail.com>
3199 Date: Thu Mar 23 17:59:55 2017 +0100
3201 tests: Make test suite run on Windows
3203 (in a msys2 environment)
3205 * Replace LD_LIBRARY_PATH with gir code in runtests.py
3206 * Remove unneeded runtests-windows.py
3207 * Unset MSYSTEM to disable path separator hacks by msys2
3208 * Set sys.path in runtests.py
3209 * Skip various tests failing/hanging/crashing on Windows
3211 https://bugzilla.gnome.org/show_bug.cgi?id=780396
3213 tests/Makefile.am | 9 +++-----
3214 tests/compat_test_pygtk.py | 4 +++-
3215 tests/runtests-windows.py | 52
3216 ---------------------------------------------
3217 tests/runtests.py | 13 ++++++++++--
3218 tests/test_atoms.py | 4 +++-
3219 tests/test_everything.py | 2 +-
3220 tests/test_gi.py | 7 +++---
3221 tests/test_gio.py | 3 +++
3222 tests/test_glib.py | 15 +++++++++----
3223 tests/test_iochannel.py | 17 ++++++++++++++-
3224 tests/test_mainloop.py | 4 ++++
3225 tests/test_overrides_gdk.py | 3 ++-
3226 tests/test_properties.py | 9 +++++---
3227 tests/test_subprocess.py | 1 +
3228 14 files changed, 68 insertions(+), 75 deletions(-)
3230 commit 23deef70102657e75e07e54b4378c20214c867f3
3231 Author: Christoph Reiter <creiter@src.gnome.org>
3232 Date: Wed Mar 22 14:07:49 2017 +0100
3234 tests: Make test suite run on macOS
3236 * Skip all tests which fail, crash or hang.
3237 * Disable D-Bus in case dbus-run-session is not available.
3239 https://bugzilla.gnome.org/show_bug.cgi?id=780396
3241 tests/Makefile.am | 10 +++++++---
3242 tests/runtests.py | 3 +++
3243 tests/test_atoms.py | 3 +++
3244 tests/test_gdbus.py | 9 +++++++++
3245 tests/test_gi.py | 4 ++++
3246 tests/test_glib.py | 2 ++
3247 tests/test_overrides_gdk.py | 3 +++
3248 tests/test_overrides_gtk.py | 2 ++
3249 tests/test_source.py | 3 +++
3250 9 files changed, 36 insertions(+), 3 deletions(-)
3252 commit 5399bb785e625c36025d6bc1e5cf2b5519759d0d
3253 Author: Christoph Reiter <creiter@src.gnome.org>
3254 Date: Wed Mar 22 19:24:22 2017 +0100
3256 Fix various compiler warnings for 32bit builds
3258 Due to the switch to AX_COMPILER_FLAGS which adds some more
3259 warning flags. I didn't notice these as they only get triggered
3260 on 32bit builds. Tested with gcc 6.3 and clang 3.9.
3262 https://bugzilla.gnome.org/show_bug.cgi?id=780409
3267 gi/pygi-argument.c | 2 ++
3268 gi/pygi-array.c | 4 ++--
3269 gi/pygi-cache.c | 6 +++---
3270 gi/pygi-closure.c | 4 ++--
3271 gi/pygi-foreign-cairo.c | 2 +-
3272 gi/pygi-invoke.c | 8 ++++----
3273 gi/pygi-marshal-cleanup.c | 4 ++--
3274 gi/pygi-signal-closure.h | 1 +
3275 gi/pygi-util.h | 1 +
3276 gi/pygi-value.h | 2 +-
3277 gi/pygobject-object.c | 4 ++--
3279 15 files changed, 25 insertions(+), 19 deletions(-)
3281 commit 29d07d6e659a518f4e0a7f53eba3dc1d9ba33c3a
3282 Author: Christoph Reiter <creiter@src.gnome.org>
3283 Date: Fri Mar 24 08:25:48 2017 +0100
3287 gi/overrides/Gdk.py | 1 -
3288 1 file changed, 1 deletion(-)
3290 commit b0476e2db4577e12b52caa3163ccb69575221d6c
3291 Author: Christoph Reiter <creiter@src.gnome.org>
3292 Date: Thu Mar 23 22:32:23 2017 +0100
3294 testhelper: only link against libpython on Windows
3296 https://bugzilla.gnome.org/show_bug.cgi?id=773803
3298 configure.ac | 6 +++---
3299 tests/Makefile.am | 11 ++++++++++-
3300 2 files changed, 13 insertions(+), 4 deletions(-)
3302 commit e8c071f518a0e1c3e1877705291d24f056bed77e
3303 Author: Garrett Regier <garrettregier@gmail.com>
3304 Date: Thu Oct 13 15:00:52 2016 -0700
3306 overrides: Fix Gtk.TextBuffer.insert_with_tags_by_name() with no tags
3308 The text was not inserted when no tags were provided.
3310 https://bugzilla.gnome.org/show_bug.cgi?id=772896
3312 gi/overrides/Gtk.py | 3 ---
3313 tests/test_overrides_gtk.py | 12 ++++++++++++
3314 2 files changed, 12 insertions(+), 3 deletions(-)
3316 commit fb0404c0bf08dedf657ce1384b283223b7192df1
3317 Author: Christoph Reiter <creiter@src.gnome.org>
3318 Date: Tue Mar 21 14:03:47 2017 +0100
3320 Make use of instance-argument annotations
3322 Use g_callable_info_get_instance_ownership_transfer() instead
3323 of hardcoding the transfer for instances.
3325 get_instance_ownership_transfer() is available since 1.42.0, so no
3326 version dependency bump is required.
3328 https://bugzilla.gnome.org/show_bug.cgi?id=735076
3330 gi/pygi-cache.c | 4 +++-
3331 tests/test_everything.py | 9 +++++++++
3332 2 files changed, 12 insertions(+), 1 deletion(-)
3334 commit c1ad1129b42c7938662422bb33990026572866d0
3335 Author: Christoph Reiter <creiter@src.gnome.org>
3336 Date: Tue Mar 21 20:23:13 2017 +0100
3338 Remove pyglib_gil_state_ensure/pyglib_gil_state_release
3340 Use PyGILState_Ensure/PyGILState_Release instead.
3342 https://bugzilla.gnome.org/show_bug.cgi?id=699440
3344 gi/gobjectmodule.c | 40 ++++++++++++++++++++--------------------
3345 gi/pygboxed.c | 14 +++++++-------
3346 gi/pygenum.c | 6 +++---
3347 gi/pygflags.c | 6 +++---
3348 gi/pygi-error.c | 8 ++++----
3349 gi/pygi-source.c | 16 ++++++++--------
3350 gi/pyglib.c | 8 ++++----
3352 gi/pygobject-object.c | 36 ++++++++++++++++++------------------
3353 gi/pygoptiongroup.c | 9 ++++-----
3354 gi/pygpointer.c | 6 +++---
3355 gi/pygspawn.c | 4 ++--
3356 gi/pygtype.c | 18 +++++++++---------
3357 tests/testhelpermodule.c | 12 ++++++------
3358 14 files changed, 91 insertions(+), 95 deletions(-)
3360 commit 16e187636d186d4c128288efb032c5ddd69569b3
3361 Author: Christoph Reiter <creiter@src.gnome.org>
3362 Date: Tue Mar 21 20:05:08 2017 +0100
3364 Remove support for building without threads
3366 This removes the --disable-thread configure option.
3368 * glib removed disable-threads in 2011
3369 * We use PyEval_InitThreads() for some time now which means we
3370 build against a Python with threads. And nobody complained.
3372 https://bugzilla.gnome.org/show_bug.cgi?id=699440
3374 configure.ac | 24 ------------------------
3375 gi/gobjectmodule.c | 7 +------
3376 gi/pyglib.h | 9 ++-------
3377 gi/pygobject.h | 19 +++++--------------
3378 4 files changed, 8 insertions(+), 51 deletions(-)
3380 commit 20220d5eac510e3445a96e4e9061fd1bc6ec37c7
3381 Author: Christoph Reiter <creiter@src.gnome.org>
3382 Date: Tue Mar 21 14:46:00 2017 +0100
3384 pygtkcompat: Allow multiple calls to enable(), enable_gtk() as long
3385 as the version matches
3387 enable_gtk() isn't idempotent and was breaking the API when called
3389 This ignores the call in case the version passed is the same as for
3392 https://bugzilla.gnome.org/show_bug.cgi?id=759009
3394 pygtkcompat/pygtkcompat.py | 42
3395 ++++++++++++++++++++++++++++++++++++++++++
3396 tests/compat_test_pygtk.py | 21 +++++++++++++++++++++
3397 2 files changed, 63 insertions(+)
3399 commit 4af42e85a1959cbae06a1bbb7268c76890b60db9
3400 Author: Simon Feltman <sfeltman@src.gnome.org>
3401 Date: Mon Feb 22 23:02:22 2016 -0800
3403 tests: Update Makefile for building tests on OS X
3405 Pull LDFLAGS into variables for command and Python extension specific.
3406 Use -shext .so for the Python extension on both Linux and OS X. The
3408 is needed by Python on OS X (not dylib).
3409 Remove "all" target and explicit .la targets as these are handled
3411 and the "check" target on demand.
3413 https://bugzilla.gnome.org/show_bug.cgi?id=762176
3415 tests/Makefile.am | 56
3416 +++++++++++++++++++++++++++++--------------------------
3417 1 file changed, 30 insertions(+), 26 deletions(-)
3419 commit 3fe9213a3886ffa7a380dc08c5d636cda5865462
3420 Author: Mikhail Fludkov <misha@pexip.com>
3421 Date: Fri Feb 19 16:27:53 2016 +0100
3423 testhelper: propagate exception if _gobject could not be imported
3425 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3427 tests/testhelpermodule.c | 8 ++++++--
3428 1 file changed, 6 insertions(+), 2 deletions(-)
3430 commit 399939b55860211e0ab64bdfbfada2c86be8bf64
3431 Author: Christoph Reiter <creiter@src.gnome.org>
3432 Date: Mon Mar 20 18:11:21 2017 +0100
3434 pygi-info: initialize GIArgument before passing it to
3435 g_constant_info_get_value
3437 Co-Authored-By: Mikhail Fludkov <misha@pexip.com>
3439 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3441 gi/pygi-info.c | 2 +-
3442 1 file changed, 1 insertion(+), 1 deletion(-)
3444 commit a731db5908b79b97277be4f5138b46010c2dd616
3445 Author: Mikhail Fludkov <misha@pexip.com>
3446 Date: Fri Oct 14 18:41:48 2016 +0200
3448 tests: build libregress with disabled cairo
3450 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3452 tests/Makefile.am | 9 ++++++---
3453 1 file changed, 6 insertions(+), 3 deletions(-)
3455 commit 2c329edb870787be1db4d5ecafdf221bead8b271
3456 Author: Mikhail Fludkov <misha@pexip.com>
3457 Date: Fri Oct 14 18:36:21 2016 +0200
3459 tests: use g-ir utils found by pkg-config
3461 Use g-ir utils found by pkg-config to not fail if
3462 gobject-introspection is not installed systemwide
3464 https://bugzilla.gnome.org/show_bug.cgi?id=772949
3466 tests/Makefile.am | 8 ++++----
3467 1 file changed, 4 insertions(+), 4 deletions(-)
3469 commit 7a3e4c005a6677ed7bf3ef807cd1a8487b0465de
3470 Author: Shyouzou Sugitani <shy@users.sourceforge.jp>
3471 Date: Mon Jun 6 12:26:44 2016 +0200
3473 Add a foreign type for cairo_region_t.
3475 Based on the patch at
3476 https://bugzilla.gnome.org/show_bug.cgi?id=667959#c7
3479 * Fixes the cairo_region_from_arg signature
3480 * Add check for pycairo region support (only in pycairo master)
3483 Co-Authored-By: Martin Pitt <martin.pitt@ubuntu.com>
3484 Co-Authored-By: Christoph Reiter <creiter@src.gnome.org>
3486 https://bugzilla.gnome.org/show_bug.cgi?id=667959
3488 gi/pygi-foreign-cairo.c | 51
3489 +++++++++++++++++++++++++++++++++++++++++++++++++
3490 tests/test_cairo.py | 28 +++++++++++++++++++++++++--
3491 2 files changed, 77 insertions(+), 2 deletions(-)
3493 commit bb5aa249f1ab6be81f88fdcfb56cee8b3ae2465d
3494 Author: Christoph Reiter <creiter@src.gnome.org>
3495 Date: Tue Jan 24 21:17:07 2017 +0100
3497 aclocal: make local file discover by reading AC_CONFIG_MACRO_DIR work
3499 aclocal needs to know where the local macros are for including
3501 for having a place to put the required system ones in.
3503 Since 1.13 it can parse configure.ac and get the path from
3504 AC_CONFIG_MACRO_DIR.
3505 This didn't work because for some reasons it complains if the
3507 start with "AM_" even if they are there (I guess it assumes they
3510 To work around that, change the AM prefix to PYG, bump the automake
3512 we can asume aclocal finds it and remove the hardcoded paths from both
3513 autogen.sh and Makefile.am.
3515 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3519 configure.ac | 12 +++++-------
3520 m4/python.m4 | 12 ++++++------
3521 4 files changed, 12 insertions(+), 16 deletions(-)
3523 commit 8578ed7e9fd0486fd10e71d24f2e9f969793af8d
3524 Author: Christoph Reiter <creiter@src.gnome.org>
3525 Date: Tue Jan 24 18:58:48 2017 +0100
3527 Port from gnome-common to autoconf-archive
3529 See https://wiki.gnome.org/Projects/GnomeCommon/Migration
3533 * --enable-compile-warnings is now [no/auto/yes] instead of
3534 [no/minimum/yes/maximum/error]
3535 * warnings are errors by default except for releases or if
3536 --disable-Werror is passed (which is the default in jhbuild)
3538 AX_APPEND_COMPILE_FLAGS() gets used to disable some warnings
3540 AX_COMPILER_FLAGS() because they trigger with pycairo/python headers.
3542 Tested with gcc 6.3, clang 3.8.1
3544 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3547 Makefile.am | 8 +++-----
3548 autogen.sh | 44 ++++++++++++++++++++++++++++++--------------
3549 configure.ac | 44 +++++++++++++-------------------------------
3550 gi/Makefile.am | 10 ++++++++++
3551 gi/_gobject/Makefile.am | 3 ---
3552 m4/as-ac-expand.m4 | 40 ----------------------------------------
3553 m4/jhflags.m4 | 21 ---------------------
3554 tests/Makefile.am | 9 ++++++---
3555 9 files changed, 65 insertions(+), 117 deletions(-)
3557 commit f939a71167bd94c9e7777312af444183f7b20441
3558 Author: Christoph Reiter <creiter@src.gnome.org>
3559 Date: Tue Jan 24 18:13:56 2017 +0100
3561 Fix various potential compiler warnings
3563 This is useful for a the next commit which switches away from
3564 gnome-common and uses AX_COMPILER_FLAGS adding some new compiler
3567 https://bugzilla.gnome.org/show_bug.cgi?id=777713
3569 gi/gimodule.c | 7 ++++---
3570 gi/gobjectmodule.c | 22 +++++++++++-----------
3572 gi/pygflags.c | 8 ++++----
3573 gi/pygi-argument.c | 2 ++
3574 gi/pygi-array.c | 16 ++++++++--------
3575 gi/pygi-cache.c | 2 ++
3576 gi/pygi-closure.c | 2 +-
3577 gi/pygi-foreign.c | 2 +-
3578 gi/pygi-info.c | 13 ++++++++++---
3579 gi/pygi-invoke.c | 3 +++
3580 gi/pygi-property.c | 2 +-
3581 gi/pygi-signal-closure.c | 3 ++-
3582 gi/pygi-value.c | 11 +++++++----
3583 gi/pygobject-object.c | 20 ++++++++++----------
3584 15 files changed, 67 insertions(+), 48 deletions(-)
3586 commit b3fb2ecbb98bd6e40fe49a5b16e5174645886710
3587 Author: Christoph Reiter <creiter@src.gnome.org>
3588 Date: Mon Mar 20 16:39:35 2017 +0100
3590 configure.ac: post-release version bump to 3.25.0
3593 1 file changed, 1 insertion(+), 1 deletion(-)
3595 commit 49cc3643819dad0d065d3c86327cd60d2f022dad
3596 Author: Christoph Reiter <creiter@src.gnome.org>
3597 Date: Tue Jan 24 22:11:23 2017 +0100
3599 Remove egg make target
3601 eggs are deprecated and the command was referencing long
3602 gone files and failing, so nobody was using it.
3604 https://bugzilla.gnome.org/show_bug.cgi?id=777719
3606 Makefile.am | 27 ---------------------------
3607 1 file changed, 27 deletions(-)
3609 commit 3aa5c80213194a8a3a993e937bae0f6b3d992547
3610 Author: Christoph Reiter <creiter@src.gnome.org>
3611 Date: Tue Jan 24 22:05:48 2017 +0100
3615 They aren't shipped, can't be build and describe the old
3616 pygobject 2 interface.
3618 There also was a doc-dist make target, but it was broken.
3620 If someone wants to look things up they are in git or still
3621 online for 2.28: https://developer.gnome.org/pygobject/stable/
3623 https://bugzilla.gnome.org/show_bug.cgi?id=777719
3626 docs/Makefile.am | 112 ----
3627 docs/reference/ChangeLog | 114 ----
3628 docs/reference/entities.docbook.in | 1 -
3629 docs/reference/pyglib-classes.xml | 13 -
3630 docs/reference/pyglib-functions.xml | 293 ---------
3631 docs/reference/pygobject-classes.xml | 17 -
3632 docs/reference/pygobject-constants.xml | 304 ----------
3633 docs/reference/pygobject-functions.xml | 864
3634 ---------------------------
3635 docs/reference/pygobject-gboxed.xml | 68 ---
3636 docs/reference/pygobject-ginterface.xml | 38 --
3637 docs/reference/pygobject-gpointer.xml | 42 --
3638 docs/reference/pygobject-introduction.xml | 222 -------
3639 docs/reference/pygobject-ref.xml | 34 --
3640 docs/reference/pygobject.xml | 953
3641 ------------------------------
3642 docs/style.css | 10 -
3643 docs/xsl/common.xsl | 19 -
3644 docs/xsl/devhelp.xsl | 154 -----
3645 docs/xsl/fixxref.py.in | 67 ---
3646 docs/xsl/html.xsl | 285 ---------
3647 docs/xsl/pdf-style.xsl | 11 -
3648 docs/xsl/pdf.xsl | 259 --------
3649 docs/xsl/ref-html-style.xsl | 54 --
3650 23 files changed, 3943 deletions(-)
3652 commit 9d76190bc7a256764b1af5ec4bd05ce4a7b6e1d2
3653 Author: Christoph Reiter <creiter@src.gnome.org>
3654 Date: Mon Mar 20 14:28:51 2017 +0100
3659 1 file changed, 3 insertions(+)
3661 commit bffbb4b1f823de5035e51e013dc6da5a973045aa
3662 Author: Christoph Reiter <creiter@src.gnome.org>
3663 Date: Mon Mar 20 14:23:59 2017 +0100
3665 configure.ac: pre-release version bump to 3.24.0
3667 configure.ac | 4 ++--
3668 1 file changed, 2 insertions(+), 2 deletions(-)
3670 commit 78defd2ab5f1935a6226336eaa08727e7516fb02
3671 Author: Christoph Reiter <creiter@src.gnome.org>
3672 Date: Mon Mar 13 20:14:37 2017 +0100
3676 NEWS | 10 ++++++++++
3677 1 file changed, 10 insertions(+)
3679 commit 4ccabfec0cececba935339ea8449ec51b4aeef5e
3680 Author: Christoph Reiter <creiter@src.gnome.org>
3681 Date: Mon Mar 13 20:13:13 2017 +0100
3683 Version bump to 3.23.92
3686 1 file changed, 1 insertion(+), 1 deletion(-)
3688 commit ebc245c477c36fa1f65f80d2e75792b82d837611
3689 Author: Fabian Orccon <cfoch.fabian@gmail.com>
3690 Date: Tue Jan 24 00:00:12 2017 -0500
3692 overrides: Update for Gdk-4.0 and Gtk+-4.0
3694 Override Gdk.Color and Gdk.RGBA according version.
3695 Use properly Gtk.init_check in Gtk+-4.0
3697 https://bugzilla.gnome.org/show_bug.cgi?id=777680
3699 gi/overrides/Gdk.py | 74
3700 ++++++++++++++++++++++++++++-------------------------
3701 gi/overrides/Gtk.py | 7 +++--
3702 2 files changed, 44 insertions(+), 37 deletions(-)
3704 commit d005df9645fd5fb2f19bd09384355f45591f1e58
3705 Author: Christoph Reiter <creiter@src.gnome.org>
3706 Date: Mon Jan 23 21:26:05 2017 +0100
3708 Disable -Werror=missing-prototypes
3710 https://bugzilla.gnome.org/show_bug.cgi?id=760056
3711 added some code triggering "missing-prototype" which we by default
3712 treat as an error. This disables that specific error by default.
3714 https://bugzilla.gnome.org/show_bug.cgi?id=777534
3717 1 file changed, 1 insertion(+), 1 deletion(-)
3719 commit 6695931a0dfb7d9db9ea14a128108342c3d0be89
3720 Author: Christoph Reiter <creiter@src.gnome.org>
3721 Date: Mon Jan 9 20:44:11 2017 +0100
3725 Two new errors popped up:
3727 * E305 expected 2 blank lines after class or function definition
3728 * E741 ambiguous variable name
3730 https://bugzilla.gnome.org/show_bug.cgi?id=776009
3732 examples/cairo-demo.py | 1 +
3733 examples/properties.py | 1 +
3735 gi/overrides/GIMarshallingTests.py | 2 ++
3736 gi/overrides/GLib.py | 19 +++++++++++++++++++
3737 gi/overrides/GObject.py | 12 ++++++++++++
3738 gi/overrides/Gdk.py | 3 +++
3739 gi/overrides/Gio.py | 2 ++
3740 gi/overrides/Gtk.py | 35
3741 +++++++++++++++++++++++++++++++++++
3742 gi/overrides/Pango.py | 2 ++
3744 pygtkcompat/pygtkcompat.py | 1 +
3745 tests/test_generictreemodel.py | 1 +
3746 tests/test_interface.py | 4 ++++
3747 tests/test_iochannel.py | 1 +
3748 tests/test_overrides_gtk.py | 10 +++++-----
3749 tests/test_properties.py | 12 ++++++------
3750 tests/test_signal.py | 1 +
3751 18 files changed, 98 insertions(+), 11 deletions(-)
3753 commit 3f68e0a352abc12e1990e82e3134c48f0be2b3c9
3754 Author: Christoph Reiter <creiter@src.gnome.org>
3755 Date: Wed Mar 23 17:07:53 2016 +0100
3757 Move pep8/pyflakes tests from 'make check' to 'make check.quality'
3759 The current behaviour is problematic because new versions of
3761 add new warnings or get more picky. This makes testing
3762 hard in case newly added code is developed on an older version
3763 or when testing old branches/releases.
3765 This moves the pep8/pyflakes tests to a new "make check.quality"
3768 This also removes the SKIP_PEP8 flag which was added in
3770 to speed up make check.
3772 https://bugzilla.gnome.org/show_bug.cgi?id=764087
3775 Makefile.am | 12 +++++-------
3776 2 files changed, 6 insertions(+), 8 deletions(-)
3778 commit 222f5581c38551bdd5c6c9ca4e895d1f44397ad1
3779 Author: Christoph Reiter <creiter@src.gnome.org>
3780 Date: Fri Oct 21 13:59:54 2016 +0200
3782 overrides: Update for Gtk-4.0
3784 Skip things which are gone since 4.0.
3785 This only fixes importing and doesn't add any tests for now.
3787 https://bugzilla.gnome.org/show_bug.cgi?id=773315
3789 gi/overrides/Gtk.py | 482
3790 ++++++++++++++++++++++++++--------------------------
3791 1 file changed, 242 insertions(+), 240 deletions(-)
3793 commit 8694e4dd42565f07b6f9ba1221fb03146be333a0
3794 Author: Dan Nicholson <nicholson@endlessm.com>
3795 Date: Wed Dec 21 12:02:14 2016 -0600
3797 Handle exception unreffing Variant at exit
3799 Calling unref will cause gi and gi.repository.GLib to be imported.
3800 However, if the program is exiting, then these modules have likely
3802 removed from sys.modules and will raise an exception. Assume
3804 case for ImportError and ignore the exception since everything will be
3805 cleaned up, anyways.
3807 This can be triggered with the following trivial program:
3809 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
3811 Exception ignored in:
3813 Adding some debug code to show the full exception revealed this:
3815 Traceback (most recent call last):
3816 File "/home/dan/src/pygobject/build3/gi/overrides/GLib.py", line
3819 ImportError: import of 'gi.repository.GLib' halted; None in
3822 https://bugzilla.gnome.org/show_bug.cgi?id=776092
3824 gi/overrides/GLib.py | 11 ++++++++++-
3825 1 file changed, 10 insertions(+), 1 deletion(-)
3827 commit 54c623ba639654716ca475f75c92cc8ed673d9f5
3828 Author: Dan Nicholson <nicholson@endlessm.com>
3829 Date: Wed Dec 21 11:50:08 2016 -0600
3831 Handle multiple deinit of callable cache
3833 In python3, it seems that the callable cache deinit can be called
3834 multiple times when the program is exiting. Make that safer by
3836 the various pointers in the structure using g_clear_pointer and
3837 Py_CLEAR. A subsequent call will skip all the deinit by seeing NULL
3838 pointers for the members.
3840 This was causing a critical warning when destroying the arg name hash
3841 table multiple times with the following trivial program:
3843 $ python3 -c 'from gi.repository import GLib; v = GLib.Variant("s",
3846 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
3847 'hash_table != NULL' failed
3849 (process:32378): GLib-CRITICAL **: g_hash_table_destroy: assertion
3850 'hash_table != NULL' failed
3852 https://bugzilla.gnome.org/show_bug.cgi?id=776092
3854 gi/pygi-cache.c | 15 +++++++--------
3855 1 file changed, 7 insertions(+), 8 deletions(-)
3857 commit 94226b8eb63dd985def8501168572ee16e02acad
3858 Author: Christoph Reiter <creiter@src.gnome.org>
3859 Date: Mon Sep 19 15:31:57 2016 +0200
3861 configure.ac: post-release version bump to 3.23.0
3864 1 file changed, 1 insertion(+), 1 deletion(-)
3866 commit fb1b8fa8a67f2c7ea7ad4b53076496a8f2b4afdb
3867 Author: Christoph Reiter <creiter@src.gnome.org>
3868 Date: Mon Sep 19 15:27:35 2016 +0200
3873 1 file changed, 3 insertions(+)
3875 commit b93523fcdb6bc04b42709ecd30b8cd11de80f0c5
3876 Author: Christoph Reiter <creiter@src.gnome.org>
3877 Date: Mon Sep 19 15:24:35 2016 +0200
3879 configure.ac: pre-release version bump to 3.22.0
3881 configure.ac | 4 ++--
3882 1 file changed, 2 insertions(+), 2 deletions(-)
3884 commit 3ec19401dc57263508ee3aa16f5293419c222f5b
3885 Author: Christoph Reiter <creiter@src.gnome.org>
3886 Date: Sun Sep 11 11:45:59 2016 +0200
3891 1 file changed, 7 insertions(+)
3893 commit 7ccc164b6da6d87c0a200ea50314d213470a1f18
3894 Author: Christoph Reiter <creiter@src.gnome.org>
3895 Date: Sat Sep 3 20:02:13 2016 +0200
3897 Handle nullable filename parameters
3899 Make _pygi_marshal_from_py_filename handle None input
3900 values. This allows one to pass None to parameters
3901 annotated as nullable filenames.
3903 This fixes a test suite error in test_spawn_async_with_pipes
3904 triggered by an annotation change in glib.
3906 https://bugzilla.gnome.org/show_bug.cgi?id=770821
3908 gi/pygi-basictype.c | 5 +++++
3909 tests/gimarshallingtestsextra.c | 22 ++++++++++++++++++++++
3910 tests/gimarshallingtestsextra.h | 3 +++
3911 tests/test_gi.py | 4 ++++
3912 4 files changed, 34 insertions(+)
3914 commit f4d858c069f06e7060a0bb067c29f5bffb7869ee
3915 Author: Aurelien Jarno <aurelien@aurel32.net>
3916 Date: Wed Aug 31 22:16:06 2016 +0200
3918 Fix list/hashtable enum <-> hash conversion on 64-bit big endian
3920 glist and ghashtable objects both store pointers. Complex objects are
3921 stored as pointers to the objects, but simpler objects like an integer
3922 value are stored directly as a pointer, using for example the
3923 GINT_TO_POINTER and GPOINTER_TO_INT macros.
3925 This is done in pygobject with the _pygi_hash_pointer_to_arg and
3926 _pygi_arg_to_hash_pointer functions. These functions handle the
3928 type of objects. However they consider that an enum, represented
3930 GI_TYPE_TAG_INTERFACE type (extended interface object), are always a
3931 pointer. This is wrong as it is often a 32-bit value. Therefore
3933 big endian machines, the value is handle with the 2 32-bit parts
3936 This patches fixes that by changing the second argument of both
3938 from GITypeTag to GITypeInfo. This way the interface can be
3940 and the underlying storage type can also be determined. This currently
3941 only handles enum and flags, leaving other types as pointers. The
3943 also adds two tests in the testsuite, one for each direction.
3945 https://bugzilla.gnome.org/show_bug.cgi?id=770608
3947 gi/pygi-argument.c | 33 +++++++++++++++++++++++++++++----
3948 gi/pygi-argument.h | 4 ++--
3949 gi/pygi-hashtable.c | 8 ++++----
3950 gi/pygi-list.c | 8 ++++----
3951 tests/gimarshallingtestsextra.c | 33 +++++++++++++++++++++++++++++++++
3952 tests/gimarshallingtestsextra.h | 10 ++++++++++
3953 tests/test_gi.py | 11 +++++++++++
3954 7 files changed, 93 insertions(+), 14 deletions(-)
3956 commit 1cb6c470e9d297afda21b73efaccb0b95e519b5d
3957 Author: Lukas K <lu@0x83.eu>
3958 Date: Fri May 13 21:30:47 2016 +0200
3960 Allow passing sockets to io_add_watch on win32
3962 https://bugzilla.gnome.org/show_bug.cgi?id=766396
3964 gi/overrides/GLib.py | 4 ++++
3965 1 file changed, 4 insertions(+)
3967 commit 4617c39ca212f0da82af1a9989c912bcdfe1158b
3968 Author: Michael Biebl <biebl@debian.org>
3969 Date: Sat Sep 3 16:46:40 2016 +0200
3971 tests: use dbus-run-session instead of dbus-launch to run tests
3973 The use of dbus-launch is deprecated by dbus upstream.
3974 See https://lists.debian.org/debian-devel/2016/08/msg00554.html
3978 So use dbus-run-session instead, which was specifically designed to be
3979 used for such cases, like running test-suites.
3981 See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836049.
3983 https://bugzilla.gnome.org/show_bug.cgi?id=770798
3985 tests/Makefile.am | 7 ++-----
3986 1 file changed, 2 insertions(+), 5 deletions(-)
3988 commit 4b9185250d73c38231d90b53974d0d2912a02972
3989 Author: Christoph Reiter <creiter@src.gnome.org>
3990 Date: Thu Aug 25 16:57:11 2016 +0200
3992 configure.ac: post-release version bump to 3.21.92
3995 1 file changed, 1 insertion(+), 1 deletion(-)
3997 commit 2f98ecc4df9e0feaab78ba289956f469e36c7d76
3998 Author: Christoph Reiter <creiter@src.gnome.org>
3999 Date: Thu Aug 25 16:51:39 2016 +0200
4003 NEWS | 13 +++++++++++++
4004 1 file changed, 13 insertions(+)
4006 commit 91abec259ed0c387ab69762ff92142b08327d00a
4007 Author: Christoph Reiter <creiter@src.gnome.org>
4008 Date: Thu Aug 25 16:50:56 2016 +0200
4010 configure.ac: version bump to 3.21.91
4013 1 file changed, 1 insertion(+), 1 deletion(-)
4015 commit f65bb1fc8f7f6172970545412fe56ab75f57904b
4016 Author: Mathieu Bridon <bochecha@daitauha.fr>
4017 Date: Thu Jun 23 22:35:42 2016 +0200
4019 Allow installing with pip
4021 This commit adds a setup.py file which just calls the autotools to
4022 configure/make/make install.
4024 It is heavily inspired by the similar work from Simon McVittie on
4027 https://bugzilla.gnome.org/show_bug.cgi?id=767988
4032 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4033 3 files changed, 110 insertions(+), 1 deletion(-)
4035 commit 14626ee5dcf380ae94680626607742a8cc048351
4036 Author: Christoph Reiter <creiter@src.gnome.org>
4037 Date: Mon Jun 6 20:08:18 2016 +0200
4039 Skip a test with older glib
4041 https://bugzilla.gnome.org/show_bug.cgi?id=740301
4043 tests/test_docstring.py | 4 ++++
4044 1 file changed, 4 insertions(+)
4046 commit a12f7027adeb57fe1c0142c86d34d5ec8f6b6d9e
4047 Author: Christoph Reiter <creiter@src.gnome.org>
4048 Date: Mon Jun 6 20:13:29 2016 +0200
4050 Fix a test with Python 3.1/3.2
4052 Fix Python version check in
4053 TestImporter.test_invalid_repository_module_name()
4054 to avoid failure with Python 3.1 and 3.2.
4056 Fix provided by Arfrever Frehtes Taifersar Arahesis at
4057 https://bugzilla.gnome.org/show_bug.cgi?id=740324#c1
4059 https://bugzilla.gnome.org/show_bug.cgi?id=740324
4061 tests/test_import_machinery.py | 4 ++--
4062 1 file changed, 2 insertions(+), 2 deletions(-)
4064 commit f5cf74f3b8d285de3591d89c6f3b4b8d59bde35e
4065 Author: Christoph Reiter <creiter@src.gnome.org>
4066 Date: Mon Jun 6 20:45:22 2016 +0200
4068 tests: Use places kwarg for assertAlmostEqual
4070 Always pass 'places' argument of TestCase.assertAlmostEqual
4071 as keyword argument.
4073 Fix by Arfrever Frehtes Taifersar Arahesis
4074 https://bugzilla.gnome.org/show_bug.cgi?id=740337#c1
4076 https://bugzilla.gnome.org/show_bug.cgi?id=740337
4078 tests/test_properties.py | 6 +++---
4079 tests/test_signal.py | 4 ++--
4080 2 files changed, 5 insertions(+), 5 deletions(-)
4082 commit e0b40099283a31ea23433f9d36dc9beebd4370c9
4083 Author: Christoph Reiter <creiter@src.gnome.org>
4084 Date: Mon Jun 6 11:34:47 2016 +0200
4086 Print exception if marshalling a signal argument fails
4088 For example if cairo support is missing a Gtk.Widget::draw call
4090 "TypeError: Couldn't find foreign struct converter for
4093 https://bugzilla.gnome.org/show_bug.cgi?id=748198
4095 gi/pygi-signal-closure.c | 1 +
4096 1 file changed, 1 insertion(+)
4098 commit 76e2e30bc586016eba8bcfdd753dc1f4672dced7
4099 Author: Marinus Schraal <mschraal@src.gnome.org>
4100 Date: Fri May 20 01:26:27 2016 +0200
4102 overrides: allow treemodel sequence shorthands
4104 Add get_ and set_ overrides for sequences of GtkTreeModel
4106 allows an arbitray list of indices to be retrieved or written in
4108 from or to a GtkTreeModel row:
4110 model[0][0, 1] = [True, "Hello"]
4111 [foo, bar] = model[0][2, 7]
4113 https://bugzilla.gnome.org/show_bug.cgi?id=766580
4115 gi/overrides/Gtk.py | 15 +++++++++++++--
4116 tests/test_overrides_gtk.py | 46
4117 +++++++++++++++++++++++++++++++++++++++++++++
4118 2 files changed, 59 insertions(+), 2 deletions(-)
4120 commit ff1a6f0f00e042c5addfa42231ec8927ebf1a1a6
4121 Author: Christoph Reiter <creiter@src.gnome.org>
4122 Date: Tue May 31 19:26:00 2016 +0200
4124 Remove pygobject-external.h
4126 It's not used any more
4128 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4130 gi/Makefile.am | 1 -
4131 gi/pygobject-external.h | 73
4132 -------------------------------------------------
4133 2 files changed, 74 deletions(-)
4135 commit f5dd1551371308d33df9627bc8cc0e34fa68a2a8
4136 Author: Christoph Reiter <creiter@src.gnome.org>
4137 Date: Tue May 31 18:47:54 2016 +0200
4139 Remove pygobject-private.h and rename pygobject.c to
4142 Move all the random declarations in pygobject-private.h to their
4143 respective header files. Rename pygobject.c to pygobject-object.c
4144 so it's clearer that it's not the implementation of pygobject.h.
4145 Add a new pygobject-internal.h which includes pygobject.h
4146 with _INSIDE_PYGOBJECT_ defined like pygobject-private.h did.
4148 In case you are looking at the git log and end up here due to the
4151 git log --follow pygobject-object.c
4153 or on the web interface go to the history of the old file name:
4155 https://git.gnome.org/browse/pygobject/log/gi/pygobject.c?id=6b702c052e9f26e809cff494f0c896d17a514c64
4157 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4159 gi/Makefile.am | 7 +-
4160 gi/gimodule.c | 10 +-
4161 gi/gobjectmodule.c | 56 +---------
4162 gi/gobjectmodule.h | 11 ++
4163 gi/pygboxed.c | 4 +-
4164 gi/pygboxed.h | 11 ++
4166 gi/pygenum.h | 22 ++++
4167 gi/pygflags.c | 4 +-
4168 gi/pygflags.h | 21 ++++
4169 gi/pygi-argument.c | 4 +-
4170 gi/pygi-basictype.c | 2 +-
4171 gi/pygi-boxed.c | 3 +-
4172 gi/pygi-boxed.h | 2 +-
4173 gi/pygi-cache.c | 1 +
4174 gi/pygi-ccallback.c | 1 -
4175 gi/pygi-enum-marshal.c | 3 +-
4176 gi/pygi-foreign.c | 2 +-
4177 gi/pygi-info.c | 2 +-
4178 gi/pygi-object.c | 2 +-
4179 gi/pygi-property.c | 1 +
4180 gi/pygi-property.h | 2 +-
4181 gi/pygi-signal-closure.h | 2 +-
4182 gi/pygi-source.c | 3 +-
4183 gi/pygi-struct-marshal.c | 3 +
4184 gi/pygi-struct.c | 3 +-
4185 gi/pygi-struct.h | 2 +-
4186 gi/pygi-type.c | 2 +-
4187 gi/pygi-util.c | 42 ++++++++
4188 gi/pygi-util.h | 6 ++
4189 gi/pygi-value.c | 6 +-
4190 gi/pyginterface.c | 3 +-
4191 gi/pygobject-internal.h | 7 ++
4192 gi/{pygobject.c => pygobject-object.c} | 27 ++++-
4193 gi/pygobject-object.h | 56 ++++++++++
4194 gi/pygobject-private.h | 186
4195 ---------------------------------
4196 gi/pygparamspec.c | 5 +-
4197 gi/pygpointer.c | 3 +-
4198 gi/pygpointer.h | 8 ++
4199 gi/pygtype.c | 27 ++---
4200 gi/pygtype.h | 25 +++++
4201 41 files changed, 305 insertions(+), 286 deletions(-)
4203 commit ef7a6dad8cea6a3b9547cfae00bf15ebb9eb756e
4204 Author: Christoph Reiter <creiter@src.gnome.org>
4205 Date: Tue May 31 15:44:36 2016 +0200
4207 Merge pyglib-private.h into pyglib.h
4209 No need for another header
4211 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4213 gi/Makefile.am | 1 -
4214 gi/gimodule.c | 2 +-
4215 gi/glibmodule.c | 1 -
4216 gi/pygi-resulttuple.c | 2 +-
4217 gi/pygi-source.c | 1 -
4218 gi/pyglib-private.h | 40 ----------------------------------------
4220 gi/pyglib.h | 6 ++++++
4221 gi/pygoptioncontext.c | 1 -
4222 gi/pygoptiongroup.c | 1 -
4224 11 files changed, 8 insertions(+), 49 deletions(-)
4226 commit e1e05fb027c328ef41be0ba6d99883d2d7983f70
4227 Author: Christoph Reiter <creiter@src.gnome.org>
4228 Date: Tue May 31 15:31:38 2016 +0200
4230 Remove pygi.h and pygi-private.h
4232 Instead include things where needed.
4234 https://bugzilla.gnome.org/show_bug.cgi?id=767084
4236 gi/Makefile.am | 3 +-
4237 gi/gimodule.c | 11 ++++-
4240 gi/pygflags.c | 4 +-
4241 gi/pygi-argument.c | 17 ++++++--
4242 gi/pygi-array.c | 3 +-
4243 gi/pygi-basictype.c | 2 +-
4244 gi/pygi-boxed.c | 3 +-
4245 gi/pygi-boxed.h | 8 ++++
4246 gi/pygi-cache.c | 2 +
4247 gi/pygi-ccallback.c | 2 +-
4248 gi/pygi-ccallback.h | 11 +++++
4249 gi/pygi-closure.c | 5 ++-
4250 gi/pygi-enum-marshal.c | 3 +-
4251 gi/pygi-error.c | 2 +-
4252 gi/pygi-hashtable.c | 2 +-
4253 gi/pygi-info.c | 6 ++-
4254 gi/pygi-info.h | 22 ++++++++++
4255 gi/pygi-invoke.c | 5 +++
4256 gi/pygi-invoke.h | 2 +-
4257 gi/pygi-list.c | 2 +-
4258 gi/pygi-marshal-cleanup.c | 8 ++--
4259 gi/pygi-marshal-cleanup.h | 4 +-
4260 gi/pygi-object.c | 2 +-
4261 gi/pygi-property.c | 3 +-
4262 gi/pygi-property.h | 2 +-
4263 gi/pygi-repository.c | 3 +-
4264 gi/pygi-repository.h | 6 +++
4265 gi/pygi-signal-closure.c | 4 +-
4266 gi/pygi-signal-closure.h | 3 +-
4267 gi/pygi-source.c | 4 +-
4268 gi/pygi-struct-marshal.c | 6 ++-
4269 gi/pygi-struct.c | 5 ++-
4270 gi/pygi-struct.h | 6 +++
4271 gi/pygi-type.c | 3 +-
4272 gi/{pygi-private.h => pygi-util.h} | 47 ++--------------------
4274 --------------------------------------
4275 gi/pygobject.c | 3 +-
4276 gi/pygpointer.c | 1 -
4277 40 files changed, 146 insertions(+), 164 deletions(-)
4279 commit c86424c73725610ac2ef832c1fa41a777f9a5efa
4280 Author: Simon Feltman <sfeltman@src.gnome.org>
4281 Date: Sun Apr 24 21:27:59 2016 -0700
4283 configure.ac: post-release version bump to 3.21.1
4286 1 file changed, 1 insertion(+), 1 deletion(-)
4288 commit febd211b6628a8f63d92ae011d68b845e9fe6ec8
4289 Author: Simon Feltman <sfeltman@src.gnome.org>
4290 Date: Sun Apr 24 21:19:39 2016 -0700
4295 1 file changed, 7 insertions(+)
4297 commit 1bb267f1755b2ec314c751b27931cbe7032f3c36
4298 Author: Dustin Falgout <dustin@falgout.us>
4299 Date: Sun Mar 20 03:21:02 2016 -0500
4301 gi: Add require_versions() function
4303 Adds a new function that accepts a dict of one or more namespace,
4305 pairs through which it iterates and calls `gi.require_version()`
4306 for each pair. Also adds a test for the new function.
4308 https://bugzilla.gnome.org/show_bug.cgi?id=761141
4310 gi/__init__.py | 33 +++++++++++++++++++++++++++++++++
4311 tests/test_import_machinery.py | 6 ++++++
4312 2 files changed, 39 insertions(+)
4314 commit b3f897b98c5a2c59ea34a8afcce0448b1ffb0731
4315 Author: Iain Lane <iain@orangesquash.org.uk>
4316 Date: Thu Mar 24 18:04:40 2016 +0000
4318 test_gerror_novalue: Don't assign the error to a variable
4320 Otherwise the build fails with:
4322 CHECK Pyflakes examples gi tests pygtkcompat
4323 tests/test_gobject.py:689: local variable 'error' is assigned to
4326 https://bugzilla.gnome.org/show_bug.cgi?id=764165
4328 tests/test_gobject.py | 2 +-
4329 1 file changed, 1 insertion(+), 1 deletion(-)
4331 commit 6ff29c91dfdbcc3203405da0aca8dbfa318d8b32
4332 Author: Emmanuele Bassi <ebassi@gnome.org>
4333 Date: Wed Mar 23 13:59:53 2016 +0000
4335 build: Do not enable code coverage based on lcov
4337 Code coverage turns on various slow paths and disables
4339 should be, and it usually is, an opt in configuration flag.
4341 Enabling it should not be conditional on the existence of the lcov
4342 binary on the system, otherwise anybody building PyGObject from Git on
4343 any moderately complete development environment will automatically
4344 enable code coverage even when not wanted.
4346 https://bugzilla.gnome.org/show_bug.cgi?id=764075
4348 autogen.sh | 10 +---------
4349 1 file changed, 1 insertion(+), 9 deletions(-)
4351 commit c2a66daf3ac62e3e97f8d7fe16afccf37f413305
4352 Author: Simon Feltman <sfeltman@src.gnome.org>
4353 Date: Mon Mar 21 21:00:37 2016 -0700
4355 configure.ac: post-release version bump to 3.21.0
4358 1 file changed, 1 insertion(+), 1 deletion(-)
4360 commit ce3034544f126f196cad57485f126f1246cd1acf
4361 Author: Simon Feltman <sfeltman@src.gnome.org>
4362 Date: Mon Mar 21 20:34:50 2016 -0700
4367 1 file changed, 2 insertions(+)
4369 commit eee366401383f92a2b2b233b2cd0db2ad50b6cb2
4370 Author: Simon Feltman <sfeltman@src.gnome.org>
4371 Date: Mon Mar 21 20:33:13 2016 -0700
4373 configure.ac: pre-release version bump to 3.20.0
4375 configure.ac | 4 ++--
4376 1 file changed, 2 insertions(+), 2 deletions(-)
4378 commit f4401234cdc9be784eea9347fec349e7cba0a153
4379 Author: Simon Feltman <sfeltman@src.gnome.org>
4380 Date: Tue Mar 15 22:56:10 2016 -0700
4385 1 file changed, 2 insertions(+)
4387 commit 3d8860c2d0a95cff38f7eaa65c38521654a162ae
4388 Author: Simon Feltman <sfeltman@src.gnome.org>
4389 Date: Tue Mar 1 22:10:21 2016 -0800
4391 post-release version bump to 3.19.92
4394 1 file changed, 1 insertion(+), 1 deletion(-)
4396 commit a4865ef2f8c70b93f84f93236786c65ad5f973af
4397 Author: Simon Feltman <sfeltman@src.gnome.org>
4398 Date: Tue Mar 1 21:46:21 2016 -0800
4402 NEWS | 11 +++++++++++
4403 1 file changed, 11 insertions(+)
4405 commit cc75f994a07639b9ffcc6afef757768780a076de
4406 Author: Thibault Saunier <tsaunier@gnome.org>
4407 Date: Fri Feb 5 15:00:10 2016 +0100
4409 tests: check passing Boxed type in GValue as function parameters
4411 https://bugzilla.gnome.org/show_bug.cgi?id=761592
4413 tests/Makefile.am | 13 +++++++++++--
4414 tests/gimarshallingtestsextra.c | 37
4415 +++++++++++++++++++++++++++++++++++++
4416 tests/gimarshallingtestsextra.h | 26 ++++++++++++++++++++++++++
4417 tests/test_error.py | 6 ++++++
4418 4 files changed, 80 insertions(+), 2 deletions(-)
4420 commit 5f4b08f4e8a98046eab71537c7827edde2ca8742
4421 Author: Simon Feltman <sfeltman@src.gnome.org>
4422 Date: Mon Feb 29 22:50:32 2016 -0800
4424 gerror: Add special case marshaling for boxing GErrors
4426 Transfer gtype from introspection GError class to Python GError
4428 Expose the PyGError pointer as an extern so other C files can pick
4430 Add custom to/from GValue marshalers for GError.
4431 Add tests for both complete and incomplete (no boxed pointer held).
4433 https://bugzilla.gnome.org/show_bug.cgi?id=761592
4435 gi/overrides/GLib.py | 1 +
4436 gi/pygi-error.c | 32 +++++++++++++++++++++++++++++++-
4437 gi/pygi-error.h | 2 ++
4438 gi/pygi-value.c | 1 +
4439 tests/test_gobject.py | 17 +++++++++++++++++
4440 5 files changed, 52 insertions(+), 1 deletion(-)
4442 commit cfca1457c39e3c4c7ef97e7b46a73c19e5adf305
4443 Author: Simon Feltman <sfeltman@src.gnome.org>
4444 Date: Sun Feb 28 01:39:31 2016 -0800
4446 gerror: Add support for marshaling GError from Python to C
4448 Refactor pygi_gerror_exception_check() to use a new broken out
4450 pygi_error_marshal_from_py(). This allows re-use for argument
4452 of a Python GError to a C GError.
4453 Remove PYGI_META_ARG_TYPE_CHILD setting for GError out argument
4455 This was incorrect since GError exception arguments are not specified
4456 explicitly and instead uses the "throws" option.
4458 https://bugzilla.gnome.org/show_bug.cgi?id=685197
4460 gi/pygi-error.c | 132
4461 +++++++++++++++++++++++++++++--------------
4462 gi/pygi-error.h | 3 +
4463 tests/test_overrides_glib.py | 30 ++++++++++
4464 3 files changed, 123 insertions(+), 42 deletions(-)
4466 commit 2fc1a689a81614649d042965997f4546b0a58ada
4467 Author: Simon Feltman <sfeltman@src.gnome.org>
4468 Date: Sat Feb 27 17:21:53 2016 -0800
4470 gerror: Add "_to_py" suffix to pygi_error_marshal
4472 This will allow for the a pygi_error_marshal_from_py function.
4474 https://bugzilla.gnome.org/show_bug.cgi?id=685197
4476 gi/pygi-error.c | 8 ++++----
4477 gi/pygi-error.h | 2 +-
4478 2 files changed, 5 insertions(+), 5 deletions(-)
4480 commit 7e29227b6f58cfcc96118a4af83658ca1a6fa1f4
4481 Author: Christoph Reiter <creiter@src.gnome.org>
4482 Date: Sat Jul 4 22:09:46 2015 +0200
4484 Some error handling/reporting fixes.
4486 * Check in pyg_boxed_new() if the passed type is an actual subclass
4487 * Don't replace existing exceptions in pyg_value_as_pyobject()
4488 * Print an error in pyg_closure_marshal() in case marshalling
4491 https://bugzilla.gnome.org/show_bug.cgi?id=751956
4493 gi/pygboxed.c | 8 +++++++-
4494 gi/pygi-value.c | 15 ++++++++++-----
4495 gi/pygtype.c | 11 ++++++++++-
4496 3 files changed, 27 insertions(+), 7 deletions(-)
4498 commit 49880800b35029de3731523eede1b3174f10c1db
4499 Author: Christoph Reiter <creiter@src.gnome.org>
4500 Date: Sat Jul 4 21:40:04 2015 +0200
4502 GVariant: Don't use pyg_boxed_new as GVariant isn't a PyGBoxed but
4505 This only worked because they share the same struct layout.
4506 This adds a new constructor for creating a new PyGIStruct instance
4509 https://bugzilla.gnome.org/show_bug.cgi?id=751956
4511 gi/pygi-struct.c | 32 ++++++++++++++++++++++++++++++++
4512 gi/pygi-struct.h | 5 +++++
4513 gi/pygi-value.c | 3 ++-
4514 3 files changed, 39 insertions(+), 1 deletion(-)
4516 commit f27b1976ea325fcd55359888401dd08ac8fb074a
4517 Author: Mikhail Fludkov <misha@pexip.com>
4518 Date: Tue Sep 1 17:54:17 2015 +0200
4520 pygi-value: special case for NULL GValueArray
4522 Don't segfault when dealing with GValue of GValueArray type containing
4523 NULL. Return empty list in this case.
4525 https://bugzilla.gnome.org/show_bug.cgi?id=754359
4527 gi/pygi-value.c | 5 +++--
4528 tests/test_gobject.py | 6 ++++++
4529 2 files changed, 9 insertions(+), 2 deletions(-)
4531 commit c8176dfabea694ce738ff4633e7522b0d1fc1c51
4532 Author: Simon Feltman <sfeltman@src.gnome.org>
4533 Date: Sat Feb 20 20:42:40 2016 -0800
4535 post-release version bump to 3.19.91
4538 1 file changed, 1 insertion(+), 1 deletion(-)
4540 commit d16ae38f0a12653557bdeba17eb155144d91bff4
4541 Author: Simon Feltman <sfeltman@src.gnome.org>
4542 Date: Sat Feb 20 19:56:24 2016 -0800
4547 1 file changed, 9 insertions(+)
4549 commit 0190fb84fc1f88ba4c0623bf1b29fe3ca4f80932
4550 Author: Simon Feltman <sfeltman@src.gnome.org>
4551 Date: Sat Feb 20 19:49:31 2016 -0800
4553 pre-release version bump to 3.19.90
4556 1 file changed, 1 insertion(+), 1 deletion(-)
4558 commit 0467808b97f89c5a36c01f5b7cba013acaef6851
4559 Author: Simon Feltman <sfeltman@src.gnome.org>
4560 Date: Sat Feb 20 19:40:45 2016 -0800
4562 tests: Set the active style context state before retrieving values
4564 compat_test_pygtk.TestGTKCompat.test_style() was giving a warning due
4565 to set/get state mismatch. Set the current state before getting values
4568 tests/compat_test_pygtk.py | 1 +
4569 1 file changed, 1 insertion(+)
4571 commit 8145fa69c8ace9772687f26f782acb5e461776be
4572 Author: Simon Feltman <sfeltman@src.gnome.org>
4573 Date: Sat Feb 20 17:32:01 2016 -0800
4575 tests: Fix crash with empty drag source icon names
4577 Add "_About" argument when testing call to
4578 drag_source_set_icon_name().
4579 Add Gtk.STOCK_ABOUT argument when testing call to
4580 drag_source_set_icon_stock().
4581 This avoids crashes due to GTK+ drag source attempting to unref a
4584 https://bugzilla.gnome.org/show_bug.cgi?id=762392
4586 tests/test_overrides_gtk.py | 4 ++--
4587 1 file changed, 2 insertions(+), 2 deletions(-)
4589 commit 6a26d3f2b25b3fbbd87def14f1df17b96ed23a0d
4590 Author: Christoph Reiter <creiter@src.gnome.org>
4591 Date: Sun Oct 4 11:18:04 2015 +0200
4593 Try to import GdkX11 in Gdk overrides
4595 pygobject will not provide GdkX11 instances until the namespace
4596 is loaded so try to load it in the overrides.
4598 This makes Gdk.Display.get_default() return a GdkX11.X11Display
4599 instead of a dummy Gdk.Display subclass instance.
4601 https://bugzilla.gnome.org/show_bug.cgi?id=673396
4603 gi/overrides/Gdk.py | 11 ++++++++++-
4604 1 file changed, 10 insertions(+), 1 deletion(-)
4606 commit 12022437d663f49ba3a2a2f884da30dd5ca08ff6
4607 Author: Christoph Reiter <creiter@src.gnome.org>
4608 Date: Fri Oct 30 13:07:57 2015 +0100
4610 Fix import warnings pointing to the wrong code with CPython 3.3/3.5
4612 For making warnings point to the code doing the import, the stack
4614 of the import system need to be skipped. The frame count number
4616 between CPython versions and in 3.5 all frames of the import
4618 skipped for warnings (https://bugs.python.org/issue24305).
4620 This hardcodes the frame counts for all supported CPython versions
4621 which fixes the import warning output for CPython 3.3 and 3.5.
4623 This also fixes/works around a bug in CPython 3 where if a too
4624 large stacklevel value was passed to warn(), CPython would try to
4625 interpret a file called "sys" in the same directory of the
4626 executed script (https://bugs.python.org/issue25493
4627 and https://bugzilla.gnome.org/show_bug.cgi?id=757184).
4629 https://bugzilla.gnome.org/show_bug.cgi?id=757184
4631 gi/importer.py | 28 +++++++++++++++++++++++-----
4632 tests/test_import_machinery.py | 4 ++++
4633 2 files changed, 27 insertions(+), 5 deletions(-)
4635 commit 72ab17963e81fb63f7238123c359be8d83a529f4
4636 Author: Christoph Reiter <creiter@src.gnome.org>
4637 Date: Sun Oct 25 11:39:22 2015 +0100
4639 Bump automake version to 1.12.6
4641 Required to a get a new enough py-compile which supports
4642 the __pycache__ directories for newer Python 3 versions.
4643 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847
4645 Also remove m4/py-compile which doesn't seem to get used in
4646 either 1.11 or 1.15 here.
4648 https://bugzilla.gnome.org/show_bug.cgi?id=757086
4652 ----------------------------------------------------------
4653 2 files changed, 3 insertions(+), 162 deletions(-)
4655 commit b71f76af163c1d43b9f11e6a6362e7510d84c231
4656 Author: Simon Feltman <sfeltman@src.gnome.org>
4657 Date: Sat Oct 31 14:55:46 2015 -0700
4659 post-release version bump to 3.19.3
4662 1 file changed, 1 insertion(+), 1 deletion(-)
4664 commit bedc7b883febceb3470f1b8e909cfab696d1fc5f
4665 Author: Simon Feltman <sfeltman@src.gnome.org>
4666 Date: Sat Oct 31 14:47:07 2015 -0700
4671 1 file changed, 7 insertions(+)
4673 commit 4164e7088be446fcab65cef642c6853aad3b6a69
4674 Author: Simon Feltman <sfeltman@src.gnome.org>
4675 Date: Sat Oct 31 14:06:40 2015 -0700
4677 tests: Fix failure due to new GTK+ warning regarding size_allocate()
4679 Call get_preferred_size() to avoid size_allocated() warning in
4680 size-allocated signal handler test.
4682 tests/test_overrides_gtk.py | 1 +
4683 1 file changed, 1 insertion(+)
4685 commit a8293f411234180d70e9ff979954b28381842e1f
4686 Author: Simon Feltman <sfeltman@src.gnome.org>
4687 Date: Sat Oct 31 14:03:21 2015 -0700
4689 Fix build warnings regarding _POSIX_C_SOURCE redefinition
4691 Move Python.h includes above glib includes to avoid build
4692 warnings with Python 2 as noted here:
4693 https://docs.python.org/2/c-api/intro.html#include-files
4695 gi/gobjectmodule.c | 1 +
4696 gi/pygi-array.c | 2 +-
4697 gi/pygi-cache.c | 2 +-
4698 gi/pygi-enum-marshal.c | 2 +-
4699 gi/pygi-hashtable.c | 1 +
4700 gi/pygi-hashtable.h | 2 +-
4701 gi/pygi-list.c | 1 +
4702 gi/pygi-object.c | 2 +-
4703 gi/pygi-struct-marshal.c | 2 +-
4704 gi/pygi-value.c | 1 +
4705 10 files changed, 10 insertions(+), 6 deletions(-)
4707 commit 3b1d130174951f7648beceac270daa8ac65939c7
4708 Author: Matthias Clasen <mclasen@redhat.com>
4709 Date: Fri Oct 30 12:15:26 2015 -0400
4711 Drop -std=c90 for now
4713 glib headers have a problem with it, and sorting it out on the
4714 glib side will take a while, so drop this for now.
4716 configure.ac | 9 ---------
4717 1 file changed, 9 deletions(-)
4719 commit ef219cc74a7c6803795692664fc3b2c8ebbb4fe4
4720 Author: Christoph Reiter <creiter@src.gnome.org>
4721 Date: Fri Oct 30 16:23:11 2015 +0100
4723 configure.ac: post release version bump to 3.19.2
4726 1 file changed, 1 insertion(+), 1 deletion(-)
4728 commit 98a4bfe4606bd2c7534533633a20a998f732e248
4729 Author: Christoph Reiter <creiter@src.gnome.org>
4730 Date: Fri Oct 30 16:13:46 2015 +0100
4734 NEWS | 20 ++++++++++++++++++++
4735 1 file changed, 20 insertions(+)
4737 commit 175d10665472e6f4090d707e3b89255814c932b1
4738 Author: Christoph Reiter <creiter@src.gnome.org>
4739 Date: Mon Jun 8 18:14:08 2015 +0200
4741 Use a named tuple for returning multiple values
4743 >>> v = Gtk.Button().get_alignment()
4745 (xalign=0.5, yalign=0.5)
4749 For each GICallable a new gi._gi.ResultTuple subclass
4750 is created which knows the return value names of that
4751 callable and displays them in __repr__, __dir__ and
4752 allows to access tuple items by name.
4754 The subclass is cached in PyGICallableCache.
4756 To reduce the number of small tuple allocations use a free list
4757 similar to the one used for pure tuples in CPython.
4759 https://bugzilla.gnome.org/show_bug.cgi?id=727374
4761 gi/Makefile.am | 2 +
4763 gi/pygi-cache.c | 34 +++++
4764 gi/pygi-cache.h | 6 +
4765 gi/pygi-invoke.c | 35 ++---
4766 gi/pygi-private.h | 1 +
4767 gi/pygi-resulttuple.c | 354
4768 ++++++++++++++++++++++++++++++++++++++++++++++
4769 gi/pygi-resulttuple.h | 34 +++++
4770 gi/pyglib-python-compat.h | 5 +
4771 tests/Makefile.am | 1 +
4772 tests/test_resulttuple.py | 87 ++++++++++++
4773 11 files changed, 543 insertions(+), 17 deletions(-)
4775 commit b1788c9a445c8a820121c42260bcbdbc3ae8dfba
4776 Author: Christoph Reiter <creiter@src.gnome.org>
4777 Date: Mon Oct 26 11:17:34 2015 +0100
4779 enum/flags: use gir info for type names and __repr__ instead of the
4782 For example __name__ is now SpawnFlags instead of PyGLibSpawnFlags
4783 and __repr__ shows GLib.SpawnFlags in stead of PyGLibSpawnFlags.
4785 https://bugzilla.gnome.org/show_bug.cgi?id=657915
4787 gi/gimodule.c | 35 ++++++++++++++++++++++++----
4789 +++++++++++++++++++++++++++++++--------------
4790 gi/pygflags.c | 31 +++++++++++++++++++-----
4791 tests/test_gi.py | 41 ++++++++++++++++++++++++++++++++
4792 tests/test_overrides_gdk.py | 6 ++---
4793 5 files changed, 139 insertions(+), 31 deletions(-)
4795 commit 6b702c052e9f26e809cff494f0c896d17a514c64
4796 Author: Christoph Reiter <creiter@src.gnome.org>
4797 Date: Wed Jun 10 18:24:44 2015 +0200
4799 Improve and unify __repr__ format for PyGObject, PyGBoxed and
4802 Includes the module, Python type name, pointer and wrapper pointer
4803 and GType name. e.g.
4804 "<Gtk.Border object at 0x7f26bee9e4c8 (GtkBorder at 0x1c72e30)>"
4806 In case of PyGObjects created from GType set the module to __gi__
4807 instead of guessing the old static binding name. Also
4808 remove the code that tries to add them to the guessed static bindings
4809 module while at it. The __repr__ will now return
4810 "<__gi__.X11Keymap ..." instead of "<gtk.gdk.X11Keymap ..."
4812 https://bugzilla.gnome.org/show_bug.cgi?id=657915
4814 gi/pygboxed.c | 31 +++++++++++++++++++++----
4815 gi/pygi-struct.c | 23 ++++++++++++++++++
4817 +++++++++++++++++++++++++-------------------------------
4818 tests/test_gi.py | 33 ++++++++++++++++++++++++++
4819 4 files changed, 113 insertions(+), 45 deletions(-)
4821 commit 9b821aa0d60857e612cde9dabe9c8f9f9c60214c
4822 Author: Christoph Reiter <creiter@src.gnome.org>
4823 Date: Sun Oct 4 11:13:37 2015 +0200
4825 Don't leak internal RepositoryError on import.
4827 In case a dependency of the imported namespace has a version
4828 conflict with an already loaded version, import would raise
4831 This fixes it to raise an ImportError instead.
4833 https://bugzilla.gnome.org/show_bug.cgi?id=756033
4835 gi/importer.py | 7 +++++--
4836 gi/module.py | 4 ++++
4837 2 files changed, 9 insertions(+), 2 deletions(-)
4839 commit dba1da9b0770c7dec1abd82303b9b4266fe2ce3f
4840 Author: Christoph Reiter <creiter@src.gnome.org>
4841 Date: Sun Oct 4 10:13:35 2015 +0200
4843 Import dependencies when importing typelibs from gi.repository
4845 Recursively import a modules dependencies when importing from
4848 This fixes the case where a library depends on initialization
4849 code of dependency overrides. For example libwnck expects
4850 gdk_init to be called before using its API and gdk_init
4851 gets called in the Gdk overrrides.
4853 https://bugzilla.gnome.org/show_bug.cgi?id=656314
4855 gi/importer.py | 12 +++++++++++-
4856 gi/pygi-repository.c | 35 +++++++++++++++++++++++++++++++++++
4857 tests/test_import_machinery.py | 13 +++++++++++++
4858 tests/test_repository.py | 10 ++++++++++
4859 4 files changed, 69 insertions(+), 1 deletion(-)
4861 commit dfa3a85290dd97ecd7cbe8f12fbc1ff2db5a1155
4862 Author: Christoph Reiter <creiter@src.gnome.org>
4863 Date: Sun Oct 11 01:28:48 2015 +0200
4865 Fix Gdk.rectangle_intersect/rectangle_union missing with GTK+ 3.18
4867 3.18 added a Gdk.Rectangle type which changed these functions
4868 to methods in the gir.
4870 Fix by providing aliases in the Gdk overrides.
4872 https://bugzilla.gnome.org/show_bug.cgi?id=756364
4874 gi/overrides/Gdk.py | 8 ++++++++
4875 tests/test_overrides_gdk.py | 9 +++++++++
4876 2 files changed, 17 insertions(+)
4878 commit 98726caff183491cde1e145861adfcff0c243d9b
4879 Author: Christoph Reiter <creiter@src.gnome.org>
4880 Date: Sun Oct 4 09:53:27 2015 +0200
4882 Don't import inspect at module level
4884 Move it to the only user instead as importing inspect
4887 gi/_signalhelper.py | 3 ++-
4888 1 file changed, 2 insertions(+), 1 deletion(-)
4890 commit e1921b7224ca1e909d9fe5483a09414742d0baf4
4891 Author: Christoph Reiter <creiter@src.gnome.org>
4892 Date: Sat Sep 26 21:29:54 2015 +0200
4894 invoke state: add a free memory cache for PyGIInvokeArgState
4896 Keep one free allocation per argument count around
4897 to reduce g_slice_alloc/free usage.
4899 Reduces CPU time for simple functions by 10% and 5% for closures.
4901 https://bugzilla.gnome.org/show_bug.cgi?id=750658
4903 gi/pygi-closure.c | 6 ++----
4904 gi/pygi-invoke.c | 61
4905 +++++++++++++++++++++++++++++++++++++++++++++++++------
4906 gi/pygi-invoke.h | 4 ++++
4907 3 files changed, 61 insertions(+), 10 deletions(-)
4909 commit f72b6434de82ffa1950ff45a4daf80c84f58eca6
4910 Author: Christoph Reiter <creiter@src.gnome.org>
4911 Date: Sat Sep 26 21:25:38 2015 +0200
4913 invoke/closure: reduce g_slice_alloc usage
4915 Instead of allocating multiple arrays, combine argument
4916 data in a new PyGIInvokeArgState and allocate it in one go.
4918 This reduces CPU time by 20% for simple functions and by 15%
4921 https://bugzilla.gnome.org/show_bug.cgi?id=750658
4923 gi/pygi-array.c | 6 +--
4924 gi/pygi-closure.c | 99
4925 +++++++++++++++++++------------------------
4926 gi/pygi-invoke-state-struct.h | 34 +++++++++------
4927 gi/pygi-invoke.c | 50 +++++++---------------
4928 gi/pygi-marshal-cleanup.c | 10 ++---
4929 5 files changed, 86 insertions(+), 113 deletions(-)
4931 commit 640221c099031a55cbc32f5cdac3e6e018256fff
4932 Author: Christoph Reiter <creiter@src.gnome.org>
4933 Date: Sun Sep 27 11:19:14 2015 +0200
4935 pep8: ignore new errors reported by pep8 1.6
4937 Makes sure we get the same result for older and newer pep8.
4938 Once 1.6 is more common, the ignored errors could be added back
4939 and fixed (E402 might be impossible, see bug 755620)
4942 1 file changed, 1 insertion(+), 1 deletion(-)
4944 commit 5fcc0b49e5988bfb6893bd56dd25a6257cd9720d
4945 Author: Garrett Regier <garrett.regier@riftio.com>
4946 Date: Tue Sep 22 14:57:13 2015 -0700
4948 Bump g-i dependency to latest stable
4950 This is required for throwing exceptions in closures.
4954 2 files changed, 2 insertions(+), 2 deletions(-)
4956 commit 0acbf6ad543a928ce75fc6d6839d3e6aa2e9a3d3
4957 Author: Garrett Regier <garrett.regier@riftio.com>
4958 Date: Tue Jun 9 07:11:51 2015 -0700
4960 Avoid calling g_slist_length() during invoke
4962 We already know the number of Python args.
4964 gi/pygi-invoke.c | 3 +--
4965 1 file changed, 1 insertion(+), 2 deletions(-)
4967 commit 216e94cff0bbe5436efe423b197c9cfc4a00a02d
4968 Author: Garrett Regier <garrett.regier@riftio.com>
4969 Date: Wed Jun 3 08:14:08 2015 -0700
4971 Simplify closure_convert_arguments()
4973 This chunk of work should really be done
4974 in convert_ffi_arguments().
4976 gi/pygi-closure.c | 65
4977 +++++++++++++++++++++++++------------------------------
4978 1 file changed, 29 insertions(+), 36 deletions(-)
4980 commit 7f7d0c52c9b364ba0ec92c9415298c26b103a077
4981 Author: Garrett Regier <garrett.regier@riftio.com>
4982 Date: Wed Jun 3 08:09:31 2015 -0700
4984 Remove a level of indentation in convert_ffi_arguments()
4986 gi/pygi-closure.c | 138
4987 ++++++++++++++++++++++++++----------------------------
4988 1 file changed, 67 insertions(+), 71 deletions(-)
4990 commit 3066f3a88103f02c7e22db22efbeb501f4e30d32
4991 Author: Garrett Regier <garrett.regier@riftio.com>
4992 Date: Wed Jun 3 07:50:37 2015 -0700
4994 Prevent passing the user data multiple times to callbacks
4996 This can happen when a callback has multiple gpointers.
4997 Also, store the closure index as it is hopefully more reliable
5000 https://bugzilla.gnome.org/show_bug.cgi?id=750347
5002 gi/pygi-cache.c | 24 ++++++++++++++++++++++++
5003 gi/pygi-cache.h | 3 +++
5004 gi/pygi-closure.c | 8 ++------
5005 3 files changed, 29 insertions(+), 6 deletions(-)
5007 commit 40bba555c835cf53d6aa2645329631e6abe57e6c
5008 Author: Garrett Regier <garrett.regier@riftio.com>
5009 Date: Wed Jun 3 07:06:40 2015 -0700
5011 Support throwing exceptions in closures
5013 This allows exceptions raised in vfunc implemntations
5014 and callbacks to be turned into GErrors.
5016 NOTE: this requires matchs in
5017 https://bugzilla.gnome.org/show_bug.cgi?id=729543
5018 thus we must bump the GI req once they are commited.
5020 https://bugzilla.gnome.org/show_bug.cgi?id=710671
5022 gi/pygi-closure.c | 113
5023 ++++++++++++++++++++++++++++++----------------------
5024 tests/test_error.py | 22 ++++++++++
5025 2 files changed, 88 insertions(+), 47 deletions(-)
5027 commit ea75a89a7d2bdabc7a29f7f20f792211765f2ac7
5028 Author: Christoph Reiter <creiter@src.gnome.org>
5029 Date: Sun Sep 6 05:35:03 2015 +0200
5031 Don't emit require_version warning if namespace was loaded previously
5032 using g_irepository_require
5034 Instead of tracking loaded dependencies ourself to hide warnings
5036 were loaded by a previous import just look if the namespace was loaded
5037 before the import. This (a) makes the implementation much simpler and
5038 (b) also takes into account namespaces loaded outside of
5040 using the libgirepository C API (as is common in applications using
5041 libpeas with Python plugins)
5043 This also introduces a new Python wrapper for
5044 g_irepository_is_registered()
5045 to allow checking the loading state of namespaces before imports.
5047 This fixes unnecessary require_version warnings in gedit,
5049 totem, rhythmbox etc.
5051 https://bugzilla.gnome.org/show_bug.cgi?id=754491
5054 +++++++++++-------------------------------
5055 gi/pygi-repository.c | 19 +++++++++
5056 tests/test_import_machinery.py | 9 ----
5057 tests/test_repository.py | 11 +++++
5058 4 files changed, 54 insertions(+), 78 deletions(-)
5060 commit 65726314de2833ce0364a3f3e23f344d122b342f
5061 Author: Garrett Regier <garrett.regier@riftio.com>
5062 Date: Tue Sep 22 00:17:00 2015 -0700
5064 configure.ac: post release version bump to 3.19.1
5066 configure.ac | 4 ++--
5067 1 file changed, 2 insertions(+), 2 deletions(-)
5069 commit ea5ecca4916569b1eca6296ff1a8905e42c3c38a
5070 Author: Garrett Regier <garrettregier@gmail.com>
5071 Date: Tue Sep 22 00:10:35 2015 -0700
5076 configure.ac | 4 ++--
5077 2 files changed, 4 insertions(+), 2 deletions(-)
5079 commit e2b8ba0584d1a3273dfa2fcb23616d1dc68fdb8e
5080 Author: Simon Feltman <sfeltman@src.gnome.org>
5081 Date: Wed Aug 19 21:04:37 2015 -0700
5083 configure.ac: post-release version bump to 3.17.91
5086 1 file changed, 1 insertion(+), 1 deletion(-)
5088 commit 6392b2727e7ed391683bebbf69fbc8b474e99a5f
5089 Author: Simon Feltman <sfeltman@src.gnome.org>
5090 Date: Wed Aug 19 21:02:44 2015 -0700
5094 NEWS | 14 ++++++++++++++
5095 1 file changed, 14 insertions(+)
5097 commit 1da98892cf505b35ce0280db22e1e8ba31c095e0
5098 Author: Simon Feltman <sfeltman@src.gnome.org>
5099 Date: Wed Aug 19 20:57:37 2015 -0700
5101 configure.ac: pre-release version bump to 3.17.90
5104 1 file changed, 1 insertion(+), 1 deletion(-)
5106 commit 79d23e9accd331d954007dcae6b6b7fa2837cfa7
5107 Author: Christoph Reiter <reiter.christoph@gmail.com>
5108 Date: Wed Feb 18 19:30:30 2015 +0100
5110 Allow passing unicode lists to GStrv properties on Python 2
5112 https://bugzilla.gnome.org/show_bug.cgi?id=744745
5114 gi/pygi-value.c | 41 ++++++++++++++++++++++++++++++++---------
5115 tests/test_properties.py | 8 +++++++-
5116 2 files changed, 39 insertions(+), 10 deletions(-)
5118 commit 8aa3d5935b4541be6e76e8792e58bb301fa4f7d1
5119 Author: Rui Matos <tiagomatos@gmail.com>
5120 Date: Thu May 21 17:53:17 2015 +0200
5122 Avoid a silent long to int truncation
5124 If the python object contains a value bigger than MAXUINT we'd
5125 silently truncate it when assigning to 'val' and the if condition
5126 would always be true.
5128 This was caught by a coverity scan.
5130 https://bugzilla.gnome.org/show_bug.cgi?id=749698
5132 gi/pygi-value.c | 4 ++--
5133 1 file changed, 2 insertions(+), 2 deletions(-)
5135 commit 5af6c722e5b7db90a3ca0832c46efe0c9142a0d1
5136 Author: Christoph Reiter <creiter@src.gnome.org>
5137 Date: Sun Jul 5 11:58:50 2015 +0200
5139 tests: add a test for test_glist_gtype_container_in()
5141 https://bugzilla.gnome.org/show_bug.cgi?id=749696
5143 tests/test_everything.py | 6 ++++++
5144 1 file changed, 6 insertions(+)
5146 commit f69ce9f5f6cd81b057ed0006d1fe7f71fa294943
5147 Author: Mathieu Bridon <bochecha@daitauha.fr>
5148 Date: Sun Jul 5 11:07:00 2015 +0200
5150 Handle gtype marshalling
5152 https://bugzilla.gnome.org/show_bug.cgi?id=749696
5154 gi/pygi-argument.c | 5 +++++
5155 1 file changed, 5 insertions(+)
5157 commit 0ee1f562c975df51ce93578d35678ef1e915e202
5158 Author: Daniel Hahler <git@thequod.de>
5159 Date: Wed Mar 25 14:37:29 2015 +0100
5161 pygi-foreign-cairo.c: fix include for py3cairo.h
5163 The pkg-config info includes the "pycairo" folder already.
5165 https://bugzilla.gnome.org/show_bug.cgi?id=746742
5167 gi/pygi-foreign-cairo.c | 2 +-
5168 1 file changed, 1 insertion(+), 1 deletion(-)
5170 commit fea15145c2a3e6aac73350241a982a095e16c7d8
5171 Author: Christoph Reiter <creiter@src.gnome.org>
5172 Date: Thu Jun 18 13:36:52 2015 +0200
5174 tests: Silence various error messages and warnings.
5176 This silences glib warnings which are due to testing
5177 of error handling, deprecation warnings which we ignore
5178 since we want to continue testing deprecated code and
5179 other error output of code which is supposed to fail.
5181 To reduce code duplication and make things easier
5182 this introduces a shared helper module containing
5183 various context managers and decorators which allow
5184 testing and silencing of warnings and errors.
5186 https://bugzilla.gnome.org/show_bug.cgi?id=751156
5188 tests/Makefile.am | 1 +
5189 tests/compat_test_pygtk.py | 27 +++------
5190 tests/compathelper.py | 8 +++
5191 tests/helper.py | 132
5192 ++++++++++++++++++++++++++++++++++++++++++++
5193 tests/test_everything.py | 28 ++++++----
5194 tests/test_gi.py | 6 +-
5195 tests/test_gio.py | 3 +
5196 tests/test_iochannel.py | 20 +++----
5197 tests/test_overrides_gdk.py | 18 +++---
5198 tests/test_overrides_gtk.py | 20 +++----
5199 tests/test_properties.py | 21 +++----
5200 tests/test_repository.py | 13 ++---
5201 tests/test_signal.py | 24 +++-----
5202 tests/test_source.py | 8 +--
5203 14 files changed, 231 insertions(+), 98 deletions(-)
5205 commit 619777730891b42b98da556c3aa9ca5a1b3f617b
5206 Author: Christoph Reiter <creiter@src.gnome.org>
5207 Date: Thu Jun 18 13:30:03 2015 +0200
5209 Fix gcc warning regarding uninitialized use of variable
5211 https://bugzilla.gnome.org/show_bug.cgi?id=751156
5213 gi/pygobject.c | 4 +++-
5214 1 file changed, 3 insertions(+), 1 deletion(-)
5216 commit 1ed8200abefc3e51e4d2083b1372695aaf4163fb
5217 Author: Christoph Reiter <creiter@src.gnome.org>
5218 Date: Sun Jun 21 23:55:02 2015 +0200
5220 Fix test regression when xdg-user-dirs is not installed.
5222 GLib.get_user_special_dir is only guaranteed to always return
5223 a path in case GLib.UserDirectory.DIRECTORY_DESKTOP is passed.
5224 This was unintentionally changed to DIRECTORY_MUSIC
5225 in 9948a67e677c8a351f2de1708.
5227 https://bugzilla.gnome.org/show_bug.cgi?id=751299
5229 tests/test_glib.py | 2 +-
5230 1 file changed, 1 insertion(+), 1 deletion(-)
5232 commit 79cf1f70d247b5a4d33d1e60107e47903ca76055
5233 Author: Garrett Regier <garrett.regier@riftio.com>
5234 Date: Mon May 18 02:32:18 2015 -0700
5236 Explicitly check if an override exists instead of ImportError
5238 If an override depended on another module and it did not
5239 exist then the raised ImportError was consumed and assumed
5240 to mean that the override did not exist. This makes it
5241 difficult to diagnose issues with overrides.
5243 This uses pkgutil.get_loader() as it is the easier way to
5244 determine if a module exists in both Python 2 and 3
5245 and avoid deprecated functions.
5247 https://bugzilla.gnome.org/show_bug.cgi?id=749532
5249 gi/overrides/__init__.py | 17 +++++++++++++++--
5250 1 file changed, 15 insertions(+), 2 deletions(-)
5252 commit d2faa619f5e204b75315a42fec99dd48fe7fb31c
5253 Author: Simon Feltman <sfeltman@src.gnome.org>
5254 Date: Mon Jun 15 01:24:16 2015 -0700
5256 configure.ac: post-release version bump to 3.17.2
5259 1 file changed, 1 insertion(+), 1 deletion(-)
5261 commit 6fa54fe868d0e2a9a9d4dc300a61cbfa079681a8
5262 Author: Simon Feltman <sfeltman@src.gnome.org>
5263 Date: Mon Jun 15 01:20:47 2015 -0700
5267 NEWS | 16 ++++++++++++++++
5268 1 file changed, 16 insertions(+)
5270 commit 2048dc8d1d708abce7037f96483c6d776567d6b5
5271 Author: Christoph Reiter <creiter@src.gnome.org>
5272 Date: Mon Mar 2 20:58:04 2015 +0100
5274 Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in
5275 case the version to import wasn't specified.
5277 This makes the warning visible by default.
5278 See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info
5281 https://bugzilla.gnome.org/show_bug.cgi?id=727379
5283 gi/__init__.py | 2 ++
5284 gi/gimodule.c | 6 ++++++
5285 gi/importer.py | 3 ++-
5286 tests/test_gi.py | 15 +++++++++++++++
5287 4 files changed, 25 insertions(+), 1 deletion(-)
5289 commit 7a3bb6971f22accd25e987496d377e1879f6e1ba
5290 Author: Christoph Reiter <creiter@src.gnome.org>
5291 Date: Sat May 30 17:46:54 2015 +0200
5293 Remove Gdk.Rectangle alias with newer gobject-introspection and GTK+
5295 The new GdkRectangle in the typelib confuses the marshalling code
5296 as PyGObject uses the Python class from the overrides for marshalling
5297 to Python but uses the gtype from the typelib to do
5298 type checking when marshalling from Python.
5300 https://bugzilla.gnome.org/show_bug.cgi?id=749625
5302 gi/overrides/Gdk.py | 12 ++++++++----
5303 1 file changed, 8 insertions(+), 4 deletions(-)
5305 commit 64be2069d39b4d2767eb1efd47bb3f268ad7fb0d
5306 Author: Christoph Reiter <creiter@src.gnome.org>
5307 Date: Thu Apr 23 22:03:54 2015 +0200
5309 overrides: Provide _overrides_module attribute to make gst-python
5310 overrides work again.
5312 gi_gst_fraction_from_value () in gst-python's gstmodule.c tries
5314 the Gst.Fraction class through
5315 gi.repository.Gst._overrides_module.Fraction
5316 and failed since _overrides_module was removed in revision
5319 This adds it back pointing to the proxy itself which also contains
5322 https://bugzilla.gnome.org/show_bug.cgi?id=736678#c6
5324 gi/overrides/__init__.py | 7 +++++++
5325 1 file changed, 7 insertions(+)
5327 commit 6772e990ad889af817b9224e88ea9d79a04caef7
5328 Author: Simon Feltman <sfeltman@src.gnome.org>
5329 Date: Mon Apr 13 19:33:40 2015 -0700
5331 overrides: Conditionalize touch override support in Gdk
5333 Conditionalize Gdk.EventTouch union discrimination. This fixes the
5334 Gdk overrides to continue working with versions of Gdk less than 3.4.
5336 https://bugzilla.gnome.org/show_bug.cgi?id=747717
5338 gi/overrides/Gdk.py | 18 +++++++++++++-----
5339 1 file changed, 13 insertions(+), 5 deletions(-)
5341 commit 26c015b177ddcc0f35c97bcd7a4f2114fb2e8e2a
5342 Author: Christoph Reiter <reiter.christoph@gmail.com>
5343 Date: Sun Mar 29 23:23:09 2015 +0200
5345 Field setters: Remove unneeded type/range checks and resulting
5348 These checks are performed in the actual marshalling code
5349 paths as well, no need to do them twice.
5351 Also move _pygi_g_registered_type_info_check_object() to pygi-info.c
5352 as it's the only place where it is still used.
5354 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5356 gi/pygi-argument.c | 626
5357 ---------------------------------------------------
5358 gi/pygi-argument.h | 12 -
5359 gi/pygi-info.c | 90 ++++++--
5360 tests/test_fields.py | 14 +-
5361 4 files changed, 83 insertions(+), 659 deletions(-)
5363 commit dbb0b199268ece884e19eb99093fc26bd7bf92af
5364 Author: Christoph Reiter <reiter.christoph@gmail.com>
5365 Date: Sun Mar 29 21:51:42 2015 +0200
5367 pygi-argument: Remove unused imports/includes
5369 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5372 gi/pygi-argument.c | 7 -------
5373 gi/pygi-argument.h | 2 --
5374 3 files changed, 10 deletions(-)
5376 commit 7dee04efff418677eead36ee9ed497cc3eadf8f7
5377 Author: Christoph Reiter <reiter.christoph@gmail.com>
5378 Date: Sun Mar 29 21:47:47 2015 +0200
5380 Improve test coverage for field setters/getters.
5382 Field setters are the sole users of the GIArgument value validation
5383 code and the error handling is hardly tested. This tries to improve
5384 the coverage for the field types available in
5385 GLib/Regress/GIMarshallingTests.
5387 https://bugzilla.gnome.org/show_bug.cgi?id=746985
5389 tests/Makefile.am | 1 +
5390 tests/test_fields.py | 186
5391 +++++++++++++++++++++++++++++++++++++++++++++++++++
5392 2 files changed, 187 insertions(+)
5394 commit b0170220fabbf878a36e0c14b0a3024973b7355f
5395 Author: Simon Feltman <sfeltman@src.gnome.org>
5396 Date: Sun Mar 29 16:35:47 2015 -0700
5398 configure.ac: post release version bump to 3.17.1
5400 configure.ac | 4 ++--
5401 1 file changed, 2 insertions(+), 2 deletions(-)
5403 commit 46f463a3a3ff45eb8eba67fbb59ecc861b1e1d73
5404 Author: Simon Feltman <sfeltman@src.gnome.org>
5405 Date: Tue Mar 24 01:25:25 2015 -0700
5410 configure.ac | 4 ++--
5411 2 files changed, 4 insertions(+), 2 deletions(-)
5413 commit bf802599f5d0d13cc4b69f1716400561a16a2443
5414 Author: Simon Feltman <sfeltman@src.gnome.org>
5415 Date: Thu Mar 5 01:09:12 2015 -0800
5417 configure.ac: post release version bump to 3.15.92
5420 1 file changed, 1 insertion(+), 1 deletion(-)
5422 commit a86f309066f007f9787a6d1ac679dc041740d8dc
5423 Author: Simon Feltman <sfeltman@src.gnome.org>
5424 Date: Thu Mar 5 01:08:03 2015 -0800
5428 NEWS | 14 ++++++++++++++
5430 2 files changed, 15 insertions(+), 1 deletion(-)
5432 commit 9948a67e677c8a351f2de17080d7a671882570f3
5433 Author: Christoph Reiter <reiter.christoph@gmail.com>
5434 Date: Tue Jan 27 17:47:49 2015 +0100
5436 tests: Don't use deprecated override attributes
5438 In case the test explicitly tests the deprecated attribute
5439 silence the resulting warnings.
5441 Instead of replacing GObject.PARAM_READWRITE with
5442 GObject.ParamFlags.READWRITE use (READABLE | WRITABLE)
5443 to not depend on a newer glib version.
5445 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5447 tests/test_everything.py | 168
5448 ++++++++++++++++++++++----------------------
5449 tests/test_gi.py | 66 ++++++++---------
5450 tests/test_glib.py | 33 +++++----
5451 tests/test_gobject.py | 21 +++---
5452 tests/test_internal_api.py | 4 +-
5453 tests/test_iochannel.py | 11 +--
5454 tests/test_overrides_gtk.py | 20 +++---
5455 tests/test_properties.py | 100 ++++++++++++++------------
5456 tests/test_signal.py | 111 ++++++++++++++---------------
5457 tests/test_source.py | 8 +--
5458 tests/test_subprocess.py | 7 +-
5459 tests/testmodule.py | 3 +-
5460 12 files changed, 292 insertions(+), 260 deletions(-)
5462 commit 9285b23cd1b253baaf06ddd49e2f000716bbf7f3
5463 Author: Christoph Reiter <reiter.christoph@gmail.com>
5464 Date: Tue Jan 27 16:36:02 2015 +0100
5466 Add GLib.MINFLOAT etc. and mark GObject.G_MINFLOAT etc. deprecated.
5468 They are defined in glib, not gobject and not included in the gir;
5469 Similar constants like G_MAXINT64 are defined in GLib gir and marked
5470 deprecated in the GObject overrides already.
5472 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5474 gi/overrides/GLib.py | 12 ++++++++++++
5475 gi/overrides/GObject.py | 4 +++-
5476 tests/test_overrides_glib.py | 7 +++++++
5477 3 files changed, 22 insertions(+), 1 deletion(-)
5479 commit f74acb38f1410982f3419acb134adf173600e497
5480 Author: Christoph Reiter <reiter.christoph@gmail.com>
5481 Date: Tue Jan 27 16:06:03 2015 +0100
5483 Emit PyGIDeprecationWarning when accessing deprecated override
5486 Adds a new helper function for overrides to mark a module level
5488 as deprecated. A warning will be emitted every time the attribute gets
5491 e.g. when marking GObject.STATUS_FOO as deprecated using
5493 STATUS_FOO = GLib.Status.FOO
5494 deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")
5495 __all__.append("STATUS_FOO")
5497 accessing it will emit
5499 "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead"
5501 https://bugzilla.gnome.org/show_bug.cgi?id=743514
5503 gi/overrides/GLib.py | 44 ++++++++++++++++-------
5504 gi/overrides/GObject.py | 90
5505 +++++++++++++++++++++++++-----------------------
5506 gi/overrides/__init__.py | 74 ++++++++++++++++++++++++++++++++++++++-
5507 tests/test_gi.py | 70 +++++++++++++++++++++++++++++++++++++
5508 4 files changed, 221 insertions(+), 57 deletions(-)
5510 commit a10df7d28c01d70ee33d8e4e9ddaa23f1990ca60
5511 Author: Christoph Reiter <reiter.christoph@gmail.com>
5512 Date: Tue Jan 27 19:13:54 2015 +0100
5514 Add namespace and container name to callable cache and include them
5515 in all warnings/error messages.
5517 https://bugzilla.gnome.org/show_bug.cgi?id=743468
5519 gi/pygi-cache.c | 39 ++++++++++++++++++++++++++++++++++-----
5520 gi/pygi-cache.h | 5 +++++
5521 gi/pygi-closure.c | 4 +++-
5522 gi/pygi-invoke.c | 41 +++++++++++++++++++++++++++++------------
5523 tests/test_everything.py | 2 +-
5524 tests/test_gi.py | 28 ++++++++++++++++++----------
5525 6 files changed, 90 insertions(+), 29 deletions(-)
5527 commit 747fc3754c296ad5481d354bbf35521f886c5c61
5528 Author: Garrett Regier <garrettregier@gmail.com>
5529 Date: Sun Mar 1 03:30:46 2015 -0800
5531 tests: Add test for GIRepository.UnionInfo.get_size()
5533 https://bugzilla.gnome.org/show_bug.cgi?id=745362
5535 tests/test_repository.py | 1 +
5536 1 file changed, 1 insertion(+)
5538 commit 2dcce92b4fab95403b9bbedffa8a91453c947927
5539 Author: Garrett Regier <garrettregier@gmail.com>
5540 Date: Fri Jan 23 01:37:35 2015 -0800
5542 Avoid duping filenames when marshalling from Python to C
5544 https://bugzilla.gnome.org/show_bug.cgi?id=744719
5546 gi/pygi-basictype.c | 12 ++++++------
5547 1 file changed, 6 insertions(+), 6 deletions(-)
5549 commit 26fe8dafb933fa76afd41e45b10a3163a7380c1e
5550 Author: Simon Feltman <sfeltman@src.gnome.org>
5551 Date: Fri Feb 20 22:06:24 2015 -0800
5553 configure.ac: post release version bump to 3.15.1
5556 1 file changed, 1 insertion(+), 1 deletion(-)
5558 commit e8aef305d273ce551da41e74a54c5d03de5a0c2a
5559 Author: Simon Feltman <sfeltman@src.gnome.org>
5560 Date: Fri Feb 20 22:04:43 2015 -0800
5564 NEWS | 10 ++++++++++
5565 1 file changed, 10 insertions(+)
5567 commit 5dc113283c0a721c4027026bb8de7243585f1289
5568 Author: Simon Feltman <sfeltman@src.gnome.org>
5569 Date: Fri Feb 20 21:59:10 2015 -0800
5571 Ignore deprecation warning for g_option_group_free()
5573 gi/pygoptiongroup.c | 5 ++++-
5574 1 file changed, 4 insertions(+), 1 deletion(-)
5576 commit d8961622ea748c42171bdb4703e70022035ec3cc
5577 Author: Simon Feltman <sfeltman@src.gnome.org>
5578 Date: Fri Feb 20 21:52:58 2015 -0800
5580 tests: Make get_all_dependendencies() test more robust
5582 Replace array comparison with checking if individual items are in
5584 This solves a problem where the returned array might be in a
5586 as well as future proofs the test in case more dependencies are added.
5588 tests/test_import_machinery.py | 8 +++++---
5589 1 file changed, 5 insertions(+), 3 deletions(-)
5591 commit b10ab49afb97655507e2d3b92f621387287a2928
5592 Author: Simon Feltman <sfeltman@src.gnome.org>
5593 Date: Fri Feb 20 20:16:35 2015 -0800
5595 tests: Fix PEP8 error with commented code in test
5597 tests/test_gi.py | 1 -
5598 1 file changed, 1 deletion(-)
5600 commit 60de632153a693fb2b0f2ce26208c6ff668bdf4d
5601 Author: Garrett Regier <garrett.regier@riftio.com>
5602 Date: Tue Jan 27 10:39:53 2015 -0800
5604 Avoid copying bytearrays from Python to C when transfer nothing
5606 https://bugzilla.gnome.org/show_bug.cgi?id=743278
5608 gi/pygi-array.c | 23 +++++++++++++++++++----
5609 tests/test_gi.py | 14 +++++++++++++-
5610 2 files changed, 32 insertions(+), 5 deletions(-)
5612 commit a4160892dd28ab1d656cef4d4059f3b3f95caf4a
5613 Author: Garrett Regier <garrett.regier@riftio.com>
5614 Date: Mon Jan 19 14:53:53 2015 -0800
5616 Allows passing arguments to opaque Boxed types
5618 https://bugzilla.gnome.org/show_bug.cgi?id=743214
5620 gi/pygi-info.c | 7 +++++++
5621 gi/types.py | 10 +++++++++-
5622 tests/test_everything.py | 9 +++++++++
5623 tests/test_glib.py | 6 +++---
5624 4 files changed, 28 insertions(+), 4 deletions(-)
5626 commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8
5627 Author: Christoph Reiter <reiter.christoph@gmail.com>
5628 Date: Sat Jan 24 20:01:00 2015 +0100
5630 Emit ImportWarning when gi.require_version() is not used
5632 gi tries to import the latest version of typelibs which can cause
5633 existing code to break when a newer typelib is released.
5634 Emit an ImportWarning when gi.require_version() is not used to give
5635 developers this awareness so they can future proof their code.
5637 https://bugzilla.gnome.org/show_bug.cgi?id=727379
5640 +++++++++++++++++++++++++++++++++++++++++-
5641 gi/pygi-repository.c | 35 +++++++++++++++
5642 tests/compat_test_pygtk.py | 7 ++-
5643 tests/test_atoms.py | 6 ++-
5644 tests/test_import_machinery.py | 22 ++++++++++
5645 tests/test_overrides_gtk.py | 7 ++-
5646 tests/test_overrides_pango.py | 5 ++-
5647 tests/test_properties.py | 5 ++-
5648 tests/test_repository.py | 10 +++++
5649 9 files changed, 187 insertions(+), 9 deletions(-)
5651 commit 149c31beced944c72fba6ca6e096c81c1100ea2b
5652 Author: Christoph Reiter <reiter.christoph@gmail.com>
5653 Date: Tue Dec 2 15:38:57 2014 +0100
5655 Refactor overrides import/modules
5657 Removes Registry and DynamicModule in favor of a simple module
5659 contains only overrides and falls back to the introspection module.
5660 Moves all the overrides logic into gi.overrides; Speeds up module
5663 https://bugzilla.gnome.org/show_bug.cgi?id=736678
5665 gi/importer.py | 11 ++--
5666 gi/module.py | 68 ---------------------
5667 gi/overrides/__init__.py | 131
5668 ++++++++++++++++++++++++++++++-----------
5669 tests/test_gi.py | 4 --
5670 tests/test_import_machinery.py | 32 +++++++---
5671 5 files changed, 126 insertions(+), 120 deletions(-)
5673 commit 4d0ab13a8461f781986accc637fada3909cfb91a
5674 Author: Simon Feltman <sfeltman@src.gnome.org>
5675 Date: Thu Aug 21 15:11:39 2014 -0700
5677 Replace statically bound GLib.Variant.new_tuple() with GI
5679 Remove the static implementation of _wrap_pyg_variant_new_tuple with
5680 usage of the dynamic version coming from GI. Array marshalling has
5681 drastically improved in recent years making the dynamic version usable
5682 with a small compatibility shim for the arguments.
5684 https://bugzilla.gnome.org/show_bug.cgi?id=735199
5686 gi/gimodule.c | 39 ---------------------------------------
5687 gi/overrides/GLib.py | 12 +++++-------
5688 2 files changed, 5 insertions(+), 46 deletions(-)
5690 commit 17ec0d39069b7a4cc19691ea1284f821caf84d24
5691 Author: Simon Feltman <sfeltman@src.gnome.org>
5692 Date: Wed Sep 10 13:30:48 2014 -0700
5694 overrides: Add Gdk.EventTouch union discrimination
5696 Add EventTouch to get/setattr pass-through to support BEGIN,
5698 and CANCEL touch event types. Ensure Gdk.Event methods get_state(),
5699 get_axis(), get_coords(), and get_root_coords() are patched onto
5702 https://bugzilla.gnome.org/show_bug.cgi?id=736380
5704 gi/overrides/Gdk.py | 5 +++++
5705 tests/test_overrides_gdk.py | 12 ++++++++++++
5706 2 files changed, 17 insertions(+)
5708 commit 16408a81713157cdf1e3b6bd74bd53e816e9dfda
5709 Author: Simon Feltman <sfeltman@src.gnome.org>
5710 Date: Sat Jan 3 17:20:14 2015 -0800
5712 tests: Update pixbuf loader test to not raise exception when closing
5715 https://git.gnome.org/browse/gdk-pixbuf/commit/?id=447bd32650af
5716 changed the close() method to raise if the a loader is prematurely
5718 Update the test to write a 1x1 PNG stream to ensure close() will
5721 tests/compat_test_pygtk.py | 9 +++++++++
5722 1 file changed, 9 insertions(+)
5724 commit fd3935541ab4baddb504e000ec659b80923afa13
5725 Author: Murray Cumming <murrayc@murrayc.com>
5726 Date: Tue Dec 2 19:55:51 2014 +0100
5728 PyGObjectFlags: Remove a trailing comma on the enum.
5730 Because this produces a g++ pedantic warning.
5732 gi/pygobject.h | 2 +-
5733 1 file changed, 1 insertion(+), 1 deletion(-)
5735 commit 3b70f5bc8e59e49795fcaa7b285aeff0c4565a04
5736 Author: Simon Feltman <sfeltman@src.gnome.org>
5737 Date: Mon Oct 27 20:19:23 2014 -0700
5739 Remove redefinitions of function and vfunc cache typedefs
5741 https://bugzilla.gnome.org/show_bug.cgi?id=737874
5743 gi/pygi-cache.h | 8 ++++----
5744 1 file changed, 4 insertions(+), 4 deletions(-)
5746 commit cec9c2b253bdbc1e6493630c533acf6bb4509114
5747 Author: Simon Feltman <sfeltman@src.gnome.org>
5748 Date: Mon Sep 22 13:26:24 2014 -0700
5750 configure.ac: post release version bump to 3.15.0
5753 1 file changed, 1 insertion(+), 1 deletion(-)
5755 commit f20df385f480b65a8128986ce3df4022b324ade0
5756 Author: Simon Feltman <sfeltman@src.gnome.org>
5757 Date: Mon Sep 22 12:38:35 2014 -0700
5762 1 file changed, 3 insertions(+)
5764 commit 309d4100a08867d18420586c3b1f8709c360250f
5765 Author: Simon Feltman <sfeltman@src.gnome.org>
5766 Date: Mon Sep 22 12:24:32 2014 -0700
5768 configure.ac: pre release version bump to 3.14.0
5770 configure.ac | 4 ++--
5771 1 file changed, 2 insertions(+), 2 deletions(-)
5773 commit 4b7c985aa57f8026da96d174454b308858ebd1cc
5774 Author: Simon Feltman <sfeltman@src.gnome.org>
5775 Date: Mon Sep 15 15:46:04 2014 -0700
5780 1 file changed, 7 insertions(+)
5782 commit 79bad703a089a4b0c31fcdb143b889667f5fa197
5783 Author: Simon Feltman <sfeltman@src.gnome.org>
5784 Date: Fri Sep 12 17:10:04 2014 -0700
5786 tests: Add test for Gio.Application.add_main_option()
5788 tests/test_gio.py | 29 +++++++++++++++++++++++++++++
5789 1 file changed, 29 insertions(+)
5791 commit a2f98a9ba0b0dda0d3cf59651327e5c93d5479d6
5792 Author: Simon Feltman <sfeltman@src.gnome.org>
5793 Date: Thu Sep 11 19:32:53 2014 -0700
5795 Split test_everything.TestEverything.test_string() into multiple tests
5797 https://bugzilla.gnome.org/show_bug.cgi?id=735193
5799 tests/test_everything.py | 25 +++++++++++++++++++------
5800 1 file changed, 19 insertions(+), 6 deletions(-)
5802 commit 6674701b6de02353738b9dc04ab88de23996704e
5803 Author: Simon Feltman <sfeltman@src.gnome.org>
5804 Date: Thu Sep 11 19:08:53 2014 -0700
5806 tests: Split array tests up
5808 Split test_everything.TestEverything.test_array(),
5809 test_array_fixed_size(),
5810 and test_ptrarray() into functions of a finer granularity. This
5812 easier diagnosis of problems and leaks when they occur.
5814 https://bugzilla.gnome.org/show_bug.cgi?id=735193
5816 tests/test_everything.py | 37 ++++++++++++++++++++++++++++++++-----
5817 1 file changed, 32 insertions(+), 5 deletions(-)
5819 commit d1bae18ba0514864a37bf5d182605e2100c28d7e
5820 Author: Simon Feltman <sfeltman@src.gnome.org>
5821 Date: Thu Sep 11 16:17:13 2014 -0700
5823 tests: Split test_strv() into multiple tests
5825 https://bugzilla.gnome.org/show_bug.cgi?id=735193
5827 tests/test_everything.py | 10 +++++++++-
5828 1 file changed, 9 insertions(+), 1 deletion(-)
5830 commit 6181f724bc2c6ea30194c961cb15b2c543a48f95
5831 Author: Simon Feltman <sfeltman@src.gnome.org>
5832 Date: Wed Sep 10 19:06:35 2014 -0700
5834 Fix invalid read error in argument cleanup code
5836 Always set initial length argument index for arrays to -1. Ensure
5838 attempt retrieving Python cleanup arguments until we know it is valid.
5839 This was causing an invalid read in test_gi.TestArray.test_array_out()
5841 gi/pygi-array.c | 1 +
5842 gi/pygi-marshal-cleanup.c | 13 ++++++++-----
5843 2 files changed, 9 insertions(+), 5 deletions(-)
5845 commit 972e944ad4b2aac03c61633b8c277e35395c114c
5846 Author: Simon Feltman <sfeltman@src.gnome.org>
5847 Date: Wed Sep 10 18:55:45 2014 -0700
5849 tests: Increase num-callers for valgrind runs
5851 Additionally split valgrind check variations over multiple lines
5854 tests/Makefile.am | 23 ++++++++++++++++++++---
5855 1 file changed, 20 insertions(+), 3 deletions(-)
5857 commit d70b300c7415dd7b20ff88b09fe835690da19831
5858 Author: Simon Feltman <sfeltman@src.gnome.org>
5859 Date: Sat Sep 6 23:58:25 2014 -0700
5861 Fix memory management problems with struct arguments to signals
5863 Replicate struct marshaling logic for determining if struct arguments
5864 to signals should be passed by reference to callbacks.
5865 Maintain a list of these structs and apply an in-place copy of
5867 pointer if the struct wrapper is held longer than the duration of the
5868 Python callback. This allows for both mutation of struct arguments
5870 callbacks as well as memory safety incase a callbacks holds onto
5873 https://bugzilla.gnome.org/show_bug.cgi?id=736175
5875 gi/pygi-boxed.c | 20 ++++++++++++++++++++
5876 gi/pygi-boxed.h | 2 ++
5877 gi/pygi-signal-closure.c | 43
5878 +++++++++++++++++++++++++++++++++++++------
5879 tests/test_overrides_gtk.py | 1 -
5880 tests/test_signal.py | 27 +++++++++++++++++++++++++++
5881 5 files changed, 86 insertions(+), 7 deletions(-)
5883 commit 09161ff690ad37c94668d5d65191f4d84829d41f
5884 Author: Simon Feltman <sfeltman@src.gnome.org>
5885 Date: Sun Sep 7 15:53:35 2014 -0700
5887 Limit foreign struct checks to GI_INFO_TYPE_STRUCT
5889 Add struct type check before calling g_struct_info_is_foreign().
5891 https://bugzilla.gnome.org/show_bug.cgi?id=736175
5893 gi/pygi-argument.c | 11 ++++++++---
5894 gi/pygi-struct-marshal.c | 7 +++++--
5895 2 files changed, 13 insertions(+), 5 deletions(-)
5897 commit 4ebb1f5a4750712bd919a31103ed8c8d6af483b3
5898 Author: Simon Feltman <sfeltman@src.gnome.org>
5899 Date: Sat Sep 6 15:16:06 2014 -0700
5901 tests: Add failing regression test for Gtk.TextBuffer.insert-text
5904 https://bugzilla.gnome.org/show_bug.cgi?id=736175
5906 tests/test_overrides_gtk.py | 19 +++++++++++++++++++
5907 1 file changed, 19 insertions(+)
5909 commit 2f355dc4e9724f25c200d30db1c8fbc4695f9ab7
5910 Author: Simon Feltman <sfeltman@src.gnome.org>
5911 Date: Mon Sep 1 17:36:46 2014 -0700
5913 configure.ac: post release version bump to 3.13.92
5916 1 file changed, 1 insertion(+), 1 deletion(-)
5918 commit 68d34721a21bfac1a43252bd92612c2460ea60dd
5919 Author: Simon Feltman <sfeltman@src.gnome.org>
5920 Date: Mon Sep 1 17:31:39 2014 -0700
5924 NEWS | 15 +++++++++++++++
5925 1 file changed, 15 insertions(+)
5927 commit 8c6cf22d74075b7169512b9e7773a511abb9b759
5928 Author: Simon Feltman <sfeltman@src.gnome.org>
5929 Date: Mon Sep 1 16:48:15 2014 -0700
5931 docs: Skip "Constructors" header for anonymous structs
5933 Structs which don't have a size or constructor should not procuce
5935 string. The trailing "::" was causing a problem with sphinx.
5937 gi/docstring.py | 8 ++++++--
5938 tests/test_docstring.py | 3 ++-
5939 2 files changed, 8 insertions(+), 3 deletions(-)
5941 commit c1ea60be30ebf11c2e5415180305e4ac3c573f57
5942 Author: Simon Feltman <sfeltman@src.gnome.org>
5943 Date: Mon Sep 1 15:21:04 2014 -0700
5945 docs: Fix error when using may_return_null()
5947 Fix error with an untested code path opened up by commit 1f78dc0ace.
5949 gi/docstring.py | 3 ++-
5950 tests/test_docstring.py | 4 ++++
5951 2 files changed, 6 insertions(+), 1 deletion(-)
5953 commit 1f78dc0ace5282def9f1f700bfe4523de07e7549
5954 Author: Simon Feltman <sfeltman@src.gnome.org>
5955 Date: Fri Aug 29 16:49:14 2014 -0700
5957 docs: Fix function doc string generator return types
5959 Change skip_return() access into a function call. This was causing
5960 return type doc strings to always be skipped.
5962 gi/docstring.py | 2 +-
5963 tests/test_docstring.py | 8 ++++++--
5964 2 files changed, 7 insertions(+), 3 deletions(-)
5966 commit 28d0337f0e3d4b0e9c4350ce5d6cf0cb68da843f
5967 Author: Simon Feltman <sfeltman@src.gnome.org>
5968 Date: Fri Aug 29 14:18:28 2014 -0700
5970 Special case signal output arguments which are structs as
5973 Add a special case which avoids copying of struct arguments marked
5975 to signals. Since we don't currently support output arguments,
5977 come to rely on a pass-by-reference bug which was fixed and caused
5979 regress (bug 722899). Add unittest which is currently failing due
5981 of issues with emit() not supporting type annotations or output
5985 https://bugzilla.gnome.org/show_bug.cgi?id=735486
5987 gi/pygi-signal-closure.c | 41
5988 +++++++++++++++++++++++++++++++++++------
5989 tests/test_overrides_gtk.py | 24 ++++++++++++++++++++++++
5990 2 files changed, 59 insertions(+), 6 deletions(-)
5992 commit 16f8f687eae0caa1e4059fd62bd1f9d4c7f655f7
5993 Author: Simon Feltman <sfeltman@src.gnome.org>
5994 Date: Wed Aug 27 23:55:06 2014 -0700
5996 Ignore closure callbacks when Python is not initialized
5998 Add an immediate return in ffi closures if Python is not initialized.
5999 This fixes rare events when which lead to a segfault when a process
6002 https://bugzilla.gnome.org/show_bug.cgi?id=722562
6004 gi/pygi-closure.c | 7 +++++++
6005 1 file changed, 7 insertions(+)
6007 commit 27a14679dce33f64bbb5d77677eba83849f168ff
6008 Author: Christoph Reiter <reiter.christoph@gmail.com>
6009 Date: Fri Aug 22 21:51:31 2014 -0700
6011 Change boxed init with args to warn instead of raise
6013 Replace raising a TypeError in gi.types.Boxed() with a warning.
6014 Even though passing arguments or keywords to the parent class is
6015 incorrect here, raising an exception was causing a bit of fallout
6016 in some apps (Gramps).
6018 https://bugzilla.gnome.org/show_bug.cgi?id=727810
6020 gi/pygi-boxed.c | 5 ++++-
6021 tests/test_gi.py | 13 +++++++++++--
6022 2 files changed, 15 insertions(+), 3 deletions(-)
6024 commit 6008748bd7ecc6e5c933e6902c77d8485b905a6f
6025 Author: Simon Feltman <sfeltman@src.gnome.org>
6026 Date: Fri Aug 22 02:16:10 2014 -0700
6028 tests: Add test for GLib.spawn_async_with_pipes()
6030 https://bugzilla.gnome.org/show_bug.cgi?id=735213
6032 tests/test_signal.py | 2 +-
6033 tests/test_subprocess.py | 17 +++++++++++++++++
6034 2 files changed, 18 insertions(+), 1 deletion(-)
6036 commit 983276fb1cbc261d062ef93ba2266d08a5a6f423
6037 Author: Simon Feltman <sfeltman@src.gnome.org>
6038 Date: Thu Aug 21 17:16:31 2014 -0700
6040 Revert "Replace statically bound GLib.Variant.new_tuple() with GI"
6042 This was accidentally pushed.
6043 Revert commit 35c6540c42a01e1155f44533cc09e6c9f94b6613.
6045 gi/gimodule.c | 39 +++++++++++++++++++++++++++++++++++++++
6046 gi/overrides/GLib.py | 12 +++++++-----
6047 2 files changed, 46 insertions(+), 5 deletions(-)
6049 commit b7a4e68a224ab66f67e45667023f74dd743e6177
6050 Author: Christoph Reiter <reiter.christoph@gmail.com>
6051 Date: Fri Aug 22 01:04:40 2014 +0200
6053 Fix crash in GList/GSList marshaling error handling path.
6055 In case PySequence_GetItem() failed, the retured NULL was passed
6058 https://bugzilla.gnome.org/show_bug.cgi?id=735201
6060 gi/pygi-list.c | 4 ++--
6061 tests/test_gi.py | 16 ++++++++++++++++
6062 2 files changed, 18 insertions(+), 2 deletions(-)
6064 commit 35c6540c42a01e1155f44533cc09e6c9f94b6613
6065 Author: Simon Feltman <sfeltman@src.gnome.org>
6066 Date: Thu Aug 21 15:11:39 2014 -0700
6068 Replace statically bound GLib.Variant.new_tuple() with GI
6070 Remove the static implementation of _wrap_pyg_variant_new_tuple with
6071 usage of the dynamic version coming from GI. Array marshalling has
6072 drastically improved in recent years making the dynamic version usable
6073 with a small compatibility shim for the arguments.
6075 https://bugzilla.gnome.org/show_bug.cgi?id=735199
6077 gi/gimodule.c | 39 ---------------------------------------
6078 gi/overrides/GLib.py | 12 +++++-------
6079 2 files changed, 5 insertions(+), 46 deletions(-)
6081 commit c1d387540a0b2db66e860c574b070051a5431914
6082 Author: Simon Feltman <sfeltman@src.gnome.org>
6083 Date: Thu Aug 21 14:37:14 2014 -0700
6085 Fix reference counting problems with GLib.Variant.new_tuple()
6087 Always sink the results of g_variant_new_tuple() in the statically
6088 bound wrapper. This matches the generic GI marshalling behavior
6089 of passing GVariants to Python with transfer-none.
6091 https://bugzilla.gnome.org/show_bug.cgi?id=735166
6094 tests/test_overrides_glib.py | 7 +++++++
6095 2 files changed, 8 insertions(+)
6097 commit 9ce261f27742ba200f70003f162291a375d244d3
6098 Author: Simon Feltman <sfeltman@src.gnome.org>
6099 Date: Tue Aug 19 14:57:31 2014 -0700
6101 configure.ac: Fix darwin builds
6103 Merge platform_win32 and os_win32 variables/case statements and
6104 define "link_python_libs" for win32 as well as darwin.
6106 https://bugzilla.gnome.org/show_bug.cgi?id=735068
6108 configure.ac | 30 +++++++++++-------------------
6109 1 file changed, 11 insertions(+), 19 deletions(-)
6111 commit 92f0d6ebf9b67729d8253e15fce77b0ad0375573
6112 Author: Simon Feltman <sfeltman@src.gnome.org>
6113 Date: Wed Aug 20 13:39:31 2014 -0700
6115 Skip marshalling NULL output arguments in Python closures
6117 Skip marshalling optional output arguments which are passed NULL
6118 as the memory location. This fixes fallout from bug 727004.
6120 https://bugzilla.gnome.org/show_bug.cgi?id=735090
6122 gi/pygi-closure.c | 3 ++-
6123 1 file changed, 2 insertions(+), 1 deletion(-)
6125 commit d7e30c3cacf3cdd550e4dbfe2fa47aea1ae28147
6126 Author: Simon Feltman <sfeltman@src.gnome.org>
6127 Date: Mon Aug 18 19:10:36 2014 -0700
6129 configure.ac: post release version bump to 3.13.91
6132 1 file changed, 1 insertion(+), 1 deletion(-)
6134 commit 17ba19c2e9b91a1bb8b03fabd4100d436c96975d
6135 Author: Simon Feltman <sfeltman@src.gnome.org>
6136 Date: Mon Aug 18 19:07:10 2014 -0700
6140 NEWS | 15 +++++++++++++++
6141 1 file changed, 15 insertions(+)
6143 commit 6bcfaf6e1e2331b704dd6067d45d6840e87632a2
6144 Author: Simon Feltman <sfeltman@src.gnome.org>
6145 Date: Mon Aug 18 18:57:28 2014 -0700
6147 configure.ac: pre release version bump to 3.13.90
6150 1 file changed, 1 insertion(+), 1 deletion(-)
6152 commit 3b5b590599ca98cc51871878618cd59fc05212d1
6153 Author: Simon Feltman <sfeltman@src.gnome.org>
6154 Date: Mon Aug 18 02:33:54 2014 -0700
6156 gtk-demo: Don't use deprecated constructor for Gtk.Label
6158 demos/gtk-demo/demos/pickers.py | 2 +-
6159 1 file changed, 1 insertion(+), 1 deletion(-)
6161 commit 5b82051d23f8d759b6fa57a4e9327e300568c89f
6162 Author: Simon Feltman <sfeltman@src.gnome.org>
6163 Date: Sat Aug 9 02:30:43 2014 -0700
6165 Fast path Python Property getter when accessed through GObject
6168 Break do_get_property() call into a re-usable function.
6169 Call do_get_property() Python implementations instead of going
6171 machinery for Python GObjects. This gives a performance boost
6173 GObject properties when accessed via. obj.get_property() and
6176 https://bugzilla.gnome.org/show_bug.cgi?id=723872
6178 gi/gobjectmodule.c | 11 ++++-------
6179 gi/pygi-property.c | 35 +++++++++++++++++++++++++++--------
6180 gi/pygi-property.h | 3 +++
6181 3 files changed, 34 insertions(+), 15 deletions(-)
6183 commit 0a99f878e40c8d683157dea69c3c9ac40d13d734
6184 Author: Simon Feltman <sfeltman@src.gnome.org>
6185 Date: Sat Aug 9 02:10:11 2014 -0700
6187 Fast path Python Property getter when accessing descriptor directly
6189 Call the Python implemented fget() when a property is accessed
6191 on a Python implemented GObject. This skips going through the GObject
6192 machinery which ends up calling fget() and marshalling the results
6195 https://bugzilla.gnome.org/show_bug.cgi?id=723872
6197 gi/_propertyhelper.py | 19 +++++++++++++++----
6198 1 file changed, 15 insertions(+), 4 deletions(-)
6200 commit 74722386192ad27aac8855d4603d8120af82c98e
6201 Author: Simon Feltman <sfeltman@src.gnome.org>
6202 Date: Mon Aug 18 02:05:58 2014 -0700
6204 Don't use GI type for determining pointer extraction from GValues
6206 Replace usage of g_type_is_a() with G_VALUE_HOLDS() when extracting
6207 pointers from GValues being marshalled from properties and signals.
6208 This fixes fallout from commit abdfb0f.
6210 gi/pygi-value.c | 10 ++++------
6211 1 file changed, 4 insertions(+), 6 deletions(-)
6213 commit 2601011e9eb3b5f391161313ed568e5c4b67c99a
6214 Author: Simon Feltman <sfeltman@src.gnome.org>
6215 Date: Fri Aug 8 23:58:17 2014 -0700
6217 Fast path property access for basic types
6219 Attempt marshalling with pygi_value_to_py_basic_type() prior to
6221 GI info. This gives a quick conversion for basic types like bools,
6223 strings without having to go through GIArgument and GI
6225 gives approximately a 3x performance boost for accessing these
6227 the unified GValue marshaller.
6229 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6231 gi/pygi-property.c | 9 +++++++++
6232 gi/pygi-value.c | 26 ++++++++++++++++++--------
6233 2 files changed, 27 insertions(+), 8 deletions(-)
6235 commit 8f4b06f700ed79df32774fad8e2a2a922bfbfbe5
6236 Author: Simon Feltman <sfeltman@src.gnome.org>
6237 Date: Fri Aug 8 16:31:01 2014 -0700
6239 Break pyg_value_as_pyobject into two functions
6241 Add pygi_value_to_py_basic_type() which is limited to handling basic
6242 types that don't need introspection information when marshalling
6244 Add pygi_value_to_py_structured_type() for marshalling of structured
6246 which can eventually accept GI type hints.
6248 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6250 gi/pygi-value.c | 74
6251 +++++++++++++++++++++++++++++++++++++++++++++++----------
6252 gi/pygi-value.h | 6 +++++
6253 2 files changed, 68 insertions(+), 12 deletions(-)
6255 commit b0236d6fde137e0b2ecf7f5556ad5d53c22874bc
6256 Author: Simon Feltman <sfeltman@src.gnome.org>
6257 Date: Fri Aug 8 20:55:28 2014 -0700
6259 Unify property getters
6261 Consolidate duplicate logic into pygi_get_property_value().
6262 Use the function for GObject.get_property(), GObject.get_properties(),
6264 Remove overridden expected failures in TestCGetPropertyMethod which
6265 now work due to the unification.
6267 https://bugzilla.gnome.org/show_bug.cgi?id=733893
6268 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6270 gi/pygi-property.c | 85 +++++++++++++++++++++++++++++-------------
6271 gi/pygi-property.h | 4 ++
6273 +++++++-----------------------------------------
6274 tests/test_properties.py | 38 -------------------
6275 4 files changed, 77 insertions(+), 147 deletions(-)
6277 commit abdfb0fa3f72f9bf822c472d16c90d6b1871610b
6278 Author: Simon Feltman <sfeltman@src.gnome.org>
6279 Date: Mon Jul 28 19:09:30 2014 -0700
6281 Merge pygi_get_property_value and _pygi_argument_from_g_value
6283 Merge duplicated GValue marshaling code which has diverged over time
6284 (commits 3606eb20, ee62df4d, e14ebab6, 8cfd596c, 9f50fd21, 0d099bdb,
6286 Use _pygi_argument_to_array within pygi_get_property_value. This
6288 in the new code for supporting GI_TYPE_TAG_ARRAY and also fixes
6290 Side effects of this change also include support for properties
6292 G_TYPE_FLAGS and G_TYPE_PARAM.
6294 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6296 gi/pygi-property.c | 140
6297 +++++------------------------------------------------
6298 gi/pygi-value.c | 24 ++++++---
6299 2 files changed, 28 insertions(+), 136 deletions(-)
6301 commit 142ff1903d34876db3d1bee5e9782ac49de12313
6302 Author: Simon Feltman <sfeltman@src.gnome.org>
6303 Date: Mon Jul 28 04:40:36 2014 -0700
6305 Never dup data structures when marshaling signal in arguments
6307 Always assume transfer-none of GValue arguments to signal handlers.
6308 A signal handler with arguments marked as transfer-full does not
6309 make any sense, so assume they are always transfer-none.
6311 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6313 gi/pygi-signal-closure.c | 4 +---
6314 gi/pygi-value.c | 4 +++-
6315 2 files changed, 4 insertions(+), 4 deletions(-)
6317 commit 04816f74194bd2c95b8b958dcf9ed5da5a83e001
6318 Author: Simon Feltman <sfeltman@src.gnome.org>
6319 Date: Mon Jul 28 04:23:39 2014 -0700
6321 Never dup data structures when marshaling from g_object_get_property()
6323 Always use transfer-none with the results of g_object_get_property()
6324 and assume g_value_unset() will cleanup the results. This gives us
6325 control over memory of properties and limits property anotations to
6328 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6330 gi/pygi-property.c | 24 +++++++-----------------
6331 1 file changed, 7 insertions(+), 17 deletions(-)
6333 commit 85175047e66dfc0c0263eac91d8056a95d0a60a0
6334 Author: Simon Feltman <sfeltman@src.gnome.org>
6335 Date: Tue Jul 29 19:29:28 2014 -0700
6337 Refactor boxed wrapper memory management strategy
6339 Change pygi_boxed_new() to accept "copy_boxed" instead of
6341 This changes memory management so the PyGIBoxed wrapper owns the boxed
6342 pointer given to it. Use __del__ instead of dealloc for freeing
6344 memory. This is needed for edge cases where objects like GSource can
6345 trigger the finalized callback during de-alloc, resulting in the
6347 references counts being manipulated and triggering a re-entrant
6349 Add hack to keep Gtk.TreeIter.do_iter_next/previous implementations
6351 which rely on pass-by-reference.
6352 See also: https://bugzilla.gnome.org/show_bug.cgi?id=734465
6354 https://bugzilla.gnome.org/show_bug.cgi?id=722899
6356 https://bugzilla.gnome.org/show_bug.cgi?id=726999
6358 gi/gimodule.c | 6 +++-
6359 gi/overrides/GLib.py | 4 ---
6360 gi/overrides/GObject.py | 3 ++
6361 gi/pygi-boxed.c | 54 +++++++++++++++++++++++++-------
6362 gi/pygi-boxed.h | 4 +--
6363 gi/pygi-source.c | 6 ++--
6364 gi/pygi-struct-marshal.c | 81
6365 +++++++++++++++++++++++++++++++++++++++++++++---
6366 tests/test_gi.py | 1 -
6367 tests/test_source.py | 8 +++--
6368 9 files changed, 140 insertions(+), 27 deletions(-)
6370 commit 62aed0977090f7099a5e538209f7c680ea22fe12
6371 Author: Simon Feltman <sfeltman@src.gnome.org>
6372 Date: Sun Aug 17 19:04:51 2014 -0700
6374 Replace GObject.signal_query with introspected version
6376 Remove the static bindings for GObject.signal_query and replace with a
6377 Python compatibility shim which utilizes the introspection exposed
6381 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6383 gi/gobjectmodule.c | 89
6384 -------------------------------------------------
6385 gi/overrides/GObject.py | 39 ++++++++++++----------
6386 2 files changed, 21 insertions(+), 107 deletions(-)
6388 commit 4e130d72a5492fc00c61a816eddccdbc4f558b91
6389 Author: Simon Feltman <sfeltman@src.gnome.org>
6390 Date: Sun Aug 17 19:03:32 2014 -0700
6392 Use array lengths specified on struct fields
6394 Add array length marshalling policy for struct fields. This fixes
6396 C array fields on structs which also specify a length field.
6398 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6400 gi/pygi-argument.c | 14 ++++++-------
6401 gi/pygi-argument.h | 4 ++++
6403 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
6404 3 files changed, 68 insertions(+), 9 deletions(-)
6406 commit c55d029d2d67b5920e9467212e22b0ad58d3ded8
6407 Author: Simon Feltman <sfeltman@src.gnome.org>
6408 Date: Sun Aug 17 18:15:23 2014 -0700
6410 Refactor signal array length marshalling to support a length policy
6412 Replace passing arrays of data to non-caching array marshallers with
6414 closure that can be customized depending on context. In the case
6416 this is mostly scaffolding which will be replaced with caching
6418 However, it opens the legacy marshaller for usage with struct
6422 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6424 gi/pygi-argument.c | 70
6425 ++++++++++++++++++++++++++++++++----------------
6426 gi/pygi-argument.h | 14 +++++++---
6427 gi/pygi-signal-closure.c | 8 ++++--
6428 3 files changed, 64 insertions(+), 28 deletions(-)
6430 commit 3270dad356c44f5fef7571a9f29b22e7c293fa2c
6431 Author: Simon Feltman <sfeltman@src.gnome.org>
6432 Date: Sun Aug 17 13:58:10 2014 -0700
6434 Remove dead code for marshalling array lengths in the context
6437 Remove usage of the args parameter from _pygi_argument_to_array. This
6439 longer used because array marshalling for vfuncs is now handled by
6443 https://bugzilla.gnome.org/show_bug.cgi?id=688792
6445 gi/pygi-argument.c | 24 +++++++++---------------
6446 1 file changed, 9 insertions(+), 15 deletions(-)
6448 commit 6046ca87697fe80c6c0eb70f1efcad24de4f4fd8
6449 Author: Simon Feltman <sfeltman@src.gnome.org>
6450 Date: Sun Aug 17 21:53:55 2014 -0700
6452 Fix memory leak with unboxed caller allocated structs
6454 Take caller-allocates into account when wrapping unboxed structures.
6455 This will free the allocated memory when the Python object is
6458 gi/pygi-struct-marshal.c | 2 +-
6459 1 file changed, 1 insertion(+), 1 deletion(-)
6461 commit c607f07f5ae3ca62ee3a2649f84330eaaa8801c6
6462 Author: Simon Feltman <sfeltman@src.gnome.org>
6463 Date: Sat Aug 16 22:34:29 2014 -0700
6465 tests: Add reference count test for signal connection arguments
6467 Add tests for ensuring reference counts are what we expect for
6468 connect() callback, user_data, and swap object (currently broken
6471 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6473 tests/test_signal.py | 133
6474 +++++++++++++++++++++++++++++++++++++++++++++++++++
6475 1 file changed, 133 insertions(+)
6477 commit 7076669aadfc5227144df87277d69ae66865770a
6478 Author: Tobias Mueller <gnome-bugs@muelli.cryptobitch.de>
6479 Date: Sat Aug 16 17:46:50 2014 -0700
6481 Don't mask GObject sub-class doc strings in meta-class
6483 If a class has a __doc__ attribute explicitly set, always return it.
6484 Only generate doc strings for classes coming from gi.repository
6487 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6489 https://bugzilla.gnome.org/show_bug.cgi?id=731452
6491 https://bugzilla.gnome.org/show_bug.cgi?id=734926
6493 gi/types.py | 12 +++++++++++-
6494 tests/test_docstring.py | 2 --
6495 2 files changed, 11 insertions(+), 3 deletions(-)
6497 commit 4cdca4328da7442be247e775294fc676cf677bb7
6498 Author: Piotr Iwaniuk <piwaniuk@poczta.onet.pl>
6499 Date: Sat Aug 16 15:06:40 2014 -0700
6501 tests: Add failing tests for GObject sub-class doc-strings
6503 Add tests for sub-class docstrings set with either doc-string
6504 syntax and by setting the __doc__ attribute directly.
6506 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
6508 https://bugzilla.gnome.org/show_bug.cgi?id=731452
6510 tests/test_docstring.py | 39 +++++++++++++++++++++++++++++++++++++++
6511 1 file changed, 39 insertions(+)
6513 commit 9328a6721909322f0e1444e5285ae1b7b5bf1e3c
6514 Author: Simon Feltman <sfeltman@src.gnome.org>
6515 Date: Thu Aug 14 22:47:14 2014 -0700
6517 configure.ac: post release version bump to 3.13.5
6520 1 file changed, 1 insertion(+), 1 deletion(-)
6522 commit 49fd1662623f6dbb6af16b9fbfc0fb57707a7eee
6523 Author: Simon Feltman <sfeltman@src.gnome.org>
6524 Date: Thu Aug 14 22:42:27 2014 -0700
6528 NEWS | 22 ++++++++++++++++++++++
6529 1 file changed, 22 insertions(+)
6531 commit 0d2e797812ab4e1a745ef97559104691dbb6b824
6532 Author: Simon Feltman <sfeltman@src.gnome.org>
6533 Date: Thu Aug 14 18:33:06 2014 -0700
6535 Fix invalid unref after getting callable container
6537 Don't unref the results of g_base_info_get_container() because it is
6538 transfer-none. This was causing an attempted unref on an invalid
6540 when setting up callback caches for signals.
6542 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6544 gi/pygi-cache.c | 2 --
6545 1 file changed, 2 deletions(-)
6547 commit 654c28faffc8d956bd31987adca092fa014cc897
6548 Author: Simon Feltman <sfeltman@src.gnome.org>
6549 Date: Thu Aug 14 21:31:33 2014 -0700
6551 tests: Silence valgrindlog and valgrindxml output from forked procs
6553 This is needed to properly diff valgrind runs between commits.
6555 tests/Makefile.am | 4 ++--
6556 1 file changed, 2 insertions(+), 2 deletions(-)
6558 commit 57070585a5d5dbc5f42d6fa6d2c309b36f38dfdc
6559 Author: Simon Feltman <sfeltman@src.gnome.org>
6560 Date: Wed Aug 13 10:27:01 2014 -0700
6562 Remove ffi wrapped destroy notify used for closure cleanup
6564 Remove global ffi wrapper for _pygi_invoke_closure_free() and
6566 a pointer to _pygi_invoke_closure_free() directly. There is no need
6568 a known single use function with an ffi closure. Originally
6570 commit 610dd1eec87f.
6572 gi/pygi-closure.c | 49 +------------------------------------------------
6573 1 file changed, 1 insertion(+), 48 deletions(-)
6575 commit 3f9b5f890ad1292f12eba1e545084de80b76dab7
6576 Author: Simon Feltman <sfeltman@src.gnome.org>
6577 Date: Tue Aug 12 22:19:24 2014 -0700
6579 tests: Update tests for static binding protection to check
6582 tests/test_import_machinery.py | 10 +++++-----
6583 1 file changed, 5 insertions(+), 5 deletions(-)
6585 commit e674340db90c29c556b45e0a8f8b2da72661b738
6586 Author: Simon Feltman <sfeltman@src.gnome.org>
6587 Date: Mon Aug 11 23:12:38 2014 -0700
6589 Use AttributeError for static binding protection
6591 Replace usage of RuntimeError with AttributeError in the dummy module
6592 protecting importing of static bindings. This is needed so we
6594 modules like inspect which is used by ipython.
6596 gi/__init__.py | 2 +-
6597 1 file changed, 1 insertion(+), 1 deletion(-)
6599 commit 86fb12b3e9b7558000d100f8f212e970ae8c4fd2
6600 Author: Simon Feltman <sfeltman@src.gnome.org>
6601 Date: Mon Aug 11 22:47:14 2014 -0700
6603 Add deprecation warning for connect_object() with non-GObject argument
6605 GObject.connect_object() accepts any Python object and holds a strong
6606 reference to it in the closure defeating the purpose of
6608 Add a warning so we can eventually limit connect_object() to GObject
6610 use the underlying g_signal_connect_object() which holds a weak
6613 https://bugzilla.gnome.org/show_bug.cgi?id=688064
6615 gi/pygobject.c | 9 +++++++++
6616 1 file changed, 9 insertions(+)
6618 commit 9c54bb9defb681316841158cc63df0b0b85c12f0
6619 Author: Simon Feltman <sfeltman@src.gnome.org>
6620 Date: Mon Aug 11 22:39:13 2014 -0700
6622 tests: Add tests for connect_object()
6624 Add tests for both introspected and non-introspected signals
6626 of connect_object() and connect_object_after() in combination
6628 and Python object swap data.
6630 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6632 tests/test_signal.py | 139
6633 +++++++++++++++++++++++++++++++++++++++++++--------
6634 1 file changed, 117 insertions(+), 22 deletions(-)
6636 commit 581acc4c56be127b3a724df504bb46a40959fdd9
6637 Author: Simon Feltman <sfeltman@src.gnome.org>
6638 Date: Mon Aug 11 21:21:42 2014 -0700
6640 Add Python implementation of Object.connect_data()
6642 Add GObject.Object.connect_data() which takes an optional
6644 keyword argument accepting GObject.ConnectFlags enum values. This is
6645 for supporting user data swapping (ConnectFlags.SWAPPED).
6647 https://bugzilla.gnome.org/show_bug.cgi?id=701843
6649 gi/overrides/GObject.py | 37 ++++++++++++++++
6650 tests/test_signal.py | 109
6651 ++++++++++++++++++++++++++++++++++++++++++++++++
6652 2 files changed, 146 insertions(+)
6654 commit b1caef95c4b68b65f3f159563162afde5a0b0939
6655 Author: Simon Feltman <sfeltman@src.gnome.org>
6656 Date: Sat Aug 9 02:14:23 2014 -0700
6658 tests: Add failing tests which verify exceptions raised in property
6661 https://bugzilla.gnome.org/show_bug.cgi?id=575652
6663 tests/test_properties.py | 17 +++++++++++++++++
6664 1 file changed, 17 insertions(+)
6666 commit 19cdbee5a89009da0eb366b9c698a860a7aa92b8
6667 Author: Garrett Regier <Garrett.Regier@riftio.com>
6668 Date: Fri Aug 8 10:08:23 2014 -0400
6670 Cleanup input args when marshaling in closures
6672 The cleanup must happen before setting the out args otherwise
6673 the args that cleanup would free are the just set args, not the
6676 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6678 gi/pygi-closure.c | 2 +-
6679 1 file changed, 1 insertion(+), 1 deletion(-)
6681 commit 7742fab42de5b1f4f8161237fc3cef91fd98791c
6682 Author: Simon Feltman <sfeltman@src.gnome.org>
6683 Date: Fri Aug 8 02:47:11 2014 -0700
6685 tests: Fix Python 2 build for newly added test_array_parm()
6687 Use @unittest.skip() with a string argument as required by Python 2.
6689 tests/test_signal.py | 2 +-
6690 1 file changed, 1 insertion(+), 1 deletion(-)
6692 commit 3165c17a455652de9a61439428fa40f30120dc6a
6693 Author: Simon Feltman <sfeltman@src.gnome.org>
6694 Date: Fri Aug 8 02:46:26 2014 -0700
6696 Remove incorrect and unused casts from tp_free calls
6698 Arguments to Py_TYPE() do not need to be cast since the macro
6700 to a PyObject* internall.
6702 gi/pygi-boxed.c | 2 +-
6703 gi/pygi-ccallback.c | 2 +-
6704 gi/pygi-info.c | 2 +-
6705 gi/pygi-struct.c | 2 +-
6706 4 files changed, 4 insertions(+), 4 deletions(-)
6708 commit 74dfec27c6008968cc66a13792dfb02b29c231b6
6709 Author: Simon Feltman <sfeltman@src.gnome.org>
6710 Date: Fri Aug 8 02:33:51 2014 -0700
6712 Fix GCallback Python wrapper leak
6714 The PyObject wrapper for GCallbacks was not calling tp_free in
6716 tp_dealloc class method.
6718 https://bugzilla.gnome.org/show_bug.cgi?id=695130
6720 gi/pygi-ccallback.c | 2 ++
6721 1 file changed, 2 insertions(+)
6723 commit dcf9111a86e01d66943909a0c9f21a181ccc38a6
6724 Author: Martin Pitt <martinpitt@gnome.org>
6725 Date: Fri Aug 8 01:55:21 2014 -0700
6727 tests: Add failing test for marshalling an array of GValues through
6730 https://bugzilla.gnome.org/show_bug.cgi?id=669496
6732 tests/test_signal.py | 12 ++++++++++++
6733 1 file changed, 12 insertions(+)
6735 commit d689d24f271c30612c6a86b5c51d50a1179aedad
6736 Author: Simon Feltman <sfeltman@src.gnome.org>
6737 Date: Thu Aug 7 17:52:35 2014 -0700
6739 tests: Add tests for GApplication local command line handling
6741 Add various tests which override Gio.Appliction.do_command_line and
6742 do_local_command_line.
6744 https://bugzilla.gnome.org/show_bug.cgi?id=690851
6746 tests/test_gio.py | 65
6747 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
6748 1 file changed, 65 insertions(+)
6750 commit 59c257ebc47fa725750344dd50dd8eb522536d3c
6751 Author: Garrett Regier <Garrett.Regier@riftio.com>
6752 Date: Thu Aug 7 12:25:59 2014 -0400
6754 Add test for a callback with an inout array
6756 This was broken until the closures used the caches for marshaling.
6758 https://bugzilla.gnome.org/show_bug.cgi?id=702508
6760 tests/test_everything.py | 19 +++++++++++++++++++
6761 1 file changed, 19 insertions(+)
6763 commit 9d0c43b2b9f92fff4249e4eb296f00ea73b15af3
6764 Author: Garrett Regier <Garrett.Regier@riftio.com>
6765 Date: Thu Aug 7 12:06:30 2014 -0400
6767 Fix raising an error in a constructor
6769 It should raise a Python exception instead of warnings about
6770 a constructor returning NULL.
6772 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6774 gi/pygi-cache.c | 6 +++---
6775 tests/test_gi.py | 6 ++++++
6776 2 files changed, 9 insertions(+), 3 deletions(-)
6778 commit d7b9ef0f5411ebcbb2597c16b221fd3482c535e4
6779 Author: Garrett Regier <Garrett.Regier@riftio.com>
6780 Date: Wed Aug 6 15:30:58 2014 -0400
6782 Use the caches for marshaling the arguments in closures
6784 Changes to object marshaling when the calling context is from
6785 C was required to correctly keep the correct floating status.
6787 The array cache has been modified to set to/from_py_marshaller
6788 for the length arg cache. This is required for closures which include
6789 the length arg for backwards compatibility. The closure cache takes
6790 care to change the length arg cache's meta type so it gets marshalled
6793 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6795 gi/pygi-array.c | 5 +-
6796 gi/pygi-basictype.c | 4 +-
6797 gi/pygi-basictype.h | 36 +++--
6798 gi/pygi-cache.c | 30 +++-
6799 gi/pygi-closure.c | 403
6800 ++++++++++++++++++++++++++++------------------------
6801 gi/pygi-invoke.c | 3 +-
6802 6 files changed, 271 insertions(+), 210 deletions(-)
6804 commit 9337acf98d783777c94d4bcb912a185ba6791efb
6805 Author: Garrett Regier <Garrett.Regier@riftio.com>
6806 Date: Wed Aug 6 12:14:27 2014 -0400
6808 Specialize GObject marshaling when called from C
6810 These are needed otherwise the floating status of
6811 the GObject will not be kept.
6813 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6815 gi/pygi-object.c | 86
6816 +++++++++++++++++++++++++++++++++++++++++++++++---------
6817 1 file changed, 72 insertions(+), 14 deletions(-)
6819 commit cf295f636b6324a46abbaf329cd6d92c04155d9d
6820 Author: Garrett Regier <Garrett.Regier@riftio.com>
6821 Date: Wed Aug 6 11:59:09 2014 -0400
6823 Move special handling of GObject from Python when calling from C
6825 This will soon be used in the GObject arg cache marshaling when
6826 the calling context is C.
6828 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6830 gi/pygi-argument.c | 21 +--------------------
6831 gi/pygi-object.c | 30 ++++++++++++++++++++++++++++++
6832 gi/pygi-object.h | 5 +++++
6833 3 files changed, 36 insertions(+), 20 deletions(-)
6835 commit 0d09234ea0399d756ee3fb0d358fab5b0a145657
6836 Author: Garrett Regier <Garrett.Regier@riftio.com>
6837 Date: Wed Aug 6 11:53:39 2014 -0400
6839 Always pass along the callable cache to the arg cache constructors
6841 This will be needed in a future patch which requires that the callable
6842 cache is always available.
6844 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6846 gi/pygi-array.c | 20 ++++++++++++--------
6847 gi/pygi-array.h | 9 +++++----
6848 gi/pygi-cache.c | 34 ++++++++++++++++++++--------------
6849 gi/pygi-cache.h | 7 ++++---
6850 gi/pygi-hashtable.c | 31 +++++++++++++++++--------------
6851 gi/pygi-hashtable.h | 9 +++++----
6852 gi/pygi-list.c | 30 +++++++++++++++++++-----------
6853 gi/pygi-list.h | 9 +++++----
6854 gi/pygi-object.c | 25 ++++++++++++++-----------
6855 gi/pygi-object.h | 3 ++-
6856 10 files changed, 103 insertions(+), 74 deletions(-)
6858 commit 203fef99205ce0c46b1530b0d480021ee8b8e325
6859 Author: Garrett Regier <Garrett.Regier@riftio.com>
6860 Date: Tue Aug 5 10:42:46 2014 -0400
6862 Set the correct meta type for GErrors when marshaling to Python
6864 Otherwise we do not pass the GError into python callbacks and
6865 we also want to convert these into Python Exceptions.
6867 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6869 gi/pygi-error.c | 2 +-
6870 1 file changed, 1 insertion(+), 1 deletion(-)
6872 commit 2e92809258d04e91c9d22f2fc0de09db2e60c962
6873 Author: Garrett Regier <Garrett.Regier@riftio.com>
6874 Date: Tue Aug 5 10:37:58 2014 -0400
6876 Pass the GIArgument to the closure assign functions
6878 This will be required once we use the caches for marshaling.
6880 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6882 gi/pygi-closure.c | 102
6883 ++++++++++++++++++++++++++----------------------------
6884 1 file changed, 50 insertions(+), 52 deletions(-)
6886 commit ca3579db14df278923674c294d07481a7255510f
6887 Author: Garrett Regier <Garrett.Regier@riftio.com>
6888 Date: Tue Aug 5 10:25:40 2014 -0400
6890 Use the caches for closures, but not yet for marshaling the arguments
6892 Instead of using the various GI functions we use the data from
6894 This also fixes generating an arg cache for a closure as it was
6896 data or simply setting incorrect data. Also, always included the
6898 until the closures no longer need it for marshaling the arguments.
6900 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6902 gi/pygi-cache.c | 33 +++++++-
6903 gi/pygi-cache.h | 4 +
6904 gi/pygi-closure.c | 245
6905 +++++++++++++++++++++++++-----------------------------
6906 gi/pygi-closure.h | 2 +
6907 4 files changed, 150 insertions(+), 134 deletions(-)
6909 commit 6a21dab89b59db0afc6d6a22272028ee949b52ad
6910 Author: Garrett Regier <Garrett.Regier@riftio.com>
6911 Date: Tue Aug 5 10:16:45 2014 -0400
6913 Correctly set the destroy notify for callbacks in closures
6915 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6917 gi/pygi-closure.c | 2 +-
6918 1 file changed, 1 insertion(+), 1 deletion(-)
6920 commit e6d48b4eadbeb1014c4eb140317b579e69eb8d88
6921 Author: Garrett Regier <Garrett.Regier@riftio.com>
6922 Date: Fri Aug 1 11:40:08 2014 -0400
6924 Split the callable cache into the different types
6926 Instead of doing different things based on the various function types
6927 this adds vfuncs for generate_args_cache() and invoke() which are then
6928 specialized for the various function types. Also add a calling context
6929 to the callable cache which is then used to determine the direction
6930 when generating the arg caches.
6932 This is in preparation for adding closure caches.
6934 https://bugzilla.gnome.org/show_bug.cgi?id=727004
6936 gi/pygi-cache.c | 514
6937 +++++++++++++++++++++++++++++++-----------
6938 gi/pygi-cache.h | 96 +++++---
6939 gi/pygi-ccallback.c | 16 +-
6940 gi/pygi-info.c | 3 +-
6941 gi/pygi-invoke-state-struct.h | 2 -
6942 gi/pygi-invoke.c | 244 ++++++++------------
6943 gi/pygi-invoke.h | 4 +
6945 8 files changed, 564 insertions(+), 317 deletions(-)
6947 commit 18341f27a5a9770d8caf3192a75737ab2bc06b1e
6948 Author: Ignacio Casal Quinteiro <icq@gnome.org>
6949 Date: Wed Aug 6 08:27:43 2014 +0200
6951 Generate .dll libraries on windows
6953 https://bugzilla.gnome.org/show_bug.cgi?id=734288
6955 configure.ac | 8 ++++++++
6956 tests/Makefile.am | 8 ++++----
6957 2 files changed, 12 insertions(+), 4 deletions(-)
6959 commit d70403357d6b510356dd375304fb97e458fd12b2
6960 Author: Simon Feltman <sfeltman@src.gnome.org>
6961 Date: Tue Aug 5 22:45:46 2014 -0700
6963 Add protection against attempts at importing static bindings
6965 Clobber gobject, gio, glib, gtk, and gtk.gdk in sys.modules upon
6967 gi with dummy modules which produce an error upon access.
6969 https://bugzilla.gnome.org/show_bug.cgi?id=709183
6971 gi/__init__.py | 25 ++++++++++++++++++++++---
6972 tests/test_import_machinery.py | 24 ++++++++++++++++++++++++
6973 2 files changed, 46 insertions(+), 3 deletions(-)
6975 commit 5ca4d25eac0efcc12b02fe53f379ee41e69bf1d2
6976 Author: Simon Feltman <sfeltman@src.gnome.org>
6977 Date: Tue Dec 31 16:15:04 2013 -0800
6979 Update and deprecate gi.overrides.keysyms
6981 Replace manually assigned keysyms with a dynamically generated version
6982 pulling names and values from Gdk via GI. Add a runtime warning when
6983 this module is imported.
6985 https://bugzilla.gnome.org/show_bug.cgi?id=721295
6987 gi/overrides/keysyms.py | 1490
6988 +-------------------------------------------
6989 pygtkcompat/pygtkcompat.py | 14 +-
6990 2 files changed, 27 insertions(+), 1477 deletions(-)
6992 commit 9eaeba9079c23d7e2837f62e8ed2b26c018351b6
6993 Author: Alexey Pavlov <alexpux@gmail.com>
6994 Date: Tue Aug 5 19:03:38 2014 -0700
6996 Use -no-undefined for building on Windows
6998 See LT_INIT([win32-dll]):
6999 http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
7001 Additionally add PYTHON_LIBS to testhelper.la linking.
7003 https://bugzilla.gnome.org/show_bug.cgi?id=734284
7005 tests/Makefile.am | 6 +++---
7006 1 file changed, 3 insertions(+), 3 deletions(-)
7008 commit 5737a9ec4bf4d9d07a7e3994d91abf9077b342cc
7009 Author: Alexey Pavlov <alexpux@gmail.com>
7010 Date: Tue Aug 5 18:40:53 2014 -0700
7012 Use python-config for libs when available
7014 https://bugzilla.gnome.org/show_bug.cgi?id=734289
7016 m4/python.m4 | 7 ++++++-
7017 1 file changed, 6 insertions(+), 1 deletion(-)
7019 commit 093abb4ed052c768f51c90324c2e40063aa6b9b9
7020 Author: Alexey Pavlov <alexpux@gmail.com>
7021 Date: Tue Aug 5 18:20:25 2014 -0700
7023 Link gi.so with FFI_LIBS
7025 https://bugzilla.gnome.org/show_bug.cgi?id=734286
7027 gi/Makefile.am | 3 ++-
7028 1 file changed, 2 insertions(+), 1 deletion(-)
7030 commit 9df54d23a15b871fd71c994b97ffe847ff3b9eb5
7031 Author: Alexey Pavlov <alexpux@gmail.com>
7032 Date: Tue Aug 5 15:45:04 2014 +0200
7034 Include math headers also on mingw
7036 https://bugzilla.gnome.org/show_bug.cgi?id=734287
7038 gi/pygi-basictype.c | 2 --
7039 1 file changed, 2 deletions(-)
7041 commit 964ced98e03c704074d10cc362abfa14c00457ba
7042 Author: Garrett Regier <Garrett.Regier@riftio.com>
7043 Date: Thu Jul 31 10:16:47 2014 -0400
7045 Added args_offset to the cache instead of checking the function type
7047 gi/pygi-array.c | 6 ++----
7048 gi/pygi-cache.c | 6 +++---
7049 gi/pygi-cache.h | 3 +++
7050 gi/pygi-closure.c | 4 +---
7051 4 files changed, 9 insertions(+), 10 deletions(-)
7053 commit 9943d876059201cbee87f072a84234ed774ed932
7054 Author: Simon Feltman <sfeltman@src.gnome.org>
7055 Date: Thu Jul 31 21:51:00 2014 -0700
7057 doap: Update homepage URL and email address
7059 pygobject.doap | 4 ++--
7060 1 file changed, 2 insertions(+), 2 deletions(-)
7062 commit afef1020a43d91014c34ffcd5a5f66281f2e7cc9
7063 Author: Simon Feltman <sfeltman@src.gnome.org>
7064 Date: Thu Jul 31 21:46:37 2014 -0700
7066 Change maintainer in PKG-INFO to self
7068 PKG-INFO.in | 4 ++--
7069 1 file changed, 2 insertions(+), 2 deletions(-)
7071 commit 10c4d66574e35cc84bed3c3057b68ad98613d839
7072 Author: Andre Klapper <a9016009@gmx.de>
7073 Date: Thu Jul 31 21:28:12 2014 +0200
7075 doap: add <programming-language>
7077 pygobject.doap | 2 ++
7078 1 file changed, 2 insertions(+)
7080 commit f30001f2b01896577a2b4d956bc4658350e56b8d
7081 Author: Simon Feltman <sfeltman@src.gnome.org>
7082 Date: Wed Jul 30 00:29:01 2014 -0700
7084 Add GClosure marshalling cleanup
7086 Add marshalling cleanup for Python callables and boxed GClosures
7087 passed as arguments. Make sure the marshaller owns a reference
7088 until clean. Fix transfer everything case by adding a new reference.
7089 Remove unused header declaration: pygi_arg_gclosure_from_py_marshal
7091 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7093 gi/pygi-struct-marshal.c | 46
7094 ++++++++++++++++++++++++++++++++++++++--------
7095 gi/pygi-struct-marshal.h | 4 ----
7096 2 files changed, 38 insertions(+), 12 deletions(-)
7098 commit cf4e830f1b613736ef9586562eb6c0b354165925
7099 Author: Simon Feltman <sfeltman@src.gnome.org>
7100 Date: Wed Jul 30 12:42:15 2014 -0700
7102 Remove decrementing argument index for failed marshalling cleanup
7104 Remove index decrement when cleanup function is called for failed
7106 marshalling. The decrement is incorrect and causes the failed argument
7107 cleanup to be skipped. The decrement also causes cleanup for arguments
7108 prior to the failed argument to receive "was_successful" as FALSE,
7112 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7114 gi/pygi-invoke.c | 10 +++++-----
7115 1 file changed, 5 insertions(+), 5 deletions(-)
7117 commit 662a4421125d126a11ca163c362d205f0c2147c4
7118 Author: Simon Feltman <sfeltman@src.gnome.org>
7119 Date: Wed Jul 30 12:46:18 2014 -0700
7121 Use cleanup data for argument marshalling failures
7123 Use state->args_cleanup_data when cleaning up failed argument
7125 This was overlooked when cleanup data tracking was implemented
7128 https://bugzilla.gnome.org/show_bug.cgi?id=695128
7130 gi/pygi-marshal-cleanup.c | 14 +++++++-------
7131 1 file changed, 7 insertions(+), 7 deletions(-)
7133 commit 39746a3b4f307974d8b3f98f7ba2aefe06d897a3
7134 Author: Olav Vitters <olav@vitters.nl>
7135 Date: Wed Jul 30 20:41:37 2014 +0200
7139 pygobject.doap | 2 +-
7140 1 file changed, 1 insertion(+), 1 deletion(-)
7142 commit 36caa74a276972eee2b18162ac09edc83c30a3cb
7143 Author: Simon Feltman <sfeltman@src.gnome.org>
7144 Date: Mon Jul 28 23:51:19 2014 -0700
7146 tests: Move object property reference count tests to test_properties
7148 Move and consolidate tests for object property reference counts from
7149 tests_object_marshaling to test_properties.
7151 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7153 tests/test_object_marshaling.py | 68
7154 -----------------------------------------
7155 tests/test_properties.py | 36 ++++++++++++++++++++++
7156 2 files changed, 36 insertions(+), 68 deletions(-)
7158 commit 15b795354ca5a8f436779ee5d81936af8961acb5
7159 Author: Simon Feltman <sfeltman@src.gnome.org>
7160 Date: Mon Jul 28 22:20:44 2014 -0700
7162 tests: Move test_everything.TestProperties into test_properties
7164 Consolidate property tests found in test_everything into test_property
7165 removing redundant tests already found in test_property.
7167 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7169 tests/test_everything.py | 69
7170 +-----------------------------------------------
7171 tests/test_properties.py | 59 +++++++++++++++++++++++++++++++++++++++++
7172 2 files changed, 60 insertions(+), 68 deletions(-)
7174 commit c691d86c6f5f073f7c1e1e6ddd4311ed27431747
7175 Author: Simon Feltman <sfeltman@src.gnome.org>
7176 Date: Mon Jul 28 21:32:44 2014 -0700
7178 tests: Add tests for get/set_property()
7180 Re-use the new CPropertiesTestBase class for testing
7184 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7186 tests/test_properties.py | 32 ++++++++++++++++++++++++++++++++
7187 1 file changed, 32 insertions(+)
7189 commit 115bc88ad5eb85e0a1821fa4fa2cad5c6df87dcc
7190 Author: Simon Feltman <sfeltman@src.gnome.org>
7191 Date: Mon Jul 28 21:32:00 2014 -0700
7193 tests: Break TestPropertiesObject up for re-use
7195 Refactor TestPropertiesObject into a base class which abstracts
7197 property methods. This will allow re-use for testing both
7199 and the props accessor.
7201 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7203 tests/test_properties.py | 221
7204 +++++++++++++++++++++++++----------------------
7205 1 file changed, 118 insertions(+), 103 deletions(-)
7207 commit bf0a5c3345e65b6a7475fada4ea240dbe0049a26
7208 Author: Simon Feltman <sfeltman@src.gnome.org>
7209 Date: Mon Jul 28 19:32:00 2014 -0700
7211 tests: Move test_gi.TestPropertiesObject into test_properties
7213 Move all property testing code into the test_properties module.
7215 https://bugzilla.gnome.org/show_bug.cgi?id=726999
7217 tests/test_gi.py | 233
7218 ----------------------------------------------
7219 tests/test_properties.py | 235
7220 +++++++++++++++++++++++++++++++++++++++++++++++
7221 2 files changed, 235 insertions(+), 233 deletions(-)
7223 commit 4941691264970b19b81d435cd58ab18ef6bac9a5
7224 Author: Simon Feltman <sfeltman@src.gnome.org>
7225 Date: Fri Jul 25 18:33:15 2014 -0700
7227 pyflakes: Fix legacy print and exception usage under Python 3
7229 Fix print statements and legacy exception usage in examples.
7231 https://bugzilla.gnome.org/show_bug.cgi?id=731042
7233 examples/properties.py | 12 ++++++------
7234 tests/runtests-windows.py | 4 ++--
7235 2 files changed, 8 insertions(+), 8 deletions(-)
7237 commit c3d3cd2f798cbae7f66d8e57e191b5f9569a713b
7238 Author: Simon Feltman <sfeltman@src.gnome.org>
7239 Date: Fri Jul 25 17:49:57 2014 -0700
7241 tests: Ignore warnings for GtkAlignment
7243 This was causing unittests to bail. Even though this is deprecated,
7244 we still need to test its usage in the context of pygtkcompat.
7246 tests/compat_test_pygtk.py | 15 ++++++++++++++-
7247 1 file changed, 14 insertions(+), 1 deletion(-)
7249 commit 804b89447ae2748c88ad5efe5e6e37d949681b9e
7250 Author: Simon Feltman <sfeltman@src.gnome.org>
7251 Date: Fri Jul 25 17:40:36 2014 -0700
7253 tests: Remove usage of deprecated "schema" property in GSettings
7256 Use new and new_with_path instead as the schema property was causing a
7257 hard warning which fails the test suite.
7259 tests/test_gio.py | 6 +++---
7260 1 file changed, 3 insertions(+), 3 deletions(-)
7262 commit 6b806137825891cc6bdad82a68cf3deb087feb70
7263 Author: Simon Feltman <sfeltman@src.gnome.org>
7264 Date: Fri Jul 25 17:35:06 2014 -0700
7266 tests: Ignore stock-id usage warnings
7268 Add ignore_glib_warnings context manager for easily ignoring warnings
7269 caused by stock-id usage. Even though stock-id is deprecated, we still
7270 need to test the related Python binding overrides.
7272 tests/test_overrides_gtk.py | 40 ++++++++++++++++++++++++----------------
7273 1 file changed, 24 insertions(+), 16 deletions(-)
7275 commit 6b944c4e215a34bc4181c7c708b6d6f2d4898c15
7276 Author: Simon Feltman <sfeltman@src.gnome.org>
7277 Date: Mon Jun 23 15:55:57 2014 -0700
7279 configure.ac: post release version bump to 3.13.4
7282 1 file changed, 1 insertion(+), 1 deletion(-)
7284 commit 58198b6ae426448cde82cad7304018c7c770c0ea
7285 Author: Simon Feltman <sfeltman@src.gnome.org>
7286 Date: Mon Jun 23 15:53:03 2014 -0700
7291 1 file changed, 8 insertions(+)
7293 commit cdf8c40768b00d08a1facca696a042efc6e8988f
7294 Author: Simon Feltman <sfeltman@src.gnome.org>
7295 Date: Thu May 29 13:02:44 2014 -0700
7297 demos: Cleanup CSS accordion demo to use a loop for adding buttons
7299 Also use Gtk.main_quit directly since it has been overridden to accept
7302 demos/gtk-demo/demos/Css/css_accordion.py | 21 +++------------------
7303 1 file changed, 3 insertions(+), 18 deletions(-)
7305 commit ba8380d093d6f84eabcf18c02b248aae8ffc3cf5
7306 Author: Simon Feltman <sfeltman@src.gnome.org>
7307 Date: Tue May 27 19:24:20 2014 -0700
7309 refactor: Move builder connection utilities outside of Builder class
7311 Move _extract_handler_and_args and _builder_connect_callback into
7313 scope for re-use by GTK+ Composite Templates.
7315 https://bugzilla.gnome.org/show_bug.cgi?id=701843
7317 gi/overrides/Gtk.py | 83
7318 ++++++++++++++++++++++++---------------------
7319 tests/test_overrides_gtk.py | 8 ++---
7320 2 files changed, 48 insertions(+), 43 deletions(-)
7322 commit f127fabe9664b243774b76a68e6fce5986aa23a0
7323 Author: Simon Feltman <sfeltman@src.gnome.org>
7324 Date: Tue May 27 15:52:10 2014 -0700
7326 tests: Move TestSignals from test_everything into test_signal
7328 Move these tests into a more meaningful location.
7330 https://bugzilla.gnome.org/show_bug.cgi?id=701843
7332 tests/test_everything.py | 123
7333 --------------------------------------------
7334 tests/test_signal.py | 131
7335 +++++++++++++++++++++++++++++++++++++++++++++++
7336 2 files changed, 131 insertions(+), 123 deletions(-)
7338 commit da46963a0ce9f796ff4ee4ae2023adfd40ed54ca
7339 Author: Simon Feltman <sfeltman@src.gnome.org>
7340 Date: Mon May 26 04:21:07 2014 -0700
7342 configure.ac: post release version bump to 3.13.2
7345 1 file changed, 1 insertion(+), 1 deletion(-)
7347 commit 6258adf6c7c604954f0dbc1a9ed8c284114358bc
7348 Author: Simon Feltman <sfeltman@src.gnome.org>
7349 Date: Mon May 26 04:18:55 2014 -0700
7353 NEWS | 21 +++++++++++++++++++++
7354 1 file changed, 21 insertions(+)
7356 commit 32542a4ba24d413fb6e0d509bff05f4ac3f642a1
7357 Author: Simon Feltman <sfeltman@src.gnome.org>
7358 Date: Mon May 26 03:01:13 2014 -0700
7360 Python 3.4 make check fixes
7362 Bump GI required version to 1.39.0. This is needed to get rid of
7363 expectedFailures which pass when built with 1.39.0 (unexpected
7365 fail unittesting in Python 3.4).
7366 Silence deprecation warning when using imp.reload.
7368 https://bugzilla.gnome.org/show_bug.cgi?id=730411
7371 pygtkcompat/pygtkcompat.py | 4 +++-
7372 tests/test_gi.py | 1 -
7373 tests/test_repository.py | 2 --
7374 4 files changed, 4 insertions(+), 5 deletions(-)
7376 commit dbdc662b5743bb54fcc3621db775a6e948ec360c
7377 Author: Simon Feltman <sfeltman@src.gnome.org>
7378 Date: Mon May 26 01:53:14 2014 -0700
7380 tests: Don't use deprecated positional argument for Gio.Settings
7383 tests/test_gio.py | 6 +++---
7384 1 file changed, 3 insertions(+), 3 deletions(-)
7386 commit d0b23f08eebd4377f066a4483900fe6d09e3795e
7387 Author: Simon Feltman <sfeltman@src.gnome.org>
7388 Date: Sun May 25 23:03:35 2014 -0700
7390 overrides: Add Gtk.Container.child_get/set overrides
7392 Add overrides for child_get and child_set to Gtk.Container since these
7393 are not introspectable methods.
7395 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7397 gi/overrides/Gtk.py | 10 ++++++++++
7398 tests/test_overrides_gtk.py | 16 ++++++++++++++++
7399 2 files changed, 26 insertions(+)
7401 commit 45a5fb2b0d6c7f46d355c83c73d829532e5a72ce
7402 Author: Simon Feltman <sfeltman@src.gnome.org>
7403 Date: Sun May 25 22:07:07 2014 -0700
7405 overrides: Make value argument to Widget.style_get_property optional
7407 Override Gtk.Widget.style_get_property to optionally accept the
7409 argument. If "value" is not supplied, the override will locate
7411 property value type and create the GValue. Additionally return
7413 GValue converted to a native Python value.
7415 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7417 gi/overrides/Gtk.py | 11 +++++++++++
7418 tests/test_overrides_gtk.py | 29 +++++++++++++++++++++++++++++
7419 2 files changed, 40 insertions(+)
7421 commit 6f5a9a37bcdec5074332b1066396321d40b15d99
7422 Author: Simon Feltman <sfeltman@src.gnome.org>
7423 Date: Sun May 25 21:08:47 2014 -0700
7425 overrides: Make value argument to Container.child_get_property
7428 Override Gtk.Container.child_get_property to optionally accept the
7430 argument. If "value" is not supplied, the override will locate
7432 property value type and create the GValue. Additionally return
7434 GValue converted to a native Python value.
7436 https://bugzilla.gnome.org/show_bug.cgi?id=685076
7438 gi/overrides/Gtk.py | 11 +++++++++++
7439 tests/test_overrides_gtk.py | 47
7440 +++++++++++++++++++++++++++++++++++++++++++++
7441 2 files changed, 58 insertions(+)
7443 commit bf84915f89fd5fd502b4fb162eef7bc0a48c8783
7444 Author: Johan Dahlin <johan@gnome.org>
7445 Date: Mon Oct 1 06:42:24 2012 -0700
7447 Add GTypeClass methods as Python GObject class methods
7449 Take all the methods from an objects type classs and add them
7450 as class methods. For instance, GObject.ObjectClass.list_properties
7451 is available as GObject.Object.list_properties().
7453 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
7455 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7457 gi/types.py | 13 +++++++++++++
7458 tests/test_typeclass.py | 13 +++++++++++++
7459 2 files changed, 26 insertions(+)
7461 commit 778d05c93e079ba207a250b754bda9377cb47457
7462 Author: Simon Feltman <sfeltman@src.gnome.org>
7463 Date: Sun May 25 19:05:56 2014 -0700
7465 Add marshalling coercion for Python classes and instances to
7468 Automatically marshal Python GObject classes and instances to
7470 structs (GObjectClass). This allows usage of the GTypeClass methods by
7471 passing a Python GObject class or instance to the GTypeClass method.
7472 This is needed to support usage of GTypeClass methods since we don't
7473 manually bind GTypeClasses and they are not very well supported with
7476 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7478 gi/pygi-struct-marshal.c | 54 ++++++++++++++++++++++++++++++++++----
7479 tests/Makefile.am | 1 +
7480 tests/test_typeclass.py | 67
7481 ++++++++++++++++++++++++++++++++++++++++++++++++
7482 3 files changed, 117 insertions(+), 5 deletions(-)
7484 commit 1e606287e1244cba45e3bb174d27f1c01e4f9577
7485 Author: Simon Feltman <sfeltman@src.gnome.org>
7486 Date: Sun May 25 02:00:00 2014 -0700
7488 Cleanup struct marshalling function names
7490 Use a consistent naming scheme for struct marshalling cache related
7491 functions. This removes prefixed underscores from function names
7492 as well as redundant wording.
7494 To ignore this commit with git blame use:
7495 git blame <this-commit-sha>^ -- gi/pygi-struct-marshal.c
7497 https://bugzilla.gnome.org/show_bug.cgi?id=685218
7499 gi/pygi-argument.c | 34 ++++----
7500 gi/pygi-array.c | 2 +-
7501 gi/pygi-struct-marshal.c | 221
7502 ++++++++++++++++++++---------------------------
7503 gi/pygi-struct-marshal.h | 56 ++++++------
7504 4 files changed, 142 insertions(+), 171 deletions(-)
7506 commit bbbfa967d06eb8fdef6d6ebe705cc8df2869ddf3
7507 Author: Simon Feltman <sfeltman@src.gnome.org>
7508 Date: Fri May 16 15:08:35 2014 -0700
7510 Use accessors for getting and setting PyGParamSpec pointers
7512 Add pyg_param_spec_get and pyg_param_spec_set macros for getting and
7513 setting the GParamSpec pointer field held by the Python wrapper. This
7514 is preliminary cleanup work for supporting fundamental types.
7516 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7518 gi/pygi-value.c | 2 +-
7519 gi/pygobject.h | 9 +++++++--
7520 gi/pygparamspec.c | 22 +++++++++++-----------
7521 3 files changed, 19 insertions(+), 14 deletions(-)
7523 commit b49179ba3b39576c0c8fe8586b7091dbbaef8046
7524 Author: Simon Feltman <sfeltman@src.gnome.org>
7525 Date: Fri May 16 14:50:57 2014 -0700
7527 Use accessors for getting and setting PyGPointer fields
7529 Add pyg_pointer_get_ptr and pyg_pointer_set_ptr macros for getting and
7530 setting the pointer field. This is preliminary cleanup work for
7534 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7536 gi/gimodule.c | 2 +-
7537 gi/pygi-struct.c | 6 +++---
7538 gi/pygobject.h | 2 ++
7539 gi/pygpointer.c | 14 +++++++-------
7540 4 files changed, 13 insertions(+), 11 deletions(-)
7542 commit 92fe52243d819ffe91597744a6a1c2362a295bce
7543 Author: Simon Feltman <sfeltman@src.gnome.org>
7544 Date: Fri May 16 14:19:47 2014 -0700
7546 Use accessors for getting and setting PyGBoxed pointers
7548 Add pyg_boxed_get_ptr and pyg_boxed_set_ptr macros for getting
7550 the boxed pointer field. This is preliminary cleanup work for
7554 https://bugzilla.gnome.org/show_bug.cgi?id=631901
7556 gi/pygboxed.c | 20 ++++++++++----------
7557 gi/pygi-boxed.c | 6 +++---
7558 gi/pygobject.h | 2 ++
7559 gi/pygtype.c | 3 ++-
7560 4 files changed, 17 insertions(+), 14 deletions(-)
7562 commit 0a4f13a571cb9bd110f435f8b23ed942e3b007b0
7563 Author: Simon Feltman <sfeltman@src.gnome.org>
7564 Date: Sun May 11 16:04:55 2014 -0700
7566 tests: Use assertRaises as a context manager for GError test
7568 Simplify tests/test_error.py:TestMarshalling.test_exception so that
7569 it no longer needs to pull exception information out of sys.exc_info.
7571 tests/test_error.py | 14 ++++++--------
7572 1 file changed, 6 insertions(+), 8 deletions(-)
7574 commit bc7b0b69f651a118a053106fcae2d7c0f2173430
7575 Author: Andrew Grigorev <andrew@ei-grad.ru>
7576 Date: Sun May 11 23:54:46 2014 +0400
7578 Replace direct parent class call by super()
7580 Super works, it just needs the correct class.
7582 https://bugzilla.gnome.org/show_bug.cgi?id=729970
7584 demos/gtk-demo/gtk-demo.py | 6 ++----
7585 1 file changed, 2 insertions(+), 4 deletions(-)
7587 commit de827d00762f2a741f90bc38f8b55518593f4509
7588 Author: Simon Feltman <sfeltman@src.gnome.org>
7589 Date: Sun Mar 23 01:59:00 2014 -0700
7591 Add cairo marshaling support for non-introspected signals
7593 Add link dependency of cairo-gobject to _gi_cairo_la needed for
7595 the GTypes of cairo classes.
7596 Add GValue marshalers for cairo Context, Surface, FontFace,
7598 and Pattern classes.
7600 https://bugzilla.gnome.org/show_bug.cgi?id=694604
7602 gi/Makefile.am | 2 +
7603 gi/pygi-foreign-cairo.c | 186
7604 ++++++++++++++++++++++++++++++++++++++++++++++++
7605 gi/pygi-type.h | 1 +
7607 tests/test_cairo.py | 65 +++++++++++++++++
7608 5 files changed, 256 insertions(+)
7610 commit 22a952ec532cc83c8227861a7d5bfa2957608c3f
7611 Author: Simon Feltman <sfeltman@src.gnome.org>
7612 Date: Mon May 5 19:37:18 2014 -0700
7614 [New API] Add gi.require_foreign
7616 Add gi.require_foreign(namespace, symbol=None) API for determining
7617 if a foreign marshaling module is available. This can be used in an
7618 applications import statement block to verify the existence of a
7619 specific foreign marshaling module (cairo).
7620 Additionally it forces loading of the foreign marshaling module as
7621 well as the GI repository module. This allows non-introspected signal
7622 closures to correctly marshal their arguments (bug 694604).
7624 https://bugzilla.gnome.org/show_bug.cgi?id=707735
7626 gi/__init__.py | 28 +++++++++++++++++++++++++
7627 gi/gimodule.c | 2 ++
7628 gi/pygi-foreign.c | 60
7629 ++++++++++++++++++++++++++++++++++++++++++++++-------
7630 gi/pygi-foreign.h | 4 ++++
7631 tests/test_cairo.py | 9 ++++++++
7632 5 files changed, 95 insertions(+), 8 deletions(-)
7634 commit 4ee91a4cd0018d069c7aaf66d83e2f8235f2262a
7635 Author: Simon Feltman <sfeltman@src.gnome.org>
7636 Date: Mon May 5 19:48:06 2014 -0700
7638 tests: Move cairo tests into test_cairo.py
7640 Move cairo related tests from test_everything.py into test_cairo.py
7642 https://bugzilla.gnome.org/show_bug.cgi?id=694604
7644 tests/Makefile.am | 1 +
7645 tests/test_cairo.py | 67
7646 ++++++++++++++++++++++++++++++++++++++++++++++++
7647 tests/test_everything.py | 43 +------------------------------
7648 3 files changed, 69 insertions(+), 42 deletions(-)
7650 commit 31ecd935564984068e6646676392122bdc03e42e
7651 Author: Simon Feltman <sfeltman@src.gnome.org>
7652 Date: Mon May 5 19:42:59 2014 -0700
7654 Initialize the foreign API at PyGI load time
7656 Initialize the foreign struct list at gi._gi module load time. This
7658 we always have a valid (non-null) list of foreign marshalers outside
7660 context of marshaling.
7662 https://bugzilla.gnome.org/show_bug.cgi?id=694604
7664 gi/gimodule.c | 3 ++-
7665 gi/pygi-foreign.c | 12 ++++++++----
7666 gi/pygi-foreign.h | 2 ++
7667 3 files changed, 12 insertions(+), 5 deletions(-)
7669 commit def47144b63a1492ebf47a4eadb535f45253ff3a
7670 Author: Simon Feltman <sfeltman@src.gnome.org>
7671 Date: Sat Mar 22 14:13:01 2014 -0700
7673 Move pygi foreign API into pygi-foreign-api.h
7675 Move limited set of APIs necessary for registering foreign marshalers
7677 pygi-foreign-api.h. Remove "_real" from internally used APIs and
7679 includes to the rest of pygobject for calling directly (instead of
7681 the PyCapsule API within PyGI itself).
7682 This is needed to avoid compilation errors when including pygobject.h
7684 foreign marshaling plugins which conflicts with pygobject-private.h.
7686 https://bugzilla.gnome.org/show_bug.cgi?id=694604
7688 gi/Makefile.am | 1 +
7689 gi/gimodule.c | 6 +--
7693 gi/pygi-foreign-api.h | 85 +++++++++++++++++++++++++++++++++++++
7694 gi/pygi-foreign-cairo.c | 8 ++--
7695 gi/pygi-foreign.c | 10 ++---
7696 gi/pygi-foreign.h | 14 +++----
7697 gi/pygi-property.c | 8 ++--
7698 gi/pygi-property.h | 14 ++++---
7699 gi/pygi-signal-closure.c | 12 +++---
7700 gi/pygi-signal-closure.h | 15 +++----
7701 gi/pygi-type.c | 4 +-
7702 gi/pygi-type.h | 2 +-
7704 -----------------------------------------------
7705 gi/pygobject.c | 3 ++
7706 gi/pygpointer.c | 1 +
7707 18 files changed, 139 insertions(+), 154 deletions(-)
7709 commit 4c2e6914bf0277ebc3a6a4426f33a1b378a04b00
7710 Author: Simon Feltman <sfeltman@src.gnome.org>
7711 Date: Sun May 4 23:19:30 2014 -0700
7713 Clobber GLib.Error with custom implementation
7715 Clobber the introspection GLib.Error class with the custom Python
7716 implementation found in gi._error.GError. Update references to
7720 https://bugzilla.gnome.org/show_bug.cgi?id=712519
7722 gi/_error.py | 3 ++-
7723 gi/overrides/GLib.py | 9 ++++++---
7724 gi/pygi-error.c | 10 +++++-----
7725 tests/test_error.py | 24 ++++++++++++------------
7726 4 files changed, 25 insertions(+), 21 deletions(-)
7728 commit f80f5ec434ed868ab1f35d6a81537384e753b09d
7729 Author: Simon Feltman <sfeltman@src.gnome.org>
7730 Date: Sun May 4 23:43:50 2014 -0700
7732 Simplify pygi_error_marshal to use GError initializer arguments
7734 https://bugzilla.gnome.org/show_bug.cgi?id=712519
7736 gi/pygi-error.c | 25 ++++++-------------------
7737 1 file changed, 6 insertions(+), 19 deletions(-)
7739 commit 3083daf420ac1900bb20604c22fd61e5187b4ae8
7740 Author: Simon Feltman <sfeltman@src.gnome.org>
7741 Date: Sun May 4 04:13:46 2014 -0700
7743 Add Python implementation of GError
7745 Add internally used gi/_error.py module as a basis for implementing
7746 a unified GError between introspection and static bindings. Patch
7748 implementations of GError.matches and GError.new_literal in the GLib
7751 https://bugzilla.gnome.org/show_bug.cgi?id=712519
7755 ++++++++++++++++++++++++++++++++++++++++++++++++++++
7756 gi/_option.py | 3 ++-
7757 gi/overrides/GLib.py | 25 ++++++++++++++++++++++++-
7758 gi/pygi-error.c | 18 +++++++-----------
7759 tests/test_error.py | 37 ++++++++++++++++++++++++++++++++++++
7760 6 files changed, 125 insertions(+), 14 deletions(-)
7762 commit 664bfa6fdf2196a0d1449baaca62a9a496121f67
7763 Author: Simon Feltman <sfeltman@src.gnome.org>
7764 Date: Sun May 4 23:14:27 2014 -0700
7766 tests: Move GError tests into test_error.py
7768 https://bugzilla.gnome.org/show_bug.cgi?id=712519
7770 tests/Makefile.am | 1 +
7771 tests/test_error.py | 81
7772 +++++++++++++++++++++++++++++++++++++++++++++++++++++
7773 tests/test_gi.py | 49 --------------------------------
7774 3 files changed, 82 insertions(+), 49 deletions(-)
7776 commit 649895d83a90cd3a370da215a6f98a606b987419
7777 Author: Simon Feltman <sfeltman@src.gnome.org>
7778 Date: Sun May 4 00:18:41 2014 -0700
7780 Consolidate GError related code into pygi-error
7782 Rename all pyglib_error_* functions to pygi_error_* and move them into
7784 Register GError as part of the gi._gi module instead of gi._gi._glib.
7785 Update all code to use new naming.
7787 https://bugzilla.gnome.org/show_bug.cgi?id=712519
7789 gi/_option.py | 6 +-
7790 gi/gimodule.c | 4 +-
7791 gi/glibmodule.c | 19 -----
7792 gi/gobjectmodule.c | 54 +-----------
7793 gi/overrides/GLib.py | 3 +-
7794 gi/pygi-argument.c | 6 +-
7795 gi/pygi-cache.c | 4 +-
7796 gi/pygi-error.c | 222
7797 ++++++++++++++++++++++++++++++++++++++++++++++++-
7798 gi/pygi-error.h | 21 ++++-
7799 gi/pygi-invoke.c | 5 +-
7800 gi/pyglib-private.h | 1 -
7801 gi/pyglib.c | 199 --------------------------------------------
7803 gi/pygobject-private.h | 3 -
7804 gi/pygoptioncontext.c | 3 +-
7805 gi/pygoptiongroup.c | 3 +-
7806 gi/pygspawn.c | 3 +-
7807 17 files changed, 262 insertions(+), 299 deletions(-)
7809 commit 9080215e862a73ddcce16476f4dc4492a88dd3f2
7810 Author: Simon Feltman <sfeltman@src.gnome.org>
7811 Date: Sat May 3 22:56:49 2014 -0700
7813 Add gi.CallableInfo.can_throw_gerror()
7815 Add static binding for g_callable_info_can_throw_gerror.
7817 gi/pygi-info.c | 10 ++++++++++
7818 tests/test_repository.py | 16 ++++++++++++++++
7819 2 files changed, 26 insertions(+)
7821 commit f129e78d579b7897cb86111c524d87b5b12019ad
7822 Author: Simon Feltman <sfeltman@src.gnome.org>
7823 Date: Sat May 3 22:56:03 2014 -0700
7825 Derive PyCallbackInfo from PyCallableInfo
7827 Update the static GI bindings for PyGICallbackInfo to derive
7828 from PyGICallableInfo. This makes all the gi.CallableInfo methods
7829 available to gi.CallbackInfo for use from Python.
7831 gi/pygi-info.c | 4 ++--
7832 tests/test_repository.py | 7 +++++++
7833 2 files changed, 9 insertions(+), 2 deletions(-)
7835 commit 833f96807037e85445ac103d6fb6ad9c4fab65e4
7836 Author: Simon Feltman <sfeltman@src.gnome.org>
7837 Date: Fri May 2 21:36:25 2014 -0700
7841 Use infix 'not' instead of prefixed.
7842 Don't use double comments (##).
7843 Use space between comment and text.
7844 Un-comment tests that now work.
7845 Move broken (and won't fix) implicit int64 signal tests into
7846 a new skipped test function.
7848 gi/overrides/GIMarshallingTests.py | 4 ++--
7849 gi/overrides/Gio.py | 4 ++--
7850 gi/overrides/Gtk.py | 6 +++---
7852 pygtkcompat/pygtkcompat.py | 4 ++--
7853 tests/test_everything.py | 1 -
7854 tests/test_gi.py | 9 +++------
7855 tests/test_iochannel.py | 2 +-
7856 tests/test_option.py | 2 +-
7857 tests/test_signal.py | 28 +++++++++++++---------------
7858 10 files changed, 28 insertions(+), 34 deletions(-)
7860 commit 07af141dd8dcac551cb2e962f6bf338b3485006b
7861 Author: Simon Feltman <sfeltman@src.gnome.org>
7862 Date: Mon Apr 28 14:06:30 2014 -0700
7864 configure.ac: post release version bump to 3.13.2
7867 1 file changed, 1 insertion(+), 1 deletion(-)
7869 commit ba652c1fd9dbef6d3ff57e39b400ea827374a95e
7870 Author: Simon Feltman <sfeltman@src.gnome.org>
7871 Date: Mon Apr 28 14:00:59 2014 -0700
7875 NEWS | 14 ++++++++++++++
7876 1 file changed, 14 insertions(+)
7878 commit 3a2bfc8bf01fcae386355bc3652780e198e54d49
7879 Author: Christoph Reiter <reiter.christoph@gmail.com>
7880 Date: Mon Apr 14 23:33:52 2014 +0200
7882 Raise TypeError if arguments are passed to Boxed.__init__
7884 This is a partial revert of
7885 https://git.gnome.org/browse/pygobject/commit/?id=2f2069c9efcd8
7886 which removed a type check in __new__. This adds it back
7887 into __init__. Overrides which define __new__ now have to
7888 filter out any arguments in __init__ and not the other way
7889 around, which is a bit less surprising in the common case.
7891 https://bugzilla.gnome.org/show_bug.cgi?id=727810
7893 gi/overrides/GLib.py | 6 ++++++
7894 gi/overrides/Gtk.py | 6 ++++++
7895 gi/overrides/Pango.py | 3 +++
7896 gi/pygi-boxed.c | 6 ++++++
7897 tests/test_gi.py | 4 ++++
7898 5 files changed, 25 insertions(+)
7900 commit 906977047df2fb2f394410e4ebf360b69af8dcfe
7901 Author: Christoph Reiter <reiter.christoph@gmail.com>
7902 Date: Mon Apr 14 15:40:50 2014 +0200
7904 Gdk.Event: Override __setattr__ to set fields based on the event type
7906 Pass the setting of attributes through to the underlying union based
7907 on event type. This mirrors the logic in __getattr__.
7909 https://bugzilla.gnome.org/show_bug.cgi?id=727810
7911 gi/overrides/Gdk.py | 7 +++++++
7912 tests/test_overrides_gdk.py | 13 ++++++++++---
7913 2 files changed, 17 insertions(+), 3 deletions(-)
7915 commit 78a0508a4d40e3723b36297ba2d42889dabc1cdd
7916 Author: Christoph Reiter <reiter.christoph@gmail.com>
7917 Date: Mon Apr 14 13:06:02 2014 +0200
7919 Gdk.Event: Include GdkEventType in __repr__
7921 https://bugzilla.gnome.org/show_bug.cgi?id=727810
7923 gi/overrides/Gdk.py | 4 ++++
7924 tests/test_overrides_gdk.py | 4 ++++
7925 2 files changed, 8 insertions(+)
7927 commit 23965455f060793ffcbc0d8288527d41a667579c
7928 Author: Simon Feltman <sfeltman@src.gnome.org>
7929 Date: Mon Apr 14 15:10:01 2014 -0700
7931 Fix crash with type checking for GObject arguments
7933 Ensure we have a valid GObject before attempting to call g_type_is_a.
7934 Swap conditional blocks to make if condition more readable.
7936 https://bugzilla.gnome.org/show_bug.cgi?id=727604
7938 gi/pygi-object.c | 19 ++++++++++---------
7939 tests/test_object_marshaling.py | 35 +++++++++++++++++++++++++++++++++++
7940 2 files changed, 45 insertions(+), 9 deletions(-)
7942 commit 2e853f6a31636d6a26ce91eb30be5bb0326474b1
7943 Author: Paolo Borelli <pborelli@gnome.org>
7944 Date: Sun Mar 30 18:27:59 2014 +0200
7946 Do not leak info of destroy notify
7948 gi/pygi-closure.c | 11 ++++++-----
7949 1 file changed, 6 insertions(+), 5 deletions(-)
7951 commit f9e504c79c5ef6e1938e4db5b49115689b9f5c3c
7952 Author: Simon Feltman <sfeltman@src.gnome.org>
7953 Date: Fri Mar 28 19:51:58 2014 -0700
7955 configure.ac: Update PyGObject wiki link in AC_INIT
7958 1 file changed, 1 insertion(+), 1 deletion(-)
7960 commit ee84b5a2c83d88436aec6b62e7a271a3525569e0
7961 Author: Simon Feltman <sfeltman@src.gnome.org>
7962 Date: Mon Mar 24 18:57:56 2014 -0700
7964 Ignore GValueArray deprecations
7966 Wrap calls to GValueArray related calls with
7967 G_GNUC_BEGIN/END_IGNORE_DEPRECATIONS.
7968 Although GValueArray is deprecated, we still need to support the
7970 them in PyGObject. The deprecations add noise to the build processes
7972 new warnings could be lost. Essentially losing the element of surprise
7974 warning should have on maintainers.
7976 gi/pygi-value.c | 23 ++++++++++++++++++++---
7977 tests/testhelpermodule.c | 3 +++
7978 2 files changed, 23 insertions(+), 3 deletions(-)
7980 commit ac8b59ee335967efef974ab0aa89128ade9f3d0c
7981 Author: Simon Feltman <sfeltman@src.gnome.org>
7982 Date: Mon Mar 24 18:09:10 2014 -0700
7984 Raise ImportError when importing modules not found in repository
7986 Raise an ImportError with extra information noting the typelib was not
7987 found. This removes the need to log a similar message which adds
7989 noise when attempting controlled imports within try/except statements.
7990 In Python 2, the additional information is lost but in Python 3 it
7993 https://bugzilla.gnome.org/show_bug.cgi?id=726877
7995 gi/importer.py | 9 ++++-----
7996 tests/test_import_machinery.py | 18 ++++++++++++++++++
7997 2 files changed, 22 insertions(+), 5 deletions(-)
7999 commit e604ada06a8ef8f9a06f0638cf183cfeacdc63a9
8000 Author: Simon Feltman <sfeltman@src.gnome.org>
8001 Date: Mon Mar 24 18:04:27 2014 -0700
8003 tests: Rename test_overrides to test_import_machinery
8005 Rename this test to better suit the contents of the file. This
8007 us a more concise location to grow other tests related to import
8011 https://bugzilla.gnome.org/show_bug.cgi?id=726877
8013 tests/Makefile.am | 2 +-
8014 tests/{test_overrides.py => test_import_machinery.py} | 0
8015 2 files changed, 1 insertion(+), 1 deletion(-)
8017 commit a863e5ec0ac27de49a0ae261fd3a78745cfe84a0
8018 Author: Simon Feltman <sfeltman@src.gnome.org>
8019 Date: Mon Mar 24 04:39:47 2014 -0700
8021 HACKING: Update branch creation instructions to include -b
8024 1 file changed, 1 insertion(+), 1 deletion(-)
8026 commit 1012cfd58c1d41dd6b040a2d14f395e5578f5e79
8027 Author: Simon Feltman <sfeltman@src.gnome.org>
8028 Date: Mon Mar 24 04:35:52 2014 -0700
8030 configure.ac: post release version bump to 3.13.1
8032 configure.ac | 4 ++--
8033 1 file changed, 2 insertions(+), 2 deletions(-)
8035 commit 45eda91eac2f6c8ab1a5c38808f96de760196e90
8036 Author: Simon Feltman <sfeltman@src.gnome.org>
8037 Date: Mon Mar 24 03:35:21 2014 -0700
8042 1 file changed, 2 insertions(+)
8044 commit 70020e9934abb39cbccfa49e582fb838465c0490
8045 Author: Simon Feltman <sfeltman@src.gnome.org>
8046 Date: Mon Mar 24 03:05:16 2014 -0700
8048 pre-release version bump to 3.12.0
8050 configure.ac | 4 ++--
8051 1 file changed, 2 insertions(+), 2 deletions(-)
8053 commit a9a08a0c11e8802cce539f869ea93e1b729e829e
8054 Author: Simon Feltman <sfeltman@src.gnome.org>
8055 Date: Mon Mar 17 15:17:12 2014 -0700
8057 configure.ac: post release version bump to 3.11.93
8060 1 file changed, 1 insertion(+), 1 deletion(-)
8062 commit 7283d50de8413e9450820543d0d8fd43e6c24b27
8063 Author: Simon Feltman <sfeltman@src.gnome.org>
8064 Date: Mon Mar 17 15:12:33 2014 -0700
8069 1 file changed, 6 insertions(+)
8071 commit b3b1f38af1ac1bda9d6a3ba50e9b6fa37ae48d96
8072 Author: Simon Feltman <sfeltman@src.gnome.org>
8073 Date: Mon Mar 17 14:55:52 2014 -0700
8075 configure.ac: Remove option to build without libffi
8077 We've always had a hard dependency on libffi headers.
8078 Commit 5798f94b6a727b93 added a direct module dependency on libffi
8079 instead of indirect via GI. Remove the option to build without libffi.
8081 configure.ac | 21 +++------------------
8082 1 file changed, 3 insertions(+), 18 deletions(-)
8084 commit 1a2438497ffc445fe3f9da06b15085f29317c4ee
8085 Author: Simon Feltman <sfeltman@src.gnome.org>
8086 Date: Sat Mar 15 00:50:14 2014 -0700
8088 docs: Standardize Python doc strings
8090 Use consistent doc string quotations (three double quotes).
8091 Update usage of GObject.GObject in docs to GObject.Object.
8092 Use reStructuredText markup for parameter annotations, instance
8094 admonitions, and code examples.
8095 This allows for better Sphinx documentation generation for the
8097 Preliminary style guide:
8098 https://wiki.gnome.org/Projects/PyGObject/StyleGuide
8100 gi/_option.py | 67 +++++++++++++++------------
8101 gi/_propertyhelper.py | 86 +++++++++++++++++-----------------
8102 gi/_signalhelper.py | 117
8103 ++++++++++++++++++++++++-----------------------
8104 gi/docstring.py | 17 ++++---
8105 gi/glibmodule.c | 3 +-
8106 gi/overrides/GLib.py | 20 ++++----
8107 gi/overrides/GObject.py | 39 ++++++++++------
8108 gi/overrides/Gtk.py | 28 ++++++++----
8109 gi/overrides/__init__.py | 66 +++++++++++++-------------
8111 10 files changed, 242 insertions(+), 203 deletions(-)
8113 commit 2d268ef661badabcb63e696dab01857d57cb3371
8114 Author: Simon Feltman <sfeltman@src.gnome.org>
8115 Date: Sat Mar 15 00:49:00 2014 -0700
8117 Quote argument names in initializer deprecation warning
8119 Add quotation marks around names of deprecated positional arguments.
8120 This makes the message clearer in stating what has been deprecated
8121 in cases when only a single argument is displayed.
8123 gi/overrides/__init__.py | 2 +-
8124 tests/test_gi.py | 6 +++---
8125 2 files changed, 4 insertions(+), 4 deletions(-)
8127 commit a070e712526e433c236753813acc3ef300f0d203
8128 Author: Simon Feltman <sfeltman@src.gnome.org>
8129 Date: Sat Mar 15 00:35:03 2014 -0700
8131 docs: Ignore meta-class bases in dynamic docstring generation
8133 Skip attempts at generating a doc string for GObject meta-class bases
8134 since they do not contain an __info__ attribute.
8135 This circumvents errors with documentation generators (Sphinx).
8137 gi/types.py | 7 ++++++-
8138 1 file changed, 6 insertions(+), 1 deletion(-)
8140 commit ec44dea6bbc3f1adfb6c1a2781364a2df0d0e0e6
8141 Author: Simon Feltman <sfeltman@src.gnome.org>
8142 Date: Thu Mar 13 10:13:34 2014 -0700
8144 Update Free Software Foundation addresses
8146 Update all references to the FSF physical address
8147 to use the web address: http://www.gnu.org/licenses
8149 gi/_constants.py | 4 +---
8150 gi/_gobject/__init__.py | 4 +---
8151 gi/_option.py | 4 +---
8152 gi/_propertyhelper.py | 4 +---
8153 gi/_signalhelper.py | 4 +---
8154 gi/glibmodule.c | 4 +---
8155 gi/gobjectmodule.c | 4 +---
8156 gi/overrides/keysyms.py | 4 +---
8157 gi/pygboxed.c | 4 +---
8158 gi/pygboxed.h | 4 +---
8159 gi/pygenum.c | 4 +---
8160 gi/pygenum.h | 4 +---
8161 gi/pygflags.c | 4 +---
8162 gi/pygflags.h | 4 +---
8163 gi/pygi-argument.c | 4 +---
8164 gi/pygi-argument.h | 4 +---
8165 gi/pygi-boxed.c | 4 +---
8166 gi/pygi-boxed.h | 4 +---
8167 gi/pygi-cache.c | 4 +---
8168 gi/pygi-cache.h | 4 +---
8169 gi/pygi-ccallback.c | 4 +---
8170 gi/pygi-ccallback.h | 4 +---
8171 gi/pygi-info.c | 4 +---
8172 gi/pygi-info.h | 4 +---
8173 gi/pygi-invoke.c | 4 +---
8174 gi/pygi-invoke.h | 4 +---
8175 gi/pygi-marshal-cleanup.c | 4 +---
8176 gi/pygi-marshal-cleanup.h | 4 +---
8177 gi/pygi-repository.c | 4 +---
8178 gi/pygi-repository.h | 4 +---
8179 gi/pygi-signal-closure.c | 4 +---
8180 gi/pygi-struct.c | 4 +---
8181 gi/pygi-struct.h | 4 +---
8182 gi/pygi-type.c | 4 +---
8183 gi/pygi-type.h | 4 +---
8185 gi/pyginterface.c | 4 +---
8186 gi/pyginterface.h | 4 +---
8187 gi/pyglib-private.h | 4 +---
8188 gi/pyglib-python-compat.h | 4 +---
8189 gi/pyglib.c | 4 +---
8190 gi/pyglib.h | 4 +---
8191 gi/pygobject-external.h | 4 +---
8192 gi/pygobject.c | 4 +---
8193 gi/pygoptioncontext.c | 4 +---
8194 gi/pygoptioncontext.h | 4 +---
8195 gi/pygoptiongroup.c | 4 +---
8196 gi/pygoptiongroup.h | 4 +---
8197 gi/pygparamspec.c | 4 +---
8198 gi/pygparamspec.h | 4 +---
8199 gi/pygpointer.c | 4 +---
8200 gi/pygpointer.h | 4 +---
8201 gi/pygspawn.c | 4 +---
8202 gi/pygspawn.h | 4 +---
8203 gi/pygtype.c | 4 +---
8204 gi/pygtype.h | 4 +---
8205 pygtkcompat/generictreemodel.py | 4 +---
8206 tests/test_generictreemodel.py | 4 +---
8207 58 files changed, 58 insertions(+), 174 deletions(-)
8209 commit bbfcebdfdc5e574999221b60520422ea6da82435
8210 Author: Owen W. Taylor <otaylor@fishsoup.net>
8211 Date: Wed Mar 12 18:32:47 2014 -0400
8213 Handle GI_TRANSFER_EVERYTHING for returns of foreign structures
8215 Any (transfer full) return of a cairo type other than a path
8218 Pass the transfer type PyGIArgOverrideFromGIArgumentFunc and handle
8219 it for the cairo foreign type. For paths we can only handle
8220 (transfer full) so throw an error for (transfer none).
8222 https://bugzilla.gnome.org/show_bug.cgi?id=726206
8224 gi/pygi-foreign-cairo.c | 32 +++++++++++++++++++++++++-------
8225 gi/pygi-foreign.c | 3 ++-
8226 gi/pygi-foreign.h | 1 +
8227 gi/pygi-invoke.c | 1 +
8228 gi/pygi-struct-marshal.c | 1 +
8230 6 files changed, 31 insertions(+), 8 deletions(-)
8232 commit c5b641cb4eea9ae64a173dcaa4ee5a4accb036f6
8233 Author: Simon Feltman <sfeltman@src.gnome.org>
8234 Date: Mon Mar 3 15:20:02 2014 -0800
8236 configure.ac: post release version bump to 3.11.92
8239 1 file changed, 1 insertion(+), 1 deletion(-)
8241 commit 7816531691a3db3ae1fe74abc85ac37988b67d2b
8242 Author: Simon Feltman <sfeltman@src.gnome.org>
8243 Date: Mon Mar 3 15:16:43 2014 -0800
8248 1 file changed, 7 insertions(+)
8250 commit 1a63a04eaf2a77c1752b90e80ab571677f27ac3d
8251 Author: Simon Feltman <sfeltman@src.gnome.org>
8252 Date: Mon Mar 3 06:49:09 2014 -0800
8254 build: Update release-news to use srcdir
8256 Use $(top_srcdir)/NEWS for pulling in news items to ensure
8257 "make release-news" works in a vpath build environment.
8260 1 file changed, 1 insertion(+), 1 deletion(-)
8262 commit 5798f94b6a727b930b07fe840b0aef264f98a80e
8263 Author: Simon Feltman <sfeltman@src.gnome.org>
8264 Date: Fri Feb 7 20:16:21 2014 -0800
8266 Use ffi_call directly instead of g_callable_info_invoke
8268 Cleanup internal callable cache and state tracking by removing
8270 counting schemes for differently sized "in" and "out" argument arrays.
8271 Use a single count based on the total number of arguments passed to C
8272 (inclusive of instance argument and GError exception where
8274 Size all state tracking arrays to the same size and ensure argument
8276 indices always line up with these arrays. This cleans up logic
8278 required by g_callable_info_invoke for splitting "in" and "out"
8282 Cleanup array marshaling which can now rely on the new scheme
8284 the "arg_values" array always points to the correct location for
8288 Cache the ffi_cif struct in PyGICallableCache via GIFunctionInvoker
8290 related GI methods. Overall, these changes can give a performance
8292 almost 2x for simple function calls (see ticket for micro benchmarks).
8294 https://bugzilla.gnome.org/show_bug.cgi?id=723642
8296 gi/pygi-array.c | 26 ++---
8297 gi/pygi-cache.c | 61 +++++++++--
8298 gi/pygi-cache.h | 10 +-
8299 gi/pygi-ccallback.c | 3 +-
8300 gi/pygi-closure.c | 6 +-
8301 gi/pygi-invoke-state-struct.h | 42 +++++---
8302 gi/pygi-invoke.c | 241
8303 +++++++++++++++++++++++-------------------
8304 gi/pygi-invoke.h | 2 +-
8305 gi/pygi-marshal-cleanup.c | 4 +-
8306 9 files changed, 230 insertions(+), 165 deletions(-)
8308 commit ad680ae9c37a0091628a7d66010fbf70aa1a2e43
8309 Author: Simon Feltman <sfeltman@src.gnome.org>
8310 Date: Mon Mar 3 04:51:09 2014 -0800
8312 tests: Move class definition depending on GTK+ within function
8315 Move the definition of WindowWithSizeAllocOverride inside of the test
8316 function call to so it is lazily defined. This avoids problems
8318 on systems without GTK+ installed.
8320 tests/test_overrides_gtk.py | 32 ++++++++++++++++----------------
8321 1 file changed, 16 insertions(+), 16 deletions(-)
8323 commit 45d45e7c2704d68a3008f739e501fa332d326b8b
8324 Author: Simon Feltman <sfeltman@src.gnome.org>
8325 Date: Mon Mar 3 04:45:59 2014 -0800
8327 tests: Conditionalize usage of GTK+ in tests_generictreemodel
8329 This allows running make check without GTK+ installed.
8331 tests/test_generictreemodel.py | 16 +++++++++++++---
8332 1 file changed, 13 insertions(+), 3 deletions(-)
8334 commit 038563ed620e0d966e385a1779455d9b0e148c41
8335 Author: Simon Feltman <sfeltman@src.gnome.org>
8336 Date: Mon Mar 3 04:39:35 2014 -0800
8338 tests: Conditionalize usage of regress typelib in test_properties
8340 Unconditional usage of regress breaks tests when PyGObject is
8344 tests/test_properties.py | 27 +++++++++++++++++----------
8345 1 file changed, 17 insertions(+), 10 deletions(-)
8347 commit 1fa93ddc51b2d223d772aee7930fc96c0ced0e00
8348 Author: Simon Feltman <sfeltman@src.gnome.org>
8349 Date: Mon Mar 3 02:44:12 2014 -0800
8351 configure.ac: Use -std=c90 and error on declaration-after-statement
8353 Replace gcc option of -std=c9x with c90 and add
8354 -Werror=declaration-after-statement
8355 This ensures we keep compatibility with msvc builds.
8357 configure.ac | 3 ++-
8358 1 file changed, 2 insertions(+), 1 deletion(-)
8360 commit cee414ab5725c51d79a2c6aa1e8760e9fd754545
8361 Author: Simon Feltman <sfeltman@src.gnome.org>
8362 Date: Mon Mar 3 02:38:30 2014 -0800
8364 Use g_snprintf instead of snprintf
8366 Use g_snprintf for consistency with the rest of gobjectmodule.c
8368 gi/gobjectmodule.c | 2 +-
8369 1 file changed, 1 insertion(+), 1 deletion(-)
8371 commit b016ae6793839b2a6a00a69d00de30937bc611be
8372 Author: Simon Feltman <sfeltman@src.gnome.org>
8373 Date: Thu Feb 27 04:27:41 2014 -0800
8375 Use C style comments
8377 Update various locations which use C99 single line comments to
8379 C90 style comments. Found with: make CFLAGS="-std=C90"
8381 gi/gimodule.c | 2 +-
8382 gi/pygi-array.c | 3 ++-
8383 gi/pygi-property.c | 2 +-
8385 4 files changed, 5 insertions(+), 4 deletions(-)
8387 commit df7cba1495c167f1019dec7f4398dc5de62a5937
8388 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
8389 Date: Tue Feb 25 14:38:41 2014 +0800
8391 Fix Build on Visual Studio
8393 Some items from pygi-enum-marshal.c were moved to pygi-basictype.c,
8395 included the use of the NAN and INFINITY macros/constants, so the
8396 definitions for those need to be moved to pygi-basictype.c as well.
8398 avoid defining a variable in the middle of the block.
8400 https://bugzilla.gnome.org/show_bug.cgi?id=725122
8402 gi/pygi-basictype.c | 16 ++++++++++++++++
8403 gi/pygi-cache.c | 3 ++-
8404 gi/pygi-enum-marshal.c | 16 ----------------
8405 3 files changed, 18 insertions(+), 17 deletions(-)
8407 commit bb5550bc85ac0ff60ea39912416e347f27853fb4
8408 Author: Simon Feltman <sfeltman@src.gnome.org>
8409 Date: Mon Feb 17 17:22:40 2014 -0800
8411 Update release steps to be more explicit in regards to NEWS
8413 Add an explicit step to commit the NEWS changes and push prior
8416 HACKING | 11 ++++++-----
8417 1 file changed, 6 insertions(+), 5 deletions(-)
8419 commit c6ac95286bce858f1925a9d6173a91866d7e9f88
8420 Author: Simon Feltman <sfeltman@src.gnome.org>
8421 Date: Mon Feb 17 17:18:10 2014 -0800
8423 configure.ac: post release version bump to 3.11.91
8426 1 file changed, 1 insertion(+), 1 deletion(-)
8428 commit f87e341c5528d066371d4ec493956db28dd0bafa
8429 Author: Simon Feltman <sfeltman@src.gnome.org>
8430 Date: Mon Feb 17 17:08:13 2014 -0800
8435 1 file changed, 4 insertions(+)
8437 commit 9b345b153e86ca6c9b7290cf2ad3b38f6ad9d0e5
8438 Author: Simon Feltman <sfeltman@src.gnome.org>
8439 Date: Wed Feb 12 10:28:35 2014 -0800
8441 Use GObject type checking for instance arguments
8443 Add a g_type_is_a check to interface/object instance arguments
8445 to the Python IsInstance check. This loosens restrictions on
8447 don't use gi.overrides.override() and is needed to keep API
8449 which broke with commit:
8450 https://git.gnome.org/browse/pygobject/commit/?id=d5925b76
8452 https://bugzilla.gnome.org/show_bug.cgi?id=724009
8454 gi/pygi-object.c | 6 +++++-
8455 1 file changed, 5 insertions(+), 1 deletion(-)
8457 commit 419e13e1717b725d5c6815bae9672649b0afddd4
8458 Author: Simon Feltman <sfeltman@src.gnome.org>
8459 Date: Mon Feb 3 15:58:30 2014 -0800
8461 configure.ac: post release version bump to 3.11.90
8464 1 file changed, 1 insertion(+), 1 deletion(-)
8466 commit 57bceaac1d84ffd03f49d8e83a4c8507c9127a41
8467 Author: Simon Feltman <sfeltman@src.gnome.org>
8468 Date: Mon Feb 3 15:51:27 2014 -0800
8472 NEWS | 16 ++++++++++++++++
8473 1 file changed, 16 insertions(+)
8475 commit 058d944e3b9ef9157e912e6374b54a2eb5f7f5d1
8476 Author: Simon Feltman <sfeltman@src.gnome.org>
8477 Date: Mon Feb 3 06:45:09 2014 -0800
8479 Restore pygobject_version API needed for pygobject.h
8481 Add gi._gobject.pygobject_version which was removed with commit:
8482 https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
8483 This is needed for pygobject.h to function properly.
8485 gi/_gobject/__init__.py | 1 +
8486 1 file changed, 1 insertion(+)
8488 commit f3be4cedcb1d395a3fabee95d7460bce86268153
8489 Author: Simon Feltman <sfeltman@src.gnome.org>
8490 Date: Mon Feb 3 06:29:07 2014 -0800
8492 cache refactoring: Add comments to arg cache setup functions
8494 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8496 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++++++++++
8497 1 file changed, 36 insertions(+)
8499 commit 56ac6bd9ed99d6bb2cb8641581a594105036be68
8500 Author: Simon Feltman <sfeltman@src.gnome.org>
8501 Date: Mon Feb 3 06:24:18 2014 -0800
8503 cache refactoring: Use consistent prefix for arg cache functions
8505 Use "pygi_arg_cache" as the prefix for arg cache memory related
8508 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8510 gi/pygi-array.c | 6 ++--
8511 gi/pygi-basictype.c | 4 +--
8512 gi/pygi-cache.c | 74
8513 ++++++++++++++++++++++++------------------------
8514 gi/pygi-cache.h | 58 ++++++++++++++++++++-----------------
8515 gi/pygi-ccallback.c | 2 +-
8516 gi/pygi-closure.c | 6 ++--
8517 gi/pygi-enum-marshal.c | 4 +--
8518 gi/pygi-error.c | 4 +--
8519 gi/pygi-hashtable.c | 30 ++++++++++----------
8520 gi/pygi-info.c | 2 +-
8521 gi/pygi-invoke.c | 2 +-
8522 gi/pygi-list.c | 2 +-
8523 gi/pygi-object.c | 2 +-
8524 gi/pygi-struct-marshal.c | 2 +-
8525 14 files changed, 102 insertions(+), 96 deletions(-)
8527 commit 204f5a187782c5325ed6bed96c9a940f3aa67d04
8528 Author: Simon Feltman <sfeltman@src.gnome.org>
8529 Date: Sun Jan 12 12:26:30 2014 -0800
8531 marshal refactoring: Move GValue marshaling from pytype into
8534 Move marshaling of GValues to and from PyObjects into
8536 PyGTypeMarshal struct and related functions accessible via pygtype.h.
8538 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8540 gi/gobjectmodule.c | 2 +
8541 gi/pygi-struct-marshal.c | 1 +
8542 gi/pygi-value.c | 720
8543 +++++++++++++++++++++++++++++++++++++++++++++-
8544 gi/pygi-value.h | 12 +
8545 gi/pygobject-private.h | 16 --
8546 gi/pygobject.c | 2 +-
8548 +----------------------------------------------
8549 gi/pygtype.h | 17 ++
8550 8 files changed, 757 insertions(+), 741 deletions(-)
8552 commit b8120d848dc5d36832123b1a913015f6e1fd8cdc
8553 Author: Simon Feltman <sfeltman@src.gnome.org>
8554 Date: Sun Jan 12 11:41:20 2014 -0800
8556 marshal refactoring: Move GIArgument from GValue code to new file
8558 Add gi/pygi-value.h and .c files with initial contents of
8559 _pygi_argument_from_g_value. Eventually this file will contain
8561 related to GValue marshaling from various code locations in the
8564 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8566 gi/Makefile.am | 2 +
8567 gi/pygi-argument.c | 126 +----------------------------------------
8568 gi/pygi-argument.h | 3 -
8569 gi/pygi-signal-closure.c | 1 +
8570 gi/pygi-value.c | 144
8571 +++++++++++++++++++++++++++++++++++++++++++++++
8572 gi/pygi-value.h | 32 +++++++++++
8573 6 files changed, 180 insertions(+), 128 deletions(-)
8575 commit c2d5857e9b964427190e1230be32ae7919e86bc0
8576 Author: Simon Feltman <sfeltman@src.gnome.org>
8577 Date: Sat Oct 12 21:26:55 2013 -0700
8579 cache refactoring: Move enum and flags arg setup and marshaling to
8582 Move enum and flags argument cache setup and marshaling fragments into
8583 isolated file: pygi-enum-marshal.c. Remove pygi-marshal-from/to files.
8585 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8587 gi/Makefile.am | 6 +-
8588 gi/pygi-argument.c | 2 -
8589 gi/pygi-cache.c | 74 ++-------
8590 gi/pygi-enum-marshal.c | 408
8591 ++++++++++++++++++++++++++++++++++++++++++++++
8592 gi/pygi-enum-marshal.h | 42 +++++
8593 gi/pygi-marshal-from-py.c | 206 -----------------------
8594 gi/pygi-marshal-from-py.h | 57 -------
8595 gi/pygi-marshal-to-py.c | 152 -----------------
8596 gi/pygi-marshal-to-py.h | 34 ----
8597 9 files changed, 464 insertions(+), 517 deletions(-)
8599 commit 1d0f120d77582509b4e75d83f500a1ace7ed6421
8600 Author: Simon Feltman <sfeltman@src.gnome.org>
8601 Date: Sat Oct 12 20:00:12 2013 -0700
8603 cache refactoring: Move various struct arg setup and marshaling to
8606 Move struct (boxed, union, gvalue, gclosure, variant, and pointer)
8608 cache setup and marshaling fragments into isolated file:
8609 pygi-struct-marshal.c.
8610 Remove redundant and dead code related to boxed and union marshaling.
8612 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8614 gi/Makefile.am | 2 +
8615 gi/pygi-argument.c | 1 +
8616 gi/pygi-array.c | 3 +
8617 gi/pygi-cache.c | 72 +------
8618 gi/pygi-cache.h | 1 +
8619 gi/pygi-marshal-cleanup.c | 48 -----
8620 gi/pygi-marshal-cleanup.h | 16 --
8621 gi/pygi-marshal-from-py.c | 288 --------------------------
8622 gi/pygi-marshal-from-py.h | 33 ---
8623 gi/pygi-marshal-to-py.c | 120 -----------
8624 gi/pygi-marshal-to-py.h | 27 ---
8625 gi/pygi-object.c | 2 +-
8626 gi/pygi-struct-marshal.c | 516
8627 ++++++++++++++++++++++++++++++++++++++++++++++
8628 gi/pygi-struct-marshal.h | 73 +++++++
8629 14 files changed, 607 insertions(+), 595 deletions(-)
8631 commit 4dcaa2b988239e01224994098c3e7cbe8b455fe0
8632 Author: Simon Feltman <sfeltman@src.gnome.org>
8633 Date: Sat Oct 12 16:40:58 2013 -0700
8635 cache refactoring: Move GObject arg setup and marshaling into new file
8637 Move GObject argument cache setup and marshaling fragments into
8638 isolated file: pygi-object.c.
8639 Break GIInterfaceCache creation and setup into API for interface based
8640 argument cache usage.
8642 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8644 gi/Makefile.am | 2 +
8645 gi/pygi-argument.c | 7 +-
8646 gi/pygi-cache.c | 183 ++++++++++++++-----------------
8647 gi/pygi-cache.h | 7 ++
8648 gi/pygi-marshal-cleanup.c | 27 -----
8649 gi/pygi-marshal-cleanup.h | 10 --
8650 gi/pygi-marshal-from-py.c | 123 ---------------------
8651 gi/pygi-marshal-from-py.h | 12 --
8652 gi/pygi-marshal-to-py.c | 31 ------
8653 gi/pygi-marshal-to-py.h | 8 --
8654 gi/pygi-object.c | 273
8655 ++++++++++++++++++++++++++++++++++++++++++++++
8656 gi/pygi-object.h | 46 ++++++++
8657 12 files changed, 416 insertions(+), 313 deletions(-)
8659 commit 2cddba811592fbb990322fbf2dce516ffd7e94cd
8660 Author: Simon Feltman <sfeltman@src.gnome.org>
8661 Date: Sat Oct 12 12:39:20 2013 -0700
8663 cache refactoring: Move closure setup and marshaling into pygi-closure
8665 Move closure argument caching and marshaling fragments into
8668 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8670 gi/pygi-cache.c | 111 ++--------------
8671 gi/pygi-cache.h | 9 --
8672 gi/pygi-closure.c | 314
8673 +++++++++++++++++++++++++++++++++++++++++++++-
8674 gi/pygi-closure.h | 13 +-
8675 gi/pygi-marshal-cleanup.c | 14 ---
8676 gi/pygi-marshal-cleanup.h | 5 -
8677 gi/pygi-marshal-from-py.c | 160 -----------------------
8678 gi/pygi-marshal-from-py.h | 6 -
8679 gi/pygi-marshal-to-py.c | 13 --
8680 gi/pygi-marshal-to-py.h | 4 -
8681 10 files changed, 333 insertions(+), 316 deletions(-)
8683 commit 18d8274724484a27e05d2e60baac1f20c72b6d2b
8684 Author: Simon Feltman <sfeltman@src.gnome.org>
8685 Date: Sat Oct 12 11:30:36 2013 -0700
8687 cache refactoring: Move GError arg setup and marshaling to new file
8689 Move GError argument caching and marshaling fragments into
8690 isolated file: pygi-error.c.
8692 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8694 gi/Makefile.am | 2 +
8695 gi/pygi-cache.c | 93 ++++++++++++---------------------------
8696 gi/pygi-error.c | 109
8697 ++++++++++++++++++++++++++++++++++++++++++++++
8698 gi/pygi-error.h | 35 +++++++++++++++
8699 gi/pygi-marshal-from-py.c | 13 ------
8700 gi/pygi-marshal-from-py.h | 6 ---
8701 gi/pygi-marshal-to-py.c | 22 ----------
8702 gi/pygi-marshal-to-py.h | 4 --
8703 8 files changed, 174 insertions(+), 110 deletions(-)
8705 commit c45cafd07fc62ad545f3e58f2b7350ee4b2bb9b7
8706 Author: Simon Feltman <sfeltman@src.gnome.org>
8707 Date: Sat Oct 12 03:07:53 2013 -0700
8709 cache refactoring: Move GArray arg setup and marshaling into new file
8711 Move GArray argument caching and marshaling fragments into an
8712 isolated file: pygi-array.c.
8714 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8716 gi/Makefile.am | 2 +
8717 gi/pygi-array.c | 906
8718 ++++++++++++++++++++++++++++++++++++++++++++++
8719 gi/pygi-array.h | 42 +++
8720 gi/pygi-cache.c | 236 +-----------
8721 gi/pygi-marshal-cleanup.c | 150 --------
8722 gi/pygi-marshal-cleanup.h | 10 -
8723 gi/pygi-marshal-from-py.c | 354 ------------------
8724 gi/pygi-marshal-from-py.h | 6 -
8725 gi/pygi-marshal-to-py.c | 210 -----------
8726 gi/pygi-marshal-to-py.h | 4 -
8727 10 files changed, 963 insertions(+), 957 deletions(-)
8729 commit 4697a3793b46a803c6dbef749ba75c0fee80020d
8730 Author: Simon Feltman <sfeltman@src.gnome.org>
8731 Date: Fri Oct 11 23:26:08 2013 -0700
8733 cache refactoring: Move GList/GSList arg setup and marshaling into
8736 Move GList and GSList argument caching and marshaling fragments
8738 isolated file: pygi-list.c.
8740 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8742 gi/Makefile.am | 2 +
8743 gi/pygi-cache.c | 71 ++-----
8744 gi/pygi-list.c | 466
8745 ++++++++++++++++++++++++++++++++++++++++++++++
8746 gi/pygi-list.h | 38 ++++
8747 gi/pygi-marshal-cleanup.c | 80 --------
8748 gi/pygi-marshal-cleanup.h | 10 -
8749 gi/pygi-marshal-from-py.c | 156 ----------------
8750 gi/pygi-marshal-from-py.h | 12 --
8751 gi/pygi-marshal-to-py.c | 98 ----------
8752 gi/pygi-marshal-to-py.h | 8 -
8753 10 files changed, 517 insertions(+), 424 deletions(-)
8755 commit c48ddacf4479d2cf80beb9c614cdce2a61599b3b
8756 Author: Simon Feltman <sfeltman@src.gnome.org>
8757 Date: Fri Oct 11 21:30:45 2013 -0700
8759 cache refactoring: Break sequence cache up for array vs list
8761 Add new arg cache type specialized for arrays. This cleans up
8763 sequence cache type which does not need length and size related
8765 fixed length checks from GList and GSList from_py marshaling
8769 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8771 gi/pygi-cache.c | 160
8772 +++++++++++++++++++++++++++++++++++-----------
8773 gi/pygi-cache.h | 16 ++++-
8774 gi/pygi-invoke.c | 4 +-
8775 gi/pygi-marshal-cleanup.c | 28 ++++----
8776 gi/pygi-marshal-from-py.c | 37 ++++-------
8777 gi/pygi-marshal-to-py.c | 23 +++----
8778 6 files changed, 177 insertions(+), 91 deletions(-)
8780 commit c1a2a86a7b51f4dc5a5da9f8808552c38acadf9d
8781 Author: Simon Feltman <sfeltman@src.gnome.org>
8782 Date: Fri Oct 11 20:12:01 2013 -0700
8784 cache refactoring: Move basic type arg setup and marshaling into
8787 Move all basic type arg caching and marshaling fragments into
8789 file where most functions are made static. pygi-basictype.h exposes:
8790 pygi_arg_basic_type_new_from_info, _pygi_marshal_from_py_basic_type,
8792 _pygi_marshal_to_py_basic_type which allows continued use for all
8796 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8798 gi/Makefile.am | 2 +
8799 gi/pygi-argument.c | 1 +
8800 gi/pygi-basictype.c | 824
8801 ++++++++++++++++++++++++++++++++++++++++++++++
8802 gi/pygi-basictype.h | 42 +++
8803 gi/pygi-cache.c | 82 +----
8804 gi/pygi-cache.h | 1 +
8805 gi/pygi-marshal-cleanup.c | 26 --
8806 gi/pygi-marshal-cleanup.h | 10 -
8807 gi/pygi-marshal-from-py.c | 478 ---------------------------
8808 gi/pygi-marshal-from-py.h | 18 -
8809 gi/pygi-marshal-to-py.c | 155 ---------
8810 gi/pygi-marshal-to-py.h | 11 -
8811 12 files changed, 880 insertions(+), 770 deletions(-)
8813 commit 4a6bf3be49cc5aec7287c41ec02c78d60df1d44c
8814 Author: Simon Feltman <sfeltman@src.gnome.org>
8815 Date: Fri Oct 11 17:39:31 2013 -0700
8817 cache refactoring: Move PyGIHashCache and related marshaling into
8820 Re-organize hash table arg cache and its marshaling by moving all
8821 related code fragments into an isolated file where most of it is made
8822 static. pygi-hashtable.h exposes a single function:
8823 pygi_arg_hash_table_new_from_info. This is all the caching system
8825 produce the proper bits for handling hash table marshaling.
8827 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8829 gi/Makefile.am | 4 +-
8830 gi/pygi-cache.c | 103 +-----------
8831 gi/pygi-cache.h | 21 ++-
8832 gi/pygi-hashtable.c | 413
8833 ++++++++++++++++++++++++++++++++++++++++++++++
8834 gi/pygi-hashtable.h | 35 ++++
8835 gi/pygi-marshal-cleanup.c | 63 -------
8836 gi/pygi-marshal-cleanup.h | 10 --
8837 gi/pygi-marshal-from-py.c | 125 --------------
8838 gi/pygi-marshal-from-py.h | 6 -
8839 gi/pygi-marshal-to-py.c | 85 ----------
8840 gi/pygi-marshal-to-py.h | 4 -
8841 11 files changed, 471 insertions(+), 398 deletions(-)
8843 commit 983d0c2252f91e63d5fa0222ef2b67722cb97434
8844 Author: Simon Feltman <sfeltman@src.gnome.org>
8845 Date: Fri Oct 11 15:49:32 2013 -0700
8847 cache refactoring: Separate ArgCache creation and setup
8849 Move PyGIArgCache and PyGIInterfaceCache generic setup into standalone
8850 functions: pygi_arg_base_setup and pygi_arg_interface_setup
8852 Shift argument order and move arguments which will eventually
8854 from the signature into the tail with comment. Isolate special
8856 GI_INFO_TYPE_CALLBACK ArgCache creation to a single location in
8857 _arg_cache_new_for_interface.
8859 https://bugzilla.gnome.org/show_bug.cgi?id=709700
8861 gi/pygi-cache.c | 263
8862 ++++++++++++++++++++++++++++++++------------------------
8863 gi/pygi-cache.h | 15 ++++
8864 2 files changed, 167 insertions(+), 111 deletions(-)
8866 commit 0af98aca40fe266d1fd93caaa7256bb92ba1d3e4
8867 Author: Simon Feltman <sfeltman@src.gnome.org>
8868 Date: Sun Feb 2 15:52:24 2014 -0800
8870 tests: Add skip and expectedFailure to test_gi.test_callback_owned_box
8872 https://bugzilla.gnome.org/show_bug.cgi?id=722899
8874 tests/test_gi.py | 3 +++
8875 1 file changed, 3 insertions(+)
8877 commit e79d2acc54c1e3b052835de5de20feb0b7069476
8878 Author: Mike Gorse <mgorse@suse.com>
8879 Date: Fri Jan 24 05:17:06 2014 -0600
8881 tests: Add test for an owned boxed struct passed in a callback
8883 https://bugzilla.gnome.org/show_bug.cgi?id=722899
8885 tests/test_gi.py | 11 +++++++++++
8886 1 file changed, 11 insertions(+)
8888 commit b12ceed8cc5fa398cea2061813aac6a5ba100b6f
8889 Author: Simon Feltman <sfeltman@src.gnome.org>
8890 Date: Thu Jan 23 17:19:12 2014 -0800
8892 Rename gi.types.GIObjectMeta to gi.types.GObjectMeta
8894 Rename GIObjectMeta to GObjectMeta reverting it to its original
8896 to commit https://git.gnome.org/browse/pygobject/commit/?id=2624bd2b
8897 That change could have been considered an API break for anyone
8899 gi.types.GObjectMeta since it is essentially public API. Rename
8901 class to _GObjectMetaBase which was previously gi._gobject before
8902 commit 2624bd2b (private API).
8904 gi/module.py | 8 ++++----
8905 gi/types.py | 10 +++++-----
8906 2 files changed, 9 insertions(+), 9 deletions(-)
8908 commit 15fdd827ce4bff847fb35c817c6ea2d3650eec00
8909 Author: Patrick Welche <prlw1@cam.ac.uk>
8910 Date: Thu Jan 23 23:49:51 2014 +0000
8912 build: Add --without-common configure option for package maintainers
8914 https://bugzilla.gnome.org/show_bug.cgi?id=721646
8917 configure.ac | 7 +++++++
8918 gi/Makefile.am | 2 ++
8919 3 files changed, 11 insertions(+)
8921 commit df21dbbc84fa319af2a0f0664de436ca30df616e
8922 Author: Simon Feltman <sfeltman@src.gnome.org>
8923 Date: Thu Jan 16 16:33:41 2014 -0800
8925 tests: Add skipped test for GLib.Source inheritance problems
8927 Add test showing memory problems with sub-classes of GLib.Source.
8929 https://bugzilla.gnome.org/show_bug.cgi?id=722387
8931 tests/test_source.py | 45 +++++++++++++++++++++++++++++++++++++++++++++
8932 1 file changed, 45 insertions(+)
8934 commit 7222a37a4b4955fe6c1dcc86e0eb798d653711e8
8935 Author: Simon Feltman <sfeltman@src.gnome.org>
8936 Date: Wed Jan 15 12:51:57 2014 -0800
8938 Fix reference sharing of gi sub-modules in Python 2
8940 Ensure we add a new reference to sub-modules added to gi._gi. This may
8941 have caused GC errors upon exiting the Python process since a
8943 shared by sys.modules and gi._gi.
8945 https://bugzilla.gnome.org/show_bug.cgi?id=722274
8947 gi/gimodule.c | 11 +++++++++++
8948 1 file changed, 11 insertions(+)
8950 commit 8c838b683220bcbf2091bba97b91ddb56b275aed
8951 Author: Simon Feltman <sfeltman@src.gnome.org>
8952 Date: Tue Jan 14 23:46:44 2014 -0800
8954 demo: Add TreeModel interface implementation demonstration
8956 Add demo which shows how to implement the Gtk.TreeModel interfaces
8960 demos/gtk-demo/demos/TreeView/treemodel_large.py | 143
8961 +++++++++++++++++++++++
8962 1 file changed, 143 insertions(+)
8964 commit 911898bac5d0ad5a42ed9990588bd98871f4a8a4
8965 Author: Simon Feltman <sfeltman@src.gnome.org>
8966 Date: Tue Jan 14 23:33:16 2014 -0800
8968 demo: Remove "Icon View" and "Tree View" directories
8970 demos/gtk-demo/demos/Icon View/__init__.py | 0
8971 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 220 ----------------
8972 demos/gtk-demo/demos/Icon View/iconviewedit.py | 98 --------
8973 demos/gtk-demo/demos/Tree View/__init__.py | 0
8974 demos/gtk-demo/demos/Tree View/liststore.py | 210 ----------------
8975 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234
8977 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279
8978 ---------------------
8979 7 files changed, 1041 deletions(-)
8981 commit f89fa08ba756a1c529ff48beb39025f834a249bf
8982 Author: Simon Feltman <sfeltman@src.gnome.org>
8983 Date: Tue Jan 14 23:08:33 2014 -0800
8985 demo: Remove spaces from demo sub-directories
8987 Move "Icon View" to IconView and "Tree View" to TreeView. This
8989 ability to package the demos in tarball releases in future versions.
8991 demos/gtk-demo/demos/IconView/__init__.py | 0
8992 demos/gtk-demo/demos/IconView/iconviewbasics.py | 220 ++++++++++++++++
8993 demos/gtk-demo/demos/IconView/iconviewedit.py | 98 ++++++++
8994 demos/gtk-demo/demos/TreeView/__init__.py | 0
8995 demos/gtk-demo/demos/TreeView/liststore.py | 210 ++++++++++++++++
8996 .../gtk-demo/demos/TreeView/treemodel_filelist.py | 234
8998 .../gtk-demo/demos/TreeView/treemodel_filetree.py | 279
8999 +++++++++++++++++++++
9000 7 files changed, 1041 insertions(+)
9002 commit 0b7d85f3379adfb3cf1122588e333707ee089e46
9003 Author: Simon Feltman <sfeltman@src.gnome.org>
9004 Date: Tue Jan 14 14:28:52 2014 -0800
9006 build: Remove _glib directory include from testhelper CFLAGS
9008 tests/Makefile.am | 2 +-
9009 1 file changed, 1 insertion(+), 1 deletion(-)
9011 commit 35b5a85aad91f48935dd49fee60d69e6184eff2c
9012 Author: Colin Walters <walters@verbum.org>
9013 Date: Tue Jan 14 16:33:38 2014 -0500
9015 build: Set PLATFORM_VERSION again to 3.0
9017 We are installing headers to:
9018 /usr/include/pygobject-$(PLATFORM_VERSION)/pygobject.h
9020 If the variable isn't set, then things attempting to use pygobject
9023 This was a regression from a build system refactoring.
9025 gi/Makefile.am | 2 ++
9026 1 file changed, 2 insertions(+)
9028 commit f2a79904ff4d60bff657bfbfd6a2ce8ab9307848
9029 Author: Simon Feltman <sfeltman@src.gnome.org>
9030 Date: Tue Jan 14 12:54:42 2014 -0800
9032 Fix Python 2 build warning for module definitions
9034 Define PYGLIB_MODULE_ERROR_RETURN as NULL for both Python 2 and
9036 needed now that the function signature created with
9037 PYGLIB_MODULE_START is
9038 consistent between the two versions.
9040 gi/pyglib-python-compat.h | 5 ++---
9041 1 file changed, 2 insertions(+), 3 deletions(-)
9043 commit 61b4af05646a8f014cfb00a5507fec2deb9aafa6
9044 Author: Simon Feltman <sfeltman@src.gnome.org>
9045 Date: Tue Jan 14 12:26:16 2014 -0800
9047 tests: Run PyFlakes and PEP8 only on SUBDIRS
9049 Move PyFlakes and PEP8 checks into check-local of the root
9051 run these tools on selective subdirs of top_srcdir. This fixes
9053 where vpath build directories within the srcdir would contain links
9055 source files, causing these tools to run multiple times slowing
9059 Makefile.am | 21 ++++++++++++++++++++-
9060 tests/Makefile.am | 6 ------
9061 2 files changed, 20 insertions(+), 7 deletions(-)
9063 commit 9a7f6f08c1dc0eb0dd91437da8ac429fbafc8a4a
9064 Author: Simon Feltman <sfeltman@src.gnome.org>
9065 Date: Tue Jan 14 12:25:09 2014 -0800
9067 Remove _glib include path from gi module target
9069 gi/Makefile.am | 7 ++-----
9070 1 file changed, 2 insertions(+), 5 deletions(-)
9072 commit 8afd7e880a72a44e6ea46c763bab82146fd75c96
9073 Author: Simon Feltman <sfeltman@src.gnome.org>
9074 Date: Wed Jan 8 19:22:08 2014 -0800
9076 Move Python glib options module into gi package
9078 Move gi/_glib/option.py into gi/_option.py. Remove gi/_glib since
9082 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9086 gi/Makefile.am | 1 -
9087 gi/_glib/Makefile.am | 21 ---------------------
9088 gi/_glib/__init__.py | 20 --------------------
9089 gi/{_glib/option.py => _option.py} | 2 +-
9090 gi/overrides/GLib.py | 2 +-
9091 gi/overrides/GObject.py | 2 +-
9092 8 files changed, 5 insertions(+), 47 deletions(-)
9094 commit ad565e5bbc9d12607c39be9479bc671a8f2de6e3
9095 Author: Simon Feltman <sfeltman@src.gnome.org>
9096 Date: Wed Jan 8 18:57:58 2014 -0800
9098 Merge static PyGLib module into PyGI
9100 Remove gi._glib._glib as a separately compiled module. Move all C
9102 pygobject/gi. Remove compilation and use of libpyglib-gi-2.0-python.so
9104 shared dependency since we do not distribute header files for it.
9105 Remove unused threading macros.
9107 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9109 gi/Makefile.am | 16 +++++--
9110 gi/_glib/Makefile.am | 74
9111 +-------------------------------
9112 gi/_glib/__init__.py | 5 ---
9113 gi/_glib/option.py | 2 +-
9114 gi/gimodule.c | 9 ++++
9115 gi/{_glib => }/glibmodule.c | 34 ++-------------
9116 gi/gobjectmodule.c | 5 +--
9117 gi/overrides/GLib.py | 2 +-
9118 gi/{_glib => }/pyglib-private.h | 14 ++----
9119 gi/{_glib => }/pyglib-python-compat.h | 0
9120 gi/{_glib => }/pyglib.c | 81
9121 ++---------------------------------
9122 gi/{_glib => }/pyglib.h | 10 -----
9123 gi/{_glib => }/pygoptioncontext.c | 0
9124 gi/{_glib => }/pygoptioncontext.h | 0
9125 gi/{_glib => }/pygoptiongroup.c | 0
9126 gi/{_glib => }/pygoptiongroup.h | 0
9127 gi/{_glib => }/pygspawn.c | 0
9128 gi/{_glib => }/pygspawn.h | 0
9129 18 files changed, 40 insertions(+), 212 deletions(-)
9131 commit 2624bd2b4a465a2d234951dd5b855fe8a0d46e1c
9132 Author: Simon Feltman <sfeltman@src.gnome.org>
9133 Date: Thu Oct 31 03:13:53 2013 -0700
9135 Move gobject sub-module Python files into the main gi package
9137 This moves the signalhelper, propertyhelper, and constants Python
9139 from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because
9141 still needed to maintain the "_PyGObject_API" exposed by
9143 allows external modules compiled with prior versions of PyGObject to
9144 continue working with newer versions.
9146 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9149 gi/__init__.py | 19 +++++-----
9150 gi/{_gobject/constants.py => _constants.py} | 5 ++-
9151 gi/_gobject/Makefile.am | 5 +--
9152 gi/_gobject/__init__.py | 42
9153 ++--------------------
9154 .../propertyhelper.py => _propertyhelper.py} | 4 +--
9155 gi/{_gobject/signalhelper.py => _signalhelper.py} | 5 ++-
9156 gi/module.py | 16 ++++-----
9157 gi/overrides/GObject.py | 7 ++--
9158 gi/overrides/__init__.py | 2 +-
9160 ++++++++++++++++-----
9161 pygtkcompat/pygtkcompat.py | 4 +--
9162 tests/test_gi.py | 2 +-
9163 tests/test_gobject.py | 4 ++-
9164 tests/test_properties.py | 2 +-
9165 tests/test_signal.py | 2 +-
9166 16 files changed, 78 insertions(+), 87 deletions(-)
9168 commit d3e8946dbb23197a2e9d7de351a7b9cd04d360b9
9169 Author: Simon Feltman <sfeltman@src.gnome.org>
9170 Date: Thu Oct 31 02:22:03 2013 -0700
9172 Merge gobject static code into the gi module
9174 Remove gi._gobject._gobject as a separately compiled static module and
9175 move all the files into gi._gi.
9176 Remove dead module initialization macros from "pyglib-python-compat.h"
9178 https://bugzilla.gnome.org/show_bug.cgi?id=712197
9180 gi/Makefile.am | 31 ++++++++++++++--
9181 gi/_glib/pyglib-python-compat.h | 62
9182 +++++++++----------------------
9183 gi/_gobject/Makefile.am | 69
9184 +----------------------------------
9185 gi/_gobject/__init__.py | 4 +-
9186 gi/_gobject/constants.py | 3 +-
9187 gi/_gobject/propertyhelper.py | 16 +++++---
9188 gi/_gobject/signalhelper.py | 3 +-
9189 gi/gimodule.c | 13 ++++---
9190 gi/{_gobject => }/gobjectmodule.c | 0
9192 gi/{_gobject => }/pygboxed.c | 0
9193 gi/{_gobject => }/pygboxed.h | 0
9194 gi/{_gobject => }/pygenum.c | 0
9195 gi/{_gobject => }/pygenum.h | 0
9196 gi/{_gobject => }/pygflags.c | 0
9197 gi/{_gobject => }/pygflags.h | 0
9198 gi/pygi-argument.c | 3 +-
9199 gi/pygi-boxed.c | 2 +-
9200 gi/pygi-ccallback.c | 2 +-
9201 gi/pygi-foreign.c | 2 +-
9202 gi/pygi-info.c | 2 +-
9203 gi/pygi-marshal-to-py.c | 3 +-
9204 gi/pygi-private.h | 2 +-
9205 gi/pygi-source.c | 3 +-
9206 gi/pygi-struct.c | 2 +-
9208 gi/{_gobject => }/pyginterface.c | 0
9209 gi/{_gobject => }/pyginterface.h | 0
9210 gi/{_gobject => }/pygobject-private.h | 5 ++-
9211 gi/{_gobject => }/pygobject.c | 0
9212 gi/{_gobject => }/pygobject.h | 0
9213 gi/{_gobject => }/pygparamspec.c | 0
9214 gi/{_gobject => }/pygparamspec.h | 2 +
9215 gi/{_gobject => }/pygpointer.c | 0
9216 gi/{_gobject => }/pygpointer.h | 0
9217 gi/{_gobject => }/pygtype.c | 0
9218 gi/{_gobject => }/pygtype.h | 0
9220 tests/Makefile.am | 2 +-
9221 39 files changed, 93 insertions(+), 148 deletions(-)
9223 commit a329f559002f2be0898309c9d81cdf2c34aef158
9224 Author: Simon Feltman <sfeltman@src.gnome.org>
9225 Date: Tue Jan 14 10:15:53 2014 -0800
9227 tests: Fix test_torture_profile to return a number from its callback
9229 Return a number from rather than None from the callback passed to
9230 regress_test_torture_signature_2. This fixes a TypeError being
9232 callback return argument marshaling which was ignored by the test
9235 tests/test_everything.py | 2 +-
9236 1 file changed, 1 insertion(+), 1 deletion(-)
9238 commit a50a8386aae54dace7e46569415fdef85758fb9c
9239 Author: Martin Pitt <martinpitt@gnome.org>
9240 Date: Tue Jan 14 08:53:25 2014 +0100
9242 Add test for callback user data arguments with following arguments
9244 In this case we can't use the varargs userdata handling. Provides
9246 https://bugzilla.gnome.org/show_bug.cgi?id=722104.
9248 tests/test_everything.py | 48
9249 ++++++++++++++++++++++++++++++++++++++++++++++++
9250 1 file changed, 48 insertions(+)
9252 commit 3563a2d21a9e08a802d1cf30e04ba340e0bcfb49
9253 Author: Simon Feltman <sfeltman@src.gnome.org>
9254 Date: Mon Jan 13 08:19:02 2014 -0800
9256 valgrind: Add suppression files for python3.3 and python3.3dm
9258 Add new suppression files for Python 3. Use PYTHON_BASENAME for the
9259 suppression filename in the various make check.valgrind
9261 python.supp to python2.7.supp
9263 tests/Makefile.am | 6 +-
9264 tests/{python.supp => python2.7.supp} | 0
9265 tests/python3.3.supp | 471
9266 ++++++++++++++++++++++++++++++++++
9267 tests/python3.3dm.supp | 471
9268 ++++++++++++++++++++++++++++++++++
9269 4 files changed, 945 insertions(+), 3 deletions(-)
9271 commit 5c6f8afed5f6aa05d65d64509a2c9b8041a66b05
9272 Author: Simon Feltman <sfeltman@src.gnome.org>
9273 Date: Mon Jan 13 18:53:55 2014 -0800
9275 Makefile.am: Fix NEWS and ChangeLog generation under vpath builds
9277 Make sure NEWS generation uses top_srcdir to allow "make release-news"
9279 work under a vpath build (directory outside the source tree).
9280 Update ChangeLog target to use $(top_srcdir)/missing. This fixes
9282 where running "make dist" under a vpath build directory would
9286 Makefile.am | 6 +++---
9287 1 file changed, 3 insertions(+), 3 deletions(-)
9289 commit 056325cba3c86aefcf45ba10f2b7cf86e9fc1800
9290 Author: Simon Feltman <sfeltman@src.gnome.org>
9291 Date: Mon Jan 13 18:53:02 2014 -0800
9293 Update HACKING to include better release tagging instructions
9295 HACKING | 15 ++++++++-------
9296 1 file changed, 8 insertions(+), 7 deletions(-)
9298 commit c0a43d259c003c5d06db23debd0675b87e805b74
9299 Author: Simon Feltman <sfeltman@src.gnome.org>
9300 Date: Mon Jan 13 17:20:17 2014 -0800
9302 configure.ac: post release version bump to 3.11.5
9304 NEWS | 16 ++++++++++++++++
9306 2 files changed, 17 insertions(+), 1 deletion(-)
9308 commit 44d003798d9d14dde16fb44c69b94a411bdee26b
9309 Author: Simon Feltman <sfeltman@src.gnome.org>
9310 Date: Mon Jan 13 16:51:41 2014 -0800
9312 Fix mid-argument list callback user data expecting a tuple
9314 Ensure user data arguments are always packed into a tuple during
9316 marshaling. This fixes cases where there is mid-argument user data
9318 not in the form of a variable length tuple.
9320 https://bugzilla.gnome.org/show_bug.cgi?id=722104
9322 gi/pygi-marshal-from-py.c | 16 +++++++++++++++-
9323 1 file changed, 15 insertions(+), 1 deletion(-)
9325 commit 415b240e3baab522f3bf9752995610f950ba609e
9326 Author: Simon Feltman <sfeltman@src.gnome.org>
9327 Date: Tue Oct 15 03:57:52 2013 -0700
9329 Remove special case GObject base class check when creating GI classes
9331 Replace explicit GObject.Object string name check when calculating the
9332 introspection class hierarchy with a more generalized technique. This
9334 any C based wrapper of a GType to "underride" an introspection class
9335 automatically. This currently only handles the case of GObject.Object,
9337 will be used for fundamentals and GParamSpec.
9339 https://bugzilla.gnome.org/show_bug.cgi?id=631901
9341 gi/module.py | 17 +++++++++++------
9342 1 file changed, 11 insertions(+), 6 deletions(-)
9344 commit 9b02b29016958791dfa9d7ebfc6c2ec44ab5690d
9345 Author: Simon Feltman <sfeltman@src.gnome.org>
9346 Date: Tue Jan 7 09:16:54 2014 -0800
9348 overrides: Fix __repr__ for various Gdk structs
9350 Change __repr__ overrides for Gdk.Color, Gdk.RGBA, and Gdk.Atom to
9352 string reprentation that is valid Python given an expected
9354 See: http://docs.python.org/2/reference/datamodel.html#object.__repr__
9356 gi/overrides/Gdk.py | 10 +++++-----
9357 tests/test_atoms.py | 7 +++++--
9358 tests/test_overrides_gdk.py | 9 +++++++++
9359 3 files changed, 19 insertions(+), 7 deletions(-)
9361 commit f6a87935596a3b59c238a5572b288f34691b53d1
9362 Author: Simon Feltman <sfeltman@src.gnome.org>
9363 Date: Tue Jan 7 07:31:22 2014 -0800
9365 docs: Fix array length argument skipping with preceding out arguments
9367 Remove split_function_info_args and use a list of all arguments for
9368 generating skipped index lists. Determine argument skipping based
9370 full argument list in each in/inout and out/inout argument list
9372 This fixes a problem where out arguments preceding array length
9374 would still show array length arguments in the docstring. This was
9376 index mismatch when using split lists instead of list of all
9379 gi/docstring.py | 38 ++++++++++++--------------------------
9380 tests/test_docstring.py | 37 +++++++++++++++----------------------
9381 2 files changed, 27 insertions(+), 48 deletions(-)
9383 commit f114edc0a0afa64077a13459034afc4255b7a3f1
9384 Author: Simon Feltman <sfeltman@src.gnome.org>
9385 Date: Mon Jan 6 22:10:47 2014 -0800
9387 overrides: Remove GLib.Source.attach
9389 Remove GLib.Source.attach override now that tail end allow-none
9391 default to None when not specified.
9393 gi/overrides/GLib.py | 5 -----
9394 tests/test_glib.py | 7 +++++++
9395 2 files changed, 7 insertions(+), 5 deletions(-)
9397 commit 50ab6a8b70cbe7b67fc8d804b7773bb2c9b47251
9398 Author: Simon Feltman <sfeltman@src.gnome.org>
9399 Date: Mon Jan 6 21:42:09 2014 -0800
9401 overrides: Remove Gtk overrides with tail end allow-none keywords
9403 Remove overrides for Widget.render_icon, TextIter.begins_tag,
9405 toggles_tag, and TreeModel.filter_new. These overrides added an
9406 optional keyword=None for allow-none arguments. This is now implicitly
9407 accepted by the PyGObject machinery so the overrides can go away.
9409 gi/overrides/Gtk.py | 16 ----------------
9410 tests/test_overrides_gtk.py | 11 +++++++++++
9411 2 files changed, 11 insertions(+), 16 deletions(-)
9413 commit 2d388fcfca4bf1258d01b4491b4168589f3dd2b0
9414 Author: Simon Feltman <sfeltman@src.gnome.org>
9415 Date: Mon Jan 6 21:22:41 2014 -0800
9417 overrides: Remove Pango.Context.get_metrics
9419 Remove the override for Pango.Context and the get_metrics method. This
9421 be done now that tail end method arguments with "allow-none"
9423 defaulted to use None/NULL.
9425 gi/overrides/Pango.py | 9 ---------
9426 tests/test_overrides_pango.py | 12 ++++++++++++
9427 2 files changed, 12 insertions(+), 9 deletions(-)
9429 commit 43b35b1df3b6c0d8679f3cc0b08ef6ddcb276331
9430 Author: Simon Feltman <sfeltman@src.gnome.org>
9431 Date: Mon Jan 6 17:35:04 2014 -0800
9433 Add enum and flags member methods
9435 Add all methods from GIEnumInfo to both enums and flags classes.
9437 https://bugzilla.gnome.org/show_bug.cgi?id=693099
9440 tests/test_gi.py | 9 +++++++++
9441 2 files changed, 11 insertions(+)
9443 commit 731a2cb4372084eac6cfe5bf190f6efa730e97e4
9444 Author: Patrick Welche <prlw1@cam.ac.uk>
9445 Date: Mon Jan 6 22:31:48 2014 +0000
9447 python.m4: g/c JD_PYTHON_CHECK_VERSION
9449 We currently require automake 1.11.1, and its AM_PYTHON_CHECK_VERSION
9450 is identical (made here).
9452 https://bugzilla.gnome.org/show_bug.cgi?id=721662
9454 configure.ac | 4 ++--
9455 m4/python.m4 | 23 ++---------------------
9456 2 files changed, 4 insertions(+), 23 deletions(-)
9458 commit aaaead18e2167c2becb309f1d9ae199222c0256b
9459 Author: Simon Feltman <sfeltman@src.gnome.org>
9460 Date: Sat Jan 4 16:31:56 2014 -0800
9462 Support union creation with PyGIStruct
9464 Add additional case for allowing the creation bare unions wrapped with
9465 PyGIStruct. This is needed because PyGIStruct wraps both GIStruct and
9468 gi/pygi-struct.c | 39 ++++++++++++++++++++++++++++++++++-----
9469 tests/test_repository.py | 13 +++++++++++++
9470 2 files changed, 47 insertions(+), 5 deletions(-)
9472 commit 64f15961b637a7e1388bd8d2cd08f04fa20e4de4
9473 Author: Simon Feltman <sfeltman@src.gnome.org>
9474 Date: Sat Jan 4 16:07:44 2014 -0800
9476 Fix crash in error handling when creating struct with mismatched
9479 Error handling code was attempting to get the PyType of a pointer to a
9480 pointer. Use the correct amount of indirection so an exception is
9482 intended rather than a segfault.
9484 gi/pygi-info.c | 2 +-
9485 1 file changed, 1 insertion(+), 1 deletion(-)
9487 commit 07abf8343bbeac6f36d370ced654fa6506b22175
9488 Author: Simon Feltman <sfeltman@src.gnome.org>
9489 Date: Wed Jan 1 20:23:17 2014 -0800
9491 docs: Skip display of default constructor for disguised structs
9493 Structs which have zero length should now show a default constructor.
9494 Structs with a length should not show keyword arguments in the default
9497 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9499 gi/docstring.py | 9 ++++++++-
9500 tests/test_docstring.py | 18 ++++++++++++++++--
9501 2 files changed, 24 insertions(+), 3 deletions(-)
9503 commit e8359847136e9ad76a670a382c0abc61cb4e81d3
9504 Author: Simon Feltman <sfeltman@src.gnome.org>
9505 Date: Wed Jan 1 19:57:06 2014 -0800
9507 Cleanup disguised struct constructor error and add it to boxed
9509 Give a cleaner error message when an attempt is made to create
9511 struct which also gives a hint to look at the pydoc. Add similar
9513 disguised boxed/unions.
9515 https://bugzilla.gnome.org/show_bug.cgi?id=647249
9517 gi/pygi-boxed.c | 17 ++++++++++++++---
9518 gi/pygi-struct.c | 2 +-
9519 tests/test_everything.py | 1 -
9520 tests/test_glib.py | 4 ++++
9521 4 files changed, 19 insertions(+), 5 deletions(-)
9523 commit 9ce527b09ed032f2cc83c2d83de8bb6d7b19be02
9524 Author: Simon Feltman <sfeltman@src.gnome.org>
9525 Date: Wed Jan 1 19:54:59 2014 -0800
9527 docs: List default constructor in doc strings
9529 Add default constructor to class docs strings as:
9530 Object(**properties)
9532 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9534 gi/docstring.py | 10 ++++------
9535 1 file changed, 4 insertions(+), 6 deletions(-)
9537 commit 9bfd73e7c3f2ec4975b3e530ba7c2cc55ee793d5
9538 Author: Simon Feltman <sfeltman@src.gnome.org>
9539 Date: Wed Jan 1 17:34:32 2014 -0800
9541 docs: List constructors in object and struct doc strings
9543 Add type dispatching to gi.docstring documentation generator for
9545 of StructInfo and ObjectInfo. Add lazy doc string generation to
9546 Object and Struct meta classes by using a property for __doc__. This
9548 available constructors immediately in all GObject.Object and Struct
9554 Button(**properties)
9556 new_from_icon_name(icon_name:str, size:int)
9557 new_from_stock(stock_id:str)
9558 new_with_label(label:str)
9559 new_with_mnemonic(label:str)
9561 https://bugzilla.gnome.org/show_bug.cgi?id=708060
9563 gi/docstring.py | 36 +++++++++++++++++++++++++++++-------
9564 gi/types.py | 9 +++++++++
9565 tests/test_docstring.py | 8 ++++++++
9566 3 files changed, 46 insertions(+), 7 deletions(-)
9568 commit 44612636575dd93c97210a7255c4490e2c84db67
9569 Author: Simon Feltman <sfeltman@src.gnome.org>
9570 Date: Wed Jan 1 17:10:15 2014 -0800
9572 docs: Cleanup PyGIBaseInfo repr
9574 Remove angle brackets and pointer address from
9575 PyGIBaseInfo.__repr__. This
9576 cleans up documentation and makes it easier to read.
9578 gi/pygi-info.c | 5 ++---
9579 1 file changed, 2 insertions(+), 3 deletions(-)
9581 commit 826c0e63eabac68fd665335950d311988a1405e3
9582 Author: Simon Feltman <sfeltman@src.gnome.org>
9583 Date: Tue Dec 31 21:45:21 2013 -0800
9585 docs: Add return values and skip implicit out arguments in functions
9587 Add gi.CallableInfo.skip_return static binding for testing if
9589 value should show up in docs. Skip implicit list index arguments
9593 https://bugzilla.gnome.org/show_bug.cgi?id=697356
9595 gi/docstring.py | 26 +++++++++++++++++++++-----
9596 gi/pygi-info.c | 7 +++++++
9597 tests/test_docstring.py | 6 ++++++
9598 3 files changed, 34 insertions(+), 5 deletions(-)
9600 commit aeccdaddf32dc7b48a79a1cd95a421a26895c9b2
9601 Author: Simon Feltman <sfeltman@src.gnome.org>
9602 Date: Tue Dec 31 21:15:27 2013 -0800
9604 docs: Replace usage of functools.wraps with a custom version
9606 Using functools.wraps in overrides would cause docstring evaluation
9608 can hurt performance during overrides loading. Add custom wraps
9610 which only copies __name__ and __module__ attributes. Remove function
9611 wrapping used within gi.overrides.overridefunc because the wrapping
9613 doing anything, this preserves __doc__ ability without causing an
9617 https://bugzilla.gnome.org/show_bug.cgi?id=697356
9619 gi/overrides/GObject.py | 3 +--
9620 gi/overrides/__init__.py | 21 ++++++++++++---------
9621 2 files changed, 13 insertions(+), 11 deletions(-)
9623 commit cebf5314f195bf4bd6ee19a1da3bbb50c2c9bbd6
9624 Author: Simon Feltman <sfeltman@src.gnome.org>
9625 Date: Tue Dec 31 19:42:02 2013 -0800
9627 docs: Move GIArgInfo.get_pytype_hint into gi.docstring
9629 Move the C implementation of pytype hinting into pure Python. Now that
9630 doc strings are lazily evaluated we can simplify this tedious bit of C
9631 code with Python. This is precursory work for getting return
9633 function doc strings.
9635 https://bugzilla.gnome.org/show_bug.cgi?id=697356
9637 gi/docstring.py | 50 ++++++++++++++++++++++++++++++++++++++---
9638 gi/pygi-info.c | 49 ----------------------------------------
9640 ------------------------------------------------
9641 gi/pygi-type.h | 2 --
9642 tests/test_docstring.py | 8 ++++---
9643 tests/test_repository.py | 1 -
9644 6 files changed, 52 insertions(+), 116 deletions(-)
9646 commit 28a178e385e32c56910f1c430b370a8872218081
9647 Author: Simon Feltman <sfeltman@src.gnome.org>
9648 Date: Tue Dec 31 17:50:36 2013 -0800
9650 docs: Skip implicit array length args when building function doc
9653 https://bugzilla.gnome.org/show_bug.cgi?id=697356
9655 gi/docstring.py | 8 ++++++--
9656 tests/test_docstring.py | 4 ++++
9657 2 files changed, 10 insertions(+), 2 deletions(-)
9659 commit 2ef59b89311529e34366d4d7aa8f8ae9a8ea6371
9660 Author: Simon Feltman <sfeltman@src.gnome.org>
9661 Date: Tue Dec 31 13:41:20 2013 -0800
9663 gtk-demo: Avoid crash in CSS demos
9665 Avoid a potential crash in the CSS demos where the text editing
9667 out of sync with the last good CSS parsing buffer. In the case of CSS
9668 warnings, we get a parsing-error callback but no exception is raised.
9669 This would cause the buffers to become out of sync and accessing
9671 information from the parsing-error section would crash the text
9673 to an out of range iterator being created.
9675 demos/gtk-demo/demos/Css/css_basics.py | 31
9676 +++++++++++++++++++++--------
9677 demos/gtk-demo/demos/Css/css_multiplebgs.py | 31
9678 +++++++++++++++++++++--------
9679 2 files changed, 46 insertions(+), 16 deletions(-)
9681 commit b81f9c9b4e62d8cf589576aba8d9abbac4c80953
9682 Author: Simon Feltman <sfeltman@src.gnome.org>
9683 Date: Tue Dec 31 02:05:46 2013 -0800
9685 gtk-demo: Add info bar and better error handling to CSS demos
9687 Use an info bar for displaying CSS parsing errors. Store the last good
9688 stylesheet text for use as a backup when a parsing error occures. This
9690 a seamless look while typing changes into the text editor.
9692 https://bugzilla.gnome.org/show_bug.cgi?id=719722
9694 demos/gtk-demo/demos/Css/css_basics.py | 28
9695 +++++++++++++++++++++-------
9696 demos/gtk-demo/demos/Css/css_multiplebgs.py | 29
9697 ++++++++++++++++++++++-------
9698 2 files changed, 43 insertions(+), 14 deletions(-)
9700 commit becb56734e13df182fd31cfe46c465477dfc4d2c
9701 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
9702 Date: Mon Dec 30 16:36:28 2013 +0100
9704 gtk-demo: Add CSS demos
9706 Add a couple of demos demostrating the use of CSS, the css files are
9707 stored into a GResource binary file compiled with
9708 glib-compile-resources,
9709 the comments in gtk-demo.py explain the usage of GResource.
9711 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
9713 https://bugzilla.gnome.org/show_bug.cgi?id=719722
9716 demos/gtk-demo/demos/Css/__init__.py | 0
9717 demos/gtk-demo/demos/Css/css_accordion.py | 94 +++++++++++++++
9718 demos/gtk-demo/demos/Css/css_basics.py | 119 +++++++++++++++++++
9719 demos/gtk-demo/demos/Css/css_multiplebgs.py | 157
9720 ++++++++++++++++++++++++++
9721 demos/gtk-demo/demos/data/brick.png | Bin 0 -> 5043 bytes
9722 demos/gtk-demo/demos/data/brick2.png | Bin 0 -> 10713 bytes
9723 demos/gtk-demo/demos/data/css_accordion.css | 52 +++++++++
9724 demos/gtk-demo/demos/data/css_basics.css | 22 ++++
9725 demos/gtk-demo/demos/data/css_multiplebgs.css | 136
9726 ++++++++++++++++++++++
9727 demos/gtk-demo/demos/data/cssview.css | 41 +++++++
9728 demos/gtk-demo/demos/data/demo.gresource | Bin 0 -> 31110 bytes
9729 demos/gtk-demo/demos/data/demo.gresource.xml | 18 +++
9730 demos/gtk-demo/demos/data/reset.css | 68 +++++++++++
9731 demos/gtk-demo/gtk-demo.py | 16 ++-
9732 15 files changed, 723 insertions(+), 1 deletion(-)
9734 commit 2ff095ea0b0c05fbf6cc332eeadf26cfeb9e69f7
9735 Author: Colin Watson <cjwatson@ubuntu.com>
9736 Date: Tue Dec 24 22:19:02 2013 +0000
9738 build: Avoid clash between gi/types.py and stdlib
9740 Use non-recursive make for the Python modules in gi/ to work around a
9741 clash between gi/types.py and the standard library's types module when
9744 https://bugzilla.gnome.org/show_bug.cgi?id=721025
9746 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
9748 Makefile.am | 24 ++++++++++++++++++++++++
9749 gi/Makefile.am | 20 ++------------------
9750 2 files changed, 26 insertions(+), 18 deletions(-)
9752 commit b9716853fb7727fcf2b5ea59a3368d5a5b2e6be2
9753 Author: Simon Feltman <sfeltman@src.gnome.org>
9754 Date: Mon Dec 16 04:17:28 2013 -0800
9756 configure.ac: post-release bump to 3.11.4
9759 1 file changed, 1 insertion(+), 1 deletion(-)
9761 commit 2ec00c2563bebff1e55faf97c67e44fda862ad5b
9762 Author: Simon Feltman <sfeltman@src.gnome.org>
9763 Date: Mon Dec 16 04:10:54 2013 -0800
9768 1 file changed, 4 insertions(+)
9770 commit 7fb55f93e207378992cd9f3e0663604a4de2213f
9771 Author: Simon Feltman <sfeltman@src.gnome.org>
9772 Date: Thu Dec 12 01:35:11 2013 -0800
9774 Replace usage of PyGIBoxed_Type with PyGIStruct_Type
9776 Remove empty definition of PyGIBoxed_Type and use PyGIStruct_Type
9778 place for GI_INFO_TYPE_BOXED based infos in repositories. As noted in
9779 the docs: "GI_INFO_TYPE_BOXED boxed, see GIStructInfo or GIUnionInfo"
9780 we can use the GIStructInfo API for boxed types because we also
9782 base classes on GType checks as seen in:
9783 https://git.gnome.org/browse/pygobject/tree/gi/module.py?id=3.11.2#n186
9784 This fixes some of the issues noted in bug 581525.
9786 https://bugzilla.gnome.org/show_bug.cgi?id=581525
9788 gi/pygi-info.c | 13 +------------
9789 1 file changed, 1 insertion(+), 12 deletions(-)
9791 commit b3c85eec75c62c138c136531ebe49a33351941f0
9792 Author: Simon Feltman <sfeltman@src.gnome.org>
9793 Date: Sun Nov 17 20:12:50 2013 -0800
9795 configure.ac: post release version bump to 3.11.3
9798 1 file changed, 1 insertion(+), 1 deletion(-)
9800 commit d1314af8f237a634dbfefb0a1c319f910d3d8765
9801 Author: Simon Feltman <sfeltman@src.gnome.org>
9802 Date: Sun Nov 17 20:04:49 2013 -0800
9807 1 file changed, 6 insertions(+)
9809 commit 6fc3d977f17397e514aed492055e93d03c410f60
9810 Author: Simon Feltman <sfeltman@src.gnome.org>
9811 Date: Tue Nov 12 23:04:50 2013 -0800
9813 gtk-demo: Fix pyflakes error after recent commit
9815 demos/gtk-demo/demos/pixbuf.py | 2 +-
9816 1 file changed, 1 insertion(+), 1 deletion(-)
9818 commit a309b3baf5ee99139cc2d1817339233e24391bc2
9819 Author: Simon Feltman <sfeltman@src.gnome.org>
9820 Date: Tue Nov 12 18:41:35 2013 -0800
9822 gkt-demo: Change main info/source notebook into a GtkStack
9824 Use the new in 3.10 GtkStack and GtkStackSwitcher for switching
9826 and Source tabs. Beyond giving a newer look and feel to the demo,
9828 provides an example for how to use a GtkStack.
9830 demos/gtk-demo/gtk-demo.py | 23 +++++++++++++++++------
9831 1 file changed, 17 insertions(+), 6 deletions(-)
9833 commit 69ff43bf6292fb3ddaea027cfc595139c4f1655d
9834 Author: Simon Feltman <sfeltman@src.gnome.org>
9835 Date: Tue Nov 12 19:32:18 2013 -0800
9837 gtk-demo: Cleanup deprecated calls throughout demo code
9839 Specify constructor arguments as keyword args for various object
9840 creation calls. Update combobox demo to use bind_property instead
9842 signal connections with update callbacks.
9844 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 ++---
9845 demos/gtk-demo/demos/Entry/entry_completion.py | 6 ++---
9846 demos/gtk-demo/demos/Entry/search_entry.py | 8 +++---
9847 demos/gtk-demo/demos/Tree View/liststore.py | 8 +++---
9848 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 2 +-
9849 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 2 +-
9850 demos/gtk-demo/demos/appwindow.py | 4 +--
9851 demos/gtk-demo/demos/combobox.py | 30
9852 +++-------------------
9853 demos/gtk-demo/demos/dialogs.py | 26
9855 demos/gtk-demo/demos/expander.py | 9 +++----
9856 demos/gtk-demo/demos/images.py | 2 +-
9857 demos/gtk-demo/demos/infobars.py | 23 +++++++++--------
9858 demos/gtk-demo/demos/links.py | 10 ++++----
9859 demos/gtk-demo/demos/menus.py | 4 +--
9860 demos/gtk-demo/demos/pickers.py | 8 +++---
9861 demos/gtk-demo/demos/pixbuf.py | 4 +--
9862 demos/gtk-demo/demos/rotatedtext.py | 2 +-
9863 17 files changed, 64 insertions(+), 90 deletions(-)
9865 commit 890fb7b97823985d5c800284ead43a49174db244
9866 Author: Simon Feltman <sfeltman@src.gnome.org>
9867 Date: Tue Nov 12 18:19:34 2013 -0800
9869 Revert TreeStore and ListStore initializer replacements
9871 Revert changes to Tree/ListStore where the __init__ overrides were
9873 with __new__ overrides which accept column types directly. The
9875 the change is sub-classes of these types can override __init__
9877 passing in their own column types to the super class. These
9879 expect the super class to handle column type setup via __init__
9881 the change described is an API break. This reverts parts of commit:
9882 2f2069c9efcd8f312ce9ffa572df371fbc08822d
9884 gi/overrides/Gtk.py | 10 ++++++----
9885 1 file changed, 6 insertions(+), 4 deletions(-)
9887 commit 795201873a3aae530598f5e16470b6a8d2d55c23
9888 Author: Simon Feltman <sfeltman@src.gnome.org>
9889 Date: Thu Aug 15 20:01:48 2013 -0700
9891 Deprecate Gdk.Cursor constructor dispatching
9893 Give deprecation warning for the overridden __new__ method on
9894 Gdk.Cursor when more than one argument is used. Recommend using
9895 Gdk.Cursor.new_for_display, new_from_pixbuf, and new_from_pixmap
9898 https://bugzilla.gnome.org/show_bug.cgi?id=705810
9900 gi/overrides/Gdk.py | 48
9901 ++++++++++++++++++++++++++-------------------
9902 tests/test_overrides_gdk.py | 17 ++++++++++++----
9903 2 files changed, 41 insertions(+), 24 deletions(-)
9905 commit 2f2069c9efcd8f312ce9ffa572df371fbc08822d
9906 Author: Simon Feltman <sfeltman@src.gnome.org>
9907 Date: Thu Aug 15 19:23:18 2013 -0700
9909 Cleanup overzealous new and init implementations
9911 Remove PyGObject initializer code attempting to set properties on
9912 GObjects that have already been created. There were a number of
9913 overridden __new__ and __init__ methods that stripped away
9914 arguments before calling the base class to work around attempted
9915 property sets and argument count errors (fixing the symptom not
9917 Use Gtk.ListStore/TreeStore.new with __new__ override instead
9918 of __init__ with set_column_types.
9920 https://bugzilla.gnome.org/show_bug.cgi?id=705810
9922 gi/_gobject/gobjectmodule.c | 35 ++++++++++++++---------------------
9923 gi/_gobject/pygobject.c | 16 ++++++++++++++--
9924 gi/overrides/GObject.py | 3 ---
9925 gi/overrides/Gdk.py | 15 ---------------
9926 gi/overrides/Gtk.py | 11 ++++-------
9927 gi/overrides/Pango.py | 5 -----
9928 gi/pygi-boxed.c | 6 ------
9929 7 files changed, 32 insertions(+), 59 deletions(-)
9931 commit 86a37d67455dc5d435ade35f17b27c5de2b288f5
9932 Author: Simon Feltman <sfeltman@src.gnome.org>
9933 Date: Tue Aug 13 18:02:54 2013 -0700
9935 Add deprecation warnings and cleanup class initializer overrides
9937 Print deprecation warnings for calls to class initializers which
9938 don't explicitly specify keywords. Print deprecation warning
9939 for overrides that have renamed keywords (Gtk.Table.rows should
9940 be n_rows). Additionally deprecate non-standard defaults with
9941 initializers (Gtk.SizeGroup.mode defaults to HORIZONTAL in GTK+
9942 and VERTICAL in PyGI).
9943 Remove AboutDialog override because it doesn't do anything.
9945 https://bugzilla.gnome.org/show_bug.cgi?id=705810
9947 gi/overrides/Gio.py | 6 +-
9948 gi/overrides/Gtk.py | 367
9949 ++++++++++++++++++++++----------------------
9950 gi/overrides/__init__.py | 88 +++++++++++
9951 tests/test_gi.py | 75 +++++++++
9952 tests/test_overrides_gtk.py | 95 ++++++++----
9953 5 files changed, 411 insertions(+), 220 deletions(-)
9955 commit d2e9be8e2b3d21b55e1aad3d0b22dcff3421b702
9956 Author: Simon Feltman <sfeltman@src.gnome.org>
9957 Date: Tue Aug 13 17:42:11 2013 -0700
9959 tests: Use explicit keywords args when calling initializers
9961 Replace all usage of GObject creation that relies on positional
9962 arguments from overrides. Positional initializer args will be
9963 deprecated, updating the tests as a first pass proves backwards
9964 and forwards compatibility of the deprecation.
9966 https://bugzilla.gnome.org/show_bug.cgi?id=705810
9968 tests/test_overrides_gtk.py | 107
9969 +++++++++++++++++++++++---------------------
9970 1 file changed, 55 insertions(+), 52 deletions(-)
9972 commit 8342302dac9bf3fcb49ec3ac334dbf014b4db025
9973 Author: Simon Feltman <sfeltman@src.gnome.org>
9974 Date: Tue Nov 12 03:46:08 2013 -0800
9976 Revert "Add type checking to positional Gtk.Box and Gtk.Window
9979 This reverts commit 7193f0509a0ed7da7c810daa6733e34a22db3180.
9981 gi/overrides/Gtk.py | 7 -------
9982 tests/test_overrides_gtk.py | 18 ------------------
9983 tests/test_properties.py | 9 ---------
9984 3 files changed, 34 deletions(-)
9986 commit 1f37340c4623262a2146ec8cd25b487cdf4234bd
9987 Author: Simon Feltman <sfeltman@src.gnome.org>
9988 Date: Sun Nov 10 03:26:10 2013 -0800
9990 Fix dir method for static GParamSpec in Python 3
9992 Add a __dir__ method which lists GParamSpec attributes and remove
9994 getattr which made use of the deprecated __members__ technique for dir
9995 (removed in Python 3). This makes dir(pspec) work again in Python 3.
9997 gi/_gobject/pygparamspec.c | 218
9998 ++++++++++++++++++++++++---------------------
9999 tests/test_gi.py | 10 +++
10000 2 files changed, 126 insertions(+), 102 deletions(-)
10002 commit 7193f0509a0ed7da7c810daa6733e34a22db3180
10003 Author: Martin Pitt <martinpitt@gnome.org>
10004 Date: Tue Nov 5 15:28:12 2013 +0100
10006 Add type checking to positional Gtk.Box and Gtk.Window ctor arguments
10008 Gtk.Box and Gtk.Window are base classes of a lot of widgets. Avoid
10010 when trying to create a subclass of them through the GObject
10012 positional arguments by at least verifying that their type is
10014 you can do things like
10016 chooser = Gtk.FileChooserWidget(Gtk.FileChooserAction.SELECT_FOLDER)
10018 which succeeds, but does not have the desired effect (it sets the
10020 property of the Gtk.Box superclass instead).
10022 https://bugzilla.gnome.org/show_bug.cgi?id=711487
10024 gi/overrides/Gtk.py | 7 +++++++
10025 tests/test_overrides_gtk.py | 18 ++++++++++++++++++
10026 tests/test_properties.py | 9 +++++++++
10027 3 files changed, 34 insertions(+)
10029 commit 79aea2655db11bc9d2c0ad75c87862b2b66da594
10030 Author: Simon Feltman <sfeltman@src.gnome.org>
10031 Date: Mon Nov 4 03:29:57 2013 -0800
10033 Remove overzealous argument checking for callback userdata
10035 Remove check which ensures userdata is None if the callback is None.
10036 This check would need to become more complicated with recent
10038 PyGObject where userdata can be variable (would also need to check
10040 a tuple containing None). Instead of adding more complex checking,
10042 remove the checking as it is unnecessary to begin with.
10044 https://bugzilla.gnome.org/show_bug.cgi?id=711173
10046 gi/pygi-marshal-from-py.c | 7 -------
10047 tests/test_overrides_gtk.py | 11 +++++++----
10048 2 files changed, 7 insertions(+), 11 deletions(-)
10050 commit f32d649b72f865e32cc2b62a54d927b8345da0c8
10051 Author: Martin Pitt <martinpitt@gnome.org>
10052 Date: Mon Oct 28 16:00:57 2013 +0100
10054 configure.ac: post-release bump to 3.11.2
10056 configure.ac | 2 +-
10057 1 file changed, 1 insertion(+), 1 deletion(-)
10059 commit 5bcdb56433d0ba2976f05946c6c5b6ffe3e84901
10060 Author: Martin Pitt <martinpitt@gnome.org>
10061 Date: Mon Oct 28 15:59:51 2013 +0100
10065 NEWS | 27 +++++++++++++++++++++++++++
10066 1 file changed, 27 insertions(+)
10068 commit 65b8f7bd77474e361c80905ec23de6dbde27970c
10069 Author: Simon Feltman <sfeltman@src.gnome.org>
10070 Date: Sun Oct 27 22:09:27 2013 -0700
10072 Fix toggleref safety problems by always enabling the GIL
10074 Call PyEval_InitThreads for the base gi module import. This forces the
10075 Python internals create the GIL and always support threading with the
10076 various thread state enter/exit funcs. This is needed since we cannot
10077 predict which GI repositories might accept Python callbacks and run
10079 non-Python threads or trigger toggle ref notifications in a thread
10083 https://bugzilla.gnome.org/show_bug.cgi?id=709223
10085 gi/__init__.py | 2 --
10086 gi/gimodule.c | 18 +++++++-----------
10087 gi/overrides/GLib.py | 8 ++------
10088 3 files changed, 9 insertions(+), 19 deletions(-)
10090 commit 57195c9c864bc25521bb3cb98286e6d6f0645652
10091 Author: Simon Feltman <sfeltman@src.gnome.org>
10092 Date: Sun Oct 27 16:02:13 2013 -0700
10094 Add consistent GLib.MainLoop SIGINT cleanup
10096 Remove auto cleanup of SIGINT source handling by returning True
10098 signal callback. This gives the __del__ method consistent cleanup
10100 regardless of whether or not a SIGINT occurred.
10102 https://bugzilla.gnome.org/show_bug.cgi?id=710978
10104 gi/overrides/GLib.py | 4 ++++
10105 1 file changed, 4 insertions(+)
10107 commit 1c03ebba9598e7b6d5293889f46b015bfac3611c
10108 Author: Simon Feltman <sfeltman@src.gnome.org>
10109 Date: Sun Oct 27 15:16:09 2013 -0700
10111 tests: Fix source testing to handle critical with non-existing sources
10113 Silence new critical coming from g_source_remove on non-existing
10115 This function still returns False, but we need to silence the new
10117 so the test suite doesn't fail. See bug 710724.
10119 https://bugzilla.gnome.org/show_bug.cgi?id=710978
10121 tests/test_source.py | 18 ++++++++++++------
10122 1 file changed, 12 insertions(+), 6 deletions(-)
10124 commit ac776da7e56b78a2fa422487f0ef0d8771bcb78f
10125 Author: Simon Feltman <sfeltman@src.gnome.org>
10126 Date: Sun Jul 28 00:01:35 2013 -0700
10128 docs: Add a keyword value of None for allow-none annotations
10130 Update documentation generator for allow-none arguments and
10131 user_data arguments to show a keyword value of None.
10132 Add skip for GDestroyNotify closure arguments.
10134 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10136 gi/docstring.py | 20 +++++++++++++++++---
10137 tests/test_docstring.py | 10 ++++++++++
10138 2 files changed, 27 insertions(+), 3 deletions(-)
10140 commit e1bf9c069644ea0bff0c6a7efa72a285e122a414
10141 Author: Simon Feltman <sfeltman@src.gnome.org>
10142 Date: Sat Oct 19 19:03:12 2013 -0700
10144 Remove overrides for supporting pre-3.10 GObject signal functions
10146 Remove GObject override code for supporting pre-3.10 signal functions
10148 annotate the object argument as "gpointer". With PyGObject 3.11
10150 dependency on GObject 3.10, clear the special case overrides out.
10152 gi/overrides/GObject.py | 76
10153 ++++++-------------------------------------------
10154 1 file changed, 9 insertions(+), 67 deletions(-)
10156 commit 0c308de528c402f67808b13760ca30d55d4c99d7
10157 Author: Simon Feltman <sfeltman@src.gnome.org>
10158 Date: Fri Oct 18 17:15:06 2013 -0700
10160 Add threads_init back as a requirement for non-Python threaded repos
10162 Re-add a "threads_init" function to gi for explicit intialization
10164 threading support. This was marked as deprecated in the previous cycle
10165 because using Python threads already initializes everything.
10166 However, we still need an explicit initalization when using
10168 with non-Python threads which may interact with Python callbacks
10171 https://bugzilla.gnome.org/show_bug.cgi?id=710447
10173 gi/__init__.py | 2 ++
10174 gi/gimodule.c | 10 ++++++++++
10175 gi/overrides/GLib.py | 11 +++++++----
10176 3 files changed, 19 insertions(+), 4 deletions(-)
10178 commit a2fa531b4dee73c193cac92fa3e870808688b5d7
10179 Author: Simon Feltman <sfeltman@src.gnome.org>
10180 Date: Mon Oct 14 20:38:13 2013 -0700
10182 Add dir method to GObject props accessor
10184 Remove special case __members__ attribute from the props accessor
10185 objects getattr method. This has been deprecated since Python 2.3 and
10186 removed in Python 3. Replace this with a __dir__ method making use
10188 old members list building code. Additionally fix error where the
10189 GObjectClass was being unref'd too many times when using
10191 causing a GLib critical.
10193 https://bugzilla.gnome.org/show_bug.cgi?id=705754
10195 gi/_gobject/pygobject.c | 29 +++++++++++++++++++++--------
10196 tests/test_gi.py | 14 ++++++++++++++
10197 2 files changed, 35 insertions(+), 8 deletions(-)
10199 commit 799989ada2f6b1d729f078f204445651c808a2c7
10200 Author: Simon Feltman <sfeltman@src.gnome.org>
10201 Date: Fri May 3 04:37:13 2013 -0700
10203 Remove PyGObjectWeakRef now that g_binding_unbind exists
10205 Remove the static code for managing GBinding weak references now
10207 has a method (unbind) for clearing out bindings.
10209 https://bugzilla.gnome.org/show_bug.cgi?id=699571
10211 gi/_gobject/pygobject.c | 59
10212 +------------------------------------------------
10213 gi/overrides/GObject.py | 19 ++++++++++++++++
10214 tests/test_gobject.py | 41 ++++++++++++++++++++--------------
10215 3 files changed, 44 insertions(+), 75 deletions(-)
10217 commit fe217e0afbd63f05285e59628533f351896377d9
10218 Author: Simon Feltman <sfeltman@src.gnome.org>
10219 Date: Wed Oct 9 00:34:37 2013 -0700
10221 Fix GArray, GList, GSList, and GHashTable marshaling leaks
10223 Remove calling of cleanup code for transfer-everything modes by
10225 cleanup_data is set to NULL in from_py marshalers. Use array and hash
10226 table ref/unref functions for container transfer mode to ensure we
10228 valid container ref after invoke and during from_py cleanup of
10230 Rework restrictions with to_py marshaling cleanup so we always
10232 container for transfer-everything and transfer-container modes.
10234 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10236 gi/pygi-marshal-cleanup.c | 54 +++++++++++----------------------
10237 gi/pygi-marshal-from-py.c | 77
10238 ++++++++++++++++++++++++++++++++++++++++-------
10239 2 files changed, 84 insertions(+), 47 deletions(-)
10241 commit 7407367f424595c2780a2d6a47d936ad0bd91735
10242 Author: Simon Feltman <sfeltman@src.gnome.org>
10243 Date: Mon Oct 7 14:11:39 2013 -0700
10245 Add cleanup_data argument used for Python to C marshaler cleanup
10247 Add a new output argument to all from_py marshalers which is used for
10248 keeping track of marshaling data that later needs cleanup. Previously
10250 marshalers would rely on the GIArgument->v_pointer as the means
10252 cleanup. However, this pointer would get clobbered in the case of
10253 bi-directional arguments (inout) and the memory lost.
10254 Use the new cleanup_data for storing temporarily wrapped C arrays
10256 don't need to re-calculate the length argument during cleanup.
10258 Additionally delay the from_py marshaling cleanup function until after
10259 _invoke_marshal_out_args is called. This gives inout arguments
10261 modify the pointer sufficient time to exist until they marshaled
10263 Python (gi_marshalling_tests_gvalue_inout).
10265 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10267 gi/pygi-argument.c | 4 +-
10268 gi/pygi-cache.h | 3 +-
10269 gi/pygi-invoke-state-struct.h | 7 +-
10270 gi/pygi-invoke.c | 20 +++---
10271 gi/pygi-marshal-cleanup.c | 43 +++++-------
10272 gi/pygi-marshal-from-py.c | 160
10273 ++++++++++++++++++++++++++++--------------
10274 gi/pygi-marshal-from-py.h | 45 ++++++++----
10275 7 files changed, 177 insertions(+), 105 deletions(-)
10277 commit 9456e83233a927f1f01c6ffcb1f07c62b491a1df
10278 Author: Simon Feltman <sfeltman@src.gnome.org>
10279 Date: Wed Aug 7 12:08:15 2013 -0700
10281 Add support for variable user data arguments
10283 Support a variable number of user data arguments for all callback
10284 connection function where the user data is the last explicit argument.
10285 This adds convience as well as consistency with the rest of PyGObject.
10286 Cleanup overrides for GLib.idle_add, timeout_add, timeout_add_seconds,
10287 io_add_watch, and child_watch_add which manually implemented this
10290 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10292 gi/overrides/GLib.py | 75
10293 +++++++++++++++--------------------------------
10294 gi/pygi-cache.c | 14 +++++++++
10295 gi/pygi-cache.h | 3 ++
10296 gi/pygi-closure.c | 37 +++++++++++++++--------
10297 gi/pygi-invoke.c | 71
10298 +++++++++++++++++++++++++++++++-------------
10299 gi/pygi-marshal-from-py.c | 5 ++++
10300 tests/test_everything.py | 32 ++++++++++++++++++++
10301 tests/test_glib.py | 21 +++++++++++++
10302 tests/test_subprocess.py | 8 ++---
10303 9 files changed, 177 insertions(+), 89 deletions(-)
10305 commit ba4a0a65bf9ec44c3b9449f63d63035bff75d8df
10306 Author: Martin Pitt <martinpitt@gnome.org>
10307 Date: Mon Oct 14 12:57:04 2013 +0200
10309 Bump glib and g-i dependencies to latest stable.
10311 glib 2.38 and g-i 1.38 are from stable GNOME 3.10 which we now
10315 Drop @unittest.skipUnless tags from tests which didn't work with
10319 configure.ac | 6 +++---
10320 tests/test_gi.py | 2 --
10321 3 files changed, 5 insertions(+), 6 deletions(-)
10323 commit 2a5ad2af6bc91b187a2f07fc8d001ec7ad618adf
10324 Author: Nuno Araujo <nuno.araujo@russo79.com>
10325 Date: Fri Oct 11 18:41:48 2013 +0200
10327 Fix TypeError when setting drag target_list to None
10329 When calling Widget.drag_dest_set_target_list(None) or
10330 Widget.drag_source_set_target_list(None)
10331 a "TypeError: 'NoneType' object is not iterable" is thrown.
10333 According to Gtk documentation [1] [2], this shouldn't be the case
10334 since client code should be
10335 able to pass NULL in calls made to gtk_drag_dest_set_target_list and
10336 gtk_drag_source_set_target_list.
10338 We now check if the target_list is None and do not try to create a
10339 TargetList if it is the case.
10342 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-dest-set-target-list
10344 https://developer.gnome.org/gtk3/3.10/gtk3-Drag-and-Drop.html#gtk-drag-source-set-target-list
10346 https://bugzilla.gnome.org/show_bug.cgi?id=709926
10348 gi/overrides/Gtk.py | 4 ++--
10349 tests/test_overrides_gtk.py | 2 ++
10350 2 files changed, 4 insertions(+), 2 deletions(-)
10352 commit 27e9f6ede021fc58e952491b67d69c2a5cdd6acb
10353 Author: Simon Feltman <sfeltman@src.gnome.org>
10354 Date: Tue Oct 1 17:09:39 2013 -0700
10356 Use qdata for wrapper retrieval in toggle reference notifications
10358 Replace usage of user data holding PyGObject wrappers in toggle ref
10359 notifications with GObject qdata retrieval. This fixes thread
10361 where a toggle notify may be called from another thread during
10363 wrappers dealloc. In this case the toggle notify is blocked because
10365 is held in dealloc, and when it continues, the user data would be
10367 invalid PyGObject wrapper. Using qdata solves this by ensuring
10369 retrieval is done within the safety of the GIL and may turn up
10372 https://bugzilla.gnome.org/show_bug.cgi?id=709223
10374 gi/_gobject/pygobject.c | 21 ++++++++++++++-------
10375 1 file changed, 14 insertions(+), 7 deletions(-)
10377 commit 55d925d5f0fb87464b1f391c325c1e70da10d33d
10378 Author: Simon Feltman <sfeltman@src.gnome.org>
10379 Date: Thu Oct 10 16:10:16 2013 -0700
10381 Add expected failure to deal with fixes in gimarshallingtests.c
10383 Fix test_object_full_inout based on newer gimarshallingtests.c >
10385 Add expectedFailure to deal with previous versions of
10386 gimarshallingtests.c.
10388 https://bugzilla.gnome.org/show_bug.cgi?id=709796
10390 tests/test_gi.py | 6 +++++-
10391 1 file changed, 5 insertions(+), 1 deletion(-)
10393 commit d866d422cc39b229f443dd08a3ea50cb3f7df8e6
10394 Author: Simon Feltman <sfeltman@src.gnome.org>
10395 Date: Mon Oct 7 01:17:08 2013 -0700
10397 Fix memory leaks for inout array arguments
10399 Add tracking for array allocations to from_py marashalers in the
10400 argument states extra data (arg_data). This is then used later
10402 marshaling cleanup to call the array cleanup function.
10404 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10406 gi/pygi-invoke.c | 1 +
10407 gi/pygi-marshal-cleanup.c | 1 +
10408 gi/pygi-marshal-from-py.c | 13 +++++++++----
10409 3 files changed, 11 insertions(+), 4 deletions(-)
10411 commit 31263ac117027446c8e2fd1b56d7e348384aabef
10412 Author: Simon Feltman <sfeltman@src.gnome.org>
10413 Date: Sun Oct 6 21:54:15 2013 -0700
10415 Fix to Python marshaling leaks for arrays holding GVariants
10417 Add early check for array items holding pointers and simply assign the
10418 pointer to GIArgument.v_pointer prior giving it to the per-item
10420 This simplifies marshaling and fixes leaks regarding arrays of
10422 removing the unneeded g_variant_ref_sink (variants are always
10424 Conditionalize the use of g_variant_ref_sink based on transfer mode
10426 per-item marshaler. This fixes a reference leak where we are given
10428 of the variant (transfer full) but added a new ref anyway.
10430 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10432 gi/pygi-marshal-to-py.c | 34 ++++++++++++++++++----------------
10433 1 file changed, 18 insertions(+), 16 deletions(-)
10435 commit c9580ce1156789221aa19b00c7aab404db5431b5
10436 Author: Simon Feltman <sfeltman@src.gnome.org>
10437 Date: Sun Oct 6 04:26:18 2013 -0700
10439 Cleanup per-item array marshaling code for flat arrays
10441 Add an early per-item check which tests if the item being marshaled
10443 pointer and simply copies the pointer into the array. This takes
10445 GdkAtom and GVariant special cases because these items are always
10448 Fix error condition cleanup code when an item fails marshaling in
10452 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10454 gi/pygi-marshal-from-py.c | 87
10455 +++++++++++++++++++++--------------------------
10456 tests/test_gi.py | 32 +++++++++++++++++
10457 2 files changed, 71 insertions(+), 48 deletions(-)
10459 commit 4623caa71c54958ab821db27a9eff2790acb3975
10460 Author: Simon Feltman <sfeltman@src.gnome.org>
10461 Date: Sat Oct 5 17:00:54 2013 -0700
10463 Fix GValue array marshaling leaks and crash fallout
10465 * Decrement references for results of PySequence_GetItem. There were
10467 places we were not decrementing the Python reference, leaking
10469 * Add tracking of Python arguments with recursive marshaling
10471 allows arrays of GValues which have been coerced from Python types
10473 properly free'd (also fixes bug 703662).
10474 * Use g_variant_ref for variant arguments marked as transfer
10476 This fixes double free's caused by the decrementing of
10480 https://bugzilla.gnome.org/show_bug.cgi?id=693402
10482 gi/pygi-cache.h | 1 +
10483 gi/pygi-invoke.c | 1 +
10484 gi/pygi-marshal-cleanup.c | 50
10485 +++++++++++++++++++++++++++++++++++++++++------
10486 gi/pygi-marshal-cleanup.h | 14 +++++++++++++
10487 gi/pygi-marshal-from-py.c | 20 ++++++++++++++++---
10488 gi/pygi-marshal-to-py.c | 1 +
10489 6 files changed, 78 insertions(+), 9 deletions(-)
10491 commit 549f849ef8854352483657df3d7558688a4b0007
10492 Author: Simon Feltman <sfeltman@src.gnome.org>
10493 Date: Sat Sep 28 00:26:28 2013 -0700
10495 Refactor GLib.io_add_watch to make it more testable
10497 Break the argument munging code into a separate function which
10498 can be tested in isolation of adding an io watch.
10499 Add additional failing test which specifies all args as keywords
10500 which we eventually need to support for consistency with the
10503 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10505 gi/overrides/GLib.py | 23 ++++++++++++++++++-----
10506 1 file changed, 18 insertions(+), 5 deletions(-)
10508 commit bc780ed17bc4cc62959c63c3f0142161a924679f
10509 Author: Simon Feltman <sfeltman@src.gnome.org>
10510 Date: Fri Sep 27 20:59:45 2013 -0700
10512 Refactor GLib.child_watch_add to make it more testable
10514 Break the argument munging code into a separate function which
10515 can be tested in isolation of adding a child watch. Update tests
10516 to reflect this. Add additional failing test which specify
10517 all args as keywords which we eventually need to support for
10518 consistency with the rest of PyGObject.
10520 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10522 gi/overrides/GLib.py | 25 +++++++++-----
10523 tests/test_subprocess.py | 88
10524 +++++++++++++++++++++---------------------------
10525 2 files changed, 56 insertions(+), 57 deletions(-)
10527 commit 73c6213e8b47fa7c4c2c7a517fe7b56126145888
10528 Author: Simon Feltman <sfeltman@src.gnome.org>
10529 Date: Thu Sep 26 19:05:20 2013 -0700
10531 Don't pass None to callbacks when user data is not specified
10533 For APIs which support a callback and optional user data,
10534 don't pass the user data to the callback if it was not explicitly
10535 specified when the callback was connected.
10537 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10539 gi/pygi-closure.c | 17 ++++++++++++++---
10540 gi/pygi-marshal-from-py.c | 5 -----
10541 tests/test_everything.py | 7 ++-----
10542 3 files changed, 16 insertions(+), 13 deletions(-)
10544 commit a76b06179cdca43f1c7d1feb8e2563e3d884a8ff
10545 Author: Simon Feltman <sfeltman@src.gnome.org>
10546 Date: Fri Oct 4 17:27:47 2013 -0700
10548 Add missing methods on PyGIBaseInfo and sub-classes
10550 Expose all methods of GIBaseBase info and its sub-classes.
10552 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10554 gi/_glib/pyglib-python-compat.h | 1 +
10555 gi/pygi-info.c | 550
10556 +++++++++++++++++++++++++++++++++++++++-
10557 tests/test_repository.py | 134 ++++++++++
10558 3 files changed, 677 insertions(+), 8 deletions(-)
10560 commit e190eb75093e8bf36190dc1beb18d1c1b95b9582
10561 Author: Simon Feltman <sfeltman@src.gnome.org>
10562 Date: Fri Oct 4 13:46:36 2013 -0700
10564 Expose all GI enum and flags types
10566 Add new types for GIDirection, GITransfer, GIArrayType, GIScopeType,
10567 GIVFuncInfoFlags, GIFieldInfoFlags, GIFuncitonInfoFlags, GITypeTag,
10569 GInfoType. These types are found in the gi._gi module exposed
10571 "GI" prefix and contain all of their values as class attributes. e.g.
10572 gi._gi.Transfer.EVERYTHING.
10574 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10576 gi/docstring.py | 10 ++--
10577 gi/pygi-info.c | 150
10578 ++++++++++++++++++++++++++++++++++++++++++++---
10579 tests/test_repository.py | 13 +++-
10580 3 files changed, 158 insertions(+), 15 deletions(-)
10582 commit 0120af6c418d0f67f39c02a4e8327813645b97f4
10583 Author: Simon Feltman <sfeltman@src.gnome.org>
10584 Date: Fri Oct 4 13:42:34 2013 -0700
10586 Avoid calling g_base_info_get_name on GI_INFO_TYPE_TYPE
10588 Calling g_base_info_get_name on infos tagged with GI_INFO_TYPE_TYPE
10590 cause a crash. Avoid this by adding _safe_base_info_get_name and
10592 throughout the bindings.
10593 Logged GI bug as: https://bugzilla.gnome.org/show_bug.cgi?id=709456
10595 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10597 gi/pygi-info.c | 35 +++++++++++++++++++++++++----------
10598 1 file changed, 25 insertions(+), 10 deletions(-)
10600 commit c86b2fe8d01070f06c45fffd910d890afba1313a
10601 Author: Simon Feltman <sfeltman@src.gnome.org>
10602 Date: Fri Oct 4 13:41:08 2013 -0700
10604 Add GIBaseInfo.equal method
10606 Break PyGIBaseInfo rich compare into two methods: equal and
10608 Equal is a direct exposure of the GI method and richcompare makes
10610 this with additional support for Pyton "==" and "!=" operators.
10612 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10614 gi/pygi-info.c | 32 ++++++++++++++++++++++++--------
10615 tests/test_repository.py | 1 +
10616 2 files changed, 25 insertions(+), 8 deletions(-)
10618 commit e7b758badd0ab0b147117859f7871c39fb5399c1
10619 Author: Simon Feltman <sfeltman@src.gnome.org>
10620 Date: Fri Oct 4 13:36:11 2013 -0700
10622 Move info string retrieval into generic function
10624 Add get_info_string for sharing binding of simple string retrieval on
10625 GIBaseInfo objects.
10627 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10629 gi/pygi-info.c | 15 +++++++++++++--
10630 1 file changed, 13 insertions(+), 2 deletions(-)
10632 commit d2aef364de778da966bc1cfffe184d649f9ebb21
10633 Author: Simon Feltman <sfeltman@src.gnome.org>
10634 Date: Tue Sep 24 06:26:17 2013 -0700
10636 Move child info retrieval into generic function
10638 Add a generic function for bindings which return a single child info.
10639 This trivializes binding methods like PyGIObjectInfo.get_parent and
10640 fixes leaks in PyGIObjectInfo.get_class_struct and
10641 PyGIVFuncInfo.get_invoker.
10643 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10645 gi/pygi-info.c | 56
10646 +++++++++++++++++++++++---------------------------------
10647 1 file changed, 23 insertions(+), 33 deletions(-)
10649 commit cdd03a2b0baef19797a5b55c2880e5b7acf1dd93
10650 Author: Simon Feltman <sfeltman@src.gnome.org>
10651 Date: Tue Sep 24 02:52:22 2013 -0700
10653 Move info tuple retrieval into generic function
10655 Create new generic function for retrieving a tuple of child infos.
10656 This greatly simplifies all the bindings which return tuples from
10657 a common pattern of functions on GIBaseInfo based instances.
10659 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10661 gi/pygi-info.c | 469
10662 ++++++++-------------------------------------------------
10663 1 file changed, 59 insertions(+), 410 deletions(-)
10665 commit 62f185bef20b42f18290a3cf1d3b19dddc957f8a
10666 Author: Simon Feltman <sfeltman@src.gnome.org>
10667 Date: Sun Oct 6 16:41:37 2013 -0700
10669 tests: Update check.valgrind with always-malloc and add logging
10672 Based on notes in https://wiki.gnome.org/Valgrind we need to use
10673 always-malloc for valgrind runs.
10674 Add check.valgrindlog and check.valgrindxml which output valgrind
10676 an ignored local tmp. Output logs are named <head-sha>-$TEST_NAMES.log
10678 can track commits and use diff tools on the logs.
10681 Makefile.am | 6 ++++++
10682 tests/Makefile.am | 10 +++++++++-
10683 3 files changed, 16 insertions(+), 1 deletion(-)
10685 commit 314c933626c4dc5fc585d0e5b6c45ddb17c2e52f
10686 Author: Simon Feltman <sfeltman@src.gnome.org>
10687 Date: Fri Oct 4 20:43:02 2013 -0700
10689 Move existing repository tests into test_repository
10691 Move flags and enum double registration tests into test_repository.py.
10692 Remove duplicate ObjectInfo tests from test_gi.py.
10694 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10696 tests/test_gi.py | 38 --------------------------------------
10697 tests/test_repository.py | 28 ++++++++++++++++++++++++++++
10698 2 files changed, 28 insertions(+), 38 deletions(-)
10700 commit 31840888c8948aab78041da93c329572f3aabb64
10701 Author: Simon Feltman <sfeltman@src.gnome.org>
10702 Date: Fri Oct 4 17:31:21 2013 -0700
10704 Add unittests for GIRepository
10706 Add basic unittests for the existing classes and methods exposed for
10707 the GIRepository module (gi._gi).
10709 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10711 tests/Makefile.am | 1 +
10712 tests/test_repository.py | 170
10713 +++++++++++++++++++++++++++++++++++++++++++++++
10714 2 files changed, 171 insertions(+)
10716 commit 4408f83be70e92c5e3943f5ce85c551e7f2c87d0
10717 Author: Simon Feltman <sfeltman@src.gnome.org>
10718 Date: Fri Oct 4 15:50:05 2013 -0700
10720 Derive SignalInfo info from CallableInfo
10722 Change Python class derivation of PyGISignalInfo to use
10723 PyGICallableInfo as
10724 the base class. This accurately reflects the GI class layout and
10726 the callable information for signals.
10728 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10730 gi/pygi-info.c | 7 ++++---
10731 1 file changed, 4 insertions(+), 3 deletions(-)
10733 commit b01daba04ff001b9e63d343938e879d339d9a98c
10734 Author: Simon Feltman <sfeltman@src.gnome.org>
10735 Date: Fri Oct 4 15:48:05 2013 -0700
10737 Use PYGLIB_PyLong_FromLong for GIDirection return
10739 https://bugzilla.gnome.org/show_bug.cgi?id=709008
10741 gi/pygi-info.c | 2 +-
10742 1 file changed, 1 insertion(+), 1 deletion(-)
10744 commit d644cbd0c0ad85142286754838db848c4eb1707f
10745 Author: Simon Feltman <sfeltman@src.gnome.org>
10746 Date: Thu Oct 3 19:25:34 2013 -0700
10748 Fix memory leak for caller allocated GValue out arguments
10750 Swizzle the order of type checks in _cleanup_caller_allocates so
10751 G_TYPE_VALUE arguments are checked before G_TYPE_BOXED. The
10753 important because G_TYPE_VALUE is a sub-type of boxed and so its
10755 cleanup code was never being called (g_value_unset).
10756 Additionally update check to use g_type_is_a instead of a compare
10758 the potential case of a G_TYPE_VALUE sub-type.
10760 https://bugzilla.gnome.org/show_bug.cgi?id=709397
10762 gi/pygi-marshal-cleanup.c | 11 ++++++-----
10763 1 file changed, 6 insertions(+), 5 deletions(-)
10765 commit 510789d52e9e2fd863d26613f3282364eb175601
10766 Author: Simon Feltman <sfeltman@src.gnome.org>
10767 Date: Sun Jul 28 14:44:51 2013 -0700
10769 Add support for default arguments annotated with allow-none
10771 Support default value of NULL for tail end arguments which are
10772 marked with allow-none.
10773 The implementation uses a place holder object for un-supplied
10775 which are annotated with allow-none. This is then used later during
10776 marshaling to supply NULL as the default.
10777 Additionally support an implicit default for callback user_data
10778 using the same technique.
10780 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10782 gi/gimodule.c | 6 +++
10783 gi/pygi-cache.c | 103
10784 ++++++++++++++++++++++++++++++----------------
10785 gi/pygi-cache.h | 8 ++++
10786 gi/pygi-invoke.c | 42 +++++++++++++------
10787 gi/pygi-marshal-from-py.c | 5 +++
10789 tests/test_everything.py | 16 +++++++
10790 tests/test_gi.py | 30 ++++++++++++++
10791 8 files changed, 162 insertions(+), 49 deletions(-)
10793 commit 03f531ffb1adde0c48e98f92bd92f79416654fbe
10794 Author: Simon Feltman <sfeltman@src.gnome.org>
10795 Date: Fri Aug 2 22:27:10 2013 -0700
10797 cache refactoring: Move arg cache field assignments into
10800 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10802 gi/pygi-cache.c | 23 +++++++++++------------
10803 1 file changed, 11 insertions(+), 12 deletions(-)
10805 commit cb7e7311bff57eb4c79c7772b6db4d00084656bb
10806 Author: Simon Feltman <sfeltman@src.gnome.org>
10807 Date: Fri Aug 2 20:27:02 2013 -0700
10809 cache refactoring: Cleanup array length argument marshaling
10811 Add shared function: _arg_cache_array_len_arg_setup for use
10812 with both to and from array marshaling setup. This function
10813 consolidates all of the edge cases regarding array length setup
10814 and removes the need for flagging arguments with
10815 PYGI_META_ARG_TYPE_CHILD_NEEDS_UPDATE.
10817 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10819 gi/pygi-cache.c | 145
10820 +++++++++++++++++++++++++++-----------------------------
10821 gi/pygi-cache.h | 5 --
10822 2 files changed, 71 insertions(+), 79 deletions(-)
10824 commit c9d8639401ae82977e960de44d80b94a501a2184
10825 Author: Simon Feltman <sfeltman@src.gnome.org>
10826 Date: Sat Aug 3 00:26:11 2013 -0700
10828 cache refactoring: Move variable declarations to blocks where they
10831 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10833 gi/pygi-cache.c | 25 ++++++++++++++-----------
10834 1 file changed, 14 insertions(+), 11 deletions(-)
10836 commit dbc2cf5f1fa0f9cc046170efa6afb086b90253cb
10837 Author: Simon Feltman <sfeltman@src.gnome.org>
10838 Date: Thu Aug 1 19:33:27 2013 -0700
10840 cache refactoring: Remove continue statements from
10841 _args_cache_generate
10843 Remove continue and goto statements from the large loop within
10844 _args_cache_generate. This simplifies the sharing of parts of
10845 the loop for future refactoring.
10847 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10849 gi/pygi-cache.c | 126
10850 +++++++++++++++++++++++++++-----------------------------
10851 1 file changed, 61 insertions(+), 65 deletions(-)
10853 commit 87ae14b8b4a0ed9beb22f48314247e988a2e017f
10854 Author: Simon Feltman <sfeltman@src.gnome.org>
10855 Date: Wed Jul 31 18:10:05 2013 -0700
10857 cache refactoring: Use bit field for PyGIDirection instead of enum
10859 This supports cleaner logic when testing the direction of
10860 arguments due to the majority of these tests being along the
10861 lines of: (direction == FROM_PYTHON || direction == BIDIRECTIONAL)
10862 Which is replaced with: (direction & FROM_PYTHON)
10864 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10866 gi/pygi-cache.c | 64
10867 ++++++++++++++++++++++++++++-----------------------------
10868 gi/pygi-cache.h | 6 +++---
10869 2 files changed, 35 insertions(+), 35 deletions(-)
10871 commit d5925b76afa3a429092cbafd82aed40bb0cf0b18
10872 Author: Simon Feltman <sfeltman@src.gnome.org>
10873 Date: Sun Jul 28 20:45:05 2013 -0700
10875 cache refactoring: Remove special case marshaling for instance
10878 Remove duplicate code for marshaling struct and objects for
10879 instance arguments. Re-use individual cache marshalers for
10880 structs and objects with the instance argument. This required
10881 removal of passing GITypeInfo to the marshaler because it is
10882 not available for instance arguments. Instead always assume
10883 "is_pointer" for the instance argument by using the cache.
10885 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10887 gi/pygi-argument.c | 4 +--
10888 gi/pygi-cache.c | 16 ++++-----
10889 gi/pygi-marshal-from-py.c | 87
10890 +++--------------------------------------------
10891 gi/pygi-marshal-from-py.h | 16 ++-------
10892 4 files changed, 16 insertions(+), 107 deletions(-)
10894 commit c19bed69c669160737e12d92cc29f3e6d1b008cc
10895 Author: Simon Feltman <sfeltman@src.gnome.org>
10896 Date: Sun Jul 28 16:44:01 2013 -0700
10898 cache refactoring: Use GPtrArray for callable arg cache
10900 Replace manual management of the C array holding individual
10901 argument caches with usage of GPtrArray. This provides storage
10902 of the array length along with item memory management.
10904 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10906 gi/pygi-cache.c | 62
10907 +++++++++++++++++++++++------------------------
10908 gi/pygi-cache.h | 16 +++++++++---
10909 gi/pygi-invoke.c | 16 ++++++------
10910 gi/pygi-marshal-cleanup.c | 8 +++---
10911 gi/pygi-marshal-from-py.c | 6 ++---
10912 gi/pygi-marshal-to-py.c | 6 ++---
10913 6 files changed, 62 insertions(+), 52 deletions(-)
10915 commit 52ea3afb0a6494423eca36a54af928d4ae5d9954
10916 Author: Simon Feltman <sfeltman@src.gnome.org>
10917 Date: Sun Jul 28 15:02:51 2013 -0700
10919 cache refactoring: Move PyGI direction code into new function
10921 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10923 gi/pygi-cache.c | 42 +++++++++++++++++++++---------------------
10924 1 file changed, 21 insertions(+), 21 deletions(-)
10926 commit 83208bf495b152e93a28a231d445f43ea827d2eb
10927 Author: Simon Feltman <sfeltman@src.gnome.org>
10928 Date: Fri Aug 2 15:59:25 2013 -0700
10930 cache refactoring: Add comments to callable cache structure
10932 Add comments to count fields on _PyGICallableCache.
10934 https://bugzilla.gnome.org/show_bug.cgi?id=640812
10936 gi/pygi-cache.h | 13 ++++++++++++-
10937 1 file changed, 12 insertions(+), 1 deletion(-)
10939 commit 0a8d5695972601eaa9f7f463bac173d02b0380a0
10940 Author: Simon Feltman <sfeltman@src.gnome.org>
10941 Date: Wed Jul 24 01:14:29 2013 -0700
10943 Remove support for allowing PyObjects as void pointers
10945 Final removal of marshaling Python object addresses as
10946 void pointers. This ensures we can successfully pass
10947 integer values as the pointer without the Python object
10948 leaking or crashing due to invalid memory.
10950 https://bugzilla.gnome.org/show_bug.cgi?id=688081
10952 gi/pygi-marshal-from-py.c | 20 ++++++--------------
10953 gi/pygi-marshal-to-py.c | 14 ++------------
10954 tests/test_signal.py | 5 +----
10955 3 files changed, 9 insertions(+), 30 deletions(-)
10957 commit 1469403ee2faa699430055384b338f0cd8e672d7
10958 Author: Simon Feltman <sfeltman@src.gnome.org>
10959 Date: Wed Sep 25 18:21:22 2013 -0700
10961 configure.ac: bump trunk to 3.11.1
10963 configure.ac | 2 +-
10964 1 file changed, 1 insertion(+), 1 deletion(-)
10966 commit 8e774e61d62c82efa3d907c1201359121878b4b5
10967 Author: Simon Feltman <sfeltman@src.gnome.org>
10968 Date: Mon Sep 23 03:57:03 2013 -0700
10970 configure.ac: post-release bump to 3.10.1
10972 configure.ac | 2 +-
10973 1 file changed, 1 insertion(+), 1 deletion(-)
10975 commit 95af6279a9affff5c816db2db53207ff0f19872d
10976 Author: Simon Feltman <sfeltman@src.gnome.org>
10977 Date: Mon Sep 23 03:17:19 2013 -0700
10982 configure.ac | 4 ++--
10983 2 files changed, 5 insertions(+), 2 deletions(-)
10985 commit c626be6317b610277c95461108573d1ae6f42b6d
10986 Author: Martin Pitt <martinpitt@gnome.org>
10987 Date: Mon Sep 23 12:06:11 2013 +0200
10989 Fix test_gi.TestProjectVersion.test_version_str()
10991 In this test case we only do a string comparison, not a proper
10993 component" numerical one. So relax the test to also work with 3.10.
10995 tests/test_gi.py | 2 +-
10996 1 file changed, 1 insertion(+), 1 deletion(-)
10998 commit 0a30f8d02099e582ea3ded800303e14d2e7ab212
10999 Author: Martin Pitt <martinpitt@gnome.org>
11000 Date: Mon Sep 16 10:12:33 2013 -0500
11005 1 file changed, 7 insertions(+)
11007 commit 506f1e35a9375be80a6a79421bf8272165fdd90a
11008 Author: Simon Feltman <sfeltman@src.gnome.org>
11009 Date: Mon Sep 16 01:23:49 2013 -0700
11011 Update current maintainers list in README
11014 1 file changed, 2 insertions(+), 1 deletion(-)
11016 commit ef120498e060e88a1efcb82de385a23c1fa9c7da
11017 Author: Simon Feltman <sfeltman@src.gnome.org>
11018 Date: Tue Sep 10 17:11:21 2013 -0700
11020 Fix union argument regression when marshaling from python
11022 Check for union members when marshaling boxed types from Python.
11023 This is a regression caused by stricter type checking added when
11024 merging code from pygi-argument.c.
11025 Re-add pyg_boxed_check to the same bit of code in addition to
11026 __gtype__ checking to avoid a double regression.
11028 https://bugzilla.gnome.org/show_bug.cgi?id=703873
11030 gi/pygi-marshal-from-py.c | 53
11031 ++++++++++++++++++++++++++---------------------
11032 1 file changed, 29 insertions(+), 24 deletions(-)
11034 commit 59a2964141e963d2961e55d4b84a777927b4f21b
11035 Author: Simon Feltman <sfeltman@src.gnome.org>
11036 Date: Wed Sep 11 05:05:33 2013 -0700
11038 Fix GLib.Source sub-classing with initializer args
11040 Add variable args and keyword args to the GLib.Source.__new__
11041 method to support sub-classes which want to implement __init__.
11043 https://bugzilla.gnome.org/show_bug.cgi?id=707904
11045 gi/overrides/GLib.py | 2 +-
11046 tests/test_source.py | 11 +++++++++++
11047 2 files changed, 12 insertions(+), 1 deletion(-)
11049 commit afa42ab95327da1de0cf86005974cd8ab0d46872
11050 Author: Vratislav Podzimek <vpodzime@redhat.com>
11051 Date: Wed Sep 4 14:17:31 2013 +0200
11053 Copy __doc__ when wrapping function
11055 Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
11056 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
11058 gi/overrides/__init__.py | 1 +
11059 1 file changed, 1 insertion(+)
11061 commit 7914a6828a533d8c579a5b422351e18b9f9afc8c
11062 Author: Martin Pitt <martinpitt@gnome.org>
11063 Date: Mon Sep 2 14:56:24 2013 +0200
11065 configure.ac: post-release bump to 3.9.92
11067 configure.ac | 2 +-
11068 1 file changed, 1 insertion(+), 1 deletion(-)
11070 commit ad8b7d1a89eb2d030a504d521f7589a4c1d835fb
11071 Author: Martin Pitt <martinpitt@gnome.org>
11072 Date: Mon Sep 2 14:38:41 2013 +0200
11076 NEWS | 10 ++++++++++
11077 1 file changed, 10 insertions(+)
11079 commit 9df8eb79929025f12d51bc7f79b1d160156c2755
11080 Author: Simon Feltman <sfeltman@src.gnome.org>
11081 Date: Mon Sep 2 04:19:35 2013 -0700
11083 Fix GObject signal methods to work with new annotations
11085 Add conditional support for signal methods annotated as gpointer
11086 or GObject.Object. This is needed to work with newer versions of
11087 glib which changed annotations to GObject.Object (bug #685387).
11089 https://bugzilla.gnome.org/show_bug.cgi?id=707280
11091 gi/overrides/GObject.py | 106
11092 ++++++++++++++++++++++++++++++------------------
11093 1 file changed, 66 insertions(+), 40 deletions(-)
11095 commit 9b6b6c7ee6a621cba99f51857eadd622a1535118
11096 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
11097 Date: Thu Aug 15 14:41:40 2013 +0800
11099 Fix build on C89 Compilers
11101 Avoid a variable declaration at the middle of the block
11103 https://bugzilla.gnome.org/show_bug.cgi?id=707264
11105 gi/pygi-closure.c | 3 ++-
11106 1 file changed, 2 insertions(+), 1 deletion(-)
11108 commit 19c1a2dfb91a83a6fb0ca76b9c95c42a49a3736e
11109 Author: Simon Feltman <sfeltman@src.gnome.org>
11110 Date: Sun Sep 1 20:44:26 2013 -0700
11112 Change boxed type checking in marshaling to use __gtype__ attribute
11114 Replace usage of pyg_boxed_check(pyboxed) with g_type_is_a and
11115 pyg_type_from_object. This has the effect of using the __gtype__
11116 attribute stashed on object class instead of the PyGBoxed
11117 internally held gtype. This fixes type descrepencies for objects
11118 marshaled into overridden signal class closures and passed back
11119 to functions taking an alias their type.
11121 https://bugzilla.gnome.org/show_bug.cgi?id=707140
11123 gi/pygi-marshal-from-py.c | 8 +++++++-
11124 tests/test_overrides_gtk.py | 34 ++++++++++++++++++++++++++++++++++
11125 2 files changed, 41 insertions(+), 1 deletion(-)
11127 commit dab0c09f1996e124ca98334e5aea0852904b44b5
11128 Author: Simon Feltman <sfeltman@src.gnome.org>
11129 Date: Sun Sep 1 17:49:09 2013 -0700
11131 Use G_IS_VALUE for checking return values in closure marshaling
11133 Replace return_value argument NULL checks in GClosureMarshal
11134 implementations with G_IS_VALUE. This checks both NULL and
11135 validity of the value (!= G_TYPE_INVALID). This is needed
11136 because GLib can pass either NULL or an invalid value based
11137 on whether or not G_ENABLE_DEBUG is set.
11138 See: https://bugzilla.gnome.org/show_bug.cgi?id=707249
11140 https://bugzilla.gnome.org/show_bug.cgi?id=707170
11142 gi/_gobject/pygtype.c | 4 ++--
11143 gi/pygi-signal-closure.c | 2 +-
11144 2 files changed, 3 insertions(+), 3 deletions(-)
11146 commit c7b75a8c250078ac8ea28752f087ed687bd20edd
11147 Author: Yanko Kaneti <yaneti@declera.com>
11148 Date: Wed Aug 21 08:53:07 2013 +0200
11150 Fix PEP-8 errors in propertyhelper.py
11152 https://bugzilla.gnome.org/show_bug.cgi?id=706319
11154 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
11156 gi/_gobject/propertyhelper.py | 12 ++++++------
11157 1 file changed, 6 insertions(+), 6 deletions(-)
11159 commit 6fdd58404103596accb6ab04d4de33846d853c58
11160 Author: Martin Pitt <martinpitt@gnome.org>
11161 Date: Mon Aug 19 17:13:30 2013 +0200
11163 configure.ac: post-release bump to 3.9.91
11165 configure.ac | 2 +-
11166 1 file changed, 1 insertion(+), 1 deletion(-)
11168 commit 6fbe2580deda215896e9583b418b8bc1aceb2f96
11169 Author: Martin Pitt <martinpitt@gnome.org>
11170 Date: Mon Aug 19 17:10:52 2013 +0200
11175 1 file changed, 9 insertions(+)
11177 commit a8d5da559ef088b05062681206758d2718946269
11178 Author: Martin Pitt <martinpitt@gnome.org>
11179 Date: Mon Aug 19 11:38:31 2013 +0200
11181 NEWS: retroactively fix last version number
11184 1 file changed, 1 insertion(+), 1 deletion(-)
11186 commit aba45eb2617c4b35168089bc9028f351732a617f
11187 Author: Benjamin Berg <benjamin@sipsolutions.net>
11188 Date: Tue Aug 6 00:41:52 2013 +0200
11190 Create GLib.Pid in the same way on python 2 and 3
11192 https://bugzilla.gnome.org/show_bug.cgi?id=705451
11194 gi/_glib/pygspawn.c | 8 --------
11195 1 file changed, 8 deletions(-)
11197 commit 2d203b7529c95ba4461a5a6d4c6b67169fabc4cf
11198 Author: Benjamin Berg <benjamin@sipsolutions.net>
11199 Date: Mon Aug 5 17:04:15 2013 +0200
11201 Use PyLong_Type.tp_new for GLib.Pid
11203 For GLib.Pid the original implementation for __new__ needs to be used,
11204 as it is able to initialize the integer correctly.
11206 https://bugzilla.gnome.org/show_bug.cgi?id=705451
11208 gi/_glib/pygspawn.c | 1 +
11209 tests/test_subprocess.py | 1 +
11210 2 files changed, 2 insertions(+)
11212 commit c32793dafbd52eab87b14ca064b47f5a4fb9000b
11213 Author: Simon Feltman <sfeltman@src.gnome.org>
11214 Date: Mon Aug 5 14:40:38 2013 -0700
11216 Add accumulator and accu_data arguments to GObject.Signal decorator
11218 Update __init__, __call__, and copy methods to accept and pass
11219 accumulators and associated user data through them. Update
11220 accumulator unittests to use Signal decorators for testing accumulator
11221 pass throughs. Verified the __gsignals__ dictionary accepts None
11222 as valid values for accumulator and accu_data so specialization
11223 for these arguments is not necessary.
11225 https://bugzilla.gnome.org/show_bug.cgi?id=705533
11227 gi/_gobject/signalhelper.py | 17 ++++++++++-----
11228 tests/test_signal.py | 52
11229 ++++++++++++++++++++++++---------------------
11230 2 files changed, 40 insertions(+), 29 deletions(-)
11232 commit 78f72654f5cb6c06e76ed9a532fc1ee328b60e50
11233 Author: Simon Feltman <sfeltman@src.gnome.org>
11234 Date: Mon Aug 5 14:12:24 2013 -0700
11236 Pass return values through the GObject.Signal.emit wrapper
11238 Return the result of GObject.emit from the Signal decorators wrapping.
11239 Update unittest for decorated return type to use skipUnless for
11241 Add test for Signal decorator return type.
11243 https://bugzilla.gnome.org/show_bug.cgi?id=705530
11245 gi/_gobject/signalhelper.py | 2 +-
11246 tests/test_signal.py | 37 +++++++++++++++++++++----------------
11247 2 files changed, 22 insertions(+), 17 deletions(-)
11249 commit 08cc206afeaefd1ce50ecfd1411807225a11c8f8
11250 Author: Simon Feltman <sfeltman@src.gnome.org>
11251 Date: Mon Jul 29 03:33:40 2013 -0700
11253 configure.ac: post-release bump to 3.9.90
11255 configure.ac | 2 +-
11256 1 file changed, 1 insertion(+), 1 deletion(-)
11258 commit 2d8f5490cdc078b3e56a92deb9eca71b3fc5ef17
11259 Author: Simon Feltman <sfeltman@src.gnome.org>
11260 Date: Mon Jul 29 02:23:02 2013 -0700
11264 NEWS | 41 +++++++++++++++++++++++++++++++++++++++++
11265 configure.ac | 2 +-
11266 2 files changed, 42 insertions(+), 1 deletion(-)
11268 commit ec3de7608ec970f6f272c9d7937344f02c6e9c3d
11269 Author: Simon Feltman <sfeltman@src.gnome.org>
11270 Date: Mon Jul 29 01:21:19 2013 -0700
11272 Ensure exceptions set in closure out argument marshaling are printed
11274 Call PyErr_Print when an exception occurs after marshaling closure
11275 out arguments. These exceptions were being ignored and cleared out
11276 only to show up in debug builds of Python.
11278 https://bugzilla.gnome.org/show_bug.cgi?id=705064
11280 gi/pygi-closure.c | 8 ++++++++
11281 tests/test_generictreemodel.py | 17 +++++++++++------
11282 2 files changed, 19 insertions(+), 6 deletions(-)
11284 commit b5dcb1800839f747a052e487643c234668384677
11285 Author: Simon Feltman <sfeltman@src.gnome.org>
11286 Date: Sun Jul 28 23:00:26 2013 -0700
11288 Use Python error messages for marshaling integers from Python
11290 Use Pythons default error messages where possible.
11291 Change all explicitly raised ValueError to use OverflowError
11292 for out of range data.
11294 https://bugzilla.gnome.org/show_bug.cgi?id=705057
11296 gi/pygi-marshal-from-py.c | 76
11297 +++++++++++++++++------------------------------
11298 tests/test_everything.py | 52 ++++++++++++++++----------------
11299 tests/test_gi.py | 64 +++++++++++++++++++--------------------
11300 tests/test_gobject.py | 2 +-
11301 4 files changed, 86 insertions(+), 108 deletions(-)
11303 commit 3c83bfb14b850670eb7c0208e55c120ca203f8af
11304 Author: Simon Feltman <sfeltman@src.gnome.org>
11305 Date: Sat Jul 27 21:10:07 2013 -0700
11307 Use Py_CLEAR for closure cleanup instead of test with Py_DECREF
11309 gi/pygi-closure.c | 11 ++---------
11310 1 file changed, 2 insertions(+), 9 deletions(-)
11312 commit f5e3876dee512ca82af6ea798b10d5ecad785dd1
11313 Author: Simon Feltman <sfeltman@src.gnome.org>
11314 Date: Sat Jul 27 15:25:20 2013 -0700
11316 Cleanup invoke args and kwargs combiner code
11318 Change _py_args_combine_and_check_length use cleaner reference
11320 It no longer DECREFs input arguments and always returns a new value
11322 Use PyGICallableCache directly as an argument instead of passing
11326 gi/pygi-invoke.c | 44 +++++++++++++++++---------------------------
11327 1 file changed, 17 insertions(+), 27 deletions(-)
11329 commit 91c49822363d8a1efc82163b46daa667d6cfc1b7
11330 Author: Simon Feltman <sfeltman@src.gnome.org>
11331 Date: Wed Jul 17 16:10:25 2013 -0700
11333 Replace Python VFunc descriptor directly with PyGIVFuncInfo
11335 Add tp_getdesc (__get__) to PyGIVFuncInfo to allow the object
11336 to be used directly as a callable descriptor. This piggy backs
11337 off the added support for functions and constructors in previous
11340 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11342 gi/pygi-info.c | 25 +++++++++++++++++++++++--
11343 gi/types.py | 33 ++++-----------------------------
11344 2 files changed, 27 insertions(+), 31 deletions(-)
11346 commit 35f79b22ec5abf02fd0bb66352eb1f251b65a078
11347 Author: Simon Feltman <sfeltman@src.gnome.org>
11348 Date: Tue Jul 16 16:00:14 2013 -0700
11350 Add callable and descriptor protocols to PyGICallableInfo
11352 Add tp_call (__call__) function to callable info objects.
11353 This allows for replacement of wrapped invoke methods directly
11354 with the already created callable info object. This has the
11355 additional side effect of making doc strings lazily bound
11356 (only generated when __doc__ is accessed).
11358 Add tp_desc_get (__get__) to PyGIFunctionInfo which returns
11359 a bound version of itself for methods and constructors.
11361 Update various internal type checks to reflect the changes.
11362 Update tests to reflect the new callable type being the same
11363 across Python 2 & 3.
11365 This patch gives roughly a %17 speedup for Gtk imports and
11366 an %11 speedup for GI method calls.
11368 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11370 gi/module.py | 5 +-
11371 gi/overrides/__init__.py | 10 ++-
11372 gi/pygi-info.c | 179
11373 ++++++++++++++++++++++++++++++++++++++++++--
11374 gi/pygi.h | 13 ++++
11375 gi/types.py | 35 +--------
11376 tests/test_docstring.py | 6 +-
11377 tests/test_gi.py | 32 +++-----
11378 tests/test_overrides_gtk.py | 4 +-
11379 8 files changed, 212 insertions(+), 72 deletions(-)
11381 commit 2339e030e4dc4d93ea770bca380a89f831d56be6
11382 Author: Simon Feltman <sfeltman@src.gnome.org>
11383 Date: Fri Jul 26 19:33:32 2013 -0700
11385 Move "from Python" GObject out arg marshaler into specialized function
11387 Move hacks specific to out argument marshaling for vfuncs into a
11388 a specialized function. This allows standard function call marshaling
11389 to continue working correctly when there are no extra references
11390 holding the arguments "foo(SomeObject())". This is currently being
11391 masked because all GI functions are wrapped by additional layers
11392 of Python functions. When these layers are removed, it exposes
11393 bugs introduced by reference counting hacks intended for vfunc
11396 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11398 gi/pygi-argument.c | 2 +-
11399 gi/pygi-marshal-from-py.c | 37 ++++++++++++++++++++++++++++++-------
11400 gi/pygi-marshal-from-py.h | 3 +++
11401 3 files changed, 34 insertions(+), 8 deletions(-)
11403 commit 627c5faaa54ed9a2b59ac1547833c171cd1a1e87
11404 Author: Simon Feltman <sfeltman@src.gnome.org>
11405 Date: Fri Jul 26 17:34:01 2013 -0700
11407 Add underscore prefix and _cache_adapter suffix to marshaling
11410 Add underscores to all _pygi_marshal_* functions. We don't currently
11411 export symbols, but we might need to for C unittesting. This will
11412 ensure we don't have a "public API".
11413 Add _cache_adapter suffix to marshaling functions which are light
11414 weight wrappers intended only for cached marshalers.
11416 gi/pygi-argument.c | 40 +++++++++++-----------
11417 gi/pygi-cache.c | 10 +++---
11418 gi/pygi-marshal-from-py.c | 86
11419 +++++++++++++++++++++++------------------------
11420 gi/pygi-marshal-from-py.h | 44 ++++++++++++------------
11421 gi/pygi-marshal-to-py.c | 48 +++++++++++++-------------
11422 gi/pygi-marshal-to-py.h | 34 +++++++++----------
11423 6 files changed, 131 insertions(+), 131 deletions(-)
11425 commit bec0b543be8d993996d8a17c343c3f2f33a9398f
11426 Author: Simon Feltman <sfeltman@src.gnome.org>
11427 Date: Tue Jul 16 11:13:17 2013 -0700
11429 Add common attribute accessors to PyGIBaseInfo
11431 Add __name__, __module__, and __doc__ accessors to
11432 PyGIBaseInfo object. This is a precursory patch for setting
11433 up PyGICallableInfo as a directly callable object with lazy
11434 doc string evaluation.
11436 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11438 gi/_glib/pyglib-python-compat.h | 5 +++
11439 gi/pygi-info.c | 83
11440 +++++++++++++++++++++++++++++++++++++++--
11441 gi/types.py | 7 ++--
11442 3 files changed, 88 insertions(+), 7 deletions(-)
11444 commit ea194404843a16555f9a475cc973872a4428bfe1
11445 Author: Simon Feltman <sfeltman@src.gnome.org>
11446 Date: Sat Jul 13 23:10:31 2013 -0700
11448 Merge method and constructor setup
11450 Merge _setup_constructors into _setup_methods as they contain same
11451 basic logic. This removes an unnecessary call with additional
11452 filtering of GIObjectInfo.get_methods() which can be large for
11453 objects with many methods.
11455 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11457 gi/types.py | 15 ++++-----------
11458 1 file changed, 4 insertions(+), 11 deletions(-)
11460 commit 6b36fbe904d19f515578f447daa7657d3a9a859c
11461 Author: Simon Feltman <sfeltman@src.gnome.org>
11462 Date: Sat Jul 13 18:11:18 2013 -0700
11464 Remove redundant info.get_name calls
11466 Remove a number of redundant calls to GIBaseInfo.get_name. Info
11467 names are already cached on function objects so re-use them when
11468 possible. This gives a small load time improvement by removing over
11469 2000 calls when importing Gtk.
11471 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11474 gi/types.py | 8 +++-----
11475 2 files changed, 3 insertions(+), 6 deletions(-)
11477 commit 6fdde256e840600c84a648ab21da2fe5c212e5bc
11478 Author: Simon Feltman <sfeltman@src.gnome.org>
11479 Date: Fri Jul 12 12:21:54 2013 -0700
11481 Move doc string generator into separate module
11483 Move the doc string generator for creating function signatures
11484 into "gi.docstring". This includes a new API for getting and
11485 setting the doc string creation functions:
11487 gi.docstring.get_doc_string_generator
11488 gi.docstring.set_doc_string_generator
11489 gi.docstring.generate_doc_string
11491 Beyond adding the ability for custom doc string generators,
11492 this API is a necessary step for adding lazy __doc__
11493 attribute access for optimization.
11495 https://bugzilla.gnome.org/show_bug.cgi?id=704037
11497 gi/Makefile.am | 3 +-
11498 gi/docstring.py | 106
11499 ++++++++++++++++++++++++++++++++++++++++++++++++
11500 gi/types.py | 55 ++-----------------------
11501 tests/Makefile.am | 1 +
11502 tests/test_docstring.py | 49 ++++++++++++++++++++++
11503 tests/test_gi.py | 30 --------------
11504 6 files changed, 161 insertions(+), 83 deletions(-)
11506 commit f86701b15ee04c717d9c6bf688101606165e4f83
11507 Author: Simon Feltman <sfeltman@src.gnome.org>
11508 Date: Wed Jul 24 19:36:28 2013 -0700
11510 tests: Change GHashTable<string,GValue> marshaling test to use GValue
11512 Add test to explicitly use a boxed GStrv GValue in addition to a
11513 Python list sub-class.
11515 https://bugzilla.gnome.org/show_bug.cgi?id=666636
11517 tests/test_everything.py | 21 +++++++++++++++------
11518 1 file changed, 15 insertions(+), 6 deletions(-)
11520 commit 6ea41b60691e1ba7e21374582d7aea072af71103
11521 Author: Simon Feltman <sfeltman@src.gnome.org>
11522 Date: Thu Jul 25 18:00:47 2013 -0700
11524 gtk-demo: Change demo to use Gtk.Application
11526 Replace deriving from Gtk.Window with deriving from Gtk.Application
11527 connected to a Gtk.ApplicationWindow instance.
11529 https://bugzilla.gnome.org/show_bug.cgi?id=698547
11531 demos/gtk-demo/demos/printing.py | 2 +-
11532 demos/gtk-demo/gtk-demo.py | 40
11533 ++++++++++++++++++++--------------------
11534 2 files changed, 21 insertions(+), 21 deletions(-)
11536 commit fae58044ea0b2e7f47fbdacc5b58ac36f673ecbd
11537 Author: Simon Feltman <sfeltman@src.gnome.org>
11538 Date: Tue Jul 23 14:25:01 2013 -0700
11540 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
11542 Move _pygi_argument_to_object_basic_type into pygi-marshal-to-py.c
11543 and rename to _pygi_marshal_to_py_basic_type.
11544 Cleanup and simplify dependant sub-marshalers for unichar, utf8,
11545 and filename types.
11547 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11549 gi/pygi-argument.c | 73 +-----------------------------
11550 gi/pygi-argument.h | 4 --
11551 gi/pygi-cache.c | 4 +-
11552 gi/pygi-marshal-to-py.c | 115
11553 +++++++++++++++++++++++++++++++++++++-----------
11554 gi/pygi-marshal-to-py.h | 27 +++---------
11555 5 files changed, 99 insertions(+), 124 deletions(-)
11557 commit cba401ac1543c2fdb68fff0dba8f6da7eed23bfa
11558 Author: Simon Feltman <sfeltman@src.gnome.org>
11559 Date: Tue Jul 23 13:06:33 2013 -0700
11561 Unify and clean up from Python marshalers for basic types
11563 Unify and cleanup boolean, float, double, gtype, unichar, utf8,
11564 and filename marshalers.
11566 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11568 gi/pygi-cache.c | 101
11569 ++--------------------------------------------
11570 gi/pygi-marshal-from-py.c | 86 ++++++++++++---------------------------
11571 gi/pygi-marshal-from-py.h | 30 --------------
11572 3 files changed, 28 insertions(+), 189 deletions(-)
11574 commit 9e6e01d065bf0acc5b99ae0e8c034d689231bfe1
11575 Author: Simon Feltman <sfeltman@src.gnome.org>
11576 Date: Tue Jul 23 12:35:06 2013 -0700
11578 Unify from Python int64 and uint64 marshalers
11580 Replaced int64 and uint64 cached marshalers with usage of the
11581 unified basic type marshaler. Replace a large amount of int64
11582 exception formatting code with usage of %S for Python 3 and
11583 give a more vague message for Python 2.
11585 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11587 gi/pygi-cache.c | 36 +--------
11588 gi/pygi-marshal-from-py.c | 193
11589 ++++++++++------------------------------------
11590 gi/pygi-marshal-from-py.h | 10 ---
11591 3 files changed, 43 insertions(+), 196 deletions(-)
11593 commit 46653922003c7d1d5d16f5cdb39b3faadf9aff27
11594 Author: Simon Feltman <sfeltman@src.gnome.org>
11595 Date: Tue Jul 23 11:03:14 2013 -0700
11597 Unify from Python int16 and int32 marshalers
11599 Add PyNumber_Check to unified basic type marshaler.
11600 Add bounds checking to unified int16 and int32 marshalers.
11601 Replaced int16 and int32 cached marshalers with usage of
11602 unified basic type marshaler.
11604 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11606 gi/pygi-cache.c | 69 +--------------
11607 gi/pygi-marshal-from-py.c | 218
11608 ++++++++++------------------------------------
11609 gi/pygi-marshal-from-py.h | 20 -----
11610 3 files changed, 48 insertions(+), 259 deletions(-)
11612 commit 4b9c725a615fcf4a5e8d089d275d4586032d0d1f
11613 Author: Simon Feltman <sfeltman@src.gnome.org>
11614 Date: Tue Jul 23 00:27:14 2013 -0700
11616 Unify from Python boolean, int8, and uint8 marshalers
11618 Replaced boolean, int8, and uint8 cached marshalers with usage of
11619 unified basic type marshaler. Add bounds checking to unified int8
11622 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11624 gi/pygi-cache.c | 48 +++------------
11625 gi/pygi-marshal-from-py.c | 146
11626 +++++++++++-----------------------------------
11627 gi/pygi-marshal-from-py.h | 20 ++-----
11628 3 files changed, 45 insertions(+), 169 deletions(-)
11630 commit f517bfbc134b78a23b754332e59b9bb67bb68e98
11631 Author: Simon Feltman <sfeltman@src.gnome.org>
11632 Date: Mon Jul 22 23:24:13 2013 -0700
11634 Add support for PyBytes with int8 and uint8 from Python marshaler
11636 This additional type marshaling is necessary for unifying marhalers
11637 due to the same feature being available with cached argument
11640 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11642 gi/pygi-marshal-from-py.c | 14 ++++++++++++++
11643 1 file changed, 14 insertions(+)
11645 commit fe9df90531f3dd04c0d13d73ebd4ae7dd396c9b1
11646 Author: Simon Feltman <sfeltman@src.gnome.org>
11647 Date: Mon Jul 22 23:23:29 2013 -0700
11649 Move from Python integer marshaling into separate function
11651 Add _pygi_marshal_from_py_long for marshaling Python objects
11652 that can convert to a PyLong type. This allows for better
11653 sharing of code amongst marshalers along with unifying
11654 them across Python 2.7 and 3.0.
11656 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11658 gi/pygi-argument.c | 3 +-
11659 gi/pygi-marshal-from-py.c | 159
11660 ++++++++++++++++++++++++----------------------
11661 2 files changed, 84 insertions(+), 78 deletions(-)
11663 commit f7748affae3d6ef0cc2e409f65761fb29c01b038
11664 Author: Simon Feltman <sfeltman@src.gnome.org>
11665 Date: Mon Jul 22 22:19:26 2013 -0700
11667 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
11669 Move _pygi_argument_from_object_basic_type into pygi-marshal-from-py.c
11670 and rename to: _pygi_marshal_from_py_basic_type
11672 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11674 gi/pygi-argument.c | 149
11675 +---------------------------------------------
11676 gi/pygi-marshal-from-py.c | 147
11677 +++++++++++++++++++++++++++++++++++++++++++++
11678 gi/pygi-marshal-from-py.h | 4 ++
11679 3 files changed, 152 insertions(+), 148 deletions(-)
11681 commit 9c9510eec782f242280af24e86adf3561e4fac72
11682 Author: Simon Feltman <sfeltman@src.gnome.org>
11683 Date: Fri Jul 19 23:37:35 2013 -0700
11685 Move basic type marshaling out of _pygi_argument_from_object
11687 Move the marshaling of Python objects to GI arguments for basic types
11688 into a new function: _pygi_argument_from_object_basic_type
11689 This is staging work needed before unifying basic type marshaling
11690 of arguments from Python to GI.
11692 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11694 gi/pygi-argument.c | 73
11695 ++++++++++++++++++++++++++++++++++--------------------
11696 1 file changed, 46 insertions(+), 27 deletions(-)
11698 commit 0e2441518ef31bd2b4102ba5780c3ded00bec59a
11699 Author: Simon Feltman <sfeltman@src.gnome.org>
11700 Date: Fri Jul 19 20:16:10 2013 -0700
11702 Replace to Python cached marshalers with unified basic type marshaler
11704 Add cached arg marshaler "_pygi_marshal_to_py_basic_type" which
11705 unifies functions, vfuncs, signals, and property marshaling for
11706 "basic types". Remove all the individual cached arg marshalers
11709 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11711 gi/pygi-argument.c | 104 +++++++++++------------------------
11712 gi/pygi-argument.h | 4 ++
11713 gi/pygi-cache.c | 114 +++++++-------------------------------
11714 gi/pygi-marshal-to-py.c | 142
11715 ++++--------------------------------------------
11716 gi/pygi-marshal-to-py.h | 48 ++--------------
11717 5 files changed, 73 insertions(+), 339 deletions(-)
11719 commit 663fe5893bbc9f34bf8aa4da3cb6f9186a8233b1
11720 Author: Simon Feltman <sfeltman@src.gnome.org>
11721 Date: Fri Jul 19 18:00:40 2013 -0700
11723 Move to Python basic type marshaling out of _pygi_argument_to_object
11725 Move the marshaling of GI arguments to Python objects for basic types
11726 into a new function. The required information for this marshaler
11727 is a GITypeTag and GITransfer. Argument marshaling matching these
11728 requirments are now found in: _pygi_argument_to_object_basic_type.
11729 The new marshaler can be used with a generic argument cache marshaler
11730 to unify all of the "basic type" marshaling.
11732 https://bugzilla.gnome.org/show_bug.cgi?id=693405
11734 gi/pygi-argument.c | 86
11735 +++++++++++++++++++++++++++++++++++++++---------------
11736 1 file changed, 63 insertions(+), 23 deletions(-)
11738 commit dd43a1e19440dbe025451d2e4e07a6074086498d
11739 Author: Simon Feltman <sfeltman@src.gnome.org>
11740 Date: Sat Jul 6 14:16:36 2013 -0700
11742 Override GValue.set/get_boxed with static C marshaler
11744 Override boxed type get/set methods on GValue to use the static C
11745 GValue marshaler. This works around the inability of the introspection
11746 version of these methods to know what the held GValue type is.
11747 With this, all boxed types will now marshal properly with GValues as
11750 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11752 gi/_gobject/gobjectmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
11753 gi/overrides/GObject.py | 9 +++++++++
11754 2 files changed, 47 insertions(+)
11756 commit 2cff4827e6d15bcad630316a8a4e67968a70bbbf
11757 Author: Simon Feltman <sfeltman@src.gnome.org>
11758 Date: Sat Jul 6 14:10:20 2013 -0700
11760 Refactor pyg_value_from_pyobject into two functions
11762 Break pyg_value_from_pyobject into two functions. One which keeps
11763 Python exceptions queued (pyg_value_from_pyobject_with_error) and
11764 one which clears them (pyg_value_from_pyobject). This allows for
11765 re-use for code which want to keep the errors around
11767 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11769 gi/_gobject/gobjectmodule.c | 4 ++-
11770 gi/_gobject/pygobject-private.h | 1 +
11771 gi/_gobject/pygobject.h | 2 ++
11772 gi/_gobject/pygtype.c | 67
11773 ++++++++++++++++++++++++++++++++---------
11774 4 files changed, 59 insertions(+), 15 deletions(-)
11776 commit 84e91a9da3522d042faca65fd2ada1ccaee60153
11777 Author: Simon Feltman <sfeltman@src.gnome.org>
11778 Date: Sat Jul 6 20:41:19 2013 -0700
11780 Fix indentation for pyg_value_from_pyobject
11782 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11784 gi/_gobject/pygtype.c | 744
11785 +++++++++++++++++++++++++-------------------------
11786 1 file changed, 372 insertions(+), 372 deletions(-)
11788 commit 6a29d9be14ec33d06816ade67a5ccf5c7a1cf398
11789 Author: Simon Feltman <sfeltman@src.gnome.org>
11790 Date: Sat Jul 6 13:32:39 2013 -0700
11792 Add deprecation warning for marshaling arbitrary objects as pointers
11794 Add deprecation warning for marshaling arbitrary objects to/from void
11795 pointers with the exception of integers, PyCapsules, and None.
11797 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11799 gi/pygi-marshal-from-py.c | 17 ++++++++++++++++-
11800 gi/pygi-marshal-to-py.c | 10 ++++++++--
11801 2 files changed, 24 insertions(+), 3 deletions(-)
11803 commit 077aefed8566adcb99d7570f52fe09c74c2098e5
11804 Author: Simon Feltman <sfeltman@src.gnome.org>
11805 Date: Sat Jul 6 13:34:53 2013 -0700
11807 Move PyGIDeprecationWarning to C for shared Python/C usage
11809 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11811 gi/__init__.py | 19 ++++---------------
11812 gi/gimodule.c | 18 ++++++++++++++++++
11814 3 files changed, 24 insertions(+), 15 deletions(-)
11816 commit 90427107af36ea3c624b36967ee181ed13b9828f
11817 Author: Simon Feltman <sfeltman@src.gnome.org>
11818 Date: Thu Jul 18 14:59:55 2013 -0700
11820 Replace usage of __import__ with importlib.import_module
11822 https://bugzilla.gnome.org/show_bug.cgi?id=682320
11824 gi/module.py | 8 ++++----
11825 1 file changed, 4 insertions(+), 4 deletions(-)
11827 commit 6391a8e4f03d4010c0d7de79fc83138fd69e0e33
11828 Author: Mike Gorse <mgorse@suse.com>
11829 Date: Wed Jul 10 16:44:23 2013 -0500
11831 Always unref the GiTypeInfo when generating an argument cache
11833 We were leaking a GiTypeInfo when handling child arguments.
11835 https://bugzilla.gnome.org/show_bug.cgi?id=703973
11837 gi/pygi-cache.c | 1 +
11838 1 file changed, 1 insertion(+)
11840 commit ce0ad7066ebdb7018fdce58dc32bbaa715206a0c
11841 Author: Mike Gorse <mgorse@suse.com>
11842 Date: Wed Jul 10 12:10:16 2013 -0500
11844 Unref interface info when fetching enums or flags
11846 When calling g_type_info_get_interface, the resulting interface should
11847 be dereferenced by calling g_base_info_unref.
11849 https://bugzilla.gnome.org/show_bug.cgi?id=703960
11851 gi/pygi-marshal-from-py.c | 8 +++++++-
11852 gi/pygi-marshal-to-py.c | 3 +++
11853 2 files changed, 10 insertions(+), 1 deletion(-)
11855 commit a93755ddba9a1761b627583d7b9be63783c2c063
11856 Author: Daniel Drake <dsd@laptop.org>
11857 Date: Tue Jul 9 13:03:36 2013 -0600
11859 Speed up MRO calculation
11861 Optimize gi.type.mro() with the following observations and tricks:
11863 1. Python prepares all the base classes before trying to calculate the
11864 MRO of the current one (it first needs to populate __bases__, for
11865 example). So we can assume that the base class MRO is already
11867 in __mro__ and this will have been previously calculated (by us,
11869 case of gi classes). This avoids repeating a lot of MRO-calculating
11871 and also avoids (re)calculating MROs for inheritance chains
11873 have any gi classes in them anyway.
11875 2. With that simplification in place, we can avoid recursion, which
11877 all that great in Python...
11879 3. ...except in the uncommon case of a Python2 old-style classes,
11881 __mro__ is not available. There doesn't seem to be any existing
11882 function to calculate or read MRO of old-style python classes,
11884 keep doing as before: calculate the C3 MRO of the old-style
11886 recursion. That behaviour is not really correct, and the
11888 not desirable, so we print a warning here.
11890 This makes the "hello world" Sugar app start up approximately
11894 https://bugzilla.gnome.org/show_bug.cgi?id=703829
11896 gi/types.py | 30 +++++++++++++++++++++++++++---
11897 tests/test_gi.py | 16 ++++++++++++----
11898 2 files changed, 39 insertions(+), 7 deletions(-)
11900 commit 7aca95781fc76f3e820e63325ccc07d128a60075
11901 Author: Daniel Drake <dsd@laptop.org>
11902 Date: Wed Jul 10 10:45:47 2013 -0600
11904 tests: Add tests for MRO override
11906 Add tests for the MRO override to prevent against unintended
11909 https://bugzilla.gnome.org/show_bug.cgi?id=703829
11911 tests/test_gi.py | 66
11912 ++++++++++++++++++++++++++++++++++++++++++--------------
11913 1 file changed, 50 insertions(+), 16 deletions(-)
11915 commit a15333a36e31b76ea6b80251553840269ec5deb1
11916 Author: Simon Feltman <sfeltman@src.gnome.org>
11917 Date: Sat Jul 6 13:34:13 2013 -0700
11919 Add GIL safety to pyobject_copy for copying boxed PyObjects
11921 https://bugzilla.gnome.org/show_bug.cgi?id=688081
11923 gi/_gobject/pygobject.c | 3 +++
11924 1 file changed, 3 insertions(+)
11926 commit 097c116d43a21bebf8e4bccde9cacc551db1e1e5
11927 Author: Simon Feltman <sfeltman@src.gnome.org>
11928 Date: Sat Jul 6 09:48:35 2013 -0700
11930 testhelper: Fix import requirement for GObject
11932 Replace the importing of gi._gobject._gobject with
11933 gi.repository.GObject
11934 in tests/testhelpermodule.c
11936 The testhelper module was only importing the static bindings
11937 (gi._gobject._gobject) and not the overrides (gi.repository.GObject).
11938 This was causing some tests to fail when test_thread was the first
11939 test to run in the suite due to it registering new types based on
11942 https://bugzilla.gnome.org/show_bug.cgi?id=703647
11944 tests/testhelpermodule.c | 2 +-
11945 1 file changed, 1 insertion(+), 1 deletion(-)
11947 commit 0f6c571755e65b5e77d3d84e4516ef90d8ce0162
11948 Author: Simon Feltman <sfeltman@src.gnome.org>
11949 Date: Wed Jul 3 05:26:12 2013 -0700
11951 Add marshalling of GI_TYPE_TAG_VOID held in a GValue to int
11953 Replace assertion for this case with a simple marshalling of the
11954 pointer value to a Python int. While not particularly useful
11955 this allows some callbacks in WebKit to function without causing
11958 https://bugzilla.gnome.org/show_bug.cgi?id=694233
11960 gi/pygi-argument.c | 4 ++--
11961 1 file changed, 2 insertions(+), 2 deletions(-)
11963 commit e0084e7e73845fa2a2da29017d3622f361f11dfb
11964 Author: Cole Robinson <crobinso@redhat.com>
11965 Date: Sat Feb 16 17:26:43 2013 -0500
11967 GTK overrides: Make connect_signals handle tuple
11969 This is used for passing extra arguments to callbacks during
11970 signal emission in the form of:
11971 builder.connect_signals({'on_clicked': (on_clicked, arg1, arg2)})
11973 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
11975 https://bugzilla.gnome.org/show_bug.cgi?id=693994
11977 gi/overrides/Gtk.py | 51 ++++++++----
11978 tests/test_overrides_gtk.py | 196
11979 +++++++++++++++++++++++++++++---------------
11980 2 files changed, 165 insertions(+), 82 deletions(-)
11982 commit 466567373289e6f141709f08efa80ba588d3d64a
11983 Author: Simon Feltman <sfeltman@src.gnome.org>
11984 Date: Tue Jul 2 18:06:01 2013 -0700
11986 Re-add support for passing GValue's by reference
11988 Fix special casing when marshaling from a Python held GValue
11989 to a GValue argument intended for a function call.
11990 The re-factoring of GValue marshaling in commit #9e47afe459df942d9f
11991 broke this by always making a copy of the GValue. This removed the
11992 ability to retrieve values with functions like
11993 gtk_style_context_get_style_property.
11995 https://bugzilla.gnome.org/show_bug.cgi?id=701058
11997 gi/pygi-argument.c | 2 +-
11998 gi/pygi-marshal-from-py.c | 32 +++++++++++++++-----------------
11999 2 files changed, 16 insertions(+), 18 deletions(-)
12001 commit 40a3cd18fd7111ae177f6ab716f78d131f59a1c0
12002 Author: Simon Feltman <sfeltman@src.gnome.org>
12003 Date: Tue Jul 2 19:20:04 2013 -0700
12005 tests: Add test for pass-by-reference GValue
12007 https://bugzilla.gnome.org/show_bug.cgi?id=701058
12009 tests/test_gi.py | 7 +++++++
12010 1 file changed, 7 insertions(+)
12012 commit 3b3251593ea107f06b160234b0ca5393cb39ac1b
12013 Author: Simon Feltman <sfeltman@src.gnome.org>
12014 Date: Tue Jul 2 23:02:17 2013 -0700
12016 Clear return value of closures to zero when an exception occures
12018 For return types other than void, set the ffi closure return argument
12019 to 0 when a Python exception occures. This a good default in general
12020 but also has the side affect of fixing failing idle callbacks
12021 by causing them to be removed from main loops (after their stack
12024 https://bugzilla.gnome.org/show_bug.cgi?id=702552
12026 gi/pygi-closure.c | 14 ++++++++++++++
12027 tests/test_gi.py | 8 ++++++++
12028 2 files changed, 22 insertions(+)
12030 commit ae3439f1d22482d6a920a869d3d17e7054af6f80
12031 Author: Martin Pitt <martinpitt@gnome.org>
12032 Date: Wed Jul 3 10:40:28 2013 +0200
12034 Don't use doctest syntax in docstrings for examples
12036 These are not actual doctests, so don't use the >>> syntax there. Just
12040 This fixes pyflakes 0.7 failures.
12042 https://bugzilla.gnome.org/show_bug.cgi?id=701009
12044 gi/_gobject/propertyhelper.py | 11 +++++------
12045 gi/overrides/GObject.py | 8 ++++----
12046 gi/overrides/Gtk.py | 2 +-
12047 3 files changed, 10 insertions(+), 11 deletions(-)
12049 commit b96a6dc968566d339a2dfd7dd631ae52d812302a
12050 Author: Garrett Regier <garrettregier@gmail.com>
12051 Date: Tue Jul 2 06:07:15 2013 -0700
12053 Add support for properties of type GInterface
12055 Add support for G_TYPE_INTERFACE/GInterface to switch
12056 statement which handles G_TYPE_OBJECT based properties.
12058 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12060 https://bugzilla.gnome.org/show_bug.cgi?id=703456
12062 gi/_gobject/gobjectmodule.c | 1 +
12063 gi/_gobject/propertyhelper.py | 3 ++-
12064 tests/test_properties.py | 16 ++++++++++++++++
12065 3 files changed, 19 insertions(+), 1 deletion(-)
12067 commit 61b268e44af63d6d78feae42578bf75aa5cfd511
12068 Author: Martin Pitt <martinpitt@gnome.org>
12069 Date: Fri Jun 21 07:27:48 2013 +0200
12071 pygtkcompat: Fix for missing methods on Windows
12073 Deal with non-existing Gtk.Clipboard.get() and
12074 GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
12076 https://bugzilla.gnome.org/show_bug.cgi?id=702787
12078 pygtkcompat/pygtkcompat.py | 10 ++++++++--
12079 1 file changed, 8 insertions(+), 2 deletions(-)
12081 commit 5e3ab0bb974cc785659666b871d795730b4f06b3
12082 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
12083 Date: Fri Jun 21 12:32:33 2013 +0800
12085 gi/pygi-info.c: Avoid C99-style variable declaration
12087 https://bugzilla.gnome.org/show_bug.cgi?id=702786
12089 gi/pygi-info.c | 3 ++-
12090 1 file changed, 2 insertions(+), 1 deletion(-)
12092 commit 94167e12c118c85cd3172f9f5824fe53e55bcc2d
12093 Author: Martin Pitt <martinpitt@gnome.org>
12094 Date: Wed May 29 11:20:35 2013 +0200
12096 GLib overrides: fix typo in deprecation message
12098 Spotted by Dmitrijs Ledkovs, thanks!
12100 gi/overrides/GLib.py | 2 +-
12101 1 file changed, 1 insertion(+), 1 deletion(-)
12103 commit 86569b69ade0fe157fa87365e9369dde84cd5c90
12104 Author: Martin Pitt <martinpitt@gnome.org>
12105 Date: Tue May 28 17:57:20 2013 +0200
12107 configure.ac: post-release version bump to 3.9.3
12109 configure.ac | 2 +-
12110 1 file changed, 1 insertion(+), 1 deletion(-)
12112 commit 10f703189ed6a7104252907d1b1a114f26d79559
12113 Author: Martin Pitt <martinpitt@gnome.org>
12114 Date: Tue May 28 17:56:07 2013 +0200
12118 NEWS | 15 +++++++++++++++
12119 1 file changed, 15 insertions(+)
12121 commit af8d048442b924c72a1d0ae868ee63ccf292759d
12122 Author: Martin Pitt <martinpitt@gnome.org>
12123 Date: Fri May 24 13:03:07 2013 +0200
12125 examples/option.py: Port to GI and Python 3
12127 examples/option.py | 38 +++++++++++++++++++-------------------
12128 1 file changed, 19 insertions(+), 19 deletions(-)
12130 commit bef5939ca77f4d6939cd9229bd124dfe825b3bdb
12131 Author: Simon Feltman <sfeltman@src.gnome.org>
12132 Date: Sun May 12 18:58:06 2013 -0700
12134 Fix vfunc info search for classes with multiple inheritance
12136 Ensure the search for vfunc GI info continues recursively even if the
12137 current class being looked at does not contain GI info of type
12138 InterfaceInfo. This more exhaustive search is needed for setups with
12139 multiple sub-classes and multiple inheritance.
12141 https://bugzilla.gnome.org/show_bug.cgi?id=700092
12143 gi/types.py | 12 +++++++-----
12144 tests/test_gi.py | 1 -
12145 2 files changed, 7 insertions(+), 6 deletions(-)
12147 commit 5b8dff59baa1a3e524dac7877dd5b33dea52b026
12148 Author: Simon Feltman <sfeltman@src.gnome.org>
12149 Date: Sun May 12 22:19:38 2013 -0700
12151 Fix closure argument conversion for enum and flag in args
12153 Replace incorrect cast and assignment of double with uint for flags
12156 gi/pygi-closure.c | 2 +-
12157 1 file changed, 1 insertion(+), 1 deletion(-)
12159 commit 065503d5e284dc89bacd79d0d9a72eb739882bf8
12160 Author: Simon Feltman <sfeltman@src.gnome.org>
12161 Date: Sat May 11 21:47:54 2013 -0700
12163 tests: Add tests for overriding vfunc implementations
12165 Add tests for overriding vfuncs for both single inheritance
12166 and multiple inheritance with an interface (currently failing).
12168 https://bugzilla.gnome.org/show_bug.cgi?id=700092
12170 tests/test_gi.py | 23 +++++++++++++++++++++++
12171 1 file changed, 23 insertions(+)
12173 commit c4e1112840004af264b4f2a052f333ea38f95cb6
12174 Author: Simon Feltman <sfeltman@src.gnome.org>
12175 Date: Sat May 11 20:28:22 2013 -0700
12177 Fix marshaling Python to FFI return value for enum and flags
12179 Add break to GI_TYPE_TAG_INTERFACE case. This was falling through
12181 assignment of arg.v_pointer to the ffi return arg.
12183 gi/pygi-closure.c | 1 +
12184 1 file changed, 1 insertion(+)
12186 commit a703217eaf4075e9720d4247351e1dfc4f553772
12187 Author: Simon Feltman <sfeltman@src.gnome.org>
12188 Date: Fri Apr 19 06:37:24 2013 -0700
12190 Remove half implemented GC in PyGIBaseInfo, PyGIStruct, and PyGIBoxed
12192 Remove half implemented GC tracking from PyGIBaseInfo as it was not
12193 needed (the implemented was also missing usage of
12194 PyObject_GC_New/Track).
12195 Ensure weakref list for PyGIBaseInfo is initialized to NULL and
12198 Remove invalid calls to PyObject_GC_UnTrack and PyObject_ClearWeakRefs
12199 for both PyGIStruct and PyGIBoxed as these types were not being
12200 advertised as GC aware with Py_TPFLAGS_HAVE_GC.
12202 https://bugzilla.gnome.org/show_bug.cgi?id=677091
12204 gi/pygi-boxed.c | 4 ----
12205 gi/pygi-info.c | 20 +++++---------------
12206 gi/pygi-struct.c | 4 ----
12207 3 files changed, 5 insertions(+), 23 deletions(-)
12209 commit 87e41db2e060acd689a2ac043bc1ac51007de6f3
12210 Author: Simon Feltman <sfeltman@src.gnome.org>
12211 Date: Fri May 3 02:00:07 2013 -0700
12213 Replace usage of pyg_begin_allow_threads with Py_BEGIN_ALLOW_THREADS
12215 Replace all usage of pyg[lib]_begin_allow_threads with direct usage
12216 of Py_BEGIN_ALLOW_THREADS.
12218 https://bugzilla.gnome.org/show_bug.cgi?id=699440
12220 gi/_glib/pyglib.h | 4 ----
12221 gi/_glib/pygoptioncontext.c | 4 ++--
12222 gi/_gobject/pygobject.c | 33 ++++++++++++++++-----------------
12223 gi/gimodule.c | 4 ++--
12224 gi/pygi-invoke.c | 4 ++--
12225 5 files changed, 22 insertions(+), 27 deletions(-)
12227 commit c9e95663d05de98a9abd3d1479554b1f09753382
12228 Author: Simon Feltman <sfeltman@src.gnome.org>
12229 Date: Thu May 2 03:57:05 2013 -0700
12231 Remove and deprecate API for setting of thread blocking functions
12233 Remove pyglib_set_thread_block_funcs and deprecate
12234 pyg_set_thread_block_funcs.
12235 The thread block function APIs are no longer be neccessary because
12237 can use the Python C API directly when working with threads.
12239 https://bugzilla.gnome.org/show_bug.cgi?id=699440
12241 gi/_glib/pyglib.c | 41 -----------------------------------
12242 gi/_glib/pyglib.h | 9 ++++----
12243 gi/_gobject/gobjectmodule.c | 25 ++++++++-------------
12244 gi/_gobject/pygobject-private.h | 33 ----------------------------
12245 gi/_gobject/pygobject.h | 48
12246 ++++++++++++++++++++---------------------
12247 gi/gimodule.c | 15 +++++++------
12248 6 files changed, 46 insertions(+), 125 deletions(-)
12250 commit 05498a5732582a5ed1944bd1383af154ca5fc4e6
12251 Author: Martin Pitt <martinpitt@gnome.org>
12252 Date: Tue Apr 30 11:51:05 2013 -0700
12254 configure.ac: Post-release bump to 3.9.2
12256 configure.ac | 2 +-
12257 1 file changed, 1 insertion(+), 1 deletion(-)
12259 commit 902bb6685fd9c90c7d81127861a152b0fab4b107
12260 Author: Martin Pitt <martinpitt@gnome.org>
12261 Date: Tue Apr 30 11:49:03 2013 -0700
12265 NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
12266 1 file changed, 49 insertions(+)
12268 commit f463d7cfaf65e0f3594ec15d897325f84225f1c5
12269 Author: Simon Feltman <sfeltman@src.gnome.org>
12270 Date: Sun Apr 28 19:59:35 2013 -0700
12272 gtk-demo: Wrap description strings at 80 characters
12274 Wrap trailing demo description strings so they are easier to read
12275 in a programming editor. The gtk-demo itself re-wraps this using
12276 textwrap and the Gtk.TextView dynamic wrapping.
12278 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12280 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
12281 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
12282 demos/gtk-demo/demos/Icon View/iconviewedit.py | 5 +++--
12283 demos/gtk-demo/demos/Tree View/liststore.py | 5 ++++-
12284 demos/gtk-demo/demos/images.py | 6 ++++--
12285 demos/gtk-demo/demos/menus.py | 20
12286 ++++++++++++++++----
12287 demos/gtk-demo/demos/pickers.py | 4 ++--
12288 demos/gtk-demo/demos/pixbuf.py | 5 +++--
12289 demos/gtk-demo/demos/rotatedtext.py | 6 ++++--
12290 9 files changed, 43 insertions(+), 22 deletions(-)
12292 commit f0d4b963c42ac31d4d17ec0f2271940df2568644
12293 Author: Simon Feltman <sfeltman@src.gnome.org>
12294 Date: Sat Apr 27 22:30:35 2013 -0700
12296 gtk-demo: Use textwrap to reformat description for Gtk.TextView
12298 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12300 demos/gtk-demo/gtk-demo.py | 8 +++++++-
12301 1 file changed, 7 insertions(+), 1 deletion(-)
12303 commit ed41e260dcf5745fcc0656412be3c4a520ee20fc
12304 Author: Simon Feltman <sfeltman@src.gnome.org>
12305 Date: Sat Apr 27 21:58:28 2013 -0700
12307 gtk-demo: Use GtkSource.View for showing source code
12309 Replace manual syntax highlighting of Gtk.TextView with usage of
12310 GtkSource.View when available. Fall back to TextView with no
12311 hightlighting when GtkSource is not available.
12313 https://bugzilla.gnome.org/show_bug.cgi?id=698547
12315 demos/gtk-demo/gtk-demo.py | 170
12316 ++++++++++++---------------------------------
12317 1 file changed, 44 insertions(+), 126 deletions(-)
12319 commit 150104db47ac5ba32758fba0c156adaecc0fbcc0
12320 Author: Mike Ruprecht <mike.ruprecht@collabora.co.uk>
12321 Date: Sun Apr 28 01:40:34 2013 -0500
12323 Use correct class for GtkEditable's get_selection_bounds() function
12325 https://bugzilla.gnome.org/show_bug.cgi?id=699096
12327 gi/overrides/Gtk.py | 2 +-
12328 1 file changed, 1 insertion(+), 1 deletion(-)
12330 commit 61663928259f6f48c11f6e43334a62dd2b3eb8e6
12331 Author: Simon Feltman <sfeltman@src.gnome.org>
12332 Date: Thu Apr 25 05:27:35 2013 -0700
12334 Test results of g_base_info_get_name for NULL
12336 Block against potential NULL result when generating type hint with
12337 _g_arg_get_pytype_hint.
12339 https://bugzilla.gnome.org/show_bug.cgi?id=698829
12341 gi/pygi-info.c | 12 ++++++++++--
12342 1 file changed, 10 insertions(+), 2 deletions(-)
12344 commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
12345 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12346 Date: Sun Apr 21 19:09:59 2013 -0300
12348 Remove g_type_init conditional call
12350 It's deprecated in the glib version we depend on.
12352 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12354 gi/_gobject/gobjectmodule.c | 3 ---
12355 1 file changed, 3 deletions(-)
12357 commit c84b071ed8d3b78b4e4a6aef12f5f8bb99bdc107
12358 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12359 Date: Sat Mar 30 20:59:44 2013 -0300
12361 Update deps versions also in README
12363 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f missed to update
12366 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12369 1 file changed, 2 insertions(+), 2 deletions(-)
12371 commit 4f25fa43e1e5c0f3cd22bcdadadb1d731f01fe34
12372 Author: Jose Rostagno <joserostagno@vijona.com.ar>
12373 Date: Sat Mar 30 20:50:35 2013 -0300
12375 Drop compat code for old python version
12377 https://bugzilla.gnome.org/show_bug.cgi?id=698763
12379 gi/_glib/pyglib-python-compat.h | 12 ------------
12380 1 file changed, 12 deletions(-)
12382 commit 8104fa04cac2cba74337e6c4b3ecf56fd6cbb80b
12383 Author: Niklas Koep <niklas.koep@gmail.com>
12384 Date: Thu Apr 25 06:14:12 2013 +0200
12386 Remove duplicate call to _gi.Repository.require()
12388 repository.require() was called twice in IntrospectionModule's
12391 https://bugzilla.gnome.org/show_bug.cgi?id=698797
12394 1 file changed, 1 deletion(-)
12396 commit f22b95033c0bcd99e9c70e6f0dc999f5e64b08a6
12397 Author: Johan Dahlin <johan@gnome.org>
12398 Date: Mon Oct 1 03:02:10 2012 -0700
12400 Add ObjectInfo.get_class_struct()
12402 https://bugzilla.gnome.org/show_bug.cgi?id=685218
12404 gi/pygi-info.c | 15 +++++++++++++++
12405 tests/test_gi.py | 4 ++++
12406 2 files changed, 19 insertions(+)
12408 commit 2d34d35e5db06b0eb29cba91d0999b20a5c0b450
12409 Author: Simon Feltman <sfeltman@src.gnome.org>
12410 Date: Mon Apr 22 03:43:23 2013 -0700
12412 Change interpretation of NULL pointer field from None to 0
12414 The usage of 0 is needed because these fields should generally
12415 be used to store integer indices or hashes, not necessarily
12416 pointers to actual data.
12418 https://bugzilla.gnome.org/show_bug.cgi?id=698366
12420 gi/pygi-argument.c | 11 +----------
12421 tests/test_everything.py | 5 +++--
12422 2 files changed, 4 insertions(+), 12 deletions(-)
12424 commit 8d61ad38eb90d639da08289c036ae4cb99336c2a
12425 Author: Sobhan Mohammadpour <sobhanmohammadpour1@yahoo.fr>
12426 Date: Fri Mar 8 08:25:58 2013 +0330
12428 Do not build tests until needed
12430 Originally by [Alexandre Rostovtsev <tetromino@gmail.com>
12432 https://bugzilla.gnome.org/show_bug.cgi?id=698444
12434 tests/Makefile.am | 12 ++++++------
12435 1 file changed, 6 insertions(+), 6 deletions(-)
12437 commit f61f23b999ae6e27ca852753da906de4ab8e6e25
12438 Author: Kai Willadsen <kai.willadsen@gmail.com>
12439 Date: Sun Apr 14 15:16:40 2013 +1000
12441 pygi-convert: Support toolbar styles
12443 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12445 pygi-convert.sh | 1 +
12446 1 file changed, 1 insertion(+)
12448 commit 7a92ade7ee5fe2f9eb8de2626c34650e2e5c06df
12449 Author: Kai Willadsen <kai.willadsen@gmail.com>
12450 Date: Sun Apr 14 10:54:04 2013 +1000
12452 pygi-convert: Support new-style constructors for Gio.File
12454 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12456 pygi-convert.sh | 2 ++
12457 1 file changed, 2 insertions(+)
12459 commit 1e8120992dc103ac817351be3c150e6cb25f719f
12460 Author: Kai Willadsen <kai.willadsen@gmail.com>
12461 Date: Sun Apr 14 10:22:55 2013 +1000
12463 pygi-convert: Add some support for recent manager constructs
12465 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12467 pygi-convert.sh | 3 +++
12468 1 file changed, 3 insertions(+)
12470 commit 17d349f98d62ea7947c1553e0ef7e867301523aa
12471 Author: Kai Willadsen <kai.willadsen@gmail.com>
12472 Date: Sun Apr 14 07:37:24 2013 +1000
12474 pygi-convert: Check for double quote in require statement
12476 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12478 pygi-convert.sh | 1 +
12479 1 file changed, 1 insertion(+)
12481 commit cc8bd6bd3fdf99762aa3431ceee347a05f6f3200
12482 Author: Kai Willadsen <kai.willadsen@gmail.com>
12483 Date: Sun Apr 14 07:37:00 2013 +1000
12485 pygi-convert: Don't transform arbitrary keysym imports
12487 https://bugzilla.gnome.org/show_bug.cgi?id=698477
12489 pygi-convert.sh | 2 +-
12490 1 file changed, 1 insertion(+), 1 deletion(-)
12492 commit 99872a18ed1468b2c85cc7b96a0d12f2ae5167f0
12493 Author: Simon Feltman <sfeltman@src.gnome.org>
12494 Date: Thu Apr 11 04:09:59 2013 -0700
12496 Remove Python keyword escapement in Repository.find_by_name
12498 Strip trailing underscore from module level items before
12499 calling g_irepository_find_by_name. This fixes a problem
12500 with GI module level items having the same name as a Python
12501 keyword raising an AttributeError during access (Pango.break_).
12503 https://bugzilla.gnome.org/show_bug.cgi?id=697363
12505 gi/pygi-info.c | 32 ++++++++++++++++++++++----------
12506 gi/pygi-info.h | 2 ++
12507 gi/pygi-repository.c | 16 ++++++++++++++++
12508 tests/test_overrides_pango.py | 5 +++++
12509 4 files changed, 45 insertions(+), 10 deletions(-)
12511 commit c07404461b126206e369270b56e613f81369c70a
12512 Author: Daniel Drake <dsd@laptop.org>
12513 Date: Mon Mar 18 16:08:09 2013 -0600
12515 Optimize signal lookup in gi repository
12517 Now that we have GSignalQuery results available to us when connecting
12518 signals, we already know which GType implements the signal in
12521 Therefore there is no need to traverse the class parent hierarchy
12522 looking for this, which takes a considerable amount of CPU time.
12524 There is also no need to canonicalize the signal name; both before
12525 and after this patch, by the time we reach this point we have already
12526 successfully looked up the signal name as presented from Python.
12528 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12530 gi/_gobject/pygobject.c | 5 ++--
12531 gi/pygi-signal-closure.c | 59
12532 +++++++++++++-----------------------------------
12533 gi/pygi-signal-closure.h | 1 +
12535 4 files changed, 23 insertions(+), 46 deletions(-)
12537 commit e220706b3e4d9fd454613fbfe1e60e7e1da94ae0
12538 Author: Daniel Drake <dsd@laptop.org>
12539 Date: Mon Mar 18 15:38:19 2013 -0600
12541 Optimize connection of Python-implemented signals
12543 Like properties, when working with signals we must detect if the
12544 signal is implemented in a Python class or if it originates from the
12545 gi repository, and act accordingly.
12547 Asking the gi repository if it can find a signal that is implemented
12548 in a Python class (it can't) takes a considerable amount of CPU time.
12550 Use g_signal_query() to find out which GType implements the signal.
12551 Then perform a simple test to see if this type is implemented at the
12552 Python level, allowing us to to skip the GI querying in this case.
12554 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12556 gi/_gobject/pygobject.c | 19 +++++++++++++++----
12557 1 file changed, 15 insertions(+), 4 deletions(-)
12559 commit e91b35d72f93678a79623347dce271148d57046f
12560 Author: Daniel Drake <dsd@laptop.org>
12561 Date: Mon Mar 18 15:24:52 2013 -0600
12563 Consolidate signal connection code
12565 This code was repeated 4 times with very little variance;
12566 consolidate it and add simple tests to ensure basic coverage.
12568 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12570 gi/_gobject/pygobject.c | 129
12571 +++++++++++++++--------------------------------
12572 tests/test_everything.py | 33 ++++++++++++
12573 2 files changed, 74 insertions(+), 88 deletions(-)
12575 commit cd91e1d5db617d470acbf8c5bc74c11c92f946f6
12576 Author: Daniel Drake <dsd@laptop.org>
12577 Date: Mon Mar 18 15:11:16 2013 -0600
12579 Fix setting of struct property values
12581 "goto out" in this context means that an error occurred, but this
12582 particular instance was sitting in the "good" codepath.
12584 Fixes setting of struct property values.
12586 gi/pygi-property.c | 3 ++-
12587 1 file changed, 2 insertions(+), 1 deletion(-)
12589 commit 8981ea0422c6837d488311dafe8937593372e736
12590 Author: Daniel Drake <dsd@laptop.org>
12591 Date: Mon Mar 18 14:25:45 2013 -0600
12593 Optimize property get/set when using GObject.props
12595 Skip GI repository lookup for properties defined on Python
12596 defined GObject types.
12598 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12600 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12602 gi/_gobject/pygobject.c | 37 +++++++++++++++++++------------------
12603 1 file changed, 19 insertions(+), 18 deletions(-)
12605 commit 266e389ff90d982151bae3ac22b9b8b0739f520f
12606 Author: Christoph Reiter <reiter.christoph@gmail.com>
12607 Date: Sat Apr 13 17:28:26 2013 +0200
12609 configure.ac: Fix PYTHON_SO with Python3.3
12611 https://bugzilla.gnome.org/show_bug.cgi?id=696646
12613 configure.ac | 5 ++++-
12614 1 file changed, 4 insertions(+), 1 deletion(-)
12616 commit e54c2d1df3812a1789ee240b0ba71ddf77c2f90a
12617 Author: Daniel Drake <dsd@laptop.org>
12618 Date: Mon Mar 18 14:13:37 2013 -0600
12620 Simplify registration of custom types
12622 Use custom quark data to track Python created GTypes.
12624 Remove previous mechanism to track registration of python-implemented
12625 GTypes as it was unused (no custom registration was ever tracked).
12627 Leave vtable pointer and set to NULL to avoid an ABI break.
12629 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12631 https://bugzilla.gnome.org/show_bug.cgi?id=696143
12633 gi/_gobject/gobjectmodule.c | 11 +++++--
12634 gi/_gobject/pygobject-private.h | 8 ++---
12635 gi/_gobject/pygobject.c | 8 ++---
12636 gi/_gobject/pygobject.h | 9 +++---
12637 gi/_gobject/pygtype.c | 69
12638 +++--------------------------------------
12639 5 files changed, 22 insertions(+), 83 deletions(-)
12641 commit 50702a09344825e3a8aa54365d78de807f989d88
12642 Author: Christoph Reiter <reiter.christoph@gmail.com>
12643 Date: Sat Apr 13 16:04:17 2013 +0200
12645 pygi-convert.sh: Add GStreamer rules
12647 https://bugzilla.gnome.org/show_bug.cgi?id=697951
12649 pygi-convert.sh | 17 +++++++++++++++++
12650 1 file changed, 17 insertions(+)
12652 commit b289176e6b37cb2825bd555cea019b85b68d5c57
12653 Author: Jussi Kukkonen <jussi.kukkonen@intel.com>
12654 Date: Sun Mar 10 15:04:40 2013 +0200
12656 pygi-convert: Add rule for TreeModelFlags
12658 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
12660 pygi-convert.sh | 1 +
12661 1 file changed, 1 insertion(+)
12663 commit 09610bf42be76f65d7d2afe1c691f7b4a7c64e5b
12664 Author: Simon Feltman <sfeltman@src.gnome.org>
12665 Date: Fri Mar 29 03:20:44 2013 -0700
12667 Unify interface struct to Python GI marshaling code
12669 Add pygi_marshal_to_py_interface_struct used for direct gi method
12670 call out args and vfunc in args.
12672 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12674 gi/pygi-argument.c | 72 ++++++-------------------------
12675 gi/pygi-marshal-to-py.c | 112
12676 +++++++++++++++++++++++++++++-------------------
12677 gi/pygi-marshal-to-py.h | 8 ++++
12678 3 files changed, 91 insertions(+), 101 deletions(-)
12680 commit 6d3a0751e71ee3c37b3bb646723aed75971e5b39
12681 Author: Simon Feltman <sfeltman@src.gnome.org>
12682 Date: Thu Mar 28 22:41:51 2013 -0700
12684 Unify Python interface struct to GI marshaling code
12686 Add pygi_marshal_from_py_interface_struct used for direct gi method
12687 call in args and vfunc out args.
12689 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12691 gi/pygi-argument.c | 75 +++++++--------------
12692 gi/pygi-cache.c | 12 +---
12693 gi/pygi-marshal-from-py.c | 167
12694 +++++++++++++++++++++++++++++-----------------
12695 gi/pygi-marshal-from-py.h | 11 +++
12696 4 files changed, 141 insertions(+), 124 deletions(-)
12698 commit 1ea654b4d34e0d119556b232796cd9370b2572f1
12699 Author: Simon Feltman <sfeltman@src.gnome.org>
12700 Date: Thu Mar 28 06:17:15 2013 -0700
12702 Unify Python float and double to GI marshaling code
12704 Change _pygi_argument_from_object to use the cachers marshalers
12705 (_pygi_marshal_from_py_float/double) directly instead of keeping a
12707 Refactor _pygi_marshal_from_py_float/double to use a common utility
12708 _pygi_py_arg_to_double for initial error checking and conversion.
12710 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12712 gi/pygi-argument.c | 26 ++++----------------------
12713 gi/pygi-marshal-from-py.c | 42 ++++++++++++++++++++----------------------
12714 2 files changed, 24 insertions(+), 44 deletions(-)
12716 commit 2eb2a712864a1a685d19018e0860cf0da7c5c9ab
12717 Author: Simon Feltman <sfeltman@src.gnome.org>
12718 Date: Thu Mar 28 05:29:08 2013 -0700
12720 Unify filename to Python GI marshaling code
12722 Change _pygi_argument_to_object to use the cachers marshaler
12723 (_pygi_marshal_to_py_filename) directly instead of keeping a
12726 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12728 gi/pygi-argument.c | 22 ++--------------------
12729 gi/pygi-marshal-to-py.c | 6 ++----
12730 2 files changed, 4 insertions(+), 24 deletions(-)
12732 commit 54aa043d96deb02589e13042a46917405ca53780
12733 Author: Simon Feltman <sfeltman@src.gnome.org>
12734 Date: Thu Mar 28 05:20:00 2013 -0700
12736 Unify utf8 to Python GI marshaling code
12738 Change _pygi_argument_to_object to use the cachers marshaler
12739 (_pygi_marshal_to_py_utf8) directly instead of keeping a
12742 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12744 gi/pygi-argument.c | 11 ++++-------
12745 gi/pygi-marshal-to-py.c | 4 +---
12746 2 files changed, 5 insertions(+), 10 deletions(-)
12748 commit 03ff41ae4bb83858338d96cc6210092c7fb82464
12749 Author: Simon Feltman <sfeltman@src.gnome.org>
12750 Date: Thu Mar 28 05:10:45 2013 -0700
12752 Unify unichar to Python GI marshaling code
12754 Change _pygi_argument_to_object to use the cachers marshaler
12755 (_pygi_marshal_to_py_unichar) directly instead of keeping a
12758 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12760 gi/pygi-argument.c | 19 ++-----------------
12761 1 file changed, 2 insertions(+), 17 deletions(-)
12763 commit 594ad084c2cc21cebce209c11740e6d4866b0b82
12764 Author: Simon Feltman <sfeltman@src.gnome.org>
12765 Date: Sat Feb 16 19:49:59 2013 -0800
12767 Unify Python unicode to filename GI marshaling code
12769 Change _pygi_argument_from_object to use the cachers marshaler
12770 (_pygi_marshal_from_py_filename) directly instead of keeping a
12773 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12775 gi/pygi-argument.c | 30 ++----------------------------
12776 1 file changed, 2 insertions(+), 28 deletions(-)
12778 commit a62e8cdf90f7b03cfc8116125ef3557f9ad08dde
12779 Author: Simon Feltman <sfeltman@src.gnome.org>
12780 Date: Sat Feb 16 19:32:54 2013 -0800
12782 Unify Python unicode to utf8 GI marshaling code
12784 Change _pygi_argument_from_object to use the cachers marshaler
12785 (_pygi_marshal_from_py_utf8) directly instead of keeping a
12788 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12790 gi/pygi-argument.c | 32 ++------------------------------
12791 1 file changed, 2 insertions(+), 30 deletions(-)
12793 commit e253c73335fccabc61e0329f8528a90f79858c67
12794 Author: Simon Feltman <sfeltman@src.gnome.org>
12795 Date: Sat Feb 16 19:16:43 2013 -0800
12797 Unify Python unicode to unichar GI marshaling code
12799 Change _pygi_argument_from_object to use the cachers marshaler
12800 (_pygi_marshal_from_py_unichar) directly instead of keeping a
12803 https://bugzilla.gnome.org/show_bug.cgi?id=693405
12805 gi/pygi-argument.c | 34 ++--------------------------------
12806 gi/pygi-marshal-from-py.c | 9 +++++++++
12807 2 files changed, 11 insertions(+), 32 deletions(-)
12809 commit 216caf590b262fed40d10bb34d020089d1197160
12810 Author: Simon Feltman <sfeltman@src.gnome.org>
12811 Date: Thu Apr 4 15:57:12 2013 -0700
12813 Fix enum and flags marshaling type assumptions
12815 Replace assignments of GFlags and GEnum values to various GIArgument
12816 members with v_uint and v_int respectively.
12818 gi/pygi-argument.c | 6 +++---
12819 gi/pygi-property.c | 4 ++--
12820 2 files changed, 5 insertions(+), 5 deletions(-)
12822 commit 4799ef1d0cb9a4b27c7952585d33b58ea9ec34ca
12823 Author: Christoph Reiter <reiter.christoph@gmail.com>
12824 Date: Thu Apr 4 10:08:38 2013 +0200
12826 Make AM_CHECK_PYTHON_LIBS not depend on AM_CHECK_PYTHON_HEADERS
12828 https://bugzilla.gnome.org/show_bug.cgi?id=696648#c6
12830 m4/python.m4 | 4 ++--
12831 1 file changed, 2 insertions(+), 2 deletions(-)
12833 commit f82f755a0f419539c223e4a74e33145726c6e69f
12834 Author: Christoph Reiter <reiter.christoph@gmail.com>
12835 Date: Thu Apr 4 09:05:48 2013 +0200
12837 Use distutils.sysconfig to retrieve the python include path.
12839 https://bugzilla.gnome.org/show_bug.cgi?id=696648
12841 m4/python.m4 | 8 ++------
12842 1 file changed, 2 insertions(+), 6 deletions(-)
12844 commit cf81dd66e6387bf27122a71176e91ca39beb6519
12845 Author: Martin Pitt <martinpitt@gnome.org>
12846 Date: Thu Apr 4 06:47:56 2013 +0200
12848 Use g_strdup() consistently
12850 https://bugzilla.gnome.org/show_bug.cgi?id=696650
12852 gi/pygi-marshal-from-py.c | 2 +-
12853 1 file changed, 1 insertion(+), 1 deletion(-)
12855 commit 6c22fea63fa6978c2a717ff12ff84d3aff776b5e
12856 Author: Christoph Reiter <reiter.christoph@gmail.com>
12857 Date: Tue Mar 26 16:03:59 2013 +0100
12859 Support PEP 3149 (ABI version tagged .so files)
12861 Add a ABI suffix to the shared library retrieved from
12862 distutils.sysconfig
12863 instead of hardcoding it. This should also make things more robust
12866 https://bugzilla.gnome.org/show_bug.cgi?id=696646
12868 configure.ac | 3 +++
12869 gi/Makefile.am | 14 +++++++-------
12870 gi/_glib/Makefile.am | 14 +++++++-------
12871 gi/_gobject/Makefile.am | 14 +++++++-------
12872 4 files changed, 24 insertions(+), 21 deletions(-)
12874 commit 2259ccac8aa2ec23240e92e303ea3f2c53dc2a88
12875 Author: Simon Feltman <sfeltman@src.gnome.org>
12876 Date: Sun Mar 31 01:32:34 2013 -0700
12878 Fix stack corruption due to incorrect format for argument parser
12880 Fix call to PyArg_ParseTupleAndKeywords that used a format parser
12881 of "l" meaning long (8 bytes) in combination with an output pointer
12882 of guint (4 bytes). Change to use gulong with a format of "k".
12884 https://bugzilla.gnome.org/show_bug.cgi?id=696892
12886 gi/_gobject/pygflags.c | 4 ++--
12887 1 file changed, 2 insertions(+), 2 deletions(-)
12889 commit 48e52210ece0e144b4c959e773ea542a912358e7
12890 Author: Simon Feltman <sfeltman@src.gnome.org>
12891 Date: Thu Mar 7 00:26:37 2013 -0800
12893 Deprecate GLib and GObject threads_init
12895 Remove a handful of Python threading related helper functions
12896 from pyglib and pygobject. The binding internals required
12897 GLib.threads_init to be called for PyGObject to work with
12898 Python threads. This was removed as it should not be a requirement.
12899 Using the Python threading module already initializes threading
12900 for us (PyEval_InitThreads).
12902 https://bugzilla.gnome.org/show_bug.cgi?id=686914
12904 gi/_glib/glibmodule.c | 16 --------
12905 gi/_glib/pyglib.c | 94
12906 ---------------------------------------------
12907 gi/_glib/pyglib.h | 28 +++++++-------
12908 gi/_gobject/gobjectmodule.c | 31 ++++-----------
12909 gi/overrides/GLib.py | 8 +++-
12910 gi/overrides/GObject.py | 2 +-
12911 6 files changed, 28 insertions(+), 151 deletions(-)
12913 commit 89d05f91cee419d46cb5318d4a9001ec315a3475
12914 Author: Martin Pitt <martinpitt@gnome.org>
12915 Date: Mon Mar 25 09:03:51 2013 +0100
12917 Drop support for Python 2.6
12919 2.7 has been released long ago, nobody tests PyGObject with 2.6 any
12921 this unblocks e. g. GNOME #682320.
12923 Drop usage of PyCObject_* (which has been superseded by PyCapsule
12925 and drop Python 2.6 specific workarounds.
12927 configure.ac | 2 +-
12928 gi/_glib/pyglib-python-compat.h | 20 ------------------
12929 gi/_gobject/pygobject.h | 6 ------
12931 m4/python.m4 | 2 +-
12932 tests/runtests.py | 45
12933 +----------------------------------------
12934 tests/test_gobject.py | 1 -
12935 tests/test_signal.py | 4 ----
12936 8 files changed, 3 insertions(+), 81 deletions(-)
12938 commit 56347953abb1e214817186581eaf2b2d8762cf97
12939 Author: Martin Pitt <martinpitt@gnome.org>
12940 Date: Wed Oct 24 16:43:25 2012 +0200
12942 Remove static PollFD bindings
12944 Use the GLib API through GI instead, and provide an override to keep a
12945 backwards compatible constructor syntax.
12947 https://bugzilla.gnome.org/show_bug.cgi?id=686795
12949 gi/_glib/Makefile.am | 2 --
12950 gi/_glib/glibmodule.c | 2 --
12951 gi/_glib/pygsource.c | 98
12952 ---------------------------------------------------
12953 gi/_glib/pygsource.h | 36 -------------------
12954 gi/overrides/GLib.py | 17 +++++++--
12955 5 files changed, 15 insertions(+), 140 deletions(-)
12957 commit a93eb5ecc982b5fe1bdf8f78b15ba10351a63b89
12958 Author: Martin Pitt <martinpitt@gnome.org>
12959 Date: Mon Mar 25 08:44:24 2013 +0100
12961 Drop test skipping due to too old g-i
12963 We depend on gobject-introspection 1.35.9 now, which has all this API.
12965 tests/test_gi.py | 24 ------------------------
12966 tests/test_object_marshaling.py | 14 --------------
12967 2 files changed, 38 deletions(-)
12969 commit f957e33bc1ef2a4175bab85cfcd9b5faf092aa2f
12970 Author: Martin Pitt <martinpitt@gnome.org>
12971 Date: Mon Mar 25 08:37:37 2013 +0100
12973 Bump glib and g-i dependencies
12975 Now require g-i 1.35.9 and glib 2.35.9, i. e. the current stable
12977 versions. This allows us to drop the conditional test suite skips
12979 static PollFD bindings.
12981 configure.ac | 6 +++---
12982 1 file changed, 3 insertions(+), 3 deletions(-)
12984 commit 252556d044322207429c0d0c269365f48e4d819a
12985 Author: Martin Pitt <martinpitt@gnome.org>
12986 Date: Mon Mar 25 08:43:53 2013 +0100
12988 configure.ac: post-release version bump to 3.9.1
12990 configure.ac | 4 ++--
12991 1 file changed, 2 insertions(+), 2 deletions(-)
12993 commit 5f82e007e2dcdbfd82a20d8c4d54f9cd7b3b77ac
12994 Author: Martin Pitt <martinpitt@gnome.org>
12995 Date: Mon Mar 25 08:12:10 2013 +0100
13000 1 file changed, 4 insertions(+)
13002 commit bb4fa093d59173f68a0b16e10016bafe7cd18f62
13003 Author: Simon Feltman <sfeltman@src.gnome.org>
13004 Date: Wed Mar 20 23:45:01 2013 -0700
13006 tests: Fix incorrect assumption when testing pyglib version
13008 Replace version test of 3.7.2 with 3.0.0 as it is the only reasonable
13009 value that can be used for a future proof unittest here.
13011 tests/test_glib.py | 4 ++--
13012 1 file changed, 2 insertions(+), 2 deletions(-)
13014 commit 78b7b0bea3068b81ba67deea4d06b1fb27434841
13015 Author: Martin Pitt <martinpitt@gnome.org>
13016 Date: Mon Mar 18 14:02:29 2013 +0100
13018 configure.ac: post-release bump to 3.8.0
13020 configure.ac | 4 ++--
13021 1 file changed, 2 insertions(+), 2 deletions(-)
13023 commit defbd63e95faafaa84230f160bc95dad0f55e37d
13024 Author: Martin Pitt <martinpitt@gnome.org>
13025 Date: Mon Mar 18 14:01:05 2013 +0100
13029 NEWS | 18 ++++++++++++++++++
13030 1 file changed, 18 insertions(+)
13032 commit a0844a896603c5c91bed24cf94106765f0ced74e
13033 Author: Simon Feltman <sfeltman@src.gnome.org>
13034 Date: Sun Mar 17 23:22:38 2013 -0700
13036 Fix stack smasher when marshaling enums as a vfunc return value
13038 Add special case for marshaling GI_TYPE_TAG_INTERFACE with enum or
13039 flag types. Default interfaces to marshal as a pointer.
13040 Add explicit cases for GType and Unichar out/return marshaling.
13041 Fix leaking of GIBaseInfo when marshaling interface as out arg.
13043 https://bugzilla.gnome.org/show_bug.cgi?id=637832
13045 gi/pygi-closure.c | 69
13046 ++++++++++++++++++++++++++++++++++++++++++++++---------
13047 tests/test_gi.py | 19 +++++++++++++++
13048 2 files changed, 77 insertions(+), 11 deletions(-)
13050 commit 669e15c35213dbce6ceb0a4a3d474aae620910ce
13051 Author: Simon Feltman <sfeltman@src.gnome.org>
13052 Date: Sun Mar 17 15:37:09 2013 -0700
13054 Change base class of PyGIDeprecationWarning based on minor version
13056 Use RuntimeWarning as the base class of PyGIDeprecationWarning
13057 for unstable (odd minor version) and use DeprecationWarning for
13058 stable (even minor version). This is so PyGObject deprecations
13059 behave the same as regular Python deprecations in stable releases.
13061 https://bugzilla.gnome.org/show_bug.cgi?id=696011
13063 gi/__init__.py | 14 +++++++++++---
13064 1 file changed, 11 insertions(+), 3 deletions(-)
13066 commit 755b2e6fc635489d98d48254ea60b2631b43dfbd
13067 Author: Alban Browaeys <prahal@yahoo.com>
13068 Date: Thu Feb 28 18:57:21 2013 +0100
13070 autogen.sh: Source gnome-autogen to fix out of source builddir
13072 https://bugzilla.gnome.org/show_bug.cgi?id=694889
13075 1 file changed, 1 insertion(+), 1 deletion(-)
13077 commit a38392a9d713b0001cf30066d337b1abbbbbc59e
13078 Author: Martin Pitt <martinpitt@gnome.org>
13079 Date: Tue Mar 5 12:22:15 2013 +0100
13081 Add 3.7.91.1 NEWS entry
13083 Forgot to push this back then.
13086 1 file changed, 3 insertions(+)
13088 commit 85f8aae849dd0fb21de8722a3af9234ca20ea1e0
13089 Author: Simon Feltman <sfeltman@src.gnome.org>
13090 Date: Sun Mar 17 04:19:57 2013 -0700
13092 pygtkcompat: Make gdk.Window.get_geometry return tuple of 5
13094 Make get_geometry return a tuple of (x, y, width, height, depth)
13095 as it did in pygtk 2.
13096 Update pygtkcompat.enable_gtk() to default to version 3.0 because
13097 version 2.0 core dumps trying to use introspection with gtk 2.
13099 pygtkcompat/pygtkcompat.py | 8 +++++++-
13100 1 file changed, 7 insertions(+), 1 deletion(-)
13102 commit 38683f721c33cc35f0260868e58643fd35f04cbe
13103 Author: Simon Feltman <sfeltman@src.gnome.org>
13104 Date: Sun Mar 17 02:08:03 2013 -0700
13106 testhelpermodule: Fix build warning for PyGObject_Type redefinition
13108 Remove dynamic retrieval of PyGObject_Type as it is available
13109 in pygobject.h since commit 2656bc47 (causing this compile warning)
13111 tests/testhelpermodule.c | 14 +-------------
13112 1 file changed, 1 insertion(+), 13 deletions(-)
13114 commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
13115 Author: Simon Feltman <sfeltman@src.gnome.org>
13116 Date: Sun Mar 17 01:51:33 2013 -0700
13118 pygtkcompat: Initialize hint to zero in set_geometry_hints
13120 pygtkcompat/pygtkcompat.py | 2 +-
13121 1 file changed, 1 insertion(+), 1 deletion(-)
13123 commit 471204953d6fc93b3d311afd133d40f7d75ec541
13124 Author: Simon Feltman <sfeltman@src.gnome.org>
13125 Date: Fri Mar 15 04:33:22 2013 -0700
13127 Remove incorrect bounds check with property helper flags
13129 Remove bounds check for flags as it is not necessary for the
13130 helper to make these kind of judgement calls in general.
13131 e.g. leave it to marshaling/internals to complain about potential
13132 problems. The flags were being bounds checked to a maximum
13133 value of 32 (the intention was most likely to limit it to 32 bits).
13135 gi/_gobject/propertyhelper.py | 3 ---
13136 tests/test_properties.py | 1 -
13137 2 files changed, 4 deletions(-)
13139 commit 2656bc47ca1219b329066da1c2c58018ae624866
13140 Author: Simon Feltman <sfeltman@src.gnome.org>
13141 Date: Thu Mar 7 18:07:17 2013 -0800
13143 Fix crash when setting property of type object to an incorrect type
13145 Add type check when marshaling an object from Python for GObject
13147 Add PyGObject_Type as part of the pygobject API to check for this.
13149 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13151 gi/_gobject/gobjectmodule.c | 3 ++-
13152 gi/_gobject/pygobject.h | 2 ++
13153 gi/pygi-marshal-from-py.c | 8 ++++++++
13154 tests/test_object_marshaling.py | 4 ++++
13155 4 files changed, 16 insertions(+), 1 deletion(-)
13157 commit 44587f42224a44a480629223c8d78a426bc32a12
13158 Author: Simon Feltman <sfeltman@src.gnome.org>
13159 Date: Thu Mar 7 17:59:02 2013 -0800
13161 Remove skipping of object property tests
13163 These were showing up as unexpected successes now that bug 675726
13166 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13168 tests/test_object_marshaling.py | 7 ++-----
13169 1 file changed, 2 insertions(+), 5 deletions(-)
13171 commit 10214ba2d96fd6d66eeea159219f585abff8632a
13172 Author: Simon Feltman <sfeltman@src.gnome.org>
13173 Date: Thu Mar 7 15:34:49 2013 -0800
13175 Give more informative error when setting property to incorrect type
13177 https://bugzilla.gnome.org/show_bug.cgi?id=695420
13179 gi/_gobject/pygobject.c | 10 ++++++++--
13180 1 file changed, 8 insertions(+), 2 deletions(-)
13182 commit 9ab6e5451aea43ed086c0d26324c4efed24476d7
13183 Author: Martin Pitt <martinpitt@gnome.org>
13184 Date: Tue Mar 5 12:04:55 2013 +0100
13186 Revert "Drop gi.overrides.overridefunc()"
13188 This reverts commit 1dc2bc9f65669417ae1964d70b85f115928b2963. External
13190 like GEdit plugins use @overrides for functions as well, we must
13194 https://bugzilla.gnome.org/show_bug.cgi?id=695199
13196 gi/overrides/Gtk.py | 7 ++++---
13197 gi/overrides/__init__.py | 24 ++++++++++++++++++++++--
13198 2 files changed, 26 insertions(+), 5 deletions(-)
13200 commit 862de794bf01a66aa6d796c674bce375cad37ba7
13201 Author: Martin Pitt <martinpitt@gnome.org>
13202 Date: Mon Mar 4 17:33:51 2013 +0100
13204 configure.ac: Post-release bump to 3.7.92
13206 configure.ac | 2 +-
13207 1 file changed, 1 insertion(+), 1 deletion(-)
13209 commit bb12e652d661cf6ce931b44a89c11951894101bf
13210 Author: Martin Pitt <martinpitt@gnome.org>
13211 Date: Mon Mar 4 17:27:50 2013 +0100
13215 NEWS | 33 +++++++++++++++++++++++++++++++++
13216 1 file changed, 33 insertions(+)
13218 commit 25a6f90f28b065dd4f1cd352826598577402dc0b
13219 Author: Martin Pitt <martinpitt@gnome.org>
13220 Date: Mon Mar 4 17:16:22 2013 +0100
13222 Dot not clobber original Gdk/Gtk functions with overrides
13224 https://bugzilla.gnome.org/show_bug.cgi?id=686835
13226 gi/overrides/Gdk.py | 3 ++-
13227 gi/overrides/Gtk.py | 3 ++-
13228 2 files changed, 4 insertions(+), 2 deletions(-)
13230 commit d50d16428edf42799489fe1befbc4ce56f0fa181
13231 Author: Martin Pitt <martinpitt@gnome.org>
13232 Date: Mon Mar 4 15:30:31 2013 +0100
13234 tests: Reorganize GError and GClosure tests
13236 Split TestGClosure.test_gclosure_in() into its three components.
13238 Merge the various TestGError* classes into one, to match the structure
13242 tests/test_gi.py | 59
13243 +++++++++++++++++++++++++-------------------------------
13244 1 file changed, 26 insertions(+), 33 deletions(-)
13246 commit 8cfd596c7849bf78a74fee04630fbbb104f02080
13247 Author: Martin Pitt <martinpitt@gnome.org>
13248 Date: Mon Mar 4 15:16:25 2013 +0100
13250 Fix memory leaks in property setting/getting
13252 Do not leak GValues and string arrays, free them properly. As we
13254 the intermediate GValues, use g_value_dup_boxed() instead of
13255 g_value_get_boxed() when appropriate.
13257 Detected by test_gi.TestPropertiesObject.test_strv test case.
13259 gi/pygi-property.c | 21 ++++++++++++++++-----
13260 1 file changed, 16 insertions(+), 5 deletions(-)
13262 commit eec8c3a932d42e92ccaf7f97d3d90948842e263f
13263 Author: Martin Pitt <martinpitt@gnome.org>
13264 Date: Mon Mar 4 12:43:24 2013 +0100
13266 Fix memory leak in pyg_flags_get_value_nicks()
13268 Discovered by test_gi.TestKeywords.test_uppercase() test.
13270 gi/_gobject/pygflags.c | 7 +++++--
13271 1 file changed, 5 insertions(+), 2 deletions(-)
13273 commit 002a834dd993b82508a4fe262269befcf1a6d341
13274 Author: Martin Pitt <martinpitt@gnome.org>
13275 Date: Mon Mar 4 12:10:03 2013 +0100
13277 Fix memory leak in _pygi_argument_to_array()
13279 Free the originally allocated GArray data before setting it to
13283 Discovered by test_gi.TestStructure.test_boxed_struct_return test
13286 gi/pygi-argument.c | 1 +
13287 1 file changed, 1 insertion(+)
13289 commit d32b410a1b1fcca6d10d75fbd771ea789999da64
13290 Author: Martin Pitt <martinpitt@gnome.org>
13291 Date: Mon Mar 4 10:19:34 2013 +0100
13293 Fix leaking inout C arrays
13295 g_*_info_invoke() changes the original state->in_args and state->args
13297 to the output values for (inout) arguments, thus losing the pointer
13299 originally allocated array. Remember that in state->args_data,
13301 free it in _pygi_marshal_cleanup_from_py_array().
13303 Reproduced by test_gi.TestArray.test_array_fixed_inout test case.
13305 gi/pygi-marshal-cleanup.c | 6 ++++++
13306 gi/pygi-marshal-from-py.c | 4 ++++
13307 2 files changed, 10 insertions(+)
13309 commit e4098cbc28ff9324fa851bca2e423da4e51b5091
13310 Author: Martin Pitt <martinpitt@gnome.org>
13311 Date: Fri Mar 1 15:12:31 2013 +0100
13313 Fix leak in _PyGI_ERROR_PREFIX()
13315 Properly clean up our allocated py_error_prefix string.
13317 Fixes memory leak in e. g. test_gi.TestArray.test_array_fixed_int_in.
13319 gi/pygi-private.h | 1 +
13320 1 file changed, 1 insertion(+)
13322 commit b388c3e87ce86d26560337c88eb33d0a95647db8
13323 Author: Martin Pitt <martinpitt@gnome.org>
13324 Date: Fri Mar 1 15:01:06 2013 +0100
13326 Fix leaking of boxed array elements
13328 Commit 631d8ef879a copies struct array elements, but this needlessly
13330 and leaks the array element for boxed types. So only do it for
13333 This fixes the memory leak with
13334 test_gi.TestGValue.test_gvalue_flat_array_out.
13336 https://bugzilla.gnome.org/show_bug.cgi?id=693402
13338 gi/pygi-marshal-to-py.c | 3 ++-
13339 1 file changed, 2 insertions(+), 1 deletion(-)
13341 commit 1dc2bc9f65669417ae1964d70b85f115928b2963
13342 Author: Martin Pitt <martinpitt@gnome.org>
13343 Date: Fri Mar 1 14:04:34 2013 +0100
13345 Drop gi.overrides.overridefunc()
13347 This just adds an unnecessary extra function call and is not really
13349 Drop it from the only remaining function which uses this
13350 (Gtk.main_quit) and
13351 drop overridefunc().
13353 https://bugzilla.gnome.org/show_bug.cgi?id=686835
13355 gi/overrides/Gtk.py | 7 +++----
13356 gi/overrides/__init__.py | 24 ++----------------------
13357 2 files changed, 5 insertions(+), 26 deletions(-)
13359 commit 1edc4ba31b3f9375ec3920aab5b71eb066ee3739
13360 Author: Martin Pitt <martinpitt@gnome.org>
13361 Date: Fri Mar 1 14:02:02 2013 +0100
13363 Add some tests for overridden Gdk/Gtk functions
13365 Add tests for Gtk.main_quit, Gtk.stock_parse(), and Gdk.color_parse(),
13367 have overrides for them.
13369 tests/test_overrides_gdk.py | 7 +++++++
13370 tests/test_overrides_gtk.py | 15 +++++++++++++++
13371 2 files changed, 22 insertions(+)
13373 commit 6f6c0ceff00fea83bc85756b10694f7c96039abc
13374 Author: Martin Pitt <martinpitt@gnome.org>
13375 Date: Fri Mar 1 11:10:01 2013 +0100
13377 Fix GLib.Source ref leak upon destruction
13379 In GLib.Source.__del__(), manually unref the source if we are a
13381 As we use a static binding to create it, the GI part won't unref it
13383 leading to finalize() method not being called and the GSource
13386 https://bugzilla.gnome.org/show_bug.cgi?id=510511
13388 gi/overrides/GLib.py | 4 ++++
13389 tests/test_source.py | 31 +++++++++++++++++++++++++++++++
13390 2 files changed, 35 insertions(+)
13392 commit 91f76dd94fb0afc6888a821a31c3a4e2e053360e
13393 Author: Martin Pitt <martinpitt@gnome.org>
13394 Date: Thu Feb 28 15:08:56 2013 +0100
13396 Add performance test for Gtk.ListStore.append
13398 We are going to optimize this in various ways, so let's measure it.
13400 tests/test_overrides_gtk.py | 14 ++++++++++++++
13401 1 file changed, 14 insertions(+)
13403 commit b1ff74b085bdca72c272f019be4dd387073a991a
13404 Author: Simon Feltman <sfeltman@src.gnome.org>
13405 Date: Thu Feb 28 04:32:30 2013 -0800
13407 Optimize GValue.get/set_value by setting GValue.g_type to a local
13409 This increases performance by a factor of 2x for types later
13412 https://bugzilla.gnome.org/show_bug.cgi?id=694857
13414 gi/overrides/GObject.py | 98
13415 +++++++++++++++++++++++++------------------------
13416 1 file changed, 51 insertions(+), 47 deletions(-)
13418 commit 105e6738ee249b64904da26ae45dd273ca4eeba8
13419 Author: Martin Pitt <martinpitt@gnome.org>
13420 Date: Thu Feb 28 11:43:47 2013 +0100
13422 Fix leak of caller-allocated boxed values
13424 Add a new "allocated_slice" argument to _pygi_boxed_new() which
13426 whether its "boxed" pointer was allocated using a slice (by giving
13428 malloc (by specifying 0), as _pygi_boxed_new cannot determine that
13432 Use this in _pygi_marshal_to_py_interface_struct() for
13433 caller-allocated boxed
13434 values, as _caller_alloc() uses _pygi_boxed_alloc() for those
13436 which would otherwise leak.
13438 Thanks to Mike Gorse <mgorse@suse.com> for the original patch!
13440 https://bugzilla.gnome.org/show_bug.cgi?id=691501
13442 gi/gimodule.c | 2 +-
13443 gi/pygi-argument.c | 2 +-
13444 gi/pygi-boxed.c | 14 ++++++++++----
13445 gi/pygi-boxed.h | 3 ++-
13446 gi/pygi-marshal-to-py.c | 6 ++++--
13447 gi/pygi-source.c | 3 ++-
13448 6 files changed, 20 insertions(+), 10 deletions(-)
13450 commit 64bcca2d39fed1734ad1abbe291406387e901f5c
13451 Author: Martin Pitt <martinpitt@gnome.org>
13452 Date: Thu Feb 28 10:48:18 2013 +0100
13454 Fix memory handling of caller-allocated boxed types
13456 _pygi_marshal_to_py_interface_struct() and other places treat
13458 G_TYPE_BOXED as boxed values and wrap them with _pygi_boxed_new(). Fix
13459 _caller_alloc() and _cleanup_caller_allocates() to consider
13461 subtypes as well and use the slice allocator instead of malloc()'ing
13463 This avoids trying to free an malloc'ed struct with g_slice_free()
13465 cleans up the boxed values.
13467 The leak was produced with:
13469 G_SLICE=debug-blocks PYTHONPATH=. valgrind --tool=memcheck
13470 --leak-check=full --show-possibly-lost=no \
13471 python3 -c 'from gi.repository import Gtk; b=Gtk.TextBuffer();
13472 (s,e) = b.get_bounds()'
13474 gi/pygi-invoke.c | 2 +-
13475 gi/pygi-marshal-cleanup.c | 2 +-
13476 2 files changed, 2 insertions(+), 2 deletions(-)
13478 commit 4f5e8b7554b6388aa2d0eb4a3b285d99499163be
13479 Author: Martin Pitt <martinpitt@gnome.org>
13480 Date: Wed Feb 27 23:21:34 2013 +0100
13482 Fix cleanup of GValue arrays
13484 Commit bc1fd8 introduced a thinko: We must not change
13485 item_arg_cache->from_py_cleanup, as it's a global cache. Revert
13487 change, and instead put the hack into
13488 _pygi_marshal_cleanup_from_py_array(),
13489 which now short-circuits
13490 _pygi_marshal_cleanup_from_py_interface_struct_gvalue() to avoid
13491 trying to release a slice which has never been allocated in
13492 _pygi_marshal_from_py_array().
13494 https://bugzilla.gnome.org/show_bug.cgi?id=672224
13496 gi/pygi-marshal-cleanup.c | 11 ++++++++++-
13497 gi/pygi-marshal-from-py.c | 10 +++-------
13498 2 files changed, 13 insertions(+), 8 deletions(-)
13500 commit 70118c3840b10e1585d066a4be485c097cd23e99
13501 Author: Martin Pitt <martinpitt@gnome.org>
13502 Date: Wed Feb 27 21:52:43 2013 +0100
13504 Revert "Mark caller-allocated boxed structures as having a slice
13507 This is wrong after all, as it sets slice_allocated to TRUE, but
13509 corresponding size. Also, poking in internal fields from that place
13511 this should rather be fixed in gi/pygi-marshal-cleanup.c
13512 _cleanup_caller_allocates().
13514 This reverts commit dc3d21173b75232f7ea0b9913f7309486456a69d.
13516 gi/pygi-marshal-to-py.c | 4 +---
13517 1 file changed, 1 insertion(+), 3 deletions(-)
13519 commit a51c72c771dafc0c13d7990f1ff3e428dca729a1
13520 Author: Martin Pitt <martinpitt@gnome.org>
13521 Date: Wed Feb 27 21:51:30 2013 +0100
13523 Run tests with G_SLICE=debug_blocks
13525 This will help finding regressions in slice management, like in
13526 https://bugzilla.gnome.org/show_bug.cgi?id=691501
13528 tests/Makefile.am | 3 ++-
13529 1 file changed, 2 insertions(+), 1 deletion(-)
13531 commit 4f6ebcfe0605a7a593dc3f9dd322a4da9bd091a3
13532 Author: Martin Pitt <martinpitt@gnome.org>
13533 Date: Wed Feb 27 18:30:23 2013 +0100
13535 Add override helper for stripping boolean returns
13537 Introduce a gi.overrides.strip_boolean_result() helper which checks
13539 return value and if True, return the remaining arguments, otherwise
13541 default. This pattern is being used by a lot of overrides, which get
13542 significantly smaller and more consistent that way.
13544 https://bugzilla.gnome.org/show_bug.cgi?id=694431
13546 gi/overrides/Gdk.py | 27 +-------
13547 gi/overrides/Gtk.py | 156
13548 +++++++++--------------------------------------
13549 gi/overrides/__init__.py | 22 +++++++
13550 3 files changed, 53 insertions(+), 152 deletions(-)
13552 commit 08c97b0bd3140921f1b5c74f7764e23d3a9bf0ee
13553 Author: Martin Pitt <martinpitt@gnome.org>
13554 Date: Wed Feb 27 15:39:23 2013 +0100
13556 Drop obsolete pygobject_register_sinkfunc() declaration
13558 There is no definition for this any more, nor is it being used
13561 https://bugzilla.gnome.org/show_bug.cgi?id=639849
13563 gi/_gobject/pygobject-private.h | 2 --
13564 1 file changed, 2 deletions(-)
13566 commit b6fefd625b843d4fc3dabc456584a2ad27a48c8c
13567 Author: Martin Pitt <martinpitt@gnome.org>
13568 Date: Wed Feb 27 13:41:55 2013 +0100
13570 Fix marshalling of C arrays with explicit length in signal arguments
13572 We need _pygi_argument_to_array() from both closure marshalling
13574 the arguments as GIArgument array) and signal closure marshalling
13576 have the arguments in a GValue array). Add an alternative
13578 parameter to _pygi_argument_to_array() so that callers can specify
13580 other depending on which type they have available.
13582 This allows us to pass on the full argument list for signal closures,
13584 _pygi_argument_to_array() can access the explicit length argument
13588 This fixes the GSettings:change-event signal.
13590 https://bugzilla.gnome.org/show_bug.cgi?id=662241
13592 gi/pygi-argument.c | 36 ++++++++++++++++++++++++++++--------
13593 gi/pygi-argument.h | 1 +
13594 gi/pygi-closure.c | 2 +-
13595 gi/pygi-info.c | 4 ++--
13596 gi/pygi-signal-closure.c | 3 ++-
13597 tests/test_gio.py | 18 ++++++++++++++++++
13598 6 files changed, 52 insertions(+), 12 deletions(-)
13600 commit caeeeb7e4282e183eefc3c53b2d53c8c2bb7de89
13601 Author: Martin Pitt <martinpitt@gnome.org>
13602 Date: Wed Feb 27 08:07:20 2013 +0100
13604 Fix signedness, overflow checking, and 32 bit overflow of GFlags
13606 GFlagsValue.value is a guint, so we must access it as unsigned
13608 new macros PYGLIB_PyLong_FromUnsignedLong() and
13609 PYGLIB_PyLong_AsUnsignedLong()
13610 for that purpose, and consistently use them for handling flag
13612 checked variant of these functions which produce OverflowErrors
13614 of the unchecked PYGLIB_PyLong_AS_LONG().
13616 Insert zero padding after the PyLongObject in PyGFlags and
13618 this, the directly adjacent GType field seems to confuse
13619 PyLong_FromUnsignedLong() and includes the GType into the numeric
13622 https://bugzilla.gnome.org/show_bug.cgi?id=693121
13624 gi/_glib/pyglib-python-compat.h | 8 +++++++
13625 gi/_gobject/gobjectmodule.c | 2 +-
13626 gi/_gobject/pygflags.c | 52
13627 +++++++++++++++++++++++++----------------
13628 gi/_gobject/pygobject-private.h | 10 ++++----
13629 gi/_gobject/pygobject.h | 4 ++--
13630 gi/_gobject/pygtype.c | 6 ++---
13631 tests/test_overrides_gdk.py | 15 ++++++++++++
13632 7 files changed, 67 insertions(+), 30 deletions(-)
13634 commit b3a3da37e369f3f5d434c8dc9f3c7f1e74d537ac
13635 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
13636 Date: Tue Feb 26 16:15:36 2013 +0800
13638 gi/pygi-marshal-from-py.c: Fix build on Visual C++
13640 Since Visual C++ does not provide the INFINITY and NAN constants
13642 math.h (they are items defined by C99), provide fallback
13644 for it here. The INFINITY constant can be provided with HUGE_VAL,
13646 we are using INFINITY to check the value of a variable of double
13648 we could use a rather simple workaround for NAN.
13650 Also avoid declaring variables in the middle of the block.
13652 https://bugzilla.gnome.org/show_bug.cgi?id=692856
13654 gi/pygi-marshal-from-py.c | 19 ++++++++++++++++++-
13655 1 file changed, 18 insertions(+), 1 deletion(-)
13657 commit 5210e3d5bb7936a21b6a2c938ede505bf1d848c9
13658 Author: Martin Pitt <martinpitt@gnome.org>
13659 Date: Tue Feb 26 16:42:19 2013 +0100
13661 Fix some style issues with previous patch
13663 gi/pygi-cache.c | 6 +++---
13664 1 file changed, 3 insertions(+), 3 deletions(-)
13666 commit 999679beaa9f5b36d9483abdbd30cd5e113b6bf6
13667 Author: Martin Pitt <martinpitt@gnome.org>
13668 Date: Tue Feb 26 10:15:22 2013 +0100
13670 Raise DeprecationWarning on deprecated callables
13672 Check if a callable is marked as deprecated and raise a
13673 DeprecationWarning in
13677 - Python hides DeprecationWarning by default, you need to enable
13679 - The deprecation message is currently not in the typelib (bug
13682 https://bugzilla.gnome.org/show_bug.cgi?id=665084
13684 gi/pygi-cache.c | 14 ++++++++++++++
13685 tests/test_gi.py | 10 ++++++++++
13686 2 files changed, 24 insertions(+)
13688 commit 9f8258cfdcf562aa6cf37b9e66075b7f6a6ed97a
13689 Author: Simon Feltman <sfeltman@src.gnome.org>
13690 Date: Mon Feb 18 00:39:45 2013 -0800
13692 pygtkcompat: Add Widget.window, scroll_to_mark, and window methods
13694 Fix gi.pygtkcompat attempting relative import in Python < 3.0.
13695 Add Gtk.Widget.window property which uses get_window()
13696 Add Gtk.TextView.scroll_to_mark with defaults
13697 Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
13699 https://bugzilla.gnome.org/show_bug.cgi?id=694067
13701 gi/pygtkcompat.py | 2 ++
13702 pygtkcompat/pygtkcompat.py | 14 ++++++++++++++
13703 2 files changed, 16 insertions(+)
13705 commit e8e2bbee7bb79039bbd9a968f7db88438bd937f9
13706 Author: Simon Feltman <sfeltman@src.gnome.org>
13707 Date: Sun Dec 16 02:56:06 2012 -0800
13709 pygtkcompat: Add Gtk.Window.set_geometry_hints which accepts keyword
13712 Monkey patch a keyword argument version of set_geometry_hints onto
13714 This version is compatible with pygtk and takes keywords instead of a
13715 Gdk.Geometry and Gdk.GeometryMask.
13717 https://bugzilla.gnome.org/show_bug.cgi?id=694067
13719 pygtkcompat/pygtkcompat.py | 44
13720 ++++++++++++++++++++++++++++++++++++++++++++
13721 1 file changed, 44 insertions(+)
13723 commit 1ca0e142709843cdae9ca965dfa6cc292ef53ab5
13724 Author: Martin Pitt <martinpitt@gnome.org>
13725 Date: Tue Feb 26 10:09:47 2013 +0100
13727 tests: Fix warning behaviour
13729 -Werror::* does not seem to do what it says on the tin, these
13731 ignored entirely apparently. Just keep -Wd to actually show all
13733 including DeprecationWarning, which is hidden by default.
13735 tests/Makefile.am | 2 +-
13736 1 file changed, 1 insertion(+), 1 deletion(-)
13738 commit e7ea6952c7a2d8da68ed8b66770d889cd756df9a
13739 Author: Martin Pitt <martinpitt@gnome.org>
13740 Date: Tue Feb 26 08:49:10 2013 +0100
13742 Ship pygobject.doap for autogen.sh
13744 https://bugzilla.gnome.org/show_bug.cgi?id=694591
13747 1 file changed, 1 insertion(+)
13749 commit 80ed803dab3ad914d7214a475e3c6ed743dfdccc
13750 Author: Simon Feltman <sfeltman@src.gnome.org>
13751 Date: Tue Feb 19 03:07:19 2013 -0800
13753 Fix crashes in various GObject signal handler functions
13755 Fix crashes in a large amount of signal handler functions exposed
13756 on the GObject module. This is possible now that the underlying
13757 GObject pointer is exposed to Python as a PyCapsule which marshaling
13758 can handle. The following functions in the GObject module have been
13761 signal_handler_unblock
13762 signal_handler_disconnect
13763 signal_handler_is_connected
13764 signal_stop_emission
13765 signal_stop_emission_by_name
13766 signal_has_handler_pending
13767 signal_connect_closure
13768 signal_connect_closure_by_id
13769 signal_handler_find
13770 signal_handlers_destroy
13772 https://bugzilla.gnome.org/show_bug.cgi?id=633927
13774 gi/_gobject/gobjectmodule.c | 57 ++--------------
13775 gi/overrides/GObject.py | 158
13776 ++++++++++++++++++++++++++++++++++----------
13777 tests/test_signal.py | 121 ++++++++++++++++++++++++++++++++-
13778 3 files changed, 247 insertions(+), 89 deletions(-)
13780 commit e9c578c1d47375cb2249ccdd86873faad04b89e1
13781 Author: Olivier Crête <olivier.crete@collabora.com>
13782 Date: Fri Sep 14 21:29:53 2012 -0400
13784 pygi-closure: Protect the GSList prepend with the GIL
13786 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
13788 https://bugzilla.gnome.org/show_bug.cgi?id=684060
13790 gi/pygi-closure.c | 4 ++--
13791 1 file changed, 2 insertions(+), 2 deletions(-)
13793 commit 6e0a32f6d9febbd782dc56a619974f009e79abd9
13794 Author: Simon Feltman <sfeltman@src.gnome.org>
13795 Date: Wed Feb 20 01:21:32 2013 -0800
13797 generictreemodel: Fix bad default return type for get_column_type
13799 pygtkcompat/generictreemodel.py | 2 +-
13800 1 file changed, 1 insertion(+), 1 deletion(-)
13802 commit 8ec5c335e223bdf00c7bb6c9aac3e7ac7791e38e
13803 Author: Martin Pitt <martinpitt@gnome.org>
13804 Date: Tue Feb 19 12:23:13 2013 +0100
13806 configure.ac: post-release bump to 3.7.91
13808 configure.ac | 2 +-
13809 1 file changed, 1 insertion(+), 1 deletion(-)
13811 commit f2fb7f6142cd7112db9c2526d7f1c642a50cfc2a
13812 Author: Martin Pitt <martinpitt@gnome.org>
13813 Date: Tue Feb 19 12:19:35 2013 +0100
13817 NEWS | 17 +++++++++++++++++
13818 configure.ac | 2 +-
13819 2 files changed, 18 insertions(+), 1 deletion(-)
13821 commit 840c871441cb215f24cc6e7ed26b9f38e5aad0df
13822 Author: Simon Feltman <sfeltman@src.gnome.org>
13823 Date: Mon Feb 18 01:46:22 2013 -0800
13825 overrides: Fix inconsistencies with drag and drop target list API
13827 Add support to Gtk.Widget.drag_dest_set_target_list and
13828 Gtk.Widget.drag_source_set_target_list to accept iterables containing
13829 mixed TargetEntry or a tuple of (target, flags, info).
13830 Add support to Gtk.TreeView.enable_model_drag_source and
13831 Gtk.TreeView.enable_model_drag_dest to accept a list of
13835 https://bugzilla.gnome.org/show_bug.cgi?id=680640
13837 gi/overrides/Gtk.py | 40 +++++++++++++++++++++++++++++-----------
13838 tests/test_overrides_gtk.py | 32 ++++++++++++++++++++++++++++++++
13839 2 files changed, 61 insertions(+), 11 deletions(-)
13841 commit 62e94b0f87845bb7a1cfddf70dcdc89ff7a80bf7
13842 Author: Simon Feltman <sfeltman@src.gnome.org>
13843 Date: Mon Feb 18 03:19:34 2013 -0800
13845 tests: Add test_marshaling_object to Makefile.am
13847 tests/Makefile.am | 1 +
13848 1 file changed, 1 insertion(+)
13850 commit a10fb7216de57046d1ecacb73dd032eaadcbad09
13851 Author: Simon Feltman <s.feltman@gmail.com>
13852 Date: Wed Aug 29 03:46:23 2012 -0700
13854 pygtkcompat: Add pygtk compatible GenericTreeModel implementation
13856 Add Python implementation of the GenericTreeModel that was
13857 available in pygtk. The implementation attempts a better job
13858 than the original at ref counting by guaranteeing no leaks
13859 upon deletion of the model itself. Or by using the extra "node"
13860 argument to the row_deleted signal. The model is available in
13861 the pygtkcompat package directly as
13862 pygtkcompat.generictreemodel.GenericTreeModel or with as
13863 gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
13865 Add file list and tree demos making use of GenericTreeModel
13868 Auto-expand gtk-demo app tree to give a better overview of
13869 the demos available.
13871 https://bugzilla.gnome.org/show_bug.cgi?id=682933
13873 .../gtk-demo/demos/Tree View/treemodel_filelist.py | 234 ++++++++++++
13874 .../gtk-demo/demos/Tree View/treemodel_filetree.py | 279 ++++++++++++++
13875 demos/gtk-demo/gtk-demo.py | 2 +-
13876 gi/pygtkcompat.py | 2 +-
13877 pygtkcompat/Makefile.am | 1 +
13878 pygtkcompat/generictreemodel.py | 420
13879 +++++++++++++++++++++
13880 pygtkcompat/pygtkcompat.py | 3 +
13881 tests/Makefile.am | 1 +
13882 tests/test_generictreemodel.py | 406
13883 ++++++++++++++++++++
13884 9 files changed, 1346 insertions(+), 2 deletions(-)
13886 commit 871878c7a1e18fbdbf0744e0dd52cbcc6b610cdb
13887 Author: Simon Feltman <sfeltman@src.gnome.org>
13888 Date: Mon Feb 18 02:54:14 2013 -0800
13890 overrides: Add support for iterables besides tuples for TreePath
13893 Allow Gtk.TreePath to accept any iterable for creation of the path.
13895 https://bugzilla.gnome.org/show_bug.cgi?id=682933
13897 gi/overrides/Gtk.py | 2 +-
13898 1 file changed, 1 insertion(+), 1 deletion(-)
13900 commit 93c1536b45f56c20b6d874c41c4cacd2b6cdca0a
13901 Author: Simon Feltman <sfeltman@src.gnome.org>
13902 Date: Fri Feb 15 22:56:29 2013 -0800
13904 Unify Python callable to GClosure GI marshaling code
13906 Add pygi_marshal_from_py_gclosure which can be used for direct
13908 call args and vfunc out args.
13910 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13912 gi/pygi-argument.c | 14 +-----------
13913 gi/pygi-marshal-from-py.c | 55
13914 ++++++++++++++++++++++++++++-------------------
13915 gi/pygi-marshal-from-py.h | 3 +++
13916 3 files changed, 37 insertions(+), 35 deletions(-)
13918 commit 9e47afe459df942d9ffc4f71b39f1443976293df
13919 Author: Simon Feltman <sfeltman@src.gnome.org>
13920 Date: Fri Feb 15 20:56:12 2013 -0800
13922 Unify Python object to GValue GI marshaling code
13924 Add pygi_marshal_from_py_g_value which can be used for direct
13926 call args and vfunc out args. The new method also adds an
13928 parameter that will be used to fix leaks in the future.
13930 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13932 gi/pygi-argument.c | 43 +++++++--------------------
13933 gi/pygi-marshal-from-py.c | 74
13934 ++++++++++++++++++++++++++++++++---------------
13935 gi/pygi-marshal-from-py.h | 5 ++++
13936 3 files changed, 65 insertions(+), 57 deletions(-)
13938 commit 15cd7be5ad80e2411d6c13b04f5e2c33e4f5605e
13939 Author: Simon Feltman <sfeltman@src.gnome.org>
13940 Date: Fri Feb 15 23:07:57 2013 -0800
13942 Rename pygi_marshal_from_py_object to make it more explicit
13944 Rename pygi_marshal_from_py_object to pygi_marshal_from_py_gobject
13945 to make it more explicit and give consistency with future refactoring.
13947 https://bugzilla.gnome.org/show_bug.cgi?id=693405
13949 gi/pygi-argument.c | 2 +-
13950 gi/pygi-marshal-from-py.c | 22 +++++++++++++---------
13951 gi/pygi-marshal-from-py.h | 6 +++---
13952 3 files changed, 17 insertions(+), 13 deletions(-)
13954 commit 84103dfabd05742d1a18729663a609e9bf7c45f8
13955 Author: Niklas Koep <niklas.koep@gmail.com>
13956 Date: Fri Feb 15 21:23:01 2013 -0800
13958 Prefix __module__ attribute of function objects with gi.repository
13960 This allows gi module methods to work with pydoc and help().
13961 Additionally correct typo in two docstrings of the same module.
13963 Co-authored-by: Simon Feltman <sfeltman@src.gnome.org>
13965 https://bugzilla.gnome.org/show_bug.cgi?id=693839
13967 gi/overrides/__init__.py | 3 ++-
13968 gi/types.py | 6 +++---
13969 2 files changed, 5 insertions(+), 4 deletions(-)
13971 commit f6d4d2da676ae63d7a24dd172775b488ce665fe4
13972 Author: Jonathan Ballet <jon@multani.info>
13973 Date: Thu Feb 14 07:50:02 2013 +0100
13975 configure.ac: only enable code coverage when available
13977 When building with an older gnome-common which does not yet provide
13979 coverage support, disable it instead of breaking the configure script.
13981 https://bugzilla.gnome.org/show_bug.cgi?id=693328
13983 configure.ac | 10 +++++++++-
13984 1 file changed, 9 insertions(+), 1 deletion(-)
13986 commit 42cbff60e2032f715d9be6ab280954211899e03c
13987 Author: Jonathan Ballet <jon@multani.info>
13988 Date: Tue Feb 12 23:03:00 2013 +0100
13990 Correctly set properties on object with statically defined properties
13992 Fix failures in GObject.Object.set_properties() when used with
13993 statically defined properties:
13995 * Calling the method was raising a "SystemError: error return without
13996 exception set" since `result` was (most of the time) still NULL at the
13997 end of pygobject_set_properties()
13999 * Calling the method with several properties would only set one of
14000 the properties, since the function was exiting too early.
14002 Signed-off-by: Simon Feltman <sfeltman@src.gnome.org>
14004 https://bugzilla.gnome.org/show_bug.cgi?id=693618
14006 gi/_gobject/pygobject.c | 19 +++++++++++--------
14007 tests/test_gi.py | 6 ++++++
14008 2 files changed, 17 insertions(+), 8 deletions(-)
14010 commit 2384769810a61d6ed08d8742b7ae976ebfaa8cb5
14011 Author: Martin Pitt <martinpitt@gnome.org>
14012 Date: Mon Feb 11 18:08:37 2013 +0100
14014 autogen.sh: Use gnome-autogen.sh
14016 We depend on gnome-common now anyway, so use gnome-autogen.sh. This
14018 in a much better error message when gnome-common is not installed,
14021 https://bugzilla.gnome.org/show_bug.cgi?id=693328
14023 autogen.sh | 30 +++++++++++++++++-------------
14024 1 file changed, 17 insertions(+), 13 deletions(-)
14026 commit c107bb1f9275a748b494d3f32818f227e07cadf0
14027 Author: Christoph Reiter <christoph.reiter@gmx.at>
14028 Date: Mon Feb 11 10:07:47 2013 +0100
14030 GTK tests: Add and use context manager for realized widgets
14032 https://bugzilla.gnome.org/show_bug.cgi?id=693377
14034 tests/test_overrides_gtk.py | 91
14035 +++++++++++++++++++++++++--------------------
14036 1 file changed, 50 insertions(+), 41 deletions(-)
14038 commit e6670ee26b7682e6213f71deef813ce2e7cd6730
14039 Author: Martin Pitt <martinpitt@gnome.org>
14040 Date: Mon Feb 11 08:55:19 2013 +0100
14042 _pygi_marshal_from_py_array: Fix uninitialized variable
14044 gi/pygi-marshal-from-py.c | 2 +-
14045 1 file changed, 1 insertion(+), 1 deletion(-)
14047 commit a37bfdcb3d9dcc8bcdd8126ad55d80fab4729c62
14048 Author: Christoph Reiter <christoph.reiter@gmx.at>
14049 Date: Mon Feb 11 08:34:42 2013 +0100
14051 Skip some vfunc tests with gi 1.34
14053 https://bugzilla.gnome.org/show_bug.cgi?id=693374
14055 tests/test_object_marshaling.py | 14 ++++++++++++++
14056 1 file changed, 14 insertions(+)
14058 commit aff2ea1b681c3019f7dbdc841c2e33de78dbb88f
14059 Author: Simon Feltman <sfeltman@src.gnome.org>
14060 Date: Sun Feb 10 13:40:45 2013 -0800
14062 Remove workaround for g_struct_info_get_size reporting incorrect size
14064 Remove workaround for g_struct_info_get_size reporting incorrect size
14065 for boxed GValues. Verified this now returns the correct size of 24.
14067 https://bugzilla.gnome.org/show_bug.cgi?id=622711
14069 gi/pygi-boxed.c | 31 +++++++++++++------------------
14070 1 file changed, 13 insertions(+), 18 deletions(-)
14072 commit 5efe2e5c8458d9f4d72329ea1209d96b5ebecfb4
14073 Author: Simon Feltman <sfeltman@src.gnome.org>
14074 Date: Mon Feb 4 20:50:10 2013 -0800
14076 Fix reference leaks with transient floating objects
14078 Unify and refactor caller and callee GObject argument marshalers.
14079 Combine code from the large switch statement used to marshal
14080 arguments to and from vfuncs/closures with the marshalers used
14081 for direct calls to gi functions. This fixes a reference leak
14082 when marshalling GObjects to Python with transfer=full due to
14083 the diverging code paths.
14084 Replace ability in gobject_new_full to optionally sink objects
14085 with ability to optionaly "steal" objects. This fits the premise
14086 that binding layers should always sink objects initially. The
14087 steal argument is then used for marshalling arguments which are
14089 Add hacks and comments to work around GTK+ bugs 693393 and 693400.
14091 https://bugzilla.gnome.org/show_bug.cgi?id=687522
14093 gi/_gobject/gobjectmodule.c | 10 +++++--
14094 gi/_gobject/pygobject-private.h | 2 +-
14095 gi/_gobject/pygobject.c | 45 ++++++++++++++++++++----------
14096 gi/_gobject/pygobject.h | 8 ++++--
14097 gi/pygi-argument.c | 52 +++++++++++++++++------------------
14098 gi/pygi-marshal-from-py.c | 61
14099 +++++++++++++++++++++++++++++++++++++----
14100 gi/pygi-marshal-from-py.h | 6 ++++
14101 gi/pygi-marshal-to-py.c | 45 +++++++++++++++---------------
14102 gi/pygi-marshal-to-py.h | 5 ++++
14103 tests/test_object_marshaling.py | 44 ++++++++++++++---------------
14104 10 files changed, 181 insertions(+), 97 deletions(-)
14106 commit bd54b8ab30fc957849e7f57e9ee4c4b41aa37013
14107 Author: Simon Feltman <sfeltman@src.gnome.org>
14108 Date: Wed Feb 6 12:56:44 2013 -0800
14110 tests: Fix spelling mistakes in new vfunc object marshalling tests
14112 tests/test_object_marshaling.py | 12 ++++++------
14113 1 file changed, 6 insertions(+), 6 deletions(-)
14115 commit cd96fd8b8e10add9890f36ec237bb78548de7002
14116 Author: Martin Pitt <martinpitt@gnome.org>
14117 Date: Tue Feb 5 07:53:38 2013 +0100
14119 configure.ac: post-release bump to 3.7.6
14121 configure.ac | 2 +-
14122 1 file changed, 1 insertion(+), 1 deletion(-)
14124 commit 92b1404e61f46348168f32720eff4a482531e5e3
14125 Author: Martin Pitt <martinpitt@gnome.org>
14126 Date: Tue Feb 5 07:46:46 2013 +0100
14131 configure.ac | 2 +-
14132 2 files changed, 4 insertions(+), 1 deletion(-)
14134 commit a3a30559240077194f23c4651d6f382fa59b7d63
14135 Author: Simon Feltman <sfeltman@src.gnome.org>
14136 Date: Mon Feb 4 15:16:37 2013 -0800
14138 Fix API break with pygobject.h
14140 Move pygobject_new_full after everything in the public API table.
14141 This fixes a break that went in along with bug 675726.
14143 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14145 gi/_gobject/gobjectmodule.c | 5 +++--
14146 gi/_gobject/pygobject.h | 2 +-
14147 2 files changed, 4 insertions(+), 3 deletions(-)
14149 commit b3ca7e27494c35620995840d777037a097082661
14150 Author: Martin Pitt <martinpitt@gnome.org>
14151 Date: Mon Feb 4 19:53:26 2013 +0100
14153 configure.ac: post-release bump to 3.7.6
14155 configure.ac | 2 +-
14156 1 file changed, 1 insertion(+), 1 deletion(-)
14158 commit 77f638411314218748f349b337a36e2864eed1f4
14159 Author: Martin Pitt <martinpitt@gnome.org>
14160 Date: Mon Feb 4 19:37:14 2013 +0100
14164 NEWS | 24 ++++++++++++++++++++++++
14165 1 file changed, 24 insertions(+)
14167 commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
14168 Author: Simon Feltman <sfeltman@src.gnome.org>
14169 Date: Sun Feb 3 23:56:14 2013 -0800
14171 Fix pointer cast warning that was missed in bug 675726
14173 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14175 gi/_gobject/pygobject.h | 2 +-
14176 1 file changed, 1 insertion(+), 1 deletion(-)
14178 commit b31d8a952cd57dc92b06a381e054199660a2d570
14179 Author: Simon Feltman <sfeltman@src.gnome.org>
14180 Date: Thu Jan 31 02:35:36 2013 -0800
14182 Move various signal methods from static bindings to gi and python
14184 Move disconnect, handler_is_connected, handler_block, handler_unblock,
14185 and stop_emission from static to gi python overrides.
14187 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14189 gi/_gobject/pygobject.c | 90
14190 -------------------------------------------------
14191 gi/overrides/GObject.py | 44 +++++++++++++++++-------
14192 tests/test_signal.py | 19 ++++++-----
14193 3 files changed, 42 insertions(+), 111 deletions(-)
14195 commit 3a6a4a7a21a0f5e851518b7912d8ff455aa3ede4
14196 Author: Paolo Borelli <pborelli@gnome.org>
14197 Date: Fri Feb 1 21:09:26 2013 +0100
14199 GLib overrides: Support unpacking 'maybe' variants
14201 Automatically unpack 'maybe' variants to None or to their actual value
14202 as we do for other kind of variants
14204 https://bugzilla.gnome.org/show_bug.cgi?id=693032
14206 gi/overrides/GLib.py | 5 +++++
14207 tests/test_overrides_glib.py | 8 ++++++++
14208 2 files changed, 13 insertions(+)
14210 commit 9bc3e6807f6c14fb0e132a90ff8f9984229896f6
14211 Author: Mike Gorse <mgorse@suse.com>
14212 Date: Mon Jan 21 16:45:52 2013 -0600
14214 Fix ref count leak when creating pygobject wrappers for input args
14216 Only sink input references for closures and vfuncs when transfer is
14217 everything. This fixes cases where incoming floating references for
14218 callbacks need to maintain their floating state throughout the
14219 callback so they don't leak a strong reference. Re-introduce a
14220 working "sink" argument to pygobject_new_full which allows for this.
14221 Change existing callers to always sink in order maintain behavior.
14223 Co-Authored-By: Simon Feltman <sfeltman@src.gnome.org>
14225 https://bugzilla.gnome.org/show_bug.cgi?id=675726
14227 gi/_gobject/gobjectmodule.c | 5 +--
14228 gi/_gobject/pygobject.c | 7 ++--
14229 gi/_gobject/pygobject.h | 2 ++
14230 gi/pygi-argument.c | 13 +++----
14231 tests/test_object_marshaling.py | 76
14232 +++++++++++++++++++++++++++++++++++++----
14233 5 files changed, 85 insertions(+), 18 deletions(-)
14235 commit a53a9176a3f87cfb26f3ad98ea746ada0f1a39fa
14236 Author: Simon Feltman <sfeltman@src.gnome.org>
14237 Date: Thu Jan 31 01:50:44 2013 -0800
14239 Add tests for signal stop_emission, disconnect, and
14240 handler_is_connected
14242 Add tests for methods which will be moving from static bindings to gi
14243 by using the new __gpointer__ attribute of GObject.
14245 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14247 tests/test_signal.py | 51
14248 ++++++++++++++++++++++++++++++++++++++++++++++++++-
14249 1 file changed, 50 insertions(+), 1 deletion(-)
14251 commit df18f9cc3828d1bcf6b6cdf26af786fd9f36d77e
14252 Author: Simon Feltman <sfeltman@src.gnome.org>
14253 Date: Wed Jan 30 21:37:07 2013 -0800
14255 Add __gpointer__ property to GObject static binding
14257 Add access to the underlying C GObject pointer by wrapping it in a
14258 PyCapsule/PyCPointer and exposing it as __gpointer__.
14259 Add special case marshaling for gi parameters annotated as gpointer
14260 to accept a PyCapsule and extract the underlying pointer as the arg.
14261 This allows usage of methods like GObject.signal_handler_disconnect
14262 which we can start replacing the static bindings with.
14264 https://bugzilla.gnome.org/show_bug.cgi?id=692918
14266 gi/_gobject/pygobject.c | 11 +++++++++--
14267 gi/pygi-marshal-from-py.c | 6 +++++-
14268 2 files changed, 14 insertions(+), 3 deletions(-)
14270 commit 571e0cb246baa4ef7db179b20da6b325f358fe5b
14271 Author: Simon Feltman <sfeltman@src.gnome.org>
14272 Date: Sun Jan 27 01:22:37 2013 -0800
14274 Prefix names of typeless enums and flags for GType registration
14276 Prefix names given to g_flags_register_static and
14277 g_enum_register_static
14278 with "Py". This avoids conflicts with GTypes of the same name being
14279 registered later by a library which does not provide a "get-type"
14282 https://bugzilla.gnome.org/show_bug.cgi?id=692515
14284 gi/gimodule.c | 10 ++++++++--
14285 tests/test_gi.py | 4 ++--
14286 2 files changed, 10 insertions(+), 4 deletions(-)
14288 commit 97f48f5dcabc8dad4480727a78416b1c2a220777
14289 Author: Simon Feltman <sfeltman@src.gnome.org>
14290 Date: Wed Jan 30 04:35:32 2013 -0800
14292 Add tests for vfunc object arguments and returns
14294 Add tests which use different combinations of floating, transfer full,
14295 transfer none, and held wrapper as in, out, or return arguments
14297 Most of these are marked as skip or expectedFailure due to various
14299 noted on the tests.
14301 https://bugzilla.gnome.org/show_bug.cgi?id=687522
14303 gi/overrides/GObject.py | 15 +-
14304 tests/test_object_marshaling.py | 540
14305 ++++++++++++++++++++++++++++++++++++++++
14306 2 files changed, 550 insertions(+), 5 deletions(-)
14308 commit 73a83186329ede7702501d5bc49df269482461e4
14309 Author: Paolo Borelli <pborelli@gnome.org>
14310 Date: Wed Jan 30 17:48:12 2013 +0100
14312 Cosmetic fix to last patch
14314 gi/pygi-argument.c | 7 +++++--
14315 1 file changed, 5 insertions(+), 2 deletions(-)
14317 commit 9e0c41509d62e8df7d0d82608a8be75f3defe05c
14318 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14319 Date: Fri Jan 25 13:05:18 2013 +0800
14321 gi/pygi-info.c, gi/pygi-repository.c: Deal with C99isms
14323 Drop the array forward static declarations. They are not necessary
14327 Also move declarations of variables to the top of their respective
14330 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14332 gi/pygi-info.c | 18 ++++++++++--------
14333 gi/pygi-repository.c | 2 --
14334 2 files changed, 10 insertions(+), 10 deletions(-)
14336 commit 2e7c458ef6377a872043634b47737ef12eed744a
14337 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14338 Date: Fri Jan 25 13:00:48 2013 +0800
14340 Move variable declaration to top of blocks (C99ism)
14342 Move variable declarations to the top of their respective blocks,
14344 code will build under C89 compilers such as Visual C++.
14346 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14348 gi/pygi-argument.c | 10 ++++++----
14349 gi/pygi-closure.c | 23 +++++++++++++++--------
14350 gi/pygi-invoke.c | 3 ++-
14351 gi/pygi-marshal-cleanup.c | 3 ++-
14352 gi/pygi-property.c | 3 ++-
14353 5 files changed, 27 insertions(+), 15 deletions(-)
14355 commit 20fc5aa7514215fc7807adceb603d17f7943304a
14356 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14357 Date: Fri Jan 25 12:58:26 2013 +0800
14359 gi/pygobject-external.h: Remove GCCism
14361 We can use G_GNUC_UNUSED from GLib that does the same purpose of
14362 __attribute__ ( (unused)) when we are using a GCC that provides this.
14364 The GLib headers that defines that macro should have already been
14366 before this header is included (due to use of gboolean).
14368 https://bugzilla.gnome.org/show_bug.cgi?id=692856
14370 gi/pygobject-external.h | 2 +-
14371 1 file changed, 1 insertion(+), 1 deletion(-)
14373 commit 5d2f453f3fdb167a4b4a833011ae777bfd228eb9
14374 Author: Martin Pitt <martinpitt@gnome.org>
14375 Date: Wed Jan 30 14:59:11 2013 +0100
14377 tests: Update test_double() after e65c1248
14379 Commit e65c1248 introduced support for NaN and ±inf as valid
14381 rendering the "expect ValueError on 2*double" check broken. Just
14384 tests/test_everything.py | 1 -
14385 1 file changed, 1 deletion(-)
14387 commit b8bf4ec6c2478275dc9c813946a90b82ded6d9ce
14388 Author: Martin Pitt <martinpitt@gnome.org>
14389 Date: Wed Jan 23 07:14:16 2013 +0100
14391 Do not immediately initialize Gdk and Gtk on import
14393 Raising an exception if Gdk/Gtk cannot be imported makes it
14395 merely import a module for e. g. nosetests without actually running
14398 Programs who want to provide a proper error message should check
14399 Gtk.initialized explicitly after importing. Check initialized
14401 Window.__init__() instead to provide a reasonably early error message
14405 https://bugzilla.gnome.org/show_bug.cgi?id=692300
14407 gi/overrides/Gdk.py | 2 --
14408 gi/overrides/Gtk.py | 5 +++--
14409 2 files changed, 3 insertions(+), 4 deletions(-)
14411 commit 93d5cc2986cb3d3d979694b1beb1719d2d8fed53
14412 Author: Chun-wei Fan <fanchunwei@src.gnome.org>
14413 Date: Fri Jan 25 12:49:18 2013 +0800
14415 gi/overrides/Glib.py: Fix running on Windows/non-Unix
14417 The definition of self._signal_source uses a Unix-specific GLib
14419 does not exist or have a direct equivilant on Windows.
14421 Only define and use that variable when we aren't on Windows.
14423 gi/overrides/GLib.py | 18 ++++++++++--------
14424 1 file changed, 10 insertions(+), 8 deletions(-)
14426 commit e65c124893ceaa9c97eb4c8c743fbeb756b9a6e6
14427 Author: Martin Pitt <martinpitt@gnome.org>
14428 Date: Wed Jan 23 14:56:02 2013 +0100
14430 Accept ±inf and NaN as float and double values
14432 Also fix the broken error message when a float value is out of range.
14433 PyErr_Format() does not support float macros.
14435 https://bugzilla.gnome.org/show_bug.cgi?id=692381
14437 gi/pygi-marshal-from-py.c | 37 +++++++++++++++++++------------------
14438 tests/test_gobject.py | 14 ++++++++++++++
14439 2 files changed, 33 insertions(+), 18 deletions(-)
14441 commit a52245381fab3c2aebd330cc9c5e717a93c9607d
14442 Author: Martin Pitt <martinpitt@gnome.org>
14443 Date: Wed Jan 23 14:28:42 2013 +0100
14445 Fix repr() of GLib.Variant
14447 When using a standard constructor like GLib.Variant.new_*(), the
14449 not have a format_string property, and previously repr() would
14451 to get_type_string() instead.
14453 Also drop the unintended type annotations in repr().
14455 gi/overrides/GLib.py | 6 +++++-
14456 tests/test_overrides_glib.py | 15 ++++++++++++++-
14457 2 files changed, 19 insertions(+), 2 deletions(-)
14459 commit 2270cf15012005362dc47456213c5d9e7f6ed28a
14460 Author: Martin Pitt <martinpitt@gnome.org>
14461 Date: Wed Jan 23 14:14:29 2013 +0100
14463 Fix gtk-demo for Python 3
14465 It was crashing with
14467 package = __import__(packagename, globals(), locals(),
14469 ValueError: level must be >= 0
14471 Using level zero works with both Python 2 and 3.
14473 demos/gtk-demo/gtk-demo.py | 2 +-
14474 1 file changed, 1 insertion(+), 1 deletion(-)
14476 commit b24d07577da1e17c8e27f758fc1a23d7f2d0f668
14477 Author: Colin Walters <walters@verbum.org>
14478 Date: Tue Jan 22 10:49:57 2013 -0500
14480 build: Add autogen.sh to EXTRA_DIST
14482 So downstreams that patch the autotools can use it.
14485 1 file changed, 1 insertion(+)
14487 commit ed7fb99efa81854d947ae548d41a03f5275c5884
14488 Author: Martin Pitt <martinpitt@gnome.org>
14489 Date: Thu Jan 17 08:23:02 2013 +0100
14491 Define GObject.TYPE_VALUE gtype constant
14493 gi/overrides/GObject.py | 4 +++-
14494 tests/test_gobject.py | 4 ++++
14495 2 files changed, 7 insertions(+), 1 deletion(-)
14497 commit fd32acdd97f49f086a8ad5cf2b65862c4e6ccc44
14498 Author: Olivier Crête <olivier.crete@collabora.com>
14499 Date: Mon Sep 17 15:37:04 2012 -0400
14501 gobject: Go through introspection on property setting
14503 Consider introspected properties in object.set_property().
14505 https://bugzilla.gnome.org/show_bug.cgi?id=684062
14507 gi/_gobject/pygobject.c | 18 +++++++++++++++++-
14508 tests/test_properties.py | 13 ++++++++++---
14509 2 files changed, 27 insertions(+), 4 deletions(-)
14511 commit 9a2060f26c2cc2f9ef79ab6fb9f512c317004856
14512 Author: Mike Gorse <mgorse@suse.com>
14513 Date: Tue Jan 15 20:04:46 2013 -0600
14515 Clean up caller-allocated GValues and their memory
14517 When space for a GValue is allocated by the caller (as in
14518 gtk_tree_model_get_value), we need to free the space allocated for the
14519 value along with its contents. The GValue is not needed after
14520 Pyg_value_as_pyobject is called, so call _cleanup_caller_allocates and
14521 have it unset the value and deallocate the memory.
14523 https://bugzilla.gnome.org/show_bug.cgi?id=691820
14525 gi/pygi-marshal-cleanup.c | 20 ++++++++++++++++++--
14526 1 file changed, 18 insertions(+), 2 deletions(-)
14528 commit 45b7975d0a3d78f01f1112ae7b3f4208f15694d8
14529 Author: Dmitry Shachnev <mitya57@ubuntu.com>
14530 Date: Wed Jan 16 13:44:42 2013 +0400
14532 tests: define correct unittest.skipIf for python 2.6
14534 tests/runtests.py | 2 +-
14535 1 file changed, 1 insertion(+), 1 deletion(-)
14537 commit 4706cd686ea1b25260c9ecc77abd324d6e4cf505
14538 Author: Martin Pitt <martinpitt@gnome.org>
14539 Date: Wed Jan 16 09:17:13 2013 +0100
14541 tests: More robust tree view realization
14543 With current GNOME git head, the Gtk.TreeViews were not realized
14545 more to receive property values. Put them into a Gtk.Dialog now and
14547 ensure that they are realized.
14549 tests/test_overrides_gtk.py | 16 ++++++++++------
14550 1 file changed, 10 insertions(+), 6 deletions(-)
14552 commit 90c6f596df2a96f9c8059ae9157bc467a80b7574
14553 Author: Martin Pitt <martinpitt@gnome.org>
14554 Date: Tue Jan 15 10:42:49 2013 +0100
14556 Drop deprecated g_thread_create()
14558 Replace with g_thread_new(). This is available with glib >= 2.32,
14560 already require >= 2.34.
14562 tests/test-thread.c | 3 +--
14563 1 file changed, 1 insertion(+), 2 deletions(-)
14565 commit 98504273dead9eade6e53c2297bcaec7bea6265a
14566 Author: Martin Pitt <martinpitt@gnome.org>
14567 Date: Tue Jan 15 10:37:52 2013 +0100
14569 Drop usage of deprecated GStaticPrivate
14571 Replace with GPrivate.
14573 gi/_gobject/gobjectmodule.c | 6 +++---
14574 1 file changed, 3 insertions(+), 3 deletions(-)
14576 commit 655e2eece14f5de3baf4505f524d17484b8b5a75
14577 Author: Martin Pitt <martinpitt@gnome.org>
14578 Date: Tue Jan 15 10:29:47 2013 +0100
14580 Don't call g_type_init() with glib >= 2.35.x
14582 This fixes a deprecation warning.
14584 gi/_gobject/gobjectmodule.c | 2 ++
14585 1 file changed, 2 insertions(+)
14587 commit 206e736380ba798c68de09f661d75c8e27451117
14588 Author: Martin Pitt <martinpitt@gnome.org>
14589 Date: Tue Jan 15 09:47:11 2013 +0100
14591 Use GNOME_COMPILE_WARNINGS from gnome-common
14593 As we are now using gnome-common anyway for the code coverage macro,
14595 GNOME_COMPILE_WARNINGS, and only manually specify the extra options
14599 This also enables -Wstrict-prototypes.
14601 configure.ac | 14 ++++----------
14602 1 file changed, 4 insertions(+), 10 deletions(-)
14604 commit 137679426ff39507e15f08e9e6428d851fee06b7
14605 Author: Martin Pitt <martinpitt@gnome.org>
14606 Date: Tue Jan 15 09:46:01 2013 +0100
14608 Fix function prototypes and static functions
14610 These cause errors/warnings with -Wstrict-prototypes.
14612 gi/_glib/pyglib-python-compat.h | 2 ++
14613 gi/pygi-foreign.c | 2 +-
14614 gi/pygi-marshal-from-py.c | 4 ++--
14615 gi/pygi-marshal-to-py.c | 4 ++--
14616 gi/pygi-source.c | 2 +-
14617 gi/pygi-source.h | 2 +-
14618 6 files changed, 9 insertions(+), 7 deletions(-)
14620 commit d47927f1701a11aec8566425f22688c5df73d7f2
14621 Author: Martin Pitt <martinpitt@gnome.org>
14622 Date: Mon Jan 14 17:38:23 2013 +0100
14624 configure.ac: post-release bump to 3.7.5
14626 configure.ac | 2 +-
14627 1 file changed, 1 insertion(+), 1 deletion(-)
14629 commit bd6da84a4aec74e47f5d70e8ed18695c37e746c6
14630 Author: Martin Pitt <martinpitt@gnome.org>
14631 Date: Mon Jan 14 17:30:48 2013 +0100
14635 NEWS | 38 ++++++++++++++++++++++++++++++++++++++
14636 1 file changed, 38 insertions(+)
14638 commit c90ef9dfac7dd51ec82c99c3605915996bea0f73
14639 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
14640 Date: Tue Dec 4 15:45:00 2012 +0200
14642 Allow setting values through GtkTreeModelFilter
14644 Previously, trying to set a value through filter throwed an exception
14646 model has no set_value() method. You had to first retrieve the
14648 model and set value to it.
14650 https://bugzilla.gnome.org/show_bug.cgi?id=689624
14652 gi/overrides/Gtk.py | 5 +++++
14653 tests/test_overrides_gtk.py | 11 +++++++++++
14654 2 files changed, 16 insertions(+)
14656 commit b092630efc691a6f7ae94ae896193254f5a961a6
14657 Author: Martin Pitt <martinpitt@gnome.org>
14658 Date: Mon Jan 14 12:37:18 2013 +0100
14660 tests: Add (failing) test case for GParamSpec arguments
14663 https://bugzilla.gnome.org/show_bug.cgi?id=682355
14665 tests/test_gi.py | 9 +++++++++
14666 1 file changed, 9 insertions(+)
14668 commit 52d84b5da7f9fd4f65faea4e6fe3d250f937a208
14669 Author: Martin Pitt <martinpitt@gnome.org>
14670 Date: Mon Jan 14 12:20:27 2013 +0100
14672 tests: Skip struct string member tests with g-i 1.34
14674 We still support building against gobject-introspection 1.34, so
14676 which do not work with that version yet.
14678 tests/test_gi.py | 8 ++++++++
14679 1 file changed, 8 insertions(+)
14681 commit f9429192cb1002725a11a75a7b8f9300375b9caf
14682 Author: Martin Pitt <martinpitt@gnome.org>
14683 Date: Mon Jan 14 12:15:27 2013 +0100
14685 Support GParamSpec signal arguments from Python
14687 In pyg_value_from_pyobject(), recognize both the real GI
14688 GObject.ParamSpec type
14689 as well as the statically wrapped _gobject.GParamSpec type.
14691 This fixes marshalling GObject.ParamSpec signal/vfunc arguments.
14693 https://bugzilla.gnome.org/show_bug.cgi?id=683099
14695 gi/_gobject/pygtype.c | 6 +++++-
14696 tests/test_signal.py | 12 ++++++++++++
14697 tests/testhelpermodule.c | 13 +++++++++++++
14698 3 files changed, 30 insertions(+), 1 deletion(-)
14700 commit 99f72925c7de76611f7592bce9d8217a9ff46809
14701 Author: Martin Pitt <martinpitt@gnome.org>
14702 Date: Mon Jan 14 11:48:11 2013 +0100
14704 pygobject_emit(): Fix cleanup on error
14706 Dot not try to unset GValues which have not been initialized yet,
14708 conversion fails for a parameter.
14710 gi/_gobject/pygobject.c | 8 ++++----
14711 1 file changed, 4 insertions(+), 4 deletions(-)
14713 commit acef1d3266d11b2465d61185a55526df879a5c62
14714 Author: Simon Feltman <sfeltman@src.gnome.org>
14715 Date: Mon Dec 31 19:01:57 2012 -0800
14717 Add signal emission methods to TreeModel which coerce the path
14720 Override TreeModel row_changed, row_inserted, row_has_child_toggled,
14721 row_deleted, and rows_reordered methods to accept python iterables as
14722 the path parameter. This is for compatibility with pygtk and
14724 with the rest of the TreeModel and TreePath overrides.
14726 https://bugzilla.gnome.org/show_bug.cgi?id=682933
14728 gi/overrides/Gtk.py | 31 ++++++++++++++++++++++++++++---
14729 tests/test_overrides_gtk.py | 27 +++++++++++++++++++++++++++
14730 2 files changed, 55 insertions(+), 3 deletions(-)
14732 commit 9cfba517e1a6dced5e66786b28ed5e101b7b4a29
14733 Author: Martin Pitt <martinpitt@gnome.org>
14734 Date: Mon Jan 14 10:36:36 2013 +0100
14736 Simplify overrides and tests using the new GObject.Value override
14738 The previous commit added support for constructing a GObject.Value
14740 GType and Python object conversion. Use this to simplify the Gtk
14742 the tests that construct GValues.
14744 See https://bugzilla.gnome.org/show_bug.cgi?id=677473
14746 gi/overrides/Gtk.py | 88
14747 +++------------------------------------------
14748 tests/test_gi.py | 26 +++++---------
14749 tests/test_overrides_gtk.py | 2 +-
14750 tests/test_signal.py | 12 ++-----
14751 4 files changed, 17 insertions(+), 111 deletions(-)
14753 commit f62b98398177991bfdbe0b6753342e79e6cf170a
14754 Author: Bastian Winkler <buz@netbuz.org>
14755 Date: Mon Jan 14 10:26:08 2013 +0100
14757 Add override for GValue
14759 Override GValue with a custom constructor and set_value()/get_value()
14760 methods. This allows you to call
14762 >>> GObject.Value(GObject.TYPE_FLOAT, 42.23)
14766 >>> value = GObject.Value()
14767 >>> value.init(GObject.TYPE_FLOAT)
14768 >>> value.set_float(42.23)
14770 This is especially useful for overrides that need to convert a Python
14771 value to a expected type like G_TYPE_FLOAT.
14773 https://bugzilla.gnome.org/show_bug.cgi?id=677473
14775 gi/overrides/GObject.py | 127
14776 +++++++++++++++++++++++++++++++++++++++++++++++-
14777 tests/test_gobject.py | 47 +++++++++++++++++-
14778 2 files changed, 172 insertions(+), 2 deletions(-)
14780 commit dc3d21173b75232f7ea0b9913f7309486456a69d
14781 Author: Mike Gorse <mgorse@suse.com>
14782 Date: Thu Jan 10 15:48:30 2013 -0600
14784 Mark caller-allocated boxed structures as having a slice allocated
14786 When a C function takes a pointer and fills it with a boxed structure
14788 gtk_tree_store_insert_with_values), pygi should deallocate the slice
14790 box is no longer being used.
14792 https://bugzilla.gnome.org/show_bug.cgi?id=699501
14794 gi/pygi-marshal-to-py.c | 4 +++-
14795 1 file changed, 3 insertions(+), 1 deletion(-)
14797 commit 0c496d230fee7fd3ada90ee9af10e0bc1e29ee12
14798 Author: Olivier Crête <olivier.crete@collabora.com>
14799 Date: Fri Sep 14 21:31:32 2012 -0400
14801 pygi-property: Support boxed GSList/GList types
14803 Note that this does not yet work for construct properties.
14805 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14807 https://bugzilla.gnome.org/show_bug.cgi?id=684059
14809 gi/pygi-property.c | 10 ++++++++--
14810 tests/test_gi.py | 21 +++++++++++++++++++++
14811 2 files changed, 29 insertions(+), 2 deletions(-)
14813 commit 074f10d815453e58f4bee2f440c5db799add3876
14814 Author: Martin Pitt <martinpitt@gnome.org>
14815 Date: Mon Jan 14 07:48:31 2013 +0100
14817 test_gio: Fix for Python 2
14819 Python 2 does not yet take an "encoding" argument for str(), while
14821 requires it. Use a less fancy static test string instead.
14823 tests/test_gio.py | 2 +-
14824 1 file changed, 1 insertion(+), 1 deletion(-)
14826 commit 734979d0c8317201148a7e94a323225fba2d1635
14827 Author: Martin Pitt <martinpitt@gnome.org>
14828 Date: Mon Jan 14 07:40:10 2013 +0100
14830 tests: Add missing backwards compat methods for Python 2.6
14832 Define skipIf(), assertLess(), and assertLessEqual() for running
14836 https://bugzilla.gnome.org/show_bug.cgi?id=691646
14838 tests/runtests.py | 17 +++++++++++++++++
14839 1 file changed, 17 insertions(+)
14841 commit dc0dafd1f6ca3ebbf04210768a45587387e44551
14842 Author: Martin Pitt <martinpitt@gnome.org>
14843 Date: Mon Jan 14 07:34:46 2013 +0100
14845 tests: Stop using assertSequenceEqual()
14847 assertSequenceEqual() does not yet exist in Python 2.6, and is
14849 either as assertEqual() on sequences automatically does list
14852 Part of https://bugzilla.gnome.org/show_bug.cgi?id=691646
14854 tests/test_gtype.py | 6 ++----
14855 tests/test_signal.py | 6 ++----
14856 2 files changed, 4 insertions(+), 8 deletions(-)
14858 commit 0a5587b6a56d417a6703e342f153596f08cd5889
14859 Author: Simon Feltman <sfeltman@src.gnome.org>
14860 Date: Sun Jan 13 18:19:51 2013 -0800
14862 Allow setting TreeModel values to None
14864 Change TreeModel.set_value to use an empty but initialized GValue when
14865 None is used as the value argument. This allows clearing of cell data
14866 which was not accessible due to auto-coercion.
14868 https://bugzilla.gnome.org/show_bug.cgi?id=684094
14870 gi/overrides/Gtk.py | 11 ++++++++---
14871 tests/test_overrides_gtk.py | 8 ++++++++
14872 2 files changed, 16 insertions(+), 3 deletions(-)
14874 commit 5ae129da436793478750f0dc9427a174a980e10b
14875 Author: Mike Gorse <mgorse@suse.com>
14876 Date: Thu Jan 10 16:42:17 2013 -0600
14878 Set clean-up handler for marshalled arrays
14880 Arrays did not have a cleanup handler set in some cases, resulting
14883 https://bugzilla.gnome.org/show_bug.cgi?id=691509
14885 gi/pygi-cache.c | 1 +
14886 1 file changed, 1 insertion(+)
14888 commit 58bd307c57d542a8f69867dea2d0a0eb51230c7b
14889 Author: Vadim Rutkovsky <vrutkovs@redhat.com>
14890 Date: Fri Jan 11 15:41:27 2013 +0100
14892 Support setting string fields in structs
14894 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
14896 https://bugzilla.gnome.org/show_bug.cgi?id=678401
14898 gi/pygi-info.c | 3 ++-
14899 tests/test_gi.py | 16 ++++++++++++++++
14900 2 files changed, 18 insertions(+), 1 deletion(-)
14902 commit f2bcaa43c1158040a8c2cbc3a2ba5070d126a410
14903 Author: Martin Pitt <martinpitt@gnome.org>
14904 Date: Fri Jan 11 14:58:44 2013 +0100
14906 Re-enable test_gi.TestPropertiesObject.test_char test
14908 The gobject-introspection bug got fixed:
14909 https://bugzilla.gnome.org/show_bug.cgi?id=691524
14911 tests/test_gi.py | 14 +++-----------
14912 1 file changed, 3 insertions(+), 11 deletions(-)
14914 commit 9a8c49087cf400e01c1f78241fa4d74b4d15f54e
14915 Author: Martin Pitt <martinpitt@gnome.org>
14916 Date: Fri Jan 11 09:46:56 2013 +0100
14918 tests: Re-enable test_callback_scope_call_array() check
14920 Drop the expected failure from test_callback_scope_call_array()
14922 the explicit array length arguments. While it would look cleaner to
14924 them, it is probably not worth breaking the API for this.
14926 tests/test_everything.py | 9 +++------
14927 1 file changed, 3 insertions(+), 6 deletions(-)
14929 commit 609636424b5f9b659e99a4bb53a48c165187c430
14930 Author: Martin Pitt <martinpitt@gnome.org>
14931 Date: Fri Jan 11 09:13:36 2013 +0100
14933 Permit plain integers for "gchar" values
14935 Similar to guchar/guint8, allow plain integers (withing correct
14937 values for gchar/gint8 types.
14939 This is covered by the test_gi.TestPropertiesObject.test_char
14941 removing the "expected failure" flag.
14943 gi/_gobject/pygtype.c | 16 ++++++++++++----
14944 1 file changed, 12 insertions(+), 4 deletions(-)
14946 commit a558d3d3a9274aeccfc54705bf5effdf71dee06b
14947 Author: Martin Pitt <martinpitt@gnome.org>
14948 Date: Fri Jan 11 09:09:41 2013 +0100
14950 Allow single byte values for int8 types
14952 When fixing gobject-introspection to consider "gchar" as signed (see
14953 https://bugzilla.gnome.org/show_bug.cgi?id=691524), we must also
14955 single-element "bytes" array as a valid value for int8, not just
14958 This is caught by the test_overrides_gtk.TestTreeModel.test_tree_store
14961 gi/pygi-argument.c | 4 ++--
14962 gi/pygi-marshal-from-py.c | 34 +++++++++++++++++++++-------------
14963 2 files changed, 23 insertions(+), 15 deletions(-)
14965 commit aa7f6cd12fe403acb2cffc7890724af7abb9b990
14966 Author: Mike Gorse <mgorse@suse.com>
14967 Date: Thu Jan 10 14:11:56 2013 -0600
14969 Fix invalid memory access handling errors when registering an
14972 Don't free the name until we are done with it.
14974 gi/gimodule.c | 8 ++++----
14975 1 file changed, 4 insertions(+), 4 deletions(-)
14977 commit ecd235959317d39b6d598662c00829e0ec717b17
14978 Author: Martin Pitt <martinpitt@gnome.org>
14979 Date: Thu Jan 10 16:42:46 2013 +0100
14981 Fix (out) arguments in callbacks
14983 Do not ignore the first argument in _pygi_closure_set_out_arguments().
14984 Presumably that has been done to skip over "self", but callbacks
14986 required to have a self argument. As self is never (out), we can
14990 gi/pygi-closure.c | 2 +-
14991 tests/test_gi.py | 4 ----
14992 2 files changed, 1 insertion(+), 5 deletions(-)
14994 commit d8e241e24a816691acbd592775b73defd9aa4f44
14995 Author: Martin Pitt <martinpitt@gnome.org>
14996 Date: Thu Jan 10 15:14:05 2013 +0100
14998 Fix C to Python marshalling of struct pointer arrays
15000 Do not treat an array of pointers to values like an array of values on
15001 marshalling from C. This makes the test_array_boxed_struct_return()
15005 gi/pygi-marshal-to-py.c | 5 +++--
15006 tests/test_gi.py | 2 --
15007 2 files changed, 3 insertions(+), 4 deletions(-)
15009 commit 60544b02f6f98c0b212625ae83b94a4c6debddeb
15010 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
15011 Date: Tue Jan 8 23:22:54 2013 +0200
15013 Add tests for GFile
15015 Most notably this commit contains a test for
15016 Gio.File.replace_contents_async(),
15017 which currently fails. Disable the tests for now as it breaks the
15020 https://bugzilla.gnome.org/show_bug.cgi?id=690525
15022 tests/test_gio.py | 64
15023 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
15024 1 file changed, 64 insertions(+)
15026 commit 118c5eaad045580455515876ba73b9537a8468b4
15027 Author: Martin Pitt <martinpitt@gnome.org>
15028 Date: Thu Jan 10 13:56:11 2013 +0100
15030 Rename test_overrides_gio.py to test_gio.py
15032 As we want to add more tests for non-overridden API.
15034 tests/Makefile.am | 2 +-
15035 tests/{test_overrides_gio.py => test_gio.py} | 0
15036 2 files changed, 1 insertion(+), 1 deletion(-)
15038 commit 8117e6bce73581e89211371708ff7d5de7d870d4
15039 Author: Martin Pitt <martinpitt@gnome.org>
15040 Date: Thu Jan 10 12:13:16 2013 +0100
15042 Don't let Property.setter() method names define property names
15044 Defining property names in install_properties() is too late when using
15045 @propname.setter decorators; their method names don't define a
15047 nor are they even required to be a valid property identifier.
15049 So change the logic to already fix the property name when using
15051 decorator and use that instead of the member name in
15052 install_properties().
15054 https://bugzilla.gnome.org/show_bug.cgi?id=688971
15056 gi/_gobject/propertyhelper.py | 29 ++++++++++++++++++++++-------
15057 tests/test_properties.py | 18 ++++++++++++++++++
15058 2 files changed, 40 insertions(+), 7 deletions(-)
15060 commit c0bd060521cc1b481995648dbe286b7e2f9ecd80
15061 Author: Martin Pitt <martinpitt@gnome.org>
15062 Date: Wed Jan 9 10:39:36 2013 +0100
15064 tests: Force UTF-8 file name encoding
15066 The test_gi.TestFilename tests fail if the environment specifies
15068 file name encoding. Force it to "UTF-8" for the tests.
15070 https://bugzilla.gnome.org/show_bug.cgi?id=691355
15072 tests/runtests.py | 1 +
15073 1 file changed, 1 insertion(+)
15075 commit c02a00ae9599a661076630b21b7e24e78fb88c29
15076 Author: Martin Pitt <martinpitt@gnome.org>
15077 Date: Tue Jan 8 16:56:40 2013 +0100
15079 Use g-i stack allocation API
15081 Where possible, i. e. when not keeping references across functions,
15083 _load_() methods instead of the _get_() ones from
15084 gobject-introspection, which
15085 is faster and less prone to memory leaks:
15087 g_callable_info_get_arg () → g_callable_info_load_arg ()
15088 g_callable_info_get_return_type() →
15089 g_callable_info_load_return_type ()
15090 g_arg_info_get_type() → g_arg_info_load_type ()
15092 https://bugzilla.gnome.org/show_bug.cgi?id=615982
15094 gi/pygi-argument.c | 16 ++++------
15095 gi/pygi-closure.c | 88
15096 ++++++++++++++++++++++++------------------------------
15097 2 files changed, 45 insertions(+), 59 deletions(-)
15099 commit 23d1f14f553069740465c82eaa937b877c41e0cb
15100 Author: Ray Strode <rstrode@redhat.com>
15101 Date: Wed Dec 19 13:04:32 2012 -0500
15103 pyg_value_from_pyobject: support GArray
15105 This commit adds support for marshalling a python list (or other
15107 returned from signal handlers to GArray, if necessary.
15109 This parallels the implementation written to marshal to (the now
15113 This fixes a crash in rhythmbox as seen downstream here:
15114 https://bugzilla.redhat.com/show_bug.cgi?id=872851
15116 https://bugzilla.gnome.org/show_bug.cgi?id=690514
15118 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15120 gi/_gobject/pygtype.c | 60
15121 ++++++++++++++++++++++++++++++++++++++++++++++++
15122 tests/test_everything.py | 22 ++++++++++++++++++
15123 2 files changed, 82 insertions(+)
15125 commit 2089dbb117bae769b0303411c2630b6f86dc7d2d
15126 Author: Marko Lindqvist <cazfi74@gmail.com>
15127 Date: Fri Jan 4 07:01:29 2013 +0100
15129 Fix obsolete automake macros
15131 https://bugzilla.gnome.org/show_bug.cgi?id=691101
15133 configure.ac | 3 +--
15134 1 file changed, 1 insertion(+), 2 deletions(-)
15136 commit 6c02ab0ad720780f176192fdc6372aaa178812fd
15137 Author: Simon Feltman <sfeltman@src.gnome.org>
15138 Date: Mon Dec 31 02:53:07 2012 -0800
15140 Change dynamic enum and flag gtype creation to use namespaced naming
15142 Use the combination of g_base_info_get_namespace and
15143 g_base_info_get_name
15144 as the name for registering enum and flag types with glib through
15145 g_enum_register_static and g_flags_register_static. This avoids
15147 with types like GLib.SeekType and Gst.SeekType. Add better exceptions
15148 and memory cleanup for invalid registration problems.
15150 https://bugzilla.gnome.org/show_bug.cgi?id=690455
15152 gi/_gobject/pygenum.c | 6 ++--
15154 ++++++++++++++++++++++++++++++++++++++++++++-------
15155 tests/test_gi.py | 35 +++++++++++++++++++++++
15156 3 files changed, 106 insertions(+), 13 deletions(-)
15158 commit 692c80e11a05e2fb0515580acb22fd6fe65cede1
15159 Author: Dan Horák <dan@danny.cz>
15160 Date: Fri Dec 28 22:12:32 2012 +0100
15162 Fix test for GBytes.compare()
15164 The result of the compare method is defined as equal, less than or
15166 and the test must match to that. The underlaying memcmp() function
15168 values than -1, 0 and 1. For example on architectures where it is
15169 implemented directly
15170 via a CPU instruction like on s390(x) where I can see -2 as a result
15174 https://bugzilla.gnome.org/show_bug.cgi?id=690837
15176 tests/test_gi.py | 4 ++--
15177 1 file changed, 2 insertions(+), 2 deletions(-)
15179 commit 948dbcb223249a08f4398d4ad8861e92e3de0dfa
15180 Author: Jonathan Ballet <jon@multani.info>
15181 Date: Thu Dec 27 16:04:51 2012 +0100
15183 Fix Gtk.UIManager.add_ui_from_string() override for non-ASCII chars
15185 The length argument is the size of the buffer in bytes, not in
15188 https://bugzilla.gnome.org/show_bug.cgi?id=690329
15190 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15192 gi/overrides/Gtk.py | 2 +-
15193 tests/test_overrides_gtk.py | 7 +++++++
15194 2 files changed, 8 insertions(+), 1 deletion(-)
15196 commit 53bc12a87da824cbfb006a4fd65731edec12ecc7
15197 Author: Mike Gorse <mgorse@suse.com>
15198 Date: Wed Dec 19 20:51:03 2012 -0500
15200 Don't dup strings before passing them to type registration functions
15202 Strings passed to g_enum_register_static and g_flags_register_static
15204 eventually passed to g_quark_from_string, which dups the string
15206 needed and does not take ownership of it, so passing in a
15207 dynamically-allocated
15208 string without freeing it results in a small leak.
15210 https://bugzilla.gnome.org/show_bug.cgi?id=690532
15212 gi/gimodule.c | 2 --
15213 1 file changed, 2 deletions(-)
15215 commit 9454c01f2b1b82d43eea0f72fe9a28ef50065fc9
15216 Author: Carlos Garnacho <carlos@lanedo.com>
15217 Date: Tue Dec 18 22:47:09 2012 +0100
15219 Fix marshalling of arrays of boxed struct values
15221 This fixes methods like gtk_selection_set_with_data(). In such cases
15222 data is passed as an array of struct pointers, so it must be converted
15223 to an array of structs.
15225 https://bugzilla.gnome.org/show_bug.cgi?id=656312
15227 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
15229 gi/pygi-marshal-from-py.c | 6 ++++++
15230 tests/test_gi.py | 12 ++++++++++++
15231 2 files changed, 18 insertions(+)
15233 commit 231d5a7cfc73518b4e2b0c926d4c1ce9a804797e
15234 Author: Simon Feltman <sfeltman@src.gnome.org>
15235 Date: Tue Dec 18 02:03:41 2012 -0800
15237 Add reference counting tests for Object.bind_property
15239 Add tests which ensure transform callbacks and user_data
15240 are propertly ref-counted.
15242 https://bugzilla.gnome.org/show_bug.cgi?id=690397
15244 tests/test_gobject.py | 40 ++++++++++++++++++++++++++++++++++++----
15245 1 file changed, 36 insertions(+), 4 deletions(-)
15247 commit c29e11812d176b1f057074c9bab22c9614ae4f8c
15248 Author: Martin Pitt <martinpitt@gnome.org>
15249 Date: Tue Dec 18 11:43:04 2012 +0100
15251 testhelpermodule.c: Do not unref called method
15253 In _wrap_test_gerror_exception(), do not unref the method
15255 causes a crash when being run with the stricter refcounting/memory
15257 debug-enabled Python builds.
15259 tests/testhelpermodule.c | 1 -
15260 1 file changed, 1 deletion(-)
15262 commit ff0d9106bcd02a6b2c67cc3722481218c599a9f4
15263 Author: Martin Pitt <martinpitt@gnome.org>
15264 Date: Mon Dec 17 23:20:50 2012 +0100
15266 configure.ac: post-release bump to 3.7.4
15268 configure.ac | 2 +-
15269 1 file changed, 1 insertion(+), 1 deletion(-)
15271 commit 061b23d14386c0e54d2c3af113554231bbe85f16
15272 Author: Martin Pitt <martinpitt@gnome.org>
15273 Date: Mon Dec 17 23:18:31 2012 +0100
15277 NEWS | 19 +++++++++++++++++++
15278 1 file changed, 19 insertions(+)
15280 commit a242f02823a63c9dca5d0b1ce84b031221053690
15281 Author: Martin Pitt <martinpitt@gnome.org>
15282 Date: Mon Dec 17 23:11:29 2012 +0100
15284 Add (failing) tests for callbacks with out arguments
15286 Most of these fail and need marshalling fixes.
15288 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
15289 1 file changed, 36 insertions(+)
15291 commit 449b1ef0d94450c1e457770a093abd6d6c9e6291
15292 Author: Martin Pitt <martinpitt@gnome.org>
15293 Date: Mon Dec 17 22:50:59 2012 +0100
15295 Add tests for internal API
15297 These cover functions like pygobject_new(), pyg_value_from_pyobject()
15299 pyg_value_as_pyobject() that are wrapped by testhelpermodule.c. With
15301 functions can be tested in isolation without the whole GI stack
15304 tests/Makefile.am | 1 +
15305 tests/test_internal_api.py | 73
15306 ++++++++++++++++++++++++++++++++++++++++++++++
15307 2 files changed, 74 insertions(+)
15309 commit e44312139426f51e576ef9e880819542cc224383
15310 Author: Martin Pitt <martinpitt@gnome.org>
15311 Date: Mon Dec 17 18:02:15 2012 +0100
15313 Add support for caller-allocated GArray out arguments
15315 https://bugzilla.gnome.org/show_bug.cgi?id=690041
15317 gi/pygi-cache.c | 2 +-
15318 gi/pygi-invoke.c | 57
15319 ++++++++++++++++++++++++++++++--------------------------
15320 tests/test_gi.py | 5 +++--
15321 3 files changed, 35 insertions(+), 29 deletions(-)
15323 commit f262320ac22b48a9d007c425633f3ca426b7fb4a
15324 Author: Martin Pitt <martinpitt@gnome.org>
15325 Date: Mon Dec 17 16:18:24 2012 +0100
15327 Add (failing) test for caller-allocated GArray return value
15329 Call new GIMarshallingTests.garray_utf8_full_out_caller_allocated()
15331 which reproduces https://bugzilla.gnome.org/show_bug.cgi?id=690041.
15333 The test is failing and causing a segfault right now, so disable it
15337 tests/test_gi.py | 4 ++++
15338 1 file changed, 4 insertions(+)
15340 commit 1cb4c30c3cf19690210010d39b6272965f489c58
15341 Author: Martin Pitt <martinpitt@gnome.org>
15342 Date: Mon Dec 17 15:56:44 2012 +0100
15344 GLib overrides: Avoid calling deprecated GLib.unix_signal_add_full()
15346 glib 2.35.x fixed the API to be GLib.unix_signal_add(). Call the
15348 available, but fall back to GLib.unix_signal_add_full() until we
15352 gi/overrides/GLib.py | 8 ++++++--
15353 1 file changed, 6 insertions(+), 2 deletions(-)
15355 commit 945263a89c3adee61f95d4211cf13b254ad6d51f
15356 Author: Martin Pitt <martinpitt@gnome.org>
15357 Date: Fri Nov 30 14:17:18 2012 +0100
15359 Re-support calling GLib.io_add_watch with an fd or Python file
15361 This does not strictly adhere to the GLib API, but it's very
15363 unlike the other modes, does not change the number or order of
15365 let's keep support for this and drop the deprecation warning.
15367 gi/overrides/GLib.py | 9 +++------
15368 1 file changed, 3 insertions(+), 6 deletions(-)
15370 commit 263b9f97e748746e1d26847a82a4d6e53a42798a
15371 Author: Martin Pitt <martinpitt@gnome.org>
15372 Date: Fri Nov 30 09:04:20 2012 +0100
15374 Robustify test_glib.TestGLib.test_io_add_watch_pyfile
15376 Use a longer timeout to avoid races on slow architectures, and cut
15378 loop as soon as we received all expected events.
15380 tests/test_glib.py | 5 ++++-
15381 1 file changed, 4 insertions(+), 1 deletion(-)
15383 commit 8e4e822cb273db4eb7e6e40f4739eeebee00798a
15384 Author: Martin Pitt <martinpitt@gnome.org>
15385 Date: Fri Nov 30 08:44:56 2012 +0100
15387 test_overrides_gtk: Ignore GVFS warnings from FileChooserDialog
15389 Do not cause GVFS warnings from Gtk.FileChooserDialog (which may
15391 unavailable monitor backends in the test environment) to fail
15394 tests/test_overrides_gtk.py | 12 +++++++++---
15395 1 file changed, 9 insertions(+), 3 deletions(-)
15397 commit d47283936b4c0b5e8b6ede8886c4badbf6d6e694
15398 Author: Martin Pitt <martinpitt@gnome.org>
15399 Date: Thu Nov 29 16:45:49 2012 +0100
15401 pygtkcompat: Work around IndexError on large flags
15403 On 32 bit systems pygtkcompat currently fails with
15405 File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
15406 name = flag.value_names[-1].replace(modname + '_', '')
15407 IndexError: cannot fit 'int' into an index-sized integer
15409 on 32 bit systems as some flags in Gdk are too large to fit into a
15411 "long". Work around this crash until this gets fixed properly
15415 pygtkcompat/pygtkcompat.py | 7 ++++++-
15416 1 file changed, 6 insertions(+), 1 deletion(-)
15418 commit 3fa31b1a7936c556e76bd8a42030567c6a867e0d
15419 Author: Martin Pitt <martinpitt@gnome.org>
15420 Date: Thu Nov 29 14:11:29 2012 +0100
15422 Fix pyg_value_from_pyobject() range check for uint
15424 We cannot use PYGLIB_PyLong_AsLong() for the range check, as on 32
15426 this overflows large uints. Use PyLong_AsLongLong() separately to
15428 negative values, and PyLong_AsUnsignedLong() for the actual
15431 gi/_gobject/pygtype.c | 12 ++++++++----
15432 1 file changed, 8 insertions(+), 4 deletions(-)
15434 commit 05d767a602571805e80099f1db47ad4164575c53
15435 Author: Martin Pitt <martinpitt@gnome.org>
15436 Date: Thu Nov 29 13:30:56 2012 +0100
15438 Fix tests to work with g-i 1.34.2
15440 Do not try to call GIMarshallingTests API which isn't present
15442 against g-i 1.34.2. This can be dropped when the g-i dependency gets
15446 tests/test_gi.py | 8 +++++---
15447 1 file changed, 5 insertions(+), 3 deletions(-)
15449 commit a107c928ef85b4e3b9075a408774b74879586029
15450 Author: Martin Pitt <martinpitt@gnome.org>
15451 Date: Thu Nov 29 13:13:14 2012 +0100
15453 Fix wrong refcount for GVariant property defaults
15455 Drop the bogus DECREF for the GVariant default argument, as we need
15457 around in the class. Otherwise the refcount drops to zero, and
15459 garbage collection run causes segfaults.
15461 https://bugzilla.gnome.org/show_bug.cgi?id=689267
15463 gi/_gobject/gobjectmodule.c | 1 -
15464 1 file changed, 1 deletion(-)
15466 commit 9b7dd1318cf540d5f8d03655da03534ed72707ec
15467 Author: Martin Pitt <martinpitt@gnome.org>
15468 Date: Thu Nov 29 11:44:22 2012 +0100
15470 test_gi: Fix TestFilename failure under C locale
15472 tests/test_gi.py | 1 +
15473 1 file changed, 1 insertion(+)
15475 commit 37ab227555ba8628b4fa99aa286bd046208745ed
15476 Author: Martin Pitt <martinpitt@gnome.org>
15477 Date: Thu Nov 29 11:16:26 2012 +0100
15479 Fix array arguments on 32 bit
15481 In _pygi_argument_from_object() we never put the actual element
15483 constructed array. The array contains GIArguments, or bytes in the
15485 passing a string as an array.
15487 This happened to work on 64 bit machines where GIArgument and char*
15489 same size, but not on 32 bit machines
15490 (test_gi.TestPropertiesObject.test_strv
15493 gi/pygi-argument.c | 6 +++++-
15494 1 file changed, 5 insertions(+), 1 deletion(-)
15496 commit 7bd852fc82f92dac8723e18b61a56ed1b1a1b81c
15497 Author: Martin Pitt <martinpitt@gnome.org>
15498 Date: Thu Nov 29 10:20:27 2012 +0100
15500 test_gi: Disable failing check in test_module_name()
15502 When calling this under some conditions, such as
15504 TEST_NAMES='test_thread test_gi.TestOverrides'
15506 then the module name of GObject.InitiallyUnowned comes out as
15507 "importlib._bootstrap" instead of "gi.repository.GObject". To be
15509 Add a couple of other tests to ensure that it is not broken in
15512 tests/test_gi.py | 10 +++++++++-
15513 1 file changed, 9 insertions(+), 1 deletion(-)
15515 commit 94a6cc93a104b22dcee2ac73cae36b83a4b5d9c1
15516 Author: Martin Pitt <martinpitt@gnome.org>
15517 Date: Thu Nov 29 09:40:32 2012 +0100
15519 test_gdbus: Drop failure if timeout=0 works differently
15521 In some test environments we do not actually get a timeout exceptions
15523 timeout=0, but a different error message. So only ensure that we
15527 tests/test_gdbus.py | 4 +++-
15528 1 file changed, 3 insertions(+), 1 deletion(-)
15530 commit c3b2f5fee573aa03a8a9563efbbbc1bc4fa25da7
15531 Author: Martin Pitt <martinpitt@gnome.org>
15532 Date: Thu Nov 29 09:29:05 2012 +0100
15534 test_glib: Drop some assumptions about XDG dirs
15536 Some directories do not exist in minimal test environments, and this
15538 important for testing that calling these GLib functions works.
15540 tests/test_glib.py | 8 +++++---
15541 1 file changed, 5 insertions(+), 3 deletions(-)
15543 commit e45c690bc83b6d513887649de88965a9752e316d
15544 Author: Martin Pitt <martinpitt@gnome.org>
15545 Date: Wed Nov 28 12:20:31 2012 +0100
15547 Add backwards compatible API for GLib.unix_signal_add_full()
15549 This was renamed to GLib.unix_signal_add() in
15550 http://git.gnome.org/browse/glib/commit/?id=fca30c3e165
15552 Provide a backwards compatible shim with a deprecation message.
15554 gi/overrides/GLib.py | 10 ++++++++++
15555 1 file changed, 10 insertions(+)
15557 commit 00b9ea32d766ae486249f402d9dee511fd9f53a9
15558 Author: Martin Pitt <martinpitt@gnome.org>
15559 Date: Mon Nov 26 08:11:36 2012 +0100
15561 Drop MININT64/MAXUINT64 workaround
15563 g-i 1.34.2 properly handles 64 bit constants now, so bug 685022 has
15565 properly now. Drop the workaround in the overrides to manually
15569 gi/overrides/GLib.py | 7 -------
15570 1 file changed, 7 deletions(-)
15572 commit d16604f64d25d18409270d7537fc993113b65c19
15573 Author: Simonas Kazlauskas <simonas@kazlauskas.me>
15574 Date: Fri Nov 23 19:57:56 2012 +0200
15576 Fix maximum and minimum ranges of TYPE_(U)INT64 properties
15578 In corner case where properties use values 2 ** 62 < ±x < 2 ** 63 for
15579 TYPE_INT64 and 2 ** 63 < x < 2 ** 64 for TYPE_UINT64 they will raise
15580 warnings even tough values are valid.
15582 https://bugzilla.gnome.org/show_bug.cgi?id=688949
15584 gi/_gobject/propertyhelper.py | 6 +++---
15585 tests/test_properties.py | 11 ++++-------
15586 2 files changed, 7 insertions(+), 10 deletions(-)
15588 commit 93e9e309d8ba54884881cfca203e8bc355c2727e
15589 Author: Martin Pitt <martinpitt@gnome.org>
15590 Date: Wed Nov 21 12:58:07 2012 +0100
15592 Test virtual methods with in and out arguments
15594 ... and both caller and callee out argument allocation.
15596 This came up in https://bugzilla.gnome.org/show_bug.cgi?id=688783
15598 tests/test_gi.py | 13 +++++++++++++
15599 1 file changed, 13 insertions(+)
15601 commit 25a9cfb043448efbab9168ef66f852cc34b9909b
15602 Author: Martin Pitt <martinpitt@gnome.org>
15603 Date: Tue Nov 20 07:00:44 2012 +0100
15605 Ship pygi-convert.sh in tarballs
15607 https://bugzilla.gnome.org/show_bug.cgi?id=688697
15610 1 file changed, 1 insertion(+)
15612 commit 4a8d31e6f56a3f1360bdb880ffd9a6eb139c02d8
15613 Author: Martin Pitt <martinpitt@gnome.org>
15614 Date: Mon Nov 19 15:25:38 2012 +0100
15616 Post-release version bump to 3.7.3
15618 configure.ac | 2 +-
15619 1 file changed, 1 insertion(+), 1 deletion(-)
15621 commit d0ed62afbc4cada0bf6abc4f8754e5a8d73036e4
15622 Author: Martin Pitt <martinpitt@gnome.org>
15623 Date: Mon Nov 19 15:13:28 2012 +0100
15627 NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
15628 1 file changed, 47 insertions(+)
15630 commit 29dc7425dd7584411b52ef07b50f929ed119a000
15631 Author: Martin Pitt <martinpitt@gnome.org>
15632 Date: Mon Nov 19 14:37:02 2012 +0100
15636 Commit e617f76e forgot to rename the file in EXTRA_DIST
15638 tests/Makefile.am | 2 +-
15639 1 file changed, 1 insertion(+), 1 deletion(-)
15641 commit 567aae6e7c56bb89f53fcfccb1b0bc732f85b847
15642 Author: Martin Pitt <martinpitt@gnome.org>
15643 Date: Mon Nov 19 14:34:13 2012 +0100
15645 tests: Fix unicode vs. str issues in Python 2
15647 Some of the tests assumed a system default encoding of UTF-8, which
15649 in Python 2 unless pygtkcompat is imported. Commit e617f76 uncovered
15652 tests/test_gi.py | 8 ++++----
15653 tests/test_iochannel.py | 16 +++++++++-------
15654 2 files changed, 13 insertions(+), 11 deletions(-)
15656 commit 509e5ac1a6dd8504e89c33c559fe4f72156a1ddf
15657 Author: Martin Pitt <martinpitt@gnome.org>
15658 Date: Mon Nov 19 14:20:56 2012 +0100
15660 tests: Fix previous commit to fail properly on test failures
15662 tests/Makefile.am | 2 +-
15663 1 file changed, 1 insertion(+), 1 deletion(-)
15665 commit e617f76e5b0c301c3ae92e1091aa86792de4d8e8
15666 Author: Martin Pitt <martinpitt@gnome.org>
15667 Date: Mon Nov 19 14:09:14 2012 +0100
15669 tests: Run pygtkcompat tests separately
15671 pygtkcompat changes the global namespace, in particular patching
15673 overrides. Run the tests in a separate process so that the main
15675 potentially affected by the pygtkcompat test.
15677 runtests.py runs all tests/test_*.py by default, so rename to
15678 compat_test_pygtk.py and run that explicitly after successfully
15682 See https://bugzilla.gnome.org/show_bug.cgi?id=688219
15684 tests/Makefile.am | 3 +++
15685 tests/{test_pygtkcompat.py => compat_test_pygtk.py} | 0
15686 2 files changed, 3 insertions(+)
15688 commit 8180b8092f99b7c9f0dee1742418efdbd23ab330
15689 Author: Simon Feltman <sfeltman@src.gnome.org>
15690 Date: Thu Nov 15 02:51:52 2012 -0800
15692 Move pygtkcompat into sibling package of gi
15694 Move the pygtkcompat module out of the gi package and into
15695 a sibling package as follows:
15701 This allows for pygtkcompat to grow without affecting the gi package.
15702 Add deprecation message to gi/pygtkcompat.py
15704 https://bugzilla.gnome.org/show_bug.cgi?id=688219
15708 gi/pygtkcompat.py | 524
15709 +++------------------------------------------
15710 pygtkcompat/Makefile.am | 15 ++
15711 pygtkcompat/__init__.py | 20 ++
15712 pygtkcompat/pygtkcompat.py | 501
15713 +++++++++++++++++++++++++++++++++++++++++++
15714 tests/test_pygtkcompat.py | 6 +-
15715 7 files changed, 565 insertions(+), 504 deletions(-)
15717 commit f736694d09e9d0fca4769d9f1f34ec34e6354d87
15718 Author: Martin Pitt <martinpitt@gnome.org>
15719 Date: Mon Nov 19 13:59:20 2012 +0100
15721 Bump g-i dependency to >= 1.34.2
15723 We need this for updated GLib annotations and new test API.
15725 configure.ac | 2 +-
15726 1 file changed, 1 insertion(+), 1 deletion(-)
15728 commit f6c994c76cd8010460b76bf455e1a341348d735b
15729 Author: Martin Pitt <martinpitt@gnome.org>
15730 Date: Mon Nov 19 10:39:26 2012 +0100
15732 test_gi: Fix failing tests with g-i 1.34.x
15734 Skip tests which require g-i test API from 1.35.x when building
15738 tests/test_gi.py | 6 ++++++
15739 1 file changed, 6 insertions(+)
15741 commit 8ce0d028fe79e2ce52cfecbb682afba6651a7a70
15742 Author: Martin Pitt <martinpitt@gnome.org>
15743 Date: Wed Nov 14 11:57:21 2012 +0100
15745 test_gi: Add tests for type "filename"
15747 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
15748 1 file changed, 30 insertions(+)
15750 commit 3408a151e49d9520f54ad9bc04f620c7777125ec
15751 Author: Martin Pitt <martinpitt@gnome.org>
15752 Date: Wed Nov 14 11:09:33 2012 +0100
15754 Drop foreign GVariant registration/support
15756 This is dead code. We have tests for GVariant in and out method
15758 callback arguments and return values, properties, etc to ensure that
15762 gi/Makefile.am | 2 --
15763 gi/pygi-foreign-gvariant.c | 63
15764 ----------------------------------------------
15765 gi/pygi-foreign-gvariant.h | 41 ------------------------------
15766 gi/pygi-foreign.c | 8 +-----
15767 4 files changed, 1 insertion(+), 113 deletions(-)
15769 commit 47c46d847bb69ebc139d5e0b6c609da6f27201f2
15770 Author: Martin Pitt <martinpitt@gnome.org>
15771 Date: Wed Nov 14 10:33:24 2012 +0100
15773 test_properties.py: Fix PEP-8 errors
15775 tests/test_properties.py | 3 +--
15776 1 file changed, 1 insertion(+), 2 deletions(-)
15778 commit 78f49e6253500bfa382ce6c07412613d8f7f9d7f
15779 Author: Martin Pitt <martinpitt@gnome.org>
15780 Date: Wed Nov 14 10:14:36 2012 +0100
15782 Add support for GVariant properties defined in Python
15784 gi/_gobject/gobjectmodule.c | 13 +++++++
15785 gi/_gobject/propertyhelper.py | 11 ++++--
15786 tests/test_properties.py | 81
15787 +++++++++++++++++++++++++++++++++++++------
15788 3 files changed, 91 insertions(+), 14 deletions(-)
15790 commit f3b77f4304be20b7422c262b973f3eeb540c4bf6
15791 Author: Martin Pitt <martinpitt@gnome.org>
15792 Date: Wed Nov 14 09:33:43 2012 +0100
15794 pyg_value_from_pyobject(): Simplify GVariant type check
15796 Use pyg_type_from_object_strict() instead of the much more expensive
15798 pyg_get_gvariant_type().
15800 gi/_gobject/pygtype.c | 23 +----------------------
15801 1 file changed, 1 insertion(+), 22 deletions(-)
15803 commit 0c0fb8ef88a2c61cf95cd1cb96f6d5f296cad5fc
15804 Author: Martin Pitt <martinpitt@gnome.org>
15805 Date: Wed Nov 14 09:27:42 2012 +0100
15807 test_everything: Add test for callback returning wrong type
15809 This covers the "expected a GVariant, got something else" check in
15810 pyg_value_from_pyobject().
15812 tests/test_everything.py | 16 ++++++++++++++++
15813 1 file changed, 16 insertions(+)
15815 commit 84db7109dfbaf443758a5a4871ee385686d2703d
15816 Author: Martin Pitt <martinpitt@gnome.org>
15817 Date: Wed Nov 14 08:42:53 2012 +0100
15819 Add type checking to GVariant argument assignment
15821 gi/pygi-argument.c | 7 ++++++-
15822 tests/test_gi.py | 5 ++---
15823 2 files changed, 8 insertions(+), 4 deletions(-)
15825 commit e944caf5ff53143a98dd4a5578530996358013ec
15826 Author: Martin Pitt <martinpitt@gnome.org>
15827 Date: Wed Nov 14 08:22:35 2012 +0100
15829 Add support for GVariant properties defined in C
15831 Note that trying to assign a non-GVariant value to a GVariant property
15834 gi/pygi-property.c | 6 +++++-
15835 tests/test_gi.py | 21 +++++++++++++++++++++
15836 2 files changed, 26 insertions(+), 1 deletion(-)
15838 commit 614cc9594cb34d92a6d4b00773427d4fb023c65e
15839 Author: Martin Pitt <martinpitt@gnome.org>
15840 Date: Wed Nov 14 07:09:58 2012 +0100
15842 test_unknown.py: Check property interface
15844 NB that the property implementation in test-unknown.c does not
15846 anything, we just want to assert that the properties are properly
15849 tests/test_unknown.py | 10 ++++++++++
15850 1 file changed, 10 insertions(+)
15852 commit 9d7771affcf788d251cced65da56fc2773a278b3
15853 Author: Martin Pitt <martinpitt@gnome.org>
15854 Date: Wed Nov 14 07:01:24 2012 +0100
15856 Fix previous commit for Python 2
15858 gi/pygi-foreign-cairo.c | 2 +-
15859 1 file changed, 1 insertion(+), 1 deletion(-)
15861 commit 997d4e70b2793039d916acf8921087576622152e
15862 Author: Martin Pitt <martinpitt@gnome.org>
15863 Date: Wed Nov 14 06:57:04 2012 +0100
15865 pygi-foreign-cairo.c: Use official py3cairo API
15867 Do not clobber py3cairo's Pycairo_CAPI global variable, and use
15869 instead of our own code.
15871 gi/pygi-foreign-cairo.c | 4 ++--
15872 1 file changed, 2 insertions(+), 2 deletions(-)
15874 commit cec5d1a55347b81c1ae4ddc47ea2b4fbf964d239
15875 Author: Martin Pitt <martinpitt@gnome.org>
15876 Date: Wed Nov 14 06:47:23 2012 +0100
15878 Drop dead code from pygi-callbacks.[hc]
15880 _pygi_create_callback() and _pygi_scan_for_callbacks() are not
15882 _pygi_destroy_notify_create() fits better in pygi-marshal-from-py.c,
15884 there, and drop pygi-callbacks.[hc] completely.
15886 gi/Makefile.am | 2 -
15887 gi/pygi-callbacks.c | 217
15888 ----------------------------------------------
15889 gi/pygi-callbacks.h | 48 ----------
15890 gi/pygi-marshal-from-py.c | 44 ++++++++++
15891 gi/pygi-private.h | 1 -
15892 5 files changed, 44 insertions(+), 268 deletions(-)
15894 commit 55070cc9c98993ccda7ebcb05783fad182b2eb11
15895 Author: Carlos Garnacho <carlos@lanedo.com>
15896 Date: Tue Nov 13 18:24:28 2012 +0100
15898 Fix marshalling of arrays of struct pointers to Python
15900 Fill in the pointer to the struct, not the pointer to the
15901 array position. This makes the GdkAtom** argument in
15902 gtk_clipboard_wait_for_targets() work.
15904 https://bugzilla.gnome.org/show_bug.cgi?id=678620
15906 gi/pygi-marshal-to-py.c | 5 ++++-
15907 1 file changed, 4 insertions(+), 1 deletion(-)
15909 commit fc021516552b1720bacc4afe6b7a610c413194c4
15910 Author: Martin Pitt <martinpitt@gnome.org>
15911 Date: Wed Nov 14 06:27:17 2012 +0100
15913 test_atoms.py: Add test for out array
15915 This reproduces https://bugzilla.gnome.org/show_bug.cgi?id=678620
15917 tests/test_atoms.py | 19 +++++++++++++++++++
15918 1 file changed, 19 insertions(+)
15920 commit e2790d22610aae773635d4caef2458082a307283
15921 Author: Martin Pitt <martinpitt@gnome.org>
15922 Date: Tue Nov 13 16:38:36 2012 +0100
15924 Fix Gdk.Atom str()/repr() fallback
15926 Fix regression in commit 6713618: If an atom does not have a name,
15928 recursively call our own str()/repr() methods, but just print
15929 "Gdk.Atom<atom_id>".
15931 gi/overrides/Gdk.py | 6 ++++--
15932 1 file changed, 4 insertions(+), 2 deletions(-)
15934 commit 9879fd41a7d8d72f8db9cadf5b1ee29fc4d5d6bf
15935 Author: Martin Pitt <martinpitt@gnome.org>
15936 Date: Tue Nov 13 13:16:14 2012 +0100
15938 test_gi: Stop using GLib.bytes.unref_to_array()
15940 This method isn't safe for GI, and should be (skip)ed. Use get_data()
15942 which is safe and works fine.
15944 See https://bugzilla.gnome.org/show_bug.cgi?id=688242
15946 tests/test_gi.py | 6 ------
15947 1 file changed, 6 deletions(-)
15949 commit 671361841de797ef62b59d1d7568fc3d431898c7
15950 Author: Martin Pitt <martinpitt@gnome.org>
15951 Date: Tue Nov 13 12:56:11 2012 +0100
15953 Fix Gdk.Atom to have a proper str() and repr()
15955 Gdk.Atom is not proper GType'd class, so we cannot override the
15957 Just override its __str__() and __repr__() methods so that printing
15959 something sensible. For nameless/invalid atoms, fall back to the old
15960 <void at 0xdeadbeef> output to help with debugging.
15962 https://bugzilla.gnome.org/show_bug.cgi?id=678620
15964 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
15965 tests/test_atoms.py | 12 ++++++++++++
15966 2 files changed, 33 insertions(+)
15968 commit 56e62858e9c2bdde3186f5cf4e83be94fb4e5306
15969 Author: Simon Feltman <sfeltman@src.gnome.org>
15970 Date: Tue Nov 13 02:53:34 2012 -0800
15972 Make sure g_value_set_boxed does not cause a buffer overrun with
15975 Add NULL terminator to gchar** passed to g_value_set_boxed to
15976 make sure it does not overrun memory in pygi_set_property_value_real.
15977 Add MALLOC_CHECK_=3 to "make check" which prints an error and aborts
15980 https://bugzilla.gnome.org/show_bug.cgi?id=688232
15982 gi/pygi-property.c | 8 ++++++--
15983 tests/Makefile.am | 1 +
15984 2 files changed, 7 insertions(+), 2 deletions(-)
15986 commit ca11ec124fdd3fb2b67efdeb3ac93aaeb8b3fd83
15987 Author: Martin Pitt <martinpitt@gnome.org>
15988 Date: Mon Nov 12 08:35:28 2012 +0100
15990 types.py: Fix PEP-8 violation
15993 1 file changed, 1 insertion(+), 1 deletion(-)
15995 commit df589458358d7e7bf178dff4e6ad937a70f806e3
15996 Author: Simon Feltman <sfeltman@src.gnome.org>
15997 Date: Sun Nov 11 22:26:19 2012 -0800
15999 Fix leaks with GValues holding boxed and object types
16001 Expose read access to PyGIBoxed.free_on_dealloc.
16002 Add GObject.Value.__del__ override and call unset() to
16003 correctly free reference counts.
16005 https://bugzilla.gnome.org/show_bug.cgi?id=688137
16007 gi/overrides/GObject.py | 9 +++++++++
16008 gi/pygi-boxed.c | 12 ++++++++++++
16009 tests/test_gi.py | 2 --
16010 3 files changed, 21 insertions(+), 2 deletions(-)
16012 commit c01c95b9fb3d726385efac945f6d1270ae65d109
16013 Author: Simon Feltman <sfeltman@src.gnome.org>
16014 Date: Sun Nov 11 19:46:15 2012 -0800
16016 Add expectantly failing unittests for GValue boxed/object leaks
16018 https://bugzilla.gnome.org/show_bug.cgi?id=688137
16020 tests/test_gi.py | 80
16021 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16022 1 file changed, 80 insertions(+)
16024 commit 13629f5a9c9a7022f3521a3616d9ce8fa4a6161b
16025 Author: Simon Feltman <s.feltman@gmail.com>
16026 Date: Thu Aug 16 15:09:08 2012 -0700
16028 Add doc strings showing method signatures for gi methods
16030 Add signature based doc string to all methods pulled in from
16031 introspection. For example: Gtk.SpinButton.get_icon_area.__doc__
16032 get_icon_area(self, icon_pos:Gtk.EntryIconPosition) ->
16033 icon_area:cairo.RectangleInt
16035 https://bugzilla.gnome.org/show_bug.cgi?id=681967
16037 gi/overrides/GIMarshallingTests.py | 1 +
16038 gi/pygi-info.c | 103
16039 +++++++++++++++++++++++++++++++++----
16040 gi/pygi-type.c | 60 +++++++++++++++++++++
16041 gi/pygi-type.h | 1 +
16043 ++++++++++++++++++++++++++-------
16044 tests/test_gi.py | 30 +++++++++++
16045 6 files changed, 259 insertions(+), 28 deletions(-)
16047 commit 7b7277f3cc099280f8e2d6cf6693490290fedc24
16048 Author: Simon Feltman <sfeltman@src.gnome.org>
16049 Date: Fri Nov 9 19:17:03 2012 -0800
16051 Set Property instance doc string and blurb to getter doc string
16053 Assign Property getter __doc__ strings or explicit blurb parameters
16054 to the Property instances __doc__ attribute. This clobbers the
16055 default Property classes lengthy and unhelpful doc string in the case
16058 https://bugzilla.gnome.org/show_bug.cgi?id=688025
16060 gi/_gobject/propertyhelper.py | 10 +++++++---
16061 tests/test_properties.py | 14 ++++++++++----
16062 2 files changed, 17 insertions(+), 7 deletions(-)
16064 commit c5343d329ebb452d97afac30e4120ebab8477556
16065 Author: Martin Pitt <martinpitt@gnome.org>
16066 Date: Mon Nov 12 07:47:02 2012 +0100
16068 tests: Fix for Python 2
16070 Add quirks for Python 2's string handling, and disable the
16071 Everything.test_array_gint8_in() as there seems to be no way of
16075 tests/test_everything.py | 7 +++++--
16076 1 file changed, 5 insertions(+), 2 deletions(-)
16078 commit 964f33ca3a74bfb7d850f136d0844ac1551d36e9
16079 Author: Martin Pitt <martinpitt@gnome.org>
16080 Date: Sat Nov 10 15:52:15 2012 +0100
16082 test_everything: Add tests for more Regress data and container types
16084 Add more tests for Regress' data and container type test API.
16086 This detects a number of bugs, which have been marked as expected
16088 disabled completely for the cases where they cause crashes:
16090 * unsigned enums with values >= 0x80000000 do not work
16091 * nested ghashes in return values do not work
16092 * array length arguments in callbacks are passed instead of
16095 tests/test_everything.py | 156
16096 ++++++++++++++++++++++++++++++++++++++++++++++-
16097 1 file changed, 154 insertions(+), 2 deletions(-)
16099 commit 476e29d1ba3eda92cc021710017bce4ec252e5b5
16100 Author: Martin Pitt <martinpitt@gnome.org>
16101 Date: Fri Nov 9 18:45:22 2012 +0100
16103 test_everything: Add tests for Regress type tests
16105 Add tests for all the data type handling tests of g-i's Regress
16108 tests/test_everything.py | 183
16109 +++++++++++++++++++++++++++++++++++++++++++++++
16110 1 file changed, 183 insertions(+)
16112 commit 0d7974396e8379b518403983d9d13629066680d7
16113 Author: Martin Pitt <martinpitt@gnome.org>
16114 Date: Fri Nov 9 18:44:50 2012 +0100
16116 Add GObject.G_MINSSIZE
16118 gi/_gobject/gobjectmodule.c | 1 +
16119 gi/overrides/GObject.py | 2 +-
16120 2 files changed, 2 insertions(+), 1 deletion(-)
16122 commit b800a6903300dbe9435ed8eb3677eb9c0536ec31
16123 Author: Martin Pitt <martinpitt@gnome.org>
16124 Date: Fri Nov 9 16:02:00 2012 +0100
16126 Fix marshalling of GByteArrays
16128 In _pygi_marshal_from_py_array(), set the array length after copying
16130 in the GI_TYPE_TAG_UINT8 case (which applies for GByteArrays),
16132 will always come out as zero length.
16134 Enable the TestGByteArray.test_bytearray_none_in() test case as that
16137 gi/pygi-marshal-from-py.c | 1 +
16138 tests/test_gi.py | 3 +--
16139 2 files changed, 2 insertions(+), 2 deletions(-)
16141 commit fa568949c46dd4b537357f1af74d1f675294b760
16142 Author: Martin Pitt <martinpitt@gnome.org>
16143 Date: Fri Nov 9 15:23:37 2012 +0100
16145 Fix marshalling of ssize_t to smaller ints
16147 Add missing marshalling cases for (u)int8 and (u)int16. This fixes the
16148 TestArray.test_array_in test, so drop the expected failure.
16150 gi/pygi-marshal-from-py.c | 30 +++++++++++++++++++++++++++++-
16151 tests/test_gi.py | 2 --
16152 2 files changed, 29 insertions(+), 3 deletions(-)
16154 commit 5a5940a0a0704be8e222d4cad6cedda1ad3e0f71
16155 Author: Martin Pitt <martinpitt@gnome.org>
16156 Date: Fri Nov 9 09:37:00 2012 +0100
16158 test_gi: Enable GByteArray constructor tests
16160 GByteArray annotations have been fixed in GLib now, enable the
16163 Drop the redundant disabled_test_bytearray_none_in_from_bytes()
16165 is the same as disabled_test_bytearray_none_in().
16167 tests/test_gi.py | 16 ++++------------
16168 1 file changed, 4 insertions(+), 12 deletions(-)
16170 commit e2c545896ab08b1f1885b502a8472db83f193d08
16171 Author: Martin Pitt <martinpitt@gnome.org>
16172 Date: Fri Nov 9 09:11:38 2012 +0100
16174 test_gi: Enable GBytes test cases
16176 GBytes annotations are fixed in GLib now, enable the test case and
16178 for g_bytes_new_take() and g_bytes_{compare,equal}().
16180 Please note that calling unref_to_array() on a GBytes object that
16182 ourselves currently causes a double free crash, so disable that part
16185 tests/test_gi.py | 30 +++++++++++++++++++++++++-----
16186 1 file changed, 25 insertions(+), 5 deletions(-)
16188 commit 1ba4e201f86ffa28c645d7c9eea99cf31080ea43
16189 Author: Martin Pitt <martinpitt@gnome.org>
16190 Date: Fri Nov 9 08:26:29 2012 +0100
16192 test_gi: Add missing data type tests from GIMarshallingTests
16194 Add tests for types time_t, GBytes, GByteArray, and various variants
16196 around GValues, flags, enums, arrays, and boxed structs. This tests
16198 is provided by GIMarshallingTests, but which we did not cover yet.
16200 This detects a number of bugs in annotations and our
16201 marshalling. These have
16202 been marked as expected failure, or disabled completely for the
16204 they cause crashes.
16206 tests/test_gi.py | 152
16207 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
16208 1 file changed, 152 insertions(+)
16210 commit 0456d9c892b76ed79134230a4a8610a23c602964
16211 Author: Martin Pitt <martinpitt@gnome.org>
16212 Date: Fri Nov 9 06:44:46 2012 +0100
16214 autogen.sh: Only enable code coverage if lcov is installed
16216 Otherwise we break minimal build environments.
16218 autogen.sh | 8 +++++++-
16219 1 file changed, 7 insertions(+), 1 deletion(-)
16221 commit 76a3acebf73f930c541d0f30249f67d254f948ab
16222 Author: Martin Pitt <martinpitt@gnome.org>
16223 Date: Fri Nov 9 06:41:58 2012 +0100
16225 Lower autoconf dependency to 2.68 again
16227 configure.ac | 2 +-
16228 1 file changed, 1 insertion(+), 1 deletion(-)
16230 commit f1a5f1b92d577c542d4258e63e595d4da9acd484
16231 Author: Martin Pitt <martinpitt@gnome.org>
16232 Date: Thu Nov 8 14:54:30 2012 +0100
16234 Add support for lcov code coverage
16236 Use gnome-common's new code coverage flags. Default to enabling
16238 in autogen.sh (but not for dist).
16240 To use this, run "make check-code-coverage" after building.
16245 configure.ac | 6 ++++++
16246 4 files changed, 10 insertions(+), 1 deletion(-)
16248 commit e46af4aba220cfaf4b84a9be847f3363da556993
16249 Author: Martin Pitt <martinpitt@gnome.org>
16250 Date: Wed Nov 7 17:14:22 2012 +0100
16252 Update documentation files
16254 Update AUTHORS to have the current maintainers.
16256 Update HACKING to drop Tomeu's GNOME login (this should be set in
16259 Update INSTALL to current upstream version.
16264 +++++++++++++++++++++++++++++++++++++++++++---------------------
16265 3 files changed, 267 insertions(+), 130 deletions(-)
16267 commit 06f5ed0ebabce34eca6bc6de80221cba6453feec
16268 Author: Martin Pitt <martinpitt@gnome.org>
16269 Date: Wed Nov 7 17:08:11 2012 +0100
16271 Quiesce automake output
16273 Use $(AM_V_GEN) with custom $(LINK) commands, and avoid error
16275 existing symlinks on rebuilds.
16277 gi/Makefile.am | 2 +-
16278 gi/_glib/Makefile.am | 2 +-
16279 gi/_gobject/Makefile.am | 2 +-
16280 tests/Makefile.am | 6 +++---
16281 4 files changed, 6 insertions(+), 6 deletions(-)
16283 commit 37270de8ead0b281a1824ff204a4aa9686a7225b
16284 Author: Martin Pitt <martinpitt@gnome.org>
16285 Date: Wed Nov 7 16:50:07 2012 +0100
16287 Drop unused variable, fail builds on those
16289 Build with -Werror=unused-variable, as these could hide programming
16291 incomplete refactoring, and are not platform dependent.
16293 Drop unused variable in pyg_type_add_interfaces().
16296 gi/_gobject/gobjectmodule.c | 1 -
16297 2 files changed, 1 insertion(+), 1 deletion(-)
16299 commit 495fd98555e0c89724bb8fa9478dc096c5d61e22
16300 Author: Martin Pitt <martinpitt@gnome.org>
16301 Date: Wed Nov 7 16:37:04 2012 +0100
16303 configure.ac: Drop maintainer mode, modernize libtool declarations
16305 Use all arguments of AC_INIT.
16307 AM_MAINTAINER_MODE is discouraged now, drop it.
16309 Use LT_PREREQ and LT_INIT for libtool initialization instead of
16313 See https://live.gnome.org/GnomeGoals/ModernAutotools
16315 configure.ac | 19 ++++++-------------
16316 1 file changed, 6 insertions(+), 13 deletions(-)
16318 commit 059d0cb879fe5a7b0296ec21f3bfcb64c8596cb0
16319 Author: Martin Pitt <martinpitt@gnome.org>
16320 Date: Wed Nov 7 16:21:13 2012 +0100
16322 autoupdate configure.ac
16324 Result of "autoupdate", with slight manual beautification.
16326 See https://live.gnome.org/GnomeGoals/ModernAutotools
16328 configure.ac | 21 +++++++++------------
16329 1 file changed, 9 insertions(+), 12 deletions(-)
16331 commit a932446e6648ecd98c9038298b18c6fbd36c01aa
16332 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16333 Date: Mon Nov 5 14:26:05 2012 -0300
16335 pygi-convert: remove deprecated GLib → GObject conversions
16337 Using these functions from the GObject module is deprecated now,
16341 pygi-convert.sh | 5 -----
16342 1 file changed, 5 deletions(-)
16344 commit 21076d4b8f3ec8e253ca236fa3b20b07fde237fe
16345 Author: Simon Feltman <sfeltman@src.gnome.org>
16346 Date: Wed Nov 7 03:49:24 2012 -0800
16348 Use hasattr when testing for __info__ when finding vfuncs
16350 Change gi.types.find_vfunc_info_in_interface to use hasattr
16351 when finding vfuncs. Using '__info__' in __dict__ was skipping
16352 overridden interfaces which don't directly contain the __info__.
16355 1 file changed, 1 insertion(+), 1 deletion(-)
16357 commit 1b5c9b3d1499b3bc59afb297672abc671e175546
16358 Author: Martin Pitt <martinpitt@gnome.org>
16359 Date: Wed Nov 7 12:05:24 2012 +0100
16361 tests: Ensure that the fatal mask is always reset
16363 On test case failures the fatal mask might be left in a wrong state,
16365 with "finally" that it is reset on failed tests as well, to avoid
16369 tests/test_gi.py | 11 ++++++-----
16370 tests/test_overrides_gtk.py | 33 +++++++++++++++++++--------------
16371 tests/test_pygtkcompat.py | 6 ++++--
16372 tests/test_signal.py | 6 ++++--
16373 4 files changed, 33 insertions(+), 23 deletions(-)
16375 commit 463f660cd6bb78ae7f2ea7c70c0491e6b4744942
16376 Author: Simon Feltman <sfeltman@src.gnome.org>
16377 Date: Tue Nov 6 21:34:06 2012 -0800
16379 Replace GObject notify methods with introspection and python
16381 Replace static context managers for freeze_notify and
16382 handler_block with python context managers. Remove notify,
16383 freeze_notify, thaw_notify static methods as the introspection
16384 versions work fine.
16386 https://bugzilla.gnome.org/show_bug.cgi?id=672727
16388 gi/_gobject/pygobject.c | 173
16389 ++----------------------------------------------
16390 gi/overrides/GObject.py | 61 +++++++++++++++--
16391 tests/test_gobject.py | 26 ++++++--
16392 tests/test_signal.py | 13 +++-
16393 4 files changed, 91 insertions(+), 182 deletions(-)
16395 commit 3fcd987272a779e5ee9173a2c3a043b4b7475842
16396 Author: Simon Feltman <sfeltman@src.gnome.org>
16397 Date: Tue Oct 23 13:56:32 2012 -0700
16399 Add support for overriding GObject.Object
16401 Shift pygi module mechanics so the introspection generated 'Object'
16402 class becomes derived from the static GObject class. Add initial
16403 GObject.Object override which sets all static methods back essentially
16404 leapfrogging the introspection methods. This sets the stage for having
16405 the ability to remove static methods piecemeal in favor of
16406 introspection/python in future commits.
16408 https://bugzilla.gnome.org/show_bug.cgi?id=672727
16410 gi/module.py | 30 +++++++++++---------
16411 gi/overrides/GObject.py | 74
16412 ++++++++++++++++++++++++++++++++++++++++++++++++
16413 gi/pygobject-external.h | 10 +------
16414 gi/types.py | 7 +++++
16415 tests/test_gobject.py | 31 ++++++++++++++++----
16416 tests/testhelpermodule.c | 2 +-
16417 6 files changed, 126 insertions(+), 28 deletions(-)
16419 commit 4da6f93d86b104941c5533c3da5edb4a00ec62e9
16420 Author: Martin Pitt <martinpitt@gnome.org>
16421 Date: Tue Nov 6 13:55:21 2012 +0100
16423 Bump glib dependency to >= 2.34.2
16425 We need 2.34.2 or 2.35.2 as we now depend on the GIOChannel annotation
16429 configure.ac | 4 ++--
16430 2 files changed, 3 insertions(+), 3 deletions(-)
16432 commit 85c8dd7a9bc81fb5df5abc6d8a95f966955ec775
16433 Author: Martin Pitt <martinpitt@gnome.org>
16434 Date: Tue Nov 6 11:28:42 2012 +0100
16438 Point to python-hackers-list instead of the old pygtk list, update
16440 versions, and point to wiki page and IRC.
16442 README | 19 ++++++++++---------
16443 1 file changed, 10 insertions(+), 9 deletions(-)
16445 commit 6d8b29ba56fb085948a155c75af36dcea9c71da8
16446 Author: Martin Pitt <martinpitt@gnome.org>
16447 Date: Tue Nov 6 11:21:32 2012 +0100
16449 Add --with-python configure option
16451 This behaves like setting $PYTHON, but also works in build systems
16453 which do not support setting environment variables.
16455 Update README accordingly.
16457 README | 15 +++++++++------
16458 configure.ac | 43 ++++++++++++++++++++++++++++++++++---------
16459 2 files changed, 43 insertions(+), 15 deletions(-)
16461 commit 4e5556a5238a3b86da9a0e40fd0e23004ed6af75
16462 Author: Martin Pitt <martinpitt@gnome.org>
16463 Date: Tue Nov 6 10:39:27 2012 +0100
16465 python.m4: Add python3.3, do not prefer unversioned "python"
16467 Add python 3.3 to the search list.
16469 http://www.python.org/dev/peps/pep-0394/ broke the well-defined
16471 "python", so use that as last fallback if more specific versions do
16474 configure.ac | 2 +-
16475 m4/python.m4 | 2 +-
16476 2 files changed, 2 insertions(+), 2 deletions(-)
16478 commit e71c046ed8f5b06e6b7383ddc0fc18f06de6abee
16479 Author: Martin Pitt <martinpitt@gnome.org>
16480 Date: Tue Nov 6 09:48:50 2012 +0100
16482 m4: Update py-compile to current upstream version
16484 Update py-compile to current versions from automake 1.11.6.
16487 +++++++++++++++++++++++++++++++++++------------------------
16488 1 file changed, 48 insertions(+), 33 deletions(-)
16490 commit 8406b39f4e9ff98e0d59e880dde3ddb5e5131726
16491 Author: Martin Pitt <martinpitt@gnome.org>
16492 Date: Tue Nov 6 09:57:00 2012 +0100
16494 m4: Update introspection.m4 to current upstream version
16496 m4/introspection.m4 | 4 ++++
16497 1 file changed, 4 insertions(+)
16499 commit 4ffa61b7c39cf038440dc9acfe8d214c9b77c3a6
16500 Author: Martin Pitt <martinpitt@gnome.org>
16501 Date: Tue Nov 6 09:53:15 2012 +0100
16503 option.py: Fix PEP-8 error
16505 gi/_glib/option.py | 2 +-
16506 1 file changed, 1 insertion(+), 1 deletion(-)
16508 commit 2cbb54e79c23b96486d4a2bfa170460df5bd6c84
16509 Author: Simon Feltman <sfeltman@src.gnome.org>
16510 Date: Mon Nov 5 18:27:56 2012 -0800
16512 Remove DynamicGLibModule and DynamicGObjectModule
16514 Move final bits of _glib static binding imports directly into
16515 the GLib override. Change _glib/option use the .so directly
16516 rather than the staged variables in _glib/__init__.py.
16517 Remove DynamicGLibModule and DynamicGObjectModule and update
16520 https://bugzilla.gnome.org/show_bug.cgi?id=687488
16522 gi/_glib/__init__.py | 11 ----------
16523 gi/_glib/option.py | 16 +++++++-------
16524 gi/importer.py | 12 ++---------
16526 ----------------------------------------------------
16527 gi/overrides/GLib.py | 14 ++++++++++++
16528 tests/test_gi.py | 9 ++------
16529 6 files changed, 26 insertions(+), 96 deletions(-)
16531 commit 901c1b6e3722a9cd999e4948297e2c460f101d20
16532 Author: Daniel Drake <dsd@laptop.org>
16533 Date: Thu Nov 1 14:46:22 2012 +0000
16535 Fix property lookup in class hierarchy
16537 Commit 4bfe7972546413f46f5c36737ff03bb5612c1921 introduced a bug where
16538 a Python subclass of a gi-provided base class overrides a property
16542 The new behaviour in the above commit causes pygobject to seek
16544 in the base class and try to read it from there (resulting in
16546 rather than noticing that the property is overridden and present
16548 Python object instance.
16550 To provide a nicer solution here, we can exploit the fact that
16551 g_object_class_find_property() will traverse the hierarchy in order to
16552 find the right GParamSpec, and the returned GParamSpec can tell
16554 which GType introduces the property. The strategy is:
16556 1. Find pspec with g_object_class_find_property()
16557 2. Find the class that owns that property (pspec->owner_type)
16558 3. See if girepository owns that class.
16559 3a. If yes, get property from there.
16560 3b. If not, get property "directly"
16562 And the same for property setting.
16564 Now that _pygi_lookup_property_from_g_type is always passed the
16566 implements the property, it no longer has to go recursing through
16568 classes, which was the original cause of confusion.
16570 https://bugzilla.gnome.org/show_bug.cgi?id=686942
16572 gi/_gobject/pygobject.c | 92 +++++++++++++++++++++++----------
16573 gi/pygi-property.c | 130
16574 ++++++++++++++++++++++-------------------------
16575 gi/pygi-property.h | 4 +-
16576 gi/pygi.h | 12 ++---
16577 tests/test_properties.py | 30 +++++++++++
16578 5 files changed, 164 insertions(+), 104 deletions(-)
16580 commit efcb0f9fda65e24ae98438d61487d06db9eac1b1
16581 Author: Martin Pitt <martinpitt@gnome.org>
16582 Date: Sat Nov 3 16:14:01 2012 +0100
16584 Move property and signal creation into _class_init()
16586 We must not add class interfaces after g_type_class_ref() has been
16588 first time. Move signal and property creation from pyg_type_register()
16590 pyg_object_class_init(), and drop the hack of registering interfaces
16593 This changed class initialization order now exposes GLib's warning
16595 unknown signals, so adjust
16596 test_signal.TestGSignalsError.test_invalid_name() to
16599 https://bugzilla.gnome.org/show_bug.cgi?id=686149
16601 gi/_gobject/gobjectmodule.c | 177
16602 ++++++++++++++++++--------------------------
16603 tests/test_signal.py | 6 +-
16604 2 files changed, 75 insertions(+), 108 deletions(-)
16606 commit 655a5002ffaa088b775adbc59e5125444f7bc1ca
16607 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16608 Date: Sat Nov 3 13:21:52 2012 -0300
16610 Remove unused macro definitions
16612 PYGLIB_*_VERSION are not used anywhere any more, remove those.
16613 (dropped in commit 8d52bceb1)
16615 gi/_glib/glibmodule.c | 5 -----
16616 1 file changed, 5 deletions(-)
16618 commit fa054fd15b8874760bee97d9af168a2969e6ece4
16619 Author: Martin Pitt <martinpitt@gnome.org>
16620 Date: Mon Nov 5 14:38:07 2012 +0100
16622 testhelpermodule.c: Drop obsolete g_thread_init()
16624 We already require a new enough glib version as we dropped
16626 the main code a long time ago. But for formality's sake, bump glib
16630 configure.ac | 4 ++--
16631 tests/testhelpermodule.c | 1 -
16632 2 files changed, 2 insertions(+), 3 deletions(-)
16634 commit 2e57530a27a44e94927d487cf2f2d9e543777654
16635 Author: Martin Pitt <martinpitt@gnome.org>
16636 Date: Mon Nov 5 14:37:11 2012 +0100
16638 pygi-source.c: Drop dead code
16640 gi/pygi-source.c | 2 --
16641 1 file changed, 2 deletions(-)
16643 commit 2a24c9ccd59bff719fa817a0ec5c959f6da03e1c
16644 Author: Simon Feltman <sfeltman@src.gnome.org>
16645 Date: Sun Nov 4 22:22:53 2012 -0800
16647 Move TYPE constants from _gobject to GObject
16649 Clear out TYPE constants from _gobject/__init__.py and move them
16651 GObject overrides. Disperse class imports among modules that use
16653 of using _gobject/__init__.py as a staging area (e.g. GInterface).
16655 https://bugzilla.gnome.org/show_bug.cgi?id=687487
16657 gi/_gobject/__init__.py | 30 ------------------------------
16658 gi/_gobject/constants.py | 2 +-
16659 gi/module.py | 38 +++++++++++++++++++++++++-------------
16660 gi/overrides/__init__.py | 9 ++++++---
16661 gi/types.py | 10 ++++++----
16662 5 files changed, 38 insertions(+), 51 deletions(-)
16664 commit c2aa6f0d0ed4c4e60f081b106dc7a65513963fce
16665 Author: Martin Pitt <martinpitt@gnome.org>
16666 Date: Mon Nov 5 13:10:05 2012 +0100
16668 Move G_MIN/MAX constants into GObject overrides
16670 These really ought to come from GLib's typelib, but are not right
16672 need to keep the static bindings for those. But drop them from
16674 move them into the overrides where they belong.
16676 gi/_gobject/__init__.py | 17 -----------------
16677 gi/_gobject/constants.py | 21 ---------------------
16678 gi/_gobject/propertyhelper.py | 2 +-
16679 gi/overrides/GObject.py | 9 +++++++++
16680 tests/test_gi.py | 32 ++++++++++++++++----------------
16681 5 files changed, 26 insertions(+), 55 deletions(-)
16683 commit 12b84727edc36f686a7031b5c4c6bf662838908d
16684 Author: Martin Pitt <martinpitt@gnome.org>
16685 Date: Mon Nov 5 11:04:54 2012 +0100
16687 Replace static OPTION_* constants with GI
16689 Drop static definitions of GLib.OPTION_* constants and use the ones
16693 https://bugzilla.gnome.org/show_bug.cgi?id=686765
16695 gi/_glib/__init__.py | 13 -------------
16696 gi/_glib/glibmodule.c | 32 --------------------------------
16697 gi/_glib/option.py | 46
16698 ++++++++++++++++++++++++----------------------
16699 gi/overrides/GLib.py | 13 +++++++++++++
16700 gi/overrides/GObject.py | 2 +-
16701 5 files changed, 38 insertions(+), 68 deletions(-)
16703 commit 7372e3c9ecb8e836894c32975eab8c4107ba0b28
16704 Author: Martin Pitt <martinpitt@gnome.org>
16705 Date: Mon Nov 5 10:14:52 2012 +0100
16707 tests: Do not use deprecated assertRaisesRegexp()
16709 Use assertRaisesRegex() instead and provide 2.7 compatibility in
16712 tests/runtests.py | 3 +++
16713 tests/test_signal.py | 8 ++++----
16714 2 files changed, 7 insertions(+), 4 deletions(-)
16716 commit da2106902eb3dabebdff1674743cb3040566a745
16717 Author: Simon Feltman <sfeltman@src.gnome.org>
16718 Date: Sun Nov 4 02:57:29 2012 -0800
16720 Move gobject static functions and constants to gi
16722 Replace the following functions with gi and overrides:
16723 type_children, type_interfaces, signal_list_ids, signal_list_names,
16724 signal_lookup, signal_name, type_parent. Assign SIGNAL_* and
16725 PARAM_* from gi SignalFlags and ParamFlags respectively.
16726 Move module level assignments of a number of static functions to
16727 the GObject.py overrides file.
16729 https://bugzilla.gnome.org/show_bug.cgi?id=687487
16731 docs/reference/pygobject-functions.xml | 25 ---
16732 gi/_gobject/__init__.py | 72 +--------
16733 gi/_gobject/gobjectmodule.c | 272
16734 ---------------------------------
16735 gi/overrides/GObject.py | 208 ++++++++++++++++++++++++-
16736 gi/overrides/__init__.py | 5 +-
16737 tests/test_signal.py | 11 +-
16738 6 files changed, 215 insertions(+), 378 deletions(-)
16740 commit f4acd6a9d14248d459708f61fd01f6d4735f087d
16741 Author: Simon Feltman <sfeltman@src.gnome.org>
16742 Date: Sun Nov 4 02:52:19 2012 -0800
16744 Make unitests for gobject functions moving to gi more strict
16746 Add expected failure test for invalid SystemError's coming from
16747 signal_lookup and signal_list_ids. Remove excessive type_name
16748 tests and type_from_name tests.
16750 https://bugzilla.gnome.org/show_bug.cgi?id=687487
16752 tests/test_gtype.py | 53
16753 ----------------------------------------------------
16754 tests/test_signal.py | 40 ++++++++++++++++++++++++---------------
16755 2 files changed, 25 insertions(+), 68 deletions(-)
16757 commit 3267808318b284814e52f2803b17af56fca648ad
16758 Author: Martin Pitt <martinpitt@gnome.org>
16759 Date: Sat Nov 3 14:17:25 2012 +0100
16761 [API change] Remove static filename_from_utf8() binding
16763 Replace static GLib.filename_from_utf8() with GI. The old static
16765 tried to convert the result to an Unicode object, which will fail
16767 is not UTF-8 encoded (which is the whole point of this function
16771 Although the static binding was rather useless before, this is
16775 docs/reference/pyglib-functions.xml | 32 --------------------------------
16776 gi/_glib/__init__.py | 1 -
16777 gi/_glib/glibmodule.c | 26 --------------------------
16778 gi/_gobject/__init__.py | 1 -
16779 gi/overrides/GLib.py | 8 ++++++++
16780 gi/overrides/GObject.py | 3 ++-
16781 tests/test_glib.py | 8 ++++++++
16782 7 files changed, 18 insertions(+), 61 deletions(-)
16784 commit 8d52bceb1e0aa0dc79cf77f36dda9f953f170459
16785 Author: Martin Pitt <martinpitt@gnome.org>
16786 Date: Sat Nov 3 13:14:15 2012 +0100
16788 Drop static glib_version and pyglib_version constants
16790 Use the GLib version from GI instead, and the already existing
16793 docs/reference/pyglib-constants.xml | 50
16794 ----------------------------------
16795 docs/reference/pygobject-constants.xml | 19 -------------
16796 gi/_glib/__init__.py | 2 --
16797 gi/_glib/glibmodule.c | 21 --------------
16798 gi/_gobject/__init__.py | 1 -
16799 gi/overrides/GLib.py | 8 +++++-
16800 gi/overrides/GObject.py | 3 +-
16801 tests/test_glib.py | 12 ++++++++
16802 8 files changed, 21 insertions(+), 95 deletions(-)
16804 commit 9f96325e75f7c5f88789ea3f74a068e73cfde1a2
16805 Author: Martin Pitt <martinpitt@gnome.org>
16806 Date: Sat Nov 3 12:12:44 2012 +0100
16808 Drop static G_MININT8 and related constants
16810 Use the introspected constants from GLib instead.
16812 gi/_gobject/__init__.py | 12 ------------
16813 gi/_gobject/constants.py | 12 ------------
16814 gi/_gobject/gobjectmodule.c | 18 +-----------------
16815 gi/overrides/GObject.py | 17 +++++++++++++++++
16816 tests/test_gobject.py | 4 ++++
16817 5 files changed, 22 insertions(+), 41 deletions(-)
16819 commit 3354c4eda0f098d1a8f744264ef9a2565a38b50d
16820 Author: Martin Pitt <martinpitt@gnome.org>
16821 Date: Sat Nov 3 11:58:40 2012 +0100
16823 test_gobject: Add test case for min/max int constants
16825 Related to https://bugzilla.gnome.org/show_bug.cgi?id=685022
16827 tests/test_gobject.py | 9 +++++++++
16828 1 file changed, 9 insertions(+)
16830 commit d70cb32789e057fe5a16e61a0cce77d9c54a3ee1
16831 Author: Jose Rostagno <joserostagno@vijona.com.ar>
16832 Date: Sat Oct 27 15:37:32 2012 -0300
16834 Use g_object_info_find_signal()
16836 Replace our custom code with a call to the corresponding
16837 gobject-instrospection
16840 https://bugzilla.gnome.org/show_bug.cgi?id=687371
16842 gi/pygi-signal-closure.c | 21 ++++-----------------
16843 1 file changed, 4 insertions(+), 17 deletions(-)
16845 commit ae6d0aada9587cd4dca168375527b80785b604a0
16846 Author: Martin Pitt <martinpitt@gnome.org>
16847 Date: Sat Nov 3 11:23:06 2012 +0100
16849 GLib overrides: code cleanup
16851 Factorize the logic to handle zero or multiple user_data arguments
16853 user_data_varargs_shim(), and put code that handles deprecated API
16855 corresponding "then" branches, to improve readability.
16857 gi/overrides/GLib.py | 87
16858 ++++++++++++++++++++++++++++------------------------
16859 1 file changed, 47 insertions(+), 40 deletions(-)
16861 commit d7f095b01e7208273703c880f4f0dfcc1a152a9a
16862 Author: Martin Pitt <martinpitt@gnome.org>
16863 Date: Sat Nov 3 09:33:08 2012 +0100
16865 Restore actual GLib API after previous fix
16867 Re-fix the acceptance of priority as first argument for idle_add(),
16868 io_add_watch() and timeout_add(), as that is the real GLib API. Ensure
16870 this keeps supporting the backwards compatible API with supplying
16874 https://bugzilla.gnome.org/show_bug.cgi?id=687047
16876 gi/overrides/GLib.py | 117
16877 +++++++++++++++++++++++++-----------------------
16878 tests/test_iochannel.py | 74 +++++++++++++++++++++++++++---
16879 tests/test_source.py | 30 +++++++++++++
16880 3 files changed, 158 insertions(+), 63 deletions(-)
16882 commit 648b653d85bf3bc28dc59c6d309f15d388076af9
16883 Author: Simon Feltman <sfeltman@src.gnome.org>
16884 Date: Fri Nov 2 21:01:38 2012 -0700
16886 Add unittests for module level type and signal functions
16888 Add tests for the following methods: signal_list_ids,
16889 signal_name, signal_lookup, signal_query, type_children,
16890 type_from_name, type_name, type_is_a, and type_interfaces.
16892 https://bugzilla.gnome.org/show_bug.cgi?id=687487
16894 tests/Makefile.am | 1 +
16895 tests/test_gtype.py | 106
16896 +++++++++++++++++++++++++++++++++++++++++++++++++++
16897 tests/test_signal.py | 43 +++++++++++++++++++++
16898 3 files changed, 150 insertions(+)
16900 commit 80db2a50feab9898d7c5f88ea27aadc3dfb5bec3
16901 Author: Simon Feltman <sfeltman@src.gnome.org>
16902 Date: Tue Oct 30 18:33:44 2012 -0700
16904 Fix GLib override incompatibilities with old static API
16906 Change idle_add, timeout_add, timeout_add_seconds, and
16907 io_add_watch to accept *args and **kwargs as arguments
16908 to the callback functions instead of only accepting a single
16909 user_data arg. This ensures the new overridden introspection
16910 methods are backwards compatible with the static versions
16913 https://bugzilla.gnome.org/show_bug.cgi?id=687047
16915 gi/overrides/GLib.py | 98
16916 ++++++++++++++++++++++++++++---------------------
16917 tests/test_iochannel.py | 37 +++++++++++++++++--
16918 2 files changed, 90 insertions(+), 45 deletions(-)
16920 commit 9c6399bbf75c312b1ef4933d079712ea5b05a935
16921 Author: Simon Feltman <sfeltman@src.gnome.org>
16922 Date: Tue Oct 30 12:01:44 2012 -0700
16924 Fix IOChannel unittests for python 2.7
16926 Use __future__ unicode_literals to minimize difference
16927 between python 2.7 and 3. Comparisons need to encode arguments as
16928 'UTF-8' for testing readline operations.
16929 Add backwards compatible "next" to support the python 2.7 iteration.
16930 Change isinstance(channel, file) to hasattr(channel, 'fileno') to
16931 support all python versions (and duck typing).
16933 https://bugzilla.gnome.org/show_bug.cgi?id=687047
16935 gi/overrides/GLib.py | 4 +++-
16936 tests/test_iochannel.py | 1 +
16937 2 files changed, 4 insertions(+), 1 deletion(-)
16939 commit 0f94a0a4ebd2bbfd06d8f9a2bb2b17dabf7678ef
16940 Author: Martin Pitt <martinpitt@gnome.org>
16941 Date: Mon Oct 29 23:00:31 2012 +0100
16943 Allow calling io_add_watch with a file object
16945 The old static bindings allowed that, so we need to allow it to
16947 backwards compatibility. Deprecate this mode as well, so that we
16951 https://bugzilla.gnome.org/show_bug.cgi?id=687047
16953 gi/overrides/GLib.py | 7 +++++++
16954 tests/test_glib.py | 26 ++++++++++++++++++++++++++
16955 2 files changed, 33 insertions(+)
16957 commit 3ba67fd41944309077eb81c4c03397519ed29dc4
16958 Author: John Ralls <jralls@ceridwen.us>
16959 Date: Mon Oct 29 14:57:22 2012 -0700
16961 Fix duplicate symbols error on OSX
16963 gi/pygi-source.c | 1 +
16964 1 file changed, 1 insertion(+)
16966 commit 5a367aa067e369f2b1e713199614e3426fecc10e
16967 Author: Martin Pitt <martinpitt@gnome.org>
16968 Date: Sun Oct 28 17:42:34 2012 +0100
16970 Drop removed markup-escape-text() from reference documentation
16972 docs/reference/pyglib-functions.xml | 36
16973 ------------------------------------
16974 1 file changed, 36 deletions(-)
16976 commit 057b3d3791e6f1947004f2482c0ae40529de03ae
16977 Author: Martin Pitt <martinpitt@gnome.org>
16978 Date: Sun Oct 28 17:41:03 2012 +0100
16980 Drop some dead code from gi/_glib/glibmodule.c
16982 gi/_glib/glibmodule.c | 45 ---------------------------------------------
16983 1 file changed, 45 deletions(-)
16985 commit 7b12803bce3418bb487127f497f022c973f35888
16986 Author: Martin Pitt <martinpitt@gnome.org>
16987 Date: Sun Oct 28 17:37:29 2012 +0100
16989 Remove static get_current_time() binding
16991 Use GLib.get_real_time() through GI instead. Deprecate the function,
16993 GLib.get_real_time() should be called directly.
16995 docs/reference/pyglib-functions.xml | 26 --------------------------
16996 gi/_glib/__init__.py | 1 -
16997 gi/_glib/glibmodule.c | 11 -----------
16998 gi/_glib/pyglib.c | 16 ----------------
16999 gi/_glib/pyglib.h | 1 -
17000 gi/_gobject/__init__.py | 1 -
17001 gi/overrides/GLib.py | 8 ++++++++
17002 gi/overrides/GObject.py | 2 +-
17003 tests/test_glib.py | 6 +++++-
17004 9 files changed, 14 insertions(+), 58 deletions(-)
17006 commit b3dfb780b3a74f6933e3afcd2ba512b36dfbe514
17007 Author: Martin Pitt <martinpitt@gnome.org>
17008 Date: Sun Oct 28 17:23:23 2012 +0100
17010 Add more tests for GLib.spawn_async()
17012 Check spawn_async() with getting stdin/out/err pipes and specifying
17015 tests/test_subprocess.py | 29 +++++++++++++++++++++++++++++
17016 1 file changed, 29 insertions(+)
17018 commit 70d78eee4a04dcaefea4615fe351e33fa717dffa
17019 Author: Martin Pitt <martinpitt@gnome.org>
17020 Date: Sun Oct 28 14:15:05 2012 +0100
17022 Remove static child_add_watch() binding
17024 Use the GLib API through GI instead, and provide override to keep
17026 compatible API. Also allow using the actual GLib API, and deprecate
17028 static API of calling without a priority as first argument.
17030 docs/reference/pyglib-functions.xml | 61 ---------------------------
17031 gi/_glib/__init__.py | 1 -
17032 gi/_glib/glibmodule.c | 72 -------------------------------
17033 gi/_gobject/__init__.py | 1 -
17034 gi/overrides/GLib.py | 46 ++++++++++++++++++++
17035 gi/overrides/GObject.py | 2 +-
17036 tests/test_mainloop.py | 2 +-
17037 tests/test_subprocess.py | 84
17038 ++++++++++++++++++++++++++++++++++---
17039 8 files changed, 127 insertions(+), 142 deletions(-)
17041 commit 4b16427714b850e33c6020d8de1833bae19a3b87
17042 Author: Martin Pitt <martinpitt@gnome.org>
17043 Date: Sun Oct 28 13:44:23 2012 +0100
17045 test_subprocess: Cover more child_watch_add() cases
17047 Verify that priority is set correctly, and also test calling without
17050 tests/test_subprocess.py | 24 +++++++++++++++++++-----
17051 1 file changed, 19 insertions(+), 5 deletions(-)
17053 commit 83ff5938612d37d52f112867a472777dd6786d69
17054 Author: Colin Walters <walters@verbum.org>
17055 Date: Sat Oct 27 12:22:53 2012 -0400
17057 gi/__init__.py: Pacify pep8 style checker
17059 It was complaining about finding only 1 blank line. Regression
17060 likely introduced by f976d05b.
17062 https://bugzilla.gnome.org/show_bug.cgi?id=686991
17064 gi/__init__.py | 1 +
17065 1 file changed, 1 insertion(+)
17067 commit f976d05b04f26e733d19988e68989e340eb3a29e
17068 Author: Martin Pitt <martinpitt@gnome.org>
17069 Date: Fri Oct 26 10:39:28 2012 +0200
17071 Use a custom deprecation warning to make them visible by default
17073 DeprecationWarning is not shown by default, and is thus rather
17075 developers. Use a custom PyGIDeprecationWarning class and derive
17077 RuntimeWarning to make it visible.
17079 gi/__init__.py | 5 +++++
17080 gi/overrides/GLib.py | 5 +++--
17081 gi/overrides/Gtk.py | 5 +++--
17082 gi/overrides/__init__.py | 4 ++--
17083 gi/pygtkcompat.py | 4 ++--
17084 tests/Makefile.am | 2 +-
17085 tests/test_glib.py | 5 +++--
17086 tests/test_gobject.py | 3 ++-
17087 tests/test_iochannel.py | 5 +++--
17088 tests/test_source.py | 3 ++-
17089 10 files changed, 26 insertions(+), 15 deletions(-)
17091 commit 366f5d2d3902c6293d0031e0b7dc5d6641a05ac7
17092 Author: Martin Pitt <martinpitt@gnome.org>
17093 Date: Fri Oct 26 09:26:17 2012 +0200
17095 Remove static io_add_watch() binding
17097 Use the GLib API through GI instead, and provide override to keep
17099 compatible API. Also allow using the actual GLib API, and deprecate
17102 - calling with an fd as first argument instead of an IOChannel
17103 - calling without a priority as second argument
17105 docs/reference/pyglib-functions.xml | 106
17106 ------------------------------------
17107 gi/_glib/__init__.py | 1 -
17108 gi/_glib/glibmodule.c | 98
17109 ---------------------------------
17110 gi/_gobject/__init__.py | 1 -
17111 gi/overrides/GLib.py | 51 ++++++++++++++---
17112 gi/overrides/GObject.py | 3 +-
17113 tests/test_glib.py | 15 ++++-
17114 tests/test_iochannel.py | 70 +++++++++++++++++++++++-
17115 8 files changed, 126 insertions(+), 219 deletions(-)
17117 commit 284de1eb5c37a3f6caa7d846dbd439f1eac410a2
17118 Author: Martin Pitt <martinpitt@gnome.org>
17119 Date: Fri Oct 26 08:48:35 2012 +0200
17121 Add tests for GLib.io_add_watch()
17123 tests/test_glib.py | 36 ++++++++++++++++++++++++++++++++++++
17124 1 file changed, 36 insertions(+)
17126 commit 15e717ce2c2a26c02c913f79bc7cf6876d943e92
17127 Author: Martin Pitt <martinpitt@gnome.org>
17128 Date: Thu Oct 25 15:55:46 2012 +0200
17130 Remove static GIOChannel bindings
17132 Use the GLib API through GI instead, and provide overrides to keep
17134 compatible API, including its bugs.
17136 We still need to keep a static wrapper around
17137 g_io_channel_read_chars() until
17138 we teach PyGObject to correctly handle caller allocated out array
17141 https://bugzilla.gnome.org/show_bug.cgi?id=686795
17143 gi/_glib/Makefile.am | 2 -
17144 gi/_glib/__init__.py | 1 -
17145 gi/_glib/glibmodule.c | 2 -
17146 gi/_glib/pygiochannel.c | 748
17147 ------------------------------------------------
17148 gi/_glib/pygiochannel.h | 29 --
17149 gi/_gobject/__init__.py | 1 -
17150 gi/gimodule.c | 72 +++++
17151 gi/overrides/GLib.py | 95 +++++-
17152 8 files changed, 161 insertions(+), 789 deletions(-)
17154 commit 0bfa6b44b808d9f8f55199216c29c1aec96c7719
17155 Author: Martin Pitt <martinpitt@gnome.org>
17156 Date: Thu Oct 25 12:59:46 2012 +0200
17158 test_iochannel.py: Fix data type of IOFlags
17160 ~GLib.IOFlags.NONBLOCK yields an int instead of a GLib.IOFlags,
17162 the result is of type GLib.IOFlags again.
17164 tests/test_iochannel.py | 2 +-
17165 1 file changed, 1 insertion(+), 1 deletion(-)
17167 commit 25d12afd06863ce223a161ba1317bfe5503bca5c
17168 Author: Martin Pitt <martinpitt@gnome.org>
17169 Date: Thu Oct 25 08:24:31 2012 +0200
17171 Add environment variable to disable pep8 checks
17173 pep8 takes quite long for "make check". Skip it if $SKIP_PEP8 is
17175 makes the test/fix turnaround time faster.
17177 tests/Makefile.am | 6 ++++--
17178 1 file changed, 4 insertions(+), 2 deletions(-)
17180 commit e9624ed1d38c777de2b430e3b0fbae2acbf34956
17181 Author: Simon Feltman <sfeltman@src.gnome.org>
17182 Date: Wed Oct 24 04:31:26 2012 -0700
17184 [API add] Add get_introspection_module for getting un-overridden
17187 Add gi.module.get_introspection_module to explicitly get a
17188 wrapped module pulled in through introspection without static
17189 and python override handling. This API is intended for python
17190 overrides to use rather than having them access
17191 gi.importer.modules['<name>']._introspection_module directly.
17192 Replace aforementioned usage in all overrides.
17194 https://bugzilla.gnome.org/show_bug.cgi?id=686828
17197 +++++++++++++++++++++++++++++++++++---
17198 gi/overrides/GIMarshallingTests.py | 4 ++--
17199 gi/overrides/GLib.py | 4 ++--
17200 gi/overrides/Gdk.py | 6 +++---
17201 gi/overrides/Gio.py | 4 ++--
17202 gi/overrides/Gtk.py | 5 +++--
17203 gi/overrides/Pango.py | 4 ++--
17204 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
17205 8 files changed, 78 insertions(+), 16 deletions(-)
17207 commit e6e047ef9b8575c852b3cdc3f5d4dfbb548cc648
17208 Author: Martin Pitt <martinpitt@gnome.org>
17209 Date: Wed Oct 24 15:16:13 2012 +0200
17211 test_option: Use public API
17213 Use GLib.option, not gi._glib.option.
17215 tests/test_option.py | 42 ++++++++++++++++++++----------------------
17216 1 file changed, 20 insertions(+), 22 deletions(-)
17218 commit 6a586af41b8740c4ba590591d1068d80071ff2dc
17219 Author: Martin Pitt <martinpitt@gnome.org>
17220 Date: Wed Oct 24 14:12:05 2012 +0200
17222 Drop static SPAWN_* constants
17224 Use the introspected constants instead, which are identical. Add
17226 compatible aliases.
17228 These constants are covered by tests/test_subprocess.py.
17230 https://bugzilla.gnome.org/show_bug.cgi?id=686765
17232 docs/reference/pyglib-constants.xml | 68
17233 ----------------------------------
17234 docs/reference/pyglib-functions.xml | 26 ++++++-------
17235 docs/reference/pygobject-constants.xml | 67
17236 ---------------------------------
17237 gi/_glib/__init__.py | 7 ----
17238 gi/_glib/glibmodule.c | 15 --------
17239 gi/_gobject/__init__.py | 7 ----
17240 gi/overrides/GLib.py | 6 +++
17241 gi/overrides/GObject.py | 6 ++-
17242 tests/test_subprocess.py | 6 ++-
17243 9 files changed, 29 insertions(+), 179 deletions(-)
17245 commit 0137a7af7bf69421e0c8e94120a1f8cff01fbeea
17246 Author: Martin Pitt <martinpitt@gnome.org>
17247 Date: Wed Oct 24 13:59:31 2012 +0200
17249 Drop static IO_* constants
17251 Use the introspected constants instead, which are identical. Add
17253 compatible aliases.
17255 These constants are covered by tests/test_iochannel.py.
17257 docs/reference/pyglib-constants.xml | 52
17258 -------------------------------------
17259 gi/_glib/__init__.py | 19 --------------
17260 gi/_glib/glibmodule.c | 32 -----------------------
17261 gi/_gobject/__init__.py | 18 -------------
17262 gi/overrides/GLib.py | 18 ++++++++++++-
17263 gi/overrides/GObject.py | 8 +++++-
17264 tests/test_iochannel.py | 1 +
17265 tests/test_source.py | 2 +-
17266 8 files changed, 26 insertions(+), 124 deletions(-)
17268 commit 0e1a6ccee45ae2239da1c44de1866596343165ba
17269 Author: Martin Pitt <martinpitt@gnome.org>
17270 Date: Wed Oct 24 12:50:50 2012 +0200
17272 Fix various bugs in GLib.IOChannel
17274 - Fix segfault when using an IOChannel as an iterator: PyIter_Next()
17276 NULL on the last element, instead of raising a StopIteration.
17278 - The default encoding of a stream is 'UTF-8', not NULL. NULL means
17280 stream is being used in binary mode; in that case, we should not
17282 do any automagic conversion to an Unicode object. As this special
17284 inconsistent and has never worked anyway, and the current buggy
17285 implementation breaks binary streams, just drop it without
17287 (Introduced in commit de9eae4dfcce8)
17289 These bugs were uncovered by the previously committed tests.
17291 gi/_glib/pygiochannel.c | 25 +++++--------------------
17292 1 file changed, 5 insertions(+), 20 deletions(-)
17294 commit a98c37937a4f7cb81a0b02c023d12097f386a22c
17295 Author: Martin Pitt <martinpitt@gnome.org>
17296 Date: Wed Oct 24 12:49:04 2012 +0200
17298 Add tests for GLib.IOChannel
17300 This did not have any code coverage at all. The tests uncover a
17302 which will be fixed in the next commit.
17304 tests/Makefile.am | 1 +
17305 tests/test_iochannel.py | 262
17306 ++++++++++++++++++++++++++++++++++++++++++++++++
17307 2 files changed, 263 insertions(+)
17309 commit 1b27432abf6004553e9476d5ffeb2bf603534419
17310 Author: Martin Pitt <martinpitt@gnome.org>
17311 Date: Wed Oct 24 08:50:37 2012 +0200
17313 Remove static idle_add/timeout_add bindings
17315 Use the GLib functions through GI instead. Add overrides to ensure
17317 arguments continue to work as before, and that callbacks are called
17319 userdata argument if it wasn't specified.
17321 docs/reference/pyglib-functions.xml | 165
17322 ------------------------------------
17323 gi/_glib/__init__.py | 3 -
17324 gi/_glib/glibmodule.c | 139 ------------------------------
17325 gi/_gobject/__init__.py | 3 -
17326 gi/overrides/GLib.py | 31 +++++++
17327 gi/overrides/GObject.py | 3 +-
17328 tests/test_source.py | 19 +++++
17329 7 files changed, 52 insertions(+), 311 deletions(-)
17331 commit 2357f4a0237feabcf6886f2a448aa3f42f6781b9
17332 Author: Martin Pitt <martinpitt@gnome.org>
17333 Date: Wed Oct 24 09:14:57 2012 +0200
17335 Add tests for priority argument of idle_add/timeout_add
17337 There is a potential to treat the priority as user data in a call like
17338 "GLib.idle_add(cb, GLib.PRIORITY_HIGH)". The current static bindings
17340 using a keyword argument for the priority (but silently ignore it
17342 specify both userdata and priority as a positional argument).
17344 Test the correct handling of priority as well.
17346 tests/test_source.py | 63
17347 ++++++++++++++++++++++++++++++++++++++++++++++++----
17348 1 file changed, 59 insertions(+), 4 deletions(-)
17350 commit dceb4d60e210cb1531ad81935733a3f0be0c8edb
17351 Author: Martin Pitt <martinpitt@gnome.org>
17352 Date: Wed Oct 24 08:40:50 2012 +0200
17354 Drop old ChangeLog.pre-2.18
17356 This is ancient by now, quite sizable, and the complete history can
17358 seen in the git log.
17360 ChangeLog.pre-2.18 | 3608
17361 ----------------------------------------------------
17363 2 files changed, 3609 deletions(-)
17365 commit 127ef91f1563caa346bc2ac2adb064487a84e6a0
17366 Author: Martin Pitt <martinpitt@gnome.org>
17367 Date: Wed Oct 24 08:39:05 2012 +0200
17369 Fix PEP-8 whitespace in previous commit
17371 tests/test_source.py | 4 ++++
17372 1 file changed, 4 insertions(+)
17374 commit 0bc0b55be0dae7528c2fc7439d672ad4e417335d
17375 Author: Martin Pitt <martinpitt@gnome.org>
17376 Date: Wed Oct 24 08:33:49 2012 +0200
17378 Add tests for idle_add()/timeout_add with and without user data
17380 This is implicitly spread over various test cases, but let's test
17382 to ensure that the behaviour stays consistent when moving this to GI.
17384 tests/test_source.py | 35 +++++++++++++++++++++++++++++++++++
17385 1 file changed, 35 insertions(+)
17387 commit d0a0332feb7946f4bb6b43211d6fe3ae67e7dba5
17388 Author: Martin Pitt <martinpitt@gnome.org>
17389 Date: Wed Oct 24 08:05:43 2012 +0200
17391 tests: consitent naming style
17393 Stop mixing camel case and underline naming, use the latter
17397 tests/test_gobject.py | 64
17398 +++++++++++++++++++++++------------------------
17399 tests/test_interface.py | 4 +--
17400 tests/test_option.py | 14 +++++------
17401 tests/test_pygtkcompat.py | 32 ++++++++++++------------
17402 tests/test_signal.py | 10 ++++----
17403 tests/test_source.py | 23 ++++++++---------
17404 tests/test_subprocess.py | 2 +-
17405 tests/test_thread.py | 2 +-
17406 tests/test_unknown.py | 2 +-
17407 9 files changed, 76 insertions(+), 77 deletions(-)
17409 commit 4b460e2eb18b8340fe99252063fdb08b0c222968
17410 Author: Martin Pitt <martinpitt@gnome.org>
17411 Date: Wed Oct 24 07:28:10 2012 +0200
17413 Work around wrong 64 bit constants in GLib Gir
17415 GLib's gir currently has wrong constants for MININT64 and MAXUINT64;
17417 set them in an override, until this gets fixed properly.
17419 https://bugzilla.gnome.org/show_bug.cgi?id=685022
17421 gi/overrides/GLib.py | 8 ++++++++
17422 tests/test_gi.py | 9 +++++++++
17423 2 files changed, 17 insertions(+)
17425 commit f30efd2619911c89ca873fac6bec06a1b60fab82
17426 Author: Martin Pitt <martinpitt@gnome.org>
17427 Date: Tue Oct 23 13:32:14 2012 +0200
17429 Mark GLib.Source.get_current_time() as deprecated
17431 This method has been deprecated in GLib long ago. We have a workaround
17432 implementation using GLib.get_real_time(), but eventually this should
17435 gi/overrides/GLib.py | 5 ++++-
17436 tests/test_source.py | 8 +++++++-
17437 2 files changed, 11 insertions(+), 2 deletions(-)
17439 commit 483c86267f2623eaa88d6a9e685c96ec3ba4f121
17440 Author: Martin Pitt <martinpitt@gnome.org>
17441 Date: Tue Oct 23 08:56:19 2012 +0200
17443 Mark GLib API that is exposed in GObject as deprecated
17445 A lot of API in GObject really belongs into GLib and is just there for
17446 historical/backwards compatible reasons. Mark these methods as
17448 that at some point we can drop them.
17450 gi/overrides/GObject.py | 3 ++-
17451 gi/overrides/__init__.py | 13 +++++++++++++
17452 tests/test_gobject.py | 24 ++++++++++++++----------
17453 3 files changed, 29 insertions(+), 11 deletions(-)
17455 commit 191cf45af44850fc29f2392ae2f0042aed6d13a9
17456 Author: Martin Pitt <martinpitt@gnome.org>
17457 Date: Fri Oct 19 09:55:05 2012 +0200
17459 Remove static MainLoop, MainContext, and some GSource bindings
17461 glib's MainLoop and MainContext are fully introspectable these days,
17463 our static bindings. This reduces our code, as well enables GLib
17465 hasn't been available through the static bindings before.
17467 This also requires dropping our custom static types for GLib Source,
17469 and Idle. The latter two work fine with introspection and just
17471 overrides for a backwards compatible API. g_source_new() is not
17473 though, so we need to keep our static wrappers for that. Move
17475 gi/_glib/pygsource.c to gi/pygi-source.c, so that it can use the
17478 Note that gi/_glib/pygsource.[hc] is still required for the static
17480 which is used by the static IOChannel binding. Once the latter
17482 PollFD can be dropped as well.
17484 https://bugzilla.gnome.org/show_bug.cgi?id=686443
17486 docs/Makefile.am | 6 +-
17487 docs/reference/pyglib-classes.xml | 2 -
17488 docs/reference/pyglib-constants.xml | 53 ---
17489 docs/reference/pyglib-functions.xml | 58 ---
17490 docs/reference/pyglib-maincontext.xml | 152 --------
17491 docs/reference/pyglib-mainloop.xml | 202 -----------
17492 gi/Makefile.am | 2 +
17493 gi/_glib/Makefile.am | 4 -
17494 gi/_glib/__init__.py | 12 -
17495 gi/_glib/glibmodule.c | 45 +--
17496 gi/_glib/pyglib.c | 15 -
17497 gi/_glib/pyglib.h | 1 -
17498 gi/_glib/pygmaincontext.c | 126 -------
17499 gi/_glib/pygmaincontext.h | 40 ---
17500 gi/_glib/pygmainloop.c | 362 -------------------
17501 gi/_glib/pygmainloop.h | 36 --
17502 gi/_glib/pygsource.c | 640
17503 ----------------------------------
17504 gi/_glib/pygsource.h | 3 -
17505 gi/_gobject/__init__.py | 13 -
17506 gi/gimodule.c | 9 +
17507 gi/overrides/GLib.py | 116 +++++-
17508 gi/overrides/GObject.py | 10 +-
17509 gi/pygi-private.h | 1 +
17510 gi/pygi-source.c | 247 +++++++++++++
17511 gi/pygi-source.h | 31 ++
17512 tests/test_glib.py | 22 +-
17513 tests/test_gobject.py | 2 +
17514 tests/test_source.py | 3 -
17515 28 files changed, 437 insertions(+), 1776 deletions(-)
17517 commit 326218a20681c1f2234a6eea1ed800382be57626
17518 Author: Simon Feltman <s.feltman@gmail.com>
17519 Date: Wed Sep 19 15:37:14 2012 -0700
17521 Deprecate void pointer fields as general PyObject storage.
17523 Complete deprecation of gpointer struct fields as general
17524 PyObject storage. Only int types are now allowed.
17525 Assignment of anything other than an int or None raises
17526 a TypeError stating the error and associated bug URL.
17528 https://bugzilla.gnome.org/show_bug.cgi?id=683599
17530 gi/pygi-argument.c | 25 ++++++++++++++++-----
17531 gi/pygi-info.c | 28 ++++--------------------
17532 tests/test_everything.py | 53
17533 +++++++++++++++++++++++++--------------------
17534 tests/test_overrides_gtk.py | 41 -----------------------------------
17535 4 files changed, 54 insertions(+), 93 deletions(-)
17537 commit 3dba328010a4ffd9259700ffec95871c7341d491
17538 Author: Martin Pitt <martinpitt@gnome.org>
17539 Date: Tue Oct 23 11:59:08 2012 +0200
17541 Add some MainLoop, MainContext, and Source test cases
17543 These cover the remaining static API and behaviour, so that we
17545 regression tests for converting them to GI.
17547 See https://bugzilla.gnome.org/show_bug.cgi?id=686443
17549 tests/test_glib.py | 21 +++++++++++++++++++++
17550 tests/test_gobject.py | 11 +++++++++++
17551 tests/test_mainloop.py | 16 ++++++++++++++++
17552 tests/test_source.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
17553 4 files changed, 92 insertions(+)
17555 commit 7635340271df0a135873459e6a2a365fd4b187a2
17556 Author: Steve Frécinaux <code@istique.net>
17557 Date: Wed Feb 9 18:37:33 2011 +0100
17559 [API change] Do not bind gobject_get_data() and gobject_set_data()
17561 They will basically cause a crash if misused, and you can always use a
17562 python member attribute instead.
17564 These methods were marked as deprecated for 3.4 and throwing a
17566 let's remove them for good now.
17568 https://bugzilla.gnome.org/show_bug.cgi?id=641944
17570 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
17572 docs/reference/pygobject.xml | 63
17573 --------------------------------------------
17574 gi/_gobject/pygobject.c | 44 -------------------------------
17575 2 files changed, 107 deletions(-)
17577 commit cfec113e3b3eabf8db834f48b2f16792d1e841a3
17578 Author: Martin Pitt <martinpitt@gnome.org>
17579 Date: Tue Oct 23 08:17:40 2012 +0200
17581 Add test for GLib.get_current_time()
17583 This adds a plausibility test, as well as ensuring the documented
17585 This will be useful if/once we drop the static _glib binding.
17587 tests/test_glib.py | 5 +++++
17588 1 file changed, 5 insertions(+)
17590 commit fb473b31054744e5ab59e9d4ed3b74571e27d3ff
17591 Author: Martin Pitt <martinpitt@gnome.org>
17592 Date: Tue Oct 23 07:48:52 2012 +0200
17594 Drop unnecessary static _glib bindings
17596 Drop static pyglib bindings which have straightforward and working
17598 bindings. Add tests for all dropped functions to ensure they keep
17601 docs/reference/pyglib-constants.xml | 59 -------
17602 docs/reference/pyglib-functions.xml | 270 ------------------------------
17603 gi/_glib/__init__.py | 24 ---
17604 gi/_glib/glibmodule.c | 319
17605 ------------------------------------
17606 gi/_gobject/__init__.py | 9 -
17607 gi/overrides/GLib.py | 16 ++
17608 gi/overrides/GObject.py | 32 ++++
17609 gi/overrides/Makefile.am | 1 +
17610 tests/Makefile.am | 1 -
17611 tests/test_glib.py | 46 ++++++
17612 tests/test_gobject.py | 4 +
17613 tests/test_uris.py | 16 --
17614 12 files changed, 99 insertions(+), 698 deletions(-)
17616 commit 126a10f765af3d3a6f08ce5db7ed9f3ef647848f
17617 Author: Martin Pitt <martinpitt@gnome.org>
17618 Date: Tue Oct 23 06:12:08 2012 +0200
17620 Fix OverflowError in source_remove()
17622 GSource IDs are unsigned, so we must use 'I' for parsing then, not
17625 https://bugzilla.gnome.org/show_bug.cgi?id=684526
17627 gi/_glib/glibmodule.c | 2 +-
17628 tests/test_source.py | 13 ++++++++++++-
17629 2 files changed, 13 insertions(+), 2 deletions(-)
17631 commit 15f7442bd0c45db25073e3d8494094f1c284ffa4
17632 Author: Martin Pitt <martinpitt@gnome.org>
17633 Date: Mon Oct 22 13:38:23 2012 +0200
17635 Fix TestSource.testSources() test case
17637 PyGObject has established the assumption that the destruction of
17639 Python object does not destroy the actual GSource, as shown in
17640 TestSource.setup_timeout(), TestTimeout.test504337(), and
17641 https://bugzilla.gnome.org/show_bug.cgi?id=504337.
17643 So we need to explicitly destroy our MySource and Idle objects
17645 them, as their callbacks always return True and we do not want them
17647 over into other tests.
17649 Also fix the assertions to actually verify that MySources' callback
17651 (pos > 0, not pos >= 0), and use the unittest comparison API instead
17653 simple assert statement.
17655 https://bugzilla.gnome.org/show_bug.cgi?id=686627
17657 tests/test_source.py | 8 +++++++-
17658 1 file changed, 7 insertions(+), 1 deletion(-)
17660 commit b984a5fe0d065818a153f259db4dbde79534f084
17661 Author: Martin Pitt <martinpitt@gnome.org>
17662 Date: Mon Oct 22 17:38:56 2012 +0200
17664 configure.ac: post-release bump to 3.7.2
17666 configure.ac | 2 +-
17667 1 file changed, 1 insertion(+), 1 deletion(-)
17669 commit ce0825f58c3eba6084143e430605ffb597622369
17670 Author: Martin Pitt <martinpitt@gnome.org>
17671 Date: Mon Oct 22 17:37:17 2012 +0200
17675 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++
17676 1 file changed, 42 insertions(+)
17678 commit a93763337ba7f952d787c42f45bfbb3ff02cc80d
17679 Author: Martin Pitt <martinpitt@gnome.org>
17680 Date: Mon Oct 22 17:33:12 2012 +0200
17682 Bump version to 3.7.1
17684 Let's follow the real GNOME versioning from now on.
17686 configure.ac | 2 +-
17687 1 file changed, 1 insertion(+), 1 deletion(-)
17689 commit 3fb13cc05a281970c3a624c2dd152996031b482c
17690 Author: Martin Pitt <martinpitt@gnome.org>
17691 Date: Mon Oct 22 11:36:49 2012 +0200
17693 test_mainloop code cleanup
17695 Ensure that sys.excepthook is always restored, even if the test
17697 assert{True,False,Equal} unittest API instead of simple asserts for
17701 tests/test_mainloop.py | 19 ++++++++++---------
17702 1 file changed, 10 insertions(+), 9 deletions(-)
17704 commit 31061f20083aa60919f6763a12addbf2b052cab7
17705 Author: Simon Feltman <sfeltman@src.gnome.org>
17706 Date: Sun Oct 21 18:55:24 2012 -0700
17708 Change install_properties to not use getattr on classes
17710 The usage of getattr for accessing a classes __gproperties__
17711 variable can be problematic due to the potential of it returning
17712 the parent classes variable when it does not exist on the sub-class.
17713 Similar to the fix for
17714 https://bugzilla.gnome.org/show_bug.cgi?id=686496,
17715 cls.__dict__.get is used to ensure this does not happen.
17717 https://bugzilla.gnome.org/show_bug.cgi?id=686559
17719 gi/_gobject/propertyhelper.py | 2 +-
17720 tests/test_properties.py | 6 ++++--
17721 2 files changed, 5 insertions(+), 3 deletions(-)
17723 commit 438d3e68f19e2af5d027e18842ab05e0421d088d
17724 Author: Simon Feltman <sfeltman@src.gnome.org>
17725 Date: Sat Oct 20 19:56:04 2012 -0700
17727 Move property install function into propertyhelper.py
17729 Move _install_properties() into gi/_gobject/propertyhelper.py
17732 https://bugzilla.gnome.org/show_bug.cgi?id=686559
17734 gi/_gobject/__init__.py | 45 +++----------------------------
17735 gi/_gobject/propertyhelper.py | 45 +++++++++++++++++++++++++++++++
17736 tests/test_properties.py | 63
17737 +++++++++++++++++++++++++++++++++++++++++++
17738 3 files changed, 111 insertions(+), 42 deletions(-)
17740 commit 695a9077aa8f40357e050f090caa5e2b8c5c9593
17741 Author: Simon Feltman <s.feltman@gmail.com>
17742 Date: Sat Oct 20 03:11:07 2012 -0700
17744 Fix Signal decorator to not use base class gsignals dict
17746 Fix install_signals to not use the parent classes __gsignals__
17747 dict if one does not exist on the given class.
17749 https://bugzilla.gnome.org/show_bug.cgi?id=686496
17751 gi/_gobject/signalhelper.py | 2 +-
17752 tests/test_signal.py | 43
17753 +++++++++++++++++++++++++++++++++++++++++++
17754 2 files changed, 44 insertions(+), 1 deletion(-)
17756 commit 1ff04e846d50b948df6fa3260c548ef4f4779c58
17757 Author: Martin Pitt <martinpitt@gnome.org>
17758 Date: Fri Oct 19 09:05:01 2012 +0200
17760 tests: Consistently use GLib.MainLoop
17762 ... instead of mixing GObject.MainLoop and GLib.MainLoop.
17764 tests/test_everything.py | 4 ++--
17765 tests/test_gdbus.py | 11 +++++------
17766 2 files changed, 7 insertions(+), 8 deletions(-)
17768 commit ff7e7401b4cf50532fef70263f7559ea513b8333
17769 Author: Kalev Lember <kalevlember@gmail.com>
17770 Date: Wed Oct 17 18:27:14 2012 +0200
17772 Install the .egg-info files into correct multilib directory
17774 This makes sure the .egg-info files end up in the same python
17776 directory as the rest of the gi .py files.
17778 https://bugzilla.gnome.org/show_bug.cgi?id=686315
17780 Makefile.am | 6 +++---
17781 1 file changed, 3 insertions(+), 3 deletions(-)
17783 commit 91e4cb2063d4e83fb1f6586a4396471d64f234f4
17784 Author: Simon Feltman <s.feltman@gmail.com>
17785 Date: Mon Oct 15 04:03:50 2012 -0700
17787 Fix leaked vfunc return values
17789 Simple fix to dec ref returned values from closures wrapping
17792 https://bugzilla.gnome.org/show_bug.cgi?id=686140
17794 gi/pygi-closure.c | 1 +
17795 tests/test_gi.py | 21 +++++++++++++++++++--
17796 2 files changed, 20 insertions(+), 2 deletions(-)
17798 commit 75e373b99c3cb66dd60b13c803e5f7eec77cc415
17799 Author: Martin Pitt <martinpitt@gnome.org>
17800 Date: Mon Oct 15 07:42:05 2012 +0200
17802 Skip Regress tests with --disable-cairo
17804 We need cairo to build g-i's Regress library, gir, and typelib. Update
17805 configure.ac to only require cairo if --disable-cairo was not
17807 --disable-cairo, skip building the Regress library and skip all
17811 https://bugzilla.gnome.org/show_bug.cgi?id=685094
17813 configure.ac | 5 ++---
17814 tests/Makefile.am | 45
17815 +++++++++++++++++++++++++++------------------
17816 tests/test_everything.py | 15 +++++++++++----
17817 tests/test_overrides.py | 7 ++++++-
17818 4 files changed, 46 insertions(+), 26 deletions(-)
17820 commit a2ab72aa39824579d1767d1fdba7e1031341f86c
17821 Author: Martin Pitt <martinpitt@gnome.org>
17822 Date: Fri Oct 12 11:05:24 2012 +0200
17824 _pygi_marshal_from_py_uint64: Re-fix check of negative values
17826 Fix regression from commit 1bfcd5d94 (exposed by several test cases)
17830 https://bugzilla.gnome.org/show_bug.cgi?id=685000
17832 gi/pygi-marshal-from-py.c | 6 +++---
17833 1 file changed, 3 insertions(+), 3 deletions(-)
17835 commit 22c22124b787ae67638aff89796d7ce14900ea8e
17836 Author: Simon Feltman <s.feltman@gmail.com>
17837 Date: Mon Oct 8 05:54:30 2012 -0700
17839 Fix leak with python callables as closure argument.
17841 The fix adds an extra args_data list to the PyGIInvokeState
17842 structure. This list is used to track dynamically generated
17843 closures that wrap python callables. This allows the ffi closure
17844 and python callable to be freed when call scope has finished.
17846 https://bugzilla.gnome.org/show_bug.cgi?id=685598
17848 gi/pygi-cache.c | 1 +
17849 gi/pygi-closure.c | 41 +++++++++----
17850 gi/pygi-invoke-state-struct.h | 4 ++
17851 gi/pygi-invoke.c | 7 +++
17852 gi/pygi-marshal-cleanup.c | 14 +++++
17853 gi/pygi-marshal-cleanup.h | 4 ++
17854 gi/pygi-marshal-from-py.c | 57 ++++++++++++++----
17855 tests/test_everything.py | 137
17856 +++++++++++++++++++++++++++++++-----------
17857 8 files changed, 206 insertions(+), 59 deletions(-)
17859 commit c0bc69906df2db64560f7c054277ad1956aab57f
17860 Author: Martin Pitt <martinpitt@gnome.org>
17861 Date: Thu Oct 11 17:49:30 2012 +0200
17863 Gio overrides: Handle setting GSettings enum keys
17865 https://bugzilla.gnome.org/show_bug.cgi?id=685947
17867 gi/overrides/Gio.py | 9 ++++++++-
17868 tests/test_overrides_gio.py | 3 +++
17869 2 files changed, 11 insertions(+), 1 deletion(-)
17871 commit bbbb7c9ed047a22ac3c43f2b0331d3b5ea32e812
17872 Author: Martin Pitt <martinpitt@gnome.org>
17873 Date: Thu Oct 11 17:20:38 2012 +0200
17875 tests: Check reading GSettings enums in Gio overrides
17877 Also split test_override() into several smaller test cases.
17879 tests/org.gnome.test.gschema.xml | 9 +++++++++
17880 tests/test_overrides_gio.py | 14 +++++++++-----
17881 2 files changed, 18 insertions(+), 5 deletions(-)
17883 commit 8a2e96cd4e33b6c119a368d73a9d5504576cdccb
17884 Author: Martin Pitt <martinpitt@gnome.org>
17885 Date: Thu Oct 11 16:08:11 2012 +0200
17887 Fix unsigned values in GArray/GList/GSList/GHash
17889 _pygi_hash_pointer_to_arg() needs to handle unsigned integers as well.
17891 https://bugzilla.gnome.org/show_bug.cgi?id=685860
17893 gi/pygi-argument.c | 9 +++++++++
17894 tests/test_gi.py | 12 ++++++++++++
17895 2 files changed, 21 insertions(+)
17897 commit d394acbb58b38e6f52ee71e8e663a892676ab9e4
17898 Author: Colin Walters <walters@verbum.org>
17899 Date: Thu Oct 4 20:13:55 2012 -0400
17901 build: Fix srcdir != builddir
17904 1 file changed, 1 insertion(+), 1 deletion(-)
17906 commit 1bfcd5d94b71edc9f03c8b3e87952a8bc8097586
17907 Author: Alban Browaeys <prahal@yahoo.com>
17908 Date: Thu Sep 27 22:44:22 2012 +0200
17910 _pygi_marshal_from_py_uint64(): Use correct data type in py2.7 check
17912 Casting an unsigned to signed and checking if positive was not
17914 unsigned 64 is below G_MAXUINT64 instead.
17916 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=685000
17918 gi/pygi-marshal-from-py.c | 4 ++--
17919 1 file changed, 2 insertions(+), 2 deletions(-)
17921 commit f0870336b9fc7797895f206e0d3ef17a19efe253
17922 Author: Johan Dahlin <johan@gnome.org>
17923 Date: Tue Oct 2 05:30:16 2012 -0700
17925 Install an .egg-info file
17927 This will help easy_install and pip to figure out that PyGObject
17928 is already installed.
17930 https://bugzilla.gnome.org/show_bug.cgi?id=680138
17932 Makefile.am | 13 ++++++++-----
17933 1 file changed, 8 insertions(+), 5 deletions(-)
17935 commit 4c9318d97aa34051a0460e8db2ed0f963126b7f5
17936 Author: Johan Dahlin <johan@gnome.org>
17937 Date: Thu Oct 4 09:42:41 2012 +0200
17939 PyGProps_getattro(): Fix GObjectClass leak
17941 https://bugzilla.gnome.org/show_bug.cgi?id=685218
17943 gi/_gobject/pygobject.c | 4 +++-
17944 1 file changed, 3 insertions(+), 1 deletion(-)
17946 commit 2aa61520eb4f293ce94d54605d7642a39e18e03d
17947 Author: Olivier Crête <olivier.crete@collabora.com>
17948 Date: Mon Sep 17 15:16:32 2012 -0400
17950 pygobject.c: Don't leak GObjectClass reference
17952 https://bugzilla.gnome.org/show_bug.cgi?id=684062
17954 gi/_gobject/pygobject.c | 6 +++++-
17955 1 file changed, 5 insertions(+), 1 deletion(-)
17957 commit 43d356d03d4c83e9de3c56f98a70d387b46f17af
17958 Author: Alban Browaeys <prahal@yahoo.com>
17959 Date: Sat Sep 29 01:17:14 2012 +0200
17961 Fix memory leak in _pygi_argument_to_array()
17963 Length arg and type info need to be unref'ed.
17965 https://bugzilla.gnome.org/show_bug.cgi?id=685082
17967 gi/pygi-argument.c | 3 +++
17968 1 file changed, 3 insertions(+)
17970 commit 34270a109d2af20391c80e88874ee7303eaf5c09
17971 Author: Martin Pitt <martinpitt@gnome.org>
17972 Date: Fri Sep 28 07:42:51 2012 +0200
17974 Fix error messages for out of range numbers
17976 PyErr_Format() does not understand %lli and %li, it needs to be %lld
17978 So we cannot use those and G_GINT64_FORMAT.
17980 Also remove the "if (long_ < G_MININT64 || long_ > G_MAXINT64)"
17982 is a gint64 which can't possibly overflow its own data type. It
17984 an unprintable error message.
17986 https://bugzilla.gnome.org/show_bug.cgi?id=684314
17988 gi/pygi-marshal-from-py.c | 21 ++++++++-------------
17989 1 file changed, 8 insertions(+), 13 deletions(-)
17991 commit 7f1422bf929976722edd6144beb0b4c96d74391b
17992 Author: Martin Pitt <martinpitt@gnome.org>
17993 Date: Fri Sep 28 06:59:38 2012 +0200
17995 Kill dbus-daemon after running tests
17997 dbus-launch does not kill the spawned dbus-daemon by itself (see
17998 https://bugs.freedesktop.org/show_bug.cgi?id=39196), so do that
18000 our tests. Take care to preserve the exit code.
18002 https://bugzilla.gnome.org/show_bug.cgi?id=685009
18004 tests/Makefile.am | 5 ++++-
18005 1 file changed, 4 insertions(+), 1 deletion(-)
18007 commit bfd9c8fac1ea240b29fbcd4185dc1702539c1e96
18008 Author: Martin Pitt <martinpitt@gnome.org>
18009 Date: Thu Sep 27 08:18:34 2012 +0200
18011 GVariant overrides: Support empty tuple arrays
18013 Implement the "empty value" branch in _create_tuple(), so that
18015 can call it for parsing the element type for an empty array.
18017 This fixes creating variants such as GLib.Variant('a(ii)', []).
18019 https://bugzilla.gnome.org/show_bug.cgi?id=684928
18021 gi/overrides/GLib.py | 30 +++++++++++++++++++++++-------
18022 tests/test_overrides_glib.py | 31 +++++++++++++++++++++++++++++++
18023 2 files changed, 54 insertions(+), 7 deletions(-)
18025 commit 75d452ea5b179c3585adcf95356b4316c9180768
18026 Author: Martin Pitt <martinpitt@gnome.org>
18027 Date: Thu Sep 27 06:50:12 2012 +0200
18029 TestGVariant: Split creation test case into several smaller ones
18031 tests/test_overrides_glib.py | 20 ++++++--------------
18032 1 file changed, 6 insertions(+), 14 deletions(-)
18034 commit 4a20bcb3f97614044d351f8e436a81d332db55ba
18035 Author: Martin Pitt <martinpitt@gnome.org>
18036 Date: Tue Sep 25 09:10:10 2012 +0200
18038 Fix unused variables and results
18040 This gets rid of all warnings except the deprecated symbol ones.
18042 gi/_glib/pygiochannel.c | 9 +++------
18043 gi/pygi-argument.c | 4 +---
18044 gi/pygi-callbacks.c | 4 ----
18045 gi/pygi-ccallback.c | 1 -
18046 gi/pygi-repository.c | 3 +--
18047 5 files changed, 5 insertions(+), 16 deletions(-)
18049 commit 5285f14fee93d2729d4422c40a945adc2be69c14
18050 Author: Martin Pitt <martinpitt@gnome.org>
18051 Date: Tue Sep 25 08:56:20 2012 +0200
18053 tests: Fix wrong return type in test_int64_callback()
18055 https://bugzilla.gnome.org/show_bug.cgi?id=684700
18057 tests/testhelpermodule.c | 2 +-
18058 1 file changed, 1 insertion(+), 1 deletion(-)
18060 commit e14ebab6099d082466ec11ca21d44de0d6017216
18061 Author: Giovanni Campagna <gcampagna@src.gnome.org>
18062 Date: Wed Sep 19 00:10:57 2012 +0200
18064 Fix GValue marshalling of long and unsigned long
18066 long can be equivalent to int64 or int32, depending on the
18068 and GI conflates this distinction in the typelib, but GType does
18070 warns if the wrong accessor is used.
18072 https://bugzilla.gnome.org/show_bug.cgi?id=684331
18074 gi/pygi-argument.c | 25 +++++++++++++++++++++----
18075 1 file changed, 21 insertions(+), 4 deletions(-)
18077 commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
18078 Author: Simon Feltman <s.feltman@gmail.com>
18079 Date: Wed Sep 19 19:07:00 2012 -0700
18081 Clean up deprecation message for assigning gpointers to objects.
18083 The previous deprecation message was worded as if the deprecation
18084 had already occurred and it has not.
18086 https://bugzilla.gnome.org/show_bug.cgi?id=683599
18088 gi/pygi-info.c | 4 ++--
18089 1 file changed, 2 insertions(+), 2 deletions(-)
18091 commit 4bfe7972546413f46f5c36737ff03bb5612c1921
18092 Author: Olivier Crête <olivier.crete@collabora.com>
18093 Date: Tue Sep 18 08:52:02 2012 +0200
18095 pygi-property: Lookup property in base classes of non-introspected
18098 Look for introspection data in the base classes of non-introspected
18100 This is necessary to look up introspection data for plugins.
18102 https://bugzilla.gnome.org/show_bug.cgi?id=684058
18104 gi/pygi-property.c | 28 ++++++++++++++--------------
18105 tests/test_everything.py | 12 ++++++++++++
18106 2 files changed, 26 insertions(+), 14 deletions(-)
18108 commit 7aa94cc861082147b9c382b930f3257f0a842c84
18109 Author: Martin Pitt <martinpitt@gnome.org>
18110 Date: Mon Sep 24 09:41:10 2012 +0200
18112 post-release bump to 3.4.1
18114 configure.ac | 2 +-
18115 1 file changed, 1 insertion(+), 1 deletion(-)
18117 commit fcceed3adb8d78baba68861a1408627321b2c1ef
18118 Author: Martin Pitt <martinpitt@gnome.org>
18119 Date: Mon Sep 24 09:35:33 2012 +0200
18124 configure.ac | 4 ++--
18125 2 files changed, 5 insertions(+), 2 deletions(-)
18127 commit 645a9d9d4712f8f0d1b63899b309bbc97eb1f216
18128 Author: Martin Pitt <martinpitt@gnome.org>
18129 Date: Mon Sep 24 09:27:47 2012 +0200
18131 Bump g-i dependency to 1.33.14
18133 To ensure we have all the Regress test APIs that we use.
18135 configure.ac | 2 +-
18136 1 file changed, 1 insertion(+), 1 deletion(-)
18138 commit b6f4ef327fbeaa10fd74571c3df540311834d6ae
18139 Author: Martin Pitt <martinpitt@gnome.org>
18140 Date: Mon Sep 17 22:52:49 2012 +0200
18142 post-release bump to 3.3.93
18144 configure.ac | 2 +-
18145 1 file changed, 1 insertion(+), 1 deletion(-)
18147 commit 7e154cf01cf0ce7a8b52c45ba4db755f73b45d1d
18148 Author: Martin Pitt <martinpitt@gnome.org>
18149 Date: Mon Sep 17 22:48:13 2012 +0200
18153 NEWS | 12 ++++++++++++
18154 1 file changed, 12 insertions(+)
18156 commit adbe30dc72b4d88bb31055f6ee33fddf32638af9
18157 Author: Martin Pitt <martinpitt@gnome.org>
18158 Date: Mon Sep 17 22:32:55 2012 +0200
18160 release-news: Generate HTML changelog
18162 In addition to producing a NEWS paragraph from the changelog,
18164 changelog HTML which can be put into blog announcements.
18166 Update HACKING to point this out, too.
18169 Makefile.am | 22 ++++++++++++++++------
18170 2 files changed, 17 insertions(+), 7 deletions(-)
18172 commit be4a0682bdd189ee908ab1961001f759a80e133c
18173 Author: Simon Feltman <s.feltman@gmail.com>
18174 Date: Sun Sep 16 17:27:25 2012 -0700
18176 [API add] Add ObjectInfo.get_abstract method
18178 Adds exposure of g_object_info_get_abstract to python for
18179 helping with analysis of non-constructable objects from
18182 https://bugzilla.gnome.org/show_bug.cgi?id=675581
18184 gi/pygi-info.c | 8 ++++++++
18185 tests/test_gi.py | 12 ++++++++++++
18186 2 files changed, 20 insertions(+)
18188 commit 3ada408434860d0c8eee6c6a869b5a3d801cfbc8
18189 Author: Simon Feltman <s.feltman@gmail.com>
18190 Date: Thu Sep 13 20:53:22 2012 -0700
18192 Add deprecation warning when setting gpointers to anything other
18195 This is a first pass which does not change anything except add
18197 when anything other than an int is set on a gpointer on a boxed type.
18199 https://bugzilla.gnome.org/show_bug.cgi?id=683599
18201 gi/pygi-info.c | 8 ++++++++
18202 1 file changed, 8 insertions(+)
18204 commit a047f61f26d9c78b82d22948199313e5a389e918
18205 Author: Martin Pitt <martinpitt@gnome.org>
18206 Date: Mon Sep 17 09:41:24 2012 +0200
18208 test_properties: Test accessing a property from a superclass
18210 We already cover accessing the superclass' property if that was
18212 Python. Add a corresponding test case for a property defined in C.
18214 See https://bugzilla.gnome.org/show_bug.cgi?id=684058
18216 tests/test_properties.py | 12 ++++++++++++
18217 1 file changed, 12 insertions(+)
18219 commit 3e6a4000cbc4b0cb503fcd89b50202ed0b70d3a7
18220 Author: Martin Pitt <martinpitt@gnome.org>
18221 Date: Mon Sep 17 09:31:05 2012 +0200
18223 test_properties.py: Consistent test names
18225 Use underscore style method/test case names consistently. Also rename
18227 cases to better describe what they do.
18229 tests/test_properties.py | 78
18230 ++++++++++++++++++++++++------------------------
18231 1 file changed, 39 insertions(+), 39 deletions(-)
18233 commit 4069c3d8547f35437e0cee175a5912febe25326d
18234 Author: Martin Pitt <martinpitt@gnome.org>
18235 Date: Wed Sep 12 06:51:24 2012 +0200
18237 test_everything: Ensure TestSignals callback does get called
18239 tests/test_everything.py | 3 +++
18240 1 file changed, 3 insertions(+)
18242 commit 4e4c87e3868948743e0446abe2ba0cf5626374c4
18243 Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
18244 Date: Fri Sep 7 17:17:09 2012 -0400
18246 argument: Fix 64bit integer convertion from GValue
18248 Trying to get a 64bit integer using the wrong getter was resulting
18250 assertion and 0 being returned.
18252 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18254 https://bugzilla.gnome.org/show_bug.cgi?id=683596
18256 gi/pygi-argument.c | 8 ++++++--
18257 tests/test_everything.py | 52
18258 ++++++++++++++++++++++++++++++++++++++++++++++++
18259 2 files changed, 58 insertions(+), 2 deletions(-)
18261 commit e474ce243ea7a58358af344ccadb1418f4d2c8eb
18262 Author: Martin Pitt <martinpitt@gnome.org>
18263 Date: Tue Sep 11 12:32:10 2012 +0200
18265 Add Simon Feltman as a project maintainer
18267 Signed-off-By: Martin Pitt <martinpitt@gnome.org>
18268 Signed-off-By: Paolo Borelli <pborelli@gnome.org>
18270 pygobject.doap | 7 +++++++
18271 1 file changed, 7 insertions(+)
18273 commit ee1fc78258f10e8a7872ee3da6c9ad6e7984706e
18274 Author: Martin Pitt <martinpitt@gnome.org>
18275 Date: Tue Sep 11 10:17:50 2012 +0200
18277 test_signals.py: Drop global type variables
18279 Just use the real types and flags from GObject instead of redefining
18281 for them. They weren't used consistently, make the tests harder to
18283 really do not want global single-letter variables like "f" and "l".
18285 tests/test_signal.py | 38 ++++++++++++++++----------------------
18286 1 file changed, 16 insertions(+), 22 deletions(-)
18288 commit 3688cf6efe7161585b943cfaafcfd4610b7ad768
18289 Author: Martin Pitt <martinpitt@gnome.org>
18290 Date: Tue Sep 11 10:11:58 2012 +0200
18292 test_signals.py: Consistent test names
18294 Use underscore style method/test case names consistently.
18296 tests/test_signal.py | 88
18297 ++++++++++++++++++++++++++--------------------------
18298 1 file changed, 44 insertions(+), 44 deletions(-)
18300 commit 4559247553b792db956f69c9674c12344d719c82
18301 Author: Martin Pitt <martinpitt@gnome.org>
18302 Date: Tue Sep 11 09:43:14 2012 +0200
18304 Add test cases for GValue signal arguments
18306 These cover various types, (u)int(64) and string.
18308 Keep the test case for implicit int64 GValues disabled, as this
18310 not work and it is not clear whether it should:
18311 https://bugzilla.gnome.org/show_bug.cgi?id=683775
18313 tests/test_signal.py | 41 +++++++++++++++++++++++++++++++++++++++++
18314 tests/testhelpermodule.c | 17 +++++++++++++++++
18315 2 files changed, 58 insertions(+)
18317 commit fddb01b0b71b68d154d130cf40fd5f38647b1a4d
18318 Author: Martin Pitt <martinpitt@gnome.org>
18319 Date: Tue Sep 11 09:31:18 2012 +0200
18321 Add test for GValue signal return values
18323 Another attempt to reproduce the reported error in
18324 https://bugzilla.gnome.org/show_bug.cgi?id=683596
18325 but this works already.
18327 tests/test_signal.py | 13 +++++++++++++
18328 tests/testhelpermodule.c | 36 ++++++++++++++++++++++++++++++++++++
18329 2 files changed, 49 insertions(+)
18331 commit 4f77c7798563ea436ff5b6306a987f03de50b211
18332 Author: Simon Feltman <s.feltman@gmail.com>
18333 Date: Fri Sep 7 02:32:15 2012 -0700
18335 Improve setting pointer fields/arguments to NULL using None
18337 Setting gi pointers will set them to the address of the python object.
18338 This is good except in the case of None which should be used to NULL
18339 the pointer out as a special case.
18341 Commit 21b1d17d2a already fixed this. This improved patch
18342 does that in a cleaner and safer way and adds more comments.
18344 https://bugzilla.gnome.org/show_bug.cgi?id=683150
18346 gi/pygi-argument.c | 8 +-------
18347 gi/pygi-info.c | 14 +++++++++++++-
18348 2 files changed, 14 insertions(+), 8 deletions(-)
18350 commit 15046b5a11f6c58a3e5a9c50cf0ce7f31f2cd55f
18351 Author: Martin Pitt <martinpitt@gnome.org>
18352 Date: Mon Sep 10 16:46:30 2012 +0200
18354 Test gint64 C signal arguments and return values
18356 tests/test_signal.py | 12 ++++++++++++
18357 tests/testhelpermodule.c | 14 ++++++++++++++
18358 2 files changed, 26 insertions(+)
18360 commit 822d9e07a95f706a40f64335765293542787da90
18361 Author: Martin Pitt <martinpitt@gnome.org>
18362 Date: Mon Sep 10 16:29:32 2012 +0200
18364 Test in/out int64 GValue method arguments.
18366 See https://bugzilla.gnome.org/show_bug.cgi?id=683596
18368 tests/test_gi.py | 9 +++++++++
18369 1 file changed, 9 insertions(+)
18371 commit 2d83e52233812618493af4b165615e8741ba41c8
18372 Author: Martin Pitt <martinpitt@gnome.org>
18373 Date: Wed Sep 5 08:54:53 2012 +0200
18375 Bump g-i dependency to 1.33.10
18377 To ensure we have all the Regress test APIs that we use.
18379 configure.ac | 2 +-
18380 1 file changed, 1 insertion(+), 1 deletion(-)
18382 commit 6a4f4dc9a3d21c3ac8a0aa51432fb8952b4e1ebf
18383 Author: Thibault Saunier <thibault.saunier@collabora.com>
18384 Date: Wed Aug 8 12:57:41 2012 -0400
18386 Fix -uninstalled.pc.in file
18388 https://bugzilla.gnome.org/show_bug.cgi?id=683379
18390 pygobject-3.0-uninstalled.pc.in | 6 +++---
18391 1 file changed, 3 insertions(+), 3 deletions(-)
18393 commit d8f1398dbc7fa7803639c542a607f24f18614ad6
18394 Author: Martin Pitt <martinpitt@gnome.org>
18395 Date: Mon Sep 3 22:16:47 2012 +0200
18397 post-release bump to 3.3.92
18399 configure.ac | 2 +-
18400 1 file changed, 1 insertion(+), 1 deletion(-)
18402 commit ea992324b8197b2d04ff2849b9ab46f8a04b4ed7
18403 Author: Martin Pitt <martinpitt@gnome.org>
18404 Date: Mon Sep 3 22:04:01 2012 +0200
18408 NEWS | 32 ++++++++++++++++++++++++++++++++
18409 1 file changed, 32 insertions(+)
18411 commit 1e1f5b2f2f15547c1f2cbc948d2b764bd0a37c44
18412 Author: Martin Pitt <martinpitt@gnome.org>
18413 Date: Mon Sep 3 21:57:00 2012 +0200
18415 Fix exception test case for Python 2
18417 Regression from commit 77844c5 which did not work with Python 2.
18419 tests/test_everything.py | 12 +++++++-----
18420 1 file changed, 7 insertions(+), 5 deletions(-)
18422 commit 41bb687c058e08b05108b4b2f081cd83d4f93da8
18423 Author: Martin Pitt <martinpitt@gnome.org>
18424 Date: Mon Sep 3 21:16:01 2012 +0200
18426 Bump g-i dependency
18428 Require at least 1.33.9, as we got a couple of bug fixes there which
18430 and for some cases the code, depend on. We actually require 1.33.10
18432 tests to succeed, but that hasn't been released yet.
18434 configure.ac | 2 +-
18435 1 file changed, 1 insertion(+), 1 deletion(-)
18437 commit 77844c571ad0badc189428b93de9f2572051b67e
18438 Author: Martin Pitt <martinpitt@gnome.org>
18439 Date: Mon Sep 3 17:58:38 2012 +0200
18441 Show proper exception when trying to allocate a disguised struct
18443 Instead of a simple "MemoryError" with no details, raise a proper
18444 TypeError with a traceback and an explanation what happened.
18446 https://bugzilla.gnome.org/show_bug.cgi?id=639972
18448 gi/pygi-struct.c | 7 +++++++
18449 tests/test_everything.py | 13 +++++++++++++
18450 2 files changed, 20 insertions(+)
18452 commit 0d099bdb3f4bbd962e5e60b583673d9e6f5673cc
18453 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
18454 Date: Mon Sep 3 16:47:22 2012 +0200
18456 Support marshalling GParamSpec signal arguments
18458 Fix marshalling GParamSpec arguments from C to Python.
18460 https://bugzilla.gnome.org/show_bug.cgi?id=683099
18462 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18464 gi/pygi-argument.c | 10 +++++++++-
18465 tests/test_signal.py | 14 ++++++++++++++
18466 2 files changed, 23 insertions(+), 1 deletion(-)
18468 commit 69fb92c22b3f3d1d5e8c3e14134eee3242fdc5fc
18469 Author: Martin Pitt <martinpitt@gnome.org>
18470 Date: Mon Sep 3 16:06:49 2012 +0200
18472 Add test for a signal that returns a GParamSpec
18474 https://bugzilla.gnome.org/show_bug.cgi?id=683265
18476 tests/test_signal.py | 6 ++++++
18477 tests/testhelpermodule.c | 12 ++++++++++++
18478 2 files changed, 18 insertions(+)
18480 commit a7c524219987fbf37e455a91e4c78d2b9b4db12d
18481 Author: Simon Feltman <s.feltman@gmail.com>
18482 Date: Tue Mar 20 04:33:50 2012 -0700
18484 [API add] Add Signal class for adding and connecting custom signals.
18486 The Signal class provides easy creation of signals and removes the
18487 need for __gsignals__ in client code. The Signal class can also be
18488 used as a decorator for wrapping up the custom closure. As well as
18489 providing a "BoundSignal" when accessed on an instance for making
18490 connections without specifying a signal name string.
18491 Python3 annotations can also be used to supply closure argument and
18492 return types when Signal is used as a decorator. For example:
18494 class Eggs(GObject.GObject):
18496 def spam(self, count:int):
18499 https://bugzilla.gnome.org/show_bug.cgi?id=434924
18501 examples/signal.py | 34 ++++--
18502 gi/_gobject/Makefile.am | 3 +-
18503 gi/_gobject/__init__.py | 5 +
18504 gi/_gobject/signalhelper.py | 251
18505 ++++++++++++++++++++++++++++++++++++++++++++
18506 tests/test_signal.py | 208 ++++++++++++++++++++++++++++++++++--
18507 5 files changed, 482 insertions(+), 19 deletions(-)
18509 commit 96fa22369fd188465559fc904c7f76e73040e6dd
18510 Author: Martin Pitt <martinpitt@gnome.org>
18511 Date: Mon Sep 3 15:32:12 2012 +0200
18513 Fix pygtkcompat's Gtk.TreeView.insert_column_with_attributes()
18515 We have a proper implementation for insert_column_with_attributes()
18517 drop pygtkcompat's empty stub for it.
18519 Also improve test case for
18520 Gtk.TreeView.insert_column_with_attributes().
18522 gi/pygtkcompat.py | 6 ------
18523 tests/test_overrides_gtk.py | 16 ++++++++--------
18524 2 files changed, 8 insertions(+), 14 deletions(-)
18526 commit 542cf22c9de9b2094868c4e879b0f24b15c4c012
18527 Author: Marta Maria Casetti <mmcasetti@gmail.com>
18528 Date: Mon Sep 3 13:06:22 2012 +0200
18530 Add override for Gtk.TreeView.insert_column_with_attributes()
18532 https://bugzilla.gnome.org/show_bug.cgi?id=679415
18534 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18536 gi/overrides/Gtk.py | 7 +++++++
18537 tests/test_overrides_gtk.py | 38 ++++++++++++++++++++++++++++++++++++++
18538 2 files changed, 45 insertions(+)
18540 commit 1c73e845361e471b1c3a3f17e40e6a6cfa740877
18541 Author: Martin Pitt <martinpitt@gnome.org>
18542 Date: Mon Sep 3 11:09:55 2012 +0200
18544 .gitignore: Add missing built files
18546 .gitignore | 9 +++++++--
18547 1 file changed, 7 insertions(+), 2 deletions(-)
18549 commit 96431f393036a688666dcf67911bf12b9824b264
18550 Author: Martin Pitt <martinpitt@gnome.org>
18551 Date: Mon Sep 3 11:07:32 2012 +0200
18553 Ship tests/gi in tarball
18555 Spotted by distcheck.
18557 tests/Makefile.am | 6 +++++-
18558 1 file changed, 5 insertions(+), 1 deletion(-)
18560 commit dc2c6e6f60d2757462cbceef6176b0b3013904d3
18561 Author: Martin Pitt <martinpitt@gnome.org>
18562 Date: Mon Sep 3 10:18:45 2012 +0200
18564 Fix separate build tree and distcheck
18566 Fix regression from c7c95a79: We must set sys.path in runtests.py
18568 cannot rely on setting $PYTHONPATH from Makefile.am only. Python
18570 prepends the directory of the source file to sys.path, but that
18572 source dir, not the build dir. The build dir has to take precedence,
18574 we fail to import the built libraries.
18576 tests/runtests-windows.py | 10 +++++++---
18577 tests/runtests.py | 13 ++++++++-----
18578 2 files changed, 15 insertions(+), 8 deletions(-)
18580 commit 2d8f48f4ff56bb75985136452b50b75895258608
18581 Author: Martin Pitt <martinpitt@gnome.org>
18582 Date: Mon Sep 3 07:57:01 2012 +0200
18584 Split test_overrides.py
18586 Split the huge test_overrides.py into separate files for gdk, gtk,
18588 and pango. Further split the monolithic classes for Gtk and Gio
18592 https://bugzilla.gnome.org/show_bug.cgi?id=683188
18594 tests/Makefile.am | 5 +
18595 tests/test_overrides.py | 2198
18596 +----------------------------------------
18597 tests/test_overrides_gdk.py | 119 +++
18598 tests/test_overrides_gio.py | 114 +++
18599 tests/test_overrides_glib.py | 445 +++++++++
18600 tests/test_overrides_gtk.py | 1517 ++++++++++++++++++++++++++++
18601 tests/test_overrides_pango.py | 32 +
18602 7 files changed, 2234 insertions(+), 2196 deletions(-)
18604 commit 1223358e2c558dd7ac3300126f989054ec5a5b3f
18605 Author: Martin Pitt <martinpitt@gnome.org>
18606 Date: Mon Sep 3 07:17:57 2012 +0200
18608 _pygi_argument_to_object(): Clean up array unmarshalling
18610 The NULL case is already handled at the top, so it does not need to be
18613 Emit a critical if we fail to allocate a Python array of the
18616 gi/pygi-argument.c | 47 ++++++++++++++++-------------------------------
18617 1 file changed, 16 insertions(+), 31 deletions(-)
18619 commit 65bfbc624bc9da6e18ff2945b14099ab8eeb7601
18620 Author: Alban Browaeys <prahal@yahoo.com>
18621 Date: Wed Aug 29 21:24:17 2012 +0200
18623 Fix memory leak in _pygi_argument_to_object()
18625 Avoid leaking the item_type_info when breaking out of the
18626 switch in _pygi_argument_to_object() for unmarshalling arrays.
18628 https://bugzilla.gnome.org/show_bug.cgi?id=682979
18630 gi/pygi-argument.c | 4 ++++
18631 1 file changed, 4 insertions(+)
18633 commit 21b1d17d2ada2edf4063a4262b3436c279da3dc2
18634 Author: Simon Feltman <s.feltman@gmail.com>
18635 Date: Sat Sep 1 03:40:31 2012 -0700
18637 Fix setting pointer fields/arguments to NULL using None.
18639 Setting gi pointers will set them to the address of the python object.
18640 This is good except in the case of None which should be used to NULL
18641 the pointer out as a special case.
18643 https://bugzilla.gnome.org/show_bug.cgi?id=683150
18645 gi/pygi-argument.c | 8 +++++++-
18646 tests/test_overrides.py | 41 +++++++++++++++++++++++++++++++++++++++++
18647 2 files changed, 48 insertions(+), 1 deletion(-)
18649 commit 6123e6f5001ca5eaea18123d8a53525abab31a45
18650 Author: Martin Pitt <martinpitt@gnome.org>
18651 Date: Thu Aug 23 06:44:27 2012 +0200
18653 Fix for python 2.6, drop support for < 2.6
18655 Replace sys.version_info.major access to tuple access which also
18659 When building for Python 2.6, inject some missing unittest API such as
18660 @unittest.skipUnless and assertGreaterEqual() into the unittest
18662 runtests.py, so that the tests have a chance to run.
18664 As building with Python 2.5 has been broken for a long time with
18666 complaining, and 2.5 is ancient, bump minimum Python requirement to
18668 obsolete #ifdef paths which only apply to <= 2.5.
18670 https://bugzilla.gnome.org/show_bug.cgi?id=682422
18672 configure.ac | 2 +-
18673 gi/_glib/pyglib-python-compat.h | 8 --------
18674 gi/_gobject/gobjectmodule.c | 8 --------
18675 gi/module.py | 2 +-
18676 tests/runtests.py | 27 +++++++++++++++++++++++++++
18677 tests/test_gi.py | 2 +-
18678 6 files changed, 30 insertions(+), 19 deletions(-)
18680 commit b1a9848a7a7255e6b1ccd98712dd62b1514078b9
18681 Author: Thibault Saunier <thibault.saunier@collabora.com>
18682 Date: Tue Aug 21 07:54:09 2012 +0200
18684 Allow overrides in other directories than gi itself
18686 Use pkgutil.extend_path() for the gi and gi.overrides modules, so that
18687 libraries can install overrides in a path that is different from
18689 pygobject installs itself into. These overrides need to put this
18691 __init__.py at the top:
18693 from pkgutil import extend_path
18694 __path__ = extend_path(__path__, __name__)
18696 and put themselves somewhere into the default PYTHONPATH.
18698 https://bugzilla.gnome.org/show_bug.cgi?id=680913
18700 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18701 Co-Authored-By: Simon Feltman <s.feltman@gmail.com>
18703 gi/__init__.py | 4 ++++
18704 gi/overrides/__init__.py | 4 ++++
18705 tests/gi/__init__.py | 2 ++
18706 tests/gi/overrides/Regress.py | 26 ++++++++++++++++++++++++++
18707 tests/gi/overrides/__init__.py | 2 ++
18708 tests/test_overrides.py | 6 ++++++
18709 6 files changed, 44 insertions(+)
18711 commit c7c95a795eee499373499ea5b771447746317bfb
18712 Author: Simon Feltman <s.feltman@gmail.com>
18713 Date: Thu Aug 23 06:03:09 2012 +0200
18715 Clean up sys.path handling in tests
18717 Only set sys.path once in runtests.py, not in the individual test
18719 reduces hidden dependencies between tests by building up a run
18721 search path, and also makes it easier in the future to run the
18723 the installed system libraries.
18725 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=680913
18727 tests/runtests-windows.py | 6 +++++-
18728 tests/runtests.py | 3 +++
18729 tests/test_everything.py | 1 -
18730 tests/test_gdbus.py | 3 ---
18731 tests/test_overrides.py | 3 ---
18732 tests/test_pygtkcompat.py | 3 ---
18733 6 files changed, 8 insertions(+), 11 deletions(-)
18735 commit 3e3525e93d852cde0f63e835b774a9b004773c69
18736 Author: Simon Feltman <s.feltman@gmail.com>
18737 Date: Sun Aug 19 02:30:39 2012 -0700
18739 Fix dynamic creation of enum and flag gi types for Python 3.3
18741 Importing Gtk was crashing on instantiation of dynamic Enum and Flag
18742 subclasses due to what looks to be an unsupported technique. Change
18743 tp_new() method for classes dynamically derived from PyGEnum_Type and
18744 PyGFlags_Type to call PyLong_Type.tp_new() instead of attempting
18746 __new__() as a python method. This technique seems to work with all
18747 versions of python so the previous python version checking also became
18750 https://bugzilla.gnome.org/show_bug.cgi?id=682323
18752 gi/_gobject/pygenum.c | 29 ++++++++++++++++-------------
18753 gi/_gobject/pygflags.c | 21 +++++++++------------
18754 2 files changed, 25 insertions(+), 25 deletions(-)
18756 commit dd31b67e821f92b5f1c2ee0382cac5edd477cd11
18757 Author: Paolo Borelli <pborelli@gnome.org>
18758 Date: Wed Aug 22 10:45:39 2012 +0200
18760 [API add] Override g_menu_item_set_attribute
18762 This C utility API take a vararg, add a corresponding override that
18763 takes a list of tuples
18765 https://bugzilla.gnome.org/show_bug.cgi?id=682436
18767 gi/overrides/Gio.py | 10 ++++++++++
18768 tests/test_overrides.py | 11 +++++++++++
18769 2 files changed, 21 insertions(+)
18771 commit 836902801373e386d370c44e7487aac3432f19f6
18772 Author: Martin Pitt <martinpitt@gnome.org>
18773 Date: Mon Aug 20 23:37:40 2012 +0200
18775 post-release bump to 3.3.91
18777 configure.ac | 2 +-
18778 1 file changed, 1 insertion(+), 1 deletion(-)
18780 commit 6a629e23ff7b0d6f532184017577c7427d577e28
18781 Author: Martin Pitt <martinpitt@gnome.org>
18782 Date: Mon Aug 20 23:05:49 2012 +0200
18786 NEWS | 13 +++++++++++++
18787 configure.ac | 2 +-
18788 2 files changed, 14 insertions(+), 1 deletion(-)
18790 commit 5cd18c9bd59a60b930ced0b35d728c12bb3291c7
18791 Author: Mathieu Duponchelle <mathieu.duponchelle@epitech.eu>
18792 Date: Mon Aug 20 22:54:52 2012 +0200
18794 Implement marshalling for GParamSpec
18796 https://bugzilla.gnome.org/show_bug.cgi?id=681565
18798 Co-Authored-By: Martin Pitt <martinpitt@gnome.org>
18800 gi/pygi-marshal-to-py.c | 16 ++++++++++++----
18801 tests/test_gi.py | 14 ++++++++++++++
18802 2 files changed, 26 insertions(+), 4 deletions(-)
18804 commit 16462de3f025f14706ec23fa9b3653feb66ad57f
18805 Author: Martin Pitt <martinpitt@gnome.org>
18806 Date: Mon Aug 20 15:24:10 2012 +0200
18808 Fix pep8/pyflakes invocation
18810 Fix regression from commit 1e056e4f4a: Do fail the tests if
18814 tests/Makefile.am | 4 ++--
18815 1 file changed, 2 insertions(+), 2 deletions(-)
18817 commit 1bee194274bcda9ba5f6751fa921218a92c8ac72
18818 Author: Simon Feltman <s.feltman@gmail.com>
18819 Date: Thu Aug 16 16:05:52 2012 -0700
18821 Fix erronous import statements for Python 3.3
18823 Update pygobject-external.h to use GType (which is what GTypeWrapper
18825 exposed as) instead of GTypeWrapper when attempting import.
18827 Catch ImportError around attempted imports of a typelibs override file
18828 which don't always exist (GObject...). This is a behavioural change in
18829 Python 3.3 (http://bugs.python.org/issue15715), but let's fix
18832 https://bugzilla.gnome.org/show_bug.cgi?id=682051
18834 gi/module.py | 7 +++++--
18835 gi/pygobject-external.h | 2 +-
18836 2 files changed, 6 insertions(+), 3 deletions(-)
18838 commit 1e056e4f4a19fd1139187467677c2592c2722290
18839 Author: Martin Pitt <martinpitt@gnome.org>
18840 Date: Mon Aug 20 11:52:08 2012 +0200
18842 Do not fail tests if pyflakes or pep8 are not installed
18844 These tools might not be desirable in restricted build environments or
18845 backports, and e. g. Fedora patches those out. So let the tests
18849 tests/Makefile.am | 4 ++--
18850 1 file changed, 2 insertions(+), 2 deletions(-)
18852 commit c219fa6da89a7d55c5c111751684aae6876a9fe3
18853 Author: Martin Pitt <martinpitt@gnome.org>
18854 Date: Mon Aug 20 11:42:47 2012 +0200
18856 gtk-demo: Fix some PEP-8 whitespace issues
18858 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 3 +--
18859 demos/gtk-demo/demos/dialogs.py | 2 +-
18860 demos/gtk-demo/demos/rotatedtext.py | 3 +--
18861 3 files changed, 3 insertions(+), 5 deletions(-)
18863 commit 0ac2a85cae368c046839b5619a96efc9e0b91ba3
18864 Author: Martin Pitt <martinpitt@gnome.org>
18865 Date: Mon Aug 20 11:38:50 2012 +0200
18867 test_overrides.py: Fix PEP8 whitespacing
18869 tests/test_overrides.py | 48
18870 +++++++++++++++++++++++++-----------------------
18871 1 file changed, 25 insertions(+), 23 deletions(-)
18873 commit 631a9cd05cbc7dc3d0f743a84b948ef7d93c0ed4
18874 Author: Martin Pitt <martinpitt@gnome.org>
18875 Date: Mon Aug 20 11:36:19 2012 +0200
18877 Ignore E124 pep8 error
18879 This is "closing bracket does not match visual indentation" which
18881 stupid. We do want the closing bracket at the same indentation level
18883 opening bracket, not the indentation level of the whole statement.
18885 tests/Makefile.am | 2 +-
18886 1 file changed, 1 insertion(+), 1 deletion(-)
18888 commit 266d37719bb54e6f04d23ff21bcceb9514e20ff2
18889 Author: David Malcolm <dmalcolm@redhat.com>
18890 Date: Mon Aug 20 11:27:52 2012 +0200
18892 Fix unmarshalling of gssize
18894 Do not assume that the v_int union member always corresponds to a
18896 is not true on big-endian 64 bit machines like ppc64, so add a new
18897 gi_argument_to_gssize() and use it properly.
18899 https://bugzilla.gnome.org/show_bug.cgi?id=680693
18900 https://bugzilla.redhat.com/show_bug.cgi?id=842880
18902 gi/pygi-argument.c | 53
18903 +++++++++++++++++++++++++++++++++++++++++++++---
18904 gi/pygi-argument.h | 1 +
18905 gi/pygi-closure.c | 2 +-
18906 gi/pygi-info.c | 4 ++--
18907 gi/pygi-signal-closure.c | 2 +-
18908 5 files changed, 55 insertions(+), 7 deletions(-)
18910 commit 1c5d497d3c354f4d02f1d4570df2c61d6f47300c
18911 Author: David Malcolm <dmalcolm@redhat.com>
18912 Date: Mon Aug 20 11:19:27 2012 +0200
18914 Fix various endianess errors
18916 Fix code which assumed little endian behaviour when mixing different
18918 ints, putting ints into pointers, etc.
18920 https://bugzilla.gnome.org/show_bug.cgi?id=680692
18921 https://bugzilla.redhat.com/show_bug.cgi?id=841596
18923 gi/pygi-argument.c | 64 +++++++++++++--
18924 gi/pygi-argument.h | 6 ++
18925 gi/pygi-cache.c | 2 +
18926 gi/pygi-closure.c | 57 ++++++++++++-
18927 gi/pygi-marshal-from-py.c | 203
18928 ++++++++++++++++++++++++++++++++++++----------
18929 gi/pygi-marshal-from-py.h | 3 +
18930 gi/pygi-marshal-to-py.c | 137 ++++++++++++++++++++++++-------
18931 7 files changed, 391 insertions(+), 81 deletions(-)
18933 commit ee6da6f1aa2cd6e55834f9edc17f785613d00031
18934 Author: Paolo Borelli <pborelli@gnome.org>
18935 Date: Wed Aug 15 13:16:11 2012 +0200
18937 Add unit test for the TreeModelSort override
18939 tests/test_overrides.py | 7 +++++++
18940 1 file changed, 7 insertions(+)
18942 commit 9f027daa5737107b5959964b699c0089aec8ab1e
18943 Author: Simon Feltman <s.feltman@gmail.com>
18944 Date: Thu Aug 9 03:33:06 2012 -0700
18946 Gtk overrides: Add TreeModelSort.__init__(self, model)
18948 This adds "model" as a required argument to TreeModelSort
18949 instead of it being a hidden keyword argument. This is needed
18950 because the model property is set to construct only and the
18951 default value of None/NULL makes the object useless anyhow.
18953 https://bugzilla.gnome.org/show_bug.cgi?id=681477
18955 gi/overrides/Gtk.py | 8 ++++++++
18956 1 file changed, 8 insertions(+)
18958 commit c8424c2bb19356679e250e73542682dd5f4c74a5
18959 Author: Manuel Quiñones <manuq@laptop.org>
18960 Date: Fri Aug 10 09:38:24 2012 -0300
18962 Convert Gtk.CellRendererState in the pygi-convert script
18964 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
18966 https://bugzilla.gnome.org/show_bug.cgi?id=681596
18968 pygi-convert.sh | 5 +++++
18969 1 file changed, 5 insertions(+)
18971 commit 54d829b34a0d32d852db370f61cc7f25c149f373
18972 Author: Paolo Borelli <pborelli@gnome.org>
18973 Date: Mon Aug 6 16:19:28 2012 +0200
18975 More updates to the HACKING file
18977 module-install has been replaced with 'ftpadmin install' and other
18981 HACKING | 26 ++++++++++----------------
18982 1 file changed, 10 insertions(+), 16 deletions(-)
18984 commit 0788880c6cf4070d3db09896c165fe470d2ec186
18985 Author: Paolo Borelli <pborelli@gnome.org>
18986 Date: Mon Aug 6 16:00:39 2012 +0200
18988 Post-release version bump to 3.3.6
18990 configure.ac | 2 +-
18991 1 file changed, 1 insertion(+), 1 deletion(-)
18993 commit 664403d953c3e07077d0db90bfae3b51c7f1767c
18994 Author: Paolo Borelli <pborelli@gnome.org>
18995 Date: Mon Aug 6 15:52:22 2012 +0200
18999 NEWS | 29 +++++++++++++++++++++++++++++
19000 1 file changed, 29 insertions(+)
19002 commit b748753a2a9af018001213e2e58c48d6c8bfadbd
19003 Author: Paolo Borelli <pborelli@gnome.org>
19004 Date: Mon Aug 6 15:44:32 2012 +0200
19006 Update HACKING file to mention "make release-news"
19008 HACKING | 7 +++----
19009 1 file changed, 3 insertions(+), 4 deletions(-)
19011 commit 587a0c33901383b891f8eb77351c17f06af20b4f
19012 Author: Paolo Borelli <pborelli@gnome.org>
19013 Date: Mon Aug 6 15:38:23 2012 +0200
19015 pygi-closure: remove unused variables
19017 These variables are assigned but never actually used
19019 gi/pygi-closure.c | 8 --------
19020 1 file changed, 8 deletions(-)
19022 commit dbc6df6aad7197fcf8721ade429baadd749f7069
19023 Author: Martin Pitt <martinpitt@gnome.org>
19024 Date: Fri Aug 3 07:13:55 2012 +0200
19026 tests: Do not break on Pango warnings
19028 In some restricted environments (like chroots) we sometimes get
19030 Pango when it cannot find an appropriate font. Do not make the tests
19034 tests/test_overrides.py | 4 ++++
19035 tests/test_pygtkcompat.py | 6 ++++++
19036 2 files changed, 10 insertions(+)
19038 commit 770e6abfd5bc5dad7d5f56a18f1ef63f9754ada9
19039 Author: Martin Pitt <martinpitt@gnome.org>
19040 Date: Fri Aug 3 06:45:48 2012 +0200
19042 Fix list marshalling on big-endian machines
19044 On big endian machines we cannot simply set e. g. GIArgument.v_int8
19046 GIArgument.v_pointer to be a correct representation. This needs to use
19047 GINT_TO_POINTER/GPOINTER_TO_INT properly, so use the already existing
19048 _pygi_hash_pointer_to_arg()/_pygi_arg_to_hash_pointer() methods
19050 to and from GList and GSList, and handle int8 and int16 as well.
19052 Part of porting pygobject to ppc64:
19053 https://bugzilla.redhat.com/show_bug.cgi?id=842880
19054 https://bugzilla.gnome.org/show_bug.cgi?id=680693
19056 gi/pygi-marshal-from-py.c | 48 ++++++++++++++++++++++++-----------------
19057 gi/pygi-marshal-to-py.c | 54
19058 +++++++++++++++++++++++++++--------------------
19059 2 files changed, 60 insertions(+), 42 deletions(-)
19061 commit b5cd13f47309ec26727b7574e33595a357602468
19062 Author: Colin Walters <walters@verbum.org>
19063 Date: Tue Jul 31 11:47:02 2012 -0400
19065 pygi-marshal: One more 32-bit -Werror=format fix
19067 gi/pygi-marshal-from-py.c | 6 +++---
19068 1 file changed, 3 insertions(+), 3 deletions(-)
19070 commit 526bf43691cb6ed908589312b1693a6389eba00c
19071 Author: Martin Pitt <martinpitt@gnome.org>
19072 Date: Tue Jul 31 17:14:37 2012 +0200
19074 Beautify class/interface type mismatch error messages
19076 Avoid saying "<unknown module>.int", just skip the module name
19077 completely if we do not have one.
19079 gi/pygi-marshal-from-py.c | 20 ++++++++++++--------
19080 1 file changed, 12 insertions(+), 8 deletions(-)
19082 commit 8fb18c62d9c7faff38df3886cb4289b618c81b85
19083 Author: Martin Pitt <martinpitt@gnome.org>
19084 Date: Tue Jul 31 13:13:21 2012 +0200
19086 Skip instead of fail tests which need Pango, Atk, Gdk, Gtk
19088 On initial jhbuild bootstrap or restricted environments, the Pango,
19090 and Gtk typelibs might not be available. Skip tests which need these
19092 failing the testsuite.
19094 tests/test_atoms.py | 7 ++++++-
19095 tests/test_everything.py | 9 ++++++++-
19096 tests/test_overrides.py | 32 ++++++++++++++++++++++++++------
19097 tests/test_pygtkcompat.py | 30 ++++++++++++++++++++----------
19098 4 files changed, 60 insertions(+), 18 deletions(-)
19100 commit a2e73c109f3ed6080eabc85810e624b9f984317e
19101 Author: Colin Walters <walters@verbum.org>
19102 Date: Tue Jul 31 09:02:24 2012 -0400
19104 pygi-argument: Fix -Wformat warning on 32 bit builds
19106 gi/pygi-argument.c | 4 ++--
19107 1 file changed, 2 insertions(+), 2 deletions(-)
19109 commit 7563bb9f8ed5740f52ddf0ca59daf7839853505b
19110 Author: Martin Pitt <martinpitt@gnome.org>
19111 Date: Tue Jul 31 11:14:36 2012 +0200
19113 Fix tests for Python 2
19115 In Python 2 we get different error messages for a mismatching self
19117 check after commit 121b14028.
19119 tests/test_gi.py | 32 ++++++++++++++++++++------------
19120 1 file changed, 20 insertions(+), 12 deletions(-)
19122 commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
19123 Author: Martin Pitt <martinpitt@gnome.org>
19124 Date: Tue Jul 31 10:30:22 2012 +0200
19126 Build with -Werror=format
19128 This catches format string problems on particular architectures like
19130 dea24f8e12 much more insistently.
19133 1 file changed, 1 insertion(+)
19135 commit 6e84a3052667fdc88c2081e20cc6dc3257ec9d6c
19136 Author: Simon Feltman <s.feltman@gmail.com>
19137 Date: Mon Jul 30 02:00:16 2012 -0700
19139 [API add] pygtkcompat: Add more pixbuf creation functions
19141 Add the following functions:
19142 pixbuf_new_from_data
19143 pixbuf_new_from_file_at_scale
19144 pixbuf_new_from_file_at_size
19145 pixbuf_new_from_inline
19146 pixbuf_new_from_stream
19147 pixbuf_new_from_stream_at_scale
19148 pixbuf_new_from_xpm_data
19149 pixbuf_get_file_info
19151 https://bugzilla.gnome.org/show_bug.cgi?id=680814
19153 gi/pygtkcompat.py | 10 +++++++++-
19154 1 file changed, 9 insertions(+), 1 deletion(-)
19156 commit dea24f8e1221516b2d8ea578e55124b0409d6a76
19157 Author: Colin Walters <walters@verbum.org>
19158 Date: Mon Jul 30 22:17:44 2012 -0400
19160 marshal: Fix a lot of format string warnings on 32 bit
19162 G_GUINT64_FORMAT and friends handle "%lld" portably.
19164 https://bugzilla.gnome.org/show_bug.cgi?id=680878
19166 gi/pygi-marshal-from-py.c | 18 +++++++++---------
19167 1 file changed, 9 insertions(+), 9 deletions(-)
19169 commit b630038d9a1c8cb7e5914c77fbacbed646c154d1
19170 Author: Colin Walters <walters@verbum.org>
19171 Date: Mon Jul 30 22:30:07 2012 -0400
19173 marshal: Fix build break on Python 2
19175 I *think* using this wrapper function instead is right.
19177 https://bugzilla.gnome.org/show_bug.cgi?id=680879
19179 gi/pygi-marshal-from-py.c | 8 ++++----
19180 1 file changed, 4 insertions(+), 4 deletions(-)
19182 commit a8338a991bbe919f0e2d9b92f7b71f89ccd2c875
19183 Author: Manuel Quiñones <manuq@laptop.org>
19184 Date: Mon Jul 30 12:53:36 2012 -0300
19186 Improve testcase for tree_view_column_set_attributes
19188 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19190 https://bugzilla.gnome.org/show_bug.cgi?id=680320
19192 tests/test_overrides.py | 20 ++++++++++++++++++--
19193 1 file changed, 18 insertions(+), 2 deletions(-)
19195 commit 121b1402860407fe46f7501e42447bf3607872ec
19196 Author: Martin Pitt <martinpitt@gnome.org>
19197 Date: Tue Jul 31 00:37:55 2012 +0200
19199 Fix error messages on interface/class type mismatches
19201 Previously, when you called a function with an argument which was not
19202 compatible with the expected class/interface type, you got an
19206 TypeError: Expected Gtk.TreeViewColumn, but got GObjectMeta
19208 which had the wrong (and useless) class name for the actual type,
19210 tell you which argument caused the problem. With this it says e. g.
19212 TypeError: argument column: Expected Gtk.TreeViewColumn, but
19217 gi/pygi-marshal-from-py.c | 41 ++++++++++++++++++++++++++--------
19218 tests/test_gi.py | 57
19219 ++++++++++++++++++++++++++++++++++++++++++++++-
19220 2 files changed, 88 insertions(+), 10 deletions(-)
19222 commit 8f31e85db1392eb7222593fc0d05144c2bca06a3
19223 Author: Simon Feltman <s.feltman@gmail.com>
19224 Date: Sun Jul 29 23:36:25 2012 -0700
19226 Fix crash when returning (False, None) from
19227 Gtk.TreeModel.do_get_iter()
19229 Add a Py_None check before attempting memcpy().
19231 https://bugzilla.gnome.org/show_bug.cgi?id=680812
19233 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19235 gi/pygi-closure.c | 10 +++++++---
19236 tests/test_overrides.py | 9 +++++++++
19237 2 files changed, 16 insertions(+), 3 deletions(-)
19239 commit 94e5d58e7794de91d3291e0e51c42070da4fc92b
19240 Author: Martin Pitt <martinpitt@gnome.org>
19241 Date: Mon Jul 30 11:58:24 2012 +0200
19243 Add test case for Gtk.TextIter.forward_search()
19245 https://bugzilla.gnome.org/show_bug.cgi?id=679415
19247 tests/test_overrides.py | 19 +++++++++++++++++++
19248 1 file changed, 19 insertions(+)
19250 commit aae4e77482c02e21154ab02b159f380f5f0f74be
19251 Author: Martin Pitt <martinpitt@gnome.org>
19252 Date: Fri Jul 27 23:06:39 2012 +0200
19254 Add missing static declarations
19256 This fixes a lot of -Wmissing-prototype warnings.
19258 Also remove _pygi_marshal_cleanup_closure_unref() which is not
19261 gi/_gobject/gobjectmodule.c | 4 ++--
19262 gi/_gobject/pygobject.c | 2 +-
19263 gi/pygi-cache.c | 2 +-
19264 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
19265 gi/pygi-foreign.c | 2 +-
19266 gi/pygi-marshal-cleanup.c | 9 ---------
19267 tests/test-unknown.c | 2 +-
19268 tests/testhelpermodule.c | 4 ++--
19269 8 files changed, 20 insertions(+), 29 deletions(-)
19271 commit 5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16
19272 Author: Martin Pitt <martinpitt@gnome.org>
19273 Date: Fri Jul 27 23:01:08 2012 +0200
19275 Fix more missing #includes
19277 Add missing includes which caused -Wmissing-prototypes warnings.
19279 gi/_gobject/pygenum.c | 2 ++
19280 gi/_gobject/pyginterface.c | 2 ++
19281 2 files changed, 4 insertions(+)
19283 commit 97b5184c6650964ae8a7616353f5ce8e3ca19af3
19284 Author: Martin Pitt <martinpitt@gnome.org>
19285 Date: Fri Jul 27 22:59:21 2012 +0200
19287 Make some warnings fatal
19289 Add -Werror for some warnings which are real errors in the source
19291 really want to avoid. This includes -Wmissing-prototypes, but that
19293 breaks on building g-i's regress.c.
19295 configure.ac | 5 +++++
19296 1 file changed, 5 insertions(+)
19298 commit c2ee8c550199de59dd220561ed028ec6fb8e1daf
19299 Author: Martin Pitt <martinpitt@gnome.org>
19300 Date: Fri Jul 27 22:08:47 2012 +0200
19302 Fix missing #includes
19304 Add missing includes which caused -Wmissing-prototypes warnings.
19306 gi/_glib/pygiochannel.c | 2 ++
19307 gi/_glib/pygspawn.c | 2 ++
19308 2 files changed, 4 insertions(+)
19310 commit 8bc98fc6665ebab763ee92361929139a0ebe66b5
19311 Author: Martin Pitt <martinpitt@gnome.org>
19312 Date: Fri Jul 27 20:52:00 2012 +0200
19314 pygi-info.c: Robustify pointer arithmetic
19316 In _wrap_g_field_info_{get,set}_value(), use explicit char* casts
19318 that we are using byte offsets. Fixes warnings:
19320 pygi-info.c:1277:43: warning: pointer of type 'void *' used in
19321 arithmetic [-Werror=pointer-arith]
19323 gi/pygi-info.c | 4 ++--
19324 1 file changed, 2 insertions(+), 2 deletions(-)
19326 commit d0a561057b727ebcc1fd06fa6a3b48f2a1f8338e
19327 Author: Martin Pitt <martinpitt@gnome.org>
19328 Date: Fri Jul 27 20:50:30 2012 +0200
19330 pyglib.c: Remove some dead code
19332 Drop unused pyglib_gil_state_ensure_py23() and
19333 pyglib_gil_state_release_py23().
19335 gi/_glib/pyglib.c | 18 ------------------
19336 1 file changed, 18 deletions(-)
19338 commit a46d165d906d0ac7613f4d946542423e979f39d5
19339 Author: Manuel Quiñones <manuq@laptop.org>
19340 Date: Fri Jul 20 10:37:04 2012 -0300
19342 Add set_attributes() override to Gtk.TreeViewColumn
19344 Looking at the C code, gtk_tree_view_column_set_attributesv just calls
19345 gtk_cell_layout_clear_attributes and then
19346 gtk_cell_layout_add_attribute for each (name, value) passed. This
19347 patch makes the same in the overrides.
19349 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19350 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19352 gi/overrides/Gtk.py | 7 +++++++
19353 tests/test_overrides.py | 6 ++++++
19354 2 files changed, 13 insertions(+)
19356 commit 4df676e10a5ea595a0d491af10268f557dd722d7
19357 Author: Daniel Narvaez <dwnarvaez@gmail.com>
19358 Date: Tue Jul 24 13:49:15 2012 +0200
19362 The autogenerated gitignores was missing several files. So we
19363 was using a manual .gitignore at the root. But since it's
19364 enough to add a couple of entries to it to cover the whole
19365 tree, there is no much point in using git.mk at all.
19367 https://bugzilla.gnome.org/show_bug.cgi?id=678192
19370 docs/Makefile.am | 2 -
19371 examples/Makefile.am | 3 -
19372 gi/Makefile.am | 3 -
19373 gi/_glib/Makefile.am | 3 -
19374 gi/_gobject/Makefile.am | 2 -
19375 gi/overrides/Makefile.am | 2 -
19376 gi/repository/Makefile.am | 2 -
19378 ----------------------------------------------
19379 tests/Makefile.am | 2 -
19380 10 files changed, 222 deletions(-)
19382 commit 0d729c1534c7f3226b492f549d8f6ad3bb3ac8b7
19383 Author: Simon Feltman <s.feltman@gmail.com>
19384 Date: Fri Jul 20 19:55:46 2012 -0700
19386 Gtk overrides: Add TreePath.__getitem__()
19388 Use pythons sub-script operator for indexing into TreePaths
19389 as was the case in PyGtk. Also changed __iter__ to use
19390 TreePath.get_indices as opposed to formatting and re-parsing
19391 a string for getting an index list.
19393 https://bugzilla.gnome.org/show_bug.cgi?id=680353
19395 gi/overrides/Gtk.py | 5 ++++-
19396 tests/test_overrides.py | 4 ++++
19397 2 files changed, 8 insertions(+), 1 deletion(-)
19399 commit affc7faa3fa7250e2e8c2c65e6860906f6fbc4fb
19400 Author: Simon Feltman <s.feltman@gmail.com>
19401 Date: Fri Jul 20 21:34:33 2012 -0700
19403 Fix property type mapping from int to TYPE_INT for python3.
19405 Python3 does not have a long type, however, propertyhelper.py was
19406 using long_ = int; to get things working. Type mapping code
19407 was then checking for long_ first and always returning TYPE_LONG.
19408 Additional refactoring was done to move large if/elif statements
19409 into dictionary lookups and usage of tuples instead of lists
19410 for simple 'in' list of items tests.
19412 https://bugzilla.gnome.org/show_bug.cgi?id=679939
19414 gi/_gobject/propertyhelper.py | 117
19415 +++++++++++++++++++-----------------------
19416 tests/test_properties.py | 55 +++++++++++++++-----
19417 2 files changed, 96 insertions(+), 76 deletions(-)
19419 commit 6fddba5bc5ea02938677a89ffeb0cfc53229b894
19420 Author: Manuel Quiñones <manuq@laptop.org>
19421 Date: Thu Jul 19 12:11:34 2012 -0300
19423 Convert Gtk.DestDefaults constants in pygi-convert.sh script
19425 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19427 https://bugzilla.gnome.org/show_bug.cgi?id=680259
19429 pygi-convert.sh | 1 +
19430 1 file changed, 1 insertion(+)
19432 commit d58c3553062fd8704a81a8233b4a1563a6611718
19433 Author: Manuel Quiñones <manuq@laptop.org>
19434 Date: Thu Jul 19 12:04:03 2012 -0300
19436 Convert all Gdk.WindowState constants in pygi-convert.sh
19438 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19440 https://bugzilla.gnome.org/show_bug.cgi?id=680257
19442 pygi-convert.sh | 1 +
19443 1 file changed, 1 insertion(+)
19445 commit a3aae2e152c0b955037b7b85e16d14d00881d870
19446 Author: Joe R. Nassimian <placidrage@gmail.com>
19447 Date: Thu Jul 19 15:48:20 2012 +0200
19449 [API add] Add API for checking pygobject's version
19451 Add a gi.__version__ attribute for the textual version, and
19452 gi.version_info for
19453 a version triple similar to sys.version_info.
19455 Also add a gi.require_version(<minimum_version>) which raises an
19457 the pygobject version is older.
19459 https://bugzilla.gnome.org/show_bug.cgi?id=680176
19461 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19463 gi/__init__.py | 16 ++++++++++++++++
19464 tests/test_gi.py | 16 ++++++++++++++++
19465 2 files changed, 32 insertions(+)
19467 commit a2d9b71d84f0fcb7aaf5ce483ffee3b3a1ccaca1
19468 Author: Manuel Quiñones <manuq@laptop.org>
19469 Date: Mon Jul 16 17:14:46 2012 -0300
19471 pygi-convert.sh: Add some missing Gdk.CursorTypes
19473 This patch adds WATCH, ARROW and CLOCK.
19475 https://bugzilla.gnome.org/show_bug.cgi?id=680050
19477 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19478 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19480 pygi-convert.sh | 3 +++
19481 1 file changed, 3 insertions(+)
19483 commit 0b08c01414ac73a4604acd9a846e7af09574929f
19484 Author: Manuel Kaufmann <humitos@gmail.com>
19485 Date: Tue Jul 17 09:05:27 2012 -0300
19487 pygi-convert.sh: convert rsvg.Handle(data=...)
19489 Replace rsvg.Handle(data=data) with Rsvg.Handle.new_from_data(data)
19491 https://bugzilla.gnome.org/show_bug.cgi?id=680092
19493 Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
19494 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19496 pygi-convert.sh | 2 ++
19497 1 file changed, 2 insertions(+)
19499 commit 975855d0fff7f2042fe1f0e843f96b9a37cc6b79
19500 Author: Martin Pitt <martinpitt@gnome.org>
19501 Date: Mon Jul 16 17:35:38 2012 +0200
19503 configure.ac: post-release bump to 3.3.5
19505 configure.ac | 2 +-
19506 1 file changed, 1 insertion(+), 1 deletion(-)
19508 commit 126842b7227fcc1381dc158acdc5a96d0a465515
19509 Author: Martin Pitt <martinpitt@gnome.org>
19510 Date: Mon Jul 16 17:33:08 2012 +0200
19514 NEWS | 28 ++++++++++++++++++++++++++++
19515 1 file changed, 28 insertions(+)
19517 commit 079b73b3eb9083bd53e06d095f9dccc02acf2a6e
19518 Author: Martin Pitt <martinpitt@gnome.org>
19519 Date: Mon Jul 16 17:29:22 2012 +0200
19521 test_gi: Fix for Python 2
19523 tests/test_gi.py | 7 +++++--
19524 1 file changed, 5 insertions(+), 2 deletions(-)
19526 commit 30935fe31bfe201bbfdb7734f09fdd2bbaf80e08
19527 Author: Martin Pitt <martinpitt@gnome.org>
19528 Date: Mon Jul 16 16:35:33 2012 +0200
19530 pygi-convert.sh: Drop bogus filter_new() conversion
19532 my_tree_model.filter_new() is still a method on GtkTreeModel, not a
19533 constructor, so do not try to convert it to a constructor call.
19535 https://bugzilla.gnome.org/show_bug.cgi?id=679999
19537 pygi-convert.sh | 1 -
19538 1 file changed, 1 deletion(-)
19540 commit c0607d970fc59528ca27d518282cf2871b92e909
19541 Author: Martin Pitt <martinpitt@gnome.org>
19542 Date: Mon Jul 16 16:00:40 2012 +0200
19544 Fix help() for GI modules
19546 Derive DynamicModule from types.ModuleType, so that the inspect
19548 ismodule() actually succeeds on those and generates useful help on
19552 https://bugzilla.gnome.org/show_bug.cgi?id=679804
19554 gi/module.py | 3 ++-
19555 tests/test_gi.py | 15 +++++++++++++++
19556 2 files changed, 17 insertions(+), 1 deletion(-)
19558 commit 3235f1a397c334de5a7570f5ceed4da709fe1714
19559 Author: Martin Pitt <martinpitt@gnome.org>
19560 Date: Mon Jul 16 15:53:31 2012 +0200
19562 Skip gi.CallbackInfo objects from a module's dir()
19564 Skip gi.CallbackInfo items from IntrospectionModule's __dir__(),
19566 implement __getattr__ for those.
19568 Add a test case that dir() works on GI modules, contain expected
19570 and that all identifiers in dir() can actually be retrieved.
19572 Prerequisite for https://bugzilla.gnome.org/show_bug.cgi?id=679804
19574 gi/module.py | 7 +++++--
19575 tests/test_gi.py | 14 ++++++++++++++
19576 2 files changed, 19 insertions(+), 2 deletions(-)
19578 commit f6cc039e014448a553d626aac4020ee69717edab
19579 Author: Martin Pitt <martinpitt@gnome.org>
19580 Date: Mon Jul 16 15:38:05 2012 +0200
19582 Fix __path__ module attribute
19584 get_typelib_path() returns bytes, not strings, so in Python 3 we
19586 it to get a proper __path__ attribute.
19588 gi/module.py | 17 +++++++++++++++++
19589 tests/test_gi.py | 10 ++++++++++
19590 2 files changed, 27 insertions(+)
19592 commit 858048f7cec78129aa914e2341ab80aac0e95cc5
19593 Author: Joe R. Nassimian <placidrage@gmail.com>
19594 Date: Mon Jul 16 15:02:10 2012 +0200
19596 pygi-convert.sh: Fix some child → getChild() false positives
19598 https://bugzilla.gnome.org/show_bug.cgi?id=680004
19600 pygi-convert.sh | 2 +-
19601 1 file changed, 1 insertion(+), 1 deletion(-)
19603 commit a31fabdc12f1da301c8df0af319ca3f4181671ee
19604 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
19605 Date: Thu Jul 12 09:19:42 2012 +0200
19607 Fix array handling for interfaces, properties, and signals
19609 Fix lots of corner cases where arrays are not handled properly.
19610 _pygi_argument_to_object() now has the documented expectation of
19612 packed in GArrays. This was implicit before and not correctly done
19616 The helper _pygi_argument_to_array() has been improved to work on
19618 array. Fix all call sites of _pygi_argument_to_object() to do the
19619 array conversion appropriately before calling
19620 _pygi_argument_to_object().
19622 Adds a test case that implements a GInterface with a method that
19624 of variants as input.
19626 https://bugzilla.gnome.org/show_bug.cgi?id=667244
19628 gi/pygi-argument.c | 156
19629 ++++++++++++++++++++++++++++++++---------------
19630 gi/pygi-argument.h | 4 +-
19631 gi/pygi-closure.c | 11 ++++
19632 gi/pygi-info.c | 20 ++++--
19633 gi/pygi-property.c | 1 +
19634 gi/pygi-signal-closure.c | 14 ++++-
19635 tests/test_gi.py | 18 ++++++
19636 7 files changed, 167 insertions(+), 57 deletions(-)
19638 commit bb80d124269ee2389c04d03a478475868fd9ff7b
19639 Author: Manuel Quiñones <manuq@laptop.org>
19640 Date: Wed Jul 11 22:05:41 2012 -0300
19642 Add conversion of the Gdk.PropMode constants to pygi-convert.sh script
19644 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19646 https://bugzilla.gnome.org/show_bug.cgi?id=679775
19648 pygi-convert.sh | 3 +++
19649 1 file changed, 3 insertions(+)
19651 commit e3a63eefa5fb2abeabd210790e12642e577363c8
19652 Author: Manuel Quiñones <manuq@laptop.org>
19653 Date: Wed Jul 11 13:18:16 2012 -0300
19655 Add the same rules for pack_start to convert pack_end
19657 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19659 https://bugzilla.gnome.org/show_bug.cgi?id=679760
19661 pygi-convert.sh | 5 +++++
19662 1 file changed, 5 insertions(+)
19664 commit b4bef457c2d0ca6899e06a021f1f06252a37e326
19665 Author: Dave Malcolm <dmalcolm@redhat.com>
19666 Date: Wed Jul 11 08:21:27 2012 +0200
19668 Add error-checking for the case where _arg_cache_new() fails
19670 This can happen when a typelib and its underlying library are
19672 converts the segfault into a more helpful traceback.
19674 https://bugzilla.gnome.org/show_bug.cgi?id=678914
19676 gi/pygi-cache.c | 2 ++
19677 1 file changed, 2 insertions(+)
19679 commit 41287d8a439c656e4ac60361fddec643c713234c
19680 Author: Manuel Quiñones <manuq@laptop.org>
19681 Date: Wed Jul 11 11:13:38 2012 -0300
19683 Add conversion of the Gdk.NotifyType constants to pygi-convert.sh
19686 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
19688 https://bugzilla.gnome.org/show_bug.cgi?id=679754
19690 pygi-convert.sh | 6 ++++++
19691 1 file changed, 6 insertions(+)
19693 commit 5403149b900d1b73cbc78767dc43be2eb344c836
19694 Author: Simon Feltman <s.feltman@gmail.com>
19695 Date: Tue Jul 10 19:07:32 2012 -0700
19697 Fix PyObject_Repr and PyObject_Str reference leaks
19699 Fix all calls to PyObject_Repr() and PyObject_Str() to be properly
19702 https://bugzilla.gnome.org/show_bug.cgi?id=675857
19704 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19706 gi/_glib/glibmodule.c | 10 +++++++--
19707 gi/_gobject/gobjectmodule.c | 17 ++++++++++-----
19708 gi/_gobject/pygobject.c | 53
19709 ++++++++++++++++++++++++++++++---------------
19710 gi/pygi-marshal-from-py.c | 9 +++++---
19711 4 files changed, 62 insertions(+), 27 deletions(-)
19713 commit 0ddfecf3bf0a5d7893cd02cff41503d810ef6ce8
19714 Author: Martin Pitt <martinpitt@gnome.org>
19715 Date: Wed Jul 4 08:46:30 2012 +0200
19717 [API add] Gtk overrides: Add TreePath.__len__()
19719 Use the path depth as length of a Gtk.TreePath object.
19721 https://bugzilla.gnome.org/show_bug.cgi?id=679199
19723 gi/overrides/Gtk.py | 3 +++
19724 tests/test_overrides.py | 4 ++++
19725 2 files changed, 7 insertions(+)
19727 commit e1e849d1a9af77c29ee35971db8d439bac60d573
19728 Author: Martin Pitt <martinpitt@gnome.org>
19729 Date: Wed Jul 4 08:35:16 2012 +0200
19731 GLib.Variant: Fix repr(), add proper str()
19733 Fix the GLib.Variant override's repr() after commit 16280d6985. Also
19735 proper __str__() method, and tests for both.
19737 Thanks to Rul Matos for spotting this!
19739 https://bugzilla.gnome.org/show_bug.cgi?id=679336
19741 gi/overrides/GLib.py | 6 +++++-
19742 tests/test_overrides.py | 5 +++++
19743 2 files changed, 10 insertions(+), 1 deletion(-)
19745 commit af20d7c929b9c1888454b52932a308d346e1c12b
19746 Author: Martin Pitt <martinpitt@gnome.org>
19747 Date: Thu Jun 28 06:51:22 2012 +0200
19749 m4/python.m4: Update Python version list
19751 Thanks to Dieter Verfaillie for pointing this out.
19753 m4/python.m4 | 3 +--
19754 1 file changed, 1 insertion(+), 2 deletions(-)
19756 commit a96a26234e2aaa157837d26094864e3ad9b63edf
19757 Author: Micah Carrick <micah@quixotix.com>
19758 Date: Mon Jun 25 09:05:59 2012 -0700
19760 Remove "label" property from Gtk.MenuItem if it is not set
19762 The Gtk.MenuItem will not render as a separator if the "label" or
19763 "user-underline" properties have been accessed. The constructor
19764 for Gtk.MenuItem override should not pass the "label" property
19765 as an argument if it is None since that will still result in an
19766 empty label widget which breaks Gtk.SeparatorMenuItem.
19768 https://bugzilla.gnome.org/show_bug.cgi?id=670575
19770 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19772 gi/overrides/Gtk.py | 5 ++++-
19773 1 file changed, 4 insertions(+), 1 deletion(-)
19775 commit afa12faf339efb4f7780168e884ecf49b630644a
19776 Author: Martin Pitt <martinpitt@gnome.org>
19777 Date: Mon Jun 25 16:36:31 2012 +0200
19779 configure.ac: Post-release bump to 3.3.4.
19781 configure.ac | 2 +-
19782 1 file changed, 1 insertion(+), 1 deletion(-)
19784 commit 198066effc0ca44ccb897e9f0738ab627e8b3275
19785 Author: Martin Pitt <martinpitt@gnome.org>
19786 Date: Mon Jun 25 16:35:49 2012 +0200
19791 configure.ac | 2 +-
19792 2 files changed, 4 insertions(+), 1 deletion(-)
19794 commit cb70ae0aa52ab7624b2b8c30297d8a52a7db7f44
19795 Author: Martin Pitt <martinpitt@gnome.org>
19796 Date: Mon Jun 25 16:32:45 2012 +0200
19798 Do not escape enum and flag names that are Python keywords
19800 These are translated to upper case, and thus can never be
19801 keywords. This broke
19802 existing API such as Gtk.ShadowType.IN.
19804 gi/module.py | 2 +-
19805 gi/pygi-info.c | 7 +++++++
19806 tests/test_gi.py | 3 +++
19807 3 files changed, 11 insertions(+), 1 deletion(-)
19809 commit f2524a982b0b8ba7cdbb77003372416af0b7a978
19810 Author: Martin Pitt <martinpitt@gnome.org>
19811 Date: Mon Jun 25 15:39:50 2012 +0200
19813 configure.ac: Post-release version bump to 3.3.4
19815 configure.ac | 2 +-
19816 1 file changed, 1 insertion(+), 1 deletion(-)
19818 commit fe56faa346c8e8f9fd5915602424778d458a776d
19819 Author: Martin Pitt <martinpitt@gnome.org>
19820 Date: Mon Jun 25 15:36:37 2012 +0200
19824 NEWS | 15 +++++++++++++++
19825 1 file changed, 15 insertions(+)
19827 commit 299a2fd726f0aceaf67b1cec7a0ef8b21ff7bcbc
19828 Author: Martin Pitt <martinpitt@gnome.org>
19829 Date: Mon Jun 25 15:35:19 2012 +0200
19831 Bring back ChangeLog make target
19833 This is being used by "make dist".
19835 Makefile.am | 15 +++++++++++++++
19836 1 file changed, 15 insertions(+)
19838 commit 760118e4ed73de2f022706ef897fcc848e90c005
19839 Author: Martin Pitt <martinpitt@gnome.org>
19840 Date: Mon Jun 25 15:31:14 2012 +0200
19842 Remove obsolete ChangeLog and release-tag make targets
19844 Makefile.am | 23 -----------------------
19845 1 file changed, 23 deletions(-)
19847 commit e92278692bb51679d6e957c2ac36db64498a7c73
19848 Author: Simon Schampijer <simon@schampijer.de>
19849 Date: Fri Jun 15 16:11:21 2012 +0200
19851 Do not do any python calls when GObjects are destroyed after the
19852 python interpreter has been finalized
19854 This happens when pygobject_data_free () function is called after
19856 interpreter shuts down, we can't do python calls after that.
19858 Benzea did the findings because of a bug in Sugar, and commented
19860 SugarLabs ticket: http://bugs.sugarlabs.org/ticket/3670
19862 https://bugzilla.gnome.org/show_bug.cgi?id=678046
19864 Signed-off-by: Benjamin Berg <benzea@sugarlabs.org>
19865 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
19867 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++-----
19868 1 file changed, 22 insertions(+), 5 deletions(-)
19870 commit de4aa426002eeb09a060f8fd70bd6cb25a17766a
19871 Author: Martin Pitt <martinpitt@gnome.org>
19872 Date: Mon Jun 25 15:06:47 2012 +0200
19874 Do not change constructor-only "type" Window property
19876 When reading a Gtk.Window subclass from a GtkBuilder object,
19878 properties are already set at __init__ time. Do not try to set it
19882 https://bugzilla.gnome.org/show_bug.cgi?id=678510
19884 gi/overrides/Gtk.py | 8 +++++++-
19885 tests/test_overrides.py | 36 ++++++++++++++++++++++++++++++++++++
19886 2 files changed, 43 insertions(+), 1 deletion(-)
19888 commit 16280d6985f2cf4db9cf062e857650e620fd9da8
19889 Author: Martin Pitt <martinpitt@gnome.org>
19890 Date: Mon Jun 25 09:40:38 2012 +0200
19892 Escape identifiers which are Python keywords
19894 Add a trailing underscore to identifiers which are Python keywords.
19896 We use a per-major-version static identifier list derived from
19898 instead of calling out to Python's keyword.iskeyword(). This is
19900 and also allows us to tweak the result. For example, Python 3 dropped
19902 as a keyword, but we still want to escape that to avoid breaking
19904 between different Python versions.
19906 Error out when building with a major Python version not covered yet,
19908 do not forget to update the list in the future.
19910 https://bugzilla.gnome.org/show_bug.cgi?id=676746
19912 gi/pygi-info.c | 38 +++++++++++++++++++++++++++++++++++++-
19913 tests/test_gi.py | 17 +++++++++++++++++
19914 2 files changed, 54 insertions(+), 1 deletion(-)
19916 commit 3864d7a3b7def035ee2daf22ba717371c8d261de
19917 Author: Martin Pitt <martinpitt@gnome.org>
19918 Date: Fri Jun 22 13:13:37 2012 +0200
19920 Ignore E123 in pep8 tests
19922 This is "closing bracket does not match indentation of opening
19924 but it really looks better to have the closing bracket on the
19926 of the opening bracket instead of the indentation level of the
19928 contains the opening bracket.
19930 tests/Makefile.am | 2 +-
19931 1 file changed, 1 insertion(+), 1 deletion(-)
19933 commit fb436dd6d3b40b3f2a8ba6f402e2987752ad1902
19934 Author: Martin Pitt <martinpitt@gnome.org>
19935 Date: Fri Jun 22 13:08:34 2012 +0200
19937 PEP8: Fix indentation
19939 Spotted by current pep8 checker.
19941 demos/gtk-demo/demos/Entry/entry_buffer.py | 6 +--
19942 demos/gtk-demo/demos/Entry/entry_completion.py | 6 +--
19943 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
19944 demos/gtk-demo/demos/appwindow.py | 2 +-
19945 demos/gtk-demo/demos/clipboard.py | 8 +--
19946 demos/gtk-demo/demos/colorselector.py | 6 +--
19947 demos/gtk-demo/demos/rotatedtext.py | 8 +--
19948 demos/gtk-demo/gtk-demo.py | 6 +--
19949 examples/option.py | 29 ++++++-----
19950 examples/signal.py | 3 +-
19951 gi/_glib/option.py | 6 +--
19952 gi/_gobject/propertyhelper.py | 18 +++----
19953 gi/module.py | 14 +++---
19954 gi/overrides/GLib.py | 2 +-
19955 gi/overrides/Gio.py | 11 +++--
19956 gi/overrides/Gtk.py | 16 +++---
19957 gi/pygtkcompat.py | 7 ++-
19958 gi/types.py | 17 ++++---
19959 tests/runtests.py | 2 +-
19960 tests/test_gdbus.py | 55 +++++++++++----------
19961 tests/test_gi.py | 15 +++---
19962 tests/test_gobject.py | 18 +++----
19963 tests/test_option.py | 26 +++++-----
19964 tests/test_overrides.py | 67
19965 +++++++++++++-------------
19966 tests/test_properties.py | 30 ++++++------
19967 tests/test_signal.py | 2 +-
19968 tests/test_uris.py | 9 ++--
19969 27 files changed, 200 insertions(+), 193 deletions(-)
19971 commit 129462ccc4a2191ecbb42247030c91bd0f1454f6
19972 Author: Martin Pitt <martinpitt@gnome.org>
19973 Date: Fri Jun 22 12:36:54 2012 +0200
19975 PEP8: Use isinstance() instead of direct type comparisons
19977 Spotted by current pep8 checker.
19979 gi/overrides/GLib.py | 2 +-
19980 gi/overrides/__init__.py | 2 +-
19981 2 files changed, 2 insertions(+), 2 deletions(-)
19983 commit 50e45a624e6301e65c150e137aad6d092f203f3f
19984 Author: Martin Pitt <martinpitt@gnome.org>
19985 Date: Fri Jun 22 12:30:10 2012 +0200
19987 PEP8: Fix continuation lines
19989 Spotted by current pep8 checker.
19991 demos/gtk-demo/demos/Entry/search_entry.py | 6 +++---
19992 gi/__init__.py | 6 +++---
19993 gi/_gobject/__init__.py | 6 ++----
19994 gi/module.py | 6 +++---
19995 tests/test_overrides.py | 11 +++--------
19996 5 files changed, 14 insertions(+), 21 deletions(-)
19998 commit ef06548b0dc6aee0e8ab208a78966dc1d5d917ee
19999 Author: Martin Pitt <martinpitt@gnome.org>
20000 Date: Fri Jun 22 12:24:32 2012 +0200
20002 PEP8: Consistent comparisons against True, False, and None
20004 Spotted by current pep8 checker.
20006 demos/gtk-demo/demos/clipboard.py | 4 ++--
20007 demos/gtk-demo/demos/drawingarea.py | 4 ++--
20008 demos/gtk-demo/gtk-demo.py | 8 ++++----
20009 gi/overrides/Gdk.py | 2 +-
20010 gi/overrides/Gtk.py | 2 +-
20011 tests/test_gi.py | 4 ++--
20012 tests/test_overrides.py | 3 +--
20013 7 files changed, 13 insertions(+), 14 deletions(-)
20015 commit 379c1474a071292a1e8da413af2f5438cff09fc8
20016 Author: Martin Pitt <martinpitt@gnome.org>
20017 Date: Wed Jun 20 12:23:12 2012 +0200
20019 Fix crash in GLib.find_program_in_path()
20021 We need to handle a NULL return value properly.
20023 https://bugzilla.gnome.org/show_bug.cgi?id=678119
20025 gi/_glib/glibmodule.c | 10 ++++++++--
20026 tests/Makefile.am | 1 +
20027 tests/test_glib.py | 15 +++++++++++++++
20028 3 files changed, 24 insertions(+), 2 deletions(-)
20030 commit 73531fd7820bd1922347bd856298d68205a27877
20031 Author: Martin Pitt <martinpitt@gnome.org>
20032 Date: Wed Jun 20 11:16:39 2012 +0200
20034 Revert "Do not bind gobject_get_data() and gobject_set_data()"
20036 We should have some deprecation period for this, so bring back
20038 methods and add deprecation warnings.
20040 This reverts commit 24cc09a7105299805fcc5bc151f53ac69958d728.
20042 https://bugzilla.gnome.org/show_bug.cgi?id=641944
20044 gi/_gobject/pygobject.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
20045 1 file changed, 44 insertions(+)
20047 commit a0daa843801658929ffee5bcb9eb67d955dc7921
20048 Author: David Keijser <keijser@gmail.com>
20049 Date: Mon Jun 18 15:09:34 2012 +0200
20051 GVariant: Raise proper TypeError on invalid tuple input
20053 https://bugzilla.gnome.org/show_bug.cgi?id=678317
20055 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20057 gi/overrides/GLib.py | 4 ++--
20058 tests/test_overrides.py | 1 +
20059 2 files changed, 3 insertions(+), 2 deletions(-)
20061 commit fb39ba934180e1e48fd15774e69d1cecf47a4c84
20062 Author: Martin Pitt <martinpitt@gnome.org>
20063 Date: Tue Jun 5 19:11:38 2012 +0200
20065 configure.ac: Post-release bump to 3.3.3
20067 configure.ac | 2 +-
20068 1 file changed, 1 insertion(+), 1 deletion(-)
20070 commit 7f0995e7fa865ebde7490d0570a7135a2f962cdf
20071 Author: Martin Pitt <martinpitt@gnome.org>
20072 Date: Tue Jun 5 19:09:12 2012 +0200
20076 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++
20077 1 file changed, 44 insertions(+)
20079 commit 8209c1ae1632c77768699481e574d5d378956e71
20080 Author: Martin Pitt <martinpitt@gnome.org>
20081 Date: Tue Jun 5 19:04:49 2012 +0200
20083 Fix "release-news" make target
20085 Actually list changes since the previous release, not since 3.1.92.
20088 1 file changed, 1 insertion(+), 1 deletion(-)
20090 commit b21f66d2a399b8c9a36a1758107b7bdff0ec8eaa
20091 Author: Bastian Winkler <buz@netbuz.org>
20092 Date: Wed May 9 19:04:01 2012 +0200
20094 foreign: Register cairo.Path and cairo.FontOptions foreign structs
20096 They are rarely used, but they are used at least by Gdk, PangoCairo
20100 clutter.Path is not used by any API that the test suite uses, so
20102 without a test for now.
20104 https://bugzilla.gnome.org/show_bug.cgi?id=677388
20106 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20108 gi/pygi-foreign-cairo.c | 85
20109 ++++++++++++++++++++++++++++++++++++++++++++++++
20110 tests/test_everything.py | 8 +++++
20111 2 files changed, 93 insertions(+)
20113 commit 635a7d1b48d99ddd1ea123797c493b18b0cdfd45
20114 Author: Marien Zwart <marien.zwart@gmail.com>
20115 Date: Wed May 23 01:51:46 2012 +0200
20117 Check types in GBoxed assignments
20119 Check if the Python value is GBoxed instead of assuming it is.
20120 Without this, the following segfaults:
20122 from gi.repository import Soup
20124 msg = Soup.Message()
20125 msg.props.uri = 'http://www.gnome.org'
20127 as we assume the new property is a GBoxed while it is actually a
20130 https://bugzilla.gnome.org/show_bug.cgi?id=676603
20132 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
20133 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20135 gi/pygi-argument.c | 10 +++++++---
20136 tests/test_gi.py | 19 +++++++++++++++++++
20137 2 files changed, 26 insertions(+), 3 deletions(-)
20139 commit 2305dcd7e8841f87dc2fc683390df78453a5dc2a
20140 Author: Bastian Winkler <buz@netbuz.org>
20141 Date: Sat May 12 14:08:51 2012 +0200
20143 [API add] Gtk overrides: Add TreeModelRow.get_previous()
20145 TreeModelRow has get_next() and a next property, it should also have
20146 get_previous() and previous.
20148 https://bugzilla.gnome.org/show_bug.cgi?id=677389
20150 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20152 gi/overrides/Gtk.py | 9 +++++++++
20153 1 file changed, 9 insertions(+)
20155 commit 5501fba534696974899f2591929bff9e1b6ecd65
20156 Author: Bastian Winkler <buz@netbuz.org>
20157 Date: Sat May 12 13:50:02 2012 +0200
20159 [API add] Add missing GObject.TYPE_VARIANT
20161 Add TYPE_VARIANT to constants to make it accessible as
20162 GObject.TYPE_VARIANT.
20164 https://bugzilla.gnome.org/show_bug.cgi?id=677387
20166 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20168 gi/_gobject/__init__.py | 1 +
20169 gi/_gobject/constants.py | 1 +
20170 2 files changed, 2 insertions(+)
20172 commit 4c51a5411092f8ab6f8f6e9692a9b49692f621a7
20173 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20174 Date: Fri Jun 1 02:53:13 2012 -0400
20176 Fix boxed type equality
20178 Each boxed type has its own Python type, not PyGBoxed_Type. Use
20179 PyObject_IsInstance instead of comparing against PyGBoxed_Type
20182 https://bugzilla.gnome.org/show_bug.cgi?id=677249
20184 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20186 gi/_gobject/pygboxed.c | 3 ++-
20187 tests/test_everything.py | 8 ++++++++
20188 2 files changed, 10 insertions(+), 1 deletion(-)
20190 commit dc8eef26906753fcb3ce057b23ca110137897fa5
20191 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20192 Date: Fri Jun 1 13:43:38 2012 +0200
20194 Fix TestProperties.testBoxed test
20196 A typo was preventing the test from being run.
20198 https://bugzilla.gnome.org/show_bug.cgi?id=676644
20200 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20202 tests/test_properties.py | 4 ++--
20203 1 file changed, 2 insertions(+), 2 deletions(-)
20205 commit 853e6a71234ebd66af5a64dfb296e323c2c905a6
20206 Author: Carlos Garnacho <carlos@lanedo.com>
20207 Date: Thu May 17 17:09:15 2012 +0200
20209 Fix handling of by-reference structs as out parameters
20211 When marshalling back from python, copy the result of by-reference
20212 structs into the memory expected by the native caller, instead of
20213 attempting to handle it as a pointer.
20215 https://bugzilla.gnome.org/show_bug.cgi?id=653151
20217 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20219 gi/pygi-closure.c | 17 +++++++++++++++++
20220 tests/test_gi.py | 5 +++++
20221 2 files changed, 22 insertions(+)
20223 commit bac9d526f6a9774821d1c9c0e7b35cc6db942975
20224 Author: Martin Pitt <martinpitt@gnome.org>
20225 Date: Fri Jun 1 12:28:53 2012 +0200
20227 tests: Add more vfunc checks for GIMarshallingTestsObject
20229 tests/test_gi.py | 25 +++++++++++++++++++++++++
20230 1 file changed, 25 insertions(+)
20232 commit e1aaf4a48453be0e69e7f3a70a2e7a790871a4d2
20233 Author: Martin Pitt <martinpitt@gnome.org>
20234 Date: Fri Jun 1 12:02:55 2012 +0200
20236 Test caller-allocated GValue out parameter
20238 This came up as a side issue in
20239 https://bugzilla.gnome.org/show_bug.cgi?id=653151
20241 tests/test_gi.py | 3 +++
20242 1 file changed, 3 insertions(+)
20244 commit edc17e703e1a05e20545d3df9167ceb076450443
20245 Author: Bastian Winkler <buz@netbuz.org>
20246 Date: Wed May 16 11:13:05 2012 +0200
20248 GObject.bind_property: Support transform functions
20250 Add support for optional transformation functions to
20251 pygobject_bind_property(). It uses a custom PyGClosure to marshal the
20252 return value correctly.
20254 https://bugzilla.gnome.org/show_bug.cgi?id=676169
20256 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20258 gi/_gobject/pygobject.c | 130
20259 +++++++++++++++++++++++++++++++++++++++++++++---
20260 tests/test_gobject.py | 59 ++++++++++++++++++++++
20261 2 files changed, 181 insertions(+), 8 deletions(-)
20263 commit 07a08b49aae83a297e2f91240448314e4663f724
20264 Author: Carlos Garnacho <carlos@lanedo.com>
20265 Date: Mon May 14 15:31:14 2012 +0200
20267 Fix lookup of vfuncs in parent classes
20269 https://bugzilla.gnome.org/show_bug.cgi?id=672864.
20271 As subclasses implemented in python override the attribute for the
20272 vfunc, __mro__ has to be used so subclasses of the subclass overriding
20273 methods may find the corresponding VFuncInfo.
20275 Co-Authored-by: Martin Pitt <martinpitt@gnome.org>
20277 gi/types.py | 6 +++---
20278 tests/test_gi.py | 27 +++++++++++++++++++++++++++
20279 2 files changed, 30 insertions(+), 3 deletions(-)
20281 commit b965ee15bac6cd28d16d32205d96d2b1bdd3f0e1
20282 Author: Martin Pitt <martinpitt@gnome.org>
20283 Date: Fri Jun 1 08:18:40 2012 +0200
20285 tests/test_properties.py: Fix whitespace
20287 The pep8 check failed on this.
20289 tests/test_properties.py | 2 +-
20290 1 file changed, 1 insertion(+), 1 deletion(-)
20292 commit 274d60a7c08d74a299f4b83d8054c00eadb4bdbd
20293 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20294 Date: Wed May 30 16:45:53 2012 -0400
20296 gi: Support zero-terminated arrays with length arguments
20298 Sometimes, you may see (array zero-terminated=1 length=length)
20300 Don't expose the length argument to the user in this case.
20302 https://bugzilla.gnome.org/show_bug.cgi?id=677124
20304 gi/pygi-cache.c | 13 ++++---------
20305 tests/test_gi.py | 3 +++
20306 2 files changed, 7 insertions(+), 9 deletions(-)
20308 commit 62c2e962a225ec2527aa3d7406aa0dae232a0886
20309 Author: Jasper St. Pierre <jstpierre@mecheye.net>
20310 Date: Fri May 25 17:09:55 2012 -0400
20314 libregress now needs cairo-gobject
20316 configure.ac | 2 +-
20317 1 file changed, 1 insertion(+), 1 deletion(-)
20319 commit 9477f0f2f17a6d9b97e5ee08378bc009b8d4c30a
20320 Author: Martin Pitt <martinpitt@gnome.org>
20321 Date: Mon May 14 15:48:34 2012 +0200
20323 Fix comment in previous commit
20325 tests/test_gobject.py | 2 +-
20326 1 file changed, 1 insertion(+), 1 deletion(-)
20328 commit 6610428394d0c65987de5021bf2c38641cdb7116
20329 Author: Simon Feltman <s.feltman@gmail.com>
20330 Date: Tue May 8 20:04:09 2012 -0700
20332 [API add] Add GObject.bind_property method
20334 This adds the "bind_property" method for binding two gobject
20336 together. The method returns a weak reference to a GBinding object.
20337 The BindingWeakRef object is used to manage GBinding objects within
20339 created through GObject.bind_property. It is a sub-class
20340 PyGObjectWeakRef so
20341 that we can maintain the same reference counting semantics between
20343 and GObject Binding objects. This gives explicit direct control of the
20344 binding lifetime by using the "unbind" method on the BindingWeakRef
20346 along with implicit management based on the lifetime of the source or
20349 Note this does not yet include support for converter closures. This
20351 later after the initial implementation is accepted.
20353 https://bugzilla.gnome.org/show_bug.cgi?id=675582
20355 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20357 gi/_gobject/pygobject.c | 104
20358 +++++++++++++++++++++++++++++++++++++++++++++++-
20359 tests/test_gobject.py | 90 +++++++++++++++++++++++++++++++++++++++++
20360 2 files changed, 193 insertions(+), 1 deletion(-)
20362 commit 88babe7377402f6e6f912a8b83615aab848eae81
20363 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20364 Date: Fri May 11 19:08:47 2012 -0300
20366 pygtkcompat: Correctly set flags
20368 https://bugzilla.gnome.org/show_bug.cgi?id=675911
20370 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20372 gi/pygtkcompat.py | 5 ++---
20373 tests/test_pygtkcompat.py | 1 +
20374 2 files changed, 3 insertions(+), 3 deletions(-)
20376 commit 3f712b56397296bca2f5358cd52977b1a2011964
20377 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20378 Date: Fri May 11 12:39:05 2012 -0300
20380 Gtk overrides: Implement __delitem__ on TreeModel
20382 https://bugzilla.gnome.org/show_bug.cgi?id=675892
20384 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20386 gi/overrides/Gtk.py | 16 ++++++++++++----
20387 tests/test_overrides.py | 9 +++++++++
20388 2 files changed, 21 insertions(+), 4 deletions(-)
20390 commit 9a1a07742ec0b1821d469603f9996a2b7d832f40
20391 Author: Simon Feltman <s.feltman@gmail.com>
20392 Date: Sun May 6 18:10:39 2012 -0700
20394 Gdk Color override should support red/green/blue_float properties
20396 Added red_float, green_float, and blue_float properties to Color.
20397 Also added Color.from_floats, RGBA.to_color, and RGBA.from_color.
20399 https://bugzilla.gnome.org/show_bug.cgi?id=675579
20401 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20403 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
20404 tests/Makefile.am | 2 +-
20405 tests/test_overrides.py | 17 +++++++++++++++++
20406 3 files changed, 62 insertions(+), 1 deletion(-)
20408 commit d9608c332d9592f03545b110cfac8105453ea035
20409 Author: Martin Pitt <martinpitt@gnome.org>
20410 Date: Sat May 5 12:42:42 2012 -0700
20412 Support marshalling of GVariants for closures
20414 Add GVariant handling to pyg_value_{as,from}_pyobject(), so that
20416 be called with GVariant arguments and return GVariant.
20418 Unmark the corresponding test case as "expected failure", and also
20420 for None values and type mismatches.
20422 https://bugzilla.gnome.org/show_bug.cgi?id=656554
20424 gi/_gobject/pygtype.c | 47
20425 +++++++++++++++++++++++++++++++++++++++++++++--
20426 tests/test_everything.py | 16 ++++++++++++----
20427 2 files changed, 57 insertions(+), 6 deletions(-)
20429 commit e7a909c16dc1c625ab11e270f23d540f15c71767
20430 Author: Johan Dahlin <johan@gnome.org>
20431 Date: Mon May 7 10:33:40 2012 -0300
20433 Require gobject-introspection 1.33.0
20435 configure.ac | 2 +-
20436 1 file changed, 1 insertion(+), 1 deletion(-)
20438 commit 9e8239684433631e0d1650d25416e4d7bf92a058
20439 Author: Martin Pitt <martinpitt@gnome.org>
20440 Date: Sun May 6 18:28:23 2012 -0700
20442 NEWS: Add API additions since 3.2.0
20445 1 file changed, 4 insertions(+), 3 deletions(-)
20447 commit d1a2bf51eb25b54028fbf496d20dfad9546bcb5e
20448 Author: Martin Pitt <martinpitt@gnome.org>
20449 Date: Sun May 6 18:25:23 2012 -0700
20451 NEWS: Mark API changes since 3.2.0
20454 1 file changed, 3 insertions(+), 3 deletions(-)
20456 commit a3329539291bd8ea9aa6cb184a05ea7c21f8885a
20457 Author: Martin Pitt <martinpitt@gnome.org>
20458 Date: Sun May 6 18:19:35 2012 -0700
20460 Fix commit 168a087 for Python 3
20462 Simplify the type check and use the already existing one. Fix the
20464 to work with both Python 2 and 3.
20466 gi/pygi-argument.c | 42 +++++++++---------------------------------
20467 1 file changed, 9 insertions(+), 33 deletions(-)
20469 commit 42c717ed77613e02f3c8ef2685bc071462b87d73
20470 Author: Martin Pitt <martinpitt@gnome.org>
20471 Date: Sun May 6 18:08:57 2012 -0700
20473 pygtkcompat.py: Typo fix
20475 Was missing a space around operator, causing the PEP8 check to fail.
20477 gi/pygtkcompat.py | 2 +-
20478 1 file changed, 1 insertion(+), 1 deletion(-)
20480 commit 168a08753cec1ff77ccca5d81b9a5fd2af5d3720
20481 Author: Martin Pitt <martinpitt@gnome.org>
20482 Date: Sun May 6 18:02:04 2012 -0700
20484 _pygi_argument_from_object(): Check for compatible data type
20486 Verify that the passed PyObject actually matches the expected type
20488 argument. With this, trying to assign a wrong type to a property
20490 a proper TypeError.
20492 gi/pygi-argument.c | 39 +++++++++++++++++++++++++++++++++++++++
20493 gi/pygi-property.c | 3 +++
20494 tests/test_gi.py | 40 ++++++++++++++++++++++++++++++++++++++++
20495 3 files changed, 82 insertions(+)
20497 commit 5948b62ba3e08ea943e6965ee38c94c363186226
20498 Author: Martin Pitt <martinpitt@gnome.org>
20499 Date: Sun May 6 17:59:57 2012 -0700
20501 pygtkcompat: Fix color conversion
20503 gtk_style_context_get_background_color() returns a GdkRGBA value,
20505 float values between 0 and 1. However, we construct a GdkColor
20507 that, so we need to scale to 0..65535 and round to int.
20509 gi/pygtkcompat.py | 6 +++---
20510 1 file changed, 3 insertions(+), 3 deletions(-)
20512 commit 6af74c501bc604559f8b5b4e0d856d022ed882bb
20513 Author: Martin Pitt <martinpitt@gnome.org>
20514 Date: Sun May 6 06:02:31 2012 -0700
20516 test_gi: Check setting properties in constructor
20518 tests/test_gi.py | 33 +++++++++++++++++++++++++++++++++
20519 1 file changed, 33 insertions(+)
20521 commit 9f50fd214e4214f83959b2883a0c667f7f157c97
20522 Author: Martin Pitt <martinpitt@gnome.org>
20523 Date: Sun May 6 05:50:00 2012 -0700
20525 Support getting and setting GStrv properties
20527 gi/pygi-property.c | 36 ++++++++++++++++++++++++++++++++++++
20528 tests/test_gi.py | 11 +++++++++++
20529 2 files changed, 47 insertions(+)
20531 commit 8321af2c7df499291e664c676376f149a0c3dcac
20532 Author: Martin Pitt <martinpitt@gnome.org>
20533 Date: Sat May 5 13:58:29 2012 -0700
20535 Support defining GStrv properties from Python
20537 gi/_gobject/propertyhelper.py | 10 ++++++--
20538 tests/test_properties.py | 58
20539 +++++++++++++++++++++++++++++++++++++++++--
20540 2 files changed, 64 insertions(+), 4 deletions(-)
20542 commit f2494526e1c579c41babfe7ff67deef0f6966adf
20543 Author: Martin Pitt <martinpitt@gnome.org>
20544 Date: Sat May 5 13:21:20 2012 -0700
20546 Add GObject.TYPE_STRV constant
20548 gi/_gobject/__init__.py | 1 +
20549 gi/_gobject/constants.py | 1 +
20550 tests/test_everything.py | 2 +-
20551 tests/test_signal.py | 2 +-
20552 4 files changed, 4 insertions(+), 2 deletions(-)
20554 commit 8c7306e4d6355ca45f8f1b4adf7d0595b4e8bcf8
20555 Author: Martin Pitt <martinpitt@gnome.org>
20556 Date: Sat May 5 09:28:36 2012 +0200
20558 Unref GVariants when destroying the wrapper
20560 https://bugzilla.gnome.org/show_bug.cgi?id=675472
20562 gi/overrides/GLib.py | 3 +++
20563 1 file changed, 3 insertions(+)
20565 commit d6c091d87c86c8ccc7cb54347fbceccedac61633
20566 Author: Martin Pitt <martinpitt@gnome.org>
20567 Date: Sat May 5 09:23:55 2012 +0200
20569 Fix TestArrayGVariant test cases
20571 test_array_gvariant_container_in() and test_array_gvariant_full_in()
20573 GIMarshallingTests.array_gvariant_none_in(), presumably a copy&paste
20575 Actually do what they mean to do now and call the corresponding
20576 GIMarshallingTests methods.
20578 tests/test_gi.py | 4 ++--
20579 1 file changed, 2 insertions(+), 2 deletions(-)
20581 commit fda8a069d503e63c76a6b1ba285a181822549059
20582 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20583 Date: Sat May 5 08:52:41 2012 +0200
20585 pygtkcompat: Add gdk.pixbuf_get_formats compat code
20587 https://bugzilla.gnome.org/show_bug.cgi?id=675489
20589 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20591 gi/pygtkcompat.py | 20 ++++++++++++++++++++
20592 tests/test_pygtkcompat.py | 8 ++++++++
20593 2 files changed, 28 insertions(+)
20595 commit 2b49c5f58bb841de7a9077eeeaf996eb9851dab3
20596 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20597 Date: Mon Apr 30 13:44:19 2012 -0300
20599 pygtkcompat: Add some more compat functions
20601 https://bugzilla.gnome.org/show_bug.cgi?id=675489
20603 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20605 gi/pygtkcompat.py | 14 ++++++++++++++
20606 1 file changed, 14 insertions(+)
20608 commit 16fbb17a9fd17eeb9f886af99e89a214d328dae1
20609 Author: Martin Pitt <martinpitt@gnome.org>
20610 Date: Thu May 3 12:25:04 2012 +0200
20612 Fix tests for Python 3
20614 cmp() does not exist any more in Python 3, replace with comparison
20617 GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array,
20619 can't pass a str (which is an Unicode object in Python 3). Pass a
20623 tests/test_gi.py | 2 +-
20624 tests/test_overrides.py | 2 +-
20625 2 files changed, 2 insertions(+), 2 deletions(-)
20627 commit fd7f8eefbe8aba0b29d80e3eb9d985d33a268c8a
20628 Author: Martin Pitt <martinpitt@gnome.org>
20629 Date: Thu May 3 09:38:56 2012 +0200
20631 Fix building with --disable-cairo
20633 Build gobject-introspection's regress.c against cairo, not
20634 pycairo/py3cairo. We
20635 always need cairo to build, so unconditionally check for this in
20638 In test_everything.py, gracefully handle the absence of the "cairo"
20640 module, which we do not have when building without cairo support.
20642 configure.ac | 3 +++
20643 tests/Makefile.am | 4 ++--
20644 tests/test_everything.py | 8 +++++++-
20645 3 files changed, 12 insertions(+), 3 deletions(-)
20647 commit 1c5634e6d98c8b67b37a2747951c66f5d8f1907d
20648 Author: Martin Pitt <martinpitt@gnome.org>
20649 Date: Thu May 3 09:28:51 2012 +0200
20651 tests: Fix deprecated assertions
20653 assertAlmostEquals → assertAlmostEqual
20654 assertNotEquals → assertNotEqual
20656 tests/test_everything.py | 4 ++--
20657 tests/test_gi.py | 12 ++++++------
20658 tests/test_overrides.py | 10 +++++-----
20659 3 files changed, 13 insertions(+), 13 deletions(-)
20661 commit 07f312e66c07357168098d3f96813d2c997e8dc7
20662 Author: Martin Pitt <martinpitt@gnome.org>
20663 Date: Wed May 2 12:08:19 2012 +0200
20665 Run tests with MALLOC_PERTURB_
20667 We mostly use the glib allocation functions, but this might
20668 help to uncover access to already freed or uninitialized memory in
20672 tests/Makefile.am | 1 +
20673 1 file changed, 1 insertion(+)
20675 commit b0740d386c2cbbd153878209b584b568968e4d98
20676 Author: Martin Pitt <martinpitt@gnome.org>
20677 Date: Mon Apr 30 16:26:57 2012 +0200
20679 configure.ac: Post-release bump to 3.3.2
20681 configure.ac | 2 +-
20682 1 file changed, 1 insertion(+), 1 deletion(-)
20684 commit d3977266faadacd3d05705497c1cf51a01a6606f
20685 Author: Martin Pitt <martinpitt@gnome.org>
20686 Date: Mon Apr 30 16:08:09 2012 +0200
20691 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20692 1 file changed, 66 insertions(+)
20694 commit a8e222f04aac3bcf7e4421c4da8d080eeb8b5f56
20695 Author: Giovanni Campagna <gcampagna@src.gnome.org>
20696 Date: Sun Apr 29 23:55:15 2012 +0200
20698 GSettings: allow extra keyword arguments
20700 All GObject constructors are expected to accept any construct
20701 property as keyword argument, and overrides should respect that.
20702 In particular, not doing this for GSettings prevents using a custom
20705 https://bugzilla.gnome.org/show_bug.cgi?id=675105
20707 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20709 gi/overrides/Gio.py | 4 ++--
20710 1 file changed, 2 insertions(+), 2 deletions(-)
20712 commit 592c67482c254f65817c1a1b5c5de5dfcaab31b4
20713 Author: Jose Rostagno <joserostagno@vijona.com.ar>
20714 Date: Sun Apr 29 12:56:50 2012 -0300
20716 pygtkcompat: Correct Userlist module use
20718 https://bugzilla.gnome.org/show_bug.cgi?id=675084
20720 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20722 gi/pygtkcompat.py | 2 +-
20723 tests/test_pygtkcompat.py | 4 ++++
20724 2 files changed, 5 insertions(+), 1 deletion(-)
20726 commit 3551462a429ef30274fa01fc8111da5025f9c342
20727 Author: Martin Pitt <martinpitt@gnome.org>
20728 Date: Sun Apr 29 20:17:47 2012 +0200
20730 Add release-news make rule
20732 This produces a commit log since the previous release in our
20734 format. This does not currently wrap long lines automatically, though.
20736 Do include bug numbers from now on, as they are very useful.
20738 Makefile.am | 12 ++++++++++--
20739 1 file changed, 10 insertions(+), 2 deletions(-)
20741 commit fe79ef612a7853f024b73c7997b8ec89015ae94c
20742 Author: Martin Pitt <martinpitt@gnome.org>
20743 Date: Wed Apr 25 13:07:59 2012 +0200
20745 Add "make check.nemiver" target
20747 Similar to "check.gdb", but invokes nemiver.
20749 Makefile.am | 3 +++
20750 tests/Makefile.am | 3 +++
20751 2 files changed, 6 insertions(+)
20753 commit 3090cc70a7ce8df38dd6cf6c17350417a7367c0b
20754 Author: Martin Pitt <martinpitt@gnome.org>
20755 Date: Tue Apr 24 13:24:00 2012 +0200
20757 Test flags and enums in GHash values
20759 https://bugzilla.gnome.org/show_bug.cgi?id=637466
20761 tests/test_everything.py | 18 ++++++++++++------
20762 1 file changed, 12 insertions(+), 6 deletions(-)
20764 commit 88d189ec3e3d900a96496a50c1d6e76615b19558
20765 Author: Martin Pitt <martinpitt@gnome.org>
20766 Date: Tue Apr 24 13:03:36 2012 +0200
20768 tests: Activate test_hash_in and apply workaround
20770 Work around pygobject's current inability to produce a GStrv object
20772 string array by explicitly producing a GStrV object, and reactivate
20775 https://bugzilla.gnome.org/show_bug.cgi?id=666636
20777 tests/test_everything.py | 24 +++++++++++++-----------
20778 1 file changed, 13 insertions(+), 11 deletions(-)
20780 commit 8ee21619b3cfc179cf114813478470d9aa3f6fb8
20781 Author: Martin Pitt <martinpitt@gnome.org>
20782 Date: Mon Apr 23 12:33:09 2012 +0200
20784 Add special case for Gdk.Atom array entries from Python
20786 Gdk.Atom pretends to be a struct pointer, but is really just an
20788 into a pointer. So we must not dereference it directly, nor free
20790 instead just copy the pointer value.
20792 Also add a few other test cases for "single Atom return", "single
20794 in", and Atom GList return", which already work fine.
20796 https://bugzilla.gnome.org/show_bug.cgi?id=661709
20798 gi/pygi-marshal-from-py.c | 18 ++++++++++++++----
20799 tests/Makefile.am | 1 +
20800 tests/test_atoms.py | 41 +++++++++++++++++++++++++++++++++++++++++
20801 3 files changed, 56 insertions(+), 4 deletions(-)
20803 commit b9f24b4fbc2ca9f9b94b86f029c59b2fc3e8590f
20804 Author: Martin Pitt <martinpitt@gnome.org>
20805 Date: Mon Apr 23 20:09:43 2012 +0200
20807 test_gdbus: Call GetConnectionUnixProcessID() with correct signature
20809 https://bugzilla.gnome.org/show_bug.cgi?id=667954
20811 tests/test_gdbus.py | 2 +-
20812 1 file changed, 1 insertion(+), 1 deletion(-)
20814 commit 3ae38d7519524288a57e5d522954b9d6725f0185
20815 Author: Martin Pitt <martinpitt@gnome.org>
20816 Date: Mon Apr 23 18:47:34 2012 +0200
20818 Add test case for Gtk.ListStore custom sort
20820 This works in Python 2, but crashes in Python 3, another case of
20822 we get when C calls a Python callback in Python 3.
20824 https://bugzilla.gnome.org/show_bug.cgi?id=674475
20826 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
20827 1 file changed, 31 insertions(+)
20829 commit c12b10ca0feaaf61f23354c7b6631a9ef3635c36
20830 Author: Martin Pitt <martinpitt@gnome.org>
20831 Date: Mon Apr 23 17:40:23 2012 +0200
20833 GTK overrides: Add missing keyword arguments
20835 Add missing **kwargs to overridden __init__() constructors, to
20837 arbitrary widget properties.
20839 https://bugzilla.gnome.org/show_bug.cgi?id=660018
20841 gi/overrides/Gtk.py | 34 ++++++++++++++++++----------------
20842 tests/test_overrides.py | 6 ++++++
20843 2 files changed, 24 insertions(+), 16 deletions(-)
20845 commit d37680bb9390426f7f58ea3d352c3e5e2106e978
20846 Author: Martin Pitt <martinpitt@gnome.org>
20847 Date: Mon Apr 23 15:24:04 2012 +0200
20849 Add missing override for TreeModel.iter_previous()
20851 This should behave like the override for TreeModel.iter_next().
20853 https://bugzilla.gnome.org/show_bug.cgi?id=660018
20855 gi/overrides/Gtk.py | 6 ++++++
20856 tests/test_overrides.py | 4 ++++
20857 2 files changed, 10 insertions(+)
20859 commit e03284f852f0e404cc91374f3e2e42b0ac1977b4
20860 Author: Martin Pitt <martinpitt@gnome.org>
20861 Date: Sun Apr 22 16:45:06 2012 +0200
20863 pygi-convert.py: Drop obsolete drag method conversions
20865 Drop conversion of drag_source_unset() and drag_dest_{,un}set(). These
20867 fixed a while ago to be proper Widget methods again.
20869 https://bugzilla.gnome.org/show_bug.cgi?id=652860
20871 pygi-convert.sh | 3 ---
20872 1 file changed, 3 deletions(-)
20874 commit f82eca6006dec21624796074af8ffe9b2256f7a4
20875 Author: Martin Pitt <martinpitt@gnome.org>
20876 Date: Sat Apr 21 14:00:50 2012 +0200
20878 tests: Replace deprecated assertEquals() with assertEqual()
20880 tests/test_everything.py | 144 ++++++-------
20881 tests/test_gi.py | 502
20882 +++++++++++++++++++++++-----------------------
20883 tests/test_gobject.py | 58 +++---
20884 tests/test_option.py | 6 +-
20885 tests/test_overrides.py | 352 ++++++++++++++++----------------
20886 tests/test_properties.py | 18 +-
20887 tests/test_pygtkcompat.py | 42 ++--
20888 7 files changed, 561 insertions(+), 561 deletions(-)
20890 commit ddb0bf01e694585d58af52673a21796e7c9578ea
20891 Author: Paolo Borelli <pborelli@gnome.org>
20892 Date: Sat Apr 21 12:02:54 2012 +0200
20894 Plug tiny leak in constant_info_get_value
20896 Fixes https://bugzilla.gnome.org/show_bug.cgi?id=642754
20898 gi/pygi-info.c | 1 +
20899 1 file changed, 1 insertion(+)
20901 commit 9c48a561c5ee010410df7d6e430353b41d5fbd88
20902 Author: Bastian Winkler <buz@netbuz.org>
20903 Date: Thu Apr 12 20:30:05 2012 +0200
20905 Fix len_arg_index for array arguments
20907 Don't set len_arg_index for arrays without the length annotation
20909 This fixes methods like Clutter.Texture.set_from_rgb_data() and
20910 Clutter.Image.set_data()
20912 https://bugzilla.gnome.org/show_bug.cgi?id=674271
20914 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20916 gi/pygi-cache.c | 4 +++-
20917 gi/pygi-marshal-cleanup.c | 4 ++--
20918 tests/test_gi.py | 3 +++
20919 3 files changed, 8 insertions(+), 3 deletions(-)
20921 commit 71246ca0568bf3e9b81e88dd13b6d29e9417e313
20922 Author: Martin Pitt <martinpitt@gnome.org>
20923 Date: Thu Apr 19 13:11:56 2012 +0200
20925 Support defining GType properties from Python
20927 Commit 84e3471 fixed the handling of GType properties for properties
20929 defined in the C library already. Add the missing support for
20931 properties in Python as well.
20933 https://bugzilla.gnome.org/show_bug.cgi?id=674351
20935 gi/_gobject/gobjectmodule.c | 5 ++++-
20936 gi/_gobject/propertyhelper.py | 9 ++++++---
20937 tests/test_properties.py | 42
20938 +++++++++++++++++++++++++++++++++++++++---
20939 3 files changed, 49 insertions(+), 7 deletions(-)
20941 commit 2158ecd05a2770d6538bae67d01d1f718855a7d4
20942 Author: Martin Pitt <martinpitt@gnome.org>
20943 Date: Thu Apr 19 16:12:29 2012 +0200
20945 Fix typo in previous commit
20947 In the test case, actually assign the newly created object, so that
20949 properties of the right object.
20951 tests/test_everything.py | 2 +-
20952 1 file changed, 1 insertion(+), 1 deletion(-)
20954 commit 84e3471ba4595534cbe6875f1c8b77776e1d1814
20955 Author: Bastian Winkler <buz@netbuz.org>
20956 Date: Wed Apr 18 21:44:08 2012 +0200
20958 Handle GType properties correctly
20960 Fix conversion from/to properties of type G_TYPE_GTYPE
20962 https://bugzilla.gnome.org/show_bug.cgi?id=674351
20964 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
20966 gi/_gobject/pygtype.c | 9 +++++++--
20967 tests/test_everything.py | 15 +++++++++++++++
20968 2 files changed, 22 insertions(+), 2 deletions(-)
20970 commit d1362451e070e156d2f49c9cde930cc38befb12b
20971 Author: Martin Pitt <martinpitt@gnome.org>
20972 Date: Thu Apr 19 07:27:10 2012 +0200
20974 Add missing GObject.TYPE_GTYPE
20976 gi/_gobject/__init__.py | 1 +
20977 gi/_gobject/constants.py | 1 +
20978 2 files changed, 2 insertions(+)
20980 commit d3225f1540e09719caa73e52d402e946da3add24
20981 Author: Martin Pitt <martinpitt@gnome.org>
20982 Date: Tue Apr 10 12:44:00 2012 +0200
20984 Fix test_mainloop.py for Python 3
20986 tests/test_mainloop.py | 9 +++++++--
20987 1 file changed, 7 insertions(+), 2 deletions(-)
20989 commit 903283119896f3e054694484da4147788b02ce60
20990 Author: Martin Pitt <martinpitt@gnome.org>
20991 Date: Mon Apr 9 15:20:39 2012 +0200
20993 Make callback exception propagation test stricter
20995 Propagating Python exceptions from callbacks through the C context
20997 original caller does not currently happen, is nontrivial/unsafe
20999 and not desirable at this point any more as by now we have established
21001 current behaviour. So remove the catching of ZeroDivisionError in
21004 https://bugzilla.gnome.org/show_bug.cgi?id=616279
21006 tests/test_everything.py | 16 ++++++++--------
21007 1 file changed, 8 insertions(+), 8 deletions(-)
21009 commit 0fd900d351c8d7d57dc6a1b049ee05f342f6ab1d
21010 Author: Simon Feltman <s.feltman@gmail.com>
21011 Date: Sun Mar 18 15:59:58 2012 -0700
21013 Add context management to freeze_notify() and handler_block().
21015 These methods now return a context manager object. Within the
21017 thaw_notify() and handler_unblock() are called respectively. This
21019 statements like the following:
21021 with obj.freeze_notify():
21022 obj.props.width = 100
21023 obj.props.height = 100
21024 obj.props.opacity = 0.5
21026 This does not affect standard usage of these methods.
21028 https://bugzilla.gnome.org/show_bug.cgi?id=672324
21030 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21032 gi/_gobject/pygobject.c | 138 +++++++++++++++++++++++++++++++++++++++---
21033 tests/test_gobject.py | 158
21034 ++++++++++++++++++++++++++++++++++++++++++++++++
21035 2 files changed, 288 insertions(+), 8 deletions(-)
21037 commit c0922589964c1d8bffe5a56d2f56df96eedfac10
21038 Author: Martin Pitt <martinpitt@gnome.org>
21039 Date: Wed Apr 4 19:08:54 2012 +0200
21041 Add support for GFlags properties
21043 https://bugzilla.gnome.org/show_bug.cgi?id=620943
21045 gi/_gobject/propertyhelper.py | 9 +++++++--
21046 tests/test_properties.py | 28 +++++++++++++++++++++++++++-
21047 2 files changed, 34 insertions(+), 3 deletions(-)
21049 commit d4054be9de3b7e4ed64c8172ebbde0a697462c79
21050 Author: Martin Pitt <martinpitt@gnome.org>
21051 Date: Wed Apr 4 17:54:52 2012 +0200
21053 Wrap GLib.Source.is_destroyed() method
21055 Based on original patch from Bryan Silverthorn.
21057 https://bugzilla.gnome.org/show_bug.cgi?id=524719
21059 gi/_glib/pygsource.c | 15 +++++++++++++++
21060 tests/test_source.py | 24 ++++++++++++++++++++++++
21061 2 files changed, 39 insertions(+)
21063 commit 05030a95a4d3090162ed5f510a26d69bbb152942
21064 Author: Martin Pitt <martinpitt@gnome.org>
21065 Date: Wed Apr 4 15:59:24 2012 +0200
21067 Fix error message when trying to override a non-GI class
21069 Based on original patch by Juanje Ojeda <jojeda@emergya.es>.
21071 https://bugzilla.gnome.org/show_bug.cgi?id=646667
21073 gi/overrides/__init__.py | 7 ++++---
21074 tests/test_overrides.py | 13 +++++++++++++
21075 2 files changed, 17 insertions(+), 3 deletions(-)
21077 commit 96f14989baea76fe8692f10c1a37e2dfc45fecbf
21078 Author: Steve Frécinaux <code@istique.net>
21079 Date: Wed Apr 4 15:30:55 2012 +0200
21081 Fix segfault when accessing __grefcount__ before creating the GObject
21083 When creating a new instance using Type() and trying to access
21084 __grefcount__ before calling the subclass's __init__ function, there
21085 used to be a segmentation fault because we were trying to access the
21086 not yet created object. Now raise a proper exception instead.
21088 https://bugzilla.gnome.org/show_bug.cgi?id=640434
21090 Co-authored-by: Martin Pitt <martinpitt@gnome.org>
21092 gi/_gobject/pygobject.c | 4 ++++
21093 tests/test_gobject.py | 11 +++++++++++
21094 2 files changed, 15 insertions(+)
21096 commit 24cc09a7105299805fcc5bc151f53ac69958d728
21097 Author: Steve Frécinaux <code@istique.net>
21098 Date: Wed Feb 9 18:37:33 2011 +0100
21100 Do not bind gobject_get_data() and gobject_set_data()
21102 They will basically cause a crash if misused, and you can always use a
21103 python member attribute instead.
21105 https://bugzilla.gnome.org/show_bug.cgi?id=641944
21107 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21109 gi/_gobject/pygobject.c | 40 ----------------------------------------
21110 1 file changed, 40 deletions(-)
21112 commit 2a5a33a9c9c170830c98c2e32fa8dcea3c35f2e6
21113 Author: Martin Pitt <martinpitt@gnome.org>
21114 Date: Tue Apr 3 22:26:34 2012 +0200
21116 Add test case for multiple GLib.MainLoop instances
21118 Commit 832f16f9 fixed a lockup with multiple GLib.MainLoops. Add
21122 https://bugzilla.gnome.org/show_bug.cgi?id=663068
21124 tests/test_mainloop.py | 25 ++++++++++++++++++++++++-
21125 1 file changed, 24 insertions(+), 1 deletion(-)
21127 commit d03696c1aaa7e66f8f16554cf4a4b97addb5aea1
21128 Author: John (J5) Palmieri <johnp@redhat.com>
21129 Date: Tue Feb 21 15:13:42 2012 +0100
21131 Add a ccallback type which is used to invoke callbacks passed to
21134 Used when overriding methods like gtk_container_forall wich pass in a
21135 callback that needs to be executed on internal children:
21136 def do_forall(self, callback, userdata):
21137 callback(self.custom_child, userdata)
21139 https://bugzilla.gnome.org/show_bug.cgi?id=644926
21141 Co-authored-by: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
21142 Co-authored-by: Simon Schampijer <simon@laptop.org>
21144 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21146 gi/Makefile.am | 2 +
21147 gi/gimodule.c | 1 +
21148 gi/module.py | 5 +++
21149 gi/pygi-argument.c | 12 +----
21150 gi/pygi-cache.c | 28 ++++++++++--
21151 gi/pygi-cache.h | 9 ++--
21152 gi/pygi-ccallback.c | 100
21153 ++++++++++++++++++++++++++++++++++++++++++
21154 gi/pygi-ccallback.h | 41 +++++++++++++++++
21155 gi/pygi-closure.c | 50 ++++++++++++++++++++-
21156 gi/pygi-invoke-state-struct.h | 2 +
21157 gi/pygi-invoke.c | 73 ++++++++++++++++++++----------
21158 gi/pygi-invoke.h | 3 ++
21159 gi/pygi-private.h | 1 +
21160 gi/pygi.h | 10 +++++
21161 tests/test_gi.py | 16 +++++++
21162 15 files changed, 312 insertions(+), 41 deletions(-)
21164 commit db7e1d078db16b6f11dee51aa97525c451346632
21165 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
21166 Date: Tue Mar 27 17:34:48 2012 +0200
21168 Regression test: marshalling GValues in GHashTable
21170 https://bugzilla.gnome.org/show_bug.cgi?id=668903
21172 Signed-off-by: Martin Pitt <martinpitt@gnome.org>
21174 tests/test_everything.py | 19 +++++++++++++++++++
21175 1 file changed, 19 insertions(+)
21177 commit 7c0017c30129a8db391f902ed592782200d69c64
21178 Author: Martin Pitt <martin.pitt@ubuntu.com>
21179 Date: Mon Mar 26 17:55:41 2012 +0200
21181 Bump version to 3.3.1
21183 3.2.x is built from the pygobject-3-2 branch now, and 3.2.0 is
21185 continue with 3.3.x on master.
21187 configure.ac | 4 ++--
21188 1 file changed, 2 insertions(+), 2 deletions(-)
21190 commit 8309f305e5ce508fc5f6411c8153bea2cee5f741
21191 Author: Martin Pitt <martin.pitt@ubuntu.com>
21192 Date: Mon Mar 26 17:51:37 2012 +0200
21196 - Ignore *.o, backup files, and generated Makefiles in all
21198 - Ignore *.pyc files.
21199 - Do not ignore .gitignore, we actually want to track this.
21202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21203 1 file changed, 61 insertions(+)
21205 commit 81de788a72b40acd2f857718d78bdeea01d12eb1
21206 Author: Martin Pitt <martin.pitt@ubuntu.com>
21207 Date: Mon Mar 26 17:45:08 2012 +0200
21209 Fix "distcheck" and tests with out-of-tree builds
21211 - Symlink *.py files from srcdir into builddir during build, as
21213 accept the extensions and modules in different paths.
21214 - "make clean" should remove *.pyc files
21215 - tests/runtests.py: Look for tests in srcdir, not in builddir
21217 Makefile.am | 6 ++++--
21218 gi/Makefile.am | 13 +++++++++++--
21219 gi/_glib/Makefile.am | 12 ++++++++++--
21220 gi/_gobject/Makefile.am | 12 ++++++++++--
21221 gi/overrides/Makefile.am | 10 ++++++++++
21222 gi/repository/Makefile.am | 11 +++++++++++
21223 tests/runtests.py | 6 ++++--
21224 7 files changed, 60 insertions(+), 10 deletions(-)
21226 commit f83d95e6fff572bda659a48e309b4524dafa4e83
21227 Author: Johan Dahlin <johan@gnome.org>
21228 Date: Thu Mar 22 11:14:03 2012 -0300
21230 Add a pep8 check to the makefile
21232 Also reorganize the pyflakes check, since target dependencies do not
21233 take the exit status of the shell command into account.
21235 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21237 tests/Makefile.am | 9 ++++-----
21238 1 file changed, 4 insertions(+), 5 deletions(-)
21240 commit d1f5474c6c50163aefe660e0689dc7f30e6cd48b
21241 Author: Johan Dahlin <johan@gnome.org>
21242 Date: Thu Mar 22 10:56:59 2012 -0300
21244 PEP8: Remaining whitespace fixes
21246 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21248 demos/gtk-demo/demos/Icon View/iconviewedit.py | 7 +++----
21249 demos/gtk-demo/demos/Tree View/liststore.py | 28
21250 +++++++++++++-------------
21251 demos/gtk-demo/demos/appwindow.py | 10 ++++-----
21252 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21253 examples/cairo-demo.py | 4 ++--
21254 tests/test_gi.py | 12 +++++------
21255 tests/test_overrides.py | 2 +-
21256 7 files changed, 32 insertions(+), 33 deletions(-)
21258 commit 032fcce2bf6070a9001cbb780e90403051e303b1
21259 Author: Johan Dahlin <johan@gnome.org>
21260 Date: Thu Mar 22 10:56:03 2012 -0300
21262 PEP8: Add spaces before #
21264 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21266 demos/gtk-demo/demos/drawingarea.py | 6 +++---
21267 demos/gtk-demo/demos/images.py | 10 +++++-----
21268 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21269 gi/__init__.py | 2 +-
21270 gi/_glib/option.py | 2 +-
21271 gi/_gobject/__init__.py | 2 +-
21272 gi/overrides/GLib.py | 12 ++++++------
21273 gi/types.py | 4 ++--
21274 tests/runtests.py | 2 +-
21275 tests/test_gdbus.py | 4 ++--
21276 10 files changed, 23 insertions(+), 23 deletions(-)
21278 commit 6a58edbf11c612e9a14347b1556d1e0dd2ec1823
21279 Author: Johan Dahlin <johan@gnome.org>
21280 Date: Thu Mar 22 10:52:05 2012 -0300
21282 PEP8: Add missing whitespace after : and ,
21284 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21286 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21287 demos/gtk-demo/demos/appwindow.py | 2 +-
21288 tests/test_everything.py | 23 +++++++++--------------
21289 tests/test_gi.py | 2 +-
21290 tests/test_overrides.py | 2 +-
21291 5 files changed, 13 insertions(+), 18 deletions(-)
21293 commit a8d361e66b2a0e09cfa5dbade4725074b0cc2fd1
21294 Author: Johan Dahlin <johan@gnome.org>
21295 Date: Thu Mar 22 10:49:52 2012 -0300
21297 PEP8: Remove too whitespace before }
21299 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21301 tests/test_overrides.py | 2 +-
21302 1 file changed, 1 insertion(+), 1 deletion(-)
21304 commit 2b8eb9fa5b9ca454d7130b3eec15a982fee1bdc9
21305 Author: Johan Dahlin <johan@gnome.org>
21306 Date: Thu Mar 22 10:49:27 2012 -0300
21308 PEP8: Remove too many blank lines
21310 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21312 demos/gtk-demo/demos/rotatedtext.py | 1 -
21313 tests/test_overrides.py | 1 -
21314 2 files changed, 2 deletions(-)
21316 commit 03e597cb8f3b075efae556ee51a598695a883ad3
21317 Author: Johan Dahlin <johan@gnome.org>
21318 Date: Thu Mar 22 10:48:59 2012 -0300
21320 PEP8: Fix whitespace around operators
21322 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21324 demos/gtk-demo/demos/images.py | 2 +-
21325 examples/cairo-demo.py | 8 ++++----
21326 tests/test_gi.py | 4 ++--
21327 tests/test_overrides.py | 8 ++++----
21328 tests/test_properties.py | 14 +++++++-------
21329 tests/test_signal.py | 2 +-
21330 6 files changed, 19 insertions(+), 19 deletions(-)
21332 commit 21aeb19107b718293116e51ecd6479d4d7198b8f
21333 Author: Johan Dahlin <johan@gnome.org>
21334 Date: Thu Mar 22 10:46:17 2012 -0300
21336 PEP8: Remove whitespace before (
21338 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21340 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
21341 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
21342 demos/gtk-demo/demos/Entry/search_entry.py | 12 ++---
21343 demos/gtk-demo/demos/Icon View/iconviewedit.py | 4 +-
21344 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
21345 demos/gtk-demo/demos/dialogs.py | 12 ++---
21346 demos/gtk-demo/demos/pickers.py | 8 ++--
21347 demos/gtk-demo/demos/pixbuf.py | 4 +-
21348 demos/gtk-demo/demos/printing.py | 8 ++--
21349 demos/gtk-demo/demos/rotatedtext.py | 2 +-
21350 demos/gtk-demo/gtk-demo.py | 4 +-
21351 gi/module.py | 4 +-
21352 gi/overrides/Pango.py | 2 +-
21353 gi/pygtkcompat.py | 4 +-
21354 tests/test_everything.py | 4 +-
21355 tests/test_overrides.py | 62
21356 +++++++++++++-------------
21357 16 files changed, 68 insertions(+), 68 deletions(-)
21359 commit b04d209930ab01bae6563b0d714aec829739bdc6
21360 Author: Johan Dahlin <johan@gnome.org>
21361 Date: Thu Mar 22 10:40:46 2012 -0300
21363 PEP8: Remove whitespace around {}
21365 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21367 tests/test_signal.py | 20 ++++++++++----------
21368 1 file changed, 10 insertions(+), 10 deletions(-)
21370 commit 725483a5dc36739dc7836716b5d6d48091564bf8
21371 Author: Johan Dahlin <johan@gnome.org>
21372 Date: Thu Mar 22 10:38:59 2012 -0300
21374 PEP8: run via --fix from craigds fork
21376 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21378 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
21379 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
21380 demos/gtk-demo/demos/Entry/search_entry.py | 3 +-
21381 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 1 +
21382 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +
21383 demos/gtk-demo/demos/Tree View/liststore.py | 3 ++
21384 demos/gtk-demo/demos/appwindow.py | 13 +++++-
21385 demos/gtk-demo/demos/assistant.py | 1 +
21386 demos/gtk-demo/demos/builder.py | 1 +
21387 demos/gtk-demo/demos/button_box.py | 1 +
21388 demos/gtk-demo/demos/clipboard.py | 2 +-
21389 demos/gtk-demo/demos/colorselector.py | 1 +
21390 demos/gtk-demo/demos/combobox.py | 4 +-
21391 demos/gtk-demo/demos/dialogs.py | 2 +
21392 demos/gtk-demo/demos/drawingarea.py | 1 +
21393 demos/gtk-demo/demos/expander.py | 4 +-
21394 demos/gtk-demo/demos/images.py | 10 +++--
21395 demos/gtk-demo/demos/infobars.py | 2 +
21396 demos/gtk-demo/demos/links.py | 2 +
21397 demos/gtk-demo/demos/menus.py | 2 +
21398 demos/gtk-demo/demos/pickers.py | 2 +
21399 demos/gtk-demo/demos/pixbuf.py | 2 +
21400 demos/gtk-demo/demos/printing.py | 5 ++-
21401 demos/gtk-demo/demos/rotatedtext.py | 4 +-
21402 demos/gtk-demo/demos/test.py | 1 +
21403 demos/gtk-demo/gtk-demo.py | 9 ++--
21404 examples/cairo-demo.py | 57
21405 ++++++++++++++----------
21406 examples/option.py | 1 -
21407 examples/properties.py | 1 +
21408 examples/signal.py | 4 ++
21409 gi/__init__.py | 2 +
21410 gi/_glib/option.py | 4 +-
21411 gi/_gobject/__init__.py | 1 +
21412 gi/_gobject/propertyhelper.py | 5 ++-
21413 gi/module.py | 3 ++
21414 gi/overrides/GIMarshallingTests.py | 2 +
21415 gi/overrides/GLib.py | 12 +++--
21416 gi/overrides/Gdk.py | 9 ++++
21417 gi/overrides/Gio.py | 4 ++
21418 gi/overrides/Gtk.py | 56
21419 ++++++++++++++++++++---
21420 gi/overrides/Pango.py | 2 +
21421 gi/overrides/__init__.py | 5 ++-
21422 gi/pygtkcompat.py | 16 +++++--
21424 tests/test_everything.py | 30 +++++++++----
21425 tests/test_gdbus.py | 1 +
21426 tests/test_gi.py | 30 +++++++------
21427 tests/test_gobject.py | 3 +-
21428 tests/test_mainloop.py | 1 +
21429 tests/test_option.py | 1 +
21430 tests/test_overrides.py | 55
21431 ++++++++++++-----------
21432 tests/test_properties.py | 11 ++++-
21433 tests/test_signal.py | 32 ++++++++++++-
21434 tests/test_source.py | 1 +
21435 tests/test_subprocess.py | 1 +
21436 tests/test_thread.py | 1 +
21437 tests/test_uris.py | 1 +
21438 tests/testmodule.py | 1 +
21439 58 files changed, 326 insertions(+), 111 deletions(-)
21441 commit 917275d4aa81db39ccaca34fa514032fb80a3187
21442 Author: Johan Dahlin <johan@gnome.org>
21443 Date: Thu Mar 22 10:33:29 2012 -0300
21445 PEP8: Remove spaces around = for keyword arguments
21447 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21449 demos/gtk-demo/demos/appwindow.py | 8 ++++----
21450 demos/gtk-demo/demos/colorselector.py | 4 ++--
21451 demos/gtk-demo/gtk-demo.py | 24 ++++++++++++------------
21452 examples/option.py | 4 ++--
21453 gi/_glib/option.py | 2 +-
21454 gi/overrides/Gtk.py | 2 +-
21455 tests/test_gi.py | 26 +++++++++++++-------------
21456 tests/test_option.py | 2 +-
21457 tests/test_overrides.py | 8 ++++----
21458 9 files changed, 40 insertions(+), 40 deletions(-)
21460 commit 0c85656f95d3cb31becff10bbee7faae7b0b875b
21461 Author: Johan Dahlin <johan@gnome.org>
21462 Date: Thu Mar 22 10:28:28 2012 -0300
21464 PEP8: Remove trailing ;
21466 https://bugzilla.gnome.org/show_bug.cgi?id=672627
21468 demos/gtk-demo/demos/appwindow.py | 4 ++--
21469 demos/gtk-demo/demos/dialogs.py | 30 +++++++++++++++---------------
21470 demos/gtk-demo/demos/links.py | 2 +-
21471 demos/gtk-demo/demos/pixbuf.py | 2 +-
21472 demos/gtk-demo/demos/printing.py | 8 ++++----
21473 gi/overrides/Gtk.py | 4 ++--
21474 tests/test_everything.py | 22 +++++++++++-----------
21475 tests/test_gi.py | 2 +-
21476 tests/test_overrides.py | 8 ++++----
21477 9 files changed, 41 insertions(+), 41 deletions(-)
21479 commit 32cc594ab6dfbd4843f3db5ec8338d31ad5df6c6
21480 Author: Johan Dahlin <johan@gnome.org>
21481 Date: Thu Mar 22 10:24:40 2012 -0300
21483 Remove all tabs and fix indentation
21485 By running the whole source tree via the indent.py script found
21486 in the Python distribution.
21488 demos/gtk-demo/demos/Entry/search_entry.py | 4 +-
21489 demos/gtk-demo/demos/Icon View/iconviewedit.py | 41 +++----
21490 demos/gtk-demo/demos/Tree View/liststore.py | 8 +-
21491 demos/gtk-demo/demos/appwindow.py | 18 +--
21492 demos/gtk-demo/demos/dialogs.py | 26 ++---
21493 demos/gtk-demo/demos/expander.py | 6 +-
21494 demos/gtk-demo/demos/images.py | 2 +-
21495 demos/gtk-demo/demos/links.py | 2 +-
21496 demos/gtk-demo/demos/rotatedtext.py | 20 ++--
21497 gi/_glib/option.py | 2 +-
21498 gi/_gobject/constants.py | 1 -
21499 gi/importer.py | 1 -
21500 gi/module.py | 10 +-
21501 gi/overrides/GLib.py | 11 +-
21502 gi/overrides/Gdk.py | 30 ++---
21503 gi/overrides/Gio.py | 4 +-
21504 gi/overrides/Gtk.py | 150
21505 ++++++++++++-------------
21506 gi/overrides/Pango.py | 1 -
21507 gi/overrides/__init__.py | 10 +-
21508 gi/pygtkcompat.py | 2 +-
21509 tests/compathelper.py | 2 +-
21510 tests/runtests.py | 19 ++--
21511 tests/test_everything.py | 22 ++--
21512 tests/test_gdbus.py | 11 +-
21513 tests/test_gi.py | 38 +++----
21514 tests/test_gobject.py | 2 +-
21515 tests/test_interface.py | 1 -
21516 tests/test_option.py | 1 -
21517 tests/test_overrides.py | 78 ++++++-------
21518 tests/test_properties.py | 2 +-
21519 tests/test_uris.py | 1 -
21520 31 files changed, 255 insertions(+), 271 deletions(-)
21522 commit c375e3136f0f48eb8a6717c0053155db088b329d
21523 Author: Martin Pitt <martin.pitt@ubuntu.com>
21524 Date: Thu Mar 22 10:32:43 2012 +0100
21526 tests: Replace deprecated Python API
21528 failIf → assertFalse, failUnless → assertTrue
21530 Caught by the previous commit of making deprecations fatal.
21532 tests/test_option.py | 10 +++----
21533 tests/test_overrides.py | 66
21534 +++++++++++++++++++++++------------------------
21535 tests/test_properties.py | 14 +++++-----
21536 tests/test_pygtkcompat.py | 18 ++++++-------
21537 tests/test_signal.py | 4 +--
21538 5 files changed, 56 insertions(+), 56 deletions(-)
21540 commit 32525e565cc48454cdacbc44ad3fd751b81cb7e3
21541 Author: Martin Pitt <martin.pitt@ubuntu.com>
21542 Date: Thu Mar 22 10:31:22 2012 +0100
21544 Fail tests if they use or encounter deprecations
21546 tests/Makefile.am | 2 +-
21547 1 file changed, 1 insertion(+), 1 deletion(-)
21549 commit 65762243a34af014950527c323a51a29d40fb3e1
21550 Author: Martin Pitt <martin.pitt@ubuntu.com>
21551 Date: Thu Mar 22 10:15:16 2012 +0100
21553 Do not run tests in two phases any more
21555 As we dropped the static bindings a while ago, there is no need any
21557 the tests in two phases (static/GI). Now just run them all in one go,
21558 simplifying tests/Makefile.am.
21560 As this changes the order of the tests, defining $GSETTINGS_SCHEMA_DIR
21562 needs to happen even further, so move it from tests/test_overrides.py
21566 tests/Makefile.am | 33 ++++++++++++---------------------
21567 tests/runtests.py | 7 +++++++
21568 tests/test_overrides.py | 6 ------
21569 3 files changed, 19 insertions(+), 27 deletions(-)
21571 commit 3b4ae83a0ece8e3aed1de5452e2acd32841e629a
21572 Author: Martin Pitt <martin.pitt@ubuntu.com>
21573 Date: Thu Mar 22 09:58:21 2012 +0100
21575 test_overrides: Find local gsettings schema with current glib
21577 With current glib, gsettings now fails to find the gschemas.compiled
21579 tests. Move the setting of $GSETTINGS_SCHEMA_DIR before the module
21581 which makes this work again.
21583 tests/test_overrides.py | 9 +++++----
21584 1 file changed, 5 insertions(+), 4 deletions(-)
21586 commit 927f7877ffa5e16c4cabcecbc05656ee0ec6a167
21587 Author: Paolo Borelli <pborelli@gnome.org>
21588 Date: Wed Mar 21 21:09:24 2012 +0100
21590 Add GtkComboBoxEntry compatibility
21592 This widget has been removed in Gtk+ 3, add a small wrapper to the
21593 compat module to make at least basic pygtk programs that use it work.
21595 https://bugzilla.gnome.org/show_bug.cgi?id=672589
21597 gi/pygtkcompat.py | 19 +++++++++++++++++++
21598 tests/test_pygtkcompat.py | 22 ++++++++++++++++++++++
21599 2 files changed, 41 insertions(+)
21601 commit b322d6a1f6d44bace4eefb98558cfe94a73a727c
21602 Author: Johan Dahlin <johan@gnome.org>
21603 Date: Wed Mar 21 16:01:35 2012 -0300
21605 Correct review comments from Martin
21607 https://bugzilla.gnome.org/show_bug.cgi?id=672578
21609 tests/test_everything.py | 4 ++--
21610 tests/test_pygtkcompat.py | 18 ++++++++++++++++++
21611 2 files changed, 20 insertions(+), 2 deletions(-)
21613 commit c8bc6ae10cfe8b2eff4204ec2175907a6eb0585a
21614 Author: Johan Dahlin <johan@gnome.org>
21615 Date: Wed Mar 21 14:45:53 2012 -0300
21617 Correct pyflakes warnings/errors
21619 And add a target to make check that runs pyflakes.
21621 https://bugzilla.gnome.org/show_bug.cgi?id=672578
21623 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
21624 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
21625 demos/gtk-demo/demos/Entry/search_entry.py | 12 +-
21626 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
21627 demos/gtk-demo/demos/Icon View/iconviewedit.py | 2 +-
21628 demos/gtk-demo/demos/Tree View/liststore.py | 3 +-
21629 demos/gtk-demo/demos/appwindow.py | 13 +-
21630 demos/gtk-demo/demos/assistant.py | 4 +-
21631 demos/gtk-demo/demos/builder.py | 4 +-
21632 demos/gtk-demo/demos/button_box.py | 2 +-
21633 demos/gtk-demo/demos/clipboard.py | 2 +-
21634 demos/gtk-demo/demos/colorselector.py | 2 +-
21635 demos/gtk-demo/demos/combobox.py | 4 +-
21636 demos/gtk-demo/demos/dialogs.py | 4 +-
21637 demos/gtk-demo/demos/drawingarea.py | 2 +-
21638 demos/gtk-demo/demos/expander.py | 4 +-
21639 demos/gtk-demo/demos/images.py | 8 +-
21640 demos/gtk-demo/demos/infobars.py | 2 +-
21641 demos/gtk-demo/demos/links.py | 2 +-
21642 demos/gtk-demo/demos/menus.py | 5 +-
21643 demos/gtk-demo/demos/pickers.py | 2 +-
21644 demos/gtk-demo/demos/pixbuf.py | 2 +-
21645 demos/gtk-demo/demos/printing.py | 3 +-
21646 demos/gtk-demo/demos/rotatedtext.py | 6 +-
21647 demos/gtk-demo/gtk-demo.py | 9 +-
21648 examples/cairo-demo.py | 2 +-
21649 gi/__init__.py | 4 +
21650 gi/_glib/__init__.py | 101 ++++++++++-
21651 gi/_glib/option.py | 1 +
21652 gi/_gobject/__init__.py | 203
21653 ++++++++++++++++++++---
21654 gi/_gobject/constants.py | 2 -
21655 gi/_gobject/propertyhelper.py | 4 +-
21656 gi/importer.py | 2 +-
21658 gi/overrides/Gtk.py | 1 -
21659 gi/overrides/__init__.py | 1 -
21660 gi/pygtkcompat.py | 2 +
21662 tests/Makefile.am | 5 +
21663 tests/test_everything.py | 6 +-
21664 tests/test_gi.py | 8 +-
21665 tests/test_option.py | 10 +-
21666 tests/test_overrides.py | 30 ++--
21667 tests/test_properties.py | 12 +-
21668 tests/test_pygtkcompat.py | 4 -
21669 tests/test_signal.py | 4 +-
21670 tests/test_source.py | 6 +-
21671 47 files changed, 377 insertions(+), 138 deletions(-)
21673 commit 39650906559fcc39b4be406fa7e25c4788d349a3
21674 Author: Martin Pitt <martin.pitt@ubuntu.com>
21675 Date: Wed Mar 21 16:59:33 2012 +0100
21677 Make tests fail on CRITICAL logs, too, and apply to all tests
21679 Instead of setting warnings/criticals to fatal in individual test
21681 it in runtests.py, so that it applies to all tests.
21683 We currently have some tests which are known to generate CRITICALs
21685 with FIXME), and some WARNINGs (as they test behaviour with known-bad
21687 For these, warnings/criticals are now explicitly permitted.
21689 tests/runtests.py | 1 +
21690 tests/test_gi.py | 7 ++++++-
21691 tests/test_overrides.py | 14 +++++++-------
21692 tests/test_properties.py | 36 +++++++++++++++++++++---------------
21693 4 files changed, 35 insertions(+), 23 deletions(-)
21695 commit efcb4b0b32c4dda06c3eeec83802fc0f302f0d27
21696 Author: Alberto Mardegan <alberto.mardegan@canonical.com>
21697 Date: Tue Mar 20 14:55:07 2012 +0400
21699 Support marshalling GI_TYPE_TAG_INTERFACE
21701 Marshalling of interfaces got broken with commit
21702 7746d2188ac4933c2c9011d84525d1e62fc18953.
21704 Also, do not abort on unsupported types, but log a critical failure
21708 https://bugzilla.gnome.org/show_bug.cgi?id=668903
21710 gi/pygi-marshal-from-py.c | 3 ++-
21711 gi/pygi-marshal-to-py.c | 3 ++-
21712 2 files changed, 4 insertions(+), 2 deletions(-)
21714 commit 8d85d6639778ec6364235071d272d67e7aae49ae
21715 Author: Martin Pitt <martin.pitt@ubuntu.com>
21716 Date: Wed Mar 21 14:34:36 2012 +0100
21718 Fix warnings on None values in added tree/list store rows
21720 Commit bf8c95836e1c changed the List/TreeStore overrides to use
21721 insert_with_valuesv(), but supplied all columns instead of just
21723 not None. With this, None values cause warnings like
21725 (runtests.py:12375): Gtk-WARNING **:
21726 /build/buildd/gtk+3.0-3.3.20/./gtk/gtkliststore.c:851: Unable to
21727 convert from (null) to gboolean
21729 Update the tests to make warnings fatal, to catch this better.
21731 Change _convert_row() to skip the None entries and return the list
21733 columns, and use the latter instead of a simple range(n_columns). This
21735 the behaviour before bf8c95836e1c, where columns with None values
21739 https://bugzilla.gnome.org/show_bug.cgi?id=672463
21741 gi/overrides/Gtk.py | 26 ++++++++++++++------------
21742 tests/test_overrides.py | 5 +++++
21743 2 files changed, 19 insertions(+), 12 deletions(-)
21745 commit 38aecc481741fd3a319a76a0ec8bf5329a483876
21746 Author: Martin Pitt <martin.pitt@ubuntu.com>
21747 Date: Wed Mar 21 15:21:02 2012 +0100
21749 pygtkcompat test: Properly clean up PixbufLoader
21751 Tests currently give
21753 (runtests.py:15072): GdkPixbuf-WARNING **: GdkPixbufLoader finalized
21754 without calling gdk_pixbuf_loader_close() - this is not allowed. You
21755 must explicitly end the data stream to the loader before dropping
21756 the last reference.
21758 Fix this by calling close().
21760 tests/test_pygtkcompat.py | 3 ++-
21761 1 file changed, 2 insertions(+), 1 deletion(-)
21763 commit 5e0e5e72a4436badd09f0aa07f62960afcdca8c6
21764 Author: Martin Pitt <martin.pitt@ubuntu.com>
21765 Date: Mon Mar 19 16:58:22 2012 +0100
21769 Use 3.1.93 for now, this will most likely become 3.2.0 as it is.
21771 configure.ac | 2 +-
21772 1 file changed, 1 insertion(+), 1 deletion(-)
21774 commit 88924e399d7ccf7af2e9a78720e0c508cd6080d8
21775 Author: Martin Pitt <martin.pitt@ubuntu.com>
21776 Date: Mon Mar 19 16:41:17 2012 +0100
21780 NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++
21781 1 file changed, 46 insertions(+)
21783 commit b41e6139befb984c0b78bcefe2630ab1393b4b40
21784 Author: Martin Pitt <martin.pitt@ubuntu.com>
21785 Date: Mon Mar 19 16:14:54 2012 +0100
21787 README: Update current maintainers
21789 Also update Martin's email address.
21791 README | 10 ++++++----
21792 pygobject.doap | 2 +-
21793 2 files changed, 7 insertions(+), 5 deletions(-)
21795 commit 45e27ba7e447552057a2950fc768c63ff2e6612e
21796 Author: Martin Pitt <martin.pitt@ubuntu.com>
21797 Date: Mon Mar 19 16:11:22 2012 +0100
21799 Bump version to 3.1.92, in sync with GNOME
21801 configure.ac | 2 +-
21802 1 file changed, 1 insertion(+), 1 deletion(-)
21804 commit 77d358f8c5f524259249ea686899e3a4da05562e
21805 Author: Johan Dahlin <johan@gnome.org>
21806 Date: Mon Mar 19 11:54:07 2012 -0300
21808 Correct Gtk.TreePath.__iter__ to work with Python 3
21810 gi/overrides/Gtk.py | 2 +-
21811 1 file changed, 1 insertion(+), 1 deletion(-)
21813 commit 1f18bcb37bdc42368ad9a07c7f348f736c2f665d
21814 Author: Martin Pitt <martin.pitt@ubuntu.com>
21815 Date: Mon Mar 19 15:54:13 2012 +0100
21817 Fix pygtkcompat.py to work with Python 3
21819 gi/pygtkcompat.py | 20 +++++++++++++++-----
21820 1 file changed, 15 insertions(+), 5 deletions(-)
21822 commit 96a9f92da801989464fbcedf6d849819f6dbea64
21823 Author: Martin Pitt <martin.pitt@ubuntu.com>
21824 Date: Mon Mar 19 15:32:22 2012 +0100
21826 Fix test_everything.TestSignals.test_object_param_signal test case
21828 The callback gets two arguments, not one. This short-circuited
21830 assertions. Fix the arguments and update the refcount check, as it
21832 exactly two at the moment.
21834 tests/test_everything.py | 4 ++--
21835 1 file changed, 2 insertions(+), 2 deletions(-)
21837 commit ba00afb1e50759b2b321f16e05a15946053cdafa
21838 Author: Johan Dahlin <johan@gnome.org>
21839 Date: Mon Mar 19 10:58:09 2012 -0300
21841 pygtkcompat: Remove first argument for get_origin()
21843 gi/pygtkcompat.py | 5 +++++
21844 tests/test_pygtkcompat.py | 5 +++++
21845 2 files changed, 10 insertions(+)
21847 commit 65499246a862ce6a82bc3b0cc74fe8ff82dde687
21848 Author: Johan Dahlin <johan@gnome.org>
21849 Date: Fri Mar 16 16:08:44 2012 -0300
21851 GtkViewport: Add a default values for the adjustment constructor
21854 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21856 gi/overrides/Gtk.py | 10 ++++++++++
21857 tests/test_overrides.py | 11 +++++++++++
21858 2 files changed, 21 insertions(+)
21860 commit 43c761d9f35252dcb58b9cf2278016d841eea4ec
21861 Author: Johan Dahlin <johan@gnome.org>
21862 Date: Fri Mar 16 16:08:23 2012 -0300
21864 GtkIconSet: Add a default value for the pixbuf constructor parameter
21866 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21868 gi/overrides/Gtk.py | 11 +++++++++++
21869 tests/test_overrides.py | 6 ++++++
21870 2 files changed, 17 insertions(+)
21872 commit 116d3712251b1b8aa2d4f4a9e40e22f5b9fcbe4f
21873 Author: Johan Dahlin <johan@gnome.org>
21874 Date: Fri Mar 16 16:07:30 2012 -0300
21876 PangoLayout: Add a default value for set_markup()
21878 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21880 gi/overrides/Pango.py | 3 +++
21881 tests/test_overrides.py | 4 ++++
21882 2 files changed, 7 insertions(+)
21884 commit a3ca47b086b7fcf084282be788c5d737dde847ac
21885 Author: Johan Dahlin <johan@gnome.org>
21886 Date: Fri Mar 16 16:06:37 2012 -0300
21888 Gtk[HV]Scrollbar: Add a default value for the adjustment constructor
21891 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21893 gi/overrides/Gtk.py | 15 +++++++++++++++
21894 tests/test_overrides.py | 14 ++++++++++++++
21895 2 files changed, 29 insertions(+)
21897 commit 458dab08c78cb730dd95bcd67af20a0d73a3af2f
21898 Author: Johan Dahlin <johan@gnome.org>
21899 Date: Fri Mar 16 16:06:12 2012 -0300
21901 GtkToolButton: Add a default value for the stock_id constructor
21904 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21906 gi/overrides/Gtk.py | 10 ++++++++++
21907 tests/test_overrides.py | 9 ++++++++-
21908 2 files changed, 18 insertions(+), 1 deletion(-)
21910 commit 2f7789a5a1f55ec38c5ff0f96bc5c9023679a333
21911 Author: Johan Dahlin <johan@gnome.org>
21912 Date: Fri Mar 16 16:05:55 2012 -0300
21914 GtkIconView: Add a default value for the model constructor parameter
21916 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21918 gi/overrides/Gtk.py | 3 +++
21919 tests/test_overrides.py | 11 +++++++++++
21920 2 files changed, 14 insertions(+)
21922 commit 2dd9dadd1bd92c3324e9de209ba8205a9d4106d6
21923 Author: Johan Dahlin <johan@gnome.org>
21924 Date: Thu Mar 15 15:22:46 2012 -0300
21926 Add a default value for column in Gtk.TreeView.get_cell_area()
21928 https://bugzilla.gnome.org/show_bug.cgi?id=672260
21930 gi/overrides/Gtk.py | 5 +++++
21931 tests/test_overrides.py | 3 +++
21932 2 files changed, 8 insertions(+)
21934 commit bf8c95836e1cc1e1629937cbc69ea3027fb82746
21935 Author: Martin Pitt <martin.pitt@ubuntu.com>
21936 Date: Thu Mar 15 09:48:10 2012 +0100
21938 Atomic inserts in Gtk.{List,Tree}Store overrides
21940 Gtk.{List,Tree}Store's overrides provide append(), insert()
21942 take an optional data row array. If this is given, use
21943 insert_with_valuesv()
21944 instead of creating a new iter and then filling it with data. The
21946 row-added signal, at which time the row was still empty, and a
21948 row-changed signal. With this we only get a single row-added
21952 Note that this does not change insert_{before,after}(), as there is no
21953 counterpart of insert_with_valuesv() which takes a TreeIter instead
21955 position. For those you will still get two signals, and have to deal
21959 https://bugzilla.gnome.org/show_bug.cgi?id=671610
21961 gi/overrides/Gtk.py | 81
21962 ++++++++++++++++++++++++++++++-------------------
21963 tests/test_overrides.py | 74 ++++++++++++++++++++++++++++++++++++++++++++
21964 2 files changed, 124 insertions(+), 31 deletions(-)
21966 commit f7db4eaf8148f2dd8bf1718152a1dcae509470c7
21967 Author: Martin Pitt <martin.pitt@ubuntu.com>
21968 Date: Sun Mar 18 16:07:26 2012 +0100
21970 Fix Gtk.Button constructor to accept use_stock parameter
21972 Thanks to kalanzun@googlemail.com!
21974 https://bugzilla.gnome.org/show_bug.cgi?id=672318
21976 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
21978 gi/overrides/Gtk.py | 4 +---
21979 tests/test_overrides.py | 6 ++++++
21980 2 files changed, 7 insertions(+), 3 deletions(-)
21982 commit 466337cf2fd091738eeab12c10d250a9d0827284
21983 Author: Johan Dahlin <johan@gnome.org>
21984 Date: Fri Mar 16 16:55:47 2012 -0300
21986 Correct bad rebase, remove duplicate Window
21988 gi/overrides/Gtk.py | 7 -------
21989 1 file changed, 7 deletions(-)
21991 commit c60d5ee3c88bd8e1c68ea97f079947cf79d5bb7d
21992 Author: Johan Dahlin <johan@gnome.org>
21993 Date: Thu Mar 15 15:42:28 2012 -0300
21995 Add a PyGTK compatibility layer
21997 This module tries quite a bit harder to maintain compatibility
21998 with PyGTK, module names, enums, flags and some API.
22000 https://bugzilla.gnome.org/show_bug.cgi?id=653462
22002 gi/Makefile.am | 3 +-
22003 gi/pygtkcompat.py | 421
22004 ++++++++++++++++++++++++++++++++++++++++++++++
22005 tests/Makefile.am | 3 +-
22006 tests/test_pygtkcompat.py | 77 +++++++++
22007 4 files changed, 502 insertions(+), 2 deletions(-)
22009 commit 680a2e04ac4f80ad16e820d3f753519477c988aa
22010 Author: Johan Dahlin <johan@gnome.org>
22011 Date: Wed Mar 14 15:20:53 2012 -0300
22013 Add bw-compatible arguments to Gtk.Adjustment
22015 The argument used to be called page/step_incr, if they
22016 are found map them to the existing properties for extra
22019 https://bugzilla.gnome.org/show_bug.cgi?id=672087
22021 gi/overrides/Gtk.py | 8 +++++++-
22022 1 file changed, 7 insertions(+), 1 deletion(-)
22024 commit fbd21ee7176bc1b70547ea464b512c8ffd674187
22025 Author: Johan Dahlin <johan@gnome.org>
22026 Date: Wed Mar 14 17:13:04 2012 -0300
22028 GtkTreePath: make it iterable
22030 https://bugzilla.gnome.org/show_bug.cgi?id=672093
22032 gi/overrides/Gtk.py | 3 +++
22033 tests/test_overrides.py | 2 ++
22034 2 files changed, 5 insertions(+)
22036 commit a7b08cb75541612c78d123b1d968be7874e3c481
22037 Author: Johan Dahlin <johan@gnome.org>
22038 Date: Wed Mar 14 13:32:31 2012 -0300
22040 Add a default argument to TreeModelFilter.set_visible_func()
22042 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22044 gi/overrides/Gtk.py | 14 ++++++++++++++
22045 1 file changed, 14 insertions(+)
22047 commit 02950cabb38b1b3c9378c42c069eefdbccbce17d
22048 Author: Johan Dahlin <johan@gnome.org>
22049 Date: Wed Mar 14 13:31:41 2012 -0300
22051 Add a default argument to Gtk.TreeView.set_cursor
22053 And also make sure that the path is a Gtk.TreePath.
22055 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22057 gi/overrides/Gtk.py | 4 ++++
22058 tests/test_overrides.py | 10 ++++++++++
22059 2 files changed, 14 insertions(+)
22061 commit 7245bd0ae3f6243c79fa8543a0ed1e50e5015844
22062 Author: Johan Dahlin <johan@gnome.org>
22063 Date: Wed Mar 14 13:31:06 2012 -0300
22065 Add a default argument to Pango.Context.get_metrics()
22067 https://bugzilla.gnome.org/show_bug.cgi?id=672081
22069 gi/overrides/Pango.py | 9 +++++++++
22070 1 file changed, 9 insertions(+)
22072 commit bc1fd8814df6c1e85b586d0fb943c89f7e2b78b5
22073 Author: Martin Pitt <martin.pitt@ubuntu.com>
22074 Date: Fri Mar 16 13:27:56 2012 +0100
22076 Fix double-freeing GValues in arrays
22078 When marshalling a GValue array to C, the GValue items are copied
22080 GValue array, not a C GValue pointer
22081 array. _pygi_marshal_from_py_array()
22082 already calls the cleanup_func for the original item;
22083 _pygi_marshal_cleanup_from_py_array() must not do it again, as this
22085 to g_slice_free the array item.
22087 https://bugzilla.gnome.org/show_bug.cgi?id=672224
22089 gi/pygi-marshal-from-py.c | 7 ++++++-
22090 1 file changed, 6 insertions(+), 1 deletion(-)
22092 commit a906b7d1947ba905f959d3f738eb6c29b02f96e7
22093 Author: Simon Feltman <s.feltman@gmail.com>
22094 Date: Fri Mar 16 00:29:31 2012 -0700
22096 Renamed "property" class to "Property"
22098 Renamed to match the rest of the class names in GObject and also
22099 not clobber the builtin python property.
22101 Keep the old "property" identifier for backwards compatibility
22104 https://bugzilla.gnome.org/show_bug.cgi?id=672168
22106 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22108 examples/properties.py | 6 +--
22109 gi/_gobject/__init__.py | 7 ++--
22110 gi/_gobject/propertyhelper.py | 12 +++---
22111 tests/test_interface.py | 4 +-
22112 tests/test_properties.py | 94
22113 +++++++++++++++++++++----------------------
22114 5 files changed, 62 insertions(+), 61 deletions(-)
22116 commit d7d28d717e38c0546529b09b8b571a5cc631c5b5
22117 Author: Martin Pitt <martin.pitt@ubuntu.com>
22118 Date: Wed Mar 14 22:52:47 2012 +0100
22120 Fix Python to C marshalling of GValue arrays
22122 For GValues we cannot just copy the GValue memory in
22123 _pygi_marshal_from_py_array(), as the from_py_cleanup() function
22125 releases the GValue and with it its v_pointer. Use g_value_copy()
22129 This uncovered another bug in _pygi_marshal_cleanup_from_py_array():
22131 assumed that C arrays contained pointers, but this is not the case
22133 arrays: these are actual struct arrays, not struct pointer arrays
22135 construction in _pygi_marshal_from_py_array()). Check if an array
22137 pointers or values and compute the correct array item pointer for
22140 Also add a corresponding test case for marshalling GValue arrays
22142 Python, which works fine.
22144 https://bugzilla.gnome.org/show_bug.cgi?id=672065
22146 gi/pygi-marshal-cleanup.c | 19 ++++++++++++++-----
22147 gi/pygi-marshal-from-py.c | 13 ++++++++++++-
22148 tests/test_gi.py | 8 ++++++++
22149 3 files changed, 34 insertions(+), 6 deletions(-)
22151 commit 27ac9c1de6487035b18ef4511c155d251cb6d39d
22152 Author: Johan Dahlin <johan@gnome.org>
22153 Date: Fri Mar 16 09:59:57 2012 +0100
22155 Correct the Gtk.Window hierarchy
22157 We need to make sure that all Gtk.Dialog subclasses inherit from
22158 the overridden Window class. For that to be done automaticly we need
22159 to create the Window class before the Dialog class.
22161 Now when it's inherited properly we need to avoid calling the Window
22162 constructor twice as it passes in a construct-only parameter. So add
22163 **kwargs to the Window constructor to allow us to pass in any kind
22164 of GObject property to it and refactor the Dialog subclasses to pass
22165 in all properties to the same constructor.
22167 Also adds a bunch of tests to make sure that the hiearchy is correct.
22169 https://bugzilla.gnome.org/show_bug.cgi?id=672158
22171 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22173 gi/overrides/Gtk.py | 56
22174 ++++++++++++++++++++++++-------------------------
22175 tests/test_overrides.py | 35 +++++++++++++++++++++++++++++--
22176 2 files changed, 61 insertions(+), 30 deletions(-)
22178 commit 77ab27ab8a580d98f76730f075e083e1e870f55e
22179 Author: simon <simon@gerty>
22180 Date: Tue Mar 13 01:41:53 2012 -0700
22182 Renamed getter/setter instance attributes to fget/fset respectively.
22184 The python 'property' class allows for decoration of methods using
22185 .getter and .setter. These were added as methods to the
22187 class to match that of the python property class and allow for
22191 In addition, __call__ was added to allow an instantiated decorator
22193 args to also decorate a method:
22195 class C(GObject.GObject):
22197 @GObject.property(type=int, default=0)
22201 def propInt(self, value):
22202 self._value = value
22204 https://bugzilla.gnome.org/show_bug.cgi?id=586181
22206 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22208 gi/_gobject/__init__.py | 10 ++++----
22209 gi/_gobject/propertyhelper.py | 59
22210 +++++++++++++++++++++++++++++++------------
22211 tests/test_properties.py | 41 ++++++++++++++++++++++++++++++
22212 3 files changed, 89 insertions(+), 21 deletions(-)
22214 commit 174a61fb3149c07dab5cc35e64825922cdefcb95
22215 Author: Johan Dahlin <johan@gnome.org>
22216 Date: Tue Mar 13 17:10:13 2012 -0300
22218 Add Gtk.Arrow/Gtk.Window constructor override
22220 Adds argument that makes them compatible with PyGTK.
22222 https://bugzilla.gnome.org/show_bug.cgi?id=672045
22224 gi/overrides/Gtk.py | 17 +++++++++++++++++
22225 1 file changed, 17 insertions(+)
22227 commit 7746d2188ac4933c2c9011d84525d1e62fc18953
22228 Author: Michel Dänzer <michel@daenzer.net>
22229 Date: Fri Mar 9 12:26:53 2012 +0100
22231 Fix marshalling to/from Python to work on big endian machines.
22233 https://bugzilla.gnome.org/show_bug.cgi?id=668903
22235 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22237 gi/pygi-argument.c | 25 ++++++++++++++++---------
22238 gi/pygi-marshal-from-py.c | 32 +++++++++++++++++++++++++-------
22239 gi/pygi-marshal-to-py.c | 19 +++++++++++++++++++
22240 3 files changed, 60 insertions(+), 16 deletions(-)
22242 commit 0591cc6f160ae6e9d8c3970934ae105ef340d7d3
22243 Author: Michel Dänzer <michel@daenzer.net>
22244 Date: Thu Mar 8 12:21:28 2012 +0100
22246 Use gi_cclosure_marshal_generic instead of duplicating it.
22248 Bump gobject-introspection dependency to ensure that we have the
22252 https://bugzilla.gnome.org/show_bug.cgi?id=668903
22254 Signed-off-by: Michel Dänzer <michel@daenzer.net>
22255 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22257 configure.ac | 3 +-
22258 gi/_gobject/Makefile.am | 7 +-
22259 gi/_gobject/ffi-marshaller.c | 194
22260 -------------------------------------------
22261 gi/_gobject/ffi-marshaller.h | 31 -------
22262 gi/_gobject/gobjectmodule.c | 12 +--
22263 5 files changed, 4 insertions(+), 243 deletions(-)
22265 commit 8ca828825a2c47080055c5f986979aac8da9a93f
22266 Author: René Stadler <rene.stadler@collabora.co.uk>
22267 Date: Mon Mar 5 21:10:55 2012 +0100
22269 Override Gtk.TreeView.get_visible_range to fix return
22271 Just like IconView.
22273 https://bugzilla.gnome.org/show_bug.cgi?id=671409
22275 gi/overrides/Gtk.py | 5 +++++
22276 1 file changed, 5 insertions(+)
22278 commit 4824ceaa77b59788325a2c1ee0f994d4e74d7a1c
22279 Author: Paolo Borelli <pborelli@gnome.org>
22280 Date: Sun Mar 4 16:41:18 2012 +0100
22282 Plug memory leak in _is_union_member
22284 When we found the member, unref the objects before breaking out of the
22287 gi/pygi-marshal-from-py.c | 9 +++------
22288 1 file changed, 3 insertions(+), 6 deletions(-)
22290 commit c6ae29ac157978a61b11cc2de9e8485d8a175105
22291 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22292 Date: Tue Feb 21 15:37:18 2012 +0100
22294 tests: Split TestInterfaces into separate tests
22296 tests/test_gi.py | 36 +++++++++++++++++++-----------------
22297 1 file changed, 19 insertions(+), 17 deletions(-)
22299 commit de3299818ae5fdf1c7abbe05a36bfd5cdface7b8
22300 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22301 Date: Mon Feb 20 19:37:32 2012 +0100
22303 Post release version bump to 3.1.2
22305 configure.ac | 2 +-
22306 1 file changed, 1 insertion(+), 1 deletion(-)
22308 commit fd020e783c0dacea3320225b4ddd57d6a0fce7ea
22309 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22310 Date: Mon Feb 20 19:33:56 2012 +0100
22312 Prepare 3.1.1 release
22314 NEWS | 18 ++++++++++++++++++
22315 1 file changed, 18 insertions(+)
22317 commit 99485d96811667ef7a7a393b68b7361733157d61
22318 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22319 Date: Sat Feb 18 00:38:05 2012 +0100
22321 Don't use C99 style
22323 gi/pygi-cache.c | 3 ++-
22324 1 file changed, 2 insertions(+), 1 deletion(-)
22326 commit 0739c39f6282d95fc17ee406fa1151d074b0450d
22327 Author: Martin Pitt <martin.pitt@ubuntu.com>
22328 Date: Thu Feb 16 16:42:53 2012 +0100
22330 Add test for GPtrArray with transfer full
22332 This complements the already existing test for a "transfer container"
22334 array. We can't verify the internal refcount as these arrays get
22336 internally, but at least we can verify that it does not crash due to
22339 tests/test_everything.py | 10 +++++++++-
22340 1 file changed, 9 insertions(+), 1 deletion(-)
22342 commit 087a104f66793a981a0c02f1c7ab9cc1cf659da3
22343 Author: Martin Pitt <martin.pitt@ubuntu.com>
22344 Date: Wed Feb 15 13:36:39 2012 +0100
22346 Drop obsolete g_thread_init()
22348 Not necessary any more since glib 2.24, and we depend on 2.31.
22350 gi/_glib/pyglib.c | 3 ---
22351 1 file changed, 3 deletions(-)
22353 commit 66fb610e45912a7def29e5848577d280ef55643a
22354 Author: Martin Pitt <martin.pitt@ubuntu.com>
22355 Date: Wed Feb 15 13:35:33 2012 +0100
22357 Fix deprecated g_source_get_current_time()
22359 Use g_get_real_time() instead as recommended by the
22360 documentation. This also
22361 simplifies the code.
22363 gi/_glib/pygsource.c | 4 +---
22364 1 file changed, 1 insertion(+), 3 deletions(-)
22366 commit 18342edded05d3d9cccf648ed92bc1cac95c51eb
22367 Author: Martin Pitt <martin.pitt@ubuntu.com>
22368 Date: Wed Feb 15 13:31:23 2012 +0100
22370 Fix deprecated g_value_[gs]et_char()
22372 Replace with _schar(). We depend on glib >= 2.31 already.
22374 gi/_gobject/ffi-marshaller.c | 2 +-
22375 gi/_gobject/pygtype.c | 6 +++---
22376 gi/pygi-argument.c | 2 +-
22377 3 files changed, 5 insertions(+), 5 deletions(-)
22379 commit 3dfb8dcbe7cf09dc170433fc48d3273c6ea9448e
22380 Author: Simon Schampijer <simon@schampijer.de>
22381 Date: Thu Feb 2 19:06:01 2012 +0100
22383 Make pygiconvert.sh correctly convert gtk.gdk.x11_*
22385 Looking at the gir file gtk.gdk.x11_* should get converted to
22386 GdkX11.x11_*. Fixing pygiconvert.sh to do so.
22388 pygi-convert.sh | 2 +-
22389 1 file changed, 1 insertion(+), 1 deletion(-)
22391 commit 3af5016978df598d5fd1c225cc49bb2c04dc4e35
22392 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22393 Date: Fri Feb 10 13:29:41 2012 +0100
22395 Raise required glib version to 2.31 because of g_value_(get|set)_schar
22397 Commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89 introduced both calls
22399 configure.ac | 6 +++---
22400 1 file changed, 3 insertions(+), 3 deletions(-)
22402 commit 50c3b1bad3ea79750649f4b48fce0adbfaba5268
22403 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
22404 Date: Fri Feb 10 09:28:36 2012 +0100
22406 Fix cset_first typo
22408 https://bugzilla.gnome.org/show_bug.cgi?id=649267
22410 gi/_gobject/pygparamspec.c | 2 +-
22411 1 file changed, 1 insertion(+), 1 deletion(-)
22413 commit 6ab542fb3ec1031922ba65664d77bbaac0df453e
22414 Author: Bastian Winkler <buz@netbuz.org>
22415 Date: Mon Nov 14 14:41:08 2011 +0100
22417 pygi-convert: Handle Clutter and Cogl
22419 https://bugzilla.gnome.org/show_bug.cgi?id=664496
22421 pygi-convert.sh | 76
22422 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22423 1 file changed, 76 insertions(+)
22425 commit 4aeb27efc43e131de5d0bc0f60dca7c1d34c3d45
22426 Author: Cédric Krier <cedric.krier@b2ck.com>
22427 Date: Fri Feb 10 09:04:18 2012 +0100
22429 Provide access to gpointer struct values
22431 https://bugzilla.gnome.org/show_bug.cgi?id=668356
22433 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22435 gi/pygi-argument.c | 3 ++-
22436 gi/pygi-info.c | 13 +++++++++++++
22437 tests/test_everything.py | 21 +++++++++++++++++++++
22438 3 files changed, 36 insertions(+), 1 deletion(-)
22440 commit 5c0b20cc1a261cb7430a5251dffe60da698033b5
22441 Author: Paolo Borelli <pborelli@gnome.org>
22442 Date: Thu Feb 9 18:15:42 2012 +0100
22444 Add some GType tests
22446 Use what was recently added in g-i
22448 tests/test_gi.py | 17 +++++++++++++++--
22449 1 file changed, 15 insertions(+), 2 deletions(-)
22451 commit ea7778f6f37a6fc38f88d89d4b6cae8be0ed9753
22452 Author: Paolo Borelli <pborelli@gnome.org>
22453 Date: Thu Feb 9 18:14:52 2012 +0100
22455 Split GStrv and array variant tests in their own classes
22457 Also tidy up the spacing a bit
22459 tests/test_gi.py | 29 +++++++++++++++++++++++------
22460 1 file changed, 23 insertions(+), 6 deletions(-)
22462 commit db7f9be319d3cf52aef300fbac60cabb7ff57276
22463 Author: Paolo Borelli <pborelli@gnome.org>
22464 Date: Wed Feb 8 22:23:30 2012 +0100
22466 Add unit test for builder's connect_after
22468 tests/test_overrides.py | 8 ++++++++
22469 1 file changed, 8 insertions(+)
22471 commit 671f9b0dd73ac41a84caf9d1f04cec351bc01b47
22472 Author: Ryan Lortie <desrt@desrt.ca>
22473 Date: Wed Feb 8 16:06:22 2012 -0500
22475 fix GtkBuilder signal connection 'after' logic
22477 All GtkBuilder signals are presently being connected 'after', ignoring
22478 what is specified in the builder XML. This is due to an obvious logic
22481 https://bugzilla.gnome.org/show_bug.cgi?id=669705
22483 gi/overrides/Gtk.py | 2 +-
22484 1 file changed, 1 insertion(+), 1 deletion(-)
22486 commit 1d23d8006be98b77a0134fddd23b76df05e489fa
22487 Author: Patrick Welche <prlw1@cam.ac.uk>
22488 Date: Tue Feb 7 11:49:58 2012 +0000
22490 test(1) uses '=' to test if strings are identical
22492 https://bugzilla.gnome.org/show_bug.cgi?id=669598
22494 m4/python.m4 | 6 +++---
22495 1 file changed, 3 insertions(+), 3 deletions(-)
22497 commit 945fd18e531c2131440af93dcd89f6c63abbfd7c
22498 Author: Ryan Lortie <desrt@desrt.ca>
22499 Date: Tue Feb 7 13:42:19 2012 -0500
22501 pygspawn: improve error checking
22503 gspawn 'argv' and 'envp' parameters expect sequences of strings. This
22504 is enforced by checking that the passed argument is a sequence
22506 each item returned from it is a string.
22508 We do now, however, verify that each item can be successfully
22510 the sequence. 'os.environ' is an example of an object that passes
22511 PySequence_Check() but fails to return objects from PySequence_ITEM().
22513 Add a simple NULL check to avoid the crash.
22515 https://bugzilla.gnome.org/show_bug.cgi?id=669594
22517 gi/_glib/pygspawn.c | 4 ++--
22518 1 file changed, 2 insertions(+), 2 deletions(-)
22520 commit 8fc969c45d6d720400dc6c9ef391d0ca93f14b5a
22521 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22522 Date: Mon Feb 6 19:15:53 2012 +0100
22524 Post release version bump to 3.1.1
22526 configure.ac | 2 +-
22527 1 file changed, 1 insertion(+), 1 deletion(-)
22529 commit f76b2fe6d37be76bf129ee2adee90b2cc0eee56e
22530 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22531 Date: Mon Feb 6 19:11:52 2012 +0100
22533 Prepare 3.1.0 release
22535 NEWS | 34 ++++++++++++++++++++++++++++++++++
22536 1 file changed, 34 insertions(+)
22538 commit c09d0dffc5a570d5ae4df1ae07b2e5594c3ca1bf
22539 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22540 Date: Mon Feb 6 19:04:41 2012 +0100
22542 Updated DOAP file to only include people currently actively working
22545 Removed obsolete MAINTAINERS file
22547 MAINTAINERS | 19 -------------------
22548 pygobject.doap | 44 +++++++++++++++-----------------------------
22549 2 files changed, 15 insertions(+), 48 deletions(-)
22551 commit 0285e107be581c4d594127dc06cd05df1f02fb3f
22552 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22553 Date: Mon Feb 6 18:57:01 2012 +0100
22555 Revert "Convert all strings to utf-8 encoding when retrieving from
22558 This reverts commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706.
22560 Due to this commit breaking backwards compatability, we decided to
22563 gi/overrides/Gtk.py | 15 ---------------
22564 tests/compathelper.py | 2 --
22565 tests/test_overrides.py | 31 +------------------------------
22566 3 files changed, 1 insertion(+), 47 deletions(-)
22568 commit 0e921cd26ed5a6e3bc6ef5f553e8b22b862d72a6
22569 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22570 Date: Sun Feb 5 13:47:10 2012 +0100
22572 tests: Fixed issues with python3
22574 tests/test_gi.py | 9 ++++++---
22575 1 file changed, 6 insertions(+), 3 deletions(-)
22577 commit ee62df4d2fc0cc63c2f29d3ad9b47b875dbd5f89
22578 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22579 Date: Sun Feb 5 11:59:51 2012 +0100
22581 Properly distinguish between different integer types for properties
22583 https://bugzilla.gnome.org/show_bug.cgi?id=664150
22585 gi/pygi-property.c | 48 ++++++++++++++++++++++++++++++++++++++----
22586 tests/test_gi.py | 62
22587 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
22588 2 files changed, 106 insertions(+), 4 deletions(-)
22590 commit c329bf2aee8d75ce452638db75e09197ff2b9b65
22591 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22592 Date: Sun Feb 5 11:46:21 2012 +0100
22594 Distinguish between GArray and GPtrArray when cleaning up
22596 This fixes a crash in test_gi.TestGPtrArray and makes sure
22597 memory is free'd correctly
22599 https://bugzilla.gnome.org/show_bug.cgi?id=669393
22601 gi/pygi-marshal-cleanup.c | 32 +++++++++++++++++++++++---------
22602 1 file changed, 23 insertions(+), 9 deletions(-)
22604 commit 4ea37c606f67df843788261b2c8acd6bac4c1e0c
22605 Author: Paolo Borelli <pborelli@gnome.org>
22606 Date: Sun Feb 5 18:51:53 2012 +0100
22608 Add null_gerror_callback unit test
22610 This models the case where the callback is successful and does not set
22613 https://bugzilla.gnome.org/show_bug.cgi?id=669415
22615 tests/test_everything.py | 9 +++++++++
22616 1 file changed, 9 insertions(+)
22618 commit a41984780ee49dcf02c718ca1be87bba747472e5
22619 Author: Martin Pitt <martin.pitt@ubuntu.com>
22620 Date: Mon Feb 6 09:34:28 2012 +0100
22622 pyglib_error_check: Re-add missing NULL check
22624 Commit adcfe96d49b09bc accidentally dropped the check if *error is
22626 any error is actually set. Due to that, pyglib_error_check()
22628 TRUE. Reintroduce the check.
22630 Thanks to Alberto Mardegan for spotting this!
22632 https://bugzilla.gnome.org/show_bug.cgi?id=669415
22634 gi/_glib/pyglib.c | 2 ++
22635 1 file changed, 2 insertions(+)
22637 commit 2c797c17913999379e277788d5e4cce8d68cebb0
22638 Author: Michael Culbertson <michael.culbertson@gmail.com>
22639 Date: Sat Feb 4 16:11:34 2012 +0100
22641 Add tests/runtests-windows.py to source tarball
22643 https://bugzilla.gnome.org/show_bug.cgi?id=663288
22645 tests/Makefile.am | 1 +
22646 1 file changed, 1 insertion(+)
22648 commit d6a899cdf70e978534326155e3fad75a705f4b20
22649 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22650 Date: Sat Feb 4 15:55:55 2012 +0100
22652 Don't issue a depreciation warning for GtkDialog's NO_SEPARATOR flag,
22655 https://bugzilla.gnome.org/show_bug.cgi?id=665553
22657 gi/overrides/Gtk.py | 6 ++----
22658 1 file changed, 2 insertions(+), 4 deletions(-)
22660 commit 534ec71c575a279ff1c05da20a8858bb1145b4d0
22661 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
22662 Date: Sat Feb 4 15:42:36 2012 +0100
22664 Fix bool() operations on GLib.Variant objects
22666 Defines __nonzero__ (python2) and __bool__ (python3) for GLib.Variant
22668 Also adds some tests for boolean comparisons.
22670 https://bugzilla.gnome.org/show_bug.cgi?id=647723
22672 gi/overrides/GLib.py | 18 ++++++++++++++++++
22673 tests/test_overrides.py | 45
22674 +++++++++++++++++++++++++++++++++++++++++++++
22675 2 files changed, 63 insertions(+)
22677 commit 8d6a127df5dd1e5f26faeba8f977074b4496b24f
22678 Author: Nirbheek Chauhan <nirbheek@gentoo.org>
22679 Date: Sat Feb 4 15:41:08 2012 +0100
22681 Fix hash() and __eq__() for GLib.Variant objects
22683 Define __hash__, __eq__, __ne__ for GLib.Variant so that objects can
22684 be used in sets, dicts, and can be compared using == and != easily.
22686 Also adds some tests for this.
22688 https://bugzilla.gnome.org/show_bug.cgi?id=647725
22690 gi/overrides/GLib.py | 23 ++++++++++++++++++++
22691 tests/test_overrides.py | 56
22692 +++++++++++++++++++++++++++++++++++++++++++++++++
22693 2 files changed, 79 insertions(+)
22695 commit f82404034be042bf2026bbb7f1e33b11d6e17a6f
22696 Author: Martin Pitt <martin.pitt@ubuntu.com>
22697 Date: Wed Jan 25 07:01:06 2012 +0100
22699 Fix method names of callback tests
22701 Change test_everything.TestCallbacks.* test names from camelCase
22703 standard PEP-8 underscore_style. This is now consistent with all
22707 tests/test_everything.py | 30 +++++++++++++++---------------
22708 1 file changed, 15 insertions(+), 15 deletions(-)
22710 commit e37ee78fbf0aa72159a40da4165a26bea065faf1
22711 Author: Will Thompson <will.thompson@collabora.co.uk>
22712 Date: Mon Jan 23 13:10:30 2012 +0000
22714 Cairo: add missing braces around array-of-struct definition
22716 This triggered a -Wmissing-braces warning.
22718 https://bugzilla.gnome.org/show_bug.cgi?id=668497
22720 gi/pygi-foreign-cairo.c | 2 +-
22721 1 file changed, 1 insertion(+), 1 deletion(-)
22723 commit db24865d6b60351d72f5b8f47103d6d0a6c63b2e
22724 Author: Will Thompson <will.thompson@collabora.co.uk>
22725 Date: Mon Jan 23 13:06:41 2012 +0000
22727 g_instance_init: cast to PyGObject * as needed
22729 This squashes a compiler warning.
22731 https://bugzilla.gnome.org/show_bug.cgi?id=668497
22733 gi/_gobject/gobjectmodule.c | 2 +-
22734 1 file changed, 1 insertion(+), 1 deletion(-)
22736 commit a8408cfd68cd5e7cdb0b8a83e107d9a0d828e4bd
22737 Author: Will Thompson <will.thompson@collabora.co.uk>
22738 Date: Mon Jan 23 13:01:27 2012 +0000
22740 Fix a few set-but-not-used warnings.
22742 In a couple of cases, the variable in question was set to a value
22743 spelled out again later in the function.
22745 The 'sequence_cache' variable is re-declared five lines below.
22747 The return value of 'read' was previously completely ignored. The
22748 'gssize ret' variable was in fact added to squash an unused-result
22751 https://bugzilla.gnome.org/show_bug.cgi?id=668497
22753 gi/_glib/pygiochannel.c | 2 +-
22754 gi/_glib/pygmainloop.c | 3 +--
22755 gi/_gobject/pygobject.c | 2 +-
22756 gi/pygi-marshal-cleanup.c | 2 --
22757 4 files changed, 3 insertions(+), 6 deletions(-)
22759 commit 29a30490ed51e347e8f57d2bf9af69400734eee8
22760 Author: Stefano Facchini <stefano.facchini@gmail.com>
22761 Date: Thu Jan 19 18:09:07 2012 +0100
22763 pygmainloop: allow for extra arguments in 'quit' method
22765 To allow for the common syntax:
22767 object.connect('signal-name', main_loop.quit)
22769 https://bugzilla.gnome.org/show_bug.cgi?id=668288
22771 gi/_glib/pygmainloop.c | 4 ++--
22772 1 file changed, 2 insertions(+), 2 deletions(-)
22774 commit 557a61c12c01137a0d7c679c4b053973df09d445
22775 Author: Alexandre Rostovtsev <tetromino@gentoo.org>
22776 Date: Mon Dec 26 00:44:56 2011 -0500
22778 Fix bytearray test compatibility with python3
22780 https://bugs.gentoo.org/show_bug.cgi?id=321879
22782 https://bugzilla.gnome.org/show_bug.cgi?id=666852
22784 tests/test_gi.py | 4 ++--
22785 1 file changed, 2 insertions(+), 2 deletions(-)
22787 commit d69e5b3c7bdb9113382fd125c256b12bff4c24d2
22788 Author: Alberto Mardegan <mardy@users.sourceforge.net>
22789 Date: Mon Jan 23 12:37:26 2012 +0200
22791 Respect transfer-type when demarshalling GErrors
22793 The marshaller previously ignored "transfer full" on GError*
22795 crashes due to double-freeing them. This causes the
22796 testCallbackUserdata() test
22797 case to crash after the previous GError/GHashTable marshalling fix.
22799 https://bugzilla.gnome.org/show_bug.cgi?id=666270
22801 gi/pygi-argument.c | 12 +++++++++++-
22802 1 file changed, 11 insertions(+), 1 deletion(-)
22804 commit 77f32d9110bfeb6dad8457f565b4c70b5998fef6
22805 Author: Alberto Mardegan <mardy@users.sourceforge.net>
22806 Date: Thu Dec 15 16:12:01 2011 +0200
22808 Support GHashTable and GError as callback/closure arguments
22810 Marshalling of these types from C is already implemented, let's
22812 into use for calbacks and closures too.
22814 Add corresponding test cases.
22816 https://bugzilla.gnome.org/show_bug.cgi?id=666270
22818 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22820 gi/pygi-closure.c | 2 ++
22821 tests/test_everything.py | 35 +++++++++++++++++++++++++++++++++++
22822 2 files changed, 37 insertions(+)
22824 commit 4b9dc03d0e49e9a1f4bf0f2df503bdff00d13a2b
22825 Author: Will Thompson <will.thompson@collabora.co.uk>
22826 Date: Mon Jan 23 13:56:02 2012 +0000
22828 Don't leak when marshalling GErrors to C
22830 Python-land GLib.GErrors are supposed to have three attributes:
22831 "message", "domain" and "code". If those attributes are missing,
22833 have the wrong types, the C GError is filled in with a message
22834 describing the error. The present-but-ill-typed code paths did not
22835 DECREF the ill-typed values.
22837 https://bugzilla.gnome.org/show_bug.cgi?id=666098
22839 gi/_glib/pyglib.c | 3 +++
22840 1 file changed, 3 insertions(+)
22842 commit adcfe96d49b09bcc550653d73de196610fd5144d
22843 Author: Will Thompson <will.thompson@collabora.co.uk>
22844 Date: Fri Jan 20 16:20:10 2012 +0000
22846 Support functions which return GError
22848 GStreamer has the following method:
22850 void gst_message_parse_error (
22851 GstMessage *message,
22853 gchar **debug_message);
22855 With this patch, we marshal the GError out parameter as a
22857 exception, but return it rather than throwing it. The test cases cover
22858 two variations on the theme of the function above (one with (transfer
22859 full), as in GStreamer, and another with (transfer none)) as well as a
22860 function with return type GError *.
22862 https://bugzilla.gnome.org/show_bug.cgi?id=666098
22864 gi/_glib/pyglib.c | 46
22865 +++++++++++++++++++++++++++++++++++-----------
22866 gi/_glib/pyglib.h | 1 +
22867 gi/pygi-marshal-to-py.c | 16 +++++++++++++---
22868 tests/test_gi.py | 32 ++++++++++++++++++++++++++++++++
22869 4 files changed, 81 insertions(+), 14 deletions(-)
22871 commit 09f003729eac9d553a208c343c2a14d253b77d9a
22872 Author: Alberto Mardegan <mardy@users.sourceforge.net>
22873 Date: Mon Jan 23 12:42:21 2012 +0200
22875 Fix indentation of _pygi_argument_to_object()
22877 Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
22879 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
22881 gi/pygi-argument.c | 26 +++++++++++++-------------
22882 1 file changed, 13 insertions(+), 13 deletions(-)
22884 commit c71c010be01d706f90bc200194325fd82f4071b2
22885 Author: Paolo Borelli <pborelli@gnome.org>
22886 Date: Sat Jan 14 14:24:23 2012 +0100
22890 gi/gimodule.c | 10 ++++++----
22891 1 file changed, 6 insertions(+), 4 deletions(-)
22893 commit c299d058c22385ececaec64c872d1dd1bc1ae17a
22894 Author: Paolo Borelli <pborelli@gnome.org>
22895 Date: Fri Jan 6 13:39:31 2012 +0100
22897 Connect to first action of a radio group.
22899 gi/overrides/Gtk.py | 4 ++--
22900 1 file changed, 2 insertions(+), 2 deletions(-)
22902 commit dee2f179037902a3883bd0e61ff1c350e1fd8a4f
22903 Author: Paolo Borelli <pborelli@gnome.org>
22904 Date: Wed Jan 4 16:40:51 2012 +0100
22906 Use g_slist_free_full in pygi-closure.
22908 gi/pygi-closure.c | 3 +--
22909 1 file changed, 1 insertion(+), 2 deletions(-)
22911 commit 2bee4207ab6f07dc9c0952affe72f0e304cfb624
22912 Author: Paolo Borelli <pborelli@gnome.org>
22913 Date: Wed Jan 4 15:24:13 2012 +0100
22915 Avoid O(n^2) behavior when marshalling lists
22917 Appending requires walking the list every time: just prepend and
22919 the list at the end.
22921 https://bugzilla.gnome.org/show_bug.cgi?id=667261
22923 gi/pygi-marshal-from-py.c | 8 ++++----
22924 1 file changed, 4 insertions(+), 4 deletions(-)
22926 commit d68455e99b1a9ebba31209b17a11317b1958678b
22927 Author: Paolo Borelli <pborelli@gnome.org>
22928 Date: Tue Jan 3 16:57:40 2012 +0100
22930 Handle NULL as a valid case of a char** array
22932 Treat NULL as an empty array and add the corresponding testcase
22934 gi/pygi-marshal-to-py.c | 9 +++++----
22935 tests/test_gi.py | 3 +++
22936 2 files changed, 8 insertions(+), 4 deletions(-)
22938 commit e3451b8e6018bb76e9992fb6af24a71725de5cfd
22939 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22940 Date: Fri Dec 23 12:01:43 2011 +0100
22942 Branching, bump version to 3.1.0
22944 configure.ac | 4 ++--
22945 1 file changed, 2 insertions(+), 2 deletions(-)
22947 commit 8d1a36cc73f5f4df091ecb289c8a7b38ec2ab605
22948 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22949 Date: Mon Dec 12 18:35:30 2011 +0100
22951 Add notes about branching to HACKING
22953 HACKING | 10 ++++++++++
22954 1 file changed, 10 insertions(+)
22956 commit 00030bc6f0fb961c716ed692144cd8e4bb9be7d0
22957 Author: Sebastian Pölsterl <sebp@k-d-w.org>
22958 Date: Sat Dec 10 12:51:45 2011 +0100
22960 Fixed bug where GObject.property did not respect minimum and maximum
22963 https://bugzilla.gnome.org/show_bug.cgi?id=664864
22965 gi/_gobject/propertyhelper.py | 2 +-
22966 tests/test_properties.py | 31 +++++++++++++++++++++++++++++++
22967 2 files changed, 32 insertions(+), 1 deletion(-)
22969 commit 7b78abc6c399abd0daa4c11c644d107e1bb7b452
22970 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22971 Date: Mon Dec 12 17:00:24 2011 +0100
22973 Remove mention of removed option --enable-docs
22976 1 file changed, 1 insertion(+), 1 deletion(-)
22978 commit 4cba52f5b5e79b7b6212cb0795e8976a9da9f21d
22979 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22980 Date: Mon Dec 12 17:00:03 2011 +0100
22982 Fix sebp's name in NEWS
22985 1 file changed, 1 insertion(+), 1 deletion(-)
22987 commit 8c95981d0ba224a577f87998030c384b3dae3d80
22988 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22989 Date: Mon Dec 12 16:20:09 2011 +0100
22993 NEWS | 15 +++++++++++++++
22994 1 file changed, 15 insertions(+)
22996 commit 58e47fd28c5d75bb78042c8f9eb5aae84de9c64d
22997 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
22998 Date: Mon Dec 12 16:16:44 2011 +0100
23000 Pre-release version bump
23002 configure.ac | 2 +-
23003 1 file changed, 1 insertion(+), 1 deletion(-)
23005 commit 884468d4816fc976c0c0c72651e7f81d13f3f78b
23006 Author: Manuel Quiñones <manuq@laptop.org>
23007 Date: Thu Dec 1 11:50:38 2011 -0300
23009 Convert all modifier constants to Gdk.ModifierType
23011 Signed-off-by: Manuel Quiñones <manuq@laptop.org>
23013 pygi-convert.sh | 14 ++++++++++++++
23014 1 file changed, 14 insertions(+)
23016 commit 654711d0f940d7480d0f1cdb25a3dc9996f7a706
23017 Author: Sebastian Pölsterl <sebp@k-d-w.org>
23018 Date: Tue Nov 8 12:38:12 2011 +0100
23020 Convert all strings to utf-8 encoding when retrieving from TreeModel
23022 https://bugzilla.gnome.org/show_bug.cgi?id=663610
23024 gi/overrides/Gtk.py | 15 +++++++++++++++
23025 tests/compathelper.py | 2 ++
23026 tests/test_overrides.py | 31 ++++++++++++++++++++++++++++++-
23027 3 files changed, 47 insertions(+), 1 deletion(-)
23029 commit 4f637212f13b197a95c824967a58496b9e3b877c
23030 Author: John (J5) Palmieri <johnp@redhat.com>
23031 Date: Wed Nov 2 14:51:24 2011 -0400
23033 add test for bytearray variants
23035 tests/test_gi.py | 4 ++++
23036 1 file changed, 4 insertions(+)
23038 commit 20ca3f129d6cc662285cce8c732b55596016aefa
23039 Author: John (J5) Palmieri <johnp@redhat.com>
23040 Date: Wed Nov 2 14:50:42 2011 -0400
23042 handle NULL arrays correctly for each array type
23044 gi/pygi-marshal-to-py.c | 11 ++++++-----
23045 1 file changed, 6 insertions(+), 5 deletions(-)
23047 commit ce2f780bffe44b1d4de617dcbce4b90c58b03c18
23048 Author: John (J5) Palmieri <johnp@redhat.com>
23049 Date: Wed Nov 2 14:17:21 2011 -0400
23051 Revert "Revert "Fix array termination and size calculation""
23053 This reverts commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4.
23055 gi/pygi-marshal-from-py.c | 6 +++++-
23056 gi/pygi-marshal-to-py.c | 8 +++++++-
23057 2 files changed, 12 insertions(+), 2 deletions(-)
23059 commit 832f16f96815adc22cc3acbeb3fa969631795a29
23060 Author: Owen W. Taylor <otaylor@fishsoup.net>
23061 Date: Sun Oct 30 18:08:57 2011 -0400
23063 pygmainloop: avoid lockups if multiple glib.MainLoop exist
23065 If multiple glib.MainLoop() sources exist, then we will add multiple
23066 watches, and when python writes a byte to the wakeup pipe, all of the
23067 sources will try to read it; only one will succeed and the others
23068 will block. Set both ends of the pipe nonblocking to avoid this.
23070 https://bugzilla.gnome.org/show_bug.cgi?id=663068
23072 gi/_glib/pygmainloop.c | 5 ++++-
23073 1 file changed, 4 insertions(+), 1 deletion(-)
23075 commit 2fd3aa9d4ca0906a5e609845ee500ba72e358f94
23076 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23077 Date: Sat Oct 29 15:08:03 2011 +0200
23079 Properly chain up to the class that implements a given vfunc.
23081 https://bugzilla.gnome.org/show_bug.cgi?id=662994
23083 gi/types.py | 22 +++++++++++++---------
23084 tests/test_gi.py | 20 ++++++++++----------
23085 2 files changed, 23 insertions(+), 19 deletions(-)
23087 commit cfda820e8d9604c5ef2ad1161c22b20080d5daf4
23088 Author: Tomeu Vizoso <tomeu.vizoso@collabora.com>
23089 Date: Wed Nov 2 14:54:21 2011 +0100
23091 Revert "Fix array termination and size calculation"
23093 This reverts commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3.
23095 gi/pygi-marshal-from-py.c | 6 +-----
23096 gi/pygi-marshal-to-py.c | 8 +-------
23097 2 files changed, 2 insertions(+), 12 deletions(-)
23099 commit eef35b2df8023ffff2d195ee16c084f5cfcb6ba3
23100 Author: Holger Berndt <hb@gnome.org>
23101 Date: Sun Oct 30 16:36:32 2011 +0100
23103 Fix array termination and size calculation
23105 When creating an array of element type uint8 and setting it directly
23107 memcpy(), make sure that zero-termination is respected.
23109 When calculating the length of a zero-terminated array of type uint8,
23110 fall back to strlen() instead of g_strv_length().
23112 https://bugzilla.gnome.org/show_bug.cgi?id=662550
23114 gi/pygi-marshal-from-py.c | 6 +++++-
23115 gi/pygi-marshal-to-py.c | 8 +++++++-
23116 2 files changed, 12 insertions(+), 2 deletions(-)
23118 commit 4c1d9f01b8fa6702f73b290180f934250e179caa
23119 Author: Daniel Drake <dsd@laptop.org>
23120 Date: Sun Oct 30 09:20:45 2011 +0000
23122 pygi-convert: fix for Pango.Alignment
23124 pygi-convert.sh | 1 +
23125 1 file changed, 1 insertion(+)
23127 commit e3abd76096cc9f335681c7225f452c286b9c59e2
23128 Author: Daniel Drake <dsd@laptop.org>
23129 Date: Sun Oct 30 07:06:57 2011 +0000
23131 pygi-convert: fix for Gtk.Orientation
23133 pygi-convert.sh | 1 +
23134 1 file changed, 1 insertion(+)
23136 commit 52b82c5f78ef3755388457fa9440c36ccd2dfbbf
23137 Author: Martin Pitt <martin.pitt@ubuntu.com>
23138 Date: Thu Oct 27 07:16:24 2011 +0200
23140 Add tests for calling closures
23142 Add checks for correct handling of closure calls.
23143 Regress.test_closure_one_arg() is working fine and should continue
23145 Regress.test_closure_variant() is known to not work yet, so mark
23147 for now. (See https://bugzilla.gnome.org/show_bug.cgi?id=656554)
23149 tests/test_everything.py | 24 ++++++++++++++++++++++++
23150 1 file changed, 24 insertions(+)
23152 commit c7aa0e79dfb4c1092c51ae1464b8414083b4f3fc
23153 Author: Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
23154 Date: Tue Oct 4 12:28:26 2011 +0200
23156 fix marshaling of arrays of GVariants
23158 Add unit tests for marshaling of arrays of variants with all
23159 transfer modes. Requires latest gobject-introspection.
23161 Plug potential leaks of GArray data members
23163 Fix calling of wrong cleanup_from_py for arrays
23165 Simplify and fix logic for cleaning up arrays both in from_py()
23166 and to_py() code paths.
23168 https://bugzilla.gnome.org/show_bug.cgi?id=638915
23170 Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
23172 gi/pygi-cache.c | 2 +-
23173 gi/pygi-marshal-cleanup.c | 81
23174 ++++++++++++++++++++++++++++++-----------------
23175 gi/pygi-marshal-from-py.c | 10 ++++--
23176 gi/pygi-marshal-to-py.c | 13 ++++++--
23177 tests/test_gi.py | 14 +++++++-
23178 5 files changed, 85 insertions(+), 35 deletions(-)
23180 commit c2ec4d8eb46ae2e6ee4372b2a4f9d5df0e5d82f3
23181 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23182 Date: Sat Oct 22 00:20:57 2011 +0200
23187 1 file changed, 8 insertions(+)
23189 commit 5c24760b797e985721f7fe51d52252e4dd54a417
23190 Author: Martin Pitt <martin.pitt@ubuntu.com>
23191 Date: Fri Oct 21 17:31:41 2011 +0200
23193 Fix "Returns: (skip)" method calls without (out) arguments
23195 When we have a method call with a skipped return value, but no
23197 arguments, we previously returned NULL to Python, which causes
23199 error return without exception set". Return None instead.
23201 https://bugzilla.gnome.org/show_bug.cgi?id=662383
23203 gi/pygi-invoke.c | 10 ++++++++++
23204 tests/test_everything.py | 8 ++++++++
23205 2 files changed, 18 insertions(+)
23207 commit 585222915dc98b0e375de3db4771466278a32e81
23208 Author: John (J5) Palmieri <johnp@redhat.com>
23209 Date: Tue Oct 18 00:39:16 2011 -0400
23211 Do union member checks for unions that are parameters
23213 * before we were only doing checks if the union was an instance
23215 https://bugzilla.gnome.org/show_bug.cgi?id=661673
23217 gi/pygi-marshal-from-py.c | 121
23218 ++++++++++++++++++++++++++--------------------
23219 1 file changed, 68 insertions(+), 53 deletions(-)
23221 commit 8deaec6b9abd87f02060c9feec773d4693e89028
23222 Author: Martin Pitt <martin.pitt@ubuntu.com>
23223 Date: Wed Oct 19 14:35:11 2011 +0200
23225 Gdk overrides: Unbreak for Gdk-2.0
23227 Fix regression from commit 31db3ed: Gdk 2.0 did not yet have
23229 only do this for Gdk >= 3.0.
23231 https://launchpad.net/bugs/875399
23233 gi/overrides/Gdk.py | 95
23234 +++++++++++++++++++++++++++--------------------------
23235 1 file changed, 48 insertions(+), 47 deletions(-)
23237 commit f395fb131caf7ca550acd17138d8061926ef4f92
23238 Author: John (J5) Palmieri <johnp@redhat.com>
23239 Date: Fri Oct 14 17:19:45 2011 -0400
23241 unit test for checking ref count of object param in signals
23243 https://bugzilla.gnome.org/show_bug.cgi?id=661359
23245 tests/test_everything.py | 11 +++++++++++
23246 1 file changed, 11 insertions(+)
23248 commit 611f58b99851328653af4930f188c33eccaa9f6f
23249 Author: John (J5) Palmieri <johnp@redhat.com>
23250 Date: Fri Oct 14 16:42:32 2011 -0400
23252 when converting an object with transfer none, make sure the wrapper
23255 https://bugzilla.gnome.org/show_bug.cgi?id=661359
23257 gi/pygi-argument.c | 10 ++++++++++
23258 1 file changed, 10 insertions(+)
23260 commit 0f1eb9fa0e7aa5e7c22dabc709c0dfb469e404f1
23261 Author: Timo Vanwynsberghe <timovwb@gmail.com>
23262 Date: Tue Oct 4 11:13:43 2011 +0200
23264 Allow GBoxed types as property
23266 Add the GBoxed type as valid type to the gobject property helper
23267 https://bugzilla.gnome.org/show_bug.cgi?id=660798
23269 gi/_gobject/propertyhelper.py | 5 +++--
23270 1 file changed, 3 insertions(+), 2 deletions(-)
23272 commit bef8d385117dd0295c9ba7567710d76fc2bb729a
23273 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23274 Date: Mon Oct 10 11:24:42 2011 +0200
23276 Add tests for boxed properties.
23278 tests/test_properties.py | 20 ++++++++++++++++++--
23279 1 file changed, 18 insertions(+), 2 deletions(-)
23281 commit 77123ffeb1585837033848f4d5a90cfa63fdaee0
23282 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23283 Date: Fri Sep 30 20:21:07 2011 +0200
23285 Post release bump version
23287 configure.ac | 2 +-
23288 1 file changed, 1 insertion(+), 1 deletion(-)
23290 commit f5ccfec0a1bc4c999bfa49d75383ea06d3a068c4
23291 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23292 Date: Fri Sep 30 20:19:46 2011 +0200
23297 configure.ac | 2 +-
23298 2 files changed, 6 insertions(+), 1 deletion(-)
23300 commit 56ac9339eb1d6950623dc4d8c3b9972874e7fa86
23301 Author: John (J5) Palmieri <johnp@redhat.com>
23302 Date: Thu Sep 22 19:03:20 2011 -0400
23304 when checking instances union members are same type as parent
23306 * this is so we can support sending Gdk.Event members in place of
23307 the Event union into methods
23308 * we only support this if the union member has a type of GI_INTERFACE
23311 https://bugzilla.gnome.org/show_bug.cgi?id=659879
23313 gi/pygi-marshal-from-py.c | 60
23314 +++++++++++++++++++++++++++++++++++++++++++----
23315 1 file changed, 56 insertions(+), 4 deletions(-)
23317 commit 311a4f8035a95b41bc3c0a836c32b7a5bf2d9959
23318 Author: John (J5) Palmieri <johnp@redhat.com>
23319 Date: Wed Sep 21 21:50:48 2011 -0400
23321 add a floating flag to pygobjects
23323 * this allows us to correctly refcount when custom gobjects are
23327 gi/_gobject/gobjectmodule.c | 5 +++++
23328 gi/_gobject/pygobject-private.h | 3 +++
23329 gi/_gobject/pygobject.c | 27 ++++++++++++++++++++++++++-
23330 gi/_gobject/pygobject.h | 3 ++-
23331 4 files changed, 36 insertions(+), 2 deletions(-)
23333 commit d2d29ae5845217254b9336fd8629f369cb119b25
23334 Author: John (J5) Palmieri <johnp@redhat.com>
23335 Date: Wed Sep 21 21:13:22 2011 -0400
23337 Revert "Fix refcount bug by not creating python wrapper during
23338 gobject init stage"
23340 This reverts commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5.
23342 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++++---------------
23343 1 file changed, 17 insertions(+), 15 deletions(-)
23345 commit a24c10b779f2a1b0425d56d03d59c393389cad98
23346 Author: John (J5) Palmieri <johnp@redhat.com>
23347 Date: Wed Sep 21 21:10:00 2011 -0400
23349 make sure to commit the NEWS file
23352 1 file changed, 4 insertions(+)
23354 commit 2eed2940c9be099fb6305288d895265e6b35d3d2
23355 Author: John (J5) Palmieri <johnp@redhat.com>
23356 Date: Mon Sep 19 13:19:57 2011 -0400
23358 prep for 3.0 release
23360 configure.ac | 6 +++---
23361 1 file changed, 3 insertions(+), 3 deletions(-)
23363 commit fbd58b70c2c3c1128f95a87eb4cc8313b6a401b8
23364 Author: John (J5) Palmieri <johnp@redhat.com>
23365 Date: Fri Sep 16 14:19:15 2011 -0400
23367 up version required of gobject-introspection to 1.29.0
23369 configure.ac | 2 +-
23370 1 file changed, 1 insertion(+), 1 deletion(-)
23372 commit 225f21117b6b3546989abe22538c784291e86b2a
23373 Author: John (J5) Palmieri <johnp@redhat.com>
23374 Date: Fri Sep 16 12:26:10 2011 -0400
23378 * remove some unused vars
23379 * correctly cast vars
23380 * handle deprecated enums in switch statments by using default:
23381 * unused wanrings still remain in some places
23383 gi/pygi-argument.c | 2 +-
23384 gi/pygi-cache.c | 7 ++-----
23385 gi/pygi-info.c | 6 ++++++
23386 gi/pygi-invoke.c | 2 +-
23387 gi/pygi-marshal-from-py.c | 17 +++++++++--------
23388 gi/pygi-marshal-to-py.c | 3 +--
23389 6 files changed, 20 insertions(+), 17 deletions(-)
23391 commit 9a70f01288e1b049206d25d67938907f1b38a490
23392 Author: John (J5) Palmieri <johnp@redhat.com>
23393 Date: Fri Sep 16 12:24:38 2011 -0400
23397 configure.ac | 2 +-
23398 1 file changed, 1 insertion(+), 1 deletion(-)
23400 commit 3ec4020205e909ee4400650434f9ae7b89c2bde8
23401 Author: John (J5) Palmieri <johnp@redhat.com>
23402 Date: Thu Sep 15 18:12:01 2011 -0400
23404 edit HACKING file to show correct tag format
23407 1 file changed, 1 insertion(+), 1 deletion(-)
23409 commit 2e864fd05bc0adf48df9f65ab72785ebb1d0d3f0
23410 Author: John (J5) Palmieri <johnp@redhat.com>
23411 Date: Thu Sep 15 18:10:33 2011 -0400
23413 update NEWS file to prep for release
23415 NEWS | 35 +++++++++++++++++++++++++++++++++++
23416 1 file changed, 35 insertions(+)
23418 commit 0da687fa699aba4f42c42a924d6754e2bd47df50
23419 Author: John (J5) Palmieri <johnp@redhat.com>
23420 Date: Thu Sep 15 17:59:31 2011 -0400
23422 fix typo s/lenth/length
23424 gi/overrides/Gtk.py | 2 +-
23425 1 file changed, 1 insertion(+), 1 deletion(-)
23427 commit 0e4861abaff64d8e7e8d1aeedf9dd1e80de8aab2
23428 Author: John (J5) Palmieri <johnp@redhat.com>
23429 Date: Thu Sep 15 17:48:58 2011 -0400
23431 fix typo in docstring
23433 gi/_gobject/propertyhelper.py | 2 +-
23434 1 file changed, 1 insertion(+), 1 deletion(-)
23436 commit e7fcc326d64def610e5a1003cf6c7ca97023814d
23437 Author: John (J5) Palmieri <johnp@redhat.com>
23438 Date: Thu Sep 15 17:46:46 2011 -0400
23440 do not pass in len(str) to the length argument of
23441 gtk_test_buffer_insert* apis
23443 * in python 3 len(str) returns the number of characters while
23445 parameter is expecting the number of bytes. It also excepts -1
23447 terminated string. Since all of our strings are null terminated,
23449 set length to that.
23451 gi/overrides/Gtk.py | 6 ++----
23452 1 file changed, 2 insertions(+), 4 deletions(-)
23454 commit 6f380153afb3390f7da9f4b8befb1c4ee224da17
23455 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23456 Date: Mon Sep 12 21:07:20 2011 +0200
23458 Switch tarball compression format to tar.xz only.
23461 http://mail.gnome.org/archives/gnome-announce-list/2011-September/msg00031.html
23462 for more information.
23464 https://bugzilla.gnome.org/show_bug.cgi?id=659140
23466 configure.ac | 2 +-
23467 1 file changed, 1 insertion(+), 1 deletion(-)
23469 commit 11c45ac6dcb6ffad766d03bfc77f45a6d703a90d
23470 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23471 Date: Thu Sep 15 14:18:57 2011 +0200
23473 Remove pygtk_version attribute from internal gi._gobject module.
23475 This used to be provided for backwards compatibility with older PyGTK
23476 versions. As PyGObject3 no longer provides support for static bindings
23477 like PyGTK, the pygtk_version attribute has become obsolete.
23479 https://bugzilla.gnome.org/show_bug.cgi?id=659142
23481 gi/_gobject/gobjectmodule.c | 4 ----
23482 gi/_gobject/pygobject.h | 2 --
23483 2 files changed, 6 deletions(-)
23485 commit 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a
23486 Author: John (J5) Palmieri <johnp@redhat.com>
23487 Date: Thu Sep 15 15:52:18 2011 -0400
23489 remove overridesdir from the .pc file and add it to the gi module
23491 * having the variable in the .pc file caused issues parallel
23493 for different versions of python
23494 * putting it into the module allows us to give the correct directory
23495 based on which version of python you run the script from
23496 * access the var as such:
23498 installdir = gi._overridesdir
23500 gi/__init__.py | 2 ++
23501 pygobject-3.0.pc.in | 10 +++++++++-
23502 2 files changed, 11 insertions(+), 1 deletion(-)
23504 commit beea7072a5a989be47a755ac46647380d4dbd6b4
23505 Author: John (J5) Palmieri <johnp@redhat.com>
23506 Date: Thu Sep 15 00:11:09 2011 -0400
23508 fix tests to correctly construct a dummy Gtk.TargetEntry
23510 * structs are sometimes a pain in gi. Simply constructing them
23512 the standard constructor (e.g. Gtk.TargetEntry()) will malloc
23514 but not correctly initialize the fields which can cause a crash.
23515 * tests didn't crash before because they were sending in bogus
23517 somehow did not trigger the issue
23518 * now with the C struct array marshallers doing the right thing,
23520 use of TargetEntry was causing a crash
23522 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23524 tests/test_overrides.py | 4 ++--
23525 1 file changed, 2 insertions(+), 2 deletions(-)
23527 commit 46ba7f04ef3df08e07ddda5c10f0c98bec5fa183
23528 Author: John (J5) Palmieri <johnp@redhat.com>
23529 Date: Thu Sep 15 00:08:31 2011 -0400
23531 we now assume that C arrays of structs are flat so memcpy them
23534 * there is no way in GI to tell if a C array is flat or an array
23536 so we assume that all arrays of simple structs and gvalues are
23538 all arrays of objects and boxed structs are pointer arrays.
23539 * this will be removed once GI gets the ability to annotate level
23542 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23544 gi/pygi-marshal-from-py.c | 35 ++++++++++++++++++++++++++++++++---
23545 tests/test_gi.py | 29 +++++++++++++++++++++++++++++
23546 2 files changed, 61 insertions(+), 3 deletions(-)
23548 commit e30a41592baa942188574e5c9f99572963e2e387
23549 Author: John (J5) Palmieri <johnp@redhat.com>
23550 Date: Thu Sep 15 00:02:34 2011 -0400
23552 only update the arg counts once if child arg comes before parent arg
23554 * if the child arg comes before the parent arg we need to update the
23555 argument counts and take the child arg out of the marshalling lists
23556 since it is handled by the parent
23557 * when two parents reference the same child arg as is the case with
23558 two arrays which have a single length argument we only want
23561 * to do this we introduce the PYGI_META_ARG_CHILD_NEEDS_UPDATE
23563 and only do the count update if this is set
23564 * APIs should keep in mind that this take extra processing so
23566 should really come after their parents
23568 https://bugzilla.gnome.org/show_bug.cgi?id=627236
23570 gi/pygi-cache.c | 30 ++++++++++++++++++++----------
23571 gi/pygi-cache.h | 9 +++++++--
23572 2 files changed, 27 insertions(+), 12 deletions(-)
23574 commit f6fa5dd8f39af1b8a52d7600d257400b0983e8c5
23575 Author: John (J5) Palmieri <johnp@redhat.com>
23576 Date: Wed Sep 14 20:26:15 2011 -0400
23578 Fix refcount bug by not creating python wrapper during gobject
23581 * This only applys to python subclasses of GObject which are
23584 * Because we were creating the wrapper when the gobject is
23586 and then again calling pygobject_new_full the wrapper would get
23588 * we could not simply Py_DECREF the wrapper due to the fact that
23589 non-subclassed objects (e.g. GObject.Object) instantiated via
23590 new do not run the same initialization code and would not have the
23592 * solution was to simply not create the wrapper during initialization
23593 because if it doesn't exist when pygobject_new_full is called
23594 it gets created and registered there
23595 * move the call to __init__ into pyg_object_new
23597 https://bugzilla.gnome.org/show_bug.cgi?id=657403
23599 gi/_gobject/gobjectmodule.c | 32 +++++++++++++++-----------------
23600 1 file changed, 15 insertions(+), 17 deletions(-)
23602 commit 61b64a65beee9011f8e4ed20f0a83e6630ba154f
23603 Author: John (J5) Palmieri <johnp@redhat.com>
23604 Date: Tue Sep 13 18:08:04 2011 -0400
23606 don't destroy just created wrapper when object is created via
23609 https://bugzilla.gnome.org/show_bug.cgi?id=657403
23611 gi/_gobject/gobjectmodule.c | 2 +-
23612 1 file changed, 1 insertion(+), 1 deletion(-)
23614 commit 93e12cc2eb7e7f2c18971da86e9c9452d3f566b7
23615 Author: Steve Frécinaux <code@istique.net>
23616 Date: Fri Aug 26 11:22:09 2011 +0200
23618 Remove deprecated API from pygobject.h
23620 https://bugzilla.gnome.org/show_bug.cgi?id=657416
23622 gi/_gobject/pygobject.h | 19 +------------------
23623 1 file changed, 1 insertion(+), 18 deletions(-)
23625 commit e1c71092af6e2cffa36248519adfceac1874051d
23626 Author: Marcin Owsiany <marcin@owsiany.pl>
23627 Date: Wed Aug 31 09:43:28 2011 +0100
23629 Convert gtk.TRUE/FALSE to Python True/False.
23631 https://bugzilla.gnome.org/show_bug.cgi?id=657785
23633 pygi-convert.sh | 2 ++
23634 1 file changed, 2 insertions(+)
23636 commit 3ace5c2e2268285a5dcb39889fcb2a71bc1063bd
23637 Author: Steve Frécinaux <code@istique.net>
23638 Date: Fri Sep 2 08:37:15 2011 +0200
23640 Drop legacy __gobject_init__ method of GObject.Object.
23642 This method was used in gobject initialization at some point, but now
23643 using GObject.__init__() is sufficient, so let's not keep this old
23644 method around and let people misuse it.
23646 https://bugzilla.gnome.org/show_bug.cgi?id=658032
23648 examples/signal.py | 2 --
23649 gi/_gobject/pygobject.c | 11 -----------
23650 2 files changed, 13 deletions(-)
23652 commit fcd457d1d1d8a813acb2ebfe5ee0e9aab2c9c88c
23653 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23654 Date: Tue Sep 13 12:05:30 2011 +0200
23656 AM_CHECK_PYTHON_LIBS does not work for lib64
23658 But on Windows, Python extension modules need to be explicitly
23659 linked to libpython.
23661 https://bugzilla.gnome.org/show_bug.cgi?id=658856
23663 configure.ac | 4 +++-
23664 gi/Makefile.am | 9 ++++++---
23665 gi/_glib/Makefile.am | 10 ++++++++--
23666 gi/_gobject/Makefile.am | 8 +++++++-
23667 4 files changed, 24 insertions(+), 7 deletions(-)
23669 commit 863c087911203a8f3ebaa8e77622a3437a7cd320
23670 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23671 Date: Mon Sep 12 23:03:05 2011 +0200
23673 Remove common_ldflags from Makefile.am as it is no longer used.
23675 https://bugzilla.gnome.org/show_bug.cgi?id=658856
23677 Makefile.am | 6 ------
23678 1 file changed, 6 deletions(-)
23680 commit 24b920f9922e367bdb8b3e56c2f61e0c8f5cdb66
23681 Author: John (J5) Palmieri <johnp@redhat.com>
23682 Date: Tue Sep 13 16:20:48 2011 -0400
23684 cast params for PyObject_IsInstance to suppress warnings
23686 gi/_gobject/pygobject-private.h | 4 ++--
23687 1 file changed, 2 insertions(+), 2 deletions(-)
23689 commit 861369ec59b17f67151813dc2e87c6e86126b954
23690 Author: John (J5) Palmieri <johnp@redhat.com>
23691 Date: Tue Sep 13 16:04:31 2011 -0400
23693 check if object is actually a PyGFlag before trying to access g_type
23695 * we are lucky this bit of code worked for as long as it did but when
23696 checking if an object is a PyGFlag we can't just rely on looking
23697 at the g_type field because if a regular gobject is passed in
23698 as is the case when you compare a long to a gflag, the gobject
23699 will not have a g_type field. Accessing a non-existant field
23700 could at best give you a false positive and at worse read
23701 memory beyond the bounds of the actual structure passed in
23703 gi/_gobject/pygobject-private.h | 4 ++--
23704 1 file changed, 2 insertions(+), 2 deletions(-)
23706 commit eea93e89fb064253bd8903c8b453daf4b3c87c2c
23707 Author: John (J5) Palmieri <johnp@redhat.com>
23708 Date: Tue Sep 13 16:03:02 2011 -0400
23710 fix regression - add instance type checks since Py3 no longer does
23713 gi/pygi-marshal-from-py.c | 21 +++++++++++++++++++--
23714 1 file changed, 19 insertions(+), 2 deletions(-)
23716 commit a4e4318b50a24a688e32579273fbcfa51d1b422a
23717 Author: John (J5) Palmieri <johnp@redhat.com>
23718 Date: Fri Sep 2 18:39:51 2011 -0400
23720 refactor in/out marshalling to be to_py/from_py
23722 * in/out make sense from a C perspective but when you get to the
23723 python layers it makes more sense to label them as to_py and
23724 from_py to denote which way we are marshalling
23725 * this helps clear up the difference between callbacks which
23726 call into python and invoked functions which call into C
23727 * in the callback case we marshal in values to Python objects
23728 and out values to C types but in the invoke case we do the
23729 reverse. Dealing with to_py/from_py makes the code much more
23730 resuable and consistant
23732 https://bugzilla.gnome.org/show_bug.cgi?id=658362
23734 gi/Makefile.am | 8 +-
23735 gi/pygi-cache.c | 673
23736 ++++++++++++-----------
23737 gi/pygi-cache.h | 62 ++-
23738 gi/pygi-invoke.c | 144 ++---
23739 gi/pygi-marshal-cleanup.c | 168 +++---
23740 gi/pygi-marshal-cleanup.h | 128 ++---
23741 gi/{pygi-marshal-in.c => pygi-marshal-from-py.c} | 372 ++++++-------
23742 gi/pygi-marshal-from-py.h | 186 +++++++
23743 gi/pygi-marshal-in.h | 186 -------
23744 gi/pygi-marshal-out.h | 144 -----
23745 gi/{pygi-marshal-out.c => pygi-marshal-to-py.c} | 278 +++++-----
23746 gi/pygi-marshal-to-py.h | 144 +++++
23747 12 files changed, 1267 insertions(+), 1226 deletions(-)
23749 commit 45b0fcff9e948c65a3903c32a3957802034c5e47
23750 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23751 Date: Fri Sep 9 16:50:25 2011 +0200
23753 Examples: fix cairo-demo.py imports
23755 examples/cairo-demo.py | 6 +++---
23756 1 file changed, 3 insertions(+), 3 deletions(-)
23758 commit 3ca19fc13e6024fd04851e6f269020a92b09fa17
23759 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23760 Date: Fri Sep 9 15:08:27 2011 +0200
23762 Fix paths and add missing overridesdir variable used in uninstalled
23765 https://bugzilla.gnome.org/show_bug.cgi?id=658654
23767 pygobject-3.0-uninstalled.pc.in | 14 +++++++-------
23768 1 file changed, 7 insertions(+), 7 deletions(-)
23770 commit 6e773175b9d2f46b3df5075ec952a8c5aff3c607
23771 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23772 Date: Fri Sep 9 15:08:04 2011 +0200
23774 Remove no longer used variables from pkgconfig files
23776 https://bugzilla.gnome.org/show_bug.cgi?id=658654
23778 pygobject-3.0-uninstalled.pc.in | 6 ------
23779 pygobject-3.0.pc.in | 5 +----
23780 2 files changed, 1 insertion(+), 10 deletions(-)
23782 commit 81d388780311311d8dc4a027a59d114edf9a00fc
23783 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23784 Date: Fri Sep 9 14:57:58 2011 +0200
23786 docs/Makefile.am and m4/python.m4: Python3 portability fixes
23788 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23790 docs/Makefile.am | 2 +-
23791 m4/python.m4 | 2 +-
23792 2 files changed, 2 insertions(+), 2 deletions(-)
23794 commit 7e692ee061406e48e4862b98a0829650b1d6d585
23795 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23796 Date: Fri Sep 9 14:57:46 2011 +0200
23798 Refactor and clean Makefile.am files
23800 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23803 gi/Makefile.am | 81 +++++++++++++++++++++++--------------
23804 gi/_glib/Makefile.am | 100
23805 ++++++++++++++++++++++++++++++----------------
23806 gi/_gobject/Makefile.am | 85 ++++++++++++++++++++-------------------
23807 gi/overrides/Makefile.am | 4 +-
23808 gi/repository/Makefile.am | 4 +-
23809 6 files changed, 162 insertions(+), 114 deletions(-)
23811 commit 3dd59b07d1f4a93ee1f65d6a64e1afb6f5e84232
23812 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23813 Date: Fri Sep 9 14:57:36 2011 +0200
23815 Remove all PLATFORM_VERSION = 2.0 traces
23817 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23819 gi/Makefile.am | 2 --
23820 gi/overrides/Makefile.am | 1 -
23821 gi/repository/Makefile.am | 1 -
23822 3 files changed, 4 deletions(-)
23824 commit db1e484bfa157967de55ee2e0e18a82b8e388b61
23825 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23826 Date: Fri Sep 9 14:57:25 2011 +0200
23828 Remove gi/tests/ directory as all the tests now live in tests/
23830 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23832 gi/tests/Makefile.am | 24 ------------------------
23833 gi/tests/runtests.py | 21 ---------------------
23834 2 files changed, 45 deletions(-)
23836 commit b0ecbf00138ef1147e478ebf3c66f0e9b3f85dfc
23837 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23838 Date: Fri Sep 9 14:55:25 2011 +0200
23840 autogen.sh: Use autoreconf instead of a custom script and honor
23843 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23847 +++++++------------------------------------------------------
23848 2 files changed, 12 insertions(+), 85 deletions(-)
23850 commit 4671f5397003f376f00830e3fd1c214de594619f
23851 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23852 Date: Fri Sep 9 14:55:01 2011 +0200
23854 use improved python.m4 macros to search for Python headers and libs
23856 https://bugzilla.gnome.org/show_bug.cgi?id=658652
23858 configure.ac | 3 ++-
23859 m4/python.m4 | 47 +++++++++++++++++++++++++++++++++++++----------
23860 2 files changed, 39 insertions(+), 11 deletions(-)
23862 commit 2c9fd09da196d35db968bff4ae63fcce2d891e69
23863 Author: Javier Jardón <jjardon@gnome.org>
23864 Date: Fri Sep 9 15:38:22 2011 +0100
23866 Make maintiner mode enabled by default
23869 http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
23871 configure.ac | 2 +-
23872 1 file changed, 1 insertion(+), 1 deletion(-)
23874 commit b24dcb415406668931e02a1f669ef9861bb3a660
23875 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23876 Date: Wed Aug 24 09:58:10 2011 +0200
23878 Disable documentation for now since they are completely wrong for GI.
23880 https://bugzilla.gnome.org/show_bug.cgi?id=657054
23883 configure.ac | 25 -------------------------
23884 2 files changed, 1 insertion(+), 26 deletions(-)
23886 commit ecea2358a379c8ff44dff2f8f9c30a9092af1681
23887 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23888 Date: Wed Sep 7 10:38:28 2011 +0200
23890 Fix documentation installation directory
23892 https://bugzilla.gnome.org/show_bug.cgi?id=657054
23894 docs/Makefile.am | 5 +++--
23895 1 file changed, 3 insertions(+), 2 deletions(-)
23897 commit 8d3125c8ce9890c70400dd8a3ac273b590fe6a31
23898 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23899 Date: Tue Sep 6 22:22:11 2011 +0200
23901 Remove distutils based build system.
23903 The only reason this might be brought back to life again is when
23904 the whole stack can be built with Visual Studio (including
23905 gobject-introspection) again. Building with MinGW/MSYS can now
23906 be done with the usual autogen.sh/configure/make/make install dance.
23908 https://bugzilla.gnome.org/show_bug.cgi?id=657054
23911 Makefile.am | 25 +--
23912 README.win32 | 21 --
23914 -----------------------------------------------
23915 pygobject_postinstall.py | 9 -
23916 setup.py | 351 --------------------------------
23917 6 files changed, 7 insertions(+), 915 deletions(-)
23919 commit b82d916635aa0b732840548088a3fcfcb2e41bc4
23920 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
23921 Date: Wed Sep 7 10:40:36 2011 +0200
23923 [gtk-demo] Fix syntax highlighter encoding issue
23925 With Python 3, Gtk.TextBuffer.get_text returns a str (not bytes), with
23926 Python 2 however we get a str (not unicode). So with Python 2 the
23927 tokenizer returned bogus data when ran over a demo that contains real
23928 UTF-8 codepoints (like rotatedtext.py for example).
23930 This patch thus fixes the "Gtk-CRITICAL **:
23931 gtk_text_iter_set_line_offset:
23932 assertion `char_on_line <= chars_in_line` failed" assertions when
23934 the rotated text demo in the treeview.
23936 demos/gtk-demo/gtk-demo.py | 3 +++
23937 1 file changed, 3 insertions(+)
23939 commit 31db3ed3d233bd495c3a2f99b3fa51031bfa30c6
23940 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23941 Date: Tue Sep 6 22:13:54 2011 +0200
23943 overrides: add constants for atoms
23945 gi/overrides/Gdk.py | 49
23946 +++++++++++++++++++++++++++++++++++++++++++++++++
23947 1 file changed, 49 insertions(+)
23949 commit 81861bc2d664eb38d46e5c38ff755d436f040f63
23950 Author: Steve Frécinaux <code@istique.net>
23951 Date: Wed Aug 31 14:18:56 2011 +0200
23953 Drop pygobject_construct() from public API.
23955 These functions were introduced in 2005 because python objects
23957 "just" be instantiated using g_object_new(), but this is not true
23958 anymore since the introduction of new-style constructors. Hence
23960 has no reason to be there anymore.
23962 Nowadays, people who want to construct GObjects defined in python
23964 just use g_object_new().
23966 https://bugzilla.gnome.org/show_bug.cgi?id=657814
23968 gi/_gobject/gobjectmodule.c | 118
23969 +++++++++-------------------------------
23970 gi/_gobject/pygobject-private.h | 3 -
23971 gi/_gobject/pygobject.h | 8 ---
23972 3 files changed, 26 insertions(+), 103 deletions(-)
23974 commit c4c55a98ccf9e39ed0d10ed49b66a76dc7d7c509
23975 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23976 Date: Wed Aug 31 18:00:44 2011 +0200
23978 post release version bump
23980 configure.ac | 2 +-
23981 1 file changed, 1 insertion(+), 1 deletion(-)
23983 commit ac5a0f46242abdd3cd98ec5f9f2bf8e5b05f3845
23984 Author: Ignacio Casal Quinteiro <icq@gnome.org>
23985 Date: Wed Aug 31 17:58:37 2011 +0200
23989 NEWS | 12 ++++++++++++
23990 1 file changed, 12 insertions(+)
23992 commit 429569abddada5a3bad554de707ddf35b349936e
23993 Author: John (J5) Palmieri <johnp@redhat.com>
23994 Date: Thu Aug 25 13:57:53 2011 -0400
23996 support skip annotation for return values
23998 * this is used for things like skiping gboolean returns that are
23999 useful is C but useless in python
24001 * cleans up after skipped returns that are also marked transfer
24003 https://bugzilla.gnome.org/show_bug.cgi?id=650135
24005 gi/pygi-cache.c | 1 +
24006 gi/pygi-cache.h | 1 +
24007 gi/pygi-invoke.c | 48
24008 ++++++++++++++++++++++++++++++------------------
24009 tests/test_everything.py | 8 ++++++++
24010 4 files changed, 40 insertions(+), 18 deletions(-)
24012 commit 7a234b185b131f3eb6a6e8a8c717ddf4d508b15e
24013 Author: Xavier Claessens <xclaesse@gmail.com>
24014 Date: Tue Aug 2 12:05:12 2011 +0200
24016 Test GPtrArray regression
24018 tests/test_everything.py | 3 +++
24019 1 file changed, 3 insertions(+)
24021 commit 42fc9fa437102c882844a0e70a081ab08de92658
24022 Author: Steve Frécinaux <code@istique.net>
24023 Date: Fri Aug 26 10:53:43 2011 +0200
24025 Drop support for old constructor style.
24027 Bindings don't write their own constructors anymore, and the old style
24028 has been deprecated for ages, so let's just drop them now and make
24031 https://bugzilla.gnome.org/show_bug.cgi?id=657413
24033 gi/_gobject/gobjectmodule.c | 20 --------------------
24034 gi/_gobject/pygobject-private.h | 1 -
24035 gi/_gobject/pygobject.c | 1 -
24036 gi/_gobject/pygobject.h | 2 --
24037 gi/gimodule.c | 28 ----------------------------
24039 tests/testhelpermodule.c | 5 -----
24040 7 files changed, 59 deletions(-)
24042 commit 3961a405e1bddef22e1a5a0c7aa3ae55e4ec09ad
24043 Author: Steve Frécinaux <code@istique.net>
24044 Date: Fri Aug 26 10:45:59 2011 +0200
24046 Drop support for sink functions.
24048 Sink functions were meant to deal with floating references in a custom
24049 way. They are not useful anymore with the dynamic bindings.
24051 https://bugzilla.gnome.org/show_bug.cgi?id=642233
24053 gi/_gobject/gobjectmodule.c | 1 -
24054 gi/_gobject/pygobject.c | 53 ----------------------------------------
24055 gi/_gobject/pygobject.h | 4 ---
24056 tests/test-floating.c | 59
24057 +++++++--------------------------------------
24058 tests/test-floating.h | 42 +++++++++-----------------------
24059 tests/test_gobject.py | 13 +++-------
24060 tests/testhelpermodule.c | 32 +++++++-----------------
24061 7 files changed, 32 insertions(+), 172 deletions(-)
24063 commit 631d8ef879a13492945a3e30b3df9863a4ba2f44
24064 Author: Mike Gorse <mgorse@novell.com>
24065 Date: Wed Aug 24 17:30:09 2011 -0500
24067 Reinstate copying of in-line structs in arrays
24069 For arrays of in-line, non-boxed structures with (transfer full),
24070 _pygi_marshal_free_out_array eventually gets called and frees
24072 data, so we should copy it (IE, BGO#653588).
24074 https://bugzilla.gnome.org/show_bug.cgi?id=657120
24076 gi/pygi-marshal-out.c | 8 +++++++-
24077 1 file changed, 7 insertions(+), 1 deletion(-)
24079 commit f38511f251602e18551c04617cc2e2d42e812e1e
24080 Author: John (J5) Palmieri <johnp@redhat.com>
24081 Date: Tue Aug 23 14:18:43 2011 -0400
24083 fix inline struct array handling
24085 * we now assume any non-boxed structs are inline in an array since
24087 no way to check in GI and this is the most common use for an
24091 https://bugzilla.gnome.org/show_bug.cgi?id=657120
24093 gi/pygi-marshal-out.c | 23 +++++++++--------------
24094 tests/test_gi.py | 8 ++++++++
24095 2 files changed, 17 insertions(+), 14 deletions(-)
24097 commit d92846a5446b0dd2e69c813f56224a1966ab1a33
24098 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24099 Date: Tue Aug 23 11:30:41 2011 +0200
24101 [gtk-demo] printing.py: set print and error dialog transient parent
24103 demos/gtk-demo/demos/printing.py | 8 ++++----
24104 1 file changed, 4 insertions(+), 4 deletions(-)
24106 commit 1aebc1565752840075027b9452fe2a67217bf53b
24107 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24108 Date: Tue Aug 23 11:28:05 2011 +0200
24110 [gtk-demo] printing.py: exit Gtk mainloop when done and correctly
24111 handle printing errors
24113 demos/gtk-demo/demos/printing.py | 14 ++++++++++----
24114 1 file changed, 10 insertions(+), 4 deletions(-)
24116 commit 1f9e4486c5b84209ce0038887738fc16a4ef7da3
24117 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24118 Date: Tue Aug 23 08:05:43 2011 +0200
24120 [gtk-demo] show "activated" demo's in italic font in the TreeView
24122 demos/gtk-demo/gtk-demo.py | 7 +++++--
24123 1 file changed, 5 insertions(+), 2 deletions(-)
24125 commit 971d063f7a36e13ef6621db7002b00af52f6292a
24126 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24127 Date: Mon Aug 22 14:52:28 2011 +0200
24129 [gtk-demo] source colorizer: Python3 does not have the BACKQUOTE
24130 token, so simply remove it
24132 demos/gtk-demo/gtk-demo.py | 5 +----
24133 1 file changed, 1 insertion(+), 4 deletions(-)
24135 commit c2979a37d6d505095b6e55789150a6498d95819d
24136 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24137 Date: Mon Aug 22 14:22:18 2011 +0200
24139 [gtk-demo] In Python3, GLib.file_get_contents returns a bytes object
24140 but Gtk.TextBuffer.insert expects a string.
24142 Fixed by using codes.open() as hinted in
24143 http://docs.python.org/dev/howto/pyporting.html#text-files
24144 section "If pre-2.6 compatibility is needed" (because configure.ac
24145 is still happy with Python 2.5.2).
24147 demos/gtk-demo/gtk-demo.py | 6 +++++-
24148 1 file changed, 5 insertions(+), 1 deletion(-)
24150 commit 9ea56535f35abbea4cd977dea4c89247e4b01694
24151 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24152 Date: Mon Aug 22 12:30:24 2011 +0200
24154 [gtk-demo] images.py: fix 'Insensitive 'button mnenomic
24156 demos/gtk-demo/demos/images.py | 2 +-
24157 1 file changed, 1 insertion(+), 1 deletion(-)
24159 commit 7829dae1cdb8697a19c2b5e158ef0e08f6c2558b
24160 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24161 Date: Mon Aug 22 10:38:04 2011 +0200
24163 [gtk-demo] printing.py: fix Pango.EllipsizeType > Pango.EllipsizeMode
24166 demos/gtk-demo/demos/printing.py | 4 ++--
24167 1 file changed, 2 insertions(+), 2 deletions(-)
24169 commit 07f0274301d77d9bf62b49a14b059d9a52afb445
24170 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24171 Date: Mon Aug 22 10:37:08 2011 +0200
24173 [gtk-demo] printing.py: fix text file loading
24175 demos/gtk-demo/demos/printing.py | 32 ++++++++++++++++----------------
24176 1 file changed, 16 insertions(+), 16 deletions(-)
24178 commit 135148a4c35aac1d132b0b8fa3adbf1fdcdb3a24
24179 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24180 Date: Mon Aug 22 10:20:35 2011 +0200
24182 [gtk-demo] pixbuf.py: fix image loading
24184 demos/gtk-demo/demos/pixbuf.py | 25 +++++++++++--------------
24185 1 file changed, 11 insertions(+), 14 deletions(-)
24187 commit a93cae2c80e30a408f86e7e6c4d15a538011a189
24188 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24189 Date: Mon Aug 22 10:10:02 2011 +0200
24191 [gtk-demo] images.py: fix logo loading
24193 demos/gtk-demo/demos/images.py | 70
24194 +++++++++++++++++-------------------------
24195 1 file changed, 29 insertions(+), 41 deletions(-)
24197 commit eddc0824e0e4c156fca5de05bdeb600c534d4b24
24198 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24199 Date: Wed Aug 24 12:19:21 2011 +0200
24201 [gtk-demo] appwindow.py: set AboutDialog parent
24203 demos/gtk-demo/demos/appwindow.py | 7 +++----
24204 1 file changed, 3 insertions(+), 4 deletions(-)
24206 commit 7fe10a5b33148b1f029f3d34f76b7f880c1c2e7a
24207 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24208 Date: Mon Aug 22 07:58:25 2011 +0200
24210 [gtk-demo] appwindow.py: fix logo loading
24212 demos/gtk-demo/demos/appwindow.py | 10 +++-------
24213 1 file changed, 3 insertions(+), 7 deletions(-)
24215 commit 62fda288c1c37167c589e8e9d49ed625f770a98a
24216 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24217 Date: Mon Aug 22 07:57:31 2011 +0200
24219 [gtk-demo] appwindow.py: fix callback signatures
24221 demos/gtk-demo/demos/appwindow.py | 6 +++---
24222 1 file changed, 3 insertions(+), 3 deletions(-)
24224 commit 87e9ab4d3a0aac4f4710aa0f8af0a1736f781ad9
24225 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24226 Date: Mon Aug 22 07:48:28 2011 +0200
24228 [gtk-demo] fix glib vs GLib usage
24230 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 2 +-
24231 demos/gtk-demo/demos/appwindow.py | 2 +-
24232 2 files changed, 2 insertions(+), 2 deletions(-)
24234 commit d29cad6976a80862e1fc590d3e7d190e8a234866
24235 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24236 Date: Wed Aug 24 12:19:02 2011 +0200
24238 [gtk-demo] iconviewedit.py: fix for Gdk.color_parse API breakage
24239 caused by improved GDK overrides
24241 demos/gtk-demo/demos/Icon View/iconviewedit.py | 6 +++---
24242 1 file changed, 3 insertions(+), 3 deletions(-)
24244 commit f29d3a85a275a39e8481484779264b0dea1160ab
24245 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24246 Date: Mon Aug 22 07:25:32 2011 +0200
24248 [gtk-demo] optimize source colorizer by only preparing iters for
24249 known colorized tokens
24251 demos/gtk-demo/gtk-demo.py | 20 +++++++++++++++-----
24252 1 file changed, 15 insertions(+), 5 deletions(-)
24254 commit ecd1eb00b19733da3f2e3d7935792378f34cab19
24255 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24256 Date: Fri Aug 19 18:31:20 2011 +0200
24258 [gtk-demo] small formatting fixes
24260 demos/gtk-demo/demos/Entry/entry_buffer.py | 1 +
24261 demos/gtk-demo/demos/Entry/entry_completion.py | 1 +
24262 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 8 ++++----
24263 demos/gtk-demo/demos/assistant.py | 1 +
24264 demos/gtk-demo/demos/builder.py | 4 +++-
24265 demos/gtk-demo/demos/button_box.py | 1 +
24266 demos/gtk-demo/demos/clipboard.py | 1 +
24267 demos/gtk-demo/demos/colorselector.py | 1 +
24268 demos/gtk-demo/demos/combobox.py | 1 +
24269 demos/gtk-demo/demos/drawingarea.py | 4 +++-
24270 demos/gtk-demo/demos/test.py | 2 ++
24271 11 files changed, 19 insertions(+), 6 deletions(-)
24273 commit c42cb4da399ff5732f4ca732b85134de796a60fa
24274 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24275 Date: Fri Aug 19 18:30:50 2011 +0200
24277 [gtk-demo] remove "is_fully_bound" from demos
24279 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 --
24280 demos/gtk-demo/demos/Entry/entry_completion.py | 2 --
24281 demos/gtk-demo/demos/appwindow.py | 3 ---
24282 demos/gtk-demo/demos/assistant.py | 2 --
24283 demos/gtk-demo/demos/builder.py | 2 --
24284 demos/gtk-demo/demos/button_box.py | 2 --
24285 demos/gtk-demo/demos/clipboard.py | 2 --
24286 demos/gtk-demo/demos/colorselector.py | 2 --
24287 demos/gtk-demo/demos/combobox.py | 2 --
24288 demos/gtk-demo/demos/drawingarea.py | 2 --
24289 demos/gtk-demo/demos/test.py | 1 -
24290 11 files changed, 22 deletions(-)
24292 commit cad6a62c63f455f0b1315465a9cd71c0f02b12a5
24293 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24294 Date: Fri Aug 19 18:26:31 2011 +0200
24296 [gtk-demo] add source colorizer loosely based on PyGTK's pygtk-demo
24297 and GTK+'s gtk-demo code
24299 demos/gtk-demo/gtk-demo.py | 116
24300 +++++++++++++++++++++++++++++++++++++++------
24301 1 file changed, 101 insertions(+), 15 deletions(-)
24303 commit 250c36f4a8352ff1b31c1c85b156d3e803d4b8ef
24304 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24305 Date: Fri Aug 19 15:08:15 2011 +0200
24307 [gtk-demo] remove C-isms
24309 demos/gtk-demo/gtk-demo.py | 28 ++++++++++++++--------------
24310 1 file changed, 14 insertions(+), 14 deletions(-)
24312 commit cf35fe8e259e786d0fa21b08b1f5c64c9bb0a84e
24313 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24314 Date: Fri Aug 19 14:54:39 2011 +0200
24316 [gtk-demo] fix text on info tab to be more like GTK+'s gtk-demo
24318 demos/gtk-demo/gtk-demo.py | 4 ++--
24319 1 file changed, 2 insertions(+), 2 deletions(-)
24321 commit 241827208e25c72a990d8edd95a3b879470d6409
24322 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24323 Date: Fri Aug 19 14:40:56 2011 +0200
24325 [gtk-demo] remove duplicate storage of demos by only storing them
24326 in a TreeStore subclass
24328 This also moves demos loading code into the TreeStore subclass and
24329 demo loading code into the Demo class
24331 demos/gtk-demo/gtk-demo.py | 151
24332 +++++++++++++++++++++------------------------
24333 1 file changed, 70 insertions(+), 81 deletions(-)
24335 commit 58797c355a08a35375988881a17958bb42ad54bb
24336 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24337 Date: Fri Aug 19 14:40:00 2011 +0200
24339 [gtk-demo] make GtkDemoApp a Gtk.Window subclass and adapt main()
24340 to demonstrate the GLib.MainLoop
24342 demos/gtk-demo/gtk-demo.py | 43
24343 ++++++++++++++++++++++++++-----------------
24344 1 file changed, 26 insertions(+), 17 deletions(-)
24346 commit 1e4fc1ea54527cff78f6c633db39e9a0bd3c64d2
24347 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24348 Date: Fri Aug 19 11:46:17 2011 +0200
24350 [gtk-demo] correctly load demo code when cwd != demos/gtk-demo/
24352 demos/gtk-demo/gtk-demo.py | 39 +++++++++++++++++++++++----------------
24353 1 file changed, 23 insertions(+), 16 deletions(-)
24355 commit 6ffc999fbd4c9990fb5bde53ddd46d139b53245e
24356 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24357 Date: Fri Aug 19 11:02:35 2011 +0200
24359 [gtk-demo] drawingarea: fix labels
24361 demos/gtk-demo/demos/drawingarea.py | 4 ++--
24362 1 file changed, 2 insertions(+), 2 deletions(-)
24364 commit 9fd3986affe11cbc5a816adcccdc56d0592f3618
24365 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24366 Date: Fri Aug 19 09:57:31 2011 +0200
24368 [gtk-demo] fix imports
24370 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++--
24371 demos/gtk-demo/demos/appwindow.py | 9 ++++++---
24372 demos/gtk-demo/gtk-demo.py | 8 ++++----
24373 3 files changed, 14 insertions(+), 9 deletions(-)
24375 commit 9f314babfdee3b82799e00ea003972b0bbe6a8d5
24376 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
24377 Date: Fri Aug 19 10:07:14 2011 +0200
24379 [gtk-demo] fix shebang
24381 demos/gtk-demo/gtk-demo.py | 2 +-
24382 1 file changed, 1 insertion(+), 1 deletion(-)
24384 commit 01142060ae7d71a8a1f7d3e9bbc6f52e65f01c8d
24385 Author: Sebastian Pölsterl <sebp@k-d-w.org>
24386 Date: Fri Aug 19 12:27:04 2011 +0200
24388 Added support for __setitem__ to TreeModel and support for slices
24391 https://bugzilla.gnome.org/show_bug.cgi?id=656891
24393 gi/overrides/Gtk.py | 26 ++++++++++++++++++++--
24394 tests/test_overrides.py | 57
24395 +++++++++++++++++++++++++++++++++++++++++++++++++
24396 2 files changed, 81 insertions(+), 2 deletions(-)
24398 commit d6da96c65b2ed3cda238886990a624fbc31f6987
24399 Author: Olav Vitters <olav@vitters.nl>
24400 Date: Wed Aug 24 16:31:12 2011 +0200
24402 Convert ACCEL_* constants into Gtk.AccelFlags.
24404 pygi-convert.sh | 1 +
24405 1 file changed, 1 insertion(+)
24407 commit 0841d41698302abb5d987849a5874252564ed428
24408 Author: Olav Vitters <olav@vitters.nl>
24409 Date: Wed Aug 24 16:22:17 2011 +0200
24411 Convert TREE_VIEW_DROP_* constants into Gtk.TreeViewDropPosition
24413 pygi-convert.sh | 1 +
24414 1 file changed, 1 insertion(+)
24416 commit 37b0d0f9dc3d485829cae6e50da369fdea91a2d1
24417 Author: John (J5) Palmieri <johnp@redhat.com>
24418 Date: Thu Aug 18 14:06:32 2011 -0400
24420 post commit version bump
24422 configure.ac | 2 +-
24423 1 file changed, 1 insertion(+), 1 deletion(-)
24425 commit e51efc50835a14e0418cc27cc928c52d1aa6a3cf
24426 Author: John (J5) Palmieri <johnp@redhat.com>
24427 Date: Thu Aug 18 14:02:30 2011 -0400
24431 NEWS | 10 ++++++++++
24432 1 file changed, 10 insertions(+)
24434 commit 74c727b53fcf64f465ee77b5a1ea04a69ca90968
24435 Author: John (J5) Palmieri <johnp@redhat.com>
24436 Date: Thu Aug 18 13:50:51 2011 -0400
24438 remove tests that were removed from gi
24440 tests/test_gi.py | 11 -----------
24441 1 file changed, 11 deletions(-)
24443 commit 11ea24dd30d8eeca11c8433c6bd75b06e52ae1ef
24444 Author: John (J5) Palmieri <johnp@redhat.com>
24445 Date: Thu Aug 18 13:48:57 2011 -0400
24447 don't calculate item_size using is_pointer
24449 * is_pointer is poorly defined and cacluating item_size for
24450 arrays causes a crash in the tests because of this
24451 * disregaurd is_pointer when cacluating item sizes
24453 gi/pygi-info.c | 8 ++------
24454 1 file changed, 2 insertions(+), 6 deletions(-)
24456 commit 493b4a21dd162d78cf572b548b58ba6a9ff22971
24457 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24458 Date: Wed Jul 6 01:50:31 2011 +0200
24460 Updated signal example to use GObject introspection
24462 https://bugzilla.gnome.org/show_bug.cgi?id=654162
24464 examples/signal.py | 9 ++++-----
24465 1 file changed, 4 insertions(+), 5 deletions(-)
24467 commit 0332010e704e253380e993874eab9dd122e59a7e
24468 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24469 Date: Wed Jul 6 01:54:50 2011 +0200
24471 Updated properties example to use GObject introspection
24473 https://bugzilla.gnome.org/show_bug.cgi?id=654162
24475 examples/properties.py | 14 +++++++-------
24476 1 file changed, 7 insertions(+), 7 deletions(-)
24478 commit c39f4555ebd703651eca6f978ed9870655b737f0
24479 Author: Martin Pitt <martin.pitt@ubuntu.com>
24480 Date: Fri Aug 12 22:55:02 2011 +0200
24482 Add override for GLib.Variant.split_signature()
24484 This is useful for e. g. iterating over method parameters which are
24486 single Variant. In particular we will need it for automatically
24488 introspection XML for exported DBus server objects.
24490 gi/overrides/GLib.py | 50
24491 +++++++++++++++++++++++++++++++++++++++++++++++++
24492 tests/test_overrides.py | 22 ++++++++++++++++++++++
24493 2 files changed, 72 insertions(+)
24495 commit 735f98d83c1c19df7457aa32a378e8c80cf2831f
24496 Author: Timo Vanwynsberghe <timovwb@gmail.com>
24497 Date: Mon Aug 15 18:58:31 2011 +0200
24499 [pygi-convert.sh] Handle the import of pygtk and require Gtk 3.0
24501 https://bugzilla.gnome.org/show_bug.cgi?id=654001
24503 pygi-convert.sh | 2 ++
24504 1 file changed, 2 insertions(+)
24506 commit d0a96a0a75f2bc969522abce2d326ef440cf143a
24507 Author: Ignacio Casal Quinteiro <icq@gnome.org>
24508 Date: Mon Aug 15 13:12:49 2011 +0200
24510 Install pygobject.h again.
24512 This is needed by libpeas.
24514 gi/_gobject/Makefile.am | 5 ++++-
24515 pygobject-3.0-uninstalled.pc.in | 4 ++--
24516 pygobject-3.0.pc.in | 6 +++---
24517 3 files changed, 9 insertions(+), 6 deletions(-)
24519 commit 081dc2eb03b677eac9f08d3ad05deecc7c51554c
24520 Author: John (J5) Palmieri <johnp@redhat.com>
24521 Date: Sun Aug 14 11:20:15 2011 -0400
24523 update the doap file
24525 pygobject.doap | 26 ++++++++++++++------------
24526 1 file changed, 14 insertions(+), 12 deletions(-)
24528 commit 762a36d2343bc39a502507d600fd1b9db9649dae
24529 Author: John (J5) Palmieri <johnp@redhat.com>
24530 Date: Sun Aug 14 11:13:25 2011 -0400
24534 configure.ac | 2 +-
24535 1 file changed, 1 insertion(+), 1 deletion(-)
24537 commit d3f85a61ec4b1a1d04838f73dc8d862258150048
24538 Author: John (J5) Palmieri <johnp@redhat.com>
24539 Date: Sun Aug 14 10:13:37 2011 -0400
24541 get things ready for release
24544 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24545 1 file changed, 194 insertions(+)
24547 commit ffd057649380d4249c1c52e1225e3646f3994bc6
24548 Author: John (J5) Palmieri <johnp@redhat.com>
24549 Date: Sun Aug 14 05:26:18 2011 -0400
24551 pass exta keywords to the Box constructor
24553 gi/overrides/Gtk.py | 4 ++--
24554 1 file changed, 2 insertions(+), 2 deletions(-)
24556 commit cadbd4142bd0045368b5123d4b0a1876bdd5d798
24557 Author: John (J5) Palmieri <johnp@redhat.com>
24558 Date: Sat Aug 13 11:03:07 2011 -0400
24560 add (Tree|List)Store set method override
24562 gi/overrides/Gtk.py | 50 ++++++++++++++++++++++++
24563 tests/test_overrides.py | 102
24564 ++++++++++++++++++++++++++++++++++++++++++++++--
24565 2 files changed, 149 insertions(+), 3 deletions(-)
24567 commit 9ee9b22bd95e44bd2eca26e7bf3b0a9a988700c5
24568 Author: John (J5) Palmieri <johnp@redhat.com>
24569 Date: Sat Aug 13 09:19:29 2011 -0400
24571 add test for object arrays
24573 tests/test_everything.py | 6 ++++++
24574 1 file changed, 6 insertions(+)
24576 commit c9d9ffd0380878792cbdb13dec4e53be897e5fbc
24577 Author: John (J5) Palmieri <johnp@redhat.com>
24578 Date: Sat Aug 13 08:46:18 2011 -0400
24580 only support C pointer arrays for structs and objects
24582 * There is no way to know if an array of structs or objects are
24584 or flat arrays. Since pointer arrays are the most useful and
24586 it has been decided to only support those arrays
24588 gi/pygi-marshal-out.c | 2 +-
24589 tests/test_gi.py | 8 --------
24590 2 files changed, 1 insertion(+), 9 deletions(-)
24592 commit b12379de1790b72d51883bf7b63c892639a892e7
24593 Author: John (J5) Palmieri <johnp@redhat.com>
24594 Date: Sat Aug 13 06:31:52 2011 -0400
24596 revert Gtk.Window override because it causes issues with subclasses
24598 gi/overrides/Gtk.py | 9 ---------
24599 1 file changed, 9 deletions(-)
24601 commit 3e64a62d6d7f9e9d2820aad54187ef9c34710a1f
24602 Author: Jonathan Matthew <jonathan@d14n.org>
24603 Date: Thu Apr 7 21:05:32 2011 +1000
24605 take GIL in _pygi_invoke_closure_free (bug #647016)
24607 gi/pygi-closure.c | 3 +++
24608 1 file changed, 3 insertions(+)
24610 commit f8de9b8615f5dc30f492781d792aef5fc1e9ab73
24611 Author: Johan Dahlin <jdahlin@litl.com>
24612 Date: Mon Jun 27 00:41:24 2011 -0300
24614 Add a default parameter to GtkTreeModel.filter_new
24616 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24618 gi/overrides/Gtk.py | 3 +++
24619 1 file changed, 3 insertions(+)
24621 commit 583d0b3c6b53712128d7c2d5f075000a2a76ae5f
24622 Author: Johan Dahlin <jdahlin@litl.com>
24623 Date: Mon Jun 27 00:40:12 2011 -0300
24625 Add vbox/action_area properties
24627 Accessing vbox/action_area directly creates segmentation fault,
24628 avoid that by mapping the fields to their getters for PyGTK
24631 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24633 gi/overrides/Gtk.py | 3 +++
24634 1 file changed, 3 insertions(+)
24636 commit 017fdfc1dd06259006719e02ffa48883cee01ffd
24637 Author: Johan Dahlin <jdahlin@litl.com>
24638 Date: Mon Jun 27 00:39:41 2011 -0300
24640 Add a couple of constructors
24642 This is for PyGTK compatibility, so that gtk.HBox(True, 2) etc
24645 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24647 gi/overrides/Gtk.py | 40 ++++++++++++++++++++++++++++++++++++++++
24648 1 file changed, 40 insertions(+)
24650 commit af8bc9d5cdba48a7ee728ccb7ea9039df3ecceba
24651 Author: Johan Dahlin <jdahlin@litl.com>
24652 Date: Mon Jun 27 00:38:30 2011 -0300
24654 Do not always pass in user_data to callbacks.
24656 This keeps API compatibility with PyGTK and avoids sending
24657 in user_data if it's None.
24659 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24661 gi/overrides/Gtk.py | 15 ++++++++++++---
24662 1 file changed, 12 insertions(+), 3 deletions(-)
24664 commit 7914d814350af1a18bdeda64f049c8e9a68d1d18
24665 Author: Johan Dahlin <jdahlin@litl.com>
24666 Date: Mon Jun 27 00:38:20 2011 -0300
24668 Add a default detail value for Widget.render_icon
24670 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24672 gi/overrides/Gtk.py | 3 +++
24673 1 file changed, 3 insertions(+)
24675 commit 5b1c875269b7979caae97e84919a690a34d92f29
24676 Author: Johan Dahlin <jdahlin@litl.com>
24677 Date: Mon Jun 27 00:36:20 2011 -0300
24679 Add an override for Gdk.color_parse()
24681 Change Gdk.color_parse() to not return a tuple, instead just
24682 return the created color or None if it wasn't possible to parse
24683 the name into a color.
24685 This keeps compatibility with PyGTK but breaks the current API.
24687 https://bugzilla.gnome.org/show_bug.cgi?id=653462
24689 gi/overrides/Gdk.py | 8 ++++++++
24690 1 file changed, 8 insertions(+)
24692 commit 187a2932bbf1e724f759ff3ed3392fc7341c6aa8
24693 Author: Laszlo Pandy <lpandy@src.gnome.org>
24694 Date: Mon Aug 8 12:06:18 2011 +0200
24696 Support function calling with keyword arguments in invoke.
24698 https://bugzilla.gnome.org/show_bug.cgi?id=625596
24700 gi/pygi-cache.c | 39 ++++++++++++
24701 gi/pygi-cache.h | 4 ++
24702 gi/pygi-invoke.c | 162
24703 +++++++++++++++++++++++++++++++++++++++++++++--
24704 gi/types.py | 12 ++--
24705 tests/test_everything.py | 2 +-
24706 tests/test_gi.py | 58 +++++++++++++++++
24707 6 files changed, 265 insertions(+), 12 deletions(-)
24709 commit e5df32ffbf37481dbb6a70c4d4e7b7b9778c5549
24710 Author: John (J5) Palmieri <johnp@redhat.com>
24711 Date: Sat Aug 13 04:13:28 2011 -0400
24713 remove references to deprecated GI_INFO_TYPE_ERROR_DOMAIN
24715 gi/pygi-info.c | 5 -----
24716 1 file changed, 5 deletions(-)
24718 commit 745001178fc72be5626c7211366d694f41162987
24719 Author: Martin Pitt <martin.pitt@ubuntu.com>
24720 Date: Thu Aug 11 15:11:42 2011 +0200
24722 Fix gobject vs. gi.repository warning
24724 Check the warning earlier and fix the operator, so that it actually
24726 update the warning to explain how to fix the problem.
24728 gi/_gobject/__init__.py | 8 ++++----
24729 1 file changed, 4 insertions(+), 4 deletions(-)
24731 commit 25d2d05cba05414cd4551e0e06f6286a9b97a509
24732 Author: John (J5) Palmieri <johnp@redhat.com>
24733 Date: Fri Jul 22 15:46:31 2011 -0400
24735 make GObject and GLib able to take overrides
24737 * derive directly from DynamicModule instead of InterfaceModule
24739 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24741 gi/importer.py | 11 +++---
24743 ++++++++++++++++++++++++++++-----------------------------
24744 2 files changed, 64 insertions(+), 65 deletions(-)
24746 commit 698b2284e29c0f699198cf6a22eeb0e399daba6e
24747 Author: John (J5) Palmieri <johnp@redhat.com>
24748 Date: Fri Jul 22 15:45:09 2011 -0400
24750 avoid dependency issue by importing the internal gobject
24752 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24754 gi/__init__.py | 2 +-
24755 1 file changed, 1 insertion(+), 1 deletion(-)
24757 commit 7b068ebe59884ebd9aeb4425dc80cdff73a66fb1
24758 Author: John (J5) Palmieri <johnp@redhat.com>
24759 Date: Fri Jul 22 14:13:02 2011 -0400
24761 fix tests to use the new GLib module
24763 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24765 tests/test_mainloop.py | 7 +++----
24766 tests/test_option.py | 3 ++-
24767 tests/test_source.py | 24 +++++++++++-------------
24768 tests/test_subprocess.py | 12 +++++-------
24769 tests/test_thread.py | 10 ++++------
24770 tests/test_uris.py | 4 ++--
24771 6 files changed, 27 insertions(+), 33 deletions(-)
24773 commit 191ef79315f8a5641699536fde58da18e23ef904
24774 Author: John (J5) Palmieri <johnp@redhat.com>
24775 Date: Fri Jul 22 14:11:53 2011 -0400
24777 add DynamicGLibModule which works like DynamicGObjectModule
24779 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24781 gi/importer.py | 7 +++++--
24782 gi/module.py | 32 +++++++++++++++++++++++++++++---
24783 2 files changed, 34 insertions(+), 5 deletions(-)
24785 commit fbd4a8263260c187211799454c08b1e55e2cb998
24786 Author: John (J5) Palmieri <johnp@redhat.com>
24787 Date: Fri Jul 22 12:27:41 2011 -0400
24789 refactor, add objects and types to the correct internal module
24791 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24793 gi/_glib/pygiochannel.c | 38 +++++++++++++++++++-------------------
24794 gi/_glib/pygmaincontext.c | 2 +-
24795 gi/_glib/pygmainloop.c | 4 ++--
24796 gi/_glib/pygoptioncontext.c | 4 ++--
24797 gi/_glib/pygoptiongroup.c | 4 ++--
24798 gi/_glib/pygsource.c | 14 +++++++-------
24799 gi/_glib/pygspawn.c | 14 +++++++-------
24800 7 files changed, 40 insertions(+), 40 deletions(-)
24802 commit 7431b49a161df9178c55b814d3adff992ac2d722
24803 Author: John (J5) Palmieri <johnp@redhat.com>
24804 Date: Fri Jul 22 12:26:32 2011 -0400
24806 rename the pyglib shared library so we don't load the old one
24808 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24810 gi/Makefile.am | 2 +-
24811 gi/_glib/Makefile.am | 10 +++++-----
24812 gi/_gobject/Makefile.am | 2 +-
24813 3 files changed, 7 insertions(+), 7 deletions(-)
24815 commit b8700451acd4a19b59b64fc8641fca748d2189e2
24816 Author: John (J5) Palmieri <johnp@redhat.com>
24817 Date: Fri Jul 22 11:20:09 2011 -0400
24819 refactor tests to only use PyGObject 3 syntax
24821 * for PyGObject 3 we want to discourage the use of legacy
24823 * Using interfaces like from gi.repository import GObject makes
24824 sure that the internal _gobject module is loaded and not
24825 PyGObject 2's gobject module which would cause the application
24826 to not work correctly
24828 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24830 tests/runtests-windows.py | 4 +-
24831 tests/test_gdbus.py | 12 ++---
24832 tests/test_gi.py | 4 +-
24833 tests/test_gobject.py | 31 ++++++------
24834 tests/test_interface.py | 16 +++---
24835 tests/test_mainloop.py | 3 +-
24836 tests/test_overrides.py | 8 +--
24837 tests/test_properties.py | 124
24838 +++++++++++++++++++++++-----------------------
24839 tests/test_signal.py | 98 ++++++++++++++++++------------------
24840 tests/test_source.py | 5 +-
24841 tests/test_subprocess.py | 3 +-
24842 tests/test_thread.py | 5 +-
24843 tests/test_unknown.py | 8 +--
24844 tests/testhelpermodule.c | 2 +-
24845 tests/testmodule.py | 10 ++--
24846 15 files changed, 169 insertions(+), 164 deletions(-)
24848 commit c980dae21468fe073cc8782608148c346bb90ad7
24849 Author: John (J5) Palmieri <johnp@redhat.com>
24850 Date: Fri Jul 22 11:16:00 2011 -0400
24852 refactor the internal _glib module to import correct modules
24854 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24856 gi/_glib/__init__.py | 3 ++-
24857 gi/_glib/glibmodule.c | 10 +++++-----
24858 gi/_glib/option.py | 4 ++--
24859 gi/_glib/pyglib.c | 18 +++++++++---------
24860 4 files changed, 18 insertions(+), 17 deletions(-)
24862 commit 65ac35cca8d24f4c133991e1c6ac02f49416a9a4
24863 Author: John (J5) Palmieri <johnp@redhat.com>
24864 Date: Fri Jul 22 11:10:46 2011 -0400
24866 refactor to use the new internal _glib and _gobject modules
24868 * use relative imports instead of aboslute
24869 * fix the C imports to import the internal _gobject libs
24870 * add a check to see if the PyGObject 2 gobject module
24871 was already imported
24873 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24875 gi/_gobject/__init__.py | 20 +++++++++++++-------
24876 gi/_gobject/constants.py | 3 +--
24877 gi/_gobject/gobjectmodule.c | 2 +-
24878 gi/_gobject/propertyhelper.py | 11 +++++------
24879 gi/_gobject/pygobject.c | 16 ++++++++--------
24880 gi/_gobject/pygobject.h | 2 +-
24881 6 files changed, 29 insertions(+), 25 deletions(-)
24883 commit 59ed1289f76bc287443b3974710ea0da3e2cc8cc
24884 Author: John (J5) Palmieri <johnp@redhat.com>
24885 Date: Fri Jul 22 11:07:10 2011 -0400
24887 refactor gi module to import and use internal _gobject module
24889 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24891 gi/importer.py | 2 --
24892 gi/module.py | 31 ++++++++++++++++---------------
24893 gi/overrides/Gtk.py | 2 +-
24894 gi/overrides/__init__.py | 6 +++---
24895 gi/pygobject-external.h | 2 +-
24896 gi/types.py | 12 ++++++------
24897 6 files changed, 27 insertions(+), 28 deletions(-)
24899 commit 6b9d738d78c6ac45d49f00402c89356887555069
24900 Author: John (J5) Palmieri <johnp@redhat.com>
24901 Date: Fri Jul 22 11:02:49 2011 -0400
24903 move the static bits internal to gi and refactor build files
24905 * the glib module now becomes the gi._glib module
24906 * the gobject module now becomes the gi._gobject module
24907 * we do this so we can install in parallel with PyGObject 2
24909 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24912 configure.ac | 6 +++---
24913 gi/Makefile.am | 8 +++++---
24914 {glib => gi/_glib}/Makefile.am | 5 +----
24915 {glib => gi/_glib}/__init__.py | 0
24916 {glib => gi/_glib}/glibmodule.c | 0
24917 {glib => gi/_glib}/option.py | 0
24918 {glib => gi/_glib}/pygiochannel.c | 0
24919 {glib => gi/_glib}/pygiochannel.h | 0
24920 {glib => gi/_glib}/pyglib-private.h | 0
24921 {glib => gi/_glib}/pyglib-python-compat.h | 0
24922 {glib => gi/_glib}/pyglib.c | 0
24923 {glib => gi/_glib}/pyglib.h | 0
24924 {glib => gi/_glib}/pygmaincontext.c | 0
24925 {glib => gi/_glib}/pygmaincontext.h | 0
24926 {glib => gi/_glib}/pygmainloop.c | 0
24927 {glib => gi/_glib}/pygmainloop.h | 0
24928 {glib => gi/_glib}/pygoptioncontext.c | 0
24929 {glib => gi/_glib}/pygoptioncontext.h | 0
24930 {glib => gi/_glib}/pygoptiongroup.c | 0
24931 {glib => gi/_glib}/pygoptiongroup.h | 0
24932 {glib => gi/_glib}/pygsource.c | 0
24933 {glib => gi/_glib}/pygsource.h | 0
24934 {glib => gi/_glib}/pygspawn.c | 0
24935 {glib => gi/_glib}/pygspawn.h | 0
24936 {gobject => gi/_gobject}/Makefile.am | 10 ++++------
24937 {gobject => gi/_gobject}/__init__.py | 0
24938 {gobject => gi/_gobject}/constants.py | 0
24939 {gobject => gi/_gobject}/ffi-marshaller.c | 0
24940 {gobject => gi/_gobject}/ffi-marshaller.h | 0
24941 {gobject => gi/_gobject}/gobjectmodule.c | 0
24942 {gobject => gi/_gobject}/propertyhelper.py | 0
24943 {gobject => gi/_gobject}/pygboxed.c | 0
24944 {gobject => gi/_gobject}/pygboxed.h | 0
24945 {gobject => gi/_gobject}/pygenum.c | 0
24946 {gobject => gi/_gobject}/pygenum.h | 0
24947 {gobject => gi/_gobject}/pygflags.c | 0
24948 {gobject => gi/_gobject}/pygflags.h | 0
24949 {gobject => gi/_gobject}/pyginterface.c | 0
24950 {gobject => gi/_gobject}/pyginterface.h | 0
24951 {gobject => gi/_gobject}/pygobject-private.h | 0
24952 {gobject => gi/_gobject}/pygobject.c | 0
24953 {gobject => gi/_gobject}/pygobject.h | 0
24954 {gobject => gi/_gobject}/pygparamspec.c | 0
24955 {gobject => gi/_gobject}/pygparamspec.h | 0
24956 {gobject => gi/_gobject}/pygpointer.c | 0
24957 {gobject => gi/_gobject}/pygpointer.h | 0
24958 {gobject => gi/_gobject}/pygtype.c | 0
24959 {gobject => gi/_gobject}/pygtype.h | 0
24960 tests/Makefile.am | 2 +-
24961 50 files changed, 15 insertions(+), 18 deletions(-)
24963 commit f0d2ddcf7e61c36f79a9adf8ccc53bf3db9349d3
24964 Author: John (J5) Palmieri <johnp@redhat.com>
24965 Date: Mon Jul 18 18:46:31 2011 -0400
24969 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24971 Makefile.am | 5 ----
24973 -------------------------------------------------------------
24974 2 files changed, 100 deletions(-)
24976 commit 75e9f7d80d9224c05e6063b88479f1baee48c489
24977 Author: John (J5) Palmieri <johnp@redhat.com>
24978 Date: Mon Jul 18 18:41:41 2011 -0400
24980 introspection is no longer optional
24982 https://bugzilla.gnome.org/show_bug.cgi?id=642048
24984 Makefile.am | 8 +-------
24985 configure.ac | 43 +++++++++++++++++--------------------------
24986 gi/pygi.h | 37 -------------------------------------
24987 gobject/Makefile.am | 5 +----
24988 tests/Makefile.am | 7 +------
24989 5 files changed, 20 insertions(+), 80 deletions(-)
24991 commit d862168d6a82edd59547d39f5b0ab8279b1e511c
24992 Author: John (J5) Palmieri <johnp@redhat.com>
24993 Date: Mon Jul 18 18:28:50 2011 -0400
24995 up platform version to 3.0
24997 https://bugzilla.gnome.org/show_bug.cgi?id=642048
25002 pygobject-2.0-uninstalled.pc.in => pygobject-3.0-uninstalled.pc.in | 0
25003 pygobject-2.0.pc.in => pygobject-3.0.pc.in | 0
25004 4 files changed, 3 insertions(+), 3 deletions(-)
25006 commit 5189b360ccddbbaee267ce857968fbf1aafdd07a
25007 Author: Martin Pitt <martin.pitt@ubuntu.com>
25008 Date: Thu Aug 11 09:53:15 2011 +0200
25010 [gi] Handle GVariants from callback return values
25012 Callbacks still use GIArgument, add missing GVariant support for
25015 gi/pygi-argument.c | 6 ++++--
25016 1 file changed, 4 insertions(+), 2 deletions(-)
25018 commit 18a240cc492d2e5ebe2709a0d7155e27c8ff9e63
25019 Author: Martin Pitt <martin.pitt@ubuntu.com>
25020 Date: Wed Aug 10 14:11:10 2011 +0200
25022 Handle GVariants for callback arguments
25024 Callbacks still use GIArgument, add missing GVariant support. This
25026 equivalent of what commit 9d5604220bd56 did for pygi_marshall_*().
25028 gi/pygi-argument.c | 7 +++++++
25029 1 file changed, 7 insertions(+)
25031 commit aa820d6ce2fee83e61e3e9de7c6b7d2452e2847d
25032 Author: Laszlo Pandy <lpandy@src.gnome.org>
25033 Date: Mon Aug 8 01:58:10 2011 +0200
25035 [gi] Fix crash: check return value of
25036 _invoke_state_init_from_callable_cache() before continuing.
25038 gi/pygi-invoke.c | 4 +++-
25039 1 file changed, 3 insertions(+), 1 deletion(-)
25041 commit eaad9f3c71cedfe28ff2d2bb05ea6c64e323715f
25042 Author: Laszlo Pandy <lpandy@src.gnome.org>
25043 Date: Fri Aug 5 21:03:33 2011 +0200
25045 [gi] Pass gtype as first parameter to vfuncs (instead of using
25048 gi/pygi-invoke.c | 32 ++++++++++++++++++--------------
25050 2 files changed, 19 insertions(+), 15 deletions(-)
25052 commit 76edfd0d5776f61c92c84fd9fb8dcc246c580e93
25053 Author: John (J5) Palmieri <johnp@redhat.com>
25054 Date: Mon Jul 18 18:21:51 2011 -0400
25059 codegen/Makefile.am | 33 -
25060 codegen/README.defs | 351 --------
25061 codegen/__init__.py | 16 -
25062 codegen/argtypes.py | 1043 -----------------------
25063 codegen/code-coverage.py | 44 -
25064 codegen/codegen.py | 1722
25065 --------------------------------------
25066 codegen/createdefs.py | 17 -
25067 codegen/definitions.py | 575 -------------
25068 codegen/defsconvert.py | 132 ---
25069 codegen/defsgen.py | 737 ----------------
25070 codegen/defsparser.py | 153 ----
25071 codegen/docextract.py | 461 ----------
25072 codegen/docextract_to_xml.py | 142 ----
25073 codegen/docgen.py | 766 -----------------
25074 codegen/h2def.py | 631 --------------
25075 codegen/mergedefs.py | 26 -
25076 codegen/missingdefs.py | 17 -
25077 codegen/mkskel.py | 89 --
25078 codegen/override.py | 285 -------
25079 codegen/pygobject-codegen-2.0.in | 11 -
25080 codegen/reversewrapper.py | 912 --------------------
25081 codegen/scanvirtuals.py | 54 --
25082 codegen/scmexpr.py | 143 ----
25084 pygobject-2.0-uninstalled.pc.in | 1 -
25085 pygobject-2.0.pc.in | 1 -
25086 27 files changed, 1 insertion(+), 8368 deletions(-)
25088 commit bf284c7c47c3e52ab4d8700327a170903e9ebad2
25089 Author: John (J5) Palmieri <johnp@redhat.com>
25090 Date: Mon Jul 18 11:04:58 2011 -0400
25092 remove some left over ifdefs to complete merge of the invoke-rewrite
25095 gi/pygi-cache.h | 2 --
25096 gi/pygi-info.c | 2 --
25097 gi/pygi-private.h | 5 +----
25099 4 files changed, 1 insertion(+), 10 deletions(-)
25101 commit 8c653ec3033fab47c4bb4071b5732a349357141f
25102 Author: John (J5) Palmieri <johnp@redhat.com>
25103 Date: Mon Jul 18 10:59:45 2011 -0400
25105 rename pygi-invoke-ng to pygi-invoke
25107 gi/Makefile.am | 3 ++-
25108 gi/{pygi-invoke-ng.c => pygi-invoke.c} | 0
25109 2 files changed, 2 insertions(+), 1 deletion(-)
25111 commit 62d59fa2c2b31d7a3cac8996d58234d4b13bb19f
25112 Author: John (J5) Palmieri <johnp@redhat.com>
25113 Date: Mon Jul 18 10:56:36 2011 -0400
25115 make invoke-ng the only invoker
25117 configure.ac | 11 -
25118 gi/Makefile.am | 10 +-
25119 gi/pygi-invoke.c | 1030
25120 ------------------------------------------------------
25121 3 files changed, 1 insertion(+), 1050 deletions(-)
25123 commit 2937cfe5bb7122dd3783c7919294d6a34a3dfc05
25124 Merge: 519e556d 917ea2df
25125 Author: John (J5) Palmieri <johnp@redhat.com>
25126 Date: Mon Jul 18 10:45:18 2011 -0400
25128 Merge branch 'master' into invoke-rewrite
25130 commit 519e556dc1e5874e1668bad93043fb9258c7ee79
25131 Merge: bab7e882 38cca3c1
25132 Author: John (J5) Palmieri <johnp@redhat.com>
25133 Date: Mon Jul 18 10:37:20 2011 -0400
25135 Merge branch 'master' into invoke-rewrite
25137 commit bab7e88251bffcd360186c6dedc26be8eb077084
25138 Author: John (J5) Palmieri <johnp@redhat.com>
25139 Date: Mon Jul 18 10:35:10 2011 -0400
25141 split the marshalling routines into two source files
25143 * update copy and paste copyright info to list the correct owner
25145 gi/Makefile.am | 6 +-
25146 gi/pygi-cache.c | 3 +-
25147 gi/{pygi-marshal.c => pygi-marshal-in.c} | 739
25148 +----------------------------
25149 gi/{pygi-marshal.h => pygi-marshal-in.h} | 117 -----
25150 gi/pygi-marshal-out.c | 767
25151 +++++++++++++++++++++++++++++++
25152 gi/pygi-marshal-out.h | 144 ++++++
25153 6 files changed, 920 insertions(+), 856 deletions(-)
25155 commit 917ea2dfa2d097e563233145003a66b3e4423287
25156 Author: Martin Pitt <martin.pitt@ubuntu.com>
25157 Date: Thu Jul 14 11:21:10 2011 +0200
25159 Ship tests/te_ST@nouppera in release tarballs for tests to succeed
25161 tests/Makefile.am | 1 +
25162 1 file changed, 1 insertion(+)
25164 commit e024e832ab9c82d3e299cc6e1cb427de44f2d16e
25165 Author: John (J5) Palmieri <johnp@redhat.com>
25166 Date: Wed Jul 13 15:43:02 2011 -0400
25168 [invoke] break out caller_allocates allocating into its own function
25170 gi/pygi-invoke-ng.c | 78
25171 +++++++++++++++++++++++++++++++++--------------------
25172 1 file changed, 49 insertions(+), 29 deletions(-)
25174 commit fc8b8ce768ac780f7ed9edc63b70dd35194153c0
25175 Author: John (J5) Palmieri <johnp@redhat.com>
25176 Date: Wed Jul 13 15:42:26 2011 -0400
25178 [invoke] missed a bit when removing constructor_class usage
25180 gi/pygi-invoke-ng.c | 2 +-
25181 1 file changed, 1 insertion(+), 1 deletion(-)
25183 commit c94bcf4ae7e36f90c356c89712b00609f9f849bd
25184 Author: John (J5) Palmieri <johnp@redhat.com>
25185 Date: Wed Jul 13 15:16:17 2011 -0400
25187 [invoke] don't hold on to the constructor class, just add a TODO
25189 gi/pygi-invoke-ng.c | 11 +++++------
25190 gi/pygi-invoke-state-struct.h | 1 -
25191 2 files changed, 5 insertions(+), 7 deletions(-)
25193 commit c11d3195f324ea41e86e3da7ff99b55425c2faec
25194 Author: Martin Pitt <martin.pitt@ubuntu.com>
25195 Date: Wed Jul 13 10:40:25 2011 +0200
25197 [gi] Port test_properties from static gio to GI Gio
25199 As we ripped out the static gio bindings a while ago, this test case
25201 the system installed gio bindings with Python 2, and now fails
25203 Python 3. Rewrite it to use gi.repository.Gio.
25205 tests/test_properties.py | 38 +++++++++++++++++++-------------------
25206 1 file changed, 19 insertions(+), 19 deletions(-)
25208 commit 8f89ff24fcac627ce15ca93038711fded1a7c5ed
25209 Author: Martin Pitt <martin.pitt@ubuntu.com>
25210 Date: Wed Jul 13 08:42:22 2011 +0200
25212 [python3] Fix maketrans import
25214 Python3 moved the maketrans() function from the string module to a
25216 This unbreaks gi/module.py for Python 3 again.
25218 gi/module.py | 8 ++++++--
25219 1 file changed, 6 insertions(+), 2 deletions(-)
25221 commit 20aea4b052126fa0bface3e6e0dccfd77f9505b1
25222 Author: John (J5) Palmieri <johnp@redhat.com>
25223 Date: Fri Jul 8 14:39:22 2011 -0400
25225 [caching] remove all inline compiler flags
25227 gi/pygi-cache.c | 96
25228 ++++++++++++++++++++++++++++-----------------------------
25229 1 file changed, 48 insertions(+), 48 deletions(-)
25231 commit bf7bb79b66ad406063fb443e7452d830c55986ef
25232 Author: John (J5) Palmieri <johnp@redhat.com>
25233 Date: Fri Jul 8 14:35:20 2011 -0400
25235 [caching] refactor function names to be less confusing
25237 gi/pygi-cache.c | 307
25238 +++++++++++++++++++++++++++-----------------------------
25239 1 file changed, 150 insertions(+), 157 deletions(-)
25241 commit c167a9345b01c070bd5a84b4a4b3a53baf9e217d
25242 Author: John (J5) Palmieri <johnp@redhat.com>
25243 Date: Fri Jul 8 11:24:09 2011 -0400
25245 [overrides] deprecate the use of type keyword MessageDialog
25248 * pygtk used type to determine the "type" of message dialog to
25250 use the proper property name "message_type" since we should not be
25251 overriding a reserved word
25252 * to keep compat with pygtk we check the kwds hash for the key
25254 assign it to message_type while throwing a deprecation warning
25255 * also add a deprication warning when trying to use the depricated
25259 gi/overrides/Gtk.py | 13 ++++++++-----
25260 1 file changed, 8 insertions(+), 5 deletions(-)
25262 commit 367e4ededd4a45125157050bcc9e4e685fd4a82d
25263 Author: Martin Pitt <martin.pitt@ubuntu.com>
25264 Date: Fri Jul 8 10:15:53 2011 +0200
25266 gdbus tests: Fix hang if test case fails
25268 In the TestGDBusClient.test_native_calls_async() test case, the main
25270 never quit when the call failed.
25272 tests/test_gdbus.py | 6 ++++--
25273 1 file changed, 4 insertions(+), 2 deletions(-)
25275 commit 11b578400cbf9f7c270b662a5e8953ccd466e5ef
25276 Author: John (J5) Palmieri <johnp@redhat.com>
25277 Date: Thu Jul 7 19:30:11 2011 -0400
25279 use an enum instead of booleans to denote function type
25281 gi/pygi-cache.c | 85
25282 ++++++++++++++++++++++++++++++-----------------------
25283 gi/pygi-cache.h | 18 +++++++++---
25284 gi/pygi-invoke-ng.c | 8 ++---
25285 3 files changed, 67 insertions(+), 44 deletions(-)
25287 commit 10e31005baec26f61c0f8fca2b5c0337b0be6c70
25288 Author: John (J5) Palmieri <johnp@redhat.com>
25289 Date: Thu Jul 7 15:18:03 2011 -0400
25291 rename aux arguments to child arguments to make their purpose clearer
25293 gi/pygi-cache.c | 64
25294 ++++++++++++++++++++++++++---------------------------
25295 gi/pygi-cache.h | 29 ++++++++++++++++--------
25296 gi/pygi-invoke-ng.c | 10 ++++-----
25297 gi/pygi-marshal.c | 12 +++++-----
25298 4 files changed, 63 insertions(+), 52 deletions(-)
25300 commit b4ad91c40f713ebdc278ce40b011e4adf9ddbbd7
25301 Author: Timo Vanwynsberghe <timovwb@gmail.com>
25302 Date: Thu Jul 7 10:59:08 2011 +0200
25304 Fixed the cairo example
25306 https://bugzilla.gnome.org/show_bug.cgi?id=653844
25308 examples/cairo-demo.py | 6 ++----
25309 1 file changed, 2 insertions(+), 4 deletions(-)
25311 commit a606bab1ddc605167f2e9dc7c46c8f929fdce23b
25312 Author: Adam Dingle <adam@yorba.org>
25313 Date: Tue Jul 5 14:28:20 2011 -0700
25315 Add override binding for Gtk.ListStore.prepend().
25317 https://bugzilla.gnome.org/show_bug.cgi?id=654056
25319 gi/overrides/Gtk.py | 8 ++++++++
25320 tests/test_overrides.py | 13 ++++++++++++-
25321 2 files changed, 20 insertions(+), 1 deletion(-)
25323 commit fc5c869486c7f6929e285ea7a86623ec41ecd9bd
25324 Author: Martin Pitt <martin.pitt@ubuntu.com>
25325 Date: Thu Jul 7 13:39:19 2011 +0200
25327 Fix crash in Gtk.TextIter overrides
25329 With commit 17cd0fb3 Gtk.TextIter.{forward,backward}_search()
25331 pointers when the search was unsuccessful. Actually check the
25333 value; if it is False return None, just like PyGTK used to.
25335 Thanks to Michael Vogt for discovering this and writing the test case!
25339 -------------- 8< -----------------
25340 from gi.repository import Gtk
25342 win = Gtk.Window.new(Gtk.WindowType.TOPLEVEL)
25343 textview = Gtk.TextView()
25344 buffer = textview.get_buffer()
25345 buffer.set_text("hello world")
25350 iter = buffer.get_start_iter()
25351 end = buffer.get_end_iter()
25352 ret = iter.forward_search("foo",
25353 Gtk.TextSearchFlags.VISIBLE_ONLY,
25355 print "this is my return value"
25357 print "now I crash"
25358 print ret[0].get_offset()
25361 -------------- 8< -----------------
25363 gi/overrides/Gtk.py | 10 ++++++++--
25364 1 file changed, 8 insertions(+), 2 deletions(-)
25366 commit 5c04fc5b2ca7e262c052426d5863d69d0c4a24da
25367 Author: John (J5) Palmieri <johnp@redhat.com>
25368 Date: Tue Jul 5 15:57:23 2011 -0400
25370 use gssize instead of int for arg indexes
25372 gi/pygi-cache.c | 24 ++++++++++++------------
25373 gi/pygi-cache.h | 6 +++---
25374 gi/pygi-invoke-ng.c | 6 +++---
25375 gi/pygi-marshal-cleanup.c | 6 +++---
25376 4 files changed, 21 insertions(+), 21 deletions(-)
25378 commit ecc09749c34cd4eabf47cc722d768b042dc0be9f
25379 Author: John (J5) Palmieri <johnp@redhat.com>
25380 Date: Tue Jul 5 14:17:30 2011 -0400
25382 [cache] remove refrence to default value as it is not implemented yet
25384 gi/pygi-cache.h | 1 -
25385 1 file changed, 1 deletion(-)
25387 commit 433e0fb259047d8c81e5949a31abb5e0feefd27b
25388 Author: Sebastian Pölsterl <sebp@k-d-w.org>
25389 Date: Thu May 12 18:53:06 2011 +0200
25391 Handle arguments that are flags correctly
25393 https://bugzilla.gnome.org/show_bug.cgi?id=647581
25395 gi/pygi-argument.c | 2 ++
25396 1 file changed, 2 insertions(+)
25398 commit 38cca3c14e79fbc383e3fc65a120bee03714b99f
25399 Author: John (J5) Palmieri <johnp@redhat.com>
25400 Date: Fri Jul 1 05:19:15 2011 -0400
25402 correctly initialize the _gi_cairo_functions array to be zero filled
25404 gi/pygi-foreign-cairo.c | 2 +-
25405 1 file changed, 1 insertion(+), 1 deletion(-)
25407 commit 9ae43fdbcc547eb1e3c61bf9545da40555b2e2c6
25408 Author: John (J5) Palmieri <johnp@redhat.com>
25409 Date: Fri Jul 1 05:19:15 2011 -0400
25411 correctly initialize the _gi_cairo_functions array to be zero filled
25413 gi/pygi-foreign-cairo.c | 2 +-
25414 1 file changed, 1 insertion(+), 1 deletion(-)
25416 commit d3ee40b36b1718e6fb4544dbe07e291138ea1eb9
25417 Author: John (J5) Palmieri <johnp@redhat.com>
25418 Date: Wed Jun 29 18:14:40 2011 -0400
25420 pass in the address of the gerror, not the gerror itself
25422 gi/pygi-argument.c | 2 +-
25423 1 file changed, 1 insertion(+), 1 deletion(-)
25425 commit 49dc98eb9339ea64355cd752ca000c79da56f3a2
25426 Author: John (J5) Palmieri <johnp@redhat.com>
25427 Date: Wed Jun 29 18:01:44 2011 -0400
25429 [gi] handle marshalling gerrors arguments for signals
25431 gi/pygi-argument.c | 18 ++++++++++++++++--
25432 1 file changed, 16 insertions(+), 2 deletions(-)
25434 commit db9419fcef628e9ffee10591156007ea9c0bc1f0
25435 Author: John (J5) Palmieri <johnp@redhat.com>
25436 Date: Wed Jun 29 12:12:29 2011 -0400
25438 [gi-invoke-ng] fix NULL check to check before we access the cache
25441 gi/pygi-cache.c | 6 +++---
25442 1 file changed, 3 insertions(+), 3 deletions(-)
25444 commit 9027e1a20fd06df5c26edcec1893ef0814ec938a
25445 Author: John (J5) Palmieri <johnp@redhat.com>
25446 Date: Tue Jun 28 18:21:55 2011 -0400
25448 [gi-tests] add test for PyGObject->PyObject TreeModel storage
25450 * make sure we can store a custom GObject as a PyObject inside of
25453 tests/test_overrides.py | 26 +++++++++++++++-----------
25454 1 file changed, 15 insertions(+), 11 deletions(-)
25456 commit b6842e4b2a28733e143d4022864041ca82e91f7a
25457 Author: John (J5) Palmieri <johnp@redhat.com>
25458 Date: Tue Jun 28 18:13:38 2011 -0400
25460 [gtk-overrides] special case TreeModel columns of PYGOBJECT types
25462 * box the PYGOBJECT in a GValue so we can store PyGObjects in a
25465 gi/overrides/Gtk.py | 7 ++++---
25466 gobject/pygtype.c | 7 ++++---
25467 2 files changed, 8 insertions(+), 6 deletions(-)
25469 commit 7fc9d45860210fd9d333fd3769c6cf93a6a20eb6
25470 Author: John (J5) Palmieri <johnp@redhat.com>
25471 Date: Tue Jun 28 17:32:29 2011 -0400
25473 [gi-invoke-ng] copy structs when transfer is full for array
25475 gi/pygi-marshal.c | 21 ++++++++++++++++++---
25476 1 file changed, 18 insertions(+), 3 deletions(-)
25478 commit 8d60c0bc7b327aa757a8727f1146f02cc0b78af8
25479 Author: John (J5) Palmieri <johnp@redhat.com>
25480 Date: Tue Jun 28 13:54:48 2011 -0400
25482 [gtk-override] print warning if user imports Gtk 2.0
25484 * this is needed because people file bugs not realizing they are
25486 which is not supported
25488 gi/overrides/Gtk.py | 12 ++++++++++++
25489 1 file changed, 12 insertions(+)
25491 commit 7c589c0c1de1a786e00685afd5292b6fb1f93ed3
25492 Author: John (J5) Palmieri <johnp@redhat.com>
25493 Date: Tue Jun 28 13:08:49 2011 -0400
25495 [gtk-overrides] allow the message_type keyword to be used for
25498 * for pygtk compat we use the type keyword for message type but
25500 the use of message_type because it is more descriptive and does
25502 with a python reserved word
25503 * if you passed message_type into a MessageDialog constructor you
25505 an error because we also convert type to message_type when
25508 * this patch looks to see if message_type was passed in as a
25510 assigns it to type while removing message_type from the keywords
25512 to avoid name clashing
25514 gi/overrides/Gtk.py | 5 +++++
25515 1 file changed, 5 insertions(+)
25517 commit 2aa12267bee91aa696633a0cea2a0accae09250a
25518 Author: Johan Dahlin <jdahlin@litl.com>
25519 Date: Mon Jun 27 10:56:20 2011 -0300
25521 Add support for enums in gobject.property
25523 https://bugzilla.gnome.org/show_bug.cgi?id=653488
25525 gobject/propertyhelper.py | 23 ++++++++++++++++-------
25526 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
25527 2 files changed, 52 insertions(+), 11 deletions(-)
25529 commit dc62e67b447ef526a6f2d1aa8648ad101d95024b
25530 Author: Johan Dahlin <jdahlin@litl.com>
25531 Date: Mon Jun 27 10:56:20 2011 -0300
25533 Add support for enums in gobject.property
25535 https://bugzilla.gnome.org/show_bug.cgi?id=653488
25537 gobject/propertyhelper.py | 23 ++++++++++++++++-------
25538 tests/test_properties.py | 40 ++++++++++++++++++++++++++++++++++++----
25539 2 files changed, 52 insertions(+), 11 deletions(-)
25541 commit 50cfccb5801c1b9a0a42ffe2826cd245f21fd88d
25542 Author: John (J5) Palmieri <johnp@redhat.com>
25543 Date: Fri Jun 24 14:17:24 2011 -0400
25545 [gi-invoke-ng] use g_slice for allocating GValues that are caller
25548 gi/pygi-invoke-ng.c | 2 ++
25549 gi/pygi-marshal-cleanup.c | 2 ++
25550 2 files changed, 4 insertions(+)
25552 commit eff65cd2ce490296865441c3c78b7846f380459c
25553 Author: John (J5) Palmieri <johnp@redhat.com>
25554 Date: Fri Jun 24 11:49:05 2011 -0400
25556 [gi-invoke-ng] Convert Overflow errors to ValueErrors when marshalling
25559 gi/pygi-marshal.c | 56
25560 +++++++++++++++++++++++++++++++++++++++++++------------
25561 1 file changed, 44 insertions(+), 12 deletions(-)
25563 commit 05ed688d54e3ff04e961b60d0b5d3ed0b97c771d
25564 Author: John (J5) Palmieri <johnp@redhat.com>
25565 Date: Wed Jun 22 12:26:39 2011 -0400
25567 [gi-invoke-ng] only cache caller allocates for interfaces as some
25570 gi/pygi-cache.c | 6 ++++--
25571 1 file changed, 4 insertions(+), 2 deletions(-)
25573 commit 4fd957a5de364c0588168dee15e1e61d4f12e173
25574 Author: John (J5) Palmieri <johnp@redhat.com>
25575 Date: Fri Jun 17 17:07:56 2011 -0400
25577 [gi-invoke-ng] handle in pointer array marshalling
25579 gi/pygi-marshal.c | 28 ++++++++++++++++++++++------
25580 1 file changed, 22 insertions(+), 6 deletions(-)
25582 commit df3911ad2ce83af9bf9679ed1b221847b23ba2de
25583 Author: Alex Eftimie <alex@eftimie.ro>
25584 Date: Fri Jun 10 08:44:04 2011 +0300
25586 Adding GPtrArray tests
25588 tests/test_gi.py | 43 ++++++++++++++++++++++++++++++++++++++++++-
25589 1 file changed, 42 insertions(+), 1 deletion(-)
25591 commit e32c2be53175014399d89e1e85c9afc6e53c94be
25592 Author: John (J5) Palmieri <johnp@redhat.com>
25593 Date: Fri Jun 17 11:32:28 2011 -0400
25595 [gi-invoke-ng] fix array element offset calculations
25597 * use pointer arithmetic to calculate based on element size instead of
25598 relying on the size of GIArgument
25599 * special case GPtrArrays
25601 gi/pygi-marshal.c | 27 +++++++++------------------
25602 1 file changed, 9 insertions(+), 18 deletions(-)
25604 commit 6e8dc28cb261cafbfed40fc0797a0dd5f91f497b
25605 Author: John (J5) Palmieri <johnp@redhat.com>
25606 Date: Wed Jun 15 12:46:03 2011 -0400
25608 [gi] don't clean up arguments that weren't yet processed during in
25611 gi/pygi-marshal-cleanup.c | 2 +-
25612 1 file changed, 1 insertion(+), 1 deletion(-)
25614 commit af7c93ea98b7f492eef265e58c8b3c878805524f
25615 Author: John (J5) Palmieri <johnp@redhat.com>
25616 Date: Wed Jun 15 12:06:47 2011 -0400
25618 [gi-overrides] use new instead of init when constructing a
25619 GLib.VariantBuilder
25621 * init is now skipped in the gir
25623 gi/overrides/GLib.py | 18 ++++++++----------
25624 tests/test_overrides.py | 6 ++----
25625 2 files changed, 10 insertions(+), 14 deletions(-)
25627 commit c6112307f29f9a850e6e9efa5f55d5d4a363c6b0
25628 Author: John (J5) Palmieri <johnp@redhat.com>
25629 Date: Wed Jun 15 11:42:45 2011 -0400
25631 [gi-invoke-ng] actual code to import overrides
25633 gi/pygi-cache.c | 7 +------
25634 1 file changed, 1 insertion(+), 6 deletions(-)
25636 commit 902575d857beffb14e56821ea8a52f705385f6bb
25637 Author: John (J5) Palmieri <johnp@redhat.com>
25638 Date: Wed Jun 15 11:25:10 2011 -0400
25640 [gi-invoke-ng] import pytypes so we get overrides
25642 gi/pygi-marshal.c | 4 +++-
25643 1 file changed, 3 insertions(+), 1 deletion(-)
25645 commit 9d5604220bd56ae2708e9b74122c14208e0a30b4
25646 Author: John (J5) Palmieri <johnp@redhat.com>
25647 Date: Tue Jun 14 16:13:37 2011 -0400
25649 [gi-invoke-ng] handle gvariants now that they are not foreign
25651 gi/pygi-marshal.c | 7 ++++++-
25652 1 file changed, 6 insertions(+), 1 deletion(-)
25654 commit c1f5651062687e800a52b5d8d16c88c0acde2934
25655 Author: John (J5) Palmieri <johnp@redhat.com>
25656 Date: Tue Jun 14 16:12:43 2011 -0400
25658 [gi-invoke-ng] do not try to clean up NULL arguments
25660 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++--------
25661 1 file changed, 16 insertions(+), 8 deletions(-)
25663 commit fbf5382fbc1aed49ed491d2255d616a1643a45fc
25664 Merge: 499b68d6 1491f622
25665 Author: John (J5) Palmieri <johnp@redhat.com>
25666 Date: Mon Jun 13 17:28:23 2011 -0400
25668 Merge branch 'master' into invoke-rewrite
25670 commit 499b68d6c9040cffc6e43dc87789d68446564a92
25671 Merge: 4c9bcedb 426c7109
25672 Author: John (J5) Palmieri <johnp@redhat.com>
25673 Date: Mon Jun 13 17:26:37 2011 -0400
25675 Merge branch 'master' into invoke-rewrite
25677 commit 1491f6225b9906bd369b5a42e6369ab6884736b7
25678 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25679 Date: Fri Jun 10 14:01:32 2011 +0200
25681 closure: avoid double free crash
25683 gi/pygi-closure.c | 12 ++++--------
25684 1 file changed, 4 insertions(+), 8 deletions(-)
25686 commit 929f4236f2b8601e7960a4a7b0a860d976ad83c6
25687 Author: Jason Siefken <siefkenj@gmail.com>
25688 Date: Fri Jun 3 23:11:17 2011 -0700
25690 Added __eq__ method for Gdk.Color and Gdk.RGBA
25692 Call Gdk.Color.equal and Gdk.RGBA.equal when
25693 == equality testing is used.
25695 gi/overrides/Gdk.py | 6 ++++++
25696 tests/test_overrides.py | 4 ++++
25697 2 files changed, 10 insertions(+)
25699 commit dff5961ba229c7c34bd7b0a18a446b56bbe39e3a
25700 Author: Ignacio Casal Quinteiro <icq@gnome.org>
25701 Date: Wed Jun 8 19:13:48 2011 +0200
25703 closure: Check the out arg is not null. Fixes bug #651812
25705 gi/pygi-closure.c | 3 +++
25706 1 file changed, 3 insertions(+)
25708 commit d7d178206bfbb0858556fcfd6c9ca8eefda3fdf5
25709 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25710 Date: Wed Jun 8 09:47:20 2011 +0200
25712 Use constants instead of literals
25714 tests/test_overrides.py | 8 ++++----
25715 1 file changed, 4 insertions(+), 4 deletions(-)
25717 commit fe386a0ad548a23e30e9cb947bfa2198fb48ef29
25718 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25719 Date: Mon Jun 6 19:07:22 2011 +0200
25721 GVariant has now a GType, take that into account
25723 https://bugzilla.gnome.org/show_bug.cgi?id=647509
25725 gi/pygi-argument.c | 8 ++++----
25726 gi/pygi-invoke.c | 20 +++++++++++++-------
25727 2 files changed, 17 insertions(+), 11 deletions(-)
25729 commit bd7b8d96a7420522c1fdc127ef8cfb7d6e8a1b31
25730 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25731 Date: Mon Jun 6 19:05:07 2011 +0200
25733 GVariantType is a boxed struct
25735 https://bugzilla.gnome.org/show_bug.cgi?id=647509
25737 gi/gimodule.c | 2 +-
25738 1 file changed, 1 insertion(+), 1 deletion(-)
25740 commit 2d73012e5dbcc45a5782a6c119dfb272c14b5a61
25741 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25742 Date: Mon Jun 6 17:38:21 2011 +0200
25744 Use _gi.Struct to wrap fundamentals
25746 https://bugzilla.gnome.org/show_bug.cgi?id=647509
25748 gi/module.py | 4 +++-
25749 1 file changed, 3 insertions(+), 1 deletion(-)
25751 commit d82e6c8d1d9f2fc48fdcc15b7d2a97e4f24cf3bf
25752 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
25753 Date: Mon Jun 6 17:24:28 2011 +0200
25755 Merge gi/HACKING into /HACKING
25757 HACKING | 16 ++++++++++++++++
25758 gi/HACKING | 26 --------------------------
25759 2 files changed, 16 insertions(+), 26 deletions(-)
25761 commit 92aca4416a7930e5870b8d1a4016bae8140462ee
25762 Author: Daniel Drake <dsd@laptop.org>
25763 Date: Fri Jun 3 16:59:15 2011 +0100
25765 Fix GC-related crash during PyGObject deallocation
25767 Python-2.7.1's GC source has the following comment:
25769 /* Python's cyclic gc should never see an incoming refcount
25770 * of 0: if something decref'ed to 0, it should have been
25771 * deallocated immediately at that time.
25772 * Possible cause (if the assert triggers): a tp_dealloc
25773 * routine left a gc-aware object tracked during its teardown
25774 * phase, and did something-- or allowed something to
25776 * that called back into Python. gc can trigger then, and may
25777 * see the still-tracked dying object. Before this assert
25778 * was added, such mistakes went on to allow gc to try to
25779 * delete the object again. In a debug build, that caused
25780 * a mysterious segfault, when _Py_ForgetReference tried
25781 * to remove the object from the doubly-linked list of all
25782 * objects a second time. In a release build, an actual
25783 * double deallocation occurred, which leads to corruption
25784 * of the allocator's internal bookkeeping pointers. That's
25785 * so serious that maybe this should be a release-build
25786 * check instead of an assert?
25789 As shown in a backtrace at
25790 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject
25792 this exact mistake. Before untracking its object, pygobject_dealloc
25793 calls PyObject_ClearWeakRefs() which can call back into python, create
25794 new allocations, and trigger the GC.
25796 This is causing Sugar (based on pygobject2 + pygtk2 static bindings)
25798 crash on a regular basis while interacting with widgets or launching
25801 Fix this by untracking the object early. Also fix the same issue
25803 in the GSource wrapper.
25805 Thanks to Bernie Innocenti for initial diagnosis.
25807 glib/pygsource.c | 6 ++++--
25808 gobject/pygobject.c | 8 +++++++-
25809 2 files changed, 11 insertions(+), 3 deletions(-)
25811 commit 4c9bcedb4e11ad66a4b86174e2425c7afcafc473
25812 Author: John (J5) Palmieri <johnp@redhat.com>
25813 Date: Tue May 31 16:59:41 2011 -0400
25815 [gi-invoke-ng] enable invoke-ng by default
25817 configure.ac | 8 ++++----
25818 1 file changed, 4 insertions(+), 4 deletions(-)
25820 commit 2e4cfb85a55ff205e263591d573ee5ecf0ffff3e
25821 Author: John (J5) Palmieri <johnp@redhat.com>
25822 Date: Tue May 31 16:37:21 2011 -0400
25824 [gi-invoke-ng] add code to clean up when input values fail to marshal
25826 gi/pygi-marshal-cleanup.c | 30 +++++++++++++++++++++++++-----
25827 1 file changed, 25 insertions(+), 5 deletions(-)
25829 commit 508b1b6ca1b143f1e123a3ddb83e8ce146758dfc
25830 Author: John (J5) Palmieri <johnp@redhat.com>
25831 Date: Tue May 31 16:01:03 2011 -0400
25833 [gi-invoke-ng] add hash cleanup routines
25835 gi/pygi-cache.c | 2 ++
25836 gi/pygi-marshal-cleanup.c | 64
25837 +++++++++++++++++++++++++++++++++++++++++++++++
25838 gi/pygi-marshal-cleanup.h | 10 ++++++--
25839 3 files changed, 74 insertions(+), 2 deletions(-)
25841 commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
25842 Author: John (J5) Palmieri <johnp@redhat.com>
25843 Date: Tue May 31 14:47:30 2011 -0400
25845 [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
25847 gi/pygi-marshal-cleanup.c | 3 ++-
25848 1 file changed, 2 insertions(+), 1 deletion(-)
25850 commit b626c46b4a95602c7bf1278c2a39aacb7f5027d9
25851 Author: John (J5) Palmieri <johnp@redhat.com>
25852 Date: Tue May 31 14:40:49 2011 -0400
25854 [gi-invoke-ng] add list cleanup routines
25856 gi/pygi-cache.c | 8 ++---
25857 gi/pygi-marshal-cleanup.c | 84
25858 +++++++++++++++++++++++++++++++++++++++++++++++
25859 gi/pygi-marshal-cleanup.h | 8 +++++
25860 3 files changed, 96 insertions(+), 4 deletions(-)
25862 commit 2e542c327cd52c1f77af28905557dd25c64175d8
25863 Author: John (J5) Palmieri <johnp@redhat.com>
25864 Date: Thu May 26 16:10:13 2011 -0400
25868 gi/pygi-marshal.c | 8 ++++----
25869 1 file changed, 4 insertions(+), 4 deletions(-)
25871 commit 601aec11c49e821fe97dd30a2187fe3c75844712
25872 Author: John (J5) Palmieri <johnp@redhat.com>
25873 Date: Thu May 26 16:09:38 2011 -0400
25875 [gi-invoke-ng] add out array cleanup
25877 gi/pygi-cache.c | 2 +-
25878 gi/pygi-marshal-cleanup.c | 24 ++++++++++++++++++++++++
25879 gi/pygi-marshal.c | 37 +++++++++++++++++++++++++++++++------
25880 3 files changed, 56 insertions(+), 7 deletions(-)
25882 commit e9ad4428b769f8c9ace1cdc973c684de84fb1a5e
25883 Author: John (J5) Palmieri <johnp@redhat.com>
25884 Date: Thu May 26 13:22:38 2011 -0400
25886 [gi-invoke-ng] do not allocate null terminator for garray
25888 * We are simply setting our own array so we don't want any allocate
25891 gi/pygi-marshal.c | 2 +-
25892 1 file changed, 1 insertion(+), 1 deletion(-)
25894 commit a986b2b8e5ee37f2a330f5aabc85c73ebb0de508
25895 Author: John (J5) Palmieri <johnp@redhat.com>
25896 Date: Thu May 26 13:21:55 2011 -0400
25898 [gi-invoke-ng] add array cleanup for in arrays
25900 gi/pygi-cache.c | 2 +-
25901 gi/pygi-marshal-cleanup.c | 72
25902 ++++++++++++++++++++++++++++++++++++++++++++++-
25903 gi/pygi-marshal-cleanup.h | 9 ++++++
25904 gi/pygi-marshal.c | 13 +++++++--
25905 4 files changed, 91 insertions(+), 5 deletions(-)
25907 commit 990c60805c8ef718eb29e2e1b24f057552c6159e
25908 Author: John (J5) Palmieri <johnp@redhat.com>
25909 Date: Mon May 23 17:06:30 2011 -0400
25911 [gi-invoke-ng] remove remaining bits of the invoke stage state machine
25913 gi/pygi-invoke-ng.c | 7 +------
25914 gi/pygi-invoke-state-struct.h | 14 --------------
25915 2 files changed, 1 insertion(+), 20 deletions(-)
25917 commit dbbcf4a0e76fb572d85843ee31c3798df5cd5cc5
25918 Author: John (J5) Palmieri <johnp@redhat.com>
25919 Date: Mon May 23 16:59:57 2011 -0400
25921 [gi-invoke-ng] revamp cleanup framework to be orthogonal to cache
25924 * cleanup now has symmetry with setup so there are now in and out
25926 for each type that needs to be cleaned up
25927 * no longer use state machine but instead call different cleanup
25929 different stages of invoke, making it easier to understand what
25933 gi/pygi-cache.c | 19 ++-
25934 gi/pygi-cache.h | 7 +-
25935 gi/pygi-invoke-ng.c | 10 +-
25936 gi/pygi-invoke-state-struct.h | 2 +
25937 gi/pygi-marshal-cleanup.c | 301
25938 +++++++++++++++++-------------------------
25939 gi/pygi-marshal-cleanup.h | 45 ++++---
25940 gi/pygi-marshal.c | 15 +--
25941 7 files changed, 174 insertions(+), 225 deletions(-)
25943 commit 198714dc4585f7463f38929f1ca4e4b60a27dadb
25944 Author: John (J5) Palmieri <johnp@redhat.com>
25945 Date: Thu May 12 17:29:20 2011 -0400
25947 [gi-invoke-ng] stub out a cleaner way of cleaning up after ourselves
25949 * The state machine concept of cleaning up was getting a bit messy.
25950 It was like we took a big bowl of spaghetti code and dumped it.
25951 * Now we call specific cleanup functions at the point of failure (or
25952 successful completion of a marshalling stage)
25954 gi/pygi-invoke-ng.c | 59 +++++++++++++++++++++++++++++++-------
25955 gi/pygi-marshal-cleanup.c | 72
25956 +++++++++++++++++++++++++++++++++++++++++++++++
25957 gi/pygi-marshal-cleanup.h | 14 +++++++++
25958 3 files changed, 135 insertions(+), 10 deletions(-)
25960 commit c1389dadbf35afee3f28d90ef637efd8c1f071a5
25961 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25962 Date: Thu May 12 11:53:40 2011 -0400
25964 Doc Extractor: Correct the logic of the --no-since option.
25966 * codegen/docextract.py (process_final_sections): If the
25968 option has been specified and a "Since:" is encountered
25970 processing of the final sections, simply don't append the
25972 instead of reading the next line. This preserves the logical
25976 codegen/docextract.py | 4 ++--
25977 1 file changed, 2 insertions(+), 2 deletions(-)
25979 commit 303d8e8ab9e60cb554de7fc0e8592cd9b2c50843
25980 Author: José Alburquerque <jaalburqu@svn.gnome.org>
25981 Date: Mon May 9 17:32:09 2011 -0400
25983 Doc Extractor: Add a --no-since option.
25985 * codegen/docextract.py:
25986 * codegen/docextract_to_xml.py: Modified so that if a
25988 option is specified at the command line, the "Since:
25990 the gtkdoc function block is omitted. This is useful for
25992 such as gstreamermm where this information would not be
25994 as the C API is still unstable.
25996 codegen/docextract.py | 15 ++++++++++++++-
25997 codegen/docextract_to_xml.py | 9 ++++++---
25998 2 files changed, 20 insertions(+), 4 deletions(-)
26000 commit 4f615c6e300d6f2d7551b640efa301060206ab58
26001 Author: John (J5) Palmieri <johnp@redhat.com>
26002 Date: Thu May 5 14:04:34 2011 -0400
26004 [gi-invoke-ng] tweek cleanup routines
26006 gi/pygi-cache.c | 5 +++
26007 gi/pygi-marshal-cleanup.c | 87
26008 +++++++++++++++++++++++++++++++++++------------
26009 gi/pygi-marshal-cleanup.h | 6 ++--
26010 gi/pygi-marshal.c | 11 ++----
26011 4 files changed, 76 insertions(+), 33 deletions(-)
26013 commit 63c7f17c224821cb7136d06e8ef87eab7291848d
26014 Author: Martin Pitt <martin.pitt@ubuntu.com>
26015 Date: Mon May 2 15:49:52 2011 +0200
26017 Fix symbol names to be locale independent
26019 We currently use upper() to present enum values, which are usually
26021 lower case in the typelib, in upper cases. However, upper() is locale
26022 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD"
26023 because Turkish has some extra variants of "i".
26025 Use a local ASCII-only translate() call instead to avoid this. Thanks
26027 Philippsen for the idea!
26029 This also adds a test locale "te_ST@nouppera" which defines
26030 toupper('a') == 'a'.
26031 Run the Enum tests under this locale to reproduce the bug and verify
26034 https://bugzilla.gnome.org/show_bug.cgi?id=649165
26036 gi/module.py | 9 ++++++++-
26037 tests/te_ST@nouppera | 50
26038 ++++++++++++++++++++++++++++++++++++++++++++++++++
26039 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++
26040 3 files changed, 88 insertions(+), 1 deletion(-)
26042 commit b5e150da76c3d4de1a75f58d03c3a761e9005a63
26043 Author: Martin Pitt <martin.pitt@ubuntu.com>
26044 Date: Wed May 4 08:35:27 2011 +0200
26046 [gi] pygi-convert.sh: Convert gtk.gdk.CROSSHAIR
26048 pygi-convert.sh | 1 +
26049 1 file changed, 1 insertion(+)
26051 commit fcc5ea201ab25da6db94ea8a37364a1d3c4d7c65
26052 Author: John (J5) Palmieri <johnp@redhat.com>
26053 Date: Fri Apr 29 17:41:08 2011 -0400
26055 [gi-invoke-ng] handle filename cleanup with the utf8 cleanup function
26057 gi/pygi-cache.c | 2 ++
26058 1 file changed, 2 insertions(+)
26060 commit dbe8c4fabc8ac19415a3be0e854d3a54c2317e0b
26061 Author: John (J5) Palmieri <johnp@redhat.com>
26062 Date: Fri Apr 29 17:40:13 2011 -0400
26064 [gi-invoke-ng] handle caller allocates cleanup
26066 gi/pygi-invoke-ng.c | 5 ++-
26067 gi/pygi-marshal-cleanup.c | 104
26068 ++++++++++++++++++++++++++++++++++++----------
26069 gi/pygi-marshal-cleanup.h | 7 ++--
26070 3 files changed, 90 insertions(+), 26 deletions(-)
26072 commit cdbf57f3b1f041a06cf545a5557424f701ed1ec7
26073 Author: John (J5) Palmieri <johnp@redhat.com>
26074 Date: Thu Apr 28 19:16:02 2011 -0400
26076 [gi-invoke-ng] refactor the cleanup code and add utf8 cleanup as
26079 gi/pygi-cache.c | 15 ++-----------
26080 gi/pygi-invoke-ng.c | 8 +++----
26081 gi/pygi-invoke-state-struct.h | 2 ++
26082 gi/pygi-marshal-cleanup.c | 51
26083 ++++++++++++++++++++++++++++++++++++++++++-
26084 gi/pygi-marshal-cleanup.h | 3 +++
26085 5 files changed, 60 insertions(+), 19 deletions(-)
26087 commit d1f1f4ccc55f9ecab73b7c0ee78762c4039b2c79
26088 Author: John (J5) Palmieri <johnp@redhat.com>
26089 Date: Wed Apr 27 15:47:19 2011 -0400
26091 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
26094 * PyCObject is deprecated and pycairo 1.10.0 is first release to
26097 configure.ac | 15 +++++++++++----
26098 gi/pygi-foreign-cairo.c | 2 +-
26099 2 files changed, 12 insertions(+), 5 deletions(-)
26101 commit 83b7823a510b0b391560c6deaf9d15d8303c7b14
26102 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26103 Date: Thu Apr 21 16:52:20 2011 +0200
26105 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
26107 gi/pygi-foreign-cairo.c | 7 ++++++-
26108 1 file changed, 6 insertions(+), 1 deletion(-)
26110 commit 3e933784df423757e591d703614cb700adb0bbe0
26111 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26112 Date: Mon Apr 18 18:36:25 2011 +0200
26116 pygobject.doap | 15 +++++++++++++++
26117 1 file changed, 15 insertions(+)
26119 commit 399d06b4b20685eb38acfd7e43226e06737ab7d2
26120 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26121 Date: Sat Apr 16 16:02:05 2011 +0200
26123 [gi] Don't create variant twice
26125 gi/overrides/GLib.py | 2 +-
26126 1 file changed, 1 insertion(+), 1 deletion(-)
26128 commit 8d8a84ea23d28d25851c5870f261c020d762cef4
26129 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26130 Date: Fri Apr 15 16:14:43 2011 +0200
26132 pygi-convert.sh: Make sure the uppercase GObject module is imported
26133 instead of the lowercase
26135 https://bugzilla.gnome.org/show_bug.cgi?id=647736
26137 pygi-convert.sh | 1 +
26138 1 file changed, 1 insertion(+)
26140 commit 3b51d6426d0f59b2dd7e0dcdcded4bed43d6b9d8
26141 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26142 Date: Fri Apr 15 15:58:53 2011 +0200
26144 [gi] Removed hack to avoid using GLib.Variant.new_variant.
26146 The bug in the annotations of GLib is fixed now.
26147 https://bugzilla.gnome.org/show_bug.cgi?id=639952
26148 https://bugzilla.gnome.org/show_bug.cgi?id=647796
26150 gi/overrides/GLib.py | 14 +-------------
26151 1 file changed, 1 insertion(+), 13 deletions(-)
26153 commit bb4dce14ba666969815d4e56adbc38f0ac4f7ff7
26154 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26155 Date: Fri Apr 15 15:58:31 2011 +0200
26157 [gi] Added additional test case for GVariant handling
26159 tests/test_overrides.py | 15 +++++++++++++++
26160 1 file changed, 15 insertions(+)
26162 commit 138df2778543409752e229a09828a805f68a420d
26163 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26164 Date: Mon Apr 11 18:34:31 2011 +0200
26166 [gi] Added support for GVariant arguments
26168 This is required in order for the "g-signal" signal of GDBusProxy
26169 to work properly and thus to properly receive DBus signals with any
26172 https://bugzilla.gnome.org/show_bug.cgi?id=647477
26174 gi/pygi-argument.c | 2 ++
26175 1 file changed, 2 insertions(+)
26177 commit 985f239d891c7697d76ccecb797b189669ae6ee1
26178 Author: John (J5) Palmieri <johnp@redhat.com>
26179 Date: Tue Mar 22 18:46:28 2011 -0400
26181 fix static ABI for setting string gvalues from python objects
26183 * the static bindings used to be able to set a string gvalue to
26185 object that implemented __str__, for instance when setting a
26187 * this restores that code while still keeping unicode and python 3
26190 gobject/pygtype.c | 28 +++++++++++++++++++---------
26191 tests/test_properties.py | 8 ++++++++
26192 2 files changed, 27 insertions(+), 9 deletions(-)
26194 commit 58cfc3cd1152b4448b56a6ff597f954d8450b83e
26195 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26196 Date: Tue Mar 22 20:47:51 2011 +0100
26198 dsextras.py: ensure eol characters are preserved when writing template
26199 files (so \n does not become \r\n)
26202 1 file changed, 1 insertion(+), 1 deletion(-)
26204 commit 629d267478982c426ba61a639d5c9603fed856e6
26205 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26206 Date: Tue Mar 22 11:35:44 2011 +0100
26208 dsextras.py: remove \r as wel as \n character
26211 1 file changed, 1 insertion(+), 1 deletion(-)
26213 commit 426c7109d4c0dbf0d56cc075f97f33b3451f79a8
26214 Author: John (J5) Palmieri <johnp@redhat.com>
26215 Date: Wed Apr 27 15:47:19 2011 -0400
26217 use PyCapsule when importing pycairo/require pycairo 1.10.0 for
26220 * PyCObject is deprecated and pycairo 1.10.0 is first release to
26223 configure.ac | 15 +++++++++++----
26224 gi/pygi-foreign-cairo.c | 2 +-
26225 2 files changed, 12 insertions(+), 5 deletions(-)
26227 commit 4e5833d0c2fe548617e5ea510f05920fd0caf73b
26228 Author: Ignacio Casal Quinteiro <icq@gnome.org>
26229 Date: Thu Apr 21 16:52:20 2011 +0200
26231 [python3] fix build. PYcairo_IMPORT doesn't exists anymore
26233 gi/pygi-foreign-cairo.c | 7 ++++++-
26234 1 file changed, 6 insertions(+), 1 deletion(-)
26236 commit 91ec337359720839862d3f5a8a0ea98f760a0752
26237 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26238 Date: Mon Apr 18 18:36:25 2011 +0200
26242 pygobject.doap | 15 +++++++++++++++
26243 1 file changed, 15 insertions(+)
26245 commit 05c766044c83340c44564d0097514bfc1d1d9df7
26246 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26247 Date: Sat Apr 16 16:02:05 2011 +0200
26249 [gi] Don't create variant twice
26251 gi/overrides/GLib.py | 2 +-
26252 1 file changed, 1 insertion(+), 1 deletion(-)
26254 commit eb8f212e3687af30407cf01fcdfbf530257bcddb
26255 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26256 Date: Fri Apr 15 16:14:43 2011 +0200
26258 pygi-convert.sh: Make sure the uppercase GObject module is imported
26259 instead of the lowercase
26261 https://bugzilla.gnome.org/show_bug.cgi?id=647736
26263 pygi-convert.sh | 1 +
26264 1 file changed, 1 insertion(+)
26266 commit af31729573de24161ee90563e5738187c749783c
26267 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26268 Date: Fri Apr 15 15:58:53 2011 +0200
26270 [gi] Removed hack to avoid using GLib.Variant.new_variant.
26272 The bug in the annotations of GLib is fixed now.
26273 https://bugzilla.gnome.org/show_bug.cgi?id=639952
26274 https://bugzilla.gnome.org/show_bug.cgi?id=647796
26276 gi/overrides/GLib.py | 14 +-------------
26277 1 file changed, 1 insertion(+), 13 deletions(-)
26279 commit 070f6688be4afb926656038dcceac4c8b8ed97c7
26280 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26281 Date: Fri Apr 15 15:58:31 2011 +0200
26283 [gi] Added additional test case for GVariant handling
26285 tests/test_overrides.py | 15 +++++++++++++++
26286 1 file changed, 15 insertions(+)
26288 commit 65aa040e86d94ee6bb227a2bce09668b60208027
26289 Author: John (J5) Palmieri <johnp@redhat.com>
26290 Date: Tue Apr 12 14:51:35 2011 -0400
26292 [gi-invoke-ng] fix prototype
26294 gi/pygi-cache.h | 2 +-
26295 1 file changed, 1 insertion(+), 1 deletion(-)
26297 commit 12aa4e6376366ca9d758434f6544c9c70a1e5df8
26298 Author: John (J5) Palmieri <johnp@redhat.com>
26299 Date: Tue Apr 12 14:48:16 2011 -0400
26301 [gi-invoke-ng] create new framework for cleaning up args
26303 * we now have a state machine so we know what point in the marshalling
26305 we are and which args need to be cleaned up
26306 * call the cleanup functions after invoking the gi callable, after
26308 the out parameters and at any time an error occures
26310 gi/Makefile.am | 4 ++-
26311 gi/pygi-cache.c | 25 +++++++------
26312 gi/pygi-cache.h | 5 ++-
26313 gi/pygi-invoke-ng.c | 34 ++++++++++++++----
26314 gi/pygi-invoke-state-struct.h | 13 +++++++
26315 gi/pygi-marshal-cleanup.c | 81
26316 +++++++++++++++++++++++++++++++++++++++++++
26317 gi/pygi-marshal-cleanup.h | 43 +++++++++++++++++++++++
26318 gi/pygi-marshal.c | 1 +
26319 8 files changed, 187 insertions(+), 19 deletions(-)
26321 commit 0463295cd046bd6382ad9dc71ea1518858d63c5f
26322 Author: Sebastian Pölsterl <sebp@k-d-w.org>
26323 Date: Mon Apr 11 18:34:31 2011 +0200
26325 [gi] Added support for GVariant arguments
26327 This is required in order for the "g-signal" signal of GDBusProxy
26328 to work properly and thus to properly receive DBus signals with any
26331 https://bugzilla.gnome.org/show_bug.cgi?id=647477
26333 gi/pygi-argument.c | 2 ++
26334 1 file changed, 2 insertions(+)
26336 commit 1d64c3d3db2ec17b9a48df55271f712db6c07060
26337 Author: John (J5) Palmieri <johnp@redhat.com>
26338 Date: Wed Mar 30 16:40:31 2011 -0400
26340 [gi-invoke-ng] fix marshal header that is no longer part of
26343 gi/pygi-marshal.h | 8 ++++----
26344 1 file changed, 4 insertions(+), 4 deletions(-)
26346 commit 3580cd1c7222022ebeef3476f9e609c8045f12a3
26347 Author: John (J5) Palmieri <johnp@redhat.com>
26348 Date: Wed Mar 30 15:53:13 2011 -0400
26350 [gi-invoke-ng] code style space fixes
26352 gi/pygi-cache.c | 420 +++++++++++++++++++-------------------
26353 gi/pygi-invoke-ng.c | 145 +++++++-------
26354 gi/pygi-marshal.c | 565
26355 ++++++++++++++++++++++++++--------------------------
26356 3 files changed, 566 insertions(+), 564 deletions(-)
26358 commit 81662fcd09f112bfffcdc5b7f01a5537b84cd9d4
26359 Author: John (J5) Palmieri <johnp@redhat.com>
26360 Date: Tue Mar 29 16:54:44 2011 -0400
26362 [gi-invoke-ng] don't decref value taken from a dict as it is borrowed
26364 gi/pygi-invoke-ng.c | 1 -
26365 1 file changed, 1 deletion(-)
26367 commit a456fc0adc1f8a0754bf59cde8924f905bfc7dc1
26368 Author: John (J5) Palmieri <johnp@redhat.com>
26369 Date: Tue Mar 29 15:23:06 2011 -0400
26371 [gi-invoke-ng] return None when appropriate so we don't crash
26373 gi/pygi-marshal.c | 18 +++++++++++++++++-
26374 1 file changed, 17 insertions(+), 1 deletion(-)
26376 commit e8c8c37e5587dc7ff62519df336988a12e6f5d0a
26377 Author: John (J5) Palmieri <johnp@redhat.com>
26378 Date: Tue Mar 29 15:21:41 2011 -0400
26380 [gi-invoke-ng] fix aux value caching
26382 gi/pygi-cache.c | 15 ++++++++++-----
26383 1 file changed, 10 insertions(+), 5 deletions(-)
26385 commit 4e4c1847c713a4eb4ab34d04488e94dac24d9167
26386 Author: John (J5) Palmieri <johnp@redhat.com>
26387 Date: Mon Mar 28 20:25:46 2011 -0400
26389 [gi-invoke-ng] backport handling flags with no gtype
26391 gi/pygi-marshal.c | 25 ++++++++++++++++++++++++-
26392 1 file changed, 24 insertions(+), 1 deletion(-)
26394 commit fd76423e655b3711e1ffbf9b61ea4e2c94040234
26395 Author: John (J5) Palmieri <johnp@redhat.com>
26396 Date: Mon Mar 28 18:32:00 2011 -0400
26398 [gi-invoke-ng] backport raw gvalue handling
26400 gi/pygi-marshal.c | 23 ++++++++++++++++++-----
26401 1 file changed, 18 insertions(+), 5 deletions(-)
26403 commit 507b5051c83f70ceae79e0fa693c86e5cbb9f442
26404 Author: John (J5) Palmieri <johnp@redhat.com>
26405 Date: Mon Mar 28 18:30:31 2011 -0400
26407 [gi-invoke-ng] marshal instances seperately since they differ slightly
26410 gi/pygi-cache.c | 2 +-
26411 gi/pygi-marshal.c | 38 ++++++++++++++++++++++++++++++++++++++
26412 2 files changed, 39 insertions(+), 1 deletion(-)
26414 commit 726a27c0e74ace3ff23d9cc4d393ae53e57f1fac
26415 Author: John (J5) Palmieri <johnp@redhat.com>
26416 Date: Mon Mar 28 18:26:09 2011 -0400
26418 [gi-invoke-ng] refactor FunctionCache to be more generic CallableCache
26420 gi/pygi-cache.c | 392
26421 +++++++++++++++++++++++++++-------------------------
26422 gi/pygi-cache.h | 12 +-
26423 gi/pygi-info.c | 2 +-
26424 gi/pygi-invoke-ng.c | 40 +++---
26425 gi/pygi-marshal.c | 140 +++++++++----------
26426 gi/pygi-marshal.h | 159 +++++++++------------
26428 7 files changed, 362 insertions(+), 385 deletions(-)
26430 commit 3d5d9ff5c18a850650992bdd52e8e4c722b23396
26431 Author: John (J5) Palmieri <johnp@redhat.com>
26432 Date: Mon Mar 28 15:01:12 2011 -0400
26434 [gi-invoke-rewrite] backport glib error handling
26436 gi/pygi-invoke-ng.c | 14 ++++++--------
26437 1 file changed, 6 insertions(+), 8 deletions(-)
26439 commit 37b14b28a5f2aec16ac7f321efbf07e1403e9531
26440 Author: John (J5) Palmieri <johnp@redhat.com>
26441 Date: Fri Mar 25 18:48:42 2011 -0400
26443 [gi-invoke-ng] backport closure passing from invoke
26445 gi/pygi-marshal.c | 13 ++++++++++---
26446 1 file changed, 10 insertions(+), 3 deletions(-)
26448 commit cf7f97eabc9c49773c2916929b8c43ef453d0652
26449 Author: John (J5) Palmieri <johnp@redhat.com>
26450 Date: Fri Mar 25 18:47:36 2011 -0400
26452 [gi-invoke-ng] handle vfuncs and fix cosntrutors
26454 gi/pygi-cache.c | 9 +++++++
26455 gi/pygi-cache.h | 2 ++
26456 gi/pygi-invoke-ng.c | 56
26457 ++++++++++++++++++++++++++++++++-----------
26458 gi/pygi-invoke-state-struct.h | 2 ++
26459 4 files changed, 55 insertions(+), 14 deletions(-)
26461 commit af2ce400fcf771ee6c9bc01aecfb59467be5a0ce
26462 Author: John (J5) Palmieri <johnp@redhat.com>
26463 Date: Fri Mar 25 18:39:06 2011 -0400
26465 [gi-invoke-ng] handle foreign types correctly
26467 gi/pygi-cache.c | 22 ++++++----------------
26468 gi/pygi-marshal.c | 3 +++
26469 2 files changed, 9 insertions(+), 16 deletions(-)
26471 commit 482553ae5d863ca523be3bd1eededa5d02a4f87e
26472 Author: John (J5) Palmieri <johnp@redhat.com>
26473 Date: Fri Mar 25 13:14:01 2011 -0400
26475 [gi] remove the class parameter from the argument list of constructors
26477 * constructors pass in their class to be constructed. Since we
26479 and g_object_new to do the construction we ignore this for now but
26480 keep it around in the state for future use.
26482 gi/pygi-invoke-ng.c | 46
26483 +++++++++++++++++++++++++++++++++++++------
26484 gi/pygi-invoke-state-struct.h | 1 +
26485 2 files changed, 41 insertions(+), 6 deletions(-)
26487 commit 0534eb0e843cdf09611143da184052f7e549e4dc
26488 Author: John (J5) Palmieri <johnp@redhat.com>
26489 Date: Tue Mar 22 18:46:28 2011 -0400
26491 fix static ABI for setting string gvalues from python objects
26493 * the static bindings used to be able to set a string gvalue to
26495 object that implemented __str__, for instance when setting a
26497 * this restores that code while still keeping unicode and python 3
26500 gobject/pygtype.c | 28 +++++++++++++++++++---------
26501 tests/test_properties.py | 8 ++++++++
26502 2 files changed, 27 insertions(+), 9 deletions(-)
26504 commit 5f0e130026a663a57ed1317e0fa0e1f78f9e6e0a
26505 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26506 Date: Tue Mar 22 20:47:51 2011 +0100
26508 dsextras.py: ensure eol characters are preserved when writing template
26509 files (so \n does not become \r\n)
26512 1 file changed, 1 insertion(+), 1 deletion(-)
26514 commit 62a6274105003ef386ddfe9ef38e8afa8c43d124
26515 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26516 Date: Tue Mar 22 11:35:44 2011 +0100
26518 dsextras.py: remove \r as wel as \n character
26521 1 file changed, 1 insertion(+), 1 deletion(-)
26523 commit 86c436978c933f6ebe17627abe98325ce66f6baa
26524 Author: John (J5) Palmieri <johnp@redhat.com>
26525 Date: Tue Mar 22 16:13:58 2011 -0400
26527 [gi] make new invoke-ng codepath compile correctly
26530 gi/Makefile.am | 5 +-
26531 gi/pygi-cache.c | 2 +-
26532 gi/pygi-invoke-ng.c | 841 ----------------------
26533 gi/pygi-marshal.c | 1962
26534 +--------------------------------------------------
26535 gi/pygi-private.h | 4 +-
26536 6 files changed, 9 insertions(+), 2809 deletions(-)
26538 commit 35619fec43f4df85edf5456f3fc9733b16f2ba90
26539 Author: John (J5) Palmieri <johnp@redhat.com>
26540 Date: Tue Mar 22 15:40:02 2011 -0400
26542 [gi] conditionalize invoke code paths
26544 configure.ac | 7 +++++++
26545 gi/Makefile.am | 20 +++++++++++++++-----
26546 gi/pygi-cache.h | 2 ++
26547 gi/pygi-info.c | 4 +++-
26548 gi/pygi-private.h | 9 +++++++--
26550 6 files changed, 37 insertions(+), 9 deletions(-)
26552 commit 83c51bd2bb6ca24ce610c04cff1527bcd2689d90
26553 Author: John (J5) Palmieri <johnp@redhat.com>
26554 Date: Tue Mar 22 15:37:24 2011 -0400
26556 [gi] revert back to the type.py from master
26558 gi/types.py | 21 +++++++++++++++------
26559 1 file changed, 15 insertions(+), 6 deletions(-)
26561 commit cb30d00d1c92e73d9bfb08cc7b600a5aa70f2fc0
26562 Author: John (J5) Palmieri <johnp@redhat.com>
26563 Date: Tue Mar 22 14:46:29 2011 -0400
26565 [gi] revert pygi-argument.h and move the invoke-ng code to
26568 gi/pygi-argument.h | 268 +-----------------------------------------
26569 gi/pygi-marshal.h | 336
26570 +++++++++++++++++++++++++++++++++++++++++++++++++++++
26571 2 files changed, 337 insertions(+), 267 deletions(-)
26573 commit 17cb714cfdaf45b6d7dd627b0189bd24e6578f74
26574 Merge: 7332a1b9 01596a9b
26575 Author: John (J5) Palmieri <johnp@redhat.com>
26576 Date: Tue Mar 22 13:34:36 2011 -0400
26578 Merge branch 'master' into invoke-rewrite
26583 gi/pygi-foreign-cairo.c
26584 gi/pygi-foreign-gvariant.c
26585 gi/pygi-foreign-gvariant.h
26591 commit 01596a9b7cc0ceef3904da5b96939140ee0732fd
26592 Author: John (J5) Palmieri <johnp@redhat.com>
26593 Date: Tue Mar 22 13:20:54 2011 -0400
26595 [gi] foreign types now take interface infos instead of type infos
26597 * this is a prep for the invoke-rewrite branch
26598 * when marshalling foreign structs we may not have the type info but
26599 we will always have the interface info to pass
26600 * this simplifies the code because we were simply converting the
26601 type info back to an interface info anyway so there is less
26602 refcounting to keep track of
26603 * also fixes a bug where we were leaking PyNone ref counts
26605 gi/pygi-argument.c | 4 ++--
26606 gi/pygi-foreign-cairo.c | 16 ++++++++--------
26607 gi/pygi-foreign-gvariant.c | 12 ++++++------
26608 gi/pygi-foreign.c | 32 +++++++++++++-------------------
26609 gi/pygi-foreign.h | 8 ++++----
26610 gi/pygi-invoke.c | 6 +++---
26611 gi/pygi.h | 12 ++++++------
26612 7 files changed, 42 insertions(+), 48 deletions(-)
26614 commit fbabc1fdafa1dcbd1f6aaea7b821bd1c64a546ab
26615 Author: Martin Pitt <martin.pitt@ubuntu.com>
26616 Date: Tue Mar 22 15:04:01 2011 +0100
26618 Fix GSchema tests for separate build tree
26620 When using a separate build tree, the compiled GSettings schema will
26622 build tree, but as the test scripts are only in the source tree they
26624 the compiled schema. Pass the build dir as environment variable and
26626 over test_overrides.py's directory.
26628 tests/Makefile.am | 3 ++-
26629 tests/test_overrides.py | 4 +++-
26630 2 files changed, 5 insertions(+), 2 deletions(-)
26632 commit 7332a1b99775519fdc5500cab6628b713e946a8c
26633 Author: John (J5) Palmieri <johnp@redhat.com>
26634 Date: Mon Mar 21 19:03:29 2011 -0400
26636 [gi] start of merge from master
26638 * move some of the modified files that will cause merge conflicts
26640 own, nonconflicting files
26641 * copy the old files out of master
26643 gi/pygi-argument.c | 2101 +++------------------------
26644 gi/pygi-invoke-ng.c | 1179 ++++++++++++++++
26645 gi/pygi-invoke.c | 421 ++----
26646 gi/pygi-marshal.c | 3916
26647 +++++++++++++++++++++++++++++++++++++++++++++++++++
26648 4 files changed, 5389 insertions(+), 2228 deletions(-)
26650 commit 62b49dae97441953452d097cb1751df14302547a
26651 Author: John (J5) Palmieri <johnp@redhat.com>
26652 Date: Wed Mar 16 17:34:18 2011 -0400
26654 [gi] marshal raw closures
26656 * before we were able to marshal python callables into methods
26658 GClosures but we had no way to take a GClosure returned from one
26659 method and pass it to another - this enables that usecase
26661 https://bugzilla.gnome.org/show_bug.cgi?id=644757
26663 gi/pygi-argument.c | 17 ++++++++++-------
26664 tests/test_gi.py | 4 ++++
26665 2 files changed, 14 insertions(+), 7 deletions(-)
26667 commit 1e70957c5470a0f4bceba38ca66a4e4274fdc8d8
26668 Author: John Stowers <john.stowers@gmail.com>
26669 Date: Sun Mar 6 23:41:01 2011 +1300
26671 pygi-convert.sh add GObject.xxx and webkit
26673 https://bugzilla.gnome.org/show_bug.cgi?id=644347
26675 pygi-convert.sh | 7 +++++++
26676 1 file changed, 7 insertions(+)
26678 commit 2292673c96e7973a0732ca15bbd5b0bf7a9c7dcf
26679 Author: John Stowers <john.stowers@gmail.com>
26680 Date: Sun Mar 6 23:41:30 2011 +1300
26682 pygi-convert.sh remove gobject tests, GObject works now
26684 https://bugzilla.gnome.org/show_bug.cgi?id=644347
26686 pygi-convert.sh | 28 ----------------------------
26687 1 file changed, 28 deletions(-)
26689 commit d26e5cc45f277f6b7edb32aa416520bb53bff9c2
26690 Author: John (J5) Palmieri <johnp@redhat.com>
26691 Date: Fri Mar 11 14:09:02 2011 -0500
26693 [gi-demos] add pickers demo
26695 demos/gtk-demo/demos/pickers.py | 74
26696 +++++++++++++++++++++++++++++++++++++++++
26697 1 file changed, 74 insertions(+)
26699 commit b8d926a458ed7d7e92719e41b5bc1c36f68882b3
26700 Author: John (J5) Palmieri <johnp@redhat.com>
26701 Date: Thu Mar 10 18:12:50 2011 -0500
26703 [gi-demos] add menu demo
26705 demos/gtk-demo/demos/menus.py | 122
26706 ++++++++++++++++++++++++++++++++++++++++++
26707 1 file changed, 122 insertions(+)
26709 commit 9baec8ed1c5d99c1677a75eaa1d38912f41f0b2d
26710 Author: John (J5) Palmieri <johnp@redhat.com>
26711 Date: Wed Mar 9 13:02:50 2011 -0500
26713 [gi-overrides] fix exception block so it works in Python 2.5
26715 gi/overrides/Gio.py | 5 ++++-
26716 1 file changed, 4 insertions(+), 1 deletion(-)
26718 commit 5ac534ac3ceee3cc19fe2297e3cd009817ed726f
26719 Author: Martin Pitt <martin.pitt@ubuntu.com>
26720 Date: Mon Mar 21 13:19:58 2011 +0100
26722 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES"
26724 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9.
26726 This introduces additional libpython dependencies, which breaks
26728 which support multiple Python versions, and also causes the python
26730 to be in memory twice in some cases.
26732 https://bugzilla.gnome.org/show_bug.cgi?id=620215
26734 gi/Makefile.am | 4 +---
26735 glib/Makefile.am | 2 +-
26736 m4/python.m4 | 7 ++-----
26737 tests/Makefile.am | 2 +-
26738 4 files changed, 5 insertions(+), 10 deletions(-)
26740 commit cd01f8ce1373f28b1427dd847bef44f747f1e6b3
26741 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26742 Date: Fri Mar 18 17:06:08 2011 +0100
26744 setup.py: fix user_access_control option
26747 1 file changed, 1 insertion(+), 1 deletion(-)
26749 commit 2da60baec4f43c41f43527cbfde4e21e0eea728c
26750 Author: Martin Pitt <martin.pitt@ubuntu.com>
26751 Date: Wed Mar 16 10:22:35 2011 +0100
26753 [gi] Respect the MessageType for Gtk.MessageDialog
26755 Don't just ignore the type argument, actually pass it on. Thanks
26757 Chou for spotting this!
26759 gi/overrides/Gtk.py | 1 +
26760 1 file changed, 1 insertion(+)
26762 commit 029a79d1af1e0998aa6bc88ce1c1f48ce0ccd2a0
26763 Author: Martin Pitt <martin.pitt@ubuntu.com>
26764 Date: Tue Mar 15 10:22:39 2011 +0100
26766 [gi] Do not require signature for D-BUS methods without arguments
26768 Calling methods on DBusProxy objects usually requires specifying
26770 as first argument. However, if the D-BUS method does not take any
26772 specifying the empty '()' signature does not give any additional
26774 so allow the caller to just call the proxy method without any
26777 Also ensure that passing a non-string signature raises a
26779 exception, instead of crashing deep in the GVariant leaf constructor.
26781 https://bugzilla.gnome.org/show_bug.cgi?id=644260
26783 gi/overrides/Gio.py | 16 +++++++++++++++-
26784 tests/test_gdbus.py | 13 +++++++++++++
26785 2 files changed, 28 insertions(+), 1 deletion(-)
26787 commit 5bf66ce79267b25bcc80251f9170498fa1d765f6
26788 Author: John Stowers <john.stowers@gmail.com>
26789 Date: Sun Mar 6 23:05:33 2011 +1300
26791 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None
26793 https://bugzilla.gnome.org/show_bug.cgi?id=644343
26795 gi/overrides/Gtk.py | 2 ++
26796 1 file changed, 2 insertions(+)
26798 commit 8e4f86e17a1de533a93b0748fd8de3cbfa70ba62
26799 Author: John Stowers <john.stowers@gmail.com>
26800 Date: Sun Mar 6 17:48:04 2011 +1300
26802 [gi-demos] dont try and run demos that represent directories
26804 demos/gtk-demo/gtk-demo.py | 3 ++-
26805 1 file changed, 2 insertions(+), 1 deletion(-)
26807 commit 097e5efab29d3d2d91d0b9fc75bf00219e9b7810
26808 Author: John (J5) Palmieri <johnp@redhat.com>
26809 Date: Mon Mar 7 18:09:18 2011 -0500
26811 [gi-demos] some python 3 compat fixes
26813 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++
26814 demos/gtk-demo/demos/Tree View/liststore.py | 2 +-
26815 demos/gtk-demo/demos/rotatedtext.py | 4 ++--
26816 demos/gtk-demo/gtk-demo.py | 4 ++--
26817 4 files changed, 11 insertions(+), 5 deletions(-)
26819 commit fd5d5ef3abc947d3c6066eea6378514f87b7f0ce
26820 Author: John (J5) Palmieri <johnp@redhat.com>
26821 Date: Tue Feb 22 15:07:40 2011 -0500
26823 [gi-demos] add liststore demo
26825 demos/gtk-demo/demos/Tree View/__init__.py | 0
26826 demos/gtk-demo/demos/Tree View/liststore.py | 205
26827 ++++++++++++++++++++++++++++
26828 2 files changed, 205 insertions(+)
26830 commit 09de5cf99474fc8a34b5f4a61cede1fb47353ebb
26831 Author: John (J5) Palmieri <johnp@redhat.com>
26832 Date: Mon Mar 7 18:08:40 2011 -0500
26834 [gi-demos] catch the correct error class
26836 demos/gtk-demo/demos/images.py | 11 ++++++-----
26837 1 file changed, 6 insertions(+), 5 deletions(-)
26839 commit 7284d2d4622978fc9ddfd00f2714b3a572b7ab56
26840 Author: Steve Frécinaux <code@istique.net>
26841 Date: Sun Mar 6 21:18:36 2011 +0100
26843 Do not leak python references when using the gobject.property()
26846 Since this helper was storing plain references in a long-lived
26848 refcount for the instances would never drop to zero, and so they would
26849 never get finalized.
26851 https://bugzilla.gnome.org/show_bug.cgi?id=644039
26853 gobject/propertyhelper.py | 5 ++---
26854 tests/test_properties.py | 23 +++++++++++++++++++++++
26855 2 files changed, 25 insertions(+), 3 deletions(-)
26857 commit 618dbb0ee15b47e5e7cb16a34ffce0937d7fa26d
26858 Author: John (J5) Palmieri <johnp@redhat.com>
26859 Date: Fri Mar 4 12:25:49 2011 -0500
26861 handle uchar as bytes, not strings in python 3
26863 * This worked in Python2 because bytes and strings are equivilant
26865 PYGLIB_PyString_FromStringAndSize evaluated to a PyString
26866 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to
26868 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2
26869 and a PyBytes object in Python 3
26871 gobject/pygtype.c | 2 +-
26872 1 file changed, 1 insertion(+), 1 deletion(-)
26874 commit 7e9483ff75b7a63ddda0fa9a9847f9f22ad71240
26875 Author: John (J5) Palmieri <johnp@redhat.com>
26876 Date: Fri Mar 4 12:24:35 2011 -0500
26878 [gi-overrides] handle unichar gvalues when setting treemodels
26880 gi/overrides/Gtk.py | 10 ++++++++++
26881 1 file changed, 10 insertions(+)
26883 commit 6367bffa006e94dc667d7008fccad8d47d8d3646
26884 Author: John (J5) Palmieri <johnp@redhat.com>
26885 Date: Fri Mar 4 11:43:51 2011 -0500
26887 [gi-overrides] special case python 2 keywords that crept in
26889 gi/overrides/Gtk.py | 6 +++++-
26890 tests/test_overrides.py | 8 ++++----
26891 2 files changed, 9 insertions(+), 5 deletions(-)
26893 commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0
26894 Author: John (J5) Palmieri <johnp@redhat.com>
26895 Date: Fri Mar 4 11:10:16 2011 -0500
26897 check for the py3 _thread module in configure.ac if thread is
26900 configure.ac | 6 +++++-
26901 1 file changed, 5 insertions(+), 1 deletion(-)
26903 commit 4645af87d3c587f535404867dab56608719e5c7b
26904 Author: John (J5) Palmieri <johnp@redhat.com>
26905 Date: Fri Mar 4 00:39:23 2011 -0500
26907 [gi-demos] add iconview demo
26909 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212
26910 +++++++++++++++++++++++
26911 1 file changed, 212 insertions(+)
26913 commit 761dcb516a04f7a89b3c7d68e88fff23055e2a80
26914 Author: John (J5) Palmieri <johnp@redhat.com>
26915 Date: Thu Mar 3 18:39:16 2011 -0500
26917 [gi] wrap the keyword argument in a dict so we don't break Python 2.5
26919 * python < 2.6 does not allow sending in keyword litterals after
26921 *args. You can only send in **kwds.
26924 1 file changed, 1 insertion(+), 1 deletion(-)
26926 commit f9604e90af12a1b9dbe7d7f311308e87cd0ed7dd
26927 Author: John (J5) Palmieri <johnp@redhat.com>
26928 Date: Thu Mar 3 18:30:40 2011 -0500
26930 [gi-demos] add the combobox with string ids section to the demos
26932 demos/gtk-demo/demos/combobox.py | 49
26933 +++++++++++++++++++++++++++++++++++++++-
26934 1 file changed, 48 insertions(+), 1 deletion(-)
26936 commit b70f4daf071cf77a4561b57f5521eb928f66d1ce
26937 Author: John (J5) Palmieri <johnp@redhat.com>
26938 Date: Thu Mar 3 16:47:51 2011 -0500
26940 [gi-overrides] add an override for Gdk.RGBA
26942 gi/overrides/Gdk.py | 18 ++++++++++++++++++
26943 tests/test_overrides.py | 10 ++++++++++
26944 2 files changed, 28 insertions(+)
26946 commit ee2b63f60f350332ed21927721ed9ddff3a8034e
26947 Author: John (J5) Palmieri <johnp@redhat.com>
26948 Date: Thu Mar 3 16:10:17 2011 -0500
26950 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+
26953 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++--------------
26954 1 file changed, 9 insertions(+), 14 deletions(-)
26956 commit cd046e4c355706ead5f512b810a2a48317f8c32e
26957 Author: John (J5) Palmieri <johnp@redhat.com>
26958 Date: Wed Mar 2 18:13:43 2011 -0500
26960 [gi-demos] add search entry demo
26962 demos/gtk-demo/demos/Entry/search_entry.py | 257
26963 +++++++++++++++++++++++++++++
26964 1 file changed, 257 insertions(+)
26966 commit d5ddaa92e6349c2f52b67317326060973cb69661
26967 Author: John (J5) Palmieri <johnp@redhat.com>
26968 Date: Wed Mar 2 15:37:27 2011 -0500
26970 [gi] wrap map in a list for Python 3 compat
26973 1 file changed, 1 insertion(+), 1 deletion(-)
26975 commit 3e5ab72a2e1fa2d8c4c2864137c6251f264ff4af
26976 Author: John (J5) Palmieri <johnp@redhat.com>
26977 Date: Tue Mar 1 14:52:00 2011 -0500
26979 [gi-demos] fix up the validation combobox
26981 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------
26982 1 file changed, 15 insertions(+), 6 deletions(-)
26984 commit 08af5f99f0838b3584f6a3b210d0a0304811e8ff
26985 Author: John (J5) Palmieri <johnp@redhat.com>
26986 Date: Tue Mar 1 12:31:35 2011 -0500
26988 add overridesdir variable in the .pc file for 3rd party overrides
26990 pygobject-2.0.pc.in | 1 +
26991 1 file changed, 1 insertion(+)
26993 commit 4a6b14a92a687a2311516b2c16c355216b5270a7
26994 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
26995 Date: Fri Feb 11 17:14:11 2011 +0100
26997 setup.py: Set bdist_wininst user-access-control property
27000 1 file changed, 2 insertions(+), 1 deletion(-)
27002 commit ad3ab659b83cb985730e19a83651da319d4bcb9c
27003 Author: Martin Pitt <martin.pitt@ubuntu.com>
27004 Date: Wed Mar 2 16:29:00 2011 +0100
27006 Fix uninitialized variable in gi.require_version()
27008 gi/__init__.py | 3 ++-
27009 1 file changed, 2 insertions(+), 1 deletion(-)
27011 commit 6e7606ee8830f6f51b777f41f6df2f6ea1784e89
27012 Author: Martin Pitt <martin.pitt@ubuntu.com>
27013 Date: Tue Mar 1 23:26:07 2011 +0100
27015 Run tests with LC_MESSAGES="C"
27017 Some tests, such as tests/test_gdbus.py check parts of error messages
27019 visible strings. Ensure that these do not get translated in the
27022 tests/runtests.py | 2 ++
27023 1 file changed, 2 insertions(+)
27025 commit 0461e05174637ae02f34029b85ba217d5ae48c53
27026 Author: John (J5) Palmieri <johnp@redhat.com>
27027 Date: Mon Feb 28 18:21:43 2011 -0500
27029 [gi-overrides] override Gtk.stock_lookup to not return success
27031 demos/gtk-demo/demos/combobox.py | 2 +-
27032 gi/overrides/Gtk.py | 9 +++++++++
27033 2 files changed, 10 insertions(+), 1 deletion(-)
27035 commit 40decf3501823004a6e4d3acbbf204c4d4d0a7ec
27036 Author: John (J5) Palmieri <johnp@redhat.com>
27037 Date: Mon Feb 28 14:16:00 2011 -0500
27039 update NEWS to reflect changes in the 2.27.91 release (PYGOBJECT_2_28
27042 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
27043 1 file changed, 50 insertions(+)
27045 commit c2d5122b8e3cf51ec52418f90f1788895b842b6a
27046 Author: John (J5) Palmieri <johnp@redhat.com>
27047 Date: Mon Feb 28 14:08:05 2011 -0500
27049 [gi-tests] use Gdk.test_simulate_button instead of emitting event
27052 * this function is available specifically so we can test events so
27054 instead of creating our own button press event
27056 tests/test_overrides.py | 9 +++++----
27057 1 file changed, 5 insertions(+), 4 deletions(-)
27059 commit 1be1a2ea2787dffeb71ab4a38233fb71e761bd21
27060 Author: Laszlo Pandy <lpandy@src.gnome.org>
27061 Date: Thu Feb 24 19:30:32 2011 +0100
27063 [gi-tests] tests for EventButton override.
27065 * John (J5) Palmieri - fixed up original patch so that we actually
27066 emit the event instead of just creating a Gdk.ButtonEvent object
27068 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27070 tests/test_overrides.py | 21 +++++++++++++++++++++
27071 1 file changed, 21 insertions(+)
27073 commit 99044a4860dd65c97f52b41b7cd3f216f4a97cd4
27074 Author: John (J5) Palmieri <johnp@redhat.com>
27075 Date: Wed Feb 23 18:43:27 2011 -0500
27077 [gi-overrides] Add event methods to all event union members
27079 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27081 gi/overrides/Gdk.py | 70
27082 +++++++++++++++++++++++++++++++++++++++++++++++++++++
27083 1 file changed, 70 insertions(+)
27085 commit 6e30c69d38fd382414eb820097c297a80be547ac
27086 Author: John (J5) Palmieri <johnp@redhat.com>
27087 Date: Wed Feb 23 14:14:16 2011 -0500
27089 [gi] check to see if object is a member of a union when validating
27092 * union members are not subclasses of the union they belong to so
27094 inteface requires you pass a union but you pass one of its members
27095 there will be a type error
27096 * this patch checks to see if the type you are passing is a member
27098 union and passes the checks if it is
27099 * this works in python 3 but in python 2 methods do their own
27101 check on the instance parameter (e.g. self) so we need to figure
27102 out how to override that for union methods
27103 (e.g. Gdk.Event.get_state)
27105 https://bugzilla.gnome.org/show_bug.cgi?id=642554
27107 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++
27108 1 file changed, 38 insertions(+)
27110 commit 525f21d1365c24488b768955362085bf82512dee
27111 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27112 Date: Wed Feb 16 09:44:12 2011 +0100
27114 Skip interfaces when checking for conflicts in the MRO
27116 https://bugzilla.gnome.org/show_bug.cgi?id=642437
27118 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++
27119 gobject/gobjectmodule.c | 9 +++++++--
27120 tests/test_gi.py | 16 ++++++++++++++++
27121 3 files changed, 63 insertions(+), 2 deletions(-)
27123 commit da212024772a7a0c32f04f3589bfb24d2eb5706f
27124 Author: Laszlo Pandy <lpandy@src.gnome.org>
27125 Date: Thu Feb 24 18:46:15 2011 +0100
27127 [gi] Remove DyanmicModule.load() to _load() to prevent overriding
27130 gi/importer.py | 2 +-
27131 gi/module.py | 2 +-
27132 2 files changed, 2 insertions(+), 2 deletions(-)
27134 commit 2ce6b58c7427cf67ba4f55731ba0a4c04703e495
27135 Author: Laszlo Pandy <lpandy@src.gnome.org>
27136 Date: Wed Feb 23 12:05:03 2011 +0100
27138 Test case with John's fix for crash with C arrays and a GError is set.
27140 I have added a test case, and made a few fixes to John's patch,
27142 solution is the same his.
27144 Workaround a bug when freeing C array types
27146 * This is a hack and there is really no way around it without
27148 the current array handling code which spans between pygi-invoke.c
27150 pygi-argument.c and completely rewriting it.
27151 * The is no time before our stable release
27152 * This patch trades a segfault for a leak in the very unusual
27154 an error occures inside an interface that takes one or more C
27156 we wrap C arrays in GArrays internally but have to unwrap them
27158 to the introspected C function, there is a period of time where
27160 can occure with the C array in an unknown state (some being true
27162 and others still wrapped in a GArray)
27163 * This patch adds a c_arrays_are_wrapped state to signal that it
27165 free them. However since c_arrays_are_wrapped can only track
27167 as a group, not individually, if it is set to FALSE we can
27169 that every array is a pure C array, so instead we will simply
27171 to avoid incorrectly freeing one and causing a segfault.
27172 * This issue is fixed in the invoke rewrite branch as it treats
27174 GArrays separately, however that branch is not yet ready to be
27176 won't be until the next release.
27178 https://bugzilla.gnome.org/show_bug.cgi?id=642708
27180 gi/pygi-invoke.c | 54
27181 ++++++++++++++++++++++++++++++++++++++++++++++++++----
27182 tests/test_gi.py | 9 +++++++++
27183 2 files changed, 59 insertions(+), 4 deletions(-)
27185 commit 702a89beca92cab6b0142829b20281b9245f28b8
27186 Author: John (J5) Palmieri <johnp@redhat.com>
27187 Date: Wed Feb 23 15:11:59 2011 -0500
27189 [gi-overrides] fix setting rows in treeview to accept None as a value
27191 * as done in PyGTK None indicates the column should not be set
27193 gi/overrides/Gtk.py | 3 +++
27194 tests/test_overrides.py | 18 +++++++++++++-----
27195 2 files changed, 16 insertions(+), 5 deletions(-)
27197 commit 498f0d9c903131aca5efe27ffaad7620e40f72ea
27198 Author: Laszlo Pandy <lpandy@src.gnome.org>
27199 Date: Wed Feb 23 14:23:19 2011 +0100
27201 [gi] Add value_name for enum and flags from introspection
27202 "c:identifier" (if attr is available).
27204 gi/gimodule.c | 22 ++++++++++++++++++----
27205 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++
27206 2 files changed, 54 insertions(+), 4 deletions(-)
27208 commit 824aeb7fab17d6590e5babf2d1f64298f2d0e16b
27209 Author: Laszlo Pandy <lpandy@src.gnome.org>
27210 Date: Wed Feb 23 11:40:55 2011 +0100
27212 Fix flags with multiple names for the same value.
27214 Flags constructs a dict __flags_values__ and uses it to cache
27215 instances. However some flags in Glib such as G_IO_FLAG_MASK and
27216 G_IO_FLAG_GET_MASK are aliases for the same int value, and will
27217 override each other's place in the dictionary.
27219 The dict length check is not necessary. It only reduces the number
27220 of duplicate instances we keep, because if an instance is not
27221 found in the dict, a new one is created anyway.
27223 gobject/pygflags.c | 2 +-
27224 1 file changed, 1 insertion(+), 1 deletion(-)
27226 commit 3afbebeee486e14fd3f48552368903eb78f6b10c
27227 Author: Laszlo Pandy <lpandy@src.gnome.org>
27228 Date: Tue Feb 22 21:37:33 2011 +0100
27230 Don't force loading of DynamicModule until set in sys.modules
27232 This fixes Tomeu's previous commit, which removed lazy loading.
27233 Forcing the loading of a module before it is installed in sys.modules
27234 prevents some overrides from being registered (namely Gtk.main_quit).
27236 https://bugzilla.gnome.org/show_bug.cgi?id=642305
27238 gi/importer.py | 2 +-
27239 1 file changed, 1 insertion(+), 1 deletion(-)
27241 commit 2a9cbfb435b47dc646e2c6ffe630464b560229a6
27242 Author: John (J5) Palmieri <johnp@redhat.com>
27243 Date: Mon Feb 21 17:20:57 2011 -0500
27245 use GValue support to marshal GtkTreeModel values correctly
27247 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914
27249 https://bugzilla.gnome.org/show_bug.cgi?id=642921
27251 gi/overrides/Gtk.py | 37 ++++++++++++++++++---
27252 tests/test_overrides.py | 87
27253 +++++++++++++++++++++++++++++++++++++++++--------
27254 2 files changed, 107 insertions(+), 17 deletions(-)
27256 commit 9e4ce7dc0f03ea407654c4af028122f57cbc4c5e
27257 Author: John (J5) Palmieri <johnp@redhat.com>
27258 Date: Mon Feb 21 16:14:20 2011 -0500
27260 [gi] pass raw GValues instead of trying to marshal them
27262 * Right now GValues are transparent to the user but this leave us no
27263 way to describe fundimental types other than those supported
27265 by python (e.g. int, str, etc)
27266 * If an interface is expecting a uint or other GValue type a user
27268 the raw GValue interfaces and expect paramaters that take
27270 marshal them correctly e.g.:
27271 value = GObject.Value()
27272 value.int(GObject.TYPE_UINT)
27273 value.set_uint(1234)
27274 * The objective here is to not for users to use this API but for
27276 to be able to utilize them. For instance in the TreeModel API
27278 get the expected type for a column and them create a GValue with
27280 type so that he underlying python object is marshalled correctly.
27282 https://bugzilla.gnome.org/show_bug.cgi?id=642914
27284 gi/pygi-argument.c | 24 ++++++++++++++++++------
27285 tests/test_gi.py | 9 ++++++++-
27286 2 files changed, 26 insertions(+), 7 deletions(-)
27288 commit b458f6f3424a04f6ceece09d443009372d70544c
27289 Author: John (J5) Palmieri <johnp@redhat.com>
27290 Date: Sat Feb 19 19:42:41 2011 -0500
27292 [gi-demos] add icon view edit and drag-and-drop demo
27294 demos/gtk-demo/demos/Icon View/__init__.py | 0
27295 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101
27296 +++++++++++++++++++++++++
27297 2 files changed, 101 insertions(+)
27299 commit 7b47289e25d1dd57ce15556ccfbb3ede1c4bfe8b
27300 Author: John (J5) Palmieri <johnp@redhat.com>
27301 Date: Sat Feb 19 17:26:42 2011 -0500
27303 [gi-demos] add info bars demo
27305 demos/gtk-demo/demos/infobars.py | 99
27306 ++++++++++++++++++++++++++++++++++++++++
27307 1 file changed, 99 insertions(+)
27309 commit 76758efb6579752237a0dc4d56cf9518de6c6e55
27310 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
27311 Date: Wed Feb 16 11:53:18 2011 +0100
27313 Load typelibs at import time, add gi.require_version()
27315 also adds Repository.get_loaded_namespaces()
27317 https://bugzilla.gnome.org/show_bug.cgi?id=642305
27319 gi/__init__.py | 29 ++++++++++++++++++++++++++++-
27320 gi/importer.py | 1 +
27321 gi/module.py | 21 ++++-----------------
27322 gi/pygi-repository.c | 23 +++++++++++++++++++++++
27323 4 files changed, 56 insertions(+), 18 deletions(-)
27325 commit 96f7d1aed732db09a74cd463ed894b7347dbcb15
27326 Author: Laszlo Pandy <lpandy@src.gnome.org>
27327 Date: Sat Feb 19 23:11:25 2011 +0100
27329 [gi] Register GType for non-GType enums and flags at runtime.
27331 Note: rebuild of gobject-introspection is required for new tests.
27333 Previously non-GType enums used a separate type implemented in
27334 Python, and non-GType flags had no implementation at all. This
27335 removes the separate type for enums, and registers a new GType at
27336 runtime if there isn't one.
27338 This allows non-GType enums and flags to use the same Python type
27339 as GType enums and flags. This removes duplication of code, and
27340 make both kinds behave identically.
27342 https://bugzilla.gnome.org/show_bug.cgi?id=642607
27344 gi/gimodule.c | 117
27345 +++++++++++++++++++++++++++++++++++++++++++++++++++++
27346 gi/module.py | 24 ++++++-----
27347 gi/pygi-info.c | 15 +++++++
27348 gi/types.py | 16 --------
27349 gobject/pygflags.c | 13 ++++--
27350 tests/test_gi.py | 35 ++++++++++++++++
27351 6 files changed, 191 insertions(+), 29 deletions(-)
27353 commit 63a60bcc20e724f96ea8d565ee0cf13a228b72b9
27354 Author: Martin Pitt <martin.pitt@ubuntu.com>
27355 Date: Tue Feb 8 15:38:21 2011 +0100
27357 [gi] Add Pythonic gdbus method invocation
27359 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like
27361 Python object. This will handle the Python object <-> GVariant
27363 optional keyword arguments for flags, timeout, and a result handler
27365 asynchronous calls.
27367 Require specifying the input argument signature as the first argument
27369 method call. This ensures that the types of e. g. integers are
27371 and avoids having to do expensive D-Bus introspection for each call.
27373 https://bugzilla.gnome.org/show_bug.cgi?id=640181
27375 gi/overrides/Gio.py | 99
27376 ++++++++++++++++++++++++++++++++++++++++++++++++++
27377 tests/test_gdbus.py | 102
27378 ++++++++++++++++++++++++++++++++++++++++++++++++++--
27379 2 files changed, 199 insertions(+), 2 deletions(-)
27381 commit ed5cdbb6f52bdbd13521a814516b15687955d6f7
27382 Author: Laszlo Pandy <lpandy@src.gnome.org>
27383 Date: Fri Feb 18 22:48:59 2011 +0100
27385 Skip GError out parameters in Python closure.
27387 Python code should have never have to explicitely return a GError.
27388 Once we are able to marshal exceptions the Python code should
27389 throw an exception instead. Until then, set GError to NULL, and
27390 don't complain if a Python function doesn't return an arg for it.
27392 https://bugzilla.gnome.org/show_bug.cgi?id=642715
27394 gi/pygi-closure.c | 8 ++++++++
27395 1 file changed, 8 insertions(+)
27397 commit 5a5ee3877e22939a697772a7f0630ef8cae3d52f
27398 Author: Laszlo Pandy <lpandy@src.gnome.org>
27399 Date: Fri Feb 18 10:15:59 2011 +0100
27401 Fix runtests.py to work with Python3 (print function syntax error).
27403 tests/runtests.py | 2 +-
27404 1 file changed, 1 insertion(+), 1 deletion(-)
27406 commit ad5d3fccff9433e2dadac89d731dac5cafb0eac3
27407 Author: John (J5) Palmieri <johnp@redhat.com>
27408 Date: Thu Feb 17 19:46:49 2011 -0500
27410 [gi-demos] added rotate text demo
27412 * needs some Pango Attr fixes to be 100% done, See FIXME
27414 demos/gtk-demo/demos/rotatedtext.py | 196
27415 ++++++++++++++++++++++++++++++++++++
27416 1 file changed, 196 insertions(+)
27418 commit 9ac11c3c3b1c0399c85ece57c0983ed60d419d7a
27419 Author: John (J5) Palmieri <johnp@redhat.com>
27420 Date: Thu Feb 17 17:25:00 2011 -0500
27422 [gi-demos] add images demo
27424 * needs annotation fix from GdkPixbuf for ImageLoader to work
27426 demos/gtk-demo/demos/images.py | 311
27427 +++++++++++++++++++++++++++++++++++++++++
27428 1 file changed, 311 insertions(+)
27430 commit 13b06170b89b3468e6255be32af4833ffc675c9d
27431 Author: John (J5) Palmieri <johnp@redhat.com>
27432 Date: Thu Feb 17 14:48:24 2011 -0500
27434 [gi-demos] add pixbuf demo
27436 demos/gtk-demo/demos/pixbuf.py | 183
27437 +++++++++++++++++++++++++++++++++++++++++
27438 1 file changed, 183 insertions(+)
27440 commit 7abcfd5b4db99bb0f50c5a47d346a2de3836f994
27441 Author: John (J5) Palmieri <johnp@redhat.com>
27442 Date: Thu Feb 17 14:47:12 2011 -0500
27444 [gi-demos] remove fixmes from print demo, fixed in pango
27446 demos/gtk-demo/demos/printing.py | 10 +++-------
27447 1 file changed, 3 insertions(+), 7 deletions(-)
27449 commit 9b13f49356da7d71c69b82da2a59d92f456a6913
27450 Author: John (J5) Palmieri <johnp@redhat.com>
27451 Date: Wed Feb 16 19:39:30 2011 -0500
27453 [gi-demos] add printing demo
27455 * needs some annotations for pango before it is 100% useful
27457 demos/gtk-demo/demos/printing.py | 177
27458 +++++++++++++++++++++++++++++++++++++++
27459 1 file changed, 177 insertions(+)
27461 commit 6025b62ee662af347e48b6752e6d5be74b4a8215
27462 Author: John (J5) Palmieri <johnp@redhat.com>
27463 Date: Wed Feb 16 17:52:38 2011 -0500
27465 [gi-overrides] add cursor overrides
27467 https://bugzilla.gnome.org/show_bug.cgi?id=635947
27469 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++
27470 tests/test_overrides.py | 23 +++++++++++++++++++++++
27471 2 files changed, 64 insertions(+)
27473 commit 03c0aa498470037ef2aa6a8233198ff521f8d42f
27474 Author: John (J5) Palmieri <johnp@redhat.com>
27475 Date: Wed Feb 16 16:18:24 2011 -0500
27477 [gi-demos] add the links demo
27479 demos/gtk-demo/demos/links.py | 74
27480 +++++++++++++++++++++++++++++++++++++++++++
27481 1 file changed, 74 insertions(+)
27483 commit 79ecddf8d54b3f4f8b5ef05d302675152622c832
27484 Author: John (J5) Palmieri <johnp@redhat.com>
27485 Date: Wed Feb 16 15:48:40 2011 -0500
27487 [gi-demos] add expander demo
27489 demos/gtk-demo/demos/expander.py | 60
27490 ++++++++++++++++++++++++++++++++++++++++
27491 1 file changed, 60 insertions(+)
27493 commit 76cdb13ab872f91f8384d26b0f2932087a746117
27494 Author: John (J5) Palmieri <johnp@redhat.com>
27495 Date: Wed Feb 16 15:14:35 2011 -0500
27497 [gi-overrides] use pop instead of del and add extra tests for
27500 gi/overrides/Gtk.py | 6 ++----
27501 tests/test_overrides.py | 8 ++++++++
27502 2 files changed, 10 insertions(+), 4 deletions(-)
27504 commit 6ef83c049735689c42f085ca9d7b8e1f251c410f
27505 Author: Laszlo Pandy <lpandy@src.gnome.org>
27506 Date: Tue Feb 15 20:07:42 2011 +0100
27508 [tests] Separate processes for GI and static binding tests.
27510 Importing and using both static gobject bindings and
27511 introspection GObject bindings in the same process can cause
27512 conflicts with types which otherwise wouldn't be there.
27514 This patch changes "make check" to call runtests.py twice -- once
27515 for each set of tests.
27517 In the case of a test failure, runtests.py now sets the exit code
27518 so that make does not continue. Otherwise you might miss the
27519 failures from the first batch of tests in the scrollback.
27521 tests/Makefile.am | 19 +++++++++++--------
27522 tests/runtests.py | 4 +++-
27523 2 files changed, 14 insertions(+), 9 deletions(-)
27525 commit e0896b45f60f37097ec521f1bc38778383b78dd8
27526 Author: John (J5) Palmieri <johnp@redhat.com>
27527 Date: Tue Feb 15 14:47:10 2011 -0500
27529 [gi-demos] add dialogs demo
27531 demos/gtk-demo/demos/dialogs.py | 153
27532 ++++++++++++++++++++++++++++++++++++++++
27533 1 file changed, 153 insertions(+)
27535 commit 2dea743e82f6b18697950c34f116b2d0f1d6b1dd
27536 Author: John (J5) Palmieri <johnp@redhat.com>
27537 Date: Tue Feb 15 14:46:41 2011 -0500
27539 [gi-overrides] fix typo in GtkTable constructor
27541 gi/overrides/Gtk.py | 8 ++++----
27542 1 file changed, 4 insertions(+), 4 deletions(-)
27544 commit 9c277e1782c5a9d672d91fabf5289c5415891682
27545 Author: John (J5) Palmieri <johnp@redhat.com>
27546 Date: Tue Feb 15 13:26:38 2011 -0500
27548 [gi-demos] keep popup menu from destroying itself by holding a ref
27551 demos/gtk-demo/demos/clipboard.py | 8 ++++----
27552 1 file changed, 4 insertions(+), 4 deletions(-)
27554 commit 18800c4db0e1faea38fd84f635d26a7ded5d10de
27555 Author: John (J5) Palmieri <johnp@redhat.com>
27556 Date: Tue Feb 15 13:25:13 2011 -0500
27558 [gi-overrides] add a Gtk.Menu override for the popup method
27560 gi/overrides/Gtk.py | 7 +++++++
27561 1 file changed, 7 insertions(+)
27563 commit ad93386ba9f73ef4c3826544b3868cf03c01225e
27564 Author: John (J5) Palmieri <johnp@redhat.com>
27565 Date: Tue Feb 15 13:24:33 2011 -0500
27567 [gi-demos] fix the about dialog in appwindow demo
27569 demos/gtk-demo/demos/appwindow.py | 22 +++++++++-------------
27570 1 file changed, 9 insertions(+), 13 deletions(-)
27572 commit d0c45c80974f05b6adfd3bb01d785be268a53a98
27573 Author: John (J5) Palmieri <johnp@redhat.com>
27574 Date: Tue Feb 15 11:21:13 2011 -0500
27576 [gi-demos] fix clipboard demo so DnD works
27578 * menu popups don't work because the API takes a callback without
27582 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++----------
27583 1 file changed, 10 insertions(+), 10 deletions(-)
27585 commit 02d0327508234ab2e3b7dc6de506d70e6fcaaa17
27586 Author: John (J5) Palmieri <johnp@redhat.com>
27587 Date: Tue Feb 15 10:18:53 2011 -0500
27589 [gi-demos] fix clipboard demo to reflect new API
27591 demos/gtk-demo/demos/clipboard.py | 6 +++---
27592 1 file changed, 3 insertions(+), 3 deletions(-)
27594 commit aa006cad6990eff0cbb68fa9550e428f2bc96473
27595 Author: John (J5) Palmieri <johnp@redhat.com>
27596 Date: Mon Feb 14 18:17:20 2011 -0500
27598 [gi-demo] Fix color dialog demo to run with new draw, style and
27601 demos/gtk-demo/demos/colorselector.py | 44
27602 ++++++++++++++---------------------
27603 1 file changed, 17 insertions(+), 27 deletions(-)
27605 commit f94a96c53e9432ac085bd05acee7ebdd2803fbad
27606 Author: John (J5) Palmieri <johnp@redhat.com>
27607 Date: Mon Feb 14 17:58:25 2011 -0500
27609 [gi-demos] fix most of the combobox app
27611 * Still having some issues with filtering the ComboBoxText widget
27613 demos/gtk-demo/demos/combobox.py | 17 ++++++++---------
27614 1 file changed, 8 insertions(+), 9 deletions(-)
27616 commit 3606eb20ad1651af621bf1aa429ec102082565eb
27617 Author: Laszlo Pandy <lpandy@src.gnome.org>
27618 Date: Mon Feb 14 19:36:27 2011 +0100
27620 Use PyGI type conversion (to fix foreign types) for signal callbacks.
27622 First attempt at patch to fix foreign types in signal callbacks.
27623 Tests are not implemented yet.
27625 https://bugzilla.gnome.org/show_bug.cgi?id=637601
27627 gi/Makefile.am | 2 +
27628 gi/gimodule.c | 1 +
27629 gi/pygi-argument.c | 91 ++++++++++++++++++
27630 gi/pygi-argument.h | 2 +
27631 gi/pygi-private.h | 1 +
27632 gi/pygi-signal-closure.c | 245
27633 +++++++++++++++++++++++++++++++++++++++++++++++
27634 gi/pygi-signal-closure.h | 46 +++++++++
27635 gi/pygi.h | 28 ++++++
27636 gobject/pygobject.c | 24 ++++-
27637 9 files changed, 436 insertions(+), 4 deletions(-)
27639 commit 2e39d5e8f96be2253acb2f34a0d0b5b9c9adb8ff
27640 Author: John (J5) Palmieri <johnp@redhat.com>
27641 Date: Mon Feb 14 16:47:03 2011 -0500
27643 [gi-demos] fix drawingarea app to use the new draw api
27645 demos/gtk-demo/demos/drawingarea.py | 144
27646 +++++++++++++-----------------------
27647 1 file changed, 50 insertions(+), 94 deletions(-)
27649 commit 8385afbbc5df295d9b7cd3b5d19c90faa1f7ea8e
27650 Author: John (J5) Palmieri <johnp@redhat.com>
27651 Date: Mon Feb 14 16:43:35 2011 -0500
27653 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt
27655 * note this is the introspected gobject-cairo boxed type not the
27658 * we alias this so people do not get confused
27660 gi/overrides/Gdk.py | 5 +++++
27661 1 file changed, 5 insertions(+)
27663 commit d491c369e049ab726f09002af0462391d5c2f3ec
27664 Author: John (J5) Palmieri <johnp@redhat.com>
27665 Date: Mon Feb 14 15:07:11 2011 -0500
27667 [gi-overrides] let user set the proper property names in Gtk.Table
27669 * the old override added a columns and rows parameters to the Table
27671 to be in sync with PyGtk.
27672 * The GTK properties are n_columns and n_rows
27675 gi/overrides/Gtk.py | 8 ++++++++
27676 1 file changed, 8 insertions(+)
27678 commit 95bc2b2b025d659725d701c3b759c0c4d9681a36
27679 Author: John (J5) Palmieri <johnp@redhat.com>
27680 Date: Mon Feb 14 15:06:38 2011 -0500
27682 [gi-demos] get appwindow demo working again
27684 demos/gtk-demo/demos/appwindow.py | 24 ++++--------------------
27685 1 file changed, 4 insertions(+), 20 deletions(-)
27687 commit 015185f502c498c21cb108d3bb288c5b6dbf202f
27688 Author: John (J5) Palmieri <johnp@redhat.com>
27689 Date: Mon Feb 14 15:05:44 2011 -0500
27691 [gi-demos] fixed use of tree_iter_get
27693 demos/gtk-demo/gtk-demo.py | 2 +-
27694 1 file changed, 1 insertion(+), 1 deletion(-)
27696 commit 0c20977e4598e5447dd07c069e91226efacb1160
27697 Author: Simon van der Linden <svdlinden@gnome.org>
27698 Date: Fri Feb 11 22:02:03 2011 +0100
27700 Remove last GIO-related bits
27702 https://bugzilla.gnome.org/show_bug.cgi?id=638899
27706 configure.ac | 3 --
27707 examples/gio/directory-async.py | 33 ------------------
27708 examples/gio/downloader.py | 77
27709 -----------------------------------------
27710 pygobject.doap | 2 +-
27711 6 files changed, 3 insertions(+), 117 deletions(-)
27713 commit e4ebbd7de5570af1abf41bdf9469d4ce3edd48cb
27714 Author: Simon van der Linden <svdlinden@gnome.org>
27715 Date: Fri Feb 11 18:38:27 2011 +0100
27717 Remove GIO documentation
27719 https://bugzilla.gnome.org/show_bug.cgi?id=638899
27721 docs/Makefile.am | 82 +-
27722 docs/reference/pygio-appinfo.xml | 894 -----
27723 docs/reference/pygio-applaunchcontext.xml | 194 --
27724 docs/reference/pygio-asyncresult.xml | 117 -
27725 docs/reference/pygio-bufferedinputstream.xml | 461 ---
27726 docs/reference/pygio-bufferedoutputstream.xml | 275 --
27727 docs/reference/pygio-cancellable.xml | 290 --
27728 docs/reference/pygio-classes.xml | 47 -
27729 docs/reference/pygio-constants.xml | 1540 ---------
27730 docs/reference/pygio-datainputstream.xml | 799 -----
27731 docs/reference/pygio-dataoutputstream.xml | 504 ---
27732 docs/reference/pygio-drive.xml | 546 ---
27733 docs/reference/pygio-emblem.xml | 232 --
27734 docs/reference/pygio-emblemedicon.xml | 160 -
27735 docs/reference/pygio-file.xml | 4534
27736 -------------------------
27737 docs/reference/pygio-fileattributeinfo.xml | 73 -
27738 docs/reference/pygio-fileenumerator.xml | 488 ---
27739 docs/reference/pygio-fileicon.xml | 109 -
27740 docs/reference/pygio-fileinfo.xml | 346 --
27741 docs/reference/pygio-fileinputstream.xml | 214 --
27742 docs/reference/pygio-filemonitor.xml | 128 -
27743 docs/reference/pygio-fileoutputstream.xml | 257 --
27744 docs/reference/pygio-filterinputstream.xml | 152 -
27745 docs/reference/pygio-filteroutputstream.xml | 152 -
27746 docs/reference/pygio-functions.xml | 395 ---
27747 docs/reference/pygio-icon.xml | 217 --
27748 docs/reference/pygio-inputstream.xml | 730 ----
27749 docs/reference/pygio-loadableicon.xml | 198 --
27750 docs/reference/pygio-memoryinputstream.xml | 151 -
27751 docs/reference/pygio-memoryoutputstream.xml | 175 -
27752 docs/reference/pygio-mount.xml | 962 ------
27753 docs/reference/pygio-mountoperation.xml | 726 ----
27754 docs/reference/pygio-outputstream.xml | 140 -
27755 docs/reference/pygio-seekable.xml | 231 --
27756 docs/reference/pygio-simpleasyncresult.xml | 317 --
27757 docs/reference/pygio-themedicon.xml | 204 --
27758 docs/reference/pygio-unixinputstream.xml | 202 --
27759 docs/reference/pygio-unixoutputstream.xml | 202 --
27760 docs/reference/pygio-volume.xml | 718 ----
27761 docs/reference/pygio-volumemonitor.xml | 844 -----
27762 docs/reference/pygiounix-classes.xml | 13 -
27763 docs/reference/pygobject-ref.xml | 2 -
27764 42 files changed, 1 insertion(+), 19020 deletions(-)
27766 commit abdebc7f6515f9658812c0355d8ad0892e5371e4
27767 Author: John (J5) Palmieri <johnp@redhat.com>
27768 Date: Fri Feb 11 11:05:04 2011 -0500
27770 bump version to reflect the master branch moving towards pygobject 3.0
27772 * added NEWS file from branch pygobject-2-28
27774 * this branch will drop support for the static binding
27775 * use the pygobject-2-28 branch for static binding fixes
27778 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
27779 configure.ac | 4 +-
27780 2 files changed, 291 insertions(+), 2 deletions(-)
27782 commit 16140237aa45b4f188923da9f95b9d2af971011b
27783 Author: John (J5) Palmieri <johnp@redhat.com>
27784 Date: Thu Feb 10 16:46:08 2011 -0500
27786 fix build to correctly use python-config
27789 configure.ac | 6 ------
27790 m4/python.m4 | 9 +++++----
27791 tests/runtests.py | 1 +
27792 4 files changed, 9 insertions(+), 10 deletions(-)
27794 commit c2079f415638ef892b1e51f25eaafa3e1621667f
27795 Author: Simon van der Linden <svdlinden@gnome.org>
27796 Date: Thu Feb 10 22:26:00 2011 +0100
27798 Add missing libraries to link against
27800 glib/Makefile.am | 2 +-
27801 gobject/Makefile.am | 1 +
27802 2 files changed, 2 insertions(+), 1 deletion(-)
27804 commit 3cca62a9e7afd3d3d302c66f4fafe253f7743d4e
27805 Author: Steve Frécinaux <code@istique.net>
27806 Date: Wed Jan 19 15:00:56 2011 +0100
27808 Make runtests.py able to run command-line provided test files
27810 With this patch we are now able to run ./runtests.py <somefile>, which
27811 is more friendly than defining an environment variable to run some
27814 https://bugzilla.gnome.org/show_bug.cgi?id=639948
27816 tests/runtests.py | 9 +++++++++
27817 1 file changed, 9 insertions(+)
27819 commit 14c4cf8e6edae893538680964380d543bde4a14d
27820 Author: Martin Pitt <martin.pitt@ubuntu.com>
27821 Date: Wed Feb 9 11:34:59 2011 +0100
27823 Run test suite under dbus-launch
27825 When available, run the test suite in dbus-launch, so that the
27827 succeed even when building this in an environment without a running
27829 D-BUS (such as distribution package builds).
27831 tests/Makefile.am | 3 ++-
27832 1 file changed, 2 insertions(+), 1 deletion(-)
27834 commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e
27835 Author: Martin Pitt <martin.pitt@ubuntu.com>
27836 Date: Tue Feb 8 15:46:36 2011 +0100
27838 Fix test_gdbus.py to be Python3 friendly
27840 - TestCase.assert_() has been deprecated by assertTrue().
27841 - Exceptions don't have a message attribute any more, use str(e)
27843 tests/test_gdbus.py | 34 +++++++++++++++-------------------
27844 1 file changed, 15 insertions(+), 19 deletions(-)
27846 commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9
27847 Author: Martin Pitt <martin.pitt@ubuntu.com>
27848 Date: Sat Jan 29 12:20:50 2011 +0100
27850 [gi] Provide comfortable GSettings API
27852 Make Gio.Settings behave like a dictionary, with transparent
27854 GVariants. Also provide a more comfortable constructor.
27856 https://bugzilla.gnome.org/show_bug.cgi?id=640838
27858 gi/overrides/Gio.py | 54 +++++++++++++++++++++++++++++
27859 tests/org.gnome.test.gschema.xml | 9 +++++
27860 tests/test_overrides.py | 73
27861 ++++++++++++++++++++++++++++++++--------
27862 3 files changed, 122 insertions(+), 14 deletions(-)
27864 commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e
27865 Author: Laszlo Pandy <lpandy@src.gnome.org>
27866 Date: Fri Feb 4 16:36:07 2011 +0100
27868 Fix vfunc search bug when using GInterfaces and a do_* method.
27870 If a class inherits from a GInterface, as well as implements a do_*
27871 method (which is not in a super class), all the base interfaces
27872 will be searched for an __info__ attribute. GInterface doesn't
27873 have one, causing an error on class creation.
27875 https://bugzilla.gnome.org/show_bug.cgi?id=641493
27877 gi/types.py | 4 +++-
27878 tests/test_gi.py | 8 ++++++++
27879 2 files changed, 11 insertions(+), 1 deletion(-)
27881 commit 2660be1f227be7a53092483bc9d8ead1bd1fb266
27882 Author: Laszlo Pandy <lpandy@src.gnome.org>
27883 Date: Thu Feb 3 15:31:42 2011 +0100
27885 [GI] Add tests for Gtk.Widget.drag_* methods.
27887 Previously all the drag_* methods were accessible as Gtk.drag_*.
27888 Now that the (method) attribute has been included for these
27889 methods in Gtk+, this test checks that they are included as class
27890 methods when using pygobject introspection.
27892 https://bugzilla.gnome.org/show_bug.cgi?id=639945
27894 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++
27895 1 file changed, 40 insertions(+)
27897 commit d57500537014b3da624be33b40401ba289fa22b8
27898 Author: John (J5) Palmieri <johnp@redhat.com>
27899 Date: Thu Feb 3 09:02:16 2011 -0500
27901 [gi] make caller allocates work again
27903 gi/pygi-cache.c | 18 +++---------------
27904 gi/pygi-invoke.c | 37 ++++++++++++++++++++++++++++++++++---
27905 2 files changed, 37 insertions(+), 18 deletions(-)
27907 commit 99d6e6c8d806e6f9e48c3c2380024fb3511d110a
27908 Author: John (J5) Palmieri <johnp@redhat.com>
27909 Date: Wed Feb 2 19:27:40 2011 -0500
27911 [gi] fix container object reffing
27913 gi/pygi-argument.c | 7 +++----
27914 gi/pygi-cache.c | 12 ++++--------
27915 2 files changed, 7 insertions(+), 12 deletions(-)
27917 commit 09acaff29dfaabc77477cffca2c7137f68991e7f
27918 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27919 Date: Wed Feb 2 21:00:48 2011 +0100
27921 [python 3] use the right syntaxis to raise exceptions
27923 codegen/argtypes.py | 8 ++++----
27924 codegen/definitions.py | 14 +++++++-------
27925 gi/overrides/Gtk.py | 2 +-
27926 3 files changed, 12 insertions(+), 12 deletions(-)
27928 commit 36094e5982d3e05d5662843b6d401f0974f5235f
27929 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27930 Date: Wed Feb 2 20:50:12 2011 +0100
27932 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init
27934 tests/testhelpermodule.c | 6 +++---
27935 1 file changed, 3 insertions(+), 3 deletions(-)
27937 commit c913c1789296310c2cf27554ce719d7f6e9c94cd
27938 Author: Ignacio Casal Quinteiro <icq@gnome.org>
27939 Date: Wed Feb 2 20:37:21 2011 +0100
27941 [gi] return PYGLIB_MODULE_ERROR_RETURN on error
27943 This is to avoid some warnings when building with python 3
27945 gi/gimodule.c | 6 +++---
27946 1 file changed, 3 insertions(+), 3 deletions(-)
27948 commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4
27949 Author: Steve Frécinaux <code@istique.net>
27950 Date: Sat Jan 29 00:16:50 2011 +0100
27952 Fix wrong refcount when calling introspected widget constructors
27954 Introspected widget constructors, like Gtk.Button.new(), can return
27955 objects with a floating reference, which was then reffed by pygobject,
27956 resulting in two references, despite the object is not owned by
27959 This patch uses ref_sink() when pygobject takes its own reference, to
27960 avoid adding that extra reference. Hence we now claim ownership on
27961 objects returned by constructors with transfer=none (which is the case
27962 for nearly all the widget constructors, despite the floating ref).
27964 https://bugzilla.gnome.org/show_bug.cgi?id=640868
27966 gobject/pygobject.c | 4 +++-
27967 tests/test_everything.py | 9 ++++++++-
27968 2 files changed, 11 insertions(+), 2 deletions(-)
27970 commit afeaaa126f7cd6556fb855ecd0facc174c0f946c
27971 Author: Simon Schampijer <simon@laptop.org>
27972 Date: Wed Jan 19 16:19:46 2011 +0100
27974 Gdk.Window: Map the standard constructor to the *new* constructor
27976 Gdk.Window had to be made abstract
27977 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk),
27978 this override allows using the standard constructor
27980 This commit adds as well a testcase.
27982 https://bugzilla.gnome.org/show_bug.cgi?id=639936
27984 gi/overrides/Gdk.py | 6 ++++++
27985 tests/test_overrides.py | 8 ++++++++
27986 2 files changed, 14 insertions(+)
27988 commit 4a67f45880433905de33632fe0c32a13b44c0b33
27989 Author: John (J5) Palmieri <johnp@redhat.com>
27990 Date: Mon Jan 31 16:51:37 2011 -0500
27992 [gi] handle hash being NULL
27994 gi/pygi-argument.c | 6 ++++++
27995 1 file changed, 6 insertions(+)
27997 commit 2fbfe410f4b4394a2018ada0e538585c1bec23ae
27998 Author: John (J5) Palmieri <johnp@redhat.com>
27999 Date: Mon Jan 31 16:50:52 2011 -0500
28001 [gi] handle the situation where an aux arg comes before its parent
28003 gi/pygi-cache.c | 70
28004 ++++++++++++++++++++++++++++++++++++++++----------------
28005 gi/pygi-invoke.c | 2 +-
28006 2 files changed, 51 insertions(+), 21 deletions(-)
28008 commit 858669f92c9907dd70b4966d6a8521ed122225be
28009 Author: Martin Pitt <martin.pitt@ubuntu.com>
28010 Date: Mon Jan 31 17:38:52 2011 +0100
28012 Ship tests/org.gnome.test.gschema.xml in dist tarballs
28014 tests/Makefile.am | 3 ++-
28015 1 file changed, 2 insertions(+), 1 deletion(-)
28017 commit 77d76df59606e470808085e977fb199cc76e8251
28018 Author: John (J5) Palmieri <johnp@redhat.com>
28019 Date: Sun Jan 30 18:21:24 2011 -0500
28021 [gi] allow caching and marshalling of ghash out
28023 gi/pygi-argument.c | 155
28024 +++++++++++++++++++++++++++++++++++++++++++++++++----
28025 gi/pygi-cache.c | 27 ++++++----
28026 2 files changed, 162 insertions(+), 20 deletions(-)
28028 commit bd66af67f248a3ca90d2fa2626605263c2392e16
28029 Author: John (J5) Palmieri <johnp@redhat.com>
28030 Date: Sun Jan 30 17:06:44 2011 -0500
28032 [gi] whitespace fixes
28034 gi/pygi-cache.c | 60
28035 ++++++++++++++++++++++++++++-----------------------------
28036 1 file changed, 30 insertions(+), 30 deletions(-)
28038 commit 1cdbd4be9b015f792c2c02afa5ac7e24edbdae86
28039 Author: John (J5) Palmieri <johnp@redhat.com>
28040 Date: Sun Jan 30 17:04:13 2011 -0500
28042 [gi] added ugly aux arg counters
28044 * we need to simplify the ffi invoke so we can simply reference args
28045 at their position in the C parameter list
28046 * this works for now but is fragile if new aux values are added in
28049 gi/pygi-argument.c | 12 ++++++++--
28050 gi/pygi-cache.c | 66
28051 +++++++++++++++++++++++++++++++++++++-----------------
28052 gi/pygi-cache.h | 2 ++
28053 gi/pygi-invoke.c | 12 +++++++---
28054 4 files changed, 66 insertions(+), 26 deletions(-)
28056 commit c51447f4efde2ce4caf39c1ffac905ec428d1d64
28057 Author: John (J5) Palmieri <johnp@redhat.com>
28058 Date: Sun Jan 30 11:30:54 2011 -0500
28060 [gi] make inout marshalling work
28062 * refactor cache generation so we can create caches and then fill
28064 values based on if they are in, out or inout
28065 * in invoke we order the pointers based on their direction
28067 gi/pygi-cache.c | 1445
28068 ++++++++++++++++++++++++++----------------------------
28069 gi/pygi-invoke.c | 19 +-
28070 2 files changed, 711 insertions(+), 753 deletions(-)
28072 commit 2b185362de45f46ce0f0b8816499aef06ab1ad1e
28073 Author: John (J5) Palmieri <johnp@redhat.com>
28074 Date: Sat Jan 29 13:49:36 2011 -0500
28076 [gi] marshal arrays out
28078 gi/pygi-argument.c | 101
28079 +++++++++++++++++++++++++++++++++++++++++++++++++++--
28080 1 file changed, 99 insertions(+), 2 deletions(-)
28082 commit e62e7062d5cfd782eac64852f681c63e2776b8d4
28083 Author: John (J5) Palmieri <johnp@redhat.com>
28084 Date: Sat Jan 29 13:48:23 2011 -0500
28086 [gi] fix sequence caching to support out
28088 gi/pygi-cache.c | 111
28089 ++++++++++++++++++++++++++++++++++++++++++++------------
28090 1 file changed, 87 insertions(+), 24 deletions(-)
28092 commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3
28093 Author: Martin Pitt <martin.pitt@ubuntu.com>
28094 Date: Fri Jan 28 17:14:19 2011 +0100
28096 [gi] Add GSettings tests
28098 Ryan Lortie proposed an override for more convenient GSettings access,
28100 first make sure that the canonical GLib API works.
28102 tests/Makefile.am | 7 +++++--
28103 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++
28104 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++
28105 3 files changed, 52 insertions(+), 2 deletions(-)
28107 commit 488478a83640d50baee963337fcc870fec76b784
28108 Author: Martin Pitt <martin.pitt@ubuntu.com>
28109 Date: Fri Jan 28 07:20:26 2011 +0100
28111 [gi] Provide GtkTextBuffer.insert_with_tags_by_name()
28113 Provide an actual insert_with_tags_by_name() instead of overloading
28114 insert_with_tags() to handle both types. This keeps the overrides
28116 with the actual GTK API.
28118 gi/overrides/Gtk.py | 19 ++++++++++++++-----
28119 tests/test_overrides.py | 4 ++--
28120 2 files changed, 16 insertions(+), 7 deletions(-)
28122 commit dace1a553793fb7fb054b60760f02c9e5cf00b38
28123 Author: Martin Pitt <martin.pitt@ubuntu.com>
28124 Date: Thu Jan 27 13:37:18 2011 +0100
28126 [gi] Support tag names in GtkTextBuffer.insert_with_tags()
28128 Neither insert_with_tags() nor insert_with_tags_by_name() are
28130 due to using varargs. As both are useful, support both cases in
28133 gi/overrides/Gtk.py | 5 +++++
28134 tests/test_overrides.py | 9 +++++++++
28135 2 files changed, 14 insertions(+)
28137 commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb
28138 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28139 Date: Thu Jan 27 12:23:18 2011 +0100
28141 Add MAINTAINERCLEANFILES
28143 This var behaves like .gitignore and allows us to skip some specific
28146 Makefile.am | 27 +++++++++++++++++++++++++++
28147 1 file changed, 27 insertions(+)
28149 commit 8a98d26981ce68809a21c64cac4962e58c927905
28150 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28151 Date: Thu Jan 27 12:15:30 2011 +0100
28153 Remove .gitignore files and use git.mk
28155 git.mk is a script maintained in pango. From time to time we must
28156 check if it was updated and update it here.
28158 .gitignore | 46 -----------
28160 codegen/.gitignore | 2 -
28161 codegen/Makefile.am | 2 +
28162 docs/.gitignore | 7 --
28163 docs/Makefile.am | 2 +
28164 examples/Makefile.am | 2 +
28165 gi/.gitignore | 40 ----------
28166 gi/Makefile.am | 2 +
28167 gi/overrides/Makefile.am | 2 +
28168 gi/repository/Makefile.am | 2 +
28169 gi/tests/Makefile.am | 2 +
28171 ++++++++++++++++++++++++++++++++++++++++++++++
28172 glib/Makefile.am | 2 +
28173 gobject/.gitignore | 3 -
28174 gobject/Makefile.am | 2 +
28175 tests/.gitignore | 2 -
28176 tests/Makefile.am | 2 +
28177 18 files changed, 222 insertions(+), 100 deletions(-)
28179 commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347
28180 Author: Martin Pitt <martin.pitt@ubuntu.com>
28181 Date: Thu Jan 27 12:04:19 2011 +0100
28183 pygi-convert.sh: Convert Pango.TabAlign.*
28185 pygi-convert.sh | 1 +
28186 1 file changed, 1 insertion(+)
28188 commit be1a2959fa0a3d8682e0e8aef389d73dacab0689
28189 Author: Martin Pitt <martin.pitt@ubuntu.com>
28190 Date: Thu Jan 27 12:02:39 2011 +0100
28192 pygi-convert.sh: Drop window -> get_window() conversion
28194 It is doing more harm than good for projects which use things like
28197 pygi-convert.sh | 1 -
28198 1 file changed, 1 deletion(-)
28200 commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a
28201 Author: Martin Pitt <martin.pitt@ubuntu.com>
28202 Date: Thu Jan 27 11:58:26 2011 +0100
28204 pygi-convert.sh: Don't convert self.window assignments
28206 pygi-convert.sh | 2 +-
28207 1 file changed, 1 insertion(+), 1 deletion(-)
28209 commit 975341a26772966d4afc87a88a6a566d61237fa0
28210 Author: Steve Frécinaux <code@istique.net>
28211 Date: Fri Jan 21 18:41:54 2011 +0100
28213 Fix leaked python reference in python-defined subclasses
28215 https://bugzilla.gnome.org/show_bug.cgi?id=640184
28217 gobject/gobjectmodule.c | 1 +
28218 tests/test_gobject.py | 4 ++++
28219 2 files changed, 5 insertions(+)
28221 commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3
28222 Author: Steve Frécinaux <code@istique.net>
28223 Date: Fri Jan 21 15:54:43 2011 +0100
28225 Add some tests for the number of python refs held at creation time
28227 https://bugzilla.gnome.org/show_bug.cgi?id=640184
28229 tests/test_gobject.py | 21 +++++++++++++++++++++
28230 1 file changed, 21 insertions(+)
28232 commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33
28233 Author: Steve Frécinaux <code@istique.net>
28234 Date: Fri Jan 21 17:24:49 2011 +0100
28236 Factor out parameter marshalling from construction functions.
28238 https://bugzilla.gnome.org/show_bug.cgi?id=640197
28240 gobject/gobjectmodule.c | 35 ++--------------------
28241 gobject/pygobject-private.h | 5 ++++
28242 gobject/pygobject.c | 71
28243 +++++++++++++++++++++++++++------------------
28244 3 files changed, 50 insertions(+), 61 deletions(-)
28246 commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62
28247 Author: John (J5) Palmieri <johnp@redhat.com>
28248 Date: Wed Jan 26 15:34:24 2011 -0500
28250 [gi] in python 3 an array of uint8 can be bytes but not string
28252 tests/test_gi.py | 4 +++-
28253 1 file changed, 3 insertions(+), 1 deletion(-)
28255 commit 843553ea958eddec185bb660851a310dc050a14b
28256 Author: John (J5) Palmieri <johnp@redhat.com>
28257 Date: Wed Jan 26 15:30:06 2011 -0500
28259 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol
28261 gi/overrides/Gio.py | 6 +++++-
28262 1 file changed, 5 insertions(+), 1 deletion(-)
28264 commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4
28265 Author: John (J5) Palmieri <johnp@redhat.com>
28266 Date: Wed Jan 26 15:17:03 2011 -0500
28268 [gi] python 3 fixes
28270 Patches need to work in Python 3 - here are some of the issues I
28272 Patch submitters should keep this in mind. When I note to only
28274 in tests it means that there is a compat module that is only available
28276 tests. Actuall code should either add the workaround to the top
28278 module or try not to have a distinction between things such as
28280 longs which no longer exist in Python 3
28282 * use range instead of xrange - loss of performance in Python 2 but
28284 treats range similarly to python 2's xrange
28285 * use dict.items() instead of dict.iteritems() - same as the xrange
28287 * callable does not exist in 3.x, use hasattr(obj, '__call__') or
28289 if sys.version_info > (3, 0):
28291 return hasattr(obj, '__call__')
28293 * using unicode in tests is tricky, you can't use u'' even in
28295 conditional as python3's parser chokes on it. Do this in tests
28299 from compathelper import _unicode
28300 unicode_string = _unicode('this is a unicode string')
28302 * exception caching changed in 2.7, instead of except Exception,
28304 except Exception as e. Do this to be compatible with older
28308 etype, e = sys.exc_info()[:2]
28310 * Unbound methods with an im_func attribute no longer exits in 3.x.
28311 Unbound methods are now just functions so class.method in 3.x is
28312 equivalent to class.method.im_func in 2.x. If you have to go this
28315 func = class1.method
28316 if sys.version_info < (3,0):
28317 func = func.im_func
28319 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and
28320 only in tests) do this:
28322 from compathelper import _long
28325 gi/overrides/GLib.py | 16 ++++++++--------
28326 gi/types.py | 5 ++++-
28327 tests/compathelper.py | 19 +++++++++++++++++++
28328 tests/test_gdbus.py | 12 ++++++++----
28329 tests/test_gi.py | 19 ++++++++++++-------
28330 tests/test_overrides.py | 8 +++++---
28331 6 files changed, 56 insertions(+), 23 deletions(-)
28333 commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce
28334 Author: John (J5) Palmieri <johnp@redhat.com>
28335 Date: Wed Jan 26 14:00:08 2011 -0500
28337 [gi] fix try/except blocks using depricated raise format
28339 gi/overrides/GLib.py | 4 ++--
28340 gi/overrides/Gdk.py | 2 +-
28341 2 files changed, 3 insertions(+), 3 deletions(-)
28343 commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1
28344 Author: Martin Pitt <martin.pitt@ubuntu.com>
28345 Date: Wed Jan 26 19:03:48 2011 +0100
28347 [gi] Add docstring to GLib.Variant constructor
28349 gi/overrides/GLib.py | 11 +++++++++++
28350 1 file changed, 11 insertions(+)
28352 commit 963cd52fec26f7a4fb34414f8ac6662932ede322
28353 Author: Martin Pitt <martin.pitt@ubuntu.com>
28354 Date: Wed Jan 26 18:45:38 2011 +0100
28356 [gi] update gdbus test cases for previous GVariant change
28358 tests/test_gdbus.py | 4 ++--
28359 1 file changed, 2 insertions(+), 2 deletions(-)
28361 commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094
28362 Author: Martin Pitt <martin.pitt@ubuntu.com>
28363 Date: Wed Jan 26 18:39:17 2011 +0100
28365 [gi] Accept only a single object in GLib.Variant constructor
28367 We previously allowed flat arguments for tuple signatures, e. g.
28369 GLib.Variant('(ii)', 1, 2)
28371 However, that's not how GVariant is supposed to work. Remove the
28373 to handle flat argument lists, and only accept a single value, i. e.
28375 GLib.Variant('(ii)', (1, 2))
28377 Note that this breaks the current API, but as it is not used widely
28381 Thanks to Ryan Lortie for pointing this out!
28383 gi/overrides/GLib.py | 25 ++++++++++---------------
28384 tests/test_overrides.py | 32 +++++++++++++-------------------
28385 2 files changed, 23 insertions(+), 34 deletions(-)
28387 commit b15e8e2c0c933d0f827a70280faf875ac383d81b
28388 Author: Laszlo Pandy <lpandy@src.gnome.org>
28389 Date: Wed Jan 26 00:40:49 2011 +0100
28391 Speed up _setup_native_vfuncs()
28393 This changes _setup_native_vfuncs() to only install native
28394 vfunc wrappers from the current class on the current class.
28395 Native vfuncs will not be propogated up or down the class
28396 hierarchy as this is unnecessary and wastes CPU and memory.
28398 Since the normal process in python to retrieve a method or
28399 attribute recurses to the base classes if an attribute is not
28400 found in the subclass, there is no need to setup all base class
28401 virtual functions on a subclass.
28403 This patch removes the recursion in _setup_native_vfuncs()
28404 and lets Python find them in the base classes like a normal
28405 Python class would work. This significantly increases the speed
28406 of any class which is or inherits from a C class which includes
28409 https://bugzilla.gnome.org/show_bug.cgi?id=640629
28411 gi/types.py | 26 +++++++++++++-------------
28412 tests/test_gi.py | 13 +++++++++++++
28413 2 files changed, 26 insertions(+), 13 deletions(-)
28415 commit 569d42ac2f50fb706ef289ff631db743483f40ee
28416 Author: Laszlo Pandy <lpandy@src.gnome.org>
28417 Date: Thu Jan 20 16:26:18 2011 +0100
28419 Speed up class creation: rewrite _setup_vfuncs() to be much more
28422 This patch rewrites the _setup_vfuncs() method to remove recursion and
28423 make the running time linear in the number of virtual functions to
28425 (ie. methods starting with "do_") instead of linear in the number of
28426 virtual functions in the base class which could possibly be
28429 Since most classes do not override all of the virtual functions in the
28430 base class (and many override none), this runs much faster.
28432 It is possible to not recurse on all base classes because
28434 base classes will have the virtual function installed as an attribute.
28435 Thus getattr() can be called, which recurses to the base classes much
28436 faster than a custom implementation in Python. If the method cannot be
28437 found with getattr(), all interface bases classes are searched
28440 The function is_function_in_classes() has been deleted. Because of the
28441 above changes, it is not used anymore.
28443 https://bugzilla.gnome.org/show_bug.cgi?id=640073
28446 ++++++++++++++++++++++++++++++++++---------------------
28447 tests/test_gi.py | 13 +++++++
28448 2 files changed, 77 insertions(+), 40 deletions(-)
28450 commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be
28451 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28452 Date: Mon Jan 24 19:23:19 2011 +0100
28454 pygi-convert.sh: Convert gtk.UI_MANAGER_*
28456 pygi-convert.sh | 1 +
28457 1 file changed, 1 insertion(+)
28459 commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2
28460 Author: Sebastian Pölsterl <sebp@k-d-w.org>
28461 Date: Fri Jan 21 18:41:54 2011 +0100
28463 pygi-convert.sh: Convert gdk.GRAB_*
28465 pygi-convert.sh | 1 +
28466 1 file changed, 1 insertion(+)
28468 commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a
28469 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28470 Date: Fri Jan 21 16:45:07 2011 +0100
28472 [gi] set the gtype GValue correctly
28474 gi/pygi-property.c | 4 ++--
28475 1 file changed, 2 insertions(+), 2 deletions(-)
28477 commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5
28478 Author: Ignacio Casal Quinteiro <icq@gnome.org>
28479 Date: Fri Jan 21 16:20:23 2011 +0100
28481 [gi] use the right argument type for callback
28483 gi/pygi-foreign-cairo.c | 8 ++++----
28484 gi/pygi-foreign-gvariant.c | 4 ++--
28485 gi/pygi-foreign-gvariant.h | 2 +-
28486 gi/pygi-foreign.c | 2 +-
28488 5 files changed, 9 insertions(+), 9 deletions(-)
28490 commit 9f101baaa63a75acf62f955cfc4b311ff0dd5464
28491 Author: John (J5) Palmieri <johnp@redhat.com>
28492 Date: Fri Jan 21 09:23:54 2011 -0500
28494 [gi] marshal out flags and enum
28496 gi/pygi-argument.c | 14 +++++++++-----
28497 gi/pygi-cache.c | 24 ++++++++++++------------
28498 2 files changed, 21 insertions(+), 17 deletions(-)
28500 commit 4c93bdeae76830aa4029dfc86e32e6f277d5271d
28501 Author: John (J5) Palmieri <johnp@redhat.com>
28502 Date: Fri Jan 21 08:18:37 2011 -0500
28504 [gi] marshal unions
28506 gi/pygi-cache.c | 27 +++++++++++++--------------
28507 1 file changed, 13 insertions(+), 14 deletions(-)
28509 commit a060287d1a6d190acb9d344f08fd5662e3296da5
28510 Author: Martin Pitt <martin.pitt@ubuntu.com>
28511 Date: Fri Jan 21 11:00:27 2011 +0100
28513 [gi] Add test cases for GDBus client operations
28515 tests/Makefile.am | 1 +
28516 tests/test_gdbus.py | 94
28517 +++++++++++++++++++++++++++++++++++++++++++++++++++++
28518 2 files changed, 95 insertions(+)
28520 commit e7699d9af41f8c374326b8a4ec0939ef1426e386
28521 Author: John (J5) Palmieri <johnp@redhat.com>
28522 Date: Fri Jan 21 04:28:15 2011 -0500
28524 [gi] error out if the constructor returns NULL
28526 gi/pygi-invoke.c | 7 +++++++
28527 1 file changed, 7 insertions(+)
28529 commit 58ff2b2c38c1004861083ca88633be76767229f0
28530 Author: John (J5) Palmieri <johnp@redhat.com>
28531 Date: Fri Jan 21 04:26:45 2011 -0500
28533 [gi] throw error for caller allocates until we can write code to
28536 gi/pygi-cache.c | 11 +++++++++++
28537 1 file changed, 11 insertions(+)
28539 commit 5eb779439daa8bf1e86df689377dc10ef1430eab
28540 Author: John (J5) Palmieri <johnp@redhat.com>
28541 Date: Fri Jan 21 04:26:11 2011 -0500
28543 [gi] support struct out
28545 gi/pygi-argument.c | 30 ++++++++++++++++++++++++++----
28546 gi/pygi-cache.c | 15 ++-------------
28547 2 files changed, 28 insertions(+), 17 deletions(-)
28549 commit 3133dc595adf44279397d30712c0f8595f0e1acc
28550 Author: John (J5) Palmieri <johnp@redhat.com>
28551 Date: Fri Jan 21 04:22:06 2011 -0500
28553 [gi] move to using type_info and interface_info instead of arg_info
28555 * only arguments have arg_infos, not return types and instances so
28556 type_info is much better to pass. In fact most API that took an
28557 arg_info simply converted it to a type_info
28558 * In the case of instances for methods we don't even have a type_info.
28559 Since all instances are interfaces, we also attach the
28561 to the interface cache
28563 gi/pygi-argument.c | 20 ++++----------------
28564 gi/pygi-cache.c | 43
28565 ++++++++++++++++++++++++++++++++-----------
28566 gi/pygi-cache.h | 4 +++-
28567 gi/pygi-foreign-cairo.c | 24 ++++++++++++------------
28568 gi/pygi-foreign-gvariant.c | 11 +++++------
28569 gi/pygi-foreign-gvariant.h | 10 +++++-----
28570 gi/pygi-foreign.c | 21 +++++++++------------
28571 gi/pygi-foreign.h | 6 +++---
28572 gi/pygi.h | 8 ++++----
28573 9 files changed, 77 insertions(+), 70 deletions(-)
28575 commit e97e28048efb966ecc1a03277d36cbaa81b8db7d
28576 Author: Martin Pitt <martin.pitt@ubuntu.com>
28577 Date: Fri Jan 21 09:54:14 2011 +0100
28579 [gi] Add Variant construction/unpack support for boxed Variants
28581 Construction uses a GVariantBuilder for now, as the new_variant()
28583 currently does not work (see
28584 https://bugzilla.gnome.org/show_bug.cgi?id=639952)
28586 gi/overrides/GLib.py | 18 +++++++++++++++++-
28587 tests/test_overrides.py | 26 ++++++++++++++++++++++++++
28588 2 files changed, 43 insertions(+), 1 deletion(-)
28590 commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a
28591 Merge: bc29600a bd002c72
28592 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
28593 Date: Fri Jan 21 09:33:16 2011 +0100
28595 Merge branch 'windows-setup-fixes'
28597 commit bc29600a2a04c972ceab7ef8d3292e8633977591
28598 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
28599 Date: Thu Jan 20 19:48:23 2011 +0100
28601 pygi-convert.sh: GdkPixbuf methods
28605 pygi-convert.sh | 1 +
28606 1 file changed, 1 insertion(+)
28608 commit d1b0fa501cc431baa530d96fb50f4c35590890ac
28609 Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
28610 Date: Thu Jan 20 19:45:01 2011 +0100
28612 pygi-convert.sh: Gdk.COLORSPACE_RGB
28616 pygi-convert.sh | 1 +
28617 1 file changed, 1 insertion(+)
28619 commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5
28620 Author: Martin Pitt <martin.pitt@ubuntu.com>
28621 Date: Wed Jan 19 11:41:11 2011 +0100
28623 [gi] Support nested objects and empty sequences in GLib.Variant
28626 The GVariant constructor (in the overrides) previously did not
28628 arrays/dictionaries or nested structures. Rewrite the VariantCreator
28630 be fully recursive and determine the element types of
28631 arrays/dictionaries.
28633 This now also allows you to use actual tuples as input values for
28635 tuple types. Taking values from the flat argument list is still
28637 convenience, though.
28639 https://bugzilla.gnome.org/show_bug.cgi?id=639939
28641 gi/overrides/GLib.py | 229
28642 ++++++++++++++++++++++++++----------------------
28643 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++--
28644 2 files changed, 273 insertions(+), 115 deletions(-)
28646 commit ac095f5435f106e175fa3297cb273e63c85d2809
28647 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28648 Date: Thu Jan 20 15:55:45 2011 +0100
28650 Uncomment test_gi.TestInterfaceClash
28652 tests/test_gi.py | 22 +++++++++++-----------
28653 1 file changed, 11 insertions(+), 11 deletions(-)
28655 commit 1239f3709ba257c404dda72b7067b77b19c240fa
28656 Author: John (J5) Palmieri <johnp@redhat.com>
28657 Date: Thu Jan 20 09:05:02 2011 -0500
28659 [gi] add support for enum and flags
28661 gi/pygi-argument.c | 121
28662 +++++++++++++++++++++++++++++++++++++++++------------
28663 gi/pygi-cache.c | 30 ++++++-------
28664 2 files changed, 111 insertions(+), 40 deletions(-)
28666 commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42
28667 Author: Steve Frécinaux <code@istique.net>
28668 Date: Thu Jan 20 14:14:15 2011 +0100
28670 Fix reference leaks for GInitiallyUnowned objects
28672 References were leaked for GInitiallyUnowned objects which got their
28673 wrappers created several times, because someone else holds reference
28674 on it and it got out of python scope at some point.
28676 https://bugzilla.gnome.org/show_bug.cgi?id=639949
28678 gobject/gobjectmodule.c | 2 ++
28679 gobject/pygobject.c | 14 +++++------
28680 tests/test-floating.c | 36 +++++++++++++++++++++++++++
28681 tests/test-floating.h | 21 ++++++++++++++++
28682 tests/test_gobject.py | 63
28683 ++++++++++++++++++++++++++++++++++++++++++++++++
28684 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++++
28685 6 files changed, 179 insertions(+), 7 deletions(-)
28687 commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f
28688 Author: Steve Frécinaux <code@istique.net>
28689 Date: Wed Jan 19 16:57:57 2011 +0100
28691 Add tests for refcount of a GObject owned by a library
28693 When the object is constructed, its refcount is 2 because the library
28694 refs it once. It should remain around until we ask the library to
28695 release its reference.
28697 https://bugzilla.gnome.org/show_bug.cgi?id=639949
28699 tests/test-floating.c | 30 +++++++++++++++++++++++
28700 tests/test-floating.h | 20 ++++++++++++++++
28701 tests/test_gobject.py | 62
28702 ++++++++++++++++++++++++++++++++++++++++++++++++
28703 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++++
28704 4 files changed, 163 insertions(+)
28706 commit b6737b91938d527872eff1d645a205cacf94e15d
28707 Author: Steve Frécinaux <code@istique.net>
28708 Date: Wed Jan 19 14:52:41 2011 +0100
28710 Add a test to check for regular object reference count
28712 https://bugzilla.gnome.org/show_bug.cgi?id=639949
28714 tests/test_gobject.py | 8 +++++++-
28715 1 file changed, 7 insertions(+), 1 deletion(-)
28717 commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc
28718 Author: Martin Pitt <martin.pitt@ubuntu.com>
28719 Date: Thu Jan 20 14:15:52 2011 +0100
28721 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK
28723 GTK master now landed a lot of annotation fixes which also correctly
28725 array length argument of
28726 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus
28727 drop the explicit array length argument from the call in the override.
28729 gi/overrides/Gtk.py | 2 --
28730 1 file changed, 2 deletions(-)
28732 commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a
28733 Author: Steve Frécinaux <code@istique.net>
28734 Date: Wed Jan 19 18:04:10 2011 +0100
28736 Fix a typo in a private symbol name.
28738 gobject/gobjectmodule.c | 6 +++---
28739 1 file changed, 3 insertions(+), 3 deletions(-)
28741 commit 6447688e283a8fb22de3ab68cbc06e34ad23d198
28742 Author: Martin Pitt <martin.pitt@ubuntu.com>
28743 Date: Thu Jan 20 11:49:08 2011 +0100
28745 pygi-convert.sh: Convert glib.source_remove()
28747 pygi-convert.sh | 1 +
28748 1 file changed, 1 insertion(+)
28750 commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b
28751 Author: Martin Pitt <martin.pitt@ubuntu.com>
28752 Date: Thu Jan 20 11:42:34 2011 +0100
28754 Fix typo in previous commit to actually convert glib.GError
28756 pygi-convert.sh | 2 +-
28757 1 file changed, 1 insertion(+), 1 deletion(-)
28759 commit b238cb614338f46e6feb7935cca0a55c7a929418
28760 Author: Martin Pitt <martin.pitt@ubuntu.com>
28761 Date: Thu Jan 20 11:40:14 2011 +0100
28763 pygi-convert.sh: Move some glib bits which are better handled
28766 pygi-convert.sh | 3 +++
28767 1 file changed, 3 insertions(+)
28769 commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e
28770 Author: Laszlo Pandy <lpandy@src.gnome.org>
28771 Date: Wed Jan 19 12:00:02 2011 +0100
28773 Modify override for Gtk.Adjustment to allow position or keyword
28774 arguments in __init__().
28776 Previously passing no arguments was not working, because the default
28777 value for each parameter was None, and GObject.__init__() refuses to
28778 allow None for integer properties. This patch does not pass None up
28779 to GObject.__init__. Instead it does not pass the parameter at all,
28780 and uses the class's default values.
28782 https://bugzilla.gnome.org/show_bug.cgi?id=639934
28784 gi/overrides/Gtk.py | 14 ++++++++++++--
28785 tests/test_overrides.py | 34 +++++++++++++++++++++++++++-------
28786 2 files changed, 39 insertions(+), 9 deletions(-)
28788 commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78
28789 Author: Martin Pitt <martin.pitt@ubuntu.com>
28790 Date: Wed Jan 19 22:52:51 2011 +0100
28792 [gi] Fix small typo in previous commit
28794 The GVariant signature of the self test had a trailing 'i'. The
28796 GVariant builder doesn't mind, but the new implementation proposed
28800 tests/test_overrides.py | 2 +-
28801 1 file changed, 1 insertion(+), 1 deletion(-)
28803 commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90
28804 Author: Martin Pitt <martin.pitt@ubuntu.com>
28805 Date: Wed Jan 19 20:18:19 2011 +0100
28807 [gi] Add pythonic iterator and indexing for string GVariants
28809 This extends commit b1a98083c to also work for strings.
28811 gi/overrides/GLib.py | 8 +++++++-
28812 tests/test_overrides.py | 13 +++++++++++++
28813 2 files changed, 20 insertions(+), 1 deletion(-)
28815 commit 8efd14c87b35072cdd039bf223f8ced8f51be9bb
28816 Author: John (J5) Palmieri <johnp@redhat.com>
28817 Date: Wed Jan 19 14:08:03 2011 -0500
28819 [gi] return NULL if out_marshaller fails
28821 gi/pygi-invoke.c | 5 +++++
28822 1 file changed, 5 insertions(+)
28824 commit 5b1db41d60204c8021f47f43b85dac126c389c8d
28825 Author: John (J5) Palmieri <johnp@redhat.com>
28826 Date: Wed Jan 19 13:57:54 2011 -0500
28828 [gi] fix some transfer issues and test case failures
28830 gi/pygi-argument.c | 4 ++++
28831 gi/pygi-cache.c | 11 ++++++++---
28832 gi/pygi-invoke.c | 17 +++++++++--------
28833 3 files changed, 21 insertions(+), 11 deletions(-)
28835 commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd
28836 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28837 Date: Wed Jan 19 18:09:23 2011 +0100
28839 Construct structs using default API constructor
28841 If the struct has something that looks like a default constructor,
28842 use it instead of trying to directly allocate it, as it will fail
28843 if the struct fields are not exposed.
28845 https://bugzilla.gnome.org/show_bug.cgi?id=627444
28847 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++
28848 gi/types.py | 7 +++++++
28849 2 files changed, 44 insertions(+)
28851 commit db7300e173388d9557dcd2333781bfaa6b021605
28852 Author: Martin Pitt <martin.pitt@ubuntu.com>
28853 Date: Wed Jan 19 18:54:39 2011 +0100
28855 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names
28857 pygi-convert.sh | 2 ++
28858 1 file changed, 2 insertions(+)
28860 commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70
28861 Author: Martin Pitt <martin.pitt@ubuntu.com>
28862 Date: Wed Jan 19 18:43:29 2011 +0100
28864 pygi-convert.sh: Handle .window attributes
28866 In general, convert them to .get_window(). For some of them, prefer
28868 GtkWidget methods instead.
28870 pygi-convert.sh | 5 ++++-
28871 1 file changed, 4 insertions(+), 1 deletion(-)
28873 commit b1049b947d073fb569ba900a4d5c8519482d831e
28874 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28875 Date: Wed Jan 19 17:35:09 2011 +0100
28877 Also deal with foreign boxed structs
28879 cairo.Context has been boxed and our tests started failing
28881 https://bugzilla.gnome.org/show_bug.cgi?id=639967
28883 gi/pygi-argument.c | 4 ++--
28884 1 file changed, 2 insertions(+), 2 deletions(-)
28886 commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1
28887 Author: Laszlo Pandy <lpandy@src.gnome.org>
28888 Date: Wed Jan 19 17:45:11 2011 +0100
28890 [gi] Convert GErrors to GObject.GError exceptions, and throw them
28891 upon returning from calling the C function.
28893 This changes gi to make use of pyglib_error_check() which already
28896 The included tests make use of the other patch attached to this bug,
28897 to check that the right exception is thrown from the new function
28898 in GIMarshallingTests.
28899 two Gtk C functions.
28901 https://bugzilla.gnome.org/show_bug.cgi?id=639834
28903 gi/Makefile.am | 3 ++-
28904 gi/pygi-invoke.c | 12 +++---------
28905 tests/test_gi.py | 10 ++++++++++
28906 3 files changed, 15 insertions(+), 10 deletions(-)
28908 commit 18b84767db1d66e3d6f09067ab19ffd4b82539ca
28909 Author: John (J5) Palmieri <johnp@redhat.com>
28910 Date: Wed Jan 19 12:05:45 2011 -0500
28912 [gi] fix out marshalling for a couple of int types
28914 gi/pygi-argument.c | 2 +-
28915 gi/pygi-cache.c | 2 +-
28916 2 files changed, 2 insertions(+), 2 deletions(-)
28918 commit c5d7c730008275b2c585b2609fc2ff5e051cce47
28919 Author: John (J5) Palmieri <johnp@redhat.com>
28920 Date: Wed Jan 19 11:59:09 2011 -0500
28922 [gi] fixed range checking and type conversion with unsigned and
28925 gi/pygi-argument.c | 90
28926 +++++++++++++++++++++++++++++++++++++++++++++---------
28927 gi/pygi-cache.c | 2 +-
28928 2 files changed, 76 insertions(+), 16 deletions(-)
28930 commit e6fcafc6179e963cbae7774e7ee50415bde2c523
28931 Author: Martin Pitt <martin.pitt@ubuntu.com>
28932 Date: Wed Jan 19 17:03:06 2011 +0100
28934 pygi-convert.sh: Don't convert glib -> GLib for now
28936 This currently leads to a load of crashes, MemoryErrors, etc, as
28938 very well introspectable, due to the low-level operations that
28941 John Palmieri confirms that using the static "glib" binding is
28943 now, so disable the replacement rules.
28945 pygi-convert.sh | 19 ++++++++++---------
28946 1 file changed, 10 insertions(+), 9 deletions(-)
28948 commit 167261d556eab0d2e448c7ed28eef540a024ba1d
28949 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
28950 Date: Wed Jan 19 16:47:08 2011 +0100
28952 Link libregress.so to GIO_LIBS again
28954 configure.ac | 5 +++++
28955 1 file changed, 5 insertions(+)
28957 commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794
28958 Author: Laszlo Pandy <lpandy@src.gnome.org>
28959 Date: Wed Jan 19 16:14:42 2011 +0100
28961 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType.
28963 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS
28964 because in Python attributes starting with a numeral causes a
28967 gi/overrides/Gdk.py | 7 +++++--
28968 1 file changed, 5 insertions(+), 2 deletions(-)
28970 commit 4f5d20966d4a8c649e5fae584039621edab178f3
28971 Author: John (J5) Palmieri <johnp@redhat.com>
28972 Date: Wed Jan 19 10:02:40 2011 -0500
28974 [gi] use correct format stings when setting errors
28976 gi/pygi-argument.c | 12 ++++++------
28977 1 file changed, 6 insertions(+), 6 deletions(-)
28979 commit 7f08fd5c33ee5c9907f5becbe2f21fb7122d6e19
28980 Author: John (J5) Palmieri <johnp@redhat.com>
28981 Date: Wed Jan 19 09:45:09 2011 -0500
28983 [gi] allow marshalling strings as None
28985 gi/pygi-argument.c | 5 +++++
28986 1 file changed, 5 insertions(+)
28988 commit 093242a9e125998cd07bf66fc4b2880f532a2e4d
28989 Author: John (J5) Palmieri <johnp@redhat.com>
28990 Date: Wed Jan 19 09:41:56 2011 -0500
28992 [gi] make error messages more detailed
28994 gi/pygi-argument.c | 2 +-
28995 gi/pygi-cache.c | 18 +++++++++---------
28996 2 files changed, 10 insertions(+), 10 deletions(-)
28998 commit f0b17605ed2eb917b350654b070984beb553eae3
28999 Author: John (J5) Palmieri <johnp@redhat.com>
29000 Date: Wed Jan 19 09:41:13 2011 -0500
29002 [gi] allow marshalling None for hashes
29004 gi/pygi-argument.c | 5 +++++
29005 1 file changed, 5 insertions(+)
29007 commit 93f1b787ab8420300d1064c0237a0c2d8a2ac98f
29008 Author: John (J5) Palmieri <johnp@redhat.com>
29009 Date: Wed Jan 19 09:40:37 2011 -0500
29011 [gi] add marshalling to some out values
29013 gi/pygi-argument.c | 50
29014 +++++++++++++++++++++++++++++++++++++++++---------
29015 1 file changed, 41 insertions(+), 9 deletions(-)
29017 commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c
29018 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29019 Date: Wed Jan 19 15:27:33 2011 +0100
29021 [gi] Fixed typo in exception
29023 gi/overrides/Gtk.py | 2 +-
29024 1 file changed, 1 insertion(+), 1 deletion(-)
29026 commit 5f16df31b5a5a9f45f702eee48c3a18899ea3f71
29027 Author: John (J5) Palmieri <johnp@redhat.com>
29028 Date: Wed Jan 19 09:13:44 2011 -0500
29030 [gi] fix marshalling structs
29032 gi/pygi-argument.c | 47 +++++++++++++++++++++++++++++++++++------------
29033 gi/pygi-foreign.c | 18 ++++++++++++------
29034 gi/pygi-foreign.h | 8 ++++----
29035 3 files changed, 51 insertions(+), 22 deletions(-)
29037 commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1
29038 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29039 Date: Wed Jan 19 15:12:25 2011 +0100
29041 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS
29043 gi/overrides/Gdk.py | 4 ++--
29044 1 file changed, 2 insertions(+), 2 deletions(-)
29046 commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe
29047 Author: Martin Pitt <martin.pitt@ubuntu.com>
29048 Date: Wed Jan 19 14:54:57 2011 +0100
29050 Revert "Fix Pango FontDescription override"
29053 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new
29054 the default constructor actually does take no arguments; we should
29056 the MemoryError. Add a test case for this.
29058 Remove the FIXME though, as pango_font_description_from_string()
29060 FontDescription constructor, but a static factory method.
29062 Thanks to Paolo Borelli for pointing this out!
29064 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582.
29066 gi/overrides/Pango.py | 5 ++++-
29067 tests/test_overrides.py | 5 +++++
29068 2 files changed, 9 insertions(+), 1 deletion(-)
29070 commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845
29071 Author: Tony Young <rofflwaffls@gmail.com>
29072 Date: Thu Dec 16 23:39:33 2010 +0000
29074 Python iterator interface support for GFileEnumerator.
29076 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++
29077 gi/overrides/Makefile.am | 1 +
29078 tests/test_overrides.py | 20 ++++++++++++++++++++
29079 3 files changed, 62 insertions(+)
29081 commit bca5834fc8fa342149e0eec7b396877a2abe6d33
29082 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29083 Date: Fri Jan 7 12:10:37 2011 +0100
29085 Remove gio static bindings
29087 https://bugzilla.gnome.org/show_bug.cgi?id=638899
29090 configure.ac | 25 -
29091 gio/.gitignore | 3 -
29092 gio/Makefile.am | 117 -
29093 gio/__init__.py | 40 -
29094 gio/gappinfo.override | 213 --
29095 gio/gapplaunchcontext.override | 99 -
29096 gio/gbufferedinputstream.override | 70 -
29097 gio/gcancellable.override | 38 -
29098 gio/gdatainputstream.override | 250 --
29099 gio/gdrive.override | 347 --
29100 gio/gfile.override | 2215 -----------
29101 gio/gfileattribute.override | 153 -
29102 gio/gfileenumerator.override | 184 -
29103 gio/gfileinfo.override | 121 -
29104 gio/gfileinputstream.override | 68 -
29105 gio/gfileiostream.override | 68 -
29106 gio/gfileoutputstream.override | 68 -
29107 gio/gicon.override | 310 --
29108 gio/ginputstream.override | 344 --
29109 gio/gio-types.defs | 807 ----
29110 gio/gio.defs | 7465
29111 -------------------------------------
29112 gio/gio.override | 409 --
29113 gio/giomodule.c | 208 --
29114 gio/giostream.override | 68 -
29115 gio/gmemoryinputstream.override | 91 -
29116 gio/gmemoryoutputstream.override | 45 -
29117 gio/gmount.override | 454 ---
29118 gio/goutputstream.override | 292 --
29119 gio/gresolver.override | 312 --
29120 gio/gsocket.override | 575 ---
29121 gio/gvolume.override | 237 --
29122 gio/gvolumemonitor.override | 94 -
29123 gio/pygio-utils.c | 236 --
29124 gio/pygio-utils.h | 49 -
29125 gio/unix-types.defs | 55 -
29126 gio/unix.defs | 475 ---
29127 gio/unix.override | 62 -
29128 gio/unixmodule.c | 52 -
29129 tests/Makefile.am | 9 -
29130 tests/runtests-windows.py | 3 -
29131 tests/test_gcancellable.py | 15 -
29132 tests/test_gicon.py | 112 -
29133 tests/test_gio.py | 1138 ------
29134 tests/test_gresolver.py | 68 -
29135 tests/test_gsocket.py | 126 -
29136 46 files changed, 1 insertion(+), 18191 deletions(-)
29138 commit 6ab3d8d286573289cf8e41eee31eb806621f6f43
29139 Author: John (J5) Palmieri <johnp@redhat.com>
29140 Date: Wed Jan 19 07:56:16 2011 -0500
29142 [gi] switch from using (*arg). to arg-> when referencing union
29145 gi/pygi-argument.c | 54
29146 +++++++++++++++++++++++++++---------------------------
29147 1 file changed, 27 insertions(+), 27 deletions(-)
29149 commit 762ccb3d2620ea22023446b6ae79f3a111d8b56a
29150 Author: John (J5) Palmieri <johnp@redhat.com>
29151 Date: Wed Jan 19 07:49:52 2011 -0500
29153 [gi] return FALSE when setting errors in the marshaller
29155 gi/pygi-argument.c | 3 ++-
29156 1 file changed, 2 insertions(+), 1 deletion(-)
29158 commit cbaba6357937cbed3ebd34d2db1cdd59d37df118
29159 Author: John (J5) Palmieri <johnp@redhat.com>
29160 Date: Wed Jan 19 07:14:18 2011 -0500
29162 [gi] do arg counting in new invoke
29164 gi/pygi-cache.c | 2 ++
29165 gi/pygi-cache.h | 14 ++++++++------
29166 gi/pygi-invoke-state-struct.h | 2 +-
29167 gi/pygi-invoke.c | 20 +++++++++++++++++++-
29168 4 files changed, 30 insertions(+), 8 deletions(-)
29170 commit f45033858bed70d7defec3f71f26aa5b3999d680
29171 Author: John (J5) Palmieri <johnp@redhat.com>
29172 Date: Wed Jan 19 06:35:45 2011 -0500
29174 [gi] set length for uint8 in arrays in new invoke marshaller
29176 gi/pygi-argument.c | 1 +
29177 1 file changed, 1 insertion(+)
29179 commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5
29180 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29181 Date: Wed Jan 19 12:04:15 2011 +0100
29183 [gi] set length when marshalling guint8 erases
29185 gi/pygi-argument.c | 1 +
29186 tests/test_gi.py | 4 ++++
29187 2 files changed, 5 insertions(+)
29189 commit 22eee43e50a150ace80694213fb87be9f0c72f51
29190 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29191 Date: Wed Jan 19 10:27:47 2011 +0100
29193 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf
29195 pygi-convert.sh | 1 +
29196 1 file changed, 1 insertion(+)
29198 commit a4b210d69c832629894090b7154ae194209b0c60
29199 Author: Arnaud Charlet <charlet@adacore.com>
29200 Date: Tue Jan 18 18:31:29 2011 +0100
29202 Disable calls to PyGILState_* when threads are disabled
29204 Since threads may also be disabled in Python too, those symbols
29208 https://bugzilla.gnome.org/show_bug.cgi?id=374603
29210 glib/pyglib.c | 12 ++++++++++++
29211 gobject/pygobject-private.h | 6 ++++++
29212 2 files changed, 18 insertions(+)
29214 commit 329afb6fb1b3c325a6a9de2b6aca91c64d51dd9f
29215 Author: John (J5) Palmieri <johnp@redhat.com>
29216 Date: Tue Jan 18 12:31:57 2011 -0500
29218 [gi] fix handling of garrays vs c arrays
29220 gi/pygi-argument.c | 9 +++++++--
29221 gi/pygi-cache.c | 2 ++
29222 gi/pygi-cache.h | 1 +
29223 3 files changed, 10 insertions(+), 2 deletions(-)
29225 commit a000627ec3904b9414ce375aec8d144fc0c26248
29226 Author: Martin Pitt <martin.pitt@ubuntu.com>
29227 Date: Tue Jan 18 18:29:50 2011 +0100
29229 pygi-convert.sh: Do not comment out set_cell_data_func() calls;
29230 these should be ported properly
29232 pygi-convert.sh | 1 -
29233 1 file changed, 1 deletion(-)
29235 commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0
29236 Author: Martin Pitt <martin.pitt@ubuntu.com>
29237 Date: Tue Jan 18 18:26:01 2011 +0100
29239 pygi-convert.sh: Fix match for adding missing imports
29241 pygi-convert.sh | 8 ++++----
29242 1 file changed, 4 insertions(+), 4 deletions(-)
29244 commit 3aa95011fad67df20370e92bf25236a34d7d08d3
29245 Author: Martin Pitt <martin.pitt@ubuntu.com>
29246 Date: Tue Jan 18 18:09:30 2011 +0100
29248 pygi-convert.sh: Fix Gtk.Label handling to be idempotent
29250 As we are not replacing line by line, but the whole file at once,
29252 hackish unfortunately. We can't use a match test or a lookahead/behind
29255 pygi-convert.sh | 5 +++--
29256 1 file changed, 3 insertions(+), 2 deletions(-)
29258 commit f66051380c0432bf142774542ade2144adcd455e
29259 Author: John (J5) Palmieri <johnp@redhat.com>
29260 Date: Tue Jan 18 11:44:27 2011 -0500
29262 [gi] use correct union memeber when marshalling floats
29264 gi/pygi-argument.c | 2 +-
29265 1 file changed, 1 insertion(+), 1 deletion(-)
29267 commit 36bc1c17e7d4189059337cc6a73c64edd819ec12
29268 Author: Laszlo Pandy <lpandy@src.gnome.org>
29269 Date: Tue Jan 18 17:29:52 2011 +0100
29271 Remove trailing whitespace from gi/overrides/Gtk.py
29273 gi/overrides/Gtk.py | 10 +++++-----
29274 1 file changed, 5 insertions(+), 5 deletions(-)
29276 commit 1006df1929a667716c25e74b35b8f14643358732
29277 Author: John (J5) Palmieri <johnp@redhat.com>
29278 Date: Tue Jan 18 11:24:06 2011 -0500
29280 [gi] fix constructor invoking and add some support for interface
29283 * constructors are now simplified and are treated like normal
29285 which happen to return an instance
29287 gi/pygi-argument.c | 8 ++--
29288 gi/pygi-cache.c | 132
29289 +++++++++++++++++++++++++++++++++++++++++++++++++++--
29290 gi/pygi-invoke.c | 9 ++--
29291 gi/types.py | 21 +++------
29292 4 files changed, 142 insertions(+), 28 deletions(-)
29294 commit 8878c57676091c08e66bc6cbe735d898cb420582
29295 Author: Martin Pitt <martin.pitt@ubuntu.com>
29296 Date: Tue Jan 18 16:47:10 2011 +0100
29298 Fix Pango FontDescription override
29300 Trying to call __new__() on a record crashes with a MemoryError,
29302 the intended static factory method for a None argument as well
29306 gi/overrides/Pango.py | 7 +------
29307 1 file changed, 1 insertion(+), 6 deletions(-)
29309 commit efbbe71634037fa100b17327389b883b259cca54
29310 Author: Martin Pitt <martin.pitt@ubuntu.com>
29311 Date: Tue Jan 18 16:23:39 2011 +0100
29313 tests: Respect existing $GI_TYPELIB_PATH
29315 This allows us to run the test suite against local typelibs.
29317 tests/Makefile.am | 2 +-
29318 1 file changed, 1 insertion(+), 1 deletion(-)
29320 commit c96ca383350e5b9b079d9a86464922314939c006
29321 Author: John (J5) Palmieri <johnp@redhat.com>
29322 Date: Tue Jan 18 07:16:40 2011 -0500
29324 [gi] fix aux value offsets for methods and element size crashers
29326 * if the callable is a method we need to add 1 to the aux index
29327 for in values so we grab the right argument cache
29328 * use _pygi_g_type_info_size instead of _pygi_g_type_tag_size to
29331 gi/pygi-cache.c | 42 ++++++++++++++++++++++++------------------
29332 1 file changed, 24 insertions(+), 18 deletions(-)
29334 commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3
29335 Merge: 84d6142c 7d997b6f
29336 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29337 Date: Tue Jan 18 13:14:45 2011 +0100
29339 Merge branch 'value'
29341 commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0
29342 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29343 Date: Tue Jan 18 13:12:36 2011 +0100
29345 GTK overrides: Do type conversion to column types of ListStore and
29346 TreeStore in set_value
29348 gi/overrides/Gtk.py | 28 ++++++++++++++++++----------
29349 tests/test_overrides.py | 12 +++++++++++-
29350 2 files changed, 29 insertions(+), 11 deletions(-)
29352 commit 84d6142c14a7ebfb7284d3db52e14d3393f93905
29353 Author: Steve Frécinaux <code@istique.net>
29354 Date: Mon Jan 17 18:57:58 2011 +0100
29356 Always register a new GType when a GObject class is subclassed
29358 This patch makes the GType <-> python mapping much more predictible,
29359 and fixes the bug caused by overriding methods without specifying a
29360 __gtype_name__ member in the subclass, and makes type_register useless
29363 It is still possible to provide an explicit __gtype_name__ member
29365 subclass as it allows having a predictible GType name, which is handy
29366 for some of our tests. There is also an explicit special case for
29367 overrides because we obviously do not want to register new GTypes for
29368 those ones as it would clearly defeat the purpose of overrides.
29370 https://bugzilla.gnome.org/show_bug.cgi?id=543056
29372 gobject/__init__.py | 6 +++---
29373 tests/test_gi.py | 21 ++-------------------
29374 2 files changed, 5 insertions(+), 22 deletions(-)
29376 commit 30750ccef31e6c864628f418fc00e8c573d29a1b
29377 Author: Simon van der Linden <svdlinden@gnome.org>
29378 Date: Tue Jan 18 12:57:13 2011 +0100
29380 Raise required versions of GLib and GObject-Introspection
29382 https://bugzilla.gnome.org/show_bug.cgi?id=612126
29384 configure.ac | 6 +++---
29385 1 file changed, 3 insertions(+), 3 deletions(-)
29387 commit 761e98d32729f5894f4c75a54c65ed11329dc9d5
29388 Author: Martin Pitt <martin.pitt@ubuntu.com>
29389 Date: Tue Jan 18 12:52:32 2011 +0100
29391 pygi-convert.sh: Handle keysyms
29393 pygi-convert.sh | 1 +
29394 1 file changed, 1 insertion(+)
29396 commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8
29397 Author: Martin Pitt <martin.pitt@ubuntu.com>
29398 Date: Tue Jan 18 12:14:09 2011 +0100
29400 GLib overrides: Add test case for array variant building
29402 tests/test_overrides.py | 7 +++++++
29403 1 file changed, 7 insertions(+)
29405 commit 69a78307f3762e3f54d28d98514cec7d31ff20db
29406 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29407 Date: Tue Jan 18 10:21:03 2011 +0100
29409 Remove cairo.RectangleInt from the foreign module
29411 https://bugzilla.gnome.org/show_bug.cgi?id=639824
29413 gi/pygi-foreign-cairo.c | 96
29414 -------------------------------------------------
29415 1 file changed, 96 deletions(-)
29417 commit 017680c9a5e163021628bf29543598861a3b600a
29418 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29419 Date: Tue Jan 18 10:20:25 2011 +0100
29421 Dont try to guess the transfer if its a boxed
29423 https://bugzilla.gnome.org/show_bug.cgi?id=639823
29425 gi/pygi-invoke.c | 5 ++++-
29426 1 file changed, 4 insertions(+), 1 deletion(-)
29428 commit 771ef76574690eb98926249f38661d741d1ebbb0
29429 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29430 Date: Tue Jan 18 12:02:01 2011 +0100
29432 The tags can be Empty not None.
29434 gi/overrides/Gtk.py | 2 +-
29435 1 file changed, 1 insertion(+), 1 deletion(-)
29437 commit b1a98083cdc50653e1d7bfb809bdf089f833df3d
29438 Author: Martin Pitt <martin.pitt@ubuntu.com>
29439 Date: Tue Jan 18 12:01:28 2011 +0100
29441 Add Pythonic iterators and indexing to GVariant
29443 Add the usual set of iterators and index accessors to GLib.Variant
29445 which are containers.
29447 Add corresponding test cases.
29449 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++++
29450 tests/test_overrides.py | 55
29451 +++++++++++++++++++++++++++++++++++++++++++++++++
29452 2 files changed, 105 insertions(+)
29454 commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593
29455 Author: Martin Pitt <martin.pitt@ubuntu.com>
29456 Date: Tue Jan 18 10:48:03 2011 +0100
29458 Add GLib.Variant.unpack()
29460 This method decomposes a GLib.Variant into a native Python object,
29462 counterpart of _VariantCreator. This makes it a lot nicer for
29464 developers to use e. g. return values from gdbus calls.
29466 Add appropriate test case.
29468 gi/overrides/GLib.py | 45
29469 +++++++++++++++++++++++++++++++++++++++++++++
29470 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++-
29471 2 files changed, 77 insertions(+), 1 deletion(-)
29473 commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d
29474 Author: Ignacio Casal Quinteiro <icq@gnome.org>
29475 Date: Tue Jan 18 10:56:18 2011 +0100
29477 Add override for gtk_text_buffer_insert_with_tags
29479 gi/overrides/Gtk.py | 12 ++++++++++++
29480 tests/test_overrides.py | 6 ++++++
29481 2 files changed, 18 insertions(+)
29483 commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9
29484 Author: Simon van der Linden <svdlinden@gnome.org>
29485 Date: Mon Jan 17 14:35:14 2011 +0100
29487 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES
29489 https://bugzilla.gnome.org/show_bug.cgi?id=620215
29491 gi/Makefile.am | 6 ++++--
29492 gio/Makefile.am | 2 +-
29493 glib/Makefile.am | 2 +-
29494 m4/python.m4 | 7 +++++--
29495 tests/Makefile.am | 2 +-
29496 5 files changed, 12 insertions(+), 7 deletions(-)
29498 commit bceec758b27e6c396d17a79424633b5dc9116f54
29499 Author: Simon van der Linden <svdlinden@gnome.org>
29500 Date: Mon Jan 17 14:20:55 2011 +0100
29502 Kill JD_CHECK_PYTHON_HEADERS
29504 Use AM_CHECK_PYTHON_HEADERS instead, which is identical.
29506 https://bugzilla.gnome.org/show_bug.cgi?id=620215
29508 configure.ac | 2 +-
29509 m4/python.m4 | 31 +------------------------------
29510 2 files changed, 2 insertions(+), 31 deletions(-)
29512 commit e2dea065da94d17a915abe1ce4671b1dc48e02c0
29513 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29514 Date: Mon Jan 17 19:09:27 2011 +0100
29516 Revert "Override Gtk.Box.pack_start and pack_end to set default
29517 values to be compliant with pygtk"
29519 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485.
29523 gi/overrides/Gtk.py
29525 gi/overrides/Gtk.py | 10 ----------
29526 1 file changed, 10 deletions(-)
29528 commit 4fbae9629adc166627de05bb0946b71485343d69
29529 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29530 Date: Mon Jan 17 19:08:23 2011 +0100
29532 Revert "Override Gtk.CellLayout.pack_start and pack_end to add
29533 default values to be compliant with pygtk"
29535 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
29537 gi/overrides/Gtk.py | 13 ++-----------
29538 1 file changed, 2 insertions(+), 11 deletions(-)
29540 commit c054f0aca67952876b3519bb75ddc62c5517f7cb
29541 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29542 Date: Mon Jan 17 19:08:06 2011 +0100
29544 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and
29545 set_cell_data_func to add default values to be compliant with pygtk"
29547 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599.
29549 gi/overrides/Gtk.py | 9 ---------
29550 1 file changed, 9 deletions(-)
29552 commit 2d9534f347505573da46743b47318e08bf073aef
29553 Author: Martin Pitt <martin.pitt@ubuntu.com>
29554 Date: Mon Jan 17 18:54:10 2011 +0100
29556 pygi-convert.sh: Handle gtk.combo_box_new_text()
29558 pygi-convert.sh | 1 +
29559 1 file changed, 1 insertion(+)
29561 commit 0586a83212a9f9234fe00659ae744ab04e7ccc67
29562 Author: John (J5) Palmieri <johnp@redhat.com>
29563 Date: Mon Jan 17 12:31:03 2011 -0500
29567 gi/pygi-argument.c | 68 ++++++++++++++++++++++++++++++++++++++++++++--
29568 gi/pygi-cache.c | 80
29569 +++++++++++++++++++++++++++++++++++++++++-------------
29570 gi/pygi-cache.h | 13 +++++++--
29571 gi/pygi-invoke.c | 2 +-
29572 4 files changed, 138 insertions(+), 25 deletions(-)
29574 commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a
29575 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29576 Date: Mon Jan 17 16:57:53 2011 +0100
29578 Override TreeSortable.set_sort_func and set_default_sort_func to
29579 add default values to be pygtk compliant
29581 gi/overrides/Gtk.py | 6 ++++++
29582 1 file changed, 6 insertions(+)
29584 commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599
29585 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29586 Date: Mon Jan 17 16:29:28 2011 +0100
29588 Override Gtk.TreeViewColumn.pack_start, pack_end and
29589 set_cell_data_func to add default values to be compliant with pygtk
29591 gi/overrides/Gtk.py | 9 +++++++++
29592 1 file changed, 9 insertions(+)
29594 commit 232841148f35684be83a2f47b5b18da4fb74f63a
29595 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29596 Date: Mon Jan 17 16:28:51 2011 +0100
29598 Override Gtk.CellLayout.pack_start and pack_end to add default values
29599 to be compliant with pygtk
29601 gi/overrides/Gtk.py | 13 +++++++++++--
29602 1 file changed, 11 insertions(+), 2 deletions(-)
29604 commit 1dec12826753756fcadefc8ef8c756fc902c320b
29605 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29606 Date: Mon Jan 17 15:54:32 2011 +0100
29608 Override Gtk.Paned pack1 and pack2 to add default values to be
29609 compliant with pygtk
29611 gi/overrides/Gtk.py | 10 ++++++++++
29612 1 file changed, 10 insertions(+)
29614 commit a8c727b9c4195d8085a45661683a18614ae84485
29615 Author: Sebastian Pölsterl <sebp@k-d-w.org>
29616 Date: Mon Jan 17 15:46:25 2011 +0100
29618 Override Gtk.Box.pack_start and pack_end to set default values to
29619 be compliant with pygtk
29621 gi/overrides/Gtk.py | 10 ++++++++++
29622 1 file changed, 10 insertions(+)
29624 commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8
29625 Author: Steve Frécinaux <code@istique.net>
29626 Date: Wed Aug 4 00:30:05 2010 +0200
29628 Handle GObject subclasses in the property helper.
29630 https://bugzilla.gnome.org/show_bug.cgi?id=625982
29632 gobject/propertyhelper.py | 26 +++++++++++++-------------
29633 tests/test_properties.py | 9 +++++++++
29634 2 files changed, 22 insertions(+), 13 deletions(-)
29636 commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b
29637 Author: Martin Pitt <martin.pitt@ubuntu.com>
29638 Date: Mon Jan 17 17:52:15 2011 +0100
29640 Fix handling of unicode for GtkTreeModels
29642 The code previously converted an unicode object into unicode, but
29644 models actually have to specify 'str' (GTK expects a gchararray). So
29646 UTF-8 instead to get what GTK expects.
29648 Add corresponding test case.
29650 gi/overrides/Gtk.py | 2 +-
29651 tests/test_overrides.py | 12 +++++++++++-
29652 2 files changed, 12 insertions(+), 2 deletions(-)
29654 commit 09c21c79fb6063c8451f53d4588363d2be7239f4
29655 Author: Laszlo Pandy <lpandy@src.gnome.org>
29656 Date: Mon Jan 17 16:46:08 2011 +0100
29658 In IntrospectionModule and DynamicModule classes, make all instance
29659 attributes start with an underscore.
29661 This changes IntrospectionModule.version to _version and
29662 DynamicModule.introspection_module to _introspection_module.
29663 This is done to mark the attributes as private, and also avoid name
29664 collisions with attributes from the typelib.
29665 In Gstreamer, there is a function gst_version, which was previously
29666 inaccessible because of IntrospectionModule.version overriding it.
29668 gi/module.py | 26 +++++++++++++-------------
29669 gi/overrides/GIMarshallingTests.py | 2 +-
29670 gi/overrides/GLib.py | 2 +-
29671 gi/overrides/Gdk.py | 10 +++++-----
29672 gi/overrides/Gtk.py | 2 +-
29673 gi/overrides/Pango.py | 2 +-
29674 gi/overrides/__init__.py | 2 +-
29675 tests/test_everything.py | 2 +-
29676 8 files changed, 24 insertions(+), 24 deletions(-)
29678 commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9
29679 Author: Laszlo Pandy <lpandy@src.gnome.org>
29680 Date: Mon Jan 17 16:17:25 2011 +0100
29682 Amend previous enum wrapping commit to remove redundant setting of
29683 __info__ attribute.
29685 gi/module.py | 2 +-
29686 gi/types.py | 6 +++---
29687 2 files changed, 4 insertions(+), 4 deletions(-)
29689 commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca
29690 Author: Martin Pitt <martin.pitt@ubuntu.com>
29691 Date: Mon Jan 17 16:16:45 2011 +0100
29693 pygi-convert.sh: Handle GdkPixbuf.InterpType
29695 pygi-convert.sh | 2 ++
29696 1 file changed, 2 insertions(+)
29698 commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601
29699 Author: Laszlo Pandy <laszlok2@gmail.com>
29700 Date: Mon Jan 17 15:43:34 2011 +0100
29702 Fix wrapping of enums: Create new Python type for each non-gtype enum.
29704 Previously non-gtype enums used the same class, which meant they
29705 were all the same type.
29706 This caused another problem that since they were all the same class,
29707 attributes from different enums were available from each other.
29709 A new test case is created to check for this bug. It requires a new
29710 enum from the GIMarshallingTests (updating gobject-introspection
29713 gi/module.py | 2 +-
29715 tests/test_gi.py | 10 ++++++++++
29716 3 files changed, 13 insertions(+), 1 deletion(-)
29718 commit da50d5620a42046d4fc905bb28a0890d73533cb1
29719 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
29720 Date: Mon Dec 13 18:03:51 2010 +0100
29722 Use g_vfunc_info_invoke for chaining up in vfuncs
29724 https://bugzilla.gnome.org/show_bug.cgi?id=637165
29726 gi/pygi-info.c | 4 ++--
29727 gi/pygi-invoke.c | 72
29728 +++++++++++++++++++++++++++++++++++++++++++-------------
29729 gi/pygi-invoke.h | 3 ++-
29730 gi/types.py | 28 +++++++++++++++++++++-
29731 tests/test_gi.py | 5 ++--
29732 5 files changed, 89 insertions(+), 23 deletions(-)
29734 commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23
29735 Author: Simon van der Linden <svdlinden@gnome.org>
29736 Date: Fri Dec 31 18:38:04 2010 +0100
29738 Move pyglib_{main_context, option_context, option_group}_new into
29741 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not
29743 when used inside the glib module, since pyglib_init is not called.
29745 pyglib.c is compiled as a stand-alone library loaded by the _glib
29747 declares the above-mentioned types. Hence, they cannot be accessed
29749 former. This patch moves the functions that need those symbols
29751 glib._glib module and exports them to the pyglib library through
29754 https://bugzilla.gnome.org/show_bug.cgi?id=636656
29756 glib/glibmodule.c | 5 ++++-
29757 glib/pyglib-private.h | 3 +++
29759 +++---------------------------------------------
29760 glib/pygmaincontext.c | 22 ++++++++++++++++++++++
29761 glib/pygmaincontext.h | 2 +-
29762 glib/pygmainloop.c | 2 +-
29763 glib/pygoptioncontext.c | 21 +++++++++++++++++++++
29764 glib/pygoptioncontext.h | 2 ++
29765 glib/pygoptiongroup.c | 26 ++++++++++++++++++++++++++
29766 glib/pygoptiongroup.h | 2 ++
29767 glib/pygsource.c | 2 +-
29768 11 files changed, 86 insertions(+), 49 deletions(-)
29770 commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76
29771 Author: Martin Pitt <martin.pitt@ubuntu.com>
29772 Date: Mon Jan 17 14:51:26 2011 +0100
29774 pygi-convert.sh: Handle Gdk.DragAction
29776 pygi-convert.sh | 1 +
29777 1 file changed, 1 insertion(+)
29779 commit aa390aa80f06ac83ec89e5c5ee143d21ace97917
29780 Author: Martin Pitt <martin.pitt@ubuntu.com>
29781 Date: Mon Jan 17 14:46:58 2011 +0100
29783 pygi-convert.sh: Generalize Gtk.Settings migration
29785 There are other GSettings.get_* functions like get_for_screen().
29787 pygi-convert.sh | 2 +-
29788 1 file changed, 1 insertion(+), 1 deletion(-)
29790 commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2
29791 Author: Martin Pitt <martin.pitt@ubuntu.com>
29792 Date: Mon Jan 17 11:22:46 2011 +0100
29794 pygi-convert.sh: Don't change the name of "glib" submodules
29796 This particular affects dbus.mainloop.glib.*
29798 pygi-convert.sh | 2 +-
29799 1 file changed, 1 insertion(+), 1 deletion(-)
29801 commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6
29802 Author: Paolo Borelli <pborelli@gnome.org>
29803 Date: Sun Jan 16 22:09:56 2011 +0100
29805 Plug another memory leak
29807 Do not leak interface info in (g|s)_et_property.
29809 gi/pygi-property.c | 4 ++++
29810 1 file changed, 4 insertions(+)
29812 commit a4950b4cbb3c7567a8586061bb361adb7d9afb98
29813 Author: Paolo Borelli <pborelli@gnome.org>
29814 Date: Sun Jan 16 21:43:30 2011 +0100
29816 Plug a small memory leak.
29818 Do not leak type_info in find_vfunc_info
29820 gi/gimodule.c | 10 +++++-----
29821 1 file changed, 5 insertions(+), 5 deletions(-)
29823 commit d0cbcc45366d40702c69cef207d3c0f361260c02
29824 Author: Paolo Borelli <pborelli@gnome.org>
29825 Date: Sun Jan 16 12:16:31 2011 +0100
29827 Override Table.attach() to behave like pygtk
29829 It is fairly common and even gtk itself still has attach_defaults.
29831 gi/overrides/Gtk.py | 3 +++
29832 tests/test_overrides.py | 4 ++++
29833 2 files changed, 7 insertions(+)
29835 commit 6409d659326bf3cefdf6051379e8bc2031f16733
29836 Author: Martin Pitt <martin.pitt@ubuntu.com>
29837 Date: Sat Jan 15 11:20:23 2011 -0600
29839 pygi-convert.sh: Convert Pango.WrapMode
29841 pygi-convert.sh | 1 +
29842 1 file changed, 1 insertion(+)
29844 commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711
29845 Author: Martin Pitt <martin.pitt@ubuntu.com>
29846 Date: Sat Jan 15 11:17:09 2011 -0600
29848 pygi-convert.sh: Don't change the name of "gtk" submodules
29850 Some projects have local modules like "myproject.ui.gtk". Avoid
29852 just change module names which start with "gtk" or "gdk".
29854 pygi-convert.sh | 4 ++--
29855 1 file changed, 2 insertions(+), 2 deletions(-)
29857 commit 9be0f1f2dfb89150faf1827ef482feea03645149
29858 Author: John (J5) Palmieri <johnp@redhat.com>
29859 Date: Thu Jan 13 23:56:19 2011 -0500
29861 [gi] implement aux arg handling for array lengths
29863 gi/pygi-argument.c | 8 ++++++++
29864 gi/pygi-cache.c | 36 ++++++++++++++++++++++++++++--------
29865 gi/pygi-cache.h | 1 -
29866 gi/pygi-invoke.c | 8 ++++++--
29867 4 files changed, 42 insertions(+), 11 deletions(-)
29869 commit cfca2f0a53a5c29f543875ca4cb83a2e18d3bc72
29870 Author: John (J5) Palmieri <johnp@redhat.com>
29871 Date: Thu Jan 13 21:07:25 2011 -0500
29873 [gi] marshal in hashes
29875 gi/pygi-argument.c | 93 ++++++++++++++++++++++++++++++++++++++--
29876 gi/pygi-cache.c | 122
29877 +++++++++++++++++++++++++++++++++++++----------------
29878 2 files changed, 176 insertions(+), 39 deletions(-)
29880 commit c36fbf4918c8557a8e274a12004a412da3b22b2c
29881 Author: Laszlo Pandy <git@laszlopandy.com>
29882 Date: Tue Jan 11 21:41:47 2011 +0100
29884 Fix the __dir__() methods on DynamicModule and IntrospectionModule
29886 Previously the __dir__() methods did not list all attributes.
29887 A simple test case is included. It does not test to see if
29888 every attribute is listed, it just tests a few of each kind:
29889 - (wrapped) typelib attributes
29890 - class attributes and methods
29891 - instance attributes
29893 A set() is used to avoid returning duplicate attributes.
29894 The test case checks for this as well.
29896 https://bugzilla.gnome.org/show_bug.cgi?id=639229
29898 gi/module.py | 28 +++++++++++++++++++++-------
29899 tests/test_everything.py | 18 ++++++++++++++++++
29900 2 files changed, 39 insertions(+), 7 deletions(-)
29902 commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b
29903 Author: Paolo Borelli <pborelli@gnome.org>
29904 Date: Thu Jan 13 00:02:20 2011 +0100
29906 pygi-convert.sh: handle ReliefStyle
29908 pygi-convert.sh | 1 +
29909 1 file changed, 1 insertion(+)
29911 commit e9166ba5d19f2b586f65a3b83a671a5afd486d8f
29912 Author: John (J5) Palmieri <johnp@redhat.com>
29913 Date: Wed Jan 12 16:50:30 2011 -0500
29915 [gi] support for GList and GSList in
29917 gi/pygi-argument.c | 122
29918 ++++++++++++++++++++++++++++++++++++++++++++++++++---
29919 1 file changed, 116 insertions(+), 6 deletions(-)
29921 commit 9baf3240fbac103823ad0feaaf1c82e46d276722
29922 Author: John (J5) Palmieri <johnp@redhat.com>
29923 Date: Wed Jan 12 16:24:17 2011 -0500
29925 [gi] handle allow_none for all args
29927 gi/pygi-cache.c | 3 ++-
29928 gi/pygi-cache.h | 1 +
29929 gi/pygi-invoke.c | 7 +++++++
29930 3 files changed, 10 insertions(+), 1 deletion(-)
29932 commit d54d12c66226910952b0dc44c8d9514a7edaa6f2
29933 Author: John (J5) Palmieri <johnp@redhat.com>
29934 Date: Wed Jan 12 16:23:02 2011 -0500
29936 [gi] fix marshalling fixed arrays
29938 * get the correct item_size and pass the GArray data not the GArray
29940 gi/pygi-argument.c | 39 ++++++++++++++++++++++-----------------
29941 gi/pygi-cache.c | 3 ++-
29942 2 files changed, 24 insertions(+), 18 deletions(-)
29944 commit 3b0eff80d2ee35e0417476f0a170b9e178e3d1ee
29945 Author: John (J5) Palmieri <johnp@redhat.com>
29946 Date: Tue Jan 11 17:20:43 2011 -0500
29948 [gi] implement out arg handling
29950 gi/pygi-argument.c | 43 ++++++++++---------------------------
29951 gi/pygi-cache.c | 22 ++++++++++++++-----
29952 gi/pygi-invoke-state-struct.h | 13 +++++++++++
29953 gi/pygi-invoke.c | 50
29954 +++++++++++++++++++++++++++++++++++++++++--
29955 4 files changed, 89 insertions(+), 39 deletions(-)
29957 commit bd002c72675d35b5e60ab773181e7c36c30d2625
29958 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29959 Date: Tue Jan 11 22:21:18 2011 +0100
29961 setup.py: fix the provides keyword argument
29964 1 file changed, 1 insertion(+), 1 deletion(-)
29966 commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857
29967 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
29968 Date: Tue Jan 11 22:19:18 2011 +0100
29970 setup.py: use the same spaces-less format for all setup() parameters
29972 setup.py | 8 ++++----
29973 1 file changed, 4 insertions(+), 4 deletions(-)
29975 commit c5c149be171895d292852df364541f14f0ec423a
29976 Author: John (J5) Palmieri <johnp@redhat.com>
29977 Date: Tue Jan 11 15:39:09 2011 -0500
29979 [gi] implemented return marshalling and started on out marshalling
29981 gi/pygi-argument.c | 387
29982 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
29983 gi/pygi-argument.h | 117 ++++++++++++++++
29984 gi/pygi-cache.c | 316 ++++++++++++++++++++++++++++++++++++++++++-
29985 gi/pygi-cache.h | 8 +-
29986 gi/pygi-invoke.c | 12 +-
29987 5 files changed, 829 insertions(+), 11 deletions(-)
29989 commit 4fcca8518774ab89607196dfc52037e3da30ac8a
29990 Author: John (J5) Palmieri <johnp@redhat.com>
29991 Date: Tue Jan 11 13:49:58 2011 -0500
29993 [gi] flesh out interface in marshalling a bit more
29995 gi/pygi-argument.c | 74
29996 ++++++++++++++++++++++++++++++++++++++++----------
29997 gi/pygi-cache.c | 79
29998 ++++++++++++++++++++++++++++++++++++++++++------------
29999 gi/pygi-cache.h | 1 +
30000 3 files changed, 123 insertions(+), 31 deletions(-)
30002 commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79
30003 Author: Laszlo Pandy <laszlok2@gmail.com>
30004 Date: Tue Jan 11 19:30:38 2011 +0100
30006 Add a __repr__() method to DynamicModule.
30008 This patch adds a __repr__() method to DynamicModule so that modules
30010 meaningful string with the typelib path included:
30012 >>> from gi.repository import Gtk
30014 <gi.module.DynamicModule 'Gtk' from
30015 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'>
30017 https://bugzilla.gnome.org/show_bug.cgi?id=639232
30019 gi/module.py | 9 +++++++++
30020 1 file changed, 9 insertions(+)
30022 commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369
30023 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30024 Date: Tue Jan 11 19:40:19 2011 +0100
30026 Go back to using getattr() in DynamicModule.__getattr__
30028 Breaks marshalling of some types
30030 gi/module.py | 2 +-
30031 1 file changed, 1 insertion(+), 1 deletion(-)
30033 commit 52a298cc0f05ceec96457f17f9a801e9838fb757
30034 Author: Laszlo Pandy <laszlok2@gmail.com>
30035 Date: Tue Jan 11 19:26:50 2011 +0100
30037 Change __dir__() to report all the attributes that __getattr__
30040 Change DynamicModule.__dir__() to return the local class members as
30042 typelib attributes.
30044 Change DynamicModule.__getattr__() to call
30045 IntrospectionModule.__getattr__()
30046 directly, so that it won't inadvertently return class attributes from
30047 IntrospectionModule.
30049 https://bugzilla.gnome.org/show_bug.cgi?id=639229
30051 gi/module.py | 10 +++++++---
30052 1 file changed, 7 insertions(+), 3 deletions(-)
30054 commit 369a75ba5fb64ff7a7c95d21f8bfe359e639e9ff
30055 Author: John (J5) Palmieri <johnp@redhat.com>
30056 Date: Mon Jan 10 17:55:03 2011 -0500
30058 [gi] add object and interface in marshalling
30060 * also remove the PyGIArgCleanup sinature as GDestroyNotify works
30063 gi/pygi-argument.c | 15 +++--
30064 gi/pygi-cache.c | 182
30065 ++++++++++++++++++++++++++++++++++++++++++++++++-----
30066 gi/pygi-cache.h | 1 -
30067 gi/pygi-invoke.c | 1 +
30068 4 files changed, 178 insertions(+), 21 deletions(-)
30070 commit 88531c58d0491a31dd319387237a03df5c9edc07
30071 Author: John (J5) Palmieri <johnp@redhat.com>
30072 Date: Mon Jan 10 15:33:56 2011 -0500
30074 [gi] fix casting when marshaling a char to uint8
30076 gi/pygi-argument.c | 2 +-
30077 1 file changed, 1 insertion(+), 1 deletion(-)
30079 commit 441da4a7346ca059630dbc820c5b46e4d0222f4b
30080 Author: John (J5) Palmieri <johnp@redhat.com>
30081 Date: Mon Jan 10 15:07:16 2011 -0500
30083 [gi] hook up invoke to the cache
30085 * We now can invoke with in values
30086 * out, constructors and returns still don't work along with numerous
30090 gi/Makefile.am | 1 +
30091 gi/pygi-argument.c | 60 +++++++++--------
30092 gi/pygi-argument.h | 60 ++++++++---------
30093 gi/pygi-cache.h | 6 +-
30094 gi/pygi-invoke-state-struct.h | 26 ++++++++
30095 gi/pygi-invoke.c | 149
30096 ++++++++++++++++++++++++++++++++----------
30097 gi/pygi-invoke.h | 2 +-
30098 gi/pygi-private.h | 1 +
30099 8 files changed, 208 insertions(+), 97 deletions(-)
30101 commit f32b1f494aa5d09b9b198f607722c819c6bbd808
30102 Author: John (J5) Palmieri <johnp@redhat.com>
30103 Date: Sun Jan 9 19:37:55 2011 -0500
30105 hooked up caching stage and fixed segfaults
30107 * caching stage is hooked up but not used yet
30108 * throws exceptions for everything that can not be cached yet
30110 gi/pygi-cache.c | 59
30111 +++++++++++++++++++++++++++++++++++++++++++-------------
30112 gi/pygi-info.c | 3 +++
30113 gi/pygi-invoke.c | 5 +++++
30115 4 files changed, 56 insertions(+), 13 deletions(-)
30117 commit c2bf1d4d9cf2e9f8e313528fe717f6279dad5da1
30118 Author: John (J5) Palmieri <johnp@redhat.com>
30119 Date: Sun Jan 9 18:05:31 2011 -0500
30121 [gi] fix some function names
30123 gi/pygi-cache.c | 5 ++---
30124 1 file changed, 2 insertions(+), 3 deletions(-)
30126 commit 2ec4230a5180f048c26c2e4234b2a098d42f030b
30127 Author: John (J5) Palmieri <johnp@redhat.com>
30128 Date: Sun Jan 9 15:58:06 2011 -0500
30130 [gi] refactor cache structs so they inherit from ArgCache
30132 gi/pygi-argument.c | 122 +++++++++----------
30133 gi/pygi-cache.c | 344
30134 +++++++++++++++++++++++++++++------------------------
30135 gi/pygi-cache.h | 50 ++++----
30136 3 files changed, 273 insertions(+), 243 deletions(-)
30138 commit f4cdf0c0321285da015686fcb7115bd91bfd5c7c
30139 Author: John (J5) Palmieri <johnp@redhat.com>
30140 Date: Sat Jan 8 20:45:11 2011 -0500
30142 [gi]fix cache compile error - now compiles but cache still not
30145 gi/Makefile.am | 2 +
30146 gi/pygi-argument.c | 100 +++++++++++++++---------------
30147 gi/pygi-argument.h | 174
30148 ++++++++++++++++++++++++++++++++++++++++++++---------
30149 gi/pygi-cache.c | 169
30150 +++++++++++++++++++++++++--------------------------
30151 gi/pygi-cache.h | 25 ++++----
30152 5 files changed, 293 insertions(+), 177 deletions(-)
30154 commit 5f8f3044dd8085b2e8ce0bf70e9d52f05abf909d
30155 Author: John (J5) Palmieri <johnp@redhat.com>
30156 Date: Sat Jan 8 19:10:29 2011 -0500
30158 add sequence caching and array marshalling w/ item marshalling
30160 * simplify what we pass into the arg cache generators so we may
30162 for geneating marshalling caches for container items, not just
30165 gi/pygi-argument.c | 76 ++++++++++++++++-
30166 gi/pygi-cache.c | 242
30167 ++++++++++++++++++++++-------------------------------
30168 gi/pygi-cache.h | 4 +-
30169 3 files changed, 175 insertions(+), 147 deletions(-)
30171 commit 202a268db7f98f5a3c525c6e65ec4bff1917257e
30172 Author: Emilio Pozuelo Monfort <pochu27@gmail.com>
30173 Date: Sat Jan 8 02:19:52 2011 +0000
30175 Bump the minimum gio dependency
30177 Needed for G_TYPE_CONVERTER_FLAGS and others.
30179 configure.ac | 2 +-
30180 1 file changed, 1 insertion(+), 1 deletion(-)
30182 commit c3aa36151fdef9ed9884d93114786bbe86387983
30183 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30184 Date: Fri Jan 7 12:58:11 2011 +0100
30186 Add test for incorrect attributes in Gdk.Event
30188 tests/test_overrides.py | 4 ++++
30189 1 file changed, 4 insertions(+)
30191 commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee
30192 Author: Simon van der Linden <svdlinden@gnome.org>
30193 Date: Sun Jan 2 19:25:55 2011 +0100
30195 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__
30197 __getattr__ is only called when the attribute is not found through
30199 mechanism, so getattr must not be called again in __getattr__
30201 create an infinite loop).
30203 Another possibility would be to implement __getattribute__ instead,
30205 called in place of the normal mechanism. In that case, calling
30207 needed for normal attributes.
30209 https://bugzilla.gnome.org/show_bug.cgi?id=638523
30211 gi/overrides/Gdk.py | 2 +-
30212 1 file changed, 1 insertion(+), 1 deletion(-)
30214 commit 6cf298ca5565d0eb99824f050ff47407e50a5c01
30215 Author: Mike Gorse <mgorse@novell.com>
30216 Date: Fri Jan 7 09:08:31 2011 +0100
30218 Release allocated array of arguments when handling closures
30220 https://bugzilla.gnome.org/show_bug.cgi?id=638847
30222 gi/pygi-closure.c | 3 +++
30223 1 file changed, 3 insertions(+)
30225 commit 1be76d5e006efa24598ff7bf26153660dbe0a890
30226 Author: Mike Gorse <mgorse@novell.com>
30227 Date: Fri Jan 7 09:07:35 2011 +0100
30229 Release GIValueInfo when checking an enum argument
30231 https://bugzilla.gnome.org/show_bug.cgi?id=638847
30233 gi/pygi-argument.c | 1 +
30234 1 file changed, 1 insertion(+)
30236 commit 43849c51391fc9cd239697065c3d40fa02fb6783
30237 Author: John (J5) Palmieri <johnp@redhat.com>
30238 Date: Thu Jan 6 17:30:14 2011 -0500
30242 gi/pygi-cache.c | 24 ++++++++++++------------
30243 gi/pygi-cache.h | 42 +++++++++++++++++++++---------------------
30244 2 files changed, 33 insertions(+), 33 deletions(-)
30246 commit 8b5b3d2bbbbdf5d26c83e9a6fe67121cbd77ebe1
30247 Author: John (J5) Palmieri <johnp@redhat.com>
30248 Date: Thu Jan 6 17:29:00 2011 -0500
30250 add marshalling for basic types and add more skeleton code
30252 * still doesn't compile
30254 gi/pygi-argument.c | 708
30255 +++++++++++++++++++++++++++++++++++++++++++++++++++++
30256 gi/pygi-argument.h | 35 ++-
30257 gi/pygi-cache.c | 82 +++++--
30258 gi/pygi-cache.h | 41 +++-
30259 4 files changed, 832 insertions(+), 34 deletions(-)
30261 commit f554cf62848104d31518138ae85bc51acaafda67
30262 Author: John (J5) Palmieri <johnp@redhat.com>
30263 Date: Tue Jan 4 18:49:53 2011 -0500
30265 first checkin of the new caching branch
30267 * this does not compile and is not hooked up to the build system
30268 * lays out the caching data structures and some skeleton functions
30270 gi/pygi-cache.c | 480
30271 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
30272 gi/pygi-cache.h | 104 ++++++++++++
30273 2 files changed, 584 insertions(+)
30275 commit 8d5a7857876669f56bb03bf618bcfdcc290721c0
30276 Author: Eitan Isaacson <eitan@monotonous.org>
30277 Date: Wed Dec 22 12:34:10 2010 -0800
30279 Respect different type lengths when assigning out-argument pointers.
30281 https://bugzilla.gnome.org/show_bug.cgi?id=637832
30283 gi/pygi-closure.c | 66
30284 ++++++++++++++++++++++++++++++++++++++++++++++---------
30285 1 file changed, 56 insertions(+), 10 deletions(-)
30287 commit f14976ffabec28f6cafe1e37dc81d207a947d4ca
30288 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30289 Date: Tue Dec 28 18:34:25 2010 +0100
30291 Fix stupid name clash
30293 gi/module.py | 7 +++++--
30294 1 file changed, 5 insertions(+), 2 deletions(-)
30296 commit 01b2a193d403beb861eab524300b4f1af63157ce
30297 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30298 Date: Tue Dec 28 13:49:18 2010 +0100
30300 Add /usr/share to XDG_DATA_DIRS when running the tests
30302 tests/Makefile.am | 7 ++++++-
30303 1 file changed, 6 insertions(+), 1 deletion(-)
30305 commit efc186f692f9eac781cc47456be74a3da7f14dcd
30306 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30307 Date: Tue Dec 28 13:25:34 2010 +0100
30309 Comment out tests that require SRV lookups
30311 tests/test_gresolver.py | 5 ++++-
30312 1 file changed, 4 insertions(+), 1 deletion(-)
30314 commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8
30315 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30316 Date: Tue Dec 28 13:00:16 2010 +0100
30318 Use suppresion file when running valgrind
30320 tests/Makefile.am | 2 +-
30321 tests/python.supp | 387
30322 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
30323 2 files changed, 388 insertions(+), 1 deletion(-)
30325 commit 0ee58113ecbea72784c52de928c041fc8fc88984
30326 Author: Ignacio Casal Quinteiro <icq@gnome.org>
30327 Date: Thu Dec 23 00:10:41 2010 +0100
30331 gi/pygi-argument.c | 16 +++++++---------
30332 gi/pygi-foreign-cairo.c | 13 ++-----------
30333 gio/gfile.override | 5 ++---
30334 glib/pyglib-python-compat.h | 3 +++
30335 glib/pyglib.c | 2 +-
30336 glib/pygmainloop.c | 3 ++-
30337 6 files changed, 17 insertions(+), 25 deletions(-)
30339 commit 78ea84cd91392400ebac5a361ef8793bfe928fd0
30340 Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch>
30341 Date: Sun Dec 19 23:10:57 2010 +0100
30343 Allow comparing Gtk.TreePath to None
30345 https://bugzilla.gnome.org/show_bug.cgi?id=637615
30347 gi/overrides/Gtk.py | 12 ++++++------
30348 tests/test_overrides.py | 6 ++++++
30349 2 files changed, 12 insertions(+), 6 deletions(-)
30351 commit 046cc5915286e042d1040271a90676b77632409e
30352 Author: John (J5) Palmieri <johnp@redhat.com>
30353 Date: Thu Dec 16 15:41:10 2010 -0500
30355 handle unicode objects in properties
30357 * There are still some cavets in Python 2:
30358 - properties are returned as String objects with the unicode
30360 - you must add # coding=utf-8 to the top of your python file
30362 will error out if it sees embeded unicode charaters (such as when
30363 supporting python 3 and python 2 from the same source)
30365 https://bugzilla.gnome.org/show_bug.cgi?id=620579
30367 gobject/pygtype.c | 35 ++++++++++++++++++++++++++---------
30368 tests/test_properties.py | 16 ++++++++++++++++
30369 2 files changed, 42 insertions(+), 9 deletions(-)
30371 commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb
30372 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30373 Date: Tue Dec 14 12:29:54 2010 +0100
30375 dsextras.py: check if gcc is there when platform is win32 and compiler
30378 dsextras.py | 6 ++++++
30379 1 file changed, 6 insertions(+)
30381 commit cebf5f09a6c5018ced64f35e7747fc81b93b823e
30382 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30383 Date: Tue Dec 14 12:29:01 2010 +0100
30385 dsextras.py: be consistent in how distutils imports are done
30387 dsextras.py | 6 +++---
30388 1 file changed, 3 insertions(+), 3 deletions(-)
30390 commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93
30391 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30392 Date: Tue Dec 14 12:25:07 2010 +0100
30394 dsextras.py: add have_gcc() function
30396 dsextras.py | 5 +++++
30397 1 file changed, 5 insertions(+)
30399 commit 637c2c287cfb0e89365026531c651111f5593ac7
30400 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30401 Date: Tue Dec 14 12:24:41 2010 +0100
30403 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig()
30405 dsextras.py | 8 ++------
30406 1 file changed, 2 insertions(+), 6 deletions(-)
30408 commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89
30409 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
30410 Date: Tue Dec 14 12:22:54 2010 +0100
30412 setup.py: fix another case of use True/False instead of 1/0
30415 1 file changed, 1 insertion(+), 1 deletion(-)
30417 commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9
30418 Author: Paolo Borelli <pborelli@gnome.org>
30419 Date: Mon Dec 13 10:21:52 2010 +0100
30421 pygi-convert.sh: improve GtkSourceView conversion
30423 pygi-convert.sh | 7 +++++++
30424 1 file changed, 7 insertions(+)
30426 commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418
30427 Author: Paolo Borelli <pborelli@gnome.org>
30428 Date: Mon Dec 13 10:27:56 2010 +0100
30430 pygi-convert.sh: Gtk.DialogFlags conversion
30432 pygi-convert.sh | 1 +
30433 1 file changed, 1 insertion(+)
30435 commit 73e933d2429aea4d14e15350a538da1c5c3f71eb
30436 Author: José Alburquerque <jaalburqu@svn.gnome.org>
30437 Date: Sun Dec 12 20:38:46 2010 -0500
30439 Doc Extractor: Print the gtk-doc blocks sorted by function
30442 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc
30444 alphabetical order according to the identifier (function name)
30446 the generation of xml files in the C++ bindings is
30448 Thanks to Krzesimir Nowak for suggesting this in a
30452 codegen/docextract_to_xml.py | 2 +-
30453 1 file changed, 1 insertion(+), 1 deletion(-)
30455 commit db7ffa75b007074cb6b33b547c6d8140da300a3e
30456 Author: Paolo Borelli <pborelli@gnome.org>
30457 Date: Mon Dec 13 00:17:26 2010 +0100
30459 pygi-convert.sh: add more Gtk conversions and sort
30461 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------
30462 1 file changed, 26 insertions(+), 24 deletions(-)
30464 commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733
30465 Author: Paolo Borelli <pborelli@gnome.org>
30466 Date: Mon Dec 13 00:01:40 2010 +0100
30468 pygi-convert.sh: convert Atk
30470 pygi-convert.sh | 12 ++++++++++++
30471 1 file changed, 12 insertions(+)
30473 commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9
30474 Author: Paolo Borelli <pborelli@gnome.org>
30475 Date: Sun Dec 12 23:48:48 2010 +0100
30477 pygi-convert.sh: convert a few more Gio types
30479 pygi-convert.sh | 9 +++++++++
30480 1 file changed, 9 insertions(+)
30482 commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24
30483 Author: Paolo Borelli <pborelli@gnome.org>
30484 Date: Sun Dec 12 14:19:00 2010 +0100
30486 pygi-convert.sh: more GLib conversion
30488 pygi-convert.sh | 7 +++++++
30489 1 file changed, 7 insertions(+)
30491 commit c903390814bebdc62d530472f6f94feecc59b8b3
30492 Author: Paolo Borelli <pborelli@gnome.org>
30493 Date: Sun Dec 12 14:00:34 2010 +0100
30495 pygi-convert.sh: remove two cases handled by overrides
30497 pygi-convert.sh | 2 --
30498 1 file changed, 2 deletions(-)
30500 commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be
30501 Author: Paolo Borelli <pborelli@gnome.org>
30502 Date: Sun Dec 12 13:38:56 2010 +0100
30504 Override Gtk.ScrolledWindow constructor
30506 gi/overrides/Gtk.py | 7 +++++++
30507 tests/test_overrides.py | 7 +++++++
30508 2 files changed, 14 insertions(+)
30510 commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b
30511 Author: Paolo Borelli <pborelli@gnome.org>
30512 Date: Sun Dec 12 12:32:39 2010 +0100
30514 pygi-convert.sh: Fix 'find' syntax
30516 pygi-convert.sh | 2 +-
30517 1 file changed, 1 insertion(+), 1 deletion(-)
30519 commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc
30520 Author: Paolo Borelli <pborelli@gnome.org>
30521 Date: Sun Dec 12 12:29:38 2010 +0100
30523 pygi-convert.sh: start handling Gio and GLib
30525 pygi-convert.sh | 8 ++++++++
30526 1 file changed, 8 insertions(+)
30528 commit 365bf3251af3498dc797a58cce071805451b49b1
30529 Author: Paolo Borelli <pborelli@gnome.org>
30530 Date: Sat Dec 11 23:05:31 2010 +0100
30532 pygi-convert.sh: convert Gdk.ScrollDirection.
30534 pygi-convert.sh | 1 +
30535 1 file changed, 1 insertion(+)
30537 commit bca603de0f217fb290189a0ea330f82961c46d5d
30538 Author: Paolo Borelli <pborelli@gnome.org>
30539 Date: Sat Dec 11 15:03:21 2010 +0100
30541 Override Pango.Layout constructor.
30543 I must take a Pango.Context argument. Unfortumately the context is
30545 gobject property so we need to jump through some oops.
30547 gi/overrides/Pango.py | 13 +++++++++++++
30548 tests/test_overrides.py | 6 ++++++
30549 2 files changed, 19 insertions(+)
30551 commit df233301802e3f7f9ce338cde015ca2a2fc648ab
30552 Author: Paolo Borelli <pborelli@gnome.org>
30553 Date: Sat Dec 11 14:18:53 2010 +0100
30555 Remove Pango.FontDescription() conversion.
30557 It is now properly handled by an override.
30559 pygi-convert.sh | 1 -
30560 1 file changed, 1 deletion(-)
30562 commit d8abcc9463542af9cd43d71849d0ad4c183b570b
30563 Author: Paolo Borelli <pborelli@gnome.org>
30564 Date: Fri Dec 10 14:05:20 2010 +0100
30566 Override GtkAction and GtkRadioAction constructors.
30568 gi/overrides/Gtk.py | 20 +++++++++++++++++---
30569 tests/test_overrides.py | 18 ++++++++++++++++++
30570 2 files changed, 35 insertions(+), 3 deletions(-)
30572 commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5
30573 Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
30574 Date: Sat Dec 4 22:13:28 2010 +0000
30576 Override Adjustment constructor to behave like pygtk
30578 https://bugzilla.gnome.org/show_bug.cgi?id=636486
30580 gi/overrides/Gtk.py | 7 +++++++
30581 tests/test_overrides.py | 9 +++++++++
30582 2 files changed, 16 insertions(+)
30584 commit e76352dd83c8706e68ad57d00d185da9afea99c4
30585 Author: John (J5) Palmieri <johnp@redhat.com>
30586 Date: Thu Dec 9 13:23:10 2010 -0500
30588 add secondary_text apis to MessageDialog
30590 gi/overrides/Gtk.py | 8 ++++++++
30591 tests/test_overrides.py | 8 ++++++++
30592 2 files changed, 16 insertions(+)
30594 commit de682b2d36c362140ab7d43c0743b01ec0865a74
30595 Author: John (J5) Palmieri <johnp@redhat.com>
30596 Date: Wed Dec 8 16:39:27 2010 -0500
30598 [gi] get rid of some debug prints and fix error messages
30600 gi/overrides/Gtk.py | 7 +++----
30601 1 file changed, 3 insertions(+), 4 deletions(-)
30603 commit dbb16571803bf51f497768bf80944514f4290ee5
30604 Author: Paolo Borelli <pborelli@gnome.org>
30605 Date: Wed Dec 8 18:25:15 2010 +0100
30607 Fix demo for override changes.
30609 demos/gtk-demo/gtk-demo.py | 5 +++--
30610 1 file changed, 3 insertions(+), 2 deletions(-)
30612 commit 2adcd95762944a4e27123093d3c8d080e49be1ea
30613 Author: Paolo Borelli <pborelli@gnome.org>
30614 Date: Wed Dec 8 18:06:01 2010 +0100
30616 Override Pango.FontDescription.
30618 demos/gtk-demo/gtk-demo.py | 2 +-
30619 gi/overrides/Makefile.am | 1 +
30620 gi/overrides/Pango.py | 40 ++++++++++++++++++++++++++++++++++++++++
30621 tests/test_overrides.py | 7 +++++++
30622 4 files changed, 49 insertions(+), 1 deletion(-)
30624 commit 769da968c9187414d0420412d8fb8c833d12042a
30625 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
30626 Date: Wed Dec 8 17:38:11 2010 +0100
30628 Stop checking that all vfuncs are implemented
30630 Because some methods are optionally implementable but g-i won't
30633 https://bugzilla.gnome.org/show_bug.cgi?id=619606
30635 gi/gimodule.c | 4 +++-
30636 gi/types.py | 12 ++----------
30637 tests/test_gi.py | 10 ----------
30638 3 files changed, 5 insertions(+), 21 deletions(-)
30640 commit 167a01c46b3fa0b3c8339502c875d32bd2bca974
30641 Author: Paolo Borelli <pborelli@gnome.org>
30642 Date: Wed Dec 8 17:37:00 2010 +0100
30644 Fix usage of TreeIter api that is now an override.
30646 demos/gtk-demo/gtk-demo.py | 6 +++---
30647 1 file changed, 3 insertions(+), 3 deletions(-)
30649 commit d2cfd6e9250d40de7c715ac74e299deddf137683
30650 Author: Paolo Borelli <pborelli@gnome.org>
30651 Date: Wed Dec 8 17:34:54 2010 +0100
30653 Fix Gtk.Label(label="Foo")
30655 Use 'label' as an argument name instead of 'str', otherwise we may
30656 end up up with two 'label' in the kwds dict. Besides 'str' is a
30659 gi/overrides/Gtk.py | 4 ++--
30660 1 file changed, 2 insertions(+), 2 deletions(-)
30662 commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656
30663 Author: Paolo Borelli <pborelli@gnome.org>
30664 Date: Wed Dec 8 14:16:39 2010 +0100
30666 Fix typo when raising an exception
30669 1 file changed, 1 insertion(+), 1 deletion(-)
30671 commit 88c9a3ad49d9fcf779c3523672d8bf4767910301
30672 Author: Sebastian Pölsterl <sebp@k-d-w.org>
30673 Date: Wed Dec 8 10:46:27 2010 +0100
30675 pygi-convert.sh: Added more conversions
30677 pygi-convert.sh | 14 ++++++++++++++
30678 1 file changed, 14 insertions(+)
30680 commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff
30681 Author: Paolo Borelli <pborelli@gnome.org>
30682 Date: Tue Dec 7 20:39:15 2010 +0100
30684 Override LinkButton constructor to make 'uri' mandatory
30686 gi/overrides/Gtk.py | 7 +++++++
30687 tests/test_overrides.py | 6 ++++++
30688 2 files changed, 13 insertions(+)
30690 commit f4f7fb35af1b41598dc050f5df155a01c370a920
30691 Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru>
30692 Date: Sat Dec 4 19:19:19 2010 +0600
30694 Container should be iterable.
30696 gi/overrides/Gtk.py | 9 +++++++++
30697 tests/test_overrides.py | 6 +++++-
30698 2 files changed, 14 insertions(+), 1 deletion(-)
30700 commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308
30701 Author: Paolo Borelli <pborelli@gnome.org>
30702 Date: Tue Dec 7 14:13:00 2010 +0100
30704 No need to import Gdk
30706 gi/overrides/Gtk.py | 1 -
30707 1 file changed, 1 deletion(-)
30709 commit b6a40badf0b2b59e690ce818efb03c7c816b8a04
30710 Author: Paolo Borelli <pborelli@gnome.org>
30711 Date: Tue Dec 7 14:07:53 2010 +0100
30715 gi/overrides/Gtk.py | 7 +++----
30716 1 file changed, 3 insertions(+), 4 deletions(-)
30718 commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b
30719 Author: John (J5) Palmieri <johnp@redhat.com>
30720 Date: Mon Dec 6 16:05:30 2010 -0500
30722 [gi] make sure Gtk.Button override passes all keywords to parent
30725 gi/overrides/Gtk.py | 4 ++--
30726 1 file changed, 2 insertions(+), 2 deletions(-)
30728 commit cede81ad65db017e95543d8d35715751aa202fed
30729 Author: Paolo Borelli <pborelli@gnome.org>
30730 Date: Sun Dec 5 13:31:20 2010 +0100
30732 Fix cut&paste error in the Label override
30734 gi/overrides/Gtk.py | 2 +-
30735 1 file changed, 1 insertion(+), 1 deletion(-)
30737 commit 607c59b74ebbc1e39cb4121c870b689e1888c106
30738 Author: Paolo Borelli <pborelli@gnome.org>
30739 Date: Sat Dec 4 16:03:27 2010 +0100
30741 pygi-convert.sh: handle TextWindowType
30743 pygi-convert.sh | 1 +
30744 1 file changed, 1 insertion(+)
30746 commit dfeabe0b68938e27da2e65903983b5113dc422f1
30747 Author: Paolo Borelli <pborelli@gnome.org>
30748 Date: Sat Dec 4 15:49:15 2010 +0100
30750 Override Label constructor to behave like pygtk
30752 gi/overrides/Gtk.py | 7 +++++++
30753 tests/test_overrides.py | 4 ++++
30754 2 files changed, 11 insertions(+)
30756 commit da4e045e5abbed2796cc4ed39df35a0dde2de31b
30757 Author: Paolo Borelli <pborelli@gnome.org>
30758 Date: Sat Dec 4 15:40:35 2010 +0100
30760 Override GtkTable constructor to behave like pygtk
30762 gi/overrides/Gtk.py | 7 +++++++
30763 tests/test_overrides.py | 12 ++++++++++++
30764 2 files changed, 19 insertions(+)
30766 commit 81452c23ab1befa59ff375692e582791432796a5
30767 Author: Paolo Borelli <pborelli@gnome.org>
30768 Date: Sat Dec 4 12:59:43 2010 +0100
30770 pygi-convert.sh: convert MovementStep
30772 pygi-convert.sh | 1 +
30773 1 file changed, 1 insertion(+)
30775 commit 4d097eea94258eda0c328711491fd456cbd6741b
30776 Author: Paolo Borelli <pborelli@gnome.org>
30777 Date: Sat Dec 4 11:57:02 2010 +0100
30779 Update Gdk overrides to work with latest Gtk+ 3
30781 For now added consitionals on version == 2.0, but maybe at some
30783 shuld just clean up the old stuff.
30785 gi/overrides/Gdk.py | 22 ++++++++++++++++------
30786 1 file changed, 16 insertions(+), 6 deletions(-)
30788 commit cda317195566711d66190145b545e26ed7226172
30789 Author: Johan Dahlin <johan@gnome.org>
30790 Date: Thu Dec 2 23:47:40 2010 -0200
30792 Gtk: add an override for Gtk.main_quit
30794 Override gtk.main_quit so that it can be used as a callback
30795 to signals, most importantly to the destroy signal of a widget:
30797 widget.connect('destroy', gtk.main_quit)
30799 This is compatible with what PyGTK does.
30801 https://bugzilla.gnome.org/show_bug.cgi?id=636336
30803 gi/overrides/Gtk.py | 5 ++++-
30804 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++--
30805 2 files changed, 29 insertions(+), 3 deletions(-)
30807 commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a
30808 Author: John (J5) Palmieri <johnp@redhat.com>
30809 Date: Thu Dec 2 16:27:04 2010 -0500
30811 [gi] handle subtypes when inserting into tree models
30813 * Often modules will give back basic types wrapped in a subtype.
30814 This is the case with D-Bus where you may want to keep some of the
30815 metadata around. More often than not, the developer is just looking
30816 to use the basetype.
30818 * This override checks the column type and handles basic types such as
30819 gchararrays, ints, longs, floats and doubles, converting them
30821 base types before sending them to the generic GI type marshaller.
30823 * More types may need to be supported but these are the common
30827 https://bugzilla.gnome.org/show_bug.cgi?id=635172
30829 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++--
30830 tests/test_overrides.py | 8 +++++++-
30831 2 files changed, 43 insertions(+), 3 deletions(-)
30833 commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f
30834 Author: Paolo Borelli <pborelli@gnome.org>
30835 Date: Fri Dec 3 23:39:50 2010 +0100
30837 Override TreeSelection.select_path and TreeView.scroll_to_cell
30839 The "path" argument may also be a string or a tuple
30841 gi/overrides/Gtk.py | 10 ++++++++++
30842 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++
30843 2 files changed, 39 insertions(+)
30845 commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9
30846 Author: Paolo Borelli <pborelli@gnome.org>
30847 Date: Fri Dec 3 23:29:00 2010 +0100
30849 Override TreePath.__new__
30851 Instead of having a private _tree_path_from_string it is cleaner to
30852 override __new__ and it will be useful for all the api that take a
30853 TreePath or a string or a tuple.
30855 gi/overrides/Gtk.py | 33 +++++++++++++++------------------
30856 tests/test_overrides.py | 18 ++++++++++++++++++
30857 2 files changed, 33 insertions(+), 18 deletions(-)
30859 commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128
30860 Author: Paolo Borelli <pborelli@gnome.org>
30861 Date: Sun Nov 28 13:02:30 2010 +0100
30863 Override Container to behave like a sequence
30865 gi/overrides/Gtk.py | 6 ++++++
30866 tests/test_overrides.py | 11 +++++++++++
30867 2 files changed, 17 insertions(+)
30869 commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a
30870 Author: John (J5) Palmieri <johnp@redhat.com>
30871 Date: Tue Nov 30 16:57:05 2010 -0500
30873 refactor Jonathan Matthew recurse vfunc patch so it applys and clean
30876 * this patch does the recursion using the previous patche's support
30879 gi/types.py | 55 +++++++++++++++++++++++++++++++++++++++++++++----------
30880 1 file changed, 45 insertions(+), 10 deletions(-)
30882 commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8
30883 Author: Jonathan Matthew <jonathan@d14n.org>
30884 Date: Thu Jul 22 23:19:51 2010 +1000
30886 Recurse up through base classes when setting up vfuncs
30888 * this patch adds the support methods to do the recursion
30890 https://bugzilla.gnome.org/show_bug.cgi?id=625033
30892 gi/gimodule.c | 130
30893 ++++++++++++++++++++++++++++++++++++++++---------------
30894 tests/test_gi.py | 37 ++++++++++++++++
30895 2 files changed, 131 insertions(+), 36 deletions(-)
30897 commit 78358e1ab54d02317f397276adee03ecb2187588
30898 Author: John (J5) Palmieri <johnp@redhat.com>
30899 Date: Mon Nov 29 18:29:57 2010 -0500
30901 add a profiling torture test for when we fix up invoke
30903 tests/test_everything.py | 67
30904 ++++++++++++++++++++++++++++++++++++++++++++++++
30905 1 file changed, 67 insertions(+)
30907 commit 792e679c06df4357843fd310c7953a931172fc99
30908 Author: John (J5) Palmieri <johnp@redhat.com>
30909 Date: Mon Nov 29 16:41:38 2010 -0500
30911 moved dynamic and base modules outside of gtk-2.0 directory
30913 * do not move header files yet as they are mostly used by static
30915 * do not remove pygtk.pth and pygtk.py files yet - there is a debate
30917 these back to pygtk but you might want to import gio static
30919 having to have pygtk installed
30920 * I have not tested this with pygtk, committing it so we can find
30922 causes any issues with legacy modules and code
30924 gi/Makefile.am | 2 +-
30925 gi/overrides/Makefile.am | 2 +-
30926 gi/repository/Makefile.am | 2 +-
30927 glib/Makefile.am | 2 +-
30928 gobject/Makefile.am | 2 +-
30929 tests/test_gi.py | 2 --
30930 tests/test_overrides.py | 3 ---
30931 7 files changed, 5 insertions(+), 10 deletions(-)
30933 commit c587e1ace7429195ac6fd4db03d2f33e2af09838
30934 Author: John (J5) Palmieri <johnp@redhat.com>
30935 Date: Mon Nov 29 15:11:46 2010 -0500
30937 add test for inout argument count
30939 tests/test_gi.py | 1 +
30940 1 file changed, 1 insertion(+)
30942 commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce
30943 Author: John (J5) Palmieri <johnp@redhat.com>
30944 Date: Mon Nov 22 19:17:23 2010 -0500
30946 [gi] add check for UNICHAR
30948 https://bugzilla.gnome.org/show_bug.cgi?id=623615
30950 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++-
30951 tests/test_everything.py | 17 +++++++++++++++--
30952 2 files changed, 41 insertions(+), 3 deletions(-)
30954 commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79
30955 Author: Paolo Borelli <pborelli@gnome.org>
30956 Date: Sun Nov 21 12:16:53 2010 +0100
30960 https://bugzilla.gnome.org/show_bug.cgi?id=623615
30962 gi/pygi-argument.c | 60
30963 ++++++++++++++++++++++++++++++++++++++++++++++++
30964 gi/pygi-info.c | 5 ++++
30965 tests/test_everything.py | 5 ++++
30966 3 files changed, 70 insertions(+)
30968 commit fd2c0288eb67823fca1265348a27a9f8f147ae50
30969 Author: Paolo Borelli <pborelli@gnome.org>
30970 Date: Sat Nov 27 23:01:42 2010 +0100
30972 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._
30974 pygi-convert.sh | 1 +
30975 1 file changed, 1 insertion(+)
30977 commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f
30978 Author: Paolo Borelli <pborelli@gnome.org>
30979 Date: Sat Nov 27 22:34:13 2010 +0100
30981 pygi-convert.sh: handle "from gtk import gdk"
30983 pygi-convert.sh | 2 ++
30984 1 file changed, 2 insertions(+)
30986 commit 63a97634031c3d159ad77fdaa1f6341d7656eb07
30987 Author: Paolo Borelli <pborelli@gnome.org>
30988 Date: Sat Nov 27 22:23:24 2010 +0100
30990 pygi-convert.sh: add some Pango special cases
30992 pygi-convert.sh | 3 +++
30993 1 file changed, 3 insertions(+)
30995 commit 57e42bf4230d1aa20a47e3b0df2e509602333892
30996 Author: Paolo Borelli <pborelli@gnome.org>
30997 Date: Sat Nov 27 19:51:38 2010 +0100
30999 Override TextIter (begins|ends|toggles)_tag()
31001 Make the tag argument optional.
31003 gi/overrides/Gtk.py | 9 +++++++++
31004 tests/test_overrides.py | 17 +++++++++++++++++
31005 2 files changed, 26 insertions(+)
31007 commit 828b698e47ee819a60d24a772a3cc51ff9cd6601
31008 Author: Paolo Borelli <pborelli@gnome.org>
31009 Date: Sat Nov 27 19:32:48 2010 +0100
31011 Override TextBuffer.set_text() to make length optional
31013 gi/overrides/Gtk.py | 3 +++
31014 tests/test_overrides.py | 11 ++++++++++-
31015 2 files changed, 13 insertions(+), 1 deletion(-)
31017 commit bf55dc862755a57bb1b998702d284fc460e88a30
31018 Author: Paolo Borelli <pborelli@gnome.org>
31019 Date: Sat Nov 27 16:46:40 2010 +0100
31021 Override TextBuffer.create_mark()
31023 Override create_mark to make the left_gravity argument optional
31025 gi/overrides/Gtk.py | 3 +++
31026 tests/test_overrides.py | 3 +++
31027 2 files changed, 6 insertions(+)
31029 commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9
31030 Author: Paolo Borelli <pborelli@gnome.org>
31031 Date: Sat Nov 27 16:10:33 2010 +0100
31033 Fix TextBuffer.get_selection_bounds() override
31035 Fix the override and add unit test
31037 gi/overrides/Gtk.py | 8 +++++---
31038 tests/test_overrides.py | 7 +++++++
31039 2 files changed, 12 insertions(+), 3 deletions(-)
31041 commit 0cd717e3926276540b9145e58a4a3368136b00de
31042 Author: John (J5) Palmieri <johnp@redhat.com>
31043 Date: Mon Nov 22 18:35:09 2010 -0500
31045 [gi] fix ActionGroup constructor to allow other keyword properties
31048 gi/overrides/Gtk.py | 4 ++--
31049 1 file changed, 2 insertions(+), 2 deletions(-)
31051 commit 226777cdb70fc72d206664ffd8b6737f7239d23f
31052 Author: John (J5) Palmieri <johnp@redhat.com>
31053 Date: Mon Nov 22 18:32:28 2010 -0500
31055 [gi] require the name parameter when creatin a Gtk.ActionGroup
31057 gi/overrides/Gtk.py | 3 +++
31058 tests/test_overrides.py | 2 ++
31059 2 files changed, 5 insertions(+)
31061 commit d0049fa9982d13b3553b05569fb0a227e48b6647
31062 Author: Paolo Borelli <pborelli@gnome.org>
31063 Date: Sun Nov 21 15:20:58 2010 +0100
31065 Override UIManager.insert_action_group
31067 https://bugzilla.gnome.org/show_bug.cgi?id=635437
31069 gi/overrides/Gtk.py | 3 +++
31070 tests/test_overrides.py | 34 +++++++++++++++++++++-------------
31071 2 files changed, 24 insertions(+), 13 deletions(-)
31073 commit e1db544e46aeed984133896af34b671a6a5547df
31074 Author: Paolo Borelli <pborelli@gnome.org>
31075 Date: Sun Nov 21 23:03:25 2010 +0100
31077 Override TreeModel.get() to return a tuple
31079 https://bugzilla.gnome.org/show_bug.cgi?id=635466
31081 gi/overrides/Gtk.py | 15 +++++++++++++++
31082 tests/test_overrides.py | 6 ++++++
31083 2 files changed, 21 insertions(+)
31085 commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76
31086 Author: Paolo Borelli <pborelli@gnome.org>
31087 Date: Sun Nov 21 21:57:40 2010 +0100
31089 Make TreeSelection.get_selected_rows compatible with PyGtk
31091 https://bugzilla.gnome.org/show_bug.cgi?id=635464
31093 gi/overrides/Gtk.py | 6 ++++++
31094 1 file changed, 6 insertions(+)
31096 commit 1c537bc67107948c92b51ba6ba749747e84263e2
31097 Author: John (J5) Palmieri <johnp@redhat.com>
31098 Date: Mon Nov 22 15:04:00 2010 -0500
31100 [gi] switch to using sequences/tuples when marshalling
31101 cairo_rectangle_int_t
31103 * Upstream pycairo didn't want to add a new wrapper for
31104 cairo_rectangle_int_t
31105 * this works around that issue by using 4 element squences instead
31107 should be accepted by pycairo for any API that takes a rect
31109 gi/pygi-foreign-cairo.c | 85
31110 +++++++++++++++++++++++++++++++++++++------------
31111 1 file changed, 64 insertions(+), 21 deletions(-)
31113 commit 4cede8f12321bed6c3b71813a62c01b61853ba69
31114 Author: John (J5) Palmieri <johnp@redhat.com>
31115 Date: Fri Nov 19 16:46:53 2010 -0500
31117 [gi] overrides for treeview Drag and Drop
31119 https://bugzilla.gnome.org/show_bug.cgi?id=627367
31121 gi/overrides/Gdk.py | 7 +++++++
31122 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++
31123 2 files changed, 32 insertions(+)
31125 commit 3fd51bb903724b752f72f49c7cb35652b819791d
31126 Author: John (J5) Palmieri <johnp@redhat.com>
31127 Date: Fri Nov 19 16:44:32 2010 -0500
31129 [gi] when encountering guint8 arrays treat them as byte arrays
31131 * In Python 2 this means returning a PyString object
31132 * In Python 3 we return a PyBytes object
31134 https://bugzilla.gnome.org/show_bug.cgi?id=627367
31136 gi/pygi-argument.c | 65
31137 ++++++++++++++++++++++++++++++++++++++++++++----------
31138 tests/test_gi.py | 6 +++--
31139 2 files changed, 57 insertions(+), 14 deletions(-)
31141 commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26
31142 Author: Martin Pitt <martin.pitt@ubuntu.com>
31143 Date: Fri Nov 19 18:19:38 2010 +0100
31145 pygi-convert.sh: Add pynotify -> Notify
31147 pygi-convert.sh | 3 +++
31148 1 file changed, 3 insertions(+)
31150 commit bf03d4db03a7739ac16ddc4e614441557ede554d
31151 Author: Martin Pitt <martin.pitt@ubuntu.com>
31152 Date: Fri Nov 19 09:08:07 2010 +0100
31154 pygi-convert.sh: Remove sugar specifics, and allow command line
31157 This script is generally useful for converting pygtk2 projects,
31159 sugar. Remove the sugar specific bits, since they will just cause
31162 Also allow the user to specify the files to convert as command line
31163 arguments. If not given, all *.py files will be processed.
31165 https://bugzilla.gnome.org/show_bug.cgi?id=635244
31167 pygi-convert.sh | 25 +++++--------------------
31168 1 file changed, 5 insertions(+), 20 deletions(-)
31170 commit 18f5d229d3a4b9520c1c456be2635c8e36015c12
31171 Author: Martin Pitt <martin.pitt@ubuntu.com>
31172 Date: Fri Nov 19 09:00:35 2010 +0100
31174 pygi-convert.sh: Cover Message and Buttons types
31176 https://bugzilla.gnome.org/show_bug.cgi?id=635244
31178 pygi-convert.sh | 2 ++
31179 1 file changed, 2 insertions(+)
31181 commit ef74273c2043944708515e59a654ebe4944b46ff
31182 Author: John (J5) Palmieri <johnp@redhat.com>
31183 Date: Thu Nov 18 13:54:48 2010 -0500
31185 [gi] fix actiongroup test since actions are hashed
31187 * when actions are listed they may not show up in the order they
31189 since they reside in an unordered hash internally
31191 tests/test_overrides.py | 9 +++++----
31192 1 file changed, 5 insertions(+), 4 deletions(-)
31194 commit 2c25886bf6710568d0646f82dce4770faa44c40d
31195 Author: John (J5) Palmieri <johnp@redhat.com>
31196 Date: Wed Nov 17 14:38:09 2010 -0500
31198 [gi] when converting to UTF-8 accept Python Unicode objects as input
31201 https://bugzilla.gnome.org/show_bug.cgi?id=620579
31203 gi/pygi-argument.c | 14 ++++++++++++--
31204 glib/pyglib-python-compat.h | 5 +++++
31205 tests/test_gi.py | 3 +++
31206 3 files changed, 20 insertions(+), 2 deletions(-)
31208 commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c
31209 Author: Damien Caliste <damien.caliste@cea.fr>
31210 Date: Fri Nov 12 10:20:32 2010 +0100
31212 Correct a bug in the freeing of memory in pygi-invoke.c.
31214 When a method with inout arguments is called from Python with
31215 a wrong number of arguments, the system crashs because of an
31216 assertion fail. This patch corrects this behaviour.
31218 https://bugzilla.gnome.org/show_bug.cgi?id=634671
31220 gi/pygi-invoke.c | 25 ++++++++++++++-----------
31221 1 file changed, 14 insertions(+), 11 deletions(-)
31223 commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e
31224 Author: John (J5) Palmieri <johnp@redhat.com>
31225 Date: Wed Nov 10 14:11:56 2010 -0500
31227 update news for release
31230 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31231 1 file changed, 73 insertions(+)
31233 commit 1338a95339e21cc02b9df6d10166996c8b97a6bf
31234 Author: Jonathan Matthew <jonathan@d14n.org>
31235 Date: Tue Sep 28 13:44:13 2010 +1000
31237 Implement richcompare for GIBaseInfo
31239 https://bugzilla.gnome.org/show_bug.cgi?id=625033
31241 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++
31242 1 file changed, 29 insertions(+)
31244 commit 9ce3edf69824935aeca9e676eaa9782786c22a97
31245 Author: John (J5) Palmieri <johnp@redhat.com>
31246 Date: Tue Nov 9 22:57:41 2010 -0500
31248 [gi] add the rectangle_int_t forign cairo type
31250 * the pycairo maintainer is not being responsive so you will need
31252 https://bugs.freedesktop.org/show_bug.cgi?id=31111
31253 * added conditionals, if the api doesn't exist in PyCairo we will
31255 without the forign structs
31257 gi/pygi-foreign-cairo.c | 4 ++++
31258 1 file changed, 4 insertions(+)
31260 commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290
31261 Author: John (J5) Palmieri <johnp@redhat.com>
31262 Date: Mon Oct 25 18:28:36 2010 -0400
31264 add a foreign type for cairo_rectangle_int_t and allow it to be
31267 * this is needed because Gdk and Gtk switched from returning a
31269 to a CairoRectangleInt structure
31270 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111
31272 for pycairo (however there is currently no patch for python 2)
31273 * added fix for foreign types to allow them to be caller allocated
31274 * in order for a type to be caller allocated it must be able to take
31276 and create an empty struct in foreign_struct_from_arg and it must
31278 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg.
31280 https://bugzilla.gnome.org/show_bug.cgi?id=627545
31282 gi/pygi-foreign-cairo.c | 57
31283 +++++++++++++++++++++++++++++++++++++++++++++++++
31284 gi/pygi-invoke.c | 15 +++++++++++--
31285 2 files changed, 70 insertions(+), 2 deletions(-)
31287 commit ce8b948310220288e9eef904eef4ec8f4e24a376
31288 Author: John (J5) Palmieri <johnp@redhat.com>
31289 Date: Tue Nov 9 22:11:51 2010 -0500
31291 [gi] add overrides to Gtk.Editable
31293 gi/overrides/Gtk.py | 17 +++++++++++++++++
31294 tests/test_overrides.py | 12 ++++++++++++
31295 2 files changed, 29 insertions(+)
31297 commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e
31298 Author: John (J5) Palmieri <johnp@redhat.com>
31299 Date: Tue Nov 9 21:12:54 2010 -0500
31301 [gi] handle virtual invokers
31303 * right now we check to see if there is an method with the same name
31304 as the virtual method and assume that is the invoker
31305 * some invokers are named different so we now ask the VFuncInfo if
31306 the vfunc has an invoker
31307 * this is still not completly correct, gi needs to support telling
31308 us which vfuncs must be overridden.
31309 * this keeps the old way of checking vfuncs while adding the edge case
31310 where vfunc is named differently from their invoker
31312 gi/pygi-info.c | 16 ++++++++++++++++
31314 2 files changed, 17 insertions(+), 1 deletion(-)
31316 commit 540e9f1f349ba3625e28b7673c92210eb8974098
31317 Author: John (J5) Palmieri <johnp@redhat.com>
31318 Date: Tue Nov 9 12:17:05 2010 -0500
31320 add overrides for the insert* apis of list_store and tree_store
31322 * add set_row to tree_model as convinience method for both list and
31325 https://bugzilla.gnome.org/show_bug.cgi?id=634423
31327 gi/overrides/Gtk.py | 80
31328 ++++++++++++++++++++++++++++++++++++++-----------
31329 tests/test_overrides.py | 53 +++++++++++++++++++++++++++++++-
31330 2 files changed, 114 insertions(+), 19 deletions(-)
31332 commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a
31333 Author: John (J5) Palmieri <johnp@redhat.com>
31334 Date: Fri Nov 5 13:56:12 2010 -0400
31336 fix dialogs overrides which were relying on broken inheritance
31339 gi/overrides/Gtk.py | 14 ++++++++++++--
31340 1 file changed, 12 insertions(+), 2 deletions(-)
31342 commit 89c104d17d79d7b935cd76101cba19d49390f7be
31343 Author: John (J5) Palmieri <johnp@redhat.com>
31344 Date: Thu Nov 4 12:00:14 2010 -0400
31346 Add a overrides registry so we can refrence overrides inside the
31349 * Overrides have a reentrancy issue when doing inheritance. If an
31351 inherits from another override down the stack it won't see the
31353 because the module is not finished loading and will inherit from the
31354 non-overriden object instead. This causes type errors later.
31355 * By adding the overrides to a registry outside of the module we
31357 registration and make the override available as soon as the class
31359 not when the whole module is parsed.
31361 https://bugzilla.gnome.org/show_bug.cgi?id=633347
31363 gi/module.py | 12 ++++++++++-
31364 gi/overrides/GIMarshallingTests.py | 2 +-
31365 gi/overrides/Gdk.py | 2 +-
31366 gi/overrides/Gtk.py | 2 +-
31367 gi/overrides/__init__.py | 43
31368 ++++++++++++++++++++++++++++++++++++++
31369 gi/types.py | 8 -------
31370 tests/test_overrides.py | 27 ++++++++++++++++++++++++
31371 7 files changed, 84 insertions(+), 12 deletions(-)
31373 commit 878b8f630acd2146bee364054acd45cd33eea37a
31374 Merge: cdacaa95 e3178381
31375 Author: John Stowers <john.stowers@gmail.com>
31376 Date: Fri Nov 5 11:40:22 2010 +1300
31378 Merge remote branch 'dieterv/setup-fixes-for-merge'
31380 commit e317838178fba5f0590fb8bd323f49602d564b53
31381 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31382 Date: Thu Nov 4 11:16:43 2010 +0100
31384 setup.py: ease maintenance burden for tests installation
31386 setup.py | 23 +++--------------------
31387 1 file changed, 3 insertions(+), 20 deletions(-)
31389 commit cdacaa9572893796e0f3aa3730d0191911cb29ee
31390 Author: John (J5) Palmieri <johnp@redhat.com>
31391 Date: Wed Nov 3 09:51:09 2010 -0400
31393 fix inheritence issues in overrides
31395 gi/overrides/Gtk.py | 79
31396 +++++++++++++++++++++++++++--------------------------
31397 1 file changed, 40 insertions(+), 39 deletions(-)
31399 commit 3d5955767d81f45e796ab2af0707533375681774
31400 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31401 Date: Wed Nov 3 09:38:56 2010 +0100
31403 tests: add runtests-windows.py script
31405 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31407 tests/runtests-windows.py | 47
31408 +++++++++++++++++++++++++++++++++++++++++++++++
31409 1 file changed, 47 insertions(+)
31411 commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8
31412 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31413 Date: Wed Nov 3 09:35:52 2010 +0100
31415 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from
31416 postinstall as pkg-config on windows figures out the correct prefix
31419 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31421 pygobject_postinstall.py | 26 +++-----------------------
31422 1 file changed, 3 insertions(+), 23 deletions(-)
31424 commit 63167574df53eb481cc11b6a097b2bfe7d5747f5
31425 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31426 Date: Wed Nov 3 09:34:38 2010 +0100
31428 pygobject_postinstall.py: remove shortcut creation
31430 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31432 pygobject_postinstall.py | 35 +----------------------------------
31433 1 file changed, 1 insertion(+), 34 deletions(-)
31435 commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef
31436 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31437 Date: Wed Nov 3 09:31:14 2010 +0100
31439 setup.py: formatting cleanup, makes things readable
31441 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31443 setup.py | 56 ++++++++++++++++++++++++++------------------------------
31444 1 file changed, 26 insertions(+), 30 deletions(-)
31446 commit a31b4196fbb4638a245430f2fdeafd7534b1d84d
31447 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31448 Date: Wed Nov 3 09:28:36 2010 +0100
31450 setup.py: build and install tests
31452 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31455 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31456 1 file changed, 61 insertions(+)
31458 commit 7c3b0c20b83c05833d73c240690dce3daf43fde8
31459 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31460 Date: Wed Nov 3 09:26:59 2010 +0100
31462 setup.py: install documentation when available on build system
31464 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31467 1 file changed, 3 insertions(+)
31469 commit 78533d851ee1314686f18cfa793613a9cf7d6686
31470 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31471 Date: Wed Nov 3 09:25:56 2010 +0100
31473 setup.py: install pygobject-codegen script
31475 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31477 setup.py | 25 +++++++++++++++++++++++++
31478 1 file changed, 25 insertions(+)
31480 commit ad40688df533dda0b1f7be8ea37c542b8796a26b
31481 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31482 Date: Wed Nov 3 09:24:45 2010 +0100
31484 setup.py: install fixxref.py script
31486 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31489 1 file changed, 3 insertions(+)
31491 commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc
31492 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31493 Date: Wed Nov 3 09:23:05 2010 +0100
31495 setup.py: rearrange constants
31497 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31499 setup.py | 37 ++++++++++++++++++++-----------------
31500 1 file changed, 20 insertions(+), 17 deletions(-)
31502 commit 7d353d04892de67265bf693f591f37fd393de639
31503 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31504 Date: Wed Nov 3 09:18:11 2010 +0100
31506 setup.py: check python version and pkgconig availability before
31509 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31511 setup.py | 18 ++++++++++--------
31512 1 file changed, 10 insertions(+), 8 deletions(-)
31514 commit 286364ed39953e942e24d5911519bcac2f90975a
31515 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31516 Date: Wed Nov 3 09:05:59 2010 +0100
31518 setup.py: simplify sys.platform != 'win32' detection and error
31521 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31523 setup.py | 29 +++++++++--------------------
31524 1 file changed, 9 insertions(+), 20 deletions(-)
31526 commit 3f70f92904c123e6cc40929c0affd3f75d061828
31527 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31528 Date: Wed Nov 3 09:02:30 2010 +0100
31530 setup.py: rearrange imports
31532 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31534 setup.py | 31 ++++++++++++++++++++++---------
31535 1 file changed, 22 insertions(+), 9 deletions(-)
31537 commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455
31538 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31539 Date: Wed Nov 3 08:58:00 2010 +0100
31541 README.win32: update build instructions
31543 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31545 README.win32 | 13 +++++--------
31546 1 file changed, 5 insertions(+), 8 deletions(-)
31548 commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0
31549 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31550 Date: Wed Nov 3 07:59:18 2010 +0100
31552 dsextras.py: formatting cleanup, makes things readable
31554 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31557 ++++++++++++++++++++++++++++++++++++++----------------------
31558 1 file changed, 93 insertions(+), 55 deletions(-)
31560 commit d03503d0412d173acb383926ab3c2d640dad3e3f
31561 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31562 Date: Wed Nov 3 07:00:40 2010 +0100
31564 dsextras.py: add ggc4 to MSVC compatible struct packing comment
31566 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31568 dsextras.py | 4 ++--
31569 1 file changed, 2 insertions(+), 2 deletions(-)
31571 commit 8c62968e9f8467e24870b8c4f61112676eef4630
31572 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31573 Date: Wed Nov 3 06:56:32 2010 +0100
31575 dsextras.py: use the pkgc_ functions instead of repeating pgk-config
31576 incantations all over the place
31578 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31580 dsextras.py | 15 ++++++---------
31581 1 file changed, 6 insertions(+), 9 deletions(-)
31583 commit b98277afc24886bbda400e0ad360992bffa77b7c
31584 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31585 Date: Wed Nov 3 06:49:48 2010 +0100
31587 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions
31589 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31591 dsextras.py | 10 ++++++++++
31592 1 file changed, 10 insertions(+)
31594 commit a565558652ebc3fa49d7aea40d399b06bbe376c4
31595 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31596 Date: Wed Nov 3 06:45:05 2010 +0100
31598 dsextras.py: PEP8: Comparisons to singletons like None should always
31599 be done with 'is' or 'is not', never the equality operators.
31601 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31603 dsextras.py | 4 ++--
31604 1 file changed, 2 insertions(+), 2 deletions(-)
31606 commit 4b1ff0c7f9953f925d2178069263cca67ca7db02
31607 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31608 Date: Wed Nov 3 06:44:21 2010 +0100
31610 dsextras.py: use True/False instead of 1/0
31612 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31614 dsextras.py | 25 +++++++++++++------------
31615 1 file changed, 13 insertions(+), 12 deletions(-)
31617 commit 819a21cea831c3892040390e9446b78a91d1cbbe
31618 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31619 Date: Wed Nov 3 06:28:04 2010 +0100
31621 dsextras.py: rearrange imports
31623 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31626 +++++++++++++++++++++++++++++++---------------------------
31627 1 file changed, 31 insertions(+), 27 deletions(-)
31629 commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f
31630 Author: Dieter Verfaillie <dieterv@optionexplicit.be>
31631 Date: Wed Nov 3 06:16:21 2010 +0100
31633 Add distutils generated build/dist directories and eclipse
31634 configuration files to .gitignore
31636 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be>
31638 .gitignore | 7 +++++++
31639 1 file changed, 7 insertions(+)
31641 commit 268d6ed2b0b1d266c612da4453b6117d9e14437e
31642 Author: John (J5) Palmieri <johnp@redhat.com>
31643 Date: Thu Oct 28 15:32:28 2010 -0400
31645 [gi] add tests for calling dir on a dynamic module
31647 tests/test_gi.py | 24 ++++++++++++++++++++++++
31648 1 file changed, 24 insertions(+)
31650 commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0
31651 Author: Deepankar Sharma <deepankar.sharma@gmail.com>
31652 Date: Wed Oct 27 18:28:11 2010 -0400
31654 [gi] dir() now works for modules
31656 https://bugzilla.gnome.org/show_bug.cgi?id=625093
31658 gi/module.py | 8 ++++++++
31659 1 file changed, 8 insertions(+)
31661 commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6
31662 Author: Simón Pena <spenap@gmail.com>
31663 Date: Mon Sep 20 23:10:14 2010 +0200
31665 Don't check the inner type when comparing gpointers
31667 When using pyg_pointer_richcompare to compare two objects,
31668 don't check their inner types. As we can't compare their private
31669 fields, nor get a proper compare function, we can consider them
31670 gpointers and compare them that way.
31672 https://bugzilla.gnome.org/show_bug.cgi?id=629552
31674 gobject/pygpointer.c | 2 +-
31675 1 file changed, 1 insertion(+), 1 deletion(-)
31677 commit 1731f89e4b5a20c33976963e12a1f39a21d33fde
31678 Author: John (J5) Palmieri <johnp@redhat.com>
31679 Date: Thu Oct 28 14:21:12 2010 -0400
31681 Release GIL when calling into C functions
31683 Author: Daniel P. Berrange <dan@berrange.com>
31685 https://bugzilla.gnome.org/show_bug.cgi?id=629042
31687 gi/pygi-invoke.c | 10 +++++++++-
31688 1 file changed, 9 insertions(+), 1 deletion(-)
31690 commit 783e2e351ec7470bda6b441e51f387dd61543c4b
31691 Author: José Aliste <jaliste@src.gnome.org>
31692 Date: Fri Oct 15 14:30:10 2010 -0300
31694 _gi.Repository : Implement missing info bindings.
31696 https://bugzilla.gnome.org/show_bug.cgi?id=632185
31698 gi/pygi-info.c | 91
31699 +++++++++++++++++++++++++++++++++++++++++++++++++---------
31700 gi/pygi-info.h | 7 +++++
31701 2 files changed, 84 insertions(+), 14 deletions(-)
31703 commit 2ca897273f52ae38f5e06e72c773a048e199eee5
31704 Author: John (J5) Palmieri <johnp@redhat.com>
31705 Date: Thu Oct 28 13:49:15 2010 -0400
31707 include Python.h so that PY_VERSION_HEX gets defined
31709 gi/pygi-foreign-cairo.c | 1 +
31710 1 file changed, 1 insertion(+)
31712 commit 8b28b1d713df33931e255600ab98feda37a8e02a
31713 Author: John (J5) Palmieri <johnp@redhat.com>
31714 Date: Thu Oct 28 13:47:34 2010 -0400
31716 [gi] make overrides work for python 3.x protocols and alias for
31719 gi/overrides/Gtk.py | 9 +++++++--
31720 1 file changed, 7 insertions(+), 2 deletions(-)
31722 commit 3c09710d2f68af9c16ce39fd25656147656a486a
31723 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31724 Date: Sat Oct 23 14:24:24 2010 +0200
31726 Override Gtk.Widget.translate_coordinates to not return success value
31728 gi/overrides/Gtk.py | 11 +++++++++++
31729 1 file changed, 11 insertions(+)
31731 commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4
31732 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31733 Date: Sat Oct 23 14:22:36 2010 +0200
31735 Override Gtk.TreeViewColumn.cell_get_position to not return success
31738 gi/overrides/Gtk.py | 5 +++++
31739 1 file changed, 5 insertions(+)
31741 commit 6679d39ace06294e98f9d6fc911ed6fb27656010
31742 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31743 Date: Sat Oct 23 14:21:36 2010 +0200
31745 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to
31746 not return success value
31748 gi/overrides/Gtk.py | 15 +++++++++++++++
31749 1 file changed, 15 insertions(+)
31751 commit 80b1b266fa68a5c67106871502017166628f71e4
31752 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31753 Date: Sat Oct 23 14:20:38 2010 +0200
31755 Override Gtk.TreeSortable.get_sort_column_id to not return success
31758 gi/overrides/Gtk.py | 12 ++++++++++++
31759 1 file changed, 12 insertions(+)
31761 commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5
31762 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31763 Date: Sat Oct 23 14:19:20 2010 +0200
31765 Override forward_search and backward_search of Gtk.TextIter to not
31766 return success value
31768 gi/overrides/Gtk.py | 15 +++++++++++++++
31769 1 file changed, 15 insertions(+)
31771 commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223
31772 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31773 Date: Sat Oct 23 14:18:09 2010 +0200
31775 Override Gtk.TextBuffer.get_selection_bounds to not return success
31778 gi/overrides/Gtk.py | 5 +++++
31779 1 file changed, 5 insertions(+)
31781 commit da6d87460b9392c29d025a7eed9249fb604204bc
31782 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31783 Date: Sat Oct 23 14:17:04 2010 +0200
31785 Override Gtk.RecentInfo.get_application_info to not return success
31788 gi/overrides/Gtk.py | 10 ++++++++++
31789 1 file changed, 10 insertions(+)
31791 commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a
31792 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31793 Date: Sat Oct 23 14:16:21 2010 +0200
31795 Override Gtk.IMContext.get_surrounding to not return success value
31797 gi/overrides/Gtk.py | 10 ++++++++++
31798 1 file changed, 10 insertions(+)
31800 commit b85b445f15421209c0b4adf676d7c8218d6437c5
31801 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31802 Date: Sat Oct 23 14:15:24 2010 +0200
31804 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos
31805 of Gtk.IconView to not return success value
31807 gi/overrides/Gtk.py | 19 +++++++++++++++++++
31808 1 file changed, 19 insertions(+)
31810 commit 684d716192d58c972083e579e909bcd97f8a5025
31811 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31812 Date: Sat Oct 23 14:13:47 2010 +0200
31814 Override Gtk.Container.get_focus_chain to not return success value
31816 gi/overrides/Gtk.py | 10 ++++++++++
31817 1 file changed, 10 insertions(+)
31819 commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688
31820 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31821 Date: Sat Oct 23 14:12:44 2010 +0200
31823 Override Gtk.ComboBox.get_active_iter to not return success value
31825 gi/overrides/Gtk.py | 10 ++++++++++
31826 1 file changed, 10 insertions(+)
31828 commit b483852904468722230903989e3451c7c6a24c0f
31829 Author: John (J5) Palmieri <johnp@redhat.com>
31830 Date: Tue Oct 12 12:18:33 2010 -0400
31832 [gi] make parameter check less strict when dealing with GValue params
31834 * Some GValue API can store a pointer to a python object for later
31835 use but our parameter checking was too strict to allow this
31836 * Add pyg_type_from_object_strict API which takes a strict boolean and
31837 returns PY_TYPE_OBJECT if no other GType can be found
31838 * Since we don't have enough info to genrically check GValue
31840 use the less strict type guessing when encountering a GValue param
31841 * Other API stays the same and continues to do strict testing
31843 https://bugzilla.gnome.org/show_bug.cgi?id=622987
31845 gi/pygi-argument.c | 17 ++++++---------
31846 gobject/gobjectmodule.c | 4 ++--
31847 gobject/pygobject-private.h | 1 +
31848 gobject/pygobject.h | 2 ++
31849 gobject/pygtype.c | 37 +++++++++++++++++++++++++++++----
31850 tests/test_gi.py | 1 -
31851 tests/test_overrides.py | 50
31852 +++++++++++++++++++++++++++++++++++++++++----
31853 7 files changed, 90 insertions(+), 22 deletions(-)
31855 commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2
31856 Author: John Stowers <john.stowers@gmail.com>
31857 Date: Fri Oct 22 13:28:31 2010 +1300
31859 Shortcut removal is not needed on post-uninstall
31861 pygobject_postinstall.py | 14 ++------------
31862 1 file changed, 2 insertions(+), 12 deletions(-)
31864 commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7
31865 Author: John Stowers <john.stowers@gmail.com>
31866 Date: Thu Oct 21 13:25:35 2010 +1300
31868 Disable shortcut creation in windows installer
31870 pygobject_postinstall.py | 2 +-
31871 1 file changed, 1 insertion(+), 1 deletion(-)
31873 commit a3d6212b0abccef58f05d454c091936776413d98
31874 Author: John (J5) Palmieri <johnp@redhat.com>
31875 Date: Thu Oct 7 11:43:27 2010 -0400
31877 overrides for all subclasses of dialog
31879 https://bugzilla.gnome.org/show_bug.cgi?id=631634
31881 gi/overrides/Gtk.py | 94
31882 +++++++++++++++++++++++++++++++++++++++++++++----
31883 tests/test_overrides.py | 64 ++++++++++++++++++++++++++++++++-
31884 2 files changed, 151 insertions(+), 7 deletions(-)
31886 commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f
31887 Author: Sebastian Pölsterl <sebp@k-d-w.org>
31888 Date: Thu Oct 7 19:37:53 2010 +0200
31890 Make TreeModel behave like in GTK-2.x
31892 Moved stuff from __getitem__ to get_iter.
31893 Added TreePath.__cmp__
31895 get_iter_from_string throws ValueError.
31896 iterchildren() does not return None.
31898 Adjusted tests to new TreeModel and added TestGtk.test_tree_model
31901 Added support for negative row and column indices
31903 Use rich comparison methods instead of __cmp__
31905 Added TreeModel.__bool__/__nonzero__
31907 Raise Error if tree path string is empty
31909 https://bugzilla.gnome.org/show_bug.cgi?id=631547
31911 gi/overrides/Gtk.py | 195
31912 ++++++++++++++++++++++++++++++++++++++++++++++++
31913 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++--
31914 2 files changed, 349 insertions(+), 6 deletions(-)
31916 commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea
31917 Author: John Stowers <john.stowers@gmail.com>
31918 Date: Sat Oct 16 18:59:25 2010 +1300
31920 Correctly build GIO on windows
31922 setup.py | 6 +++---
31923 1 file changed, 3 insertions(+), 3 deletions(-)
31925 commit 33b59fd7437009b6c3ed43412e171d2cc91ee317
31926 Author: John Stowers <john.stowers@gmail.com>
31927 Date: Sat Oct 16 18:17:28 2010 +1300
31929 Require Python >= 2.6.0 for Windows build
31932 1 file changed, 1 insertion(+), 1 deletion(-)
31934 commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6
31935 Author: John Stowers <john.stowers@gmail.com>
31936 Date: Sat Oct 16 17:41:01 2010 +1300
31938 Fix depreciation warning in dsextras.py
31941 1 file changed, 1 insertion(+), 1 deletion(-)
31943 commit 239ff961778e4e1587404d8a70dfbe8630ab0623
31944 Author: John Stowers <john.stowers@gmail.com>
31945 Date: Sat Oct 16 17:34:50 2010 +1300
31947 Fix build on windows
31949 gi/pygi-foreign.c | 5 ++++-
31950 gi/pygi.h | 5 ++++-
31952 3 files changed, 10 insertions(+), 4 deletions(-)
31954 commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6
31955 Author: Michael Culbertson <michael.culbertson@gmail.com>
31956 Date: Sat Oct 16 17:08:11 2010 +1300
31958 Support for GCC4 in Windows distutils build - bug 626548
31960 dsextras.py | 3 ++-
31961 1 file changed, 2 insertions(+), 1 deletion(-)
31963 commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27
31964 Author: John Stowers <john.stowers@gmail.com>
31965 Date: Fri Oct 15 09:39:02 2010 +1300
31967 Remove obsolete comments in dsextras.py
31969 dsextras.py | 11 ++---------
31970 1 file changed, 2 insertions(+), 9 deletions(-)
31972 commit b5f383f854fb8f72677828b029589320c59006d1
31973 Author: John Stowers <john.stowers@gmail.com>
31974 Date: Fri Oct 15 09:21:03 2010 +1300
31976 Broken dsextras.py pkg-config check error message
31981 1 file changed, 1 insertion(+), 1 deletion(-)
31983 commit e1981da105b574e273ae6500fc6d25caf6af6aae
31984 Author: John (J5) Palmieri <johnp@redhat.com>
31985 Date: Tue Sep 28 15:31:03 2010 -0400
31987 add compat functions for the deprecated PyCObject api
31989 * Moved to using the PyCapsule API for python >= 3
31990 * PyCObject is removed from Python 3.2
31991 * It has also been deprecated in 2.7 but since we use the API in
31993 which are consumed by static binding modules, appling this for
31995 causes crashes unless the modules are recompiled, breaking ABI.
31997 to rely on for 2.7 because it will never be removed and there is
31999 undeprecating it upstream.
32000 * There is no issues with static bindings under python 3 because
32002 supported yet and most likely never will be.
32003 * Even if PyCObject is brought back in 3.2, PyCapsule is a much
32005 which adds a poorman's type check when unboxing.
32007 https://bugzilla.gnome.org/show_bug.cgi?id=630844
32009 gi/gimodule.c | 2 +-
32010 gi/pygi.h | 5 ++++-
32011 glib/glibmodule.c | 2 +-
32012 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++
32013 glib/pyglib.c | 6 +++---
32014 glib/pygoptioncontext.c | 2 +-
32015 gobject/gobjectmodule.c | 2 +-
32016 gobject/pygobject.h | 6 ++++++
32017 gobject/pygtype.c | 10 +++++-----
32018 9 files changed, 50 insertions(+), 13 deletions(-)
32020 commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6
32021 Author: Damien Caliste <damien.caliste@cea.fr>
32022 Date: Tue Sep 28 12:44:42 2010 +0200
32024 Add __path__ attributes.
32026 Add an attribute __path__ to DynamicModule and IntrospectionModule,
32027 using the path of the typelib.
32029 https://bugzilla.gnome.org/show_bug.cgi?id=630807
32031 gi/module.py | 2 ++
32032 1 file changed, 2 insertions(+)
32034 commit 28f9366c9cb382801bad080864f667c867daa3c7
32035 Author: Sebastian Pölsterl <sebp@k-d-w.org>
32036 Date: Sat Oct 9 17:40:40 2010 +0200
32038 Override Gtk.TreeSelection.get_selected to not return success value.
32040 https://bugzilla.gnome.org/show_bug.cgi?id=631765
32042 gi/overrides/Gtk.py | 12 ++++++++++++
32043 1 file changed, 12 insertions(+)
32045 commit f01a7d9e8222663ce52100e061033f2745a5e7af
32046 Author: Vincent Untz <vuntz@gnome.org>
32047 Date: Thu Oct 7 09:42:24 2010 +0200
32049 Make row optional in Gtk.TreeStore/ListStore.append override
32051 https://bugzilla.gnome.org/show_bug.cgi?id=631548
32053 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++--------------
32054 1 file changed, 22 insertions(+), 14 deletions(-)
32056 commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7
32057 Author: John (J5) Palmieri <johnp@redhat.com>
32058 Date: Mon Oct 4 12:50:55 2010 -0400
32060 Revert "add compat functions for the deprecated PyCObject api"
32062 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0.
32064 I ment to commit another patch and ended up comitting both
32066 gi/gimodule.c | 2 +-
32067 gi/pygi.h | 5 +----
32068 glib/glibmodule.c | 2 +-
32069 glib/pyglib-python-compat.h | 19 -------------------
32070 glib/pyglib.c | 6 +++---
32071 glib/pygoptioncontext.c | 2 +-
32072 gobject/gobjectmodule.c | 2 +-
32073 gobject/pygobject.h | 6 ------
32074 gobject/pygtype.c | 10 +++++-----
32075 9 files changed, 13 insertions(+), 41 deletions(-)
32077 commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b
32078 Author: John (J5) Palmieri <johnp@redhat.com>
32079 Date: Mon Oct 4 12:43:31 2010 -0400
32081 return NULL instead of -1 which fixes crash when introspection is
32084 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158
32087 1 file changed, 1 insertion(+), 1 deletion(-)
32089 commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0
32090 Author: John (J5) Palmieri <johnp@redhat.com>
32091 Date: Tue Sep 28 15:31:03 2010 -0400
32093 add compat functions for the deprecated PyCObject api
32095 * Moved to using the PyCapsule API for python >= 2.7
32097 https://bugzilla.gnome.org/show_bug.cgi?id=630844
32099 gi/gimodule.c | 2 +-
32100 gi/pygi.h | 5 ++++-
32101 glib/glibmodule.c | 2 +-
32102 glib/pyglib-python-compat.h | 19 +++++++++++++++++++
32103 glib/pyglib.c | 6 +++---
32104 glib/pygoptioncontext.c | 2 +-
32105 gobject/gobjectmodule.c | 2 +-
32106 gobject/pygobject.h | 6 ++++++
32107 gobject/pygtype.c | 10 +++++-----
32108 9 files changed, 41 insertions(+), 13 deletions(-)
32110 commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b
32111 Author: John (J5) Palmieri <johnp@redhat.com>
32112 Date: Tue Sep 28 15:28:16 2010 -0400
32114 fix commit 7fe83108 which didn't use the compat functions for
32117 glib/glibmodule.c | 2 +-
32118 1 file changed, 1 insertion(+), 1 deletion(-)
32120 commit 9562842907a9d94f6adae2c1bb20d6b1f189abda
32121 Author: John (J5) Palmieri <johnp@redhat.com>
32122 Date: Tue Sep 28 13:15:57 2010 -0400
32124 Python 3 fixes for dsextras and the python.m4 distribution files
32126 dsextras.py | 13 +++++++------
32127 m4/python.m4 | 4 ++--
32128 2 files changed, 9 insertions(+), 8 deletions(-)
32130 commit 98f69957ee9e3037b0a05a037098e4d2133ca256
32131 Author: John (J5) Palmieri <johnp@redhat.com>
32132 Date: Mon Sep 27 14:01:31 2010 -0400
32134 post release bump to 2.27.0 unstable
32136 * update hacking to fill in some holes in the release instructions
32139 configure.ac | 2 +-
32140 2 files changed, 5 insertions(+), 3 deletions(-)
32142 commit fd38010101411e6bc1ca9314657f418de660fa13
32143 Author: John (J5) Palmieri <johnp@redhat.com>
32144 Date: Mon Sep 27 12:03:10 2010 -0400
32146 update NEWS for release
32149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
32150 1 file changed, 93 insertions(+)
32152 commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1
32153 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32154 Date: Sun Sep 26 08:37:31 2010 +0200
32156 Pre-release version bump 2.26.0
32158 configure.ac | 4 ++--
32159 1 file changed, 2 insertions(+), 2 deletions(-)
32161 commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2
32162 Author: John Stowers <john.stowers@gmail.com>
32163 Date: Fri Sep 24 22:44:03 2010 +1200
32165 Wrap g_get_system_{config,data}_dirs ()
32167 * Also tidy up g_get_{cache,config,data}_dir
32168 to share common code
32170 glib/glibmodule.c | 68
32171 ++++++++++++++++++++++++++++++++++++++++---------------
32172 1 file changed, 50 insertions(+), 18 deletions(-)
32174 commit 328aca600714bdca89dfdb531c222ee561ede27e
32175 Author: John (J5) Palmieri <johnp@redhat.com>
32176 Date: Fri Sep 24 12:16:22 2010 -0400
32178 fixed make check and make dist
32180 tests/Makefile.am | 31 ++++++++++++++++++-------------
32181 1 file changed, 18 insertions(+), 13 deletions(-)
32183 commit 27023fd56148dd17b5576c1e81e0fe851d9b8727
32184 Author: John Stowers <john.stowers@gmail.com>
32185 Date: Fri Sep 24 21:20:53 2010 +1200
32187 Disable GI tests when introspection disabled
32189 tests/Makefile.am | 2 ++
32190 1 file changed, 2 insertions(+)
32192 commit 7fe831081cdd2e26f5d948326b9f89ea0694e752
32193 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
32194 Date: Sat Jul 18 19:35:08 2009 +0200
32196 Wrap g_uri_list_extract_uris. Fixes bug #584431
32198 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++
32199 gobject/__init__.py | 2 +-
32200 tests/Makefile.am | 3 ++-
32201 tests/test_uris.py | 15 +++++++++++++++
32202 4 files changed, 56 insertions(+), 2 deletions(-)
32204 commit d6721a59c294f2471142b8c32de2f647b7084bca
32205 Author: Paul Bolle <pebolle@tiscali.nl>
32206 Date: Thu Sep 23 15:38:40 2010 -0400
32208 Fix a few uses of TRUE and FALSE in the docs
32210 docs/reference/pygio-mount.xml | 5 +++--
32211 docs/reference/pyglib-functions.xml | 18 +++++++++---------
32212 docs/reference/pyglib-maincontext.xml | 12 ++++++------
32213 docs/reference/pyglib-mainloop.xml | 6 +++---
32214 docs/reference/pygobject-functions.xml | 6 +++---
32215 docs/reference/pygobject.xml | 4 ++--
32216 6 files changed, 26 insertions(+), 25 deletions(-)
32218 commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0
32219 Author: Damien Caliste <damien.caliste@cea.fr>
32220 Date: Tue Sep 21 17:52:14 2010 +0200
32222 pygi: always free the invocation_state struct
32224 In pygi-invoke.c, the invocation_state struct is never freed
32225 in case of success. Thus, always call _free_invocation_state()
32227 Modify _free_invocation_state to avoid double free in case of
32228 caller-allocated GValue, once as a released argument in the
32229 _process routine and another time in the _free as the special
32230 case. So move all argument releasing code from the _process
32231 routine to the _free one.
32232 Modify the tests for the callback routines to return an integer
32233 value as specified in the GIR file.
32235 Make check is as successful as before (already existing error
32236 related to GVariant is still there).
32238 https://bugzilla.gnome.org/show_bug.cgi?id=630271
32240 gi/pygi-invoke.c | 83
32241 +++++++++++++++++++++---------------------------
32242 tests/test_everything.py | 4 ++-
32243 2 files changed, 40 insertions(+), 47 deletions(-)
32245 commit 9714d765a34e246899f11b6792eea3aecce0b7ec
32246 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32247 Date: Mon Sep 13 16:36:47 2010 +0200
32249 Start implementing something equivalent to g_variant_new
32251 https://bugzilla.gnome.org/show_bug.cgi?id=629367
32253 gi/gimodule.c | 20 +++++++
32254 gi/overrides/GLib.py | 131
32255 ++++++++++++++++++++++++++++++++++++++++++---
32256 gi/pygi-foreign-gvariant.c | 2 +-
32257 tests/test_everything.py | 16 ------
32258 tests/test_overrides.py | 25 +++++++++
32259 5 files changed, 170 insertions(+), 24 deletions(-)
32261 commit fc45abdd9b55ab63556798ab0f04715be79dba08
32262 Author: John (J5) Palmieri <johnp@redhat.com>
32263 Date: Thu Sep 23 10:49:36 2010 -0400
32265 fixed typo - missing comma in glib.option module
32267 * https://bugzilla.gnome.org/show_bug.cgi?id=627449
32269 glib/option.py | 2 +-
32270 1 file changed, 1 insertion(+), 1 deletion(-)
32272 commit 4ed100f3183c6325dd04461484e877bb7d4131b1
32273 Author: John (J5) Palmieri <johnp@redhat.com>
32274 Date: Fri Sep 17 12:08:09 2010 -0400
32276 add checks so we can compile under python 3 by setting PYTHON=python3
32278 * compile for python 3
32279 * disables gio if compiling under python 3.x
32280 * runs only pertinant tests
32282 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32284 configure.ac | 32 +++++++++++++++++++++++++++++---
32285 tests/Makefile.am | 35 ++++++++++++++++++++---------------
32286 tests/runtests.py | 4 ++++
32287 3 files changed, 53 insertions(+), 18 deletions(-)
32289 commit 269ff8564eeb597dc06c27e293354b7ff7a71a82
32290 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32291 Date: Fri Sep 17 15:50:47 2010 +0200
32293 Rename static methods as functions
32295 In recent gobject-introspection releases, static methods have been
32296 removed and placed as functions in the namespace level. In a future
32297 releases it's planned to become static methods again but for now
32298 let's fix the tests.
32300 tests/test_gi.py | 14 +++++++-------
32301 1 file changed, 7 insertions(+), 7 deletions(-)
32303 commit 2da8da589644d6125101210712defb1272a8abb1
32304 Author: John (J5) Palmieri <johnp@redhat.com>
32305 Date: Thu Sep 9 13:52:14 2010 -0400
32307 fix a couple of compiler warnings
32309 https://bugzilla.gnome.org/show_bug.cgi?id=629199
32311 gi/pygi-argument.c | 4 ++--
32312 gi/pygi-struct.c | 2 +-
32313 gobject/gobjectmodule.c | 2 +-
32314 3 files changed, 4 insertions(+), 4 deletions(-)
32316 commit 6769a4704f0876ac3baacd4da03ff16d9f0906be
32317 Author: John (J5) Palmieri <johnp@redhat.com>
32318 Date: Thu Sep 9 13:55:17 2010 -0400
32322 * we use richcompare now
32324 https://bugzilla.gnome.org/show_bug.cgi?id=629198
32326 gobject/pygtype.c | 9 ---------
32327 1 file changed, 9 deletions(-)
32329 commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d
32330 Author: John (J5) Palmieri <johnp@redhat.com>
32331 Date: Tue Sep 14 14:10:49 2010 -0400
32333 Check the type of the instance object
32335 * in python 2 methods were added to classes as unbound methods and
32337 check the instance type to make sure it was correct
32338 * in python 3 for perfomance reasons methods are added to classes
32340 functions which treat the instance as an untyped argument so
32343 * this patch adds a type check so that the correct errors are
32345 python 3 (python 2 this just adds another layer of redundancy should
32346 something change with type checking in the future)
32347 * since GI handles regular args and the instance arg slightly
32349 we had to split out the interface checks in
32350 _pygi_g_type_info_check_object
32351 in order to not duplicate code
32353 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32355 gi/pygi-argument.c | 182
32356 ++++++++++++++++++++++++++++-------------------------
32357 gi/pygi-argument.h | 2 +
32358 gi/pygi-invoke.c | 14 +++++
32359 3 files changed, 112 insertions(+), 86 deletions(-)
32361 commit 5d79498d38b147b66ae72c1481e397160491e8d6
32362 Author: John (J5) Palmieri <johnp@redhat.com>
32363 Date: Wed Sep 15 10:26:20 2010 -0400
32365 include the correct pycairo version
32367 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32369 gi/pygi-foreign-cairo.c | 6 ++++++
32370 1 file changed, 6 insertions(+)
32372 commit b855562e5c0019cd7e4982fe00c467ede9e3926d
32373 Author: John (J5) Palmieri <johnp@redhat.com>
32374 Date: Thu Sep 9 22:16:58 2010 -0400
32376 Use PyMapping_Keys to determine if an object is a dict (py3k fix)
32378 * in Py3k PyMapping_Check returns true for sequences such as strings
32379 and lists. Since we need to get the keys anyway, and it returns
32380 NULL if this is not a dict, this is a much better test, even in
32383 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32385 gi/pygi-argument.c | 10 +++-------
32386 1 file changed, 3 insertions(+), 7 deletions(-)
32388 commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd
32389 Author: John (J5) Palmieri <johnp@redhat.com>
32390 Date: Thu Sep 9 18:44:11 2010 -0400
32392 fix handling of UINT64 and INT64 arguments in py3k
32394 * decode to the right sized C long
32396 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32398 gi/pygi-argument.c | 20 ++++++++++++--------
32399 1 file changed, 12 insertions(+), 8 deletions(-)
32401 commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e
32402 Author: John (J5) Palmieri <johnp@redhat.com>
32403 Date: Thu Sep 9 17:35:10 2010 -0400
32405 properly handle ulongs properties in py3k
32407 * If this is a PyLong object pull use AsUnsignedLong
32409 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32411 gobject/pygtype.c | 29 ++++++++++++++++-------------
32412 1 file changed, 16 insertions(+), 13 deletions(-)
32414 commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2
32415 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32416 Date: Fri Sep 17 12:14:56 2010 +0200
32418 Specify encoding of tests/test_gi.py
32420 tests/test_gi.py | 3 ++-
32421 1 file changed, 2 insertions(+), 1 deletion(-)
32423 commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f
32424 Author: John (J5) Palmieri <johnp@redhat.com>
32425 Date: Thu Sep 9 13:24:30 2010 -0400
32427 use actual unicode in the tests on py3k, not the byte representation
32429 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32431 tests/test_gi.py | 6 +++++-
32432 1 file changed, 5 insertions(+), 1 deletion(-)
32434 commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4
32435 Author: John (J5) Palmieri <johnp@redhat.com>
32436 Date: Thu Sep 9 12:45:21 2010 -0400
32438 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object
32441 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method
32443 with both the METH_VARARGS and METH_KEYWORDS flags.
32445 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32447 glib/pygiochannel.c | 30 +++++++++++++++---------------
32448 glib/pygsource.c | 4 ++--
32449 gobject/pygobject.c | 2 +-
32450 3 files changed, 18 insertions(+), 18 deletions(-)
32452 commit b5ee20afa4399c7689fbec8939fa20b927eeb782
32453 Author: John (J5) Palmieri <johnp@redhat.com>
32454 Date: Thu Sep 9 08:04:40 2010 -0400
32456 fix subclassing PyLong by calling __new__ correctly
32458 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32460 glib/pygspawn.c | 4 ++--
32461 1 file changed, 2 insertions(+), 2 deletions(-)
32463 commit a499b2f0d622b671bd154544f66b73f1278e66ed
32464 Author: John (J5) Palmieri <johnp@redhat.com>
32465 Date: Thu Sep 9 07:56:44 2010 -0400
32467 minor py3k fixups for python modules
32469 * add _basestring and _bytes and _callable wrappers
32470 * use items instead of iteritems and range instead of xrange
32474 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32476 gi/overrides/Gtk.py | 24 ++++++++++++++++--------
32477 glib/option.py | 16 ++++++++++++----
32478 2 files changed, 28 insertions(+), 12 deletions(-)
32480 commit dec9001d26c97949e7b3578086cb35e98075c047
32481 Author: John (J5) Palmieri <johnp@redhat.com>
32482 Date: Thu Sep 9 07:36:04 2010 -0400
32484 minor fixes in tests for py3k compat
32486 * add a _bytes wrapper for API that expects bytes in py3k but str
32488 * fix some more exception handling using sys.exc_info()[:2]
32489 * use range instead of xrange, items instead of iteritems since py3k
32490 dropped support for the different ways of accessing iterators
32491 - this is less efficient in py2 but we plan to target py3k as the
32493 * use list(dict.items()) since py3k only returns iterables which
32496 * missed some _long wrapping
32498 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32500 tests/compathelper.py | 18 ++++++++++++++++++
32501 tests/test_everything.py | 5 +++--
32502 tests/test_mainloop.py | 3 ++-
32503 tests/test_option.py | 6 ++++--
32504 tests/test_overrides.py | 4 ++--
32505 tests/test_properties.py | 6 +++---
32506 6 files changed, 32 insertions(+), 10 deletions(-)
32508 commit 09a0daeedf49eaf376c1288be5743b57fbc76d51
32509 Author: Colin Walters <walters@verbum.org>
32510 Date: Thu Sep 9 16:25:51 2010 -0400
32512 compilation: Fix syntax error
32514 gi/pygi-info.c | 2 +-
32515 1 file changed, 1 insertion(+), 1 deletion(-)
32517 commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc
32518 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32519 Date: Thu Sep 9 22:17:00 2010 +0200
32523 gi/overrides/GLib.py | 48
32524 ++++++++++++++++++++++++++++++++++++++++++++++++
32525 1 file changed, 48 insertions(+)
32527 commit 306b792ac97a458ddee59fb86d66453495117f3e
32528 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32529 Date: Thu Jul 22 13:48:51 2010 +0100
32531 Add override for GLib.Variant.new_tuple
32533 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple
32534 * gi/overrides/GLib.py: Override Variant.new_tuple and
32536 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from
32537 _pygi_type_import_by_gi_info
32538 * gi/types.py: Never override gobject.TYPE_NONE
32539 * tests/test_everything.py: Add tests for GVariant tuples
32541 https://bugzilla.gnome.org/show_bug.cgi?id=625050
32543 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++
32544 gi/overrides/Makefile.am | 1 +
32545 gi/pygi-type.c | 15 +++++++++------
32546 gi/pygi-type.h | 2 ++
32548 tests/test_everything.py | 9 +++++++++
32549 6 files changed, 60 insertions(+), 6 deletions(-)
32551 commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f
32552 Author: John (J5) Palmieri <johnp@redhat.com>
32553 Date: Wed Sep 8 13:08:48 2010 -0400
32555 fix for changes in the gi test libraries
32557 tests/test_everything.py | 2 +-
32558 1 file changed, 1 insertion(+), 1 deletion(-)
32560 commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d
32561 Author: John (J5) Palmieri <johnp@redhat.com>
32562 Date: Wed Sep 8 13:08:07 2010 -0400
32564 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0
32566 gi/overrides/Gtk.py | 10 ++++++++--
32567 1 file changed, 8 insertions(+), 2 deletions(-)
32569 commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22
32570 Author: John (J5) Palmieri <johnp@redhat.com>
32571 Date: Wed Sep 8 12:35:09 2010 -0400
32573 no need to offset arg positions when is_method is true
32575 * The old GI libraries required we offset arg positions for the
32577 self argument. The new library fixes this so we don't have
32581 https://bugzilla.gnome.org/show_bug.cgi?id=629087
32583 gi/pygi-callbacks.c | 5 +----
32584 1 file changed, 1 insertion(+), 4 deletions(-)
32586 commit 8c517de2d278bdef641c72b8f2919a3924290ec1
32587 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32588 Date: Fri Aug 20 14:54:35 2010 +0200
32590 gi: Add support for more property types
32592 https://bugzilla.gnome.org/show_bug.cgi?id=627494
32594 gi/pygi-property.c | 156
32595 ++++++++++++++++++++++++++++++++++++-----------
32596 tests/test_everything.py | 34 +++++++++++
32597 2 files changed, 154 insertions(+), 36 deletions(-)
32599 commit 6d183d1fff55d54569ba3e1f90a10284df74fd40
32600 Author: John (J5) Palmieri <johnp@redhat.com>
32601 Date: Fri Sep 3 12:04:16 2010 -0400
32603 use PyObject_SetAttrString, not PyDict_SetItemString when setting
32606 * When registering a gtype wrapper we used to set tp_dict
32607 directly. This works
32608 in python 2 but python 3 seems to handle attributes in a slightly
32610 way where the tp_dict and attr get out of sync. By setting the attr
32611 directly we avoid this issue.
32612 * Note that there are many more places where we set __gtype__
32614 however for objects which are not instantiated yet we have to
32617 * Since this one change fixes a lot of failed tests, for now we
32619 other places where we set __gtype__. If we run into more issues
32621 with __gtype__ we can take a closer look later.
32623 https://bugzilla.gnome.org/show_bug.cgi?id=627878
32625 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32627 gobject/gobjectmodule.c | 2 +-
32628 1 file changed, 1 insertion(+), 1 deletion(-)
32630 commit b7bf4269682a3335f5e0a52b46fa721af134d09a
32631 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32632 Date: Wed Sep 1 11:03:40 2010 +0200
32634 Rename GArgument to GIArgument
32636 gi/pygi-argument.c | 52
32637 +++++++++++++++++++++++-----------------------
32638 gi/pygi-argument.h | 10 ++++-----
32639 gi/pygi-closure.c | 34 +++++++++++++++---------------
32640 gi/pygi-foreign-cairo.c | 8 +++----
32641 gi/pygi-foreign-gvariant.c | 4 ++--
32642 gi/pygi-foreign-gvariant.h | 4 ++--
32643 gi/pygi-foreign.c | 12 +++++------
32644 gi/pygi-foreign.h | 8 +++----
32645 gi/pygi-info.c | 8 +++----
32646 gi/pygi-invoke.c | 28 ++++++++++++-------------
32647 gi/pygi-property.c | 4 ++--
32648 gi/pygi.h | 16 +++++++-------
32649 12 files changed, 94 insertions(+), 94 deletions(-)
32651 commit 7197f85c9be2b03636639ac909ca2c3170653509
32652 Author: John (J5) Palmieri <johnp@redhat.com>
32653 Date: Wed Aug 18 10:29:19 2010 -0400
32655 fix up tests so they run in py3k
32657 * add a compat helper that should only be used by tests
32658 * fix long notation to use the compat helper instead
32659 * add parens to print statements
32660 * use compatable try/except pattern
32662 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32664 gobject/propertyhelper.py | 16 +++++++++++-----
32665 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++
32666 tests/test_option.py | 7 ++++++-
32667 tests/test_properties.py | 24 ++++++++++++++----------
32668 tests/test_signal.py | 14 +++++++-------
32669 tests/test_source.py | 4 ++--
32670 6 files changed, 72 insertions(+), 25 deletions(-)
32672 commit 720e614acdbcf734d4bcccc403e639b5a5bcae24
32673 Author: Colin Walters <walters@verbum.org>
32674 Date: Fri Aug 20 10:58:48 2010 -0400
32676 tests: Port to new introspection tests
32678 Everything is renamed "Regress", and both it and GIMarshallingTests
32679 are now in source form, so we compile them.
32681 The scanner now adds "static methods" to objects, structs, and unions,
32682 so update the test code to use those.
32684 In the tests, remove broken (inout) cases - the person writing these
32685 tests misunderstood the semantics of (inout). It's not acceptable for
32686 a C API to mutate e.g. a GSList* passed in, or unref an object.
32688 The invocation code needed to be updated for this - remove some
32691 https://bugzilla.gnome.org/show_bug.cgi?id=627878
32693 configure.ac | 5 +-
32694 gi/pygi-argument.c | 9 +--
32695 gi/pygi-invoke.c | 147
32696 +++++----------------------------------------
32697 tests/Makefile.am | 42 ++++++++++++-
32698 tests/test_everything.py | 6 +-
32699 tests/test_gi.py | 151
32700 +++++++++--------------------------------------
32701 6 files changed, 93 insertions(+), 267 deletions(-)
32703 commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd
32704 Author: John (J5) Palmieri <johnp@redhat.com>
32705 Date: Fri Aug 20 10:43:58 2010 -0400
32707 we need to specify tp_hash since we overide tp_richcompare
32709 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32711 gobject/pygenum.c | 1 +
32712 gobject/pygflags.c | 1 +
32713 2 files changed, 2 insertions(+)
32715 commit c03e6b482548aee99362356807c804f8834fad2b
32716 Author: John Ehresman <jpe@wingware.com>
32717 Date: Thu Apr 15 17:11:30 2010 -0400
32719 working enum/flags/pid subclasses of long
32721 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32723 glib/pygspawn.c | 7 ++---
32724 gobject/pygenum.c | 61 ++++++++++++++++++++++++-------------------
32725 gobject/pygflags.c | 76
32726 +++++++++++++++++++++++-------------------------------
32727 3 files changed, 71 insertions(+), 73 deletions(-)
32729 commit 0db676fd2296750a46ba0fb069e472da06ecc53a
32730 Author: John (J5) Palmieri <johnp@redhat.com>
32731 Date: Wed Aug 18 11:03:32 2010 -0400
32733 make vfuncs work in py3k
32735 * methods now export __func__ instead of im_func for getting the
32737 out of a method closure
32738 * however classes no longer return unbound methods in py3k and instead
32739 return the actual function
32740 * in python 2 we use im_func when getting the function from the
32742 * in py3k we simply assign vfunc to the function
32744 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32746 gi/types.py | 12 ++++++++----
32747 1 file changed, 8 insertions(+), 4 deletions(-)
32749 commit 286dcd0c6455961d818ac7f05f80f82435abc1dc
32750 Author: John (J5) Palmieri <johnp@redhat.com>
32751 Date: Tue Aug 17 15:43:42 2010 -0400
32753 make cairo module compile in py3k
32755 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32757 gi/Makefile.am | 2 +-
32758 gi/pygi-foreign-cairo.c | 17 +++++++----------
32759 2 files changed, 8 insertions(+), 11 deletions(-)
32761 commit bda58ec34fc443fe1108afc8532bec50f6fd0b44
32762 Author: John (J5) Palmieri <johnp@redhat.com>
32763 Date: Tue Aug 17 02:33:45 2010 -0400
32765 fix exceptions so they work in python 3.x
32767 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32769 gi/module.py | 2 +-
32771 2 files changed, 2 insertions(+), 2 deletions(-)
32773 commit 427a3c8053feca35ccd746575760ac8a0ed50a12
32774 Author: John (J5) Palmieri <johnp@redhat.com>
32775 Date: Tue Aug 17 02:24:44 2010 -0400
32777 make the gi module compile under 3.x
32779 * include the compat macros
32780 * use GLIB_MODULE_START/END to define module
32781 * add PyInit__gi to the exported symbols
32783 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32785 gi/Makefile.am | 2 +-
32786 gi/gimodule.c | 24 +++++++++---------------
32787 2 files changed, 10 insertions(+), 16 deletions(-)
32789 commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db
32790 Author: John (J5) Palmieri <johnp@redhat.com>
32791 Date: Tue Aug 17 02:14:14 2010 -0400
32793 fix up testshelper module so it compiles in python 3.x
32795 * include the compat header
32796 * fix up PyInts to be PYGLIB_Long
32797 * Use PYGLIB_DEFINE_TYPE macros to define module objects
32798 * Use PYGLIB_MODULE_START/END to define modules
32800 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32802 tests/Makefile.am | 2 +-
32803 tests/testhelpermodule.c | 221
32804 ++++++-----------------------------------------
32805 2 files changed, 28 insertions(+), 195 deletions(-)
32807 commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7
32808 Author: John (J5) Palmieri <johnp@redhat.com>
32809 Date: Mon Aug 16 21:14:27 2010 -0400
32811 convert to using PYGLIB_DEFINE_TYPE for module objects
32813 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32815 gi/pygi-boxed.c | 43 ++-----------
32816 gi/pygi-info.c | 171
32817 ++++++++++++++++++++-------------------------------
32818 gi/pygi-repository.c | 39 +++---------
32819 gi/pygi-struct.c | 45 +++-----------
32820 4 files changed, 88 insertions(+), 210 deletions(-)
32822 commit 1efa2b12913b194d433c17014bc1077271a6ca32
32823 Author: John (J5) Palmieri <johnp@redhat.com>
32824 Date: Mon Aug 16 13:51:05 2010 -0400
32826 some more p3k PyString and PyInt eradication in GI
32828 * add the glib dir to the includes list in the build
32829 * make sure we include the compat macros
32830 * add GLIB_PyBytes_FromString to compat macros
32831 * add GLIB_PyNumber_Long to compat macros
32832 * use RichCompare instead of Compare
32834 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32836 gi/Makefile.am | 2 +-
32837 gi/pygi-argument.c | 96
32838 +++++++++++++++++++++++++++------------------
32839 gi/pygi-boxed.c | 1 +
32840 gi/pygi-info.c | 13 +++---
32841 gi/pygi-private.h | 23 +++++++++++
32842 gi/pygi-repository.c | 8 ++--
32843 gi/pygi-struct.c | 1 +
32844 glib/pyglib-python-compat.h | 6 +++
32845 8 files changed, 103 insertions(+), 47 deletions(-)
32847 commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa
32848 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32849 Date: Fri Aug 20 09:28:57 2010 +0200
32851 pyglib: Fix typo (Leo Singer)
32853 https://bugzilla.gnome.org/show_bug.cgi?id=627408
32855 glib/option.py | 4 ++--
32856 1 file changed, 2 insertions(+), 2 deletions(-)
32858 commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3
32859 Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
32860 Date: Thu Aug 19 18:45:05 2010 -0300
32862 Add defines for size_t and ssize_t conversion functions
32864 These missing defines cause the resulting module to have unresolved
32865 symbols, rendering it unusable.
32867 https://bugzilla.gnome.org/show_bug.cgi?id=627440
32869 glib/pyglib-python-compat.h | 2 ++
32870 1 file changed, 2 insertions(+)
32872 commit d45c7031876f355e15409f00f3e50e77d18f8f4b
32873 Author: Colin Walters <walters@verbum.org>
32874 Date: Thu Aug 19 17:50:35 2010 -0400
32876 pyglib: Fix a compiler warning
32878 glib/pyglib.c | 1 +
32879 1 file changed, 1 insertion(+)
32881 commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9
32882 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
32883 Date: Wed Aug 18 20:36:51 2010 +0200
32885 Don't force gtk 2.0
32887 pygi-convert.sh | 11 +++++++----
32888 1 file changed, 7 insertions(+), 4 deletions(-)
32890 commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5
32891 Author: Steve Frécinaux <code@istique.net>
32892 Date: Tue Aug 17 14:49:30 2010 +0200
32894 Fix some ref leaks in hook_up_vfunc_implementation()
32896 https://bugzilla.gnome.org/show_bug.cgi?id=627143
32898 gi/gimodule.c | 9 +++++++--
32899 1 file changed, 7 insertions(+), 2 deletions(-)
32901 commit 18ee0db673c2fa42244ab85950bbf4840edb674b
32902 Author: John (J5) Palmieri <johnp@redhat.com>
32903 Date: Thu Aug 12 12:16:31 2010 -0400
32905 handle strings correctly in gio
32907 gio/gappinfo.override | 5 +++++
32908 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++-------
32909 2 files changed, 40 insertions(+), 7 deletions(-)
32911 commit 45ab0c03110c911b47519941dfd753326891b5e0
32912 Author: John (J5) Palmieri <johnp@redhat.com>
32913 Date: Wed Aug 11 16:13:59 2010 -0400
32915 make giomodule compile under py3k
32917 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32919 gio/giomodule.c | 153
32920 +++++++++++++++++++++++++++++---------------------------
32921 1 file changed, 78 insertions(+), 75 deletions(-)
32923 commit c52f8ed3ae8cb66a03b5695e980770c3f467f755
32924 Author: John (J5) Palmieri <johnp@redhat.com>
32925 Date: Wed Aug 11 16:04:48 2010 -0400
32927 for py3k we need to do some more processing to get bytes from a
32930 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32932 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++----
32933 1 file changed, 27 insertions(+), 4 deletions(-)
32935 commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb
32936 Author: John (J5) Palmieri <johnp@redhat.com>
32937 Date: Wed Aug 11 15:03:55 2010 -0400
32939 use Bytes instead of Unicode when reading io
32941 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32943 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------
32944 1 file changed, 24 insertions(+), 6 deletions(-)
32946 commit 5824ff98175b749dbcfa72d24b994230b6e05377
32947 Author: John (J5) Palmieri <johnp@redhat.com>
32948 Date: Mon Aug 9 15:16:51 2010 -0400
32950 prefix compat macros with PYGLIB
32952 * refactor from John Ehresman <jpe@wingware.com> py3k branch
32953 * fix up some extranious PyString calls
32954 * remove duplicate macros from pyglib.h that are in
32955 pyglib-python-compat.h
32956 * pygobject.h can't import pyglib-python-compat.h so add codepaths
32957 for both Py3k and legacy code instead of using macros
32959 https://bugzilla.gnome.org/show_bug.cgi?id=615872
32961 glib/glibmodule.c | 48 +++++-----
32962 glib/pygiochannel.c | 46 +++++-----
32963 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++--------
32964 glib/pyglib.c | 22 ++---
32965 glib/pyglib.h | 14 ---
32966 glib/pygoptioncontext.c | 4 +-
32967 glib/pygsource.c | 16 ++--
32968 glib/pygspawn.c | 32 +++----
32969 gobject/gobjectmodule.c | 216
32970 ++++++++++++++++++++++----------------------
32971 gobject/pygboxed.c | 2 +-
32972 gobject/pygenum.c | 84 ++++++++---------
32973 gobject/pygflags.c | 122 ++++++++++++-------------
32974 gobject/pygobject-private.h | 12 +--
32975 gobject/pygobject.c | 46 +++++-----
32976 gobject/pygobject.h | 23 +++++
32977 gobject/pygparamspec.c | 24 ++---
32978 gobject/pygpointer.c | 2 +-
32979 gobject/pygtype.c | 170 +++++++++++++++++-----------------
32980 18 files changed, 563 insertions(+), 473 deletions(-)
32982 commit 231e934cc01d061e81bb60d35127a133cd0e1793
32983 Author: John (J5) Palmieri <johnp@redhat.com>
32984 Date: Mon Aug 16 10:14:04 2010 +0200
32986 Gtk.Button unit tests
32988 https://bugzilla.gnome.org/show_bug.cgi?id=622606
32990 tests/test_overrides.py | 10 ++++++++++
32991 1 file changed, 10 insertions(+)
32993 commit f07cfde377e42686c6b80f56cac62338ee333e61
32994 Author: Johan Dahlin <johan@gnome.org>
32995 Date: Mon Aug 16 10:08:38 2010 +0200
32997 [Gtk] Add overrides for Button
32999 https://bugzilla.gnome.org/show_bug.cgi?id=622606
33001 gi/overrides/Gtk.py | 13 +++++++++++++
33002 1 file changed, 13 insertions(+)
33004 commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6
33005 Author: Simon van der Linden <svdlinden@gnome.org>
33006 Date: Thu Aug 12 16:18:58 2010 +0200
33008 Make Cairo an optional dependency
33010 Add the --enable-cairo configure argument.
33012 https://bugzilla.gnome.org/show_bug.cgi?id=616732
33014 configure.ac | 15 ++++++++++++---
33015 gi/Makefile.am | 20 ++++++++++++--------
33016 2 files changed, 24 insertions(+), 11 deletions(-)
33018 commit b83507263231d9bf47f6c8450583e3d03f0a3b5b
33019 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33020 Date: Mon Aug 16 09:55:35 2010 +0200
33022 Don't import again PyGObject (John Ralls)
33024 https://bugzilla.gnome.org/show_bug.cgi?id=626996
33027 1 file changed, 1 insertion(+)
33029 commit 0dc3656070f496431829c6e8441ca17129c569f8
33030 Author: John (J5) Palmieri <johnp@redhat.com>
33031 Date: Mon Aug 9 16:11:55 2010 -0400
33033 move to using richcompare slot instead of compare
33035 https://bugzilla.gnome.org/show_bug.cgi?id=615872
33037 glib/pygiochannel.c | 18 +++++++----
33039 +++++++++++++++++++++++++++++++++++++++++++++++++
33040 glib/pyglib.h | 3 ++
33041 glib/pygmaincontext.c | 17 ++++++----
33042 glib/pygmainloop.c | 17 ++++++----
33043 glib/pygoptioncontext.c | 18 +++++++----
33044 glib/pygoptiongroup.c | 22 +++++++------
33045 gobject/pygboxed.c | 18 +++++++----
33046 gobject/pygobject.c | 44 ++++++++++++++++++-------
33047 gobject/pygparamspec.c | 19 +++++++----
33048 gobject/pygpointer.c | 17 ++++++----
33049 gobject/pygtype.c | 26 +++++++++++----
33050 12 files changed, 233 insertions(+), 71 deletions(-)
33052 commit b426e531dc53d4b50e572a2da19733479635e662
33053 Author: Simon van der Linden <svdlinden@gnome.org>
33054 Date: Thu Aug 12 18:09:33 2010 +0200
33056 Replace autogen.sh by a newer version
33058 It pulls automake 1.10 or 1.11.
33059 Greatly inspired from GLib's.
33061 https://bugzilla.gnome.org/show_bug.cgi?id=625661
33064 +++++++------------------------------------------------------
33065 1 file changed, 58 insertions(+), 448 deletions(-)
33067 commit 769645e00d6d055a4cd802454dbfc1bbfcbee691
33068 Author: Simon van der Linden <svdlinden@gnome.org>
33069 Date: Thu Aug 12 14:11:55 2010 +0200
33073 pyglib.c: In function ‘pyglib_gerror_exception_check’:
33074 pyglib.c:362: warning: format not a string literal and no format
33076 pyglib.c:371: warning: format not a string literal and no format
33079 gio.override: In function 'pygio_notify_allocate_buffer':
33080 gio.override:144:13: warning: format '%d' expects type 'int', but
33084 https://bugzilla.gnome.org/show_bug.cgi?id=625437
33086 gio/gio.override | 2 +-
33087 glib/pyglib.c | 4 ++--
33088 2 files changed, 3 insertions(+), 3 deletions(-)
33090 commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc
33091 Author: Simon van der Linden <svdlinden@gnome.org>
33092 Date: Thu Aug 12 11:09:37 2010 +0200
33094 Fix caller-allocates emergency free.
33096 In the state, args, args[i], arg_infos[i], and arg_type_infos[i]
33098 NULL in order to be able caller-allocates. This patch adds those
33101 Moreover, the interface info needs to be freed afterwards.
33103 https://bugzilla.gnome.org/show_bug.cgi?id=626684
33105 gi/pygi-invoke.c | 9 ++++++++-
33106 1 file changed, 8 insertions(+), 1 deletion(-)
33108 commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda
33109 Author: Simon van der Linden <svdlinden@gnome.org>
33110 Date: Thu Aug 12 10:46:17 2010 +0200
33112 Remove useless checks.
33114 No need to check for state->arg_infos, state->arg_type_infos, and
33115 state->args_is_auxiliary to be NULL, they are always allocated.
33117 https://bugzilla.gnome.org/show_bug.cgi?id=626684
33119 gi/pygi-invoke.c | 14 +++-----------
33120 1 file changed, 3 insertions(+), 11 deletions(-)
33122 commit e17be9cd288fee5d7cb174d9d577eb9279044c67
33123 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33124 Date: Tue Aug 10 17:40:16 2010 +0200
33126 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly
33128 tests/Makefile.am | 2 +-
33129 1 file changed, 1 insertion(+), 1 deletion(-)
33131 commit 8be59c37dd57acc51875c7189ca09d728b729013
33132 Author: Ignacio Casal Quinteiro <icq@gnome.org>
33133 Date: Wed Aug 4 13:43:17 2010 +0200
33137 gi/pygi-argument.c | 2 --
33138 gi/pygi-invoke.c | 2 +-
33139 gi/pygi-struct.c | 1 -
33140 3 files changed, 1 insertion(+), 4 deletions(-)
33142 commit 529eca6054e9a7e2267f1529e317c2373932762f
33143 Author: Simon van der Linden <svdlinden@gnome.org>
33144 Date: Fri Jul 30 22:39:40 2010 +0200
33146 Add myself as a maintainer
33148 MAINTAINERS | 4 ++++
33149 1 file changed, 4 insertions(+)
33151 commit caac75a6ed6f671b37e38a78e71b87906a00ac1b
33152 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33153 Date: Fri Jul 30 14:14:16 2010 +0200
33155 Properly allocate boxed structs that are (caller-allocates)
33157 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs
33158 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that
33159 are (caller-allocates)
33160 * tests/test_overrides.py: Split the TreeView tests
33162 https://bugzilla.gnome.org/show_bug.cgi?id=625653
33164 gi/pygi-boxed.c | 50
33165 ++++++++++++++++++++++++++++++++-----------------
33166 gi/pygi-boxed.h | 10 ++++++----
33167 gi/pygi-invoke.c | 16 ++++++----------
33168 tests/test_overrides.py | 39 +++++++++++++++++++-------------------
33169 4 files changed, 64 insertions(+), 51 deletions(-)
33171 commit 99c7322898c00a576c7319ea0a7c808446253133
33172 Author: Toms Baugis <toms.baugis@gmail.com>
33173 Date: Fri Jul 30 15:44:21 2010 +0200
33175 override gdk.Event to return attribute from the proper event object
33177 https://bugzilla.gnome.org/show_bug.cgi?id=620593
33179 gi/overrides/Gdk.py | 48
33180 ++++++++++++++++++++++++++++++++++++++++++++++++
33181 gi/pygi-invoke.c | 4 ----
33182 tests/test_overrides.py | 10 ++++++++++
33183 3 files changed, 58 insertions(+), 4 deletions(-)
33185 commit 55814e722c2ae11310f346790c9221e4fad92b50
33186 Author: John (J5) Palmieri <johnp@redhat.com>
33187 Date: Fri Jul 30 06:30:48 2010 -0400
33189 check if z# needs an int or Py_ssize_t
33191 https://bugzilla.gnome.org/show_bug.cgi?id=625438
33193 gio/gio.override | 5 +++++
33194 1 file changed, 5 insertions(+)
33196 commit 477315465d0a6d84b51e146e86e254873bc564ff
33197 Author: John (J5) Palmieri <johnp@redhat.com>
33198 Date: Fri Jul 30 06:43:06 2010 -0400
33200 make sure we parse parameters to python object vars not glib vars
33202 * py_flags was already set up but due to a typo &flags was being
33206 https://bugzilla.gnome.org/show_bug.cgi?id=625438
33208 gio/gfile.override | 8 ++++----
33209 1 file changed, 4 insertions(+), 4 deletions(-)
33211 commit faa7d4eece7ddb698725098970c2478a3b45c4d5
33212 Author: Paul Bolle <pebolle@tiscali.nl>
33213 Date: Fri Jul 30 10:56:01 2010 +0200
33215 Make an example and a demo work out of the box
33217 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines
33218 regarding pygtk to work out of the box. So add those.
33220 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
33222 https://bugzilla.gnome.org/show_bug.cgi?id=625638
33224 demos/gtk-demo/gtk-demo.py | 2 ++
33225 examples/cairo-demo.py | 2 ++
33226 2 files changed, 4 insertions(+)
33228 commit c9da5782e6c633d9af43ee85075e9ee65db09780
33229 Author: John (J5) Palmieri <johnp@redhat.com>
33230 Date: Fri Jul 9 13:14:42 2010 -0400
33232 make sure caller allocated structs are freed when they go out of scope
33234 * Move struct transfer checks from pygi-arguments to pygi-invoke
33235 * add better warning if an unknown struct is fully transfered
33236 * only free GValues we create in the invoke cleanup. All other
33238 get cleaned up when they go out of scope in python
33239 * Fixes issues with caller allocated treeiters getting freed to early
33240 * this is a fix to crashes in the current test suite when API's
33242 TreeIters were annotated as out caller-allocates so no new tests
33245 https://bugzilla.gnome.org/show_bug.cgi?id=623969
33247 gi/pygi-argument.c | 13 +++++--------
33248 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------
33249 2 files changed, 45 insertions(+), 14 deletions(-)
33251 commit e0a85305cd107aae5902e524afd074cd8c329927
33252 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33253 Date: Fri Jul 30 10:35:33 2010 +0200
33255 Revert "override gdk.Event to return attribute from the proper
33258 Pushed by mistake, we still need testcases
33260 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6.
33262 gi/overrides/Gdk.py | 44 --------------------------------------------
33263 1 file changed, 44 deletions(-)
33265 commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d
33266 Author: Paul Bolle <pebolle@tiscali.nl>
33267 Date: Thu Jul 29 22:55:28 2010 +0200
33269 PyGI: properly quit cairo-demo
33271 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
33273 https://bugzilla.gnome.org/show_bug.cgi?id=625619
33275 examples/cairo-demo.py | 2 +-
33276 1 file changed, 1 insertion(+), 1 deletion(-)
33278 commit e7bb3954880568884ca66e7751ede689dc2f24f6
33279 Author: Toms Baugis <toms.baugis@gmail.com>
33280 Date: Tue Jul 27 21:37:16 2010 +0200
33282 override gdk.Event to return attribute from the proper event object.
33284 https://bugzilla.gnome.org/show_bug.cgi?id=620593
33286 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++
33287 1 file changed, 44 insertions(+)
33289 commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888
33290 Author: Simon van der Linden <svdlinden@gnome.org>
33291 Date: Wed Jul 28 14:56:00 2010 +0200
33293 Clean and improve the test infrastructure
33295 To run select tests, use for instance:
33296 % make check TEST_NAMES='test_everything test_gi.TestConstant'
33298 It works with check.gdb and check.valgrind too.
33300 https://bugzilla.gnome.org/show_bug.cgi?id=625488
33302 Makefile.am | 5 ----
33303 tests/Makefile.am | 65
33304 +++++++++++++++++++++-------------------------
33305 tests/common.py | 47 ---------------------------------
33306 tests/runtests.py | 43 ++++++++++++------------------
33307 tests/test_gcancellable.py | 4 +--
33308 tests/test_gi.py | 3 ---
33309 tests/test_gicon.py | 3 ++-
33310 tests/test_gio.py | 3 ++-
33311 tests/test_gobject.py | 3 ++-
33312 tests/test_gresolver.py | 4 +--
33313 tests/test_gsocket.py | 4 ++-
33314 tests/test_interface.py | 6 ++++-
33315 tests/test_mainloop.py | 11 +++-----
33316 tests/test_signal.py | 4 ++-
33317 tests/test_source.py | 4 +--
33318 tests/test_subprocess.py | 5 +---
33319 tests/test_thread.py | 5 +++-
33320 tests/test_unknown.py | 5 +++-
33321 18 files changed, 82 insertions(+), 142 deletions(-)
33323 commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76
33324 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33325 Date: Thu Jul 29 12:34:19 2010 +0200
33327 Add some more transformations to pygi-convert.sh
33329 pygi-convert.sh | 37 +++++++++++++++++++++++++++++--------
33330 1 file changed, 29 insertions(+), 8 deletions(-)
33332 commit de519adcd21947a0aef7932cdecb78cef200c85e
33333 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33334 Date: Wed Jul 28 14:42:36 2010 +0200
33336 Adapt to API changes: g_irepository_enumerate_versions
33338 gi/importer.py | 2 +-
33339 gi/pygi-repository.c | 12 ++++++------
33340 2 files changed, 7 insertions(+), 7 deletions(-)
33342 commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3
33343 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33344 Date: Wed Jul 28 12:26:48 2010 +0200
33346 Add GValue<->GArgument marshalling for some more types
33348 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++-
33349 1 file changed, 36 insertions(+), 1 deletion(-)
33351 commit ddffa70c3ee0e837070f390632bc692430f79171
33352 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33353 Date: Wed Jul 28 11:10:42 2010 +0200
33355 Chain up with the non-introspection implementation for properties
33358 gobject/pygobject.c | 7 ++++++-
33359 1 file changed, 6 insertions(+), 1 deletion(-)
33361 commit 045433a1f8167205dc8eae613dcb8835d02c8916
33362 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33363 Date: Wed Jul 28 10:59:49 2010 +0200
33365 Improve error reporting for missing attributes in introspection
33368 gi/module.py | 4 ++--
33369 1 file changed, 2 insertions(+), 2 deletions(-)
33371 commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00
33372 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33373 Date: Tue Jul 27 21:52:49 2010 +0200
33375 Implement getting and setting properties using introspection
33378 This allows us to use information not present in GObject such as
33379 transfer and element types.
33381 https://bugzilla.gnome.org/show_bug.cgi?id=620808
33383 gi/Makefile.am | 2 +
33384 gi/gimodule.c | 2 +
33385 gi/pygi-argument.c | 2 +
33386 gi/pygi-private.h | 1 +
33387 gi/pygi-property.c | 226
33388 +++++++++++++++++++++++++++++++++++++++++++++++
33389 gi/pygi-property.h | 39 ++++++++
33390 gi/pygi.h | 41 +++++++++
33391 gobject/pygobject.c | 9 ++
33392 tests/test_everything.py | 19 ++++
33393 9 files changed, 341 insertions(+)
33395 commit 85f4572b3ffbfa364ebb2e470eab759edc557b36
33396 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33397 Date: Tue Jul 27 21:32:41 2010 +0200
33399 Readd Gdk.Rectangle override for Gtk-2.0
33401 gi/overrides/Gdk.py | 19 +++++++++++++++++++
33402 1 file changed, 19 insertions(+)
33404 commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989
33405 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33406 Date: Tue Jul 27 18:25:27 2010 +0200
33408 Allow specifying a version when loading a typelib
33410 * gi/importer.py: Defer loading the typelib until first usage.
33411 * gi/module.py: Load the typelib in IntrospectionModule().
33412 * gi/overrides/*.py: Adapt to API change.
33413 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and
33414 g_irepository_get_version.
33416 gi/importer.py | 26 ++++++-----------
33418 +++++++++++++++++++++++++-------------
33419 gi/overrides/GIMarshallingTests.py | 2 +-
33420 gi/overrides/Gdk.py | 2 +-
33421 gi/overrides/Gtk.py | 2 +-
33422 gi/pygi-repository.c | 56
33423 +++++++++++++++++++++++++++++++++++-
33424 6 files changed, 105 insertions(+), 41 deletions(-)
33426 commit 6d7ed6c322234c240b1063a1dfaadd17157432a9
33427 Author: Jonathan Matthew <jonathan@d14n.org>
33428 Date: Tue Jul 13 20:27:28 2010 +1000
33430 treat GFreeFunc as equivalent to GDestroyNotify when scanning
33433 https://bugzilla.gnome.org/show_bug.cgi?id=624232
33435 gi/pygi-callbacks.c | 3 ++-
33436 1 file changed, 2 insertions(+), 1 deletion(-)
33438 commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65
33439 Author: Simon van der Linden <svdlinden@gnome.org>
33440 Date: Mon Jul 26 17:00:23 2010 +0200
33442 Don't use == to compare doubles, use <= and =>.
33444 This avoids inequality due to small precisions difference.
33446 https://bugzilla.gnome.org/show_bug.cgi?id=625326
33448 tests/testhelpermodule.c | 2 +-
33449 1 file changed, 1 insertion(+), 1 deletion(-)
33451 commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384
33452 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33453 Date: Thu Jul 8 11:36:12 2010 +0200
33455 Allow passing ints as enum args
33457 https://bugzilla.gnome.org/show_bug.cgi?id=622584
33459 gi/pygi-argument.c | 23 +++++++++++++++++++++--
33460 tests/test_gi.py | 6 ++++--
33461 2 files changed, 25 insertions(+), 4 deletions(-)
33463 commit 890c3233f8a9f884b045a294bf0122bb3afcd54a
33464 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33465 Date: Sun Jul 25 17:30:40 2010 +0100
33467 Make error message less ambiguous
33469 https://bugzilla.gnome.org/show_bug.cgi?id=625095
33471 gi/pygi-callbacks.c | 3 ++-
33472 1 file changed, 2 insertions(+), 1 deletion(-)
33474 commit 1162e436273ff8e9e4e24bd8ba74615fd4624753
33475 Author: John (J5) Palmieri <johnp@redhat.com>
33476 Date: Thu Jun 24 10:07:12 2010 -0400
33478 fix passing in type names as a GType and add gtype unit tests
33480 * a simple call to pyg_type_from_object covers all the bases
33481 * added unit tests to check for correct GType value passing
33482 * fixed up tree override tests to also check different ways of
33485 https://bugzilla.gnome.org/show_bug.cgi?id=622605
33487 gi/pygi-argument.c | 8 +-------
33488 tests/test_everything.py | 27 +++++++++++++++++++++++++++
33489 tests/test_overrides.py | 6 ++----
33490 3 files changed, 30 insertions(+), 11 deletions(-)
33492 commit 8becd32fc042445d62b885bac12dac326b2dc1fa
33493 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33494 Date: Mon Jul 26 11:54:47 2010 +0200
33496 Increase a bit verbosity of tests so people know which test failed
33498 tests/runtests.py | 2 +-
33499 1 file changed, 1 insertion(+), 1 deletion(-)
33501 commit 3b3c63514f311592e6769a373d37a2bde7ea6b38
33502 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33503 Date: Thu Jul 15 15:17:53 2010 +0200
33505 Actually add the files for GVariant foreign structs
33507 gi/pygi-foreign-gvariant.c | 63
33508 ++++++++++++++++++++++++++++++++++++++++++++++
33509 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++++
33510 2 files changed, 104 insertions(+)
33512 commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24
33513 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33514 Date: Thu Jul 15 13:31:33 2010 +0200
33516 Add foreign struct support for GVariant
33518 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors
33519 * gi/pygi-foreign.c: Register foreign support for GVariant
33520 * gi/pygi-struct.c: properly release foreign structs
33521 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to
33523 * tests/test_everything.py: Add basic tests for GVariant
33525 https://bugzilla.gnome.org/show_bug.cgi?id=619501
33527 gi/Makefile.am | 2 +
33528 gi/pygi-argument.c | 2 +-
33529 gi/pygi-foreign-cairo.c | 16 +++----
33530 gi/pygi-foreign.c | 107
33531 +++++++++++++++++++++++++++++------------------
33532 gi/pygi-foreign.h | 7 ++--
33533 gi/pygi-invoke.c | 18 ++++----
33534 gi/pygi-struct.c | 10 ++++-
33536 tests/test_everything.py | 8 ++++
33537 9 files changed, 110 insertions(+), 69 deletions(-)
33539 commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0
33540 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33541 Date: Mon Jul 12 11:19:06 2010 +0200
33543 Add HACKING to MANIFEST.in
33546 1 file changed, 1 insertion(+), 1 deletion(-)
33548 commit 40bf08ff001b119c7daf709197005ef6480216c5
33549 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33550 Date: Mon Jul 12 11:18:04 2010 +0200
33552 Add HACKING file with instructions for releasing
33554 HACKING | 14 ++++++++++++++
33555 1 file changed, 14 insertions(+)
33557 commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4
33558 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33559 Date: Mon Jul 12 11:09:58 2010 +0200
33561 Post release version bump to 2.21.6
33563 configure.ac | 2 +-
33564 1 file changed, 1 insertion(+), 1 deletion(-)
33566 commit 42a5a0897b38156ae010c396ea254abf502f35de
33567 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33568 Date: Mon Jul 12 11:00:29 2010 +0200
33570 Update NEWS and release PyGObject-2.21.5
33572 NEWS | 17 +++++++++++++++++
33573 1 file changed, 17 insertions(+)
33575 commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7
33576 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33577 Date: Mon Jul 12 11:00:20 2010 +0200
33579 Pre-release version bump to 2.21.5
33581 configure.ac | 2 +-
33582 1 file changed, 1 insertion(+), 1 deletion(-)
33584 commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6
33585 Author: Florian Müllner <florian.muellner@gmail.com>
33586 Date: Sat Jul 10 22:35:13 2010 +0200
33588 Shut up some compiler warnings
33590 Remove unused variables, make sure variables are properly initialized.
33592 https://bugzilla.gnome.org/show_bug.cgi?id=624066
33594 gi/pygi-callbacks.c | 1 -
33595 gi/pygi-closure.c | 2 +-
33596 gi/pygi-invoke.c | 1 -
33597 3 files changed, 1 insertion(+), 3 deletions(-)
33599 commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56
33600 Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com>
33601 Date: Mon Jul 12 10:31:42 2010 +0200
33603 Adjust to API break in GObject-Introspection
33605 As of commit 5cb925b20, many type_tags for standard C types have
33606 been removed - namely machine-dependent integer types and derived
33607 types (size_t, time_t).
33609 Most removals are just synonyms of other types, so their removal
33610 should not have too much impact, with the exception of time_t,
33611 which was translated to a native datetime object before.
33613 Also remove time_t tests (Tomeu Vizoso).
33615 https://bugzilla.gnome.org/show_bug.cgi?id=624065
33617 configure.ac | 2 +-
33618 gi/importer.py | 7 +--
33619 gi/pygi-argument.c | 146
33620 -----------------------------------------------------
33621 gi/pygi-closure.c | 10 ----
33622 gi/pygi-info.c | 37 --------------
33623 tests/test_gi.py | 21 --------
33624 6 files changed, 5 insertions(+), 218 deletions(-)
33626 commit 27a417c71f8c122e46c7472663bb25c17413f103
33627 Author: John (J5) Palmieri <johnp@redhat.com>
33628 Date: Thu Jul 8 16:01:25 2010 -0400
33630 pass in the demo app so demos can use utility methods like requesting
33633 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +-
33634 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +-
33635 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++--
33636 demos/gtk-demo/demos/assistant.py | 2 +-
33637 demos/gtk-demo/demos/builder.py | 14 ++++++++++----
33638 demos/gtk-demo/demos/button_box.py | 2 +-
33639 demos/gtk-demo/demos/clipboard.py | 8 +-------
33640 demos/gtk-demo/demos/colorselector.py | 2 +-
33641 demos/gtk-demo/demos/combobox.py | 8 +++++---
33642 demos/gtk-demo/demos/drawingarea.py | 2 +-
33643 demos/gtk-demo/demos/test.py | 2 +-
33644 demos/gtk-demo/gtk-demo.py | 6 +++---
33645 12 files changed, 37 insertions(+), 26 deletions(-)
33647 commit e7daae919c2c6ae35d3927f0006252aacd49ea86
33648 Author: John (J5) Palmieri <johnp@redhat.com>
33649 Date: Thu Jul 8 15:38:07 2010 -0400
33651 demo fixes to keep up with Gtk+
33653 * treeiter changes to reflect caller-allocate annotations
33654 * fix some flag handling
33655 * use get_indicies_with_depth instead of get_indices for paths
33657 demos/gtk-demo/demos/appwindow.py | 10 +++++++---
33658 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------
33659 demos/gtk-demo/gtk-demo.py | 13 +++++--------
33660 3 files changed, 24 insertions(+), 23 deletions(-)
33662 commit 3d9fd6391710cc33058394d6821e4d4e11f09b22
33663 Author: John (J5) Palmieri <johnp@redhat.com>
33664 Date: Thu Jul 8 12:54:43 2010 -0400
33666 override test fixes for new GTK+ annotations
33668 tests/test_overrides.py | 23 +++++++++++++----------
33669 1 file changed, 13 insertions(+), 10 deletions(-)
33671 commit 7a400f8139b70ddfe7c949035e0851689951c647
33672 Author: Ignacio Casal Quinteiro <icq@gnome.org>
33673 Date: Thu Jul 8 12:42:25 2010 +0200
33677 gi/pygi-argument.c | 4 ++--
33678 1 file changed, 2 insertions(+), 2 deletions(-)
33680 commit 39fd0a85a3de06b1b877d1125f91036409886373
33681 Author: John (J5) Palmieri <johnp@redhat.com>
33682 Date: Wed Jul 7 15:48:36 2010 -0400
33684 fix up treeiter usage due to caller-allocates annotations in gtk+
33686 * we still don't pass tests because the caller-allocates code path
33688 handle the case where the parameter is followed by a regular
33691 gi/overrides/Gtk.py | 7 +++----
33692 tests/test_overrides.py | 21 +++++++++++----------
33693 2 files changed, 14 insertions(+), 14 deletions(-)
33695 commit 4d970b75dc5c75c1bec04cb2954c9985b476070c
33696 Author: John (J5) Palmieri <johnp@redhat.com>
33697 Date: Tue Jul 6 17:50:10 2010 -0400
33699 add entry completion demo
33701 demos/gtk-demo/demos/Entry/entry_completion.py | 87
33702 ++++++++++++++++++++++++++
33703 1 file changed, 87 insertions(+)
33705 commit f3531eaa1bfa4e01651d35cd587384d30a398ba8
33706 Author: John (J5) Palmieri <johnp@redhat.com>
33707 Date: Tue Jul 6 17:49:18 2010 -0400
33711 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++--
33712 1 file changed, 2 insertions(+), 2 deletions(-)
33714 commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6
33715 Author: John (J5) Palmieri <johnp@redhat.com>
33716 Date: Tue Jul 6 17:27:04 2010 -0400
33718 add the Entry demo directory and the entry_buffer demo
33720 demos/gtk-demo/demos/Entry/__init__.py | 0
33721 demos/gtk-demo/demos/Entry/entry_buffer.py | 73
33722 ++++++++++++++++++++++++++++++
33723 2 files changed, 73 insertions(+)
33725 commit f2b1d222120f055bec9339cca55c9cc90f538c00
33726 Author: John (J5) Palmieri <johnp@redhat.com>
33727 Date: Tue Jul 6 17:26:03 2010 -0400
33729 fix loading of demo modules to support sub modules
33731 demos/gtk-demo/gtk-demo.py | 9 +++++++--
33732 1 file changed, 7 insertions(+), 2 deletions(-)
33734 commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029
33735 Author: John (J5) Palmieri <johnp@redhat.com>
33736 Date: Tue Jul 6 15:56:34 2010 -0400
33738 add the ability to have demos in sub catagories
33740 demos/gtk-demo/gtk-demo.py | 76
33741 ++++++++++++++++++++++++++++++++--------------
33742 1 file changed, 54 insertions(+), 22 deletions(-)
33744 commit dc2249a3ecf339008351316217191d0551ccc588
33745 Author: Jose Aliste <jaliste@src.gnome.org>
33746 Date: Mon Jul 5 14:36:59 2010 -0400
33748 Add __name__ to DynamicModule class.
33753 1 file changed, 1 insertion(+)
33755 commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6
33756 Author: Ignacio Casal Quinteiro <icq@gnome.org>
33757 Date: Mon Jul 5 16:11:07 2010 +0200
33759 Do not override GdkRectangle.
33761 This class was lately removed from gtk+ 3, so there is no need
33765 gi/overrides/Gdk.py | 19 -------------------
33766 1 file changed, 19 deletions(-)
33768 commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7
33769 Author: Philip Withnall <philip.withnall@collabora.co.uk>
33770 Date: Tue Jun 29 16:37:36 2010 +0100
33772 Add override for TreeModel implementing __len__()
33776 gi/overrides/Gtk.py | 11 +++++++++--
33777 tests/test_overrides.py | 5 +++++
33778 2 files changed, 14 insertions(+), 2 deletions(-)
33780 commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5
33781 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33782 Date: Tue Jun 29 11:27:13 2010 +0200
33784 Update NEWS and release PyGObject-2.21.4
33786 NEWS | 27 +++++++++++++++++++++++++--
33787 1 file changed, 25 insertions(+), 2 deletions(-)
33789 commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6
33790 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33791 Date: Tue Jun 29 10:55:03 2010 +0200
33793 Remove files from the makefiles
33795 gi/Makefile.am | 4 +---
33796 gobject/Makefile.am | 3 +--
33797 2 files changed, 2 insertions(+), 5 deletions(-)
33799 commit 89827314fd183eac07443c8e9d275ca9d4ce59df
33800 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33801 Date: Tue Jun 29 10:27:39 2010 +0200
33803 Build the cairo shim as a python module so the _gi module stops
33806 https://bugzilla.gnome.org/show_bug.cgi?id=623021
33809 gi/Makefile.am | 38 ++++++++++-----
33810 gi/gimodule.c | 8 +---
33811 gi/pygi-argument.c | 10 +---
33812 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++------
33813 gi/pygi-foreign-cairo.h | 55 ---------------------
33814 gi/pygi-foreign.c | 125
33815 ++++++++++++++++++++++++++++--------------------
33816 gi/pygi-foreign.h | 31 ++++++------
33817 gi/pygi.h | 40 ++++++++++++++--
33818 9 files changed, 196 insertions(+), 169 deletions(-)
33820 commit a6a90551311bc64f037cbd442e13f70c30060871
33821 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33822 Date: Mon Jun 28 14:20:43 2010 +0200
33824 Remove pygi-external.h
33826 https://bugzilla.gnome.org/show_bug.cgi?id=623021
33828 gi/gimodule.c | 8 +++---
33829 gi/pygi-type.c | 4 +--
33830 gi/pygi-type.h | 2 +-
33831 gi/pygi.h | 54 ++++++++++++++++-----------------------
33832 gobject/Makefile.am | 6 +++++
33833 gobject/pygboxed.c | 2 +-
33834 gobject/pygenum.c | 2 +-
33835 gobject/pygflags.c | 2 +-
33836 gobject/pygi-external.h | 67
33837 -------------------------------------------------
33838 gobject/pygobject.c | 2 +-
33839 gobject/pygpointer.c | 2 +-
33840 11 files changed, 40 insertions(+), 111 deletions(-)
33842 commit 8b3a3baacb45cb3f9112f7597607602fa89c6634
33843 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33844 Date: Fri Jun 25 13:54:57 2010 +0200
33846 Revert "correctly handle floating objects in gtk"
33848 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca.
33853 tests/test_everything.py
33855 gi/gimodule.c | 13 -------------
33856 tests/test_everything.py | 3 ++-
33857 2 files changed, 2 insertions(+), 14 deletions(-)
33859 commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426
33860 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
33861 Date: Fri Jun 25 13:49:04 2010 +0200
33863 Make valgrind happy again
33865 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances.
33866 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state.
33868 gi/pygi-argument.c | 1 +
33869 gi/pygi-info.c | 2 ++
33870 gi/pygi-invoke.c | 8 ++++++--
33871 3 files changed, 9 insertions(+), 2 deletions(-)
33873 commit 63afe55906c8637e913783e65b82b540b81bed65
33874 Author: John (J5) Palmieri <johnp@redhat.com>
33875 Date: Thu Jun 24 16:13:37 2010 -0400
33877 add drawing area demo
33879 demos/gtk-demo/demos/drawingarea.py | 249
33880 ++++++++++++++++++++++++++++++++++++
33881 1 file changed, 249 insertions(+)
33883 commit 8bba5f842393a284367cdd15f3d32a8c7745516a
33884 Author: John (J5) Palmieri <johnp@redhat.com>
33885 Date: Thu Jun 24 14:11:00 2010 -0400
33889 demos/gtk-demo/gtk-demo.py | 2 ++
33890 1 file changed, 2 insertions(+)
33892 commit b9da82742701ed276b01dee39626cd71cbef8556
33893 Author: John (J5) Palmieri <johnp@redhat.com>
33894 Date: Thu Jun 24 13:56:18 2010 -0400
33896 rename iter to treeiter so we aren't using a python reserved word
33898 demos/gtk-demo/gtk-demo.py | 12 ++++++------
33899 1 file changed, 6 insertions(+), 6 deletions(-)
33901 commit c93935621f2fb1ff5e8c424ae884bd684ea68e50
33902 Author: John (J5) Palmieri <johnp@redhat.com>
33903 Date: Thu Jun 24 13:47:54 2010 -0400
33905 Fixup for change in buffer API
33907 * Part of buffer API dealing with TextIter now marked (out
33910 demos/gtk-demo/gtk-demo.py | 10 ++++------
33911 1 file changed, 4 insertions(+), 6 deletions(-)
33913 commit 8d9516a593a515290109401a9db7aa259b5aa35c
33914 Author: John (J5) Palmieri <johnp@redhat.com>
33915 Date: Wed Jun 23 17:04:33 2010 -0400
33917 add ListStore, TreeStore and TreeViewColumn APIs
33919 * this is enough to support the gtk-demo.py shell
33920 * TreeStore and ListStore allow passing in as an argument list
33921 of either python or GLib types to the constructor as a description
33922 of the columns in the model
33923 * TreeStore and ListStore override the append method, allowing
33924 the application developer to send in a list of column values
33925 for one row in the model. Unlike the append in C which
33926 just returns an iter that you can then add data to,
33927 this append actualy appends data in one step
33928 * TreeViewColumn overrides the constructor to allow the adding
33929 of attributes and a cell renderer when constructing the
33932 https://bugzilla.gnome.org/show_bug.cgi?id=620405
33934 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++++
33935 tests/test_overrides.py | 69
33936 +++++++++++++++++++++++++++++++++++++++++++++++++
33937 2 files changed, 128 insertions(+)
33939 commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4
33940 Author: Johan Dahlin <johan@gnome.org>
33941 Date: Wed Jun 23 14:34:28 2010 -0300
33943 [gi] Add -I../gobject to cflags
33945 Since we're no longer pulling in pygobject cflags,
33946 add this to be able to include pygobject.h
33948 gi/Makefile.am | 3 +++
33949 1 file changed, 3 insertions(+)
33951 commit 53a093198851e3ba5abd1f6c3314737decd401d8
33952 Author: Ignacio Casal Quinteiro <icq@gnome.org>
33953 Date: Wed Jun 23 18:09:19 2010 +0200
33955 Add unit test for add_actions user data.
33957 tests/test_overrides.py | 20 +++++++++++++++-----
33958 1 file changed, 15 insertions(+), 5 deletions(-)
33960 commit 7f829af620cba768de619dd9f228d5d2ebf7fee4
33961 Author: Paolo Borelli <pborelli@gnome.org>
33962 Date: Wed Jun 23 18:06:46 2010 +0200
33964 Pass user_data param when adding actions
33966 gi/overrides/Gtk.py | 12 ++++++------
33967 1 file changed, 6 insertions(+), 6 deletions(-)
33969 commit 8f537ccd62f41ebe0db3853e2ae08080666f598f
33970 Author: John (J5) Palmieri <johnp@redhat.com>
33971 Date: Wed Jun 23 12:02:04 2010 -0400
33973 add an exception type to the try/except block
33975 * we should always specify what exception types we are expecting
33977 gi/overrides/Gtk.py | 6 +++---
33978 1 file changed, 3 insertions(+), 3 deletions(-)
33980 commit f140a8ebf59347162b67b550bd6f62d2eafad29a
33981 Author: Johan Dahlin <johan@gnome.org>
33982 Date: Wed Jun 23 12:31:51 2010 -0300
33984 Avoid duplicating required versions
33986 Avoid duplicating the version of all required packages.
33987 Also remove cyclic dependency of pygobject
33989 https://bugzilla.gnome.org/show_bug.cgi?id=622503
33991 configure.ac | 9 +++++----
33992 1 file changed, 5 insertions(+), 4 deletions(-)
33994 commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f
33995 Author: John (J5) Palmieri <johnp@redhat.com>
33996 Date: Tue Jun 22 15:03:08 2010 -0400
33998 return PyList instead of PyTuple for array, return empty list for
34001 * returns an empty list when a NULL array (empty array) is encountered
34002 * fix tests to check for lists instead of tuples or None
34003 * test the ability to send in both None and empty list for arrays
34006 gi/pygi-argument.c | 7 ++--
34007 tests/test_everything.py | 5 ++-
34008 tests/test_gi.py | 84
34009 ++++++++++++++++++++++++------------------------
34010 3 files changed, 49 insertions(+), 47 deletions(-)
34012 commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8
34013 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34014 Date: Wed Jun 23 15:42:29 2010 +0200
34016 Fix 'make distcheck'
34018 * Makefile.am: put the tests dir to the end
34019 * g*/Makefile.am: build the .so when running make check
34020 * tests/Makefile.am: Don't pass the src dir to runtests.py and
34021 remove (hopefully) unneeded cruft.
34022 * tests/common.py: Don't add the src dir to the python path
34023 * tests/runtests.py: Don't pass the src dir to common.py
34025 Makefile.am | 4 +++-
34026 gi/Makefile.am | 1 +
34027 gio/Makefile.am | 1 +
34028 glib/Makefile.am | 2 +-
34029 gobject/Makefile.am | 1 +
34030 tests/Makefile.am | 17 ++---------------
34031 tests/common.py | 3 +--
34032 tests/runtests.py | 12 +++++-------
34033 8 files changed, 15 insertions(+), 26 deletions(-)
34035 commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371
34036 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34037 Date: Wed Jun 23 13:59:14 2010 +0200
34039 Allow building pygobject without introspection support by providing
34040 --disable-introspection to configure.
34042 Makefile.am | 6 +++++-
34043 configure.ac | 15 ++++++++-------
34044 gobject/pygi-external.h | 4 ++--
34045 tests/Makefile.am | 8 ++++++--
34046 tests/runtests.py | 21 +++++++--------------
34047 5 files changed, 28 insertions(+), 26 deletions(-)
34049 commit cc3ea77318ee572673d2a044deca9001366b0f08
34050 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34051 Date: Wed Jun 23 12:26:51 2010 +0200
34053 Make sure that sys.argv is a list and not a sequence.
34055 Because Python's optparse will try to do things on it that can
34056 only be done with list.
34058 gi/overrides/Gtk.py | 2 +-
34059 1 file changed, 1 insertion(+), 1 deletion(-)
34061 commit 3d72b8248cc534a689dee5679a729b2fba56c528
34062 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34063 Date: Wed Jun 23 12:26:02 2010 +0200
34065 Force loading the GObject typelib so we have available the wrappers
34066 for base classes such as GInitiallyUnowned.
34068 gi/__init__.py | 3 +++
34069 1 file changed, 3 insertions(+)
34071 commit c7c94ef349c30597f2f10d90f74718d678ec7add
34072 Author: John (J5) Palmieri <johnp@redhat.com>
34073 Date: Tue Jun 22 14:45:48 2010 -0400
34075 we shouldn't g_array_free NULL pointers
34077 https://bugzilla.gnome.org/show_bug.cgi?id=622425
34079 gi/pygi-info.c | 5 +++--
34080 1 file changed, 3 insertions(+), 2 deletions(-)
34082 commit fb1ee243493616d7a7e4f6924c574db39f5a423d
34083 Merge: acf7b43a 5f9cb91c
34084 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34085 Date: Wed Jun 23 12:53:05 2010 +0200
34087 Merge branch 'pygi'
34089 commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f
34090 Author: John (J5) Palmieri <johnp@redhat.com>
34091 Date: Tue Jun 22 15:39:46 2010 -0400
34093 remove unneeded TextIter creation in the tests
34095 tests/test_overrides.py | 3 ---
34096 1 file changed, 3 deletions(-)
34098 commit 53c355d2cc0894e7f551e9b4eb719b89188a978e
34099 Author: John (J5) Palmieri <johnp@redhat.com>
34100 Date: Mon Jun 21 11:42:12 2010 -0400
34102 add override for TextBuffer
34104 * TextBuffer.create_tag takes vargs which we can't bind yet so
34106 to except a keyword list of properties
34107 * override the insert* methods so the developer does not have to
34109 - lengths are already encapsulated by a string in Python
34111 https://bugzilla.gnome.org/show_bug.cgi?id=620583
34113 gi/overrides/Gtk.py | 51
34114 +++++++++++++++++++++++++++++++++++++++++++++++++
34115 tests/test_overrides.py | 25 ++++++++++++++++++++++++
34116 2 files changed, 76 insertions(+)
34118 commit 1d89a88b212c7411ad28e74eda80ae751de92e50
34119 Author: John (J5) Palmieri <johnp@redhat.com>
34120 Date: Tue Jun 22 12:46:39 2010 -0400
34122 fix up some build issues
34124 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because
34126 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0
34127 * tests/Makefile.am: fix check-local target to use EXEC_NAME so
34129 make check.gdb work
34131 configure.ac | 2 +-
34132 tests/Makefile.am | 2 +-
34133 2 files changed, 2 insertions(+), 2 deletions(-)
34135 commit 4fe0d94c219deb69a2309693202309c53a0e5e69
34136 Author: John (J5) Palmieri <johnp@redhat.com>
34137 Date: Tue Jun 22 11:50:30 2010 -0400
34139 make the overrides file git friendly by appending to __all__ after
34142 * modifying the __all__ line for each override would confuse git as
34143 each override needs to get seperate approval before comitting.
34145 this commits would not always go in in the same order as they
34147 Also different people working on the same file would start from
34149 commit states. This caused conflicts when patches were merged.
34150 * instead of modifying a single hard coded list we now append to
34152 after each override. This creates distinct blocks of changed text
34153 which will not conflict
34155 gi/overrides/GIMarshallingTests.py | 10 ++++------
34156 gi/overrides/Gdk.py | 8 ++++----
34157 gi/overrides/Gtk.py | 7 +++++--
34158 3 files changed, 13 insertions(+), 12 deletions(-)
34160 commit 49321b934603e1ec69fb04082c63902970907d2b
34161 Author: Paolo Borelli <pborelli@gnome.org>
34162 Date: Sun Jun 20 13:27:34 2010 +0200
34164 Override Dialog constructor and add_buttons method
34166 gi/overrides/Gtk.py | 46
34167 +++++++++++++++++++++++++++++++++++++++++++++-
34168 tests/test_overrides.py | 16 ++++++++++++++++
34169 2 files changed, 61 insertions(+), 1 deletion(-)
34171 commit acf7b43a41ce814f0c57ce609a090826f04771db
34172 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34173 Date: Mon Jun 21 18:17:38 2010 +0200
34175 Post release version bump to 2.21.4
34177 configure.ac | 2 +-
34178 1 file changed, 1 insertion(+), 1 deletion(-)
34180 commit a7fa8b80406227a06cf18f8675dbc1f471283829
34181 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34182 Date: Mon Jun 21 18:10:32 2010 +0200
34184 Update NEWS and release PyGObject-2.21.3
34187 1 file changed, 7 insertions(+)
34189 commit 79acac7b86ec52cd3681d94d7f116314c3f00167
34190 Author: Ludovic L'Hours <ludovic.lhours@gmail.com>
34191 Date: Tue Jul 21 16:28:34 2009 +0200
34193 Proper handling of null-ok in virtual methods
34195 https://bugzilla.gnome.org/show_bug.cgi?id=589253
34197 codegen/codegen.py | 2 ++
34198 codegen/reversewrapper.py | 18 +++++++++++++++---
34199 2 files changed, 17 insertions(+), 3 deletions(-)
34201 commit 259a4b08f009aa01451caed20dbb6e68b402da2a
34202 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34203 Date: Mon Jun 21 17:34:54 2010 +0200
34205 Add *~ and *.orig to .gitignore
34207 .gitignore | 5 ++++-
34208 1 file changed, 4 insertions(+), 1 deletion(-)
34210 commit 00a85f6a844714d1715e2f67431747d1a4cdacb1
34211 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34212 Date: Mon Jun 21 17:33:56 2010 +0200
34214 Fall back to use the floating references API in glib if there isn't
34215 a sinkfunc defined.
34217 * tests/*: Add ref counting tests for floating objects
34218 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to
34220 or g_object_ref if there isn't a sinkfunc defined. Make sure that
34221 pygobject_sink gets called only once per GObject instance.
34223 https://bugzilla.gnome.org/show_bug.cgi?id=583909
34225 gobject/gobjectmodule.c | 2 -
34226 gobject/pygobject.c | 50 +++++++++++++---------
34227 gobject/pygobject.h | 1 +
34228 tests/Makefile.am | 2 +
34229 tests/test-floating.c | 95 +++++++++++++++++++++++++++++++++++++++++
34230 tests/test-floating.h | 60 ++++++++++++++++++++++++++
34231 tests/test_gobject.py | 19 ++++++++-
34232 tests/testhelpermodule.c | 109
34233 +++++++++++++++++++++++++++++++++++++++++++++++
34234 8 files changed, 315 insertions(+), 23 deletions(-)
34236 commit e71238a699ae783fd1a59c8a76e3555d8066cf82
34237 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34238 Date: Mon Jun 21 13:06:13 2010 +0200
34240 Revert "Drop sinkfuncs."
34242 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb.
34244 gobject/gobjectmodule.c | 3 ++-
34245 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++--------
34246 gobject/pygobject.h | 1 -
34247 3 files changed, 36 insertions(+), 10 deletions(-)
34249 commit b2661054d6bde673484eab472e69ca021124528d
34250 Author: Johan Dahlin <johan@gnome.org>
34251 Date: Sun Jun 20 11:09:57 2010 -0300
34255 For reasons outlined at:
34256 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html
34258 Makefile.am | 14 ++++-
34259 configure.ac | 29 ++++++++--
34260 {gi/demos => demos}/gtk-demo/demos/__init__.py | 0
34261 {gi/demos => demos}/gtk-demo/demos/appwindow.py | 0
34262 {gi/demos => demos}/gtk-demo/demos/assistant.py | 0
34263 {gi/demos => demos}/gtk-demo/demos/builder.py | 0
34264 {gi/demos => demos}/gtk-demo/demos/button_box.py | 0
34265 {gi/demos => demos}/gtk-demo/demos/clipboard.py | 0
34266 .../gtk-demo/demos/colorselector.py | 0
34267 {gi/demos => demos}/gtk-demo/demos/combobox.py | 0
34268 .../gtk-demo/demos/data/alphatest.png | Bin
34269 .../gtk-demo/demos/data/apple-red.png | Bin
34270 .../gtk-demo/demos/data/background.jpg | Bin
34271 {gi/demos => demos}/gtk-demo/demos/data/demo.ui | 0
34272 .../gtk-demo/demos/data/floppybuddy.gif | Bin
34273 .../gtk-demo/demos/data/gnome-applets.png | Bin
34274 .../gtk-demo/demos/data/gnome-calendar.png | Bin
34275 .../gtk-demo/demos/data/gnome-foot.png | Bin
34276 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
34277 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
34278 .../gtk-demo/demos/data/gnome-gimp.png | Bin
34279 .../gtk-demo/demos/data/gnome-gmush.png | Bin
34280 .../gtk-demo/demos/data/gnome-gsame.png | Bin
34281 .../gtk-demo/demos/data/gnu-keys.png | Bin
34282 .../gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
34283 {gi/demos => demos}/gtk-demo/demos/test.py | 0
34284 {gi/demos => demos}/gtk-demo/gtk-demo.py | 0
34285 examples/Makefile.am | 2 +-
34286 {gi/examples => examples}/cairo-demo.py | 0
34287 gi/Makefile.am | 4 +-
34288 gi/examples/Makefile.am | 2 -
34289 pygi-Makefile.am | 28 ----------
34290 pygi-configure.ac | 60
34291 ---------------------
34292 pygi.doap | 34 ------------
34293 pygobject.doap | 16 +++++-
34294 tests/Makefile.am | 23 ++++++--
34295 {gi/tests => tests}/test_everything.py | 0
34296 {gi/tests => tests}/test_gi.py | 0
34297 {gi/tests => tests}/test_overrides.py | 0
34298 39 files changed, 75 insertions(+), 137 deletions(-)
34300 commit 597bd64319d7966045b5b8613ca6fc85668c3f56
34301 Merge: ec8d148e fa91dfd3
34302 Author: Johan Dahlin <johan@gnome.org>
34303 Date: Sun Jun 20 10:53:46 2010 -0300
34305 Merge branch 'pygi-merge'
34307 commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b
34308 Author: Johan Dahlin <johan@gnome.org>
34309 Date: Sun Jun 20 10:53:36 2010 -0300
34314 ---------------------
34315 .gitignore => gi/.gitignore | 0
34316 HACKING => gi/HACKING | 0
34317 {demos => gi/demos}/gtk-demo/demos/__init__.py | 0
34318 {demos => gi/demos}/gtk-demo/demos/appwindow.py | 0
34319 {demos => gi/demos}/gtk-demo/demos/assistant.py | 0
34320 {demos => gi/demos}/gtk-demo/demos/builder.py | 0
34321 {demos => gi/demos}/gtk-demo/demos/button_box.py | 0
34322 {demos => gi/demos}/gtk-demo/demos/clipboard.py | 0
34323 .../demos}/gtk-demo/demos/colorselector.py | 0
34324 {demos => gi/demos}/gtk-demo/demos/combobox.py | 0
34325 .../demos}/gtk-demo/demos/data/alphatest.png | Bin
34326 .../demos}/gtk-demo/demos/data/apple-red.png | Bin
34327 .../demos}/gtk-demo/demos/data/background.jpg | Bin
34328 {demos => gi/demos}/gtk-demo/demos/data/demo.ui | 0
34329 .../demos}/gtk-demo/demos/data/floppybuddy.gif | Bin
34330 .../demos}/gtk-demo/demos/data/gnome-applets.png | Bin
34331 .../demos}/gtk-demo/demos/data/gnome-calendar.png | Bin
34332 .../demos}/gtk-demo/demos/data/gnome-foot.png | Bin
34333 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin
34334 .../gtk-demo/demos/data/gnome-fs-regular.png | Bin
34335 .../demos}/gtk-demo/demos/data/gnome-gimp.png | Bin
34336 .../demos}/gtk-demo/demos/data/gnome-gmush.png | Bin
34337 .../demos}/gtk-demo/demos/data/gnome-gsame.png | Bin
34338 .../demos}/gtk-demo/demos/data/gnu-keys.png | Bin
34339 .../demos}/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin
34340 {demos => gi/demos}/gtk-demo/demos/test.py | 0
34341 {demos => gi/demos}/gtk-demo/gtk-demo.py | 0
34342 {examples => gi/examples}/Makefile.am | 0
34343 {examples => gi/examples}/cairo-demo.py | 0
34344 {tests => gi/tests}/Makefile.am | 0
34345 {tests => gi/tests}/runtests.py | 0
34346 {tests => gi/tests}/test_everything.py | 0
34347 {tests => gi/tests}/test_gi.py | 0
34348 {tests => gi/tests}/test_overrides.py | 0
34349 Makefile.am => pygi-Makefile.am | 0
34350 configure.ac => pygi-configure.ac | 0
34351 37 files changed, 166 deletions(-)
34353 commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce
34354 Author: Johan Dahlin <johan@gnome.org>
34355 Date: Sun Jun 20 10:49:55 2010 -0300
34357 [giounix] Make it possible to compile on glib 2.20
34359 gio/unix.override | 2 ++
34360 1 file changed, 2 insertions(+)
34362 commit 606018a2c551d890fc2bb987d99683f777598bda
34363 Author: John (J5) Palmieri <johnp@redhat.com>
34364 Date: Mon Jun 7 16:32:29 2010 -0400
34366 Don't free transfer full struct pointers because we can't do it safely
34368 * Most libraries which are sending back structs as transfer-full
34369 are either annotated incorrectly or should be sending boxed types
34370 * It is much better to throw a warning and leak memory than it is to
34371 call free on an unknown struct pointer. Doing so may cause
34373 * Specific case is gdk_atom_intern where a GdkAtom is not actually
34375 but an integer stuffed into a pointer type
34377 https://bugzilla.gnome.org/show_bug.cgi?id=620898
34379 gi/pygi-argument.c | 9 ++++++++-
34380 gi/pygi-invoke.c | 11 +++++++++--
34381 2 files changed, 17 insertions(+), 3 deletions(-)
34383 commit 433ee2aa029a1482961f478252a06492bd3498e6
34384 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
34385 Date: Tue Jun 15 11:42:28 2010 +0200
34387 Release the lock when potentially invoking Python code.
34389 * gobject/pygobject.c: Release GIL lock when retrieving properties
34390 and when clearing a PyGObject.
34392 https://bugzilla.gnome.org/show_bug.cgi?id=530935
34394 gobject/pygobject.c | 11 ++++++++++-
34395 1 file changed, 10 insertions(+), 1 deletion(-)
34397 commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96
34398 Author: John (J5) Palmieri <johnp@redhat.com>
34399 Date: Mon Jun 14 18:36:57 2010 -0400
34401 add combobox example
34403 demos/gtk-demo/demos/combobox.py | 282
34404 +++++++++++++++++++++++++++++++++++++++
34405 1 file changed, 282 insertions(+)
34407 commit a8668694da59c2dd959c875f13337e64ca22f7e9
34408 Author: John (J5) Palmieri <johnp@redhat.com>
34409 Date: Mon Jun 14 13:43:53 2010 -0400
34411 fix leak in the allow None callbacks patch
34413 gi/pygi-callbacks.c | 4 ++--
34414 1 file changed, 2 insertions(+), 2 deletions(-)
34416 commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0
34417 Author: John (J5) Palmieri <johnp@redhat.com>
34418 Date: Mon Jun 7 17:12:09 2010 -0400
34420 Allow passing None for callbacks which are annotated allow-none
34422 * Many callbacks are optional parameters yet we were asserting on
34424 * We now check to see if allow_none is set when setting up callbacks,
34425 if it is set and py_function == Py_None, we set the closure to NULL
34427 * pygi-invoke.c now checks to see if the closure == NULL when setting
34429 * if it is NULL there is no reason to set the the destroy notify
34431 so we skip that too
34433 https://bugzilla.gnome.org/show_bug.cgi?id=620906
34435 gi/pygi-callbacks.c | 7 +++++++
34436 gi/pygi-invoke.c | 14 +++++++++++---
34437 tests/test_everything.py | 4 ++++
34438 3 files changed, 22 insertions(+), 3 deletions(-)
34440 commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17
34441 Author: Paolo Borelli <pborelli@gnome.org>
34442 Date: Mon Jun 14 19:06:45 2010 +0200
34444 Fix to match latest gtk annotations
34446 demos/gtk-demo/demos/appwindow.py | 3 +--
34447 1 file changed, 1 insertion(+), 2 deletions(-)
34449 commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59
34450 Author: John (J5) Palmieri <johnp@redhat.com>
34451 Date: Tue Jun 8 15:03:49 2010 -0400
34453 fix variable member names in Gdk.Color override
34455 * override was using r, g, and b for the red, green, blue components
34457 the struct specifies red, green, blue so we need to use those names
34459 https://bugzilla.gnome.org/show_bug.cgi?id=621007
34461 gi/overrides/Gdk.py | 10 +++++-----
34462 tests/test_overrides.py | 6 +++---
34463 2 files changed, 8 insertions(+), 8 deletions(-)
34465 commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f
34466 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34467 Date: Thu Jun 10 20:23:13 2010 +0200
34469 Post release version bump to 2.21.3
34471 configure.ac | 2 +-
34472 1 file changed, 1 insertion(+), 1 deletion(-)
34474 commit c4e64d5d264593051b9a3131e4985a58e8e76f8b
34475 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34476 Date: Thu Jun 10 20:21:13 2010 +0200
34478 Update NEWS and release PyGObject-2.21.2
34480 NEWS | 26 ++++++++++++++++++++++++++
34481 1 file changed, 26 insertions(+)
34483 commit e0fe844d5fe8f7e26316f197444fd4143ed36adf
34484 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34485 Date: Thu Jun 10 20:09:07 2010 +0200
34487 Remove deleted files from the Makefile.
34494 tests/Makefile.am | 4 ----
34495 1 file changed, 4 deletions(-)
34497 commit 495a301cb81c5e914bcef905999265604faa27fc
34498 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34499 Date: Thu Jun 10 19:39:09 2010 +0200
34501 Add myself to the maintainers list in the README
34504 1 file changed, 1 insertion(+)
34506 commit 04627488220b4f2a16e11f8982af7866fea9f7eb
34507 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34508 Date: Thu Jun 10 19:24:31 2010 +0200
34512 * use g_object methods to sink floating refs instead of allowing
34513 custom sink functions to be registered
34514 * we now sink inside of pygobject_new_full to handle cases where
34515 a library creates its own gobject via g_object_new and just
34516 needs a python wrapper
34517 - a previous patch had done the sink when creating the gobject,
34518 since it needs to call pygobject_new_full to wrap the object,
34519 this patch handles both cases (e.g. pygobject created object
34520 and externally created gobject)
34522 https://bugzilla.gnome.org/show_bug.cgi?id=583909
34524 gobject/gobjectmodule.c | 3 +--
34525 gobject/pygobject.c | 42 ++++++++----------------------------------
34526 gobject/pygobject.h | 1 +
34527 3 files changed, 10 insertions(+), 36 deletions(-)
34529 commit 07df124dc06cf506634e95d08397f50a2d07fce2
34530 Author: Steve Frécinaux <code@istique.net>
34531 Date: Mon Jun 7 09:47:23 2010 +0200
34533 Make the "wrong argument count" exception more explicit.
34535 Previously we had messages like this one:
34536 TypeError: takes exactly 2 argument(s) (1 given)
34538 With this patch, they become like this:
34539 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given)
34541 It makes things much easier to debug when there are several pygi calls
34544 https://bugzilla.gnome.org/show_bug.cgi?id=620804
34546 gi/pygi-invoke.c | 3 ++-
34547 tests/test_everything.py | 6 ++++++
34548 2 files changed, 8 insertions(+), 1 deletion(-)
34550 commit b435319fe830a909cc4d414533b3b66574931e24
34551 Author: Steve Frécinaux <code@istique.net>
34552 Date: Mon Jun 7 09:54:06 2010 +0200
34554 Use bash explicitely in the pre-commit hook.
34556 The "builtin" command is not available in all sh flavours, so the
34557 pre-commit hook is going to fail if you use dash or others instead of
34558 bash as your default 'sh' alias.
34560 https://bugzilla.gnome.org/show_bug.cgi?id=620805
34562 pre-commit.hook | 2 +-
34563 1 file changed, 1 insertion(+), 1 deletion(-)
34565 commit e9ee2916494eb7654004925c1ee1e94f99b14f1a
34566 Author: John (J5) Palmieri <johnp@redhat.com>
34567 Date: Tue Jun 8 16:55:26 2010 -0400
34571 demos/gtk-demo/demos/colorselector.py | 121
34572 ++++++++++++++++++++++++++++++++++
34573 1 file changed, 121 insertions(+)
34575 commit ec598128de9e90dccab662ed2f5511c8d659e156
34576 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34577 Date: Tue Jun 8 15:48:33 2010 +0200
34579 Update PyGObject dependency to 2.21.1
34581 configure.ac | 2 +-
34582 1 file changed, 1 insertion(+), 1 deletion(-)
34584 commit 87774a17bd607724a56e18c2eb1ac71b04b7079d
34585 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34586 Date: Tue Jun 8 10:40:39 2010 +0200
34588 Add myself to maintainers
34590 MAINTAINERS | 4 ++++
34591 pygobject.doap | 7 +++++++
34592 2 files changed, 11 insertions(+)
34594 commit 46c91a11d448e5e11d142d3362aff1483226bca4
34595 Author: Colin Walters <walters@verbum.org>
34596 Date: Wed May 5 13:54:27 2010 -0400
34598 Clear error if we failed the import
34600 Otherwise we leave the exception set which causes bizarre problems
34601 later in unrelated code.
34603 https://bugzilla.redhat.com/show_bug.cgi?id=569885
34605 https://bugzilla.gnome.org/show_bug.cgi?id=617796
34607 gobject/pygi-external.h | 2 ++
34608 1 file changed, 2 insertions(+)
34610 commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6
34611 Author: John (J5) Palmieri <johnp@redhat.com>
34612 Date: Mon Jun 7 17:19:30 2010 -0400
34614 fix some typos and add a link to a patch which fixes a FIXME
34616 demos/gtk-demo/demos/clipboard.py | 7 +++++--
34617 1 file changed, 5 insertions(+), 2 deletions(-)
34619 commit e7fabb5024d94a3166766e5fca740741bc50380a
34620 Author: John (J5) Palmieri <johnp@redhat.com>
34621 Date: Mon Jun 7 16:21:42 2010 -0400
34625 demos/gtk-demo/demos/clipboard.py | 235
34626 ++++++++++++++++++++++++++++++++++++++
34627 1 file changed, 235 insertions(+)
34629 commit e0f1dce5ec58d071759f886697501da6eeea549d
34630 Author: John (J5) Palmieri <johnp@redhat.com>
34631 Date: Sun Jun 6 13:27:46 2010 -0400
34633 set is_fully_bound to false
34635 demos/gtk-demo/demos/button_box.py | 2 +-
34636 1 file changed, 1 insertion(+), 1 deletion(-)
34638 commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948
34639 Author: John (J5) Palmieri <johnp@redhat.com>
34640 Date: Sat Jun 5 23:53:36 2010 -0400
34642 new button box demo
34644 demos/gtk-demo/demos/button_box.py | 121
34645 +++++++++++++++++++++++++++++++++++++
34646 1 file changed, 121 insertions(+)
34648 commit e9f5f8a829121e59367bae690442150f144946ad
34649 Author: John (J5) Palmieri <johnp@redhat.com>
34650 Date: Sat Jun 5 23:26:03 2010 -0400
34652 set is_fully_bound to True fro builder example
34654 demos/gtk-demo/demos/builder.py | 2 +-
34655 1 file changed, 1 insertion(+), 1 deletion(-)
34657 commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6
34658 Author: John (J5) Palmieri <johnp@redhat.com>
34659 Date: Sat Jun 5 23:24:36 2010 -0400
34661 fix up formatting in demos
34663 demos/gtk-demo/demos/appwindow.py | 16 ++++++++--------
34664 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------
34665 demos/gtk-demo/demos/builder.py | 2 +-
34666 3 files changed, 21 insertions(+), 21 deletions(-)
34668 commit ffca02536bafb55e8c3bce31cd992365207429f6
34669 Author: John (J5) Palmieri <johnp@redhat.com>
34670 Date: Sat Jun 5 14:54:47 2010 -0400
34672 add the builder demo
34674 demos/gtk-demo/demos/builder.py | 57
34675 +++++++++++++++++++++++++++++++++++++++++
34676 1 file changed, 57 insertions(+)
34678 commit a96dbafdf562a2ac6bde4df27919d3628689dbdb
34679 Author: John (J5) Palmieri <johnp@redhat.com>
34680 Date: Fri Jun 4 17:48:24 2010 -0400
34684 demos/gtk-demo/demos/assistant.py | 134
34685 ++++++++++++++++++++++++++++++++++++++
34686 1 file changed, 134 insertions(+)
34688 commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94
34689 Author: John (J5) Palmieri <johnp@redhat.com>
34690 Date: Fri Jun 4 16:56:46 2010 -0400
34692 add formatting rules and copyright notice
34694 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++
34695 1 file changed, 19 insertions(+)
34697 commit 03b99692b81631d397ab62dcd263341465bcee88
34698 Author: John (J5) Palmieri <johnp@redhat.com>
34699 Date: Fri Jun 4 16:26:54 2010 -0400
34701 add the gtk-demo app along with a couple of demos
34703 * note there are still a couple of patches in bugzilla that are
34706 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682
34707 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764
34709 demos/gtk-demo/demos/__init__.py | 0
34710 demos/gtk-demo/demos/appwindow.py | 393
34711 +++++++++++++++++++++++
34712 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes
34713 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes
34714 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes
34715 demos/gtk-demo/demos/data/demo.ui | 258 +++++++++++++++
34716 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes
34717 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes
34718 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes
34719 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes
34720 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes
34721 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes
34722 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes
34723 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes
34724 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes
34725 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes
34726 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes
34727 demos/gtk-demo/demos/test.py | 14 +
34728 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++
34729 19 files changed, 931 insertions(+)
34731 commit b3b1f029d8d16cf9bd74160009808147d07e3b3f
34732 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34733 Date: Fri Jun 4 11:25:08 2010 +0200
34735 Update gobject-introspection dependency to 0.6.14
34737 configure.ac | 2 +-
34738 1 file changed, 1 insertion(+), 1 deletion(-)
34740 commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4
34741 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34742 Date: Fri Jun 4 11:23:41 2010 +0200
34744 Post-release version bump to 0.6.1
34746 configure.ac | 2 +-
34747 1 file changed, 1 insertion(+), 1 deletion(-)
34749 commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e
34750 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34751 Date: Fri Jun 4 08:29:42 2010 +0200
34753 Pre-release version bump 0.6.0
34755 configure.ac | 2 +-
34756 1 file changed, 1 insertion(+), 1 deletion(-)
34758 commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e
34759 Author: John (J5) Palmieri <johnp@redhat.com>
34760 Date: Fri May 28 10:03:11 2010 -0400
34762 support for caller-allocates annotations for structs
34764 * out caller-allocates parameters expect an already constructed
34766 to be passed in by reference. It is then modified and the caller
34768 modified value. We support this by using only one level of pointer
34770 * Only structs are considered to be caller-allocates parameters
34772 they are marked as such by GI. This is because the GI scanner
34774 enough to correctly guess 100% of the time
34775 * GValues are a special case of a caller-allocates parameter when
34777 up (e.g. g_value_unset is called). GValues make no sense in
34779 language. Developers should never deal with them.
34781 https://bugzilla.gnome.org/show_bug.cgi?id=620406
34783 gi/pygi-invoke.c | 73
34784 +++++++++++++++++++++++++++++++++++++++++++++---
34785 tests/test_everything.py | 28 +++++++++++++++++++
34786 2 files changed, 97 insertions(+), 4 deletions(-)
34788 commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd
34789 Author: John (J5) Palmieri <johnp@redhat.com>
34790 Date: Wed Jun 2 14:14:16 2010 -0400
34792 don't import gobject directly in the tests
34794 * use from gi.repository import GObject
34796 tests/test_overrides.py | 5 ++---
34797 1 file changed, 2 insertions(+), 3 deletions(-)
34799 commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c
34800 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34801 Date: Tue Jun 1 14:28:57 2010 +0200
34803 Wrap C arrays in structs as GArrays before converting to Python
34805 https://bugzilla.gnome.org/show_bug.cgi?id=620247
34807 gi/pygi-info.c | 11 +++++++++++
34808 tests/test_gi.py | 17 +++++++++++++++++
34809 2 files changed, 28 insertions(+)
34811 commit 5f0f9a9c9145a129a063b041424c3109a24d9ead
34812 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34813 Date: Wed May 26 13:20:27 2010 +0200
34815 Install pre-commit hook that checks the code changes for style
34818 autogen.sh | 7 +++++++
34819 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++
34820 2 files changed, 46 insertions(+)
34822 commit 1319da5b7f483e48a90b0b7489f77236ba26f479
34823 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34824 Date: Wed May 26 12:19:17 2010 +0200
34826 Apply consistent whitespace formatting with:
34828 astyle -p -d -c -S -U -M60
34830 This won't affect git blame nor git diff if the switch -w is used.
34832 gi/gimodule.c | 138 +++----
34833 gi/pygi-argument.c | 960
34834 ++++++++++++++++++++++++------------------------
34835 gi/pygi-boxed.c | 108 +++---
34836 gi/pygi-callbacks.c | 154 ++++----
34837 gi/pygi-callbacks.h | 8 +-
34838 gi/pygi-closure.c | 270 +++++++-------
34839 gi/pygi-closure.h | 18 +-
34840 gi/pygi-foreign-cairo.c | 36 +-
34841 gi/pygi-foreign-cairo.h | 36 +-
34842 gi/pygi-foreign.c | 54 +--
34843 gi/pygi-foreign.h | 10 +-
34844 gi/pygi-info.c | 646 ++++++++++++++++----------------
34845 gi/pygi-invoke.c | 380 +++++++++----------
34846 gi/pygi-repository.c | 114 +++---
34847 gi/pygi-struct.c | 88 ++---
34848 gi/pygi-type.c | 32 +-
34850 gi/pygobject-external.h | 14 +-
34851 18 files changed, 1544 insertions(+), 1542 deletions(-)
34853 commit 6156f15cb15b4c20e975527227135d49207c520a
34854 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34855 Date: Tue May 25 14:08:51 2010 +0200
34857 Prepend gi.repository to the __module__ attribute of wrapper classes.
34859 https://bugzilla.gnome.org/show_bug.cgi?id=619597
34861 gi/module.py | 4 ++--
34862 tests/test_gi.py | 4 +++-
34863 2 files changed, 5 insertions(+), 3 deletions(-)
34865 commit 097b92983b7a322c58fecb1e691ba6ddf5035548
34866 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34867 Date: Tue May 25 14:17:13 2010 +0200
34869 Correctly identify at creation time:
34871 * if the class is defined in python -> hook up vfuncs
34872 * if the class wraps a type from a .typelib -> set atributes
34873 * else (GLocalFile) -> do nothing
34875 https://bugzilla.gnome.org/show_bug.cgi?id=619604
34877 gi/types.py | 15 +++++++++++----
34878 1 file changed, 11 insertions(+), 4 deletions(-)
34880 commit 686e10fcdb108af9758eb025a3447813c3513a93
34881 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34882 Date: Thu Apr 29 10:55:13 2010 +0200
34884 Dont complain if another base has implemented the method
34886 https://bugzilla.gnome.org/show_bug.cgi?id=617153
34888 gi/types.py | 3 ++-
34889 1 file changed, 2 insertions(+), 1 deletion(-)
34891 commit 9f34d120845d936b04546a5cea599ec67e9181a7
34892 Author: John (J5) Palmieri <johnp@redhat.com>
34893 Date: Mon May 24 16:16:50 2010 -0400
34895 fix up Builder override, add new override methods, and add unit tests
34897 * check for flags when connecting signals now that we get gi
34899 * override the add_from_string and add_objects_from string overrides
34901 that you don't have to pass in the length of the buffer
34902 * add test that loads objects from strings and connects them to
34905 gi/overrides/Gtk.py | 19 +++++++++++--
34906 tests/test_overrides.py | 72
34907 ++++++++++++++++++++++++++++++++++++++++++++++---
34908 2 files changed, 86 insertions(+), 5 deletions(-)
34910 commit 1561d2977691f1cb8684f183a2e274c47960d931
34911 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34912 Date: Mon May 24 18:48:10 2010 +0200
34914 Improve handling of subclasses without __gtype_name__
34916 Gives a better message at type registration.
34918 https://bugzilla.gnome.org/show_bug.cgi?id=616849
34920 gi/gimodule.c | 9 +++++++++
34921 tests/test_gi.py | 13 ++++++++++++-
34922 2 files changed, 21 insertions(+), 1 deletion(-)
34924 commit c9d44d4d46c3da3a445000b1db592baa9c378a92
34925 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
34926 Date: Fri Apr 30 18:17:50 2010 +0200
34928 Add support for GArray args
34930 https://bugzilla.gnome.org/show_bug.cgi?id=617054
34932 gi/pygi-invoke.c | 11 +++++++----
34933 tests/test_gi.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
34934 2 files changed, 57 insertions(+), 4 deletions(-)
34936 commit c171579ee22681e1ee4ad33441c89f1053bdc3d1
34937 Author: John (J5) Palmieri <johnp@redhat.com>
34938 Date: Mon May 24 11:48:16 2010 -0400
34940 check refcounting of callback userdata in unit tests
34942 tests/test_everything.py | 18 ++++++++++++++++++
34943 1 file changed, 18 insertions(+)
34945 commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4
34946 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34947 Date: Sat May 22 15:12:37 2010 +0200
34949 Add support for out args in callbacks
34951 This patch refactors argument marshalling for closures in
34952 preparation for more complete support.
34954 Also fixes a bug in the memory management of user_data args.
34956 https://bugzilla.gnome.org/show_bug.cgi?id=617780
34958 gi/pygi-closure.c | 335
34959 +++++++++++++++++++++++++++++++++++++++++-------------
34960 tests/test_gi.py | 4 +
34961 2 files changed, 263 insertions(+), 76 deletions(-)
34963 commit 0df0c956bb2476392c9d81f0a243a7e84c067166
34964 Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>
34965 Date: Sun May 23 10:59:27 2010 +0200
34967 If None is passed to an interface which takes an object, convert it to
34970 * without this patch PyGI treats the None object as a PyGObject
34972 extracting garbage data causing a crash
34973 * None's equivalent in C is NULL so we must provide a special case
34975 marshal the None as NULL
34977 https://bugzilla.gnome.org/show_bug.cgi?id=617880
34979 gi/pygi-argument.c | 5 +++++
34980 tests/test_everything.py | 6 ++++++
34981 2 files changed, 11 insertions(+)
34983 commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca
34984 Author: John (J5) Palmieri <johnp@redhat.com>
34985 Date: Sat May 22 14:06:37 2010 +0200
34987 correctly handle floating objects in gtk
34989 * this is a stopgap so we work with older pygobject libraries
34990 * there is a patch at
34991 https://bugzilla.gnome.org/show_bug.cgi?id=583909
34992 which adds the correct fix to pygobject
34993 * once pygobject accepts the above patch this patch does not need to
34994 be reverted because pygobject_register_sinkfunc becomes a noop
34995 * add tests (Tomeu)
34997 https://bugzilla.gnome.org/show_bug.cgi?id=619007
34999 gi/gimodule.c | 12 ++++++++++++
35000 tests/test_everything.py | 3 +++
35001 2 files changed, 15 insertions(+)
35003 commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f
35004 Author: John (J5) Palmieri <johnp@redhat.com>
35005 Date: Sat May 22 13:21:30 2010 +0200
35007 Return an empty list when a NULL GList and GSList is returned
35009 * In GTK a GList * and GSList set to NULL is equivilant to empty
35011 GTK list methods can take a NULL and treat it as an empty list. e.g.
35012 g_list_length(NULL) returns 0
35013 * PyGtk consitently returns empty list when a NULL is returned for
35016 * Many PyGtk apps do this:
35017 for i in range(len(obj.get_list())):
35019 * If we were to continue to return None, they would have to add
35021 which is needlessly verbose and isn't very "pythonic"
35023 https://bugzilla.gnome.org/show_bug.cgi?id=619232
35025 gi/pygi-argument.c | 6 ------
35026 tests/test_everything.py | 4 ++--
35027 2 files changed, 2 insertions(+), 8 deletions(-)
35029 commit 71a2148b00dfdda99e0d961ae39b901608724e59
35030 Author: Steve Frécinaux <code@istique.net>
35031 Date: Fri May 21 19:05:03 2010 +0200
35033 Fix warning in configure.
35035 The warning is caused by the use of the construction 'CFLAGS+=' in a
35036 sh version that doesn't understand it (in this case, 'dash').
35038 https://bugzilla.gnome.org/show_bug.cgi?id=619311
35040 configure.ac | 2 +-
35041 1 file changed, 1 insertion(+), 1 deletion(-)
35043 commit aa0357e468eb91e0f3707346e9b32f312fbf51d3
35044 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35045 Date: Thu Apr 29 13:06:15 2010 +0200
35047 GTypeInterface cannot be unrefed
35049 https://bugzilla.gnome.org/show_bug.cgi?id=617159
35051 gi/gimodule.c | 4 +++-
35052 1 file changed, 3 insertions(+), 1 deletion(-)
35054 commit ab1aaff108d23aabd28c3634edfb67236eb55460
35055 Author: John (J5) Palmieri <johnp@redhat.com>
35056 Date: Sat May 22 13:09:48 2010 +0200
35058 fix NULL array unit tests and fix crasher when sending None as
35061 * Unit tests were wrong given the annotation for
35062 test_array_int_null_in and
35063 test_array_int_null_out:
35066 * test_array_int_null_in:
35067 * @arr: (array length=len) (allow-none):
35074 * test_array_int_null_out:
35075 * @arr: (out) (array length=len) (allow-none):
35076 * @len: (out) : length
35079 The (array length=len) annotation meant we don't pass in or
35080 receive the len argument as this is handled under the hood
35081 (Python's representation of an array, the list type, encapsulates
35082 the length inside the type)
35084 * Fixing up the tests revealed a latent crasher bug when passing
35086 interface that accepts an array. The fix was to check for NULL
35088 the length argument to 0 when invoking the bound method.
35090 https://bugzilla.gnome.org/show_bug.cgi?id=619235
35092 gi/pygi-invoke.c | 6 +++++-
35093 tests/test_everything.py | 4 ++--
35094 2 files changed, 7 insertions(+), 3 deletions(-)
35096 commit e928ea9b1df9d87314ff8e93479530e26be9bd87
35097 Author: John (J5) Palmieri <johnp@redhat.com>
35098 Date: Fri May 14 14:57:27 2010 -0400
35100 don't error out on methods with callbacks as return type
35102 * Right now we just throw an error which means API's like
35103 gtk_about_dialog_set_url_hook aren't able to be called,
35104 * this allows us to call such APIs while printing a warning, in
35106 API such as this doesn't need to be used anymore and is a result of
35107 early GTK development
35109 gi/pygi-argument.c | 14 +++++++++++---
35110 1 file changed, 11 insertions(+), 3 deletions(-)
35112 commit d963007aab123f4e53a944a66a935db2d22907c2
35113 Author: John (J5) Palmieri <johnp@redhat.com>
35114 Date: Mon May 17 11:54:34 2010 -0400
35116 reset sys.argv to the return value of Gtk.init_check
35118 * applications which check command line arguments will error out if it
35119 encounters a GTK command line switch such as --g-fatal-warnings.
35120 * The Gtk.init* API reads these switches and returns a new argv with
35122 switches stripped out
35123 * In C argv is modified in place but in Python we must set sys.argv
35125 new modified argument list
35126 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889
35128 gi/overrides/Gtk.py | 1 +
35129 1 file changed, 1 insertion(+)
35131 commit 897420ed97cc4a7b8a806894df5e76ed72617614
35132 Author: John (J5) Palmieri <johnp@redhat.com>
35133 Date: Wed May 12 14:25:32 2010 -0400
35135 add GtkUIManager and GtkActionGroup overrides
35137 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476
35139 gi/overrides/Gtk.py | 167
35140 +++++++++++++++++++++++++++++++++++++++++++++++-
35141 tests/test_overrides.py | 45 +++++++++++++
35142 2 files changed, 211 insertions(+), 1 deletion(-)
35144 commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f
35145 Author: Zach Goldberg <zach@zachgoldberg.com>
35146 Date: Thu May 13 01:02:24 2010 -0400
35148 Bump version for development to 0.5.2 (hopefully 0.6)
35150 configure.ac | 2 +-
35151 1 file changed, 1 insertion(+), 1 deletion(-)
35153 commit 2674a9546b0246d4a75d71cf1708df77dc0173f9
35154 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35155 Date: Wed May 5 15:54:39 2010 +0200
35157 Fix overrides.Gdk.Color.__new__ args
35159 https://bugzilla.gnome.org/show_bug.cgi?id=617757
35161 gi/overrides/Gdk.py | 2 +-
35162 tests/Makefile.am | 3 ++-
35163 tests/test_overrides.py | 22 ++++++++++++++++++++++
35164 3 files changed, 25 insertions(+), 2 deletions(-)
35166 commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88
35167 Author: John (J5) Palmieri <johnp@redhat.com>
35168 Date: Thu Apr 29 14:55:33 2010 -0400
35170 wrap GObject module so we can go through GI when requesting attrs
35172 * This gives us the best of both worlds.
35173 - We remain backwards compatable with pygobject by checking for
35175 attrs in the gobject module
35176 - If an attr does not exist we use the GI mechanism to look it up
35178 things like flags look the same whether exported from GObject, Gtk
35179 or any GI managed library
35181 * add DynamicGObjectModule tests and make tests use the new module
35182 - change import gobject to from gi.repository import GObject
35184 gi/importer.py | 6 ++--
35185 gi/module.py | 30 ++++++++++++++++
35186 tests/test_everything.py | 6 ++--
35187 tests/test_gi.py | 93
35188 ++++++++++++++++++++++++++----------------------
35189 4 files changed, 87 insertions(+), 48 deletions(-)
35191 commit 64324a4c629432b2e688299b6edbfd5da4439a2a
35192 Author: John (J5) Palmieri <johnp@redhat.com>
35193 Date: Fri Apr 30 14:11:55 2010 -0400
35195 override Gdk.Drawable to add cairo_create convinience method
35197 gi/overrides/Gdk.py | 7 ++++++-
35198 1 file changed, 6 insertions(+), 1 deletion(-)
35200 commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e
35201 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35202 Date: Mon May 3 19:13:46 2010 +0200
35204 Fix passing callbacks as constructor args
35206 https://bugzilla.gnome.org/show_bug.cgi?id=617551
35208 gi/pygi-callbacks.c | 3 ++-
35209 gi/pygi-callbacks.h | 1 +
35210 gi/pygi-invoke.c | 7 +++++--
35211 tests/test_everything.py | 21 +++++++++++++++++++++
35212 4 files changed, 29 insertions(+), 3 deletions(-)
35214 commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5
35215 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35216 Date: Wed May 5 08:06:03 2010 +0200
35218 Avoid freeing garbage
35220 gi/pygi-invoke.c | 6 ++++--
35221 1 file changed, 4 insertions(+), 2 deletions(-)
35223 commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba
35224 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35225 Date: Thu Apr 29 13:09:03 2010 +0200
35227 Only hookup vfunc implementations for locally-defined methods
35229 https://bugzilla.gnome.org/show_bug.cgi?id=617160
35231 gi/types.py | 10 +++++++++-
35232 tests/test_gi.py | 10 ++++++++++
35233 2 files changed, 19 insertions(+), 1 deletion(-)
35235 commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d
35236 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35237 Date: Mon May 3 18:35:13 2010 +0200
35239 Fix passing GDestroyNotify
35241 https://bugzilla.gnome.org/show_bug.cgi?id=617542
35243 gi/pygi-invoke.c | 3 ++-
35244 tests/test_everything.py | 10 ++++++++++
35245 2 files changed, 12 insertions(+), 1 deletion(-)
35247 commit 9669acd0fad193013ef3505ae231588307f9834c
35248 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35249 Date: Mon May 3 12:23:58 2010 +0200
35251 Move invocation code to its own file
35253 https://bugzilla.gnome.org/show_bug.cgi?id=617107
35255 gi/Makefile.am | 2 +
35256 gi/pygi-info.c | 884
35257 ----------------------------------------------------
35258 gi/pygi-invoke.c | 909
35259 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
35260 gi/pygi-invoke.h | 37 +++
35261 gi/pygi-private.h | 1 +
35262 5 files changed, 949 insertions(+), 884 deletions(-)
35264 commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666
35265 Author: John (J5) Palmieri <johnp@redhat.com>
35266 Date: Tue Apr 27 19:13:08 2010 -0400
35268 Add the Gtk.Builder override
35270 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++-
35271 1 file changed, 36 insertions(+), 1 deletion(-)
35273 commit 9fc6783406b8263ebd67ceae2730b4e86689b43e
35274 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35275 Date: Fri Apr 30 15:00:52 2010 +0200
35277 Fix GAsyncReadyCallback
35279 https://bugzilla.gnome.org/show_bug.cgi?id=616236
35281 gi/pygi-closure.c | 8 +++++++-
35282 tests/test_everything.py | 16 ++++++++++++++++
35283 2 files changed, 23 insertions(+), 1 deletion(-)
35285 commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e
35286 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35287 Date: Thu Apr 29 18:32:50 2010 +0200
35289 Add override for Gdk.Color
35291 https://bugzilla.gnome.org/show_bug.cgi?id=617162
35293 gi/overrides/Gdk.py | 20 +++++++++++++++++++-
35294 1 file changed, 19 insertions(+), 1 deletion(-)
35296 commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f
35297 Author: John (J5) Palmieri <johnp@redhat.com>
35298 Date: Wed Apr 28 13:19:48 2010 -0400
35300 make __all__ be a list of strings, fix override mechanism to use
35303 * before we were adding classes to the __all__ module property but
35304 the convention is to use the name of the class
35305 * simplified the check to just check the name against __all__
35306 instead of trying to get the class and then checking the class
35307 against None as well as in __all__
35308 * went through all the overrides and made __all__ be a list of strings
35310 gi/module.py | 9 ++++-----
35311 gi/overrides/GIMarshallingTests.py | 2 +-
35312 gi/overrides/Gdk.py | 2 +-
35313 3 files changed, 6 insertions(+), 7 deletions(-)
35315 commit 64fa8f936bad9a90628df446e690d67d947a0a22
35316 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35317 Date: Mon Apr 26 11:41:06 2010 +0200
35319 One more step at refactoring _wrap_g_function_info_invoke
35321 https://bugzilla.gnome.org/show_bug.cgi?id=616357
35323 gi/pygi-callbacks.c | 22 +-
35324 gi/pygi-callbacks.h | 4 +-
35325 gi/pygi-info.c | 582
35326 ++++++++++++++++++++++++++++++----------------------
35327 3 files changed, 346 insertions(+), 262 deletions(-)
35329 commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624
35330 Author: Zach Goldberg <zach@zachgoldberg.com>
35331 Date: Tue Apr 20 23:23:38 2010 -0400
35333 Step 1 of refactoring _wrap_g_function_info_invoke
35335 Original patch by David Malcom <dmalcolm@redhat.com>
35337 This patch bitrots *REALLY* fast.
35339 https://bugzilla.gnome.org/show_bug.cgi?id=616357
35341 gi/pygi-info.c | 417
35342 +++++++++++++++++++++++++++++----------------------------
35343 1 file changed, 214 insertions(+), 203 deletions(-)
35345 commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22
35346 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35347 Date: Tue Apr 27 10:24:35 2010 +0200
35349 Dont force subclasses to implement all virtual methods of their bases
35351 https://bugzilla.gnome.org/show_bug.cgi?id=616674
35353 gi/types.py | 4 ++--
35354 tests/test_gi.py | 15 +++++++++++++++
35355 2 files changed, 17 insertions(+), 2 deletions(-)
35357 commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa
35358 Author: Zach Goldberg <zach@zachgoldberg.com>
35359 Date: Sun Apr 25 15:09:08 2010 -0400
35361 Correct the reference counting of userdata in closure handling
35363 Without this we lose references on every call and eventually end up
35365 while they are still in use.
35367 https://bugzilla.gnome.org/show_bug.cgi?id=616786
35369 gi/pygi-closure.c | 3 +++
35370 tests/test_everything.py | 13 +++++++++++++
35371 2 files changed, 16 insertions(+)
35373 commit 2b12049306bf57513c43d08017185468bf897a4a
35374 Author: Zach Goldberg <zach@zachgoldberg.com>
35375 Date: Tue Apr 20 22:57:14 2010 -0400
35377 Change SCOPE_TYPE_INVALID handling to be a more verbose error.
35379 (Previous commit did not include the proper error message. I blame
35382 https://bugzilla.gnome.org/show_bug.cgi?id=616356
35384 gi/pygi-closure.c | 4 ++--
35385 1 file changed, 2 insertions(+), 2 deletions(-)
35387 commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a
35388 Author: Zach Goldberg <zach@zachgoldberg.com>
35389 Date: Tue Apr 20 23:53:57 2010 -0400
35391 Force out arguments to be initialized as NULL. Comes with a test.
35393 This fix was motivated by a real world library which had a transfer
35395 utf8 out argument which sometimes was not set. We would leave
35397 dangling and try and free it at the end of invoke() and crash.
35399 to change their behavior so we're forced to take care of it on
35402 https://bugzilla.gnome.org/show_bug.cgi?id=616043
35404 gi/pygi-info.c | 1 +
35405 tests/test_gi.py | 3 +++
35406 2 files changed, 4 insertions(+)
35408 commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13
35409 Author: Zach Goldberg <zach@zachgoldberg.com>
35410 Date: Tue Apr 20 22:57:14 2010 -0400
35412 Change SCOPE_TYPE_INVALID handling to be a warning and not an error
35414 Be slightly nicer to library maintainers. It really isn't a fatal
35416 if we don't have a proper scope type, better to leave a good code
35418 and a warning than to cause their code to segv.
35420 https://bugzilla.gnome.org/show_bug.cgi?id=616356
35422 gi/pygi-closure.c | 3 ++-
35423 1 file changed, 2 insertions(+), 1 deletion(-)
35425 commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c
35426 Author: Zach Goldberg <zach@zachgoldberg.com>
35427 Date: Tue Apr 20 22:43:20 2010 -0400
35429 Refactor implementation of scope call to allow for multiple calls
35430 during lifetime of function invocation.
35432 https://bugzilla.gnome.org/show_bug.cgi?id=616343
35434 gi/pygi-closure.c | 10 +++++-----
35435 gi/pygi-info.c | 9 +++++++--
35436 tests/test_everything.py | 9 +++++++++
35437 3 files changed, 21 insertions(+), 7 deletions(-)
35439 commit 3ba666b7ab9c393963922c272e7d87bff50a93f9
35440 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35441 Date: Sat Jan 2 16:31:55 2010 +0100
35443 Add basic support for unions
35445 https://bugzilla.gnome.org/show_bug.cgi?id=603598
35447 gi/module.py | 3 +-
35448 gi/pygi-argument.c | 24 +++-----------
35449 gi/pygi-boxed.c | 18 +++++++++--
35450 gi/pygi-info.c | 94
35451 ++++++++++++++++++++++++++++++++++++++++++++++++------
35452 gi/pygi-info.h | 1 +
35453 tests/test_gi.py | 56 ++++++++++++++++++++++++++++++++
35454 6 files changed, 165 insertions(+), 31 deletions(-)
35456 commit af9e4e086d160fe7fb24758ed81753e784b198a8
35457 Author: Simon van der Linden <svdlinden@src.gnome.org>
35458 Date: Fri Jan 22 22:16:32 2010 +0100
35460 Bump required GLib version to 2.22
35462 Since PyGObject now depends on GLib 2.22.4, there is no need to
35464 backward-compatible.
35466 configure.ac | 2 +-
35467 gi/pygi-private.h | 20 --------------------
35468 2 files changed, 1 insertion(+), 21 deletions(-)
35470 commit c0f40de5648e2ebc556c449342a0025ffce2e33b
35471 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35472 Date: Sun Apr 18 11:50:14 2010 -0400
35474 Refactor get_* methods in the *Info wrappers
35476 https://bugzilla.gnome.org/show_bug.cgi?id=616108
35478 gi/pygi-info.c | 360
35479 +++++++++++++++++++++++++++------------------------------
35480 1 file changed, 168 insertions(+), 192 deletions(-)
35482 commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd
35483 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35484 Date: Tue Apr 20 15:12:47 2010 +0200
35486 Print any error messages raised inside _pygi_closure_handle
35488 https://bugzilla.gnome.org/show_bug.cgi?id=616279
35490 gi/pygi-closure.c | 9 +++++----
35491 1 file changed, 5 insertions(+), 4 deletions(-)
35493 commit d1ba23cdd05686ea721425f233371d573a2e9cce
35494 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35495 Date: Thu Apr 22 19:57:17 2010 +0200
35497 Rename variable with a very generic name
35499 gi/module.py | 28 ++++++++++++++--------------
35500 1 file changed, 14 insertions(+), 14 deletions(-)
35502 commit 391640b30ede50af3667b1019edb72bd79f2c68c
35503 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35504 Date: Thu Apr 22 19:53:06 2010 +0200
35506 Add support for enums without GType
35508 https://bugzilla.gnome.org/show_bug.cgi?id=616520
35510 gi/module.py | 6 +++++-
35511 gi/pygi-argument.c | 22 +++++++++++++++++++++-
35512 gi/types.py | 14 ++++++++++++++
35513 tests/test_gi.py | 30 ++++++++++++++++++++++++++++--
35514 4 files changed, 68 insertions(+), 4 deletions(-)
35516 commit 89704f60ddae0c81f1383d86491ef2785590a353
35517 Author: Zach Goldberg <zach@zachgoldberg.com>
35518 Date: Tue Apr 20 22:20:42 2010 -0400
35520 Bump version during development to 0.5.1
35522 This follows what is, according to Colin Walters,
35523 standard versioning practice. During development the
35524 version in your config is the *next* version you will release,
35525 not the version after. Thus after a release you make a new commit
35526 bumping to the next development version.
35528 configure.ac | 2 +-
35529 1 file changed, 1 insertion(+), 1 deletion(-)
35531 commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75
35532 Author: John Ehresman <jpe@wingware.com>
35533 Date: Tue Apr 20 20:40:02 2010 -0400
35535 Added missing , to keyword list of gio.GFile.set_attribute
35537 gio/gresolver.override | 2 +-
35538 1 file changed, 1 insertion(+), 1 deletion(-)
35540 commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e
35541 Author: John Ehresman <jpe@wingware.com>
35542 Date: Tue Apr 20 20:37:12 2010 -0400
35544 Fix arg conversion in gio.GFile.set_attribute
35546 gio/gfile.override | 232
35547 +++++++++++++++++++++++++++++++++++++++++++++++++++--
35548 1 file changed, 227 insertions(+), 5 deletions(-)
35550 commit a579ccc8bea90937bf970be3d461e2b650b0c7d6
35551 Author: John Ehresman <jpe@wingware.com>
35552 Date: Tue Apr 20 20:01:53 2010 -0400
35554 Set constants under python 2.5 or before
35556 gobject/gobjectmodule.c | 8 ++++++++
35557 1 file changed, 8 insertions(+)
35559 commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0
35560 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35561 Date: Sun Apr 18 20:22:21 2010 -0400
35563 Doc Extractor: Use replacements that make sense for &...;
35566 * codegen/docextract_to_xml.py: Use # and  
35568 # (#) and . These are interpreted correctly in
35570 not make the parsing crash.
35572 codegen/docextract_to_xml.py | 4 ++--
35573 1 file changed, 2 insertions(+), 2 deletions(-)
35575 commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b
35576 Author: Zach Goldberg <zach@zachgoldberg.com>
35577 Date: Sun Apr 18 14:32:06 2010 -0400
35579 Bump version for release 0.5.0
35581 HACKING | 7 +++++++
35582 configure.ac | 4 ++--
35583 2 files changed, 9 insertions(+), 2 deletions(-)
35585 commit 3293c91d90c5c497b45e42a527d7f79f7435823e
35586 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35587 Date: Sun Apr 18 14:28:13 2010 -0400
35589 One more missing file...
35591 examples/Makefile.am | 2 ++
35592 1 file changed, 2 insertions(+)
35594 commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d
35595 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35596 Date: Sun Apr 18 14:18:44 2010 -0400
35598 Add more stuff to the tarballs
35600 Makefile.am | 8 +++++++-
35602 2 files changed, 8 insertions(+), 1 deletion(-)
35604 commit 8a9bb04755057e934b7f46c917af6ef281a2fedd
35605 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35606 Date: Sun Apr 18 13:48:45 2010 -0400
35608 Add one more missing file to tarballs
35610 gi/overrides/GIMarshallingTests.py | 0
35611 gi/overrides/Makefile.am | 1 +
35612 2 files changed, 1 insertion(+)
35614 commit 979e01852fc7f830ee91093accdc387fa535075f
35615 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35616 Date: Sun Apr 18 13:45:29 2010 -0400
35618 Add missing file to tarballs
35620 tests/Makefile.am | 1 +
35621 1 file changed, 1 insertion(+)
35623 commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89
35624 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35625 Date: Sun Apr 18 13:11:11 2010 -0400
35629 https://bugzilla.gnome.org/show_bug.cgi?id=602736
35632 +++++++++++++++++++++++++++++++++++++++++++++++++++++
35633 gi/pygi-argument.c | 1 +
35634 gi/pygi-callbacks.c | 3 +-
35635 gi/pygi-closure.c | 4 +--
35636 gi/pygi-closure.h | 2 +-
35637 gi/pygi-info.c | 86
35638 +++++++++++++++++++++++++++++++++++++++++++++++++--
35639 gi/pygi-info.h | 1 +
35640 gi/types.py | 44 +++++++++++++++++---------
35641 tests/test_gi.py | 18 +++++++++++
35642 9 files changed, 227 insertions(+), 21 deletions(-)
35644 commit e239faacb4798fe2d166233ca1a19a843a6225e3
35645 Author: Zach Goldberg <zach@zachgoldberg.com>
35646 Date: Sun Apr 18 11:59:06 2010 -0400
35648 Fix a typo in pygi-callbacks.c header
35650 gi/pygi-callbacks.c | 2 +-
35651 1 file changed, 1 insertion(+), 1 deletion(-)
35653 commit 79aa416ae8632b123da61d79fb820d9e2704209c
35654 Author: Zach Goldberg <zach@zachgoldberg.com>
35655 Date: Sat Apr 17 12:00:05 2010 -0400
35657 Implement nullable argument support, including tests
35659 https://bugzilla.gnome.org/show_bug.cgi?id=616035
35661 gi/pygi-argument.c | 43 +++++++++++++++++++++++++++++++++++++------
35662 gi/pygi-argument.h | 3 ++-
35663 gi/pygi-info.c | 19 +++++++++++++------
35664 tests/test_everything.py | 28 ++++++++++++++++++++++++++++
35665 4 files changed, 80 insertions(+), 13 deletions(-)
35667 commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e
35668 Author: Zach Goldberg <zach@zachgoldberg.com>
35669 Date: Sat Apr 17 12:56:19 2010 -0400
35671 Move some tests from test_gi to test_everything
35673 tests/test_everything.py | 60
35674 ++++++++++++++++++++++++++++++++++++++++++++++
35675 tests/test_gi.py | 62
35676 +-----------------------------------------------
35677 2 files changed, 61 insertions(+), 61 deletions(-)
35679 commit a90298cc9e6c0f336f887a71d80b1efd07ec2811
35680 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35681 Date: Sun Apr 18 10:44:35 2010 -0400
35683 Update to latest version of the pygi-convert.sh script
35685 pygi-convert.sh | 193
35686 ++++++++++++++++++++++++++++++++++++++++----------------
35687 1 file changed, 137 insertions(+), 56 deletions(-)
35689 commit 34a39318c674737c6d64f2430456daef86ba1626
35690 Author: Colin Walters <walters@verbum.org>
35691 Date: Sun Apr 18 10:40:44 2010 -0400
35693 Add Tomeu's prototype script for converting pygtk to pygi
35695 pygi-convert.sh | 71
35696 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
35697 1 file changed, 71 insertions(+)
35699 commit a3afdb5fd33de0bf11d63857a245a8f5edec242c
35700 Author: Olav Vitters <olav@vitters.nl>
35701 Date: Sun Apr 18 13:01:58 2010 +0200
35706 1 file changed, 4 insertions(+)
35708 commit 0de73d0bba79f92af22f43693f3575c596712416
35709 Author: Zach Goldberg <zach@zachgoldberg.com>
35710 Date: Sat Apr 17 16:01:31 2010 -0400
35712 Add Zach Goldberg as a pygi maintainer
35714 pygi.doap | 5 +++++
35715 1 file changed, 5 insertions(+)
35717 commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd
35718 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35719 Date: Sat Apr 17 11:47:54 2010 -0400
35723 configure.ac | 7 +------
35724 1 file changed, 1 insertion(+), 6 deletions(-)
35726 commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad
35727 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35728 Date: Sat Apr 17 11:40:14 2010 -0400
35730 Add examples/cairo-demo.py
35732 examples/cairo-demo.py | 121
35733 +++++++++++++++++++++++++++++++++++++++++++++++++
35734 1 file changed, 121 insertions(+)
35736 commit 610dd1eec87fab5c8c3badb4d104cba74477c745
35737 Author: Zach Goldberg <zach@zachgoldberg.com>
35738 Date: Sat Apr 17 09:17:14 2010 -0400
35740 Implementation callback support with scoping and basic argument
35743 This patch was originally written by
35744 Zach Goldberg <zach@zachgoldberg.com> with modifications and
35745 review by Simon van der Linden <svdlinden@src.gnome.org> and
35746 Colin Walters <walters@verbum.org>.
35748 This impementation enforces the assumption that any one function
35749 signature can only have one (callback, userdata, destronotify) tuple.
35750 This allows us to move callback creation into the actual function
35751 invoke pipeline and also to keep just one destroy notify callback
35752 around, vastly simplifying the code.
35754 https://bugzilla.gnome.org/show_bug.cgi?id=603095
35757 gi/Makefile.am | 4 +
35758 gi/pygi-argument.c | 12 ++-
35759 gi/pygi-callbacks.c | 216
35760 ++++++++++++++++++++++++++++++++++++++++++++++++++++
35761 gi/pygi-callbacks.h | 47 ++++++++++++
35762 gi/pygi-closure.c | 205
35763 +++++++++++++++++++++++++++++++++++++++++++++++++
35764 gi/pygi-closure.h | 57 ++++++++++++++
35765 gi/pygi-info.c | 49 ++++++++++--
35766 gi/pygi-private.h | 2 +
35767 tests/test_gi.py | 64 +++++++++++++++-
35768 10 files changed, 648 insertions(+), 10 deletions(-)
35770 commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f
35771 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35772 Date: Sat Apr 17 10:54:45 2010 -0400
35774 Add support for foreign structs
35776 https://bugzilla.gnome.org/show_bug.cgi?id=603712
35778 configure.ac | 6 +++
35779 gi/Makefile.am | 10 +++-
35780 gi/gimodule.c | 7 +++
35781 gi/pygi-argument.c | 27 ++++++++++-
35782 gi/pygi-foreign-cairo.c | 103 +++++++++++++++++++++++++++++++++++++++
35783 gi/pygi-foreign-cairo.h | 55 +++++++++++++++++++++
35784 gi/pygi-foreign.c | 123
35785 +++++++++++++++++++++++++++++++++++++++++++++++
35786 gi/pygi-foreign.h | 52 ++++++++++++++++++++
35787 gi/pygi-private.h | 1 +
35788 tests/test_everything.py | 48 ++++++++++++++++++
35789 10 files changed, 428 insertions(+), 4 deletions(-)
35791 commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155
35792 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35793 Date: Fri Apr 16 14:35:13 2010 -0400
35795 Allow creating structs with pointers
35797 https://bugzilla.gnome.org/show_bug.cgi?id=603537
35799 gi/pygi-struct.c | 6 ------
35800 tests/test_gi.py | 3 ++-
35801 2 files changed, 2 insertions(+), 7 deletions(-)
35803 commit fc9ff02e53aacf9e77625c70985e99813544912a
35804 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35805 Date: Fri Apr 16 10:40:40 2010 -0400
35807 Add gdb and valgrind variants for the tests
35809 HACKING | 19 +++++++++++++++++++
35810 Makefile.am | 12 ++++++++++++
35811 tests/Makefile.am | 14 +++++++++++++-
35812 3 files changed, 44 insertions(+), 1 deletion(-)
35814 commit 695ac7bc5c60371a32538d690c7a15509f3c9637
35815 Author: John Stowers <john.stowers@gmail.com>
35816 Date: Fri Apr 16 14:36:11 2010 +1200
35818 Add build docs for windows
35821 README.win32 | 24 ++++++++++++++++++++++++
35822 2 files changed, 25 insertions(+)
35824 commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a
35825 Author: John Stowers <john.stowers@gmail.com>
35826 Date: Thu Apr 15 13:40:39 2010 +1200
35828 Setup.py cosmetic tidy
35830 * Remove local doc install, point to website instead
35831 * link to versioned docs
35833 pygobject_postinstall.py | 43 ++++++++++++++++++++++++++-----------------
35834 setup.py | 39 ++++++++++++++-------------------------
35835 2 files changed, 40 insertions(+), 42 deletions(-)
35837 commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959
35838 Author: John Stowers <john.stowers@gmail.com>
35839 Date: Sat Jul 25 14:12:30 2009 +1200
35841 Fix crash when importing gio
35843 Only seems to be necessary on windows, but
35844 no harm on linux as multiple calls to init
35847 gio/giomodule.c | 3 +++
35848 1 file changed, 3 insertions(+)
35850 commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b
35851 Author: John Stowers <john.stowers@gmail.com>
35852 Date: Thu Apr 15 22:52:48 2010 +1200
35854 Bug 589671 - Dont use generate-constants
35856 This breaks the build using distutils, and it is
35857 largely unneeded. Just add the G_XXX constants
35858 to the module directly
35860 gobject/Makefile.am | 16 +----------
35861 gobject/{constants.py.in => constants.py} | 33 +++++++++++++++++++++++
35862 gobject/generate-constants.c | 44
35863 -------------------------------
35864 gobject/gobjectmodule.c | 35 ++++++++++++++++++++++++
35866 tests/runtests.py | 3 +--
35867 6 files changed, 71 insertions(+), 62 deletions(-)
35869 commit 6d7a3ab9ce352692d0faccbf106974d264fa953d
35870 Author: John Stowers <john.stowers@gmail.com>
35871 Date: Thu Apr 15 22:49:17 2010 +1200
35873 Bug 589671 - Fix setup.py for windows build
35875 * Building pyglib as a static private library
35876 * Update to include new defs
35877 * Modernise setup.py and add more util functions
35880 dsextras.py | 32 ++++++++++++++++---
35882 +++++++++++++++++++++++++++++++++++++++++++++++++++---------
35883 2 files changed, 116 insertions(+), 18 deletions(-)
35885 commit d11ef47072acae5801ce25c68d1289e425eb9fc2
35886 Author: John Stowers <john.stowers@gmail.com>
35887 Date: Thu Apr 15 22:48:28 2010 +1200
35889 Include pygsource.h
35891 glib/pygiochannel.c | 1 +
35892 1 file changed, 1 insertion(+)
35894 commit c5f6af4844c74354abc508d17969d9d45153acf2
35895 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35896 Date: Thu Apr 15 14:25:59 2010 -0400
35898 Add metadata to the .doap file
35901 1 file changed, 3 insertions(+)
35903 commit 81796cb77cbe6b9598a652bd63c047af93e747ee
35904 Author: John (J5) Palmieri <johnp@redhat.com>
35905 Date: Wed Apr 14 12:01:43 2010 -0400
35907 override that wasn't checked in - fixes some test cases
35909 gi/overrides/GIMarshallingTests.py | 69
35910 ++++++++++++++++++++++++++++++++++++++
35911 1 file changed, 69 insertions(+)
35913 commit de5d2ea1584b01af809346316c7fbd4955a9db1d
35914 Author: Colin Walters <walters@verbum.org>
35915 Date: Wed Apr 14 10:06:07 2010 -0400
35917 [Makefile.am] Clean up CFLAGS handling, don't override all: target
35919 First, we should move the CFLAGS into AM_CFLAGS, otherwise the
35920 per-target CFLAGS forces Automake to prefix object files, which
35921 is unnecessary since we only have one target.
35923 More importantly, avoid overriding the all: target here; that's
35924 owned by Automake. Use all-local instead to append things to
35925 the end of the normal build.
35927 gi/Makefile.am | 15 +++++++++------
35928 1 file changed, 9 insertions(+), 6 deletions(-)
35930 commit 5a47e96e3f580c973e6880dafa747f54c144c760
35931 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
35932 Date: Tue Apr 13 19:15:49 2010 -0400
35934 Use GIMarshallingTests (old TestGI) in gobject-introspection
35936 gi/overrides/TestGI.py | 69 --
35937 tests/Makefile.am | 40 -
35938 tests/libtestgi.c | 2924
35939 ------------------------------------------------
35940 tests/libtestgi.h | 628 -----------
35941 tests/test_gi.py | 832 +++++++-------
35942 5 files changed, 416 insertions(+), 4077 deletions(-)
35944 commit 681832c3cd040433a488a400693b68f213bf7078
35945 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35946 Date: Tue Apr 13 13:33:12 2010 -0400
35948 codegen/docextract_to_xml.py: One more &...; replacement
35951 * codegen/docextract_to_xml.py: Replace which also
35953 errors with a regular space.
35955 codegen/docextract_to_xml.py | 1 +
35956 1 file changed, 1 insertion(+)
35958 commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb
35959 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35960 Date: Tue Apr 13 12:28:10 2010 -0400
35962 codegen/docextract_to_xml.py: Replace some &..; that cause
35965 * codegen/docextract_to_xml.py (escape_text): Replace
35967 expressions that cause errors with more appropriate output.
35969 codegen/docextract_to_xml.py | 4 ++++
35970 1 file changed, 4 insertions(+)
35972 commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e
35973 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35974 Date: Sun Apr 11 17:46:40 2010 -0400
35976 codegen/docextract_to_xml.py: Handle C++ multi-line comments.
35978 * codegen/docextract_to_xml.py (escape_text): Translate '/*'
35980 in text to '/ *' and '* /' respectively so that comment
35982 show up when the descriptions that include C++ code with C++
35983 multi-line comments are used in Doxygen blocks.
35985 codegen/docextract_to_xml.py | 9 +++++++++
35986 1 file changed, 9 insertions(+)
35988 commit a2fcdecbb5e109da5568084d7acb2332af83b6f5
35989 Author: José Alburquerque <jaalburqu@svn.gnome.org>
35990 Date: Sun Apr 11 16:15:01 2010 -0400
35992 codegen/docextract.py: Stop final section processing on
35995 * codegen/docextract.py (process_final_sections): Modify
35997 section pattern matching for loop to stop on first match so
35999 doesn't match both a colon return ('Returns: ...') and a
36001 return ('Returns ...') which leads to annotation extraction
36004 codegen/docextract.py | 4 ++++
36005 1 file changed, 4 insertions(+)
36007 commit 825fd305f03b726665edca34963978ce27448182
36008 Author: José Alburquerque <jaalburqu@svn.gnome.org>
36009 Date: Sun Apr 11 15:45:09 2010 -0400
36011 Update doc extraction tool to handle GObjectIntrospection
36014 * codegen/docextract.py (FunctionDoc): Renamed class to
36016 (GtkDoc::annotations): Added a list field to store annotations
36018 are 2-tuples of (name, value).
36019 (GtkDoc::ret): Modified field to store the return description
36021 with a list of annotations as described above.
36022 (GtkDoc::params): Now holds a list of 3-tupples: name,
36024 annotations (as described above).
36025 (GtkDoc::block_type): Add a field to tell if the comment
36027 function block, signal block or property block.
36028 (GtkDoc::set_type):
36029 (GtkDoc::get_type): Add methods for setting/getting the
36031 (GtkDoc::add_param): Modified to also accept a list of
36033 be added with the parameter.
36034 (GtkDoc::add_annotation):
36035 (GtkDoc::get_annotations): Added methods to add/get
36038 (GtkDoc::append_description): Renamed to
36039 append_to_description().
36040 (GtkDoc::get_param_description): Removed unused method.
36041 (GtkDoc::get_description): Added method to get block
36043 (GtkDoc::add_return): Added method to add a return accepting
36045 line of the description and its annotations.
36046 (GtkDoc::append_return): Renamed to append_to_return().
36047 (Regular expressions):
36048 - Made the names of the variables un-abbreviated.
36050 - Added 'since', 'deprecated' and 'rename to' regular
36053 - Modified the return matching regular expression so that
36055 match descriptions that begin with 'Returns ...'.
36057 the docs of many function.
36059 - Added signal and property comment block identifier
36061 expressions in case those are useful.
36063 - Modified existing identifier matching regular expressions
36065 signal, and property regular expressions) to properly parse
36066 annotations. Also added a regular expression for extracting
36067 annotations from the parameter and return descriptions.
36069 - Refined the function name matching regular expression to
36071 identifiers that begin with a lowercase letter.
36073 'SECTION:' matches.
36075 - Finally, grouped commonly related expressions like
36077 since_pattern, etc. into groups (in lists) so that
36079 sections can be done using loops.
36081 (Parsing algorithm): Modified the algorithm to use a
36083 approach to parsing. Extra methods like skip_to_comment() and
36084 processs_params() have been added and used in the parse_file()
36085 function to now process the comment blocks.
36086 (parse_dir): Added file processing output to stderr.
36087 * codegen/docextract_to_xml.py (usage): Added function to
36090 (print_annotations): Added function to print the given list of
36092 (options): Added --with-signals (-i), with-properties (-p) and
36093 --with-annotation (-a) to the existing --source-dir (-s)
36096 (algorithm): Now prints annotations, if specified. Also,
36098 signals and properties correctly (using names like
36100 for signals and Classs:property) with xml such as <signal
36101 name="...">...</signal>. The return xml is slightly
36103 annotations but this would only be exhibited if annotation
36107 codegen/docextract.py | 439
36108 ++++++++++++++++++++++++++++++++++---------
36109 codegen/docextract_to_xml.py | 87 ++++++---
36110 2 files changed, 414 insertions(+), 112 deletions(-)
36112 commit 9fef1acb42cd900d4a814a7378f60bc189121785
36113 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36114 Date: Fri Apr 9 13:47:03 2010 +0200
36116 Always create the .so link
36118 gi/Makefile.am | 2 +-
36119 1 file changed, 1 insertion(+), 1 deletion(-)
36121 commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f
36122 Author: Paul Bolle <pebolle@tiscali.nl>
36123 Date: Thu Apr 8 11:52:25 2010 +0200
36125 Docs: replace gio.IO_ERROR_* with gio.ERROR_*
36127 Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
36129 docs/reference/pygio-file.xml | 58
36130 ++++++++++++++++++------------------
36131 docs/reference/pygio-inputstream.xml | 22 +++++++-------
36132 docs/reference/pygio-mount.xml | 10 +++----
36133 3 files changed, 45 insertions(+), 45 deletions(-)
36135 commit 4cbd9941c5705970a9f7a429e236e1203d3155a1
36136 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36137 Date: Mon Apr 5 18:10:42 2010 +0200
36139 Bug 613341 - pygobject tests seem to require pygtk causing a circular
36140 dependencies problem
36142 move tests that require pygtk to pygtk itself
36144 tests/test_conversion.py | 83 --------------
36145 tests/test_enum.py | 234 --------------------------------------
36146 tests/test_gtype.py | 112 ------------------
36147 tests/test_subtype.py | 289
36148 -----------------------------------------------
36149 4 files changed, 718 deletions(-)
36151 commit ef0ceb266a45715ece58642fb0042e3376416755
36152 Author: Simon van der Linden <svdlinden@src.gnome.org>
36153 Date: Wed Feb 3 20:33:03 2010 +0100
36155 Add modelines and copyright information to overrides modules
36157 gi/overrides/Gdk.py | 21 +++++++++++++++++++++
36158 gi/overrides/Gtk.py | 21 +++++++++++++++++++++
36159 gi/overrides/TestGI.py | 20 ++++++++++++++++++++
36160 3 files changed, 62 insertions(+)
36162 commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5
36163 Author: Simon van der Linden <svdlinden@src.gnome.org>
36164 Date: Wed Feb 3 20:29:55 2010 +0100
36166 Fix and complete overrides tests
36168 Those tests were missing in the last commit
36170 https://bugzilla.gnome.org/show_bug.cgi?id=602830
36172 gi/overrides/TestGI.py | 49
36173 +++++++++++++++++++++++++++++++++++++++++++++++++
36174 tests/test_gi.py | 8 +++++++-
36175 2 files changed, 56 insertions(+), 1 deletion(-)
36177 commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb
36178 Author: Simon van der Linden <svdlinden@src.gnome.org>
36179 Date: Thu Jan 21 17:30:51 2010 +0100
36181 Don't raise an error in _pygi_import if pygi support is disabled
36183 http://bugzilla.gnome.org/show_bug.cgi?id=607674
36185 gobject/pygboxed.c | 6 +-----
36186 gobject/pygi-external.h | 1 -
36187 gobject/pygobject.c | 6 +-----
36188 gobject/pygpointer.c | 6 +-----
36189 4 files changed, 3 insertions(+), 16 deletions(-)
36191 commit aefac8c5f64bf059dd6652f8a843d17b34fa0854
36192 Author: Simon van der Linden <svdlinden@src.gnome.org>
36193 Date: Fri Jan 22 22:22:37 2010 +0100
36195 Remove support for pointers to basic types as input-only argument
36198 There is no reason for an API to use such things, and
36199 g_function_info_invoke
36200 broke such features.
36202 https://bugzilla.gnome.org/show_bug.cgi?id=607759
36204 gi/pygi-argument.c | 586 ++++-------------------------------------------
36205 gi/pygi-argument.h | 1 -
36206 gi/pygi-info.c | 8 +-
36207 tests/libtestgi.c | 660
36208 -----------------------------------------------------
36209 tests/libtestgi.h | 86 -------
36210 tests/test_gi.py | 144 ------------
36211 6 files changed, 47 insertions(+), 1438 deletions(-)
36213 commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f
36214 Author: Simon van der Linden <svdlinden@src.gnome.org>
36215 Date: Fri Jan 22 13:41:21 2010 +0100
36217 Restore the overrides support
36219 Add a ModuleProxy in front of the DynamicModule when an overrides
36221 present. There is no need for an overrides module to be a class;
36222 it can just be a module.
36224 Add an override decorator to override the wrapper of a registered
36227 Adapt Gdk and Gtk accordingly.
36231 https://bugzilla.gnome.org/show_bug.cgi?id=602830
36233 gi/importer.py | 40 +++++++-------------
36234 gi/module.py | 43 ++++++++++++++-------
36235 gi/overrides/Gdk.py | 42 +++++++++++++--------
36236 gi/overrides/Gtk.py | 16 ++++----
36237 gi/types.py | 6 +++
36238 tests/libtestgi.c | 105
36239 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36240 tests/libtestgi.h | 49 ++++++++++++++++++++++++
36241 tests/test_gi.py | 36 ++++++++++++++++++
36242 8 files changed, 273 insertions(+), 64 deletions(-)
36244 commit 289d641775d1ea52d2a5379126b70b7fcee46683
36245 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36246 Date: Sun Jan 10 21:01:59 2010 +0100
36248 Initialize PyGPollFD_Type.fd_obj to NULL
36250 https://bugzilla.gnome.org/show_bug.cgi?id=606582
36252 gio/gcancellable.override | 1 +
36253 1 file changed, 1 insertion(+)
36255 commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355
36256 Author: Simon van der Linden <svdlinden@src.gnome.org>
36257 Date: Fri Jan 8 21:10:28 2010 +0100
36259 Initialize struct fields to 0 when allocating
36261 gi/pygi-struct.c | 2 +-
36262 tests/test_gi.py | 5 +++++
36263 2 files changed, 6 insertions(+), 1 deletion(-)
36265 commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a
36266 Author: Simon van der Linden <svdlinden@src.gnome.org>
36267 Date: Fri Jan 8 20:33:44 2010 +0100
36269 Don't set a default constructor for structures.
36271 Update tests accordingly.
36273 The reason for this change is that setting __new__ in the metaclass
36275 one overrides it afterwards, in a subclass (in my experience, at
36277 though it seems weird).
36279 https://bugzilla.gnome.org/show_bug.cgi?id=603536
36281 gi/types.py | 35 +++++++----------------------------
36282 tests/libtestgi.c | 33 ---------------------------------
36283 tests/libtestgi.h | 7 -------
36284 tests/test_gi.py | 21 ++++++++++-----------
36285 4 files changed, 17 insertions(+), 79 deletions(-)
36287 commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b
36288 Author: Simon van der Linden <svdlinden@src.gnome.org>
36289 Date: Tue Jan 5 13:36:44 2010 +0100
36291 Suppress compilation warnings
36293 gi/pygi-argument.c | 3 ++-
36294 gi/pygi-boxed.c | 2 --
36295 gi/pygobject-external.h | 2 +-
36296 3 files changed, 3 insertions(+), 4 deletions(-)
36298 commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd
36299 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36300 Date: Mon Jan 4 08:35:14 2010 +0100
36302 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc
36304 Committed a patch from Kevin Pyle
36306 Makefile.am | 27 +++++++++++++--------------
36307 1 file changed, 13 insertions(+), 14 deletions(-)
36309 commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40
36310 Author: Simon van der Linden <svdlinden@src.gnome.org>
36311 Date: Fri Dec 11 22:24:30 2009 +0100
36313 sys.path must be modified after pygtk is imported
36315 Otherwise, sys.path is overridden by pygtk and gi.repository is
36317 system's default site-package directory.
36319 tests/runtests.py | 1 -
36320 tests/test_gi.py | 3 +++
36321 2 files changed, 3 insertions(+), 1 deletion(-)
36323 commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1
36324 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36325 Date: Sun Jan 3 11:02:57 2010 +0100
36327 Wrap gio.Cancellable.make_pollfd() and add a test
36329 gio/Makefile.am | 1 +
36330 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++
36331 gio/gio.override | 3 +++
36332 tests/test_gcancellable.py | 15 +++++++++++++++
36333 4 files changed, 56 insertions(+)
36335 commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56
36336 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36337 Date: Sat Jan 2 23:15:56 2010 +0100
36339 Make cancellable an optional parameter in many methods
36342 +++++++++++++++++++++++++++++------------------------------
36343 1 file changed, 51 insertions(+), 51 deletions(-)
36345 commit 49a078cd22d55dc33a03ecfda235d63955edc741
36346 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36347 Date: Sat Jan 2 23:15:21 2010 +0100
36349 Post release version bump to 2.21.2
36351 configure.ac | 2 +-
36352 1 file changed, 1 insertion(+), 1 deletion(-)
36354 commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2
36355 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36356 Date: Sat Jan 2 22:58:36 2010 +0100
36358 Update NEWS and release PyGObject-2.21.1
36360 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
36361 1 file changed, 55 insertions(+)
36363 commit c1f34be73bd186d7b4682dfef133da2c4229d213
36364 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36365 Date: Fri Jan 1 20:25:35 2010 +0100
36367 Wrap gio.Volume.eject_with_operation()
36369 gio/gvolume.override | 54
36370 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36371 1 file changed, 54 insertions(+)
36373 commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917
36374 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36375 Date: Fri Jan 1 20:22:21 2010 +0100
36377 gio.Mount.unmount_with_operation() fix a copy/paste leftover
36379 gio/gmount.override | 4 ++--
36380 1 file changed, 2 insertions(+), 2 deletions(-)
36382 commit 6f459786dd641cd49d81eba403d940620f961cab
36383 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36384 Date: Fri Jan 1 20:21:05 2010 +0100
36386 Wrap gio.Mount.eject_with_operation()
36388 gio/gmount.override | 54
36389 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36390 1 file changed, 54 insertions(+)
36392 commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d
36393 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36394 Date: Fri Jan 1 20:15:38 2010 +0100
36396 Wrap gio.Mount.unmount_mountable_with_operation()
36398 gio/gmount.override | 54
36399 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36400 1 file changed, 54 insertions(+)
36402 commit e919d47c2430451b436cec955e9b99237f97028c
36403 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36404 Date: Fri Jan 1 18:22:46 2010 +0100
36406 Wrap File.unmount_mountable_with_operation()
36408 gio/gfile.override | 54
36409 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36410 1 file changed, 54 insertions(+)
36412 commit 5a614df9c5507d67f240462f7bf71b4cd411addf
36413 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36414 Date: Fri Jan 1 18:14:11 2010 +0100
36416 Wrap gio.File.stop_mountable()
36418 gio/gfile.override | 52
36419 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36420 1 file changed, 52 insertions(+)
36422 commit 6af506647f36f2b825bc6556df5ee57fa7721906
36423 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36424 Date: Fri Jan 1 18:10:49 2010 +0100
36426 Wrap gio.File.start_mountable()
36428 gio/gfile.override | 52
36429 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36430 1 file changed, 52 insertions(+)
36432 commit e700efc839fc0b651fc9794a1611190bffa80263
36433 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36434 Date: Fri Jan 1 18:02:46 2010 +0100
36436 Wrap gio.File.replace_readwrite_async()
36438 gio/gfile.override | 55
36439 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36440 1 file changed, 55 insertions(+)
36442 commit 92662f129fc728258fd5e34f53dcb081e3715017
36443 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36444 Date: Fri Jan 1 17:00:26 2010 +0100
36446 Wrap gio.File.poll_mountable()
36448 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++
36449 1 file changed, 41 insertions(+)
36451 commit 99902b786500948c3278779841e4db54223b9256
36452 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36453 Date: Fri Jan 1 16:56:26 2010 +0100
36455 Wrap gio.File.open_readwrite_async()
36457 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++
36458 1 file changed, 44 insertions(+)
36460 commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4
36461 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36462 Date: Fri Jan 1 16:50:15 2010 +0100
36464 Wrap gio.File.eject_mountable_with_operation()
36466 gio/gfile.override | 54
36467 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36468 1 file changed, 54 insertions(+)
36470 commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682
36471 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36472 Date: Fri Jan 1 13:30:24 2010 +0100
36474 Wrap gio.File.create_readwrite_async() and add a test
36476 gio/gfile.override | 51
36477 +++++++++++++++++++++++++++++++++++++++++++++++++++
36478 tests/test_gio.py | 24 ++++++++++++++++++++++++
36479 2 files changed, 75 insertions(+)
36481 commit f72c5e451dfaeb01b3c3d9243fed2732d3620462
36482 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36483 Date: Fri Jan 1 13:20:11 2010 +0100
36485 Wrap gio.Drive.stop()
36487 gio/gdrive.override | 52
36488 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36489 1 file changed, 52 insertions(+)
36491 commit 29043bade408338cefa13fb4b0c875aabd3ef05e
36492 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36493 Date: Fri Jan 1 13:00:42 2010 +0100
36495 Wrap gio.Drive.start()
36497 gio/gdrive.override | 52
36498 ++++++++++++++++++++++++++++++++++++++++++++++++++++
36499 1 file changed, 52 insertions(+)
36501 commit dff374287bbecc8af782bbc726fad86c6c867754
36502 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36503 Date: Fri Jan 1 12:45:29 2010 +0100
36505 Add more remainders on missing methods of gio.Socket and related types
36507 gio/gsocket.override | 3 +++
36508 1 file changed, 3 insertions(+)
36510 commit b8c7e996498bd72df551011af85ff05ef7335b4f
36511 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36512 Date: Fri Jan 1 12:41:08 2010 +0100
36514 Wrap gio.SocketListener.accept_socket_async|finish() and add a test
36516 gio/gsocket.override | 86
36517 +++++++++++++++++++++++++++++++++++++++++++++++++--
36518 tests/test_gsocket.py | 24 ++++++++++++++
36519 2 files changed, 108 insertions(+), 2 deletions(-)
36521 commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c
36522 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36523 Date: Fri Jan 1 12:28:53 2010 +0100
36525 Wrap gio.SocketListener.accept_finish() and add a test
36527 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++--
36528 tests/test_gsocket.py | 24 ++++++++++++++++++++++++
36529 2 files changed, 66 insertions(+), 2 deletions(-)
36531 commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097
36532 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36533 Date: Fri Jan 1 11:19:34 2010 +0100
36535 Wrap gio.SocketListener.accept_async()
36537 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
36538 1 file changed, 42 insertions(+)
36540 commit c9496b29ef9ef232020a4044577d2947353953a5
36541 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36542 Date: Fri Jan 1 11:14:35 2010 +0100
36544 Wrap gio.SocketListener.accept_socket() and add a test
36546 gio/gsocket.override | 48
36547 +++++++++++++++++++++++++++++++++++++++++++++++-
36548 tests/test_gsocket.py | 13 +++++++++++++
36549 2 files changed, 60 insertions(+), 1 deletion(-)
36551 commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70
36552 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36553 Date: Thu Dec 31 16:35:18 2009 +0100
36555 Wrap gio.SocketListener.accept() and add a test
36557 gio/gsocket.override | 46 +++++++++++++++++++++++++++++++++++++++++++++-
36558 tests/test_gsocket.py | 13 +++++++++++++
36559 2 files changed, 58 insertions(+), 1 deletion(-)
36561 commit aaedcf166c78baf5449ef59d0ade4a29077fedc7
36562 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36563 Date: Thu Dec 31 16:25:33 2009 +0100
36565 Make cancellable optional in gio.SocketClient.connect_to_host()
36567 gio/gio.defs | 2 +-
36568 1 file changed, 1 insertion(+), 1 deletion(-)
36570 commit 3829d7667b19126fb74562b28d271e616b154c99
36571 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36572 Date: Thu Dec 31 15:25:10 2009 +0100
36574 Wrap gio.SocketListener.add_address() and add a test
36576 gio/gsocket.override | 57
36577 ++++++++++++++++++++++++++++++++++++++++++++++++++-
36578 tests/test_gsocket.py | 9 ++++++++
36579 2 files changed, 65 insertions(+), 1 deletion(-)
36581 commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601
36582 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36583 Date: Thu Dec 31 10:19:47 2009 +0100
36585 Add more remainders on missing methods of gio.Socket and related types
36587 gio/gsocket.override | 8 ++++++++
36588 1 file changed, 8 insertions(+)
36590 commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d
36591 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36592 Date: Thu Dec 31 10:16:18 2009 +0100
36594 Wrap gio.SocketClient.connect_to_service_async()
36596 gio/gsocket.override | 47 +++++++++++++++++++++++++++++++++++++++++++++++
36597 1 file changed, 47 insertions(+)
36599 commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2
36600 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36601 Date: Thu Dec 31 10:10:43 2009 +0100
36603 Wrap gio.SocketClient.connect_to_host_async()
36605 gio/gsocket.override | 48
36606 ++++++++++++++++++++++++++++++++++++++++++++++++
36607 1 file changed, 48 insertions(+)
36609 commit 9c930910505d5b9001b8cec17ff98fadeaa799e2
36610 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36611 Date: Thu Dec 31 09:59:46 2009 +0100
36613 Wrap gio.SocketClient.connect_async()
36615 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++
36616 1 file changed, 45 insertions(+)
36618 commit dff024256295c15e49888ad9d5fef74a7746edd7
36619 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36620 Date: Wed Dec 30 23:44:25 2009 +0100
36622 Wrap gio.SocketAddressEnumerator.next_async() and add a test
36624 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++
36625 tests/test_gsocket.py | 16 ++++++++++++++++
36626 2 files changed, 58 insertions(+)
36628 commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229
36629 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36630 Date: Wed Dec 30 23:43:14 2009 +0100
36632 Add a missing object gio.InetSocketAddress new in GIO 2.22
36634 gio/gio-types.defs | 7 +++++++
36635 gio/gio.defs | 31 +++++++++++++++++++++++++++++++
36636 2 files changed, 38 insertions(+)
36638 commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b
36639 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36640 Date: Wed Dec 30 22:54:47 2009 +0100
36642 Make cancellable optional for gio.SocketAddressEnumerator.next()
36644 gio/gio.defs | 2 +-
36645 1 file changed, 1 insertion(+), 1 deletion(-)
36647 commit b19f59790b9de943d69b6c5e483928e0443c3d20
36648 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36649 Date: Wed Dec 30 22:17:44 2009 +0100
36651 Add a remainder of the Socket methods that needs manual wrapping still
36653 gio/gsocket.override | 5 +++++
36654 1 file changed, 5 insertions(+)
36656 commit 771a7c3fdef7b2e98e509293a8376a81c1282286
36657 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36658 Date: Wed Dec 30 17:20:35 2009 +0100
36660 Wrap gio.Socket.condition_wait() and add a test
36662 gio/gsocket.override | 27 +++++++++++++++++++++++++++
36663 tests/test_gsocket.py | 6 +++++-
36664 2 files changed, 32 insertions(+), 1 deletion(-)
36666 commit 50960656815b0897a5ebe5f011537b8dcbdc857e
36667 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36668 Date: Wed Dec 30 16:21:49 2009 +0100
36670 Wrap gio.Socket.condition_check() and add a test
36672 gio/Makefile.am | 1 +
36673 gio/gio.override | 1 +
36674 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++
36675 tests/test_gsocket.py | 21 +++++++++++++++++++++
36676 4 files changed, 64 insertions(+)
36678 commit de7a359e81792ae8573ac944455ea289985449ed
36679 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36680 Date: Wed Dec 30 14:07:52 2009 +0100
36682 Wrap gio.Resolver.lookup_service_finish() and add a test
36684 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++
36685 tests/test_gresolver.py | 13 +++++++++++++
36686 2 files changed, 50 insertions(+)
36688 commit 308421789ce849040d645077c41c80b6e2e65e83
36689 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36690 Date: Wed Dec 30 14:00:22 2009 +0100
36692 Wrap gio.Resolver.lookup_service_async()
36694 gio/gresolver.override | 48
36695 ++++++++++++++++++++++++++++++++++++++++++++++++
36696 1 file changed, 48 insertions(+)
36698 commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3
36699 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36700 Date: Wed Dec 30 11:11:32 2009 +0100
36702 Wrap gio.Resolver.lookup_service() and add a test
36704 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++
36705 tests/test_gresolver.py | 5 +++++
36706 2 files changed, 47 insertions(+)
36708 commit 7fc71f490494dae73a5264869a97a9d30814930e
36709 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36710 Date: Tue Dec 29 22:12:50 2009 +0100
36712 Wrap gio.Resolver.lookup_by_address_async() and add a test
36714 gio/gresolver.override | 46
36715 ++++++++++++++++++++++++++++++++++++++++++++++
36716 tests/test_gresolver.py | 14 ++++++++++++++
36717 2 files changed, 60 insertions(+)
36719 commit c91656dbe56f07d3ebbad5113467c22427cf212a
36720 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36721 Date: Tue Dec 29 21:41:30 2009 +0100
36723 Wrap gio.Resolver.lookup_by_name_finish() and add a test
36725 gio/gresolver.override | 82
36726 +++++++++++++++++++++++++++++++++++++++++++++++++
36727 tests/test_gresolver.py | 16 ++++++++--
36728 2 files changed, 96 insertions(+), 2 deletions(-)
36730 commit 45b477342fa1c2435917c6d97745ad57665c4734
36731 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36732 Date: Tue Dec 29 17:15:44 2009 +0100
36734 Wrap gio.Drive.eject_with_data()
36736 gio/gdrive.override | 54
36737 +++++++++++++++++++++++++++++++++++++++++++++++++++++
36738 1 file changed, 54 insertions(+)
36740 commit 635227480f9659a1f91ab1ec12536d3ed012a976
36741 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36742 Date: Tue Dec 29 17:06:52 2009 +0100
36744 Deprecate old gio.Drive methods
36746 gio/gdrive.override | 7 ++++++-
36748 2 files changed, 7 insertions(+), 1 deletion(-)
36750 commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c
36751 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36752 Date: Tue Dec 29 13:51:54 2009 +0100
36754 Small fix in the header
36756 gio/gdrive.override | 2 +-
36757 1 file changed, 1 insertion(+), 1 deletion(-)
36759 commit 7589128515b79d836365247dc876538c6352da23
36760 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36761 Date: Tue Dec 29 12:40:50 2009 +0100
36763 Wrap gio.Resolver.lookup_by_name() and add a couple of tests
36765 gio/Makefile.am | 1 +
36766 gio/gio.override | 1 +
36767 gio/gresolver.override | 57
36768 +++++++++++++++++++++++++++++++++++++++++++++++++
36769 tests/test_gresolver.py | 21 ++++++++++++++++++
36770 4 files changed, 80 insertions(+)
36772 commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e
36773 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36774 Date: Tue Dec 29 12:39:13 2009 +0100
36776 Make cancellable an optional parameter in
36777 gio.Resolver.lookup_by_address()
36779 gio/gio.defs | 2 +-
36780 1 file changed, 1 insertion(+), 1 deletion(-)
36782 commit 00029145f4cd10759b37b38fb9f72435bf26b28b
36783 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36784 Date: Tue Dec 29 10:15:14 2009 +0100
36786 Strip g_ prefix for many other functions
36789 ++++++++++++++++++++++++++++++------------------------------
36790 1 file changed, 47 insertions(+), 47 deletions(-)
36792 commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06
36793 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36794 Date: Tue Dec 29 10:12:53 2009 +0100
36796 Strip g_prefix from InetAddress functions
36798 gio/gio.defs | 8 ++++----
36799 1 file changed, 4 insertions(+), 4 deletions(-)
36801 commit 1d360301d51a587a36a59f5d62e354484bbd2b31
36802 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36803 Date: Tue Dec 29 10:03:59 2009 +0100
36805 Fix function name gio.resolver_get_default()
36807 Strip the g_ prefix from function name
36809 gio/gio.defs | 2 +-
36810 1 file changed, 1 insertion(+), 1 deletion(-)
36812 commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f
36813 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36814 Date: Tue Dec 29 09:54:05 2009 +0100
36816 Wrap gio.FileIOStream.query_info_async() and add a test
36818 gio/Makefile.am | 1 +
36819 gio/gfileiostream.override | 68
36820 ++++++++++++++++++++++++++++++++++++++++++++++
36821 gio/gio.override | 1 +
36822 tests/test_gio.py | 18 ++++++++++++
36823 4 files changed, 88 insertions(+)
36825 commit 86783c695f3641b9491962e8f95a4dcb91f4017c
36826 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36827 Date: Tue Dec 29 13:08:29 2009 +0100
36829 Register enums and flags in PyGI if needed
36831 https://bugzilla.gnome.org/show_bug.cgi?id=603534
36833 gobject/pygenum.c | 20 ++++++++++++++------
36834 gobject/pygflags.c | 19 +++++++++++++------
36835 2 files changed, 27 insertions(+), 12 deletions(-)
36837 commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a
36838 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36839 Date: Mon Dec 28 22:41:54 2009 +0100
36841 Wrap GIOStream.close_async() and add a test
36843 gio/Makefile.am | 1 +
36844 gio/gio.override | 1 +
36845 gio/giostream.override | 68
36846 ++++++++++++++++++++++++++++++++++++++++++++++++++
36847 tests/test_gio.py | 21 ++++++++++++++++
36848 4 files changed, 91 insertions(+)
36850 commit 0bff01bcee73a0e0d18342331136119c4e8bf151
36851 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36852 Date: Mon Dec 28 22:39:09 2009 +0100
36854 Make cancellable an optional parameter in GFile.create_readwrite()
36856 gio/gio.defs | 2 +-
36857 1 file changed, 1 insertion(+), 1 deletion(-)
36859 commit 1cabd733cde269ce3164834933f4a226673ecb0b
36860 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36861 Date: Mon Dec 28 21:39:50 2009 +0100
36863 Remove a duplicate entry in gio.defs
36865 gio/gio.defs | 9 ---------
36866 1 file changed, 9 deletions(-)
36868 commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1
36869 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36870 Date: Mon Dec 28 21:37:49 2009 +0100
36872 Wrap gio.FileInfo.set_modification_time and add a test
36874 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++-
36875 tests/test_gio.py | 7 ++++++-
36876 2 files changed, 38 insertions(+), 2 deletions(-)
36878 commit 7bc2673f92138b1804d8eba091942d14d8884f90
36879 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36880 Date: Mon Dec 28 18:28:03 2009 +0100
36882 Wrap gio.EmblemedIcon.get_emblems() and add a test
36884 gio/gicon.override | 14 ++++++++++++++
36885 tests/test_gicon.py | 7 +++++++
36886 2 files changed, 21 insertions(+)
36888 commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172
36889 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36890 Date: Sat Dec 26 22:27:48 2009 +0100
36892 Update Enums and Flags with new API
36894 gio/gio-types.defs | 153
36895 +++++++++++++++++++++++++++++++++++++++++++++++++++--
36896 1 file changed, 149 insertions(+), 4 deletions(-)
36898 commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd
36899 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36900 Date: Fri Dec 25 18:06:39 2009 +0100
36902 Post release version bump to 2.21.1
36904 configure.ac | 2 +-
36905 1 file changed, 1 insertion(+), 1 deletion(-)
36907 commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3
36908 Author: Bastian Winkler <buz@netbuz.org>
36909 Date: Fri Aug 14 15:10:26 2009 +0200
36911 Fix handling of uchar in pyg_value_from_pyobject
36913 Set the value by g_value_set_uchar and allow to use integer types
36916 gobject/pygtype.c | 15 +++++++++++----
36917 1 file changed, 11 insertions(+), 4 deletions(-)
36919 commit 828d0f042b59ea0319f33a23803c179af34ef2f1
36920 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36921 Date: Tue Dec 22 18:05:47 2009 +0100
36923 Add Gtk.keysyms to overrides
36925 gi/overrides/Gtk.py | 2 +
36926 gi/overrides/Makefile.am | 1 +
36927 gi/overrides/keysyms.py | 1499
36928 ++++++++++++++++++++++++++++++++++++++++++++++
36929 3 files changed, 1502 insertions(+)
36931 commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976
36932 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
36933 Date: Wed Nov 25 10:33:56 2009 +0100
36935 The array field 'length' starts to count from the C arg list, so
36936 need to decrement when it's a method
36938 https://bugzilla.gnome.org/show_bug.cgi?id=602640
36940 gi/pygi-argument.c | 11 +++++++++-
36941 gi/pygi-argument.h | 3 ++-
36942 gi/pygi-info.c | 14 +++++++++++--
36943 tests/libtestgi.c | 60
36944 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
36945 tests/libtestgi.h | 4 ++++
36946 tests/test_gi.py | 15 ++++++++++++++
36947 6 files changed, 103 insertions(+), 4 deletions(-)
36949 commit 867536c6734e606d045760837ed22583da06566e
36950 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36951 Date: Fri Dec 18 10:50:09 2009 +0100
36953 Update NEWS and README, release pygobject 2.21.0
36955 NEWS | 18 ++++++++++++++++++
36957 2 files changed, 21 insertions(+), 3 deletions(-)
36959 commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae
36960 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36961 Date: Fri Dec 18 10:31:48 2009 +0100
36963 Add pygi-external.h into Makefile SOURCES
36965 gobject/Makefile.am | 3 ++-
36966 1 file changed, 2 insertions(+), 1 deletion(-)
36968 commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe
36969 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36970 Date: Fri Dec 18 01:20:34 2009 +0100
36972 Bug 598435 - No wrapping for g_find_program_in_path ()
36974 glib/glibmodule.c | 20 ++++++++++++++++++++
36975 1 file changed, 20 insertions(+)
36977 commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452
36978 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36979 Date: Thu Dec 17 21:54:36 2009 +0100
36981 Wrap new API added in GIO-UNIX 2.22
36983 gio/unix-types.defs | 22 ++++++++++
36984 gio/unix.defs | 115
36985 +++++++++++++++++++++++++++++++++++++++++++++++++++-
36986 gio/unix.override | 8 ++++
36987 3 files changed, 144 insertions(+), 1 deletion(-)
36989 commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b
36990 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
36991 Date: Thu Dec 17 21:52:11 2009 +0100
36993 Bump required glib version to 2.22.4
36995 I've committed a patch to glib which will be released in the stable
36997 Without the patch the unix module will fail, so I'm forced to bump.
36999 configure.ac | 6 +++---
37000 1 file changed, 3 insertions(+), 3 deletions(-)
37002 commit b630c8d4b1e55938dac89729768c4a877b305215
37003 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37004 Date: Thu Dec 17 02:24:45 2009 +0100
37006 Properly define Connectable as interface type and not object type
37008 gio/gio-types.defs | 12 ++++++------
37009 1 file changed, 6 insertions(+), 6 deletions(-)
37011 commit e955b931b07113c7432f7a85f882f69f12d263ad
37012 Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
37013 Date: Mon Nov 30 22:01:25 2009 +0100
37015 Depend on GLib 2.20 rather than 2.22
37017 Backport g_array_get_element_size.
37019 https://bugzilla.gnome.org/show_bug.cgi?id=603411
37021 configure.ac | 2 +-
37022 gi/pygi-private.h | 19 +++++++++++++++++++
37023 2 files changed, 20 insertions(+), 1 deletion(-)
37025 commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a
37026 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37027 Date: Sat Nov 28 18:48:19 2009 +0000
37029 Use the limit constants from glib and interpret G_MAXUINT32 as
37030 PyLong_FromLongLong
37032 https://bugzilla.gnome.org/show_bug.cgi?id=602384
37034 gi/pygi-argument.c | 14 +++++++-------
37035 tests/test_gi.py | 18 +++++++++---------
37036 2 files changed, 16 insertions(+), 16 deletions(-)
37038 commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd
37039 Author: Simon van der Linden <svdlinden@src.gnome.org>
37040 Date: Mon Nov 30 00:10:56 2009 +0100
37042 Suppress warnings about format conversion
37044 https://bugzilla.gnome.org/show_bug.cgi?id=603355
37046 gobject/generate-constants.c | 32 ++++++++++++++++----------------
37047 1 file changed, 16 insertions(+), 16 deletions(-)
37049 commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736
37050 Author: Simon van der Linden <svdlinden@src.gnome.org>
37051 Date: Sat Nov 28 00:22:21 2009 +0100
37053 Remove global checks for pointers and move them in type cases that
37056 gi/pygi-argument.c | 516
37057 +++++++++++++++++++++++++++++++++++++++++++----------
37058 gi/pygi-info.c | 333 +++++++++++++++++-----------------
37059 2 files changed, 596 insertions(+), 253 deletions(-)
37061 commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6
37062 Author: Johan Dahlin <johan@gnome.org>
37063 Date: Mon Nov 23 15:58:17 2009 -0200
37065 Pythonify. Avoid ; and () around if statements
37067 https://bugzilla.gnome.org/show_bug.cgi?id=602830
37069 gi/types.py | 8 ++++----
37070 1 file changed, 4 insertions(+), 4 deletions(-)
37072 commit a8660621679c629fc81320a8ddf5bf2c7ee1f177
37073 Author: Johan Dahlin <johan@gnome.org>
37074 Date: Tue Nov 24 10:36:18 2009 -0200
37076 Remove trailing whitespace
37078 https://bugzilla.gnome.org/show_bug.cgi?id=602830
37080 gi/module.py | 4 ++--
37081 1 file changed, 2 insertions(+), 2 deletions(-)
37083 commit 66c34805223af9e63c7d61f21a3dbd7505a8f256
37084 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37085 Date: Mon Nov 30 10:03:34 2009 +0000
37087 Set a default constructor for boxed structs that don't have one
37089 https://bugzilla.gnome.org/show_bug.cgi?id=602735
37091 gi/Makefile.am | 2 +
37092 gi/gimodule.c | 1 +
37093 gi/module.py | 2 +-
37094 gi/pygi-argument.c | 14 +++-
37095 gi/pygi-boxed.c | 184
37096 +++++++++++++++++++++++++++++++++++++++++++++++++++++
37097 gi/pygi-boxed.h | 40 ++++++++++++
37098 gi/pygi-info.c | 2 +-
37099 gi/pygi-private.h | 1 +
37101 gi/types.py | 18 ------
37102 tests/libtestgi.c | 72 ++++++++++-----------
37103 tests/libtestgi.h | 18 +++---
37104 tests/test_gi.py | 47 ++++++++------
37105 13 files changed, 321 insertions(+), 86 deletions(-)
37107 commit e7e2fccae36c28c7e9f288fcd4c90a001140e307
37108 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37109 Date: Mon Nov 30 10:53:57 2009 +0000
37111 Revert "Use the limit constants from glib and interpret G_MAXUINT32
37112 as PyLong_FromLongLong"
37114 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
37116 gi/pygi-argument.c | 14 +++++++-------
37117 tests/test_gi.py | 18 +++++++++---------
37118 2 files changed, 16 insertions(+), 16 deletions(-)
37120 commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041
37121 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37122 Date: Sat Nov 28 18:48:19 2009 +0000
37124 Use the limit constants from glib and interpret G_MAXUINT32 as
37125 PyLong_FromLongLong
37127 https://bugzilla.gnome.org/show_bug.cgi?id=602384
37129 gi/pygi-argument.c | 14 +++++++-------
37130 tests/test_gi.py | 18 +++++++++---------
37131 2 files changed, 16 insertions(+), 16 deletions(-)
37133 commit e24d155dd7b4a5b9c25c054137d1370c369d3192
37134 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37135 Date: Sat Nov 28 18:45:54 2009 +0000
37137 Add the missing limit constants from glibconfig.h
37139 https://bugzilla.gnome.org/show_bug.cgi?id=603244
37141 gobject/generate-constants.c | 17 ++++++++++++++++-
37142 1 file changed, 16 insertions(+), 1 deletion(-)
37144 commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909
37145 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37146 Date: Sat Nov 28 18:48:49 2009 +0100
37148 Fix bad name when rebuilding the unix source module
37150 gio/Makefile.am | 2 +-
37151 1 file changed, 1 insertion(+), 1 deletion(-)
37153 commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86
37154 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37155 Date: Sat Nov 28 18:47:26 2009 +0100
37157 Wrap new API added in GIO 2.22
37159 gio/gio-types.defs | 138 +++
37160 gio/gio.defs | 2444
37161 +++++++++++++++++++++++++++++++++++++++++++++++-----
37162 2 files changed, 2360 insertions(+), 222 deletions(-)
37164 commit 96f6c638709636d7e2ddf560b877879691da3314
37165 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37166 Date: Sat Nov 28 11:03:51 2009 +0000
37168 A few tests about interfaces
37170 https://bugzilla.gnome.org/show_bug.cgi?id=601181
37172 tests/libtestgi.c | 23 +++++++++++++++++++++++
37173 tests/libtestgi.h | 16 ++++++++++++++++
37174 tests/test_gi.py | 21 +++++++++++++++++++++
37175 3 files changed, 60 insertions(+)
37177 commit 076ba3156c13375a75983cef7a409c8c8afea119
37178 Author: Simon van der Linden <svdlinden@src.gnome.org>
37179 Date: Thu Nov 26 23:50:54 2009 +0100
37181 Fix members initialization in metaclasses
37183 In metaclasses, the test for the name of the class was wrong, since it
37184 prevented one to create a subclass with the same name (especially
37186 overrides). Now, if a GType is available from the info, the fact
37188 doesn't have any wrapper yet means that the metaclass is creating
37190 class, which will be registerd just after its creation. This is
37192 objects, and for structures registered as boxed or pointer too.
37194 This patch includes a test for basic subclassing in Python. It
37196 that methods don't get overridden by the metaclass.
37198 gi/types.py | 5 +++--
37199 tests/test_gi.py | 19 +++++++++++++++++++
37200 2 files changed, 22 insertions(+), 2 deletions(-)
37202 commit ac80e64c9f7d257865aa820753e52d56cf2871c8
37203 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37204 Date: Fri Nov 27 12:06:59 2009 +0000
37206 Structs in arrays are not marshalled correctly
37208 https://bugzilla.gnome.org/show_bug.cgi?id=602709
37210 gi/pygi-argument.c | 29 ++++++++++++++++++++++++-----
37211 tests/libtestgi.c | 23 ++++++++++++++++++++++-
37212 tests/libtestgi.h | 7 +++++--
37213 tests/test_gi.py | 8 ++++++++
37214 4 files changed, 59 insertions(+), 8 deletions(-)
37216 commit 4a373b8ad6ec137e911b92a3e745e0fd76541292
37217 Author: Simon van der Linden <svdlinden@src.gnome.org>
37218 Date: Wed Nov 25 16:53:55 2009 +0100
37220 Use the right variable when looking up in sys.modules
37222 gi/importer.py | 2 +-
37223 1 file changed, 1 insertion(+), 1 deletion(-)
37225 commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968
37226 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37227 Date: Tue Nov 24 15:52:47 2009 +0100
37229 Accept 0 as a valid value for flag and enum arguments
37231 https://bugzilla.gnome.org/show_bug.cgi?id=602638
37233 gi/pygi-argument.c | 19 ++++++++++++++++++-
37234 tests/libtestgi.c | 6 ++++++
37235 tests/libtestgi.h | 1 +
37236 tests/test_gi.py | 1 +
37237 4 files changed, 26 insertions(+), 1 deletion(-)
37239 commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84
37240 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37241 Date: Tue Nov 24 13:10:11 2009 +0100
37243 Add stuff to .gitignore
37245 .gitignore | 7 +++++++
37246 1 file changed, 7 insertions(+)
37248 commit 5c010fe673d9bd01c27c8d7d312064665275888c
37249 Author: Simon van der Linden <svdlinden@src.gnome.org>
37250 Date: Mon Nov 23 22:39:12 2009 +0100
37252 Remove the girepository module
37255 configure.ac | 17 -
37256 girepository/Makefile.am | 54 --
37257 girepository/__init__.py | 24 -
37258 girepository/bank-argument.c | 379 ------------
37259 girepository/bank-info.c | 1194
37260 ------------------------------------
37261 girepository/bank-repository.c | 236 -------
37262 girepository/bank.c | 155 -----
37263 girepository/bank.h | 80 ---
37264 girepository/btypes.py | 300 ---------
37265 girepository/importer.py | 51 --
37266 girepository/module.py | 224 -------
37267 girepository/overrides/Gdk.py | 14 -
37268 girepository/overrides/Gtk.py | 8 -
37269 girepository/overrides/__init__.py | 0
37270 girepository/repository.py | 51 --
37271 tests/test_girepository.py | 386 ------------
37272 17 files changed, 1 insertion(+), 3174 deletions(-)
37274 commit a644edf0515c26ed027522891ccf02aceac764e8
37275 Author: Johan Dahlin <johan@gnome.org>
37276 Date: Mon Nov 23 15:32:16 2009 -0200
37278 Create overridden modules in two passes
37280 This patch splits overridden module creation into two passes. The
37282 creates the auto-generated module normally before the overridden
37284 attempted to be imported. The second pass imports the overridden
37286 replaces the auto-generated module with the overridden. This is
37288 for the overridden modules to be able to access the auto-generated
37291 gi/importer.py | 34 +++++++++++++++++++++-------------
37292 1 file changed, 21 insertions(+), 13 deletions(-)
37294 commit fad89e12a744b57e6348968f351d25d167de8248
37295 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37296 Date: Sun Nov 22 17:56:20 2009 +0100
37298 Add support for Any arguments
37300 https://bugzilla.gnome.org/show_bug.cgi?id=601253
37302 gi/pygi-argument.c | 20 ++++++++++++--------
37303 tests/libtestgi.c | 5 +++++
37304 tests/libtestgi.h | 5 +++++
37305 tests/test_gi.py | 5 +++++
37306 4 files changed, 27 insertions(+), 8 deletions(-)
37308 commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034
37309 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37310 Date: Sun Nov 22 17:25:04 2009 +0100
37312 Register interfaces
37314 https://bugzilla.gnome.org/show_bug.cgi?id=601181
37316 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++
37317 gi/types.py | 5 ++++-
37318 2 files changed, 37 insertions(+), 1 deletion(-)
37320 commit d67d5afb5115c1d8294415b2e1a82af2c737ba17
37321 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37322 Date: Sun Nov 22 18:23:02 2009 +0200
37324 Ignore one more file.
37327 1 file changed, 1 insertion(+)
37329 commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e
37330 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37331 Date: Sun Nov 22 18:22:23 2009 +0200
37333 Fix wrong minimum checking in float properties
37335 Bug #587637. Test the fix.
37337 gobject/propertyhelper.py | 5 +++--
37338 tests/test_properties.py | 6 ++++++
37339 2 files changed, 9 insertions(+), 2 deletions(-)
37341 commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad
37342 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37343 Date: Mon Oct 26 18:06:06 2009 +0000
37345 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT
37347 gi/pygi-argument.c | 3 +++
37348 1 file changed, 3 insertions(+)
37350 commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d
37351 Author: Simon van der Linden <svdlinden@src.gnome.org>
37352 Date: Sat Nov 14 21:42:43 2009 +0100
37354 Import pygtk properly to avoid failure on some setups
37356 tests/test_gi.py | 3 +++
37357 1 file changed, 3 insertions(+)
37359 commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb
37360 Author: Alex Dedul <rotmer@gmail.com>
37361 Date: Sat Nov 14 21:39:15 2009 +0100
37363 Search for python-config-${VERSION} when python${VERSION}-config is
37366 On Gentoo, notably, the config tool is named python-config-${VERSION},
37368 Fedora and Ubuntu, it is named python${VERSION}-config.
37370 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org>
37372 configure.ac | 7 +++++--
37373 1 file changed, 5 insertions(+), 2 deletions(-)
37375 commit 4a887cfabb326cb99dc65073d592c03f59e2f141
37376 Author: Simon van der Linden <svdlinden@src.gnome.org>
37377 Date: Sat Nov 14 21:36:19 2009 +0100
37379 Fix silent rules setup
37381 configure.ac | 2 +-
37382 1 file changed, 1 insertion(+), 1 deletion(-)
37384 commit 602afea88c338a38327cd84e08703c5daa384ec6
37385 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37386 Date: Tue Nov 10 22:32:33 2009 +0200
37388 Move threads_init() function from 'gobject' to 'glib'
37390 Retain in original place for backward compatibility, but remove it
37393 docs/reference/pygobject-functions.xml | 36
37394 +++++++---------------------------
37395 glib/glibmodule.c | 16 +++++++++++++++
37396 2 files changed, 23 insertions(+), 29 deletions(-)
37398 commit 734755912fff11332dc0e96317b7d6b7c4014e6a
37399 Author: Simon van der Linden <svdlinden@src.gnome.org>
37400 Date: Mon Nov 9 22:44:12 2009 +0100
37402 Remove PyGObject patches since they've been merged to master
37404 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 --------
37405 patches/0002-Fix-girpository-build-setup.patch | 186
37406 -------------------
37407 ...capabilities-to-import-wrappers-from-pygi.patch | 200
37408 ---------------------
37409 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ---
37410 4 files changed, 493 deletions(-)
37412 commit 6a69288941e65312fe82649ec72d2f21b2dc618f
37413 Author: Simon van der Linden <svdlinden@src.gnome.org>
37414 Date: Sat Nov 7 23:42:07 2009 +0100
37416 Create instances by calling tp_alloc rather than PyObject_NEW
37418 PyObject_NEW calls a generic allocator and should only be called by
37420 that the type's free function agrees. In pyg_boxed_new, we may
37422 PyGBoxed subtypes, so the subtype's allocation function must be
37425 gobject/pygboxed.c | 3 ++-
37426 1 file changed, 2 insertions(+), 1 deletion(-)
37428 commit 000f7c36e667c6e078e3370769ea868e56a1b4ee
37429 Author: Simon van der Linden <svdlinden@src.gnome.org>
37430 Date: Sat Nov 7 16:43:35 2009 +0100
37432 Add capabilities to import wrappers from pygi
37434 At instance creation for boxed and pointers, at lookup for objects,
37435 when the gtype has no wrapper yet, a wrapper may be imported from
37438 The feature is turned on at configure time by --enable-pygi.
37440 Because we couldn't create a circular build dependency, PyGI's import
37442 API definition had to be copied in this tree.
37444 configure.ac | 8 ++++++
37445 gobject/pygboxed.c | 10 ++++++++
37446 gobject/pygi-external.h | 66
37447 +++++++++++++++++++++++++++++++++++++++++++++++++
37448 gobject/pygobject.c | 10 ++++++++
37449 gobject/pygpointer.c | 11 +++++++++
37450 5 files changed, 105 insertions(+)
37452 commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91
37453 Author: Simon van der Linden <svdlinden@src.gnome.org>
37454 Date: Sun Nov 8 20:03:58 2009 +0100
37456 Update PyGObject patches
37458 A file, pygi-external.h, was missing in patch #3.
37460 ...capabilities-to-import-wrappers-from-pygi.patch | 74
37461 ++++++++++++++++++++--
37462 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +-
37463 2 files changed, 69 insertions(+), 7 deletions(-)
37465 commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d
37466 Author: Tomeu Vizoso <tomeu@sugarlabs.org>
37467 Date: Sun Nov 8 16:52:18 2009 +0100
37469 Add myself to pygi.doap
37471 pygi.doap | 5 +++++
37472 1 file changed, 5 insertions(+)
37474 commit 6f50d5102aec9288e1851f12e9d232b9c141d524
37475 Author: Simon van der Linden <svdlinden@src.gnome.org>
37476 Date: Sun Nov 8 15:40:51 2009 +0100
37480 pygi.doap | 17 +++++++++++++++++
37481 1 file changed, 17 insertions(+)
37483 commit ce673b9027868e6add4eeb438bc707eb40bfd046
37484 Author: Simon van der Linden <svdlinden@src.gnome.org>
37485 Date: Sun Nov 8 13:06:54 2009 +0100
37487 Add PyGObject patches
37489 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 +++++++++
37490 patches/0002-Fix-girpository-build-setup.patch | 186
37491 +++++++++++++++++++++
37492 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++
37493 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 ++++
37494 4 files changed, 431 insertions(+)
37496 commit b24fd9633cabe1d95cde173a04e9a49833b06a26
37497 Author: Simon van der Linden <svdlinden@src.gnome.org>
37498 Date: Sun Nov 8 12:35:08 2009 +0100
37504 autogen.sh | 159 +++
37505 configure.ac | 53 +
37506 gi/Makefile.am | 50 +
37507 gi/__init__.py | 24 +
37508 gi/gimodule.c | 144 ++
37509 gi/importer.py | 89 ++
37510 gi/module.py | 167 +++
37511 gi/overrides/Gdk.py | 21 +
37512 gi/overrides/Gtk.py | 13 +
37513 gi/overrides/Makefile.am | 10 +
37514 gi/overrides/__init__.py | 0
37515 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++
37516 gi/pygi-argument.h | 65 +
37517 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++
37518 gi/pygi-info.h | 64 +
37519 gi/pygi-private.h | 55 +
37520 gi/pygi-repository.c | 238 ++++
37521 gi/pygi-repository.h | 39 +
37522 gi/pygi-struct.c | 175 +++
37523 gi/pygi-struct.h | 40 +
37524 gi/pygi-type.c | 96 ++
37525 gi/pygi-type.h | 43 +
37527 gi/pygobject-external.h | 83 ++
37528 gi/repository/Makefile.am | 8 +
37529 gi/repository/__init__.py | 30 +
37530 gi/types.py | 163 +++
37531 tests/Makefile.am | 48 +
37532 tests/libtestgi.c | 3397
37533 +++++++++++++++++++++++++++++++++++++++++++++
37534 tests/libtestgi.h | 643 +++++++++
37535 tests/runtests.py | 22 +
37536 tests/test_gi.py | 1416 +++++++++++++++++++
37537 34 files changed, 11566 insertions(+)
37539 commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc
37540 Author: Simon van der Linden <svdlinden@src.gnome.org>
37541 Date: Sat Nov 7 13:23:53 2009 +0100
37543 Fix girpository build setup
37545 configure.ac | 21 ++++++-----
37546 girepository/Makefile.am | 13 ++++---
37547 m4/introspection.m4 | 92
37548 ++++++++++++++++++++++++++++++++++++++++++++++++
37549 3 files changed, 111 insertions(+), 15 deletions(-)
37551 commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5
37552 Author: Simon van der Linden <svdlinden@src.gnome.org>
37553 Date: Fri Nov 6 19:17:36 2009 +0100
37555 Make GType.pytype aware of the interface, enum, flags, pointer and
37558 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------
37559 1 file changed, 33 insertions(+), 6 deletions(-)
37561 commit a9c168c58cc6a449b51653417bf3f58bdd41457c
37562 Author: Philippe Normad <phil@base-art.net>
37563 Date: Wed Oct 21 18:01:16 2009 +0200
37565 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops
37569 glib/pygmainloop.c | 95
37570 ++++++++++++++++++++++++++++--------------------------
37571 1 file changed, 50 insertions(+), 45 deletions(-)
37573 commit c6a5750379354c12e2599b3c73b4f9a23fd39114
37574 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37575 Date: Fri Sep 25 20:12:21 2009 +0200
37577 Post release version bump to 2.21.0
37579 configure.ac | 2 +-
37580 1 file changed, 1 insertion(+), 1 deletion(-)
37582 commit 33920eb013628a5e22b7b32403fb965ae3210f47
37583 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37584 Date: Wed Sep 23 21:52:04 2009 +0200
37586 Update NEWS and release 2.20.0
37589 1 file changed, 6 insertions(+)
37591 commit 66b12f7d2f54143ea80b4f8aec863b26800363d6
37592 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37593 Date: Wed Sep 23 21:51:43 2009 +0200
37595 Bump version to 2.20.0
37597 configure.ac | 2 +-
37598 1 file changed, 1 insertion(+), 1 deletion(-)
37600 commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617
37601 Author: Brian Cameron <Brian.Cameron@sun.com>
37602 Date: Wed Sep 23 12:11:50 2009 -0500
37604 Updated uninstalled.pc file so that it contains the right paths for
37605 defsdir files and codegen files. See bug #596023.
37607 pygobject-2.0-uninstalled.pc.in | 4 ++--
37608 1 file changed, 2 insertions(+), 2 deletions(-)
37610 commit d042402b7c649b2bed7f20038eb82518ec7cc9b3
37611 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37612 Date: Tue Sep 22 22:02:27 2009 +0300
37614 Plug reference leak of GSource in pyg_main_loop_init()
37616 Bug #579406, second change.
37618 glib/pygmainloop.c | 1 +
37619 1 file changed, 1 insertion(+)
37621 commit 640be8109d066e85ed77c810830a5f73c750415b
37622 Author: Frédéric Péters <fpeters@0d.be>
37623 Date: Sun Aug 30 16:46:02 2009 +0200
37625 Specify programming language in .devhelp file
37627 This add a new language attribute (hardcoded to python) in the
37629 file that is produced when using ref-html-style.xsl.
37631 docs/xsl/devhelp.xsl | 2 +-
37632 1 file changed, 1 insertion(+), 1 deletion(-)
37634 commit c888b5ca722fcad6a03de585606c677c2969ebd6
37635 Author: Paolo Borelli <pborelli@gnome.org>
37636 Date: Thu Aug 13 21:32:07 2009 +0200
37638 Allow to use automake 1.11
37640 autogen.sh | 13 +++++++------
37641 1 file changed, 7 insertions(+), 6 deletions(-)
37643 commit 30deaba4bd1e199aab75cb346ee9237237807fbd
37644 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37645 Date: Tue Aug 11 22:19:50 2009 +0200
37649 README | 10 ++++++++--
37650 1 file changed, 8 insertions(+), 2 deletions(-)
37652 commit af165d350d0d1bb493be5140bf84376d3da1e4d8
37653 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37654 Date: Tue Aug 11 22:16:52 2009 +0200
37658 AUTHORS | 8 +++++---
37659 1 file changed, 5 insertions(+), 3 deletions(-)
37661 commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2
37662 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37663 Date: Tue Aug 11 22:11:43 2009 +0200
37665 Add myself and Paul as maintainers
37667 MAINTAINERS | 8 ++++++++
37668 pygobject.doap | 14 ++++++++++++++
37669 2 files changed, 22 insertions(+)
37671 commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775
37672 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37673 Date: Tue Aug 11 20:52:44 2009 +0200
37675 Update NEWS release 2.19.0
37677 NEWS | 29 +++++++++++++++++++++++++++++
37678 1 file changed, 29 insertions(+)
37680 commit e82a1841f31ad54dd50569d0d45290713409e0bf
37681 Author: John Finlay <finlay@moeraki.com>
37682 Date: Tue Aug 11 00:04:31 2009 -0700
37684 Add macros to help with Python list to/from GList/GSList conversions.
37686 gobject/pygobject.h | 242
37687 +++++++++++++++++++++++++++++++++++++++++++++++++++-
37688 1 file changed, 241 insertions(+), 1 deletion(-)
37690 commit f1fad96da2c531fbd3218923baa4fe806a2942d4
37691 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37692 Date: Sat Aug 8 21:37:54 2009 +0200
37694 Bug 590063 – GFileInfo.list_attributes should accept None/NULL
37696 gio/gfileinfo.override | 4 ++--
37697 1 file changed, 2 insertions(+), 2 deletions(-)
37699 commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de
37700 Author: Johan Dahlin <johan@gnome.org>
37701 Date: Fri Jul 24 14:30:37 2009 -0300
37703 Remove myself as a maintainer
37705 MAINTAINERS | 4 ----
37706 pygobject.doap | 7 -------
37707 2 files changed, 11 deletions(-)
37709 commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2
37710 Author: John Finlay <finlay@moeraki.com>
37711 Date: Wed Jul 8 15:47:44 2009 -0700
37713 * codegen/defsgen.py (clean_patterns): Strip out Windows
37716 codegen/defsgen.py | 6 +++---
37717 1 file changed, 3 insertions(+), 3 deletions(-)
37719 commit 2214cad3529979e29342a7e1fdc2915b90ce9c10
37720 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37721 Date: Tue Jun 23 21:18:23 2009 +0200
37723 Fix the gio.unix namespace in docs
37725 docs/Makefile.am | 2 ++
37726 docs/reference/pygio-classes.xml | 2 --
37727 docs/reference/pygio-unixinputstream.xml | 26 +++++++++++++-------------
37728 docs/reference/pygio-unixoutputstream.xml | 26 +++++++++++++-------------
37729 docs/reference/pygiounix-classes.xml | 13 +++++++++++++
37730 docs/reference/pygobject-ref.xml | 1 +
37731 6 files changed, 42 insertions(+), 28 deletions(-)
37733 commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2
37734 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37735 Date: Mon Jun 22 23:13:36 2009 +0200
37737 Add docs for gio functions (mostly for content types)
37739 docs/Makefile.am | 2 +
37740 docs/reference/pygio-classes.xml | 1 +
37741 docs/reference/pygio-functions.xml | 395
37742 +++++++++++++++++++++++++++++++++++++
37743 3 files changed, 398 insertions(+)
37745 commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881
37746 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37747 Date: Sun Jun 21 18:35:56 2009 +0200
37749 Add docs for gio.Unix[In|Out]putStream classes
37751 docs/Makefile.am | 4 +
37752 docs/reference/pygio-classes.xml | 2 +
37753 docs/reference/pygio-unixinputstream.xml | 202
37754 ++++++++++++++++++++++++++++++
37755 docs/reference/pygio-unixoutputstream.xml | 202
37756 ++++++++++++++++++++++++++++++
37757 4 files changed, 410 insertions(+)
37759 commit 5b71e58117c85634d95d08449eb54079b246e5be
37760 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37761 Date: Sun Jun 21 16:50:03 2009 +0300
37763 Document that many functions got moved gobject -> glib
37765 docs/reference/pygobject-functions.xml | 7 +++++++
37766 1 file changed, 7 insertions(+)
37768 commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754
37769 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37770 Date: Sat Jun 20 19:23:25 2009 +0200
37772 Add docs for class gio.DataOutputStream
37774 docs/Makefile.am | 2 +
37775 docs/reference/pygio-classes.xml | 1 +
37776 docs/reference/pygio-dataoutputstream.xml | 504
37777 ++++++++++++++++++++++++++++++
37778 3 files changed, 507 insertions(+)
37780 commit 549313fc4886fa3deb31761de6f5400708165d86
37781 Author: Murray Cumming <murrayc@murrayc.com>
37782 Date: Thu Jun 18 18:48:37 2009 +0200
37784 Allow h2def.py to work when there are tabs or multiple spaces after
37785 the struct keyword.
37787 codegen/h2def.py | 8 ++++----
37788 1 file changed, 4 insertions(+), 4 deletions(-)
37790 commit 5c36ef20dca8cd1793f2d3e88949675299097f40
37791 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37792 Date: Mon Jun 15 23:02:34 2009 +0200
37794 Add dpcs for class gio.DataInputStream
37796 docs/Makefile.am | 2 +
37797 docs/reference/pygio-classes.xml | 1 +
37798 docs/reference/pygio-constants.xml | 66 +++
37799 docs/reference/pygio-datainputstream.xml | 799
37800 +++++++++++++++++++++++++++++++
37801 4 files changed, 868 insertions(+)
37803 commit a8b36c343c6850af929c1d5a930f923831b4e637
37804 Author: Theppitak Karoonboonyanan <thep@linux.thai.net>
37805 Date: Mon Jun 15 23:25:01 2009 +0300
37807 Fix build when builddir is not the same as srcdir
37811 girepository/Makefile.am | 2 +-
37812 1 file changed, 1 insertion(+), 1 deletion(-)
37814 commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7
37815 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37816 Date: Mon Jun 15 23:19:47 2009 +0300
37818 Make gio.Emblem constructor new-style
37820 Add optional 'origin' parameter. Expand gio.Emblem documentation and
37821 mark gio.emblem_new_with_origin as sort-of-deprecated.
37823 docs/reference/pygio-emblem.xml | 51
37824 +++++++++++++++++++++++++++++++++++++++--
37825 gio/gio.defs | 5 ++--
37826 2 files changed, 52 insertions(+), 4 deletions(-)
37828 commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde
37829 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37830 Date: Sat Jun 13 14:44:47 2009 +0200
37832 Add docs for gio.BufferedOutputStream class
37834 docs/Makefile.am | 96 ++++-----
37835 docs/reference/pygio-bufferedoutputstream.xml | 275
37836 ++++++++++++++++++++++++++
37837 docs/reference/pygio-classes.xml | 1 +
37838 3 files changed, 325 insertions(+), 47 deletions(-)
37840 commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416
37841 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37842 Date: Sat Jun 13 14:38:34 2009 +0200
37844 Fix gio.BufferedInputStream docs
37846 Added the constructor reference and fixed a typo in properties header
37848 docs/reference/pygio-bufferedinputstream.xml | 34
37849 ++++++++++++++++++++++++++--
37850 1 file changed, 32 insertions(+), 2 deletions(-)
37852 commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591
37853 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37854 Date: Sat Jun 13 01:25:06 2009 +0200
37856 Add docs for gio.BufferedInputStream
37858 docs/Makefile.am | 2 +
37859 docs/reference/pygio-bufferedinputstream.xml | 431
37860 +++++++++++++++++++++++++++
37861 docs/reference/pygio-classes.xml | 1 +
37862 3 files changed, 434 insertions(+)
37864 commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1
37865 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37866 Date: Sun May 31 18:25:47 2009 +0300
37868 Cleanup GIO overrides to use Python function/method names
37870 Also move several gio.Mount overrides over from 'gio.override' to
37871 existing 'gmount.override'. Part of bug #584289.
37873 gio/gfile.override | 20 ++---
37874 gio/gfileenumerator.override | 6 +-
37875 gio/ginputstream.override | 2 +-
37876 gio/gio.override | 204
37877 -------------------------------------------
37878 gio/gmount.override | 204
37879 +++++++++++++++++++++++++++++++++++++++++++
37880 5 files changed, 218 insertions(+), 218 deletions(-)
37882 commit 07e9c18dc092f6546230168b6b69c1b3454e120a
37883 Author: Paul Pogonyshev <pogonyshev@gmx.net>
37884 Date: Sun May 31 18:56:55 2009 +0300
37886 Make codegen report errors using Python function/method names
37888 Part of bug #584289.
37890 codegen/codegen.py | 9 +++++----
37891 codegen/definitions.py | 10 +++++++++-
37892 2 files changed, 14 insertions(+), 5 deletions(-)
37894 commit 235fde85d015382f2ba38b21968e82b3ac0b6612
37895 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37896 Date: Fri Jun 12 00:12:17 2009 +0200
37898 Fix object type in gio.BufferedInputStream_fill_async
37900 gio/gbufferedinputstream.override | 2 +-
37901 1 file changed, 1 insertion(+), 1 deletion(-)
37903 commit 407b0e909056f15960e6a4e549896d786ce0a0b2
37904 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37905 Date: Tue Jun 9 00:08:21 2009 +0200
37907 Wrap gio.BufferedInputStream.fill_async
37909 Wrap the method gio.BufferedInputStream.fill_async and add a test
37911 gio/Makefile.am | 1 +
37912 gio/gbufferedinputstream.override | 70
37913 +++++++++++++++++++++++++++++++++++++++
37914 gio/gio.override | 1 +
37915 tests/test_gio.py | 25 ++++++++++++++
37916 4 files changed, 97 insertions(+)
37918 commit b7c96b41b287685fe57504e0add3a6f16e649975
37919 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37920 Date: Mon Jun 8 15:42:40 2009 +0200
37922 Add gio.BufferedOutputStream which was forgotten in the types
37925 gio/gio-types.defs | 7 +++++++
37926 1 file changed, 7 insertions(+)
37928 commit 3666f75af4ef2c8e038116aee5afada59d59f689
37929 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37930 Date: Mon Jun 8 14:20:02 2009 +0200
37932 Add docs for gio.MemoryOutputStream
37934 docs/Makefile.am | 2 +
37935 docs/reference/pygio-classes.xml | 1 +
37936 docs/reference/pygio-memoryoutputstream.xml | 175
37937 ++++++++++++++++++++++++++++
37938 3 files changed, 178 insertions(+)
37940 commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78
37941 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37942 Date: Mon Jun 8 13:30:15 2009 +0200
37944 Split overrides for gio.MemoryOutputStream
37946 gio/Makefile.am | 1 +
37947 gio/gio.override | 1 +
37948 gio/gmemoryoutputstream.override | 45
37949 ++++++++++++++++++++++++++++++++++++++++
37950 gio/goutputstream.override | 24 ---------------------
37951 4 files changed, 47 insertions(+), 24 deletions(-)
37953 commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff
37954 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
37955 Date: Mon Jun 8 11:45:11 2009 +0200
37957 Wrap gio.memory_input_stream_new_from_data
37959 Add the wrapper for gio.memory_input_stream_new_from_data including
37962 docs/Makefile.am | 4 +-
37963 docs/reference/pygio-classes.xml | 1 +
37964 docs/reference/pygio-memoryinputstream.xml | 151
37965 +++++++++++++++++++++++++++++
37966 gio/Makefile.am | 1 +
37967 gio/ginputstream.override | 34 -------
37968 gio/gio.override | 1 +
37969 gio/gmemoryinputstream.override | 91 +++++++++++++++++
37970 tests/test_gio.py | 4 +
37971 8 files changed, 252 insertions(+), 35 deletions(-)
37973 commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259
37974 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
37975 Date: Mon Jun 8 19:15:24 2009 +0200
37977 Fixes whitespaces style issues with girepository.
37979 girepository/Makefile.am | 2 +-
37980 girepository/bank-repository.c | 67
37981 +++++++++++++++++++++---------------------
37982 girepository/bank.h | 2 +-
37983 girepository/btypes.py | 6 ++--
37984 girepository/module.py | 2 +-
37985 5 files changed, 39 insertions(+), 40 deletions(-)
37987 commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0
37988 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
37989 Date: Fri Jun 5 19:03:59 2009 +0200
37991 Removes the header but the modeline in test_girepository.py.
37993 tests/test_girepository.py | 26 +-------------------------
37994 1 file changed, 1 insertion(+), 25 deletions(-)
37996 commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c
37997 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
37998 Date: Wed Jun 3 10:47:58 2009 +0200
38000 Adds overrides modules from PyBank.
38002 girepository/Makefile.am | 3 +++
38003 girepository/importer.py | 3 +--
38004 girepository/overrides/Gdk.py | 14 ++++++++++++++
38005 girepository/overrides/Gtk.py | 8 ++++++++
38006 girepository/overrides/__init__.py | 0
38007 5 files changed, 26 insertions(+), 2 deletions(-)
38009 commit c12964e6a3354d8063355225c94e6d21d621e08b
38010 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38011 Date: Tue Jun 2 23:40:41 2009 +0200
38013 Disables the tests that fail in tests/test_girepository.py.
38015 tests/test_girepository.py | 242
38016 ++++++++++++++++++++++++++++++++++-----------
38017 1 file changed, 182 insertions(+), 60 deletions(-)
38019 commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140
38020 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38021 Date: Tue Jun 2 23:03:26 2009 +0200
38023 Imports test_girepository.py from former PyBank's
38024 everything_unittest.py.
38026 tests/test_girepository.py | 288
38027 +++++++++++++++++++++++++++++++++++++++++++++
38028 1 file changed, 288 insertions(+)
38030 commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a
38031 Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be>
38032 Date: Thu May 28 17:45:11 2009 +0200
38034 Introduces the girepository module from the former PyBank.
38038 configure.ac | 12 +
38039 girepository/Makefile.am | 52 ++
38040 girepository/__init__.py | 24 +
38041 girepository/bank-argument.c | 379 +++++++++++++
38042 girepository/bank-info.c | 1194
38043 ++++++++++++++++++++++++++++++++++++++++
38044 girepository/bank-repository.c | 237 ++++++++
38045 girepository/bank.c | 155 ++++++
38046 girepository/bank.h | 80 +++
38047 girepository/btypes.py | 300 ++++++++++
38048 girepository/importer.py | 52 ++
38049 girepository/module.py | 224 ++++++++
38050 girepository/repository.py | 51 ++
38051 14 files changed, 2799 insertions(+), 32 deletions(-)
38053 commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e
38054 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38055 Date: Tue Jun 2 18:28:22 2009 +0200
38057 Fix the docs for gio.FilterOutputStream
38059 docs/reference/pygio-filteroutputstream.xml | 6 +++---
38060 1 file changed, 3 insertions(+), 3 deletions(-)
38062 commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6
38063 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38064 Date: Tue Jun 2 18:27:00 2009 +0200
38066 Add gio.FilterOutputStream docs
38068 docs/Makefile.am | 2 +
38069 docs/reference/pygio-classes.xml | 1 +
38070 docs/reference/pygio-filteroutputstream.xml | 152
38071 ++++++++++++++++++++++++++++
38072 3 files changed, 155 insertions(+)
38074 commit e2c31f916967229b6547e68013628ce0082cf875
38075 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38076 Date: Tue Jun 2 13:29:59 2009 +0200
38078 Add gio.FilterInputStream docs
38080 docs/Makefile.am | 2 +
38081 docs/reference/pygio-classes.xml | 1 +
38082 docs/reference/pygio-filterinputstream.xml | 152
38083 +++++++++++++++++++++++++++++
38084 3 files changed, 155 insertions(+)
38086 commit 49a467eee445bc75554db0374006722ac075194b
38087 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38088 Date: Tue Jun 2 11:33:20 2009 +0200
38090 Add API appeared in 2.20 but not marked as such in gio docs
38092 gio/gio.defs | 30 ++++++++++++++++++++++++++++++
38093 1 file changed, 30 insertions(+)
38095 commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0
38096 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38097 Date: Tue Jun 2 10:41:26 2009 +0200
38099 Wrap gio.FileOutputStream.query_info_async
38101 Add the wrapper for gio.FileOutputStream.query_info_async
38102 including docs and a test.
38104 docs/Makefile.am | 2 +
38105 docs/reference/pygio-classes.xml | 1 +
38106 docs/reference/pygio-fileoutputstream.xml | 257
38107 ++++++++++++++++++++++++++++++
38108 gio/Makefile.am | 3 +-
38109 gio/gfileoutputstream.override | 68 ++++++++
38110 gio/gio.override | 1 +
38111 tests/test_gio.py | 27 ++++
38112 7 files changed, 358 insertions(+), 1 deletion(-)
38114 commit 4673577d1f6c3d54423808dd575987092fb05ad2
38115 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38116 Date: Tue Jun 2 10:17:41 2009 +0200
38118 Fix gio.FileInputStream docs
38120 Add implemented interface section and remove a method description
38122 docs/reference/pygio-fileinputstream.xml | 25 +++++++++----------------
38123 1 file changed, 9 insertions(+), 16 deletions(-)
38125 commit 1e1cad02879d514745b5233658654cbe944530a5
38126 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38127 Date: Mon Jun 1 22:54:26 2009 +0200
38129 Fix the method name
38131 gio/gfileinputstream.override | 14 +++++++-------
38132 1 file changed, 7 insertions(+), 7 deletions(-)
38134 commit f605811afe8c91f121e89b6f9ec28c70b62f4110
38135 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38136 Date: Mon Jun 1 22:40:56 2009 +0200
38138 Wrap gio.FileInputStream.query_async
38140 Add the wrapper for gio.FileInputStream.query_async including docs and
38143 docs/Makefile.am | 2 +
38144 docs/reference/pygio-classes.xml | 1 +
38145 docs/reference/pygio-fileinputstream.xml | 221
38146 +++++++++++++++++++++++++++++++
38147 gio/Makefile.am | 1 +
38148 gio/gfileinputstream.override | 68 ++++++++++
38149 gio/gio.override | 1 +
38150 tests/test_gio.py | 27 ++++
38151 7 files changed, 321 insertions(+)
38153 commit 08623e54a426377c1504b5c364aabae5a17f8ad8
38154 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38155 Date: Sun May 31 17:43:16 2009 +0300
38157 Install executable codegen parts with executing permissions
38159 Also add shebang where it was missing. Bug #583979.
38161 codegen/Makefile.am | 23 ++++++++++++-----------
38162 codegen/code-coverage.py | 2 ++
38163 codegen/codegen.py | 2 ++
38164 codegen/createdefs.py | 0
38165 codegen/defsconvert.py | 2 ++
38166 codegen/defsgen.py | 0
38167 codegen/docgen.py | 0
38168 codegen/scmexpr.py | 0
38169 8 files changed, 18 insertions(+), 11 deletions(-)
38171 commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2
38172 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38173 Date: Sat May 30 16:57:49 2009 +0300
38175 Wrap gio.DataInputStream.read_line_async and read_until_async
38177 Wrap the functions and their corresponding *_finish() functions.
38178 Create 'gdatainputstream.override' for these and move two existing
38179 functions there. Add unit tests. Re-enable synchronous read_line
38180 unit test and adjust it for new official GIO behavior. Bug #584285.
38182 gio/Makefile.am | 1 +
38183 gio/gdatainputstream.override | 250
38184 ++++++++++++++++++++++++++++++++++++++++++
38185 gio/ginputstream.override | 65 -----------
38186 gio/gio.defs | 4 +-
38187 gio/gio.override | 1 +
38188 tests/test_gio.py | 51 ++++++++-
38189 6 files changed, 300 insertions(+), 72 deletions(-)
38191 commit 2cb569c0ced49f9ed5ca83292d5f15c837066688
38192 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38193 Date: Sat May 30 17:24:15 2009 +0300
38195 Fix gio.OutputStream.splice_async
38199 gio/goutputstream.override | 8 ++++----
38200 1 file changed, 4 insertions(+), 4 deletions(-)
38202 commit e43fa429f6b4019a432acb481bbc07c8201cc46d
38203 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38204 Date: Wed May 27 21:19:27 2009 +0300
38206 Code maintenance: ignore one more file created by unit tests
38208 tests/.gitignore | 1 +
38209 1 file changed, 1 insertion(+)
38211 commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f
38212 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38213 Date: Mon May 25 20:20:38 2009 +0200
38215 Update the docs with new 2.20 API
38217 docs/reference/pygio-appinfo.xml | 115 +++++++++++++++++++++++++++++
38218 docs/reference/pygio-icon.xml | 99 ++++++++++++++++++++++++-
38219 docs/reference/pygio-mount.xml | 156
38220 +++++++++++++++++++++++++++++++++++++++
38221 3 files changed, 367 insertions(+), 3 deletions(-)
38223 commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd
38224 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38225 Date: Mon May 25 01:33:08 2009 +0200
38229 add the new API added in gio 2.20, some needs to be wrapped manually
38232 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38233 gio/unix.defs | 48 +++++++++++++++++++++-----
38234 2 files changed, 146 insertions(+), 8 deletions(-)
38236 commit 0d08df42514fba6abc896814abfee0d2d083c29e
38237 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38238 Date: Mon May 25 00:14:21 2009 +0200
38240 Post release version bump 2.19.0
38242 configure.ac | 2 +-
38243 1 file changed, 1 insertion(+), 1 deletion(-)
38245 commit edfb09e3de7baf294b3beba84b4ecb94e1f16764
38246 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38247 Date: Sun May 24 23:56:29 2009 +0200
38249 Update NEWS, release 2.18.0
38251 NEWS | 14 ++++++++++++++
38252 configure.ac | 4 ++--
38253 2 files changed, 16 insertions(+), 2 deletions(-)
38255 commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4
38256 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38257 Date: Sun May 24 22:18:40 2009 +0200
38259 Add documentation for the gio.OutputStream class
38261 The docs for this class are not completed, missing methods
38263 The index is complete though, it will be completed once all the
38265 are in place so we can ship a (almost) complete reference.
38267 docs/Makefile.am | 2 +
38268 docs/reference/pygio-classes.xml | 3 +-
38269 docs/reference/pygio-outputstream.xml | 140
38270 ++++++++++++++++++++++++++++++++++
38271 3 files changed, 144 insertions(+), 1 deletion(-)
38273 commit 11524cdf6472d9115a812ce431f6767aec5627bc
38274 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38275 Date: Sun May 24 22:12:04 2009 +0200
38277 Wrap gio.OutputStream.splice_async()
38279 wrap gio.OutputStream.splice_async() and add a test.
38281 gio/goutputstream.override | 58
38282 +++++++++++++++++++++++++++++++++++++++++++++-
38283 tests/test_gio.py | 20 ++++++++++++++++
38284 2 files changed, 77 insertions(+), 1 deletion(-)
38286 commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19
38287 Author: Emilio Pozuelo Monfort <pochu@ubuntu.com>
38288 Date: Sun May 24 22:55:16 2009 +0300
38290 Add Python version into installed libpyglib name
38292 Do this now, while no-one (as far as we know) links to the library
38293 besides PyGObject itself. Bug #550235.
38295 configure.ac | 2 ++
38296 gio/Makefile.am | 2 +-
38297 glib/Makefile.am | 10 +++++-----
38298 gobject/Makefile.am | 2 +-
38299 4 files changed, 9 insertions(+), 7 deletions(-)
38301 commit 59da8cd24ea390b6c983995833ec6b0e5d028b35
38302 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38303 Date: Sun May 24 11:44:24 2009 +0200
38305 Wrap gio.OutputStream.flush_async()
38307 wrap gio.OutputStream.flush_async() and add a test.
38309 gio/goutputstream.override | 47
38310 +++++++++++++++++++++++++++++++++++++++++++++-
38311 tests/test_gio.py | 11 +++++++++++
38312 2 files changed, 57 insertions(+), 1 deletion(-)
38314 commit 84ab6178ed0033f69932df5bc73c86bdff80c953
38315 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38316 Date: Sun May 17 17:29:37 2009 +0200
38318 Add documentation for the gio.FileMonitor class
38320 The docs for this class are not completed, missing methods
38322 The index is complete though, it will be completed once all the
38324 are in place so we can ship a (almost) complete reference.
38326 docs/Makefile.am | 2 +
38327 docs/reference/pygio-classes.xml | 1 +
38328 docs/reference/pygio-filemonitor.xml | 128
38329 +++++++++++++++++++++++++++++++++++
38330 3 files changed, 131 insertions(+)
38332 commit 629496a5617d30e4dfa494b05a62c85a6af77b9a
38333 Author: Josselin Mouette <joss@malsain.org>
38334 Date: Sun May 17 18:03:44 2009 +0300
38336 Use 'Requires.private' for libffi in '.pc' files
38338 Correction for patch in bug #550231.
38340 pygobject-2.0-uninstalled.pc.in | 3 ++-
38341 pygobject-2.0.pc.in | 3 ++-
38342 2 files changed, 4 insertions(+), 2 deletions(-)
38344 commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b
38345 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38346 Date: Wed May 13 21:54:39 2009 +0200
38348 Add wrapper for gio.FileAttributeMatcher
38350 added a boxed type for gio.FileAttributeMatcher which has been
38352 wrapping the gio API. This should probably be done in gio itself.
38354 gio/gfileinfo.override | 24 ++++++++++++++++++++++--
38355 gio/gio-types.defs | 7 +++++++
38356 gio/gio.override | 2 ++
38357 3 files changed, 31 insertions(+), 2 deletions(-)
38359 commit e707447d9313f2f2ecba395cfe3682d5a5e859f4
38360 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38361 Date: Wed May 13 22:06:25 2009 +0300
38363 Mark relevant glib.IOChannel methods as METH_NOARGS
38365 Additionally fix glib.IOChannel.set_close_on_unref: was marked
38366 METH_NOARGS but actually accepted arguments. Fixes bug #582427.
38368 glib/pygiochannel.c | 83
38369 +++++++++++++----------------------------------------
38370 1 file changed, 20 insertions(+), 63 deletions(-)
38372 commit 002915e5f458fec5a89766a54e8119a70a80caa7
38373 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38374 Date: Tue May 12 20:37:24 2009 +0200
38376 Add documentation for the gio.FileInfo class
38378 The docs for this class are not completed, missing methods
38380 The index is complete though, it will be completed once all the
38382 are in place so we can ship a (almost) complete reference.
38384 docs/Makefile.am | 2 +
38385 docs/reference/pygio-classes.xml | 1 +
38386 docs/reference/pygio-fileinfo.xml | 346
38387 ++++++++++++++++++++++++++++++++++++++
38388 3 files changed, 349 insertions(+)
38390 commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1
38391 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38392 Date: Sat May 9 16:46:04 2009 +0300
38394 Retire hand-written ChangeLog; autocreate from Git history
38396 Basically copied over from GLib source tree.
38398 ChangeLog => ChangeLog.pre-2.18 | 2 ++
38399 Makefile.am | 32 ++++++++++++++++++++++++++++++++
38400 2 files changed, 34 insertions(+)
38402 commit 23556bdbcf9cf06db866901fb822dd78a9043648
38403 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38404 Date: Sat May 9 00:03:05 2009 +0200
38406 Fix a bug in InputStream.skip_async
38408 use the count argument instead of buffer_size which is always zero
38410 gio/ginputstream.override | 3 ++-
38411 1 file changed, 2 insertions(+), 1 deletion(-)
38413 commit ed6b06315c17441b41c001d38537c904b8fe18de
38414 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38415 Date: Sat May 9 00:02:33 2009 +0200
38417 Add docs for the gio.InputStream class
38419 docs/Makefile.am | 2 +
38420 docs/reference/pygio-classes.xml | 1 +
38421 docs/reference/pygio-inputstream.xml | 730
38422 +++++++++++++++++++++++++++++++++++
38423 3 files changed, 733 insertions(+)
38425 commit d58322b84d47da7905f95b43e9e0daf9f7c4b507
38426 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38427 Date: Mon May 4 23:40:28 2009 +0200
38429 Wrap gio.InputStream.skip_async()
38431 wrap gio.InputStream.skip_async() and add a test.
38433 gio/ginputstream.override | 50
38434 ++++++++++++++++++++++++++++++++++++++++++++++-
38435 tests/test_gio.py | 20 +++++++++++++++++++
38436 2 files changed, 69 insertions(+), 1 deletion(-)
38438 commit 2311187824d1b48a996ee2620fd3c9a63e3edd66
38439 Author: Siavash Safi <siavash@siavashs.org>
38440 Date: Mon May 4 15:46:49 2009 +0430
38442 Add -n --namespace option and the code to remove
38443 dll API in headers, Added documentation
38445 Patch from bug #579275
38448 codegen/h2def.py | 133
38449 +++++++++++++++++++++++++++++++++++++++++++++----------
38450 2 files changed, 117 insertions(+), 24 deletions(-)
38452 commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1
38453 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38454 Date: Sat May 2 23:54:52 2009 +0300
38456 Properly mark glib.get_user_special_dir() as a keywords method
38460 glib/glibmodule.c | 2 +-
38461 1 file changed, 1 insertion(+), 1 deletion(-)
38463 commit f466dca880cc6ea68b9fe236943eea7a07d33520
38464 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38465 Date: Sun May 3 11:03:25 2009 +0200
38467 Add docs for the gio.LoadableIcon class
38469 docs/Makefile.am | 2 +
38470 docs/reference/pygio-classes.xml | 1 +
38471 docs/reference/pygio-loadableicon.xml | 198
38472 ++++++++++++++++++++++++++++++++++
38473 3 files changed, 201 insertions(+)
38475 commit eab4ebf7f6c82580b61205f34e1cfe535aeada60
38476 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38477 Date: Sun May 3 01:21:55 2009 +0200
38479 Add docs for the gio.ThemedIcon class
38481 docs/Makefile.am | 2 +
38482 docs/reference/pygio-classes.xml | 1 +
38483 docs/reference/pygio-themedicon.xml | 204
38484 ++++++++++++++++++++++++++++++++++++
38485 3 files changed, 207 insertions(+)
38487 commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672
38488 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38489 Date: Sat May 2 12:25:19 2009 +0200
38491 post release version bump to 2.17.1
38493 configure.ac | 2 +-
38494 1 file changed, 1 insertion(+), 1 deletion(-)
38496 commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e
38497 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38498 Date: Fri May 1 23:40:31 2009 +0200
38500 Fix the class title
38502 docs/reference/pygio-mountoperation.xml | 2 +-
38503 1 file changed, 1 insertion(+), 1 deletion(-)
38505 commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e
38506 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38507 Date: Fri May 1 22:24:33 2009 +0200
38509 Add docs for the gio.MountOperation class
38511 docs/Makefile.am | 2 +
38512 docs/reference/pygio-classes.xml | 1 +
38513 docs/reference/pygio-constants.xml | 107 +++++
38514 docs/reference/pygio-mountoperation.xml | 726
38515 ++++++++++++++++++++++++++++++++
38516 4 files changed, 836 insertions(+)
38518 commit fceea8e843e880f0469e454df23141e7dd2bc0cf
38519 Author: Gian Mario Tagliaretti <gianmt@gnome.org>
38520 Date: Thu Apr 30 22:13:06 2009 +0200
38522 Update NEWS, release 2.17.0
38525 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
38526 1 file changed, 93 insertions(+)
38528 commit 47389217d1a65a8e3f404d486c508cf5d3164756
38529 Author: Paul Pogonyshev <pogonyshev@gmx.net>
38530 Date: Thu Apr 30 22:47:19 2009 +0300
38532 Fix memory leak in gio.File.query_info_async()
38534 After the recent patch it would leak exception data if old argument
38535 order was used. Properly decref the objects.
38537 gio/gfile.override | 4 ++++
38538 1 file changed, 4 insertions(+)