summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Modernize error underlinesdotted-lines3Matthias Clasen2021-04-031-45/+17
| | | | | Implement PANGO_UNDERLINE_ERROR as a dotted line, instead of squiggly, which looks quite dated.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-04-0322-36/+3556
|\ | | | | | | | | node test: Improve --generate See merge request GNOME/gtk!3397
| * settings: Make font-size changes apply immediatelyMatthias Clasen2021-04-021-0/+1
| | | | | | | | | | | | | | We need to invalidate the style when font-size changes, because we propagate this value through the initial value of the CSS font-size property, and it will not be recomputed otherwise.
| * immulticontext: Unset client widget on delegate changeMatthias Clasen2021-04-021-0/+3
| | | | | | | | | | | | | | | | | | | | Forgetting to do so was causing the Wayland im context to leave behind a dead event controller. This was showing up as a crash when closing the inspector after changing the im-module property of a GtkText widget. The crash was delayed until closing the inspector because the inspector keeps a ref on the event controllers of the currently shown widget.
| * imwayland: Name event controllersMatthias Clasen2021-04-021-0/+1
| | | | | | | | This helps with debugging.
| * widget-factory: Name an event controllerMatthias Clasen2021-04-021-0/+1
| | | | | | | | This helps with debugging.
| * text: Name all event controllersMatthias Clasen2021-04-021-0/+2
| | | | | | | | This helps with debugging.
| * inspector: Support copying nodes to clipboardMatthias Clasen2021-04-022-1/+40
| | | | | | | | | | Add a button that copies the serialization of the selected node to the clipboard.
| * node-editor: Support pasting the imageMatthias Clasen2021-04-022-2/+23
| | | | | | | | Add a button that copies the image to the clipboard.
| * nodeparser: Change the serializationMatthias Clasen2021-04-0212-31/+3479
| | | | | | | | | | | | | | | | | | | | Arrange things so that non-child parameters are always printed before the children. This greatly helps with readability, which really suffers when there's hundreds of lines of indented children between the node start and its parameters. Update all affected tests.
| * node test: Improve --generateMatthias Clasen2021-04-021-2/+6
|/ | | | | | | | This is a pet peeve of mine: When we call g_test_init() before handling --generate, the random seed spew pollutes the output. Highly annoying. I've fixes many test binaries over the years, but more keep popping up.
* Merge branch 'fix-downscaled-textures' into 'master'Matthias Clasen2021-04-031-12/+12
|\ | | | | | | | | ngl: Fix downscaled textures See merge request GNOME/gtk!3395
| * ngl: Avoid huge intermediate texturesMatthias Clasen2021-04-021-11/+4
| | | | | | | | | | | | | | | | | | | | Instead of rendering the unclipped child to a texture (and risking blowing the texture size limit, and bad downscaling), just render the clipped region, and live with the fact that we can't cache the rendered texture. This avoid bad artifacts when scrolling long textviews in rounded clips.
| * ngl: Plug a memory leakfix-downscaled-texturesMatthias Clasen2021-04-021-1/+7
| | | | | | | | This was introduced in f9457af128012fd3935a69fdcefb.
| * ngl: Fix downscaled texturesMatthias Clasen2021-04-021-2/+3
| | | | | | | | It is not pretty, but at least it works now.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-04-031-2/+1
|\ \ | | | | | | | | | | | | | | | | | | comboboxtext: Remove misleading docs Closes #3824 See merge request GNOME/gtk!3396
| * | comboboxtext: Remove misleading docsMatthias Clasen2021-04-021-2/+1
| |/ | | | | | | | | | | | | The entry is no longer accessible. The docs were outdated. Fixes: #3824
* | Merge branch 'fix-initial-font-selection' into 'master'Matthias Clasen2021-04-021-3/+16
|\ \ | |/ |/| | | | | | | | | fontchooser: Fix initial font selection Closes #3687 See merge request GNOME/gtk!3392
| * fontchooser: Fix initial font selectionfix-initial-font-selectionMatthias Clasen2021-04-021-3/+16
| | | | | | | | | | | | | | | | The change in 740559a54f to populate the list incrementally broke initial font selection. Fix that, by trying to select until the incremental filling is done. Fixes: #3687
* | Merge branch 'flat-button-activating' into 'master'Matthias Clasen2021-04-021-0/+1
|\ \ | | | | | | | | | | | | button: Style .keyboard-activating on frameless buttons See merge request GNOME/gtk!3394
| * | button: Style .keyboard-activating on frameless buttonsChris Mayo2021-04-021-0/+1
|/ / | | | | | | | | | | | | The use of the keyboard-activating CSS class for buttons was added in [1], but the style did not apply to buttons with has-frame=FALSE. [1] 00923615f4 ("button: Add back visual feedback for keynav", 2021-04-01)
* | Update Dutch translationNathan Follens2021-04-021-2270/+2907
|/ | | | (cherry picked from commit a356bf6fac604e37cfd4ac6e9c2486a3453ac181)
* Merge branch 'theme-reorg' into 'master'Matthias Clasen2021-04-02231-307/+189
|\ | | | | | | | | Reorganize our themes See merge request GNOME/gtk!3079
| * Make theme fallback working with the new namesMatthias Clasen2021-04-011-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Since we are likely going to see theme names like Adwaita and HighContrast, make fallback work as follows: Adwaita -> Default Adwaita:dark -> Default:dark HighContrast -> Default:hc HighContrast:dark -> Default:hc-dark HighContrastInverse -> Default:hc-dark Other themes will fall back to Default, as before.
| * Drop Adwaita and HighContrast themestheme-reorgMatthias Clasen2021-04-011-6/+0
| | | | | | | | These themes will reappear in libadwaita in due course.
| * widget-factory: Use the new themesMatthias Clasen2021-04-012-30/+17
| | | | | | | | | | Update the Style menu to switch between the variants of the Default theme.
| * Change the default theme to "Default"Matthias Clasen2021-04-011-1/+1
| | | | | | | | We are not shipping Adwaita anymore.
| * Make the theme variants available as themesMatthias Clasen2021-04-011-0/+5
| | | | | | | | | | This makes it easier to implement the theme switching in widget-factory, since we don't have a variant setting.
| * Reorganize our themesMatthias Clasen2021-04-01227-270/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the included theme to Default, with 4 variants: light, dark, hc, hc-dark. This replaces Adwaita, Adwaita:dark, HighContrast and HighContrastInverse. We still make the themes available under these names, and we still set up Adwaita-dark and HighContrastInverse as the dark variants of Adwaita and HighContrast. The unification of the theme variants under Default is not quite perfect; it would be nice to merge the assets/ and assets-hc/ subdirectories and render all assets from a single svg file.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-04-025-15/+90
|\ \ | | | | | | | | | | | | testsuite: Sort gsk compare tests See merge request GNOME/gtk!3389
| * | testsuite: Sort gsk compare testsMatthias Clasen2021-04-011-16/+15
| | | | | | | | | | | | Easier to find things that way.
| * | Add some more gsk testsMatthias Clasen2021-04-015-0/+76
| | | | | | | | | | | | | | | The css-background test contains a node pattern that is optimized in the ngl renderer.
| * | Add one more compose testMatthias Clasen2021-04-011-0/+9
| | |
* | | Merge branch 'button-activate-feedback' into 'master'Matthias Clasen2021-04-012-0/+7
|\ \ \ | |/ / | | | | | | | | | | | | | | | button: Add back visual feedback for keynav Closes #3813 See merge request GNOME/gtk!3390
| * | button: Add back visual feedback for keynavbutton-activate-feedbackMatthias Clasen2021-04-012-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | We lost the visual feedback for activating a button via Space or Enter when the :active pseudo-state became managed. Bring it back with a style class. Fixes: #3813
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-04-011-0/+9
|\ \ \ | |/ / |/| | | | | | | | Add one more compose test See merge request GNOME/gtk!3388
| * | Add one more compose testMatthias Clasen2021-04-011-0/+9
|/ /
* | Merge branch 'us-intl-compose' into 'master'Matthias Clasen2021-04-014-48/+66
|\ \ | | | | | | | | | | | | | | | | | | Revert Compose sequence changes Closes #3807 See merge request GNOME/gtk!3386
| * | Add more compose testsus-intl-composeMatthias Clasen2021-04-011-0/+23
| | | | | | | | | | | | | | | Test the sequences whose demise made people unhappy.
| * | Revert Compose sequence changesMatthias Clasen2021-04-013-48/+43
| |/ | | | | | | | | | | | | | | | | | | | | This was breaking muscle memory of people with the us intl keyboard layout, for important keys such as '. The unfortunate side-effect is that our handling of <dead_acute> is a bit hampered by sequences that don't fit the pattern. But such is life. Fixes: #3807
* | Merge branch 'builder-tag' into 'master'Emmanuele Bassi2021-04-011-5/+5
|\ \ | |/ |/| | | | | docs: Escape tags in GtkBuilder description See merge request GNOME/gtk!3385
| * docs: Escape tags in GtkBuilder descriptionChris Mayo2021-04-011-5/+5
|/ | | | | Fixes the tags and the rest of the gi-docgen created HTML page not being visible in a browser.
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-04-011-19/+25
|\ | | | | | | | | | | | | snapshot: scale border widths when appending border nodes Closes #3819 See merge request GNOME/gtk!3384
| * snapshot: Move sanity checks to a better placeBenjamin Otte2021-04-011-18/+17
| | | | | | | | | | | | | | Fixes cases where the sanity checks would reject valid code, like when using GL shaders on a scaled transform. Fixes #3819
| * snapshot: scale border widths when appending border nodesBenjamin Otte2021-04-011-1/+8
| | | | | | | | | | Found by Matthias on IRC while arguing about GtkSnapshot being too complicated.
* | Merge branch 'filechooser-signal-disconnect' into 'master'Matthias Clasen2021-04-011-5/+5
|\ \ | | | | | | | | | | | | filechooserwidget: Disconnect settings signal on dispose See merge request GNOME/gtk!3383
| * | filechooserwidget: Reduce code duplication for disconnecting settings signalRafał Dzięgiel2021-04-011-6/+5
| | | | | | | | | | | | | | | Instead of getting current display before calling settings signal removal, do it inside remove function and only if there is a signal connection to remove.
| * | filechooserwidget: Disconnect settings signal on disposeRafał Dzięgiel2021-04-011-0/+1
| | | | | | | | | | | | | | | Settings signal was not being disconnected on dispose causing application crash when user changed icon theme after dialog disposal.
* | | Merge branch 'wip/exalm/overshoot-changes' into 'master'Carlos Garnacho2021-04-013-0/+79
|\ \ \ | |/ / |/| | | | | | | | | | | | | | scrolledwindow: Cancel overshoot on dimension changes Closes #3752 See merge request GNOME/gtk!3300
| * | scrolledwindow: Cancel overshoot on dimension changesAlexander Mikhaylenko2021-04-013-0/+79
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | If we scroll down in a list that's still being filled, we hit the edge and initiate overshoot, and then the adjustment's upper value increases. This leads to an unwanted bounce back. Additionally, if in a similar situation the upper value decreases, the overscroll glow gets stuck. Update kinetic scrolling upper and lower value on changes, and immediately cancel it if dimensions on that side change. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3752