Commit graph

181 commits

Author SHA1 Message Date
Delyan Angelov
cf2bff504d
sokol.audio: fix doc comment examples 2025-08-13 17:54:45 +03:00
xieke
a1a94a67fc
sokol.gfx: set the missed array_count field too in the set_vert_uniform and set_frag_uniform APIs (#25019) 2025-08-01 20:57:31 +03:00
Alexander Medvednikov
7d57a19d7e checker: do not allow &u8(0), force nil like we do with &Type(0) 2025-05-03 22:37:51 +03:00
larpon
9e36d2c87a
sokol, audio: link against aaudio on Android (#23869) 2025-03-05 11:50:16 +02:00
Delyan Angelov
a1f7213de0
sokol: allow for v -os wasm32_emscripten -o examples/tetris/tetris.html examples/tetris/ (avoid using -sMODULARIZE) (#23814) 2025-02-26 11:51:33 +02:00
Emma
6b92f8fada
all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
Delyan Angelov
7aa2fcb55e
gg,sokol,examples: add example of overriding _SGL_DEFAULT_MAX_VERTICES in code 2025-01-06 14:54:56 +02:00
Delyan Angelov
9ae0a9db9b
v,ast,fmt,parser: support @[tag] for hash statements, like #define and #flag (#23210) 2024-12-20 08:49:03 +02:00
Delyan Angelov
5bba92a65a
vlib: remove modules/functions/fields, deprecated in 2023 (#22750) 2024-11-17 20:09:21 +02:00
yuyi
79786732ef
all: replace struct field name '@type' with 'type' (#22485) 2024-10-11 08:53:18 +03:00
yuyi
2ca3fdfa8d
all: replace enum field name '@xxx' with 'xxx' (#22479) 2024-10-11 02:09:23 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
yuyi
dd2210abf6
ast: fix const field str() (#22192) 2024-09-10 17:02:51 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types (#21999) 2024-08-07 15:46:50 +03:00
yuyi
3247b98bb5
ast: fix const field str() (#21998) 2024-08-06 17:42:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
71aa3a463d
sokol.audio: fix ./v -cc clang-18 -gc none simple_bytebeat.v (the audio depends on threads) 2024-08-02 10:38:54 +03:00
larpon
ef0457d6e3
sokol: update to match upstream at c0e0563 (#21971) 2024-08-01 01:44:50 +03:00
Delyan Angelov
f676daceb5
vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v 2024-07-30 17:15:15 +03:00
yuyi
209063ffd0
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782) 2024-07-02 23:10:00 +03:00
Kim Shrier
5407dbbde7
sokol: fix audio example to work on FreeBSD (#21558) 2024-05-24 08:12:41 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Turiiya
c086bee5be
breaking,vlib: update handling of imports whose symbols are not directly used in imported file, remove pub const is_used = 1 workarounds (#21160) 2024-04-01 22:07:05 +03:00
Alexander Medvednikov
85533fe178 sokol, gg: min window width and height 2024-03-28 18:23:33 +03:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Delyan Angelov
8a9def6534
examples: port sokol/clear.v and sokol/sdf/sdf.v (#21069) 2024-03-21 06:28:25 +02:00
Delyan Angelov
bedaf4f100
sokol.gfx: update the PixelFormat V enum, to exactly match the C sg_pixel_format from thirdparty/sokol/sokol_gfx.h 2024-03-17 16:30:11 +02:00
Larpon
790ea2f1bd
sokol, gg, examples: update to match uptream at 058a4c5 (#20953) 2024-03-05 17:04:05 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Jasper Lievisse Adriaanse
f53031feda
sokol: fix compiling gg and other graphical examples on OpenBSD (#20333) 2024-01-01 23:19:55 +02:00
Delyan Angelov
426e471988
sokol: fix JS runtime error about _glBindSampler, for the gg examples, when compiled with -os wasm32_emscripten 2023-12-27 02:04:23 +02:00
Delyan Angelov
5e37798560
ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
JalonSolov
c494b63d75
os,picohttpparser,sokol,strconv: prepare for making -W impure-v the default (#19846) 2023-11-12 09:52:14 +02:00
Larpon
775b25e11b
sokol: update to match uptream at 9e0f1b4 (#19687) 2023-10-28 17:15:46 +03:00
Larpon
95509cf8fb
all: make all struct C.XYZ -> pub struct C.XYZ (#19651) 2023-10-25 15:01:50 +03:00
Alexander Medvednikov
545ee1ae23 checker: stricter rules for C types; C aliases; sokol fixes 2023-10-14 18:31:44 +03:00
Larpon
3c68e78f32
sokol: fix usage of sokol sampler (#19527) 2023-10-07 21:05:30 +03:00
Alexander Medvednikov
0a4fa279a2 sokol: minor fixes 2023-10-07 03:14:06 +03:00
Delyan Angelov
5d38c61aa1
fix cross compilation to windows 2023-10-06 15:34:43 +03:00
Delyan Angelov
8e7cd6f3ac
sokol.gfx: update the V bindings for the new functionality in the Sokol GFX library 2023-10-06 09:27:23 +03:00
Delyan Angelov
cee2eabd1f
sokol: fix the audio examples 2023-10-06 07:26:10 +03:00
Alexander Medvednikov
322ba7113f sokol: fix gfx structs 2023-10-06 02:31:11 +03:00
Alexander Medvednikov
0bf85d049e sokol: upgrade to latest version, fix all related issues 2023-10-05 20:22:49 +03:00
Alexander Medvednikov
f8693adfa2 checker: turn propagation warning into an error; sokol: make some structs public 2023-10-01 14:42:12 +03:00
yuyi
55ca8d8d8e
fmt: align the custom values of the enum fields (#19331) 2023-09-12 14:44:38 +03:00