Permalink
Switch branches/tags
Commits on May 21, 2004
  1. Add gobject.pygtk_version (_wrap_g_main_context_iteration): block/unb…

    Johan Dahlin committed May 21, 2004
    …lock
    
    	* gobjectmodule.c (initgobject): Add gobject.pygtk_version
    	(_wrap_g_main_context_iteration): block/unblock
    	(_wrap_g_main_loop_run): ditto
Commits on May 18, 2004
  1. pygobject.c (pygobject_new_with_interfaces) Add new type to the module

    John Finlay committed May 18, 2004
    	* pygobject.c (pygobject_new_with_interfaces) Add new type to the
    	module dict as is done for built-in types.
  2. pygobject.c (pygobject_new) Bump refcount of types created by

    John Finlay committed May 18, 2004
    	* pygobject.c (pygobject_new) Bump refcount of types created by
    	pygobject_new_with_interfaces. Fixes #141042
Commits on Apr 18, 2004
  1. allow registering multiple GObject classes with same name

    Gustavo J. A. M. Carneiro committed Apr 18, 2004
Commits on Apr 15, 2004
  1. Prevent warnings in Python 2.3

    Gustavo J. A. M. Carneiro committed Apr 15, 2004
Commits on Apr 13, 2004
  1. Move quark_to_string to initgobject

    Johan Dahlin committed Apr 13, 2004
    	* gobjectmodule.c (pyg_register_interface): Move quark_to_string
    	to initgobject
Commits on Apr 10, 2004
  1. New function. (pygobject_lookup_class): Modify so we're not traversing

    Johan Dahlin committed Apr 10, 2004
    	* pygobject.c (pygobject_new_with_interfaces): New function.
    	(pygobject_lookup_class): Modify so we're not traversing parents
    	for unknown types but instead creating new types when they're not
    	registered. We're also using pygobject_new_with_interfaces so
    	interfaces gets attached correctly. Partial fix for bug 129032
    
    	* gobjectmodule.c: Add quark and attach the PyTypeObject for
    	GInterfaces.
    
    	* pygobject-private.h: Make PyGInterface_Type and
    	pyginterface_type_key public
Commits on Apr 9, 2004
  1. G_TYPE_STRV handling; GValueArray conversion fix

    Gustavo J. A. M. Carneiro committed Apr 9, 2004
Commits on Mar 27, 2004
  1. This is a function, not a method.

    Johan Dahlin committed Mar 27, 2004
    	* gtk/gtk.defs (widget_list_style_properties): This is a function,
    	not a method.
    
    	* pygobject-private.h, pygobject.h, gobjectmodule.c:
    	Make PyGParamSpec_Type and pyg_param_spec_new part of the public API.
    
    	* gtk/gtkwidget.override (_wrap_gtk_widget_style_get_property)
    	(_wrap_gtk_widget_class_list_style_properties): Impl. Fixes
    	bug 138104
Commits on Mar 8, 2004
  1. Fix again #136204 (GtkTextSearchFlags warning)

    Gustavo J. A. M. Carneiro committed Mar 8, 2004
Commits on Mar 4, 2004
  1. Fixes for bug 132704, Patch by John Ehresman.

    Johan Dahlin committed Mar 4, 2004
    	* pygobject.c (pygobject_chain_from_overridden):
    	* pygtype.c (pyg_signal_class_closure_marshal): Fixes for bug
    	132704, Patch by John Ehresman.
Commits on Mar 3, 2004
  1. block/unblock threads around Py_DECREF in pyobject_free

    Gustavo J. A. M. Carneiro committed Mar 3, 2004
Commits on Feb 24, 2004
  1. signa->signal

    Johan Dahlin committed Feb 24, 2004
    	* pygobject.c (pygobject_chain_from_overridden): signa->signal
Commits on Dec 26, 2003
  1. Handle conversion of GValueArray to PyObject

    Gustavo J. A. M. Carneiro committed Dec 26, 2003
