35 Commits

Author SHA1 Message Date
Mitchell Hashimoto
0f4d2bb237 Lots of 0.14 changes 2025-03-12 09:55:52 -07:00
Jeffrey C. Ollie
cb8d30f938 core: add build option to disable sentry 2025-01-02 13:32:45 -08:00
Mitchell Hashimoto
57af5f3106 crash: prefer XDG cache dir if available 2025-01-02 11:50:22 -08:00
Bryan Lee
9f44ec7c21 Use bundle ID for macOS cache directory path 2025-01-03 00:24:14 +08:00
Bryan Lee
67794d3f6f Respect XDG_CACHE_HOME and useNSFileManager for cache paths 2025-01-03 00:24:14 +08:00
Mitchell Hashimoto
84a03aa202 Allow startup without $HOME writable
Fixes #3202

Two changes to get here:

1. Do not fail startup if crash reporting initialization fails. This is a
   non-critical feature and should not prevent the terminal from starting.

2. Avoid freeing Sentry transport on error path. This segfaults.
   Upstream issue will be reported separately.
2024-12-29 13:59:39 -08:00
Mitchell Hashimoto
ca8130bec9 core: make surface use only renderer.Size 2024-11-14 13:15:56 -08:00
Mitchell Hashimoto
9178d1cf38 crash/minidump: locationReader to read locations in a minidump 2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
5b1d729748 crash/minidump: handle padding in the ThreadList stream 2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
df629044fa crash/minidump: working on rich stream type decoding, ThreadList 2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
c0719fceef crash/minidump: typos 2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
ca1ab7bcdc crash/minidump: streamIterator 2024-09-22 14:06:59 -07:00
Mitchell Hashimoto
facbabfd2c crash/minidump: StreamReader 2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
b8ec91242f crash/minidump: reader that streams data from a source 2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
3cc18b62e7 crash/minidump: split out into multiple files 2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
ae8859bc7b crash/minidump: read the streams from the minidump file 2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
5a2bbe9a08 crash/minidump: header parsing 2024-09-22 14:06:58 -07:00
Mitchell Hashimoto
4e16624676 crash: add directory listing, allocation free 2024-09-10 21:15:09 -07:00
Jeffrey C. Ollie
d907cebae9 feat: basic +crash-report cli action
Only lists crash reports right now. Viewing and/or submitting crash
reports to come later.
2024-09-10 20:43:00 -07:00
Mitchell Hashimoto
b2696ee6fa crash: envelope parsing handles multiple payloads with length properly 2024-09-06 09:48:21 -07:00
Mitchell Hashimoto
4acbdbc038 typos 2024-09-06 09:23:33 -07:00
Mitchell Hashimoto
646b8a4cdd crash: parse attachments from sentry envelope 2024-09-06 09:21:36 -07:00
Mitchell Hashimoto
6788aefe95 crash: data model for encoded vs decoded items 2024-09-06 08:50:18 -07:00
Mitchell Hashimoto
ee6fd80746 crash: envelope encoder 2024-09-05 21:24:14 -07:00
Mitchell Hashimoto
bae12993b3 crash: tag the thread type 2024-09-02 10:02:14 -07:00
Mitchell Hashimoto
d8cc19612f crash: beforeSend needs to add contexts to the event directly 2024-09-02 09:55:57 -07:00
Mitchell Hashimoto
8f477b00da renderer/termio attach thread local state for crash capture 2024-09-01 14:15:12 -07:00
Mitchell Hashimoto
f0916d58e8 crash: try to attach dimensions to the crash report 2024-09-01 14:15:11 -07:00
Mitchell Hashimoto
37577630ac crash: add build mode to sentry tags 2024-09-01 10:12:34 -07:00
Mitchell Hashimoto
e7cbeba140 pty: reset all signals after fork 2024-08-31 15:12:45 -07:00
Mitchell Hashimoto
9f6a28bf44 crash: initialize sentry off-thread 2024-08-31 14:14:37 -07:00
Mitchell Hashimoto
72c1b00b0b pkg/sentry: uuid string is null-terminated 2024-08-31 14:05:55 -07:00
Mitchell Hashimoto
920a1051e5 crash: discard envelopes that do not contain a crash 2024-08-31 12:24:11 -07:00
Mitchell Hashimoto
f930cf0b8f move crash init to crash package 2024-08-31 11:12:40 -07:00
Mitchell Hashimoto
8ba97eb745 crash: sentry envelope parsing 2024-08-30 10:16:44 -07:00