Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: PYGOBJECT_2_15…
Commits on Sep 3, 2008
  1. === 2.15.4 ===

    Johan Dahlin authored Johan Dahlin committed
    2008-09-03  Johan Dahlin  <johan@gnome.org>
    
        * NEWS: Update
    
    
    svn path=/trunk/; revision=962
Commits on Sep 2, 2008
  1. @lool

    Fix typo (s/&type/type) introduced in r886 causing weird crashes on

    lool authored Loic Minier committed
    2008-09-03  Loïc Minier  <lool@dooz.org>
    
    	* gobject/pygpointer.c: (pyg_register_pointer):
    	Fix typo (s/&type/type) introduced in r886 causing weird crashes on
    	x86-64; bug #550463.
    
    svn path=/trunk/; revision=961
Commits on Sep 1, 2008
  1. add G_TYPE_CLOSURE boxed type in codegen

    Gian Mario Tagliaretti authored
    svn path=/trunk/; revision=960
Commits on Aug 31, 2008
  1. Post release version bump

    Johan Dahlin authored Johan Dahlin committed
    2008-08-31  Johan Dahlin  <johan@gnome.org>
    
        * configure.ac:
        Post release version bump
    
    
    svn path=/trunk/; revision=959
  2. === 2.15.3 ===

    Johan Dahlin authored Johan Dahlin committed
    2008-08-31  Johan Dahlin  <johan@gnome.org>
    
        * NEWS: Update
    
    
    svn path=/trunk/; revision=957
Commits on Aug 30, 2008
  1. * gobject/pygobject.c: Fix memory problems reported by valgrind due to

    Gustavo J. A. M. Carneiro authored
    	* glib/pyglib.h: * gobject/pygobject.c: Fix memory problems
    	reported by valgrind due to invalid tp_basicsize in
    	PyGPropsDescr_Type.  Closes #549945.
    
    
    svn path=/trunk/; revision=956
