60 Commits

Author SHA1 Message Date
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
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
Hitalo Souza
4e13ddf847
picoev,net.http: use Time.http_header_string method, to improve performance (#22619) 2024-10-22 16:39:48 +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
9703029dbe
picoev: add more logging of errors (#20558) 2024-02-25 22:35:13 +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
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
Alexander Medvednikov
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
Anton Zavodchikov
05db3533d3
picoev: use net C definitions (#12574) 2021-11-30 11:15:59 +02:00
Delyan Angelov
41de0c3c6a
ci: fix v -cc gcc -cstrict examples/pico/pico.v 2021-10-01 13:49:38 +03:00
Enzo
e3b65092d6
parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
Uwe Krüger
60c880a0cc
vlib: use malloc_noscan() where possible (#10465) 2021-06-15 14:47:11 +03:00
Emily Hudson
535dcac8fa
net: ipv6 support, merge unix+ip;[pack:x] attribute (#9904) 2021-06-13 23:53:38 +03:00
Anton Zavodchikov
b621595c05
picoev: error handling workaround (#9913) 2021-05-01 14:20:10 +03:00
Anton Zavodchikov
dee4904bee
pico: small refactor (#9857) 2021-04-24 13:21:30 +03:00
Delyan Angelov
d4f31412b7
v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
joe-conigliaro
2d73411396
checker: define missing C fn args & check C & JS args (#8770) 2021-03-05 17:41:11 +03:00
Nick Treleaven
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
Nick Treleaven
ea803113c3
checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Nick Treleaven
8fc33bc27d
checker: warn when casting number or a voidptr to reference type outside unsafe (#7900) 2021-01-05 20:07:45 +02:00