Commit graph

136 commits

Author SHA1 Message Date
Admin
a5992d3fb2 xr 2026-05-03 23:45:59 +02:00
Admin
55db1be071 gauss blurs 2026-05-03 23:45:59 +02:00
Admin
747ef9b2e8 mlx 5x->2x 2026-04-10 14:46:22 +02:00
Admin
4fc9a06b06 variable weight fonts 2026-04-01 12:19:03 +02:00
Admin
3f2baab26d xr llama and slug 2026-04-01 12:19:03 +02:00
Admin
83a9fa2017 xr room mapping 2026-03-27 13:51:54 +01:00
Sabin Regmi
0cff3fd7f6
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
2b677c6da0 compiles 2026-03-23 12:56:39 +01:00
Kevin Boos
94711aa64b
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
bca911513d xr otw 2026-03-12 15:51:30 +01:00
Admin
cde02e2e48 fix 2026-03-11 18:15:12 +01:00
Admin
38d08cab0b bootstrap change 2026-03-08 13:36:58 +01:00
Admin
24a9b0627d remove apprs 2026-03-08 10:28:40 +01:00
Admin
923a554e49 fixing 2026-03-08 09:20:34 +01:00
Admin
b64a83fa15 oops. uids 2026-03-08 08:42:49 +01:00
Admin
e61e3bfbce Harden widget tree refresh and require explicit widget uids 2026-03-07 11:23:22 +01:00
Admin
a8599a4b22 fix 2026-02-28 12:48:06 +01:00
Kevin Boos
3db5766d33
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
d1737883da
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
ec983c982a
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
c0082cc323
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
ca17ee8baa splice out a makepad-network crate 2026-02-23 23:21:31 +01:00
admin
b6dea262e2 automated click animation 2026-02-22 13:34:00 +01:00
Admin
a5510b3f53 ui proto 2026-02-18 21:10:25 +01:00
Admin
7656e2b537 fix selection accross items 2026-02-17 21:49:02 +01:00
Admin
ae50c3997e fix svg shadows 2026-02-17 21:09:04 +01:00
Admin
1c8ceb4693 cleanup widget tree 2026-02-15 18:34:42 +01:00
Admin
5ad1df51f1 vulkan otw + widget fixes 2026-02-15 16:04:24 +01:00
Admin
8dc9efe96b headless otw 2026-02-15 11:48:51 +01:00
Admin
309626bd19 web almost there 2026-02-14 22:49:23 +01:00
Admin
4d036ecdc4 otw 2026-02-14 22:14:26 +01:00
Admin
10ab1838d5 add http resources 2026-02-12 20:20:17 +01:00
Admin
b9f957ecef todo app 2026-02-12 19:58:49 +01:00
Admin
1ba7b2f7fe First 2.0 2026-02-12 14:52:33 +01:00
Admin
988c2d7a77 fix uid uniqueness 2026-02-12 07:21:50 +01:00
Admin
2710bef7a1 widget tree refactor 2026-02-12 07:05:13 +01:00
Admin
af7d507488 compile 2026-02-10 18:26:51 +01:00
Admin
33d3c5de1d adaptive async MSDF 2026-02-10 10:03:20 +01:00
Admin
0b63766ac3 svg fonts work 2026-02-10 00:47:55 +01:00
Admin
7bbc6050bc splash vector 2026-02-09 08:03:49 +01:00
Admin
4a199c6227 fix svg 2026-02-08 21:17:46 +01:00
Admin
96513d8d72 svg pixelshaders 2026-02-08 18:52:51 +01:00
Admin
ab8ed845c8 svg otw 2026-02-08 15:47:56 +01:00
Admin
23880be6c8 cleanup 2026-02-08 12:47:26 +01:00
Admin
6c720bf04b inhousing svg 2026-02-08 12:24:55 +01:00
Admin
e5977d2310 fix up ai gen mistakes for splash 2026-02-07 17:59:54 +01:00
Admin
d94ec93372 id change 2026-02-07 16:53:33 +01:00
Admin
0b738f92d3 pixel smooth scrolling for portal list 2026-02-05 11:02:28 +01:00
Admin
fa69ae106c selectable textflow/html in portal list 2026-02-05 10:13:07 +01:00
Admin
93246fe7f2 selectable textflow 2026-02-05 08:56:32 +01:00