<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pygobject.git, branch PYGTK_0_6_11</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/'/>
<entry>
<title>fix up spec file to reflect new locations of files.</title>
<updated>2002-08-18T09:52:39+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-08-18T09:52:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=54689c950f853e4da9bd048af193a19adb39b3b9'/>
<id>54689c950f853e4da9bd048af193a19adb39b3b9</id>
<content type='text'>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * pygtk.spec: fix up spec file to reflect new locations of files.

    * pygtk.py: helper script for parallel installs.

    * Makefile.am: fix up makefile for parallel install.

2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * gnome-python.spec: update to take into account new locations.

    * pygnome/gnome/Makefile.am: same here.

    * pygnome/Makefile.am: fix up for parallel install with pygtk-2.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * pygtk.spec: fix up spec file to reflect new locations of files.

    * pygtk.py: helper script for parallel installs.

    * Makefile.am: fix up makefile for parallel install.

2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * gnome-python.spec: update to take into account new locations.

    * pygnome/gnome/Makefile.am: same here.

    * pygnome/Makefile.am: fix up for parallel install with pygtk-2.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>same here.</title>
<updated>2002-08-18T07:01:39+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-08-18T07:01:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=2582e5f02b58a806d405e8cf299c8b775b19e9d4'/>
<id>2582e5f02b58a806d405e8cf299c8b775b19e9d4</id>
<content type='text'>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * gtk/Makefile.am: same here.

    * Makefile.am: install in a gtk-2.0 subdir of site-packages.

    * pygtk.py: new file to help with pygtk version parallel install.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

    * gtk/Makefile.am: same here.

    * Makefile.am: install in a gtk-2.0 subdir of site-packages.

    * pygtk.py: new file to help with pygtk version parallel install.
