Benjamin Otte
6536e3dc54
macos: Fix return value
2021-11-03 22:53:59 +01:00
Benjamin Otte
164d0a5201
gdk: #if => #ifdef
...
Makes compilers happy
2021-11-03 22:53:59 +01:00
Benjamin Otte
95574f98c4
gl: Use GL_BACK_LEFT
...
The spec doesn't allow GL_BACK, but many drivers do. Use the
spec-accepted equivalent instead.
Fixed #4402
2021-11-03 22:53:59 +01:00
Benjamin Otte
bca77b5505
egl: Set the draw buffer to GL_BACK_LEFT
...
Instead of using GL_BACK, use GL_BACK_LEFT, because the spec demands
this (many drivers don't).
Also move the call from the GDK backends into the GLContext code, as
this is a generic EGL issue (nvidia being the main driver in need of
this call, see 9c4c4eaaa1
for a longer
discussion).
Fixes #4402
2021-11-03 22:53:59 +01:00
Jakub Steiner
96f63a6bf3
styling: Have unfocused selections
...
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/4393
2021-11-03 13:08:01 +01:00
Matthias Clasen
37cbd0662e
Merge branch 'small-check' into 'master'
...
icon: revert object-symbolic check to be smaller
See merge request GNOME/gtk!4110
2021-11-01 19:38:55 +00:00
Tobias Bernard
9b23602806
icon: revert object-symbolic check to be smaller
...
The larger check works well in the headerbar, but not inline in various UI elements. This reverts the larger check since the latter is more common. For selection mode, a separate larger icon (selection-mode-symbolic) has been added to adwaita-icon-theme.
2021-11-01 18:54:22 +01:00
Matthias Clasen
68f2e1bc06
Merge branch 'ci-require-macos' into 'master'
...
Revert "ci: Allow macos to fail"
See merge request GNOME/gtk!4109
2021-11-01 15:22:53 +00:00
Matthias Clasen
bc80eb616d
Revert "ci: Allow macos to fail"
...
This reverts commit b7cab5c5eb
.
We welcome the macos runner back.
2021-11-01 10:33:09 -04:00
Emmanuele Bassi
d005049084
Merge branch 'build-fix' into 'master'
...
build: Collect gi-docgen's common arguments
See merge request GNOME/gtk!4108
2021-11-01 13:27:13 +00:00
Emmanuele Bassi
142571d0b8
build: Collect gi-docgen's common arguments
...
And only enable `--fatal-warnings` if `-Dwerror` has been set, just like
we do for the introspection data generation.
2021-11-01 13:00:51 +00:00
Emmanuele Bassi
5cc6b3e342
docs: Add missing annotation
2021-11-01 12:54:35 +00:00
Emmanuele Bassi
49032b4b63
docs: Fix link to g_signal_emit()
2021-11-01 12:54:07 +00:00
Timm Bäder
1903c6d009
Merge branch 'fix_typo' into 'master'
...
fix typo in GtkDragSource doc
See merge request GNOME/gtk!4107
2021-11-01 06:42:54 +00:00
Alexandros Theodotou
266fceddf0
fix typo in GtkDragSource doc
...
GtkDrag => GdkDrag
2021-11-01 03:48:52 +00:00
Rūdolfs Mazurs
973aa8583a
Update Latvian translation
...
(cherry picked from commit d67982d5e0
)
2021-10-31 14:59:55 +00:00
Timm Bäder
ca06aeeb2d
Merge branch 'bilelmoussaoui/gi-docgen' into 'master'
...
gtk: fix broken gi-docgen annotation in IconView
See merge request GNOME/gtk!4106
2021-10-30 10:06:35 +00:00
Bilal Elmoussaoui
d1e246c68d
gtk: fix broken gi-docgen annotation in IconView
2021-10-30 09:37:12 +00:00
Matthias Clasen
bdea3ed979
4.5.0
2021-10-29 16:03:20 -04:00
Matthias Clasen
dd7cbb6bb5
Merge branch 'bilelmoussaoui/docs-typo' into 'master'
...
gtk: remove unneeded backtick from gi-docgen item
See merge request GNOME/gtk!4105
2021-10-29 19:53:34 +00:00
Bilal Elmoussaoui
13defc7ceb
gtk: remove unneeded backtick from gi-docgen item
2021-10-29 18:32:06 +00:00
Matthias Clasen
61d9874ebc
NEWS: Updates
2021-10-29 13:32:31 -04:00
Jordi Mas i Hernandez
207437a6ee
Update Catalan translation
...
(cherry picked from commit ca02700a63
)
2021-10-29 11:46:26 +00:00
Matthias Clasen
f7c39ae089
Merge branch 'ebassi/editor-config' into 'master'
...
Add editorconfig file
See merge request GNOME/gtk!4102
2021-10-28 18:28:47 +00:00
Emmanuele Bassi
f1fbd363f8
Add editorconfig file
...
Editors that support configuration through the editorconfig spec:
https://editorconfig.org
should be able to have a subset of the GTK coding style and options
immediately available to them.
Plus, it's better than using relics from the Dark Ages, like modelines.
2021-10-28 18:17:02 +01:00
Carlos Garnacho
206d7635f7
Merge branch 'x11-xi2.4-gestures' into 'master'
...
Touchpad gestures for X11 (XInput 2.4, X Server 21.1)
See merge request GNOME/gtk!3610
2021-10-28 16:44:52 +00:00
Benjamin Otte
1fa350267f
Merge branch 'wip/otte/for-master' into 'master'
...
cssparser: Remove unused argument
Closes #4381
See merge request GNOME/gtk!4101
2021-10-28 13:16:25 +00:00
Benjamin Otte
9962ef9ac4
broadway: fix texture upload
...
This was carelessly broken by me in 5b473911
.
While fixing it anyway, at some support for better error handling.
Fixes #4381
2021-10-28 14:48:20 +02:00
Benjamin Otte
c97a758aa7
cssparser: Remove unused argument
...
The base_directory argument is never used. So don't have it.
2021-10-28 03:19:08 +02:00
Matthias Clasen
68eb601194
Merge branch 'gtkeventcontroller.c-fix' into 'master'
...
master: premature controller unreferencing in gtk_event_controller_handle_event
See merge request GNOME/gtk!4099
2021-10-27 23:50:13 +00:00
Matthias Clasen
cadeca27de
Merge branch 'rgba-for-master' into 'master'
...
docs: standard names are CSS names, not X11 names
See merge request GNOME/gtk!4100
2021-10-27 23:27:42 +00:00
Maxim Zakharov
af2d0f188c
gtk: Hold reference on controller until events are fully handled
...
Fixes premature controller unreferencing in
gtk_event_controller_handle_event() if the controller itself is being
removed while handling the event.
2021-10-28 10:23:32 +11:00
Benjamin Otte
c11a43418e
docs: standard names are CSS names, not X11 names
...
We updated Pango a while ago to use these more common names, but apparently forgot the docs.
2021-10-27 22:12:58 +00:00
Matthias Clasen
d7d4cef66d
Merge branch 'wip/chergert/use-fabs-in-macos' into 'master'
...
macos: fix scale on macOS 12 beta
See merge request GNOME/gtk!4065
2021-10-27 19:37:01 +00:00
Benjamin Otte
9b71bbac3a
Merge branch 'wip/otte/for-master' into 'master'
...
gdktypes: Remove GDK_EXTERN_VAR
Closes #4373
See merge request GNOME/gtk!4097
2021-10-26 23:43:46 +00:00
Benjamin Otte
ac8c4245b2
css: Don't throw warnings on broken URL in image css
...
If a URL can't be loaded, we might end up with a NULL file. Handle that
case properly by creating an invalid image instead and don't crash or
complain to stderr when files are NULL.
This was broken since 0886ade182
A new reftest has been included. We need a reftest instead of a
CSS parser test, because the error only becomes visible when
compute()ing the actual image.
Fixes #4373
2021-10-26 23:52:38 +02:00
Benjamin Otte
d726ecdb5d
gdk: Split enums from types
...
Add gdkenums.h for enums and keep gdktypes.h for types.
Makes both files easier to read.
2021-10-26 20:59:37 +02:00
Benjamin Otte
41919158cc
gdktypes: Remove GDK_EXTERN_VAR
...
It is unused.
2021-10-26 20:42:22 +02:00
Matthias Clasen
4ea84d3144
Merge branch 'bilelmoussaoui/missing-since-annotations' into 'master'
...
since annotations cleanup
See merge request GNOME/gtk!4086
2021-10-26 17:53:06 +00:00
Benjamin Otte
3744cb24e2
Merge branch 'alatiera/gdk_create_context_nullable' into 'master'
...
gdkdisplay: Remove (nullable)
See merge request GNOME/gtk!4096
2021-10-25 17:42:00 +00:00
Rūdolfs Mazurs
a6cbeba5f6
Update Latvian translation
...
(cherry picked from commit 4f5264d1b7
)
2021-10-25 17:00:11 +00:00
Jordan Petridis
4cda2aec57
gdkdisplay: Remove (nullable)
...
gdk_display_create_gl_context only returns NULL when there is
an error set or asserts/aborts. So nullalbe annotation isn't needed.
Similar to 53312cf696
2021-10-25 18:40:40 +03:00
Emmanuele Bassi
33470fd872
Merge branch 'enterprisey-master-patch-53741' into 'master'
...
readme: Fix "Building GTK" docs link
See merge request GNOME/gtk!4095
2021-10-25 08:22:44 +00:00
enterprisey
75bba2b055
readme: Fix "Building GTK" docs link
2021-10-25 07:59:03 +00:00
Matthias Clasen
c953e3cc0f
Merge branch 'wip/exalm/polish' into 'master'
...
A few inspector papercut fixes
See merge request GNOME/gtk!4092
2021-10-24 19:04:48 +00:00
Alexander Mikhaylenko
83319a3ea6
inspector: Expand the controllers column view
2021-10-24 22:27:50 +05:00
Alexander Mikhaylenko
516dc79605
inspector: Use .list for property list as well
2021-10-24 22:27:50 +05:00
Alexander Mikhaylenko
2aa2b7f61e
inspector: Clean up the .list style
...
Make it work with the property list as well, handle spinbuttons, adjust
paddings so that buttons don't touch each other, don't override horizontal
padding unnecessarily.
2021-10-24 22:27:24 +05:00
Alexander Mikhaylenko
0053160f28
inspector: Stop using .sidebar for the recorder page
...
Those aren't sidebars. Add separators manually instead of misusing the
style class.
2021-10-24 04:01:35 +05:00
Alexander Mikhaylenko
2ac8132499
inspector: Use consistent GtkTextView margins
2021-10-24 03:58:21 +05:00