Commits on Aug 27, 2008
  1. Mark pyglib_notify_on_enabling_threads() as private (also rename).

    Paul Pogonyshev authored
    svn path=/trunk/; revision=955
  2. Bug 549191 – Constructor of gtk.TreeView raises TypeError when model is

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 549191 – Constructor of gtk.TreeView raises TypeError when
    	model is None
    
    	* gobject/pygtype.c (pyg_value_from_pyobject): Handle None in
    	G_TYPE_INTERFACE branch.
    
    svn path=/trunk/; revision=954
  3. Bug 549351 – an unitialized variable in PyGLib

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 549351 – an unitialized variable in PyGLib
    
    	* glib/pygmainloop.c (pyg_main_loop_init): Initialize
    	`is_running'.
    
    svn path=/trunk/; revision=953
  4. Bug 547633 – cannot create new threads when pygtk is used

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547633 – cannot create new threads when pygtk is used
    
    	* glib/pyglib.c (pyglib_notify_on_enabling_threads): New function.
    	(pyglib_enable_threads): Invoke all callbacks added with new
    	pyglib_notify_on_enabling_threads().
    
    	* gobject/gobjectmodule.c (pyg_note_threads_enabled): New
    	function (callback for new pyglib_notify_on_enabling_threads()).
    	(PYGLIB_MODULE_START): Initialize
    	'pygobject_api_functions.threads_enabled' and also watch for
    	thread being enabled later on.
    
    svn path=/trunk/; revision=952
  5. Bug 547088 – wrap g_content_types_get_registered()

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547088 – wrap g_content_types_get_registered()
    
    	* gio/gio.override (_wrap_g_drive_get_volumes): Fix refleak.
    	(_wrap_g_content_types_get_registered): New function.
    
    	* gio/gfileenumerator.override (_wrap_g_file_enumerator_next_files_finish):
    	Fix refleak.
    
    	* gio/gvolumemonitor.override (_wrap_g_volume_monitor_get_connected_drives):
    	Fix refleak.
    	(_wrap_g_volume_monitor_get_volumes): Likewise.
    	(_wrap_g_volume_monitor_get_mounts): Likewise.
    
    svn path=/trunk/; revision=951
  6. Rename from read(), document. (gio.InputStream.read): Rename from

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-28  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	* gio/gio.defs (gio.InputStream.read_part): Rename from read(),
    	document.
    	(gio.InputStream.read): Rename from read_all(), document.
    	(gio.OutputStream.write_part): Rename from write(), document.
    	(gio.OutputStream.write): Rename from write_all(), document.
    
    	* gio/ginputstream.override (_wrap_g_input_stream_read): Fix
    	several bugs.
    	(_wrap_g_input_stream_read_all): New function.
    
    	* gio/goutputstream.override (_wrap_g_output_stream_write_all):
    	New function.
    
    	* tests/test_gio.py (TestInputStream.testRead): Add more tests.
    	(TestInputStream.test_read_part): New test.
    	(TestInputStream._read_in_loop): New helper method.
    	(TestOutputStream.test_write_part): New test.
    
    svn path=/trunk/; revision=950
Commits on Aug 16, 2008
  1. Fix keywords getting out of sync with actual argument order.

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-16  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	* gio/gfile.override (_wrap_g_file_enumerate_children_async): Fix
    	keywords getting out of sync with actual argument order.
    
    svn path=/trunk/; revision=949
Commits on Aug 12, 2008
  1. Bug 547495 – wrap four important asynchronous methods in gio.Drive and

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-13  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547495 – wrap four important asynchronous methods in gio.Drive
    	and gio.Mount
    
    	* gio/gio.defs (gio.Drive.eject, gio.Drive.poll_for_media)
    	(gio.Mount.remount): Document.
    
    	* gio/gio.override (_wrap_g_drive_eject)
    	(_wrap_g_drive_poll_for_media, _wrap_g_mount_eject)
    	(_wrap_g_mount_remount): New functions.
    
    svn path=/trunk/; revision=948
  2. Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until
    
    	* tests/test_gio.py (TestDataInputStream): New test case.
    
    	* gio/gio.defs (read_line, read_until): Document.
    
    	* gio/ginputstream.override (_wrap_g_data_input_stream_read_line)
    	(_wrap_g_data_input_stream_read_until): New functions.
    
    svn path=/trunk/; revision=947
  3. Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until
    
    	* tests/test_gio.py (TestDataInputStream): New test case.
    
    	* gio/ginputstream.override (_wrap_g_data_input_stream_read_line)
    	(_wrap_g_data_input_stream_read_until): New functions.
    
    svn path=/trunk/; revision=946
  4. only use 4 spaces in indent

    Gian Mario Tagliaretti authored
    svn path=/trunk/; revision=945
Commits on Aug 11, 2008
  1. Bug 547354 – wrap a few memory stream methods

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547354 – wrap a few memory stream methods
    
    	* gio/ginputstream.override (_wrap_g_memory_input_stream_add_data):
    	New function.
    
    	* gio/gio.defs (gio.MemoryOutputStream.get_contents): Rename from
    	get_data() to avoid name clash.
    
    	* gio/goutputstream.override (_wrap_g_memory_output_stream_new)
    	(_wrap_g_memory_output_stream_get_data): New functions.
    
    	* tests/test_gio.py (TestMemoryInputStream)
    	(TestMemoryOutputStream): New test cases.
    
    svn path=/trunk/; revision=944
  2. Ignore `g_io_module*' and `g_io_scheduler_*'.

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-12  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	* gio/gio.override: Ignore `g_io_module*' and `g_io_scheduler_*'.
    
    svn path=/trunk/; revision=943
  3. Bug 540376 – No TypeError raised when type is None

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 540376 – No TypeError raised when type is None
    
    	* gobject/gobjectmodule.c (pyg_signal_new): Add check on second
    	argument type.
    
    	* tests/test_signal.py (TestSignalCreation): New test case.
    
    svn path=/trunk/; revision=942
  4. Bug 547104 – improve type wrapper creation

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547104 – improve type wrapper creation
    
    	* gio/gappinfo.override (_wrap_g_app_info_tp_richcompare)
    	(_wrap_g_app_info_tp_repr): New functions.
    
    	* tests/test_gio.py (TestAppInfo.test_eq): New test.
    
    svn path=/trunk/; revision=941
  5. Bug 547104 – improve type wrapper creation

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-11  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547104 – improve type wrapper creation
    
    	* gobject/pygobject.c (pygobject_register_class): Use new
    	pygobject_inherit_slots() to propagate custom slots in normal
    	types too.
    	(pygobject_inherit_slots): New function, break out of
    	pygobject_new_with_interfaces() and rewrite a bit.
    	(pygobject_find_slot_for): Add new argument that can forbid
    	overriding non-NULL slots.
    
    	* gio/gicon.override (pygio_do_icon_richcompare): Remove, the code
    	is now directly in _wrap_g_icon_tp_richcompare().
    	(_wrap_g_file_icon_tp_richcompare, _wrap_g_file_icon_tp_hash)
    	(_wrap_g_themed_icon_tp_richcompare, _wrap_g_themed_icon_tp_hash):
    	Remove, duplicating code in this way is not needed anymore.
    
    svn path=/trunk/; revision=940
