1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

42 Commits

Author SHA1 Message Date
yuyi
f6844e9766
all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
yuyi
c3548c9413
tests: omit testsuite_begin/end() optional (#15871) 2022-09-25 10:29:25 +03:00
yuyi
41dbd12bc4
tests: make error handling the same as the main function (#15825) 2022-09-21 19:45:43 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Larpon
0ec1c8d9f0
szip: expose zip_folder (#14356) 2022-05-11 16:48:41 +03:00
Dialga
4400f9891e
szip: fix extracting dot folders (#13387) 2022-05-09 07:45:36 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03: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
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
Delyan Angelov
969e0dce20
szip: cleanup after tests 2021-11-28 15:30:26 +02:00
Enzo
e3b65092d6
parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
Alexander Medvednikov
858ba25d55 os: make chdir() return error 2021-08-28 09:35:39 +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
yuyi
64fa5e6383
szip: fix szip_test (#6980) 2020-11-27 21:20:43 +01: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