Commit Graph

358 Commits

Author SHA1 Message Date
Helena Chapman
335e7a1731 ICU-394 Check NULL return in the default lookup table.
X-SVN-Rev: 1416
2000-05-19 17:19:07 +00:00
Helena Chapman
7f9bb6418e ICU-351 This should really be another bug but the jitterbug system is down now. On AIX 4.2 and 4.3, though the inttypes.h definition is different, the binary compatibility forced us to make the changes in platform.h.in.
X-SVN-Rev: 1413
2000-05-19 00:04:07 +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
Vladimir Weinstein
881a9d1d31 ICU-184 support for storing binary collation data in resource bundles (initial revision)
X-SVN-Rev: 1408
2000-05-18 21:25:51 +00:00
Markus Scherer
9e868b81f1 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1406
2000-05-18 20:22:21 +00:00
Steven R. Loomis
5dace15722 ICU-393 removing obsolete files
X-SVN-Rev: 1405
2000-05-18 20:17:16 +00:00
Steven R. Loomis
faa663d655 ICU-390 include "cmemory.h" to get uprv_memcpy() [yves]
X-SVN-Rev: 1404
2000-05-18 19:57:32 +00:00
Markus Scherer
b25467b64e ICU-107 remove temporary changes
X-SVN-Rev: 1392
2000-05-18 18:44:05 +00:00
Markus Scherer
9196955ed1 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1391
2000-05-18 18:14:24 +00:00
Markus Scherer
bd85911750 ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1390
2000-05-18 18:08:49 +00:00
Markus Scherer
404fa43fab ICU-107 add api & functionality for inverse BiDi (visual->logical)
X-SVN-Rev: 1389
2000-05-18 17:59:16 +00:00
Markus Scherer
0e96538ad0 ICU-130 get (almost) all Unicode char properties from the loaded uprops.dat
X-SVN-Rev: 1387
2000-05-18 17:47:11 +00:00
Markus Scherer
4c2b7dfd0e ICU-221 move isWhitespace() implementation to C
X-SVN-Rev: 1386
2000-05-18 17:40:19 +00:00
Markus Scherer
0fa8946325 ICU-375 add temporary 390 changes back to udata, improve performance some
X-SVN-Rev: 1385
2000-05-18 17:37:33 +00:00
Steven R. Loomis
0a042c3f86 ICU-200 OS400 makefile updates
X-SVN-Rev: 1384
2000-05-15 22:32:11 +00:00
Yves Arrouye
e7739af606 ICU-390 added a real implementation for uprv_strdup().
X-SVN-Rev: 1382
2000-05-15 22:09:42 +00:00
Vladimir Weinstein
9c0d35a039 ICU-184 check for error conditions and NULL pointers in resb code
X-SVN-Rev: 1381
2000-05-15 21:13:33 +00:00
Vladimir Weinstein
5ac904073a ICU-184 .res files in mem map files
X-SVN-Rev: 1379
2000-05-15 20:36:57 +00:00
Markus Scherer
53f279b17e ICU-368 need to actually export the correct operator<< definition
X-SVN-Rev: 1374
2000-05-15 19:32:34 +00:00
Vladimir Weinstein
c786b21d52 ICU-184 resource data files in memory mapped format (initial revision)
X-SVN-Rev: 1365
2000-05-15 18:39:17 +00:00
Steven R. Loomis
b67cfb9fbe ICU-200 os400 build update (use $(LIBICU) instead of "libicu-" everywhere)
X-SVN-Rev: 1361
2000-05-13 00:13:15 +00:00
Helena Chapman
4a4bbe2373 ICU-43 Added fallback implementation to handle to/fromUnicode
mapping correctly.

X-SVN-Rev: 1359
2000-05-12 19:59:03 +00:00
Yves Arrouye
0d35fb05a2 ICU-390 define the right cpp symbols for compilation under Linux
and Solaris when gcc -ansi is used (which negates POSIX, X/Open, BSD, and
SVID specific definitions in the standard libraries, definitions that ICU
needs).

X-SVN-Rev: 1354
2000-05-12 01:15:50 +00:00
Yves Arrouye
38baf3e075 ICU-390 define __USE_POSIX and __USE_XOPEN before including
<time.h> if POSIX and LINUX are both defined.

X-SVN-Rev: 1352
2000-05-12 00:42:00 +00:00
Steven R. Loomis
f593b7b958 ICU-375 cleanup, made dll loading work anywhere dlopen() is detected
X-SVN-Rev: 1351
2000-05-11 23:23:49 +00:00
Yves Arrouye
8e3346f6f4 ICU-381 revert to using NULL on Markus's demand, and use 0 in the place
where NULL is inappropriate (resbund.cpp); backed up to the (wrong) definition
of NULL if it doesn't exist, and got rid of U_NULL (unicode/utypes.h).

