Commit Graph

692 Commits (b576181a661ee70ad5761d504f3d1dbae741210c)

Author SHA1 Message Date
Larpon 7ec70d5477
toml: small refactor, move all json functionality to submodule (#12502) 2021-11-18 13:27:59 +02:00
playX 2eb02ff5a7
jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488) 2021-11-17 11:41:33 +02:00
Delyan Angelov 6c5dfc5c2f
examples: fix initial clock size on hdpi displays 2021-11-11 18:09:57 +02:00
Delyan Angelov 4728b975e3
examples: use app.gg.quit() instead of exit(0) 2021-11-11 17:45:22 +02:00
Delyan Angelov 9cb378bb6b
examples: reduce the memory usage of the clock example, without -autofree & -gc boehm 2021-11-11 17:39:02 +02:00
Delyan Angelov 637ebe5d42
examples: improve examples/vweb/file_upload 2021-11-10 18:26:16 +02:00
Delyan Angelov 3c6356ba36
ci: fix request_test.v (add missing \r to hardcoded post data) 2021-11-10 18:16:15 +02:00
Delyan Angelov 466ced2876
net.http: fix multipart/form-data file upload handling 2021-11-10 17:31:41 +02:00
playX d8f971ffb5
jsdom: add Path2D API, All CanvasRenderingContext2D methods (except image methods) (#12404) 2021-11-07 10:06:28 +02:00
Delyan Angelov 852d85b3a9
gg: cleanup the minimal gg program more 2021-11-07 09:16:49 +02:00
Delyan Angelov 32b74dd348
gg: simplify the minimal gg application even more with `context.user_data = context` 2021-11-06 18:24:19 +02:00
playX 2b4154910c
jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372) 2021-11-03 16:54:28 +02:00
Miccah ce9f26c589
examples/vweb: use map instead of string in call to app.json (#12338) 2021-10-31 12:31:49 +02:00
czkz 81b95ece51
docs: improve the docs by provide better examples and describe module publishing (#12308) 2021-10-31 11:32:31 +02:00
Wertzui123 612e742c1f
examples: remove unneeded workaround (#12336) 2021-10-30 18:49:54 +03:00
playX a32dae335a
js: fix interfaces behaviour & disable struct deep copy for now (#12333) 2021-10-29 11:23:40 +03:00
Delyan Angelov 8fd66994c7
ci: comment out the `main` body in draw.js.v for now 2021-10-28 02:18:38 +03:00
playX cfecb62299
js: DOM API. Part 1 (#12296) 2021-10-27 23:18:09 +03:00
Amund Tenstad 18da724a9f
examples: prevent a 180 turn in snek (#12286) 2021-10-25 10:57:05 +03:00
playX 864d6eae6b
js: codegen & vlib fixes, replace the Game of Life CLI example (#12272) 2021-10-22 22:03:19 +03:00
Larpon 09cc0c7247
gg: use sgl.begin_points for pixels + improve pixels example (#12085) 2021-10-07 10:46:57 +03:00
Louis Schmieder 6391f3d2da
orm: fix other int types (#11981) 2021-09-26 11:17:56 +03:00
Ruofan XU 4fbf3fdf03
examples: make the binary search tree example generic (#11968) 2021-09-24 21:17:26 +03:00
Larpon 5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00
yuyi 108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
Alexander Medvednikov 49886b8c40 examples: add a missing vweb header 2021-09-21 08:13:42 +03:00
Alexander Medvednikov f6bdc6b87e tmpl: fix <div> inside <div> 2021-09-21 07:54:10 +03:00
Michele Zenoni 92bb292113
examples: add Rule 110 example (#11516) 2021-09-17 03:24:28 +03:00
Delyan Angelov 5010d18f27 examples: use double buffering for mandelbrot.v, to remove flickering on m1 2021-09-10 19:46:10 +03:00
Delyan Angelov fa0983128f
examples: add a mandelbrot viewer example 2021-09-10 18:59:39 +03:00
Delyan Angelov 6ea750da8d
v test-all: add a `v run examples/v_script.vsh` step too 2021-09-10 12:45:52 +03:00
Alexander Medvednikov afeb1525a1 native: rename cgen to code_gen to avoid confusion with cgen 2021-09-10 03:17:53 +03:00
yuyi e5360e164a
fmt: remove unnecessary parentheses after `return` (fix #11423) (#11435) 2021-09-08 14:19:53 +03:00
Enzo e3b65092d6
parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
penguindark f1cba44154
examples: add a gg drag'n'drop example (#11403) 2021-09-05 16:14:38 +03:00
Delyan Angelov 56993b9e2d
net.http: support passing client certificates in http.fetch (#11356) 2021-09-01 01:43:35 +03:00
Delyan Angelov e72af5e2ee
examples: fix 404 status code for not found pages in examples/http_server.v 2021-08-31 12:13:58 +03:00
Delyan Angelov 2b92ccecb5
ci: fix `v build-examples` and `v build-tools` 2021-08-28 12:44:03 +03:00
Larpon e85311c2ba
gg: change draw_cubic_bezier* call signatures for speed and to match *_poly (#11323) 2021-08-27 16:52:05 +03:00
Fabricio Pashaj 0bf9197f41
net.http: add a close method to immediatly close the listener of a started http.Server, add more tests (#11248) 2021-08-24 19:21:24 +03:00
Larpon 833bf2cf15
gg: add cubic Bézier curves + examples (#11286) 2021-08-24 06:35:27 +03:00
Delyan Angelov b5f8a04778
examples/mini_calculator.v: handle ctrl-d gracefully 2021-08-20 10:07:41 +03:00
Benjamin Stigsen 70a658a265
gg: set_pixels() (#11236) 2021-08-20 01:14:25 +03:00
Stefan Schroeder 6983f74a9d
example: add an animated analog clock (#11231) 2021-08-18 17:40:20 +03:00
Delyan Angelov f96b81b53a
ci: fix failing vweb_test.v 2021-08-17 18:57:04 +03:00
Louis Schmieder 0d30667ab5
orm: fix orm unique lists (#11198) 2021-08-16 14:59:23 +03:00
Daniel Däschle 800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
Alexander Medvednikov 80976e640c vweb: remove init_server() from all examples, tutorials, and tests 2021-08-03 16:03:16 +03:00
shadow eca7af107a
examples: fix static vweb assets example (#11008) 2021-08-01 21:46:30 +03:00
Roj Serbest cd03d31989
examples: fix a typo (#10984) 2021-07-28 22:39:37 +03:00