mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 16:37:31 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2016 and later: Unicode, Inc. and others.
|
||||
// © 2016 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
/*
|
||||
*******************************************************************************
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*******************************************************************************
|
||||
* file name: uprops.h
|
||||
* encoding: US-ASCII
|
||||
* encoding: UTF-8
|
||||
* tab size: 8 (not used)
|
||||
* indentation:4
|
||||
*
|
||||
|
|
@ -189,15 +189,14 @@ enum {
|
|||
UPROPS_VARIATION_SELECTOR,
|
||||
UPROPS_PATTERN_SYNTAX, /* new in ICU 3.4 and Unicode 4.1 */
|
||||
UPROPS_PATTERN_WHITE_SPACE,
|
||||
UPROPS_RESERVED, /* reserved & unused */
|
||||
UPROPS_PREPENDED_CONCATENATION_MARK, // new in ICU 60 and Unicode 10
|
||||
UPROPS_BINARY_1_TOP /* ==32 - full! */
|
||||
};
|
||||
|
||||
/*
|
||||
* Properties in vector word 2
|
||||
* Bits
|
||||
* 31..28 http://www.unicode.org/reports/tr51/#Emoji_Properties
|
||||
* 27..26 reserved
|
||||
* 31..26 http://www.unicode.org/reports/tr51/#Emoji_Properties
|
||||
* 25..20 Line Break
|
||||
* 19..15 Sentence Break
|
||||
* 14..10 Word Break
|
||||
|
|
@ -205,7 +204,9 @@ enum {
|
|||
* 4.. 0 Decomposition Type
|
||||
*/
|
||||
enum {
|
||||
UPROPS_2_EMOJI=28,
|
||||
UPROPS_2_EXTENDED_PICTOGRAPHIC=26,
|
||||
UPROPS_2_EMOJI_COMPONENT,
|
||||
UPROPS_2_EMOJI,
|
||||
UPROPS_2_EMOJI_PRESENTATION,
|
||||
UPROPS_2_EMOJI_MODIFIER,
|
||||
UPROPS_2_EMOJI_MODIFIER_BASE
|
||||
|
|
@ -396,6 +397,10 @@ enum UPropertySource {
|
|||
UPROPS_SRC_NFKC_CF,
|
||||
/** From normalizer2impl.cpp/nfc.nrm canonical iterator data */
|
||||
UPROPS_SRC_NFC_CANON_ITER,
|
||||
// Text layout properties.
|
||||
UPROPS_SRC_INPC,
|
||||
UPROPS_SRC_INSC,
|
||||
UPROPS_SRC_VO,
|
||||
/** One more than the highest UPropertySource (UPROPS_SRC_) constant. */
|
||||
UPROPS_SRC_COUNT
|
||||
};
|
||||
|
|
@ -424,6 +429,9 @@ uchar_addPropertyStarts(const USetAdder *sa, UErrorCode *pErrorCode);
|
|||
U_CFUNC void U_EXPORT2
|
||||
upropsvec_addPropertyStarts(const USetAdder *sa, UErrorCode *pErrorCode);
|
||||
|
||||
U_CFUNC void U_EXPORT2
|
||||
uprops_addPropertyStarts(UPropertySource src, const USetAdder *sa, UErrorCode *pErrorCode);
|
||||
|
||||
/**
|
||||
* Return a set of characters for property enumeration.
|
||||
* For each two consecutive characters (start, limit) in the set,
|
||||
|
|
@ -451,6 +459,12 @@ U_NAMESPACE_BEGIN
|
|||
|
||||
class UnicodeSet;
|
||||
|
||||
class CharacterProperties {
|
||||
public:
|
||||
CharacterProperties() = delete;
|
||||
static const UnicodeSet *getInclusionsForProperty(UProperty prop, UErrorCode &errorCode);
|
||||
};
|
||||
|
||||
// implemented in uniset_props.cpp
|
||||
U_CFUNC UnicodeSet *
|
||||
uniset_getUnicode32Instance(UErrorCode &errorCode);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue