Commit graph

33096 commits

Author SHA1 Message Date
sgschantz
1efce615f0 pass caps lock value to Keyman Core when processing keys 2023-08-22 10:13:59 +07:00
Steven R. Loomis
0455d2d14c
Merge branch 'master' into spec/core/8717-add-display-id-epic-ldml 2023-08-21 18:02:35 -05:00
Steven R. Loomis
b7f4a5481e
Merge pull request #9492 from keymanapp/fix/common/7377-usetfix-epic-ldml
fix(common): don't crash on illegal unicodesets 🙀
2023-08-21 18:02:22 -05:00
Keyman Server
dca781a287
Merge pull request #9500 from keymanapp/auto/version-master-17.0.164
auto: increment master version to 17.0.164
2023-08-22 01:03:12 +07:00
Keyman Build Agent
e59d531bf4 auto: increment master version to 17.0.164 2023-08-21 14:02:42 -04:00
Steven R. Loomis
90800acb6d
Update developer/src/kmc-ldml/src/compiler/messages.ts
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2023-08-21 11:36:35 -05:00
Darcy Wong
9189547a5c
Merge pull request #9469 from keymanapp/chore/web/ttf-3-0
chore(web): Update keymanweb-osk.ttf to v. 3.0
2023-08-21 03:14:17 -05:00
Joshua A. Horton
909331df62 feat(web): allows small fudge-factor before cancelling default 2023-08-21 12:22:52 +07:00
Joshua A. Horton
bf713d1043 fix(web): test resource package compilation 2023-08-21 12:16:22 +07:00
Joshua A. Horton
3adf4dc6eb fix(web): stuck base-key highlighting upon default selection 2023-08-21 11:41:44 +07:00
Joshua A. Horton
dc033b98bf docs(android): markers for sites to add default subkey handling code 2023-08-21 10:57:51 +07:00
Joshua A. Horton
d488f22fd9 feat(web): browser-KMW support for default subkeys 2023-08-21 10:42:06 +07:00
Steven R. Loomis
e20123cbf8 fix(common): don't crash on illegal unicodesets 🙀
- UnicodeSetItem was ignoring the error value from sizeUnicodeSet() and calling parseUnicodeSet with an invalid size
- it *is* an error, but should be handled properly.
- an error is already recorded in the callback

The symptom was an internal error where there should have been an error callback.

  2) vars
       should fail to compile: sections/vars/fail-uset-props1.xml:
     Error: Internal Error: uset returned error -1 for [:Adlm:]
      at new UnicodeSetItem
      at VarsCompiler.addUnicodeSet

For: #7377
2023-08-18 17:02:35 -05:00
Steven R. Loomis
b6855e121f feat(core): ldml: support <display id=...> in the 'disp' section 🙀
- "recent" addition to CLDR DTD

Fixes: #8717
2023-08-18 17:02:35 -05:00
Keyman Server
8ba198986f
Merge pull request #9491 from keymanapp/auto/version-master-17.0.163
auto: increment master version to 17.0.163
2023-08-19 01:03:19 +07:00
Keyman Build Agent
4a00a5039d auto: increment master version to 17.0.163 2023-08-18 14:02:49 -04:00
Sabine
48df423114 feat(linux): mcompile helper functions(write load/compare Vector of keys) 2023-08-18 19:08:52 +02:00
Sabine
515b42015c feat(linux): mcompile start importRules 2023-08-18 19:07:38 +02:00
Darcy Wong
5e315a69e3 test(web): Add test keyboard file 2023-08-18 14:52:33 +07:00
Marc Durdin
7fcf9a4d5e fix(common): builder_parse broke on option parameters
If you had an option with a parameter, e.g. "--outfile c,b", then the
"c,b" was being treated as a parameter for expansion, which caused it
to expand to e.g. "configure,build". Oops.
2023-08-18 14:35:28 +07:00
Darcy Wong
059c233b6a test(web): Add special characters to shift layer 2023-08-18 14:30:22 +07:00
Steven R. Loomis
c954c5fc28
Merge pull request #9482 from keymanapp/chore/resources/7042-update-ldml-post-pri-epic-ldml
chore(resources):  update CLDR to post-PRI 🙀
2023-08-17 22:35:26 -05:00
Darcy Wong
11712dc039 test(web): Add test page for keymanweb-osk.ttf 2023-08-17 20:32:13 -05:00
Marc Durdin
f80975716d chore: Merge branch 'epic/linux-mcompile' into chore/merge-master-into-epic-mcompile-a17s19 2023-08-18 08:21:37 +07:00
Marc Durdin
c42ab69819 chore(developer): seed epic branch 2023-08-18 08:09:17 +07:00
rc-swag
c8cd009f04
Merge pull request #9472 from keymanapp/fix/windows/share-keyboard-text-overflow
fix(windows): allow QR share box to grow to edge of default configuration parent window
2023-08-18 10:28:09 +10:00
Steven R. Loomis
e94aa4a9ba
Merge pull request #9483 from keymanapp/fix/common/9119-marker-test-fix-epic-ldml 2023-08-17 17:46:44 -05:00
Steven R. Loomis
9cb0cae51e Merge branch 'fix/common/9119-marker-test-fix-epic-ldml' into chore/resources/7042-update-ldml-post-pri-epic-ldml 2023-08-17 14:50:57 -05:00
Steven R. Loomis
0ea1211b72 fix(common): marker test 🙀
- common test lacked update from #9448

