Commit graph

1527 commits

Author SHA1 Message Date
Anton-4
fe16c1bb8e
Merge pull request #4500 from roc-lang/c_missing_include
add missing includes for clang 14
2022-11-10 11:39:23 +01:00
Joshua Warner
cdbdfeeaa4
Use closure syntax in parentheses in False.roc 2022-11-09 19:00:27 -05:00
Brian Carroll
34c3793529
Create an example app 2022-11-09 22:29:41 +00:00
Brian Carroll
65ae1ca227
server-side-rendering readme disclaimer 2022-11-09 21:00:11 +00:00
Brian Carroll
ef03ea2f48
rename virtual-dom -> server-side-rendering 2022-11-09 20:55:16 +00:00
Anton-4
cd375538f2
add missing includes for clang 14
I believe implicit declarations(=missing headers) used to be a warning in clang 13 but this now an error in clang 14
2022-11-09 20:46:48 +01:00
Folkert
b8145e8eb8
fix missing import 2022-11-09 13:05:54 +01:00
Brian Carroll
c92f7ffd22
virtual-dom: readme updates 2022-11-09 09:08:34 +00:00
Brian Carroll
d22220fe0e
virtual-dom: try to recurse on children... but it's time to put this on hold! 2022-11-09 09:08:34 +00:00
Brian Carroll
d8a10f0d9d
virtual-dom: Use Rendered and NotRendered instead of Ok and Err 2022-11-09 09:08:34 +00:00
Brian Carroll
6f875ed472
virtual-dom: workaround type checker issues by ignoring event listeners 2022-11-09 09:08:34 +00:00
Brian Carroll
536fa7b9f1
Failed fix: get rid of type alias 2022-11-09 09:08:34 +00:00
Brian Carroll
448a667632
BAD TYPE CHECK ERROR 2022-11-09 09:08:34 +00:00
Brian Carroll
8cd2dc3632
virtual-dom: implement Effect.map 2022-11-09 09:08:34 +00:00
Brian Carroll
ca3df27330
virtual-dom: further work on createSubTree 2022-11-09 09:08:34 +00:00
Brian Carroll
511c7397f1
virtual-dom: start implementing createSubTree 2022-11-09 09:08:34 +00:00
Brian Carroll
e36d93a765
virtual-dom: updateTextNode 2022-11-09 09:08:34 +00:00
Brian Carroll
586b204876
virtual-dom: get rid of the "multiple views" idea
It's a bit hard to program with and takes a lot of explaining.
For now let's keep things a bit more traditional and get it working.
2022-11-09 09:08:34 +00:00
Brian Carroll
c21903938f
virtual-dom: Initial draft of backend host 2022-11-09 09:08:34 +00:00
Brian Carroll
cb0c3867e1
virtual-dom: Create runInVdomArena as a nicer API to the arena 2022-11-09 09:08:34 +00:00
Brian Carroll
81e94a0578
virtual-dom: finish writing dispatchEvent 2022-11-09 09:08:34 +00:00
Brian Carroll
d82396a23f
virtual-dom: explicit Err for UnusedViews 2022-11-09 09:08:34 +00:00
Brian Carroll
df4e5de5ee
virtual-dom: replace type variables with _ 2022-11-09 09:08:34 +00:00
Brian Carroll
cc59a2b66c
virtual-dom: remove unnecessary wildcards in error types 2022-11-09 09:08:34 +00:00
Brian Carroll
9c7db010af
virtual-dom: be specific about where Encoding and Decoding are needed 2022-11-09 09:08:34 +00:00
Brian Carroll
5960dd0bcf
COMPILER CRASH.. I thought maybe it was to do with open vs closed unions but no joy 2022-11-09 09:08:34 +00:00
Brian Carroll
15ebbe238e
COMPILER CRASH... is this not how you're supposed to use error tags? 2022-11-09 09:08:34 +00:00
Brian Carroll
9e92ad7f30
COMPILER CRASH, where I was hoping for a message telling me which Result.Err tags I need for decoding 2022-11-09 09:08:34 +00:00
Brian Carroll
6ec7b870df
virtual-dom: initClientApp 2022-11-09 09:08:34 +00:00
Brian Carroll
bfb123ffc4
virtual-dom: server-side app init function 2022-11-09 09:08:34 +00:00
Brian Carroll
bbf93663fa
COMPILER CRASH on type error 2022-11-09 09:08:34 +00:00
Brian Carroll
1cda52ed19
Why won't roc format let me have blank lines between comments?!
In Elm and Haskell I often like to break up a file into sections using big comments
It should be OK for files to get big in these languages, as discussed in
[The life of a file](https://www.youtube.com/watch?v=XpDsk374LDE)
And when they do, I want blank lines!
2022-11-09 09:08:34 +00:00
Brian Carroll
3ca64462f1
Revert "COMPILER CRASH instead of nice error"
This reverts commit 73115e7bddea49d1bab7b35d362d21a3588e5766.
2022-11-09 09:08:34 +00:00
Brian Carroll
184609531b
COMPILER CRASH instead of nice error 2022-11-09 09:08:34 +00:00
Brian Carroll
3de55eb939
virtual-dom: remove unused custom equality 2022-11-09 09:08:34 +00:00
Brian Carroll
77ff6702df
virtual-dom: formatting 2022-11-09 09:08:34 +00:00
Brian Carroll
d834e77481
virtual-dom: populateViewContainers shouldn't take an id 2022-11-09 09:08:34 +00:00
Brian Carroll
9b95bc0041
Revert "COMPILER PANIC instead of nice error, when using a type instead of a type constructor"
This reverts commit a24dc08856f05b003ecd152de4aa1781b2203f08.
2022-11-09 09:08:34 +00:00
Brian Carroll
0a254fce90
COMPILER PANIC instead of nice error, when using a type instead of a type constructor 2022-11-09 09:08:34 +00:00
Brian Carroll
a3a8759d5a
virtual-dom: custom equality for Attribute 2022-11-09 09:08:34 +00:00
Brian Carroll
8c3158c3e0
COMPILER CRASH: member signature lambda sets should contain only one unspecialized lambda
set
2022-11-09 09:08:34 +00:00
Brian Carroll
484db7c469
virtual-dom: make Handler private 2022-11-09 09:08:34 +00:00
Brian Carroll
6dcd9c5327
virtual-dom: 🎨 cosmetic cleanups 2022-11-09 09:08:34 +00:00
Brian Carroll
16f0d893c8
virtual-dom: fix populateViewContainers 2022-11-09 09:08:34 +00:00
Brian Carroll
84c82d9d95
COMPILER CRASH. Stack overflow caused by Internal.roc:364 2022-11-09 09:08:34 +00:00
Brian Carroll
eb5fa70be6
virtual-dom: write indexNodes and update readme on SSR 2022-11-09 09:08:34 +00:00
Brian Carroll
846e14bff4
Revert "COMPILER STUCK on missing tag parameter"
This reverts commit 758bf96b8d86fd849601e4a40d09340354fe3268.
2022-11-09 09:08:34 +00:00
Brian Carroll
0f571e185d
COMPILER STUCK on missing tag parameter 2022-11-09 09:08:34 +00:00
Brian Carroll
e27dd67de9
virtual-dom: add a JsIndex param to Html 2022-11-09 09:08:34 +00:00
Brian Carroll
021e5ca469
COMPILER CRASH. Updated union type without updating when patterns. 2022-11-09 09:08:34 +00:00