stash/vendor/golang.org/x
SmallCoccinelle 41a1fb8aec
Add collation to directory listings (#1823)
* Add collation to directory listings. Closes #1806

Introduce a new `locale` arg to the `Query.directory` field. Set "en"
as the default for the field for backward compatibility. Use the given
locale, sending it through a language matcher, and use `x/text` as the
collation engine for the matched language.

Augment the file `ListDirs` call to optionally take a Collator. If the
Collator is given, sort file listings according to the collators rules.

While here, document the GraphQL schema a bit more.

Add matchers by looking at the current front-end locales, and make sure
each of these occur in the matcher list.

* Language matcher touchups

* Avoid having `en-US` twice.
* Introduce `en-AU`.

* Pass IgnoreCase and Numeric collation

Allow the collator to be configured with options. Pass the options
IgnoreCase and Numeric to the collator.
2021-10-14 15:16:45 +11:00
..
crypto Changes to Default Performer Images (for Accessibility) (#1489) 2021-08-10 13:51:31 +10:00
image Upgrade x/image (#1248) 2021-04-01 16:43:42 +11:00
mod Replace packr with go embed (#1751) 2021-09-22 13:08:34 +10:00
net Replace packr with go embed (#1751) 2021-09-22 13:08:34 +10:00
sys Replace packr with go embed (#1751) 2021-09-22 13:08:34 +10:00
term Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00
text Add collation to directory listings (#1823) 2021-10-14 15:16:45 +11:00
tools Replace packr with go embed (#1751) 2021-09-22 13:08:34 +10:00
xerrors Apple Silicon Support, Bump Go to 1.17, refactor docker/build/x86_64/Dockerfile (#1646) 2021-09-08 15:30:15 +10:00