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

1386 Commits

Author SHA1 Message Date
Artem Yurchenko
75f325b950
vet: fix vet documentation error for methods with generics (#18464) 2023-06-16 09:44:25 +03:00
yuyi
4ba4fe7c25
vdoc: highlight comments with gray color (#18436) 2023-06-14 14:57:59 +03:00
Delyan Angelov
cb5d5f8ca5
vast: fix segfault for fn main() { $compile_warn("WARN") } 2023-06-14 13:59:55 +03:00
Turiiya
285000699b
tools: remove residues that specify size for tab indents (#18426) 2023-06-13 08:53:12 +03:00
yuyi
dd1d5bca1b
ast: clean up ast.StructInit (#18387) 2023-06-09 17:43:21 +03:00
Ulises Jeremias Cornejo Fandos
02ea6028af
vlib: improvements to the context module (#18318) 2023-06-04 18:12:52 +02:00
Felipe Pena
82035f7610
repl: fix comparison operator treated as statement (#18304) 2023-06-02 10:54:43 +03:00
Delyan Angelov
ae8e9af11f
ci: skip building examples/coroutines/simple_coroutines.v for now 2023-05-29 13:35:46 +03:00
Alexander Medvednikov
45f16a2640 all: coroutines (part 1) 2023-05-27 23:33:46 +02:00
xy3
010a5c26a0
vpm: increment vpm downloads, use new endpoints (#18202) 2023-05-25 02:47:58 +02:00
Felipe Pena
38a155ac81
cgen: make comptime call works with or-block (#18215) 2023-05-21 15:22:40 +02:00
yuyi
2bb24ee739
fmt: implement comments inside sumtype declaration (#18189) 2023-05-18 11:22:26 +02:00
Christopher Fore
b255fef686
tools: update v share to work with the playground redesign (#18090) 2023-05-01 09:10:52 +02:00
Hitalo Souza
cd90bc65b8
tools/vcreate: fix web app (#18019) 2023-04-23 03:43:40 +03:00
Mark aka walkingdevel
3fb32a866c
all: like operator/keyword for V ORM (#18020) 2023-04-23 03:40:54 +03:00
Petr Makhnev
d48aa15514
tools/vcheck-md: add -skip_line_length_check flag and fix vmod handling in '```vmod' (#17997) 2023-04-21 19:42:21 +03:00
yuyi
95d1beb008
cgen: fix c struct with reserved field name (fix #17993) (#17996) 2023-04-21 19:41:13 +03:00
Delyan Angelov
bf749b3559
ci: add test jobs for the wasm module, for macos, linux and windows (#17972) 2023-04-16 14:52:00 +03:00
Delyan Angelov
c6947fde57
os: implement Process.set_work_folder/0 to set the initial working folder of the new child process (#17946) 2023-04-13 14:48:32 +03:00
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
Delyan Angelov
48d42287a9
v.markused: enable v -skip-unused -live run examples/hot_reload/bounce.v 2023-04-08 14:36:01 +03:00
Delyan Angelov
dce65c7f46
tools: make v watch webserver.v monitor files used through $tmpl as well 2023-04-06 00:45:25 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
walking devel
8452644ec3
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
Delyan Angelov
e56e4b3e90
tools: use os.symlink(vexe, vsymlink) on Windows too (#17838) 2023-04-01 08:18:24 +03:00
yuyi
e1b8617c94
ast, cgen: fix generic closures with different generic types (fix #17829) (#17834) 2023-03-31 18:08:42 +03:00
Delyan Angelov
822acd78cb
tools: add test for VDOC_SORT=false ./v doc file.v 2023-03-30 16:53:12 +03:00
Delyan Angelov
214f72ba03 tools: support VDOC_SORT=false ./v doc time 2023-03-30 14:35:54 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Artem Yurchenko
713c95fcc8
Fix: vet false warning on brackets in documentation (#17767) 2023-03-25 21:51:45 +02:00
DJ-Dav
e7996a0792
tools: fix vls error unexpected token U in JSON (#17709) 2023-03-20 14:40:52 +02:00
Felipe Pena
9e7aeec215
sql: fix wrong field name on generated code (#17684) 2023-03-17 21:45:52 +01:00
Delyan Angelov
6e1e406288
vweb: implement live page reload in development, based on polling (useful with watch) (#17683) 2023-03-16 21:00:47 +01:00
Felipe Pena
b71c131678
cgen: fix map with comp-time reflection, improve comptime var handling (#17603) 2023-03-14 13:49:29 +02:00
Delyan Angelov
4ba7ad9446 tools: make v doctor more informative 2023-03-13 11:44:03 +02:00
Delyan Angelov
b2a71ecab2
pref: support v -e "println(2+5)" (#17605) 2023-03-12 00:42:36 +01:00
ChAoS_UnItY
ae6a48c0e3
all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
Petr Makhnev
c1f249af6c
test: handle compilation errors when running tests specially in the teamcity runner (#17511) 2023-03-05 10:14:23 +02:00
yuyi
17000ef7b6
checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
Delyan Angelov
e2daa84a33
ci: add windows and macos jobs for checking the wasm backend too (#17451) 2023-03-01 21:53:03 +02:00
walking devel
3682a9cf88
orm: allow use of mut db orm.Connection (#17439) 2023-03-01 00:49:30 +02:00
l-m
0625caad56
wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
walking devel
b7b6c2368e
orm: allow using connections, that were explicitly casted to orm.Connection too (#17427) 2023-02-27 23:54:03 +02:00
Delyan Angelov
91e0f7a3af
tools/fast: add 2023.html link to the header, used by fast.v 2023-02-27 11:40:22 +02:00
Delyan Angelov
9c511e03f6
tools: remove import v.pref, just for pref.vexe_path(), to compile tools faster (#17411) 2023-02-26 07:56:14 +02:00
Delyan Angelov
00aecf92e7
tools: make v self compile with tcc on Apple M1, since it is faster, and tcc now can handle it (#17409) 2023-02-26 01:26:33 +02:00
Sanath Kumar U
269462425a
tools: prevent v init from overwriting an already existing src/main.v file (fix #17362) (#17363) 2023-02-20 12:54:38 +02:00
Petr Makhnev
d971d93066
vccheck-md: add play and play-test command (#17350) 2023-02-18 20:55:10 +02:00
Felipe Pena
2879c5110c
cgen, check, parser: implement first-class option type (#17017) 2023-02-18 11:45:01 +02:00
ChAoS_UnItY
404a9aa442
v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00