65 Commits

Author SHA1 Message Date
Andreas Linde
3cf56aa9d6 Various fixes and documentation improvements 2014-05-27 23:43:37 +02:00
Andreas Linde
89a7398971 Allow the developer to set more than just the description when handling user alert for crashes
- Also fixes a bug where crash caches dir could get deleted
- Some refactoring
2014-05-20 13:28:05 +02:00
Andreas Linde
58f6854a5e Update BITCrashDetails and remove non needed properties in BITCrashManager
cleanup :)
2014-05-20 12:03:22 +02:00
Andreas Linde
38a59fc73f Naming convention cleanup 2014-04-27 20:20:10 +02:00
Andreas Linde
c4e7754a8b Merge branch 'refs/heads/feature/CrashReporting' into feature/CrashDetails
Conflicts:
	Classes/BITCrashManager.h
2014-04-27 20:04:31 +02:00
Andreas Linde
56f5fa9ddd Merge branch 'refs/heads/feature/CrashReporting' into feature/CrashCallback
Conflicts:
	Classes/BITCrashManager.h
	Classes/BITCrashManager.m
	Support/HockeySDK.xcodeproj/project.pbxproj
2014-04-27 20:02:26 +02:00
Lukas Spieß
080eb3c657 More detailed documentation 2014-04-24 16:58:31 +02:00
Lukas Spieß
e026e42664 expose setter rather than the whole property 2014-04-24 16:41:07 +02:00
Lukas Spieß
b5348f7dcb Types should start with a capital letter 2014-04-24 16:38:23 +02:00
Lukas Spieß
10c5475a02 make method signature consistent and reflect those changes in documentation 2014-04-24 16:32:34 +02:00
Lukas Spieß
3fd8cdc7e0 replace ugly block notation with clean typedef 2014-04-24 16:11:34 +02:00
Lukas Spieß
f8561afacc Updates documentation 2014-04-24 16:11:05 +02:00
Lukas Spieß
1311846241 update method signature 2014-04-24 16:10:12 +02:00
Lukas Spieß
4aee9f81b5 Small optimizations 2014-04-24 15:38:31 +02:00
Lukas Spieß
7a5077e7c1 semi-working prototype of custom Alert 2014-04-23 16:09:23 +02:00
Lukas Spieß
d22fb02ec2 Add ability to add a description to a crash report 2014-04-22 17:52:14 +02:00
Lukas Spieß
91698b85a3 updates formatting and documentation 2014-04-16 17:12:17 +02:00
Lukas Spieß
68c7fd95b4 makes enum more explicit 2014-04-16 12:51:51 +02:00
Lukas Spieß
9f9f44916a adds public method to handle user input from an alert view 2014-04-16 12:51:39 +02:00
Andreas Linde
06adc38535 Add a generic object which contains some basic information about the crash in the last session 2014-04-04 15:21:31 +02:00
Andreas Linde
e66714afca Define our own crash callback struct, so we don't need the PLCrashReporter headers to be public any longer 2014-04-04 15:15:48 +02:00
Lukas Spieß
50b0eb9bd1 remove unnecessary property 2014-03-28 12:39:06 +01:00
Lukas Spieß
c62b444272 start refactoring AlertView delegate 2014-03-28 12:30:45 +01:00
Andreas Linde
5a88cab36e Fix referencing wrong property name 2014-02-19 23:38:54 +01:00
Andreas Linde
94ce869993 Merge branch 'refs/heads/develop' into feature/LowMemoryKills 2014-02-12 23:48:07 +01:00
Andreas Linde
53ae4c2dff Disable on device symbolication by default and add a property to enable it 2014-02-11 16:37:06 +01:00
Andreas Linde
cc480299eb Multiple improvements for heuristic based kill detection handling
- Marked the feature as `EXPERIMENTAL`
- renamed property to `enableAppNotTerminatingCleanlyDetection`
- Added details about the heuristic algorithm
- Added optional delegate to let the developer influence if a report should be considered as a crash or not
- Adjusted the description string in the generated report to make it more clear what actually happened.
2014-02-10 01:52:15 +01:00
Andreas Linde
0cfa00924c Add enableDectionAppKillWhileInForeground option to BITCrashManager
This option implements basic heuristics to detect if the app got killed by the iOS watchdog while running in foreground, which can only happen if:
- The app tried to allocate too much memory
- Main thread doesn't respond for some time

