| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
http://bugs.python.org/issue5945
This fixes a failure in test_ghashtable_int_none_in (test_gi.TestGHashTable) where it
would raise "AttributeError: keys" rather than a TypeError when invoked with a string
|
|
|
|
|
|
|
|
| |
* Make work on both Python 3.0 and 2.x by using the Long object instead of
Int. Since we are decoding to a C type and this code is internal
we can assume UnsignedLongLong python type for unsigned values
to avoid issues where we were mistakenly decoding large values into
a long.
|
| |
|
| |
|
|
|
|
| |
Doesn't yet work
|
| |
|
|
|
|
|
|
|
|
|
|
| |
First, we should move the CFLAGS into AM_CFLAGS, otherwise the
per-target CFLAGS forces Automake to prefix object files, which
is unnecessary since we only have one target.
More importantly, avoid overriding the all: target here; that's
owned by Automake. Use all-local instead to append things to
the end of the normal build.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Those tests were missing in the last commit
https://bugzilla.gnome.org/show_bug.cgi?id=602830
|
|
|
|
|
|
|
|
|
| |
value
There is no reason for an API to use such things, and g_function_info_invoke
broke such features.
https://bugzilla.gnome.org/show_bug.cgi?id=607759
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a ModuleProxy in front of the DynamicModule when an overrides module is
present. There is no need for an overrides module to be a class; it can just be a module.
Add an override decorator to override the wrapper of a registered type.
Adapt Gdk and Gtk accordingly.
Add tests.
https://bugzilla.gnome.org/show_bug.cgi?id=602830
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Update tests accordingly.
The reason for this change is that setting __new__ in the metaclass doesn't let
one overrides it afterwards, in a subclass (in my experience, at least, even
though it seems weird).
https://bugzilla.gnome.org/show_bug.cgi?id=603536
|
| |
|
| |
|
|
|
|
|
|
| |
decrement when it's a method
https://bugzilla.gnome.org/show_bug.cgi?id=602640
|
|
|
|
|
|
| |
Backport g_array_get_element_size.
https://bugzilla.gnome.org/show_bug.cgi?id=603411
|
|
|
|
|
|
| |
PyLong_FromLongLong
https://bugzilla.gnome.org/show_bug.cgi?id=602384
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602830
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602830
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602735
|
|
|
|
|
|
| |
PyLong_FromLongLong"
This reverts commit 05a2ed55f3e5d2620de8b3b6b0d99e928ef3b041.
|
|
|
|
|
|
| |
PyLong_FromLongLong
https://bugzilla.gnome.org/show_bug.cgi?id=602384
|
|
|
|
|
|
|
|
|
|
|
|
| |
In metaclasses, the test for the name of the class was wrong, since it
prevented one to create a subclass with the same name (especially annoying for
overrides). Now, if a GType is available from the info, the fact that it
doesn't have any wrapper yet means that the metaclass is creating the base
class, which will be registerd just after its creation. This is true for
objects, and for structures registered as boxed or pointer too.
This patch includes a test for basic subclassing in Python. It notably tests
that methods don't get overridden by the metaclass.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602709
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=602638
|
|
|
|
|
|
|
|
| |
This patch splits overridden module creation into two passes. The first pass
creates the auto-generated module normally before the overridden module is
attempted to be imported. The second pass imports the overridden module and
replaces the auto-generated module with the overridden. This is necessary
for the overridden modules to be able to access the auto-generated ones.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=601253
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=601181
|
| |
|
|
|