Commit Graph

48 Commits

Author SHA1 Message Date
Markus Scherer
996422e74c ICU-9398 avoid use of utf8_countTrailBytes[], rewrite/optimize U8_COUNT_TRAIL_BYTES() & U8_NEXT_UNSAFE(), test _UNSAFE macros only with (mostly) well-formed UTF-8 text
X-SVN-Rev: 32574
2012-10-09 05:17:43 +00:00
Markus Scherer
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
George Rhoten
c3b6afbcc0 ICU-5740 Improve converting ASCII/ISO-8859-1 -> UTF16
X-SVN-Rev: 21685
2007-06-10 06:36:08 +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
70b126c727 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 16927
2004-12-08 01:05:40 +00:00
Markus Scherer
ca77616509 ICU-3432 move uniset.cpp data for case closure to ucase.icu; have gencase build case closure data; ucase.c use it; UnicodeSet::closeOver() call that
X-SVN-Rev: 16902
2004-12-02 04:18:35 +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
Markus Scherer
8a3a93deed ICU-4078 use USetAdder interface to remove dependencies of low-level code on the USet/UnicodeSet implementation
X-SVN-Rev: 16265
2004-09-07 17:59:53 +00:00
George Rhoten
038f43c843 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16196
2004-08-27 16:45:16 +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
George Rhoten
049ba4c442 ICU-3222 Fix a Solaris warning
X-SVN-Rev: 13432
2003-10-15 21:55:06 +00:00
Markus Scherer
e8b985f363 ICU-2449 refactor conversion - call toUnicode and getNextUChar callbacks only from ucnv.c framework
X-SVN-Rev: 12731
2003-08-01 14:58:43 +00:00
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
f4562fc9c5 ICU-2959 update copyright notices for 2003 changes
X-SVN-Rev: 12230
2003-06-02 22:26:54 +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
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
George Rhoten
5775a394ca ICU-900 Fix the compiler warning a bit better.
X-SVN-Rev: 6095
2001-10-05 22:18:38 +00:00
Markus Scherer
469b0444aa ICU-1202 UTF/Latin-1 converter names: change internal names to be the same as standard ones
X-SVN-Rev: 5953
2001-09-28 00:29:40 +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
55c69844be ICU-866 implement handling of subchar1
X-SVN-Rev: 3784
2001-02-26 19:51:20 +00:00
George Rhoten
7b52bfd043 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3525
2001-02-01 18:01:52 +00:00
Markus Scherer
2bfa3f8064 ICU-804 unroll conversion loops for latin-1 and us-ascii
X-SVN-Rev: 3430
2001-01-17 19:10:28 +00:00
Markus Scherer
66544551d6 ICU-705 add algorithmic US-ASCII converter
X-SVN-Rev: 3286
2000-12-20 02:08:39 +00:00
Markus Scherer
8d9bdf7a1e ICU-484 reimplement LATIN_1 to work correctly with offsets and UTF-16
X-SVN-Rev: 3285
2000-12-20 01:22:02 +00:00
Markus Scherer
998f792a5a ICU-484 add unicodeMask to UConverterStaticData for optimized implementations
X-SVN-Rev: 3280
2000-12-19 23:07:50 +00:00
Ram Viswanadha
a47dc395b7 ICU-535 Fixed compiler warnings
X-SVN-Rev: 3006
2000-11-27 17:40:41 +00:00
Steven R. Loomis
c12237ff37 ICU-627 fix portability of UConverterStaticData
X-SVN-Rev: 2557
2000-10-03 20:18:22 +00:00
Markus Scherer
17df34956e ICU-516 streaming conversion functions set U_BUFFER_OVERFLOW_ERROR instead of U_INDEX_OUTOFBOUNDS_ERROR
X-SVN-Rev: 2199
2000-08-11 19:23:50 +00:00
George Rhoten
6e855d17f7 ICU-535 Removed a compiler warning
X-SVN-Rev: 2136
2000-08-08 21:36:52 +00:00
Helena Chapman
5eda06b3c0 ICU-401 more s/400 compilation changes.
X-SVN-Rev: 1937
2000-07-19 00:21:29 +00:00
Helena Chapman
633f3d9104 ICU-401 400 porting changes based on Barry's feedback.
X-SVN-Rev: 1919
2000-07-17 23:36:52 +00:00
Markus Scherer
7d721ba16c ICU-502 clean up 'unassigned' handling and callback calls
X-SVN-Rev: 1871
2000-07-13 23:55:33 +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
0ad634011e ICU-311 Another major update with Callback API changes.
X-SVN-Rev: 1720
2000-06-30 17:38:47 +00:00
Vladimir Weinstein
755f5d924c ICU-311 fixed crashing problem
X-SVN-Rev: 1684
2000-06-28 23:19:33 +00:00
Vladimir Weinstein
9b404b0904 ICU-311 fixed crashing problem
X-SVN-Rev: 1683
2000-06-28 23:19:32 +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
Markus Scherer
84a56632ae ICU-418 fix latin-1 ucnv_getNextUChar() - zero-extend, not sign-extend, input byte
X-SVN-Rev: 1543
2000-06-02 00:05:22 +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
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
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
Brendan Murray
dd70c2705e ICU-98 These are changes to support 64-bit platforms, such as Sun
SPARC V9, which is the only one tested so far.

X-SVN-Rev: 1022
2000-03-29 21:41:11 +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
20baeae401 ICU-266 c++-ify UConverter (UConverterImpl resembles a vtable)
X-SVN-Rev: 723
2000-02-07 17:35:21 +00:00