Commit Graph

80 Commits

Author SHA1 Message Date
George Rhoten
7e92471c93 ICU-1947 Better usage for U_EXPORT2 and U_CALLCONV
X-SVN-Rev: 9295
2002-07-23 23:01:08 +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
2711de91cf ICU-1728 change u_strCompareCodePointOrder to u_strCompare taking UBool codePointOrder to make it easier to compare strings with various options
X-SVN-Rev: 8661
2002-05-22 00:32:42 +00:00
Markus Scherer
fa460c1481 ICU-1728 fix CodePointOrder fix-up to remove harmless but confusing ++s1 side effect
X-SVN-Rev: 8614
2002-05-14 00:45:47 +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
0136f68900 ICU-1593 Clarify how saveState is used.
X-SVN-Rev: 8217
2002-03-23 00:29:03 +00:00
Markus Scherer
acbaac776e ICU-1542 fix u_memchr32; common code for finding surrogate code points
X-SVN-Rev: 8095
2002-03-18 23:19:41 +00:00
Markus Scherer
5ff144bcb1 ICU-845 fix const-ness bugs
X-SVN-Rev: 7958
2002-03-12 22:59:04 +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
c3d1945687 ICU-1126 move string casing functions to ustrcase.c
X-SVN-Rev: 7731
2002-02-21 04:48:21 +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
df7dbcfa82 ICU-1593 Fix for the case when there are no delimiters found.
X-SVN-Rev: 7372
2001-12-27 00:13:20 +00:00
Markus Scherer
27a9f4efe9 ICU-1109 make u_terminate... safer: check if length<0
X-SVN-Rev: 7152
2001-11-28 23:59:09 +00:00
Markus Scherer
7e83770f19 ICU-852 most u_mem... check count>0; u_...cmpCodePointOrder() no fixup if ==; faster u_memchr32
X-SVN-Rev: 7151
2001-11-28 23:49:32 +00:00
Markus Scherer
e9fd450259 ICU-894 u_strncpy check n>0
X-SVN-Rev: 7148
2001-11-28 23:20:08 +00:00
Vladimir Weinstein
1b0596cd30 ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
X-SVN-Rev: 7038
2001-11-21 01:02:11 +00:00
Markus Scherer
560b782d42 ICU-785 add length check when getting surrogate pairs
X-SVN-Rev: 6829
2001-11-13 19:27:56 +00:00
Markus Scherer
0df9c9daf8 ICU-1267 add u_countChar32()
X-SVN-Rev: 6196
2001-10-11 21:39:09 +00:00
Markus Scherer
541fc426f0 ICU-1109 avoid confusing users with pre-existing non-terminated-warnings
X-SVN-Rev: 6025
2001-10-03 23:15:15 +00:00
Markus Scherer
661cd1be03 ICU-1109 fix check for overlapping src/dest
X-SVN-Rev: 5886
2001-09-22 00:56:23 +00:00
Markus Scherer
5610bbf962 ICU-1200 add internal string termination functions for char*, UChar32*, wchar_t* strings
X-SVN-Rev: 5770
2001-09-18 00:56:43 +00:00
Markus Scherer
2ee9b7af66 ICU-1109 add u_terminateUChars()
X-SVN-Rev: 5694
2001-09-05 23:37:16 +00:00
George Rhoten
d71d803d0c ICU-770 More data cleanup and remove the mutex usage from the cleanup functions
X-SVN-Rev: 5647
2001-08-31 02:10:39 +00:00
George Rhoten
38360539d4 ICU-770 Internal cleanup API naming scheme changed.
X-SVN-Rev: 5584
2001-08-25 01:09:11 +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
Andy Heninger
051f850dcf ICU-1075 Solaris doesn't like C++ comments in C files.
X-SVN-Rev: 5469
2001-08-15 23:51:26 +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
George Rhoten
1f063c715d ICU-1043 strtok_r should work with strings ending with delimiters.
X-SVN-Rev: 5245
2001-07-16 22:57:39 +00:00
George Rhoten
2cc291a5b1 ICU-1028 More fixes for s/390
X-SVN-Rev: 5212
2001-07-10 16:43:51 +00:00
Andy Heninger
27b4977f7f ICU-973 speed tweaks to u_strcmp() & u_strcmpCodePointOrder().
X-SVN-Rev: 5204
2001-07-09 19:44:54 +00:00
Markus Scherer
a06786ebfc ICU-973 remove one redundant if()
X-SVN-Rev: 5129
2001-06-28 20:28:23 +00:00
Andy Heninger
8aaca77e9a ICU-973 speed tweaks to u_strcmpCodePointOrder.
X-SVN-Rev: 5098
2001-06-26 21:33:04 +00:00
Markus Scherer
023ce6975c ICU-973 add strncmp() and memcmp() variants of u_strcmpCodePointOrder(), and optimize them all
X-SVN-Rev: 5078
2001-06-25 23:44:21 +00:00
Markus Scherer
d83e863668 ICU-1007 add a growBuffer implementation for internal use
X-SVN-Rev: 5076
2001-06-25 22:59:23 +00:00
Markus Scherer
673be52f5e ICU-972 separate cwchar.h/.c from cstring.h/.c
X-SVN-Rev: 4799
2001-05-25 17:57:14 +00:00
Vladimir Weinstein
eb53dfe572 ICU-96 [CODE REVIEW] /* THIS WOULD BE AN API CHANGE - WE HAD TO REMOVE IT FROM COMMON AND PUT IN UCOL.CPP */ We needed u_strncmpCodePointOrder for identical comparison
X-SVN-Rev: 4735
2001-05-21 22:54:51 +00:00
Vladimir Weinstein
8e3a554c78 ICU-96 [CODE REVIEW] We needed u_strncmpCodePointOrder for identical comparison
X-SVN-Rev: 4732
2001-05-21 22:28:00 +00:00
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
George Rhoten
119437f8ad ICU-894 reimplemented u_strncpy
X-SVN-Rev: 4118
2001-03-15 23:45:54 +00:00
George Rhoten
5287dabf2e ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3812
2001-02-27 23:55:08 +00:00
George Rhoten
20d2995c74 ICU-852 Redefine new u_mem functions
X-SVN-Rev: 3709
2001-02-21 22:27:39 +00:00
George Rhoten
180723abc4 ICU-597 AS/400 porting changes
X-SVN-Rev: 3681
2001-02-20 01:01:03 +00:00
George Rhoten
2bf1f8d330 ICU-852 Added new u_mem functions
X-SVN-Rev: 3631
2001-02-15 03:34:29 +00:00
Markus Scherer
2959043936 ICU-840 implement case-insensitive string compare
X-SVN-Rev: 3619
2001-02-14 00:58:35 +00:00
George Rhoten
108eb90aac ICU-838 Added u_austrncpy() & moved similar code closer together
X-SVN-Rev: 3590
2001-02-08 03:00:09 +00:00
Markus Scherer
2dc336d196 ICU-542 implement full string upper-/lowercasing in C
X-SVN-Rev: 3503
2001-01-31 18:20:26 +00:00
George Rhoten
26949ae8e1 ICU-829 Added u_strtok_r and moved some functions around for relavence
X-SVN-Rev: 3495
2001-01-30 20:58:38 +00:00
George Rhoten
f479e58a4b ICU-829 Tested for more edge cases with illegal character matching
X-SVN-Rev: 3494
2001-01-30 18:56:26 +00:00
George Rhoten
970daeceb9 ICU-829 Added u_strspn, u_strcspn and u_strpbrk
X-SVN-Rev: 3491
2001-01-30 03:12:01 +00:00
Markus Scherer
cf1860d22d ICU-750 implement u_strcmpCodePointOrder()
X-SVN-Rev: 3469
2001-01-24 02:36:41 +00:00