Commit graph

21264 commits

Author SHA1 Message Date
Marc Durdin
c20a670f91 chore(developer): handle unknown file extensions in file types
Projects can contain any type of file, but the fromFilename file type
utility function would only handle known source and binary file types.
2023-08-02 12:32:07 +07:00
Marc Durdin
d8e03e0695 chore(developer): refactor KeymanDeveloperProjectFile
Turns KeymanDeveloperProjectFile into an interface, and removes
redundant data in filename and fileType fields, calculating these from
filePath instead. Maintains separate KeymanDeveloperProjectFile10 and
KeymanDeveloperProjectFile20 classes implementing the base interface for
now, although that may be a target for future consolidation (lowpri).
2023-08-02 12:05:48 +07:00
Marc Durdin
48c0f09872 chore(developer): use getFileType() instead of fileType
Ensures that we calculate the file type instead of using stored data,
which is a lot cleaner. Means we ignore the filetype field in the .kpj
xml, which is fine.

We should do the same with filename vs filepath.
2023-08-02 11:50:35 +07:00
Marc Durdin
eb23e68be6
Merge pull request #9378 from keymanapp/chore/developer/minor-patches
chore(developer): minor patches to fix compile issues 🗜
2023-08-02 13:39:54 +10:00
Marc Durdin
29c7857a1a
Merge pull request #9379 from keymanapp/chore/gha
chore: add run-name to deb-packaging 🗜
2023-08-01 19:52:51 +10:00
Marc Durdin
2c1724da44 chore(linux): touch linux so we get a build 2023-08-01 16:37:29 +07:00
Marc Durdin
c47e72b555 chore: add run-name to deb-packaging 2023-08-01 16:00:12 +07:00
Marc Durdin
41aac59a4a chore(developer): minor patches to fix compile issues
Fixes #9377.

