16369 Commits

Author SHA1 Message Date
Turiiya
2ef49b8c11
tools: improve the output of v install (#19760) 2023-11-04 14:03:35 +02:00
Turiiya
df8863a08a
fmt: respect raw strings in $embed_file(r'/some/path') expressions (#19753) 2023-11-04 13:54:36 +02:00
Turiiya
3957bd801d
tools: prompt for project meta data on v init too (#19747) 2023-11-04 13:15:09 +02:00
Turiiya
230dcb479d
tools: improve VCS handling in vpm part2 (#19754) 2023-11-04 10:16:43 +02:00
JalonSolov
f1ba664e92
builtin: move builtin_test.v to builtin_test.c.v (part of making -W impure-V the default) (#19757) 2023-11-04 10:14:50 +02:00
Turiiya
55db150fe1
tools.vpm: improve handling of urls that end with .git (#19758) 2023-11-04 10:11:48 +02:00
Turiiya
bb463246b6
ci: use VJOBS=1 for alpine docker format check (#19762) 2023-11-04 10:04:55 +02:00
Delyan Angelov
f5f0995c4f
ci: mark more js tests as flaky 2023-11-04 10:01:04 +02:00
Turiiya
244411ae42
tools: use VPM_NO_INCREMENT env var to skip dl count increment when testing vpm (#19756) 2023-11-04 08:00:37 +02:00
Turiiya
c2a3eef45b
tools: fix windows install of an already existing module with vpm (#19761) 2023-11-04 07:59:27 +02:00
shove
1a53a46d69
cgen: fix closure parameter judgment when var cross assign inside anon fn(fix #19734) (#19736) 2023-11-03 20:47:42 +02:00
JalonSolov
24befa0ba6
pg: hande C calls, move to .c.v files (#19739) 2023-11-03 20:43:44 +02:00
Turiiya
be89cbf26f
vpm.tools: cleanup and make handling of the different VCS systems more robust (#19740) 2023-11-03 20:25:46 +02:00
yuyi
ceb191d317
checker: fix closure in if guard (#19750) 2023-11-03 19:54:55 +02:00
Turiiya
e34e06350a
pref: fix unintended file extensions in default output names, allow for v run file.c.v (#19745) 2023-11-03 19:51:44 +02:00
Delyan Angelov
72ba6c2d46
ci: compile VTL and VSL in their own CI job, with VFLAGS=-no-parallel 2023-11-03 19:14:14 +02:00
Turiiya
fbefe6858b
os: mention that execute_opt error contains commands output (#19742) 2023-11-03 13:28:42 +02:00
Delyan Angelov
f0a1e4d94b
ci: make vab-compiles-v-examples failures more easily diagnosable 2023-11-03 13:26:49 +02:00
Delyan Angelov
cbb67b2009
ci: mark more ever more tests as flaky 2023-11-03 12:26:25 +02:00
Delyan Angelov
03709169e2
ci: mark more tests as flaky 2023-11-03 07:12:33 +02:00
JalonSolov
29d60280c4
net.http: increase max_redirects to 16 (#19743) 2023-11-03 06:57:16 +02:00
Turiiya
8670dcc200
tools: extract vpm commands in separate files (#19729) 2023-11-02 21:01:59 +02:00
Turiiya
59660746dd
vdoc: escape tags in highlighted html (#19731) 2023-11-02 20:58:50 +02:00
yuyi
d33e7e7903
checker: cleanup in check_types() (#19737) 2023-11-02 20:50:55 +02:00
Turiiya
eb74856899
cgen: reduce expense in repetitively called functions by using consts (#19732) 2023-11-02 14:56:14 +02:00
Daniel Däschle
1e80e47b79
doc: fix duplication in toc (#19726) 2023-11-02 12:52:34 +03:00
Turiiya
8f05b0feea
ast: reduce cost of frequently called functions by using constants (#19733) 2023-11-02 11:44:49 +02:00
Delyan Angelov
0b58a4dda2
ci: remove the concurrency group from bootstrapping_works_ci.yml (prevent spurious cancels) 2023-11-01 20:02:41 +02:00
Delyan Angelov
f2d2ed1f4a
testing: fix notices with v test-all on Linux for v -freestanding str_array_example.v 2023-11-01 19:35:02 +02:00
Delyan Angelov
cc1193f331
tools: use @VCURRENTHASH instead of @VHASH in vdoc 2023-11-01 14:15:17 +02:00
Delyan Angelov
f3425139fb
tools: make vdoc more verbose with -v to more easily diagnose parsing problems on incomplete code examples with it 2023-11-01 14:02:33 +02:00
Delyan Angelov
c7e6a1c8fa
tools: make vdoc more robust to incomplete code in code examples (do not stop for errors in them) 2023-11-01 14:01:09 +02:00
Larpon
1356c61c87
parser: add set_all + clear_all methods to [flag] enum bitfields (#19717) 2023-11-01 13:20:52 +02:00
Turiiya
c82c760df7
os: add a new function execute_opt (#19723) 2023-11-01 13:17:33 +02:00
Ned
6c83d9a205
vdoc: support for highlighting code in README's (#19725) 2023-11-01 13:11:37 +02:00
Turiiya
be487b3c36
tools.vpm: cleanup install part1 (#19718) 2023-11-01 12:46:07 +02:00
Turiiya
7eaf21ec27
fmt: align ternary expressions in const blocks (#19721) 2023-11-01 12:33:59 +02:00
Marco Santos
cee947ca9e
net.html: add note to parse and parse_file, that they will produce a DOM with lowercased tag names (#19720) 2023-11-01 12:28:21 +02:00
Delyan Angelov
adb46ff645
ci: make macos_ci.yml more robust (use -no-parallel for the UI examples) 2023-11-01 12:21:00 +02:00
Turiiya
eab77ccb9a
checker: turn warning for var and param module name duplicates into error (#19645) 2023-11-01 08:20:57 +02:00
Joe C
a63f3e6f77
coroutines: use photon work_pool when nr_jobs > 0, and use photon libc fn wrappers (#19711) 2023-10-31 20:12:52 +03:00
Delyan Angelov
57a7db11bf
json: fix comment (MyTitle -> ETitle) (#19719) 2023-10-31 18:41:21 +02:00
Delyan Angelov
d350a6846a
docs: document [json: ETitle] in vlib/json/README.md too 2023-10-31 15:59:02 +02:00
Turiiya
e465f7490c
tests: cleanup legacy temp path (#19716) 2023-10-31 15:16:19 +02:00
Turiiya
3708061d61
tools.vpm: fix install --once for external modules, add already installed info, add test (#19702) 2023-10-31 15:00:30 +02:00
Turiiya
a2dabddc70
testing: add temporary file hash to prevent accidental collisions with test file binaries (#19710) 2023-10-31 08:07:51 +02:00
Turiiya
1c4c5050de
v.help: add [noreturn] attribute to print_and_exit (#19706) weekly.2023.44 2023-10-30 14:58:45 +02:00
shove
880ce7a33f
crypto: eliminate deprecating notifications from internal calls to checksum() (#19707) 2023-10-30 14:54:52 +02:00
yuyi
6609223201
parser: cleanup enum_decl() in parser.v (#19701) 2023-10-30 09:32:35 +02:00
shove
395b55f0cf
crypto.md5: fix calculating the same hash values, when .sum() is called several times (#19703) 2023-10-30 09:30:34 +02:00