summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wip: incremental sortincremental-sortMatthias Clasen2020-07-075-3/+667
|
* gtk: Add a different sortmodel implementationBenjamin Otte2020-07-074-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 sortersBenjamin Otte2020-07-071-3/+63
| | | | | This is just the existing sorters, but without the overhead of GObject properties.
* sorter: Remove a return_if_fail()Benjamin Otte2020-07-071-1/+2
| | | | It's too expsensive.
* xxx: vector_set_sizeBenjamin Otte2020-07-071-1/+1
|
* testsuite: Add some vector performance testsBenjamin Otte2020-07-072-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 stackBenjamin Otte2020-07-071-21/+32
|
* vector: Add a bunch of new featuresBenjamin Otte2020-07-071-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 GtkVectorBenjamin Otte2020-07-071-25/+30
|
* vector: Add null-terminationBenjamin Otte2020-07-073-11/+81
|
* snapshot: Port node list to vectorBenjamin Otte2020-07-071-13/+15
|
* snapshot: Move structs into .c fileBenjamin Otte2020-07-072-70/+70
| | | | They aren't used anywhere else.
* Remove preallocated array codeBenjamin Otte2020-07-071-137/+0
| | | | Now with GtkVector, we can use that one instead.
* main: Use a GtkVectorBenjamin Otte2020-07-071-20/+24
|
* cssselector: Use GtkVectorBenjamin Otte2020-07-073-38/+38
|
* Add GtkVectorBenjamin Otte2020-07-074-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 translationDaniel Șerbănescu2020-07-061-9/+22
|
* Update Romanian translationDaniel Șerbănescu2020-07-061-87/+98
|
* Update Catalan translationJordi Mas2020-07-062-600/+576
|
* Merge branch 'wip/otte/filterlistmodel' into 'master'Matthias Clasen2020-07-0612-362/+1090
|\ | | | | | | | | Improve GtkFilterListModel See merge request GNOME/gtk!2199
| * testsuite: Add more filterlistmodel testsBenjamin Otte2020-07-062-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 Otte2020-07-066-13/+13
| |
| * bitset: Don't overflow when splicingBenjamin Otte2020-07-062-1/+14
| | | | | | | | Testcase added.
| * gtk-demo: Use a progressbar in the words demoMatthias Clasen2020-07-061-12/+21
| | | | | | | | This looks better and a bit more polished.
| * gtk-demo: No selection in the words demoMatthias Clasen2020-07-061-1/+4
| | | | | | | | | | This demo is about filtering, not about selection, so use a GtkNoSelection.
| * gtk-demo: Cosmetic fixes for the words demoMatthias Clasen2020-07-061-2/+5
| | | | | | | | | | Set a window size, and don't put newlines in titles, left align and ellipsize the label.
| * demo: Make words listview load asyncBenjamin Otte2020-07-061-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 changeBenjamin Otte2020-07-061-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 demoBenjamin Otte2020-07-061-9/+16
| |
| * filterlistmodel: Add gtk_filter_list_model_get_pending()Benjamin Otte2020-07-063-0/+54
| | | | | | | | This allows tracking if the model is busy filtering.
| * filterlistmodel: Add incremental filteringBenjamin Otte2020-07-063-54/+225
| |
| * filterlistmodel: Rewrite with bitset data structureBenjamin Otte2020-07-061-354/+103
| | | | | | | | | | Bitsets are more powerful, less memory intensive and faster than the old GtkRbTree version.
| * gtk-demo: Add a listview demo for filtering stringsBenjamin Otte2020-07-063-0/+114
| |
* | Merge branch 'file-chooser-api-cleanups' into 'master'Matthias Clasen2020-07-0614-201/+308
|\ \ | | | | | | | | | | | | File chooser api cleanups See merge request GNOME/gtk!2195
| * | filechooser: Add a readonly :shortcut-folders propertyMatthias Clasen2020-07-065-1/+32
| | | | | | | | | | | | | | | This makes the shortcut folders list accessible in the the inspector.
| * | filechooser: Add gtk_file_chooser_get_shortcutsMatthias Clasen2020-07-068-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 propertyMatthias Clasen2020-07-065-9/+38
| | | | | | | | | | | | | | | This makes the filters list accessible in the the inspector.
| * | filechooser: Add gtk_file_chooser_get_filtersMatthias Clasen2020-07-0610-100/+146
| | | | | | | | | | | | | | | | | | | | | Replace gtk_file_chooser_list_filters with a new api that returns a list model. Update all callers.
| * | filefilter: CosmeticsMatthias Clasen2020-07-051-117/+98
| | |
| * | filefilter: Header file cosmeticsMatthias Clasen2020-07-051-13/+13
| | |
* | | Update Catalan translationJordi Mas2020-07-061-2113/+2776
| | |
* | | Update Catalan translationJordi Mas2020-07-061-2131/+2135
| | |
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-062-161/+111
|\ \ \ | | | | | | | | | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2198
| * | | filefilter: CosmeticsMatthias Clasen2020-07-052-130/+111
| |/ / | | | | | | | | | Various cleanups to make this code look less ancient.
| * | filefilter: Fix an embarrassing oversightMatthias Clasen2020-07-051-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 Clasen2020-07-059-483/+313
|\ \ | |/ |/| | | | | Make GtkFileFilter a GtkFilter See merge request GNOME/gtk!2190
| * filefilter: Cleanups and optimizationsMatthias Clasen2020-07-051-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 docsMatthias Clasen2020-07-052-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_filterMatthias Clasen2020-07-055-27/+7
| | | | | | | | It has been superseded by gtk_filter_match.
| * Stop using gtk_file_filter_filterMatthias Clasen2020-07-052-2/+2
| | | | | | | | | | | | Make all users of GtkFileFilter use it via the GtkFilter api. This is in preparation for dropping gtk_filter_filter_filter.