Commits on Aug 10, 2008
  1. Bug 546120 – make gio.File more Pythonic

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-10  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 546120 – make gio.File more Pythonic
    
    	* gio/gfile.override (_wrap_g_file_tp_richcompare)
    	(_wrap_g_file_tp_hash, _wrap_g_file_tp_repr): New functions.
    
    	* tests/test_gio.py (TestFile.test_eq, TestFile.test_hash): New
    	tests.
    
    svn path=/trunk/; revision=939
  2. Bug 547104 – improve runtime type wrapper creation

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-10  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547104 – improve runtime type wrapper creation
    
    	* gobject/pygobject.c (pygobject_new_with_interfaces): Use new
    	pygobject_find_slot_for() for `tp_richcompare', `tp_compare`,
    	`tp_hash', `tp_iter', `tp_repr', `tp_str' and `tp_print'.
    	(pygobject_find_slot_for): New static function.
    
    svn path=/trunk/; revision=938
  3. Bug 547134 – fix docstring line length

    Jonathan Matthew authored Jonathan Matthew committed
    2008-08-10  Jonathan Matthew  <jonathan@d14n.org>
    
    	Bug 547134 – fix docstring line length
    
    	* gio/gio.defs:
    	Fix docstring line lengths so they don't wrap across lines in an 80
    	column terminal.
    
    svn path=/trunk/; revision=937
  4. Add GFile.query_default_handler which was missing from the defs.

    Gian Mario Tagliaretti authored
    svn path=/trunk/; revision=936
  5. Bug 547067 – add File.replace_contents, replace_contents_async,

    Jonathan Matthew authored Jonathan Matthew committed
    2008-08-10  Jonathan Matthew  <jonathan@d14n.org>
    
    	Bug 547067 – add File.replace_contents, replace_contents_async,
    	replace_contents_finish.
    
    	* gio/gfile.override:
    	* gio/gio.defs:
    	* tests/test_gio.py:
    	Add overrides, docs, and tests for File.replace_contents,
    	replace_contents_async, and replace_contents_finish.
    
    svn path=/trunk/; revision=935
