Commit Graph

109 Commits

Author SHA1 Message Date
Markus Scherer
30c37a9114 ICU-1962 use uprv_malloc/free instead of new/delete for non-class types
X-SVN-Rev: 9194
2002-07-16 01:55:55 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
GCL Shanghai
80dfca0dc5 ICU-1953 remove Tabs
X-SVN-Rev: 9023
2002-07-03 11:59:21 +00:00
Alan Liu
e0d687d784 ICU-1544 add hasMetaData() to Replaceable
X-SVN-Rev: 9021
2002-07-03 01:03:46 +00:00
Markus Scherer
11948b52df ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
Markus Scherer
dfec291be4 ICU-1920 more error checking for read-only aliases
X-SVN-Rev: 8824
2002-06-08 19:42:51 +00:00
Markus Scherer
c44455d477 ICU-1728 add u_strCompare and u_strCaseCompare taking separate lengths and optional code point order
X-SVN-Rev: 8695
2002-05-24 17:05:31 +00:00
Markus Scherer
08e8447729 ICU-1438 use unorm_cmpEquivFold to implement case-insensitive string comparison - more efficient than earlier implementation
X-SVN-Rev: 8662
2002-05-22 00:35:01 +00:00
Markus Scherer
65eb5971c0 ICU-1728 re-implement CodePointOrder compare functions to make them work with surrogate code points
X-SVN-Rev: 8612
2002-05-13 23:03:09 +00:00
George Rhoten
7f87b5724e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8539
2002-04-30 17:22:11 +00:00
Doug Felt
77b6719b9b ICU-970 add substring constructors and setTo overload to UnicodeString
X-SVN-Rev: 8527
2002-04-26 18:02:49 +00:00
George Rhoten
bc64b17bee ICU-1199 Stop using the deprecated Unicode C++ class
X-SVN-Rev: 8105
2002-03-19 03:01:28 +00:00
Markus Scherer
d20923859f ICU-1542 use common code for finding surrogate code points
X-SVN-Rev: 8096
2002-03-18 23:25:30 +00:00
Alan Liu
cd9a595ff6 ICU-1779 avoid malloc(0)
X-SVN-Rev: 8091
2002-03-18 21:25:01 +00:00
Markus Scherer
6929fb9988 ICU-1126 use the real titlecase break iterator for titlecasing
X-SVN-Rev: 7996
2002-03-13 19:19:42 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
Andy Heninger
4408855d3f ICU-1730 UnicodeString thread safety changes
X-SVN-Rev: 7923
2002-03-09 00:36:54 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
Alan Liu
e5a8f1678a ICU-1544 add virtual extractBetween() to Replaceable and new UReplaceableCallback member 'extract'
X-SVN-Rev: 7788
2002-02-26 17:50:59 +00:00
Markus Scherer
b24a8e910f ICU-1542 fix indexOf(UChar32 surrogate), lastIndexOf(UChar32 surrogate), u_strchr32(surrogate) to match char32At()/UTF_GET_CHAR()
X-SVN-Rev: 7744
2002-02-22 02:00:42 +00:00
Markus Scherer
0e69af1c9e ICU-1126 add UniStr::toTitle() functions
X-SVN-Rev: 7734
2002-02-21 18:42:52 +00:00
Markus Scherer
1ef813cb29 ICU-1036 simplify internal string case mapping functions for more common code - remove growBuffer
X-SVN-Rev: 7717
2002-02-20 02:09:42 +00:00
George Rhoten
0836738cc1 ICU-1630 Move UMTX from utypes.h to umutex.h,
and remove unneeded references to mutex.h (so we can find multithreading issues more easily)

