summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix descriptor / toggle_ref interaction bugGustavo J. A. M. Carneiro2007-04-303-3/+26
| | | | svn path=/trunk/; revision=658
* reviewed by: Johan Dahlin <johan@gnome.org>James Livingstone2007-04-303-1/+27
| | | | | | | | | | | | | | | | 2007-04-29 James Livingstone <doclivingstone@gmail.com> reviewed by: Johan Dahlin <johan@gnome.org> * gobject/pygtype.c: (pyg_value_from_pyobject): * tests/test_signal.py: Add a missing else to avoid throwing a TypeError. Includes a test written by Ed Catmur. Fixes #374653 svn path=/trunk/; revision=657
* Treat None in a GValueArray as pointer/NULL, patch by Ed Catmur, fixesJohan Dahlin2007-04-304-1/+39
| | | | | | | | | | | | | | 2007-04-29 Johan Dahlin <johan@gnome.org> * gobject/pygtype.c: (pyg_value_array_from_pyobject): * tests/test_gtype.py: * tests/testhelpermodule.c: (_wrap_test_value_array): Treat None in a GValueArray as pointer/NULL, patch by Ed Catmur, fixes #352209. svn path=/trunk/; revision=656
* reviewed by: Johan Dahlin <johan@gnome.org>Loïc Minier2007-04-302-1/+10
| | | | | | | | | | | | | | 2007-04-29 Loïc Minier <lool+gnome@via.ecp.fr> reviewed by: Johan Dahlin <johan@gnome.org> * autogen.sh: Use dirname $0 instead of pwd to compute srcdir in autogen, fixes #409234 svn path=/trunk/; revision=655
* reviewed by: Johan Dahlin <johan@gnome.org>Damien Carbery2007-04-302-1/+9
| | | | | | | | | | | | | 2007-04-29 Damien Carbery <damien.carbery@sun.com> reviewed by: Johan Dahlin <johan@gnome.org> * tests/test-unknown.c: (test_interface_iface_method): Do not return in a void function, fixes #385127 svn path=/trunk/; revision=654
* Fix leak, patch by Daniel Berrange. Fixes #428726 (Phil Dumont)Johan Dahlin2007-04-302-3/+8
| | | | | | | | * gobject/pygflags.c: (pyg_flags_from_gtype): Fix leak, patch by Daniel Berrange. Fixes #428726 (Phil Dumont) svn path=/trunk/; revision=653
* reviewed by: Johan Dahlin <johan@gnome.org>Damien Carbery2007-04-293-1/+28
| | | | | | | | | | | | | | 2007-04-29 Damien Carbery <damien.carbery@sun.com> reviewed by: Johan Dahlin <johan@gnome.org> * configure.ac: * pygobject-2.0-uninstalled.pc.in: Add an uninstalled pkg-config file, fixes #385129 svn path=/trunk/; revision=652
* Add a generic CClosure marshaller based on ffi. This makes it possible toJohan Dahlin2007-04-2910-14/+499
| | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-29 Johan Dahlin <jdahlin@async.com.br> * README: * configure.ac: * gobject/Makefile.am: * gobject/ffi-marshaller.c: (g_value_to_ffi_type), (g_value_from_ffi_type), (g_cclosure_marshal_generic_ffi): * gobject/ffi-marshaller.h: * gobject/gobjectmodule.c: (create_signal), (init_gobject): * pygobject-2.0.pc.in: * tests/test_signal.py: * tests/testhelpermodule.c: (test1_callback), (test1_callback_swapped), (test2_callback), (test3_callback), (test4_callback), (test_float_callback), (test_double_callback), (test_string_callback), (test_object_callback), (connectcallbacks), (_wrap_connectcallbacks), (inittesthelper): Add a generic CClosure marshaller based on ffi. This makes it possible to connect to signals on PyGObjects from C. libffi is now an optional dependency Fixes #353816 (Edward Hervey) svn path=/trunk/; revision=651
* release bumpGustavo J. A. M. Carneiro2007-04-232-1/+5
| | | | svn path=/trunk/; revision=650
* 2.13.0PYGOBJECT_2_13_0Gustavo J. A. M. Carneiro2007-04-233-2/+16
| | | | svn path=/trunk/; revision=648
* Unit test for get/set_properties.Gustavo J. A. M. Carneiro2007-04-232-0/+13
| | | | svn path=/trunk/; revision=647
* new pygobject_set_properties and pygobject_get_properties methodsGian Mario Tagliaretti2007-04-233-0/+198
| | | | svn path=/trunk/; revision=646
* Bug 425242 – Add API to convert a gobject.GError exception being raised to ↵Gustavo J. A. M. Carneiro2007-04-143-1/+80
| | | | | | a GError** parameter svn path=/trunk/; revision=645
* Bug 415853 – g_set_application_name() bindingGustavo J. A. M. Carneiro2007-04-142-1/+35
| | | | svn path=/trunk/; revision=644
* Bug 419379 – Modernize init_pygobject: use static inline functions instead ↵Gustavo J. A. M. Carneiro2007-04-142-43/+100
| | | | | | of macros svn path=/trunk/; revision=643
* Bug 320428 – Break PyGObject<->GObject reference cycleGustavo J. A. M. Carneiro2007-04-147-109/+631
| | | | svn path=/trunk/; revision=642
* Fix a couple of compiler warnings.Gustavo J. A. M. Carneiro2007-03-172-2/+7
| | | | svn path=/trunk/; revision=640
* Fix the docs option so that it's possible to disable building the docs.Richard Hult2007-03-062-1/+6
| | | | | | | | | 2007-03-06 Richard Hult <richard@imendio.com> * configure.ac: Fix the docs option so that it's possible to disable building the docs. svn path=/trunk/; revision=639
* Release the GIL when calling g_object_set_property, since setting aEdward Hervey2007-03-032-0/+10
| | | | | | | | | * gobject/pygobject.c: (set_property_from_pspec): Release the GIL when calling g_object_set_property, since setting a property might trigger some code that might come back in python land. Fixes #395048 svn path=/trunk/; revision=638
* Remove .cvsignore archivesJohan Dahlin2007-01-167-46/+0
| | | | svn path=/trunk/; revision=636
* treat --enable-docs like in gtk+, closes #361722Gustavo J. A. M. Carneiro2007-01-093-14/+37
| | | | svn path=/trunk/; revision=635
* Make this work with automake 1.10 too.Kjartan Maraas2006-12-142-5/+10
| | | | | | 2006-12-14 Kjartan Maraas <kmaraas@gnome.org> * autogen.sh: Make this work with automake 1.10 too.
* Post release version bumpJohan Dahlin2006-11-182-1/+5
|
* 2.12.3PYGOBJECT_2_12_3Johan Dahlin2006-11-182-0/+14
|
* Improve exceptionJohan Dahlin2006-11-181-1/+4
|
* Make sure an exception is raised when we pass in invalid arguments to theJohan Dahlin2006-11-183-4/+12
| | | | | | | * gobject/pygoptiongroup.c (pyg_option_group_dealloc): * tests/test_option.py (TestOption.testBadConstructor): Make sure an exception is raised when we pass in invalid arguments to the optiongroup constructor, add a test. #364576 (Laszlo Pandy)
* set __module__ on gobject derived types, fixes #376099Johan Dahlin2006-11-182-2/+17
| | | | | * gobject/pygobject.c (pygobject_register_class): set __module__ on gobject derived types, fixes #376099
* post release version bump ;)Johan Dahlin2006-11-181-1/+1
|
* reviewed by: Johan Dahlin <johan@gnome.org>Yevgen Muntyan2006-11-184-15/+98
| | | | | | | | | | | | | 2006-11-18 Yevgen Muntyan <muntyan@tamu.edu> reviewed by: Johan Dahlin <johan@gnome.org> * gobject/gobjectmodule.c: (create_property): * gobject/pygparamspec.c: (pyg_param_spec_getattr): * tests/test_properties.py: Avoid truncating in pyg_param_spec_getattr, add test for all non-float numeric types. Fixes #353943
* Use PyObject_Cmp instead of comparing function closure addresses, whichJohan Dahlin2006-11-183-12/+27
| | | | | | * gobject/pygtype.c (gclosure_from_pyfunc): Use PyObject_Cmp instead of comparing function closure addresses, which makes it possible to use any callable and not just functions. Fixes #375589 (Dima)
* Revert accidentally commited changesJohan Dahlin2006-11-182-2/+2
|
* Add a test for #375589Johan Dahlin2006-11-183-2/+12
|
* Remove html/pygobject-reference-copyright.html. Fixes #361906 (Marc-AndreJohn Finlay2006-10-132-2/+7
| | | | | | * docs/Makefile.am (HTML_FILES): Remove html/pygobject-reference-copyright.html. Fixes #361906 (Marc-Andre Lureau)
* *** empty log message ***John Finlay2006-10-121-0/+7
|
* Remove Copyright and License section.John Finlay2006-10-122-27/+4
| | | | | | | * docs/reference/pygobject-introduction.xml: Remove Copyright and License section. * docs/reference/pygobject-ref.xml: Remove author info
* Add py_ssize_t_clean flag to be passed to codegen.SourceWriter.Cedric Gustin2006-10-052-3/+11
| | | | | | | 2006-10-05 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py (Template) (TemplateExtension): Add py_ssize_t_clean flag to be passed to codegen.SourceWriter.
* Add pygobject_postinstall.py to EXTRA_DIST.Cedric Gustin2006-10-042-0/+5
| | | | | | 2006-10-04 Cedric Gustin <cedric.gustin@gmail.com> * Makefile.am: Add pygobject_postinstall.py to EXTRA_DIST.
* Post release version bumpJohan Dahlin2006-10-031-0/+4
|
* 2.12.2PYGOBJECT_2_12_2Johan Dahlin2006-10-033-1/+16
|
* Py_ssize_t postfixGustavo J. A. M. Carneiro2006-10-031-0/+1
|
* Python 2.5, int vs ssize_tGustavo J. A. M. Carneiro2006-10-039-50/+96
|
* LGPL, not GPL headerJohan Dahlin2006-09-292-7/+11
| | | | * pygtk.py: LGPL, not GPL header
* (init_pygobject_check): Add parentheses "around && within ||" to please gcc.Gustavo J. A. M. Carneiro2006-09-242-1/+6
|
* Catch ImportError exception when codegen is not available: disableCedric Gustin2006-09-214-73/+177
| | | | | | | | | | | | | | | | | | 2006-09-21 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py: Catch ImportError exception when codegen is not available: disable Template and TemplateExtension, redirect the user to the pygtk installer and raise a NameError exception. check_date has also been rewritten and now uses distutils.dep_util.newer_group(). defs files can also be built using createdefs by passing tuples as keyword argument to Template (see for example the gdk and gtk templates in setup.py). * setup.py: Changed the way the VERSION macro is defined on win32. Also install the html reference documentation, the xsl files and fixxref. * pygobject_postinstall.py: Set the value of DATADIR in fixxref.py. Add functions to install shortcuts in the Start menu to the reference manual (currently disabled: see bug #353849).
* some more emission hook testsGustavo J. A. M. Carneiro2006-09-162-0/+50
|
* signal emission hook refcount fixGustavo J. A. M. Carneiro2006-09-162-1/+5
|
* Declare variables at start of code blockJohn Ehresman2006-09-122-4/+10
| | | | | | | 2006-09-12 John Ehresman <jpe@wingware.com> * gobject/pygobject.h (init_pygobject_check): Declare variables at start of code block
* Increase the timeout to 1000ms instead of 100.Johan Dahlin2006-09-062-1/+6
| | | | | * gobject/pygmainloop.c (pyg_signal_watch_prepare): Increase the timeout to 1000ms instead of 100.
* Improve the version checkPYGOBJECT_2_12_1Johan Dahlin2006-09-043-24/+32
|
* Add a rule for building documentation tarball used on the websiteJohan Dahlin2006-09-041-0/+9
|