205 Commits

Author SHA1 Message Date
Arpad Borsos 46d2a61207 fix: Clone mutable scope data when applying to event (#462)
The objects on the scope are mutable, which means they can re-allocate at any time.
This could potentially lead to segfaults when concurrently serializing an event object
that has a reference to such a scope object.
Now we shallowly clone those objects into the event which should guarantee they do not
move.
2021-01-20 12:02:49 +01:00
Tor Arne Vestbø 8617d852d1 feat: Add minimal Qt integration (#453)
The integration turns Qt logging via e.g. qDebug() into breadcrumbs.

Enable the integration by passing -DSENTRY_INTEGRATION_QT=ON during
configure time. This will add a runtime dependency on the QtCore
library to sentry.
2021-01-13 16:53:29 +01:00
Arpad Borsos 8335814dae fix: Ensure collection methods on null do not crash (#456)
This tests all the value methods intended for list/object do
not crash when called on a null value, and fixes a faulty return
value while at it.

In addition, this changes a few things around handling of NaN.
2021-01-11 12:55:30 +01:00
Arpad Borsos 2a55499c3b feat: Add sentry_reinstall_backend API (#449)
Co-authored-by: Mischa Alff <mischa@mutate.se>
2021-01-05 13:21:03 +01:00
Arpad Borsos 989782943a feat: breakpad support for OSX (#448)
Co-authored-by: Chris Rudd <rudd.chris.m@gmail.com>
2021-01-05 13:17:36 +01:00
Arpad Borsos 026fc64413 ci: Pin CodeChecker version and fix Linux dependencies (#437) 2020-12-23 13:31:21 +01:00
Arpad Borsos c78d7c4f6f fix: Use correct logic to detect macOS target (#429) 2020-11-27 09:33:04 +01:00
Arpad Borsos 079993ac26 fix: Update crashpad and suppress C5105 (#428)
This warning was newly introduced in VS 16.8, but breaks with the
Windows SDKs own `winbase.h` header. We will just suppress it for now.
2020-11-20 14:29:59 +01:00
Arpad Borsos 8faa78298d feat: Expose modulefinder (#423) 2020-11-11 14:07:54 +01:00
Arpad Borsos 0d95387292 fix: Switch wrong cast in printf check (#425)
fixes #424
2020-11-11 14:05:02 +01:00
Arpad Borsos dfc96e3fcb fix: Retain run folder on shutdown (#422) 2020-11-10 15:28:41 +01:00
Arpad Borsos 8a38e57882 fix: Fix building on MinGW (#421)
fixes #420
2020-11-09 12:41:42 +01:00
Arpad Borsos f9ea2e360d fix: Better validate JSON double output (#418) 2020-11-06 13:49:54 +01:00
Mikhail Paulyshka 0c2c310e20 fix: Disable thread name setting for windows XP target (#417) 2020-11-05 14:24:40 +01:00
Mikhail Paulyshka af9796c962 feat: Give transport thread a name (#413) 2020-11-05 13:15:37 +01:00
Arpad Borsos 5dc6e2eeb8 fix: Explicitly free lock objects (#416)
This fixes an error reported by Windows Application Verifier.
2020-11-04 14:31:48 +01:00
Arpad Borsos 0988b0be25 fix: Include correct windows header for _wfullpath (#414) 2020-11-04 10:09:54 +01:00
Jan Michael Auer 7cd5e9cebb fix(crashpad): Send sentry_client with all crashpad requests (#410) 2020-10-29 12:20:38 +01:00
Armin Ronacher 49b3bd6cd1 ref(android): Do not use stb for printf on Android (#409) 2020-10-28 10:27:11 +01:00
Arpad Borsos 6a55ce7c28 fix: Parse/Stringify JSON in a locale-independent way (#408)
fixes #407
2020-10-27 16:47:48 +01:00
Arpad Borsos 73e4324a01 fix: Run crashpad tests on 32-bit Windows (#401) 2020-10-16 17:02:45 +02:00
Mikhail Paulyshka beae72a16c fix: Log when failing to create/check database dir (#398) 2020-10-12 16:54:14 +02:00
Arpad Borsos 291825df4a fix: Append breadcrumbs in binary mode (#395) 2020-10-09 11:35:29 +02:00
Arpad Borsos b908a7a59c fix: Use doubles to represent signal numbers (#392) 2020-10-05 15:48:53 +02:00
Arpad Borsos fbe58877fb feat: Expose the backend as an SDK integration (#386) 2020-10-05 11:48:14 +02:00