Commit Graph

472 Commits (aeddd5b55920aaf0394e42f9e7daf460157fe3e9)

Author SHA1 Message Date
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
Daniel Däschle 11808f9fa3
parser: fix silent errors (#7271) 2020-12-12 04:06:09 +01:00
penguindark 6b7d7cee0c
regex: new examples, new utility functions (#7150) 2020-12-05 22:24:08 +01:00
Delyan Angelov 3f2133c65e
examples,tools: cleanup most warnings 2020-12-04 16:05:39 +02:00
nyx-litenite 36240b2284
examples: term.ui: vyper (a simple snake game) (#6943) 2020-11-27 20:55:53 +01:00
Alexander Medvednikov f135a9949c ci: build tetris with -autofree 2020-11-27 20:41:17 +01:00
Alexander Medvednikov 5efd393af2 all: make comptime templates usable outside of vweb via $tmpl 2020-11-26 18:40:35 +01:00
spaceface777 e03ae19372
term.ui: approximate colors into ansi if rgb isn't supported (#6951) 2020-11-26 00:28:57 +01:00
Alexander Medvednikov 23c9563600 examples/tetris: remove old array hacks 2020-11-24 18:14:44 +01:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
Larpon 9f5a3b52a7
all: optimize png images (#6860) 2020-11-17 17:42:21 +01:00
Larpon 4a31b5702e
examples: term.ui: add readme, copyright, and pong screenshot (#6858) 2020-11-17 17:41:54 +01:00
Larpon f44853a87f
examples: term.ui - add a pong clone (#6857) 2020-11-17 15:25:41 +01:00
Larpon 0c54ebdf41
text_editor: add magnet cursor position (#6843) 2020-11-16 14:51:39 +02:00
Emily Hudson cd2a2cef25
vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
Delyan Angelov c8b7cfc297 examples: small fix for ctrl-right at the last word of a line 2020-11-15 14:49:55 +02:00
spaceface777 dcbb285ae4
examples: text editor: implement ctrl+arrows to move by word (#6838) 2020-11-15 13:33:08 +01:00
spaceface777 1ead130eed
term.ui: render to the alternate buffer (#6832) 2020-11-14 21:05:22 +02:00
Carlos Esquerdo Bernat 827fb62c29
examples/text_editor: edit multiple files (#6827) 2020-11-14 19:39:59 +02:00
spaceface777 ec3b96924f
examples/text_editor: make scrolling smoother (#6819) 2020-11-14 09:21:46 +02:00
spaceface777 6b47c61fe4
term.ui: handle middle mouse button events and modifier keys (#6821) 2020-11-14 09:14:54 +02:00
spaceface777 eacd6b5d54
examples/text_editor: minor cleanup and simplifications (#6818) 2020-11-13 19:18:05 +02:00
Larpon b02f03e20a
examples: add a simple text editor example to term.ui (#6808) 2020-11-13 15:27:12 +01:00
spaceface777 c315218ed1
term.ui: allow setting the terminal title (#6809) 2020-11-13 15:30:47 +02:00
Delyan Angelov a3404a38c6 term_drawing.v: support arrows, 1, 2 and space 2020-11-13 13:08:28 +02:00