Commit Graph

120 Commits

Author SHA1 Message Date
Andy Heninger
ae4350661b ICU-10048 Fix some compiler warnings in ICU4C.
X-SVN-Rev: 33444
2013-03-21 01:42:01 +00:00
Markus Scherer
9f22b7cb11 ICU-9679 fix Clang 3.1 compiler warnings, all in test code, mostly adding integers to string literals
X-SVN-Rev: 32778
2012-11-09 00:09:28 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
f0f91649ce ICU-8691 fix UnicodeString::startsWith(const UChar *, -1 for NUL-terminated)
X-SVN-Rev: 30292
2011-07-07 18:21:28 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Markus Scherer
493668a25f ICU-8573 remove support for U_IOSTREAM_SOURCE=198506
X-SVN-Rev: 30278
2011-07-05 23:42:32 +00:00
Markus Scherer
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +00:00
Markus Scherer
d5599d7be9 ICU-8314 change Appendable into a base class, add UnicodeStringAppendable
X-SVN-Rev: 29392
2011-02-03 22:07:22 +00:00
Markus Scherer
d8ea46628b ICU-8314 Appendable interface, AppendableAdapter default impl & UnicodeString is-an Appendable
X-SVN-Rev: 29390
2011-02-03 05:28:01 +00:00
Markus Scherer
334ad85355 ICU-8091 fix UnicodeString::reverse() for when the only lead surrogate is in the middle of an odd-length string
X-SVN-Rev: 28952
2010-10-29 00:15:27 +00:00
Markus Scherer
3360fe4708 ICU-7144 merge UTS #46 (IDNA2008) C/C++ feature into trunk, merging in -r 27794:28172 icu/branches/markus/uts46
X-SVN-Rev: 28195
2010-06-15 15:54:53 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
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