Commit Graph

79 Commits

Author SHA1 Message Date
Richard Feldman
8fef5379b3
clippy 2023-06-28 22:36:05 -04:00
Fábio Beirão
ed0e445052
Fix formatting errors
Contributes to #5487
2023-05-31 23:09:09 +02:00
Fábio Beirão
778a0dcb67
Adjust the misleading characters to use the \u{} syntax, but still show the rendered example
Contributes to #5487
2023-05-31 22:15:45 +02:00
Fábio Beirão
24b96d872c
Refactor the https tests to not use should_panic
Thanks for the excellent tip, @rtfeldman
Contributes to #5487
2023-05-31 22:10:19 +02:00
Fábio Beirão
6448326e85
Change the implementation to use chars instead of strings
Also include a performance improvement by only iterating over the url's characters once
Contributes to #5487
2023-05-31 21:47:56 +02:00
Fábio Beirão
5b186fbebe
Move the unicode descriptions to be inline with the array items
Improves readability
Contributes to #5487
2023-05-31 21:42:20 +02:00
Fábio Beirão
d633fbf89f
Provide a better explanation to the motivation for disalowing misleading characters
Contributes to #5487
2023-05-31 21:37:50 +02:00
Fábio Beirão
a557738791
Add a few unit tests to PackageMetadata
Contributes to #5487
2023-05-31 18:51:28 +02:00
Fábio Beirão
5744387693
Add "@" to the list of misleading characters
Contributes to #5487
2023-05-31 18:50:49 +02:00
Fábio Beirão
842f8b9941
Adjust packaging/https to check for misleading unicode characters
Related to #5487
2023-05-31 16:48:33 +02:00
David Smith
1aa45240fd
Update --prebuilt-platform usage in comments and error messages. 2023-05-15 12:53:58 -04:00
Anton-4
f619a35c7c
.rh and .rm adjustments, basic-cli nightly prep 2023-03-20 12:24:30 +01:00
Brendan Hansknecht
f42f61e271
run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
Brendan Hansknecht
4a89bee0a5
centralize package versions except for vendor and excluded 2023-03-06 19:29:09 -08:00
Brendan Hansknecht
5485c8a5b0
update to using workspace package spec 2023-03-06 16:36:18 -08:00
Brendan Hansknecht
c9e4badd93
update as many dependencies as possible to use the workspace version of the package 2023-03-06 12:43:48 -08:00
Brendan Hansknecht
21af20597e
remove unused dependencies 2023-03-06 12:09:00 -08:00
dankeyy
d73b2737f4
fix error trigger for static-pie platforms 2023-02-12 10:52:28 +02:00
Anton-4
1e32009734
fmt+clippy 2023-02-03 11:49:07 +01:00
dankeyy
1dbd3289ff
using ldd, not readelf 2023-02-02 13:47:22 +02:00
dankeyy
a7d33962f8
cleanup 2023-02-01 23:46:35 +02:00
dankeyy
4cf3da3aa7
alert users of dynamically linked platforms on nixos 2023-02-01 21:49:55 +02:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00
Anton-4
cc67c75d39
update to rm2 2023-01-21 19:02:40 +01:00
Anton-4
4b929cfdb3
rust 1.65 updates for wasm target 2023-01-17 20:11:38 +01:00
Richard Feldman
ed0b07a62f
clippy 2022-12-17 03:35:39 -05:00
Richard Feldman
da595a86b0
Parse package module header 2022-12-04 06:26:44 -05:00
Richard Feldman
2d8b8678d5
If renaming tmpdir for package fails, deep copy it 2022-12-01 22:39:40 -05:00
Joshua Warner
2b91af02df
Introduce record! combinator
... and refactor header parser to fully use combinators, in support of future combinator-based superpowers
2022-11-28 20:25:55 -08:00
Anton-4
f91523baa9
update tutorial, cleanup 2022-11-28 20:13:39 +01:00
Richard Feldman
32d9c6d875
Fix a comment 2022-11-26 09:08:24 -05:00
Richard Feldman
2409399ff3
Don't even compile https stuff in wasm! 2022-11-26 08:53:31 -05:00
Richard Feldman
b9074f0cfa
Avoid unused import warning on wasm tests 2022-11-26 08:47:21 -05:00
Richard Feldman
ca06a200e6
Use PathBuf::from over PathBuf::new 2022-11-25 21:27:00 -05:00
Richard Feldman
0ecebe57b5
WASI doesn't have a home directory 2022-11-25 19:49:28 -05:00
Richard Feldman
e0030bac6c
Try to fix wasm URL-based downloads again 2022-11-25 16:54:10 -05:00
Richard Feldman
59e13d5bec
Don't try to import reqwest::blocking on wasm 2022-11-25 03:32:15 -05:00
Richard Feldman
253f903ae6
Drop openssl dependency 2022-11-24 21:14:26 -05:00
Richard Feldman
7874db0b5f
Fix a cfg 2022-11-24 19:14:34 -05:00
Richard Feldman
85a5905ef7
Fix typos in comments 2022-11-24 04:40:42 -05:00
Richard Feldman
c3fa64afbd
Add /packages to ~/.cache/roc over ROC_VERSION 2022-11-22 12:10:45 -05:00
Richard Feldman
207160e22c
Print downloading message when downloading package 2022-11-22 12:05:19 -05:00
Richard Feldman
822f059e6e
Always include ROC_VERSION in cache dir 2022-11-22 12:05:03 -05:00
Richard Feldman
7356809fc3
clippy 2022-11-22 10:59:17 -05:00
Richard Feldman
13caa0bc17
Fix doc comment 2022-11-22 08:38:59 -05:00
Richard Feldman
c7f9ecccf1
Fix compression inference 2022-11-22 08:38:02 -05:00
Richard Feldman
092d21a663
Properly resolve shorthands to HTTPS URL packages 2022-11-22 08:28:54 -05:00
Richard Feldman
d16b247523
Rename some variables 2022-11-22 07:20:35 -05:00
Richard Feldman
7b7f64e6c0
Streaming downloading and hash verification works 2022-11-21 19:24:25 -05:00
Richard Feldman
ea8bb8820b
Switch from ureq to reqwest::blocking 2022-11-21 15:01:43 -05:00