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

70 Commits

Author SHA1 Message Date
8b962f8446 checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
b01f71d9da io: migrate the Reader API to Result instead of Option (#15229) 2022-08-08 02:33:25 +03:00
fd1b6efea6 net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364) 2022-08-07 10:40:05 +03:00
0bf23488dc checker: check struct field's fn call (fix #15249) (#15257) 2022-07-29 19:00:51 +03:00
Ken
1ae11b41e7 net.websocket: make logger configurable (#14998) 2022-07-09 17:39:07 +03:00
Ken
a50e0f0522 net.websocket: allow timeout to be configured (#14941) 2022-07-05 06:40:23 +03:00
de136f6baf checker: improve pub struct check (fix #14446) (#14777) 2022-06-19 17:42:22 +03:00
5efa67906c cgen: sort const array init order (fix #14748) (#14749) 2022-06-13 21:09:24 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
d8a5df9044 checker: error if smaller signed == unsigned (#14078) 2022-04-25 12:09:25 +03:00
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
ae6a25f44e websocket, utf: u8 fixes 2022-04-15 16:24:02 +03:00
af73e195da net: byte fixes 2022-04-15 15:55:39 +03:00
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
014c3c97f0 all: byte => u8 2022-04-15 14:45:52 +03:00
8788512c4d checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01) 2022-04-12 14:56:02 +03:00
114a341f5f rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
9d0a5942ac builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
09955b7ce8 net.websocket: fix server not listening for IPv4 (#12717) 2021-12-06 11:10:25 +02:00
6d97b0a407 checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
1ba839dc3b openssl: change read_into to read (#12251) 2021-10-21 14:13:04 +03:00
efa8dcf4d2 time: turn Time.unix to i64, so it can represent times before 1970-01-01, fix time operators, add more tests (#11050) 2021-08-04 13:12:02 +03:00
66bc8bc0cb vlib: remove many deprecated functions (#10972) 2021-07-28 09:22:19 +03:00
ec973f5c6e x.websocket: move to net.websocket module (#10648) 2021-07-03 02:56:00 +03: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
36eae1c175 builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +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
49a7a835c7 ws: update README.md (#5983) 2020-07-28 11:22:03 +03: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
ee349691f9 v/checker: Warn about pointer indexing outside unsafe {} (#5918) 2020-07-22 20:28:53 +03:00
ebbc7bd471 examples: fix crash when running examples/ws/client.v outside of valgrind 2020-07-22 18:42:57 +03:00
b0d76c59f7 websocket utf8: move utf8 functions from websocket to encoding.utf8, add utf8_test.v (4/4) (#5924) 2020-07-22 18:36:24 +03:00
635c99e2ed ws: obtain port when not specified (#5922) 2020-07-22 17:35:30 +03:00
0d8ebf5845 websocket: use log instead submodule logger (1/4) (#5921) 2020-07-22 17:31:22 +03:00
0af415fa28 vlib: add unsafe{} wrappers to C. fn calls, to allow compiling with -prod again 2020-07-21 09:05:31 +03:00
6dbc143d67 websocket: move ws example to examples folder (#5875) 2020-07-21 00:55:58 +02:00
d28a1042a0 net.http, net.websocket: allow importing both in the same app 2020-07-12 15:21:40 +03:00
2e275731a3 websocket: fix compilation 2020-07-11 12:41:37 +02:00
649821be4c all: use v_realloc 2020-07-11 12:37:54 +02:00
1416c70e73 net.websocket: fix building client.v 2020-07-05 18:44:39 +03:00
3b067f5f85 all: experimental locked concurrency support, part 1 (#5637) 2020-07-04 12:44:25 +02:00
0b49e4db1c v/checker.v: disallow pointer arithmetic for InfixExpr outside unsafe {} (#5640) 2020-07-03 18:10:10 +02:00
e649cf84e3 rand: reorganize: phase 2 2020-06-09 15:06:07 +02:00