Commit graph

45 commits

Author SHA1 Message Date
Marc Durdin
9dbe33e36e chore(windows): move KeymanVersion.pas to common and update refs 2022-06-21 09:39:04 +10:00
Marc Durdin
6f50259724 chore(windows): move cef-checkout.sh to common 2022-06-10 13:23:45 +10:00
Marc Durdin
4f233a3a0d chore(windows): move test-klog to common and add call to Developer build 2022-06-10 12:00:47 +10:00
Marc Durdin
57da5ec288 chore(windows): remove test certificates
Including test certificates in the repo is convenient, but not safe.
Each developer building Keyman should have their own test certificates,
which `nmake test-certificates` will do for them.

Updated instructions accordingly.
2022-06-10 11:33:25 +10:00
Marc Durdin
f3ea7c4625 chore(windows): tweak Makefiles for devtools 2022-06-10 11:32:31 +10:00
Marc Durdin
6b8cf27ffd chore(windows): rebuild devtools-app after clean 2022-06-10 07:59:05 +10:00
Marc Durdin
c2fce6bed2 chore(windows): cleanup refs to devtools in makefiles 2022-06-10 07:27:36 +10:00
Marc Durdin
433c655c47 chore(developer): additional moves of developer scripts 2022-05-22 07:59:54 +10:00
Marc Durdin
3ec0edbead chore(developer): fixup windows build with developer refs 2022-05-19 15:20:38 +10:00
Marc Durdin
4e50cfa54c chore(windows): nmake makefile cleanup
Only comments formatted per earlier required from @ermshiperete.
2021-12-17 15:48:24 +11:00
Marc Durdin
365b867a86 chore(windows): tweak PathDefines.mak building 2021-12-09 16:10:43 +01:00
Marc Durdin
988fec305c chore(windows): enable build without Delphi installed
This makes it possible to run `set NODELPHI=1`, `nmake build` and then
only non-Delphi projects will be built.
2021-12-10 00:10:54 +11:00
Marc Durdin
c9dc10cc33 chore(windows): replace mkver with mkver.sh 2021-12-08 07:10:29 +01:00
Marc Durdin
dee896b4c6 chore(windows): move from Borland make to nmake
While it may be smarter to move to a different build system altogether,
it is also a *lot* more work. This was a fairly minor syntax refresh to
get nmake working with our existing Makefile system. This is now no
longer compatible with Borland make, so you will need to use `nmake` to
build.

The presence of NMAKE.md informs builds systems that nmake should be
used instead of make.
2021-12-06 12:47:31 +04:00
Marc Durdin
845d65e5e4 chore(windows): remove backup build step
We no longer need to backup debug files as they are saved to the symbol
store during a release build. This reduces the amount of storage
required for a release build and should speed up the build also.

Also fixes the broken build where backup had not been updated for the
new consistent build paths.
2021-07-07 08:09:26 +10:00
Marc Durdin
56fdc98a81 chore(windows): Chromium 89.0.18
Updates Chromium Embedded Framework to 89.0.18. Goes with
branch v89.0.18 of https://github.com/keymanapp/CEF4Delphi_Binary

Adds a script to checkout the correct version of CEF from the repo
according to CEF_VERSION.md.
2021-05-21 14:47:18 +10:00
Marc Durdin
756e2ece13 chore: fixup paths for tests 2021-05-14 14:32:29 +10:00
Marc Durdin
09ace08f7e fix(windows): tsysinfox64 not signed
Fixes #4484.

tsysinfox64 was being signed, but too late in the build
process as it is embedded into tsysinfo.exe. There was
code to sign it earlier, but that was being skipped due
to a missing build flag. This has been a problem for
some time.
2021-02-12 14:20:41 +11:00
Marc Durdin
508441ebf4 fix(developer): coverity reports for compiler
Addresses Coverity reports for compiler.cpp and other files.

Note that whitespace was reformatted on this PR. You may want to compare
with ignore-whitespace.
2020-09-30 14:20:41 +10:00
Marc Durdin
d5790ca9b6 fix(windows): cleanup pointer to int typecasts
Fixes #3084.

This does two things:

1. Cleans up a bunch of places where we used to use `(int)` typecasts
   for pointer math, which was problematic. We now use `(INT_PTR)` per
   MSDN https://docs.microsoft.com/en-us/windows/win32/winprog64/rules-for-using-pointers
   and then cast that down to `(int)` where necessary, e.g. when storing
   string lengths which are never going to be more than a few hundred
   characters! Doing this explicitly helps to clarify that we are aware
   of the typecast and believe it to be safe.

2. Adds in some build infrastructure for future use of Coverity Scan
   https://scan.coverity.com/ which we plan to use for further code
   quality updates. I have submitted the project to Coverity and are
   now waiting for approval so we can check results. Once we have
   approval, I do plan to add this to the nightly build (we need to
   keep submissions under 3 builds/day).

   Note: I have not yet added Keyman Core (Windows) to this project,
   nor are we currently building Keyman Core (macOS) or Keyman for
   Linux, but we should consider adding those in future.
