In order to resolve initialization order (see instigating property
`builder.lastPresentations`), split all constants into a separate object
`builderConstants`, inverting the dependency, which is both cleaner and
the first step of removing the multi-module initialization of a single
`builder` variable.
Take the @types/jquery and @types/jqueryui packages out of the
devDependencies and place the index.d.[c]ts files into the ext folder.
This is needed because of fragility elsewhere with implicitly imported
types, which is described for resolution in #16535. Keeping this as a
separate commit as preference would be to have these dependencies
managed through npm long-term.
See-also: #16535
Make minimal changes to Touch Layout Editor source files in order to
build with Typescript with noImplicitAny=false (to be cleaned up later).
Also make source files accessible through the web server for Developer
Console use.
Minimal changeover to esm, use tsc to build. Builds and runs. Installer
will still include source files and the editor should be moved outside
of the xml/ folder later.
Separate source javascript files from templates, assets, and xsl.
Will simplify future changes such as move to Typescript or serving
files from Server instead of internal web server. And just tidier.
removes comment
`TODO-KMC-CONVERT: Support <action> sub-element 'anonymous actions' in
the future`
from keylayout-xml.ts since this concept is not used in kmc-convert at
present and probably not planned to be worked on in near future
Test-bot: skip
This side-steps #8227 by removing an unnecessary confirmation dialog,
without needing to change exit codes from kmshell, which would be a more
impactful change. (Perhaps kmshell should return non-zero if the Cancel
button is pressed in the uninstall confirmation dialog, but don't want
to make that change at this point.)
Fixes: #8227
* Add more detail on each test name to show expected errors
* Rename `build-fixtures` action to `fixtures-build` in build.sh, to
reduce confusion with `build` action and allow shorthand usage.
Test-bot: skip
* Hint on multiple missing minDeviceWidth
* Disallow blank or whitespace minDeviceWidth value
* Additional tests for minDeviceWidth
Fixes: #16457
Test-bot: skip
* kmcmplib messages need to use a standard pattern for parameters, which
cannot be named. Several of the messages had the wrong pattern
* Tidy up the kmn-compiler-messages module and make it more consistent
to reduce risk of this happening in the future
* Add a unit test to further verify the structure of the module as far
as possible
Fixes: #16492
Test-bot: skip
The underlying issue may be in the node-hide-console-window component.
This fix is adequate in my view, for a low-use code path.
Fixes: #9694
Test-bot: skip
When TIKE deactivates, any undocked tool windows retain their
WS_EX_TOPMOST exstyle, which means they stay on top of other
applications. To be polite, remove the topmost style when Keyman
Developer is deactivated - and set it on again when Keyman Developer is
reactivated, so that the windows continue to behave as expected
otherwise.
Fixes: #10562
Test-bot: skip
Printing has not been supported from Keyman Developer for quite some
time. This does not appear to have been raised as a user issue. Remove
printing support, and cleanup user interface. As a side-effect, this
will fix#11249, as Delphi's printer support will no longer poll for
default printer on start.
Fixes: #11249
Server lacks tests at present. Removing version-data tests as no longer
relevant meant that there were no tests! So, added environment tests
which relate to changes in #16476.