Commit graph

23468 commits

Author SHA1 Message Date
Folkert
c8467c1a52
remove cfg(test) in build script 2023-01-09 23:32:26 +01:00
Folkert
e926bced10
refactor load/file logic 2023-01-09 23:31:19 +01:00
Folkert
6c74d4847a
add release-with-debug profile 2023-01-09 23:28:00 +01:00
Folkert de Vries
61a2091b27
Merge pull request #4851 from JTeeuwissen/main
replace borrowed boolean with ownership enum
2023-01-09 23:24:39 +01:00
J.Teeuwissen
c2e14864ab
from_layout 2023-01-09 19:19:20 +01:00
Anton-4
8f62eeaf7e
Merge pull request #4866 from roc-lang/skip-str-append-scalar
skip `str_append_scalar` test on macos x86_64 nightly build
2023-01-09 18:58:18 +01:00
Ayaz Hafiz
b2688dd3b1
Skip nullable ID in nullable wrapped tags when iterating 2023-01-09 11:54:51 -06:00
J.Teeuwissen
b28b32cdc4
moved Ownership to borrow 2023-01-09 18:15:34 +01:00
Anton-4
773e371101
update vscode flake 2023-01-09 17:59:22 +01:00
Richard Feldman
ab7de647e4
Merge pull request #4863 from joshuawarner32/better-scalar-literals
Improve parsing of scalar literals
2023-01-09 11:42:44 -05:00
Anton-4
ddf00e1d3a
skip str_append_scalar on macos x86_64
to allow nightlies to build until #4865 is resolved.

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-09 15:40:36 +01:00
Folkert
7b8b2a40f6
add test for str concat on non-unique first argument 2023-01-09 12:18:12 +01:00
Folkert
8a622a310d
use capacity instead of length in decref 2023-01-09 12:18:11 +01:00
Anton-4
4797979202
don't build valgrind crate for regular build 2023-01-09 10:35:51 +01:00
Ayaz
b1431ebea2
Merge pull request #4864 from roc-lang/str-concat-non-unique-first-argument
str concat non unique first argument
2023-01-08 19:38:34 -06:00
Ayaz
7c61d0d278
Merge pull request #4843 from roc-lang/pattern-as-can
Pattern as can
2023-01-08 19:36:40 -06:00
Folkert
148d24662e
use capacity instead of length in decref 2023-01-08 22:01:35 +01:00
Folkert
cb53e46cdd
clippy 2023-01-08 17:46:13 +01:00
Folkert
c2ddeb0de0
fix and test as pattern type inference 2023-01-08 16:40:03 +01:00
Folkert
57f2233278
cleanup 2023-01-08 15:47:56 +01:00
Folkert
9d9ae290fe
rebuild the platform without doing anything else 2023-01-08 15:39:47 +01:00
Joshua Warner
94070e8ba6
Improve parsing of scalar literals
* Unify parsing of string literals and scalar literals, to (e.g.) ensure escapes are handled uniformly. Notably, this makes unicode escapes valid in scalar literals.
* Add a variety of custom error messages about specific failure cases of parsing string/scalar literals. For example, if we're expecting a string (e.g. a package name in the header) and the user tried using single quotes, give a clear message about that.
* Fix formatting of unicode escapes (they previously used {}, now correctly use () to match roc strings)
2023-01-07 15:12:52 -08:00
Anton-4
6fc593142d
Merge pull request #4862 from roc-lang/fix-link-10xeditor
fix 10xeditor link
2023-01-07 17:20:28 +01:00
Anton-4
8d40bbc733
Merge pull request #4861 from roc-lang/linux-aarch64-unsupported
remove mention linux aarch64
2023-01-07 17:20:00 +01:00
Anton-4
75aca287fc
con't check 10xeditor.com link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-07 15:04:41 +01:00
Anton-4
ae952d246a
fix 10xeditor link
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-07 14:58:23 +01:00
Anton-4
5d7a50dedd
remove mention linux aarch64
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-07 13:37:59 +01:00
dependabot[bot]
d5b8e077b8
Bump tokio from 1.22.0 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:55:09 +00:00
dependabot[bot]
e160d192ed
Bump tokio from 1.21.2 to 1.24.1 in /examples/cli/cli-platform
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 21:49:32 +00:00
Brian Carroll
2dce9f44b7
parser: HTTP reponse 2023-01-06 21:00:24 +00:00
Brian Carroll
b4776ad76f
parser: delete requestStartLine 2023-01-06 20:30:42 +00:00
Brian Carroll
fa54a082d3
parser: Http headers and body 2023-01-06 20:29:46 +00:00
Ayaz
923e6432e2
Merge pull request #4839 from roc-lang/virtual-dom-diff
Virtual DOM diff
2023-01-06 07:34:33 -06:00
J.Teeuwissen
a11d94aee2
Replaced equality check with enum 2023-01-06 08:55:13 +01:00
J.Teeuwissen
be73d3cfc4
Removed ! 2023-01-06 08:54:44 +01:00
Brian Carroll
3fc40362a3
create 'skip' parser combinator 2023-01-05 23:05:49 +00:00
Brian Carroll
a368388b20
parse HTTP request start line 2023-01-05 23:04:40 +00:00
Folkert de Vries
2a8c08e77e
Merge pull request #4855 from roc-lang/weakening-1
Print weak variables in tests and mark constraints that can't be generalized
2023-01-05 23:09:47 +01:00
Folkert de Vries
6989eca6f0
Merge pull request #4848 from roc-lang/intern-layouts-4
Inline interners into the layout interner module
2023-01-05 23:08:37 +01:00
Ayaz
4ff7c13ab3
Merge pull request #4847 from roc-lang/intern-layouts-3
Wrap layout interners in own trait
2023-01-05 16:07:46 -06:00
Brian Carroll
0e27e62a3e
virtual-dom: use crash instead of defaulting to RenderedNone 2023-01-05 21:51:48 +00:00
J.Teeuwissen
1f10d0cb92
Added traits and updated remaining borrowed 2023-01-05 12:02:20 +01:00
Ayaz
314e2d8707
Merge pull request #4846 from joshuawarner32/lenient-records
Be more lenient with indentation in record parsing
2023-01-04 17:06:17 -06:00
Ayaz Hafiz
bcfb258db8
Add a bit to mark syntactically-generalizable types 2023-01-04 17:02:20 -06:00
Ayaz Hafiz
3b0e2429e6
Support printing weak type variables in tests
Unbound type variables that are not at the generalization rank will now
be printed as `w_a` in solve tests.
2023-01-04 16:24:19 -06:00
Brendan Hansknecht
2b993a29f9
Merge pull request #4853 from roc-lang/cargo-fuzz-support
Enable using both cargo-fuzz and afl.rs for fuzzing [Simple PR]
2023-01-04 21:58:10 +00:00
Brendan Hansknecht
b79c855f15
enable using both cargo-fuzz and afl.rs for fuzzing 2023-01-04 11:45:47 -08:00
J.Teeuwissen
09f9df1f40
specification 2023-01-04 15:43:21 +01:00
J.Teeuwissen
6ec977bf1c
imports 2023-01-04 13:34:31 +01:00
J.Teeuwissen
6c95bc1fb9
replace borrowed boolean with ownership enum 2023-01-04 13:30:42 +01:00