Skip to content
Commits on Oct 9, 2005
  1. Use GIL state instead of block/unblock. Fixes crasher found by Ole Andre

            * gobject/pygiochannel.c: (pyg_iowatch_marshal):
            Use GIL state instead of block/unblock. Fixes crasher found
            by Ole Andre Valda Ravnås.
    Johan Dahlin committed Oct 9, 2005
Commits on Oct 3, 2005
  1. Fix gcc 4.0 warnings.

        * gobject/pygobject.c: (PyGProps_length):
        * gtk/gdk.defs:
        * gtk/gdk.override:
        * gtk/gtk.defs:
        * gtk/gtk.override:
        Fix gcc 4.0 warnings.
    Johan Dahlin committed Oct 3, 2005
  2. Check if the gobject is initialized, partly fixes #96658

        * gobject/pygobject.c: (pygobject_get_property),
        (pygobject_set_property), (pygobject_freeze_notify),
        (pygobject_notify), (pygobject_thaw_notify), (pygobject_get_data),
        (pygobject_set_data), (pygobject_connect),
        (pygobject_connect_after), (pygobject_connect_object),
        (pygobject_connect_object_after), (pygobject_disconnect),
        (pygobject_handler_is_connected), (pygobject_handler_block),
        (pygobject_emit), (pygobject_stop_emission),
        (pygobject_chain_from_overridden):
        Check if the gobject is initialized, partly fixes #96658
    Johan Dahlin committed Oct 3, 2005
Commits on Oct 2, 2005
  1. guint64 property fix

    Gustavo J. A. M. Carneiro committed Oct 2, 2005
  2. add (disabled) uint64 test

    Johan Dahlin committed Oct 2, 2005
Commits on Oct 1, 2005
  1. unit test for gobject.new error bug

    Gustavo J. A. M. Carneiro committed Oct 1, 2005
  2. fix segfaul on error return in gobject.new

    Gustavo J. A. M. Carneiro committed Oct 1, 2005
Commits on Sep 29, 2005
  1. Undeprecate for now.

        * gobject/gobjectmodule.c: (pyg_type_name), (pyg_type_from_name),
        (pyg_type_parent), (pyg_type_is_a), (pyg_type_children),
        (pyg_type_interfaces): Undeprecate for now.
    Johan Dahlin committed Sep 29, 2005
Commits on Sep 28, 2005
  1. workaround gtk bug #317455

    Gustavo J. A. M. Carneiro committed Sep 28, 2005
Commits on Sep 25, 2005
  1. Bug 317172: gtk.glade.signal_autoconnect causes leaked objects

    Gustavo J. A. M. Carneiro committed Sep 25, 2005
Commits on Sep 22, 2005
  1. Include the object and the name of the signal in TypeErrors

        * gobject/gobjectmodule.c: (pyg_type_from_name):
        * gobject/pygobject.c: (pygobject_connect),
        (pygobject_connect_after), (pygobject_connect_object),
        (pygobject_connect_object_after), (pygobject_emit),
        (pygobject_stop_emission):
        Include the object and the name of the signal in TypeErrors
    Johan Dahlin committed Sep 22, 2005
Commits on Sep 16, 2005
  1. @jpe

    Add gobject.Warning Warning subclass and redirect all g_log messages for

    2005-09-16  John Ehresman  <jpe@wingware.com>
    
           * gobjectmodule.c (initgobject): Add gobject.Warning Warning subclass
           and redirect all g_log messages for the "GLib", "Glib-GObject", and
           "GThread" domains to the python warning system
    
           * pangomodule.c (initpango): Add pango.Warning Warning subclass
           and redirect all g_log messages for the "Pango" domain to the
           python warning system
    
           * gtkmodule.c (initgtk): Move gtk Warning subclass from the gdk
           module to the gtk module and added redirections for g_log messages
           for the "Gdk" and "GdkPixbuf" domains to the python warning system
    
           * gtk/__init__.py: Set gdk.Warning = gtk.Warning for backward
           compatibility
    jpe committed with John Ehresman Sep 16, 2005
Commits on Sep 13, 2005
  1. better error messages when registering properties

    Gustavo J. A. M. Carneiro committed Sep 13, 2005
Commits on Sep 2, 2005
  1. Sort all attributes alphabetically, like python does. Set default val…

    …ue to
    
        * gobject/pygparamspec.c (pyg_param_spec_getattr): Sort all attributes
        alphabetically, like python does. Set default value to None
        (pyg_param_spec_getattr): Add default_values fallback, for backwards
        compatibility.
    Johan Dahlin committed Sep 2, 2005
  2. [Bug 315100] gobject.type_register if parameter is not a type

    Gustavo J. A. M. Carneiro committed Sep 2, 2005
  3. Also include interfaces, fixes #315038

            * gobject/gobjectmodule.c: (pyg_signal_list_names):
            Also include interfaces, fixes #315038
    Johan Dahlin committed Sep 2, 2005
  4. Remove old .msc files, which are outdated and unused.

        * Makefile.am:
        * gobject/makefile.msc:
        * gtk/Makefile.am:
        * gtk/makefile.msc:
        * makefile.msc:
        Remove old .msc files, which are outdated and unused.
    Johan Dahlin committed Sep 2, 2005
Commits on Aug 29, 2005
  1. Remove unneeded g_strdup.

    	* gobject/pygobject.c (pygobjectmeta_register): Remove unneeded
    	g_strdup.
    John Ehresman committed Aug 29, 2005
