Delyan Angelov
|
717076bef6
|
vlib: use sync.new_mutex() consistently for initialising all vlib structures containing mutex fields
|
2023-08-15 15:19:27 +03:00 |
|
Delyan Angelov
|
2643970945
|
context.onecontext: fix sync.Mutex initialisation in onecontext.v
|
2023-08-15 15:14:25 +03:00 |
|
Wertzui123
|
64cbbea074
|
net.websocket: fix typo in docs (ws -> wss) (#19143)
|
2023-08-15 13:48:57 +03:00 |
|
Irving M
|
8e8bd857b0
|
vweb: add application/wasm to mime_types, for .wasm files (#19142)
|
2023-08-15 12:50:07 +03:00 |
|
Turiiya
|
1bed0b5e68
|
toml: add generic automatic decoding and encoding of simple structs, when they don't implement custom methods (#17970)
|
2023-08-15 12:06:57 +03:00 |
|
Delyan Angelov
|
8ae962b4d5
|
ci,tests: fix compilation of vlib/v/tests/bench/gcboehm/GC_bench.v, add a CI task for checking that .v files inside vlib/v/tests/bench continue to compile
|
2023-08-14 18:53:51 +03:00 |
|
Delyan Angelov
|
e446eb5953
|
tools: add support for .skip_should_compile_all files to ./v should-compile-all .
|
2023-08-14 18:52:30 +03:00 |
|
Delyan Angelov
|
679cbf1490
|
math.big: restore gdc_euclid, use it for smaller numbers, fix bench_euclid.v .
|
2023-08-14 18:37:48 +03:00 |
|
Delyan Angelov
|
d6db4f90ea
|
tests: fix compilation of bench_compare_tokens.v, add from_string from tinyv
|
2023-08-14 17:27:12 +03:00 |
|
jacksonmowry
|
d285ff08f0
|
db.mysql: add the exec family of methods (#19132)
|
2023-08-14 16:18:01 +03:00 |
|
Delyan Angelov
|
85de1486da
|
ci,parser: fix syntax error
|
2023-08-14 10:05:31 +03:00 |
|
Alexander Medvednikov
|
83067667c7
|
checker: improve -line-info
|
2023-08-14 09:37:46 +03:00 |
|
shove
|
58d4bd67b2
|
checker, fmt: fix static methods not recognized when imported from a module(fix #19127) (#19133)
|
2023-08-14 06:29:52 +03:00 |
|
yuyi
|
d72229ff2c
|
scanner: error early on an unsupported escape sequence in a string, like \_ (fix #19131) (#19134)
|
2023-08-14 06:21:51 +03:00 |
|
Etienne Girondel
|
492e918fdb
|
builder,pref: allow thirdparty objects compilation with CPP compiler (#19124)
|
2023-08-13 20:30:28 +03:00 |
|
Delyan Angelov
|
9543123dc5
|
arrays: add a generic arrays.append/2, which unlike arrays.concat(a, ...b) , does not require a spread for the second argument
|
2023-08-13 20:04:44 +03:00 |
|
Delyan Angelov
|
be1270540b
|
gg: use html5_canvas_name as the name of the canvas in gg.js.v too, similarly to gg.c.v
|
2023-08-13 17:45:19 +03:00 |
|
Delyan Angelov
|
ca0f589310
|
examples/tetris: add instructions, on how to compile the game through Emscripten and v -os wasm32_emscripten
|
2023-08-13 17:28:27 +03:00 |
|
shove
|
11a8a46ade
|
tests: cleanup test cases (#19104)
|
2023-08-13 13:36:08 +03:00 |
|
shove
|
a711e17f41
|
cgen: fix alias of array method call(fix #19125) (#19129)
|
2023-08-13 13:24:56 +03:00 |
|
Delyan Angelov
|
bfaa3debcd
|
cgen: fix bootstrapping on older macOS Catalina
|
2023-08-12 12:31:01 +03:00 |
|
yuyi
|
e136941655
|
scanner: fix string interpolation with nested string interpolation in inner quotes p. 3 (#19121)
|
2023-08-12 11:45:08 +03:00 |
|
Felipe Pena
|
aca6f544ff
|
cgen: fix shared map ptr type default value (#19113)
|
2023-08-12 11:43:47 +03:00 |
|
yuyi
|
89bd575ec0
|
ast, parser, cgen: fix generic struct init (Stack[&Person]{}) (fix #19119) (#19122)
|
2023-08-12 11:43:20 +03:00 |
|
Alexander Medvednikov
|
3c26bfff55
|
checker: "v -line-info" for a quick run to fetch info about objects on one line
|
2023-08-11 21:08:28 +03:00 |
|
yuyi
|
61ffbe1a8c
|
parser, checker, cgen: fix fn return alias of fixed array (#19116)
|
2023-08-11 20:57:05 +03:00 |
|
yuyi
|
4355be8ef2
|
checker, cgen: fix the comparison of alias and non-alias values (#19112)
|
2023-08-11 15:07:16 +03:00 |
|
shove
|
8714119590
|
cgen: fix spawn call fn struct field(fix #18862) (#19096)
|
2023-08-11 13:58:26 +03:00 |
|
yuyi
|
ec45e4736a
|
parser: fix struct field fn type with default value (fix #19099) (#19106)
|
2023-08-11 13:50:54 +03:00 |
|
Wertzui123
|
387f717004
|
websocket: initialize function pointers with nil (#19105)
|
2023-08-11 13:49:29 +03:00 |
|
yuyi
|
741f5541ff
|
benchmark: minor cleanup in total_message() (#19102)
|
2023-08-11 12:12:37 +03:00 |
|
Delyan Angelov
|
e3b0dfbfdd
|
term.termios: allow again for v -prod -os wasm32_emscripten examples/2048/ , by using an eprintln, instead of a $compile_warn
|
2023-08-11 11:05:26 +03:00 |
|
Delyan Angelov
|
715c0b6185
|
gg: expand the -d show_fps background, so fps>100 will not overflow it
|
2023-08-11 10:33:05 +03:00 |
|
shove
|
65a493d023
|
v.util: fix a wrong path analysis when parsing 'mod_name' (fix #18970) (#19090)
|
2023-08-10 05:42:59 +03:00 |
|
jacksonmowry
|
76b4c92848
|
db.sqlite: make functions return results, breaking change (#19093)
|
2023-08-10 05:39:32 +03:00 |
|
Delyan Angelov
|
d0cc564089
|
db.mysql: make mysql.Result.result public (fix #19098)
|
2023-08-10 05:21:44 +03:00 |
|
Alexander Medvednikov
|
f915366ac4
|
checker: improve the nil fn error a bit
|
2023-08-09 22:37:11 +03:00 |
|
yuyi
|
3211a653c3
|
scanner: fix string interpolation with nested string interpolation in inner quotes 2 (#19094)
|
2023-08-09 15:05:17 +03:00 |
|
Delyan Angelov
|
eef9b5f168
|
builtin,os: fix compiling V programs with latest clang 16 on windows (clang 16 is stricter than clang 14) (#19095)
|
2023-08-09 15:04:44 +03:00 |
|
yuyi
|
b7afe6b236
|
scanner: add error for invalid newline rune literal, make errors more informative (#19091)
|
2023-08-09 08:49:47 +03:00 |
|
Delyan Angelov
|
6813a12339
|
transformer: keep the symbolic expressions inside dump(expr) from being optimised out, even when they could be, when composed of literals known at comptime (#19086)
|
2023-08-08 18:25:55 +03:00 |
|
shove
|
10df697d32
|
time: add 'i', 'ii' in custom_format() for 12-hours clock(0-12-1-11) (#19083)
|
2023-08-08 12:25:39 +03:00 |
|
yuyi
|
68f18fcb8e
|
scanner: fix string interpolation with nested string interpolation in inner quotes (fix #19081) (#19085)
|
2023-08-08 12:25:05 +03:00 |
|
shove
|
f4859ffb11
|
checker: fix missing or_block check for left expr of CallExpr(fix #19061) (#19074)
|
2023-08-08 09:06:03 +03:00 |
|
Swastik Baranwal
|
8db1aaafd5
|
checker: explicitly disallow creating type aliases of none , i.e. type Abc = none (#19078)
|
2023-08-08 08:58:10 +03:00 |
|
Delyan Angelov
|
286d39706b
|
time: add a format_rfc3339_nano() method to time.Time
|
2023-08-08 08:35:05 +03:00 |
|
shove
|
320057df1c
|
os.notify: remove the meaningless [noinit] attribute of the notifier (#19075)
|
2023-08-07 09:19:54 +03:00 |
|
jacksonmowry
|
07b36d69f3
|
db.sqlite: add exec_param_many and exec_param methods (#19071)
|
2023-08-07 09:00:03 +03:00 |
|
yuyi
|
6045a1db02
|
cgen: minor cleanups in method_call() (#19068)
|
2023-08-07 07:09:39 +03:00 |
|
yuyi
|
7c2f3e4530
|
fmt: fix formatting of C.f(/*mut*/buff &char) i64 (#19069)
|
2023-08-07 07:00:35 +03:00 |
|