Commit graph

4688 commits

Author SHA1 Message Date
Marc Durdin
8150f36b09
Merge pull request #14651 from keymanapp/fix/developer/13903-offset-compiler-error-line
fix(developer): remove incorrect offset for compiler error line
2025-09-02 11:29:12 +02:00
Marc Durdin
5f64033603
docs(developer): Update developer/docs/help/context/new-project-parameters.md
Co-authored-by: rc-swag <58423624+rc-swag@users.noreply.github.com>
2025-09-02 05:38:03 +02:00
Marc Durdin
5df9e70a31 fix(developer): add clear messages about validation failures to New LM Project Parameters form
Apply new FormValidation to New Lexical Model Project Parameters form.

Follows: #14658
2025-09-01 17:07:36 +02:00
Marc Durdin
21cae0d7de fix(developer): add clear messages about validation failures to New LDML Project Parameters form
Apply new FormValidation to New LDML Project Parameters form.

Follows: #14657
2025-09-01 15:21:24 +02:00
Marc Durdin
7de860276e docs(developer): additional formatting for New Keyboard Project Parameters 2025-09-01 15:21:11 +02:00
Marc Durdin
9c656808bf chore(developer): tweak wordwrap on validation fields 2025-09-01 14:25:18 +02:00
Marc Durdin
a9ed458bdc docs(developer): update New Project Parameters dialog
Update the Description, refresh other fields, and use the new dialog
layout.
2025-09-01 14:10:15 +02:00
Marc Durdin
d61bcf23da fix(developer): add clear messages about validation failures to New Project Parameters form
Add a new FormValidation class to help make a consistent declarative
field validation pattern for Keyman Developer forms, and apply that
initially to the New Keyboard Project Parameters dialog. This pattern
replaces the earlier EnableControls pattern; ideally we will replace
validation in other forms with similar validation requirements with this
over time.

Fixes: #14169
2025-09-01 13:40:40 +02:00
Marc Durdin
c36c3eb943 change(developer): update SIL logo
Fixes: #14116
Test-bot: skip
2025-09-01 08:13:43 +02:00
Marc Durdin
2ec7ad4dd4
Merge pull request #14650 from keymanapp/fix/developer/14348-handle-failure-to-create-dest-path-in-new-keyboard-project
fix(developer): handle failure to create destination path when generating new project
2025-08-31 06:37:03 +02:00
Marc Durdin
d73b31fae5 chore(developer): update tests to match 2025-08-30 07:10:36 +02:00
Marc Durdin
c4a45e2739 fix(developer): remove incorrect offset for compiler error line
Fixes: #13903
2025-08-30 06:43:40 +02:00
Marc Durdin
f8ce6c0ed1 fix(developer): handle failure to create destination path when generating new project
Add better error handling for situation where destination path cannot be
created, for all project types. Also report back the Windows error
message which hopefully clarifies why the directory could not be
created.

Fixes: #14348
Fixes: KEYMAN-DEVELOPER-1P1
Fixes: KEYMAN-DEVELOPER-2SN
Test-bot: skip
2025-08-30 06:15:11 +02:00
Marc Durdin
7a3e50596d fix(developer): handle missing model id in package with compiler error
If a `<LexicalModel>` element is found with a missing or empty `<ID>`
element, the compiler will now report `ERROR_MissingModelId` instead of
crashing. The corresponding check for missing `<ID>` for `<Keyboard>`
element has been updated to match this, and now reports a clearer error
message of `ERROR_MissingKeyboardId` rather than depending on the
side-effect of looking up the keyboard in the `<File>` elements.

Fixes: #13783
Fixes: KEYMAN-DEVELOPER-2X7
Test-bot: skip
2025-08-30 05:46:53 +02:00
Eberhard Beilharz
68c9a77884
refactor(common): unify name of What's New file
Standardize on `whatsnew.md`.

