Commit Graph

106 Commits

Author SHA1 Message Date
Michael McLoughlin
0d789c8353 operand: fix integer float data (#393)
Issue #387 pointed out that integer float data is printed incorrectly, such
that it is not parsed correctly by the Go assembler. Specifically, integer
values need the decimal point, otherwise they will be treated as integers. For
example, 1 must be represented as `$(1.)` or `$(1.0)` to be parsed correctly.

This PR fixes that problem and adds a regression test.  The root of the
problem was that the formatting verb `%#v` does not have the right behavior
for integers. We fix it by deferring to custom `String()` function for the
float operand types.

Fixes #387
Closes #388
2023-06-11 16:12:59 -07:00
cadobot[bot]
c77aeada06 tests/thirdparty: update package metadata (#391)
Auto-generated update of third-party package metadata.

Co-authored-by: cadobot[bot] <104697117+cadobot[bot]@users.noreply.github.com>
2023-06-01 05:31:45 +00:00
cadobot[bot]
484e25ca66 tests/thirdparty: update package metadata (#389)
Auto-generated update of third-party package metadata.

Co-authored-by: cadobot[bot] <104697117+cadobot[bot]@users.noreply.github.com>
2023-05-01 05:33:11 +00:00
cadobot[bot]
cb44ab3b92 tests/thirdparty: update package metadata (#384)
Auto-generated update of third-party package metadata.

Co-authored-by: cadobot[bot] <104697117+cadobot[bot]@users.noreply.github.com>
2023-04-01 05:31:47 +00:00
Michael McLoughlin
34ac353c14 all: remove +build tags (#377)
Commit 759be3dad9 bumped our Go
requirement to 1.18 which allows us to drop support for old-style
`+build` tags. This change runs `go fix ./...` to remove them, and
updates some remaining code generators that produced `+build` lines.
2023-03-05 20:30:01 -08:00
Michael McLoughlin
4e72ca720b tests/thirdparty: update golang/go tests to 1.20.1 (#378)
The Go third-party compatibility tests were pinned to the release
candidate version. This change uses the now official Go 1.20.1 release
tag.
2023-03-05 19:57:12 -08:00
Michael McLoughlin
1bba0bed7f ci: bump to go 1.20 (#375)
* Update CI Go version to 1.20/1.19
* Update `golangci-lint` to v1.51.2
* Update coverage collection to use new Go 1.20 tools
* Update coverage job to only run on latest Go version

Fixes #367
2023-03-05 14:22:23 -08:00
cadobot[bot]
296d3e252d tests/thirdparty: update package metadata (#373)
Co-authored-by: cadobot[bot] <104697117+cadobot[bot]@users.noreply.github.com>
2023-03-01 05:32:14 +00:00
cadobot[bot]
c3942d0744 tests/thirdparty: update package metadata (#370)
Co-authored-by: cadobot[bot] <104697117+cadobot[bot]@users.noreply.github.com>
2023-02-01 05:31:34 +00:00
Michael McLoughlin
12b5abca55 tests/thirdparty: add crypto/internal/bigmod (#355)
Add test case for avo generator in standard library crypto/internal/bigmod.

https://github.com/golang/go/tree/go1.20rc2/src/crypto/internal/bigmod
https://golang.org/cl/452095
https://words.filippo.io/dispatches/go-1-20-cryptography/

Closes #354
2023-01-07 13:17:16 -08:00
cadobot[bot]
67039b7ed9 tests/thirdparty: update package metadata (#353)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2023-01-07 18:54:05 +00:00
cadobot[bot]
da65e08c23 tests/thirdparty: update package metadata (#347)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-12-01 05:32:06 +00:00
Michael McLoughlin
127528d117 build: mov deduction for booleans (#341)
Updates #336
2022-11-26 19:30:55 -08:00
Michael McLoughlin
ef60a33bf0 ci: upgrade actions (#340) 2022-11-26 15:00:56 -08:00
cadobot[bot]
792b2c437a tests/thirdparty: update package metadata (#339)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-11-26 22:18:44 +00:00
Michael McLoughlin
429cf3cdbf ci: bump to go 1.19 (#330)
* Bump CI to Go 1.19
* Update golang/go edwards25519 test
* Apply formatting to printer stubs output (to get correct comment formatting)
* Bump gofumpt version
2022-09-05 22:15:01 -07:00
cadobot[bot]
96150c7bd9 tests/thirdparty: update package metadata (#326)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-09-04 05:40:14 +00:00
cadobot[bot]
18cdaae777 tests/thirdparty: update package metadata (#324)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-08-28 05:38:52 +00:00
cadobot[bot]
7ec86a5b57 tests/thirdparty: update package metadata (#322)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-08-21 05:35:27 +00:00
cadobot[bot]
b8c0ea689f tests/thirdparty: update package metadata (#320)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-08-14 05:34:31 +00:00
cadobot[bot]
65d5296bc2 tests/thirdparty: update package metadata (#318)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-08-07 05:32:42 +00:00
cadobot[bot]
04d8da2c07 tests/thirdparty: update package metadata (#316)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-07-31 05:34:58 +00:00
cadobot[bot]
5d2cfe7905 tests/thirdparty: update package metadata (#314)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-07-24 05:35:04 +00:00
cadobot[bot]
4a1aeb0965 tests/thirdparty: update package metadata (#311)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-07-17 05:34:04 +00:00
cadobot[bot]
fc76912125 tests/thirdparty: update package metadata (#309)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-07-10 05:33:57 +00:00
cadobot[bot]
6a06003471 tests/thirdparty: update package metadata (#307)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-07-03 05:33:12 +00:00
cadobot[bot]
4607d80109 tests/thirdparty: update package metadata (#305)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-06-26 05:33:51 +00:00
cadobot[bot]
4536edb308 tests/thirdparty: update package metadata (#303)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-06-19 05:33:35 +00:00
cadobot[bot]
e75b644177 tests/thirdparty: update package metadata (#301)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-06-12 05:32:15 +00:00
cadobot[bot]
4467fbaf75 tests/thirdparty: update package metadata (#300)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-06-05 05:33:12 +00:00
cadobot[bot]
e03c964fbc tests/thirdparty: update package metadata (#299)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-05-29 05:35:28 +00:00
cadobot[bot]
8d526bb13e tests/thirdparty: update package metadata (#297)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-05-22 05:34:45 +00:00
cadobot[bot]
c591941404 tests/thirdparty: update package metadata (#295)
Co-authored-by: {{ steps.bot.outputs.login }} <104697117+cadobot[bot]@users.noreply.github.com>
2022-05-15 05:35:25 +00:00
Michael McLoughlin
88c126385a doc: report project metadata update time (#286) 2022-05-09 00:34:16 +00:00
Michael McLoughlin
62c71109a4 tests/thirdparty: use Suite type for configuration (#285) 2022-05-08 16:55:51 -07:00
cadobot[bot]
224b6bf249 tests/thirdparty: update package metadata (#280)
Co-authored-by: mmcloughlin <mmcloughlin@users.noreply.github.com>
2022-05-08 05:33:28 +00:00
cadobot[bot]
9aff8ef21e tests/thirdparty: update package metadata (#274)
Co-authored-by: mmcloughlin <mmcloughlin@users.noreply.github.com>
2022-05-01 20:13:47 +00:00
cadobot[bot]
b084740599 tests/thirdparty: update package metadata (#267) 2022-04-30 23:43:48 -07:00
cadobot[bot]
b38c305466 tests/thirdparty: update package metadata (#266) 2022-04-30 15:12:39 -07:00
Michael McLoughlin
6a6b0bd11d tests/thirdparty: add cloudflare/circl (#264) 2022-04-24 22:18:26 -07:00
Michael McLoughlin
3e9461adf1 tests/thirdparty: add klauspost/compress/zstd (#263)
Upgrade test version of klauspost/compress. Fix s2 test and add zstd package.
2022-04-24 21:54:57 -07:00
Michael McLoughlin
84071ae4f9 tests/thirdparty: multiple packages per project (#262) 2022-04-24 20:20:11 -07:00
Michael McLoughlin
96c4d85995 script: yaml formatting (#261) 2022-04-24 12:54:07 -07:00
Michael McLoughlin
f1f7d93959 tests/thirdparty: standard library crypto/ed25519 (#225)
Fixes #226
2022-04-23 21:58:06 -07:00
Michael McLoughlin
b758297525 .github: upgrade setup-go action (#259)
Upgrade to v3.0.0. Set check-latest option.
2022-04-23 21:01:50 -07:00
Michael McLoughlin
57ea8119b7 doc: Adopters list in README (#252)
Adds a list of most popular projects using avo, based on Github Stars.

Auto-generated from the third-party packages list using docgen.

Updates #101
2022-04-17 22:38:54 -07:00
Michael McLoughlin
77ce540158 tests/thirdparty: add mmcloughlin/md4 (#249) 2022-04-17 14:08:30 -07:00
Michael McLoughlin
a25e011a06 tests/thirdparty: add oasisprotocol/deoxysii (#247)
Fixes #246
2022-04-16 21:25:22 -07:00
Michael McLoughlin
ed62fe0a03 tests/thirdparty: update packages metadata 2022-04-10 23:05:26 -07:00
Michael McLoughlin
b0c64b2e52 ci: bump to go 1.18 (#239) 2022-04-10 21:03:05 -07:00