| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Record all the attribute and sys.modules changes and add an API
for reverting them after tests are completed.
This allows us to run the pygtkcompat tests in the same test process
as other tests.
|
|
|
|
|
|
|
| |
Skip various tests which test things that are no longer available with gtk4.
Does not remove any deprecated overrides.
Disable gtk4 support in pygtkcompat. The porting path over gtk3 should be enough.
|
|
|
|
|
|
|
|
|
| |
version matches
enable_gtk() isn't idempotent and was breaking the API when called multiple times.
This ignores the call in case the version passed is the same as for previous calls.
https://bugzilla.gnome.org/show_bug.cgi?id=759009
|
|
|
|
|
|
|
|
|
| |
Two new errors popped up:
* E305 expected 2 blank lines after class or function definition
* E741 ambiguous variable name
https://bugzilla.gnome.org/show_bug.cgi?id=776009
|
|
|
|
|
|
|
|
| |
Replace manually assigned keysyms with a dynamically generated version
pulling names and values from Gdk via GI. Add a runtime warning when
this module is imported.
https://bugzilla.gnome.org/show_bug.cgi?id=721295
|
|
|
|
|
|
|
|
|
| |
Bump GI required version to 1.39.0. This is needed to get rid of
expectedFailures which pass when built with 1.39.0 (unexpected successes
fail unittesting in Python 3.4).
Silence deprecation warning when using imp.reload.
https://bugzilla.gnome.org/show_bug.cgi?id=730411
|
|
|
|
|
|
|
|
|
| |
Use infix 'not' instead of prefixed.
Don't use double comments (##).
Use space between comment and text.
Un-comment tests that now work.
Move broken (and won't fix) implicit int64 signal tests into
a new skipped test function.
|
|
|
|
|
| |
Update all references to the FSF physical address
to use the web address: http://www.gnu.org/licenses
|
|
|
|
|
|
|
|
|
|
| |
This moves the signalhelper, propertyhelper, and constants Python modules
from gi/_gobject into gi. Keep gi/_gobject/__init__.py around because it is
still needed to maintain the "_PyGObject_API" exposed by pygobject.h. This
allows external modules compiled with prior versions of PyGObject to
continue working with newer versions.
https://bugzilla.gnome.org/show_bug.cgi?id=712197
|
|
|
|
|
|
|
| |
Deal with non-existing Gtk.Clipboard.get() and
GdkPixbuf.Pixbuf.new_from_file_at_scale() methods.
https://bugzilla.gnome.org/show_bug.cgi?id=702787
|
|
|
|
|
|
|
| |
Make get_geometry return a tuple of (x, y, width, height, depth)
as it did in pygtk 2.
Update pygtkcompat.enable_gtk() to default to version 3.0 because
version 2.0 core dumps trying to use introspection with gtk 2.
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix gi.pygtkcompat attempting relative import in Python < 3.0.
Add Gtk.Widget.window property which uses get_window()
Add Gtk.TextView.scroll_to_mark with defaults
Add Gtk.window_list_toplevels and Gtk.window_set_default_icon_name
https://bugzilla.gnome.org/show_bug.cgi?id=694067
|
|
|
|
|
|
|
|
| |
Monkey patch a keyword argument version of set_geometry_hints onto Gtk.Window.
This version is compatible with pygtk and takes keywords instead of a
Gdk.Geometry and Gdk.GeometryMask.
https://bugzilla.gnome.org/show_bug.cgi?id=694067
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add Python implementation of the GenericTreeModel that was
available in pygtk. The implementation attempts a better job
than the original at ref counting by guaranteeing no leaks
upon deletion of the model itself. Or by using the extra "node"
argument to the row_deleted signal. The model is available in
the pygtkcompat package directly as
pygtkcompat.generictreemodel.GenericTreeModel or with as
gtk.GenericTreeModel when pygtkcompat.enable_gtk() is set.
Add file list and tree demos making use of GenericTreeModel
to gtk-demo.
Auto-expand gtk-demo app tree to give a better overview of
the demos available.
https://bugzilla.gnome.org/show_bug.cgi?id=682933
|
|
|
|
|
|
|
|
|
|
|
|
| |
On 32 bit systems pygtkcompat currently fails with
File "pygtkcompat/pygtkcompat.py", line 74, in _install_enums
name = flag.value_names[-1].replace(modname + '_', '')
IndexError: cannot fit 'int' into an index-sized integer
on 32 bit systems as some flags in Gdk are too large to fit into a 32 bit
"long". Work around this crash until this gets fixed properly (marked as
FIXME).
|
|
Move the pygtkcompat module out of the gi package and into
a sibling package as follows:
pygobject/
gi/
pygtkcompat/
This allows for pygtkcompat to grow without affecting the gi package.
Add deprecation message to gi/pygtkcompat.py
https://bugzilla.gnome.org/show_bug.cgi?id=688219
|