Commit Graph

164 Commits

Author SHA1 Message Date
George Rhoten
d1afd5979d ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5492
2001-08-17 00:24:58 +00:00
Ram Viswanadha
11382e3dbf ICU-1054 use uprv_memcpy and some housekeeping
X-SVN-Rev: 5276
2001-07-18 23:45:04 +00:00
Ram Viswanadha
4d64f8658a ICU-506 ISO2022 converter not resetting after flush.
X-SVN-Rev: 5211
2001-07-10 02:26:08 +00:00
Ram Viswanadha
6831474c1e ICU-865 Porting fixes for Macintosh platform
X-SVN-Rev: 5017
2001-06-18 22:48:33 +00:00
Ram Viswanadha
e4d7e1cdff ICU-915 Fixed some compiler warnings
X-SVN-Rev: 4661
2001-05-14 17:43:10 +00:00
Ram Viswanadha
4c58d36717 ICU-915 Fixed shiftSequence bug
X-SVN-Rev: 4654
2001-05-11 02:25:35 +00:00
George Rhoten
7713040819 ICU-900 Don't use // in C files
X-SVN-Rev: 4623
2001-05-08 15:30:48 +00:00
Ram Viswanadha
fcfb3ad09b ICU-947 Added coments no code change
X-SVN-Rev: 4622
2001-05-08 00:02:22 +00:00
Ram Viswanadha
0a875cdc0b ICU-947 ISO-2022 performance improvements
X-SVN-Rev: 4620
2001-05-07 23:54:01 +00:00
Ram Viswanadha
bb0b1f5cc1 ICU-930 fixed offsets overwriting bug
X-SVN-Rev: 4463
2001-04-07 01:24:30 +00:00
Ram Viswanadha
d0c968260e ICU-915 Substitution state bug fixed
X-SVN-Rev: 4398
2001-03-29 18:52:38 +00:00
Ram Viswanadha
bebe9dccfc ICU-915 Fix for handling of ASCII characters
X-SVN-Rev: 4389
2001-03-28 23:25:53 +00:00
Ram Viswanadha
ae3ec9f251 ICU-535 fixed compiler warnings
X-SVN-Rev: 4281
2001-03-22 19:57:05 +00:00
Ram Viswanadha
90a6cca343 ICU-535 fixed compiler warnings
X-SVN-Rev: 4272
2001-03-22 18:35:08 +00:00
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
George Rhoten
849877bb36 ICU-432 Memory access fixes according to Ram
X-SVN-Rev: 3985
2001-03-09 00:41:14 +00:00
George Rhoten
e9685c3fcb ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3919
2001-03-06 18:19:16 +00:00
Ram Viswanadha
fff14d8acf ICU-634 Changed implementation of KR
X-SVN-Rev: 3881
2001-03-02 23:57:58 +00:00
Ram Viswanadha
7f4589ed37 ICU-869 Fixed more compiler warnings and index out of bounds errors
X-SVN-Rev: 3846
2001-02-28 22:37:49 +00:00
Ram Viswanadha
dc3ff158d3 ICU-869 Combined common callback code into functions and fixed compiler warnings
X-SVN-Rev: 3818
2001-02-28 02:54:39 +00:00
Markus Scherer
55c69844be ICU-866 implement handling of subchar1
X-SVN-Rev: 3784
2001-02-26 19:51:20 +00:00
Ram Viswanadha
7d7f5ea129 ICU-862 Added 25546 converter (ISO_2022_KR_1). Added flushing of
state to fromUChars and toUChars

X-SVN-Rev: 3764
2001-02-24 02:41:29 +00:00
Ram Viswanadha
1d9ffd7f79 ICU-869 Added support for JIS, JIS7 and JIS8 encodings in 2022-JP
fixed compiler warning in HZ

X-SVN-Rev: 3745
2001-02-23 04:39:32 +00:00
George Rhoten
5346bbe0ed ICU-597 AS/400 porting changes + a lot of white space removal on blank lines
X-SVN-Rev: 3691
2001-02-20 22:00:03 +00:00
Jim Snyder Grant
5479dd7c73 ICU-388 and jb 853: ucnv_safeClone - the guts of the implementation
X-SVN-Rev: 3657
2001-02-16 22:22:40 +00:00
Ram Viswanadha
4b1be3269e ICU-634 Reduced number of gotos without affecting the performance
and fixed surrogate handling(regression) bugs

