Commit graph

155 commits

Author SHA1 Message Date
Eliyaan (Nopana)
bbb61ab368
gg, gx: deprecate gx and replace all occurences with gg (which now contains all the functionality of gx) (#24966)
Some checks failed
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
native backend CI / native-backend-ubuntu (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
native backend CI / native-backend-windows (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Waiting to run
wasm backend CI / wasm-backend (windows-2022) (push) Waiting to run
Workflow Lint / lint-yml-workflows (push) Has been cancelled
2025-08-14 19:53:56 +03:00
Delyan Angelov
952f63ef43
examples: add examples/sokol/sounds/simple_keyboard_synth.v 2025-07-06 15:05:22 +03:00
Delyan Angelov
ed84fb9ce8
examples: cleanup unsafe{} blocks that are not needed anymore in examples/sokol/08_sdf/sdf.v 2025-05-10 10:19:34 +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
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +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
Delyan Angelov
86740bb0a7
examples, v.builder: fix v -cstrict -cc gcc-11 examples/sokol/particles and the same but with clang-18 too 2025-03-06 18:51:28 +02:00
Delyan Angelov
cec123a0df
math,examples: add examples/sokol/sounds/simple_sin_tone_using_audio_push.v, cleanup math 2025-03-04 12:19:27 +02:00
Delyan Angelov
10f2fe196a
examples,gg: modify all remaining calls to fons.add_font_mem/3 to use an array.clone() 2025-02-07 14:39:36 +02:00
Delyan Angelov
02a7355cfa
tools: improve v should-compile-all . with support for compiling .wasm.v and .js.v files; skip module name files, compile projects that have .glsl files 2025-01-01 20:18:20 +02:00
yuyi
79786732ef
all: replace struct field name '@type' with 'type' (#22485) 2024-10-11 08:53:18 +03:00
Delyan Angelov
cfa91d81d7
examples,os: add an os.asset module, use it to simplify code in examples/, by removing $if android { checks (#22281) 2024-09-22 16:04:05 +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
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Delyan Angelov
0b3853683b
examples: add a simplified bytebeat player to show how to use sokol.audio, and that does not depend on gg 2024-08-01 11:08:57 +03:00
Delyan Angelov
aa07eafb5f
examples: cleanup melody.v even more 2024-08-01 09:49:57 +03:00
Delyan Angelov
ab8f1ba21b
examples: cleanup & fix the sound produced by melody.v, to be like the original https://www.youtube.com/watch?v=V4GfkFbDojc 2024-08-01 09:37:17 +03:00
Delyan Angelov
da5dc8bb22
examples: cleanup obsolete unsafe{} usages in examples/sokol/sounds 2024-08-01 09:10:02 +03:00
penguindark
790895782d
examples.sokol: add sampler to the 02_cube code (fix #21547) (#21853) 2024-07-12 17:27:48 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Delyan Angelov
2c646bfadd
examples: allow for v run examples/sokol/06_obj_viewer /full/path/to/model.obj 2024-04-04 19:52:35 +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
Turiiya
9704a01406
parser: fix case of falsely registering imports as used, remove unused imports (#21156) 2024-04-01 19:46:50 +03:00
Turiiya
00860ebc6b
examples: fix warnings about 0 assignments to reference fields (#21133) 2024-03-29 10:35:37 +02:00
Alexander Medvednikov
24ac0c1fb5 builtin: fix tests 2024-03-29 07:59:11 +03:00
Larpon
22744ce495
examples: fix simple_shader compile error, add 2 shader examples to CI (#21112) 2024-03-27 14:05:42 +02: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
83978a8d86 examples: improve initial camera position for examples/sokol/05_instancing_glsl/rt_glsl.v 2024-03-08 12:41:32 +02:00
Delyan Angelov
4cf05083ca
examples: cleanup code duplication in examples/sokol/04_multi_shader_glsl/rt_glsl.v, document gg.m4 (#20978) 2024-03-08 11:39:23 +02:00
Larpon
790ea2f1bd
sokol, gg, examples: update to match uptream at 058a4c5 (#20953) 2024-03-05 17:04:05 +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
Delyan Angelov
4b3109237d
builtin: deprecate string.last_index/1 for string.index_last/1, and string.last_index_u8/1 for string.index_u8_last/1 (#20095) 2023-12-05 13:56:59 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
Larpon
775b25e11b
sokol: update to match uptream at 9e0f1b4 (#19687) 2023-10-28 17:15:46 +03:00
Turiiya
9051ac8921
all: fix typos (#19634) 2023-10-23 21:21:15 +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
0bf85d049e sokol: upgrade to latest version, fix all related issues 2023-10-05 20:22:49 +03:00
Alexander Medvednikov
5cc1db8318 0.4.2 changelog 2023-09-30 14:41:41 +03:00
Delyan Angelov
edc9ff4f12
examples: add more .obj files for 06_obj_viewer (#19406) 2023-09-22 09:59:52 +03:00
Delyan Angelov
c075e44ec1
ci,examples: fix v examples/sokol/simple_shader_glsl/simple_shader.v, ensure it compiles on the misc-tooling job (#19404) 2023-09-21 19:44:58 +03:00
Turiiya
1e38cc0986
checker: disallow module name duplicates in local names (#18118) 2023-09-08 23:33:35 +03:00
yuyi
18e60e77de
fmt: remove inline comments (#19263) 2023-09-03 23:51:56 +03:00
Delyan Angelov
41f99c1abf
tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946) 2023-07-22 19:13:58 +03:00