Commit graph

639 commits

Author SHA1 Message Date
Admin
1e8f8cebbb churn 2026-04-05 11:28:47 +02:00
Admin
ddec6fc602 churn 2026-04-05 11:28:47 +02:00
Admin
a8ee2b194b drivable 2026-04-05 11:28:47 +02:00
Admin
357a0bd51b drivable 2026-04-05 11:28:47 +02:00
Admin
6cf21b67bd iterating 2026-04-05 11:28:47 +02:00
Admin
0a0652cfb0 otw 2026-04-05 11:28:47 +02:00
Kevin Boos
0c5d39e2bc TextInput: support multiline mode with proper scrolling (#1010)
* TextInput: support multiline mode with proper scrolling

* ScrollBar integration with mouse wheel, scrollbar handle drag,
  and the correct way of dealing with `handled_y` propagation,
  which basically means that scrolling can be handled by the TextInput
  as a child, or not and left to the parent.
* Only auto-scroll to the cursor when it actually moves, not on every redraw
* `is_multiline` controls wrapping too, which makes more sense.
   Now a single-line mode TextINput shouldn't wrap the text
* Allow setting `text` in the Splash DSL (make it `#[live]`)

Also added some examples to the uizoo demo: empty, pre-filled, read-only, toggle
between multi and single line.

* minor cleanup for TextInput multiline/scrolling

* Explicitly support multiline TextInput with Relative max height bounds

* more cleanup
2026-04-03 19:09:48 +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
1b9906f144 llama + xr 2026-04-01 12:19:03 +02:00
Admin
6836d3ac07 fixup 2026-04-01 12:19:03 +02:00
Admin
065009b062 refactor 2026-04-01 12:19:02 +02:00
Admin
af6d3fd094 testing x client 2026-04-01 12:19:02 +02:00
Admin
223cf39256 working emitters 2026-04-01 12:19:02 +02:00
Admin
1d1aed6de6 otw 2026-04-01 12:19:02 +02:00
Admin
6bd2d9153b xr networking 2026-04-01 12:19:02 +02:00
Admin
b7563a50c7 refactor 2026-04-01 12:19:02 +02:00
Admin
0d507b2d81 cleanup 2026-03-30 09:22:56 +02:00
Admin
bccb69c04c cleanup 2026-03-29 23:33:47 +02:00
Admin
00ef275b0c optimisations 2026-03-29 21:46:25 +02:00
Admin
32091a2a14 optimisations 2026-03-29 21:36:19 +02:00
Admin
618bcf11e7 optimisations 2026-03-29 21:01:06 +02:00
Admin
12bd874eda optimisations 2026-03-29 20:27:52 +02:00
Admin
5ee9525d20 clean maps lock 2026-03-28 22:56:30 +01:00
Admin
4a51377484 fix refactor 2026-03-28 21:45:27 +01:00
Admin
c9a7c15eeb working refactor 2026-03-28 17:58:49 +01:00
Admin
0c1465a9e2 actually working alignment 2026-03-28 16:36:27 +01:00
Admin
8dac4bcaad cleanup 2026-03-28 13:22:52 +01:00
Admin
3e047d1567 contour map 2026-03-28 12:02:56 +01:00
Admin
b46501b70a auto alignment working 2026-03-27 16:31:02 +01:00
Admin
cf46675a32 xr room mapping 2026-03-27 13:51:54 +01:00
Admin
f23b2f9494 fix xr UIs 2026-03-26 15:25:55 +01:00
Admin
3d16b00083 wrist ui 2026-03-26 15:25:55 +01:00
Admin
e9031b5edd xr test 2026-03-26 00:32:24 +01:00
Admin
e9cc2e2035 optimising quest renderpath with physics 2026-03-25 23:29:41 +01:00
Admin
c953b348d9 optimising quest renderpath with physics 2026-03-25 22:44:16 +01:00
Admin
d1cd803976 optimising quest renderpath with physics 2026-03-25 22:44:16 +01:00
Admin
9b9a35ea7c better physics 2026-03-25 17:39:00 +01:00
Admin
1bbc4b6791 finally 2026-03-25 17:38:59 +01:00
Admin
227bff16d6 xr otw 2026-03-25 17:31:52 +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
ab3c57436d xr otw 2026-03-23 22:26:41 +01:00
Admin
ad383b9198 xr otw 2026-03-23 20:52:29 +01:00
Admin
6d38bc52be compiles 2026-03-23 12:56:39 +01:00
Admin
a169260390 cleanup 2026-03-23 10:12:37 +01:00
Admin
8a13941776 android borked 2026-03-22 17:28:18 +01:00
Admin
dd9c79d21d tree 2026-03-22 13:39:01 +01:00
Admin
111e20b7b2 cleanup xr 2026-03-22 12:24:04 +01:00
Admin
e5e3ddbdec fix xr lib 2026-03-21 15:24:19 +01:00
Admin
b2b31cce5b demo 2026-03-21 11:39:27 +01:00