Commit Graph

140 Commits

Author SHA1 Message Date
George Rhoten
af4d1cf1ab ICU-5427 Fix a memory leak when the default codepage is UTF-8 and u_cleanup is called.
X-SVN-Rev: 21287
2007-03-17 22:41:32 +00:00
Markus Scherer
e674e4f0f0 ICU-5518 fix swapping and preflighting of UTF-8-friendly MBCS .cnv files without extension tables
X-SVN-Rev: 21013
2007-02-06 18:04:33 +00:00
Markus Scherer
9acca77737 ICU-5518 merge direct-from-UTF-8 conversion code from http://source.icu-project.org/repos/icu/icu/branches/markus/ucnvutf8 -r 20735:20990 to icu/trunk
X-SVN-Rev: 21010
2007-02-06 05:24:14 +00:00
George Rhoten
70cb51cb3b ICU-5426 Fix uninitialized memory access from last change.
X-SVN-Rev: 20474
2006-10-03 02:55:41 +00:00
George Rhoten
932759f00a ICU-5426 Make it easier to change the size of the converter hash table depending on the platform.
X-SVN-Rev: 20464
2006-09-30 22:35:25 +00:00
Markus Scherer
8e5f03bcd1 ICU-5188 add ucnv_setSubstString()
X-SVN-Rev: 19789
2006-07-05 23:08:50 +00:00
George Rhoten
9a58a05799 ICU-5225 Small speed optimization in ucnv_createConverterFromSharedData
X-SVN-Rev: 19740
2006-06-20 21:32:22 +00:00
Markus Scherer
5fa5991579 ICU-5235 make ucnv_open("UTF-8") faster
X-SVN-Rev: 19739
2006-06-17 13:53:07 +00:00
George Rhoten
ec8b663ffa ICU-5226 Comment change
X-SVN-Rev: 19716
2006-06-13 15:59:20 +00:00
George Rhoten
ec174ab671 ICU-5226 Better testing of default converter.
X-SVN-Rev: 19715
2006-06-13 15:58:39 +00:00
George Rhoten
a706c5b441 ICU-5226 Fix a problem from the last check that will cause default algorithmic converters with options to be created incorrectly.
X-SVN-Rev: 19714
2006-06-13 15:50:01 +00:00
George Rhoten
6984e13ef5 ICU-5226 Fix a problem from the last check that will cause default algorithmic converters with options not be parsed correctly.
X-SVN-Rev: 19711
2006-06-12 22:59:13 +00:00
George Rhoten
8141124adb ICU-5226 Fix a problem from the last check that will cause default algorithmic converters with options not be parsed correctly.
X-SVN-Rev: 19710
2006-06-12 22:58:43 +00:00
George Rhoten
7724842efe ICU-5226 Fix some issues with ucnv_setDefaultName.
X-SVN-Rev: 19708
2006-06-12 22:43:49 +00:00
George Rhoten
78f8b26a73 ICU-5225 Minor speed improvement for opening and closing converters
by storing information about whether converter options are on the canonical converter name.

