summaryrefslogtreecommitdiffstats
path: root/gobject
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 353039 – Failure in signal emission during do_set_property invoked ↵Gustavo J. A. M. Carneiro2006-08-271-5/+11
| | | | from constructor
* type registration fixGustavo J. A. M. Carneiro2006-08-261-2/+74
|
* fix interface registrationGustavo J. A. M. Carneiro2006-08-171-31/+31
|
* Replace uses of typename with type_name, because that is a reserved C++Murray Cumming2006-08-152-7/+7
| | | | | | | | | | | 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.
* Fix define to point to the correct function pointer field.John Finlay2006-07-301-1/+1
| | | | | * gobject/pygobject.h (pyg_param_gvalue_from_pyobject): Fix define to point to the correct function pointer field.
* better debug warningsGustavo J. A. M. Carneiro2006-07-292-2/+10
|
* Fix 3 ! problems caused by refactoringJohan Dahlin2006-07-251-22/+24
|
* Add a macro to easily check the installed pygobject version.Johan Dahlin2006-07-251-0/+24
| | | | | * gobject/pygobject.h (init_pygobject_check): Add a macro to easily check the installed pygobject version.
* gobject/pygflags.c (pyg_flags_add) Duplicate the string before sending itJohan Dahlin2006-07-252-9/+13
| | | | | | * gobject/pygflags.c (pyg_flags_add) * gobject/pygenum.c (pyg_enum_add): Duplicate the string before sending it to python. Fixes GCC warnings.
* Fix typo in Finlays commitJohan Dahlin2006-07-251-2/+2
|
* Avoid segfault when g_flags_get_first_value returns NULL.John Finlay2006-07-251-3/+12
| | | | | | * 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.
* Add infrastructure for lazy type registration, fixes #Johan Dahlin2006-07-135-11/+102
| | | | | | | | | | | | | * 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 #
* goption leak fixedGustavo J. A. M. Carneiro2006-07-131-2/+2
|
* interface implementation fixGustavo J. A. M. Carneiro2006-07-091-10/+10
|
* missing iinfo.interface_data, needed for interface implementationGustavo J. A. M. Carneiro2006-07-091-1/+4
|
* indentationJohan Dahlin2006-07-071-1/+1
|
* Fix message typo.John Finlay2006-07-051-2/+2
| | | | * gobject/pygiochannel.c (py_io_channel_init): Fix message typo.
* gobject.filename_from_utf8Gustavo J. A. M. Carneiro2006-06-241-2/+27
|
* Bindings for g_filename_display_basename and g_filename_display_name;Gustavo J. A. M. Carneiro2006-06-244-6/+59
| | | | Add support for G_TYPE_GSTRING, at least in signals.
* Add support for retrieving signal and propertie info from interface types.John Finlay2006-06-231-42/+75
| | | | | | * 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.
* Add Py_CLEAR macro for 2.3 compatibilityJohan Dahlin2006-06-051-0/+12
|
* Fix two leaks in error cases, found by Coverity.Johan Dahlin2006-06-041-0/+2
| | | | | | * gobject/gobjectmodule.c (pyg_spawn_async) (pyg_signal_new): Fix two leaks in error cases, found by Coverity.
* gobject.new fix for 'subsubtype' caseGustavo J. A. M. Carneiro2006-05-283-8/+14
|
* Bug 341174 – Be more specific in set/get_property error messagesGustavo J. A. M. Carneiro2006-05-201-5/+7
|
* Add new pyg_add_warning_redirection and pyg_disable_warning_redirections ↵Gustavo J. A. M. Carneiro2006-05-072-12/+69
| | | | APIs (bug #323786 again).
* fix PyGOptionContext instance typeGustavo J. A. M. Carneiro2006-05-071-1/+1
|
* gobject.Pid.closeGustavo J. A. M. Carneiro2006-05-011-1/+14
|
* Bug 340160 – g_spawn wrapper thinks GPid is an intGustavo J. A. M. Carneiro2006-05-011-1/+71
|
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Johannes Hölzl2006-04-296-2/+1020
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Forgot thisJohan Dahlin2006-04-291-0/+1
|
* Fix #154845, add tests and a private method.Johan Dahlin2006-04-292-0/+114
| | | | | | | | | | | | * 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.
* ABI compatibility fixesGustavo J. A. M. Carneiro2006-04-152-2/+3
|
* fix gobject installation dirGustavo J. A. M. Carneiro2006-04-151-4/+6
|
* wrap on 80 linesJohan Dahlin2006-04-111-54/+107
|
* Move over almost all GType constants from C to Python.Johan Dahlin2006-04-112-24/+27
| | | | | | * gobject/gobjectmodule.c (init_gobject): * gobject/__init__.py: Move over almost all GType constants from C to Python.
* make gustavo happyJohan Dahlin2006-04-111-6/+6
|
* minor cleanupsJohan Dahlin2006-04-111-7/+10
|
* Move GObjectMeta from C to python-landGustavo J. A. M. Carneiro2006-04-114-99/+36
|
* typoJohan Dahlin2006-04-111-1/+1
|
* Turn gobject into a package; move _gobject to gobject._gobject andJohan Dahlin2006-04-115-10/+45
| | | | add gobject/__init__.py. Update macros and testsuite.
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Andy Wingo2006-04-111-1/+1
| | | | | | | | | | | 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.
* Bug 334318 – gtk.AboutDialog crashes with 'authors' parameter as string ↵Gustavo J. A. M. Carneiro2006-04-011-3/+5
| | | | instead of list
* update a commentGustavo J. A. M. Carneiro2006-03-191-2/+1
|
* reviewed by: Johan Dahlin <jdahlin@async.com.br>Johan Dahlin2006-03-092-12/+26
| | | | | | | | * 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.
* Don't call g_value_init since the other *_to_gvalue methods expect anChristopher Aillon2006-01-151-1/+0
| | | | | | | | 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-141-0/+6
|
* pygobject_register_class api compat. fixGustavo J. A. M. Carneiro2006-01-131-7/+33
|
* ignore interfaces from .defs, discover them at runtimeGustavo J. A. M. Carneiro2006-01-131-40/+60
|
* Add add/remove_emission_hook and tests. Fixes #325977Johan Dahlin2006-01-131-1/+138
| | | | | | | | | | * 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-111-3/+97
|