Commit graph

23468 commits

Author SHA1 Message Date
Folkert
f76df8a356
make dbg transparent to refcounting 2022-12-22 01:03:03 +01: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
0cf9ba647c
Merge pull request #4787 from roc-lang/virtual-dom-rendered-type
Virtual dom rendered type
2022-12-21 20:23:10 +00:00
Brian Carroll
2c0e6bb21f
Merge branch 'main' into virtual-dom-rendered-type
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2022-12-21 17:26:15 +00:00
Ayaz
bd33b27760
Merge pull request #4792 from roc-lang/virtual-dom-host
Virtual DOM client-side host
2022-12-21 07:46:48 -07:00
Folkert de Vries
736ef2831d
Merge pull request #4795 from roc-lang/zig-str-lifetime
fix lifetime issue in RocStr.asU8Ptr
2022-12-21 12:29:10 +01:00
Anton-4
174b37e80a
Merge pull request #4790 from roc-lang/better_getting_started
Improved getting started docs
2022-12-21 09:06:58 +01:00
Folkert
6c7d434f81
fix lifetime issue in RocStr.asU8Ptr 2022-12-21 01:43:38 +01:00
Ayaz
1286878d39
Merge pull request #4794 from roc-lang/remove-get-element-type
Remove use of pointer  get_element_type
2022-12-20 14:18:13 -07:00
Anton-4
be869f3caf
restructuring, cleanup, many minor edits 2022-12-20 20:11:21 +01:00
Folkert
7536a5b8b0
remove some commented code 2022-12-20 16:46:45 +01:00
Folkert
12ec3189c8
and the final one 2022-12-20 16:45:53 +01:00
Folkert
acf22ebf7e
fix 32-bit wasm to num conversion 2022-12-20 16:34:24 +01:00
Folkert
af4023f116
make i386 cli tests compile 2022-12-20 16:29:01 +01:00
Folkert
d765cae620
remove get_element_type in some C abi functions 2022-12-20 16:09:59 +01:00
Folkert
bb4ff34aaa
be more precise with zig return types 2022-12-20 15:43:11 +01:00
Folkert de Vries
ec80161824
Merge pull request #4793 from roc-lang/llvm-15-zig-10-round-2
Prepare Llvm 15 update
2022-12-20 14:10:57 +01:00
J Teeuwissen
dc65298f9d
Merge branch 'roc-lang:main' into main 2022-12-20 10:19:35 +01:00
Richard Feldman
e84b3c2704
Merge pull request #4781 from roc-lang/dbg-final-expression
parse error for dbg/expect final expressions
2022-12-19 23:36:51 -05:00
Richard Feldman
205b9bc20a
Merge pull request #4736 from roc-lang/packages
Basic Packages
2022-12-19 22:37:45 -05:00
Brian Carroll
9c3f61c448
cli_run: update virtual-dom test and add a client-side test 2022-12-19 23:40:10 +00:00
Folkert
976305bda2
clippy 2022-12-20 00:24:54 +01:00
Folkert
9bf8d65170
upgrade most build_load usages 2022-12-20 00:11:45 +01:00
Brian Carroll
2e11cf3903
virtual-dom: fix compile errors 2022-12-19 23:01:46 +00:00
Brian Carroll
20f4e77d5d
virtual-dom: client and server Roc files with shared interface 2022-12-19 23:01:42 +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
Folkert
f2d0953e0a
upgrade build_in_bounds_gep 2022-12-19 20:21:27 +01:00
Folkert
bc9c813fec
already do some of the llvm struct_gep conversion work 2022-12-19 19:57:31 +01:00
Folkert
0f46ea83d0
standardize WhenRecursive 2022-12-19 19:05:25 +01:00
Anton-4
2d9d31a5bd
correct filename 2022-12-19 16:13:10 +01:00
Anton-4
8e44648eb4
improved getting started docs 2022-12-19 16:06:13 +01:00
Anton-4
3cbd43ccaf
Merge pull request #4788 from roc-lang/remove-cargo-bindgen
remove cargo bindgen as a dependency
2022-12-19 13:28:36 +01:00
Anton-4
3185207313
ignore virtual dom test on windows 2022-12-19 11:31:18 +01:00
Folkert
12aca5eb11
remove cargo bindgen as a dependency
we needed this for wasm3, but that is not longer a dependency, so we don't need bindgen (directly) any more
2022-12-18 21:22:14 +01:00
Folkert de Vries
468caba3c9
Merge pull request #4785 from roc-lang/wasm_interp_rename_value_storage
Wasm interp rename value storage
2022-12-18 21:09:39 +01:00
Folkert de Vries
3f7ce97166
Merge pull request #4784 from roc-lang/wasm_interp_faster_call
Wasm interp faster calls
2022-12-18 21:08:36 +01:00
Folkert de Vries
a18197347b
Merge pull request #4767 from roc-lang/wasm_interp_repl_test
Replace Wasmer with roc_wasm_interp
2022-12-18 20:44:58 +01:00
Brian Carroll
1ce991a25b
roc format 2022-12-18 17:51:45 +00:00
Brian Carroll
ff419d3065
Merge pull request #4427 from roc-lang/virtual-dom
Virtual DOM
2022-12-18 17:42:07 +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
Brian Carroll
2e7bfe6ebe
virtual-dom: update HostJavaScript.roc from host.js 2022-12-18 16:56:59 +00:00
Brian Carroll
32fcfec51d
virtual-dom: add a roc check test to cli_run 2022-12-18 16:48:20 +00:00