Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: PYGTK_2_5_4
Commits on Feb 23, 2005
  1. Move the install_template call for pygobject-2.0.pc.in to the right p…

    Cedric Gustin authored Cedric Gustin committed
    …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.
Commits on Feb 10, 2005
  1. @markmc

    don't pass a NULL value to PyThread_set_key_value() - causes an asser…

    markmc authored Mark McLoughlin committed
    …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.
Commits on Feb 9, 2005
  1. @markmc

    Fix for bug #154779 - Python signal handlers don't get executed while

    markmc authored Mark McLoughlin committed
    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.
Commits on Jan 22, 2005
  1. [Bug 154372] New: - Calling an enumeration type causes an assertion f…

    Gustavo J. A. M. Carneiro authored
    …ailure
  2. Bug 164441: leak in gobject.type_register(); patch by Mark McLoughlin

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

    Gustavo J. A. M. Carneiro authored
  2. interface implementation fixes

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

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

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

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

    Gustavo J. A. M. Carneiro authored
    …lueArray conversion
  2. Bug 160595: pyg_value_from_pyobject() sometimes sets a Python excepti…

    Gustavo J. A. M. Carneiro authored
    …on, sometimes not
  3. gobject.child_add_watch and gobject.spawn_async

    Gustavo J. A. M. Carneiro authored
  4. misc API additions, threading

    Gustavo J. A. M. Carneiro authored
  5. #154974: Interface implementation support

    Gustavo J. A. M. Carneiro authored
  6. Add test script for bug #162874.

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

    Johan Dahlin authored
    …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
  2. [Bug 145314] Overriding GTK+ virtual methods

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

    Johan Dahlin authored
    	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.
Commits on Dec 10, 2004
  1. Change PY_HEXVERSION to PY_VERSION_HEX

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

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

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

    Johan Dahlin authored
    	* gobject/pygobject.c (pygobject_register_sinkfunc): Make sure
    	type is a type and sinkfunc isn't NULL.
Commits on Nov 16, 2004
  1. Print long int value if enum string not found. Fixes #158417. (modifed

    John Finlay authored
    	* gobject/pygflags.c (pyg_flags_repr): Print long int value if enum
    	string not found. Fixes #158417. (modifed patch from Tim Evans)
Commits on Nov 12, 2004
  1. Add signal introspection functions

    John Finlay authored
    	* gobject/gobjectmodule.c (pyg_signal_list_ids)
    	(pyg_signal_lookup, pyg_signal_name, pyg_signal_query): Add signal
    	introspection functions
Commits on Nov 8, 2004
  1. gobject/gobjectmodule.c (_pyg_strv_from_gvalue) Avoid segfault when argv

    John Finlay authored
    	* gobject/gobjectmodule.c (_pyg_strv_from_gvalue) Avoid segfault
    	when argv is NULL.
Commits on Nov 6, 2004
  1. updated - pygtk is working fine with msvc (but requires

    Hans Breuer authored Hans Breuer committed
    2004-11-06  Hans Breuer  <hans@breuer.org>
    
    	* config.h.win32 makefile.msc gobject/makefile.msc
    	gtk/makefile.msc : updated - pygtk is working fine
    	with msvc (but requires -DDISABLE_THREADING), Thanks!
Commits on Nov 4, 2004
  1. Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the same

    Johan Dahlin authored
    	* 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
  2. Add tests for dynamic/unknown objects and interfaces

    Johan Dahlin authored
Commits on Oct 13, 2004
  1. Bug 155304: pygobject.h cannot be included in C++ programs

    Gustavo J. A. M. Carneiro authored
Commits on Sep 29, 2004
  1. Allow gtk_main to be invoked from a thread created by the threading m…

    John Ehresman authored
    …odule
    
    	* gobject/gobjectmodule.c (pyg_enable_threads): Allow gtk_main to
    	be invoked from a thread created by the threading module by
    	requiring the GIL be held when pyg_enable_threads is invoked.
Commits on Sep 28, 2004
  1. Apply slighly modified fix from bug 149845

    Johan Dahlin authored
    	This is make threading usable for both users of the threading
    	module and users that requires interaction with threads from
    	other extension modules.
  2. Forgot to commit this yesterday

    Johan Dahlin authored
Commits on Sep 27, 2004
  1. Add thread stuff, that emits stuff from another thread and does some …

    Johan Dahlin authored
    …enum
    
    	* tests/testhelpermodule.c:
    	* tests/test_thread.py: Add thread stuff, that emits stuff from
    	another thread and does some enum magic.
  2. New functions exposed through _PyGObject_Functions to work around bug…

    John Ehresman authored
    …s in
    
    	* gobject/gobjectmodule.c: New functions exposed through
    	_PyGObject_Functions to work around bugs in the PyGILState
    	api's
    	* gobject/pygobject.h: idem
    	* gobject/pygobject-private.h: idem
    	* gtk/gtk.override (_wrap_gtk_main): add pyg_enable_threads()
    	call to ensure thread state for thread invoking this function
    	is remembered.  Only call pyg_enable_threads() here if threads
    	were previously enabled
Something went wrong with that request. Please try again.