MatejMagat305
6bf6a40e0c
crypto: add .free() and .reset() methods to reduce memory leaks with -autofree ( #16992 )
...
* Fix unsafe pointer
I was compile vab with '-prod' and it was needed to fix and it is of course warning
* Add files via upload
* reduce memory leak s sha512
* add method .free() and .reset() for some
2023-01-16 17:30:40 +02:00
yuyi
51f4d99399
all: change optional to result in most of the libraries ( #16123 )
2022-10-20 22:14:33 +03:00
Delyan Angelov
868d3e1008
ci: fix failing tests for mysql, crypto.rc4, strings
2022-04-15 20:51:04 +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
Alexander Medvednikov
59ed4be49a
all: update copyright year
2022-01-04 12:21:12 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode
test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
Lukas Neubert
ac2c3847af
all: update copyright to 2019-2021 ( #8029 )
2021-01-18 13:20:06 +01:00
Delyan Angelov
a4acb70c64
vfmt: remove rc4.v from known_failing_exceptions
2020-11-11 18:19:03 +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
03258db26d
ci: other mut vlib test fixes
2020-09-27 11:18:55 +03:00
Uwe Krüger
8a46911725
checker: check if mut function arg is declared as mut ( #5579 )
2020-06-30 14:19:22 +02:00
Emily Hudson
c84bafbdae
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
2020-06-27 21:46:04 +02:00
yuyi
5ae8853648
all: change f mut Foo
to mut f Foo
2020-06-04 10:35:40 +02:00
yuyi
7f4cf08516
parser: check (mut f Foo)
syntax
2020-05-17 13:51:18 +02:00
Delyan Angelov
fb97c2e01e
examples: fix path_tracing.v compilation, using (*ptr) = expression
2020-04-23 12:28:16 +03:00
spaceface777
ef8c1203b4
cleanup: replace C for loops with range
2020-02-24 17:55:16 +01:00
joe-conigliaro
7f709c3285
update copyright years
2020-02-03 05:00:36 +01:00
joe-conigliaro
2897bac549
crypto: remove extraneous casts & rename rand_lin to rand_linux
2020-01-23 22:49:13 +01:00
joe-conigliaro
59378dce46
compiler/vlib: replace substr/left/right with [start..end]
everywhere
2019-10-27 10:03:15 +03:00
joe-conigliaro
c069525e8c
crypto.[md5/rc4/sha1]: remove extraneous casts
2019-09-26 14:57:31 +03:00
joe-conigliaro
8974aa4513
compiler/vlib: change _ :=
to _ =
and disable _ :=
2019-09-25 15:10:45 +03:00
joe-conigliaro
f077fbd32d
vlib: change [0;n]
to [0].repeat(n)
2019-09-15 12:26:05 +03:00
Alexander Medvednikov
1c6d51f271
remove u8 and i32 from tests and examples
2019-09-02 15:02:25 +03:00
joe-conigliaro
511a3d3901
vlib.crypto+other: fix mut args
2019-08-07 13:37:07 +02:00
joe-conigliaro
0bcc53c366
vlib: fix mutable args
2019-08-07 09:53:33 +02:00
Joe Conigliaro
bfddb9a80f
make array.hex() use lowercase
2019-08-03 08:23:13 +02:00
joe-conigliaro
2bdbc327d9
vlib.crypto: add last commit to help track changes. ( #1426 )
2019-08-02 06:37:19 +02:00
joe-conigliaro
920ac3f92e
crypto.rc4 module
2019-07-26 16:48:49 +02:00