Commit Graph

141 Commits

Author SHA1 Message Date
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
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
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Helena Chapman
1ccc7d153f ICU version 1.3 merge from CMVS.
X-SVN-Rev: 9
1999-09-30 23:47:52 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00