Commit graph

25 commits

Author SHA1 Message Date
admin
e6e8b2cdc3 fix slides 2026-05-05 10:00:39 +02:00
admin
444bc4f310 Fix todo input styling and studio build env 2026-05-05 07:50:38 +02:00
admin
e9dd8ae3a9 Fix and restyle todo example 2026-05-04 17:37:21 +02:00
Admin
4a106111b8 ai manager otw 2026-04-28 12:24:40 +02:00
Kevin Boos
715955727b Fix CheckBox/Toggle set_active to animate like others (#1067)
* Simplify tooltip logic, fix positioning to respect safe inset areas

And other misc positioning/formatting fixes, like wrapping
after a hard line break, as well as ensuring that the callout
arrow thing itself is centered (to the fullest extent possible)
w.r.t. the rest of the tooltip body.

Basically, now it looks good again.

* Fix CheckBox/Toggle `set_active` to animate like others

All other widgets allow you to pass an `animate` arg when setting
them as active, except CheckBox (and by proxy, its wrapper Toggle).
This is necessary for proper non-animated thigns like restoring the
state of a toggle from persistent storage, or other similar examples
where you don't really want the animation to occur (because that'll
look like the user did it accidentally or some kind of phantom movement).
2026-04-26 22:11:07 +02:00
Admin
cf46675a32 xr room mapping 2026-03-27 13:51:54 +01:00
Sabin Regmi
81034607d7 ft makepad_test (#974)
* ft makepad_test

* Improve run handling, manifest parsing, and stdout newline

Replace dynamic free-port lookup with an ephemeral localhost SocketAddr in test runtime and remove the unused find_free_listen_address helper. Ensure headless stdout messages end with a newline. Simplify send_to_app error handling and add a test that queued bootstrap messages are delivered once an app socket connects. Substantially enhance process_manager: unify cargo flag parsing, parse Cargo.toml to determine package/bin targets, resolve the correct binary name for direct stdio runs, and build the cargo/build+exec script from the resolved args. Add unit tests for manifest parsing and script generation and adjust related call sites.

* test harness

* Preserve test attrs; return Vec for gateway binds

In the test macro (libs/makepad_test/macros/src/lib.rs) preserve wrapper-only attributes (ignore and should_panic) on the generated wrapper test while removing them from the inner function. Added Attribute import, is_wrapper_only_test_attr helper, adjusted attribute filtering and emission, and added unit tests to verify attribute placement and expansion.

In the hub (studio/hub/src/hub.rs) change gateway_bind_candidates to return a Vec<SocketAddr> instead of an iterator and special-case ephemeral port 0 to preserve ephemeral binding; otherwise collect the range of candidate ports into a Vec. Added tests to validate candidate behavior. Also minor formatting/whitespace tweaks and a small IPv6 formatting adjustment.

* Add visible Studio mode and remote client

Enable running UI tests visibly through a running Makepad Studio. Adds a new makepad-network dependency and studio_remote client (libs/makepad_test/src/studio_remote.rs) and integrates it into the runtime via a TestConnection enum. Introduces visible-mode tooling: env vars (MAKEPAD_TEST_VISIBLE, MAKEPAD_TEST_STUDIO, MAKEPAD_TEST_STUDIO_MOUNT, MAKEPAD_TEST_STARTUP_DELAY_MS, MAKEPAD_TEST_ACTION_DELAY_MS, MAKEPAD_TEST_KEEP_OPEN_MS), pacing/delays after actions, and pause-before-shutdown. Splits startup into start_headless_app/start_visible_app, clears existing visible builds before launching, and updates tests, docs (GUIDE.md, README.md), and selector/runtime minor cleanups/formatting.
2026-03-25 16:09:03 +01:00
Admin
378459462c fix android screencap to studio 2026-03-19 13:57:55 +01:00
Admin
ef6255c291 bootstrap change 2026-03-08 13:36:58 +01:00
Admin
af3995b33b remove apprs 2026-03-08 10:28:40 +01:00
admin
ddebd64601 api 2026-02-25 17:14:39 +01:00
admin
b6c847faf2 theme cleanup 2026-02-21 15:40:12 +01:00
admin
c4a7c3e8d9 fix up theme hook 2026-02-21 15:21:27 +01:00
Admin
dbbdadbe34 fix 2026-02-20 23:58:48 +01:00
Admin
9d86689d07 drawcall ordering and git ui 2026-02-20 15:47:56 +01:00
Admin
f06fce0cee terminal split 2026-02-19 07:18:43 +01:00
Admin
dd1678f9b2 cleanup widget tree 2026-02-15 18:34:42 +01:00
Admin
d4e6c53358 vulkan otw + widget fixes 2026-02-15 16:04:24 +01:00
Admin
81db1516d9 todo app 2026-02-12 19:58:49 +01:00
Admin
2a89f448cc todo app in splash 2026-02-12 19:32:35 +01:00
Admin
d4c0ca48ed cleanup 2026-02-10 20:34:53 +01:00
Admin
76cce72dc9 Fused Id and LiveId 2025-10-25 20:53:30 +02:00
Admin
cf4f18c829 1.0.0 2025-05-15 16:46:16 +02:00
Admin
a60261c1da 0.9.0 test 2025-05-11 22:24:36 +02:00
Eddy Bruel
ff9048cc37 Initial commit 2025-05-06 10:11:37 +02:00