Commit Graph

727 Commits

Author SHA1 Message Date
Yves Arrouye
efc957d163 ICU-576 added ucnvebdc.o to the files to build.
X-SVN-Rev: 2384
2000-08-29 22:40:45 +00:00
Yves Arrouye
1968fe35ad ICU-575 finally got rid of @BUILDDATADIR@ in the Makefiles. Also removed
the need for BUILD_OUT_OF_SOURCE to be defined at configure time.

X-SVN-Rev: 2383
2000-08-29 22:26:15 +00:00
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