summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use %zd instead of %d since it's a Py_ssize_t and not an int.Johan Dahlin2008-07-182-1/+6
| | | | | | | | | | 2008-07-18 Johan Dahlin <johan@gnome.org> * gio/gfile.override: Use %zd instead of %d since it's a Py_ssize_t and not an int. svn path=/trunk/; revision=827
* define NO_IMPORT_PYGOBJECT before including pygobject.hJohan Dahlin2008-07-182-1/+7
| | | | | | | | | | 2008-07-18 Johan Dahlin <johan@gnome.org> * gio/pygio-utils.h: define NO_IMPORT_PYGOBJECT before including pygobject.h svn path=/trunk/; revision=826
* Require pygobject 2.15.2Johan Dahlin2008-07-182-1/+6
| | | | | | | | | | 2008-07-18 Johan Dahlin <johan@gnome.org> * gio/giomodule.c (init_gio): Require pygobject 2.15.2 svn path=/trunk/; revision=825
* Put gio.override before all the othersJohan Dahlin2008-07-181-1/+1
| | | | svn path=/trunk/; revision=824
* Use #include <pygobject.h> instead of include "pygobject.h"Johan Dahlin2008-07-183-3/+3
| | | | svn path=/trunk/; revision=823
* The module is called gio._gio, not just _gio.Johan Dahlin2008-07-172-1/+2
| | | | | | | | | | 2008-07-17 Johan Dahlin <johan@gnome.org> * gio/giomodule.c (init_gio): (DL_EXPORT): The module is called gio._gio, not just _gio. svn path=/trunk/; revision=822
* s/pygobject/gio/Johan Dahlin2008-07-171-1/+1
| | | | svn path=/trunk/; revision=821
* Add a pygio_version module attributeJohan Dahlin2008-07-172-2/+19
| | | | | | | | | | 2008-07-17 Johan Dahlin <johan@gnome.org> * gio/giomodule.c (init_gio): Add a pygio_version module attribute svn path=/trunk/; revision=820
* Rename gio.IOErrorEnum to gio.ErrorEnumJohan Dahlin2008-07-172-1/+6
| | | | | | | | | | 2008-07-17 Johan Dahlin <johan@gnome.org> * gio/gio-types.defs: Rename gio.IOErrorEnum to gio.ErrorEnum svn path=/trunk/; revision=819
* Add gio.ERROR which maps to the G_IO_ERROR quark.Johan Dahlin2008-07-172-0/+7
| | | | | | | | | | 2008-07-17 Johan Dahlin <johan@gnome.org> * gio/giomodule.c (init_gio): Add gio.ERROR which maps to the G_IO_ERROR quark. svn path=/trunk/; revision=818
* Use the prefix G_IO_ for stripping constants instead of just G_ Check soJohan Dahlin2008-07-173-6/+27
| | | | | | | | | | | | | | | | | 2008-07-17 Johan Dahlin <johan@gnome.org> * gio/giomodule.c (init_gio): Use the prefix G_IO_ for stripping constants instead of just G_ * gobject/gobjectmodule.c (pyg_constant_strip_prefix): Check so the fist part of name and strip_prefix are the same, if they don't, just strip of the part of strip_prefix which matches. This removes the initial IO_* prefix for some constants in gio. Eg, gio.IO_ERROR_* -> gio.ERROR_* svn path=/trunk/; revision=817
* Post release version bumpJohan Dahlin2008-07-162-1/+5
| | | | | | | | | 2008-07-16 Johan Dahlin <johan@gnome.org> * configure.ac: Post release version bump svn path=/trunk/; revision=816
* 2.15.1PYGOBJECT_2_15_1Johan Dahlin2008-07-162-0/+9
| | | | svn path=/trunk/; revision=814
* Rename from 'pygtk-codegen-2.0.in'.Paul Pogonyshev2008-07-154-3/+11
| | | | | | | | | | | | 2008-07-15 Paul Pogonyshev <pogonyshev@gmx.net> * codegen/pygobject-codegen-2.0.in: Rename from 'pygtk-codegen-2.0.in'. * configure.ac: * codegen/Makefile.am: Update accordingly. svn path=/trunk/; revision=813
* Post release version bumpJohan Dahlin2008-07-143-1/+6
| | | | | | | | | 2008-07-15 Johan Dahlin <johan@gnome.org> * configure.ac: Post release version bump svn path=/trunk/; revision=812
* Add a release-tag targetJohan Dahlin2008-07-141-0/+9
| | | | svn path=/trunk/; revision=811
* 2.15.0PYGOBJECT_2_15_0Johan Dahlin2008-07-142-0/+22
| | | | svn path=/trunk/; revision=809
* Make sure we can distcheck the gio module properlyJohan Dahlin2008-07-142-1/+9
| | | | | | | | | | 2008-07-15 Johan Dahlin <johan@gnome.org> * tests/Makefile.am: Make sure we can distcheck the gio module properly svn path=/trunk/; revision=808
* Bug 450659 – h2def.py - export 'typedef struct' object definitions notJohan Dahlin2008-07-142-1/+9
| | | | | | | | | | | | | 2008-07-15 Johan Dahlin <johan@gnome.org> Bug 450659 – h2def.py - export 'typedef struct' object definitions not working * codegen/h2def.py: Patch by Lauro Moura svn path=/trunk/; revision=807
* Bug 471559 – add AM_PROG_CC_C_O to configure.ac for recent automakeJohan Dahlin2008-07-142-0/+8
| | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 471559 – add AM_PROG_CC_C_O to configure.ac for recent automake * configure.ac: Patch by Tim Mooney svn path=/trunk/; revision=806
* Bug 448173 – use python-config to get python includesJohan Dahlin2008-07-142-2/+13
| | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 448173 – use python-config to get python includes * configure.ac: Really close the by, patch by Matthias Klose svn path=/trunk/; revision=805
* Bug 378704 – OptionParser.parse_args() returns unexpected results PatchJohan Dahlin2008-07-142-1/+12
| | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 378704 – OptionParser.parse_args() returns unexpected results * gobject/option.py: Patch by Johannes Hölzl svn path=/trunk/; revision=804
* Bug 491773 – autoconf failure: .m4 files cannot be foundJohan Dahlin2008-07-142-0/+8
| | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 491773 – autoconf failure: .m4 files cannot be found * Makefile.am: Patch by macks@netspace.org svn path=/trunk/; revision=803
* wrap File.load_contents_async and File.load_contents_finish with docsstrings ↵Gian Mario Tagliaretti2008-07-144-3/+119
| | | | | | and a test svn path=/trunk/; revision=802
* Bug 487523 – Add xslfiles variable to .pc.in filesJohan Dahlin2008-07-142-2/+10
| | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 487523 – Add xslfiles variable to .pc.in files * pygobject-2.0-uninstalled.pc.in: Add xslfiles variable, patch by Damien Carbery svn path=/trunk/; revision=801
* Remove g_file_input_stream_seek and g_file_output_stream_seek, theyJohan Dahlin2008-07-142-24/+6
| | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> * gio/gio.defs: Remove g_file_input_stream_seek and g_file_output_stream_seek, they already implement the seekable interface. svn path=/trunk/; revision=800
* Bug 504337 - crash bug in gobject.Timeout and gobject.IdleJohan Dahlin2008-07-143-4/+17
| | | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> Bug 504337 - crash bug in gobject.Timeout and gobject.Idle * gobject/pygsource.c: * tests/test_source.py: Fix crash in Timeout and Idle, patch by Bryan Silverthorn. svn path=/trunk/; revision=799
* Map GSeekType to an intJohan Dahlin2008-07-145-0/+21
| | | | | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> * codegen/argtypes.py: Map GSeekType to an int * gio/gfileinfo.override: * gio/ginputstream.override: * gio/goutputstream.override: Add comments for missing API svn path=/trunk/; revision=798
* Refactor cancellable check to a utility function, avoidsJohan Dahlin2008-07-148-84/+116
| | | | | | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> * gio/Makefile.am: * gio/gfile.override: * gio/ginputstream.override: * gio/gio.override: * gio/goutputstream.override: * gio/pygio-utils.c (pygio_check_cancellable): * gio/pygio-utils.h: Refactor cancellable check to a utility function, avoids svn path=/trunk/; revision=797
* New class. (MethodDefBase.__init__): Make 'self.ret' a 'ReturnType'Paul Pogonyshev2008-07-144-10/+65
| | | | | | | | | | | | | | | | | | 2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net> * codegen/definitions.py (ReturnType): New class. (MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance, not string. Accept 'optional' flag. * codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if 'ptype' has true 'optional' attribute and copy it to 'props' then. * codegen/reversewrapper.py (ReturnType.support_optional): New class field, False by default. (GObjectReturn.support_optional, GObjectReturn.write_decl) (GObjectReturn.write_conversion): Support optional return. svn path=/trunk/; revision=796
* Add 'codegendir' variable. Make 'codegendir' refer to PyGObject's codegen,Paul Pogonyshev2008-07-133-1/+9
| | | | | | | | | | | 2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net> * pygobject-2.0.pc.in: Add 'codegendir' variable. * codegen/pygtk-codegen-2.0.in: Make 'codegendir' refer to PyGObject's codegen, not PyGTK's one --- the latter will be removed (first part of bug #542821). svn path=/trunk/; revision=795
* clean_func(): Strip GSEAL out, to avoid us thinking that there are manyMurray Cumming2008-07-132-2/+17
| | | | | | | | | | | | | | | 2008-07-08 Murray Cumming <murrayc@murrayc.com> * codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid us thinking that there are many functions called GSEAL (merge from PyGTK). 2008-01-29 Olivier Crete <tester@tester.ca> * codegen/h2def.py (DefsWriter.__init__): Fix copy-paste typos (merge from PyGTK). svn path=/trunk/; revision=794
* wrap File.load_contents with docstringsGian Mario Tagliaretti2008-07-114-19/+91
| | | | svn path=/trunk/; revision=793
* Fix error message referencing wrong argument.Juha Sahakangas2008-07-092-1/+6
| | | | | | | | | 2008-07-09 Juha Sahakangas <voas0113@saunalahti.fi> * gobject/gobjectmodule.c (pyg_io_add_watch): Fix error message referencing wrong argument. svn path=/trunk/; revision=792
* Bug 540696 – gobject.markup_escape_text() causes python to segfaultGustavo J. A. M. Carneiro2008-06-292-1/+7
| | | | svn path=/trunk/; revision=790
* Document GObject.handler_block_by_func/handler_unblock_by_funcJohan Dahlin2008-06-282-3/+54
| | | | | | | | | | 2008-06-28 Johan Dahlin <jdahlin@async.com.br> * docs/reference/pygobject.xml: Document GObject.handler_block_by_func/handler_unblock_by_func svn path=/trunk/; revision=789
* Sort out confusion between interfaces and objects, add test. Fixes #538601Johan Dahlin2008-06-173-18/+35
| | | | | | | | | | | | 2008-06-17 Johan Dahlin <jdahlin@async.com.br> * gio/gio-types.defs: * tests/test_gio.py: Sort out confusion between interfaces and objects, add test. Fixes #538601 svn path=/trunk/; revision=788
* New functions, unconditionally raise TypeError. (pygobject_methods): HookPaul Pogonyshev2008-06-092-0/+26
| | | | | | | | | | 2008-06-09 Paul Pogonyshev <pogonyshev@gmx.net> * gobject/pygobject.c (pygobject_copy, pygobject_deepcopy): New functions, unconditionally raise TypeError. (pygobject_methods): Hook them up. (bug #482370) svn path=/trunk/; revision=787
* set FFI_LIBS to '', since this is mostly used on win32.Johan Dahlin2008-05-312-0/+5
| | | | | | | | | 2008-05-31 Johan Dahlin <johan@gnome.org> * setup.py: set FFI_LIBS to '', since this is mostly used on win32. svn path=/trunk/; revision=786
* Add the GParamSpec type wrapper to the module dictionary.Gustavo J. A. M. Carneiro2008-05-302-0/+9
| | | | svn path=/trunk/; revision=785
* Add default values for all GSeekType variables.Johan Dahlin2008-05-232-3/+8
| | | | | | | | | | 2008-05-23 Johan Dahlin <jdahlin@async.com.br> * gio/gio.defs: Add default values for all GSeekType variables. svn path=/trunk/; revision=784
* Accept None for the child_setup parameter of gobject.spawn_async(). AlsoGustavo J. A. M. Carneiro2008-05-212-3/+18
| | | | | | | | | * gobject/gobjectmodule.c (pyg_spawn_async): Accept None for the child_setup parameter of gobject.spawn_async(). Also check that it is callable. svn path=/trunk/; revision=780
* Fix: raise warning as exception if asked by PyErr_Warn().Paul Pogonyshev2008-04-273-3/+18
| | | | | | | | | | | | | | 2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net> * gobject/pygenum.c (pyg_enum_richcompare): Fix: raise warning as exception if asked by PyErr_Warn(). * gobject/pygflags.c (pyg_flags_richcompare): Don't return NULL after warning; more useful warning message. (#480424, borrowing code by Mark Doffman) svn path=/trunk/; revision=779
* Update link to defs format discussionJohan Dahlin2008-04-212-1/+5
| | | | | | | | | 2008-04-21 Johan Dahlin <johan@gnome.org> * codegen/h2def.py: Update link to defs format discussion svn path=/trunk/; revision=778
* Set gobject.GObject.__module__ to gobject._gobject, this helps pylint toJohan Dahlin2008-04-154-1/+29
| | | | | | | | | | | | | | | | | 2008-04-15 Johan Dahlin <johan@gnome.org> * gobject/gobjectmodule.c (init_gobject): Set gobject.GObject.__module__ to gobject._gobject, this helps pylint to check public methods of GObject subclasses * tests/Makefile.am (tests): * tests/test_gobject.py (TestGObjectAPI.testGObjectModule): Add a test for this (#523821, Simon Schampijer) svn path=/trunk/; revision=777
* document. Add default values to all flags parameters.Johan Dahlin2008-04-112-24/+42
| | | | | | | | | | 2008-04-11 Johan Dahlin <jdahlin@async.com.br> * gio/gio.defs (write_async): document. Add default values to all flags parameters. svn path=/trunk/; revision=776
* document. Set io_priority default to G_PRIORITY_DEFAULT.Johan Dahlin2008-04-112-23/+47
| | | | | | | | | | 2008-04-11 Johan Dahlin <johan@gnome.org> * gio/gio.defs (read_async, read): document. Set io_priority default to G_PRIORITY_DEFAULT. svn path=/trunk/; revision=775
* test TypeError of read_async/write_async properlyJohan Dahlin2008-04-111-0/+33
| | | | svn path=/trunk/; revision=774
* Move around the order of the callback argument to async methods, so itJohan Dahlin2008-04-115-91/+135
| | | | | | | | | | | | | | | 2008-04-11 Johan Dahlin <jdahlin@async.com.br> * gio/gfile.override: * gio/ginputstream.override: * gio/goutputstream.override: * tests/test_gio.py: Move around the order of the callback argument to async methods, so it comes before priority and cancellable, which can have default values. svn path=/trunk/; revision=773
* Implement GAppInfo constructor, add tests.Johan Dahlin2008-04-087-13/+114
| | | | | | | | | | | | | | | 2008-04-08 Johan Dahlin <jdahlin@async.com.br> * gio/Makefile.am: * gio/__init__.py: * gio/gappinfo.override: * gio/gio.defs: * gio/gio.override: * tests/test_gio.py: Implement GAppInfo constructor, add tests. svn path=/trunk/; revision=772