$ the-wire · showcase
Flutter fixes RTL web text spans, Swift patches a mirror read that reported failures as success
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
A Flutter web text layout bug that misordered spans in right-to-left runs and a Swift remote mirror bug that treated failed reads as successful are the two changes with real consequences for code already shipping.
[RemoteMirror] Return 0 from readFullTrailingObjects on failure. apple/swift
readFullTrailingObjects is documented to return 0 on failure but returned -1, and its callers tested for 0 or converted to bool, so a failed read counted as a success. _readMetadataVariableSize then cached a partial or null buffer and reported SIZE_MAX, and readContextDescriptor returned a truncated descriptor when trailing objects exceeded MaxMetadataSize, so later reads ran past the end of th...
[web_paragraph] Fix multi-span BiDi span order and region direction (#194980) flutter/flutter
TextLayout.addLine now iterates paragraph.spans in reverse logical order inside an RTL BidiRun so visual blocks append left to right, and TextSpan._getMetrics measures each span under the correct direction. Before, leading or isolated neutral characters in a span following an RTL span were measured as LTR, which shifted logical span order and region direction on web.
Fix various lowering bugs related to custom availability domains apple/swift
Four lowering bugs emitted code for declarations unavailable at runtime under custom availability domains: an unavailable @objc property's descriptor still landed in its class or protocol property list even though its accessors were not emitted, and a property with only an unavailable setter was treated as read-write instead of readonly. The extended method types list of @objc protocols had rel...
Revert: [flutter_tools] Fix local CanvasKit asset paths on Windows (#195635) flutter/flutter
The fix for local CanvasKit asset paths on Windows was reverted after it broke the tree, so Windows web builds are back to the prior path handling. The original change converted a CanvasKit request URI to a filesystem path before matching the canvaskit/ prefix.
[flutter_tools] Explain unsupported Android AOT builds on Linux arm64 hosts flutter/flutter
Any profile or release Android build on a Linux arm64 host currently dies with a raw ProcessException because the SDK ships no gen_snapshot for that host; the tool now raises a ToolExit naming the expected path and links the feature request. A gen_snapshot placed at that path, such as a self-built binary, is still used, so existing workarounds keep working.
OpaqueValues: addressable parameters pass an address where the lowered apply expects a direct value apple/swift
Rounding out the Swift and Kotlin desks: SILGen under -enable-sil-opaque-values no longer crashes with TYPE MISMATCH IN ARGUMENT 0 OF APPLY when forwarding an addressable parameter, with eight reproducers added, and Kotlin's value-class and BTA argument-generator refactors mostly rework internal plumbing, though the FIR change makes isValue and isInline report resolved status rather than raw so...