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

154 Commits

Author SHA1 Message Date
b772731b98 leb128: make decoding return the number of decoded bytes, in addition to the decoded value (#17912) 2023-04-09 10:32:49 +03:00
9957356a84 encoding.base32: change ? to ! (#17892) 2023-04-06 03:09:05 +02:00
39b3a0ca17 encoding: add an encoding.leb128 module with tests (#17880) 2023-04-05 11:53:25 +03:00
467a1b4435 fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
c8c70de87d docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
93ee6d107a encoding.base32: add missing documentation for all public functions (#16998) 2023-01-17 19:46:43 +02:00
b07e447764 encoding.html: add escape() function (#16666) 2022-12-13 22:10:57 +02:00
ef5be22f81 all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
c6158e4519 all: remove unnecessary IError() casts 2022-10-28 19:08:30 +03:00
098db89b85 encoding.csv: remove unnecessary IError() cast 2022-10-27 11:30:08 +03:00
51f4d99399 all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
fe597b7172 encoding.utf8: add is_number (#15931) 2022-10-01 11:01:51 +03:00
3d2588f101 cgen: parallel cc for much faster compilation using all CPU cores 2022-10-01 10:04:06 +03:00
51a92d170f encoding.base32: vfmt code 2022-09-27 16:29:44 +10:00
5415c4f75e encoding.base32: initial implementation 2022-09-27 16:25:50 +10:00
ea8b30fd91 encoding.utf8: add is_space (#15847) 2022-09-23 10:34:45 +03:00
bfdd6f1cf8 csv: minor cleanup in writer.v (#15633) 2022-09-01 21:23:18 +03:00
258ff73efd encoding.csv: re-encapsulate fields in Writer/Reader (fix #15558) (#15570) 2022-08-28 11:13:43 +03:00
5a834a2ef9 encoding.base58: remove one unnecessary map access per the most common BTC usages; implement encode_bytes, decode_bytes, encode_walpha_bytes, decode_walpha_bytes functions 2022-08-08 15:37:00 +03:00
42efc383d2 encoding.binary: fix function names in comments (#15317) 2022-08-02 00:30:06 +03:00
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
b4dedcae43 encoding.csv: generic serialization (#15097) 2022-07-16 22:21:05 +03:00
8ee614d3f8 encoding.binary: add unit tests and module documentation (#15000) 2022-07-09 15:52:19 +03:00
e505fcdac0 encoding.csv: update reader.v (#14807) 2022-06-21 08:31:47 +03:00
fc64f09f0b crypto.md5: improve performance of md5.blockblock_generic 2022-05-30 21:56:39 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
a2338dbb7c docs: document more builtin functions/methods (#14229) 2022-04-30 12:31:23 +03:00
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
fb192d949b all: replace []byte with []u8 2022-04-15 15:35:35 +03:00
c3ad4e2069 encoding.base64: use u8 2022-04-15 15:10:34 +03:00
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
38853568b4 encoding.csv: allow passing a custom delimiter to the new_reader function (#13910) 2022-04-03 19:13:43 +03:00
7231a3f135 vlib: add mut for the first parameter of builtin.copy, arrays.copy and crypto (#13702) 2022-03-09 20:26:00 +02:00
aa633dab41 utf8: fix typo in utf8_util.v (#13624) 2022-03-01 19:06:48 +02:00
37c151efe5 docs, builtin, encoding.csv: update error implementations (#13440) 2022-02-12 11:54:10 +02:00
d02c0636d8 encoding.hex: fix shift warning 2022-02-04 15:16:08 +02:00
a60b381d5e docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
6d97b0a407 checker: improve checking of a << b, when a and b are numbers (#12589) 2021-11-29 03:48:49 +03:00
87029e5707 encoding.base64: vfmt base64.c.v 2021-11-28 20:37:08 +02:00
31fe02de8c builtin,crypto: fix problems detected by -fsanitize=address,undefined and -fsanitize=memory 2021-11-28 20:35:18 +02:00
2984751a57 checker: fix the argument mismatch of fn call (#12479) 2021-11-16 17:19:02 +02:00
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
077c55d0c8 encoding.utf8: add pub fn is_letter(r rune) bool (#11547) 2021-09-20 21:16:50 +03:00
2ced845e30 arrays: add chunk and window functions (#11476) 2021-09-13 16:13:32 +03:00
83e2a84c21 encoding: add base58 support (#11288) 2021-08-24 06:22:46 +03:00
60f21f065f encoding.hex: remove strconv dependency (#11196) 2021-08-16 04:59:21 +03:00