Commit graph

33 commits

Author SHA1 Message Date
ntrifunovic
06e8c4c627 Added Makefile to build the test programs
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@33 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-02 01:08:33 +00:00
ntrifunovic
da02583fea Fix for the bug [ 1531740 ] utf8::append does not work correctly for some code points.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@32 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-31 22:04:46 +00:00
ntrifunovic
daa8483afa Release 1.0 Beta 2
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@31 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-31 20:00:17 +00:00
ntrifunovic
a8a34b59dd Added the utf8reader test program
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@30 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-29 01:46:52 +00:00
ntrifunovic
347505ea0d Fixed test.cpp to execute completely instead of returning early. Fixed some VC8 /W4 warnings.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@29 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 18:40:14 +00:00
ntrifunovic
d3640c792b Added the code point validity check to utf::append
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@28 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 18:33:43 +00:00
ntrifunovic
9e726bcc5e Changed the type for seqence_length from size_t to std::iterator_traits<octet_iterator>::difference_type
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@27 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 18:20:13 +00:00
ntrifunovic
b24be40542 Added more test cases for utf::previous and utf::unchecked::previous to the smoke-test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@26 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:57:22 +00:00
ntrifunovic
5a0f1d3fc4 Changed unchecked::next to look more like utf8::next
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@25 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:41:09 +00:00
ntrifunovic
1e17f800fe Changed unchecked::next to match utf8::match. The functionality should remain the same.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@24 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:39:56 +00:00
ntrifunovic
ad118a86e7 Fix for the bug [ 1528544 ] utf::next does not work correctly for 4-byte sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@23 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-26 17:31:51 +00:00
ntrifunovic
d3097494fc Added test case for bug [ 1528544 ] utf::next does not work correctly for 4-byte sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@22 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 18:11:42 +00:00
ntrifunovic
abc6fd5428 Fix for the bug [ 1528369 ] utf8::find_invalid does not return the start of a seqence
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@21 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 17:20:44 +00:00
ntrifunovic
db36241cc1 Fixed conditions for impossible code points 0xfffe and 0xffff
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@20 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 13:16:11 +00:00
ntrifunovic
59fb926070 Added test case for [ 1528369 ] utf8::find_invalid does not return the start of a seqence
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@19 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-25 13:05:32 +00:00
ntrifunovic
3dfa478146 Fixed a problem in find_invalid : reporting some valid code points as invalid.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@18 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-24 11:37:56 +00:00
ntrifunovic
37856e785c Added TOC to utf8cpp.html document
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@17 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-21 10:30:53 +00:00
ntrifunovic
9bf8c4ae63 Fixed a bug with internal::validate_next. Was comparing the lead byte against 80 dec instead 0x80.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@16 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-20 16:18:30 +00:00
ntrifunovic
f7e5f04087 Implemented utf::next in terms of internal::validate_next
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@15 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-20 15:47:16 +00:00
ntrifunovic
a0800ac8f1 Fix for the bugs [ 1524459 ] utf8::is_valid does not report some illegal code positions and [ 1525236 ] utf8::is_valid does not detect overlong sequences.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@14 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-20 15:27:09 +00:00
ntrifunovic
99ea6bec06 Grouped helper code and constants into internal namespace
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@13 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-20 11:45:56 +00:00
ntrifunovic
93c5c6050d Added regression test case for bug 1525236 : utf8::is_valid does not detect overlong sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@12 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-19 12:37:31 +00:00
ntrifunovic
bc2f7ec37a updated r1_0Beta1/invalidutf8.h to cover the test case for the bug [ 1524459 ] utf8::is_valid does not report some illegal code positions
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@11 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-19 00:28:34 +00:00
ntrifunovic
fa0ef27df2 Added the regression test driver and the first test case
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@10 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-18 12:59:15 +00:00
ntrifunovic
7879ce9b52 Fixed the relative path for utf8.h in test.cpp
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@9 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-18 11:35:09 +00:00
ntrifunovic
41d020864f Added directory for regression tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@8 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-17 12:25:22 +00:00
ntrifunovic
4c9595e677 Added ReleaseNotes file
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@7 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-17 11:56:23 +00:00
ntrifunovic
3741931769 Updated the html page to link to the Sourceforge project page
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@6 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-16 13:12:11 +00:00
ntrifunovic
d1be63852e Removed a tynyhtml error log file
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@5 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-12 12:54:35 +00:00
ntrifunovic
e95c593cdc Added "negative test driver" - a short program that displayes lines from utf8_invalid.txt that
contain invalid utf-8 sequences


git-svn-id: http://svn.code.sf.net/p/utfcpp/code@4 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-12 12:49:06 +00:00
ntrifunovic
62c6f56cbe Using the correct version of Kuhn's test file. The previous one had invalid UTF-8 sequences "corrected" by the browser.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@3 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-11 20:14:52 +00:00
ntrifunovic
a8c794c2eb Removed a swap file
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@2 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-07 11:52:10 +00:00
ntrifunovic
ac29285954 Initial import of the project tree
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@1 a809a056-fc17-0410-9590-b4f493f8b08e
2006-07-07 11:48:37 +00:00