Matthias Clasen
374e4a1e77
Add 3.94 version macros
2017-10-19 12:18:52 +02:00
Matthias Clasen
9c391e7a9f
Optimize away trivial opacities
...
No need to go color matrix on an opacity of 0 or 1.
2017-10-19 12:08:39 +02:00
Debarshi Ray
7ee0e65631
GtkGestureZoom: Don't leak the list of sequences
...
https://bugzilla.gnome.org/show_bug.cgi?id=789149
2017-10-19 10:03:46 +02:00
Matthias Clasen
82e33823a9
Add a test for opacity render nodes
...
This test currently fails with the Vulkan renderer, despite
having its own reference image.
2017-10-18 23:45:43 +02:00
Matthias Clasen
99f42bb72e
3.92.1
...
Change the project name back to gtk+ to avoid trouble with
tarball names not matching ftpadmin expectations.
2017-10-18 23:17:27 +02:00
Matthias Clasen
e4259eaeaa
3.92.0
2017-10-18 18:52:06 +02:00
Matthias Clasen
a2aa128178
Fix tools test
2017-10-18 18:52:06 +02:00
Matthias Clasen
c54294e2e1
Add a forgotten file
2017-10-18 18:52:06 +02:00
Piotr Drąg
3a3dbafd1d
Update POTFILES.skip
2017-10-18 17:54:07 +02:00
Matthias Clasen
2f96592e80
Use the cairo renderer for gtk tests for now
...
We haven't tracked down yet why the window size tests
fail with Vulkan, so use cairo for now.
2017-10-18 17:30:20 +02:00
Matthias Clasen
4a22704d82
Fix test environments
2017-10-18 17:30:20 +02:00
Matthias Clasen
f8f94ab329
Install tools tests
...
At the same time, update the expected test output to match
the current tools output, and write diff and ref files in /tmp.
2017-10-18 17:30:20 +02:00
Matthias Clasen
896316a9d1
Install gtk tests
...
Some of these currently fail on my system.
2017-10-18 17:30:20 +02:00
Matthias Clasen
090832c6fa
redo the gdk installed tests
2017-10-18 17:30:20 +02:00
Matthias Clasen
b7098a0ebc
testsuite: be a bit more verbose
...
This may help tracking down some failures.
2017-10-18 17:30:20 +02:00
Matthias Clasen
389307eb2c
Install separate render node test for cairo and vulkan
...
The vulkan test currently fails.
2017-10-18 17:30:20 +02:00
Matthias Clasen
fb22f84059
testsuite: don't write into installed locations
...
Save the output of the render node tests in /tmp.
2017-10-18 17:30:20 +02:00
Matthias Clasen
4c64509b28
Install gdk tests
...
This was missing so far
2017-10-18 17:30:20 +02:00
Matthias Clasen
b0b0095cf8
Test suite cosmetics
...
Reshuffle things a bit more, sort the test files into subdirectories,
and shorten their names.
2017-10-18 17:30:20 +02:00
Matthias Clasen
68503c3e13
Add some backend-specific reference images for render nodes
2017-10-18 17:30:20 +02:00
Matthias Clasen
e9d47e9516
Run the gsk tests for both cairo and vulkan
...
The vulkan tests fail currently.
2017-10-18 17:30:20 +02:00
Matthias Clasen
abe7d8a846
More testsuite cosmetics
...
Unify the test naming some more.
2017-10-18 17:30:20 +02:00
Matthias Clasen
3166dc45e8
Fix the a11y test
2017-10-18 17:30:20 +02:00
Matthias Clasen
cd87b02103
Update expected output of statusbar a11y test
2017-10-18 17:30:20 +02:00
Matthias Clasen
9da057568c
Fix GtkStatusbarAccessible
...
GtkStatusbar is no longer a container, so GtkStatusbarAccessible
can no longer be a container accessible.
2017-10-18 17:30:20 +02:00
Matthias Clasen
0c61095630
gtk4-demo: Stop using pixdata resources
...
This does not really help, and pixdata is deprecated.
2017-10-18 17:30:20 +02:00
Matthias Clasen
3287469929
gtk: Stop using pixdata resources
...
It does not really help, and pixdata is deprecated.
2017-10-18 17:30:20 +02:00
Matthias Clasen
50c8221058
testsuite: Add missing files
2017-10-18 17:30:20 +02:00
Matthias Clasen
2a71a4382a
testsuite: Use the cairo renderer for now
2017-10-18 17:30:20 +02:00
Matthias Clasen
8b63b180d3
Distribute all test files
2017-10-18 17:30:20 +02:00
Matthias Clasen
e6b94ef699
Updates
2017-10-18 17:30:20 +02:00
Matthias Clasen
91497348bf
Update all css parser tests
...
I have not tracked down in detail where all these changes originate,
this commit just gets things back to working again.
2017-10-18 17:30:20 +02:00
Matthias Clasen
6b2eafe1bb
Drop widget style property test
2017-10-18 17:30:20 +02:00
Matthias Clasen
5824d8b5ee
Stop testing deprecated css features
2017-10-18 17:30:20 +02:00
Timm Bäder
e0623fb5ad
emojichooser: Plug memory leak
2017-10-17 08:54:08 +02:00
Julian Sparber
6f71e40546
icon-browser: Add scalable icons to icon detail modal window
...
When making mockups for GNOME apps in Inkscape, looking for symbolic
icons is a common task. Searching for icons in the file system is clumsy,
and icon-browser provides a much better interface for finding them.
However, currently there is no way to insert the symbolic icons as SVG
directly from icon-browser, so right now it is only useful for finding
the name.
This patch adds a sixth column to the modal window that appears when
clicking a symbolic icon. The icon in this column is labeled "scalable",
and dragging it onto another window results in the vector icon URI being
inserted.
This enables a much simpler workflow when designing with symbolic icons.
https://bugzilla.gnome.org/show_bug.cgi?id=778930
2017-10-16 14:26:42 +02:00
Carlos Garnacho
1607f8c4c6
gdk/wayland: Avoid idempotent wl_subsurface.set_position calls
...
These may not result on wl_surface.frame callbacks, yet we do trigger
a frame clock tick that would get stuck on the lack of such callback.
https://bugzilla.gnome.org/show_bug.cgi?id=784314
2017-10-16 11:31:00 +02:00
Aurimas Černius
c286fad473
Updated Lithuanian translation
2017-10-15 21:30:15 +03:00
Daniel Boles
a5c0a5c546
a11y/entry: Fixups for previous commit
...
We still declare all variables at the start of the block.
Also, we can use the fast private _gtk_widget_get_allocation().
https://bugzilla.gnome.org/show_bug.cgi?id=784509
2017-10-15 12:58:25 +01:00
Samuel Thibault
9af088693a
a11y/entry: Fix text coords not adjusted for alloc
...
What is missing is the "allocation" part of x/y coordinates. Since
gtk_entry_realize doesn't call gtk_widget_set_window(priv->text_area),
the coordinates returned by gdk_window_get_origin don't include it.
This patch fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=784509
2017-10-15 12:37:44 +01:00
Daniel Boles
29b8cfc952
Range: Fix inverted horizontal scroll wheel events
...
Bug 737175 aimed to ensure that scrolling up on a horizontal range would
result in its value increasing, as that’s what users intuitively expect.
However, its commit 416c370da1
meant that,
if the event gives scroll deltas, we inverted our delta unconditionally.
So it broke horizontal scrolling: scrolling left moved the slider right…
We must only invert if using dy as delta. dx already has the right sign,
so inverting it was wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=788905
2017-10-14 18:56:32 +01:00
Timm Bäder
d2f027a9d9
gtkcssimagefallback: Implement equals()
...
The default equals() implementation in gtkcssimage.c just returns FALSE.
This avoids needless redraws, e.g. for disabled switches.
2017-10-14 17:29:48 +02:00
Timm Bäder
00ce3abd6c
listboxrow: Remove measure() and size_allocate() impls
...
GtkListBoxRow is a GtkBin which already does this.
2017-10-14 17:27:55 +02:00
Timm Bäder
4e24cb8588
css: Add GTK_CSS_AFFECTS_ICON_SIZE
...
And use it in GtkIconHelper. This way, we can avoid resizes when e.g.
the fg color of a symbolic icon changes.
2017-10-14 17:27:55 +02:00
Timm Bäder
ce5560a790
iconhelper: Short-circuit clear() if it's cleared already
2017-10-14 17:27:55 +02:00
Timm Bäder
c4c6a20998
popover: Explicitly call queue_allocate in tick callback
...
_gtk_window_set_popover_position is begin called in size-allocate.
2017-10-14 17:27:55 +02:00
Timm Bäder
d5fd2dca66
window: Remove widget parameter from popover_size_allocate
...
We already get that via the popover parameter.
2017-10-14 17:27:55 +02:00
Timm Bäder
c02e04b7b8
widget: Whitespace fix
...
Fallout from one of my earlier commits so not changing ownership here.
2017-10-14 08:12:05 +02:00
Timm Bäder
ec18661bbb
widget: Only check display debug flags if the global ones are set
...
The gtk_widget_get_display call in this if statement is showing up in
profiles. It ends up walking up the hierarchy to the toplevel to get its
GdkScreen, etc. so it is relatively costly. Avoid that call in most
cases by first checking if the RESIZE debugging is enabled for any of
the displays and only then checking if it is enabled for the widget's
display.
2017-10-14 07:37:06 +02:00
Timm Bäder
eee335557c
widget: Avoid some type checks when invalidating window
...
Use the private _gtk_widget_get_has_window instead of the public version
2017-10-14 07:26:09 +02:00