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
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
Matthias Clasen
b1f12a0535
Merge branch 'wip/exalm/icons' into 'master'
...
Update icons from adwaita-icon-theme
Closes #2656
See merge request GNOME/gtk!3510
2021-05-04 16:18:00 +00:00
Alexander Mikhaylenko
60f4b07196
icons: Update from adwaita-icon-theme
...
Also add the missing edit-clear RTL variant.
2021-05-04 19:12:04 +05:00
Alexander Mikhaylenko
4c60dac9cb
icons: Remove media-playback-start-symbolic-rtl
...
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/101
2021-05-04 19:12:04 +05:00
Matthias Clasen
8d14bd3339
Merge branch 'wip/exalm/css-error' into 'master'
...
cssselector: Fix max_selector usage
Closes #3100
See merge request GNOME/gtk!3507
2021-05-04 13:17:53 +00:00
Alexander Mikhaylenko
48d95d2d7a
icons: Fix switch icon names
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3920
2021-05-04 17:49:07 +05:00
Matthias Clasen
670a2be782
Merge branch 'test.msvc' into 'master'
...
clipboard-client.c: Include necessary headers for Windows
See merge request GNOME/gtk!3505
2021-05-04 11:53:13 +00:00
Alexander Mikhaylenko
f3633d46ca
cssselector: Fix max_selector usage
...
Reverts 2ae8ace784
other than code style
fixes.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3100
2021-05-04 12:34:29 +05:00
Chun-wei Fan
e56754d27c
clipboard-client.c: Include necessary headers for Windows
...
We need to include io.h and process.h for close() and exit(), as unistd.h may
not be universally available.
2021-05-04 12:12:50 +08:00
Matthias Clasen
40ebed3a03
4.3.0
2021-05-03 20:31:18 -04:00
Matthias Clasen
14ac4903b6
Fix dist script for theme reorg
2021-05-03 20:31:18 -04:00
Matthias Clasen
da613c504b
Merge branch 'wip/exalm/textview-selection' into 'master'
...
textview: Selection rendering fixes
See merge request GNOME/gtk!3503
2021-05-03 23:55:46 +00:00
Matthias Clasen
7ac3507be2
Merge branch 'gnome-todo-dnd-crash' into 'master'
...
dragsource: Keep the source alive long enough
See merge request GNOME/gtk!3504
2021-05-03 21:35:55 +00:00
Alexander Mikhaylenko
316c783fce
label: Update selection node and redraw on state changes
...
Mirror GtkText and GtkTextView.
2021-05-04 02:29:10 +05:00
Matthias Clasen
9e952bc7ff
dragsource: Keep the source alive long enough
...
When a drop causes the event controller to be finalized
(directly or indirectly), we end up segfaulting while
trying to wrap up the drag operation. So, keep a reference
on the GtkDragSource from when the drag begins to when
it is done.
This fixes a crash in gnome-todo when dragging tasks.
2021-05-03 17:00:17 -04:00
Alexander Mikhaylenko
e4832a9e94
text: Queue redraw on state changes
...
Mirror GtkTextView.
2021-05-04 01:20:53 +05:00
Alexander Mikhaylenko
70ee86c951
textlayout: Clip selection bounds to the line extents
...
The rest of the line will be painted separately.
2021-05-04 01:08:19 +05:00
Matthias Clasen
ed97339ef1
NEWS: Updates
2021-05-03 15:38:11 -04:00
Matthias Clasen
b012a5c67e
Merge branch 'static-analysis-fixes' into 'master'
...
Static analyis fixes
See merge request GNOME/gtk!3501
2021-05-03 19:21:42 +00:00
Matthias Clasen
642f32e14d
Merge branch 'ebassi/for-master' into 'master'
...
Install documentation in the appropriate place
See merge request GNOME/gtk!3408
2021-05-03 19:21:18 +00:00
Matthias Clasen
7b735b88b4
Merge branch 'wip/carlosg/xdg-activation' into 'master'
...
gdk/wayland: Support the xdg-activation wayland protocol
See merge request GNOME/gtk!3502
2021-05-03 19:20:18 +00:00
Alexander Mikhaylenko
167134e1a8
textlayout: Support fully transparent selection text
...
Pango treats 0 alpha value as a unset alpha, so we have to special case it.
2021-05-04 00:16:05 +05:00
Alexander Mikhaylenko
0fa4b7a249
textview: Invalidate selection when its style changes
2021-05-04 00:16:05 +05:00
Alexander Mikhaylenko
f413d5ef22
textlayout: Only special case selection rendering for opaque colors
...
If the selection is partially transparent, it may still be desirable to
see the colors from tags underneath.
2021-05-04 00:16:05 +05:00
Carlos Garnacho
be4216e051
gdk/wayland: Support the xdg-activation wayland protocol
...
This protocol implements the IPC necessary to focus application
windows across launcher/launchee. Add support for it.
2021-05-03 17:20:50 +02:00
Matthias Clasen
fa10264759
updateiconcache: Static analysis fixes
2021-05-03 07:44:38 -04:00
Matthias Clasen
5fbfe5203c
buildertool: Static analysis fixes
2021-05-03 07:44:38 -04:00