Commit Graph

127 Commits

Author SHA1 Message Date
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
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
Markus Scherer
ef1abeabce ICU-827 reimplement extract(char *) to fix preflighting and improve performance
X-SVN-Rev: 4168
2001-03-17 22:14:30 +00:00
George Rhoten
87412d7a69 ICU-580 os/390 porting changes
X-SVN-Rev: 3776
2001-02-26 19:22:32 +00:00
George Rhoten
f088b164c6 ICU-597 redefine U_MAX_PTR into a macro
X-SVN-Rev: 3699
2001-02-21 01:30:39 +00:00
Markus Scherer
55b780688e ICU-709 resolve virtual/inline conflict, details see jitterbug response
X-SVN-Rev: 3625
2001-02-14 18:02:44 +00:00
Markus Scherer
d4646d08d9 ICU-840 implement case-insensitive string compare
X-SVN-Rev: 3622
2001-02-14 01:10:10 +00:00
Markus Scherer
965a295205 ICU-542 UnicodeString::toLower()/toUpper() must not use fStackBuffer for src _and_ dest!
X-SVN-Rev: 3543
2001-02-02 21:07:43 +00:00
Markus Scherer
9632c94006 ICU-542 implement UnicodeString::toLower()/toUpper() with u_internalStrToLower/Upper()
X-SVN-Rev: 3539
2001-02-02 20:41:18 +00:00
Markus Scherer
2b12895952 ICU-750 implement compareCodePointOrder()
X-SVN-Rev: 3471
2001-01-24 02:37:58 +00:00
George Rhoten
47c3f11f09 ICU-790 Added some headers that were in unistr.h
X-SVN-Rev: 3333
2001-01-02 19:23:27 +00:00
George Rhoten
37aa068183 ICU-97 Added some improvements for faster comparing (e.g. don't add a pointer twice)
X-SVN-Rev: 2732
2000-10-19 21:02:01 +00:00
George Rhoten
5be423fddd ICU-463 extract with a NULL destination works properly now.
X-SVN-Rev: 2411
2000-08-31 23:57:00 +00:00
George Rhoten
66bae3ec8a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2406
2000-08-30 23:42:28 +00:00
George Rhoten
16d67c3ebb ICU-463 Put fix for pointer overflow back into code.
X-SVN-Rev: 2360
2000-08-28 19:18:02 +00:00
George Rhoten
308a5811c1 ICU-463 Fixed a typo in extract
X-SVN-Rev: 2356
2000-08-26 01:54:05 +00:00
George Rhoten
a419f3377a ICU-463 added a targetLength to the extract function.
X-SVN-Rev: 2332
2000-08-23 02:10:51 +00:00
George Rhoten
3de2aeabe7 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2314
2000-08-21 19:55:59 +00:00
Markus Scherer
9708c34d2c ICU-410 unescape() return an empty string in case of error
X-SVN-Rev: 2298
2000-08-16 23:28:24 +00:00
Alan Liu
52826c7008 ICU-410 fix bugs in unescape code
X-SVN-Rev: 2292
2000-08-16 20:24:57 +00:00
Alan Liu
d8ad2edf61 ICU-410 remove dead code
X-SVN-Rev: 2256
2000-08-15 15:42:49 +00:00
Markus Scherer
17df34956e ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2199
2000-08-11 19:23:50 +00:00
Vladimir Weinstein
759d6be056 ICU-460 OS/390 related changes
X-SVN-Rev: 2079
2000-07-31 22:33:44 +00:00
Alan Liu
cb74716658 ICU-410 create unified unescape function(s)
X-SVN-Rev: 1896
2000-07-16 13:39:07 +00:00
Markus Scherer
6aea18ee6e ICU-410 add API facades for string unescaping
X-SVN-Rev: 1707
2000-06-29 19:36:20 +00:00
Vladimir Weinstein
ca5cb935ca ICU-406 putting collation data in resource bundles (initial revision)
X-SVN-Rev: 1427
2000-05-22 19:50:23 +00:00
Alan Liu
358312cc1a ICU-352 add new Replaceable API
X-SVN-Rev: 1423
2000-05-20 04:41:12 +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
Markus Scherer
53f279b17e ICU-368 need to actually export the correct operator<< definition
X-SVN-Rev: 1374
2000-05-15 19:32:34 +00:00
Yves Arrouye
ebd22f3413 ICU-368 conditionally use <iostream> (and the std namespace),
<iostream.h>, or no streams at all depending on the value of U_IOSTREAM_SOURCE.

X-SVN-Rev: 1252
2000-04-25 21:33:15 +00:00
Markus Scherer
a84cd3f751 ICU-176 change constructors from UChar32 and from capacity as proposed
X-SVN-Rev: 1172
2000-04-19 20:39:54 +00:00
Steven R. Loomis
90d12c93b9 ICU-185 Locale takes/returns char*. Old api's deprecated. Implementation fixed to not use deprecated api's.
X-SVN-Rev: 1134
2000-04-15 21:19:44 +00:00
Markus Scherer
9188757ce0 ICU-136 reduce UnicodeString footprint: remove fHashCode & reduce US_STACKBUF_SIZE to 7; size 32B
X-SVN-Rev: 1118
2000-04-12 20:04:41 +00:00
Markus Scherer
2b2af0bbc5 ICU-176 utf macros get, prev, back take start parameter
X-SVN-Rev: 1116
2000-04-12 19:36:07 +00:00
Yves Arrouye
6ae72bf76b ICU-312 don't pass a null converter to ucnv_reset()!
X-SVN-Rev: 1107
2000-04-10 23:26:18 +00:00
Markus Scherer
0399573487 ICU-176 numDisplayCells() UTF-16 enabled
X-SVN-Rev: 1081
2000-04-06 16:47:20 +00:00
Markus Scherer
bba7ac1a00 ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1052
2000-04-03 23:53:59 +00:00
Markus Scherer
e60f81180f ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1050
2000-04-01 00:21:57 +00:00
Alan Liu
34b14575f4 ICU-149 make UnicodeString delegate hashcode computation to uhash
X-SVN-Rev: 1048
2000-03-31 23:50:49 +00:00
Markus Scherer
eb3ba827c6 ICU-312 jitterbug 136: new UnicodeString memory allocation/aliasing implementation
X-SVN-Rev: 1012
2000-03-29 01:13:49 +00:00
Steven R. Loomis
6c77945014 ICU-200 OS400 update
X-SVN-Rev: 797
2000-02-18 21:05:24 +00:00
Vladimir Weinstein
8e21f86812 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 472
1999-12-28 23:39:02 +00:00
Markus Scherer
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Markus Scherer
5927a9f1e8 ICU-174 make code more robust
X-SVN-Rev: 337
1999-12-08 00:15:46 +00:00
Markus Scherer
1d4baa47fb ICU-170 fix findAndReplace()
X-SVN-Rev: 330
1999-12-07 03:22:12 +00:00
Markus Scherer
bf3a6d7f22 ICU-170 fix doCompare()
X-SVN-Rev: 325
1999-12-07 00:12:31 +00:00
Markus Scherer
5f5e9bfece ICU-170 fix and improve lastIndexOf() and improve indexOf()
X-SVN-Rev: 284
1999-12-03 00:04:14 +00:00
Vladimir Weinstein
695dce92f3 ICU-157 making tools independent form icudata.dll
X-SVN-Rev: 282
1999-12-02 23:26:44 +00:00
Markus Scherer
8605eb159d ICU-68 fixes for aliasing
X-SVN-Rev: 277
1999-12-02 18:33:25 +00:00
Markus Scherer
2d617ab9d0 ICU-68 fixes for aliasing
X-SVN-Rev: 272
1999-12-01 21:28:18 +00:00
Markus Scherer
bbf2815b33 ICU-68 construct UnicodeString from invariant char*, alias from UChar*
X-SVN-Rev: 268
1999-12-01 17:51:53 +00:00
Vladimir Weinstein
14e6e92642 ICU-161 changed copyright notice
X-SVN-Rev: 220
1999-11-22 20:25:35 +00:00
Alan Liu
925f2cf8c1 ICU-114 Make UnicodeString inherit from Replaceable
X-SVN-Rev: 191
1999-11-19 23:13:41 +00:00
Steven R. Loomis
5c2ed81c17 ICU-52 It would help if the correct target_limit was used rather than simply calculated. [This is part of the fix for MAX_STRLEN pointer wraparounds]
X-SVN-Rev: 124
1999-10-26 21:15:33 +00:00
Steven R. Loomis
9b6b9be460 ICU-52 Cast U_MAX_PTR to some type. 'void' has no size!
X-SVN-Rev: 123
1999-10-26 17:53:50 +00:00
Steven R. Loomis
cac0aa8819 ICU-52 fixed austrcpy and UnicodeString::extract so they use U_MAX_PTR if a pointer wraps around.
X-SVN-Rev: 115
1999-10-25 22:20:12 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Markus Scherer
80a098923f ICU-5 need to use icu_malloc() etc.
replace stdlib function calls by icu_...

X-SVN-Rev: 17
1999-10-06 00:05:42 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00