| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-20 Johan Dahlin <johan@gnome.org>
* gio/Makefile.am:
* gio/ginputstream.override:
* gio/gio.override:
* gio/giomodule.c:
* gio/goutputstream.override:
* gio/gvolumemonitor.override:
* gio/unix.override:
* gio/unixmodule.c:
Split out overrides into more files. Fix up module description in
comment
svn path=/trunk/; revision=741
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-20 Johan Dahlin <johan@gnome.org>
* gio/gio.override (_wrap_g_simple_async_result_get_buffer): Add
a new method, to fetch the buffer
(_wrap_g_input_stream_read_async): Save a reference to the buffer.
* tests/test_gio.py (TestInputStream.testReadAsync.callback):
Check the content
svn path=/trunk/; revision=740
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-20 Johan Dahlin <johan@gnome.org>
* tests/test_gio.py (TestInputStream.testReadAsyncError):
New function to test error condition of async read.
* gio/gio.override (async_result_callback_marshal): Grab a reference
to callback/data.
svn path=/trunk/; revision=739
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override (_wrap_g_output_stream_write): Impl.
* gio/gio.override:
* gio/unix.defs:
Add GUnixInputStream type and methods
* tests/common.py:
* tests/test_gio.py:
Add GIO tests.
svn path=/trunk/; revision=737
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override (_wrap_g_app_info_get_all_for_type),
(_wrap_g_app_info_get_all),
(_wrap_g_drive_get_volumes): Implement.
svn path=/trunk/; revision=736
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override (async_result_callback_marshal): New marshaller
for async results
(_wrap_g_input_stream_read_async): Impl.
* gio/gio-types.defs: Add SimpleAsyncRequest
* gio/giomodule.c: Register enums/constants
svn path=/trunk/; revision=735
|
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override: Fix a silly bug so it possible to read files
larger than 8192 bytes.
svn path=/trunk/; revision=734
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/gio.override: Implement InputStream.read efficiently without
copying the strings, based on the standard libararys file.read()
implementation.
* gio/gio-types.defs (Cancellable): Add wrapper.
* gio/gio.defs (replace): Do not require cancellable argument
to be specified, default to NULL if not.
svn path=/trunk/; revision=731
|
|
2008-01-19 Johan Dahlin <johan@gnome.org>
* Makefile.am:
* codegen/Makefile.am:
* codegen/README.defs:
* codegen/__init__.py:
* codegen/argtypes.py:
* codegen/code-coverage.py:
* codegen/codegen.py:
* codegen/createdefs.py:
* codegen/definitions.py:
* codegen/defsconvert.py:
* codegen/defsgen.py:
* codegen/defsparser.py:
* codegen/docextract.py:
* codegen/docextract_to_xml.py:
* codegen/docgen.py:
* codegen/h2def.py:
* codegen/mergedefs.py:
* codegen/missingdefs.py:
* codegen/mkskel.py:
* codegen/override.py:
* codegen/pygtk-codegen-2.0.in:
* codegen/reversewrapper.py:
* codegen/scanvirtuals.py:
* codegen/scmexpr.py:
* configure.ac:
* gio/Makefile.am:
* gio/__init__.py:
* gio/gio-types.defs:
* gio/gio.defs:
* gio/gio.override:
* gio/giomodule.c: (init_gio):
* gio/unix-types.defs:
* gio/unix.defs:
* gio/unix.override:
* gio/unixmodule.c: (initunix):
Import codegen from pygtk.
Add initial gio and gio.unix bindings.
svn path=/trunk/; revision=730
|