| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-29 Johan Dahlin <johan@gnome.org>
* examples/gio/downloader.py:
* gio/giomodule.c (init_gio):
Add gio.FILE_ATTRIBUTE_* constants and update the examples to use them.
svn path=/trunk/; revision=897
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-29 Johan Dahlin <johan@gnome.org>
* examples/gio/downloader.py:
Add a new example
* gio/ginputstream.override:
Use a string internally instead of a PyStringObject when
in read_async. Create a new python string in finish and
honor the number of bytes read.
svn path=/trunk/; revision=892
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-26 Johan Dahlin <johan@gnome.org>
* examples/gio/directory-async.py:
* gio/Makefile.am:
* gio/giomodule.c (init_gio):
* glib/pyglib.c (pyglib_error_check),
(pyglib_register_exception_for_domain):
* glib/pyglib.h:
* tests/test_gio.py:
Add a new API for registering exceptions for a GError domain.
Register a new exception for G_IO_ERROR, update tests
and examples to use the new exception.
svn path=/trunk/; revision=863
|
|
|
|
| |
svn path=/trunk/; revision=852
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/gio.override:
Ignore a bunch of functions which are not relevant.
svn path=/trunk/; revision=838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.override: Set module name back to
gio, as setting it to gio._gio breaks pydoc.
svn path=/trunk/; revision=836
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-19 Johan Dahlin <johan@gnome.org>
* examples/gio/directory-async.py:
Only fetch name, saves a couple of syscalls.
* gio/gio.override:
Set name to gio._gio so pychecker/pydoc works.
svn path=/trunk/; revision=831
|
|
|
|
| |
svn path=/trunk/; revision=830
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2008-07-18 Johan Dahlin <johan@gnome.org>
* gio/pygio-utils.h:
define NO_IMPORT_PYGOBJECT before including pygobject.h
svn path=/trunk/; revision=826
|
|
|
|
|
|
|
|
|
|
| |
2008-07-18 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
Require pygobject 2.15.2
svn path=/trunk/; revision=825
|
|
|
|
| |
svn path=/trunk/; revision=824
|
|
|
|
| |
svn path=/trunk/; revision=823
|
|
|
|
|
|
|
|
|
|
| |
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
(DL_EXPORT): The module is called gio._gio, not just _gio.
svn path=/trunk/; revision=822
|
|
|
|
| |
svn path=/trunk/; revision=821
|
|
|
|
|
|
|
|
|
|
| |
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
Add a pygio_version module attribute
svn path=/trunk/; revision=820
|
|
|
|
|
|
|
|
|
|
| |
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/gio-types.defs:
Rename gio.IOErrorEnum to gio.ErrorEnum
svn path=/trunk/; revision=819
|
|
|
|
|
|
|
|
|
|
| |
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
Add gio.ERROR which maps to the G_IO_ERROR quark.
svn path=/trunk/; revision=818
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
Use the prefix G_IO_ for stripping constants instead of just G_
* gobject/gobjectmodule.c (pyg_constant_strip_prefix):
Check so the fist part of name and strip_prefix are the same,
if they don't, just strip of the part of strip_prefix which
matches.
This removes the initial IO_* prefix for some constants in gio.
Eg, gio.IO_ERROR_* -> gio.ERROR_*
svn path=/trunk/; revision=817
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Johan Dahlin <johan@gnome.org>
* codegen/argtypes.py:
Map GSeekType to an int
* gio/gfileinfo.override:
* gio/ginputstream.override:
* gio/goutputstream.override:
Add comments for missing API
svn path=/trunk/; revision=798
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=793
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-06-17 Johan Dahlin <jdahlin@async.com.br>
* gio/gio-types.defs:
* tests/test_gio.py:
Sort out confusion between interfaces and objects, add test.
Fixes #538601
svn path=/trunk/; revision=788
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Johan Dahlin <jdahlin@async.com.br>
* gio/Makefile.am:
* gio/__init__.py:
* gio/gappinfo.override:
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Implement GAppInfo constructor, add tests.
svn path=/trunk/; revision=772
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Johan Dahlin <jdahlin@async.com.br>
* gio/Makefile.am:
* gio/gfileinfo.override:
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Wrap GFileInfo.list_attributes(), add tests and
set the default of GFileQueryInfoFlags args to G_FILE_QUERY_INFO_NONE.
svn path=/trunk/; revision=771
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Johan Dahlin <jdahlin@async.com.br>
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Add bindings for content_type_guess.
Based on patch by Thomas Leonard (#525113)
svn path=/trunk/; revision=768
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Johan Dahlin <jdahlin@async.com.br>
* gio/gio-types.defs:
* gio/gio.defs:
* gio/gio.override:
* tests/test_gio.py:
Add basic support for GThemedIcon, based on patch by
Thomas Leonard (#521883)
svn path=/trunk/; revision=767
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2008-04-07 Johan Dahlin <johan@gnome.org>
* gio/Makefile.am (pygiodir): Install gio in the right location
svn path=/trunk/; revision=763
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* gio/goutputstream.override:
(_wrap_g_output_stream_write_asyn,_wrap_g_output_stream_close_async):
* gio/ginputstream.override (async_result_callback_marshal_read):
Add wrappers.
svn path=/trunk/; revision=761
|
|
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* gio/gio.override: Ignore vararg functions and remove a couple
of left overs in the generic marshaller.
svn path=/trunk/; revision=760
|
|
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* gio/gio.defs: Remove g_file_output_stream_truncate,
g_file_output_stream_tell and g_file_input_stream_tell
svn path=/trunk/; revision=759
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* gio/gfileenumerator.override (_wrap_g_file_enumerator_tp_iter):
Implement the python iteration protocol on GFileEnumerator
svn path=/trunk/; revision=758
|
|
|
|
| |
svn path=/trunk/; revision=754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-22 Johan Dahlin <johan@gnome.org>
* gio/ginputstream.override:
* gio/gio.override:
* tests/test_gio.py:
Make read_finish() return the string, remove the get_buffer method.
This is more pythonic, as it mimics the normal read() behavior of
python.
Update the tests and use a separate marshaller for read.
svn path=/trunk/; revision=753
|