Commit Graph

42 Commits

Author SHA1 Message Date
Shane F. Carr
a21523d7c8
ICU-13707 Make UnicodeString safe when appended or inserted into itself. (#147) 2018-09-27 14:27:41 -07:00
Markus Scherer
4c1c730f57 ICU-12992 remove conversion from int; NULL is often nullptr or __null not simply 0
X-SVN-Rev: 39717
2017-03-01 21:11:54 +00:00
Markus Scherer
9634351bd7 ICU-12992 test overloads with pointer-wrapper class, add constructor(int null) to match NULL==0
X-SVN-Rev: 39713
2017-02-28 06:50:27 +00:00
Markus Scherer
4c2fad3e36 ICU-12410 class Edits, class CaseMap with new low-level functions that work with Edits, simpler case properties code, some cleanup
X-SVN-Rev: 39684
2017-02-17 21:03:35 +00:00
Markus Scherer
4207d7fc26 ICU-12410 test & fix Edits
X-SVN-Rev: 39660
2017-02-10 04:44:37 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Andy Heninger
52989746d9 ICU-12849 Title Casing, incorrect length returned when preflighting with a NULL output buffer.
X-SVN-Rev: 39518
2016-12-01 01:41:40 +00:00
Markus Scherer
104b90bc3f ICU-12639 detect & handle malformed UTF-8, never call the low-level full case mapping functions with a negative value
X-SVN-Rev: 39295
2016-09-20 20:32:12 +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
Markus Scherer
15415832df ICU-5456 modern Greek toUpperCase(), remove most diacritics
X-SVN-Rev: 39228
2016-09-14 23:17:11 +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
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
f31fa446bc ICU-9065 internal API for reverse-full-case-folding data
X-SVN-Rev: 31237
2012-01-20 19:35:13 +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
086386bd9e ICU-8322 pack class UnicodeString layout to avoid padding
X-SVN-Rev: 29398
2011-02-04 19:54:58 +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
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
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
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
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
Markus Scherer
b054ffff93 ICU-4504 UCaseMap and UTF-8 toLower() & toUpper()
X-SVN-Rev: 17633
2005-05-20 17:31:12 +00:00
George Rhoten
7936a38824 ICU-4092 Increase code coverage
X-SVN-Rev: 17013
2004-12-23 20:03:22 +00:00
Markus Scherer
cc21ef7ba4 ICU-699 add StringEnumeration default implementations
X-SVN-Rev: 13612
2003-11-06 23:25:00 +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
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +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
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
a617b35b4a ICU-1794 test UnicodeString::hasMoreChar32Than
X-SVN-Rev: 10004
2002-10-09 21:36:47 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +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
George Rhoten
e29f4f62c4 ICU-770 Make the tests build and/or run faster
X-SVN-Rev: 5659
2001-08-31 18:02:09 +00:00
Ram Viswanadha
7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00
George Rhoten
cc62cf111d ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 3188
2000-12-09 03:17:45 +00:00
Alan Liu
63880d0371 ICU-410 test unescape code
X-SVN-Rev: 2293
2000-08-16 20:25:29 +00:00
George Rhoten
2dbb8812ba ICU-535 fixed some compiler warnings
X-SVN-Rev: 2226
2000-08-14 21:42:36 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00