Matthias Clasen
47cf17c70c
vulkan: Add a primitive glyph cache
...
This is just a proof of concept - we use a single 1024x1024 surface,
and just give up when we run out of space. The cache is populated
incrementally, and items are never removed.
2017-09-10 21:56:37 -04:00
Matthias Clasen
b0e8d8483d
More work on text nodes
...
This commit takes several steps towards rendering text
like we want to.
The creation of the cairo surface and texture is moved
to the backend (in GskVulkanRenderer). We add a mask
shader that is used in the next text pipeline to use
the texture as a mask, like cairo_mask_surface does.
There is a separate color text pipeline that uses the
already existing blend shaders to use the texture as
a source, like cairo_paint does.
The text node api is simplified to have just a single
offset, which determines the left end of the text baseline,
like all our other text drawing APIs.
2017-09-10 14:36:26 -04:00
Balázs Úr
edc73e78b8
Update Hungarian translation
2017-09-10 18:29:44 +00:00
Ask Hjorth Larsen
15c05deb8f
Updated Danish translation
2017-09-10 18:17:44 +02:00
Ask Hjorth Larsen
55e4197319
Updated Danish translation
2017-09-10 18:11:48 +02:00
Daniel Șerbănescu
e0196b6307
Update Romanian translation
2017-09-10 11:27:45 +00:00
Daniel Șerbănescu
67e81f45ba
Update Romanian translation
2017-09-10 11:24:32 +00:00
Jordi Mas
b634357985
Fixes to Catalan translation
2017-09-10 08:24:27 +02:00
Inaki Larranaga Murgoitio
0f2924cee2
Update Basque language
2017-09-09 17:53:08 +02:00
Inaki Larranaga Murgoitio
dedc7bc873
Update Basque language
2017-09-09 17:52:17 +02:00
Daniel Boles
09d1d5a0d6
Entry: Fix leak of text in ensure_has_tooltip()
...
Thanks to Mohammed Sadiq for noticing this. I guess I got
Widget.get_tooltip_text() confused with Label.get_label().
https://bugzilla.gnome.org/show_bug.cgi?id=787410
2017-09-07 14:56:20 +01:00
Javier Jardón
80e3239033
meson.build: enable-tests -> build-tests
...
This completes b5e00d36f0
2017-09-06 20:45:35 +01:00
Piotr Drąg
4b48ed569a
Update Polish translation
2017-09-06 20:17:24 +02:00
Matthias Clasen
dd4361a638
Rename enable-documentation and enable-man-pages options
...
You can now disable the documentation build with
-Ddocumentation=false and -Dman-pages=false.
2017-09-06 11:10:55 -04:00
Matthias Clasen
15edfbbc88
Rename and document the enable-gir option
...
You can disable introspection now with -Dintrospection=false.
2017-09-06 09:53:34 -04:00
Matthias Clasen
b5e00d36f0
Allow building without tests and demos
...
This is meant to cut down build time in flatpak and similar
situations. Since it produces technically incomplete builds,
we list these options in the status output at the end of
the meson run.
2017-09-06 09:53:20 -04:00
Matthias Clasen
af5d3e3299
popover: Fix a warning
...
We were unintentionally disconnecting an already-disconnected
signal handler in some cases. Don't do that, it causes warnings.
2017-09-06 08:04:33 -04:00
Matthias Clasen
ff0f5f57f1
gtk4-demo: Fix up the event axes demo
...
Use a drawing area instead of drawing directly on the
window, which doesn't work well with csd.
2017-09-06 07:05:01 -04:00
Matthias Clasen
b3b6c42e18
gtk4-demo: add a few missing window titles
2017-09-06 07:05:01 -04:00
Çağatay Yiğit Şahin
541af54d9d
Update Turkish translation
2017-09-06 06:49:29 +00:00
Matthias Clasen
863a9cef98
entry: Set a clip
...
Now that GtkEntry is using a text node, we were spilling
the contents out to the side when the entry is scrolling.
Avoid that by setting a clip.
2017-09-05 23:29:59 -04:00
Chun-wei Fan
1b7f08171a
gskpango.c: Include cairo.h consistently
...
The other source files use "#include <cairo.h>", so we should do
likewise.
https://bugzilla.gnome.org/show_bug.cgi?id=773299
2017-09-06 10:42:32 +08:00
Daniel Boles
d97db77ad4
ActionBar: Fix links in set_revealed() doc, etc.
...
mostly: syncing with previous commit, where InfoBar copied this all from
Also, remove my unhelpful “and vice-versa” from InfoBar.
2017-09-05 21:33:00 +01:00
Daniel Boles
14387ed2e7
InfoBar: Fix typos in set_revealed() documentation
...
Fix a parameter type and a link to the corresponding property.
Tweak the wording and whatnot a little while at it.
2017-09-05 20:20:46 +01:00
Patrick Griffis
a55b57caff
build: Improve vulkan resource handling
...
This fixes the proper dependencies getting set up for generating
the shaders and only the necessary things getting rebuilt on
resources changing in gsk.
2017-09-05 15:18:56 -04:00
Mario Blättermann
f0f394bfdd
Update German translation
2017-09-05 17:56:32 +00:00
Mario Blättermann
bb8f2784d7
Update German translation
2017-09-05 17:52:35 +00:00
Balázs Úr
992aeb76ca
Update Hungarian translation
2017-09-05 15:16:16 +00:00
Balázs Úr
bf029e2d7a
Update Hungarian translation
2017-09-05 15:14:28 +00:00
Marek Cernocky
8b87137d2f
Updated Czech translation
2017-09-05 16:38:18 +02:00
Jakub Steiner
90ba317d92
adwaita: use generic sidebar icon style
...
https://bugzilla.gnome.org/show_bug.cgi?id=786613
2017-09-05 13:53:46 +02:00
Daniel Mustieles
54a03cb3d9
Update Spanish translation
2017-09-05 10:35:00 +00:00
Daniel Mustieles
bb5ef90827
Update Spanish translation
2017-09-05 10:33:59 +00:00
Jean-Baptiste Holcroft
4e7aa84b9b
Update French translation
2017-09-05 08:31:53 +00:00
Timm Bäder
2a373b8ac8
build: Depend on wayland-protocols 1.9
...
Needed for the keyboard shortcuts inhibit protocol
2017-09-05 10:09:24 +02:00
Matthias Clasen
4800a248bd
Typo fix
2017-09-04 23:32:31 -04:00
Matthias Clasen
7bb5b8df0b
A somewhat working blur shader
...
This is a very direct implementation of a Gaussian blur,
without any optimizations.
2017-09-04 23:32:31 -04:00
Andika Triwidada
bb2a4a4e9b
Update Indonesian translation
2017-09-05 01:12:51 +00:00
Andika Triwidada
a8d2ef28a5
Update Indonesian translation
2017-09-05 01:09:35 +00:00
Daniel Boles
9699a954cd
HighContrast: Stop hovered emoji from disappearing
...
Otherwise emoji are invisible in the normal variant & nearly in Inverse.
https://bugzilla.gnome.org/show_bug.cgi?id=787279
2017-09-05 01:42:56 +01:00
Daniel Boles
edad5e5c09
Adwaita: Fix a selector not regenerated in the CSS
2017-09-05 01:42:13 +01:00
Daniel Boles
23ea09aa48
HighContrast: Kill abominable headerbar vseparator
...
Commit 8cd37ff0df
fixed a syntax error and
unwittingly released this bizarre mutant.
2017-09-05 01:00:53 +01:00
Daniel Boles
b97f1900b7
EmojiChooser: Ensure always have a selected button
...
We were only selecting a section’s button if the adjustment y coord was
within its heading, so scrolling slightly into it unchecked all buttons.
This also fixes how we could end up with the first 2 selected, somehow.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:58:24 +01:00
Daniel Boles
002a1d9c1c
EmojiChooser: Check the 1st button before 1st show
...
We scroll to the top in show() but only ever selected a button when the
adjustment changed, which doesn’t happen in init(). Check it manually.
https://bugzilla.gnome.org/show_bug.cgi?id=787172
2017-09-04 22:58:24 +01:00
Piotr Drąg
fcae5e942f
Update Polish translation
2017-09-04 23:53:19 +02:00
Rafael Fontenelle
40001d27a1
Update Brazilian Portuguese translation
2017-09-04 19:54:43 +00:00
Rafael Fontenelle
adc590721a
Update Brazilian Portuguese translation
2017-09-04 19:52:31 +00:00
Matthias Clasen
86c60592fb
css: Implement the blur filter
...
This implementation is somewhat incomplete, since
we don't allow combining blur with the other filters
yet.
2017-09-04 14:28:16 -04:00
Matthias Clasen
5f6fdc4dd8
Render the main overlay child only once
...
Use a separate snapshot to capture the main child render node
and reuse it multiple times, instead of generating multiple
nodes for the same content.
2017-09-04 14:28:16 -04:00
Matthias Clasen
93c67eaf6d
Add a test for overlay blur
2017-09-04 14:28:16 -04:00