Commit graph

33096 commits

Author SHA1 Message Date
Darcy Wong
738b3cc08a fix(oem/fv/android): Fold model picker into Keyboard settings menu 2022-03-14 06:56:55 +07:00
Marc Durdin
2fc52af719 feat(common): zip and index keyboard artifacts 2022-03-14 07:03:16 +11:00
Marc Durdin
c2b073a49b chore: fixup additional layerchanged in keyboard 2022-03-13 19:53:14 +11:00
Marc Durdin
45c5f8a1ea chore(web): remove 0 from store defaults 2022-03-13 08:31:15 +11:00
Marc Durdin
b23df3fbc8 feat(web): &newLayer and &oldLayer
Fixes #6364.

Removes `&layerChanged` and adds `&newLayer` and `&oldLayer` system
stores with the additional nuances around values as described in #6364.
2022-03-13 08:29:15 +11:00
Keyman Server
e5628b66fb
Merge pull request #6365 from keymanapp/auto/version-beta-15.0.213
auto: increment beta version to 15.0.213
2022-03-12 05:03:03 +11:00
Keyman Build Agent
7fe1997754 auto: increment beta version to 15.0.213 2022-03-11 13:02:26 -05:00
Eberhard Beilharz
cc0317af2c
fix(linux): Don't use restart option of exit()
Instead of trying to restart ibus by passing True to bus.exit()
we now exit ibus and then let verify_ibus_daemon() start it again.
Also added additional checks to verify that we're not running
multiple ibus-daemons at the start of km-config and before
restarting.
2022-03-11 18:14:02 +01:00
Darcy Wong
841c5f8ebd
Merge pull request #6355 from keymanapp/fix/android/test-file-version-in-kmp
fix(android/engine): Test fileVersion during package install
2022-03-11 21:18:47 +07:00
Eberhard Beilharz
6e35f3d746
Merge pull request #6360 from keymanapp/chore/linux/lintian
chore(linux): Fix lintian warnings
2022-03-11 09:57:53 +01:00
Eberhard Beilharz
412a9ea2fc
chore(linux): Fix another lintian warning 2022-03-11 09:24:38 +01:00
Eberhard Beilharz
2133e7f6ea
chore(linux): Fix previous commit 2022-03-11 09:10:10 +01:00
sgschantz
e799c3478f return false when keyboard installation error occurs 2022-03-11 15:03:36 +07:00
sgschantz
edae7171c5 added alert for failed keyboard switch change, changed one section heading, use LM name instead of description 2022-03-11 14:42:13 +07:00
Marc Durdin
910097500a
Merge pull request #6358 from keymanapp/fix/common/test-keyboards-custom-builds
fix(common): allow custom keyboard builds
2022-03-11 10:29:40 +11:00
Darcy Wong
1e2939f82e
Update android/KMAPro/kMAPro/src/main/res/values/strings.xml
Co-authored-by: Marc Durdin <marc@durdin.net>
2022-03-11 06:21:07 +07:00
Eberhard Beilharz
4cad24cac3
chore(linux): Fix lintian warnings 2022-03-10 20:30:44 +01:00
Keyman Server
0521a76233
Merge pull request #6359 from keymanapp/auto/version-beta-15.0.212
auto: increment beta version to 15.0.212
2022-03-11 05:49:55 +11:00
Keyman Build Agent
a64ead9287 auto: increment beta version to 15.0.212 2022-03-10 13:49:17 -05:00
Marc Durdin
faff0e2aef fix(common): address review comment
Don't specify wine as kmcomp launcher if a custom kmcomp is provided on
the command line.
2022-03-11 05:42:08 +11:00
Marc Durdin
c177f142d3 fix(common): allow custom keyboard builds
This allows for custom builds of keyboards, e.g. where a keyboard is
manually constructed for testing purposes.
2022-03-11 05:23:37 +11:00
Marc Durdin
0023841ee4 chore(web): address review comments 2022-03-11 04:40:53 +11:00
Marc Durdin
ada527bd80 fix(web): bounding rect offset was incorrect
When embedding the On Screen Keyboard into a page, the calculation for
the bounding rectangle only took into account the first offsetParent,
which meant it would get the offset incorrect when there were multiple
layers of offsetParents.

Once I changed to using getAbsoluteX / getAbsoluteY, this also corrects
for scroll with window.pageOffsetY, so we can eliminate that special
case for fixed positioning.

