Commit Graph

142 Commits

Author SHA1 Message Date
Markus Scherer
e37690683e ICU-2351 all UnicodeString modifications should make a bogus string valid/empty
X-SVN-Rev: 9980
2002-10-05 00:38:27 +00:00
Markus Scherer
a715afb3e8 ICU-2150 replace UTF_ macros with U16_ macros in public header files
X-SVN-Rev: 9974
2002-10-04 22:09:49 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Markus Scherer
3ad71d6de5 ICU-2284 point more prominently to the User Guide Strings chapter, improve UNICODE_STRING_SIMPLE slightly
X-SVN-Rev: 9834
2002-09-04 00:57:54 +00:00
George Rhoten
dbd2653078 ICU-2085 Don't use deprecated or unused includes
X-SVN-Rev: 9765
2002-08-21 22:38:33 +00:00
Markus Scherer
9b3a004040 ICU-2031 change @draft 1.8 to @stable
X-SVN-Rev: 9629
2002-08-08 23:08:14 +00:00
George Rhoten
a588120c7e ICU-2023 Fix some doxygen documentation problems.
X-SVN-Rev: 9359
2002-07-25 23:08:28 +00:00
Markus Scherer
b69d6275bf ICU-1970 deprecate cellWidth
X-SVN-Rev: 9037
2002-07-04 00:39:31 +00:00
GCL Shanghai
bcb21ca4f1 ICU-1953 Check APIs comments for @param, @return...
X-SVN-Rev: 9024
2002-07-03 12:05:56 +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
156e2f983f ICU-1962 call UObject constructor at least in derived-class copy constructor to avoid compiler warnings
X-SVN-Rev: 9019
2002-07-02 23:58:34 +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
5a81709c73 ICU-1962 derive all ICU C++ classes from common UObject base class
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
Markus Scherer
64e7f644ea ICU-1920 add UnicodeString::getTerminatedBuffer()
X-SVN-Rev: 8822
2002-06-08 19:35:15 +00:00
Markus Scherer
778d535abe ICU-1728 duplicate U_COMPARE_CODE_POINT_ORDER in multiple header files to avoid forcing users to include ustring.h just for this (may not be optimal solution)
X-SVN-Rev: 8700
2002-05-24 22:22:16 +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
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
Syn Wee Quek
68cef8fd8f ICU-809
replaced UnicodeString.farray by UnicodeString.getBuffer()

X-SVN-Rev: 7969
2002-03-13 04:46:42 +00:00
Syn Wee Quek
ba68284b32 ICU-809
replaced UnicodeString.farray by UnicodeString.getBuffer()

X-SVN-Rev: 7968
2002-03-13 03:18:11 +00:00
Andy Heninger
08b4fb16d0 ICU-1730 String Thread test class renamed to avoid conflicts with other stringtest
X-SVN-Rev: 7963
2002-03-12 23:15:41 +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
600998cd7f ICU-1730 String Thread test debugged and strengthened
X-SVN-Rev: 7939
2002-03-11 23:53:20 +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
69839e5594 ICU-1126 document which BreakIterator methods are used by toTitle()
X-SVN-Rev: 7740
2002-02-22 00:14:54 +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
24fb5c7668 ICU-1629 Simplify UnicodeString creation
X-SVN-Rev: 7471
2002-01-22 00:27:49 +00:00
George Rhoten
859edb1416 ICU-1567 This should fix some of the AIX 4.3/Visual Age 5 preprocessor problems
X-SVN-Rev: 7187
2001-11-30 00:06:13 +00:00
Markus Scherer
a56040d6b1 ICU-1472 update @draft/@stable labels on public APIs
X-SVN-Rev: 6848
2001-11-13 22:47:47 +00:00
Markus Scherer
b464fd7971 ICU-1007 un-friend class Normalizer
X-SVN-Rev: 6338
2001-10-19 17:35:07 +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
9f61db5f73 ICU-1262 make US::setToBogus() public and test it
X-SVN-Rev: 6107
2001-10-05 23:53:00 +00:00
Markus Scherer
761c91b967 ICU-1256 make US::getCapacity() public and use it
X-SVN-Rev: 6089
2001-10-05 20:44:56 +00:00
George Rhoten
1616010104 ICU-1211 Add U_COMMON_API to UCharReference
X-SVN-Rev: 6019
2001-10-03 21:31:31 +00:00
Markus Scherer
d31068034f ICU-1222 deprecate/change confusing names of getChar32Start(), getChar32Limit(), isEmpty()
X-SVN-Rev: 5945
2001-09-27 22:37:55 +00:00
Markus Scherer
587f253a41 ICU-809 small change in const-getBuffer()
X-SVN-Rev: 5888
2001-09-22 00:58:52 +00:00
George Rhoten
bae514fec0 ICU-809 Make ustdio use getBuffer instead of getArray
X-SVN-Rev: 5836
2001-09-20 17:36:40 +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
cad169cb8e ICU-1200 add @draft
X-SVN-Rev: 5806
2001-09-19 00:39: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
Syn Wee Quek
8e4ca45744 ICU-1030
Made SearchIterator and StringSearch friends to UnicodeString.

