1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

60 Commits

Author SHA1 Message Date
d8d05e0106 all: new string interpolation in pure V (#10181) 2021-05-24 05:20:45 +03:00
906b207e58 checker: deprecate using V strings in C function calls (#10140) 2021-05-20 09:17:44 +03:00
dc034d9b16 vweb: make thread safe; checker: $if T is Interface { 2021-05-11 09:30:18 +03:00
d26ac5692e all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
dee733aae4 fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
aebb551e93 cgen: do full struct initialisation for V structs, fixes invalid data from map[string]Struct{}['unknown'] (#9878) 2021-04-27 08:18:48 +03:00
3c0a368af3 all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
16e79bc3ca tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
d4f31412b7 v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
21c452c5cd builtin: define u8 = byte alias 2021-04-15 02:58:27 +03:00
73238a81e2 examples: sokol: update the comments on how to compile the shaderes (#9633) 2021-04-08 02:11:41 +02:00
8caabf0e9e sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
a016ac39c0 examples: change byteptr to &byte in sokol examples and regex (#9606) 2021-04-05 18:17:45 +03:00
a2ef9967fe examples: add .obj viewer as a sokol example (#9456) 2021-03-25 16:53:13 +01:00
1d69a0bd22 gg: window_size_real_pixels that for 3D without dpi scaling (#9004) 2021-02-27 22:11:26 +01:00
3a2d696fac time: time.wait() => time.sleep() 2021-02-27 20:41:06 +03:00
ac4791045f time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
198b395cde examples: add examples/sokol/05_instancing_glsl, cleanup code (#8809) 2021-02-18 11:11:26 +02:00
217e8c9146 ci,examples: fix compilation of 03_march_tracing_glsl/rt_glsl.v 2021-02-17 11:07:31 +02:00
023f6829a1 examples: fix rt_glsl.v 2021-02-17 06:57:32 +01:00
60a8881326 examples: fix and vfmt cube_glsl example 2021-02-17 06:47:41 +01:00
d4a05bebde gg: use gg types for Events instead of sapp 2021-02-17 06:44:01 +01:00
325aef6d41 gg: add gg.m4, use it in the sokol GLSL examples (#8755) 2021-02-15 15:40:28 +02:00
ea803113c3 checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
9d5243a410 examples: add an example of march tracing in glsl, first release (#8689) 2021-02-12 01:42:10 +02:00
975206f38e examples: support better placment and scaling on nonsquare viewports in cube.v (#8513) 2021-02-02 14:09:40 +02:00
ebda57fa6f examples: 3d cube sokol example (#8327) 2021-01-24 23:17:50 +01:00
12897d1e2b examples: fix ./v -W -Wfatal-errors build-examples, run vfmt 2021-01-22 22:33:37 +02:00
a2efb5319d all: change [1,2,3]!! to [1,2,3]! (#8101) 2021-01-14 03:51:13 +01:00
9291fb5e0c checker: disallow comparison between enum and int (#7886) 2021-01-08 17:41:52 +01:00
9772eb7c96 examples: fix warnings when doing ./v -W -progress -check-syntax build-examples 2020-10-26 13:14:26 +02:00
2f149e6984 vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v 2020-10-18 13:45:13 +03:00
05ec32c331 examples: fix sokol/particles to start up faster (#6610) 2020-10-13 13:16:51 +03:00
77c29c6b6f examples: add simple visual rendering of the samples in melody.v 2020-10-10 23:45:40 +03:00
86816b1aad examples: add bytebeat melody using sokol.audio 2020-10-10 19:37:03 +03:00
0e2f267805 examples: add support for transparency / opacity / alpha in particle example (#6488) 2020-09-28 06:14:15 +02:00
b4535acbac examples: move the particle module in modules/particle
The goal is enabling running `v build-examples` from outside vroot.
The modules/ folders are already skipped when building examples.
2020-09-18 19:06:04 +03:00
18034bb95c gen: fix multiple call of expression in match (#6324) 2020-09-08 00:38:24 +02:00
35cbca96e1 checker: implement [required] struct field attribute (#6276) 2020-08-31 23:15:40 +02:00
f5c245ceb8 ci: fix v build-examples too 2020-08-27 14:35:26 +03:00
dad2c6608e examples: implement examples/sokol/sounds/wav_player.v 2020-08-23 20:49:37 +03:00
1c9e02094c sokol.audio: add simple_sin_tones.v example 2020-08-23 15:28:07 +03:00
542b149290 sokol: fix examples and remove copy pasta 2020-08-23 07:47:50 +02:00
d9aae023b1 android: initial support for C output using sokol_main (#6164) 2020-08-19 11:00:15 +02:00
bfca55b87a examples: fix v build-examples 2020-07-24 13:29:47 +03:00
5acc437367 examples: fix compilation 2020-07-24 12:34:19 +03:00
6ec86fa344 vfmt: reformat examples/sokol/particles *.v files 2020-07-02 15:31:42 +03:00
aec3ea5d32 examples: add sokol particle example (#5599) 2020-07-01 14:29:58 +03:00
91df872c36 examples: fix unused variable warning in examples/sokol/fonts.v 2020-06-15 15:40:42 +03:00
5ae8853648 all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00