Commit graph

33096 commits

Author SHA1 Message Date
Eberhard Beilharz
b328d82145
Merge pull request #9221 from keymanapp/chore/linux/tests
chore(linux): Trigger Linux integration tests
2023-07-11 10:50:30 +02:00
Marc Durdin
b435471b24 feat(developer): add sentry reporting for kmc
Fixes #9113.

Adds sentry reporting, plus helper functions, for kmc. Includes the
now-standard `-sentry-client-test-exception` command line parameter,
with `kmcmplib` and `event` sub-options available.

Uploads kmc* sourcemaps to sentry on a release build.

On Windows, honours the registry setting for error reporting. Also
includes a command line option `--[no-]error-reporting` (must be used
prior to initial command, e.g. `kmc --no-error-reporting build ...`).
2023-07-11 15:45:41 +07:00
Eberhard Beilharz
847556b176
Merge pull request #9193 from keymanapp/chore/update-data
chore: Update standards data
2023-07-11 08:59:25 +02:00
Eberhard Beilharz
4f686e3fb4
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-11 08:58:44 +02:00
Marc Durdin
d5aeecd7d3 chore(developer): suppress excessive messages in kmc
Fixes #9147.
2023-07-11 12:55:19 +07:00
Marc Durdin
53e2ae0ac2 fix(developer): touch layout font test should be lower case
Fixes #9110.

Also, `!=` has higher precedence than `??`.

This returns a boolean result:

```
(platform.font?.toLowerCase() ?? '') != FTouchLayoutFont
```

But `!=` has higher precedence than `??` so this returns the font name:

```
platform.font?.toLowerCase() ?? '' != FTouchLayoutFont
```
2023-07-11 12:34:11 +07:00
Marc Durdin
31083c2ed3 chore(developer): unit test for compilerWarningsAsErrors
Also adds inverse option -W, --no-compiler-warnings-as-errors
command line parameter.
2023-07-11 12:14:51 +07:00
Marc Durdin
804215145f chore(developer): handle compilerWarningsAsErrors option
Fixes #9100.

The `compilerWarningsAsErrors` option can be passed in as a command-line
option or in the project options. Command-line option, if present, takes
precedence over the project option. If neither is set, then the value is
`false`.

Handling of this is within kmc, rather than individual modules.
2023-07-11 10:16:41 +07:00
Marc Durdin
02a1c48d18 chore(developer): add --color switch to kmc
Fixes #9233.

Adds --color and --no-color switches to kmc command line, with default
being determined by console mode.

Also ensures color initialization happens just once in
NodeCompilerCallbacks and moves constants to top of file.
2023-07-11 06:25:21 +07:00
Keyman Server
b4df4ab808
Merge pull request #9232 from keymanapp/auto/version-master-17.0.138
auto: increment master version to 17.0.138
2023-07-11 01:03:24 +07:00
Keyman Build Agent
51283f9b35 auto: increment master version to 17.0.138 2023-07-10 14:02:48 -04:00
Eberhard Beilharz
fce123e942 Revert "fix(windows): Fix Delphi makefile"
This reverts commit 88c2e1a4f2.
2023-07-10 11:31:51 +02:00
Marc Durdin
acb2e2e1ff chore(developer): split file and project build messages 2023-07-10 15:36:39 +07:00
Marc Durdin
de1c171f46 chore(developer): cleanup compiler messages in kmc
Fixes #8795.
Relates to #9090.

Cleans up and makes consistent compiler messages in kmc, and related
unit tests.

Adds support for colorized messages.

After installing chalk for ansi coloring in kmc, @types/node needed to
be brought in sync with the Typescript version, per the suggestion of
checking against `npm dist-tags @types/node`,found in a discussion at
https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/64262#discussioncomment-4905069

Additional tidying up includes:
* Deprecating a set of functions in compiler-interfaces, bringing them
  together under a new CompilerError class.
  Separating CompilerErrorSeverity and CompilerErrorMask enums.
* Making CompilerError.formatEvent (formerly compilerEventFormat) print
  messages in the same format as NodeCompilerCallbacks (sans coloring).
* Adding a wrapper class for CompilerCallbacks that manages the filename
  reporting, used currently exclusively by kmc itself.
