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
Commits on Nov 16, 2004
  1. Print long int value if enum string not found. Fixes #158417. (modifed

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

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

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

    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!
    Hans Breuer committed with Hans Breuer Nov 6, 2004
Commits on Nov 4, 2004
  1. Use PyTuple_GetSlice and PyArg_ParseTuple here, so we can get the same

    	* 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
    Johan Dahlin committed Nov 4, 2004
  2. Add tests for dynamic/unknown objects and interfaces

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

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

    …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.
    John Ehresman committed Sep 29, 2004
Commits on Sep 28, 2004
  1. Apply slighly modified fix from bug 149845

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

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

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

    …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
    John Ehresman committed Sep 27, 2004
  3. catch ImportError if glade is not found and set glade to None

    	* tests/common.py: catch ImportError if glade is not found
    	and set glade to None
    John Ehresman committed Sep 27, 2004
  4. Small c module to help testing

    	* tests/testhelper.c: Small c module to help testing
    
    	* tests/test_subtype.py: tests for this, use testhelper here
    	aswell
    Johan Dahlin committed Sep 27, 2004
  5. Revert parts of Gustavos changes, so the size of interfaces are correct.

    	* codegen/codegen.py (FileOutput.resetline): Revert parts of
    	Gustavos changes, so the size of interfaces are correct.
    
    	* tests/test_subtype.py: tests for this.
    Johan Dahlin committed Sep 27, 2004
Commits on Sep 26, 2004
  1. Make PyGClosure semi-public

    Gustavo J. A. M. Carneiro committed Sep 26, 2004
Commits on Sep 25, 2004
  1. Move some tests from gtype and rename from signal.py

    	* tests/test_signal.py: Move some tests from gtype and rename from
    	signal.py
    Johan Dahlin committed Sep 25, 2004
  2. Bug 153718: exception in overriden gsignals causes ref count problems

    Gustavo J. A. M. Carneiro committed Sep 25, 2004
Commits on Sep 22, 2004
  1. Tests for GdkColor construction

    John Ehresman committed Sep 22, 2004
Commits on Sep 17, 2004
  1. Filter out 0 values

    	* gobject/pygflags.c: Filter out 0 values
    
    	* Makefile.am:
    	* docs/Makefile.am: Revert documentation changes
    Johan Dahlin committed Sep 17, 2004
Commits on Aug 20, 2004
  1. allow override of some more slots

    Gustavo J. A. M. Carneiro committed Aug 20, 2004
Commits on Aug 15, 2004
  1. gobject/pygenum.c (pyg_enum_repr) Match enum values to avoid segfaults

    	* gobject/pygenum.c (pyg_enum_repr) Match enum values to avoid
    	segfaults when enum minimum isn't 0 and values aren't a continuous
    	sequence.
    John Finlay committed Aug 15, 2004
Commits on Aug 8, 2004
  1. gobject/pygflags.c (pyg_flags_add) Return NULL when no stub.

    	* gobject/pygflags.c (pyg_flags_add) Return NULL when no stub.
    John Finlay committed Aug 8, 2004
Commits on Aug 6, 2004
  1. Don't comment out the fallback, it break the test. (Wow, the testsuite

    	* gobject/pygflags.c (pyg_flags_from_gtype): Don't comment out the
    	fallback, it break the test. (Wow, the testsuite caught another bug!)
    
    	* tests/enum.py: Additional tests.
    
    	* gobject/pygenum.c (pyg_enum_repr): Don't use g_enum_get_value,
    	use enum_class->values[n].value_name instead. Also check if the
    	value is NULL or not. This makes gtk.icon_size_register work a
    	little bit better.
    Johan Dahlin committed Aug 6, 2004
  2. Use methflags argument for defines instead of discarding it

    	* codegen/codegen.py (Wrapper.write_methods): Use methflags
    	argument for defines instead of discarding it
    Johan Dahlin committed Aug 6, 2004
Commits on Aug 4, 2004
  1. New test.

    	* tests/enum.py (EnumTest.testOutofBounds): New test.
    
    	* gobject/pygflags.c (pyg_flags_from_gtype):
    	* gobject/pygenum.c (pyg_enum_from_gtype): Don't segfault on
    	unknown values.
    Johan Dahlin committed Aug 4, 2004
  2. make threading runtime optional

    Gustavo J. A. M. Carneiro committed Aug 4, 2004
  3. GdkModifierType is flags not an enum.

    	* gtk/gtk.override (_wrap_gtk_accel_map_lookup_entry):
    	GdkModifierType is flags not an enum.
    
    	* gobject/pygenum.c (pyg_enum_from_gtype): Don't crash if its not
    	an enum
    
    	* gobject/pygflags.c (pyg_flags_from_gtype): Don't crash if its
    	not flags
    Johan Dahlin committed Aug 4, 2004
Commits on Aug 3, 2004
  1. Urgh. more threading 'fixes'

    Johan Dahlin committed Aug 3, 2004
  2. remove unused variable

    Gustavo J. A. M. Carneiro committed Aug 3, 2004