summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Drop fallback-c89.cChristoph Reiter2020-05-3128-307/+4
| | | | | | | | | We require a C compiler supporting C99 now. The main purpose of these fallbacks was for MSVC. From what I can see this is now all supported by MSVC 2015+ anyway. The only other change this includes is to replace isnanf() with the (type infering) C99 isnan() macro, because MSVC doesn't provide isnanf().
* fallback-c89: Try to make isnanf workChristoph Reiter2020-05-311-15/+11
|
* Update Ukrainian translationYuri Chornoivan2020-05-311-176/+183
|
* Update Ukrainian translationYuri Chornoivan2020-05-311-332/+328
|
* Merge branch 'dropdown-for-merge' into 'master'Matthias Clasen2020-05-3140-187/+12059
|\ | | | | | | | | | | | | Dropdown for merge Closes #2214 See merge request GNOME/gtk!1992
| * Add some tests for new GtkBuilder syntaxMatthias Clasen2020-05-3016-0/+76
| | | | | | | | | | Some valid and invalid examples for <closure>, <lookup> and <constant>.
| * docs: Update the list widget overviewMatthias Clasen2020-05-301-3/+3
| | | | | | | | | | Fill in the GtkComboBox and GtkCellView replacements in the quick reference table.
| * gtk-demo: Add a large grid demoMatthias Clasen2020-05-304-0/+9921
| | | | | | | | This is similar to the flowbox demo, but much bigger.
| * inspector: Use dropdowns in the visual pageMatthias Clasen2020-05-302-44/+85
| | | | | | | | Convert everything in the visual page to dropdowns.
| * inspector: Use a dropdown for size groupsMatthias Clasen2020-05-301-15/+16
| | | | | | | | Use a GtkDropDown for the modes of size groups.
| * inspector: Use a dropdown for controllersMatthias Clasen2020-05-301-13/+18
| | | | | | | | Use a GtkDropDown for the phases of event controllers.
| * inspector: Use a dropdown for attribute mappingMatthias Clasen2020-05-301-25/+97
| | | | | | | | Use a GtkDropDown for the attribute mapping editor.
| * inspector: Use dropdowns in property editorMatthias Clasen2020-05-301-21/+17
| | | | | | | | Replace combo boxes by dropdowns in the property editor.
| * filechooser: Use a dropdown for choicesMatthias Clasen2020-05-301-10/+25
| |
| * filechooser: Use a dropdown for the filter comboMatthias Clasen2020-05-302-56/+58
| | | | | | | | Replace an internal use of GtkComboBox with GtkDropDown.
| * Add GtkDropDownMatthias Clasen2020-05-3012-0/+1743
| | | | | | | | This is a simple drop down control using list models.
* | Merge branch 'listview-for-merge' into 'master'Matthias Clasen2020-05-31160-2270/+98927
|\ \ | |/ | | | | | | | | | | Listview for merge Closes #2214 See merge request GNOME/gtk!1991
| * xxx: isnanf() is some wtfBenjamin Otte2020-05-301-0/+12
| |
| * builderlistitemfactory: Precompile the xmlMatthias Clasen2020-05-301-4/+28
| | | | | | | | | | | | This is the one place where we can really take advantage of precompiling, since we instantiate this template over and over.
| * gtk-demo: Use single-click-activate for minesweeperMatthias Clasen2020-05-301-0/+1
| | | | | | | | The explanation say we do, so do it.
| * Spread single-click-activate apiMatthias Clasen2020-05-305-0/+135
| | | | | | | | | | This makes sense to have in all the views, not just GtkListView.
| * docs: Add a listview overview sectionMatthias Clasen2020-05-304-5/+111
| | | | | | | | | | | | | | Add a conceptual overview for all the listmodel-based widgets. Fixes: #2214
| * gtk-demo: Add filtering to the settings demoMatthias Clasen2020-05-302-21/+101
| | | | | | | | A demo of filtering with lists was missing so far.
| * gtk-demo: Demo columnview sortingMatthias Clasen2020-05-302-8/+22
| | | | | | | | Enhance the settings demo to have a sortable column.
| * gtk-demo: Cosmetic improvements to the listview demosMatthias Clasen2020-05-304-3/+11
| | | | | | | | | | Set default sizes, window titles and add more detail to the descriptions.
| * gtk-builder-tool: Minimally validate <binding>Matthias Clasen2020-05-301-11/+26
| | | | | | | | Check that the toplevel property name is legit.
| * testsuite: Add tests for GtkTreeListSorterBenjamin Otte2020-05-302-0/+266
| |
| * Add GtkTreeListRowSorterMatthias Clasen2020-05-308-1/+405
| | | | | | | | | | | | This is a special-purpose sorter that can apply the sorting of another sorter to the levels of a GtkTreeListModel.
| * testcolumnview: Add sortersBenjamin Otte2020-05-301-35/+97
| |
| * column view title: Show sort indicatorsMatthias Clasen2020-05-301-4/+70
| |
| * columnview: Add a sort-by apiMatthias Clasen2020-05-305-1/+84
| |
| * columnview: Add sortingMatthias Clasen2020-05-3012-1/+509
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a somewhat large commit that: - Adds GtkColumnViewSorter This is a special-purpose, private sorter implementation which sorts according to multiple sorters, allowing each individual sorter to be inverted. This will be used with clickable column view headers. - Adds a read-only GtkColumnView::sorter property The GtkColumnView creates a GtkColumnViewSorter at startup that it uses for this property. - Adds a writable GtkColumnViewColumn::sorter property This allows defining per-column sorters. Whenever an application sets a sorter for a column, the header becomes clickable and whenever a header is clicked, that column's sorter is prepended to the list of sorters, unless it is already the first sorter, in which case we invert its order. No column can be in the list more than once.
| * listview: Add single-click-activateMatthias Clasen2020-05-303-0/+68
| | | | | | | | Add a single-click-activate property to GtkListView.
| * listitemwidget: Add single-click-activateMatthias Clasen2020-05-304-1/+91
| | | | | | | | | | | | | | Add a mode to GtkListItemWidget that activates on single click and selects on hover. Make GtkListItemManager set this on its items when its own 'property' of the same name is set.
| * builder-tool: Pass through CDATA where it makes senseMatthias Clasen2020-05-301-20/+42
| | | | | | | | | | This avoids a ton of escaping for GtkBuilderListItemFactory::bytes.
| * docs: Reorganize list widgets in their own chapterMatthias Clasen2020-05-301-3/+14
| |
| * fontchooserwidget: Port to listmodelsBenjamin Otte2020-05-302-715/+327
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The port is kind of evil, in that it stores either a PangoFontFamily or a PangoFontFace in the list, depending on if the fontchooser is configured to select fonts or faces. It also does not cache the font description anymore, so more calls to pango_font_describe() may happen. If both of these issues turn out problematic, the fontchooser would need to resurrect GtkDelayedFontDescription again and put objects of that type through the model. These changes depend on Pango 1.46's introduction of listmodels and various new getters, so the dependency has been upgraded.
| * Add some tests for expression bindingMatthias Clasen2020-05-301-0/+305
| | | | | | | | In particular, test that expressios can deal with object == this.
| * expression: Allow passing a this object to bind()Benjamin Otte2020-05-306-45/+94
| | | | | | | | This gives a bit more control over the arguments passed to expressions.
| * gtk-demo: Add a Clocks demoBenjamin Otte2020-05-303-1/+490
| | | | | | | | | | | | This demo is meant to showcase expressions. It also needs the fixes in glib 2.64 to work properly.
| * xxx: Add a hack to make paintables transform to/from objectsBenjamin Otte2020-05-301-0/+13
| | | | | | | | See also: https://gitlab.gnome.org/GNOME/glib/merge_requests/1251
| * inspector: Remove private struct for prop editorBenjamin Otte2020-05-302-126/+104
| |
| * inspector: Make Controller page a GtkWidgetBenjamin Otte2020-05-302-19/+34
| |
| * inspector: Remove private struct from controllersBenjamin Otte2020-05-302-60/+46
| |
| * columnview: Add headerBenjamin Otte2020-05-308-11/+291
| | | | | | | | | | | | | | This uses a custom GtkColumnViewTitle widget. So far that widget is pretty boring, but that will change once we added resizing, reordering, dnd, sorting, hiding/showing of columns or whatever UIs we want.
| * tests: Add testcolumnviewBenjamin Otte2020-05-302-0/+701
| |
| * columnview: Add a custom LayoutManagerBenjamin Otte2020-05-3011-32/+354
| | | | | | | | | | | | The ColumnView now allocates column widths first and then the individual rows use the new layout manager which looks at the column allocations to allocate their children.
| * constraint-editor: Don't poke around in widget internalsBenjamin Otte2020-05-301-56/+0
| |
| * columnview: Fix styling with AdwaitaBenjamin Otte2020-05-301-2/+6
| | | | | | | | | | - Use "treeview" as the node name - Add .view style class
| * inspector: Port object tree to GtkColumnViewBenjamin Otte2020-05-302-106/+199
| |