summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2.10.0PYGOBJECT_2_10_0Johan Dahlin2006-03-133-2/+9
|
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Johan Dahlin2006-03-093-12/+36
| | | | | | | | * gobject/pygenum.c: (pyg_enum_new), (pyg_enum_from_gtype), (pyg_enum_add): * gobject/pygflags.c: (pyg_flags_new), (pyg_flags_from_gtype), (pyg_flags_add): Plug a couple of leaks, fixes #334027.
* turn off zip safe, extension modules in zip files are not supported in eggsJohan Dahlin2006-01-201-1/+0
|
* Add a make egg targetJohan Dahlin2006-01-203-0/+29
| | | | | | * configure.ac (export_dynamic): * Makefile.am (egg): Add a make egg target
* post release version bumpJohan Dahlin2006-01-172-1/+5
|
* add enum/conversion herePYGOBJECT_2_9_1Johan Dahlin2006-01-171-0/+2
|
* 2.9.1Johan Dahlin2006-01-172-0/+11
|
* Don't call g_value_init since the other *_to_gvalue methods expect anChristopher Aillon2006-01-152-1/+6
| | | | | | | | 2006-01-15 Christopher Aillon <caillon@redhat.com> * gobject/gobjectmodule.c (pyg_strv_to_gvalue): Don't call g_value_init since the other *_to_gvalue methods expect an already inited GValue
* Warn if io callback returns None: almost always this is an errorGustavo J. A. M. Carneiro2006-01-142-0/+11
|
* pygobject_register_class api compat. fixGustavo J. A. M. Carneiro2006-01-132-8/+38
|
* ignore interfaces from .defs, discover them at runtimeGustavo J. A. M. Carneiro2006-01-132-40/+73
|
* Add add/remove_emission_hook and tests. Fixes #325977Johan Dahlin2006-01-133-1/+187
| | | | | | | | | | * gobject/gobjectmodule.c: (pyg_io_add_watch), (marshal_emission_hook), (pyg_add_emission_hook), (pyg_remove_emission_hook): * gobject/pygobject.c: * tests/test_signal.py: Add add/remove_emission_hook and tests. Fixes #325977
* signal accumulatorsGustavo J. A. M. Carneiro2006-01-114-4/+161
|
* reorder more nicely information presented in docstring about signals and ↵Gustavo J. A. M. Carneiro2006-01-112-11/+20
| | | | properties
* branch; version 2.9.1Gustavo J. A. M. Carneiro2006-01-112-1/+5
|
* post release version bumpJohan Dahlin2006-01-091-1/+1
|
* 2.8.0PYGOBJECT_2_8_0Johan Dahlin2006-01-093-3/+3
|
* 2.9.0PYGOBJECT_2_9_0Johan Dahlin2006-01-092-0/+7
|
* Make dist/distcheck work againJohan Dahlin2006-01-094-4/+27
|
* updateJohan Dahlin2006-01-091-0/+2
|
* Add distutils supportJohan Dahlin2006-01-094-3/+240
| | | | | | * setup.py: Add distutils support * dsextras.py (get_m4_define): Check for configure.ac aswell.
* Split out PyGObject from PyGTK.Johan Dahlin2006-01-0935-527/+1693
|
* Pass GLOBAL_MACROS (in particular HAVE_PYCAIRO) to codegen DefsParser. IfCedric Gustin2006-01-041-2/+2
| | | | | | | | | 2006-01-04 Cedric Gustin <cedric.gustin@gmail.com> * dsextras.py (Template.generate): Pass GLOBAL_MACROS (in particular HAVE_PYCAIRO) to codegen DefsParser. * setup.py: If pangocairo is enabled, add pycairo to the list of packages required to build the GTK+ module. Also set HAVE_PYCAIRO.
* fix pygflags registration with module == NULLGustavo J. A. M. Carneiro2005-12-241-12/+15
|
* We always need to free interfaces since its a null terminated array.Johan Dahlin2005-11-151-1/+1
| | | | | * gobject/pygobject.c (pygobject_new_with_interfaces): We always need to free interfaces since its a null terminated array.
* Remove deprecation warningJohan Dahlin2005-11-131-13/+1
|
* plug leak; add glade test; fix warning messageGustavo J. A. M. Carneiro2005-11-094-5/+39
|
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Manish Singh2005-11-034-29/+54
| | | | | | | | | | | | 2005-11-03 Manish Singh <yosh@gimp.org> reviewed by: Johan Dahlin <jdahlin@async.com.br> * gobject/gobjectmodule.c: (pyg_integer_richcompare): * gobject/pygenum.c: (pyg_enum_richcompare): * gobject/pygflags.c: (pyg_flags_richcompare): * gobject/pygobject-private.h: Prepare for Python 2.5 richcompare changes, fixes #320455.
* Add testJohan Dahlin2005-10-142-0/+13
| | | | | | | | | * tests/Makefile.am (tests): * tests/test_gdk.py: Add test * gtk/gdk.defs (pixmap_create_from_data) (bitmap_create_from_data): use guchar* instead of gchar, fixes #318874 (Bob Gibbs)
* Use GIL state instead of block/unblock. Fixes crasher found by Ole AndrePYGTK_2_8_2Johan Dahlin2005-10-091-2/+5
| | | | | | * gobject/pygiochannel.c: (pyg_iowatch_marshal): Use GIL state instead of block/unblock. Fixes crasher found by Ole Andre Valda Ravnås.
* Fix gcc 4.0 warnings.PYGTK_2_8_1Johan Dahlin2005-10-031-2/+2
| | | | | | | | | * gobject/pygobject.c: (PyGProps_length): * gtk/gdk.defs: * gtk/gdk.override: * gtk/gtk.defs: * gtk/gtk.override: Fix gcc 4.0 warnings.
* Check if the gobject is initialized, partly fixes #96658Johan Dahlin2005-10-031-1/+59
| | | | | | | | | | | | | * gobject/pygobject.c: (pygobject_get_property), (pygobject_set_property), (pygobject_freeze_notify), (pygobject_notify), (pygobject_thaw_notify), (pygobject_get_data), (pygobject_set_data), (pygobject_connect), (pygobject_connect_after), (pygobject_connect_object), (pygobject_connect_object_after), (pygobject_disconnect), (pygobject_handler_is_connected), (pygobject_handler_block), (pygobject_emit), (pygobject_stop_emission), (pygobject_chain_from_overridden): Check if the gobject is initialized, partly fixes #96658
* guint64 property fixGustavo J. A. M. Carneiro2005-10-022-11/+12
|
* add (disabled) uint64 testJohan Dahlin2005-10-021-3/+19
|
* unit test for gobject.new error bugGustavo J. A. M. Carneiro2005-10-011-0/+3
|
* fix segfaul on error return in gobject.newGustavo J. A. M. Carneiro2005-10-011-4/+4
|
* Undeprecate for now.Johan Dahlin2005-09-291-10/+12
| | | | | | * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name), (pyg_type_parent), (pyg_type_is_a), (pyg_type_children), (pyg_type_interfaces): Undeprecate for now.
* workaround gtk bug #317455Gustavo J. A. M. Carneiro2005-09-282-0/+15
|
* Bug 317172: gtk.glade.signal_autoconnect causes leaked objectsGustavo J. A. M. Carneiro2005-09-252-1/+30
|
* Include the object and the name of the signal in TypeErrorsJohan Dahlin2005-09-222-7/+21
| | | | | | | | | * gobject/gobjectmodule.c: (pyg_type_from_name): * gobject/pygobject.c: (pygobject_connect), (pygobject_connect_after), (pygobject_connect_object), (pygobject_connect_object_after), (pygobject_emit), (pygobject_stop_emission): Include the object and the name of the signal in TypeErrors
* Add gobject.Warning Warning subclass and redirect all g_log messages forJohn Ehresman2005-09-161-0/+26
| | | | | | | | | | | | | | | | | | | 2005-09-16 John Ehresman <jpe@wingware.com> * gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass and redirect all g_log messages for the "GLib", "Glib-GObject", and "GThread" domains to the python warning system * pangomodule.c (initpango): Add pango.Warning Warning subclass and redirect all g_log messages for the "Pango" domain to the python warning system * gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk module to the gtk module and added redirections for g_log messages for the "Gdk" and "GdkPixbuf" domains to the python warning system * gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward compatibility
* better error messages when registering propertiesGustavo J. A. M. Carneiro2005-09-131-0/+10
|
* Sort all attributes alphabetically, like python does. Set default value toJohan Dahlin2005-09-021-57/+60
| | | | | | | * gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes alphabetically, like python does. Set default value to None (pyg_param_spec_getattr): Add default_values fallback, for backwards compatibility.
* [Bug 315100] gobject.type_register if parameter is not a typeGustavo J. A. M. Carneiro2005-09-022-1/+4
|
* Also include interfaces, fixes #315038Johan Dahlin2005-09-021-2/+8
| | | | | * gobject/gobjectmodule.c: (pyg_signal_list_names): Also include interfaces, fixes #315038
* Remove old .msc files, which are outdated and unused.Johan Dahlin2005-09-021-92/+0
| | | | | | | | | * Makefile.am: * gobject/makefile.msc: * gtk/Makefile.am: * gtk/makefile.msc: * makefile.msc: Remove old .msc files, which are outdated and unused.
* Remove unneeded g_strdup.PYGTK_2_8_0John Ehresman2005-08-291-3/+2
| | | | | * gobject/pygobject.c (pygobjectmeta_register): Remove unneeded g_strdup.
* Refactor to allow us to list signals on interfaces.Johan Dahlin2005-08-262-18/+28
| | | | | | | * gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to allow us to list signals on interfaces. * tests/test_signal.py (TestList): Two new tests.
* some memory fixes in type registrationGustavo J. A. M. Carneiro2005-08-253-11/+19
|
* In the meta-class __init__ method, register a class as a gtype iffJohn Ehresman2005-08-241-15/+11
| | | | | | * gobject/pygobject.c: In the meta-class __init__ method, register a class as a gtype iff __gsignals__, __gproperties__, or __gtype_name__ is defined in the leaf class's tp_dict.