From c96491888011538e6da8ed6b6dd2ef217c845f2b Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 3 Mar 2010 01:29:44 +0000 Subject: - Addition and enabling of crash reporting and exception reporting, submitting to a new online repository. Integrates the FeedbackReporter framework. --- FeedbackReporter.framework/FeedbackReporter | 1 + FeedbackReporter.framework/Headers | 1 + FeedbackReporter.framework/Resources | 1 + .../Versions/A/FeedbackReporter | Bin 0 -> 246280 bytes .../A/Headers/FRExceptionReportingApplication.h | 22 ++++++++++++ .../Versions/A/Headers/FRFeedbackReporter.h | 40 +++++++++++++++++++++ .../English.lproj/FeedbackReporter.strings | Bin 0 -> 3974 bytes .../Versions/A/Resources/FeedbackReporter.nib | Bin 0 -> 30177 bytes .../Versions/A/Resources/FeedbackReporter.pch | 21 +++++++++++ .../German.lproj/FeedbackReporter.strings | Bin 0 -> 4084 bytes .../Versions/A/Resources/Info.plist | 22 ++++++++++++ .../Russian.lproj/FeedbackReporter.strings | Bin 0 -> 4772 bytes FeedbackReporter.framework/Versions/Current | 1 + 13 files changed, 109 insertions(+) create mode 120000 FeedbackReporter.framework/FeedbackReporter create mode 120000 FeedbackReporter.framework/Headers create mode 120000 FeedbackReporter.framework/Resources create mode 100755 FeedbackReporter.framework/Versions/A/FeedbackReporter create mode 100644 FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h create mode 100644 FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h create mode 100644 FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings create mode 100644 FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib create mode 100644 FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.pch create mode 100644 FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings create mode 100644 FeedbackReporter.framework/Versions/A/Resources/Info.plist create mode 100644 FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings create mode 120000 FeedbackReporter.framework/Versions/Current (limited to 'FeedbackReporter.framework') diff --git a/FeedbackReporter.framework/FeedbackReporter b/FeedbackReporter.framework/FeedbackReporter new file mode 120000 index 00000000..141078a4 --- /dev/null +++ b/FeedbackReporter.framework/FeedbackReporter @@ -0,0 +1 @@ +Versions/Current/FeedbackReporter \ No newline at end of file diff --git a/FeedbackReporter.framework/Headers b/FeedbackReporter.framework/Headers new file mode 120000 index 00000000..a177d2a6 --- /dev/null +++ b/FeedbackReporter.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/FeedbackReporter.framework/Resources b/FeedbackReporter.framework/Resources new file mode 120000 index 00000000..953ee36f --- /dev/null +++ b/FeedbackReporter.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/FeedbackReporter.framework/Versions/A/FeedbackReporter b/FeedbackReporter.framework/Versions/A/FeedbackReporter new file mode 100755 index 00000000..1c819683 Binary files /dev/null and b/FeedbackReporter.framework/Versions/A/FeedbackReporter differ diff --git a/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h b/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h new file mode 100644 index 00000000..a0fc992d --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Headers/FRExceptionReportingApplication.h @@ -0,0 +1,22 @@ +/* + * Copyright 2008, Jens Alfke, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + + +@interface FRExceptionReportingApplication : NSApplication + +@end diff --git a/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h b/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h new file mode 100644 index 00000000..b9dfa310 --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Headers/FRFeedbackReporter.h @@ -0,0 +1,40 @@ +/* + * Copyright 2008, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import + +@interface FRFeedbackReporter : NSObject { + + @private + NSLock *modalLock; + id feedbackController; + id delegate; +} + ++ (FRFeedbackReporter *)sharedReporter; + +- (id) delegate; +- (void) setDelegate:(id) delegate; + +- (BOOL) reportFeedback; +- (BOOL) reportIfCrash; +- (BOOL) reportException:(NSException *)exception; + +@end + +@interface NSObject (FRFeedbackReporterDelegate) +- (NSDictionary*) customParametersForFeedbackReport; +@end diff --git a/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings b/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..92cad530 Binary files /dev/null and b/FeedbackReporter.framework/Versions/A/Resources/English.lproj/FeedbackReporter.strings differ diff --git a/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib b/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib new file mode 100644 index 00000000..d6fc807e Binary files /dev/null and b/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.nib differ diff --git a/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.pch b/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.pch new file mode 100644 index 00000000..4b180bde --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Resources/FeedbackReporter.pch @@ -0,0 +1,21 @@ +/* + * Copyright 2008, Torsten Curdt + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifdef __OBJC__ + #import +#endif + +#define FRLocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"FeedbackReporter", [NSBundle bundleWithIdentifier:@"org.vafer.FeedbackReporter"], comment) diff --git a/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings b/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..3d90053c Binary files /dev/null and b/FeedbackReporter.framework/Versions/A/Resources/German.lproj/FeedbackReporter.strings differ diff --git a/FeedbackReporter.framework/Versions/A/Resources/Info.plist b/FeedbackReporter.framework/Versions/A/Resources/Info.plist new file mode 100644 index 00000000..9a61e529 --- /dev/null +++ b/FeedbackReporter.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + FeedbackReporter + CFBundleIdentifier + org.vafer.FeedbackReporter + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + FeedbackReporter + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + + diff --git a/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings b/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings new file mode 100644 index 00000000..971d0dde Binary files /dev/null and b/FeedbackReporter.framework/Versions/A/Resources/Russian.lproj/FeedbackReporter.strings differ diff --git a/FeedbackReporter.framework/Versions/Current b/FeedbackReporter.framework/Versions/Current new file mode 120000 index 00000000..8c7e5a66 --- /dev/null +++ b/FeedbackReporter.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file -- cgit v1.2.3