Commit graph

239 commits

Author SHA1 Message Date
Eddy Bruel
86961194fc Factor out deferred_{width/height}_up_to from end_turtle 2025-07-09 15:04:16 +02:00
Eddy Bruel
6d7bbf0f66 Clean up defer_walk 2025-07-09 15:04:16 +02:00
Eddy Bruel
fd810742e5 Clean up walk_turtle 2025-07-09 15:04:16 +02:00
Eddy Bruel
da1c04d9a7 Helper functions for moving the turtle 2025-07-09 15:04:16 +02:00
Eddy Bruel
a34411385e Clean up child_spacing 2025-07-09 15:04:16 +02:00
Eddy Bruel
21e5602fce Clean up update_width_used/update_height_used 2025-07-09 15:04:16 +02:00
Eddy Bruel
dc64ca2747 Dead code removal 2025-07-09 15:04:16 +02:00
Eddy Bruel
bfd9a8cb7e Helper functions for rects 2025-07-09 15:04:16 +02:00
Eddy Bruel
4724b5520d Clean up eval_width/eval_height 2025-07-09 15:04:16 +02:00
Eddy Bruel
08a496a4c5 Helper functions for widths/heights 2025-07-09 15:04:16 +02:00
Kevin Boos
b1780a0355 Allow users of TextInput to know when a keypress had no effect (#767)
* Allow users of `TextInput` to know when a keypress had no effect

This PR makes the `TextInput` widget emit a `TextInputAction::KeyDownUnhandled`
action upon keypresses that don't actually make any change to the widget's selection.

This action is currently only emitted for the Up, Down, Left, and Right arrow keys,
but we can certainly add it to others like Backspace, Delete, etc if desired.

Use case: if you want to enable custom behavior when the user uses arrow keys
to navigate an empty TextInput widget, such as jumping up out of the TextInput focus
to edit the most recent message you just sent in a chat app, then this PR
is necessary. Otherwise there's no way to know whether a given input actually had
any effect on the TextInput's inner cursor/selection state.

* Add the FaceID usage description to iOS Info.plist

Allows Makepad apps to use biometric auth on iOS
2025-06-20 20:48:06 +02:00
Julián Montes de Oca
e09f2cb2c5 AdaptiveView Improvements (some regression fixes) (#764)
* Fix DrawList generation mismatch in overlay cleanup

Prevents "Drawlist id generation wrong index" errors when AdaptiveView
switches between variants by using checked_index() instead of direct
indexing to safely handle recycled DrawList IDs in overlay.end().

* Dispatch WindowGeomChange on web upon CreateWindow

* Move display context updates to window and improve default selector in AdaptiveView
2025-06-03 22:11:55 +02:00
Admin
03652dec7c move quest xr_net example into main repo 2025-05-31 19:20:56 +02:00
Admin
fa4c5a110d remove warnings 2025-05-31 14:42:50 +02:00
Admin
67d9866954 fix glyph rendering edgecase of chinese character 2025-05-31 14:41:24 +02:00
Admin
19b8679ef7 temporary sdf-tweak to make the font error go away for now 2025-05-30 12:47:59 +02:00
Admin
cf4f18c829 1.0.0 2025-05-15 16:46:16 +02:00
Admin
f5b624aed5 version 0.9.1 2025-05-12 12:08:14 +02:00
Admin
52ffaf09ab fix join badly 2025-05-12 12:08:13 +02:00
Admin
ef6ea0718f chinese font split 2025-05-12 12:08:13 +02:00
Admin
a60261c1da 0.9.0 test 2025-05-11 22:24:36 +02:00
Admin
c2ade53661 auto version ttf-parser unique name 2025-05-11 22:08:12 +02:00
Admin
c78f991271 windows repaint 2025-05-11 20:18:45 +02:00
Admin
eba97d2ef4 fix svg on android 2025-05-11 20:04:36 +02:00
Admin
0a6afa0c8a paragraph and heading margins 2025-05-11 12:43:55 +02:00
Admin
acc7f21ffd fix heading spacing 2025-05-11 12:28:11 +02:00
Admin
1f5a146658 min wrap spacing 2025-05-11 11:42:02 +02:00
Admin
375837f279 heading margin 2025-05-11 11:14:04 +02:00
Admin
7a34183c07 better linespacing 2025-05-11 10:31:59 +02:00
Admin
a1facf4089 fix linespacing 2025-05-10 19:10:17 +02:00
Admin
ead170c5be spacing fixes 2025-05-10 15:01:52 +02:00
Admin
bb1eaf0eae no double row heights 2025-05-10 14:55:26 +02:00
Admin
02dc572d5a text layout fix 2025-05-10 14:52:42 +02:00
Eddy Bruel
bc16c915a4 Clear dirty rect when updating atlas textures. 2025-05-09 16:03:56 +02:00
Admin
4ac1579105 add temp_y_shift 2025-05-09 15:18:54 +02:00
Eddy Bruel
7a67fcfffd Fix bug in text centering 2025-05-09 11:44:06 +02:00
Eddy Bruel
cdfcab2aeb Don't crash on right-to-left scripts 2025-05-09 10:23:10 +02:00
Eddy Bruël
5522c12d46 Fix text centering (#733) 2025-05-08 13:26:43 +02:00
Eddy Bruel
ff9048cc37 Initial commit 2025-05-06 10:11:37 +02:00