Hash :
ef4c53b0
Author :
Date :
2021-12-30T11:43:09
unictype: Add Emoji properties from Unicode 11.0.0. * lib/gen-uni-tables.c (PROP_EMOJI*, PROP_EXTENDED_PICTOGRAPHIC): New enum values. (fill_properties): Don't require a space between the property name and the comment. Handle the property names from emoji-data.txt. (is_property_emoji, is_property_emoji_presentation, is_property_emoji_modifier, is_property_emoji_modifier_base, is_property_emoji_component, is_property_extended_pictographic): New declarations. (output_properties): Emit the properties emoji, emoji_presentation, emoji_modifier, emoji_modifier_base, emoji_component, extended_pictographic. (get_lbp): Use the emoji_modifier property. (main): Expect one more argument, for the emoji-data.txt file. * lib/unictype.in.h (UC_PROPERTY_EMOJI, UC_PROPERTY_EMOJI_PRESENTATION, UC_PROPERTY_EMOJI_MODIFIER, UC_PROPERTY_EMOJI_MODIFIER_BASE, UC_PROPERTY_EMOJI_COMPONENT, UC_PROPERTY_EXTENDED_PICTOGRAPHIC, uc_is_property_emoji, uc_is_property_emoji_presentation, uc_is_property_emoji_modifier, uc_is_property_emoji_modifier_base, uc_is_property_emoji_component, uc_is_property_extended_pictographic): New declarations. * lib/unictype/pr_emoji.c: New file. * lib/unictype/pr_emoji_presentation.c: New file. * lib/unictype/pr_emoji_modifier.c: New file. * lib/unictype/pr_emoji_modifier_base.c: New file. * lib/unictype/pr_emoji_component.c: New file. * lib/unictype/pr_extended_pictographic.c: New file. * modules/unictype/property-emoji: New file. * modules/unictype/property-emoji-tests: New file. * modules/unictype/property-emoji-presentation: New file. * modules/unictype/property-emoji-presentation-tests: New file. * modules/unictype/property-emoji-modifier: New file. * modules/unictype/property-emoji-modifier-tests: New file. * modules/unictype/property-emoji-modifier-base: New file. * modules/unictype/property-emoji-modifier-base-tests: New file. * modules/unictype/property-emoji-component: New file. * modules/unictype/property-emoji-component-tests: New file. * modules/unictype/property-extended-pictographic: New file. * modules/unictype/property-extended-pictographic-tests: New file. * modules/unictype/property-all (Depends-on): Depend on the new modules.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
Description:
Complete API for Unicode character properties.
Files:
Depends-on:
unictype/property-alphabetic
unictype/property-ascii-hex-digit
unictype/property-bidi-arabic-digit
unictype/property-bidi-arabic-right-to-left
unictype/property-bidi-block-separator
unictype/property-bidi-boundary-neutral
unictype/property-bidi-common-separator
unictype/property-bidi-control
unictype/property-bidi-embedding-or-override
unictype/property-bidi-eur-num-separator
unictype/property-bidi-eur-num-terminator
unictype/property-bidi-european-digit
unictype/property-bidi-hebrew-right-to-left
unictype/property-bidi-left-to-right
unictype/property-bidi-non-spacing-mark
unictype/property-bidi-other-neutral
unictype/property-bidi-pdf
unictype/property-bidi-segment-separator
unictype/property-bidi-whitespace
unictype/property-byname
unictype/property-case-ignorable
unictype/property-cased
unictype/property-changes-when-casefolded
unictype/property-changes-when-casemapped
unictype/property-changes-when-lowercased
unictype/property-changes-when-titlecased
unictype/property-changes-when-uppercased
unictype/property-combining
unictype/property-composite
unictype/property-currency-symbol
unictype/property-dash
unictype/property-decimal-digit
unictype/property-default-ignorable-code-point
unictype/property-deprecated
unictype/property-diacritic
unictype/property-emoji
unictype/property-emoji-component
unictype/property-emoji-modifier
unictype/property-emoji-modifier-base
unictype/property-emoji-presentation
unictype/property-extended-pictographic
unictype/property-extender
unictype/property-format-control
unictype/property-grapheme-base
unictype/property-grapheme-extend
unictype/property-grapheme-link
unictype/property-hex-digit
unictype/property-hyphen
unictype/property-id-continue
unictype/property-id-start
unictype/property-ideographic
unictype/property-ids-binary-operator
unictype/property-ids-trinary-operator
unictype/property-ignorable-control
unictype/property-iso-control
unictype/property-join-control
unictype/property-left-of-pair
unictype/property-line-separator
unictype/property-logical-order-exception
unictype/property-lowercase
unictype/property-math
unictype/property-non-break
unictype/property-not-a-character
unictype/property-numeric
unictype/property-other-alphabetic
unictype/property-other-default-ignorable-code-point
unictype/property-other-grapheme-extend
unictype/property-other-id-continue
unictype/property-other-id-start
unictype/property-other-lowercase
unictype/property-other-math
unictype/property-other-uppercase
unictype/property-paired-punctuation
unictype/property-paragraph-separator
unictype/property-pattern-syntax
unictype/property-pattern-white-space
unictype/property-private-use
unictype/property-punctuation
unictype/property-quotation-mark
unictype/property-radical
unictype/property-regional-indicator
unictype/property-sentence-terminal
unictype/property-soft-dotted
unictype/property-space
unictype/property-terminal-punctuation
unictype/property-test
unictype/property-titlecase
unictype/property-unassigned-code-value
unictype/property-unified-ideograph
unictype/property-uppercase
unictype/property-variation-selector
unictype/property-white-space
unictype/property-xid-continue
unictype/property-xid-start
unictype/property-zero-width
configure.ac:
Makefile.am:
Include:
"unictype.h"
License:
LGPLv3+ or GPLv2+
Maintainer:
all