| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add the wrapper for gio.FileOutputStream.query_info_async
including docs and a test.
|
| |
|
|
|
|
|
| |
Add the wrapper for gio.FileInputStream.query_async including docs and
a test.
|
|
|
|
|
|
|
| |
Wrap the functions and their corresponding *_finish() functions.
Create 'gdatainputstream.override' for these and move two existing
functions there. Add unit tests. Re-enable synchronous read_line
unit test and adjust it for new official GIO behavior. Bug #584285.
|
|
|
|
| |
Bug #584290.
|
|
|
|
| |
add the new API added in gio 2.20, some needs to be wrapped manually
|
|
|
|
| |
wrap gio.OutputStream.splice_async() and add a test.
|
|
|
|
|
| |
Do this now, while no-one (as far as we know) links to the library
besides PyGObject itself. Bug #550235.
|
|
|
|
| |
wrap gio.OutputStream.flush_async() and add a test.
|
|
|
|
|
| |
added a boxed type for gio.FileAttributeMatcher which has been forgotten while
wrapping the gio API. This should probably be done in gio itself.
|
|
|
|
| |
use the count argument instead of buffer_size which is always zero
|
|
|
|
| |
wrap gio.InputStream.skip_async() and add a test.
|
|
|
|
|
| |
After the recent patch it would leak exception data if old argument
order was used. Properly decref the objects.
|
| |
|
|
|
|
|
|
|
| |
the following methods of gio.Mount have been wrapped including docs
(_wrap_g_mount_guess_content_type)
(_wrap_g_mount_guess_content_type_finish)
(_wrap_g_mount_guess_content_type_sync)
|
|
|
|
|
| |
Simply amend all related symbolic link creation so that any errors are
ignored.
|
|
|
|
|
|
|
| |
Swap the arguments for consistency with other methods. Update
documentation accordingly. Take care to keep the old code (i.e. with
non-swapped calling arguments) working, but don't mention that
anywhere. (Bug #580490.)
|
|
|
|
|
|
|
| |
Remove the script and all related imports. All relevant Makefile's
now create symbolic links for '.so' files from '.libs' to the level
up, so that C helper modules are still importable in built, but not
installed source tree.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-15 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 555613 – gio.VolumeMonitor segfaults
* gio/gvolumemonitor.override (_wrap_g_volume_monitor_tp_new): New
function, return the singleton object.
svn path=/trunk/; revision=1064
|
|
|
|
|
|
|
|
|
|
| |
2009-04-14 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_copy_async) change argument order
to keep it consistent with the other methods.
svn path=/trunk/; revision=1061
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-13 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 578870 – memory leak in gio.File.copy_async
* gio/gio.override (PyGIONotify): Add 'slaves' field.
(pygio_notify_new_slave): New function.
(pygio_notify_reference_callback): Recurse for slaves, if any.
(pygio_notify_free): Likewise.
* gio/gfile.override (file_progress_callback_marshal): Use new
chaining functionality to avoid leaking the second PyGIONotify
structure. Rename 'callback' as 'progress_callback' for clarity.
svn path=/trunk/; revision=1060
|
|
|
|
|
|
|
|
|
|
| |
2009-04-12 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gio.defs: (g_file_monitor) should accept None
for cancellable and set the default flag to G_FILE_MONITOR_NONE.
svn path=/trunk/; revision=1059
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-09 Jonathan Matthew <jonathan@d14n.org>
Bug 575781 – pyg_notify_free needs to ensure it has GIL before calling
Py_XDECREF
* gio/gio.override: Ensure we're holding the GIL before potentially
destroying the callback and data.
svn path=/trunk/; revision=1057
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-05 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_set_display_name_async) Wrap new GFile method.
* tests/test_gio.py: Test the above methods.
svn path=/trunk/; revision=1056
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-04-04 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_set_attributes_async)
(_wrap_g_file_set_attributes_finish) Wrap new GFile methods.
* tests/test_gio.py: Test the above methods.
svn path=/trunk/; revision=1053
|
|
|
|
|
|
|
|
|
|
| |
2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_query_filesystem_info_async) Fix a typo.
svn path=/trunk/; revision=1052
|
|
|
|
|
|
|
|
|
|
| |
2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_query_filesystem_info_async) Wrap new GFile method.
svn path=/trunk/; revision=1051
|
|
|
|
|
|
|
|
|
|
| |
2009-03-31 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gio.defs: Add missing g_file_query_filesystem_info_async and
g_file_query_filesystem_info_finish
svn path=/trunk/; revision=1050
|
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_mount_mountable)
Swap kwargs names to reflect the code.
svn path=/trunk/; revision=1049
|
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_mount_enclosing_volume)
Swap kwargs names to reflect the code.
svn path=/trunk/; revision=1048
|
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_find_enclosing_mount_async) Wrap new GFile method.
svn path=/trunk/; revision=1047
|
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override:
(_wrap_g_file_eject_mountable) Wrap new GFile method.
svn path=/trunk/; revision=1046
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_copy) revert previous commit.
svn path=/trunk/; revision=1045
|
|
|
|
|
|
|
|
|
| |
2009-03-30 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfile.override: (_wrap_g_file_copy) callback cannot be optional.
svn path=/trunk/; revision=1044
|
|
|
|
|
|
|
|
|
|
| |
2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gvolume.override: (_wrap_g_volume_mount) should accept None
for mount_operation.
svn path=/trunk/; revision=1040
|
|
|
|
|
|
|
|
|
| |
2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gvolume.override: Swap kwargs names to reflect the code.
svn path=/trunk/; revision=1039
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-29 Tobias Mueller <tobiasmue@gnome.org>
Update the address of the FSF, by replacing old bits of the address
with new ones.
Fixes bug 577134
* ltihooks.py:
* pygtk.py:
* COPYING:
* gobject/pygparamspec.h:
* gobject/pygpointer.c:
* gobject/ffi-marshaller.h:
* gobject/pygtype.c:
* gobject/__init__.py:
* gobject/pygpointer.h:
* gobject/pygtype.h:
* gobject/pygflags.c:
* gobject/pyginterface.c:
* gobject/pygflags.h:
* gobject/pygboxed.c:
* gobject/gobjectmodule.c:
* gobject/pygenum.c:
* gobject/pyginterface.h:
* gobject/pygboxed.h:
* gobject/pygobject.c:
* gobject/constants.py.in:
* gobject/pygenum.h:
* gobject/propertyhelper.py:
* gobject/pygparamspec.c:
* gobject/ffi-marshaller.c:
* glib/pygmainloop.c:
* glib/pygoptioncontext.h:
* glib/pygmainloop.h:
* glib/pyglib-private.h:
* glib/__init__.py:
* glib/pygoptiongroup.c:
* glib/pygspawn.c:
* glib/pygmaincontext.c:
* glib/pygoptiongroup.h:
* glib/pygspawn.h:
* glib/pygmaincontext.h:
* glib/option.py:
* glib/pygsource.c:
* glib/glibmodule.c:
* glib/pygiochannel.h:
* glib/pygsource.h:
* glib/pyglib.c:
* glib/pyglib.h:
* glib/pyglib-python-compat.h:
* glib/pygoptioncontext.c:
* gio/gfileinfo.override:
* gio/gappinfo.override:
* gio/__init__.py:
* gio/gfileattribute.override:
* gio/gvolume.override:
* gio/gio.override:
* gio/ginputstream.override:
* gio/goutputstream.override:
* gio/unix.override:
* gio/gfile.override:
* gio/gvolumemonitor.override:
* gio/gapplaunchcontext.override:
* gio/giomodule.c:
* gio/gfileenumerator.override:
* gio/pygio-utils.c:
* gio/unixmodule.c:
* gio/pygio-utils.h:
* gio/gicon.override:
svn path=/trunk/; revision=1038
|
|
|
|
|
|
|
|
|
| |
2009-03-29 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gio.defs: Add g_volume_should_automount
svn path=/trunk/; revision=1037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-28 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/pygio-utils.[hc]: (strv_to_pylist) (pylist_to_strv) add a couple
of convinence functions to convert from/to a python list and an array
of strings.
* gio/Makefile.am
* gio/gdrive.override:
* gio/gio.override: Strip GDrive overrides and
wrap g_drive_enumerate_identifiers
* tests/test_gio.py:
* gio/gvolume.override: wrap g_volume_enumerate_identifiers
* gio/gio.defs: add missing g_drive_get_identifier and
g_drive_enumerate_identifiers
svn path=/trunk/; revision=1035
|
|
|
|
|
|
|
|
|
| |
2009-03-22 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gio.defs: Add g_file_enumerator_get_container, new in 2.18
svn path=/trunk/; revision=1028
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-03-22 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gfileenumerator.override (_wrap_g_file_enumerator_close_async)
wrap new method.
* tests/test_gio.py (TestGFileEnumerator.testCloseFilesAsync):
Test the above.
svn path=/trunk/; revision=1027
|
|
|
|
|
|
|
|
|
| |
2009-03-08 Gian Mario Tagliaretti <gianmt@gnome.org>
* gio/gio.defs: add g_cancellable_make_pollfd
svn path=/trunk/; revision=1022
|
|
|
|
|
|
|
|
|
|
| |
* gio/gfile.override, gio/gio.defs, gio/gio.override: Bug 556250
again. I screwed up and gave misinformation about how to fix it.
It must be pyg_begin/end_allow_threads, pyg_block/unblock_threads
is only to be used for async callbacks.
svn path=/trunk/; revision=1005
|
|
|
|
| |
svn path=/trunk/; revision=1004
|
|
|
|
| |
svn path=/trunk/; revision=1003
|
|
|
|
| |
svn path=/trunk/; revision=1002
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-29 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 567792 – gio.InputStream.read_async can cause memory
corruption
* gio/gio.override (py_decref_callback): Remove (unused now).
(pygio_notify_allocate_buffer, pygio_notify_attach_to_result)
(pygio_notify_get_attached): New functions.
(async_result_callback_marshal): Attach to the result object if
asked and then don't free self. Fix reference leak (spotted by
Gustavo).
* gio/ginputstream.override (async_result_callback_marshal_read):
Remove. Use new attachment functionality in
async_result_callback_marshal() instead.
(_wrap_g_input_stream_read_async): Use the new functions (also
those mentioned in the cleanup log below).
(_wrap_g_input_stream_read_finish): Use the new functions.
svn path=/trunk/; revision=999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-14 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 566706 – cleanup GIO overrides
* gio/gio.override (pygio_notify_new)
(pygio_notify_using_optional_callback)
(pygio_notify_callback_is_valid_full)
(pygio_notify_callback_is_valid)
(pygio_notify_reference_callback): New functions.
(pygio_notify_free): Rename from pygio_free_notify() and extend.
(async_result_callback_marshal): Warn if new `referenced' field is
not set (programming error).
(_wrap_g_drive_eject, _wrap_g_drive_poll_for_media)
(_wrap_g_mount_unmount, _wrap_g_mount_eject)
(_wrap_g_mount_remount): Lots of cleanup: use new functions
instead of repeating code, unify and fix error handling.
* gio/gfile.override (_wrap_g_file_read_async)
(_wrap_g_file_load_contents_async)
(_wrap_g_file_enumerate_children_async)
(_wrap_g_file_mount_mountable, _wrap_g_file_unmount_mountable)
(_wrap_g_file_mount_enclosing_volume, _wrap_g_file_copy)
(_wrap_g_file_copy_async, _wrap_g_file_move)
(_wrap_g_file_append_to_async, _wrap_g_file_create_async)
(_wrap_g_file_replace_async, _wrap_g_file_query_info_async)
(_wrap_g_file_replace_contents_async): Similar cleanup.
* gio/gfileenumerator.override
(_wrap_g_file_enumerator_next_files_async): Similar cleanup.
* gio/gicon.override (_wrap_g_loadable_icon_load_async): Similar
cleanup.
* gio/ginputstream.override (_wrap_g_input_stream_close_async):
Similar cleanup.
* gio/goutputstream.override (_wrap_g_output_stream_write_async)
(_wrap_g_output_stream_close_async): Similar cleanup.
* gio/gvolume.override (_wrap_g_volume_mount)
(_wrap_g_volume_eject): Similar cleanup.
* tests/test_gio.py (TestFile.test_copy_async): Fix the test.
svn path=/trunk/; revision=996
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-07 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 566744 – _wrap_g_input_stream_read_async() argument parsing
has incorrect keyword args
* gio/ginputstream.override (_wrap_g_input_stream_read_async): Fix
keyword list to be in sync with positional arguments.
svn path=/trunk/; revision=994
|