2020-09-24 14:39:59 +10:00
Marc Durdin
7a32d27726 fix(windows): deleted broken makefile line 2020-09-02 17:10:50 +10:00
Marc Durdin
69227beb2a fix(windows): upgrade of profiles from 13.0
This upgrades a 11.0-13.0 install to the 14.0 model for registered TIPs.
It does not yet deal with transient TIPs or disabled keyboards (these
will come in a separate PR). There is also more tidy up coming in a
future PR for language names.
2020-09-02 16:46:58 +10:00
Marc Durdin
b8a42ad5dc chore(windows): devtools use strings.xml 2020-07-29 15:04:07 +10:00
Marc Durdin
39edce5986 feat(windows): generate message consts at build time 2020-07-28 13:05:12 +10:00
Marc Durdin
eade8c34f3 refactor(windows): Use 14.0-style versioning
Moves all version construction to use VERSION.md and
TIER.md and reduces intermediate file usage, so we can
present sensible versions across the project.
2020-03-18 17:25:39 +11:00
Marc Durdin
cf43e45c0e chore(windows): improve build script tests
Make sure that our prerequisites are in place *before* starting a
release build. Note: doesn't currently check that certificates are
valid so that's a future test we could include.

One day it'd be nice to remove dependency on 7-zip: perhaps we won't
need it once we have better crash reporting.
2020-02-19 07:46:22 +11:00
Marc Durdin
ef02b1bdda chore: address review comments 2020-01-31 20:01:46 +11:00
Marc Durdin
58d4fb72e8 chore(windows): use new version infrastructure 2020-01-29 09:59:50 +11:00
Marc Durdin
4f22d497ff [Windows] fix comment 2019-10-24 07:02:12 +07:00
Marc Durdin
36f9e470a6 [Windows] Address .MD to .md and case consistency 2019-10-24 06:28:06 +07:00
Marc Durdin
3a90f258da [Windows] Fix version.in file encoding back to Windows-1252 2019-10-21 06:43:13 +07:00
Marc Durdin
82e3a8528f [Windows] Cleanup version.txt 2019-10-21 06:05:16 +07:00
Marc Durdin
3f5de32e35 [Windows] Refactor version.txt to use constant templates and avoid needing to update with major version changes 2019-10-21 05:54:15 +07:00
Marc Durdin
0d5d36d556 [Windows] Update Makefile to build OEM products 2019-05-10 16:47:51 +10:00
Marc Durdin
9fb6f4b049 [Windows] Add FirstVoices sources and prepare for CI (built product installs but does not yet run... that comes later) 2019-05-10 10:29:40 +10:00
Marc Durdin
82bb0e622b [Windows] Minor tweak to release build check and correct kmcomp command line help 2018-10-11 07:30:11 +11:00
Marc Durdin
0cf28cfc76 [Windows] Remove manual edit requirement for keymanversion.* and fixup build dependencies that arise as a result 2018-09-17 18:57:17 +10:00
Marc Durdin
b75bafa307 [Windows] Fixup global-versions dependency 2018-09-17 14:08:10 +10:00
Marc Durdin
5cb4f20dae Remove temporary test code 2018-02-13 14:26:06 +07:00
Marc Durdin
d7d1e125c5 Temporary test for logging on teamcity 2018-02-13 14:21:36 +07:00
Marc Durdin
a39566668c Add build dependencies 2017-11-30 14:52:26 +07:00
Marc Durdin
9579d2d3a2 Package file format changes + unit tests + unit test framework 2017-11-29 12:01:07 +07:00
Gabriel Wong
fc32a7500d Add to Windows README 2017-09-01 16:00:47 +07:00
Marc Durdin
dac6e4929f Remove SourceRootPath hard coded dependency 2017-08-10 19:28:42 +07:00
Marc Durdin
b65b982584 Keyman Desktop and Keyman Developer open source 10.0 alpha seed (#121)
* Keyman for Windows 10.0 Open Source

* Squashed 'windows/src/ext/jedi/jedi/' content from commit f444ad2

git-subtree-dir: windows/src/ext/jedi/jedi
git-subtree-split: f444ad2da4693851e523f1ea6bd541f701904c24

* Squashed 'windows/src/ext/jedi/jcl/' content from commit d63d3c9fd

git-subtree-dir: windows/src/ext/jedi/jcl
git-subtree-split: d63d3c9fd9ff84efdd8159084ec6a60313644243

* Squashed 'windows/src/ext/jedi/jvcl/' content from commit bee19f3b4

git-subtree-dir: windows/src/ext/jedi/jvcl
git-subtree-split: bee19f3b46909fde2fa92c06cd2706f41d99f6c3

* Add required .res files

* Add required .res files

* Add docbook files (forced)

* Add required libxslt

* Add required jedi files

* Add installation files

* Tweak .gitignore for open

* CI

* Remove KMW from Developer source (#122)

* Remove KMW from Developer source (copies during build)

* Remove KMW from Developer source (copies during build)

* Remove KMW from Developer source (copies during build)

* Fixup release build and copy license, readme from kmw during build

* Remove obsolete build help documentation

* Keyman Engine 10 on Windows regression for shift states (#129)

* Improve #128 -- cleaner debug messages

* Fixes #127, shift state now resets correctly; and more work for #128

* Fixes #130 (#131)
2017-07-25 10:53:06 +07:00