Commit Graph

213 Commits

Author SHA1 Message Date
Michael Ow
e5a9a38924 ICU-10398 Fix uconfig test errors in ICU 52
X-SVN-Rev: 34404
2013-09-19 20:47:22 +00:00
Markus Scherer
1442c4ffcd ICU-9740 fix UnicodeString::getTerminatedBuffer() vs. truncated read-only alias
X-SVN-Rev: 34365
2013-09-17 21:44:35 +00:00
Markus Scherer
16785e1aa5 ICU-10257 fix typo in isBogus() docs
X-SVN-Rev: 34361
2013-09-17 20:04:29 +00:00
Steven R. Loomis
f9d90ad80b ICU-10178 clarify UnicodeString::compare
X-SVN-Rev: 34180
2013-09-04 04:40:58 +00:00
Peter Edberg
fbace77746 ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Michael Ow
37eeb709db ICU-9955 merge ICU4C API status promotion to trunk
X-SVN-Rev: 33306
2013-02-22 20:15:50 +00:00
Markus Scherer
891a08a70a ICU-9635 inline-implement the UnicodeString and Replaceable default constructors
X-SVN-Rev: 32781
2012-11-09 19:34:53 +00:00
Markus Scherer
33eb771977 ICU-9297 use memcmp() in UnicodeString::operator==()
X-SVN-Rev: 32552
2012-10-08 18:24:41 +00:00
Steven R. Loomis
1dff0b56ee ICU-9501 doxygen cleanup.
X-SVN-Rev: 32372
2012-09-11 20:51:51 +00:00
Markus Scherer
9f8f976bf6 ICU-6173 fix comments about type characters in CaseFolding.txt
X-SVN-Rev: 32254
2012-08-27 23:42:11 +00:00
Andy Heninger
3c69969daa ICU-9248 fix fastCopyFrom lifetime comment
X-SVN-Rev: 31923
2012-06-08 17:58:13 +00:00
Markus Scherer
e39bc5efd7 ICU-9248 update doc of UnicodeString readonly-aliasing constructor & setTo() re fastCopyFrom()
X-SVN-Rev: 31913
2012-06-06 17:35:12 +00:00
Steven R. Loomis
2d4804ddab ICU-8869 revert r30787 for destructors, update api ref
X-SVN-Rev: 30798
2011-10-04 20:16:25 +00:00
Steven R. Loomis
47b3023462 ICU-8869 update API change report for m1
X-SVN-Rev: 30787
2011-10-04 01:50:34 +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
6e70106104 ICU-7877 more documentation for explicit UnicodeString constructors
X-SVN-Rev: 30300
2011-07-08 22:09:28 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +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
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Markus Scherer
7a70bd8645 ICU-8197 undo bad fix from ticket #7039 because extract(..., uint32_t dstSize, ...) uses U_MAX_PTR(target) which is hopefully fixed for all platforms now (see ticket #8096)
X-SVN-Rev: 30022
2011-05-04 15:56:03 +00:00
Markus Scherer
8322425f05 ICU-8051 remove comments about start parameter from +=(srcText) and append(srcText) docs
X-SVN-Rev: 29930
2011-04-29 18:54:10 +00:00
Fredrik Roubert
6440a3a207 ICU-6743 UnicodeString::setTo(const UnicodeString& srcText) should work exactly like the assignment operator
X-SVN-Rev: 29777
2011-04-12 15:10:45 +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
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +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
0a55346c64 ICU-7047 document that an isBogus() UnicodeString also isEmpty()
X-SVN-Rev: 27692
2010-02-26 00:37:44 +00:00
Steven R. Loomis
1457da183c ICU-7353 docs fixup and updated API Change Report
X-SVN-Rev: 27537
2010-02-11 00:53:57 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +00:00
Steven R. Loomis
64835de257 ICU-7353 docs fixup
X-SVN-Rev: 27339
2010-01-19 23:39:42 +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
Michael Ow
b4853d0331 ICU-7222 Remove Windows x64 warnings by casting explicitly.
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Michael Ow
4ca1eed83e ICU-7039 Fix pointer integer comparison.
X-SVN-Rev: 26458
2009-07-30 16:47:30 +00:00
Michael Ow
d8554576c2 ICU-7039 Enable optimization for C++ files using GCC.
X-SVN-Rev: 26455
2009-07-29 19:44:01 +00:00
Markus Scherer
12be5b8ce0 ICU-6928 even simpler NUL-termination code, now only in getTerminatedBuffer(); insight: getTerminatedBuffer() can safely write a NUL even in a shared, allocated (kLongString & refCount()>1) buffer so no other code need NUL-terminate the buffer
X-SVN-Rev: 26007
2009-05-14 06:05:27 +00:00
Markus Scherer
b23ab3d19d ICU-6928 make not-writable UnicodeString buffers NUL-terminated if there is space, and NUL-terminate writable buffers if there is space; this is so valgrind and Purify don't complain about testing uninitialized memory
X-SVN-Rev: 26006
2009-05-13 21:05:51 +00:00
Steven R. Loomis
8e85f80a2a ICU-6797 raft of doxygen fixes for milestone:4.1.4
X-SVN-Rev: 25600
2009-03-17 01:47:25 +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
2cc78d6fce ICU-6606 split UnicodeString methods so that implicitly using the default codepage does not have to depend on ucnv_* functions if the default is UTF-8
X-SVN-Rev: 25554
2009-03-11 23:57:47 +00:00
Andy Heninger
8ec2292d83 ICU-6776 fix compilation error with UnicodeString::toUTF8String()
X-SVN-Rev: 25524
2009-03-09 02:54:18 +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
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
George Rhoten
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +00:00
Markus Scherer
a5ab4206d7 ICU-5835 add forward declaration before friend declaration, for standard-conformant C++ compilers
X-SVN-Rev: 22742
2007-10-03 20:59:45 +00:00