42 Commits

Author SHA1 Message Date
Delyan Angelov
a1d94500e6
all: remove deprecations made before 2024-11-06 2025-05-05 09:31:32 +03: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
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
Anton
763f94388b
all: update copyright year (#20334) 2024-01-01 23:29:54 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Joe C
757929392e
all: update attributes to use new syntax 2023-11-15 16:16:01 +11:00
JalonSolov
9ec8807dbe
compress,coroutines,encoding: handle C calls in .v files (part of enabling -W impure-v as default) (#19769) 2023-11-05 17:38:03 +02:00
yuyi
18e60e77de
fmt: remove inline comments (#19263) 2023-09-03 23:51:56 +03:00
yuyi
467a1b4435
fmt: remove redundant parenthesis in the complex infix expr (#17873) 2023-04-04 13:47:48 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
ChAoS_UnItY
fe597b7172
encoding.utf8: add is_number (#15931) 2022-10-01 11:01:51 +03:00
ChAoS_UnItY
ea8b30fd91
encoding.utf8: add is_space (#15847) 2022-09-23 10:34:45 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Ikko Ashimine
aa633dab41
utf8: fix typo in utf8_util.v (#13624) 2022-03-01 19:06:48 +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
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
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
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
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
zakuro
db9b523cc9
utf8: deprecate utf8.char_len (#9008) 2021-03-01 15:35:57 +02:00
zakuro
1891ebf22d
scanner: print multibyte char for invalid char error (#8804) 2021-02-18 15:43:39 +02:00
Quix
64018e6f14
encoding.utf8: fix 'length' typo in two spots (#8746) 2021-02-15 17:52:00 +02:00
Nick Treleaven
ea803113c3
checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
Delyan Angelov
949ed90b51 utf8: fix a panic in utf8.len("pippo"), mark with unsafe{} direct pointer manipulations 2020-07-22 21:15:27 +03:00
penguindark
e85c1fb762
utf8: bug fix in get_uchar (#5775) 2020-07-10 14:44:40 +02:00
Ned Palacios
36edd6295f
vlib: transfer intro to readme; normalize comments 2020-06-08 00:04:23 +03:00
Uwe Krüger
fd4d28b7b6
tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
Enzo Baldisserri
f44a40eee0
checker: check incorrect names 2020-05-16 16:12:23 +02:00
penguindark
8e1c27d129 utf8: punctuation 2019-12-12 21:08:44 +03:00
Alexander Medvednikov
ad6adf327e vlib: fix missing else{} in match statements 2019-12-07 17:23:37 +03:00
penguindark
322733d59a encoding.utf8 fixes 2019-12-01 20:41:29 +03:00
Delyan Angelov
c7f8f2175b move vlib/builtin/utf8_util.v to vlib/encoding/utf8/utf8_util.v 2019-11-30 08:52:37 +03:00