summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GtkTreeviewColumn: don't focus-on-click header buttonsBUG_gtktreeview_headers_focus_on_click_GTK4Nelson Benítez León2020-04-301-0/+1
| | | | | | | | | | | currently when mouse clicking on a column header to sort it it is grabbing keyboard focus, this should not happen, keyboard focus should remain where it was before. This can be seen on the GtkFileChooser widget, when having the keyboard focus on the file list items and clicking on a column header to sort it the keyboard focus is now on the header.
* Merge branch 'speed-up-event-matching' into 'master'Matthias Clasen2020-04-307-84/+144
|\ | | | | | | | | keymap: Cache key info See merge request GNOME/gtk!1800
| * keymap: Cache key infoMatthias Clasen2020-04-307-84/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently calling gdk_display_map_keyval up to once per key event per shortcut trigger, and that function does an expensive loop over the entire keymap and allocates an array. Avoid this by caching the entries in a single array, and have a lookup table for finding the entries for a keyval. To do this, change the GdkKeymap.get_entries_for_keyval signature, and change the ::keys-changed signal to be RUN_FIRST, since we want to clear the cache in the class handler before running signal handlers. These changes are possible now, since keymaps are no longer public API.
* | Merge branch 'theme-focus-ring-mixin' into 'master'Jakub Steiner2020-04-302-103/+102
|\ \ | | | | | | | | | | | | | | | | | | Adwaita: Use a mixin for visible focus rings Closes #2653 See merge request GNOME/gtk!1802
| * | Adwaita: Use a mixin for visible focus ringsnana-42020-05-012-103/+102
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The focus-ring() mixin allows we to flexibly style the focus ring for each widget. By using this, we can get rid of the "Outlines" section, which is out of place in the _common.scss file. This commit also has the following changes: - Transition the focus rings on most widgets. - Add a missing focus ring to iconview. - Move the expander-widget focus ring to its title. - Move the notebook focus ring to its checked tab. Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/2653
* | Updated Spanish translationDaniel Mustieles2020-04-301-349/+302
| |
* | Updated Spanish translationDaniel Mustieles2020-04-301-196/+197
|/
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-04-302-49/+66
|\ | | | | | | | | docs: Move menu model docs See merge request GNOME/gtk!1799
| * docs: Move menu model docsMatthias Clasen2020-04-292-49/+66
|/ | | | | | It makes more sense to document the menu model XML format in the GtkPopoverMenu docs than in GtkApplicationWindow.
* Merge branch 'win32-new-runner' into 'master'Matthias Clasen2020-04-292-3/+3
|\ | | | | | | | | CI: Switch to new Windows runners See merge request GNOME/gtk!1797
| * CI: Switch to new Windows runnersChristoph Reiter2020-04-292-3/+3
| | | | | | | | | | | | | | They use powershell instead of cmd.exe, use the tag win32-ps instead of win32, and run Windows 2016 instead of 2012r2. The old runners will be switched off in the comming weeks.
* | Update Ukrainian translationYuri Chornoivan2020-04-291-1377/+1151
| |
* | Update Ukrainian translationYuri Chornoivan2020-04-291-730/+624
|/
* Merge branch 'soundcheck' into 'master'Matthias Clasen2020-04-294-0/+69
|\ | | | | | | | | Add a quick sound test See merge request GNOME/gtk!1796
| * Add a quick sound testMatthias Clasen2020-04-294-0/+69
|/ | | | | Just to show that our media infrastructure is up to playing little beeps and bings.
* Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-04-291-3/+9
|\ | | | | | | | | Ebassi/for master See merge request GNOME/gtk!1795
| * docs: Link the license file from the READMEEmmanuele Bassi2020-04-291-1/+1
| |
| * docs: Link the contribution guide from the READMEEmmanuele Bassi2020-04-291-0/+6
| | | | | | | | Hopefully people will read it.
| * docs: Update link to the discussion forumEmmanuele Bassi2020-04-291-2/+2
|/ | | | | | The README file still links to the old web page about mailing lists; the link is now a 404 after the website redesign, and we don't use mailing lists any more, in favour of Discourse.
* Merge branch 'wip/jtojnar/join-paths' into 'master'Matthias Clasen2020-04-291-2/+2
|\ | | | | | | | | build: clean up .pc generation See merge request GNOME/gtk!1793
| * build: clean up .pc generationJan Tojnar2020-04-291-2/+2
|/ | | | | | | Path concatenation is much nicer than the unwieldy format method. Since paths returned by get_option are relative to prefix, they will be joined as before. As a bonus, this fixes weird platforms like NixOS that actually pass absolute includedir under a different prefix.
* Merge branch 'popup-positioning-fix' into 'master'Matthias Clasen2020-04-291-0/+6
|\ | | | | | | | | popover: Fix repositioning logic See merge request GNOME/gtk!1792
| * popover: Fix repositioning logicMatthias Clasen2020-04-281-0/+6
|/ | | | | | When the arrow changes position, we need to queue an allocation to ensure that gtk_widget_allocate actually calls our ->size_allocate vfunc.
* Merge branch 'class-action-init' into 'master'Matthias Clasen2020-04-293-27/+33
|\ | | | | | | | | Reshuffle action muxer initialization See merge request GNOME/gtk!1789
| * Speed up class action hookupMatthias Clasen2020-04-281-20/+15
| | | | | | | | | | | | | | | | No need to construct a detailed signal name for every action when we can just look up the signal ID once and use the quark that the GParamSpec already has. Also, we don't need to loop over the actions every time we get a notification.
| * Reshuffle action muxer initializationMatthias Clasen2020-04-283-7/+18
| | | | | | | | | | | | | | | | | | | | | | We were having a problem where property actions were not getting state updates because prop_actions_connect was triggered from some instance_init function while the widget class is not in place yet. Delay that call until the widget is fully constructed, so we can guarantee that we are dealing with the correct class private struct, and see all class actions.
* | Merge branch 'drop-stack-homogeneous' into 'master'Matthias Clasen2020-04-299-87/+15
|\ \ | | | | | | | | | | | | | | | | | | Drop stack homogeneous Closes #2673 See merge request GNOME/gtk!1791
| * | builder-tool: Replace GtkStack:homogeneousMatthias Clasen2020-04-283-1/+5
| | | | | | | | | | | | | | | | | | Replace this property by h/vhomogeneous. Add a test.
| * | Drop GtkStack:homogeneousMatthias Clasen2020-04-286-86/+10
|/ / | | | | | | | | | | | | We have hhomogeneous and vhomogeneous properties that can be set individually. Fixes: #2673
* | Merge branch 'popup-controls-hiding' into 'master'Matthias Clasen2020-04-281-1/+18
|\ \ | | | | | | | | | | | | video: Don't hide the controls while the popup is shown See merge request GNOME/gtk!1787
| * | video: Don't hide the controls while the popup is shownMatthias Clasen2020-04-281-1/+18
| |/ | | | | | | | | | | | | We don't get motion events from the popup (due to grabs), so just don't hide as long as we're grab shadowed. This makes the controls stay up until the volume popup is dismissed.
* | Merge branch 'widget-factory-larger-logo' into 'master'Matthias Clasen2020-04-281-0/+0
|\ \ | | | | | | | | | | | | Widget factory larger logo See merge request GNOME/gtk!1786
| * | Use a slightly larger version of the logo animationMatthias Clasen2020-04-281-0/+0
| |/ | | | | | | | | This is large enough to not make the media controls slider shrink to nothing.
* | Updated Spanish translationDaniel Mustieles2020-04-281-1004/+1005
|/
* Merge branch 'drop-realize-invariant' into 'master'Emmanuele Bassi2020-04-281-5/+1
|\ | | | | | | | | Drop parent->realized => child->realized invariant See merge request GNOME/gtk!1783
| * Drop parent->realized => child->realized invariantAlexander Larsson2020-04-281-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already dropped this invariant in gtk_widget_verify_invariants() because it was not true in all cases. Also, it is not really useful these days as we extended what it means to be a "child" to also include widgets in different toplevels. For example, a popup in a popup button need not be realized just because the button is in a realized window. The main invariants we want are: * Parent is realized before child * Widget is realized before it is mapped This sounds like its not a huge deal, but in fact it is a massive win for things like menus, because when we go between menus in a menubar each switch between two open menus involves a lot of intermingled crossing events to different surfaces and for each of these the tooltip window of the toplevel gets assigned to the new surface. This shouldn't be a huge deal, as the tooltip window is not even visible, but due to the realized invariant it get re-realized each time it gets re-assigned.
* | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-04-285-9/+13
|\ \ | |/ |/| | | | | Ebassi/for master See merge request GNOME/gtk!1782
| * Annotate more functions returning GListModelEmmanuele Bassi2020-04-284-8/+11
| | | | | | | | | | Now that we can have an element-type annotation, we should use it where needed.
| * Use attributes instead of element-type annotationEmmanuele Bassi2020-04-281-1/+2
|/ | | | | | | | | The `element-type` annotation is for GList and GSList only, and turns out adding support for GListModel in gobject-introspection breaks Vala and the GIR for GIO. Instead of using `element-type`, we can use the `attributes` annotation, which is ignored by code generators based on the GIR data.
* Merge branch 'inspector-media' into 'master'Matthias Clasen2020-04-284-7/+63
|\ | | | | | | | | Inspector media See merge request GNOME/gtk!1781
| * inspector: Show the media backendMatthias Clasen2020-04-282-0/+46
| |
| * mediafile: Privately export function to the extensionMatthias Clasen2020-04-282-7/+17
|/ | | | We want to show this information in the inspector.
* Merge branch 'popover-flip-arrow-fix' into 'master'Matthias Clasen2020-04-281-5/+5
|\ | | | | | | | | | | | | popover: Allocate after setting final_position Closes #2671 See merge request GNOME/gtk!1780
| * popover: Allocate after setting final_positionMatthias Clasen2020-04-271-5/+5
| | | | | | | | | | | | | | | | When we find out that we've been flipped, set final_position and final_rect before allocating the popover. This prevents 'smashed-in beak' disease. Fixes: #2671
* | Merge branch 'menu-section-title-fixup' into 'master'Matthias Clasen2020-04-281-0/+7
|\ \ | |/ |/| | | | | | | | | popovermenu: Don't put a separator before the first section Closes #2672 See merge request GNOME/gtk!1779
| * popovermenu: Don't put a separator before the first sectionMatthias Clasen2020-04-271-0/+7
|/ | | | | | | | When we have section titles, we were not hiding the separator before the first section as we should; fix this. Fixes: #2672
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-04-272-1/+2
|\ | | | | | | | | widget-factory: Enable page transitions by default See merge request GNOME/gtk!1777
| * widget-factory: Enable page transitions by defaultMatthias Clasen2020-04-272-1/+2
|/ | | | No need to make this an easter egg.
* Updated Spanish translationDaniel Mustieles2020-04-271-1766/+2071
|
* Merge branch 'BUG_filechooser_async_data_loss_GTK4' into 'master'Matthias Clasen2020-04-271-0/+49
|\ | | | | | | | | GtkFilechooserWidget: prevent oblivious selection of file See merge request GNOME/gtk!1688