X-SVN-Rev: 19707
2006-06-12 10:05:08 +00:00
George Rhoten
b6fa95c973 ICU-5225 Minor speed improvement for opening and closing converters.
X-SVN-Rev: 19705
2006-06-12 06:28:31 +00:00
Ram Viswanadha
b70227e2c7 ICU-4741 make compare functions for Hashtable and StringEnumeration general
X-SVN-Rev: 18788
2005-11-11 19:23:09 +00:00
Markus Scherer
c459740c62 ICU-4739 minor ucnv_swap() bug fixes
X-SVN-Rev: 18556
2005-09-20 18:59:05 +00:00
George Rhoten
92181b792b ICU-4703 Fix BEAM warnings.
X-SVN-Rev: 18382
2005-08-02 18:12:39 +00:00
George Rhoten
17fa571373 ICU-4506 Break alias table dependency on the rest of conversion code
X-SVN-Rev: 17568
2005-05-08 07:56:44 +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
de39e80b8c ICU-4281 Reduce the u_errorName usage.
X-SVN-Rev: 16919
2004-12-05 05:38:50 +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
e2188e6775 ICU-4078 Decouple the cleanup functions from u_init and u_cleanup.
X-SVN-Rev: 16403
2004-10-06 23:10:53 +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
4804d98d00 ICU-4078 Further separate the default converter from the rest of the ustring internal API
X-SVN-Rev: 16201
2004-08-27 17:56:01 +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
af3c9fc66a ICU-3343 Fix some memory leaks
X-SVN-Rev: 14263
2004-01-08 21:44:54 +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
b4e7245d1e ICU-3222 fix compiler warnings
X-SVN-Rev: 13985
2003-12-04 00:34:51 +00:00
Markus Scherer
19c5a7a2e7 ICU-2403 add tracing to converter open/close/load/unload
X-SVN-Rev: 13822
2003-11-21 23:24:11 +00:00
Markus Scherer
dc41bb7735 ICU-2235 swapping code bug fix
X-SVN-Rev: 13750
2003-11-19 00:58:12 +00:00
Markus Scherer
dfb7248160 ICU-3346 support loading extension files from non-NULL (application) packages (same package as where the base file is for now)
X-SVN-Rev: 13673
2003-11-12 02:04:55 +00:00
Markus Scherer
b72a1b75cc ICU-3346 support DBCS-only and other delta (extension-only) .cnv files
X-SVN-Rev: 13638
2003-11-08 00:09:50 +00:00
Markus Scherer
cefe1b98ab ICU-2949 define and fix ucnv_getMaxCharSize() behavior
X-SVN-Rev: 13537
2003-10-30 22:54:18 +00:00
Markus Scherer
5988436ee7 ICU-2404 implement data swapping for extensions
X-SVN-Rev: 13530
2003-10-30 03:16:04 +00:00
Markus Scherer
cea34629f2 ICU-2404 first code for m:n conversion extensions
X-SVN-Rev: 13490
2003-10-25 00:29:13 +00:00
Markus Scherer
a5ec028eea ICU-2235 add swapping of ICU .cnv conversion tables
X-SVN-Rev: 13155
2003-09-22 13:57:19 +00:00
Markus Scherer
85e7446047 ICU-2449 take IMAP-mailbox-name out of UCONFIG_NO_LEGACY_CONVERSION brackets
X-SVN-Rev: 12769
2003-08-05 23:39:49 +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
George Rhoten
abeaf6c3fc ICU-2970 Initialize the mutexes in a safer way.
X-SVN-Rev: 12364
2003-06-06 22:50:26 +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
749f51d769 ICU-2787 A lock doesn't need to happen when it's an algorithmic converter.
X-SVN-Rev: 11874
2003-05-09 21:33:17 +00:00
George Rhoten
23b386b0b8 ICU-2787 Fix 2 mutex cases and optimize some code.
X-SVN-Rev: 11834
2003-05-08 01:32:27 +00:00
George Rhoten
d5cf52fce2 ICU-2787 Uncommit some code that shouldn't have been commited.
X-SVN-Rev: 11831
2003-05-07 16:39:24 +00:00
George Rhoten
33568a2ee4 ICU-2787 The shared converter cache should consistently use one non-global mutex,
and fix the double check in ucnv_io.

X-SVN-Rev: 11826
2003-05-07 00:53:32 +00:00
Markus Scherer
748759e44e ICU-2024 allow to stack-allocate new converters, add internal ucnv_createAlgorithmicConverter()
X-SVN-Rev: 11606
2003-04-21 02:12:46 +00:00
George Rhoten
4f532d0425 ICU-2815 ucnv_flushCache should close the cached default converter.
X-SVN-Rev: 11585
2003-04-18 20:31:45 +00:00
George Rhoten
1341f3bcd1 ICU-2000 Fix some compiler warnings
X-SVN-Rev: 10411
2002-11-30 04:41:53 +00:00