Commit Graph

124 Commits

Author SHA1 Message Date
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME 2022-11-20 20:54:03 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00
Brian Carroll
b64514d7e4
Fix web REPL error formatting by routing the active Palette everywhere 2022-11-11 23:38:08 +00:00
Folkert
14cd48fce7
Merge remote-tracking branch 'origin/main' into rust-1-62-1 2022-11-09 13:51:51 +01:00
Ayaz Hafiz
281bc94b55
Remove FlatType::Erroneous 2022-11-08 14:11:25 -06:00
Richard Feldman
6486591201
Merge pull request #4462 from lukewilliamboswell/rust-docs
Rust docs update #2
2022-11-08 09:35:04 -08:00
Anton-4
590c61a6fd
Merge branch 'main' of github.com:roc-lang/roc into editor_launch_fix 2022-11-04 15:15:55 +01:00
Luke Boswell
a3f901427a
correct formatting and removed duplicate image 2022-11-03 20:02:10 +11:00
Luke Boswell
f3bdb5f321
updating rust package documentation 2022-11-03 20:00:06 +11:00
Ayaz Hafiz
05e8e6de6f
Disallow typing optional fields when required fields are annotated
Closes #4313
2022-10-18 15:50:20 -05:00
Anton-4
652dbde26e
editor launch fix + new test 2022-10-15 12:36:06 +02:00
Jan Van Bruggen
be3e4e7b11
De-bump all v0.1.0 Roc packages to v0.0.1 2022-10-09 00:16:19 -06:00
Ayaz Hafiz
73210469db
Add tests for env var passing 2022-10-05 14:36:34 -05:00
Ayaz Hafiz
1cffb3376e
Ignore can errors in glue tests 2022-09-30 13:40:35 -05:00
Richard Feldman
b6157e76b8
Fix type mismatch in exit code 2022-09-19 21:12:48 -04:00
Richard Feldman
ac68d75eec
Merge pull request #3989 from roc-lang/fix-glue-segfault
Fix glue segfault for newtype wrappers around recursive tag unions
2022-09-13 13:47:51 -07:00
dependabot[bot]
0079048944
Bump bumpalo from 3.10.0 to 3.11.0
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.11.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.11.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 21:08:56 +00:00
Richard Feldman
f85f1b84a2
Merge pull request #3991 from roc-lang/glue-handle-multiple-modules
Add glue test case for multiple modules, and when anonymous type is reused
2022-09-12 13:55:41 -07:00
Ayaz Hafiz
0b2cea8c42
Move 2022-09-12 13:25:01 -04:00
Ayaz Hafiz
564d9f795a
Deal with equivalence in the presence of unresolved recursive pointers 2022-09-12 12:39:47 -04:00
Ayaz Hafiz
9eb1c170f3
Print unreachable id 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
9f3a44d323
Remove redundant reference 2022-09-12 12:26:44 -04:00
Ayaz Hafiz
ea527f627f
Add test for multiple modules and anonymous string 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
f1b5705b06
Re-use existing ID of added anonymous type, when possible 2022-09-12 12:26:43 -04:00
Ayaz Hafiz
15f66e3eaa
Add some tracing for debug purposes 2022-09-12 12:26:43 -04:00
dependabot[bot]
35b2e9c80f
Bump clap from 3.2.18 to 3.2.20
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.18 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.20)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 10:33:19 +00:00
dependabot[bot]
d1c406812f
Bump pretty_assertions from 1.2.1 to 1.3.0
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases)
- [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0)

---
updated-dependencies:
- dependency-name: pretty_assertions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 05:28:00 +00:00
Jan Van Bruggen
824f8a3e48
Move "🔨 Rebuilding platform..." message from stdout to stderr 2022-09-11 10:25:02 -06:00
Anton-4
f6324edc10
Merge branch 'main' of github.com:roc-lang/roc into rust-1-62-1 2022-09-10 18:17:33 +02:00
Richard Feldman
474a31d7d6
Fix test 2022-09-07 15:36:32 -04:00
Richard Feldman
3a12aa26cc
Use repr(transparent) in glue for newtype wrappers 2022-09-07 13:00:08 -04:00
Richard Feldman
5b787aa218
Glue newtype wrappers of recursive tag unions 2022-09-07 13:00:07 -04:00
Richard Feldman
a1f3036fc8
Reduce some allocations in glue 2022-09-07 13:00:07 -04:00
dependabot[bot]
d061730960
Bump dircpy from 0.3.12 to 0.3.13
Bumps [dircpy](https://github.com/woelper/dircpy) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/woelper/dircpy/releases)
- [Commits](https://github.com/woelper/dircpy/commits)

---
updated-dependencies:
- dependency-name: dircpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:02:27 +00:00
Ayaz Hafiz
3b4b1838b8
Push layout interner further through Layout 2022-08-31 14:33:52 -05:00
Ayaz Hafiz
c5466810a4
Add LayoutInterner to LayoutCache
Adds a thread-local interner of layouts to LayoutCache, and updates all
references appropriately.

This is a bit suboptimal for single-threaded workloads that will look at
creating layout caches again, like the REPL, but I think that's okay for
now - since the global interner will be uncontested for those workloads, it
should still be plenty fast to access the interner, even behind a lock.
2022-08-31 14:33:51 -05:00
dependabot[bot]
492eff3556
Bump clap from 3.2.11 to 3.2.18
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.11 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.11...v3.2.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 10:17:11 +00:00
Richard Feldman
282a31ae8b
Fix glue for into_ and as_ on single-tag unions 2022-08-26 11:28:26 -04:00
Richard Feldman
641f089384
Use repr(transparent) for single-tag union glue 2022-08-26 09:18:20 -04:00
Anton-4
9aee7cdcf6
1.62.1 version update, fmt, clippy 2022-08-22 15:27:19 +02:00
Richard Feldman
3a1f2a2fcf
clippy 2022-08-21 18:06:32 -04:00
Richard Feldman
3b9c65aefe
Disable more clippy checks in glue 2022-08-21 18:06:31 -04:00
Richard Feldman
e829d2af5b
Revert "Ignore all clippy lints in glue"
This reverts commit 436d2359f5352eed18b91022cf5d86a00dd0c6b4.
2022-08-21 18:06:31 -04:00
Richard Feldman
c1aee72c73
Ignore all clippy lints in glue 2022-08-21 18:06:31 -04:00
Richard Feldman
32f4546518
Skip rustfmt on glue 2022-08-21 18:06:31 -04:00
Richard Feldman
cd01e7fe76
Add #![allow(unused_unsafe)] to Rust glue header 2022-08-21 18:06:31 -04:00
Richard Feldman
64cea0e7ff
Don't glue ManuallyDrop for types that are Copy 2022-08-21 18:06:31 -04:00
Richard Feldman
577128d410
Check in initial glue for RocType etc 2022-08-21 18:06:30 -04:00
Richard Feldman
fa1f2f87ae
Fix glue generation for keywords 2022-08-21 18:06:30 -04:00
Richard Feldman
ace37cf613
Glue 2-tag unions w/ no payloads (but aren't Bool) 2022-08-21 18:06:30 -04:00