</pre>
</div>
</content>
</entry>
<entry>
<title>unref object_wrapper. (pyg_object_get_property): unref object_wrapper.</title>
<updated>2002-08-18T04:17:05+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-08-18T04:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=444b7817f9bf54c7848f151d55f2375465f44166'/>
<id>444b7817f9bf54c7848f151d55f2375465f44166</id>
<content type='text'>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

	* gobjectmodule.c (pyg_object_set_property): unref object_wrapper.
	(pyg_object_get_property): unref object_wrapper.  (from patch by
	Arjan Molenaar on bug #71021).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

	* gobjectmodule.c (pyg_object_set_property): unref object_wrapper.
	(pyg_object_get_property): unref object_wrapper.  (from patch by
	Arjan Molenaar on bug #71021).
</pre>
</div>
</content>
</entry>
<entry>
<title>don't need to manually sink. (_wrap_gtk_tree_view_column_new): same here.</title>
<updated>2002-08-18T02:55:16+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-08-18T02:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=c6ca78eb2cea9b7e1df04d42852a2c98a08f5303'/>
<id>c6ca78eb2cea9b7e1df04d42852a2c98a08f5303</id>
<content type='text'>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

	* gtk/gtk.override (_wrap_gtk_clist_new_with_titles): don't need
	to manually sink.
	(_wrap_gtk_tree_view_column_new): same here.
	(_wrap_gtk_button_new): same here.
	(_wrap_gtk_toggle_button_new): same here.
	(_wrap_gtk_check_button_new): same here.
	(_wrap_gtk_radio_button_new): same here.
	(_wrap_gtk_list_item_new): same here.
	(_wrap_gtk_menu_item_new): same here.
	(_wrap_gtk_check_menu_item_new): same here.
	(_wrap_gtk_radio_menu_item_new): same here.
	(_wrap_gtk_image_menu_item_new): same here.
	(_wrap_gtk_ctree_new_with_titles): same here.
	(_wrap_gtk_dialog_new_with_buttons): same here.
	(_wrap_gtk_message_dialog_new): same here.
	(_wrap_gtk_progress_bar_new_with_adjustment): same here.

	* gtk/gtkmodule.c (sink_gtkobject): function to sink a GtkObject
	if it is floating.
	(init_gtk): register sink_gtkobject for sinking GtkObjects.

	* codegen/codegen.py
	(GObjectWrapper.get_initial_constructor_substdict): get rid of
	gtkobjectsink bit of code.

	* pygobject.c (pygobject_register_sinkfunc): new function to
	register a function to get rid of the floating reference from an
	object.
	(sink_object): run a sinkfunc for an object if it has been
	registered.
	(pygobject_new): call sink_object
	(pygobject_register_wrapper): call sink_object.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-08-18  James Henstridge  &lt;james@daa.com.au&gt;

	* gtk/gtk.override (_wrap_gtk_clist_new_with_titles): don't need
	to manually sink.
	(_wrap_gtk_tree_view_column_new): same here.
	(_wrap_gtk_button_new): same here.
	(_wrap_gtk_toggle_button_new): same here.
	(_wrap_gtk_check_button_new): same here.
	(_wrap_gtk_radio_button_new): same here.
	(_wrap_gtk_list_item_new): same here.
	(_wrap_gtk_menu_item_new): same here.
	(_wrap_gtk_check_menu_item_new): same here.
	(_wrap_gtk_radio_menu_item_new): same here.
	(_wrap_gtk_image_menu_item_new): same here.
	(_wrap_gtk_ctree_new_with_titles): same here.
	(_wrap_gtk_dialog_new_with_buttons): same here.
	(_wrap_gtk_message_dialog_new): same here.
	(_wrap_gtk_progress_bar_new_with_adjustment): same here.

	* gtk/gtkmodule.c (sink_gtkobject): function to sink a GtkObject
	if it is floating.
	(init_gtk): register sink_gtkobject for sinking GtkObjects.

	* codegen/codegen.py
	(GObjectWrapper.get_initial_constructor_substdict): get rid of
	gtkobjectsink bit of code.

	* pygobject.c (pygobject_register_sinkfunc): new function to
	register a function to get rid of the floating reference from an
	object.
	(sink_object): run a sinkfunc for an object if it has been
	registered.
	(pygobject_new): call sink_object
	(pygobject_register_wrapper): call sink_object.
</pre>
</div>
</content>
</entry>
<entry>
<title>allow None when converting to string GValue (bug picked up by Thomas</title>
<updated>2002-08-17T13:59:45+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-08-17T13:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=53f22d8e4f362ca96c543311d0c107c6b88633a7'/>
<id>53f22d8e4f362ca96c543311d0c107c6b88633a7</id>
<content type='text'>
2002-08-17  James Henstridge  &lt;james@daa.com.au&gt;

	* pygtype.c (pyg_value_from_pyobject): allow None when converting
	to string GValue (bug picked up by Thomas Leonard.

	* gtk/gtk.defs (scroll_to_cell): allow column to be None (bug #90398).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-08-17  James Henstridge  &lt;james@daa.com.au&gt;

	* pygtype.c (pyg_value_from_pyobject): allow None when converting
	to string GValue (bug picked up by Thomas Leonard.

	* gtk/gtk.defs (scroll_to_cell): allow column to be None (bug #90398).
</pre>
</div>
</content>
</entry>
<entry>
<title>These changes help with win32 compat.</title>
<updated>2002-07-12T13:50:57+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-07-12T13:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=3b069a1dca0c8bd147ec1e2ea7a544e9f75d6032'/>
<id>3b069a1dca0c8bd147ec1e2ea7a544e9f75d6032</id>
<content type='text'>
2002-07-12  James Henstridge  &lt;james@daa.com.au&gt;

	These changes help with win32 compat.

	* pygboxed.c (PyGBoxed_Type): set tp_alloc and tp_new to NULL.
	(PyGPointer_Type): same here.

	* gobjectmodule.c (PyGInterface_Type): set tp_alloc and tp_new to
	NULL.
	(initgobject): set tp_new and tp_alloc for various types.

	* pygobject.c (PyGObject_Type): set tp_alloc and tp_new to NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-07-12  James Henstridge  &lt;james@daa.com.au&gt;

	These changes help with win32 compat.

	* pygboxed.c (PyGBoxed_Type): set tp_alloc and tp_new to NULL.
	(PyGPointer_Type): same here.

	* gobjectmodule.c (PyGInterface_Type): set tp_alloc and tp_new to
	NULL.
	(initgobject): set tp_new and tp_alloc for various types.

	* pygobject.c (PyGObject_Type): set tp_alloc and tp_new to NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reworking of Arjan Molenaar's (arjanmolenaar@hetnet.nl) patch from bug</title>
<updated>2002-07-09T15:27:57+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-07-09T15:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=bf4674b72ab3c906d45458dcab26f6d5c7fe507b'/>
<id>bf4674b72ab3c906d45458dcab26f6d5c7fe507b</id>
<content type='text'>
2002-07-09  James Henstridge  &lt;james@daa.com.au&gt;

	Reworking of Arjan Molenaar's (arjanmolenaar@hetnet.nl) patch from
	bug 71435.

	* gtk/libglade.override (connect_one): watch the closure.
	(connect_many): watch the closure.

	* gtk/gtk.override (_wrap_gtk_toolbar_append_item): watch closure
	for signal.
	(_wrap_gtk_toolbar_prepend_item): same here.
	(_wrap_gtk_toolbar_insert_item): same here.
	(_wrap_gtk_toolbar_insert_stock): same here.
	(_wrap_gtk_toolbar_append_element): same here.
	(_wrap_gtk_toolbar_prepend_element): same here.
	(_wrap_gtk_toolbar_insert_element): same here.

	* pygobject.h (_PyGObject_Functions): add pygobject_watch_closure
	to the list of exported functions.

	* pygobject.c (pygobject_watch_closure): new function to watch a
	closure.  We perform cyclic garbage collection on watched
	closures.  The closure will automatically be unwatched when it
	gets invalidated.
	(pygobject_traverse): traverse watched closures as well.
	(pygobject_clear): invalidate all watched closures
	(pygobject_dealloc): invalidate watched closures on dealloc too.
	(PyGObject_Type): register the invalidate handler.
	(pygobject_connect): watch the closure we connect here.
	(pygobject_connect_after): same here..
	(pygobject_connect_object): same here.
	(pygobject_connect_object_after): same here.

	* pygtype.c (pyg_closure_new): clean up closure on invalidate,
	rather than finalize (on invalidate, we break references).

	* pygobject.h (PyGObject): add closures member to store references
	to PyGClosures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-07-09  James Henstridge  &lt;james@daa.com.au&gt;

	Reworking of Arjan Molenaar's (arjanmolenaar@hetnet.nl) patch from
	bug 71435.

	* gtk/libglade.override (connect_one): watch the closure.
	(connect_many): watch the closure.

	* gtk/gtk.override (_wrap_gtk_toolbar_append_item): watch closure
	for signal.
	(_wrap_gtk_toolbar_prepend_item): same here.
	(_wrap_gtk_toolbar_insert_item): same here.
	(_wrap_gtk_toolbar_insert_stock): same here.
	(_wrap_gtk_toolbar_append_element): same here.
	(_wrap_gtk_toolbar_prepend_element): same here.
	(_wrap_gtk_toolbar_insert_element): same here.

	* pygobject.h (_PyGObject_Functions): add pygobject_watch_closure
	to the list of exported functions.

	* pygobject.c (pygobject_watch_closure): new function to watch a
	closure.  We perform cyclic garbage collection on watched
	closures.  The closure will automatically be unwatched when it
	gets invalidated.
	(pygobject_traverse): traverse watched closures as well.
	(pygobject_clear): invalidate all watched closures
	(pygobject_dealloc): invalidate watched closures on dealloc too.
	(PyGObject_Type): register the invalidate handler.
	(pygobject_connect): watch the closure we connect here.
	(pygobject_connect_after): same here..
	(pygobject_connect_object): same here.
	(pygobject_connect_object_after): same here.

	* pygtype.c (pyg_closure_new): clean up closure on invalidate,
	rather than finalize (on invalidate, we break references).

	* pygobject.h (PyGObject): add closures member to store references
	to PyGClosures.
</pre>
</div>
</content>
</entry>
<entry>
<title>apply another memory leak fix from Arjan (from bug #87413).</title>
<updated>2002-07-08T14:08:24+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-07-08T14:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=80ba97b5bdcea9aadcdee5a565bc83e646be0bb0'/>
<id>80ba97b5bdcea9aadcdee5a565bc83e646be0bb0</id>
<content type='text'>
2002-07-08  James Henstridge  &lt;james@daa.com.au&gt;

	* pygobject.c (pygobject_connect): apply another memory leak fix
	from Arjan (from bug #87413).
	(pygobject_connect_after): equivalent fix here.
	(pygobject_connect_object): and here.
	(pygobject_connect_object_after): and here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-07-08  James Henstridge  &lt;james@daa.com.au&gt;

	* pygobject.c (pygobject_connect): apply another memory leak fix
	from Arjan (from bug #87413).
	(pygobject_connect_after): equivalent fix here.
	(pygobject_connect_object): and here.
	(pygobject_connect_object_after): and here.
</pre>
</div>
</content>
</entry>
<entry>
<title>add __grefcount__ property.</title>
<updated>2002-07-07T14:31:43+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-07-07T14:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=d863b294cbb26062b539ab6fea48422a96a4cfe1'/>
<id>d863b294cbb26062b539ab6fea48422a96a4cfe1</id>
<content type='text'>
2002-07-07  James Henstridge  &lt;james@daa.com.au&gt;

	* pygobject.c (pygobject_get_refcount): add __grefcount__ property.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-07-07  James Henstridge  &lt;james@daa.com.au&gt;

	* pygobject.c (pygobject_get_refcount): add __grefcount__ property.
</pre>
</div>
</content>
</entry>
<entry>
<title>update to use this function. (ArgMatcher.register_boxed): short circuit if</title>
<updated>2002-07-07T12:45:43+00:00</updated>
<author>
<name>James Henstridge</name>
<email>james@daa.com.au</email>
</author>
<published>2002-07-07T12:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/dmalcolm/public_git/pygobject.git/commit/?id=4e20227a58deb774e23c2fcb2d7e2135526a05fc'/>
<id>4e20227a58deb774e23c2fcb2d7e2135526a05fc</id>
<content type='text'>
2002-07-07  James Henstridge  &lt;james@daa.com.au&gt;

	* codegen/argtypes.py (GtkTreePathArg.write_return): update to use
	this function.
	(ArgMatcher.register_boxed): short circuit if there is already a
	handler for the boxed type (helps with setting custom handlers for
	boxed types).

	* gtk/gtk-types.c (pygdk_rectangle_from_pyobject): new function to
	parse a GdkRectangle from a PyObject.

	* gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_path): print
	a warning if the return value could not be converted to a
	GtkTreePath.

	* gtk/gtk.override (_wrap_gtk_tree_model_get_value): don't assume
	tree paths are tuples.

	* codegen/argtypes.py (GtkTreePathArg.write_param): fix up code
	generator to get rid of assumption that tree paths are tuples, and
	catch case where pygtk_tree_path_from_pyobject() returns NULL.

	* gtk/gtk-types.c (pygtk_tree_path_from_pyobject): change so that
	we treat an integer PyObject as a tree path with a single index.

	* pygtype.c (pyg_closure_marshal): apply patch from Arjan Molenaar
	&lt;arjanmolenaar@hetnet.nl&gt; that fixes a reference leak for the
	argument tuple passed to the callback.
	(pyg_signal_class_closure_marshal): apply similar fix here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
2002-07-07  James Henstridge  &lt;james@daa.com.au&gt;

	* codegen/argtypes.py (GtkTreePathArg.write_return): update to use
	this function.
	(ArgMatcher.register_boxed): short circuit if there is already a
	handler for the boxed type (helps with setting custom handlers for
	boxed types).

	* gtk/gtk-types.c (pygdk_rectangle_from_pyobject): new function to
	parse a GdkRectangle from a PyObject.

	* gtk/pygtktreemodel.c (pygtk_generic_tree_model_get_path): print
	a warning if the return value could not be converted to a
	GtkTreePath.

	* gtk/gtk.override (_wrap_gtk_tree_model_get_value): don't assume
	tree paths are tuples.

	* codegen/argtypes.py (GtkTreePathArg.write_param): fix up code
	generator to get rid of assumption that tree paths are tuples, and
	catch case where pygtk_tree_path_from_pyobject() returns NULL.

	* gtk/gtk-types.c (pygtk_tree_path_from_pyobject): change so that
	we treat an integer PyObject as a tree path with a single index.

	* pygtype.c (pyg_closure_marshal): apply patch from Arjan Molenaar
	&lt;arjanmolenaar@hetnet.nl&gt; that fixes a reference leak for the
	argument tuple passed to the callback.
	(pyg_signal_class_closure_marshal): apply similar fix here.
</pre>
</div>
</content>
</entry>
</feed>