X-SVN-Rev: 3643
2001-02-16 20:16:09 +00:00
Ram Viswanadha
41dd06a9b0 ICU-634 Improved performance of ISO-2022-CN and fixed compiler warnings
X-SVN-Rev: 3596
2001-02-08 19:45:07 +00:00
Ram Viswanadha
de43f54b4c ICU-535 Fixed compiler warnings
X-SVN-Rev: 3557
2001-02-03 03:15:29 +00:00
Ram Viswanadha
52fb9a8712 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3541
2001-02-02 20:49:38 +00:00
Ram Viswanadha
cc818beb4d ICU-634 Performance improvement of ISO_2022 converters. JP is about 40% faster.
Implemented writeSub funtions. Combined non offset and offset handling functions.

X-SVN-Rev: 3530
2001-02-02 03:51:57 +00:00
George Rhoten
2fdb82dbcb ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3447
2001-01-23 01:29:06 +00:00
Markus Scherer
1446e3f548 ICU-484 use MBCS functions instead of DBCS
X-SVN-Rev: 3355
2001-01-02 23:12:52 +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
d8b3114228 ICU-484 replace SBCS by MBCS
X-SVN-Rev: 3297
2000-12-20 20:34:23 +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
Ram Viswanadha
9ad961fc3f ICU-778 Fixed ucnv_reset for UnicodeConverter::toUnicodeString() method
X-SVN-Rev: 3267
2000-12-19 02:28:33 +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
George Rhoten
e5d40328d1 ICU-432 Fixed a leak in opening and closing the converter.
X-SVN-Rev: 3232
2000-12-14 20:19:19 +00:00
Ram Viswanadha
727aa0f0e5 ICU-432 Fixed Purify warnings
X-SVN-Rev: 3229
2000-12-14 03:34:08 +00:00
George Rhoten
92a8bccfb0 ICU-535 Fixed some compiler warnings.
X-SVN-Rev: 3194
2000-12-11 22:32:42 +00:00
Ram Viswanadha
9ce63cd3eb ICU-535 fixed compiler warnings
X-SVN-Rev: 3193
2000-12-11 20:26:45 +00:00
Ram Viswanadha
d9ea986454 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3190
2000-12-09 04:08:57 +00:00
Ram Viswanadha
de8fd42158 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3144
2000-12-06 00:48:11 +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
Ram Viswanadha
daa2b0a940 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3034
2000-11-28 23:55:10 +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
Ram Viswanadha
cea619deb0 ICU-535 Fixed compiler errors and warnings
X-SVN-Rev: 2962
2000-11-20 23:40:14 +00:00
George Rhoten
16d45a3775 ICU-703 Fixed a compiler error on AIX 4.2
X-SVN-Rev: 2950
2000-11-20 18:08:49 +00:00
Markus Scherer
12f6684fcd ICU-701 handle fallbacks more precisely
X-SVN-Rev: 2939
2000-11-17 19:35:00 +00:00
Ram Viswanadha
c20ad62504 ICU-703 Implemented reset functions, deleted dead code,
consolidated changeState2022() function

X-SVN-Rev: 2927
2000-11-17 03:01:23 +00:00
Ram Viswanadha
f46dcab450 ICU-703 Seperated ISO-2022-CN and ISO-2022-CN-Ext
X-SVN-Rev: 2908
2000-11-14 03:54:36 +00:00
Ram Viswanadha
30e66f8534 ICU-703 Fixed bugs for Alpha/linux
X-SVN-Rev: 2900
2000-11-10 17:58:20 +00:00
Ram Viswanadha
d1b9eb8cf3 ICU-703 Fixed bugs found after adding tests
X-SVN-Rev: 2888
2000-11-08 23:16:20 +00:00
Ram Viswanadha
bd9b07126c ICU-703 Changed type of pBuf to make compiler happy on
AIX

X-SVN-Rev: 2864
2000-11-02 19:51:05 +00:00
Ram Viswanadha
1c875f238e ICU-703 Changed type of pBuf to make compiler happy on
AIX

X-SVN-Rev: 2863
2000-11-02 18:47:42 +00:00
Ram Viswanadha
72c72ff2a1 ICU-703 Completed version selection on input. Fixed fallback
bugs. Fixed jitterbug 628

X-SVN-Rev: 2858
2000-11-02 04:09:34 +00:00
Ram Viswanadha
84fd596139 ICU-703 fixed invalidUCharBuffer state
X-SVN-Rev: 2849
2000-10-31 02:56:41 +00:00
Ram Viswanadha
f2b1904f51 ICU-703 Improved performance of ISO-2022-CN
X-SVN-Rev: 2836
2000-10-28 01:51:00 +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
Ram Viswanadha
ad898eb8ff ICU-634 Redisigned KR implementaion, fixed short source
and target buffer handling of converters.

