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

52 Commits

Author SHA1 Message Date
d0a64f2da7 net/openssl/websocket: implement io.Writer (#8980) 2021-02-27 10:29:18 +02:00
d81b6e7805 encoding.base64: change base64 function signatures to use []byte (#8970) 2021-02-26 08:22:12 +02:00
f54c1a5cc2 all: add strings.Builder.write_string and use write_string instead of write (#8892) 2021-02-22 13:18:11 +02:00
ac4791045f time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
f2ce72c2bf ci: split the websockets tests into their own CI .yml file 2021-02-21 16:35:27 +02:00
746dfe6317 ci: make vweb and websocket tests more robust to transient errors 2021-02-20 20:24:21 +02:00
4ccf991f61 checker: warn when casting a fixed array (use &arr[0] instead) (#8787) 2021-02-17 20:45:11 +01:00
4a0367a63c vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766) 2021-02-15 17:15:52 +02:00
ea803113c3 checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
75d85403a6 fmt: better ternary concat wrapping (#8379) 2021-01-28 11:23:48 +01:00
2d86c50d49 ci: fix autobahn integration tests job 2021-01-26 20:12:12 +02:00
e5a84719ca all: require calling optfn() ? / optfn() or {...} for fn optfn() ? {} 2021-01-26 16:43:17 +02:00
728344ff65 ci: fix v test-cleancode 2021-01-25 12:55:01 +02:00
39e5f6e9df x.websocket: websocket server fix and bring back server autobahn (#8291) 2021-01-23 16:56:38 +01:00
8b61891348 fmt: smarter if condition wrapping (#8201) 2021-01-23 10:33:22 +02:00
970c03987d ci: temporarily comment the server tests for autobahn (#8272) 2021-01-22 22:30:53 +02:00
d92f5c55ba net: use mut and refs as receivers consistently (#8205) 2021-01-20 11:11:01 +01:00
da93666cd8 x.websocket: bring back shift operators (#8197) 2021-01-19 10:42:59 +01:00
874885c87d x.websocket: fix weird shift operator bug in clang -prod flag (#8192) 2021-01-19 05:49:37 +01:00
53941c4a0a fmt: fix if cond break readability (#8132) 2021-01-16 02:12:17 +01:00
3289dff7ff checker: require explicit return none (#8060) 2021-01-12 11:43:55 +01:00
33694665f0 fmt: align each contiguous field of struct. not the whole. (#7981) 2021-01-12 04:38:43 +01:00
cc17f145c5 websocket: make compile with autofree (#8023) 2021-01-11 09:03:10 +01:00
cbe7740d97 fmt: do not generate import statements for auto imports (#7966) 2021-01-08 17:42:40 +01:00
f9a873736e x.websocket: server broadcast plus examples (#7922) 2021-01-06 15:43:54 +01:00
dd516858d4 fmt: align struct field comments (#7632) 2021-01-03 21:10:25 +01:00
ef6011b94c fmt: keep comments after struct decl default value (#7648) 2020-12-28 15:38:21 +02:00
b7a5dbf7b4 test-cleancode: add the rest of vlib/x/websocket/ 2020-12-28 07:25:46 +02:00
b65353794c ci: run vfmt over websocket_client.v and websocket_server.v 2020-12-28 07:14:06 +02:00
bd67b647f2 websocket: vfmt 2020-12-28 01:06:57 +01:00
3eb1550b43 x.websocket: Fixes wss connection failures to certain addresses (#7247) 2020-12-11 02:04:12 +02:00
d12f5f7ba0 x.websocket: vdoc (#7091) 2020-12-04 01:52:26 +01:00
7c394b9d58 x.websocket: docs and cleanup (#7078) 2020-12-02 04:02:53 +01:00
155aa6dac5 x.websocket: fix autobahn tests for wss and wss close behavor (#6901) 2020-11-21 15:45:45 +02:00
3c4b87bfec checker: add check against fn test_opt() ?{} 2020-11-20 15:12:53 +02:00
df4165c7ee docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
6d99f0af50 x.websocket: expose log field (#6866) 2020-11-18 18:22:44 +01:00
cd2a2cef25 vlib/net: add buffered IO, x.net -> net (#6754) 2020-11-15 22:54:47 +02:00
ba366b126f ws: handle close on client quit (#6776) 2020-11-08 20:36:42 +02:00
68cfbd6d66 websocket: fix autobahn test to always use latest v(#6780) 2020-11-08 17:46:06 +01:00
b47c23b73e x.websocket: fix the uri port parsing problem. Make failures more informative (#6775) 2020-11-07 18:14:33 +02:00
98e8894d90 x.websocket: more informative errors 2020-11-06 16:10:22 +02:00
8157f3c6ab websocket: get port of the uri (#6750) 2020-11-05 06:36:50 +01:00
aad122334b vlib: fix warnings due to the vfmt change 2020-10-17 16:26:56 +03:00
aa889b0edc ci: fix vlib/x/websocket tests 2020-09-27 11:10:56 +03:00
a160038e1a ci: re-enable autobahn tests (without autofree) (#6360) 2020-09-13 16:20:22 +02:00
3a146a6dbe checker: fix error pos on default value (#6338) 2020-09-09 15:34:41 +02:00
d33f68ff54 x.websocket: remove debuging leftover (#6264) 2020-08-30 19:35:47 +03:00
7bd2804ce9 all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
702a80fc5a x.net: fix new_tcp_socket() 2020-08-24 03:24:00 +02:00