| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-20 Johan Dahlin <johan@gnome.org>
* glib/Makefile.am:
* gobject/Makefile.am:
* gobject/__init__.py:
* gobject/gobjectmodule.c (pyg_threads_init), (pyg_error_check),
(pyg_gerror_exception_check), (init_gobject):
* gobject/option.py:
Install the glib module, the helper library and the headers.
Use it from gobject and remove the old glib specific code from there.
svn path=/trunk/; revision=842
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-20 Johan Dahlin <johan@gnome.org>
* configure.ac:
* gobject/Makefile.am:
Use pkg-config to check for libffi again.
svn path=/trunk/; revision=841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Johan Dahlin <johan@gnome.org>
Bug 378704 – OptionParser.parse_args() returns unexpected results
* gobject/option.py:
Patch by Johannes Hölzl
svn path=/trunk/; revision=804
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-07-14 Johan Dahlin <johan@gnome.org>
Bug 504337 - crash bug in gobject.Timeout and gobject.Idle
* gobject/pygsource.c:
* tests/test_source.py:
Fix crash in Timeout and Idle, patch by Bryan Silverthorn.
svn path=/trunk/; revision=799
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
| |
svn path=/trunk/; revision=785
|
|
|
|
|
|
|
|
|
| |
* 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-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-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 <jdahlin@async.com.br>
* gobject/pygsource.c:
* tests/test_source.py:
Unbreak Source.prepare (#523075, Bryan Silverthorn)
svn path=/trunk/; revision=766
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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=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
|
|
|
|
| |
svn path=/trunk/; revision=698
|
|
|
|
| |
svn path=/trunk/; revision=697
|
|
|
|
| |
svn path=/trunk/; revision=695
|
|
|
|
|
|
| |
results
svn path=/trunk/; revision=694
|
|
|
|
| |
svn path=/trunk/; revision=691
|
|
|
|
| |
svn path=/trunk/; revision=690
|
|
|
|
|
|
| |
affecting GError exceptions. Fixes #342948.
svn path=/trunk/; revision=689
|
|
|
|
| |
svn path=/trunk/; revision=684
|
|
|
|
| |
svn path=/trunk/; revision=683
|
|
|
|
| |
svn path=/trunk/; revision=681
|
|
|
|
|
|
| |
(marshal/unmarshal for GValue-wrapped GValue)
svn path=/trunk/; revision=680
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-04 Murray Cumming <murrayc@murrayc.com>
* gobject/pygobject.c: (pygobject_switch_to_toggle_ref):
* gobject/pygobject.h: Rename the private struct field to
private_flags, because private is a C++ keyword, so this broke
builds of some C++ applications, such as Glom.
svn path=/trunk/; revision=679
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-02 Sebastian Granjoux <seb.sfo@free.fr>
reviewed by: Johan Dahlin
* gobject/gobjectmodule.c: (pyg_gerror_exception_check):
* tests/test_gtype.py:
* tests/testhelpermodule.c: (_wrap_test_gerror_exception):
Fix a bug in pyg_error_exception_check, add a test, Fixes #449879
svn path=/trunk/; revision=678
|
|
|
|
|
|
| |
subclassing
svn path=/trunk/; revision=677
|
|
|
|
| |
svn path=/trunk/; revision=675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-06-06 Yevgen Muntyan <muntyan@tamu.edu>
OK'd by Johan
* gobject/generate-constants.c: Return 0 from main().
* gobject/Makefile.am: use generate-constants$(EXEEXT) instead
of generate-constants in the constants.py target rule.
svn path=/trunk/; revision=674
|
|
|
|
| |
svn path=/trunk/; revision=672
|
|
|
|
|
|
|
|
|
|
| |
* gobject/propertyhelper.py:
* tests/test_properties.py:
Store property values in the descriptor per instance, add a test.
svn path=/trunk/; revision=665
|
|
|
|
| |
svn path=/trunk/; revision=664
|
|
|
|
| |
svn path=/trunk/; revision=663
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/properties.py:
* gobject/Makefile.am:
* gobject/__init__.py:
* gobject/constants.py.in:
* gobject/generate-constants.c: (main):
* gobject/propertyhelper.py:
* tests/Makefile.am:
* tests/test_enum.py:
* tests/test_interface.py:
* tests/test_properties.py:
Add a property helper, fixes #338098
svn path=/trunk/; revision=662
|