Commit graph

1128 commits

Author SHA1 Message Date
Mike Ward
304aa9f687
examples: add a gg example - digital_rain.v (#21841) 2024-07-11 08:53:27 +03:00
Mike Ward
ca07347430
examples: update vmatrix.v to handle terminal resizing, minor visual tweaks (#21836) 2024-07-09 22:10:40 +03:00
Mike Ward
df18047347
examples: add vmatrix.v showing a Matrix like terminal screen effect (#21814) 2024-07-07 07:50:18 +03:00
Delyan Angelov
56d2ba6281
examples: add a glow effect to spirograph.v 2024-07-05 14:07:16 +03:00
Kim Shrier
174257650f
examples: update macos_tray example to cleanly compile (#21804) 2024-07-05 12:14:34 +03:00
Delyan Angelov
07c1c51036
examples: add slow rotation to spirograph.v, use a brighter color for the instructions 2024-07-05 11:52:41 +03:00
Delyan Angelov
811ac125fa
examples: add an animated spirograph.v using gg 2024-07-05 11:29:47 +03:00
shadow
dceea80d85
examples: add interpolated movement and input queue to snek/snek.v (#21798) 2024-07-03 22:17:46 +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
shadow
c9c41af172
examples: add gg/fire.v (#21784) 2024-07-02 11:04:00 +03:00
Delyan Angelov
4c42fe3420
gg: add Context.draw_cubic_bezier_recursive/2 and Context.draw_cubic_bezier_recursive_scalar/9 (#21749) 2024-06-28 08:30:45 +03:00
larpon
66c4307897
examples: add compiletime/d_compile_value.v (#21738) 2024-06-26 17:08:08 +03:00
Larpon
47e93d1c39
term: add functions for detecting Sixel support + example (#21665) 2024-06-11 19:59:58 +03:00
Juan de Bruin
096226bf05
examples: check array length before access (#21641) 2024-06-04 18:38:06 +03:00
Delyan Angelov
cc92dbc8a5
examples: show how to create and pass a V string to a V function, and then get back a V string in Python 2024-06-03 19:26:30 +03:00
Turiiya
527559c656
examples: cleanup process/execve.v (#21557) 2024-05-24 11:01:01 +03:00
Alexander Medvednikov
27833e0dbe examples: limit news_fetcher.v 2024-05-23 21:30:41 +03:00
Alexander Medvednikov
115ecdd60a examples: fix news_fetcher.v 2024-05-23 20:48:41 +03:00
Alexander Medvednikov
b7efbca8b6 builder: cross compile to FreeBSD 2024-05-23 08:34:52 +03:00
Delyan Angelov
a097e540a2
examples: fix v -N examples/regex/regex_example.v 2024-05-01 14:48:55 +03:00
Alexander Medvednikov
1aee2b567b veb: copy x.vweb to veb, and make it work with comptime 2024-04-24 19:23:19 +03:00
Delyan Angelov
ed7f1ffc6c
examples: remove obsolete examples/process/.ignore file 2024-04-20 14:03:17 +03:00
Turiiya
8aa9314a99
vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times (#21293) 2024-04-17 00:33:37 +03:00
Delyan Angelov
c230acfb86
examples: cleanup 2048, add pgup/pgdown to speed up the AI moves (#21284) 2024-04-15 05:24:04 +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
4dcc9265e1
examples: add pidigits.v; optimise math.big's Integer divide a bit (#21239) 2024-04-09 17:01:05 +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
Delyan Angelov
d133f64c86
examples: add vtail.v, deprecate File.read_bytes_into_newline/1 in favor of File.read_bytes_with_newline/1 (#21182) 2024-04-04 11:09:06 +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
Alexander Medvednikov
acf0107493 builtin: str.last_index(); pref: hide-auto-str; 2024-03-28 18:26:30 +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
Turiiya
f66b5954c2
v.utils: fix module lookup if module import parts end with the word modules (#21083) 2024-03-24 20:22:16 +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
cui fliter
78602846e5
all: fix typos in comments (#20963) 2024-03-04 18:41:55 +02:00
David Legrand
45ee800a34
examples: fix static example title (#20821) 2024-02-14 01:20:44 +02:00
David Legrand
feb649f79c
doc: x.vweb static website capabilities (#20808) 2024-02-13 12:30:25 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
JalonSolov
09095985d3
examples: fix path in js_dom_draw_benchmark example docs (#20780) 2024-02-11 12:35:45 +02:00
Ameeer1
b4ab5b6349
examples: rename js_dom_draw_bechmark_chart to js_dom_draw_benchmark_chart (#20779) 2024-02-10 21:36:23 +02:00
Casper Küthe
4b4646169b
x.vweb: add cors middleware (#20713) 2024-02-05 00:16:29 +02:00
Alexander Medvednikov
68275ec7bd x.vweb: error() and simpler redirect(); comptime: a clearer error 2024-02-03 04:23:38 +03:00
Delyan Angelov
cae40ad673
examples: cleanup dumps in examples/pendulum-simulation/modules/sim/args/parser.v 2024-01-29 04:39:44 +02:00