Permalink
Switch branches/tags
Commits on May 9, 2005
  1. Complain if ret is NULL, Fixes #303524.

        * gobject/pygenum.c (pyg_enum_new): Complain if ret is NULL,
        Fixes #303524.
    
        * gobject/pygflags.c (pyg_flags_new): Change exception format to
        be consistent with the one in enum
    Johan Dahlin committed May 9, 2005
  2. Add some comments

    Johan Dahlin committed May 9, 2005
  3. Allow None to be passed in to: set_group for RadioAction.set_group(),

        * gtk/gtk.override: Allow None to be passed in to:
        set_group for RadioAction.set_group(), RadioToolButton.set_group()
        and RadioMenuItem.set_group().
    
        * tests/test_radiobutton.py: Refactor and add unittests for
        RadioAction, RadioToolButton and RadioMenuItem.
    Johan Dahlin committed May 9, 2005
  4. And the test

    Johan Dahlin committed May 9, 2005
  5. Fix for bug #303573 - "exceptions raised in a child watch handler are

    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>
    markmc committed with Johan Dahlin May 9, 2005
  6. Clean up unused imports

    Johan Dahlin committed May 9, 2005
Commits on May 2, 2005
  1. Bug 302622: Assignment to gtk.gdk.Event.window is buggy

    Gustavo J. A. M. Carneiro committed May 2, 2005
Commits on Apr 12, 2005
  1. fix make check

    Gustavo J. A. M. Carneiro committed Apr 12, 2005
Commits on Mar 20, 2005
  1. Regression, allow the second argument to be unspecified, fixes #171027

    	* gtk/gtktreeview.override (_wrap_gtk_list_store_insert):
    	Regression, allow the second argument to be unspecified, fixes
    	#171027 (Ulrik Svensson)
    
    	* tests/test_liststore.py: Add 2 new tests
    Johan Dahlin committed Mar 20, 2005
Commits on Mar 16, 2005
  1. New test.

    	* tests/test_radiobutton.py (RadioButtonTest): New test.
    
    	* tests: Renamed *.py to test_*.py
    Johan Dahlin committed Mar 16, 2005
Commits on Mar 14, 2005
  1. In case the enum is not registered, set enum_class or flag_class to None

            * gobject/pygparamspec.c (pyg_param_spec_getattr): In case the
            enum is not registered, set enum_class or flag_class to None
    Johan Dahlin committed Mar 14, 2005
Commits on Feb 23, 2005
  1. Use G_CONST_RETURN with a gchar* return value.

    2005-02-23  Cedric Gustin  <cedric.gustin@swing.be>
    
    	* gobject/pygtype.c (add_property_docs): Use G_CONST_RETURN with a
    	gchar* return value.
    Cedric Gustin committed with Cedric Gustin Feb 23, 2005
  2. Move the install_template call for pygobject-2.0.pc.in to the right p…

    …lace
    
    2005-02-23  Cedric Gustin  <cedric.gustin@swing.be>
    
    	* setup.py: Move the install_template call for pygobject-2.0.pc.in
    	to the right place in the script. Also define PLATFORM_WIN32 on
    	win32. Fixes bug #150616.
    	* codegen/codegen.py: Do not write the 'pygtk class init' function
    	for objects whose type is explicitly ignored (like GtkPlug and
    	GtkSocket on win32). Otherwise, it generates glib-warnings related
    	to calls to g_object_set_qdata with a NULL 'node'.
    	* gobject/pygtype.c: Do not use g_string_append_printf with a NULL
    	argument, as it crashes on win32. Fixes bug #166546.
    	* gtk/gtk.override: Add GtkSocket__proxy_do_plug_added,
    	GtkSocket__proxy_do_plug_removed and GtkPlug__proxy_do_embedded to
    	the ignore-win32 list.
    Cedric Gustin committed with Cedric Gustin Feb 23, 2005
Commits on Feb 10, 2005
  1. don't pass a NULL value to PyThread_set_key_value() - causes an asser…

    …tion
    
    2005-02-10  Mark McLoughlin  <mark@skynet.ie>
    
            * gobject/pygmainloop.c: (pyg_restore_current_main_loop):
            don't pass a NULL value to PyThread_set_key_value() - causes
            an assertion failure with python 2.4.
    markmc committed with Mark McLoughlin Feb 10, 2005
