Commit Graph

108 Commits

Author SHA1 Message Date
Markus Scherer
8ddbd1394c ICU-7273 merge in Normalizer2 API & code, and ICU-5785 UnicodeSet::span(UnicodeString) and ICU-7296 tempSubString()/retainBetween(); merge -r 26971:27150 branches/markus/norm2
X-SVN-Rev: 27155
2010-01-06 23:50:03 +00:00
Markus Scherer
66b63f9c48 ICU-7084 Unicode 5.2: merge -r 26464:26890 branches/markus/uni52 into trunk, and a little cleanup (C++)
X-SVN-Rev: 26898
2009-11-13 19:25:21 +00:00
Markus Scherer
41ffbd67ca ICU-7162 fix typo, forbid LocalPointer heap allocation
X-SVN-Rev: 26736
2009-10-03 04:36:01 +00:00
Markus Scherer
f3f70fe978 ICU-7162 temporary template test
X-SVN-Rev: 26734
2009-10-03 00:25:04 +00:00
Markus Scherer
0d85d9fff4 ICU-6928 remove U_VALGRIND from the test
X-SVN-Rev: 26013
2009-05-16 20:42:27 +00:00
Andy Heninger
6e9727e6d5 ICU-2515 add test for uenum_openFromStringEnumeration()
X-SVN-Rev: 25834
2009-04-19 05:20:15 +00:00
Andy Heninger
7ba40f1363 ICU-6375 Add option for reducing spurious valgrind errors
X-SVN-Rev: 25586
2009-03-13 23:49:56 +00:00
Markus Scherer
e74be582d0 ICU-6606 optimized away calls to u_getDefaultConverter() from UnicodeString code (constructors and extract()) if U_CHARSET_IS_UTF8
X-SVN-Rev: 25571
2009-03-12 21:24:54 +00:00
Markus Scherer
63ea2e06da ICU-6765 add API: StringPiece, ByteSink(s), UnicodeString::toUTF8() and fromUTF8()
X-SVN-Rev: 25519
2009-03-06 19:19:00 +00:00
Markus Scherer
311b29556f ICU-6677 add UnicodeString fromUTF32() and toUTF32() methods
X-SVN-Rev: 25448
2009-02-19 22:35:06 +00:00
Eric Mader
f0abc13c5d ICU-6337 Make sure unescapable strings get created in the invariant codepage.
X-SVN-Rev: 24175
2008-06-13 19:49:55 +00:00
Markus Scherer
7bb221a187 ICU-5869 revert changes (r22476); too risky and needs further discussion; see ticket reply
X-SVN-Rev: 22607
2007-08-31 19:39:14 +00:00
George Rhoten
8620a4a530 ICU-5869 Properly NULL terminate strings that are not byte based, like UTF-16 or UTF-32.
X-SVN-Rev: 22476
2007-08-22 23:39:11 +00:00
George Rhoten
609d6ef7fc ICU-5445 Fix some compiler warnings.
X-SVN-Rev: 20700
2006-11-28 22:07:19 +00:00
Markus Scherer
c098a88613 ICU-5304 gcc is picky about the order of defining and using an enum in a class
X-SVN-Rev: 20589
2006-10-23 21:47:49 +00:00
Markus Scherer
4f5e372f0d ICU-5304 fix macros in unistr.h with namespace qualification of the UnicodeString class
X-SVN-Rev: 20586
2006-10-23 21:12:33 +00:00
George Rhoten
39db5e3c44 ICU-5410 Improve test code coverage
X-SVN-Rev: 20373
2006-09-21 01:25:43 +00:00
George Rhoten
8fa0d0b1cd ICU-4092 Improve code coverage of UnicodeString::extract
X-SVN-Rev: 17028
2004-12-28 21:13:54 +00:00
George Rhoten
7936a38824 ICU-4092 Increase code coverage
X-SVN-Rev: 17013
2004-12-23 20:03:22 +00:00
George Rhoten
7063b3ce6d ICU-4092 Increase code coverage
X-SVN-Rev: 16995
2004-12-22 00:42:18 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
Markus Scherer
01889c4280 ICU-2761 make UnicodeString::extractBetween() pin properly
X-SVN-Rev: 15179
2004-05-06 17:41:09 +00:00
George Rhoten
ab4018c041 ICU-3222 Fix some compiler warnings.
X-SVN-Rev: 13920
2003-12-01 22:41:26 +00:00
Markus Scherer
cc21ef7ba4 ICU-699 add StringEnumeration default implementations
X-SVN-Rev: 13612
2003-11-06 23:25:00 +00:00
Markus Scherer
2875ab287f ICU-2360 UnicodeString pointer+length functions should recognize length=-1 for NUL-terminated input
X-SVN-Rev: 13548
2003-10-31 23:08:12 +00:00
Markus Scherer
e207ba9a7c ICU-2950 add public operator + to UnicodeString
X-SVN-Rev: 13544
2003-10-31 21:28:46 +00:00
George Rhoten
bd5472281f ICU-3221 Fix some AIX linker warnings.
X-SVN-Rev: 13482
2003-10-24 01:04:44 +00:00
Alan Liu
800f4020cb ICU-2804 add UnicodeString test for \x{...}
X-SVN-Rev: 11861
2003-05-09 16:15:49 +00:00
Markus Scherer
41c2ebf526 ICU-2710 remove @obsolete ICU 2.6 and earlier code
X-SVN-Rev: 11748
2003-05-01 01:31:28 +00:00
Markus Scherer
ece6fe9eca ICU-1730 add Replaceable::clone()
X-SVN-Rev: 11741
2003-04-30 22:08:57 +00:00
Markus Scherer
959aa6bab4 ICU-2356 all UnicodeString methods should treat NULL input pointers as empty strings
X-SVN-Rev: 11739
2003-04-30 02:22:02 +00:00
Steven R. Loomis
89e04417da ICU-2542 better test err output
X-SVN-Rev: 10510
2002-12-05 21:36:06 +00:00
Markus Scherer
fdc0319c0f ICU-2118 improve UnicodeString API coverage
X-SVN-Rev: 10385
2002-11-26 23:33:37 +00:00
Markus Scherer
dc2a132696 ICU-2351 allow remove(guaranteed everything) and truncate(0) to also un-bogus a string
X-SVN-Rev: 10289
2002-11-19 02:12:39 +00:00
Markus Scherer
c9d8242c60 ICU-2351 test that behavior of bogus strings is consistent with NULL: only assignment revives a bogus string
X-SVN-Rev: 10283
2002-11-16 01:15:29 +00:00
Markus Scherer
ee0d1cd5db ICU-2145 fix a test bug
X-SVN-Rev: 10156
2002-11-06 00:55:08 +00:00
Markus Scherer
a617b35b4a ICU-1794 test UnicodeString::hasMoreChar32Than
X-SVN-Rev: 10004
2002-10-09 21:36:47 +00:00
Markus Scherer
c8bba9db42 ICU-2343 remove UCharReference and non-const UnicodeString::operator[]
X-SVN-Rev: 9994
2002-10-08 23:56:15 +00:00
Markus Scherer
e37690683e ICU-2351 all UnicodeString modifications should make a bogus string valid/empty
X-SVN-Rev: 9980
2002-10-05 00:38:27 +00:00
George Rhoten
6baf89a4cd ICU-2085 Don't use deprecated or unused includes
X-SVN-Rev: 9762
2002-08-21 22:14:43 +00:00
George Rhoten
56cbadb751 ICU-2085 Don't use deprecated code anymore
X-SVN-Rev: 9755
2002-08-21 19:09:33 +00:00
George Rhoten
343d6e93ba ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 9342
2002-07-25 18:32:04 +00:00
Markus Scherer
5a81709c73 ICU-1962 derive all ICU C++ classes from common UObject base class
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
Markus Scherer
712900b007 ICU-1920 test UnicodeString::getTerminatedBuffer()
X-SVN-Rev: 8823
2002-06-08 19:36:19 +00:00
George Rhoten
d6629b8414 ICU-1923 Properly test StringCaseTest
X-SVN-Rev: 8791
2002-06-05 17:56:33 +00:00
Markus Scherer
0a70506190 ICU-1923 upgrade case folding to Unicode 3.2
X-SVN-Rev: 8769
2002-06-03 03:33:44 +00:00
Markus Scherer
e64cea6ab7 ICU-1728 add tests for code point order comparisons with surrogate code points
X-SVN-Rev: 8610
2002-05-13 22:55:39 +00:00
Steven R. Loomis
2912227ccb ICU-1886 platform fix (AIX) - cast UChar32 explicitly to avoid ambiguous conversion
X-SVN-Rev: 8570
2002-05-08 16:38:32 +00:00
Doug Felt
77b6719b9b ICU-970 add substring constructors and setTo overload to UnicodeString
X-SVN-Rev: 8527
2002-04-26 18:02:49 +00:00
Markus Scherer
49ac6b4d18 ICU-1126 move case mapping tests to new strcase.cpp
X-SVN-Rev: 7997
2002-03-13 19:21:27 +00:00