| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2008-04-06 Johan Dahlin <johan@gnome.org>
* codegen/argtypes.py (arg): Add goffset to the int64 arg type
svn path=/trunk/; revision=757
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-02 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/pygenum.c: bug #428732
(pyg_enum_new): Fix two wrong assertions about '__enum_values__'
size and contents.
(pyg_enum_reduce): New function (based on patch by Phil Dumont).
(pyg_enum_methods): Hook it up.
svn path=/trunk/; revision=756
|
|
|
|
|
|
|
|
|
| |
2008-03-24 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/pygenum.c (pyg_enum_richcompare): Don't return NULL
after warning; more useful warning message (bug #519631).
svn path=/trunk/; revision=755
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-21 Johan Dahlin <johan@gnome.org>
* gobject/__init__.py:
* tests/test_properties.py:
Allow gobject.property work with subclasses. Add tests.
(#523352, Tomeu Vizoso)
svn path=/trunk/; revision=752
|
|
|
|
|
|
|
|
|
| |
2008-03-10 Johan Dahlin <johan@gnome.org>
* configure.ac: Require gio and giounix 2.15.7.
svn path=/trunk/; revision=751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-09 Johan Dahlin <johan@gnome.org>
* gio/gio-types.defs:
* gio/gio.defs:
* tests/test_gio.py:
Update to SVN of gio:
g_file_contains_file -> g_file_has_prefix
can_seek and can_truncate are now only on the GSeekable interface
Add tests
(#521207, Thomas Leonard)
svn path=/trunk/; revision=750
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-03-08 Johan Dahlin <jdahlin@async.com.br>
* gio/ginputstream.override:
Pass in l instead of i to PyArg_ParseTupleAndKeywords when
parsing a long. Fixes the build on 64-bit systems.
(#521165, Thomas Leonard)
svn path=/trunk/; revision=749
|
|
|
|
|
|
|
|
|
|
| |
2008-03-22 Johan Dahlin <johan@gnome.org>
* Makefile.am: Dist .m4 files.
(#496011, Ed Catmur)
svn path=/trunk/; revision=748
|
|
|
|
|
|
|
|
|
| |
2008-03-02 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/gobjectmodule.c (REGISTER_TYPE): Never override customly
set 'tp_new' and 'tp_alloc'.
svn path=/trunk/; revision=747
|
|
|
|
|
|
|
| |
* pygobject-2.0.pc.in (defsdir): Add this so other bindings can
find gio.defs
svn path=/trunk/; revision=746
|
|
|
|
| |
svn path=/trunk/; revision=745
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* tests/test_gio.py (TestVolumeMonitor): New test
svn path=/trunk/; revision=743
|
|
|
|
| |
svn path=/trunk/; revision=742
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=738
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.defs: Set null-ok for all cancelable as well.
svn path=/trunk/; revision=733
|
|
|
|
|
|
|
|
|
| |
2008-01-19 Johan Dahlin <johan@gnome.org>
* gio/__init__.py: set gio.unix to None if it's not available
svn path=/trunk/; revision=732
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
2008-01-11 Johan Dahlin <johan@gnome.org>
* configure.ac: Don't link against libffi if we cannot find libffi
on the system. (#496006, Ed Catmur)
svn path=/trunk/; revision=729
|
|
|
|
|
|
|
|
| |
* configure.ac (CPPFLAGS):
Include -Wall and -Werror when checking for PySignal_SetWakeupFd
svn path=/trunk/; revision=725
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-01-03 Johan Dahlin <johan@gnome.org>
Reviewed by: Gustavo
* configure.ac:
* gobject/pygmainloop.c (pyg_signal_watch_prepare): Optinally
use PySignal_SetWakeupFd to avoid having to do a timeout to find
out if there are any pending signals from python.
Fixes #481569
svn path=/trunk/; revision=723
|
|
|
|
| |
svn path=/trunk/; revision=722
|
|
|
|
|
|
|
|
| |
2007-11-30 Rafael Villar Burke <pachi@rvburke.com>
* docs/reference/pygobject.xml: Add props attribute
svn path=/trunk/; revision=721
|
|
|
|
|
|
|
|
|
| |
2007-11-24 Paolo Borelli <pborelli@katamail.com>
* gobject/gobjectmodule.c (pyg_type_register): check for NULL before
dereferencing.
svn path=/trunk/; revision=720
|
|
|
|
|
|
|
|
|
| |
2007-11-24 Paolo Borelli <pborelli@katamail.com>
* gobject/gobjectmodule.c (pyg_type_register): do not use a
potentially uninitialized variable. Bug #499334.
svn path=/trunk/; revision=719
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-12 Johan Dahlin <johan@gnome.org>
* gobject/option.py (OptionParser.parse_args):
Set the default value of old_args to 0, so we don't end
up slicing with None. Fixes #496278 (Vincent Untz)
svn path=/trunk/; revision=718
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-06 Johan Dahlin <johan@gnome.org>
* gobject/option.py (OptionParser.parse_args): Merge in values
from all groups to the global option group. Slice up args
so it doesn't return too much.
* tests/test_option.py: Refactor to be unittesty,
Add new tests to test what options returns.
svn path=/trunk/; revision=717
|
|
|
|
| |
svn path=/trunk/; revision=716
|
|
|
|
| |
svn path=/trunk/; revision=715
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-11-05 Johan Dahlin <johan@gnome.org>
* gobject/pygobject.h:
* gobject/gobjectmodule.c:
Add pyg_option_group_new to the public API
* configure.ac: Branch, bump version to 2.15.0.
svn path=/trunk/; revision=714
|
|
|
|
| |
svn path=/trunk/; revision=712
|
|
|
|
| |
svn path=/trunk/; revision=711
|
|
|
|
| |
svn path=/trunk/; revision=710
|
|
|
|
| |
svn path=/trunk/; revision=709
|
|
|
|
| |
svn path=/trunk/; revision=707
|
|
|
|
| |
svn path=/trunk/; revision=706
|
|
|
|
|
|
|
|
| |
* docs/xsl/fixxref.py.in: Remove DATADIR substitution since it now
gets substituted as ${prefix}/share which doesn't work in a Python
script.
svn path=/trunk/; revision=705
|
|
|
|
| |
svn path=/trunk/; revision=701
|
|
|
|
|
|
|
|
|
|
| |
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* gobject/propertyhelper.py (property.__metaclass__.__repr__): Avoid
exporting the metaclass, just define it where it will be used.
svn path=/trunk/; revision=700
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-27 Johan Dahlin <jdahlin@async.com.br>
* gobject/__init__.py (GObjectMeta._install_properties):
Refactor a bit to make sure that it is possible to use in subclasses,
fixes #470718 (Marco Giusti)
svn path=/trunk/; revision=699
|