Commit graph

4256 commits

Author SHA1 Message Date
Marc Durdin
b3da2164ec chore(developer): address review comments 2024-05-20 06:35:06 +07:00
Marc Durdin
8b6d6b0618 chore(developer): cleanup on build scripts
A round of cleanup and consistency for Developer build scripts.
2024-05-20 06:35:05 +07:00
Marc Durdin
4e679dcab4 chore(developer): SIGNTIME env var support
Also some more script cleanup and ensure common/core packages are also
published.
2024-05-20 06:35:02 +07:00
Marc Durdin
ee0fc0ce14 chore(developer): cleanup npm publish
Use a new flag `--npm-publish` in conjunction with `publish` action,
so that the default will always be to `npm pack` if the new flag is not
specified. This flag is also guarded in the actual npm publish code to
ensure that it can only run in the appropriate CI alpha/beta/stable
environment, and not in local or test.

This then also removes the separate `pack` action.

Also removes legacy boilerplate from a number of build scripts.
2024-05-20 06:34:57 +07:00
Marc Durdin
378cd72512 chore(developer): remove old inst makefiles 2024-05-20 06:34:55 +07:00
Marc Durdin
fa57d5c674 chore(developer): final work on build.sh for developer
Now builds from a clean repo:

  developer/src/build.sh configure build test publish

* Splits kmbrowserhost into kmdbrowserhost for Developer; this means
  that Developer Browser Host now inherits the Developer settings rather
  than the Keyman for Windows settings, and simplifies distribution and
  management. The only difference between the two is in the startup code
  so this seems like a good split.

* Cleanup of various build scripts and dependencies.
2024-05-20 06:34:53 +07:00
Marc Durdin
41df6d1cd7 chore(developer): refactor remaining build scripts
This finishes the changes for all build infrastructure for Keyman
Developer to use build.sh.
2024-05-20 06:34:50 +07:00
Marc Durdin
2d249cb8e6 chore(developer): cleanup test paths 2024-05-20 06:34:48 +07:00
Marc Durdin
c8a1c6aa39 chore(developer): use builder.inc.sh instead of build-utils.sh in build scripts
also, remove old Makefiles
2024-05-20 06:34:46 +07:00
Marc Durdin
2499ebf4bb chore(developer): move windows common Makefiles to build scripts
Relates to #11317.
2024-05-20 06:34:38 +07:00
Marc Durdin
86c62ff36c chore(developer): transition remaining projects to build.sh
Relates to #11317.

All projects now have a build.sh. Still need to work on inst/, remove
old Makefiles, and update CI.
2024-05-20 06:33:51 +07:00
Marc Durdin
8c14b20515 chore(developer): tike/build.sh 2024-05-20 06:33:49 +07:00
Marc Durdin
7ce07c71be chore(developer): move to build.sh for setup
Relates to #11317.

Initial baby steps for configuring build environment for Delphi and VC++
within build.sh without needing to call out to batch files.

