Maciej Obarski
|
7bd2804ce9
|
all: automatic error propagation in place of "or { return(err) }"
|
2020-08-29 01:58:03 +02:00 |
Delyan Angelov
|
276c1de190
|
unsafe: tag with unsafe{} some more pointer manipulations
|
2020-07-22 21:42:51 +03:00 |
Delyan Angelov
|
770ffa1ebd
|
crypto.rand: fix linux/solaris rand.read() compilation
|
2020-07-05 01:33:43 +03:00 |
Emily Hudson
|
c84bafbdae
|
vlib,cgen: cleanup array inits using `.repeat() instead of new init syntax
|
2020-06-27 21:46:04 +02:00 |
ka-weihe
|
13c68eb81e
|
rand: fix warnings
|
2020-06-02 06:39:38 +02:00 |
Delyan Angelov
|
97b9ce04a4
|
crypto.rand: cleanup test, make it less likely to fail in CI
|
2020-06-01 07:49:52 +03:00 |
yuyi
|
dda875a9c8
|
all: unify const names to snake_case
|
2020-05-22 17:36:09 +02:00 |
Alexander Medvednikov
|
cd07429cc1
|
rand: fix compilation on linux
|
2020-05-20 21:14:17 +00:00 |
Alexander Medvednikov
|
83552a0d58
|
array: replace make() with the new init syntax
|
2020-04-26 17:52:27 +02:00 |
Alexander Medvednikov
|
153ac230ec
|
tests: use new array init syntax, fix mutability
|
2020-04-26 11:56:30 +02:00 |
yuyi
|
541b058e90
|
all: use `a !in b` instead of `!(a in b)`
|
2020-04-26 06:39:23 +02:00 |
Alexey
|
e1739549b2
|
crypto: fix `rand` module
|
2020-04-14 21:03:02 +02:00 |
Alexander Medvednikov
|
f76931c01e
|
cache builtin modules
|
2020-04-10 18:11:43 +02:00 |
Delyan Angelov
|
ba088056ed
|
solaris: make 'v test-compiler' pass (stage 2)
|
2020-03-21 09:48:02 +01:00 |
joe-conigliaro
|
7583c350b8
|
compiler/math.bits: use max u64 consts
|
2020-02-09 09:25:27 +01:00 |
joe-conigliaro
|
7f709c3285
|
update copyright years
|
2020-02-03 05:00:36 +01:00 |
joe-conigliaro
|
8bd17c8016
|
crypto.rand: update slice method to slice syntax & fix typo in error
|
2020-02-02 02:50:46 +01:00 |
joe-conigliaro
|
2897bac549
|
crypto: remove extraneous casts & rename rand_lin to rand_linux
|
2020-01-23 22:49:13 +01:00 |
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
Delyan Angelov
|
7882312697
|
rename $if mac => $if macos , _mac.v => _darwin.v
|
2020-01-09 11:12:35 +01:00 |
João Victor Oliveira Couto
|
5a8c07dcf5
|
strings: builder: write_b()
|
2019-12-06 23:02:09 +03:00 |
Alexander Medvednikov
|
e9e931fe4a
|
force C function definitions
|
2019-11-24 12:14:22 +03:00 |
Don Alfons Nisnoni
|
ee6ec3faf3
|
crypto: fix a typo
|
2019-10-29 19:59:55 +03:00 |
joe-conigliaro
|
580abe0de4
|
lower/snake case consts & enums
|
2019-10-24 14:48:20 +03:00 |
Alexander Medvednikov
|
5ef4b2064f
|
windows: _win.v => windows.v
|
2019-10-23 12:21:33 +03:00 |
joe-conigliaro
|
f8fefd5a60
|
urllib: rem underscore methods from; add strings index_bytes
|
2019-10-10 20:04:11 +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 |
Alexander Medvednikov
|
d2d75f3824
|
parser: do not allow "int?", only "?int"
|
2019-09-23 23:17:06 +03:00 |
joe-conigliaro
|
d80a3365c4
|
math.bits: add some more helpers, to be used in upcoming biginteger
|
2019-09-20 17:39:36 +03:00 |
joe-conigliaro
|
486b3d2f92
|
crypto.rand: fix rand test from failing sometimes
|
2019-09-19 13:12:40 +03:00 |
joe-conigliaro
|
b9cc6535f6
|
crypto.rand: rename read_u64 to int_u64 + clean up
|
2019-09-18 16:12:16 +03:00 |
joe-conigliaro
|
32ad33558d
|
crypto.rand: add PRNG function read_u64
|
2019-09-17 22:03:54 +03:00 |
joe-conigliaro
|
5dcfda0600
|
crypto.rand: improve test to actually check for difference in data
|
2019-09-03 16:10:26 +03:00 |
Alexander Medvednikov
|
7fd9827318
|
all: add missing includes
|
2019-08-24 02:48:47 +03:00 |
Alexander Medvednikov
|
f61b14584a
|
remove "import const" everywhere
|
2019-08-23 00:09:03 +03:00 |
Emily Hudson
|
802ff1d012
|
compiler: scoped defer + build tests with msvc
|
2019-08-07 17:51:21 +02:00 |
joe-conigliaro
|
1202631fa6
|
crypto.rand module
|
2019-07-31 03:24:12 +02:00 |