Skip to content

gui_toolkit 0.357.0

Choose a tag to compare

@sachahjkl sachahjkl released this 25 Nov 11:32
· 338 commits to master since this release
v0.357.0
5398f3d

Added

  • config.bind: binds a typed settings struct to a preference prefix in one call (optional defs registration,
    initial read, automatic refresh with optional destroy for owned fields, optional on_change callback, and automatic
    cleanup in prefs_destroy or unwatch).
  • A drag carries a window on Wayland (platform.Drag_Carry, drag_carry_supported): drag_start takes a window
    that the compositor moves with the pointer while the drag runs (xdg-toplevel-drag-v1), with grab scaled to logical
    surface coordinates and Drag_Carry.frame called while the drag holds the thread. Without compositor support it falls
    back to a normal drag.

Changed

  • Native text backend (gt_text) uses ICU4X's LSTM line segmenter: switches icu_segmenter from the 1.01 MiB
    dictionary data to the 303 KiB LSTM model for Thai, Lao, Khmer, and Myanmar line breaking, trimming ~725 KiB of
    .rodata from every binary that links gt_text.

Fixed

  • ui.THEMES no longer emits an Odin large non-constant initializer warning: Old Head's relief is assigned once at
    startup so the 15 KiB theme table compiles as static data.