Commit graph

6 commits

Author SHA1 Message Date
Nemanja Trifunovic
925e7147ec
Merge V4 branch into main (#110)
* Redefined and renamed types for code units.

* Remove -Wsign-conversion from test builds.

* find_invalid and is_valid that work with C-style strings.

* Lifted the C++11 requirement for some functions
 that take std::string as an argument.

* Support for C++20 u8string

Issue #89

* Update test docker image to 4.0.0

* Update Dockerfile to run tests with a recent gcc compiler.

* Make some internal helper functions non-template

* Add append16 function

Support for appending codepoints to existing utf16 encoded strings.

See #91

* next16

* Tests and documentation for next16

* Rewrite CMakeLists

Drop the existing CMake structure and write the new one from scratch. The root CMakeLists.txt is used for installing the package without building and running tests. Testing is done via a separate CMakeLists.txt in the tests directory.

* Remove "samples" directory.

The content of that file is already in the documentation.

* Update README.md

Restructure the reference, add installation instructions, toc, other minor changes
2023-10-21 18:16:40 -04:00
nemtrif
aa3b12c52b Added a couple of statis_casts to eliminate signed conversion warnings. 2022-10-17 05:20:34 -04:00
Rémy Tassoux
ec6747005b Fix the inclusion of both cpp11 and cpp17 headers on C++17 compilation 2021-05-30 16:14:37 +02:00
Nemanja Trifunovic
0991356b73 find_invalid(string_view) returns string_view::npos, not string::npos 2021-04-30 14:58:30 -04:00
Nemanja Trifunovic
a7d530de5f C++ 17 support: add tests, remove duplicate utf8::append() 2021-04-25 11:54:47 -04:00
Rémy Tassoux
d40e4948f5 Support for C++17 2021-02-22 15:17:27 +01:00