| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Various tests that ensured type-checking was rejecting strings were
using string literals that resembled valid values.
This was confusing, so instead we now use "foo" throughout to make
it clear that we're dealing with string values.
|
|
|
|
| |
unicode string in Python 3
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Otherwise, sys.path is overridden by pygtk and gi.repository is loaded from the
system's default site-package directory.
|
|
|
|
|
|
| |
decrement when it's a method
https://bugzilla.gnome.org/show_bug.cgi?id=602640
|
|
|
|
|
|
| |
PyLong_FromLongLong
https://bugzilla.gnome.org/show_bug.cgi?id=602384
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=601181
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=601253
|
| |
|
|
|