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
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules ( #13034 )
2022-01-05 18:06:08 +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
Delyan Angelov
dab66593fc
vlib: run vfmt over vlib files, so that v doc -m vlib/
can run without warnings
2020-10-21 12:54:10 +03:00
Delyan Angelov
bfca55b87a
examples: fix v build-examples
2020-07-24 13:29:47 +03:00
Nick Treleaven
0b49e4db1c
v/checker.v: disallow pointer arithmetic for InfixExpr outside unsafe {} ( #5640 )
2020-07-03 18:10:10 +02:00
Ned Palacios
5ff7d07138
vdoc: fix sorting + other minor improvements
2020-06-19 10:36:45 +02:00
Sumeet Chhetri
442030a7c8
picoev: make compile, add header parsing
2020-06-07 01:23:30 +02:00
yuyi
5ae8853648
all: change f mut Foo
to mut f Foo
2020-06-04 10:35:40 +02:00
Alexander Medvednikov
0a6d709ce2
http: fix recent changes; picoev: make compile
2020-05-20 05:37:03 +02:00
Alexey
a333ac1888
all: remove redundant parentheses in if
statements
2020-03-29 10:08:42 +02:00