- Jun 21, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
While .kvk includes a font color field, it is essentially unused. There was also some sort of support provided for font style in the KeymanWeb keyboard compiler, but this was never streamed into .kvk or .kvks files, so was always a no-op. Thus, this PR removes any semblance of support for font style and color from the .kvk and .kvks readers and writers. When we write the font color field which is present in .kvk, we always use the default TColor.clWindowText which is what the legacy Delphi-based writer would always have written. Also sorted out the default font size and name in the .kvk transform from .kvks, and in so doing cleaned up the basic.kvk and basic.js in LDML keyboard compiler to match what we are doing in the .kmn compiler.
-
- Jun 20, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
Moves kmc-kmw to being a sub-component of kmc-kmn, as it can never be independently instantiated anyway. Reorganized tests accordingly. Note that c8 is currently disabled for kmw-compiler, until we add unit tests for it.
-
- Jun 19, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
kmc-kmn calls into kmc-kmw to build .js when it is needed, rather than kmc-kmw depending on kmc-kmn. This means examining the `&targets` system store to determine which files need to be generated. This also implements the `&displayMap` rewrite for both .kvks and .keyman-touch-layout as part of the KMW compiler. I suspect that the next step is to place kmc-kmw into a subfolder of kmc-kmn, given they are part of the same process, and there is no practical way to separate out the .js generation from the .kmx generation.
-
Marc Durdin authored
-
- Jun 17, 2023
-
-
Marc Durdin authored
The &displayMap system store adds support for a mapping file that remaps the On Screen Keyboard files -- .kvks and .keyman-touch-layout, at compile time, to new ranges. This is specifically intended to resolve a limitation of unattached marks and diacritics which display inconsistently across platforms; this is described in more detail in issue #9031.
-
Marc Durdin authored
Moves common remapping code for the OSK rewriter into common/web/types so that it can be consumed by the kmn and kmw compilers soon. Also cleans up the command line instantiation of the analyze tools, although the rewrite tool is less likely to be used once we have the compiler integration in place.
-
- Jun 14, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
Refactoring, additional options for analyze, moving project scanning into kmc rather than kmc-analyze.
-
Marc Durdin authored
chore(developer): fixup merge bump
🗜
-
- Jun 13, 2023
-
-
Marc Durdin authored
-
Marc Durdin authored
chore(developer): complete error checking in kmc-analyze
🗜 -
Marc Durdin authored
chore(developer): prevent recursion when analyzing projects
🗜 -
Marc Durdin authored
feat(common): add file-types.ts module
🗜 -
Marc Durdin authored
-
Marc Durdin authored
chore(developer): merge kmc-kmw messages with kmc-kmn messages
🗜 -
Marc Durdin authored
-
- Jun 12, 2023
-
-
Marc Durdin authored
chore: merge master into feature-kmc-kmw A17S15
🗜 -
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
These two modules had duplicated messages from kmcmplib. Rewrites the kmc-kmw messages module to inherit from kmc-kmn and define message strings where necessary. While this refactor is not ideal, because it diverges slightly from the patterns of other message modules, and has a little bit of spaghetti import cross-modules, I think it is still a step in the right direction for consolidated message reporting.
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
-
Marc Durdin authored
chore(developer): refactor CompilerOptions
🗜 -
Marc Durdin authored
chore(developer): enable eslint for kmc-kmw
🗜 -
Marc Durdin authored
refactor(developer): import kmcmplib errors into kmc-kmn
-
Marc Durdin authored
feat(developer): kmc analyze osk-char-use
🗜 -
Marc Durdin authored
Now that we have the file type detection in place, we can replace existing references to the file extensions, where possible, with the constant declarations. While we could rely on TypeScript's typing to use string-based values, this helps us to avoid using file extensions directly in string transforms, regex, etc, and use the `KeymanFileTypes` alias instead. Note that only references in common/web, and kmc-* projects have been touched. References in other Developer projects have not been touched, as some of those are not yet ESM, so that needs to be addressed first.
-
Marc Durdin authored
-
Marc Durdin authored
This module is used for identification of Keyman source and binary file formats by file extension. It is not yet appropriate to use for constants; this will come in a future commit.
-
- Jun 10, 2023
-
-
Marc Durdin authored
LdmlCompilerOptions is now based on the shared CompilerOptions. Also fixes command line parameter inheritance for sub-commands.
-