Commit Graph

201 Commits

Author SHA1 Message Date
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
Markus Scherer
92992780d1 ICU-5835 add friend declaration for the union to see US_STACKBUF_SIZE, for standard-conformant C++ compilers
X-SVN-Rev: 22741
2007-10-03 19:18:52 +00:00
Markus Scherer
13270fbe6f ICU-5835 optimize UnicodeString: increase US_STACKBUF_SIZE from 7 to 13; optimize append() and unescape()
X-SVN-Rev: 22718
2007-09-28 04:50:25 +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
Markus Scherer
3c79dc08b7 ICU-4613 fix minor UnicodeString's compareCodePointOrder doc glitch
X-SVN-Rev: 22524
2007-08-24 19:27:03 +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
9623bf94e7 ICU-5357 Fix doxygen warnings.
X-SVN-Rev: 22265
2007-08-03 23:52:19 +00:00
Markus Scherer
c12f6712f9 ICU-4935 add U_TITLECASE_NO_LOWERCASE, U_TITLECASE_NO_BREAK_ADJUSTMENT, ucasemap_get/setBreakIterator, ucasemap_toTitle, ucasemap_utf8ToTitle, ucasemap_utf8FoldCase, UnicodeString::toTitle(...options)
X-SVN-Rev: 22170
2007-07-27 06:37:08 +00:00
George Rhoten
93351fd30c ICU-5357 Fix broken HTTP links in documentation.
X-SVN-Rev: 21699
2007-06-11 19:14:47 +00:00
George Rhoten
bc576b9b4c ICU-2957 Add support for UTF-16 string literal syntax.
X-SVN-Rev: 21600
2007-05-30 22:28:35 +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
Ram Viswanadha
40de6d9299 ICU-5221 fix docs
X-SVN-Rev: 20186
2006-08-29 21:55:46 +00:00
George Rhoten
ea6e0433c1 ICU-4707 Better fix for compiler warnings.
X-SVN-Rev: 19996
2006-08-07 20:29:51 +00:00