Commit graph

24 commits

Author SHA1 Message Date
Marc Durdin
7ccde0e3ed chore(windows): disable Sentry 'Started' event
We used the 'Started' event when testing Sentry integration. We no
longer need it, but I left it in as commented code so we can re-enable
if/when we do Sentry updates in the future and need to re-test.
2020-12-01 10:45:22 +11:00
Marc Durdin
0aaea62b1c fix(windows): Handle failure on task creation
Fixes #3797.
Fixes KEYMAN-WINDOWS-5H.

Report unexpected errors creating or deleting scheduled task, and ignore
expected errors better, handling a potential race condition where two
processes both attempt to create a folder at the same time.

Note that creating the task should not be a race because we use the
`TASK_CREATE_OR_UPDATE` flag.
2020-10-30 15:47:43 +11:00
Marc Durdin
6d7c92bfff fix(windows): kmshell title and kmbrowserhost sentry
kmshell had no application.title set and this gave incorrect
results for crash report dialog.
kmbrowserhost was acting as a VCL app but it isn't, and the
sentry integration was pulling in all the VCL dependencies which
was a bad outcome. This removes those and handles crashes as a
non-VCL app.
2020-05-11 08:10:26 +10:00
Marc Durdin
ce5db177c2 fix(windows): use consistent sentry db location 2020-05-08 07:46:09 +10:00
Marc Durdin
edc53fb468 fix(windows): use KeymanWindows rather than KeymanDesktop as logger for sentry 2020-04-27 14:00:30 +10:00
Marc Durdin
2d4b2a7af0 fix(windows): attempt to shutdown CEF before exception handler 2020-04-27 12:55:01 +10:00
Marc Durdin
e09b081a34 fix(windows): cleanup release and environment for Sentry 2020-04-20 07:07:39 +10:00
Marc Durdin
d6ddebe64f fix(windows): use correct slug for Keyman Desktop 2020-04-19 16:32:57 +10:00
Marc Durdin
c8c9f780eb fix(windows): add extra detail for console app crashes 2020-04-18 15:22:18 +10:00
Marc Durdin
4548040661
Merge pull request #2923 from keymanapp/feat/windows/test-sentry-integration
feat(windows): Testing Sentry integration
2020-04-08 06:02:00 +07: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
9eb28cb738 fix(windows): replaces empty eventid with underscore when autoreport errors off
Fixes #2911. This adds a default parameter so the error reporting dialog can show details of the
report. It does not address manual report sending.
2020-03-30 06:47:06 +11:00
Marc Durdin
00e58c13ec feat(windows): user control for upload to sentry 2020-03-27 17:50:51 +11:00
Marc Durdin
d33d429cd2 feat(windows): sentry x64 support 2020-03-27 14:40:59 +11:00
Marc Durdin
9779792059 fix(windows): remove errlogpath and cleanup 2020-03-27 11:23:51 +11:00
Marc Durdin
e99a6677e1 feat(windows): kmcomapi callstacks for sentry 2020-03-27 09:54:48 +11:00
Marc Durdin
62dcadad4d fix(windows): show error if tsysinfo fails to start 2020-03-27 06:55:25 +11:00
Marc Durdin
1e755385a6 feat(windows): new error notification dialog 2020-03-23 16:50:24 +11:00
Marc Durdin
17e2a17c08 fix(windows): sentry proxy support 2020-03-23 07:55:08 +11:00
Marc Durdin
03b421843d fix(windows): various fixes for sentry 2020-03-18 17:25:40 +11: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
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
7be25b6e4e feat(windows): Integrate Sentry
First stage of Sentry integration. Adds a basic library
for handling errors through Sentry. Does not include
integration into external handler or Keyman apps as yet.
2020-03-18 17:25:37 +11:00