Commit Graph

848 Commits

Author SHA1 Message Date
Richard Feldman
5a566c721e
Update Cargo.lock for cli-platform 2022-07-08 20:06:16 -04:00
Richard Feldman
2a42ca3821
Fix percent-encoding 2022-07-08 20:06:16 -04:00
Richard Feldman
53689c5cf0
Add Url.reserve and withCapacity 2022-07-08 20:06:16 -04:00
Richard Feldman
b26479718d
Fix a bunch of compile errors in Url 2022-07-08 20:06:15 -04:00
Richard Feldman
e6dce24630
Fix some parsing and formatting issues 2022-07-08 20:06:15 -04:00
Richard Feldman
9d965a6f36
Add Url functions for manipulating the fragment 2022-07-08 20:06:15 -04:00
Richard Feldman
4f171f381c
Add Url.withFragment and Url.hasFragment 2022-07-08 20:06:15 -04:00
Richard Feldman
ef95099e2d
Expand Url docs 2022-07-08 20:06:15 -04:00
Richard Feldman
ac03572e76
Percent-encode query params 2022-07-08 20:06:15 -04:00
Richard Feldman
1f47042aa5
Remove Path.roc for now 2022-07-08 20:06:15 -04:00
Richard Feldman
82fcff9791
Update Url.roc 2022-07-08 20:06:14 -04:00
Richard Feldman
a95157ad1b
Update Url module 2022-07-08 20:06:14 -04:00
Richard Feldman
59ca19b5c3
Have Url.percentEncode encode non-ASCII chars 2022-07-08 20:06:14 -04:00
Richard Feldman
4a80f9e164
Add WIP Path.roc and Url.roc to CLI platform 2022-07-08 20:06:14 -04:00
Richard Feldman
5e533c4a0f
Add a third type param to Task 2022-07-07 10:06:02 -04:00
Folkert de Vries
0412578e49
Merge pull request #3433 from rtfeldman/url-appending-fixes
url appending fixes
2022-07-07 11:51:40 +02:00
Folkert
1ceed06f2b
dealloc is wrong for static strings 2022-07-07 03:26:42 +02:00
Folkert
4bd5df4e0d
fix memory leak in c platform 2022-07-07 00:07:45 +02:00
Richard Feldman
61a05c7059
roc format examples 2022-07-06 15:10:17 -04:00
Richard Feldman
44f27c4378
roc format examples 2022-07-06 14:00:45 -04:00
Brendan Hansknecht
91bf84719f
correct host.test.js 2022-07-03 10:28:56 -07:00
Brendan Hansknecht
b1a17b5a6f
add fd_write so that works 2022-07-03 10:21:15 -07:00
Brendan Hansknecht
13a1a8f49d
update the wasm example so that it compiles and the readme is correct 2022-07-03 10:20:52 -07:00
Anton-4
b1b9a8dc0a
Merge branch 'trunk' of github.com:rtfeldman/roc into crates-folder 2022-07-02 10:44:25 +02:00
Brian Carroll
f098d71f61
Make the benchmark host prompt the user for input 2022-07-01 21:57:02 +01:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
Richard Feldman
ca2eb1e7e2
Merge pull request #3281 from rtfeldman/add_platform_switching_example
Separate `hello-world` platform switching into its own example
2022-06-28 09:12:05 -04:00
Ayaz Hafiz
9db8832e35
Rust roc_alloc rather than allocator in benchmarks platform
This is good style (I think?) and in #2226, the effect closures become
0-sized, which presently causes the ptrCast here to panic because it's
casting a nullptr. Aside of #3336 I think this is the last thing to get
the lazy effects working.
2022-06-27 18:26:06 -04:00
Jan Van Bruggen
8cf3bee728 Reword "web" example things to "web assembly" 2022-06-27 00:07:11 -06:00
Jan Van Bruggen
8f440f0b5a Rename "hello" executable to "helloWorld" 2022-06-27 00:06:37 -06:00
Jan Van Bruggen
a9d9acb2b8 Separate hello-world platform switching into its own example 2022-06-27 00:06:33 -06:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples 2022-06-16 15:21:55 -04:00
Richard Feldman
52dc59383b
Update Cargo.lock on examples 2022-06-15 12:08:06 -04:00
Richard Feldman
8ba3345311
fix typo 2022-06-15 12:08:06 -04:00
Richard Feldman
8295b7cbf9
Update examples/README 2022-06-15 12:08:06 -04:00
Richard Feldman
f9e15c0a65
Revise hello-world example 2022-06-15 12:08:05 -04:00
Richard Feldman
8d6573fd76
Add a comment explaining the ManuallyDrop 2022-06-12 11:07:24 -04:00
Folkert
8d85d87326
extend lifetime of string till end of block 2022-06-12 16:09:44 +02:00
Richard Feldman
11b8dded25
Merge pull request #3161 from rtfeldman/cli-run-tricks
Cli run tricks
2022-06-08 10:09:56 -04:00
Brian Carroll
f7abb16163
ignore all .wasm files in examples, rather than individual ones 2022-06-06 16:45:22 +01:00
Anton-4
23236f5cb2
fixed hello swift 2022-06-01 17:15:52 +02:00
Folkert
e81e597d85
fix a complaint by my clang 2022-06-01 14:17:12 +02:00
Sean Hagstrom
d9d708fc94
formatter: fix indentation for multi-line lambdas in pipeline expression 2022-06-01 08:53:13 +01:00
Richard Feldman
228793002c
Stop using ReferenceCounted in examples 2022-05-26 11:41:42 -04:00
Sean Hagstrom
e2e77a2324
formatter: add newlines between parens delimiters for multiline expressions 2022-05-24 11:19:30 +01:00
Richard Feldman
4eec34becf
Update to use new square brace formatting 2022-05-22 23:15:54 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions 2022-05-19 09:26:04 +01:00
Richard Feldman
9c72e5e8ed
Remove unnecessary -> () function return types 2022-05-18 08:29:40 -04:00
Sean Hagstrom
fbdeec8b3b
update examples with empty record patterns formatting 2022-05-16 22:24:23 +01:00