Commit Graph

54 Commits

Author SHA1 Message Date
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
Helena Chapman
16429edff1 ICU-200 Updated with OS/400 specific port changes.
X-SVN-Rev: 460
1999-12-23 18:40:27 +00:00
Markus Scherer
043cf32ee0 ICU-165 return converters from api, not aliases
X-SVN-Rev: 395
1999-12-14 00:37:27 +00:00
Markus Scherer
7a6441902b ICU-165 avoid alias name lookup for each creation of the default converter
X-SVN-Rev: 294
1999-12-04 00:55:54 +00:00
Markus Scherer
ed2fcb6223 ICU-165 converter aliases use memory-mappable cnvalias.dat with the udata api
X-SVN-Rev: 250
1999-11-23 23:02:55 +00:00
Steven R. Loomis
5c2ed81c17 ICU-52 It would help if the correct target_limit was used rather than simply calculated. [This is part of the fix for MAX_STRLEN pointer wraparounds]
X-SVN-Rev: 124
1999-10-26 21:15:33 +00:00
Steven R. Loomis
9b6b9be460 ICU-52 Cast U_MAX_PTR to some type. 'void' has no size!
X-SVN-Rev: 123
1999-10-26 17:53:50 +00:00
Steven R. Loomis
19bff30336 ICU-52 remove an unneeded check and fix an off by one error
X-SVN-Rev: 120
1999-10-26 15:51:52 +00:00
Steven R. Loomis
cac0aa8819 ICU-52 fixed austrcpy and UnicodeString::extract so they use U_MAX_PTR if a pointer wraps around.
X-SVN-Rev: 115
1999-10-25 22:20:12 +00:00
Markus Scherer
ff561d92e7 ICU-7 remove unused Mutex variables
X-SVN-Rev: 98
1999-10-22 00:40:11 +00:00