Commit graph

49 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
8671171bee Implemented replace_invalid functionality
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@61 a809a056-fc17-0410-9590-b4f493f8b08e

Conflicts:
	v2_0/doc/utf8cpp.html
	v2_0/source/utf8.h
	v2_0/test_drivers/smoke_test/test.cpp
2014-05-31 23:51:24 +02:00
ntrifunovic
501d9a21c4 Added a sample app, updated documentation, added clean target to the Makefile, added options Wall and pedantic to test drivers
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@57 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-09 20:39:45 +00:00
ntrifunovic
dab1a9da5a Resolved some VC++ Level 5 warnings
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@56 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-07 02:47:03 +00:00
ntrifunovic
6b52119dde Added -Wall option to the smoketest Makefile
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@54 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-04 00:46:12 +00:00
ntrifunovic
4e848f2c69 Added a utf16 > utf-8 test case for win32 performance test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@51 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-25 22:35:25 +00:00
ntrifunovic
bb4a61867c Fixed makefiles to compile utf8reader test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@49 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-23 21:40:08 +00:00
ntrifunovic
060e41eae1 Changed string literals in documentation and smoke-test file
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@48 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-23 21:39:13 +00:00
ntrifunovic
d7ef2ce0a9 Changed conversion functions to return the position of last inserted character/byte
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@44 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-15 01:54:49 +00:00
ntrifunovic
5658c96996 Added a performance test case to compare with Win32 conversion functions
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@43 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-15 01:50:20 +00:00
ntrifunovic
2656dc5872 Fixed the iconvtest performance test
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@42 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-12 22:40:59 +00:00
ntrifunovic
80c74cbf11 added utf16>utf8 conversions to performance tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@41 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-11 22:44:36 +00:00
ntrifunovic
988eb58264 Added performance testing
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@39 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-11 21:42:05 +00:00
ntrifunovic
3e5b1b6c51 Fix for the bug [ 1538338 ] unchecked::next does not work correctly for 4-byte sequences
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@38 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-10 21:51:28 +00:00
ntrifunovic
5a06d4d77c Added utfreader tests and more sample files
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@37 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-06 00:04:02 +00:00
ntrifunovic
0ac74b9a49 Added negative test to runtests.pl
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@36 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-05 21:46:34 +00:00
ntrifunovic
d680d69b44 Added automated build scripts. Moved the tests Makefile to test_drivers directory
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@34 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-04 00:38:14 +00:00
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
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
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
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
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
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
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
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
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