summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* textview: improve undo grouping when overwritingwip/chergert/undo-fixesChristian Hergert2021-09-231-5/+20
| | | | | | | We want to group in more than one undo group when removing a selection and replacing it with a new character or characters, unless we're replacing a single character. In that case, the natural thing is to treat it as an atomic change.
* texthistory: add barriers after final groupingChristian Hergert2021-09-232-0/+24
| | | | | | | | We don't want to allow new items to be grouped into a previous action group after the end_user_action() is called. This ensures that we add a barrier action in those conditions. Fixes #4276
* Merge branch 'master' into 'master'Matthias Clasen2021-09-221-1/+1
|\ | | | | | | | | | | | | gtktextview: Fixed arrow key crash. Closes #4275 See merge request GNOME/gtk!3984
| * gtktextview: Fixed arrow key crash.Jordan Yelloz2021-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | When pressing the keyboard arrows to move around when the insertion point is hidden, it causes an assertion error in blink_cb. Insertion point blinks should only be scheduled when blinking is enabled and the insertion point is visible. Closes #4275
* | Merge branch 'widgetfactory-async-load' into 'master'Matthias Clasen2021-09-228-30/+91
|\ \ | | | | | | | | | | | | Revert "Use GtkLoader for image loading" See merge request GNOME/gtk!3986
| * | Add GtkLoader to gtk4-widget-factoryMatthias Clasen2021-09-225-4/+268
| | | | | | | | | | | | | | | | | | Add an async-loading paintable implementation to gtk4-widget-factory, and use it to load the jpegs in the background.
| * | texture: Document constructors as threadsafeMatthias Clasen2021-09-211-0/+20
| | | | | | | | | | | | | | | | | | | | | We aren't providing async loading apis here, but we want to allow applications to create textures in a thread, to avoid blocking the main thread.
| * | Revert "Add delayed loading for textures"Matthias Clasen2021-09-214-229/+7
| | | | | | | | | | | | This reverts commit 4a89cfe2c938512c4580d3697cc08a64e41f5f36.
| * | Revert "Use GtkLoader for image loading"Matthias Clasen2021-09-211-2/+1
|/ / | | | | | | This reverts commit da115ad07504d2f10dec93c37d98e1d6fd4b095d.
* | Merge branch 'composetable/accept-long-replacements' into 'master'Matthias Clasen2021-09-216-9/+23
|\ \ | |/ |/| | | | | | | | | gtkcomposetable: Accept long replacement strings Closes #4273 See merge request GNOME/gtk!3983
| * gtkcomposetable: Accept long replacement stringsMartin Kühl2021-09-216-9/+23
|/ | | | | | | This change removes the assertions limiting replacement strings in the compose table to be less than 20 characters. The limit seems arbitrary, is not required, will break some users' setups, and problems with it result in applications not launching. Fixes #4273
* Merge branch 'wip/otte/titlebar' into 'master'Benjamin Otte2021-09-218-21/+378
|\ | | | | | | | | window: Add a titlebar property See merge request GNOME/gtk!3982
| * reftests: Add tests that check default-size is computed correctlyBenjamin Otte2021-09-217-0/+336
| | | | | | | | Related: #4136
| * window: Add a titlebar propertyBenjamin Otte2021-09-211-2/+25
| | | | | | | | It just turns get/set_titlebar into a property.
| * window: Make priv->titlebar the titlebarBenjamin Otte2021-09-211-11/+7
| | | | | | | | | | | | | | It was priv->title_box before - unless priv->titlebar wasn't NULL, then it was NULL. Confusing? Yeah, that's why I changed it.
| * window: Improve set_titlebar() functionBenjamin Otte2021-09-211-9/+11
|/ | | | Get rid of a goto and check if the titlebar is already set.
* Merge branch 'mention_a11y_concern' into 'master'Matthias Clasen2021-09-201-0/+6
|\ | | | | | | | | Mention that after setting a button child the user is responsible for a11y relations See merge request GNOME/gtk!3981
| * Mention that after setting a button child the user is responsible for a11y ↵Lukáš Tyrychtr2021-09-201-0/+6
|/ | | | relations
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-09-202-2/+3
|\ | | | | | | | | cssprovider: Be clearer about warnings vs errors See merge request GNOME/gtk!3980
| * wayland: Add format hex value to debug printBenjamin Otte2021-09-201-1/+1
| | | | | | | | It's how it's listed in the spec, this makes it easier to search.
| * cssprovider: Be clearer about warnings vs errorsBenjamin Otte2021-09-201-1/+2
| | | | | | | | | | The CSS parser tried to warn about unexpected syntax that the spec doesn't define as an error.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-09-204-121/+116
|\ \ | | | | | | | | | | | | builder: Drop unused part of private api See merge request GNOME/gtk!3979
| * | window: Drop some dead codeMatthias Clasen2021-09-201-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gtk_window_set_buildable_property implementation was only used to set the unused builder_visible flag. Remove both the flag and the vfunc. This means we no longer have any set_buildable_property implementations and could eventually drop that vfunc and the support for it in GtkBuilder.
| * | builder: CosmeticsMatthias Clasen2021-09-191-3/+3
| | |
| * | builder: Small optimizationMatthias Clasen2021-09-191-71/+103
| | | | | | | | | | | | | | | | | | | | | | | | Use g_object_setv where we can. It would be much nicer if we could pass the pspecs we already have, and avoid having GObject look them up again.
| * | builder: Avoid a pointless callMatthias Clasen2021-09-191-1/+1
| | | | | | | | | | | | pspec->name is guaranteed to be interned already.
| * | builder: Drop unused part of private apiMatthias Clasen2021-09-193-23/+9
|/ / | | | | | | | | | | The aliases arguments was used to support 'primary', but we no longer have that, and all callers pass NULL for aliases. So, just drop it.
* | Update Turkish translationEmin Tufan Çetin2021-09-191-16/+51
| |
* | Update Turkish translationEmin Tufan Çetin2021-09-191-1745/+1885
| |
* | Merge branch 'resource-cleanup' into 'master'Matthias Clasen2021-09-1911-1160/+97
|\ \ | | | | | | | | | | | | Clean up gesture icons See merge request GNOME/gtk!3978
| * | resources: Treat svgs as xmlMatthias Clasen2021-09-191-4/+4
| | | | | | | | | | | | They can have their whitespace removed just the same.
| * | Clean up gesture iconsMatthias Clasen2021-09-1910-1156/+93
|/ / | | | | | | | | These had duplicate drawing in them, and were saved with all the extra Inkscape data.
* | Merge branch 'delayed-loading' into 'master'Matthias Clasen2021-09-189-37/+288
|\ \ | | | | | | | | | | | | gtk-demo: Cosmetics See merge request GNOME/gtk!3975
| * | Use GtkLoader for image loadingdelayed-loadingMatthias Clasen2021-09-181-1/+2
| | | | | | | | | | | | | | | This avoids blocking on image loading while we have better things to do.
| * | Add delayed loading for texturesMatthias Clasen2021-09-184-7/+229
| | | | | | | | | | | | | | | | | | | | | Add a private GdkPaintable implementation that loads a texture in a thread, and does not show anything until the texture is loaded. This avoid blocking on image loading in the main thread.
| * | loaders: Add profiler marksMatthias Clasen2021-09-183-1/+24
| | | | | | | | | | | | | | | These are potentially expensive calls, we should make sure they show up in profiles.
| * | builder: CosmeticsMatthias Clasen2021-09-181-28/+33
| | |
| * | gtk-demo: CosmeticsMatthias Clasen2021-09-181-1/+1
| | | | | | | | | | | | | | | Tweak the color of the outlines in the font rendering demo.
* | | Update Catalan translationJordi Mas2021-09-181-3/+3
| | |
* | | Merge branch 'wip/baedert/for-master' into 'master'Matthias Clasen2021-09-189-8/+21
|\ \ \ | |/ / |/| | | | | | | | | | | | | | label: Remove redundant store Closes #4196 See merge request GNOME/gtk!3891
| * | widget factory: Scale down jpeg imagesTimm Bäder2021-09-183-0/+0
| | |
| * | cssimageurl: Explicitly check for local_error != NULLwip/baedert/for-masterTimm Bäder2021-09-181-2/+2
| | | | | | | | | | | | | | | This should always be the case since gdk_texture_new_from_file should always set the error when it returns NULL, but make it explicit anyway.
| * | constraintsolver: Remove a dead assignmentTimm Bäder2021-09-181-3/+1
| | |
| * | gdktiff: Use guint32 instead of int32Timm Bäder2021-09-181-1/+1
| | | | | | | | | | | | The latter seems to be deprecated.
| * | window: Fix mnemonics-visible getter+setter annotationsTimm Bäder2021-09-181-2/+2
| | |
| * | stackswitcher: Expand child buttonsTimm Bäder2021-09-181-0/+2
| | | | | | | | | | | | Fixes #4196
| * | inspector: Cache if we have ever constructed a windowTimm Bäder2021-09-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Silly optimization to get rid of gtk_main_do_event gtk_inspector_handle_event gtk_inspector_window_get_for_display g_object_get_data showing up in profiles even though it's useless since we've never even created any inspector window in the first place.
* | | Update POTFILES.inPiotr Drąg2021-09-182-0/+8
| | |
* | | Merge branch 'transform-work' into 'master'Matthias Clasen2021-09-183-36/+464
|\ \ \ | |/ / |/| | | | | | | | transform: Add sections See merge request GNOME/gtk!3974
| * | Add gsk_transform_to_2d_componentsMatthias Clasen2021-09-183-13/+194
| | | | | | | | | | | | | | | | | | | | | This function decomposes a general 2D transform into skew, scale, rotation and translation. Tests included.