Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: third_party/icu38/uconv.security.header.patch

Issue 52030: Apply ICU patches for ICU tickets 6175 (ISO-2022 and ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/icu38/uconv.security.patch ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 --- r22777/source/common/unicode/ucnv.h 2007-08-31 12:39:14.294200000 -0700
2 +++ chrome.canonical/source/common/unicode/ucnv.h 2009-03-23 12:30:09.8501 31000 -0700
3 @@ -870,6 +870,8 @@
4 typedef enum UConverterUnicodeSet {
5 /** Select the set of roundtrippable Unicode code points. @stable ICU 2.6 * /
6 UCNV_ROUNDTRIP_SET,
7 + /** Select the set of Unicode code points with roundtrip or fallback mappin gs. @draft ICU 4.0 */
8 + UCNV_ROUNDTRIP_AND_FALLBACK_SET,
9 /** Number of UConverterUnicodeSet selectors. @stable ICU 2.6 */
10 UCNV_SET_COUNT
11 } UConverterUnicodeSet;
12 @@ -878,11 +880,16 @@
13 /**
14 * Returns the set of Unicode code points that can be converted by an ICU conve rter.
15 *
16 - * The current implementation returns only one kind of set (UCNV_ROUNDTRIP_SET) :
17 + * Returns one of several kinds of set:
18 + *
19 + * 1. UCNV_ROUNDTRIP_SET
20 + *
21 * The set of all Unicode code points that can be roundtrip-converted
22 - * (converted without any data loss) with the converter.
23 + * (converted without any data loss) with the converter (ucnv_fromUnicode()).
24 * This set will not include code points that have fallback mappings
25 * or are only the result of reverse fallback mappings.
26 + * This set will also not include PUA code points with fallbacks, although
27 + * ucnv_fromUnicode() will always uses those mappings despite ucnv_setFallback( ).
28 * See UTR #22 "Character Mapping Markup Language"
29 * at http://www.unicode.org/reports/tr22/
30 *
31 @@ -893,6 +900,12 @@
32 * by comparing its roundtrip set with the set of ExemplarCharacters from
33 * ICU's locale data or other sources
34 *
35 + * 2. UCNV_ROUNDTRIP_AND_FALLBACK_SET
36 + *
37 + * The set of all Unicode code points that can be converted with the converter (ucnv_fromUnicode())
38 + * when fallbacks are turned on (see ucnv_setFallback()).
39 + * This set includes all code points with roundtrips and fallbacks (but not rev erse fallbacks).
40 + *
41 * In the future, there may be more UConverterUnicodeSet choices to select
42 * sets with different properties.
43 *
OLDNEW
« no previous file with comments | « third_party/icu38/uconv.security.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698