Alexander Medvednikov
|
951d30405f
|
builtin: string.index_after() ?int
|
2025-03-12 23:03:25 +03: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 |
|
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 |
|
Delyan Angelov
|
e475e9d437
|
examples: shorten the periodic output of examples/hot_reload/message.v
|
2025-03-08 14:02:35 +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
|
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
|
e9a4312491
|
examples: cleanup snek.v, by using math.vec , the builtin array support, instead of datatypes , and by removing casts that are no longer needed
|
2025-03-05 18:50:55 +02:00 |
|
Delyan Angelov
|
2dc5f68894
|
examples: add a small breakout game, supporting keyboard and touch controls (#23861)
|
2025-03-05 13:58:29 +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
|
3e4f9d7fa1
|
examples: cleanup and shorten mini_calculator_recursive_descent.v to 98 lines (#23847)
|
2025-03-03 19:34:43 +02:00 |
|
kbkpbot
|
f4b51d064e
|
os: fix get_raw_line() on windows (fix #23843) (#23846)
|
2025-03-03 06:55:35 +02:00 |
|
Alexander Medvednikov
|
8683e634ee
|
veb: deprecate vweb (part 2); move all vweb examples to veb
|
2025-03-02 14:37:20 +03:00 |
|
Delyan Angelov
|
dea01ffe03
|
examples: fix poll_coindesk_bitcoin_vs_usd_rate.v, use the new v2 API endpoint
|
2025-03-02 09:19:25 +02:00 |
|
Delyan Angelov
|
fa8c5e369a
|
examples: show how to use a v file server for the wasm version of 2048, instead of emrun
|
2025-02-24 15:25:16 +02:00 |
|
Delyan Angelov
|
f83c8bf478
|
v.pref: allow for -os wasm32_emscripten and filtering _d_wasm32_emscripten.c.v and _notd_wasm32_emscripten.c.v files. (#23797)
|
2025-02-24 11:23:37 +02:00 |
|
Alexander Medvednikov
|
a045bb0132
|
all: use arguments() instead of os.args in some files
|
2025-02-20 03:07:30 +03:00 |
|
Delyan Angelov
|
4a8b3151b9
|
examples: add minimal_c_like_program_using_puts.v showing how to produce a much smaller executable on Linux, using clang, mold and sstrip.
|
2025-02-19 17:14:03 +02:00 |
|
Delyan Angelov
|
126f5c24e4
|
examples: add more control keys to tunnel.v
|
2025-02-12 00:28:47 +02:00 |
|
Delyan Angelov
|
fa4e61cee0
|
examples: add examples/hot_reload/tunnel.v
|
2025-02-11 22:43:54 +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
|
319eb83525
|
log: add log.use_stdout() , use it to silence the transition note for the most commonly used V tools/examples (#23642)
|
2025-02-03 12:37:57 +02:00 |
|
Delyan Angelov
|
801600c0c7
|
examples,io: add sha256sum_with_io_cp.v, make the size of the buffer used by io.cp parametrisable (#23585)
|
2025-01-26 15:44:15 +02:00 |
|
syrmel
|
b1d2593c1b
|
examples: add a solution to the "1 Billion Row Challenge" (#23458)
|
2025-01-15 09:09:11 +02:00 |
|
Mike Ward
|
dacdafbd3e
|
examples: add vascii.v showing a table of the first 128 ASCII characters with their names and codes in dec, oct, hex, bin formats (#23466)
|
2025-01-14 21:38:52 +02:00 |
|
Alexander Medvednikov
|
78f34e6c89
|
checker: vfmt fn.v
|
2025-01-14 01:25:20 +03:00 |
|
Delyan Angelov
|
f06ff69bb9
|
examples: mention also the RAM usage increase in many_thousands_of_circles_overriding_max_vertices.v
|
2025-01-06 15:01:27 +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
|
6eb14082b3
|
examples: fix unused db.pg import warning for examples/database/psql/customer.v
|
2025-01-05 20:30:37 +02:00 |
|
kbkpbot
|
f821c657a7
|
examples,builtin,cgen,live: fix windows hot reload with -cc tcc , improve the infrastructure, use a V global instead of a C one (fix #23214) (#23350)
|
2025-01-03 18:04:32 +02:00 |
|
Adam Oates
|
c50d4ee13b
|
gg: add linux support for fn screen_size() Size (fix #23146) (#23326)
|
2025-01-02 19:10:09 +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 |
|
kbkpbot
|
5b44b67211
|
term: add key_pressed, enable_echo (fix #21826) (#23171)
|
2024-12-27 10:36:39 +02:00 |
|
Delyan Angelov
|
7eec8b1cd7
|
math,examples: make 2048 use sliding animation for the tile movement (#23268)
|
2024-12-26 06:39:59 +02:00 |
|
Delyan Angelov
|
4cd3009bd1
|
examples: add examples/gg/easing_animation.v (follow up to e6c1637 ) (#23253)
|
2024-12-24 22:57:06 +02:00 |
|
Delyan Angelov
|
c9542a2553
|
examples: cleanup examples/term.ui/event_viewer.v
|
2024-12-15 15:09:56 +02:00 |
|
Delyan Angelov
|
d257a1f06a
|
examples: reduce completion friction, when doing the very common v run examples/hello_world.v in a shell
|
2024-12-08 23:50:47 +02:00 |
|
Delyan Angelov
|
c7ee45fc64
|
strings.textscanner, examples: add TextScanner .skip_whitespace/0, .peek_u8/0, .peek_n_u8/0, add examples/mini_calculator_recursive_descent.v (#23001)
|
2024-11-28 21:17:24 +02:00 |
|
Hitalo Souza
|
05377f3c03
|
examples: add a cpu_features/ folder, with several examples, using SSE and MMX assembly instructions (#22645)
|
2024-11-22 01:20:51 +02:00 |
|
Delyan Angelov
|
561efd1463
|
examples: simplify and reorder output of poll_coindesk_bitcoin_vs_usd_rate.v
|
2024-11-15 14:32:27 +02:00 |
|
Delyan Angelov
|
6845db9831
|
examples: add poll_coindesk_bitcoin_vs_usd_rate.v
|
2024-11-15 14:16:22 +02:00 |
|
Delyan Angelov
|
c32c2d732a
|
Duplicate ./examples/assets/v.svg history in ./examples/veb/veb_assets/assets/v-logo.svg history.
|
2024-10-31 11:56:18 +02:00 |
|