Commit graph

2682 commits

Author SHA1 Message Date
Marc Durdin
b4b53aa341 fix(developer): QR Code for Package Editor had wrong path 2022-07-12 15:07:03 +10:00
Marc Durdin
870d1c8598 fix(developer): readonly groups should never emit output
Fixes #6799.

For KeymanWeb compiled keyboards, readonly groups should never emit any
output. Rules in these groups permitted only to:
  * `use` other readonly groups
  * `call` external functions (which MUST NOT emit output)
  * `set`, `reset` or `save` store values

The base kmx compiler does emit output for rules in readonly groups.
Thus, the KeymanWeb compiler, when it transpiles from the generated
.kmx, needs to omit output for any readonly group, while avoiding any
other potential change in behaviour.
2022-06-30 06:54:50 +10:00
Ross
9dcffdb904 fix(windows): BCP47tag is canonicalized in GetUserDefaultLanguage
The BCP47tag is canonicalized in GetUserDefaultLanguage.
Comments updated for the function to make developer aware.

Comments added to GetKeyboardLanguage to make clear that it
can actuall Add/Set a langague in the com object.
2022-06-08 15:35:59 +10:00
Marc Durdin
3766eac305
Merge pull request #6691 from keymanapp/fix/developer/install-keyboard-quote-kmshell-path
fix(developer): install keyboard call should quote kmshell.exe path
2022-06-03 09:45:39 +10:00
Marc Durdin
48a4d8c2ec fix(developer): kmcomp package compiler race condition
Fixes a race condition when compiling multiple packages, where the
temp path may be re-used before the compiler has finished with it.

To take advantage of this fix, I wanted to make sure I was using the
right kmcomp.exe when building unit tests for Keyman Core. This
uncovered a couple of other things:

* Updates Keyman Core build infrastructure to use the current kmcomp.exe
  rather than a system-installed one.
* Corrects a bug that was identified by the 15.0 version of kmcomp in
  one unit test (duplicate `&NAME` stores -- the meson test script
  prepends a `&NAME` store to each source file during build).

@keymanapp-test-bot skip
2022-06-02 14:37:01 +10:00
Marc Durdin
8fe7234e1d
fix(developer): install keyboard call should quote kmshell.exe path 2022-06-01 15:33:44 +10:00
rc-swag
b90f22f578
Merge pull request #6580 from keymanapp/fix/windows/6571/ctrl-alt-keys-not-working
fix(windows): use GlobalGetAtomName to access global list
2022-05-17 11:00:50 +10:00
Darcy Wong
7c3de5bbc3 chore(common): Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-pl 2022-05-11 14:28:50 +07:00
Darcy Wong
9c8cbb2362
Merge pull request #6592 from keymanapp/chore/common/crowdin-it
chore(common): Add crowdin strings for Italian
2022-05-10 20:46:32 +07:00
Darcy Wong
7773cdfe22 chore(common): Add crowdin strings for Polish 2022-05-09 12:41:36 +07:00
rc-swag
f6a2e5df65
Merge pull request #6491 from keymanapp/fix/windows/1864/dont-reset-defaults-upgrade
fix(windows): Don't reset defaults on Keyman upgrade
2022-05-09 15:35:06 +10:00
Darcy Wong
384f8befcb chore(common): Add crowdin strings for Italian 2022-05-09 11:04:12 +07:00
Darcy Wong
04985017ab
Merge pull request #6562 from keymanapp/chore/common/crowdin-ff-2
chore(common): Update Crowdin strings for Fula
2022-04-29 14:15:08 +07:00
Ross
ba72b3929d fix(windows): use GlobalGetAtomName to access global list
Incorrectly calling the the local atom list which meant
the flag isKeymanKeyboardActive was always false.
2022-04-29 15:34:48 +10:00
Ross
6b5c0fad24 fix(windows): remove white space 2022-04-28 20:44:33 +10:00
Ross
13b72e0ba5 fix(windows): removed debug logging 2022-04-28 13:58:49 +10:00
Ross
a52f9c59e9 fix(windows): add continuesetup flag
We can not set the InstallDefalults flag entirely in the
bootstrapmain.pas. Because we do not yet have the Msi Version info.
So we need to do that in RunTools.pas. However, we need to know
if this is continuing set up after a reboot, as we don't look at
previous version info if it is, as it would have been removed.
This is why the ContinueSetup flag has been made available to Runtools
2022-04-27 11:31:31 +10:00
Darcy Wong
e3e8e63a27 chore(common): Update Crowdin strings for Fula 2022-04-25 14:34:44 +07:00
Darcy Wong
9836c343b4 chore(windows): Remove stray gt mark 2022-04-25 10:41:10 +07:00
Darcy Wong
629dfd6848 docs(windows): Update OS and whatsnew in help 2022-04-25 10:33:42 +07:00
Ross
b7ed7c1974 fix(windows): add install defaults flag to cmd line
The install defaults flag will set the registry values
to their default values.

