summaryrefslogtreecommitdiffstats
path: root/gio/gfile.override
Commit message (Collapse)AuthorAgeFilesLines
...
* Wrap gio.File.enumerate_children_async, add tests, docstring and anJohan Dahlin2008-07-181-4/+62
| | | | | | | | | | | | | | * 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
* Use %zd instead of %d since it's a Py_ssize_t and not an int.Johan Dahlin2008-07-181-1/+1
| | | | | | | | | | 2008-07-18 Johan Dahlin <johan@gnome.org> * gio/gfile.override: Use %zd instead of %d since it's a Py_ssize_t and not an int. svn path=/trunk/; revision=827
* wrap File.load_contents_async and File.load_contents_finish with docsstrings ↵Gian Mario Tagliaretti2008-07-141-2/+72
| | | | | | and a test svn path=/trunk/; revision=802
* Refactor cancellable check to a utility function, avoidsJohan Dahlin2008-07-141-21/+5
| | | | | | | | | | | | | | | | 2008-07-14 Johan Dahlin <johan@gnome.org> * gio/Makefile.am: * gio/gfile.override: * gio/ginputstream.override: * gio/gio.override: * gio/goutputstream.override: * gio/pygio-utils.c (pygio_check_cancellable): * gio/pygio-utils.h: Refactor cancellable check to a utility function, avoids svn path=/trunk/; revision=797
* wrap File.load_contents with docstringsGian Mario Tagliaretti2008-07-111-2/+45
| | | | svn path=/trunk/; revision=793
* Move around the order of the callback argument to async methods, so itJohan Dahlin2008-04-111-16/+20
| | | | | | | | | | | | | | | 2008-04-11 Johan Dahlin <jdahlin@async.com.br> * gio/gfile.override: * gio/ginputstream.override: * gio/goutputstream.override: * tests/test_gio.py: Move around the order of the callback argument to async methods, so it comes before priority and cancellable, which can have default values. svn path=/trunk/; revision=773
* Fix a couple of silly typos and use gio.File instead of GFile inJohan Dahlin2008-04-081-7/+8
| | | | | | | | | | 2008-04-08 Johan Dahlin <johan@gnome.org> * gio/gfile.override (_wrap__install_file_meta): Fix a couple of silly typos and use gio.File instead of GFile in exceptions. svn path=/trunk/; revision=765
* Make gio.File() (calling on an interface) a factory for creating files.Johan Dahlin2008-04-071-0/+90
| | | | | | | | | | | | | | | 2008-04-07 Johan Dahlin <johan@gnome.org> * gio/__init__.py: * gio/gfile.override: * gio/gio-types.defs: * gio/gio.override: * tests/test_gio.py: Make gio.File() (calling on an interface) a factory for creating files. Add tests and a docstring. svn path=/trunk/; revision=764
* Don't assume the buffer is set, use Py_XINCREF instead of Py_INCREF.Johan Dahlin2008-01-211-0/+75
2008-01-21 Johan Dahlin <johan@gnome.org> * gio/gio.override (async_result_callback_marshal): Don't assume the buffer is set, use Py_XINCREF instead of Py_INCREF. * gio/Makefile.am: * gio/ginputstream.override: * gio/goutputstream.override: * gio/gvolumemonitor.override: * gio/gfile.override: * tests/test_gio.py: Implement and test GFile.read_async. Use try/finally to always quit the mainloop, even if the test fail. Update source comment headers. svn path=/trunk/; revision=744