Commit Graph

247 Commits

Author SHA1 Message Date
Steven R. Loomis
7f91dfb153 ICU-185 compiler warning fix for locale(char*) api
X-SVN-Rev: 1138
2000-04-18 00:00:42 +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
Yves Arrouye
f911c8b490 ICU-353 _tzname[n] on Windows too, please... Thanks Vladimir for the heads-up.
X-SVN-Rev: 1133
2000-04-15 03:33:59 +00:00
Yves Arrouye
bff1b2e05c ICU-353 use better names to replace index, depending on what the func/
method actually does with it (for example: n to get the nth element, offset
within a buffer, etc.).

X-SVN-Rev: 1131
2000-04-14 05:22:29 +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
Yves Arrouye
e45f4fd7cb ICU-310 check foran empty $(MAKECMDGOALS) and also include dependencies
in this case, so that a make in a subdir does include deps.

X-SVN-Rev: 1122
2000-04-13 22:08:07 +00:00
Markus Scherer
a8ea7e8c8b ICU-176 ucnv_getNextUChar() return a UChar32 code point
X-SVN-Rev: 1121
2000-04-13 17:27:35 +00:00
Markus Scherer
7a4cc4da43 ICU-176 fix UTF_IS_SURROGATE() to work on both code units & code points
X-SVN-Rev: 1120
2000-04-13 17:24:48 +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
7c2d19d828 ICU-176 UTF-16 support with CharacterIterator; new functions for more efficient iteration
X-SVN-Rev: 1117
2000-04-12 19:36:30 +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
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
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
b1c5fc409a ICU-348 add {} to initializer of array of structs
X-SVN-Rev: 1097
2000-04-07 23:10:53 +00:00
Markus Scherer
9c2fc5ab0f ICU-350 ucnv_openCCSID() did not work for 10xx etc.
X-SVN-Rev: 1093
2000-04-07 16:58:58 +00:00
Yves Arrouye
8c8828272a ICU-347 Define the uprv_wcs* as macros that don't take arguments, so
that one can take a pointer to one of these.

X-SVN-Rev: 1092
2000-04-07 01:24:48 +00:00
Yves Arrouye
318f3cb528 ICU-347 if U_SIZEOF_WCHAR_T == 0 then undef it before setting it in
case it is really defined to 0, not undefined.

X-SVN-Rev: 1090
2000-04-06 23:37:46 +00:00
Yves Arrouye
12e6889366 ICU-347 new configure tests to check for the existence of wchar.h
(use #if U_HAVE_WCHAR_H) and the size of wchar_t (use U_SIZEOF_WCHAR_T to get
the size). The new symbols appear in platform.h (and icucfg gets a HAVE_WCHAR_H too).

X-SVN-Rev: 1089
2000-04-06 23:36:17 +00:00
Markus Scherer
7362589426 ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1088
2000-04-06 23:22:58 +00:00
Markus Scherer
db929853bc ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1087
2000-04-06 23:06:48 +00:00
Markus Scherer
84aa10b17f ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1086
2000-04-06 22:59:56 +00:00
Markus Scherer
20dd1961d9 ICU-347 do not use wchar.h except when we really need it and we know that we have it
X-SVN-Rev: 1085
2000-04-06 22:42:13 +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
e542c7dedc ICU-346 change IEEE_754 to a numeric macro (value 0 or 1)
X-SVN-Rev: 1080
2000-04-06 16:45:03 +00:00
Yves Arrouye
301333cfed ICU-348 make the tag string a temporary to please gcc (getting the
address of a temporary is dangerous as the compiler may decide to call the
temporary's destructor before calling the function using its address).

X-SVN-Rev: 1079
2000-04-05 23:20:34 +00:00
Yves Arrouye
3f818deeaa ICU-348 do not do signed arithmetic with unsigned types, because you'll
be surprised by the results!

X-SVN-Rev: 1078
2000-04-05 23:17:50 +00:00
Yves Arrouye
270334248b ICU-348 cast to const wchar_t * before calling uprv_wcslen() in order
to avoid a warning on platforms where U_SIZEOF_WCHAR_T isn't sizeof(UChar).

X-SVN-Rev: 1077
2000-04-05 23:14:40 +00:00
Yves Arrouye
a5957d6e46 ICU-310 any target whose name matches %clean does not trigger inclusion
of dependencies. Nominated SRL to review, as usual :) (Stevens, just complain
if that's not okay). Now the question is: do we really want to keep the .d
when we make clean?

X-SVN-Rev: 1076
2000-04-05 22:14:24 +00:00
Alan Liu
b24fb13633 ICU-315 fix C compile errors
X-SVN-Rev: 1075
2000-04-05 21:33:50 +00:00
Alan Liu
b839eb84e0 ICU-315 add uprv_IEEEremainder doc
X-SVN-Rev: 1072
2000-04-05 19:18:53 +00:00
Alan Liu
5142b7614c ICU-315 add portable IEEEremainder implementation
X-SVN-Rev: 1066
2000-04-05 16:53:37 +00:00
Steven R. Loomis
cdbba17cce ICU-271 bugfix, range error
X-SVN-Rev: 1060
2000-04-04 16:53:01 +00:00
Steven R. Loomis
1dec33985b ICU-271 add LMBCS to the UNIX makefile.
X-SVN-Rev: 1053
2000-04-04 00:43:11 +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
f539dd4e91 ICU-176 better UChar[32] type detection
X-SVN-Rev: 1049
2000-04-01 00:17:55 +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
2b5a36af8c ICU-315 more S/390 and EBCDIC changes
X-SVN-Rev: 1044
2000-03-31 21:45:17 +00:00
Jim Snyder Grant
2dbef4e207 ICU-271 First-pass LMBCS support (Lotus Multi-byte Character set)
X-SVN-Rev: 1042
2000-03-31 16:53:09 +00:00
Markus Scherer
8226f554ca ICU-98 define POSIX INT64_MAX & INTMAX_MAX etc.
X-SVN-Rev: 1037
2000-03-30 21:30:21 +00:00
Alan Liu
53cfa64999 ICU-149 amend comments
X-SVN-Rev: 1034
2000-03-30 04:29:31 +00:00
Alan Liu
327165d913 ICU-149 cleanup uhash/hash
X-SVN-Rev: 1033
2000-03-30 04:17:27 +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
Markus Scherer
0b31557c8f ICU-315 more S/390 changes
X-SVN-Rev: 1028
2000-03-29 23:52:56 +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
Alan Liu
1d9f6a4c06 ICU-149 make ResourceBundle use new UHashtable API
X-SVN-Rev: 1019
2000-03-29 19:41:57 +00:00
Alan Liu
61c6f2fa23 ICU-149 make TaggedList use Hashtable
X-SVN-Rev: 1018
2000-03-29 19:17:17 +00:00
Alan Liu
0df6047dc5 ICU-149 add count, nextElement
X-SVN-Rev: 1017
2000-03-29 19:16:54 +00:00
Alan Liu
1414771371 ICU-149 make rbcache use new Hashtable
X-SVN-Rev: 1016
2000-03-29 18:47:02 +00:00
Alan Liu
f555a838ea ICU-149 remove ALGORITHMIC_CONVERTERS_HASHTABLE decl
X-SVN-Rev: 1015
2000-03-29 17:45:03 +00:00