1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

133 Commits

Author SHA1 Message Date
0c5854e371 add a c/raw string interpolation test 2019-11-16 22:17:01 +03:00
b9728c7af0 string: update split() method 2019-11-10 19:37:36 +03:00
f6d06fcda2 update tests and examples after the mutability fix 2019-11-06 06:57:04 +03:00
4e64a58ac1 scanner: fix string interpolation in raw strings 2019-11-03 23:57:26 +03:00
59378dce46 compiler/vlib: replace substr/left/right with [start..end] everywhere 2019-10-27 10:03:15 +03:00
a075ce160e compiler: add [..2] & [2..] support for slices 2019-10-27 09:36:04 +03:00
ee51313e2c test array and string slices 2019-10-27 01:37:29 +03:00
dc2c62807a string: faster int() 2019-10-25 23:41:18 +03:00
4b176ba855 string: test i64() and u64() 2019-10-15 04:26:19 +03:00
f1923d454c parser: make verbose mode less verbose 2019-10-07 01:25:53 +03:00
6a0599b5f4 raw strings with r'raw' 2019-10-06 04:11:08 +03:00
fb4f14ba76 string: add repeat() method 2019-09-26 22:54:53 +03:00
a232b215a7 double quotes for denoting strings 2019-09-21 17:18:02 +03:00
ffcff9ebd4 builtins: ustring comparisons, concatenation and other functions 2019-09-20 19:07:38 +03:00
af60f9ead4 compiler: escapes quote on literals 2019-09-11 15:48:08 +03:00
1c6d51f271 remove u8 and i32 from tests and examples 2019-09-02 15:02:25 +03:00
29e0396eca compiler: adds handling of two variables for loop on string 2019-08-29 21:41:16 +03:00
02fc7e14cd make trim use cutset like trim_right/trim_left 2019-08-27 22:53:32 +03:00
857cf00caf builtin.string: make trim_left/right() behave correctly 2019-08-26 14:18:58 +03:00
db525524ee string: title() and small fixes 2019-08-26 13:32:53 +03:00
f9fb6f0be4 orm_test: remove pg import for now 2019-08-18 15:02:36 +03:00
60bf668281 string: fix trim_right 2019-08-17 20:07:40 +03:00
331d6f98ee string: fix bug and add tests for string.count 2019-08-03 22:24:03 +02:00
910f350a26 string_test: fix randomly failed test
* memory should be initialized with zeros before creating string
* there is no string([]array) constructor, string(byteptr) does not count length correctly, using string(byteptr, len) to fix
2019-08-02 19:20:36 +02:00
e0b45e33ea string: fix a bug with split() 2019-07-31 07:26:22 +02:00
2ac579ca0a wrap up the new mut check 2019-07-25 14:13:35 +02:00
ceb0139329 fix tests 2019-07-25 14:06:26 +02:00
c3c6648c57 string(bytes_array) cast 2019-07-20 22:03:38 +02:00
f5c8ee4742 string(buffer, len) cast 2019-07-18 04:50:44 +02:00
c35adbea91 vfmt fixes 2019-07-17 21:00:39 +02:00
28843a12c7 cache string.hash() 2019-07-10 10:00:12 +02:00
b40ad7c83f save a byteptr memory, add tests 2019-07-07 22:37:17 +02:00
4594d78bd6 move all vlib modules to vlib/ 2019-06-29 12:00:31 +02:00