summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'input-tweaks' into 'master'4149-imcontext-handle-16bit-keysymsMatthias Clasen2021-08-028-306/+272
|\ | | | | | | | | | | | | imcontext: Tweak Compose sequence preedit Closes #10, #4127, and #4124 See merge request GNOME/gtk!3799
| * imcontext: Code cleanupMatthias Clasen2021-07-291-35/+15
| |
| * composetable: Allow multiple dead keysMatthias Clasen2021-07-296-212/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | Remove the limitation on the number of dead keys that we match, and allow the result be be multiple characters. Regenerate the builtin sequences, since this changes what dead key sequences we can reproduce algorithmically. Update tests to match. Fixes: #10
| * composetable: Change an APIMatthias Clasen2021-07-294-39/+47
| | | | | | | | | | | | | | | | Make gtk_check_algorithmically take a GString for the result. This is in preparation for allowing multi-character results here, in the future. Update all callers.
| * imcontext: Handle Escape in Compose sequenceMatthias Clasen2021-07-291-6/+12
| | | | | | | | | | Treat Escape the same in hex sequences and in Compose sequence: reset the state.
| * imcontext: Tweak Compose sequence handlingMatthias Clasen2021-07-291-1/+27
| | | | | | | | | | | | | | | | When we don't have any matches for a Compose sequence anymore, beep, and keep the preedit as it was for the last match. Fixes: #4127
| * composetable: Add a prefix apiMatthias Clasen2021-07-292-0/+46
| | | | | | | | | | Add a function that computes the longest prefix of a buffer for which a compose table has matches.
| * composetable: Reduce the scope of a variableMatthias Clasen2021-07-291-13/+13
| | | | | | | | | | 'prefix' is not a good name for a file-scope variable, move it into the sole function using it.
| * imcontext: Tweak Compose sequence preeditMatthias Clasen2021-07-291-2/+4
| | | | | | | | | | | | | | | | When sequences contain multiple Compose keys, don't hide the first one. This is a very fringe case, but it matches the behavior of IBus. Fixes: #4124
* | Merge branch 'fix-double-underscore-mnemonic' into 'master'Matthias Clasen2021-08-023-35/+80
|\ \ | | | | | | | | | | | | | | | | | | label: Ignore __ for mnemonics Closes #4129 See merge request GNOME/gtk!3814
| * | Avoid pango deprecationsMatthias Clasen2021-08-011-34/+43
| | | | | | | | | | | | | | | | | | This function has been deprecated on the main branch of pango. Since we don't want to bump our pango dependency to 1.49 yet, ignore the deprecation.
| * | Add more label parsing testsMatthias Clasen2021-08-011-0/+36
| | | | | | | | | | | | | | | Test various combinations of underline and markup parsing.
| * | label: Ignore __ for mnemonicsMatthias Clasen2021-08-011-1/+1
|/ / | | | | | | | | | | | | We were not ignoring double underscores for mnemonics in one place, as we should. Fixes: #4129
* | Merge branch 'titlebar-gesture' into 'master'Matthias Clasen2021-08-027-13/+160
|\ \ | | | | | | | | | | | | Delegate titlebar action to the compositor if possible See merge request GNOME/gtk!3797
| * | gtk/windowhandle: Delegate titlebar action to the compositor if possibleFlorian Müllner2021-07-291-10/+42
| | | | | | | | | | | | | | | | | | | | | | | | Delegating the action to the compositor not only improves consistency with server-side decorations, but also allows for actions that aren't available client-side (like lower-in-middle-click). https://gitlab.gnome.org/GNOME/mutter/-/issues/602
| * | gdk/toplevel: Add gdk_toplevel_titlebar_gesture()Florian Müllner2021-07-296-3/+118
| | | | | | | | | | | | | | | | | | | | | Where supported, this allows delegating the titlebar action to the compositor instead of trying to replicate its behavior client-side. https://gitlab.gnome.org/GNOME/mutter/-/issues/602
* | | Update Polish translationPiotr Drąg2021-08-012-1158/+1183
| | |
* | | Merge branch 'color-glyph-fixes' into 'master'Matthias Clasen2021-07-313-28/+89
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gsk: Make color glyphs Closes #4141 See merge request GNOME/gtk!3812
| * | | gsk: Use harfbuzz for color fontsMatthias Clasen2021-07-311-105/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | harfbuzz has all the information we need, so we can avoid poking directly at freetype apis. Also drop the caching of color glyph information until it turns out to be a problem.
| * | | Bump the harfbuzz depMatthias Clasen2021-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | We need 2.1.0, which has the hb_ot_color apis that we are going to use in the next commit.
| * | | gsk: Cache per-glyph color informationMatthias Clasen2021-07-311-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | We don't really want to load the bitmaps every time we create a render node, so do it once and cache the information on the PangoFont.
| * | | ngl: Use per-glyph color informationMatthias Clasen2021-07-311-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | Decide per-glyph whether we need color nor not. Fixes: #4141
| * | | gsk: Mark color glyphsMatthias Clasen2021-07-311-2/+64
| | | | | | | | | | | | | | | | | | | | Steal a bit from PangoGlyphVisAttr to mark glyphs that have color.
* | | | Merge branch 'fix-iconhelper' into 'master'Matthias Clasen2021-07-311-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iconhelper: Fix the paintable implementation Closes #4140 See merge request GNOME/gtk!3809
| * | | | iconhelper: Fix the paintable implementationMatthias Clasen2021-07-311-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | get_current_image was recursing due to an obvious typo. Fixes: #4140
* | | | Merge branch 'update-docs' into 'master'Emmanuele Bassi2021-07-3111-34/+75
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | docs: Update the URL for related documentation See merge request GNOME/gtk!3813
| * | | | docs: Update the URLs of related projects for GTKEmmanuele Bassi2021-07-313-10/+19
| | | | | | | | | | | | | | | | | | | | And install the gi-docgen project file as well.
| * | | | docs: Update the URLs of related projects for GSKEmmanuele Bassi2021-07-313-10/+19
| | | | | | | | | | | | | | | | | | | | And install the gi-docgen project file.
| * | | | docs: Update the URL for related documentationEmmanuele Bassi2021-07-315-14/+37
|/ / / / | | | | | | | | | | | | And install the gi-docgen project files for GDK.
* | | | Merge branch 'docs-trigger' into 'master'Emmanuele Bassi2021-07-311-8/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ci: Trigger a pages build See merge request GNOME/gtk!3811
| * | | | ci: Trigger a pages buildEmmanuele Bassi2021-07-311-8/+6
|/ / / / | | | | | | | | | | | | | | | | Do not publish the API reference directly, but trigger a CI pipeline for the docs-gtk-org branch, which will then do the publishing.
* | | | Merge branch 'iter-is-valid-docs' into 'master'Emmanuele Bassi2021-07-312-10/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | docs: Fix iter_is_valid() description See merge request GNOME/gtk!3810
| * | | | docs: Fix iter_is_valid() descriptionEmmanuele Bassi2021-07-312-10/+10
| | |/ / | |/| | | | | | | | | | | | | | Drop the "WARNING" and the block quote, and follow the existing documentation style guidelines.
* | | | Merge branch 'glyph-cache-mystery' into 'master'Matthias Clasen2021-07-311-13/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | ngl: Bypass pango for glyph cache rendering See merge request GNOME/gtk!3807
| * | | ngl: Bypass pango for glyph cache renderingMatthias Clasen2021-07-301-13/+5
|/ / / | | | | | | | | | | | | We can just use cairo directly here, and cut out some layers of pango in the middle.
* | | Merge branch 'check-activate' into 'master'Matthias Clasen2021-07-301-7/+8
|\ \ \ | | | | | | | | | | | | | | | | checkbutton: Some fixes when used with GActions See merge request GNOME/gtk!3805
| * | | checkbutton: Activate when moving focusFlorian Müllner2021-07-301-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we update the :active property on both the previous and new focus button. That "visually activate" the button and will emit ::toggled, but if the button is associated with an action, the action state won't change. Fix that by activating the new focus instead of explicitly fiddling with the :active property.
| * | | checkbutton: Delegate ::activate to the helper if appropriateFlorian Müllner2021-07-301-1/+4
| | | | | | | | | | | | | | | | | | | | If the button is associated with an action, the action is currently only activated when the button is clicked, not when it is activated.
* | | | Merge branch 'fix/wm_class' into 'master'Matthias Clasen2021-07-301-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | x11: set a default value for program_class Closes #4138 See merge request GNOME/gtk!3806
| * | | | x11: set a default value for program_classVincent Bernat2021-07-301-0/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was also the behaviour with GTK 3. We use the capitalized program name. Fixes #4138 Signed-off-by: Vincent Bernat <vincent@bernat.ch>
* | | | Merge branch 'wip/otte/for-master' into 'master'Matthias Clasen2021-07-301-72/+71
|\ \ \ \ | |/ / / |/| | | | | | | | | | | widget-factory: Expand the video to cover the whole frame See merge request GNOME/gtk!3804
| * | | widget-factory: Propagate natural size for text stylesBenjamin Otte2021-07-301-0/+2
| | | | | | | | | | | | | | | | This avoids them requiring scrolling.
| * | | widget-factory: Make frames coolerBenjamin Otte2021-07-301-66/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of havoing a label for the video frame that clashes with the background of the video, add a frame around the text styles box and add a label for them. As a side benefit, it also makes it more obvious that it is scrollable. Note: Most of this patch is just reindenting.
| * | | widget-factory: Expand the video to cover the whole frameBenjamin Otte2021-07-301-6/+0
|/ / / | | | | | | | | | | | | | | | | | | 1. This looks way cooler. 2. Since the frame is rounded, it adds a very visible test for our clipping of rounded rectangles.
* | | Merge branch 'wip/chergert/fix-4134' into 'master'Matthias Clasen2021-07-301-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | textview: fix yoffset position when top_margin is set Closes #4134 See merge request GNOME/gtk!3801
| * | textview: fix yoffset position when top_margin is setChristian Hergert2021-07-291-1/+1
|/ / | | | | | | | | | | | | This doesn't need to be included in the calculation or it will cause the yoffset to continually shift while the window is resized. Fixes #4134
* | Merge branch 'source-static-name' into 'master'Matthias Clasen2021-07-2953-84/+134
|\ \ | |/ |/| | | | | Avoid copying static debug strings See merge request GNOME/gtk!3789
| * ci: Collect tools test outputMatthias Clasen2021-07-281-0/+1
| | | | | | | | This should help understanding why some of them fail.
| * testsuite: Set TEST_RESULT_DIR for tools testsMatthias Clasen2021-07-284-3/+10
| |
| * Avoid copying static debug stringsMatthias Clasen2021-07-2848-81/+123
| | | | | | | | | | | | The g_source_set_name calls were showing up as a major source of strdups in our profiles. Avoid that by using new GLib api when available.