Commit graph

1251 commits

Author SHA1 Message Date
Steven R. Loomis
8c86aff8dd
Merge branch 'beta' into chore/resources/10900-ldml-45 2024-03-04 08:25:38 -06:00
Steven R. Loomis
6d2ae221af chore(core,developer,resources): ldml update out of techpreview 🙀
- further fixes
2024-03-04 08:21:45 -06:00
Steven R. Loomis
a0a57289f0 chore(resources): ldml update out of techpreview 🙀
- update to cldr 40fa7fd5b074a203581d04ca0c0b004ab9aa491b (main) - alpha1+
- includes patch for bn

Fixes: #10900
2024-03-02 22:40:38 -06:00
Marc Durdin
d1aef64460 chore(developer): deploy compiler messages to help site
Fixes #10889.

This involved a bit more refactoring to help-keyman-com.sh in order to
allow for multiple paths to be uploaded.

I opted _not_ to move the entire Keyman Developer documentation into
this repository, partly because a number of pages are still in PHP
rather than Markdown.
2024-03-01 11:01:47 +07:00
Steven R. Loomis
f4328866b7 fix(resources): patch to bn.xml data 2024-02-28 17:22:30 -06:00
Steven R. Loomis
828369c8a9 fix(resources): support xmlns on keyboard3
- add xmlns to schema manually

For: chore(developer): support xmlns on keyboard3 files 🙀  #10803
2024-02-27 17:58:21 -06:00
Steven R. Loomis
db32e409db chore(resources): update to latest LDML
- maybe last 'techpreview' update

Unblocks: chore(developer): support xmlns on keyboard3 files 🙀  #10803
Unblocks: chore(developer): rename unicodeSet to uset 🙀  #10657

For: #10803
2024-02-27 17:23:53 -06:00
Marc Durdin
99e5b1951e feat(developer): publish api documentation to help.keyman.com
Relates to #10207.
2024-02-26 13:48:32 +07:00
Marc Durdin
d7411ec4c4 fix(developer): version string matches for sentry
Fixes two things:
* $VERSION_GIT_TAG was being misinterpreted by mkver as
  $VERSION + "_GIT_TAG". This has been addressed by making the $VERSION
  match the last one in the replaceVersionStrings_Mkver function, and
  also have moved to using the newer $VersionGitTag and $Environment
  vartiables instead.
* The 'dist' property was being set in sentry-cli sourcemap uploads,
  though we never set the dist prop when we initialize sentry.
2024-02-22 11:48:56 +07:00
Marc Durdin
2ce3bb4fbd chore: add from and to params to increment-version 2024-02-15 13:12:56 +07:00
Marc Durdin
fdc2cd438e chore: workaround release inc build block
Fixes #10721.

This arose partly because of the change from release- to release@ in at
17.0.30-alpha (triggered by sentry req). Will require a corresponding
patch to CI script to pass the --from and --to parameters.
2024-02-15 12:51:02 +07:00
Eberhard Beilharz
ba2db9fd58
chore(linux): Don't set VERSION_TAG to …-local in .deb packages
Previously we didn't detect that we were building a .deb package on
Launchpad or a Debian server, so we set VERSION_TAG to end in `-local`.
This change now checks the `KEYMAN_PKG_BUILD` environment variable which
will be set during .deb package builds (set in `debian/rules`). The
downside of this solution is that now `-local` also gets omitted if
we build a .deb package on a local dev machine, but that probably doesn't
happen too often, and even less often with modified source code. The
majority of builds where we want `-local` are local builds that get
installed locally, and those cases are covered by this change. And what
is more important is that for release builds we no longer append `-local`.
2024-02-08 16:45:07 +01:00
Marc Durdin
09e971d3ca chore: tweak script for stability 2024-02-01 16:16:19 +07:00
Marc Durdin
7c8003a0f7 chore(common): cancel earlier builds when new test builds triggered
Fixes #10590.

Cancels existing running or queued test builds on TeamCity when a new
build is started for the same 'branch' (aka branch or PR).

Does not touch release builds or other projects -- only touches
recognized test build configurations.
2024-02-01 16:02:23 +07:00
Marc Durdin
ef798afd57 chore(developer): add unicode-license.txt for ldml keyboards data
Fixes #10491.

