Delyan Angelov
|
54dd510ace
|
strconv: fix compilation with -cc gcc -cstrict -prod
|
2021-07-15 01:05:00 +03:00 |
|
Flinner
|
1486258591
|
strconv: fix atoi returning 0 on large strings (#10635)
|
2021-07-02 10:39:57 +03:00 |
|
Delyan Angelov
|
a3f876d683
|
strconv: use [if debug_strconv?] for fn assert1
|
2021-06-22 10:33:48 +03:00 |
|
Delyan Angelov
|
aea23e8a40
|
strconv: fix fxx_to_str_l_parse/fxx_to_str_l_parse_no_dot returning s without cloning
|
2021-06-19 07:48:46 +03:00 |
|
Delyan Angelov
|
de384f1cc8
|
strconv: vfmt everything
|
2021-06-18 17:59:56 +03:00 |
|
Delyan Angelov
|
5dff8dc097
|
v.fmt: keep [ ... \n 123, // end of line comment \n ... ] as is
|
2021-06-18 16:43:03 +03:00 |
|
Uwe Krüger
|
60c880a0cc
|
vlib: use malloc_noscan() where possible (#10465)
|
2021-06-15 14:47:11 +03:00 |
|
Uwe Krüger
|
0ff2d9ef78
|
strconv: fix memory corruption (#10250)
|
2021-05-29 16:24:09 +03:00 |
|
penguindark
|
d8d05e0106
|
all: new string interpolation in pure V (#10181)
|
2021-05-24 05:20:45 +03:00 |
|
penguindark
|
d60a55d30b
|
strconv: float functions cleaning and speed optimization (#10076)
|
2021-05-11 08:09:17 +03:00 |
|
penguindark
|
e9d7ff751f
|
strconv: new decimal digits counts function (#10029)
|
2021-05-08 00:24:50 +03:00 |
|
penguindark
|
99a2fd76c8
|
strconv: separate v_sprintf (#10007)
|
2021-05-05 04:12:18 +03:00 |
|
penguindark
|
a2014f86b7
|
strconv: new faster atof function (#9903)
|
2021-04-28 07:42:22 +03:00 |
|
Enzo
|
4eb8072882
|
parser: remove ++/-- exception for some modules (#9895)
|
2021-04-27 01:41:42 +03:00 |
|
penguindark
|
bfe0a7887f
|
builtin,strconv: fix and optimize utf8 and formatting functions (#9874)
|
2021-04-25 17:57:21 +03:00 |
|
spaceface
|
73352583e7
|
ci: fix all -cstrict warnings with gcc and clang (#9792)
|
2021-04-19 15:38:48 +03:00 |
|
Delyan Angelov
|
3e297bced4
|
ci: remove some tests from skip_with_werror in v test-self
|
2021-04-14 12:47:24 +03:00 |
|
zakuro
|
f54c1a5cc2
|
all: add strings.Builder.write_string and use write_string instead of write (#8892)
|
2021-02-22 13:18:11 +02:00 |
|
Nick Treleaven
|
4a0367a63c
|
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766)
|
2021-02-15 17:15:52 +02:00 |
|
Delyan Angelov
|
978359a6fc
|
tests: fix some warnings in preparation for -W test-self
|
2021-01-31 11:05:17 +02:00 |
|
Adelar da Silva Queiróz
|
334554ffb9
|
strconv: fix typo (#8318)
|
2021-01-24 23:18:40 +01:00 |
|
Adelar da Silva Queiróz
|
1f99d1e025
|
strconv: some corrections of typos (#8302)
|
2021-01-24 00:00:31 +02:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Nick Treleaven
|
141b0cb882
|
checker: fix warning & allow assigning to a union field without unsafe (#7970)
|
2021-01-09 01:32:33 +01:00 |
|
Alexander Medvednikov
|
3e04dfc79f
|
builtin: fix byte.str() (part 1)
|
2021-01-05 18:59:51 +01:00 |
|
Nick Treleaven
|
3203a124b2
|
checker: warn when casting between reference types outside of unsafe (#7892)
|
2021-01-05 17:02:04 +02:00 |
|
Nick Treleaven
|
040b923665
|
checker: warn when accessing union fields outside unsafe (#7869)
|
2021-01-04 21:44:37 +02:00 |
|
Delyan Angelov
|
22085041f1
|
strconv: implement strconv.format_int(n, radix) and strconv.format_uint(n,radix)
|
2021-01-04 16:02:13 +02:00 |
|
Alexander Medvednikov
|
fc965b7d92
|
strconv: make atoi return ?int
|
2020-12-21 08:35:24 +01:00 |
|
Delyan Angelov
|
058258bc72
|
ci: fix atoi.v's max_u64
|
2020-12-15 10:56:56 +02:00 |
|
Delyan Angelov
|
d155d8d3f0
|
vlib: prepare atoi.v and utf8.v for -Wimpure-v
|
2020-12-15 10:17:46 +02:00 |
|
ka-weihe
|
f57c7032b4
|
ci: fix sanitizers and add -fsanitize=undefined (#7306)
|
2020-12-14 06:34:47 +01:00 |
|
Lukas Neubert
|
8adb1acf31
|
check-md: verify code example formatting (#7143)
|
2020-12-05 22:54:41 +01:00 |
|
Lukas Neubert
|
df4165c7ee
|
docs_ci: check all md files except thirdparty (#6855)
|
2020-11-18 18:28:28 +01:00 |
|
spaceface777
|
a9e9554b11
|
all: fix most C warnings (#6758)
|
2020-11-06 16:26:59 +02:00 |
|
Alexander Medvednikov
|
7da1afa140
|
all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests
|
2020-10-15 12:32:28 +02:00 |
|
Delyan Angelov
|
d46d607334
|
backporting: remove C typedef redefinitions of map_int/map_string/array_byte/array_string
|
2020-10-07 11:32:50 +03:00 |
|
Delyan Angelov
|
317a9bae5f
|
backporting: remove redefinition of strconv__Float64u
|
2020-10-07 11:06:52 +03:00 |
|
Swastik Baranwal
|
5f07b255bd
|
checker: disallow address of array and map index outside unsafe (#6557)
|
2020-10-05 13:08:30 +02:00 |
|
vmcrash
|
c5e46c9e55
|
atoi.v: add common_parse_uint2 with error code return values (#6550)
|
2020-10-03 20:57:37 +03:00 |
|
Alexander Medvednikov
|
624f22e27e
|
all: mutability check (part 1); enable mutable sumtype args
|
2020-09-22 05:28:29 +02:00 |
|
Delyan Angelov
|
6f7bb30b0a
|
tests: fix strconv.v_sprintf arrity mismatch in format_test.v
|
2020-09-17 00:33:25 +03:00 |
|
Delyan Angelov
|
80b150d3ad
|
strconv.v_sprintf: add runtime checks&panics on arrity mismatches
|
2020-09-17 00:24:33 +03:00 |
|
Daniel Däschle
|
3a146a6dbe
|
checker: fix error pos on default value (#6338)
|
2020-09-09 15:34:41 +02:00 |
|
Alexander Medvednikov
|
e018509ba6
|
checker: test for unnecessary default struct field values
|
2020-09-09 13:59:52 +02:00 |
|
Delyan Angelov
|
8f5cefb116
|
strconv: fix f64_to_str_lnd and f64_to_str_l after 6921d46
|
2020-08-27 14:22:04 +03:00 |
|
Alexander Medvednikov
|
6921d46185
|
all: rune type for `` literals
|
2020-08-27 06:46:37 +02:00 |
|
Nick Treleaven
|
bab5c21224
|
parser: warn when fixed-size ArrayInit doesn't have trailing {} . (#6137)
|
2020-08-16 04:54:05 +02:00 |
|
Alexander Medvednikov
|
38e5569503
|
all: cached modules fixes
|
2020-07-18 11:15:44 +02:00 |
|
Ryan Willis
|
82e2b1ec33
|
strconv: use import instead of module in test files (#5856)
|
2020-07-17 02:35:42 +02:00 |
|