summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .gitlab-ci/test-docker.shalatiera/ccache-fooJordan Petridis2018-09-171-1/+0
|
* 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
| |
* | inspector: Rename "Gestures" page to "Controllers"Benjamin Otte2018-09-168-87/+89
| | | | | | | | And rename GtkInspectorGestures => GtkInspectorControllers, too.
* | inspector: Make gestures page handle all controllersBenjamin Otte2018-09-161-86/+40
| | | | | | | | This requires removing support for gesture groups.
* | GtkMapListModel: addBenjamin Otte2018-09-168-0/+1025
| |
* | propertylookuplistmodel: AddBenjamin Otte2018-09-165-0/+774
| | | | | | | | | | | | | | This model just takes an object and a property name and recursively looks it up. In particular, I want it for: widget, widget.parent, widget.parent.parent, ...
* | inspector: Turn object tree into a GtkListBoxBenjamin Otte2018-09-1611-894/+752
| | | | | | | | | | | | | | | | | | | | | | | | | | The code gets rid of the GtkTreeView and replaces it with a GtkListBox. Most of the logic is now done via GListModel subclasses. A big change is that this new list is now tracking updates itself and doesn't need to be manually updated. All code that used to cause rescans or add forgotten objects to the tree has been removed. If objects are missing from the object tree, the logic for tracking them needs to be added.
* | testsuite: Disable some tests with older glibBenjamin Otte2018-09-161-0/+2
| | | | | | | | Fixes CI.
* | inspector: Use a GtkPicture to display render nodesBenjamin Otte2018-09-166-472/+27
| | | | | | | | Instead of the outdated render node view, use modern GTK APIs.
* | inspector: Add an icon to the render node listBenjamin Otte2018-09-161-0/+5
| |
* | inspector: Make the render node tree use a ListBoxBenjamin Otte2018-09-167-840/+270
| | | | | | | | It used to be a treeview.
* | widget: Add gtk_widget_observe_controllers()Benjamin Otte2018-09-163-4/+91
| | | | | | | | | | This mirrors gtk_widget_observe_children() - just that it observes the controllers, not the children.
* | gtk: Add GtkFlattenListModelBenjamin Otte2018-09-168-0/+978
| | | | | | | | We can flatten lists of lists into lists now!
* | treelistmodel: Add more API to navigate the treeBenjamin Otte2018-09-162-22/+207
| | | | | | | | | | | | This adds functionality from GtkTreeIter into GtkTreeListRow that allows finding items in the model and getting their position for use in GtkListBox.
* | treelistmodel: Refactor to add GtkTreeListRowBenjamin Otte2018-09-166-197/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does multiple things: 1. Add a custom persistent per-row object. 2. Move all per-row API to that object. This means notifications are now possible. 3. Add a "passthrough" construct-only property to the TreeListModel that influences if the model returns these new object or passes through the ones from the model. This greatly simplifies the code needed to be written for widgetry, because one can just connect the per-row object to the expanders that expand and collapse rows. As an added power feature, these objects can also be passed through further models (like filter models). It also adds kind of a hack to Adwaita to make the test look neat.
* | gtk: Add GtkFilterListModelBenjamin Otte2018-09-1611-0/+1155
| | | | | | | | This is a GListModel implementation that filters the given source model.
* | widget: Add gtk_widget_observe_children()Benjamin Otte2018-09-167-1/+440
| | | | | | | | | | This creates a listmodel that tracks a widget's children. Doing so turns adding/removing children from O(1) to O(N) though, so use with caution.
* | window: Add gtk_window_get_toplevels()Benjamin Otte2018-09-164-6/+55
| | | | | | | | This one returns a list of all toplevel windows.
* | gtk: Add GtkTreeListModelBenjamin Otte2018-09-1611-0/+2166
|/ | | | | This is a GListModel implementation with a neat API that can be used to implement trees inside GtkListBox.
* gtk_application_inihit: allow no reasonMatthias Clasen2018-09-131-1/+1
| | | | | | We document this argument as nullable, so treat it as such. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1327
* Update Turkish translationEmin Tufan Çetin2018-09-111-288/+289
|
* Merge branch 'adwaita-fixes' into 'master'Jakub Steiner2018-09-103-95/+131
|\ | | | | | | | | Adwaita fixes See merge request GNOME/gtk!333
| * Adwaita: Set selection mode to headerbars if it's on ancestorsAdrien Plazas2018-09-103-68/+71
| | | | | | | | | | This allows to set the container of the headerbars in selection mode rather than having to set the mode to each element of the title bar.
| * Adwaita: Style separator.sidebarAdrien Plazas2018-09-103-27/+46
| | | | | | | | | | | | | | | | | | | | | | | | Let separators be declared as sidebars to have the same style as those drawn by GtkStackSidebar. This also let them handle the selection-mode class, whether they are assigned it or they descend from something in selection mode. Also drop setting the selection mode color for non-sidebar separators. This is convenient when building a custom sidebar using a GtkSeparator and to extend a sidebar to the title bar.
| * Adwaita: Drop the background of nested headerbarsAdrien Plazas2018-09-103-0/+14
| | | | | | | | | | | | | | | | This is needed to work around headerbar sliding animation issues without refactoring Adwaita's support of titlebars and headerbars as it may break applications. https://gitlab.gnome.org/GNOME/gtk/issues/1264
* | Merge branch 'wip/adwaita/linked-entry-error-state-fix-master' into 'master'Jakub Steiner2018-09-106-0/+52
|\ \ | |/ |/| | | | | Adwaita: Fix linked elements in error state See merge request GNOME/gtk!315
| * themes: Fix linked elements in error stateAlex Monday2018-09-026-0/+60
| | | | | | | | | | Add instructions for color of linked elements border which ajoints entry, when parent linked entry is in error state.
* | Merge branch 'css-fix' into 'master'Jakub Steiner2018-09-071-1/+1
|\ \ | | | | | | | | | | | | win32 theme: Fix css syntax error See merge request GNOME/gtk!324
| * | win32 theme: Fix css syntax errorPeter Simonyi2018-09-071-1/+1
|/ /
* | Add devel style to demosMatthias Clasen2018-09-053-1/+4
| | | | | | | | Lets show this off. Its cool.