Commit Graph

925 Commits

Author SHA1 Message Date
Ram Viswanadha
41db7b05db ICU-576 seperated EBCDIC converter implementation to
ucnvebdc.c

X-SVN-Rev: 2381
2000-08-29 21:47:40 +00:00
George Rhoten
5cfcc7e736 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2378
2000-08-29 16:55:03 +00:00
Yves Arrouye
4e1c30d30b ICU-575 fixed a number of problems with the out of source build. The
build now works with --srcdir=../a/relative/path, --srcdir=/an/absolute/one
and in source. Auxiliary data in data and test/testdata is generated by new
Makefiles in these directories (data is new inside source). Some cleanup is
still needed, for example when makeconv generates test files... Test code
now knows about out of source vs in source build. Sorry... (Will be fixed
if data and source are at the same level some day.)

X-SVN-Rev: 2373
2000-08-29 07:28:22 +00:00
George Rhoten
6ac419ab8a ICU-573 unchange the definition of NULL (remove the "defined(__cplusplus)")
X-SVN-Rev: 2370
2000-08-28 23:25:10 +00:00
George Rhoten
83df804177 ICU-573 included stdlib.h and memory.h into files that need it for the utypes.h change
X-SVN-Rev: 2368
2000-08-28 22:48:46 +00:00
Steven R. Loomis
00f74db99a ICU-567 MacOS
X-SVN-Rev: 2365
2000-08-28 21:27:18 +00:00
Steven R. Loomis
d40014113a ICU-567 MacOS/Code Warrior
X-SVN-Rev: 2364
2000-08-28 20:28:21 +00:00
George Rhoten
16d67c3ebb ICU-463 Put fix for pointer overflow back into code.
X-SVN-Rev: 2360
2000-08-28 19:18:02 +00:00
George Rhoten
308a5811c1 ICU-463 Fixed a typo in extract
X-SVN-Rev: 2356
2000-08-26 01:54:05 +00:00
Ram Viswanadha
e20ad2971f ICU-389 Added getTargetUniCharFromUnicodeMBCS() Function.
X-SVN-Rev: 2355
2000-08-25 23:14:10 +00:00
George Rhoten
8c9b4ae99c ICU-535 fixed some compiler warnings on Sun C++ 5.0/ Solaris 2.7
X-SVN-Rev: 2354
2000-08-25 15:53:31 +00:00
George Rhoten
0608161b19 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2352
2000-08-24 21:20:10 +00:00
George Rhoten
1f16762e57 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2343
2000-08-23 23:59:09 +00:00
George Rhoten
2e2ee935df ICU-535 fixed some compiler warnings
X-SVN-Rev: 2341
2000-08-23 21:22:46 +00:00
George Rhoten
90b05dc422 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2337
2000-08-23 16:55:21 +00:00
George Rhoten
c49a0d22a7 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2334
2000-08-23 02:48:16 +00:00
George Rhoten
a419f3377a ICU-463 added a targetLength to the extract function.
X-SVN-Rev: 2332
2000-08-23 02:10:51 +00:00
George Rhoten
e44e853d93 ICU-463 added a targetLength function.
X-SVN-Rev: 2331
2000-08-23 02:10:08 +00:00
Ram Viswanadha
c054ea7791 ICU-389 Added macro. General House keeping
X-SVN-Rev: 2330
2000-08-23 01:21:23 +00:00
Ram Viswanadha
c795773004 ICU-565 Added new error codes
X-SVN-Rev: 2329
2000-08-23 01:19:05 +00:00
Ram Viswanadha
dc06ee1068 ICU-535 Fixed compiler warnings
X-SVN-Rev: 2325
2000-08-22 20:45:25 +00:00
Ram Viswanadha
9f1eabb54d ICU-535 Fixed compiler warnings
X-SVN-Rev: 2324
2000-08-22 18:12:34 +00:00
Ram Viswanadha
25f876129a ICU-565 Added new error codes
X-SVN-Rev: 2323
2000-08-22 18:04:25 +00:00
Ram Viswanadha
e8b1308f23 ICU-289 Added support for ISO-2022-KR and fixed compiler warnigs
X-SVN-Rev: 2320
2000-08-22 00:02:54 +00:00
George Rhoten
fe2bab623e ICU-535 fixed some compiler warnings
X-SVN-Rev: 2317
2000-08-21 21:40:35 +00:00
George Rhoten
dc2839b8b2 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2316
2000-08-21 21:28:58 +00:00
George Rhoten
80018a5b74 ICU-564 fixed some memory leaks
X-SVN-Rev: 2315
2000-08-21 21:22:53 +00:00
George Rhoten
3de2aeabe7 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2314
2000-08-21 19:55:59 +00:00
Vladimir Weinstein
9466acce28 ICU-460 OS/390 porting fixes
X-SVN-Rev: 2310
2000-08-17 20:37:22 +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
Markus Scherer
9708c34d2c ICU-410 unescape() return an empty string in case of error
X-SVN-Rev: 2298
2000-08-16 23:28:24 +00:00
Markus Scherer
d0c3e78a48 ICU-410 u_unescapeAt() must return UChar32, not int32_t
X-SVN-Rev: 2297
2000-08-16 23:27:36 +00:00
Ram Viswanadha
99047270cd ICU-389 Added check for SS2(ESC N)
X-SVN-Rev: 2295
2000-08-16 22:21:51 +00:00
Vladimir Weinstein
82781d6967 ICU-460 OS/390 porting fixes
X-SVN-Rev: 2294
2000-08-16 20:45:23 +00:00
Alan Liu
52826c7008 ICU-410 fix bugs in unescape code
X-SVN-Rev: 2292
2000-08-16 20:24:57 +00:00
Ram Viswanadha
164ff8b672 ICU-389 changed the escape sequences in the code from
chars to hex values

