summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* testsuite/testutils.c: Fix build on Visual Studiomsvc.nounistdChun-wei Fan2021-01-291-0/+6
| | | | | | | Visual Studio does not come with unistd.h, but Windows do have write() and close() in io.h, so include io.h instead of unistd.h on Windows. For MinGW, unistd.h in turn includes io.h.
* Merge branch 'pango-glyph-positions' into 'master'Matthias Clasen2021-01-293-9/+13
|\ | | | | | | | | Tell pango not to round glyph positions See merge request GNOME/gtk!2058
| * gsk: Fix render node serializationpango-glyph-positionsMatthias Clasen2021-01-281-5/+7
| | | | | | | | | | When looking for ascii glyphs, we must match the pango shape flags that GTK is using.
| * widget: Use subpixel positioningMatthias Clasen2021-01-281-1/+3
| | | | | | | | | | | | | | Before turning off pangos rounding of glyph positions, we must check if the cairo we are using is new enough to have working subpixel positioning (the relevant cairo commit is 52a7c79fd4ff96bb5fac175f0199819b0f8c18fc).
| * gsk: Fix a thinkoMatthias Clasen2021-01-281-3/+3
| | | | | | | | | | With subpixel positioning, we need to offset the cached glyphs by their phase.
* | Update Swedish translationAnders Jonsson2021-01-281-130/+146
|/ | | | (cherry picked from commit 5a5bb9099e8e8781a307ce3f9f72e52937d3d411)
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-2878-197/+46
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!3127
| * label: Drop some unused includesMatthias Clasen2021-01-281-4/+0
| |
| * Remove vestigial glade supportMatthias Clasen2021-01-284-107/+0
| | | | | | | | | | These files have not been kept up to date, and glade doesn't work with GTK4 currently.
| * Move the gesture icons in the right placeMatthias Clasen2021-01-2817-6/+1
| | | | | | | | Put these images into gtk/icons, where they belong.
| * Drop unused logo resourceMatthias Clasen2021-01-283-2/+1
| | | | | | | | The inspector no longer sets a window icon.
| * Reduce use of GtkStyleContextMatthias Clasen2021-01-2835-62/+26
| | | | | | | | | | | | Remove some unnecessary uses of GtkStyleContext where we can directly go to the GtkCssStyle, and and drop unnnecessary includes.
| * Unify border-spacing handlingMatthias Clasen2021-01-283-7/+8
| | | | | | | | | | Avoid using GtkStyleContext unnecessarily, just go to the css node directly.
| * build: Redo the tools buildMatthias Clasen2021-01-2818-9/+10
| | | | | | | | | | | | Move the tools directory to be toplevel, and instead of recompiling sources twice, link them with the our new static libgtk.a.
* | Merge branch 'wip/fl/gl-renderer-fixes' into 'master'Matthias Clasen2021-01-281-1/+1
|\ \ | |/ |/| | | | | gskglshaderbuilder: bind correct uv location See merge request GNOME/gtk!3128
| * gskglshaderbuilder: bind correct uv locationFabio Lagalla2021-01-281-1/+1
|/
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-283-1/+24
|\ | | | | | | | | builder-tool: Translate GtkImage:pixbuf See merge request GNOME/gtk!3126
| * builder-tool: Translate GtkImage:pixbufMatthias Clasen2021-01-273-1/+24
| | | | | | | | | | | | The pixbuf property doesn't exist anymore. It is commonly set to a path in ui files, so translate it to the file property.
* | Merge branch 'wip/fl/gl-gradients' into 'master'Matthias Clasen2021-01-2810-179/+256
|\ \ | | | | | | | | | | | | OpenGL gradient rendering improvements and additions See merge request GNOME/gtk!3105
| * | gskglrenderer: Remove switch fallthrough commentsFabio Lagalla2021-01-271-2/+0
| | |
| * | gskrendernode: Cache angle in conic gradientsFabio Lagalla2021-01-276-14/+36
| | |
| * | gskglrenderer: Use gboolean instead of boolFabio Lagalla2021-01-273-6/+6
| | |
| * | gskglrenderer: First class support of repeating-radial-gradientFabio Lagalla2021-01-275-1/+16
| | |
| * | gskglrenderer: First class support of repeating-linear-gradientFabio Lagalla2021-01-275-1/+15
| | |
| * | gskglrenderer: Optimize conic-gradient shaderFabio Lagalla2021-01-273-51/+64
| | |
| * | gskglrenderer: Optimize radial-gradient shaderFabio Lagalla2021-01-273-68/+54
| | |
| * | gskglrenderer: Optimize linear-gradient shaderFabio Lagalla2021-01-274-54/+83
| | |
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-271-0/+5
|\ \ \ | | |/ | |/| | | | | | | docs: Add gtk_widget_grab_default to migration guide See merge request GNOME/gtk!3125
| * | docs: Add gtk_widget_grab_default to migration guideMatthias Clasen2021-01-271-0/+5
|/ / | | | | | | Point out the replacement for this api.
* | Merge branch 'sophie-h-master-patch-47269' into 'master'Timm Bäder2021-01-271-1/+1
|\ \ | |/ |/| | | | | widget: get_name() is not nullable See merge request GNOME/gtk!3124
| * widget: get_name() is not nullableSophie Herold2021-01-271-1/+1
|/ | | Partial revert of !2905
* Merge branch 'fix-can-focus' into 'master'Matthias Clasen2021-01-271-2/+16
|\ | | | | | | | | | | | | widget: Fix can-focus Closes #3610 See merge request GNOME/gtk!3123
| * widget: Fix can-focusMatthias Clasen2021-01-261-2/+16
| | | | | | | | | | | | | | | | | | | | Setting can-focus to FALSE on a widget is supposed to prevent focus from entering the entire subtree. So when we grab focus directly to a widget, we need to check the can-focus flag not just of the widget itself, but all its ancestors. Fixes: #3610
* | Merge branch 'search-entry-capture' into 'master'Matthias Clasen2021-01-272-8/+24
|\ \ | | | | | | | | | | | | | | | | | | Search entry capture Closes #3098 See merge request GNOME/gtk!3115
| * | searchentry: Capture events in the bubble phasesearch-entry-captureMatthias Clasen2021-01-261-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is an unfortunate naming clash, but it avoids an event handling clash between the capture widget and its children. Fixes: #3098
| * | searchbar: Capture events in the bubble phaseMatthias Clasen2021-01-251-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | This is an unfortunate naming clash, but it avoids an event handling clash between the capture widget and its children. Fixes: #3098
| * | searchbar: Fix documentation mishapMatthias Clasen2021-01-251-4/+4
| | | | | | | | | | | | | | | The css section was inserted between the example and the sentence referring to it.
* | | Merge branch 'css-crossfade-color' into 'master'Matthias Clasen2021-01-274-13/+40
|\ \ \ | |_|/ |/| | | | | | | | Css crossfade color See merge request GNOME/gtk!3122
| * | css: Support colors in cross fadesMatthias Clasen2021-01-262-4/+18
| | | | | | | | | | | | | | | | | | | | | The CSS Image Spec (Level 4) allows colors in cross-fade expressions to specify solid-color images. Support this.
| * | css: Add a constructor for GtkCssImageFallbackMatthias Clasen2021-01-262-6/+19
| | | | | | | | | | | | Add a way to create a solid color image.
| * | docs: CosmeticsMatthias Clasen2021-01-261-3/+3
|/ / | | | | | | Tweak the css docs slightly.
* | Merge branch 'gst-vaapi-fix-pre' into 'master'Matthias Clasen2021-01-271-33/+32
|\ \ | | | | | | | | | | | | Minor fixes to gtkgstsink See merge request GNOME/gtk!3120
| * | gtkgstsink: Use video_frame_free also for the GL pathJan Alexander Steffens (heftig)2021-01-261-19/+18
| | | | | | | | | | | | | | | | | | The video frame needs to stay mapped while the texture is in use. Avoid using g_memdup because the structure is not supposed to be moved.
| * | gtkgstsink: Report allocation size even if no pool requestedJan Alexander Steffens (heftig)2021-01-261-14/+14
| | | | | | | | | | | | We can do that so we should.
* | | Merge branch 'css-text-decoration' into 'master'Matthias Clasen2021-01-2711-86/+236
|\ \ \ | |/ / |/| | | | | | | | | | | | | | css: Fix text-decoration-line support Closes #3621 See merge request GNOME/gtk!3121
| * | css: Fix text-decoration-line supportMatthias Clasen2021-01-2611-86/+236
|/ / | | | | | | | | | | | | | | | | | | | | | | This property needs to be treated as flags, not as enum, since it should be possible to specify more than one value, e.g. text-decoration-line: underline overline; Tests included. Fixes: #3621
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-261-1/+1
|\ \ | | | | | | | | | | | | docs: Update border-size docs See merge request GNOME/gtk!3119
| * | docs: Update border-size docsMatthias Clasen2021-01-261-1/+1
| | | | | | | | | | | | GtkCenterLayout respected border-size as well.
* | | Updated Czech translationMarek Černocký2021-01-261-133/+154
| | |
* | | Updated Czech translationMarek Černocký2021-01-261-451/+987
|/ /