Skip to content

gui_toolkit 0.72.0

Choose a tag to compare

@sachahjkl sachahjkl released this 03 Nov 23:28
· 919 commits to master since this release
v0.72.0
9dc3b8c

Superseded by v0.73.0: this version's base package clashes with an application's own package base (Wren cannot build against it). Use v0.73.0, where the helpers are the ascii package.

Fixed

  • ASCII case for names and protocols: strings.to_lower, to_upper and equal_fold of Odin dev-2026-11 fold by Unicode (the Kelvin sign U+212A is k to them, the long s U+017F s), where names and protocols want ASCII. New in base (base/text.odin): ascii_lower, ascii_upper, ascii_lower_byte / ascii_upper_byte, ascii_equal_fold, ascii_has_prefix_fold, ascii_contains_fold. Switched to them: the DevTools server's header names and Host (Ho\u017Ft: is no Host, localho\u017Ft no localhost), CSS colour keywords, nodeName, the accessibility roles and actions; font family names as cache keys (Windows, Linux, macOS) and fontconfig's / Core Text's answer checked against the family asked for (DejaVu San\u017F no longer loads DejaVu Sans); preference booleans; the GTK theme name, file extensions for MIME types on Linux; the changelog tool's type and slugs, tk's checksums and emoji version line, run_tests' groups, the examples' option names. Unicode stays for user text (find in page, fuzzy matching, type-ahead, the settings' and DevTools' searches, the test session's text lookups), display text and Windows paths. Lint tests/unicode_case (a step of run_tests): a call of strings.to_lower / to_upper / equal_fold or unicode.to_lower / to_upper in the toolkit's sources fails unless tools/unicode_case_allowed.txt lists its line with why; an entry that matches no line fails too.