Commit graph

78 commits

Author SHA1 Message Date
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
deb01d1a63 chore(windows): make build paths consistent
Move to all projects using bin/ and obj/ for outputs, and
cleanup all Makefiles and project files accordingly. Remove
some obsolete projects along the way. Cleanup .gitignore
also.
2021-07-01 07:38:00 +10:00
Marc Durdin
8e435f67d1 chore(windows): cleanup old .dof, .bdsproj and .cfg files
Fixes #519.

I have removed these .cfg, .dof, and .bdsproj files from the primary
projects in the Windows source. There is some ambiguity as to whether
.cfg files are used by the command line compiler (I checked with procmon
and they *are* read by dcc32.exe), so we will need to make sure that
no adverse changes have been made by this. In theory at least, the
.dproj data trumps .cfg data -- and all the projects in question have
a .dproj file -- so this should be a safe cleanup.

I have opted not to touch the /buildutils, /ext, /support and
/test folders at this point.
2021-05-24 10:22:28 +10:00
Marc Durdin
c8d6e4fe6f fix(developer): kmconvert commandline and deploy
A few fixes and improvements:
* kmconvert was missing a command line parameter for `-target` to
  specify the platform targets for a project
* kmconvert should avoid throwing unhandled exceptions, rather if
  sentry is not present then just write to console.
* Include kmconvert and its data files in the deployment of kmcomp.zip,
  which is done on the build agent (just need to make sure files are
  in the right place here.)
* Side fix: also made sure kmcomp would emit the exception message to
  console if sentry is not present.
2021-05-14 10:56:58 +10:00
Marc Durdin
7a59d073ff chore(windows): address review comments, add test 2021-02-09 06:56:43 +11:00
Marc Durdin
558c8013ee feat(developer): improve BCP 47 canonicalization
Ensures we get a canonical tag per langtags.json as far as we possibly
can. This is a breaking change for the compiler as tags which were
formerly regarded as canonical are no longer regarded that way. This
mostly relates to script subtag but a secondary bug meant that some
other tags would have lost data in the canonicalization process
(because we did a lookup based only on the language subtag previously,
which is a no-no).

See keymanapp/keyboards#1452 for related work.
2021-02-05 16:56:21 +11:00
Marc Durdin
9e46b555d9 fix(windows): Rename to Keyman
Fixes #4003.

This addresses the majority of locations where we use the name "Keyman
Desktop" in code. There will be some filenames and paths that do not
change at this point -- particularly at a source level. For now, the
focus is on the user interface changes.

While making these changes, I also made the VERSION and MANIFEST
resources more consistent.
2020-12-02 09:56:14 +11:00
Marc Durdin
00a9744253 chore(windows): symbol server support, initial steps 2020-11-11 10:33:16 +11:00
Marc Durdin
3d1601ffe5 fix(windows): SizeOfImage header was wrong for dbg
Fixes #3831.

