l-m
|
a139bed785
|
builtin: add string.trim_indexes method, that can be used in string.trim, but also separately from it (#16144)
|
2022-10-22 12:56:05 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
Delyan Angelov
|
fc8e3d0971
|
builtin,strconv: speedup str.int() conversions (without -prod)
|
2022-09-08 11:28:19 +03:00 |
|
Delyan Angelov
|
4c0339242a
|
doc: fix example comment for string.strip_margin()
|
2022-08-14 08:06:52 +03:00 |
|
yuyi
|
6e8350a9c9
|
fmt: fix interface method with fntype argument (#15280)
|
2022-07-30 14:29:41 +03:00 |
|
l-m
|
10f3c9f127
|
builtin: add string.replace_char and string.normalize_tabs (#15239)
|
2022-07-27 22:04:39 +03:00 |
|
l-m
|
ed8c63cc0b
|
builtin: add a contains_only method on string (#14830)
|
2022-06-23 01:41:42 +03:00 |
|
WoodyAtHome
|
02c8a6057c
|
builtin.string: new fn (s string) is_ascii() bool (#14418)
|
2022-05-17 08:01:03 +03:00 |
|
David 'Epper' Marshall
|
a91226c376
|
docs: cleanup (#14327)
|
2022-05-07 20:18:42 +03:00 |
|
Andréas Livet
|
9fde5b067b
|
docs: add missing function names in the builtin example doc comments (#14318)
|
2022-05-05 17:22:25 +03:00 |
|
StunxFS
|
995485c649
|
builtin: add string.len_utf8() method (#14208)
|
2022-04-29 10:23:57 +03:00 |
|
Nick Treleaven
|
1533b77404
|
builtin: remove unnecessary casts for defunct small unsigned warning (#14108)
|
2022-04-20 21:47:09 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03: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 |
|