20037 Commits

Author SHA1 Message Date
Delyan Angelov
2cfeb6d07b os: add os.write_bytes/2 as a complement to os.read_bytes/1, add test 2025-06-28 09:27:09 +03:00
xieke
81e84a6a01
log: fix Unhandled Exception on windows 7 (#24803) 2025-06-28 08:18:58 +03:00
Laurent Cheylus
ce33cc490f
picoev: add implementation for OpenBSD using kqueue (#24801) 2025-06-28 08:13:53 +03:00
kbkpbot
d1d43abf5c
sync: fix spin lock, add destroy() and try_lock(), add valgrind annotate support (#24798) 2025-06-27 16:13:44 +03:00
Laurent Cheylus
6b45931598
sync: improve documentation (#24799) 2025-06-27 10:29:09 +03:00
kbkpbot
7039081d66
db: modify mysql/pg/sqlite interface for pool working (#24780) 2025-06-27 02:25:13 +03:00
Delyan Angelov
f62b5fd7f2
sync: add implementation for WaitGroup.go/1, add test (#24797) 2025-06-27 02:03:07 +03:00
Laurent Cheylus
3d320afa65
sync: fix documentation for new_spin_lock function (#24795) 2025-06-26 20:46:40 +03:00
Laurent Cheylus
cf698066db
os: fix documentation for environ function (#24796) 2025-06-26 19:25:02 +03:00
Delyan Angelov
a5ece523e2
builtin: add unsafe reuse_string_as_data/1 and reuse_data_as_string/1 functions + tests (#24794) 2025-06-26 19:19:35 +03:00
kbkpbot
06c6554480
sync: add SpinLock (#24788) 2025-06-26 16:34:00 +03:00
Delyan Angelov
5cd799e5ac
tools: add cmd/tools/gg_split_memdump_to_frames.vsh to ease working with memdump.bin files generated by gg programs (split by frames) 2025-06-26 15:01:00 +03:00
Delyan Angelov
c03d7d1cb2
gg: allow for -d gg_memory_trace_frame to be used in combination with -prealloc -d prealloc_dump 2025-06-26 12:20:16 +03:00
Delyan Angelov
388413a2c8
ci: make sure the generator for vlang/docs can be compiled with latest V (prevent silent doc update stops, after breaking changes) 2025-06-26 00:25:51 +03:00
Laurent Cheylus
80fed7add5
os: improve documentation (#24790) 2025-06-25 22:29:47 +03:00
Laurent Cheylus
1573d4c99b
docs: add a section for Lambda function expressions f(|x,y|x+y) (fix #23223) (#24789) 2025-06-25 14:41:32 +03:00
Delyan Angelov
8f17139126
v.parser: split parser methods to files based on topic (#24786) 2025-06-24 21:32:51 +03:00
Delyan Angelov
aed58078e9
Revert "parser: experimental syntax that doesn't require an extra indent"
This reverts commit cb3a106e1dcf1eb9200ecf4d7ca08e8c0c19b6e3.
2025-06-24 09:47:17 +03:00
Davide Beatrici
1c5a9e1be2
os: do not resolve symlinks in os.find_abs_path_of_executable/1 (fix #24759) (#24761) 2025-06-24 02:53:13 +03:00
kbkpbot
2da65219e2
builtin: add string.expand_tabs() (#24781) 2025-06-24 02:50:55 +03:00
Delyan Angelov
96c32ecd19
builtin: use s.runes_iterator() in trim_runes/2 to avoid needless allocation 2025-06-23 23:08:18 +03:00
Delyan Angelov
d6a3f3160d
cgen: protect against unlimited recursion in type_default_impl, by converting to a verror/1 call instead weekly.2025.26 2025-06-23 14:38:26 +03:00
Delyan Angelov
74080e8fd5
tests: fix v -W vlib/toml/tests/encode_and_decode_test.v 2025-06-22 13:30:43 +03:00
Delyan Angelov
91a3844ad5
tools: add support for // vtest vflags: -w in _test.v files, to allow v -W test . later, for files, that have known warnings 2025-06-22 12:43:04 +03:00
Laurent Cheylus
e6a1983325
crypto.ecdsa: add support for OpenSSL on OpenBSD (#24772) 2025-06-22 12:35:30 +03:00
Laurent Cheylus
a45e23ae5b
regex: remove deprecated const group in tests (#24774) 2025-06-22 12:32:34 +03:00
Laurent Cheylus
716d66b688
docs: add section in README for compilation on OpenBSD (#24775) 2025-06-22 12:31:25 +03:00
Alexander Medvednikov
cb3a106e1d parser: experimental syntax that doesn't require an extra indent 2025-06-22 03:22:56 +03:00
Felipe Pena
21cc3c31fe
cgen: fix sumtype option unwrapping (fix #24746) (#24770) 2025-06-21 19:57:18 +03:00
Hesham Can't Fly
d8709311c5
GNUmakefile: switch to ldd --version for musl check (#24771) 2025-06-21 19:51:07 +03:00
Delyan Angelov
da97e0a2e4
tools: fix for v build-tools and v build-examples running on a i686 (the problem was discovered by @tankf33der) 2025-06-21 17:50:31 +03:00
Delyan Angelov
b00f68cb2b
tools: make the output of v should-compile-all more immediately useful in CI jobs (turn off stdout buffering) 2025-06-21 16:33:22 +03:00
Delyan Angelov
dc1d091ac1
builtin: support -d builtin_free_nop to help diagnose problems with too early manual free() calls 2025-06-21 12:50:15 +03:00
Delyan Angelov
194db24829
builtin: add a rune iterator method to strings, allowing for for i, r in s.runes_iterator() { without first allocating an array for all the runes (#24769) 2025-06-21 12:33:14 +03:00
Mike
502f0e7e77
math.big: remove unnecessary code from / and % (the same is done in div_mod, which they call) (#24766) 2025-06-21 06:31:59 +03:00
Mike
25264e0fbe
math.big: remove minus from zero result in right_shift(), add tests (#24767) 2025-06-21 06:29:46 +03:00
Laurent Cheylus
40ce22d26a
crypto: remove unused os import for SHA512 tests (#24768) 2025-06-21 06:28:22 +03:00
Mike
5a81d8a509
math.big: add mod_euclid() and mod_euclid_checked, similar to libgmp's mpz_mod(), add tests (#24764) 2025-06-20 19:22:20 +03:00
Davide Beatrici
f7320919f1
cgen: only run freestanding_module_import on amd64 (#24763) 2025-06-20 16:47:36 +03:00
blackshirt
226359ca71
x.crypto.curve25519: fix possible double free, add consistencies check, cleanup dead test code (#24762) 2025-06-20 07:25:15 +03:00
Delyan Angelov
99be39cbd1
ci: remove the // vtest flaky: true tags from the remaining tests (#24379) 2025-06-19 20:16:49 +03:00
Delyan Angelov
e50698aaa4
v.vmod,tools: support a repo_branch property in v.mod files, in addition to the existing repo_url property, to allow for backlinks to repos that use main instead of master as their core branch 2025-06-19 19:46:29 +03:00
Delyan Angelov
f822792a10
arrays: add reverse_iterator/1 + tests, allowing for for child in arrays.reverse_iterator(children) { instead of explicit C for style loop; it also avoids allocations (#24755) 2025-06-19 14:46:20 +03:00
Delyan Angelov
29188e9849
pool: disable connection_test.v on windows completely for now, not just for msvc, to avoid false positives for unrelated PRs 2025-06-19 14:44:44 +03:00
Kim Shrier
e2835bb9da
pool: fix initialization of waitgroup in test_concurrent_access() (#24753) 2025-06-19 10:26:38 +03:00
Isaiah
125c899d62
thirdparty: add NDEBUG check before glGetErrorCode if-statement in sokol_gfx.h (#24754) 2025-06-19 10:23:37 +03:00
blackshirt
d32969ed3e
x.crypto: initial addition of curve25519 module (#24748) 2025-06-19 07:25:26 +03:00
Alexander Medvednikov
b9e5757236 V 0.4.11 0.4.11 2025-06-19 03:13:15 +03:00
Delyan Angelov
9387fe73e3
gg: fix .char event handling for backspace, delete, tab and enter for linux/x11 (send appropriate .char codes to the apps, similar to macos) 2025-06-18 21:41:26 +03:00
kbkpbot
cab97894ae
vlib: add a pool module (#24661) 2025-06-18 18:47:08 +03:00