commit e0fe844d5fe8f7e26316f197444fd4143ed36adf Author: Tomeu Vizoso Date: Thu Jun 10 20:09:07 2010 +0200 Remove deleted files from the Makefile. test_conversion.py test_enum.py test_gtype.py test_subtype.py tests/Makefile.am | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 495a301cb81c5e914bcef905999265604faa27fc Author: Tomeu Vizoso Date: Thu Jun 10 19:39:09 2010 +0200 Add myself to the maintainers list in the README README | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 04627488220b4f2a16e11f8982af7866fea9f7eb Author: Tomeu Vizoso Date: Thu Jun 10 19:24:31 2010 +0200 Drop sinkfuncs. * use g_object methods to sink floating refs instead of allowing custom sink functions to be registered * we now sink inside of pygobject_new_full to handle cases where a library creates its own gobject via g_object_new and just needs a python wrapper - a previous patch had done the sink when creating the gobject, since it needs to call pygobject_new_full to wrap the object, this patch handles both cases (e.g. pygobject created object and externally created gobject) https://bugzilla.gnome.org/show_bug.cgi?id=583909 gobject/gobjectmodule.c | 3 +-- gobject/pygobject.c | 42 ++++++++---------------------------------- gobject/pygobject.h | 1 + 3 files changed, 10 insertions(+), 36 deletions(-) commit 87774a17bd607724a56e18c2eb1ac71b04b7079d Author: Tomeu Vizoso Date: Tue Jun 8 10:40:39 2010 +0200 Add myself to maintainers MAINTAINERS | 4 ++++ pygobject.doap | 7 +++++++ 2 files changed, 11 insertions(+), 0 deletions(-) commit 46c91a11d448e5e11d142d3362aff1483226bca4 Author: Colin Walters Date: Wed May 5 13:54:27 2010 -0400 Clear error if we failed the import Otherwise we leave the exception set which causes bizarre problems later in unrelated code. https://bugzilla.redhat.com/show_bug.cgi?id=569885 https://bugzilla.gnome.org/show_bug.cgi?id=617796 gobject/pygi-external.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit e203dc7c8f524c16aa52e15758dc3a2b09fbac75 Author: John Ehresman Date: Tue Apr 20 20:40:02 2010 -0400 Added missing , to keyword list of gio.GFile.set_attribute gio/gresolver.override | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0b222f01ac9ceea1d127083623ad532ecc75bf7e Author: John Ehresman Date: Tue Apr 20 20:37:12 2010 -0400 Fix arg conversion in gio.GFile.set_attribute gio/gfile.override | 232 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 227 insertions(+), 5 deletions(-) commit a579ccc8bea90937bf970be3d461e2b650b0c7d6 Author: John Ehresman Date: Tue Apr 20 20:01:53 2010 -0400 Set constants under python 2.5 or before gobject/gobjectmodule.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 11fa39a861abf679e01b5f0da97be93ae0adf0f0 Author: José Alburquerque Date: Sun Apr 18 20:22:21 2010 -0400 Doc Extractor: Use replacements that make sense for &...; expressions. * codegen/docextract_to_xml.py: Use # and   respectively for # (#) and  . These are interpreted correctly in XML and will not make the parsing crash. codegen/docextract_to_xml.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 695ac7bc5c60371a32538d690c7a15509f3c9637 Author: John Stowers Date: Fri Apr 16 14:36:11 2010 +1200 Add build docs for windows Makefile.am | 1 + README.win32 | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 0 deletions(-) commit e580da87f0b2fd36cb5d8008fb2fb0c3b01f456a Author: John Stowers Date: Thu Apr 15 13:40:39 2010 +1200 Setup.py cosmetic tidy * Remove local doc install, point to website instead * link to versioned docs pygobject_postinstall.py | 43 ++++++++++++++++++++++++++----------------- setup.py | 39 ++++++++++++++------------------------- 2 files changed, 40 insertions(+), 42 deletions(-) commit 69ecd506c83ddf180c6cc9a2a8dc753a02543959 Author: John Stowers Date: Sat Jul 25 14:12:30 2009 +1200 Fix crash when importing gio Only seems to be necessary on windows, but no harm on linux as multiple calls to init are OK gio/giomodule.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 5d159a13d89587cba189a0ca3203ac003e2f1f2b Author: John Stowers Date: Thu Apr 15 22:52:48 2010 +1200 Bug 589671 - Dont use generate-constants This breaks the build using distutils, and it is largely unneeded. Just add the G_XXX constants to the module directly gobject/Makefile.am | 16 +-------- gobject/constants.py | 83 ++++++++++++++++++++++++++++++++++++++++++ gobject/constants.py.in | 50 ------------------------- gobject/generate-constants.c | 44 ---------------------- gobject/gobjectmodule.c | 35 ++++++++++++++++++ setup.py | 2 +- tests/runtests.py | 3 +- 7 files changed, 121 insertions(+), 112 deletions(-) commit 6d7a3ab9ce352692d0faccbf106974d264fa953d Author: John Stowers Date: Thu Apr 15 22:49:17 2010 +1200 Bug 589671 - Fix setup.py for windows build * Building pyglib as a static private library * Update to include new defs * Modernise setup.py and add more util functions to dsextras dsextras.py | 32 ++++++++++++++++-- setup.py | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 116 insertions(+), 18 deletions(-) commit d11ef47072acae5801ce25c68d1289e425eb9fc2 Author: John Stowers Date: Thu Apr 15 22:48:28 2010 +1200 Include pygsource.h glib/pygiochannel.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 681832c3cd040433a488a400693b68f213bf7078 Author: José Alburquerque Date: Tue Apr 13 13:33:12 2010 -0400 codegen/docextract_to_xml.py: One more &...; replacement ( ). * codegen/docextract_to_xml.py: Replace   which also causes errors with a regular space. codegen/docextract_to_xml.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit bd4e7f2459e34957aaae59b9be807d6dff5ec1eb Author: José Alburquerque Date: Tue Apr 13 12:28:10 2010 -0400 codegen/docextract_to_xml.py: Replace some &..; that cause errors. * codegen/docextract_to_xml.py (escape_text): Replace some &..; expressions that cause errors with more appropriate output. codegen/docextract_to_xml.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit f00b9ce91fc9c3aabd4af4132fc112d9e415e12e Author: José Alburquerque Date: Sun Apr 11 17:46:40 2010 -0400 codegen/docextract_to_xml.py: Handle C++ multi-line comments. * codegen/docextract_to_xml.py (escape_text): Translate '/*' and '*/' in text to '/ *' and '* /' respectively so that comment errors don't show up when the descriptions that include C++ code with C++ multi-line comments are used in Doxygen blocks. codegen/docextract_to_xml.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) commit a2fcdecbb5e109da5568084d7acb2332af83b6f5 Author: José Alburquerque Date: Sun Apr 11 16:15:01 2010 -0400 codegen/docextract.py: Stop final section processing on first match. * codegen/docextract.py (process_final_sections): Modify the final section pattern matching for loop to stop on first match so that it doesn't match both a colon return ('Returns: ...') and a no colon return ('Returns ...') which leads to annotation extraction errors. codegen/docextract.py | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 825fd305f03b726665edca34963978ce27448182 Author: José Alburquerque Date: Sun Apr 11 15:45:09 2010 -0400 Update doc extraction tool to handle GObjectIntrospection annotations. * codegen/docextract.py (FunctionDoc): Renamed class to GtkDoc. (GtkDoc::annotations): Added a list field to store annotations which are 2-tuples of (name, value). (GtkDoc::ret): Modified field to store the return description along with a list of annotations as described above. (GtkDoc::params): Now holds a list of 3-tupples: name, description and annotations (as described above). (GtkDoc::block_type): Add a field to tell if the comment block is a function block, signal block or property block. (GtkDoc::set_type): (GtkDoc::get_type): Add methods for setting/getting the block type. (GtkDoc::add_param): Modified to also accept a list of annotations to be added with the parameter. (GtkDoc::add_annotation): (GtkDoc::get_annotations): Added methods to add/get annotations for the comment block. (GtkDoc::append_description): Renamed to append_to_description(). (GtkDoc::get_param_description): Removed unused method. (GtkDoc::get_description): Added method to get block description. (GtkDoc::add_return): Added method to add a return accepting the first line of the description and its annotations. (GtkDoc::append_return): Renamed to append_to_return(). (Regular expressions): - Made the names of the variables un-abbreviated. - Added 'since', 'deprecated' and 'rename to' regular expressions. - Modified the return matching regular expression so that it doesn't match descriptions that begin with 'Returns ...'. This improves the docs of many function. - Added signal and property comment block identifier matching regular expressions in case those are useful. - Modified existing identifier matching regular expressions (function, signal, and property regular expressions) to properly parse annotations. Also added a regular expression for extracting annotations from the parameter and return descriptions. - Refined the function name matching regular expression to only accept identifiers that begin with a lowercase letter. This eliminates 'SECTION:' matches. - Finally, grouped commonly related expressions like return_pattern, since_pattern, etc. into groups (in lists) so that matching those sections can be done using loops. (Parsing algorithm): Modified the algorithm to use a functional approach to parsing. Extra methods like skip_to_comment() and processs_params() have been added and used in the parse_file() function to now process the comment blocks. (parse_dir): Added file processing output to stderr. * codegen/docextract_to_xml.py (usage): Added function to print out the usage. (print_annotations): Added function to print the given list of annotations. (options): Added --with-signals (-i), with-properties (-p) and --with-annotation (-a) to the existing --source-dir (-s) option. (algorithm): Now prints annotations, if specified. Also, prints signals and properties correctly (using names like Class::signal-one for signals and Classs:property) with xml such as .... The return xml is slightly modified with annotations but this would only be exhibited if annotation xml is requested. codegen/docextract.py | 439 +++++++++++++++++++++++++++++++++--------- codegen/docextract_to_xml.py | 87 ++++++-- 2 files changed, 414 insertions(+), 112 deletions(-) commit e9f7fd414e94595e40eb1ba0fc471ca69136d82f Author: Paul Bolle Date: Thu Apr 8 11:52:25 2010 +0200 Docs: replace gio.IO_ERROR_* with gio.ERROR_* Signed-off-by: Paul Bolle docs/reference/pygio-file.xml | 58 +++++++++++++++++----------------- docs/reference/pygio-inputstream.xml | 22 ++++++------ docs/reference/pygio-mount.xml | 10 +++--- 3 files changed, 45 insertions(+), 45 deletions(-) commit 4cbd9941c5705970a9f7a429e236e1203d3155a1 Author: Gian Mario Tagliaretti Date: Mon Apr 5 18:10:42 2010 +0200 Bug 613341 - pygobject tests seem to require pygtk causing a circular dependencies problem move tests that require pygtk to pygtk itself tests/test_conversion.py | 83 ------------- tests/test_enum.py | 234 ------------------------------------- tests/test_gtype.py | 112 ------------------ tests/test_subtype.py | 289 ---------------------------------------------- 4 files changed, 0 insertions(+), 718 deletions(-) commit 23fc0f615d87994acafd9d39e92dd92b587fc2eb Author: Simon van der Linden Date: Thu Jan 21 17:30:51 2010 +0100 Don't raise an error in _pygi_import if pygi support is disabled http://bugzilla.gnome.org/show_bug.cgi?id=607674 gobject/pygboxed.c | 6 +----- gobject/pygi-external.h | 1 - gobject/pygobject.c | 6 +----- gobject/pygpointer.c | 6 +----- 4 files changed, 3 insertions(+), 16 deletions(-) commit 289d641775d1ea52d2a5379126b70b7fcee46683 Author: Tomeu Vizoso Date: Sun Jan 10 21:01:59 2010 +0100 Initialize PyGPollFD_Type.fd_obj to NULL https://bugzilla.gnome.org/show_bug.cgi?id=606582 gio/gcancellable.override | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4e2efa91d101bf755739e1cca8eee41eb0ad20fd Author: Gian Mario Tagliaretti Date: Mon Jan 4 08:35:14 2010 +0100 Bug 605937 - pygobject: Makefile.am sets $TMPDIR, disrupting distcc Committed a patch from Kevin Pyle Makefile.am | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) commit 284a1e1c0143c95d3007cf58e6c248b5d11fb4d1 Author: Gian Mario Tagliaretti Date: Sun Jan 3 11:02:57 2010 +0100 Wrap gio.Cancellable.make_pollfd() and add a test gio/Makefile.am | 1 + gio/gcancellable.override | 37 +++++++++++++++++++++++++++++++++++++ gio/gio.override | 3 +++ tests/test_gcancellable.py | 15 +++++++++++++++ 4 files changed, 56 insertions(+), 0 deletions(-) commit 82d7bcbf37200ee2ef5892dd12bebd2f39965c56 Author: Gian Mario Tagliaretti Date: Sat Jan 2 23:15:56 2010 +0100 Make cancellable an optional parameter in many methods gio/gio.defs | 102 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 51 insertions(+), 51 deletions(-) commit 49a078cd22d55dc33a03ecfda235d63955edc741 Author: Gian Mario Tagliaretti Date: Sat Jan 2 23:15:21 2010 +0100 Post release version bump to 2.21.2 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)