Commit Graph

233 Commits

Author SHA1 Message Date
Andy Heninger
0c77de936b ICU-12734 ICU4C 58 API Promotion.
X-SVN-Rev: 39318
2016-09-21 21:20:27 +00:00
Markus Scherer
7960164327 ICU-12663 UnicodeString support nearly 2G UChars & avoid integer overflows; string-to-string case mappings & detect integer overflows; make some calls to uprv_memcpy() and similar a little more robust by casting int32_t to size_t before multiplying
X-SVN-Rev: 39288
2016-09-20 01:10:36 +00:00
Fredrik Roubert
3959b30d02 ICU-12140 Pass StringPiece by value, externally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/306850043 .

X-SVN-Rev: 39064
2016-08-17 19:07:15 +00:00
Fredrik Roubert
de579d3bf9 ICU-12140 Pass StringPiece by value, internally.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/305000043 .

X-SVN-Rev: 39024
2016-08-04 17:40:53 +00:00
Steven R. Loomis
ad1cf1e346 ICU-12619 fix headers (BRS) merge from r38912
X-SVN-Rev: 38916
2016-07-01 17:01:51 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Peter Edberg
a7d264944d ICU-12187 BRS task - Update conditionals for non-stable APIs (common); fix clang warnings
X-SVN-Rev: 38495
2016-03-05 00:06:07 +00:00
Peter Edberg
87970fe888 ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API
X-SVN-Rev: 37976
2015-09-21 20:23:38 +00:00
Jungshik Shin
083ac0c904 ICU-11866 remove refrences to StringThreadTest (friend lines)
X-SVN-Rev: 37884
2015-09-04 19:07:56 +00:00
Markus Scherer
b053a38555 ICU-11613 un-document that a UnicodeString is memmovable, see ticket discussion
X-SVN-Rev: 37627
2015-06-28 11:20:51 +00:00
Markus Scherer
43c47b5685 ICU-11751 change genrb.c to .cpp, polymorphic StringResource & AliasResource with UnicodeString
X-SVN-Rev: 37618
2015-06-24 09:11:42 +00:00
Markus Scherer
3d77fc18b8 ICU-11317 split out a new doAppend() from the more general doReplace(), each optimizing for different cases
X-SVN-Rev: 37601
2015-06-18 14:09:54 +00:00
Markus Scherer
c1d22365ce ICU-11613 document that a UnicodeString is memmovable
X-SVN-Rev: 37600
2015-06-18 12:30:03 +00:00
Markus Scherer
7f8d3dfe07 ICU-10119 better document aliasing vs. copy/move/RVO
X-SVN-Rev: 37599
2015-06-18 12:19:20 +00:00
Markus Scherer
884da1b2a9 ICU-10086 change non-member swap functions, use in-class definition of friend function; prevent self assignment of UnicodeString stack buffer (harmless but causes warnings)
X-SVN-Rev: 37498
2015-06-04 00:16:09 +00:00
Markus Scherer
f7e715daee ICU-10086 move & swap for UnicodeString, LocalPointer, LocalArray
X-SVN-Rev: 37469
2015-05-28 17:03:45 +00:00
Markus Scherer
1d4b6a6ec7 ICU-11551 new UNISTR_OBJECT_SIZE=64 for 27 UChars stored internally on 64-bit machine
X-SVN-Rev: 37339
2015-04-15 18:49:55 +00:00
Markus Scherer
c6fe872157 ICU-11336 recombine stack buffer arrays; one int16_t for short length & flags
X-SVN-Rev: 36754
2014-11-19 21:17:24 +00:00
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