Philip Withnall
80b10aa1bd
gtksettings: Add a debug message if there is no default GtkSettings
...
Make it slightly more obvious when things are about to slide sideways
because a NULL GtkSettings has been returned to a caller. This is a
valid return value, but is rarely handled correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=778382
2017-09-12 16:04:44 +01:00
Philip Withnall
69102ac8df
gtknotebook: Simplify some if-conditions
...
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=787303
2017-09-12 15:22:13 +01:00
Philip Withnall
7069dc0261
gtkmountoperation-x11: Do array length check before dereference
...
Signed-off-by: Philip Withnall <withnall@endlessm.com>
https://bugzilla.gnome.org/show_bug.cgi?id=787302
2017-09-12 15:21:59 +01:00
Nirbheek Chauhan
aa3e8ee097
build: Add dependency fallbacks for libs with meson ports
...
With these changes gtk+ builds for me using fallbacks for all libraries
with fallbacks available. Needs the following changes:
https://github.com/ebassi/graphene/pull/109 (graphene)
https://bugzilla.gnome.org/show_bug.cgi?id=787414 (pango)
https://github.com/mesonbuild/meson/pull/2291 (will be in meson 0.42.1)
https://bugzilla.gnome.org/show_bug.cgi?id=787416
2017-09-12 00:24:58 +05:30
Nirbheek Chauhan
1a11d0071b
build: Add girs and typelibs as sources to libgtk_dep
...
This will be needed by any projects that want to use gtk+ as
a subproject.
https://bugzilla.gnome.org/show_bug.cgi?id=787416
2017-09-12 00:24:58 +05:30
Matthias Clasen
ff45a86a1c
Fix rendering glyphs from the cache
...
We were not quite using all the right dimensions.
2017-09-11 14:45:36 -04:00
Matthias Clasen
b0d108291b
Some fixes for the glyph cache
...
Copy the way cogl does its glyph caching some more.
At the minimum, this fixes problems where we were getting
wrong-sized Emoji inserted.
2017-09-11 14:02:44 -04:00
Matthias Clasen
40031930b2
Cosmetic changes
...
Make sure the cache size does not get out of sync with the
actual surface size.
2017-09-11 11:22:59 -04:00
Matthias Clasen
31ca709e23
Cosmetic changes
...
Use Pango macros for handling PANGO_SCALE.
2017-09-11 11:22:10 -04:00
Matthias Clasen
86f018c6a7
Fix a corner-case for emoji input
...
As reported in https://github.com/ibus/ibus/issues/1944 ,
typing u201e while holding Ctrl+Shift used to give a „
when letting go of Ctrl+Shift. This broke when we introduced
Ctrl+Shift+e to start Emoji sequences. Fix this by only
looking for Ctrl+Shift+e if we are not already in a hex
sequence.
2017-09-11 11:20:07 -04:00
Matthias Clasen
781821bae4
rate-limit the glyph cache dumping
...
Writing the file out every frame really isn't necessary.
Do it once per second.
2017-09-11 11:15:00 -04:00
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