X-SVN-Rev: 2291
2000-08-16 19:57:24 +00:00
Steven R. Loomis
9042020f68 ICU-550 malloc(0) == NULL on aix
X-SVN-Rev: 2288
2000-08-16 17:43:45 +00:00
Markus Scherer
e9846bd275 ICU-103 fix fallback handling for non-intrinsic surrogate pair results
X-SVN-Rev: 2269
2000-08-15 21:33:54 +00:00
Markus Scherer
689b779507 ICU-103 fix fallback search and two warnings
X-SVN-Rev: 2264
2000-08-15 19:07:46 +00:00
Helena Chapman
971193574d ICU-550 Build on AIX.
X-SVN-Rev: 2263
2000-08-15 19:04:36 +00:00
Alan Liu
8e99af2483 ICU-535 fix MSVC level 4 warnings
X-SVN-Rev: 2259
2000-08-15 18:25:20 +00:00
Alan Liu
d8ad2edf61 ICU-410 remove dead code
X-SVN-Rev: 2256
2000-08-15 15:42:49 +00:00
Steven R. Loomis
4e6c23c47e ICU-289 remove dependency on windows case insensitivity & alias table from 2022
X-SVN-Rev: 2251
2000-08-15 02:29:41 +00:00
George Rhoten
4ee919a818 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2249
2000-08-15 01:27:54 +00:00
Ram Viswanadha
3f08ec4dd5 ICU-289 moved struct definition of ISO2022 to ucnv2022.c
X-SVN-Rev: 2239
2000-08-14 23:58:08 +00:00
Ram Viswanadha
f549adffb8 ICU-289 Removed commented code
X-SVN-Rev: 2238
2000-08-14 23:57:20 +00:00
Ram Viswanadha
5c86488c27 ICU-289 Added support for ISO2022-JP and fixed bugs in
ucnv_toUnicode() function

X-SVN-Rev: 2236
2000-08-14 23:56:19 +00:00
Helena Chapman
3f2fb26333 ICU-401 Make 1.6 tree compiled and linked on S/400.
X-SVN-Rev: 2233
2000-08-14 23:35:57 +00:00
George Rhoten
123caf9bbd ICU-535 fixed some compiler warnings
X-SVN-Rev: 2232
2000-08-14 23:23:20 +00:00
Vladimir Weinstein
250331389c ICU-548 converter leaks fixes
X-SVN-Rev: 2230
2000-08-14 23:11:00 +00:00
Markus Scherer
9f63dce881 ICU-471 improve checks for preflighting
X-SVN-Rev: 2228
2000-08-14 23:05:10 +00:00
Markus Scherer
760629f11b ICU-471 document arabic number shaping
X-SVN-Rev: 2224
2000-08-14 20:15:43 +00:00
Steven R. Loomis
b871c6590c ICU-546 fixed EBCDIC_STATEFUL
X-SVN-Rev: 2219
2000-08-12 04:27:59 +00:00
Markus Scherer
e7d7910db3 ICU-471 implement arabic number shaping
X-SVN-Rev: 2216
2000-08-12 01:01:03 +00:00
George Rhoten
80c3feb89f ICU-535 fixed some compiler warnings
X-SVN-Rev: 2208
2000-08-11 21:56:35 +00:00
George Rhoten
48694f0fea ICU-535 fixed some compiler warnings, and changed the order of an assignment and return according to weiv.
X-SVN-Rev: 2206
2000-08-11 21:25:19 +00:00
George Rhoten
a8f7718d40 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2205
2000-08-11 21:24:17 +00:00
George Rhoten
f3144ab272 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2204
2000-08-11 20:36:51 +00:00
Markus Scherer
3508752164 ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2200
2000-08-11 19:39:34 +00:00
Markus Scherer
17df34956e ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2199
2000-08-11 19:23:50 +00:00
Markus Scherer
913d5e7d5f ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2198
2000-08-11 19:10:10 +00:00
Alan Liu
c48b7acd6f ICU-89 change int8_t to uint8_t per compiler warnings
X-SVN-Rev: 2192
2000-08-11 17:31:09 +00:00
Yves Arrouye
013eb8dd42 ICU-322 fixed ucnv_getStandard().
X-SVN-Rev: 2185
2000-08-11 04:15:06 +00:00
George Rhoten
ebd5136aac ICU-535 fixed some compiler warnings
X-SVN-Rev: 2182
2000-08-11 02:08:59 +00:00
George Rhoten
c094c8a0eb ICU-535 fixed some compiler warnings
X-SVN-Rev: 2181
2000-08-11 01:27:17 +00:00
George Rhoten
cb875ce8e4 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2179
2000-08-11 00:02:59 +00:00
George Rhoten
0cd0aae1ef ICU-535 fixed some compiler warnings
X-SVN-Rev: 2177
2000-08-10 21:45:43 +00:00
Yves Arrouye
e04218d90d ICU-322 oops... Initialize the tag table pointer when version is >2.0,
not >3.0 (I bumped the version down to 2.1 yesterday...)

X-SVN-Rev: 2175
2000-08-10 21:44:42 +00:00
Vladimir Weinstein
718c069cc4 ICU-541 Implemented ures_getVersion
X-SVN-Rev: 2169
2000-08-10 19:10:12 +00:00
Vladimir Weinstein
e6f0cc25d2 ICU-322 UDataInfo structure must initialize size field before calling udata_getInfo
X-SVN-Rev: 2168
2000-08-10 16:34:07 +00:00
Yves Arrouye
754b2862cf ICU-322 correctky skips over the trailing 0 when looking for the nth
standard name.

X-SVN-Rev: 2166
2000-08-10 03:53:44 +00:00
George Rhoten
224cf62fdd ICU-535 fixed some compiler warnings
X-SVN-Rev: 2165
2000-08-10 02:08:49 +00:00
George Rhoten
a34fe9a10a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2164
2000-08-10 01:59:18 +00:00
Yves Arrouye
921a9787cc ICU-322 support for standard names, which are tagged converter
aliases.

