1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

244 Commits

Author SHA1 Message Date
91e18b039c net: fix cross compilation with mingw, Ws2tcpip.h => ws2tcpip.h 2020-12-07 10:41:42 +02:00
cb5f75c7bf net.html: change license in readme (#7157) 2020-12-06 05:11:43 +01:00
a05408b49a all: make type system use source name & cleanup storing name in fields 2020-12-06 14:55:08 +11:00
e2e0c625f1 net: add openssl header dir on arm64 macs 2020-12-05 20:27:16 +01:00
98034e5504 http: make download_file() return an optional 2020-11-24 18:07:08 +01:00
155aa6dac5 x.websocket: fix autobahn tests for wss and wss close behavor (#6901) 2020-11-21 15:45:45 +02:00
f47c2468bb net: fix socket.read_line with long lines #6842 2020-11-20 15:24:41 +01:00
df4165c7ee docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
05933e783d net: add back some lower level client/server tcp tests 2020-11-16 09:59:37 +02:00
cd2a2cef25 vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
5069be04a2 net: improve socket_test (#6822) 2020-11-14 08:23:22 +02:00
2994e7150f vweb: check function and route parameter count (#6761) 2020-11-08 09:14:24 +01:00
dab66593fc vlib: run vfmt over vlib files, so that v doc -m vlib/ can run without warnings 2020-10-21 12:54:10 +03:00
9309a07438 net.openssl: update custom missing headers message 2020-10-17 19:30:50 +03:00
3c2202572b cgen: produce cleaner error on missing C headers (with optional explanation) (#6637)
Implements support for `#include <openssl/rand.h> # Please install OpenSSL`.
2020-10-17 18:27:06 +03:00
eab0974e7d net: allow more accurate profiling, using res := C.xxx return res instead of return C.xxx 2020-10-16 00:43:55 +03:00
31ef921ef2 ci: fix warnings/errors due to the vfmt change 2020-10-15 16:17:52 +03:00
28dea17065 ci: prevent Periodic failure, ensure VSMTP_TEST_USER/VSMTP_TEST_PASS are set in smtp_test.v 2020-10-13 09:22:28 +03:00
04d3ca7dbe http: fix status codes (#6590) 2020-10-09 18:33:16 +03:00
332f3a924c builtin: consume matched string length in string.replace_each (#6349) 2020-09-12 02:31:06 +02:00
3a146a6dbe checker: fix error pos on default value (#6338) 2020-09-09 15:34:41 +02:00
ea31f75098 checker: more default field fixes 2020-09-09 14:14:44 +02:00
3410705974 autofree: lots of fixes 2020-09-05 12:00:35 +02:00
7bd2804ce9 all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
8dcc73993e net: remove old websocket module 2020-08-27 07:33:59 +02:00
fcc61a981d all: TypeSymbol.source_name (#6187) 2020-08-22 12:29:15 +02:00
fb148e0b61 x.websockets: new websockets module on top of x.net (#6189) 2020-08-22 00:50:38 +02:00
e8ff94fb8b net.html: simplify map setting (fixes compilation with tcc on aarch64) 2020-08-20 16:45:54 +03:00
7727aad90f net.http: fix windows compilation warning 2020-08-18 12:14:21 +03:00
40d91cc23b gg: handle bad image index 2020-08-18 01:08:58 +02:00
dab639662f http: fix new warnings (#6153) 2020-08-17 20:17:17 +02:00
bab5c21224 parser: warn when fixed-size ArrayInit doesn't have trailing {}. (#6137) 2020-08-16 04:54:05 +02:00
75212f9fab cgen: error if ForInStmt is not handled (#6131) 2020-08-14 21:01:43 +02:00
36eae1c175 builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
f6a85d5305 net.html: create html parser module (#6076) 2020-08-09 04:13:34 +02:00
34d03801de tests: run ws_test.v only with -d network 2020-08-07 10:14:40 +03:00
d56d622a43 checker: add checks for byte casting (#5917) 2020-08-01 23:17:00 +02:00
7b630f0350 ws: send unsolicited pong control frame on connect in ws_test.v (#6010) 2020-07-29 18:11:24 +03:00
2f2463a04c ws: make Client.state pub mut (#6009) 2020-07-29 17:52:33 +03:00
0539b2a7ea eventbus: removed check on publish, always use receiver, args, sender order for callbacks (#5940) 2020-07-28 18:48:25 +03:00
228486555c http: add pub to Method.str() 2020-07-28 12:34:29 +03:00
49a7a835c7 ws: update README.md (#5983) 2020-07-28 11:22:03 +03:00
28657fe7cb http: handle all of the http.Method values in .str() (#6002) 2020-07-28 10:39:10 +03:00
5d49034c31 http: backend_windows - use Method enum in ssl_do() 2020-07-28 14:35:21 +10:00
395e886b2e http/vweb: use Method enum & add helpers 2020-07-28 14:13:19 +10:00
fec9920b1a http: replace method string with an enum 2020-07-27 21:20:23 +02:00
3d19167628 http: fix cookies (part 2) 2020-07-26 22:01:25 +02:00
cf4235ab65 http: fix cookies 2020-07-26 15:54:21 +02:00
1f8ae5d12c websocket: add tests (#5967) 2020-07-25 22:25:31 +02:00
d83e2ee330 websocket: fix compilation after the more strict mutability check 2020-07-24 08:41:14 +03:00