Commit Graph

496 Commits (cb885d30b49bf8a522daee20328c128e2424d71b)

Author SHA1 Message Date
spaceface e233911a7b
term.ui: native Windows console implementation (#8359) 2021-01-27 13:52:39 +01:00
Delyan Angelov 1f4e8254b9
examples: enable maximization 2021-01-26 23:40:30 +02:00
Delyan Angelov 06b660666b
examples: fix font does not exist message in fireworks 2021-01-26 23:21:10 +02:00
shadowninja55 ba3342a034
examples: add fireworks example (#8358) 2021-01-26 23:13:11 +02:00
Delyan Angelov e5a84719ca
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
penguindark ebda57fa6f
examples: 3d cube sokol example (#8327) 2021-01-24 23:17:50 +01:00
Jordan Bonecutter 1c8c3a109d
examples: fix typos/grammar and chmod u+x v_script.vsh (#8304) 2021-01-24 11:15:11 +02:00
Alexander Medvednikov d991712b3c gg: native rendering mode on macOS 2021-01-23 10:25:43 +01:00
Daniel Däschle dbf84520f1
all: update assoc syntax (#8274) 2021-01-22 23:24:48 +01:00
Delyan Angelov 12897d1e2b
examples: fix `./v -W -Wfatal-errors build-examples`, run vfmt 2021-01-22 22:33:37 +02:00
Emeric MARTINEAU 081e3c46b4
cli: allow flag to be set multi time (#8256) 2021-01-22 19:03:02 +02:00
shadowninja55 a569dc17e8
gg: allow fonts loaded with $embed_file() to be used (#8263) 2021-01-21 23:07:47 +02:00
shadowninja55 d1286dbf18
examples: add snek (a snake game) (#8257) 2021-01-21 18:34:42 +02:00
Louis Schmieder f7c251f8f3
vweb: add multipart/form-data parser and file upload (#8160) 2021-01-21 11:08:51 +01:00
Delyan Angelov d9532eda30
checker: error on a.slice(x,y) outside `builtin` 2021-01-19 15:55:52 +02:00
Ruofan XU 103901a5cb
example/test: add a binary search tree example and test (#8145) 2021-01-19 15:18:38 +02:00
Sun Junyi 048d8edf62
examples: update mini_calculator.v (#8182) 2021-01-18 18:40:47 +02:00
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Louis Schmieder 38881e4b20
vweb: Implement chunked encoding transfer (#8179) 2021-01-18 13:04:21 +01:00
Larpon 512f62b7a1
android: enable custom (e)println output via android log system (#8135) 2021-01-17 05:32:59 +01:00
Larpon 4044abef0e
tetris: enable to run on android, run v fmt (#8136) 2021-01-17 05:28:09 +01:00
Delyan Angelov 5c3ef588c3
live: move to vlib/v/live 2021-01-16 15:05:01 +02:00
Delyan Angelov 0da40c4ea9
examples: use Empty instead of Leaf in tree_of_nodes.v 2021-01-15 11:15:29 +02:00
Delyan Angelov 944bb294e3
examples: add tree_of_nodes.v, based on a `type Tree = Leaf | Node` sumtype 2021-01-15 10:09:44 +02:00
yuyi a2efb5319d
all: change `[1,2,3]!!` to `[1,2,3]!` (#8101) 2021-01-14 03:51:13 +01:00
yuyi a1c67232d0
checker: fix duplicate variable name (fix #265) (#7982) 2021-01-10 21:41:29 +01:00
Delyan Angelov 692a718428
examples: use os.resource_abs_path, so `v run examples/ttf_font/example_ttf.v` works 2021-01-10 20:36:50 +02:00
penguindark c067cc0357
vlib: add a TTF font loader and render in `x.ttf` (#7995) 2021-01-10 20:14:41 +02:00
Don Alfons Nisnoni d645e45752
mysql: add more documentation (#7846) 2021-01-09 10:40:21 +02:00
Swastik Baranwal 9291fb5e0c
checker: disallow comparison between enum and int (#7886) 2021-01-08 17:41:52 +01:00
Daniel Däschle 5dbc19410c
examples: fix vweb assets example (#7949) 2021-01-07 20:46:23 +01:00
Tomas Hellström f9a873736e
x.websocket: server broadcast plus examples (#7922) 2021-01-06 15:43:54 +01:00
Delyan Angelov 3a357d9718
gg: add examples/gg/stars.v 2021-01-04 12:19:05 +02:00
Leandro Silva 86df5cd1a9
examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00
Don Alfons Nisnoni e943d03298
mysql: migrate connection flags to enum instead of const, fix example (#7803) 2021-01-02 15:09:20 +02:00
Alexander Medvednikov 7bcc5afbb6 ci: run tutorial 2021-01-01 20:25:49 +01:00
Daniel Däschle 5ae3637d27
checker: revert embedded methods fix (#7780) 2021-01-01 14:36:07 +01:00
spaceface 480d78de2e
examples/2048: make tiles have rounded corners (#7763) 2021-01-01 13:04:51 +02:00
Alexander Medvednikov 2bc9ee4d88 vweb: more updates 2020-12-31 17:47:20 +01:00
Alexander Medvednikov 2533c706ae vweb: migrate all tests and examples to the new syntax 2020-12-31 17:22:47 +01:00
Alexander Medvednikov 3ffdcd8910 vweb: embed context 2020-12-31 17:07:27 +01:00
Delyan Angelov cf978ca1ac
flappylearning: set app.timer_period_ms to 0 with `0` key 2020-12-31 17:51:52 +02:00
Delyan Angelov 06766fd0eb
flappylearning: toggle update period with `space`, exit with `esc` 2020-12-31 17:46:50 +02:00
Alexander Medvednikov 0d43ff2453 parser: fix `for i, mut val in vals {; examples: vfmt flappybird 2020-12-27 12:02:18 +01:00
uxnow e69e5c5b91
examples: add flappylearning to examples (#7605) 2020-12-27 11:19:32 +01:00
Alexander Medvednikov 9f964c9ce0 examples: fix spectral.v 2020-12-21 08:50:31 +01:00
Delyan Angelov c2064b2cc0 ci: more args = os.args fixes 2020-12-20 19:01:15 +02:00
penguindark a6baffcb8c
regex: lots of fixes (#7380) 2020-12-18 05:57:31 +01:00
Emily Hudson 553ecf63e7
vlib/io: fix reader bugs, make read_all take a config struct (#7361) 2020-12-16 18:22:26 +01:00
Delyan Angelov e3a1756b11
net: add tcp_default_read_timeout and tcp_default_write_timeout and use them consistently 2020-12-15 17:54:51 +02:00