X-SVN-Rev: 2161
2000-08-10 01:32:29 +00:00
George Rhoten
0a22502b3c ICU-535 fixed some compiler warnings
X-SVN-Rev: 2159
2000-08-10 01:01:57 +00:00
Vladimir Weinstein
6656731933 ICU-461 fixes to locmap (wrong data & order) + added mapping root<->LANG_NEUTRAL
X-SVN-Rev: 2152
2000-08-09 22:59:12 +00:00
Helena Chapman
b573a15d4b ICU-311 Make sure ucnv_cb.h is also exported.
X-SVN-Rev: 2147
2000-08-09 22:41:15 +00:00
George Rhoten
5a1369d8bc ICU-535 Removed a compiler warning
X-SVN-Rev: 2139
2000-08-08 23:26:10 +00:00
George Rhoten
c849211ab3 ICU-535 Removed a compiler warning
X-SVN-Rev: 2137
2000-08-08 22:15:50 +00:00
George Rhoten
6e855d17f7 ICU-535 Removed a compiler warning
X-SVN-Rev: 2136
2000-08-08 21:36:52 +00:00
George Rhoten
dd9b2b776e ICU-535 Removed a compiler warning
X-SVN-Rev: 2135
2000-08-08 21:20:40 +00:00
George Rhoten
760453c495 ICU-535 Removed a compiler warning
X-SVN-Rev: 2134
2000-08-08 20:38:48 +00:00
George Rhoten
965e162a6b ICU-472 strlen is no longer called in u_uastrncpy
X-SVN-Rev: 2131
2000-08-08 00:18:02 +00:00
Helena Chapman
b853fb70a0 ICU-373 Added support for ibm-1388 codepage.
X-SVN-Rev: 2126
2000-08-07 23:04:41 +00:00
Vladimir Weinstein
51a6a42dbe ICU-461 LCID <-> POSIX translation is updated and synchronized with Windows data
X-SVN-Rev: 2122
2000-08-07 22:01:07 +00:00
Yves Arrouye
67948bdd9f ICU-322 added uprv_strnicmp() for use by gencnval.
X-SVN-Rev: 2111
2000-08-04 04:48:09 +00:00
Madhu K
3c59e35c1e ICU-447 fixed expand
X-SVN-Rev: 2104
2000-08-02 23:40:16 +00:00
Steven R. Loomis
6fa70ecf4a ICU-527 Don't crash if setlocale() returns NULL
X-SVN-Rev: 2099
2000-08-02 19:36:19 +00:00
Steven R. Loomis
afbd051d76 ICU-311 more cbWrite updates and changes to the included callbacks
X-SVN-Rev: 2098
2000-08-02 19:35:17 +00:00
Alan Liu
fdb2dc8d65 ICU-89 fix handling of recursively decomposing chars
X-SVN-Rev: 2089
2000-08-01 20:29:15 +00:00
Vladimir Weinstein
2d4ed86f3e ICU-432 UnicodeConverter copy ctor used new for memory freed by free
X-SVN-Rev: 2088
2000-08-01 19:41:44 +00:00
George Rhoten
c97ff0012b ICU-469 added some Todo comments.
X-SVN-Rev: 2087
2000-08-01 17:58:43 +00:00
Yves Arrouye
723cec4f28 ICU-518 UnicodeConverterCPP renamed to UnicodeConverter.
X-SVN-Rev: 2084
2000-08-01 00:44:15 +00:00
Madhu K
ef00c94aa2 ICU-311 header file ucnv_cb.h missing
X-SVN-Rev: 2082
2000-07-31 23:39:28 +00:00
Vladimir Weinstein
759d6be056 ICU-460 OS/390 related changes
X-SVN-Rev: 2079
2000-07-31 22:33:44 +00:00
Yves Arrouye
7cc6dbc8c8 ICU-353 corrected initialization of array.
X-SVN-Rev: 2077
2000-07-31 18:46:38 +00:00
Steven R. Loomis
ee9ba216fc ICU-344 reset state properly after callback
X-SVN-Rev: 2074
2000-07-31 14:39:47 +00:00
Steven R. Loomis
70ef5879e2 ICU-311 cbWrite implementation
X-SVN-Rev: 2073
2000-07-31 14:38:10 +00:00
George Rhoten
01583c7470 ICU-469 Added some improvements to speed up the code by 10% for normal unicode conversion.
X-SVN-Rev: 2060
2000-07-28 03:11:38 +00:00
Madhu K
8cf8308bc9 ICU-176 Fixed utf8_appendCharSafeBody to handle buffer overflow correctly
X-SVN-Rev: 2051
2000-07-26 22:37:11 +00:00
Steven R. Loomis
de7b2bd35a ICU-176 utf8 table update for unix
X-SVN-Rev: 2050
2000-07-26 20:37:53 +00:00
Alan Liu
811aebdf9d ICU-89 rename local variable
X-SVN-Rev: 2049
2000-07-26 20:17:45 +00:00
Alan Liu
7678a3a760 ICU-89 add private doReplace
X-SVN-Rev: 2048
2000-07-26 16:41:17 +00:00
Alan Liu
9020805ecf ICU-89 numerous changes large and small to bring into conformance with UTR15
X-SVN-Rev: 2047
2000-07-26 16:40:43 +00:00
Alan Liu
aaedfda461 ICU-89 change typeMask to typeBit, other updates for 3.0 conformance
X-SVN-Rev: 2045
2000-07-26 16:24:12 +00:00
Madhu K
2ed6efa244 ICU-176 UCAPI needed for utf_countTrailBytes for export
X-SVN-Rev: 2040
2000-07-26 02:01:00 +00:00
Madhu K
460392f2d8 ICU-176 Added ifdef for U_IMPORT and U_EXPORT for utf_countTrailBytes
X-SVN-Rev: 2039
2000-07-26 02:00:22 +00:00
George Rhoten
4a3d9b01fe ICU-469 Fixed a few offset errors with trucated UTF-8 chars,
and the invalid UTF-8 tail should now be written with small buffers.

X-SVN-Rev: 2038
2000-07-26 00:55:30 +00:00
George Rhoten
e4767761cf ICU-311 The offset is now incremented with the target when a character is substitued.
I also removed some tabs within the file.

X-SVN-Rev: 2037
2000-07-26 00:20:19 +00:00
George Rhoten
11452e3956 ICU-469 Fixed various UTF-8 offset bugs and added some
optimizations by doing pointer arithmatic instead of array indexing.

X-SVN-Rev: 2033
2000-07-25 19:33:02 +00:00
Yves Arrouye
3e9dfa505f ICU-353 removed warnings.
X-SVN-Rev: 2032
2000-07-25 17:00:23 +00:00
Madhu K
9882141a96 ICU-176 two important macros need more parentheses for op precedence!
X-SVN-Rev: 2031
2000-07-25 00:46:25 +00:00
George Rhoten
d27fbfa1f1 ICU-469 When fromUCharErrorBehaviour was set to
the function pointer in the jump table that jumped to
UCNV_FROM_U_CALLBACK_STOP, the macros would
break out of the current loop prematurely.

