75 Commits

Author SHA1 Message Date
Delyan Angelov
3271c728d5 docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols. 2025-07-02 15:45:47 +03:00
Laurent Cheylus
6cbffd53ba
picoev: fix documentation (#24811) 2025-06-29 12:59:14 +03:00
Laurent Cheylus
ce33cc490f
picoev: add implementation for OpenBSD using kqueue (#24801) 2025-06-28 08:13:53 +03:00
Delyan Angelov
a44ff7813a
picoev: enable running veb services on Termux 2025-01-24 11:34:03 +02:00
Delyan Angelov
d5aa37d8b7
picoev: fix for windows apps with veb in a thread, parallel to a webview, that opens a lot of file descriptors (#23492) 2025-01-17 01:03:49 +02:00
Emma
6b92f8fada
all: remove ancient deprecations (#23479) 2025-01-16 16:36:12 +02:00
Hitalo Souza
31d6c473da
picoev: fix the incompatible pointer type cast error in the C.epoll_wait call (#22785) 2024-11-07 17:11:36 +02:00
Delyan Angelov
6e9a66dbf3
picoev: extract common code to a trace_fd/1 function, cleanup 2024-10-29 18:32:34 +02:00
Delyan Angelov
3939737a8d
picoev: support -d picoev_verbose_errors, do not use any naked eprintln by default, since that is a low level module 2024-10-29 18:04:08 +02:00
Delyan Angelov
d133d30b60
ci: fix failing musl jobs after 2684ef9 (#22667) 2024-10-27 11:58:53 +02:00
Alexander Medvednikov
2684ef94e3 ci: test -os linux cross compilation on macOS 2024-10-26 18:10:47 +03:00
Hitalo Souza
4e13ddf847
picoev,net.http: use Time.http_header_string method, to improve performance (#22619) 2024-10-22 16:39:48 +03:00
yuyi
da3112e545
all: replace fn name '@xxx' with 'xxx' (#22506) 2024-10-12 22:17:02 +03:00
Delyan Angelov
ab862c4285
picoev: add -d support_wsl1 (workaround #22493) 2024-10-12 08:56:47 +03:00
Felipe Pena
98f66d803a
picoev: fix wrong return on listen failure (#22463) 2024-10-09 16:38:52 +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
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Rom
1eead82915
picoev: handle EAGAIN or EWOULDBLOCK quietly (#21480) 2024-05-10 11:19:20 +03:00
Hitalo Souza
43fd568874
picoev: remove fmt off tags (#20569) 2024-02-26 09:03:03 +02:00
Hitalo Souza
9703029dbe
picoev: add more logging of errors (#20558) 2024-02-25 22:35:13 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Hitalo Souza
ee3cd36760
picoev: renaming, doc (#20567) 2024-02-10 05:54:27 +03:00
Casper Küthe
d88ca11a4c
picoev, x.vweb: small fixes and backport changes from vweb (#20584) 2024-01-23 18:34:22 +02:00
Casper Küthe
7c310a1bd7
x.vweb, picoev: fix timeout event (#20377) 2024-01-04 12:05:39 +02:00
Casper Küthe
08189d649c
vweb2 (#19997) 2023-12-09 08:07:51 +03: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
Casper Küthe
a176021afe
picoev: improve raw mode, change fn signature for the raw_cb field to fn (mut Picoev, int) (#19817) 2023-11-11 09:36:52 +02:00
l-m
d1f044d089
picoev: implement raw mode (#19771) 2023-11-05 10:49:54 +02:00
Turiiya
690ec7d3a5
all: fix typos (#19693) 2023-10-30 03:28:34 +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
shove
07390ef4c4
net, net.http: fix C.FD_ISSET declaration (#19594) 2023-10-19 11:29:13 +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
jhuntos
7ca23f6316
picoev: add initial values for struct field callbacks, to fix new compiler notices (#19065)
Missing initial value for struct values
2023-08-06 07:09:16 +03:00
l-m
2fa177e310
picoev: bugfixes and UB mitigation (#18991) 2023-07-28 12:37:21 +03:00
Casper Kuethe
a43064af07
picoev, picohttparser: reimplement in V (#18506) 2023-07-12 09:40:16 +03:00
l-m
15cb343065
picoev: support for freebsd (#18492) 2023-06-20 09:04:07 +03:00
l-m
6208b31d9f
picoev: non breaking refactor (#18364) 2023-06-08 01:54:15 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
yuyi
17000ef7b6
checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +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
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
yuyi
db79888daf
picoev: restore struct Picoev definition (#15278) 2022-07-30 14:30:13 +03:00
yuyi
0bf23488dc
checker: check struct field's fn call (fix #15249) (#15257) 2022-07-29 19:00:51 +03:00
Alexander Medvednikov
9099594a49 all: wrap up unsafe { nil } (p. 3) 2022-07-21 21:01:30 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Ken
e43794ad61
picoev: remove unused #flag (#13311) 2022-01-28 20:36:41 +02:00