Commit graph

111 commits

Author SHA1 Message Date
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
ntrifunovic
8d683c7482 Another update of documentation
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@93 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:00:16 +02:00
ntrifunovic
4a3b41e9f1 Updated documentation to include additional samples. Fixed a typo in core.h
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@92 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 02:00:04 +02:00
ntrifunovic
33dc220fae Removed std::distance from validate_next and (hopefully) made it work with input iterators. Also, did a major
refactoring of that function.

git-svn-id: http://svn.code.sf.net/p/utfcpp/code@91 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:59:53 +02:00
ntrifunovic
a13d284b20 Updated the documentation to have a better intro sample
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@90 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:59:42 +02:00
ntrifunovic
4039d395d5 Updated the docsample sample
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@89 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/samples/docsample.cpp
2014-06-01 01:59:30 +02:00
ntrifunovic
a57cc04c75 Fixed the negative test and made the input file name the comand line argument
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@88 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/runtests.pl
2014-06-01 01:58:44 +02:00
ntrifunovic
1976a0584c Removing bidirectional restrictions for the octet_iterator
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@87 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/performance/timer.h
	v2_0/test_drivers/performance/win32.cpp
2014-06-01 01:57:43 +02:00
ntrifunovic
135c771a9a Fixed the signature for main in the sample
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@86 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:56:36 +02:00
ntrifunovic
bd4cd05acd Implemented feature request ID: 2515238; renamed an internal enum to avoid conflicts with macros from other libraries
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@85 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:52:02 +02:00
ntrifunovic
75c630f078 Release 2.1
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@84 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:51:32 +02:00
ntrifunovic
4d7ad9b625 Updated the documentation and a test to include peek_next()
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@83 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:51:21 +02:00
ntrifunovic
3a04fda526 Added peek_next
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@82 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:51:12 +02:00
ntrifunovic
aa6d8ff2f6 Release 2.0
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@79 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:47:07 +02:00
ntrifunovic
0cadd58fe2 Updated documentation. Fixed a small bug in checked.h. Added new checks to the negative tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@78 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/negative/negative.cpp
2014-06-01 01:46:55 +02:00
ntrifunovic
cc0f93fcfe Updated buildrelease.pl for the 2.0 source code structure
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@76 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/buildrelease.pl
2014-06-01 01:45:26 +02:00
ntrifunovic
c348cac915 Release 2.0 Beta 1
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@75 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:44:25 +02:00
ntrifunovic
340f5abb9b Added documentation for the iterator adapter
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@74 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:44:14 +02:00
ntrifunovic
c2d59c889b Updated makefiles to reflect the new source structure
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@73 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/test_drivers/negative/Makefile
	v2_0/test_drivers/performance/Makefile
	v2_0/test_drivers/regression_tests/Makefile
	v2_0/test_drivers/smoke_test/Makefile
	v2_0/test_drivers/utf8reader/Makefile
	v2_0/test_drivers/utf8reader/utf8reader.cpp
2014-06-01 01:43:40 +02:00
ntrifunovic
28149b16f3 The requirement for octet_iterator is bidirectional rather than random access now. Other minor changes
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@72 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:39:18 +02:00
ntrifunovic
f0a6b9376b Added boost directory, updated documentation, fixed a typo in a local variable in the code
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@71 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v1_0/doc/utf8cpp.html
	v1_0/source/utf8.h
2014-06-01 01:39:01 +02:00
ntrifunovic
bfb37e9c26 Added the unchecked iterator, added base() to the checked one, updated tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@69 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:35:08 +02:00
ntrifunovic
a42b82da3a Added the checked iterator, function prior that replaces previous, and updated the html documentation
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@66 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v1_0/doc/utf8cpp.html
2014-06-01 01:33:02 +02:00