X-SVN-Rev: 2029
2000-07-24 20:33:23 +00:00
George Rhoten
c6dd3c3c43 ICU-469 miscellaneous bug fixes for UTF-8
X-SVN-Rev: 2025
2000-07-22 03:21:16 +00:00
Alan Liu
a96ab43e48 ICU-498 indentation cleanup
X-SVN-Rev: 2024
2000-07-22 00:10:49 +00:00
Markus Scherer
9a4e8565f5 ICU-311 formally remove broken iso-2022 support for now
X-SVN-Rev: 2022
2000-07-22 00:02:57 +00:00
Markus Scherer
3aacc28a78 ICU-311 harden some functions for bad input
X-SVN-Rev: 2021
2000-07-21 23:58:31 +00:00
Markus Scherer
6e5dc84c5c ICU-311 comment out currently unused functions
X-SVN-Rev: 2016
2000-07-21 22:48:15 +00:00
George Rhoten
1e5e8a4f36 ICU-469 small speed improvement for UTF-8
X-SVN-Rev: 2009
2000-07-21 20:42:04 +00:00
George Rhoten
5f79ea13fe ICU-469 follows the coding style rules better, and fixed a few UTF-8 bugs
X-SVN-Rev: 2003
2000-07-21 01:25:30 +00:00
Steven R. Loomis
6260858f4f ICU-107 ubidiwrt.c
X-SVN-Rev: 2000
2000-07-21 00:53:51 +00:00
Steven R. Loomis
77001a5b42 ICU-184 Why was this file still here?
X-SVN-Rev: 1999
2000-07-21 00:25:26 +00:00
Vladimir Weinstein
b32fbfedc6 ICU-447 removed dead code
X-SVN-Rev: 1995
2000-07-20 22:25:32 +00:00
Vladimir Weinstein
42fe74c7d2 ICU-442 remove dependency on wchar.h
X-SVN-Rev: 1992
2000-07-20 20:52:12 +00:00
Yves Arrouye
a3b6777ec0 ICU-377 small fixes for Darwin.
X-SVN-Rev: 1970
2000-07-20 05:17:49 +00:00
Yves Arrouye
13dccbd5b1 ICU-377 split the POXIX functionality into U_POSIX_LOCALE,
U_POSIX_TIMEZONE, and add U_HAVE_NL_LANGINFO for those that have
U_POSIX_LOCALE defined (may or may not have nl_langinfo()). nl_langinfo()
should be autodected but I'm lazy today (and everything in putil.c should
be autodected, actually, so there!). For Darwin, define U_POSIX_LOCALE
but not U_HAVE_NL_LANGINFO.

X-SVN-Rev: 1969
2000-07-20 04:43:47 +00:00
Helena Chapman
f9ea95a88e ICU-401 More 400 compilation changes.
X-SVN-Rev: 1964
2000-07-20 00:39:21 +00:00
George Rhoten
0d727eb7f0 ICU-469 Fixed a problem when UTF-8 has a surrogate on two different buffers.
X-SVN-Rev: 1962
2000-07-20 00:10:15 +00:00
Alan Liu
1ab1e529c5 ICU-307 lenient converter name matching
X-SVN-Rev: 1957
2000-07-19 22:18:43 +00:00
Markus Scherer
fc5da8caef ICU-103 fromU() improvement needed more condition checking
X-SVN-Rev: 1955
2000-07-19 21:54:16 +00:00
Markus Scherer
7130aeef99 ICU-103 more performance in fromU() by goto _into_ the loop
X-SVN-Rev: 1954
2000-07-19 21:24:04 +00:00
Alan Liu
85d51e6ece ICU-89 improve performance for non-composing combining
X-SVN-Rev: 1944
2000-07-19 16:09:09 +00:00
Yves Arrouye
9fbbbf01bc ICU-377 removed U_RHAPSODY, only U_DARWIN is used now.
X-SVN-Rev: 1938
2000-07-19 04:29:20 +00:00
Helena Chapman
5eda06b3c0 ICU-401 more s/400 compilation changes.
X-SVN-Rev: 1937
2000-07-19 00:21:29 +00:00
Alan Liu
133d4a5035 ICU-89 new version with more compact typeMask
X-SVN-Rev: 1933
2000-07-18 19:18:09 +00:00
Alan Liu
a8c14fad43 ICU-89 eliminate zero-index combining chars from tables
X-SVN-Rev: 1925
2000-07-18 18:08:33 +00:00
Madhu K
4463cf3414 ICU-176 fixed T_UConverter_getNextUChar_UTF16_BE
and T_UConverter_getNextUChar_UTF16_LE  for surrogate behaviour

