16392 Commits

Author SHA1 Message Date
Delyan Angelov
50c22b5a12
os: implement os.fd_is_pending/1, os.Process.pipe_read/1, os.Process.is_pending/1 (#19787) 2023-11-07 13:47:25 +02:00
Delyan Angelov
a92700e93b
maps: add maps.merge/2 and maps.merge_in_place/2 generic utility functions (#19776) 2023-11-06 20:09:05 +02:00
Delyan Angelov
bd52a94e60
tests: add a small delay too between the test retries, in the non -stats branch, handling flaky test failures 2023-11-06 16:51:57 +02:00
Subhomoy Haldar
35558df96c
vlib: add an encoding.xml module with parser, validation, entity encoding, unit tests (#19708) 2023-11-06 15:14:30 +02:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v as default) (#19779) 2023-11-06 14:27:00 +02:00
shove
1e25d45243
cgen: fix g.obf_table data missing(fix #19695) (#19778) 2023-11-06 13:58:41 +03:00
Delyan Angelov
140c838f2e
ci: mark install_test.v as flaky too 2023-11-06 12:24:58 +02:00
Delyan Angelov
2362450340
ci: mark more tests as flaky 2023-11-06 12:23:11 +02:00
Joe C
af4ee6addd
cgen: only generate free in wrapper for spawn and not go (#19780) 2023-11-06 13:18:43 +03:00
Delyan Angelov
b07e3d00e1
docs: use #!/usr/bin/env bash instead of #!/bin/bash 2023-11-06 08:47:57 +02:00
Sudoer
4e6186ee95
ast: add missing docstrings for the public fns in vlib/v/ast/types.v (#19752) 2023-11-05 20:49:32 +02:00
JalonSolov
9ec8807dbe
compress,coroutines,encoding: handle C calls in .v files (part of enabling -W impure-v as default) (#19769) 2023-11-05 17:38:03 +02:00
Turiiya
9fa1f8e275
tools: fix resolving external dependencies in vpm, add test (#19772) 2023-11-05 17:31:43 +02:00
Matthew Muller
e7f0c6bc3d
transformer: fix using a constant, instead of a fn parameter with the same name (fix #19766) (#19773) 2023-11-05 15:59:49 +02:00
Turiiya
1f8fbb51e8
tools: simplify command execution in vpm, use os.execute_opt (#19741) 2023-11-05 15:55:45 +02:00
shove
510f0915b1
checker, cgen: allow for a shared variable, to be whole reassigned (keeping the same mutex state) (fix #15649) (#19751) 2023-11-05 15:15:14 +02:00
l-m
f82529e020
os: add os.page_size() (#19770) 2023-11-05 13:35:28 +02:00
Delyan Angelov
9effbec648
tests: fix v test-all 2023-11-05 13:09:37 +02:00
Turiiya
b734197714
tools: use a safer way to initialise settings in vpm (#19755) 2023-11-05 11:09:48 +02:00
l-m
d1f044d089
picoev: implement raw mode (#19771) 2023-11-05 10:49:54 +02:00
Delyan Angelov
0f424b8d54
ci: mark more tests as flaky 2023-11-05 10:21:33 +02:00
Swastik Baranwal
14afda7dfc
parser: warn on unused imports, even when they are declared via import math { sin, cos } (#19738) 2023-11-04 19:48:38 +02:00
yuyi
59ffee3852
checker: fix closure in if guard, with multi_return (#19765) 2023-11-04 19:46:52 +02:00
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