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

1564 Commits

Author SHA1 Message Date
a9f8b5dadc all: static type methods 2023-06-27 01:23:30 +03:00
aacdd61e67 vls: fix official repository source (#18561) 2023-06-26 10:40:44 +03:00
dd24e8a63e vpm: fix installation of mixed modules (#18545) 2023-06-25 22:31:39 +03:00
8d48b89e8e tools: use v ls --install -p D:\path\vls.exe to install a local vls executable (#18510) 2023-06-22 22:41:47 +03:00
22bd1b9d55 ast: clean up ast.StructInit (#18518) 2023-06-22 16:41:08 +03:00
b93e00ae6b tools: skip copying directories in v build-tools (fix ##17437) (#18503) 2023-06-21 12:07:17 +03:00
75f325b950 vet: fix vet documentation error for methods with generics (#18464) 2023-06-16 09:44:25 +03:00
4ba4fe7c25 vdoc: highlight comments with gray color (#18436) 2023-06-14 14:57:59 +03:00
cb5d5f8ca5 vast: fix segfault for fn main() { $compile_warn("WARN") } 2023-06-14 13:59:55 +03:00
285000699b tools: remove residues that specify size for tab indents (#18426) 2023-06-13 08:53:12 +03:00
dd1d5bca1b ast: clean up ast.StructInit (#18387) 2023-06-09 17:43:21 +03:00
02ea6028af vlib: improvements to the context module (#18318) 2023-06-04 18:12:52 +02:00
82035f7610 repl: fix comparison operator treated as statement (#18304) 2023-06-02 10:54:43 +03:00
ae8e9af11f ci: skip building examples/coroutines/simple_coroutines.v for now 2023-05-29 13:35:46 +03:00
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
38a155ac81 cgen: make comptime call works with or-block (#18215) 2023-05-21 15:22:40 +02:00
2bb24ee739 fmt: implement comments inside sumtype declaration (#18189) 2023-05-18 11:22:26 +02:00
b255fef686 tools: update v share to work with the playground redesign (#18090) 2023-05-01 09:10:52 +02:00
cd90bc65b8 tools/vcreate: fix web app (#18019) 2023-04-23 03:43:40 +03:00
3fb32a866c all: like operator/keyword for V ORM (#18020) 2023-04-23 03:40:54 +03:00
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
95d1beb008 cgen: fix c struct with reserved field name (fix #17993) (#17996) 2023-04-21 19:41:13 +03:00
bf749b3559 ci: add test jobs for the wasm module, for macos, linux and windows (#17972) 2023-04-16 14:52:00 +03:00
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
3d99f1f2c2 checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
48d42287a9 v.markused: enable v -skip-unused -live run examples/hot_reload/bounce.v 2023-04-08 14:36:01 +03:00
dce65c7f46 tools: make v watch webserver.v monitor files used through $tmpl as well 2023-04-06 00:45:25 +03:00
467a1b4435 fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
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
e56e4b3e90 tools: use os.symlink(vexe, vsymlink) on Windows too (#17838) 2023-04-01 08:18:24 +03:00
e1b8617c94 ast, cgen: fix generic closures with different generic types (fix #17829) (#17834) 2023-03-31 18:08:42 +03:00
822acd78cb tools: add test for VDOC_SORT=false ./v doc file.v 2023-03-30 16:53:12 +03:00
214f72ba03 tools: support VDOC_SORT=false ./v doc time 2023-03-30 14:35:54 +03:00
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
713c95fcc8 Fix: vet false warning on brackets in documentation (#17767) 2023-03-25 21:51:45 +02:00
e7996a0792 tools: fix vls error unexpected token U in JSON (#17709) 2023-03-20 14:40:52 +02:00
9e7aeec215 sql: fix wrong field name on generated code (#17684) 2023-03-17 21:45:52 +01:00
6e1e406288 vweb: implement live page reload in development, based on polling (useful with watch) (#17683) 2023-03-16 21:00:47 +01:00
b71c131678 cgen: fix map with comp-time reflection, improve comptime var handling (#17603) 2023-03-14 13:49:29 +02:00
4ba7ad9446 tools: make v doctor more informative 2023-03-13 11:44:03 +02:00
b2a71ecab2 pref: support v -e "println(2+5)" (#17605) 2023-03-12 00:42:36 +01:00
ae6a48c0e3 all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
c1f249af6c test: handle compilation errors when running tests specially in the teamcity runner (#17511) 2023-03-05 10:14:23 +02:00
17000ef7b6 checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
e2daa84a33 ci: add windows and macos jobs for checking the wasm backend too (#17451) 2023-03-01 21:53:03 +02:00
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
b7b6c2368e orm: allow using connections, that were explicitly casted to orm.Connection too (#17427) 2023-02-27 23:54:03 +02:00
91e0f7a3af tools/fast: add 2023.html link to the header, used by fast.v 2023-02-27 11:40:22 +02:00