summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* flattenlistmodel: Make the constructor transfer fullflatten-list-constructorMatthias Clasen2020-07-2612-76/+30
| | | | | | | This is for consistency with other wrapping list constructors. We want them all to be transfer full, allow-none. Update all callers.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-261-0/+14
|\ | | | | | | | | overlaylayout: Document minimally See merge request GNOME/gtk!2285
| * overlaylayout: Document minimallyMatthias Clasen2020-07-251-0/+14
|/ | | | | | This layout manager is not reusable, but we still need to make its layout properties show up in the docs.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-2528-261/+205
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2284
| * gtk: Improve struct packing in placesMatthias Clasen2020-07-2516-39/+42
| | | | | | | | | | | | Plug some holes in our structs by rearranging a few fields. This is was done looking at pahole output.
| * gdk: Improve struct packing in placesMatthias Clasen2020-07-255-9/+7
| | | | | | | | | | | | Plug some holes in our structs by rearranging a few fields. This is was done looking at pahole output.
| * colorswatch: Remove unused radius fieldsMatthias Clasen2020-07-251-1/+0
| | | | | | | | The radius fields are never used.
| * hsla: Just store floatsMatthias Clasen2020-07-253-25/+25
| | | | | | | | | | | | | | | | | | | | We are using floats for rgb, and we don't need more precision for hsl colors either. We use hsl for computing color expressions like shade(), lighter() and darker(), which are not precisely specified anyway. This commit updates the one test where the output changes a tiny bit due to this.
| * headerbar: Drop the Private structMatthias Clasen2020-07-251-114/+78
| |
| * colorplane: Drop the Private struct and paddingMatthias Clasen2020-07-242-73/+53
|/
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-255-4/+157
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2283
| * Add another sortlistmodel testMatthias Clasen2020-07-241-0/+18
| | | | | | | | This tests the crash fix in f7b73b2e010960975.
| * testsuite: Add an incremental sort testMatthias Clasen2020-07-241-1/+106
| | | | | | | | | | Add a test that makes changes to a model while it is incrementally sorted.
| * timsort: Avoid a crashMatthias Clasen2020-07-241-1/+1
| | | | | | | | | | | | We need to clear the pointer after freeing the data, since the sortlistmodel keeps its timsort structure around and reuses it.
| * testsuite: Use better names for sortlistmodel testsMatthias Clasen2020-07-241-1/+27
| | | | | | | | Name the tests for what they do.
| * testsuite: Reenable tests for incremental sortMatthias Clasen2020-07-241-1/+1
| | | | | | | | This was unintentionally disabled.
| * sortlistmodel: Fix a crashMatthias Clasen2020-07-241-0/+3
| |
| * dropdown: Fix popup sizingMatthias Clasen2020-07-241-0/+1
| | | | | | | | | | | | | | | | Setting a width request is not quite enough, since gtk_widget_set_size_request() only queues a resize when the widget is visible. Explicitly force one here. Without this, the popup sometimes shows up too small.
* | Merge branch 'wip/otte/types' into 'master'Matthias Clasen2020-07-24929-14150/+14147
|\ \ | | | | | | | | | | | | Get rid of unneeded glib types See merge request GNOME/gtk!2282
| * | Replace "gdouble" with "double"Benjamin Otte2020-07-25234-1768/+1766
| | |
| * | Replace "gfloat" with "float"Benjamin Otte2020-07-2529-69/+69
| | |
| * | Replace "gchar" with "char"Benjamin Otte2020-07-25667-4964/+4964
| | |
| * | Replace "gint" with "int"Benjamin Otte2020-07-25628-7362/+7361
|/ /
* | Merge branch 'remove-align-widget' into 'master'Matthias Clasen2020-07-243-88/+0
|\ \ | |/ |/| | | | | menubutton: Remove align-widget property See merge request GNOME/gtk!2280
| * menubutton: Remove align-widget propertyFlorian Müllner2020-07-243-88/+0
|/ | | | | The property has been unused since commit 8701e34f749. That was four years ago, so it's safe to say that nobody has been missing it terribly.
* Merge branch 'fix-gdk-array-msvc' into 'master'Timm Bäder2020-07-241-2/+2
|\ | | | | | | | | gdk/gdkarrayimpl.c: Fix build on Visual Studio See merge request GNOME/gtk!2279
| * gdk/gdkarrayimpl.c: Fix build on Visual StudioChun-wei Fan2020-07-241-2/+2
|/ | | | | It seems like initializing something to an empty array using `{}` is a GCCism, so just stuff a 0 within the braces to accomplish the same thing.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-244-2/+11
|\ | | | | | | | | | | | | filechooser: Remove a leftover signal emission Closes #2942 See merge request GNOME/gtk!2276
| * docs: Work around escaping bugsMatthias Clasen2020-07-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is truly a russian doll of documentation formats: a string containing <> inside an xml fragment in an |[ ]| gtk-doc example in markdown in a doc comment. Sadly, something gets escaping wrong, so the <> end up literally in the docbook and mess up the last step of our document formatting, even after turning them into entities. Work around this with an extra level of entities that really shouldn't be necessary.
| * docs: Pass --standalone to pandocMatthias Clasen2020-07-231-0/+1
| | | | | | | | | | | | | | | | | | This flag causes pandoc to emit a proper doctype declaration and, crucially, namespace declarations for the xlink namespace that it insists on using for href attributes. Without this, putting external links in md documents doesn't survive the journey through xml.
| * docs: Improve shortcut trigger docsMatthias Clasen2020-07-231-0/+4
| | | | | | | | Point out the need to escape <> in xml.
| * docs: Explain the shortcutcontroller example a bitMatthias Clasen2020-07-231-1/+6
| | | | | | | | | | Add a reference to the the syntax for shortcut actions in builder files.
| * filechooser: Remove a leftover signal emissionMatthias Clasen2020-07-231-1/+0
|/ | | | | | | | Commit 0145809a94667c75ed4a4 replace the response-requested signal with an action, but didn't actually remove the emission of that no-longer-existing signal. Fixes: #2942
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2020-07-234-32/+2
|\ | | | | | | | | Wip/otte/for master See merge request GNOME/gtk!2277
| * searchenginemodel: Remove unused codeBenjamin Otte2020-07-231-3/+0
| |
| * searchengine: Remove unused set_recursive() callBenjamin Otte2020-07-233-29/+2
|/
* Update Romanian translationFlorentina Mușat2020-07-231-120/+125
|
* Update Romanian translationFlorentina Mușat2020-07-231-173/+185
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-07-232-2/+64
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2275
| * NEWS: UpdatesMatthias Clasen2020-07-221-0/+9
| |
| * migration guide: Add some tablesMatthias Clasen2020-07-221-2/+55
|/ | | | | | Add a table mapping event signals to their event controller replacements, and a table mapping former GtkContainer subclasses to their gtk_container_add replacement.
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2020-07-221-0/+2
|\ | | | | | | | | timsort: Actually 0-terminate the array in get_runs() See merge request GNOME/gtk!2274
| * timsort: Actually 0-terminate the array in get_runs()Benjamin Otte2020-07-221-0/+2
|/ | | | | This could cause SEGVs when changing the sort during an ongoing sort operation.
* Update Ukrainian translationYuri Chornoivan2020-07-221-117/+126
|
* Update Ukrainian translationYuri Chornoivan2020-07-221-2891/+198
|
* Merge branch 'wip/otte/sortlistmodel2' into 'master'Matthias Clasen2020-07-2222-250/+4172
|\ | | | | | | | | Massively refactor and improve sortlistmodel See merge request GNOME/gtk!2273
| * gtk-demo: Add a progress bar when the colors demo resortsBenjamin Otte2020-07-221-24/+40
| |
| * sortlistmodel: Add progress estimationBenjamin Otte2020-07-223-0/+73
| |
| * timsort: Add progress estimationBenjamin Otte2020-07-222-0/+47
| |
| * sortlistmodel: Make key generation part of the step functionBenjamin Otte2020-07-221-21/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SSave the missing keys as a bitset and iterate over that bitset in the step function. Solves the problem with a large UI block at the beginning of a sort operation when all the keys were generated, in particular when key generation was slow. Benchmarks for maximum time taken by a single main loop callback: initial sort with complex GFileInfo keys old new 32,000 items 137ms 3ms 128,000 items 520ms 31ms initial sort with string keys old new 32,000 items 187ms 1ms 128,000 items 804ms 3ms