From ee7aaed1289a078bf4b03d73fac333d19c86cdac Mon Sep 17 00:00:00 2001 From: Maxwell Date: Sun, 9 Feb 2025 21:43:48 +0200 Subject: [PATCH] feat: rework core modules for better alignment with new emoji structure --- .idea/appInsightsSettings.xml | 40 + .idea/deploymentTargetSelector.xml | 10 + .idea/gradle.xml | 1 + .idea/kotlinc.xml | 2 +- .idea/material_theme_project_new.xml | 10 + .idea/misc.xml | 3 +- .idea/runConfigurations.xml | 17 + .../wax911/emojify/contract/model/IEmoji.kt | 10 +- emojify/src/main/assets/emoticons/emoji.json | 21616 +--------------- .../kotlin/io/wax911/emojify/EmojiManager.kt | 29 - .../wax911/emojify/manager/IEmojiManager.kt | 9 - .../io/wax911/emojify/parser/EmojiParser.kt | 147 +- .../parser/candidate/AliasCandidate.kt | 27 - .../emojify/parser/candidate/HtmlCandidate.kt | 12 + .../parser/candidate/UnicodeCandidate.kt | 11 +- .../parser/candidate/contract/ICandidate.kt | 9 + .../io/wax911/emojify/util/EmojiTrie.kt | 8 +- .../io/wax911/emojify/EmojiManagerTest.kt | 104 +- .../io/wax911/emojify/EmojiParseTest.kt | 375 +- .../kotlin/io/wax911/emojify/EmojiTest.kt | 8 - .../kotlin/io/wax911/emojify/EmojiUtilTest.kt | 107 +- .../io/wax911/emojify/core/emoji.json | 1 + .../emojify/serializer/gson/GsonEmoji.kt | 7 +- .../serializer/kotlinx/KotlinxEmoji.kt | 7 +- .../emojify/serializer/moshi/MoshiEmoji.kt | 7 +- 25 files changed, 190 insertions(+), 22387 deletions(-) create mode 100644 .idea/appInsightsSettings.xml create mode 100644 .idea/deploymentTargetSelector.xml create mode 100644 .idea/material_theme_project_new.xml create mode 100644 .idea/runConfigurations.xml delete mode 100644 emojify/src/main/kotlin/io/wax911/emojify/parser/candidate/AliasCandidate.kt create mode 100644 emojify/src/main/kotlin/io/wax911/emojify/parser/candidate/HtmlCandidate.kt create mode 100644 emojify/src/main/kotlin/io/wax911/emojify/parser/candidate/contract/ICandidate.kt create mode 100644 emojify/src/test/resources/io/wax911/emojify/core/emoji.json diff --git a/.idea/appInsightsSettings.xml b/.idea/appInsightsSettings.xml new file mode 100644 index 00000000..570ec899 --- /dev/null +++ b/.idea/appInsightsSettings.xml @@ -0,0 +1,40 @@ + + + + + + \ No newline at end of file diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 00000000..b268ef36 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,10 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index e47aa851..a91f2799 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -15,6 +15,7 @@ +