| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-26 Johan Dahlin <johan@gnome.org>
* tests/common.py:
* tests/test_conversion.py:
* tests/test_enum.py:
* tests/test_interface.py:
* tests/test_option.py:
* tests/test_source.py:
* tests/test_subprocess.py:
* tests/test_subtype.py:
* tests/test_thread.py:
* tests/test_unknown.py:
Run pyflakes on the testsuite, remove unused imports
and reorganize others.
svn path=/trunk/; revision=859
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-02 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/pygenum.c: bug #428732
(pyg_enum_new): Fix two wrong assertions about '__enum_values__'
size and contents.
(pyg_enum_reduce): New function (based on patch by Phil Dumont).
(pyg_enum_methods): Hook it up.
svn path=/trunk/; revision=756
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c: (create_property):
Allow enums to be specified in the constructor
* gobject/pygparamspec.c: (pyg_param_spec_getattr):
Return flags or enum object for pspec.default_value
* tests/test_enum.py: Remove usage of assert statement,
add default_value test, both for flags and enum
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name),
(pyg_type_parent), (pyg_type_is_a), (pyg_type_children),
(pyg_type_interfaces), (get_type_name_for_class), (initgobject):
* gobject/pygtype.c: (_wrap_g_type_is_a), (pyg_type_wrapper_init):
* tests/test_enum.py:
* tests/test_gtype.py:
* tests/test_unknown.py:
Add GType.is_a and deprecate gobject.type_*
Update tests
and make GType.is_a/gobject.type_is_a return a bool instead of int
|
|
* tests/test_radiobutton.py (RadioButtonTest): New test.
* tests: Renamed *.py to test_*.py
|