1. ldml_transforms.cpp used emplace_back with char instead of dword
   values (#9377)
2. import was updated to src/ instead of ../ by vscode in build.ts
   (no related issue)
2023-08-01 13:27:31 +07:00
Marc Durdin
d045e18897
Merge pull request #9350 from keymanapp/refactor/developer/projectLoader-projectReader
refactor(developer): projectReader to depend on projectLoader 🗜
2023-08-01 13:45:16 +10:00
Marc Durdin
038db7b1dd
Merge pull request #9348 from keymanapp/fix/developer/support-sourcePath-for-model-info
fix(developer): support sourcePath in .model_info files 🗜
2023-08-01 13:45:09 +10:00
Marc Durdin
7701868b63
Merge pull request #9336 from keymanapp/feat/developer/introduce-kmc-keyboard-info
feat(developer): implement kmc keyboard_info compiler 🗜
2023-08-01 13:45:02 +10:00
Marc Durdin
e247bb02dd chore(developer): address review comments 2023-08-01 10:44:21 +07:00
Marc Durdin
ab4e12426a chore(developer): rename projectReader to projectRunner 2023-07-31 15:59:26 +07:00
Marc Durdin
246c02ea31 chore(developer): address review comments 2023-07-31 15:59:00 +07:00
Steven R. Loomis
b012499528
Merge pull request #9345 from keymanapp/fix/common-9139-kmxplus-align-structs-epic-ldml
fix(core): tag KMXPlus file-based structs with alignment 🙀
2023-07-26 13:21:59 -05:00
Marc Durdin
4e5a359c84
Merge branch 'fix/developer/support-sourcePath-for-model-info' into refactor/developer/projectLoader-projectReader 2023-07-26 19:25:12 +10:00
Marc Durdin
5aa1c17297
Merge branch 'feat/developer/introduce-kmc-keyboard-info' into fix/developer/support-sourcePath-for-model-info 2023-07-26 19:24:54 +10:00
Marc Durdin
c9e1e82a76
Merge branch 'feature-kmc-kmw' into feat/developer/introduce-kmc-keyboard-info 2023-07-26 19:24:34 +10:00
Marc Durdin
810f0a04ee chore(developer): npm install 2023-07-26 14:57:08 +07:00
Marc Durdin
52869e0d15
Merge pull request #9323 from keymanapp/chore/developer/move-keyman-targets-to-common
refactor(developer): move keyman-targets.ts to common/web/types 🗜
2023-07-26 17:37:41 +10:00
Marc Durdin
4bdb3cc9c8 refactor(developer): projectReader to depend on projectLoader
Fixes #9349.
2023-07-26 12:59:01 +07:00
Marc Durdin
eab760c890 fix(developer): support sourcePath in .model_info files 2023-07-26 12:26:20 +07:00
Marc Durdin
bda6ba1adc chore(developer): further kmc-keyboard-info infrastructure 2023-07-26 12:02:09 +07:00
Marc Durdin
9d6f417b8d chore(developer): fixup keyman-targets use
Also fixes git attributes for khmer_angkor.js test fixture
2023-07-26 11:49:48 +07:00
Marc Durdin
393951ce8e
Merge branch 'chore/developer/move-keyman-targets-to-common' into feat/developer/introduce-kmc-keyboard-info 2023-07-26 14:34:40 +10:00
Marc Durdin
a2d45c00c7 chore(common): address review comments 2023-07-26 11:32:38 +07:00
Marc Durdin
7f5e0756d2
Merge pull request #9306 from keymanapp/chore/developer/9305-use-kmc-messages-for-errors-in-kmc-model-info
chore(developer): use kmc messages for kmc-model-info 🗜
2023-07-26 09:48:17 +10:00
Marc Durdin
e9d552d7c1
Merge pull request #9318 from keymanapp/chore/merge-master-into-kmc-kmw-a17s17
chore: merge master into feature-kmc-kmw (A17S17) 🗜
2023-07-26 09:47:22 +10:00
Steven R. Loomis
b0b83b4e50 fix(core): tag KMXPlus file-based structs with alignment 🙀
Fixes: #9139
2023-07-25 18:14:22 -05:00
Marc Durdin
2465d99556 chore(developer): langtags.js not langtags.ts 2023-07-26 05:55:26 +07:00
Marc Durdin
54eddf5782 chore(developer): add kmc-analyze makefile 2023-07-25 15:22:24 +07:00
Marc Durdin
95d7be292c chore(developer): dep ref for kmc-keyboard-info configure 2023-07-25 15:11:44 +07:00
Marc Durdin
b369fbb89b feat(developer): implement kmc keyboard_info compiler
Fixes missing components of the kmc-keyboard-info compiler and
integration into kmc. Lots of cleanup making sure that the compiler
actually generates expected output against the keyboards repository.
2023-07-25 14:21:58 +07:00
Marc Durdin
3cc0f37e1b feat(developer): introduce kmc-keyboard-info
Adds kmc-keyboard-info module and a basic unit test for it. Integration
into kmc is next step.
2023-07-24 10:41:12 +07:00
Marc Durdin
039dda63ec chore(developer): use keymanTargetsFromString in kmc-package 2023-07-24 09:02:48 +07:00
Marc Durdin
1bfd9e64ae refactor(developer): move keyman-targets.ts to common/web/types
Also adds unit test. Prep for use in kmc-keyboard-info.
2023-07-24 08:59:04 +07:00
Marc Durdin
2c16f68d07 chore(developer): fixup broken import 2023-07-21 12:09:17 +07:00
Marc Durdin
1810434b34 chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-kmc-kmw-a17s17 2023-07-21 10:09:33 +07:00
Marc Durdin
e99288a9a6 chore(developer): remove errant baseUrl tsconfig 2023-07-21 09:53:13 +07:00
Marc Durdin
f89507aedf
Merge pull request #9303 from keymanapp/fix/developer/9302-double-add-of-keyboard_info
fix(developer): don't add .keyboard_info twice 🗜
2023-07-21 12:39:27 +10:00
Marc Durdin
7c1d2e04e2
Merge pull request #9301 from keymanapp/fix/developer/9296-9297-9298-9299-9300-compiler-warning-tweaks
fix(developer): kmc warnings tidyup 🗜
2023-07-21 12:39:20 +10:00
Marc Durdin
887bea8289
chore: address review comments
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2023-07-21 12:39:02 +10:00
rc-swag
a8c5a44635
Merge pull request #9295 from keymanapp/fix/windows/9044/links-to-pdf
fix(windows): open pdf in an external browser
2023-07-21 11:56:41 +10:00
Eberhard Beilharz
f9896756f6
Merge pull request #9310 from keymanapp/fix/linux/logging
fix(linux): Fix logging
2023-07-20 22:48:52 +02:00
Keyman Server
cd5dc1e900
Merge pull request #9315 from keymanapp/auto/version-master-17.0.145
auto: increment master version to 17.0.145
2023-07-21 01:03:49 +07:00
Keyman Build Agent
85b1df33d7 auto: increment master version to 17.0.145 2023-07-20 14:03:00 -04:00
Eberhard Beilharz
50a9500c2a
Merge pull request #9312 from keymanapp/fix/linux/9213_Error-after-uninstall
fix(linux): Reword error if uninstalling non-existent keyboard
2023-07-20 18:35:09 +02:00
Eberhard Beilharz
ea469710d3
Merge pull request #9313 from keymanapp/refactor/linux/user
refactor(linux): Use better way to get username
2023-07-20 18:34:36 +02:00
Eberhard Beilharz
2f25d198f4
fix(linux): Output not connected ibus as info instead of warning
There is nothing the user can do, and it's usually irrelevant
(except when troubleshooting).
2023-07-20 11:11:43 +02:00
Eberhard Beilharz
8a34a5d6ce
refactor(linux): Some refactorings 2023-07-20 11:09:55 +02:00