Commit graph

1455 commits

Author SHA1 Message Date
Delyan Angelov
b3ee304381
tests: skip testing v -os windows -experimental -b native -o hw.exe examples/hello_world.v on !windows 2023-09-27 12:31:33 +03:00
Delyan Angelov
c075e44ec1
ci,examples: fix v examples/sokol/simple_shader_glsl/simple_shader.v, ensure it compiles on the misc-tooling job (#19404) 2023-09-21 19:44:58 +03:00
Casper Küthe
74d80a5120
orm: add support for V enum struct fields (#19374) 2023-09-18 16:06:26 +03:00
Delyan Angelov
cf0856cea9
tools: add -E flag to v test-parser, that will show the partial source that caused the parser to fail with -no-builtin -check-syntax file.v 2023-09-16 17:17:13 +03:00
asvln
2cce907dcb
orm: add references attribute to allow foreign key declarations on fields (#19349) 2023-09-16 12:04:32 +03:00
Delyan Angelov
24cb98d5dc
parser: fix regression for v -e "import os; import math;", add a test to check it (#19353) 2023-09-15 09:59:05 +03:00
Delyan Angelov
f3aec20000
all: support ; statements, allowing for oneliners like ./v -e 'import os; println( os.ls(os.args[1])!.sorted(a > b) )' vlib/math (#19345) 2023-09-15 00:44:15 +03:00
Delyan Angelov
b746083b44
tools: skip _input.vv files in cmd/tools/git_pre_commit_hook.vsh, just report them without vfmt-ing them 2023-09-14 22:46:10 +03:00
Casper Küthe
e8d133d548
orm: fix cgen inserting wrong array index (#19324) 2023-09-12 14:50:13 +03:00
Turiiya
51fa83dbbd
vdoc: prevent main-content outline with certain devices / browsers (#19304) 2023-09-08 07:54:48 +03:00
yuyi
a23f89e243
fmt: simplify the processing logic for removing inline comments (#19297) 2023-09-07 16:00:00 +03:00
Delyan Angelov
3739175fdb
tools: fix notice in cmd/tools/vpm.v, found after ./v -N build-tools 2023-09-06 15:17:59 +03:00
Turiiya
dac6f0b0c9
vdoc: improve html tag escape (#19266) 2023-09-06 09:42:18 +03:00
Turiiya
0e154bbbfd
vdoc: update html escape test to cover more cases (#19272) 2023-09-06 09:39:06 +03:00
yuyi
18e60e77de
fmt: remove inline comments (#19263) 2023-09-03 23:51:56 +03:00
Alexander Medvednikov
84f70c56a0 tools: improve changelog helper; finish 0.4.1 changelogs 2023-09-03 22:40:26 +03:00
Alexander Medvednikov
ae4fe20b5e tools: changelog_helper.v for speeding up changelog generation; more 0.4.1 changelogs 2023-09-03 19:44:44 +03:00
Delyan Angelov
6a7ac6a23c
tools: add support for v should-compile-all -c examples/, which will delete all the produced executables at the end 2023-09-02 14:02:39 +03:00
Delyan Angelov
58b6ba81d1
builtin: implement array.sorted() and array.sorted_with_compare() methods, that do not modify their receivers (#19251) 2023-09-01 09:12:00 +03:00
Larpon
93d54651b5
vgret: add install commands for ubuntu and arch to doc string (#19247) 2023-09-01 02:04:58 +03:00
Delyan Angelov
652bb9a3b3
tools: add favicon to the html produced by fast.v 2023-08-31 18:06:25 +03:00
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