Nacho Verdón
42efc383d2
encoding.binary: fix function names in comments ( #15317 )
2022-08-02 00:30:06 +03:00
Nacho Verdón
9561fb406e
encoding.binary: add functions to read/write with an offset and at the end of the array, split files by endianness ( #15301 )
2022-08-01 08:20:14 +03:00
Ken
3075e35237
encoding.csv: handle bools ( #15103 )
2022-07-17 10:54:36 +03:00
boris-741
b4dedcae43
encoding.csv: generic serialization ( #15097 )
2022-07-16 22:21:05 +03:00
Subhomoy Haldar
8ee614d3f8
encoding.binary: add unit tests and module documentation ( #15000 )
2022-07-09 15:52:19 +03:00
Ulises Jeremias Cornejo Fandos
e505fcdac0
encoding.csv: update reader.v ( #14807 )
2022-06-21 08:31:47 +03:00
Delyan Angelov
fc64f09f0b
crypto.md5: improve performance of md5.blockblock_generic
2022-05-30 21:56:39 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! ( #14366 )
2022-05-13 06:56:21 +03:00
David 'Epper' Marshall
a2338dbb7c
docs: document more builtin
functions/methods ( #14229 )
2022-04-30 12:31:23 +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
c3ad4e2069
encoding.base64: use u8
2022-04-15 15:10:34 +03:00
Alexander Medvednikov
d4a0d6f73c
all: byte => u8
2022-04-15 14:58:56 +03:00
StunxFS
38853568b4
encoding.csv: allow passing a custom delimiter to the new_reader
function ( #13910 )
2022-04-03 19:13:43 +03:00
Nick Treleaven
7231a3f135
vlib: add mut
for the first parameter of builtin.copy, arrays.copy and crypto ( #13702 )
2022-03-09 20:26:00 +02:00
Ikko Ashimine
aa633dab41
utf8: fix typo in utf8_util.v ( #13624 )
2022-03-01 19:06:48 +02:00
Tim Basel
37c151efe5
docs, builtin, encoding.csv: update error implementations ( #13440 )
2022-02-12 11:54:10 +02:00
Delyan Angelov
d02c0636d8
encoding.hex: fix shift warning
2022-02-04 15:16:08 +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
Delyan Angelov
6d97b0a407
checker: improve checking of a << b, when a and b are numbers ( #12589 )
2021-11-29 03:48:49 +03:00
Delyan Angelov
87029e5707
encoding.base64: vfmt base64.c.v
2021-11-28 20:37:08 +02:00
Delyan Angelov
31fe02de8c
builtin,crypto: fix problems detected by -fsanitize=address,undefined and -fsanitize=memory
2021-11-28 20:35:18 +02:00
yuyi
2984751a57
checker: fix the argument mismatch of fn call ( #12479 )
2021-11-16 17:19:02 +02:00
playX
c1aa782a6c
js,checker: fix some modules build for v -b js self
, fix or block
check in ast.CallExpr ( #12231 )
2021-10-19 12:11:54 +03:00
ChAoS_UnItY
077c55d0c8
encoding.utf8: add pub fn is_letter(r rune) bool
( #11547 )
2021-09-20 21:16:50 +03:00
ChAoS_UnItY
2ced845e30
arrays: add chunk and window functions ( #11476 )
2021-09-13 16:13:32 +03:00
Adam Oates
83e2a84c21
encoding: add base58 support ( #11288 )
2021-08-24 06:22:46 +03:00
Miccah
60f21f065f
encoding.hex: remove strconv dependency ( #11196 )
2021-08-16 04:59:21 +03:00
Miccah
ea4f6fd48f
encoding: add a hex sub-module ( #11193 )
2021-08-15 21:42:51 +03:00
Delyan Angelov
34d39ccb64
builtin: fix leak in rune.str(), fix leaks in most assert x == y statements in tests ( #11091 )
2021-08-13 18:37:34 +03:00
Delyan Angelov
7d3476cbca
ci: fix tests-sanitize-address-clang job (regression after 9995f6c
)
2021-08-07 14:37:51 +03:00
Sebastian Schicho
9995f6cca1
encoding.base64: speed up encoding and decoding ( #11055 )
...
* add new function headers
* new encoding function
* rename to decode_micro and add helper functions
* implement new decoding function
* add test for buffer to buffer decoding
* - add notice to GO code
- v fmt base64.v
* implement new decoding function
* fix base64_memory_test.v by commenting a few lines
* vfmt base64.v
* add some more asserts to base64_memory_test.v
* remove unused decoding function
* add bounds check, when detecting the padding
* use union for storing the decoded data
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-08-07 00:09:55 +03:00
shadow
66bc8bc0cb
vlib: remove many deprecated functions ( #10972 )
2021-07-28 09:22:19 +03:00
Daniel Däschle
0f9537ece5
all: remove ustring ( #10630 )
2021-07-03 20:14:09 +03:00
Uwe Krüger
60c880a0cc
vlib: use malloc_noscan()
where possible ( #10465 )
2021-06-15 14:47:11 +03:00
yuyi
9a9d539e6f
csv: fix csv fields with double quotes ( #10399 )
2021-06-10 19:24:20 +03:00
Uwe Krüger
bd467f94ab
encoding: append 0
to strings for compatibility ( #10249 )
2021-05-29 16:31:52 +03:00
Enzo
a639f94050
utf8: format utf8_util.v ( #10135 )
2021-05-19 13:03:43 +03:00
ScriptBoy2077
4974fd09e5
utf8: reverse() to handle unicode strings ( #10133 )
2021-05-19 12:24:08 +03:00
Henrique
e0a3c5384f
csv: fix parse error of last empty field on unquoted line ( #10083 )
2021-05-13 17:51:07 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode
test everything by default ( #10050 )
2021-05-08 13:32:29 +03:00
ChAoS_UnItY
d7a64bbc8a
encoding.utf8: fix len and ulen and optimize raw_index ( #9682 )
2021-04-12 04:58:03 +02:00
penguindark
cca06fce90
encoding.utf8: remove const unicode_con_table_up_to_low table ( #9672 )
2021-04-11 10:28:19 +03:00
ChAoS_UnItY
acb58d4923
encoding.utf8: add support for indexing a utf8 str ( #9670 )
2021-04-11 09:04:18 +03:00
penguindark
9aabf222fe
encoding.utf8: fix a bug in up_low ( #9610 )
2021-04-05 21:28:21 +03:00
Atakan Yenel
ab6e0ed0b3
add custom errors to encoding lib ( #9513 )
2021-03-30 15:27:26 +03:00
ka-weihe
f885c7cea9
tests: fix three tests with address errors ( #9441 )
2021-03-24 00:01:29 +02:00
Alexander Medvednikov
2f1810634e
checker: do not allow direct initialization of builtin types (s := string{})
2021-03-13 18:20:46 +03:00
yuyi
fbc02cbc54
csv: fix reader_test.v ( #9204 )
2021-03-09 03:53:02 +01:00