summaryrefslogtreecommitdiffstats
path: root/tests/common.py
Commit message (Collapse)AuthorAgeFilesLines
* Test fixes for bytesJohn Ehresman2010-04-161-1/+4
|
* A working _bytes for python 3kJohn Ehresman2010-04-161-3/+4
|
* Common _bytes & _unicode namesJohn Ehresman2010-04-161-0/+10
|
* Changes to module init, and to compile under python3. Doesn't work thoughJohn Ehresman2010-04-151-1/+3
|
* Remove 'ltihooks.py' as using deprecated Python module.Paul Pogonyshev2009-04-181-5/+0
| | | | | | | 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.
* Run pyflakes on the testsuite, remove unused imports and reorganizeJohan Dahlin2008-07-261-5/+1
| | | | | | | | | | | | | | | | | | | | 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
* Move maincontext and mainloop over to glib. Update the threadstate api toJohan Dahlin2008-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-20 Johan Dahlin <johan@gnome.org> * glib/Makefile.am: * glib/glibmodule.c (pyglib_main_context_default), (init_glib): * glib/pyglib.c (pyglib_init), (pyglib_threads_enabled), (pyglib_main_context_new): * glib/pyglib.h: * glib/pygmaincontext.c (_wrap_g_main_context_iteration), (pyglib_maincontext_register_types): * glib/pygmaincontext.h: * glib/pygmainloop.c (pyg_signal_watch_prepare), (pyg_signal_watch_check), (pyg_main_loop_new), (_wrap_g_main_loop_get_context), (_wrap_g_main_loop_run), (pyglib_mainloop_register_types): * glib/pygmainloop.h: * gobject/Makefile.am: * gobject/__init__.py: * gobject/gobjectmodule.c (pyg_destroy_notify), (pyobject_free), (pyg_object_set_property), (pyg_object_get_property), (_pyg_signal_accumulator), (pygobject__g_instance_init), (pyg_handler_marshal), (pygobject_gil_state_ensure), (pygobject_gil_state_release), (marshal_emission_hook), (_log_func), (init_gobject): * gobject/pygboxed.c (pyg_boxed_dealloc), (pyg_boxed_new): * gobject/pygenum.c (pyg_enum_add): * gobject/pygflags.c (pyg_flags_add): * gobject/pygiochannel.c (pyg_iowatch_marshal): * gobject/pygmaincontext.c: * gobject/pygmainloop.c: * gobject/pygobject-private.h: * gobject/pygobject.c (pygobject_data_free), (pyg_toggle_notify), (pygobject_new_with_interfaces), (pygobject_weak_ref_notify): * gobject/pygobject.h: * gobject/pygoptiongroup.c (destroy_g_group), (arg_func): * gobject/pygpointer.c (pyg_pointer_new): * gobject/pygsource.c (pyg_source_get_context), (pyg_source_prepare), (pyg_source_check), (pyg_source_dispatch), (pyg_source_finalize): * gobject/pygtype.c (pyg_closure_invalidate), (pyg_closure_marshal), (pyg_signal_class_closure_marshal): * tests/common.py: Move maincontext and mainloop over to glib. Update the threadstate api to use the variant in glib. svn path=/trunk/; revision=843
* Impl.Johan Dahlin2008-01-191-0/+2
| | | | | | | | | | | | | | | | 2008-01-19 Johan Dahlin <johan@gnome.org> * gio/gio.override (_wrap_g_output_stream_write): Impl. * gio/gio.override: * gio/unix.defs: Add GUnixInputStream type and methods * tests/common.py: * tests/test_gio.py: Add GIO tests. svn path=/trunk/; revision=737
* fix GSlice thread init warningGustavo J. A. M. Carneiro2007-04-301-1/+1
| | | | svn path=/trunk/; revision=660
* Include original exception string in the raised SystemExit.Gustavo J. A. M. Carneiro2006-04-111-1/+1
| | | | | * tests/common.py (importModule): Include original exception string in the raised SystemExit.
* Turn gobject into a package; move _gobject to gobject._gobject andJohan Dahlin2006-04-111-14/+5
| | | | add gobject/__init__.py. Update macros and testsuite.
* reindentJohan Dahlin2006-04-111-9/+8
|
* Split out PyGObject from PyGTK.Johan Dahlin2006-01-091-15/+5
|
* Merge new Gdk & Gtk API. pango.Renderer and functions/methods also added.Johan Dahlin2005-07-081-1/+1
| | | | | | | | | | | | | * configure.in: * gtk/Makefile.am: * gtk/gdk-types.defs: * gtk/gdk.defs: * gtk/gdk.override: * gtk/gtk.defs: * pango-types.defs: * pango.defs: Merge new Gdk & Gtk API. pango.Renderer and functions/methods also added. Bump required glib,gtk & pango versions.
* Make the build of atk, pango and gtk conditional. Fixes bug #74144.PYGTK_2_5_2Johan Dahlin2005-01-101-1/+7
| | | | | | | | | | | | * .cvsignore: * Makefile.am: * configure.in: * gtk/Makefile.am: * pygtk-2.0.pc.in: * setup.py: * tests/common.py: * tests/testhelpermodule.c: Make the build of atk, pango and gtk conditional. Fixes bug #74144.
* Make testsuite work and do things the way they were supposed to be doneJohan Dahlin2005-01-101-15/+59
| | | | | | | | * 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.
* catch ImportError if glade is not found and set glade to NoneJohn Ehresman2004-09-271-1/+4
| | | | | * tests/common.py: catch ImportError if glade is not found and set glade to None
* Small c module to help testingJohan Dahlin2004-09-271-0/+2
| | | | | | | * tests/testhelper.c: Small c module to help testing * tests/test_subtype.py: tests for this, use testhelper here aswell
* Fix, a window is really WITHDRAWN if it's not SHOWN and not ICONIFIED...Johan Dahlin2004-07-191-0/+7
| | | | | | | | | | | | | | * 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-7/+2
| | | | | | * description.py: Remove, out of date since 0.6.x! * tests/Makefile.am, tests/common.py: Make distcheck pass
* add, forgot it in last commitJohan Dahlin2004-07-171-2/+2
| | | | | | * tests/enum.py: add, forgot it in last commit * gobject/: Move gobject source files in here.
* gtk/*.overrideJohan Dahlin2004-07-171-0/+16
* 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