Commit Graph

97 Commits

Author SHA1 Message Date
Agus Zubiaga
cf8ab11d27
Load packages from main app when checking a module 2024-06-06 20:25:54 -03:00
Anton-4
00316433d1
remove dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-05-22 14:20:47 +02:00
Luke Boswell
b8362b1c5e
fix importing ingested file 2024-05-20 13:28:18 +10:00
Agus Zubiaga
b3065079ae
cli/tarball read_header return parse_header result directly 2024-05-18 02:28:20 +02:00
Agus Zubiaga
8f0a4da04e
cli/tarball add_ingested_files unwrap_or_else 2024-05-18 02:27:00 +02:00
Agus Zubiaga
70d005fde5
cli/tarball read_header return tuple directly 2024-05-18 02:25:05 +02:00
Agus Zubiaga
46da864fea
Handle ingested file prefix error 2024-05-18 02:16:02 +02:00
Agus Zubiaga
504107f90e
Include ingested files in package tarballs
If a package has an ingested file import, we will now add the file
to the tarball.
2024-05-18 02:07:58 +02:00
Agus Zubiaga
057a18573a
New module header
Implements the new `module` header syntax as described in "module and package changes" [1]:

```
module [Request, Response, req]
```

The old syntax should still work fine, and is automatically upgraded to the new one
when running `roc format`.

[1] https://docs.google.com/document/d/1E_77fO-44BtoBtXoVeWyGh1xN2KRTWTu8q6i25RNNx0/edit
2024-05-01 10:39:12 -03:00
Brendan Hansknecht
ce1e30163c
support .a archives in bundling 2024-01-26 14:39:05 -08:00
dhzdhd
49c28409e0 Update ProgressReporter to display file size in KB 2024-01-02 19:09:55 +01:00
zapsh
91d0de75ab
adding initial 404 handling 2023-12-03 17:07:25 -05:00
Ching Pei Yang
6f3588186c
Print download progress to stderr instead 2023-12-01 19:48:36 +01:00
Ching Pei Yang
f2f58b062d
Remove unneeded println arg 2023-11-30 16:17:38 +01:00
Ching Pei Yang
aad1c0682c
Add progress reporting even when total size is unknown 2023-11-27 18:11:41 +01:00
Ching Pei Yang
7f82f8da2b
Remove unused variable 2023-11-26 15:15:24 +01:00
Ching Pei Yang
b55336f093
Add simple download progress tracker 2023-11-26 15:15:23 +01:00
Richard Feldman
2a4ede7f08
Make downloading packages more resilient 2023-11-10 14:52:34 -05:00
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