Called unicode-license.txt in order to disambiguate.
2024-01-31 09:28:42 +07:00
Steven R. Loomis
eb39bba374 chore(developer,core): change sample and test files to use \u{…} 🙀
- #10389 will require this, but at least change the test files

#10319
2024-01-15 17:27:41 -06:00
Steven R. Loomis
afd0eb172c fix(common): give warning if emcc.py is present but not executable
- change the common emscripten locator to warn if $EMCC  or $EMSCRIPTEN_BASE/emcc.py is present but not executable
- emscripten v3.1.50 via homebrew seems to be not executable
2023-12-20 18:25:53 -06:00
Steven R. Loomis
3e33abf8ab
Merge branch 'feat/core/9450-backspace-epic-ldml' into feat/core/9707-tertiary-reorder-epic-ldml 2023-11-16 15:38:53 -06:00
Steven R. Loomis
934dd45e1c
Merge branch 'master' into feat/core/9468-marker-normalization-epic-ldml 2023-11-16 15:37:33 -06:00
Eberhard Beilharz
a5f2d5fc96
fix(linux): Fix packaging GHA
For some reason with some PR builds we got an incorrect base ref. This
change makes better use of the information that GitHub provides and so
should work around the problem.
2023-11-16 22:15:25 +01:00
Steven R. Loomis
f7566c7356 feat(core): ldml tertiary reorder 🙀
- implemented tertiary reordering
- reinstated bengali reordering!
- fixed reordering to be longest-first (by sorting the list before applying)
- updated debug logging

Fixes: #9707
2023-11-16 12:31:08 -06:00
Steven R. Loomis
2163c1d692
Merge branch 'master' into feat/core/9468-marker-normalization-epic-ldml 2023-11-15 17:10:03 -06:00
Eberhard Beilharz
0f5b88d56a
Merge pull request #10009 from keymanapp/fix/linux/improveGHATrigger
fix(linux): Improve triggering of packaging GHA
2023-11-15 10:20:13 +01:00
Steven R. Loomis
0841afb5a1
Merge branch 'master' into feat/core/9468-marker-normalization-epic-ldml 2023-11-15 00:37:38 -06:00
Marc Durdin
b8dcc1b43d
Merge branch 'master' into feat/developer/9948-load-xml-ldml-files 2023-11-15 13:46:52 +11:00
Eberhard Beilharz
c3750a6edc
fix(linux): Improve triggering of packaging GHA
We now pass the SHA for the base ref. Hopefully this will fix the failures
with API verification.
2023-11-14 18:50:15 +01:00
Steven R. Loomis
0f0c036451 chore(resources): ldml bn: add a test case 🙀
- this sequence failed when run as a system kbd: (qfqf)

Related to: #9916
2023-11-14 07:27:27 -06:00
Eberhard Beilharz
0303a81eb8
chore(linux): Merge branch 'master' into chore/linux/9801_coreversion 2023-11-13 19:14:31 +01:00
Eberhard Beilharz
afc63278b8
chore(linux): Address code review comments 2023-11-13 18:14:55 +01:00
Eberhard Beilharz
5cc027b3b5
Merge pull request #9968 from keymanapp/fix/linux/trigger
fix(linux): Fix trigger for baseline tests
2023-11-08 13:44:17 +07:00
Eberhard Beilharz
71c9cda362
fix(linux): Fix trigger for baseline tests
When the baseline tests change we want to trigger a Linux build.
2023-11-08 12:26:48 +07:00
Eberhard Beilharz
32f3074273
chore(linux): Fix GHA triggering
When we build a PR on TC we use `pull/ID/head` for the build, not
`pull/ID/merge`, i.e. the tip of the feature branch and not a merge
with the base branch. This means that during the build `pull/ID/merge`
is unknown. This change modifies the trigger to use `pull/ID/head` for
GHA builds as well.

