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

34 Commits

Author SHA1 Message Date
017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
f6844e9766 all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
d679146a80 fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
c780de6282 checker: disallow 'small_unsigned == signed' (#13967) 2022-04-12 19:37:30 +03:00
e4dfffd70b toml: remove math import (used only for math.max and math.max_u32) 2022-04-11 10:22:31 +03:00
1938bc48e7 toml.scanner: make end_of_text, at, next and peek return u32 (#13998) 2022-04-11 10:12:04 +03:00
156efec278 toml: deprecate input.auto_config() and toml.parse() (#13770) 2022-03-18 22:33:51 +02:00
54b0a2aa62 toml: fix toml.scanner.new_simple/1 to *always* create a scanner, based on text, not a file path 2022-03-18 16:14:44 +02:00
9d0a5942ac builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
64028eedb8 toml: fix comment ends with crlf (#13097) 2022-01-08 19:16:32 +02:00
59357e873d math: move the math.mathutil generic min/max/abs fns to math (#13042) 2022-01-05 18:02:20 +02:00
ee858568ff toml: ignore CRLF just like LF in line comments, support VTEST_HIDE_OK=1 in tests. 2022-01-03 12:54:16 +02:00
f50f409ad7 toml: simplify bool keys in scanner and parser (#12625) 2021-11-30 14:26:47 +02:00
14424100e8 toml: comply with BurntSushi @eb989e5 (#12616) 2021-11-29 22:15:22 +02:00
1d8ece7ac0 toml: fix, test and optimize nan and inf values (#12592) 2021-11-27 21:26:28 +02:00
f1dd0e3355 toml: add value decoding (#12521) 2021-11-20 19:48:44 +02:00
a894a6cf36 toml: fix parsing of alphanumeric keys (#12517) 2021-11-19 20:34:21 +02:00
7cdc906683 toml: fix scanning of short unicode escapes (#12491) 2021-11-17 17:24:40 +02:00
1a54817c81 toml: parse formatting (#12374) 2021-11-04 09:15:50 +02:00
45c938bdec toml: streamline scanner.at() return type, fixes #12344 (#12370) 2021-11-03 10:18:09 +02:00
99fd84dfe4 toml: fix hex values starting with a, e or E and comments ending with crlf (#12367) 2021-11-02 19:07:27 +02:00
a987440e2f toml: add UTF header support, add BOM tests (#12326) 2021-10-28 16:38:49 +03:00
c526752419 toml: remove unused enum (#12304) 2021-10-26 16:58:58 +03:00
9a3967bd7d toml: improve comment support (#12305) 2021-10-26 16:58:05 +03:00
8273c0582b toml: check for illegal characters, fix all related skipped tests (#12270) 2021-10-22 19:57:32 +03:00
cc2ef4188d toml: support parsing (+/-)nan and (+/-)inf (#12256) 2021-10-22 08:16:47 +03:00
8705db5844 toml: fix scanner escape collecting in literal strings (#12022) 2021-09-30 16:04:21 +03:00
e3d3727c0c toml: fix 7 escape tests (#12017) 2021-09-29 19:28:09 +03:00
4ff061927b toml: easier scanner configuration (#12016) 2021-09-29 14:53:06 +03:00
bc4aad5fb4 toml: add quote details to ast.Quoted (#11997) 2021-09-28 17:40:03 +03:00
2ee873d6ca toml: fix invalid bad-multiline test (#11996) 2021-09-27 17:42:20 +03:00
5541ec8670 vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00