v/examples
Alexander Medvednikov f589a70874 examples: make a process example compile with -prod 2021-02-07 05:23:45 +01:00
..
2048 examples: fix 2048 on Apple M1 2021-02-05 19:35:51 +02:00
assets/fonts examples: add license files for fonts 2020-03-07 14:14:37 +01:00
compiletime all: change .ReturnType and .Type to .return_type and .typ (#6494) 2020-09-28 06:13:38 +02:00
concurrency examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
database orm: struct field support (#8517) 2021-02-04 20:28:33 +01:00
eventbus checker: add error for `fn f() Struct { return &Struct{} }` (#6019) 2020-07-29 21:40:43 +02:00
fireworks examples: enable maximization 2021-01-26 23:40:30 +02:00
flappylearning checker: error on a.slice(x,y) outside `builtin` 2021-01-19 15:55:52 +02:00
game_of_life docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
gg gg: add draw_convex_poly/2 and draw_empty_poly/2 methods (#8487) 2021-02-01 18:18:23 +02:00
hot_reload live: move to vlib/v/live 2021-01-16 15:05:01 +02:00
linear_regression .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
pico examples: fix `v build-examples` 2020-07-24 13:29:47 +03:00
process examples: make a process example compile with -prod 2021-02-07 05:23:45 +01:00
smtp examples: add example for using the SMTP module (#5870) 2020-07-18 15:59:54 +03:00
snek gg: allow fonts loaded with $embed_file() to be used (#8263) 2021-01-21 23:07:47 +02:00
sokol examples: support better placment and scaling on nonsquare viewports in cube.v (#8513) 2021-02-02 14:09:40 +02:00
term.ui test-cleancode: check some of the examples too 2021-02-04 17:34:59 +02:00
tetris test-cleancode: check some of the examples too 2021-02-04 17:34:59 +02:00
ttf_font examples: use os.resource_abs_path, so `v run examples/ttf_font/example_ttf.v` works 2021-01-10 20:36:50 +02:00
vcasino examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
vweb examples: add examples/vweb/server_sent_events; implement vweb.sse 2021-02-03 16:03:06 +02:00
websocket examples: move websocket example from x/ 2021-01-31 15:18:54 +01:00
word_counter all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
x64 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
.gitignore .gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
binary_search_tree.v examples: fix typos/grammar and chmod u+x v_script.vsh (#8304) 2021-01-24 11:15:11 +02:00
buf_reader.v net: add tcp_default_read_timeout and tcp_default_write_timeout and use them consistently 2020-12-15 17:54:51 +02:00
cli.v cli: allow flag to be set multi time (#8256) 2021-01-22 19:03:02 +02:00
fetch.v http: mutable request fields 2020-04-28 13:57:48 +02:00
fibonacci.v examples: fix fibonacci warning 2020-05-13 15:51:17 +03:00
fizz_buzz.v examples: reorganize 2020-03-21 09:47:38 +01:00
hanoi.v examples,tools: cleanup most warnings 2020-12-04 16:05:39 +02:00
hello_v_js.v examples: build examples/hello_v_js.v without warnings/errors 2020-10-18 09:33:55 +03:00
hello_world.v examples: reorganize 2020-03-21 09:47:38 +01:00
json.v parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
lander.v all: remove `it` smartcast and replace with original variable name (#5764) 2020-07-09 17:14:14 +02:00
links_scraper.v http: refactor and reduce duplication 2020-01-16 18:16:11 +01:00
log.v log: fix example error 2020-04-06 17:22:53 +02:00
mini_calculator.v examples: update mini_calculator.v (#8182) 2021-01-18 18:40:47 +02:00
nbody.v examples: fix `v build-examples` 2020-07-24 13:29:47 +03:00
net_peer_ip.v vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
net_raw_http.v all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
net_t.v vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
net_udp_server_and_client.v examples: add net_udp_server_and_client.v 2021-02-02 10:36:56 +02:00
news_fetcher.v all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
path_tracing.v all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
quick_sort.v example: make quick_sort generic (#5898) 2020-07-20 20:17:01 +03:00
random_ips.v examples: remove unused import (#6063) 2020-08-05 05:11:58 +02:00
regex_example.v examples: fix typos/grammar and chmod u+x v_script.vsh (#8304) 2021-01-24 11:15:11 +02:00
regex_with_memoization.v examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
rune.v add `str` function for `rune` 2019-07-01 17:36:23 +02:00
spectral.v examples: fix spectral.v 2020-12-21 08:50:31 +01:00
terminal_control.v examples: fix warnings when doing `./v -W -progress -check-syntax build-examples` 2020-10-26 13:14:26 +02:00
tree_of_nodes.v examples: use Empty instead of Leaf in tree_of_nodes.v 2021-01-15 11:15:29 +02:00
v_script.vsh examples: fix typos/grammar and chmod u+x v_script.vsh (#8304) 2021-01-24 11:15:11 +02:00
vmod.v v.mod: remove commas; add example for v.vmod (#6169) 2020-08-19 16:07:10 +02:00
vpwgen.v examples: add a simplified mini (v)pwgen program 2020-07-05 01:44:00 +03:00
wkhtmltopdf.v examples: C interop for HTML to PDF conversion using libwkhtmltox (#7751) 2021-01-03 16:56:55 +01:00