Repository navigation
Immutable
release. Only release title and notes can be modified.
Fixed
- A DataGrid with a pager or the CRUD toolbar fits a narrow parent (#1368).
The pager and the toolbar were plain rows of single-line texts and fixed-width
buttons, so the grid could not be narrower than the row. In a narrow parent,
such as a phone screen, the grid stuck out past the parent's end, and the
vertical scrollbar and the end of the bar could not be reached. The width also
changed with the text: one added row changed the status to "Draft 1 Dirty 1
Delete 0" and made the grid wider. Now the grid takes its parent's width, and
each bar scrolls sideways when its content does not fit. Scroll with the wheel
or the trackpad. The bar's scrollbar shows under the pointer. Keyboard focus
does not yet scroll a hidden button of the bar into view. - Tabs reorder and take arrow keys correctly under right-to-left (#1359). In
aTabControlwithReorderable: trueunder an RTL locale, a tab dragged
past its neighbours did not move. The drop slot was found as if the tabs ran
left to right. Now the tab lands where the pointer is, as under LTR. During a
drag the floating copy of the tab was drawn on the opposite side of the strip,
because its position was mirrored. It now stays under the pointer. This also
applies to the floating row in a reorderableListBoxandTree. The arrow
keys now go the way they point: under RTL, Left selects the tab to the left,
which is the next one, and Alt+Left moves the tab to the left. This also
applies toSegmentedControl. Up, Down, Home and End keep reading order. A
window resize during a drag now cancels the drag, in either direction. A drag
records the tab positions when it starts, and a resize moves them, so the drop
slot and the floating tab would no longer follow the pointer. - The End caret on a soft-wrapped right-to-left line is on the correct edge
(#1371). Press End on a wrapped Hebrew line and the caret now goes after the
last letter, at the left edge of the line. Before, it went to the right edge,
where the line starts. The caret comes from go-glyph
Layout.LineEndCursorPos. - A Canvas child sits at its own X under every alignment and text direction
(#1358). ACanvasadded its horizontal alignment to each child's X, so
each child moved right by its own share of the free space. Children of
different widths moved by different amounts. Under a right-to-left locale the
default alignment resolves to the right, so this happened with noHAlign
set: inexamples/2048most tiles were drawn outside the board. The scroll
range and theFitsize did not count the shift. NowHAlignhas no effect
on a Canvas, asVAlignalready had none. Under RTL a Canvas also took its
left inset fromPadding.Right, as a column does. It now usesPadding.Left,
so its children use left-to-right coordinates, as its scroll offset already
did. An app that setHAlign: gui.HAlignLefton a Canvas to work around this
can remove it.
Changed
- go-glyph v1.30.0.
- iOS draws with the macOS Metal renderer (#1342). The iOS backend's own cgo
renderer (metal_darwin.m) and its copy of the draw code are gone. iOS now
uses the purego renderer that macOS uses, so a renderer fix lands on both at
once. On the simulator a frame takes about a third of the main-thread time it
did, and the draw path makes no allocations (121 a frame before), because the
frame no longer waits for the GPU to schedule it. Keychain and locale on iOS
use the macOS purego code too. The iOS package API does not change, and an iOS
build still needsCGO_ENABLED=1: purego needs cgo on iOS, and the UIKit
shell stays cgo. - Bump indirect Go dependencies (regexp2, mewkiz/pkg).
github.com/dlclark/regexp2/v2goes from v2.13.2 to v2.13.3 (pulled in by
chroma for code highlighting) andgithub.com/mewkiz/pkgto its latest commit
(pulled in by beep's FLAC decoder). The public API does not change. - CI uses
actions/checkout@v7andactions/setup-go@v7. The workflows and
the shared setup action track the new major versions; no workflow input
changes.
What's Changed
Other changes
- changelog: add v0.100.0 by @mike-ward in #1370
- fix: put the soft-wrap End caret on the trailing edge of RTL lines (#1371) by @mike-ward in #1372
- refactor(ios): draw with the shared purego Metal renderer (#1342) by @mike-ward in #1373
- fix: Canvas places each child at its own X under any alignment (#1358) by @mike-ward in #1374
- fix: tabs reorder and take arrow keys correctly under RTL (#1359) by @mike-ward in #1375
- fix: DataGrid pager and CRUD toolbar keep a narrow parent's width (#1368) by @mike-ward in #1376
- docs: fix stale Claude config references and align skills by @mike-ward in #1377
- chore: archive released changelog entries and update dependencies by @mike-ward in #1379
- changelog: add v0.100.1 by @mike-ward in #1380
Full Changelog: v0.100.0...v0.100.1