Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wip: incremental sortincremental-sort | Matthias Clasen | 2020-07-07 | 5 | -3/+667 |
| | |||||
* | gtk: Add a different sortmodel implementation | Benjamin Otte | 2020-07-07 | 4 | -0/+503 |
| | | | | | This is the dumbest possible sortmodel using an array: Just grab all the items, put them in the array, qsort() the array. | ||||
* | demo: Add faster sorters | Benjamin Otte | 2020-07-07 | 1 | -3/+63 |
| | | | | | This is just the existing sorters, but without the overhead of GObject properties. | ||||
* | sorter: Remove a return_if_fail() | Benjamin Otte | 2020-07-07 | 1 | -1/+2 |
| | | | | It's too expsensive. | ||||
* | xxx: vector_set_size | Benjamin Otte | 2020-07-07 | 1 | -1/+1 |
| | |||||
* | testsuite: Add some vector performance tests | Benjamin Otte | 2020-07-07 | 2 | -0/+444 |
| | | | | | They're not very conclusive though, because the testing isn't fine-grained enough for these microbenchmarks. | ||||
* | snapshot: Use GtkVector for the state stack | Benjamin Otte | 2020-07-07 | 1 | -21/+32 |
| | |||||
* | vector: Add a bunch of new features | Benjamin Otte | 2020-07-07 | 1 | -13/+52 |
| | | | | | | | | | * GTK_VECTOR_BY_VALUE #define this to get GArrray-like behavior * gtk_vector_splice (v, 0, 0, NULL, 25) Adding items but passing NULL as the items will zero() them. * gtk_vector_set_size() A nicer way to call gtk_vector_splice() | ||||
* | icontheme: Use GtkVector | Benjamin Otte | 2020-07-07 | 1 | -25/+30 |
| | |||||
* | vector: Add null-termination | Benjamin Otte | 2020-07-07 | 3 | -11/+81 |
| | |||||
* | snapshot: Port node list to vector | Benjamin Otte | 2020-07-07 | 1 | -13/+15 |
| | |||||
* | snapshot: Move structs into .c file | Benjamin Otte | 2020-07-07 | 2 | -70/+70 |
| | | | | They aren't used anywhere else. | ||||
* | Remove preallocated array code | Benjamin Otte | 2020-07-07 | 1 | -137/+0 |
| | | | | Now with GtkVector, we can use that one instead. | ||||
* | main: Use a GtkVector | Benjamin Otte | 2020-07-07 | 1 | -20/+24 |
| | |||||
* | cssselector: Use GtkVector | Benjamin Otte | 2020-07-07 | 3 | -38/+38 |
| | |||||
* | Add GtkVector | Benjamin Otte | 2020-07-07 | 4 | -0/+397 |
| | | | | | | This is a scary idea where you #define a bunch of preprocessor values and then #include "gtkvectorimpl.c" and end up with a dynamic array for that data type. | ||||
* | Update Romanian translation | Daniel Șerbănescu | 2020-07-06 | 1 | -9/+22 |
| | |||||
* | Update Romanian translation | Daniel Șerbănescu | 2020-07-06 | 1 | -87/+98 |
| | |||||
* | Update Catalan translation | Jordi Mas | 2020-07-06 | 2 | -600/+576 |
| | |||||
* | Merge branch 'wip/otte/filterlistmodel' into 'master' | Matthias Clasen | 2020-07-06 | 12 | -362/+1090 |
|\ | | | | | | | | | Improve GtkFilterListModel See merge request GNOME/gtk!2199 | ||||
| * | testsuite: Add more filterlistmodel tests | Benjamin Otte | 2020-07-06 | 2 | -0/+480 |
| | | | | | | | | | | | | | | These ones try to be exhaustive and randomly catch weird cases. As such, the tests are more complicated and harder to grasp. Sorry. | ||||
| * | bitset: Fix typo: gtk_bitset_slice() => gtk_bitset_splice() | Benjamin Otte | 2020-07-06 | 6 | -13/+13 |
| | | |||||
| * | bitset: Don't overflow when splicing | Benjamin Otte | 2020-07-06 | 2 | -1/+14 |
| | | | | | | | | Testcase added. | ||||
| * | gtk-demo: Use a progressbar in the words demo | Matthias Clasen | 2020-07-06 | 1 | -12/+21 |
| | | | | | | | | This looks better and a bit more polished. | ||||
| * | gtk-demo: No selection in the words demo | Matthias Clasen | 2020-07-06 | 1 | -1/+4 |
| | | | | | | | | | | This demo is about filtering, not about selection, so use a GtkNoSelection. | ||||
| * | gtk-demo: Cosmetic fixes for the words demo | Matthias Clasen | 2020-07-06 | 1 | -2/+5 |
| | | | | | | | | | | Set a window size, and don't put newlines in titles, left align and ellipsize the label. | ||||
| * | demo: Make words listview load async | Benjamin Otte | 2020-07-06 | 1 | -8/+115 |
| | | | | | | | | | | And add an "Open" button (why are filechooser buttons such a catastrophe that I can't make them smaller?). | ||||
| * | filterlistmodel: Look at type of change | Benjamin Otte | 2020-07-06 | 1 | -3/+21 |
| | | | | | | | | | | This way we can avoid refiltering most of an already filtered list when the change becomes more strict. | ||||
| * | gtk-demo: Add incremental filtering to words demo | Benjamin Otte | 2020-07-06 | 1 | -9/+16 |
| | | |||||
| * | filterlistmodel: Add gtk_filter_list_model_get_pending() | Benjamin Otte | 2020-07-06 | 3 | -0/+54 |
| | | | | | | | | This allows tracking if the model is busy filtering. | ||||
| * | filterlistmodel: Add incremental filtering | Benjamin Otte | 2020-07-06 | 3 | -54/+225 |
| | | |||||
| * | filterlistmodel: Rewrite with bitset data structure | Benjamin Otte | 2020-07-06 | 1 | -354/+103 |
| | | | | | | | | | | Bitsets are more powerful, less memory intensive and faster than the old GtkRbTree version. | ||||
| * | gtk-demo: Add a listview demo for filtering strings | Benjamin Otte | 2020-07-06 | 3 | -0/+114 |
| | | |||||
* | | Merge branch 'file-chooser-api-cleanups' into 'master' | Matthias Clasen | 2020-07-06 | 14 | -201/+308 |
|\ \ | | | | | | | | | | | | | File chooser api cleanups See merge request GNOME/gtk!2195 | ||||
| * | | filechooser: Add a readonly :shortcut-folders property | Matthias Clasen | 2020-07-06 | 5 | -1/+32 |
| | | | | | | | | | | | | | | | This makes the shortcut folders list accessible in the the inspector. | ||||
| * | | filechooser: Add gtk_file_chooser_get_shortcuts | Matthias Clasen | 2020-07-06 | 8 | -96/+97 |
| | | | | | | | | | | | | | | | | | | | | | Replace gtk_file_chooser_list_shortcuts with a new api that returns a list model. Update all callers. | ||||
| * | | filechooser: Add a readonly :filters property | Matthias Clasen | 2020-07-06 | 5 | -9/+38 |
| | | | | | | | | | | | | | | | This makes the filters list accessible in the the inspector. | ||||
| * | | filechooser: Add gtk_file_chooser_get_filters | Matthias Clasen | 2020-07-06 | 10 | -100/+146 |
| | | | | | | | | | | | | | | | | | | | | | Replace gtk_file_chooser_list_filters with a new api that returns a list model. Update all callers. | ||||
| * | | filefilter: Cosmetics | Matthias Clasen | 2020-07-05 | 1 | -117/+98 |
| | | | |||||
| * | | filefilter: Header file cosmetics | Matthias Clasen | 2020-07-05 | 1 | -13/+13 |
| | | | |||||
* | | | Update Catalan translation | Jordi Mas | 2020-07-06 | 1 | -2113/+2776 |
| | | | |||||
* | | | Update Catalan translation | Jordi Mas | 2020-07-06 | 1 | -2131/+2135 |
| | | | |||||
* | | | Merge branch 'matthiasc/for-master' into 'master' | Matthias Clasen | 2020-07-06 | 2 | -161/+111 |
|\ \ \ | | | | | | | | | | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2198 | ||||
| * | | | filefilter: Cosmetics | Matthias Clasen | 2020-07-05 | 2 | -130/+111 |
| |/ / | | | | | | | | | | Various cleanups to make this code look less ancient. | ||||
| * | | filefilter: Fix an embarrassing oversight | Matthias Clasen | 2020-07-05 | 1 | -31/+0 |
|/ / | | | | | | | | | I forgot to remove some dead code, and left the pixbuf_formats list in the rule union. Oops. | ||||
* | | Merge branch 'file-filter2' into 'master' | Matthias Clasen | 2020-07-05 | 9 | -483/+313 |
|\ \ | |/ |/| | | | | | Make GtkFileFilter a GtkFilter See merge request GNOME/gtk!2190 | ||||
| * | filefilter: Cleanups and optimizations | Matthias Clasen | 2020-07-05 | 1 | -120/+136 |
| | | | | | | | | | | | | | | | | Make mime-type rules hold multiple types. Store the content types, so we don't have to do mime-type -> content-type conversion in the match function. Store content types for the pixbuf-formats rule as well, so we can avoid memory allocation in the match function altogether. | ||||
| * | docs: Cleanups for the file filter docs | Matthias Clasen | 2020-07-05 | 2 | -24/+29 |
| | | | | | | | | | | | | Now that GtkFileFilter is a GtkFilter, move it to the filter section of the docs. While we are at it, touch up the docs in some places. | ||||
| * | Drop gtk_file_filter_filter | Matthias Clasen | 2020-07-05 | 5 | -27/+7 |
| | | | | | | | | It has been superseded by gtk_filter_match. | ||||
| * | Stop using gtk_file_filter_filter | Matthias Clasen | 2020-07-05 | 2 | -2/+2 |
| | | | | | | | | | | | | Make all users of GtkFileFilter use it via the GtkFilter api. This is in preparation for dropping gtk_filter_filter_filter. |