Skip to content

Commit

Permalink
Changes for 64-bit compatibility by Brian Bergstrand: Keyed archiving…
Browse files Browse the repository at this point in the history
…; 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
Zachary Schneirov committed Sep 25, 2009
1 parent 0ac3566 commit 238f532
Show file tree
Hide file tree
Showing 334 changed files with 8,429 additions and 2,103 deletions.
Empty file modified .gitattributes 100644 → 100755
Empty file.
Empty file modified .gitignore 100644 → 100755
Empty file.
Empty file modified AlienNoteImporter.h 100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions AlienNoteImporter.m 100644 → 100755
Expand Up @@ -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];

Expand Down Expand Up @@ -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 {
Expand Down
Empty file modified AppController.h 100644 → 100755
Empty file.

0 comments on commit 238f532

Please sign in to comment.