Commit Graph

72 Commits

Author SHA1 Message Date
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