X-SVN-Rev: 2744
2000-10-20 02:45:38 +00:00
Ram Viswanadha
f3f2681655 ICU-673 Fixed bugs removed redundant code
X-SVN-Rev: 2728
2000-10-19 06:37:36 +00:00
Ram Viswanadha
4ec1e451f5 ICU-634 commented unnecessary code
X-SVN-Rev: 2708
2000-10-17 08:06:45 +00:00
Steven R. Loomis
f3e8304f2d ICU-599 removed trailing comma for aix
X-SVN-Rev: 2675
2000-10-13 18:50:38 +00:00
Ram Viswanadha
77fdda8bff ICU-599 Fixed space char bug
X-SVN-Rev: 2627
2000-10-11 00:59:29 +00:00
Ram Viswanadha
7667e1d763 ICU-599 Added ksc_5601_1 DBCS converter for ISO-2022-JP support
and changed code.

X-SVN-Rev: 2622
2000-10-10 22:38:43 +00:00
Ram Viswanadha
07de4a6245 ICU-634 Removed an if statement which sends the converter
into an infinite loop

X-SVN-Rev: 2607
2000-10-09 18:50:01 +00:00
Ram Viswanadha
eeb6aaf014 ICU-535 Fixed compiler warnings at warning level 4
X-SVN-Rev: 2576
2000-10-05 16:49:47 +00:00
Ram Viswanadha
8f08aa2260 ICU-634 Implemented design changes.
X-SVN-Rev: 2574
2000-10-05 02:25:53 +00:00
Ram Viswanadha
1b4ba125a3 ICU-535 Fixed compiler warnings at warning level 4
X-SVN-Rev: 2563
2000-10-04 00:11:50 +00:00
Steven R. Loomis
c12237ff37 ICU-627 fix portability of UConverterStaticData
X-SVN-Rev: 2557
2000-10-03 20:18:22 +00:00
Ram Viswanadha
62f894821d ICU-599 Added ISO-2022-CN implementation. Added
getNextUChar functions.

X-SVN-Rev: 2464
2000-09-21 00:34:21 +00:00
Ram Viswanadha
ad3a2dbdc4 ICU-583 removed function getUniCharFromUnicodeMBCS.
X-SVN-Rev: 2445
2000-09-19 04:31:36 +00:00
Ram Viswanadha
b1387e1163 ICU-583 Added ISO-2022-CN fromUnicode function
Fixed bugs.

X-SVN-Rev: 2441
2000-09-19 01:41:17 +00:00
Ram Viswanadha
40b4f00ce9 ICU-583 Added additional checks to accept "ja" and "ko" as
locale data for ISO-2022 converters

X-SVN-Rev: 2415
2000-09-06 17:09:55 +00:00
Ram Viswanadha
b6cbcec06e ICU-583 fromUnicode function now emits escape sequence after every new line.
X-SVN-Rev: 2414
2000-09-01 18:19:47 +00:00
Ram Viswanadha
59ced31dbb ICU-583 Fixed KSC5601 escape sequence and memory leak.
X-SVN-Rev: 2413
2000-09-01 17:16:54 +00:00
Ram Viswanadha
7ff11f87c6 ICU-583 Fixed mixed JIS and ASCII chars bugs.
X-SVN-Rev: 2412
2000-09-01 00:27:09 +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
Ram Viswanadha
e20ad2971f ICU-389 Added getTargetUniCharFromUnicodeMBCS() Function.
X-SVN-Rev: 2355
2000-08-25 23:14:10 +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
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
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
Vladimir Weinstein
9466acce28 ICU-460 OS/390 porting fixes
X-SVN-Rev: 2310
2000-08-17 20:37:22 +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
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
Helena Chapman
971193574d ICU-550 Build on AIX.
X-SVN-Rev: 2263
2000-08-15 19:04:36 +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
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
Steven R. Loomis
b871c6590c ICU-546 fixed EBCDIC_STATEFUL
X-SVN-Rev: 2219
2000-08-12 04:27:59 +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
Steven R. Loomis
ee9ba216fc ICU-344 reset state properly after callback
X-SVN-Rev: 2074
2000-07-31 14:39:47 +00:00
Helena Chapman
5eda06b3c0 ICU-401 more s/400 compilation changes.
X-SVN-Rev: 1937
2000-07-19 00:21:29 +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
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
7d721ba16c ICU-502 clean up 'unassigned' handling and callback calls
X-SVN-Rev: 1871
2000-07-13 23:55:33 +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