Commit graph

715 commits

Author SHA1 Message Date
Admin
1063c3cec3 fix up postfix methods for concise style shaders 2026-01-30 17:02:38 +01:00
Admin
42485455f5 button is back! 2026-01-30 16:17:45 +01:00
Admin
c023554c5f add proper pod*pod operator support 2026-01-30 16:07:28 +01:00
Admin
ea55dc9ad3 DSL substructure assign even cleaner 2026-01-30 15:08:33 +01:00
Admin
80581d92d4 added label 2026-01-30 14:58:03 +01:00
Admin
aca1828886 updated zune libraries to latest 2026-01-30 14:01:42 +01:00
Admin
868f96bee6 reduce monomorphisation costs 2026-01-30 13:18:57 +01:00
Admin
f33e4bdd44 cleanup 2026-01-30 11:02:13 +01:00
Admin
f4c626a864 we have a window again! 2026-01-30 10:38:40 +01:00
Admin
81daa73f17 add script wrappers to window/pass 2026-01-30 10:20:45 +01:00
Admin
e09c64ebd1 widget refactor otw 2026-01-30 09:17:14 +01:00
Admin
e248f240b2 oops\ 2026-01-29 19:08:12 +01:00
Admin
80c656fed8 clean up view_ui 2026-01-29 18:10:40 +01:00
Admin
20db041c33 add shader error handling 2026-01-29 17:41:23 +01:00
Admin
cd8a7bac62 custom handling of value casting 2026-01-29 17:26:37 +01:00
Alex
48c88705ec
fix: rename Math widget to MathView to avoid shader namespace collision (#848)
The `pub Math` DSL registration in math_widget shadows the shader
built-in `Math` namespace (defined in draw/src/shader/std.rs), which
provides `Math::random_2d` and `Math::rotate_2d`. This causes runtime
shader compilation errors in every widget that uses `Math::random_2d`
for color dithering (Slider, Button, Label, CheckBox, Icon, TextInput,
Tab, LinkLabel, PopupMenu, DropDown, RadioButton, View).

Rename the widget DSL name from `Math` to `MathView`, consistent with
Makepad naming conventions (CodeView, CircleView, RoundedView, etc.).
The Rust struct remains `Math` — only the DSL registration name changes.

Downstream users need to update:
  `inline_math = <Math> {}` → `inline_math = <MathView> {}`
  `display_math = <Math> {}` → `display_math = <MathView> {}`

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 17:14:09 +01:00
Admin
fe4dc7ce60 cleanupt 2026-01-29 17:03:55 +01:00
Admin
eec6e89846 view almost there 2026-01-29 16:28:49 +01:00
Admin
e35751cf3f error type compaction 2026-01-29 13:14:51 +01:00
Admin
4b5ad14ce7 add more detailed type errors 2026-01-29 12:58:45 +01:00
Admin
5272d7c996 add more detailed type errors 2026-01-29 12:48:39 +01:00
Admin
b37635e4f7 add nice errors to script engine and shader compiler 2026-01-29 12:34:46 +01:00
Admin
abb1b4ef85 script error refactor done 2026-01-29 11:24:01 +01:00
Admin
d1768c677a script error refactor otw 2026-01-29 10:17:45 +01:00
admin
a5f398085f animator otw 2026-01-28 16:25:03 +01:00
Admin
f0fac7e1e5 fix proto fields 2026-01-28 12:11:15 +01:00
Admin
89592532e5 add apply_default for animator 2026-01-28 11:01:55 +01:00
Admin
8350b6bf86 working scrollbar 2026-01-27 19:34:02 +01:00
Admin
74d181563a slider works 2026-01-27 17:45:02 +01:00
Admin
17ab6d60f3 animator otw 2026-01-27 15:54:21 +01:00
Admin
51e8fc9cb2 preparing animator 2026-01-27 14:45:10 +01:00
Admin
91f068106c theme refactor 2026-01-27 09:51:23 +01:00
Admin
ca08a99c5e refactor apply 2026-01-27 09:10:31 +01:00
Admin
77c33adcc3 rename Apply 2026-01-26 20:37:41 +01:00
Admin
ebcee59cf9 splat operator 2026-01-26 19:51:02 +01:00
Admin
c7c7966e93 proto field += 2026-01-26 18:14:48 +01:00
Admin
f1a2271ff2 proto field fonr 2026-01-26 17:59:32 +01:00
Admin
d1d727f6df proto field otw 2026-01-26 16:27:17 +01:00
Admin
9d43f6ec64 add support for scope uniforms 2026-01-26 12:10:37 +01:00
Admin
71fe89d3c1 theme uniform buffers 2026-01-26 11:10:16 +01:00
Admin
7145dc7298 theme uniform buffers 2026-01-26 10:53:34 +01:00
Admin
9f89b86821 theme methods 2026-01-26 10:26:42 +01:00
Admin
951467be88 theme vars otw 2026-01-26 09:41:00 +01:00
Admin
2b3640715a widgets2 barebones 2026-01-24 10:43:02 +01:00
Admin
e12b6cca4d shader compiler bits 2026-01-23 16:06:38 +01:00
Admin
bc34aacf6a shader compiler bits 2026-01-23 15:59:28 +01:00
Admin
edcd8d7854 text renders! 2026-01-23 15:26:13 +01:00
Admin
1d6672056b resource handling otw 2026-01-23 10:47:42 +01:00
Admin
066a7aeeb7 split up refactor 2026-01-22 15:29:25 +01:00
Admin
774a07ce44 draw text compiles on metal 2026-01-22 11:24:12 +01:00