| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
dependencies problem
move tests that require pygtk to pygtk itself
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Bug #587637. Test the fix.
|
|
|
|
| |
Wrap the method gio.BufferedInputStream.fill_async and add a test
|
|
|
|
|
| |
Add the wrapper for gio.memory_input_stream_new_from_data including
docs and a test.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
wrap gio.OutputStream.splice_async() and add a test.
|
|
|
|
| |
wrap gio.OutputStream.flush_async() and add a test.
|
|
|
|
| |
wrap gio.InputStream.skip_async() and add a test.
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
| |
doesn't error out as it should
svn path=/trunk/; revision=1054
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
| |
initial patch by: John Ehresman <jpe@wingware.com>
* gobject/pygtype.c (_wrap_g_type_wrapper__set_pytype): New function.
* tests/test_gtype.py (GTypeTest.assertPyType),
(GTypeTest.setInvalidPyType), (GTypeTest.testPyType),
(GTypeTest.testInvalidPyType): Two new testcases to test the above,
with accompanying helper methods.
svn path=/trunk/; revision=1030
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-01-14 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 566571 – gtk.Buildable interface method override is not
recognized
* gobject/gobjectmodule.c (pyg_type_add_interfaces): New function,
break out code repetition out of pyg_type_register().
* tests/test_subtype.py
(TestSubType.test_gtk_buildable_virtual_method): New test
case (inactive).
svn path=/trunk/; revision=997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=993
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-04 Mads Chr. Olesen <gnome-bugzilla@shiyee.dk>
* gio/gio.defs (gio.File.copy_async, gio.File.copy_finish): Define
methods.
* gio/gfile.override (_wrap_g_file_copy_async): New function.
* tests/test_gio.py (TestFile.test_copy_async): Test the methods.
svn path=/trunk/; revision=990
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|