Commit graph

64 commits

Author SHA1 Message Date
ntrifunovic
989700c107 Added unchecked::previous to the 1.x branch
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@70 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:35:54 +02:00
ntrifunovic
c40168ae30 Release notes for v1.02
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@68 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:34:49 +02:00
ntrifunovic
d6d7e983ab deprecated previous and introduced prior instead
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@67 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:33:59 +02:00
ntrifunovic
96ce3898b7 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:
	v2_0/doc/utf8cpp.html
	v2_0/source/utf8/checked.h
	v2_0/source/utf8/unchecked.h
	v2_0/test_drivers/smoke_test/test.cpp
2014-06-01 01:33:38 +02:00
ntrifunovic
aae3671dac Release 1.01
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@64 a809a056-fc17-0410-9590-b4f493f8b08e
2014-06-01 01:31:18 +02:00
ntrifunovic
a2dbaf2aaf Fix for the bug 1583547: exception::what is a const member function
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@63 a809a056-fc17-0410-9590-b4f493f8b08e
2014-05-31 23:47:29 +02:00
ntrifunovic
196a58c77e Release 1.0 Final
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@58 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-09 21:06:14 +00: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
1d0a0435be Got rid of a compilation warning
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@55 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-05 22:27:14 +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
dc0adbba22 Another refactoring - added sequence_length inline function
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@53 a809a056-fc17-0410-9590-b4f493f8b08e
2006-09-03 17:32:47 +00:00
ntrifunovic
94c65497d9 Added a boundary check to the optimization branch of next_validate
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@52 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-27 02:31:23 +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
856d0d2b3d Performance enhancement for utf8::next based functions.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@50 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-24 22:25:38 +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
124a50b920 Removed an unused function unchecked::get
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@47 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-22 22:31:22 +00:00
ntrifunovic
92e73d7eb2 A minor refactoring.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@46 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-18 22:46:49 +00:00
ntrifunovic
cc94834b93 Updated the documentation to reflect the change in API signatures
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@45 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-16 00:09:30 +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
45fe39aeb4 Fixed several typos with accepting results form "append". I can't explain the fact that it had no visible influence on the functionality.
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@40 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-11 22:38:42 +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
aad7fc0fef Release 1.0 Beta 3
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@35 a809a056-fc17-0410-9590-b4f493f8b08e
2006-08-04 00:42:26 +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
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