17131 Commits

Author SHA1 Message Date
Joe C
f79dd79242
coroutines: fix segfaults with GC (part 1) (#20549) 2024-01-27 23:27:38 +02:00
Seweryn
5f7e6ff13a
os: add proper process termination with p.signal_term() (#20671) 2024-01-27 23:25:36 +02:00
Kim Shrier
af2fbafecc
doc: fix minor embedded struct typo (#20678) 2024-01-27 23:24:08 +02:00
kbkpbot
88e413ca5b
crypto.aes: optimise performance (#20674) 2024-01-27 21:38:34 +02:00
Delyan Angelov
49aa602fe5
examples: cleanup examples/fizz_buzz.v 2024-01-27 19:19:20 +02:00
Pierre Curto
5a752c9a2d
v.fmt: drop newline in end comments for const (#20672) 2024-01-27 18:18:33 +02:00
Pierre Curto
75e906538f
v.checker: disallow assigning none to _ (#20646) 2024-01-27 12:24:48 +02:00
Pierre Curto
91d50e415c
vdoc: fix #8044 and -comments flag (#20592) 2024-01-27 07:10:50 +02:00
Casper Küthe
32b4a3c008
x.vweb: support HTTP 1.1 persistent connections (#20658) 2024-01-27 07:07:00 +02:00
kbkpbot
10aaeeb54e
x.crypto: add sm4 module (#20651) 2024-01-26 20:45:26 +02:00
Delyan Angelov
7f5f92ddd4
os: add File.set_buffer and related helpers + tests (#20661) 2024-01-26 20:44:23 +02:00
Delyan Angelov
2a68e2b7c9
builtin: implement unbuffer_stdout/0 (#20662) 2024-01-26 17:47:43 +02:00
syrmel
754c83a8ac
io: allow BufferedReader.read_line() to accept custom line delimiters (#20655) 2024-01-26 11:37:30 +02:00
GGRei
2c6a8c536c
net.http: add a temporary fix for the intermittent segfault with http.get_ text/1 and -prod -cc gcc 13.2.0 (fix #20506) (#20660) 2024-01-26 11:33:09 +02:00
Casper Küthe
8714233f79
vweb, x.vweb: update error checking for new error io.Eof (#20656) 2024-01-26 02:47:25 +02:00
Pierre Curto
a84bce37f1
docs: add a section about modules specifics (#20653) 2024-01-25 22:50:42 +02:00
Delyan Angelov
a17b54527a
examples: allow for ./v run examples/xvweb/todo, without needing to first change the current folder to examples/xvweb/ 2024-01-25 21:46:12 +02:00
Felipe Pena
e1655fff1f
v: enable @[export] for global variables too (#20649) 2024-01-25 16:58:52 +02:00
Felipe Pena
d6e35bae1b
v: implement @[_linker_section] attribute (#20629) 2024-01-25 12:58:43 +02:00
kbkpbot
4ceb550e88
log: add support for l.set_short_tag/1 (#20652) 2024-01-25 10:47:00 +02:00
Pierre Curto
a09bd7cff3
v.gen.c: support inter-dependent function types (#20638) 2024-01-24 18:41:46 +02:00
Guilherme J. Tramontina
d750d1f5a0
vweb: fix quickstart docs in the module's README.md on how to create a new vweb project (#20644) 2024-01-24 18:41:05 +02:00
Pierre Curto
900ec70711
checker: add cast overflow checks (#20641) 2024-01-24 18:36:39 +02:00
shove
4163faf0dd
net.smtp: implement mail attachment support (fix #19920) (#20640) weekly.2024.04 2024-01-24 07:33:25 +02:00
shove
0e6d27b7b3
builder: add '-lelf' to linker flags on freebsd (fix #20481) (#20643) 2024-01-24 07:32:14 +02:00
Delyan Angelov
22e0b984d4
testing: retry 1 additional time sporadic silent test run failures on macos 2024-01-23 23:31:00 +02:00
Felipe Pena
712d4a0a6b
debug: fix help and add docs for clear cmd (#20639) 2024-01-23 23:08:37 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Felipe Pena
2874e7cac0
cgen: fix interface generic smartcast (#20609) 2024-01-23 17:29:32 +02:00
Delyan Angelov
672fe9b8eb tests: make v vlib/os/os_test.c.v pass on windows, for users != admin, skipping the os.symlink checks 2024-01-23 17:03:01 +02:00
Pierre Curto
14c2e4c679
io: ensure BufferedReader.read_line() returns io.Eof, instead of error('none') (#20619) 2024-01-23 16:38:03 +02:00
gym603
51d412a5b6
os: fix an error in Process.win_spawn_process, not using stdout pipe in a cmd environment on 32bit Windows (#20613) 2024-01-23 16:34:01 +02:00
kbkpbot
73493c3a26
vlib: add a compress.zstd module (#20616) 2024-01-23 13:41:01 +02:00
Delyan Angelov
6209055272
parser: fix MyEnum.from(0)!, implement MyFlaggedEnum.zero() (#20623) 2024-01-23 13:00:28 +02:00
Kim Shrier
2b6490060a
examples: add casts to the term.ui callback functions to satisfy stricter type checking with newer versions of clang (or older ones with -cc clang -cstrict) (#20624) 2024-01-23 09:36:10 +02:00
André ldev
5b0f5081fd
debug: add command to clear the terminal in the $dbg prompt (#20625) 2024-01-23 09:15:38 +02:00
Delyan Angelov
9a857c11c6
testing: fix warning for compiling ./v cmd/tools/vtest.v 2024-01-23 04:13:14 +02:00
Delyan Angelov
020515406a
testing: implement a retry loop for *the test compilation* as well controlled with VTEST_MAX_COMPILATION_RETRIES, with a randomized delay between each try 2024-01-22 22:12:20 +02:00
Delyan Angelov
f31cf6add1 builder: allow for ./v -freestanding -cc riscv64-elf-gcc -d no_main -no-builtin -no-preludes -showcc -keepc x.v 2024-01-22 20:06:46 +02:00
Delyan Angelov
8b8239639b
parser, checker: allow #define X and asm riscv64 {} blocks in .v files, with -freestanding (make embedded usecases easier) 2024-01-22 19:53:53 +02:00
Pierre Curto
8f10326b6f
v.gen.c: initialize closures in shared library mode (#20630) 2024-01-22 19:01:53 +02:00
yuyi
9e8a159743
cgen: cleanup in expr_with_tmp_var() (#20626) 2024-01-22 18:58:06 +02:00
Delyan Angelov
1253b06df2
thirdparty: fix v cmd/tools/vcompress.v on FreeBSD 2024-01-22 18:38:48 +02:00
Delyan Angelov
6eeb8d7ca9
ci: bump image_family to freebsd-14-0 in .cirrus.yml (#20632) 2024-01-22 18:37:00 +02:00
Delyan Angelov
fe857f9fe3
v.util: make launch_tool more robust, when multiple v -b js file.v commands are run at the same time (all trying to recompile the JS backend program) (#20631) 2024-01-22 18:03:20 +02:00
Delyan Angelov
b593f6199a preludes: fix v -skip-unused -stats some_test.v 2024-01-22 12:26:18 +02:00
gym603
bc37c85cae
tests: make 'test-self' pass under msys2/MINGW32 (#20614) 2024-01-22 01:20:53 +02:00
Veru
55287b31ee
docs: update range for: 0-based index rationale (#20617) 2024-01-22 01:02:15 +02:00
Delyan Angelov
b42dd8bd06
v.util: make launch_tool failures more detailed (for the Text file busy; code: 26 case), bump tool_recompile_retry_max_count from 3 to 7 2024-01-22 00:50:04 +02:00
gym603
9f95ab7c5e
tests: make v test-self run _test.c.v files too (#20612) 2024-01-21 21:11:23 +02:00