Commit graph

27982 commits

Author SHA1 Message Date
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
sgschantz
49df3b2a05 connect most controls to keyboard state objects, call Keyman API to get lexical models array 2022-03-09 13:24:18 +07:00
sgschantz
48b7531b80 load all keyboards from kmp file at startup and store language tag to use for lexical model query 2022-03-09 13:24:18 +07:00
sgschantz
01d71c45d4 load help page when detail button tapped 2022-03-09 13:24:18 +07:00
sgschantz
4df86124c9 added keyboard detail view and replaced main keyboards list view 2022-03-09 13:24:17 +07:00
Marc Durdin
62b7d67d1e fix(developer): warn on ncaps usage inconsistency
If a developer has two rules where one includes CAPS and the other
does not include NCAPS, the CAPS rule may not be correctly matched. This
change warns them when this is the case.
2022-03-09 14:13:29 +11:00
Darcy Wong
1e6b4bce31 fix(oem/fv/android): Check keyboard exists before registering a model 2022-03-09 10:05:21 +07:00
Keyman Server
b2bb402259
Merge pull request #6344 from keymanapp/auto/version-beta-15.0.210
auto: increment beta version to 15.0.210
2022-03-09 08:44:08 +11:00
Keyman Build Agent
6852aaadb4 auto: increment beta version to 15.0.210 2022-03-08 16:43:31 -05:00
Marc Durdin
cf9f755559
Merge pull request #6343 from keymanapp/chore/increment-version
chore: increment to 15.0.209
2022-03-09 08:32:28 +11:00
Marc Durdin
ecfc87d1fa chore: increment to 15.0.209 2022-03-09 08:29:44 +11:00
Marc Durdin
9d90ffbecc
Merge pull request #6342 from keymanapp/chore/linux/trigger
fix(linux): Fix trigger script
2022-03-09 08:20:18 +11:00
Eberhard Beilharz
92395ec1f6
fix(linux): Add some debug output 2022-03-08 17:43:19 +01:00
Eberhard Beilharz
364b84281c
fix(linux): Fix trigger script
The previous PR introduced a bug when run with `set -e` which this
change fixes.
2022-03-08 11:13:31 +01:00
Darcy Wong
9026cb7c59
Merge pull request #6341 from keymanapp/chore/android/engine/lists-typeface-normal
chore(android/engine): Remove bold styling in lists
2022-03-08 16:37:47 +07:00