Commit graph

10 commits

Author SHA1 Message Date
Marc Durdin
0d4a6e428a fix(windows): base layout support in Keyman Core
While Keyman Core already supported the base layout flags, they were not
being passed in from Keyman Engine for Windows. This meant that any
rules that used `baselayout` would fail, such as in sil_ipa with AltGr+0
for }

0bf72bed74/release/sil/sil_ipa/source/sil_ipa.kmn (L348-L350)

This patch adds support for the following properties:

* KM_KBP_KMX_ENV_BASELAYOUT: the legacy base layout name, e.g. kbdus.dll
* KM_KBP_KMX_ENV_BASELAYOUTALT: the BCP 47 base layout name, e.g. en-US
* KM_KBP_KMX_ENV_SIMULATEALTGR: whether the user has selected to emulate
  AltGr with Ctrl+Alt, for example on laptops without a right alt key.
* KM_KBP_KMX_ENV_BASELAYOUTGIVESCTRLRALTFORRALT: whether the system base
  layout in use generates Ctrl+RAlt when RAlt is pressed, which can be
  true for many European system layouts. This is necessary when
  associating the keyboard with a European language because the base
  keyboard becomes the language's default keyboard, rather than kbdus.
2022-11-14 12:27:04 +11:00
Marc Durdin
d9e99d3040 chore(mac): update build env for monterey
Python2.7 is excluded from macOS Monterey, and is not available directly
via brew any longer. We still need it for now. pyenv does the job...
2022-03-22 13:50:34 +11:00
Steven R. Loomis
3658efa5f1 chore(common): remove rust (for now!) 🦀
Fixes #6290
2022-02-24 17:34:23 -06:00
Steven R. Loomis
bdc6e803dc feat(common/resources): echo in macos.sh setup script
- turn on echoing when we start doing stuff
- it is not too noisy, and tells the user what is really happening
- correct ~/.bashrc fix
- also, note the script name which added certain lines to ~/.bashrc

Fixes: #6244
2022-02-16 17:26:04 -06:00
Marc Durdin
d7c57cd15a chore: add keyman-local.com to iis https setup 2021-11-11 07:26:13 +11:00
Marc Durdin
2034818485 chore: address review comments 2021-06-30 13:03:30 +10: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
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
Marc Durdin
adff850ef4 chore: address review comments 2021-06-08 14:39:16 +10:00
Marc Durdin
8b8631ff5c chore(common): iis setup script for dev boxes 2021-06-01 09:10:00 +10:00