X-SVN-Rev: 5586
2001-08-25 02:00:55 +00:00
Markus Scherer
173a4678e2 ICU-1007 rename GrowBuffer to UGrowBuffer to avoid potential naming conflicts
X-SVN-Rev: 5487
2001-08-17 00:18:25 +00:00
Yves Arrouye
cbeb753bc6 ICU-1088 fixed constness issues.
X-SVN-Rev: 5464
2001-08-13 22:05:27 +00:00
George Rhoten
59e51a0248 ICU-770 Simplification of code for u_cleanup() API.
X-SVN-Rev: 5461
2001-08-11 00:28:57 +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
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
3a25e7fe68 ICU-1007 make Normalizer a friend
X-SVN-Rev: 5033
2001-06-20 22:20:29 +00:00
George Rhoten
f41f1ac2dc ICU-900 Fixed some compiler warnings for HPUX with CC
X-SVN-Rev: 4382
2001-03-28 18:30:43 +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
ede2a14216 ICU-882 Partial UnicodeString API deprecation removal with #if statements
X-SVN-Rev: 3999
2001-03-09 19:20:22 +00:00
George Rhoten
a272abb986 ICU-580 os/390 porting changes
X-SVN-Rev: 3820
2001-02-28 17:09:08 +00:00
George Rhoten
87412d7a69 ICU-580 os/390 porting changes
X-SVN-Rev: 3776
2001-02-26 19:22:32 +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
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
4e4f4f5dae ICU-790 Removed some unnecessary headers
X-SVN-Rev: 3334
2001-01-02 19:37:08 +00:00
Markus Scherer
7515066dc5 ICU-647 documentation improvements
X-SVN-Rev: 3251
2000-12-15 19:57:12 +00:00
George Rhoten
a634d59021 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 2733
2000-10-19 21:06:02 +00:00
George Rhoten
3d38863a50 ICU-610 Described replacement functions for the deprecated functions and put in a removeal date.
X-SVN-Rev: 2495
2000-09-22 23:03:40 +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
e44e853d93 ICU-463 added a targetLength function.
X-SVN-Rev: 2331
2000-08-23 02:10:08 +00:00
George Rhoten
dd9b2b776e ICU-535 Removed a compiler warning
X-SVN-Rev: 2135
2000-08-08 21:20:40 +00:00
Yves Arrouye
723cec4f28 ICU-518 UnicodeConverterCPP renamed to UnicodeConverter.
X-SVN-Rev: 2084
2000-08-01 00:44:15 +00:00
Alan Liu
24c6d0cd19 ICU-410 update docs
X-SVN-Rev: 1900
2000-07-16 13:49:24 +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
Markus Scherer
7195589e89 ICU-176 add forgotten UChar32 overloads
X-SVN-Rev: 1464
2000-05-24 20:03:21 +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
Yves Arrouye
f59e194eab ICU-368 #define U_IOSTREAM_SOURCE to the level of I/O streams support
of the platform (see comment inside headers)

X-SVN-Rev: 1250
2000-04-25 21:20:01 +00:00
Steven R. Loomis
05a806c6bc ICU-367 clean up use of iostream.h
X-SVN-Rev: 1179
2000-04-20 17:16:45 +00:00
Markus Scherer
aaa1c97607 ICU-176 change constructors from UChar32 and from capacity as proposed
X-SVN-Rev: 1170
2000-04-19 20:27:00 +00:00
Yves Arrouye
c69c164be8 ICU-353 basic warnings cleanup (not touching object's memory layout). A
basic build now compiles w/o a single warning on Linux. One with --enable-strict
is a different matter...

X-SVN-Rev: 1124
2000-04-13 23:00:43 +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
c117cd37bb ICU-176 utf macros get, prev, back take start parameter; StringChIter is friend
X-SVN-Rev: 1115
2000-04-12 19:33:55 +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
Markus Scherer
50eb0cfdf0 ICU-98 define and use POSIX INT32_MAX etc., matching int32_t etc.
X-SVN-Rev: 1032
2000-03-30 01:12:01 +00:00
Brendan Murray
dd70c2705e ICU-98 These are changes to support 64-bit platforms, such as Sun
SPARC V9, which is the only one tested so far.

X-SVN-Rev: 1022
2000-03-29 21:41:11 +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
Vladimir Weinstein
e5970bccc3 ICU-335 APIs are now marked for proper doc generation
X-SVN-Rev: 973
2000-03-22 18:31:40 +00:00
Markus Scherer
8ab661d242 ICU-201 add forward declarations before 'friend' statements
X-SVN-Rev: 633
2000-01-18 19:57:46 +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