shadow
|
66bc8bc0cb
|
vlib: remove many deprecated functions (#10972)
|
2021-07-28 09:22:19 +03:00 |
Miccah
|
a0e27d3fd9
|
net.http: refactor the Response struct (#10922)
|
2021-07-24 20:47:45 +03:00 |
Miccah
|
1a6a7a678a
|
vweb: change Context.headers from string to struct Header (#10749)
|
2021-07-18 12:21:07 +03:00 |
Miccah
|
c3c420a41c
|
vweb: remove chunked encoding support in server responses (#10750)
|
2021-07-13 15:47:16 +03:00 |
shadowninja55
|
7694afa44c
|
checker: check that `mut` args are lvalues (#10779)
|
2021-07-13 08:06:39 +03:00 |
Miccah
|
3039092b89
|
net.http: add header_from_map and join functions (#10747)
|
2021-07-12 12:16:41 +03:00 |
Miccah
|
44e78a6301
|
vweb: use http.Response constants instead of strings (#10730)
|
2021-07-10 11:58:07 +03:00 |
Alexander Medvednikov
|
1469b47f7d
|
vweb: free app object for each request
|
2021-06-24 01:37:06 +03:00 |
Tomas Hellström
|
46eb6befd5
|
vweb,net: just log errors in accept() instead of panic-ing, add time.sleep(1ms) after each retry in select (#10489)
|
2021-06-17 10:41:26 +03:00 |
Miccah
|
6a19a13812
|
vweb: re-enable concurrency and fix the counter example (#10484)
|
2021-06-17 02:08:02 +03:00 |
Alexander Medvednikov
|
ae014ad06d
|
vweb: add a missing check
|
2021-06-16 23:35:14 +03:00 |
Alexander Medvednikov
|
eacdd0d7e1
|
comptime: fix $(field.name) in $for; vweb: shared fields
|
2021-06-16 20:33:39 +03:00 |
Dialga
|
7201d5db59
|
vweb: fix parsing form data (#10468)
|
2021-06-15 18:28:16 +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
|
eac1e25c5d
|
strings: simplify Builder (#10263)
|
2021-05-31 14:21:06 +03:00 |
Alexander Medvednikov
|
dcfea5c69b
|
vweb: detect mime type automatically in serve_static()
|
2021-05-22 07:02:25 +03:00 |
Alexander Medvednikov
|
f09a5135e9
|
checker: handle builtin enum init correctly
|
2021-05-20 03:14:32 +03:00 |
Alexander Medvednikov
|
664f220f40
|
vweb: a minor readme update
|
2021-05-17 08:51:52 +03:00 |
Alexander Medvednikov
|
ed6ad728d9
|
vweb: fix serving static files
|
2021-05-16 04:28:14 +03:00 |
JalonSolov
|
141248f592
|
doc: vweb README (#10106)
|
2021-05-15 05:53:25 +03:00 |
Delyan Angelov
|
143c3d4bb4
|
io: deprecate io.make_reader (not needed anymore)
|
2021-05-13 10:26:26 +03:00 |
Delyan Angelov
|
2b420cdf4d
|
ci: vfmt new vlib/vweb/vweb_app_test.v
|
2021-05-11 14:01:57 +03:00 |
Delyan Angelov
|
6450fda938
|
ci: fix compiling blog/, *and* comptime_if_is_test.v. Add vweb_app_test.v .
|
2021-05-11 13:59:08 +03:00 |
Alexander Medvednikov
|
72a135c7c5
|
vweb: update vweb_test_server.v
|
2021-05-11 09:52:08 +03:00 |
Alexander Medvednikov
|
dc034d9b16
|
vweb: make thread safe; checker: `$if T is Interface {`
|
2021-05-11 09:30:18 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |
Miccah
|
8b50a5a171
|
vweb: fix route matching on `/` (#10001)
|
2021-05-05 14:20:40 +03:00 |
Lukas Neubert
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
Carlos Esquerdo Bernat
|
f46868133b
|
vweb: remove calling .to_lower too early while processing url and url params (#9805)
|
2021-04-28 07:46:36 +03:00 |
Delyan Angelov
|
cafe382424
|
vweb: update references to old .init_once() and .init() methods to .init_server() and .before_request()
|
2021-04-26 19:38:13 +03:00 |
Delyan Angelov
|
bd539b6427
|
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
|
2021-04-20 20:26:06 +03:00 |
Miccah
|
e2be3ec396
|
vweb: split and parse Content-Type header correctly (#9756)
|
2021-04-16 08:46:06 +03:00 |
William Clavier
|
b11b744630
|
vweb: fix the `none` error for empty TCP connections (#9759)
|
2021-04-16 08:45:46 +03:00 |
Alexander Medvednikov
|
a18f85c8cd
|
vweb: init_once() => init_server(); init() => before_request()
|
2021-04-15 06:27:24 +03:00 |
Miccah
|
5eb67ccd94
|
http: use Header struct for headers (#9462)
|
2021-04-09 18:17:33 +02:00 |
Miccah
|
67ec33218e
|
vweb: read the entire request body from buffered reader (#9644)
|
2021-04-09 10:53:33 +03:00 |
Miccah
|
f809d4052f
|
net.http: change header behavior to keep custom header case (#9602)
|
2021-04-08 02:12:46 +02:00 |
Delyan Angelov
|
b041681c00
|
tests: bump limits to reduce flakyness on m1 with latest clang
|
2021-04-05 22:38:55 +03:00 |
Atakan Yenel
|
e9c7cd0c9f
|
vweb: add custom errors (#9519)
|
2021-03-30 15:30:16 +03:00 |
Alexander Medvednikov
|
0c055a1ce9
|
all: s.contains(s2) instead of `in`
|
2021-03-23 11:38:56 +03:00 |
Alexander Medvednikov
|
149151b1e8
|
cgen: minor vfmt
|
2021-03-17 03:41:52 +03:00 |
Alexander Medvednikov
|
091a1bab27
|
autofree: free global map consts and some vweb fixes
|
2021-03-17 01:33:35 +01:00 |
Alexander Medvednikov
|
852d302b87
|
io: BufferedReader.free()
|
2021-03-15 21:25:19 +01:00 |
Anton Zavodchikov
|
1ad4623fb8
|
tmpl: move to v/parser (#9052)
|
2021-03-15 13:35:55 +02:00 |
Alexander Medvednikov
|
530b981765
|
vweb: mark send_response_to_client with [manualfree]
|
2021-03-12 01:11:43 +03:00 |
Miccah
|
f26d2f02b7
|
ast, cgen, checker, parser: support method arguments in comptime $for (#9208)
|
2021-03-11 15:04:34 +02:00 |
Lukas Neubert
|
fdcfe397d4
|
fmt: write empty or blocks the same as empty fn bodies, empty structs, etc (#9136)
|
2021-03-06 21:04:51 +02:00 |
Lukas Neubert
|
80356edd8c
|
fmt: combine simple attributes into a single line (#9120)
|
2021-03-05 07:17:57 +02:00 |
Miccah
|
709d7460de
|
vweb: refactor form parsing and add tests (#9051)
|
2021-03-04 18:00:03 +02:00 |
zakuro
|
6b2c7fd53e
|
fmt: remove tail space when using multiline short arg (#9110)
|
2021-03-04 12:44:50 +02:00 |