1434 Commits

Author SHA1 Message Date
Delyan Angelov
c85232ef1f
tools: make performance_compare.v more robust and easier to use, by allowing v run cmd/tools/performance_compare.v too 2023-08-26 10:40:16 +03:00
Delyan Angelov
806f071a11
tools: improve oldv windows support, make it use -municode for windows builds, after 53ffee1 2020-05-18 2023-08-26 09:51:50 +03:00
Delyan Angelov
636aae243c tools: improve windows support in oldv (it now can run in cmd.exe, not just in a Git Bash shell) 2023-08-26 09:07:14 +03:00
Delyan Angelov
7add6e7d51
tools: make repeated runs of oldv SAME_COMMIT -c "./v file.v", not use the network at all 2023-08-25 20:39:01 +03:00
Turiiya
d60c8171ee
vpm: implement multithreading (#19208) 2023-08-23 11:05:16 +03:00
Delyan Angelov
f4e9aa8e8b
tools: fix find vlib/ -name "*.vv" | xtime xargs v -g run cmd/tools/measure/parser_speed.v 2023-08-22 15:10:54 +03:00
Delyan Angelov
644c68ce94
tools: improve the output of parser_speed.v and scanner_speed.v 2023-08-22 14:23:47 +03:00
Delyan Angelov
0ba562b5c9
cmd: fix permissions of .v source files to just 644 2023-08-22 11:24:16 +03:00
Turiiya
d748b212d4
vdoc: optimize generated pages (#19185) 2023-08-21 10:55:37 +03:00
Delyan Angelov
56644b2b52
tools: add SKIP_TESTS env variable support for parser_speed.v and scanner_speed.v 2023-08-18 09:19:27 +03:00
Delyan Angelov
e446eb5953
tools: add support for .skip_should_compile_all files to ./v should-compile-all . 2023-08-14 18:52:30 +03:00
jacksonmowry
d285ff08f0
db.mysql: add the exec family of methods (#19132) 2023-08-14 16:18:01 +03:00
Delyan Angelov
cdaabc120d
tools: quick bugfix to vgit.v, after the previous commit message, that included a hash; TODO: a more robust check 2023-08-14 15:47:46 +03:00
Delyan Angelov
a93ef6ea67
tools: make v run cmd/tools/oldv.v 5b7a1e8 -c "./v version" faster (5b7a1e8 is the oldest supported commit from 2019-06-29) 2023-08-14 14:32:13 +03:00
Delyan Angelov
eef77e3cc1
tools: make parser_speed.v more robust (now find . -name "*.v" | xargs v run cmd/tools/measure/parser_speed.v passes) 2023-08-14 12:35:34 +03:00
Turiiya
2fec2fad53
vdoc: make minor improvements to scrollspy and styles (#19128) 2023-08-14 10:14:36 +03:00
Etienne Girondel
492e918fdb
builder,pref: allow thirdparty objects compilation with CPP compiler (#19124) 2023-08-13 20:30:28 +03:00
Turiiya
64029a2980
vdoc: implement keyboard shortcuts for search navigation (#19088) 2023-08-09 13:53:15 +03:00
Turiiya
3b3395d93b
vpm: don't keep empty dirs for git installs (#19070) 2023-08-08 08:59:16 +03:00
Everton J. Carpes
357ac0bb5a
examples: show how to call a simple v module from ruby (#19073) (#19073)
This is a copy/adaptation of the python example (#13105)
2023-08-07 07:07:00 +03:00
Rodrigo Villablanca
23a7c40c44
tools: remove panics in favor of errors in v bump (#19066) 2023-08-06 22:24:43 +03:00
Subhomoy Haldar
cc97b8df1e
tools: add support for skiping lines in v bump (#19064) 2023-08-05 23:00:40 +03:00
Delyan Angelov
d91c7f1b3b
tools: use --filter=blob:none to reduce initial network trafic for most of the git clone commands, done by tools like oldv, gen_vc, fast_job, v translate etc 2023-08-04 11:50:30 +03:00
Delyan Angelov
5bb02b3dd7
tools: fix some noise in the output of v test-all 2023-08-03 23:19:14 +03:00
Delyan Angelov
e3ade704cb
tools: remove remaining references to vlib/sqlite, vlib/mysql, vlib/pg (and make v test-cleancode fail *loudly*, when a folder is missing, regression after a421e485f). 2023-08-03 23:10:02 +03:00
yuyi
453137384e
ast: clean up stringify_fn_decl() and stringify_anon_decl(), make them methods on ast.Table (#19053) 2023-08-03 19:50:37 +03:00
Delyan Angelov
8ee1667a9a
tools: fix exiting the v repl, after just Enter (regression happened in bf00ac6) 2023-08-02 10:58:31 +03:00
Turiiya
6b978a6b5a
vdoc: refactor theme files (#19024) 2023-08-02 10:46:18 +03:00
Turiiya
5061aeee64
vdoc: fix toc height (accidental height removal in 9750061) (#19023) 2023-08-01 07:11:44 +03:00
Turiiya
9750061d70
vdoc: fix scrollspy and initial keyboard navigability (#19017) 2023-07-31 17:38:25 +03:00
Delyan Angelov
d97423d385
tools: add a test for v -os wasm32_emscripten examples/2048 in v test-all 2023-07-31 10:57:57 +03:00
Delyan Angelov
32114a679a
os,term.termios: add termios.set_state/2, state.disable_echo/0, use them in os.input_password, to fix v -os wasm32_emscripten examples/2048/ 2023-07-31 10:28:45 +03:00
Turiiya
e78e468d5f
vdoc: include the project root folder, when searching for readme of src/ (#19000) 2023-07-30 00:00:18 +03:00
Delyan Angelov
1c2b4e76dc
tests: fix diff.color_compare_strings parameter order in test files, to make analysing the results easier 2023-07-29 16:42:40 +03:00
Turiiya
490a014bf6
tools: support a toc for projects, with single exposing module, in v doc (#19001) 2023-07-29 15:21:15 +03:00
Delyan Angelov
d25e213aa8
tools, examples: add --only-watch=*.v option to v watch (#18974) 2023-07-27 09:50:26 +03:00
Swastik Baranwal
c6ddbd308e
vet: give notice for replacing const dynamic arrays with const fixed ones (#18960) 2023-07-24 22:13:38 +03:00
Turiiya
15fdfd7bcf
tools: fix vcomplete for zsh (#18950) 2023-07-23 13:15:23 +03:00
Delyan Angelov
41f99c1abf
tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946) 2023-07-22 19:13:58 +03:00
Delyan Angelov
fb11a16ab8
tools: fix unhandled error in v new api_test web 2023-07-14 16:20:02 +03:00
l-m
c422919481
wasm: remove dependency on thirdparty/binaryen, webassembly backend rewrite (#18120) 2023-07-12 15:24:38 +03:00
Casper Kuethe
a43064af07
picoev, picohttparser: reimplement in V (#18506) 2023-07-12 09:40:16 +03:00
Alexander Medvednikov
a9f8b5dadc all: static type methods 2023-06-27 01:23:30 +03:00
werkzeug
aacdd61e67
vls: fix official repository source (#18561) 2023-06-26 10:40:44 +03:00
Artem Yurchenko
dd24e8a63e
vpm: fix installation of mixed modules (#18545) 2023-06-25 22:31:39 +03:00
Felix F Xu
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
yuyi
22bd1b9d55
ast: clean up ast.StructInit (#18518) 2023-06-22 16:41:08 +03:00
Laurent Cheylus
b93e00ae6b
tools: skip copying directories in v build-tools (fix ##17437) (#18503) 2023-06-21 12:07:17 +03:00
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