Commit Graph

202 Commits

Author SHA1 Message Date
Markus Scherer
8ee4058f62 ICU-6441 bug fix in ucnv_bld.c: don't ucnv_close() if onlyTestIsLoadable; and simplify code by dropping isLoadable result and using UErrorCode instead
X-SVN-Rev: 25741
2009-04-07 18:31:32 +00:00
Markus Scherer
abb7ac7522 ICU-6441 make ucnv_countAvailable() not fully load converters
X-SVN-Rev: 25584
2009-03-13 22:05:01 +00:00
Markus Scherer
add67e15d5 ICU-5691 fix 2022 & HZ to really include the offending trail byte exactly if it is not a starter
X-SVN-Rev: 24824
2008-10-16 00:24:42 +00:00
Markus Scherer
874efe9fbd ICU-5691 comment out no-longer-needed function
X-SVN-Rev: 24778
2008-10-10 18:16:02 +00:00
Markus Scherer
b6b3273af0 ICU-5691 stop illegal ISO-2022 escape/shift sequences before the first byte that could start a new character
X-SVN-Rev: 24769
2008-10-10 06:00:27 +00:00
Markus Scherer
acd74a93d1 ICU-5691 stop illegal sequences before the first byte that could start a new character; in MBCS, DBCS, ISO-2022, HZ; also make ISO-2022-KR strictly check for validity
X-SVN-Rev: 24733
2008-10-07 04:33:51 +00:00
Michael Ow
4b0d511fa3 ICU-6412 Remove unread local variables and explicitly cast UChar to uint8_t where needed.
X-SVN-Rev: 24435
2008-08-01 20:39:15 +00:00
Michael Ow
9ef387262f ICU-6358 Convert ISO-2022-JP 2 byte code point to GR94DBCS when decoding if neccessary. Add data driven test this fix.
X-SVN-Rev: 24245
2008-06-19 22:13:34 +00:00
Peter Edberg
867af878ad ICU-6175 Invoke toUnicode error handler for empty segments in ISO-2022-x & HZ with new UConverter.toUCallbackReason=UCNV_IRREGULAR
X-SVN-Rev: 23571
2008-03-12 23:20:11 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
George Rhoten
4be82b37e9 ICU-5966 Fix some Intel compiler warnings
X-SVN-Rev: 23364
2008-02-07 17:32:07 +00:00
George Rhoten
9b82688642 ICU-6125 Eliminate a few kilobytes of unused bits in constant data structures.
X-SVN-Rev: 23182
2008-01-08 09:45:15 +00:00
Markus Scherer
31b85e745d ICU-6001 UCNV_ROUNDTRIP_AND_FALLBACK_SET for ucnv_getUnicodeSet(); improve set filtering; fix some bugs
X-SVN-Rev: 22847
2007-10-24 21:15:41 +00:00
Jennifer Chye
65a89b4075 ICU-5797 fix gcc compile error with previous change
X-SVN-Rev: 22779
2007-10-11 23:43:02 +00:00
Markus Scherer
cc36611b2f ICU-5797 use Shift-JIS table for ISO 2022-JP, and hardcode JIS X 0201 mappings
X-SVN-Rev: 22772
2007-10-11 21:31:32 +00:00
Markus Scherer
aa5179f4bb ICU-5483 add comments and named constants
X-SVN-Rev: 22581
2007-08-30 23:35:19 +00:00
Markus Scherer
a5af7ed95a ICU-5483 prevent a later fallback-from-PUA (which is not turned off via useFallback) to overwrite an earlier one
X-SVN-Rev: 22499
2007-08-23 23:43:03 +00:00
Markus Scherer
a9d956e2d8 ICU-5483 fix ISO 2022 fromUnicode to consistently use roundtrip or else first fallback; fix output encoding schemes
X-SVN-Rev: 22484
2007-08-23 05:46:49 +00:00
George Rhoten
48c1c050e5 ICU-5791 Partially undo last change. We still need to check for target limits.
X-SVN-Rev: 22297
2007-08-07 06:53:10 +00:00
Andy Heninger
3d687c5e02 ICU-5791 2022 conversion work in progress
X-SVN-Rev: 22294
2007-08-07 01:38:29 +00:00
Vladimir Weinstein
ba5eaaf5e1 ICU-5445 working around glibc bug in strcpy that produces compiler warnings.
X-SVN-Rev: 21696
2007-06-11 18:44:06 +00:00
George Rhoten
c92383f0a9 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19889
2006-07-25 04:53:53 +00:00
Markus Scherer
8e5f03bcd1 ICU-5188 add ucnv_setSubstString()
X-SVN-Rev: 19789
2006-07-05 23:08:50 +00:00
Markus Scherer
e21162be97 ICU-5172 reduce size of converter clone structs
X-SVN-Rev: 19767
2006-06-27 16:17:06 +00:00
George Rhoten
a02c35ec04 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19753
2006-06-23 01:32:27 +00:00
George Rhoten
8806712450 ICU-5172 Fix memory alignment issues of safeCloning
X-SVN-Rev: 19742
2006-06-20 22:27:15 +00:00
Markus Scherer
23fc923706 ICU-5172 fix ucnv_safeClone(iso-2022-kr) to not unnecessarily heap-allocate currentConverter clones
X-SVN-Rev: 19737
2006-06-16 23:13:50 +00:00
Markus Scherer
8f9047d4ac ICU-5171 fix iso-2022-cn min bytes per char: 1 not 2
X-SVN-Rev: 19735
2006-06-16 21:54:08 +00:00
Ram Viswanadha
b40c443891 ICU-4603 fix beam complaints
X-SVN-Rev: 18388
2005-08-03 02:54:26 +00:00
Markus Scherer
2aced37b83 ICU-4268 ISO 2022 converters must not convert SO/SI/ESC
X-SVN-Rev: 17796
2005-06-03 20:17:54 +00:00
Markus Scherer
0a89791a62 ICU-4549 verify that ISO-2022-JP-2 works correctly for ISO 8859-1/7 vs. JIS X 0201
X-SVN-Rev: 17787
2005-06-03 16:13:57 +00:00
George Rhoten
70b126c727 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 16927
2004-12-08 01:05:40 +00:00
George Rhoten
ac893ce00e ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 16926
2004-12-07 23:43:48 +00:00
Markus Scherer
ca77616509 ICU-3432 move uniset.cpp data for case closure to ucase.icu; have gencase build case closure data; ucase.c use it; UnicodeSet::closeOver() call that
X-SVN-Rev: 16902
2004-12-02 04:18:35 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
18ffb7c81f ICU-3963 Make sure that better symbol names are exported for urename.h
X-SVN-Rev: 16333
2004-09-16 04:00:12 +00:00
George Rhoten
a2173be0a3 ICU-3696 Replace jisx-201 with ibm-897.
X-SVN-Rev: 16286
2004-09-09 07:57:06 +00:00
Markus Scherer
8a3a93deed ICU-4078 use USetAdder interface to remove dependencies of low-level code on the USet/UnicodeSet implementation
X-SVN-Rev: 16265
2004-09-07 17:59:53 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00
George Rhoten
4f1203de66 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16146
2004-08-11 22:16:29 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Eric Mader
f74b4bdfad ICU-3514 changes to avoid crahses when there's no ICU data.
X-SVN-Rev: 14354
2004-01-16 21:31:17 +00:00
Markus Scherer
7b5b479d09 ICU-3343 fix and improve ucnv_safeClone() implementations
X-SVN-Rev: 14141
2003-12-16 05:16:55 +00:00
Markus Scherer
1cc2c34850 ICU-3446 fix use of .cnv unicodeMask - only for base table
X-SVN-Rev: 14137
2003-12-15 00:40:24 +00:00
Markus Scherer
07e5fd82bb ICU-3179 make ISO-2022-xx return to ASCII mode at the very end of the text
X-SVN-Rev: 14071
2003-12-10 02:03:42 +00:00
Markus Scherer
df783f8102 ICU-3361 fix ISO-2022-KRto handle truncated escape sequences etc.
X-SVN-Rev: 14047
2003-12-09 01:18:21 +00:00
Markus Scherer
c720ee3d83 ICU-3361 fix ISO-2022-JP/JIS7/JIS8 according to specs and to handle truncated escape sequences etc.
X-SVN-Rev: 14029
2003-12-06 01:52:37 +00:00
Markus Scherer
dc511f7a60 ICU-3222 fix compiler warnings
X-SVN-Rev: 14007
2003-12-04 22:46:02 +00:00
Markus Scherer
789228165c ICU-3361 fix ucnv_getUnicodeSet(ISO-2022-xx)
X-SVN-Rev: 14000
2003-12-04 19:36:20 +00:00
Markus Scherer
7479b1d7bb ICU-3361 use more algorithmic conversion for ISO-2022-JP
X-SVN-Rev: 13997
2003-12-04 16:19:50 +00:00