20218 Commits

Author SHA1 Message Date
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
Alexander Medvednikov
03e93b35e3 checker: move arr << logic to check_append() 2025-06-04 03:38:38 +03:00
Delyan Angelov
262a72ea96
examples: cleanup memory.v (reduce it to 135 lines) 2025-06-03 11:17:13 +03:00
Swastik Baranwal
3ad384e92a
checker: cycle through all ast.ParExpr first in prefix_expr (fix #24584) (#24588) 2025-06-03 10:26:12 +03:00
Alain Gilbert
dbc4071f6f
veb: fix readme typo (#24645) weekly.2025.23 2025-06-03 07:40:52 +03:00
Alexander Medvednikov
55d004e310 cgen: reduce v.c size by ~4% by removing comments and using shorter literals 2025-06-03 02:59:55 +03:00
Delyan Angelov
d7061cbfef
examples: add a small memory game (#24643) 2025-06-02 23:02:48 +03:00
Mike
366f3d6b98
math.big: add test for radix_str() and integer_from_radix() (#24644) 2025-06-02 22:20:57 +03:00
Louis Schmieder
2944710abd
orm: add in and not in to orm_func (fix #24639) (#24642) 2025-06-02 22:10:30 +03:00
Gonzalo Chumillas
8320da22e7
jsgen: fix map to string fails on rune keys (fix #24637) (#24638) 2025-06-02 10:19:25 +03:00
Felipe Pena
bfc6d5469f
comptime: fix T.indirections comparison (fix #24630) (#24636) 2025-06-02 10:17:24 +03:00
Louis Schmieder
73ebf42015
orm: add IN and NOT IN (#24634) 2025-06-02 03:49:10 +03:00