Commit Graph

73 Commits

Author SHA1 Message Date
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
George Rhoten
5345550747 ICU-535 Removed code that should never have been checked in yet (stupid WinCVS GUI).
X-SVN-Rev: 3451
2001-01-23 02:45:54 +00:00
George Rhoten
3b66beb865 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3450
2001-01-23 02:40:22 +00:00
George Rhoten
3a45b19a66 ICU-651 u_strchr() can find NUL in a string now
X-SVN-Rev: 2658
2000-10-12 22:00:33 +00:00
George Rhoten
4665536929 ICU-472 Forgot to make the helper function local to the source code.
X-SVN-Rev: 2385
2000-08-29 22:45:46 +00:00
Markus Scherer
faa2a512ef ICU-410 preflighting crashed when destCapacity>0 (oops, did this yesterday?)
X-SVN-Rev: 2307
2000-08-17 17:12:38 +00:00
Markus Scherer
32c4579f31 ICU-410 u_unescapeAt() return a 21-bit code point from a surrogate pair following a backslash
X-SVN-Rev: 2300
2000-08-16 23:54:42 +00:00
Markus Scherer
afe423256d ICU-410 u_unescape() handle surrogate pairs; terminate if error
X-SVN-Rev: 2299
2000-08-16 23:31:50 +00:00