X-SVN-Rev: 1923
2000-07-18 18:02:36 +00:00
Markus Scherer
fc23fe2b5d ICU-103 getNextUChar() set index-outofbounds if there is no output but no other error
X-SVN-Rev: 1922
2000-07-18 17:42:33 +00:00
Helena Chapman
633f3d9104 ICU-401 400 porting changes based on Barry's feedback.
X-SVN-Rev: 1919
2000-07-17 23:36:52 +00:00
Steven R. Loomis
9a254a047e ICU-508 fix Locale::TRADITIONAL_CHINESE constant
X-SVN-Rev: 1918
2000-07-17 23:33:38 +00:00
Markus Scherer
48b75bff5c ICU-103 getNextUChar() use helper ucnv_getUChar32KeepOverflow(), and improve fromUnicode performance
X-SVN-Rev: 1915
2000-07-17 21:33:31 +00:00
Markus Scherer
3b048dbe57 ICU-103 add getNextUChar() helper ucnv_getUChar32KeepOverflow()
X-SVN-Rev: 1914
2000-07-17 21:30:13 +00:00
George Rhoten
072f942e56 ICU-399 Added code to u_strstr again
X-SVN-Rev: 1913
2000-07-17 21:02:18 +00:00
George Rhoten
8f94f238be ICU-399 Added code to u_strstr
X-SVN-Rev: 1912
2000-07-17 20:47:02 +00:00
Markus Scherer
4015163642 ICU-505 the callback call used to trash the args->target etc. pointers, do this on a copy
X-SVN-Rev: 1907
2000-07-17 19:49:44 +00:00
Markus Scherer
4b51eae486 ICU-505 remove obsolete values and move error buffer length to ucnv_bld.h
X-SVN-Rev: 1905
2000-07-17 19:48:25 +00:00
Markus Scherer
5b2fb059cd ICU-505 increase size of overflow buffer to 32 (need >=24)
X-SVN-Rev: 1904
2000-07-17 19:47:36 +00:00
Alan Liu
24c6d0cd19 ICU-410 update docs
X-SVN-Rev: 1900
2000-07-16 13:49:24 +00:00
Alan Liu
cb74716658 ICU-410 create unified unescape function(s)
X-SVN-Rev: 1896
2000-07-16 13:39:07 +00:00
Markus Scherer
42c49e3617 ICU-311 changeState_2022 also copy cb contexts
X-SVN-Rev: 1895
2000-07-15 22:04:08 +00:00
Markus Scherer
a365ea6146 ICU-311 op== also compare the cb contexts
X-SVN-Rev: 1894
2000-07-15 22:03:20 +00:00
Markus Scherer
f5305acb59 ICU-311 call callbacks from ucnv_reset() & ucnv_close() as designed
X-SVN-Rev: 1892
2000-07-15 20:47:31 +00:00
Markus Scherer
fa1d2584a1 ICU-311 more small fixes in callbacks
X-SVN-Rev: 1891
2000-07-15 20:46:53 +00:00
Markus Scherer
64d3073fe9 ICU-495 ucnv_getInvalidXXX() must return the invalidXXX buffers, not the overflow buffers
X-SVN-Rev: 1890
2000-07-15 20:09:58 +00:00
Markus Scherer
d85d2027a2 ICU-103 fix little-endian fromU and use dedicated UConverter->toUBytes for state
X-SVN-Rev: 1889
2000-07-15 01:16:13 +00:00
Markus Scherer
6f2e1ed803 ICU-103 add more toU state fields to UConverter
X-SVN-Rev: 1888
2000-07-15 01:11:49 +00:00
Markus Scherer
9d3905ca8e ICU-495 fix error checking etc. in getInvalidXXX()
X-SVN-Rev: 1887
2000-07-15 01:11:05 +00:00
George Rhoten
874a1b6f38 ICU-399 Added more documentation on strstr
X-SVN-Rev: 1885
2000-07-14 23:33:18 +00:00
Madhu K
ddf9778682 ICU-311 Fixed the ESCAPE_CALLBACK
X-SVN-Rev: 1877
2000-07-14 19:40:36 +00:00
Markus Scherer
06ca05dc38 ICU-311 for the new callback api, ucnv_getXCallBack() need to return both the function pointer and the context
X-SVN-Rev: 1873
2000-07-14 01:01:14 +00:00
Markus Scherer
5af0fcc38d ICU-311 for the new callback api, geMissingXAction() need to return both the function pointer and the context
X-SVN-Rev: 1872
2000-07-14 01:00:59 +00:00
Markus Scherer
7d721ba16c ICU-502 clean up 'unassigned' handling and callback calls
X-SVN-Rev: 1871
2000-07-13 23:55:33 +00:00
Alan Liu
d2afba2116 ICU-89 update to 3.0 composition exclusions
X-SVN-Rev: 1867
2000-07-13 22:12:48 +00:00
Steven R. Loomis
c596b24a8a ICU-393 .cvsignore cleanup
X-SVN-Rev: 1866
2000-07-13 22:04:24 +00:00
Vladimir Weinstein
4efa05993b ICU-103 fixed LMBCS to Unicode converter for platforms where UChar32 is signed
X-SVN-Rev: 1855
2000-07-13 18:32:49 +00:00
Vladimir Weinstein
3901ed6a57 ICU-489 warning fix - added uprv_strtol
X-SVN-Rev: 1850
2000-07-13 17:55:26 +00:00
Vladimir Weinstein
dda638684d ICU-103 removed duplicate typedef to make gcc happy
X-SVN-Rev: 1849
2000-07-13 16:51:48 +00:00
Vladimir Weinstein
dfc90542fe ICU-103 const casts to make gcc happier
X-SVN-Rev: 1848
2000-07-13 16:51:02 +00:00
Steven R. Loomis
b7031a5f84 ICU-497 upgrade version #
X-SVN-Rev: 1847
2000-07-13 16:46:25 +00:00
Jim Snyder Grant
b16a4f7ea8 ICU-500 corrected source pointer & errorBuffer for case of target running out on source char boundary
X-SVN-Rev: 1844
2000-07-13 15:33:16 +00:00
Jim Snyder Grant
0c71649fd5 ICU-495 implementation for ucnv_getInvalidChars
and ucnv_getInvalidUChars. Also corrected UChars proto.

X-SVN-Rev: 1843
2000-07-13 15:25:04 +00:00
Jim Snyder Grant
219fd9599f ICU-499 corrected signed/unsigned behavior for itou() used
by ESCAPE callback.

X-SVN-Rev: 1842
2000-07-13 15:17:52 +00:00
Markus Scherer
be9f636bdb ICU-103 call callbacks with correct codeUnit pointers and codePoint values
X-SVN-Rev: 1835
2000-07-13 00:15:01 +00:00
Markus Scherer
80cd8d269b ICU-103 improve compliance of our callbacks with the new api, were buggy and still assume too much about UConverter
X-SVN-Rev: 1834
2000-07-13 00:14:10 +00:00
Markus Scherer
fc52220b90 ICU-103 need struct names for some structs for compatibility with forward declarations
X-SVN-Rev: 1833
2000-07-13 00:12:34 +00:00
Markus Scherer
ae02ead7fe ICU-103 add ucnvmbcs.h
X-SVN-Rev: 1832
2000-07-13 00:11:43 +00:00
Markus Scherer
69c2c7dabb ICU-103 load the new mbcs converter with format version 5
X-SVN-Rev: 1831
2000-07-13 00:11:11 +00:00
Markus Scherer
f0b6b788f2 ICU-103 replace the mbcs implementation by one that supports up to 4 bytes/char and full utf-16
X-SVN-Rev: 1830
2000-07-13 00:10:29 +00:00
Vladimir Weinstein
8349610248 ICU-432 more leak fixes
X-SVN-Rev: 1824
2000-07-12 22:59:57 +00:00
Alan Liu
09f92d4480 ICU-89 update normalizer data to Unicode 3.0
X-SVN-Rev: 1823
2000-07-12 22:02:37 +00:00
Yves Arrouye
b4e4f9d031 ICU-377 more changes to please the Mach linker.
X-SVN-Rev: 1805
2000-07-12 06:43:32 +00:00
Yves Arrouye
fb1d5d2135 ICU-377 explicitely use extern for U_CFUNC in C, since not doing so brings complaints from the Rhapsody/Darwin Mach linker.
X-SVN-Rev: 1804
2000-07-12 06:34:43 +00:00
Yves Arrouye
55cc3f3d3f ICU-353 const char * please.
X-SVN-Rev: 1795
2000-07-11 22:44:35 +00:00
Yves Arrouye
995ca8a672 ICU-360 detect gmake or make and set U_MAKE to that. Substitute U_MAKE
in platform.h.in, and hardcode it to "nmake" in pwin32.h and "gmake" in
pos400.h and pos2.h. Then use U_MAKE to define the default make command in
pkgdata.c, if there is no MAKE env variable.

