Commit graph

33096 commits

Author SHA1 Message Date
Keyman Build Agent
34f783cc14 auto: increment master version to 15.0.74 2021-06-23 14:02:01 -04:00
Eberhard Beilharz
f9985aadd5
Merge pull request #5345 from keymanapp/fix/linux/issue-5343
fix(linux): Improve error handling if `lang_tags_map.py` is missing
2021-06-23 17:36:09 +02:00
Eberhard Beilharz
b9b1ff8a95
fix(linux): Improve error handling if lang_tags_map.py is missing
If the developer forgot to run `make` to create `lang_tags_map.py`
we now print a message instead of reporting to Sentry.

Fixes #5343
2021-06-23 17:09:59 +02:00
Darcy Wong
f46d06907a fix(web): Update ErrorStub type 2021-06-23 21:32:17 +07:00
Marc Durdin
4f35657126 fix(windows): osk scaling mismatch on horz axis
Font scaling on individual keys would ignore the vertical axis if the
horizontal axis reached the key width threshold, rather than calculating
the minimum of the two axes. This lead to weird effects, such as adding
characters to a key could make the font larger rather than smaller!

Reported by @jmdurdin.
2021-06-23 19:32:05 +10:00
Darcy Wong
359eabec2f feat(web): Merge keyboard stub with error stub 2021-06-23 16:19:37 +07:00
Darcy Wong
b68ed7f874 fix(web): revert assigning default attachType 2021-06-23 13:58:48 +07:00
Eberhard Beilharz
9a407c2981
Merge pull request #5326 from keymanapp/feat/linux/issue-4419
feat(linux): Auto-generate reference help
2021-06-23 08:46:02 +02:00
Eberhard Beilharz
c923476a40
Update linux/keyman-config/build-help.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-23 08:45:49 +02:00
Darcy Wong
9c4170bba6 fix(web): Handle blank attachType 2021-06-23 12:43:34 +07:00
Marc Durdin
1376dc62d2
Merge pull request #5337 from keymanapp/chore/windows/add-engine-test-framework
chore(windows): add engine test framework
2021-06-23 15:04:56 +10:00
Marc Durdin
0ebe6c9e12 refactor(android): setKeyboard and setKeymanLanguage
This refactors the cross-boundary call to `setKeymanLanguage` to use
JSON wrapping for the content. This is (a) safer, and (b) less mucking
around anyway.
2021-06-23 13:41:07 +10:00
jahorton
69e7e586cd change(common/core/web): reorganizes new tests within suite 2021-06-23 09:59:21 +07:00
jahorton
fc9c204795 feat(common/core/web): fat-finger performance unit tests 2021-06-23 09:19:31 +07:00
Marc Durdin
bed0ab2296 chore: remove debug-tests configurations 2021-06-23 11:51:15 +10:00
Marc Durdin
4601dc2fe1 chore(windows): add engine test framework
This is a rudimentary start to having unit tests for keyman32.

At present, it will build only in win32/debug and requires you
to manually run make -DDEBUG beforehand. The tests currently
run in Visual Studio and are not integrated.
2021-06-23 11:48:42 +10:00
jahorton
10de0ae700 change(common/core/web): use of shorter arrow func from comment 2021-06-23 08:30:15 +07:00
jahorton
727f607827 change(common/core/web): thresholding Date.now() -> performance.now() 2021-06-23 08:28:37 +07:00
Marc Durdin
4e878664d4 docs: address review comments
* Move old notes into an old/ folder to clarify their pending removal
  and add a note to the top of each file.
