summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Entry,TextView: Deselect text on ::focus-out665-entry-textview-deselect-text-on-focus-out-4Daniel Boles2018-09-222-2/+2
| | | | | | | | | | | | | We don't differentiate between foreground and backdropped selections, which confuses/infuriates users, particularly in the FileChooser entry. There's no design desire to introduce that differentiation in the theme. The preferred fix is instead to clear the selection on focussing out. This patch does that by changing the existing code that clears the selection when the state changes and the widget is no longer :sensitive to instead clear the selection if it's not the focus within its toplevel https://gitlab.gnome.org/GNOME/gtk/issues/665#note_110313
* Use Unicode apostrophes in new stringsPiotr Drąg2018-09-203-3/+3
| | | | | | See https://developer.gnome.org/hig/stable/typography.html https://bugzilla.gnome.org/show_bug.cgi?id=772371
* Merge branch 'master' into 'master'Matthias Clasen2018-09-191-50/+42
|\ | | | | | | | | Remove some duplication in testfilechooserbutton See merge request GNOME/gtk!342
| * Remove some duplication in testfilechooserbuttonManu Cornet2018-09-171-50/+42
| | | | | | | | | | | | | | Most of the code creating the two types of dialogs (open file, choose folder) is the same. This refactors the common code into a helper method. This also makes it easier to add other chooser types for this test (e.g. save file).
* | Merge branch 'installed-tests' into 'master'Matthias Clasen2018-09-196-6/+8
|\ \ | | | | | | | | | | | | Get GTK+ 4 installed-tests closer to working See merge request GNOME/gtk!348
| * | testsuite: Install accessibility-dump executable alongside testsSimon McVittie2018-09-191-0/+2
| | | | | | | | | | | | | | | | | | The installed-tests want to run this. Signed-off-by: Simon McVittie <smcv@debian.org>
| * | testsuite: Fix installed-test metadata for autotestkeywordsSimon McVittie2018-09-191-2/+2
| | | | | | | | | | | | | | | | | | | | | The executable is called autotestkeywords, so we shouldn't try to run an executable named keywords. Also rename the metadata file to match. Signed-off-by: Simon McVittie <smcv@debian.org>
| * | reftests: Fix path to installed-tests in .test metadataSimon McVittie2018-09-194-4/+4
| | | | | | | | | | | | | | | | | | | | | The installed-tests are now namespaced as gtk-4.0 to avoid colliding with GTK+ 3, but these files weren't updated. Signed-off-by: Simon McVittie <smcv@debian.org>
* | | Update Turkish translationEmin Tufan Çetin2018-09-191-6/+6
| | |
* | | Update Turkish translationEmin Tufan Çetin2018-09-191-57/+57
| | |
* | | Update Turkish translationEmin Tufan Çetin2018-09-191-2244/+2724
|/ /
* | inspector: Handle case where there's no default applicationBenjamin Otte2018-09-191-1/+4
| |
* | cssrbtree: Fix a crasherBenjamin Otte2018-09-193-2/+289
| | | | | | | | | | | | | | | | | | After removing elements, there were a few cases where the tree wasn't properly balanced which could further down violate assumptions about the layout. Attached is the original testcase that triggered it. I didn't bother simplifying it.
* | Merge branch 'win32-scroll-both-gtk4' into 'master'LRN2018-09-181-3/+16
|\ \ | | | | | | | | | | | | GDK W32: send both smooth and discrete scrolling events (GTK4) See merge request GNOME/gtk!337
| * | GDK W32: fix direction of horizontal smooth scrolling eventsEduard Braun2018-09-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 359df028be7b1dae76a1abb9bad8a3b86a648765 changed the code to send GDK_SCROLL_SMOOTH with deltas instead of GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Windows defines deltas inversed for vertical direction (positive values mean the wheel was turned forward) but not for horizontal direction (positive values mean the wheel was turned towards the right). This commit fixes behavior as both axes were inverted previously.
| * | GDK W32: send both smooth and discrete scrolling eventsРуслан Ижбулатов2018-09-181-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit d64467b33475bf8358f66bec9450101f37c05e9c changed the code to send GDK_SCROLL_SMOOTH with deltas instead of GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Change it again, to send both the GDK_SCROLL_SMOOTH and the GDK_SCROLL_(UP|DOWN|LEFT|RIGHT) event separately (with the discrete event marked as emulated), as this is what other backends (such as wayland) do.
* | | Merge branch 'revealer-support-min-size-master' into 'master'Benjamin Otte2018-09-181-99/+70
|\ \ \ | |/ / |/| | | | | | | | | | | | | | gtkrevealer: support minimum size of child Closes #635 See merge request GNOME/gtk!317
| * | revealer: Support minimum size of childCarlos Soriano2018-09-181-99/+70
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Up until now when allocating the child it only used the natural size while the measuring also used the minimum size, resulting in a clipped child when animating if the child had different minimum size and natural size. This was an obvious case when using labels that had ellipsization. This commit gives full allocation to the child by inverting the size the revealer reduces from its animation progress. Code done by Benjamin Otte. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/635
* | ci/docker: add lcov so we can create coverage reportsChristoph Reiter2018-09-181-0/+1
| | | | | | | | This was requested on IRC; the docker image in the registry is updated already.
* | treelistmodel: Improve naming a bitBenjamin Otte2018-09-184-13/+13
| | | | | | | | | | | | | | | | The complexity with model items vs row items is really confusing. Add to that treelistmodel position vs child model position vs parent position, and you're so confused, even the best naming can't help. And once you're there, consider passthrough vs non-passthrough...
* | listmodels: Clarify documentation for function prototypesBenjamin Otte2018-09-184-4/+33
| | | | | | | | Fixes #1341
* | Revert "listlistmodel: Fix documentation comment"Mohammed Sadiq2018-09-181-2/+2
| | | | | | | | | | | | This reverts commit 03679d434262be5a73e25668513a6a6597fd90ea. listlistmodel is private
* | listlistmodel: Fix documentation commentMohammed Sadiq2018-09-181-2/+2
| |
* | tree-list-model: Return the correct item typeGeorges Basile Stavracas Neto2018-09-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | When passthrough is enabled, it should return the GType of the child GListModels; when disabled, it should be GTK_TYPE_TREE_LIST_ROW. The conditions are inverted however, causing a few warnings to trigger. Fix that by returning the correct GType.
* | Merge branch 'wip/sadiq/model-fixes' into 'master'Mohammed Sadiq2018-09-181-1/+1
|\ \ | | | | | | | | | | | | treelistmodel: Fix memory leak See merge request GNOME/gtk!344
| * | treelistmodel: Fix memory leakMohammed Sadiq2018-09-181-1/+1
|/ / | | | | | | | | | | gtk_tree_list_model_init_node() increases the reference count of the model passed. Let's not do that, and let it take the model passed.
* | Merge branch 'wip/sadiq/model-fixes' into 'master'Mohammed Sadiq2018-09-181-1/+1
|\ \ | |/ |/| | | | | treelistmodel: Fix signal emission on row destroy See merge request GNOME/gtk!343
| * treelistmodel: Fix signal emission on row destroyMohammed Sadiq2018-09-181-1/+1
|/
* gtk: Fix some g-i annotations warningsRico Tzschichholz2018-09-177-17/+17
|
* Merge branch 'toolbar-expand' into 'master'Robert Ancell2018-09-171-5/+6
|\ | | | | | | | | toolbar: Use hexpand/vexpand Gtk+ properties See merge request GNOME/gtk!334
| * toolbar: Use hexpand/vexpand Gtk+ propertiesRobert Ancell2018-09-171-5/+6
|/
* tree list model: Add docsMatthias Clasen2018-09-161-0/+10
|
* Minor doc fixMatthias Clasen2018-09-161-1/+1
| | | | Clarify some wording.
* testsuite: Disable some tests for older glibBenjamin Otte2018-09-171-0/+2
|
* testsuite: Add tests for GtkSortListModelBenjamin Otte2018-09-172-0/+402
|
* sortlistmodel: Actually insert unsorted items at the wrong placeBenjamin Otte2018-09-171-2/+2
| | | | We were adding items in reverse order, oops.
* Update POTFILES.inPiotr Drąg2018-09-162-2/+16
|
* docs: Add missing TreeListModel docsBenjamin Otte2018-09-162-0/+51
|
* Merge branch 'wip/sadiq/fixes' into 'master'Matthias Clasen2018-09-161-1/+1
|\ | | | | | | | | gdkselectioninputstream-x11: Fix memory leak See merge request GNOME/gtk!340
| * gdkselectioninputstream-x11: Fix memory leakMohammed Sadiq2018-09-161-1/+1
| |
* | testtreelistmodel: Display the file icon, because why notBenjamin Otte2018-09-161-14/+42
| |
* | inspector: Update the controllers list to show parent controllersBenjamin Otte2018-09-161-15/+97
| | | | | | | | | | Now we show all the controllers that are relevant when widget gets sent events.
* | testtreelistmodel: Make the statusbar display more infoBenjamin Otte2018-09-161-14/+33
| | | | | | | | | | Now display how many items were filtered (if any) and how many directories remain to be sanned (if any).
* | testtreelistmodel: Sort files by nameBenjamin Otte2018-09-161-5/+60
| |
* | GtkSortListModel: AddBenjamin Otte2018-09-166-1/+655
| |
* | testtreelistmodel: Add searchBenjamin Otte2018-09-161-7/+40
| | | | | | | | | | Add a simple search that does a case insensitive substring search of the file paths.
* | testtreelistmodel: Make the directory loading asyncBenjamin Otte2018-09-161-19/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | This is way more complicated than it should be, because it requires manually limiting the number of open file enumerators. On the other hand, it exhaustively tests the items-changed emission of all involved listmodels because those signals come in pretty much randomly. It's also 50% slower than the sync version, with the caeat that the sync version only shows the UI after it's done loading, while this version shows it right away.
* | testtreelistmodel: Add a hack to handle LONG listsBenjamin Otte2018-09-161-16/+51
| | | | | | | | ... and make the lists long by autoexpanding the tree.
* | GtkSliceListModel: addBenjamin Otte2018-09-166-0/+616
| |
* | inspector: Make controllers page use gtk_list_box_bind_model()Benjamin Otte2018-09-163-61/+16
| |