Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test
, v test-self
etc); use the new // vtest build:
syntax to mark the tests instead ( #23918 )
2025-03-13 19:51:51 +02:00
Delyan Angelov
55f482bb63
ci: update linux image runners from ubuntu-20.04
to ubuntu-24.04
( #23706 )
2025-02-17 07:37:59 +02:00
Felipe Pena
b0772193f8
vlib: enable more satnitized memleak detection runs without false positives on the CI ( #23200 )
2024-12-20 16:09:16 +02:00
Felipe Pena
62bdf990d0
checker: fix missing or-block check for callexpr ( fix #22835 ) ( #22840 )
2024-11-13 12:30:06 +02:00
yuyi
e97036a25b
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159 ) ( #22547 )
2024-10-17 11:04:23 +03:00
Jacob Davis
3ec4939506
net.websocket: use retrying on EINTR in Client.listen() ( #22279 )
2024-09-22 07:48:53 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner ( fix #22223 , fix #22026 ) ( #22232 )
2024-09-17 09:47:38 +03:00
Delyan Angelov
efe709eb34
ci: run npx prettier --write **.yml
; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder
2024-09-12 11:43:03 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183 ) ( #22185 )
2024-09-10 11:25:56 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields ( #22025 )
2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line ( #22016 )
2024-08-09 14:55:58 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields ( #21995 )
2024-08-05 20:23:39 +03:00
Delyan Angelov
e906033e4e
ci: use docker compose
instead of docker-compose
(see https://github.com/orgs/community/discussions/116610 ) ( #21992 )
2024-08-03 19:50:52 +03:00
Turiiya
712a9125bf
all: use apt
over apt-get
for common APT subcommands ( #21359 )
2024-04-26 21:01:52 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times ( #21293 )
2024-04-17 00:33:37 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module ( #21183 )
2024-04-12 13:53:02 +03:00
el-gringo
5be5cd9be1
websocket: enable using an already existing connection (from vweb or another http server) ( #20103 )
2023-12-19 14:16:07 +02:00
Kim Shrier
60cdc6a728
net.websocket: fix the notice messages about the initialization of references outside unsafe mode ( #20038 )
2023-11-30 15:30:35 +02:00
Alexander Medvednikov
f09826e928
all: unwrap const() blocks
2023-11-25 10:02:51 +03:00
Joe C
757929392e
all: update attributes to use new syntax
2023-11-15 16:16:01 +11:00
JalonSolov
01022e918e
flag,json,net: handle C calls in .v files (part of enabling -W impure-v
as default) ( #19779 )
2023-11-06 14:27:00 +02:00
Delyan Angelov
9cb8eac48a
net: use conv.hton* consistently, instead of $if tinyc { conv.hton16(port) } $else { u16(C.htons(port)) }
2023-10-20 06:52:03 +03:00
yuyi
55ca8d8d8e
fmt: align the custom values of the enum fields ( #19331 )
2023-09-12 14:44:38 +03:00
Kim Shrier
2d4ccf6829
vlib: replace macros that resolve to __builtin_bswapnn calls for tcc ( #19305 )
...
The tcc compiler does not have __builtin_bswap64, __builtin_bswap32,
and __builtin_bswap16 functions. The various hton and ntoh macros
resolve down to these functions. When compiling with tcc, we should
be using the analogous functions from net.conv.
2023-09-08 07:42:28 +03:00
Wertzui123
64cbbea074
net.websocket: fix typo in docs (ws -> wss) ( #19143 )
2023-08-15 13:48:57 +03:00
Wertzui123
387f717004
websocket: initialize function pointers with nil ( #19105 )
2023-08-11 13:49:29 +03:00
Kim Shrier
fd81bae361
net.websocket: remove unnecessary manual frees of static strings ( #19009 )
2023-07-31 21:23:33 +03:00
Alexander Medvednikov
c45c36ccce
orm: improve an fkey error a bit
2023-05-24 18:30:44 +02:00
kbkpbot
c8d2098a14
net.websocket: make thread safe/concurrent ( #18179 )
2023-05-18 11:27:00 +02:00
Turiiya
67e3061ea1
net: fix typos ( #18164 )
2023-05-12 09:31:27 +03:00
Wertzui123
77b6bc1c1a
net.websocket: fix a typo (allready -> already) ( #17512 )
2023-03-06 10:05:17 +02:00
Delyan Angelov
4c13a4c22c
ci: make websocket_test.v more robust (wait till the websocket server are open for connections, instead of relying on fixed time.sleep delays, which are not enough on the CI)
2023-02-25 19:39:14 +02:00
Delyan Angelov
cf47a5f978
ci: fix websocket_test.v after a7ae3bf
2023-02-25 14:46:31 +02:00
Delyan Angelov
a7ae3bfa78
ci: fix all ports for the servers started in websocket_test.v
2023-02-25 14:36:54 +02:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell ( #17332 )
2023-02-16 11:43:39 +02:00
starryskye
2d3508c872
net.websocket: call close event ( #17300 )
2023-02-13 14:28:41 +02:00
ChAoS_UnItY
0b7a1cd7ce
v: forbid local variable names, shadowing imported module names ( #17197 )
2023-02-03 09:09:41 +02:00
Alexander Medvednikov
aba7bcde85
checker: turn the pointer map notice into a warning and fix all code using it
2023-01-15 22:19:25 +01:00
JalonSolov
aaf3e25c3f
websocket: simplify and better handle handshake ( #16829 )
2023-01-01 09:04:09 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Alexander Medvednikov
e81e0ac708
fmt: replace go
with spawn
2022-11-05 10:46:40 +03:00
Makhnev Petr
2f3c4c6d91
v fmt: fix extra space for lock/rlock without expressions ( #16103 )
2022-10-19 12:18:21 +03:00
yuyi
f6844e9766
all: change optional to result of io ( #16075 )
2022-10-16 09:28:57 +03:00
Swastik Baranwal
b584e1df98
checker: allow EnumName(number)
casts only inside unsafe{}
blocks ( #15932 )
2022-10-02 22:39:11 +03:00
spaceface
5c716afb39
net.ssl: switch to mbedtls over openssl ( #15841 )
2022-09-22 16:50:34 +03:00
Alfie Ranstead
27305d1a5f
net.websocket: swap unsafe use of nil for a safe default value ( #15836 )
2022-09-22 08:00:03 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. ( fix : #15741 ) ( #15752 )
2022-09-15 07:59:31 +03:00
Vincenzo Palazzo
b01f71d9da
io: migrate the Reader
API to Result
instead of Option
( #15229 )
2022-08-08 02:33:25 +03:00
Emily Hudson
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
yuyi
0bf23488dc
checker: check struct field's fn call ( fix #15249 ) ( #15257 )
2022-07-29 19:00:51 +03:00