Commit Graph

32 Commits (eb9063bdb740b5e4cc086cbbcd835fd5179ae6df)

Author SHA1 Message Date
Alexander Medvednikov 80b35fe0c6
all: ~500 more byte=>u8 2022-04-17 12:14:29 +02:00
Alexander Medvednikov f293874c05
all: replace []byte with []u8 2022-04-17 12:14:28 +02:00
Alexander Medvednikov 7ecbca345f
all: byte => u8 2022-04-17 12:14:27 +02:00
Nick Treleaven c780de6282
checker: disallow 'small_unsigned == signed' (#13967) 2022-04-12 19:37:30 +03:00
yuyi d71fc0d13f
checker: fix error for cast to alias of reference struct (#13278) 2022-01-26 12:32:14 +02:00
Enzo e3b65092d6
parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
penguindark e4e6c90292
zip: read in memory (#10960) 2021-07-25 21:29:51 +03:00
Delyan Angelov 8a380f4699
tools: make `v test-cleancode` test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Delyan Angelov d4f31412b7
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795) 2021-04-19 19:01:47 +03:00
Delyan Angelov 9fcdf33501
szip: fix compilation errors with -Werror 2021-04-05 10:31:48 +03:00
Delyan Angelov 4cde74f120
checker: make the compiler stricter when checking pointers 2021-04-05 10:02:47 +03:00
Alexander Medvednikov 57e6138a61 all: remove byteptr and charptr; replace them with &byte and &char 2021-04-04 17:43:32 +03:00
Delyan Angelov 5ac9e39d44
szip: run vfmt, refactor test 2021-04-02 08:26:14 +03:00
koplenov 9f7cf5cc37
szip: add support for unpacking zip archives and simple zip files 2021-04-02 01:59:01 +02:00
StunxFS fd59182659
szip: fix doc-comments (#8911) 2021-02-23 09:43:19 +02:00
StunxFS d78c9476e9
szip: use enums instead of constants (#8905) 2021-02-22 20:02:45 +02:00
StunxFS ac1c4932e7
szip: change documentation style (#8883) 2021-02-22 14:59:36 +02:00
zakuro ac4791045f
time: consolidate the different sleep functions into time.wait(Duration) (#8853) 2021-02-21 17:05:03 +02:00
Delyan Angelov dd5b25a9f2 ci: fix sha1.v, sha1block_generic.v and szip.v 2020-12-20 18:28:40 +02:00
Delyan Angelov 3795aaab5c v test-fmt: reformat some skipped files, comment on the remaining ones 2020-10-15 00:39:09 +03:00
Daniel Däschle abc98c273c
parser: require assign on type alias (#6477) 2020-09-25 12:02:32 +02:00
Enzo 601d098b48
szip: make compile (#6314) 2020-09-06 15:04:27 +02:00
ka-weihe df45488e09
cgen: fix warnings (#5820) 2020-07-14 00:16:31 +02:00
Ned Palacios 36edd6295f
vlib: transfer intro to readme; normalize comments 2020-06-08 00:04:23 +03:00
yuyi dda875a9c8
all: unify const names to snake_case 2020-05-22 17:36:09 +02:00
yuyi 7f4cf08516
parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
Don Alfons Nisnoni 5ef2c947f7 szip: use `&zip` instead of `*zip` (#2301) 2019-10-12 12:46:33 +03:00
joe-conigliaro d4bae356ba compiler/vlib: add error for no new vars in loop ("_,_") & remove "." from errors 2019-09-25 17:59:50 +03:00
Vitor Oliveira 1a099c9284 vlib: fix several typos 2019-09-14 23:54:14 +03:00
Alexander Medvednikov 390394b56b string: make substr() copy the data, like in Java and C#; remove .cstr()
this makes managing memory used by strings much easier
V strings are now fully compatible with C strings
2019-07-22 17:03:45 +02:00
Alexander Medvednikov ecda895003 move zip C dependency to thirdparty/ 2019-07-15 19:30:53 +02:00
Paparoni Alvardo f27777af56 Add wrapper of https://github.com/kuba--/zip 2019-07-15 18:55:00 +02:00