Commit Graph

23749 Commits

Author SHA1 Message Date
Anton-4
cdd0449391
re-enable nightly tests 2023-03-20 20:10:59 +01:00
Anton-4
b5ef4f1d99
workflow fixes 2023-03-20 20:07:31 +01:00
Anton-4
8da9af94f2
use latest basic-cli, better error messages 2023-03-20 20:06:36 +01:00
Anton-4
43eb1b6ea2
ci is not triggering 2023-03-20 16:35:31 +01:00
Anton-4
6e0dc30797
fixes, build tar.br now 2023-03-20 16:32:54 +01:00
Anton-4
5853ece0a8
basic-cli release prep 2023-03-20 15:30:15 +01:00
Anton-4
637c98b1f1
temp disable nightly testing 2023-03-20 13:44:16 +01:00
Anton-4
f619a35c7c
.rh and .rm adjustments, basic-cli nightly prep 2023-03-20 12:24:30 +01:00
Anton-4
1061b7e8c0
Merge branch 'main' of github.com:roc-lang/roc into glue-getters-rtfeldman 2023-03-17 12:02:35 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Anton-4
f1b1aa6a7b
Merge branch 'main' of github.com:roc-lang/roc into glue-getters-rtfeldman 2023-03-17 11:34:29 +01:00
Folkert de Vries
7bba18797a
Merge pull request #5147 from roc-lang/misc-fuzz-bugs
Misc seamless slice bugs
2023-03-16 23:45:52 +01:00
Brendan Hansknecht
ba804cc382
clippy 2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it 2023-03-16 12:12:28 -07:00
Brendan Hansknecht
2a6c82c937
fix bug where we don't decrement elements if the list is non-unique 2023-03-16 12:12:28 -07:00
Brendan Hansknecht
a955a4937c
misc list refcounting updates 2023-03-16 12:12:28 -07:00
Brendan Hansknecht
ce29c7e92f
fix bugs from recent changes and additions 2023-03-16 12:12:27 -07:00
Brendan Hansknecht
c1b8f468d7
Merge pull request #5145 from roc-lang/str-excess-capacity
add Str.releaseExcessCapacity
2023-03-16 18:41:49 +00:00
Brendan Hansknecht
00a3d7b259
update mono tests 2023-03-15 16:44:02 -07:00
Brendan Hansknecht
48f17a8e2c
add Str.releaseExcessCapacity 2023-03-15 15:24:59 -07:00
Brendan Hansknecht
a80b25d044
Merge pull request #5142 from roc-lang/seamless-slices-str
Seamless slices str
2023-03-15 21:56:19 +00:00
Folkert
8b00e071ab
fix wrong field name in wasm helpers 2023-03-15 22:17:23 +01:00
Brendan Hansknecht
b8e42b05a2
misc cleanup 2023-03-15 13:25:45 -07:00
Brendan Hansknecht
8d5a182f83
fmt 2023-03-15 13:25:45 -07:00
Brendan Hansknecht
dbead004c5
clippy 2023-03-15 13:25:45 -07:00
Brendan Hansknecht
782411cfcb
correct passing str to sub function 2023-03-15 13:25:44 -07:00
Brendan Hansknecht
19039ea5bd
fix edge cases 2023-03-15 13:25:44 -07:00
Brendan Hansknecht
3dd16d2114
fix pushing to alloca 2023-03-15 13:25:44 -07:00
Brendan Hansknecht
70eef9141f
port string functions to seamless slices 2023-03-15 13:25:40 -07:00
Brendan Hansknecht
8f96295ab1
fix wasm test loading of seamless slices 2023-03-15 13:23:35 -07:00
Brendan Hansknecht
18e6dbd163
fix roc_std to support seamless str slices 2023-03-15 13:23:34 -07:00
Brendan Hansknecht
3978059aa2
add seamless slices for str 2023-03-15 13:23:34 -07:00
Brendan Hansknecht
24c403eba0
Merge pull request #5139 from roc-lang/validate-unicode
Add a fast path for validating ASCII charcters
2023-03-15 19:31:57 +00:00
Brendan Hansknecht
0f708d7577
fix accessing bug 2023-03-15 10:06:31 -07:00
Brendan Hansknecht
88a69a23a8
fix type to work on 32bit platforms 2023-03-15 10:06:31 -07:00
Brendan Hansknecht
7f3c67ade9
use isValidUnicode in fromUtf8 to make it faster. Also fix off by one bug. 2023-03-15 10:06:31 -07:00
Brendan Hansknecht
f6677f3c1f
Add a fast path for validating ASCII charcters
From my quick testing using the code for testing this function in zig standard lib:

small ascii:     2.2x
small unicode:   0.9x
medium ascii:    15x
medium unicode:  1.01x
medium mix:      3.25x
large ascii:     32.8x
large unicode:   1.03x
large mixed:     3.35x

small being less than 8 bytes.
large being roughly greater than 512 bytes.
2023-03-15 10:06:31 -07:00
Anton-4
2023770ce7
Merge pull request #5134 from lukewilliamboswell/docs
Add documentation for `Set` and minor fixes
2023-03-15 11:40:06 +01:00
Luke Boswell
dd0fdd5d74
roc format 2023-03-15 18:54:46 +11:00
Luke Boswell
2241b173bf
return markdown headings to preserve structure 2023-03-15 18:30:44 +11:00
Luke Boswell
90dd31aaca
update mono 2023-03-15 18:24:16 +11:00
Luke Boswell
ba1d8755e0
Merge remote-tracking branch 'remote/main' into docs 2023-03-15 18:20:52 +11:00
Luke Boswell
91604f8be6
return structure using <h2> elements, fix css 2023-03-15 18:19:33 +11:00
Luke Boswell
ca2158edbb
simplify Set examples 2023-03-15 18:12:17 +11:00
Luke Boswell
5dde76c4ba
modify examples 2023-03-15 18:09:59 +11:00
Luke Boswell
ef0de4c72f
merge builtin-json 2023-03-15 18:07:01 +11:00
Luke Boswell
1fe56bcefb
adds docs for Json 2023-03-15 16:30:39 +11:00
Brendan Hansknecht
ae42144c72
Merge pull request #5135 from roc-lang/no-editor-by-default
don't build editor for CLI by default
2023-03-15 05:16:51 +00:00
Luke Boswell
d8d3d252f1
fix empty list test 2023-03-15 09:56:33 +11:00
Anton-4
1f92508c55
clippy 2023-03-14 19:17:36 +01:00