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 |
|
Jose Mendoza
|
a5f400ee77
|
parser, ast, fmt: convert "hello".str => c"hello" (fix #24635) (#24652)
|
2025-06-08 11:44:38 +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 |
|
Eliyaan (Nopana)
|
566d22ab66
|
builtin: remove playground related code (the current playground uses a container/sandbox) (#24632)
|
2025-06-01 17:12:51 +03:00 |
|
Gonzalo Chumillas
|
b84512d408
|
jsgen: fix direct map key access and map.len (fix #24616, fix #24605) (#24620)
|
2025-05-31 08:00:34 +03:00 |
|
Delyan Angelov
|
bb2d605653
|
tests: cleanup obsolete TODOs about cgen errors
|
2025-05-31 07:53:18 +03:00 |
|
Gonzalo Chumillas
|
55eccf6abe
|
jsgen: fix string.runes method (fix #20500) (#24609)
|
2025-05-30 06:15:08 +03:00 |
|
Gonzalo Chumillas
|
90fdf102fc
|
jsgen: implement Map.keys() and Map.values() methods (fix #24209) (#24608)
|
2025-05-30 05:54:44 +03:00 |
|
Eliyaan (Nopana)
|
399454fb89
|
builtin: flush stdout on panic (#24606)
|
2025-05-30 05:40:29 +03:00 |
|
Laurent Cheylus
|
9fd7e3e7c1
|
builtin: fix tests for isnil for -prod or -W, after the recent new cast warning (#24531)
|
2025-05-21 06:10:34 +03:00 |
|
kbkpbot
|
89305aabe7
|
builtin: fix mix prod and debug ucrt lib (#24498)
|
2025-05-21 06:07:56 +03:00 |
|
Laurent Cheylus
|
89fae6096a
|
builtin: fix recent cast warning for tests for map (fix compilation with -prod or -W) (#24532)
|
2025-05-21 06:04:33 +03:00 |
|
Laurent Cheylus
|
35d33ff309
|
builtin: fix tests for int (avoid new V warning) (#24528)
|
2025-05-20 15:54:01 +03:00 |
|
kbkpbot
|
c72d77d8a4
|
os: fix os.File's tell/0 method for windows (fix #24217) (#24218)
|
2025-05-20 15:41:15 +03:00 |
|
Delyan Angelov
|
b4b860cb1f
|
tests: fix all warnings for v test-all on linux
|
2025-05-19 16:16:53 +03:00 |
|
Swastik Baranwal
|
2c42574e6a
|
builtin: remove old TODOs from array_test (#24510)
|
2025-05-18 16:49:07 +03:00 |
|
Delyan Angelov
|
9df49bfa31
|
doc: fix v doc -l -comments builtin not showing the starting comment for string.split (reorder comments)
|
2025-05-04 18:23:24 +03:00 |
|
Alexander Medvednikov
|
7d57a19d7e
|
checker: do not allow &u8(0), force nil like we do with &Type(0)
|
2025-05-03 22:37:51 +03:00 |
|
kbkpbot
|
57b815f96d
|
builtin: add string.is_identifier() (#24350)
|
2025-04-28 13:55:56 +03:00 |
|
Xyndra
|
d559a62cfe
|
builtin,v.gen.wasm: support -b wasm -d no_imports (#24188)
|
2025-04-13 12:21:35 +03:00 |
|
Felipe Pena
|
36ec2355b2
|
cgen: fix zero left padding (fix #24199) (#24201)
|
2025-04-13 11:46:48 +03:00 |
|
Mike
|
591e1964bb
|
builtin: fix wide tests for big_endian systems (#24145)
|
2025-04-07 12:42:23 +03:00 |
|
XiaoPangxie732
|
15c0e6f2bd
|
strings, builtin: remove strings.Builder.clear() , fix array.clear() not working in the JS backend (#23992)
|
2025-03-22 17:24:59 +02:00 |
|
Kim Shrier
|
ff43cd5a20
|
builtin: fix minor typo in join_lines description (#23984)
|
2025-03-20 13:32:34 +02:00 |
|
Delyan Angelov
|
b528395039
|
builtin,markused,pref,cgen: improve markused for small programs
|
2025-03-18 21:05:04 +02:00 |
|
Delyan Angelov
|
37c3f6578c
|
v.util.version: centralise the use of @VCURRENTHASH , to minimise the vlang/vc diffs for each commit
|
2025-03-14 10:07:28 +02:00 |
|
Delyan Angelov
|
a80bc23314
|
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test , v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918)
|
2025-03-13 19:51:51 +02:00 |
|
ChAoS_UnItY (Kyle Lin)
|
9f3f1291e8
|
checker: fix signed integer literal overflow error, when most significant bit occupies signed bit (fix #23782) (#23919)
|
2025-03-13 17:29:44 +02:00 |
|
Alexander Medvednikov
|
951d30405f
|
builtin: string.index_after() ?int
|
2025-03-12 23:03:25 +03:00 |
|
Delyan Angelov
|
408ec6bff4
|
builtin,os: fix warnings for ./v -os cross -o vc/v.c cmd/v && cc -o v_from_vc vc/v.c -lpthread
|
2025-03-06 20:56:49 +02:00 |
|
Delyan Angelov
|
c17c0e16c4
|
builtin: declare fn C._vinit/2 and fn C._vcleanup/0 (continuation from #23812) (#23820)
|
2025-02-28 05:23:48 +02:00 |
|
kbkpbot
|
675fe14cbb
|
strconv: fix strconv.atof64() inconsistency with the other .ato functions; make it return an error by default, when it detects an extra non number character after a number (#23815)
|
2025-02-27 08:31:59 +02:00 |
|
Delyan Angelov
|
b9d057118c
|
log: fix panic on mutex destroy, when exiting a program, while a thread is still logging
|
2025-02-24 18:28:27 +02:00 |
|
Delyan Angelov
|
55f482bb63
|
ci: update linux image runners from ubuntu-20.04 to ubuntu-24.04 (#23706)
|
2025-02-17 07:37:59 +02:00 |
|
Delyan Angelov
|
2f700c04b7
|
builtin,cgen: fix issues found with the stricter sanitizers in clang-18 on Ubuntu 24.04 (#23710)
|
2025-02-13 21:27:39 +02:00 |
|
Delyan Angelov
|
adbc869626
|
cgen: improve support for v -path bootstrap_alternative_backend/ run simple.v (#23679)
|
2025-02-09 21:23:14 +02:00 |
|
gechandesu
|
4f85b35bb9
|
builtin: add string.split_by_space() (#23651)
|
2025-02-04 11:12:42 +02:00 |
|
kbkpbot
|
d78bf1122d
|
os: add disk_usage/1 (#23634)
|
2025-02-02 19:32:21 +02:00 |
|
Felipe Pena
|
f291ed8541
|
builtin: make public the FnGC_WarnCB alias (#23633)
|
2025-02-02 13:45:28 +02:00 |
|
Laurent Cheylus
|
85f388958e
|
builtin: fix tests for map (fix #23601) (#23602)
|
2025-01-28 23:56:25 +02:00 |
|
Felipe Pena
|
a05ef999ff
|
builtin: add &u8.free() (fix #23592) (#23598)
|
2025-01-28 23:54:33 +02:00 |
|
Felipe Pena
|
c2e436518b
|
checker: fix private symbol visibility checking (fix #23518) (#23543)
|
2025-01-27 11:42:27 +02:00 |
|
Delyan Angelov
|
d710d9ef85
|
builtin: change the default builder size used for string interpolations, from 256 bytes to 64 bytes
|
2025-01-25 16:50:24 +02:00 |
|
Delyan Angelov
|
1059a28946
|
builtin: cleanup prealloc.c.v a bit
|
2025-01-25 15:27:10 +02:00 |
|
Delyan Angelov
|
991ec1f9d2
|
builtin: add -prealloc -d prealloc_memset -d prealloc_memset_value=65 -d prealloc_dump , to better analyze the memory patterns of running V programs
|
2025-01-24 16:54:49 +02:00 |
|
Delyan Angelov
|
12d8f173a4
|
builtin: reduce a bit the generated #if defined checks for small programs (#23484)
|
2025-01-16 17:16:09 +02:00 |
|
Emma
|
6b92f8fada
|
all: remove ancient deprecations (#23479)
|
2025-01-16 16:36:12 +02:00 |
|
kbkpbot
|
6284c27ab6
|
builtin,checker: remove @[markused] from fn isnil() , set c.table.used_features.auto_str_ptr = true instead (#23464)
|
2025-01-15 09:16:33 +02:00 |
|
kbkpbot
|
ae8109545e
|
builtin: add a @[markused] tag to isnil() , because cgen generates calls to it in some cases (#23462)
|
2025-01-14 06:23:31 +02:00 |
|
Delyan Angelov
|
e983d75b64
|
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380)
|
2025-01-06 08:23:56 +02:00 |
|