Commit graph

133 commits

Author SHA1 Message Date
73746e3821 Move exceptions in a separate file. 2014-06-20 19:33:56 +02:00
1ed5b3bc9f Reference type for the checked iterator can't be a ref. 2014-06-20 00:01:17 +02:00
e5aa85b2d7 Rename source directory into src 2014-06-03 23:21:36 +02:00
73bd06b5d6 Let the user give an error checking policy for invalid ranges.
This enables the user to use std::istream_iterator as the underlying iterator.
2014-06-03 23:20:23 +02:00
a377c642ff Adding the LICENSE file
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@142 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:24:45 +02:00
ntrifunovic
178bc7296e Release 2.3.4
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@138 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:53 +02:00
ntrifunovic
d06d417a07 Release 2.3.3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@137 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:31 +02:00
ntrifunovic
61b0ae2bd2 Fix for bug ID: 3576827 - replace_invalid() only works with back_inserter
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@136 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:24 +02:00
ntrifunovic
86a06ff955 Fixing a potential problem with utf8 to utf16/32 conversions
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@135 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:15 +02:00
ntrifunovic
44cf4dd0f1 Fixing a smoke-test warning
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@134 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:08 +02:00
ntrifunovic
2385e1afd2 Fix for bug ID: 3602629 - extra ';' after member function definition
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@133 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:15:00 +02:00
ntrifunovic
6a310026c9 Release 2.3.2
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@132 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:14:37 +02:00
ntrifunovic
43bee7dbe6 Removing a regression test for a reported bug that I am not fixing.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@131 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:14:29 +02:00
ntrifunovic
282f312506 Fix for the bug 3506114: potential crash in replace_invalid
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@130 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:14:05 +02:00
ntrifunovic
54c1972fc4 Changed validate_next to take a reference instead of pointer. Resulted in 5% performance improvement.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@129 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:57 +02:00
ntrifunovic
b13a2054ce Adding a regression test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@128 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:49 +02:00
ntrifunovic
1f37fef7d2 Fix for the bug ID: 3426789[guidline -> guideline]
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@127 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:41 +02:00
ntrifunovic
76cc24e2b4 Removed some superfluous code
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@126 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:34 +02:00
ntrifunovic
352ae366cd Changed the optimization option from O2 to O3 for the perf test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@125 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:27 +02:00
ntrifunovic
044c543436 Refactored internal functions in core.h
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@124 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:20 +02:00
ntrifunovic
53205997de Fixed iconv perf test to print out results
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@123 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:13:14 +02:00
ntrifunovic
a5c5cc8019 Fix for the bug [name clash with std::next - ID: 3215839]
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@122 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/performance/iconvtest.cpp
2014-06-01 02:13:00 +02:00
ntrifunovic
7ed2b4457b Fixed the negative test to reflect the latest changes in detecting invalid utf-8 text
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@121 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:12:13 +02:00
ntrifunovic
46306303e7 Removed redundant regression tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@120 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/regression_tests/r1_0Beta1/invalidutf8.h
2014-06-01 02:12:02 +02:00
ntrifunovic
905e56986f Release 2.3.1
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@119 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:10:34 +02:00
ntrifunovic
07e3a81e01 Fix for ID: 3185087 - utf8::prior and utf8::previous documentation issue
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@118 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:10:25 +02:00
ntrifunovic
f4c3f0ab0f Fix for the bug ID: 3083640 - is_code_point_valid incorrectly returns false
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@117 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_data/negative/utf8_invalid.txt
2014-06-01 02:10:08 +02:00
ntrifunovic
045624abd7 Fix for [3167987]: prior moves it before start
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@116 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:07:52 +02:00
ntrifunovic
7fcdf850d9 Minor improvements to performance testing code
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@115 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:07:46 +02:00
ntrifunovic
d75756f201 Fix for the bug ID: 3025042: is_bom documentation issue
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@114 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:07:35 +02:00
ntrifunovic
c3a9d57d56 Release 2.3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@113 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:07:17 +02:00
ntrifunovic
e628e37223 Completed documentation for the exceptions. Fixed bug ID: 2960112: is_bom wording fix
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@112 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:07:08 +02:00
ntrifunovic
4bfad91501 Feature request 2857462: Proposed minor extension: safe version of is_bom
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@111 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:06:56 +02:00
ntrifunovic
2ca22999da Fix for the bug ID: 2915657 - 64bit portability issue
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@110 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:06:44 +02:00
ntrifunovic
1861083ed1 Removng the boost directory. Its purpose was to prepare a version of UTF8 CPP for submition to Boost. This plan does not seem feasible.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@109 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:06:31 +02:00
ntrifunovic
ac70b66ce6 Feature ID 2885695: "Group" utf8 exceptions.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@108 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:06:09 +02:00
ntrifunovic
7c41f51d56 Fix for the bug [ID: 2906315]: < instead != in utf8to32
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@107 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:06:01 +02:00
ntrifunovic
4878ddc7e5 Release 2.2.4
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@106 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:05:44 +02:00
ntrifunovic
85d925e1ab Fix for the bug ID: 2857454 [dereference invalid iterator]
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@105 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:05:36 +02:00
ntrifunovic
262b8f0ab4 Release 2.2.3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@104 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:05:05 +02:00
ntrifunovic
fb7c7337a9 Fixing regression test id_2857454
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@103 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:04:59 +02:00
ntrifunovic
cb757aff4f Fix for bug #ID: 2857456[redundant checks in append in checked.h]
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@102 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:04:52 +02:00
ntrifunovic
8f19d3aa84 Added regression test for [ 2857454 ] dereference invalid iterator when lead surrogate was last element of the string
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@101 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:04:46 +02:00
ntrifunovic
0b6b8b5cf8 Fix for bug ID: 2852872 [invalid utf16 strings were parsed without any error]
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@100 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:04:37 +02:00
ntrifunovic
94bfe8d2d3 Added a regression test to detect a sequence of multiple trail surrogate code units
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@99 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/regression_tests/reg_tests_driver.cpp
2014-06-01 02:04:22 +02:00
ntrifunovic
6adb83ba84 Fix for the bug ID: 2830326: " multiple definition of `utf8::internal::is_overlong_sequence"
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@98 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:02:43 +02:00
ntrifunovic
4bccdb30d0 Release 2.2.1
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@97 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:02:26 +02:00
ntrifunovic
86423f6f50 Fixing the test drivers to work with GCC 4.3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@96 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/regression_tests/r1_0Beta3/basic_functionality.h
2014-06-01 02:02:13 +02:00
ntrifunovic
58ab95c963 Fix for the bug ID: 2823847: warnings from GCC 4.3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@95 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:01:10 +02:00
ntrifunovic
6452a42438 Release 2.2
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@94 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:00:24 +02:00