X-SVN-Rev: 1793
2000-07-11 22:25:51 +00:00
Yves Arrouye
05e119e889 ICU-377 U_RHAPSODY doesn't look very POSIX from our point of view.
X-SVN-Rev: 1792
2000-07-11 22:24:00 +00:00
Helena Chapman
ccede1e5b9 ICU-311 Major rewrite of the internal codepath to use the UConverterToUnicodeArgs and UConverterFromUnicodeArgs.
X-SVN-Rev: 1777
2000-07-10 20:51:54 +00:00
Vladimir Weinstein
4a043d3575 ICU-432 more memory leaks fixed
X-SVN-Rev: 1776
2000-07-10 20:43:34 +00:00
Madhu K
32e5cad58f ICU-447 Fixed TConverter_fromUnicode_XBCS to return the error value when only the lead surrogate character is present and flush=TRUE
X-SVN-Rev: 1759
2000-07-08 00:03:18 +00:00
Steven R. Loomis
73b342fb13 ICU-343 parse locales such as fr_FR.UTF8@EURO [codepage and locale variant must be considered]
X-SVN-Rev: 1754
2000-07-07 06:12:00 +00:00
Vladimir Weinstein
45515c9a0c ICU-432 more memory leaks fixes
X-SVN-Rev: 1750
2000-07-06 23:01:50 +00:00
Madhu K
d3a1a60f25 ICU-447 1361 is no longer the reference codepage. Modified it to take 1363.
X-SVN-Rev: 1744
2000-07-06 18:24:13 +00:00
Helena Chapman
11f8d10632 ICU-439 Updated locmap.cpp with the North Korea ISO country code.
X-SVN-Rev: 1741
2000-07-05 23:44:37 +00:00
Helena Chapman
2fd0a3db47 ICU-311 the setToU and fromUCallback function signatures update.
X-SVN-Rev: 1736
2000-07-05 20:56:42 +00:00
Yves Arrouye
2dd27cde6e ICU-377 Darwin doesn't have <langinfo.h> (even though the functions are
in the manual!) and thus shouldn't be marked POSIX.

X-SVN-Rev: 1730
2000-07-03 19:30:42 +00:00
Yves Arrouye
d37141dcac ICU-371 changed LINUX and SOLARIS to U_LINUX and U_SOLARIS, also
changed HAVE_INTTYPES_H to U_HAVE_INTTYPES_H.

X-SVN-Rev: 1726
2000-06-30 21:35:03 +00:00
Vladimir Weinstein
d963093f45 ICU-436 additional constructors and _open functions for resource bundles
X-SVN-Rev: 1723
2000-06-30 20:24:59 +00:00
Yves Arrouye
ff2268461c ICU-322 new ucnv_getStandardName() API.
X-SVN-Rev: 1722
2000-06-30 19:43:00 +00:00
Markus Scherer
962dc91faa ICU-471 export ushape.h
X-SVN-Rev: 1721
2000-06-30 17:44:33 +00:00
Helena Chapman
0ad634011e ICU-311 Another major update with Callback API changes.
X-SVN-Rev: 1720
2000-06-30 17:38:47 +00:00
Markus Scherer
4c42ba5b9b ICU-471 add API facade for u_shapeArabic()
X-SVN-Rev: 1717
2000-06-30 00:29:46 +00:00
Markus Scherer
6aea18ee6e ICU-410 add API facades for string unescaping
X-SVN-Rev: 1707
2000-06-29 19:36:20 +00:00
Markus Scherer
c685f44e89 ICU-400 add u_strchr32()
X-SVN-Rev: 1706
2000-06-29 19:00:55 +00:00
Markus Scherer
68fe01cfa0 ICU-399 add API facade for u_strstr()
X-SVN-Rev: 1705
2000-06-29 18:52:11 +00:00
Markus Scherer
b2375850b7 ICU-241 remove obsolete T_INT32()
X-SVN-Rev: 1704
2000-06-29 18:42:34 +00:00
Markus Scherer
4660da6313 ICU-415 add API facade for name->code point and enum names
X-SVN-Rev: 1703
2000-06-29 18:27:07 +00:00
Steven R. Loomis
784b5f52ad ICU-432 comments, syntax, etc
X-SVN-Rev: 1701
2000-06-29 03:04:28 +00:00
Steven R. Loomis
8bc3f0b83b ICU-478 u_uastrncpy fix
X-SVN-Rev: 1694
2000-06-29 01:41:04 +00:00
Steven R. Loomis
d7b44985af ICU-311 updates for callback changes
X-SVN-Rev: 1687
2000-06-29 00:14:01 +00:00
Vladimir Weinstein
755f5d924c ICU-311 fixed crashing problem
X-SVN-Rev: 1684
2000-06-28 23:19:33 +00:00
Vladimir Weinstein
9b404b0904 ICU-311 fixed crashing problem
X-SVN-Rev: 1683
2000-06-28 23:19:32 +00:00
Vladimir Weinstein
d350a69251 ICU-311 changes to common w32 project
X-SVN-Rev: 1682
2000-06-28 22:49:33 +00:00
Vladimir Weinstein
497abfd708 ICU-460 Porting changes
X-SVN-Rev: 1678
2000-06-28 22:20:08 +00:00
Steven R. Loomis
93e522d9d9 ICU-311 removed
X-SVN-Rev: 1675
2000-06-28 21:13:25 +00:00
Alan Liu
ab9145acf3 ICU-450 move urep to common
X-SVN-Rev: 1670
2000-06-28 20:19:11 +00:00
Alan Liu
c1346acb3c ICU-450 remove extractBetween from Replaceable API
X-SVN-Rev: 1669
2000-06-28 20:10:42 +00:00
Helena Chapman
22502d9977 ICU-311 fixed to use the new callback APIs.
X-SVN-Rev: 1667
2000-06-28 19:43:17 +00:00
Helena Chapman
1edec65b38 ICU-311 fixed to use the new callback APIs.
X-SVN-Rev: 1666
2000-06-28 19:29:49 +00:00
Jim Snyder Grant
b48c650b9a ICU-271 Adjustments to pass newest LMBCS tests
X-SVN-Rev: 1665
2000-06-28 17:08:21 +00:00
Helena Chapman
377889ccd9 ICU-311 Major rewrite of the callback APIs. Needs to be checked
in without more testing to make the 6/29/2000 API deadline.  Lots
of warnings still, offset handling is not implemented.  More unit tests
is required because the current implementation actually passes the tests.

