17045 Commits

Author SHA1 Message Date
GGRei
afa1a9abc2
jsgen: fix inconsistent output (u32) in JS backend (#20691) 2024-01-30 18:16:25 +02:00
Delyan Angelov
804a7bdda5
vfmt,parser: keep the original import name in ast.Import, and use it without modifications for paths unders ~/.vmodules 2024-01-29 19:53:25 +02:00
GGRei
2d68230681
os: fix File.read() in JS backends (fix #20501) (#20633) 2024-01-29 15:07:25 +02:00
Delyan Angelov
cae40ad673
examples: cleanup dumps in examples/pendulum-simulation/modules/sim/args/parser.v weekly.2024.05 2024-01-29 04:39:44 +02:00
Delyan Angelov
db61723206
examples: fix notices for pendulum-simulation, simplify --workers option handling, fix assertions for v test examples/pendulum-simulation 2024-01-29 04:37:46 +02:00
Delyan Angelov
77b8097f51
examples: cleanup the glsl includes in the sokol examples 2024-01-29 03:55:09 +02:00
Delyan Angelov
4f7476eaa3
examples: cleanup compiler notices for all sokol examples 2024-01-29 03:42:47 +02:00
Felipe Pena
d8b158be2b
checker: fix checking for option matching with non-option (#20673) 2024-01-29 03:32:39 +02:00
Delyan Angelov
a327d49e8a
v.gen.js: cleanup notices for compiling the JS backend 2024-01-28 19:34:45 +02:00
Delyan Angelov
aec2a15452
v.gen.js: make program_test.v not flaky anymore, so that it is more sensitive to early errors. Fix compilation error for u16.v . Make u32.out match the current reality (the bug will be filed separately) 2024-01-28 19:32:26 +02:00
GGRei
6ab13a870f
v.gen.js: fix u16 cast handling in the JS backend (#20620) 2024-01-28 19:23:36 +02:00
Pierre Curto
4085356bd4
v.gen.c: write the profile file out, even upon CTRL-C or kill (#20677) 2024-01-28 16:39:50 +02:00
kbkpbot
b376609ebb
bitfield: enhance operation with multiple flags (#20683) 2024-01-28 14:45:28 +02:00
Kim Shrier
7e5ffb71d6
vweb: fix typo in README.md (#20679) 2024-01-28 01:34:01 +02:00
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