Permalink
Browse files

Changes for 64-bit compatibility by Brian Bergstrand: Keyed archiving…

…; 64-bit upgrade of NSArchiver data; upgrade sparkle version; upgrade Xcode project version to 3.1; targeting 10.5 SDK instead of 10.4. Also increase resiliency against potential serialization problems by verifying writes before saving; allow recovery of notes in the case that the database cannot be rewritten
  • Loading branch information...
1 parent 0ac3566 commit 238f532bc15a90e55a2827b495c11f0501d48bca Zachary Schneirov committed Sep 25, 2009
Showing 334 changed files with 8,429 additions and 2,103 deletions.
View
0 .gitattributes 100644 → 100755
No changes.
View
0 .gitignore 100644 → 100755
No changes.
View
0 AlienNoteImporter.h 100644 → 100755
No changes.
View
2 AlienNoteImporter.m 100644 → 100755
@@ -365,6 +365,7 @@ - (NoteObject*)noteWithFile:(NSString*)filename {
if (noteObject) {
//[noteObject setDateAdded:CFDateGetAbsoluteTime((CFDateRef)[attributes objectForKey:NSFileCreationDate])];
//[noteObject setDateModified:CFDateGetAbsoluteTime((CFDateRef)[attributes objectForKey:NSFileModificationDate])];
+ //TODO: take date/created modified; why throw away information?
[attributedStringFromData release];
@@ -454,6 +455,7 @@ - (NSArray*)_importStickies:(NSString*)filename {
if (noteObject) {
[noteObject setDateAdded:CFDateGetAbsoluteTime((CFDateRef)[doc creationDate])];
//[noteObject setDateModified:CFDateGetAbsoluteTime((CFDateRef)[doc modificationDate])];
+ //TODO: use the sticky's mod date
[notes addObject:noteObject];
} else {
View
0 AppController.h 100644 → 100755
No changes.
Oops, something went wrong.

0 comments on commit 238f532

Please sign in to comment.