Tarcisio Gruppi
23dc85d94d
Making string index methods follow the same standard
...
All string index methods that end with `_opt` return `?int` with none as
the value when the substring is not found
and the index methods that do not end in `_opt` return `int` with -1 as
the returned value when the substring is not found
2022-03-17 09:27:11 -03:00
Tim Basel
9d0a5942ac
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages ( #13041 )
2022-02-11 15:52:33 +02:00
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules ( #13034 )
2022-01-05 18:06:08 +02:00
Subhomoy Haldar
4c95127cbc
semver: add a Version.str() method with unit tests ( #12779 )
2021-12-09 21:25:55 +02:00
Delyan Angelov
9f6c4030f6
tests: fix `-cstrict` self compilation on m0 with clang
2021-06-07 18:23:18 +03:00
Atakan Yenel
89082de5d1
semver: add custom errors ( #9493 )
2021-03-29 11:17:00 +02:00
spaceface
d63b7bc35a
all: update repo to use the new error handling syntax ( #8950 )
2021-02-28 23:20:21 +03:00
Larpon
e1052a5ec7
semver: document all pub functions ( #8586 )
2021-02-05 19:57:42 +02:00
Delyan Angelov
dbaccd4272
vfmt: shorten `main.const_name` to just `const_name`
2021-01-25 20:57:33 +02:00
Delyan Angelov
728344ff65
ci: fix `v test-cleancode`
2021-01-25 12:55:01 +02:00
Lukas Neubert
8b61891348
fmt: smarter if condition wrapping ( #8201 )
2021-01-23 10:33:22 +02:00
zakuro
33694665f0
fmt: align each contiguous field of struct. not the whole. ( #7981 )
2021-01-12 04:38:43 +01:00
Larpon
7872b8d911
semver: add input information in error and panic output ( #7712 )
2020-12-30 17:07:21 +01:00
zakuro
fade162471
semver: run v fmt ( #7439 )
2020-12-21 21:25:19 +02:00
Lukas Neubert
8adb1acf31
check-md: verify code example formatting ( #7143 )
2020-12-05 22:54:41 +01:00
pancake
36c5eab799
all: add #pkgconfig directive using the new vlib modules ( #6673 )
2020-10-26 18:05:18 +01:00