| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add optional 'origin' parameter. Expand gio.Emblem documentation and
mark gio.emblem_new_with_origin as sort-of-deprecated.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
add the new API added in gio 2.20, some needs to be wrapped manually
|
|
|
|
|
|
|
| |
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.)
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-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-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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=936
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=923
|
|
|
|
| |
svn path=/trunk/; revision=920
|
|
|
|
| |
svn path=/trunk/; revision=916
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* codegen/docgen.py:
Remove SGML support, require python 2.4, modernize,
PEP-8ify. Make it run on gio.
* codegen/definitions.py:
Make property iterable
* gio/gio.defs:
Include the gio-types.defs file.
svn path=/trunk/; revision=914
|
|
|
|
| |
svn path=/trunk/; revision=912
|
|
|
|
| |
svn path=/trunk/; revision=909
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* gio/gio.defs:
* gio/gfile.override:
* tests/test_gio.py:
Wrap gio.File.move
svn path=/trunk/; revision=908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-02 Johan Dahlin <johan@gnome.org>
* gio/Makefile.am:
* gio/gfile.override:
* gio/gio.defs:
* gio/gio.override:
* gio/gvolume.override:
Wrap gio.Volume.mount and gio.Volume.eject
svn path=/trunk/; revision=907
|
|
|
|
| |
svn path=/trunk/; revision=906
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-01 Johan Dahlin <johan@gnome.org>
Bug 545861 – g_file_info_get_modification_time is missing
* gio/gfileinfo.override:
* gio/gio.defs:
* tests/test_gio.py:
Wrap, add test and documentation
svn path=/trunk/; revision=905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-08-01 Johan Dahlin <johan@gnome.org>
Bug 545846 – g_vfs_get_supported_uri_schemes is missing
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Wrap, add test and documentation
svn path=/trunk/; revision=904
|
|
|
|
|
|
| |
g_file_query_settable_attributes methods.
svn path=/trunk/; revision=901
|
|
|
|
|
|
| |
g_app_launch_context_get_display and g_app_launch_context_get_startup_notify_id
svn path=/trunk/; revision=898
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-24 Johan Dahlin <johan@gnome.org>
* gio/gfile.override:
* gio/gfileenumerator.override:
* gio/ginputstream.override:
* gio/gio.defs:
* gio/gio.override:
* gio/goutputstream.override:
* tests/test_gio.py:
Wrap gio.File.copy, add tests and documentation.
Rename PyGAsyncRequestNotify to PyGIONotify and reuse it.
svn path=/trunk/; revision=850
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-19 Johan Dahlin <johan@gnome.org>
* gio/gfile.override:
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Bind gio.Mount.unmount, gio.File.mount_mountable,
gio.File.unmount_mountable and gio.File.mount_enclosing_volume.
Add documents and tests.
svn path=/trunk/; revision=837
|
|
|
|
|
|
|
|
|
|
| |
2008-07-19 Johan Dahlin <johan@gnome.org>
* gio/gio.defs:
Use property based constructors when possible.
svn path=/trunk/; revision=835
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-19 Johan Dahlin <johan@gnome.org>
* examples/gio/directory-async.py:
* gio/gfileenumerator.override:
* gio/gio.defs:
* tests/test_gio.py:
Wrap gio.FileEnumerator.next_files_async/next_files_done.
Update the example to use them instead of the synchronous versions,
add documentation and tests.
svn path=/trunk/; revision=832
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/gio/directory-async.py:
* gio/gfile.override:
* gio/gfileenumerator.override:
* gio/gio.defs:
* tests/test_gio.py:
Wrap gio.File.enumerate_children_async, add tests, docstring
and an example.
Also document gio.File.enumerate while we're at it.
svn path=/trunk/; revision=828
|
|
|
|
|
|
| |
and a test
svn path=/trunk/; revision=802
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Johan Dahlin <johan@gnome.org>
* gio/gio.defs:
Remove g_file_input_stream_seek and g_file_output_stream_seek,
they already implement the seekable interface.
svn path=/trunk/; revision=800
|
|
|
|
| |
svn path=/trunk/; revision=793
|
|
|
|
|
|
|
|
|
|
| |
2008-05-23 Johan Dahlin <jdahlin@async.com.br>
* gio/gio.defs:
Add default values for all GSeekType variables.
svn path=/trunk/; revision=784
|
|
|
|
|
|
|
|
|
|
| |
2008-04-11 Johan Dahlin <jdahlin@async.com.br>
* gio/gio.defs (write_async): document.
Add default values to all flags parameters.
svn path=/trunk/; revision=776
|
|
|
|
|
|
|
|
|
|
| |
2008-04-11 Johan Dahlin <johan@gnome.org>
* gio/gio.defs (read_async, read): document.
Set io_priority default to G_PRIORITY_DEFAULT.
svn path=/trunk/; revision=775
|