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

30 Commits

Author SHA1 Message Date
dce65c7f46 tools: make v watch webserver.v monitor files used through $tmpl as well 2023-04-06 00:45:25 +03:00
6e1e406288 vweb: implement live page reload in development, based on polling (useful with watch) (#17683) 2023-03-16 21:00:47 +01:00
017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
f6844e9766 all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
8b962f8446 checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
205221074c tools: support v watch -k run examples/gg/rectangles.v (keep a program running) 2022-06-15 18:00:10 +03:00
17bba712bd checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
36ec47cd20 all: replace "NB:" with "Note:" (docs/comments) 2022-03-06 20:01:22 +03:00
4ed6fb0e9b tools: cleanup a dump() from vwatch.v 2021-11-02 09:29:12 +02:00
eed94c727c os: move C struct declarations in their own _default.c.v files (#12268) 2021-10-22 17:08:08 +03:00
1688148828 flag: switch panics to optionals (#11515) 2021-09-16 19:25:05 +03:00
1e5627e777 parser: don't require unary > prefix for select timeout (#10928) 2021-07-23 23:24:27 +03:00
dd6591b2f5 ci: fix [if xyz ?] usages 2021-06-22 10:46:43 +03:00
21fe91e508 v watch: increase the default restart timeout, when vwatch.v is compiled with -gc boehm 2021-06-19 22:08:23 +03:00
3b5a37628f v watch: allow customising the auto-restart timeout for the workers with an env variable VWATCH_TIMEOUT 2021-06-19 16:51:40 +03:00
7a4ec9f60a tools: add --before and --after options to v watch 2021-05-16 17:50:16 +03:00
252249a348 tools: add a --silent option to v watch 2021-05-16 17:50:16 +03:00
4728d102d9 os: add Process.finalise() and Process.free() methods to cleanup pipe descriptors 2021-05-09 21:50:47 +03:00
d26ac5692e all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
626517f5f7 tools: turn v -watch into a v watch sub-command, so that it can have its own options 2021-04-28 12:29:50 +03:00
e4a2d1b239 v -watch: support for VWATCH_IGNORE_EXTENSIONS 2021-04-28 09:22:37 +03:00
c44ec9cd97 v -watch: support for VWATCH_ADD_FILES 2021-04-28 09:12:07 +03:00
a0963f4d74 v -watch: support for VWATCH_CLEAR_TERMINAL 2021-04-28 09:12:06 +03:00
bb4f0ed4a9 tools: fix vwatch.v compilation 2021-04-25 09:31:01 +03:00
b8e9f085eb vfmt: cleanup StringInterLiteral.get_fspec_braces/1 2021-04-15 09:46:05 +03:00
f1549b3ee7 vfmt: make ${} more robust; require it for every interpolation that uses '...' or "..." 2021-04-15 09:28:40 +03:00
3ea9868d0e v -watch: rerun compilation after v self too 2021-04-05 11:04:31 +03:00
c698fa1a58 all: support v -watch run (#9577) 2021-04-04 16:05:06 +02:00