Felipe Pena
|
0d8cc4588f
|
markused: remove @[markused] from option and result fns (#24900)
|
2025-07-15 18:37:48 +03:00 |
|
kbkpbot
|
1ea8574659
|
os: fix windows get_error_msg() leak (#24899)
|
2025-07-14 14:54:55 +03:00 |
|
Felipe Pena
|
feb409071d
|
markused: whitelist _option_none too (fix #24862) (#24885)
|
2025-07-13 21:09:06 +03:00 |
|
kbkpbot
|
fa904c495e
|
builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886)
|
2025-07-13 20:56:28 +03:00 |
|
Delyan Angelov
|
7e35d40661
|
v2: add formatting workarounds, to make v run cmd/v2/v2.v --skip-imports -d vlib/v2/tests/syntax.v_ run
|
2025-07-03 09:46:01 +03:00 |
|
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
|
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
|
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
|
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 |
|
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
|
2cd1c9e26b
|
builtin,os: enable no warnings for gg programs like v -gc boehm_leak -cg -keepc run examples/gg/minimal.v (part 1 - before the gg loop) (#24749)
|
2025-06-18 16:37:57 +03:00 |
|
Delyan Angelov
|
d52bac1301
|
builtin: make array.ensure_cap/1 public
|
2025-06-18 08:56:48 +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 |
|
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 |
|
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 |
|