summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* win32: Stop using _gdk_device_query_stateMatthias Clasen2020-08-267-9/+52
| | | | Directly use the backend implementation.
* x11: Stop using _gdk_device_query_stateMatthias Clasen2020-08-263-9/+15
| | | | Directly use the backend implementation.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-264-12/+40
|\ | | | | | | | | | | | | Matthiasc/for master Closes #3090 See merge request GNOME/gtk!2485
| * Make gdk_surface_get_device_position return a booleanMatthias Clasen2020-08-262-10/+17
| | | | | | | | | | | | | | A year ago, we make this function not return the child surface anymore. But the information whether the device is actually over the surface is still useful, and we should not loose it.
| * main: Avoid a crash with crossing event handlingMatthias Clasen2020-08-261-2/+5
| | | | | | | | | | | | | | | | We are reusing the GtkCrossingData struct for multiple calls here, so we need to make sure that the targets stay alive from beginning to end. Fixes: #3090
| * widget: Avoid a crash in crossing event handlingMatthias Clasen2020-08-261-0/+18
| | | | | | | | | | | | We need to make sure that the crossing data stays alive until we are done handling it, so take references on all the widgets in it.
* | Merge branch 'broadway-prune' into 'master'Matthias Clasen2020-08-262-40/+147
|\ \ | | | | | | | | | | | | | | | | | | broadway: Prune fully clipped render nodes Closes #3086 See merge request GNOME/gtk!2487
| * | broadway: Prune fully clipped render nodesAlexander Larsson2020-08-262-27/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If some node is fully outside the clip region we don't send it to the daemon. This helps a lot in how much data we send for scrolling viewports. However, sending partial trees makes node reuse a bit more tricky. We can't save for reuse any node that could possibly clip different depending on the clip region, as that could be different next frame. So, unless the node is fully contained in the current clip (and we thus know it is not parial) we don't allow reusing that next frame. This fixes #3086
| * | broadway: Track the clip region in the rendererAlexander Larsson2020-08-261-14/+41
| | | | | | | | | | | | | | | If we know what can't possibly be visible we may can later decide to not expose a node.
* | | Update Galician translationFran Dieguez2020-08-261-129/+138
|/ /
* | Merge branch 'broadway-debug-nodes' into 'master'Timm Bäder2020-08-261-1/+1
|\ \ | |/ |/| | | | | Broadway: Fix handling of debug nodes See merge request GNOME/gtk!2486
| * Broadway: Fix handling of debug nodesAlexander Larsson2020-08-261-1/+1
| | | | | | | | | | The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12". So, don't hardcode the wrong number "14".
* | Merge branch 'broadway-alpha-colors' into 'master'Emmanuele Bassi2020-08-261-1/+1
|\ \ | |/ |/| | | | | broadway: Correct handling of opaque colors See merge request GNOME/gtk!2484
| * broadway: Correct handling of opaque colorsAlexander Larsson2020-08-261-1/+1
|/ | | | | | If alpha is 255, we use rgb() instead of rgba(), not if alpha is 0. This makes the title bar gradient go from fully transparent to blue rather than black to blue..
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-251-0/+39
|\ | | | | | | | | fontchooser: Populate the list incrementally See merge request GNOME/gtk!2483
| * fontchooser: Populate the list incrementallyMatthias Clasen2020-08-251-0/+39
| | | | | | | | | | | | | | By adding 20 fonts / frame to the font list, we can get the font chooser dialog to show up much faster. This change gets the font chooser up in 265ms here.
* | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-08-257-103/+185
|\ \ | | | | | | | | | | | | Ebassi/for master See merge request GNOME/gtk!2480
| * | a11y: Simplify the ATContext::state-change signalEmmanuele Bassi2020-08-251-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | We cannot pass all the data we pass to the virtual function, because the types are private, but the class and the signal are public API. The signal is just a notification, so we can decouple the virtual function (which stays the same, for internal types that implement the ATContext API contract) from the signal.
| * | Annotate GValue-variants methods of GtkAccessibleEmmanuele Bassi2020-08-251-3/+3
| | | | | | | | | | | | | | | | | | The variadic arguments methods cannot be used by language bindings, which means we can let them use their names when calling the GValue-based methods.
| * | Properly document GtkAccessible:accessible-roleEmmanuele Bassi2020-08-251-0/+7
| | | | | | | | | | | | Use a gtk-doc stanza, instead of the GParamSpec strings.
| * | a11y: Do not notify of empty state changesEmmanuele Bassi2020-08-252-6/+35
| | | | | | | | | | | | | | | | | | | | | If the ATContext state hasn't changed—for instance, if the accessible attributes have been set to their default value, or have been set to the same value—do not emit an accessible state change. State changes can be arbitrarily expensive, so we want to ensure that they are meaningful.
| * | a11y: Notify callers when an attributes set changesEmmanuele Bassi2020-08-252-6/+35
| | | | | | | | | | | | We can use that information inside the ATContext.
| * | a11y: GtkATContext.update_state() was renamed to update()Emmanuele Bassi2020-08-251-3/+3
| | |
| * | a11y: Allow bulk attribute update with the GValue APIEmmanuele Bassi2020-08-252-72/+93
| | | | | | | | | | | | Like we do for the varargs API.
| * | a11y: Different value types cannot be equalEmmanuele Bassi2020-08-251-0/+3
| | | | | | | | | | | | | | | | | | Bail out early, instead of going deep into the GtkAccessibleValue type equal() implementation, where we expect both accessible values to have the same type.
* | | Updated Lithuanian translationAurimas Černius2020-08-252-2967/+2679
| | |
* | | Merge branch 'demo-double-border-fixes' into 'master'Matthias Clasen2020-08-254-24/+37
|\ \ \ | | | | | | | | | | | | | | | | gtk-demo: Avoid double borders See merge request GNOME/gtk!2478
| * | | gtk-demo: Avoid double borders in the blendmodes demonana-42020-08-251-0/+4
| | | |
| * | | gtk-demo: Avoid double borders in the fontrendering demonana-42020-08-251-1/+3
| | | | | | | | | | | | | | | | Replace the frame with a separator.
| * | | gtk-demo: Avoid double borders in the dnd demonana-42020-08-251-1/+2
| | | | | | | | | | | | | | | | Replace the frame with a separator.
| * | | gtk-demo: Avoid double borders in the panes demonana-42020-08-251-22/+28
| | | | | | | | | | | | | | | | Using frames for the children of the panes looks bad.
* | | | Merge branch 'inspector-double-border-fixes' into 'master'Matthias Clasen2020-08-252-5/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | inspector: Avoid double borders See merge request GNOME/gtk!2477
| * | | | inspector: Avoid double borders in the resource tabnana-42020-08-251-2/+3
| | | | | | | | | | | | | | | | | | | | Replace the frames with a separator.
| * | | | inspector: Avoid double borders in the accessibility tabnana-42020-08-251-3/+3
| |/ / / | | | | | | | | | | | | Replace the frame with a separator.
* | | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-251-1/+0
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | Revert unintentional calendar change See merge request GNOME/gtk!2482
| * | | Revert unintentional calendar changeMatthias Clasen2020-08-251-1/+0
|/ / / | | | | | | | | | This was unintentionally included in c0efadc0f399d.
* | | Merge branch 'adwaita-rounded-frames' into 'master'Matthias Clasen2020-08-251-5/+8
|\ \ \ | |/ / |/| | | | | | | | Adwaita: Make frames rounded See merge request GNOME/gtk!2476
| * | Adwaita: Make frames roundednana-42020-08-251-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per GNOME mockups. Since GtkFrame now sets GTK_OVERFLOW_HIDDEN, we can round the frame without corner overlapping. This also adds some margin to the child label of GtkFrame to ensure it will not be clipped by the rounded corners of the frame.
| * | Adwaita: Remove a shadow-type leftovernana-42020-08-251-2/+0
|/ / | | | | | | | | After commit edae2a8dc500b7af29928e5eb6dfc305726ce6e0, frames always draw frames. So, remove the unused frame.flat styling.
* | Merge branch 'wip/smcv/no-yelp' into 'master'Emmanuele Bassi2020-08-251-1/+1
|\ \ | |/ |/| | | | | docs: Don't build Yelp manual for bundled gtk-doc subproject See merge request GNOME/gtk!2475
| * docs: Don't build Yelp manual for bundled gtk-doc subprojectSimon McVittie2020-08-251-1/+1
|/ | | | | | This adds dependencies that would otherwise be unnecessary. Signed-off-by: Simon McVittie <smcv@debian.org>
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-252-4/+27
|\ | | | | | | | | | | | | Matthiasc/for master Closes #2979 See merge request GNOME/gtk!2474
| * text: Properly handle focus moving to a descendentMatthias Clasen2020-08-241-4/+16
| | | | | | | | | | | | | | | | | | To discriminate between is-focus and contains-focus, we need to use notify::is-focus. This makes sure we don't get annoying warnings when the blink_cb gets triggered on an unfocused entry. Fixes: #2979
| * emojichooser: Grab focus on mapMatthias Clasen2020-08-241-0/+11
| | | | | | | | | | This is the right thing to do, since we have a visible entry and want text input to go there.
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-242-0/+34
|\ \ | |/ | | | | | | Matthiasc/for master See merge request GNOME/gtk!2473
| * colorchooser: Fix the add_palette apiMatthias Clasen2020-08-241-0/+4
| | | | | | | | | | | | | | | | When adding a custom palette, we need to arrange for the custom section to stay at the bottom. Maybe there should be a way to turn off custom colors, too.
| * gtk-demo: Make the color picker demo less boringMatthias Clasen2020-08-241-0/+30
|/ | | | | Maybe the first ever use of the add_palette api. Surprise, it doesn't work!
* Update British English translationBruce Cowan2020-08-241-2287/+2336
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-2412-16/+253
|\ | | | | | | | | | | | | Matthiasc/for master Closes #3081 See merge request GNOME/gtk!2472
| * Add reftests for center layoutMatthias Clasen2020-08-247-0/+113
| | | | | | | | | | | | Add a test that checks behavior with invisible children, and another one that ensures we go back to box-like layout if min-size is forced.