Commits on Aug 9, 2008
  1. Fix to not use `use_default_fallbacks' property (it's new).

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	* tests/test_gicon.py (TestThemedIcon.test_constructor): Fix to
    	not use `use_default_fallbacks' property (it's new).
    
    svn path=/trunk/; revision=934
  2. Bug 546135 – GIcon and implementations improvements

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 546135 – GIcon and implementations improvements
    
    	* gio/gio.defs (g_file_icon_new): Change from method of gio.File
    	to constructor of gio.FileIcon.
    
    	* tests/test_gicon.py (TestIcon.test_eq, Test_Eq.test_hash)
    	(TestLoadableIcon.setUp): Adapt accordingly.
    	(TestFileIcon): New test case.
    
    svn path=/trunk/; revision=933
  3. Bug 546591 – File.copy progress_callback does not work

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 546591 – File.copy progress_callback does not work
    
    	* gio/gfile.override (file_progress_callback_marshal): Use
    	PyObject_CallFunction() instead of PyEval_CallFunction().  Use "K"
    	instead of "k" (the latter is not correct for 32-bit platforms).
    	Don't free 'notify' here.
    	(_wrap_g_file_copy): Free 'notify'.
    	(_wrap_g_file_move): Likewise.
    
    	* gio/gio.override (pygio_free_notify): New function.
    	(async_result_callback_marshal): Use it.
    
    	* tests/test_gio.py (TestFile.test_copy_progress.progress): New
    	test.
    
    svn path=/trunk/; revision=932
  4. Bug 546135 – GIcon and implementations improvements

    Paul Pogonyshev authored Paul Pogonyshev committed
    2008-08-09  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 546135 – GIcon and implementations improvements
    
    	* gio/gio.defs (gio.LoadableIcon.load)
    	(gio.LoadableIcon.load_async, gio.LoadableIcon.load_finish):
    	Document.
    
    	* gio/Makefile.am:
    	* gio/gicon.override: New file: parts of 'gio.override', three
    	methods of gio.LoadableIcon and gio.ThemedIcon constructor.
    
    	* gio/gio.override: Move over all icon-related overrides to
    	'gicon.override'.
    
    	* tests/Makefile.am:
    	* tests/test_gicon.py: New file: parts of 'test_gio.py' and
    	several new gio.Icon tests.
    
    	* tests/test_gio.py (TestThemedIcon): Move over to
    	'test_gicon.py'.
    
    svn path=/trunk/; revision=931
  5. include test_gio.py in the tests

    Johan Dahlin authored
    svn path=/trunk/; revision=930
Commits on Aug 7, 2008
  1. Bug 546734 – Missing Py_INCREFs for some file async methods

    Jonathan Matthew authored Jonathan Matthew committed
    2008-08-07  Jonathan Matthew  <jonathan@d14n.org>
    
    	Bug 546734 – Missing Py_INCREFs for some file async methods
    
    	* gio/gfile.override:
    	Increment refcounts on callbacks and callback data for
    	append_to_async, create_async, replace_async, query_info_async and
    	load_contents_async as for all other async methods.
    
    svn path=/trunk/; revision=929
Commits on Aug 6, 2008
  1. Move the progress callback for move/copy so it's consistent with the

    Johan Dahlin authored Johan Dahlin committed
    2008-08-06  Johan Dahlin  <johan@gnome.org>
    
        * gio/gfile.override:
        * gio/gio.defs:
        Move the progress callback for move/copy so it's consistent with
        the documentation and positional arguments. Update documentation as well
    
    
    svn path=/trunk/; revision=928
  2. Add a pygobject_enable_threads wrapper around pyglib_threads_enable and

    Johan Dahlin authored Johan Dahlin committed
    2008-08-06  Johan Dahlin  <johan@gnome.org>
    
        * glib/pyglib.c (pyglib_enable_threads):
        * gobject/gobjectmodule.c (pyg_threads_init),
        (pygobject_enable_threads):
        Add a pygobject_enable_threads wrapper around pyglib_threads_enable
        and return 0/-1 which existing gobject based applications expect.
    
    
    svn path=/trunk/; revision=927
Something went wrong with that request. Please try again.