Commits on Aug 26, 2005
  1. Refactor to allow us to list signals on interfaces.

            * gobject/gobjectmodule.c (pyg_signal_list_ids): Refactor to
            allow us to list signals on interfaces.
    
            * tests/test_signal.py (TestList): Two new tests.
    Johan Dahlin committed Aug 26, 2005
Commits on Aug 25, 2005
  1. some memory fixes in type registration

    Gustavo J. A. M. Carneiro committed Aug 25, 2005
Commits on Aug 24, 2005
  1. In the meta-class __init__ method, register a class as a gtype iff

    	* gobject/pygobject.c: In the meta-class __init__ method,
    	register a class as a gtype iff __gsignals__, __gproperties__,
    	or __gtype_name__ is defined in the leaf class's tp_dict.
    John Ehresman committed Aug 24, 2005
  2. Added sources so gobject module will compile, fixed enable/disable th…

    …read
    
    	* setup.py: Added sources so gobject module will compile, fixed
    	enable/disable thread support, and changed default so thread
    	support is enabled unless --disable-threading is specified
    
    	* gobject/gobjectmodule.c, gobject/pygobject.c: Set
    	PyGObject_MetaType.tp_base in module initialization to keep
    	VC++ happy
    John Ehresman committed Aug 24, 2005
  3. Update distutils for 2.7.x. Bump requirements. Fix a minor bug in gob…

    …jectmodule.c
    Johan Dahlin committed Aug 24, 2005
  4. Add test for Table.attach which takes uint arguments.

    2005-08-24  Johan Dahlin  <jdahlin@async.com.br>
    
        * tests/test_conversion.py (Tests.testUIntArg): Add test for
        Table.attach which takes uint arguments.
    
        * codegen/argtypes.py (UIntArg.write_param):
        One more take on fixing #300012, this time unsigned int conversion,
        patch by Gustavo.
    Johan Dahlin committed with Johan Dahlin Aug 24, 2005
Commits on Aug 12, 2005
  1. pyg_flags_get_value () should accept longs as input

    2005-08-12  Christopher Aillon  <caillon@redhat.com>
    
    	* gobject/pygtype.c:
    	pyg_flags_get_value () should accept longs as input
    Christopher Aillon committed with Christopher Aillon Aug 12, 2005
Commits on Aug 9, 2005
  1. @wingo

    Use the generic setattr protocol instead of getting the module's

    2005-08-09  Andy Wingo  <wingo@pobox.com>
    
    	* gobject/pygobject.c (pygobject_new_with_interfaces): Use the
    	generic setattr protocol instead of getting the module's
    	dictionary and using setitem. Fixes bug #312999.
    wingo committed with Andy Wingo Aug 9, 2005
Commits on Aug 2, 2005
  1. @markmc

    Fixes bug #312337

    2005-08-02  Mark McLoughlin  <mark@skynet.ie>
    
            Fixes bug #312337
    
            * gobject/gobjectmodule.c: (_wrap_pyg_type_register):
            Make the "already registered" warning a deprecation warning
            with a more detailed hint on what it means.
    markmc committed with Mark McLoughlin Aug 2, 2005
Commits on Aug 1, 2005
  1. @yosh

    gobject/pygobject-private.h Add a convenience function

    2005-08-01  Manish Singh  <yosh@gimp.org>
    
            * gobject/pygobject-private.h
            * gobject/pygmaincontext.c: Add a convenience function
            (pyg_main_context_new) to create a PyGMainContext from a
            GMainContext. Takes care of refing the supplied GMainContext
            as well.
    
            * gobject/gobjectmodule.c (pyg_main_context_default)
            * gobject/pygmainloop.c (_wrap_g_main_loop_get_context)
            * gobject/pygsource.c (pyg_source_get_context): use the new
            convenience function here. This fixes bug #312259.
    yosh committed with Manish Singh Aug 1, 2005
Commits on Jul 31, 2005
  1. Fix reference count of gtk.Window's from gobject.new

    Gustavo J. A. M. Carneiro committed Jul 31, 2005
Commits on Jul 30, 2005
  1. don't deprecate gobject.type_register, just give a warning if trying …

    …to register a class that is already registered
    Gustavo J. A. M. Carneiro committed Jul 30, 2005
  2. Don't register PyObject unconditionally, fixes #303797 (Yevgen Muntyan)

        * gobject/gobjectmodule.c (initgobject): Don't register PyObject
        unconditionally, fixes #303797 (Yevgen Muntyan)
    Johan Dahlin committed Jul 30, 2005
  3. Fixes Bug 311309: subclassing gtk.Bin reports...

    Gustavo J. A. M. Carneiro committed Jul 30, 2005
Commits on Jul 25, 2005
  1. Clean up tests, we don't need a C binding to access tp_basicsize, cle…

    …an up
    
        * tests/test_subtype.py:
        * tests/testhelpermodule.c: (test_type_get_type),
        (_wrap_get_unknown), (_wrap_test_g_object_new), (inittesthelper):
        Clean up tests, we don't need a C binding to access tp_basicsize,
        clean up the C tests, quite a bit aswell.
    Johan Dahlin committed Jul 25, 2005
Commits on Jul 22, 2005
  1. Re-enable

        * tests/test_radiobutton.py (RadioToolButtonTest): Re-enable
    
        * tests/test_dialog.py (MessageDialogTest.testSubclass): Add tests, for
        #311226.
    Johan Dahlin committed Jul 22, 2005
  2. Bug 311226: Metaclass registration causes breakage with old constructors

    Gustavo J. A. M. Carneiro committed Jul 22, 2005
Something went wrong with that request. Please try again.