-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store only changes from the next version for older copies of the UCD (#…
…699)
- Loading branch information
Showing
128 changed files
with
378 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-41 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/ASCII_Hex_Digit.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.16 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Alphabetic.bin
Binary file not shown.
Binary file removed
BIN
-680 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Basic_Emoji.bin
Binary file not shown.
Binary file removed
BIN
-1.44 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Class.bin
Binary file not shown.
Binary file removed
BIN
-45 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Control.bin
Binary file not shown.
Binary file removed
BIN
-223 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Mirrored.bin
Binary file not shown.
Binary file removed
BIN
-1.58 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Mirroring_Glyph.bin
Binary file not shown.
Binary file removed
BIN
-536 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Paired_Bracket.bin
Binary file not shown.
Binary file removed
BIN
-150 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Bidi_Paired_Bracket_Type.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.67 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/CJK_Radical.bin
Binary file not shown.
Binary file removed
BIN
-978 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Canonical_Combining_Class.bin
Binary file not shown.
Binary file removed
BIN
-6.04 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Case_Folding.bin
Binary file not shown.
Binary file removed
BIN
-764 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Case_Ignorable.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-321 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_Casefolded.bin
Binary file not shown.
Binary file removed
BIN
-289 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_Casemapped.bin
Binary file not shown.
Binary file removed
BIN
-299 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_Lowercased.bin
Binary file not shown.
Binary file removed
BIN
-661 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_NFKC_Casefolded.bin
Binary file not shown.
Binary file removed
BIN
-332 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_Titlecased.bin
Binary file not shown.
Binary file removed
BIN
-341 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Changes_When_Uppercased.bin
Binary file not shown.
Binary file removed
BIN
-30.6 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Confusable_MA.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1022 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Decomposition_Type.bin
Binary file not shown.
Binary file removed
BIN
-90 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Default_Ignorable_Code_Point.bin
Binary file not shown.
Binary file removed
BIN
-59 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Deprecated.bin
Binary file not shown.
Binary file removed
BIN
-440 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Diacritic.bin
Binary file not shown.
Binary file removed
BIN
-637 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/East_Asian_Width.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-67 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Emoji_Component.bin
Binary file not shown.
Binary file removed
BIN
-38 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Emoji_Modifier.bin
Binary file not shown.
Binary file removed
BIN
-129 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Emoji_Modifier_Base.bin
Binary file not shown.
Binary file removed
BIN
-203 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Emoji_Presentation.bin
Binary file not shown.
Binary file removed
BIN
-1.28 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Equivalent_Unified_Ideograph.bin
Binary file not shown.
Binary file removed
BIN
-212 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Extended_Pictographic.bin
Binary file not shown.
Binary file removed
BIN
-135 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Extender.bin
Binary file not shown.
Binary file removed
BIN
-3.39 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/General_Category.bin
Binary file not shown.
Binary file removed
BIN
-1.03 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Grapheme_Cluster_Break.bin
Binary file not shown.
Binary file removed
BIN
-136 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Hangul_Syllable_Type.bin
Binary file not shown.
Binary file removed
BIN
-46 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Hex_Digit.bin
Binary file not shown.
Binary file removed
BIN
-43 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/IDS_Binary_Operator.bin
Binary file not shown.
Binary file removed
BIN
-38 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/IDS_Trinary_Operator.bin
Binary file not shown.
Binary file removed
BIN
-38 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/IDS_Unary_Operator.bin
Binary file not shown.
Binary file removed
BIN
-63 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/ID_Compat_Math_Continue.bin
Binary file not shown.
Binary file removed
BIN
-51 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/ID_Compat_Math_Start.bin
Binary file not shown.
Binary file removed
BIN
-1.21 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/ID_Continue.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-612 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Identifier_Status.bin
Binary file not shown.
Binary file removed
BIN
-2.64 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Identifier_Type.bin
Binary file not shown.
Binary file removed
BIN
-112 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Ideographic.bin
Binary file not shown.
Binary file removed
BIN
-736 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Idn_2008.bin
Binary file not shown.
Binary file removed
BIN
-18.6 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Idn_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-1.85 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Idn_Status.bin
Binary file not shown.
Binary file removed
BIN
-476 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Indic_Conjunct_Break.bin
Binary file not shown.
Binary file removed
BIN
-942 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Indic_Positional_Category.bin
Binary file not shown.
Binary file removed
BIN
-1.45 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Indic_Syllabic_Category.bin
Binary file not shown.
Binary file removed
BIN
-38 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Join_Control.bin
Binary file not shown.
Binary file removed
BIN
-922 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Joining_Group.bin
Binary file not shown.
Binary file removed
BIN
-314 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Joining_Type.bin
Binary file not shown.
Binary file removed
BIN
-3.08 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Line_Break.bin
Binary file not shown.
Binary file removed
BIN
-54 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Logical_Order_Exception.bin
Binary file not shown.
Binary file removed
BIN
-392 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Lowercase.bin
Binary file not shown.
Binary file removed
BIN
-5.88 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Lowercase_Mapping.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-273 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFC_Quick_Check.bin
Binary file not shown.
Binary file removed
BIN
-371 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFD_Quick_Check.bin
Binary file not shown.
Binary file removed
BIN
-18.9 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFKC_Casefold.bin
Binary file not shown.
Binary file removed
BIN
-561 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFKC_Quick_Check.bin
Binary file not shown.
Binary file removed
BIN
-18.8 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFKC_Simple_Casefold.bin
Binary file not shown.
Binary file removed
BIN
-618 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/NFKD_Quick_Check.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.73 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Name_Alias.bin
Binary file not shown.
Binary file removed
BIN
-3.52 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Named_Sequences.bin
Binary file not shown.
Binary file removed
BIN
-25 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Named_Sequences_Prov.bin
Binary file not shown.
Binary file removed
BIN
-46 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Noncharacter_Code_Point.bin
Binary file not shown.
Binary file removed
BIN
-635 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Numeric_Type.bin
Binary file not shown.
Binary file removed
BIN
-1.64 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Numeric_Value.bin
Binary file not shown.
Binary file removed
BIN
-103 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Pattern_Syntax.bin
Binary file not shown.
Binary file removed
BIN
-47 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Pattern_White_Space.bin
Binary file not shown.
Binary file removed
BIN
-54 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Prepended_Concatenation_Mark.bin
Binary file not shown.
Binary file removed
BIN
-69 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Quotation_Mark.bin
Binary file not shown.
Binary file removed
BIN
-584 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/RGI_Emoji_Flag_Sequence.bin
Binary file not shown.
Binary file removed
BIN
-74 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/RGI_Emoji_Keycap_Sequence.bin
Binary file not shown.
Binary file removed
BIN
-1.26 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/RGI_Emoji_Modifier_Sequence.bin
Binary file not shown.
Binary file removed
BIN
-58 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/RGI_Emoji_Tag_Sequence.bin
Binary file not shown.
Binary file removed
BIN
-4.22 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/RGI_Emoji_Zwj_Sequence.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-38 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Regional_Indicator.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.73 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Script_Extensions.bin
Binary file not shown.
Binary file removed
BIN
-2.37 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Sentence_Break.bin
Binary file not shown.
Binary file removed
BIN
-231 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Sentence_Terminal.bin
Binary file not shown.
Binary file removed
BIN
-5.79 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Simple_Case_Folding.bin
Binary file not shown.
Binary file removed
BIN
-5.66 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Simple_Lowercase_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-5.82 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Simple_Titlecase_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-5.82 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Simple_Uppercase_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-98 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Soft_Dotted.bin
Binary file not shown.
Binary file removed
BIN
-9.85 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Standardized_Variant.bin
Binary file not shown.
Binary file removed
BIN
-282 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Terminal_Punctuation.bin
Binary file not shown.
Binary file removed
BIN
-6.07 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Titlecase_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-88 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Unified_Ideograph.bin
Binary file not shown.
Binary file removed
BIN
-357 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Uppercase.bin
Binary file not shown.
Binary file removed
BIN
-6.08 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Uppercase_Mapping.bin
Binary file not shown.
Binary file removed
BIN
-49 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Variation_Selector.bin
Binary file not shown.
Binary file removed
BIN
-372 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Vertical_Orientation.bin
Binary file not shown.
Binary file removed
BIN
-59 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/White_Space.bin
Binary file not shown.
Binary file removed
BIN
-1.88 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/Word_Break.bin
Binary file not shown.
Binary file removed
BIN
-1.22 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/XID_Continue.bin
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-150 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/kAccountingNumeric.bin
Binary file not shown.
Binary file removed
BIN
-216 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/kOtherNumeric.bin
Binary file not shown.
Binary file removed
BIN
-165 Bytes
UnicodeJsps/src/main/resources/org/unicode/jsp/props/kPrimaryNumeric.bin
Binary file not shown.
Binary file removed
BIN
-32.2 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/kSimplifiedVariant.bin
Binary file not shown.
Binary file removed
BIN
-32.1 KB
UnicodeJsps/src/main/resources/org/unicode/jsp/props/kTraditionalVariant.bin
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
unicodetools/src/main/java/org/unicode/jsp/RebuildPropertyCache.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package org.unicode.jsp; | ||
|
||
import java.io.File; | ||
import java.io.IOException; | ||
import java.util.ArrayDeque; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
import java.util.Queue; | ||
import org.unicode.props.IndexUnicodeProperties; | ||
import org.unicode.text.utility.Settings; | ||
|
||
public class RebuildPropertyCache { | ||
|
||
public static void main(String[] args) throws IOException { | ||
final var binDir = new File(Settings.Output.BIN_DIR); | ||
if (binDir.exists()) { | ||
final Queue<File> directories = new ArrayDeque<>(); | ||
final List<File> directoriesToDelete = new ArrayList<>(); | ||
final List<File> filesToDelete = new ArrayList<>(); | ||
directories.add(binDir); | ||
while (!directories.isEmpty()) { | ||
final File directory = directories.poll(); | ||
for (final var child : directory.listFiles()) { | ||
if (child.isDirectory()) { | ||
directories.add(child); | ||
directoriesToDelete.add(child); | ||
} else { | ||
filesToDelete.add(child); | ||
} | ||
} | ||
} | ||
System.out.println( | ||
"Cleaning " | ||
+ filesToDelete.size() | ||
+ " existing files in " | ||
+ directoriesToDelete.size() | ||
+ " existiing directories under " | ||
+ Settings.Output.BIN_DIR); | ||
for (final var f : filesToDelete) { | ||
if (!f.delete()) { | ||
System.err.println("Failed to delete " + f); | ||
} | ||
} | ||
for (final var f : directoriesToDelete) { | ||
if (!f.delete()) { | ||
System.err.println("Failed to delete " + f); | ||
} | ||
} | ||
} | ||
|
||
IndexUnicodeProperties.loadUcdHistory(null, null, false); | ||
System.out.println("Rebuilt property cache in " + Settings.Output.BIN_DIR); | ||
} | ||
} |
Oops, something went wrong.