Commit graph

12914 commits

Author SHA1 Message Date
Richard Feldman
cb40c21374
Fix test 2022-02-24 22:19:48 -05:00
Richard Feldman
09dec55e6e
Drop unused variable 2022-02-24 22:06:00 -05:00
Richard Feldman
bab5be4e67
Implement ReferenceCount for RocElem 2022-02-24 21:38:07 -05:00
Richard Feldman
b85e79e6bc
Drop some obsolete code 2022-02-24 21:37:58 -05:00
Richard Feldman
1e2083e804
Merge remote-tracking branch 'origin/trunk' into gui-example 2022-02-24 18:11:18 -05:00
Brendan Hansknecht
279652a5af
Merge pull request #2570 from rtfeldman/wasmer-cranelift
Wasmer: use cranelift for non-x86_64 since singlepass is not supported
2022-02-24 22:02:24 +00:00
Brendan Hansknecht
c327681ebc Wasmer: use cranelift for non-x86_64 since singlepass is not supported 2022-02-24 10:31:21 -08:00
Richard Feldman
e779c84bd6
Add explicit gui example test 2022-02-24 10:19:00 -05:00
Richard Feldman
7179f87536
Merge pull request #2569 from rtfeldman/simplify-pattern-constraint-generation
Simplify pattern constraint generation
2022-02-24 07:28:17 -05:00
ayazhafiz
f8c7349193 Simplify pattern constraint generation
At the time we introduced presence constraints for tag unions, I added a
"destruct_position" variable so that we didn't change the typechecking
semantics for everything all at once, and because I wasn't totally sure
what I was doing was correct. But now we're more confident in this
approach, and every pattern is by definition a destructuring, so there
is no need for this flag.

Also should fix some potential bugs we didn't notice before with presence
constraints in closure variables, though I can't find a good test to
reproduce this, since closure variables are hidden from the user.
2022-02-24 01:08:18 -05:00
Richard Feldman
130b6108af
Revert "Reproduce monomorphization crash"
This reverts commit 181fcb97f7.
2022-02-24 00:18:53 -05:00
Richard Feldman
181fcb97f7
Reproduce monomorphization crash 2022-02-24 00:18:34 -05:00
Richard Feldman
4de6ad4afb
Drop unused field 2022-02-24 00:07:44 -05:00
Richard Feldman
54882f357d
Add test to build gui example 2022-02-24 00:07:30 -05:00
Tom Dohrmann
0169a6c579
Merge pull request #2561 from rtfeldman/remove-capacity-from-roc_std
reimplement `RocList` and `RocStr`
2022-02-24 05:42:10 +01:00
Richard Feldman
72edf73ebd
Extract out build_example function 2022-02-23 23:27:34 -05:00
Richard Feldman
39229013ea
Delete some obsolete comments 2022-02-23 21:36:05 -05:00
Richard Feldman
7f1f22f81a
Delete some obsolete gui example platform stuff 2022-02-23 21:34:12 -05:00
Richard Feldman
5fa5a15d44
Drop an obsolete comment 2022-02-23 21:27:18 -05:00
Richard Feldman
655373dbe7
Merge remote-tracking branch 'origin/trunk' into gui-example 2022-02-23 21:25:01 -05:00
Richard Feldman
66057b6643
Make Hello World gui example more legible 2022-02-23 21:22:22 -05:00
Richard Feldman
0d037f2204
Appease clippy 2022-02-23 21:19:02 -05:00
Richard Feldman
4168fc7c6e
Drop some unused code 2022-02-23 21:13:37 -05:00
Richard Feldman
716a0cc8c9
Replace RgbaTup with repr(c) Rgba struct 2022-02-23 21:12:42 -05:00
Richard Feldman
2d9250b1c1
Merge pull request #2562 from rtfeldman/tutorial-install-link
link to "getting started" in tutorial
2022-02-23 20:49:01 -05:00
Richard Feldman
5b7acf8b4f
Make Row and Col work 2022-02-23 20:36:37 -05:00
Folkert de Vries
3066aef1b7
Merge pull request #2550 from rtfeldman/improve-link-lib64
[Enhancement] Improve library lookup in native linker
2022-02-23 23:25:33 +01:00
Anton-4
01a3b3fea8
link to "getting started" in tutorial
The tutorial is mentioned before the "getting started" header which can lead to people not knowing how to install stuff :p
2022-02-23 16:04:09 +01:00
Tom Dohrmann
788c8a6af2 reimplement RocList and RocStr 2022-02-23 16:02:13 +01:00
Richard Feldman
90a25efbd8
Store button styles in Button 2022-02-23 08:35:09 -05:00
Richard Feldman
f1b7c7383f
Store rect colors and borders in FillRect 2022-02-23 08:19:39 -05:00
Richard Feldman
e5b4133a8e
Draw Drawables in reverse order 2022-02-23 08:16:44 -05:00
Richard Feldman
380f367530
Introduce Drawables 2022-02-23 08:11:50 -05:00
hafiz
16e568be76
Merge pull request #2552 from rtfeldman/wasm-specializations 2022-02-23 07:50:24 -05:00
Richard Feldman
be3bdae36c
Render a more reasonable-looking button 2022-02-23 00:23:52 -05:00
Richard Feldman
5b92eb87ec
First button ever rendered! 2022-02-22 21:42:15 -05:00
Richard Feldman
4399a6dfee
Pass RocButton all the way to rendering 2022-02-22 21:42:14 -05:00
Richard Feldman
683b505e3a
Get Button and Text working 2022-02-22 21:42:14 -05:00
Brian Carroll
b327418a6a Merge branch 'trunk' of github.com:rtfeldman/roc into wasm-specializations 2022-02-22 23:48:30 +00:00
Brian Carroll
ce6d5b1727 mono: Fix recursive union arg layout for calls to helper functions 2022-02-22 23:42:48 +00:00
Folkert de Vries
7e70f2e9ad
Merge pull request #2559 from rtfeldman/windows-zig-path-fix
windows zig path validation workaround
2022-02-22 21:39:46 +01:00
Anton-4
8fee48c3fa
windows zig path validation workaround
std::fs::canonicalize adds a special windows prefix ?, zig erroneously (ziglang/zig#1509) does not allow ? in windows paths, dunce correctly removes this ? prefix
2022-02-22 16:17:21 +01:00
hafiz
2ff50333ff
Merge pull request #2556 from rtfeldman/2533-review
#2533 review
2022-02-22 00:21:01 -05:00
Richard Feldman
91169a47f5
Merge pull request #2553 from rtfeldman/roc-link-flags
Read ROC_LINK_FLAGS env var to inject more link flags
2022-02-22 00:07:32 -05:00
ayazhafiz
e8867d6355 Add opaques scope-escaping test @rtfeldman suggested 2022-02-21 23:40:00 -05:00
ayazhafiz
e420ebd023 Add TODOs for opaque type comments that will need to be changed later 2022-02-21 23:21:39 -05:00
hafiz
ca9ecbea52
Merge pull request #2533 from rtfeldman/abilities!
[WIP] Spike for abilities and friends
2022-02-21 23:18:40 -05:00
Richard Feldman
7dc92fe6f4
clippy 2022-02-21 22:15:24 -05:00
Richard Feldman
ea4e2a706d
Merge pull request #2554 from rtfeldman/faq-list-patterns
Add FAQ entry about `::` in lists
2022-02-21 22:14:19 -05:00
Richard Feldman
0cfd9742c3
fix typo in FAQ 2022-02-21 21:08:11 -05:00