Commit graph

3486 commits

Author SHA1 Message Date
Marc Durdin
bf1c2cde90 chore(windows): cleanup deps 2020-05-08 14:45:52 +10:00
Marc Durdin
5e7df2e051 fix(windows): sentry cef shutdown interactions
When Sentry is trying to shutdown an app which has CEF windows active,
the main process can hang waiting for the CEF renderer etc processes to
shutdown. Instead, we now rely on the child (CEF renderer etc) processes
to shutdown when their parent process aborts, with a watchdog thread, and
then abandon everything in the parent process with ExitProcess. This is
more reliable, especially with nastier crashes like memory corruption or
stack corruption.
2020-05-08 14:42:39 +10:00
Marc Durdin
ce5db177c2 fix(windows): use consistent sentry db location 2020-05-08 07:46:09 +10:00
Marc Durdin
9030a66f11 fix(windows): sentry x64 stacks truncated pointers 2020-05-06 16:16:46 +10:00
Marc Durdin
acc53706ca fix(windows): force output keystroke failure
If a keyboard emits some actions but then requests that the
default keystroke also be emitted, Keyman was failing to
emit the queued actions. Fixes #2759.
2020-05-05 17:27:47 +10:00
Marc Durdin
3b0fe837e0 fix(windows): pointer casts for x64 2020-05-05 16:35:42 +10:00
Marc Durdin
3f98c6027b fix(windows): decxstr was not checking start of string properly 2020-05-04 16:18:31 +10:00
Marc Durdin
e9867aaf08 fix(windows): additional project files 2020-05-01 17:16:34 +10:00
Marc Durdin
34cb049344 fix(windows): add windows unit 2020-05-01 17:15:35 +10:00
Marc Durdin
156c2685c3 fix(windows): add LARGEADDRESSAWARE flag for all CEF processes 2020-05-01 16:38:52 +10:00
Marc Durdin
214bd4652e chore(windows): Merge branch 'master' into fix/windows/sentry-cleanup 2020-04-30 05:04:13 +10:00
Marc Durdin
f73cdaade6 chore: merge stable history 2020-04-29 06:33:31 +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
16c9341671 fix(windows): add sourcemap upload for desktop/developer 2020-04-27 12:55:42 +10:00
Marc Durdin
cc325fa74d fix(windows): add environment to sentry init for js 2020-04-27 12:55:22 +10:00
Marc Durdin
2d4b2a7af0 fix(windows): attempt to shutdown CEF before exception handler 2020-04-27 12:55:01 +10:00
Marc Durdin
8710cb866e fix(windows): cleanup and fix .dll tests 2020-04-27 12:54:19 +10:00
Marc Durdin
e09b081a34 fix(windows): cleanup release and environment for Sentry 2020-04-20 07:07:39 +10:00
Marc Durdin
ad9eb3a7f8 fix(developer): kmcomp debug data for sentry 2020-04-19 16:50:18 +10:00
Marc Durdin
d6ddebe64f fix(windows): use correct slug for Keyman Desktop 2020-04-19 16:32:57 +10:00
Marc Durdin
883804f3e5 fix(windows): test for stack precapture was not correct 2020-04-19 16:32:36 +10:00
Marc Durdin
fab07b5dfc fix(windows): flush module cache before capturing exception
Sentry caches the module list so it doesn't need to
rebuild on every event. That's fine for most cases
but when we have an exception we want as much accuracy
as possible, so flush it first
2020-04-18 16:52:40 +10:00
Marc Durdin
f4a9fe1769 fix(windows): add crashpad_handler.exe to installers 2020-04-18 16:51:51 +10:00
Marc Durdin
c8c9f780eb fix(windows): add extra detail for console app crashes 2020-04-18 15:22:18 +10:00
Marc Durdin
28a9e22aa3 fix(windows): Sentry event ids are raw byte never guids now 2020-04-18 15:21:29 +10:00
Marc Durdin
9f5d1ab664 fix(windows): recapture call stack if exceptaddr not same as previous 2020-04-18 15:09:22 +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
cebb2a6980 chore(windows): sentry 0.2.3 2020-04-08 07:10:47 +10:00
Marc Durdin
40b69950fa fix(windows): support x64, remove sentry.dll 2020-04-05 07:36:50 +10:00
Marc Durdin
17cbc37f8c fix(windows): fixup missing sentry config 2020-04-02 17:11:45 +11:00
Marc Durdin
7715c1a5b9 fix(windows): refactor compile.pas for early load
We want the compiler to load early so that Sentry will
include it in the module list. DRYed out the compiler load
code at the same time.
2020-04-02 06:16:51 +11:00
Marc Durdin
e1d3a25f3b fix(windows): update sentry to latest master
Sentry 0.2.2 had a bug with initialization that stopped the random
number generator from working.
2020-04-02 06:15:05 +11:00
Marc Durdin
e194076d40 fix(windows): fix certificate tests 2020-04-01 15:35:18 +11:00
Marc Durdin
1413615e1d fix(windows): use safe strcat 2020-04-01 13:27:22 +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
3f41a6505f fix(developer): add calling convention 2020-03-31 20:20:02 +11:00
Marc Durdin
fed63d4690 feat(windows): sentry integration test points 2020-03-31 16:16:56 +11:00
Marc Durdin
8b3707571c fix(developer): kmdecomp needs new logger param 2020-03-30 16:36:39 +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
3886082cfa chore(windows): cleanup group projects 2020-03-30 12:05:49 +11:00
Marc Durdin
1a0a759cdd
Merge pull request #2913 from keymanapp/fix/windows/2911-inconsistent-error-dialog-when-autoreport-off
fix(windows): replaces empty eventid with underscore when autoreport errors off
2020-03-30 11:33:48 +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
ba4074b11c fix(developer): use correct registry types for sentry options
Fixes #2910. Keyman Developer's options were using REG_SZ where Sentry
expected REG_DWORD.
2020-03-30 06:36:58 +11:00
Marc Durdin
591c05080a fix(developer): copy sentry to bin before building installer 2020-03-28 06:54:17 +11:00
Marc Durdin
b4ea48f70c fix(windows): skip checking sentry.x64.dll signature 2020-03-28 06:20:52 +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