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
8ad673814c
ICU-2699 Fix some compiler warnings
...
X-SVN-Rev: 11911
2003-05-13 17:16:53 +00:00
George Rhoten
405082ca35
ICU-2699 Fix some compiler warnings
...
X-SVN-Rev: 11899
2003-05-12 22:54:59 +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
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
9e396c99d8
ICU-1439 remove spurious TODO comment
...
X-SVN-Rev: 11769
2003-05-02 17:00:14 +00:00
Markus Scherer
5d979da39e
ICU-2024 add ucnv_toAlgorithmic() and ucnv_fromAlgorithmic()
...
X-SVN-Rev: 11605
2003-04-21 02:11:54 +00:00
Markus Scherer
4f2c865b52
ICU-2144 add ucnv_convertEx()
...
X-SVN-Rev: 11589
2003-04-18 23:11:39 +00:00
George Rhoten
8ac8d6202e
ICU-2781 Use more UTR22 names, add more aliases, use more windows- aliases.
...
X-SVN-Rev: 11465
2003-04-05 09:50:53 +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
George Rhoten
82ab7fda56
ICU-2630 Since ibm-942_P120 has been removed, change the name to use the Charset repository name.
...
X-SVN-Rev: 10843
2003-01-11 01:42:35 +00:00
Markus Scherer
dd1b7cb1a4
ICU-1849 properly detect UTF-7 signature(s)
...
X-SVN-Rev: 10202
2002-11-08 01:28:14 +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
George Rhoten
d7e0797b2c
ICU-2085 #ifdef out deprecated code
...
X-SVN-Rev: 9756
2002-08-21 19:12:24 +00:00
Steven R. Loomis
7f327f311d
ICU-1991 fix for safeclone on ISO-2022
...
X-SVN-Rev: 9582
2002-08-05 22:55:17 +00:00
Steven R. Loomis
adb2157094
ICU-1991 openPackage/safeclone update
...
X-SVN-Rev: 9472
2002-07-31 20:53:03 +00:00
Steven R. Loomis
4ef2dc2ea1
ICU-1991 ucnv_openPackage
...
X-SVN-Rev: 9220
2002-07-17 02:34:50 +00:00
George Rhoten
6f175f7072
ICU-1968 Fix and test another buffer overflow bug
...
X-SVN-Rev: 9032
2002-07-03 19:04:43 +00:00
George Rhoten
1c36a6fe33
ICU-868 Make openCCSID slightly faster when creating the alias.
...
X-SVN-Rev: 9027
2002-07-03 16:54:59 +00:00
George Rhoten
70debd215f
ICU-868 New alias scheme.
...
X-SVN-Rev: 8975
2002-06-28 23:13:30 +00:00
Markus Scherer
c76aaff480
ICU-1864 ucnv_reset() did not reset enough UConverter fields; BOCU-1 signature changed
...
X-SVN-Rev: 8708
2002-05-25 00:32:25 +00:00
Markus Scherer
995a589267
ICU-1864 add BOCU-1
...
X-SVN-Rev: 8481
2002-04-17 20:36:53 +00:00
Markus Scherer
8c78422db2
ICU-1561 replace all UTextOffset with int32_t
...
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
George Rhoten
9a6815e9d7
ICU-1687 Change the converter name for the variant of euc-jp
...
X-SVN-Rev: 7564
2002-02-05 17:43:28 +00:00
Yves Arrouye
da1e186728
ICU-1606 allow null arguments.
...
X-SVN-Rev: 7420
2002-01-09 20:39:35 +00:00
Ram Viswanadha
17881f0a1a
ICU-1603 API for Unicode signature detection
...
X-SVN-Rev: 7402
2002-01-08 01:05:57 +00:00
Vladimir Weinstein
1b0596cd30
ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
...
X-SVN-Rev: 7038
2001-11-21 01:02:11 +00:00
George Rhoten
43b389f14e
ICU-900 Fixed some lint warnings.
...
X-SVN-Rev: 6580
2001-11-02 17:29:53 +00:00
George Rhoten
2a43cb638e
ICU-900 Fixed some lint warnings.
...
X-SVN-Rev: 6573
2001-11-02 02:43:22 +00:00
Helena Chapman
d816eefc57
ICU-1264 added namspace support where possible.
...
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
George Rhoten
0bc6703321
ICU-392 Don't export as many symbols with a commonly used name.
...
X-SVN-Rev: 6035
2001-10-04 01:04:28 +00:00
Markus Scherer
063699969e
ICU-1109 change NUL-termination semantics
...
X-SVN-Rev: 6032
2001-10-04 00:23:09 +00:00
Markus Scherer
19f92aab27
ICU-1109 change NUL-termination semantics
...
X-SVN-Rev: 5974
2001-09-28 22:22:59 +00:00
George Rhoten
ce583739d8
ICU-1244 xxx_safeClone functions need to align the memory buffer on
...
64-bit computers.
X-SVN-Rev: 5934
2001-09-26 21:09:18 +00:00
George Rhoten
3bab3fb2ac
ICU-1099 Make some data a bit more const
...
X-SVN-Rev: 5692
2001-09-05 23:23:11 +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
66288afa66
ICU-1099 Add const to some static data
...
X-SVN-Rev: 5571
2001-08-24 00:22:07 +00:00
Ram Viswanadha
ab1f982124
ICU-1054 use uprv_memcpy.
...
X-SVN-Rev: 5275
2001-07-18 23:42:14 +00:00
George Rhoten
35591e5501
ICU-1019 add const to the context pointers
...
X-SVN-Rev: 5105
2001-06-26 22:51:14 +00:00
George Rhoten
aaa02de5c3
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 4738
2001-05-21 23:12:10 +00:00
George Rhoten
7a2d4c49a9
ICU-900 Fixed some compiler warnings.
...
X-SVN-Rev: 4736
2001-05-21 22:58:19 +00:00
Markus Scherer
e5d329510d
ICU-932 fix ucnv_convert() buffer management (rewrite ucnv_convert())
...
X-SVN-Rev: 4726
2001-05-19 00:55:13 +00:00
George Rhoten
41beb447d6
ICU-535 Fixed some compiler warnings.
...
X-SVN-Rev: 4255
2001-03-22 01:42:13 +00:00
George Rhoten
c4997713ef
ICU-903 Updated the copyright notice
...
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
Markus Scherer
e8c3ac77d8
ICU-827 improve target buffer size checking to work on more platforms (esp. 64-bit)
...
X-SVN-Rev: 4177
2001-03-19 20:26:30 +00:00
Markus Scherer
6a9f1f49d0
ICU-827 make sure that the target buffer size does not exceed the value range of int32_t; improve some argument checking
...
X-SVN-Rev: 4167
2001-03-17 22:13:27 +00:00
Markus Scherer
756972f00c
ICU-875 fix and clean up ucnv_fixFileSeparator() and ucnv_isAmbiguous()
...
X-SVN-Rev: 4147
2001-03-16 20:49:41 +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
George Rhoten
f088b164c6
ICU-597 redefine U_MAX_PTR into a macro
...
X-SVN-Rev: 3699
2001-02-21 01:30:39 +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
George Rhoten
39a2b771a7
ICU-535 Fixed some compiler warnings for Linux
...
X-SVN-Rev: 3458
2001-01-23 22:22:52 +00:00
George Rhoten
b658380b62
ICU-535 Fixed some compiler warnings
...
X-SVN-Rev: 3454
2001-01-23 18:10:46 +00:00
Markus Scherer
ed92981f7b
ICU-484 set -1 for all offsets if there is no offset-calculating converter function; ucnv_getType() use _MBCSGetType()
...
X-SVN-Rev: 3354
2001-01-02 23:11:11 +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
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
Steven R. Loomis
5fb26a9eaf
ICU-773 pure preflighting mode for ucnv_toUChars
...
X-SVN-Rev: 3248
2000-12-15 19:29:55 +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
0348e0f62c
ICU-721 undo unwarranted api change
...
X-SVN-Rev: 2938
2000-11-17 19:28:31 +00:00
George Rhoten
2c37845f8d
ICU-722 Added the stubs for the ucnv_reset*() functions
...
X-SVN-Rev: 2925
2000-11-17 02:40:07 +00:00
Yves Arrouye
bc81ac3774
ICU-721 simplify implementation
...
X-SVN-Rev: 2923
2000-11-17 02:02:11 +00:00
Vladimir Weinstein
250331389c
ICU-548 converter leaks fixes
...
X-SVN-Rev: 2230
2000-08-14 23:11:00 +00:00
Markus Scherer
3508752164
ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
...
X-SVN-Rev: 2200
2000-08-11 19:39:34 +00:00
George Rhoten
c094c8a0eb
ICU-535 fixed some compiler warnings
...
X-SVN-Rev: 2181
2000-08-11 01:27:17 +00:00
Yves Arrouye
921a9787cc
ICU-322 support for standard names, which are tagged converter
...
aliases.
X-SVN-Rev: 2161
2000-08-10 01:32:29 +00:00
George Rhoten
6e855d17f7
ICU-535 Removed a compiler warning
...
X-SVN-Rev: 2136
2000-08-08 21:36:52 +00:00
Markus Scherer
3aacc28a78
ICU-311 harden some functions for bad input
...
X-SVN-Rev: 2021
2000-07-21 23:58:31 +00:00
Markus Scherer
f5305acb59
ICU-311 call callbacks from ucnv_reset() & ucnv_close() as designed
...
X-SVN-Rev: 1892
2000-07-15 20:47:31 +00:00
Markus Scherer
64d3073fe9
ICU-495 ucnv_getInvalidXXX() must return the invalidXXX buffers, not the overflow buffers
...
X-SVN-Rev: 1890
2000-07-15 20:09:58 +00:00
Markus Scherer
9d3905ca8e
ICU-495 fix error checking etc. in getInvalidXXX()
...
X-SVN-Rev: 1887
2000-07-15 01:11:05 +00:00
Markus Scherer
06ca05dc38
ICU-311 for the new callback api, ucnv_getXCallBack() need to return both the function pointer and the context
...
X-SVN-Rev: 1873
2000-07-14 01:01:14 +00:00
Jim Snyder Grant
0c71649fd5
ICU-495 implementation for ucnv_getInvalidChars
...
and ucnv_getInvalidUChars. Also corrected UChars proto.
X-SVN-Rev: 1843
2000-07-13 15:25:04 +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
Helena Chapman
2fd0a3db47
ICU-311 the setToU and fromUCallback function signatures update.
...
X-SVN-Rev: 1736
2000-07-05 20:56:42 +00:00
Yves Arrouye
ff2268461c
ICU-322 new ucnv_getStandardName() API.
...
X-SVN-Rev: 1722
2000-06-30 19:43:00 +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
8d12ca8e17
ICU-401 OS/400 specific changes for 1.5 release.
...
X-SVN-Rev: 1634
2000-06-20 23:42:20 +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
Vladimir Weinstein
c786b21d52
ICU-184 resource data files in memory mapped format (initial revision)
...
X-SVN-Rev: 1365
2000-05-15 18:39:17 +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
6e9f280f6c
ICU-267 make CNV file format portable. (+ makeconv cleanup)
...
X-SVN-Rev: 1176
2000-04-19 23:05:27 +00:00
Yves Arrouye
bff1b2e05c
ICU-353 use better names to replace index, depending on what the func/
...
method actually does with it (for example: n to get the nth element, offset
within a buffer, etc.).
X-SVN-Rev: 1131
2000-04-14 05:22:29 +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
Alan Liu
327165d913
ICU-149 cleanup uhash/hash
...
X-SVN-Rev: 1033
2000-03-30 04:17:27 +00:00
Alan Liu
2ddc4768a3
ICU-149 rewrite UHashtable
...
X-SVN-Rev: 1001
2000-03-28 22:04:39 +00:00
Helena Chapman
5862cf64ee
ICU-313 Updated with the new API that takes the length of the source buffer.
...
X-SVN-Rev: 903
2000-03-07 01:42:40 +00:00
Markus Scherer
3de59e84c0
ICU-200 pointer wrap-around handling for os/400
...
X-SVN-Rev: 899
2000-03-07 01:26:15 +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
7f7b2d90f3
ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
...
X-SVN-Rev: 721
2000-02-05 00:19:15 +00:00
Markus Scherer
9ec6f2a492
ICU-42 fix API for aliases
...
X-SVN-Rev: 658
2000-01-20 00:33:18 +00:00
Vladimir Weinstein
1d48c065af
ICU-42 Added API for aliases
...
X-SVN-Rev: 587
2000-01-14 23:29:01 +00:00
Markus Scherer
aeac763301
ICU-161 open-sourcify more (c) statements
...
X-SVN-Rev: 577
2000-01-13 23:54:23 +00:00
Helena Chapman
62bfc59330
ICU-216 Added fixFileSeparator and isAmbiguous in UnicodeConverterCPP class and ucnv_xxx interface.
...
X-SVN-Rev: 497
2000-01-08 00:51:44 +00:00
Vladimir Weinstein
8e21f86812
ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
...
X-SVN-Rev: 472
1999-12-28 23:39:02 +00:00