Commit graph

87 commits

Author SHA1 Message Date
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
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
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
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