X-SVN-Rev: 1661
2000-06-27 20:47:56 +00:00
Jim Snyder Grant
5e09bfa7ed ICU-271 First functionally complete LMBCS converter
X-SVN-Rev: 1657
2000-06-27 19:31:01 +00:00
Vladimir Weinstein
18b6ac3369 ICU-432 fixing leaks
X-SVN-Rev: 1649
2000-06-26 22:46:15 +00:00
Madhu K
cdc7d9b910 ICU-176 Fixed an Error in move32()
X-SVN-Rev: 1635
2000-06-21 22:48:46 +00:00
Helena Chapman
8d12ca8e17 ICU-401 OS/400 specific changes for 1.5 release.
X-SVN-Rev: 1634
2000-06-20 23:42:20 +00:00
Steven R. Loomis
e928a03866 ICU-442 #if U_HAVE_WCHAR_H
X-SVN-Rev: 1633
2000-06-19 17:16:46 +00:00
Vladimir Weinstein
e8ef7da59a ICU-432 changes according to purify output
X-SVN-Rev: 1630
2000-06-15 22:32:39 +00:00
Vladimir Weinstein
f503d2fc52 ICU-436 resource bundle constructor should use default constructor instead of invariant one...
X-SVN-Rev: 1608
2000-06-12 22:44:15 +00:00
Markus Scherer
8703e9d817 ICU-221 exclude all no-break spaces from u_isWhitespace()
X-SVN-Rev: 1602
2000-06-12 19:48:05 +00:00
Alan Liu
d238badc53 ICU-363 document linkage to Normalizer
X-SVN-Rev: 1586
2000-06-08 21:11:32 +00:00
Steven R. Loomis
050da07c63 ICU-184 just some tabs and comment cleanup
X-SVN-Rev: 1584
2000-06-07 19:52:08 +00:00
Alan Liu
c82abd3807 ICU-184 remove rbcache[.cpp|.h] and rbread[.cpp|.h] from project file
X-SVN-Rev: 1582
2000-06-07 00:37:16 +00:00
Vladimir Weinstein
2e2f111d7c ICU-184 removed commented out APIs
X-SVN-Rev: 1578
2000-06-07 00:01:16 +00:00
Vladimir Weinstein
6e8bed3833 ICU-184 returning error code cleanup according to srls review
X-SVN-Rev: 1577
2000-06-07 00:00:00 +00:00
Vladimir Weinstein
245ce1ce74 ICU-184 unneeded files removed, and Makefile.in changed accordingly. common.dsp should be also changed
X-SVN-Rev: 1576
2000-06-06 23:57:37 +00:00
Markus Scherer
458d47f153 ICU-423 test correctly for combining marks (Mn, Mc, Me, not Lm)
X-SVN-Rev: 1568
2000-06-05 22:18:08 +00:00
Markus Scherer
9b33ab2734 ICU-421 detect correctly if there is a basename
X-SVN-Rev: 1564
2000-06-05 17:24:34 +00:00
Steven R. Loomis
3ec60c904e ICU-420 make header files build by themselves
X-SVN-Rev: 1558
2000-06-03 04:18:06 +00:00
Vladimir Weinstein
afbd81e9f9 ICU-184 including private headers (uhash.h) in public headers is a very bad thing indeed
X-SVN-Rev: 1556
2000-06-03 02:50:17 +00:00
Markus Scherer
ee39dd3f52 ICU-397 better u_versionToString() error checking
X-SVN-Rev: 1554
2000-06-02 18:37:54 +00:00
Steven R. Loomis
367e17b16a ICU-393 removing old files
X-SVN-Rev: 1545
2000-06-02 00:24:27 +00:00
Markus Scherer
84a56632ae ICU-418 fix latin-1 ucnv_getNextUChar() - zero-extend, not sign-extend, input byte
X-SVN-Rev: 1543
2000-06-02 00:05:22 +00:00
Steven R. Loomis
a441c8ef2c ICU-408 leak libraries on hpux, shl_unload is broken
X-SVN-Rev: 1522
2000-05-30 21:47:19 +00:00
Steven R. Loomis
561deb6ee6 ICU-408 HPUX returns 'C C C C C C' as the default locale, map to en_US like 'C'
X-SVN-Rev: 1518
2000-05-30 20:43:37 +00:00
Vladimir Weinstein
7db082375a ICU-184 error code when opening a non-existing default bundle fixed
X-SVN-Rev: 1517
2000-05-30 20:09:47 +00:00
Steven R. Loomis
4f8244bea2 ICU-408 hpux brokenness
X-SVN-Rev: 1515
2000-05-30 19:30:55 +00:00
Vladimir Weinstein
20c152a8a2 ICU-184 uresbund data handling fix (should have pointers to shared memory, but it didn't)
X-SVN-Rev: 1511
2000-05-30 17:02:26 +00:00
Steven R. Loomis
be1ead973f ICU-184 fix ResourceBundle::ResourceBundle(ResourceBundle&) copy c'tor
X-SVN-Rev: 1506
2000-05-26 18:58:00 +00:00
Vladimir Weinstein
d4fcf00c93 ICU-184 uint vs. int problem - better name for #define
X-SVN-Rev: 1501
2000-05-26 02:02:42 +00:00
Vladimir Weinstein
3010e6cfed ICU-184 uint vs. int problem.
X-SVN-Rev: 1497
2000-05-25 22:16:48 +00:00
Helena Chapman
ea985ee0d3 ICU-408 HP-UX port changes.
X-SVN-Rev: 1473
2000-05-24 21:47:06 +00:00
Markus Scherer
02ac2e9283 ICU-176 support UChar32 code points in Normalizer API (not implementation)
X-SVN-Rev: 1468
2000-05-24 20:56:19 +00:00
Vladimir Weinstein
5bb7edefb6 ICU-406 win32 compiler warning
X-SVN-Rev: 1466
2000-05-24 20:33:09 +00:00
Markus Scherer
7195589e89 ICU-176 add forgotten UChar32 overloads
X-SVN-Rev: 1464
2000-05-24 20:03:21 +00:00
Vladimir Weinstein
1583efe468 ICU-406 putting collation in resource bundles
X-SVN-Rev: 1463
2000-05-24 19:58:40 +00:00
Helena Chapman
aab9c41ddc ICU-408 AIX 4.3.x port changes.
X-SVN-Rev: 1460
2000-05-24 19:21:39 +00:00
Steven R. Loomis
62640fec80 ICU-384 No // comments in C code!
X-SVN-Rev: 1446
2000-05-23 21:09:13 +00:00
Markus Scherer
aca0c53ac2 ICU-397 make u_versionFrom/ToString() public
X-SVN-Rev: 1437
2000-05-22 22:24:51 +00:00
Markus Scherer
7e85fb6dae ICU-397 sorry, the previous commit had the wrong comment - make u_versionFrom/ToString() public
X-SVN-Rev: 1436
2000-05-22 22:24:15 +00:00
Markus Scherer
db57518b4c ICU-405 remove duplicate country name for SH
X-SVN-Rev: 1435
2000-05-22 22:22:14 +00:00
Jim Snyder Grant
7f51cb674c ICU-384 Add locale-biasing support to LMBCS
X-SVN-Rev: 1433
2000-05-22 21:24:26 +00:00
Markus Scherer
1c7819548d ICU-384 ucnv_open() recognize options appended to the converter name
X-SVN-Rev: 1429
2000-05-22 20:15:09 +00:00
Vladimir Weinstein
ca5cb935ca ICU-406 putting collation data in resource bundles (initial revision)
X-SVN-Rev: 1427
2000-05-22 19:50:23 +00:00
Alan Liu
87aa5a7c73 ICU-403 update docs
X-SVN-Rev: 1424
2000-05-20 04:42:59 +00:00
Alan Liu
358312cc1a ICU-352 add new Replaceable API
X-SVN-Rev: 1423
2000-05-20 04:41:12 +00:00
Markus Scherer
a511f10787 ICU-401 different ebcdic<->ascii tables for non-os/390 ebcdic platforms
X-SVN-Rev: 1418
2000-05-20 00:58:14 +00:00
Markus Scherer
43749d6ef2 ICU-43 correct SBCS conversion handling of (UChar)0 to (char)0
X-SVN-Rev: 1417
2000-05-20 00:17:47 +00:00
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
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
Vladimir Weinstein
02d4a7568d ICU-327 Fixed error in locale constructor
X-SVN-Rev: 1014
2000-03-29 17:33:12 +00:00
Markus Scherer
eb3ba827c6 ICU-312 jitterbug 136: new UnicodeString memory allocation/aliasing implementation
X-SVN-Rev: 1012
2000-03-29 01:13:49 +00:00
Alan Liu
8a8d33321c ICU-149 add uhash_us.cpp to Makefile.in
X-SVN-Rev: 1006
2000-03-28 23:08:03 +00:00
Alan Liu
2ddc4768a3 ICU-149 rewrite UHashtable
X-SVN-Rev: 1001
2000-03-28 22:04:39 +00:00
Madhu K
a63788034a ICU-338 wchar_t glitches
X-SVN-Rev: 996
2000-03-28 00:36:06 +00:00
Markus Scherer
6074e7bad6 ICU-338 minor 'glitches' found in OS/2 port
X-SVN-Rev: 987
2000-03-24 17:45:45 +00:00
Markus Scherer
b7bbdaebdb ICU-176 basic UTF-16 support in Unicode class, with inline functions
X-SVN-Rev: 984
2000-03-24 01:26:47 +00:00
Markus Scherer
e21af11d4f ICU-176 basic UTF-16 support in Unicode class, with inline functions
X-SVN-Rev: 983
2000-03-24 00:51:01 +00:00
Alan Liu
e9697c4835 ICU-336 fix index out of range bug in u_UCharToChars
X-SVN-Rev: 974
2000-03-22 19:12:21 +00:00
Vladimir Weinstein
e5970bccc3 ICU-335 APIs are now marked for proper doc generation
X-SVN-Rev: 973
2000-03-22 18:31:40 +00:00
Markus Scherer
54921c0d79 ICU-84 S/390 and EBCDIC updates
X-SVN-Rev: 969
2000-03-21 20:37:32 +00:00
Yves Arrouye
5b96f9db05 ICU-84 reordered #endif for DL code so that non-S/390 plaforms (at least
Linux and Solaris) compile.

