| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
| |
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* gobject/__init__.py (GObjectMeta._install_properties):
Refactor a bit to make sure that it is possible to use in subclasses,
fixes #470718 (Marco Giusti)
svn path=/trunk/; revision=699
|
| |
|
|
| |
svn path=/trunk/; revision=698
|
| |
|
|
| |
svn path=/trunk/; revision=697
|
| |
|
|
| |
svn path=/trunk/; revision=695
|
| |
|
|
|
|
| |
results
svn path=/trunk/; revision=694
|
| |
|
|
| |
svn path=/trunk/; revision=691
|
| |
|
|
| |
svn path=/trunk/; revision=690
|
| |
|
|
|
|
| |
affecting GError exceptions. Fixes #342948.
svn path=/trunk/; revision=689
|
| |
|
|
| |
svn path=/trunk/; revision=684
|
| |
|
|
| |
svn path=/trunk/; revision=683
|
| |
|
|
| |
svn path=/trunk/; revision=681
|
| |
|
|
|
|
| |
(marshal/unmarshal for GValue-wrapped GValue)
svn path=/trunk/; revision=680
|
| |
|
|
|
|
|
|
|
|
|
| |
2007-07-04 Murray Cumming <murrayc@murrayc.com>
* gobject/pygobject.c: (pygobject_switch_to_toggle_ref):
* gobject/pygobject.h: Rename the private struct field to
private_flags, because private is a C++ keyword, so this broke
builds of some C++ applications, such as Glom.
svn path=/trunk/; revision=679
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-02 Sebastian Granjoux <seb.sfo@free.fr>
reviewed by: Johan Dahlin
* gobject/gobjectmodule.c: (pyg_gerror_exception_check):
* tests/test_gtype.py:
* tests/testhelpermodule.c: (_wrap_test_gerror_exception):
Fix a bug in pyg_error_exception_check, add a test, Fixes #449879
svn path=/trunk/; revision=678
|
| |
|
|
|
|
| |
subclassing
svn path=/trunk/; revision=677
|
| |
|
|
| |
svn path=/trunk/; revision=675
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-06 Yevgen Muntyan <muntyan@tamu.edu>
OK'd by Johan
* gobject/generate-constants.c: Return 0 from main().
* gobject/Makefile.am: use generate-constants$(EXEEXT) instead
of generate-constants in the constants.py target rule.
svn path=/trunk/; revision=674
|
| |
|
|
| |
svn path=/trunk/; revision=672
|
| |
|
|
|
|
|
|
|
|
| |
* gobject/propertyhelper.py:
* tests/test_properties.py:
Store property values in the descriptor per instance, add a test.
svn path=/trunk/; revision=665
|
| |
|
|
| |
svn path=/trunk/; revision=664
|
| |
|
|
| |
svn path=/trunk/; revision=663
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/properties.py:
* gobject/Makefile.am:
* gobject/__init__.py:
* gobject/constants.py.in:
* gobject/generate-constants.c: (main):
* gobject/propertyhelper.py:
* tests/Makefile.am:
* tests/test_enum.py:
* tests/test_interface.py:
* tests/test_properties.py:
Add a property helper, fixes #338098
svn path=/trunk/; revision=662
|
| |
|
|
| |
svn path=/trunk/; revision=658
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <johan@gnome.org>
* gobject/pygtype.c: (pyg_value_array_from_pyobject):
* tests/test_gtype.py:
* tests/testhelpermodule.c: (_wrap_test_value_array):
Treat None in a GValueArray as pointer/NULL, patch by
Ed Catmur, fixes #352209.
svn path=/trunk/; revision=656
|
| |
|
|
|
|
|
|
| |
* gobject/pygflags.c: (pyg_flags_from_gtype):
Fix leak, patch by Daniel Berrange. Fixes #428726 (Phil Dumont)
svn path=/trunk/; revision=653
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
svn path=/trunk/; revision=646
|
| |
|
|
|
|
| |
a GError** parameter
svn path=/trunk/; revision=645
|
| |
|
|
| |
svn path=/trunk/; revision=644
|
| |
|
|
|
|
| |
of macros
svn path=/trunk/; revision=643
|
| |
|
|
| |
svn path=/trunk/; revision=642
|
| |
|
|
| |
svn path=/trunk/; revision=640
|
| |
|
|
|
|
|
|
|
| |
* gobject/pygobject.c: (set_property_from_pspec):
Release the GIL when calling g_object_set_property, since setting a
property might trigger some code that might come back in python land.
Fixes #395048
svn path=/trunk/; revision=638
|
| |
|
|
| |
svn path=/trunk/; revision=636
|
| | |
|
| |
|
|
|
|
|
| |
* gobject/pygoptiongroup.c (pyg_option_group_dealloc):
* tests/test_option.py (TestOption.testBadConstructor):
Make sure an exception is raised when we pass in invalid arguments
to the optiongroup constructor, add a test. #364576 (Laszlo Pandy)
|
| |
|
|
|
| |
* gobject/pygobject.c (pygobject_register_class): set __module__ on
gobject derived types, fixes #376099
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2006-11-18 Yevgen Muntyan <muntyan@tamu.edu>
reviewed by: Johan Dahlin <johan@gnome.org>
* gobject/gobjectmodule.c: (create_property):
* gobject/pygparamspec.c: (pyg_param_spec_getattr):
* tests/test_properties.py:
Avoid truncating in pyg_param_spec_getattr, add test for all non-float
numeric types. Fixes #353943
|
| |
|
|
|
|
| |
* 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)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
2006-09-12 John Ehresman <jpe@wingware.com>
* gobject/pygobject.h (init_pygobject_check): Declare variables
at start of code block
|
| |
|
|
|
| |
* gobject/pygmainloop.c (pyg_signal_watch_prepare): Increase the timeout
to 1000ms instead of 100.
|
| | |
|
| | |
|