20105 Commits

Author SHA1 Message Date
kbkpbot
a11b69e2bc
ast: fix arch loongarch64 comptime support (fix #24906) (#24907) 2025-07-15 15:47:54 +03:00
Swastik Baranwal
9b348b1b11
cgen: use alias next method if defined in for x in iterator { (#24905) 2025-07-15 10:20:17 +03:00
Delyan Angelov
69a887f63b
ci: cleanup produced executables after manually running v ci/linux_ci.vsh (#24902) weekly.2025.29 2025-07-14 18:39:39 +03:00
Delyan Angelov
9db3881707
ci: skip checking vlib/datatypes/lockfree/ringbuffer_test.v on the gcc-windows job for now 2025-07-14 18:38:39 +03:00
Delyan Angelov
a15a9cc123
runtime: reduce allocations done in runtime.used_memory/0 on linux (#24901) 2025-07-14 16:24:07 +03:00
kbkpbot
1ea8574659
os: fix windows get_error_msg() leak (#24899) 2025-07-14 14:54:55 +03:00
kbkpbot
220cdda07b
runtime: add used_memory() (#24897) 2025-07-14 12:45:53 +03:00
Delyan Angelov
50db431cfd
ci: add -prealloc self compilation checks on more platforms (#24891) 2025-07-14 11:03:56 +03:00
Swastik Baranwal
e2434a8256
cgen: allow alias types to be iterated if parent type has next method (fix #24890) (#24894) 2025-07-14 09:49:30 +03:00
Felipe Pena
feb409071d
markused: whitelist _option_none too (fix #24862) (#24885) 2025-07-13 21:09:06 +03:00
Felipe Pena
8ea42a69ca
markused: fix mark for array init from sumtype (fix #24887) (#24889) 2025-07-13 21:07:42 +03:00
xieke
efd36b8917
cgen: add a __closure_init call for sokol/gg programs on android as well (#24892) 2025-07-13 21:05:10 +03:00
kbkpbot
fa904c495e
builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886) 2025-07-13 20:56:28 +03:00
Mike
f06def7d6d
math.big: fix toom-cook 3-way multiplication (#24888) 2025-07-13 18:36:46 +03:00
Felipe Pena
54fec7b772
x.json2.decoder2: fix option decode (fix #24861) (#24881) 2025-07-13 10:26:45 +03:00
Felipe Pena
34c67878b9
checker,cgen: allow alias to map type Dict = map[string]string (fix #24878) (#24883) 2025-07-13 10:25:02 +03:00
Felipe Pena
f80fc37775
cgen: fix anon struct init passing (fix #24879) (#24884) 2025-07-13 10:17:17 +03:00
whi
b7b1c2e2e3
veb: fix app.text() -> ctx.text() in README.md 2025-07-11 09:38:23 +03:00
Delyan Angelov
55b1236421
log: use @[noinline] for level_from_tag/1 and target_from_label/1 to avoid triggering panics for programs using log, compiled with -prod and -cc gcc>10 (fix #24874) 2025-07-10 14:43:42 +03:00
Mike
ee6eed3c22
math.unsigned: replace untested comments for uint256 public APIs (#24873) 2025-07-10 10:36:52 +03:00
Mike
03e72a4856
math.unsigned: fix rotate_left() for uint256, add test (#24872) 2025-07-10 08:45:34 +03:00
Mike
e850f6c678
math.unsigned: fix div_128() for uint128, add tests (#24869) 2025-07-09 23:33:50 +03:00
Mike
499283edc8
math.unsigned: fix lsh() for uint256, add tests (#24867) 2025-07-08 20:10:33 +03:00
Mike
09e1edbd17
math.unsigned: fix rsh() for uint256 too, add tests (#24865) 2025-07-08 17:22:45 +03:00
Delyan Angelov
bb7f9f2562
log: allow for -d log_default_level=debug, to change the default log level for programs and tests, that do not explicitly call log.set_level/1 themselves. 2025-07-08 17:08:43 +03:00
Alexander Medvednikov
f683ab69d6 net.http: handle Content-Length: 0 2025-07-08 13:54:19 +03:00
Alexander Medvednikov
ed82bbd2f3 doc: err is 2025-07-08 13:16:53 +03:00
Mike
47145ea644
math.unsigned: fix typos for uint128 (#24863) 2025-07-08 10:24:45 +03:00
Felipe Pena
00e0eae98b
cgen: fix codegen for generic interface with multi return generic type (fix #24838) (#24858) 2025-07-07 17:51:48 +03:00
Mike
e62ed47812
math.unsigned: fix quo_rem(), add tests (#24859) 2025-07-07 16:27:26 +03:00
Delyan Angelov
2c4845a16f
tests: add union_implementing_interface_test.v (#24857) weekly.2025.28 2025-07-07 00:54:21 +03:00
Delyan Angelov
4db6408e0b ci: mark tcp_test.v and unix_socket_test.v as flaky (they still fail sporadically on the CI, although very rarely now) 2025-07-06 21:32:40 +03:00
kbkpbot
fcbe2e6ce7
sync: add thread local storage (TLS) support (#24849) 2025-07-06 17:42:33 +03:00
Delyan Angelov
952f63ef43
examples: add examples/sokol/sounds/simple_keyboard_synth.v 2025-07-06 15:05:22 +03:00
Felipe Pena
f177237037
cgen: fix const indexexpr dep (fix #24850) (#24851) 2025-07-06 08:33:13 +03:00
Felipe Pena
57aae3fd20
cgen: fix json decode option alias (fix #24843) (#24853) 2025-07-06 08:22:07 +03:00
Felipe Pena
8f15d65168
cgen, x.json2: fix anon struct encode (fix #24836) (#24852) 2025-07-06 06:41:42 +03:00
Krchi
52ae3f2476
cgen: fix array data for option array/fixed array(?[]u8/?[3]u8), add tests (#24847) 2025-07-05 12:14:02 +03:00
kbkpbot
c216e59bfc
datatypes: add lockfree version of counter and ringbuffer (#24839) 2025-07-04 18:45:14 +03:00
Delyan Angelov
0fdca4b0dc
ci: add report-missing-dots-in-doc-comments job 2025-07-03 19:30:09 +03:00
Mike
3b791be3aa
math.unsigned: fix rsh() for Uint128, add tests (#24841) 2025-07-03 13:51:48 +03:00
Mike
2a5398aff6
math.unsigned: fix lsh() for Uint128, add tests (#24840) 2025-07-03 12:44:31 +03:00
Delyan Angelov
7e35d40661
v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run 2025-07-03 09:46:01 +03:00
Mike
c989f9bb78
math.unsigned: add uint256_new() function and tests (#24837) 2025-07-02 22:30:59 +03:00
kbkpbot
3eb04e346c
cgen,checker: add $if sizeof(T) == int_literal { support (#24831) 2025-07-02 22:29:16 +03:00
Delyan Angelov
35af6a8d12 docs: fix doc comments in arrays too 2025-07-02 17:06:21 +03:00
Delyan Angelov
74b6e3b5c7 docs: cleanup doc comments of public APIs in benchmark, bitfield, and build 2025-07-02 16:54:17 +03:00
Delyan Angelov
b305fa5743 docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v) 2025-07-02 16:33:24 +03:00
Delyan Angelov
a011888612 tools: skip _test.v and _test.c.v files in find_doc_comments_with_no_dots.v 2025-07-02 16:20:51 +03:00
Delyan Angelov
30ce22866d docs: put some more dots in the doc comments of public APIs, found by find_doc_comments_with_no_dots.v 2025-07-02 16:12:03 +03:00