Commit Graph

354 Commits (f33d9f4f68f0fca28d81a2c7f4f7d9f75786ba52)

Author SHA1 Message Date
Louis Schmieder b58b15993c
gen: compile time for (methods and fields) (#5957) 2020-07-25 00:02:44 +02:00
Delyan Angelov bfca55b87a examples: fix `v build-examples` 2020-07-24 13:29:47 +03:00
Delyan Angelov 5acc437367 examples: fix compilation 2020-07-24 12:34:19 +03:00
Iman d820a97c83
examples: update vcasino.v (#5880) 2020-07-22 20:45:55 +03:00
Delyan Angelov ebbc7bd471 examples: fix crash when running examples/ws/client.v outside of valgrind 2020-07-22 18:42:57 +03:00
Carlos Esquerdo Bernat 38aa5d6930
websocket example: cleanup and simplify (3/4) (#5923) 2020-07-22 17:44:56 +03:00
Carlos Esquerdo Bernat 6dbc143d67
websocket: move ws example to examples folder (#5875) 2020-07-21 00:55:58 +02:00
Ruofan XU 53e7cb124d
example: make quick_sort generic (#5898) 2020-07-20 20:17:01 +03:00
Nedim b3011b4f19
examples: add example for using the SMTP module (#5870) 2020-07-18 15:59:54 +03:00
Daniel Däschle c5dc1a33b6
all: remove `it` smartcast and replace with original variable name (#5764) 2020-07-09 17:14:14 +02:00
Daniel Däschle 5ea17ad2d4
all: if smartcast part 2 (#5754) 2020-07-08 15:46:58 +02:00
Alexander Medvednikov 48f1f814d2 gg: minor fixes 2020-07-06 20:40:54 +02:00
Alexander Medvednikov ebb4935703 examples: simpify text rendering examples 2020-07-06 19:55:49 +02:00
Alexander Medvednikov 1f3d7d393e gg: simplify text rendering 2020-07-06 19:45:00 +02:00
Nick Treleaven 9e7ba5f138
doc: update sum type docs (#5702) 2020-07-06 18:09:38 +02:00
Louis Schmieder 3cd9e2cab7
vweb: fix index (#5682) 2020-07-05 22:05:58 +02:00
Alexander Medvednikov 1505f3e22c vweb: fix an example 2020-07-05 16:52:20 +02:00
Alexander Medvednikov 36183660e6 remove oldgg, gl, glfw, freetype from vlib now that we have the new sokol based `gg` 2020-07-05 16:44:28 +02:00
Delyan Angelov b525553b53 examples: add a simplified mini (v)pwgen program 2020-07-05 01:44:00 +03:00
Delyan Angelov 73771b741c examples: add client ip logging to examples/tcp_echo_server.v 2020-07-04 14:14:43 +03:00
Delyan Angelov 6ec86fa344 vfmt: reformat examples/sokol/particles *.v files 2020-07-02 15:31:42 +03:00
Ruofan XU aa270263c9
exampleы: clean up quick_sort (#5620) 2020-07-02 13:32:02 +02:00
Larpon aec3ea5d32
examples: add sokol particle example (#5599) 2020-07-01 14:29:58 +03:00
Alexander Medvednikov 02b846aa72 vweb: fix json() and text() results 2020-06-27 13:56:15 +02:00
Alexander Medvednikov 1d8d19c977 vweb: return $vweb.html() 2020-06-20 03:12:38 +02:00
granbestiapop 02f9b5d0e4
examples: concurrency examples 2020-06-17 02:34:16 +02:00
Alexander Medvednikov 651a203ecb examples: fix sqlite.v 2020-06-16 12:27:47 +02:00
Delyan Angelov 41e0561b05 examples: add overflow protection in path_tracing.v, fix randomization 2020-06-15 19:56:19 +03:00
Delyan Angelov 91df872c36 examples: fix unused variable warning in examples/sokol/fonts.v 2020-06-15 15:40:42 +03:00
Alexander Medvednikov deddc71720 examples: fix vweb_assets.v 2020-06-10 12:05:35 +02:00
Alexander Medvednikov b904d7d1ba vweb: debug prints behind $if debug 2020-06-10 11:50:06 +02:00
Hungry Blue Dev e649cf84e3
rand: reorganize: phase 2 2020-06-09 15:06:07 +02:00
Enzo Baldisserri 11b7b97311
parser: fail when assigning to _ with := 2020-06-08 00:47:04 +02:00
Alexander Medvednikov 30ade1d6ea tests: test more vweb template features 2020-06-07 19:06:07 +02:00
joe-conigliaro 70c18fc7b2
vweb: tmpl access to action method vars 2020-06-07 21:26:47 +10:00
Delyan Angelov 013bfc7ebc vweb: add vweb.run_app(app,port); fix compilation of vweb_assets/main.v 2020-06-07 11:02:35 +03:00
Sumeet Chhetri 442030a7c8
picoev: make compile, add header parsing 2020-06-07 01:23:30 +02:00
Alexander Medvednikov 4d5ac1e16d vweb: $html 2020-06-06 21:36:34 +02:00
Alexander Medvednikov 7815c5b108 cgen: $action (ComptimeCall); vweb: hello world works! 2020-06-06 10:05:26 +02:00
Alexander Medvednikov 11908410f3 vweb: make compile 2020-06-05 21:04:18 +02:00
Delyan Angelov 2237968ec1 gg: fix x11 scaling 2020-06-05 08:19:34 +03:00
Alexander Medvednikov 13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Alexander Medvednikov fb7ca56d87 gg: minor fixes 2020-06-04 19:57:16 +02:00
Alexander Medvednikov 42e314d281 examples: skip live gg examples for now 2020-06-04 19:14:24 +02:00
Alexander Medvednikov c4a6ba76a1 examples: fix bounce.v; clean up tetris.v 2020-06-04 16:53:21 +02:00
Alexander Medvednikov 6b6c9d6738 gg: make the Sokol based gg the default 2020-06-04 16:05:15 +02:00
yuyi 5ae8853648
all: change `f mut Foo` to `mut f Foo` 2020-06-04 10:35:40 +02:00
Delyan Angelov 0b7fe0a9d0 gg2: add the rest of the sokol callbacks in gg.new_context 2020-06-04 09:48:49 +03:00
Delyan Angelov 576e80b3a9 tetris: restore text rendering with gg2.ft.draw_text 2020-06-03 23:09:34 +03:00
Delyan Angelov e91642e615 tetris: more accurate fps counters on -d showfps 2020-06-03 19:52:48 +03:00