Proof-of-concept build.sh for setup.dpr.
2024-05-20 06:33:48 +07:00
Dr Mark C. Sinclair
a099c86ad8 chore(developer): remove unnecessary use of local variable in three AddCompileError test cases 2024-05-16 11:49:43 +01:00
Dr Mark C. Sinclair
db257139fb chore(developer): refactor AddCompileError test to use const local variables 2024-05-16 11:39:56 +01:00
Dr Mark C. Sinclair
95b9986709 chore(developer): use GetCompilerErrorString to fetch error messages for tests 2024-05-16 11:11:44 +01:00
Dr Mark C. Sinclair
451731f5b1 chore(developer): move the msgproc stubbing into the test class 2024-05-16 10:50:23 +01:00
Joshua Horton
aa68c1755e
Merge pull request #11402 from keymanapp/chore/web/other-dependency-updates
chore(web): EventEmitter3, sinon dependency updates 🏃
2024-05-15 14:10:52 +07:00
Joshua Horton
887a47930f
Merge pull request #11318 from keymanapp/chore/web/chai-update
chore(web): updates chai, @types/chai dependencies 🏃
2024-05-15 14:10:27 +07:00
Dr Mark C. Sinclair
8e47082d20 chore(developer): add extra test cases to AddCompileError test 2024-05-14 10:58:33 +01:00
Steven R. Loomis
52c65c2e5d
Merge branch 'master' into chore/core/8800-cxx17 2024-05-13 17:45:40 -05:00
Dr Mark C. Sinclair
651bd92043 chore(developer): add initial AddCompilerError test 2024-05-13 16:44:49 +01:00
Dr Mark C. Sinclair
e8ecb67c66 chore(developer): add extra test case to hasPreamble test 2024-05-13 12:29:41 +01:00
Dr Mark C. Sinclair
bd4aeffcb7 chore(developer): add CompMsg GetCompilerErrorString test 2024-05-13 12:20:32 +01:00
Dr Mark C. Sinclair
35f401780f chore(developer): add hasPreamble test 2024-05-13 11:50:23 +01:00
Dr Mark C. Sinclair
330070fe91 chore(developer): add list of functions needing test (as comments) 2024-05-13 11:29:55 +01:00
Dr Mark C. Sinclair
34b61cd49c chore(developer): add additional test case to IsValidKeyboardVersion test 2024-05-13 10:32:59 +01:00
Dr Mark C. Sinclair
810c9720d3 chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests 2024-05-13 10:24:13 +01:00
Dr Mark C. Sinclair
23affbae3a chore(developer): Merge branch 'master' into test/developer/kmn-compiler-messages-unit-tests 2024-05-13 10:19:14 +01:00
Darcy Wong
cbf1fd5cb1 chore(common): Merge beta to master for sprint A18S1 part 2 2024-05-10 06:27:02 +07:00
Dr Mark C. Sinclair
4cae4310f0 chore(developer): add ValidateMatchNomatchOutput test 2024-05-09 13:43:34 +01:00
Dr Mark C. Sinclair
90b12c2a38 chore(developer): add improved comment in IsValidKeyboardVersion 2024-05-09 12:56:09 +01:00
Dr Mark C. Sinclair
3b23164b37 chore(developer): switch to use of u"xx" strings 2024-05-09 12:52:41 +01:00
Dr Mark C. Sinclair
ebfb3c5739 chore(developer): add wstrtostr test 2024-05-09 12:06:32 +01:00
Dr Mark C. Sinclair
2f528c26b0 chore(developer): add strtowstr test 2024-05-09 11:44:50 +01:00
Dr Mark C. Sinclair
46efc97833 chore(developer): add fixture class and symbolic constants for KMX_WCHARs 2024-05-09 10:52:15 +01:00
Joshua A. Horton
8d7721545a chore(web): updates sinon to a version with fully-ESM artifact 2024-05-09 08:49:51 +07:00
Steven R. Loomis
5a45e80806 chore(developer): update nlohmann/json@v3.11.13
- Update from https://github.com/nlohmann/json/releases/tag/v3.11.3
- Needed for C++17

Fixes: #8800
2024-05-08 17:30:11 -05:00
Steven R. Loomis
18afd44b44 Merge branch 'chore/core/11033-points-not-units' of https://github.com/keymanapp/keyman into chore/core/11033-points-not-units 2024-05-08 09:07:12 -05:00
Steven R. Loomis
ca05471520 chore(windows): more updates for libkeymancore version 2024-05-08 09:07:01 -05:00
Steven R. Loomis
1fe76bcd26
Merge branch 'master' into chore/core/11033-points-not-units 2024-05-07 09:26:07 -05:00
Dr Mark C. Sinclair
aad39d5e60 chore(developer): add global thread compilation argument for emscripten to overcome wasm build problem 2024-05-07 13:21:17 +01:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Dr Mark C. Sinclair
fa8d3a4a65 chore(developer): change IsValidKeyboardVersion to use more specific expects 2024-05-06 16:14:45 +01:00
Dr Mark C. Sinclair
421ce40f3c chore(developer): add IsValidKeyBoardVersion test 2024-05-06 16:03:06 +01:00
Dr Mark C. Sinclair
7dc33d1f7a chore(developer): Merge branch 'master' into test/developer/keyboard-info-compiler-unit-tests-3 2024-05-06 11:16:00 +01:00
Marc Durdin
8474372baa fix(developer): define lastSelLength variable
Fixes #11361.
2024-05-06 10:25:04 +07:00
Marc Durdin
4fc94a9e70 fix(developer): handle missing Description element for File element in package compiler
Fixes #11353.
2024-05-03 14:31:10 +07:00
Marc Durdin
78902e3891 fix(developer): handle missing Name element for File element in package compiler
Fixes #11351.
2024-05-03 14:25:35 +07:00
Steven R. Loomis
6706ae0957 chore(core): km_core_cp -> km_core_cu
- km_core_cp represents a 16 bit code unit, not a code point.

Fixes: #11033
2024-05-02 17:39:15 -05:00