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
|
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
|
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 |
|
Pepper Gray
|
ce8f62146b
|
utf8, readline: clarify UTF-8 vs UTF-32 usage (see also #22461) (#22558)
|
2024-10-18 11:18:31 +03:00 |
|
Delyan Angelov
|
209c30f3a6
|
v.builder: fix building with -cc msvc and non ASCII characters in paths on windows 11 (#22410)
|
2024-10-05 02:20:15 +03:00 |
|
kbkpbot
|
dc6a9583d7
|
v.builder, builtin: use ANSI encoding for the .rsp file under Windows; add builtin string_to_ansi_not_null_terminated + tests (#22409)
|
2024-10-04 20:29:13 +03:00 |
|
Turiiya
|
2a368cf53c
|
builtin, strings: improve consistency and behavior regarding explicit mutability (#21566)
|
2024-07-10 15:26:51 +03:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Delyan Angelov
|
466c80f80a
|
vlib: remove methods deprecated before 2022-07-22 (#18944)
|
2023-07-22 18:11:12 +03:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
yuyi
|
17000ef7b6
|
checker: check option fn returning error (fix #17423) (#17438)
|
2023-03-02 15:49:50 +02:00 |
|
JalonSolov
|
90941b3b1f
|
all: change optional to option (#16914)
|
2023-01-09 09:36:45 +03:00 |
|
locriacyber
|
a3b050aced
|
vrepl: add support for Home and End keys (#16116)
|
2022-10-20 20:07:57 +03:00 |
|
StunxFS
|
995485c649
|
builtin: add string.len_utf8() method (#14208)
|
2022-04-29 10:23:57 +03:00 |
|
Alexander Medvednikov
|
ae6a25f44e
|
websocket, utf: u8 fixes
|
2022-04-15 16:24:02 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
|
jeffmikels
|
4189b7e280
|
builtin: add a byterune method on []byte (#13145)
|
2022-01-13 22:26:17 +02:00 |
|
Delyan Angelov
|
8acd84d04a
|
builtin: reduce allocations in rune.bytes()
|
2022-01-11 15:23:39 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
|
Delyan Angelov
|
6d97b0a407
|
checker: improve checking of a << b, when a and b are numbers (#12589)
|
2021-11-29 03:48:49 +03:00 |
|
Delyan Angelov
|
34d39ccb64
|
builtin: fix leak in rune.str(), fix leaks in most assert x == y statements in tests (#11091)
|
2021-08-13 18:37:34 +03:00 |
|
Uwe Krüger
|
60c880a0cc
|
vlib: use malloc_noscan() where possible (#10465)
|
2021-06-15 14:47:11 +03:00 |
|
penguindark
|
bfe0a7887f
|
builtin,strconv: fix and optimize utf8 and formatting functions (#9874)
|
2021-04-25 17:57:21 +03:00 |
|
penguindark
|
4ecc5001b9
|
builtin: fix for utf8_str_visible_length for CJK Unified Ideographs Extension G (#9739)
|
2021-04-15 09:20:53 +03:00 |
|
Delyan Angelov
|
c0e2b9b1e2
|
ci: fix some of v test-cleancode 2
|
2021-04-05 20:55:03 +03:00 |
|
Delyan Angelov
|
d65ad68e77
|
builtin: add 0 terminators for strings returned by .to_lower, .to_upper, utf32_to_str_no_malloc/2
|
2021-03-14 18:21:45 +02:00 |
|
zakuro
|
ce115dcbe0
|
builtin: correct error underline for unicode wide chars (#9010)
|
2021-03-01 00:18:02 +01:00 |
|
Nick Treleaven
|
ea803113c3
|
checker: check unsafe V function calls (#8752)
|
2021-02-14 19:31:42 +01:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Delyan Angelov
|
d155d8d3f0
|
vlib: prepare atoi.v and utf8.v for -Wimpure-v
|
2020-12-15 10:17:46 +02:00 |
|
Alexander Medvednikov
|
2f50a9ea1f
|
utf: fix utf32_to_str
|
2020-11-21 22:37:16 +01:00 |
|
Alexander Medvednikov
|
9a51f4e3c2
|
autofree: builtin fixes
|
2020-11-21 22:33:31 +01:00 |
|
Delyan Angelov
|
46c5a2c8fc
|
v test-fmt: fix some embedded comments in expressions
|
2020-10-14 22:52:33 +03:00 |
|
Delyan Angelov
|
d2badcdedf
|
vlib: fix more C warns on windows
|
2020-09-18 13:40:47 +03:00 |
|
Nick Treleaven
|
ee349691f9
|
v/checker: Warn about pointer indexing outside unsafe {} (#5918)
|
2020-07-22 20:28:53 +03:00 |
|
Nick Treleaven
|
0b49e4db1c
|
v/checker.v: disallow pointer arithmetic for InfixExpr outside unsafe {} (#5640)
|
2020-07-03 18:10:10 +02:00 |
|
Alexander Medvednikov
|
63b8cdea7a
|
checker: require () in a && b || c
|
2020-06-02 22:21:44 +02:00 |
|
Uwe Krüger
|
076089d3c5
|
checker: apply stricter type checks to function args and return types
|
2020-06-01 21:15:59 +02:00 |
|
Uwe Krüger
|
013fdb8a4b
|
checker: restrict numeric promotions to cases where no data is lost
|
2020-05-27 05:42:48 +02:00 |
|
yuyi
|
dda875a9c8
|
all: unify const names to snake_case
|
2020-05-22 17:36:09 +02:00 |
|
Uwe Krüger
|
f831910c5c
|
utf: fix string length calculation for combining characters
|
2020-05-04 13:21:11 +02:00 |
|
Uwe Krüger
|
170ee4312f
|
cgen: string interpolation field width support for large integers and utf8 strings
|
2020-05-02 00:43:59 +02:00 |
|
Alexander Medvednikov
|
ef26f27753
|
builtin: replace isnil calls for perfomance
|
2020-04-27 07:13:36 +02:00 |
|
Alexander Medvednikov
|
473d9fef55
|
checker: do not allow extra () in if conditions
|
2020-03-27 14:57:19 +01:00 |
|
joe-conigliaro
|
7f709c3285
|
update copyright years
|
2020-02-03 05:00:36 +01:00 |
|
Alexander Medvednikov
|
d082b3f4b9
|
run vfmt on vlib/builtin
|
2019-12-20 00:12:29 +03:00 |
|
Alexander Medvednikov
|
ad6adf327e
|
vlib: fix missing else{} in match statements
|
2019-12-07 17:23:37 +03:00 |
|
Alexander Medvednikov
|
2fb7fba856
|
require else in match statements
|
2019-12-07 17:01:44 +03:00 |
|