Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull in changes from lomiri-keyboard #60

Merged
merged 252 commits into from
Jan 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
252 commits
Select commit Hold shift + click to select a range
33f3b5b
Hide key labels when in swipe mode
Elleo Jun 3, 2017
8469154
Hide label on space key when in cursor movement mode
Elleo Jun 3, 2017
43bd6e6
Make extended keys consistent between shifted and unshifted state on …
Elleo Jun 3, 2017
0ff9a77
Fix fallback to English when the selected plugin is no longer available
Elleo Jun 3, 2017
37da9a3
Merge pull request #3 from Elleo/swipe-cursor
mariogrip Jun 3, 2017
7d01e35
Merge pull request #4 from Elleo/fix-1571099
mariogrip Jun 3, 2017
d337676
Merge pull request #5 from Elleo/fix-1669440
Flohack74 Jun 3, 2017
bb347d1
Don't overwrite symbols, even if auto-correct is disabled
mardy Jun 3, 2017
7619189
Add unit test
mardy Jun 3, 2017
e8e1391
Fix wrong time of entering preedit
mardy Jun 4, 2017
ac7781a
Update Keyboard_pt_url.qml
ivoxavier Jun 21, 2017
583c9d8
Merge pull request #9 from ivoxavier/patch-1
Flohack74 Jun 21, 2017
5481a88
Merge branch 'master' into vivid
mariogrip Sep 24, 2017
5ad5229
Create Jenkinsfile
mariogrip Sep 24, 2017
644d198
Revert "Merge branch 'master' into vivid"
mariogrip Sep 24, 2017
3bc5687
Use a version format gbp understand
mariogrip Sep 24, 2017
457e292
Update prediction database for azerbaijani
turanmahmudov Sep 29, 2017
9610204
Merge pull request #16 from turanmahmudov/master
Flohack74 Sep 29, 2017
9344f97
Add new turkish keyboard layout
turanmahmudov Oct 1, 2017
f9b9f6f
Merge pull request #17 from turanmahmudov/master
Flohack74 Oct 1, 2017
b3f8a9f
Create fr_ch
Oct 16, 2017
6775473
Delete fr_ch
Oct 16, 2017
4e18f41
Create fr_ch
Oct 16, 2017
a25fcb1
Create fr_ch
Oct 16, 2017
136d421
Delete fr_ch
Oct 16, 2017
f940bd3
Add files via upload
Oct 16, 2017
ab906ef
Update and rename Keyboard_fr.qml to Keyboard_fr-ch.qml
Oct 17, 2017
3ddecb2
Update Keyboard_fr-ch.qml
Oct 17, 2017
ff6940f
Update Keyboard_fr-ch.qml
Oct 17, 2017
25de54d
Update Keyboard_fr-ch.qml
Oct 17, 2017
c9170ba
Update and rename Keyboard_fr_email.qml to Keyboard_fr-ch_email.qml
Oct 17, 2017
e709c60
Update and rename Keyboard_fr_url.qml to Keyboard_fr-ch_url.qml
Oct 17, 2017
8d3a0d0
Update and rename Keyboard_fr_url_search.qml to Keyboard_fr-ch_url_se…
Oct 17, 2017
a4e8d67
Update qml.pro
Oct 17, 2017
e2c9451
Update qml.pro
Oct 21, 2017
1e112af
Update changelog
mariogrip Oct 22, 2017
3b24da3
Update Jenkinsfile
mariogrip Oct 22, 2017
033b133
Add maliit upstart job
Elleo Feb 16, 2017
1ea7214
Merge pull request #22 from spartid/master
NeoTheThird Dec 12, 2017
24f218c
Update Jenkinsfile
mariogrip Dec 28, 2017
29e7c75
Dont put maliit-server.conf inside a folder (maliit-server.conf)
mariogrip Dec 30, 2017
e3f4b5f
Remove platformsupport-private and use eventdispatcher_support_private
mariogrip Dec 30, 2017
b2a8b35
Dont build arm64 until we have a newer mir out
mariogrip Dec 30, 2017
0b5bfee
Update Keyboard Portuguese (pt) Layout (#31)
ivoxavier Jan 18, 2018
16e1d1d
changes in UrlKey extended
Aury88 Jan 11, 2018
ebf3d42
substitution of .int with .ch
Aury88 Jan 12, 2018
ba42e39
Changes in UrlKey
Aury88 Jan 11, 2018
56ba644
substitution of .int with .ch
Aury88 Jan 12, 2018
ab23e25
[Italian] Update email layout and swap '.com' <-> '.ch'
sverzegnassi Feb 8, 2018
2165161
Merge pull request #34 from sverzegnassi/patch-xenial-it-keys
sverzegnassi Feb 19, 2018
f03214a
Set initial value of X and Y on press and hold (#32)
kugiigi Feb 23, 2018
7ebfa1a
Enable arm64 again
mariogrip Mar 2, 2018
6cc710a
Added Bulgarian keyboard layout.
skrech Apr 14, 2018
0938a72
Merge pull request #39 from ubports/master
mariogrip May 5, 2018
e5ee506
Revert "Revert "Merge branch 'master' into vivid""
mariogrip May 6, 2018
cbc6b79
Revert "Remove all build-time mir dependence"
mariogrip May 6, 2018
c0f6983
Revert "Update to new Mir API"
mariogrip May 6, 2018
6a8898d
Merge pull request #40 from ubports/xenial_-_cleanup-merge
NeoTheThird May 6, 2018
a714583
Merge pull request #37 from skrech/bulgarian-layout
mariogrip May 6, 2018
bd43bdc
Add debian packages for fr_ch and tr and fix some build config errors…
mariogrip May 6, 2018
73ea98e
Work around keyboard being dismissed too often (#42)
NeoTheThird May 7, 2018
2421120
Merge pull request #2 from ubports/xenial
kugiigi Nov 24, 2018
65762df
Add Lithuanian keyboard layout
Talkless Nov 11, 2018
d75ccfe
added themes support
kugiigi Dec 16, 2018
90e5187
Update BorderedBlack.json
kugiigi Dec 18, 2018
89e6d3f
Update BorderedGrey.json
kugiigi Dec 18, 2018
2477e2f
Update BorderedWhite.json
kugiigi Dec 18, 2018
c950ea6
Update LanguageMenu.qml
kugiigi Dec 19, 2018
6d7ebf4
Update SuruBlack.json
kugiigi Dec 21, 2018
7ce58eb
Update SuruDark.json
kugiigi Dec 21, 2018
0d8e02e
Update JustGrey.json
kugiigi Dec 21, 2018
d1d0efd
Update BorderedGrey.json
kugiigi Dec 21, 2018
328007a
Update ExtendedKeysSelector.qml
kugiigi Dec 21, 2018
39586da
Update Magnifier.qml
kugiigi Dec 21, 2018
ddf8aeb
Merge pull request #57 from kugiigi/xenial_-_themes
mariogrip Dec 29, 2018
fcedf82
Merge pull request #55 from Talkless/add-lt
Flohack74 Dec 30, 2018
1438b5e
Fix swiss-french layout (#61)
UniversalSuperBox Dec 31, 2018
cf27b55
fixed theming for japanese layout
kugiigi Jan 12, 2019
5900766
Update FlickCharKey.qml
kugiigi Jan 12, 2019
f0e11cc
Merge pull request #64 from kugiigi/xenial_-_japtheme
dobey Jan 25, 2019
747cb8e
Implement an option to turn off the key-magnifier (#66)
kugiigi Jun 10, 2019
2e44c66
Let ubuntu-keyboard-autopilot depend on autopilot-qt5 instead of liba…
Jun 18, 2019
33ceba7
Update Keyboard_pl_url.qml
Daniel20000522 Aug 22, 2019
28f36d5
Update Keyboard_pl_url_search.qml
Daniel20000522 Aug 22, 2019
56121f0
Update Keyboard_pl_email.qml
Daniel20000522 Aug 22, 2019
1bb5185
Update Keyboard_pl.qml
Daniel20000522 Aug 22, 2019
2b8cb7b
Merge pull request #84 from Daniel20000522/xenial
Flohack74 Aug 22, 2019
d4dbee7
Quality changes to French-Swiss keyboard
UniversalSuperBox Aug 26, 2019
08cc0ee
respect magnifier setting in Japanese keyboard layout (#94)
Fuseteam Sep 9, 2019
490e31a
Added on-device testing instructions (#89)
tallero Sep 9, 2019
f3ea91a
implemented text functions (copy, paste, etc)
kugiigi Jun 16, 2019
05808ee
minor code cleanup
kugiigi Jun 16, 2019
0823add
fix issue wi thActionsToolbar
kugiigi Jun 16, 2019
1e4bc26
comment cleanup, reverted some logic, updated pot file, added text in…
Jun 18, 2019
0b1ffc4
Add dvorak layout (#86)
wildeyedskies Sep 11, 2019
fb69979
Update to new Mir API
Elleo Feb 2, 2017
e57c9cf
Remove all build-time mir dependence
Mar 1, 2017
e668f54
Build in parallel
mariogrip Jan 7, 2019
a9f4370
Enable wayland (#92)
mariogrip Sep 7, 2019
93e577f
Merge pull request #104 from ubports/xenial_-_edge
mariogrip Oct 30, 2019
614721e
autoCaps shouldn't be activated by ":"
mymike00 Oct 15, 2019
b3bbc6a
fix keyboard-component builds (#108)
Fuseteam Nov 12, 2019
b41a930
change behavior of done button and double-tap
kugiigi Nov 10, 2019
5a1bb21
Added bottom gesture for triggering cursor mover/advanced functions (…
kugiigi Nov 21, 2019
ddd892a
fix anchor loop for Magnifier
lduboeuf Jan 31, 2020
eaa3d71
Fixed polish keyboard layout (#131)
Jul 8, 2020
75de65f
enable swiss predictive dictionary
lduboeuf Sep 3, 2020
bb90559
remove redundant files from fr language
lduboeuf Sep 4, 2020
0b9e0e5
allow to load predict worker for fr-ch
lduboeuf Sep 4, 2020
5c0dc57
Add a Thai keyboard without prediction support
peat-psuwit Jun 19, 2020
8ef99be
Updated Dutch keyboard translation
Vistaus Dec 6, 2020
c2c706e
Merge pull request #139 from Vistaus/xenial
dobey Dec 16, 2020
480215d
Update translation files
weblate Dec 17, 2020
223cf72
Merge pull request #141 from ubports-weblate/weblate-ubports-keyboard…
dobey Dec 17, 2020
dca4c05
Translated using Weblate (Albanian)
weblate Dec 17, 2020
8f887dc
Merge pull request #143 from ubports-weblate/weblate-ubports-keyboard…
dobey Dec 17, 2020
08ae64f
provide a fallback database path when switching language and layout
lduboeuf Dec 18, 2020
d7095f1
remove some debug lines
lduboeuf Dec 18, 2020
cbb88bf
ship plugin lib for en@dv
lduboeuf Dec 18, 2020
690c431
Translated using Weblate (Dutch)
weblate Dec 20, 2020
8be49a7
Merge pull request #144 from ubports-weblate/weblate-ubports-keyboard…
dobey Dec 22, 2020
8b614d2
Translated using Weblate (Tamil)
weblate Jan 1, 2021
7e120a6
Merge pull request #147 from ubports-weblate/weblate-ubports-keyboard…
dobey Jan 4, 2021
4807bf9
Translated using Weblate (Italian)
weblate Jan 8, 2021
fe74782
Merge pull request #148 from ubports-weblate/weblate-ubports-keyboard…
dobey Jan 12, 2021
d8adcae
Translated using Weblate (Russian)
weblate Jan 16, 2021
c93d2ff
Merge pull request #149 from ubports-weblate/weblate-ubports-keyboard…
dobey Jan 18, 2021
60d267a
Translated using Weblate (Italian)
weblate Jan 18, 2021
ad2b2ac
Merge pull request #151 from ubports-weblate/weblate-ubports-keyboard…
dobey Jan 24, 2021
991118c
Homogenic Layout for Catalan Keyboard (#124)
cibersheep Jan 29, 2021
20e6a5b
Translated using Weblate (Bengali)
weblate Jan 29, 2021
7877b6f
add comment
lduboeuf Jan 30, 2021
a2379da
Merge pull request #153 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Jan 31, 2021
dc04de4
Translated using Weblate (Chinese (Simplified))
weblate Feb 6, 2021
cbc35b3
Merge pull request #154 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Feb 7, 2021
7dc243e
Translated using Weblate (Spanish)
weblate Feb 12, 2021
74377b5
Merge pull request #155 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Feb 15, 2021
e9e0ac7
Translated using Weblate (Chinese (Traditional))
weblate Feb 15, 2021
bb1dd54
Merge pull request #156 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Feb 22, 2021
15436bd
Fixed #159
kugiigi Mar 7, 2021
37ec798
Translated using Weblate (French (Canada))
weblate Mar 14, 2021
b9bb7cd
Merge pull request #163 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Mar 15, 2021
71978ab
Merge pull request #164 from kugiigi/xenial_-_fix59
dobey Mar 15, 2021
17681cb
Translated using Weblate (Dutch)
weblate Mar 17, 2021
6caab4c
Merge pull request #165 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Mar 18, 2021
1a2e9bd
Translated using Weblate (Czech)
weblate Mar 19, 2021
67f296c
Merge pull request #166 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Mar 21, 2021
21c90db
Merge pull request #134 from lduboeuf/xenial_-_enable_swiss_predictiv…
UniversalSuperBox Mar 24, 2021
52f8097
Translated using Weblate (Russian)
weblate Mar 26, 2021
ed3c5fb
Merge pull request #167 from ubports-weblate/weblate-ubports-keyboard…
dobey Mar 26, 2021
a8d49a7
Add Macedonian layout (#138)
boriseto Apr 2, 2021
4fa923c
remove trailing spaces
Fuseteam Apr 6, 2021
2a4518a
let the shiftkey make use of the icons in the toolkit
Fuseteam Apr 6, 2021
9d7863e
Merge pull request #169 from Fuseteam/cleanup
dobey Apr 6, 2021
70487f0
Translated using Weblate (Japanese)
weblate Apr 19, 2021
cfe5f5d
Merge pull request #171 from ubports-weblate/weblate-ubports-keyboard…
Flohack74 Apr 19, 2021
598080d
Translated using Weblate (Chinese (Simplified))
weblate May 3, 2021
a01535c
Merge pull request #176 from ubports-weblate/weblate-ubports-keyboard…
dobey May 13, 2021
968681f
Add degree symbol (#178)
cibersheep May 14, 2021
3eeffa0
Translated using Weblate (German)
weblate May 15, 2021
8713b38
Merge pull request #179 from ubports-weblate/weblate-ubports-keyboard…
dobey May 15, 2021
dd9e61a
Add a Belurusian keyboard (#146)
antikruk May 19, 2021
1c83098
Translated using Weblate (Galician)
weblate May 19, 2021
1ec93c5
Merge pull request #180 from ubports-weblate/weblate-ubports-keyboard…
dobey May 20, 2021
29ed05d
Translated using Weblate (Galician)
weblate May 21, 2021
8f1147a
Merge pull request #181 from ubports-weblate/weblate-ubports-keyboard…
dobey May 21, 2021
bb4d314
Translated using Weblate (Thai)
weblate May 23, 2021
9c80bec
Merge pull request #182 from ubports-weblate/weblate-ubports-keyboard…
dobey May 24, 2021
34225fb
Update README.md
HackerShohag Jun 1, 2021
b611688
Merge pull request #184 from HackerShohag/patch-1
Flohack74 Jun 1, 2021
a91a851
Translated using Weblate (Swedish)
weblate Jun 1, 2021
4295ead
Merge pull request #185 from ubports-weblate/weblate-ubports-keyboard…
dobey Jun 2, 2021
300d834
Translated using Weblate (Amharic)
weblate Jun 6, 2021
f586fff
Merge pull request #188 from ubports-weblate/weblate-ubports-keyboard…
dobey Jun 7, 2021
0e13073
Translated using Weblate (Dutch)
weblate Jun 30, 2021
59af5c1
Merge pull request #193 from ubports-weblate/weblate-ubports-keyboard…
peat-psuwit Jul 8, 2021
c0b9aad
Move Jenkinsfile to debian/ per the new guideline
peat-psuwit Jul 8, 2021
89554f4
Rename the source to lomiri-keyboard; get a version bump
peat-psuwit Jul 5, 2021
83b09a9
Migrate to Lomiri-UITK
peat-psuwit Jul 5, 2021
33ffac1
Adapt to API change in libpinyin
peat-psuwit Jul 5, 2021
8414ddd
Fix the usage of dh-python
peat-psuwit Jul 5, 2021
e044fd7
Fix a switch fall
mariogrip Feb 18, 2018
0f8e0bf
spellchecker: adapt to API change and deprecation of Hunspell
peat-psuwit Jul 5, 2021
7f6c911
Rename build-time variables and prefixes to Lomiri
peat-psuwit Jul 5, 2021
d84d926
Rename package name to lomiri-keyboard
peat-psuwit Jul 5, 2021
b788413
Switch the plugin installation path to Lomiri
peat-psuwit Jul 5, 2021
a28fd58
Change MALIIT_DEFAULT_PROFILE to lomiri
peat-psuwit Jul 5, 2021
b6e8af3
Rename library/plugin name to lomiri
peat-psuwit Jul 5, 2021
d37427c
Rename the styles directory to lomiri
peat-psuwit Jul 5, 2021
69854b0
Rename internal QML type URI
peat-psuwit Jul 6, 2021
050f43d
Rename object name for autopilot test
peat-psuwit Jul 6, 2021
3418aef
Rename plugin interface to Lomiri
peat-psuwit Jul 6, 2021
f37ddd4
src/imports: rename C++ namespace to Lomiri
peat-psuwit Jul 6, 2021
8128936
Rename QML extension to Lomiri
peat-psuwit Jul 6, 2021
c9469b6
src/imports: rename header guard
peat-psuwit Jul 6, 2021
4954c2e
src/: update Ubuntu Keyboard references in comments
peat-psuwit Jul 6, 2021
78128b8
tests/autopilot: Rename Ubuntu Keyboard in comments & description
peat-psuwit Jul 6, 2021
2f06768
tests: rename autopilot test
peat-psuwit Jul 6, 2021
24b23d9
tests/autopilot: rename .desktop metadata
peat-psuwit Jul 6, 2021
bcc70bf
tests/autopilot: migrate to Lomiri.Web
peat-psuwit Jul 6, 2021
c6756a6
po: update the project name and gettext domain
peat-psuwit Jul 6, 2021
98b8575
benchmark: rename target
peat-psuwit Jul 6, 2021
6f6bc31
Remove unused snap building files & buildOnDevice.sh
peat-psuwit Jul 6, 2021
7bc3ae2
Remove unused .bzr-builddeb
peat-psuwit Jul 6, 2021
17499b3
Migrate remaining .bzrignore to .gitignore
peat-psuwit Jul 6, 2021
3ca64cc
Remove an empty, from nowhere, fr_ch file
peat-psuwit Jul 6, 2021
e01e280
debian/*: rename binary packages
peat-psuwit Jul 6, 2021
19a27f8
d/control, tests: update metadata
peat-psuwit Jul 6, 2021
e4dfe72
.gitignore: ignore more compiled stuff
peat-psuwit Jul 6, 2021
26e22f9
d/*: add a systemd user unit file
peat-psuwit Jul 6, 2021
57b0666
d/server.conf: update plugin name
peat-psuwit Jul 7, 2021
2f8b742
GreeterStatus: migrate to Lomiri's renamed interface
peat-psuwit Jul 8, 2021
61c60a9
Rename GSettings schema to lomiri
peat-psuwit Jul 8, 2021
88e136d
d/*: add a migration script for gsettings rename
peat-psuwit Jul 8, 2021
2232de5
d/control: fix the autopilot package of Lomiri-UITK
peat-psuwit Jul 13, 2021
96c9435
d/control: transition dictionary packages to hunspell where applicable
peat-psuwit Jul 13, 2021
9145d7d
d/systemd: remove PartOf line
peat-psuwit Jul 13, 2021
9c17f9a
Merge branch 'personal/peat-psuwit/rename-to-lomiri' into 'main'
UniversalSuperBox Jul 20, 2021
54bee53
Link properly to hunspell
z3ntu Apr 17, 2021
7bdffdb
InputMethodHostProbe: remove outdated function declarations
z3ntu May 21, 2021
5a1021d
InputMethodHostProbe: mark functions as override
z3ntu Apr 17, 2021
f9f51f7
InputMethodHostProbe: move stubs into header
z3ntu May 21, 2021
9a1e21a
Merge branch 'fix-compile' into 'main'
dobey Aug 15, 2021
9f51053
Fix pkgconfig link of language plugins
z3ntu Aug 15, 2021
2a8204b
Merge branch 'fix-pkgconfig-link' into 'main'
dobey Aug 15, 2021
3c8f208
Merge remote-tracking branch 'lomiri/main' into update-from-lomiri
dobey Aug 18, 2021
09f9099
Resolve some remaining incompatibilities
dobey Aug 23, 2021
c85d9c2
Merge remote-tracking branch 'origin/master' into update-from-lomiri
dobey Sep 16, 2021
daae845
Install missing QML and fix EXISTS checks
dobey Sep 16, 2021
2692902
Merge remote-tracking branch 'origin' into update-from-lomiri
dobey Sep 16, 2021
b240783
Merge remote-tracking branch 'origin' into update-from-lomiri
dobey Sep 20, 2021
f483c50
Fix appearance and ordering of actions toolbar
dobey Sep 30, 2021
410c6e0
Merge remote-tracking branch 'origin/master' into update-from-lomiri
dobey Oct 13, 2021
eb4ea7b
Fix JSON manifests for new language plug-ins
dobey Oct 27, 2021
f4c775c
Fix heights of new language plugins.
dobey Oct 27, 2021
e4d0c98
Fix Thai keyboard build.
dobey Nov 3, 2021
fc64c8f
Fix feedback calls for working haptics.
dobey Nov 3, 2021
b23ff07
Resolve missing firstPress and remove opacity for cursor mode
dobey Nov 3, 2021
703ade3
Use KeyIcon for ActionsToolbarButton icons
dobey Nov 3, 2021
84dffbe
Fix FloatingActionKey style
dobey Nov 3, 2021
04baf43
Fix FloatingActions icons and move back button
dobey Nov 3, 2021
709b2ba
Set haptic feedback duration to match lomiri-keyboard value
dobey Nov 22, 2021
8d96a3d
Merge remote-tracking branch 'master' into update-from-lomiri
dobey Jan 10, 2022
f52bf52
LanguageMenu: Lower import version to be usable on 5.12 for Ubuntu Touch
dobey Jan 10, 2022
96c3c1a
Merge branch 'master' into update-from-lomiri
dobey Jan 14, 2022
02ed980
po: Update translation template
dobey Jan 14, 2022
710dea1
po: Pull in updated translations from lomiri-keyboard
dobey Jan 14, 2022
d05aae7
Merge remote-tracking branch 'origin' into update-from-lomiri
dobey Jan 21, 2022
d16e660
Merge remote-tracking branch 'origin' into update-from-lomiri
dobey Jan 24, 2022
a18bf67
Merge remote-tracking branch 'origin' into update-from-lomiri
dobey Jan 25, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,15 @@
/cmake-build-debug/
/.idea/
-/cmake-build-debug/
-/.idea/
Makefile
moc_*
*.moc
*.o
*.a
*.so*
tests/editor/editor
tests/language-layout-loading/language-layout-loading
tests/language-layout-switching/language-layout-switching
tests/preedit-string/preedit-string
tests/repeat-backspace/repeat-backspace
tests/unittests/libdummy.so.1*
tests/word-candidates/word-candidates
38 changes: 29 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.9)

project(maliit-keyboard VERSION 2.1.0)

Expand Down Expand Up @@ -239,19 +239,29 @@ function(abstract_language_plugin _language _full_language)
set(multiValueArgs SOURCES LIBRARIES INCLUDE_DIRS DEFINITIONS FILES DIRECTORY)
cmake_parse_arguments(abstract_language_plugin "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})

# To support layout style variations such as en@dv we need to avoid using
# the @ character in variables, so split and replace it with _
set(_target ${_language})
if(${_language} MATCHES "^(.*)\@(.*)$")
set(_target ${CMAKE_MATCH_1}_${CMAKE_MATCH_2})
endif()

set(_plugindir ${_language})
if(NOT ${abstract_language_plugin_PLUGIN_DIR} EQUAL "")
set(_plugindir ${abstract_language_plugin_PLUGIN_DIR})
endif()
set(PLUGIN_SOURCES
plugins/${_plugindir}/src/${_full_language}plugin.cpp
plugins/${_plugindir}/src/${_full_language}plugin.h
plugins/${_plugindir}/src/${_full_language}plugin.json)
if(EXISTS ${CMAKE_SOURCE_DIR}/plugins/${_plugindir}/src/${_full_language}plugin.cpp)
list(APPEND PLUGIN_SOURCES
plugins/${_plugindir}/src/${_full_language}plugin.cpp)
endif()
if(NOT ${abstract_language_plugin_LANGUAGE_FEATURES} EQUAL "")
list(APPEND PLUGIN_SOURCES
plugins/${_plugindir}/src/${abstract_language_plugin_LANGUAGE_FEATURES}languagefeatures.cpp
plugins/${_plugindir}/src/${abstract_language_plugin_LANGUAGE_FEATURES}languagefeatures.h)
else()
elseif(EXISTS ${CMAKE_SOURCE_DIR}/plugins/${_plugindir}/src/${_full_language}languagefeatures.cpp)
list(APPEND PLUGIN_SOURCES
plugins/${_plugindir}/src/${_full_language}languagefeatures.cpp
plugins/${_plugindir}/src/${_full_language}languagefeatures.h)
Expand All @@ -268,11 +278,11 @@ function(abstract_language_plugin _language _full_language)
add_ngram(TEXT plugins/${_plugindir}/src/${abstract_language_plugin_NGRAM_DATABASE} DATABASE database_${_language}.db)
list(APPEND PLUGIN_SOURCES database_${_language}.db)
endif()
add_library(${_language}plugin MODULE ${PLUGIN_SOURCES})
target_link_libraries(${_language}plugin Qt5::Core Maliit::Plugins ${abstract_language_plugin_LIBRARIES})
target_include_directories(${_language}plugin PRIVATE src/lib/logic ${abstract_language_plugin_INCLUDE_DIRS})
target_compile_definitions(${_language}plugin PRIVATE ${abstract_language_plugin_DEFINITIONS})
install(TARGETS ${_language}plugin
add_library(${_target}plugin MODULE ${PLUGIN_SOURCES})
target_link_libraries(${_target}plugin Qt5::Core Maliit::Plugins ${abstract_language_plugin_LIBRARIES})
target_include_directories(${_target}plugin PRIVATE src/lib/logic ${abstract_language_plugin_INCLUDE_DIRS})
target_compile_definitions(${_target}plugin PRIVATE ${abstract_language_plugin_DEFINITIONS})
install(TARGETS ${_target}plugin
LIBRARY DESTINATION ${MALIIT_KEYBOARD_LANGUAGES_DIR}/${_language})
install(FILES plugins/${_plugindir}/qml/Keyboard_${_language}.qml
plugins/${_plugindir}/qml/Keyboard_${_language}_email.qml
Expand All @@ -295,6 +305,8 @@ endfunction()

language_plugin(ar arabic free_ebook.txt)
language_plugin(az azerbaijani free_ebook.txt)
language_plugin(be belarusian free_ebook.txt)
language_plugin(bg bulgarian free_ebook.txt)
language_plugin(bs bosnian free_ebook.txt)
language_plugin(ca catalan paulina_buxareu.txt src/overrides.csv)
language_plugin(cs czech free_ebook.txt)
Expand All @@ -313,7 +325,9 @@ language_plugin(hr croatian knjiga.txt)
language_plugin(hu hungarian free_ebook.txt)
language_plugin(is icelandic althingi_umraedur_2004_2005.txt)
language_plugin(it italian la_francia_dal_primo_impero.txt src/overrides.csv)
language_plugin(lt lithuanian free_ebook.txt)
language_plugin(lv latvian free_ebook.txt)
language_plugin(mk macedonian free_ebook.txt)
language_plugin(nb norwegian free_ebook.txt)
language_plugin(nl dutch free_ebook.txt src/overrides.csv)
language_plugin(pl polish ziemia_obiecana_tom_pierwszy_4.txt)
Expand All @@ -323,8 +337,14 @@ language_plugin(ru russian free_ebook.txt)
language_plugin(sl slovenian free_ebook.txt)
language_plugin(sr serbian free_ebook.txt)
language_plugin(sv swedish free_ebook.txt src/overrides.csv)
language_plugin(tr turkish free_ebook.txt)
language_plugin(uk ukrainian free_ebook.txt)

abstract_language_plugin(en@dv englishdvorak
FILES src/overrides.csv
LIBRARIES westernsupport)
abstract_language_plugin(fr-ch french LIBRARIES westernsupport)
abstract_language_plugin(th thai LIBRARIES westernsupport DIRECTORY qml/keys)
dobey marked this conversation as resolved.
Show resolved Hide resolved
abstract_language_plugin(emoji emoji ABSTRACT_LANGUAGE_PLUGIN FILES qml/CategoryKey.qml qml/emoji.js)
if(Anthy_FOUND)
abstract_language_plugin(ja japanese ABSTRACT_LANGUAGE_PLUGIN
Expand Down Expand Up @@ -368,7 +388,7 @@ install(TARGETS maliit-keyboard-plugin maliit-keyboard

install(DIRECTORY qml/keys qml/languages
DESTINATION ${MALIIT_KEYBOARD_QML_DIR})
install(FILES qml/Keyboard.qml qml/KeyboardContainer.qml qml/WordRibbon.qml
install(FILES qml/ActionsToolbar.qml qml/FloatingActions.qml qml/Keyboard.qml qml/KeyboardContainer.qml qml/WordRibbon.qml
DESTINATION ${MALIIT_KEYBOARD_QML_DIR})

install(DIRECTORY qml/images
Expand Down
5 changes: 5 additions & 0 deletions data/schemas/org.maliit.keyboard.maliit.gschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,10 @@
<description>Specifies the device type of the maliit keyboard ('default', 'tablet')</description>
<default>'default'</default>
</key>
<key name="enable-magnifier" type="b">
<summary>Enable key magnifier</summary>
<description>Shows the magnifier when a key is pressed.</description>
<default>true</default>
</key>
</schema>
</schemalist>
Binary file added plugins/az/src/database_az.db
Binary file not shown.
Loading