Commit graph

136 commits

Author SHA1 Message Date
Admin
88645f37a5 xr 2026-05-03 23:45:59 +02:00
Admin
759a5a386c gauss blurs 2026-05-03 23:45:59 +02:00
Admin
69aa615947 mlx 5x->2x 2026-04-10 14:46:22 +02:00
Admin
f94a3f36fa variable weight fonts 2026-04-01 12:19:03 +02:00
Admin
d134df9f06 xr llama and slug 2026-04-01 12:19:03 +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
6d38bc52be compiles 2026-03-23 12:56:39 +01:00
Kevin Boos
7ae0178c8d fix SVG handling to support SVG files with fill "none" (#961)
Also fix splash example icon paths
2026-03-16 20:44:17 +01:00
Admin
695403ef72 xr otw 2026-03-12 15:51:30 +01:00
Admin
bfd4a13648 fix 2026-03-11 18:15:12 +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
d758d6d95e fixing 2026-03-08 09:20:34 +01:00
Admin
c8412703b0 oops. uids 2026-03-08 08:42:49 +01:00
Admin
73035bcdd9 Harden widget tree refresh and require explicit widget uids 2026-03-07 11:23:22 +01:00
Admin
3ce4f836ef fix 2026-02-28 12:48:06 +01:00
Kevin Boos
bb31284475 Fix circle view (#887)
* Fix `CircleView` shader, support true circle shader behavior

Add CircleView examples w/ variety to `uizoo`

* splash example: fix popup notification behavior
2026-02-26 08:17:49 +01:00
Kevin Boos
7bd65ad570 FIx Icon, improve to support IconRotated, expose geom in draw_svg (#883)
* Fix draw_svg to support a rotated Icon. Add `IconRotated` widget.

Fix icon resource paths in `splash` example

* Expose geometry in draw_svg to make icon/svg rotation more efficient

simplifies the code too
2026-02-25 13:05:14 +01:00
Sabin Regmi
6757648426 Remove left margin from window caption label (#884)
* Remove left margin from window caption label

Delete the hardcoded Inset{left: 100} margin on the caption Label in widgets/src/window.rs so the label can be centered by the parent layout. This cleans up alignment and removes an unnecessary offset in the window header.

* Use window title in caption; format button click

Apply the configured window title to the window caption and make a small UI code cleanup.

- examples/splash: set window.title to "Splash Example" and reformat the tooltip button click check to a multiline expression for readability.
- widgets/src/window.rs: import label::* and update ensure_initialized to copy cx.windows[window_id].create_title into the caption_label when non-empty so the window chrome shows the configured title.
2026-02-25 13:04:46 +01:00
Kevin Boos
8512c1d430 Fix Tooltip behavior and structure. Add CalloutTooltip widget (#881)
The CalloutTooltip is a fancier wrapper atop Tooltip that allows
the user to display a tooltip with a callout triangle that points
at a particular widget, making it clearer what the tooltip
corresponds to. It also supports a custom text color, background color,
positioning suggestion (top, right, left, bottom), full text wrapping,
and dynamically resize and re-orient itself to fit within the app screen.
2026-02-24 19:43:06 +01:00
Admin
582af4b271 splice out a makepad-network crate 2026-02-23 23:21:31 +01:00
admin
4cfac71525 automated click animation 2026-02-22 13:34:00 +01:00
Admin
393ad66d27 ui proto 2026-02-18 21:10:25 +01:00
Admin
0e34cca569 fix selection accross items 2026-02-17 21:49:02 +01:00
Admin
da7f681823 fix svg shadows 2026-02-17 21:09:04 +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
aed1eaa4f2 headless otw 2026-02-15 11:48:51 +01:00
Admin
276f4f0c0f web almost there 2026-02-14 22:49:23 +01:00
Admin
a58686a4e9 otw 2026-02-14 22:14:26 +01:00
Admin
7faf22b45d add http resources 2026-02-12 20:20:17 +01:00
Admin
81db1516d9 todo app 2026-02-12 19:58:49 +01:00
Admin
8e6702c56b First 2.0 2026-02-12 14:52:33 +01:00
Admin
e4e3d4c266 fix uid uniqueness 2026-02-12 07:21:50 +01:00
Admin
a21e1373e1 widget tree refactor 2026-02-12 07:05:13 +01:00
Admin
a271bd0027 compile 2026-02-10 18:26:51 +01:00
Admin
6996da3d24 adaptive async MSDF 2026-02-10 10:03:20 +01:00
Admin
86dc47e307 svg fonts work 2026-02-10 00:47:55 +01:00
Admin
8bd10073f0 splash vector 2026-02-09 08:03:49 +01:00
Admin
3d2793b868 fix svg 2026-02-08 21:17:46 +01:00
Admin
3d5ce31537 svg pixelshaders 2026-02-08 18:52:51 +01:00
Admin
3508142f1b svg otw 2026-02-08 15:47:56 +01:00
Admin
edfa62d6a2 cleanup 2026-02-08 12:47:26 +01:00
Admin
0babb8851c inhousing svg 2026-02-08 12:24:55 +01:00
Admin
4536561105 fix up ai gen mistakes for splash 2026-02-07 17:59:54 +01:00
Admin
8332c47353 id change 2026-02-07 16:53:33 +01:00
Admin
cd28408175 pixel smooth scrolling for portal list 2026-02-05 11:02:28 +01:00
Admin
7fee421c7e selectable textflow/html in portal list 2026-02-05 10:13:07 +01:00
Admin
0823a6a239 selectable textflow 2026-02-05 08:56:32 +01:00