Nemanja Trifunovic
c3f9261eb8
Merge pull request #51 from AkiraMiyakoda/msvc_warning
Fix an MSVC warning about narrowing conversion.
5 years ago
Akira Miyakoda
7fb1211306
Fix an MSVC warning about narrowing conversion.
5 years ago
nemtrif
170e2d11f5
Merge pull request #44 from tvanriper/patch-1
Removed utf8 path from #include.
5 years ago
Joseph Edwards Van Riper III
32ccbfb747
Removed utf8 path from #include.
refs #43
5 years ago
Nemanja Trifunovic
2370b95a86
Compile negative test with C++ 98
An attempt to ensure the library can be compiled with a C++ 98 compiler.
Unfortunatelly, GTEST can't be compiled with C++ 98, so only the negative tests are included at this point.
5 years ago
Nemanja Trifunovic
89cfc3e38b
Replace throw() with noexcept when using C++11 or later
5 years ago
Nemanja Trifunovic
687a59d88c
Add override keyword when compiled with C++11 or later
5 years ago
Nemanja Trifunovic
f26d39e8ad
Move C++ version detection to core.h
5 years ago
nemtrif
b1002fd198
Introduce UTF_CPP_CPLUSPLUS macro.
Let the users set the C++ standard version they want to support.
5 years ago
nemtrif
088dd3ad77
Merge pull request #40 from xantares/patch-1
Always use GNU install layout except MSVC
5 years ago
xantares
afc32b4c08
Always use GNU install layout except MSVC
Current for win32 targets the cmake config file is installed in INSTALL_PREFIX/CMake except for cygwin.
But we want this also for MinGW, so I I'm thinking we want only this behavior for visual studio.
What do you think ?
5 years ago
Nemanja Trifunovic
82c674b7a7
Version 3.1
5 years ago
Nemanja Trifunovic
33516ff074
Test -fno-exceptions with unchecked api
5 years ago
nemtrif
f16bdde67c
Merge pull request #37 from nemtrif/unchecked_replace_invalid
unchecked::replace_invalid()
5 years ago
Nemanja Trifunovic
c523193025
unchecked::replace_invalid()
Add unchecked version of replace_invalid function.
5 years ago
nemtrif
a3fa4ee84c
Merge pull request #36 from nemtrif/gtesturl
Submodule url for googletest is https
5 years ago
Nemanja Trifunovic
8fd51836a0
Submodule url for googletest is https
Fix for issue #34
5 years ago
nemtrif
ad27c7d5e0
Merge pull request #33 from nemtrif/optionalinstall
Installation is optional
5 years ago
Nemanja Trifunovic
293f85d972
Installation is optional
Issue #32 cmake option to disable install
5 years ago
Nemanja Trifunovic
a540297fd4
Version 3.0.3
5 years ago
Nemanja Trifunovic
04d29d92ae
Add inline declarations to non-template functions in cpp11.h
Fix for issue #31
5 years ago
nemtrif
7412592772
Merge pull request #30 from nemtrif/ci
Continuous Integration
5 years ago
Nemanja Trifunovic
335a3ee6a0
Update docker to 3.0.1
5 years ago
Nemanja Trifunovic
d5e847d0a3
Update project version
5 years ago
Nemanja Trifunovic
e6da1a36aa
Set up CircleCI
5 years ago
Nemanja Trifunovic
0b45681b60
Add Dockerfile
5 years ago
Nemanja Trifunovic
66804081d4
Introduce GTest
Restructure tests to use Google Test framework
5 years ago
Nemanja Trifunovic
a0a2d9d1e8
Fix for the cpp11.h header guard
Fix for the issue #27
5 years ago
nemtrif
7db72814ae
Merge pull request #24 from nemtrif/release_3_0
Release 3 0
5 years ago
Nemanja Trifunovic
007f8e32c4
advance() can work in backward direction.
advance() now can decrement the iterator if the number of steps to advance is negative.
5 years ago
Nemanja Trifunovic
92158c9ce1
Minor whitespace fixes
5 years ago
Nemanja Trifunovic
236d61942e
Update documentation for replace_invalid
5 years ago
nemtrif
d8b09b3019
Merge pull request #21 from glebm/fix-remove-invalid
replace_invalid: Replace final incomplete sequence
5 years ago
Nemanja Trifunovic
3793703e76
Remove unused test data
5 years ago
Nemanja Trifunovic
080f1e6a3a
Remove utf8reader sample
5 years ago
Nemanja Trifunovic
00d73e4a02
Remove deprecated functions
Removed:
- previous
- is_bom
5 years ago
Nemanja Trifunovic
2b8596149e
Support for C++11
Optional support for C++11 features
5 years ago
nemtrif
f637e70c10
Merge pull request #22 from AkiraMiyakoda/fix-msvc2019-warning
Fix MSVC 2017-2019 warning about negative unsigned value.
5 years ago
nemtrif
82344d6051
Merge pull request #23 from Al2Klimov/bugfix/license
Show license more prominently
5 years ago
Alexander A. Klimov
ef7bf0f783
Show license more prominently
5 years ago
Akira Miyakoda
cfc351c861
Fix MSVC 2017-2019 warning about negative unsigned value.
Fix an MSVC warning by defining a constant by an immediate value instead of a formula including an intentional overflow.
5 years ago
Gleb Mazovetskiy
026aed63d9
replace_invalid: Replace final incomplete sequence
In replace_invalid, if NOT_ENOUGH_ROOM is returned by `validate_next`
then it simply means there is an incomplete sequence at the end of the
input.
Replace it instead of erroring out.
6 years ago
Nemanja Trifunovic
0a23881341
Create .gitignore
Ignore:
- .vscode
- build
6 years ago
Nemanja Trifunovic
60c490b89f
Release v2.3.6
6 years ago
nemtrif
b641599f63
Merge pull request #18 from arteniioleg/patch-1
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR}
6 years ago
Oleg Artenii
fd39f7efb1
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR}
6 years ago
nemtrif
e6bde7819c
Merge pull request #14 from amerry/msvc-build-fix
Fix smoke test
6 years ago
nemtrif
37f382b35c
Merge pull request #17 from Erroneous1/modern_cmake
Modernize cmake
6 years ago
Aaron Bishop
3866386b6d
Modernize cmake
* Able to use as subfolder
* Able to install (and import again in cmake)
* Able to disable tests
* Able to disable samples
6 years ago
Alex Merry
3723b0cc6e
Fix smoke test on MSVC
The MSVC-generated code in debug mode was (quite rightly) complaining
about iterating past the start of an empty vector, and aborting the
test.
6 years ago