Commit graph

27982 commits

Author SHA1 Message Date
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
Keyman Server
349e144e59
Merge pull request #5315 from keymanapp/auto/version-master-15.0.72
auto: increment master version to 15.0.72
2021-06-19 04:02:34 +10:00
Keyman Build Agent
ef6ee0c7a9 auto: increment master version to 15.0.72 2021-06-18 14:01:49 -04:00
Darcy Wong
863e497d05 fix(web): Fix getUrlParameters() return 2021-06-18 21:21:17 +07:00
Darcy Wong
1ef4b4d238 fix(web): Use URLSearchParams
For handling promise-api test page parameters
2021-06-18 15:47:25 +07:00
Darcy Wong
9bbd8035e0 fix(web): Start addressing review comments 2021-06-18 15:26:54 +07:00
Darcy Wong
d1b76684a2
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-06-18 14:51:37 +07:00
Eberhard Beilharz
e1a5b1d727
Merge pull request #5304 from keymanapp/chore/linux/cherry/changelog
chore(linux): Update changelogs to match Debian 🍒
2021-06-18 09:05:12 +02:00
Marc Durdin
3bd754b230
Merge pull request #5233 from keymanapp/feat/common/wasm-infrastructure
feat(common): keyboard_processor wasm build
2021-06-18 16:09:56 +10:00
Keyman Server
45418a32b6
Merge pull request #5305 from keymanapp/auto/version-master-15.0.71
auto: increment master version to 15.0.71
2021-06-18 04:02:18 +10:00
Keyman Build Agent
8eebb30193 auto: increment master version to 15.0.71 2021-06-17 14:01:33 -04:00
Eberhard Beilharz
d29ad2d4ed
chore(linux): Update changelogs to match Debian
The changelogs should match what got uploaded (and accepted) to
Debian so that the changelog reflects the upload history to Debian.

(cherry picked from commit f91b52d3ea)
2021-06-17 15:19:39 +02:00
Marc Durdin
f6c9ae8089
Merge pull request #5298 from keymanapp/fix/developer/kmconvert-help
fix(developer): kmconvert help match reality
2021-06-17 17:50:47 +10:00
jahorton
7d69972cb4 fix(web): highlighting shouldn't flicker 2021-06-17 14:34:43 +07:00
Darcy Wong
d762c80125 chore(web): Adjust call in languageUnavailable 2021-06-17 13:08:44 +07:00