Timm Bäder
13724b64d2
node editor: Make help textview monospace
...
Otherwise the nice markdown tables don't line up.
2021-02-07 11:37:36 -05:00
Sebastian Keller
08b1d2b897
wayland: Signal gtk-shell surface destruction to the server
...
This adds a "release" destructor for the gtk_surface1 interface which
signals to the server that a surface has been destroyed on the client
side, which the current "destroy" does not do.
Ideally the protocol would have specified a destroy request marked as
destructor to handle this automatically, however this is no longer
possible due to the destroy method being implicitly generated in the
absence of an explicit request in the protocol. Adding a destroy request
marked as destructor now would generate a new destroy method that
unconditionally would send the request to the server, which would break
clients running on servers not supporting that request.
2021-02-07 11:37:06 -05:00
Matthias Clasen
e43376c53e
Remove vestigial glade support
...
These files have not been kept up to date, and
glade doesn't work with GTK4 currently.
2021-02-07 11:36:49 -05:00
Matthias Clasen
986352852a
Drop unused logo resource
...
The inspector no longer sets a window icon.
2021-02-07 11:36:35 -05:00
Matthias Clasen
0240db060a
builder-tool: Translate GtkImage:pixbuf
...
The pixbuf property doesn't exist anymore. It is
commonly set to a path in ui files, so translate it
to the file property.
2021-02-07 11:36:06 -05:00
Matthias Clasen
b85296bc98
docs: Add gtk_widget_grab_default to migration guide
...
Point out the replacement for this api.
2021-02-07 11:35:57 -05:00
Matthias Clasen
2194421de3
widget: Fix can-focus
...
Setting can-focus to FALSE on a widget is supposed
to prevent focus from entering the entire subtree.
So when we grab focus directly to a widget, we need
to check the can-focus flag not just of the widget
itself, but all its ancestors.
Fixes : #3610
2021-02-07 11:35:34 -05:00
Jan Alexander Steffens (heftig)
c2235cee2d
gtkgstsink: Use video_frame_free also for the GL path
...
The video frame needs to stay mapped while the texture is in use.
Avoid using g_memdup because the structure is not supposed to be moved.
2021-02-07 11:35:08 -05:00
Jan Alexander Steffens (heftig)
949fb8a8fa
gtkgstsink: Report allocation size even if no pool requested
...
We can do that so we should.
2021-02-07 11:35:02 -05:00
Matthias Clasen
c225959e0e
docs: Update border-size docs
...
GtkCenterLayout respected border-size as well.
2021-02-07 11:34:51 -05:00
Matthias Clasen
295454d1bd
searchbar: Fix documentation mishap
...
The css section was inserted between the example
and the sentence referring to it.
2021-02-07 11:34:11 -05:00
Jan Alexander Steffens (heftig)
6161168706
modules: Simplify _gtk_get_module_path
...
Remove the bizarre loops.
2021-02-07 11:34:00 -05:00
Matthias Clasen
100de32cff
Avoid a buffer overrun
...
We were putting the '\0' behind the end. Oops.
2021-02-07 11:33:21 -05:00
Matthias Clasen
90ef388641
testsuite: Fix a leak
...
asan pointed out that the array tests leak.
2021-02-07 11:33:10 -05:00
Matthias Clasen
73617ee422
Avoid a heap-use-after-free
...
_gtk_gesture_cancel_sequence frees the struct pointed to by data,
so don't write to it afterwards. Found by asan.
2021-02-07 11:33:01 -05:00
Matthias Clasen
26240006a0
wayland: Explicitly announce ssd for kwin
...
Without this, kwin correctly assumes that we are
using client-side decorations. This is a port
of 32ae97f1
from GTK 3.24.
Fixes : #3609
2021-02-07 11:32:39 -05:00
Emmanuele Bassi
5fb3dafa7d
a11y: Make GtkATContext realization lazier
...
We only realize the ATContext on the top level, which will create an
GtkAtSpiRoot object and the corresponding GtkAtSpiCache object. Whenever
an AT connects to the accessibility bus, and asks for the various
objects, all the ATContext will be realized on demand.
2021-02-07 11:32:26 -05:00
Emmanuele Bassi
3ac71e48f1
a11y: Avoid signal emission during cache population
...
If we're responding to a request to get all the cached items, there's no
need to emit signals when adding an ATContext to the cache.
2021-02-07 11:32:18 -05:00
Emmanuele Bassi
201580b443
Abort if the shared memory pool cannot be created
...
If we cannot allocate memory, we cannot create any windowing system
surface. There's no coming back from that.
Fixes : #3607
2021-02-07 11:31:54 -05:00
Matej Urbančič
ae2dfc2222
Update Slovenian translation
2021-02-06 19:41:30 +00:00
Marek Černocký
7072b25c15
Updated Czech translation
2021-02-06 09:45:13 +01:00
Matthias Clasen
93fab2b3d1
Merge branch 'uac.meson.4' into 'gtk-4.0'
...
gtk4-update-icon-cache: Avoid UAC on 32-bit Windows
See merge request GNOME/gtk!3146
2021-02-03 15:30:14 +00:00
Chun-wei Fan
5f6bde8c95
gtk4-update-icon-cache: Avoid UAC on 32-bit Windows
...
As the program executable name has 'update' in its filename,
gtk4-update-icon-cache.exe is considered to be an installer program on 32-bit
Windows [1], which will cause the program to fail to run unless it is running
with elevated privileges (i.e. UAC).
Avoid this situation by embedding a manifest file into the final executable
that tells Windows that this is not a program that requires elevation.
Fixes issue #3632 .
[1]: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc709628(v=ws.10)?redirectedfrom=MSDN ,
under section "Installer Detection Technology"
2021-02-03 11:08:23 +08:00
Hugo Carvalho
bc838f6430
Update Portuguese translation
2021-02-01 16:21:40 +00:00
Daniel Mustieles
b7a78c8d20
Update Spanish translation
2021-02-01 10:13:00 +00:00
Rafael Fontenelle
056c3e11a1
Update Brazilian Portuguese translation
2021-01-30 19:15:43 +00:00
Rafael Fontenelle
f224c8fab9
Update Brazilian Portuguese translation
2021-01-30 16:00:24 +00:00
Anders Jonsson
5a5bb9099e
Update Swedish translation
2021-01-28 20:39:06 +00:00
Marek Černocký
5ca0725d08
Updated Czech translation
2021-01-26 16:22:10 +01:00
Fran Dieguez
2454cc2a5f
Update Galician translation
2021-01-25 18:53:02 +00:00
Fran Dieguez
cb397c6c3a
Update Galician translation
2021-01-25 18:50:42 +00:00
A S Alam
64519d73bb
Update Punjabi translation
2021-01-24 22:52:13 +00:00
A S Alam
518331812e
Update Punjabi translation
2021-01-24 22:42:04 +00:00
Efstathios Iosifidis
281c17c400
Update Greek translation
2021-01-24 10:17:02 +00:00
Kalev Lember
67dabe94ca
dist: Fix css theme disting after HighContrast-dark changes
...
Commit f60d245e32
renamed it from
HighContrast-inverse.css to HighContrast-dark.css.
2021-01-19 07:22:41 -05:00
Kalev Lember
171bd8c7a4
Split NEWS for pre-4.0 changes
...
Similar to commit 87e9f0895b
that did the
same for older releases, this commit splits out pre-4.0 changes to
separate NEWS.pre-4.0 file.
2021-01-19 07:22:33 -05:00
Matthias Clasen
146b4c93ba
4.0.2
2021-01-18 22:23:57 -05:00
Matthias Clasen
94f90f457a
Merge branch 'fix-cell-renderer-toggle' into 'master'
...
cellrenderertoggle: Fix css node handling
Closes #3599
See merge request GNOME/gtk!3092
2021-01-19 02:09:10 +00:00
Matthias Clasen
6b7d56ac49
cellrenderertoggle: Fix css node handling
...
Commit cbbbf44dd4
tried to replace
gtk_style_context_save_named with an explicit
css node to save to, but it failed, and the failure
was showing up as crashes in the inspector.
Fix by Benjamin Otte.
Fixes : #3599
2021-01-18 20:52:59 -05:00
Emmanuele Bassi
1635d7be8c
Merge branch 'cherry-pick-gtk_file_chooser_set_current_name-fix-type' into 'master'
...
gtk_file_chooser_set_current_name: fix type of name argument
See merge request GNOME/gtk!3091
2021-01-18 23:19:00 +00:00
Thomas Holder
992cd088cf
gtk_file_chooser_set_current_name: fix type of name argument
...
The description says UTF-8 string, but the annotation said filename.
Cherry-picked from gtk-3-24 1573ff6803
2021-01-18 22:14:03 +01:00
Matthias Clasen
f6010b2a59
Merge branch 'doap-update' into 'master'
...
Update the gtk.doap file
See merge request GNOME/gtk!3088
2021-01-18 14:40:02 +00:00
Matthias Clasen
9222a5fd6d
Update the gtk.doap file
...
Add relevant people as maintainers.
2021-01-18 09:14:50 -05:00
Florentina Mușat
6f7fb6ba5a
Update Romanian translation
2021-01-18 13:06:18 +00:00
Chun-wei Fan
a57a144f8e
Merge branch 'win32-remove-layered-windows' into 'master'
...
GDK/Win32: Remove layered windows usage
See merge request GNOME/gtk!2782
2021-01-18 10:42:37 +00:00
Chun-wei Fan
7b47e3225b
GDK/Win32: Remove layered windows usage
...
In GTK4, we are now defaulting to the OpenGL renderer with the Cairo renderer
only used as a fallback, so there is no point keeping the code paths that use
layered windows as layered windows do not work well with OpenGL nor Vulkan.
2021-01-18 12:48:16 +08:00
Matthias Clasen
6aa893e091
Merge branch 'matthiasc/for-master' into 'master'
...
Matthiasc/for master
Closes #3437
See merge request GNOME/gtk!3087
2021-01-17 17:51:15 +00:00
Matthias Clasen
5aa03bcb0d
aboutdialog: Fix initial focus
...
When GtkAboutDialog was changed to derive from
GtkWindow, it lost the initial focus handling that
GtkDialog has. Reinstate some of it.
Fixes : #3437
2021-01-17 11:53:53 -05:00
Matthias Clasen
d7060025e0
inspector: Avoid a critical
...
Avoid a critical when closing the inspector with the
recorder page open.
2021-01-17 10:55:53 -05:00
Matthias Clasen
00883016af
Merge branch 'wip/baedert/for-master' into 'master'
...
Wip/baedert/for master
Closes #3593
See merge request GNOME/gtk!3086
2021-01-17 14:20:13 +00:00