| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* tests/test_radiobutton.py (RadioButtonTest): New test.
* tests: Renamed *.py to test_*.py
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/pygflags.c (pyg_flags_from_gtype): Don't comment out the
fallback, it break the test. (Wow, the testsuite caught another bug!)
* tests/enum.py: Additional tests.
* gobject/pygenum.c (pyg_enum_repr): Don't use g_enum_get_value,
use enum_class->values[n].value_name instead. Also check if the
value is NULL or not. This makes gtk.icon_size_register work a
little bit better.
|
|
|
|
|
| |
* codegen/codegen.py (Wrapper.write_methods): Use methflags
argument for defines instead of discarding it
|
|
|
|
|
|
|
|
| |
* tests/enum.py (EnumTest.testOutofBounds): New test.
* gobject/pygflags.c (pyg_flags_from_gtype):
* gobject/pygenum.c (pyg_enum_from_gtype): Don't segfault on
unknown values.
|
|
|
|
|
| |
* tests/gtype.py (GTypeTest.checkType): Use
gobject.type_name,type_from_name for testing instead of GtkListStore.
|
| |
|
|
|
|
|
|
|
|
| |
* gobject/pygenum.c (pyg_enum_compare):
* gobject/pygflags.c (pyg_flags_compare): Reverse operator
* tests/enum.py (FlagsTest.testComparision)
(FlagsTest.testComparision): New tests
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/pygflags.c (pyg_flags_get_first_value_name)
(pyg_flags_get_first_value_nick): Add, so Lorenzo can introspect
flags properly too
(pyg_flags_get_value_names, pyg_flags_get_value_nicks): Make this
a little bit more useful. All values can still be fetch
through __flags_values__
* tests/enum.py: Improve and extend to test most enum/flags operations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/enum.py (EnumTest.testWindowGetState): Fix, a window is
really WITHDRAWN if it's not SHOWN and not ICONIFIED...
* tests/common.py: Add .. and ../gobject when distcheck isn't ran
* gobject/pygenum.c: Use a dict instead of a tuple for
__enum_values__, so we can handle negative enum values (eg: GDK_NOTHING)
* gobject/pyflags.c: Ditto for __flag_values__
* gobject/pygparamspec.c (pyg_param_spec_getattr): reference count fixing
|
|
|
|
|
|
|
|
|
|
|
| |
* gobject/Makefile.am:
* setup.py:
* makefile.msc: Update, why do I even bother to update 3 different
build systems?
* gobject/: Split out GParamSpec, GMainLoop, GMainContext and
GPointer to separate files. Also remove *.h files and go back to
the old scheme (everything in pygobject.h)
|
|
|
|
|
|
| |
* description.py: Remove, out of date since 0.6.x!
* tests/Makefile.am, tests/common.py: Make distcheck pass
|
|
* tests/enum.py: add, forgot it in last commit
* gobject/: Move gobject source files in here.
|