222 Commits

Author SHA1 Message Date
Laurent Cheylus
cc5b31769f
encoding.iconv: add path for iconv library on FreeBSD (#24682) 2025-06-09 20:41:52 +03:00
Laurent Cheylus
31c6db51ba
encoding.utf8: add more tests for UTF-8 strings (#24544) 2025-05-21 18:45:01 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +03:00
Delyan Angelov
a1d94500e6
all: remove deprecations made before 2024-11-06 2025-05-05 09:31:32 +03:00
kbkpbot
e146ee600f
encoding.binary: fix serialize map struct (fix #24190) (#24192) 2025-04-13 11:32:13 +03:00
gechandesu
13148e0b56
encoding.iconv: fix iconv on termux (fix #23597) (#24147) 2025-04-07 08:14:49 +03:00
kbkpbot
592615c049
encoding.binary: add encode_binary()/decode_binary() generic functions (#24106) 2025-04-02 09:05:22 +03:00
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Alexander Medvednikov
951d30405f builtin: string.index_after() ?int 2025-03-12 23:03:25 +03:00
kbkpbot
f7841e125b
checker: check and error for invalid utf8 string literals (#23721) 2025-02-15 19:32:38 +02:00
penguindark
089778e55e
encoding.csv: add support for multithreading to encoding.csv.RandomAccessReader (#23677) 2025-02-09 16:50:49 +02:00
Laurent Cheylus
81fd0db8af
encoding.ut8: remove deprecated tests for utf8.is_uchar_punct/1 and utf8.get_uchar/2 (fix #23599) (#23600) 2025-01-27 19:37:27 +02:00
Felipe Pena
c2e436518b
checker: fix private symbol visibility checking (fix #23518) (#23543) 2025-01-27 11:42:27 +02:00
Laurent Cheylus
c225e0415a
encoding.iconv: add flag for OpenBSD to find iconv include and library (fix #23573) (#23575) 2025-01-25 19:41:05 +02:00
Felipe Pena
419645a045
encoding.utf8: fix is_punct func (fix #22646) (#22647) 2024-10-26 10:33:31 +03:00
Pepper Gray
ce8f62146b
utf8, readline: clarify UTF-8 vs UTF-32 usage (see also #22461) (#22558) 2024-10-18 11:18:31 +03:00
Pepper Gray
35079f115d
encoding.utf8: replace uchar with rune, deprecate get_uchar, is_uchar_punct, is_uchar_global_punct (#22560) 2024-10-18 10:39:26 +03:00
Delyan Angelov
c5e8ad19df
builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540) 2024-10-16 14:18:10 +03:00
kbkpbot
e2425842b2
encoding.iconv: fix iconv type cstrict, add support for LOCAL encoding (#22398) 2024-10-03 11:27:42 +03:00
kbkpbot
747794998b
encoding: add an encoding.iconv module with tests (#22332) 2024-10-02 19:37:48 +03:00
Felipe Pena
24238c107d
encoding.csv: fix reading when there is no line ending at the end of the file (fix #22337) (#22342) 2024-09-28 17:49:40 +03:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232) 2024-09-17 09:47:38 +03:00
Ivan Vatlin
6aeef5e4db
encoding.binary: add u16/u32/u64 -> []u8 conversion functions (#22193) 2024-09-10 20:22:34 +03:00
yuyi
dd2210abf6
ast: fix const field str() (#22192) 2024-09-10 17:02:51 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
yuyi
c69dfefedb
fmt: cleanup fields comments alignment and add ignore_newline config (#22027) 2024-08-12 10:56:32 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line (#22016) 2024-08-09 14:55:58 +03:00
yuyi
3247b98bb5
ast: fix const field str() (#21998) 2024-08-06 17:42:24 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields (#21995) 2024-08-05 20:23:39 +03:00
Roman
52fe7c09b8
encoding.base58: fix notice for slice creation (#21935) 2024-07-26 10:28:17 +03:00
Alexander Medvednikov
39f419139e encoding.binary: add an f32 test; checker: remove "(s)" from the assignment mismatch error 2024-07-01 15:07:07 +03:00
Alexander Medvednikov
940fc41c19 encoding.binary: little_endian_f32_at 2024-07-01 14:08:37 +03:00
Mike Ward
e1d23429c7
encoding.base32: fix warning of implicit clone of array, by using an explicit unsafe block (#21728) 2024-06-25 08:17:29 +03:00
Delyan Angelov
0e2b6041b8
testing: fix v -stats test folder/ not failing for a _test.v that fails (#21483) 2024-05-10 23:30:24 +03:00
Alexander Medvednikov
6cc096a4b3 checker: ambiguous expression notice for & << >>, similar to && || 2024-05-07 20:38:32 +03:00
Turiiya
8aa9314a99
vlib: refactor empty string checks to use s == '' or s != '', instead of s.len == 0 (#21300) 2024-04-18 02:44:31 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
Turiiya
a7d68cbc2d
xml: update entity parse test (#21190) 2024-04-05 17:31:32 +03:00
RoboSchmied
2db9c82d26
vlib: fix typos (endianess -> endianness) (#21099) 2024-03-26 10:32:10 +02:00
Turiiya
f77bb32044
all: fix typos (#21089) 2024-03-25 12:18:27 +02:00
Delyan Angelov
c60a869fb4
vlib: add encoding.txtar (port of Go's txtar module) (#20874) 2024-02-20 02:41:20 +02:00
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
Delyan Angelov
729a1cbc9f
encoding.binary: add _fixed variants for the conversion fns, that accept fixed arrays (#20766) 2024-02-09 22:07:59 +02:00
penguindark
ef3b0ec775
encoding.csv: fix bug in RandomAccessReader, spotted on windows with mingw32 (#20571) 2024-01-17 22:10:28 +02:00
koplenov
43b8cc8ab7
encoding.csv: add a new utility fn new_reader_from_file/2 (#20530) 2024-01-14 19:42:01 +02:00
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Kim Shrier
c7ce72f314
encoding.binary: fix u32 little endian comments (#20256) 2023-12-23 15:26:17 +02:00
penguindark
cfcbcb416a
encoding.csv: add a sequential reader too (suitable for very large .csv files, it does not read everything at once) (#20140) 2023-12-11 00:57:08 +02:00
penguindark
2768de1fc7
encoding.csv: add a new RandomAccessReader (#20119) 2023-12-08 22:17:27 +02:00