Commit graph

1054 commits

Author SHA1 Message Date
Delyan Angelov
3f8e92bc6d
examples: make draw_static_text.v show the font name too, for easier comparisons 2024-08-22 12:38:42 +03:00
Delyan Angelov
e6b8162bfa
examples: add examples/ttf_font/draw_static_text.v, to make it easier to test x.ttf with different fonts, and texts 2024-08-22 11:59:49 +03:00
Alexander Medvednikov
ae1b9ed571 veb: deprecate x.vweb in favor of veb; checker: show missing variants in the sumtype error 2024-08-18 17:27:08 +03:00
yuyi
c69dfefedb
fmt: cleanup fields comments alignment and add ignore_newline config (#22027) 2024-08-12 10:56:32 +03:00
Martin Skou
d7bdb72b48
net.mbedtls: support Server Name Indication (SNI) (#22012) 2024-08-11 20:26:13 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Delyan Angelov
4f718d25fb
examples: change // to blank line in 2048.v too, after 793b66d 2024-08-09 14:57:56 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
79ee4ae046
fmt: fix alignment of enumeration types (#21999) 2024-08-07 15:46:50 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
larpon
10b031b2cc
examples: make rotating_textured_quad.v compile and run on Android (#21987) 2024-08-03 17:37:26 +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
Delyan Angelov
2366582528
gg: deprecate gg.DrawImageConfig.rotate, in favor of gg.DrawImageConfig.rotation, improve the documentation comments (#21963) 2024-07-30 17:45:57 +03:00
Delyan Angelov
083faa3568
gg: make gg.DrawImageConfig fields mutable, cleanup additive.v, extracting the common parameters, and using {...myconfig, ...} for the differences 2024-07-30 16:16:03 +03:00
yuyi
c9c38d5c11
parser: check for using comptime $veb.html()/$vweb.html(), without importing veb or vweb (#21957) 2024-07-29 16:55:29 +03:00
Mike Ward
9179038e86
examples: add a gg raycaster demo (#21904) 2024-07-21 23:27:24 +03:00
larpon
3bc6d30b69
flag, examples: add compact to flag.DocOptions (#21888) 2024-07-18 09:19:58 +03:00
Delyan Angelov
be7b24d87b
examples: fix examples/web_crawler/web_crawler.v to fetch from https://news.ycombinator.com/ instead of tuicool.com (which is offline) (fix #21854) 2024-07-17 17:58:15 +03:00
Felipe Pena
769e9147c3
v: change old attr syntax mention to new one in comments too (#21860) 2024-07-14 09:39:37 +03:00
larpon
6f61e30062
flag: add flag.to_struct[T]()! and flag.to_doc[T]()! + tests (#21845) 2024-07-13 12:33:03 +03:00
penguindark
790895782d
examples.sokol: add sampler to the 02_cube code (fix #21547) (#21853) 2024-07-12 17:27:48 +03:00
Mike Ward
d7550c5c02
examples: over print in digital_rain.v, to simulate the custom font used in the movie effect (#21846) 2024-07-12 01:41:15 +03:00
Delyan Angelov
2cde320eee
examples: add keyboard shortcuts label to digital_rain.v 2024-07-11 15:58:59 +03:00
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