Commits on Dec 23, 2003
  1. explicitly check if the property is readable first, and raise an exce…

    James Henstridge committed with James Henstridge Dec 23, 2003
    …ption
    
    2003-12-23  James Henstridge  <james@daa.com.au>
    
        * pygobject.c (pygobject_get_property): explicitly check if the
        property is readable first, and raise an exception otherwise
        (pygobject_set_property): check if property is readable (fixes bug
        #121544).
Commits on Jul 31, 2003
  1. add wrapper (from bug #118676).

    James Henstridge committed with James Henstridge Jul 31, 2003
    2003-07-31  James Henstridge  <james@daa.com.au>
    
        * pygobject.c (pygobject_handler_is_connected): add wrapper (from
        bug #118676).
  2. add a call to PyType_Ready() to make sure the type is initialised (bug

    James Henstridge committed with James Henstridge Jul 31, 2003
    2003-07-31  James Henstridge  <james@daa.com.au>
    
        * pygtype.c (pyg_object_descr_doc_get): add a call to
        PyType_Ready() to make sure the type is initialised (bug #118699).
Commits on Jul 24, 2003
  1. same here.

    James Henstridge committed with James Henstridge Jul 24, 2003
    2003-07-24  James Henstridge  <james@daa.com.au>
    
        * gtk/pygtk.h (init_pygtk): same here.
    
        * pygobject.h (init_pygobject): convert fatal errors to normal
        exceptions.
    
        * gtk/gtkglmodule.c (initgl): same here.
    
        * gtk/libglademodule.c (initglade): same here.
    
        * gtk/gtkmodule.c (init_gtk): same here.
    
        * atkmodule.c (initatk): same here.
    
        * pangomodule.c (initpango): same here.
    
        * gobjectmodule.c (initgobject): don't cause fatal errors if an
        exception on init.
    
        * codegen/codegen.py (write_source): print an error message if it
        isn't possible to import a particular name from the module.
    
        * autogen.sh (DIE): require Automake 1.7.
    
        * configure.in (AC_ARG_ENABLE): enable thread support by default.
Commits on Jul 3, 2003
  1. change first block threads instead of unblocking them here. (Looks like

    James Henstridge committed with James Henstridge Jul 3, 2003
    2003-07-03  James Henstridge  <james@daa.com.au>
    
        * gobjectmodule.c (pyg_error_check): change first block threads
        instead of unblocking them here.  (Looks like John forgot to check
        this part in).
Commits on Jul 2, 2003
  1. Bug #110619:

    Naofumi Yasufuku committed with James Henstridge Jul 2, 2003
    2003-05-03  Naofumi Yasufuku  <naofumi@yasufuku.net>
    
        Bug #110619:
    
        * dsextras.py (InstallLib.prepare): Fixed self.prefix
        initialization for win32.
        (BuildExt.init_extra_compile_args, BuildExt.build_extensions)
        (BuildExt.build_extension): On win32, add MinGW GCC option for
        MSVC compatible struct packing (gcc2: -fnative-struct, gcc3:
        -mms-bitfields).
        (BuildExt.modify_compiler, BuildExt.build_extensions): On win32,
        remove '-static' linker option to prevent MinGW ld from trying to
        link with MSVC import libraries.
    
        * setup.py: Changed list_files('codegen/*.py') to
        list_files(os.path.join('codegen', '*.py')) for win32.
        Fixed pygtk.h installation directory.
    
    2003-07-02  James Henstridge  <james@daa.com.au>
    
        * dsextras.py (pkgc_version_check): remove "self.", fixing bug
        111002 (pointed out by Seth Nickell).
Commits on Jun 26, 2003
  1. add copyright notices, and update to LGPL 2.1.

    James Henstridge committed with James Henstridge Jun 26, 2003
    2003-06-26  James Henstridge  <james@daa.com.au>
    
        * (lots of stuff): add copyright notices, and update to LGPL 2.1.
Commits on Jun 6, 2003
  1. Fix bogus strcmp. Thanks to John Ehresman for spotting this. Fixes #1…

    Johan Dahlin committed Jun 6, 2003
    …10489
    
            * gobjectmodule.c (get_handler_priority): Fix bogus strcmp. Thanks to
    	        John Ehresman for spotting this. Fixes #110489
Commits on May 28, 2003
  1. Make the third argument optional. This broke distutils.

    Johan Dahlin committed May 28, 2003
    	* codegen/defsparser.py (DefsParser.__init__): Make the third
    	argument optional. This broke distutils.
    
    	* gobjectmodule.c, pygtype.c, gtk/gtk.override,
    	gtk/pygtkcellrenderer.c, pygtktreemodel.c: Remove unnecessary
    	calls to PyErr_Clear. It's not needed right after a PyErr_Print.
Commits on Apr 29, 2003
  1. Install dsextras.

    Johan Dahlin committed with Johan Dahlin Apr 29, 2003
    2003-04-29  Johan Dahlin  <jdahlin@async.com.br>
    
    	* gtk/Makefile.am (pygtk_PYTHON): Install dsextras.
Commits on Mar 24, 2003
  1. add missing "extern" keyword (from Glyph's patch).

    James Henstridge committed with James Henstridge Mar 24, 2003
    2003-03-24  James Henstridge  <james@daa.com.au>
    
        * pygobject-private.h: add missing "extern" keyword (from Glyph's
        patch).
Commits on Mar 13, 2003
  1. add doc comments.

    James Henstridge committed with James Henstridge Mar 13, 2003
    2003-03-13  James Henstridge  <james@daa.com.au>
    
        * gobjectmodule.c: add doc comments.
    
        * pygobject.c: add doc comments.
    
        * pygboxed.c: add doc comments.
Commits on Mar 12, 2003
  1. add some documentation.

    James Henstridge committed with James Henstridge Mar 12, 2003
    2003-03-12  James Henstridge  <james@daa.com.au>
    
        * pygtype.c: add some documentation.
Commits on Mar 7, 2003
  1. the GObject should own a ref to the wrapper. (pygobject_new): get rid of

    James Henstridge committed with James Henstridge Mar 7, 2003
    2003-03-06  James Henstridge  <james@daa.com.au>
    
        * pygobject.c (pygobject_register_wrapper): the GObject should own
        a ref to the wrapper.
        (pygobject_new): get rid of the hasref code, and make sure that
        the GObject owns a ref to the wrapper if we create it.
        (pygobject_dealloc): get rid of the hasref code.  If we get this
        far, the wrapper is dead.
        (pygobject_traverse): if the GObject's refcount == 1, then
        traverse to self.
        (pygobject_clear): clear self->obj and self->inst_dict.
        (pygobject_register_class): set tp_clear() so that things actually
        work.  Without this, there was no tp_clear method for subclasses
        of GObject.
    
        * pygobject.h: remove hasref member, hopefully not needed if
        relying on cycle GC.
Commits on Mar 4, 2003
  1. Unblock threads before invalidating our closures, since this might tr…

    Jon Trowbridge committed with Jon Trowbridge Mar 4, 2003
    …igger
    
    2003-03-04  Jon Trowbridge  <trow@ximian.com>
    
    	* pygobject.c (pygobject_dealloc): Unblock threads before
    	invalidating our closures, since this might trigger a destructor
    	that needs to execute python code.
    	(pygobject_clear): Ditto.
    
    	* pygboxed.c (pyg_boxed_dealloc): Unblock threads before freeing
    	the boxed type, since the destructor may need to execute python
    	code.
    	(pyg_boxed_new): Block threads while we make our Py* calls.
    	(pyg_pointer_new): Block threads while we make our Py* calls.
    
    	* gobjectmodule.c (pyg_object_set_property): We need to block
    	threads before our call to pygobject_new.
    	(pyg_object_get_property): Ditto.
Commits on Mar 2, 2003
  1. Fix function name in exception.

    Johan Dahlin committed Mar 2, 2003
    	* gobjectmodule.c (pyg_io_add_watch): Fix function name in exception.
Commits on Feb 27, 2003
  1. Small typo.

    Johan Dahlin committed Feb 27, 2003
    	* dsextras.py (getstatusoutput): Small typo.
    
    	* setup.py: Cut the doclines, to make the windows installer happy
  2. Added win32 support and some rearrangements. Largely based upon patch by

    Johan Dahlin committed Feb 27, 2003
    	* setup.py, dsextras.py: Added win32 support and some
    	rearrangements. Largely based upon patch by Cedric Gustin.
Commits on Feb 8, 2003
  1. Added.

    Johan Dahlin committed Feb 8, 2003
    	* pygtk-2.0.pc.in (codegendir): Added.
    
    	* setup.py: Added Numeric and gtkgl support (gtkgl untested).
    
    	* dsextras.py: Updated.
Commits on Jan 24, 2003
  1. Fix template bustage.

    Johan Dahlin committed Jan 24, 2003
    	* dsextras.py (InstallLib.add_template_option): Fix template bustage.
Commits on Jan 21, 2003
  1. Import codegen here instead, needs to be fixed in the future though.

    Johan Dahlin committed Jan 21, 2003
    	* dsextras.py (Template.generate): Import codegen here instead,
    	needs to be fixed in the future though.
    
    	* Makefile.am (EXTRA_DIST): Added dsextras.py