summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Fix occasional build failures after the 'ltihooks.py' removalPaul Pogonyshev2009-04-291-1/+1
| | | | | Simply amend all related symbolic link creation so that any errors are ignored.
* Remove 'ltihooks.py' as using deprecated Python module.Paul Pogonyshev2009-04-181-0/+7
| | | | | | | Remove the script and all related imports. All relevant Makefile's now create symbolic links for '.so' files from '.libs' to the level up, so that C helper modules are still importable in built, but not installed source tree.
* Bad -I ordering can break build fixes #566737Gian Mario Tagliaretti2009-01-061-2/+2
| | | | svn path=/trunk/; revision=993
* Bug 546135 – GIcon and implementations improvementsPaul Pogonyshev2008-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-09 Paul Pogonyshev <pogonyshev@gmx.net> Bug 546135 – GIcon and implementations improvements * gio/gio.defs (gio.LoadableIcon.load) (gio.LoadableIcon.load_async, gio.LoadableIcon.load_finish): Document. * gio/Makefile.am: * gio/gicon.override: New file: parts of 'gio.override', three methods of gio.LoadableIcon and gio.ThemedIcon constructor. * gio/gio.override: Move over all icon-related overrides to 'gicon.override'. * tests/Makefile.am: * tests/test_gicon.py: New file: parts of 'test_gio.py' and several new gio.Icon tests. * tests/test_gio.py (TestThemedIcon): Move over to 'test_gicon.py'. svn path=/trunk/; revision=931
* include test_gio.py in the testsJohan Dahlin2008-08-091-0/+1
| | | | svn path=/trunk/; revision=930
* Make distcheck passJohan Dahlin2008-07-251-1/+4
| | | | | | | | | | | 2008-07-25 Johan Dahlin <johan@gnome.org> * gobject/Makefile.am: * tests/Makefile.am: Make distcheck pass svn path=/trunk/; revision=854
* Make sure we can distcheck the gio module properlyJohan Dahlin2008-07-141-1/+4
| | | | | | | | | | 2008-07-15 Johan Dahlin <johan@gnome.org> * tests/Makefile.am: Make sure we can distcheck the gio module properly svn path=/trunk/; revision=808
* Set gobject.GObject.__module__ to gobject._gobject, this helps pylint toJohan Dahlin2008-04-151-0/+1
| | | | | | | | | | | | | | | | | 2008-04-15 Johan Dahlin <johan@gnome.org> * gobject/gobjectmodule.c (init_gobject): Set gobject.GObject.__module__ to gobject._gobject, this helps pylint to check public methods of GObject subclasses * tests/Makefile.am (tests): * tests/test_gobject.py (TestGObjectAPI.testGObjectModule): Add a test for this (#523821, Simon Schampijer) svn path=/trunk/; revision=777
* removed unwanted definesGustavo J. A. M. Carneiro2007-08-271-2/+1
| | | | svn path=/trunk/; revision=697
* Bug 339924 – gnome-python doesn't compile on opensolarisGustavo J. A. M. Carneiro2007-05-091-1/+2
| | | | svn path=/trunk/; revision=672
* Add a property helper, fixes #338098Johan Dahlin2007-05-011-3/+3
| | | | | | | | | | | | | | | | | * 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
* Add Interface implementation testJohan Dahlin2006-07-101-0/+1
|
* Turn gobject into a package; move _gobject to gobject._gobject andJohan Dahlin2006-04-111-1/+7
| | | | add gobject/__init__.py. Update macros and testsuite.
* add enum/conversion herePYGOBJECT_2_9_1Johan Dahlin2006-01-171-0/+2
|
* Make dist/distcheck work againJohan Dahlin2006-01-091-1/+7
|
* Split out PyGObject from PyGTK.Johan Dahlin2006-01-091-21/+2
|
* plug leak; add glade test; fix warning messageGustavo J. A. M. Carneiro2005-11-091-0/+1
|
* Add testJohan Dahlin2005-10-141-0/+1
| | | | | | | | | * tests/Makefile.am (tests): * tests/test_gdk.py: Add test * gtk/gdk.defs (pixmap_create_from_data) (bitmap_create_from_data): use guchar* instead of gchar, fixes #318874 (Bob Gibbs)
* workaround gtk bug #317455Gustavo J. A. M. Carneiro2005-09-281-0/+1
|
* Bug 317172: gtk.glade.signal_autoconnect causes leaked objectsGustavo J. A. M. Carneiro2005-09-251-1/+1
|
* gobject/pygobject-private.h gobject/gobjectmodule.c gobject/Makefile.amManish Singh2005-07-101-1/+2
| | | | | | | | | | | | | | | | | | * gobject/pygobject-private.h * gobject/gobjectmodule.c * gobject/Makefile.am * gobject/pygsource.c: GSource wrapper, allows for pure python GSource implementations, as well as objectifying Idle and Timeout sources. * tests/Makefile.am * tests/test_source.py: Add test for the above. * gobject/gobjectmodule.c: timeout_add should take an explicit unsigned value. Also wrap g_get_current_time and g_main_depth. * gobject/pygiochannel.c (py_io_channel_write_chars): fix thread unblock/block logic.
* Bug 161177: Allow creation of python classes from g_object_newGustavo J. A. M. Carneiro2005-07-091-1/+1
|
* Add GObject support, patch mostly based on Iñaki and Gustavos work.Johan Dahlin2005-07-081-0/+1
| | | | | | | | | | | | | * gobject/gobjectmodule.c: (initgobject): * gobject/pygobject-private.h: * gobject/pygobject.c: (pyg_props_iter_dealloc), (pygobject_props_iter_next), (PyGProps_dealloc), (build_parameter_list), (PyGProps_getattro), (PyGProps_setattro), (pygobject_props_traverse), (pygobject_props_get_iter), (PyGProps_length), (pyg_props_descr_descr_get): * tests/Makefile.am: Add GObject support, patch mostly based on Iñaki and Gustavos work. Unittests added, fixes #81879
* Fix for bug #303573 - "exceptions raised in a child watch handler areMark McLoughlin2005-05-091-0/+1
| | | | | | | | | | | | | | | | | | 2005-05-09 Mark McLoughlin <mark@skynet.ie> Fix for bug #303573 - "exceptions raised in a child watch handler are silently swallowed" * gobject/gobjectmodule.c: (child_watch_func), (_pyg_spawn_async_callback): if PyObject_CallFunction() returns NULL, print a traceback of the exception. * tests/test_mainloop.py: add testcase. * tests/Makefile.am: add test_mainloop.py Reviewed by Johan Dahlin <johan@gnome.org>
* Bug 302622: Assignment to gtk.gdk.Event.window is buggyGustavo J. A. M. Carneiro2005-05-021-0/+1
|
* New test.Johan Dahlin2005-03-161-4/+5
| | | | | | * tests/test_radiobutton.py (RadioButtonTest): New test. * tests: Renamed *.py to test_*.py
* Make testsuite work and do things the way they were supposed to be doneJohan Dahlin2005-01-101-5/+9
| | | | | | | | * tests/Makefile.am: * tests/common.py: * tests/runtests.py: * tests/test_thread.py: Make testsuite work and do things the way they were supposed to be done from the beginning.
* gobject.child_add_watch and gobject.spawn_asyncGustavo J. A. M. Carneiro2005-01-091-0/+1
|
* 2.5.0PYGTK_2_5_0Johan Dahlin2004-11-291-1/+1
|
* Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the samepygtk-2-4-anchorPYGTK_2_4_1Johan Dahlin2004-11-041-1/+2
| | | | | | | | * gtk/gtk.override (_wrap_gtk_dialog_add_buttons): Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the same behavior as in add_button. Reported by Maciej Katafiasz, fixes #156707 * tests/test_dialog.py: Add test for it
* Add tests for dynamic/unknown objects and interfacesJohan Dahlin2004-11-041-2/+7
|
* Add thread stuff, that emits stuff from another thread and does some enumJohan Dahlin2004-09-271-0/+1
| | | | | | * tests/testhelpermodule.c: * tests/test_thread.py: Add thread stuff, that emits stuff from another thread and does some enum magic.
* Small c module to help testingJohan Dahlin2004-09-271-3/+20
| | | | | | | * tests/testhelper.c: Small c module to help testing * tests/test_subtype.py: tests for this, use testhelper here aswell
* Revert parts of Gustavos changes, so the size of interfaces are correct.Johan Dahlin2004-09-271-1/+2
| | | | | | | * codegen/codegen.py (FileOutput.resetline): Revert parts of Gustavos changes, so the size of interfaces are correct. * tests/test_subtype.py: tests for this.
* Move some tests from gtype and rename from signal.pyJohan Dahlin2004-09-251-1/+1
| | | | | * tests/test_signal.py: Move some tests from gtype and rename from signal.py
* If we're on python 2.3, also check for PyBool_Type.Johan Dahlin2004-07-281-0/+1
| | | | | | | * gobject/pygtype.c (pyg_type_from_object): If we're on python 2.3, also check for PyBool_Type. * tests/gtype.py (GTypeTest.testBoolType): New test
* Fix, a window is really WITHDRAWN if it's not SHOWN and not ICONIFIED...Johan Dahlin2004-07-191-1/+1
| | | | | | | | | | | | | | * 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
* Remove, out of date since 0.6.x!Johan Dahlin2004-07-191-4/+8
| | | | | | * description.py: Remove, out of date since 0.6.x! * tests/Makefile.am, tests/common.py: Make distcheck pass
* gtk/*.overrideJohan Dahlin2004-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | * gtk/*.override * codegen/codegen.py: * codegen/argtypes.py: Update for enums * pygtype.c (pyg_value_as_pyobject): Use new enum/flag functions * pygenum.[ch]: Handle GFlag * pygflags.[ch]: Handle GFlag * atk-types.defs: Fix gtype-id for all enums * gobjectmodule.c (initgobject): Clean up and add convinience macros * tests/enum.py: New file * tests/common.py: New file, also stole from gst-python
* New script to run all tests in one takeJohan Dahlin2004-07-101-0/+9
* tests/runtests.py: New script to run all tests in one take * tests/Makefile.am: autotoolify * tests/signal.py: New simple test taken from examples/gobject/signal.py