| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
With autotools the schemas were compiled into each test suite directory
and the tests set GSETTINGS_SCHEMA_DIR to the test build directory.
With meson's gnome.compile_schemas() we can not define a target directory
so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR
to the gtk build directory when running the tests.
This makes the gtk+:gtk suite pass when no gtk is installed on the system.
|
|
|
|
| |
If this is a problem, it needs to be handled explicitly.
|
|
|
|
|
|
|
| |
According to meson it's the only private header that doesn't conform to
the *private.h naming.
Fix that.
|
|
|
|
|
| |
It's not used any more, recent files are only used by the filtchooser
and that one uses GtkRecentManager directly.
|
|
|
|
|
|
|
|
| |
Test that filter models propagate ::row-changed if there is
an external reference on the node, and not otherwise. This
is showing up in buggy icon view behaviour, where the icon
view is not redrawing if the content changes in a model that
is below a filter model.
|
|
|
|
|
|
|
|
|
|
| |
We were failing to change the sort order for the
default sort column in some cases. Fix that, and
add a testcase for this issue.
https://bugzilla.gnome.org/show_bug.cgi?id=792459
Add a testcase for the previous fix
|
|
|
|
|
|
| |
We rely on log messages here. Since logging is per-display
now, we need to set a display on our custom icontheme object
to get the expected log messages.
|
|
|
|
| |
We can use the generic ::event signal instead.
|
|
|
|
|
|
| |
This is a bit of filechooser internals that gets shared with
nautilus, which is fine, but it shouldn't be part of our
public API. There are no other users than nautilus.
|
|
|
|
| |
These two uses of ::delete-event were pointless.
|
|
|
|
|
| |
The test was assuming that gtk_text_buffer_paste_clipboard is
synchronous, which is no longer the case.
|
|
|
|
|
| |
This test needs similar fixes to the notify test to
pass a display to GDK objects when instantiating them.
|
|
|
|
| |
We need to pass a display when creating more GDK objects now.
|
|
|
|
|
| |
Replace all uses of the old function by the new one.
No functional change.
|
|
|
|
|
| |
It is better to use the explicit keymap getter - the
default display may not even use the current gdk backend.
|
|
|
|
| |
glib warns about these now.
|
| |
|
|
|
|
|
|
| |
Instead of using GtkClipboard and handling everything ourselves, we now
put GtkTextBuffer into the GdkClipboard and register (de)serializers for
text/plain.
|
|
|
|
|
|
|
|
| |
This affects a few apis, such as gtk_text_iter_get_pixbuf,
gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf,
which have all been replaced by texture equivalents.
Update all callers.
|
|
|
|
| |
It's now called GdkContentsFormat
|
|
|
|
|
|
|
| |
warning: We don't do any same-app checks anymore so you currently can
copy local data into external apps.
This will be fixed later.
|
|
|
|
| |
It was just a kludge.
|
|
|
|
|
|
|
|
|
| |
Instead of allowing people to pass a uint user-data, insist on them
comparing mime types.
The user data was a uint instead of a pointer anyway, so uniqueness
could not be guaranteed and it caused more issues than it was worth.
And that's ignoring the fact that it basically wasn't used.
|
| |
|
| |
|
|
|
|
|
| |
Some code was using GtkTargetList, some used GtkTargetEntry and some
GtkTargetPair.
|
|
|
|
| |
GTK3 didn't use that property already...
|
| |
|
|
|
|
|
| |
Cursors always exist now, it does not make sense to test that their
creation fails anymore.
|
|
|
|
|
|
|
|
|
|
| |
Instead of creating a GdkX11Cursor, create GdkCursors. Cache the XCursor
in a hash table instead.
Also, make use of the new fallback mechanism for fallback code: Make
sure to provide cursors for the names that are guaranteed to exist, but
do not do bad attempts at displaying texture surfaces.
Black/White/transparent is not a replacement for those.
|
| |
|
|
|
|
|
|
|
| |
And have a priv->display instead of a priv->screen.
Includes turning gtk_menu_set_screen() into gtk_menu_set_display(),
because that function just forwards to its window.
|
| |
|
| |
|
|
|
|
|
| |
We haven't tracked down yet why the window size tests
fail with Vulkan, so use cairo for now.
|
| |
|
|
|
|
| |
Some of these currently fail on my system.
|
|
|
|
| |
Unify the test naming some more.
|
| |
|
|
|
|
|
|
|
|
|
| |
The event coordinates are (so far) irrelevant to what we are testing here,
just make all events happen in the middle of the window in order to ensure
all widgets receive it. More importantly, avoid using fixed pixel distances,
since we don't get guarantees about window sizes.
Fixes the gestures testsuite on X11.
|
|
|
|
|
|
|
| |
Now all widgets are mandated to handle the real thing, which means no
pointer events are emulated for the pointer emulating touch. The output
of these tests relied on this fact, so update to the tests handling real
touch events.
|
|
|
|
|
|
|
|
|
|
| |
Legacy GtkWidget vmethods are now handled on an event controller, which
due to being the very first controller added to every widget, runs in
a different order than the previously hardcoded.
Probably testing legacy events is not really futurible, specially after
we stop installing this legacy controller by default. I'll leave the
choice to remove these specific tests for later though.
|
|
|
|
| |
This previously led to a loop in the child widgets.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=786931
|
| |
|
|
|
|
|
|
|
|
| |
Visual Studio does not support things like -Wl,export-dynamic, so we
need to export those symbols by using __declspec(dllexport). So, we
decorate these with macros which we define accordingly for this purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=785210
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=786932
|
|
|
|
|
| |
We are officially switching to Meson as the default build system for
GTK+.
|
| |
|