| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-11 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 540376 – No TypeError raised when type is None
* gobject/gobjectmodule.c (pyg_signal_new): Add check on second
argument type.
* tests/test_signal.py (TestSignalCreation): New test case.
svn path=/trunk/; revision=942
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* 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)
|
| |
|
| |
|
|
|
|
| |
from constructor
|
|
|
|
| |
Add support for G_TYPE_GSTRING, at least in signals.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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: (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
|
| |
|
| |
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to
allow us to list signals on interfaces.
* tests/test_signal.py (TestList): Two new tests.
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkwidget.override (_wrap_gtk_widget_set_set_scroll_adjustments_signal)
(_wrap_gtk_widget_set_set_scroll_adjustments_signal): Impl.
Patch by Gustavo, fixes #155679
* tests/test_signal.py (TestOldStyleOverride):
Add unittests. Lazy Gustavo.
|
| |
|
|
* tests/test_signal.py: Move some tests from gtype and rename from
signal.py
|