1commit 42970db5949c615078c38a039da4745eeb194ac1 2Author: Ignacio Casal Quinteiro <icq@gnome.org> 3Date: Fri Jun 10 14:01:32 2011 +0200 4 5 closure: avoid double free crash 6 7 gi/pygi-closure.c | 12 ++++-------- 8 1 files changed, 4 insertions(+), 8 deletions(-) 9 10commit 78366697d8f7fc53f20d9f52f9f39552c5e99bd1 11Author: John (J5) Palmieri <johnp@redhat.com> 12Date: Fri Jun 10 16:48:28 2011 -0400 13 14 [gi] backport of "GVariant has a GType" fe386a 15 16 * backport the switch to using GIInterfaceInfo instead of GITypeInfo 17 for foreign types to support this patch - 01596a 18 19 gi/pygi-argument.c | 10 +++++----- 20 gi/pygi-foreign-cairo.c | 18 ++++++++++-------- 21 gi/pygi-foreign-gvariant.c | 15 +++++++-------- 22 gi/pygi-foreign-gvariant.h | 14 ++++++-------- 23 gi/pygi-foreign.c | 21 +++++++++------------ 24 gi/pygi-foreign.h | 16 ++++++++-------- 25 gi/pygi-invoke.c | 26 ++++++++++++++++---------- 26 7 files changed, 61 insertions(+), 59 deletions(-) 27 28commit 0c348da3d974f63629c44e75067b8056dacc60d3 29Author: John (J5) Palmieri <johnp@redhat.com> 30Date: Fri Jun 10 16:46:20 2011 -0400 31 32 [gi] fixes to backport commit 6b5a65 - in older glib GVariants are 33 still structs 34 35 gi/gimodule.c | 6 ++++-- 36 1 files changed, 4 insertions(+), 2 deletions(-) 37 38commit 6b5a656a3b77438c9bbb897c65343634b981c0e5 39Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 40Date: Mon Jun 6 19:05:07 2011 +0200 41 42 GVariantType is a boxed struct 43 44 https://bugzilla.gnome.org/show_bug.cgi?id=647509 45 46 gi/gimodule.c | 2 +- 47 1 files changed, 1 insertions(+), 1 deletions(-) 48 49commit 3f6bba909486d0ad1a27592fcf09c7ac8744fded 50Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 51Date: Mon Jun 6 17:38:21 2011 +0200 52 53 Use _gi.Struct to wrap fundamentals 54 55 https://bugzilla.gnome.org/show_bug.cgi?id=647509 56 57 gi/module.py | 4 +++- 58 1 files changed, 3 insertions(+), 1 deletions(-) 59 60commit b7f5ce021bf16a422dc410b3ff44303e0757dc6e 61Author: Jason Siefken <siefkenj@gmail.com> 62Date: Fri Jun 3 23:11:17 2011 -0700 63 64 Added __eq__ method for Gdk.Color and Gdk.RGBA 65 66 Call Gdk.Color.equal and Gdk.RGBA.equal when 67 == equality testing is used. 68 69 gi/overrides/Gdk.py | 6 ++++++ 70 tests/test_overrides.py | 4 ++++ 71 2 files changed, 10 insertions(+), 0 deletions(-) 72 73commit c016c27f545f398f1b57cf31f37392c97d2b5e50 74Author: Ignacio Casal Quinteiro <icq@gnome.org> 75Date: Wed Jun 8 19:21:23 2011 +0200 76 77 Remove useless import 78 79 tests/test_everything.py | 1 - 80 1 files changed, 0 insertions(+), 1 deletions(-) 81 82commit 1598047c0ddd6a1d04d41e59dd182f3c0524f3c4 83Author: Ignacio Casal Quinteiro <icq@gnome.org> 84Date: Wed Jun 8 19:18:23 2011 +0200 85 86 Revert "[gi] Removed hack to avoid using GLib.Variant.new_variant." 87 88 This reverts commit dfe95b9ec598b57deaabd98ab488ab054a44ec09. 89 90 gi/overrides/GLib.py | 14 +++++++++++++- 91 1 files changed, 13 insertions(+), 1 deletions(-) 92 93commit ae9e098c14de3d2364c8b16c862aa77570c06a4a 94Author: Ignacio Casal Quinteiro <icq@gnome.org> 95Date: Wed Jun 8 19:13:48 2011 +0200 96 97 closure: Check the out arg is not null. Fixes bug #651812 98 99 gi/pygi-closure.c | 3 +++ 100 1 files changed, 3 insertions(+), 0 deletions(-) 101 102commit eca590a3ff6bbfb78eef7b88d36cee59eb51b1d0 103Author: Daniel Drake <dsd@laptop.org> 104Date: Fri Jun 3 16:59:15 2011 +0100 105 106 Fix GC-related crash during PyGObject deallocation 107 108 Python-2.7.1's GC source has the following comment: 109 110 /* Python's cyclic gc should never see an incoming refcount 111 * of 0: if something decref'ed to 0, it should have been 112 * deallocated immediately at that time. 113 * Possible cause (if the assert triggers): a tp_dealloc 114 * routine left a gc-aware object tracked during its teardown 115 * phase, and did something-- or allowed something to 116 happen -- 117 * that called back into Python. gc can trigger then, and may 118 * see the still-tracked dying object. Before this assert 119 * was added, such mistakes went on to allow gc to try to 120 * delete the object again. In a debug build, that caused 121 * a mysterious segfault, when _Py_ForgetReference tried 122 * to remove the object from the doubly-linked list of all 123 * objects a second time. In a release build, an actual 124 * double deallocation occurred, which leads to corruption 125 * of the allocator's internal bookkeeping pointers. That's 126 * so serious that maybe this should be a release-build 127 * check instead of an assert? 128 */ 129 130 As shown in a backtrace at 131 https://bugzilla.redhat.com/show_bug.cgi?id=640972 , pygobject 132 is making 133 this exact mistake. Before untracking its object, pygobject_dealloc 134 calls PyObject_ClearWeakRefs() which can call back into python, create 135 new allocations, and trigger the GC. 136 137 This is causing Sugar (based on pygobject2 + pygtk2 static bindings) 138 to 139 crash on a regular basis while interacting with widgets or launching 140 applications. 141 142 Fix this by untracking the object early. Also fix the same issue 143 spotted 144 in the GSource wrapper. 145 146 Thanks to Bernie Innocenti for initial diagnosis. 147 148 glib/pygsource.c | 6 ++++-- 149 gobject/pygobject.c | 8 +++++++- 150 2 files changed, 11 insertions(+), 3 deletions(-) 151 152commit ad96a3f1d187a640ec0a463b766fd5e027f3c16a 153Author: Martin Pitt <martin.pitt@ubuntu.com> 154Date: Mon May 2 15:49:52 2011 +0200 155 156 Fix symbol names to be locale independent 157 158 We currently use upper() to present enum values, which are usually 159 defined in 160 lower case in the typelib, in upper cases. However, upper() is locale 161 dependent, so that e. g. in tr_TR.UTF-8, "invalid" becomes "iNVALiD" 162 because Turkish has some extra variants of "i". 163 164 Use a local ASCII-only translate() call instead to avoid this. Thanks 165 to Nils 166 Philippsen for the idea! 167 168 This also adds a test locale "te_ST@nouppera" which defines 169 toupper('a') == 'a'. 170 Run the Enum tests under this locale to reproduce the bug and verify 171 the fix. 172 173 https://bugzilla.gnome.org/show_bug.cgi?id=649165 174 175 gi/module.py | 9 ++++++++- 176 tests/te_ST@nouppera | 50 177 ++++++++++++++++++++++++++++++++++++++++++++++++++ 178 tests/test_gi.py | 30 ++++++++++++++++++++++++++++++ 179 3 files changed, 88 insertions(+), 1 deletions(-) 180 181commit 90530b52f6eaa30bb704e413c01bb94ee511a0bb 182Author: Sebastian Pölsterl <sebp@k-d-w.org> 183Date: Mon Apr 18 18:36:25 2011 +0200 184 185 Updated DOAP file 186 187 pygobject.doap | 15 +++++++++++++++ 188 1 files changed, 15 insertions(+), 0 deletions(-) 189 190commit 996e5676a00e8d8fc55ef7400d15ccf5a4d904eb 191Author: Sebastian Pölsterl <sebp@k-d-w.org> 192Date: Mon Apr 18 18:16:42 2011 +0200 193 194 Post release version bump to 2.28.5 195 196 configure.ac | 2 +- 197 1 files changed, 1 insertions(+), 1 deletions(-) 198 199commit afbcc71b71343b5a16dc8873c2ac7b9ca7dd801a 200Author: Sebastian Pölsterl <sebp@k-d-w.org> 201Date: Mon Apr 18 18:06:56 2011 +0200 202 203 Release 2.28.4 204 205 NEWS | 11 +++++++++++ 206 configure.ac | 2 +- 207 2 files changed, 12 insertions(+), 1 deletions(-) 208 209commit 4643bcad5845f5ec3dd9961616e3ed3b0946001f 210Author: Sebastian Pölsterl <sebp@k-d-w.org> 211Date: Sat Apr 16 16:02:05 2011 +0200 212 213 [gi] Don't create variant twice 214 215 gi/overrides/GLib.py | 2 +- 216 1 files changed, 1 insertions(+), 1 deletions(-) 217 218commit 0e9e4ec7c28ac4564e15283636adc8b7bc1a83be 219Author: Sebastian Pölsterl <sebp@k-d-w.org> 220Date: Fri Apr 15 16:14:43 2011 +0200 221 222 pygi-convert.sh: Make sure the uppercase GObject module is imported 223 instead of the lowercase 224 225 https://bugzilla.gnome.org/show_bug.cgi?id=647736 226 227 pygi-convert.sh | 1 + 228 1 files changed, 1 insertions(+), 0 deletions(-) 229 230commit dfe95b9ec598b57deaabd98ab488ab054a44ec09 231Author: Sebastian Pölsterl <sebp@k-d-w.org> 232Date: Fri Apr 15 15:58:53 2011 +0200 233 234 [gi] Removed hack to avoid using GLib.Variant.new_variant. 235 236 The bug in the annotations of GLib is fixed now. 237 https://bugzilla.gnome.org/show_bug.cgi?id=639952 238 https://bugzilla.gnome.org/show_bug.cgi?id=647796 239 240 gi/overrides/GLib.py | 14 +------------- 241 1 files changed, 1 insertions(+), 13 deletions(-) 242 243commit cfccd55128377864e3a42a64785637bd453621b2 244Author: Sebastian Pölsterl <sebp@k-d-w.org> 245Date: Fri Apr 15 15:58:31 2011 +0200 246 247 [gi] Added additional test case for GVariant handling 248 249 tests/test_overrides.py | 15 +++++++++++++++ 250 1 files changed, 15 insertions(+), 0 deletions(-) 251 252commit 666ec192a4369e2fae508261a7a81b34326fc227 253Author: Sebastian Pölsterl <sebp@k-d-w.org> 254Date: Mon Apr 11 18:34:31 2011 +0200 255 256 [gi] Added support for GVariant arguments 257 258 This is required in order for the "g-signal" signal of GDBusProxy 259 to work properly and thus to properly receive DBus signals with any 260 type of argument. 261 262 https://bugzilla.gnome.org/show_bug.cgi?id=647477 263 264 gi/pygi-argument.c | 2 ++ 265 1 files changed, 2 insertions(+), 0 deletions(-) 266 267commit cc0e8423f36486d15f751bd3c14351edda28538d 268Author: Steve Frécinaux <code@istique.net> 269Date: Mon Apr 4 21:12:18 2011 +0200 270 271 Fix ABI break in old static bindings. 272 273 Commit 84d6142c14a7ebfb7284d3db52e14d3393f93905 (Always register a new 274 GType when a GObject class is subclassed) breaks the more advanced 275 usage 276 of PyGObject with regards to "metaclass hackery" as used in for 277 example 278 the kiwi and sqlkit projects. But the users of the gi-based bindings 279 now rely on the new behaviour. 280 281 We fix this by restraining the systematical registering of new 282 types to 283 the new gi-based bindings, leaving the old pygtk ones untouched. 284 285 https://bugzilla.gnome.org/show_bug.cgi?id=646437 286 287 gi/types.py | 9 +++++++++ 288 gobject/__init__.py | 16 +++++++++------- 289 2 files changed, 18 insertions(+), 7 deletions(-) 290 291commit b0e499744d337adc608e2aa8996469bca2df044a 292Author: Mike Gorse <mgorse@novell.com> 293Date: Sat Apr 2 18:45:40 2011 -0500 294 295 fetch size from an enum type 296 297 Do not assume that an enum is returned as a long; treat it as an 298 int if 299 the type indicates that its size is that of an int. 300 301 http://bugzilla.gnome.org/show_bug.cgi?id=646581 302 303 gi/pygi-argument.c | 25 ++++++++++++++++++++++--- 304 1 files changed, 22 insertions(+), 3 deletions(-) 305 306commit 4f59bee3a875eb71b8c9adce855b9addc965fe3b 307Author: Dieter Verfaillie <dieterv@optionexplicit.be> 308Date: Tue Mar 22 20:47:51 2011 +0100 309 310 dsextras.py: ensure eol characters are preserved when writing template 311 files (so \n does not become \r\n) 312 313 dsextras.py | 2 +- 314 1 files changed, 1 insertions(+), 1 deletions(-) 315 316commit b7a6f884e9ea5946691dd661b79e3094b6e1b34c 317Author: John (J5) Palmieri <johnp@redhat.com> 318Date: Thu Mar 24 12:10:47 2011 -0400 319 320 release 2.28.3 321 322 NEWS | 3 +++ 323 configure.ac | 2 +- 324 2 files changed, 4 insertions(+), 1 deletions(-) 325 326commit 99689e2849a9df78980c9d25d9ddabc1e95f1252 327Author: John (J5) Palmieri <johnp@redhat.com> 328Date: Thu Mar 24 12:08:10 2011 -0400 329 330 Revert "dsextras.py: ensure eol characters are preserved when writing 331 template files (so \n does not become \r\n)" 332 333 This reverts commit 27496e0e86e7d8798caf019fd09af5c6a30ec633. 334 335 dsextras.py | 2 +- 336 1 files changed, 1 insertions(+), 1 deletions(-) 337 338commit 27496e0e86e7d8798caf019fd09af5c6a30ec633 339Author: Dieter Verfaillie <dieterv@optionexplicit.be> 340Date: Tue Mar 22 20:47:51 2011 +0100 341 342 dsextras.py: ensure eol characters are preserved when writing template 343 files (so \n does not become \r\n) 344 345 dsextras.py | 2 +- 346 1 files changed, 1 insertions(+), 1 deletions(-) 347 348commit b7449d63e0c1bdfb5acbd8c5ec073711441301b9 349Author: Dieter Verfaillie <dieterv@optionexplicit.be> 350Date: Tue Mar 22 11:35:44 2011 +0100 351 352 dsextras.py: remove \r as wel as \n character 353 354 dsextras.py | 2 +- 355 1 files changed, 1 insertions(+), 1 deletions(-) 356 357commit 075ead0533ba311120b3ca9ac9ae75ca84ace8fb 358Author: John (J5) Palmieri <johnp@redhat.com> 359Date: Wed Mar 23 10:39:19 2011 -0400 360 361 fix a typo when converting objects to strings gvalues 362 363 gobject/pygtype.c | 4 ++-- 364 tests/test_properties.py | 8 ++++++++ 365 2 files changed, 10 insertions(+), 2 deletions(-) 366 367commit a904f0dea4b7f04aac7c9ddd3b01ffbbd808375e 368Author: John (J5) Palmieri <johnp@redhat.com> 369Date: Tue Mar 22 21:56:14 2011 -0400 370 371 prep 2.28.2 release 372 373 NEWS | 6 ++++++ 374 configure.ac | 2 +- 375 2 files changed, 7 insertions(+), 1 deletions(-) 376 377commit c1ee6642d4b69a8c417cf92534ba091f89c7f68c 378Author: John (J5) Palmieri <johnp@redhat.com> 379Date: Tue Mar 22 18:46:28 2011 -0400 380 381 fix static ABI for setting string gvalues from python objects 382 383 * the static bindings used to be able to set a string gvalue to 384 any python 385 object that implemented __str__, for instance when setting a 386 treemodel column 387 * this restores that code while still keeping unicode and python 3 388 compatability 389 390 gobject/pygtype.c | 28 +++++++++++++++++++--------- 391 1 files changed, 19 insertions(+), 9 deletions(-) 392 393commit cd38572b9781502d3228e74c017cb7cc39a07b3d 394Author: Martin Pitt <martin.pitt@ubuntu.com> 395Date: Tue Mar 22 15:04:01 2011 +0100 396 397 Fix GSchema tests for separate build tree 398 399 When using a separate build tree, the compiled GSettings schema will 400 be in the 401 build tree, but as the test scripts are only in the source tree they 402 won't find 403 the compiled schema. Pass the build dir as environment variable and 404 prefer it 405 over test_overrides.py's directory. 406 407 tests/Makefile.am | 3 ++- 408 tests/test_overrides.py | 4 +++- 409 2 files changed, 5 insertions(+), 2 deletions(-) 410 411commit be81ea00d6cd92a5ae77c5bb301b6f6baeb6d89a 412Author: Martin Pitt <martin.pitt@ubuntu.com> 413Date: Tue Mar 22 14:02:46 2011 +0100 414 415 GIO tests: Fix remaining test case for separate build tree 416 417 tests/test_gio.py | 2 +- 418 1 files changed, 1 insertions(+), 1 deletions(-) 419 420commit 178df3e438835bec9b40dea243867784dee35815 421Author: Martin Pitt <martin.pitt@ubuntu.com> 422Date: Tue Mar 22 13:21:27 2011 +0100 423 424 GIO tests: Fix for separate build tree 425 426 When using a separate build tree, "test_gio.py" is not in the 427 current working 428 dir (which is the build tree), but in the srcdir. Use __file__ 429 instead. 430 431 tests/test_gio.py | 14 +++++++------- 432 1 files changed, 7 insertions(+), 7 deletions(-) 433 434commit 27dcb9b1963be0c0d18e19a0b108a4a64d5e048b 435Author: John (J5) Palmieri <johnp@redhat.com> 436Date: Mon Mar 21 12:42:36 2011 -0400 437 438 prep for 2.28.1 release 439 440 NEWS | 15 +++++++++++++++ 441 1 files changed, 15 insertions(+), 0 deletions(-) 442 443commit 072d45cbfa7b360a0e616c4c56ba75d4dc08e7df 444Author: John Stowers <john.stowers@gmail.com> 445Date: Sun Mar 6 23:41:30 2011 +1300 446 447 pygi-convert.sh remove gobject tests, GObject works now 448 449 https://bugzilla.gnome.org/show_bug.cgi?id=644347 450 451 pygi-convert.sh | 28 ---------------------------- 452 1 files changed, 0 insertions(+), 28 deletions(-) 453 454commit 205fee1622e461c0bcbe50e8befe30f01aac81eb 455Author: John Stowers <john.stowers@gmail.com> 456Date: Sun Mar 6 23:41:01 2011 +1300 457 458 pygi-convert.sh add GObject.xxx and webkit 459 460 https://bugzilla.gnome.org/show_bug.cgi?id=644347 461 462 pygi-convert.sh | 7 +++++++ 463 1 files changed, 7 insertions(+), 0 deletions(-) 464 465commit f5ee2924af489c17b64e56be5d2bd1c39d1293d1 466Author: John (J5) Palmieri <johnp@redhat.com> 467Date: Wed Mar 16 17:34:18 2011 -0400 468 469 [gi] marshal raw closures 470 471 * before we were able to marshal python callables into methods 472 that took 473 GClosures but we had no way to take a GClosure returned from one 474 method and pass it to another - this enables that usecase 475 476 https://bugzilla.gnome.org/show_bug.cgi?id=644757 477 478 gi/pygi-argument.c | 15 ++++++++++----- 479 tests/test_gi.py | 4 ++++ 480 2 files changed, 14 insertions(+), 5 deletions(-) 481 482commit ac11dc70b34fe077be18f7e605c9f3cce03ad3fa 483Author: Martin Pitt <martin.pitt@ubuntu.com> 484Date: Mon Mar 21 13:25:12 2011 +0100 485 486 Revert "Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES" 487 488 This reverts commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9. 489 490 This introduces additional libpython dependencies, which breaks 491 distributions 492 which support multiple Python versions, and also causes the python 493 interpreter 494 to be in memory twice in some cases. 495 496 https://bugzilla.gnome.org/show_bug.cgi?id=620215 497 498 gi/Makefile.am | 4 +--- 499 gio/Makefile.am | 2 +- 500 glib/Makefile.am | 2 +- 501 m4/python.m4 | 7 ++----- 502 tests/Makefile.am | 2 +- 503 5 files changed, 6 insertions(+), 11 deletions(-) 504 505commit aed7582de1c0623042601c8038a7631fa41d087d 506Author: Dieter Verfaillie <dieterv@optionexplicit.be> 507Date: Fri Mar 18 17:06:08 2011 +0100 508 509 setup.py: fix user_access_control option 510 511 setup.py | 2 +- 512 1 files changed, 1 insertions(+), 1 deletions(-) 513 514commit 6f0d33101a2451854f216291813951349d5ac471 515Author: John (J5) Palmieri <johnp@redhat.com> 516Date: Wed Mar 16 15:20:43 2011 -0400 517 518 [gi-overrides] fix marshalling pygobjects in treemodels 519 520 * PyGObjects wern't being marshalled correctly as python objects 521 when a 522 treemodel column was set to take pyobjects 523 * Fix this by explicetly marshalling all PyObjects as boxed gvalue 524 types 525 in the overrides 526 527 gi/overrides/Gtk.py | 9 +++++---- 528 tests/test_overrides.py | 34 ++++++++++++++++++++++++++-------- 529 2 files changed, 31 insertions(+), 12 deletions(-) 530 531commit adb6f0320bed9a00a96c99424d4982199dc85af2 532Author: Martin Pitt <martin.pitt@ubuntu.com> 533Date: Wed Mar 16 10:22:35 2011 +0100 534 535 [gi] Respect the MessageType for Gtk.MessageDialog 536 537 Don't just ignore the type argument, actually pass it on. Thanks 538 to Tualatrix 539 Chou for spotting this! 540 541 gi/overrides/Gtk.py | 1 + 542 1 files changed, 1 insertions(+), 0 deletions(-) 543 544commit 115c4750f071270b648218c9678931a65a4b3e3d 545Author: Martin Pitt <martin.pitt@ubuntu.com> 546Date: Tue Mar 15 10:22:39 2011 +0100 547 548 [gi] Do not require signature for D-BUS methods without arguments 549 550 Calling methods on DBusProxy objects usually requires specifying 551 the signature 552 as first argument. However, if the D-BUS method does not take any 553 arguments, 554 specifying the empty '()' signature does not give any additional 555 information, 556 so allow the caller to just call the proxy method without any 557 arguments. 558 559 Also ensure that passing a non-string signature raises a 560 comprehensible 561 exception, instead of crashing deep in the GVariant leaf constructor. 562 563 https://bugzilla.gnome.org/show_bug.cgi?id=644260 564 565 gi/overrides/Gio.py | 16 +++++++++++++++- 566 tests/test_gdbus.py | 13 +++++++++++++ 567 2 files changed, 28 insertions(+), 1 deletions(-) 568 569commit 0df9e153812e1e5077bb906449e211ecb0af8736 570Author: John (J5) Palmieri <johnp@redhat.com> 571Date: Fri Mar 11 14:09:02 2011 -0500 572 573 [gi-demos] add pickers demo 574 575 demos/gtk-demo/demos/pickers.py | 74 576 +++++++++++++++++++++++++++++++++++++++ 577 1 files changed, 74 insertions(+), 0 deletions(-) 578 579commit 419bfdd44b566ffb88f71165c00728872987dc5e 580Author: John (J5) Palmieri <johnp@redhat.com> 581Date: Thu Mar 10 18:12:50 2011 -0500 582 583 [gi-demos] add menu demo 584 585 demos/gtk-demo/demos/menus.py | 122 586 +++++++++++++++++++++++++++++++++++++++++ 587 1 files changed, 122 insertions(+), 0 deletions(-) 588 589commit 0877670e184a591866cbf3ab14284fcb217b540b 590Author: John Stowers <john.stowers@gmail.com> 591Date: Sun Mar 6 23:05:33 2011 +1300 592 593 [gi-overrides] TreeViewColumn.set_cell_data_func func_data can be None 594 595 https://bugzilla.gnome.org/show_bug.cgi?id=644343 596 597 gi/overrides/Gtk.py | 2 ++ 598 1 files changed, 2 insertions(+), 0 deletions(-) 599 600commit 1f69c520d95fec30094fac47cb0efa31c79da81c 601Author: John Stowers <john.stowers@gmail.com> 602Date: Sun Mar 6 17:48:04 2011 +1300 603 604 [gi-demos] dont try and run demos that represent directories 605 606 demos/gtk-demo/gtk-demo.py | 3 ++- 607 1 files changed, 2 insertions(+), 1 deletions(-) 608 609commit f06ad511725b28d821532acae45a25d0a186fc9f 610Author: John (J5) Palmieri <johnp@redhat.com> 611Date: Wed Mar 9 13:02:50 2011 -0500 612 613 [gi-overrides] fix exception block so it works in Python 2.5 614 615 gi/overrides/Gio.py | 5 ++++- 616 1 files changed, 4 insertions(+), 1 deletions(-) 617 618commit a784350b6e76c6c66fb2856dd597238f4ac992e9 619Author: John (J5) Palmieri <johnp@redhat.com> 620Date: Tue Mar 8 13:25:57 2011 -0500 621 622 post release version bump 623 624 configure.ac | 2 +- 625 1 files changed, 1 insertions(+), 1 deletions(-) 626 627commit aa745352bb99862c360dc56e2fececc4b2968cbc 628Author: John (J5) Palmieri <johnp@redhat.com> 629Date: Tue Mar 8 13:20:31 2011 -0500 630 631 prep 2.28.0 release 632 633 NEWS | 25 +++++++++++++++++++++++++ 634 configure.ac | 4 ++-- 635 2 files changed, 27 insertions(+), 2 deletions(-) 636 637commit d3bafc0a8bacf99e22b18c978012ab719e70954e 638Author: John (J5) Palmieri <johnp@redhat.com> 639Date: Mon Mar 7 18:09:18 2011 -0500 640 641 [gi-demos] some python 3 compat fixes 642 643 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 6 ++++++ 644 demos/gtk-demo/demos/Tree View/liststore.py | 2 +- 645 demos/gtk-demo/demos/rotatedtext.py | 4 ++-- 646 demos/gtk-demo/gtk-demo.py | 4 ++-- 647 4 files changed, 11 insertions(+), 5 deletions(-) 648 649commit eaafff23d397852b08384b4e15d68e3888e99b48 650Author: John (J5) Palmieri <johnp@redhat.com> 651Date: Mon Mar 7 18:08:40 2011 -0500 652 653 [gi-demos] catch the correct error class 654 655 demos/gtk-demo/demos/images.py | 11 ++++++----- 656 1 files changed, 6 insertions(+), 5 deletions(-) 657 658commit b113540b452638601945f63297e68b7564c3d4df 659Author: Steve Frécinaux <code@istique.net> 660Date: Mon Mar 7 01:58:36 2011 +0100 661 662 Try not to sink objects returned by C functions. 663 664 When creating a wrapper around an object to call a python function, we 665 try to avoid calling pygobject_sink() when the object was not 666 created by 667 pygobject or the static bindings because otherwise we can end 668 up leaking 669 one reference for GInitiallyUnowned subclasses if the object was 670 already 671 owned by someone else. 672 673 https://bugzilla.gnome.org/show_bug.cgi?id=644067 674 675 gobject/pygobject-private.h | 1 + 676 gobject/pygobject.c | 7 +++++++ 677 gobject/pygtype.c | 6 +++--- 678 3 files changed, 11 insertions(+), 3 deletions(-) 679 680commit 7bece91e83e3c72a7bd04d2096dcf9b31aa9d366 681Author: Steve Frécinaux <code@istique.net> 682Date: Sun Mar 6 21:18:36 2011 +0100 683 684 Do not leak python references when using the gobject.property() 685 helper. 686 687 Since this helper was storing plain references in a long-lived 688 dict, the 689 refcount for the instances would never drop to zero, and so they would 690 never get finalized. 691 692 https://bugzilla.gnome.org/show_bug.cgi?id=644039 693 694 gobject/propertyhelper.py | 5 ++--- 695 tests/test_properties.py | 23 +++++++++++++++++++++++ 696 2 files changed, 25 insertions(+), 3 deletions(-) 697 698commit 030695cb4306d915044aea4fae7c7122ccde31b4 699Author: John (J5) Palmieri <johnp@redhat.com> 700Date: Mon Mar 7 11:13:12 2011 -0500 701 702 [gi] fix try except blocks so they work in Python 2.5 703 704 * use etype, e = sys.exc_info[:2] to extract error details instead of 705 except Exception as e or except Exception, e 706 707 tests/test_gdbus.py | 27 ++++++++++++++++++++------- 708 1 files changed, 20 insertions(+), 7 deletions(-) 709 710commit 7e6d833c7f74031b010b45b635214cde5d85f7ae 711Author: John (J5) Palmieri <johnp@redhat.com> 712Date: Fri Mar 4 12:25:49 2011 -0500 713 714 handle uchar as bytes, not strings in python 3 715 716 * This worked in Python2 because bytes and strings are equivilant 717 and the macro 718 PYGLIB_PyString_FromStringAndSize evaluated to a PyString 719 * In Python 3 PYGLIB_PyString_FromStringAndSize evaluates to 720 a PyUnicode 721 * PYGLIB_PyBytes_FromStringAndSize evaluates to a PyString in Python 2 722 and a PyBytes object in Python 3 723 724 gobject/pygtype.c | 2 +- 725 1 files changed, 1 insertions(+), 1 deletions(-) 726 727commit aae4ce5d9e9b7747bf5847071a72a6cdd1371a3e 728Author: John (J5) Palmieri <johnp@redhat.com> 729Date: Fri Mar 4 12:24:35 2011 -0500 730 731 [gi-overrides] handle unichar gvalues when setting treemodels 732 733 gi/overrides/Gtk.py | 10 ++++++++++ 734 1 files changed, 10 insertions(+), 0 deletions(-) 735 736commit 0d65223992abec46eee7b2b3c76f68da67de4905 737Author: John (J5) Palmieri <johnp@redhat.com> 738Date: Fri Mar 4 11:43:51 2011 -0500 739 740 [gi-overrides] special case python 2 keywords that crept in 741 742 gi/overrides/Gtk.py | 6 +++++- 743 tests/test_overrides.py | 8 ++++---- 744 2 files changed, 9 insertions(+), 5 deletions(-) 745 746commit 094b355a785fbe7ebc776cbbd059e6a3d9241ce2 747Author: John (J5) Palmieri <johnp@redhat.com> 748Date: Fri Mar 4 11:10:16 2011 -0500 749 750 check for the py3 _thread module in configure.ac if thread is 751 not found 752 753 configure.ac | 6 +++++- 754 1 files changed, 5 insertions(+), 1 deletions(-) 755 756commit b0d537c58e6997b546a9a367860abb3b93ce3440 757Author: John (J5) Palmieri <johnp@redhat.com> 758Date: Fri Mar 4 00:39:23 2011 -0500 759 760 [gi-demos] add iconview demo 761 762 demos/gtk-demo/demos/Icon View/iconviewbasics.py | 212 763 ++++++++++++++++++++++ 764 1 files changed, 212 insertions(+), 0 deletions(-) 765 766commit e5aa7268c2a0fc285d60b30e135fd79d039b9ae5 767Author: John (J5) Palmieri <johnp@redhat.com> 768Date: Thu Mar 3 18:39:16 2011 -0500 769 770 [gi] wrap the keyword argument in a dict so we don't break Python 2.5 771 772 * python < 2.6 does not allow sending in keyword litterals after 773 sending in 774 *args. You can only send in **kwds. 775 776 gi/types.py | 2 +- 777 1 files changed, 1 insertions(+), 1 deletions(-) 778 779commit 79d03b40b2395874556860e7e39e0c607b6a676a 780Author: John (J5) Palmieri <johnp@redhat.com> 781Date: Thu Mar 3 18:30:40 2011 -0500 782 783 [gi-demos] add the combobox with string ids section to the demos 784 785 demos/gtk-demo/demos/combobox.py | 49 786 +++++++++++++++++++++++++++++++++++++- 787 1 files changed, 48 insertions(+), 1 deletions(-) 788 789commit 1b4ac8bef90ed1d3d51d45dafa61bfd70c6f9eb7 790Author: John (J5) Palmieri <johnp@redhat.com> 791Date: Thu Mar 3 16:47:51 2011 -0500 792 793 [gi-overrides] add an override for Gdk.RGBA 794 795 gi/overrides/Gdk.py | 18 ++++++++++++++++++ 796 tests/test_overrides.py | 10 ++++++++++ 797 2 files changed, 28 insertions(+), 0 deletions(-) 798 799commit c1c491c8cb4684a10404fee59b2706bec6b8606b 800Author: John (J5) Palmieri <johnp@redhat.com> 801Date: Thu Mar 3 16:10:17 2011 -0500 802 803 [gi-demos] fix up search-entry to reflect annotations fixed in Gtk+ 804 master 805 806 demos/gtk-demo/demos/Entry/search_entry.py | 23 +++++++++-------------- 807 1 files changed, 9 insertions(+), 14 deletions(-) 808 809commit 9687fbcf75582986e95188c5b2a24d0fe6b855db 810Author: John (J5) Palmieri <johnp@redhat.com> 811Date: Wed Mar 2 18:13:43 2011 -0500 812 813 [gi-demos] add search entry demo 814 815 demos/gtk-demo/demos/Entry/search_entry.py | 257 816 ++++++++++++++++++++++++++++ 817 1 files changed, 257 insertions(+), 0 deletions(-) 818 819commit 28fbd6a11bda726fecfd7322f4acf41d06c54ec3 820Author: John (J5) Palmieri <johnp@redhat.com> 821Date: Wed Mar 2 15:37:27 2011 -0500 822 823 [gi] wrap map in a list for Python 3 compat 824 825 gi/types.py | 2 +- 826 1 files changed, 1 insertions(+), 1 deletions(-) 827 828commit d71224aa5b329cbb7116d35b8f98027fc27e630d 829Author: John (J5) Palmieri <johnp@redhat.com> 830Date: Tue Mar 1 14:52:00 2011 -0500 831 832 [gi-demos] fix up the validation combobox 833 834 demos/gtk-demo/demos/combobox.py | 21 +++++++++++++++------ 835 1 files changed, 15 insertions(+), 6 deletions(-) 836 837commit d7d2f9c185773b35a6b89379be9bd96d04be79fb 838Author: John (J5) Palmieri <johnp@redhat.com> 839Date: Tue Mar 1 12:31:35 2011 -0500 840 841 add overridesdir variable in the .pc file for 3rd party overrides 842 843 pygobject-2.0.pc.in | 1 + 844 1 files changed, 1 insertions(+), 0 deletions(-) 845 846commit c2cfdfa6c08b9da6bff9fc9d479e441a83cbf60a 847Author: John (J5) Palmieri <johnp@redhat.com> 848Date: Tue Mar 1 12:19:28 2011 -0500 849 850 [gi] remove unref for closures since they are floating objects that 851 get sunk 852 853 * right now we trust that the containers we send the closures into 854 will sink 855 them 856 * we should research this a bit more to see if there is a better 857 way to handle 858 floating closures once we are free to break static binding ABI 859 * for now this is the least invasive of all the options 860 * don't assert on transfer != GI_TRANSFER_NONE since the behavior for 861 closures is always the same (and should actually be 862 GI_TRANSFER_FULL) 863 864 gi/pygi-argument.c | 6 ------ 865 tests/test_overrides.py | 8 ++++++++ 866 2 files changed, 8 insertions(+), 6 deletions(-) 867 868commit e016486cbb24f696ebfc0cf1f457ec4e37a123cb 869Author: Dieter Verfaillie <dieterv@optionexplicit.be> 870Date: Fri Feb 11 17:14:11 2011 +0100 871 872 setup.py: Set bdist_wininst user-access-control property 873 874 setup.py | 3 ++- 875 1 files changed, 2 insertions(+), 1 deletions(-) 876 877commit 2923f26c7850d12ece67b3ef96054721d38f888f 878Author: Martin Pitt <martin.pitt@ubuntu.com> 879Date: Wed Mar 2 16:29:00 2011 +0100 880 881 Fix uninitialized variable in gi.require_version() 882 883 gi/__init__.py | 3 ++- 884 1 files changed, 2 insertions(+), 1 deletions(-) 885 886commit aaaa00bb4027432503efee88622d9289319b1983 887Author: Martin Pitt <martin.pitt@ubuntu.com> 888Date: Tue Mar 1 23:26:07 2011 +0100 889 890 Run tests with LC_MESSAGES="C" 891 892 Some tests, such as tests/test_gdbus.py check parts of error messages 893 or other 894 visible strings. Ensure that these do not get translated in the 895 test suite. 896 897 tests/runtests.py | 2 ++ 898 1 files changed, 2 insertions(+), 0 deletions(-) 899 900commit 3aa089668f9ff3de86d2ca28e72c206c16c3403a 901Author: John (J5) Palmieri <johnp@redhat.com> 902Date: Mon Feb 28 18:21:43 2011 -0500 903 904 [gi-overrides] override Gtk.stock_lookup to not return success 905 906 demos/gtk-demo/demos/combobox.py | 2 +- 907 gi/overrides/Gtk.py | 9 +++++++++ 908 2 files changed, 10 insertions(+), 1 deletions(-) 909 910commit 9614680269a267f8cf32a2d5534c50fb76ec48ec 911Author: John (J5) Palmieri <johnp@redhat.com> 912Date: Mon Feb 28 14:23:04 2011 -0500 913 914 post release bump 915 916 configure.ac | 2 +- 917 1 files changed, 1 insertions(+), 1 deletions(-) 918 919commit 093334ee29b5846ff57b4e9f74380efc9ed591e7 920Author: John (J5) Palmieri <johnp@redhat.com> 921Date: Mon Feb 28 14:16:00 2011 -0500 922 923 prep for 2.27.91 release 924 925 NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 926 1 files changed, 50 insertions(+), 0 deletions(-) 927 928commit 4b49a4f6123f0bbd5a36eba65b00142e3df7e595 929Author: John (J5) Palmieri <johnp@redhat.com> 930Date: Mon Feb 28 14:08:05 2011 -0500 931 932 [gi-tests] use Gdk.test_simulate_button instead of emitting event 933 ourselves 934 935 * this function is available specifically so we can test events so 936 use this 937 instead of creating our own button press event 938 939 tests/test_overrides.py | 9 +++++---- 940 1 files changed, 5 insertions(+), 4 deletions(-) 941 942commit baa9865e6ff8b4eee4b16235b8dcc5dc48d2634d 943Author: Laszlo Pandy <lpandy@src.gnome.org> 944Date: Thu Feb 24 19:30:32 2011 +0100 945 946 [gi-tests] tests for EventButton override. 947 948 * John (J5) Palmieri - fixed up original patch so that we actually 949 emit the event instead of just creating a Gdk.ButtonEvent object 950 951 https://bugzilla.gnome.org/show_bug.cgi?id=642554 952 953 tests/test_overrides.py | 21 +++++++++++++++++++++ 954 1 files changed, 21 insertions(+), 0 deletions(-) 955 956commit 6366307ba020a40f6dfa22e64fd6345b118fd2e5 957Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 958Date: Wed Feb 16 09:44:12 2011 +0100 959 960 Skip interfaces when checking for conflicts in the MRO 961 962 https://bugzilla.gnome.org/show_bug.cgi?id=642437 963 964 gi/types.py | 40 ++++++++++++++++++++++++++++++++++++++++ 965 gobject/gobjectmodule.c | 9 +++++++-- 966 tests/test_gi.py | 16 ++++++++++++++++ 967 3 files changed, 63 insertions(+), 2 deletions(-) 968 969commit 14c787541966be8f497905d33d554343dabf8b73 970Author: John (J5) Palmieri <johnp@redhat.com> 971Date: Wed Feb 23 18:43:27 2011 -0500 972 973 [gi-overrides] Add event methods to all event union members 974 975 https://bugzilla.gnome.org/show_bug.cgi?id=642554 976 977 gi/overrides/Gdk.py | 70 978 +++++++++++++++++++++++++++++++++++++++++++++++++++ 979 1 files changed, 70 insertions(+), 0 deletions(-) 980 981commit 7f013383063c1d1e5a95cf4c056ff152d4aa2645 982Author: John (J5) Palmieri <johnp@redhat.com> 983Date: Wed Feb 23 14:14:16 2011 -0500 984 985 [gi] check to see if object is a member of a union when validating 986 paramaters 987 988 * union members are not subclasses of the union they belong to so 989 if an 990 inteface requires you pass a union but you pass one of its members 991 there will be a type error 992 * this patch checks to see if the type you are passing is a member 993 of the 994 union and passes the checks if it is 995 * this works in python 3 but in python 2 methods do their own 996 isinstance 997 check on the instance parameter (e.g. self) so we need to figure 998 out how to override that for union methods 999 (e.g. Gdk.Event.get_state) 1000 1001 https://bugzilla.gnome.org/show_bug.cgi?id=642554 1002 1003 gi/pygi-argument.c | 38 ++++++++++++++++++++++++++++++++++++++ 1004 1 files changed, 38 insertions(+), 0 deletions(-) 1005 1006commit 284e775b6caa86ef6465d17c87ec77376e66931c 1007Author: Laszlo Pandy <lpandy@src.gnome.org> 1008Date: Thu Feb 24 18:46:15 2011 +0100 1009 1010 [gi] Remove DyanmicModule.load() to _load() to prevent overriding 1011 GI attrs. 1012 1013 gi/importer.py | 2 +- 1014 gi/module.py | 2 +- 1015 2 files changed, 2 insertions(+), 2 deletions(-) 1016 1017commit 6d6d4fcf4678b512558c2c0e44c0c2e235c810f4 1018Author: Laszlo Pandy <lpandy@src.gnome.org> 1019Date: Wed Feb 23 12:05:03 2011 +0100 1020 1021 Test case with John's fix for crash with C arrays and a GError is set. 1022 1023 I have added a test case, and made a few fixes to John's patch, 1024 but the 1025 solution is the same his. 1026 1027 Workaround a bug when freeing C array types 1028 1029 * This is a hack and there is really no way around it without 1030 ripping out 1031 the current array handling code which spans between pygi-invoke.c 1032 and 1033 pygi-argument.c and completely rewriting it. 1034 * The is no time before our stable release 1035 * This patch trades a segfault for a leak in the very unusual 1036 case where 1037 an error occures inside an interface that takes one or more C 1038 arrays. Since 1039 we wrap C arrays in GArrays internally but have to unwrap them 1040 to send them 1041 to the introspected C function, there is a period of time where 1042 an error 1043 can occure with the C array in an unknown state (some being true 1044 C arrays 1045 and others still wrapped in a GArray) 1046 * This patch adds a c_arrays_are_wrapped state to signal that it 1047 is safe to 1048 free them. However since c_arrays_are_wrapped can only track 1049 arrays 1050 as a group, not individually, if it is set to FALSE we can 1051 not assume 1052 that every array is a pure C array, so instead we will simply 1053 leak them 1054 to avoid incorrectly freeing one and causing a segfault. 1055 * This issue is fixed in the invoke rewrite branch as it treats 1056 C arrays and 1057 GArrays separately, however that branch is not yet ready to be 1058 merged and 1059 won't be until the next release. 1060 1061 https://bugzilla.gnome.org/show_bug.cgi?id=642708 1062 1063 gi/pygi-invoke.c | 54 1064 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1065 tests/test_gi.py | 9 +++++++++ 1066 2 files changed, 59 insertions(+), 4 deletions(-) 1067 1068commit 3534c1d4babefd4ee63e46119b279126058b7a71 1069Author: John (J5) Palmieri <johnp@redhat.com> 1070Date: Wed Feb 23 15:11:59 2011 -0500 1071 1072 [gi-overrides] fix setting rows in treeview to accept None as a value 1073 1074 * as done in PyGTK None indicates the column should not be set 1075 1076 gi/overrides/Gtk.py | 3 +++ 1077 tests/test_overrides.py | 18 +++++++++++++----- 1078 2 files changed, 16 insertions(+), 5 deletions(-) 1079 1080commit ecbfaf60914a87f29ff0529614db9b6afca94c82 1081Author: Laszlo Pandy <lpandy@src.gnome.org> 1082Date: Wed Feb 23 14:23:19 2011 +0100 1083 1084 [gi] Add value_name for enum and flags from introspection 1085 "c:identifier" (if attr is available). 1086 1087 gi/gimodule.c | 22 ++++++++++++++++++---- 1088 tests/test_gi.py | 36 ++++++++++++++++++++++++++++++++++++ 1089 2 files changed, 54 insertions(+), 4 deletions(-) 1090 1091commit e5ae620ad772f62cb14ab7c049ba0ce00cc501f2 1092Author: Laszlo Pandy <lpandy@src.gnome.org> 1093Date: Tue Feb 22 21:37:33 2011 +0100 1094 1095 Don't force loading of DynamicModule until set in sys.modules 1096 1097 This fixes Tomeu's previous commit, which removed lazy loading. 1098 Forcing the loading of a module before it is installed in sys.modules 1099 prevents some overrides from being registered (namely Gtk.main_quit). 1100 1101 https://bugzilla.gnome.org/show_bug.cgi?id=642305 1102 1103 gi/importer.py | 2 +- 1104 1 files changed, 1 insertions(+), 1 deletions(-) 1105 1106commit 992c0c1096c77bc299a40a34ec30a2ac0c562ed4 1107Author: Laszlo Pandy <lpandy@src.gnome.org> 1108Date: Wed Feb 23 11:40:55 2011 +0100 1109 1110 Fix flags with multiple names for the same value. 1111 1112 Flags constructs a dict __flags_values__ and uses it to cache 1113 instances. However some flags in Glib such as G_IO_FLAG_MASK and 1114 G_IO_FLAG_GET_MASK are aliases for the same int value, and will 1115 override each other's place in the dictionary. 1116 1117 The dict length check is not necessary. It only reduces the number 1118 of duplicate instances we keep, because if an instance is not 1119 found in the dict, a new one is created anyway. 1120 1121 gobject/pygflags.c | 2 +- 1122 1 files changed, 1 insertions(+), 1 deletions(-) 1123 1124commit 8bf3f6ed075994eb3e29950670395bcf1b9dc2a0 1125Author: John (J5) Palmieri <johnp@redhat.com> 1126Date: Tue Feb 22 15:07:40 2011 -0500 1127 1128 [gi-demos] add liststore demo 1129 1130 demos/gtk-demo/demos/Tree View/liststore.py | 205 1131 +++++++++++++++++++++++++++ 1132 1 files changed, 205 insertions(+), 0 deletions(-) 1133 1134commit 788fc96771046fc64cede392e748b2d1b6b3aa1c 1135Author: John (J5) Palmieri <johnp@redhat.com> 1136Date: Tue Feb 22 14:35:44 2011 -0500 1137 1138 [gi-demos] run through the demos and remove the FIXMEs that have 1139 been fixed 1140 1141 demos/gtk-demo/demos/appwindow.py | 18 ++++++------------ 1142 demos/gtk-demo/demos/assistant.py | 3 --- 1143 demos/gtk-demo/demos/builder.py | 3 --- 1144 demos/gtk-demo/demos/button_box.py | 10 +++------- 1145 demos/gtk-demo/demos/clipboard.py | 8 ++------ 1146 demos/gtk-demo/demos/colorselector.py | 2 -- 1147 demos/gtk-demo/demos/combobox.py | 4 +--- 1148 demos/gtk-demo/demos/drawingarea.py | 3 --- 1149 8 files changed, 12 insertions(+), 39 deletions(-) 1150 1151commit adf7aec853878681b450c3ef1f89bfe9ba85fec1 1152Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 1153Date: Wed Feb 16 11:53:18 2011 +0100 1154 1155 Load typelibs at import time, add gi.require_version() 1156 1157 also adds Repository.get_loaded_namespaces() 1158 1159 https://bugzilla.gnome.org/show_bug.cgi?id=642305 1160 1161 gi/__init__.py | 29 ++++++++++++++++++++++++++++- 1162 gi/importer.py | 1 + 1163 gi/module.py | 21 ++++----------------- 1164 gi/pygi-repository.c | 23 +++++++++++++++++++++++ 1165 4 files changed, 56 insertions(+), 18 deletions(-) 1166 1167commit 6fe7783b96366f380f9168909932a87e35d994b3 1168Author: John (J5) Palmieri <johnp@redhat.com> 1169Date: Mon Feb 21 17:20:57 2011 -0500 1170 1171 use GValue support to marshal GtkTreeModel values correctly 1172 1173 * needs patch from https://bugzilla.gnome.org/show_bug.cgi?id=642914 1174 1175 https://bugzilla.gnome.org/show_bug.cgi?id=642921 1176 1177 gi/overrides/Gtk.py | 37 ++++++++++++++++++-- 1178 tests/test_overrides.py | 87 1179 ++++++++++++++++++++++++++++++++++++++++------- 1180 2 files changed, 107 insertions(+), 17 deletions(-) 1181 1182commit bc4a570bcc0a02029d746fbbcfdf4cc14c37f2ad 1183Author: John (J5) Palmieri <johnp@redhat.com> 1184Date: Mon Feb 21 16:14:20 2011 -0500 1185 1186 [gi] pass raw GValues instead of trying to marshal them 1187 1188 * Right now GValues are transparent to the user but this leave us no 1189 way to describe fundimental types other than those supported 1190 directly 1191 by python (e.g. int, str, etc) 1192 * If an interface is expecting a uint or other GValue type a user 1193 can now use 1194 the raw GValue interfaces and expect paramaters that take 1195 GValues to 1196 marshal them correctly e.g.: 1197 value = GObject.Value() 1198 value.int(GObject.TYPE_UINT) 1199 value.set_uint(1234) 1200 * The objective here is to not for users to use this API but for 1201 overrides 1202 to be able to utilize them. For instance in the TreeModel API 1203 we can 1204 get the expected type for a column and them create a GValue with 1205 the correct 1206 type so that he underlying python object is marshalled correctly. 1207 1208 https://bugzilla.gnome.org/show_bug.cgi?id=642914 1209 1210 gi/pygi-argument.c | 24 ++++++++++++++++++------ 1211 tests/test_gi.py | 9 ++++++++- 1212 2 files changed, 26 insertions(+), 7 deletions(-) 1213 1214commit 428fc90eb12f26ceb7c868879ad05788890d32a3 1215Author: John (J5) Palmieri <johnp@redhat.com> 1216Date: Sat Feb 19 19:42:41 2011 -0500 1217 1218 [gi-demos] add icon view edit and drag-and-drop demo 1219 1220 demos/gtk-demo/demos/Icon View/iconviewedit.py | 101 1221 ++++++++++++++++++++++++ 1222 1 files changed, 101 insertions(+), 0 deletions(-) 1223 1224commit eb0e179bff167303db1c20412f4bc9c8baa94582 1225Author: Laszlo Pandy <lpandy@src.gnome.org> 1226Date: Sat Feb 19 23:11:25 2011 +0100 1227 1228 [gi] Register GType for non-GType enums and flags at runtime. 1229 1230 Note: rebuild of gobject-introspection is required for new tests. 1231 1232 Previously non-GType enums used a separate type implemented in 1233 Python, and non-GType flags had no implementation at all. This 1234 removes the separate type for enums, and registers a new GType at 1235 runtime if there isn't one. 1236 1237 This allows non-GType enums and flags to use the same Python type 1238 as GType enums and flags. This removes duplication of code, and 1239 make both kinds behave identically. 1240 1241 https://bugzilla.gnome.org/show_bug.cgi?id=642607 1242 1243 gi/gimodule.c | 117 1244 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1245 gi/module.py | 24 +++++++---- 1246 gi/pygi-info.c | 15 +++++++ 1247 gi/types.py | 16 ------- 1248 gobject/pygflags.c | 13 ++++-- 1249 tests/test_gi.py | 35 +++++++++++++++ 1250 6 files changed, 191 insertions(+), 29 deletions(-) 1251 1252commit d5e67257361609036d2bbfa47ea85a6c759b332a 1253Author: John (J5) Palmieri <johnp@redhat.com> 1254Date: Sat Feb 19 17:26:42 2011 -0500 1255 1256 [gi-demos] add info bars demo 1257 1258 demos/gtk-demo/demos/infobars.py | 99 1259 ++++++++++++++++++++++++++++++++++++++ 1260 1 files changed, 99 insertions(+), 0 deletions(-) 1261 1262commit 372f480b078d1befb30532a0ebe0ad9c90e78df0 1263Author: Martin Pitt <martin.pitt@ubuntu.com> 1264Date: Sat Feb 19 15:44:52 2011 +0100 1265 1266 tests/runtests.py: Add missing "import sys" 1267 1268 master already has this. 1269 1270 tests/runtests.py | 1 + 1271 1 files changed, 1 insertions(+), 0 deletions(-) 1272 1273commit c1b35fc49680ad25e996de57e3e020bd43d9186c 1274Author: Martin Pitt <martin.pitt@ubuntu.com> 1275Date: Tue Feb 8 15:38:21 2011 +0100 1276 1277 [gi] Add Pythonic gdbus method invocation 1278 1279 Provide a wrapper for Gio.DBusProxy for calling D-Bus methods like 1280 on a normal 1281 Python object. This will handle the Python object <-> GVariant 1282 conversion, and 1283 optional keyword arguments for flags, timeout, and a result handler 1284 for 1285 asynchronous calls. 1286 1287 Require specifying the input argument signature as the first argument 1288 of each 1289 method call. This ensures that the types of e. g. integers are 1290 always correct, 1291 and avoids having to do expensive D-Bus introspection for each call. 1292 1293 https://bugzilla.gnome.org/show_bug.cgi?id=640181 1294 1295 gi/overrides/Gio.py | 99 1296 +++++++++++++++++++++++++++++++++++++++++++++++++ 1297 tests/test_gdbus.py | 102 1298 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1299 2 files changed, 199 insertions(+), 2 deletions(-) 1300 1301commit 2737e1c2c506cd324a0aa2abfdfeb3ad4f08e678 1302Author: Laszlo Pandy <lpandy@src.gnome.org> 1303Date: Fri Feb 18 22:48:59 2011 +0100 1304 1305 Skip GError out parameters in Python closure. 1306 1307 Python code should have never have to explicitely return a GError. 1308 Once we are able to marshal exceptions the Python code should 1309 throw an exception instead. Until then, set GError to NULL, and 1310 don't complain if a Python function doesn't return an arg for it. 1311 1312 https://bugzilla.gnome.org/show_bug.cgi?id=642715 1313 1314 gi/pygi-closure.c | 8 ++++++++ 1315 1 files changed, 8 insertions(+), 0 deletions(-) 1316 1317commit 93677502c12a3ee123dd565bf1b404ef47ec1c47 1318Author: John (J5) Palmieri <johnp@redhat.com> 1319Date: Thu Feb 17 19:46:49 2011 -0500 1320 1321 [gi-demos] added rotate text demo 1322 1323 * needs some Pango Attr fixes to be 100% done, See FIXME 1324 1325 demos/gtk-demo/demos/rotatedtext.py | 196 1326 +++++++++++++++++++++++++++++++++++ 1327 1 files changed, 196 insertions(+), 0 deletions(-) 1328 1329commit 8495ab57f49fb507a8004a9cf967d6fe91bb4ef0 1330Author: John (J5) Palmieri <johnp@redhat.com> 1331Date: Thu Feb 17 17:25:00 2011 -0500 1332 1333 [gi-demos] add images demo 1334 1335 * needs annotation fix from GdkPixbuf for ImageLoader to work 1336 1337 demos/gtk-demo/demos/images.py | 311 1338 ++++++++++++++++++++++++++++++++++++++++ 1339 1 files changed, 311 insertions(+), 0 deletions(-) 1340 1341commit 60b9dd8d021e550089f44dc489ffeb77af6976ee 1342Author: John (J5) Palmieri <johnp@redhat.com> 1343Date: Thu Feb 17 14:48:24 2011 -0500 1344 1345 [gi-demos] add pixbuf demo 1346 1347 demos/gtk-demo/demos/pixbuf.py | 183 1348 ++++++++++++++++++++++++++++++++++++++++ 1349 1 files changed, 183 insertions(+), 0 deletions(-) 1350 1351commit f57153dd6786858ff2ab79c28227cd021755d693 1352Author: John (J5) Palmieri <johnp@redhat.com> 1353Date: Thu Feb 17 14:47:12 2011 -0500 1354 1355 [gi-demos] remove fixmes from print demo, fixed in pango 1356 1357 demos/gtk-demo/demos/printing.py | 10 +++------- 1358 1 files changed, 3 insertions(+), 7 deletions(-) 1359 1360commit b8345be15c7f65e97f6bc148ad6c35ff80ff3870 1361Author: John (J5) Palmieri <johnp@redhat.com> 1362Date: Wed Feb 16 19:39:30 2011 -0500 1363 1364 [gi-demos] add printing demo 1365 1366 * needs some annotations for pango before it is 100% useful 1367 1368 demos/gtk-demo/demos/printing.py | 177 1369 ++++++++++++++++++++++++++++++++++++++ 1370 1 files changed, 177 insertions(+), 0 deletions(-) 1371 1372commit 123877715145038a5877b8c538a48a1285f1ed54 1373Author: John (J5) Palmieri <johnp@redhat.com> 1374Date: Wed Feb 16 17:52:38 2011 -0500 1375 1376 [gi-overrides] add cursor overrides 1377 1378 https://bugzilla.gnome.org/show_bug.cgi?id=635947 1379 1380 gi/overrides/Gdk.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1381 tests/test_overrides.py | 23 +++++++++++++++++++++++ 1382 2 files changed, 64 insertions(+), 0 deletions(-) 1383 1384commit 68d72e015997da8d5732527c7ab96dd8c61fa664 1385Author: John (J5) Palmieri <johnp@redhat.com> 1386Date: Wed Feb 16 16:18:24 2011 -0500 1387 1388 [gi-demos] add the links demo 1389 1390 demos/gtk-demo/demos/links.py | 74 1391 +++++++++++++++++++++++++++++++++++++++++ 1392 1 files changed, 74 insertions(+), 0 deletions(-) 1393 1394commit 00505a9a5445b85a091650a777a47f632ddc9d6d 1395Author: John (J5) Palmieri <johnp@redhat.com> 1396Date: Wed Feb 16 15:48:40 2011 -0500 1397 1398 [gi-demos] add expander demo 1399 1400 demos/gtk-demo/demos/expander.py | 60 1401 ++++++++++++++++++++++++++++++++++++++ 1402 1 files changed, 60 insertions(+), 0 deletions(-) 1403 1404commit ed8710c7aa05cc0c919366536c94bf43955f1b71 1405Author: John (J5) Palmieri <johnp@redhat.com> 1406Date: Wed Feb 16 15:14:35 2011 -0500 1407 1408 [gi-overrides] use pop instead of del and add extra tests for 1409 Gtk.Table kwargs 1410 1411 gi/overrides/Gtk.py | 6 ++---- 1412 tests/test_overrides.py | 8 ++++++++ 1413 2 files changed, 10 insertions(+), 4 deletions(-) 1414 1415commit 888675f85c895a60d4432b992961ec3067da6e20 1416Author: Laszlo Pandy <lpandy@src.gnome.org> 1417Date: Tue Feb 15 20:07:42 2011 +0100 1418 1419 [tests] Separate processes for GI and static binding tests. 1420 1421 Importing and using both static gobject bindings and 1422 introspection GObject bindings in the same process can cause 1423 conflicts with types which otherwise wouldn't be there. 1424 1425 This patch changes "make check" to call runtests.py twice -- once 1426 for each set of tests. 1427 1428 In the case of a test failure, runtests.py now sets the exit code 1429 so that make does not continue. Otherwise you might miss the 1430 failures from the first batch of tests in the scrollback. 1431 1432 tests/Makefile.am | 29 ++++++++++++----------------- 1433 tests/runtests.py | 4 +++- 1434 2 files changed, 15 insertions(+), 18 deletions(-) 1435 1436commit 71b0dd93d524afce9f4a4b0b393c8a16a1f70e2f 1437Author: Laszlo Pandy <lpandy@src.gnome.org> 1438Date: Tue Feb 15 16:26:24 2011 +0100 1439 1440 [GI] Remove implicit loading of gi module preserve the code path 1441 for static bindings. 1442 1443 Previously type lookups (as well as property accesses and signal 1444 connects would trigger an import of the gi module). Now we make 1445 those paths fail, and fallback to the old static binding code 1446 paths *unless* the gi module is already in sys.modules. 1447 1448 So if Python code calls: 1449 from gi.repository import Gtk 1450 1451 or even just: 1452 import gi 1453 1454 then everything will work just like it did without this patch. If gi 1455 is not explicitly imported, the code skips the introspection code 1456 and acts like the old static bindings did. 1457 1458 https://bugzilla.gnome.org/show_bug.cgi?id=642387 1459 1460 gi/pygi.h | 10 ++++++++-- 1461 1 files changed, 8 insertions(+), 2 deletions(-) 1462 1463commit 97e78181813f15f693e650df5a8901bd2fe71541 1464Author: John (J5) Palmieri <johnp@redhat.com> 1465Date: Tue Feb 15 14:47:10 2011 -0500 1466 1467 [gi-demos] add dialogs demo 1468 1469 demos/gtk-demo/demos/dialogs.py | 153 1470 +++++++++++++++++++++++++++++++++++++++ 1471 1 files changed, 153 insertions(+), 0 deletions(-) 1472 1473commit a23a48edafb9d08fec5411b828d1e0c6763e84af 1474Author: John (J5) Palmieri <johnp@redhat.com> 1475Date: Tue Feb 15 14:46:41 2011 -0500 1476 1477 [gi-overrides] fix typo in GtkTable constructor 1478 1479 gi/overrides/Gtk.py | 8 ++++---- 1480 1 files changed, 4 insertions(+), 4 deletions(-) 1481 1482commit bcccff3b2ad9c8054a4d5462c62cde566587eba6 1483Author: John (J5) Palmieri <johnp@redhat.com> 1484Date: Tue Feb 15 13:26:38 2011 -0500 1485 1486 [gi-demos] keep popup menu from destroying itself by holding a ref 1487 in app class 1488 1489 demos/gtk-demo/demos/clipboard.py | 8 ++++---- 1490 1 files changed, 4 insertions(+), 4 deletions(-) 1491 1492commit 9dc0979ba7d35b6ff9bb219a21926c2fd88451c7 1493Author: John (J5) Palmieri <johnp@redhat.com> 1494Date: Tue Feb 15 13:25:13 2011 -0500 1495 1496 [gi-overrides] add a Gtk.Menu override for the popup method 1497 1498 gi/overrides/Gtk.py | 7 +++++++ 1499 1 files changed, 7 insertions(+), 0 deletions(-) 1500 1501commit 317278a3ddf15f1f9da53051295a0b533b1b1a11 1502Author: John (J5) Palmieri <johnp@redhat.com> 1503Date: Tue Feb 15 13:24:33 2011 -0500 1504 1505 [gi-demos] fix the about dialog in appwindow demo 1506 1507 demos/gtk-demo/demos/appwindow.py | 22 +++++++++------------- 1508 1 files changed, 9 insertions(+), 13 deletions(-) 1509 1510commit cb2d2aad023789991b20036e22cae5ad3eee9b36 1511Author: John (J5) Palmieri <johnp@redhat.com> 1512Date: Tue Feb 15 11:21:13 2011 -0500 1513 1514 [gi-demos] fix clipboard demo so DnD works 1515 1516 * menu popups don't work because the API takes a callback without 1517 a destroy 1518 notify 1519 1520 demos/gtk-demo/demos/clipboard.py | 20 ++++++++++---------- 1521 1 files changed, 10 insertions(+), 10 deletions(-) 1522 1523commit 5434b7aac323170ea9469afbda520b801462c246 1524Author: John (J5) Palmieri <johnp@redhat.com> 1525Date: Tue Feb 15 10:18:53 2011 -0500 1526 1527 [gi-demos] fix clipboard demo to reflect new API 1528 1529 demos/gtk-demo/demos/clipboard.py | 6 +++--- 1530 1 files changed, 3 insertions(+), 3 deletions(-) 1531 1532commit b6c97de9680f3d5d629132415c1f7a9c42e558f8 1533Author: John (J5) Palmieri <johnp@redhat.com> 1534Date: Mon Feb 14 18:17:20 2011 -0500 1535 1536 [gi-demo] Fix color dialog demo to run with new draw, style and 1537 color apis 1538 1539 demos/gtk-demo/demos/colorselector.py | 44 1540 ++++++++++++-------------------- 1541 1 files changed, 17 insertions(+), 27 deletions(-) 1542 1543commit 7147bd635fb03439a5f9edbce56c5558d092428c 1544Author: John (J5) Palmieri <johnp@redhat.com> 1545Date: Mon Feb 14 17:58:25 2011 -0500 1546 1547 [gi-demos] fix most of the combobox app 1548 1549 * Still having some issues with filtering the ComboBoxText widget 1550 1551 demos/gtk-demo/demos/combobox.py | 17 ++++++++--------- 1552 1 files changed, 8 insertions(+), 9 deletions(-) 1553 1554commit a64b8fe89492ae47172979f1900686455cd1f9a8 1555Author: Laszlo Pandy <lpandy@src.gnome.org> 1556Date: Mon Feb 14 19:36:27 2011 +0100 1557 1558 Use PyGI type conversion (to fix foreign types) for signal callbacks. 1559 1560 First attempt at patch to fix foreign types in signal callbacks. 1561 Tests are not implemented yet. 1562 1563 https://bugzilla.gnome.org/show_bug.cgi?id=637601 1564 1565 gi/Makefile.am | 2 + 1566 gi/gimodule.c | 1 + 1567 gi/pygi-argument.c | 91 +++++++++++++++++ 1568 gi/pygi-argument.h | 2 + 1569 gi/pygi-private.h | 1 + 1570 gi/pygi-signal-closure.c | 245 1571 ++++++++++++++++++++++++++++++++++++++++++++++ 1572 gi/pygi-signal-closure.h | 46 +++++++++ 1573 gi/pygi.h | 28 +++++ 1574 gobject/pygobject.c | 24 ++++- 1575 9 files changed, 436 insertions(+), 4 deletions(-) 1576 1577commit 36ddad6af4a579c070171fd0522d7ffd93d5d73e 1578Author: John (J5) Palmieri <johnp@redhat.com> 1579Date: Mon Feb 14 16:47:03 2011 -0500 1580 1581 [gi-demos] fix drawingarea app to use the new draw api 1582 1583 demos/gtk-demo/demos/drawingarea.py | 144 1584 ++++++++++++----------------------- 1585 1 files changed, 50 insertions(+), 94 deletions(-) 1586 1587commit ddde83ebd4dbb179aa5388057a14faf32ece26ae 1588Author: John (J5) Palmieri <johnp@redhat.com> 1589Date: Mon Feb 14 16:43:35 2011 -0500 1590 1591 [gi-overrides] for Gtk 3 alias Gdk.Rectangle to cairo.RectangleInt 1592 1593 * note this is the introspected gobject-cairo boxed type not the 1594 static cairo 1595 bindings 1596 * we alias this so people do not get confused 1597 1598 gi/overrides/Gdk.py | 5 +++++ 1599 1 files changed, 5 insertions(+), 0 deletions(-) 1600 1601commit 8617d0e2a63771eba04983c7319f18638aa6d81e 1602Author: John (J5) Palmieri <johnp@redhat.com> 1603Date: Mon Feb 14 15:07:11 2011 -0500 1604 1605 [gi-overrides] let user set the proper property names in Gtk.Table 1606 1607 * the old override added a columns and rows parameters to the Table 1608 constuctor 1609 to be in sync with PyGtk. 1610 * The GTK properties are n_columns and n_rows 1611 * support both 1612 1613 gi/overrides/Gtk.py | 8 ++++++++ 1614 1 files changed, 8 insertions(+), 0 deletions(-) 1615 1616commit 09c0534e4ac673ffdbfb41bc0aa34353be3b88e2 1617Author: John (J5) Palmieri <johnp@redhat.com> 1618Date: Mon Feb 14 15:06:38 2011 -0500 1619 1620 [gi-demos] get appwindow demo working again 1621 1622 demos/gtk-demo/demos/appwindow.py | 24 ++++-------------------- 1623 1 files changed, 4 insertions(+), 20 deletions(-) 1624 1625commit 1944349cc59ddaf4fd7308ffce10b521c885c88b 1626Author: John (J5) Palmieri <johnp@redhat.com> 1627Date: Mon Feb 14 15:05:44 2011 -0500 1628 1629 [gi-demos] fixed use of tree_iter_get 1630 1631 demos/gtk-demo/gtk-demo.py | 2 +- 1632 1 files changed, 1 insertions(+), 1 deletions(-) 1633 1634commit 29efc5a31c2879cefcf31d1d9bdbab65052d3b24 1635Author: John (J5) Palmieri <johnp@redhat.com> 1636Date: Fri Feb 11 11:18:24 2011 -0500 1637 1638 pre-release version bump 1639 1640 configure.ac | 2 +- 1641 1 files changed, 1 insertions(+), 1 deletions(-) 1642 1643commit 5dae6386ef74b6334daa3d0baf7c2e43d93a7e40 1644Author: John (J5) Palmieri <johnp@redhat.com> 1645Date: Fri Feb 11 11:05:04 2011 -0500 1646 1647 bump version and edit NEWS for release 1648 1649 NEWS | 289 1650 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1651 configure.ac | 2 +- 1652 2 files changed, 290 insertions(+), 1 deletions(-) 1653 1654commit e12097a3fc006f435ae01156e55cacd7622a6e06 1655Author: John (J5) Palmieri <johnp@redhat.com> 1656Date: Thu Feb 10 16:46:08 2011 -0500 1657 1658 fix build to correctly use python-config 1659 1660 autogen.sh | 3 +++ 1661 configure.ac | 6 ------ 1662 m4/python.m4 | 9 +++++---- 1663 tests/runtests.py | 1 + 1664 4 files changed, 9 insertions(+), 10 deletions(-) 1665 1666commit 5ec107f805e32d4183b3c1a015d411992fc46a48 1667Author: Martin Pitt <martin.pitt@ubuntu.com> 1668Date: Wed Feb 9 18:00:34 2011 +0100 1669 1670 Run gio tests separately when enabled 1671 1672 As we can't load both gio and gi.repository.Gio at the same time, 1673 run the gio 1674 tests separately when gio is enabled. 1675 1676 tests/Makefile.am | 13 ++++++++++++- 1677 1 files changed, 12 insertions(+), 1 deletions(-) 1678 1679commit 02ac041ba001bdda506f749e90aebc86a414d7c1 1680Author: Martin Pitt <martin.pitt@ubuntu.com> 1681Date: Wed Feb 2 13:33:55 2011 +0100 1682 1683 Revert "Remove gio static bindings" 1684 1685 This reverts commit bca5834fc8fa342149e0eec7b396877a2abe6d33. 1686 1687 We still need the static gio bindings for now. 1688 1689 https://bugzilla.gnome.org/show_bug.cgi?id=638899 1690 1691 Makefile.am | 2 +- 1692 configure.ac | 22 +- 1693 gio/.gitignore | 3 + 1694 gio/Makefile.am | 117 + 1695 gio/__init__.py | 40 + 1696 gio/gappinfo.override | 213 ++ 1697 gio/gapplaunchcontext.override | 99 + 1698 gio/gbufferedinputstream.override | 70 + 1699 gio/gcancellable.override | 38 + 1700 gio/gdatainputstream.override | 250 ++ 1701 gio/gdrive.override | 347 ++ 1702 gio/gfile.override | 2215 +++++++++++ 1703 gio/gfileattribute.override | 153 + 1704 gio/gfileenumerator.override | 184 + 1705 gio/gfileinfo.override | 121 + 1706 gio/gfileinputstream.override | 68 + 1707 gio/gfileiostream.override | 68 + 1708 gio/gfileoutputstream.override | 68 + 1709 gio/gicon.override | 310 ++ 1710 gio/ginputstream.override | 344 ++ 1711 gio/gio-types.defs | 807 ++++ 1712 gio/gio.defs | 7465 1713 +++++++++++++++++++++++++++++++++++++ 1714 gio/gio.override | 409 ++ 1715 gio/giomodule.c | 208 + 1716 gio/giostream.override | 68 + 1717 gio/gmemoryinputstream.override | 91 + 1718 gio/gmemoryoutputstream.override | 45 + 1719 gio/gmount.override | 454 +++ 1720 gio/goutputstream.override | 292 ++ 1721 gio/gresolver.override | 312 ++ 1722 gio/gsocket.override | 575 +++ 1723 gio/gvolume.override | 237 ++ 1724 gio/gvolumemonitor.override | 94 + 1725 gio/pygio-utils.c | 236 ++ 1726 gio/pygio-utils.h | 49 + 1727 gio/unix-types.defs | 55 + 1728 gio/unix.defs | 475 +++ 1729 gio/unix.override | 62 + 1730 gio/unixmodule.c | 52 + 1731 tests/Makefile.am | 9 + 1732 tests/runtests-windows.py | 3 + 1733 tests/test_gcancellable.py | 15 + 1734 tests/test_gicon.py | 112 + 1735 tests/test_gio.py | 1138 ++++++ 1736 tests/test_gresolver.py | 68 + 1737 tests/test_gsocket.py | 126 + 1738 46 files changed, 18187 insertions(+), 2 deletions(-) 1739 1740commit a535e4af7c38fd7917d804470e8c46da4c2a86ea 1741Author: Steve Frécinaux <code@istique.net> 1742Date: Wed Feb 9 17:32:03 2011 +0100 1743 1744 Decrease the refcount for GInitiallyUnowned constructors. 1745 1746 This mimicks the weird legacy pygtk behaviour and makes all the tests 1747 pass despite the proper fixes having been reverted. 1748 1749 https://bugzilla.gnome.org/show_bug.cgi?id=641525 1750 1751 gi/pygi-invoke.c | 4 ++++ 1752 1 files changed, 4 insertions(+), 0 deletions(-) 1753 1754commit 657d113c766c5ff9c5e7285ff5309283333983e4 1755Author: Steve Frécinaux <code@istique.net> 1756Date: Wed Feb 9 17:03:30 2011 +0100 1757 1758 Ensure the sink functions are only ran once. 1759 1760 This mitigates in a not-so-clean way the leak experienced in pygobject 1761 for wrappers created multiple times, without breaking pygtk. 1762 1763 https://bugzilla.gnome.org/show_bug.cgi?id=641525 1764 1765 gobject/pygobject.c | 23 +++++++++++++++-------- 1766 1 files changed, 15 insertions(+), 8 deletions(-) 1767 1768commit d32c0ecc6cde743047054e65355cbbfbf808d5ce 1769Author: Steve Frécinaux <code@istique.net> 1770Date: Wed Feb 9 17:15:41 2011 +0100 1771 1772 Revert "Fix wrong refcount when calling introspected widget 1773 constructors" 1774 1775 This reverts commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4. 1776 1777 https://bugzilla.gnome.org/show_bug.cgi?id=641525 1778 1779 gobject/pygobject.c | 4 +--- 1780 1 files changed, 1 insertions(+), 3 deletions(-) 1781 1782commit 4c9715b29f8883e23027cca10157ea96013b0dbc 1783Author: Steve Frécinaux <code@istique.net> 1784Date: Wed Feb 9 16:33:42 2011 +0100 1785 1786 Revert "Fix reference leaks for GInitiallyUnowned objects" 1787 1788 This reverts commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42. 1789 The test cases have been kept. 1790 1791 https://bugzilla.gnome.org/show_bug.cgi?id=641525 1792 1793 gobject/gobjectmodule.c | 2 -- 1794 gobject/pygobject.c | 14 +++++++------- 1795 2 files changed, 7 insertions(+), 9 deletions(-) 1796 1797commit 14c4cf8e6edae893538680964380d543bde4a14d 1798Author: Martin Pitt <martin.pitt@ubuntu.com> 1799Date: Wed Feb 9 11:34:59 2011 +0100 1800 1801 Run test suite under dbus-launch 1802 1803 When available, run the test suite in dbus-launch, so that the 1804 GDBus tests 1805 succeed even when building this in an environment without a running 1806 session 1807 D-BUS (such as distribution package builds). 1808 1809 tests/Makefile.am | 3 ++- 1810 1 files changed, 2 insertions(+), 1 deletions(-) 1811 1812commit 0858f550e2b6f75e3f583f963f5952f5ddae4e0e 1813Author: Martin Pitt <martin.pitt@ubuntu.com> 1814Date: Tue Feb 8 15:46:36 2011 +0100 1815 1816 Fix test_gdbus.py to be Python3 friendly 1817 1818 - TestCase.assert_() has been deprecated by assertTrue(). 1819 - Exceptions don't have a message attribute any more, use str(e) 1820 1821 tests/test_gdbus.py | 34 +++++++++++++++------------------- 1822 1 files changed, 15 insertions(+), 19 deletions(-) 1823 1824commit b7f32e4cca0cef201489b55653f96ac64a8f9ab9 1825Author: Martin Pitt <martin.pitt@ubuntu.com> 1826Date: Sat Jan 29 12:20:50 2011 +0100 1827 1828 [gi] Provide comfortable GSettings API 1829 1830 Make Gio.Settings behave like a dictionary, with transparent 1831 conversion from/to 1832 GVariants. Also provide a more comfortable constructor. 1833 1834 https://bugzilla.gnome.org/show_bug.cgi?id=640838 1835 1836 gi/overrides/Gio.py | 54 ++++++++++++++++++++++++++++ 1837 tests/org.gnome.test.gschema.xml | 9 +++++ 1838 tests/test_overrides.py | 73 1839 ++++++++++++++++++++++++++++++------- 1840 3 files changed, 122 insertions(+), 14 deletions(-) 1841 1842commit 8dad0eaed60a9de26e9a729a48a1f6bc74be486e 1843Author: Laszlo Pandy <lpandy@src.gnome.org> 1844Date: Fri Feb 4 16:36:07 2011 +0100 1845 1846 Fix vfunc search bug when using GInterfaces and a do_* method. 1847 1848 If a class inherits from a GInterface, as well as implements a do_* 1849 method (which is not in a super class), all the base interfaces 1850 will be searched for an __info__ attribute. GInterface doesn't 1851 have one, causing an error on class creation. 1852 1853 https://bugzilla.gnome.org/show_bug.cgi?id=641493 1854 1855 gi/types.py | 4 +++- 1856 tests/test_gi.py | 8 ++++++++ 1857 2 files changed, 11 insertions(+), 1 deletions(-) 1858 1859commit 2660be1f227be7a53092483bc9d8ead1bd1fb266 1860Author: Laszlo Pandy <lpandy@src.gnome.org> 1861Date: Thu Feb 3 15:31:42 2011 +0100 1862 1863 [GI] Add tests for Gtk.Widget.drag_* methods. 1864 1865 Previously all the drag_* methods were accessible as Gtk.drag_*. 1866 Now that the (method) attribute has been included for these 1867 methods in Gtk+, this test checks that they are included as class 1868 methods when using pygobject introspection. 1869 1870 https://bugzilla.gnome.org/show_bug.cgi?id=639945 1871 1872 tests/test_overrides.py | 40 ++++++++++++++++++++++++++++++++++++++++ 1873 1 files changed, 40 insertions(+), 0 deletions(-) 1874 1875commit 09acaff29dfaabc77477cffca2c7137f68991e7f 1876Author: Ignacio Casal Quinteiro <icq@gnome.org> 1877Date: Wed Feb 2 21:00:48 2011 +0100 1878 1879 [python 3] use the right syntaxis to raise exceptions 1880 1881 codegen/argtypes.py | 8 ++++---- 1882 codegen/definitions.py | 14 +++++++------- 1883 gi/overrides/Gtk.py | 2 +- 1884 3 files changed, 12 insertions(+), 12 deletions(-) 1885 1886commit 36094e5982d3e05d5662843b6d401f0974f5235f 1887Author: Ignacio Casal Quinteiro <icq@gnome.org> 1888Date: Wed Feb 2 20:50:12 2011 +0100 1889 1890 [gi] return PYGLIB_MODULE_ERROR_RETURN on error and use pygobject_init 1891 1892 tests/testhelpermodule.c | 6 +++--- 1893 1 files changed, 3 insertions(+), 3 deletions(-) 1894 1895commit c913c1789296310c2cf27554ce719d7f6e9c94cd 1896Author: Ignacio Casal Quinteiro <icq@gnome.org> 1897Date: Wed Feb 2 20:37:21 2011 +0100 1898 1899 [gi] return PYGLIB_MODULE_ERROR_RETURN on error 1900 1901 This is to avoid some warnings when building with python 3 1902 1903 gi/gimodule.c | 6 +++--- 1904 1 files changed, 3 insertions(+), 3 deletions(-) 1905 1906commit 7bc4122897d9d05172a2bd5b56bded87e2afaec4 1907Author: Steve Frécinaux <code@istique.net> 1908Date: Sat Jan 29 00:16:50 2011 +0100 1909 1910 Fix wrong refcount when calling introspected widget constructors 1911 1912 Introspected widget constructors, like Gtk.Button.new(), can return 1913 objects with a floating reference, which was then reffed by pygobject, 1914 resulting in two references, despite the object is not owned by 1915 anyone. 1916 1917 This patch uses ref_sink() when pygobject takes its own reference, to 1918 avoid adding that extra reference. Hence we now claim ownership on 1919 objects returned by constructors with transfer=none (which is the case 1920 for nearly all the widget constructors, despite the floating ref). 1921 1922 https://bugzilla.gnome.org/show_bug.cgi?id=640868 1923 1924 gobject/pygobject.c | 4 +++- 1925 tests/test_everything.py | 9 ++++++++- 1926 2 files changed, 11 insertions(+), 2 deletions(-) 1927 1928commit afeaaa126f7cd6556fb855ecd0facc174c0f946c 1929Author: Simon Schampijer <simon@laptop.org> 1930Date: Wed Jan 19 16:19:46 2011 +0100 1931 1932 Gdk.Window: Map the standard constructor to the *new* constructor 1933 1934 Gdk.Window had to be made abstract 1935 (see c4a36d875235e0bf1e52dbf2fa14d08bfc8bd4ec in gtk), 1936 this override allows using the standard constructor 1937 1938 This commit adds as well a testcase. 1939 1940 https://bugzilla.gnome.org/show_bug.cgi?id=639936 1941 1942 gi/overrides/Gdk.py | 6 ++++++ 1943 tests/test_overrides.py | 8 ++++++++ 1944 2 files changed, 14 insertions(+), 0 deletions(-) 1945 1946commit 858669f92c9907dd70b4966d6a8521ed122225be 1947Author: Martin Pitt <martin.pitt@ubuntu.com> 1948Date: Mon Jan 31 17:38:52 2011 +0100 1949 1950 Ship tests/org.gnome.test.gschema.xml in dist tarballs 1951 1952 tests/Makefile.am | 3 ++- 1953 1 files changed, 2 insertions(+), 1 deletions(-) 1954 1955commit 69207910209ebfe450df616aeb8fa4cc2e7eccf3 1956Author: Martin Pitt <martin.pitt@ubuntu.com> 1957Date: Fri Jan 28 17:14:19 2011 +0100 1958 1959 [gi] Add GSettings tests 1960 1961 Ryan Lortie proposed an override for more convenient GSettings access, 1962 so let's 1963 first make sure that the canonical GLib API works. 1964 1965 tests/Makefile.am | 7 +++++-- 1966 tests/org.gnome.test.gschema.xml | 16 ++++++++++++++++ 1967 tests/test_overrides.py | 31 +++++++++++++++++++++++++++++++ 1968 3 files changed, 52 insertions(+), 2 deletions(-) 1969 1970commit 488478a83640d50baee963337fcc870fec76b784 1971Author: Martin Pitt <martin.pitt@ubuntu.com> 1972Date: Fri Jan 28 07:20:26 2011 +0100 1973 1974 [gi] Provide GtkTextBuffer.insert_with_tags_by_name() 1975 1976 Provide an actual insert_with_tags_by_name() instead of overloading 1977 insert_with_tags() to handle both types. This keeps the overrides 1978 consistent 1979 with the actual GTK API. 1980 1981 gi/overrides/Gtk.py | 19 ++++++++++++++----- 1982 tests/test_overrides.py | 4 ++-- 1983 2 files changed, 16 insertions(+), 7 deletions(-) 1984 1985commit dace1a553793fb7fb054b60760f02c9e5cf00b38 1986Author: Martin Pitt <martin.pitt@ubuntu.com> 1987Date: Thu Jan 27 13:37:18 2011 +0100 1988 1989 [gi] Support tag names in GtkTextBuffer.insert_with_tags() 1990 1991 Neither insert_with_tags() nor insert_with_tags_by_name() are 1992 introspectable 1993 due to using varargs. As both are useful, support both cases in 1994 the override. 1995 1996 gi/overrides/Gtk.py | 5 +++++ 1997 tests/test_overrides.py | 9 +++++++++ 1998 2 files changed, 14 insertions(+), 0 deletions(-) 1999 2000commit 91d34124b2a5128e93e13c7fee8693d5edc4e9bb 2001Author: Ignacio Casal Quinteiro <icq@gnome.org> 2002Date: Thu Jan 27 12:23:18 2011 +0100 2003 2004 Add MAINTAINERCLEANFILES 2005 2006 This var behaves like .gitignore and allows us to skip some specific 2007 files. 2008 2009 Makefile.am | 27 +++++++++++++++++++++++++++ 2010 1 files changed, 27 insertions(+), 0 deletions(-) 2011 2012commit 8a98d26981ce68809a21c64cac4962e58c927905 2013Author: Ignacio Casal Quinteiro <icq@gnome.org> 2014Date: Thu Jan 27 12:15:30 2011 +0100 2015 2016 Remove .gitignore files and use git.mk 2017 2018 git.mk is a script maintained in pango. From time to time we must 2019 check if it was updated and update it here. 2020 2021 .gitignore | 46 ---------- 2022 Makefile.am | 2 + 2023 codegen/.gitignore | 2 - 2024 codegen/Makefile.am | 2 + 2025 docs/.gitignore | 7 -- 2026 docs/Makefile.am | 2 + 2027 examples/Makefile.am | 2 + 2028 gi/.gitignore | 40 --------- 2029 gi/Makefile.am | 2 + 2030 gi/overrides/Makefile.am | 2 + 2031 gi/repository/Makefile.am | 2 + 2032 gi/tests/Makefile.am | 2 + 2033 git.mk | 200 2034 +++++++++++++++++++++++++++++++++++++++++++++ 2035 glib/Makefile.am | 2 + 2036 gobject/.gitignore | 3 - 2037 gobject/Makefile.am | 2 + 2038 tests/.gitignore | 2 - 2039 tests/Makefile.am | 2 + 2040 18 files changed, 222 insertions(+), 100 deletions(-) 2041 2042commit 331c42b63bc60a3b906fa21e1c0a7c1b9428f347 2043Author: Martin Pitt <martin.pitt@ubuntu.com> 2044Date: Thu Jan 27 12:04:19 2011 +0100 2045 2046 pygi-convert.sh: Convert Pango.TabAlign.* 2047 2048 pygi-convert.sh | 1 + 2049 1 files changed, 1 insertions(+), 0 deletions(-) 2050 2051commit be1a2959fa0a3d8682e0e8aef389d73dacab0689 2052Author: Martin Pitt <martin.pitt@ubuntu.com> 2053Date: Thu Jan 27 12:02:39 2011 +0100 2054 2055 pygi-convert.sh: Drop window -> get_window() conversion 2056 2057 It is doing more harm than good for projects which use things like 2058 self.window. 2059 2060 pygi-convert.sh | 1 - 2061 1 files changed, 0 insertions(+), 1 deletions(-) 2062 2063commit dd7deb4b658c56857c26b1a278a3d688f2ea6a2a 2064Author: Martin Pitt <martin.pitt@ubuntu.com> 2065Date: Thu Jan 27 11:58:26 2011 +0100 2066 2067 pygi-convert.sh: Don't convert self.window assignments 2068 2069 pygi-convert.sh | 2 +- 2070 1 files changed, 1 insertions(+), 1 deletions(-) 2071 2072commit 975341a26772966d4afc87a88a6a566d61237fa0 2073Author: Steve Frécinaux <code@istique.net> 2074Date: Fri Jan 21 18:41:54 2011 +0100 2075 2076 Fix leaked python reference in python-defined subclasses 2077 2078 https://bugzilla.gnome.org/show_bug.cgi?id=640184 2079 2080 gobject/gobjectmodule.c | 1 + 2081 tests/test_gobject.py | 4 ++++ 2082 2 files changed, 5 insertions(+), 0 deletions(-) 2083 2084commit a59e2d58bdb3f31a4f415dbe14b7d9988ac28ce3 2085Author: Steve Frécinaux <code@istique.net> 2086Date: Fri Jan 21 15:54:43 2011 +0100 2087 2088 Add some tests for the number of python refs held at creation time 2089 2090 https://bugzilla.gnome.org/show_bug.cgi?id=640184 2091 2092 tests/test_gobject.py | 21 +++++++++++++++++++++ 2093 1 files changed, 21 insertions(+), 0 deletions(-) 2094 2095commit 7d70105eb324ea4b6a58c2d3fb3f2dda36e7ab33 2096Author: Steve Frécinaux <code@istique.net> 2097Date: Fri Jan 21 17:24:49 2011 +0100 2098 2099 Factor out parameter marshalling from construction functions. 2100 2101 https://bugzilla.gnome.org/show_bug.cgi?id=640197 2102 2103 gobject/gobjectmodule.c | 35 ++------------------- 2104 gobject/pygobject-private.h | 5 +++ 2105 gobject/pygobject.c | 71 2106 +++++++++++++++++++++++++----------------- 2107 3 files changed, 50 insertions(+), 61 deletions(-) 2108 2109commit a3e0cfe8924887ecd1e07cedd2cfb999c853ac62 2110Author: John (J5) Palmieri <johnp@redhat.com> 2111Date: Wed Jan 26 15:34:24 2011 -0500 2112 2113 [gi] in python 3 an array of uint8 can be bytes but not string 2114 2115 tests/test_gi.py | 4 +++- 2116 1 files changed, 3 insertions(+), 1 deletions(-) 2117 2118commit 843553ea958eddec185bb660851a310dc050a14b 2119Author: John (J5) Palmieri <johnp@redhat.com> 2120Date: Wed Jan 26 15:30:06 2011 -0500 2121 2122 [gi] fix Gio.FileEnumerator to reflect the Python 3 iter protocol 2123 2124 gi/overrides/Gio.py | 6 +++++- 2125 1 files changed, 5 insertions(+), 1 deletions(-) 2126 2127commit 6ff357839feb39930a5f3175de3d0ed35f24d3f4 2128Author: John (J5) Palmieri <johnp@redhat.com> 2129Date: Wed Jan 26 15:17:03 2011 -0500 2130 2131 [gi] python 3 fixes 2132 2133 Patches need to work in Python 3 - here are some of the issues I 2134 fixed up. 2135 Patch submitters should keep this in mind. When I note to only 2136 use something 2137 in tests it means that there is a compat module that is only available 2138 to the 2139 tests. Actuall code should either add the workaround to the top 2140 of their 2141 module or try not to have a distinction between things such as 2142 unicode and 2143 longs which no longer exist in Python 3 2144 2145 * use range instead of xrange - loss of performance in Python 2 but 2146 Python 3 i 2147 treats range similarly to python 2's xrange 2148 * use dict.items() instead of dict.iteritems() - same as the xrange 2149 issue 2150 * callable does not exist in 3.x, use hasattr(obj, '__call__') or 2151 2152 if sys.version_info > (3, 0): 2153 def callable(obj): 2154 return hasattr(obj, '__call__') 2155 2156 * using unicode in tests is tricky, you can't use u'' even in 2157 a versioned 2158 conditional as python3's parser chokes on it. Do this in tests 2159 (and only i 2160 in tests): 2161 2162 from compathelper import _unicode 2163 unicode_string = _unicode('this is a unicode string') 2164 2165 * exception caching changed in 2.7, instead of except Exception, 2166 e we now use 2167 except Exception as e. Do this to be compatible with older 2168 versions: 2169 2170 except Exception: 2171 etype, e = sys.exc_info()[:2] 2172 2173 * Unbound methods with an im_func attribute no longer exits in 3.x. 2174 Unbound methods are now just functions so class.method in 3.x is 2175 equivalent to class.method.im_func in 2.x. If you have to go this 2176 low level do this: 2177 2178 func = class1.method 2179 if sys.version_info < (3,0): 2180 func = func.im_func 2181 2182 * all numbers are long in 3.x so 42L is invalid in 3.x. In tests (and 2183 only in tests) do this: 2184 2185 from compathelper import _long 2186 l = _long(42) 2187 2188 gi/overrides/GLib.py | 16 ++++++++-------- 2189 gi/types.py | 5 ++++- 2190 tests/compathelper.py | 19 +++++++++++++++++++ 2191 tests/test_gdbus.py | 12 ++++++++---- 2192 tests/test_gi.py | 19 ++++++++++++------- 2193 tests/test_overrides.py | 8 +++++--- 2194 6 files changed, 56 insertions(+), 23 deletions(-) 2195 2196commit 832d662b9f90f5762bbf28b3cca73f947c1f83ce 2197Author: John (J5) Palmieri <johnp@redhat.com> 2198Date: Wed Jan 26 14:00:08 2011 -0500 2199 2200 [gi] fix try/except blocks using depricated raise format 2201 2202 gi/overrides/GLib.py | 4 ++-- 2203 gi/overrides/Gdk.py | 2 +- 2204 2 files changed, 3 insertions(+), 3 deletions(-) 2205 2206commit d3e30e240fed6ef1dd40fd29fd13dc2effc6c7b1 2207Author: Martin Pitt <martin.pitt@ubuntu.com> 2208Date: Wed Jan 26 19:03:48 2011 +0100 2209 2210 [gi] Add docstring to GLib.Variant constructor 2211 2212 gi/overrides/GLib.py | 11 +++++++++++ 2213 1 files changed, 11 insertions(+), 0 deletions(-) 2214 2215commit 963cd52fec26f7a4fb34414f8ac6662932ede322 2216Author: Martin Pitt <martin.pitt@ubuntu.com> 2217Date: Wed Jan 26 18:45:38 2011 +0100 2218 2219 [gi] update gdbus test cases for previous GVariant change 2220 2221 tests/test_gdbus.py | 4 ++-- 2222 1 files changed, 2 insertions(+), 2 deletions(-) 2223 2224commit 27e3a6276ff5f2cdc03ddf69ee80d44c3bf2c094 2225Author: Martin Pitt <martin.pitt@ubuntu.com> 2226Date: Wed Jan 26 18:39:17 2011 +0100 2227 2228 [gi] Accept only a single object in GLib.Variant constructor 2229 2230 We previously allowed flat arguments for tuple signatures, e. g. 2231 2232 GLib.Variant('(ii)', 1, 2) 2233 2234 However, that's not how GVariant is supposed to work. Remove the 2235 special case 2236 to handle flat argument lists, and only accept a single value, i. e. 2237 2238 GLib.Variant('(ii)', (1, 2)) 2239 2240 Note that this breaks the current API, but as it is not used widely 2241 yet, let's 2242 better fix it now. 2243 2244 Thanks to Ryan Lortie for pointing this out! 2245 2246 gi/overrides/GLib.py | 25 ++++++++++--------------- 2247 tests/test_overrides.py | 32 +++++++++++++------------------- 2248 2 files changed, 23 insertions(+), 34 deletions(-) 2249 2250commit b15e8e2c0c933d0f827a70280faf875ac383d81b 2251Author: Laszlo Pandy <lpandy@src.gnome.org> 2252Date: Wed Jan 26 00:40:49 2011 +0100 2253 2254 Speed up _setup_native_vfuncs() 2255 2256 This changes _setup_native_vfuncs() to only install native 2257 vfunc wrappers from the current class on the current class. 2258 Native vfuncs will not be propogated up or down the class 2259 hierarchy as this is unnecessary and wastes CPU and memory. 2260 2261 Since the normal process in python to retrieve a method or 2262 attribute recurses to the base classes if an attribute is not 2263 found in the subclass, there is no need to setup all base class 2264 virtual functions on a subclass. 2265 2266 This patch removes the recursion in _setup_native_vfuncs() 2267 and lets Python find them in the base classes like a normal 2268 Python class would work. This significantly increases the speed 2269 of any class which is or inherits from a C class which includes 2270 virtual methods. 2271 2272 https://bugzilla.gnome.org/show_bug.cgi?id=640629 2273 2274 gi/types.py | 26 +++++++++++++------------- 2275 tests/test_gi.py | 13 +++++++++++++ 2276 2 files changed, 26 insertions(+), 13 deletions(-) 2277 2278commit 569d42ac2f50fb706ef289ff631db743483f40ee 2279Author: Laszlo Pandy <lpandy@src.gnome.org> 2280Date: Thu Jan 20 16:26:18 2011 +0100 2281 2282 Speed up class creation: rewrite _setup_vfuncs() to be much more 2283 efficient. 2284 2285 This patch rewrites the _setup_vfuncs() method to remove recursion and 2286 make the running time linear in the number of virtual functions to 2287 hook up 2288 (ie. methods starting with "do_") instead of linear in the number of 2289 virtual functions in the base class which could possibly be 2290 overridden. 2291 2292 Since most classes do not override all of the virtual functions in the 2293 base class (and many override none), this runs much faster. 2294 2295 It is possible to not recurse on all base classes because 2296 non-interface 2297 base classes will have the virtual function installed as an attribute. 2298 Thus getattr() can be called, which recurses to the base classes much 2299 faster than a custom implementation in Python. If the method cannot be 2300 found with getattr(), all interface bases classes are searched 2301 manually. 2302 2303 The function is_function_in_classes() has been deleted. Because of the 2304 above changes, it is not used anymore. 2305 2306 https://bugzilla.gnome.org/show_bug.cgi?id=640073 2307 2308 gi/types.py | 104 2309 +++++++++++++++++++++++++++++++++--------------------- 2310 tests/test_gi.py | 13 +++++++ 2311 2 files changed, 77 insertions(+), 40 deletions(-) 2312 2313commit 8f4e6536f3c2edf38a45632d1c23eb7c6681c3be 2314Author: Sebastian Pölsterl <sebp@k-d-w.org> 2315Date: Mon Jan 24 19:23:19 2011 +0100 2316 2317 pygi-convert.sh: Convert gtk.UI_MANAGER_* 2318 2319 pygi-convert.sh | 1 + 2320 1 files changed, 1 insertions(+), 0 deletions(-) 2321 2322commit 1f473b5164407a178203eb8cc7f3c786e0d0e5c2 2323Author: Sebastian Pölsterl <sebp@k-d-w.org> 2324Date: Fri Jan 21 18:41:54 2011 +0100 2325 2326 pygi-convert.sh: Convert gdk.GRAB_* 2327 2328 pygi-convert.sh | 1 + 2329 1 files changed, 1 insertions(+), 0 deletions(-) 2330 2331commit f5d0b7b9d189f65503c0bf66d8bda4186ca3223a 2332Author: Ignacio Casal Quinteiro <icq@gnome.org> 2333Date: Fri Jan 21 16:45:07 2011 +0100 2334 2335 [gi] set the gtype GValue correctly 2336 2337 gi/pygi-property.c | 4 ++-- 2338 1 files changed, 2 insertions(+), 2 deletions(-) 2339 2340commit ce521011d7f6d7f082aaea76fa05c5af9f6e93f5 2341Author: Ignacio Casal Quinteiro <icq@gnome.org> 2342Date: Fri Jan 21 16:20:23 2011 +0100 2343 2344 [gi] use the right argument type for callback 2345 2346 gi/pygi-foreign-cairo.c | 8 ++++---- 2347 gi/pygi-foreign-gvariant.c | 4 ++-- 2348 gi/pygi-foreign-gvariant.h | 2 +- 2349 gi/pygi-foreign.c | 2 +- 2350 gi/pygi.h | 2 +- 2351 5 files changed, 9 insertions(+), 9 deletions(-) 2352 2353commit a060287d1a6d190acb9d344f08fd5662e3296da5 2354Author: Martin Pitt <martin.pitt@ubuntu.com> 2355Date: Fri Jan 21 11:00:27 2011 +0100 2356 2357 [gi] Add test cases for GDBus client operations 2358 2359 tests/Makefile.am | 1 + 2360 tests/test_gdbus.py | 94 2361 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2362 2 files changed, 95 insertions(+), 0 deletions(-) 2363 2364commit e97e28048efb966ecc1a03277d36cbaa81b8db7d 2365Author: Martin Pitt <martin.pitt@ubuntu.com> 2366Date: Fri Jan 21 09:54:14 2011 +0100 2367 2368 [gi] Add Variant construction/unpack support for boxed Variants 2369 2370 Construction uses a GVariantBuilder for now, as the new_variant() 2371 constructor 2372 currently does not work (see 2373 https://bugzilla.gnome.org/show_bug.cgi?id=639952) 2374 2375 gi/overrides/GLib.py | 18 +++++++++++++++++- 2376 tests/test_overrides.py | 26 ++++++++++++++++++++++++++ 2377 2 files changed, 43 insertions(+), 1 deletions(-) 2378 2379commit 71dd03261fc06b8180c14cd31b54d8e4b200be3a 2380Merge: bc29600 bd002c7 2381Author: Dieter Verfaillie <dieterv@optionexplicit.be> 2382Date: Fri Jan 21 09:33:16 2011 +0100 2383 2384 Merge branch 'windows-setup-fixes' 2385 2386commit bc29600a2a04c972ceab7ef8d3292e8633977591 2387Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> 2388Date: Thu Jan 20 19:48:23 2011 +0100 2389 2390 pygi-convert.sh: GdkPixbuf methods 2391 2392 GNOME bug #639880 2393 2394 pygi-convert.sh | 1 + 2395 1 files changed, 1 insertions(+), 0 deletions(-) 2396 2397commit d1b0fa501cc431baa530d96fb50f4c35590890ac 2398Author: Thomas Hindoe Paaboel Andersen <phomes@gmail.com> 2399Date: Thu Jan 20 19:45:01 2011 +0100 2400 2401 pygi-convert.sh: Gdk.COLORSPACE_RGB 2402 2403 GNOME bug #639880 2404 2405 pygi-convert.sh | 1 + 2406 1 files changed, 1 insertions(+), 0 deletions(-) 2407 2408commit 6d8ff4d5bdda5480089543869535cc3ee83da2f5 2409Author: Martin Pitt <martin.pitt@ubuntu.com> 2410Date: Wed Jan 19 11:41:11 2011 +0100 2411 2412 [gi] Support nested objects and empty sequences in GLib.Variant 2413 building 2414 2415 The GVariant constructor (in the overrides) previously did not 2416 support empty 2417 arrays/dictionaries or nested structures. Rewrite the VariantCreator 2418 class to 2419 be fully recursive and determine the element types of 2420 arrays/dictionaries. 2421 2422 This now also allows you to use actual tuples as input values for 2423 GVariant 2424 tuple types. Taking values from the flat argument list is still 2425 supported for 2426 convenience, though. 2427 2428 https://bugzilla.gnome.org/show_bug.cgi?id=639939 2429 2430 gi/overrides/GLib.py | 229 2431 +++++++++++++++++++++++++---------------------- 2432 tests/test_overrides.py | 159 +++++++++++++++++++++++++++++++-- 2433 2 files changed, 273 insertions(+), 115 deletions(-) 2434 2435commit ac095f5435f106e175fa3297cb273e63c85d2809 2436Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2437Date: Thu Jan 20 15:55:45 2011 +0100 2438 2439 Uncomment test_gi.TestInterfaceClash 2440 2441 tests/test_gi.py | 22 +++++++++++----------- 2442 1 files changed, 11 insertions(+), 11 deletions(-) 2443 2444commit f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42 2445Author: Steve Frécinaux <code@istique.net> 2446Date: Thu Jan 20 14:14:15 2011 +0100 2447 2448 Fix reference leaks for GInitiallyUnowned objects 2449 2450 References were leaked for GInitiallyUnowned objects which got their 2451 wrappers created several times, because someone else holds reference 2452 on it and it got out of python scope at some point. 2453 2454 https://bugzilla.gnome.org/show_bug.cgi?id=639949 2455 2456 gobject/gobjectmodule.c | 2 + 2457 gobject/pygobject.c | 14 +++++----- 2458 tests/test-floating.c | 36 ++++++++++++++++++++++++++ 2459 tests/test-floating.h | 21 +++++++++++++++ 2460 tests/test_gobject.py | 63 2461 ++++++++++++++++++++++++++++++++++++++++++++++ 2462 tests/testhelpermodule.c | 50 ++++++++++++++++++++++++++++++++++++ 2463 6 files changed, 179 insertions(+), 7 deletions(-) 2464 2465commit cae2cf3d4fb049c94389bf8f84d7d97a544d7a3f 2466Author: Steve Frécinaux <code@istique.net> 2467Date: Wed Jan 19 16:57:57 2011 +0100 2468 2469 Add tests for refcount of a GObject owned by a library 2470 2471 When the object is constructed, its refcount is 2 because the library 2472 refs it once. It should remain around until we ask the library to 2473 release its reference. 2474 2475 https://bugzilla.gnome.org/show_bug.cgi?id=639949 2476 2477 tests/test-floating.c | 30 ++++++++++++++++++++++ 2478 tests/test-floating.h | 20 +++++++++++++++ 2479 tests/test_gobject.py | 62 2480 ++++++++++++++++++++++++++++++++++++++++++++++ 2481 tests/testhelpermodule.c | 51 +++++++++++++++++++++++++++++++++++++ 2482 4 files changed, 163 insertions(+), 0 deletions(-) 2483 2484commit b6737b91938d527872eff1d645a205cacf94e15d 2485Author: Steve Frécinaux <code@istique.net> 2486Date: Wed Jan 19 14:52:41 2011 +0100 2487 2488 Add a test to check for regular object reference count 2489 2490 https://bugzilla.gnome.org/show_bug.cgi?id=639949 2491 2492 tests/test_gobject.py | 8 +++++++- 2493 1 files changed, 7 insertions(+), 1 deletions(-) 2494 2495commit 2b0f1ede820414ef1cfd6b37569fcb946d2031fc 2496Author: Martin Pitt <martin.pitt@ubuntu.com> 2497Date: Thu Jan 20 14:15:52 2011 +0100 2498 2499 [gi] Update TreeView.enable_model_drag_{source,dest} to current GTK 2500 2501 GTK master now landed a lot of annotation fixes which also correctly 2502 marks the 2503 array length argument of 2504 Gtk.TreeView.enable_model_drag_{source,dest}(). Thus 2505 drop the explicit array length argument from the call in the override. 2506 2507 gi/overrides/Gtk.py | 2 -- 2508 1 files changed, 0 insertions(+), 2 deletions(-) 2509 2510commit b59edf4f0f7cab44033f9d704d476e10ee0d0c0a 2511Author: Steve Frécinaux <code@istique.net> 2512Date: Wed Jan 19 18:04:10 2011 +0100 2513 2514 Fix a typo in a private symbol name. 2515 2516 gobject/gobjectmodule.c | 6 +++--- 2517 1 files changed, 3 insertions(+), 3 deletions(-) 2518 2519commit 6447688e283a8fb22de3ab68cbc06e34ad23d198 2520Author: Martin Pitt <martin.pitt@ubuntu.com> 2521Date: Thu Jan 20 11:49:08 2011 +0100 2522 2523 pygi-convert.sh: Convert glib.source_remove() 2524 2525 pygi-convert.sh | 1 + 2526 1 files changed, 1 insertions(+), 0 deletions(-) 2527 2528commit 84ee8de4bc00a8f901926cc6386d73c12dbd0b0b 2529Author: Martin Pitt <martin.pitt@ubuntu.com> 2530Date: Thu Jan 20 11:42:34 2011 +0100 2531 2532 Fix typo in previous commit to actually convert glib.GError 2533 2534 pygi-convert.sh | 2 +- 2535 1 files changed, 1 insertions(+), 1 deletions(-) 2536 2537commit b238cb614338f46e6feb7935cca0a55c7a929418 2538Author: Martin Pitt <martin.pitt@ubuntu.com> 2539Date: Thu Jan 20 11:40:14 2011 +0100 2540 2541 pygi-convert.sh: Move some glib bits which are better handled 2542 by gobject 2543 2544 pygi-convert.sh | 3 +++ 2545 1 files changed, 3 insertions(+), 0 deletions(-) 2546 2547commit 21c09a7ee294b59abb3eca6f64f13bf5c8a2fa0e 2548Author: Laszlo Pandy <lpandy@src.gnome.org> 2549Date: Wed Jan 19 12:00:02 2011 +0100 2550 2551 Modify override for Gtk.Adjustment to allow position or keyword 2552 arguments in __init__(). 2553 2554 Previously passing no arguments was not working, because the default 2555 value for each parameter was None, and GObject.__init__() refuses to 2556 allow None for integer properties. This patch does not pass None up 2557 to GObject.__init__. Instead it does not pass the parameter at all, 2558 and uses the class's default values. 2559 2560 https://bugzilla.gnome.org/show_bug.cgi?id=639934 2561 2562 gi/overrides/Gtk.py | 14 ++++++++++++-- 2563 tests/test_overrides.py | 34 +++++++++++++++++++++++++++------- 2564 2 files changed, 39 insertions(+), 9 deletions(-) 2565 2566commit d465e25297ad6589ff2cd0c00e11e8bd8ffe3f78 2567Author: Martin Pitt <martin.pitt@ubuntu.com> 2568Date: Wed Jan 19 22:52:51 2011 +0100 2569 2570 [gi] Fix small typo in previous commit 2571 2572 The GVariant signature of the self test had a trailing 'i'. The 2573 current 2574 GVariant builder doesn't mind, but the new implementation proposed 2575 in bug 2576 639939 does. 2577 2578 tests/test_overrides.py | 2 +- 2579 1 files changed, 1 insertions(+), 1 deletions(-) 2580 2581commit 2b8e1d0531dcb8f57dc9f2fddf25970bee3daa90 2582Author: Martin Pitt <martin.pitt@ubuntu.com> 2583Date: Wed Jan 19 20:18:19 2011 +0100 2584 2585 [gi] Add pythonic iterator and indexing for string GVariants 2586 2587 This extends commit b1a98083c to also work for strings. 2588 2589 gi/overrides/GLib.py | 8 +++++++- 2590 tests/test_overrides.py | 13 +++++++++++++ 2591 2 files changed, 20 insertions(+), 1 deletions(-) 2592 2593commit 7c2f48bb6d67ec9a1ee5ac03a5aee34b54c6ebdd 2594Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2595Date: Wed Jan 19 18:09:23 2011 +0100 2596 2597 Construct structs using default API constructor 2598 2599 If the struct has something that looks like a default constructor, 2600 use it instead of trying to directly allocate it, as it will fail 2601 if the struct fields are not exposed. 2602 2603 https://bugzilla.gnome.org/show_bug.cgi?id=627444 2604 2605 gi/pygi-info.c | 37 +++++++++++++++++++++++++++++++++++++ 2606 gi/types.py | 7 +++++++ 2607 2 files changed, 44 insertions(+), 0 deletions(-) 2608 2609commit db7300e173388d9557dcd2333781bfaa6b021605 2610Author: Martin Pitt <martin.pitt@ubuntu.com> 2611Date: Wed Jan 19 18:54:39 2011 +0100 2612 2613 pygi-convert.sh: Migrate Gdk.Cursor constructor, and some cursor names 2614 2615 pygi-convert.sh | 2 ++ 2616 1 files changed, 2 insertions(+), 0 deletions(-) 2617 2618commit 4c1d4faddf1c9cb233c484da3eadd8e31c231f70 2619Author: Martin Pitt <martin.pitt@ubuntu.com> 2620Date: Wed Jan 19 18:43:29 2011 +0100 2621 2622 pygi-convert.sh: Handle .window attributes 2623 2624 In general, convert them to .get_window(). For some of them, prefer 2625 calling the 2626 GtkWidget methods instead. 2627 2628 pygi-convert.sh | 5 ++++- 2629 1 files changed, 4 insertions(+), 1 deletions(-) 2630 2631commit b1049b947d073fb569ba900a4d5c8519482d831e 2632Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2633Date: Wed Jan 19 17:35:09 2011 +0100 2634 2635 Also deal with foreign boxed structs 2636 2637 cairo.Context has been boxed and our tests started failing 2638 2639 https://bugzilla.gnome.org/show_bug.cgi?id=639967 2640 2641 gi/pygi-argument.c | 4 ++-- 2642 1 files changed, 2 insertions(+), 2 deletions(-) 2643 2644commit 25b69ae257a12b6dc97ed3f2f7ea54b166ddbba1 2645Author: Laszlo Pandy <lpandy@src.gnome.org> 2646Date: Wed Jan 19 17:45:11 2011 +0100 2647 2648 [gi] Convert GErrors to GObject.GError exceptions, and throw them 2649 upon returning from calling the C function. 2650 2651 This changes gi to make use of pyglib_error_check() which already 2652 exists in pyglib. 2653 2654 The included tests make use of the other patch attached to this bug, 2655 to check that the right exception is thrown from the new function 2656 in GIMarshallingTests. 2657 two Gtk C functions. 2658 2659 https://bugzilla.gnome.org/show_bug.cgi?id=639834 2660 2661 gi/Makefile.am | 3 ++- 2662 gi/pygi-invoke.c | 12 +++--------- 2663 tests/test_gi.py | 10 ++++++++++ 2664 3 files changed, 15 insertions(+), 10 deletions(-) 2665 2666commit e6fcafc6179e963cbae7774e7ee50415bde2c523 2667Author: Martin Pitt <martin.pitt@ubuntu.com> 2668Date: Wed Jan 19 17:03:06 2011 +0100 2669 2670 pygi-convert.sh: Don't convert glib -> GLib for now 2671 2672 This currently leads to a load of crashes, MemoryErrors, etc, as 2673 GLib is not 2674 very well introspectable, due to the low-level operations that 2675 it performs. 2676 2677 John Palmieri confirms that using the static "glib" binding is 2678 preferred for 2679 now, so disable the replacement rules. 2680 2681 pygi-convert.sh | 19 ++++++++++--------- 2682 1 files changed, 10 insertions(+), 9 deletions(-) 2683 2684commit 167261d556eab0d2e448c7ed28eef540a024ba1d 2685Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2686Date: Wed Jan 19 16:47:08 2011 +0100 2687 2688 Link libregress.so to GIO_LIBS again 2689 2690 configure.ac | 5 +++++ 2691 1 files changed, 5 insertions(+), 0 deletions(-) 2692 2693commit d143afa6da4f5b5f47be8df11fa41d7b47ab1794 2694Author: Laszlo Pandy <lpandy@src.gnome.org> 2695Date: Wed Jan 19 16:14:42 2011 +0100 2696 2697 Fix attributes 2BUTTON_PRESS and 3BUTTON_PRESS of Gdk.EventType. 2698 2699 This puts an underscore in front of 2BUTTON_PRESS and 3BUTTON_PRESS 2700 because in Python attributes starting with a numeral causes a 2701 syntax error. 2702 2703 gi/overrides/Gdk.py | 7 +++++-- 2704 1 files changed, 5 insertions(+), 2 deletions(-) 2705 2706commit 614b6ca7f45c4acbee088fe74fecf279ed50cc0c 2707Author: Sebastian Pölsterl <sebp@k-d-w.org> 2708Date: Wed Jan 19 15:27:33 2011 +0100 2709 2710 [gi] Fixed typo in exception 2711 2712 gi/overrides/Gtk.py | 2 +- 2713 1 files changed, 1 insertions(+), 1 deletions(-) 2714 2715commit b2189424f9dd6d3a4a5b9792f0d5843fc27657d1 2716Author: Sebastian Pölsterl <sebp@k-d-w.org> 2717Date: Wed Jan 19 15:12:25 2011 +0100 2718 2719 [gi] Enable handling of Gdk.EventType.2BUTTON_PRESS and 3BUTTON_PRESS 2720 2721 gi/overrides/Gdk.py | 4 ++-- 2722 1 files changed, 2 insertions(+), 2 deletions(-) 2723 2724commit 5eca5ff2c9509ec96158fe43b29f0fd951243efe 2725Author: Martin Pitt <martin.pitt@ubuntu.com> 2726Date: Wed Jan 19 14:54:57 2011 +0100 2727 2728 Revert "Fix Pango FontDescription override" 2729 2730 According to 2731 http://library.gnome.org/devel/pango/1.28/pango-Fonts.html#pango-font-description-new 2732 the default constructor actually does take no arguments; we should 2733 actually fix 2734 the MemoryError. Add a test case for this. 2735 2736 Remove the FIXME though, as pango_font_description_from_string() 2737 is not a 2738 FontDescription constructor, but a static factory method. 2739 2740 Thanks to Paolo Borelli for pointing this out! 2741 2742 This reverts commit 8878c57676091c08e66bc6cbe735d898cb420582. 2743 2744 gi/overrides/Pango.py | 5 ++++- 2745 tests/test_overrides.py | 5 +++++ 2746 2 files changed, 9 insertions(+), 1 deletions(-) 2747 2748commit 9e7b95b3676a1b502662523a9bd4ebe40ccb4845 2749Author: Tony Young <rofflwaffls@gmail.com> 2750Date: Thu Dec 16 23:39:33 2010 +0000 2751 2752 Python iterator interface support for GFileEnumerator. 2753 2754 gi/overrides/Gio.py | 41 +++++++++++++++++++++++++++++++++++++++++ 2755 gi/overrides/Makefile.am | 1 + 2756 tests/test_overrides.py | 20 ++++++++++++++++++++ 2757 3 files changed, 62 insertions(+), 0 deletions(-) 2758 2759commit bca5834fc8fa342149e0eec7b396877a2abe6d33 2760Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2761Date: Fri Jan 7 12:10:37 2011 +0100 2762 2763 Remove gio static bindings 2764 2765 https://bugzilla.gnome.org/show_bug.cgi?id=638899 2766 2767 Makefile.am | 2 +- 2768 configure.ac | 25 - 2769 gio/.gitignore | 3 - 2770 gio/Makefile.am | 117 - 2771 gio/__init__.py | 40 - 2772 gio/gappinfo.override | 213 -- 2773 gio/gapplaunchcontext.override | 99 - 2774 gio/gbufferedinputstream.override | 70 - 2775 gio/gcancellable.override | 38 - 2776 gio/gdatainputstream.override | 250 -- 2777 gio/gdrive.override | 347 -- 2778 gio/gfile.override | 2215 ----------- 2779 gio/gfileattribute.override | 153 - 2780 gio/gfileenumerator.override | 184 - 2781 gio/gfileinfo.override | 121 - 2782 gio/gfileinputstream.override | 68 - 2783 gio/gfileiostream.override | 68 - 2784 gio/gfileoutputstream.override | 68 - 2785 gio/gicon.override | 310 -- 2786 gio/ginputstream.override | 344 -- 2787 gio/gio-types.defs | 807 ---- 2788 gio/gio.defs | 7465 2789 ------------------------------------- 2790 gio/gio.override | 409 -- 2791 gio/giomodule.c | 208 - 2792 gio/giostream.override | 68 - 2793 gio/gmemoryinputstream.override | 91 - 2794 gio/gmemoryoutputstream.override | 45 - 2795 gio/gmount.override | 454 --- 2796 gio/goutputstream.override | 292 -- 2797 gio/gresolver.override | 312 -- 2798 gio/gsocket.override | 575 --- 2799 gio/gvolume.override | 237 -- 2800 gio/gvolumemonitor.override | 94 - 2801 gio/pygio-utils.c | 236 -- 2802 gio/pygio-utils.h | 49 - 2803 gio/unix-types.defs | 55 - 2804 gio/unix.defs | 475 --- 2805 gio/unix.override | 62 - 2806 gio/unixmodule.c | 52 - 2807 tests/Makefile.am | 9 - 2808 tests/runtests-windows.py | 3 - 2809 tests/test_gcancellable.py | 15 - 2810 tests/test_gicon.py | 112 - 2811 tests/test_gio.py | 1138 ------ 2812 tests/test_gresolver.py | 68 - 2813 tests/test_gsocket.py | 126 - 2814 46 files changed, 1 insertions(+), 18191 deletions(-) 2815 2816commit 09f7ca7e2378e6679002677ac3f4802f4cc7d9d5 2817Author: Ignacio Casal Quinteiro <icq@gnome.org> 2818Date: Wed Jan 19 12:04:15 2011 +0100 2819 2820 [gi] set length when marshalling guint8 erases 2821 2822 gi/pygi-argument.c | 1 + 2823 tests/test_gi.py | 4 ++++ 2824 2 files changed, 5 insertions(+), 0 deletions(-) 2825 2826commit 22eee43e50a150ace80694213fb87be9f0c72f51 2827Author: Sebastian Pölsterl <sebp@k-d-w.org> 2828Date: Wed Jan 19 10:27:47 2011 +0100 2829 2830 Convert Gdk.Pixbuf to GdkPixbuf.Pixbuf 2831 2832 pygi-convert.sh | 1 + 2833 1 files changed, 1 insertions(+), 0 deletions(-) 2834 2835commit a4b210d69c832629894090b7154ae194209b0c60 2836Author: Arnaud Charlet <charlet@adacore.com> 2837Date: Tue Jan 18 18:31:29 2011 +0100 2838 2839 Disable calls to PyGILState_* when threads are disabled 2840 2841 Since threads may also be disabled in Python too, those symbols 2842 may not 2843 be resolved. 2844 2845 https://bugzilla.gnome.org/show_bug.cgi?id=374603 2846 2847 glib/pyglib.c | 12 ++++++++++++ 2848 gobject/pygobject-private.h | 6 ++++++ 2849 2 files changed, 18 insertions(+), 0 deletions(-) 2850 2851commit a000627ec3904b9414ce375aec8d144fc0c26248 2852Author: Martin Pitt <martin.pitt@ubuntu.com> 2853Date: Tue Jan 18 18:29:50 2011 +0100 2854 2855 pygi-convert.sh: Do not comment out set_cell_data_func() calls; 2856 these should be ported properly 2857 2858 pygi-convert.sh | 1 - 2859 1 files changed, 0 insertions(+), 1 deletions(-) 2860 2861commit 99ff4610fb5ece2fc8d2f9eba13e661968adf3f0 2862Author: Martin Pitt <martin.pitt@ubuntu.com> 2863Date: Tue Jan 18 18:26:01 2011 +0100 2864 2865 pygi-convert.sh: Fix match for adding missing imports 2866 2867 pygi-convert.sh | 8 ++++---- 2868 1 files changed, 4 insertions(+), 4 deletions(-) 2869 2870commit 3aa95011fad67df20370e92bf25236a34d7d08d3 2871Author: Martin Pitt <martin.pitt@ubuntu.com> 2872Date: Tue Jan 18 18:09:30 2011 +0100 2873 2874 pygi-convert.sh: Fix Gtk.Label handling to be idempotent 2875 2876 As we are not replacing line by line, but the whole file at once, 2877 this is a bit 2878 hackish unfortunately. We can't use a match test or a lookahead/behind 2879 assertion. 2880 2881 pygi-convert.sh | 5 +++-- 2882 1 files changed, 3 insertions(+), 2 deletions(-) 2883 2884commit 36bc1c17e7d4189059337cc6a73c64edd819ec12 2885Author: Laszlo Pandy <lpandy@src.gnome.org> 2886Date: Tue Jan 18 17:29:52 2011 +0100 2887 2888 Remove trailing whitespace from gi/overrides/Gtk.py 2889 2890 gi/overrides/Gtk.py | 10 +++++----- 2891 1 files changed, 5 insertions(+), 5 deletions(-) 2892 2893commit 8878c57676091c08e66bc6cbe735d898cb420582 2894Author: Martin Pitt <martin.pitt@ubuntu.com> 2895Date: Tue Jan 18 16:47:10 2011 +0100 2896 2897 Fix Pango FontDescription override 2898 2899 Trying to call __new__() on a record crashes with a MemoryError, 2900 so just call 2901 the intended static factory method for a None argument as well 2902 (which works 2903 just fine now). 2904 2905 gi/overrides/Pango.py | 7 +------ 2906 1 files changed, 1 insertions(+), 6 deletions(-) 2907 2908commit efbbe71634037fa100b17327389b883b259cca54 2909Author: Martin Pitt <martin.pitt@ubuntu.com> 2910Date: Tue Jan 18 16:23:39 2011 +0100 2911 2912 tests: Respect existing $GI_TYPELIB_PATH 2913 2914 This allows us to run the test suite against local typelibs. 2915 2916 tests/Makefile.am | 2 +- 2917 1 files changed, 1 insertions(+), 1 deletions(-) 2918 2919commit f56d85a7f39c2088bf9fd50b1b1e5b67c03104d3 2920Merge: 84d6142 7d997b6 2921Author: Sebastian Pölsterl <sebp@k-d-w.org> 2922Date: Tue Jan 18 13:14:45 2011 +0100 2923 2924 Merge branch 'value' 2925 2926commit 7d997b6fe88343776c4d67a9f3437ba0c4122da0 2927Author: Sebastian Pölsterl <sebp@k-d-w.org> 2928Date: Tue Jan 18 13:12:36 2011 +0100 2929 2930 GTK overrides: Do type conversion to column types of ListStore and 2931 TreeStore in set_value 2932 2933 gi/overrides/Gtk.py | 28 ++++++++++++++++++---------- 2934 tests/test_overrides.py | 12 +++++++++++- 2935 2 files changed, 29 insertions(+), 11 deletions(-) 2936 2937commit 84d6142c14a7ebfb7284d3db52e14d3393f93905 2938Author: Steve Frécinaux <code@istique.net> 2939Date: Mon Jan 17 18:57:58 2011 +0100 2940 2941 Always register a new GType when a GObject class is subclassed 2942 2943 This patch makes the GType <-> python mapping much more predictible, 2944 and fixes the bug caused by overriding methods without specifying a 2945 __gtype_name__ member in the subclass, and makes type_register useless 2946 for real :-) 2947 2948 It is still possible to provide an explicit __gtype_name__ member 2949 in the 2950 subclass as it allows having a predictible GType name, which is handy 2951 for some of our tests. There is also an explicit special case for 2952 overrides because we obviously do not want to register new GTypes for 2953 those ones as it would clearly defeat the purpose of overrides. 2954 2955 https://bugzilla.gnome.org/show_bug.cgi?id=543056 2956 2957 gobject/__init__.py | 6 +++--- 2958 tests/test_gi.py | 21 ++------------------- 2959 2 files changed, 5 insertions(+), 22 deletions(-) 2960 2961commit 30750ccef31e6c864628f418fc00e8c573d29a1b 2962Author: Simon van der Linden <svdlinden@gnome.org> 2963Date: Tue Jan 18 12:57:13 2011 +0100 2964 2965 Raise required versions of GLib and GObject-Introspection 2966 2967 https://bugzilla.gnome.org/show_bug.cgi?id=612126 2968 2969 configure.ac | 6 +++--- 2970 1 files changed, 3 insertions(+), 3 deletions(-) 2971 2972commit 761e98d32729f5894f4c75a54c65ed11329dc9d5 2973Author: Martin Pitt <martin.pitt@ubuntu.com> 2974Date: Tue Jan 18 12:52:32 2011 +0100 2975 2976 pygi-convert.sh: Handle keysyms 2977 2978 pygi-convert.sh | 1 + 2979 1 files changed, 1 insertions(+), 0 deletions(-) 2980 2981commit d62cdfa38a675c1daf3bc12d5cd769434eea5dc8 2982Author: Martin Pitt <martin.pitt@ubuntu.com> 2983Date: Tue Jan 18 12:14:09 2011 +0100 2984 2985 GLib overrides: Add test case for array variant building 2986 2987 tests/test_overrides.py | 7 +++++++ 2988 1 files changed, 7 insertions(+), 0 deletions(-) 2989 2990commit 69a78307f3762e3f54d28d98514cec7d31ff20db 2991Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 2992Date: Tue Jan 18 10:21:03 2011 +0100 2993 2994 Remove cairo.RectangleInt from the foreign module 2995 2996 https://bugzilla.gnome.org/show_bug.cgi?id=639824 2997 2998 gi/pygi-foreign-cairo.c | 96 2999 ----------------------------------------------- 3000 1 files changed, 0 insertions(+), 96 deletions(-) 3001 3002commit 017680c9a5e163021628bf29543598861a3b600a 3003Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3004Date: Tue Jan 18 10:20:25 2011 +0100 3005 3006 Dont try to guess the transfer if its a boxed 3007 3008 https://bugzilla.gnome.org/show_bug.cgi?id=639823 3009 3010 gi/pygi-invoke.c | 5 ++++- 3011 1 files changed, 4 insertions(+), 1 deletions(-) 3012 3013commit 771ef76574690eb98926249f38661d741d1ebbb0 3014Author: Ignacio Casal Quinteiro <icq@gnome.org> 3015Date: Tue Jan 18 12:02:01 2011 +0100 3016 3017 The tags can be Empty not None. 3018 3019 gi/overrides/Gtk.py | 2 +- 3020 1 files changed, 1 insertions(+), 1 deletions(-) 3021 3022commit b1a98083cdc50653e1d7bfb809bdf089f833df3d 3023Author: Martin Pitt <martin.pitt@ubuntu.com> 3024Date: Tue Jan 18 12:01:28 2011 +0100 3025 3026 Add Pythonic iterators and indexing to GVariant 3027 3028 Add the usual set of iterators and index accessors to GLib.Variant 3029 objects 3030 which are containers. 3031 3032 Add corresponding test cases. 3033 3034 gi/overrides/GLib.py | 50 ++++++++++++++++++++++++++++++++++++++++++ 3035 tests/test_overrides.py | 55 3036 +++++++++++++++++++++++++++++++++++++++++++++++ 3037 2 files changed, 105 insertions(+), 0 deletions(-) 3038 3039commit ecb9f824c503c529d43e585b4cdb4c1c9ab14593 3040Author: Martin Pitt <martin.pitt@ubuntu.com> 3041Date: Tue Jan 18 10:48:03 2011 +0100 3042 3043 Add GLib.Variant.unpack() 3044 3045 This method decomposes a GLib.Variant into a native Python object, 3046 i. e. the 3047 counterpart of _VariantCreator. This makes it a lot nicer for 3048 application 3049 developers to use e. g. return values from gdbus calls. 3050 3051 Add appropriate test case. 3052 3053 gi/overrides/GLib.py | 45 3054 +++++++++++++++++++++++++++++++++++++++++++++ 3055 tests/test_overrides.py | 33 ++++++++++++++++++++++++++++++++- 3056 2 files changed, 77 insertions(+), 1 deletions(-) 3057 3058commit 31c73dee34a52fd22b5ff3a23adce92cea5ddc3d 3059Author: Ignacio Casal Quinteiro <icq@gnome.org> 3060Date: Tue Jan 18 10:56:18 2011 +0100 3061 3062 Add override for gtk_text_buffer_insert_with_tags 3063 3064 gi/overrides/Gtk.py | 12 ++++++++++++ 3065 tests/test_overrides.py | 6 ++++++ 3066 2 files changed, 18 insertions(+), 0 deletions(-) 3067 3068commit fc7d7f7f153d57ff3866b7bfd5e6479d702cc4d9 3069Author: Simon van der Linden <svdlinden@gnome.org> 3070Date: Mon Jan 17 14:35:14 2011 +0100 3071 3072 Deduce PYTHON_LIBS in addition to PYTHON_INCLUDES 3073 3074 https://bugzilla.gnome.org/show_bug.cgi?id=620215 3075 3076 gi/Makefile.am | 6 ++++-- 3077 gio/Makefile.am | 2 +- 3078 glib/Makefile.am | 2 +- 3079 m4/python.m4 | 7 +++++-- 3080 tests/Makefile.am | 2 +- 3081 5 files changed, 12 insertions(+), 7 deletions(-) 3082 3083commit bceec758b27e6c396d17a79424633b5dc9116f54 3084Author: Simon van der Linden <svdlinden@gnome.org> 3085Date: Mon Jan 17 14:20:55 2011 +0100 3086 3087 Kill JD_CHECK_PYTHON_HEADERS 3088 3089 Use AM_CHECK_PYTHON_HEADERS instead, which is identical. 3090 3091 https://bugzilla.gnome.org/show_bug.cgi?id=620215 3092 3093 configure.ac | 2 +- 3094 m4/python.m4 | 31 +------------------------------ 3095 2 files changed, 2 insertions(+), 31 deletions(-) 3096 3097commit e2dea065da94d17a915abe1ce4671b1dc48e02c0 3098Author: Sebastian Pölsterl <sebp@k-d-w.org> 3099Date: Mon Jan 17 19:09:27 2011 +0100 3100 3101 Revert "Override Gtk.Box.pack_start and pack_end to set default 3102 values to be compliant with pygtk" 3103 3104 This reverts commit a8c727b9c4195d8085a45661683a18614ae84485. 3105 3106 Conflicts: 3107 3108 gi/overrides/Gtk.py 3109 3110 gi/overrides/Gtk.py | 10 ---------- 3111 1 files changed, 0 insertions(+), 10 deletions(-) 3112 3113commit 4fbae9629adc166627de05bb0946b71485343d69 3114Author: Sebastian Pölsterl <sebp@k-d-w.org> 3115Date: Mon Jan 17 19:08:23 2011 +0100 3116 3117 Revert "Override Gtk.CellLayout.pack_start and pack_end to add 3118 default values to be compliant with pygtk" 3119 3120 This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a. 3121 3122 gi/overrides/Gtk.py | 13 ++----------- 3123 1 files changed, 2 insertions(+), 11 deletions(-) 3124 3125commit c054f0aca67952876b3519bb75ddc62c5517f7cb 3126Author: Sebastian Pölsterl <sebp@k-d-w.org> 3127Date: Mon Jan 17 19:08:06 2011 +0100 3128 3129 Revert "Override Gtk.TreeViewColumn.pack_start, pack_end and 3130 set_cell_data_func to add default values to be compliant with pygtk" 3131 3132 This reverts commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599. 3133 3134 gi/overrides/Gtk.py | 9 --------- 3135 1 files changed, 0 insertions(+), 9 deletions(-) 3136 3137commit 2d9534f347505573da46743b47318e08bf073aef 3138Author: Martin Pitt <martin.pitt@ubuntu.com> 3139Date: Mon Jan 17 18:54:10 2011 +0100 3140 3141 pygi-convert.sh: Handle gtk.combo_box_new_text() 3142 3143 pygi-convert.sh | 1 + 3144 1 files changed, 1 insertions(+), 0 deletions(-) 3145 3146commit 914d3a0a29680f4d3aa0e1f8afdd625b017b013a 3147Author: Sebastian Pölsterl <sebp@k-d-w.org> 3148Date: Mon Jan 17 16:57:53 2011 +0100 3149 3150 Override TreeSortable.set_sort_func and set_default_sort_func to 3151 add default values to be pygtk compliant 3152 3153 gi/overrides/Gtk.py | 6 ++++++ 3154 1 files changed, 6 insertions(+), 0 deletions(-) 3155 3156commit ed7e7a8f22b1481acf78c0c2e4c489dbad72f599 3157Author: Sebastian Pölsterl <sebp@k-d-w.org> 3158Date: Mon Jan 17 16:29:28 2011 +0100 3159 3160 Override Gtk.TreeViewColumn.pack_start, pack_end and 3161 set_cell_data_func to add default values to be compliant with pygtk 3162 3163 gi/overrides/Gtk.py | 9 +++++++++ 3164 1 files changed, 9 insertions(+), 0 deletions(-) 3165 3166commit 232841148f35684be83a2f47b5b18da4fb74f63a 3167Author: Sebastian Pölsterl <sebp@k-d-w.org> 3168Date: Mon Jan 17 16:28:51 2011 +0100 3169 3170 Override Gtk.CellLayout.pack_start and pack_end to add default values 3171 to be compliant with pygtk 3172 3173 gi/overrides/Gtk.py | 13 +++++++++++-- 3174 1 files changed, 11 insertions(+), 2 deletions(-) 3175 3176commit 1dec12826753756fcadefc8ef8c756fc902c320b 3177Author: Sebastian Pölsterl <sebp@k-d-w.org> 3178Date: Mon Jan 17 15:54:32 2011 +0100 3179 3180 Override Gtk.Paned pack1 and pack2 to add default values to be 3181 compliant with pygtk 3182 3183 gi/overrides/Gtk.py | 10 ++++++++++ 3184 1 files changed, 10 insertions(+), 0 deletions(-) 3185 3186commit a8c727b9c4195d8085a45661683a18614ae84485 3187Author: Sebastian Pölsterl <sebp@k-d-w.org> 3188Date: Mon Jan 17 15:46:25 2011 +0100 3189 3190 Override Gtk.Box.pack_start and pack_end to set default values to 3191 be compliant with pygtk 3192 3193 gi/overrides/Gtk.py | 10 ++++++++++ 3194 1 files changed, 10 insertions(+), 0 deletions(-) 3195 3196commit 7cc8ac35bb0d8dbf7d66f014f8cd7ff070b3acb8 3197Author: Steve Frécinaux <code@istique.net> 3198Date: Wed Aug 4 00:30:05 2010 +0200 3199 3200 Handle GObject subclasses in the property helper. 3201 3202 https://bugzilla.gnome.org/show_bug.cgi?id=625982 3203 3204 gobject/propertyhelper.py | 26 +++++++++++++------------- 3205 tests/test_properties.py | 9 +++++++++ 3206 2 files changed, 22 insertions(+), 13 deletions(-) 3207 3208commit 7a0548dbfbdfe481f75315b6bc7824a9f1a8a87b 3209Author: Martin Pitt <martin.pitt@ubuntu.com> 3210Date: Mon Jan 17 17:52:15 2011 +0100 3211 3212 Fix handling of unicode for GtkTreeModels 3213 3214 The code previously converted an unicode object into unicode, but 3215 in Python 2.X 3216 models actually have to specify 'str' (GTK expects a gchararray). So 3217 encode to 3218 UTF-8 instead to get what GTK expects. 3219 3220 Add corresponding test case. 3221 3222 gi/overrides/Gtk.py | 2 +- 3223 tests/test_overrides.py | 12 +++++++++++- 3224 2 files changed, 12 insertions(+), 2 deletions(-) 3225 3226commit 09c21c79fb6063c8451f53d4588363d2be7239f4 3227Author: Laszlo Pandy <lpandy@src.gnome.org> 3228Date: Mon Jan 17 16:46:08 2011 +0100 3229 3230 In IntrospectionModule and DynamicModule classes, make all instance 3231 attributes start with an underscore. 3232 3233 This changes IntrospectionModule.version to _version and 3234 DynamicModule.introspection_module to _introspection_module. 3235 This is done to mark the attributes as private, and also avoid name 3236 collisions with attributes from the typelib. 3237 In Gstreamer, there is a function gst_version, which was previously 3238 inaccessible because of IntrospectionModule.version overriding it. 3239 3240 gi/module.py | 26 +++++++++++++------------- 3241 gi/overrides/GIMarshallingTests.py | 2 +- 3242 gi/overrides/GLib.py | 2 +- 3243 gi/overrides/Gdk.py | 10 +++++----- 3244 gi/overrides/Gtk.py | 2 +- 3245 gi/overrides/Pango.py | 2 +- 3246 gi/overrides/__init__.py | 2 +- 3247 tests/test_everything.py | 2 +- 3248 8 files changed, 24 insertions(+), 24 deletions(-) 3249 3250commit 2c70beca9e76e4dc253453c556e6985ce59a3dd9 3251Author: Laszlo Pandy <lpandy@src.gnome.org> 3252Date: Mon Jan 17 16:17:25 2011 +0100 3253 3254 Amend previous enum wrapping commit to remove redundant setting of 3255 __info__ attribute. 3256 3257 gi/module.py | 2 +- 3258 gi/types.py | 6 +++--- 3259 2 files changed, 4 insertions(+), 4 deletions(-) 3260 3261commit 6fbb6be5a5d0d9cd43e1504b8dda5aa75feb95ca 3262Author: Martin Pitt <martin.pitt@ubuntu.com> 3263Date: Mon Jan 17 16:16:45 2011 +0100 3264 3265 pygi-convert.sh: Handle GdkPixbuf.InterpType 3266 3267 pygi-convert.sh | 2 ++ 3268 1 files changed, 2 insertions(+), 0 deletions(-) 3269 3270commit 66a5784f4ab5de5b6d8d51eb4ce869fa26f6a601 3271Author: Laszlo Pandy <laszlok2@gmail.com> 3272Date: Mon Jan 17 15:43:34 2011 +0100 3273 3274 Fix wrapping of enums: Create new Python type for each non-gtype enum. 3275 3276 Previously non-gtype enums used the same class, which meant they 3277 were all the same type. 3278 This caused another problem that since they were all the same class, 3279 attributes from different enums were available from each other. 3280 3281 A new test case is created to check for this bug. It requires a new 3282 enum from the GIMarshallingTests (updating gobject-introspection 3283 will be required). 3284 3285 gi/module.py | 2 +- 3286 gi/types.py | 2 ++ 3287 tests/test_gi.py | 10 ++++++++++ 3288 3 files changed, 13 insertions(+), 1 deletions(-) 3289 3290commit da50d5620a42046d4fc905bb28a0890d73533cb1 3291Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3292Date: Mon Dec 13 18:03:51 2010 +0100 3293 3294 Use g_vfunc_info_invoke for chaining up in vfuncs 3295 3296 https://bugzilla.gnome.org/show_bug.cgi?id=637165 3297 3298 gi/pygi-info.c | 4 +- 3299 gi/pygi-invoke.c | 72 3300 +++++++++++++++++++++++++++++++++++++++++------------ 3301 gi/pygi-invoke.h | 3 +- 3302 gi/types.py | 28 ++++++++++++++++++++- 3303 tests/test_gi.py | 5 ++- 3304 5 files changed, 89 insertions(+), 23 deletions(-) 3305 3306commit 8ceef79c98a1c2e22ed8ab655ef1169f1763dd23 3307Author: Simon van der Linden <svdlinden@gnome.org> 3308Date: Fri Dec 31 18:38:04 2010 +0100 3309 3310 Move pyglib_{main_context, option_context, option_group}_new into 3311 _PyGLib_API 3312 3313 _PyG{MainContext, OptionContext, and OptionGroup_Type} were not 3314 be initialized 3315 when used inside the glib module, since pyglib_init is not called. 3316 3317 pyglib.c is compiled as a stand-alone library loaded by the _glib 3318 module that 3319 declares the above-mentioned types. Hence, they cannot be accessed 3320 by the 3321 former. This patch moves the functions that need those symbols 3322 into the 3323 glib._glib module and exports them to the pyglib library through 3324 _PyGLib_API. 3325 3326 https://bugzilla.gnome.org/show_bug.cgi?id=636656 3327 3328 glib/glibmodule.c | 5 +++- 3329 glib/pyglib-private.h | 3 ++ 3330 glib/pyglib.c | 48 3331 ++-------------------------------------------- 3332 glib/pygmaincontext.c | 22 +++++++++++++++++++++ 3333 glib/pygmaincontext.h | 2 +- 3334 glib/pygmainloop.c | 2 +- 3335 glib/pygoptioncontext.c | 21 ++++++++++++++++++++ 3336 glib/pygoptioncontext.h | 2 + 3337 glib/pygoptiongroup.c | 26 +++++++++++++++++++++++++ 3338 glib/pygoptiongroup.h | 2 + 3339 glib/pygsource.c | 2 +- 3340 11 files changed, 86 insertions(+), 49 deletions(-) 3341 3342commit 17caffe4eeefeaf33a56ececbc6c7454f60b9d76 3343Author: Martin Pitt <martin.pitt@ubuntu.com> 3344Date: Mon Jan 17 14:51:26 2011 +0100 3345 3346 pygi-convert.sh: Handle Gdk.DragAction 3347 3348 pygi-convert.sh | 1 + 3349 1 files changed, 1 insertions(+), 0 deletions(-) 3350 3351commit aa390aa80f06ac83ec89e5c5ee143d21ace97917 3352Author: Martin Pitt <martin.pitt@ubuntu.com> 3353Date: Mon Jan 17 14:46:58 2011 +0100 3354 3355 pygi-convert.sh: Generalize Gtk.Settings migration 3356 3357 There are other GSettings.get_* functions like get_for_screen(). 3358 3359 pygi-convert.sh | 2 +- 3360 1 files changed, 1 insertions(+), 1 deletions(-) 3361 3362commit 2e6d5bb49425e6087ca61765ecb72e7a760f2ab2 3363Author: Martin Pitt <martin.pitt@ubuntu.com> 3364Date: Mon Jan 17 11:22:46 2011 +0100 3365 3366 pygi-convert.sh: Don't change the name of "glib" submodules 3367 3368 This particular affects dbus.mainloop.glib.* 3369 3370 pygi-convert.sh | 2 +- 3371 1 files changed, 1 insertions(+), 1 deletions(-) 3372 3373commit 3887b030fc19d25e0cd7b4ed504f4ed23363c3d6 3374Author: Paolo Borelli <pborelli@gnome.org> 3375Date: Sun Jan 16 22:09:56 2011 +0100 3376 3377 Plug another memory leak 3378 3379 Do not leak interface info in (g|s)_et_property. 3380 3381 gi/pygi-property.c | 4 ++++ 3382 1 files changed, 4 insertions(+), 0 deletions(-) 3383 3384commit a4950b4cbb3c7567a8586061bb361adb7d9afb98 3385Author: Paolo Borelli <pborelli@gnome.org> 3386Date: Sun Jan 16 21:43:30 2011 +0100 3387 3388 Plug a small memory leak. 3389 3390 Do not leak type_info in find_vfunc_info 3391 3392 gi/gimodule.c | 10 +++++----- 3393 1 files changed, 5 insertions(+), 5 deletions(-) 3394 3395commit d0cbcc45366d40702c69cef207d3c0f361260c02 3396Author: Paolo Borelli <pborelli@gnome.org> 3397Date: Sun Jan 16 12:16:31 2011 +0100 3398 3399 Override Table.attach() to behave like pygtk 3400 3401 It is fairly common and even gtk itself still has attach_defaults. 3402 3403 gi/overrides/Gtk.py | 3 +++ 3404 tests/test_overrides.py | 4 ++++ 3405 2 files changed, 7 insertions(+), 0 deletions(-) 3406 3407commit 6409d659326bf3cefdf6051379e8bc2031f16733 3408Author: Martin Pitt <martin.pitt@ubuntu.com> 3409Date: Sat Jan 15 11:20:23 2011 -0600 3410 3411 pygi-convert.sh: Convert Pango.WrapMode 3412 3413 pygi-convert.sh | 1 + 3414 1 files changed, 1 insertions(+), 0 deletions(-) 3415 3416commit 6aaa6a38198e84a189ca1e8d26b1871d5b6bb711 3417Author: Martin Pitt <martin.pitt@ubuntu.com> 3418Date: Sat Jan 15 11:17:09 2011 -0600 3419 3420 pygi-convert.sh: Don't change the name of "gtk" submodules 3421 3422 Some projects have local modules like "myproject.ui.gtk". Avoid 3423 changing those, 3424 just change module names which start with "gtk" or "gdk". 3425 3426 pygi-convert.sh | 4 ++-- 3427 1 files changed, 2 insertions(+), 2 deletions(-) 3428 3429commit c36fbf4918c8557a8e274a12004a412da3b22b2c 3430Author: Laszlo Pandy <git@laszlopandy.com> 3431Date: Tue Jan 11 21:41:47 2011 +0100 3432 3433 Fix the __dir__() methods on DynamicModule and IntrospectionModule 3434 3435 Previously the __dir__() methods did not list all attributes. 3436 A simple test case is included. It does not test to see if 3437 every attribute is listed, it just tests a few of each kind: 3438 - (wrapped) typelib attributes 3439 - class attributes and methods 3440 - instance attributes 3441 3442 A set() is used to avoid returning duplicate attributes. 3443 The test case checks for this as well. 3444 3445 https://bugzilla.gnome.org/show_bug.cgi?id=639229 3446 3447 gi/module.py | 28 +++++++++++++++++++++------- 3448 tests/test_everything.py | 18 ++++++++++++++++++ 3449 2 files changed, 39 insertions(+), 7 deletions(-) 3450 3451commit 1679e6af3f212e4d4644e048dc3c6177ed3fac6b 3452Author: Paolo Borelli <pborelli@gnome.org> 3453Date: Thu Jan 13 00:02:20 2011 +0100 3454 3455 pygi-convert.sh: handle ReliefStyle 3456 3457 pygi-convert.sh | 1 + 3458 1 files changed, 1 insertions(+), 0 deletions(-) 3459 3460commit bd002c72675d35b5e60ab773181e7c36c30d2625 3461Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3462Date: Tue Jan 11 22:21:18 2011 +0100 3463 3464 setup.py: fix the provides keyword argument 3465 3466 setup.py | 2 +- 3467 1 files changed, 1 insertions(+), 1 deletions(-) 3468 3469commit 59dac72d0fa8e1d68bbbc13d76c2747f1cb11857 3470Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3471Date: Tue Jan 11 22:19:18 2011 +0100 3472 3473 setup.py: use the same spaces-less format for all setup() parameters 3474 3475 setup.py | 8 ++++---- 3476 1 files changed, 4 insertions(+), 4 deletions(-) 3477 3478commit 4992dca9f5cea68d85eb2ed86105c9c6b8311d79 3479Author: Laszlo Pandy <laszlok2@gmail.com> 3480Date: Tue Jan 11 19:30:38 2011 +0100 3481 3482 Add a __repr__() method to DynamicModule. 3483 3484 This patch adds a __repr__() method to DynamicModule so that modules 3485 provide a 3486 meaningful string with the typelib path included: 3487 3488 >>> from gi.repository import Gtk 3489 >>> Gtk 3490 <gi.module.DynamicModule 'Gtk' from 3491 '/home/laszlo/Dev/gnome-jh-install/lib64/girepository-1.0/Gtk-3.0.typelib'> 3492 3493 https://bugzilla.gnome.org/show_bug.cgi?id=639232 3494 3495 gi/module.py | 9 +++++++++ 3496 1 files changed, 9 insertions(+), 0 deletions(-) 3497 3498commit 2ffaec59e7349c145a0e2a5edba2ffb7d8628369 3499Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3500Date: Tue Jan 11 19:40:19 2011 +0100 3501 3502 Go back to using getattr() in DynamicModule.__getattr__ 3503 3504 Breaks marshalling of some types 3505 3506 gi/module.py | 2 +- 3507 1 files changed, 1 insertions(+), 1 deletions(-) 3508 3509commit 52a298cc0f05ceec96457f17f9a801e9838fb757 3510Author: Laszlo Pandy <laszlok2@gmail.com> 3511Date: Tue Jan 11 19:26:50 2011 +0100 3512 3513 Change __dir__() to report all the attributes that __getattr__ 3514 supports 3515 3516 Change DynamicModule.__dir__() to return the local class members as 3517 well as the 3518 typelib attributes. 3519 3520 Change DynamicModule.__getattr__() to call 3521 IntrospectionModule.__getattr__() 3522 directly, so that it won't inadvertently return class attributes from 3523 IntrospectionModule. 3524 3525 https://bugzilla.gnome.org/show_bug.cgi?id=639229 3526 3527 gi/module.py | 10 +++++++--- 3528 1 files changed, 7 insertions(+), 3 deletions(-) 3529 3530commit 202a268db7f98f5a3c525c6e65ec4bff1917257e 3531Author: Emilio Pozuelo Monfort <pochu27@gmail.com> 3532Date: Sat Jan 8 02:19:52 2011 +0000 3533 3534 Bump the minimum gio dependency 3535 3536 Needed for G_TYPE_CONVERTER_FLAGS and others. 3537 3538 configure.ac | 2 +- 3539 1 files changed, 1 insertions(+), 1 deletions(-) 3540 3541commit c3aa36151fdef9ed9884d93114786bbe86387983 3542Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3543Date: Fri Jan 7 12:58:11 2011 +0100 3544 3545 Add test for incorrect attributes in Gdk.Event 3546 3547 tests/test_overrides.py | 4 ++++ 3548 1 files changed, 4 insertions(+), 0 deletions(-) 3549 3550commit 204b45c7e95eb50d9e3843127fb10e13b1b17fee 3551Author: Simon van der Linden <svdlinden@gnome.org> 3552Date: Sun Jan 2 19:25:55 2011 +0100 3553 3554 Don't call getattr again in gi.overrides.Gdk.Event.__getattr__ 3555 3556 __getattr__ is only called when the attribute is not found through 3557 the normal 3558 mechanism, so getattr must not be called again in __getattr__ 3559 (which would 3560 create an infinite loop). 3561 3562 Another possibility would be to implement __getattribute__ instead, 3563 which is 3564 called in place of the normal mechanism. In that case, calling 3565 getattr would be 3566 needed for normal attributes. 3567 3568 https://bugzilla.gnome.org/show_bug.cgi?id=638523 3569 3570 gi/overrides/Gdk.py | 2 +- 3571 1 files changed, 1 insertions(+), 1 deletions(-) 3572 3573commit 6cf298ca5565d0eb99824f050ff47407e50a5c01 3574Author: Mike Gorse <mgorse@novell.com> 3575Date: Fri Jan 7 09:08:31 2011 +0100 3576 3577 Release allocated array of arguments when handling closures 3578 3579 https://bugzilla.gnome.org/show_bug.cgi?id=638847 3580 3581 gi/pygi-closure.c | 3 +++ 3582 1 files changed, 3 insertions(+), 0 deletions(-) 3583 3584commit 1be76d5e006efa24598ff7bf26153660dbe0a890 3585Author: Mike Gorse <mgorse@novell.com> 3586Date: Fri Jan 7 09:07:35 2011 +0100 3587 3588 Release GIValueInfo when checking an enum argument 3589 3590 https://bugzilla.gnome.org/show_bug.cgi?id=638847 3591 3592 gi/pygi-argument.c | 1 + 3593 1 files changed, 1 insertions(+), 0 deletions(-) 3594 3595commit 8d5a7857876669f56bb03bf618bcfdcc290721c0 3596Author: Eitan Isaacson <eitan@monotonous.org> 3597Date: Wed Dec 22 12:34:10 2010 -0800 3598 3599 Respect different type lengths when assigning out-argument pointers. 3600 3601 https://bugzilla.gnome.org/show_bug.cgi?id=637832 3602 3603 gi/pygi-closure.c | 66 3604 +++++++++++++++++++++++++++++++++++++++++++++-------- 3605 1 files changed, 56 insertions(+), 10 deletions(-) 3606 3607commit f14976ffabec28f6cafe1e37dc81d207a947d4ca 3608Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3609Date: Tue Dec 28 18:34:25 2010 +0100 3610 3611 Fix stupid name clash 3612 3613 gi/module.py | 7 +++++-- 3614 1 files changed, 5 insertions(+), 2 deletions(-) 3615 3616commit 01b2a193d403beb861eab524300b4f1af63157ce 3617Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3618Date: Tue Dec 28 13:49:18 2010 +0100 3619 3620 Add /usr/share to XDG_DATA_DIRS when running the tests 3621 3622 tests/Makefile.am | 7 ++++++- 3623 1 files changed, 6 insertions(+), 1 deletions(-) 3624 3625commit efc186f692f9eac781cc47456be74a3da7f14dcd 3626Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3627Date: Tue Dec 28 13:25:34 2010 +0100 3628 3629 Comment out tests that require SRV lookups 3630 3631 tests/test_gresolver.py | 5 ++++- 3632 1 files changed, 4 insertions(+), 1 deletions(-) 3633 3634commit d2462cc1ab51d76fb4625c47c3d34de1d5d0dee8 3635Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3636Date: Tue Dec 28 13:00:16 2010 +0100 3637 3638 Use suppresion file when running valgrind 3639 3640 tests/Makefile.am | 2 +- 3641 tests/python.supp | 387 3642 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3643 2 files changed, 388 insertions(+), 1 deletions(-) 3644 3645commit 0ee58113ecbea72784c52de928c041fc8fc88984 3646Author: Ignacio Casal Quinteiro <icq@gnome.org> 3647Date: Thu Dec 23 00:10:41 2010 +0100 3648 3649 Fix warnings. 3650 3651 gi/pygi-argument.c | 16 +++++++--------- 3652 gi/pygi-foreign-cairo.c | 13 ++----------- 3653 gio/gfile.override | 5 ++--- 3654 glib/pyglib-python-compat.h | 3 +++ 3655 glib/pyglib.c | 2 +- 3656 glib/pygmainloop.c | 3 ++- 3657 6 files changed, 17 insertions(+), 25 deletions(-) 3658 3659commit 78ea84cd91392400ebac5a361ef8793bfe928fd0 3660Author: Jesse van den Kieboom <jesse.vandenkieboom@epfl.ch> 3661Date: Sun Dec 19 23:10:57 2010 +0100 3662 3663 Allow comparing Gtk.TreePath to None 3664 3665 https://bugzilla.gnome.org/show_bug.cgi?id=637615 3666 3667 gi/overrides/Gtk.py | 12 ++++++------ 3668 tests/test_overrides.py | 6 ++++++ 3669 2 files changed, 12 insertions(+), 6 deletions(-) 3670 3671commit 046cc5915286e042d1040271a90676b77632409e 3672Author: John (J5) Palmieri <johnp@redhat.com> 3673Date: Thu Dec 16 15:41:10 2010 -0500 3674 3675 handle unicode objects in properties 3676 3677 * There are still some cavets in Python 2: 3678 - properties are returned as String objects with the unicode 3679 code points 3680 - you must add # coding=utf-8 to the top of your python file 3681 or python 3682 will error out if it sees embeded unicode charaters (such as when 3683 supporting python 3 and python 2 from the same source) 3684 3685 https://bugzilla.gnome.org/show_bug.cgi?id=620579 3686 3687 gobject/pygtype.c | 35 ++++++++++++++++++++++++++--------- 3688 tests/test_properties.py | 16 ++++++++++++++++ 3689 2 files changed, 42 insertions(+), 9 deletions(-) 3690 3691commit 7aa783d5cd674f34da318f826bd5f4a0e09d24cb 3692Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3693Date: Tue Dec 14 12:29:54 2010 +0100 3694 3695 dsextras.py: check if gcc is there when platform is win32 and compiler 3696 is mingw32 3697 3698 dsextras.py | 6 ++++++ 3699 1 files changed, 6 insertions(+), 0 deletions(-) 3700 3701commit cebf5f09a6c5018ced64f35e7747fc81b93b823e 3702Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3703Date: Tue Dec 14 12:29:01 2010 +0100 3704 3705 dsextras.py: be consistent in how distutils imports are done 3706 3707 dsextras.py | 6 +++--- 3708 1 files changed, 3 insertions(+), 3 deletions(-) 3709 3710commit 35e590d48c78f2e76c47c2b4eaf0f7e8d1ed5c93 3711Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3712Date: Tue Dec 14 12:25:07 2010 +0100 3713 3714 dsextras.py: add have_gcc() function 3715 3716 dsextras.py | 5 +++++ 3717 1 files changed, 5 insertions(+), 0 deletions(-) 3718 3719commit 637c2c287cfb0e89365026531c651111f5593ac7 3720Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3721Date: Tue Dec 14 12:24:41 2010 +0100 3722 3723 dsextras.py: use distutils.spawn.find_executable for have_pkgconfig() 3724 3725 dsextras.py | 8 ++------ 3726 1 files changed, 2 insertions(+), 6 deletions(-) 3727 3728commit 020d00bc0ce7b77006b4d4f42d63122d79bcbf89 3729Author: Dieter Verfaillie <dieterv@optionexplicit.be> 3730Date: Tue Dec 14 12:22:54 2010 +0100 3731 3732 setup.py: fix another case of use True/False instead of 1/0 3733 3734 setup.py | 2 +- 3735 1 files changed, 1 insertions(+), 1 deletions(-) 3736 3737commit b03cc9e0d66d8caea3cd6a63db198c43de9267e9 3738Author: Paolo Borelli <pborelli@gnome.org> 3739Date: Mon Dec 13 10:21:52 2010 +0100 3740 3741 pygi-convert.sh: improve GtkSourceView conversion 3742 3743 pygi-convert.sh | 7 +++++++ 3744 1 files changed, 7 insertions(+), 0 deletions(-) 3745 3746commit fbc12cd7c09a67de9e28b7b0b28de9dc0e0e3418 3747Author: Paolo Borelli <pborelli@gnome.org> 3748Date: Mon Dec 13 10:27:56 2010 +0100 3749 3750 pygi-convert.sh: Gtk.DialogFlags conversion 3751 3752 pygi-convert.sh | 1 + 3753 1 files changed, 1 insertions(+), 0 deletions(-) 3754 3755commit 73e933d2429aea4d14e15350a538da1c5c3f71eb 3756Author: José Alburquerque <jaalburqu@svn.gnome.org> 3757Date: Sun Dec 12 20:38:46 2010 -0500 3758 3759 Doc Extractor: Print the gtk-doc blocks sorted by function name. 3760 3761 * codegen/docextract_to_xml.py: Print the xml of the gtk-doc 3762 block in 3763 alphabetical order according to the identifier (function name) 3764 so that 3765 the generation of xml files in the C++ bindings is deterministic. 3766 Thanks to Krzesimir Nowak for suggesting this in a gtksourceviewmm 3767 recent commit. 3768 3769 codegen/docextract_to_xml.py | 2 +- 3770 1 files changed, 1 insertions(+), 1 deletions(-) 3771 3772commit db7ffa75b007074cb6b33b547c6d8140da300a3e 3773Author: Paolo Borelli <pborelli@gnome.org> 3774Date: Mon Dec 13 00:17:26 2010 +0100 3775 3776 pygi-convert.sh: add more Gtk conversions and sort 3777 3778 pygi-convert.sh | 50 ++++++++++++++++++++++++++------------------------ 3779 1 files changed, 26 insertions(+), 24 deletions(-) 3780 3781commit f4bfe73d0ccedf7f671d3acd6d9e262d5383b733 3782Author: Paolo Borelli <pborelli@gnome.org> 3783Date: Mon Dec 13 00:01:40 2010 +0100 3784 3785 pygi-convert.sh: convert Atk 3786 3787 pygi-convert.sh | 12 ++++++++++++ 3788 1 files changed, 12 insertions(+), 0 deletions(-) 3789 3790commit e55ce3667eb1d352bf96f265bf018ffe8aea75f9 3791Author: Paolo Borelli <pborelli@gnome.org> 3792Date: Sun Dec 12 23:48:48 2010 +0100 3793 3794 pygi-convert.sh: convert a few more Gio types 3795 3796 pygi-convert.sh | 9 +++++++++ 3797 1 files changed, 9 insertions(+), 0 deletions(-) 3798 3799commit acc9f84bc6e13d76c6516cefe393d4a4f868aa24 3800Author: Paolo Borelli <pborelli@gnome.org> 3801Date: Sun Dec 12 14:19:00 2010 +0100 3802 3803 pygi-convert.sh: more GLib conversion 3804 3805 pygi-convert.sh | 7 +++++++ 3806 1 files changed, 7 insertions(+), 0 deletions(-) 3807 3808commit c903390814bebdc62d530472f6f94feecc59b8b3 3809Author: Paolo Borelli <pborelli@gnome.org> 3810Date: Sun Dec 12 14:00:34 2010 +0100 3811 3812 pygi-convert.sh: remove two cases handled by overrides 3813 3814 pygi-convert.sh | 2 -- 3815 1 files changed, 0 insertions(+), 2 deletions(-) 3816 3817commit d33c987e505ec8ddffa2b8cb5526f05b9b5f62be 3818Author: Paolo Borelli <pborelli@gnome.org> 3819Date: Sun Dec 12 13:38:56 2010 +0100 3820 3821 Override Gtk.ScrolledWindow constructor 3822 3823 gi/overrides/Gtk.py | 7 +++++++ 3824 tests/test_overrides.py | 7 +++++++ 3825 2 files changed, 14 insertions(+), 0 deletions(-) 3826 3827commit 1c24bb089fcd69e3104ae72a0e7560a8c5a3f05b 3828Author: Paolo Borelli <pborelli@gnome.org> 3829Date: Sun Dec 12 12:32:39 2010 +0100 3830 3831 pygi-convert.sh: Fix 'find' syntax 3832 3833 pygi-convert.sh | 2 +- 3834 1 files changed, 1 insertions(+), 1 deletions(-) 3835 3836commit f0a1d6b6bb53d0fa2788d8b9027d737b0aef8dfc 3837Author: Paolo Borelli <pborelli@gnome.org> 3838Date: Sun Dec 12 12:29:38 2010 +0100 3839 3840 pygi-convert.sh: start handling Gio and GLib 3841 3842 pygi-convert.sh | 8 ++++++++ 3843 1 files changed, 8 insertions(+), 0 deletions(-) 3844 3845commit 365bf3251af3498dc797a58cce071805451b49b1 3846Author: Paolo Borelli <pborelli@gnome.org> 3847Date: Sat Dec 11 23:05:31 2010 +0100 3848 3849 pygi-convert.sh: convert Gdk.ScrollDirection. 3850 3851 pygi-convert.sh | 1 + 3852 1 files changed, 1 insertions(+), 0 deletions(-) 3853 3854commit bca603de0f217fb290189a0ea330f82961c46d5d 3855Author: Paolo Borelli <pborelli@gnome.org> 3856Date: Sat Dec 11 15:03:21 2010 +0100 3857 3858 Override Pango.Layout constructor. 3859 3860 I must take a Pango.Context argument. Unfortumately the context is 3861 not a 3862 gobject property so we need to jump through some oops. 3863 3864 gi/overrides/Pango.py | 13 +++++++++++++ 3865 tests/test_overrides.py | 6 ++++++ 3866 2 files changed, 19 insertions(+), 0 deletions(-) 3867 3868commit df233301802e3f7f9ce338cde015ca2a2fc648ab 3869Author: Paolo Borelli <pborelli@gnome.org> 3870Date: Sat Dec 11 14:18:53 2010 +0100 3871 3872 Remove Pango.FontDescription() conversion. 3873 3874 It is now properly handled by an override. 3875 3876 pygi-convert.sh | 1 - 3877 1 files changed, 0 insertions(+), 1 deletions(-) 3878 3879commit d8abcc9463542af9cd43d71849d0ad4c183b570b 3880Author: Paolo Borelli <pborelli@gnome.org> 3881Date: Fri Dec 10 14:05:20 2010 +0100 3882 3883 Override GtkAction and GtkRadioAction constructors. 3884 3885 gi/overrides/Gtk.py | 20 +++++++++++++++++--- 3886 tests/test_overrides.py | 18 ++++++++++++++++++ 3887 2 files changed, 35 insertions(+), 3 deletions(-) 3888 3889commit 7924b18a99a0680c04aca46be4b64a7aa507dfe5 3890Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com> 3891Date: Sat Dec 4 22:13:28 2010 +0000 3892 3893 Override Adjustment constructor to behave like pygtk 3894 3895 https://bugzilla.gnome.org/show_bug.cgi?id=636486 3896 3897 gi/overrides/Gtk.py | 7 +++++++ 3898 tests/test_overrides.py | 9 +++++++++ 3899 2 files changed, 16 insertions(+), 0 deletions(-) 3900 3901commit e76352dd83c8706e68ad57d00d185da9afea99c4 3902Author: John (J5) Palmieri <johnp@redhat.com> 3903Date: Thu Dec 9 13:23:10 2010 -0500 3904 3905 add secondary_text apis to MessageDialog 3906 3907 gi/overrides/Gtk.py | 8 ++++++++ 3908 tests/test_overrides.py | 8 ++++++++ 3909 2 files changed, 16 insertions(+), 0 deletions(-) 3910 3911commit de682b2d36c362140ab7d43c0743b01ec0865a74 3912Author: John (J5) Palmieri <johnp@redhat.com> 3913Date: Wed Dec 8 16:39:27 2010 -0500 3914 3915 [gi] get rid of some debug prints and fix error messages 3916 3917 gi/overrides/Gtk.py | 7 +++---- 3918 1 files changed, 3 insertions(+), 4 deletions(-) 3919 3920commit dbb16571803bf51f497768bf80944514f4290ee5 3921Author: Paolo Borelli <pborelli@gnome.org> 3922Date: Wed Dec 8 18:25:15 2010 +0100 3923 3924 Fix demo for override changes. 3925 3926 demos/gtk-demo/gtk-demo.py | 5 +++-- 3927 1 files changed, 3 insertions(+), 2 deletions(-) 3928 3929commit 2adcd95762944a4e27123093d3c8d080e49be1ea 3930Author: Paolo Borelli <pborelli@gnome.org> 3931Date: Wed Dec 8 18:06:01 2010 +0100 3932 3933 Override Pango.FontDescription. 3934 3935 demos/gtk-demo/gtk-demo.py | 2 +- 3936 gi/overrides/Makefile.am | 1 + 3937 gi/overrides/Pango.py | 40 3938 ++++++++++++++++++++++++++++++++++++++++ 3939 tests/test_overrides.py | 7 +++++++ 3940 4 files changed, 49 insertions(+), 1 deletions(-) 3941 3942commit 769da968c9187414d0420412d8fb8c833d12042a 3943Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 3944Date: Wed Dec 8 17:38:11 2010 +0100 3945 3946 Stop checking that all vfuncs are implemented 3947 3948 Because some methods are optionally implementable but g-i won't 3949 tell us. 3950 3951 https://bugzilla.gnome.org/show_bug.cgi?id=619606 3952 3953 gi/gimodule.c | 4 +++- 3954 gi/types.py | 12 ++---------- 3955 tests/test_gi.py | 10 ---------- 3956 3 files changed, 5 insertions(+), 21 deletions(-) 3957 3958commit 167a01c46b3fa0b3c8339502c875d32bd2bca974 3959Author: Paolo Borelli <pborelli@gnome.org> 3960Date: Wed Dec 8 17:37:00 2010 +0100 3961 3962 Fix usage of TreeIter api that is now an override. 3963 3964 demos/gtk-demo/gtk-demo.py | 6 +++--- 3965 1 files changed, 3 insertions(+), 3 deletions(-) 3966 3967commit d2cfd6e9250d40de7c715ac74e299deddf137683 3968Author: Paolo Borelli <pborelli@gnome.org> 3969Date: Wed Dec 8 17:34:54 2010 +0100 3970 3971 Fix Gtk.Label(label="Foo") 3972 3973 Use 'label' as an argument name instead of 'str', otherwise we may 3974 end up up with two 'label' in the kwds dict. Besides 'str' is a 3975 reserved keyword. 3976 3977 gi/overrides/Gtk.py | 4 ++-- 3978 1 files changed, 2 insertions(+), 2 deletions(-) 3979 3980commit c0c684c9bb4e2bc08d7cb6ac246705e8a3b77656 3981Author: Paolo Borelli <pborelli@gnome.org> 3982Date: Wed Dec 8 14:16:39 2010 +0100 3983 3984 Fix typo when raising an exception 3985 3986 gi/types.py | 2 +- 3987 1 files changed, 1 insertions(+), 1 deletions(-) 3988 3989commit 88c9a3ad49d9fcf779c3523672d8bf4767910301 3990Author: Sebastian Pölsterl <sebp@k-d-w.org> 3991Date: Wed Dec 8 10:46:27 2010 +0100 3992 3993 pygi-convert.sh: Added more conversions 3994 3995 pygi-convert.sh | 14 ++++++++++++++ 3996 1 files changed, 14 insertions(+), 0 deletions(-) 3997 3998commit 4d8d96326b2cac91e6d75e6601b92e202d1918ff 3999Author: Paolo Borelli <pborelli@gnome.org> 4000Date: Tue Dec 7 20:39:15 2010 +0100 4001 4002 Override LinkButton constructor to make 'uri' mandatory 4003 4004 gi/overrides/Gtk.py | 7 +++++++ 4005 tests/test_overrides.py | 6 ++++++ 4006 2 files changed, 13 insertions(+), 0 deletions(-) 4007 4008commit f4f7fb35af1b41598dc050f5df155a01c370a920 4009Author: Dmitry Morozov <dmitry.a.morozov@yandex.ru> 4010Date: Sat Dec 4 19:19:19 2010 +0600 4011 4012 Container should be iterable. 4013 4014 gi/overrides/Gtk.py | 9 +++++++++ 4015 tests/test_overrides.py | 6 +++++- 4016 2 files changed, 14 insertions(+), 1 deletions(-) 4017 4018commit d2ad05d6d8d53b941e0ad33fcb200f1245a2d308 4019Author: Paolo Borelli <pborelli@gnome.org> 4020Date: Tue Dec 7 14:13:00 2010 +0100 4021 4022 No need to import Gdk 4023 4024 gi/overrides/Gtk.py | 1 - 4025 1 files changed, 0 insertions(+), 1 deletions(-) 4026 4027commit b6a40badf0b2b59e690ce818efb03c7c816b8a04 4028Author: Paolo Borelli <pborelli@gnome.org> 4029Date: Tue Dec 7 14:07:53 2010 +0100 4030 4031 Remove semicolumns 4032 4033 gi/overrides/Gtk.py | 7 +++---- 4034 1 files changed, 3 insertions(+), 4 deletions(-) 4035 4036commit cdc9c26553bf47ea488676e7bdc5f8ab0a2c906b 4037Author: John (J5) Palmieri <johnp@redhat.com> 4038Date: Mon Dec 6 16:05:30 2010 -0500 4039 4040 [gi] make sure Gtk.Button override passes all keywords to parent 4041 constructor 4042 4043 gi/overrides/Gtk.py | 4 ++-- 4044 1 files changed, 2 insertions(+), 2 deletions(-) 4045 4046commit cede81ad65db017e95543d8d35715751aa202fed 4047Author: Paolo Borelli <pborelli@gnome.org> 4048Date: Sun Dec 5 13:31:20 2010 +0100 4049 4050 Fix cut&paste error in the Label override 4051 4052 gi/overrides/Gtk.py | 2 +- 4053 1 files changed, 1 insertions(+), 1 deletions(-) 4054 4055commit 607c59b74ebbc1e39cb4121c870b689e1888c106 4056Author: Paolo Borelli <pborelli@gnome.org> 4057Date: Sat Dec 4 16:03:27 2010 +0100 4058 4059 pygi-convert.sh: handle TextWindowType 4060 4061 pygi-convert.sh | 1 + 4062 1 files changed, 1 insertions(+), 0 deletions(-) 4063 4064commit dfeabe0b68938e27da2e65903983b5113dc422f1 4065Author: Paolo Borelli <pborelli@gnome.org> 4066Date: Sat Dec 4 15:49:15 2010 +0100 4067 4068 Override Label constructor to behave like pygtk 4069 4070 gi/overrides/Gtk.py | 7 +++++++ 4071 tests/test_overrides.py | 4 ++++ 4072 2 files changed, 11 insertions(+), 0 deletions(-) 4073 4074commit da4e045e5abbed2796cc4ed39df35a0dde2de31b 4075Author: Paolo Borelli <pborelli@gnome.org> 4076Date: Sat Dec 4 15:40:35 2010 +0100 4077 4078 Override GtkTable constructor to behave like pygtk 4079 4080 gi/overrides/Gtk.py | 7 +++++++ 4081 tests/test_overrides.py | 12 ++++++++++++ 4082 2 files changed, 19 insertions(+), 0 deletions(-) 4083 4084commit 81452c23ab1befa59ff375692e582791432796a5 4085Author: Paolo Borelli <pborelli@gnome.org> 4086Date: Sat Dec 4 12:59:43 2010 +0100 4087 4088 pygi-convert.sh: convert MovementStep 4089 4090 pygi-convert.sh | 1 + 4091 1 files changed, 1 insertions(+), 0 deletions(-) 4092 4093commit 4d097eea94258eda0c328711491fd456cbd6741b 4094Author: Paolo Borelli <pborelli@gnome.org> 4095Date: Sat Dec 4 11:57:02 2010 +0100 4096 4097 Update Gdk overrides to work with latest Gtk+ 3 4098 4099 For now added consitionals on version == 2.0, but maybe at some 4100 point we 4101 shuld just clean up the old stuff. 4102 4103 gi/overrides/Gdk.py | 22 ++++++++++++++++------ 4104 1 files changed, 16 insertions(+), 6 deletions(-) 4105 4106commit cda317195566711d66190145b545e26ed7226172 4107Author: Johan Dahlin <johan@gnome.org> 4108Date: Thu Dec 2 23:47:40 2010 -0200 4109 4110 Gtk: add an override for Gtk.main_quit 4111 4112 Override gtk.main_quit so that it can be used as a callback 4113 to signals, most importantly to the destroy signal of a widget: 4114 4115 widget.connect('destroy', gtk.main_quit) 4116 4117 This is compatible with what PyGTK does. 4118 4119 https://bugzilla.gnome.org/show_bug.cgi?id=636336 4120 4121 gi/overrides/Gtk.py | 5 ++++- 4122 gi/overrides/__init__.py | 27 +++++++++++++++++++++++++-- 4123 2 files changed, 29 insertions(+), 3 deletions(-) 4124 4125commit 82689cbf53d92b1b951a459fe3de0e1d3a91791a 4126Author: John (J5) Palmieri <johnp@redhat.com> 4127Date: Thu Dec 2 16:27:04 2010 -0500 4128 4129 [gi] handle subtypes when inserting into tree models 4130 4131 * Often modules will give back basic types wrapped in a subtype. 4132 This is the case with D-Bus where you may want to keep some of the 4133 metadata around. More often than not, the developer is just looking 4134 to use the basetype. 4135 4136 * This override checks the column type and handles basic types such as 4137 gchararrays, ints, longs, floats and doubles, converting them 4138 to their 4139 base types before sending them to the generic GI type marshaller. 4140 4141 * More types may need to be supported but these are the common 4142 cases where 4143 apps break. 4144 4145 https://bugzilla.gnome.org/show_bug.cgi?id=635172 4146 4147 gi/overrides/Gtk.py | 38 ++++++++++++++++++++++++++++++++++++-- 4148 tests/test_overrides.py | 8 +++++++- 4149 2 files changed, 43 insertions(+), 3 deletions(-) 4150 4151commit 677490e9402bad7b7c2a832345ef54f7f0c5fc7f 4152Author: Paolo Borelli <pborelli@gnome.org> 4153Date: Fri Dec 3 23:39:50 2010 +0100 4154 4155 Override TreeSelection.select_path and TreeView.scroll_to_cell 4156 4157 The "path" argument may also be a string or a tuple 4158 4159 gi/overrides/Gtk.py | 10 ++++++++++ 4160 tests/test_overrides.py | 29 +++++++++++++++++++++++++++++ 4161 2 files changed, 39 insertions(+), 0 deletions(-) 4162 4163commit dacfe618fa244445c979f1a5efa80c1f9a5a4ae9 4164Author: Paolo Borelli <pborelli@gnome.org> 4165Date: Fri Dec 3 23:29:00 2010 +0100 4166 4167 Override TreePath.__new__ 4168 4169 Instead of having a private _tree_path_from_string it is cleaner to 4170 override __new__ and it will be useful for all the api that take a 4171 TreePath or a string or a tuple. 4172 4173 gi/overrides/Gtk.py | 33 +++++++++++++++------------------ 4174 tests/test_overrides.py | 18 ++++++++++++++++++ 4175 2 files changed, 33 insertions(+), 18 deletions(-) 4176 4177commit 7a8af9e220ee48aa28f6b025c5dae324b14fe128 4178Author: Paolo Borelli <pborelli@gnome.org> 4179Date: Sun Nov 28 13:02:30 2010 +0100 4180 4181 Override Container to behave like a sequence 4182 4183 gi/overrides/Gtk.py | 6 ++++++ 4184 tests/test_overrides.py | 11 +++++++++++ 4185 2 files changed, 17 insertions(+), 0 deletions(-) 4186 4187commit 94e8befc935d4a6c7f766e34195e10fc3fb3b93a 4188Author: John (J5) Palmieri <johnp@redhat.com> 4189Date: Tue Nov 30 16:57:05 2010 -0500 4190 4191 refactor Jonathan Matthew recurse vfunc patch so it applys and clean 4192 up a bit 4193 4194 * this patch does the recursion using the previous patche's support 4195 functions 4196 4197 gi/types.py | 55 4198 +++++++++++++++++++++++++++++++++++++++++++++---------- 4199 1 files changed, 45 insertions(+), 10 deletions(-) 4200 4201commit 9c5aee4f06f92457f9ae987656c0c469f76d0ee8 4202Author: Jonathan Matthew <jonathan@d14n.org> 4203Date: Thu Jul 22 23:19:51 2010 +1000 4204 4205 Recurse up through base classes when setting up vfuncs 4206 4207 * this patch adds the support methods to do the recursion 4208 4209 https://bugzilla.gnome.org/show_bug.cgi?id=625033 4210 4211 gi/gimodule.c | 130 4212 +++++++++++++++++++++++++++++++++++++++--------------- 4213 tests/test_gi.py | 37 +++++++++++++++ 4214 2 files changed, 131 insertions(+), 36 deletions(-) 4215 4216commit 78358e1ab54d02317f397276adee03ecb2187588 4217Author: John (J5) Palmieri <johnp@redhat.com> 4218Date: Mon Nov 29 18:29:57 2010 -0500 4219 4220 add a profiling torture test for when we fix up invoke 4221 4222 tests/test_everything.py | 67 4223 ++++++++++++++++++++++++++++++++++++++++++++++ 4224 1 files changed, 67 insertions(+), 0 deletions(-) 4225 4226commit 792e679c06df4357843fd310c7953a931172fc99 4227Author: John (J5) Palmieri <johnp@redhat.com> 4228Date: Mon Nov 29 16:41:38 2010 -0500 4229 4230 moved dynamic and base modules outside of gtk-2.0 directory 4231 4232 * do not move header files yet as they are mostly used by static 4233 bindings 4234 * do not remove pygtk.pth and pygtk.py files yet - there is a debate 4235 on moving 4236 these back to pygtk but you might want to import gio static 4237 bindings without 4238 having to have pygtk installed 4239 * I have not tested this with pygtk, committing it so we can find 4240 out if it 4241 causes any issues with legacy modules and code 4242 4243 gi/Makefile.am | 2 +- 4244 gi/overrides/Makefile.am | 2 +- 4245 gi/repository/Makefile.am | 2 +- 4246 glib/Makefile.am | 2 +- 4247 gobject/Makefile.am | 2 +- 4248 tests/test_gi.py | 2 -- 4249 tests/test_overrides.py | 3 --- 4250 7 files changed, 5 insertions(+), 10 deletions(-) 4251 4252commit c587e1ace7429195ac6fd4db03d2f33e2af09838 4253Author: John (J5) Palmieri <johnp@redhat.com> 4254Date: Mon Nov 29 15:11:46 2010 -0500 4255 4256 add test for inout argument count 4257 4258 tests/test_gi.py | 1 + 4259 1 files changed, 1 insertions(+), 0 deletions(-) 4260 4261commit 5de88b4bcffdafcf8c7c20033cdf95dc690199ce 4262Author: John (J5) Palmieri <johnp@redhat.com> 4263Date: Mon Nov 22 19:17:23 2010 -0500 4264 4265 [gi] add check for UNICHAR 4266 4267 https://bugzilla.gnome.org/show_bug.cgi?id=623615 4268 4269 gi/pygi-argument.c | 27 ++++++++++++++++++++++++++- 4270 tests/test_everything.py | 17 +++++++++++++++-- 4271 2 files changed, 41 insertions(+), 3 deletions(-) 4272 4273commit f129b3db2c78d3cce3614993fdd1619fb9eb9c79 4274Author: Paolo Borelli <pborelli@gnome.org> 4275Date: Sun Nov 21 12:16:53 2010 +0100 4276 4277 Support gunichar 4278 4279 https://bugzilla.gnome.org/show_bug.cgi?id=623615 4280 4281 gi/pygi-argument.c | 60 4282 ++++++++++++++++++++++++++++++++++++++++++++++ 4283 gi/pygi-info.c | 5 ++++ 4284 tests/test_everything.py | 5 ++++ 4285 3 files changed, 70 insertions(+), 0 deletions(-) 4286 4287commit fd2c0288eb67823fca1265348a27a9f8f147ae50 4288Author: Paolo Borelli <pborelli@gnome.org> 4289Date: Sat Nov 27 23:01:42 2010 +0100 4290 4291 pygi-convert.sh: gtk.accel_map -> Gtk.AccelMap._ 4292 4293 pygi-convert.sh | 1 + 4294 1 files changed, 1 insertions(+), 0 deletions(-) 4295 4296commit 13d0ff1d9c129bb458e234b630ebe920b50e2e0f 4297Author: Paolo Borelli <pborelli@gnome.org> 4298Date: Sat Nov 27 22:34:13 2010 +0100 4299 4300 pygi-convert.sh: handle "from gtk import gdk" 4301 4302 pygi-convert.sh | 2 ++ 4303 1 files changed, 2 insertions(+), 0 deletions(-) 4304 4305commit 63a97634031c3d159ad77fdaa1f6341d7656eb07 4306Author: Paolo Borelli <pborelli@gnome.org> 4307Date: Sat Nov 27 22:23:24 2010 +0100 4308 4309 pygi-convert.sh: add some Pango special cases 4310 4311 pygi-convert.sh | 3 +++ 4312 1 files changed, 3 insertions(+), 0 deletions(-) 4313 4314commit 57e42bf4230d1aa20a47e3b0df2e509602333892 4315Author: Paolo Borelli <pborelli@gnome.org> 4316Date: Sat Nov 27 19:51:38 2010 +0100 4317 4318 Override TextIter (begins|ends|toggles)_tag() 4319 4320 Make the tag argument optional. 4321 4322 gi/overrides/Gtk.py | 9 +++++++++ 4323 tests/test_overrides.py | 17 +++++++++++++++++ 4324 2 files changed, 26 insertions(+), 0 deletions(-) 4325 4326commit 828b698e47ee819a60d24a772a3cc51ff9cd6601 4327Author: Paolo Borelli <pborelli@gnome.org> 4328Date: Sat Nov 27 19:32:48 2010 +0100 4329 4330 Override TextBuffer.set_text() to make length optional 4331 4332 gi/overrides/Gtk.py | 3 +++ 4333 tests/test_overrides.py | 11 ++++++++++- 4334 2 files changed, 13 insertions(+), 1 deletions(-) 4335 4336commit bf55dc862755a57bb1b998702d284fc460e88a30 4337Author: Paolo Borelli <pborelli@gnome.org> 4338Date: Sat Nov 27 16:46:40 2010 +0100 4339 4340 Override TextBuffer.create_mark() 4341 4342 Override create_mark to make the left_gravity argument optional 4343 4344 gi/overrides/Gtk.py | 3 +++ 4345 tests/test_overrides.py | 3 +++ 4346 2 files changed, 6 insertions(+), 0 deletions(-) 4347 4348commit 94c0e2f71636d055bdebe3ec378f3d339eea66c9 4349Author: Paolo Borelli <pborelli@gnome.org> 4350Date: Sat Nov 27 16:10:33 2010 +0100 4351 4352 Fix TextBuffer.get_selection_bounds() override 4353 4354 Fix the override and add unit test 4355 4356 gi/overrides/Gtk.py | 8 +++++--- 4357 tests/test_overrides.py | 7 +++++++ 4358 2 files changed, 12 insertions(+), 3 deletions(-) 4359 4360commit 0cd717e3926276540b9145e58a4a3368136b00de 4361Author: John (J5) Palmieri <johnp@redhat.com> 4362Date: Mon Nov 22 18:35:09 2010 -0500 4363 4364 [gi] fix ActionGroup constructor to allow other keyword properties 4365 to be set 4366 4367 gi/overrides/Gtk.py | 4 ++-- 4368 1 files changed, 2 insertions(+), 2 deletions(-) 4369 4370commit 226777cdb70fc72d206664ffd8b6737f7239d23f 4371Author: John (J5) Palmieri <johnp@redhat.com> 4372Date: Mon Nov 22 18:32:28 2010 -0500 4373 4374 [gi] require the name parameter when creatin a Gtk.ActionGroup 4375 4376 gi/overrides/Gtk.py | 3 +++ 4377 tests/test_overrides.py | 2 ++ 4378 2 files changed, 5 insertions(+), 0 deletions(-) 4379 4380commit d0049fa9982d13b3553b05569fb0a227e48b6647 4381Author: Paolo Borelli <pborelli@gnome.org> 4382Date: Sun Nov 21 15:20:58 2010 +0100 4383 4384 Override UIManager.insert_action_group 4385 4386 https://bugzilla.gnome.org/show_bug.cgi?id=635437 4387 4388 gi/overrides/Gtk.py | 3 +++ 4389 tests/test_overrides.py | 34 +++++++++++++++++++++------------- 4390 2 files changed, 24 insertions(+), 13 deletions(-) 4391 4392commit e1db544e46aeed984133896af34b671a6a5547df 4393Author: Paolo Borelli <pborelli@gnome.org> 4394Date: Sun Nov 21 23:03:25 2010 +0100 4395 4396 Override TreeModel.get() to return a tuple 4397 4398 https://bugzilla.gnome.org/show_bug.cgi?id=635466 4399 4400 gi/overrides/Gtk.py | 15 +++++++++++++++ 4401 tests/test_overrides.py | 6 ++++++ 4402 2 files changed, 21 insertions(+), 0 deletions(-) 4403 4404commit a5e806ad8a8b279402ff7adb1c1cdc04f9f3da76 4405Author: Paolo Borelli <pborelli@gnome.org> 4406Date: Sun Nov 21 21:57:40 2010 +0100 4407 4408 Make TreeSelection.get_selected_rows compatible with PyGtk 4409 4410 https://bugzilla.gnome.org/show_bug.cgi?id=635464 4411 4412 gi/overrides/Gtk.py | 6 ++++++ 4413 1 files changed, 6 insertions(+), 0 deletions(-) 4414 4415commit 1c537bc67107948c92b51ba6ba749747e84263e2 4416Author: John (J5) Palmieri <johnp@redhat.com> 4417Date: Mon Nov 22 15:04:00 2010 -0500 4418 4419 [gi] switch to using sequences/tuples when marshalling 4420 cairo_rectangle_int_t 4421 4422 * Upstream pycairo didn't want to add a new wrapper for 4423 cairo_rectangle_int_t 4424 * this works around that issue by using 4 element squences instead 4425 which 4426 should be accepted by pycairo for any API that takes a rect 4427 4428 gi/pygi-foreign-cairo.c | 85 4429 +++++++++++++++++++++++++++++++++++----------- 4430 1 files changed, 64 insertions(+), 21 deletions(-) 4431 4432commit 4cede8f12321bed6c3b71813a62c01b61853ba69 4433Author: John (J5) Palmieri <johnp@redhat.com> 4434Date: Fri Nov 19 16:46:53 2010 -0500 4435 4436 [gi] overrides for treeview Drag and Drop 4437 4438 https://bugzilla.gnome.org/show_bug.cgi?id=627367 4439 4440 gi/overrides/Gdk.py | 7 +++++++ 4441 gi/overrides/Gtk.py | 25 +++++++++++++++++++++++++ 4442 2 files changed, 32 insertions(+), 0 deletions(-) 4443 4444commit 3fd51bb903724b752f72f49c7cb35652b819791d 4445Author: John (J5) Palmieri <johnp@redhat.com> 4446Date: Fri Nov 19 16:44:32 2010 -0500 4447 4448 [gi] when encountering guint8 arrays treat them as byte arrays 4449 4450 * In Python 2 this means returning a PyString object 4451 * In Python 3 we return a PyBytes object 4452 4453 https://bugzilla.gnome.org/show_bug.cgi?id=627367 4454 4455 gi/pygi-argument.c | 65 4456 ++++++++++++++++++++++++++++++++++++++++++--------- 4457 tests/test_gi.py | 6 +++- 4458 2 files changed, 57 insertions(+), 14 deletions(-) 4459 4460commit 7ddb0f7fd8b1b9e8f691c6d42a83cb16c6561d26 4461Author: Martin Pitt <martin.pitt@ubuntu.com> 4462Date: Fri Nov 19 18:19:38 2010 +0100 4463 4464 pygi-convert.sh: Add pynotify -> Notify 4465 4466 pygi-convert.sh | 3 +++ 4467 1 files changed, 3 insertions(+), 0 deletions(-) 4468 4469commit bf03d4db03a7739ac16ddc4e614441557ede554d 4470Author: Martin Pitt <martin.pitt@ubuntu.com> 4471Date: Fri Nov 19 09:08:07 2010 +0100 4472 4473 pygi-convert.sh: Remove sugar specifics, and allow command line 4474 file list 4475 4476 This script is generally useful for converting pygtk2 projects, 4477 not just for 4478 sugar. Remove the sugar specific bits, since they will just cause 4479 errors. 4480 4481 Also allow the user to specify the files to convert as command line 4482 arguments. If not given, all *.py files will be processed. 4483 4484 https://bugzilla.gnome.org/show_bug.cgi?id=635244 4485 4486 pygi-convert.sh | 25 +++++-------------------- 4487 1 files changed, 5 insertions(+), 20 deletions(-) 4488 4489commit 18f5d229d3a4b9520c1c456be2635c8e36015c12 4490Author: Martin Pitt <martin.pitt@ubuntu.com> 4491Date: Fri Nov 19 09:00:35 2010 +0100 4492 4493 pygi-convert.sh: Cover Message and Buttons types 4494 4495 https://bugzilla.gnome.org/show_bug.cgi?id=635244 4496 4497 pygi-convert.sh | 2 ++ 4498 1 files changed, 2 insertions(+), 0 deletions(-) 4499 4500commit ef74273c2043944708515e59a654ebe4944b46ff 4501Author: John (J5) Palmieri <johnp@redhat.com> 4502Date: Thu Nov 18 13:54:48 2010 -0500 4503 4504 [gi] fix actiongroup test since actions are hashed 4505 4506 * when actions are listed they may not show up in the order they 4507 were entered 4508 since they reside in an unordered hash internally 4509 4510 tests/test_overrides.py | 9 +++++---- 4511 1 files changed, 5 insertions(+), 4 deletions(-) 4512 4513commit 2c25886bf6710568d0646f82dce4770faa44c40d 4514Author: John (J5) Palmieri <johnp@redhat.com> 4515Date: Wed Nov 17 14:38:09 2010 -0500 4516 4517 [gi] when converting to UTF-8 accept Python Unicode objects as input 4518 (Python 2) 4519 4520 https://bugzilla.gnome.org/show_bug.cgi?id=620579 4521 4522 gi/pygi-argument.c | 14 ++++++++++++-- 4523 glib/pyglib-python-compat.h | 5 +++++ 4524 tests/test_gi.py | 3 +++ 4525 3 files changed, 20 insertions(+), 2 deletions(-) 4526 4527commit 8c2d32c8205b971b4353e3d5d2ed1efa6ef0e06c 4528Author: Damien Caliste <damien.caliste@cea.fr> 4529Date: Fri Nov 12 10:20:32 2010 +0100 4530 4531 Correct a bug in the freeing of memory in pygi-invoke.c. 4532 4533 When a method with inout arguments is called from Python with 4534 a wrong number of arguments, the system crashs because of an 4535 assertion fail. This patch corrects this behaviour. 4536 4537 https://bugzilla.gnome.org/show_bug.cgi?id=634671 4538 4539 gi/pygi-invoke.c | 25 ++++++++++++++----------- 4540 1 files changed, 14 insertions(+), 11 deletions(-) 4541 4542commit d9bab3b185bb59bd29e3c3f6225f3636f58ec45e 4543Author: John (J5) Palmieri <johnp@redhat.com> 4544Date: Wed Nov 10 14:11:56 2010 -0500 4545 4546 update news for release 4547 4548 NEWS | 73 4549 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4550 1 files changed, 73 insertions(+), 0 deletions(-) 4551 4552commit 1338a95339e21cc02b9df6d10166996c8b97a6bf 4553Author: Jonathan Matthew <jonathan@d14n.org> 4554Date: Tue Sep 28 13:44:13 2010 +1000 4555 4556 Implement richcompare for GIBaseInfo 4557 4558 https://bugzilla.gnome.org/show_bug.cgi?id=625033 4559 4560 gi/pygi-info.c | 29 +++++++++++++++++++++++++++++ 4561 1 files changed, 29 insertions(+), 0 deletions(-) 4562 4563commit 9ce3edf69824935aeca9e676eaa9782786c22a97 4564Author: John (J5) Palmieri <johnp@redhat.com> 4565Date: Tue Nov 9 22:57:41 2010 -0500 4566 4567 [gi] add the rectangle_int_t forign cairo type 4568 4569 * the pycairo maintainer is not being responsive so you will need 4570 the patch at 4571 https://bugs.freedesktop.org/show_bug.cgi?id=31111 4572 * added conditionals, if the api doesn't exist in PyCairo we will 4573 compile 4574 without the forign structs 4575 4576 gi/pygi-foreign-cairo.c | 4 ++++ 4577 1 files changed, 4 insertions(+), 0 deletions(-) 4578 4579commit 68b8211d8b014cf26ca7e9ab751fb3f61f228290 4580Author: John (J5) Palmieri <johnp@redhat.com> 4581Date: Mon Oct 25 18:28:36 2010 -0400 4582 4583 add a foreign type for cairo_rectangle_int_t and allow it to be 4584 caller-allocated 4585 4586 * this is needed because Gdk and Gtk switched from returning a 4587 GdkRectangle 4588 to a CairoRectangleInt structure 4589 * the patch in https://bugs.freedesktop.org/show_bug.cgi?id=31111 4590 is required 4591 for pycairo (however there is currently no patch for python 2) 4592 * added fix for foreign types to allow them to be caller allocated 4593 * in order for a type to be caller allocated it must be able to take 4594 a NULL 4595 and create an empty struct in foreign_struct_from_arg and it must 4596 be able 4597 to handle GI_TRANFER_EVERYTHING in foreign_struct_to_arg. 4598 4599 https://bugzilla.gnome.org/show_bug.cgi?id=627545 4600 4601 gi/pygi-foreign-cairo.c | 57 4602 +++++++++++++++++++++++++++++++++++++++++++++++ 4603 gi/pygi-invoke.c | 15 ++++++++++- 4604 2 files changed, 70 insertions(+), 2 deletions(-) 4605 4606commit ce8b948310220288e9eef904eef4ec8f4e24a376 4607Author: John (J5) Palmieri <johnp@redhat.com> 4608Date: Tue Nov 9 22:11:51 2010 -0500 4609 4610 [gi] add overrides to Gtk.Editable 4611 4612 gi/overrides/Gtk.py | 17 +++++++++++++++++ 4613 tests/test_overrides.py | 12 ++++++++++++ 4614 2 files changed, 29 insertions(+), 0 deletions(-) 4615 4616commit 87dbc716f26cefc0e9427c3d6e8befe8eabd3d1e 4617Author: John (J5) Palmieri <johnp@redhat.com> 4618Date: Tue Nov 9 21:12:54 2010 -0500 4619 4620 [gi] handle virtual invokers 4621 4622 * right now we check to see if there is an method with the same name 4623 as the virtual method and assume that is the invoker 4624 * some invokers are named different so we now ask the VFuncInfo if 4625 the vfunc has an invoker 4626 * this is still not completly correct, gi needs to support telling 4627 us which vfuncs must be overridden. 4628 * this keeps the old way of checking vfuncs while adding the edge case 4629 where vfunc is named differently from their invoker 4630 4631 gi/pygi-info.c | 16 ++++++++++++++++ 4632 gi/types.py | 2 +- 4633 2 files changed, 17 insertions(+), 1 deletions(-) 4634 4635commit 540e9f1f349ba3625e28b7673c92210eb8974098 4636Author: John (J5) Palmieri <johnp@redhat.com> 4637Date: Tue Nov 9 12:17:05 2010 -0500 4638 4639 add overrides for the insert* apis of list_store and tree_store 4640 4641 * add set_row to tree_model as convinience method for both list and 4642 tree stores 4643 4644 https://bugzilla.gnome.org/show_bug.cgi?id=634423 4645 4646 gi/overrides/Gtk.py | 80 4647 ++++++++++++++++++++++++++++++++++++---------- 4648 tests/test_overrides.py | 53 ++++++++++++++++++++++++++++++- 4649 2 files changed, 114 insertions(+), 19 deletions(-) 4650 4651commit 0bcb58b9541d9ae52e1d96e6239e9dbe0698872a 4652Author: John (J5) Palmieri <johnp@redhat.com> 4653Date: Fri Nov 5 13:56:12 2010 -0400 4654 4655 fix dialogs overrides which were relying on broken inheritance 4656 behavior 4657 4658 gi/overrides/Gtk.py | 14 ++++++++++++-- 4659 1 files changed, 12 insertions(+), 2 deletions(-) 4660 4661commit 89c104d17d79d7b935cd76101cba19d49390f7be 4662Author: John (J5) Palmieri <johnp@redhat.com> 4663Date: Thu Nov 4 12:00:14 2010 -0400 4664 4665 Add a overrides registry so we can refrence overrides inside the 4666 module 4667 4668 * Overrides have a reentrancy issue when doing inheritance. If an 4669 override 4670 inherits from another override down the stack it won't see the 4671 override 4672 because the module is not finished loading and will inherit from the 4673 non-overriden object instead. This causes type errors later. 4674 * By adding the overrides to a registry outside of the module we 4675 can order 4676 registration and make the override available as soon as the class 4677 is parsed, 4678 not when the whole module is parsed. 4679 4680 https://bugzilla.gnome.org/show_bug.cgi?id=633347 4681 4682 gi/module.py | 12 +++++++++- 4683 gi/overrides/GIMarshallingTests.py | 2 +- 4684 gi/overrides/Gdk.py | 2 +- 4685 gi/overrides/Gtk.py | 2 +- 4686 gi/overrides/__init__.py | 43 4687 ++++++++++++++++++++++++++++++++++++ 4688 gi/types.py | 8 ------ 4689 tests/test_overrides.py | 27 ++++++++++++++++++++++ 4690 7 files changed, 84 insertions(+), 12 deletions(-) 4691 4692commit 878b8f630acd2146bee364054acd45cd33eea37a 4693Merge: cdacaa9 e317838 4694Author: John Stowers <john.stowers@gmail.com> 4695Date: Fri Nov 5 11:40:22 2010 +1300 4696 4697 Merge remote branch 'dieterv/setup-fixes-for-merge' 4698 4699commit e317838178fba5f0590fb8bd323f49602d564b53 4700Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4701Date: Thu Nov 4 11:16:43 2010 +0100 4702 4703 setup.py: ease maintenance burden for tests installation 4704 4705 setup.py | 23 +++-------------------- 4706 1 files changed, 3 insertions(+), 20 deletions(-) 4707 4708commit cdacaa9572893796e0f3aa3730d0191911cb29ee 4709Author: John (J5) Palmieri <johnp@redhat.com> 4710Date: Wed Nov 3 09:51:09 2010 -0400 4711 4712 fix inheritence issues in overrides 4713 4714 gi/overrides/Gtk.py | 79 4715 ++++++++++++++++++++++++++------------------------- 4716 1 files changed, 40 insertions(+), 39 deletions(-) 4717 4718commit 3d5955767d81f45e796ab2af0707533375681774 4719Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4720Date: Wed Nov 3 09:38:56 2010 +0100 4721 4722 tests: add runtests-windows.py script 4723 4724 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4725 4726 tests/runtests-windows.py | 47 4727 +++++++++++++++++++++++++++++++++++++++++++++ 4728 1 files changed, 47 insertions(+), 0 deletions(-) 4729 4730commit 8cb3f2e78161639c568110aad6a807dcf59f3ae8 4731Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4732Date: Wed Nov 3 09:35:52 2010 +0100 4733 4734 pygobject_postinstall.py: remove pygobject-2.0.pc treatment from 4735 postinstall as pkg-config on windows figures out the correct prefix 4736 at runtime 4737 4738 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4739 4740 pygobject_postinstall.py | 26 +++----------------------- 4741 1 files changed, 3 insertions(+), 23 deletions(-) 4742 4743commit 63167574df53eb481cc11b6a097b2bfe7d5747f5 4744Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4745Date: Wed Nov 3 09:34:38 2010 +0100 4746 4747 pygobject_postinstall.py: remove shortcut creation 4748 4749 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4750 4751 pygobject_postinstall.py | 35 +---------------------------------- 4752 1 files changed, 1 insertions(+), 34 deletions(-) 4753 4754commit f7b12611f94fd8c27fb67a03746c10149ce6e0ef 4755Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4756Date: Wed Nov 3 09:31:14 2010 +0100 4757 4758 setup.py: formatting cleanup, makes things readable 4759 4760 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4761 4762 setup.py | 56 ++++++++++++++++++++++++++------------------------------ 4763 1 files changed, 26 insertions(+), 30 deletions(-) 4764 4765commit a31b4196fbb4638a245430f2fdeafd7534b1d84d 4766Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4767Date: Wed Nov 3 09:28:36 2010 +0100 4768 4769 setup.py: build and install tests 4770 4771 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4772 4773 setup.py | 61 4774 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4775 1 files changed, 61 insertions(+), 0 deletions(-) 4776 4777commit 7c3b0c20b83c05833d73c240690dce3daf43fde8 4778Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4779Date: Wed Nov 3 09:26:59 2010 +0100 4780 4781 setup.py: install documentation when available on build system 4782 4783 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4784 4785 setup.py | 3 +++ 4786 1 files changed, 3 insertions(+), 0 deletions(-) 4787 4788commit 78533d851ee1314686f18cfa793613a9cf7d6686 4789Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4790Date: Wed Nov 3 09:25:56 2010 +0100 4791 4792 setup.py: install pygobject-codegen script 4793 4794 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4795 4796 setup.py | 25 +++++++++++++++++++++++++ 4797 1 files changed, 25 insertions(+), 0 deletions(-) 4798 4799commit ad40688df533dda0b1f7be8ea37c542b8796a26b 4800Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4801Date: Wed Nov 3 09:24:45 2010 +0100 4802 4803 setup.py: install fixxref.py script 4804 4805 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4806 4807 setup.py | 3 +++ 4808 1 files changed, 3 insertions(+), 0 deletions(-) 4809 4810commit 21ddfc66e4e18c002a33154eb4ab81170ed71ecc 4811Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4812Date: Wed Nov 3 09:23:05 2010 +0100 4813 4814 setup.py: rearrange constants 4815 4816 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4817 4818 setup.py | 37 ++++++++++++++++++++----------------- 4819 1 files changed, 20 insertions(+), 17 deletions(-) 4820 4821commit 7d353d04892de67265bf693f591f37fd393de639 4822Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4823Date: Wed Nov 3 09:18:11 2010 +0100 4824 4825 setup.py: check python version and pkgconig availability before 4826 anything else 4827 4828 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4829 4830 setup.py | 18 ++++++++++-------- 4831 1 files changed, 10 insertions(+), 8 deletions(-) 4832 4833commit 286364ed39953e942e24d5911519bcac2f90975a 4834Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4835Date: Wed Nov 3 09:05:59 2010 +0100 4836 4837 setup.py: simplify sys.platform != 'win32' detection and error 4838 reporting 4839 4840 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4841 4842 setup.py | 29 +++++++++-------------------- 4843 1 files changed, 9 insertions(+), 20 deletions(-) 4844 4845commit 3f70f92904c123e6cc40929c0affd3f75d061828 4846Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4847Date: Wed Nov 3 09:02:30 2010 +0100 4848 4849 setup.py: rearrange imports 4850 4851 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4852 4853 setup.py | 31 ++++++++++++++++++++++--------- 4854 1 files changed, 22 insertions(+), 9 deletions(-) 4855 4856commit 9aa54b65f729c0f3b0e96ab7ff797f87dad6a455 4857Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4858Date: Wed Nov 3 08:58:00 2010 +0100 4859 4860 README.win32: update build instructions 4861 4862 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4863 4864 README.win32 | 13 +++++-------- 4865 1 files changed, 5 insertions(+), 8 deletions(-) 4866 4867commit 5a33105f690ba84b2e4bb15d73d3467e92fa06e0 4868Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4869Date: Wed Nov 3 07:59:18 2010 +0100 4870 4871 dsextras.py: formatting cleanup, makes things readable 4872 4873 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4874 4875 dsextras.py | 148 4876 +++++++++++++++++++++++++++++++++++++---------------------- 4877 1 files changed, 93 insertions(+), 55 deletions(-) 4878 4879commit d03503d0412d173acb383926ab3c2d640dad3e3f 4880Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4881Date: Wed Nov 3 07:00:40 2010 +0100 4882 4883 dsextras.py: add ggc4 to MSVC compatible struct packing comment 4884 4885 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4886 4887 dsextras.py | 4 ++-- 4888 1 files changed, 2 insertions(+), 2 deletions(-) 4889 4890commit 8c62968e9f8467e24870b8c4f61112676eef4630 4891Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4892Date: Wed Nov 3 06:56:32 2010 +0100 4893 4894 dsextras.py: use the pkgc_ functions instead of repeating pgk-config 4895 incantations all over the place 4896 4897 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4898 4899 dsextras.py | 15 ++++++--------- 4900 1 files changed, 6 insertions(+), 9 deletions(-) 4901 4902commit b98277afc24886bbda400e0ad360992bffa77b7c 4903Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4904Date: Wed Nov 3 06:49:48 2010 +0100 4905 4906 dsextras.py: add pkgc_get_version and pkgc_get_defs_dir functions 4907 4908 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4909 4910 dsextras.py | 10 ++++++++++ 4911 1 files changed, 10 insertions(+), 0 deletions(-) 4912 4913commit a565558652ebc3fa49d7aea40d399b06bbe376c4 4914Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4915Date: Wed Nov 3 06:45:05 2010 +0100 4916 4917 dsextras.py: PEP8: Comparisons to singletons like None should always 4918 be done with 'is' or 'is not', never the equality operators. 4919 4920 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4921 4922 dsextras.py | 4 ++-- 4923 1 files changed, 2 insertions(+), 2 deletions(-) 4924 4925commit 4b1ff0c7f9953f925d2178069263cca67ca7db02 4926Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4927Date: Wed Nov 3 06:44:21 2010 +0100 4928 4929 dsextras.py: use True/False instead of 1/0 4930 4931 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4932 4933 dsextras.py | 25 +++++++++++++------------ 4934 1 files changed, 13 insertions(+), 12 deletions(-) 4935 4936commit 819a21cea831c3892040390e9446b78a91d1cbbe 4937Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4938Date: Wed Nov 3 06:28:04 2010 +0100 4939 4940 dsextras.py: rearrange imports 4941 4942 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4943 4944 dsextras.py | 58 4945 +++++++++++++++++++++++++++++++--------------------------- 4946 1 files changed, 31 insertions(+), 27 deletions(-) 4947 4948commit d20edbfdde2819f8d4fee8cb3170c126fcd31d5f 4949Author: Dieter Verfaillie <dieterv@optionexplicit.be> 4950Date: Wed Nov 3 06:16:21 2010 +0100 4951 4952 Add distutils generated build/dist directories and eclipse 4953 configuration files to .gitignore 4954 4955 Signed-off-by: Dieter Verfaillie <dieterv@optionexplicit.be> 4956 4957 .gitignore | 7 +++++++ 4958 1 files changed, 7 insertions(+), 0 deletions(-) 4959 4960commit 268d6ed2b0b1d266c612da4453b6117d9e14437e 4961Author: John (J5) Palmieri <johnp@redhat.com> 4962Date: Thu Oct 28 15:32:28 2010 -0400 4963 4964 [gi] add tests for calling dir on a dynamic module 4965 4966 tests/test_gi.py | 24 ++++++++++++++++++++++++ 4967 1 files changed, 24 insertions(+), 0 deletions(-) 4968 4969commit f6386a6e0d225c83cdbe1add4c4d3ea51d3ec2f0 4970Author: Deepankar Sharma <deepankar.sharma@gmail.com> 4971Date: Wed Oct 27 18:28:11 2010 -0400 4972 4973 [gi] dir() now works for modules 4974 4975 https://bugzilla.gnome.org/show_bug.cgi?id=625093 4976 4977 gi/module.py | 8 ++++++++ 4978 1 files changed, 8 insertions(+), 0 deletions(-) 4979 4980commit 28ed01c34c503cfb4f14fe7af7912060ca70aba6 4981Author: Simón Pena <spenap@gmail.com> 4982Date: Mon Sep 20 23:10:14 2010 +0200 4983 4984 Don't check the inner type when comparing gpointers 4985 4986 When using pyg_pointer_richcompare to compare two objects, 4987 don't check their inner types. As we can't compare their private 4988 fields, nor get a proper compare function, we can consider them 4989 gpointers and compare them that way. 4990 4991 https://bugzilla.gnome.org/show_bug.cgi?id=629552 4992 4993 gobject/pygpointer.c | 2 +- 4994 1 files changed, 1 insertions(+), 1 deletions(-) 4995 4996commit 1731f89e4b5a20c33976963e12a1f39a21d33fde 4997Author: John (J5) Palmieri <johnp@redhat.com> 4998Date: Thu Oct 28 14:21:12 2010 -0400 4999 5000 Release GIL when calling into C functions 5001 5002 Author: Daniel P. Berrange <dan@berrange.com> 5003 5004 https://bugzilla.gnome.org/show_bug.cgi?id=629042 5005 5006 gi/pygi-invoke.c | 10 +++++++++- 5007 1 files changed, 9 insertions(+), 1 deletions(-) 5008 5009commit 783e2e351ec7470bda6b441e51f387dd61543c4b 5010Author: José Aliste <jaliste@src.gnome.org> 5011Date: Fri Oct 15 14:30:10 2010 -0300 5012 5013 _gi.Repository : Implement missing info bindings. 5014 5015 https://bugzilla.gnome.org/show_bug.cgi?id=632185 5016 5017 gi/pygi-info.c | 91 5018 +++++++++++++++++++++++++++++++++++++++++++++++-------- 5019 gi/pygi-info.h | 7 ++++ 5020 2 files changed, 84 insertions(+), 14 deletions(-) 5021 5022commit 2ca897273f52ae38f5e06e72c773a048e199eee5 5023Author: John (J5) Palmieri <johnp@redhat.com> 5024Date: Thu Oct 28 13:49:15 2010 -0400 5025 5026 include Python.h so that PY_VERSION_HEX gets defined 5027 5028 gi/pygi-foreign-cairo.c | 1 + 5029 1 files changed, 1 insertions(+), 0 deletions(-) 5030 5031commit 8b28b1d713df33931e255600ab98feda37a8e02a 5032Author: John (J5) Palmieri <johnp@redhat.com> 5033Date: Thu Oct 28 13:47:34 2010 -0400 5034 5035 [gi] make overrides work for python 3.x protocols and alias for 5036 python 2.x 5037 5038 gi/overrides/Gtk.py | 9 +++++++-- 5039 1 files changed, 7 insertions(+), 2 deletions(-) 5040 5041commit 3c09710d2f68af9c16ce39fd25656147656a486a 5042Author: Sebastian Pölsterl <sebp@k-d-w.org> 5043Date: Sat Oct 23 14:24:24 2010 +0200 5044 5045 Override Gtk.Widget.translate_coordinates to not return success value 5046 5047 gi/overrides/Gtk.py | 11 +++++++++++ 5048 1 files changed, 11 insertions(+), 0 deletions(-) 5049 5050commit 9d4443b3de8c327d8645ddde0a7a6dc5b977d7b4 5051Author: Sebastian Pölsterl <sebp@k-d-w.org> 5052Date: Sat Oct 23 14:22:36 2010 +0200 5053 5054 Override Gtk.TreeViewColumn.cell_get_position to not return success 5055 value 5056 5057 gi/overrides/Gtk.py | 5 +++++ 5058 1 files changed, 5 insertions(+), 0 deletions(-) 5059 5060commit 6679d39ace06294e98f9d6fc911ed6fb27656010 5061Author: Sebastian Pölsterl <sebp@k-d-w.org> 5062Date: Sat Oct 23 14:21:36 2010 +0200 5063 5064 Override get_path_at_pos and get_dest_row_at_pos of Gtk.TreeView to 5065 not return success value 5066 5067 gi/overrides/Gtk.py | 15 +++++++++++++++ 5068 1 files changed, 15 insertions(+), 0 deletions(-) 5069 5070commit 80b1b266fa68a5c67106871502017166628f71e4 5071Author: Sebastian Pölsterl <sebp@k-d-w.org> 5072Date: Sat Oct 23 14:20:38 2010 +0200 5073 5074 Override Gtk.TreeSortable.get_sort_column_id to not return success 5075 value 5076 5077 gi/overrides/Gtk.py | 12 ++++++++++++ 5078 1 files changed, 12 insertions(+), 0 deletions(-) 5079 5080commit 17cd0fb3a2d2ca0c6109c41727ba0b8c42217cd5 5081Author: Sebastian Pölsterl <sebp@k-d-w.org> 5082Date: Sat Oct 23 14:19:20 2010 +0200 5083 5084 Override forward_search and backward_search of Gtk.TextIter to not 5085 return success value 5086 5087 gi/overrides/Gtk.py | 15 +++++++++++++++ 5088 1 files changed, 15 insertions(+), 0 deletions(-) 5089 5090commit 95c86fa31da3d2fe84db0e2b5bc2a6dc896c9223 5091Author: Sebastian Pölsterl <sebp@k-d-w.org> 5092Date: Sat Oct 23 14:18:09 2010 +0200 5093 5094 Override Gtk.TextBuffer.get_selection_bounds to not return success 5095 value 5096 5097 gi/overrides/Gtk.py | 5 +++++ 5098 1 files changed, 5 insertions(+), 0 deletions(-) 5099 5100commit da6d87460b9392c29d025a7eed9249fb604204bc 5101Author: Sebastian Pölsterl <sebp@k-d-w.org> 5102Date: Sat Oct 23 14:17:04 2010 +0200 5103 5104 Override Gtk.RecentInfo.get_application_info to not return success 5105 value 5106 5107 gi/overrides/Gtk.py | 10 ++++++++++ 5108 1 files changed, 10 insertions(+), 0 deletions(-) 5109 5110commit 0ed2e8772bdc405b0d0c7e0b2803e0e141abcb6a 5111Author: Sebastian Pölsterl <sebp@k-d-w.org> 5112Date: Sat Oct 23 14:16:21 2010 +0200 5113 5114 Override Gtk.IMContext.get_surrounding to not return success value 5115 5116 gi/overrides/Gtk.py | 10 ++++++++++ 5117 1 files changed, 10 insertions(+), 0 deletions(-) 5118 5119commit b85b445f15421209c0b4adf676d7c8218d6437c5 5120Author: Sebastian Pölsterl <sebp@k-d-w.org> 5121Date: Sat Oct 23 14:15:24 2010 +0200 5122 5123 Override get_item_at_pos, get_visible_range, get_dest_item_at_pos 5124 of Gtk.IconView to not return success value 5125 5126 gi/overrides/Gtk.py | 19 +++++++++++++++++++ 5127 1 files changed, 19 insertions(+), 0 deletions(-) 5128 5129commit 684d716192d58c972083e579e909bcd97f8a5025 5130Author: Sebastian Pölsterl <sebp@k-d-w.org> 5131Date: Sat Oct 23 14:13:47 2010 +0200 5132 5133 Override Gtk.Container.get_focus_chain to not return success value 5134 5135 gi/overrides/Gtk.py | 10 ++++++++++ 5136 1 files changed, 10 insertions(+), 0 deletions(-) 5137 5138commit 8ec830c57fafbfe50d9619c6caba3cb95a00d688 5139Author: Sebastian Pölsterl <sebp@k-d-w.org> 5140Date: Sat Oct 23 14:12:44 2010 +0200 5141 5142 Override Gtk.ComboBox.get_active_iter to not return success value 5143 5144 gi/overrides/Gtk.py | 10 ++++++++++ 5145 1 files changed, 10 insertions(+), 0 deletions(-) 5146 5147commit b483852904468722230903989e3451c7c6a24c0f 5148Author: John (J5) Palmieri <johnp@redhat.com> 5149Date: Tue Oct 12 12:18:33 2010 -0400 5150 5151 [gi] make parameter check less strict when dealing with GValue params 5152 5153 * Some GValue API can store a pointer to a python object for later 5154 use but our parameter checking was too strict to allow this 5155 * Add pyg_type_from_object_strict API which takes a strict boolean and 5156 returns PY_TYPE_OBJECT if no other GType can be found 5157 * Since we don't have enough info to genrically check GValue 5158 parameters 5159 use the less strict type guessing when encountering a GValue param 5160 * Other API stays the same and continues to do strict testing 5161 5162 https://bugzilla.gnome.org/show_bug.cgi?id=622987 5163 5164 gi/pygi-argument.c | 17 +++++--------- 5165 gobject/gobjectmodule.c | 4 +- 5166 gobject/pygobject-private.h | 1 + 5167 gobject/pygobject.h | 2 + 5168 gobject/pygtype.c | 37 ++++++++++++++++++++++++++++--- 5169 tests/test_gi.py | 1 - 5170 tests/test_overrides.py | 50 5171 +++++++++++++++++++++++++++++++++++++++--- 5172 7 files changed, 90 insertions(+), 22 deletions(-) 5173 5174commit 8c87d622dcc6d76a981edfc5818fe67bb2e114e2 5175Author: John Stowers <john.stowers@gmail.com> 5176Date: Fri Oct 22 13:28:31 2010 +1300 5177 5178 Shortcut removal is not needed on post-uninstall 5179 5180 pygobject_postinstall.py | 14 ++------------ 5181 1 files changed, 2 insertions(+), 12 deletions(-) 5182 5183commit a3ed97fe6f80548801739fe6b72771b9eb6d93f7 5184Author: John Stowers <john.stowers@gmail.com> 5185Date: Thu Oct 21 13:25:35 2010 +1300 5186 5187 Disable shortcut creation in windows installer 5188 5189 pygobject_postinstall.py | 2 +- 5190 1 files changed, 1 insertions(+), 1 deletions(-) 5191 5192commit a3d6212b0abccef58f05d454c091936776413d98 5193Author: John (J5) Palmieri <johnp@redhat.com> 5194Date: Thu Oct 7 11:43:27 2010 -0400 5195 5196 overrides for all subclasses of dialog 5197 5198 https://bugzilla.gnome.org/show_bug.cgi?id=631634 5199 5200 gi/overrides/Gtk.py | 94 5201 ++++++++++++++++++++++++++++++++++++++++++++--- 5202 tests/test_overrides.py | 64 +++++++++++++++++++++++++++++++- 5203 2 files changed, 151 insertions(+), 7 deletions(-) 5204 5205commit a87e3ba64b54e6df0b5b96af47c34e3be790b58f 5206Author: Sebastian Pölsterl <sebp@k-d-w.org> 5207Date: Thu Oct 7 19:37:53 2010 +0200 5208 5209 Make TreeModel behave like in GTK-2.x 5210 5211 Moved stuff from __getitem__ to get_iter. 5212 Added TreePath.__cmp__ 5213 5214 get_iter_from_string throws ValueError. 5215 iterchildren() does not return None. 5216 5217 Adjusted tests to new TreeModel and added TestGtk.test_tree_model 5218 method 5219 5220 Added support for negative row and column indices 5221 5222 Use rich comparison methods instead of __cmp__ 5223 5224 Added TreeModel.__bool__/__nonzero__ 5225 5226 Raise Error if tree path string is empty 5227 5228 https://bugzilla.gnome.org/show_bug.cgi?id=631547 5229 5230 gi/overrides/Gtk.py | 195 5231 +++++++++++++++++++++++++++++++++++++++++++++++ 5232 tests/test_overrides.py | 160 +++++++++++++++++++++++++++++++++++++-- 5233 2 files changed, 349 insertions(+), 6 deletions(-) 5234 5235commit acfcc29af727fb67d0dfbbcc7cc14963ef21f1ea 5236Author: John Stowers <john.stowers@gmail.com> 5237Date: Sat Oct 16 18:59:25 2010 +1300 5238 5239 Correctly build GIO on windows 5240 5241 setup.py | 6 +++--- 5242 1 files changed, 3 insertions(+), 3 deletions(-) 5243 5244commit 33b59fd7437009b6c3ed43412e171d2cc91ee317 5245Author: John Stowers <john.stowers@gmail.com> 5246Date: Sat Oct 16 18:17:28 2010 +1300 5247 5248 Require Python >= 2.6.0 for Windows build 5249 5250 setup.py | 2 +- 5251 1 files changed, 1 insertions(+), 1 deletions(-) 5252 5253commit 544e0e4de4f5f97b0584eaf72ae8a081eca28ab6 5254Author: John Stowers <john.stowers@gmail.com> 5255Date: Sat Oct 16 17:41:01 2010 +1300 5256 5257 Fix depreciation warning in dsextras.py 5258 5259 dsextras.py | 2 +- 5260 1 files changed, 1 insertions(+), 1 deletions(-) 5261 5262commit 239ff961778e4e1587404d8a70dfbe8630ab0623 5263Author: John Stowers <john.stowers@gmail.com> 5264Date: Sat Oct 16 17:34:50 2010 +1300 5265 5266 Fix build on windows 5267 5268 gi/pygi-foreign.c | 5 ++++- 5269 gi/pygi.h | 5 ++++- 5270 setup.py | 4 ++-- 5271 3 files changed, 10 insertions(+), 4 deletions(-) 5272 5273commit 9a2f81d63012fef23fdde2b4d903bd69601c07c6 5274Author: Michael Culbertson <michael.culbertson@gmail.com> 5275Date: Sat Oct 16 17:08:11 2010 +1300 5276 5277 Support for GCC4 in Windows distutils build - bug 626548 5278 5279 dsextras.py | 3 ++- 5280 1 files changed, 2 insertions(+), 1 deletions(-) 5281 5282commit 27367c8dc3a3a31fdd778505b319cd3f4afb9e27 5283Author: John Stowers <john.stowers@gmail.com> 5284Date: Fri Oct 15 09:39:02 2010 +1300 5285 5286 Remove obsolete comments in dsextras.py 5287 5288 dsextras.py | 11 ++--------- 5289 1 files changed, 2 insertions(+), 9 deletions(-) 5290 5291commit b5f383f854fb8f72677828b029589320c59006d1 5292Author: John Stowers <john.stowers@gmail.com> 5293Date: Fri Oct 15 09:21:03 2010 +1300 5294 5295 Broken dsextras.py pkg-config check error message 5296 5297 * Fixes bug 631962 5298 5299 dsextras.py | 2 +- 5300 1 files changed, 1 insertions(+), 1 deletions(-) 5301 5302commit e1981da105b574e273ae6500fc6d25caf6af6aae 5303Author: John (J5) Palmieri <johnp@redhat.com> 5304Date: Tue Sep 28 15:31:03 2010 -0400 5305 5306 add compat functions for the deprecated PyCObject api 5307 5308 * Moved to using the PyCapsule API for python >= 3 5309 * PyCObject is removed from Python 3.2 5310 * It has also been deprecated in 2.7 but since we use the API in 5311 header files 5312 which are consumed by static binding modules, appling this for 5313 python 2.7 5314 causes crashes unless the modules are recompiled, breaking ABI. 5315 It is safe 5316 to rely on for 2.7 because it will never be removed and there is 5317 talk of 5318 undeprecating it upstream. 5319 * There is no issues with static bindings under python 3 because 5320 they are not 5321 supported yet and most likely never will be. 5322 * Even if PyCObject is brought back in 3.2, PyCapsule is a much 5323 safer API 5324 which adds a poorman's type check when unboxing. 5325 5326 https://bugzilla.gnome.org/show_bug.cgi?id=630844 5327 5328 gi/gimodule.c | 2 +- 5329 gi/pygi.h | 5 ++++- 5330 glib/glibmodule.c | 2 +- 5331 glib/pyglib-python-compat.h | 28 ++++++++++++++++++++++++++++ 5332 glib/pyglib.c | 6 +++--- 5333 glib/pygoptioncontext.c | 2 +- 5334 gobject/gobjectmodule.c | 2 +- 5335 gobject/pygobject.h | 6 ++++++ 5336 gobject/pygtype.c | 10 +++++----- 5337 9 files changed, 50 insertions(+), 13 deletions(-) 5338 5339commit 03d2e2924e27a9d6cae89e5748f70e0a51be91c6 5340Author: Damien Caliste <damien.caliste@cea.fr> 5341Date: Tue Sep 28 12:44:42 2010 +0200 5342 5343 Add __path__ attributes. 5344 5345 Add an attribute __path__ to DynamicModule and IntrospectionModule, 5346 using the path of the typelib. 5347 5348 https://bugzilla.gnome.org/show_bug.cgi?id=630807 5349 5350 gi/module.py | 2 ++ 5351 1 files changed, 2 insertions(+), 0 deletions(-) 5352 5353commit 28f9366c9cb382801bad080864f667c867daa3c7 5354Author: Sebastian Pölsterl <sebp@k-d-w.org> 5355Date: Sat Oct 9 17:40:40 2010 +0200 5356 5357 Override Gtk.TreeSelection.get_selected to not return success value. 5358 5359 https://bugzilla.gnome.org/show_bug.cgi?id=631765 5360 5361 gi/overrides/Gtk.py | 12 ++++++++++++ 5362 1 files changed, 12 insertions(+), 0 deletions(-) 5363 5364commit f01a7d9e8222663ce52100e061033f2745a5e7af 5365Author: Vincent Untz <vuntz@gnome.org> 5366Date: Thu Oct 7 09:42:24 2010 +0200 5367 5368 Make row optional in Gtk.TreeStore/ListStore.append override 5369 5370 https://bugzilla.gnome.org/show_bug.cgi?id=631548 5371 5372 gi/overrides/Gtk.py | 36 ++++++++++++++++++++++-------------- 5373 1 files changed, 22 insertions(+), 14 deletions(-) 5374 5375commit 1e1357f5fa1a034b0b707040d664ac46be6e23f7 5376Author: John (J5) Palmieri <johnp@redhat.com> 5377Date: Mon Oct 4 12:50:55 2010 -0400 5378 5379 Revert "add compat functions for the deprecated PyCObject api" 5380 5381 This reverts commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0. 5382 5383 I ment to commit another patch and ended up comitting both 5384 5385 gi/gimodule.c | 2 +- 5386 gi/pygi.h | 5 +---- 5387 glib/glibmodule.c | 2 +- 5388 glib/pyglib-python-compat.h | 19 ------------------- 5389 glib/pyglib.c | 6 +++--- 5390 glib/pygoptioncontext.c | 2 +- 5391 gobject/gobjectmodule.c | 2 +- 5392 gobject/pygobject.h | 6 ------ 5393 gobject/pygtype.c | 10 +++++----- 5394 9 files changed, 13 insertions(+), 41 deletions(-) 5395 5396commit 97774cb149c5b03d5ef82a5af3f19e2ce4d79d0b 5397Author: John (J5) Palmieri <johnp@redhat.com> 5398Date: Mon Oct 4 12:43:31 2010 -0400 5399 5400 return NULL instead of -1 which fixes crash when introspection is 5401 turned off 5402 5403 * see https://bugzilla.gnome.org/show_bug.cgi?id=631158 5404 5405 gi/pygi.h | 2 +- 5406 1 files changed, 1 insertions(+), 1 deletions(-) 5407 5408commit f25e763d53e5cdd4de08e90b04aea4b4c4720ac0 5409Author: John (J5) Palmieri <johnp@redhat.com> 5410Date: Tue Sep 28 15:31:03 2010 -0400 5411 5412 add compat functions for the deprecated PyCObject api 5413 5414 * Moved to using the PyCapsule API for python >= 2.7 5415 5416 https://bugzilla.gnome.org/show_bug.cgi?id=630844 5417 5418 gi/gimodule.c | 2 +- 5419 gi/pygi.h | 5 ++++- 5420 glib/glibmodule.c | 2 +- 5421 glib/pyglib-python-compat.h | 19 +++++++++++++++++++ 5422 glib/pyglib.c | 6 +++--- 5423 glib/pygoptioncontext.c | 2 +- 5424 gobject/gobjectmodule.c | 2 +- 5425 gobject/pygobject.h | 6 ++++++ 5426 gobject/pygtype.c | 10 +++++----- 5427 9 files changed, 41 insertions(+), 13 deletions(-) 5428 5429commit 80b8ccd450fe4e3ea77b27e58bb63cabc2a2bb2b 5430Author: John (J5) Palmieri <johnp@redhat.com> 5431Date: Tue Sep 28 15:28:16 2010 -0400 5432 5433 fix commit 7fe83108 which didn't use the compat functions for 5434 string handling 5435 5436 glib/glibmodule.c | 2 +- 5437 1 files changed, 1 insertions(+), 1 deletions(-) 5438 5439commit 9562842907a9d94f6adae2c1bb20d6b1f189abda 5440Author: John (J5) Palmieri <johnp@redhat.com> 5441Date: Tue Sep 28 13:15:57 2010 -0400 5442 5443 Python 3 fixes for dsextras and the python.m4 distribution files 5444 5445 dsextras.py | 13 +++++++------ 5446 m4/python.m4 | 4 ++-- 5447 2 files changed, 9 insertions(+), 8 deletions(-) 5448 5449commit 98f69957ee9e3037b0a05a037098e4d2133ca256 5450Author: John (J5) Palmieri <johnp@redhat.com> 5451Date: Mon Sep 27 14:01:31 2010 -0400 5452 5453 post release bump to 2.27.0 unstable 5454 5455 * update hacking to fill in some holes in the release instructions 5456 5457 HACKING | 6 ++++-- 5458 configure.ac | 2 +- 5459 2 files changed, 5 insertions(+), 3 deletions(-) 5460 5461commit fd38010101411e6bc1ca9314657f418de660fa13 5462Author: John (J5) Palmieri <johnp@redhat.com> 5463Date: Mon Sep 27 12:03:10 2010 -0400 5464 5465 update NEWS for release 5466 5467 NEWS | 93 5468 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5469 1 files changed, 93 insertions(+), 0 deletions(-) 5470 5471commit 7072d56b6cba13da97a052c75d1ae0c2cc417fd1 5472Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5473Date: Sun Sep 26 08:37:31 2010 +0200 5474 5475 Pre-release version bump 2.26.0 5476 5477 configure.ac | 4 ++-- 5478 1 files changed, 2 insertions(+), 2 deletions(-) 5479 5480commit a549f429d2ced7a78d5baa5e2f28f6750b4788f2 5481Author: John Stowers <john.stowers@gmail.com> 5482Date: Fri Sep 24 22:44:03 2010 +1200 5483 5484 Wrap g_get_system_{config,data}_dirs () 5485 5486 * Also tidy up g_get_{cache,config,data}_dir 5487 to share common code 5488 5489 glib/glibmodule.c | 68 5490 +++++++++++++++++++++++++++++++++++++++-------------- 5491 1 files changed, 50 insertions(+), 18 deletions(-) 5492 5493commit 328aca600714bdca89dfdb531c222ee561ede27e 5494Author: John (J5) Palmieri <johnp@redhat.com> 5495Date: Fri Sep 24 12:16:22 2010 -0400 5496 5497 fixed make check and make dist 5498 5499 tests/Makefile.am | 31 ++++++++++++++++++------------- 5500 1 files changed, 18 insertions(+), 13 deletions(-) 5501 5502commit 27023fd56148dd17b5576c1e81e0fe851d9b8727 5503Author: John Stowers <john.stowers@gmail.com> 5504Date: Fri Sep 24 21:20:53 2010 +1200 5505 5506 Disable GI tests when introspection disabled 5507 5508 tests/Makefile.am | 2 ++ 5509 1 files changed, 2 insertions(+), 0 deletions(-) 5510 5511commit 7fe831081cdd2e26f5d948326b9f89ea0694e752 5512Author: Tomeu Vizoso <tomeu@sugarlabs.org> 5513Date: Sat Jul 18 19:35:08 2009 +0200 5514 5515 Wrap g_uri_list_extract_uris. Fixes bug #584431 5516 5517 glib/glibmodule.c | 38 ++++++++++++++++++++++++++++++++++++++ 5518 gobject/__init__.py | 2 +- 5519 tests/Makefile.am | 3 ++- 5520 tests/test_uris.py | 15 +++++++++++++++ 5521 4 files changed, 56 insertions(+), 2 deletions(-) 5522 5523commit d6721a59c294f2471142b8c32de2f647b7084bca 5524Author: Paul Bolle <pebolle@tiscali.nl> 5525Date: Thu Sep 23 15:38:40 2010 -0400 5526 5527 Fix a few uses of TRUE and FALSE in the docs 5528 5529 docs/reference/pygio-mount.xml | 5 +++-- 5530 docs/reference/pyglib-functions.xml | 18 +++++++++--------- 5531 docs/reference/pyglib-maincontext.xml | 12 ++++++------ 5532 docs/reference/pyglib-mainloop.xml | 6 +++--- 5533 docs/reference/pygobject-functions.xml | 6 +++--- 5534 docs/reference/pygobject.xml | 4 ++-- 5535 6 files changed, 26 insertions(+), 25 deletions(-) 5536 5537commit a08c9fffb4262ae678e17f90bbfb2d5f880cfad0 5538Author: Damien Caliste <damien.caliste@cea.fr> 5539Date: Tue Sep 21 17:52:14 2010 +0200 5540 5541 pygi: always free the invocation_state struct 5542 5543 In pygi-invoke.c, the invocation_state struct is never freed 5544 in case of success. Thus, always call _free_invocation_state() 5545 before leaving. 5546 Modify _free_invocation_state to avoid double free in case of 5547 caller-allocated GValue, once as a released argument in the 5548 _process routine and another time in the _free as the special 5549 case. So move all argument releasing code from the _process 5550 routine to the _free one. 5551 Modify the tests for the callback routines to return an integer 5552 value as specified in the GIR file. 5553 5554 Make check is as successful as before (already existing error 5555 related to GVariant is still there). 5556 5557 https://bugzilla.gnome.org/show_bug.cgi?id=630271 5558 5559 gi/pygi-invoke.c | 83 5560 ++++++++++++++++++++------------------------- 5561 tests/test_everything.py | 4 ++- 5562 2 files changed, 40 insertions(+), 47 deletions(-) 5563 5564commit 9714d765a34e246899f11b6792eea3aecce0b7ec 5565Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5566Date: Mon Sep 13 16:36:47 2010 +0200 5567 5568 Start implementing something equivalent to g_variant_new 5569 5570 https://bugzilla.gnome.org/show_bug.cgi?id=629367 5571 5572 gi/gimodule.c | 20 +++++++ 5573 gi/overrides/GLib.py | 131 5574 +++++++++++++++++++++++++++++++++++++++++-- 5575 gi/pygi-foreign-gvariant.c | 2 +- 5576 tests/test_everything.py | 16 ----- 5577 tests/test_overrides.py | 25 ++++++++ 5578 5 files changed, 170 insertions(+), 24 deletions(-) 5579 5580commit fc45abdd9b55ab63556798ab0f04715be79dba08 5581Author: John (J5) Palmieri <johnp@redhat.com> 5582Date: Thu Sep 23 10:49:36 2010 -0400 5583 5584 fixed typo - missing comma in glib.option module 5585 5586 * https://bugzilla.gnome.org/show_bug.cgi?id=627449 5587 5588 glib/option.py | 2 +- 5589 1 files changed, 1 insertions(+), 1 deletions(-) 5590 5591commit 4ed100f3183c6325dd04461484e877bb7d4131b1 5592Author: John (J5) Palmieri <johnp@redhat.com> 5593Date: Fri Sep 17 12:08:09 2010 -0400 5594 5595 add checks so we can compile under python 3 by setting PYTHON=python3 5596 5597 * compile for python 3 5598 * disables gio if compiling under python 3.x 5599 * runs only pertinant tests 5600 5601 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5602 5603 configure.ac | 32 +++++++++++++++++++++++++++++--- 5604 tests/Makefile.am | 35 ++++++++++++++++++++--------------- 5605 tests/runtests.py | 4 ++++ 5606 3 files changed, 53 insertions(+), 18 deletions(-) 5607 5608commit 269ff8564eeb597dc06c27e293354b7ff7a71a82 5609Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5610Date: Fri Sep 17 15:50:47 2010 +0200 5611 5612 Rename static methods as functions 5613 5614 In recent gobject-introspection releases, static methods have been 5615 removed and placed as functions in the namespace level. In a future 5616 releases it's planned to become static methods again but for now 5617 let's fix the tests. 5618 5619 tests/test_gi.py | 14 +++++++------- 5620 1 files changed, 7 insertions(+), 7 deletions(-) 5621 5622commit 2da8da589644d6125101210712defb1272a8abb1 5623Author: John (J5) Palmieri <johnp@redhat.com> 5624Date: Thu Sep 9 13:52:14 2010 -0400 5625 5626 fix a couple of compiler warnings 5627 5628 https://bugzilla.gnome.org/show_bug.cgi?id=629199 5629 5630 gi/pygi-argument.c | 4 ++-- 5631 gi/pygi-struct.c | 2 +- 5632 gobject/gobjectmodule.c | 2 +- 5633 3 files changed, 4 insertions(+), 4 deletions(-) 5634 5635commit 6769a4704f0876ac3baacd4da03ff16d9f0906be 5636Author: John (J5) Palmieri <johnp@redhat.com> 5637Date: Thu Sep 9 13:55:17 2010 -0400 5638 5639 remove unused code 5640 5641 * we use richcompare now 5642 5643 https://bugzilla.gnome.org/show_bug.cgi?id=629198 5644 5645 gobject/pygtype.c | 9 --------- 5646 1 files changed, 0 insertions(+), 9 deletions(-) 5647 5648commit 98f54f9d33996baeaa8c8c1240310f5396d03a1d 5649Author: John (J5) Palmieri <johnp@redhat.com> 5650Date: Tue Sep 14 14:10:49 2010 -0400 5651 5652 Check the type of the instance object 5653 5654 * in python 2 methods were added to classes as unbound methods and 5655 they would 5656 check the instance type to make sure it was correct 5657 * in python 3 for perfomance reasons methods are added to classes 5658 as simple 5659 functions which treat the instance as an untyped argument so 5660 no checks 5661 are made. 5662 * this patch adds a type check so that the correct errors are 5663 thrown in 5664 python 3 (python 2 this just adds another layer of redundancy should 5665 something change with type checking in the future) 5666 * since GI handles regular args and the instance arg slightly 5667 differently 5668 we had to split out the interface checks in 5669 _pygi_g_type_info_check_object 5670 in order to not duplicate code 5671 5672 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5673 5674 gi/pygi-argument.c | 182 5675 +++++++++++++++++++++++++++------------------------ 5676 gi/pygi-argument.h | 2 + 5677 gi/pygi-invoke.c | 14 ++++ 5678 3 files changed, 112 insertions(+), 86 deletions(-) 5679 5680commit 5d79498d38b147b66ae72c1481e397160491e8d6 5681Author: John (J5) Palmieri <johnp@redhat.com> 5682Date: Wed Sep 15 10:26:20 2010 -0400 5683 5684 include the correct pycairo version 5685 5686 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5687 5688 gi/pygi-foreign-cairo.c | 6 ++++++ 5689 1 files changed, 6 insertions(+), 0 deletions(-) 5690 5691commit b855562e5c0019cd7e4982fe00c467ede9e3926d 5692Author: John (J5) Palmieri <johnp@redhat.com> 5693Date: Thu Sep 9 22:16:58 2010 -0400 5694 5695 Use PyMapping_Keys to determine if an object is a dict (py3k fix) 5696 5697 * in Py3k PyMapping_Check returns true for sequences such as strings 5698 and lists. Since we need to get the keys anyway, and it returns 5699 NULL if this is not a dict, this is a much better test, even in 5700 Py2 5701 5702 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5703 5704 gi/pygi-argument.c | 10 +++------- 5705 1 files changed, 3 insertions(+), 7 deletions(-) 5706 5707commit 0e72e28c6c5502c7db5103cf1299c9f0e6689fdd 5708Author: John (J5) Palmieri <johnp@redhat.com> 5709Date: Thu Sep 9 18:44:11 2010 -0400 5710 5711 fix handling of UINT64 and INT64 arguments in py3k 5712 5713 * decode to the right sized C long 5714 5715 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5716 5717 gi/pygi-argument.c | 20 ++++++++++++-------- 5718 1 files changed, 12 insertions(+), 8 deletions(-) 5719 5720commit d5666d99a1c0396b7da0cb14f9f4ff8892da7e2e 5721Author: John (J5) Palmieri <johnp@redhat.com> 5722Date: Thu Sep 9 17:35:10 2010 -0400 5723 5724 properly handle ulongs properties in py3k 5725 5726 * If this is a PyLong object pull use AsUnsignedLong 5727 5728 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5729 5730 gobject/pygtype.c | 31 +++++++++++++++++-------------- 5731 1 files changed, 17 insertions(+), 14 deletions(-) 5732 5733commit 3d431c7dd0de97db10cb0c00c39d9c1837bed2f2 5734Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5735Date: Fri Sep 17 12:14:56 2010 +0200 5736 5737 Specify encoding of tests/test_gi.py 5738 5739 tests/test_gi.py | 3 ++- 5740 1 files changed, 2 insertions(+), 1 deletions(-) 5741 5742commit a808bdabb9fa6f4a9b9ce42e1cce05fb37403f0f 5743Author: John (J5) Palmieri <johnp@redhat.com> 5744Date: Thu Sep 9 13:24:30 2010 -0400 5745 5746 use actual unicode in the tests on py3k, not the byte representation 5747 5748 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5749 5750 tests/test_gi.py | 6 +++++- 5751 1 files changed, 5 insertions(+), 1 deletions(-) 5752 5753commit 928f4485041d80d0c36ff2daeae4bcd09bd0bde4 5754Author: John (J5) Palmieri <johnp@redhat.com> 5755Date: Thu Sep 9 12:45:21 2010 -0400 5756 5757 s/METH_KEYWORDS/METH_VARARGS|METH_KEYWORDS/ when defining object 5758 methods 5759 5760 * in Py3k the METH_KEYWORDS flag by itself is invalid. A method 5761 must be defined 5762 with both the METH_VARARGS and METH_KEYWORDS flags. 5763 5764 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5765 5766 glib/pygiochannel.c | 30 +++++++++++++++--------------- 5767 glib/pygsource.c | 4 ++-- 5768 gobject/pygobject.c | 2 +- 5769 3 files changed, 18 insertions(+), 18 deletions(-) 5770 5771commit b5ee20afa4399c7689fbec8939fa20b927eeb782 5772Author: John (J5) Palmieri <johnp@redhat.com> 5773Date: Thu Sep 9 08:04:40 2010 -0400 5774 5775 fix subclassing PyLong by calling __new__ correctly 5776 5777 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5778 5779 glib/pygspawn.c | 4 ++-- 5780 1 files changed, 2 insertions(+), 2 deletions(-) 5781 5782commit a499b2f0d622b671bd154544f66b73f1278e66ed 5783Author: John (J5) Palmieri <johnp@redhat.com> 5784Date: Thu Sep 9 07:56:44 2010 -0400 5785 5786 minor py3k fixups for python modules 5787 5788 * add _basestring and _bytes and _callable wrappers 5789 * use items instead of iteritems and range instead of xrange 5790 5791 fix py3k modules 5792 5793 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5794 5795 gi/overrides/Gtk.py | 24 ++++++++++++++++-------- 5796 glib/option.py | 16 ++++++++++++---- 5797 2 files changed, 28 insertions(+), 12 deletions(-) 5798 5799commit dec9001d26c97949e7b3578086cb35e98075c047 5800Author: John (J5) Palmieri <johnp@redhat.com> 5801Date: Thu Sep 9 07:36:04 2010 -0400 5802 5803 minor fixes in tests for py3k compat 5804 5805 * add a _bytes wrapper for API that expects bytes in py3k but str 5806 in py2 5807 * fix some more exception handling using sys.exc_info()[:2] 5808 * use range instead of xrange, items instead of iteritems since py3k 5809 dropped support for the different ways of accessing iterators 5810 - this is less efficient in py2 but we plan to target py3k as the 5811 primary platform 5812 * use list(dict.items()) since py3k only returns iterables which 5813 are not 5814 indexable 5815 * missed some _long wrapping 5816 5817 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5818 5819 tests/compathelper.py | 18 ++++++++++++++++++ 5820 tests/test_everything.py | 5 +++-- 5821 tests/test_mainloop.py | 3 ++- 5822 tests/test_option.py | 6 ++++-- 5823 tests/test_overrides.py | 4 ++-- 5824 tests/test_properties.py | 6 +++--- 5825 6 files changed, 32 insertions(+), 10 deletions(-) 5826 5827commit 09a0daeedf49eaf376c1288be5743b57fbc76d51 5828Author: Colin Walters <walters@verbum.org> 5829Date: Thu Sep 9 16:25:51 2010 -0400 5830 5831 compilation: Fix syntax error 5832 5833 gi/pygi-info.c | 2 +- 5834 1 files changed, 1 insertions(+), 1 deletions(-) 5835 5836commit 9f7afd6d5afd8c1a5f36bf1295814757b71c8cbc 5837Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5838Date: Thu Sep 9 22:17:00 2010 +0200 5839 5840 Add missing file 5841 5842 gi/overrides/GLib.py | 48 5843 ++++++++++++++++++++++++++++++++++++++++++++++++ 5844 1 files changed, 48 insertions(+), 0 deletions(-) 5845 5846commit 306b792ac97a458ddee59fb86d66453495117f3e 5847Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5848Date: Thu Jul 22 13:48:51 2010 +0100 5849 5850 Add override for GLib.Variant.new_tuple 5851 5852 * gi/gimodule.c: Add _wrap_pyg_variant_new_tuple 5853 * gi/overrides/GLib.py: Override Variant.new_tuple and 5854 Variant.get_string 5855 * gi/pygi-type.[hc]: split _pygi_type_import_by_name out from 5856 _pygi_type_import_by_gi_info 5857 * gi/types.py: Never override gobject.TYPE_NONE 5858 * tests/test_everything.py: Add tests for GVariant tuples 5859 5860 https://bugzilla.gnome.org/show_bug.cgi?id=625050 5861 5862 gi/gimodule.c | 38 ++++++++++++++++++++++++++++++++++++++ 5863 gi/overrides/Makefile.am | 1 + 5864 gi/pygi-type.c | 15 +++++++++------ 5865 gi/pygi-type.h | 2 ++ 5866 gi/types.py | 1 + 5867 tests/test_everything.py | 9 +++++++++ 5868 6 files changed, 60 insertions(+), 6 deletions(-) 5869 5870commit 22e53aa2ed9cf6173a877b0af6928d5ab8da2f4f 5871Author: John (J5) Palmieri <johnp@redhat.com> 5872Date: Wed Sep 8 13:08:48 2010 -0400 5873 5874 fix for changes in the gi test libraries 5875 5876 tests/test_everything.py | 2 +- 5877 1 files changed, 1 insertions(+), 1 deletions(-) 5878 5879commit 246877074617b0e9c3b2ba2a5395a73e0ed9cd5d 5880Author: John (J5) Palmieri <johnp@redhat.com> 5881Date: Wed Sep 8 13:08:07 2010 -0400 5882 5883 Gtk.DialogFlags.NO_SEPARATOR has been removed in Gtk 3.0 5884 5885 gi/overrides/Gtk.py | 10 ++++++++-- 5886 1 files changed, 8 insertions(+), 2 deletions(-) 5887 5888commit f92fc48e7e2ec50996e994ccb7d08a61e7374f22 5889Author: John (J5) Palmieri <johnp@redhat.com> 5890Date: Wed Sep 8 12:35:09 2010 -0400 5891 5892 no need to offset arg positions when is_method is true 5893 5894 * The old GI libraries required we offset arg positions for the 5895 missing 5896 self argument. The new library fixes this so we don't have 5897 to offset 5898 anymore. 5899 5900 https://bugzilla.gnome.org/show_bug.cgi?id=629087 5901 5902 gi/pygi-callbacks.c | 5 +---- 5903 1 files changed, 1 insertions(+), 4 deletions(-) 5904 5905commit 8c517de2d278bdef641c72b8f2919a3924290ec1 5906Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5907Date: Fri Aug 20 14:54:35 2010 +0200 5908 5909 gi: Add support for more property types 5910 5911 https://bugzilla.gnome.org/show_bug.cgi?id=627494 5912 5913 gi/pygi-property.c | 156 5914 +++++++++++++++++++++++++++++++++++----------- 5915 tests/test_everything.py | 34 ++++++++++ 5916 2 files changed, 154 insertions(+), 36 deletions(-) 5917 5918commit 6d183d1fff55d54569ba3e1f90a10284df74fd40 5919Author: John (J5) Palmieri <johnp@redhat.com> 5920Date: Fri Sep 3 12:04:16 2010 -0400 5921 5922 use PyObject_SetAttrString, not PyDict_SetItemString when setting 5923 __gtype__ 5924 5925 * When registering a gtype wrapper we used to set tp_dict 5926 directly. This works 5927 in python 2 but python 3 seems to handle attributes in a slightly 5928 different 5929 way where the tp_dict and attr get out of sync. By setting the attr 5930 directly we avoid this issue. 5931 * Note that there are many more places where we set __gtype__ 5932 using tp_dict 5933 however for objects which are not instantiated yet we have to 5934 set tp_dict 5935 directly. 5936 * Since this one change fixes a lot of failed tests, for now we 5937 ignore the 5938 other places where we set __gtype__. If we run into more issues 5939 dealing 5940 with __gtype__ we can take a closer look later. 5941 5942 https://bugzilla.gnome.org/show_bug.cgi?id=627878 5943 5944 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5945 5946 gobject/gobjectmodule.c | 2 +- 5947 1 files changed, 1 insertions(+), 1 deletions(-) 5948 5949commit b7bf4269682a3335f5e0a52b46fa721af134d09a 5950Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 5951Date: Wed Sep 1 11:03:40 2010 +0200 5952 5953 Rename GArgument to GIArgument 5954 5955 gi/pygi-argument.c | 52 5956 ++++++++++++++++++++++---------------------- 5957 gi/pygi-argument.h | 10 ++++---- 5958 gi/pygi-closure.c | 34 ++++++++++++++-------------- 5959 gi/pygi-foreign-cairo.c | 8 +++--- 5960 gi/pygi-foreign-gvariant.c | 4 +- 5961 gi/pygi-foreign-gvariant.h | 4 +- 5962 gi/pygi-foreign.c | 12 +++++----- 5963 gi/pygi-foreign.h | 8 +++--- 5964 gi/pygi-info.c | 8 +++--- 5965 gi/pygi-invoke.c | 28 +++++++++++----------- 5966 gi/pygi-property.c | 4 +- 5967 gi/pygi.h | 16 ++++++------ 5968 12 files changed, 94 insertions(+), 94 deletions(-) 5969 5970commit 7197f85c9be2b03636639ac909ca2c3170653509 5971Author: John (J5) Palmieri <johnp@redhat.com> 5972Date: Wed Aug 18 10:29:19 2010 -0400 5973 5974 fix up tests so they run in py3k 5975 5976 * add a compat helper that should only be used by tests 5977 * fix long notation to use the compat helper instead 5978 * add parens to print statements 5979 * use compatable try/except pattern 5980 5981 https://bugzilla.gnome.org/show_bug.cgi?id=615872 5982 5983 gobject/propertyhelper.py | 16 +++++++++++----- 5984 tests/compathelper.py | 32 ++++++++++++++++++++++++++++++++ 5985 tests/test_option.py | 7 ++++++- 5986 tests/test_properties.py | 24 ++++++++++++++---------- 5987 tests/test_signal.py | 14 +++++++------- 5988 tests/test_source.py | 4 ++-- 5989 6 files changed, 72 insertions(+), 25 deletions(-) 5990 5991commit 720e614acdbcf734d4bcccc403e639b5a5bcae24 5992Author: Colin Walters <walters@verbum.org> 5993Date: Fri Aug 20 10:58:48 2010 -0400 5994 5995 tests: Port to new introspection tests 5996 5997 Everything is renamed "Regress", and both it and GIMarshallingTests 5998 are now in source form, so we compile them. 5999 6000 The scanner now adds "static methods" to objects, structs, and unions, 6001 so update the test code to use those. 6002 6003 In the tests, remove broken (inout) cases - the person writing these 6004 tests misunderstood the semantics of (inout). It's not acceptable for 6005 a C API to mutate e.g. a GSList* passed in, or unref an object. 6006 6007 The invocation code needed to be updated for this - remove some 6008 broken hacks. 6009 6010 https://bugzilla.gnome.org/show_bug.cgi?id=627878 6011 6012 configure.ac | 5 +- 6013 gi/pygi-argument.c | 9 +-- 6014 gi/pygi-invoke.c | 147 6015 +++++---------------------------------------- 6016 tests/Makefile.am | 42 ++++++++++++- 6017 tests/test_everything.py | 6 +- 6018 tests/test_gi.py | 151 6019 +++++++++------------------------------------- 6020 6 files changed, 93 insertions(+), 267 deletions(-) 6021 6022commit f6c4d9e58c8f05cb2d82e158c9eb8480308565bd 6023Author: John (J5) Palmieri <johnp@redhat.com> 6024Date: Fri Aug 20 10:43:58 2010 -0400 6025 6026 we need to specify tp_hash since we overide tp_richcompare 6027 6028 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6029 6030 gobject/pygenum.c | 1 + 6031 gobject/pygflags.c | 1 + 6032 2 files changed, 2 insertions(+), 0 deletions(-) 6033 6034commit c03e6b482548aee99362356807c804f8834fad2b 6035Author: John Ehresman <jpe@wingware.com> 6036Date: Thu Apr 15 17:11:30 2010 -0400 6037 6038 working enum/flags/pid subclasses of long 6039 6040 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6041 6042 glib/pygspawn.c | 7 +++-- 6043 gobject/pygenum.c | 61 ++++++++++++++++++++++++------------------ 6044 gobject/pygflags.c | 76 6045 ++++++++++++++++++++++------------------------------ 6046 3 files changed, 71 insertions(+), 73 deletions(-) 6047 6048commit 0db676fd2296750a46ba0fb069e472da06ecc53a 6049Author: John (J5) Palmieri <johnp@redhat.com> 6050Date: Wed Aug 18 11:03:32 2010 -0400 6051 6052 make vfuncs work in py3k 6053 6054 * methods now export __func__ instead of im_func for getting the 6055 function 6056 out of a method closure 6057 * however classes no longer return unbound methods in py3k and instead 6058 return the actual function 6059 * in python 2 we use im_func when getting the function from the 6060 vfunc closure 6061 * in py3k we simply assign vfunc to the function 6062 6063 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6064 6065 gi/types.py | 12 ++++++++---- 6066 1 files changed, 8 insertions(+), 4 deletions(-) 6067 6068commit 286dcd0c6455961d818ac7f05f80f82435abc1dc 6069Author: John (J5) Palmieri <johnp@redhat.com> 6070Date: Tue Aug 17 15:43:42 2010 -0400 6071 6072 make cairo module compile in py3k 6073 6074 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6075 6076 gi/Makefile.am | 2 +- 6077 gi/pygi-foreign-cairo.c | 17 +++++++---------- 6078 2 files changed, 8 insertions(+), 11 deletions(-) 6079 6080commit bda58ec34fc443fe1108afc8532bec50f6fd0b44 6081Author: John (J5) Palmieri <johnp@redhat.com> 6082Date: Tue Aug 17 02:33:45 2010 -0400 6083 6084 fix exceptions so they work in python 3.x 6085 6086 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6087 6088 gi/module.py | 2 +- 6089 gi/types.py | 2 +- 6090 2 files changed, 2 insertions(+), 2 deletions(-) 6091 6092commit 427a3c8053feca35ccd746575760ac8a0ed50a12 6093Author: John (J5) Palmieri <johnp@redhat.com> 6094Date: Tue Aug 17 02:24:44 2010 -0400 6095 6096 make the gi module compile under 3.x 6097 6098 * include the compat macros 6099 * use GLIB_MODULE_START/END to define module 6100 * add PyInit__gi to the exported symbols 6101 6102 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6103 6104 gi/Makefile.am | 2 +- 6105 gi/gimodule.c | 24 +++++++++--------------- 6106 2 files changed, 10 insertions(+), 16 deletions(-) 6107 6108commit 1dee5dcd2b1747b4a4af438c0443d7930e4802db 6109Author: John (J5) Palmieri <johnp@redhat.com> 6110Date: Tue Aug 17 02:14:14 2010 -0400 6111 6112 fix up testshelper module so it compiles in python 3.x 6113 6114 * include the compat header 6115 * fix up PyInts to be PYGLIB_Long 6116 * Use PYGLIB_DEFINE_TYPE macros to define module objects 6117 * Use PYGLIB_MODULE_START/END to define modules 6118 6119 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6120 6121 tests/Makefile.am | 2 +- 6122 tests/testhelpermodule.c | 221 6123 ++++++---------------------------------------- 6124 2 files changed, 28 insertions(+), 195 deletions(-) 6125 6126commit 1ff83a2ccb7301c8f675913f1c4f6118ea50b9c7 6127Author: John (J5) Palmieri <johnp@redhat.com> 6128Date: Mon Aug 16 21:14:27 2010 -0400 6129 6130 convert to using PYGLIB_DEFINE_TYPE for module objects 6131 6132 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6133 6134 gi/pygi-boxed.c | 43 ++----------- 6135 gi/pygi-info.c | 171 6136 ++++++++++++++++++++------------------------------ 6137 gi/pygi-repository.c | 39 ++--------- 6138 gi/pygi-struct.c | 45 ++----------- 6139 4 files changed, 88 insertions(+), 210 deletions(-) 6140 6141commit 1efa2b12913b194d433c17014bc1077271a6ca32 6142Author: John (J5) Palmieri <johnp@redhat.com> 6143Date: Mon Aug 16 13:51:05 2010 -0400 6144 6145 some more p3k PyString and PyInt eradication in GI 6146 6147 * add the glib dir to the includes list in the build 6148 * make sure we include the compat macros 6149 * add GLIB_PyBytes_FromString to compat macros 6150 * add GLIB_PyNumber_Long to compat macros 6151 * use RichCompare instead of Compare 6152 6153 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6154 6155 gi/Makefile.am | 2 +- 6156 gi/pygi-argument.c | 96 6157 ++++++++++++++++++++++++++----------------- 6158 gi/pygi-boxed.c | 1 + 6159 gi/pygi-info.c | 13 ++++-- 6160 gi/pygi-private.h | 23 ++++++++++ 6161 gi/pygi-repository.c | 8 ++- 6162 gi/pygi-struct.c | 1 + 6163 glib/pyglib-python-compat.h | 6 +++ 6164 8 files changed, 103 insertions(+), 47 deletions(-) 6165 6166commit 6b902c66200c1684513a9ef31bdef3f2ff64e4fa 6167Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6168Date: Fri Aug 20 09:28:57 2010 +0200 6169 6170 pyglib: Fix typo (Leo Singer) 6171 6172 https://bugzilla.gnome.org/show_bug.cgi?id=627408 6173 6174 glib/option.py | 4 ++-- 6175 1 files changed, 2 insertions(+), 2 deletions(-) 6176 6177commit 3cefffecc1317b6ad77a5ed936bfb990d16bf9d3 6178Author: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 6179Date: Thu Aug 19 18:45:05 2010 -0300 6180 6181 Add defines for size_t and ssize_t conversion functions 6182 6183 These missing defines cause the resulting module to have unresolved 6184 symbols, rendering it unusable. 6185 6186 https://bugzilla.gnome.org/show_bug.cgi?id=627440 6187 6188 glib/pyglib-python-compat.h | 2 ++ 6189 1 files changed, 2 insertions(+), 0 deletions(-) 6190 6191commit d45c7031876f355e15409f00f3e50e77d18f8f4b 6192Author: Colin Walters <walters@verbum.org> 6193Date: Thu Aug 19 17:50:35 2010 -0400 6194 6195 pyglib: Fix a compiler warning 6196 6197 glib/pyglib.c | 1 + 6198 1 files changed, 1 insertions(+), 0 deletions(-) 6199 6200commit 0fe6828ddce187ac1897a1f02ca1c5480796d5b9 6201Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6202Date: Wed Aug 18 20:36:51 2010 +0200 6203 6204 Don't force gtk 2.0 6205 6206 pygi-convert.sh | 11 +++++++---- 6207 1 files changed, 7 insertions(+), 4 deletions(-) 6208 6209commit ac59c18a4f2bfff47c862b763aaf1d1cf136a4f5 6210Author: Steve Frécinaux <code@istique.net> 6211Date: Tue Aug 17 14:49:30 2010 +0200 6212 6213 Fix some ref leaks in hook_up_vfunc_implementation() 6214 6215 https://bugzilla.gnome.org/show_bug.cgi?id=627143 6216 6217 gi/gimodule.c | 9 +++++++-- 6218 1 files changed, 7 insertions(+), 2 deletions(-) 6219 6220commit 18ee0db673c2fa42244ab85950bbf4840edb674b 6221Author: John (J5) Palmieri <johnp@redhat.com> 6222Date: Thu Aug 12 12:16:31 2010 -0400 6223 6224 handle strings correctly in gio 6225 6226 gio/gappinfo.override | 5 +++++ 6227 gio/pygio-utils.c | 42 +++++++++++++++++++++++++++++++++++------- 6228 2 files changed, 40 insertions(+), 7 deletions(-) 6229 6230commit 45ab0c03110c911b47519941dfd753326891b5e0 6231Author: John (J5) Palmieri <johnp@redhat.com> 6232Date: Wed Aug 11 16:13:59 2010 -0400 6233 6234 make giomodule compile under py3k 6235 6236 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6237 6238 gio/giomodule.c | 153 6239 ++++++++++++++++++++++++++++--------------------------- 6240 1 files changed, 78 insertions(+), 75 deletions(-) 6241 6242commit c52f8ed3ae8cb66a03b5695e980770c3f467f755 6243Author: John (J5) Palmieri <johnp@redhat.com> 6244Date: Wed Aug 11 16:04:48 2010 -0400 6245 6246 for py3k we need to do some more processing to get bytes from a 6247 unicode string 6248 6249 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6250 6251 gi/pygi-argument.c | 31 +++++++++++++++++++++++++++---- 6252 1 files changed, 27 insertions(+), 4 deletions(-) 6253 6254commit de9eae4dfcce856a42cc5c569a5b9683c28d0eeb 6255Author: John (J5) Palmieri <johnp@redhat.com> 6256Date: Wed Aug 11 15:03:55 2010 -0400 6257 6258 use Bytes instead of Unicode when reading io 6259 6260 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6261 6262 glib/pygiochannel.c | 30 ++++++++++++++++++++++++------ 6263 1 files changed, 24 insertions(+), 6 deletions(-) 6264 6265commit 5824ff98175b749dbcfa72d24b994230b6e05377 6266Author: John (J5) Palmieri <johnp@redhat.com> 6267Date: Mon Aug 9 15:16:51 2010 -0400 6268 6269 prefix compat macros with PYGLIB 6270 6271 * refactor from John Ehresman <jpe@wingware.com> py3k branch 6272 * fix up some extranious PyString calls 6273 * remove duplicate macros from pyglib.h that are in 6274 pyglib-python-compat.h 6275 * pygobject.h can't import pyglib-python-compat.h so add codepaths 6276 for both Py3k and legacy code instead of using macros 6277 6278 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6279 6280 glib/glibmodule.c | 48 +++++----- 6281 glib/pygiochannel.c | 46 +++++----- 6282 glib/pyglib-python-compat.h | 153 +++++++++++++++++++++++------- 6283 glib/pyglib.c | 22 ++-- 6284 glib/pyglib.h | 14 --- 6285 glib/pygoptioncontext.c | 4 +- 6286 glib/pygsource.c | 16 ++-- 6287 glib/pygspawn.c | 32 +++--- 6288 gobject/gobjectmodule.c | 216 6289 +++++++++++++++++++++--------------------- 6290 gobject/pygboxed.c | 2 +- 6291 gobject/pygenum.c | 84 +++++++++--------- 6292 gobject/pygflags.c | 122 ++++++++++++------------ 6293 gobject/pygobject-private.h | 12 +- 6294 gobject/pygobject.c | 46 +++++----- 6295 gobject/pygobject.h | 23 +++++ 6296 gobject/pygparamspec.c | 24 +++--- 6297 gobject/pygpointer.c | 2 +- 6298 gobject/pygtype.c | 170 +++++++++++++++++----------------- 6299 18 files changed, 563 insertions(+), 473 deletions(-) 6300 6301commit 231e934cc01d061e81bb60d35127a133cd0e1793 6302Author: John (J5) Palmieri <johnp@redhat.com> 6303Date: Mon Aug 16 10:14:04 2010 +0200 6304 6305 Gtk.Button unit tests 6306 6307 https://bugzilla.gnome.org/show_bug.cgi?id=622606 6308 6309 tests/test_overrides.py | 10 ++++++++++ 6310 1 files changed, 10 insertions(+), 0 deletions(-) 6311 6312commit f07cfde377e42686c6b80f56cac62338ee333e61 6313Author: Johan Dahlin <johan@gnome.org> 6314Date: Mon Aug 16 10:08:38 2010 +0200 6315 6316 [Gtk] Add overrides for Button 6317 6318 https://bugzilla.gnome.org/show_bug.cgi?id=622606 6319 6320 gi/overrides/Gtk.py | 13 +++++++++++++ 6321 1 files changed, 13 insertions(+), 0 deletions(-) 6322 6323commit 65a06a7216163c7e65b32c5b5f3388faa7fda5d6 6324Author: Simon van der Linden <svdlinden@gnome.org> 6325Date: Thu Aug 12 16:18:58 2010 +0200 6326 6327 Make Cairo an optional dependency 6328 6329 Add the --enable-cairo configure argument. 6330 6331 https://bugzilla.gnome.org/show_bug.cgi?id=616732 6332 6333 configure.ac | 15 ++++++++++++--- 6334 gi/Makefile.am | 20 ++++++++++++-------- 6335 2 files changed, 24 insertions(+), 11 deletions(-) 6336 6337commit b83507263231d9bf47f6c8450583e3d03f0a3b5b 6338Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6339Date: Mon Aug 16 09:55:35 2010 +0200 6340 6341 Don't import again PyGObject (John Ralls) 6342 6343 https://bugzilla.gnome.org/show_bug.cgi?id=626996 6344 6345 gi/pygi.h | 1 + 6346 1 files changed, 1 insertions(+), 0 deletions(-) 6347 6348commit 0dc3656070f496431829c6e8441ca17129c569f8 6349Author: John (J5) Palmieri <johnp@redhat.com> 6350Date: Mon Aug 9 16:11:55 2010 -0400 6351 6352 move to using richcompare slot instead of compare 6353 6354 https://bugzilla.gnome.org/show_bug.cgi?id=615872 6355 6356 glib/pygiochannel.c | 18 +++++++--- 6357 glib/pyglib.c | 85 6358 +++++++++++++++++++++++++++++++++++++++++++++++ 6359 glib/pyglib.h | 3 ++ 6360 glib/pygmaincontext.c | 17 ++++++--- 6361 glib/pygmainloop.c | 17 ++++++--- 6362 glib/pygoptioncontext.c | 18 ++++++---- 6363 glib/pygoptiongroup.c | 22 +++++++----- 6364 gobject/pygboxed.c | 18 +++++++--- 6365 gobject/pygobject.c | 44 +++++++++++++++++------- 6366 gobject/pygparamspec.c | 19 +++++++--- 6367 gobject/pygpointer.c | 17 ++++++--- 6368 gobject/pygtype.c | 26 +++++++++++--- 6369 12 files changed, 233 insertions(+), 71 deletions(-) 6370 6371commit b426e531dc53d4b50e572a2da19733479635e662 6372Author: Simon van der Linden <svdlinden@gnome.org> 6373Date: Thu Aug 12 18:09:33 2010 +0200 6374 6375 Replace autogen.sh by a newer version 6376 6377 It pulls automake 1.10 or 1.11. 6378 Greatly inspired from GLib's. 6379 6380 https://bugzilla.gnome.org/show_bug.cgi?id=625661 6381 6382 autogen.sh | 506 6383 +++++++----------------------------------------------------- 6384 1 files changed, 58 insertions(+), 448 deletions(-) 6385 6386commit 769645e00d6d055a4cd802454dbfc1bbfcbee691 6387Author: Simon van der Linden <svdlinden@gnome.org> 6388Date: Thu Aug 12 14:11:55 2010 +0200 6389 6390 Fix some warnings 6391 6392 pyglib.c: In function ‘pyglib_gerror_exception_check’: 6393 pyglib.c:362: warning: format not a string literal and no format 6394 arguments 6395 pyglib.c:371: warning: format not a string literal and no format 6396 arguments 6397 6398 gio.override: In function 'pygio_notify_allocate_buffer': 6399 gio.override:144:13: warning: format '%d' expects type 'int', but 6400 argument 3 6401 has type 'gsize' 6402 6403 https://bugzilla.gnome.org/show_bug.cgi?id=625437 6404 6405 gio/gio.override | 2 +- 6406 glib/pyglib.c | 4 ++-- 6407 2 files changed, 3 insertions(+), 3 deletions(-) 6408 6409commit e4c4cccb588b258dbcd21702e6cddcfe9ebe4ffc 6410Author: Simon van der Linden <svdlinden@gnome.org> 6411Date: Thu Aug 12 11:09:37 2010 +0200 6412 6413 Fix caller-allocates emergency free. 6414 6415 In the state, args, args[i], arg_infos[i], and arg_type_infos[i] 6416 must not be 6417 NULL in order to be able caller-allocates. This patch adds those 6418 conditions. 6419 6420 Moreover, the interface info needs to be freed afterwards. 6421 6422 https://bugzilla.gnome.org/show_bug.cgi?id=626684 6423 6424 gi/pygi-invoke.c | 9 ++++++++- 6425 1 files changed, 8 insertions(+), 1 deletions(-) 6426 6427commit 0ab967ca40ddcffc2834d4e656bb2010c6b9bdda 6428Author: Simon van der Linden <svdlinden@gnome.org> 6429Date: Thu Aug 12 10:46:17 2010 +0200 6430 6431 Remove useless checks. 6432 6433 No need to check for state->arg_infos, state->arg_type_infos, and 6434 state->args_is_auxiliary to be NULL, they are always allocated. 6435 6436 https://bugzilla.gnome.org/show_bug.cgi?id=626684 6437 6438 gi/pygi-invoke.c | 14 +++----------- 6439 1 files changed, 3 insertions(+), 11 deletions(-) 6440 6441commit e17be9cd288fee5d7cb174d9d577eb9279044c67 6442Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6443Date: Tue Aug 10 17:40:16 2010 +0200 6444 6445 Call valgrind with G_SLICE=always-malloc G_DEBUG=gc-friendly 6446 6447 tests/Makefile.am | 2 +- 6448 1 files changed, 1 insertions(+), 1 deletions(-) 6449 6450commit 8be59c37dd57acc51875c7189ca09d728b729013 6451Author: Ignacio Casal Quinteiro <icq@gnome.org> 6452Date: Wed Aug 4 13:43:17 2010 +0200 6453 6454 Fix some warnings. 6455 6456 gi/pygi-argument.c | 2 -- 6457 gi/pygi-invoke.c | 2 +- 6458 gi/pygi-struct.c | 1 - 6459 3 files changed, 1 insertions(+), 4 deletions(-) 6460 6461commit 529eca6054e9a7e2267f1529e317c2373932762f 6462Author: Simon van der Linden <svdlinden@gnome.org> 6463Date: Fri Jul 30 22:39:40 2010 +0200 6464 6465 Add myself as a maintainer 6466 6467 MAINTAINERS | 4 ++++ 6468 1 files changed, 4 insertions(+), 0 deletions(-) 6469 6470commit caac75a6ed6f671b37e38a78e71b87906a00ac1b 6471Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6472Date: Fri Jul 30 14:14:16 2010 +0200 6473 6474 Properly allocate boxed structs that are (caller-allocates) 6475 6476 * gi/pygi-boxed.[hc]: Refactor out the allocation of boxed structs 6477 * gi/pygi-invoke.c: Don't use g_malloc0 for boxed structs that 6478 are (caller-allocates) 6479 * tests/test_overrides.py: Split the TreeView tests 6480 6481 https://bugzilla.gnome.org/show_bug.cgi?id=625653 6482 6483 gi/pygi-boxed.c | 50 6484 +++++++++++++++++++++++++++++++---------------- 6485 gi/pygi-boxed.h | 10 +++++--- 6486 gi/pygi-invoke.c | 16 +++++--------- 6487 tests/test_overrides.py | 39 +++++++++++++++++------------------ 6488 4 files changed, 64 insertions(+), 51 deletions(-) 6489 6490commit 99c7322898c00a576c7319ea0a7c808446253133 6491Author: Toms Baugis <toms.baugis@gmail.com> 6492Date: Fri Jul 30 15:44:21 2010 +0200 6493 6494 override gdk.Event to return attribute from the proper event object 6495 6496 https://bugzilla.gnome.org/show_bug.cgi?id=620593 6497 6498 gi/overrides/Gdk.py | 48 6499 +++++++++++++++++++++++++++++++++++++++++++++++ 6500 gi/pygi-invoke.c | 4 --- 6501 tests/test_overrides.py | 10 +++++++++ 6502 3 files changed, 58 insertions(+), 4 deletions(-) 6503 6504commit 55814e722c2ae11310f346790c9221e4fad92b50 6505Author: John (J5) Palmieri <johnp@redhat.com> 6506Date: Fri Jul 30 06:30:48 2010 -0400 6507 6508 check if z# needs an int or Py_ssize_t 6509 6510 https://bugzilla.gnome.org/show_bug.cgi?id=625438 6511 6512 gio/gio.override | 5 +++++ 6513 1 files changed, 5 insertions(+), 0 deletions(-) 6514 6515commit 477315465d0a6d84b51e146e86e254873bc564ff 6516Author: John (J5) Palmieri <johnp@redhat.com> 6517Date: Fri Jul 30 06:43:06 2010 -0400 6518 6519 make sure we parse parameters to python object vars not glib vars 6520 6521 * py_flags was already set up but due to a typo &flags was being 6522 passed 6523 instead 6524 6525 https://bugzilla.gnome.org/show_bug.cgi?id=625438 6526 6527 gio/gfile.override | 8 ++++---- 6528 1 files changed, 4 insertions(+), 4 deletions(-) 6529 6530commit faa7d4eece7ddb698725098970c2478a3b45c4d5 6531Author: Paul Bolle <pebolle@tiscali.nl> 6532Date: Fri Jul 30 10:56:01 2010 +0200 6533 6534 Make an example and a demo work out of the box 6535 6536 cairo-demo.py and gtk-demo.py need the two (kind of) magic lines 6537 regarding pygtk to work out of the box. So add those. 6538 6539 Signed-off-by: Paul Bolle <pebolle@tiscali.nl> 6540 6541 https://bugzilla.gnome.org/show_bug.cgi?id=625638 6542 6543 demos/gtk-demo/gtk-demo.py | 2 ++ 6544 examples/cairo-demo.py | 2 ++ 6545 2 files changed, 4 insertions(+), 0 deletions(-) 6546 6547commit c9da5782e6c633d9af43ee85075e9ee65db09780 6548Author: John (J5) Palmieri <johnp@redhat.com> 6549Date: Fri Jul 9 13:14:42 2010 -0400 6550 6551 make sure caller allocated structs are freed when they go out of scope 6552 6553 * Move struct transfer checks from pygi-arguments to pygi-invoke 6554 * add better warning if an unknown struct is fully transfered 6555 * only free GValues we create in the invoke cleanup. All other 6556 structs 6557 get cleaned up when they go out of scope in python 6558 * Fixes issues with caller allocated treeiters getting freed to early 6559 * this is a fix to crashes in the current test suite when API's 6560 returning 6561 TreeIters were annotated as out caller-allocates so no new tests 6562 are needed 6563 6564 https://bugzilla.gnome.org/show_bug.cgi?id=623969 6565 6566 gi/pygi-argument.c | 13 +++++-------- 6567 gi/pygi-invoke.c | 46 ++++++++++++++++++++++++++++++++++++++++------ 6568 2 files changed, 45 insertions(+), 14 deletions(-) 6569 6570commit e0a85305cd107aae5902e524afd074cd8c329927 6571Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6572Date: Fri Jul 30 10:35:33 2010 +0200 6573 6574 Revert "override gdk.Event to return attribute from the proper 6575 event object." 6576 6577 Pushed by mistake, we still need testcases 6578 6579 This reverts commit e7bb3954880568884ca66e7751ede689dc2f24f6. 6580 6581 gi/overrides/Gdk.py | 44 -------------------------------------------- 6582 1 files changed, 0 insertions(+), 44 deletions(-) 6583 6584commit 61ffb8d6d08fcfe638f71ea97ceac3a366e5536d 6585Author: Paul Bolle <pebolle@tiscali.nl> 6586Date: Thu Jul 29 22:55:28 2010 +0200 6587 6588 PyGI: properly quit cairo-demo 6589 6590 Signed-off-by: Paul Bolle <pebolle@tiscali.nl> 6591 6592 https://bugzilla.gnome.org/show_bug.cgi?id=625619 6593 6594 examples/cairo-demo.py | 2 +- 6595 1 files changed, 1 insertions(+), 1 deletions(-) 6596 6597commit e7bb3954880568884ca66e7751ede689dc2f24f6 6598Author: Toms Baugis <toms.baugis@gmail.com> 6599Date: Tue Jul 27 21:37:16 2010 +0200 6600 6601 override gdk.Event to return attribute from the proper event object. 6602 6603 https://bugzilla.gnome.org/show_bug.cgi?id=620593 6604 6605 gi/overrides/Gdk.py | 44 ++++++++++++++++++++++++++++++++++++++++++++ 6606 1 files changed, 44 insertions(+), 0 deletions(-) 6607 6608commit 0a9f1da052fd33dcef81d0e267fc7972f02c7888 6609Author: Simon van der Linden <svdlinden@gnome.org> 6610Date: Wed Jul 28 14:56:00 2010 +0200 6611 6612 Clean and improve the test infrastructure 6613 6614 To run select tests, use for instance: 6615 % make check TEST_NAMES='test_everything test_gi.TestConstant' 6616 6617 It works with check.gdb and check.valgrind too. 6618 6619 https://bugzilla.gnome.org/show_bug.cgi?id=625488 6620 6621 Makefile.am | 5 --- 6622 tests/Makefile.am | 65 6623 ++++++++++++++++++++----------------------- 6624 tests/common.py | 47 ------------------------------- 6625 tests/runtests.py | 43 +++++++++++------------------ 6626 tests/test_gcancellable.py | 4 +- 6627 tests/test_gi.py | 3 -- 6628 tests/test_gicon.py | 3 +- 6629 tests/test_gio.py | 3 +- 6630 tests/test_gobject.py | 3 +- 6631 tests/test_gresolver.py | 4 +- 6632 tests/test_gsocket.py | 4 ++- 6633 tests/test_interface.py | 6 +++- 6634 tests/test_mainloop.py | 11 +++----- 6635 tests/test_signal.py | 4 ++- 6636 tests/test_source.py | 4 +- 6637 tests/test_subprocess.py | 5 +--- 6638 tests/test_thread.py | 5 +++- 6639 tests/test_unknown.py | 5 +++- 6640 18 files changed, 82 insertions(+), 142 deletions(-) 6641 6642commit 82f4cb5ebf5d992493b7a2f74cfd5f175e19eb76 6643Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6644Date: Thu Jul 29 12:34:19 2010 +0200 6645 6646 Add some more transformations to pygi-convert.sh 6647 6648 pygi-convert.sh | 37 +++++++++++++++++++++++++++++-------- 6649 1 files changed, 29 insertions(+), 8 deletions(-) 6650 6651commit de519adcd21947a0aef7932cdecb78cef200c85e 6652Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6653Date: Wed Jul 28 14:42:36 2010 +0200 6654 6655 Adapt to API changes: g_irepository_enumerate_versions 6656 6657 gi/importer.py | 2 +- 6658 gi/pygi-repository.c | 12 ++++++------ 6659 2 files changed, 7 insertions(+), 7 deletions(-) 6660 6661commit 01cd9abb43f93f9a57a5a05b6dc9560614e666e3 6662Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6663Date: Wed Jul 28 12:26:48 2010 +0200 6664 6665 Add GValue<->GArgument marshalling for some more types 6666 6667 gi/pygi-property.c | 37 ++++++++++++++++++++++++++++++++++++- 6668 1 files changed, 36 insertions(+), 1 deletions(-) 6669 6670commit ddffa70c3ee0e837070f390632bc692430f79171 6671Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6672Date: Wed Jul 28 11:10:42 2010 +0200 6673 6674 Chain up with the non-introspection implementation for properties 6675 if needed 6676 6677 gobject/pygobject.c | 7 ++++++- 6678 1 files changed, 6 insertions(+), 1 deletions(-) 6679 6680commit 045433a1f8167205dc8eae613dcb8835d02c8916 6681Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6682Date: Wed Jul 28 10:59:49 2010 +0200 6683 6684 Improve error reporting for missing attributes in introspection 6685 modules 6686 6687 gi/module.py | 4 ++-- 6688 1 files changed, 2 insertions(+), 2 deletions(-) 6689 6690commit 6655a79b2f13fe417aefdf6aebab0f2d6162ba00 6691Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6692Date: Tue Jul 27 21:52:49 2010 +0200 6693 6694 Implement getting and setting properties using introspection 6695 information. 6696 6697 This allows us to use information not present in GObject such as 6698 transfer and element types. 6699 6700 https://bugzilla.gnome.org/show_bug.cgi?id=620808 6701 6702 gi/Makefile.am | 2 + 6703 gi/gimodule.c | 2 + 6704 gi/pygi-argument.c | 2 + 6705 gi/pygi-private.h | 1 + 6706 gi/pygi-property.c | 226 6707 ++++++++++++++++++++++++++++++++++++++++++++++ 6708 gi/pygi-property.h | 39 ++++++++ 6709 gi/pygi.h | 41 +++++++++ 6710 gobject/pygobject.c | 9 ++ 6711 tests/test_everything.py | 19 ++++ 6712 9 files changed, 341 insertions(+), 0 deletions(-) 6713 6714commit 85f4572b3ffbfa364ebb2e470eab759edc557b36 6715Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6716Date: Tue Jul 27 21:32:41 2010 +0200 6717 6718 Readd Gdk.Rectangle override for Gtk-2.0 6719 6720 gi/overrides/Gdk.py | 19 +++++++++++++++++++ 6721 1 files changed, 19 insertions(+), 0 deletions(-) 6722 6723commit 2082ee35e2a33f52bf1e8ec49cb4a43398e91989 6724Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6725Date: Tue Jul 27 18:25:27 2010 +0200 6726 6727 Allow specifying a version when loading a typelib 6728 6729 * gi/importer.py: Defer loading the typelib until first usage. 6730 * gi/module.py: Load the typelib in IntrospectionModule(). 6731 * gi/overrides/*.py: Adapt to API change. 6732 * gi/pygi-repository.c: Add wrappers for g_irepository_enumerate and 6733 g_irepository_get_version. 6734 6735 gi/importer.py | 26 +++++---------- 6736 gi/module.py | 58 6737 +++++++++++++++++++++++------------ 6738 gi/overrides/GIMarshallingTests.py | 2 +- 6739 gi/overrides/Gdk.py | 2 +- 6740 gi/overrides/Gtk.py | 2 +- 6741 gi/pygi-repository.c | 56 6742 ++++++++++++++++++++++++++++++++++- 6743 6 files changed, 105 insertions(+), 41 deletions(-) 6744 6745commit 6d7ed6c322234c240b1063a1dfaadd17157432a9 6746Author: Jonathan Matthew <jonathan@d14n.org> 6747Date: Tue Jul 13 20:27:28 2010 +1000 6748 6749 treat GFreeFunc as equivalent to GDestroyNotify when scanning 6750 callbacks 6751 6752 https://bugzilla.gnome.org/show_bug.cgi?id=624232 6753 6754 gi/pygi-callbacks.c | 3 ++- 6755 1 files changed, 2 insertions(+), 1 deletions(-) 6756 6757commit 7e9cbd5601ad548b78d106bac1a1576d33b91c65 6758Author: Simon van der Linden <svdlinden@gnome.org> 6759Date: Mon Jul 26 17:00:23 2010 +0200 6760 6761 Don't use == to compare doubles, use <= and =>. 6762 6763 This avoids inequality due to small precisions difference. 6764 6765 https://bugzilla.gnome.org/show_bug.cgi?id=625326 6766 6767 tests/testhelpermodule.c | 2 +- 6768 1 files changed, 1 insertions(+), 1 deletions(-) 6769 6770commit 5ca2a41f16f4a5fcc3ab4d00bec46b077c7eb384 6771Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6772Date: Thu Jul 8 11:36:12 2010 +0200 6773 6774 Allow passing ints as enum args 6775 6776 https://bugzilla.gnome.org/show_bug.cgi?id=622584 6777 6778 gi/pygi-argument.c | 23 +++++++++++++++++++++-- 6779 tests/test_gi.py | 6 ++++-- 6780 2 files changed, 25 insertions(+), 4 deletions(-) 6781 6782commit 890c3233f8a9f884b045a294bf0122bb3afcd54a 6783Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6784Date: Sun Jul 25 17:30:40 2010 +0100 6785 6786 Make error message less ambiguous 6787 6788 https://bugzilla.gnome.org/show_bug.cgi?id=625095 6789 6790 gi/pygi-callbacks.c | 3 ++- 6791 1 files changed, 2 insertions(+), 1 deletions(-) 6792 6793commit 1162e436273ff8e9e4e24bd8ba74615fd4624753 6794Author: John (J5) Palmieri <johnp@redhat.com> 6795Date: Thu Jun 24 10:07:12 2010 -0400 6796 6797 fix passing in type names as a GType and add gtype unit tests 6798 6799 * a simple call to pyg_type_from_object covers all the bases 6800 * added unit tests to check for correct GType value passing 6801 * fixed up tree override tests to also check different ways of 6802 passing GTypes 6803 6804 https://bugzilla.gnome.org/show_bug.cgi?id=622605 6805 6806 gi/pygi-argument.c | 8 +------- 6807 tests/test_everything.py | 27 +++++++++++++++++++++++++++ 6808 tests/test_overrides.py | 6 ++---- 6809 3 files changed, 30 insertions(+), 11 deletions(-) 6810 6811commit 8becd32fc042445d62b885bac12dac326b2dc1fa 6812Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6813Date: Mon Jul 26 11:54:47 2010 +0200 6814 6815 Increase a bit verbosity of tests so people know which test failed 6816 6817 tests/runtests.py | 2 +- 6818 1 files changed, 1 insertions(+), 1 deletions(-) 6819 6820commit 3b3c63514f311592e6769a373d37a2bde7ea6b38 6821Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6822Date: Thu Jul 15 15:17:53 2010 +0200 6823 6824 Actually add the files for GVariant foreign structs 6825 6826 gi/pygi-foreign-gvariant.c | 63 6827 ++++++++++++++++++++++++++++++++++++++++++++ 6828 gi/pygi-foreign-gvariant.h | 41 ++++++++++++++++++++++++++++ 6829 2 files changed, 104 insertions(+), 0 deletions(-) 6830 6831commit e65275bc57f345c111eb12a6b4476ff1ddc3bc24 6832Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6833Date: Thu Jul 15 13:31:33 2010 +0200 6834 6835 Add foreign struct support for GVariant 6836 6837 * gi/pygi-invoke.c: Wrap foreign structs returned by constructors 6838 * gi/pygi-foreign.c: Register foreign support for GVariant 6839 * gi/pygi-struct.c: properly release foreign structs 6840 * gi/pygi-argument.c, gi/pygi-foreign-cairo.c, gi/pygi.h: Adapt to 6841 API changes 6842 * tests/test_everything.py: Add basic tests for GVariant 6843 6844 https://bugzilla.gnome.org/show_bug.cgi?id=619501 6845 6846 gi/Makefile.am | 2 + 6847 gi/pygi-argument.c | 2 +- 6848 gi/pygi-foreign-cairo.c | 16 +++--- 6849 gi/pygi-foreign.c | 107 6850 ++++++++++++++++++++++++++++----------------- 6851 gi/pygi-foreign.h | 7 +-- 6852 gi/pygi-invoke.c | 18 ++++---- 6853 gi/pygi-struct.c | 10 ++++- 6854 gi/pygi.h | 9 ++-- 6855 tests/test_everything.py | 8 +++ 6856 9 files changed, 110 insertions(+), 69 deletions(-) 6857 6858commit 3b3bd4da3fbc993fa7f7cfb46ed4e67671c94cc0 6859Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6860Date: Mon Jul 12 11:19:06 2010 +0200 6861 6862 Add HACKING to MANIFEST.in 6863 6864 MANIFEST.in | 2 +- 6865 1 files changed, 1 insertions(+), 1 deletions(-) 6866 6867commit 40bf08ff001b119c7daf709197005ef6480216c5 6868Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6869Date: Mon Jul 12 11:18:04 2010 +0200 6870 6871 Add HACKING file with instructions for releasing 6872 6873 HACKING | 14 ++++++++++++++ 6874 1 files changed, 14 insertions(+), 0 deletions(-) 6875 6876commit 3b9dffe7cc3820dfb84fd968fc604899601c5dc4 6877Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6878Date: Mon Jul 12 11:09:58 2010 +0200 6879 6880 Post release version bump to 2.21.6 6881 6882 configure.ac | 2 +- 6883 1 files changed, 1 insertions(+), 1 deletions(-) 6884 6885commit 42a5a0897b38156ae010c396ea254abf502f35de 6886Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6887Date: Mon Jul 12 11:00:29 2010 +0200 6888 6889 Update NEWS and release PyGObject-2.21.5 6890 6891 NEWS | 17 +++++++++++++++++ 6892 1 files changed, 17 insertions(+), 0 deletions(-) 6893 6894commit 5857f25c1c6e25b79e6134558bd7151bc6c30ef7 6895Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 6896Date: Mon Jul 12 11:00:20 2010 +0200 6897 6898 Pre-release version bump to 2.21.5 6899 6900 configure.ac | 2 +- 6901 1 files changed, 1 insertions(+), 1 deletions(-) 6902 6903commit e500adc3ac19ef6f436809e5a8828ac7e8db28f6 6904Author: Florian Müllner <florian.muellner@gmail.com> 6905Date: Sat Jul 10 22:35:13 2010 +0200 6906 6907 Shut up some compiler warnings 6908 6909 Remove unused variables, make sure variables are properly initialized. 6910 6911 https://bugzilla.gnome.org/show_bug.cgi?id=624066 6912 6913 gi/pygi-callbacks.c | 1 - 6914 gi/pygi-closure.c | 2 +- 6915 gi/pygi-invoke.c | 1 - 6916 3 files changed, 1 insertions(+), 3 deletions(-) 6917 6918commit 2efa18afbcc2fac1c90958535b2f80e6e730ee56 6919Author: =?UTF-8?q?Florian=20M=C3=BCllner?= <florian.muellner@gmail.com> 6920Date: Mon Jul 12 10:31:42 2010 +0200 6921 6922 Adjust to API break in GObject-Introspection 6923 6924 As of commit 5cb925b20, many type_tags for standard C types have 6925 been removed - namely machine-dependent integer types and derived 6926 types (size_t, time_t). 6927 6928 Most removals are just synonyms of other types, so their removal 6929 should not have too much impact, with the exception of time_t, 6930 which was translated to a native datetime object before. 6931 6932 Also remove time_t tests (Tomeu Vizoso). 6933 6934 https://bugzilla.gnome.org/show_bug.cgi?id=624065 6935 6936 configure.ac | 2 +- 6937 gi/importer.py | 7 ++- 6938 gi/pygi-argument.c | 146 6939 ---------------------------------------------------- 6940 gi/pygi-closure.c | 10 ---- 6941 gi/pygi-info.c | 37 ------------- 6942 tests/test_gi.py | 21 -------- 6943 6 files changed, 5 insertions(+), 218 deletions(-) 6944 6945commit 27a417c71f8c122e46c7472663bb25c17413f103 6946Author: John (J5) Palmieri <johnp@redhat.com> 6947Date: Thu Jul 8 16:01:25 2010 -0400 6948 6949 pass in the demo app so demos can use utility methods like requesting 6950 file paths 6951 6952 demos/gtk-demo/demos/Entry/entry_buffer.py | 2 +- 6953 demos/gtk-demo/demos/Entry/entry_completion.py | 2 +- 6954 demos/gtk-demo/demos/appwindow.py | 13 +++++++++++-- 6955 demos/gtk-demo/demos/assistant.py | 2 +- 6956 demos/gtk-demo/demos/builder.py | 14 ++++++++++---- 6957 demos/gtk-demo/demos/button_box.py | 2 +- 6958 demos/gtk-demo/demos/clipboard.py | 8 +------- 6959 demos/gtk-demo/demos/colorselector.py | 2 +- 6960 demos/gtk-demo/demos/combobox.py | 8 +++++--- 6961 demos/gtk-demo/demos/drawingarea.py | 2 +- 6962 demos/gtk-demo/demos/test.py | 2 +- 6963 demos/gtk-demo/gtk-demo.py | 6 +++--- 6964 12 files changed, 37 insertions(+), 26 deletions(-) 6965 6966commit e7daae919c2c6ae35d3927f0006252aacd49ea86 6967Author: John (J5) Palmieri <johnp@redhat.com> 6968Date: Thu Jul 8 15:38:07 2010 -0400 6969 6970 demo fixes to keep up with Gtk+ 6971 6972 * treeiter changes to reflect caller-allocate annotations 6973 * fix some flag handling 6974 * use get_indicies_with_depth instead of get_indices for paths 6975 6976 demos/gtk-demo/demos/appwindow.py | 10 +++++++--- 6977 demos/gtk-demo/demos/combobox.py | 24 ++++++++++++------------ 6978 demos/gtk-demo/gtk-demo.py | 13 +++++-------- 6979 3 files changed, 24 insertions(+), 23 deletions(-) 6980 6981commit 3d9fd6391710cc33058394d6821e4d4e11f09b22 6982Author: John (J5) Palmieri <johnp@redhat.com> 6983Date: Thu Jul 8 12:54:43 2010 -0400 6984 6985 override test fixes for new GTK+ annotations 6986 6987 tests/test_overrides.py | 23 +++++++++++++---------- 6988 1 files changed, 13 insertions(+), 10 deletions(-) 6989 6990commit 7a400f8139b70ddfe7c949035e0851689951c647 6991Author: Ignacio Casal Quinteiro <icq@gnome.org> 6992Date: Thu Jul 8 12:42:25 2010 +0200 6993 6994 Fix warning. 6995 6996 gi/pygi-argument.c | 4 ++-- 6997 1 files changed, 2 insertions(+), 2 deletions(-) 6998 6999commit 39fd0a85a3de06b1b877d1125f91036409886373 7000Author: John (J5) Palmieri <johnp@redhat.com> 7001Date: Wed Jul 7 15:48:36 2010 -0400 7002 7003 fix up treeiter usage due to caller-allocates annotations in gtk+ 7004 7005 * we still don't pass tests because the caller-allocates code path 7006 does not 7007 handle the case where the parameter is followed by a regular 7008 in parameter 7009 7010 gi/overrides/Gtk.py | 7 +++---- 7011 tests/test_overrides.py | 21 +++++++++++---------- 7012 2 files changed, 14 insertions(+), 14 deletions(-) 7013 7014commit 4d970b75dc5c75c1bec04cb2954c9985b476070c 7015Author: John (J5) Palmieri <johnp@redhat.com> 7016Date: Tue Jul 6 17:50:10 2010 -0400 7017 7018 add entry completion demo 7019 7020 demos/gtk-demo/demos/Entry/entry_completion.py | 87 7021 ++++++++++++++++++++++++ 7022 1 files changed, 87 insertions(+), 0 deletions(-) 7023 7024commit f3531eaa1bfa4e01651d35cd587384d30a398ba8 7025Author: John (J5) Palmieri <johnp@redhat.com> 7026Date: Tue Jul 6 17:49:18 2010 -0400 7027 7028 string changes 7029 7030 demos/gtk-demo/demos/Entry/entry_buffer.py | 4 ++-- 7031 1 files changed, 2 insertions(+), 2 deletions(-) 7032 7033commit baf1e9bb550c7bf45e2ac0b70ba29c434ef1ccc6 7034Author: John (J5) Palmieri <johnp@redhat.com> 7035Date: Tue Jul 6 17:27:04 2010 -0400 7036 7037 add the Entry demo directory and the entry_buffer demo 7038 7039 demos/gtk-demo/demos/Entry/entry_buffer.py | 73 7040 ++++++++++++++++++++++++++++ 7041 1 files changed, 73 insertions(+), 0 deletions(-) 7042 7043commit f2b1d222120f055bec9339cca55c9cc90f538c00 7044Author: John (J5) Palmieri <johnp@redhat.com> 7045Date: Tue Jul 6 17:26:03 2010 -0400 7046 7047 fix loading of demo modules to support sub modules 7048 7049 demos/gtk-demo/gtk-demo.py | 9 +++++++-- 7050 1 files changed, 7 insertions(+), 2 deletions(-) 7051 7052commit 4f9390fb1892b13ab2ea00ed66c5000a40f09029 7053Author: John (J5) Palmieri <johnp@redhat.com> 7054Date: Tue Jul 6 15:56:34 2010 -0400 7055 7056 add the ability to have demos in sub catagories 7057 7058 demos/gtk-demo/gtk-demo.py | 76 7059 +++++++++++++++++++++++++++++++------------- 7060 1 files changed, 54 insertions(+), 22 deletions(-) 7061 7062commit dc2249a3ecf339008351316217191d0551ccc588 7063Author: Jose Aliste <jaliste@src.gnome.org> 7064Date: Mon Jul 5 14:36:59 2010 -0400 7065 7066 Add __name__ to DynamicModule class. 7067 7068 Fixes bug #623486. 7069 7070 gi/module.py | 1 + 7071 1 files changed, 1 insertions(+), 0 deletions(-) 7072 7073commit 2357bca8d14539894b6bd0acfdc18d30b4bb4db6 7074Author: Ignacio Casal Quinteiro <icq@gnome.org> 7075Date: Mon Jul 5 16:11:07 2010 +0200 7076 7077 Do not override GdkRectangle. 7078 7079 This class was lately removed from gtk+ 3, so there is no need 7080 to override 7081 it anymore. 7082 7083 gi/overrides/Gdk.py | 19 ------------------- 7084 1 files changed, 0 insertions(+), 19 deletions(-) 7085 7086commit daca09dc2c2306d4fa82a68bbdd147d4b170a1e7 7087Author: Philip Withnall <philip.withnall@collabora.co.uk> 7088Date: Tue Jun 29 16:37:36 2010 +0100 7089 7090 Add override for TreeModel implementing __len__() 7091 7092 Closes: bgo#622882 7093 7094 gi/overrides/Gtk.py | 11 +++++++++-- 7095 tests/test_overrides.py | 5 +++++ 7096 2 files changed, 14 insertions(+), 2 deletions(-) 7097 7098commit bb8adb7f02f0c5494df2cb6e535e44d23902e8f5 7099Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7100Date: Tue Jun 29 11:27:13 2010 +0200 7101 7102 Update NEWS and release PyGObject-2.21.4 7103 7104 NEWS | 27 +++++++++++++++++++++++++-- 7105 1 files changed, 25 insertions(+), 2 deletions(-) 7106 7107commit 2d473ee17be4671244bb4a2a0953a21ccf2a0df6 7108Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7109Date: Tue Jun 29 10:55:03 2010 +0200 7110 7111 Remove files from the makefiles 7112 7113 gi/Makefile.am | 4 +--- 7114 gobject/Makefile.am | 3 +-- 7115 2 files changed, 2 insertions(+), 5 deletions(-) 7116 7117commit 89827314fd183eac07443c8e9d275ca9d4ce59df 7118Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7119Date: Tue Jun 29 10:27:39 2010 +0200 7120 7121 Build the cairo shim as a python module so the _gi module stops 7122 linking to it 7123 7124 https://bugzilla.gnome.org/show_bug.cgi?id=623021 7125 7126 configure.ac | 2 + 7127 gi/Makefile.am | 38 +++++++++----- 7128 gi/gimodule.c | 8 +--- 7129 gi/pygi-argument.c | 10 +--- 7130 gi/pygi-foreign-cairo.c | 56 ++++++++++++++++----- 7131 gi/pygi-foreign-cairo.h | 55 --------------------- 7132 gi/pygi-foreign.c | 125 7133 ++++++++++++++++++++++++++++------------------- 7134 gi/pygi-foreign.h | 31 +++++------ 7135 gi/pygi.h | 40 +++++++++++++-- 7136 9 files changed, 196 insertions(+), 169 deletions(-) 7137 7138commit a6a90551311bc64f037cbd442e13f70c30060871 7139Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7140Date: Mon Jun 28 14:20:43 2010 +0200 7141 7142 Remove pygi-external.h 7143 7144 https://bugzilla.gnome.org/show_bug.cgi?id=623021 7145 7146 gi/gimodule.c | 8 +++--- 7147 gi/pygi-type.c | 4 +- 7148 gi/pygi-type.h | 2 +- 7149 gi/pygi.h | 54 +++++++++++++++---------------------- 7150 gobject/Makefile.am | 6 ++++ 7151 gobject/pygboxed.c | 2 +- 7152 gobject/pygenum.c | 2 +- 7153 gobject/pygflags.c | 2 +- 7154 gobject/pygi-external.h | 67 7155 ----------------------------------------------- 7156 gobject/pygobject.c | 2 +- 7157 gobject/pygpointer.c | 2 +- 7158 11 files changed, 40 insertions(+), 111 deletions(-) 7159 7160commit 8b3a3baacb45cb3f9112f7597607602fa89c6634 7161Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7162Date: Fri Jun 25 13:54:57 2010 +0200 7163 7164 Revert "correctly handle floating objects in gtk" 7165 7166 This reverts commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca. 7167 7168 Conflicts: 7169 7170 gi/gimodule.c 7171 tests/test_everything.py 7172 7173 gi/gimodule.c | 13 ------------- 7174 tests/test_everything.py | 3 ++- 7175 2 files changed, 2 insertions(+), 14 deletions(-) 7176 7177commit 0f2a09d7eae63abb71723b7cd8fb290dcba33426 7178Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7179Date: Fri Jun 25 13:49:04 2010 +0200 7180 7181 Make valgrind happy again 7182 7183 * gi/pygi-argument.c, gi/pygi-info.c: Zero two GArgument instances. 7184 * gi/pygi-invoke.c: workaround bgo#622711 and zero invocation_state. 7185 7186 gi/pygi-argument.c | 1 + 7187 gi/pygi-info.c | 2 ++ 7188 gi/pygi-invoke.c | 8 ++++++-- 7189 3 files changed, 9 insertions(+), 2 deletions(-) 7190 7191commit 63afe55906c8637e913783e65b82b540b81bed65 7192Author: John (J5) Palmieri <johnp@redhat.com> 7193Date: Thu Jun 24 16:13:37 2010 -0400 7194 7195 add drawing area demo 7196 7197 demos/gtk-demo/demos/drawingarea.py | 249 7198 +++++++++++++++++++++++++++++++++++ 7199 1 files changed, 249 insertions(+), 0 deletions(-) 7200 7201commit 8bba5f842393a284367cdd15f3d32a8c7745516a 7202Author: John (J5) Palmieri <johnp@redhat.com> 7203Date: Thu Jun 24 14:11:00 2010 -0400 7204 7205 sort the demo list 7206 7207 demos/gtk-demo/gtk-demo.py | 2 ++ 7208 1 files changed, 2 insertions(+), 0 deletions(-) 7209 7210commit b9da82742701ed276b01dee39626cd71cbef8556 7211Author: John (J5) Palmieri <johnp@redhat.com> 7212Date: Thu Jun 24 13:56:18 2010 -0400 7213 7214 rename iter to treeiter so we aren't using a python reserved word 7215 7216 demos/gtk-demo/gtk-demo.py | 12 ++++++------ 7217 1 files changed, 6 insertions(+), 6 deletions(-) 7218 7219commit c93935621f2fb1ff5e8c424ae884bd684ea68e50 7220Author: John (J5) Palmieri <johnp@redhat.com> 7221Date: Thu Jun 24 13:47:54 2010 -0400 7222 7223 Fixup for change in buffer API 7224 7225 * Part of buffer API dealing with TextIter now marked (out 7226 caller-allocates) 7227 7228 demos/gtk-demo/gtk-demo.py | 10 ++++------ 7229 1 files changed, 4 insertions(+), 6 deletions(-) 7230 7231commit 8d9516a593a515290109401a9db7aa259b5aa35c 7232Author: John (J5) Palmieri <johnp@redhat.com> 7233Date: Wed Jun 23 17:04:33 2010 -0400 7234 7235 add ListStore, TreeStore and TreeViewColumn APIs 7236 7237 * this is enough to support the gtk-demo.py shell 7238 * TreeStore and ListStore allow passing in as an argument list 7239 of either python or GLib types to the constructor as a description 7240 of the columns in the model 7241 * TreeStore and ListStore override the append method, allowing 7242 the application developer to send in a list of column values 7243 for one row in the model. Unlike the append in C which 7244 just returns an iter that you can then add data to, 7245 this append actualy appends data in one step 7246 * TreeViewColumn overrides the constructor to allow the adding 7247 of attributes and a cell renderer when constructing the 7248 column 7249 7250 https://bugzilla.gnome.org/show_bug.cgi?id=620405 7251 7252 gi/overrides/Gtk.py | 59 ++++++++++++++++++++++++++++++++++++++++ 7253 tests/test_overrides.py | 69 7254 +++++++++++++++++++++++++++++++++++++++++++++++ 7255 2 files changed, 128 insertions(+), 0 deletions(-) 7256 7257commit c305fbeb7bdb44623d5198f4a8f0a374d529fdf4 7258Author: Johan Dahlin <johan@gnome.org> 7259Date: Wed Jun 23 14:34:28 2010 -0300 7260 7261 [gi] Add -I../gobject to cflags 7262 7263 Since we're no longer pulling in pygobject cflags, 7264 add this to be able to include pygobject.h 7265 7266 gi/Makefile.am | 3 +++ 7267 1 files changed, 3 insertions(+), 0 deletions(-) 7268 7269commit 53a093198851e3ba5abd1f6c3314737decd401d8 7270Author: Ignacio Casal Quinteiro <icq@gnome.org> 7271Date: Wed Jun 23 18:09:19 2010 +0200 7272 7273 Add unit test for add_actions user data. 7274 7275 tests/test_overrides.py | 20 +++++++++++++++----- 7276 1 files changed, 15 insertions(+), 5 deletions(-) 7277 7278commit 7f829af620cba768de619dd9f228d5d2ebf7fee4 7279Author: Paolo Borelli <pborelli@gnome.org> 7280Date: Wed Jun 23 18:06:46 2010 +0200 7281 7282 Pass user_data param when adding actions 7283 7284 gi/overrides/Gtk.py | 12 ++++++------ 7285 1 files changed, 6 insertions(+), 6 deletions(-) 7286 7287commit 8f537ccd62f41ebe0db3853e2ae08080666f598f 7288Author: John (J5) Palmieri <johnp@redhat.com> 7289Date: Wed Jun 23 12:02:04 2010 -0400 7290 7291 add an exception type to the try/except block 7292 7293 * we should always specify what exception types we are expecting 7294 7295 gi/overrides/Gtk.py | 6 +++--- 7296 1 files changed, 3 insertions(+), 3 deletions(-) 7297 7298commit f140a8ebf59347162b67b550bd6f62d2eafad29a 7299Author: Johan Dahlin <johan@gnome.org> 7300Date: Wed Jun 23 12:31:51 2010 -0300 7301 7302 Avoid duplicating required versions 7303 7304 Avoid duplicating the version of all required packages. 7305 Also remove cyclic dependency of pygobject 7306 7307 https://bugzilla.gnome.org/show_bug.cgi?id=622503 7308 7309 configure.ac | 9 +++++---- 7310 1 files changed, 5 insertions(+), 4 deletions(-) 7311 7312commit e8bd25355fbe7de38a28b7a0583167a2c0ffc31f 7313Author: John (J5) Palmieri <johnp@redhat.com> 7314Date: Tue Jun 22 15:03:08 2010 -0400 7315 7316 return PyList instead of PyTuple for array, return empty list for 7317 NULL arrays 7318 7319 * returns an empty list when a NULL array (empty array) is encountered 7320 * fix tests to check for lists instead of tuples or None 7321 * test the ability to send in both None and empty list for arrays 7322 and lists 7323 7324 gi/pygi-argument.c | 7 ++-- 7325 tests/test_everything.py | 5 ++- 7326 tests/test_gi.py | 84 7327 +++++++++++++++++++++++----------------------- 7328 3 files changed, 49 insertions(+), 47 deletions(-) 7329 7330commit f312e6a49505eca07815146cfbdb0e48e5b3b8a8 7331Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7332Date: Wed Jun 23 15:42:29 2010 +0200 7333 7334 Fix 'make distcheck' 7335 7336 * Makefile.am: put the tests dir to the end 7337 * g*/Makefile.am: build the .so when running make check 7338 * tests/Makefile.am: Don't pass the src dir to runtests.py and 7339 remove (hopefully) unneeded cruft. 7340 * tests/common.py: Don't add the src dir to the python path 7341 * tests/runtests.py: Don't pass the src dir to common.py 7342 7343 Makefile.am | 4 +++- 7344 gi/Makefile.am | 1 + 7345 gio/Makefile.am | 1 + 7346 glib/Makefile.am | 2 +- 7347 gobject/Makefile.am | 1 + 7348 tests/Makefile.am | 17 ++--------------- 7349 tests/common.py | 3 +-- 7350 tests/runtests.py | 12 +++++------- 7351 8 files changed, 15 insertions(+), 26 deletions(-) 7352 7353commit 5f82e7d2909cbbbecbf5dbee2342f516c0d1f371 7354Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7355Date: Wed Jun 23 13:59:14 2010 +0200 7356 7357 Allow building pygobject without introspection support by providing 7358 --disable-introspection to configure. 7359 7360 Makefile.am | 6 +++++- 7361 configure.ac | 15 ++++++++------- 7362 gobject/pygi-external.h | 4 ++-- 7363 tests/Makefile.am | 8 ++++++-- 7364 tests/runtests.py | 21 +++++++-------------- 7365 5 files changed, 28 insertions(+), 26 deletions(-) 7366 7367commit cc3ea77318ee572673d2a044deca9001366b0f08 7368Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7369Date: Wed Jun 23 12:26:51 2010 +0200 7370 7371 Make sure that sys.argv is a list and not a sequence. 7372 7373 Because Python's optparse will try to do things on it that can 7374 only be done with list. 7375 7376 gi/overrides/Gtk.py | 2 +- 7377 1 files changed, 1 insertions(+), 1 deletions(-) 7378 7379commit 3d72b8248cc534a689dee5679a729b2fba56c528 7380Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7381Date: Wed Jun 23 12:26:02 2010 +0200 7382 7383 Force loading the GObject typelib so we have available the wrappers 7384 for base classes such as GInitiallyUnowned. 7385 7386 gi/__init__.py | 3 +++ 7387 1 files changed, 3 insertions(+), 0 deletions(-) 7388 7389commit c7c94ef349c30597f2f10d90f74718d678ec7add 7390Author: John (J5) Palmieri <johnp@redhat.com> 7391Date: Tue Jun 22 14:45:48 2010 -0400 7392 7393 we shouldn't g_array_free NULL pointers 7394 7395 https://bugzilla.gnome.org/show_bug.cgi?id=622425 7396 7397 gi/pygi-info.c | 5 +++-- 7398 1 files changed, 3 insertions(+), 2 deletions(-) 7399 7400commit fb1ee243493616d7a7e4f6924c574db39f5a423d 7401Merge: acf7b43 5f9cb91 7402Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7403Date: Wed Jun 23 12:53:05 2010 +0200 7404 7405 Merge branch 'pygi' 7406 7407commit 5f9cb91c2b3851056d5e2d7ff1401d4ce2be7c1f 7408Author: John (J5) Palmieri <johnp@redhat.com> 7409Date: Tue Jun 22 15:39:46 2010 -0400 7410 7411 remove unneeded TextIter creation in the tests 7412 7413 tests/test_overrides.py | 3 --- 7414 1 files changed, 0 insertions(+), 3 deletions(-) 7415 7416commit 53c355d2cc0894e7f551e9b4eb719b89188a978e 7417Author: John (J5) Palmieri <johnp@redhat.com> 7418Date: Mon Jun 21 11:42:12 2010 -0400 7419 7420 add override for TextBuffer 7421 7422 * TextBuffer.create_tag takes vargs which we can't bind yet so 7423 change it 7424 to except a keyword list of properties 7425 * override the insert* methods so the developer does not have to 7426 enter a length 7427 - lengths are already encapsulated by a string in Python 7428 7429 https://bugzilla.gnome.org/show_bug.cgi?id=620583 7430 7431 gi/overrides/Gtk.py | 51 7432 +++++++++++++++++++++++++++++++++++++++++++++++ 7433 tests/test_overrides.py | 25 +++++++++++++++++++++++ 7434 2 files changed, 76 insertions(+), 0 deletions(-) 7435 7436commit 1d89a88b212c7411ad28e74eda80ae751de92e50 7437Author: John (J5) Palmieri <johnp@redhat.com> 7438Date: Tue Jun 22 12:46:39 2010 -0400 7439 7440 fix up some build issues 7441 7442 * configure.ac: moved AM_PROG_CC_C_O below AM_PROG_CC_STDC because 7443 autoconf 7444 was complaining that AM_PROG_CC_STDC can't come after AM_PROC_CC_C_0 7445 * tests/Makefile.am: fix check-local target to use EXEC_NAME so 7446 targets like 7447 make check.gdb work 7448 7449 configure.ac | 2 +- 7450 tests/Makefile.am | 2 +- 7451 2 files changed, 2 insertions(+), 2 deletions(-) 7452 7453commit 4fe0d94c219deb69a2309693202309c53a0e5e69 7454Author: John (J5) Palmieri <johnp@redhat.com> 7455Date: Tue Jun 22 11:50:30 2010 -0400 7456 7457 make the overrides file git friendly by appending to __all__ after 7458 each override 7459 7460 * modifying the __all__ line for each override would confuse git as 7461 each override needs to get seperate approval before comitting. 7462 Because of 7463 this commits would not always go in in the same order as they 7464 are created. 7465 Also different people working on the same file would start from 7466 different 7467 commit states. This caused conflicts when patches were merged. 7468 * instead of modifying a single hard coded list we now append to 7469 the list 7470 after each override. This creates distinct blocks of changed text 7471 which will not conflict 7472 7473 gi/overrides/GIMarshallingTests.py | 10 ++++------ 7474 gi/overrides/Gdk.py | 8 ++++---- 7475 gi/overrides/Gtk.py | 7 +++++-- 7476 3 files changed, 13 insertions(+), 12 deletions(-) 7477 7478commit 49321b934603e1ec69fb04082c63902970907d2b 7479Author: Paolo Borelli <pborelli@gnome.org> 7480Date: Sun Jun 20 13:27:34 2010 +0200 7481 7482 Override Dialog constructor and add_buttons method 7483 7484 gi/overrides/Gtk.py | 46 7485 +++++++++++++++++++++++++++++++++++++++++++++- 7486 tests/test_overrides.py | 16 ++++++++++++++++ 7487 2 files changed, 61 insertions(+), 1 deletions(-) 7488 7489commit acf7b43a41ce814f0c57ce609a090826f04771db 7490Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7491Date: Mon Jun 21 18:17:38 2010 +0200 7492 7493 Post release version bump to 2.21.4 7494 7495 configure.ac | 2 +- 7496 1 files changed, 1 insertions(+), 1 deletions(-) 7497 7498commit a7fa8b80406227a06cf18f8675dbc1f471283829 7499Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7500Date: Mon Jun 21 18:10:32 2010 +0200 7501 7502 Update NEWS and release PyGObject-2.21.3 7503 7504 NEWS | 7 +++++++ 7505 1 files changed, 7 insertions(+), 0 deletions(-) 7506 7507commit 79acac7b86ec52cd3681d94d7f116314c3f00167 7508Author: Ludovic L'Hours <ludovic.lhours@gmail.com> 7509Date: Tue Jul 21 16:28:34 2009 +0200 7510 7511 Proper handling of null-ok in virtual methods 7512 7513 https://bugzilla.gnome.org/show_bug.cgi?id=589253 7514 7515 codegen/codegen.py | 2 ++ 7516 codegen/reversewrapper.py | 18 +++++++++++++++--- 7517 2 files changed, 17 insertions(+), 3 deletions(-) 7518 7519commit 259a4b08f009aa01451caed20dbb6e68b402da2a 7520Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7521Date: Mon Jun 21 17:34:54 2010 +0200 7522 7523 Add *~ and *.orig to .gitignore 7524 7525 .gitignore | 5 ++++- 7526 1 files changed, 4 insertions(+), 1 deletions(-) 7527 7528commit 00a85f6a844714d1715e2f67431747d1a4cdacb1 7529Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7530Date: Mon Jun 21 17:33:56 2010 +0200 7531 7532 Fall back to use the floating references API in glib if there isn't 7533 a sinkfunc defined. 7534 7535 * tests/*: Add ref counting tests for floating objects 7536 * gobject/gobjectmodule.c, gobject/pygobject.c: Fall back to 7537 g_object_ref_sink 7538 or g_object_ref if there isn't a sinkfunc defined. Make sure that 7539 pygobject_sink gets called only once per GObject instance. 7540 7541 https://bugzilla.gnome.org/show_bug.cgi?id=583909 7542 7543 gobject/gobjectmodule.c | 2 - 7544 gobject/pygobject.c | 50 +++++++++++++-------- 7545 gobject/pygobject.h | 1 + 7546 tests/Makefile.am | 2 + 7547 tests/test-floating.c | 95 ++++++++++++++++++++++++++++++++++++++++ 7548 tests/test-floating.h | 60 +++++++++++++++++++++++++ 7549 tests/test_gobject.py | 19 ++++++++- 7550 tests/testhelpermodule.c | 109 7551 ++++++++++++++++++++++++++++++++++++++++++++++ 7552 8 files changed, 315 insertions(+), 23 deletions(-) 7553 7554commit e71238a699ae783fd1a59c8a76e3555d8066cf82 7555Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7556Date: Mon Jun 21 13:06:13 2010 +0200 7557 7558 Revert "Drop sinkfuncs." 7559 7560 This reverts commit 04627488220b4f2a16e11f8982af7866fea9f7eb. 7561 7562 gobject/gobjectmodule.c | 3 ++- 7563 gobject/pygobject.c | 42 ++++++++++++++++++++++++++++++++++-------- 7564 gobject/pygobject.h | 1 - 7565 3 files changed, 36 insertions(+), 10 deletions(-) 7566 7567commit b2661054d6bde673484eab472e69ca021124528d 7568Author: Johan Dahlin <johan@gnome.org> 7569Date: Sun Jun 20 11:09:57 2010 -0300 7570 7571 Merge back pygi 7572 7573 For reasons outlined at: 7574 http://mail.gnome.org/archives/python-hackers-list/2010-June/msg00009.html 7575 7576 Makefile.am | 14 +- 7577 configure.ac | 29 +- 7578 demos/gtk-demo/demos/appwindow.py | 411 +++++ 7579 demos/gtk-demo/demos/assistant.py | 134 ++ 7580 demos/gtk-demo/demos/builder.py | 57 + 7581 demos/gtk-demo/demos/button_box.py | 121 ++ 7582 demos/gtk-demo/demos/clipboard.py | 238 +++ 7583 demos/gtk-demo/demos/colorselector.py | 121 ++ 7584 demos/gtk-demo/demos/combobox.py | 282 ++++ 7585 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 7586 26529 bytes 7587 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes 7588 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 7589 22219 bytes 7590 demos/gtk-demo/demos/data/demo.ui | 258 ++++ 7591 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes 7592 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes 7593 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes 7594 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes 7595 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes 7596 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes 7597 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes 7598 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes 7599 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes 7600 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes 7601 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes 7602 demos/gtk-demo/demos/test.py | 14 + 7603 demos/gtk-demo/gtk-demo.py | 266 ++++ 7604 examples/Makefile.am | 2 +- 7605 examples/cairo-demo.py | 121 ++ 7606 gi/Makefile.am | 4 +- 7607 gi/demos/gtk-demo/demos/appwindow.py | 411 ----- 7608 gi/demos/gtk-demo/demos/assistant.py | 134 -- 7609 gi/demos/gtk-demo/demos/builder.py | 57 - 7610 gi/demos/gtk-demo/demos/button_box.py | 121 -- 7611 gi/demos/gtk-demo/demos/clipboard.py | 238 --- 7612 gi/demos/gtk-demo/demos/colorselector.py | 121 -- 7613 gi/demos/gtk-demo/demos/combobox.py | 282 ---- 7614 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 26529 -> 7615 0 bytes 7616 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes 7617 gi/demos/gtk-demo/demos/data/background.jpg | Bin 22219 -> 7618 0 bytes 7619 gi/demos/gtk-demo/demos/data/demo.ui | 258 ---- 7620 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes 7621 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes 7622 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes 7623 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes 7624 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes 7625 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes 7626 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes 7627 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes 7628 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes 7629 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes 7630 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes 7631 gi/demos/gtk-demo/demos/test.py | 14 - 7632 gi/demos/gtk-demo/gtk-demo.py | 266 ---- 7633 gi/examples/Makefile.am | 2 - 7634 gi/examples/cairo-demo.py | 121 -- 7635 gi/tests/test_everything.py | 270 ---- 7636 gi/tests/test_gi.py | 1624 7637 -------------------- 7638 gi/tests/test_overrides.py | 132 -- 7639 pygi-Makefile.am | 28 - 7640 pygi-configure.ac | 60 - 7641 pygi.doap | 34 - 7642 pygobject.doap | 16 +- 7643 tests/Makefile.am | 23 +- 7644 tests/test_everything.py | 270 ++++ 7645 tests/test_gi.py | 1624 7646 ++++++++++++++++++++ 7647 tests/test_overrides.py | 132 ++ 7648 66 files changed, 4124 insertions(+), 4186 deletions(-) 7649 7650commit 597bd64319d7966045b5b8613ca6fc85668c3f56 7651Merge: ec8d148 fa91dfd 7652Author: Johan Dahlin <johan@gnome.org> 7653Date: Sun Jun 20 10:53:46 2010 -0300 7654 7655 Merge branch 'pygi-merge' 7656 7657commit fa91dfd3ec79ecd03c9fb59b9363eab4a5b3ff2b 7658Author: Johan Dahlin <johan@gnome.org> 7659Date: Sun Jun 20 10:53:36 2010 -0300 7660 7661 Prepare pygi move 7662 7663 .gitignore | 40 - 7664 HACKING | 26 - 7665 Makefile.am | 28 - 7666 autogen.sh | 166 -- 7667 configure.ac | 60 - 7668 demos/gtk-demo/demos/appwindow.py | 411 ----- 7669 demos/gtk-demo/demos/assistant.py | 134 -- 7670 demos/gtk-demo/demos/builder.py | 57 - 7671 demos/gtk-demo/demos/button_box.py | 121 -- 7672 demos/gtk-demo/demos/clipboard.py | 238 --- 7673 demos/gtk-demo/demos/colorselector.py | 121 -- 7674 demos/gtk-demo/demos/combobox.py | 282 ---- 7675 demos/gtk-demo/demos/data/alphatest.png | Bin 26529 -> 7676 0 bytes 7677 demos/gtk-demo/demos/data/apple-red.png | Bin 3545 -> 0 bytes 7678 demos/gtk-demo/demos/data/background.jpg | Bin 22219 -> 7679 0 bytes 7680 demos/gtk-demo/demos/data/demo.ui | 258 ---- 7681 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 5216 -> 0 bytes 7682 demos/gtk-demo/demos/data/gnome-applets.png | Bin 3090 -> 0 bytes 7683 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 2755 -> 0 bytes 7684 demos/gtk-demo/demos/data/gnome-foot.png | Bin 2916 -> 0 bytes 7685 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 2044 -> 0 bytes 7686 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 1795 -> 0 bytes 7687 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 3410 -> 0 bytes 7688 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 3244 -> 0 bytes 7689 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 4263 -> 0 bytes 7690 demos/gtk-demo/demos/data/gnu-keys.png | Bin 3852 -> 0 bytes 7691 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 6427 -> 0 bytes 7692 demos/gtk-demo/demos/test.py | 14 - 7693 demos/gtk-demo/gtk-demo.py | 266 ---- 7694 examples/Makefile.am | 2 - 7695 examples/cairo-demo.py | 121 -- 7696 gi/.gitignore | 40 + 7697 gi/HACKING | 26 + 7698 gi/demos/gtk-demo/demos/appwindow.py | 411 +++++ 7699 gi/demos/gtk-demo/demos/assistant.py | 134 ++ 7700 gi/demos/gtk-demo/demos/builder.py | 57 + 7701 gi/demos/gtk-demo/demos/button_box.py | 121 ++ 7702 gi/demos/gtk-demo/demos/clipboard.py | 238 +++ 7703 gi/demos/gtk-demo/demos/colorselector.py | 121 ++ 7704 gi/demos/gtk-demo/demos/combobox.py | 282 ++++ 7705 gi/demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 7706 26529 bytes 7707 gi/demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes 7708 gi/demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 7709 22219 bytes 7710 gi/demos/gtk-demo/demos/data/demo.ui | 258 ++++ 7711 gi/demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes 7712 gi/demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes 7713 gi/demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes 7714 gi/demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes 7715 .../gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes 7716 gi/demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes 7717 gi/demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes 7718 gi/demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes 7719 gi/demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes 7720 gi/demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes 7721 gi/demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes 7722 gi/demos/gtk-demo/demos/test.py | 14 + 7723 gi/demos/gtk-demo/gtk-demo.py | 266 ++++ 7724 gi/examples/Makefile.am | 2 + 7725 gi/examples/cairo-demo.py | 121 ++ 7726 gi/tests/Makefile.am | 22 + 7727 gi/tests/runtests.py | 21 + 7728 gi/tests/test_everything.py | 270 ++++ 7729 gi/tests/test_gi.py | 1624 7730 ++++++++++++++++++++ 7731 gi/tests/test_overrides.py | 132 ++ 7732 pygi-Makefile.am | 28 + 7733 pygi-configure.ac | 60 + 7734 tests/Makefile.am | 22 - 7735 tests/runtests.py | 21 - 7736 tests/test_everything.py | 270 ---- 7737 tests/test_gi.py | 1624 7738 -------------------- 7739 tests/test_overrides.py | 132 -- 7740 71 files changed, 4248 insertions(+), 4414 deletions(-) 7741 7742commit ec8d148eccbb3714093f21b595ea77ae4c7c3bce 7743Author: Johan Dahlin <johan@gnome.org> 7744Date: Sun Jun 20 10:49:55 2010 -0300 7745 7746 [giounix] Make it possible to compile on glib 2.20 7747 7748 gio/unix.override | 2 ++ 7749 1 files changed, 2 insertions(+), 0 deletions(-) 7750 7751commit 606018a2c551d890fc2bb987d99683f777598bda 7752Author: John (J5) Palmieri <johnp@redhat.com> 7753Date: Mon Jun 7 16:32:29 2010 -0400 7754 7755 Don't free transfer full struct pointers because we can't do it safely 7756 7757 * Most libraries which are sending back structs as transfer-full 7758 are either annotated incorrectly or should be sending boxed types 7759 * It is much better to throw a warning and leak memory than it is to 7760 call free on an unknown struct pointer. Doing so may cause 7761 a double free 7762 * Specific case is gdk_atom_intern where a GdkAtom is not actually 7763 a pointer 7764 but an integer stuffed into a pointer type 7765 7766 https://bugzilla.gnome.org/show_bug.cgi?id=620898 7767 7768 gi/pygi-argument.c | 9 ++++++++- 7769 gi/pygi-invoke.c | 11 +++++++++-- 7770 2 files changed, 17 insertions(+), 3 deletions(-) 7771 7772commit 433ee2aa029a1482961f478252a06492bd3498e6 7773Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> 7774Date: Tue Jun 15 11:42:28 2010 +0200 7775 7776 Release the lock when potentially invoking Python code. 7777 7778 * gobject/pygobject.c: Release GIL lock when retrieving properties 7779 and when clearing a PyGObject. 7780 7781 https://bugzilla.gnome.org/show_bug.cgi?id=530935 7782 7783 gobject/pygobject.c | 11 ++++++++++- 7784 1 files changed, 10 insertions(+), 1 deletions(-) 7785 7786commit aa1e82c7eb87620bd73e1edb486f5b9e0d49aa96 7787Author: John (J5) Palmieri <johnp@redhat.com> 7788Date: Mon Jun 14 18:36:57 2010 -0400 7789 7790 add combobox example 7791 7792 demos/gtk-demo/demos/combobox.py | 282 7793 ++++++++++++++++++++++++++++++++++++++ 7794 1 files changed, 282 insertions(+), 0 deletions(-) 7795 7796commit a8668694da59c2dd959c875f13337e64ca22f7e9 7797Author: John (J5) Palmieri <johnp@redhat.com> 7798Date: Mon Jun 14 13:43:53 2010 -0400 7799 7800 fix leak in the allow None callbacks patch 7801 7802 gi/pygi-callbacks.c | 4 ++-- 7803 1 files changed, 2 insertions(+), 2 deletions(-) 7804 7805commit 729072e73d65e7fd5b5197ebe5a8c53a449d0ec0 7806Author: John (J5) Palmieri <johnp@redhat.com> 7807Date: Mon Jun 7 17:12:09 2010 -0400 7808 7809 Allow passing None for callbacks which are annotated allow-none 7810 7811 * Many callbacks are optional parameters yet we were asserting on 7812 Py_None 7813 * We now check to see if allow_none is set when setting up callbacks, 7814 if it is set and py_function == Py_None, we set the closure to NULL 7815 and return 7816 * pygi-invoke.c now checks to see if the closure == NULL when setting 7817 arguments 7818 * if it is NULL there is no reason to set the the destroy notify 7819 handler 7820 so we skip that too 7821 7822 https://bugzilla.gnome.org/show_bug.cgi?id=620906 7823 7824 gi/pygi-callbacks.c | 7 +++++++ 7825 gi/pygi-invoke.c | 14 +++++++++++--- 7826 tests/test_everything.py | 4 ++++ 7827 3 files changed, 22 insertions(+), 3 deletions(-) 7828 7829commit a3eb5c7de5836c37aa7ae01dbe98996ec2632c17 7830Author: Paolo Borelli <pborelli@gnome.org> 7831Date: Mon Jun 14 19:06:45 2010 +0200 7832 7833 Fix to match latest gtk annotations 7834 7835 demos/gtk-demo/demos/appwindow.py | 3 +-- 7836 1 files changed, 1 insertions(+), 2 deletions(-) 7837 7838commit 6306dd73cc74aa9202569eac0eaaa5f825c8dc59 7839Author: John (J5) Palmieri <johnp@redhat.com> 7840Date: Tue Jun 8 15:03:49 2010 -0400 7841 7842 fix variable member names in Gdk.Color override 7843 7844 * override was using r, g, and b for the red, green, blue components 7845 but 7846 the struct specifies red, green, blue so we need to use those names 7847 7848 https://bugzilla.gnome.org/show_bug.cgi?id=621007 7849 7850 gi/overrides/Gdk.py | 10 +++++----- 7851 tests/test_overrides.py | 6 +++--- 7852 2 files changed, 8 insertions(+), 8 deletions(-) 7853 7854commit d182630e1128fef6f1c2aea28ccd8da4bddd2c8f 7855Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7856Date: Thu Jun 10 20:23:13 2010 +0200 7857 7858 Post release version bump to 2.21.3 7859 7860 configure.ac | 2 +- 7861 1 files changed, 1 insertions(+), 1 deletions(-) 7862 7863commit c4e64d5d264593051b9a3131e4985a58e8e76f8b 7864Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7865Date: Thu Jun 10 20:21:13 2010 +0200 7866 7867 Update NEWS and release PyGObject-2.21.2 7868 7869 NEWS | 26 ++++++++++++++++++++++++++ 7870 1 files changed, 26 insertions(+), 0 deletions(-) 7871 7872commit e0fe844d5fe8f7e26316f197444fd4143ed36adf 7873Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7874Date: Thu Jun 10 20:09:07 2010 +0200 7875 7876 Remove deleted files from the Makefile. 7877 7878 test_conversion.py 7879 test_enum.py 7880 test_gtype.py 7881 test_subtype.py 7882 7883 tests/Makefile.am | 4 ---- 7884 1 files changed, 0 insertions(+), 4 deletions(-) 7885 7886commit 495a301cb81c5e914bcef905999265604faa27fc 7887Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7888Date: Thu Jun 10 19:39:09 2010 +0200 7889 7890 Add myself to the maintainers list in the README 7891 7892 README | 1 + 7893 1 files changed, 1 insertions(+), 0 deletions(-) 7894 7895commit 04627488220b4f2a16e11f8982af7866fea9f7eb 7896Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7897Date: Thu Jun 10 19:24:31 2010 +0200 7898 7899 Drop sinkfuncs. 7900 7901 * use g_object methods to sink floating refs instead of allowing 7902 custom sink functions to be registered 7903 * we now sink inside of pygobject_new_full to handle cases where 7904 a library creates its own gobject via g_object_new and just 7905 needs a python wrapper 7906 - a previous patch had done the sink when creating the gobject, 7907 since it needs to call pygobject_new_full to wrap the object, 7908 this patch handles both cases (e.g. pygobject created object 7909 and externally created gobject) 7910 7911 https://bugzilla.gnome.org/show_bug.cgi?id=583909 7912 7913 gobject/gobjectmodule.c | 3 +-- 7914 gobject/pygobject.c | 42 ++++++++---------------------------------- 7915 gobject/pygobject.h | 1 + 7916 3 files changed, 10 insertions(+), 36 deletions(-) 7917 7918commit 07df124dc06cf506634e95d08397f50a2d07fce2 7919Author: Steve Frécinaux <code@istique.net> 7920Date: Mon Jun 7 09:47:23 2010 +0200 7921 7922 Make the "wrong argument count" exception more explicit. 7923 7924 Previously we had messages like this one: 7925 TypeError: takes exactly 2 argument(s) (1 given) 7926 7927 With this patch, they become like this: 7928 TypeError: get_end_iter() takes exactly 2 argument(s) (1 given) 7929 7930 It makes things much easier to debug when there are several pygi calls 7931 on the same line. 7932 7933 https://bugzilla.gnome.org/show_bug.cgi?id=620804 7934 7935 gi/pygi-invoke.c | 3 ++- 7936 tests/test_everything.py | 6 ++++++ 7937 2 files changed, 8 insertions(+), 1 deletions(-) 7938 7939commit b435319fe830a909cc4d414533b3b66574931e24 7940Author: Steve Frécinaux <code@istique.net> 7941Date: Mon Jun 7 09:54:06 2010 +0200 7942 7943 Use bash explicitely in the pre-commit hook. 7944 7945 The "builtin" command is not available in all sh flavours, so the 7946 pre-commit hook is going to fail if you use dash or others instead of 7947 bash as your default 'sh' alias. 7948 7949 https://bugzilla.gnome.org/show_bug.cgi?id=620805 7950 7951 pre-commit.hook | 2 +- 7952 1 files changed, 1 insertions(+), 1 deletions(-) 7953 7954commit e9ee2916494eb7654004925c1ee1e94f99b14f1a 7955Author: John (J5) Palmieri <johnp@redhat.com> 7956Date: Tue Jun 8 16:55:26 2010 -0400 7957 7958 colorselector demo 7959 7960 demos/gtk-demo/demos/colorselector.py | 121 7961 +++++++++++++++++++++++++++++++++ 7962 1 files changed, 121 insertions(+), 0 deletions(-) 7963 7964commit ec598128de9e90dccab662ed2f5511c8d659e156 7965Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7966Date: Tue Jun 8 15:48:33 2010 +0200 7967 7968 Update PyGObject dependency to 2.21.1 7969 7970 configure.ac | 2 +- 7971 1 files changed, 1 insertions(+), 1 deletions(-) 7972 7973commit 87774a17bd607724a56e18c2eb1ac71b04b7079d 7974Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 7975Date: Tue Jun 8 10:40:39 2010 +0200 7976 7977 Add myself to maintainers 7978 7979 MAINTAINERS | 4 ++++ 7980 pygobject.doap | 7 +++++++ 7981 2 files changed, 11 insertions(+), 0 deletions(-) 7982 7983commit 46c91a11d448e5e11d142d3362aff1483226bca4 7984Author: Colin Walters <walters@verbum.org> 7985Date: Wed May 5 13:54:27 2010 -0400 7986 7987 Clear error if we failed the import 7988 7989 Otherwise we leave the exception set which causes bizarre problems 7990 later in unrelated code. 7991 7992 https://bugzilla.redhat.com/show_bug.cgi?id=569885 7993 7994 https://bugzilla.gnome.org/show_bug.cgi?id=617796 7995 7996 gobject/pygi-external.h | 2 ++ 7997 1 files changed, 2 insertions(+), 0 deletions(-) 7998 7999commit c1c41576d053cc1cdd8366d8cd1e59fff1c3a9c6 8000Author: John (J5) Palmieri <johnp@redhat.com> 8001Date: Mon Jun 7 17:19:30 2010 -0400 8002 8003 fix some typos and add a link to a patch which fixes a FIXME 8004 8005 demos/gtk-demo/demos/clipboard.py | 7 +++++-- 8006 1 files changed, 5 insertions(+), 2 deletions(-) 8007 8008commit e7fabb5024d94a3166766e5fca740741bc50380a 8009Author: John (J5) Palmieri <johnp@redhat.com> 8010Date: Mon Jun 7 16:21:42 2010 -0400 8011 8012 clipboard demo 8013 8014 demos/gtk-demo/demos/clipboard.py | 235 8015 +++++++++++++++++++++++++++++++++++++ 8016 1 files changed, 235 insertions(+), 0 deletions(-) 8017 8018commit e0f1dce5ec58d071759f886697501da6eeea549d 8019Author: John (J5) Palmieri <johnp@redhat.com> 8020Date: Sun Jun 6 13:27:46 2010 -0400 8021 8022 set is_fully_bound to false 8023 8024 demos/gtk-demo/demos/button_box.py | 2 +- 8025 1 files changed, 1 insertions(+), 1 deletions(-) 8026 8027commit 986db1c73746d3a8ad7d8d5141c7eed194e7b948 8028Author: John (J5) Palmieri <johnp@redhat.com> 8029Date: Sat Jun 5 23:53:36 2010 -0400 8030 8031 new button box demo 8032 8033 demos/gtk-demo/demos/button_box.py | 121 8034 ++++++++++++++++++++++++++++++++++++ 8035 1 files changed, 121 insertions(+), 0 deletions(-) 8036 8037commit e9f5f8a829121e59367bae690442150f144946ad 8038Author: John (J5) Palmieri <johnp@redhat.com> 8039Date: Sat Jun 5 23:26:03 2010 -0400 8040 8041 set is_fully_bound to True fro builder example 8042 8043 demos/gtk-demo/demos/builder.py | 2 +- 8044 1 files changed, 1 insertions(+), 1 deletions(-) 8045 8046commit d9968c3a4dea1d4a73a9376009cf486c80ea3da6 8047Author: John (J5) Palmieri <johnp@redhat.com> 8048Date: Sat Jun 5 23:24:36 2010 -0400 8049 8050 fix up formatting in demos 8051 8052 demos/gtk-demo/demos/appwindow.py | 16 ++++++++-------- 8053 demos/gtk-demo/demos/assistant.py | 24 ++++++++++++------------ 8054 demos/gtk-demo/demos/builder.py | 2 +- 8055 3 files changed, 21 insertions(+), 21 deletions(-) 8056 8057commit ffca02536bafb55e8c3bce31cd992365207429f6 8058Author: John (J5) Palmieri <johnp@redhat.com> 8059Date: Sat Jun 5 14:54:47 2010 -0400 8060 8061 add the builder demo 8062 8063 demos/gtk-demo/demos/builder.py | 57 8064 +++++++++++++++++++++++++++++++++++++++ 8065 1 files changed, 57 insertions(+), 0 deletions(-) 8066 8067commit a96dbafdf562a2ac6bde4df27919d3628689dbdb 8068Author: John (J5) Palmieri <johnp@redhat.com> 8069Date: Fri Jun 4 17:48:24 2010 -0400 8070 8071 add assistant demo 8072 8073 demos/gtk-demo/demos/assistant.py | 134 8074 +++++++++++++++++++++++++++++++++++++ 8075 1 files changed, 134 insertions(+), 0 deletions(-) 8076 8077commit 7e1b8cf32f33d45603aaec76afb0d14be84ffd94 8078Author: John (J5) Palmieri <johnp@redhat.com> 8079Date: Fri Jun 4 16:56:46 2010 -0400 8080 8081 add formatting rules and copyright notice 8082 8083 demos/gtk-demo/demos/appwindow.py | 19 +++++++++++++++++++ 8084 1 files changed, 19 insertions(+), 0 deletions(-) 8085 8086commit 03b99692b81631d397ab62dcd263341465bcee88 8087Author: John (J5) Palmieri <johnp@redhat.com> 8088Date: Fri Jun 4 16:26:54 2010 -0400 8089 8090 add the gtk-demo app along with a couple of demos 8091 8092 * note there are still a couple of patches in bugzilla that are 8093 needed for this 8094 to run correctly: 8095 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162682 8096 - http://bugzilla-attachments.gnome.org/attachment.cgi?id=162764 8097 8098 demos/gtk-demo/demos/appwindow.py | 393 8099 ++++++++++++++++++++++ 8100 demos/gtk-demo/demos/data/alphatest.png | Bin 0 -> 26529 bytes 8101 demos/gtk-demo/demos/data/apple-red.png | Bin 0 -> 3545 bytes 8102 demos/gtk-demo/demos/data/background.jpg | Bin 0 -> 22219 bytes 8103 demos/gtk-demo/demos/data/demo.ui | 258 ++++++++++++++ 8104 demos/gtk-demo/demos/data/floppybuddy.gif | Bin 0 -> 5216 bytes 8105 demos/gtk-demo/demos/data/gnome-applets.png | Bin 0 -> 3090 bytes 8106 demos/gtk-demo/demos/data/gnome-calendar.png | Bin 0 -> 2755 bytes 8107 demos/gtk-demo/demos/data/gnome-foot.png | Bin 0 -> 2916 bytes 8108 demos/gtk-demo/demos/data/gnome-fs-directory.png | Bin 0 -> 2044 bytes 8109 demos/gtk-demo/demos/data/gnome-fs-regular.png | Bin 0 -> 1795 bytes 8110 demos/gtk-demo/demos/data/gnome-gimp.png | Bin 0 -> 3410 bytes 8111 demos/gtk-demo/demos/data/gnome-gmush.png | Bin 0 -> 3244 bytes 8112 demos/gtk-demo/demos/data/gnome-gsame.png | Bin 0 -> 4263 bytes 8113 demos/gtk-demo/demos/data/gnu-keys.png | Bin 0 -> 3852 bytes 8114 demos/gtk-demo/demos/data/gtk-logo-rgb.gif | Bin 0 -> 6427 bytes 8115 demos/gtk-demo/demos/test.py | 14 + 8116 demos/gtk-demo/gtk-demo.py | 266 +++++++++++++++ 8117 18 files changed, 931 insertions(+), 0 deletions(-) 8118 8119commit b3b1f029d8d16cf9bd74160009808147d07e3b3f 8120Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8121Date: Fri Jun 4 11:25:08 2010 +0200 8122 8123 Update gobject-introspection dependency to 0.6.14 8124 8125 configure.ac | 2 +- 8126 1 files changed, 1 insertions(+), 1 deletions(-) 8127 8128commit 45c4e46ae93bd83a0e3f3550df6c64ce96bbedb4 8129Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8130Date: Fri Jun 4 11:23:41 2010 +0200 8131 8132 Post-release version bump to 0.6.1 8133 8134 configure.ac | 2 +- 8135 1 files changed, 1 insertions(+), 1 deletions(-) 8136 8137commit 7a94270dac48b67aabc7dbad156cf1180db9cb5e 8138Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8139Date: Fri Jun 4 08:29:42 2010 +0200 8140 8141 Pre-release version bump 0.6.0 8142 8143 configure.ac | 2 +- 8144 1 files changed, 1 insertions(+), 1 deletions(-) 8145 8146commit 1e42ee6eb25a07a5201f24ffeac18d298a98477e 8147Author: John (J5) Palmieri <johnp@redhat.com> 8148Date: Fri May 28 10:03:11 2010 -0400 8149 8150 support for caller-allocates annotations for structs 8151 8152 * out caller-allocates parameters expect an already constructed 8153 structure 8154 to be passed in by reference. It is then modified and the caller 8155 uses the 8156 modified value. We support this by using only one level of pointer 8157 indirection. 8158 * Only structs are considered to be caller-allocates parameters 8159 even if 8160 they are marked as such by GI. This is because the GI scanner 8161 isn't smart 8162 enough to correctly guess 100% of the time 8163 * GValues are a special case of a caller-allocates parameter when 8164 cleaning 8165 up (e.g. g_value_unset is called). GValues make no sense in 8166 a scripting 8167 language. Developers should never deal with them. 8168 8169 https://bugzilla.gnome.org/show_bug.cgi?id=620406 8170 8171 gi/pygi-invoke.c | 73 8172 +++++++++++++++++++++++++++++++++++++++++++-- 8173 tests/test_everything.py | 28 +++++++++++++++++ 8174 2 files changed, 97 insertions(+), 4 deletions(-) 8175 8176commit c3f467e0ae99aa78c2fdb91b973a272d2fe970bd 8177Author: John (J5) Palmieri <johnp@redhat.com> 8178Date: Wed Jun 2 14:14:16 2010 -0400 8179 8180 don't import gobject directly in the tests 8181 8182 * use from gi.repository import GObject 8183 8184 tests/test_overrides.py | 5 ++--- 8185 1 files changed, 2 insertions(+), 3 deletions(-) 8186 8187commit 46b5133fea4cd5db57a360b3cbe9ee923e27560c 8188Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8189Date: Tue Jun 1 14:28:57 2010 +0200 8190 8191 Wrap C arrays in structs as GArrays before converting to Python 8192 8193 https://bugzilla.gnome.org/show_bug.cgi?id=620247 8194 8195 gi/pygi-info.c | 11 +++++++++++ 8196 tests/test_gi.py | 17 +++++++++++++++++ 8197 2 files changed, 28 insertions(+), 0 deletions(-) 8198 8199commit 5f0f9a9c9145a129a063b041424c3109a24d9ead 8200Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8201Date: Wed May 26 13:20:27 2010 +0200 8202 8203 Install pre-commit hook that checks the code changes for style 8204 conformance 8205 8206 autogen.sh | 7 +++++++ 8207 pre-commit.hook | 39 +++++++++++++++++++++++++++++++++++++++ 8208 2 files changed, 46 insertions(+), 0 deletions(-) 8209 8210commit 1319da5b7f483e48a90b0b7489f77236ba26f479 8211Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8212Date: Wed May 26 12:19:17 2010 +0200 8213 8214 Apply consistent whitespace formatting with: 8215 8216 astyle -p -d -c -S -U -M60 8217 8218 This won't affect git blame nor git diff if the switch -w is used. 8219 8220 gi/gimodule.c | 138 ++++---- 8221 gi/pygi-argument.c | 960 8222 +++++++++++++++++++++++----------------------- 8223 gi/pygi-boxed.c | 108 +++--- 8224 gi/pygi-callbacks.c | 154 ++++---- 8225 gi/pygi-callbacks.h | 8 +- 8226 gi/pygi-closure.c | 270 +++++++------- 8227 gi/pygi-closure.h | 18 +- 8228 gi/pygi-foreign-cairo.c | 36 +- 8229 gi/pygi-foreign-cairo.h | 36 +- 8230 gi/pygi-foreign.c | 54 ++-- 8231 gi/pygi-foreign.h | 10 +- 8232 gi/pygi-info.c | 646 ++++++++++++++++---------------- 8233 gi/pygi-invoke.c | 380 ++++++++++---------- 8234 gi/pygi-repository.c | 114 +++--- 8235 gi/pygi-struct.c | 88 +++--- 8236 gi/pygi-type.c | 32 +- 8237 gi/pygi.h | 20 +- 8238 gi/pygobject-external.h | 14 +- 8239 18 files changed, 1544 insertions(+), 1542 deletions(-) 8240 8241commit 6156f15cb15b4c20e975527227135d49207c520a 8242Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8243Date: Tue May 25 14:08:51 2010 +0200 8244 8245 Prepend gi.repository to the __module__ attribute of wrapper classes. 8246 8247 https://bugzilla.gnome.org/show_bug.cgi?id=619597 8248 8249 gi/module.py | 4 ++-- 8250 tests/test_gi.py | 4 +++- 8251 2 files changed, 5 insertions(+), 3 deletions(-) 8252 8253commit 097b92983b7a322c58fecb1e691ba6ddf5035548 8254Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8255Date: Tue May 25 14:17:13 2010 +0200 8256 8257 Correctly identify at creation time: 8258 8259 * if the class is defined in python -> hook up vfuncs 8260 * if the class wraps a type from a .typelib -> set atributes 8261 * else (GLocalFile) -> do nothing 8262 8263 https://bugzilla.gnome.org/show_bug.cgi?id=619604 8264 8265 gi/types.py | 15 +++++++++++---- 8266 1 files changed, 11 insertions(+), 4 deletions(-) 8267 8268commit 686e10fcdb108af9758eb025a3447813c3513a93 8269Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8270Date: Thu Apr 29 10:55:13 2010 +0200 8271 8272 Dont complain if another base has implemented the method 8273 8274 https://bugzilla.gnome.org/show_bug.cgi?id=617153 8275 8276 gi/types.py | 3 ++- 8277 1 files changed, 2 insertions(+), 1 deletions(-) 8278 8279commit 9f34d120845d936b04546a5cea599ec67e9181a7 8280Author: John (J5) Palmieri <johnp@redhat.com> 8281Date: Mon May 24 16:16:50 2010 -0400 8282 8283 fix up Builder override, add new override methods, and add unit tests 8284 8285 * check for flags when connecting signals now that we get gi 8286 GObject types 8287 * override the add_from_string and add_objects_from string overrides 8288 so 8289 that you don't have to pass in the length of the buffer 8290 * add test that loads objects from strings and connects them to 8291 signals 8292 8293 gi/overrides/Gtk.py | 19 +++++++++++- 8294 tests/test_overrides.py | 72 8295 +++++++++++++++++++++++++++++++++++++++++++++-- 8296 2 files changed, 86 insertions(+), 5 deletions(-) 8297 8298commit 1561d2977691f1cb8684f183a2e274c47960d931 8299Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8300Date: Mon May 24 18:48:10 2010 +0200 8301 8302 Improve handling of subclasses without __gtype_name__ 8303 8304 Gives a better message at type registration. 8305 8306 https://bugzilla.gnome.org/show_bug.cgi?id=616849 8307 8308 gi/gimodule.c | 9 +++++++++ 8309 tests/test_gi.py | 13 ++++++++++++- 8310 2 files changed, 21 insertions(+), 1 deletions(-) 8311 8312commit c9d44d4d46c3da3a445000b1db592baa9c378a92 8313Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8314Date: Fri Apr 30 18:17:50 2010 +0200 8315 8316 Add support for GArray args 8317 8318 https://bugzilla.gnome.org/show_bug.cgi?id=617054 8319 8320 gi/pygi-invoke.c | 11 +++++++---- 8321 tests/test_gi.py | 50 8322 ++++++++++++++++++++++++++++++++++++++++++++++++++ 8323 2 files changed, 57 insertions(+), 4 deletions(-) 8324 8325commit c171579ee22681e1ee4ad33441c89f1053bdc3d1 8326Author: John (J5) Palmieri <johnp@redhat.com> 8327Date: Mon May 24 11:48:16 2010 -0400 8328 8329 check refcounting of callback userdata in unit tests 8330 8331 tests/test_everything.py | 18 ++++++++++++++++++ 8332 1 files changed, 18 insertions(+), 0 deletions(-) 8333 8334commit 8eb809468fe3e1f8e4f92bd7f25d96f9cf802cd4 8335Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8336Date: Sat May 22 15:12:37 2010 +0200 8337 8338 Add support for out args in callbacks 8339 8340 This patch refactors argument marshalling for closures in 8341 preparation for more complete support. 8342 8343 Also fixes a bug in the memory management of user_data args. 8344 8345 https://bugzilla.gnome.org/show_bug.cgi?id=617780 8346 8347 gi/pygi-closure.c | 335 8348 +++++++++++++++++++++++++++++++++++++++++------------ 8349 tests/test_gi.py | 4 + 8350 2 files changed, 263 insertions(+), 76 deletions(-) 8351 8352commit 0df0c956bb2476392c9d81f0a243a7e84c067166 8353Author: Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> 8354Date: Sun May 23 10:59:27 2010 +0200 8355 8356 If None is passed to an interface which takes an object, convert it to 8357 NULL 8358 8359 * without this patch PyGI treats the None object as a PyGObject 8360 and ends up 8361 extracting garbage data causing a crash 8362 * None's equivalent in C is NULL so we must provide a special case 8363 where we 8364 marshal the None as NULL 8365 8366 https://bugzilla.gnome.org/show_bug.cgi?id=617880 8367 8368 gi/pygi-argument.c | 5 +++++ 8369 tests/test_everything.py | 6 ++++++ 8370 2 files changed, 11 insertions(+), 0 deletions(-) 8371 8372commit 60fdf4b8f738dd0f5c190bc18ddf010032d3c5ca 8373Author: John (J5) Palmieri <johnp@redhat.com> 8374Date: Sat May 22 14:06:37 2010 +0200 8375 8376 correctly handle floating objects in gtk 8377 8378 * this is a stopgap so we work with older pygobject libraries 8379 * there is a patch at 8380 https://bugzilla.gnome.org/show_bug.cgi?id=583909 8381 which adds the correct fix to pygobject 8382 * once pygobject accepts the above patch this patch does not need to 8383 be reverted because pygobject_register_sinkfunc becomes a noop 8384 * add tests (Tomeu) 8385 8386 https://bugzilla.gnome.org/show_bug.cgi?id=619007 8387 8388 gi/gimodule.c | 12 ++++++++++++ 8389 tests/test_everything.py | 3 +++ 8390 2 files changed, 15 insertions(+), 0 deletions(-) 8391 8392commit 4b369f8aca980fc6a582094d6648f40fe4af5e9f 8393Author: John (J5) Palmieri <johnp@redhat.com> 8394Date: Sat May 22 13:21:30 2010 +0200 8395 8396 Return an empty list when a NULL GList and GSList is returned 8397 8398 * In GTK a GList * and GSList set to NULL is equivilant to empty 8399 list. All 8400 GTK list methods can take a NULL and treat it as an empty list. e.g. 8401 g_list_length(NULL) returns 0 8402 * PyGtk consitently returns empty list when a NULL is returned for 8403 GList or 8404 GSList return 8405 * Many PyGtk apps do this: 8406 for i in range(len(obj.get_list())): 8407 ... 8408 * If we were to continue to return None, they would have to add 8409 a check 8410 which is needlessly verbose and isn't very "pythonic" 8411 8412 https://bugzilla.gnome.org/show_bug.cgi?id=619232 8413 8414 gi/pygi-argument.c | 6 ------ 8415 tests/test_everything.py | 4 ++-- 8416 2 files changed, 2 insertions(+), 8 deletions(-) 8417 8418commit 71a2148b00dfdda99e0d961ae39b901608724e59 8419Author: Steve Frécinaux <code@istique.net> 8420Date: Fri May 21 19:05:03 2010 +0200 8421 8422 Fix warning in configure. 8423 8424 The warning is caused by the use of the construction 'CFLAGS+=' in a 8425 sh version that doesn't understand it (in this case, 'dash'). 8426 8427 https://bugzilla.gnome.org/show_bug.cgi?id=619311 8428 8429 configure.ac | 2 +- 8430 1 files changed, 1 insertions(+), 1 deletions(-) 8431 8432commit aa0357e468eb91e0f3707346e9b32f312fbf51d3 8433Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8434Date: Thu Apr 29 13:06:15 2010 +0200 8435 8436 GTypeInterface cannot be unrefed 8437 8438 https://bugzilla.gnome.org/show_bug.cgi?id=617159 8439 8440 gi/gimodule.c | 4 +++- 8441 1 files changed, 3 insertions(+), 1 deletions(-) 8442 8443commit ab1aaff108d23aabd28c3634edfb67236eb55460 8444Author: John (J5) Palmieri <johnp@redhat.com> 8445Date: Sat May 22 13:09:48 2010 +0200 8446 8447 fix NULL array unit tests and fix crasher when sending None as 8448 an array 8449 8450 * Unit tests were wrong given the annotation for 8451 test_array_int_null_in and 8452 test_array_int_null_out: 8453 8454 /** 8455 * test_array_int_null_in: 8456 * @arr: (array length=len) (allow-none): 8457 * @len: length 8458 */ 8459 8460 -- and -- 8461 8462 /** 8463 * test_array_int_null_out: 8464 * @arr: (out) (array length=len) (allow-none): 8465 * @len: (out) : length 8466 */ 8467 8468 The (array length=len) annotation meant we don't pass in or 8469 receive the len argument as this is handled under the hood 8470 (Python's representation of an array, the list type, encapsulates 8471 the length inside the type) 8472 8473 * Fixing up the tests revealed a latent crasher bug when passing 8474 None to an 8475 interface that accepts an array. The fix was to check for NULL 8476 and set 8477 the length argument to 0 when invoking the bound method. 8478 8479 https://bugzilla.gnome.org/show_bug.cgi?id=619235 8480 8481 gi/pygi-invoke.c | 6 +++++- 8482 tests/test_everything.py | 4 ++-- 8483 2 files changed, 7 insertions(+), 3 deletions(-) 8484 8485commit e928ea9b1df9d87314ff8e93479530e26be9bd87 8486Author: John (J5) Palmieri <johnp@redhat.com> 8487Date: Fri May 14 14:57:27 2010 -0400 8488 8489 don't error out on methods with callbacks as return type 8490 8491 * Right now we just throw an error which means API's like 8492 gtk_about_dialog_set_url_hook aren't able to be called, 8493 * this allows us to call such APIs while printing a warning, in 8494 most cases 8495 API such as this doesn't need to be used anymore and is a result of 8496 early GTK development 8497 8498 gi/pygi-argument.c | 14 +++++++++++--- 8499 1 files changed, 11 insertions(+), 3 deletions(-) 8500 8501commit d963007aab123f4e53a944a66a935db2d22907c2 8502Author: John (J5) Palmieri <johnp@redhat.com> 8503Date: Mon May 17 11:54:34 2010 -0400 8504 8505 reset sys.argv to the return value of Gtk.init_check 8506 8507 * applications which check command line arguments will error out if it 8508 encounters a GTK command line switch such as --g-fatal-warnings. 8509 * The Gtk.init* API reads these switches and returns a new argv with 8510 the GTK 8511 switches stripped out 8512 * In C argv is modified in place but in Python we must set sys.argv 8513 to the 8514 new modified argument list 8515 * fixes https://bugzilla.gnome.org/show_bug.cgi?id=618889 8516 8517 gi/overrides/Gtk.py | 1 + 8518 1 files changed, 1 insertions(+), 0 deletions(-) 8519 8520commit 897420ed97cc4a7b8a806894df5e76ed72617614 8521Author: John (J5) Palmieri <johnp@redhat.com> 8522Date: Wed May 12 14:25:32 2010 -0400 8523 8524 add GtkUIManager and GtkActionGroup overrides 8525 8526 * fixes bug https://bugzilla.gnome.org/show_bug.cgi?id=618476 8527 8528 gi/overrides/Gtk.py | 167 8529 ++++++++++++++++++++++++++++++++++++++++++++++- 8530 tests/test_overrides.py | 45 +++++++++++++ 8531 2 files changed, 211 insertions(+), 1 deletions(-) 8532 8533commit 865939d29c1e9d69dbe6b9cf89477b5516dbff1f 8534Author: Zach Goldberg <zach@zachgoldberg.com> 8535Date: Thu May 13 01:02:24 2010 -0400 8536 8537 Bump version for development to 0.5.2 (hopefully 0.6) 8538 8539 configure.ac | 2 +- 8540 1 files changed, 1 insertions(+), 1 deletions(-) 8541 8542commit 2674a9546b0246d4a75d71cf1708df77dc0173f9 8543Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8544Date: Wed May 5 15:54:39 2010 +0200 8545 8546 Fix overrides.Gdk.Color.__new__ args 8547 8548 https://bugzilla.gnome.org/show_bug.cgi?id=617757 8549 8550 gi/overrides/Gdk.py | 2 +- 8551 tests/Makefile.am | 3 ++- 8552 tests/test_overrides.py | 22 ++++++++++++++++++++++ 8553 3 files changed, 25 insertions(+), 2 deletions(-) 8554 8555commit c20b9f632a35bada1320ccc10fb7d5b2c06b9a88 8556Author: John (J5) Palmieri <johnp@redhat.com> 8557Date: Thu Apr 29 14:55:33 2010 -0400 8558 8559 wrap GObject module so we can go through GI when requesting attrs 8560 8561 * This gives us the best of both worlds. 8562 - We remain backwards compatable with pygobject by checking for 8563 existing 8564 attrs in the gobject module 8565 - If an attr does not exist we use the GI mechanism to look it up 8566 so that 8567 things like flags look the same whether exported from GObject, Gtk 8568 or any GI managed library 8569 8570 * add DynamicGObjectModule tests and make tests use the new module 8571 - change import gobject to from gi.repository import GObject 8572 8573 gi/importer.py | 6 +- 8574 gi/module.py | 30 +++++++++++++++ 8575 tests/test_everything.py | 6 +- 8576 tests/test_gi.py | 93 8577 +++++++++++++++++++++++++--------------------- 8578 4 files changed, 87 insertions(+), 48 deletions(-) 8579 8580commit 64324a4c629432b2e688299b6edbfd5da4439a2a 8581Author: John (J5) Palmieri <johnp@redhat.com> 8582Date: Fri Apr 30 14:11:55 2010 -0400 8583 8584 override Gdk.Drawable to add cairo_create convinience method 8585 8586 gi/overrides/Gdk.py | 7 ++++++- 8587 1 files changed, 6 insertions(+), 1 deletions(-) 8588 8589commit 17fa1289b1e2ed841dd5de09a2ec7c25d401886e 8590Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8591Date: Mon May 3 19:13:46 2010 +0200 8592 8593 Fix passing callbacks as constructor args 8594 8595 https://bugzilla.gnome.org/show_bug.cgi?id=617551 8596 8597 gi/pygi-callbacks.c | 3 ++- 8598 gi/pygi-callbacks.h | 1 + 8599 gi/pygi-invoke.c | 7 +++++-- 8600 tests/test_everything.py | 21 +++++++++++++++++++++ 8601 4 files changed, 29 insertions(+), 3 deletions(-) 8602 8603commit f9fff978d56ddf2c012b906169ae16abb7fdc2a5 8604Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8605Date: Wed May 5 08:06:03 2010 +0200 8606 8607 Avoid freeing garbage 8608 8609 gi/pygi-invoke.c | 6 ++++-- 8610 1 files changed, 4 insertions(+), 2 deletions(-) 8611 8612commit 5e20c018ae09a936f5ff140df5d1c133c98e98ba 8613Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8614Date: Thu Apr 29 13:09:03 2010 +0200 8615 8616 Only hookup vfunc implementations for locally-defined methods 8617 8618 https://bugzilla.gnome.org/show_bug.cgi?id=617160 8619 8620 gi/types.py | 10 +++++++++- 8621 tests/test_gi.py | 10 ++++++++++ 8622 2 files changed, 19 insertions(+), 1 deletions(-) 8623 8624commit 3e61e7d4450a2bb133c7f3862e0962a35339ce8d 8625Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8626Date: Mon May 3 18:35:13 2010 +0200 8627 8628 Fix passing GDestroyNotify 8629 8630 https://bugzilla.gnome.org/show_bug.cgi?id=617542 8631 8632 gi/pygi-invoke.c | 3 ++- 8633 tests/test_everything.py | 10 ++++++++++ 8634 2 files changed, 12 insertions(+), 1 deletions(-) 8635 8636commit 9669acd0fad193013ef3505ae231588307f9834c 8637Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8638Date: Mon May 3 12:23:58 2010 +0200 8639 8640 Move invocation code to its own file 8641 8642 https://bugzilla.gnome.org/show_bug.cgi?id=617107 8643 8644 gi/Makefile.am | 2 + 8645 gi/pygi-info.c | 884 8646 --------------------------------------------------- 8647 gi/pygi-invoke.c | 909 8648 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 8649 gi/pygi-invoke.h | 37 +++ 8650 gi/pygi-private.h | 1 + 8651 5 files changed, 949 insertions(+), 884 deletions(-) 8652 8653commit 9b923a68dfde06fc2df6321b3f1e53f1c57b3666 8654Author: John (J5) Palmieri <johnp@redhat.com> 8655Date: Tue Apr 27 19:13:08 2010 -0400 8656 8657 Add the Gtk.Builder override 8658 8659 gi/overrides/Gtk.py | 37 ++++++++++++++++++++++++++++++++++++- 8660 1 files changed, 36 insertions(+), 1 deletions(-) 8661 8662commit 9fc6783406b8263ebd67ceae2730b4e86689b43e 8663Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8664Date: Fri Apr 30 15:00:52 2010 +0200 8665 8666 Fix GAsyncReadyCallback 8667 8668 https://bugzilla.gnome.org/show_bug.cgi?id=616236 8669 8670 gi/pygi-closure.c | 8 +++++++- 8671 tests/test_everything.py | 16 ++++++++++++++++ 8672 2 files changed, 23 insertions(+), 1 deletions(-) 8673 8674commit 5657ccaaec09e2a3194ea2e9a923724bcc66759e 8675Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8676Date: Thu Apr 29 18:32:50 2010 +0200 8677 8678 Add override for Gdk.Color 8679 8680 https://bugzilla.gnome.org/show_bug.cgi?id=617162 8681 8682 gi/overrides/Gdk.py | 20 +++++++++++++++++++- 8683 1 files changed, 19 insertions(+), 1 deletions(-) 8684 8685commit 4410abd589a2f64cfbd7bbcb4013fae9e4aa734f 8686Author: John (J5) Palmieri <johnp@redhat.com> 8687Date: Wed Apr 28 13:19:48 2010 -0400 8688 8689 make __all__ be a list of strings, fix override mechanism to use 8690 it correctly 8691 8692 * before we were adding classes to the __all__ module property but 8693 the convention is to use the name of the class 8694 * simplified the check to just check the name against __all__ 8695 instead of trying to get the class and then checking the class 8696 against None as well as in __all__ 8697 * went through all the overrides and made __all__ be a list of strings 8698 8699 gi/module.py | 9 ++++----- 8700 gi/overrides/GIMarshallingTests.py | 2 +- 8701 gi/overrides/Gdk.py | 2 +- 8702 3 files changed, 6 insertions(+), 7 deletions(-) 8703 8704commit 64fa8f936bad9a90628df446e690d67d947a0a22 8705Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8706Date: Mon Apr 26 11:41:06 2010 +0200 8707 8708 One more step at refactoring _wrap_g_function_info_invoke 8709 8710 https://bugzilla.gnome.org/show_bug.cgi?id=616357 8711 8712 gi/pygi-callbacks.c | 22 +- 8713 gi/pygi-callbacks.h | 4 +- 8714 gi/pygi-info.c | 582 8715 +++++++++++++++++++++++++++++---------------------- 8716 3 files changed, 346 insertions(+), 262 deletions(-) 8717 8718commit 7fc5528273edae5ecdd5d8bdf0e5b898eec7a624 8719Author: Zach Goldberg <zach@zachgoldberg.com> 8720Date: Tue Apr 20 23:23:38 2010 -0400 8721 8722 Step 1 of refactoring _wrap_g_function_info_invoke 8723 8724 Original patch by David Malcom <dmalcolm@redhat.com> 8725 8726 This patch bitrots *REALLY* fast. 8727 8728 https://bugzilla.gnome.org/show_bug.cgi?id=616357 8729 8730 gi/pygi-info.c | 417 8731 +++++++++++++++++++++++++++++--------------------------- 8732 1 files changed, 214 insertions(+), 203 deletions(-) 8733 8734commit 1d9c6b6d76a3e27f66e6f0cfc7b16c5191e4fc22 8735Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8736Date: Tue Apr 27 10:24:35 2010 +0200 8737 8738 Dont force subclasses to implement all virtual methods of their bases 8739 8740 https://bugzilla.gnome.org/show_bug.cgi?id=616674 8741 8742 gi/types.py | 4 ++-- 8743 tests/test_gi.py | 15 +++++++++++++++ 8744 2 files changed, 17 insertions(+), 2 deletions(-) 8745 8746commit 8a0c48f4dd512797e5cf132f8ec6fb6d4d1e7aaa 8747Author: Zach Goldberg <zach@zachgoldberg.com> 8748Date: Sun Apr 25 15:09:08 2010 -0400 8749 8750 Correct the reference counting of userdata in closure handling 8751 8752 Without this we lose references on every call and eventually end up 8753 free'ing objects 8754 while they are still in use. 8755 8756 https://bugzilla.gnome.org/show_bug.cgi?id=616786 8757 8758 gi/pygi-closure.c | 3 +++ 8759 tests/test_everything.py | 13 +++++++++++++ 8760 2 files changed, 16 insertions(+), 0 deletions(-) 8761 8762commit 2b12049306bf57513c43d08017185468bf897a4a 8763Author: Zach Goldberg <zach@zachgoldberg.com> 8764Date: Tue Apr 20 22:57:14 2010 -0400 8765 8766 Change SCOPE_TYPE_INVALID handling to be a more verbose error. 8767 8768 (Previous commit did not include the proper error message. I blame 8769 git-bz) 8770 8771 https://bugzilla.gnome.org/show_bug.cgi?id=616356 8772 8773 gi/pygi-closure.c | 4 ++-- 8774 1 files changed, 2 insertions(+), 2 deletions(-) 8775 8776commit 8240320d0b67074ce91bdf7aadcf5951c5a8c45a 8777Author: Zach Goldberg <zach@zachgoldberg.com> 8778Date: Tue Apr 20 23:53:57 2010 -0400 8779 8780 Force out arguments to be initialized as NULL. Comes with a test. 8781 8782 This fix was motivated by a real world library which had a transfer 8783 full 8784 utf8 out argument which sometimes was not set. We would leave 8785 the pointer 8786 dangling and try and free it at the end of invoke() and crash. 8787 Library refused 8788 to change their behavior so we're forced to take care of it on 8789 our end. 8790 8791 https://bugzilla.gnome.org/show_bug.cgi?id=616043 8792 8793 gi/pygi-info.c | 1 + 8794 tests/test_gi.py | 3 +++ 8795 2 files changed, 4 insertions(+), 0 deletions(-) 8796 8797commit 10e558ca283cdd06725bb0d24b5071ccbecc7d13 8798Author: Zach Goldberg <zach@zachgoldberg.com> 8799Date: Tue Apr 20 22:57:14 2010 -0400 8800 8801 Change SCOPE_TYPE_INVALID handling to be a warning and not an error 8802 8803 Be slightly nicer to library maintainers. It really isn't a fatal 8804 condition 8805 if we don't have a proper scope type, better to leave a good code 8806 comment 8807 and a warning than to cause their code to segv. 8808 8809 https://bugzilla.gnome.org/show_bug.cgi?id=616356 8810 8811 gi/pygi-closure.c | 3 ++- 8812 1 files changed, 2 insertions(+), 1 deletions(-) 8813 8814commit d3b5fae9d609dbcd83deb0fa9102b24faf76787c 8815Author: Zach Goldberg <zach@zachgoldberg.com> 8816Date: Tue Apr 20 22:43:20 2010 -0400 8817 8818 Refactor implementation of scope call to allow for multiple calls 8819 during lifetime of function invocation. 8820 8821 https://bugzilla.gnome.org/show_bug.cgi?id=616343 8822 8823 gi/pygi-closure.c | 10 +++++----- 8824 gi/pygi-info.c | 9 +++++++-- 8825 tests/test_everything.py | 9 +++++++++ 8826 3 files changed, 21 insertions(+), 7 deletions(-) 8827 8828commit 3ba666b7ab9c393963922c272e7d87bff50a93f9 8829Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8830Date: Sat Jan 2 16:31:55 2010 +0100 8831 8832 Add basic support for unions 8833 8834 https://bugzilla.gnome.org/show_bug.cgi?id=603598 8835 8836 gi/module.py | 3 +- 8837 gi/pygi-argument.c | 24 +++---------- 8838 gi/pygi-boxed.c | 18 +++++++++- 8839 gi/pygi-info.c | 94 8840 +++++++++++++++++++++++++++++++++++++++++++++++----- 8841 gi/pygi-info.h | 1 + 8842 tests/test_gi.py | 56 +++++++++++++++++++++++++++++++ 8843 6 files changed, 165 insertions(+), 31 deletions(-) 8844 8845commit af9e4e086d160fe7fb24758ed81753e784b198a8 8846Author: Simon van der Linden <svdlinden@src.gnome.org> 8847Date: Fri Jan 22 22:16:32 2010 +0100 8848 8849 Bump required GLib version to 2.22 8850 8851 Since PyGObject now depends on GLib 2.22.4, there is no need to 8852 keep PyGI 8853 backward-compatible. 8854 8855 configure.ac | 2 +- 8856 gi/pygi-private.h | 20 -------------------- 8857 2 files changed, 1 insertions(+), 21 deletions(-) 8858 8859commit c0f40de5648e2ebc556c449342a0025ffce2e33b 8860Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8861Date: Sun Apr 18 11:50:14 2010 -0400 8862 8863 Refactor get_* methods in the *Info wrappers 8864 8865 https://bugzilla.gnome.org/show_bug.cgi?id=616108 8866 8867 gi/pygi-info.c | 360 8868 ++++++++++++++++++++++++++------------------------------ 8869 1 files changed, 168 insertions(+), 192 deletions(-) 8870 8871commit 24bb89f1310dc2fc8ee6ddaf945342ebf80055cd 8872Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8873Date: Tue Apr 20 15:12:47 2010 +0200 8874 8875 Print any error messages raised inside _pygi_closure_handle 8876 8877 https://bugzilla.gnome.org/show_bug.cgi?id=616279 8878 8879 gi/pygi-closure.c | 9 +++++---- 8880 1 files changed, 5 insertions(+), 4 deletions(-) 8881 8882commit d1ba23cdd05686ea721425f233371d573a2e9cce 8883Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8884Date: Thu Apr 22 19:57:17 2010 +0200 8885 8886 Rename variable with a very generic name 8887 8888 gi/module.py | 28 ++++++++++++++-------------- 8889 1 files changed, 14 insertions(+), 14 deletions(-) 8890 8891commit 391640b30ede50af3667b1019edb72bd79f2c68c 8892Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8893Date: Thu Apr 22 19:53:06 2010 +0200 8894 8895 Add support for enums without GType 8896 8897 https://bugzilla.gnome.org/show_bug.cgi?id=616520 8898 8899 gi/module.py | 6 +++++- 8900 gi/pygi-argument.c | 22 +++++++++++++++++++++- 8901 gi/types.py | 14 ++++++++++++++ 8902 tests/test_gi.py | 30 ++++++++++++++++++++++++++++-- 8903 4 files changed, 68 insertions(+), 4 deletions(-) 8904 8905commit 89704f60ddae0c81f1383d86491ef2785590a353 8906Author: Zach Goldberg <zach@zachgoldberg.com> 8907Date: Tue Apr 20 22:20:42 2010 -0400 8908 8909 Bump version during development to 0.5.1 8910 8911 This follows what is, according to Colin Walters, 8912 standard versioning practice. During development the 8913 version in your config is the *next* version you will release, 8914 not the version after. Thus after a release you make a new commit 8915 bumping to the next development version. 8916 8917 configure.ac | 2 +- 8918 1 files changed, 1 insertions(+), 1 deletions(-) 8919 8920commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75 8921Author: John Ehresman <jpe@wingware.com> 8922Date: Tue Apr 20 20:40:02 2010 -0400 8923 8924 Added missing , to keyword list of gio.GFile.set_attribute 8925 8926 gio/gresolver.override | 2 +- 8927 1 files changed, 1 insertions(+), 1 deletions(-) 8928 8929commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e 8930Author: John Ehresman <jpe@wingware.com> 8931Date: Tue Apr 20 20:37:12 2010 -0400 8932 8933 Fix arg conversion in gio.GFile.set_attribute 8934 8935 gio/gfile.override | 232 8936 ++++++++++++++++++++++++++++++++++++++++++++++++++- 8937 1 files changed, 227 insertions(+), 5 deletions(-) 8938 8939commit a579ccc8bea90937bf970be3d461e2b650b0c7d6 8940Author: John Ehresman <jpe@wingware.com> 8941Date: Tue Apr 20 20:01:53 2010 -0400 8942 8943 Set constants under python 2.5 or before 8944 8945 gobject/gobjectmodule.c | 8 ++++++++ 8946 1 files changed, 8 insertions(+), 0 deletions(-) 8947 8948commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0 8949Author: José Alburquerque <jaalburqu@svn.gnome.org> 8950Date: Sun Apr 18 20:22:21 2010 -0400 8951 8952 Doc Extractor: Use replacements that make sense for &...; 8953 expressions. 8954 8955 * codegen/docextract_to_xml.py: Use # and   respectively 8956 for 8957 # (#) and . These are interpreted correctly in XML 8958 and will 8959 not make the parsing crash. 8960 8961 codegen/docextract_to_xml.py | 4 ++-- 8962 1 files changed, 2 insertions(+), 2 deletions(-) 8963 8964commit 8dbc2cb016acef7b364804cd9bc8f0b1da37e84b 8965Author: Zach Goldberg <zach@zachgoldberg.com> 8966Date: Sun Apr 18 14:32:06 2010 -0400 8967 8968 Bump version for release 0.5.0 8969 8970 HACKING | 7 +++++++ 8971 configure.ac | 4 ++-- 8972 2 files changed, 9 insertions(+), 2 deletions(-) 8973 8974commit 3293c91d90c5c497b45e42a527d7f79f7435823e 8975Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8976Date: Sun Apr 18 14:28:13 2010 -0400 8977 8978 One more missing file... 8979 8980 examples/Makefile.am | 2 ++ 8981 1 files changed, 2 insertions(+), 0 deletions(-) 8982 8983commit 1dc575af19fe985cc3fa3ec0cf18aeab1f43c16d 8984Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8985Date: Sun Apr 18 14:18:44 2010 -0400 8986 8987 Add more stuff to the tarballs 8988 8989 Makefile.am | 8 +++++++- 8990 configure.ac | 1 + 8991 2 files changed, 8 insertions(+), 1 deletions(-) 8992 8993commit 8a9bb04755057e934b7f46c917af6ef281a2fedd 8994Author: Tomeu Vizoso <tomeu@sugarlabs.org> 8995Date: Sun Apr 18 13:48:45 2010 -0400 8996 8997 Add one more missing file to tarballs 8998 8999 gi/overrides/Makefile.am | 1 + 9000 1 files changed, 1 insertions(+), 0 deletions(-) 9001 9002commit 979e01852fc7f830ee91093accdc387fa535075f 9003Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9004Date: Sun Apr 18 13:45:29 2010 -0400 9005 9006 Add missing file to tarballs 9007 9008 tests/Makefile.am | 1 + 9009 1 files changed, 1 insertions(+), 0 deletions(-) 9010 9011commit 8b70faa7a9a32b9ea8862f28a503e38f496cfd89 9012Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9013Date: Sun Apr 18 13:11:11 2010 -0400 9014 9015 Implement vfuncs. 9016 9017 https://bugzilla.gnome.org/show_bug.cgi?id=602736 9018 9019 gi/gimodule.c | 89 9020 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9021 gi/pygi-argument.c | 1 + 9022 gi/pygi-callbacks.c | 3 +- 9023 gi/pygi-closure.c | 4 +- 9024 gi/pygi-closure.h | 2 +- 9025 gi/pygi-info.c | 86 9026 ++++++++++++++++++++++++++++++++++++++++++++++++- 9027 gi/pygi-info.h | 1 + 9028 gi/types.py | 44 +++++++++++++++++-------- 9029 tests/test_gi.py | 18 ++++++++++ 9030 9 files changed, 227 insertions(+), 21 deletions(-) 9031 9032commit e239faacb4798fe2d166233ca1a19a843a6225e3 9033Author: Zach Goldberg <zach@zachgoldberg.com> 9034Date: Sun Apr 18 11:59:06 2010 -0400 9035 9036 Fix a typo in pygi-callbacks.c header 9037 9038 gi/pygi-callbacks.c | 2 +- 9039 1 files changed, 1 insertions(+), 1 deletions(-) 9040 9041commit 79aa416ae8632b123da61d79fb820d9e2704209c 9042Author: Zach Goldberg <zach@zachgoldberg.com> 9043Date: Sat Apr 17 12:00:05 2010 -0400 9044 9045 Implement nullable argument support, including tests 9046 9047 https://bugzilla.gnome.org/show_bug.cgi?id=616035 9048 9049 gi/pygi-argument.c | 43 9050 +++++++++++++++++++++++++++++++++++++------ 9051 gi/pygi-argument.h | 3 ++- 9052 gi/pygi-info.c | 19 +++++++++++++------ 9053 tests/test_everything.py | 28 ++++++++++++++++++++++++++++ 9054 4 files changed, 80 insertions(+), 13 deletions(-) 9055 9056commit 7d533b8893bc4a8a82fd9708278fa1dce5d3551e 9057Author: Zach Goldberg <zach@zachgoldberg.com> 9058Date: Sat Apr 17 12:56:19 2010 -0400 9059 9060 Move some tests from test_gi to test_everything 9061 9062 tests/test_everything.py | 60 9063 ++++++++++++++++++++++++++++++++++++++++++++ 9064 tests/test_gi.py | 62 9065 +--------------------------------------------- 9066 2 files changed, 61 insertions(+), 61 deletions(-) 9067 9068commit a90298cc9e6c0f336f887a71d80b1efd07ec2811 9069Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9070Date: Sun Apr 18 10:44:35 2010 -0400 9071 9072 Update to latest version of the pygi-convert.sh script 9073 9074 pygi-convert.sh | 193 9075 +++++++++++++++++++++++++++++++++++++++---------------- 9076 1 files changed, 137 insertions(+), 56 deletions(-) 9077 9078commit 34a39318c674737c6d64f2430456daef86ba1626 9079Author: Colin Walters <walters@verbum.org> 9080Date: Sun Apr 18 10:40:44 2010 -0400 9081 9082 Add Tomeu's prototype script for converting pygtk to pygi 9083 9084 pygi-convert.sh | 71 9085 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9086 1 files changed, 71 insertions(+), 0 deletions(-) 9087 9088commit a3afdb5fd33de0bf11d63857a245a8f5edec242c 9089Author: Olav Vitters <olav@vitters.nl> 9090Date: Sun Apr 18 13:01:58 2010 +0200 9091 9092 Fix doap file 9093 9094 pygi.doap | 4 ++++ 9095 1 files changed, 4 insertions(+), 0 deletions(-) 9096 9097commit 0de73d0bba79f92af22f43693f3575c596712416 9098Author: Zach Goldberg <zach@zachgoldberg.com> 9099Date: Sat Apr 17 16:01:31 2010 -0400 9100 9101 Add Zach Goldberg as a pygi maintainer 9102 9103 pygi.doap | 5 +++++ 9104 1 files changed, 5 insertions(+), 0 deletions(-) 9105 9106commit a0e22e36e8cf0c1e0da3c0ec48c821fdb5a07ccd 9107Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9108Date: Sat Apr 17 11:47:54 2010 -0400 9109 9110 Require PyCairo 9111 9112 configure.ac | 7 +------ 9113 1 files changed, 1 insertions(+), 6 deletions(-) 9114 9115commit 2778f8a1bf6379a46beec6546c8efcb0fec2d7ad 9116Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9117Date: Sat Apr 17 11:40:14 2010 -0400 9118 9119 Add examples/cairo-demo.py 9120 9121 examples/cairo-demo.py | 121 9122 ++++++++++++++++++++++++++++++++++++++++++++++++ 9123 1 files changed, 121 insertions(+), 0 deletions(-) 9124 9125commit 610dd1eec87fab5c8c3badb4d104cba74477c745 9126Author: Zach Goldberg <zach@zachgoldberg.com> 9127Date: Sat Apr 17 09:17:14 2010 -0400 9128 9129 Implementation callback support with scoping and basic argument 9130 support. 9131 9132 This patch was originally written by 9133 Zach Goldberg <zach@zachgoldberg.com> with modifications and 9134 review by Simon van der Linden <svdlinden@src.gnome.org> and 9135 Colin Walters <walters@verbum.org>. 9136 9137 This impementation enforces the assumption that any one function 9138 signature can only have one (callback, userdata, destronotify) tuple. 9139 This allows us to move callback creation into the actual function 9140 invoke pipeline and also to keep just one destroy notify callback 9141 around, vastly simplifying the code. 9142 9143 https://bugzilla.gnome.org/show_bug.cgi?id=603095 9144 9145 configure.ac | 2 + 9146 gi/Makefile.am | 4 + 9147 gi/pygi-argument.c | 12 ++- 9148 gi/pygi-callbacks.c | 216 9149 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9150 gi/pygi-callbacks.h | 47 +++++++++++ 9151 gi/pygi-closure.c | 205 9152 ++++++++++++++++++++++++++++++++++++++++++++++++ 9153 gi/pygi-closure.h | 57 ++++++++++++++ 9154 gi/pygi-info.c | 49 +++++++++++- 9155 gi/pygi-private.h | 2 + 9156 tests/test_gi.py | 64 +++++++++++++++- 9157 10 files changed, 648 insertions(+), 10 deletions(-) 9158 9159commit a34cb9f0038a6c89e5e6c5f7761d48a5a833044f 9160Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9161Date: Sat Apr 17 10:54:45 2010 -0400 9162 9163 Add support for foreign structs 9164 9165 https://bugzilla.gnome.org/show_bug.cgi?id=603712 9166 9167 configure.ac | 6 ++ 9168 gi/Makefile.am | 10 +++- 9169 gi/gimodule.c | 7 +++ 9170 gi/pygi-argument.c | 27 +++++++++- 9171 gi/pygi-foreign-cairo.c | 103 ++++++++++++++++++++++++++++++++++++++ 9172 gi/pygi-foreign-cairo.h | 55 ++++++++++++++++++++ 9173 gi/pygi-foreign.c | 123 9174 ++++++++++++++++++++++++++++++++++++++++++++++ 9175 gi/pygi-foreign.h | 52 +++++++++++++++++++ 9176 gi/pygi-private.h | 1 + 9177 tests/test_everything.py | 48 ++++++++++++++++++ 9178 10 files changed, 428 insertions(+), 4 deletions(-) 9179 9180commit e73b6f6fe8b5f23a2a390ae0a6bbced593ded155 9181Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9182Date: Fri Apr 16 14:35:13 2010 -0400 9183 9184 Allow creating structs with pointers 9185 9186 https://bugzilla.gnome.org/show_bug.cgi?id=603537 9187 9188 gi/pygi-struct.c | 6 ------ 9189 tests/test_gi.py | 3 ++- 9190 2 files changed, 2 insertions(+), 7 deletions(-) 9191 9192commit fc9ff02e53aacf9e77625c70985e99813544912a 9193Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9194Date: Fri Apr 16 10:40:40 2010 -0400 9195 9196 Add gdb and valgrind variants for the tests 9197 9198 HACKING | 19 +++++++++++++++++++ 9199 Makefile.am | 12 ++++++++++++ 9200 tests/Makefile.am | 14 +++++++++++++- 9201 3 files changed, 44 insertions(+), 1 deletions(-) 9202 9203commit 695ac7bc5c60371a32538d690c7a15509f3c9637 9204Author: John Stowers <john.stowers@gmail.com> 9205Date: Fri Apr 16 14:36:11 2010 +1200 9206 9207 Add build docs for windows 9208 9209 Makefile.am | 1 + 9210 README.win32 | 24 ++++++++++++++++++++++++ 9211 2 files changed, 25 insertions(+), 0 deletions(-) 9212 9213commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a 9214Author: John Stowers <john.stowers@gmail.com> 9215Date: Thu Apr 15 13:40:39 2010 +1200 9216 9217 Setup.py cosmetic tidy 9218 9219 * Remove local doc install, point to website instead 9220 * link to versioned docs 9221 9222 pygobject_postinstall.py | 43 9223 ++++++++++++++++++++++++++----------------- 9224 setup.py | 39 ++++++++++++++------------------------- 9225 2 files changed, 40 insertions(+), 42 deletions(-) 9226 9227commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959 9228Author: John Stowers <john.stowers@gmail.com> 9229Date: Sat Jul 25 14:12:30 2009 +1200 9230 9231 Fix crash when importing gio 9232 9233 Only seems to be necessary on windows, but 9234 no harm on linux as multiple calls to init 9235 are OK 9236 9237 gio/giomodule.c | 3 +++ 9238 1 files changed, 3 insertions(+), 0 deletions(-) 9239 9240commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b 9241Author: John Stowers <john.stowers@gmail.com> 9242Date: Thu Apr 15 22:52:48 2010 +1200 9243 9244 Bug 589671 - Dont use generate-constants 9245 9246 This breaks the build using distutils, and it is 9247 largely unneeded. Just add the G_XXX constants 9248 to the module directly 9249 9250 gobject/Makefile.am | 16 +-------- 9251 gobject/constants.py | 83 9252 ++++++++++++++++++++++++++++++++++++++++++ 9253 gobject/constants.py.in | 50 ------------------------- 9254 gobject/generate-constants.c | 44 ---------------------- 9255 gobject/gobjectmodule.c | 35 ++++++++++++++++++ 9256 setup.py | 2 +- 9257 tests/runtests.py | 3 +- 9258 7 files changed, 121 insertions(+), 112 deletions(-) 9259 9260commit 6d7a3ab9ce352692d0faccbf106974d264fa953d 9261Author: John Stowers <john.stowers@gmail.com> 9262Date: Thu Apr 15 22:49:17 2010 +1200 9263 9264 Bug 589671 - Fix setup.py for windows build 9265 9266 * Building pyglib as a static private library 9267 * Update to include new defs 9268 * Modernise setup.py and add more util functions 9269 to dsextras 9270 9271 dsextras.py | 32 ++++++++++++++++-- 9272 setup.py | 102 9273 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 9274 2 files changed, 116 insertions(+), 18 deletions(-) 9275 9276commit d11ef47072acae5801ce25c68d1289e425eb9fc2 9277Author: John Stowers <john.stowers@gmail.com> 9278Date: Thu Apr 15 22:48:28 2010 +1200 9279 9280 Include pygsource.h 9281 9282 glib/pygiochannel.c | 1 + 9283 1 files changed, 1 insertions(+), 0 deletions(-) 9284 9285commit c5f6af4844c74354abc508d17969d9d45153acf2 9286Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9287Date: Thu Apr 15 14:25:59 2010 -0400 9288 9289 Add metadata to the .doap file 9290 9291 pygi.doap | 3 +++ 9292 1 files changed, 3 insertions(+), 0 deletions(-) 9293 9294commit 81796cb77cbe6b9598a652bd63c047af93e747ee 9295Author: John (J5) Palmieri <johnp@redhat.com> 9296Date: Wed Apr 14 12:01:43 2010 -0400 9297 9298 override that wasn't checked in - fixes some test cases 9299 9300 gi/overrides/GIMarshallingTests.py | 69 9301 ++++++++++++++++++++++++++++++++++++ 9302 1 files changed, 69 insertions(+), 0 deletions(-) 9303 9304commit de5d2ea1584b01af809346316c7fbd4955a9db1d 9305Author: Colin Walters <walters@verbum.org> 9306Date: Wed Apr 14 10:06:07 2010 -0400 9307 9308 [Makefile.am] Clean up CFLAGS handling, don't override all: target 9309 9310 First, we should move the CFLAGS into AM_CFLAGS, otherwise the 9311 per-target CFLAGS forces Automake to prefix object files, which 9312 is unnecessary since we only have one target. 9313 9314 More importantly, avoid overriding the all: target here; that's 9315 owned by Automake. Use all-local instead to append things to 9316 the end of the normal build. 9317 9318 gi/Makefile.am | 15 +++++++++------ 9319 1 files changed, 9 insertions(+), 6 deletions(-) 9320 9321commit 5a47e96e3f580c973e6880dafa747f54c144c760 9322Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9323Date: Tue Apr 13 19:15:49 2010 -0400 9324 9325 Use GIMarshallingTests (old TestGI) in gobject-introspection 9326 9327 gi/overrides/TestGI.py | 69 -- 9328 tests/Makefile.am | 40 - 9329 tests/libtestgi.c | 2924 9330 ------------------------------------------------ 9331 tests/libtestgi.h | 628 ----------- 9332 tests/test_gi.py | 832 +++++++------- 9333 5 files changed, 416 insertions(+), 4077 deletions(-) 9334 9335commit 681832c3cd040433a488a400693b68f213bf7078 9336Author: José Alburquerque <jaalburqu@svn.gnome.org> 9337Date: Tue Apr 13 13:33:12 2010 -0400 9338 9339 codegen/docextract_to_xml.py: One more &...; replacement ( ). 9340 9341 * codegen/docextract_to_xml.py: Replace which also causes 9342 errors with a regular space. 9343 9344 codegen/docextract_to_xml.py | 1 + 9345 1 files changed, 1 insertions(+), 0 deletions(-) 9346 9347commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb 9348Author: José Alburquerque <jaalburqu@svn.gnome.org> 9349Date: Tue Apr 13 12:28:10 2010 -0400 9350 9351 codegen/docextract_to_xml.py: Replace some &..; that cause errors. 9352 9353 * codegen/docextract_to_xml.py (escape_text): Replace some &..; 9354 expressions that cause errors with more appropriate output. 9355 9356 codegen/docextract_to_xml.py | 4 ++++ 9357 1 files changed, 4 insertions(+), 0 deletions(-) 9358 9359commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e 9360Author: José Alburquerque <jaalburqu@svn.gnome.org> 9361Date: Sun Apr 11 17:46:40 2010 -0400 9362 9363 codegen/docextract_to_xml.py: Handle C++ multi-line comments. 9364 9365 * codegen/docextract_to_xml.py (escape_text): Translate '/*' 9366 and '*/' 9367 in text to '/ *' and '* /' respectively so that comment errors 9368 don't 9369 show up when the descriptions that include C++ code with C++ 9370 multi-line comments are used in Doxygen blocks. 9371 9372 codegen/docextract_to_xml.py | 9 +++++++++ 9373 1 files changed, 9 insertions(+), 0 deletions(-) 9374 9375commit a2fcdecbb5e109da5568084d7acb2332af83b6f5 9376Author: José Alburquerque <jaalburqu@svn.gnome.org> 9377Date: Sun Apr 11 16:15:01 2010 -0400 9378 9379 codegen/docextract.py: Stop final section processing on first 9380 match. 9381 9382 * codegen/docextract.py (process_final_sections): Modify the final 9383 section pattern matching for loop to stop on first match so 9384 that it 9385 doesn't match both a colon return ('Returns: ...') and a no colon 9386 return ('Returns ...') which leads to annotation extraction 9387 errors. 9388 9389 codegen/docextract.py | 4 ++++ 9390 1 files changed, 4 insertions(+), 0 deletions(-) 9391 9392commit 825fd305f03b726665edca34963978ce27448182 9393Author: José Alburquerque <jaalburqu@svn.gnome.org> 9394Date: Sun Apr 11 15:45:09 2010 -0400 9395 9396 Update doc extraction tool to handle GObjectIntrospection 9397 annotations. 9398 9399 * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc. 9400 (GtkDoc::annotations): Added a list field to store annotations 9401 which 9402 are 2-tuples of (name, value). 9403 (GtkDoc::ret): Modified field to store the return description 9404 along 9405 with a list of annotations as described above. 9406 (GtkDoc::params): Now holds a list of 3-tupples: name, 9407 description and 9408 annotations (as described above). 9409 (GtkDoc::block_type): Add a field to tell if the comment block 9410 is a 9411 function block, signal block or property block. 9412 (GtkDoc::set_type): 9413 (GtkDoc::get_type): Add methods for setting/getting the block 9414 type. 9415 (GtkDoc::add_param): Modified to also accept a list of 9416 annotations to 9417 be added with the parameter. 9418 (GtkDoc::add_annotation): 9419 (GtkDoc::get_annotations): Added methods to add/get annotations 9420 for 9421 the comment block. 9422 (GtkDoc::append_description): Renamed to append_to_description(). 9423 (GtkDoc::get_param_description): Removed unused method. 9424 (GtkDoc::get_description): Added method to get block description. 9425 (GtkDoc::add_return): Added method to add a return accepting 9426 the first 9427 line of the description and its annotations. 9428 (GtkDoc::append_return): Renamed to append_to_return(). 9429 (Regular expressions): 9430 - Made the names of the variables un-abbreviated. 9431 9432 - Added 'since', 'deprecated' and 'rename to' regular 9433 expressions. 9434 9435 - Modified the return matching regular expression so that 9436 it doesn't 9437 match descriptions that begin with 'Returns ...'. 9438 This improves 9439 the docs of many function. 9440 9441 - Added signal and property comment block identifier matching 9442 regular 9443 expressions in case those are useful. 9444 9445 - Modified existing identifier matching regular expressions 9446 (function, 9447 signal, and property regular expressions) to properly parse 9448 annotations. Also added a regular expression for extracting 9449 annotations from the parameter and return descriptions. 9450 9451 - Refined the function name matching regular expression to 9452 only accept 9453 identifiers that begin with a lowercase letter. This eliminates 9454 'SECTION:' matches. 9455 9456 - Finally, grouped commonly related expressions like 9457 return_pattern, 9458 since_pattern, etc. into groups (in lists) so that matching 9459 those 9460 sections can be done using loops. 9461 9462 (Parsing algorithm): Modified the algorithm to use a functional 9463 approach to parsing. Extra methods like skip_to_comment() and 9464 processs_params() have been added and used in the parse_file() 9465 function to now process the comment blocks. 9466 (parse_dir): Added file processing output to stderr. 9467 * codegen/docextract_to_xml.py (usage): Added function to 9468 print out 9469 the usage. 9470 (print_annotations): Added function to print the given list of 9471 annotations. 9472 (options): Added --with-signals (-i), with-properties (-p) and 9473 --with-annotation (-a) to the existing --source-dir (-s) option. 9474 9475 (algorithm): Now prints annotations, if specified. Also, prints 9476 signals and properties correctly (using names like 9477 Class::signal-one 9478 for signals and Classs:property) with xml such as <signal 9479 name="...">...</signal>. The return xml is slightly modified with 9480 annotations but this would only be exhibited if annotation xml is 9481 requested. 9482 9483 codegen/docextract.py | 439 9484 +++++++++++++++++++++++++++++++++--------- 9485 codegen/docextract_to_xml.py | 87 ++++++-- 9486 2 files changed, 414 insertions(+), 112 deletions(-) 9487 9488commit 9fef1acb42cd900d4a814a7378f60bc189121785 9489Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9490Date: Fri Apr 9 13:47:03 2010 +0200 9491 9492 Always create the .so link 9493 9494 gi/Makefile.am | 2 +- 9495 1 files changed, 1 insertions(+), 1 deletions(-) 9496 9497commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f 9498Author: Paul Bolle <pebolle@tiscali.nl> 9499Date: Thu Apr 8 11:52:25 2010 +0200 9500 9501 Docs: replace gio.IO_ERROR_* with gio.ERROR_* 9502 9503 Signed-off-by: Paul Bolle <pebolle@tiscali.nl> 9504 9505 docs/reference/pygio-file.xml | 58 9506 +++++++++++++++++----------------- 9507 docs/reference/pygio-inputstream.xml | 22 ++++++------ 9508 docs/reference/pygio-mount.xml | 10 +++--- 9509 3 files changed, 45 insertions(+), 45 deletions(-) 9510 9511commit 4cbd9941c5705970a9f7a429e236e1203d3155a1 9512Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9513Date: Mon Apr 5 18:10:42 2010 +0200 9514 9515 Bug 613341 - pygobject tests seem to require pygtk causing a circular 9516 dependencies problem 9517 9518 move tests that require pygtk to pygtk itself 9519 9520 tests/test_conversion.py | 83 ------------- 9521 tests/test_enum.py | 234 ------------------------------------- 9522 tests/test_gtype.py | 112 ------------------ 9523 tests/test_subtype.py | 289 9524 ---------------------------------------------- 9525 4 files changed, 0 insertions(+), 718 deletions(-) 9526 9527commit ef0ceb266a45715ece58642fb0042e3376416755 9528Author: Simon van der Linden <svdlinden@src.gnome.org> 9529Date: Wed Feb 3 20:33:03 2010 +0100 9530 9531 Add modelines and copyright information to overrides modules 9532 9533 gi/overrides/Gdk.py | 21 +++++++++++++++++++++ 9534 gi/overrides/Gtk.py | 21 +++++++++++++++++++++ 9535 gi/overrides/TestGI.py | 20 ++++++++++++++++++++ 9536 3 files changed, 62 insertions(+), 0 deletions(-) 9537 9538commit 5106523a4b8378997a1e6cb0488398aa73e7d9d5 9539Author: Simon van der Linden <svdlinden@src.gnome.org> 9540Date: Wed Feb 3 20:29:55 2010 +0100 9541 9542 Fix and complete overrides tests 9543 9544 Those tests were missing in the last commit 9545 9546 https://bugzilla.gnome.org/show_bug.cgi?id=602830 9547 9548 gi/overrides/TestGI.py | 49 9549 ++++++++++++++++++++++++++++++++++++++++++++++++ 9550 tests/test_gi.py | 8 ++++++- 9551 2 files changed, 56 insertions(+), 1 deletions(-) 9552 9553commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb 9554Author: Simon van der Linden <svdlinden@src.gnome.org> 9555Date: Thu Jan 21 17:30:51 2010 +0100 9556 9557 Don't raise an error in _pygi_import if pygi support is disabled 9558 9559 http://bugzilla.gnome.org/show_bug.cgi?id=607674 9560 9561 gobject/pygboxed.c | 6 +----- 9562 gobject/pygi-external.h | 1 - 9563 gobject/pygobject.c | 6 +----- 9564 gobject/pygpointer.c | 6 +----- 9565 4 files changed, 3 insertions(+), 16 deletions(-) 9566 9567commit aefac8c5f64bf059dd6652f8a843d17b34fa0854 9568Author: Simon van der Linden <svdlinden@src.gnome.org> 9569Date: Fri Jan 22 22:22:37 2010 +0100 9570 9571 Remove support for pointers to basic types as input-only argument 9572 and return value 9573 9574 There is no reason for an API to use such things, and 9575 g_function_info_invoke 9576 broke such features. 9577 9578 https://bugzilla.gnome.org/show_bug.cgi?id=607759 9579 9580 gi/pygi-argument.c | 586 ++++------------------------------------------ 9581 gi/pygi-argument.h | 1 - 9582 gi/pygi-info.c | 8 +- 9583 tests/libtestgi.c | 660 9584 ---------------------------------------------------- 9585 tests/libtestgi.h | 86 ------- 9586 tests/test_gi.py | 144 ------------ 9587 6 files changed, 47 insertions(+), 1438 deletions(-) 9588 9589commit eaf7cb8ebb7e34f9493ac83b2f04af4dcf45f40f 9590Author: Simon van der Linden <svdlinden@src.gnome.org> 9591Date: Fri Jan 22 13:41:21 2010 +0100 9592 9593 Restore the overrides support 9594 9595 Add a ModuleProxy in front of the DynamicModule when an overrides 9596 module is 9597 present. There is no need for an overrides module to be a class; 9598 it can just be a module. 9599 9600 Add an override decorator to override the wrapper of a registered 9601 type. 9602 9603 Adapt Gdk and Gtk accordingly. 9604 9605 Add tests. 9606 9607 https://bugzilla.gnome.org/show_bug.cgi?id=602830 9608 9609 gi/importer.py | 40 +++++++------------- 9610 gi/module.py | 43 ++++++++++++++------- 9611 gi/overrides/Gdk.py | 42 +++++++++++++------- 9612 gi/overrides/Gtk.py | 16 +++---- 9613 gi/types.py | 6 +++ 9614 tests/libtestgi.c | 105 9615 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9616 tests/libtestgi.h | 49 ++++++++++++++++++++++++ 9617 tests/test_gi.py | 36 +++++++++++++++++ 9618 8 files changed, 273 insertions(+), 64 deletions(-) 9619 9620commit 289d641775d1ea52d2a5379126b70b7fcee46683 9621Author: Tomeu Vizoso <tomeu@sugarlabs.org> 9622Date: Sun Jan 10 21:01:59 2010 +0100 9623 9624 Initialize PyGPollFD_Type.fd_obj to NULL 9625 9626 https://bugzilla.gnome.org/show_bug.cgi?id=606582 9627 9628 gio/gcancellable.override | 1 + 9629 1 files changed, 1 insertions(+), 0 deletions(-) 9630 9631commit b11cf2595987c1f0fc4ffd834f07c98b92aa2355 9632Author: Simon van der Linden <svdlinden@src.gnome.org> 9633Date: Fri Jan 8 21:10:28 2010 +0100 9634 9635 Initialize struct fields to 0 when allocating 9636 9637 gi/pygi-struct.c | 2 +- 9638 tests/test_gi.py | 5 +++++ 9639 2 files changed, 6 insertions(+), 1 deletions(-) 9640 9641commit b4189be2b2d3c350fdf33e27309bee5a72e4f72a 9642Author: Simon van der Linden <svdlinden@src.gnome.org> 9643Date: Fri Jan 8 20:33:44 2010 +0100 9644 9645 Don't set a default constructor for structures. 9646 9647 Update tests accordingly. 9648 9649 The reason for this change is that setting __new__ in the metaclass 9650 doesn't let 9651 one overrides it afterwards, in a subclass (in my experience, at 9652 least, even 9653 though it seems weird). 9654 9655 https://bugzilla.gnome.org/show_bug.cgi?id=603536 9656 9657 gi/types.py | 35 +++++++---------------------------- 9658 tests/libtestgi.c | 33 --------------------------------- 9659 tests/libtestgi.h | 7 ------- 9660 tests/test_gi.py | 21 ++++++++++----------- 9661 4 files changed, 17 insertions(+), 79 deletions(-) 9662 9663commit 4db68b958ea11bd2c3a88067cae03fd6bdd1d24b 9664Author: Simon van der Linden <svdlinden@src.gnome.org> 9665Date: Tue Jan 5 13:36:44 2010 +0100 9666 9667 Suppress compilation warnings 9668 9669 gi/pygi-argument.c | 3 ++- 9670 gi/pygi-boxed.c | 2 -- 9671 gi/pygobject-external.h | 2 +- 9672 3 files changed, 3 insertions(+), 4 deletions(-) 9673 9674commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd 9675Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9676Date: Mon Jan 4 08:35:14 2010 +0100 9677 9678 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc 9679 9680 Committed a patch from Kevin Pyle 9681 9682 Makefile.am | 27 +++++++++++++-------------- 9683 1 files changed, 13 insertions(+), 14 deletions(-) 9684 9685commit 8ddcbca0e98e0b0c082170a2b2b6cfcbd7864b40 9686Author: Simon van der Linden <svdlinden@src.gnome.org> 9687Date: Fri Dec 11 22:24:30 2009 +0100 9688 9689 sys.path must be modified after pygtk is imported 9690 9691 Otherwise, sys.path is overridden by pygtk and gi.repository is 9692 loaded from the 9693 system's default site-package directory. 9694 9695 tests/runtests.py | 1 - 9696 tests/test_gi.py | 3 +++ 9697 2 files changed, 3 insertions(+), 1 deletions(-) 9698 9699commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1 9700Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9701Date: Sun Jan 3 11:02:57 2010 +0100 9702 9703 Wrap gio.Cancellable.make_pollfd() and add a test 9704 9705 gio/Makefile.am | 1 + 9706 gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++ 9707 gio/gio.override | 3 +++ 9708 tests/test_gcancellable.py | 15 +++++++++++++++ 9709 4 files changed, 56 insertions(+), 0 deletions(-) 9710 9711commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56 9712Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9713Date: Sat Jan 2 23:15:56 2010 +0100 9714 9715 Make cancellable an optional parameter in many methods 9716 9717 gio/gio.defs | 102 9718 +++++++++++++++++++++++++++++----------------------------- 9719 1 files changed, 51 insertions(+), 51 deletions(-) 9720 9721commit 49a078cd22d55dc33a03ecfda235d63955edc741 9722Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9723Date: Sat Jan 2 23:15:21 2010 +0100 9724 9725 Post release version bump to 2.21.2 9726 9727 configure.ac | 2 +- 9728 1 files changed, 1 insertions(+), 1 deletions(-) 9729 9730commit 4f9f1f43ab4e2cfb204ffa0e257a34cfd95d84e2 9731Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9732Date: Sat Jan 2 22:58:36 2010 +0100 9733 9734 Update NEWS and release PyGObject-2.21.1 9735 9736 NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 9737 1 files changed, 55 insertions(+), 0 deletions(-) 9738 9739commit c1f34be73bd186d7b4682dfef133da2c4229d213 9740Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9741Date: Fri Jan 1 20:25:35 2010 +0100 9742 9743 Wrap gio.Volume.eject_with_operation() 9744 9745 gio/gvolume.override | 54 9746 ++++++++++++++++++++++++++++++++++++++++++++++++++ 9747 1 files changed, 54 insertions(+), 0 deletions(-) 9748 9749commit 9b76fbff6f6897aaf26ed4644c1f19efc2826917 9750Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9751Date: Fri Jan 1 20:22:21 2010 +0100 9752 9753 gio.Mount.unmount_with_operation() fix a copy/paste leftover 9754 9755 gio/gmount.override | 4 ++-- 9756 1 files changed, 2 insertions(+), 2 deletions(-) 9757 9758commit 6f459786dd641cd49d81eba403d940620f961cab 9759Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9760Date: Fri Jan 1 20:21:05 2010 +0100 9761 9762 Wrap gio.Mount.eject_with_operation() 9763 9764 gio/gmount.override | 54 9765 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9766 1 files changed, 54 insertions(+), 0 deletions(-) 9767 9768commit d4b5d1b4839364e5676eb2da28f1d21db7e2552d 9769Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9770Date: Fri Jan 1 20:15:38 2010 +0100 9771 9772 Wrap gio.Mount.unmount_mountable_with_operation() 9773 9774 gio/gmount.override | 54 9775 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9776 1 files changed, 54 insertions(+), 0 deletions(-) 9777 9778commit e919d47c2430451b436cec955e9b99237f97028c 9779Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9780Date: Fri Jan 1 18:22:46 2010 +0100 9781 9782 Wrap File.unmount_mountable_with_operation() 9783 9784 gio/gfile.override | 54 9785 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9786 1 files changed, 54 insertions(+), 0 deletions(-) 9787 9788commit 5a614df9c5507d67f240462f7bf71b4cd411addf 9789Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9790Date: Fri Jan 1 18:14:11 2010 +0100 9791 9792 Wrap gio.File.stop_mountable() 9793 9794 gio/gfile.override | 52 9795 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9796 1 files changed, 52 insertions(+), 0 deletions(-) 9797 9798commit 6af506647f36f2b825bc6556df5ee57fa7721906 9799Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9800Date: Fri Jan 1 18:10:49 2010 +0100 9801 9802 Wrap gio.File.start_mountable() 9803 9804 gio/gfile.override | 52 9805 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9806 1 files changed, 52 insertions(+), 0 deletions(-) 9807 9808commit e700efc839fc0b651fc9794a1611190bffa80263 9809Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9810Date: Fri Jan 1 18:02:46 2010 +0100 9811 9812 Wrap gio.File.replace_readwrite_async() 9813 9814 gio/gfile.override | 55 9815 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9816 1 files changed, 55 insertions(+), 0 deletions(-) 9817 9818commit 92662f129fc728258fd5e34f53dcb081e3715017 9819Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9820Date: Fri Jan 1 17:00:26 2010 +0100 9821 9822 Wrap gio.File.poll_mountable() 9823 9824 gio/gfile.override | 41 +++++++++++++++++++++++++++++++++++++++++ 9825 1 files changed, 41 insertions(+), 0 deletions(-) 9826 9827commit 99902b786500948c3278779841e4db54223b9256 9828Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9829Date: Fri Jan 1 16:56:26 2010 +0100 9830 9831 Wrap gio.File.open_readwrite_async() 9832 9833 gio/gfile.override | 44 ++++++++++++++++++++++++++++++++++++++++++++ 9834 1 files changed, 44 insertions(+), 0 deletions(-) 9835 9836commit 8cff5d53183ae81364ac74a34a1d52e55e082eb4 9837Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9838Date: Fri Jan 1 16:50:15 2010 +0100 9839 9840 Wrap gio.File.eject_mountable_with_operation() 9841 9842 gio/gfile.override | 54 9843 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 9844 1 files changed, 54 insertions(+), 0 deletions(-) 9845 9846commit ca436fe7785fd24b0f0e65f2f8c9fa6478277682 9847Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9848Date: Fri Jan 1 13:30:24 2010 +0100 9849 9850 Wrap gio.File.create_readwrite_async() and add a test 9851 9852 gio/gfile.override | 51 9853 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9854 tests/test_gio.py | 24 ++++++++++++++++++++++++ 9855 2 files changed, 75 insertions(+), 0 deletions(-) 9856 9857commit f72c5e451dfaeb01b3c3d9243fed2732d3620462 9858Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9859Date: Fri Jan 1 13:20:11 2010 +0100 9860 9861 Wrap gio.Drive.stop() 9862 9863 gio/gdrive.override | 52 9864 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9865 1 files changed, 52 insertions(+), 0 deletions(-) 9866 9867commit 29043bade408338cefa13fb4b0c875aabd3ef05e 9868Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9869Date: Fri Jan 1 13:00:42 2010 +0100 9870 9871 Wrap gio.Drive.start() 9872 9873 gio/gdrive.override | 52 9874 +++++++++++++++++++++++++++++++++++++++++++++++++++ 9875 1 files changed, 52 insertions(+), 0 deletions(-) 9876 9877commit dff374287bbecc8af782bbc726fad86c6c867754 9878Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9879Date: Fri Jan 1 12:45:29 2010 +0100 9880 9881 Add more remainders on missing methods of gio.Socket and related types 9882 9883 gio/gsocket.override | 3 +++ 9884 1 files changed, 3 insertions(+), 0 deletions(-) 9885 9886commit b8c7e996498bd72df551011af85ff05ef7335b4f 9887Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9888Date: Fri Jan 1 12:41:08 2010 +0100 9889 9890 Wrap gio.SocketListener.accept_socket_async|finish() and add a test 9891 9892 gio/gsocket.override | 86 9893 +++++++++++++++++++++++++++++++++++++++++++++++- 9894 tests/test_gsocket.py | 24 +++++++++++++ 9895 2 files changed, 108 insertions(+), 2 deletions(-) 9896 9897commit a5ae2d5ba3db34967fe07a3cc97b75df2793988c 9898Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9899Date: Fri Jan 1 12:28:53 2010 +0100 9900 9901 Wrap gio.SocketListener.accept_finish() and add a test 9902 9903 gio/gsocket.override | 44 ++++++++++++++++++++++++++++++++++++++++++-- 9904 tests/test_gsocket.py | 24 ++++++++++++++++++++++++ 9905 2 files changed, 66 insertions(+), 2 deletions(-) 9906 9907commit a5ab26cc1bb3e9dd57e2fdb26ef5c02e8066d097 9908Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9909Date: Fri Jan 1 11:19:34 2010 +0100 9910 9911 Wrap gio.SocketListener.accept_async() 9912 9913 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++ 9914 1 files changed, 42 insertions(+), 0 deletions(-) 9915 9916commit c9496b29ef9ef232020a4044577d2947353953a5 9917Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9918Date: Fri Jan 1 11:14:35 2010 +0100 9919 9920 Wrap gio.SocketListener.accept_socket() and add a test 9921 9922 gio/gsocket.override | 48 9923 +++++++++++++++++++++++++++++++++++++++++++++++- 9924 tests/test_gsocket.py | 13 +++++++++++++ 9925 2 files changed, 60 insertions(+), 1 deletions(-) 9926 9927commit 1aa5e301c49f11e1c5ef58de44b4b03f714d1a70 9928Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9929Date: Thu Dec 31 16:35:18 2009 +0100 9930 9931 Wrap gio.SocketListener.accept() and add a test 9932 9933 gio/gsocket.override | 46 9934 +++++++++++++++++++++++++++++++++++++++++++++- 9935 tests/test_gsocket.py | 13 +++++++++++++ 9936 2 files changed, 58 insertions(+), 1 deletions(-) 9937 9938commit aaedcf166c78baf5449ef59d0ade4a29077fedc7 9939Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9940Date: Thu Dec 31 16:25:33 2009 +0100 9941 9942 Make cancellable optional in gio.SocketClient.connect_to_host() 9943 9944 gio/gio.defs | 2 +- 9945 1 files changed, 1 insertions(+), 1 deletions(-) 9946 9947commit 3829d7667b19126fb74562b28d271e616b154c99 9948Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9949Date: Thu Dec 31 15:25:10 2009 +0100 9950 9951 Wrap gio.SocketListener.add_address() and add a test 9952 9953 gio/gsocket.override | 57 9954 ++++++++++++++++++++++++++++++++++++++++++++++++- 9955 tests/test_gsocket.py | 9 +++++++ 9956 2 files changed, 65 insertions(+), 1 deletions(-) 9957 9958commit 5bec72f34ea75bc56158cae5c39d61a2a4e7e601 9959Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9960Date: Thu Dec 31 10:19:47 2009 +0100 9961 9962 Add more remainders on missing methods of gio.Socket and related types 9963 9964 gio/gsocket.override | 8 ++++++++ 9965 1 files changed, 8 insertions(+), 0 deletions(-) 9966 9967commit b08b20f2b1a57bcbf400d6fe8e87cf052bdb719d 9968Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9969Date: Thu Dec 31 10:16:18 2009 +0100 9970 9971 Wrap gio.SocketClient.connect_to_service_async() 9972 9973 gio/gsocket.override | 47 9974 +++++++++++++++++++++++++++++++++++++++++++++++ 9975 1 files changed, 47 insertions(+), 0 deletions(-) 9976 9977commit 116ea1bfe32946e67aa54eb8dc7b977e57f254c2 9978Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9979Date: Thu Dec 31 10:10:43 2009 +0100 9980 9981 Wrap gio.SocketClient.connect_to_host_async() 9982 9983 gio/gsocket.override | 48 9984 ++++++++++++++++++++++++++++++++++++++++++++++++ 9985 1 files changed, 48 insertions(+), 0 deletions(-) 9986 9987commit 9c930910505d5b9001b8cec17ff98fadeaa799e2 9988Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9989Date: Thu Dec 31 09:59:46 2009 +0100 9990 9991 Wrap gio.SocketClient.connect_async() 9992 9993 gio/gsocket.override | 45 +++++++++++++++++++++++++++++++++++++++++++++ 9994 1 files changed, 45 insertions(+), 0 deletions(-) 9995 9996commit dff024256295c15e49888ad9d5fef74a7746edd7 9997Author: Gian Mario Tagliaretti <gianmt@gnome.org> 9998Date: Wed Dec 30 23:44:25 2009 +0100 9999 10000 Wrap gio.SocketAddressEnumerator.next_async() and add a test 10001 10002 gio/gsocket.override | 42 ++++++++++++++++++++++++++++++++++++++++++ 10003 tests/test_gsocket.py | 16 ++++++++++++++++ 10004 2 files changed, 58 insertions(+), 0 deletions(-) 10005 10006commit e2330bd0d6cbc49b0ecb27b30e3b0593935ce229 10007Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10008Date: Wed Dec 30 23:43:14 2009 +0100 10009 10010 Add a missing object gio.InetSocketAddress new in GIO 2.22 10011 10012 gio/gio-types.defs | 7 +++++++ 10013 gio/gio.defs | 31 +++++++++++++++++++++++++++++++ 10014 2 files changed, 38 insertions(+), 0 deletions(-) 10015 10016commit 6040b33467ea381c6cb02f6a5efc0745fa8fa47b 10017Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10018Date: Wed Dec 30 22:54:47 2009 +0100 10019 10020 Make cancellable optional for gio.SocketAddressEnumerator.next() 10021 10022 gio/gio.defs | 2 +- 10023 1 files changed, 1 insertions(+), 1 deletions(-) 10024 10025commit b19f59790b9de943d69b6c5e483928e0443c3d20 10026Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10027Date: Wed Dec 30 22:17:44 2009 +0100 10028 10029 Add a remainder of the Socket methods that needs manual wrapping still 10030 10031 gio/gsocket.override | 5 +++++ 10032 1 files changed, 5 insertions(+), 0 deletions(-) 10033 10034commit 771a7c3fdef7b2e98e509293a8376a81c1282286 10035Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10036Date: Wed Dec 30 17:20:35 2009 +0100 10037 10038 Wrap gio.Socket.condition_wait() and add a test 10039 10040 gio/gsocket.override | 27 +++++++++++++++++++++++++++ 10041 tests/test_gsocket.py | 6 +++++- 10042 2 files changed, 32 insertions(+), 1 deletions(-) 10043 10044commit 50960656815b0897a5ebe5f011537b8dcbdc857e 10045Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10046Date: Wed Dec 30 16:21:49 2009 +0100 10047 10048 Wrap gio.Socket.condition_check() and add a test 10049 10050 gio/Makefile.am | 1 + 10051 gio/gio.override | 1 + 10052 gio/gsocket.override | 41 +++++++++++++++++++++++++++++++++++++++++ 10053 tests/test_gsocket.py | 21 +++++++++++++++++++++ 10054 4 files changed, 64 insertions(+), 0 deletions(-) 10055 10056commit de7a359e81792ae8573ac944455ea289985449ed 10057Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10058Date: Wed Dec 30 14:07:52 2009 +0100 10059 10060 Wrap gio.Resolver.lookup_service_finish() and add a test 10061 10062 gio/gresolver.override | 37 +++++++++++++++++++++++++++++++++++++ 10063 tests/test_gresolver.py | 13 +++++++++++++ 10064 2 files changed, 50 insertions(+), 0 deletions(-) 10065 10066commit 308421789ce849040d645077c41c80b6e2e65e83 10067Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10068Date: Wed Dec 30 14:00:22 2009 +0100 10069 10070 Wrap gio.Resolver.lookup_service_async() 10071 10072 gio/gresolver.override | 48 10073 ++++++++++++++++++++++++++++++++++++++++++++++++ 10074 1 files changed, 48 insertions(+), 0 deletions(-) 10075 10076commit 9d56ce775f56fff1b1ef3c75843c0583e39f75c3 10077Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10078Date: Wed Dec 30 11:11:32 2009 +0100 10079 10080 Wrap gio.Resolver.lookup_service() and add a test 10081 10082 gio/gresolver.override | 42 ++++++++++++++++++++++++++++++++++++++++++ 10083 tests/test_gresolver.py | 5 +++++ 10084 2 files changed, 47 insertions(+), 0 deletions(-) 10085 10086commit 7fc71f490494dae73a5264869a97a9d30814930e 10087Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10088Date: Tue Dec 29 22:12:50 2009 +0100 10089 10090 Wrap gio.Resolver.lookup_by_address_async() and add a test 10091 10092 gio/gresolver.override | 46 10093 ++++++++++++++++++++++++++++++++++++++++++++++ 10094 tests/test_gresolver.py | 14 ++++++++++++++ 10095 2 files changed, 60 insertions(+), 0 deletions(-) 10096 10097commit c91656dbe56f07d3ebbad5113467c22427cf212a 10098Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10099Date: Tue Dec 29 21:41:30 2009 +0100 10100 10101 Wrap gio.Resolver.lookup_by_name_finish() and add a test 10102 10103 gio/gresolver.override | 82 10104 +++++++++++++++++++++++++++++++++++++++++++++++ 10105 tests/test_gresolver.py | 16 ++++++++- 10106 2 files changed, 96 insertions(+), 2 deletions(-) 10107 10108commit 45b477342fa1c2435917c6d97745ad57665c4734 10109Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10110Date: Tue Dec 29 17:15:44 2009 +0100 10111 10112 Wrap gio.Drive.eject_with_data() 10113 10114 gio/gdrive.override | 54 10115 +++++++++++++++++++++++++++++++++++++++++++++++++++ 10116 1 files changed, 54 insertions(+), 0 deletions(-) 10117 10118commit 635227480f9659a1f91ab1ec12536d3ed012a976 10119Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10120Date: Tue Dec 29 17:06:52 2009 +0100 10121 10122 Deprecate old gio.Drive methods 10123 10124 gio/gdrive.override | 7 ++++++- 10125 gio/gio.defs | 1 + 10126 2 files changed, 7 insertions(+), 1 deletions(-) 10127 10128commit 3c0cbc95af29b1e192ed4b5963e96e39c70b349c 10129Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10130Date: Tue Dec 29 13:51:54 2009 +0100 10131 10132 Small fix in the header 10133 10134 gio/gdrive.override | 2 +- 10135 1 files changed, 1 insertions(+), 1 deletions(-) 10136 10137commit 7589128515b79d836365247dc876538c6352da23 10138Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10139Date: Tue Dec 29 12:40:50 2009 +0100 10140 10141 Wrap gio.Resolver.lookup_by_name() and add a couple of tests 10142 10143 gio/Makefile.am | 1 + 10144 gio/gio.override | 1 + 10145 gio/gresolver.override | 57 10146 +++++++++++++++++++++++++++++++++++++++++++++++ 10147 tests/test_gresolver.py | 21 +++++++++++++++++ 10148 4 files changed, 80 insertions(+), 0 deletions(-) 10149 10150commit 604d2bf220b1fefa415baaedbdb2882dbaf9e07e 10151Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10152Date: Tue Dec 29 12:39:13 2009 +0100 10153 10154 Make cancellable an optional parameter in 10155 gio.Resolver.lookup_by_address() 10156 10157 gio/gio.defs | 2 +- 10158 1 files changed, 1 insertions(+), 1 deletions(-) 10159 10160commit 00029145f4cd10759b37b38fb9f72435bf26b28b 10161Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10162Date: Tue Dec 29 10:15:14 2009 +0100 10163 10164 Strip g_ prefix for many other functions 10165 10166 gio/gio.defs | 94 10167 +++++++++++++++++++++++++++++----------------------------- 10168 1 files changed, 47 insertions(+), 47 deletions(-) 10169 10170commit 56d5dfc4fd862e32c19f944a0feb7a00a9154f06 10171Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10172Date: Tue Dec 29 10:12:53 2009 +0100 10173 10174 Strip g_prefix from InetAddress functions 10175 10176 gio/gio.defs | 8 ++++---- 10177 1 files changed, 4 insertions(+), 4 deletions(-) 10178 10179commit 1d360301d51a587a36a59f5d62e354484bbd2b31 10180Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10181Date: Tue Dec 29 10:03:59 2009 +0100 10182 10183 Fix function name gio.resolver_get_default() 10184 10185 Strip the g_ prefix from function name 10186 10187 gio/gio.defs | 2 +- 10188 1 files changed, 1 insertions(+), 1 deletions(-) 10189 10190commit 0fe00109c4f6fc27cbaae9b0a24ecfac71355d2f 10191Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10192Date: Tue Dec 29 09:54:05 2009 +0100 10193 10194 Wrap gio.FileIOStream.query_info_async() and add a test 10195 10196 gio/Makefile.am | 1 + 10197 gio/gfileiostream.override | 68 10198 ++++++++++++++++++++++++++++++++++++++++++++ 10199 gio/gio.override | 1 + 10200 tests/test_gio.py | 18 +++++++++++ 10201 4 files changed, 88 insertions(+), 0 deletions(-) 10202 10203commit 86783c695f3641b9491962e8f95a4dcb91f4017c 10204Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10205Date: Tue Dec 29 13:08:29 2009 +0100 10206 10207 Register enums and flags in PyGI if needed 10208 10209 https://bugzilla.gnome.org/show_bug.cgi?id=603534 10210 10211 gobject/pygenum.c | 20 ++++++++++++++------ 10212 gobject/pygflags.c | 19 +++++++++++++------ 10213 2 files changed, 27 insertions(+), 12 deletions(-) 10214 10215commit b90c01cff5ff5cb2796182f2ffd7b5248eaeed6a 10216Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10217Date: Mon Dec 28 22:41:54 2009 +0100 10218 10219 Wrap GIOStream.close_async() and add a test 10220 10221 gio/Makefile.am | 1 + 10222 gio/gio.override | 1 + 10223 gio/giostream.override | 68 10224 ++++++++++++++++++++++++++++++++++++++++++++++++ 10225 tests/test_gio.py | 21 +++++++++++++++ 10226 4 files changed, 91 insertions(+), 0 deletions(-) 10227 10228commit 0bff01bcee73a0e0d18342331136119c4e8bf151 10229Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10230Date: Mon Dec 28 22:39:09 2009 +0100 10231 10232 Make cancellable an optional parameter in GFile.create_readwrite() 10233 10234 gio/gio.defs | 2 +- 10235 1 files changed, 1 insertions(+), 1 deletions(-) 10236 10237commit 1cabd733cde269ce3164834933f4a226673ecb0b 10238Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10239Date: Mon Dec 28 21:39:50 2009 +0100 10240 10241 Remove a duplicate entry in gio.defs 10242 10243 gio/gio.defs | 9 --------- 10244 1 files changed, 0 insertions(+), 9 deletions(-) 10245 10246commit 9ac372ad0bcfdec4bb1c96bc152246542a59a9b1 10247Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10248Date: Mon Dec 28 21:37:49 2009 +0100 10249 10250 Wrap gio.FileInfo.set_modification_time and add a test 10251 10252 gio/gfileinfo.override | 33 ++++++++++++++++++++++++++++++++- 10253 tests/test_gio.py | 7 ++++++- 10254 2 files changed, 38 insertions(+), 2 deletions(-) 10255 10256commit 7bc2673f92138b1804d8eba091942d14d8884f90 10257Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10258Date: Mon Dec 28 18:28:03 2009 +0100 10259 10260 Wrap gio.EmblemedIcon.get_emblems() and add a test 10261 10262 gio/gicon.override | 14 ++++++++++++++ 10263 tests/test_gicon.py | 7 +++++++ 10264 2 files changed, 21 insertions(+), 0 deletions(-) 10265 10266commit 3d5056ad766d6856d8d6459fe9b377de2f0fd172 10267Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10268Date: Sat Dec 26 22:27:48 2009 +0100 10269 10270 Update Enums and Flags with new API 10271 10272 gio/gio-types.defs | 153 10273 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 10274 1 files changed, 149 insertions(+), 4 deletions(-) 10275 10276commit 62a9d660a4a2d5fab1d57c6c96c984ff02d25ccd 10277Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10278Date: Fri Dec 25 18:06:39 2009 +0100 10279 10280 Post release version bump to 2.21.1 10281 10282 configure.ac | 2 +- 10283 1 files changed, 1 insertions(+), 1 deletions(-) 10284 10285commit 2bd92cba5b028f0f78c35ecb34e648e95248f9d3 10286Author: Bastian Winkler <buz@netbuz.org> 10287Date: Fri Aug 14 15:10:26 2009 +0200 10288 10289 Fix handling of uchar in pyg_value_from_pyobject 10290 10291 Set the value by g_value_set_uchar and allow to use integer types 10292 from python. 10293 10294 gobject/pygtype.c | 15 +++++++++++---- 10295 1 files changed, 11 insertions(+), 4 deletions(-) 10296 10297commit 828d0f042b59ea0319f33a23803c179af34ef2f1 10298Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10299Date: Tue Dec 22 18:05:47 2009 +0100 10300 10301 Add Gtk.keysyms to overrides 10302 10303 gi/overrides/Gtk.py | 2 + 10304 gi/overrides/Makefile.am | 1 + 10305 gi/overrides/keysyms.py | 1499 10306 ++++++++++++++++++++++++++++++++++++++++++++++ 10307 3 files changed, 1502 insertions(+), 0 deletions(-) 10308 10309commit 24fa1224ff00b9da177e0bfaa1e14e1b899e4976 10310Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10311Date: Wed Nov 25 10:33:56 2009 +0100 10312 10313 The array field 'length' starts to count from the C arg list, so 10314 need to decrement when it's a method 10315 10316 https://bugzilla.gnome.org/show_bug.cgi?id=602640 10317 10318 gi/pygi-argument.c | 11 ++++++++- 10319 gi/pygi-argument.h | 3 +- 10320 gi/pygi-info.c | 14 ++++++++++- 10321 tests/libtestgi.c | 60 10322 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 10323 tests/libtestgi.h | 4 +++ 10324 tests/test_gi.py | 15 +++++++++++++ 10325 6 files changed, 103 insertions(+), 4 deletions(-) 10326 10327commit 867536c6734e606d045760837ed22583da06566e 10328Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10329Date: Fri Dec 18 10:50:09 2009 +0100 10330 10331 Update NEWS and README, release pygobject 2.21.0 10332 10333 NEWS | 18 ++++++++++++++++++ 10334 README | 6 +++--- 10335 2 files changed, 21 insertions(+), 3 deletions(-) 10336 10337commit f50fbd24fa61863aaefa4ae1e12e0b314ecd43ae 10338Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10339Date: Fri Dec 18 10:31:48 2009 +0100 10340 10341 Add pygi-external.h into Makefile SOURCES 10342 10343 gobject/Makefile.am | 3 ++- 10344 1 files changed, 2 insertions(+), 1 deletions(-) 10345 10346commit 108c03b78f04b4bcfe066a6cb4d941e172bd32fe 10347Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10348Date: Fri Dec 18 01:20:34 2009 +0100 10349 10350 Bug 598435 - No wrapping for g_find_program_in_path () 10351 10352 glib/glibmodule.c | 20 ++++++++++++++++++++ 10353 1 files changed, 20 insertions(+), 0 deletions(-) 10354 10355commit d3d5cb3a4a2c2cb2bd0c2571304d59e19bc08452 10356Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10357Date: Thu Dec 17 21:54:36 2009 +0100 10358 10359 Wrap new API added in GIO-UNIX 2.22 10360 10361 gio/unix-types.defs | 22 ++++++++++ 10362 gio/unix.defs | 115 10363 ++++++++++++++++++++++++++++++++++++++++++++++++++- 10364 gio/unix.override | 8 ++++ 10365 3 files changed, 144 insertions(+), 1 deletions(-) 10366 10367commit c87c8a81947a68507e8f3bcaf8e0e969b3e5331b 10368Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10369Date: Thu Dec 17 21:52:11 2009 +0100 10370 10371 Bump required glib version to 2.22.4 10372 10373 I've committed a patch to glib which will be released in the stable 10374 branch. 10375 Without the patch the unix module will fail, so I'm forced to bump. 10376 10377 configure.ac | 6 +++--- 10378 1 files changed, 3 insertions(+), 3 deletions(-) 10379 10380commit b630c8d4b1e55938dac89729768c4a877b305215 10381Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10382Date: Thu Dec 17 02:24:45 2009 +0100 10383 10384 Properly define Connectable as interface type and not object type 10385 10386 gio/gio-types.defs | 12 ++++++------ 10387 1 files changed, 6 insertions(+), 6 deletions(-) 10388 10389commit e955b931b07113c7432f7a85f882f69f12d263ad 10390Author: Anderson Lizardo <anderson.lizardo@openbossa.org> 10391Date: Mon Nov 30 22:01:25 2009 +0100 10392 10393 Depend on GLib 2.20 rather than 2.22 10394 10395 Backport g_array_get_element_size. 10396 10397 https://bugzilla.gnome.org/show_bug.cgi?id=603411 10398 10399 configure.ac | 2 +- 10400 gi/pygi-private.h | 19 +++++++++++++++++++ 10401 2 files changed, 20 insertions(+), 1 deletions(-) 10402 10403commit 542fdf6da4ad8f2d28d0d50152bd93cb4d8ee39a 10404Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10405Date: Sat Nov 28 18:48:19 2009 +0000 10406 10407 Use the limit constants from glib and interpret G_MAXUINT32 as 10408 PyLong_FromLongLong 10409 10410 https://bugzilla.gnome.org/show_bug.cgi?id=602384 10411 10412 gi/pygi-argument.c | 14 +++++++------- 10413 tests/test_gi.py | 18 +++++++++--------- 10414 2 files changed, 16 insertions(+), 16 deletions(-) 10415 10416commit 38e89942d29f2a1dba47ab4a8d5edc84322707cd 10417Author: Simon van der Linden <svdlinden@src.gnome.org> 10418Date: Mon Nov 30 00:10:56 2009 +0100 10419 10420 Suppress warnings about format conversion 10421 10422 https://bugzilla.gnome.org/show_bug.cgi?id=603355 10423 10424 gobject/generate-constants.c | 32 ++++++++++++++++---------------- 10425 1 files changed, 16 insertions(+), 16 deletions(-) 10426 10427commit cfa7d005487e17e8f7c1ceb14282d3a5baadb736 10428Author: Simon van der Linden <svdlinden@src.gnome.org> 10429Date: Sat Nov 28 00:22:21 2009 +0100 10430 10431 Remove global checks for pointers and move them in type cases that 10432 need them 10433 10434 gi/pygi-argument.c | 516 10435 ++++++++++++++++++++++++++++++++++++++++++---------- 10436 gi/pygi-info.c | 333 +++++++++++++++++---------------- 10437 2 files changed, 596 insertions(+), 253 deletions(-) 10438 10439commit d1ae73f3cf7cebdb74c9ec56b08928a2a53b9de6 10440Author: Johan Dahlin <johan@gnome.org> 10441Date: Mon Nov 23 15:58:17 2009 -0200 10442 10443 Pythonify. Avoid ; and () around if statements 10444 10445 https://bugzilla.gnome.org/show_bug.cgi?id=602830 10446 10447 gi/types.py | 8 ++++---- 10448 1 files changed, 4 insertions(+), 4 deletions(-) 10449 10450commit a8660621679c629fc81320a8ddf5bf2c7ee1f177 10451Author: Johan Dahlin <johan@gnome.org> 10452Date: Tue Nov 24 10:36:18 2009 -0200 10453 10454 Remove trailing whitespace 10455 10456 https://bugzilla.gnome.org/show_bug.cgi?id=602830 10457 10458 gi/module.py | 4 ++-- 10459 1 files changed, 2 insertions(+), 2 deletions(-) 10460 10461commit 66c34805223af9e63c7d61f21a3dbd7505a8f256 10462Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10463Date: Mon Nov 30 10:03:34 2009 +0000 10464 10465 Set a default constructor for boxed structs that don't have one 10466 10467 https://bugzilla.gnome.org/show_bug.cgi?id=602735 10468 10469 gi/Makefile.am | 2 + 10470 gi/gimodule.c | 1 + 10471 gi/module.py | 2 +- 10472 gi/pygi-argument.c | 14 ++++- 10473 gi/pygi-boxed.c | 184 10474 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 10475 gi/pygi-boxed.h | 40 +++++++++++ 10476 gi/pygi-info.c | 2 +- 10477 gi/pygi-private.h | 1 + 10478 gi/pygi.h | 6 ++ 10479 gi/types.py | 18 ----- 10480 tests/libtestgi.c | 72 ++++++++++---------- 10481 tests/libtestgi.h | 18 +++--- 10482 tests/test_gi.py | 47 ++++++++------ 10483 13 files changed, 321 insertions(+), 86 deletions(-) 10484 10485commit e7e2fccae36c28c7e9f288fcd4c90a001140e307 10486Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10487Date: Mon Nov 30 10:53:57 2009 +0000 10488 10489 Revert "Use the limit constants from glib and interpret G_MAXUINT32 10490 as PyLong_FromLongLong" 10491 10492 This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041. 10493 10494 gi/pygi-argument.c | 14 +++++++------- 10495 tests/test_gi.py | 18 +++++++++--------- 10496 2 files changed, 16 insertions(+), 16 deletions(-) 10497 10498commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041 10499Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10500Date: Sat Nov 28 18:48:19 2009 +0000 10501 10502 Use the limit constants from glib and interpret G_MAXUINT32 as 10503 PyLong_FromLongLong 10504 10505 https://bugzilla.gnome.org/show_bug.cgi?id=602384 10506 10507 gi/pygi-argument.c | 14 +++++++------- 10508 tests/test_gi.py | 18 +++++++++--------- 10509 2 files changed, 16 insertions(+), 16 deletions(-) 10510 10511commit e24d155dd7b4a5b9c25c054137d1370c369d3192 10512Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10513Date: Sat Nov 28 18:45:54 2009 +0000 10514 10515 Add the missing limit constants from glibconfig.h 10516 10517 https://bugzilla.gnome.org/show_bug.cgi?id=603244 10518 10519 gobject/generate-constants.c | 17 ++++++++++++++++- 10520 1 files changed, 16 insertions(+), 1 deletions(-) 10521 10522commit 3a295cb7ffaaaf29c71b8833cf0ee5ec7ceaa909 10523Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10524Date: Sat Nov 28 18:48:49 2009 +0100 10525 10526 Fix bad name when rebuilding the unix source module 10527 10528 gio/Makefile.am | 2 +- 10529 1 files changed, 1 insertions(+), 1 deletions(-) 10530 10531commit a8cbb6fb72dbe6630d1265b18095c9a96f496b86 10532Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10533Date: Sat Nov 28 18:47:26 2009 +0100 10534 10535 Wrap new API added in GIO 2.22 10536 10537 gio/gio-types.defs | 138 +++ 10538 gio/gio.defs | 2444 10539 +++++++++++++++++++++++++++++++++++++++++++++++----- 10540 2 files changed, 2360 insertions(+), 222 deletions(-) 10541 10542commit 96f6c638709636d7e2ddf560b877879691da3314 10543Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10544Date: Sat Nov 28 11:03:51 2009 +0000 10545 10546 A few tests about interfaces 10547 10548 https://bugzilla.gnome.org/show_bug.cgi?id=601181 10549 10550 tests/libtestgi.c | 23 +++++++++++++++++++++++ 10551 tests/libtestgi.h | 16 ++++++++++++++++ 10552 tests/test_gi.py | 21 +++++++++++++++++++++ 10553 3 files changed, 60 insertions(+), 0 deletions(-) 10554 10555commit 076ba3156c13375a75983cef7a409c8c8afea119 10556Author: Simon van der Linden <svdlinden@src.gnome.org> 10557Date: Thu Nov 26 23:50:54 2009 +0100 10558 10559 Fix members initialization in metaclasses 10560 10561 In metaclasses, the test for the name of the class was wrong, since it 10562 prevented one to create a subclass with the same name (especially 10563 annoying for 10564 overrides). Now, if a GType is available from the info, the fact 10565 that it 10566 doesn't have any wrapper yet means that the metaclass is creating 10567 the base 10568 class, which will be registerd just after its creation. This is 10569 true for 10570 objects, and for structures registered as boxed or pointer too. 10571 10572 This patch includes a test for basic subclassing in Python. It 10573 notably tests 10574 that methods don't get overridden by the metaclass. 10575 10576 gi/types.py | 5 +++-- 10577 tests/test_gi.py | 19 +++++++++++++++++++ 10578 2 files changed, 22 insertions(+), 2 deletions(-) 10579 10580commit ac80e64c9f7d257865aa820753e52d56cf2871c8 10581Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10582Date: Fri Nov 27 12:06:59 2009 +0000 10583 10584 Structs in arrays are not marshalled correctly 10585 10586 https://bugzilla.gnome.org/show_bug.cgi?id=602709 10587 10588 gi/pygi-argument.c | 29 ++++++++++++++++++++++++----- 10589 tests/libtestgi.c | 23 ++++++++++++++++++++++- 10590 tests/libtestgi.h | 7 +++++-- 10591 tests/test_gi.py | 8 ++++++++ 10592 4 files changed, 59 insertions(+), 8 deletions(-) 10593 10594commit 4a373b8ad6ec137e911b92a3e745e0fd76541292 10595Author: Simon van der Linden <svdlinden@src.gnome.org> 10596Date: Wed Nov 25 16:53:55 2009 +0100 10597 10598 Use the right variable when looking up in sys.modules 10599 10600 gi/importer.py | 2 +- 10601 1 files changed, 1 insertions(+), 1 deletions(-) 10602 10603commit fc3dca018e85aee34ade79d104ebd8cdd1dd5968 10604Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10605Date: Tue Nov 24 15:52:47 2009 +0100 10606 10607 Accept 0 as a valid value for flag and enum arguments 10608 10609 https://bugzilla.gnome.org/show_bug.cgi?id=602638 10610 10611 gi/pygi-argument.c | 19 ++++++++++++++++++- 10612 tests/libtestgi.c | 6 ++++++ 10613 tests/libtestgi.h | 1 + 10614 tests/test_gi.py | 1 + 10615 4 files changed, 26 insertions(+), 1 deletions(-) 10616 10617commit 33081c29a1c2fdec2b8bfe17ae0a72b8db7a8d84 10618Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10619Date: Tue Nov 24 13:10:11 2009 +0100 10620 10621 Add stuff to .gitignore 10622 10623 .gitignore | 7 +++++++ 10624 1 files changed, 7 insertions(+), 0 deletions(-) 10625 10626commit 5c010fe673d9bd01c27c8d7d312064665275888c 10627Author: Simon van der Linden <svdlinden@src.gnome.org> 10628Date: Mon Nov 23 22:39:12 2009 +0100 10629 10630 Remove the girepository module 10631 10632 Makefile.am | 2 +- 10633 configure.ac | 17 - 10634 girepository/Makefile.am | 54 -- 10635 girepository/__init__.py | 24 - 10636 girepository/bank-argument.c | 379 ------------ 10637 girepository/bank-info.c | 1194 10638 ------------------------------------ 10639 girepository/bank-repository.c | 236 ------- 10640 girepository/bank.c | 155 ----- 10641 girepository/bank.h | 80 --- 10642 girepository/btypes.py | 300 --------- 10643 girepository/importer.py | 51 -- 10644 girepository/module.py | 224 ------- 10645 girepository/overrides/Gdk.py | 14 - 10646 girepository/overrides/Gtk.py | 8 - 10647 girepository/repository.py | 51 -- 10648 tests/test_girepository.py | 386 ------------ 10649 16 files changed, 1 insertions(+), 3174 deletions(-) 10650 10651commit a644edf0515c26ed027522891ccf02aceac764e8 10652Author: Johan Dahlin <johan@gnome.org> 10653Date: Mon Nov 23 15:32:16 2009 -0200 10654 10655 Create overridden modules in two passes 10656 10657 This patch splits overridden module creation into two passes. The 10658 first pass 10659 creates the auto-generated module normally before the overridden 10660 module is 10661 attempted to be imported. The second pass imports the overridden 10662 module and 10663 replaces the auto-generated module with the overridden. This is 10664 necessary 10665 for the overridden modules to be able to access the auto-generated 10666 ones. 10667 10668 gi/importer.py | 34 +++++++++++++++++++++------------- 10669 1 files changed, 21 insertions(+), 13 deletions(-) 10670 10671commit fad89e12a744b57e6348968f351d25d167de8248 10672Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10673Date: Sun Nov 22 17:56:20 2009 +0100 10674 10675 Add support for Any arguments 10676 10677 https://bugzilla.gnome.org/show_bug.cgi?id=601253 10678 10679 gi/pygi-argument.c | 20 ++++++++++++-------- 10680 tests/libtestgi.c | 5 +++++ 10681 tests/libtestgi.h | 5 +++++ 10682 tests/test_gi.py | 5 +++++ 10683 4 files changed, 27 insertions(+), 8 deletions(-) 10684 10685commit 1dc62a998dd8d2a0a397f8309011a8d79cb56034 10686Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10687Date: Sun Nov 22 17:25:04 2009 +0100 10688 10689 Register interfaces 10690 10691 https://bugzilla.gnome.org/show_bug.cgi?id=601181 10692 10693 gi/gimodule.c | 33 +++++++++++++++++++++++++++++++++ 10694 gi/types.py | 5 ++++- 10695 2 files changed, 37 insertions(+), 1 deletions(-) 10696 10697commit d67d5afb5115c1d8294415b2e1a82af2c737ba17 10698Author: Paul Pogonyshev <pogonyshev@gmx.net> 10699Date: Sun Nov 22 18:23:02 2009 +0200 10700 10701 Ignore one more file. 10702 10703 .gitignore | 1 + 10704 1 files changed, 1 insertions(+), 0 deletions(-) 10705 10706commit 408b2186aea58a41ec26b9d0ca29ecd42df5ef7e 10707Author: Paul Pogonyshev <pogonyshev@gmx.net> 10708Date: Sun Nov 22 18:22:23 2009 +0200 10709 10710 Fix wrong minimum checking in float properties 10711 10712 Bug #587637. Test the fix. 10713 10714 gobject/propertyhelper.py | 5 +++-- 10715 tests/test_properties.py | 6 ++++++ 10716 2 files changed, 9 insertions(+), 2 deletions(-) 10717 10718commit 6ccf58afcf58e118903ced0135f0fe69b00e09ad 10719Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10720Date: Mon Oct 26 18:06:06 2009 +0000 10721 10722 Treat GI_INFO_TYPE_INTERFACE same as GI_INFO_TYPE_OBJECT 10723 10724 gi/pygi-argument.c | 3 +++ 10725 1 files changed, 3 insertions(+), 0 deletions(-) 10726 10727commit e6f730d6e1431e36bd5f6b503a1038617f8d1e7d 10728Author: Simon van der Linden <svdlinden@src.gnome.org> 10729Date: Sat Nov 14 21:42:43 2009 +0100 10730 10731 Import pygtk properly to avoid failure on some setups 10732 10733 tests/test_gi.py | 3 +++ 10734 1 files changed, 3 insertions(+), 0 deletions(-) 10735 10736commit e604a89e9dc1a79687ef5fb94af7a2182be07dfb 10737Author: Alex Dedul <rotmer@gmail.com> 10738Date: Sat Nov 14 21:39:15 2009 +0100 10739 10740 Search for python-config-${VERSION} when python${VERSION}-config is 10741 not found 10742 10743 On Gentoo, notably, the config tool is named python-config-${VERSION}, 10744 while on 10745 Fedora and Ubuntu, it is named python${VERSION}-config. 10746 10747 Signed-off-by: Simon van der Linden <svdlinden@src.gnome.org> 10748 10749 configure.ac | 7 +++++-- 10750 1 files changed, 5 insertions(+), 2 deletions(-) 10751 10752commit 4a887cfabb326cb99dc65073d592c03f59e2f141 10753Author: Simon van der Linden <svdlinden@src.gnome.org> 10754Date: Sat Nov 14 21:36:19 2009 +0100 10755 10756 Fix silent rules setup 10757 10758 configure.ac | 2 +- 10759 1 files changed, 1 insertions(+), 1 deletions(-) 10760 10761commit 602afea88c338a38327cd84e08703c5daa384ec6 10762Author: Paul Pogonyshev <pogonyshev@gmx.net> 10763Date: Tue Nov 10 22:32:33 2009 +0200 10764 10765 Move threads_init() function from 'gobject' to 'glib' 10766 10767 Retain in original place for backward compatibility, but remove it 10768 from the docs. 10769 10770 docs/reference/pygobject-functions.xml | 36 10771 ++++++------------------------- 10772 glib/glibmodule.c | 16 ++++++++++++++ 10773 2 files changed, 23 insertions(+), 29 deletions(-) 10774 10775commit 734755912fff11332dc0e96317b7d6b7c4014e6a 10776Author: Simon van der Linden <svdlinden@src.gnome.org> 10777Date: Mon Nov 9 22:44:12 2009 +0100 10778 10779 Remove PyGObject patches since they've been merged to master 10780 10781 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 -------- 10782 patches/0002-Fix-girpository-build-setup.patch | 186 10783 ------------------ 10784 ...capabilities-to-import-wrappers-from-pygi.patch | 200 10785 -------------------- 10786 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 --- 10787 4 files changed, 0 insertions(+), 493 deletions(-) 10788 10789commit 6a69288941e65312fe82649ec72d2f21b2dc618f 10790Author: Simon van der Linden <svdlinden@src.gnome.org> 10791Date: Sat Nov 7 23:42:07 2009 +0100 10792 10793 Create instances by calling tp_alloc rather than PyObject_NEW 10794 10795 PyObject_NEW calls a generic allocator and should only be called by 10796 tp_new, knowing 10797 that the type's free function agrees. In pyg_boxed_new, we may 10798 allocate 10799 PyGBoxed subtypes, so the subtype's allocation function must be 10800 called instead. 10801 10802 gobject/pygboxed.c | 3 ++- 10803 1 files changed, 2 insertions(+), 1 deletions(-) 10804 10805commit 000f7c36e667c6e078e3370769ea868e56a1b4ee 10806Author: Simon van der Linden <svdlinden@src.gnome.org> 10807Date: Sat Nov 7 16:43:35 2009 +0100 10808 10809 Add capabilities to import wrappers from pygi 10810 10811 At instance creation for boxed and pointers, at lookup for objects, 10812 when the gtype has no wrapper yet, a wrapper may be imported from 10813 pygi. 10814 10815 The feature is turned on at configure time by --enable-pygi. 10816 10817 Because we couldn't create a circular build dependency, PyGI's import 10818 function and 10819 API definition had to be copied in this tree. 10820 10821 configure.ac | 8 +++++ 10822 gobject/pygboxed.c | 10 +++++++ 10823 gobject/pygi-external.h | 66 10824 +++++++++++++++++++++++++++++++++++++++++++++++ 10825 gobject/pygobject.c | 10 +++++++ 10826 gobject/pygpointer.c | 11 ++++++++ 10827 5 files changed, 105 insertions(+), 0 deletions(-) 10828 10829commit fdfbc90dbc9e305646b62d73de506b5e0e99cc91 10830Author: Simon van der Linden <svdlinden@src.gnome.org> 10831Date: Sun Nov 8 20:03:58 2009 +0100 10832 10833 Update PyGObject patches 10834 10835 A file, pygi-external.h, was missing in patch #3. 10836 10837 ...capabilities-to-import-wrappers-from-pygi.patch | 74 10838 ++++++++++++++++++-- 10839 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 2 +- 10840 2 files changed, 69 insertions(+), 7 deletions(-) 10841 10842commit 8f53ca8a72f9958711765281dd5c5bdfb7042d7d 10843Author: Tomeu Vizoso <tomeu@sugarlabs.org> 10844Date: Sun Nov 8 16:52:18 2009 +0100 10845 10846 Add myself to pygi.doap 10847 10848 pygi.doap | 5 +++++ 10849 1 files changed, 5 insertions(+), 0 deletions(-) 10850 10851commit 6f50d5102aec9288e1851f12e9d232b9c141d524 10852Author: Simon van der Linden <svdlinden@src.gnome.org> 10853Date: Sun Nov 8 15:40:51 2009 +0100 10854 10855 Add a doap file 10856 10857 pygi.doap | 17 +++++++++++++++++ 10858 1 files changed, 17 insertions(+), 0 deletions(-) 10859 10860commit ce673b9027868e6add4eeb438bc707eb40bfd046 10861Author: Simon van der Linden <svdlinden@src.gnome.org> 10862Date: Sun Nov 8 13:06:54 2009 +0100 10863 10864 Add PyGObject patches 10865 10866 ...pytype-aware-of-the-interface-enum-flags-.patch | 78 ++++++++ 10867 patches/0002-Fix-girpository-build-setup.patch | 186 10868 ++++++++++++++++++++ 10869 ...capabilities-to-import-wrappers-from-pygi.patch | 138 +++++++++++++++ 10870 ...ances-by-calling-tp_alloc-rather-than-PyO.patch | 29 +++ 10871 4 files changed, 431 insertions(+), 0 deletions(-) 10872 10873commit b24fd9633cabe1d95cde173a04e9a49833b06a26 10874Author: Simon van der Linden <svdlinden@src.gnome.org> 10875Date: Sun Nov 8 12:35:08 2009 +0100 10876 10877 Initial import 10878 10879 .gitignore | 33 + 10880 Makefile.am | 10 + 10881 autogen.sh | 159 +++ 10882 configure.ac | 53 + 10883 gi/Makefile.am | 50 + 10884 gi/__init__.py | 24 + 10885 gi/gimodule.c | 144 ++ 10886 gi/importer.py | 89 ++ 10887 gi/module.py | 167 +++ 10888 gi/overrides/Gdk.py | 21 + 10889 gi/overrides/Gtk.py | 13 + 10890 gi/overrides/Makefile.am | 10 + 10891 gi/pygi-argument.c | 1976 ++++++++++++++++++++++++++ 10892 gi/pygi-argument.h | 65 + 10893 gi/pygi-info.c | 2093 ++++++++++++++++++++++++++++ 10894 gi/pygi-info.h | 64 + 10895 gi/pygi-private.h | 55 + 10896 gi/pygi-repository.c | 238 ++++ 10897 gi/pygi-repository.h | 39 + 10898 gi/pygi-struct.c | 175 +++ 10899 gi/pygi-struct.h | 40 + 10900 gi/pygi-type.c | 96 ++ 10901 gi/pygi-type.h | 43 + 10902 gi/pygi.h | 99 ++ 10903 gi/pygobject-external.h | 83 ++ 10904 gi/repository/Makefile.am | 8 + 10905 gi/repository/__init__.py | 30 + 10906 gi/types.py | 163 +++ 10907 tests/Makefile.am | 48 + 10908 tests/libtestgi.c | 3397 10909 +++++++++++++++++++++++++++++++++++++++++++++ 10910 tests/libtestgi.h | 643 +++++++++ 10911 tests/runtests.py | 22 + 10912 tests/test_gi.py | 1416 +++++++++++++++++++ 10913 33 files changed, 11566 insertions(+), 0 deletions(-) 10914 10915commit bfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc 10916Author: Simon van der Linden <svdlinden@src.gnome.org> 10917Date: Sat Nov 7 13:23:53 2009 +0100 10918 10919 Fix girpository build setup 10920 10921 configure.ac | 21 ++++++---- 10922 girepository/Makefile.am | 13 +++--- 10923 m4/introspection.m4 | 92 10924 ++++++++++++++++++++++++++++++++++++++++++++++ 10925 3 files changed, 111 insertions(+), 15 deletions(-) 10926 10927commit 421c03b1c5b69f90c778663df901b45ca3ee8ba5 10928Author: Simon van der Linden <svdlinden@src.gnome.org> 10929Date: Fri Nov 6 19:17:36 2009 +0100 10930 10931 Make GType.pytype aware of the interface, enum, flags, pointer and 10932 boxed wrappers 10933 10934 gobject/pygtype.c | 39 +++++++++++++++++++++++++++++++++------ 10935 1 files changed, 33 insertions(+), 6 deletions(-) 10936 10937commit a9c168c58cc6a449b51653417bf3f58bdd41457c 10938Author: Philippe Normad <phil@base-art.net> 10939Date: Wed Oct 21 18:01:16 2009 +0200 10940 10941 pygmainloop: fix use of PySignal_WakeUpFD API for nested loops 10942 10943 Fixes bug #481569 10944 10945 glib/pygmainloop.c | 95 10946 +++++++++++++++++++++++++++------------------------ 10947 1 files changed, 50 insertions(+), 45 deletions(-) 10948 10949commit c6a5750379354c12e2599b3c73b4f9a23fd39114 10950Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10951Date: Fri Sep 25 20:12:21 2009 +0200 10952 10953 Post release version bump to 2.21.0 10954 10955 configure.ac | 2 +- 10956 1 files changed, 1 insertions(+), 1 deletions(-) 10957 10958commit 33920eb013628a5e22b7b32403fb965ae3210f47 10959Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10960Date: Wed Sep 23 21:52:04 2009 +0200 10961 10962 Update NEWS and release 2.20.0 10963 10964 NEWS | 6 ++++++ 10965 1 files changed, 6 insertions(+), 0 deletions(-) 10966 10967commit 66b12f7d2f54143ea80b4f8aec863b26800363d6 10968Author: Gian Mario Tagliaretti <gianmt@gnome.org> 10969Date: Wed Sep 23 21:51:43 2009 +0200 10970 10971 Bump version to 2.20.0 10972 10973 configure.ac | 2 +- 10974 1 files changed, 1 insertions(+), 1 deletions(-) 10975 10976commit 7bf87338a026ac82f908aa5fddf2bfea2daf6617 10977Author: Brian Cameron <Brian.Cameron@sun.com> 10978Date: Wed Sep 23 12:11:50 2009 -0500 10979 10980 Updated uninstalled.pc file so that it contains the right paths for 10981 defsdir files and codegen files. See bug #596023. 10982 10983 pygobject-2.0-uninstalled.pc.in | 4 ++-- 10984 1 files changed, 2 insertions(+), 2 deletions(-) 10985 10986commit d042402b7c649b2bed7f20038eb82518ec7cc9b3 10987Author: Paul Pogonyshev <pogonyshev@gmx.net> 10988Date: Tue Sep 22 22:02:27 2009 +0300 10989 10990 Plug reference leak of GSource in pyg_main_loop_init() 10991 10992 Bug #579406, second change. 10993 10994 glib/pygmainloop.c | 1 + 10995 1 files changed, 1 insertions(+), 0 deletions(-) 10996 10997commit 640be8109d066e85ed77c810830a5f73c750415b 10998Author: Frédéric Péters <fpeters@0d.be> 10999Date: Sun Aug 30 16:46:02 2009 +0200 11000 11001 Specify programming language in .devhelp file 11002 11003 This add a new language attribute (hardcoded to python) in the 11004 .devhelp 11005 file that is produced when using ref-html-style.xsl. 11006 11007 docs/xsl/devhelp.xsl | 2 +- 11008 1 files changed, 1 insertions(+), 1 deletions(-) 11009 11010commit c888b5ca722fcad6a03de585606c677c2969ebd6 11011Author: Paolo Borelli <pborelli@gnome.org> 11012Date: Thu Aug 13 21:32:07 2009 +0200 11013 11014 Allow to use automake 1.11 11015 11016 autogen.sh | 13 +++++++------ 11017 1 files changed, 7 insertions(+), 6 deletions(-) 11018 11019commit 30deaba4bd1e199aab75cb346ee9237237807fbd 11020Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11021Date: Tue Aug 11 22:19:50 2009 +0200 11022 11023 Update README 11024 11025 README | 10 ++++++++-- 11026 1 files changed, 8 insertions(+), 2 deletions(-) 11027 11028commit af165d350d0d1bb493be5140bf84376d3da1e4d8 11029Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11030Date: Tue Aug 11 22:16:52 2009 +0200 11031 11032 Update AUTHORS 11033 11034 AUTHORS | 8 +++++--- 11035 1 files changed, 5 insertions(+), 3 deletions(-) 11036 11037commit 5f9f87f276b97964b525a501d8584ea8b4d8bfd2 11038Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11039Date: Tue Aug 11 22:11:43 2009 +0200 11040 11041 Add myself and Paul as maintainers 11042 11043 MAINTAINERS | 8 ++++++++ 11044 pygobject.doap | 14 ++++++++++++++ 11045 2 files changed, 22 insertions(+), 0 deletions(-) 11046 11047commit 3bfae47fbcb5523d91fb2d1ed7ea347eeddd1775 11048Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11049Date: Tue Aug 11 20:52:44 2009 +0200 11050 11051 Update NEWS release 2.19.0 11052 11053 NEWS | 29 +++++++++++++++++++++++++++++ 11054 1 files changed, 29 insertions(+), 0 deletions(-) 11055 11056commit e82a1841f31ad54dd50569d0d45290713409e0bf 11057Author: John Finlay <finlay@moeraki.com> 11058Date: Tue Aug 11 00:04:31 2009 -0700 11059 11060 Add macros to help with Python list to/from GList/GSList conversions. 11061 11062 gobject/pygobject.h | 242 11063 ++++++++++++++++++++++++++++++++++++++++++++++++++- 11064 1 files changed, 241 insertions(+), 1 deletions(-) 11065 11066commit f1fad96da2c531fbd3218923baa4fe806a2942d4 11067Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11068Date: Sat Aug 8 21:37:54 2009 +0200 11069 11070 Bug 590063 – GFileInfo.list_attributes should accept None/NULL 11071 11072 gio/gfileinfo.override | 4 ++-- 11073 1 files changed, 2 insertions(+), 2 deletions(-) 11074 11075commit b7907cf6ff6ccf8d38b5206f09f5c864c205e5de 11076Author: Johan Dahlin <johan@gnome.org> 11077Date: Fri Jul 24 14:30:37 2009 -0300 11078 11079 Remove myself as a maintainer 11080 11081 MAINTAINERS | 4 ---- 11082 pygobject.doap | 7 ------- 11083 2 files changed, 0 insertions(+), 11 deletions(-) 11084 11085commit be6eb21320b4688bcfcd8cbea33f7be29a76f2a2 11086Author: John Finlay <finlay@moeraki.com> 11087Date: Wed Jul 8 15:47:44 2009 -0700 11088 11089 * codegen/defsgen.py (clean_patterns): Strip out Windows 11090 DLL API macros. 11091 11092 codegen/defsgen.py | 6 +++--- 11093 1 files changed, 3 insertions(+), 3 deletions(-) 11094 11095commit 2214cad3529979e29342a7e1fdc2915b90ce9c10 11096Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11097Date: Tue Jun 23 21:18:23 2009 +0200 11098 11099 Fix the gio.unix namespace in docs 11100 11101 docs/Makefile.am | 2 ++ 11102 docs/reference/pygio-classes.xml | 2 -- 11103 docs/reference/pygio-unixinputstream.xml | 26 11104 +++++++++++++------------- 11105 docs/reference/pygio-unixoutputstream.xml | 26 11106 +++++++++++++------------- 11107 docs/reference/pygiounix-classes.xml | 13 +++++++++++++ 11108 docs/reference/pygobject-ref.xml | 1 + 11109 6 files changed, 42 insertions(+), 28 deletions(-) 11110 11111commit c0acaedfe7f4e488a490e07e3184f0709e1fadc2 11112Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11113Date: Mon Jun 22 23:13:36 2009 +0200 11114 11115 Add docs for gio functions (mostly for content types) 11116 11117 docs/Makefile.am | 2 + 11118 docs/reference/pygio-classes.xml | 1 + 11119 docs/reference/pygio-functions.xml | 395 11120 ++++++++++++++++++++++++++++++++++++ 11121 3 files changed, 398 insertions(+), 0 deletions(-) 11122 11123commit ebddee47fb7f3e06f9e0a7a14b9532d5cf8a3881 11124Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11125Date: Sun Jun 21 18:35:56 2009 +0200 11126 11127 Add docs for gio.Unix[In|Out]putStream classes 11128 11129 docs/Makefile.am | 4 + 11130 docs/reference/pygio-classes.xml | 2 + 11131 docs/reference/pygio-unixinputstream.xml | 202 11132 +++++++++++++++++++++++++++++ 11133 docs/reference/pygio-unixoutputstream.xml | 202 11134 +++++++++++++++++++++++++++++ 11135 4 files changed, 410 insertions(+), 0 deletions(-) 11136 11137commit 5b71e58117c85634d95d08449eb54079b246e5be 11138Author: Paul Pogonyshev <pogonyshev@gmx.net> 11139Date: Sun Jun 21 16:50:03 2009 +0300 11140 11141 Document that many functions got moved gobject -> glib 11142 11143 docs/reference/pygobject-functions.xml | 7 +++++++ 11144 1 files changed, 7 insertions(+), 0 deletions(-) 11145 11146commit b270dc43f2cef5260b0bbc71356fd8e6a2b7f754 11147Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11148Date: Sat Jun 20 19:23:25 2009 +0200 11149 11150 Add docs for class gio.DataOutputStream 11151 11152 docs/Makefile.am | 2 + 11153 docs/reference/pygio-classes.xml | 1 + 11154 docs/reference/pygio-dataoutputstream.xml | 504 11155 +++++++++++++++++++++++++++++ 11156 3 files changed, 507 insertions(+), 0 deletions(-) 11157 11158commit 549313fc4886fa3deb31761de6f5400708165d86 11159Author: Murray Cumming <murrayc@murrayc.com> 11160Date: Thu Jun 18 18:48:37 2009 +0200 11161 11162 Allow h2def.py to work when there are tabs or multiple spaces after 11163 the struct keyword. 11164 11165 codegen/h2def.py | 8 ++++---- 11166 1 files changed, 4 insertions(+), 4 deletions(-) 11167 11168commit 5c36ef20dca8cd1793f2d3e88949675299097f40 11169Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11170Date: Mon Jun 15 23:02:34 2009 +0200 11171 11172 Add dpcs for class gio.DataInputStream 11173 11174 docs/Makefile.am | 2 + 11175 docs/reference/pygio-classes.xml | 1 + 11176 docs/reference/pygio-constants.xml | 66 +++ 11177 docs/reference/pygio-datainputstream.xml | 799 11178 ++++++++++++++++++++++++++++++ 11179 4 files changed, 868 insertions(+), 0 deletions(-) 11180 11181commit a8b36c343c6850af929c1d5a930f923831b4e637 11182Author: Theppitak Karoonboonyanan <thep@linux.thai.net> 11183Date: Mon Jun 15 23:25:01 2009 +0300 11184 11185 Fix build when builddir is not the same as srcdir 11186 11187 Bug #585817. 11188 11189 girepository/Makefile.am | 2 +- 11190 1 files changed, 1 insertions(+), 1 deletions(-) 11191 11192commit 9d9ae97b8a49836ec1f3b8d6529bafe1cc06d4d7 11193Author: Paul Pogonyshev <pogonyshev@gmx.net> 11194Date: Mon Jun 15 23:19:47 2009 +0300 11195 11196 Make gio.Emblem constructor new-style 11197 11198 Add optional 'origin' parameter. Expand gio.Emblem documentation and 11199 mark gio.emblem_new_with_origin as sort-of-deprecated. 11200 11201 docs/reference/pygio-emblem.xml | 51 11202 +++++++++++++++++++++++++++++++++++++- 11203 gio/gio.defs | 5 ++- 11204 2 files changed, 52 insertions(+), 4 deletions(-) 11205 11206commit 268e1681fd5b46e6412d3a8db84f3f1cb02fdbde 11207Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11208Date: Sat Jun 13 14:44:47 2009 +0200 11209 11210 Add docs for gio.BufferedOutputStream class 11211 11212 docs/Makefile.am | 96 +++++----- 11213 docs/reference/pygio-bufferedoutputstream.xml | 275 11214 +++++++++++++++++++++++++ 11215 docs/reference/pygio-classes.xml | 1 + 11216 3 files changed, 325 insertions(+), 47 deletions(-) 11217 11218commit a6e25aaa7c8f27d62f2917b06728d7ccfcd46416 11219Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11220Date: Sat Jun 13 14:38:34 2009 +0200 11221 11222 Fix gio.BufferedInputStream docs 11223 11224 Added the constructor reference and fixed a typo in properties header 11225 11226 docs/reference/pygio-bufferedinputstream.xml | 34 11227 ++++++++++++++++++++++++- 11228 1 files changed, 32 insertions(+), 2 deletions(-) 11229 11230commit a9b13b60a5aad726d7d7dd7fdc5153b1561fb591 11231Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11232Date: Sat Jun 13 01:25:06 2009 +0200 11233 11234 Add docs for gio.BufferedInputStream 11235 11236 docs/Makefile.am | 2 + 11237 docs/reference/pygio-bufferedinputstream.xml | 431 11238 ++++++++++++++++++++++++++ 11239 docs/reference/pygio-classes.xml | 1 + 11240 3 files changed, 434 insertions(+), 0 deletions(-) 11241 11242commit 7766daa59b0e2b85413cee368bf2ebd2afe198e1 11243Author: Paul Pogonyshev <pogonyshev@gmx.net> 11244Date: Sun May 31 18:25:47 2009 +0300 11245 11246 Cleanup GIO overrides to use Python function/method names 11247 11248 Also move several gio.Mount overrides over from 'gio.override' to 11249 existing 'gmount.override'. Part of bug #584289. 11250 11251 gio/gfile.override | 20 ++-- 11252 gio/gfileenumerator.override | 6 +- 11253 gio/ginputstream.override | 2 +- 11254 gio/gio.override | 204 11255 ------------------------------------------ 11256 gio/gmount.override | 204 11257 ++++++++++++++++++++++++++++++++++++++++++ 11258 5 files changed, 218 insertions(+), 218 deletions(-) 11259 11260commit 07e9c18dc092f6546230168b6b69c1b3454e120a 11261Author: Paul Pogonyshev <pogonyshev@gmx.net> 11262Date: Sun May 31 18:56:55 2009 +0300 11263 11264 Make codegen report errors using Python function/method names 11265 11266 Part of bug #584289. 11267 11268 codegen/codegen.py | 9 +++++---- 11269 codegen/definitions.py | 10 +++++++++- 11270 2 files changed, 14 insertions(+), 5 deletions(-) 11271 11272commit 235fde85d015382f2ba38b21968e82b3ac0b6612 11273Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11274Date: Fri Jun 12 00:12:17 2009 +0200 11275 11276 Fix object type in gio.BufferedInputStream_fill_async 11277 11278 gio/gbufferedinputstream.override | 2 +- 11279 1 files changed, 1 insertions(+), 1 deletions(-) 11280 11281commit 407b0e909056f15960e6a4e549896d786ce0a0b2 11282Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11283Date: Tue Jun 9 00:08:21 2009 +0200 11284 11285 Wrap gio.BufferedInputStream.fill_async 11286 11287 Wrap the method gio.BufferedInputStream.fill_async and add a test 11288 11289 gio/Makefile.am | 1 + 11290 gio/gbufferedinputstream.override | 70 11291 +++++++++++++++++++++++++++++++++++++ 11292 gio/gio.override | 1 + 11293 tests/test_gio.py | 25 +++++++++++++ 11294 4 files changed, 97 insertions(+), 0 deletions(-) 11295 11296commit b7c96b41b287685fe57504e0add3a6f16e649975 11297Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11298Date: Mon Jun 8 15:42:40 2009 +0200 11299 11300 Add gio.BufferedOutputStream which was forgotten in the types 11301 definition 11302 11303 gio/gio-types.defs | 7 +++++++ 11304 1 files changed, 7 insertions(+), 0 deletions(-) 11305 11306commit 3666f75af4ef2c8e038116aee5afada59d59f689 11307Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11308Date: Mon Jun 8 14:20:02 2009 +0200 11309 11310 Add docs for gio.MemoryOutputStream 11311 11312 docs/Makefile.am | 2 + 11313 docs/reference/pygio-classes.xml | 1 + 11314 docs/reference/pygio-memoryoutputstream.xml | 175 11315 +++++++++++++++++++++++++++ 11316 3 files changed, 178 insertions(+), 0 deletions(-) 11317 11318commit 6eb5e3988cbddb4afb3d5747364d6eb80370bb78 11319Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11320Date: Mon Jun 8 13:30:15 2009 +0200 11321 11322 Split overrides for gio.MemoryOutputStream 11323 11324 gio/Makefile.am | 1 + 11325 gio/gio.override | 1 + 11326 gio/gmemoryoutputstream.override | 45 11327 ++++++++++++++++++++++++++++++++++++++ 11328 gio/goutputstream.override | 24 -------------------- 11329 4 files changed, 47 insertions(+), 24 deletions(-) 11330 11331commit dfbdf23633a772e78b47b0e7b0c3e3b87855d9ff 11332Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11333Date: Mon Jun 8 11:45:11 2009 +0200 11334 11335 Wrap gio.memory_input_stream_new_from_data 11336 11337 Add the wrapper for gio.memory_input_stream_new_from_data including 11338 docs and a test. 11339 11340 docs/Makefile.am | 4 +- 11341 docs/reference/pygio-classes.xml | 1 + 11342 docs/reference/pygio-memoryinputstream.xml | 151 11343 ++++++++++++++++++++++++++++ 11344 gio/Makefile.am | 1 + 11345 gio/ginputstream.override | 34 ------ 11346 gio/gio.override | 1 + 11347 gio/gmemoryinputstream.override | 91 +++++++++++++++++ 11348 tests/test_gio.py | 4 + 11349 8 files changed, 252 insertions(+), 35 deletions(-) 11350 11351commit fcc3cb0e167789746a1a9db0cba54ea7a97c7259 11352Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11353Date: Mon Jun 8 19:15:24 2009 +0200 11354 11355 Fixes whitespaces style issues with girepository. 11356 11357 girepository/Makefile.am | 2 +- 11358 girepository/bank-repository.c | 67 11359 +++++++++++++++++++-------------------- 11360 girepository/bank.h | 2 +- 11361 girepository/btypes.py | 6 ++-- 11362 girepository/module.py | 2 +- 11363 5 files changed, 39 insertions(+), 40 deletions(-) 11364 11365commit fb4b2c8cdad2853e6bfe9526529e3a3ab052c5e0 11366Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11367Date: Fri Jun 5 19:03:59 2009 +0200 11368 11369 Removes the header but the modeline in test_girepository.py. 11370 11371 tests/test_girepository.py | 26 +------------------------- 11372 1 files changed, 1 insertions(+), 25 deletions(-) 11373 11374commit abe4828f52c7eb3a08f5b592e7ced1e97a58ef5c 11375Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11376Date: Wed Jun 3 10:47:58 2009 +0200 11377 11378 Adds overrides modules from PyBank. 11379 11380 girepository/Makefile.am | 3 +++ 11381 girepository/importer.py | 3 +-- 11382 girepository/overrides/Gdk.py | 14 ++++++++++++++ 11383 girepository/overrides/Gtk.py | 8 ++++++++ 11384 4 files changed, 26 insertions(+), 2 deletions(-) 11385 11386commit c12964e6a3354d8063355225c94e6d21d621e08b 11387Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11388Date: Tue Jun 2 23:40:41 2009 +0200 11389 11390 Disables the tests that fail in tests/test_girepository.py. 11391 11392 tests/test_girepository.py | 242 11393 +++++++++++++++++++++++++++++++++----------- 11394 1 files changed, 182 insertions(+), 60 deletions(-) 11395 11396commit a4469a3f7d32a25156bae5e7aef9ec4ae5f6e140 11397Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11398Date: Tue Jun 2 23:03:26 2009 +0200 11399 11400 Imports test_girepository.py from former PyBank's 11401 everything_unittest.py. 11402 11403 tests/test_girepository.py | 288 11404 ++++++++++++++++++++++++++++++++++++++++++++ 11405 1 files changed, 288 insertions(+), 0 deletions(-) 11406 11407commit e4f2a5ef8734cf40cf8345d442612db1f6c62d5a 11408Author: Simon van der Linden <simon.vanderlinden@student.uclouvain.be> 11409Date: Thu May 28 17:45:11 2009 +0200 11410 11411 Introduces the girepository module from the former PyBank. 11412 11413 INSTALL | 69 ++- 11414 Makefile.am | 2 +- 11415 configure.ac | 12 + 11416 girepository/Makefile.am | 52 ++ 11417 girepository/__init__.py | 24 + 11418 girepository/bank-argument.c | 379 +++++++++++++ 11419 girepository/bank-info.c | 1194 11420 ++++++++++++++++++++++++++++++++++++++++ 11421 girepository/bank-repository.c | 237 ++++++++ 11422 girepository/bank.c | 155 ++++++ 11423 girepository/bank.h | 80 +++ 11424 girepository/btypes.py | 300 ++++++++++ 11425 girepository/importer.py | 52 ++ 11426 girepository/module.py | 224 ++++++++ 11427 girepository/repository.py | 51 ++ 11428 14 files changed, 2799 insertions(+), 32 deletions(-) 11429 11430commit f5ab5046fe9b67ec5e8fc64679e1a3d01787af7e 11431Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11432Date: Tue Jun 2 18:28:22 2009 +0200 11433 11434 Fix the docs for gio.FilterOutputStream 11435 11436 docs/reference/pygio-filteroutputstream.xml | 6 +++--- 11437 1 files changed, 3 insertions(+), 3 deletions(-) 11438 11439commit fded60d8376fc45d19bf6cd8be6b927cc3f2e8c6 11440Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11441Date: Tue Jun 2 18:27:00 2009 +0200 11442 11443 Add gio.FilterOutputStream docs 11444 11445 docs/Makefile.am | 2 + 11446 docs/reference/pygio-classes.xml | 1 + 11447 docs/reference/pygio-filteroutputstream.xml | 152 11448 +++++++++++++++++++++++++++ 11449 3 files changed, 155 insertions(+), 0 deletions(-) 11450 11451commit e2c31f916967229b6547e68013628ce0082cf875 11452Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11453Date: Tue Jun 2 13:29:59 2009 +0200 11454 11455 Add gio.FilterInputStream docs 11456 11457 docs/Makefile.am | 2 + 11458 docs/reference/pygio-classes.xml | 1 + 11459 docs/reference/pygio-filterinputstream.xml | 152 11460 ++++++++++++++++++++++++++++ 11461 3 files changed, 155 insertions(+), 0 deletions(-) 11462 11463commit 49a467eee445bc75554db0374006722ac075194b 11464Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11465Date: Tue Jun 2 11:33:20 2009 +0200 11466 11467 Add API appeared in 2.20 but not marked as such in gio docs 11468 11469 gio/gio.defs | 30 ++++++++++++++++++++++++++++++ 11470 1 files changed, 30 insertions(+), 0 deletions(-) 11471 11472commit 180c157f2a20b7d2dd9af05bfb5f515fd23870a0 11473Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11474Date: Tue Jun 2 10:41:26 2009 +0200 11475 11476 Wrap gio.FileOutputStream.query_info_async 11477 11478 Add the wrapper for gio.FileOutputStream.query_info_async 11479 including docs and a test. 11480 11481 docs/Makefile.am | 2 + 11482 docs/reference/pygio-classes.xml | 1 + 11483 docs/reference/pygio-fileoutputstream.xml | 257 11484 +++++++++++++++++++++++++++++ 11485 gio/Makefile.am | 3 +- 11486 gio/gfileoutputstream.override | 68 ++++++++ 11487 gio/gio.override | 1 + 11488 tests/test_gio.py | 27 +++ 11489 7 files changed, 358 insertions(+), 1 deletions(-) 11490 11491commit 4673577d1f6c3d54423808dd575987092fb05ad2 11492Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11493Date: Tue Jun 2 10:17:41 2009 +0200 11494 11495 Fix gio.FileInputStream docs 11496 11497 Add implemented interface section and remove a method description 11498 11499 docs/reference/pygio-fileinputstream.xml | 25 +++++++++---------------- 11500 1 files changed, 9 insertions(+), 16 deletions(-) 11501 11502commit 1e1cad02879d514745b5233658654cbe944530a5 11503Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11504Date: Mon Jun 1 22:54:26 2009 +0200 11505 11506 Fix the method name 11507 11508 gio/gfileinputstream.override | 14 +++++++------- 11509 1 files changed, 7 insertions(+), 7 deletions(-) 11510 11511commit f605811afe8c91f121e89b6f9ec28c70b62f4110 11512Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11513Date: Mon Jun 1 22:40:56 2009 +0200 11514 11515 Wrap gio.FileInputStream.query_async 11516 11517 Add the wrapper for gio.FileInputStream.query_async including docs and 11518 a test. 11519 11520 docs/Makefile.am | 2 + 11521 docs/reference/pygio-classes.xml | 1 + 11522 docs/reference/pygio-fileinputstream.xml | 221 11523 ++++++++++++++++++++++++++++++ 11524 gio/Makefile.am | 1 + 11525 gio/gfileinputstream.override | 68 +++++++++ 11526 gio/gio.override | 1 + 11527 tests/test_gio.py | 27 ++++ 11528 7 files changed, 321 insertions(+), 0 deletions(-) 11529 11530commit 08623e54a426377c1504b5c364aabae5a17f8ad8 11531Author: Paul Pogonyshev <pogonyshev@gmx.net> 11532Date: Sun May 31 17:43:16 2009 +0300 11533 11534 Install executable codegen parts with executing permissions 11535 11536 Also add shebang where it was missing. Bug #583979. 11537 11538 codegen/Makefile.am | 23 ++++++++++++----------- 11539 codegen/code-coverage.py | 2 ++ 11540 codegen/codegen.py | 2 ++ 11541 codegen/defsconvert.py | 2 ++ 11542 4 files changed, 18 insertions(+), 11 deletions(-) 11543 11544commit 833d4da202bcfcb01a414f8aec4b751ec8e1ccb2 11545Author: Paul Pogonyshev <pogonyshev@gmx.net> 11546Date: Sat May 30 16:57:49 2009 +0300 11547 11548 Wrap gio.DataInputStream.read_line_async and read_until_async 11549 11550 Wrap the functions and their corresponding *_finish() functions. 11551 Create 'gdatainputstream.override' for these and move two existing 11552 functions there. Add unit tests. Re-enable synchronous read_line 11553 unit test and adjust it for new official GIO behavior. Bug #584285. 11554 11555 gio/Makefile.am | 1 + 11556 gio/gdatainputstream.override | 250 11557 +++++++++++++++++++++++++++++++++++++++++ 11558 gio/ginputstream.override | 65 ----------- 11559 gio/gio.defs | 4 +- 11560 gio/gio.override | 1 + 11561 tests/test_gio.py | 51 ++++++++- 11562 6 files changed, 300 insertions(+), 72 deletions(-) 11563 11564commit 2cb569c0ced49f9ed5ca83292d5f15c837066688 11565Author: Paul Pogonyshev <pogonyshev@gmx.net> 11566Date: Sat May 30 17:24:15 2009 +0300 11567 11568 Fix gio.OutputStream.splice_async 11569 11570 Bug #584290. 11571 11572 gio/goutputstream.override | 8 ++++---- 11573 1 files changed, 4 insertions(+), 4 deletions(-) 11574 11575commit e43fa429f6b4019a432acb481bbc07c8201cc46d 11576Author: Paul Pogonyshev <pogonyshev@gmx.net> 11577Date: Wed May 27 21:19:27 2009 +0300 11578 11579 Code maintenance: ignore one more file created by unit tests 11580 11581 tests/.gitignore | 1 + 11582 1 files changed, 1 insertions(+), 0 deletions(-) 11583 11584commit 76e9dc74ac706a9207f9d31f887d6e38df2a678f 11585Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11586Date: Mon May 25 20:20:38 2009 +0200 11587 11588 Update the docs with new 2.20 API 11589 11590 docs/reference/pygio-appinfo.xml | 115 ++++++++++++++++++++++++++++ 11591 docs/reference/pygio-icon.xml | 99 +++++++++++++++++++++++- 11592 docs/reference/pygio-mount.xml | 156 11593 ++++++++++++++++++++++++++++++++++++++ 11594 3 files changed, 367 insertions(+), 3 deletions(-) 11595 11596commit 8e40d71ac23deb7d91789486ee8cad440a6be1dd 11597Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11598Date: Mon May 25 01:33:08 2009 +0200 11599 11600 Add gio 2.20 API 11601 11602 add the new API added in gio 2.20, some needs to be wrapped manually 11603 11604 gio/gio.defs | 106 11605 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 11606 gio/unix.defs | 48 +++++++++++++++++++++---- 11607 2 files changed, 146 insertions(+), 8 deletions(-) 11608 11609commit 0d08df42514fba6abc896814abfee0d2d083c29e 11610Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11611Date: Mon May 25 00:14:21 2009 +0200 11612 11613 Post release version bump 2.19.0 11614 11615 configure.ac | 2 +- 11616 1 files changed, 1 insertions(+), 1 deletions(-) 11617 11618commit edfb09e3de7baf294b3beba84b4ecb94e1f16764 11619Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11620Date: Sun May 24 23:56:29 2009 +0200 11621 11622 Update NEWS, release 2.18.0 11623 11624 NEWS | 14 ++++++++++++++ 11625 configure.ac | 4 ++-- 11626 2 files changed, 16 insertions(+), 2 deletions(-) 11627 11628commit e0648ea435e0b309cdd5bb0ebe56d4534efd26e4 11629Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11630Date: Sun May 24 22:18:40 2009 +0200 11631 11632 Add documentation for the gio.OutputStream class 11633 11634 The docs for this class are not completed, missing methods 11635 descriptions. 11636 The index is complete though, it will be completed once all the 11637 classes 11638 are in place so we can ship a (almost) complete reference. 11639 11640 docs/Makefile.am | 2 + 11641 docs/reference/pygio-classes.xml | 3 +- 11642 docs/reference/pygio-outputstream.xml | 140 11643 +++++++++++++++++++++++++++++++++ 11644 3 files changed, 144 insertions(+), 1 deletions(-) 11645 11646commit 11524cdf6472d9115a812ce431f6767aec5627bc 11647Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11648Date: Sun May 24 22:12:04 2009 +0200 11649 11650 Wrap gio.OutputStream.splice_async() 11651 11652 wrap gio.OutputStream.splice_async() and add a test. 11653 11654 gio/goutputstream.override | 58 11655 +++++++++++++++++++++++++++++++++++++++++++- 11656 tests/test_gio.py | 20 +++++++++++++++ 11657 2 files changed, 77 insertions(+), 1 deletions(-) 11658 11659commit 82ad6b8c8ea4d6694126f5e0e67b826717e38f19 11660Author: Emilio Pozuelo Monfort <pochu@ubuntu.com> 11661Date: Sun May 24 22:55:16 2009 +0300 11662 11663 Add Python version into installed libpyglib name 11664 11665 Do this now, while no-one (as far as we know) links to the library 11666 besides PyGObject itself. Bug #550235. 11667 11668 configure.ac | 2 ++ 11669 gio/Makefile.am | 2 +- 11670 glib/Makefile.am | 10 +++++----- 11671 gobject/Makefile.am | 2 +- 11672 4 files changed, 9 insertions(+), 7 deletions(-) 11673 11674commit 59da8cd24ea390b6c983995833ec6b0e5d028b35 11675Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11676Date: Sun May 24 11:44:24 2009 +0200 11677 11678 Wrap gio.OutputStream.flush_async() 11679 11680 wrap gio.OutputStream.flush_async() and add a test. 11681 11682 gio/goutputstream.override | 47 11683 +++++++++++++++++++++++++++++++++++++++++++- 11684 tests/test_gio.py | 11 ++++++++++ 11685 2 files changed, 57 insertions(+), 1 deletions(-) 11686 11687commit 84ab6178ed0033f69932df5bc73c86bdff80c953 11688Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11689Date: Sun May 17 17:29:37 2009 +0200 11690 11691 Add documentation for the gio.FileMonitor class 11692 11693 The docs for this class are not completed, missing methods 11694 descriptions. 11695 The index is complete though, it will be completed once all the 11696 classes 11697 are in place so we can ship a (almost) complete reference. 11698 11699 docs/Makefile.am | 2 + 11700 docs/reference/pygio-classes.xml | 1 + 11701 docs/reference/pygio-filemonitor.xml | 128 11702 ++++++++++++++++++++++++++++++++++ 11703 3 files changed, 131 insertions(+), 0 deletions(-) 11704 11705commit 629496a5617d30e4dfa494b05a62c85a6af77b9a 11706Author: Josselin Mouette <joss@malsain.org> 11707Date: Sun May 17 18:03:44 2009 +0300 11708 11709 Use 'Requires.private' for libffi in '.pc' files 11710 11711 Correction for patch in bug #550231. 11712 11713 pygobject-2.0-uninstalled.pc.in | 3 ++- 11714 pygobject-2.0.pc.in | 3 ++- 11715 2 files changed, 4 insertions(+), 2 deletions(-) 11716 11717commit 90cd8b7c4a25cd2ecb751f8337b401c98538272b 11718Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11719Date: Wed May 13 21:54:39 2009 +0200 11720 11721 Add wrapper for gio.FileAttributeMatcher 11722 11723 added a boxed type for gio.FileAttributeMatcher which has been 11724 forgotten while 11725 wrapping the gio API. This should probably be done in gio itself. 11726 11727 gio/gfileinfo.override | 24 ++++++++++++++++++++++-- 11728 gio/gio-types.defs | 7 +++++++ 11729 gio/gio.override | 2 ++ 11730 3 files changed, 31 insertions(+), 2 deletions(-) 11731 11732commit e707447d9313f2f2ecba395cfe3682d5a5e859f4 11733Author: Paul Pogonyshev <pogonyshev@gmx.net> 11734Date: Wed May 13 22:06:25 2009 +0300 11735 11736 Mark relevant glib.IOChannel methods as METH_NOARGS 11737 11738 Additionally fix glib.IOChannel.set_close_on_unref: was marked 11739 METH_NOARGS but actually accepted arguments. Fixes bug #582427. 11740 11741 glib/pygiochannel.c | 83 11742 ++++++++++++-------------------------------------- 11743 1 files changed, 20 insertions(+), 63 deletions(-) 11744 11745commit 002915e5f458fec5a89766a54e8119a70a80caa7 11746Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11747Date: Tue May 12 20:37:24 2009 +0200 11748 11749 Add documentation for the gio.FileInfo class 11750 11751 The docs for this class are not completed, missing methods 11752 descriptions. 11753 The index is complete though, it will be completed once all the 11754 classes 11755 are in place so we can ship a (almost) complete reference. 11756 11757 docs/Makefile.am | 2 + 11758 docs/reference/pygio-classes.xml | 1 + 11759 docs/reference/pygio-fileinfo.xml | 346 11760 +++++++++++++++++++++++++++++++++++++ 11761 3 files changed, 349 insertions(+), 0 deletions(-) 11762 11763commit 8cd25c871609580425c6c4c9e5bc6ec8d40862a1 11764Author: Paul Pogonyshev <pogonyshev@gmx.net> 11765Date: Sat May 9 16:46:04 2009 +0300 11766 11767 Retire hand-written ChangeLog; autocreate from Git history 11768 11769 Basically copied over from GLib source tree. 11770 11771 ChangeLog | 3606 11772 --------------------------------------------------- 11773 ChangeLog.pre-2.18 | 3608 11774 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 11775 Makefile.am | 32 + 11776 3 files changed, 3640 insertions(+), 3606 deletions(-) 11777 11778commit 23556bdbcf9cf06db866901fb822dd78a9043648 11779Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11780Date: Sat May 9 00:03:05 2009 +0200 11781 11782 Fix a bug in InputStream.skip_async 11783 11784 use the count argument instead of buffer_size which is always zero 11785 11786 gio/ginputstream.override | 3 ++- 11787 1 files changed, 2 insertions(+), 1 deletions(-) 11788 11789commit ed6b06315c17441b41c001d38537c904b8fe18de 11790Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11791Date: Sat May 9 00:02:33 2009 +0200 11792 11793 Add docs for the gio.InputStream class 11794 11795 docs/Makefile.am | 2 + 11796 docs/reference/pygio-classes.xml | 1 + 11797 docs/reference/pygio-inputstream.xml | 730 11798 ++++++++++++++++++++++++++++++++++ 11799 3 files changed, 733 insertions(+), 0 deletions(-) 11800 11801commit d58322b84d47da7905f95b43e9e0daf9f7c4b507 11802Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11803Date: Mon May 4 23:40:28 2009 +0200 11804 11805 Wrap gio.InputStream.skip_async() 11806 11807 wrap gio.InputStream.skip_async() and add a test. 11808 11809 gio/ginputstream.override | 50 11810 ++++++++++++++++++++++++++++++++++++++++++++- 11811 tests/test_gio.py | 20 ++++++++++++++++++ 11812 2 files changed, 69 insertions(+), 1 deletions(-) 11813 11814commit 2311187824d1b48a996ee2620fd3c9a63e3edd66 11815Author: Siavash Safi <siavash@siavashs.org> 11816Date: Mon May 4 15:46:49 2009 +0430 11817 11818 Add -n --namespace option and the code to remove 11819 dll API in headers, Added documentation 11820 11821 Patch from bug #579275 11822 11823 ChangeLog | 8 +++ 11824 codegen/h2def.py | 133 11825 ++++++++++++++++++++++++++++++++++++++++++++---------- 11826 2 files changed, 117 insertions(+), 24 deletions(-) 11827 11828commit 442ec5bb997bb7dab55baeea6e54e79d3ce0d3c1 11829Author: Paul Pogonyshev <pogonyshev@gmx.net> 11830Date: Sat May 2 23:54:52 2009 +0300 11831 11832 Properly mark glib.get_user_special_dir() as a keywords method 11833 11834 Fixes bug #581082. 11835 11836 glib/glibmodule.c | 2 +- 11837 1 files changed, 1 insertions(+), 1 deletions(-) 11838 11839commit f466dca880cc6ea68b9fe236943eea7a07d33520 11840Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11841Date: Sun May 3 11:03:25 2009 +0200 11842 11843 Add docs for the gio.LoadableIcon class 11844 11845 docs/Makefile.am | 2 + 11846 docs/reference/pygio-classes.xml | 1 + 11847 docs/reference/pygio-loadableicon.xml | 198 11848 +++++++++++++++++++++++++++++++++ 11849 3 files changed, 201 insertions(+), 0 deletions(-) 11850 11851commit eab4ebf7f6c82580b61205f34e1cfe535aeada60 11852Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11853Date: Sun May 3 01:21:55 2009 +0200 11854 11855 Add docs for the gio.ThemedIcon class 11856 11857 docs/Makefile.am | 2 + 11858 docs/reference/pygio-classes.xml | 1 + 11859 docs/reference/pygio-themedicon.xml | 204 11860 +++++++++++++++++++++++++++++++++++ 11861 3 files changed, 207 insertions(+), 0 deletions(-) 11862 11863commit 22d7de8b620055f14b30f9c3c99160c8b4ebe672 11864Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11865Date: Sat May 2 12:25:19 2009 +0200 11866 11867 post release version bump to 2.17.1 11868 11869 configure.ac | 2 +- 11870 1 files changed, 1 insertions(+), 1 deletions(-) 11871 11872commit 282ac3c76e1e3513bd76f819f320ec56aba15d9e 11873Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11874Date: Fri May 1 23:40:31 2009 +0200 11875 11876 Fix the class title 11877 11878 docs/reference/pygio-mountoperation.xml | 2 +- 11879 1 files changed, 1 insertions(+), 1 deletions(-) 11880 11881commit d8b70dec1e5c09b73ae277f4f5b246315841fb8e 11882Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11883Date: Fri May 1 22:24:33 2009 +0200 11884 11885 Add docs for the gio.MountOperation class 11886 11887 docs/Makefile.am | 2 + 11888 docs/reference/pygio-classes.xml | 1 + 11889 docs/reference/pygio-constants.xml | 107 +++++ 11890 docs/reference/pygio-mountoperation.xml | 726 11891 +++++++++++++++++++++++++++++++ 11892 4 files changed, 836 insertions(+), 0 deletions(-) 11893 11894commit fceea8e843e880f0469e454df23141e7dd2bc0cf 11895Author: Gian Mario Tagliaretti <gianmt@gnome.org> 11896Date: Thu Apr 30 22:13:06 2009 +0200 11897 11898 Update NEWS, release 2.17.0 11899 11900 NEWS | 93 11901 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 11902 1 files changed, 93 insertions(+), 0 deletions(-) 11903 11904commit 47389217d1a65a8e3f404d486c508cf5d3164756 11905Author: Paul Pogonyshev <pogonyshev@gmx.net> 11906Date: Thu Apr 30 22:47:19 2009 +0300 11907 11908 Fix memory leak in gio.File.query_info_async() 11909 11910 After the recent patch it would leak exception data if old argument 11911 order was used. Properly decref the objects. 11912 11913 gio/gfile.override | 4 ++++ 11914 1 files changed, 4 insertions(+), 0 deletions(-) 11915