Permalink
Browse files

Cleaned up code, changed license to ISC License (ISCL), added lion to…

… MGMSystemInfo, cleaned up form data body creation code.
  • Loading branch information...
1 parent 3912df5 commit 48480282f239ef6716598d65e5ce14ec98188f8a @GRMrGecko committed Aug 30, 2011
Showing with 554 additions and 233 deletions.
  1. +12 −1 Classes/Framework/GeckoReporter.h
  2. +12 −1 Classes/Framework/MGMBugWindow.h
  3. +15 −6 Classes/Framework/MGMBugWindow.m
  4. +12 −1 Classes/Framework/MGMContactWindow.h
  5. +15 −6 Classes/Framework/MGMContactWindow.m
  6. +12 −1 Classes/Framework/MGMFeedback.h
  7. +12 −1 Classes/Framework/MGMFeedback.m
  8. +12 −1 Classes/Framework/MGMLocalized.h
  9. +12 −1 Classes/Framework/MGMLog.h
  10. +12 −1 Classes/Framework/MGMLog.m
  11. +12 −1 Classes/Framework/MGMReportWindow.h
  12. +17 −10 Classes/Framework/MGMReportWindow.m
  13. +12 −1 Classes/Framework/MGMReporter.h
  14. +20 −16 Classes/Framework/MGMReporter.m
  15. +12 −1 Classes/Framework/MGMSender.h
  16. +44 −24 Classes/Framework/MGMSender.m
  17. +12 −1 Classes/Framework/MGMSenderDelegate.h
  18. +12 −1 Classes/Framework/MGMSystemInfo.h
  19. +16 −3 Classes/Framework/MGMSystemInfo.m
  20. 0 Prefix.pch → Classes/Framework/prefix.pch
  21. +12 −1 Classes/Test/MGMController.h
  22. +12 −1 Classes/Test/MGMController.m
  23. 0 { → Classes/Test}/main.m
  24. +13 −0 Classes/Test/prefix.pch
  25. +219 −118 GeckoReporter.xcodeproj/project.pbxproj
  26. +5 −25 License.txt
  27. BIN Resources/Framework/English.lproj/GeckoReporter.strings
  28. BIN Resources/Framework/French.lproj/GeckoReporter.strings
  29. +4 −4 GeckoReporter-Info.plist → Resources/Framework/Info.plist
  30. BIN Resources/Framework/es.lproj/GeckoReporter.strings
  31. BIN Resources/Framework/pt-PT.lproj/GeckoReporter.strings
  32. 0 Resources/Framework/{pt_PT.lproj → pt-PT.lproj}/MGMBugWindow.xib
  33. 0 Resources/Framework/{pt_PT.lproj → pt-PT.lproj}/MGMContactWindow.xib
  34. 0 Resources/Framework/{pt_PT.lproj → pt-PT.lproj}/MGMReportWindow.xib
  35. BIN Resources/Framework/pt_PT.lproj/GeckoReporter.strings
  36. BIN Resources/Framework/se.lproj/GeckoReporter.strings
  37. BIN Resources/Framework/sv.lproj/GeckoReporter.strings
  38. 0 Resources/Framework/{se.lproj → sv.lproj}/MGMBugWindow.xib
  39. 0 Resources/Framework/{se.lproj → sv.lproj}/MGMContactWindow.xib
  40. 0 Resources/Framework/{se.lproj → sv.lproj}/MGMReportWindow.xib
  41. +6 −6 GeckoReporter Test-Info.plist → Resources/Test/Info.plist
  42. 0 Resources/Test/{pt_PT.lproj → pt-PT.lproj}/MainMenu.xib
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 12/27/09.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMReporter.h"
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/2/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/2/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMBugWindow.h"
@@ -18,7 +29,7 @@ + (id)sharedBugWindow {
return [[self alloc] init];
}
- (id)init {
- if (self = [super init]) {
+ if ((self = [super init])) {
if (![NSBundle loadNibNamed:@"MGMBugWindow" owner:self]) {
[self release];
self = nil;
@@ -39,10 +50,8 @@ - (id)init {
- (void)dealloc {
MGMLog(@"%s Releasing", __PRETTY_FUNCTION__);
- if (mailSender!=nil)
- [mailSender release];
- if (mainWindow!=nil)
- [mainWindow release];
+ [mailSender release];
+ [mainWindow release];
[super dealloc];
self = nil;
}
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/3/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/3/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMContactWindow.h"
@@ -18,7 +29,7 @@ + (id)sharedContactWindow {
return [[self alloc] init];
}
- (id)init {
- if (self = [super init]) {
+ if ((self = [super init])) {
if (![NSBundle loadNibNamed:@"MGMContactWindow" owner:self]) {
[self release];
self = nil;
@@ -41,10 +52,8 @@ - (id)init {
- (void)dealloc {
MGMLog(@"%s Releasing", __PRETTY_FUNCTION__);
- if (mailSender!=nil)
- [mailSender release];
- if (mainWindow!=nil)
- [mainWindow release];
+ [mailSender release];
+ [mainWindow release];
[super dealloc];
}
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/2/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/2/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMFeedback.h"
@@ -3,7 +3,18 @@
* GeckoReporter
*
* Created by Mr. Gecko on 1/6/10.
- * Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+ * Copyright (c) 2011 Mr. Gecko's Media (James Coleman). All rights reserved. http:*mrgeckosmedia.com/
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any purpose
+ * with or without fee is hereby granted, provided that the above copyright notice
+ * and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+ * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ * FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+ * OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+ * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
*/
View
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/1/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
View
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 1/1/10.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMLog.h"
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 12/27/09.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 12/27/09.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import "MGMReportWindow.h"
@@ -20,7 +31,7 @@ + (id)sharedWindowWithReport:(NSString *)theReportFile reportDate:(NSDate *)theR
return [[self alloc] initWithReport:theReportFile reportDate:theReportDate];
}
- (id)initWithReport:(NSString *)theReportFile reportDate:(NSDate *)theReportDate {
- if (self = [super init]) {
+ if ((self = [super init])) {
if (![NSBundle loadNibNamed:@"MGMReportWindow" owner:self]) {
[self release];
self = nil;
@@ -61,14 +72,10 @@ - (void)dealloc {
#if MGMGRReleaseDebug
MGMLog(@"%s Releasing", __PRETTY_FUNCTION__);
#endif
- if (reportFile!=nil)
- [reportFile release];
- if (reportDate!=nil)
- [reportDate release];
- if (mailSender!=nil)
- [mailSender release];
- if (mainWindow!=nil)
- [mainWindow release];
+ [reportFile release];
+ [reportDate release];
+ [mailSender release];
+ [mainWindow release];
[super dealloc];
}
@@ -3,7 +3,18 @@
// GeckoReporter
//
// Created by Mr. Gecko on 12/27/09.
-// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
+// Copyright (c) 2011 Mr. Gecko's Media (James Coleman). http://mrgeckosmedia.com/
+//
+// Permission to use, copy, modify, and/or distribute this software for any purpose
+// with or without fee is hereby granted, provided that the above copyright notice
+// and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
+// OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+// DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
+// ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
//
#import <Cocoa/Cocoa.h>
Oops, something went wrong.

0 comments on commit 4848028

Please sign in to comment.