* Cleanup macos.sh script to fix various issues.
2021-06-23 06:15:53 +10:00
Keyman Server
b897a3dadd
Merge pull request #5335 from keymanapp/auto/version-master-15.0.73
auto: increment master version to 15.0.73
2021-06-23 04:03:13 +10:00
Keyman Build Agent
c890e32b36 auto: increment master version to 15.0.73 2021-06-22 14:02:28 -04:00
Eberhard Beilharz
11bac65f4d
feat(linux): Add support for impish (Ubuntu 21.10) 2021-06-22 18:40:23 +02:00
Eberhard Beilharz
6454278269
fix(linux): add missing build dependency 2021-06-22 16:06:00 +02:00
Eberhard Beilharz
55f8f0ffdc
fix(linux): don't exclude all of buildtools from source package
For auto-generating help files we need `buildtools`, so we can't
exclude it from source package. Also, we now include our version
of `help2man`, so we no longer need it as a build dependency,
but instead directly depend on `perl`.
2021-06-22 14:55:05 +02:00
Eberhard Beilharz
0bca50f799
fix(linux): fix auto-generate help files during package build
During a package build we don't have access to `scripts/reconf.sh`.
However, we don't really need it since we already ran it before.
This change adds a `--no-reconf` flag that allows skipping
`reconf.sh`.
2021-06-22 09:09:14 +02:00
jahorton
56287dc688 chore(web): Merge branch 'master' into refactor/web/osk-subkey-promises 2021-06-22 14:05:28 +07:00
Joshua Horton
52d8d02a6d
Merge pull request #5321 from keymanapp/change/ios/setText-serialization
change(ios): setText now uses JSON serialization
2021-06-22 13:58:55 +07:00
Joshua Horton
260446a3e4
Merge pull request #5292 from keymanapp/refactor/web/osk-key-highlighting
refactor(web): osk key highlighting/preview behavior
2021-06-22 13:58:47 +07:00
Joshua Horton
05c319ebf4
Merge pull request #5291 from keymanapp/refactor/web/osk-keys
refactor(web): OSK key source-code reorganization
2021-06-22 13:58:39 +07:00
Eberhard Beilharz
190d10f996
Merge pull request #5323 from keymanapp/chore/linux/cherry/changelog
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu 🍒
2021-06-22 08:44:00 +02:00
jahorton
1f0b6f344f fix(web): adjustments per PR review comments 2021-06-22 13:21:49 +07:00
Marc Durdin
c6e6c2a225
chore: Apply suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2021-06-22 16:11:53 +10:00
Marc Durdin
23122b9fad
Merge pull request #5254 from keymanapp/fix/windows/keymanx64-controller-interface-stability
fix(windows): restore endpoints for interface stability
2021-06-22 14:11:55 +10:00
Marc Durdin
a0ca8ea9fc
Merge pull request #5328 from keymanapp/fix/mac/5316-kmp-inf-encoding
fix(mac): kmp.inf is windows-1252
2021-06-22 14:10:01 +10:00
Marc Durdin
86dc5ab47b
Merge pull request #5329 from keymanapp/fix/mac/5316-kmx-max-file-version
fix(mac): .kmx max file version is now 0x0E00 (14.0)
2021-06-22 14:09:53 +10:00
Marc Durdin
643d6da144 fix(mac): .kmx max file version is now 0x0E00 (14.0)
Fixes #5316.

Keyman for macOS did not recognise the updated version number 0x0E00,
which is version 14.0. There are no changes to the file format which
impact Keyman for macOS -- the only change is support for notany and
context for Keyman Engine for Web.
2021-06-22 07:10:39 +10:00
Marc Durdin
f56beba185 fix(mac): kmp.inf is windows-1252
Relates to #5316.

Keyman for mac is still reading from kmp.inf, but was treating it as
UTF-8. However, it is windows-1252 encoding. This was stopping Keyman
from loading the file due to the presence of a (C) symbol.

Keyman for mac *should* be loading kmp.json. This needs to be addressed
as a separate issues.
2021-06-22 07:08:08 +10:00
Eberhard Beilharz
004ab1d48a
feat(linux): Auto-generate reference help
Closes #4419
2021-06-21 18:32:36 +02:00
Eberhard Beilharz
1a63263d1e
feat(linux): Add help2man and help2md tools
help2man is an improved version of the tool available on Linux. It
has a few bugs fixed.

help2md is based on help2man and converts the python --help and
--version output to a markdown help page.
2021-06-21 16:55:13 +02:00
Eberhard Beilharz
ad858b48a9
chore(linux): Update man include file 2021-06-21 16:55:13 +02:00
Marc Durdin
4af39a58b0 docs: start consolidation of build config docs
As the build environment documentation is duplicated across each of the
Keyman platform projects, it has become somewhat convoluted and
inconsistent. This PR moves all the mac-based and shared documentation
into docs/build, with placeholders for Windows and Linux documentation
to be moved in the next PR.

The idea is that a developer can configure their box to build any of the
available projects for that platform (web and android build on all three
main dev platforms).

Keeping the build documentation in one place makes it much simpler to
keep it consistent and up-to-date as well, as well as keeping us aware
of potential dependency conflicts between projects.

The icing on the cake is the resources/devbox/macos/macos.sh script,
which I have tested and takes a bare metal mac box through to a full
Keyman development environment (except XCode, there's always something!)
2021-06-21 21:12:27 +10:00
Gunnar Hjalmarsson
194c697e17
chore(linux): Build also on riscv64 to facilitate migration on Ubuntu
(cherry picked from commit 5a58794f8f)
2021-06-21 11:41:36 +02:00
jahorton
4b0fe06196 change(ios): setText now uses JSON serialization 2021-06-21 16:04:54 +07:00
jahorton
2e0dff8594 feat(common/core/web): alternate generation uses windowed context, not full 2021-06-21 14:47:14 +07:00
jahorton
5e57840489 feat(common/core/web): adds basic time + prob thresholding for modeled fat-fingers 2021-06-21 11:04:07 +07:00
jahorton
946d6631cd feat(common/core/web): Mock-cloning optimization 2021-06-21 10:45:16 +07:00
Darcy Wong
ccc2ecaddb fix(web): Set optional properties in OptionType 2021-06-20 09:05:48 +07:00
Darcy Wong
473b0b44be fix(web): And attachType assignment 2021-06-19 07:44:55 +07:00
Darcy Wong
e7d35a798d fix(web): Fix attachType enumeration 2021-06-19 07:43:47 +07:00
Darcy Wong
221f50ac0d
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-19 07:24:55 +07:00