Commit graph

1164 commits

Author SHA1 Message Date
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
Delyan Angelov
db61723206
examples: fix notices for pendulum-simulation, simplify --workers option handling, fix assertions for v test examples/pendulum-simulation 2024-01-29 04:37:46 +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
49aa602fe5
examples: cleanup examples/fizz_buzz.v 2024-01-27 19:19:20 +02:00
Delyan Angelov
a17b54527a
examples: allow for ./v run examples/xvweb/todo, without needing to first change the current folder to examples/xvweb/ 2024-01-25 21:46:12 +02:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Kim Shrier
2b6490060a
examples: add casts to the term.ui callback functions to satisfy stricter type checking with newer versions of clang (or older ones with -cc clang -cstrict) (#20624) 2024-01-23 09:36:10 +02:00
ScriptMaster
ea2d92d661
os: document os.ls (using readdir), add example (#20622) 2024-01-21 20:45:19 +02:00
Muhammad Saleh Solahudin
a1eb94bbee
examples: fix link for image flappy.png in examples/flappylearning/README.md (#20605) 2024-01-21 07:48:32 +02:00
Muhammad Saleh Solahudin
bf8b7f08ef
examples: fix typo (exteranl -> external) and tidy up list in examples/regex/readme.md (#20601) 2024-01-20 19:53:16 +02:00
Pierre Curto
45e13ea02a
datatypes,examples: fix typos, and silence notice in the quadtree example (#20577) 2024-01-18 15:31:42 +02:00
Hitalo Souza
cb224076ec
examples: add examples/wasm/change_color_by_id/ (#20519) 2024-01-14 13:34:23 +02:00
Oli Barnett
fe669f8ce1
examples: fix "call v from ruby" example for Windows and Mac (#20487) 2024-01-12 15:59:09 +02:00
kbkpbot
fd269cad87
cgen, dl: add windows dll support, fix (#20447) (#20459) 2024-01-10 10:59:52 +02:00