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
|
b6faf82911
|
parser: minor optimization in sql_expr() (#16145)
|
2022-10-22 12:11:45 +03:00 |
|
yuyi
|
9288c75c94
|
parser: simplify and cleanup check_undefined_variable() (#16140)
|
2022-10-22 11:26:21 +03:00 |
|
shove
|
e863191ff6
|
checker: fix generic information is lost of the map built-in method call (fix #16077) (#16134)
|
2022-10-21 23:07:05 +03:00 |
|
yuyi
|
ab78d5a7ba
|
parser: check undefined variable in if guard (#16138)
|
2022-10-21 22:48:59 +03:00 |
|
Makhnev Petr
|
2e8b9e3b92
|
v fmt: fix extra space for anon struct (#16131)
|
2022-10-21 10:38:19 +03:00 |
|
bogen85
|
c684dd8c9b
|
log: mark log.fatal as [noreturn] (#16129)
|
2022-10-21 10:33:49 +03:00 |
|
yuyi
|
51f4d99399
|
all: change optional to result in most of the libraries (#16123)
|
2022-10-20 22:14:33 +03:00 |
|
yuyi
|
0d368562f4
|
cgen: minor optimization and cleanup in match_expr_sumtype() (#16126)
|
2022-10-20 20:36:56 +03:00 |
|
locriacyber
|
a3b050aced
|
vrepl: add support for Home and End keys (#16116)
|
2022-10-20 20:07:57 +03:00 |
|
yuyi
|
f8a28b5a5d
|
checker: check generic method called with a variadic argument mismatch (fix #16106) (#16110)
|
2022-10-20 15:28:30 +03:00 |
|
shove
|
07310d850d
|
ast, cgen: fix wrong name and cname, when array and fixed array elements have optional (fix #16099) (#16122)
|
2022-10-20 14:17:57 +03:00 |
|
Delyan Angelov
|
2083e6b04c
|
os: cleanup APIs returning !bool to either return ! or bool (#16111)
|
2022-10-20 13:56:06 +03:00 |
|
Swastik Baranwal
|
ac63fa1b11
|
parser: improve error for fixed array, when it has len and cap attributes in the initialisation list (#16120)
|
2022-10-20 13:36:13 +03:00 |
|
Delyan Angelov
|
ffcdac4201
|
ci: fix v_tictactoe.out after 05a1c3e
|
2022-10-19 22:33:10 +03:00 |
|
Delyan Angelov
|
05a1c3e8a3
|
parser,ci: fix regression after eda65ad in the VLS tests
|
2022-10-19 22:29:08 +03:00 |
|
yuyi
|
612faac0f0
|
all: change index expr returning optional to result too (#16097)
|
2022-10-19 21:04:16 +03:00 |
|
Delyan Angelov
|
eda65ad660
|
parser,checker,builder: make the checker more robust with -check over files with syntax/parsing errors
|
2022-10-19 18:14:58 +03:00 |
|
Delyan Angelov
|
7f294c8278
|
tests: use _test.v for the postfix of some test files, that were missing it
|
2022-10-19 12:38:58 +03:00 |
|
Makhnev Petr
|
2f3c4c6d91
|
v fmt: fix extra space for lock/rlock without expressions (#16103)
|
2022-10-19 12:18:21 +03:00 |
|
yuyi
|
026fccd373
|
cgen: fix match expr with last aggregate branch (#16101)
|
2022-10-19 11:49:39 +03:00 |
|
Alexander di Chiara
|
e3379bca97
|
datatypes: add quadtree, add its demo to examples/ (#16087)
|
2022-10-18 18:02:44 +03:00 |
|
StunxFS
|
cc9b754801
|
vlib: delete unused darwin module (#16093)
|
2022-10-18 18:01:25 +03:00 |
|
yuyi
|
9242d4b79b
|
json2: minor cleanup in README.md (#16096)
|
2022-10-18 18:00:14 +03:00 |
|
Delyan Angelov
|
71bff213ef
|
builtin: make the C. WIN32 API declarations more precise, to catch errors earlier (#16090)
|
2022-10-17 20:23:33 +03:00 |
|
yuyi
|
126c4c5751
|
builtin,math: fix math.min_i64.str() (fix #16086) (#16089)
|
2022-10-17 19:36:46 +03:00 |
|
yuyi
|
556244576d
|
checker: check unused last expression in if (fix #16084) (#16088)
|
2022-10-17 18:15:01 +03:00 |
|
Subhomoy Haldar
|
43b9a716c5
|
builtin,strconv: append ".0", to float string representations, to ensure clarity (#16079)
|
2022-10-17 15:41:07 +03:00 |
|
Delyan Angelov
|
409a4f33a1
|
tools: add report_v_module_folders_without_tests.v . Use it to discover other modules without _test.v files. Add simple ones, to ensure CI can find more breakage on future wide changes to vlib/
|
2022-10-16 22:40:17 +03:00 |
|
Delyan Angelov
|
17800b4bca
|
ci: fix net.openssl, ensure that it is at least compiled, to avoid future regressions on sweeping vlib changes
|
2022-10-16 20:59:04 +03:00 |
|
Delyan Angelov
|
95d2c58148
|
checker: produce more informative error messages on ~,!,-,<- operator type mismatches
|
2022-10-16 20:27:40 +03:00 |
|
Delyan Angelov
|
3d2e251bf2
|
transformer: fix precalculations of simple expressions involving floating literals, with -prod (fix VSL tests with -prod)
|
2022-10-16 20:23:41 +03:00 |
|
Delyan Angelov
|
d857e97d8c
|
strconv: enable VTL compilation with -prod (remove deprecation for strconv.v_sprintf temporarily)
|
2022-10-16 17:43:52 +03:00 |
|
Delyan Angelov
|
78e9362d74
|
ci: workaround for a VLS failing test, that stops symbol registration after the first fn()! {
|
2022-10-16 13:38:20 +03:00 |
|
Delyan Angelov
|
c02974622f
|
tests: add checks_for_operator_overrides_should_happen_on_the_concrete_types_when_using_generics_test.v
|
2022-10-16 12:57:34 +03:00 |
|
Delyan Angelov
|
710c2b22da
|
parser: fix infinite loop for type Handler = fn (test string) string without newline at the end
|
2022-10-16 10:42:53 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
shove
|
6e46933c55
|
cgen: fix or {} handling, when waiting for a single go thread, of a function returning !Type (fix #16065) (#16073)
|
2022-10-14 19:54:13 +03:00 |
|
Delyan Angelov
|
49c12e4d1c
|
cgen: fix ./tracev examples/hello_world.v
|
2022-10-14 19:27:40 +03:00 |
|
shove
|
6bf2ad1ff0
|
cgen: fix missing * of optional non-ref structs (fix: #16070) (#16071)
|
2022-10-14 10:34:42 +03:00 |
|
yuyi
|
39d2aa71df
|
checker: check generic closure fn declaration (#16069)
|
2022-10-14 10:24:10 +03:00 |
|
zztkm
|
3e4cfc7343
|
os: add os.to_slash and os.from_slash functions (#16055)
|
2022-10-14 10:22:36 +03:00 |
|
Subhomoy Haldar
|
09e23e3ed6
|
rand: add rand.element and prng.element functions with unit test (#16068)
|
2022-10-14 06:54:02 +03:00 |
|
shove
|
aabda5a525
|
checker: allow get_ref() or { unsafe{nil} } , as well as fn get_ref() ?&Type { return unsafe { nil } } (fix: #16062) (#16063)
|
2022-10-13 19:49:10 +03:00 |
|
shove
|
51a9e89c4a
|
ast: disallow threads << go fn()?{} and threads << go fn()!{} (fix #16061) (#16064)
|
2022-10-13 19:37:27 +03:00 |
|
yuyi
|
f0108323d1
|
cgen: fix generic closure fn direct call (#16057)
|
2022-10-13 18:06:34 +03:00 |
|
shove
|
e3e8bb2f88
|
cgen: remove spaces in the generated name for ?&C.struct (fix #16058) (#16059)
|
2022-10-13 18:05:16 +03:00 |
|
yuyi
|
bfbfe78366
|
cgen: fix assigning optional of multi_return with heap (#16049)
|
2022-10-13 13:07:52 +03:00 |
|
shove
|
213a094680
|
ast: fix missing 'optional' and 'result' in type name and cname of map (#16047)
|
2022-10-13 10:38:02 +03:00 |
|
Swastik Baranwal
|
3e33f4a11d
|
checker: disallow nil assignment on non pointer struct fields (#16056)
|
2022-10-13 10:36:59 +03:00 |
|