Delyan Angelov
|
69e80ba96d
|
builtin: add a temporary ctovstring_impl/1 API to enable ui to compile cleanly for PR#25264, part 1
|
2025-09-09 15:00:16 +03:00 |
|
Delyan Angelov
|
2e3f0b27f0
|
builtin,vdoc: make v doc -unsafe-run-examples -time -f ansi vlib/builtin/ pass too
|
2025-08-13 16:28:37 +03:00 |
|
Delyan Angelov
|
82cd81e963
|
builtin,vdoc: fix the examples for the builtin methods, so that v doc -check-examples -time -f ansi vlib/builtin/ pass
|
2025-08-13 16:22:47 +03:00 |
|
Delyan Angelov
|
b628626923
|
builtin: fix assert "ä ö å æ ã ø ô é ë".title() == "Ä Ö Å Æ Ã Ø Ô É Ë" (fix #25017) (#25026)
|
2025-08-02 14:03:28 +03:00 |
|
Delyan Angelov
|
eb99497ffc
|
builtin,markused: consider println of non string to use .str() method calls too, reduce generated C code for v -cc gcc examples/hello_world.v (#24996)
|
2025-07-29 14:52:24 +03:00 |
|
Felipe Pena
|
396dc77a20
|
markused: reduce hello world csize by 49%, do more cleanups and improvements (#24971)
|
2025-07-29 09:00:57 +03:00 |
|
Delyan Angelov
|
4037765828
|
builtin: fix OOB bugs in s.is_bin, s.is_oct, s.is_hex, discovered through ./v -force-bounds-checking test vlib/builtin/
|
2025-07-23 15:52:18 +03:00 |
|
Delyan Angelov
|
da00a46bcc
|
builtin: prepare for adding a -force-bounds-checking option
|
2025-07-23 15:26:17 +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 |
|
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
|
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
|
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
|
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 |
|
kbkpbot
|
57b815f96d
|
builtin: add string.is_identifier() (#24350)
|
2025-04-28 13:55:56 +03: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 |
|
Alexander Medvednikov
|
951d30405f
|
builtin: string.index_after() ?int
|
2025-03-12 23:03:25 +03: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 |
|
gechandesu
|
4f85b35bb9
|
builtin: add string.split_by_space() (#23651)
|
2025-02-04 11:12:42 +02:00 |
|
Emma
|
6b92f8fada
|
all: remove ancient deprecations (#23479)
|
2025-01-16 16:36:12 +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 |
|
yuyi
|
17f3c8f813
|
checker: check fn call argument mismatch (fix #23016) (#23061)
|
2024-12-04 11:52:07 +02:00 |
|
Alexander Medvednikov
|
7b8089b392
|
markused: fix veb actions
|
2024-11-26 12:55:16 +03:00 |
|
Felipe Pena
|
af875ede92
|
v: do a minor optimizations on cmd/v (#22880)
|
2024-11-17 13:17:19 +02:00 |
|
yuyi
|
b30be51872
|
builtin: fix runes.to_upper() (fix #22742) (#22755)
|
2024-11-06 16:54:12 +02:00 |
|
yuyi
|
ea1992380c
|
builtin: add string.is_pure_ascii() (#22748)
|
2024-11-03 18:52:23 +02:00 |
|
Felipe Pena
|
ee4f29fd87
|
v: optimize the compiler performance (#22709)
|
2024-10-31 20:40:30 +02:00 |
|
Hitalo Souza
|
b5795dcd76
|
builtin: improve performance of string.starts_with/1 and string.ends_with/1 , when compiled with tcc (#22620)
|
2024-10-22 17:02:47 +03:00 |
|
Delyan Angelov
|
a64dfc776b
|
builtin: remove unsafe{} blocks from data_to_hex_string/2
|
2024-10-16 14:19:18 +03:00 |
|
Delyan Angelov
|
c5e8ad19df
|
builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540)
|
2024-10-16 14:18:10 +03:00 |
|
Jose Mendoza
|
75658415f1
|
builtin: add string.wrap method + tests (#22441)
|
2024-10-08 07:14:32 +03:00 |
|
yuyi
|
ca5f47a966
|
builtin: cleanup string trim()/trim_left()/trim_right() (#22225)
|
2024-09-15 20:05:42 +03:00 |
|
yuyi
|
6eae77b61e
|
builtin: fix string.trim() (fix #13021) (#22205)
|
2024-09-13 07:27:40 +03:00 |
|
yuyi
|
99bfb5b0fc
|
builtin: cleanup comments of struct string (#22159)
|
2024-09-04 07:31:50 +03:00 |
|
yuyi
|
fdc3a9c11c
|
builtin,fmt: cleanup alignment using string.repeat() instead of strings.repeat() (#22087)
|
2024-08-21 09:18:10 +03:00 |
|
Alexander Medvednikov
|
ae1b9ed571
|
veb: deprecate x.vweb in favor of veb; checker: show missing variants in the sumtype error
|
2024-08-18 17:27:08 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
Delyan Angelov
|
f676daceb5
|
vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v
|
2024-07-30 17:15:15 +03:00 |
|
yuyi
|
bf04adcc81
|
builtin: fix 'aaaa'.split('aa') (fix #21936) (#21951)
|
2024-07-28 13:25:14 +03:00 |
|
Swastik Baranwal
|
69bc4be512
|
builtin: add s.trim_space_left/0 and s.trim_space_right/0 methods (#21903)
|
2024-07-21 22:38:59 +03:00 |
|
Felipe Pena
|
769e9147c3
|
v: change old attr syntax mention to new one in comments too (#21860)
|
2024-07-14 09:39:37 +03:00 |
|
Turiiya
|
895bd71fa0
|
builtin: improve snake to camel case conversion (#21755)
|
2024-06-29 11:10:10 +03:00 |
|
Turiiya
|
6ecfc6f63a
|
builtin: fix assert '_ISspace'.camel_to_snake() == '_i_sspace' (#21736)
|
2024-06-27 08:23:39 +03:00 |
|
Turiiya
|
5b9358279a
|
vlib: simplify byte character conditions by using methods like is_capital, is_lower, is_letter etc (#21725)
|
2024-06-25 09:55:08 +03:00 |
|
Turiiya
|
c5c49d3685
|
builtin: fix assert 'JVM_PUBLIC_ACC'.camel_to_snake() == 'jvm_public_acc' (#21722)
|
2024-06-24 23:01:52 +03:00 |
|
Alexander Medvednikov
|
d7bc216713
|
string: fix leak in replace_once
|
2024-06-22 19:17:26 +03:00 |
|
Alexander Medvednikov
|
549e11bfa1
|
string: optimize is_ascii()
|
2024-06-22 18:25:52 +03:00 |
|
Turiiya
|
895bb87a32
|
builtin: improve performance of string.camel_to_snake (#21691)
|
2024-06-18 09:16:10 +03:00 |
|