X-SVN-Rev: 1349
2000-05-11 20:37:38 +00:00
Vladimir Weinstein
89472a58ef ICU-375 removed complaints by Solaris CC
X-SVN-Rev: 1334
2000-05-04 22:41:23 +00:00
Helena Chapman
784f896999 ICU-375 The release number can't contain non-numeric values.
X-SVN-Rev: 1333
2000-05-04 19:37:05 +00:00
Markus Scherer
faa9cb8e41 ICU-176 remove incorrect 'inline's
X-SVN-Rev: 1332
2000-05-04 18:21:36 +00:00
Markus Scherer
327ce99a6a ICU-375 update the version number to 1.5d01
X-SVN-Rev: 1331
2000-05-04 17:54:52 +00:00
Markus Scherer
16de35807f ICU-375 avoid naming conflict on Linux
X-SVN-Rev: 1326
2000-05-04 00:34:46 +00:00
Markus Scherer
6b6bbd29f1 ICU-375 correct isAcceptable signature
X-SVN-Rev: 1324
2000-05-03 23:15:02 +00:00
Markus Scherer
7c7a980e20 ICU-375 do not compile strict if windows.h is included
X-SVN-Rev: 1322
2000-05-03 23:13:13 +00:00
Markus Scherer
9edd9fec5f ICU-375 rewrite udata without #ifdef UDATA_MAP/DLL, use flat or pointer ToC etc.
X-SVN-Rev: 1321
2000-05-03 23:11:04 +00:00
Markus Scherer
d26ceb832d ICU-375 merge udata_setCommonData() from 1.4.1.2 and correct isAcceptable signature
X-SVN-Rev: 1320
2000-05-03 23:09:44 +00:00
Helena Chapman
1de326b1fe ICU-375 Added code to detect system default locale in POSIX environments. Merged back from 1.4.1.2 release.
X-SVN-Rev: 1311
2000-05-02 23:25:45 +00:00
Helena Chapman
160a920ab9 ICU-375 Added uprv_strdup(). Though not used in code right now, may be useful. Merged back from 1.4.1.2 release.
X-SVN-Rev: 1310
2000-05-02 23:16:50 +00:00
Yves Arrouye
ada29b435b ICU-381 use U_NULL instead of NULL.
X-SVN-Rev: 1306
2000-05-02 22:50:42 +00:00
Yves Arrouye
fd7dd7316f ICU-368 on WIN32, use <iostream.h> as using<iostream> briter.cpp.
X-SVN-Rev: 1305
2000-05-02 22:49:37 +00:00
Yves Arrouye
808294bc94 ICU-377 more changes from Todd for timezone handling on Rhapsody.
X-SVN-Rev: 1297
2000-04-28 16:17:04 +00:00
Yves Arrouye
15bba7372f ICU-362 if HAVE_INTTYPES_H is false, include <sys/types.h> and other
headers before typedef'ing ourselves.

X-SVN-Rev: 1296
2000-04-28 05:19:07 +00:00
Yves Arrouye
0ea9057be1 ICU-377 Changed "LMBCS_" ## #n to "LMBCS_" #n (should be the same
effect) because that confuses older gcc on Rhapsody.

X-SVN-Rev: 1295
2000-04-28 04:37:48 +00:00
Yves Arrouye
4d0f747e86 ICU-378 (Todd) Use falback for timezone on Rhapsody too.
X-SVN-Rev: 1294
2000-04-28 04:36:17 +00:00
Yves Arrouye
17e8d58a0b ICU-379 replaced a NULL by 0 to enable build on Solaris / WebObjects.
X-SVN-Rev: 1293
2000-04-28 04:35:41 +00:00
Yves Arrouye
ebd22f3413 ICU-368 conditionally use <iostream> (and the std namespace),
<iostream.h>, or no streams at all depending on the value of U_IOSTREAM_SOURCE.

X-SVN-Rev: 1252
2000-04-25 21:33:15 +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
Markus Scherer
117c9b824b ICU-298 jitterbug 130: add support for u_isMirrored() and u_charMirror()
X-SVN-Rev: 1240
2000-04-24 22:44:06 +00:00
Markus Scherer
b091b5e0f2 ICU-298 jitterbug 130: add support for u_isMirrored() and u_charMirror()
X-SVN-Rev: 1239
2000-04-24 22:31:22 +00:00
Markus Scherer
405bed84d9 ICU-176 make the utf_is_first/second_surrogate() work with code points
X-SVN-Rev: 1206
2000-04-21 18:56:21 +00:00
Markus Scherer
f421a70211 ICU-176 add and document full, efficient UTF-16 support to CharacterIterator and ForwardCharacterIterator
X-SVN-Rev: 1203
2000-04-20 23:02:20 +00:00
Steven R. Loomis
631d0d7614 ICU-267 Move data-based converters' static data into makeconv.
X-SVN-Rev: 1197
2000-04-20 19:42:36 +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
Steven R. Loomis
6e9f280f6c ICU-267 make CNV file format portable. (+ makeconv cleanup)
X-SVN-Rev: 1176
2000-04-19 23:05:27 +00:00
Markus Scherer
a2707cca7c ICU-365 fix u_versionFromString()
X-SVN-Rev: 1174
2000-04-19 22:13:30 +00:00
Markus Scherer
a84cd3f751 ICU-176 change constructors from UChar32 and from capacity as proposed
X-SVN-Rev: 1172
2000-04-19 20:39:54 +00:00
Markus Scherer
7da96509f7 ICU-176 dix definitions of new inline functions
X-SVN-Rev: 1171
2000-04-19 20:28:38 +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
Markus Scherer
1ec1a729fd ICU-176 fix UTF_IS_SURROGATE_FIRST()
X-SVN-Rev: 1169
2000-04-19 20:21:07 +00:00
Steven R. Loomis
e2270878c4 ICU-365 fix version 1.4.2
X-SVN-Rev: 1168
2000-04-19 20:01:41 +00:00
Markus Scherer
6b2a1ac354 ICU-363 turn a class constant into an enum
X-SVN-Rev: 1144
2000-04-18 18:46:46 +00:00
Yves Arrouye
3950fe01a2 ICU-359 fixed virtual destructors/members incoherences.
X-SVN-Rev: 1142
2000-04-18 17:58:18 +00:00
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