2023-07-10 15:13:48 +07:00
Joshua Horton
c25eb2958e
Merge pull request #9206 from keymanapp/fix/web/layout-warning-during-init
fix(web): silences low-priority warning that shows up in iOS kbd init
2023-07-10 15:09:15 +07:00
Joshua Horton
71f045fdc5
Merge pull request #9217 from keymanapp/feat/web/enhanced-debug-info
feat(web): logs enhanced debug info for error reports
2023-07-10 15:08:14 +07:00
Joshua A. Horton
2523b41a9d chore(web): DRYs out timedPromise defs 2023-07-10 14:35:52 +07:00
Joshua A. Horton
1f338bae99 change(web): better adherence to official Promise terms 2023-07-10 14:35:44 +07:00
Joshua A. Horton
a32412410b feat(web): adds TimeoutPromise 2023-07-10 13:03:30 +07:00
Marc Durdin
0e822e12bd
Merge pull request #9218 from keymanapp/chore/merge-master-into-feature-kmc-kmw-A17S16
chore: merge master into feature-kmc-kmw A17S16
2023-07-10 14:04:30 +10:00
Marc Durdin
6113d2fea6
Merge pull request #9225 from keymanapp/chore/9224-authenticate-gh-for-trigger-test-builds
chore: authenticate github request when triggering test builds
2023-07-10 12:19:38 +10:00
Marc Durdin
2d8fb8cda9 chore: authenticate github request when triggering test builds 2023-07-10 09:10:04 +07:00
Marc Durdin
7e8ba8bad3 chore(developer): fixup test parameters 2023-07-10 08:52:59 +07:00
Joshua A. Horton
43f05ee4f1 docs(web): about silenced warning 2023-07-10 08:35:11 +07:00
Joshua Horton
57b2c5e0f1
Merge pull request #9220 from keymanapp/chore/feature-gestures-update-a17s16-end
chore(web): merge master into feature-gestures (end of A17S16)
2023-07-10 08:13:56 +07:00
Marc Durdin
fe21f136b3
Merge pull request #9219 from keymanapp/chore/merge-master-into-feature-macos-core
chore: merge master into feature-macos-core A17S16
2023-07-10 11:04:44 +10:00
Keyman Server
8372c949f2
Merge pull request #9222 from keymanapp/auto/version-master-17.0.137
auto: increment master version to 17.0.137
2023-07-08 01:03:11 +07:00
Keyman Build Agent
5706c4ce7c auto: increment master version to 17.0.137 2023-07-07 14:02:36 -04:00
Eberhard Beilharz
94c0681078
chore(linux): Trigger Linux integration tests 2023-07-07 18:46:16 +02:00
Eberhard Beilharz
74643d39ed
chore(linux): Add unit tests for dconf_util.py
Tests were generated by ChatGPT (although it didn't get it quite
right - was missing the parameter in `self.settings.reset`).
2023-07-07 18:29:31 +02:00
Eberhard Beilharz
12378de02c
chore: Consolidated readme
This change adds a consolidated readme for the standards-data that
lists the sources (with commands how to update) and the current
versions.
2023-07-07 16:46:37 +02:00
Steven R. Loomis
90eeb2aecf
Merge pull request #9196 from keymanapp/core/9118-spec-markers-epic-ldml 2023-07-07 07:44:50 -05:00
Eberhard Beilharz
0394b2ea8a
fix(windows): Fix Windows tests
This change adjusts the Windows tests to the updated data in
`langtags.json`.
2023-07-07 12:59:37 +02:00
Eberhard Beilharz
e450e645ff
Merge pull request #9212 from keymanapp/chore/linux/tests
chore(linux): Add support for `--no-integration` flag to build files
2023-07-07 10:21:27 +02:00
Joshua A. Horton
42f0aeb190 chore: Merge branch 'master' into chore/feature-gestures-update-a17s16-end 2023-07-07 12:39:05 +07:00
Joshua Horton
31c76aa081
chore(web): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-07-07 11:34:50 +07:00
Steven R. Loomis
b8b0dd78da
Merge pull request #9197 from keymanapp/core/9120-core-uset-epic-ldml
feat(core): kmxplus uset implementation in core 🙀
2023-07-06 23:01:15 -05:00
Marc Durdin
88af5f4d73 chore: Merge branch 'feature-macos-core' into chore/merge-master-into-feature-macos-core 2023-07-07 09:57:15 +07:00
Darcy Wong
8ca90f5123
Merge pull request #9214 from keymanapp/chore/crowdin-update-ckl
chore(common): Update crowdin strings for Kibaku
2023-07-06 21:56:02 -05:00
Marc Durdin
5c0f0e87a8 chore: Merge branch 'feature-kmc-kmw' into chore/merge-master-into-feature-kmc-kmw-A17S16 2023-07-07 09:53:34 +07:00
Joshua A. Horton
e8fbafe194 feat(web): logs enhanced debug info for error reports 2023-07-07 09:40:02 +07:00
Steven R. Loomis
4950f741f8 spec(core): marker spec 🙀
- switch from PUA to U+0001 based indices
- add some notes from comments (discussion ongoing)
2023-07-06 16:50:35 -05:00
Steven R. Loomis
4c096b7574
Update core/src/ldml/C9134_ldml_markers.md
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2023-07-06 16:32:56 -05:00
Steven R. Loomis
bab22c8ca3
Merge branch 'master' into core/9118-spec-markers-epic-ldml 2023-07-06 16:32:34 -05:00
Steven R. Loomis
d8198085ad
Merge branch 'master' into core/9120-core-uset-epic-ldml 2023-07-06 16:19:45 -05:00
Keyman Server
4a53cf60c9
Merge pull request #9216 from keymanapp/auto/version-master-17.0.136
auto: increment master version to 17.0.136
2023-07-07 01:31:49 +07:00
Keyman Build Agent
7c736caaf6 auto: increment master version to 17.0.136 2023-07-06 14:31:10 -04:00
Eberhard Beilharz
f095593cd5 fix(windows): Adjust to new version of langtags.json
The new version of `langtags.json` added a new `_conformance` record
at the top of the file. This change adjusts the indexes where we expect
the `_version` record. It also introduces a const for the index of the
version record to make future updates easier.
2023-07-06 20:12:32 +02:00
Eberhard Beilharz
88c2e1a4f2 fix(windows): Fix Delphi makefile
In order to be able to build from the command line I had to change
the forward slashes to backslashes in the makefile.
2023-07-06 20:12:32 +02:00
Steven R. Loomis
1360b2b2d3 Merge remote-tracking branch 'upstream/master' into core/9120-core-uset-epic-ldml 2023-07-06 13:00:43 -05:00