Commit graph

29622 commits

Author SHA1 Message Date
Richard Feldman
8997c80573
Remove deprecated roc_collections::soa things 2024-10-21 23:17:20 -04:00
Richard Feldman
d796b3ec74
Update insta tests 2024-10-21 23:09:55 -04:00
Richard Feldman
91360bac17
Don't print type names in Debug for Slice & Index 2024-10-21 22:36:08 -04:00
Richard Feldman
458899b25b
use #[deprecated] 2024-10-21 22:34:29 -04:00
Richard Feldman
9590db6bd0
use #[deprecated]
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:33:37 -04:00
Richard Feldman
3dbddb3846
use #[deprecated]
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-10-21 22:31:20 -04:00
Richard Feldman
8bb7b5460f
Don't qualify PhantomData 2024-10-21 22:30:43 -04:00
Richard Feldman
c9c7156db5
Fix insta tests 2024-10-21 22:10:44 -04:00
Richard Feldman
f03505a485
Add no_std to soa 2024-10-21 22:10:44 -04:00
Richard Feldman
ab17bfc260
Drop unnecessary comment 2024-10-21 22:10:44 -04:00
Richard Feldman
728a475d1b
Delete obsolete doc comment 2024-10-21 22:10:44 -04:00
Richard Feldman
08b32927f1
Implement @smores56's feedback from #7156 2024-10-21 22:10:44 -04:00
Richard Feldman
62b4fe6943
clippy 2024-10-21 22:10:43 -04:00
Richard Feldman
e589923ae8
Make collections::soa use the soa crate 2024-10-21 22:10:43 -04:00
Richard Feldman
44d00e1f13
Updates for making soa no_std 2024-10-21 22:10:43 -04:00
Richard Feldman
178bc469e6
Put back a bunch of the push_new etc. calls 2024-10-21 22:10:43 -04:00
Richard Feldman
49d1786f6c
Remove more push_new and extend_new usages 2024-10-21 22:10:43 -04:00
Richard Feldman
b2ea0b842c
Revert "Do some checked SoA stuff"
This reverts commit c79d7745f6eb345fd50a7cb4a2a7dd6fb6f8f1fc.
2024-10-21 22:10:43 -04:00
Richard Feldman
a8d3280b02
Do some checked SoA stuff 2024-10-21 22:10:42 -04:00
Sam Mohr
ff83fd6e3e
Merge pull request #7172 from jwoudenberg/expose-original-script-to-host
Set argv[0] to .roc file passed to 'roc run'
2024-10-21 13:43:25 -07:00
Jasper Woudenberg
ad555297cf
Set argv[0] to .roc file passed to 'roc run'
When we run `roc run <file>` or `roc <file>` then Roc will compile a
binary and run it. Before this commit we would set the path to the
compiled binary as argv[0]. This commit changes the behavior to make
argv[0] in the binary correspond to the roc file being ran.

This benefits the use of roc scripts that make use of a shebang:

    #!/usr/bin/env roc

With this change such scripts will be able to read the path to
themselves out of ARGV. This trick is commonly used for instance by bash
scripts in order to access files relative to the script itself.
2024-10-21 21:54:46 +02:00
Luke Boswell
fe029c85b6
Merge pull request #7174 from jwoudenberg/extra-glue-docs
Add extra documentation around glue
2024-10-21 13:56:20 +11:00
Jasper Woudenberg
1ab8fd55a9
Add extra documentation around glue 2024-10-20 20:31:11 +02:00
Anton-4
573d4337e7
Merge pull request #7169 from stuarth/patch-1
fix typo in Dict.update docs
2024-10-15 19:51:06 +02:00
Stuart Hinson
3739023f2a
fix typo in Dict.update docs
`Err` branch fix

Signed-off-by: Stuart Hinson <stuart.hinson@gmail.com>
2024-10-15 13:19:36 -04:00
Anton-4
35359a5b37
remove usefulness...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 15:53:25 +02:00
Anton-4
837dc7b7cc
Merge pull request #7154 from DavidEdwards1/allow-check-on-markdown
Initial Sketch of roc check on Markdown
2024-10-15 13:54:09 +02:00
Anton-4
734a4e4504
clean up dbg
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:54:52 +02:00
Anton-4
e73484d282
improve names
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-15 12:53:56 +02:00
Luke Boswell
367911d73a
Merge pull request #7157 from nathanKramer/feature/different-names-with-header
Add website header to different names page
2024-10-15 08:21:19 +11:00
Ayaz
f8a6d894fa
Merge pull request #7166 from svcxc/rocdec-traits
Implement Default/PartialOrd/Ord for RocDec
2024-10-14 09:55:58 -04:00
svcxc
b7ec1f143b
Implemented Default, PartialOrd, and Ord for RocDec 2024-10-14 14:50:53 +02:00
Sam Mohr
01aa26041c
Merge pull request #7164 from lukeasrodgers/typofix-tutorial-exit-i32
Typofix type signature for `main` in tutorial
2024-10-13 16:47:27 -07:00
David Edwards
94ad57dcfa
Read file line by line rather than all at once 2024-10-13 21:33:41 +01:00
Luke Rodgers
00f44d426e
Typofix type signature for main in tutorial 2024-10-13 12:45:08 -04:00
Sam Mohr
20a539a96d
Merge pull request #7162 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/multi-9f37c16f8f
Bump cookie and express in /crates/compiler/checkmate/www
2024-10-12 19:10:39 -07:00
dependabot[bot]
d034633b9f
Bump cookie and express in /crates/compiler/checkmate/www
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-12 22:04:06 +00:00
Richard Feldman
beda934868
Merge pull request #7156 from roc-lang/soa
Make Subs use a more generic `soa` implementation
2024-10-12 18:03:00 -04:00
Anton-4
bf3ac95a8c
Merge pull request #7159 from roc-lang/add-smart-diff-uftrace
Add smart diff uftrace
2024-10-12 17:34:38 +02:00
Anton-4
1ed6d82945
clarify folder 2024-10-12 17:30:47 +02:00
Anton-4
a25ce87099
added uftrace diff tool 2024-10-12 17:29:58 +02:00
Anton-4
dbd914258c
Merge pull request #7158 from roc-lang/threads-debug-tip
added threads debug tip
2024-10-12 16:08:36 +02:00
Anton-4
3b5ed51879
added threads debug tip
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-12 15:19:03 +02:00
Nathan Kramer
8c22700636
Migrate different-names.html to markdown 2024-10-12 20:49:39 +11:00
Brendan Hansknecht
5646f829dc
Merge pull request #7146 from HajagosNorbert/hajagosnorbert/neg_int
gen_dev-x86_64 extend Num.neg to all Signed and Unsigned int sizes
2024-10-11 08:57:46 -07:00
Richard Feldman
8fda63e137
Remove unused dependency 2024-10-10 00:53:39 -04:00
Richard Feldman
526b6d85fb
Deprecate collections/soa 2024-10-10 00:30:37 -04:00
Richard Feldman
2567c8b545
Convert over Subs to use the new soa crate 2024-10-10 00:30:35 -04:00
Richard Feldman
586959780b
Revert "Try out converting subs to use soa stuff directly"
This reverts commit 4a7d7e42d6.
2024-10-10 00:06:25 -04:00
Richard Feldman
4a7d7e42d6
Try out converting subs to use soa stuff directly 2024-10-10 00:06:22 -04:00