18542 Commits

Author SHA1 Message Date
Laurent Cheylus
9b88dc8deb
GNUmakefile: do not try to check how tcc is working, when thirdparty/tcc/tcc.exe is not present (#22226) 2024-09-15 20:05:01 +03:00
Delyan Angelov
deb7ddd9d0
ci: disable macos for now in wasm_backend_ci.yml, until github runners for it, can resolve again the get.wasmer.io domain (#22227) 2024-09-15 20:03:32 +03:00
Kim Shrier
83a015b940
crypto.scrypt: add missing comment of source for test vector (#22222) weekly.2024.37 2024-09-15 15:20:30 +03:00
Delyan Angelov
c2788f9793 thirdparty: fix compilation of thirdparty/mbedtls with tcc on macos m1 2024-09-15 15:00:27 +03:00
Delyan Angelov
755a4bc081 crypto.rand: fix compilation on macos with -cc tcc -no-retry-compilation -gc none 2024-09-15 14:53:52 +03:00
Delyan Angelov
26c560bc82 thirdparty: fix compilation of programs using miniz.h on macos 2024-09-15 13:35:18 +03:00
Felipe Pena
5fcfc27e50
cgen: fix interface type generation for generic struct (fix #22186) (#22189) 2024-09-14 23:14:59 +03:00
Felipe Pena
4eb087a347
checker: add missing check for ref passing to non-ref (#22194) 2024-09-14 23:13:25 +03:00
Delyan Angelov
469a532caa
sync.stdatomic: add OpenSUSE paths for libatomic 2024-09-14 21:31:57 +03:00
Felipe Pena
8db23006d2
cgen: fix code generated for indexexpr with complex assigning (#22203) 2024-09-14 17:04:55 +03:00
Delyan Angelov
4c68f85bc7
all: add support for @BUILD_DATE, @BUILD_TIME and @BUILD_TIMESTAMP, all using v.util.get_build_time(), and overridable through SOURCE_DATE_EPOCH (#22213) 2024-09-14 17:00:47 +03:00
yuyi
0d980a4fed
ci: restore the Format vlang/v-analyzer task in v_apps_and_modules_compile_ci.yml (#22219) 2024-09-14 16:57:43 +03:00
Kim Shrier
423f804b07
crypto.scrypt: add a new scrypt module to vlib/crypto (#22216) 2024-09-14 09:54:04 +03:00
Alexander Medvednikov
26ab7d4fe1 veb: implicit context 2024-09-14 00:41:02 +03:00
yuyi
cc7665ff32
tests: add a test for short enum syntax across modules (related #12183) (#22210) 2024-09-13 17:07:01 +03:00
yuyi
277e5eb253
fmt: add a test for fn with c binding type args (#22212) 2024-09-13 17:06:15 +03:00
Laurent Cheylus
888d84d26d
docs: add implements keyword for explicit interface implementations (#22214) 2024-09-13 16:59:38 +03:00
Delyan Angelov
56013a443a
crypto.pbkdf2: move extensive test cases to https://github.com/vlang/slower_tests, but keep test case 7, where the key_size is > block_size for sha224 and sha256 2024-09-13 10:50:55 +03:00
Delyan Angelov
b49e79680b
crypto, x.crypto: trim long inputs, move more extensive cases to https://github.com/vlang/slower_tests 2024-09-13 10:28:11 +03:00
yuyi
637ce20a26
fmt: fix import selective with interface implements (fix formatting part of #22200) (#22209) 2024-09-13 09:59:41 +03:00
Delyan Angelov
747f3b3c4c
crypto.bcrypt: reduce runtime cost for running bcrypt_test.v, by reducing the iteration count 2024-09-13 09:45:21 +03:00
Delyan Angelov
b656481f62
ci: cleanup *.svg.xz files in release_ci.yml 2024-09-13 09:27:51 +03:00
Delyan Angelov
0b76a0ca19
crypto.ed25519: simplify ed25519_test.v, move more extensive tests to https://github.com/vlang/slower_tests 2024-09-13 09:23:00 +03:00
Delyan Angelov
a11a48e877
compress GC_Ryzen_3800X_Linux.svg and Resources_Ryzen_3800X_Linux.svg with xz 2024-09-13 09:06:06 +03:00
Delyan Angelov
73bdcd378c
checker: fix compilation of vlib/v/slow_tests/assembly/asm_test.amd64.v (regression after dfc0c91) 2024-09-13 08:36:44 +03:00
yuyi
4572c64759
cgen: fix match with mut cond variable (#22207) 2024-09-13 08:20:06 +03:00
yuyi
6eae77b61e
builtin: fix string.trim() (fix #13021) (#22205) 2024-09-13 07:27:40 +03:00
Kim Shrier
5cf4b5ed4f
crypto.sha512: move sha512 long message tests to separate repo (#22208) 2024-09-13 07:19:55 +03:00
Kim Shrier
e0422de8bd
crypto.pbkdf2: fix pbkdf2 key generation and add more tests (#22202) 2024-09-12 11:48:03 +03:00
Delyan Angelov
efe709eb34
ci: run npx prettier --write **.yml; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder 2024-09-12 11:43:03 +03:00
Delyan Angelov
efff766665
ci: fix formatting of more_extensive_but_slower_tests_ci.yml, explain what to do to run the checks in workflow_lint.yml locally 2024-09-12 11:34:51 +03:00
Delyan Angelov
328c2a23a4
ci: fix more_extensive_but_slower_tests_ci.yml on windows 2024-09-12 11:25:57 +03:00
Delyan Angelov
b2e8b2d168
ci: add .github/workflows/more_extensive_but_slower_tests_ci.yml, that will run tests from https://github.com/vlang/hash_validation_tests 2024-09-12 11:19:34 +03:00
Delyan Angelov
79bedff176
thirdparty: update zip to its latest commit 209840b from https://github.com/kuba--/zip/ (miniz is now version 3.0.2) (#22199) 2024-09-11 20:12:23 +03:00
Delyan Angelov
715dc31161
tools: fix v doc not converting <s> in plain code blocks into encoded html entities in its .html output 2024-09-11 19:42:44 +03:00
yuyi
1c992de86d
cgen: fix array of fns index call with embeded array index (fix #17381) (#22198) 2024-09-11 19:33:48 +03:00
Delyan Angelov
62ab1be572
v.util: add get_build_time/0, supporting https://reproducible-builds.org/docs/source-date-epoch/ 2024-09-11 15:47:51 +03:00
Delyan Angelov
6e13b02328
crypto.sha1, crypto.sha256, crypto.sha3, crypto.sha512: improve performance for non prod builds, by tagging the block_generic functions with @[direct_array_access] 2024-09-11 14:50:39 +03:00
Swastik Baranwal
3ee27320ff
checker: restrict multiple union fields initialised at once with a nicer checker error, instead of producing an enigmatic error at cgen time (#22196) 2024-09-11 12:25:59 +03:00
Ivan Vatlin
6aeef5e4db
encoding.binary: add u16/u32/u64 -> []u8 conversion functions (#22193) 2024-09-10 20:22:34 +03:00
Felipe Pena
33ff7c136b
parser, checker: fix array alias (#22175) 2024-09-10 17:24:48 +03:00
Delyan Angelov
f890566199
db.sqlite: add instructions for installing SQLite's amalgamation or development package, if it is missing 2024-09-10 17:20:29 +03:00
larpon
d27ab09cdf
flag: add a relaxed parsing mode, that turn flag match errors into no_match entries instead (#22191) 2024-09-10 17:04:40 +03:00
yuyi
dd2210abf6
ast: fix const field str() (#22192) 2024-09-10 17:02:51 +03:00
Kim Shrier
86fe9456a5
crypto.sha1, crypto.sha256, crypto.sha512: add Secure Hash Algorithm Validation System tests (#22187) 2024-09-10 13:07:34 +03:00
yuyi
dd3e3e110b
fmt: change manualfree_keep.v to manaulfree_keep.vv (#22190) 2024-09-10 11:28:34 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
Delyan Angelov
234fb8e2b0
transformer: add support for instrumenting the V compiler with -d trace_transformer 2024-09-09 22:42:22 +03:00
Martin Skou
f002fd4493
net.mbedtls: store the client ip (for ipv4), shutdown on handshake failure, in .accept() (#22184) 2024-09-09 18:55:28 +03:00
Delyan Angelov
6528efa405
builtin: remove string interpolation from panic/1, to be able to use tools like cbmc in more cases (#22182) 2024-09-09 07:45:23 +03:00