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
Casper Kuethe
a43064af07
picoev, picohttparser: reimplement in V ( #18506 )
2023-07-12 09:40:16 +03:00
Delyan Angelov
ae8e9af11f
ci: skip building examples/coroutines/simple_coroutines.v for now
2023-05-29 13:35:46 +03:00
Petr Makhnev
c1f249af6c
test: handle compilation errors when running tests specially in the teamcity runner ( #17511 )
2023-03-05 10:14:23 +02:00
yuyi
17000ef7b6
checker: check option fn returning error ( fix #17423 ) ( #17438 )
2023-03-02 15:49:50 +02:00
l-m
0625caad56
wasm: add a webassembly compiler backend, based on using binaryen ( #17368 )
2023-02-28 23:58:53 +02:00
Christopher Fore
2029d1830f
tools: remove cmd/tools/modules/vhelp/ & add print to v share ( #17178 )
2023-02-01 11:18:23 +02:00
Christopher Fore
b3d742d13a
v.help: reorganise the folder layout of the v help topic
text files ( #17155 )
2023-01-31 12:04:01 +02:00
Alexander Medvednikov
868908b80d
checker: require unsafe for Struct(voidptr) casts
2023-01-06 09:28:11 +03:00
Delyan Angelov
f9e8a91cd0
v: move cmd/v/help/ to vlib/v/help, to simplify the interaction between module lookup & v recompilation ( #16867 )
2023-01-04 14:01:05 +02:00
Makhnev Petr
db2111235e
tests: add a teamcity output format for V's test runner ( #16681 )
2022-12-15 09:29:09 +02:00
Delyan Angelov
f5d0ba318e
testing: support new events in the output modules of v test
: .cmd_begin sent right before a _test.v execution, and .cmd_end sent right after a _test.v execution
2022-12-03 20:06:46 +02:00
Delyan Angelov
d09c8c914b
testing: refactor the v test
implementation to make supporting different output modes easier
2022-12-02 18:12:42 +02:00
yuyi
ef5be22f81
all: replace generic <>
with []
- part 2 ( #16536 )
2022-11-26 18:23:26 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
shove
26d643fc5d
all: rollback to old interpolation (step 3) ( #16380 )
2022-11-10 15:05:34 +03:00
Alexander Medvednikov
e81e0ac708
fmt: replace go
with spawn
2022-11-05 10:46:40 +03:00
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w .
now works. ( #16335 )
2022-11-05 09:08:01 +03:00
Delyan Angelov
f427a5241a
os,tools: add os.vtmp_dir()
...
Use it to consistently place all temporary files created by tests in a overridable folder specific to the user, that is easy to cleanup later.
NOTE: os.temp_dir() on macos returns `/tmp`, and using `/tmp/v` is a problem when multiple unix users are trying to access/create/write to it.
2022-11-03 10:19:51 +02:00
Alexander Medvednikov
18c7da9a5e
all: new string interpolation "hello {name}!"
2022-10-27 11:01:01 +03:00
Hitalo Souza
3d4ffe8f28
examples: unskip vweb_orm_jwt from building, since it is not working directly with mysql anymore ( #15671 )
2022-10-22 19:12:54 +03:00
Delyan Angelov
29b1796791
ci: add more skips for different CI jobs
2022-10-17 10:24:01 +03:00
Nicolas VENTER
50820105a1
docs: call_v_from_c example ( #15844 )
2022-09-25 22:52:40 +03:00
Alfie Ranstead
27305d1a5f
net.websocket: swap unsafe use of nil for a safe default value ( #15836 )
2022-09-22 08:00:03 +03:00
Delyan Angelov
f922ed0941
tests: unify all temporary files/folders under $VTMP/v
, that can be cleaned by v wipe-cache
( #15774 )
2022-09-16 04:56:19 +03:00
Hitalo de Jesus do Rosário Souza
2d7406a8cd
examples: v back-end example for vweb ( #15141 )
2022-07-24 13:02:57 +03:00
Zhomart Mukhamejanov
c1502b3c1f
examples: add macos_tray example app ( #15101 )
2022-07-18 09:42:45 +03:00
Delyan Angelov
6a4ba22eae
tests: flush test headers to ensure stable output with VJOBS>1
2022-06-22 12:46:32 +03:00
Delyan Angelov
0f3b2c2ae7
builtin: use C.fwrite (buffered) for _write_buf_to_fd ( #14558 )
2022-05-30 19:15:05 +03:00
Delyan Angelov
b4c529066a
tests: simplify cmd/tools/modules/testing/common.v
2022-05-16 10:29:57 +03:00
Delyan Angelov
01c1892995
tools: fix building vdoctor.v
with v build-tools
2022-05-04 23:30:44 +03:00
Delyan Angelov
8da42bfc85
tests: fix ./v -W build-tools
CI failure
2022-04-30 13:49:36 +03:00
Delyan Angelov
5277ce7dce
tests: support for marking _test.v files with // vtest flaky: true
, to reduce false positives from the CI
2022-04-30 13:30:02 +03:00
Delyan Angelov
60e718e7c6
test: save removing the nonexistent binary output for v fmt and v vet tests
2022-04-09 13:04:52 +03:00
Alexander Medvednikov
36ec47cd20
all: replace "NB:" with "Note:" (docs/comments)
2022-03-06 20:01:22 +03:00
starryskye
6d2a88e31f
net.smtp: add STARTTLS and implicit SSL support ( #13473 )
2022-02-16 09:18:51 +02:00
Ulises Jeremias Cornejo Fandos
4391ae563d
examples: improve the pendulum simulation, with several modes and diagrams ( #13446 )
2022-02-12 19:38:07 +02:00
Larpon
41b9b2988a
examples: add port of simple triangle sokol sample ( #13298 )
2022-01-27 21:16:00 +02:00
Delyan Angelov
eb765f975c
ci: add a small delay between failed test retries. bump retries for channel_select_6_test.v to 8
2022-01-27 17:43:55 +02:00
Delyan Angelov
62c3ad4953
use os.quoted_path more
2022-01-22 22:22:22 +02:00
Saptak Bhoumik
5e85d4cb39
examples: show how to call a simple v module from python ( #13105 )
2022-01-09 19:53:36 +02:00
Ikko Ashimine
92bd55ded6
tests: fix typo in common.v ( #12952 )
2021-12-24 10:47:48 +02:00
Delyan Angelov
cc2fcb52d6
tests: fix the shown number of jobs for the test summary
2021-12-21 02:51:26 +02:00
Delyan Angelov
68ada041e6
tests: support VTEST_ONLY_FN=*test_sincos* ./v test .
and ./v test -run-only test_sin .
2021-12-20 18:45:04 +02:00
Delyan Angelov
23be53e2de
tools: build examples/viewer
as a project folder
2021-12-11 23:20:08 +02:00
Delyan Angelov
7bbc70820a
tools: make v test vlib
and v test-self
skip _test.js.v files, when node
is not installed
2021-12-07 21:31:29 +02:00
Delyan Angelov
d431145a39
v.util,tools: use os.join_path_single
2021-11-22 21:42:55 +02:00
Delyan Angelov
7b723262e4
tools: support VJOBS=1 VTEST_FAIL_FAST=1 ./v test .
2021-11-15 11:44:54 +02:00
Delyan Angelov
ceb24bc32e
tests: show the number of parallel jobs used while testing
2021-10-11 13:10:55 +03:00
playX
4333a53f28
js: support running .js.v
tests in v test-self
, fixes for array methods & codegen ( #12011 )
2021-09-29 15:33:14 +03:00