summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release an extra reference on GtkExpander:childexpander-ref-leakEmmanuele Bassi2021-08-241-6/+19
| | | | | | | | | | | | | | | The child of a GtkExpander is owned directly by the expander whenever the "expanded" flag is unset. We are adding an additional reference to the child of an expander when expander is not expanded. Additionally, if a GtkExpander is disposed while not expanded, we need to explicitly release the reference on the child widget that we own. This reference leak was masked in GTK3 by GtkContainer removing each child from the parent container by recursively calling gtk_widget_destroy().
* Merge branch 'fix-docs' into 'master'Matthias Clasen2021-08-231-2/+2
|\ | | | | | | | | | | | | Fix documentation for gtk_icon_view_create_drag_icon Closes #4190 See merge request GNOME/gtk!3875
| * docs: Fix documentation for gtk_icon_view_create_drag_iconQiu Wenbo2021-08-241-2/+2
|/ | | | Fixes: #4190
* Merge branch 'wip/kalev/pre-compiled-css-detection' into 'master'Matthias Clasen2021-08-231-1/+1
|\ | | | | | | | | build: Fix detection for pre-compiled css files See merge request GNOME/gtk!3874
| * build: Fix detection for pre-compiled css filesKalev Lember2021-08-231-1/+1
|/ | | | | | | The default theme changed from Adwaita to Default and this tripped up the logic to detect if the tarball builds contain pre-built css files or not. Fix this by looking at pre-compiled css files in themes/Default/ instead of themes/Adwaita/.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-221-1/+13
|\ | | | | | | | | NEWS: Updates See merge request GNOME/gtk!3872
| * NEWS: UpdatesMatthias Clasen2021-08-221-1/+13
|/
* Merge branch 'css-text-transform' into 'master'Matthias Clasen2021-08-2217-1/+178
|\ | | | | | | | | css: Implement text-transform See merge request GNOME/gtk!3862
| * Add an example for text transformsMatthias Clasen2021-08-221-0/+2
| | | | | | | | Show some transformed text in the markup demo.
| * Implement text transforms for GtkTextViewMatthias Clasen2021-08-227-1/+58
| | | | | | | | | | Add a property to GtkTextTag and do all the legwork to translate it to the Pango attribute.
| * css: Implement text-transformMatthias Clasen2021-08-229-0/+118
|/ | | | | | Implement the text-transform property from https://www.w3.org/TR/css-text-3/#text-transform-property using a new Pango attribute.
* Merge branch 'bump-pango' into 'master'Matthias Clasen2021-08-228-21/+3
|\ | | | | | | | | Bump the pango dependency See merge request GNOME/gtk!3871
| * Drop PANGO_VERSION_CHECK checksbump-pangoMatthias Clasen2021-08-226-18/+0
| | | | | | | | We require Pango 1.49 now.
| * Bump Pango depMatthias Clasen2021-08-222-3/+3
| | | | | | | | | | Require Pango 1.49, so we can support new attributes without too much ifdeffery.
* | Merge branch 'css-line-height2' into 'master'Matthias Clasen2021-08-2233-5/+425
|\ \ | |/ | | | | | | Implement CSS line-height See merge request GNOME/gtk!3833
| * gtk-demo: Add a line height democss-line-height2Matthias Clasen2021-08-221-0/+3
| | | | | | | | Add an example for widely spaced text to the markup demo.
| * gtk-demo: Improve markup demoMatthias Clasen2021-08-222-2/+2
| | | | | | | | | | | | | | | | | | The font sizes demo had the space between the font-size spans, causing us to have a run with just a default sized space between the words, which in turn leads to wobbly cursor sizes. Avoid that by including the space in the preceding span. Also, make it bigger.
| * gtk-demo: Set line height from markupMatthias Clasen2021-08-221-0/+3
| | | | | | | | Keep the import-markup code in sync with GtkTextBuffer.
| * textview: Set line height from markupMatthias Clasen2021-08-221-0/+3
| | | | | | | | | | Note that we ignore the absolute-line-height attribute for now.
| * textview: Set line height from cssMatthias Clasen2021-08-223-1/+18
| | | | | | | | | | | | Set the line height in the default attributes from the CSS style. This makes line height work in GtkTextView.
| * textview: Add line height plumbingMatthias Clasen2021-08-225-2/+55
| | | | | | | | | | | | This adds a line-height property to GtkTexttag and a line_height field to GtkTextAttributes, and translates it to a pango attribute.
| * css: Document line-height as supportedMatthias Clasen2021-08-221-0/+1
| |
| * css: Add parser tests for line-heightMatthias Clasen2021-08-2212-0/+77
| |
| * css: Translate line-height to a PangoMatthias Clasen2021-08-221-0/+15
| | | | | | | | | | | | Pango 1.50 introduces a line-height attribute. Use it. This is enough to make line-height work for labels and entries.
| * css: Add line-height propertyMatthias Clasen2021-08-2210-1/+249
| | | | | | | | | | | | This adds the plumbing to parse the line-height property from CSS. Widgets are not picking it up yet.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-222-2/+2
|\ \ | |/ | | | | | | windowhandle: Quiet a compiler warning See merge request GNOME/gtk!3868
| * Fix up test output for new versionMatthias Clasen2021-08-221-1/+1
| | | | | | | | | | Annoying that this test has to be touched every time we bump the version.
| * windowhandle: Quiet a compiler warningMatthias Clasen2021-08-221-1/+1
| | | | | | | | gesture was left uninitialized in the default case.
* | Merge branch 'clipboard-set-docs' into 'master'Benjamin Otte2021-08-221-1/+7
|\ \ | |/ |/| | | | | docs: Expand gdk_clipboard_set() docs See merge request GNOME/gtk!3865
| * docs: Expand gdk_clipboard_set() docsBenjamin Otte2021-08-221-1/+7
| |
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-222-1/+7
|\ \ | | | | | | | | | | | | Bump version to 4.5 See merge request GNOME/gtk!3867
| * | Bump version to 4.5Matthias Clasen2021-08-221-1/+1
| | | | | | | | | | | | 4.4 has been branched off.
| * | NEWS: UpdatesMatthias Clasen2021-08-221-0/+6
|/ /
* | Merge branch 'drop-gl' into 'master'Matthias Clasen2021-08-2256-10751/+8
|\ \ | |/ |/| | | | | gsk: Drop the gl renderer See merge request GNOME/gtk!3863
| * tests: Remove an outdated commentdrop-glMatthias Clasen2021-08-221-2/+0
| | | | | | | | It refers to a file that no longer exists.
| * media: Don't include gsk/gl/gskglrenderer.hMatthias Clasen2021-08-221-1/+0
| |
| * testutils: Don't include gsk/gl/gskglrenderer.hMatthias Clasen2021-08-221-1/+0
| |
| * gsk: Drop the gl rendererMatthias Clasen2021-08-2053-10747/+8
| | | | | | | | | | | | ngl supports all the same platforms as gl now, and has seen more improvements in the last cycle.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-224-0/+15
|\ \ | |/ |/| | | | | Handle new pango attribute type See merge request GNOME/gtk!3866
| * Handle new pango attribute typeMatthias Clasen2021-08-224-0/+15
|/ | | | | | | Update all the places where we switch over PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM, and do nothing for now - text-transform support will land in 4.6.
* 4.4.04.4.0Matthias Clasen2021-08-202-2/+2
|
* Fix imcontext testsMatthias Clasen2021-08-201-0/+2
| | | | | We should force our internal im context for these tests, so we don't depend on the environment.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-201-0/+2
|\ | | | | | | | | NEWS: Updates See merge request GNOME/gtk!3861
| * NEWS: UpdatesMatthias Clasen2021-08-201-0/+2
|/
* Merge branch 'cut-shortcut-activation-short' into 'master'Matthias Clasen2021-08-201-1/+8
|\ | | | | | | | | | | | | shortcutcontroller: Only do round-robin for mnemonics Closes #4130 See merge request GNOME/gtk!3824
| * shortcutcontroller: Only do round-robin for mnemonicscut-shortcut-activation-shortMatthias Clasen2021-08-201-1/+8
| | | | | | | | | | | | | | Don't do round-robin activation unless we are looking for mnemonics, where this is an expected feature. Fixes: #4130
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-201-1/+1
|\ \ | | | | | | | | | | | | | | | | | | gdk: Add a missing annotation Closes #4097 See merge request GNOME/gtk!3860
| * | gdk: Add a missing annotationMatthias Clasen2021-08-201-1/+1
| | | | | | | | | | | | | | | | | | Mark an array as zero-terminated. Fixes: #4097
* | | Merge branch 'master' into 'master'Emmanuele Bassi2021-08-201-4/+3
|\ \ \ | |/ / |/| | | | | | | | a11y: Send correct object reference for the root accessible See merge request GNOME/gtk!3800
| * | a11y: Remove unneeded checkMike Gorse2021-07-301-3/+0
| | |