It's still a mystery why `pull/ID/merge` was known to builds in most
cases but failed for some PRs.
2023-11-08 10:42:30 +07:00
Marc Durdin
1d3cb5eb4b chore(common): ldmlKeyboard3.dtd 2023-11-08 05:48:24 +07:00
Eberhard Beilharz
0967e120d3
Merge branch 'master' into chore/linux/9801_coreversion 2023-11-04 21:49:33 +07:00
Steven R. Loomis
791a9aea44
Merge pull request #9919 from keymanapp/chore/developer/9838-cldr44-moredata-epic-ldml
feat(common): ldml update to WIP cldr data 🙀
2023-11-03 12:29:51 -05:00
Eberhard Beilharz
8c508051b7
Merge pull request #9865 from keymanapp/chore/linux/9548_manualTrigger
chore(linux): Improve repository_dispatch 🎬
2023-11-03 10:12:07 +07:00
Steven R. Loomis
09411eba33 feat(common): ldml update to WIP cldr data 🙀
- bn-bengali with a basic test
- fr-optimise
- note: disabling bengali reorders for now, not working properly due to tertiary reordering feat(core): tertiary reorders 🙀  #9707

For: #9916
2023-11-02 17:44:14 -05:00
Eberhard Beilharz
517c300abc
chore(linux): Revert to repository_dispatch
This addresses code review comments. Also add readme how to manually
trigger a GHA build, e.g. for testing changes to the GHA.
2023-11-02 22:42:49 +07:00
Marc Durdin
0448fbd681 chore: include ci/pull-requests.inc.sh for help uploads 2023-10-31 04:50:28 +07:00
Marc Durdin
6c00656849 chore(common): unify pull-request creation scripts
Fixes #9886.
2023-10-30 06:22:52 +07:00
Steven R. Loomis
a45dc5c345 chore(developer): ldml update to prefinal v44 🙀
-  fix binary size issue
- upstream: issue in abnt2 sample keyboard

For feat(developer): ldml re-sync with CLDR v44 spec 🙀  #9838
2023-10-26 18:21:56 -05:00
Eberhard Beilharz
30250e3d8d
chore(linux): Enhance GHA API check
This change adds additional checks for the symbols file:

- if a line with a method name gets changed, the package version number
  in that line also needs to be updated
- for major API changes (methods renamed or removed) the API version
  numbers needs to be incremented
- the API version numbers in the .symbols file and in `CORE_API_VERSION.md`
  need to match
2023-10-26 18:04:43 +02:00
Eberhard Beilharz
1a2a85affd
chore(linux): Use workflow_dispatch instead of repository_dispatch
This makes it possible to manually trigger workflow runs.

Closes #9548.
2023-10-26 17:16:05 +02:00
Steven R. Loomis
5dbda001fc chore(common,core): ldml update to prefinal v44 🙀
- common passes tests
- updated data files

For feat(developer): ldml re-sync with CLDR v44 spec 🙀  #9838
2023-10-24 14:47:22 -05:00
Steven R. Loomis
2fa0e8c509 chore(resources): ldml update to prefinal v44 🙀
- 022ff3ce172735f4a251003b1f429528deab44b3
- no corresponding CLDR tag at present, hopefully soon.

For feat(developer): ldml re-sync with CLDR v44 spec 🙀  #9838
2023-10-24 08:05:15 -05:00
Marc Durdin
4f44ac6e2a fix: path for ESM increment-version, and exit code
* Fixes the path for the increment-version module
* Uses exit code 50 instead of 1 to indicate 'success, but no change',
  so that low-value error exit codes as used by node.js don't
  indavertently continue the build
2023-10-11 09:39:03 +07:00
Marc Durdin
e511e3910e
Merge pull request #9731 from keymanapp/chore/builder-inc-sh-cleanup
chore: clean up a few minor discrepancies in builder.inc.sh
2023-10-11 13:09:36 +11:00
Marc Durdin
f61e65ceb9
Merge pull request #9736 from keymanapp/chore/merge-master-into-package-metadata
chore: merge master into package-metadata
2023-10-11 11:28:07 +11:00
Marc Durdin
b33f476c8d chore: clean up a few minor discrepancies in builder.inc.sh
- Some uses of `KEYMAN_ROOT` (not cross-repo compatible)
- `set -eu` and `SHLVL` now set there as well
2023-10-10 16:36:24 +07:00
Steven R. Loomis
900fb7d706 fix(common): fix schema fixer 🙀
- keyboardTest3 didn't get a fix that had applied to keyboard[3]
- regenerate using the exact same CLDR

Fixes: #9683
2023-10-09 14:23:25 -05:00