summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a failing testcasedisappearing-underlinesMatthias Clasen2021-08-193-0/+14
| | | | This renders ok only with cairo.
* UpdatesMatthias Clasen2021-08-191-0/+61
|
* Merge branch 'better-word-selection' into 'master'Matthias Clasen2021-08-191-2/+0
|\ | | | | | | | | | | | | textview: Improve word selection Closes #4177 See merge request GNOME/gtk!3855
| * textview: Improve word selectionMatthias Clasen2021-08-191-2/+0
|/ | | | | | | Avoid selecting a whole extra paragraph when a select-by-words selection is extended beyond the end of the previous paragraph. Fixes: #4177
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-191-1/+1
|\ | | | | | | | | Cosmetics See merge request GNOME/gtk!3854
| * CosmeticsMatthias Clasen2021-08-181-1/+1
| |
* | Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-08-192-15/+45
|\ \ | | | | | | | | | | | | demo: Add a dnd special-case for textures See merge request GNOME/gtk!3853
| * | gtk-demo: Make clipboard demo paste from clipboardBenjamin Otte2021-08-191-11/+33
| | | | | | | | | | | | | | | | | | The old code was just pasting local clipboard data that we put there ourselves and was causing criticals on remote clipboard data. Now the code does the proper async paste.
| * | contentprovider: Switch wrong order in type checkBenjamin Otte2021-08-191-1/+1
| | | | | | | | | | | | | | | We can provide textures as a paintable - we can't provide paintables as textures.
| * | demo: Add a dnd special-case for texturesBenjamin Otte2021-08-191-2/+10
|/ / | | | | | | | | If the DND/clipboard machinery knows a texture is a texture, it will try to serialize it. Paintables can't be serialized, so it wouldn't try.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-181-4/+5
|\ \ | |/ | | | | | | | | | | infobar: Update buildable docs Closes #4164 See merge request GNOME/gtk!3852
| * infobar: Update buildable docsMatthias Clasen2021-08-181-4/+5
| | | | | | | | | | | | | | Document the current state of GtkBuilder support in GtkInfoBar, not what we had in GTK3. Fixes: #4164
* | Merge branch 'seat-v7' into 'master'Matthias Clasen2021-08-184-4/+23
|\ \ | |/ |/| | | | | gdk/wayland: add support for wl_seat version 7 See merge request GNOME/gtk!3842
| * gdk/wayland: add support for wl_seat version 7Simon Ser2021-08-113-3/+3
| | | | | | | | | | | | Version 7 requires wl_keyboard keymaps to be mapped with MAP_PRIVATE, so that the compositor can share the same keymap file between multiple clients.
| * gdk/wayland: add support for wl_seat version 6Simon Ser2021-08-112-2/+21
| | | | | | | | Version 6 adds two new wl_touch events, which can be ignored.
* | Merge branch 'fix/wm_class2' into 'master'Matthias Clasen2021-08-182-4/+4
|\ \ | | | | | | | | | | | | x11: ensure WM class is not null even if display is initialized early See merge request GNOME/gtk!3808
| * | x11: ensure WM class is not null even if display is initialized earlyVincent Bernat2021-08-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With gtkmm, when using `Application()`, the display is initialized before we know the application name and therefore, the program class associated to the display is NULL. Instead of providing a default value, we set it equal to program name when NULL. Moreover, we give up on capitalizing the class name to keep the code super simple. Also, not using a capitalized name is consistent with `gdk_x11_display_open()`. If someone has a good reason to use a capitalized name, here is how to do it. ```c class_hint = XAllocClassHint (); class_hint->res_name = (char *) g_get_prgname (); if (display_x11->program_class) { class_hint->res_class = (char *) g_strdup (display_x11->program_class); } else if (class_hint->res_name && class_hint->res_name[0]) { class_hint->res_class = (char *) g_strdup (class_hint->res_name); class_hint->res_class[0] = g_ascii_toupper (class_hint->res_class[0]); } XSetClassHint (xdisplay, impl->xid, class_hint); g_free (class_hint->res_class); XFree (class_hint); ``` Fix eff53c023a26 ("x11: set a default value for program_class")
* | | Merge branch 'win32-drop-local-dnd' into 'master'Benjamin Otte2021-08-188-606/+78
|\ \ \ | | | | | | | | | | | | | | | | gdk/win32: Drop local DnD protocol See merge request GNOME/gtk!3830
| * | | gdk/win32: Drop local DnD protocolChun-wei Fan2021-08-068-606/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is basically not used by default and is pretty much broken at this point, so it's about time to drop it. Let's focus on fixing the OLE2 DnD protocol.
* | | | Merge branch 'win32-check-shader-support' into 'master'Matthias Clasen2021-08-182-1/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDK-Win32: Reject GL context if shaders aren't supported (fix issue #4165) Closes #4165 See merge request GNOME/gtk!3850
| * | | | GDK-Win32: Reject WGL context if shaders aren't supportedChun-wei Fan2021-08-172-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we initialize OpenGL, check whether we have OpenGL 2.0 or later; if not, check whether we have the 'GL_ARB_shader_objects' extension, since we must be able to support shaders if using OpenGL for GTK. If we don't support shaders, as some Windows graphics drivers do not support OpenGL adequately, notably older Intel drivers, reject and destroy the GL context that we created, and so fallback to the Cairo GSK renderer, so that things continue to run, albeit with an expected warning message that the GL context cannot be realized. Also, when we could not make the created dummy WGL context current during initialization, make sure that we destroy the dummy WGL context as well. Fixes issue #4165.
* | | | | Merge branch 'master' into 'master'Matthias Clasen2021-08-181-6/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gtkbuilderparser: Fix duplicate object id detection See merge request GNOME/gtk!3848
| * | | | | gtkbuilderparser: Fix duplicate object id detectionYe Moran2021-08-181-6/+10
| |/ / / /
* | | | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-187-83/+269
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add a custom input test See merge request GNOME/gtk!3851
| * | | | | imcontext: Improve docsMatthias Clasen2021-08-175-83/+115
| | | | | | | | | | | | | | | | | | | | | | | | Add some more docs around GtkIMContext.
| * | | | | Add a custom input testMatthias Clasen2021-08-172-0/+154
|/ / / / / | | | | | | | | | | | | | | | | | | | | This shows the minimal work required to hook up an im context to a custom widget.
* | | | | Merge branch 'wip/exalm/query-action-transfer' into 'master'Emmanuele Bassi2021-08-171-4/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | widget: Fix gtk_widget_class_query_action() annotations See merge request GNOME/gtk!3843
| * | | | widget: Fix gtk_widget_class_query_action() annotationsAlexander Mikhaylenko2021-08-111-4/+4
| | |_|/ | |/| | | | | | | | | | Add transfer none on all out values as they aren't being copied.
* | | | Merge branch 'wip/otte/for-master' into 'master'4165-gtk4-4-3-2-does-not-fallback-to-cairo-renderer-when-gl-is-not-availableBenjamin Otte2021-08-121-39/+39
|\ \ \ \ | |/ / / |/| | | | | | | | | | | gdk: Include Vulkan error code in vulkan_strerror() See merge request GNOME/gtk!3844
| * | | gdk: Include Vulkan error code in vulkan_strerror()Benjamin Otte2021-08-121-39/+39
|/ / /
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-106-1/+31
|\ \ \ | | | | | | | | | | | | | | | | Handle the new line height pango attribute See merge request GNOME/gtk!3840
| * | | ci: Add libjpeg-turbo-devel to the Fedora imageMatthias Clasen2021-08-102-1/+3
| | | | | | | | | | | | | | | | | | | | This was getting downloaded from sourceforge every time for the docs build, and that started failing.
| * | | Handle the new line height pango attributeMatthias Clasen2021-08-104-0/+28
|/ / / | | | | | | | | | | | | Update all the places where we switch over PangoAttributeType to handle (and ignore, for now) the new line height attribute.
* | | Merge branch 'callback-annotation-again' into 'master'Matthias Clasen2021-08-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | widget: Change callback scope See merge request GNOME/gtk!3796
| * | | widget: Change callback scopeFlorian Müllner2021-07-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Look who changed his mind since commit 8e2ffb3b46 :-) The "call" scope means that the callback is only used during the function call itself (here: gtk_widget_class_install_action()). That's clearly wrong here, as the callback is invoked every time the action is activated. Arguably the "notified" scope is a better match here, where the lack of a GDestroyNotify parameter suggests that the callback may be used forever (which is the case here). Related: #3498
* | | | Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-08-081-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ngl: Make current when unrealizing See merge request GNOME/gtk!3835
| * | | | ngl: Make current when unrealizingBenjamin Otte2021-08-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The profiler (at least) discards GL objects and we want to discard them on the right context.
* | | | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-071-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Cosmetics: Tweak css parser error messages See merge request GNOME/gtk!3834
| * | | | | Cosmetics: Tweak css parser error messagesMatthias Clasen2021-08-071-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | These show up in tooltips, so they should a) be capitalized and b) not end with a period.
* | | | | Belarusian translation: Remove broken translation stringAndre Klapper2021-08-071-1/+1
| | | | |
* | | | | Khmer translation: Strip some invisible bytes from setting translationsAndre Klapper2021-08-071-2/+2
| | | | |
* | | | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-071-24/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gtk-demo: Spruce up the hypertext demo See merge request GNOME/gtk!3832
| * | | | | gtk-demo: Spruce up the hypertext demoMatthias Clasen2021-08-071-24/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the newish allow-breaks pango attribute to make the text break better.
* | | | | | Update Hebrew translationYaron Shahrabani2021-08-071-2096/+1723
|/ / / / / | | | | | | | | | | | | | | | (cherry picked from commit 11e6ce175166364f7c807764a8de8619b65da82a)
* | | | | Update Persian translationDanial Behzadi2021-08-071-458/+498
| | | | |
* | | | | Update Persian translationDanial Behzadi2021-08-071-995/+1032
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit b467881274d4917fcc29ace6c699786ffa74e909)
* | | | | Merge branch 'wip/chergert/revert-top-margin' into 'master'Matthias Clasen2021-08-061-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | Revert "textview: fix yoffset position when top_margin is set" See merge request GNOME/gtk!3828
| * | | | Revert "textview: fix yoffset position when top_margin is set"Christian Hergert2021-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 908b1e5e1214afc01440bc07a8d937222f411f38. This commit broke top-margin altogether.
* | | | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | settings: Default gtk-split-cursor to FALSE See merge request GNOME/gtk!3827
| * | | | | settings: Default gtk-split-cursor to FALSEMatthias Clasen2021-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to Owen, this was the intention when the setting was added in 2001. It only took us 20 years to fix the default value.