20129 Commits

Author SHA1 Message Date
Delyan Angelov
ae0937c83e
docs: check vlib/time too in the report-missing-dots-in-doc-comments job 2025-07-21 18:43:40 +03:00
Mike
8578fd477a
math.big: fix zero base in big_mod_pow(), add tests (#24940) 2025-07-21 17:07:38 +03:00
Mike
080b56f0a9
math.big: fix big_mod_pow() (#24939) weekly.2025.30 2025-07-21 08:46:00 +03:00
Mike
46d4a6f8af
math.big: add shrink zeros to karatsuba and toom-cook (#24937) 2025-07-20 20:47:17 +03:00
Mike
987c211517
math.big: fix the order of calculations in mod_pow() to improve performance (#24935) 2025-07-20 15:27:20 +03:00
Kim Shrier
e3d047822d
pool: fix idle_conns assertion in test_pool_close (#24932) 2025-07-20 11:14:57 +03:00
Laurent Cheylus
04f90f0f2c
os: remove commented code in home_dir() function (#24929) 2025-07-20 06:20:56 +03:00
Kim Shrier
e3b07d9ddc
tests: cast C.AF_INET to u16 to avoid type error (#24933) 2025-07-20 04:58:30 +03:00
Alexander Medvednikov
d87b8c2627 checker: improve virtual C consts 2025-07-19 19:27:59 +03:00
Alexander Medvednikov
4dc9167b60 parser: fix const error 2025-07-19 18:51:06 +03:00
Alexander Medvednikov
9ef51ee714 v: virtual C consts with custom types (const C.MY_CONST u8) 2025-07-19 18:47:44 +03:00
Delyan Angelov
3725576729
docs,ci: check more vlib modules in the report-missing-dots-in-doc-comments job (#24928) 2025-07-19 11:51:01 +03:00
JalonSolov
ae9a69bdf7
doc: add missing word in union section (#24926) 2025-07-19 09:17:06 +03:00
JalonSolov
6dad361eb7
doc: improve union section (#24925) 2025-07-18 22:40:50 +03:00
Larsimusrex
747af8c360
x.json2.decoder2: fix decoding of structs with option fields (fix #24409) (#24922) 2025-07-18 11:03:21 +03:00
Delyan Angelov
736d79f455
v.vmod: fix typo spotted by Emma on Discord 2025-07-18 10:58:36 +03:00
Felipe Pena
cb8b8f22a2
markused: cleanup logic + skip unused conditional fn (#24911) 2025-07-17 17:56:24 +03:00
kbkpbot
a1b7f5485f
eval: add comptime-if support (#24919) 2025-07-17 17:52:41 +03:00
Laurent Cheylus
54e8ed5ec5
runtime: add used_memory implementation for OpenBSD (#24918) 2025-07-17 17:51:07 +03:00
Kim Shrier
c3dfe62d7b
runtime: add used_memory() implementation for FreeBSD (#24909) 2025-07-17 10:14:01 +03:00
Larsimusrex
54c6daab54
decoder2: fix checking and decoding of escape characters (fix #24834) (#24915)
Co-authored-by: Lars Dumke <lars-luis.dumke@keysight.com>
2025-07-17 08:34:05 +03:00
Laurent Cheylus
7b3e7cb447
runtime: add note for the availability of the used_memory implementation (#24913) 2025-07-16 16:53:06 +03:00
Jorge Mireles
8605599aee
compress,compress.gzip: add decompress_with_callback API (#24904) 2025-07-15 18:57:14 +03:00
Felipe Pena
0d8cc4588f
markused: remove @[markused] from option and result fns (#24900) 2025-07-15 18:37:48 +03:00
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