| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
* codegen/definitions.py (ReturnType): New class.
(MethodDefBase.__init__): Make 'self.ret' a 'ReturnType' instance,
not string. Accept 'optional' flag.
* codegen/argtypes.py (ArgMatcher.get_reverse_ret): Test if
'ptype' has true 'optional' attribute and copy it to 'props' then.
* codegen/reversewrapper.py (ReturnType.support_optional): New
class field, False by default.
(GObjectReturn.support_optional, GObjectReturn.write_decl)
(GObjectReturn.write_conversion): Support optional return.
svn path=/trunk/; revision=796
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Paul Pogonyshev <pogonyshev@gmx.net>
* pygobject-2.0.pc.in: Add 'codegendir' variable.
* codegen/pygtk-codegen-2.0.in: Make 'codegendir' refer to
PyGObject's codegen, not PyGTK's one --- the latter will be
removed (first part of bug #542821).
svn path=/trunk/; revision=795
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-08 Murray Cumming <murrayc@murrayc.com>
* codegen/h2def.py: clean_func(): Strip GSEAL out, to avoid us
thinking that there are many functions called GSEAL (merge from
PyGTK).
2008-01-29 Olivier Crete <tester@tester.ca>
* codegen/h2def.py (DefsWriter.__init__): Fix copy-paste
typos (merge from PyGTK).
svn path=/trunk/; revision=794
|
|
|
|
| |
svn path=/trunk/; revision=793
|
|
|
|
|
|
|
|
|
| |
2008-07-09 Juha Sahakangas <voas0113@saunalahti.fi>
* gobject/gobjectmodule.c (pyg_io_add_watch): Fix error message
referencing wrong argument.
svn path=/trunk/; revision=792
|
|
|
|
| |
svn path=/trunk/; revision=790
|
|
|
|
|
|
|
|
|
|
| |
2008-06-28 Johan Dahlin <jdahlin@async.com.br>
* docs/reference/pygobject.xml:
Document GObject.handler_block_by_func/handler_unblock_by_func
svn path=/trunk/; revision=789
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-06-09 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/pygobject.c (pygobject_copy, pygobject_deepcopy): New
functions, unconditionally raise TypeError.
(pygobject_methods): Hook them up. (bug #482370)
svn path=/trunk/; revision=787
|
|
|
|
|
|
|
|
|
| |
2008-05-31 Johan Dahlin <johan@gnome.org>
* setup.py: set FFI_LIBS to '', since this is mostly used on win32.
svn path=/trunk/; revision=786
|
|
|
|
| |
svn path=/trunk/; revision=785
|
|
|
|
|
|
|
|
|
|
| |
2008-05-23 Johan Dahlin <jdahlin@async.com.br>
* gio/gio.defs:
Add default values for all GSeekType variables.
svn path=/trunk/; revision=784
|
|
|
|
|
|
|
|
|
| |
* gobject/gobjectmodule.c (pyg_spawn_async): Accept None for the
child_setup parameter of gobject.spawn_async(). Also check that
it is callable.
svn path=/trunk/; revision=780
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-27 Paul Pogonyshev <pogonyshev@gmx.net>
* gobject/pygenum.c (pyg_enum_richcompare): Fix: raise warning as
exception if asked by PyErr_Warn().
* gobject/pygflags.c (pyg_flags_richcompare): Don't return NULL
after warning; more useful warning message.
(#480424, borrowing code by Mark Doffman)
svn path=/trunk/; revision=779
|
|
|
|
|
|
|
|
|
| |
2008-04-21 Johan Dahlin <johan@gnome.org>
* codegen/h2def.py: Update link to defs format discussion
svn path=/trunk/; revision=778
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-15 Johan Dahlin <johan@gnome.org>
* gobject/gobjectmodule.c (init_gobject): Set
gobject.GObject.__module__ to gobject._gobject, this
helps pylint to check public methods of GObject subclasses
* tests/Makefile.am (tests):
* tests/test_gobject.py (TestGObjectAPI.testGObjectModule):
Add a test for this
(#523821, Simon Schampijer)
svn path=/trunk/; revision=777
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=774
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
* gobject/option.py: Fix a typo
* tests/test_option.py:
Update the tests after the latest "refactoring".
The testsuite should run fine now again, finally.
svn path=/trunk/; revision=770
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-04-08 Johan Dahlin <johan@gnome.org>
* tests/test_gio.py (TestOutputStream.testWriteAsyncError):
(TestInputStream._testCloseAsync.callback):
Disable these tests until we can figure why they freeze during
make check.
svn path=/trunk/; revision=769
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 <jdahlin@async.com.br>
* gobject/pygsource.c:
* tests/test_source.py:
Unbreak Source.prepare (#523075, Bryan Silverthorn)
svn path=/trunk/; revision=766
|
|
|
|
|
|
|
|
|
|
| |
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>
* tests/test_gio.py: Add tests for recently added features.
svn path=/trunk/; revision=762
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|