Matthias Clasen
fef9f1187d
Merge branch 'matthiasc/for-master' into 'master'
...
fontbutton: Quote font family names
See merge request GNOME/gtk!3534
2021-05-09 14:43:03 +00:00
Matthias Clasen
83c9a24855
Merge branch 'wip/exalm/actionbar' into 'master'
...
GtkActionBar spacing fixes
See merge request GNOME/gtk!3535
2021-05-09 14:40:19 +00:00
Alexander Mikhaylenko
435a8f6337
theme: Fix GtkActionBar spacing
2021-05-09 17:01:36 +05:00
Alexander Mikhaylenko
2c8e4573f2
actionbar: Fix the css node docs
2021-05-09 16:55:48 +05:00
Alexander Mikhaylenko
b45721373a
action-bar: Add start and end style classes to GtkActionBar boxes
...
Make it possible to add spacing to them from the theme without affecting
the center child should it happen to be a box.
2021-05-09 16:54:59 +05:00
Matthias Clasen
e0ebf4e401
fontbutton: Quote font family names
...
Otherwise, spaces in family names will trip up
the css parser.
2021-05-08 20:54:50 -04:00
Matthias Clasen
dc878f24d2
Merge branch 'emoji-full-locale' into 'master'
...
emoji: Try to load emoji data using both language and territory
See merge request GNOME/gtk!3531
2021-05-08 02:07:18 +00:00
Matthias Clasen
be1f9b2cb0
Merge branch 'wip/carlosg/map-emulated-moveresize-window' into 'master'
...
gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use
See merge request GNOME/gtk!3529
2021-05-07 14:55:16 +00:00
Marco Trevisan (Treviño)
0769dfbd32
emoji: Try to load emoji data using both language and territory
...
When loading the emoji data we just try to get the data for a language
while there may be territory specializations and emojibase provides
them.
So, split the loading function and try to load the data for the fully
defined language string (i.e. `it-ch`) before loading the generic one
for the language (i.e. `it`) and eventually falling back to the generic
english.
2021-05-07 16:10:29 +02:00
Carlos Garnacho
081e127377
gdk/x11: Ensure to map the non-ewmh moveresize emulation window before use
...
Otherwise, we don't deem it as able to be grabbed, which we intend to do
immediately after.
2021-05-07 15:51:52 +02:00
Matthias Clasen
17a799aeb2
Merge branch 'matthiasc/for-master' into 'master'
...
Add some calendar tests
See merge request GNOME/gtk!3528
2021-05-07 12:57:55 +00:00
Matthias Clasen
a3f5283018
Add some calendar tests
...
Check that the getters and setters work as documented.
This tests the fix in 1f8985e476
.
2021-05-07 07:52:11 -04:00
Matthias Clasen
633d783f0c
Merge branch 'carlosgc/calendar-day' into 'master'
...
calendar: value of day property is shifted by 1
See merge request GNOME/gtk!3524
2021-05-07 11:42:59 +00:00
Matthias Clasen
451a5fb6d4
Merge branch 'fix-3918' into 'master'
...
demos: Mark non-static signal handler symbols for export
Closes #3918
See merge request GNOME/gtk!3523
2021-05-07 11:08:57 +00:00
Matthias Clasen
3ad7d304bd
Merge branch 'update-emoji-data' into 'master'
...
emoji: Update data to CLRD v39
See merge request GNOME/gtk!3520
2021-05-07 11:05:46 +00:00
Carlos Garcia Campos
7b2b8b86e1
calendar: do not allow to set 0 as day
...
We no longer unselect the current day when 0 is set, so update the
documentation and the property definition.
2021-05-07 12:13:49 +02:00
Carlos Garcia Campos
1f8985e476
calendar: value of day property is shifted by 1
...
The day is a number between 1 and 31 and that's what we get from
GDateTime.
2021-05-07 11:10:36 +02:00
Chun-wei Fan
efb875daef
demos: Mark non-static signal handler symbols for export
...
The symbols in the .ui files for the signal handlers and functions must be
exported so that the system can pick them up during execution.
Fixes #3918 .
2021-05-07 10:38:02 +08:00
Matthias Clasen
59cc3a9f86
Merge branch 'hidden-mnemonics-fix' into 'master'
...
label: Make hidden mnemonics work again
See merge request GNOME/gtk!3518
2021-05-07 00:34:33 +00:00
Matthias Clasen
febd143ac8
Merge branch 'emoji-data-prefix-fix' into 'master'
...
emoji: Use a portable and configuration-dependent path to load the data
See merge request GNOME/gtk!3522
2021-05-06 15:33:15 +00:00
Matthias Clasen
e00785e958
Merge branch 'macos' into 'master'
...
Fix building both X11 and Quartz backends on macOS
See merge request GNOME/gtk!3508
2021-05-06 15:26:49 +00:00
Marco Trevisan (Treviño)
4a4525a65d
emoji: remove duplicated include
2021-05-06 16:00:06 +02:00
Marco Trevisan (Treviño)
c98dd1afb9
emoji: Use a portable and configuration-dependent path to load the data
...
Load the emojis data in all the platforms, respecting the configured
GTK_DATA_PREFIX
2021-05-06 16:00:06 +02:00
Dan Cîrnaț
12d591178e
Fix compilation of c++ test: cpp_args
...
The correct meson argument for c++ is cpp_args.
Remove unnecessary(?) "-Idummy-headers" - breaks build
2021-05-06 10:38:41 +02:00
Dan Cîrnaț
bd7b29a6c4
Only compile gtkmountoperation-stub if the X11 backend is not enabled
2021-05-06 10:38:41 +02:00
Dan Cîrnaț
13b94dab10
Conditional check for gdesktopappinfo header
...
GDesktopAppInfo is not available on macOS and needs to be disabled
2021-05-06 10:38:41 +02:00
Marco Trevisan (Treviño)
ba3cbac21a
emoji: Update data to CLRD v39
...
This is based on version 6.2.0 of emojibase, containing CLRD 39
http://cldr.unicode.org/index/downloads/cldr-39
https://github.com/milesj/emojibase/blob/b3c9a78/packages/data/CHANGELOG.md
2021-05-06 05:08:37 +02:00
Matthias Clasen
d94c386320
label: Make hidden mnemonics work again
...
The change in 875a92b95f
made labels strip
out underlines earlier, but overlooked that this made
mnemonics not work before the timeout to show them
has passed. That was unintentional. Make mnemonics
work regardless of their visibility, again.
2021-05-05 22:55:52 -04:00
Matthias Clasen
4e2a263c1f
Merge branch 'introspection-test' into 'master'
...
Add an introspection api test
See merge request GNOME/gtk!3514
2021-05-06 00:52:06 +00:00
Matthias Clasen
6a24e0c7c3
Add an introspection api test
...
Every beginning is small... just check one constant for now.
2021-05-05 19:18:32 -04:00
Matthias Clasen
c8eeb46aa5
Merge branch 'update-ci-to-f34' into 'master'
...
WIP ci: Update the image to Fedora 34
See merge request GNOME/gtk!3516
2021-05-05 23:17:07 +00:00
Matthias Clasen
d143f76568
Merge branch 'msvc-ci' into 'master'
...
ci: Add MSVC build
See merge request GNOME/gtk!3486
2021-05-05 23:16:39 +00:00
Matthias Clasen
930ff499ee
Confine -mf16c to a single source file
...
We can't use this flag for any code that may get run
outside the __builtin_cpu_supports() check, and meson
doesn't allow per-file cflags. So we have to split this
code off into its own static library.
2021-05-05 18:58:23 -04:00
Xavier Claessens
f4dc24c3da
Meson: gdk-pixbuf jpeg/png options changed to feature
2021-05-05 16:40:57 -04:00
Matthias Clasen
399fb76652
ci: Add pygobject to the images
...
This will let us add introspection tests in the future.
2021-05-05 16:31:03 -04:00
Matthias Clasen
de056a3319
ci: Show OS release for our containers
2021-05-05 16:22:32 -04:00
Matthias Clasen
bafa23fa2c
Add debug spew to gdk tests
2021-05-05 15:41:46 -04:00
Matthias Clasen
ab725b4ba9
Merge branch 'wl-phys-transform' into 'master'
...
gdk/wayland: Take transform into account when setting physical size
See merge request GNOME/gtk!3515
2021-05-05 15:23:26 +00:00
Xavier Claessens
d8f44c06e8
ci: Add MSVC build
...
This script is copied from glib CI.
2021-05-05 09:16:36 -04:00
Guido Günther
e40c869d0d
gdk/wayland: Take transform into account when setting physical size
...
Width and height of a GdkMonitor are derived via wl_output which
talks about physical dimensions of a device and compositors usually
implement this as the untransformed values (e.g. weston, wlroots).
Since the GTK client has no way to figure out if a monitor was rotated,
transform the physical dimensions according to the applied wayland
transform to have the physical dimensions match the logical ones.
Mutter flips the physical dimensions itself but doesn't announce the
transform so this shouldn't break anything there.
2021-05-05 14:55:07 +02:00
Matthias Clasen
3591da517a
Disable another font-challenged reftest
2021-05-05 08:17:26 -04:00
Matthias Clasen
014fb41448
Help the compiler out
...
gcc says: error: iteration 2147483649 invokes undefined behavior
[-Werror=aggressive-loop-optimizations]
which of course, never happens because ncols is always >= 2.
Add some assertions to tell the compiler.
2021-05-05 08:17:26 -04:00
Matthias Clasen
24072f26ca
ci: Update the image to Fedora 34
...
This is in preparation to using mutter --headless
for tests.
2021-05-05 08:17:26 -04:00
Matthias Clasen
65017a0031
Merge branch 'bilelmoussaoui/trick-gir-list-position' into 'master'
...
gtk: trick g-ir scanner to add INVALID_LIST_POSITION
See merge request GNOME/gtk!3513
2021-05-05 00:04:16 +00:00
Bilal Elmoussaoui
dc5aab62c8
gtk: trick g-ir scanner to add INVALID_LIST_POSITION
...
without it, the define doesn't get picked in the introspection data
2021-05-05 00:45:21 +02:00
Matthias Clasen
a3cccbeb53
Merge branch 'wip/exalm/text-handles' into 'master'
...
texthandle: Add a contents css node
Closes #3475
See merge request GNOME/gtk!3511
2021-05-04 21:40:48 +00:00
Matthias Clasen
cee6525213
Merge branch 'fix-reftest' into 'master'
...
Fix the icon-effect-missing reftest
See merge request GNOME/gtk!3512
2021-05-04 21:03:30 +00:00
Matthias Clasen
4f81dc1eaf
Fix the icon-effect-missing reftest
...
This was comparing the included image-missing icon
with the one in the current icontheme on the test
system. Works fine as long as we don't change
the icons (which we just did). To avoid this, set
the icontheme to hicolor for this test, which does
not have the image-missing icon, so we end up getting
the builtin icon for both ui files.
2021-05-04 16:21:37 -04:00
Alexander Mikhaylenko
0e58bfe90e
texthandle: Add a contents css node
...
Allow to theme it including using css transforms to avoid having assets.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3475
2021-05-04 23:53:05 +05:00
Matthias Clasen
e3e0342db7
Merge branch 'wip/exalm/switch-icons' into 'master'
...
icons: Fix switch icon names
Closes #3920
See merge request GNOME/gtk!3509
2021-05-04 16:18:29 +00:00