Commit graph

3368 commits

Author SHA1 Message Date
Marc Durdin
9a3d11e9ff feat(developer): Option to skip embed of compiler version
If `-no-compiler-version` is specified, then we skip the embedding of
the `TSS_COMPILEDVERSION` and `TSS_KEYMANCOPYRIGHT` stores. This is
intended for use with regression test builds of keyboards when we want
to verify changes to the compiler.

This patch introduces the new export `SetCompilerOptions` in kmcmpdll,
which should make it easier to include new options like this in future
versions.
2022-07-11 12:01:13 +10:00
Marc Durdin
b700432583 fix(developer): kmdecomp stability tweaks
Adds kmdecomp to kmcomp-<version>.zip and fixes a couple of stability
issues:

* Increase buffer sizes (this fix very much a hack)
* Ensures that .bmp/.ico files are saved to correct output folder
* Disable loading sentry.dll when running on WINE
2022-07-11 10:42:33 +10:00
Marc Durdin
e38cc79efc feat(developer): build kmcomp-$version.zip during release build
Replaces the script building kmcomp-$version.zip in TeamCity. Will be
used for more automated keyboard testing shortly.

Means kmcomp-$version.zip will be available as an artifact in all test
builds.

@keymanapp-test-bot skip
2022-07-09 15:45:44 +10:00
Marc Durdin
27eb1b9f19 fix(developer): add no-ops for symbol builds for components
Fixes the release build where we do `nmake symbols` for developer/src,
which was failing on calls to these two sets of components. (In
windows/src, the build structure is different due to an additional layer
of folders, so we end up with no `nmake symbols` call on the common
components).
2022-07-08 05:04:10 +10:00
Marc Durdin
de4dc1a6e1 fix(developer): set contextDevice in web debugger
With the fix in fix/web/context-only-device, we need to ensure that the
debugger correctly tells KeymanWeb which device is active.

@keymanapp-test-bot skip
2022-07-07 13:09:00 +10:00
Marc Durdin
da89fe4b9b
Merge pull request #6866 from keymanapp/fix/developer/show-version-number
fix(developer): Show full version number
2022-07-06 05:41:26 +10:00
Marc Durdin
a0d6150922
Merge pull request #6865 from keymanapp/fix/developer/6799-readonly-groups-never-emit
fix(developer): readonly groups should never emit output
2022-07-06 05:41:08 +10:00
Marc Durdin
5d9aea7094 chore(developer): increase label height in setup 2022-06-29 12:54:22 +10:00
Marc Durdin
7ec9859838 fix(developer): Show full version number
Updated various places in Keyman Developer to show the full
VersionWithTag rather than the short version number we had been
previously showing:

- About dialog
- Welcome screen
- Installer
- kmcomp help
- kmconvert help
- kmanalyze help
- kmdecomp help

This should help when testing to verify that we are testing the right
version.

Also fixed the keymansentry path when running command line C++ programs
from source repo.
2022-06-29 10:58:40 +10:00
Marc Durdin
2fc74ce8e0 fix(developer): dist path for server
Fixes #6859.

The production path needed to have all files under the build/dist/
folder, not just the build/ folder. Broken in the refactor in #6630.
2022-06-29 06:17:12 +10:00
Marc Durdin
17f11dfff0 fix(developer): readonly groups should never emit output
Fixes #6799.

For KeymanWeb compiled keyboards, readonly groups should never emit any
output. Rules in these groups permitted only to:
  * `use` other readonly groups
  * `call` external functions (which MUST NOT emit output)
  * `set`, `reset` or `save` store values

The base kmx compiler does emit output for rules in readonly groups.
Thus, the KeymanWeb compiler, when it transpiles from the generated
.kmx, needs to omit output for any readonly group, while avoiding any
other potential change in behaviour.
2022-06-29 06:06:12 +10:00
Marc Durdin
6466b1d68d chore(developer): +x for scripts 2022-06-25 09:32:57 +10:00
Marc Durdin
4f36c3c2df chore(developer): Merge branch 'master' into chore/developer/js-to-lmc 2022-06-25 05:48:57 +10:00
Marc Durdin
3464cbac35 chore(windows): Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-general-developer-files 2022-06-25 05:42:39 +10:00
Marc Durdin
018eb6cd53 chore(windows): Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-common-packages-files 2022-06-25 05:41:23 +10:00
Marc Durdin
4eaee2217a
Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-common-keyboards-files 2022-06-25 05:40:25 +10:00
Marc Durdin
c108008440 chore(windows): Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-common-general-files 2022-06-25 05:39:26 +10:00
Marc Durdin
f22ed1a4a7
Merge pull request #6815 from keymanapp/chore/windows/delete-unused-general-files
chore(windows): delete unused files from global/delphi/general 🎢
2022-06-25 05:32:03 +10:00
Marc Durdin
a0fe8b16f8
Merge branch 'chore/developer/js-to-lmc' into chore/developer/move-common-components 2022-06-24 14:23:02 +10:00
Marc Durdin
360fc6e5e2
Merge pull request #6800 from keymanapp/chore/developer/move-developer-components
chore(developer): move Developer-specific components 🎢
2022-06-24 09:36:19 +10:00
Marc Durdin
fde9aa213f
Update developer/src/tike/Tike.dpr
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2022-06-24 09:36:12 +10:00
Marc Durdin
d8b5e214cf
Merge pull request #6781 from keymanapp/chore/windows/remove-unused-components
chore(windows): remove unused components 🎢
2022-06-24 09:35:59 +10:00
Marc Durdin
34d4706a9b
Merge pull request #6760 from keymanapp/chore/windows/move-delphi-global-ui-units
chore(windows): rearrange global/delphi/ui units 🎢
2022-06-24 09:35:52 +10:00
Marc Durdin
1910ac85f5 chore(windows): Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-delphi-common-units 2022-06-23 15:56:15 +10:00
Marc Durdin
f1f4e35bba
Merge pull request #6758 from keymanapp/chore/windows/move-delphi-developer-units
chore(windows): move Delphi developer units to developer 🎢
2022-06-23 15:55:27 +10:00
Marc Durdin
4eb21ad7ef
Merge pull request #6757 from keymanapp/chore/windows/remove-onlineconstants-pas
chore(windows): remove unused OnlineConstants 🎢
2022-06-23 15:55:15 +10:00
Marc Durdin
0902c730c0
Merge pull request #6756 from keymanapp/chore/windows/move-keymanversion-h
chore(windows): move keymanversion.h to common 🎢
2022-06-23 15:55:06 +10:00
Marc Durdin
45969da17b chore(windows): Merge branch 'chore/developer/js-to-lmc' into chore/windows/cleanup-keyman64-h 2022-06-23 15:54:11 +10:00
Marc Durdin
5075b54343
Merge branch 'chore/developer/js-to-lmc' into chore/windows/move-common-headers 2022-06-23 15:52:06 +10:00
Marc Durdin
ca17d9e313 chore(developer): README and more path fixups 2022-06-23 10:58:58 +10:00
Marc Durdin
385045e978 chore(windows): fixup refs and move StockFileNames
* StockFileNames.pas was missed in earlier moves.
* Cleaned up references in various dproj files
* Fixed up broken references to common files
2022-06-23 09:47:59 +10:00
Marc Durdin
393083509a chore(windows): move tike files from global to developer
These files used only by TIKE so moved into that project.

Noticed obsolete refs to UMD5Hash and removed those at the same time.
2022-06-23 09:34:03 +10:00
Marc Durdin
9bb4c27e61 chore(windows): move general developer files to developer/ 2022-06-23 09:28:34 +10:00
Marc Durdin
8cbebf7ade chore(windows): move general package units to common 2022-06-23 06:36:23 +10:00
Marc Durdin
2aaa31eae2 chore(windows): move general keyboard units to common 2022-06-23 06:33:16 +10:00
Marc Durdin
3d0294769d
Merge pull request #6752 from keymanapp/chore/windows/cleanup-vkeys-h
chore(windows): merge vkeys.h and move to common 🎢
2022-06-22 14:33:00 +10:00
Marc Durdin
0c6142350b
Merge pull request #6751 from keymanapp/chore/developer/move-headers
chore(developer): move developer-specific headers 🎢
2022-06-22 14:32:45 +10:00
Marc Durdin
d7ddcd722d
Merge pull request #6750 from keymanapp/chore/windows/remove-obsolete-headers
chore(windows): remove unused, obsolete headers 🎢
2022-06-22 14:32:38 +10:00
Marc Durdin
c6234939bd
Merge pull request #6747 from keymanapp/chore/windows/move-global-vc
chore(windows): move global/vc to common and global/cpp 🎢
2022-06-22 14:32:24 +10:00
Marc Durdin
b54c66a87e
Merge pull request #6746 from keymanapp/chore/windows/move-global-inst
chore(windows): move global/inst to common 🎢
2022-06-22 14:32:18 +10:00
Marc Durdin
e5d3e5ce8b
Merge pull request #6743 from keymanapp/chore/windows/split-sentry-upload-difs
chore(windows): split sentry-upload-difs.sh to Developer 🎢
2022-06-22 14:31:56 +10:00
Marc Durdin
7895cf2382 chore(windows): move utilicon.pas to common 2022-06-22 14:03:19 +10:00
Marc Durdin
96c1e10874 chore(windows): move Keyman.System.RegExGroupHelperRSP19902 unit to common 2022-06-22 14:02:03 +10:00
Marc Durdin
331c9d2d71 chore(windows): move shared general units to common 2022-06-22 13:58:58 +10:00
Marc Durdin
eba8a4ab35 chore(windows): move CRC32.pas to common 2022-06-22 10:36:55 +10:00
Marc Durdin
46c314cbb7 chore(windows): move BCP47Tag.pas to common 2022-06-22 10:35:18 +10:00
Marc Durdin
ac587286bf chore(windows): delete unused utilmsxml.pas 2022-06-21 09:55:16 +10:00
Marc Durdin
c6102eb75b chore(windows): delete unused UnitDrawArrow.pas 2022-06-21 09:54:30 +10:00
Marc Durdin
34d3ea5899 chore(windows): delete unused MLang.pas 2022-06-21 09:51:02 +10:00
Marc Durdin
7583fa64fe chore(windows): delete unused exceptionw.pas 2022-06-21 09:46:01 +10:00