Benjamin Otte
aecdd6f68f
Merge branch 'wip/otte/for-master' into 'master'
...
label: Don't add a pixel where none should be added
See merge request GNOME/gtk!4173
2021-11-18 07:38:53 +00:00
Benjamin Otte
899cb44519
label: Don't add a pixel where none should be added
...
When the text width is larger than the measuring width, set the min
width to that value, don't also add 1 to it.
2021-11-18 07:16:09 +00:00
Matthias Clasen
86175f043c
Merge branch 'msal4-master-patch-74685' into 'master'
...
docs: use px unit for font size
See merge request GNOME/gtk!4171
2021-11-18 04:54:43 +00:00
Matthias Clasen
74c6b8e9bc
Merge branch 'picture-ratio-redraw' into 'master'
...
picture: Setting keep-aspect-ratio requires a redraw
See merge request GNOME/gtk!4172
2021-11-18 03:43:54 +00:00
Marco Melorio
d3347e64ba
picture: Setting keep-aspect-ratio requires a redraw
2021-11-18 02:39:15 +01:00
Mohammed Salman
4c8081bafc
Update section-text-widget.md
2021-11-17 22:48:14 +00:00
Matthias Clasen
5995e89a80
Merge branch 'matthiasc/for-master' into 'master'
...
Don't spam debug messages into TAP output
See merge request GNOME/gtk!4167
2021-11-17 11:59:15 +00:00
Jonas Ådahl
b9bdbe9aae
x11: Trap error when getting CRTC info
...
This should fix a race happening when RANDR changes quickly, e.g. during
unit testing where tests change monitor configurations rapidly.
2021-11-17 11:15:40 +01:00
Matthias Clasen
c86789427d
Don't spam debug messages into TAP output
...
g_log_writer_standard_streams just puts all the logs
out onto stderr and stdout if we don't stop it. Pango
recently grew a bunch of g_debug calls, and those were
now showing up, making all the reftests fail.
2021-11-16 18:45:34 -05:00
Matthias Clasen
0852084884
Merge branch 'matthiasc/for-master' into 'master'
...
Fix formatting error in demo about dialogs
See merge request GNOME/gtk!4166
2021-11-16 22:23:31 +00:00
Matthias Clasen
96778fca92
Fix formatting error in demo about dialogs
...
Try harder to format things nicely.
2021-11-16 16:45:56 -05:00
Matthias Clasen
0c53b608f9
Merge branch 'bilelmoussaoui/since-annotations' into 'master'
...
g-i: add missing since annotations
See merge request GNOME/gtk!4154
2021-11-16 21:34:58 +00:00
Matthias Clasen
27350ad71b
Merge branch 'wip/otte/for-master' into 'master'
...
build: Actually use the extra warnings
See merge request GNOME/gtk!4157
2021-11-16 21:31:48 +00:00
Matthias Clasen
d9d220cfc9
Merge branch 'wip/carlosg/x11-wm-drags' into 'master'
...
gtkmain: Disable implicit grab active state on CROSSING_GRAB leave events
Closes #4416
See merge request GNOME/gtk!4162
2021-11-16 17:21:38 +00:00
Matthias Clasen
2026256823
Merge branch 'compose-cache-symlinks' into 'master'
...
composetable: invalidate cache based on symlink mtime too
See merge request GNOME/gtk!4163
2021-11-16 17:21:04 +00:00
Matthias Clasen
012baeb909
Merge branch 'wip/carlosg/cancelled-gestures' into 'master'
...
gtkwidget: Do not check event sequence state before cancelling gesture
Closes #4387
See merge request GNOME/gtk!4160
2021-11-16 17:19:55 +00:00
Asier Sarasua Garmendia
7249961aa4
Update Basque translation
2021-11-16 16:28:52 +00:00
Emmanuele Bassi
3d77e526d6
Merge branch 'ebassi/docs-fixes' into 'master'
...
Small documentation fixes
See merge request GNOME/gtk!4158
2021-11-16 14:04:50 +00:00
Emmanuele Bassi
c4b2fe6ee5
docs: Add blurb for GtkEditableProperties.
2021-11-16 13:50:52 +00:00
Emmanuele Bassi
cea320af24
docs: Fix description for CellRendererAccelMode
...
Link to the property, instead of copy-pasting its description.
2021-11-16 13:41:52 +00:00
Emmanuele Bassi
a5bf0591ee
docs: Fix link in GtkSymbolicColor description
2021-11-16 13:37:33 +00:00
Naïm Favier
22f5236943
composetable: invalidate cache based on symlink mtime too
...
When the compose file is a symbolic link, take the link itself's
modification time into account (in addition to its target's) in
determining whether to invalidate the compose cache.
This is useful e.g. on NixOS systems where the compose file might point
to a store path with an irrelevant modification time, and we want the
cache to expire when the symlink itself changes.
2021-11-16 12:53:38 +01:00
Carlos Garnacho
f84bcfbb97
gtkmain: Disable implicit grab active state on CROSSING_GRAB leave events
...
This grab-induced crossing event may come from outer means while there are
buttons pressed (e.g. WM window drags/resizes in X11), the implicit active
state should be undone in that situation.
Also, separate the handling of GDK_LEAVE_NOTIFY, as it's fundamentally
different from GDK_TOUCH_END/CANCEL handling.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4416
2021-11-16 10:58:03 +01:00
Carlos Garnacho
f36ee67226
gtkgesture: Do not cancel gesture when setting DENIED state
...
Touchpoint state and tracking are tangential, this is mixing up both.
This change was added in the fixes for
https://gitlab.gnome.org/GNOME/gtk/-/issues/3016 but is now unnecessary.
2021-11-16 00:47:57 +01:00
Carlos Garnacho
615b8fc569
gtkwidget: Do not check event sequence state before cancelling gesture
...
The sequence should be cancelled from the gesture despite its current state.
Also, there was a piece of pointer emulation that was not dropped here,
maybe breaking things further for the pointer emulated touchpoint.
Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4387
2021-11-16 00:41:17 +01:00
Emmanuele Bassi
ff3bb7f671
docs: Annotate Label.get_selection_bounds() out arguments
...
They are optional, and should be marked as such.
See issue: #4452
2021-11-15 15:35:13 +00:00
Emmanuele Bassi
39e4e48fdc
docs: Enable OpenSearch on our references
...
By adding the `docs_url` key in the project configuration file,
gi-docgen will generate an OpenSearch XML file, which allows to add
docs.gtk.org/<reference> as a "search engine" in web browsers.
2021-11-15 15:31:35 +00:00
Benjamin Otte
300a88922e
build: Disable gcc warnings as warnings, too
...
We use -Werror in the build, so even if some warnings are just warnings,
they'd be errors.
2021-11-15 15:35:10 +01:00
Benjamin Otte
c003260d63
build: Actually use the extra warnings
...
I forgot to remove the '-Werror=' part from all the extra warnings, so
the warning/error flags we generated were '-Werror=-Werror=warning-flag'
or 'W-Werror=warning-flag' - but because our compiler flag checking
infrastructure works so nicely, it just ignored these obviously wrong
flags.
Fixes commit 362e91c40b
2021-11-15 14:59:18 +01:00
Bilal Elmoussaoui
40c08954db
g-i: add missing since annotations
2021-11-13 17:50:53 +01:00
Goran Vidović
fd69b41748
Update Croatian translation
2021-11-12 13:58:59 +00:00
Goran Vidović
a2191c0a68
Update Croatian translation
2021-11-12 13:06:50 +00:00
Yaron Shahrabani
c17451557f
Update Hebrew translation
2021-11-11 22:30:08 +00:00
Yaron Shahrabani
b91dca9ad0
Update Hebrew translation
2021-11-11 22:29:14 +00:00
Piotr Drąg
7586e535ff
Update POTFILES.skip
2021-11-11 14:23:08 +01:00
Benjamin Otte
7859b88f19
Merge branch 'wip/otte/for-master' into 'master'
...
label: Don't do more work than necessary
See merge request GNOME/gtk!4149
2021-11-11 04:39:58 +00:00
Benjamin Otte
7f7809f523
label: Don't do more work than necessary
...
We only want to determine the size pixel-exact, not pango-unit-exact, so
don't spend lots of time wondering if text is half a pixel or a quarter
pixel wider.
2021-11-11 05:24:58 +01:00
Matthias Clasen
b4c2d1dabb
Merge branch 'wip/otte/no-errors-ever-again' into 'master'
...
build: Don't use any -Werror in release builds
Closes #4388
See merge request GNOME/gtk!4148
2021-11-11 00:50:09 +00:00
Benjamin Otte
362e91c40b
build: Don't use any -Werror in release builds
...
Do kep them for debug and debugoptimized builds though.
Keeping -Werror flags in release builds causes issues with forward
compatibility, when new compiler releases or different toolchains
suddenly cause those warnings to be emitted during compilation.
While we certainly want those issues to be investigated and fixed, they
should not prevent anyone from building GTK until they are.
Resolves #4388
2021-11-10 20:04:07 +01:00
Quentin PAGÈS
acf6d47b6f
Update Occitan translation
...
(cherry picked from commit 7520524aed
)
2021-11-10 18:18:00 +00:00
Benjamin Otte
0903ad48f0
Merge branch 'wip/otte/for-master' into 'master'
...
css: Don't crash when color stop offsets descend
Closes #4424
See merge request GNOME/gtk!4143
2021-11-10 16:44:56 +00:00
Benjamin Otte
46f8600b6a
css: Don't crash when color stop offsets descend
...
Testcase included.
Fixes #4424
2021-11-10 17:28:14 +01:00
Daniel Mustieles
fcb3638ac3
Updated Spanish translation
2021-11-10 11:32:36 +01:00
Matthias Clasen
e599b2548a
Merge branch 'flatpak-build-fix' into 'master'
...
flatpak: Add pango to manifest
See merge request GNOME/gtk!4142
2021-11-09 20:49:31 +00:00
Matthias Clasen
98d14b4655
flatpak: Add pango to manifest
...
We have a tight coupling with pango, whenever new
pango API appears, our build usually breaks. So
just make our flatpak manifests build pango from git.
2021-11-09 15:25:48 -05:00
Benjamin Otte
96f7e59832
Merge branch 'wip/otte/for-master' into 'master'
...
gtk-demo: Don't use deprecated librsvg API
See merge request GNOME/gtk!4141
2021-11-09 19:49:37 +00:00
Benjamin Otte
061026f21f
gtk-demo: Don't use deprecated librsvg API
...
New API requires a newer librsvg version, so require that one.
2021-11-09 20:29:49 +01:00
Benjamin Otte
330e9a8424
Merge branch 'wip/otte/for-master' into 'master'
...
label: Handle width-chars > text width
See merge request GNOME/gtk!4139
2021-11-09 18:31:42 +00:00
Benjamin Otte
1e47b1c610
label: Handle width-chars > text width
...
This was broken in wrapping labels.
Testcase included.
2021-11-09 18:34:35 +01:00
Matthias Clasen
bf40b89b53
Merge branch 'wip/jimmac/unfocused-selections' into 'master'
...
styling: Have unfocused selections
Closes #4393
See merge request GNOME/gtk!4113
2021-11-09 11:34:37 +00:00