Commit Graph

101 Commits

Author SHA1 Message Date
George Rhoten
83b0d17af1 ICU-4078 Revert the move of the invariant conversion routines back to putil.h.
They are stable APIs, and they should not be moved.

X-SVN-Rev: 16530
2004-10-18 03:03:13 +00:00
George Rhoten
176c33eeee ICU-4078 Remove some unused headers.
X-SVN-Rev: 16338
2004-09-17 00:08:28 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
George Rhoten
0795f3cafe ICU-3546 Don't leak a converter on failure
X-SVN-Rev: 15316
2004-05-14 22:03:51 +00:00
Alan Liu
8b78a7ea5f ICU-2906 no "//" allowed
X-SVN-Rev: 13347
2003-10-07 21:01:48 +00:00
Alan Liu
7fffbdf68f ICU-2906 make unescapeAt() handle escaped surrogate pairs
X-SVN-Rev: 13342
2003-10-07 18:10:37 +00:00
Alan Liu
70e5463428 ICU-3280 fail on out-of-range Unicode escape
X-SVN-Rev: 13234
2003-09-29 20:42:21 +00:00
Markus Scherer
f4562fc9c5 ICU-2959 update copyright notices for 2003 changes
X-SVN-Rev: 12230
2003-06-02 22:26:54 +00:00
Alan Liu
4e449ef99e ICU-2804 implement \x{...}
X-SVN-Rev: 11857
2003-05-09 00:22:25 +00:00
George Rhoten
4f532d0425 ICU-2815 ucnv_flushCache should close the cached default converter.
X-SVN-Rev: 11585
2003-04-18 20:31:45 +00:00
Markus Scherer
2cfa2ab7bb ICU-2397 move u_strCompareIter to ustring.c
X-SVN-Rev: 10856
2003-01-14 21:18:52 +00:00
Markus Scherer
c8dd26aef9 ICU-2145 use macros for 0xffff and 0x10ffff
X-SVN-Rev: 10369
2002-11-25 22:44:48 +00:00
Alan Liu
69ede390df ICU-2325 make unescape recognize \e \cX
X-SVN-Rev: 10138
2002-11-01 14:36:38 +00:00
Markus Scherer
a44e92d425 ICU-2145 add u_strrstr, fix a bug
X-SVN-Rev: 10057
2002-10-24 17:29:35 +00:00
Markus Scherer
b1246ef900 ICU-2145 consistent behavior of binary string searches
X-SVN-Rev: 10055
2002-10-24 01:49:58 +00:00
Markus Scherer
5b9c9d52df ICU-1794 add u_strHasMoreChar32Than
X-SVN-Rev: 10002
2002-10-09 20:40:05 +00:00
Markus Scherer
6b1fa6036a ICU-2150 simplify/improve UTF macros
X-SVN-Rev: 9930
2002-09-30 04:00:17 +00:00
Vladimir Weinstein
978cef13a4 ICU-2293 fixed the length returned from u_unescape - it was counting the terminating zero, but it is supposed to return strlen of resulting string
X-SVN-Rev: 9844
2002-09-06 04:31:03 +00:00
George Rhoten
5b453f0ece ICU-2135 Fixed the case where u_uastrncpy would read one past the end of the array.
X-SVN-Rev: 9799
2002-08-27 23:03:45 +00:00
George Rhoten
fe09a02ac7 ICU-2135 Fixed the case where u_austrncpy would read one past the end of the array.
X-SVN-Rev: 9795
2002-08-27 22:45:05 +00:00
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