Commit graph

33 commits

Author SHA1 Message Date
Nemanja Trifunovic
007f8e32c4 advance() can work in backward direction.
advance() now can decrement the iterator if the number of steps to advance is negative.
2019-04-06 12:08:34 -04:00
Nemanja Trifunovic
92158c9ce1 Minor whitespace fixes 2019-04-02 20:20:28 -04:00
Nemanja Trifunovic
3793703e76 Remove unused test data 2019-04-02 18:09:00 -04:00
Nemanja Trifunovic
080f1e6a3a Remove utf8reader sample 2019-04-02 17:54:36 -04:00
Nemanja Trifunovic
00d73e4a02 Remove deprecated functions
Removed:
- previous
- is_bom
2019-04-02 17:54:36 -04:00
Nemanja Trifunovic
2b8596149e Support for C++11
Optional support for C++11 features
2019-04-02 17:54:36 -04:00
nemtrif
f637e70c10
Merge pull request #22 from AkiraMiyakoda/fix-msvc2019-warning
Fix MSVC 2017-2019 warning about negative unsigned value.
2019-03-27 18:12:51 -04:00
nemtrif
82344d6051
Merge pull request #23 from Al2Klimov/bugfix/license
Show license more prominently
2019-03-15 08:28:20 -04:00
Alexander A. Klimov
ef7bf0f783 Show license more prominently 2019-03-15 10:11:42 +01:00
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.
2019-02-18 21:50:08 +09:00
Nemanja Trifunovic
0a23881341 Create .gitignore
Ignore:
- .vscode
- build
2018-10-13 20:48:56 -04:00
Nemanja Trifunovic
60c490b89f Release v2.3.6 2018-09-24 19:49:14 -04:00
nemtrif
b641599f63
Merge pull request #18 from arteniioleg/patch-1
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR}
2018-09-24 19:35:33 -04:00
Oleg Artenii
fd39f7efb1
cmake: fixed undefined ${CMAKE_INSTALL_LIBDIR} 2018-09-14 09:24:40 +03:00
nemtrif
e6bde7819c
Merge pull request #14 from amerry/msvc-build-fix
Fix smoke test
2018-08-11 15:59:54 -04:00
nemtrif
37f382b35c
Merge pull request #17 from Erroneous1/modern_cmake
Modernize cmake
2018-08-10 19:53:27 -04:00
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
2018-08-02 10:38:13 -04:00
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.
2018-03-07 16:43:54 +00:00
nemtrif
1537543999
Merge pull request #11 from willfrey/patch-1
Update test.cpp
2017-11-22 19:50:51 -05:00
Will Frey
17ca704d3a Update test.cpp
This test was failing for me when I compiled with clang. Must have a different initializer.

I changed the test to match the example from the README and it passes when I build with both clang and gcc.
2017-07-21 23:07:07 -04:00
Nemanja Trifunovic
0232ab8188 Minor documentation update. 2016-11-05 19:34:38 -04:00
Nemanja Trifunovic
5408022bd6 Fix -Wshadow warnings
Fix the GNU and CLang's -Wshadow warning by renaming the input parameters.
2016-11-05 18:58:26 -04:00
Nemanja Trifunovic
67036a031d Consolidate CMakeLists.txt
The build has only one CMakeLists.txt now.
Added support for CTest
2016-11-05 18:46:04 -04:00
nemtrif
a5ad5ec9d9 Merge pull request #8 from ghewgill/master
Check for end iterator before using iterator
2016-10-19 09:06:54 -04:00
Greg Hewgill
9d52bc19dc Check for end iterator before using iterator
If it == end, then sequence_length(it) will be called which will attempt to dereference the it iterator. This is normally harmless, because the get_sequence_x() functions each check to see whether it == end. However, some runtime libraries (MSVC CRT debug build in particular) check the validity of every iterator dereference, and a runtime check will be triggered inside sequence_length() if it is at the end.
2016-09-28 13:35:57 +13:00
nemtrif
b4c761dbe9 Merge pull request #2 from mominul/patch-1
Syntax Highlighting
2016-05-21 16:33:53 -04:00
Muhammad Mominul Huque
4ddacd67dc Syntax Highlighting 2015-12-29 03:18:50 +06:00
Nemanja Trifunovic
f029fcc2fb CMake for negative test 2015-10-17 20:41:24 -04:00
Nemanja Trifunovic
2620091238 Initial CMake files 2015-10-17 20:16:06 -04:00
Nemanja Trifunovic
1cbc1877be Removing various infrastructure files 2015-10-02 18:56:06 -04:00
Nemanja Trifunovic
735b8b7373 Fixing Readme.md 2015-09-12 20:41:43 -04:00
Nemanja Trifunovic
46d0d807dc Initial import
Importing utf8 cpp 2.3.4 to GitHub.
2015-08-16 08:55:59 -04:00
nemtrif
6bb44ed91a Initial commit 2015-08-15 12:11:54 -04:00