This fixes both issues reported in the bug (dproj changes ensure
separate .tds, and Makefile changes fix order of execution so that
dbg is generated after sentryprep's cleanup).
2020-11-06 17:36:56 +11:00
Marc Durdin
94a062f20a fix(developer): remove obsolete NRSIAllTags
Relates to #799.

Removes NRSIAllTags, alltags.txt, parser and utility units.

Also re-enables standardsdata.dpr unit test which needed some syntax
cleanup.
2020-11-04 18:41:17 +11:00
Marc Durdin
c655c4eaf5 fix(windows): improve version numbers
Release build executables should have 3 component version numbers with
the version tag appended, e.g. keymandesktop-14.0.155-alpha-local.exe.

Coming later, rename keymandesktop-version.exe to keyman-version.exe.
2020-10-08 09:13:48 +11:00
Marc Durdin
d57bbbf20c fix(developer): missing dependencies 2020-09-25 11:10:25 +10:00
Marc Durdin
84f0219541 fix(windows): canonicalization
Reworks the BCP 47 tag canonicalization algorithm.
2020-09-01 08:42:56 +10:00
Marc Durdin
ad9eb3a7f8 fix(developer): kmcomp debug data for sentry 2020-04-19 16:50:18 +10:00
Marc Durdin
17cbc37f8c fix(windows): fixup missing sentry config 2020-04-02 17:11:45 +11:00
Marc Durdin
5928052d93 feat(windows): use crashpad and better call stacks
Also moves to sentry native 2.0.
2020-04-01 12:02:26 +11:00
Marc Durdin
90f4a5109f feat(windows): report process start to sentry
Also handles -sentry-client-test-exception command line parameter
for console apps and tidies up Sentry instantiation.
2020-03-30 12:21:47 +11:00
Marc Durdin
c33199f6db chore(windows): dprojs 2020-03-30 12:07:41 +11:00
Marc Durdin
00e58c13ec feat(windows): user control for upload to sentry 2020-03-27 17:50:51 +11:00
Marc Durdin
b61949ca41 fix(windows): remove makejcldbg references 2020-03-18 20:26:55 +11:00
Marc Durdin
2121f5ea94 feat(windows): consume new sentry api in delphi projects
Updates Delphi projects to use Sentry API instead of legacy
reporting mechanisms, and strips out existing text-based
reports. Not yet complete: reporting from kmcomapi and
hosted web controls, release number. These are flagged
as build hints.
2020-03-18 17:25:38 +11:00
Marc Durdin
c75aab5886 feat(windows): add paths to syms 2020-03-13 12:38:23 +11:00
Marc Durdin
edfbb4c339 feat(windows): add sentry file prep to build 2020-03-10 21:37:30 +11:00
Marc Durdin
8c9beef35b chore: address review comments, history 2019-12-02 11:23:09 +00:00
Marc Durdin
cad9b9e5ca chore: address review comments 2019-12-02 04:01:38 +00:00
Marc Durdin
6af6c0adb8 fix(developer): kmcomp.x64 had debug data embedded 2019-11-29 09:03:32 +00:00
Marc Durdin
4645f2e253 feat(developer): complete 64-bit support 2019-11-28 18:39:56 +11:00
Marc Durdin
33ede3e8b0 chore(developer): config kmcomp build paths 2019-11-17 09:08:33 +11:00
Marc Durdin
3a90f258da [Windows] Fix version.in file encoding back to Windows-1252 2019-10-21 06:43:13 +07:00
Marc Durdin
fd302b0197 [Developer] Cleanup logging and support colour messages in kmcomp. Fixes #2016. 2019-09-24 15:41:40 +10:00
Marc Durdin
f506345f09 [Developer] Add model project support 2019-08-28 12:37:59 +10:00
Marc Durdin
31cfab5abf [Developer] dproj 2019-08-26 11:27:29 +10:00
Marc Durdin
f484875c97 [Developer] Add compile for models to kmcomp; fix logical error in compile code 2019-08-26 11:23:05 +10:00
Marc Durdin
4fa79c44e0
Merge pull request #1977 from keymanapp/developer-model-support
[Developer] Add basic file format support for lexical model packages to Developer
2019-08-21 08:19:37 +09:30
Marc Durdin
1d6ae4bb1d [Developer] Finish package editor support for lexical models 2019-08-16 17:08:54 +10:00
Marc Durdin
692c64f659 Unnecessary file changes (version numbers) 2019-08-12 16:48:08 +10:00
Marc Durdin
eb4b8da7f4 [Windows] Support installing packages with keyboards that are disabled by default; support opening configuration at first run 2019-08-12 15:38:24 +10:00
Marc Durdin
f4f61646f3 Merge branch 'beta' into windows-firstvoices 2019-08-12 08:45:37 +10:00
Marc Durdin
75e6462aec [Developer] Update kmcomp for modified build package installer api 2019-08-12 08:43:07 +10:00
Marc Durdin
b1ba60005b [Developer] Fixes #1919. Prevent keyboard files with many warnings clobbering build reports by stopping reports after 100 messages 2019-08-08 10:06:58 +10:00
Marc Durdin
1decfeae84 [Windows] Customisation of setup look and feel, and cleanup of setup strings 2019-05-13 10:13:04 +10:00
Marc Durdin
836f8805d2 [Windows] 12.0 version files 2019-05-10 10:19:29 +10:00
Marc Durdin
3c7da5fc14 [Developer] Fixes #984. Add option to check filename conventions. 2019-01-18 09:07:33 +11:00
Darcy Wong
4a8b645e97 Add "-add-help-link" parameter to kmcomp
Cherrypick of #1346
2018-11-27 15:51:28 +07:00
glasseyes
eb96341abf rename build alltags in developer 2018-11-12 16:08:58 +07:00
Marc Durdin
b3b5c244ea [Windows] Refactor Windows debug logging to use Event Tracing for Windows 2018-10-16 10:23:54 +11: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
af6306fcd4
Merge pull request #1210 from keymanapp/developer-project-templates
[Developer] Support project templates
2018-09-28 12:10:35 -06:00
Marc Durdin
3fb07690c9 [Developer] Tidy up kmconvert command line and build 2018-09-28 11:01:21 -06:00
Marc Durdin
c5316da8aa [Developer] Refactor TkpsProjectFile to remove actions from base data class into TkpsProjectFileAction 2018-09-23 13:37:45 +10:00