Matthias Clasen
c92b21b5fd
Merge branch 'fix-has-actionable-function' into 'master'
...
texthistory: fix has_actionable function
See merge request GNOME/gtk!3612
2021-06-01 11:04:56 +00:00
liferooter
44f07f7708
texthistory: fix has_actionable function
2021-06-01 11:04:55 +00:00
Matthias Clasen
b85b4f2cd6
Merge branch 'box-orientation' into 'master'
...
box: Avoid redundant storage
See merge request GNOME/gtk!3611
2021-05-31 23:05:11 +00:00
Matthias Clasen
d1a7a55d7e
box: Avoid redundant storage
...
GtkBoxLayout stores the orientation; no need for
GtkBox to duplicate that.
2021-05-31 18:38:52 -04:00
Fabio Tomat
44bc9a24f8
Update Friulian translation
...
(cherry picked from commit a80804ccef
)
2021-05-27 16:13:50 +00:00
Matthias Clasen
c9785c4cd3
Merge branch 'placeholder-alignment' into 'master'
...
text: Propagate xalign to the placeholder
Closes #3979
See merge request GNOME/gtk!3604
2021-05-27 11:44:33 +00:00
Matthias Clasen
9f93883dc9
text: Propagate xalign to the placeholder
...
This is what we were doing in GTK 3, and there's
no reason not to continue.
Fixes : #3979
2021-05-27 06:57:23 -04:00
Matthias Clasen
4362f7e6e2
Merge branch 'bilelmoussaoui/for-gi-docgen-grid' into 'master'
...
docs: fix gtk grid formatting
See merge request GNOME/gtk!3603
2021-05-27 10:31:24 +00:00
Bilal Elmoussaoui
90a829f25a
docs: fix gtk grid formatting
2021-05-27 09:58:42 +00:00
Emmanuele Bassi
d0e29cc901
Merge branch 'bilelmoussaoui/for-gi-docgen' into 'master'
...
docs: fix broken links
See merge request GNOME/gtk!3601
2021-05-27 00:43:31 +00:00
Bilal Elmoussaoui
8ebdd256a5
docs: fix broken links
2021-05-27 00:18:23 +00:00
Matthias Clasen
4b5f8e6ceb
Merge branch 'test-text-buffer-undo' into 'master'
...
Add a test for text buffer history
See merge request GNOME/gtk!3596
2021-05-26 19:33:58 +00:00
Matthias Clasen
ffbfafb189
textbuffer: Add some docs for undo
...
Mention what is undoable and what isn't.
2021-05-26 14:36:16 -04:00
Matthias Clasen
994a38c7ad
textbuffer: Improve the docs
...
Add getter/setter annotations.
2021-05-26 14:36:16 -04:00
Matthias Clasen
0268c9d642
Add tests for text buffer history
...
Check that things can be undone.
2021-05-26 14:36:16 -04:00
Matthias Clasen
f729912913
Merge branch 'wip/chergert/fix-3977' into 'master'
...
textbuffer: ensure user actions are propagated to history
Closes #3977
See merge request GNOME/gtk!3600
2021-05-26 17:43:34 +00:00
Christian Hergert
6179886b14
textbuffer: ensure user actions are propagated to history
...
This was an oversight when porting the GtkTextHistory into GTK. We simply
need to bind the GtkTextBuffer action into the text history for grouping
to work correctly.
Fixes #3977
2021-05-26 10:11:33 -07:00
Matthias Clasen
24f0ae1d39
Merge branch 'move-text-history-tests' into 'master'
...
Move text history tests
See merge request GNOME/gtk!3597
2021-05-26 12:01:58 +00:00
Matthias Clasen
c0ca3c642a
Merge branch 'picture-nullable-setters' into 'master'
...
picture: Make setters actually take NULL
Closes #3974
See merge request GNOME/gtk!3598
2021-05-26 11:46:23 +00:00
Matthias Clasen
b2b044ce95
Move text history tests
...
We can test internal apis in our testsuite now,
so move the text history tests there, to have them
run in ci.
2021-05-26 07:34:28 -04:00
Matthias Clasen
8f4b0cd30d
picture: Make setters actually take NULL
...
gtk_picture_set_file was claiming to be nullable,
but choked on NULL.
Fixes : #3974
2021-05-26 07:30:57 -04:00
Matthias Clasen
cbe2aa716d
Merge branch 'bilelmoussaoui/for-gi-docgen-link' into 'master'
...
gtk: drop unwanted char on Switch::state-set docs link
See merge request GNOME/gtk!3594
2021-05-25 23:23:39 +00:00
Bilal Elmoussaoui
23ea33b656
gtk: drop unwanted char on Switch::state-set docs link
2021-05-25 20:29:46 +00:00
Matthias Clasen
ee80a22db4
Merge branch 'wip/exalm/checks' into 'master'
...
checkbutton: Sync the indicator state with the widget
See merge request GNOME/gtk!3568
2021-05-25 20:29:06 +00:00
Matthias Clasen
d32c343657
Merge branch 'fix.vs2013.link' into 'master'
...
gtk/meson.build: Fix linking on Visual Studio 2013
See merge request GNOME/gtk!3575
2021-05-25 20:27:54 +00:00
Emmanuele Bassi
90d8c94819
Merge branch 'ebassi/introspection-error' into 'master'
...
Turn introspection scanner warnings into errors
See merge request GNOME/gtk!3588
2021-05-25 18:51:54 +00:00
Emmanuele Bassi
e13da35d4d
Turn introspection scanner warnings into errors
...
We want to catch errors in our annotations or our API.
2021-05-25 19:16:37 +01:00
Emmanuele Bassi
f50450485c
docs: Add missing documentation on Windows
...
The gtk_print_run_page_setup_dialog() function, and its asynchronous
variant, are declared in the common gtkprintoperation.h header, but
implemented in different source files depending on the platform.
2021-05-25 19:16:37 +01:00
Matthias Clasen
264d08abc4
Merge branch 'ignore-nosymbol-press' into 'master'
...
imcontext: Ignore NoSymbol key events
Closes #3973
See merge request GNOME/gtk!3591
2021-05-25 17:44:45 +00:00
Matthias Clasen
8c441756df
imcontext: Ignore NoSymbol key events
...
These can happen with some XKB options.
Fixes : #3973
2021-05-25 13:20:12 -04:00
Emmanuele Bassi
cdf2a9ddce
Merge branch 'bilelmoussaoui/for-gi-docgen' into 'master'
...
gdk: fix wrong doc annotation
See merge request GNOME/gtk!3590
2021-05-25 16:23:15 +00:00
Bilal Elmoussaoui
a196a35d1d
gdk: fix wrong doc annotation
2021-05-25 16:07:51 +00:00
Yuri Chornoivan
aeda5b2f58
Update Ukrainian translation
2021-05-25 13:19:55 +00:00
Emmanuele Bassi
da1e43c1e6
Merge branch 'ebassi/docs-fixes' into 'master'
...
Enable fatal warnings for gi-docgen
See merge request GNOME/gtk!3587
2021-05-25 12:57:28 +00:00
Emmanuele Bassi
6d06b0f076
Enable fatal warnings when build the docs
...
We want to fail the CI pipeline when the documentation generator emits a
warning.
2021-05-25 13:32:32 +01:00
Emmanuele Bassi
7da2e86d4b
docs: Fix the PANGO_SCALE link
...
The fragment for constants is `const`.
2021-05-25 13:31:49 +01:00
Matthias Clasen
1f99723a9f
Merge branch 'fix-im-reset' into 'master'
...
imcontextsimple: Fix a possible problem
See merge request GNOME/gtk!3584
2021-05-25 12:09:38 +00:00
Matthias Clasen
c3c16bd2be
Merge branch 'matthiasc/for-master' into 'master'
...
doc: Syntax fixes
See merge request GNOME/gtk!3583
2021-05-25 11:57:48 +00:00
Matthias Clasen
4c2761302a
doc: Syntax fixes
...
No, we can't have links that say [constructor@...] or
[mehtod@...] or [methoc@...] or [methos@...] or [metohd@...].
And no, not [signals@...] either.
2021-05-25 07:33:55 -04:00
Emmanuele Bassi
3d19b1108a
Merge branch 'bilelmoussaoui/gi-docgen-link-fix' into 'master'
...
gtk: fix gi-docgen link type
See merge request GNOME/gtk!3582
2021-05-25 11:26:08 +00:00
Bilal Elmoussaoui
4728d7b70b
gtk: fix gi-docgen link type
...
constructors are supposed to use "ctor" as a link type, not new
2021-05-25 09:25:32 +00:00
Matthias Clasen
cbd34cd239
Merge branch 'quartz-elide-underscores' into 'master'
...
Bring back elide_underscores
See merge request GNOME/gtk!3581
2021-05-24 22:55:10 +00:00
Matthias Clasen
d0ca4a1255
imcontextsimple: Fix a possible problem
...
We were forgetting to handle the compose sequence
case in reset().
2021-05-24 18:53:14 -04:00
Matthias Clasen
16623d4e71
quartz: Elide underscores again
...
We don't want a literal _File to show up in the
global menubar on OS X, so use the revivied
_gtk_elide_underscores.
Related: #3967
2021-05-24 17:39:05 -04:00
Matthias Clasen
dab7ceaa24
Bring back elide_underscores
...
This used to live in gtktoolbar.c, which is gone.
We still need it, so put it in gtkprivate.c.
2021-05-24 17:37:05 -04:00
Emmanuele Bassi
b05f3f5614
Merge branch 'gallery-reflow-fix' into 'master'
...
docs: Convince the widget gallery to reflow
See merge request GNOME/gtk!3579
2021-05-24 15:44:26 +00:00
Matthias Clasen
808e5421a9
docs: Convince the widget gallery to reflow
2021-05-24 10:51:02 -04:00
Matthias Clasen
f1f225c6b3
Merge branch 'gst.gl.win32' into 'master'
...
media/gstreamer: Support using GL for video for Windows
See merge request GNOME/gtk!3506
2021-05-24 11:37:06 +00:00
Chun-wei Fan
16f307b305
media-gstreamer: Provide fallback mode for playback
...
Make the "gl-context" property of the GstGLSink readable as well so that
we can query whether the GstGLContext sharing really succeeded. If it
did, then we proceed to playback our video using the glimagesink as we
did before. If it didn't, throw out the GtkGstSink we were creating, and
re-create the GtkGstSink without the "gl-context" property, meaning that
we won't be using the glimagesink in this case.
2021-05-24 19:04:37 +08:00
Chun-wei Fan
ccdec5da77
gtkgstsink.c: Support EGL on Windows as well
...
Add support to look for and use the EGL context in Windows if it was activated
instead of desktop OpenGL.
GstGL may have been built with or without EGL/libANGLE support, so if it were,
check in GstGL whether we have gst_gl_display_new_with_type() to create a
GstGLDisplay that is of the GST_GL_WINDOW_WIN32 type when we are using
Desktop OpenGL (WGL), otherwise we show messages indicating that envvars
need to be set to initialize GstGL properly.
Due to a bug in GstGL, the GstGLContext can only be set up successfully
if one of the following is true:
* An OpenGL 3.x or later emulator, such as Mesa is used (for WGL)
* The latest GstGL master is being used, at the time of writing (for
WGL)
* GTK, libepoxy and GstGL are all built only with WGL support (for WGL)
* EGL is being used in GTK at runtime
Special thanks to Matthew Waters for the help during the process.
2021-05-24 19:04:14 +08:00