| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
from constructor
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2006-08-15 Murray Cumming <murrayc@murrayc.com>
* gobject/pygobject-private.h:
* gobject/pygobject.h:
Replace uses of typename with type_name, because that is a
reserved C++ keyword. This was breaking compilation of Glom
due its use in the new type_register_custom function pointer in
pygobject.h.
|
|
|
|
|
| |
* gobject/pygobject.h (pyg_param_gvalue_from_pyobject): Fix define
to point to the correct function pointer field.
|
| |
|
| |
|
|
|
|
|
| |
* gobject/pygobject.h (init_pygobject_check): Add a macro to easily
check the installed pygobject version.
|
|
|
|
|
|
| |
* gobject/pygflags.c (pyg_flags_add)
* gobject/pygenum.c (pyg_enum_add): Duplicate the string before
sending it to python. Fixes GCC warnings.
|
| |
|
|
|
|
|
|
| |
* gobject/pygflags.c (pyg_flags_get_first_value_name)
(pyg_flags_get_first_value_nick): Avoid segfault when
g_flags_get_first_value returns NULL.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c: (pyg_type_from_name),
(get_type_name_for_class):
* gobject/pygobject-private.h:
* gobject/pygobject.c: (pygobject_new_with_interfaces),
(pygobject_lookup_class), (pygobject_emit):
* gobject/pygobject.h:
* gobject/pygtype.c: (_wrap_g_type_from_name),
(pyg_type_from_object), (pyg_type_register_custom_callback),
(pyg_type_get_custom), (_pyg_type_from_name):
Add infrastructure for lazy type registration, fixes #
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* gobject/pygiochannel.c (py_io_channel_init): Fix message typo.
|
| |
|
|
|
|
| |
Add support for G_TYPE_GSTRING, at least in signals.
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_object_class_list_properties)
(pyg_signal_list_ids, pyg_signal_lookup, pyg_signal_query): Add
support for retrieving signal and propertie info from interface types.
|
| |
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_spawn_async)
(pyg_signal_new): Fix two leaks in error cases, found by
Coverity.
|
| |
|
| |
|
|
|
|
| |
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
|
| |
|