You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
(23) |
Apr
(254) |
May
(252) |
Jun
(209) |
Jul
(198) |
Aug
(192) |
Sep
(207) |
Oct
(120) |
Nov
(179) |
Dec
(52) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(48) |
Feb
(69) |
Mar
(129) |
Apr
(250) |
May
(113) |
Jun
(177) |
Jul
(228) |
Aug
(155) |
Sep
(218) |
Oct
(185) |
Nov
(109) |
Dec
(88) |
2009 |
Jan
(83) |
Feb
(39) |
Mar
(70) |
Apr
(47) |
May
(48) |
Jun
(67) |
Jul
(61) |
Aug
(97) |
Sep
(221) |
Oct
(141) |
Nov
(70) |
Dec
(61) |
2010 |
Jan
(45) |
Feb
(76) |
Mar
(178) |
Apr
(106) |
May
(57) |
Jun
(32) |
Jul
(64) |
Aug
(98) |
Sep
(96) |
Oct
(19) |
Nov
(34) |
Dec
(117) |
2011 |
Jan
(55) |
Feb
(48) |
Mar
(64) |
Apr
(21) |
May
(39) |
Jun
(53) |
Jul
(99) |
Aug
(56) |
Sep
(39) |
Oct
(26) |
Nov
(19) |
Dec
(69) |
2012 |
Jan
(17) |
Feb
(40) |
Mar
(17) |
Apr
|
May
(2) |
Jun
(8) |
Jul
(2) |
Aug
(10) |
Sep
(10) |
Oct
(38) |
Nov
(48) |
Dec
(70) |
2013 |
Jan
(43) |
Feb
(47) |
Mar
(39) |
Apr
(37) |
May
(25) |
Jun
(6) |
Jul
(20) |
Aug
(49) |
Sep
(33) |
Oct
(34) |
Nov
(75) |
Dec
(6) |
2014 |
Jan
(32) |
Feb
(10) |
Mar
(17) |
Apr
|
May
|
Jun
(26) |
Jul
(5) |
Aug
|
Sep
(4) |
Oct
(23) |
Nov
(80) |
Dec
(48) |
2015 |
Jan
(80) |
Feb
(50) |
Mar
(58) |
Apr
(20) |
May
(11) |
Jun
(16) |
Jul
(24) |
Aug
(27) |
Sep
(56) |
Oct
(30) |
Nov
(16) |
Dec
(6) |
2016 |
Jan
(31) |
Feb
(14) |
Mar
(23) |
Apr
(17) |
May
(40) |
Jun
(12) |
Jul
(17) |
Aug
(9) |
Sep
(32) |
Oct
(36) |
Nov
(23) |
Dec
(9) |
2017 |
Jan
(37) |
Feb
(23) |
Mar
(65) |
Apr
(22) |
May
(6) |
Jun
(3) |
Jul
|
Aug
|
Sep
(3) |
Oct
(22) |
Nov
(63) |
Dec
(71) |
2018 |
Jan
(83) |
Feb
(21) |
Mar
(35) |
Apr
(44) |
May
(14) |
Jun
(12) |
Jul
(8) |
Aug
(18) |
Sep
(10) |
Oct
(145) |
Nov
(144) |
Dec
(76) |
2019 |
Jan
(18) |
Feb
(28) |
Mar
(5) |
Apr
(208) |
May
(291) |
Jun
(158) |
Jul
(27) |
Aug
(8) |
Sep
(10) |
Oct
(83) |
Nov
(41) |
Dec
(31) |
2020 |
Jan
(16) |
Feb
(46) |
Mar
(100) |
Apr
(78) |
May
(69) |
Jun
(71) |
Jul
(28) |
Aug
(131) |
Sep
(176) |
Oct
(89) |
Nov
(147) |
Dec
(19) |
2021 |
Jan
(19) |
Feb
(25) |
Mar
(91) |
Apr
(98) |
May
(14) |
Jun
(44) |
Jul
(8) |
Aug
(3) |
Sep
(38) |
Oct
(57) |
Nov
(97) |
Dec
(74) |
2022 |
Jan
(89) |
Feb
(47) |
Mar
(15) |
Apr
(50) |
May
(54) |
Jun
(56) |
Jul
(80) |
Aug
(12) |
Sep
(11) |
Oct
(60) |
Nov
(48) |
Dec
(4) |
2023 |
Jan
(75) |
Feb
(49) |
Mar
(84) |
Apr
(24) |
May
(13) |
Jun
(74) |
Jul
(32) |
Aug
(66) |
Sep
(50) |
Oct
(38) |
Nov
(105) |
Dec
(181) |
2024 |
Jan
(21) |
Feb
(49) |
Mar
(77) |
Apr
(84) |
May
(20) |
Jun
(71) |
Jul
(53) |
Aug
(33) |
Sep
(54) |
Oct
(124) |
Nov
(151) |
Dec
(73) |
2025 |
Jan
(61) |
Feb
(17) |
Mar
(136) |
Apr
(72) |
May
(200) |
Jun
(238) |
Jul
(91) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ho...@us...> - 2007-04-15 18:19:04
|
Revision: 1825 http://skim-app.svn.sourceforge.net/skim-app/?rev=1825&view=rev Author: hofman Date: 2007-04-15 11:18:54 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Use a custom comparator to compare bounds values. Modified Paths: -------------- trunk/PDFPage_SKExtensions.h trunk/PDFPage_SKExtensions.m trunk/SKMainWindowController.m trunk/SKPDFAnnotationNote.h trunk/SKPDFAnnotationNote.m Modified: trunk/PDFPage_SKExtensions.h =================================================================== --- trunk/PDFPage_SKExtensions.h 2007-04-15 17:03:17 UTC (rev 1824) +++ trunk/PDFPage_SKExtensions.h 2007-04-15 18:18:54 UTC (rev 1825) @@ -59,3 +59,8 @@ - (id)handleGoToScriptCommand:(NSScriptCommand *)command; @end + + +@interface NSValue (SKExtensions) +- (NSComparisonResult)boundsCompare:(NSValue *)aValue; +@end Modified: trunk/PDFPage_SKExtensions.m =================================================================== --- trunk/PDFPage_SKExtensions.m 2007-04-15 17:03:17 UTC (rev 1824) +++ trunk/PDFPage_SKExtensions.m 2007-04-15 18:18:54 UTC (rev 1825) @@ -136,23 +136,6 @@ return [image autorelease]; } -static int BDSKRectValueCompare(id value1, id value2, void *context) { - float y1 = NSMinY([value1 rectValue]); - float y2 = NSMinY([value2 rectValue]); - float x1 = NSMinX([value1 rectValue]); - float x2 = NSMinX([value2 rectValue]); - if (y1 > y2) - return NSOrderedAscending; - else if (y1 < y2) - return NSOrderedDescending; - else if (x1 < x2) - return NSOrderedAscending; - else if (x1 > x2) - return NSOrderedDescending; - else - return NSOrderedSame; -} - - (NSArray *)lineBounds { static NSCharacterSet *nonWhitespaceAndNewlineCharacterSet = nil; if (nonWhitespaceAndNewlineCharacterSet == nil) @@ -190,7 +173,7 @@ } } - [lines sortUsingFunction:BDSKRectValueCompare context:NULL]; + [lines sortUsingSelector:@selector(boundsCompare:)]; iMax = [lines count]; NSMutableArray *fullLines = [NSMutableArray array]; @@ -285,3 +268,31 @@ } @end + +#pragma mark - + +@implementation NSValue (SKExtensions) + +- (NSComparisonResult)boundsCompare:(NSValue *)aValue { + NSRect rect1 = [self rectValue]; + NSRect rect2 = [aValue rectValue]; + float y1 = NSMaxY(rect1); + float y2 = NSMaxY(rect2); + + if (y1 > y2) + return NSOrderedAscending; + else if (y1 < y2) + return NSOrderedDescending; + + float x1 = NSMinX(rect1); + float x2 = NSMinX(rect2); + + if (x1 < x2) + return NSOrderedAscending; + else if (x1 > x2) + return NSOrderedDescending; + else + return NSOrderedSame; +} + +@end Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-04-15 17:03:17 UTC (rev 1824) +++ trunk/SKMainWindowController.m 2007-04-15 18:18:54 UTC (rev 1825) @@ -230,8 +230,8 @@ [[self window] setBackgroundColor:[NSColor colorWithDeviceWhite:0.9 alpha:1.0]]; NSSortDescriptor *pageIndexSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"pageIndex" ascending:YES] autorelease]; - NSSortDescriptor *boundsTopSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"boundsTop" ascending:NO] autorelease]; - [noteArrayController setSortDescriptors:[NSArray arrayWithObjects:pageIndexSortDescriptor, boundsTopSortDescriptor, nil]]; + NSSortDescriptor *boundsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"bounds" ascending:YES selector:@selector(boundsCompare:)] autorelease]; + [noteArrayController setSortDescriptors:[NSArray arrayWithObjects:pageIndexSortDescriptor, boundsSortDescriptor, nil]]; [snapshotArrayController setSortDescriptors:[NSArray arrayWithObjects:pageIndexSortDescriptor, nil]]; if ([[NSUserDefaults standardUserDefaults] boolForKey:SKOpenFilesMaximizedKey]) Modified: trunk/SKPDFAnnotationNote.h =================================================================== --- trunk/SKPDFAnnotationNote.h 2007-04-15 17:03:17 UTC (rev 1824) +++ trunk/SKPDFAnnotationNote.h 2007-04-15 18:18:54 UTC (rev 1825) @@ -52,7 +52,6 @@ - (PDFDestination *)destination; - (unsigned int)pageIndex; -- (float)boundsTop; - (NSImage *)image; - (NSAttributedString *)text; Modified: trunk/SKPDFAnnotationNote.m =================================================================== --- trunk/SKPDFAnnotationNote.m 2007-04-15 17:03:17 UTC (rev 1824) +++ trunk/SKPDFAnnotationNote.m 2007-04-15 18:18:54 UTC (rev 1825) @@ -142,10 +142,6 @@ return page ? [[page document] indexForPage:page] : NSNotFound; } -- (float)boundsTop { - return NSMaxY([self bounds]); -} - - (NSImage *)image { return nil; } - (NSAttributedString *)text { return nil; } @@ -303,9 +299,7 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; - [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -347,9 +341,7 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; - [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -593,9 +585,7 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; - [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -657,9 +647,7 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; - [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -732,9 +720,7 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; - [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 17:03:18
|
Revision: 1824 http://skim-app.svn.sourceforge.net/skim-app/?rev=1824&view=rev Author: hofman Date: 2007-04-15 10:03:17 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Round off scale factor to closest preset scale factor. Modified Paths: -------------- trunk/BDSKZoomablePDFView.m Modified: trunk/BDSKZoomablePDFView.m =================================================================== --- trunk/BDSKZoomablePDFView.m 2007-04-15 12:56:53 UTC (rev 1823) +++ trunk/BDSKZoomablePDFView.m 2007-04-15 17:03:17 UTC (rev 1824) @@ -273,11 +273,10 @@ - (void)setScaleFactor:(float)newScaleFactor adjustPopup:(BOOL)flag { if (flag) { - unsigned cnt = 0, numberOfDefaultItems = (sizeof(BDSKDefaultScaleMenuFactors) / sizeof(float)); - - // We only work with some preset zoom values, so choose one of the appropriate values (Fudge a little for floating point == to work) - while (cnt < numberOfDefaultItems && newScaleFactor * .99 > BDSKDefaultScaleMenuFactors[cnt]) cnt++; - if (cnt == numberOfDefaultItems) cnt--; + unsigned cnt = 1, numberOfDefaultItems = (sizeof(BDSKDefaultScaleMenuFactors) / sizeof(float)); + + // We only work with some preset zoom values, so choose one of the appropriate values + while (cnt < numberOfDefaultItems - 1 && newScaleFactor > 0.5 * (BDSKDefaultScaleMenuFactors[cnt] + BDSKDefaultScaleMenuFactors[cnt + 1])) cnt++; [scalePopUpButton selectItemAtIndex:cnt]; newScaleFactor = BDSKDefaultScaleMenuFactors[cnt]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 12:56:54
|
Revision: 1823 http://skim-app.svn.sourceforge.net/skim-app/?rev=1823&view=rev Author: hofman Date: 2007-04-15 05:56:53 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Resize active annotations using (Shift-)Ctr-Arrow. Modified Paths: -------------- trunk/SKPDFView.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-04-15 12:17:11 UTC (rev 1822) +++ trunk/SKPDFView.m 2007-04-15 12:56:53 UTC (rev 1823) @@ -76,6 +76,7 @@ - (PDFDestination *)destinationForEvent:(NSEvent *)theEvent isLink:(BOOL *)isLink; - (void)moveActiveAnnotationForKey:(unichar)eventChar byAmount:(float)delta; +- (void)resizeActiveAnnotationForKey:(unichar)eventChar byAmount:(float)delta; - (void)moveReadingBarForKey:(unichar)eventChar; - (BOOL)selectAnnotationWithEvent:(NSEvent *)theEvent; @@ -541,6 +542,8 @@ [self selectPreviousActiveAnnotation:self]; } else if (isPresentation == NO && [activeAnnotation isNoteAnnotation] && [activeAnnotation isMovable] && (eventChar == NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers == 0 || modifiers == NSShiftKeyMask)) { [self moveActiveAnnotationForKey:eventChar byAmount:(modifiers & NSShiftKeyMask) ? 10.0 : 1.0]; + } else if (isPresentation == NO && [activeAnnotation isNoteAnnotation] && [activeAnnotation isResizable] && (eventChar == NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers == NSControlKeyMask || modifiers == NSControlKeyMask | NSShiftKeyMask)) { + [self resizeActiveAnnotationForKey:eventChar byAmount:(modifiers & NSShiftKeyMask) ? 10.0 : 1.0]; } else if (readingBar && (eventChar == NSRightArrowFunctionKey || eventChar == NSLeftArrowFunctionKey || eventChar == NSUpArrowFunctionKey || eventChar == NSDownArrowFunctionKey) && (modifiers == NSAlternateKeyMask)) { [self moveReadingBarForKey:eventChar]; } else { @@ -1412,6 +1415,43 @@ } } +- (void)resizeActiveAnnotationForKey:(unichar)eventChar byAmount:(float)delta { + NSRect bounds = [activeAnnotation bounds]; + NSRect newBounds = bounds; + PDFPage *page = [activeAnnotation page]; + NSRect pageBounds = [page boundsForBox:[self displayBox]]; + + if (eventChar == NSRightArrowFunctionKey) { + if (NSMaxX(bounds) + delta <= NSMaxX(pageBounds)) { + newBounds.size.width += delta; + } + } else if (eventChar == NSLeftArrowFunctionKey) { + newBounds.size.width -= delta; + if (NSWidth(newBounds) < 8.0) { + newBounds.size.width = 8.0; + } + } else if (eventChar == NSUpArrowFunctionKey) { + newBounds.origin.y += delta; + newBounds.size.height -= delta; + if (NSHeight(newBounds) < 8.0) { + newBounds.origin.y += NSHeight(newBounds) - 8.0; + newBounds.size.height = 8.0; + } + } else if (eventChar == NSDownArrowFunctionKey) { + if (NSMinY(bounds) - delta >= NSMinY(pageBounds)) { + newBounds.origin.y -= delta; + newBounds.size.height += delta; + } + } + if (NSEqualRects(bounds, newBounds) == NO) { + [activeAnnotation setBounds:newBounds]; + if ([activeAnnotation isEditable] == NO) { + NSString *selString = [[[[activeAnnotation page] selectionForRect:newBounds] string] stringByCollapsingWhitespaceAndNewlinesAndRemovingSurroundingWhitespaceAndNewlines]; + [activeAnnotation setContents:selString]; + } + } +} + - (void)moveReadingBarForKey:(unichar)eventChar { BOOL moved = NO; if (eventChar == NSDownArrowFunctionKey) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 12:17:12
|
Revision: 1822 http://skim-app.svn.sourceforge.net/skim-app/?rev=1822&view=rev Author: hofman Date: 2007-04-15 05:17:11 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Don't open last open files by default. Pass callback for pref Reset buttons. Modified Paths: -------------- trunk/InitialUserDefaults.plist trunk/SKPreferenceController.m Modified: trunk/InitialUserDefaults.plist =================================================================== --- trunk/InitialUserDefaults.plist 2007-04-15 12:04:26 UTC (rev 1821) +++ trunk/InitialUserDefaults.plist 2007-04-15 12:17:11 UTC (rev 1822) @@ -23,7 +23,7 @@ <key>SKOpenFilesMaximized</key> <false/> <key>SKReopenLastOpenFiles</key> - <true/> + <false/> <key>SKRememberLastPageViewed</key> <false/> <key>SKAutoSaveSkimNotes</key> Modified: trunk/SKPreferenceController.m =================================================================== --- trunk/SKPreferenceController.m 2007-04-15 12:04:26 UTC (rev 1821) +++ trunk/SKPreferenceController.m 2007-04-15 12:17:11 UTC (rev 1822) @@ -154,8 +154,8 @@ otherButton:nil informativeTextWithFormat:NSLocalizedString(@"Choosing Reset will restore all settings to the state they were in when Skim was first installed.", @"Informative text in alert dialog when pressing Reset All button")]; [alert beginSheetModalForWindow:[self window] - modalDelegate:nil - didEndSelector:NULL + modalDelegate:self + didEndSelector:@selector(resetSheetDidEnd:returnCode:contextInfo:) contextInfo:NULL]; } @@ -167,8 +167,8 @@ otherButton:nil informativeTextWithFormat:NSLocalizedString(@"Choosing Reset will restore all settings in this pane to the state they were in when Skim was first installed.", @"Informative text in alert dialog when pressing Reset All button"), label]; [alert beginSheetModalForWindow:[self window] - modalDelegate:nil - didEndSelector:NULL + modalDelegate:self + didEndSelector:@selector(resetSheetDidEnd:returnCode:contextInfo:) contextInfo:[[tabView selectedTabViewItem] identifier]]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 12:04:27
|
Revision: 1821 http://skim-app.svn.sourceforge.net/skim-app/?rev=1821&view=rev Author: hofman Date: 2007-04-15 05:04:26 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Determine grouping of resettable pref keys in plist. Modified Paths: -------------- trunk/InitialUserDefaults.plist trunk/SKApplicationController.m trunk/SKPreferenceController.h trunk/SKPreferenceController.m Modified: trunk/InitialUserDefaults.plist =================================================================== --- trunk/InitialUserDefaults.plist 2007-04-15 09:40:13 UTC (rev 1820) +++ trunk/InitialUserDefaults.plist 2007-04-15 12:04:26 UTC (rev 1821) @@ -122,41 +122,55 @@ <integer>86400</integer> </dict> <key>ResettableKeys</key> - <array> - <string>SKAutoCheckFileUpdate</string> - <string>SKBackgroundColor</string> - <string>SKFullScreenBackgroundColor</string> - <string>SKLastOpenFileNames</string> - <string>SKOpenContentsPaneOnlyForTOC</string> - <string>SKOpenFilesMaximized</string> - <string>SKReopenLastOpenFiles</string> - <string>SKRememberLastPageViewed</string> - <string>SKAutoSaveSkimNotes</string> - <string>SKSearchHighlightColor</string> - <string>SKShouldHighlightSearchResults</string> - <string>SKSnapshotsOnTop</string> - <string>SKSnapshotThumbnailSize</string> - <string>SKThumbnailSize</string> - <string>SKUpdateCheckInterval</string> - <string>SKLastToolMode</string> - <string>SKGreekingThreshold</string> - <string>SKShouldAntiAlias</string> - <string>SKBlankAllWindows</string> - <string>SKReadingBarColor</string> - <string>SKReadingBarTransparency</string> - <string>SKReadingBarInvert</string> - <string>SKTextNoteFontName</string> - <string>SKTextNoteFontSize</string> - <string>SKFreeTextNoteColor</string> - <string>SKAnchoredNoteColor</string> - <string>SKCircleNoteColor</string> - <string>SKSquareNoteColor</string> - <string>SKHighlightNoteColor</string> - <string>SKUnderlineNoteColor</string> - <string>SKStrikeOutNoteColor</string> - <string>SKDefaultPDFDisplaySettings</string> - <string>SUCheckAtStartup</string> - <string>SUScheduledCheckInterval</string> - </array> + <dict> + <key>general</key> + <array> + <string>SKReopenLastOpenFiles</string> + <string>SKOpenFilesMaximized</string> + <string>SKOpenContentsPaneOnlyForTOC</string> + <string>SKRememberLastPageViewed</string> + <string>SKAutoSaveSkimNotes</string> + <string>SKSnapshotsOnTop</string> + <string>SUCheckAtStartup</string> + <string>SUScheduledCheckInterval</string> + <string>SKAutoCheckFileUpdate</string> + </array> + <key>display</key> + <array> + <string>SKThumbnailSize</string> + <string>SKSnapshotThumbnailSize</string> + <string>SKShouldAntiAlias</string> + <string>SKGreekingThreshold</string> + </array> + <key>colors</key> + <array> + <string>SKBackgroundColor</string> + <string>SKFullScreenBackgroundColor</string> + <string>SKShouldHighlightSearchResults</string> + <string>SKSearchHighlightColor</string> + <string>SKReadingBarColor</string> + <string>SKReadingBarTransparency</string> + <string>SKReadingBarInvert</string> + </array> + <key>notes</key> + <array> + <string>SKFreeTextNoteColor</string> + <string>SKAnchoredNoteColor</string> + <string>SKCircleNoteColor</string> + <string>SKSquareNoteColor</string> + <string>SKHighlightNoteColor</string> + <string>SKUnderlineNoteColor</string> + <string>SKStrikeOutNoteColor</string> + <string>SKTextNoteFontName</string> + <string>SKTextNoteFontSize</string> + </array> + <key>other</key> + <array> + <string>SKLastOpenFileNames</string> + <string>SKLastToolMode</string> + <string>SKBlankAllWindows</string> + <string>SKDefaultPDFDisplaySettings</string> + </array> + </dict> </dict> </plist> Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2007-04-15 09:40:13 UTC (rev 1820) +++ trunk/SKApplicationController.m 2007-04-15 12:04:26 UTC (rev 1821) @@ -74,8 +74,8 @@ // if your application supports resetting a subset of the defaults to // factory values, you should set those values // in the shared user defaults controller - resettableUserDefaultsKeys = [userDefaultsValuesDict objectForKey:@"ResettableKeys"]; + resettableUserDefaultsKeys = [[[userDefaultsValuesDict objectForKey:@"ResettableKeys"] allValues] valueForKeyPath:@"@unionOfArrays.self"]; initialValuesDict = [initialValuesDict dictionaryWithValuesForKeys:resettableUserDefaultsKeys]; // Set the initial values in the shared user defaults controller Modified: trunk/SKPreferenceController.h =================================================================== --- trunk/SKPreferenceController.h 2007-04-15 09:40:13 UTC (rev 1820) +++ trunk/SKPreferenceController.h 2007-04-15 12:04:26 UTC (rev 1821) @@ -45,6 +45,7 @@ IBOutlet NSSlider *snapshotSizeSlider; NSMutableArray *fonts; NSMutableArray *sizes; + NSDictionary *resettableKeys; } + (id)sharedPrefenceController; Modified: trunk/SKPreferenceController.m =================================================================== --- trunk/SKPreferenceController.m 2007-04-15 09:40:13 UTC (rev 1820) +++ trunk/SKPreferenceController.m 2007-04-15 12:04:26 UTC (rev 1821) @@ -53,6 +53,9 @@ - (id)init { if (self = [super init]) { + NSString *userDefaultsValuesPath = [[NSBundle mainBundle] pathForResource:@"InitialUserDefaults" ofType:@"plist"]; + resettableKeys = [[[NSDictionary dictionaryWithContentsOfFile:userDefaultsValuesPath] valueForKey:@"ResettableKeys"] retain]; + NSMutableArray *fontNames = [[[[NSFontManager sharedFontManager] availableFontFamilies] mutableCopy] autorelease]; NSEnumerator *fontEnum; NSString *fontName; @@ -75,6 +78,7 @@ } - (void)dealloc { + [resettableKeys release]; [fonts release]; [sizes release]; [super dealloc]; @@ -130,21 +134,12 @@ - (void)resetSheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo { if (returnCode == NSAlertDefaultReturn) { NSString *tabID = (NSString *)contextInfo; - NSArray *keys = nil; - if ([tabID isEqualToString:@"general"]) { - keys = [NSArray arrayWithObjects:SKReopenLastOpenFilesKey, SKOpenFilesMaximizedKey, SKOpenContentsPaneOnlyForTOCKey, SKRememberLastPageViewedKey, SKAutoSaveSkimNotesKey, SKSnapshotsOnTopKey, SUCheckAtStartupKey, SUScheduledCheckIntervalKey, SKAutoCheckFileUpdateKey, nil]; - } else if ([tabID isEqualToString:@"display"]) { - keys = [NSArray arrayWithObjects:SKThumbnailSizeKey, SKSnapshotThumbnailSizeKey, SKShouldAntiAliasKey, SKGreekingThresholdKey, nil]; - } else if ([tabID isEqualToString:@"colors"]) { - keys = [NSArray arrayWithObjects:SKBackgroundColorKey, SKFullScreenBackgroundColorKey, SKShouldHighlightSearchResultsKey, SKSearchHighlightColorKey, SKReadingBarColorKey, SKReadingBarTransparencyKey, SKReadingBarInvertKey, nil]; - } else if ([tabID isEqualToString:@"notes"]) { - keys = [NSArray arrayWithObjects:SKFreeTextNoteColorKey, SKAnchoredNoteColorKey, SKCircleNoteColorKey, SKSquareNoteColorKey, SKHighlightNoteColorKey, SKUnderlineNoteColorKey, SKStrikeOutNoteColorKey, SKTextNoteFontNameKey, SKTextNoteFontSizeKey, nil]; - } - if (keys) + NSArray *keys = tabID ? [resettableKeys objectForKey:tabID] : nil; + if (tabID) [[NSUserDefaultsController sharedUserDefaultsController] revertToInitialValuesForKeys:keys]; else [[NSUserDefaultsController sharedUserDefaultsController] revertToInitialValues:nil]; - if (keys == nil || [keys containsObject:SUScheduledCheckIntervalKey]) { + if (tabID == nil || [keys containsObject:SUScheduledCheckIntervalKey]) { int checkInterval = [[NSUserDefaults standardUserDefaults] integerForKey:SUScheduledCheckIntervalKey]; if (checkInterval) [[[NSApp delegate] updater] scheduleCheckWithInterval:checkInterval]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 09:40:19
|
Revision: 1820 http://skim-app.svn.sourceforge.net/skim-app/?rev=1820&view=rev Author: hofman Date: 2007-04-15 02:40:13 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Subsort notes by the top of their bounds. (second attempt) Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-04-15 09:29:49 UTC (rev 1819) +++ trunk/SKMainWindowController.m 2007-04-15 09:40:13 UTC (rev 1820) @@ -229,10 +229,10 @@ [[self window] setBackgroundColor:[NSColor colorWithDeviceWhite:0.9 alpha:1.0]]; - NSSortDescriptor *indexSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"pageIndex" ascending:YES] autorelease]; - NSSortDescriptor *contentsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES] autorelease]; - [noteArrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, contentsSortDescriptor, nil]]; - [snapshotArrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, nil]]; + NSSortDescriptor *pageIndexSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"pageIndex" ascending:YES] autorelease]; + NSSortDescriptor *boundsTopSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"boundsTop" ascending:NO] autorelease]; + [noteArrayController setSortDescriptors:[NSArray arrayWithObjects:pageIndexSortDescriptor, boundsTopSortDescriptor, nil]]; + [snapshotArrayController setSortDescriptors:[NSArray arrayWithObjects:pageIndexSortDescriptor, nil]]; if ([[NSUserDefaults standardUserDefaults] boolForKey:SKOpenFilesMaximizedKey]) [[self window] setFrame:[[NSScreen mainScreen] visibleFrame] display:NO]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 09:29:53
|
Revision: 1819 http://skim-app.svn.sourceforge.net/skim-app/?rev=1819&view=rev Author: hofman Date: 2007-04-15 02:29:49 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Subsort notes by the top of their bounds. Modified Paths: -------------- trunk/SKPDFAnnotationNote.h trunk/SKPDFAnnotationNote.m Modified: trunk/SKPDFAnnotationNote.h =================================================================== --- trunk/SKPDFAnnotationNote.h 2007-04-15 09:17:56 UTC (rev 1818) +++ trunk/SKPDFAnnotationNote.h 2007-04-15 09:29:49 UTC (rev 1819) @@ -52,6 +52,7 @@ - (PDFDestination *)destination; - (unsigned int)pageIndex; +- (float)boundsTop; - (NSImage *)image; - (NSAttributedString *)text; Modified: trunk/SKPDFAnnotationNote.m =================================================================== --- trunk/SKPDFAnnotationNote.m 2007-04-15 09:17:56 UTC (rev 1818) +++ trunk/SKPDFAnnotationNote.m 2007-04-15 09:29:49 UTC (rev 1819) @@ -142,6 +142,10 @@ return page ? [[page document] indexForPage:page] : NSNotFound; } +- (float)boundsTop { + return NSMaxY([self bounds]); +} + - (NSImage *)image { return nil; } - (NSAttributedString *)text { return nil; } @@ -297,18 +301,25 @@ - (BOOL)shouldPrint { return YES; } - (void)setBounds:(NSRect)bounds { + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [self didChangeValueForKey:@"boundsTop"]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } - (void)setContents:(NSString *)contents { [super setContents:contents]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; } - (void)setColor:(NSColor *)color { [super setColor:color]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; } @end @@ -336,7 +347,9 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; + [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -580,7 +593,9 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; + [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -642,7 +657,9 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; + [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } @@ -715,7 +732,9 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + [self willChangeValueForKey:@"boundsTop"]; [super setBounds:bounds]; + [self didChangeValueForKey:@"boundsTop"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 09:17:58
|
Revision: 1818 http://skim-app.svn.sourceforge.net/skim-app/?rev=1818&view=rev Author: hofman Date: 2007-04-15 02:17:56 -0700 (Sun, 15 Apr 2007) Log Message: ----------- More consistent notification of note changes. Always pass the key that changed in the userInfo. Always observe boundsWillChange so we can mark the region as dirty. Modified Paths: -------------- trunk/SKPDFAnnotationNote.m trunk/SKSnapshotWindowController.h trunk/SKSnapshotWindowController.m Modified: trunk/SKPDFAnnotationNote.m =================================================================== --- trunk/SKPDFAnnotationNote.m 2007-04-15 08:43:42 UTC (rev 1817) +++ trunk/SKPDFAnnotationNote.m 2007-04-15 09:17:56 UTC (rev 1818) @@ -334,18 +334,23 @@ - (BOOL)shouldPrint { return YES; } - (void)setBounds:(NSRect)bounds { + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; [super setBounds:bounds]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } - (void)setContents:(NSString *)contents { [super setContents:contents]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; } - (void)setColor:(NSColor *)color { [super setColor:color]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; } @end @@ -573,18 +578,23 @@ - (BOOL)shouldPrint { return YES; } - (void)setBounds:(NSRect)bounds { + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; [super setBounds:bounds]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } - (void)setContents:(NSString *)contents { [super setContents:contents]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; } - (void)setColor:(NSColor *)color { [super setColor:color]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; } // fix a bug in PDFKit, the color space sometimes is not correct @@ -630,23 +640,29 @@ - (BOOL)shouldPrint { return YES; } - (void)setBounds:(NSRect)bounds { + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; [super setBounds:bounds]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } - (void)setContents:(NSString *)contents { [super setContents:contents]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; } - (void)setColor:(NSColor *)color { [super setColor:color]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; } - (void)setFont:(NSFont *)font { [super setFont:font]; - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification object:self]; + [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"font", @"key", nil]]; } #pragma mark Scripting support @@ -698,32 +714,22 @@ - (void)setBounds:(NSRect)bounds { [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; [super setBounds:bounds]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"bounds", @"key", nil]]; } - (void)setContents:(NSString *)contents { - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; [super setContents:contents]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"contents", @"key", nil]]; } - (void)setColor:(NSColor *)color { - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; [super setColor:color]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"color", @"key", nil]]; } - (NSString *)type { @@ -738,14 +744,10 @@ - (void)setImage:(NSImage *)newImage; { if (image != newImage) { - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"image", @"key", nil]]; [image release]; image = [newImage retain]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"image", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"image", @"key", nil]]; } } @@ -767,9 +769,6 @@ - (void)textStorageWillProcessEditing:(NSNotification *)notification; { - [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationWillChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"text", @"key", nil]]; [self willChangeValueForKey:@"text"]; } @@ -777,8 +776,7 @@ { [self didChangeValueForKey:@"text"]; [[NSNotificationCenter defaultCenter] postNotificationName:SKAnnotationDidChangeNotification - object:self - userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"text", @"key", nil]]; + object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"text", @"key", nil]]; } #pragma mark Scripting support Modified: trunk/SKSnapshotWindowController.h =================================================================== --- trunk/SKSnapshotWindowController.h 2007-04-15 08:43:42 UTC (rev 1817) +++ trunk/SKSnapshotWindowController.h 2007-04-15 09:17:56 UTC (rev 1818) @@ -65,6 +65,9 @@ - (void)handlePageChangedNotification:(NSNotification *)notification; - (void)handlePDFViewFrameChangedNotification:(NSNotification *)notification; - (void)handleViewChangedNotification:(NSNotification *)notification; +- (void)handleAnnotationWillChangeNotification:(NSNotification *)notification; +- (void)handleAnnotationDidChangeNotification:(NSNotification *)notification; +- (void)handleDidRemoveAnnotationNotification:(NSNotification *)notification; @end Modified: trunk/SKSnapshotWindowController.m =================================================================== --- trunk/SKSnapshotWindowController.m 2007-04-15 08:43:42 UTC (rev 1817) +++ trunk/SKSnapshotWindowController.m 2007-04-15 09:17:56 UTC (rev 1818) @@ -98,10 +98,21 @@ [[self delegate] snapshotControllerViewDidChange:self]; } +- (void)handleAnnotationWillChangeNotification:(NSNotification *)notification { + PDFAnnotation *annotation = [notification object]; + if ([[annotation page] isEqual:[pdfView currentPage]] && [[[notification userInfo] objectForKey:@"key"] isEqualToString:@"bounds"]) { + NSRect aRect = [pdfView convertRect:[[annotation page] boundsForBox:kPDFDisplayBoxCropBox] fromPage:[annotation page]]; + float scale = [pdfView scaleFactor]; + NSPoint max = NSMakePoint(ceilf(NSMaxX(aRect)) + scale, ceilf(NSMaxY(aRect)) + scale); + NSPoint origin = NSMakePoint(floorf(NSMinX(aRect)) - scale, floorf(NSMinY(aRect)) - scale); + [pdfView setNeedsDisplayInRect:NSMakeRect(origin.x, origin.y, max.x - origin.x, max.y - origin.y)]; + } +} + - (void)handleAnnotationDidChangeNotification:(NSNotification *)notification { PDFAnnotation *annotation = [notification object]; if ([[annotation page] isEqual:[pdfView currentPage]]) { - NSRect aRect = [pdfView convertRect:[[annotation page] boundsForBox:kPDFDisplayBoxMediaBox] fromPage:[annotation page]]; + NSRect aRect = [pdfView convertRect:[[annotation page] boundsForBox:kPDFDisplayBoxCropBox] fromPage:[annotation page]]; float scale = [pdfView scaleFactor]; NSPoint max = NSMakePoint(ceilf(NSMaxX(aRect)) + scale, ceilf(NSMaxY(aRect)) + scale); NSPoint origin = NSMakePoint(floorf(NSMinX(aRect)) - scale, floorf(NSMinY(aRect)) - scale); @@ -113,7 +124,7 @@ PDFPage *page = [[notification userInfo] objectForKey:@"page"]; if ([page isEqual:[pdfView currentPage]]) { [page removeAnnotation:[[notification userInfo] objectForKey:@"annotation"]]; - NSRect aRect = [pdfView convertRect:[page boundsForBox:kPDFDisplayBoxMediaBox] fromPage:page]; + NSRect aRect = [pdfView convertRect:[page boundsForBox:kPDFDisplayBoxCropBox] fromPage:page]; float scale = [pdfView scaleFactor]; NSPoint max = NSMakePoint(ceilf(NSMaxX(aRect)) + scale, ceilf(NSMaxY(aRect)) + scale); NSPoint origin = NSMakePoint(floorf(NSMinX(aRect)) - scale, floorf(NSMinY(aRect)) - scale); @@ -141,6 +152,8 @@ name:NSViewBoundsDidChangeNotification object:clipView]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleViewChangedNotification:) name:SKSnapshotViewChangedNotification object:self]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleAnnotationWillChangeNotification:) + name:SKAnnotationWillChangeNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleAnnotationDidChangeNotification:) name:SKAnnotationDidChangeNotification object:nil]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(handleDidRemoveAnnotationNotification:) @@ -156,6 +169,7 @@ [pdfView setScaleFactor:factor]; [pdfView setAutoScales:NO]; [pdfView setDisplaysPageBreaks:NO]; + [pdfView setDisplayBox:kPDFDisplayBoxCropBox]; PDFPage *page = [pdfDocument pageAtIndex:pageNum]; NSRect contentRect = [pdfView convertRect:rect fromPage:page]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-15 08:43:44
|
Revision: 1817 http://skim-app.svn.sourceforge.net/skim-app/?rev=1817&view=rev Author: hofman Date: 2007-04-15 01:43:42 -0700 (Sun, 15 Apr 2007) Log Message: ----------- Rearrange notes after adding a new one. This ought to be done by NSArrayController. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-04-13 17:00:04 UTC (rev 1816) +++ trunk/SKMainWindowController.m 2007-04-15 08:43:42 UTC (rev 1817) @@ -1811,6 +1811,7 @@ if (annotation) { updatingNoteSelection = YES; [noteArrayController addObject:annotation]; + [noteArrayController rearrangeObjects]; // doesn't see to be done automatically updatingNoteSelection = NO; } if (page) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-13 17:00:07
|
Revision: 1816 http://skim-app.svn.sourceforge.net/skim-app/?rev=1816&view=rev Author: hofman Date: 2007-04-13 10:00:04 -0700 (Fri, 13 Apr 2007) Log Message: ----------- Fix typo. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/English.lproj/Credits.rtf trunk/Italian.lproj/Credits.rtf Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) +++ trunk/Dutch.lproj/Credits.rtf 2007-04-13 17:00:04 UTC (rev 1816) @@ -2,7 +2,6 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} -\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Website @@ -25,7 +24,7 @@ \f0\b \ Met speciale dank \f1\b0 \ -Andy Matuschak voor {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ +Andy Matuschak voor {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Sparkle}}\ \ \f0\b Garantieinformation\ Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) +++ trunk/English.lproj/Credits.rtf 2007-04-13 17:00:04 UTC (rev 1816) @@ -2,7 +2,6 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} -\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Website @@ -25,7 +24,7 @@ \f0\b \ With special thanks \f1\b0 \ -Andy Matuschak for {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ +Andy Matuschak for {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Sparkle}}\ \ \f0\b Warranty Information\ Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) +++ trunk/Italian.lproj/Credits.rtf 2007-04-13 17:00:04 UTC (rev 1816) @@ -2,7 +2,6 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} -\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Sito Web @@ -25,7 +24,7 @@ \f0\b \ Con ringraziamento speciale \f1\b0 \ -Andy Matuschak per {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ +Andy Matuschak per {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Sparkle}}\ \ \f0\b Informazioni Garanzia\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-13 16:42:47
|
Revision: 1815 http://skim-app.svn.sourceforge.net/skim-app/?rev=1815&view=rev Author: hofman Date: 2007-04-13 09:42:40 -0700 (Fri, 13 Apr 2007) Log Message: ----------- Link to Spark in Credits. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/English.lproj/Credits.rtf trunk/Italian.lproj/Credits.rtf Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) +++ trunk/Dutch.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) @@ -2,6 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} +\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Website @@ -24,7 +25,7 @@ \f0\b \ Met speciale dank \f1\b0 \ -Andy Matuschak voor Spark\ +Andy Matuschak voor {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ \ \f0\b Garantieinformation\ Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) +++ trunk/English.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) @@ -2,6 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} +\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Website @@ -24,7 +25,7 @@ \f0\b \ With special thanks \f1\b0 \ -Andy Matuschak for Spark\ +Andy Matuschak for {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ \ \f0\b Warranty Information\ Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) +++ trunk/Italian.lproj/Credits.rtf 2007-04-13 16:42:40 UTC (rev 1815) @@ -2,6 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} +\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc \f0\b\fs24 \cf0 Sito Web @@ -24,7 +25,7 @@ \f0\b \ Con ringraziamento speciale \f1\b0 \ -Andy Matuschak per Spark\ +Andy Matuschak per {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Spark}}\ \ \f0\b Informazioni Garanzia\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 20:27:49
|
Revision: 1814 http://skim-app.svn.sourceforge.net/skim-app/?rev=1814&view=rev Author: hofman Date: 2007-04-12 13:27:45 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Add credits for Spark. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/English.lproj/Credits.rtf trunk/Italian.lproj/Credits.rtf Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-04-12 20:08:49 UTC (rev 1813) +++ trunk/Dutch.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) @@ -20,6 +20,11 @@ \f1\b0 \ Andrea Bergia (Italiaans)\ Christiaan M. Hofman (Nederlands)\ + +\f0\b \ +Met speciale dank +\f1\b0 \ +Andy Matuschak voor Spark\ \ \f0\b Garantieinformation\ Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-04-12 20:08:49 UTC (rev 1813) +++ trunk/English.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) @@ -20,8 +20,12 @@ \f1\b0 \ Andrea Bergia (Italian)\ Christiaan M. Hofman (Dutch)\ + +\f0\b \ +With special thanks +\f1\b0 \ +Andy Matuschak for Spark\ \ -\ \f0\b Warranty Information\ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-12 20:08:49 UTC (rev 1813) +++ trunk/Italian.lproj/Credits.rtf 2007-04-12 20:27:45 UTC (rev 1814) @@ -20,6 +20,11 @@ \f1\b0 \ Andrea Bergia (Italiano)\ Christiaan M. Hofman (Olandese)\ + +\f0\b \ +Con ringraziamento speciale +\f1\b0 \ +Andy Matuschak per Spark\ \ \f0\b Informazioni Garanzia\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ama...@us...> - 2007-04-12 20:08:51
|
Revision: 1813 http://skim-app.svn.sourceforge.net/skim-app/?rev=1813&view=rev Author: amaxwell Date: 2007-04-12 13:08:49 -0700 (Thu, 12 Apr 2007) Log Message: ----------- - Rename class and ivar - Remove test code from a previous NSApplication-based attempt - Close filehandle after writing data - Write log messages to stderr; client can redirect to /dev/null - Add license info Modified Paths: -------------- SkimNotesAgent/SkimNotesAgent.h SkimNotesAgent/SkimNotesAgent.m SkimNotesAgent/SkimNotesAgent.xcodeproj/project.pbxproj Modified: SkimNotesAgent/SkimNotesAgent.h =================================================================== --- SkimNotesAgent/SkimNotesAgent.h 2007-04-12 18:39:45 UTC (rev 1812) +++ SkimNotesAgent/SkimNotesAgent.h 2007-04-12 20:08:49 UTC (rev 1813) @@ -1,13 +1,41 @@ /* * SkimNotesAgent.h - * SkimNotesAgent * * Created by Adam Maxwell on 04/10/07. - * Copyright 2007 __MyCompanyName__. All rights reserved. * + This software is Copyright (c) 2007 + Adam Maxwell. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + - Neither the name of Adam Maxwell nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -@protocol ListenerProtocol +@protocol SKAgentListenerProtocol - (bycopy NSData *)RTFNotesAtPath:(in bycopy NSString *)aFile; - (bycopy NSString *)textNotesAtPath:(in bycopy NSString *)aFile; Modified: SkimNotesAgent/SkimNotesAgent.m =================================================================== --- SkimNotesAgent/SkimNotesAgent.m 2007-04-12 18:39:45 UTC (rev 1812) +++ SkimNotesAgent/SkimNotesAgent.m 2007-04-12 20:08:49 UTC (rev 1813) @@ -1,3 +1,41 @@ +/* + * SkimNotesAgent.m + * + * Created by Adam Maxwell on 04/10/07. + * + This software is Copyright (c) 2007 + Adam Maxwell. All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + - Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + - Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + + - Neither the name of Adam Maxwell nor the names of any + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + #import <AppKit/AppKit.h> #import "NSFileManager_ExtendedAttributes.h" #import "SkimNotesAgent.h" @@ -2,11 +40,11 @@ -@interface Listener : NSObject +@interface SKAgentListener : NSObject { - NSConnection *_connection; + NSConnection *connection; } - (id)initWithServerName:(NSString *)serverName; -- (void)_destroyConnection; +- (void)destroyConnection; @end -@implementation Listener +@implementation SKAgentListener @@ -16,23 +54,24 @@ { self = [super init]; if (self) { - _connection = [[NSConnection alloc] initWithReceivePort:[NSPort port] sendPort:nil]; - NSProtocolChecker *checker = [NSProtocolChecker protocolCheckerWithTarget:self protocol:@protocol(ListenerProtocol)]; - [_connection setRootObject:checker]; - [_connection setDelegate:self]; + connection = [[NSConnection alloc] initWithReceivePort:[NSPort port] sendPort:nil]; + NSProtocolChecker *checker = [NSProtocolChecker protocolCheckerWithTarget:self protocol:@protocol(SKAgentListenerProtocol)]; + [connection setRootObject:checker]; + [connection setDelegate:self]; // user can pass nil, in which case we generate a server name to be read from standard output if (nil == serverName) serverName = [[NSProcessInfo processInfo] globallyUniqueString]; - if ([_connection registerName:serverName] == NO) { - NSLog(@"failed to register connection; another agent process must be running"); - [self _destroyConnection]; + if ([connection registerName:serverName] == NO) { + fprintf(stderr, "SkimNotesAgent pid %d: unable to register connection name %s; another process must be running\n", getpid(), [serverName UTF8String]); + [self destroyConnection]; [self release]; self = nil; } NSFileHandle *fh = [NSFileHandle fileHandleWithStandardOutput]; [fh writeData:[serverName dataUsingEncoding:NSUTF8StringEncoding]]; + [fh closeFile]; } return self; } @@ -40,6 +79,7 @@ - (void)dealloc { [[NSNotificationCenter defaultCenter] removeObserver:self]; + [self destroyConnection]; [super dealloc]; } @@ -48,7 +88,7 @@ NSError *error; NSData *data = [[NSFileManager defaultManager] extendedAttributeNamed:@"net_sourceforge_skim-app_rtf_notes" atPath:[aFile stringByStandardizingPath] traverseLink:YES error:&error]; if (nil == data && [error code] != ENOATTR) - NSLog(@"%@", error); + fprintf(stderr, "SkimNotesAgent pid %d: error getting RTF notes (%s)\n", getpid(), [[error description] UTF8String]); return data; } @@ -58,25 +98,26 @@ NSString *string = nil; NSData *data = [[NSFileManager defaultManager] extendedAttributeNamed:@"net_sourceforge_skim-app_text_notes" atPath:[aFile stringByStandardizingPath] traverseLink:YES error:&error]; if (nil == data && [error code] != ENOATTR) - NSLog(@"%@", error); + fprintf(stderr, "SkimNotesAgent pid %d: error getting RTF notes (%s)\n", getpid(), [[error description] UTF8String]); else string = [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; return string; } -- (void)_destroyConnection; +- (void)destroyConnection; { - [_connection registerName:nil]; - [[_connection receivePort] invalidate]; - [[_connection sendPort] invalidate]; - [_connection invalidate]; - [_connection release]; - _connection = nil; + [connection registerName:nil]; + [[connection receivePort] invalidate]; + [[connection sendPort] invalidate]; + [connection invalidate]; + [connection release]; + connection = nil; } -- (void)portDied:(id)obj +- (void)portDied:(NSNotification *)notification { - [self _destroyConnection]; + [self destroyConnection]; + fprintf(stderr, "SkimNotesAgent pid %d dying because port %s is invalid\n", getpid(), [[[notification object] description] UTF8String]); exit(0); } @@ -84,15 +125,10 @@ - (BOOL)makeNewConnection:(NSConnection *)newConnection sender:(NSConnection *)parentConnection { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(portDied:) name:NSPortDidBecomeInvalidNotification object:[newConnection sendPort]]; + fprintf(stderr, "SkimNotesAgent pid %d connection registered\n", getpid()); return YES; } - -- (void)applicationWillTerminate:(NSNotification *)aNotification; -{ - [self _destroyConnection]; -} - @end int main (int argc, const char * argv[]) { @@ -100,19 +136,19 @@ NSArray *args = [[NSProcessInfo processInfo] arguments]; NSString *serverName = [args count] > 1 ? [args lastObject] : nil; - Listener *listener = [[Listener alloc] initWithServerName:serverName]; + SKAgentListener *listener = [[SKAgentListener alloc] initWithServerName:serverName]; NSRunLoop *rl = [NSRunLoop currentRunLoop]; BOOL didRun; NSDate *distantFuture = [NSDate distantFuture]; - NSAutoreleasePool *__pool = [NSAutoreleasePool new]; + NSAutoreleasePool *runpool = [NSAutoreleasePool new]; do { - [__pool release]; - __pool = [NSAutoreleasePool new]; + [runpool release]; + runpool = [NSAutoreleasePool new]; didRun = [rl runMode:NSDefaultRunLoopMode beforeDate:distantFuture]; } while (listener && didRun); - [__pool release]; + [runpool release]; [listener release]; [pool release]; Modified: SkimNotesAgent/SkimNotesAgent.xcodeproj/project.pbxproj =================================================================== --- SkimNotesAgent/SkimNotesAgent.xcodeproj/project.pbxproj 2007-04-12 18:39:45 UTC (rev 1812) +++ SkimNotesAgent/SkimNotesAgent.xcodeproj/project.pbxproj 2007-04-12 20:08:49 UTC (rev 1813) @@ -35,7 +35,7 @@ 08FB7796FE84155DC02AAC07 /* SkimNotesAgent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SkimNotesAgent.m; sourceTree = "<group>"; }; 08FB779EFE84155DC02AAC07 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 32A70AAB03705E1F00C91783 /* SkimNotesAgent_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SkimNotesAgent_Prefix.pch; sourceTree = "<group>"; }; - 8DD76FA10486AA7600D96B5E /* SkimNotesAgent */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = SkimNotesAgent; sourceTree = BUILT_PRODUCTS_DIR; }; + 8DD76FA10486AA7600D96B5E /* SkimNotesAgent */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SkimNotesAgent; sourceTree = BUILT_PRODUCTS_DIR; }; C6859EA3029092ED04C91782 /* SkimNotesAgent.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = SkimNotesAgent.1; sourceTree = "<group>"; }; F92BA4090BCAF831008D5BC3 /* NSFileManager_ExtendedAttributes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSFileManager_ExtendedAttributes.h; sourceTree = "<group>"; }; F92BA40A0BCAF831008D5BC3 /* NSFileManager_ExtendedAttributes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSFileManager_ExtendedAttributes.m; sourceTree = "<group>"; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 18:40:06
|
Revision: 1812 http://skim-app.svn.sourceforge.net/skim-app/?rev=1812&view=rev Author: hofman Date: 2007-04-12 11:39:45 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Update release notes Modified Paths: -------------- trunk/Dutch.lproj/ReleaseNotes.rtf trunk/English.lproj/ReleaseNotes.rtf trunk/Italian.lproj/ReleaseNotes.rtf Modified: trunk/Dutch.lproj/ReleaseNotes.rtf =================================================================== --- trunk/Dutch.lproj/ReleaseNotes.rtf 2007-04-12 18:22:58 UTC (rev 1811) +++ trunk/Dutch.lproj/ReleaseNotes.rtf 2007-04-12 18:39:45 UTC (rev 1812) @@ -2,7 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 LucidaGrande;\f2\fnil\fcharset77 LucidaSans-Typewriter; \f3\fswiss\fcharset77 Helvetica-Bold;\f4\fswiss\fcharset77 Helvetica-BoldOblique;\f5\fnil\fcharset77 LucidaGrande-Bold; } -{\colortbl;\red255\green255\blue255;\red255\green0\blue0;} +{\colortbl;\red255\green255\blue255;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1} {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid2} {\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid3} @@ -26,16 +26,24 @@ {\list\listtemplateid21\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid21} {\list\listtemplateid22\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid22} {\list\listtemplateid23\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid23} -{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24}} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}} +{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24} +{\list\listtemplateid25\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid25} +{\list\listtemplateid26\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid26} +{\list\listtemplateid27\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid27} +{\list\listtemplateid28\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid28} +{\list\listtemplateid29\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid29} +{\list\listtemplateid30\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid30} +{\list\listtemplateid31\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid31} +{\list\listtemplateid32\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid32}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}{\listoverride\listid25\listoverridecount0\ls25}{\listoverride\listid26\listoverridecount0\ls26}{\listoverride\listid27\listoverridecount0\ls27}{\listoverride\listid28\listoverridecount0\ls28}{\listoverride\listid29\listoverridecount0\ls29}{\listoverride\listid30\listoverridecount0\ls30}{\listoverride\listid31\listoverridecount0\ls31}{\listoverride\listid32\listoverridecount0\ls32}} \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \f0\fs60 \cf0 Skim Release Notes\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\fs22 \cf0 \ -Last update: 9 April 2007 (rev -\f2\fs20 1774 +Last update: 12 April 2007 (rev +\f2\fs20 1811 \f1\fs22 )\ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural @@ -79,30 +87,48 @@ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \ls15\ilvl0\cf0 {\listtext \'a5 }Skim can now return to the last page viewed in a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls16\ilvl0\cf0 {\listtext \'a5 }Link tool tips now show the top of the text when the link refers to the (empty) top of a page. \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls17\ilvl0\cf0 {\listtext \'a5 }Skim can now also view separate Skim notes (.skim) files.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls18\ilvl0\cf0 {\listtext \'a5 }Using Sparkle for automatic updating. (Thanks +\f0\fs24 Andy Matuschak!) +\f1\fs22 \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls19\ilvl0\cf0 {\listtext \'a5 }Display the number of pages in the title bar.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls20\ilvl0\cf0 {\listtext \'a5 }Skim can now automatically backup a skim notes file whenever it saves a PDF file.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls16\ilvl0 +\ls21\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }We now don't edit new text notes, so they can be moved, resized or deleted.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls17\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ +\ls22\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls18\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ +\ls23\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls19\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ +\ls24\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls20\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ +\ls25\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls21\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ +\ls26\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls22\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ +\ls27\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls23\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ +\ls28\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls24\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\ls29\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls30\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting the document. Unfortunately this disabled tool tips.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls31\ilvl0\cf0 {\listtext \'a5 }Open the contents pane to display the search term when opening from Spotlight.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls32\ilvl0\cf0 {\listtext \'a5 }Save notes when auto-saving and exporting as PDF.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f3\b\fs28 \cf0 \ @@ -149,6 +175,6 @@ \f1\i0\b0\fs22 \cf0 \ Bug reports should be submitted to the {\field{\*\fldinst{HYPERLINK "http://sourceforge.net/tracker/?group_id=192583&atid=941981"}}{\fldrslt bug tracker}} on SourceForge. -\f5\b \cf2 Note: -\f1\b0 \cf0 Please assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody will notice it for a long time. Assigning it to someone sends them an email notification.\ +\f5\b Note: +\f1\b0 If you can, please assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody may notice it for a long time. Assigning it to someone sends them an email notification.\ } \ No newline at end of file Modified: trunk/English.lproj/ReleaseNotes.rtf =================================================================== --- trunk/English.lproj/ReleaseNotes.rtf 2007-04-12 18:22:58 UTC (rev 1811) +++ trunk/English.lproj/ReleaseNotes.rtf 2007-04-12 18:39:45 UTC (rev 1812) @@ -2,7 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 LucidaGrande;\f2\fnil\fcharset77 LucidaSans-Typewriter; \f3\fswiss\fcharset77 Helvetica-Bold;\f4\fswiss\fcharset77 Helvetica-BoldOblique;\f5\fnil\fcharset77 LucidaGrande-Bold; } -{\colortbl;\red255\green255\blue255;\red255\green0\blue0;} +{\colortbl;\red255\green255\blue255;\red0\green0\blue0;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1} {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid2} {\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid3} @@ -26,16 +26,25 @@ {\list\listtemplateid21\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid21} {\list\listtemplateid22\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid22} {\list\listtemplateid23\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid23} -{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24}} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}} +{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24} +{\list\listtemplateid25\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid25} +{\list\listtemplateid26\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid26} +{\list\listtemplateid27\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid27} +{\list\listtemplateid28\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid28} +{\list\listtemplateid29\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid29} +{\list\listtemplateid30\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid30} +{\list\listtemplateid31\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid31} +{\list\listtemplateid32\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid32}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}{\listoverride\listid25\listoverridecount0\ls25}{\listoverride\listid26\listoverridecount0\ls26}{\listoverride\listid27\listoverridecount0\ls27}{\listoverride\listid28\listoverridecount0\ls28}{\listoverride\listid29\listoverridecount0\ls29}{\listoverride\listid30\listoverridecount0\ls30}{\listoverride\listid31\listoverridecount0\ls31}{\listoverride\listid32\listoverridecount0\ls32}} +\vieww10500\viewh9000\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \f0\fs60 \cf0 Skim Release Notes\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\fs22 \cf0 \ -Last update: 9 April 2007 (rev -\f2\fs20 1774 +Last update: 12 April 2007 (rev +\f2\fs20 1811 \f1\fs22 )\ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural @@ -79,30 +88,48 @@ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \ls15\ilvl0\cf0 {\listtext \'a5 }Skim can now return to the last page viewed in a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls16\ilvl0\cf0 {\listtext \'a5 }Link tool tips now show the top of the text when the link refers to the (empty) top of a page. \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls17\ilvl0\cf0 {\listtext \'a5 }Skim can now also view separate Skim notes (.skim) files.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls18\ilvl0\cf0 {\listtext \'a5 }Using Sparkle for automatic updating. (Thanks +\f0\fs24 Andy Matuschak!) +\f1\fs22 \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls19\ilvl0\cf0 {\listtext \'a5 }Display the number of pages in the title bar.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls20\ilvl0\cf0 {\listtext \'a5 }Skim can now automatically backup a skim notes file whenever it saves a PDF file.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls16\ilvl0 +\ls21\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }We now don't edit new text notes, so they can be moved, resized or deleted.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls17\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ +\ls22\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls18\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ +\ls23\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls19\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ +\ls24\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls20\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ +\ls25\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls21\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ +\ls26\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls22\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ +\ls27\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls23\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ +\ls28\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls24\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\ls29\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls30\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting the document. Unfortunately this disabled tool tips.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls31\ilvl0\cf0 {\listtext \'a5 }Open the contents pane to display the search term when opening from Spotlight.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls32\ilvl0\cf0 {\listtext \'a5 }Save notes when auto-saving and exporting as PDF.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f3\b\fs28 \cf0 \ @@ -150,5 +177,5 @@ \f1\i0\b0\fs22 \cf0 \ Bug reports should be submitted to the {\field{\*\fldinst{HYPERLINK "http://sourceforge.net/tracker/?group_id=192583&atid=941981"}}{\fldrslt bug tracker}} on SourceForge. \f5\b \cf2 Note: -\f1\b0 \cf0 Please assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody will notice it for a long time. Assigning it to someone sends them an email notification.\ +\f1\b0 If you can, ple\cf0 ase assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody may notice it for a long time. Assigning it to someone sends them an email notification.\ } \ No newline at end of file Modified: trunk/Italian.lproj/ReleaseNotes.rtf =================================================================== --- trunk/Italian.lproj/ReleaseNotes.rtf 2007-04-12 18:22:58 UTC (rev 1811) +++ trunk/Italian.lproj/ReleaseNotes.rtf 2007-04-12 18:39:45 UTC (rev 1812) @@ -2,7 +2,7 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 LucidaGrande;\f2\fnil\fcharset77 LucidaSans-Typewriter; \f3\fswiss\fcharset77 Helvetica-Bold;\f4\fswiss\fcharset77 Helvetica-BoldOblique;\f5\fnil\fcharset77 LucidaGrande-Bold; } -{\colortbl;\red255\green255\blue255;\red255\green0\blue0;} +{\colortbl;\red255\green255\blue255;} {\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid1} {\list\listtemplateid2\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid2} {\list\listtemplateid3\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid3} @@ -26,16 +26,24 @@ {\list\listtemplateid21\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid21} {\list\listtemplateid22\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid22} {\list\listtemplateid23\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid23} -{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24}} -{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}} +{\list\listtemplateid24\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid24} +{\list\listtemplateid25\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid25} +{\list\listtemplateid26\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid26} +{\list\listtemplateid27\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid27} +{\list\listtemplateid28\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid28} +{\list\listtemplateid29\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid29} +{\list\listtemplateid30\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid30} +{\list\listtemplateid31\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid31} +{\list\listtemplateid32\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid32}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}{\listoverride\listid2\listoverridecount0\ls2}{\listoverride\listid3\listoverridecount0\ls3}{\listoverride\listid4\listoverridecount0\ls4}{\listoverride\listid5\listoverridecount0\ls5}{\listoverride\listid6\listoverridecount0\ls6}{\listoverride\listid7\listoverridecount0\ls7}{\listoverride\listid8\listoverridecount0\ls8}{\listoverride\listid9\listoverridecount0\ls9}{\listoverride\listid10\listoverridecount0\ls10}{\listoverride\listid11\listoverridecount0\ls11}{\listoverride\listid12\listoverridecount0\ls12}{\listoverride\listid13\listoverridecount0\ls13}{\listoverride\listid14\listoverridecount0\ls14}{\listoverride\listid15\listoverridecount0\ls15}{\listoverride\listid16\listoverridecount0\ls16}{\listoverride\listid17\listoverridecount0\ls17}{\listoverride\listid18\listoverridecount0\ls18}{\listoverride\listid19\listoverridecount0\ls19}{\listoverride\listid20\listoverridecount0\ls20}{\listoverride\listid21\listoverridecount0\ls21}{\listoverride\listid22\listoverridecount0\ls22}{\listoverride\listid23\listoverridecount0\ls23}{\listoverride\listid24\listoverridecount0\ls24}{\listoverride\listid25\listoverridecount0\ls25}{\listoverride\listid26\listoverridecount0\ls26}{\listoverride\listid27\listoverridecount0\ls27}{\listoverride\listid28\listoverridecount0\ls28}{\listoverride\listid29\listoverridecount0\ls29}{\listoverride\listid30\listoverridecount0\ls30}{\listoverride\listid31\listoverridecount0\ls31}{\listoverride\listid32\listoverridecount0\ls32}} \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \f0\fs60 \cf0 Skim Release Notes\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\fs22 \cf0 \ -Last update: 9 April 2007 (rev -\f2\fs20 1774 +Last update: 12 April 2007 (rev +\f2\fs20 1811 \f1\fs22 )\ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural @@ -79,30 +87,48 @@ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \ls15\ilvl0\cf0 {\listtext \'a5 }Skim can now return to the last page viewed in a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls16\ilvl0\cf0 {\listtext \'a5 }Link tool tips now show the top of the text when the link refers to the (empty) top of a page. \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls17\ilvl0\cf0 {\listtext \'a5 }Skim can now also view separate Skim notes (.skim) files.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls18\ilvl0\cf0 {\listtext \'a5 }Using Sparkle for automatic updating. (Thanks +\f0\fs24 Andy Matuschak!) +\f1\fs22 \ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls19\ilvl0\cf0 {\listtext \'a5 }Display the number of pages in the title bar.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls20\ilvl0\cf0 {\listtext \'a5 }Skim can now automatically backup a skim notes file whenever it saves a PDF file.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls16\ilvl0 +\ls21\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }We now don't edit new text notes, so they can be moved, resized or deleted.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls17\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ +\ls22\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls18\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ +\ls23\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls19\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ +\ls24\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls20\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ +\ls25\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls21\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ +\ls26\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls22\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ +\ls27\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls23\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ +\ls28\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls24\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\ls29\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls30\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting the document. Unfortunately this disabled tool tips.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls31\ilvl0\cf0 {\listtext \'a5 }Open the contents pane to display the search term when opening from Spotlight.\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls32\ilvl0\cf0 {\listtext \'a5 }Save notes when auto-saving and exporting as PDF.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f3\b\fs28 \cf0 \ @@ -149,6 +175,6 @@ \f1\i0\b0\fs22 \cf0 \ Bug reports should be submitted to the {\field{\*\fldinst{HYPERLINK "http://sourceforge.net/tracker/?group_id=192583&atid=941981"}}{\fldrslt bug tracker}} on SourceForge. -\f5\b \cf2 Note: -\f1\b0 \cf0 Please assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody will notice it for a long time. Assigning it to someone sends them an email notification.\ +\f5\b Note: +\f1\b0 If you can, please assign the bug report to someone - if you don't personally know any developers, assign the bug to Mike (username mmcc). If you don't assign the bug to someone, nobody may notice it for a long time. Assigning it to someone sends them an email notification.\ } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 18:22:59
|
Revision: 1811 http://skim-app.svn.sourceforge.net/skim-app/?rev=1811&view=rev Author: hofman Date: 2007-04-12 11:22:58 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Improve Credits. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/English.lproj/Credits.rtf trunk/Italian.lproj/Credits.rtf Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-04-12 18:12:30 UTC (rev 1810) +++ trunk/Dutch.lproj/Credits.rtf 2007-04-12 18:22:58 UTC (rev 1811) @@ -4,12 +4,12 @@ {\colortbl;\red255\green255\blue255;} \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Webpagina +\f0\b\fs24 \cf0 Website \f1\b0 \ {\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ -\f0\b Design and Programmering +\f0\b Design en Programmering \f1\b0 \ Christiaan M. Hofman\ Adam R. Maxwell\ @@ -19,6 +19,7 @@ Vertalers \f1\b0 \ Andrea Bergia (Italiaans)\ +Christiaan M. Hofman (Nederlands)\ \ \f0\b Garantieinformation\ Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-04-12 18:12:30 UTC (rev 1810) +++ trunk/English.lproj/Credits.rtf 2007-04-12 18:22:58 UTC (rev 1811) @@ -2,10 +2,9 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} -\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Web Page +\f0\b\fs24 \cf0 Website \f1\b0 \ {\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ @@ -20,7 +19,9 @@ Translators \f1\b0 \ Andrea Bergia (Italian)\ +Christiaan M. Hofman (Dutch)\ \ +\ \f0\b Warranty Information\ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-12 18:12:30 UTC (rev 1810) +++ trunk/Italian.lproj/Credits.rtf 2007-04-12 18:22:58 UTC (rev 1811) @@ -2,10 +2,9 @@ {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; } {\colortbl;\red255\green255\blue255;} -\vieww10500\viewh9000\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Web Pagina +\f0\b\fs24 \cf0 Sito Web \f1\b0 \ {\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ @@ -20,6 +19,7 @@ Traduttori \f1\b0 \ Andrea Bergia (Italiano)\ +Christiaan M. Hofman (Olandese)\ \ \f0\b Informazioni Garanzia\ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 18:12:32
|
Revision: 1810 http://skim-app.svn.sourceforge.net/skim-app/?rev=1810&view=rev Author: hofman Date: 2007-04-12 11:12:30 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Save notes for any save operation. Modified Paths: -------------- trunk/SKDocument.m Modified: trunk/SKDocument.m =================================================================== --- trunk/SKDocument.m 2007-04-12 17:42:31 UTC (rev 1809) +++ trunk/SKDocument.m 2007-04-12 18:12:30 UTC (rev 1810) @@ -128,43 +128,46 @@ - (BOOL)saveToURL:(NSURL *)absoluteURL ofType:(NSString *)typeName forSaveOperation:(NSSaveOperationType)saveOperation error:(NSError **)outError{ BOOL success = [super saveToURL:absoluteURL ofType:typeName forSaveOperation:saveOperation error:outError]; - // we check for notes and save a .skim as well: + // we check for notes and may save a .skim as well: if (success && [typeName isEqualToString:SKPDFDocumentType]) { - if (saveOperation == NSSaveOperation || saveOperation == NSSaveAsOperation) { - [self saveNotesToExtendedAttributesAtURL:absoluteURL error:NULL]; - [self updateChangeCount:NSChangeCleared]; - [lastChangedDate release]; - lastChangedDate = [[[[NSFileManager defaultManager] fileAttributesAtPath:[absoluteURL path] traverseLink:YES] fileModificationDate] retain]; + NSFileManager *fm = [NSFileManager defaultManager]; + + [self saveNotesToExtendedAttributesAtURL:absoluteURL error:NULL]; + + if ([[NSUserDefaults standardUserDefaults] boolForKey:SKAutoSaveSkimNotesKey]) { + NSString *notesPath = [[[absoluteURL path] stringByDeletingPathExtension] stringByAppendingPathExtension:@"skim"]; + BOOL canMove = YES; + BOOL fileExists = [fm fileExistsAtPath:notesPath]; - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKAutoSaveSkimNotesKey]) { - NSString *notesPath = [[[absoluteURL path] stringByDeletingPathExtension] stringByAppendingPathExtension:@"skim"]; - NSFileManager *fm = [NSFileManager defaultManager]; - BOOL canMove = YES; - BOOL fileExists = [fm fileExistsAtPath:notesPath]; + if (fileExists && (saveOperation == NSSaveAsOperation || saveOperation == NSSaveToOperation)) { + NSAlert *alert = [NSAlert alertWithMessageText:[NSString stringWithFormat:NSLocalizedString(@"\"%@\" already exists. Do you want to replace it?", @"Message in alert dialog"), [notesPath lastPathComponent]] + defaultButton:NSLocalizedString(@"Save", @"Button title") + alternateButton:NSLocalizedString(@"Cancel", @"Button title") + otherButton:nil + informativeTextWithFormat:NSLocalizedString(@"A file or folder with the same name already exists in %@. Replacing it will overwrite its current contents.", @"Informative text in alert dialog"), [[notesPath stringByDeletingLastPathComponent] lastPathComponent]]; - if (fileExists && (saveOperation == NSSaveAsOperation || saveOperation == NSSaveToOperation)) { - NSAlert *alert = [NSAlert alertWithMessageText:[NSString stringWithFormat:NSLocalizedString(@"\"%@\" already exists. Do you want to replace it?", @"Message in alert dialog"), [notesPath lastPathComponent]] - defaultButton:NSLocalizedString(@"Save", @"Button title") - alternateButton:NSLocalizedString(@"Cancel", @"Button title") - otherButton:nil - informativeTextWithFormat:NSLocalizedString(@"A file or folder with the same name already exists in %@. Replacing it will overwrite its current contents.", @"Informative text in alert dialog"), [[notesPath stringByDeletingLastPathComponent] lastPathComponent]]; - - canMove = NSAlertDefaultReturn == [alert runModal]; + canMove = NSAlertDefaultReturn == [alert runModal]; + } + + if (canMove) { + NSString *tmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[NSProcessInfo processInfo] globallyUniqueString]]; + if ([self writeToURL:[NSURL fileURLWithPath:tmpPath] ofType:SKNotesDocumentType error:NULL]) { + if (fileExists) + canMove = [fm removeFileAtPath:notesPath handler:nil]; + if (canMove) + [fm movePath:tmpPath toPath:notesPath handler:nil]; + else + [fm removeFileAtPath:tmpPath handler:nil]; } - - if (canMove) { - NSString *tmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[NSProcessInfo processInfo] globallyUniqueString]]; - if ([self writeToURL:[NSURL fileURLWithPath:tmpPath] ofType:SKNotesDocumentType error:NULL]) { - if (fileExists) - canMove = [fm removeFileAtPath:notesPath handler:nil]; - if (canMove) - [fm movePath:tmpPath toPath:notesPath handler:nil]; - else - [fm removeFileAtPath:tmpPath handler:nil]; - } - } } } + + if (saveOperation == NSSaveOperation || saveOperation == NSSaveAsOperation) { + [self updateChangeCount:NSChangeCleared]; + [lastChangedDate release]; + lastChangedDate = [[[fm fileAttributesAtPath:[absoluteURL path] traverseLink:YES] fileModificationDate] retain]; + } + } return success; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 17:42:32
|
Revision: 1809 http://skim-app.svn.sourceforge.net/skim-app/?rev=1809&view=rev Author: hofman Date: 2007-04-12 10:42:31 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Add built phase to generate localized string files Modified Paths: -------------- trunk/Skim.xcodeproj/project.pbxproj Modified: trunk/Skim.xcodeproj/project.pbxproj =================================================================== --- trunk/Skim.xcodeproj/project.pbxproj 2007-04-12 17:17:12 UTC (rev 1808) +++ trunk/Skim.xcodeproj/project.pbxproj 2007-04-12 17:42:31 UTC (rev 1809) @@ -773,6 +773,7 @@ isa = PBXNativeTarget; buildConfigurationList = C05733C708A9546B00998B17 /* Build configuration list for PBXNativeTarget "Skim" */; buildPhases = ( + CEE1383C0BCEA63F00BF2D3E /* ShellScript */, 8D15AC2B0486D014006FF6A4 /* Resources */, 8D15AC300486D014006FF6A4 /* Sources */, 8D15AC330486D014006FF6A4 /* Frameworks */, @@ -957,6 +958,19 @@ shellPath = /bin/sh; shellScript = "rm -f /tmp/Skim.dmg\nunzip ${SOURCE_ROOT}/Skim.dmg.zip\n/bin/cp ${SOURCE_ROOT}/Skim.dmg /tmp\n/usr/bin/hdiutil attach /tmp/Skim.dmg\n${SYSTEM_DEVELOPER_TOOLS}/CpMac -r ${BUILT_PRODUCTS_DIR}/Skim.app /Volumes/Skim\nosascript -e \"tell application \\\"Finder\\\" to set the position of application file \\\"Skim.app\\\" of disk named \\\"Skim\\\" to {90, 206}\" && \\\nsleep 7; \\\n/usr/sbin/diskutil eject /Volumes/Skim\n/usr/bin/hdiutil resize -size `/usr/bin/hdiutil resize /tmp/Skim.dmg | cut -f -1 -d \" \" -`b /tmp/Skim.dmg\n/usr/bin/hdiutil convert /tmp/Skim.dmg -format UDZO -imagekey zlib-level=9 -o $HOME/Desktop/Skim.dmg\n/usr/bin/hdiutil internet-enable -YES $HOME/Desktop/Skim.dmg\nexit 0"; }; + CEE1383C0BCEA63F00BF2D3E /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = "#\n# Run the genstrings build phase\n# This takes a while to generate, so it's not worth\n# the wait for development builds.\n#\ncd ${SOURCE_ROOT}\nif [ -f \"English.lproj/Localizable.strings\" ]; then\nmv English.lproj/Localizable.strings English.lproj/Localizable.strings.bak \nfi\nif [ -f \"English.lproj/ZoomValues.strings\" ]; then\nmv English.lproj/ZoomValues.strings English.lproj/ZoomValues.strings.bak \nfi\n/usr/bin/genstrings -o ${SOURCE_ROOT}/English.lproj `/usr/bin/find . -type file -name \"*.[mh]\"`"; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 17:17:17
|
Revision: 1808 http://skim-app.svn.sourceforge.net/skim-app/?rev=1808&view=rev Author: hofman Date: 2007-04-12 10:17:12 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Remove localizations of Sparkle we don't support in Skim. Removed Paths: ------------- trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/ca.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/cs.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/cy.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/da.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/de.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/es.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/fi.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/fr.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/he.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/hu.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/id.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/is.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/ja.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/ko.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/no.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/pl.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/ru.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/sk.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/sv.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/th.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/tr.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/ trunk/vendorsrc/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 16:47:24
|
Revision: 1807 http://skim-app.svn.sourceforge.net/skim-app/?rev=1807&view=rev Author: hofman Date: 2007-04-12 09:47:18 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Indent View menu items for side pane states. Modified Paths: -------------- trunk/SKApplicationController.m Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2007-04-12 16:32:14 UTC (rev 1806) +++ trunk/SKApplicationController.m 2007-04-12 16:47:18 UTC (rev 1807) @@ -102,6 +102,17 @@ return NO; } +- (void)awakeFromNib { + NSMenu *viewMenu = [[[NSApp mainMenu] itemAtIndex:4] submenu]; + int i, count = [viewMenu numberOfItems]; + + for (i = 0; i < count; i++) { + NSMenuItem *menuItem = [viewMenu itemAtIndex:i]; + if ([menuItem action] == @selector(changeLeftSidePaneState:) || [menuItem action] == @selector(changeRightSidePaneState:)) + [menuItem setIndentationLevel:1]; + } +} + - (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender{ if ([[NSUserDefaults standardUserDefaults] boolForKey:SKReopenLastOpenFilesKey]) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 16:32:18
|
Revision: 1806 http://skim-app.svn.sourceforge.net/skim-app/?rev=1806&view=rev Author: hofman Date: 2007-04-12 09:32:14 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Cleaner credtis. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/English.lproj/Credits.rtf trunk/Italian.lproj/Credits.rtf Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-04-12 14:28:57 UTC (rev 1805) +++ trunk/Dutch.lproj/Credits.rtf 2007-04-12 16:32:14 UTC (rev 1806) @@ -1,30 +1,30 @@ {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 -{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;} +{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; +} {\colortbl;\red255\green255\blue255;} -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Design and Engineering: +\f0\b\fs24 \cf0 Webpagina \f1\b0 \ - Christiaan M. Hofman\ - Adam R. Maxwell\ - Michael O. McCracken\ +{\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ -\f0\b Warranty Information:\ +\f0\b Design and Programmering +\f1\b0 \ +Christiaan M. Hofman\ +Adam R. Maxwell\ +Michael O. McCracken\ -\f1\b0 The current version and all subsequent versions are licensed under the BSD License:\ +\f0\b \ +Vertalers +\f1\b0 \ +Andrea Bergia (Italiaans)\ \ -This software is Copyright \'a9 2001-2007, Michael O. McCracken\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 All rights reserved.\ -\ -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural -\cf0 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\ -\ -\'a5 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 \'a5 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\ -\'a5 Neither the name of Michael O. McCracken nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.\ -\ -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ + +\f0\b Garantieinformation\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural + +\f2\b0 \cf0 Deze software is gelicensieerd onder de BSD Licentie:\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc +{\field{\*\fldinst{HYPERLINK "http://www.opensource.org/licenses/bsd-license.php"}}{\fldrslt \cf0 http://www.opensource.org/licenses/bsd-license.php}}\ } \ No newline at end of file Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-04-12 14:28:57 UTC (rev 1805) +++ trunk/English.lproj/Credits.rtf 2007-04-12 16:32:14 UTC (rev 1806) @@ -1,31 +1,31 @@ {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 -{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;} +{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; +} {\colortbl;\red255\green255\blue255;} -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural +\vieww10500\viewh9000\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Design and Engineering: +\f0\b\fs24 \cf0 Web Page \f1\b0 \ - Christiaan M. Hofman\ - Adam R. Maxwell\ - Michael O. McCracken\ +{\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ -\f0\b Warranty Information:\ -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural +\f0\b Design and Engineering +\f1\b0 \ +Christiaan M. Hofman\ +Adam R. Maxwell\ +Michael O. McCracken\ -\f1\b0 \cf0 The current version and all subsequent versions are licensed under the BSD License:\ +\f0\b \ +Translators +\f1\b0 \ +Andrea Bergia (Italian)\ \ -This software is Copyright \'a9 2001-2007, Michael O. McCracken\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 All rights reserved.\ -\ -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural -\cf0 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\ -\ -\'a5 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 \'a5 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\ -\'a5 Neither the name of Michael O. McCracken nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.\ -\ -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ + +\f0\b Warranty Information\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural + +\f2\b0 \cf0 This software is licensed under the BSD License:\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc +{\field{\*\fldinst{HYPERLINK "http://www.opensource.org/licenses/bsd-license.php"}}{\fldrslt \cf0 http://www.opensource.org/licenses/bsd-license.php}}\ } \ No newline at end of file Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-12 14:28:57 UTC (rev 1805) +++ trunk/Italian.lproj/Credits.rtf 2007-04-12 16:32:14 UTC (rev 1806) @@ -1,31 +1,37 @@ {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 -{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;} +{\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;\f2\fswiss\fcharset77 ArialMT; +} {\colortbl;\red255\green255\blue255;} -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural +\vieww10500\viewh9000\viewkind0 +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc -\f0\b\fs24 \cf0 Progetto e Design: +\f0\b\fs24 \cf0 Web Pagina \f1\b0 \ - Christiaan M. Hofman\ - Adam R. Maxwell\ - Michael O. McCracken\ +{\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ \ -\f0\b Informazioni Garanzia: +\f0\b Progetto e Design \f1\b0 \ -La versione corrente e tutte le versioni successive sono licenziate sotto la licenza BSD.\ -The current version and all subsequent versions are licensed under the BSD License:\ +Christiaan M. Hofman\ +Adam R. Maxwell\ +Michael O. McCracken\ + +\f0\b \ +Traduttori +\f1\b0 \ +Andrea Bergia (Italiano)\ \ -Questo software \'8f Copyright \'a9 2001-2007, Michael O. McCracken\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 Tutti i diritti riservati.\ -\ -\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural -\cf0 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\ -\ -\'a5 Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\ -\pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural -\cf0 \'a5 Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\ -\'a5 Neither the name of Michael O. McCracken nor the names of any contributors may be used to endorse or promote products derived from this software without specific prior written permission.\ -\ -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\ + +\f0\b Informazioni Garanzia\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural + +\f2\b0 \cf0 Questo software e +\f1 licenziate +\f2 +\f1 sotto +\f2 la +\f1 licenza +\f2 BSD:\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc +{\field{\*\fldinst{HYPERLINK "http://www.opensource.org/licenses/bsd-license.php"}}{\fldrslt \cf0 http://www.opensource.org/licenses/bsd-license.php}}\ } \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <and...@us...> - 2007-04-12 14:29:08
|
Revision: 1805 http://skim-app.svn.sourceforge.net/skim-app/?rev=1805&view=rev Author: andreabergia Date: 2007-04-12 07:28:57 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Updated Italian translation. Help is still not translated. Modified Paths: -------------- trunk/Italian.lproj/Credits.rtf trunk/Italian.lproj/FindPanel.nib/keyedobjects.nib trunk/Italian.lproj/InfoWindow.nib/keyedobjects.nib trunk/Italian.lproj/Localizable.strings trunk/Italian.lproj/MainMenu.nib/classes.nib trunk/Italian.lproj/MainMenu.nib/info.nib trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib trunk/Italian.lproj/MainWindow.nib/info.nib trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib trunk/Italian.lproj/NotesDocument.nib/info.nib trunk/Italian.lproj/NotesDocument.nib/keyedobjects.nib trunk/Italian.lproj/PreferenceWindow.nib/info.nib trunk/Italian.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/Italian.lproj/Skim Help/skim.texi Modified: trunk/Italian.lproj/Credits.rtf =================================================================== --- trunk/Italian.lproj/Credits.rtf 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/Credits.rtf 2007-04-12 14:28:57 UTC (rev 1805) @@ -1,7 +1,6 @@ {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 {\fonttbl\f0\fswiss\fcharset77 Helvetica-Bold;\f1\fswiss\fcharset77 Helvetica;} {\colortbl;\red255\green255\blue255;} -\vieww16220\viewh13200\viewkind0 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural \f0\b\fs24 \cf0 Progetto e Design: @@ -11,10 +10,10 @@ Michael O. McCracken\ \ -\f0\b Informazioni Garanzia:\ - -\f1\b0 The current version and all subsequent versions are licensed under the BSD License:\ -La versione corrente e tutte le versioni successive sono licenziate sotto la licenza BSD:\ +\f0\b Informazioni Garanzia: +\f1\b0 \ +La versione corrente e tutte le versioni successive sono licenziate sotto la licenza BSD.\ +The current version and all subsequent versions are licensed under the BSD License:\ \ Questo software \'8f Copyright \'a9 2001-2007, Michael O. McCracken\ \pard\tx0\tx1120\tx2240\tx3360\tx4480\tx5600\tx6720\tx7840\tx8960\tx10080\tx11200\tx12320\tx13440\tx14560\tx15680\tx16800\tx17920\tx19040\tx20160\tx21280\tx22400\tx23520\tx24640\tx25760\tx26880\tx28000\tx29120\tx30240\tx31360\tx32480\tx33600\tx34720\ql\qnatural Modified: trunk/Italian.lproj/FindPanel.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/InfoWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/Localizable.strings =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-04-12 14:28:57 UTC (rev 1805) @@ -68,6 +68,12 @@ CLASS = SKDocumentController; LANGUAGE = ObjC; SUPERCLASS = NSDocumentController; + }, + { + ACTIONS = {checkForUpdates = id; }; + CLASS = SUUpdater; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; } ); IBVersion = 1; Modified: trunk/Italian.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/Italian.lproj/MainMenu.nib/info.nib 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/MainMenu.nib/info.nib 2007-04-12 14:28:57 UTC (rev 1805) @@ -3,18 +3,14 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>23 148 356 240 0 0 1440 938 </string> + <string>23 68 356 240 0 0 1440 938 </string> <key>IBEditorPositions</key> <dict> <key>29</key> - <string>144 737 654 44 0 0 1440 938 </string> + <string>140 614 542 44 0 0 1440 938 </string> </dict> <key>IBFramework Version</key> <string>446.1</string> - <key>IBOpenObjects</key> - <array> - <integer>29</integer> - </array> <key>IBSystem Version</key> <string>8P135</string> </dict> Modified: trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/Italian.lproj/MainWindow.nib/info.nib 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/MainWindow.nib/info.nib 2007-04-12 14:28:57 UTC (rev 1805) @@ -7,17 +7,17 @@ <key>IBEditorPositions</key> <dict> <key>168</key> - <string>137 457 271 167 0 0 1024 746 </string> + <string>376 435 271 167 0 0 1024 746 </string> <key>224</key> - <string>110 304 220 442 0 0 1024 746 </string> + <string>402 294 220 442 0 0 1024 746 </string> <key>256</key> - <string>159 304 220 442 0 0 1024 746 </string> + <string>402 294 220 442 0 0 1024 746 </string> <key>314</key> - <string>125 283 220 442 0 0 1024 746 </string> + <string>402 294 220 442 0 0 1024 746 </string> <key>502</key> - <string>183 245 220 442 0 0 1024 746 </string> + <string>402 294 220 442 0 0 1024 746 </string> <key>511</key> - <string>237 286 220 442 0 0 1024 746 </string> + <string>402 294 220 442 0 0 1024 746 </string> </dict> <key>IBFramework Version</key> <string>446.1</string> @@ -25,6 +25,10 @@ <array> <integer>208</integer> </array> + <key>IBOpenObjects</key> + <array> + <integer>585</integer> + </array> <key>IBSystem Version</key> <string>8P135</string> </dict> Modified: trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/NotesDocument.nib/info.nib =================================================================== --- trunk/Italian.lproj/NotesDocument.nib/info.nib 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/NotesDocument.nib/info.nib 2007-04-12 14:28:57 UTC (rev 1805) @@ -3,13 +3,9 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>69 58 356 240 0 0 1440 938 </string> + <string>43 101 356 240 0 0 1024 746 </string> <key>IBFramework Version</key> <string>446.1</string> - <key>IBOpenObjects</key> - <array> - <integer>5</integer> - </array> <key>IBSystem Version</key> <string>8P135</string> </dict> Modified: trunk/Italian.lproj/NotesDocument.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/PreferenceWindow.nib/info.nib =================================================================== --- trunk/Italian.lproj/PreferenceWindow.nib/info.nib 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/PreferenceWindow.nib/info.nib 2007-04-12 14:28:57 UTC (rev 1805) @@ -3,7 +3,7 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>70 139 356 240 0 0 1440 938 </string> + <string>43 101 356 240 0 0 1024 746 </string> <key>IBFramework Version</key> <string>446.1</string> <key>IBLockedObjects</key> Modified: trunk/Italian.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/Skim Help/skim.texi =================================================================== --- trunk/Italian.lproj/Skim Help/skim.texi 2007-04-12 12:40:24 UTC (rev 1804) +++ trunk/Italian.lproj/Skim Help/skim.texi 2007-04-12 14:28:57 UTC (rev 1805) @@ -109,6 +109,7 @@ @c ====================================================================================== @documentlanguage it +@documentencoding UTF-8 @settitle Aiuto di Skim This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 12:40:26
|
Revision: 1804 http://skim-app.svn.sourceforge.net/skim-app/?rev=1804&view=rev Author: hofman Date: 2007-04-12 05:40:24 -0700 (Thu, 12 Apr 2007) Log Message: ----------- fix pref key. Modified Paths: -------------- trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib Modified: trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 12:32:20
|
Revision: 1803 http://skim-app.svn.sourceforge.net/skim-app/?rev=1803&view=rev Author: hofman Date: 2007-04-12 05:32:15 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Automatically save skim notes backup when saving PDF, depending on a new pref. Add pref in preferences and default to NO. Modified Paths: -------------- trunk/Dutch.lproj/Localizable.strings trunk/Dutch.lproj/PreferenceWindow.nib/info.nib trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/English.lproj/Localizable.strings trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/InitialUserDefaults.plist trunk/SKDocument.m trunk/SKPreferenceController.m trunk/SKStringConstants.h trunk/SKStringConstants.m trunk/Skim.xcodeproj/project.pbxproj Modified: trunk/Dutch.lproj/Localizable.strings =================================================================== (Binary files differ) Modified: trunk/Dutch.lproj/PreferenceWindow.nib/info.nib =================================================================== --- trunk/Dutch.lproj/PreferenceWindow.nib/info.nib 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/Dutch.lproj/PreferenceWindow.nib/info.nib 2007-04-12 12:32:15 UTC (rev 1803) @@ -8,6 +8,10 @@ <string>446.1</string> <key>IBLockedObjects</key> <array/> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> <key>IBSystem Version</key> <string>8P135</string> </dict> Modified: trunk/Dutch.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/Localizable.strings =================================================================== (Binary files differ) Modified: trunk/English.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/InitialUserDefaults.plist =================================================================== --- trunk/InitialUserDefaults.plist 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/InitialUserDefaults.plist 2007-04-12 12:32:15 UTC (rev 1803) @@ -26,6 +26,8 @@ <true/> <key>SKRememberLastPageViewed</key> <false/> + <key>SKAutoSaveSkimNotes</key> + <false/> <key>SKSearchHighlightColor</key> <data> BAt0eXBlZHN0cmVhbYED6IQBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm @@ -129,6 +131,7 @@ <string>SKOpenFilesMaximized</string> <string>SKReopenLastOpenFiles</string> <string>SKRememberLastPageViewed</string> + <string>SKAutoSaveSkimNotes</string> <string>SKSearchHighlightColor</string> <string>SKShouldHighlightSearchResults</string> <string>SKSnapshotsOnTop</string> Modified: trunk/SKDocument.m =================================================================== --- trunk/SKDocument.m 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/SKDocument.m 2007-04-12 12:32:15 UTC (rev 1803) @@ -135,6 +135,35 @@ [self updateChangeCount:NSChangeCleared]; [lastChangedDate release]; lastChangedDate = [[[[NSFileManager defaultManager] fileAttributesAtPath:[absoluteURL path] traverseLink:YES] fileModificationDate] retain]; + + if ([[NSUserDefaults standardUserDefaults] boolForKey:SKAutoSaveSkimNotesKey]) { + NSString *notesPath = [[[absoluteURL path] stringByDeletingPathExtension] stringByAppendingPathExtension:@"skim"]; + NSFileManager *fm = [NSFileManager defaultManager]; + BOOL canMove = YES; + BOOL fileExists = [fm fileExistsAtPath:notesPath]; + + if (fileExists && (saveOperation == NSSaveAsOperation || saveOperation == NSSaveToOperation)) { + NSAlert *alert = [NSAlert alertWithMessageText:[NSString stringWithFormat:NSLocalizedString(@"\"%@\" already exists. Do you want to replace it?", @"Message in alert dialog"), [notesPath lastPathComponent]] + defaultButton:NSLocalizedString(@"Save", @"Button title") + alternateButton:NSLocalizedString(@"Cancel", @"Button title") + otherButton:nil + informativeTextWithFormat:NSLocalizedString(@"A file or folder with the same name already exists in %@. Replacing it will overwrite its current contents.", @"Informative text in alert dialog"), [[notesPath stringByDeletingLastPathComponent] lastPathComponent]]; + + canMove = NSAlertDefaultReturn == [alert runModal]; + } + + if (canMove) { + NSString *tmpPath = [NSTemporaryDirectory() stringByAppendingPathComponent:[[NSProcessInfo processInfo] globallyUniqueString]]; + if ([self writeToURL:[NSURL fileURLWithPath:tmpPath] ofType:SKNotesDocumentType error:NULL]) { + if (fileExists) + canMove = [fm removeFileAtPath:notesPath handler:nil]; + if (canMove) + [fm movePath:tmpPath toPath:notesPath handler:nil]; + else + [fm removeFileAtPath:tmpPath handler:nil]; + } + } + } } } Modified: trunk/SKPreferenceController.m =================================================================== --- trunk/SKPreferenceController.m 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/SKPreferenceController.m 2007-04-12 12:32:15 UTC (rev 1803) @@ -132,7 +132,7 @@ NSString *tabID = (NSString *)contextInfo; NSArray *keys = nil; if ([tabID isEqualToString:@"general"]) { - keys = [NSArray arrayWithObjects:SKReopenLastOpenFilesKey, SKOpenFilesMaximizedKey, SKOpenContentsPaneOnlyForTOCKey, SKRememberLastPageViewedKey, SKSnapshotsOnTopKey, SUCheckAtStartupKey, SUScheduledCheckIntervalKey, SKAutoCheckFileUpdateKey, nil]; + keys = [NSArray arrayWithObjects:SKReopenLastOpenFilesKey, SKOpenFilesMaximizedKey, SKOpenContentsPaneOnlyForTOCKey, SKRememberLastPageViewedKey, SKAutoSaveSkimNotesKey, SKSnapshotsOnTopKey, SUCheckAtStartupKey, SUScheduledCheckIntervalKey, SKAutoCheckFileUpdateKey, nil]; } else if ([tabID isEqualToString:@"display"]) { keys = [NSArray arrayWithObjects:SKThumbnailSizeKey, SKSnapshotThumbnailSizeKey, SKShouldAntiAliasKey, SKGreekingThresholdKey, nil]; } else if ([tabID isEqualToString:@"colors"]) { Modified: trunk/SKStringConstants.h =================================================================== --- trunk/SKStringConstants.h 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/SKStringConstants.h 2007-04-12 12:32:15 UTC (rev 1803) @@ -46,6 +46,7 @@ extern NSString *SKOpenFilesMaximizedKey; extern NSString *SKReopenLastOpenFilesKey; extern NSString *SKRememberLastPageViewedKey; +extern NSString *SKAutoSaveSkimNotesKey; extern NSString *SKSearchHighlightColorKey; extern NSString *SKShouldHighlightSearchResultsKey; extern NSString *SKSnapshotsOnTopKey; Modified: trunk/SKStringConstants.m =================================================================== --- trunk/SKStringConstants.m 2007-04-12 10:08:13 UTC (rev 1802) +++ trunk/SKStringConstants.m 2007-04-12 12:32:15 UTC (rev 1803) @@ -47,6 +47,7 @@ NSString *SKOpenFilesMaximizedKey = @"SKOpenFilesMaximized"; NSString *SKReopenLastOpenFilesKey = @"SKReopenLastOpenFiles"; NSString *SKRememberLastPageViewedKey = @"SKRememberLastPageViewed"; +NSString *SKAutoSaveSkimNotesKey = @"SKAutoSaveSkimNotes"; NSString *SKSearchHighlightColorKey = @"SKSearchHighlightColor"; NSString *SKShouldHighlightSearchResultsKey = @"SKShouldHighlightSearchResults"; NSString *SKSnapshotsOnTopKey = @"SKSnapshotsOnTop"; Modified: trunk/Skim.xcodeproj/project.pbxproj =================================================================== This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 10:08:14
|
Revision: 1802 http://skim-app.svn.sourceforge.net/skim-app/?rev=1802&view=rev Author: hofman Date: 2007-04-12 03:08:13 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Resize disk image Modified Paths: -------------- trunk/Skim.dmg.zip Modified: trunk/Skim.dmg.zip =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-04-12 09:49:38
|
Revision: 1801 http://skim-app.svn.sourceforge.net/skim-app/?rev=1801&view=rev Author: hofman Date: 2007-04-12 02:49:36 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Setup toolbar before setting the window frame. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-04-12 09:04:42 UTC (rev 1800) +++ trunk/SKMainWindowController.m 2007-04-12 09:49:36 UTC (rev 1801) @@ -220,6 +220,8 @@ [spinner setUsesThreadedAnimation:YES]; + [self setupToolbar]; + // we retain as we might replace it with the full screen window mainWindow = [[self window] retain]; @@ -232,8 +234,6 @@ [noteArrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, contentsSortDescriptor, nil]]; [snapshotArrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, nil]]; - [self setupToolbar]; - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKOpenFilesMaximizedKey]) [[self window] setFrame:[[NSScreen mainScreen] visibleFrame] display:NO]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |