Commit graph

3368 commits

Author SHA1 Message Date
Dr Mark C. Sinclair
4b9c2e8f95 chore(developer): Merge branch 'master' into test/developer/kmn-compiler-messages-unit-tests 2024-05-21 09:09:49 +01:00
Marc Durdin
c52d32cca6 fix(developer): handle KM_CORE_IT_INVALIDATE_CONTEXT in debugger
The output from Keyman Core changed in #11172 to emit a
`KM_CORE_IT_INVALIDATE_CONTEXT` action when a frame key is pressed, but
the debugger was not catering for this scenario, causing an assertion
failure.

Fixes: #11486
Fixes: KEYMAN-DEVELOPER-1Y4
2024-05-21 09:02:28 +07:00
Dr Mark C. Sinclair
3ed3863a5f chore(developer): Merge branch 'master' into test/developer/kmcmplib-compiler-unit-tests 2024-05-20 17:40:28 +01:00
Dr Mark C. Sinclair
474caecab5 chore(developer): correct include paths 2024-05-20 17:35:21 +01:00
Dr Mark C. Sinclair
1c08e9d74d chore(developer): add ProcessBeginLine test with initial six test cases 2024-05-20 17:11:47 +01:00
Dr Mark C. Sinclair
ca09856208 chore(developer): restore indent on ComgMsg error messages (for sake of reviewer) 2024-05-20 11:50:37 +01:00
Dr Mark C. Sinclair
309727523e chore(developer): add AddCompileWarning test 2024-05-20 11:47:19 +01:00
Dr Mark C. Sinclair
213d7b9a57 chore(developer): reduce indent on CompMsg error messages 2024-05-20 11:26:05 +01:00
Dr Mark C. Sinclair
5ea3f6ec16 chore(developer): refactor CompMsg.cpp to use a std::map 2024-05-20 11:19:54 +01:00
Dr Mark C. Sinclair
6c2308637f chore(developer): Merge branch 'master' into test/developer/kmn-compiler-messages-unit-tests 2024-05-20 10:30:36 +01:00
Dr Mark C. Sinclair
23069398bf chore(developer): remove all message text assertions 2024-05-20 10:28:13 +01:00
Marc Durdin
682e141aea refactor(developer): include test_color.cpp in kmcmplib tests 2024-05-20 15:58:17 +07:00
Marc Durdin
8b2070c339 chore(developer): minor cleanup on scripts
Additional shared script resources for Developer and Windows,
refactor of a code signing function, refactor of clean step in build.sh.
2024-05-20 06:35:11 +07:00
Marc Durdin
a062c8773a chore(developer): checkout correct CEF version during release build 2024-05-20 06:35:09 +07:00
Marc Durdin
5c2737738d chore(developer): move to keymancore-2.dll 2024-05-20 06:35:08 +07:00
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