Maxime Coste
|
fb4cef5b61
|
Replace std::enable_if with requires
Introduce some concepts for enum and flags handling, goodbye and
thanks for all the fish std::enable_if.
|
2021-11-21 09:44:56 +11:00 |
|
Maxime Coste
|
346c78f5e0
|
Header and dependency cleanup
|
2019-01-24 21:22:20 +11:00 |
|
Maxime Coste
|
ee74c2c2df
|
Use custom code instead of reverse_iterator in Regex VM
|
2018-11-02 08:23:39 +11:00 |
|
Maxime Coste
|
8a751e1b57
|
Remove caching from utf8_iterator
|
2018-11-01 21:05:09 +11:00 |
|
Maxime Coste
|
4cd7583bbc
|
Improve regex vm to next start performance by avoiding iterator copies
|
2018-11-01 08:22:43 +11:00 |
|
Maxime Coste
|
4cfb46ff2e
|
Support different type for iterators and sentinel in utf8 functions
|
2018-11-01 08:22:43 +11:00 |
|
Maxime Coste
|
80d2506c34
|
Make utf8_iterator traits clear about it returning non-references
|
2017-10-07 21:54:59 +08:00 |
|
Maxime Coste
|
18705a0097
|
Add missing operator+= and -= on utf8_iterator
Fix operator== and != that were non-const as well.
|
2017-10-06 13:57:54 +08:00 |
|
Maxime Coste
|
5a5d2ad7cb
|
noexcept-ify utf8::iterator methods
|
2017-06-07 10:58:49 +01:00 |
|
Maxime Coste
|
2f7313ad59
|
Slight code cleanup in utf8_iterator.hh
|
2017-02-23 00:30:59 +00:00 |
|
Maxime Coste
|
14f59d415d
|
Avoid underlying iterator copies in utf8_iterator
|
2016-07-27 21:36:32 +01:00 |
|
Maxime Coste
|
e1703204f8
|
fix bug in utf8_iterator
|
2016-05-19 20:20:42 +01:00 |
|
Maxime Coste
|
bff9d45bdb
|
Make utf8_iterator codepoint type and difference type configurable
|
2016-05-09 21:56:08 +01:00 |
|
Maxime Coste
|
21644d17d6
|
Fix comparison operators in utf8_iterator and tag it as bidirectional
|
2016-04-27 09:46:53 +01:00 |
|
Maxime Coste
|
2bf44b6b49
|
Make word insert completion work better with unicode char
|
2015-10-30 13:57:46 +00:00 |
|
Maxime Coste
|
27571a7716
|
Refactor utf8::iterator to be on the safe side
utf8::iterator now knows the iterator valid range, and pass
it to utf8 functions.
|
2015-09-23 19:39:21 +01:00 |
|
Maxime Coste
|
b5972cd647
|
Tweak utf8::iterator::distance implementation, remove unused advance method
|
2015-09-23 19:30:47 +01:00 |
|
Maxime Coste
|
727580a238
|
Make utf8_iterator a proper stl useable iterator
|
2015-03-27 13:19:30 +00:00 |
|
Maxime Coste
|
eb0d03f437
|
Use Pass as default policy for invalid utf8 avoid asserting on that
|
2014-10-13 21:07:23 +01:00 |
|
Maxime Coste
|
ed68d1ff28
|
utf8: use end of sequence iterators for more security
|
2014-07-05 12:10:06 +01:00 |
|
Maxime Coste
|
5b27b956ad
|
Rename utf8::utf8_iterator to utf8::iterator
|
2014-06-24 19:10:57 +01:00 |
|
Maxime Coste
|
152e46a6da
|
Make utif_iterator more tolerant to invalid utf8
|
2014-05-21 00:25:24 +01:00 |
|
Maxime Coste
|
a443ff7ea6
|
indent fixes
|
2013-12-03 19:49:09 +00:00 |
|
Maxime Coste
|
43ff1909fb
|
add utf8::make_iterator helper function
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
245e68e26e
|
utf8_iterators: rename underlying_iterator to base
|
2013-06-06 19:44:07 +02:00 |
|
Maxime Coste
|
5adee4a6a7
|
rename assert to kak_assert to avoid collisions
|
2013-04-09 20:04:11 +02:00 |
|
Maxime Coste
|
5ff22d44be
|
Add utf8_iterator::advance(CharCount, utf8_iterator end)
|
2013-03-06 19:03:43 +01:00 |
|
Maxime Coste
|
ee882d9d02
|
utf8: use CharCount instead of size_t
|
2012-10-27 13:26:40 +02:00 |
|
Maxime Coste
|
df400f90ab
|
utf8: replace InvalidBytePolicy::Throw with InvalidBytePolicy::Assert
|
2012-10-17 17:01:51 +02:00 |
|
Maxime Coste
|
dfafcdb6e6
|
utf8::codepoint: configurable invalid byte policy
|
2012-10-13 19:05:14 +02:00 |
|
Maxime Coste
|
f2e98f700e
|
add utf8_iterator for adapting byte iterators to iterate on unicode characters
|
2012-10-08 14:25:58 +02:00 |
|