Fixes#2395. The popup menus in the project window would sometimes
be obscured because they would pop below the height of the window. This
PR changes the menu to pop up instead in those situations.
CI needs to build the model compiler from an alternate path because the
production build from npm can have files not in the development build.
This was causing CI errors such as:
kmlmc.wxs(170) : error LGHT0103 : The system cannot find the file
'C:\...\node_modules\.bin\node.ps1'.
Fixes#2402. This adds a menu to switch models in the web debugger.
It is likely that most users will have only a single model loaded but
we need this to complete the circle. It also gives a little more
visibility in the model debugging process to validate that you are
testing the expected model.
Fixes#2394. The show help checkbox was not working on
the Distribution tab of Project. Also tidies up, slightly,
the relevant js code with a new constant.
The .keyboard_info merge of `platformSupport` would not always give the
right result, for .js keyboards. We have a certain lack of information
in the .js which makes it a little tricky to determine precisely what
the set of supported platforms are. Thus, if we find a .js within a
.kmp, we'll assume it supports mobile; if we find a .js by itself,
we'll assume it supports web. (Thus, a keyboard that builds a .js
is assumed to always support web -- but not necessarily mobile now).
Some keyboards that have incorrectly added a .js into a package, e.g.
sil_cipher_music, will be marked as supporting mobile even though they
don't. The correct fix here is to remove the .js from the package for
that keyboard.
The focus code paths for Chromium frames (CEF4Delphi) were incorrect.
The return value for preventing focus on navigation events was
inverted, and then other code was attempting to work around this
inversion, wrongly. Fixed the root issue of the inverted test (it would
help if the parameter cefSetFocus was known as `Handled` rather than
`Result`!) and then the remaining code pathways became far simpler.
Fixes#2314.