Permalink
Commits on Jan 4, 2009
  1. NEWS and README updated

    svn path=/branches/pygobject-2-16/; revision=985
    Gian Mario Tagliaretti committed Jan 4, 2009
  2. Version bump to 2.16.0

    svn path=/branches/pygobject-2-16/; revision=984
    Gian Mario Tagliaretti committed Jan 4, 2009
Commits on Dec 24, 2008
  1. Bug 547119 – gobject.timeout_add_seconds() not found in docs

    2008-12-24  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 547119 – gobject.timeout_add_seconds() not found in docs
    
    	* docs/reference/pyglib-functions.xml (glib.timeout_add_seconds):
    	Describe.
    
    svn path=/branches/pygobject-2-16/; revision=982
    Paul Pogonyshev committed with Paul Pogonyshev Dec 24, 2008
Commits on Dec 21, 2008
  1. Bug 564102 – _wrap_g_output_stream_write_async not adding a reference to

    2008-12-21  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 564102 – _wrap_g_output_stream_write_async not adding a
    	reference to the buffer passed
    
    	* gio/gio.override (pygio_notify_copy_buffer): New function.
    	(pygio_free_notify): Free new `buffer' field if it is set.
    
    	* gio/goutputstream.override (_wrap_g_output_stream_write_async):
    	Copy the buffer with new pygio_notify_copy_buffer() and use the
    	copy for g_output_stream_write_async() call.
    
    	* gio/gfile.override (_wrap_g_file_replace_contents_async): Same
    	as for _wrap_g_output_stream_write_async().
    
    svn path=/branches/pygobject-2-16/; revision=980
    Paul Pogonyshev committed with Paul Pogonyshev Dec 21, 2008
Commits on Dec 6, 2008
  1. Bug 555613 – gio.VolumeMonitor segfaults

    2008-12-06  Gian Mario Tagliaretti  <gianmt@gnome.org>
    
    	Bug 555613 – gio.VolumeMonitor segfaults
    
    	* gio/gvolumemonitor.override (_wrap_g_volume_monitor_tp_new):
    	Unconditionally raise TypeError.
    
    svn path=/branches/pygobject-2-16/; revision=979
    gianmt committed with Paul Pogonyshev Dec 6, 2008
  2. Revert 2008-10-31 changes by John Finlay: should only go to 2.17 deve…

    …lopment.
    
    svn path=/branches/pygobject-2-16/; revision=978
    Paul Pogonyshev committed Dec 6, 2008
Commits on Dec 3, 2008
  1. Test if `domain' is not-null before using it (avoids segfaults, see bug

    2008-12-03  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	* glib/pyglib.c (pyglib_error_check): Test if `domain' is not-null
    	before using it (avoids segfaults, see bug #561826).
    
    svn path=/trunk/; revision=976
    Paul Pogonyshev committed with Paul Pogonyshev Dec 3, 2008
Commits on Nov 3, 2008
  1. Add option (-p) to use the modulename as a hint to the prefix of func…

    …tions
    
    	* codegen/defsgen.py (DefsWriter.write_enum_defs): Add option (-p)
    	to use the modulename as a hint to the prefix of functions and
    	type codes. Provide way to identify untyped enums and flags and
    	print defs for them as well.
    
    
    svn path=/trunk/; revision=975
    John Finlay committed Nov 3, 2008
Commits on Nov 1, 2008
  1. Add defsgen to __all__ list. Strip out # directives from enum definti…

    …ons.
    
    * codegen/__init__.py (__all__): Add defsgen to __all__ list.
    * codegen/h2def.py (find_enum_defs): Strip out # directives from
    enum defintions.
    (clean_func): Change ' * G_CONST_RETURN * ' to '** '
    
    svn path=/trunk/; revision=974
    John Finlay committed Nov 1, 2008
Commits on Oct 31, 2008
  1. Add defsgen.py

    * codegen/Makefile.am (codegen_PYTHON): Add defsgen.py
    
    
    svn path=/trunk/; revision=973
    John Finlay committed Oct 31, 2008
  2. Use the passed in prefix as a hint when creating a typecode.

    * codegen/defsgen.py (typecode): Use the passed in prefix as a
    hint when creating a typecode.
    (split_prefix,write_enum_defs,_write_obj_helper): Add function to
    use passed in prefix as a hint when splitting an object name into
    module and name.
    
    * codegen/h2def.py (DefsWriter.write_enum_defs): Make sure the
    prefix ends with a _ i.e. really handle the GDK_FONT_FONT,
    GDK_FONT_FONTSET case.
    
    
    svn path=/trunk/; revision=972
    John Finlay committed Oct 31, 2008
Commits on Sep 12, 2008
  1. g_output_stream_write_all use gsize instead of gssize

    svn path=/trunk/; revision=971
    Gian Mario Tagliaretti committed Sep 12, 2008
Commits on Sep 9, 2008
  1. Bug 530935 – pygobject_set_properties doesnt release the GIL

    2008-09-10  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 530935 – pygobject_set_properties doesnt release the GIL
    
    	* gobject/pygobject.c (pygobject_set_properties): Reuse
    	set_property_from_pspec() which release GIL for us.  Also make
    	sure that g_object_thaw_notify() is called even after error.
    
    svn path=/trunk/; revision=970
    Paul Pogonyshev committed with Paul Pogonyshev Sep 9, 2008
Commits on Sep 8, 2008
  1. Bug 549517 – add __repr__ to gio.Drive, gio.Mount and gio.Volume

    2008-09-09  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 549517 – add __repr__ to gio.Drive, gio.Mount and gio.Volume
    
    	* gio/gio.override (_wrap_g_drive_tp_repr, _wrap_g_mount_tp_repr):
    	New functions.
    
    	* gio/gvolume.override (_wrap_g_volume_tp_repr): New function.
    
    svn path=/trunk/; revision=969
    Paul Pogonyshev committed with Paul Pogonyshev Sep 8, 2008
  2. Bug 551227 – Missing AC_CONFIG_MACRO_DIR([m4])

    2008-09-09  Loïc Minier  <lool@dooz.org>
    
    	Bug 551227 – Missing AC_CONFIG_MACRO_DIR([m4])
    
    	* configure.ac: Add AC_CONFIG_MACRO_DIR.
    
    svn path=/trunk/; revision=968
    lool committed with Paul Pogonyshev Sep 8, 2008
  3. Bug 551056 – make codegen not import when corresponding argument types

    2008-09-08  Paul Pogonyshev  <pogonyshev@gmx.net>
    
    	Bug 551056 – make codegen not import when corresponding argument
    	types are not registered
    
    	* codegen/override.py (import_pat): Add support for optional 'for'
    	clause.
    	(Overrides.__parse_override): Handle it.
    
    	* codegen/codegen.py (SourceWriter.write_imports)
    	(SourceWriter.write_object_imports): Adapt for changes in
    	get_imports() return value.
    	(is_registered_object): New function.
    
    svn path=/trunk/; revision=967
    Paul Pogonyshev committed with Paul Pogonyshev Sep 8, 2008
Commits on Sep 7, 2008
  1. Fix typos breaking compilation (bug #551212).

    2008-09-07  Frederic Peters  <fpeters@0d.be>
    
    	* gio/gfile.override (_wrap_g_file_load_contents)
    	(_wrap_g_file_load_contents_finish): Fix typos breaking
    	compilation (bug #551212).
    
    svn path=/trunk/; revision=966
    Frederic Peters committed with Paul Pogonyshev Sep 7, 2008
  2. Bug 551059 – GFile load_contents methods chop data at first \0

    2008-09-07  Jonathan Matthew  <jonathan@d14n.org>
    
    	Bug 551059 – GFile load_contents methods chop data at first \0
    
    	* gio/gfile.override:
    	Use 's#' (length specified) rather than 's' when constructing
    	result values in load_contents and load_contents_finish.
    
    svn path=/trunk/; revision=965
    Jonathan Matthew committed with Jonathan Matthew Sep 7, 2008
Commits on Sep 3, 2008
  1. Post release version bump

    2008-09-03  Johan Dahlin  <johan@gnome.org>
    
        * configure.ac:
        Post release version bump
    
    
    svn path=/trunk/; revision=964
    Johan Dahlin committed with Johan Dahlin Sep 3, 2008
  2. === 2.15.4 ===

    2008-09-03  Johan Dahlin  <johan@gnome.org>
    
        * NEWS: Update
    
    
    svn path=/trunk/; revision=962
    Johan Dahlin committed with Johan Dahlin Sep 3, 2008
Commits on Sep 2, 2008
  1. Fix typo (s/&type/type) introduced in r886 causing weird crashes on

    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
    lool committed with Loic Minier Sep 2, 2008
Commits on Sep 1, 2008
  1. add G_TYPE_CLOSURE boxed type in codegen

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

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

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

    	* 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
    Gustavo J. A. M. Carneiro committed Aug 30, 2008
Commits on Aug 27, 2008
  1. Mark pyglib_notify_on_enabling_threads() as private (also rename).

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

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 27, 2008
  3. Bug 549351 – an unitialized variable in PyGLib

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 27, 2008
  4. Bug 547633 – cannot create new threads when pygtk is used

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 27, 2008
  5. Bug 547088 – wrap g_content_types_get_registered()

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 27, 2008
  6. Rename from read(), document. (gio.InputStream.read): Rename from

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 27, 2008
Commits on Aug 16, 2008
  1. Fix keywords getting out of sync with actual argument order.

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 16, 2008
Commits on Aug 12, 2008
  1. Bug 547495 – wrap four important asynchronous methods in gio.Drive and

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 12, 2008
  2. Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 12, 2008
  3. Bug 547484 – wrap gio.DataInputStream.read_line and ...read_until

    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
    Paul Pogonyshev committed with Paul Pogonyshev Aug 12, 2008