summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* label: Refactor snapshot()Timm Bäder2020-12-211-80/+73
| | | | | Use two early-out style if statements to reduce indentation in this entire function.
* textlayout: Remove dead offset_y codeTimm Bäder2020-12-211-12/+1
|
* rendernode: Different uniformity in border nodesTimm Bäder2020-12-211-0/+7
| | | | Means they are different and a diff is impossible.
* rendernode: Sort diff() requirements by complexityTimm Bäder2020-12-211-5/+5
|
* renderborder: Avoid 0 width outline color nodesTimm Bäder2020-12-211-1/+5
|
* layoutoverlay: Avoid adding transparent color nodesTimm Bäder2020-12-211-0/+4
| | | | | | | | We have a region for the border here, but the color is defined as transparent black because we don't want to render anything for it. This way, the generated .node file for the listbox demo in gtk4-demo with enabled layout borders is 3.5MB instead of 3.8MB.
* layoutoverlay: Avoid adding 0 sized color nodesTimm Bäder2020-12-211-9/+13
| | | | | This way, the output node file of the listbox demo in gtk4-demo with enabled layout borders is only 3.8MB instead of 12MB.
* GskTransform: Add nullable annotations to _equals()Timm Bäder2020-12-211-2/+2
| | | | Both can be NULL here.
* gl renderer: Proper state tracking for color matrix opsTimm Bäder2020-12-213-19/+25
|
* gl renderer: Add missing debug output for repeat opsTimm Bäder2020-12-211-0/+1
|
* gl renderer: Create shader-global uniform ops on draw()Timm Bäder2020-12-211-135/+53
| | | | | | | This way we can render the first frame of tests/testoutsetshadowdrawing in 153 ops instead of 183. And the first frame of gtk4-demo in 260 instead of 300.
* gl renderer: Unify new clip/viewport rects in blur_texture()Timm Bäder2020-12-211-7/+7
|
* GskTransform: Fix identity transform class nameTimm Bäder2020-12-211-1/+1
|
* GskTransform: Avoid a ref+unref pairTimm Bäder2020-12-211-2/+4
| | | | | If gsk_transform_is_identity() returned FALSE for the next transform, the previous code did a ref + unref pair, even though it was unneeded.
* icontheme: Make some constant values constTimm Bäder2020-12-211-4/+4
|
* pixbufutils: Only convert icon size to string onceTimm Bäder2020-12-211-20/+21
|
* icontheme: Make icon_paintable_ensure_texture() return an unowned valueTimm Bäder2020-12-211-4/+1
| | | | | It's private, has only one caller and that one doesn't need the extra ref.
* gl renderer: Avoid setting modelview to identical valuesTimm Bäder2020-12-211-11/+10
| | | | | The previous comment here was incorrect. We can save the op itself, we just can't save us the entry in the modelview stack.
* main: Add & use gdk_event_dup_axes()Timm Bäder2020-12-213-16/+21
| | | | | The way this code is written trips up scan-build. Add gdk_event_dup_axes() and use it in gtkmain.c.
* Update Brazilian Portuguese translationRafael Fontenelle2020-12-211-2978/+4322
|
* Merge branch 'ebassi/issue-3495' into 'master'Matthias Clasen2020-12-202-24/+28
|\ | | | | | | | | | | | | Use full path when calling gtk4-update-icon-cache Closes #3495 See merge request GNOME/gtk!2979
| * Call the newly installed gtk4-update-icon-cacheebassi/issue-3495Emmanuele Bassi2020-12-201-23/+25
| | | | | | | | Otherwise we rely on whatever it's inside the PATH.
| * Pass the bindir to the post-install scriptEmmanuele Bassi2020-12-201-1/+3
|/
* Update Brazilian Portuguese translationRafael Fontenelle2020-12-201-785/+1609
|
* Update Japanese translationsicklylife2020-12-201-334/+97
|
* Update Japanese translationsicklylife2020-12-201-752/+1671
|
* Update Punjabi translationA S Alam2020-12-201-2724/+5429
|
* Update Catalan translationJordi Mas i Hernandez2020-12-191-438/+448
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-12-191-217/+255
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2978
| * Revert "gl renderer: Render too big textures to the clipped area"Matthias Clasen2020-12-191-188/+203
| | | | | | | | This reverts commit 7f6608cbedccfe8a9e7d9a211f33be15951ca144.
| * Revert "gl renderer: Take a out graphene_rect in blur_node()"Matthias Clasen2020-12-191-29/+52
|/ | | | This reverts commit 7eece7e7690326e99d47e20e4a23a406bbd85779.
* Merge branch 'ebassi/issue-3492' into 'master'Matthias Clasen2020-12-193-0/+37
|\ | | | | | | | | | | | | 3to4: Remove GtkCheckButton:draw-indicator Closes #3492 See merge request GNOME/gtk!2976
| * 3to4: Add test for GtkCheckButton:draw-indicator removalebassi/issue-3492Emmanuele Bassi2020-12-192-0/+36
| |
| * 3to4: Remove GtkCheckButton:draw-indicatorEmmanuele Bassi2020-12-181-0/+1
|/ | | | | | | The property was removed from the widget, so we need to remove it from UI files too. Fixes: #3492
* Merge branch 'doc_backticks' into 'master'Timm Bäder2020-12-181-4/+4
|\ | | | | | | | | docs: backtick fixes See merge request GNOME/gtk!2975
| * docs: backtick fixeswisp3rwind2020-12-181-4/+4
|/ | | | | - in the gettext() examples, at least the _() triggers italics - add missing closing backtick
* Merge branch 'wip/baedert/for-master' into 'master'Matthias Clasen2020-12-183-264/+227
|\ | | | | | | | | Wip/baedert/for master See merge request GNOME/gtk!2973
| * gl renderer: Take a out graphene_rect in blur_node()Timm Bäder2020-12-161-52/+29
| |
| * gl renderer: Render too big textures to the clipped areaTimm Bäder2020-12-161-203/+188
| |
| * gl renderer: Unify viewport setting in add_offscreen_ops()Timm Bäder2020-12-162-14/+17
| | | | | | | | We use the same rect here a few times.
| * vulkancontext: Remove usage of VK_ERROR_INCOMPATIBLE_VERSION_KHRTimm Bäder2020-12-161-2/+0
| | | | | | | | | | | | According to https://www.khronos.org/registry/vulkan/specs/1.0-wsi_extensions/html/chap46.html this has been removed. It also breaks the build on my system
* | Merge branch 'ebassi/mnemonic-label-remove' into 'master'Matthias Clasen2020-12-181-5/+9
|\ \ | | | | | | | | | | | | a11y: Fix removing mnemonic widgets See merge request GNOME/gtk!2970
| * | a11y: Fix removing mnemonic widgetsebassi/mnemonic-label-removeEmmanuele Bassi2020-12-171-5/+9
| | | | | | | | | | | | | | | We must not use the variadic arguments version with GList, as it expects a pointer to a GtkAccessible.
* | | Merge branch 'ebassi/docs-for-master' into 'master'Matthias Clasen2020-12-172-4/+10
|\ \ \ | | | | | | | | | | | | | | | | Ebassi/docs for master See merge request GNOME/gtk!2971
| * | | Do not build gdk-pixbuf's man pageebassi/docs-for-masterEmmanuele Bassi2020-12-171-1/+2
| | | | | | | | | | | | | | | | When using it as a sub-project. We don't really need them.
| * | | docs: Add missing GTK typesEmmanuele Bassi2020-12-171-3/+8
| | | | | | | | | | | | | | | | | | | | If we don't specify the get_type() function, gtk-doc will not collect properties and signals, and will use a different URL for the page.
* | | | Merge branch 'shortcuts' into 'master'Matthias Clasen2020-12-171-15/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | docs: Add separation between kinds of shortcuts in Keyboard input See merge request GNOME/gtk!2964
| * | | docs: Fix list of kinds of shortcuts in Keyboard inputChris Mayo2020-12-171-15/+12
| | | | | | | | | | | | | | | | Formatting in HTML was mangled.
* | | | Merge branch 'ebassi/password-entry-notify' into 'master'Emmanuele Bassi2020-12-172-2/+13
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Notify properties on deletion in PasswordEntryBuffer Closes #3484 See merge request GNOME/gtk!2969
| * | | docs: Note the caveat on GtkEditable signals with delegatesEmmanuele Bassi2020-12-171-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot bubble up ::insert-text and ::delete-text signals from the delegate to the wrapper editable without causing an infinite recursion, due to how the signals are designed; ideally, we would have decoupled signal emission from virtual functions *before* releasing GTK4, but now that we have, we can't break the contract.