Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: PYGTK_2_3_97

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.
    authored September 28, 2004
  2. Forgot to commit this yesterday

    authored September 28, 2004

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.
    authored September 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
    authored September 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
    authored September 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
    authored September 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.
    authored September 27, 2004

Sep 26, 2004

  1. Make PyGClosure semi-public

    authored September 26, 2004

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
    authored September 25, 2004
  2. Bug 153718: exception in overriden gsignals causes ref count problems

    authored September 25, 2004

Sep 22, 2004

  1. Tests for GdkColor construction

    authored September 22, 2004

Sep 17, 2004

  1. Filter out 0 values

    	* gobject/pygflags.c: Filter out 0 values
    
    	* Makefile.am:
    	* docs/Makefile.am: Revert documentation changes
    authored September 17, 2004

Aug 20, 2004

  1. allow override of some more slots

    authored August 20, 2004

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.
    authored August 15, 2004

Aug 08, 2004

  1. gobject/pygflags.c (pyg_flags_add) Return NULL when no stub.

    	* gobject/pygflags.c (pyg_flags_add) Return NULL when no stub.
    authored August 08, 2004

Aug 06, 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.
    authored August 06, 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
    authored August 06, 2004

Aug 04, 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.
    authored August 04, 2004
  2. make threading runtime optional

    authored August 04, 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
    authored August 04, 2004

Aug 03, 2004

  1. Urgh. more threading 'fixes'

    authored August 03, 2004
  2. remove unused variable

    authored August 03, 2004
  3. More minor threading fixes

    authored August 03, 2004
  4. Create a new GType on the fly if there isn't one for the GType.

    	* gobject/pygenum.c (pyg_enum_from_gtype): Create a new GType on
    	the fly if there isn't one for the GType.
    	(pyg_enum_add): Allow module to be NULL.
    authored August 03, 2004
  5. Add better support for boolean type now when we can require 2.3. Fixe…

    …s bug
    
            * codegen/argtypes.py:
            * gobject/gobjectmodule.c: (pyg_source_remove):
            * gobject/pygmaincontext.c: (_wrap_g_main_context_iteration),
            (_wrap_g_main_context_pending):
            * gobject/pygmainloop.c: (_wrap_g_main_loop_is_running):
            * gobject/pygobject.c: (pygobject_handler_is_connected):
            * gobject/pygparamspec.c: (pyg_param_spec_getattr):
            * gobject/pygtype.c: (pyg_value_as_pyobject):
            * gtk/gdk.override:
            * gtk/gtk.override:
            * gtk/gtktextview.override:
            * gtk/gtkwidget.override:
            * pango.override: Add better support for boolean type now when
            we can require 2.3. Fixes bug 149121
    authored August 03, 2004
  6. Clean up most functions here to have only one return path.

    	* gtk/pygtktreemodel.c: Clean up most functions here to have only
    	one return path.
    
    	* gobject/pygobject.c (pygobject_emit): Protect g_value_unset by
    	UNBLOCK/BLOCK_THREADS since it might call pygobject_free which
    	will result in a deadlock.
    
    	* gobject/gobjectmodule.c (pyg_thread_init): New function, move
    	thread initalization stuff in here.
    
    	* All over the place: Kill pyg_block/unblock_threads and use
    	PyGILState and Py_BEGIN/END_ALLOW_THREADS.
    
    	unblock [code] block calls are replaced by Py_BEGIN/END and
    	block [code] unblock calls are replaced by PyGILState.
    authored August 03, 2004

Aug 02, 2004

  1. Call PyEval_InitThreads. Perhaps its something that always should be

    	* gobject/gobjectmodule.c (initgobject): Call
    	PyEval_InitThreads. Perhaps its something that always should be
    	called.
    
    	* README (Author): Add a requirements section
    
    	* configure.in: Require Python 2.3
    
    	* setup.py (version): Ditto
    
    	* gobject/pygtype.c, gobject/pygobject.h: Remove 2.2 compat.
    
    	* All over the place: Add support for PyGILState.
    authored August 02, 2004

Jul 29, 2004

  1. Added small PYTHONPATH note

    authored July 29, 2004
  2. Use gobject.type_name,type_from_name for testing instead of GtkListSt…

    …ore.
    
    	* tests/gtype.py (GTypeTest.checkType): Use
    	gobject.type_name,type_from_name for testing instead of GtkListStore.
    authored July 29, 2004

Jul 28, 2004

  1. s/e/enum

    authored July 28, 2004
  2. Reverse operator

    	* gobject/pygenum.c (pyg_enum_compare):
    	* gobject/pygflags.c (pyg_flags_compare): Reverse operator
    
    	* tests/enum.py (FlagsTest.testComparision)
    	(FlagsTest.testComparision): New tests
    authored July 28, 2004
  3. Test various other types aswell

    authored July 28, 2004
  4. If we're on python 2.3, also check for PyBool_Type.

    	* gobject/pygtype.c (pyg_type_from_object): If we're on python
    	2.3, also check for PyBool_Type.
    
    	* tests/gtype.py (GTypeTest.testBoolType): New test
    authored July 28, 2004

Jul 21, 2004

  1. Add, so Lorenzo can introspect flags properly too

    	* gobject/pygflags.c (pyg_flags_get_first_value_name)
    	(pyg_flags_get_first_value_nick): Add, so Lorenzo can introspect
    	flags properly too
    	(pyg_flags_get_value_names, pyg_flags_get_value_nicks): Make this
    	a little bit more useful. All values can still be fetch
    	through __flags_values__
    
    	* tests/enum.py: Improve and extend to test most enum/flags operations
    authored July 21, 2004

Jul 20, 2004

  1. Simplify, fix name in exceptions and remove warning.

    	* gtk/gtk.override (_wrap_gtk_file_chooser_dialog_new): Simplify,
    	fix name in exceptions and remove warning.
    
    	* gobject/pygenum.c (pyg_enum_from_gtype): Fall back to int for
    	unregistered enums.
    
    	* gobject/pygflags.c (pyg_flags_from_gtype): Ditto
    
    	* gobject/gobjectmodule.c (initgobject): Rename back to MainLoop, MainContext
    authored July 20, 2004
Something went wrong with that request. Please try again.