Build-bot: skip
Test-bot: skip
2025-08-29 12:54:25 +02:00
SabineSIL
8def93726f
Merge branch 'epic/kmc-convert' into feat/developer/kmc-convert 2025-08-28 21:09:43 +02:00
Marc Durdin
87cfcc6cbb chore(developer): update kmc-convert build.sh with new includes and names 2025-08-28 15:28:20 +02:00
Marc Durdin
ebba34f9a7 chore(developer): use builder-full for kmc-convert 2025-08-28 14:39:55 +02:00
Marc Durdin
fb12662429
Merge branch 'epic/kmc-convert' into chore/merge-master-into-kmc-convert 2025-08-28 10:47:04 +02:00
SabineSIL
5152b1a586
Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-addTests 2025-08-25 15:29:32 +02:00
Sabine
b94c336796 feat(developer): move callbacks.reportMessage 2025-08-25 15:24:49 +02:00
Sabine
d5996b9b4f feat(developer): layout of error-msg 2025-08-25 10:57:38 +02:00
Sabine
57c01ae038 remove unused function 2025-08-25 10:41:02 +02:00
Sabine
ff4e7c98f3 feat(developer): solve merge conflicts 2025-08-25 10:37:08 +02:00
Meng-Heng
b8be6d585a docs: update package-editor page section details tab 2025-08-22 11:53:47 +07:00
Marc Durdin
00b98f2286 fix(windows): emit nunit report path correctly and update TeamCity links
* Windows and Developer sources
* Fixes the report path to be fully qualified
* Adds the TeamCity report logger to remaining DUnitX automated tests

Fixes: #14197
Build-bot: skip build:windows,developer
Test-bot: skip
2025-08-20 07:21:03 +02:00
SabineSIL
4dbdf7ec83
Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-useArtifacts 2025-08-19 18:10:44 +02:00
Sabine
d8be6966f5 feat(developer): import KeylayoutXMLSourceFile 2025-08-19 17:35:03 +02:00
Marc Durdin
81c807c257 chore(common): Merge branch 'master' into maint/common/14453-move-ci-scripts 2025-08-19 10:46:11 +02:00
SabineSIL
fb766023a0
Merge branch 'epic/kmc-convert' into feat/developer/kmc-convert 2025-08-19 08:49:50 +02:00
Sabine
406391c16e feat(developer): rename writeData_Stores() -> write_KmnFileHeader() 2025-08-15 13:35:29 +02:00
Sabine
12b17e45ee feat(developer): add tests for lower-level functions 2025-08-14 13:38:07 +02:00
SabineSIL
c505a5cf43
Merge branch 'feat/developer/kmc-convert' into feat/developer/kmc-convert-useArtifacts 2025-08-13 12:51:59 +02:00
Sabine
ff9b70ba0a feat(developer): kmc-convert nits from review: typo and Layout of ErrorMessages 2025-08-13 12:46:04 +02:00
Sabine
0291997f03 feat(developer):output of message re control character in C2, C3 rules 2025-08-13 11:03:25 +02:00
Marc Durdin
8054487c04
Merge pull request #14424 from keymanapp/docs/bcp47
docs: include more valid bcp 47 tags, add markdown alerts into docs, rephrase ISO 639
2025-08-13 10:53:42 +07:00
Sabine
84ac9c01a3 feat(developer): tests for kmn-file-writer 2025-08-12 20:13:10 +02:00
Keyman Server
a2b3215578
Merge branch 'epic/kmc-convert' into chore/merge-master-into-kmc-convert 2025-08-11 08:24:54 -07:00
Sabine
b729638216 feat(developer): test for NCAPS-> NCAPS 2025-08-09 19:50:19 +02:00
Sabine
0d38c05f1e feat(developer): tidy up, ''' -> "'" and tests 2025-08-09 19:48:56 +02:00
Sabine
1997a71e1c feat(developer): add and edit tests 2025-08-09 16:18:24 +02:00
Marc Durdin
f3fb3ac87b maint(common): move build-utils-ci.inc.sh to ci/ci-publish.inc.sh
Removes a number of unused functions from the file, renames remaining
functions to match our builder script prefix patterns, removes unused
imports from various build scripts (e.g. Android).

Fixes: #14453
2025-08-05 12:54:56 +10:00
Marc Durdin
acefdf281a maint(common): move typescript script functions into typescript.inc.sh
Fixes: #14448
Build-bot: build
Test-bot: skip
2025-08-03 07:01:57 +10:00
Marc Durdin
3530fece47
Merge branch 'maint/common/14065-consolidate-builder-scripts' into maint/common/14447-node.inc.sh 2025-08-02 11:02:21 +07:00
Marc Durdin
ebe7a137ea maint(common): fixup jedi build.sh builder-basic.inc.sh include
Fixes: #14065
2025-08-02 14:01:53 +10:00
Marc Durdin
2726050601 maint(common): rename and move node-related script functions into node.inc.sh
Consolidates the node-related script functions into node.inc.sh, as part
of cleaning up the build scripts and making them easier to maintain into
the future.

Fixes: #14447
2025-08-02 13:34:29 +10:00
Marc Durdin
47e21331dd maint(common): additional builder.inc.sh script renames
Fixes: #14065
2025-08-02 13:16:19 +10:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10:00
Sabine
f3d5cc4bd8 feat(developer): add tests 2025-08-01 18:54:24 +02:00