makepad/platform
Kevin Boos 601d96a080
Script reloads: keep a list's tailing state, re-apply cached widgets, and theme CalloutTooltip (#1315)
* PortalList: keep the tailing state across a reload

`auto_tail` turned `tail_range` back on for every apply, including a style reload
or an Android/iOS rotation, which pulled a list the user had scrolled up back to its end.
Now only a new list starts out following its end.

* CachedWidget: re-apply a cached widget that missed a reload

A cached widget that nothing held during a reload (e.g. one that only lives in an
AdaptiveView's inactive variant, or in a lazily built page) kept its old styling,
since adopting it from the cache never re-applied its template.
* `Cx::reload_generation` counts the whole-tree reload walks
* `CachedWidget` records the generation each widget was last applied at,
  and requests a script reapply when it adopts one that's out of date

* CalloutTooltip: take its default colors from Splash

`CalloutTooltipOptions::default()` hardcoded the text and background colors in Rust,
and `draw_walk` always applied them, so apps couldn't theme their tooltips.
The options' colors are now `Option`s; `None` uses the tooltip's own `text_color`/`bg_color`,
which default to the same values as before.
2026-10-21 16:01:56 +02:00
..
key_code platform: faster builds and sturdier runs -- #[derive(Script)] emits one helper call per field, studio-protocol no longer waits for script, an app's package dir, icons and bundle name rebuild only that app, MAKEPAD=gpusim builds again, and a contained panic on macOS no longer frees the windows under AppKit 2026-09-26 20:10:03 +02:00
network platform: hosted apps on Android -- every app its own process under the WM, frames handed over with GPU fences, a touch that is taken away is cancelled, hosted children ask the WM for what they cannot do, window crossfades and whole-frame presents, relief-lit textures 2026-09-26 20:09:17 +02:00
script Animate draw_pass.time shaders on every backend, and repaint only the passes that use them (#1305) 2026-10-12 22:39:41 +02:00
src Script reloads: keep a list's tailing state, re-apply cached widgets, and theme CalloutTooltip (#1315) 2026-10-21 16:01:56 +02:00
studio platform: faster builds and sturdier runs -- #[derive(Script)] emits one helper call per field, studio-protocol no longer waits for script, an app's package dir, icons and bundle name rebuild only that app, MAKEPAD=gpusim builds again, and a contained panic on macOS no longer frees the windows under AppKit 2026-09-26 20:10:03 +02:00
tests Ten fixes from moving an app onto current dev: macOS drawable/resize, the UI signal broadcast, internal drag on Linux, and log noise (#1239) 2026-09-18 09:06:31 +02:00
video platform: GPU passes store top-left rows on every backend, hosted apps get software frames as textures, the Android desk renders at 120 Hz, and the platform builds warning-free on every CI target 2026-09-26 20:08:13 +02:00
build.rs platform: faster builds and sturdier runs -- #[derive(Script)] emits one helper call per field, studio-protocol no longer waits for script, an app's package dir, icons and bundle name rebuild only that app, MAKEPAD=gpusim builds again, and a contained panic on macOS no longer frees the windows under AppKit 2026-09-26 20:10:03 +02:00
Cargo.toml Faster shader codegen, working shader caches, and no GL repaints for buffer retirement (#1279) 2026-10-02 01:21:31 +02:00