Commits on Feb 9, 2005
  1. Fix for bug #154779 - Python signal handlers don't get executed while

    2005-02-09  Mark McLoughlin  <mark@skynet.ie>
    
            Fix for bug #154779 - Python signal handlers don't
            get executed while you're sitting in the main loop.
    
            * gobject/pygmainloop.c:
            (pyg_save_current_main_loop),
            (pyg_restore_current_main_loop),
            (pyg_get_current_main_loop): functions for keeping
            track of the currently running main loop. A version
            using TLS and another using a global variable, depending
            on whether DISABLE_THREADING is defined
            (pyg_signal_watch_prepare), (pyg_signal_watch_check),
            (pyg_signal_watch_dispatch), (pyg_signal_watch_new):
            a GSource which runs the python signal handlers whenever
            the mainloop is interrupted by signal delivery.
            (pyg_main_loop_new), (pyg_main_loop_dealloc): add and
            remove the source.
            (_wrap_g_main_loop_run): push/pop the currently running
            main loop.
    
            * gobject/pygobject-private.h: add a pointer for the
            source to PyGMainLoop.
    
            * gobject/Makefile.am: add -DPLATFORM_WIN32 to cflags
            if building on Windows.
    markmc committed with Mark McLoughlin Feb 9, 2005
Commits on Jan 22, 2005
  1. [Bug 154372] New: - Calling an enumeration type causes an assertion f…

    …ailure
    Gustavo J. A. M. Carneiro committed Jan 22, 2005
  2. Bug 164441: leak in gobject.type_register(); patch by Mark McLoughlin

    Gustavo J. A. M. Carneiro committed Jan 22, 2005
Commits on Jan 16, 2005
  1. interface implementation fixes

    Gustavo J. A. M. Carneiro committed Jan 16, 2005
  2. interface implementation fixes

    Gustavo J. A. M. Carneiro committed Jan 16, 2005
Commits on Jan 10, 2005
  1. Bug 163612: segmentation fault on pygtk-demo

    Gustavo J. A. M. Carneiro committed Jan 10, 2005
  2. Make the build of atk, pango and gtk conditional. Fixes bug #74144.

            * .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.
    Johan Dahlin committed Jan 10, 2005
  3. Make testsuite work and do things the way they were supposed to be done

            * 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.
    Johan Dahlin committed Jan 10, 2005
Commits on Jan 9, 2005
  1. Bug 160452: pyg_value_from_pyobject() does not handle sequence -> GVa…

    …lueArray conversion
    Gustavo J. A. M. Carneiro committed Jan 9, 2005
  2. Bug 160595: pyg_value_from_pyobject() sometimes sets a Python excepti…

    …on, sometimes not
    Gustavo J. A. M. Carneiro committed Jan 9, 2005
  3. gobject.child_add_watch and gobject.spawn_async

    Gustavo J. A. M. Carneiro committed Jan 9, 2005
  4. misc API additions, threading

    Gustavo J. A. M. Carneiro committed Jan 9, 2005
  5. #154974: Interface implementation support

    Gustavo J. A. M. Carneiro committed Jan 9, 2005
  6. Add test script for bug #162874.

    Adam Hooper committed Jan 9, 2005
Commits on Jan 8, 2005
  1. Add pygtk_postinstall.py Updated Deprecate gtk.idle_add and friends. …

    …Merge
    
    	* Makefile.am: Add pygtk_postinstall.py
    	* docs/random/missing-symbols: Updated
    	* gtk/__init__.py: Deprecate gtk.idle_add and friends.
    	* gtk/gtk.defs:	Merge in 2.6 api, for GtkLabel functions,
    	thanks to Gian Mario Tagliaretti, fixes bug #163296
    	* tests/test_thread.py: Don't use gtk.idle_add
    Johan Dahlin committed Jan 8, 2005
  2. [Bug 145314] Overriding GTK+ virtual methods

    Gustavo J. A. M. Carneiro committed Jan 8, 2005
Commits on Dec 23, 2004
  1. Reviewed by: Johan Dahlin <johan@gnome.org>

    	Fixes #150616
    
     	* dsextras.py: Added InstallData class. Changed template options
     	to ${prefix}/include|lib|bin|share. Added get_m4_define function
     	to parse pygtk version strings in configure.in.
    
     	* setup.py: Added pygtk_postinstall bdist_wininst
     	option. distutils now uses InstallData as install_data
     	class. pygtk-2.0.pc and pygtk-codegen-2.0 are installed as data
     	instead of lib/extensions. This fixes a bdist_wininst installer on
     	win32.
    
     	* pygtk_postinstall.py: Initial release.
    Johan Dahlin committed Dec 23, 2004
Commits on Dec 10, 2004
  1. Change PY_HEXVERSION to PY_VERSION_HEX

    2004-12-10  John Ehresman  <jpe@wingide.com>
    
    	* gobject/pygobject.h: Change PY_HEXVERSION to PY_VERSION_HEX
    John Ehresman committed with John Ehresman Dec 10, 2004
Commits on Nov 29, 2004
  1. 2.5.0

    Johan Dahlin committed Nov 29, 2004
Commits on Nov 27, 2004
  1. Unbreak build

    Johan Dahlin committed Nov 27, 2004
Commits on Nov 23, 2004
  1. Make sure type is a type and sinkfunc isn't NULL.

    	* gobject/pygobject.c (pygobject_register_sinkfunc): Make sure
    	type is a type and sinkfunc isn't NULL.
    Johan Dahlin committed Nov 23, 2004