X-SVN-Rev: 968
2000-03-21 19:40:01 +00:00
Yves Arrouye
e50ab96561 ICU-314 added $(DESTDIR) to every directory used in an install command.
X-SVN-Rev: 941
2000-03-10 22:55:19 +00:00
Helena Chapman
a24534df38 ICU-84 S/390 DLL code update.
X-SVN-Rev: 937
2000-03-10 01:52:03 +00:00
Alan Liu
d623133b0c ICU-161 fix copyrights
X-SVN-Rev: 905
2000-03-07 02:39:27 +00:00
Helena Chapman
5862cf64ee ICU-313 Updated with the new API that takes the length of the source buffer.
X-SVN-Rev: 903
2000-03-07 01:42:40 +00:00
Markus Scherer
3de59e84c0 ICU-200 pointer wrap-around handling for os/400
X-SVN-Rev: 899
2000-03-07 01:26:15 +00:00
Alan Liu
1cf654db33 ICU-315 remove EBCDIC-incompatible char constants
X-SVN-Rev: 891
2000-03-04 01:51:51 +00:00
Steven R. Loomis
7b3299b787 ICU-84 s/390 update
X-SVN-Rev: 802
2000-02-18 21:36:51 +00:00
Steven R. Loomis
6c77945014 ICU-200 OS400 update
X-SVN-Rev: 797
2000-02-18 21:05:24 +00:00
Steven R. Loomis
2ed14f613a ICU-139 itou() hex conversion
X-SVN-Rev: 758
2000-02-15 01:05:58 +00:00
Markus Scherer
fb8e692c59 ICU-188 remove all PlatformInvariant handling
X-SVN-Rev: 756
2000-02-14 20:07:44 +00:00