Commit Graph

100 Commits

Author SHA1 Message Date
Markus Scherer
b98bf4fdb2 ICU-484 optimize fromUnicode conversions
X-SVN-Rev: 3359
2001-01-02 23:55:47 +00:00
Markus Scherer
eda9b41095 ICU-484 add _MBCSGetType() for MBCS to handle all table-based codepages
X-SVN-Rev: 3352
2001-01-02 23:01:38 +00:00
Markus Scherer
3420d377bf ICU-484 mbcs 3 - more efficient stage 1/2 indexing, truncate stage 1 for BMP-only codepages, compact stage 2
X-SVN-Rev: 3321
2000-12-21 21:31:17 +00:00
Markus Scherer
52a7c3d7fe ICU-779 add converter-specific writeSub()
X-SVN-Rev: 3308
2000-12-20 23:31:45 +00:00
Markus Scherer
10a4f4ae41 ICU-722 implement direction-specific ucnv_reset()
X-SVN-Rev: 3299
2000-12-20 21:18:46 +00:00
Markus Scherer
0a2b2ebdde ICU-484 mbcs version 2: check output types, initial code for SI/SO
X-SVN-Rev: 3293
2000-12-20 18:39:29 +00:00
Markus Scherer
98618f3a3d ICU-484 more little improvements
X-SVN-Rev: 3287
2000-12-20 02:09:51 +00:00
Markus Scherer
998f792a5a ICU-484 add unicodeMask to UConverterStaticData for optimized implementations
X-SVN-Rev: 3280
2000-12-19 23:07:50 +00:00
Markus Scherer
d1e6c0f34b ICU-507 optimize MBCS getNextUChar() with specific implementations
X-SVN-Rev: 3272
2000-12-19 04:06:09 +00:00
Markus Scherer
16d48d5dad ICU-507 oops, the new editor was set to use tabs - my bad :-(
X-SVN-Rev: 3263
2000-12-19 01:21:32 +00:00
Markus Scherer
b7c791ad75 ICU-507 use common implementation for getNextUChar() where appropriate
X-SVN-Rev: 3261
2000-12-19 00:29:27 +00:00
Markus Scherer
115086983f ICU-544 update for re-release mapping file and specification
X-SVN-Rev: 3078
2000-11-30 22:13:55 +00:00
Ram Viswanadha
63c40580a6 ICU-634 Changed options parameter of open function
X-SVN-Rev: 3039
2000-11-29 01:04:03 +00:00
Markus Scherer
2f657b0bc5 ICU-535 fix compiler warnings; make callback error code checks safer
X-SVN-Rev: 3015
2000-11-28 19:23:13 +00:00
Ram Viswanadha
a47dc395b7 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3006
2000-11-27 17:40:41 +00:00
Ram Viswanadha
3e0584e78d ICU-729 Fixed multithreading bug. Changed implementation
ucnv_getName() function to return converter name with options.
Renamed UConverterOpen Function parameter from version to
options.

X-SVN-Rev: 2995
2000-11-22 02:05:29 +00:00
Markus Scherer
918ec01345 ICU-701 handle fallbacks more precisely; add optimizations for single-byte codepages
X-SVN-Rev: 2916
2000-11-15 01:05:35 +00:00
Ram Viswanadha
2ade9b3ccb ICU-703 Added ISO-2022-JP version selection functionality
X-SVN-Rev: 2833
2000-10-28 01:09:46 +00:00
Markus Scherer
af27bc1133 ICU-544 ucnv_getNextUChar() must _not_ match pairs of single surrogates for codepages like gb18030 (see javadoc & notes in ucnvmbcs.c)
X-SVN-Rev: 2807
2000-10-26 20:09:17 +00:00
Markus Scherer
486b26d12e ICU-544 getNextUChar() handle separately encoded surrogates
X-SVN-Rev: 2794
2000-10-26 00:18:34 +00:00
Markus Scherer
a9e3abc865 ICU-544 fix gb 18030
X-SVN-Rev: 2774
2000-10-24 21:01:29 +00:00
Markus Scherer
772e51f3dd ICU-544 implement gb 18030
X-SVN-Rev: 2765
2000-10-23 23:37:51 +00:00
Markus Scherer
5596cd0c1b ICU-599 add mbcs functions to support other converters like 2022
X-SVN-Rev: 2436
2000-09-15 17:18:03 +00:00
George Rhoten
dc2839b8b2 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2316
2000-08-21 21:28:58 +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
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
George Rhoten
a34fe9a10a ICU-535 fixed some compiler warnings
X-SVN-Rev: 2164
2000-08-10 01:59:18 +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
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
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
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
Vladimir Weinstein
dfc90542fe ICU-103 const casts to make gcc happier
X-SVN-Rev: 1848
2000-07-13 16:51:02 +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
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
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
Helena Chapman
0ad634011e ICU-311 Another major update with Callback API changes.
X-SVN-Rev: 1720
2000-06-30 17:38:47 +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
9b404b0904 ICU-311 fixed crashing problem
X-SVN-Rev: 1683
2000-06-28 23:19:32 +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
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
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
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
6e9f280f6c ICU-267 make CNV file format portable. (+ makeconv cleanup)
X-SVN-Rev: 1176
2000-04-19 23:05:27 +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
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
111462800f ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 736
2000-02-09 19:15:17 +00:00
Markus Scherer
42e5acace0 ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 734
2000-02-08 23:41:16 +00:00
Markus Scherer
20baeae401 ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 723
2000-02-07 17:35:21 +00:00