Commit Graph

658 Commits (78c26e69cf83f7f39715da48e21daac63f0f7432)

Author SHA1 Message Date
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
Delyan Angelov 0d12d55295
gg: allow customisation of the image format in gg.new_streaming_image 2021-07-26 11:05:16 +03:00
Louis Schmieder 1943da54a5
orm: integrate psql to orm (#10933) 2021-07-24 20:49:40 +03:00
Louis Schmieder 26db3b0995
orm: redesign orm (re-write it in V) (#10353) 2021-07-23 12:33:55 +03:00
Delyan Angelov 5098334e65
os: add execute_or_exit(cmd), use it consistently instead of execute_or_panic(cmd) 2021-07-20 15:22:04 +03:00
Daniel Däschle ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
Miccah 1a6a7a678a
vweb: change Context.headers from string to struct Header (#10749) 2021-07-18 12:21:07 +03:00
Delyan Angelov 05284c45a6
examples: fix x,y dimensions 2021-07-16 22:51:20 +03:00
Miccah c3c420a41c
vweb: remove chunked encoding support in server responses (#10750) 2021-07-13 15:47:16 +03:00
Delyan Angelov de9aa987bc
examples: improve progressbar in path_tracing.v 2021-07-12 07:53:48 +03:00
Michiel Vlootman 452c8e14d4
examples: remove unused return types in hanoi.v (#10661) 2021-07-04 17:34:58 +03:00
Tomas Hellström ec973f5c6e
x.websocket: move to net.websocket module (#10648) 2021-07-03 02:56:00 +03:00
Delyan Angelov b2391424d9
examples: add examples/gg/random.v demonstrating how to stream images/pixels 2021-06-24 17:45:14 +03:00
Delyan Angelov 5a308005d5
examples: show the tetris ghost by default 2021-06-24 11:59:18 +03:00
Delyan Angelov f18265e6a8
gg: remove obsolete usages of `use_ortho: true` 2021-06-24 11:15:12 +03:00
Rasmus Schultz 1c80741886
doc: document `type Fn = fn (string) string` (type aliases) (#10471) 2021-06-22 12:39:57 +03:00
Delyan Angelov dd6591b2f5
ci: fix `[if xyz ?]` usages 2021-06-22 10:46:43 +03:00
Miccah 6a19a13812
vweb: re-enable concurrency and fix the counter example (#10484) 2021-06-17 02:08:02 +03:00
Miccah d56219a986
examples: add TCP echo server using os.notify (#10481) 2021-06-16 19:15:56 +03:00
Uwe Krüger 60c880a0cc
vlib: use `malloc_noscan()` where possible (#10465) 2021-06-15 14:47:11 +03:00
Delyan Angelov b26e1cdc0f
examples: persist and show the personal best score in snek.v 2021-06-14 18:13:26 +03:00
Wes 694b991929
examples: tetris: add ubuntu dependencies list (#10456) 2021-06-14 16:16:40 +03:00
Emily Hudson 535dcac8fa
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
Delyan Angelov b25c0e5ef6
examples: do not write to files in examples/templates/templates.v 2021-06-12 17:08:14 +03:00
Delyan Angelov ead445e205
examples: cleanup generated file examples/templates/result.md 2021-06-12 17:08:14 +03:00
shadowninja55 534b59e721
examples: rename "Chield" to "Child" in examples/database/orm.v (#10414) 2021-06-11 11:52:06 +03:00
Delyan Angelov 5b2046342b
Revert "examples: split asm.v to asm.amd64.v and asm.i386.v"
This reverts commit 74e73edac1.
2021-06-07 20:23:44 +03:00
Delyan Angelov 74e73edac1
examples: split asm.v to asm.amd64.v and asm.i386.v 2021-06-07 20:17:45 +03:00
Delyan Angelov ac0b638b6a examples: run vfmt over psql/customer.v 2021-06-07 18:25:20 +03:00
Delyan Angelov 4f213f4468 examples: conditionally compile an `asm amd64 {}` block on M1 in asm.v 2021-06-07 18:23:18 +03:00
Yuriy Zymlex a716a00e38
builder: fix a bug with submodule import (#10318) 2021-06-05 12:45:23 +03:00
Delyan Angelov e54af19b25
examples: fix -cstrict compilation of c_interop_wkhtmltopdf.v 2021-06-05 10:03:57 +03:00
Delyan Angelov eac1e25c5d
strings: simplify Builder (#10263) 2021-05-31 14:21:06 +03:00
Ruofan XU 4e55b9c08e
example: improve binary search tree example (#10226) 2021-05-27 20:13:02 +03:00
penguindark d8d05e0106
all: new string interpolation in pure V (#10181) 2021-05-24 05:20:45 +03:00