Commit graph

52 commits

Author SHA1 Message Date
Brendan Hansknecht
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08:00
Isaac Van Doren
139d3c6f89
make dropFirst and dropLast drop n elements 2023-10-29 13:23:33 -05:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Luke Boswell
47c3b1a1cb
fix broken references, roc format 2023-08-13 16:50:01 +10:00
Bryce Miller
0132df9b5a
merge main 2023-06-10 15:04:25 -04:00
Luke Boswell
092676c4b7
Merge remote-tracking branch 'remote/main' into remove-json 2023-06-07 15:38:01 +10:00
Bryce Miller
29561372de
merge main 2023-06-05 20:21:44 -04:00
Bryce Miller
cb08225bf0
| -> where 2023-06-05 20:19:00 -04:00
Luke Boswell
c1ff49be6c
change just Json module name 2023-06-04 17:37:01 +10:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07:00
Bryce Miller
7e8a151604
Merge branch 'main' into abilities-syntax 2023-06-01 12:57:16 -04:00
Brendan Hansknecht
c780bbbe35
update test to newer Dict with tuple and eq 2023-05-26 17:32:46 -07:00
Bryce Miller
3b1dbafb2e
abilities syntax has -> implements in examples 2023-05-24 21:30:35 -04:00
Luke Boswell
4d4cfcf981
merge remote/main and update mono tests 2023-05-15 16:51:56 +10:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -07:00
Luke Boswell
4f22b0747f
mono and update Json.fromUtf8 and Json.toUtf8 to Json.json 2023-04-21 10:57:48 +10:00
Brendan Hansknecht
e32c5f6514
standardize on decref instead of deinit for name 2023-03-13 14:08:23 -07:00
Brian Carroll
6fba267df1
Fix JSON encoding bug 2023-01-27 23:44:30 +00:00
Ayaz Hafiz
735d7cb4df
Address more U32 usages in place of U64 on client side 2023-01-27 17:37:12 -06:00
Ayaz Hafiz
f83ebb7bc7
Use U32 as array index 2023-01-27 17:36:32 -06:00
Ayaz Hafiz
add50f04e4
Update other Nat usages in virtual dom 2023-01-27 17:31:49 -06:00
Ayaz Hafiz
b86e4763f0
Update use of Nat encoding in virtual dom 2023-01-27 17:24:24 -06:00
Ayaz Hafiz
3d0a0a4a99
Update more dict/set references 2023-01-14 15:33:54 +01:00
Brian Carroll
0e27e62a3e
virtual-dom: use crash instead of defaulting to RenderedNone 2023-01-05 21:51:48 +00:00
Brian Carroll
95c2c89751
virtual-dom: get rid of workarounds in tests 2022-12-30 17:23:52 +00:00
Brian Carroll
32714b980b
virtual-dom: child node diffing 2022-12-30 15:33:53 +00:00
Brian Carroll
510b01e371
virtual-dom: attribute diffing 2022-12-30 15:33:53 +00:00
Brian Carroll
7202af45ef
virtual-dom: Delete event listeners while deleting the associated node 2022-12-30 15:33:53 +00:00
Brian Carroll
80f799cf70
virtual-dom: test for diff function 2022-12-30 15:33:53 +00:00
Brian Carroll
f2d6def117
virtual-dom: clarify Size meaning in type and test 2022-12-26 17:16:44 +00:00
Brian Carroll
65bac935fb
virtual-dom: Add some tests for Client 2022-12-26 15:05:37 +00:00
Brian Carroll
d386d68196
virtual-dom: fix PlatformState import 2022-12-26 15:00:27 +00:00
Brian Carroll
dec7229558
roc format 2022-12-25 20:11:43 +00:00
Brian Carroll
b968d21119
virtual-dom: render attributes 2022-12-25 18:14:28 +00:00
Brian Carroll
db393c7755
virtual-dom: implement dispatchEvent 2022-12-25 13:30:33 +00:00
Brian Carroll
1462436c94
virtual-dom: Fix imports. Everything type checks except client side main 2022-12-25 13:08:07 +00:00
Brian Carroll
018942308b
virtual-dom: split Internal into Shared,Client,Server, and implement Patches 2022-12-25 11:01:10 +00:00
Brian Carroll
43c02d435d
virtual-dom: rename JsIndex -> NodeId 2022-12-21 20:53:22 +00:00
Brian Carroll
f8a22ace5c
virtual-dom: rename view to nodes 2022-12-21 20:42:50 +00:00
Brian Carroll
444d5fe774
virtual-dom: replaceNode Effect 2022-12-21 20:24:35 +00:00
Brian Carroll
823aaa2c52
virtual-dom: create a Patch tag union 2022-12-21 20:24:34 +00:00
Brian Carroll
2e11cf3903
virtual-dom: fix compile errors 2022-12-19 23:01:46 +00:00
Brian Carroll
e963f1f37e
virtual-dom: write the client-side host and interface to it 2022-12-19 22:36:32 +00:00
Brian Carroll
01a8b32c83
virtual-dom: embed host.js as bytes in host.zig 2022-12-19 22:35:22 +00:00
Brian Carroll
d0dced045c
virtual-dom: Changes to JS init logic 2022-12-19 22:35:22 +00:00
Brian Carroll
1ce991a25b
roc format 2022-12-18 17:51:45 +00:00
Brian Carroll
34f6becaa2
virtual-dom: use a free list for handlers 2022-12-18 17:12:37 +00:00
Brian Carroll
b7802ec6ac
virtual-dom: remove a TODO about a compiler bug that has been fixed 2022-12-18 17:12:37 +00:00
Brian Carroll
4a4150125e
virtual-dom: separate type for RenderedHtml 2022-12-18 17:12:37 +00:00
Brian Carroll
f8fd3d0f49
virtual-dom: remove props by setting to '' or null depending on current type 2022-12-18 16:58:36 +00:00