Alexander Medvednikov
|
2a84f6db95
|
all: byte => u8
|
2022-04-17 12:14:26 +02:00 |
Nick Treleaven
|
c780de6282
|
checker: disallow 'small_unsigned == signed' (#13967)
|
2022-04-12 19:37:30 +03:00 |
Nick Treleaven
|
2cd9c91e98
|
vdoc: highlight terminal examples for `-comments -color` (#13937)
|
2022-04-04 18:13:24 +03:00 |
Nick Treleaven
|
d10135e2c4
|
vdoc: HTML highlight generic function as function, not name (#13923)
|
2022-04-03 23:41:02 +03:00 |
Nick Treleaven
|
42f92db0ab
|
v.doc: parse multi-line examples (so they get highlighted) (#13894)
|
2022-04-02 18:29:12 +03:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
Vincenzo Palazzo
|
7f29418c63
|
strconv: change atof64 to return an error, if the parsed value is not a valid number (#13424)
|
2022-02-10 13:27:32 +02:00 |
trueFireblade
|
727c9fb4a1
|
all: add string range OrExpr (#13189)
|
2022-01-17 13:03:10 +03:00 |
jeffmikels
|
9329b6c8c8
|
builtin: add more documentation (#13160)
|
2022-01-14 17:27:38 +02:00 |
jeffmikels
|
70aedaf184
|
builtin: add a string.parse_int/2 method (wrapping strconv.parse_int/3) (#13164)
|
2022-01-14 00:31:11 +02:00 |
Delyan Angelov
|
d3489d4246
|
builtin: s.trim_prefix/1 -> s.trim_string_left/1, s.trim_suffix/1 -> s.trim_string_right/1
|
2022-01-05 12:49:22 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
penguindark
|
278c08704c
|
all: support slices with negative indexes `#[start..end]` (gated arrays) (#12914)
|
2021-12-22 16:34:02 +03:00 |
Delyan Angelov
|
f81654e3a7
|
builtin: add `s.match_glob(wildcard_pattern)`
|
2021-12-20 14:17:08 +02:00 |
Delyan Angelov
|
6ff953d936
|
preludes,builder,cgen: add support for VTEST_RUNNER=tap and -test-runner tap (#12523)
|
2021-12-16 15:59:46 +02:00 |
penguindark
|
81a1490e31
|
builtin: add string.split_any/1 (#12720)
|
2021-12-04 20:13:40 +02:00 |
Delyan Angelov
|
c4363bc78b
|
builtin: explain and better organise the different cstring_to_vstring/tos/tos_clone/vstring family of conversion functions
|
2021-12-02 15:46:53 +02:00 |
Delyan Angelov
|
80242c8041
|
builtin,ast: apply small performance improvements, suggested by `hotspot`
|
2021-11-07 13:30:44 +02:00 |
Delyan Angelov
|
b86c79329b
|
os, builtin: reduce leaks without -autofree
|
2021-10-29 15:49:30 +03:00 |
Delyan Angelov
|
8014235e0e
|
scanner: speed up text_scan by using a specialised keywords matcher, instead of a generic V map of keywords
|
2021-10-28 15:41:13 +03:00 |
Ken
|
a17b943e87
|
builtin: add method `byte()` for string (#11998)
|
2021-09-28 10:08:10 +03:00 |
Ruofan XU
|
b343f19bec
|
v.scanner: fix ambiguity of two-level generics and shift-right (#11540)
|
2021-09-19 16:22:28 +03:00 |
Lathanao
|
78c26e69cf
|
builtin: fix the string.index_any method (#11310)
|
2021-09-06 15:06:37 +03:00 |
playX
|
bdf11d969a
|
js: add basic support for running tests, fix string.replace_each (#11314)
|
2021-08-26 15:20:54 +03:00 |
playX
|
109d5d5847
|
js: `os` now compiles to the JS backend, more builtins & minor codegen fixes (#11302)
|
2021-08-25 14:40:53 +03:00 |
Delyan Angelov
|
47884dfd1f
|
builtin: move C. calls to .c.v files (#11164)
|
2021-08-12 21:46:38 +03:00 |
Enzo
|
506c30a291
|
builtin: remove methods that can be autogenerated (#11109)
|
2021-08-09 15:42:31 +03:00 |
shadow
|
66bc8bc0cb
|
vlib: remove many deprecated functions (#10972)
|
2021-07-28 09:22:19 +03:00 |
Uwe Krüger
|
a1f123bd42
|
cgen: enable string index error handling `s[i] or {...}` (#10670)
|
2021-07-05 21:00:30 +03:00 |
Alexander Medvednikov
|
6a64259527
|
string: bring back the is_lit comment
|
2021-07-03 20:16:49 +03:00 |
Daniel Däschle
|
0f9537ece5
|
all: remove ustring (#10630)
|
2021-07-03 20:14:09 +03:00 |
Flinner
|
1486258591
|
strconv: fix `atoi` returning 0 on large strings (#10635)
|
2021-07-02 10:39:57 +03:00 |
Daniel Däschle
|
3881e97a40
|
vlib: remove ustring usage (#10618)
|
2021-06-30 22:30:28 +03:00 |
Daniel Däschle
|
6838030ab5
|
builtin: add string.runes() (#10611)
|
2021-06-30 09:17:38 +03:00 |
Delyan Angelov
|
ab5a4cf4e5
|
builtin: cleanup .before() documentation
|
2021-06-29 14:50:55 +03:00 |
Delyan Angelov
|
1b5d0ba8fd
|
builtin: document existing behaviour of .before() methods on strings
|
2021-06-29 14:40:37 +03:00 |
Delyan Angelov
|
f580597ffc
|
ci: fix -cstrict compilation on tests-sanitize-undefined-clang
|
2021-06-23 20:17:58 +03:00 |
Delyan Angelov
|
66bf963a48
|
builtin: remove C.printf call from string.free()
|
2021-06-23 16:31:46 +03:00 |
Uwe Krüger
|
652e7ba973
|
gc: extend optimized mode to strings (#10431)
|
2021-06-12 11:27:08 +03:00 |
Alexander Medvednikov
|
e02d1d4a4b
|
Revert "gc: extend optimized mode to strings (#10409)"
This reverts commit 3f654a69e3 .
|
2021-06-12 01:52:06 +03:00 |
Uwe Krüger
|
3f654a69e3
|
gc: extend optimized mode to strings (#10409)
|
2021-06-12 00:03:05 +03:00 |
pancake
|
5be982d63e
|
builtin: fix memory leak on empty strings (#10408)
|
2021-06-10 15:21:57 +03:00 |
Uwe Krüger
|
15557161cc
|
builtin: add trailing `0` to reversed string (#10248)
|
2021-05-29 16:45:26 +03:00 |
Enzo
|
39c376bb5b
|
builtin,gen: use operator overloading on ustring (#10197)
|
2021-05-25 14:51:48 +03:00 |
Enzo
|
ce7f78522d
|
builtin: remove former string operator methods (#10184)
|
2021-05-24 14:05:29 +03:00 |
Enzo
|
886f69bfcf
|
all: use operator overloading on strings (p. 2) (#10183)
|
2021-05-24 11:38:31 +03:00 |
Delyan Angelov
|
7f12bfa563
|
builtin: optimise `sx == sy` in the case where strings have common prefixes
|
2021-05-23 17:22:57 +03:00 |
Delyan Angelov
|
5efd8c62d0
|
ci: fix tests-sanitize-undefined-clang
|
2021-05-23 15:13:53 +03:00 |
Delyan Angelov
|
a27e7f7675
|
builtin: remove commented code; improve print_backtrace with tcc
|
2021-05-23 12:37:40 +03:00 |
Alexander Medvednikov
|
7c0f8f7644
|
builtin: a small optimization in string.replace()
|
2021-05-22 14:35:36 +03:00 |