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

48 Commits

Author SHA1 Message Date
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
9c8769503f time: add microsecond precision to Time struct 2020-06-07 16:19:09 +03:00
13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
5ae8853648 all: change f mut Foo to mut f Foo 2020-06-04 10:35:40 +02:00
076089d3c5 checker: apply stricter type checks to function args and return types 2020-06-01 21:15:59 +02:00
4fcabb71c4 os: implement cp for nix 2020-06-01 21:11:40 +02:00
4956ca62e3 websocket: move .nonce_size to pub mut: 2020-06-01 20:37:24 +03:00
328a235f94 websocket: add Client.nonce_size field 2020-06-01 20:31:58 +03:00
ae8f7cf569 tests: fix some tests, that failed due to the stricter immutable checks 2020-06-01 18:24:38 +03:00
04ca7efc0c websocket: fix compilation of client.v 2020-05-28 01:38:54 +03:00
013fdb8a4b checker: restrict numeric promotions to cases where no data is lost 2020-05-27 05:42:48 +02:00
145b125155 websocket: make compile 2020-05-26 12:50:37 +02:00
7f4cf08516 parser: check (mut f Foo) syntax 2020-05-17 13:51:18 +02:00
2574dce174 all: fix remaining []array warnings 2020-04-26 16:25:54 +02:00
9f4d498ff1 all: updateimport () and []array 2020-04-26 13:49:31 +02:00
f3e3d7e0c5 websocket: update to work with latest V 2020-04-24 07:32:51 +02:00
4e1abc8503 all: remove commas between enum vals 2020-04-23 01:16:16 +02:00
3521b7ff89 websocket: fmt example + minor fixes 2020-04-08 21:21:58 +02:00
6f8f8d7b1b websocket: eventbus and other cleanup 2020-04-08 21:19:01 +02:00
b28ab2511c websocket: move library files to root of module 2020-04-08 19:44:30 +02:00
8426db7fe5 copy thecodrr/vws to vlib/net/websocket 2020-04-08 14:22:31 +02:00