Commit Graph

5504 Commits

Author SHA1 Message Date
d0cd
dc92ec36d2 Refactor tests to separate directory 2023-02-08 11:13:41 -08:00
d0cd
3bfd4c652e
Merge pull request #2261 from AleoHQ/dependabot/cargo/testnet3/toml-0.7.2
Bump toml from 0.7.1 to 0.7.2
2023-02-08 11:07:24 -08:00
dependabot[bot]
230d632145
Bump toml from 0.7.1 to 0.7.2
Bumps [toml](https://github.com/toml-rs/toml) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.1...toml-v0.7.2)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-08 10:04:35 +00:00
d0cd
86f83be9f0
Merge pull request #2178 from AleoHQ/feat/graph
Add `DiGraph` data structure.
2023-02-05 14:49:24 -08:00
d0cd
4bb6ceb5ea Update license and clippy 2023-02-05 13:43:10 -08:00
d0cd
0a8b41b025 Address feedback 2023-02-05 12:46:21 -08:00
d0cd
f65ad5dc69 Fmt 2023-02-05 12:46:21 -08:00
d0cd
5565150f30 Regen expectations 2023-02-05 12:46:21 -08:00
d0cd
74e358dde6 Add test for out of order functions 2023-02-05 12:46:21 -08:00
d0cd
498d4b698d Add tests for recursion 2023-02-05 12:46:21 -08:00
d0cd
e633c62b71 Implement post-ordering for functions during code-generation 2023-02-05 12:46:21 -08:00
d0cd
f06b83c7f4 Implement check for cyclic call graph 2023-02-05 12:46:20 -08:00
d0cd
b17702e019 Fix graph init; regen expectations 2023-02-05 12:46:20 -08:00
d0cd
0e7922f5a7 Add test 2023-02-05 12:46:20 -08:00
d0cd
899c12d85a Implement post-order codegen for structs and records 2023-02-05 12:46:20 -08:00
d0cd
a4d76c644a Refactor AST 2023-02-05 12:46:20 -08:00
d0cd
9f5be95f59 Add test cases 2023-02-05 12:46:20 -08:00
d0cd
b077a1745b Regen expectations 2023-02-05 12:46:20 -08:00
d0cd
d91233f06e Implement cycle detection for structs and records 2023-02-05 12:46:20 -08:00
d0cd
5e331bbf36 Cleanup 2023-02-05 12:46:20 -08:00
d0cd
dd33eb024d Add test 2023-02-05 12:46:20 -08:00
d0cd
940d357c5e Cleanup 2023-02-05 12:46:20 -08:00
d0cd
9edbf0a74e Add tests for graph 2023-02-05 12:46:20 -08:00
d0cd
8b8c7b5c0a Get cycle if toposort fails 2023-02-05 12:46:20 -08:00
d0cd
9fbcdfc9f3 Add graph data structure 2023-02-05 12:46:19 -08:00
d0cd
063cb15d97 Reorg common module 2023-02-05 12:46:19 -08:00
d0cd
a1cbbe9027
Merge pull request #2254 from AleoHQ/dependabot/cargo/testnet3/zip-0.6.4
Bump zip from 0.6.3 to 0.6.4
2023-02-05 12:44:53 -08:00
d0cd
059a7dc376
Merge pull request #2255 from AleoHQ/dependabot/cargo/tokio-1.25.0
Bump tokio from 1.24.1 to 1.25.0
2023-02-05 12:44:28 -08:00
dependabot[bot]
4bfc01b98b
Bump tokio from 1.24.1 to 1.25.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.24.1...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-04 01:01:55 +00:00
ljedrz
b20308f049
chore: update the license headers (#2252)
Signed-off-by: ljedrz <ljedrz@gmail.com>
2023-02-02 14:27:06 -08:00
dependabot[bot]
9032be98e1
Bump zip from 0.6.3 to 0.6.4
Bumps [zip](https://github.com/zip-rs/zip) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/zip-rs/zip/releases)
- [Changelog](https://github.com/zip-rs/zip/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip/commits/v0.6.4)

---
updated-dependencies:
- dependency-name: zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 10:03:42 +00:00
d0cd
7e838f5880
Merge pull request #2253 from omahs/testnet3
Fix: minor typo
2023-02-01 09:20:42 -08:00
omahs
f815493bfe
Fix: typo
Fix: typo


Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
2023-02-01 13:50:46 +01:00
d0cd
4a02807dbc
Merge pull request #2250 from AleoHQ/fix/record-use
Restrict returning `record`s from functions.
2023-01-31 08:32:45 -08:00
d0cd
919dd9aa17
Merge pull request #2248 from AleoHQ/dependabot/cargo/testnet3/aleo-0.3.3
Bump aleo from 0.3.2 to 0.3.3
2023-01-31 08:30:53 -08:00
d0cd
d43db39c13
Merge pull request #2251 from AleoHQ/dependabot/cargo/testnet3/toml-0.7.1
Bump toml from 0.5.11 to 0.7.1
2023-01-31 08:30:19 -08:00
dependabot[bot]
638d3e385d
Bump toml from 0.5.11 to 0.7.1
Bumps [toml](https://github.com/toml-rs/toml) from 0.5.11 to 0.7.1.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.11...toml-v0.7.1)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-31 10:03:45 +00:00
dependabot[bot]
ac9cdd9a7c
Bump aleo from 0.3.2 to 0.3.3
Bumps [aleo](https://github.com/AleoHQ/aleo) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/AleoHQ/aleo/releases)
- [Commits](https://github.com/AleoHQ/aleo/commits)

---
updated-dependencies:
- dependency-name: aleo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 10:05:58 +00:00
d0cd
86b24c50bb
Merge pull request #2242 from AleoHQ/dependabot/cargo/testnet3/toml-0.5.11
Bump toml from 0.5.10 to 0.5.11
2023-01-22 23:34:00 -08:00
d0cd
34ce1714a4
Merge pull request #2243 from AleoHQ/dependabot/cargo/testnet3/reqwest-0.11.14
Bump reqwest from 0.11.13 to 0.11.14
2023-01-22 23:32:40 -08:00
dependabot[bot]
5a8a7fc4fe
Bump reqwest from 0.11.13 to 0.11.14
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.13 to 0.11.14.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.13...v0.11.14)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 10:04:26 +00:00
dependabot[bot]
fd3a709fe3
Bump toml from 0.5.10 to 0.5.11
Bumps [toml](https://github.com/toml-rs/toml) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.5.10...toml-v0.5.11)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-20 10:04:08 +00:00
d0cd
9975a2c200 Regen expectations 2023-01-18 12:49:19 -08:00
d0cd
b044b002a7 Check that functions cannot output records 2023-01-18 12:33:04 -08:00
d0cd
9c83e833f3
Merge pull request #2230 from AleoHQ/dependabot/cargo/tokio-1.24.1
Bump tokio from 1.23.0 to 1.24.1
2023-01-18 10:28:55 -08:00
d0cd
7de8bcc852
Merge pull request #2231 from AleoHQ/dependabot/cargo/testnet3/assert_cmd-2.0.8
Bump assert_cmd from 2.0.7 to 2.0.8
2023-01-18 10:28:22 -08:00
d0cd
0d9d30060e
Merge pull request #2232 from AleoHQ/dependabot/cargo/testnet3/regex-1.7.1
Bump regex from 1.7.0 to 1.7.1
2023-01-18 10:27:57 -08:00
d0cd
52d56b5f57
Merge pull request #2233 from AleoHQ/dependabot/cargo/bzip2-0.4.4
Bump bzip2 from 0.4.3 to 0.4.4
2023-01-18 10:26:47 -08:00
d0cd
304e3228d7
Merge pull request #2235 from AleoHQ/doc-improve
Improvements to some documentation
2023-01-18 10:26:01 -08:00
d0cd
45dac785ec
Merge pull request #2236 from AleoHQ/dependabot/cargo/testnet3/console-0.15.5
Bump console from 0.15.4 to 0.15.5
2023-01-18 10:25:46 -08:00