19797 Commits

Author SHA1 Message Date
Luke Miles
361309f660
docs: combine IDE plugins into one list in README.md (#23913) 2025-03-12 23:13:10 +02:00
Alexander Medvednikov
951d30405f builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
Delyan Angelov
85973b9cca
v.builder,v.cflags: improve the cross compilation support for programs using libraries like raylib, that have specific linking order needs, by supporting -lraylib@START_LIBS 2025-03-12 21:58:28 +02:00
Delyan Angelov
d970a8fce2
v.build_constraint: support // vtest build: false and // vtest build: true too; add tests 2025-03-12 15:35:17 +02:00
Delyan Angelov
acfa088b60
v.build_constraint: support comments too, for example linux&&gcc // some comment 2025-03-12 14:21:57 +02:00
Felipe Pena
ad20a57139
checker, cgen: fix generic container init (fix #23910) (#23912) 2025-03-12 14:04:13 +02:00
Delyan Angelov
e32283fd1c
math: add remap/5, smoothstep/3 and smootherstep/3 implementations + tests 2025-03-12 08:53:27 +02:00
Delyan Angelov
35b1cff2d3
tools: support // vtest build: !do_not_test ?, // vtest build: !windows && tinyc to skip files during testing on specific platforms, without having to keep centralised skip lists (#23900) 2025-03-11 21:57:47 +02:00
Delyan Angelov
5439ff9cde
cgen: make sure to call the overriden pub fn (mut a []string) free() { method, NOT the generic fn (a &array) free() { one. (#23911) 2025-03-11 21:09:55 +02:00
Felipe Pena
2dc0911e8c
cgen: fix codegen for array of anon struct (fix #23896) (#23907) 2025-03-11 19:06:40 +02:00
Felipe Pena
4e87a1ba09
checker: add missing any type validation on assignment (fix #23905) (#23906) 2025-03-11 18:34:06 +02:00
⚡ Sigui
ae89466843
veb.assets: ✏️ fix typo in veb.assets error message (#23908) 2025-03-11 16:08:15 +02:00
Mike
a5affa5d99
crypto.aes: fix notices about order of operations (fix #23898) (#23902) 2025-03-11 14:22:48 +02:00
Delyan Angelov
fe618a500b
cgen: improve the stability of generated code for auto string methods 2025-03-11 13:28:04 +02:00
blackshirt
de54be058e
crypto.ecdsa: improves internal function of calc_digest_with_evpkey (#23901) 2025-03-11 11:27:14 +02:00
blackshirt
4cc6f2547f
crypto.ecda: improvement the performance of PrivateKey.new by avoiding match+assignments (#23899) 2025-03-11 04:04:19 +02:00
Hitalo Souza
f787e0317e
examples: add vanilla_http_server - a fast, multi-threaded, non-blocking, port and host reuse, thread-safe, epoll server (#23094) 2025-03-10 19:44:32 +02:00
blackshirt
6623ac21c7
crypto.ecdsa: update and cleanup the documentation (#23897) weekly.2025.11 2025-03-10 10:37:00 +02:00
Delyan Angelov
50b716b8e3
v.util: fix stack overflow during parsing of #flag -DName=$d(...) (#23895) 2025-03-10 00:36:15 +02:00
Kim Shrier
23c5bc78c4
cli: add missing struct members to str() method and fix some comments (#23893) 2025-03-09 22:14:17 +02:00
kbkpbot
b1d6b784e3
builder,cgen: fix msvc build filename, remove temp files (#23890) 2025-03-09 16:42:41 +02:00
sSAR
6cda3b0ab3
veb: handle sendfile errors, when the connection is canceled, before the file is completely transferred (#23891) 2025-03-09 16:33:11 +02:00
larpon
81afd8f502
docs, cmd: fix broken docs source links regression in vdoc (#23889) 2025-03-09 16:31:14 +02:00
Delyan Angelov
aebe9bc1c8
parser: fix panic, discovered by fuzzing examples/2048/2048.v with zzuf on the CI 2025-03-09 12:16:44 +02:00
blackshirt
309aebfaf1
crypto.ecdsa: clean out old deprecated keypair opaque from the module, make -cstrict pass for all the tests, and with both gcc and clang (#23887) 2025-03-09 09:59:10 +02:00
Delyan Angelov
03d033fa4b
examples: make the 2048 game update rate, independent from the frame rate as well 2025-03-09 09:18:52 +02:00
Delyan Angelov
aafbda4bc4
examples: make the tetris update rate, independent from the frame rate too 2025-03-09 09:05:02 +02:00
Delyan Angelov
2860152e82
gg,examples: use a timer to limit the rate of updates in breakout, instead of a separate thread, restore ability to run in a browser through emscripten 2025-03-09 08:45:21 +02:00
Delyan Angelov
77a9e6e1b8
examples: run the update method of breakout on its own frame independent rate 2025-03-09 01:47:03 +02:00
larpon
0210567af2
examples: add subtle light and shadow effects to the breakout game, to give it a little depth (#23885) 2025-03-09 00:44:33 +02:00
Delyan Angelov
ef6b81d214
examples: fix (ball->side edge of brick) collision detection in breakout.v 2025-03-09 00:41:49 +02:00
Felipe Pena
9ae8cc357f
checker: fix option ptr field assign checking (fix #23879) (#23880) 2025-03-08 20:58:03 +02:00
Felipe Pena
6b31c86fea
cgen: fix codegen for global array passed as mut (fix #23873) (#23881) 2025-03-08 20:56:38 +02:00
Felipe Pena
44f8ba6161
type_resolver: fix recheck identification for anonfn on structinit (fix regression of #18294) (#23882) 2025-03-08 18:42:50 +02:00
Delyan Angelov
615e74d341
vlib: reduce false positive matches for /// , cleanup commented code 2025-03-08 17:47:13 +02:00
Delyan Angelov
af6247135c
x.json2: add a convenience Any.as_map_of_strings/0 method 2025-03-08 16:49:50 +02:00
blackshirt
ec0b70e130
crypto.ecdsa: complete the migration to the newer OpenSSL APIs (follow up to #23876) (#23877) 2025-03-08 14:59:01 +02:00
kbkpbot
0ea6667eca
v.live: fix the output name, used for the .dll/.so creation, when -live -cc is used (make it work with -cc msvc) (fix #6936) (#23878) 2025-03-08 14:20:05 +02:00
Delyan Angelov
e475e9d437
examples: shorten the periodic output of examples/hot_reload/message.v 2025-03-08 14:02:35 +02:00
Delyan Angelov
4877417adf
math.big: make ./v -prod -cstrict -cc gcc-11 test vlib/math/ pass cleanly (workaround a problem in V's cgen, that -cstrict discovered) 2025-03-08 13:45:31 +02:00
Delyan Angelov
e66e9960d3
math: fix ./v -prod -cstrict -cc gcc-11 vlib/math/math_bench_test.v (use unions to implement f64_bits/1 and f64_from_bits/1 for compilers != tcc) 2025-03-08 12:28:25 +02:00
Delyan Angelov
4236baf56a
docs: fix old links in the v shader section, to their current equivalents on the master branch 2025-03-07 21:50:07 +02:00
blackshirt
bc3fc1218b
crypto.ecdsa: migrate new_key_from_seed to use high opaque, simplify the logic (#23876) 2025-03-07 17:31:58 +02:00
Delyan Angelov
d59f21776b
examples: use textures in the sokoban game, instead of colors 2025-03-07 16:17:03 +02:00
Delyan Angelov
543a1d2d28
examples: add a small Sokoban puzzle game with levels (see https://en.wikipedia.org/wiki/Sokoban) 2025-03-07 12:39:05 +02:00
Delyan Angelov
b85c9e06ae
examples: add a small minesweeper game in examples/gg/minesweeper.v 2025-03-07 02:03:17 +02:00
Delyan Angelov
32ad697689
os,v.transformer: fix warnings for ./v -os cross -o vc/v.c cmd/v && clang-18 -o v_from_vc vc/v.c -lpthread 2025-03-06 21:05:01 +02:00
Delyan Angelov
408ec6bff4
builtin,os: fix warnings for ./v -os cross -o vc/v.c cmd/v && cc -o v_from_vc vc/v.c -lpthread 2025-03-06 20:56:49 +02:00
Delyan Angelov
0ffc33a5c9
examples, gg, gg.m4: fix VFLAGS='-no-skip-unused -cstrict -cc clang-18' v should-compile-all examples/sokol/ too 2025-03-06 19:58:25 +02:00
Delyan Angelov
3a331e01e0
examples: fix more compilation errors with -cstrict -cc clang-18 for the sokol examples 2025-03-06 19:01:48 +02:00