Aurimas Černius
75b1d75751
Updated Lithuanian translation
2022-09-27 22:40:49 +03:00
Hugo Carvalho
2d19a1f1ec
Update Portuguese translation
2022-09-27 19:39:53 +00:00
Rafael Fontenelle
e57d005076
Update Brazilian Portuguese translation
2022-09-27 13:10:05 +00:00
Matthias Clasen
31d483dfbc
Apply 1 suggestion(s) to 1 file(s)
2022-09-27 11:31:55 +00:00
Martin
fc2cb9d063
Update Slovenian translation
2022-09-27 08:03:24 +00:00
Fran Dieguez
91cc03a81a
Update Galician translation
2022-09-27 06:22:18 +00:00
Benjamin Otte
67049c3261
Merge branch 'wip/otte/for-main' into 'main'
...
drop target: Warn about broken signal handler returns
See merge request GNOME/gtk!5060
2022-09-27 02:07:21 +00:00
Benjamin Otte
c98cea3dbb
drop target: Warn about broken signal handler returns
...
Signal handlers ust return their preferred action and that one must be
unique.
Shout at them if they don't do that, before gdk_drop_status() does
tesame thing.
Related: gnome-build-meta#554
Related: gnome-builder#1799
2022-09-27 03:50:29 +02:00
Emmanuele Bassi
0a67ac6d47
Merge branch 'left-right-typo' into 'main'
...
Fix GtkSettings docs typo
See merge request GNOME/gtk!5059
2022-09-26 22:23:29 +00:00
Mitchell Hentges
f8c0d86d6c
Fix GtkSettings docs typo
...
"left of right" should be "left or right".
There's a small (subjective?) English nit in there as well: I believe
that buttons are placed (for example) "on the right" rather than "at the
right".
2022-09-27 00:00:30 +02:00
William Roy
872e04f94e
Fix preprocessor conformance with MSVC
2022-09-26 19:52:57 +00:00
Goran Vidović
d5c60438d1
Update Croatian translation
2022-09-26 19:30:45 +00:00
Anders Jonsson
60788913da
Update Swedish translation
2022-09-26 18:28:19 +00:00
Matthias Clasen
f01118f2fc
Merge branch 'kjellahl/gtkprintbackendlpr' into 'main'
...
gtkprintbackendlpr.c: Add #include "gtkprivate.h"
See merge request GNOME/gtk!5057
2022-09-26 18:22:21 +00:00
Kjell Ahlstedt
9db812ea7f
gtkprintbackendlpr.c: Add #include "gtkprivate.h"
...
Necessary after GTK_NOTE was replaced by GTK_DEBUG.
GTK_DEBUG is defined in gtk/gtkprivate.h. GTK_NOTE was defined
in gtk/gtkdebug.h.
2022-09-26 18:38:06 +02:00
Piotr Drąg
d538e78d8a
Update Polish translation
2022-09-26 18:01:02 +02:00
Yuri Chornoivan
ba0499a803
Update Ukrainian translation
2022-09-26 14:54:56 +00:00
Matthias Clasen
1318fdc52c
Merge branch 'fix_4577' into 'main'
...
Make the presentation of the stack sidebar listbox nicer for A11Y
Closes #4577
See merge request GNOME/gtk!4661
2022-09-26 14:41:29 +00:00
Luca Bacci
d3c50fad6c
Merge branch 'gdk-win32-fix-subclassing-gdk-win32-clipdrop' into 'main'
...
GdkWin32: Fix subclassing for GdkWin32Clipdrop
Closes #5207
See merge request GNOME/gtk!5055
2022-09-26 12:59:17 +00:00
Luca Bacci
e2219858ae
GdkWin32: Fix subclassing for GdkWin32Clipdrop
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/5207
2022-09-26 14:34:24 +02:00
Matthias Clasen
85043a2d1b
Merge branch 'bump-meson-req' into 'main'
...
Bump the meson requirement
See merge request GNOME/gtk!5051
2022-09-25 17:24:53 +00:00
Piotr Drąg
cac813bbc4
Update POTFILES.in
2022-09-25 14:10:28 +02:00
Nelson Benítez León
94a4c2cb40
fix crash in gtk_synthesize_crossing_events()
...
Update ancestor between GTK_CROSSING_OUT and
GTK_CROSSING_IN as it may have changed.
Fixes #5190
2022-09-24 21:25:05 -04:00
Matthias Clasen
11829fe7d0
gtk: Use gnome.mkenums_simple
...
This lets us avoid template files, and works just as well.
2022-09-24 21:23:00 -04:00
Matthias Clasen
455eefa854
gdk: Use gnome.mkenums_simple
...
This lets us avoid template files, and works just as well.
2022-09-24 21:22:53 -04:00
Matthias Clasen
0f4f90d722
Bump the meson requirement
...
GLib requires meson 0.60 nowadays, and it does not
make much sense for us to support an older meson.
2022-09-24 20:07:03 -04:00
Matthias Clasen
cefb0a3eb8
Merge branch 'header-cleanup' into 'main'
...
Header cleanup
See merge request GNOME/gtk!5049
2022-09-24 14:23:39 +00:00
Matthias Clasen
bc661a8ed5
gdk: Rename gdkpixbuf-drawable.c
...
There is nothing particularly specific to drawables
in there (and we don't have that concept anymore),
so just name the source file to match the header.
Easier for everybody.
2022-09-24 10:03:37 -04:00
Matthias Clasen
9ff549799d
gdk: Tweaks to keyname handling
...
Rename the private header to follow our naming
conventions, and drop the extra gdkkeys.c file.
2022-09-24 10:03:37 -04:00
Matthias Clasen
e499a09759
Drop gtkintl.h
...
Include gtkprivate.h for I_() and glib-i18n.h for
gettext macros.
2022-09-24 10:03:37 -04:00
Carlos Garnacho
fb280e47d6
gtkimcontextwayland: Shuffle full resets after IM changes
...
Doing reset() on the text widgets after commit and delete_surrounding
is still too eager for some IMs (e.g. those that expect being able
to commit text while keeping a preedit buffer shown).
However, reset() is more of a "synchronize state" action on Wayland,
and it is still desirable to do that after changes that do come from
the IM (e.g. requesting the new surrounding text and cursor/anchor
positions). Notably here, the text_input protocol may still come up
with a preedit string after this state synchronization happens.
Shuffle the code so that the text widgets do not reset() the IM
context after text is deleted or committed, but the Wayland IM does
apply its practical effects after these actions happen. This keeps
the Wayland IM fully up-to-date wrt text widget state, while not
altering the ::commit and ::delete-surrounding-text behavior for
other IM context implementations.
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5200
Fixes: 5b78fe2721
(gtktextview: Also reset IM context after IM...)
Fixes: 7c0a395ff9
(gtktext: Also reset IM context after IM...)
Fixes: 52ac71b972
(gtktextview: Shuffle the places doing IM reset)
Fixes: 9e29739e66
(gtktext: Shuffle the places doing IM reset)
2022-09-24 11:52:16 +02:00
Matthias Clasen
4aabc45685
Drop gdkintl.h
...
This header was merely including gi18n-lib.h.
Just do that directly.
2022-09-23 23:33:42 -04:00
Matthias Clasen
a8af7caae1
Rename gdk-private.h to gdkprivate.h
...
The extra - does not add any value.
2022-09-23 23:23:27 -04:00
Matthias Clasen
7d2c296357
Rename gdkconstructor.h to gdkconstructorprivate.h
...
This is the naming convention for private headers.
2022-09-23 23:14:08 -04:00
Matthias Clasen
c24a69549d
Rename gdkdebug.h to gdkdebugprivate.h
...
This is the naming convention for private headers.
2022-09-23 23:12:01 -04:00
Matthias Clasen
f141da6b55
gtk: Dissolve gtk-autocleanup.h
...
Move the autocleanup declarations into their
respective headers.
2022-09-23 23:07:43 -04:00
Matthias Clasen
3688ece655
gsk: Dissolve gsk-autocleanup.h
...
Move the autocleanup declarations into their
respective headers.
2022-09-23 19:50:09 -04:00
Matthias Clasen
61a51dea7b
gdk: Dissolve gdk-autocleanup.h
...
Move the autocleanup declarations into their
respective headers.
While we are at it, correct the autocleanup
declaration for GdkEvent to use gdk_event_unref,
not g_object_unref. Oops
2022-09-23 19:49:58 -04:00
Matthias Clasen
bccb4f87be
Merge branch 'debug-envvars-cleanup' into 'main'
...
Clean up debug env vars
See merge request GNOME/gtk!5044
2022-09-23 23:06:47 +00:00
Matthias Clasen
52b6dbf2b4
gtk: Remove old debug macros
...
These are no longer used.
2022-09-23 18:51:46 -04:00
Matthias Clasen
f33f55bcbb
gtk: Use the new debug macros
2022-09-23 18:12:39 -04:00
Matthias Clasen
f4d3f45c16
gtk: Introduce new debug macros
...
Introduce GTK_DISPLAY_DEBUG() and GTK_DEBUG(), which
mirror the new macros in gdk. They use the same helper
function gdk_debug_message().
2022-09-23 18:12:39 -04:00
Matthias Clasen
1e65d6640f
tests: Rewrite the icontheme tests
...
The lookup order tests were relying on out
debug spew using g_log, so they can redirect
the output by setting a log writer function.
Rewrite this to use g_test_subprocess() and
parse stderr.
2022-09-23 18:12:39 -04:00
Matthias Clasen
8a4fd30797
gsk: drop old debug macros
...
These are no longer used.
2022-09-23 18:11:48 -04:00
Matthias Clasen
9818ec4ad9
gsk: Use the new debug macros
2022-09-23 18:11:48 -04:00
Matthias Clasen
4d08eb264d
gsk: Introduce new debug macros
...
Introduce GSK_RENDERER_DEBUG() and GSK_DEBUG(), which
mirror the new macros in gdk. They use the same helper
function gdk_debug_message().
2022-09-23 18:11:48 -04:00
Matthias Clasen
bc159207bd
gdk: Drop old debug macros
...
Drop the old GDK_NOTE() and GDK_DISPLAY_NOTE()
macros from gdkdebug.h. Reintroduce them in the
win32 backend, where they are still used.
2022-09-23 18:11:48 -04:00
Matthias Clasen
1f166ae071
macos: Use the new debug macros
2022-09-23 18:11:48 -04:00
Matthias Clasen
ce4c2154f4
x11: Use the new debug macros
2022-09-23 18:11:48 -04:00
Matthias Clasen
71fedee85d
wayland: Use the new debug macros
2022-09-23 18:11:48 -04:00