spiegel-keyman/common
Marc Durdin c3458d040c refactor(developer): move filename consistency check to kmc
kmcmplib no longer has any filesystem access, so it cannot verify if a
referenced filename in a source file has the same case as the actual
filename on disk (a risk when moving projects between platforms). So
I opted to move this to the `loadFile` callback in kmc, which is the
only place where filesystem is actually accessed, and added
corresponding unit test.

Small additional fixes here:

1. Move from `Buffer` to `Uint8Array` in all kmc-* modules, so that we
   remove that barrier to running on web.
2. Use `callbacks.loadFile` instead of `callbacks.fs.readFileSync`, so
   that we can be sure to run the filename consistency check.
3. Fixed kps parser silently swallowing xml errors on load.
4. Added silent mode to NodeCompilerCallbacks so we could cleanly test
   the new filename consistency hint.
5. Noted a location where we still have NodeJS deps in kmc-ldml.
2023-06-01 15:11:38 +07:00
..
include chore(core): move test_assert.h and test_color.h to common 2023-04-10 15:21:45 +07:00
linux chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00
mac chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00
models chore(common): add missing deps and files for npm publish 2023-04-12 14:05:05 +07:00
predictive-text fix(common): predictive-text unit_tests further builder_term fixes 2023-05-02 21:35:42 +10:00
resources chore(windows): address review comments 2022-06-16 04:47:53 +10:00
schemas feat(developer): support FollowKeyboardVersion in kmc-package 2023-04-21 14:04:06 +07:00
test refactor(developer): compiler interface part 1 for wasm 2023-05-23 15:26:28 +07:00
tools Revert "chore(web): merge master into feature-esmodule-web-engine (A17S9 end) 🧩" 2023-03-31 14:17:37 +11:00
web refactor(developer): move filename consistency check to kmc 2023-06-01 15:11:38 +07:00
windows Merge pull request #8870 from keymanapp/chore/developer/refactor-kmcmplib-interfaces 2023-05-31 13:28:30 +10:00
build.sh chore(common): run common and resources tests 2023-04-28 14:07:34 +07:00