X-SVN-Rev: 7478
2002-01-23 17:17:06 +00:00
Markus Scherer
111f368fb4 ICU-785 UnicodeString functions with input const UChar * handle srcLength=-1
X-SVN-Rev: 6828
2001-11-13 19:27:19 +00:00
George Rhoten
068f60d1a0 ICU-1028 Fix for os/390
X-SVN-Rev: 6442
2001-10-25 21:55:45 +00:00
George Rhoten
fb2926bc6a ICU-900 Properly fixed some compiler warnings.
X-SVN-Rev: 6377
2001-10-22 22:08:44 +00:00
Vladimir Weinstein
d90dbcc7ff ICU-392 cleaning code for proper exports in libraries/urename.h generation + new version of urename.h
X-SVN-Rev: 6368
2001-10-22 05:29:14 +00:00
George Rhoten
b16fda7f7e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 6311
2001-10-18 22:04:22 +00:00
Markus Scherer
0b0455afa6 ICU-1081 fix foldCase() function
X-SVN-Rev: 6244
2001-10-15 22:55:21 +00:00
Markus Scherer
6fb93470d2 ICU-1267 add UnicodeString::countChar32()
X-SVN-Rev: 6197
2001-10-11 21:40:24 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Markus Scherer
032b6c82d7 ICU-1262 make US::setToBogus() public and more safe and consistent
X-SVN-Rev: 6108
2001-10-06 00:22:13 +00:00
George Rhoten
8154a3f262 ICU-392 Don't export as many symbols with a commonly used name.
X-SVN-Rev: 6094
2001-10-05 22:14:23 +00:00
Markus Scherer
ccb5577d4a ICU-1251 fix UnicodeString comparisons - were broken if buffers were shared but lengths different
X-SVN-Rev: 6090
2001-10-05 21:18:12 +00:00
Markus Scherer
db16dba640 ICU-1109 change NUL-termination semantics
X-SVN-Rev: 6027
2001-10-03 23:51:00 +00:00
George Rhoten
b8a93d5930 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5956
2001-09-28 00:42:28 +00:00
Markus Scherer
16c24627e0 ICU-809 forbid UnicodeString::setTo() while a getBuffer(minCapacity) is open
X-SVN-Rev: 5846
2001-09-20 22:19:51 +00:00
Markus Scherer
ed39c6bf2d ICU-809 implement the new getBuffer()s and releaseBuffer() and remove UnicodeString::getUChars()
X-SVN-Rev: 5830
2001-09-20 01:14:37 +00:00
Markus Scherer
07f4a12e0e ICU-1215 fix US::reverse() for supplementary characters
X-SVN-Rev: 5793
2001-09-18 22:28:10 +00:00
Markus Scherer
9f65fdc2db ICU-1200 add constructor & extract() with UConverter*
X-SVN-Rev: 5771
2001-09-18 01:12:14 +00:00
Markus Scherer
ddb9fa851a ICU-1197 add moveIndex32()
X-SVN-Rev: 5758
2001-09-17 22:05:21 +00:00
Markus Scherer
06973e024e ICU-1109 add US::extract() with NUL-termination and error/warning code
X-SVN-Rev: 5695
2001-09-05 23:37:56 +00:00
George Rhoten
667cb7b3b5 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 5542
2001-08-18 01:09:24 +00:00
George Rhoten
f850ad2c5e ICU-770 Change code for u_cleanup() API.
X-SVN-Rev: 5462
2001-08-11 00:29:58 +00:00
Markus Scherer
2fc1e2ef98 ICU-1027 move fLength back from Replaceable to UnicodeString, add virtual Rep::getLength()
X-SVN-Rev: 5156
2001-07-02 20:58:14 +00:00
George Rhoten
5ff95ae4c6 ICU-900 Removed unused functions
X-SVN-Rev: 5113
2001-06-27 22:32:49 +00:00
George Rhoten
dc95cc5905 ICU-1018 Move iostream and UnicodeStringStreamer usage from unistr.[h,cpp] to ustream.[h,cpp]
X-SVN-Rev: 5087
2001-06-26 17:57:53 +00:00
Markus Scherer
4bd57921ca ICU-973 use the new u_memcmpCodePointOrder()
X-SVN-Rev: 5079
2001-06-25 23:45:33 +00:00
George Rhoten
92be7ab1ae ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4770
2001-05-23 17:55:35 +00:00