This was observable in the Web Developer test window, where interaction
with the bottom row of the keyboard in touch mode was not working
correctly, in 15.0.210-beta.
2022-03-11 04:34:36 +11:00
Darcy Wong
c3c8c219d7 chore(android/engine): Tweak handling globe key 2022-03-10 19:41:03 +07:00
rc-swag
514e585f88
Merge pull request #6187 from keymanapp/fix/windows/imsample-null-pointer-checks
fix(windows): add null pointer checks imsample keyboard
2022-03-10 19:15:38 +10:00
Marc Durdin
455ce98dcc
Merge pull request #6353 from keymanapp/chore/common/cleanup-sh-color-globals
chore(common): cleanup sh global color variables
2022-03-10 19:39:28 +11:00
Darcy Wong
6a622b4255 fix(android/engine): Activate menu on globe longpress before release 2022-03-10 15:24:21 +07:00
Darcy Wong
193f7bd370 chore(common): Update caps_3620_3621 to fileVersion 15.0 2022-03-10 14:03:29 +07:00
Darcy Wong
b213c3b829 fix(android/engine): Test fileVersion during package install 2022-03-10 13:15:59 +07:00
Marc Durdin
e1e82aacce fix(web): add test keyboards 2022-03-10 13:33:21 +11:00
Marc Durdin
f355722191 fix(web): back out caps lock and refix
The Caps Lock change I made in the previous commit broke
desktop Caps Lock handling. The fix was a little more
convoluted. Turns out that _UpdateVKShift is also pretty
crufty. I simplified it, removing dead code.
2022-03-10 13:31:06 +11:00
Marc Durdin
9cabb7cd66 fix(web): add obolo_chwerty_6351 test keyboard 2022-03-10 13:31:05 +11:00
Marc Durdin
d879c1e3f6 fix(web): caps state tracking for touch
Selecting the new Caps Lock `caps` layer was not correctly setting the
layer state in the key event to `caps`, which caused Caps Lock rules
to fail to match.
2022-03-10 13:31:04 +11:00
Darcy Wong
e0992a49fa
Merge pull request #6346 from keymanapp/fix/fv/android/prediction-toggle-crash
fix(oem/fv/android): Check keyboard exists before registering a model
2022-03-10 07:29:29 +07:00
Keyman Server
180be96644
Merge pull request #6354 from keymanapp/auto/version-beta-15.0.211
auto: increment beta version to 15.0.211
2022-03-10 11:26:57 +11:00
Keyman Build Agent
64abc2914b auto: increment beta version to 15.0.211 2022-03-09 19:26:21 -05:00
Marc Durdin
78f33f45eb
Merge pull request #6352 from keymanapp/feat/common/build-test-keyboards
feat(common): build test keyboards via script
2022-03-10 10:57:37 +11:00
Marc Durdin
6e1e7e8e7e chore: additional scripts 2022-03-10 10:26:15 +11:00
Marc Durdin
9f153ecc17 chore(common): cleanup sh global color variables
Some of the global color variables in shellHelperFunctions.sh were a
little dangerously named. This cleans that up and removes a couple of
redundant functions from other locations.

mac/bashHelperFunctions.sh should be removed and replaced with
references to shellHelperFunctions.sh -- but I wanted to leave that for
a separate branch.
2022-03-10 10:12:09 +11:00
Marc Durdin
0fb2a371a3 feat(common): build test keyboards via script
Relates to #5815.

build.sh is a new script that builds any or all of the keyboards in the
common/test/keyboards folder. build.bat is a wrapper for build.sh, just
for Windows CMD.

Assumes that kmcomp.exe has already been built or allows you to specify
your own kmcomp.exe if necessary.
2022-03-10 08:40:55 +11:00
Marc Durdin
6c04a11ef3 fix(developer): add obolo_chwerty_6347 for testing 2022-03-10 08:40:12 +11:00
Eberhard Beilharz
e6cf0327b7
chore(linux): Small improvements
- output error if more than one ibus-daemon is running
- log Keyman version after starting km-config
2022-03-09 18:37:59 +01:00
sgschantz
1c3a6035ca disable lexical model 2022-03-09 13:24:19 +07:00
sgschantz
a4a09220c8 added title to details page 2022-03-09 13:24:19 +07:00
sgschantz
300e1c1d39 final data format, multi-dictionary support, correct default states for options 2022-03-09 13:24:19 +07:00
sgschantz
c944b55883 support for lexical model settings, fixes switch control update issues, moves keyboard list refresh to viewDidAppear 2022-03-09 13:24:19 +07:00
sgschantz
e670bda512 disable dictionary settings when no dictionary is available 2022-03-09 13:24:19 +07:00
sgschantz
cc55bcf80d activate lexical model, save enabled keyboards to UserDefaults and remove disabled keyboards 2022-03-09 13:24:18 +07:00
sgschantz
4cb5c90584 enable and disable keyboards and download lexical models 2022-03-09 13:24:18 +07:00
sgschantz
be58aeed93 rework details page and disable option switches when keyboard is disabled 2022-03-09 13:24:18 +07:00