Commit graph

32 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
ntrifunovic
65a33d5965 Added the first version of the iterator to the code. Started upgrading the html documentation
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@65 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:32:02 +02:00
ntrifunovic
dc7df7b78c split the library into multiple .h files
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@62 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:30:31 +02:00