This flag can also be used by the installer itself when it needs to
do a restart to continue installing. It can check to see if this is
a fresh install or an upgrade and set the flag accordingly.
2022-04-20 15:19:43 +10:00
Darcy Wong
55a81fde70
Merge pull request #6532 from keymanapp/chore/common/crowdin-bwr-ng
chore(android,windows): Update crowdin strings for bwr-NG
2022-04-18 15:19:57 +07:00
Darcy Wong
34a3b15ac1 chore(windows): Update crowdin strings for bwr-NG 2022-04-14 09:40:13 +07:00
Darcy Wong
64aa5f80b7 chore(windows): Remove incorrect bwr-NT locale 2022-04-14 09:21:33 +07:00
Darcy Wong
1e42d360c6
Merge pull request #6509 from keymanapp/chore/common/crowdin-pt
chore(common): Add Crowdin strings for Portuguese (pt-PT)
2022-04-14 06:11:02 +07:00
Darcy Wong
6b2a71a76e
Merge pull request #6501 from keymanapp/chore/common/crowdin-km-spacebar
chore(common): Update km strings
2022-04-11 15:12:19 +07:00
Darcy Wong
243361f052
Merge pull request #6508 from keymanapp/chore/common/crowdin-az-2
chore(common): Update Crowding strings for Azerbaijani
2022-04-11 07:42:31 +07:00
rc-swag
4c3d81db86
Merge pull request #6392 from keymanapp/fix/windows/5996/no-keystrokes-emoji-input
fix(windows): framework for switching of pipeline
2022-04-08 16:16:34 +10:00
Darcy Wong
f0e41833c4 chore(common): Add Crowdin strings for Portuguese 2022-04-08 11:36:18 +07:00
Darcy Wong
8770c705cb chore(common): Update Crowding strings for Azerbaijani 2022-04-08 10:01:23 +07:00
Marc Durdin
c679117991 fix(windows): don't log before checking nil when installing keyboard 2022-04-08 11:09:11 +10:00
Darcy Wong
91038ef6f2 Merge remote-tracking branch 'origin/beta' into chore/common/crowdin-km-spacebar 2022-04-08 06:28:18 +07:00
Ross
951a17d372 fix(windows): only check for any previous version installed
There was a time, pre version 11 when the Product version GUID was
the same between versions. That is no longer the case.
Now we only set defaults if no previous installed version exists.
2022-04-07 11:22:43 +10:00
Marc Durdin
cbe8810a6d fix(developer): handle exception on unpaired surrogate
Fixes #6480.
2022-04-07 10:47:13 +10:00
Marc Durdin
4c60319266
Merge branch 'beta' into feat/developer/6462-duplicate-store-group-definitions 2022-04-04 19:35:01 +10:00
Marc Durdin
5a8064ef4e
Merge branch 'beta' into fix/developer/5472-kmconvert-check-parameters 2022-04-04 19:32:42 +10:00
Marc Durdin
10ec7fbc2f
Merge pull request #6466 from keymanapp/fix/developer/2748-icon-editor-font-color
fix(developer): icon editor font color now follows fgcolor
2022-04-04 19:30:04 +10:00
Marc Durdin
551dbe4cdf
Merge pull request #6465 from keymanapp/feat/developer/2749-icon-editor-clear-all-button
feat(developer): add Clear All button to icon editor
2022-04-04 19:29:54 +10:00
Marc Durdin
348036c703
Merge pull request #6445 from keymanapp/feat/developer/194-check-filename-case
feat(developer): check filename case consistency when compiling keyboard
2022-04-04 19:29:22 +10:00
Marc Durdin
7f914c9e82
Merge pull request #6440 from keymanapp/feat/developer/355-unreachable-code
feat(developer): hint on unreachable code
2022-04-04 19:29:13 +10:00
Darcy Wong
e6f8939721 chore(common): Update in-app help versions to 15.0 2022-04-04 11:52:13 +07:00
Marc Durdin
ce67954d20 fix(developer): icon editor font color now follows fgcolor
Fixes #2748.

Note that transparent text is not supported for ClearType or antialiased
modes.
2022-04-04 10:24:14 +10:00
Marc Durdin
e9e5d285af feat(developer): add Clear All button to icon editor
Fixes #2749.

Adds a Clear All button which does the same as Edit/Clear Selection.

At the same time, fixes the Clear code for transparent background
colours; previously, clear all with transparent background gave a black
fill.
2022-04-04 09:29:31 +10:00
Marc Durdin
55561b3d34 fix(developer): improves More Help link for icon tool
Fixes #2750.

This tweaks the More Help link to open the correct part of the Keyboard
Editor help page. Goes together with keymanapp/help.keyman.com#526.

The context help data needs a consolidated rewrite. This does not
attempt to touch that, nor does it attempt to add more contextual help
links for any other part of the Developer IDE. That is work for another
day...
2022-04-04 09:25:43 +10:00
Marc Durdin
3e6f416bfa feat(developer): check for duplicate store/group names
Fixes #6462.

The compiler will now produce an error if a store() or group() name is
re-used, as this is invalid.
2022-04-04 08:08:28 +10:00
Marc Durdin
10b81d56ba
Update windows/src/developer/kmcmpdll/Compiler.rc
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-04-03 06:39:48 +10:00
Marc Durdin
5dcd95da41
Merge pull request #6449 from keymanapp/feat/developer/5063-multiple-virtual-keys
feat(developer): keep Virtual Key Identifier dialog open on Insert
2022-04-01 07:32:53 +11:00
Darcy Wong
5bcac1b1bf chore(common): Update crowdin strings for km 2022-03-31 20:59:07 +07:00
Marc Durdin
674ff3a711 fix(developer): update kmconvert command line call 2022-03-31 12:11:47 +11:00
Marc Durdin
67a02a4a93 fix(developer): make sure unit tests stop build on error 2022-03-31 11:39:09 +11:00