It is not possible to detect all cases where such kills can occur.
2014-02-10 01:06:59 +01:00
Andreas Linde
670e376e9e Change the default of crashmanagers showAlways property to YES
This results in crash report alerts by default showing the `Always` button, so they will never be asked again and future crash reports will be send automatically.
2014-01-12 21:08:53 +01:00
Andreas Linde
235f7ac9fe Updated copyright for 2014 2014-01-12 19:25:22 +01:00
Andreas Linde
cd631af9ba Import the PLCR header depending on the location
We need this check depending on integrating as a subproject or using the binary distribution
2013-12-30 02:57:10 +01:00
Andreas Linde
cdfca4d330 Add the option to define callbacks that will be executed prior to program termination after a crash has occurred
This is _NOT_recommended to be used!

Code that runs in such callbacks need to be async-safe, which excludes ANY Objective-C code and lots of C as well. See https://www.plcrashreporter.org/documentation/api/v1.2-rc2/async_safety.html
2013-12-19 15:36:31 +01:00
Andreas Linde
720dbccefe Add generateTestCrash method 2013-12-18 20:47:04 +01:00
Andreas Linde
efe6442e5d Added more documentation to BITCrashManager
- added information about which protocol allows it to add custom username/email/userid to crash reports
- added information on how to handle crashes that happen during startup
2013-10-03 00:08:08 +02:00
Andreas Linde
e3d44f3709 Some more documentation improvements 2013-09-17 20:08:11 +02:00
Andreas Linde
d7b334bc3a More documentation improvements 2013-09-16 14:13:27 +02:00
Andreas Linde
53d164d25d Update to custom PLCrashReporter v1.2 Beta 1 build with BIT namespace
- Adjust to new PLCR initialization scheme
- Don't enable PLCR if the app is starting with a debugger attached
- Add option to enable Mach exception handler. It is strongly discouraged to use this in release builds!
2013-08-31 13:19:52 +02:00
Andreas Linde
9a83bb20db Update link to PLCrashReporter website 2013-08-17 16:03:39 +02:00
Andreas Linde
22dd9006ab Use NS_ENUM for BITCrashManagerStatus and move its documentation to the correct place 2013-08-17 15:24:57 +02:00
Andreas Linde
e5f58960ac Some more documentation improvements 2013-02-07 14:59:15 +01:00
Peter Steinberger
e1d6515b2a Fixes several typos. 2013-01-20 13:01:35 +01:00
Andreas Linde
9f2f40bc06 Update copyright 2013-01-04 14:44:44 +01:00
Andreas Linde
a47c4b1bfd Fix compiler warnings 2012-11-07 16:25:22 +01:00
Andreas Linde
a14fa23f28 Convert to ARC 2012-10-23 16:22:23 +02:00
Andreas Linde
f8cb400a92 Improve documentation 2012-10-15 00:03:08 +02:00
Andreas Linde
9b8f51fe5f Restructure project targets and binary distribution target
- Use one common static lib target
- create embeddedFramework as binary distribution including docset in one zip
- Add HockeySDK.xcconfig for easier build setting setup
- Move everything into a single directory, too many problems making binary and subproject work without requing recursive header search paths
- Documentation update pending
2012-10-07 21:49:47 +02:00
Andreas Linde
1a71aa2ea5 Initial Feedback component
- First implementation on feedback, not finished yet!
- Move all components into their own subdirectory
- Restructure common delegates into BITHockeyManagerDelegate
- Restructure common component methods into new superclass (not finished yet)
2012-09-28 12:30:19 +02:00
Andreas Linde
13b918f9cd Add some error handler detection, to optionally notify the developer of multiple handlers that could cause crashes not to be reported to HockeyApp
Enable debugLogEnabled to get this warning.
2012-08-20 15:46:41 +02:00
Andreas Linde
ece5f8bc49 Make sure PLCrashReporter only gets initialized once, even on manually invoking the method multiple times
And also catch the exception PLCrashReporter throws, if the develop is somehow trying to initialize it multiple times.
2012-08-14 12:17:17 +02:00
Andreas Linde
6fb1a432cb Last documentation updates 2012-08-13 14:06:26 +02:00