| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
APIs (bug #323786 again).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-04-29 Johannes Hölzl <johannes.hoelzl@gmx.de>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* examples/Makefile.am:
* examples/option.py:
* gobject/Makefile.am:
* gobject/gobjectmodule.c: (init_gobject):
* gobject/option.py:
* gobject/pygobject-private.h:
* gobject/pygoptioncontext.c: (pyg_option_context_init),
(pyg_option_context_dealloc), (pyg_option_context_parse),
(pyg_option_context_set_help_enabled),
(pyg_option_context_get_help_enabled),
(pyg_option_context_set_ignore_unknown_options),
(pyg_option_context_get_ignore_unknown_options),
(pyg_option_context_set_main_group),
(pyg_option_context_get_main_group),
(pyg_option_context_add_group), (pyg_option_context_compare),
(pyg_option_context_new):
* gobject/pygoptiongroup.c: (check_if_owned), (destroy_g_group),
(pyg_option_group_init), (pyg_option_group_dealloc), (arg_func),
(pyg_option_group_add_entries),
(pyg_option_group_set_translation_domain),
(pyg_option_group_compare), (pyg_option_group_transfer_group),
(pyg_option_group_new):
* tests/test_option.py:
Add support for GOption, fixes #163645
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/pygtype.c (gclosure_from_pyfunc):
* gobject/pygobject.c (pygobject_disconnect_by_func)
(pygobject_handler_block_by_func)
(pygobject_handler_unblock_by_func):
* tests/test_signal.py (TestEmissionHook._callback):
Fix #154845, add tests and a private method.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (init_gobject):
* gobject/__init__.py:
Move over almost all GType constants from C to Python.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
add gobject/__init__.py. Update macros and testsuite.
|
|
|
|
|
|
|
|
|
|
|
| |
2006-04-11 Andy Wingo <wingo@pobox.com>
reviewed by: Johan Dahlin <jdahlin@async.com.br>
* gobject/gobjectmodule.c (create_property): Parse unsigned int64
constraints in param spec declaration using the "K" ParseTuple
format unit, not L -- allows the full range of the datatype to be
parsed. K format unit added in python 2.3.
|
|
|
|
| |
instead of list
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
properties
|
| |
|
| |
|
|
|
|
|
| |
* gobject/pygobject.c (pygobject_new_with_interfaces): We always
need to free interfaces since its a null terminated array.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* gobject/pygiochannel.c: (pyg_iowatch_marshal):
Use GIL state instead of block/unblock. Fixes crasher found
by Ole Andre Valda Ravnås.
|
|
|
|
|
|
|
|
|
| |
* gobject/pygobject.c: (PyGProps_length):
* gtk/gdk.defs:
* gtk/gdk.override:
* gtk/gtk.defs:
* gtk/gtk.override:
Fix gcc 4.0 warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
* gobject/gobjectmodule.c: (pyg_signal_list_names):
Also include interfaces, fixes #315038
|
|
|
|
|
|
|
|
|
| |
* Makefile.am:
* gobject/makefile.msc:
* gtk/Makefile.am:
* gtk/makefile.msc:
* makefile.msc:
Remove old .msc files, which are outdated and unused.
|
|
|
|
|
| |
* gobject/pygobject.c (pygobjectmeta_register): Remove unneeded
g_strdup.
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to
allow us to list signals on interfaces.
* tests/test_signal.py (TestList): Two new tests.
|