20129 Commits

Author SHA1 Message Date
gechandesu
e7905ea841
tools: make v doc -f md module output useful by default (#24737) 2025-06-17 07:00:08 +03:00
kbkpbot
ef279f67a9
db: add redis (#24730) 2025-06-16 13:29:34 +03:00
Laurent Cheylus
9fb205a61c
ci: add CI for OpenBSD (#24732) 2025-06-16 12:21:23 +03:00
VolodymyrBg
10da1f632e
x.templating.dtm: fix demo link in README (#24729) weekly.2025.25 2025-06-16 06:43:18 +03:00
Eliyaan (Nopana)
959c11b7f3
native: add a temporary special case for C.EOF (#24724) 2025-06-15 20:29:36 +03:00
Laurent Cheylus
099b57f1d0
ci: update and improve FreeBSD CI (#24726) 2025-06-15 20:26:50 +03:00
Mike
6e271b2ae6
math.big: change the handling of negatives in div_mod() to match gmp and Julia, add tests (#24713) 2025-06-15 10:51:40 +03:00
Felipe Pena
12c20e3c1f
checker: fix compound selector smartcasting/option unwrapping (fix #24662) (#24712) 2025-06-15 10:49:56 +03:00
Laurent Cheylus
364f9ebda3
builtin: use local static libgc for FreeBSD with tcc (fix #24710) (fix #24683) (#24720) 2025-06-15 09:35:53 +03:00
Laurent Cheylus
9072cc14eb
thirdparty: add script to build libgc on FreeBSD/amd64 (#24717) 2025-06-14 13:41:25 +03:00
Einar Hjortdal
6a3f12d512
veb: fix handling of default CorsOptions.allowed_headers (#24703) 2025-06-13 15:53:50 +03:00
Laurent Cheylus
99c39ab882
docs: add section in README for compilation on FreeBSD (#24706) 2025-06-12 22:31:18 +03:00
Laurent Cheylus
b77887ee22
tools: remove specific case for FreeBSD in cmd/tools/vtest_test.v (#24707) 2025-06-12 22:27:27 +03:00
Felipe Pena
4dc66e2675
cgen: fix enumval str() call on stringinterliteral (fix #24702) (#24705) 2025-06-12 19:23:05 +03:00
Delyan Angelov
b6ccca23a0
ast: reduce memory usage of ast.ScopeObject and ast.Ident instances (#24704) 2025-06-12 17:14:05 +03:00
Delyan Angelov
9e2462a876
native: fix again v -os macos -experimental -b native -o hw.macos examples/hello_world.v, after the latest changes to the backend 2025-06-12 13:40:01 +03:00
Felipe Pena
36bef926fb
autofree: fix codegen for comptime selector usage (fix #24655) (#24697) 2025-06-11 18:57:36 +03:00
kbkpbot
a9f4a942fb
sync.stdatomic: add atomic_thread_fence(), cpu_relax() (#24690) 2025-06-11 18:48:23 +03:00
Laurent Cheylus
2bc5887398
net.http: set the IP address for the HTTP server during tests (fix #22126) (#24698) 2025-06-11 18:46:22 +03:00
Alexander Medvednikov
4cbf77cf60 parser: vls mode 2025-06-11 18:38:17 +03:00
Laurent Cheylus
0628bf32f1
runtime: fix -cstrict compilation (use usize() cast in free_memory) on OpenBSD (#24696) 2025-06-11 13:13:39 +03:00
Felipe Pena
11bcd40b4a
checker: add error for if mut x != none {, when x is an immutable option (fix #24692) (#24694) 2025-06-11 08:19:34 +03:00
Felipe Pena
c5c2c804b8
ckecker: cleanup ident() (#24691) 2025-06-11 08:09:28 +03:00
leopardracer
a9e9e05118
doc: fix typos (#24693) 2025-06-11 07:56:09 +03:00
Delyan Angelov
f2506368ac
ci: migrate from windows-2019 runner to windows-2025 runner in most jobs (github deprecated the 2019 runner) (#24672) 2025-06-10 13:56:56 +03:00
kbkpbot
0c495d07d7
sync.stdatomic: fix bug with add() and sub() returning the new values, add voidptr support, add swap() and compare_and_swap() (#24685) 2025-06-10 09:05:11 +03:00
Delyan Angelov
174065f16f
native: skip linux.vv too, for the sanitized jobs (similar to libc.vv) 2025-06-10 08:49:44 +03:00
dependabot[bot]
b421e67b06
ci: bump creyD/prettier_action from 4.5 to 4.6 (#24687) 2025-06-10 08:24:15 +03:00
Laurent Cheylus
cc5b31769f
encoding.iconv: add path for iconv library on FreeBSD (#24682) weekly.2025.24 2025-06-09 20:41:52 +03:00
Eliyaan (Nopana)
f5bf1b591e
native: support C constants (#24660) 2025-06-09 18:53:06 +03:00
Laurent Cheylus
c61dda3425
ci: remove script to build tcc on FreeBSD (obsoleted by thirdparty/build_scripts/thirdparty-freebsd-amd64_tcc.sh) (#24681)
Signed-off-by: Laurent Cheylus <foxy@free.fr>
2025-06-09 18:52:24 +03:00
Delyan Angelov
06132637f3
native: leave only the unique paths in g.linker_include_paths, before doing lookups 2025-06-09 13:53:53 +03:00
Jose Mendoza
921e00112a
parser, fmt, gen: support js"string literal" (#24653) 2025-06-09 12:24:08 +03:00
Gonzalo Chumillas
ee77475dc1
jsgen: fix slightly incorrect JS (esbuild was broken on master) (fix #23711) (#24676) 2025-06-09 11:50:45 +03:00
Gonzalo Chumillas
2604fc186f
jsgen: fix maps being always constructed using string keys (fix #24607) (fix #24671) (#24673) 2025-06-09 11:22:24 +03:00
Mike
e8fe334396
math.big: speed up ~10x integer_from_radix() (#24674) 2025-06-09 11:13:07 +03:00
Mike
cecbc7294a
math.big: improve the performance of radix_str() ~9 times (#24666) 2025-06-08 13:02:33 +03:00
Delyan Angelov
01770de8b5
sync: increase retries for vlib/sync/select_close_test.v to 3, to reduce CI false positives in the gcc-windows job 2025-06-08 12:56:08 +03:00
Swastik Baranwal
c0bdb4a47b
v: implement expr.remove_para (#24669) 2025-06-08 12:51:29 +03:00
Jose Mendoza
a5f400ee77
parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652) 2025-06-08 11:44:38 +03:00
Delyan Angelov
0de2f742f0
.gitignore: ignore .db and .sesskey files as well 2025-06-06 12:11:48 +03:00
Felipe Pena
1e71fa3e38
checker: fix missing type bounding to match expr on or{} expr (fix #24656) (#24658) 2025-06-05 19:00:28 +03:00
Delyan Angelov
a13821a951
tools: ignore .db and .sqlite files by default in v watch (such DB files are very likely to change during prototyping) 2025-06-05 18:47:00 +03:00
Delyan Angelov
a91e2def83
v: remove dump() calls inside the compiler itself (make bootstrapping of dump() implemented before cgen easier) 2025-06-05 17:45:09 +03:00
Delyan Angelov
11ecfc090c
checker: allow for calling main() inside _test.v files 2025-06-05 17:45:09 +03:00
Felipe Pena
e4e568945e
v: fix mutable option (fix #18818) (fix #24622) (fix #24101) (#19100) 2025-06-05 13:39:38 +03:00
Jose Mendoza
18d9364933
pref: avoid changing the backend with .js.v when -backend has already been used (fix #7840) (#24654) 2025-06-05 12:03:09 +03:00
kbkpbot
8c573cf355
runtime: make free_memory() and total_memory() return Result types to allow for reporting errors (#24651) 2025-06-04 22:35:49 +03:00
Delyan Angelov
061da6aac6
v.vmod: ease showing the content of mcache.cache after all the cached mod file lookups are done 2025-06-04 08:02:31 +03:00
Alexander Medvednikov
504d34a0a8 checker: fix mutable const bug (fix #14916) 2025-06-04 04:23:15 +03:00