#9119
2023-08-17 14:48:50 -05:00
Steven R. Loomis
5eec7176c3 chore(resources): ldml update 🙀
- re-instate abnt2 keyboard
2023-08-17 14:18:53 -05:00
Steven R. Loomis
6e7be27a51 chore(resources): ldml update 🙀
- roughly 43 alpha0 plus a correction to French.
- for #7042  also neded for #8717
2023-08-17 14:15:43 -05:00
Marc Durdin
e9e7d5b85f chore(developer): optional lastCommitDate 2023-08-17 13:32:40 +07:00
Marc Durdin
6624b8b344 feat(developer): use git's last commit date for keyboard_info 2023-08-17 13:25:29 +07:00
Marc Durdin
3af9f6d610 chore(developer): fixup license vs graphic file error 2023-08-17 11:22:28 +07:00
Marc Durdin
e751a250a4 chore(common): fixup test for SkipMetadataFiles 2023-08-17 11:18:30 +07:00
Marc Durdin
b87667ac76 chore(developer): cleanup kmc-keyboard-info interface
Moves responsibility for loading .kps into kmc-keyboard-info, away from
the caller, and removes other fields with kmc-keyboard-info can
calculate by itself.

Have not moved project parsing into kmc-keyboard-info, because that's a
bigger job, as currently that is mostly happening within kmc itself. A
project for a future version I think.
2023-08-17 11:12:15 +07:00
Marc Durdin
fcf2b51c3e
Merge branch 'feat/developer/compile-without-source-keyboard-info' into feat/developer/keyboard-info-markdown 2023-08-17 13:28:41 +10:00
Marc Durdin
0d6894ad89 chore(developer): fixup call to KeyboardInfoCompiler 2023-08-17 10:28:18 +07:00
Marc Durdin
0e382ba642 chore(developer): fixup call to KeyboardInfoCompiler 2023-08-17 10:26:01 +07:00
Marc Durdin
72efe0cd5c feat(developer): markdown conversion for description in package editor 2023-08-17 10:17:52 +07:00
Keyman Server
057c69850b
Merge pull request #9475 from keymanapp/auto/version-master-17.0.162
auto: increment master version to 17.0.162
2023-08-17 01:03:11 +07:00
Keyman Build Agent
ee7624d3a9 auto: increment master version to 17.0.162 2023-08-16 14:02:38 -04:00
Steven R. Loomis
233c0d71d3
Merge pull request #9440 from keymanapp/feat/core/9121-regex-epic-ldml 2023-08-16 07:12:54 -05:00
Marc Durdin
47e05a7b05 feat(developer): build .keyboard_info without source .keyboard_info
Also fixes a file reference issue in kmpJson.options, where paths were
stripped too early in the process.

Removes a now-irrelevant unit test for keyboard_info.

TODO: markdown to html during the keyboard_info build.
2023-08-16 16:01:14 +07:00
sgschantz
f57b934257 use helper method for string to unichar string 2023-08-16 15:53:42 +07:00
Marc Durdin
a7f8123e56 feat(developer): support building .keyboard_info without source version
Relates to #9351.

Adds support for building a .keyboard_info file without having source
.keyboard_info file:

* Constructs a default source .keyboard_info in memory
* Hints if license is missing
* If LICENSE.md is present, verifies it matches the MIT license text
* Adds project option to turn on or off metadata generation. This will
  default to False for version 1.0 projects, and to True for version 2.0
  projects. This means that the keyboard repository will need a PR to
  enable metadata generation for existing projects in the repository,
  but this is important to avoid breaking builds for existing projects
  that are not in the repository.
* Turns on additional c8 coverage for kmc projects
2023-08-16 12:47:37 +07:00
Ross
05a234843c fix(windows): allow qr box to grow to edge of default
Allow QR box to grow if the caption box is bigger than
the english text. Still limit this to 130px if it grows
further than this then add a vertical scroll for the caption.

In testing no language actually causes the scroll bar to be
displayed. However using dummy text to test the overflow
shows that it will handle this should the translation ever
reach this length.
2023-08-16 14:52:10 +10:00
Marc Durdin
395b76df05 chore(developer): cleanup keyboard_info schema
* Removes font size
* Restricts font source to array
* Removes example
* Add examples
* Loosen structure of KeyboardExample
2023-08-16 09:26:39 +07:00
Marc Durdin
158bc28e85 feat(developer): add LicenseFile as property of package
Adds license file to .kps, kmp.json, kmc-package, package editor, and
new project templates. The intent is for LICENSE.md to be the file used,
and for any keyboards on keymanapp/keyboards, it should always be a
standard MIT license.
2023-08-16 09:13:38 +07:00
Darcy Wong
0ad17ccf2f chore(web): Update keymanweb-osk.ttf to 3.0 2023-08-16 06:28:30 +07:00