summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* New marshaller for async results (_wrap_g_input_stream_read_async): Impl.Johan Dahlin2008-01-194-3/+117
| | | | | | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/gio.override (async_result_callback_marshal): New marshaller for async results (_wrap_g_input_stream_read_async): Impl. * gio/gio-types.defs: Add SimpleAsyncRequest * gio/giomodule.c: Register enums/constants svn path=/trunk/; revision=735
* Fix a silly bug so it possible to read files larger than 8192 bytes.Johan Dahlin2008-01-192-4/+9
| | | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/gio.override: Fix a silly bug so it possible to read files larger than 8192 bytes. svn path=/trunk/; revision=734
* Set null-ok for all cancelable as well.Johan Dahlin2008-01-192-107/+109
| | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/gio.defs: Set null-ok for all cancelable as well. svn path=/trunk/; revision=733
* set gio.unix to None if it's not availableJohan Dahlin2008-01-192-1/+3
| | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/__init__.py: set gio.unix to None if it's not available svn path=/trunk/; revision=732
* Implement InputStream.read efficiently without copying the strings, basedJohan Dahlin2008-01-194-107/+200
| | | | | | | | | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/gio.override: Implement InputStream.read efficiently without copying the strings, based on the standard libararys file.read() implementation. * gio/gio-types.defs (Cancellable): Add wrapper. * gio/gio.defs (replace): Do not require cancellable argument to be specified, default to NULL if not. svn path=/trunk/; revision=731
* Import codegen from pygtk. Add initial gio and gio.unix bindings.Johan Dahlin2008-01-1936-1/+13165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * Makefile.am: * codegen/Makefile.am: * codegen/README.defs: * codegen/__init__.py: * codegen/argtypes.py: * codegen/code-coverage.py: * codegen/codegen.py: * codegen/createdefs.py: * codegen/definitions.py: * codegen/defsconvert.py: * codegen/defsgen.py: * codegen/defsparser.py: * codegen/docextract.py: * codegen/docextract_to_xml.py: * codegen/docgen.py: * codegen/h2def.py: * codegen/mergedefs.py: * codegen/missingdefs.py: * codegen/mkskel.py: * codegen/override.py: * codegen/pygtk-codegen-2.0.in: * codegen/reversewrapper.py: * codegen/scanvirtuals.py: * codegen/scmexpr.py: * configure.ac: * gio/Makefile.am: * gio/__init__.py: * gio/gio-types.defs: * gio/gio.defs: * gio/gio.override: * gio/giomodule.c: (init_gio): * gio/unix-types.defs: * gio/unix.defs: * gio/unix.override: * gio/unixmodule.c: (initunix): Import codegen from pygtk. Add initial gio and gio.unix bindings. svn path=/trunk/; revision=730
* Don't link against libffi if we cannot find libffi on the system.Johan Dahlin2008-01-112-4/+32
| | | | | | | | | | 2008-01-11 Johan Dahlin <johan@gnome.org> * configure.ac: Don't link against libffi if we cannot find libffi on the system. (#496006, Ed Catmur) svn path=/trunk/; revision=729
* Include -Wall and -Werror when checking for PySignal_SetWakeupFdJohan Dahlin2008-01-032-1/+4
| | | | | | | | * configure.ac (CPPFLAGS): Include -Wall and -Werror when checking for PySignal_SetWakeupFd svn path=/trunk/; revision=725
* Reviewed by: GustavoJohan Dahlin2008-01-033-11/+89
| | | | | | | | | | | | | | | 2008-01-03 Johan Dahlin <johan@gnome.org> Reviewed by: Gustavo * configure.ac: * gobject/pygmainloop.c (pyg_signal_watch_prepare): Optinally use PySignal_SetWakeupFd to avoid having to do a timeout to find out if there are any pending signals from python. Fixes #481569 svn path=/trunk/; revision=723
* Bug 460606 – wrap g_get_application_name and g_get_prgnameGustavo J. A. M. Carneiro2008-01-022-0/+37
| | | | svn path=/trunk/; revision=722
* Add props attributeRafael Villar Burke2007-11-302-0/+24
| | | | | | | | 2007-11-30 Rafael Villar Burke <pachi@rvburke.com> * docs/reference/pygobject.xml: Add props attribute svn path=/trunk/; revision=721
* check for NULL before dereferencing.Paolo Borelli2007-11-242-6/+13
| | | | | | | | | 2007-11-24 Paolo Borelli <pborelli@katamail.com> * gobject/gobjectmodule.c (pyg_type_register): check for NULL before dereferencing. svn path=/trunk/; revision=720
* do not use a potentially uninitialized variable. Bug #499334.Paolo Borelli2007-11-242-2/+8
| | | | | | | | | 2007-11-24 Paolo Borelli <pborelli@katamail.com> * gobject/gobjectmodule.c (pyg_type_register): do not use a potentially uninitialized variable. Bug #499334. svn path=/trunk/; revision=719
* Set the default value of old_args to 0, so we don't end up slicing withJohan Dahlin2007-11-123-1/+10
| | | | | | | | | | | 2007-11-12 Johan Dahlin <johan@gnome.org> * gobject/option.py (OptionParser.parse_args): Set the default value of old_args to 0, so we don't end up slicing with None. Fixes #496278 (Vincent Untz) svn path=/trunk/; revision=718
* Merge in values from all groups to the global option group. Slice up argsJohan Dahlin2007-11-063-35/+74
| | | | | | | | | | | | | | 2007-11-06 Johan Dahlin <johan@gnome.org> * gobject/option.py (OptionParser.parse_args): Merge in values from all groups to the global option group. Slice up args so it doesn't return too much. * tests/test_option.py: Refactor to be unittesty, Add new tests to test what options returns. svn path=/trunk/; revision=717
* remove trailing whitespaceJohan Dahlin2007-11-061-7/+7
| | | | svn path=/trunk/; revision=716
* Remove trailing whitespaceJohan Dahlin2007-11-061-7/+7
| | | | svn path=/trunk/; revision=715
* Add pyg_option_group_new to the public APIJohan Dahlin2007-11-054-4/+17
| | | | | | | | | | | | | 2007-11-05 Johan Dahlin <johan@gnome.org> * gobject/pygobject.h: * gobject/gobjectmodule.c: Add pyg_option_group_new to the public API * configure.ac: Branch, bump version to 2.15.0. svn path=/trunk/; revision=714
* If there are no items, do not attempt to iterateJohan Dahlin2007-11-021-2/+3
| | | | svn path=/trunk/; revision=712
* fix indent on ChangelogGian Mario Tagliaretti2007-10-161-1/+1
| | | | svn path=/trunk/; revision=711
* uninstalled.pc file missing 'datadir' value. Fixes #486876Gian Mario Tagliaretti2007-10-162-0/+8
| | | | svn path=/trunk/; revision=710
* post-relase bumpGustavo J. A. M. Carneiro2007-09-162-1/+5
| | | | svn path=/trunk/; revision=709
* 2.14.0PYGOBJECT_2_14_0Gustavo J. A. M. Carneiro2007-09-162-2/+5
| | | | svn path=/trunk/; revision=707
* Update NEWSGustavo J. A. M. Carneiro2007-09-162-0/+13
| | | | svn path=/trunk/; revision=706
* Remove DATADIR substitution since it now gets substituted asJohn Finlay2007-09-062-4/+6
| | | | | | | | * docs/xsl/fixxref.py.in: Remove DATADIR substitution since it now gets substituted as ${prefix}/share which doesn't work in a Python script. svn path=/trunk/; revision=705
* Update documentation and filenameJohan Dahlin2007-08-281-3/+12
| | | | svn path=/trunk/; revision=701
* Avoid exporting the metaclass, just define it where it will be used.Johan Dahlin2007-08-272-6/+6
| | | | | | | | | | 2007-08-27 Johan Dahlin <jdahlin@async.com.br> * gobject/propertyhelper.py (property.__metaclass__.__repr__): Avoid exporting the metaclass, just define it where it will be used. svn path=/trunk/; revision=700
* Refactor a bit to make sure that it is possible to use in subclasses,Johan Dahlin2007-08-273-8/+27
| | | | | | | | | | | 2007-08-27 Johan Dahlin <jdahlin@async.com.br> * gobject/__init__.py (GObjectMeta._install_properties): Refactor a bit to make sure that it is possible to use in subclasses, fixes #470718 (Marco Giusti) svn path=/trunk/; revision=699
* Bug 470230 – check for default value in boolean type is wrongGustavo J. A. M. Carneiro2007-08-273-4/+22
| | | | svn path=/trunk/; revision=698
* removed unwanted definesGustavo J. A. M. Carneiro2007-08-273-3/+6
| | | | svn path=/trunk/; revision=697
* Bug 339924 – pygobject doesn't compile on opensolarisGustavo J. A. M. Carneiro2007-08-272-1/+12
| | | | svn path=/trunk/; revision=696
* Fix compilation warning.Gustavo J. A. M. Carneiro2007-08-272-1/+6
| | | | svn path=/trunk/; revision=695
* Bug 466082 – pygobject_new_full not fully initialising PyGObject, chaos ↵Gustavo J. A. M. Carneiro2007-08-142-2/+14
| | | | | | results svn path=/trunk/; revision=694
* Add test case for one the problems reported in bug #466082Gustavo J. A. M. Carneiro2007-08-132-0/+13
| | | | svn path=/trunk/; revision=693
* Add a MAINTAINERS fileJohan Dahlin2007-08-081-0/+7
| | | | svn path=/trunk/; revision=692
* Only compile g_timeout_add_seconds for glib >= 2.13.5Gustavo J. A. M. Carneiro2007-07-082-2/+7
| | | | svn path=/trunk/; revision=691
* Wrap g_timeout_add_secondsGustavo J. A. M. Carneiro2007-07-082-0/+48
| | | | svn path=/trunk/; revision=690
* Work around the deprecation warning of BaseException.message in Python 2.6+ ↵Gustavo J. A. M. Carneiro2007-07-082-1/+24
| | | | | | affecting GError exceptions. Fixes #342948. svn path=/trunk/; revision=689
* bump versionGustavo J. A. M. Carneiro2007-07-072-1/+5
| | | | svn path=/trunk/; revision=688
* Update NEWS; 2.13.2 releasePYGOBJECT_2_13_2Gustavo J. A. M. Carneiro2007-07-072-0/+17
| | | | svn path=/trunk/; revision=686
* Bug 339924 – pygobject doesn't compile on opensolarisGustavo J. A. M. Carneiro2007-07-072-3/+11
| | | | svn path=/trunk/; revision=685
* revert last change (g_object_run_dispose)Gustavo J. A. M. Carneiro2007-07-072-16/+0
| | | | svn path=/trunk/; revision=684
* Bug 398696 – Wrap g_object_run_disposeGustavo J. A. M. Carneiro2007-07-072-0/+16
| | | | svn path=/trunk/; revision=683
* Add pointer from changelog entry to bug numberGustavo J. A. M. Carneiro2007-07-071-0/+1
| | | | svn path=/trunk/; revision=682
* Bug 342948 – Add exception handling to GOptionGustavo J. A. M. Carneiro2007-07-076-18/+107
| | | | svn path=/trunk/; revision=681
* Bug 351072 – Cannot handle signals with parameter type G_TYPE_VALUE ↵Gustavo J. A. M. Carneiro2007-07-074-2/+55
| | | | | | (marshal/unmarshal for GValue-wrapped GValue) svn path=/trunk/; revision=680
* Rename the private struct field to private_flags, because private is a C++Murray Cumming2007-07-043-3/+10
| | | | | | | | | | | 2007-07-04 Murray Cumming <murrayc@murrayc.com> * gobject/pygobject.c: (pygobject_switch_to_toggle_ref): * gobject/pygobject.h: Rename the private struct field to private_flags, because private is a C++ keyword, so this broke builds of some C++ applications, such as Glom. svn path=/trunk/; revision=679
* reviewed by: Johan DahlinSebastian Granjoux2007-07-024-1/+51
| | | | | | | | | | | | | | | 2007-07-02 Sebastian Granjoux <seb.sfo@free.fr> reviewed by: Johan Dahlin * gobject/gobjectmodule.c: (pyg_gerror_exception_check): * tests/test_gtype.py: * tests/testhelpermodule.c: (_wrap_test_gerror_exception): Fix a bug in pyg_error_exception_check, add a test, Fixes #449879 svn path=/trunk/; revision=678
* Bug 447271 – gobject has a weird bug on mac. Involves python, property and ↵Gustavo J. A. M. Carneiro2007-06-174-1/+40
| | | | | | subclassing svn path=/trunk/; revision=677
* use python-config to get python includes (Closes #448173)Sebastien Bacher2007-06-172-0/+9
| | | | | | | | | 2007-06-17 Sebastien Bacher <seb128@ubuntu.com> * m4/python.m4: use python-config to get python includes (Closes #448173) svn path=/trunk/; revision=676