Commit Graph

77 Commits

Author SHA1 Message Date
Markus Scherer
8e6898ae3d ICU-11296 based on patch from Jungshik, approved option name UCONFIG_ONLY_HTML_CONVERSION, turn off UTF-32, simplify changes, fix warnings
X-SVN-Rev: 37045
2015-02-20 19:31:33 +00:00
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Abhinav Gupta
6592593c88 ICU-8818 switched to calloc for a few instances of malloc + memset(0)
X-SVN-Rev: 30992
2011-11-30 17:52:09 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
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
c801506d5d ICU-5691 stop illegal HZ tilde sequences before the first byte that could start a new character
X-SVN-Rev: 24773
2008-10-10 16:30:28 +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
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
Markus Scherer
b90b809ea1 ICU-6002 HZ: restrict byte values and fix various bugs
X-SVN-Rev: 22849
2007-10-25 05:03:34 +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
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
8806712450 ICU-5172 Fix memory alignment issues of safeCloning
X-SVN-Rev: 19742
2006-06-20 22:27:15 +00:00
George Rhoten
9d9a907133 ICU-5225 Small speed & size optimization when creating a converter
X-SVN-Rev: 19741
2006-06-20 22:14:05 +00:00
George Rhoten
aea4db3da6 ICU-4603 Fix beam complaints
X-SVN-Rev: 18389
2005-08-03 19:27:44 +00:00
Ram Viswanadha
b40c443891 ICU-4603 fix beam complaints
X-SVN-Rev: 18388
2005-08-03 02:54:26 +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
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
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
George Rhoten
038f43c843 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16196
2004-08-27 16:45:16 +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
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
George Rhoten
de1f8d59d0 ICU-3685 Use different function and struct names between separate files for different types.
X-SVN-Rev: 14909
2004-04-08 22:49:40 +00:00
George Rhoten
af3c9fc66a ICU-3343 Fix some memory leaks
X-SVN-Rev: 14263
2004-01-08 21:44:54 +00:00
Markus Scherer
b4e7245d1e ICU-3222 fix compiler warnings
X-SVN-Rev: 13985
2003-12-04 00:34:51 +00:00
Markus Scherer
2e6b59aa7d ICU-3346 support simple (single-character) conversion extensions
X-SVN-Rev: 13656
2003-11-11 18:42:09 +00:00
Markus Scherer
e8b985f363 ICU-2449 refactor conversion - call toUnicode and getNextUChar callbacks only from ucnv.c framework
X-SVN-Rev: 12731
2003-08-01 14:58:43 +00:00
Markus Scherer
8ab9f23f3a ICU-2449 refactor conversion - call fromUnicode callbacks only from ucnv.c framework
X-SVN-Rev: 12667
2003-07-24 00:28:47 +00:00
Markus Scherer
39a2aed516 ICU-2449 new semantics of truncated sequences; move callback/truncated handling into ucnv.c API functions
X-SVN-Rev: 12649
2003-07-22 04:22:57 +00:00
Markus Scherer
4d8b16de1c ICU-2144 use isCopyLocal only for UConverter allocation, add isExtraLocal for extraInfo allocation
X-SVN-Rev: 11914
2003-05-13 21:05:05 +00:00
George Rhoten
e76f98cf2d ICU-2729 Fix a memory leak
X-SVN-Rev: 11588
2003-04-18 23:05:20 +00:00
Markus Scherer
a6213ee1c0 ICU-1439 implement ucnv_getUnicodeSet() for roundtrippable code points
X-SVN-Rev: 11464
2003-04-05 01:33:02 +00:00
Markus Scherer
e8d8dc6862 ICU-2782 fix HZ converter ucnv_safeClone()
X-SVN-Rev: 11462
2003-04-05 00:01:54 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
GCL Shanghai
b89c229c6e ICU-1953 change comments style and check 0/NULL
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
Eric Mader
898fd409f9 ICU-1953 remove // comments from C code. Fix indentation, removed tabs.
X-SVN-Rev: 8984
2002-07-01 18:04:55 +00:00
GCL Shanghai
1e188eca35 ICU-1953 Test for NULL after each uprv_malloc() or new
X-SVN-Rev: 8980
2002-06-29 09:31:05 +00:00
George Rhoten
f6a1518f3f ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8673
2002-05-22 22:56:27 +00:00
Ram Viswanadha
a376281ea6 ICU-535 Fixed compiler warnings on alpha
X-SVN-Rev: 6578
2001-11-02 03:55:12 +00:00
George Rhoten
2a43cb638e ICU-900 Fixed some lint warnings.
X-SVN-Rev: 6573
2001-11-02 02:43:22 +00:00
George Rhoten
1451cc22bd ICU-1087 Add static keyword to the local variables and functions
X-SVN-Rev: 5707
2001-09-06 18:34:57 +00:00
Ram Viswanadha
a118536e31 ICU-1008 Fix memory leak in ISO-2022 SafeClone
X-SVN-Rev: 5689
2001-09-05 22:51:53 +00:00
George Rhoten
379591e1bb ICU-1099 Add const to some static data
X-SVN-Rev: 5669
2001-08-31 22:00:00 +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
bb0b1f5cc1 ICU-930 fixed offsets overwriting bug
X-SVN-Rev: 4463
2001-04-07 01:24:30 +00:00