Commit graph

20258 commits

Author SHA1 Message Date
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
Delyan Angelov
3271c728d5 docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
Delyan Angelov
e6bbcbd168 tools: improve summary output of find_doc_comments_with_no_dots.v 2025-07-02 15:44:44 +03:00
Delyan Angelov
7f53acfec8 tools: add find_doc_comments_with_no_dots.v 2025-07-02 15:38:08 +03:00
Delyan Angelov
46358b011f
cgen,markused: skip struct map { and related type declarations, when no V maps are used (#24826) 2025-07-01 18:40:47 +03:00
Delyan Angelov
2c063ea191
cgen,markused: skip struct none { in cgen, if none is not used by V code reachable from fn main() { (#24824) 2025-07-01 14:13:03 +03:00
Delyan Angelov
d05dc1f519
ci: migrate the remaining jobs from the deprecated windows-2019 image to windows-2022 (#24825) 2025-07-01 14:11:45 +03:00
Jengro
4a44fc5ae0
readme: use .\v in instruction for PowerShell (#24820)
Co-authored-by: Jengro Woo <Jengro777@outlook.com>
2025-07-01 09:45:18 +03:00
Felipe Pena
6dcedae784
cgen: fix if codegen when func parameter is option type (fix #24813) (#24816) 2025-06-30 22:04:15 +03:00
Laurent Cheylus
aadb0e9435
maths.bits: fix ambiguous expressions, remove special case in the checker (#24815) 2025-06-30 22:02:24 +03:00
Felipe Pena
65a5e968d7
cgen: fix codegen for multi return assignment with option type (fix #24812) (#24817) 2025-06-30 22:00:05 +03:00
Delyan Angelov
2c2ded2e0b
sync: use an atomic counter in test_waitgroup_go in waitgroup_test.v 2025-06-30 21:57:26 +03:00
Laurent Cheylus
9957327c37
crypto: fix ambiguous expressions in DES implementation (#24814) 2025-06-30 21:51:02 +03:00
Felipe Pena
42638cb171
cgen: fix codegen for interface method closure get (fix #24810) (#24818) 2025-06-30 21:49:38 +03:00
Laurent Cheylus
6cbffd53ba
picoev: fix documentation (#24811) 2025-06-29 12:59:14 +03:00
Felipe Pena
b909e2eb37
parser, cgen: fix static and volatile var deref (fix #24778) (fix #24779) (#24807) 2025-06-29 07:29:29 +03:00
Felipe Pena
bea73f7a3b
checker: fix sizeof(T) usage in generic struct (fix #24806) (#24808) 2025-06-29 07:28:15 +03:00
Krchi
f7b6a420d8
scanner: fix multi-level string interpolation in if/match branch (#24805) 2025-06-28 17:09:07 +03:00
kbkpbot
bd465b5254
sync: use SpinLock for channel (fix #24680) (#24802) 2025-06-28 14:55:06 +03:00
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 cb3a106e1d.
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 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