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
(8) |
Sep
|
Oct
|
Nov
|
Dec
|
From: <ho...@us...> - 2007-07-25 21:16:24
|
Revision: 2557 http://skim-app.svn.sourceforge.net/skim-app/?rev=2557&view=rev Author: hofman Date: 2007-07-25 14:16:23 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Fix capitalization error Modified Paths: -------------- trunk/French.lproj/Localizable.strings trunk/French.lproj/MainMenu.nib/keyedobjects.nib Modified: trunk/French.lproj/Localizable.strings =================================================================== (Binary files differ) Modified: trunk/French.lproj/MainMenu.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-07-25 20:48:52
|
Revision: 2556 http://skim-app.svn.sourceforge.net/skim-app/?rev=2556&view=rev Author: hofman Date: 2007-07-25 13:48:50 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Fix unknown bugs in nib file (ignored autoresize struts), introduced by IB bugs. Modified Paths: -------------- trunk/French.lproj/MainWindow.nib/info.nib trunk/French.lproj/MainWindow.nib/keyedobjects.nib Modified: trunk/French.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/French.lproj/MainWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) +++ trunk/French.lproj/MainWindow.nib/info.nib 2007-07-25 20:48:50 UTC (rev 2556) @@ -3,7 +3,7 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>113 223 564 296 0 0 1440 938 </string> + <string>80 89 564 296 0 0 1440 938 </string> <key>IBEditorPositions</key> <dict> <key>168</key> @@ -32,10 +32,11 @@ <key>IBOpenObjects</key> <array> <integer>633</integer> + <integer>314</integer> + <integer>502</integer> <integer>660</integer> - <integer>314</integer> <integer>661</integer> - <integer>502</integer> + <integer>5</integer> </array> <key>IBSystem Version</key> <string>8R218</string> Modified: trunk/French.lproj/MainWindow.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-07-25 18:32:49
|
Revision: 2555 http://skim-app.svn.sourceforge.net/skim-app/?rev=2555&view=rev Author: hofman Date: 2007-07-25 11:32:44 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Add French localization by Corentin Cras-Meneur. Modified Paths: -------------- trunk/Dutch.lproj/Credits.rtf trunk/Dutch.lproj/InfoPlist.strings trunk/English.lproj/Credits.rtf trunk/English.lproj/InfoPlist.strings trunk/Italian.lproj/Credits.rtf trunk/Italian.lproj/InfoPlist.strings trunk/Skim.xcodeproj/project.pbxproj trunk/SkimImporter/SkimImporter.xcodeproj/project.pbxproj trunk/vendorsrc/andymatuschak/Sparkle/Sparkle.xcodeproj/project.pbxproj trunk/vendorsrc/andymatuschak/Sparkle/fr.lproj/Sparkle.strings Added Paths: ----------- trunk/French.lproj/ trunk/French.lproj/BookmarksWindow.nib/ trunk/French.lproj/BookmarksWindow.nib/classes.nib trunk/French.lproj/BookmarksWindow.nib/info.nib trunk/French.lproj/BookmarksWindow.nib/keyedobjects.nib trunk/French.lproj/ConversionProgressWindow.nib/ trunk/French.lproj/ConversionProgressWindow.nib/classes.nib trunk/French.lproj/ConversionProgressWindow.nib/info.nib trunk/French.lproj/ConversionProgressWindow.nib/keyedobjects.nib trunk/French.lproj/Credits.rtf trunk/French.lproj/FindPanel.nib/ trunk/French.lproj/FindPanel.nib/classes.nib trunk/French.lproj/FindPanel.nib/info.nib trunk/French.lproj/FindPanel.nib/keyedobjects.nib trunk/French.lproj/InfoPlist.strings trunk/French.lproj/InfoWindow.nib/ trunk/French.lproj/InfoWindow.nib/classes.nib trunk/French.lproj/InfoWindow.nib/info.nib trunk/French.lproj/InfoWindow.nib/keyedobjects.nib trunk/French.lproj/LineInspector.nib/ trunk/French.lproj/LineInspector.nib/classes.nib trunk/French.lproj/LineInspector.nib/info.nib trunk/French.lproj/LineInspector.nib/keyedobjects.nib trunk/French.lproj/Localizable.strings trunk/French.lproj/MainMenu.nib/ trunk/French.lproj/MainMenu.nib/classes.nib trunk/French.lproj/MainMenu.nib/info.nib trunk/French.lproj/MainMenu.nib/keyedobjects.nib trunk/French.lproj/MainWindow.nib/ trunk/French.lproj/MainWindow.nib/classes.nib trunk/French.lproj/MainWindow.nib/data.dependency trunk/French.lproj/MainWindow.nib/info.nib trunk/French.lproj/MainWindow.nib/keyedobjects.nib trunk/French.lproj/NoteTypeSheet.nib/ trunk/French.lproj/NoteTypeSheet.nib/classes.nib trunk/French.lproj/NoteTypeSheet.nib/info.nib trunk/French.lproj/NoteTypeSheet.nib/keyedobjects.nib trunk/French.lproj/NoteWindow.nib/ trunk/French.lproj/NoteWindow.nib/classes.nib trunk/French.lproj/NoteWindow.nib/info.nib trunk/French.lproj/NoteWindow.nib/keyedobjects.nib trunk/French.lproj/NotesDocument.nib/ trunk/French.lproj/NotesDocument.nib/classes.nib trunk/French.lproj/NotesDocument.nib/info.nib trunk/French.lproj/NotesDocument.nib/keyedobjects.nib trunk/French.lproj/PreferenceWindow.nib/ trunk/French.lproj/PreferenceWindow.nib/classes.nib trunk/French.lproj/PreferenceWindow.nib/info.nib trunk/French.lproj/PreferenceWindow.nib/keyedobjects.nib trunk/French.lproj/ProgressSheet.nib/ trunk/French.lproj/ProgressSheet.nib/classes.nib trunk/French.lproj/ProgressSheet.nib/info.nib trunk/French.lproj/ProgressSheet.nib/keyedobjects.nib trunk/French.lproj/ReadNotesAccessoryView.nib/ trunk/French.lproj/ReadNotesAccessoryView.nib/classes.nib trunk/French.lproj/ReadNotesAccessoryView.nib/info.nib trunk/French.lproj/ReadNotesAccessoryView.nib/keyedobjects.nib trunk/French.lproj/ReleaseNotes.nib/ trunk/French.lproj/ReleaseNotes.nib/classes.nib trunk/French.lproj/ReleaseNotes.nib/info.nib trunk/French.lproj/ReleaseNotes.nib/keyedobjects.nib trunk/French.lproj/Skim Help/ trunk/French.lproj/Skim Help/gfx/ trunk/French.lproj/Skim Help/gfx/Skim.png trunk/French.lproj/Skim Help/gfx/SkimIcon.png trunk/French.lproj/Skim Help/gfx/screenshot.png trunk/French.lproj/Skim Help/scripts/ trunk/French.lproj/Skim Help/scripts/OpenAppDict.scpt trunk/French.lproj/Skim Help/skim.texi trunk/French.lproj/Skim Help/sty/ trunk/French.lproj/Skim Help/sty/skimhelp.css trunk/French.lproj/Skim Help/version.texi trunk/French.lproj/SnapshotWindow.nib/ trunk/French.lproj/SnapshotWindow.nib/classes.nib trunk/French.lproj/SnapshotWindow.nib/data.dependency trunk/French.lproj/SnapshotWindow.nib/info.nib trunk/French.lproj/SnapshotWindow.nib/keyedobjects.nib trunk/French.lproj/ZoomValues.strings trunk/SkimImporter/French.lproj/ trunk/SkimImporter/French.lproj/InfoPlist.strings trunk/SkimImporter/French.lproj/schema.strings Modified: trunk/Dutch.lproj/Credits.rtf =================================================================== --- trunk/Dutch.lproj/Credits.rtf 2007-07-25 13:16:51 UTC (rev 2554) +++ trunk/Dutch.lproj/Credits.rtf 2007-07-25 18:32:44 UTC (rev 2555) @@ -19,6 +19,7 @@ Vertalers \f1\b0 \ Andrea Bergia (Italiaans)\ +Corentin Cras-M\'8eneur (Frans)\ Christiaan M. Hofman (Nederlands)\ \f0\b \ Modified: trunk/Dutch.lproj/InfoPlist.strings =================================================================== (Binary files differ) Modified: trunk/English.lproj/Credits.rtf =================================================================== --- trunk/English.lproj/Credits.rtf 2007-07-25 13:16:51 UTC (rev 2554) +++ trunk/English.lproj/Credits.rtf 2007-07-25 18:32:44 UTC (rev 2555) @@ -19,6 +19,7 @@ Translators \f1\b0 \ Andrea Bergia (Italian)\ +Corentin Cras-M\'8eneur (French)\ Christiaan M. Hofman (Dutch)\ \f0\b \ Modified: trunk/English.lproj/InfoPlist.strings =================================================================== (Binary files differ) Added: trunk/French.lproj/BookmarksWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/BookmarksWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/BookmarksWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,15 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = SKBookmarkController; + LANGUAGE = ObjC; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/BookmarksWindow.nib/info.nib =================================================================== --- trunk/French.lproj/BookmarksWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/BookmarksWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/BookmarksWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/BookmarksWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/ConversionProgressWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/ConversionProgressWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/ConversionProgressWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,17 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + { + ACTIONS = {cancel = id; }; + CLASS = SKConversionProgressController; + LANGUAGE = ObjC; + OUTLETS = { + cancelButton = NSButton; + progressBar = NSProgressIndicator; + textField = NSTextField; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/ConversionProgressWindow.nib/info.nib =================================================================== --- trunk/French.lproj/ConversionProgressWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/ConversionProgressWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>81 92 356 240 0 0 1440 938 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>8R2218</string> +</dict> +</plist> Added: trunk/French.lproj/ConversionProgressWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/ConversionProgressWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Credits.rtf =================================================================== --- trunk/French.lproj/Credits.rtf (rev 0) +++ trunk/French.lproj/Credits.rtf 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,39 @@ +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 +{\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\qc + +\f0\b\fs24 \cf0 Site Web +\f1\b0 \ +{\field{\*\fldinst{HYPERLINK "http://skim-app.sourceforge.net"}}{\fldrslt http://skim-app.sourceforge.net}}\ +\ + +\f0\b Design et r\'8ealisation +\f1\b0 \ +Christiaan M. Hofman\ +Adam R. Maxwell\ +Michael O. McCracken\ + +\f0\b \ +Localisations +\f1\b0 \ +Andrea Bergia (italien)\ +Corentin Cras-M\'8eneur (fran\'8dais)\ +Christiaan M. Hofman (n\'8eerlandais)\ + +\f0\b \ +Remerciements particuliers +\f1\b0 \ +Andy Matuschak pour {\field{\*\fldinst{HYPERLINK "http://sparkle.andymatuschak.org"}}{\fldrslt Sparkle}}\ +Martin Kahr pour {\field{\*\fldinst{HYPERLINK "http://www.martinkahr.com/source-code"}}{\fldrslt Apple Remote Controller}}\ +M. Uli Kusterer pour {\field{\*\fldinst{HYPERLINK "http://www.zathras.de"}}{\fldrslt UKKqueue}}\ +\ + +\f0\b Informations sur les garanties\ +\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\qc\pardirnatural + +\f2\b0 \cf0 Ce logiciel est sous licence 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 Added: trunk/French.lproj/FindPanel.nib/classes.nib =================================================================== --- trunk/French.lproj/FindPanel.nib/classes.nib (rev 0) +++ trunk/French.lproj/FindPanel.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,25 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + findNext = id; + findNextAndOrderOutFindPanel = id; + findPrevious = id; + performFindPanelAction = id; + }; + CLASS = SKFindController; + LANGUAGE = ObjC; + OUTLETS = { + findField = NSTextField; + ignoreCaseCheckbox = NSButton; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/FindPanel.nib/info.nib =================================================================== --- trunk/French.lproj/FindPanel.nib/info.nib (rev 0) +++ trunk/French.lproj/FindPanel.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/FindPanel.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/FindPanel.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/InfoPlist.strings =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/InfoPlist.strings ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/InfoWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/InfoWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/InfoWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,15 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = SKInfoWindowController; + LANGUAGE = ObjC; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/InfoWindow.nib/info.nib =================================================================== --- trunk/French.lproj/InfoWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/InfoWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> + <key>IBUserGuides</key> + <dict> + <key>5</key> + <dict> + <key>guideLocations</key> + <array> + <string>Vertical:143.000000</string> + </array> + <key>guidesLocked</key> + <false/> + </dict> + </dict> +</dict> +</plist> Added: trunk/French.lproj/InfoWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/InfoWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/LineInspector.nib/classes.nib =================================================================== --- trunk/French.lproj/LineInspector.nib/classes.nib (rev 0) +++ trunk/French.lproj/LineInspector.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,56 @@ +{ + IBClasses = ( + { + ACTIONS = { + "" = id; + }; + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + changeDashPattern = id; + changeEndLineStyle = id; + changeLineStyle = id; + changeLineWidth = id; + changeStartLineStyle = id; + }; + CLASS = NSObject; + LANGUAGE = ObjC; + }, + { + CLASS = NSSegmentedControl; + LANGUAGE = ObjC; + SUPERCLASS = NSControl; + }, + { + CLASS = SKLineInspector; + LANGUAGE = ObjC; + OUTLETS = { + dashPatternField = NSTextField; + endLineStyleButton = NSSegmentedControl; + lineWell = SKLineWell; + lineWidthField = NSTextField; + lineWidthSlider = NSSlider; + startLineStyleButton = NSSegmentedControl; + styleButton = NSSegmentedControl; + }; + SUPERCLASS = NSWindowController; + }, + { + CLASS = SKLineWell; + LANGUAGE = ObjC; + OUTLETS = { + target = id; + }; + SUPERCLASS = NSControl; + }, + { + CLASS = SKNumberArrayFormatter; + LANGUAGE = ObjC; + SUPERCLASS = NSFormatter; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/LineInspector.nib/info.nib =================================================================== --- trunk/French.lproj/LineInspector.nib/info.nib (rev 0) +++ trunk/French.lproj/LineInspector.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/LineInspector.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/LineInspector.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Localizable.strings =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/Localizable.strings ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/French.lproj/MainMenu.nib/classes.nib (rev 0) +++ trunk/French.lproj/MainMenu.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,94 @@ +{ + IBClasses = ( + { + ACTIONS = { + addBookmark = id; + alternatePaste = id; + autoCropAll = id; + autoSelectContent = id; + changeAnnotationMode = id; + changeDisplayBox = id; + changeLeftSidePaneState = id; + changeRightSidePaneState = id; + changeToolMode = id; + chooseTransition = id; + createNewNote = id; + crop = id; + cropAll = id; + displayCropBox = id; + displayFacingPages = id; + displayMediaBox = id; + displaySinglePages = id; + doGoBack = id; + doGoForward = id; + doGoToNextPage = id; + doGoToPage = id; + doGoToPreviousPage = id; + doZoomIn = id; + doZoomOut = id; + doZoomToActualSize = id; + doZoomToFit = id; + doZoomToPhysicalSize = id; + doZoomToSelection = id; + editBookmarks = id; + editNote = id; + getInfo = id; + myAction = id; + newDocumentFromClipboard = id; + orderFrontLineInspector = id; + password = id; + performFit = id; + readNotes = id; + rotateAllLeft = id; + rotateAllRight = id; + rotateLeft = id; + rotateRight = id; + saveArchive = id; + savePDFSettingToDefaults = id; + searchPDF = id; + smartAutoCropAll = id; + takeSnapshot = id; + toggleAutoScale = id; + toggleDisplayAsBook = id; + toggleDisplayContinuous = id; + toggleDisplayPageBreaks = id; + toggleFullScreen = id; + toggleHideNotes = id; + toggleLeftSidePane = id; + togglePresentation = id; + toggleReadingBar = id; + toggleRightSidePane = id; + toggleStatusBar = id; + }; + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + editBookmarks = id; + openBookmark = id; + showPreferencePanel = id; + showReleaseNotes = id; + visitWebSite = id; + }; + CLASS = SKApplicationController; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = SKDocumentController; + LANGUAGE = ObjC; + SUPERCLASS = NSDocumentController; + }, + {CLASS = SKSplashContentView; LANGUAGE = ObjC; SUPERCLASS = NSView; }, + {CLASS = SKSplashWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, + { + ACTIONS = {checkForUpdates = id; }; + CLASS = SUUpdater; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/French.lproj/MainMenu.nib/info.nib (rev 0) +++ trunk/French.lproj/MainMenu.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>23 68 356 240 0 0 1440 938 </string> + <key>IBEditorPositions</key> + <dict> + <key>29</key> + <string>140 614 603 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>8R218</string> +</dict> +</plist> Added: trunk/French.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/MainMenu.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/MainWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/MainWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/MainWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,194 @@ +{ + IBClasses = ( + { + CLASS = BDSKCollapsibleView; + LANGUAGE = ObjC; + SUPERCLASS = BDSKContainerView; + }, + { + CLASS = BDSKContainerView; + LANGUAGE = ObjC; + OUTLETS = {contentView = id; }; + SUPERCLASS = NSView; + }, + {CLASS = BDSKEdgeView; LANGUAGE = ObjC; SUPERCLASS = BDSKContainerView; }, + { + CLASS = BDSKImagePopUpButton; + LANGUAGE = ObjC; + OUTLETS = {delegate = id; }; + SUPERCLASS = NSPopUpButton; + }, + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {ACTIONS = {splitViewDoubleClick = id; }; CLASS = NSObject; LANGUAGE = ObjC; }, + {CLASS = NSSegmentedControl; LANGUAGE = ObjC; SUPERCLASS = NSControl; }, + { + CLASS = NSUserDefaultsController; + LANGUAGE = ObjC; + SUPERCLASS = NSController; + }, + { + CLASS = SKAnnotationTypeImageCell; + LANGUAGE = ObjC; + SUPERCLASS = NSImageCell; + }, + {CLASS = SKColorSwatch; LANGUAGE = ObjC; SUPERCLASS = NSControl; }, + {CLASS = SKFullScreenWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, + {CLASS = SKMainWindow; LANGUAGE = ObjC; SUPERCLASS = NSWindow; }, + { + ACTIONS = { + addBookmark = id; + autoCropAll = id; + autoSelectContent = id; + changeColor = id; + changeColorFill = id; + changeDisplayBox = id; + changeFont = id; + changeLeftSidePaneState = id; + changeRightSidePaneState = id; + changeScaleFactor = id; + changeToolMode = id; + chooseScale = id; + chooseTransition = id; + createNewNote = id; + crop = id; + cropAll = id; + dismissBookmarkSheet = id; + dismissChoosePageSheet = id; + dismissChooseScaleSheet = id; + dismissPasswordSheet = id; + dismissTransitionSheet = id; + displayFacingPages = id; + displaySinglePages = id; + doAutoScale = id; + doGoBack = id; + doGoForward = id; + doGoToNextPage = id; + doGoToPage = id; + doGoToPreviousPage = id; + doZoomIn = id; + doZoomOut = id; + doZoomToActualSize = id; + doZoomToFit = id; + doZoomToSelection = id; + editNote = id; + enterFullScreen = id; + enterPresentation = id; + exitFullScreen = id; + getInfo = id; + goBackOrForward = id; + password = id; + performFit = id; + rotateAllLeft = id; + rotateAllRight = id; + rotateLeft = id; + rotateRight = id; + savePDFSettingToDefaults = id; + search = id; + searchNotes = id; + searchPDF = id; + selectColor = id; + smartAutoCropAll = id; + takeSnapshot = id; + toggleAutoActualSize = id; + toggleAutoScale = id; + toggleDisplayAsBook = id; + toggleDisplayContinuous = id; + toggleDisplayPageBreaks = id; + toggleFullScreen = id; + toggleHideNotes = id; + toggleLeftSidePane = id; + togglePresentation = id; + toggleRightSidePane = id; + toggleStatusBar = id; + }; + CLASS = SKMainWindowController; + LANGUAGE = ObjC; + OUTLETS = { + backForwardButton = NSSegmentedControl; + bookmarkField = NSTextField; + bookmarkSheet = NSWindow; + choosePageField = NSTextField; + choosePageSheet = NSWindow; + chooseScaleField = NSTextField; + chooseScaleSheet = NSWindow; + circlePopUpButton = BDSKImagePopUpButton; + colorSwatch = SKColorSwatch; + currentLeftSideView = NSView; + currentRightSideView = NSView; + displayBoxPopUpButton = NSPopUpButton; + findArrayController = NSArrayController; + findCollapsibleView = BDSKCollapsibleView; + findEdgeView = BDSKEdgeView; + findTableView = NSTableView; + findView = NSView; + leftSideButton = NSSegmentedControl; + leftSideCollapsibleView = BDSKCollapsibleView; + leftSideContentBox = NSBox; + leftSideContentView = NSView; + leftSideEdgeView = BDSKEdgeView; + markupPopUpButton = BDSKImagePopUpButton; + noteArrayController = NSArrayController; + noteOutlineView = SKNoteOutlineView; + notePopUpButton = BDSKImagePopUpButton; + noteSearchField = NSSearchField; + noteView = NSView; + outlineView = NSOutlineView; + ownerController = NSObjectController; + pageNumberField = NSTextField; + pageNumberStepper = NSStepper; + pageNumberView = NSView; + passwordField = NSTextField; + passwordSheet = NSWindow; + pdfContentBox = BDSKEdgeView; + pdfView = SKPDFView; + progressBar = NSProgressIndicator; + progressField = NSTextField; + progressSheet = NSWindow; + rightSideButton = NSSegmentedControl; + rightSideCollapsibleView = BDSKCollapsibleView; + rightSideContentBox = NSBox; + rightSideContentView = NSView; + rightSideEdgeView = BDSKEdgeView; + scaleField = NSTextField; + searchField = NSSearchField; + snapshotArrayController = NSArrayController; + snapshotTableView = SKSnapshotTableView; + snapshotView = NSView; + spinner = NSProgressIndicator; + splitView = SKSplitView; + thumbnailArrayController = NSArrayController; + thumbnailTableView = SKThumbnailTableView; + thumbnailView = NSView; + tocView = NSView; + toolModeButton = NSSegmentedControl; + transitionDurationField = NSTextField; + transitionDurationSlider = NSSlider; + transitionExtentMatrix = NSMatrix; + transitionSheet = NSWindow; + transitionStylePopUpButton = NSPopUpButton; + }; + SUPERCLASS = NSWindowController; + }, + {CLASS = SKNoteOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; }, + { + ACTIONS = {delete = id; }; + CLASS = SKNoteTableView; + LANGUAGE = ObjC; + SUPERCLASS = NSTableView; + }, + {CLASS = SKOutlineView; LANGUAGE = ObjC; SUPERCLASS = NSOutlineView; }, + {CLASS = SKPDFView; LANGUAGE = ObjC; SUPERCLASS = PDFView; }, + {CLASS = SKSnapshotPageCell; LANGUAGE = ObjC; SUPERCLASS = NSTextFieldCell; }, + {CLASS = SKSnapshotTableView; LANGUAGE = ObjC; SUPERCLASS = SKNoteTableView; }, + {CLASS = SKSplitView; LANGUAGE = ObjC; SUPERCLASS = NSSplitView; }, + { + CLASS = SKThumbnail; + LANGUAGE = ObjC; + OUTLETS = {controller = id; }; + SUPERCLASS = NSObject; + }, + {CLASS = SKThumbnailTableView; LANGUAGE = ObjC; SUPERCLASS = NSTableView; }, + {CLASS = SkimDocument; LANGUAGE = ObjC; SUPERCLASS = NSDocument; } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/MainWindow.nib/data.dependency =================================================================== --- trunk/French.lproj/MainWindow.nib/data.dependency (rev 0) +++ trunk/French.lproj/MainWindow.nib/data.dependency 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBPaletteDependency</key> + <array> + <string>PDFKit</string> + </array> +</dict> +</plist> Added: trunk/French.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/French.lproj/MainWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/MainWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>113 223 564 296 0 0 1440 938 </string> + <key>IBEditorPositions</key> + <dict> + <key>168</key> + <string>681 717 237 239 0 0 1600 1178 </string> + <key>224</key> + <string>690 564 220 442 0 0 1600 1178 </string> + <key>256</key> + <string>690 564 220 442 0 0 1600 1178 </string> + <key>314</key> + <string>610 420 220 442 0 0 1440 938 </string> + <key>502</key> + <string>610 420 220 442 0 0 1440 938 </string> + <key>511</key> + <string>690 564 220 442 0 0 1600 1178 </string> + <key>660</key> + <string>610 420 220 442 0 0 1440 938 </string> + <key>661</key> + <string>610 420 220 442 0 0 1440 938 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBLockedObjects</key> + <array> + <integer>208</integer> + </array> + <key>IBOpenObjects</key> + <array> + <integer>633</integer> + <integer>660</integer> + <integer>314</integer> + <integer>661</integer> + <integer>502</integer> + </array> + <key>IBSystem Version</key> + <string>8R218</string> +</dict> +</plist> Added: trunk/French.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/MainWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/NoteTypeSheet.nib/classes.nib =================================================================== --- trunk/French.lproj/NoteTypeSheet.nib/classes.nib (rev 0) +++ trunk/French.lproj/NoteTypeSheet.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,29 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = NSObject; + LANGUAGE = ObjC; + }, + { + ACTIONS = { + dismissNoteTypeSheet = id; + displayAllNoteTypes = id; + selectNoteTypes = id; + toggleDisplayNoteType = id; + }; + CLASS = SKNoteOutlineView; + LANGUAGE = ObjC; + OUTLETS = { + noteTypeMatrix = NSMatrix; + noteTypeSheet = NSWindow; + }; + SUPERCLASS = NSOutlineView; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/NoteTypeSheet.nib/info.nib =================================================================== --- trunk/French.lproj/NoteTypeSheet.nib/info.nib (rev 0) +++ trunk/French.lproj/NoteTypeSheet.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>900 141 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/NoteTypeSheet.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/NoteTypeSheet.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/NoteWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/NoteWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/NoteWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,30 @@ +{ + IBClasses = ( + { + CLASS = BDSKDragImageView; + LANGUAGE = ObjC; + OUTLETS = { + delegate = id; + }; + SUPERCLASS = NSImageView; + }, + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = NSObject; + LANGUAGE = ObjC; + }, + { + CLASS = SKNoteWindowController; + LANGUAGE = ObjC; + OUTLETS = { + imageView = BDSKDragImageView; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/NoteWindow.nib/info.nib =================================================================== --- trunk/French.lproj/NoteWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/NoteWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/NoteWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/NoteWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/NotesDocument.nib/classes.nib =================================================================== --- trunk/French.lproj/NotesDocument.nib/classes.nib (rev 0) +++ trunk/French.lproj/NotesDocument.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,44 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = NSObject; + LANGUAGE = ObjC; + }, + { + ACTIONS = { + myAction = id; + }; + CLASS = NSPersistentDocument; + LANGUAGE = ObjC; + SUPERCLASS = NSDocument; + }, + { + CLASS = SKAnnotationTypeImageCell; + LANGUAGE = ObjC; + SUPERCLASS = NSImageCell; + }, + { + CLASS = SKNoteOutlineView; + LANGUAGE = ObjC; + SUPERCLASS = NSOutlineView; + }, + { + ACTIONS = { + openPDF = id; + }; + CLASS = SKNotesDocument; + LANGUAGE = ObjC; + OUTLETS = { + arrayController = NSArrayController; + outlineView = SKNoteOutlineView; + }; + SUPERCLASS = NSDocument; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/NotesDocument.nib/info.nib =================================================================== --- trunk/French.lproj/NotesDocument.nib/info.nib (rev 0) +++ trunk/French.lproj/NotesDocument.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/NotesDocument.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/NotesDocument.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/PreferenceWindow.nib/classes.nib =================================================================== --- trunk/French.lproj/PreferenceWindow.nib/classes.nib (rev 0) +++ trunk/French.lproj/PreferenceWindow.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,43 @@ +{ + IBClasses = ( + { + ACTIONS = {"" = id; }; + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + CLASS = SKLineWell; + LANGUAGE = ObjC; + OUTLETS = {target = id; }; + SUPERCLASS = NSControl; + }, + { + ACTIONS = { + changeDiscreteThumbnailSizes = id; + changeTeXEditorPreset = id; + changeUpdateInterval = id; + resetAll = id; + resetCurrent = id; + revertFullScreenPDFViewSettings = id; + revertPDFViewSettings = id; + }; + CLASS = SKPreferenceController; + LANGUAGE = ObjC; + OUTLETS = { + boxLineWell = SKLineWell; + circleLineWell = SKLineWell; + lineLineWell = SKLineWell; + revertFullScreenPDFSettingsButton = NSButton; + revertPDFSettingsButton = NSButton; + snapshotSizeSlider = NSSlider; + tabView = NSTabView; + texEditorPopUpButton = NSPopUpButton; + textLineWell = SKLineWell; + thumbnailSizeSlider = NSSlider; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/PreferenceWindow.nib/info.nib =================================================================== --- trunk/French.lproj/PreferenceWindow.nib/info.nib (rev 0) +++ trunk/French.lproj/PreferenceWindow.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>69 58 356 240 0 0 1440 938 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBLockedObjects</key> + <array/> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>8R218</string> +</dict> +</plist> Added: trunk/French.lproj/PreferenceWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/PreferenceWindow.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/ProgressSheet.nib/classes.nib =================================================================== --- trunk/French.lproj/ProgressSheet.nib/classes.nib (rev 0) +++ trunk/French.lproj/ProgressSheet.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,91 @@ +{ + IBClasses = ( + {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, + {CLASS = NSObject; LANGUAGE = ObjC; }, + { + ACTIONS = { + changeAnnotationMode = id; + changeColor = id; + changeDisplayBox = id; + changeScaleFactor = id; + changeToolMode = id; + createNewNote = id; + dismissChoosePageSheet = id; + displayCropBox = id; + displayFacingPages = id; + displayMediaBox = id; + displaySinglePages = id; + doGoBack = id; + doGoForward = id; + doGoToNextPage = id; + doGoToPage = id; + doGoToPreviousPage = id; + doZoomIn = id; + doZoomOut = id; + doZoomToActualSize = id; + doZoomToFit = id; + enterFullScreen = id; + enterPresentation = id; + exitFullScreen = id; + getInfo = id; + goBackOrForward = id; + pickColor = id; + rotateAllLeft = id; + rotateAllRight = id; + rotateLeft = id; + rotateRight = id; + search = id; + toggleDisplayAsBook = id; + toggleDisplayContinuous = id; + toggleDisplayPageBreaks = id; + toggleFullScreen = id; + toggleLeftSidePane = id; + togglePresentation = id; + toggleRightSidePane = id; + toggleZoomToFit = id; + }; + CLASS = SKMainWindowController; + LANGUAGE = ObjC; + OUTLETS = { + annotationModeButton = NSSegmentedControl; + backForwardButton = NSSegmentedControl; + choosePageField = NSTextField; + choosePageSheet = NSWindow; + currentTableView = NSTableView; + displayBoxPopUpButton = NSPopUpButton; + findArrayController = NSArrayController; + findField = NSSearchField; + findTableView = NSTableView; + leftSideBox = NSBox; + leftSideButton = NSSegmentedControl; + leftSideContentBox = NSBox; + noteArrayController = NSArrayController; + noteTableView = SKNoteTableView; + outlineView = NSOutlineView; + pageNumberField = NSTextField; + pageNumberStepper = NSStepper; + pageNumberView = NSView; + pdfContentBox = NSBox; + pdfView = SKPDFView; + progressBar = NSProgressIndicator; + progressField = NSTextField; + progressSheet = NSWindow; + rightSideBox = NSBox; + rightSideButton = NSSegmentedControl; + rightSideContentBox = NSBox; + scaleField = NSTextField; + searchBox = SKCollapsibleView; + searchField = NSSearchField; + snapshotArrayController = NSArrayController; + snapshotTableView = SKSnapshotTableView; + spinner = NSProgressIndicator; + splitView = SKSplitView; + thumbnailArrayController = NSArrayController; + thumbnailTableView = SKThumbnailTableView; + toolModeButton = NSSegmentedControl; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/ProgressSheet.nib/info.nib =================================================================== --- trunk/French.lproj/ProgressSheet.nib/info.nib (rev 0) +++ trunk/French.lproj/ProgressSheet.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>69 58 356 240 0 0 1440 938 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>8R2218</string> +</dict> +</plist> Added: trunk/French.lproj/ProgressSheet.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/ProgressSheet.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/ReadNotesAccessoryView.nib/classes.nib =================================================================== --- trunk/French.lproj/ReadNotesAccessoryView.nib/classes.nib (rev 0) +++ trunk/French.lproj/ReadNotesAccessoryView.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,23 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + readNotes = id; + saveArchive = id; + }; + CLASS = SKDocument; + LANGUAGE = ObjC; + OUTLETS = { + readNotesAccessoryView = NSView; + replaceNotesCheckButton = NSButton; + }; + SUPERCLASS = NSDocument; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/ReadNotesAccessoryView.nib/info.nib =================================================================== --- trunk/French.lproj/ReadNotesAccessoryView.nib/info.nib (rev 0) +++ trunk/French.lproj/ReadNotesAccessoryView.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>79 78 356 240 0 0 1600 1178 </string> + <key>IBEditorPositions</key> + <dict> + <key>5</key> + <string>640 839 320 76 0 0 1600 1178 </string> + </dict> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/ReadNotesAccessoryView.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/ReadNotesAccessoryView.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/ReleaseNotes.nib/classes.nib =================================================================== --- trunk/French.lproj/ReleaseNotes.nib/classes.nib (rev 0) +++ trunk/French.lproj/ReleaseNotes.nib/classes.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,22 @@ +{ + IBClasses = ( + { + CLASS = FirstResponder; + LANGUAGE = ObjC; + SUPERCLASS = NSObject; + }, + { + ACTIONS = { + download = id; + }; + CLASS = SKReleaseNotesController; + LANGUAGE = ObjC; + OUTLETS = { + downloadButton = NSButton; + textView = NSTextView; + }; + SUPERCLASS = NSWindowController; + } + ); + IBVersion = 1; +} \ No newline at end of file Added: trunk/French.lproj/ReleaseNotes.nib/info.nib =================================================================== --- trunk/French.lproj/ReleaseNotes.nib/info.nib (rev 0) +++ trunk/French.lproj/ReleaseNotes.nib/info.nib 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>IBDocumentLocation</key> + <string>95 91 356 240 0 0 1600 1178 </string> + <key>IBFramework Version</key> + <string>446.1</string> + <key>IBSystem Version</key> + <string>9A466</string> +</dict> +</plist> Added: trunk/French.lproj/ReleaseNotes.nib/keyedobjects.nib =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/ReleaseNotes.nib/keyedobjects.nib ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Skim Help/gfx/Skim.png =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/Skim Help/gfx/Skim.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Skim Help/gfx/SkimIcon.png =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/Skim Help/gfx/SkimIcon.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Skim Help/gfx/screenshot.png =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/Skim Help/gfx/screenshot.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Skim Help/scripts/OpenAppDict.scpt =================================================================== (Binary files differ) Property changes on: trunk/French.lproj/Skim Help/scripts/OpenAppDict.scpt ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/French.lproj/Skim Help/skim.texi =================================================================== --- trunk/French.lproj/Skim Help/skim.texi (rev 0) +++ trunk/French.lproj/Skim Help/skim.texi 2007-07-25 18:32:44 UTC (rev 2555) @@ -0,0 +1,1273 @@ +\input texinfo @c -*-texinfo-*- +@c This is the manual for Skim. + +@c ====================================================================================== +@c Localization Notes +@c ====================================================================================== +@c +@c Localization starts after "The content of the Help Pages starts here...". +@c Command names start with '@' and should not be localized. +@c Lines starting with @c, such as this one, are comments and should not be localized. +@c Arguments are written on the line after the command, or as a comma-separated list within braces. +@c Most arguments should be localized, but not for @end or @box. +@c References (first argument of @ref or @xref, or between * and :: in a @menu) should be exactly the same as their target (argument of @node or @anchor). + +@c ====================================================================================== +@c Document info +@c ====================================================================================== +@c +@setfilename skim.info + +@setchapternewpage odd +@footnotestyle separate +@ifset shorttitlepage-enabled +@shorttitlepage Skim v@value{VERSION} +@end ifset + +@c ====================================================================================== +@c Macro definitions +@c ====================================================================================== + +@c macros for keyboard shortcuts + +@macro cmd {key} +@html +⌘\key\ +@end html +@ifnothtml +Cmd-\key\ +@end ifnothtml +@end macro + +@macro opt {key} +@html +⌥\key\ +@end html +@ifnothtml +Opt-\key\ +@end ifnothtml +@end macro + +@macro shiftcmd {key} +@html +⇧⌘\key\ +@end html +@ifnothtml +Shift-Cmd-\key\ +@end ifnothtml +@end macro + +@macro optcmd {key} +@html +⌥⌘\key\ +@end html +@ifnothtml +Option-Cmd-\key\ +@end ifnothtml +@end macro + +@macro ctrcmd {key} +@html +⌃⌘\key\ +@end html +@ifnothtml +Control-Cmd-\key\ +@end ifnothtml +@end macro + +@c A macro for search-result abstracts + +@macro abstract{text} +@html +<META NAME="DESCRIPTION" CONTENT="\text\"> +@end html +@end macro + +@c Macros for special boxes + +@macro box{class} +@html +<div class="\class\"> +@end html +@end macro + +@macro endbox +@html +</div> +@end html +@end macro + +@macro topic{title} +@node \title\ +@chapter \title\ +@cindex \title\ +@abstract{\title\} +@end macro + +@c ====================================================================================== +@c The content of the Help Pages starts here... +@c ====================================================================================== + +@documentlanguage en +@documentencoding UTF-8 + +@settitle Skim Help + +@ifnottex +@c DO NOT LOCALIZE THE NEXT LINE +@node Top +@top Skim Help + +@box{topframe} + +@box{topframeleft} + +@heading @image{gfx/Skim,,, Skim} Skim Help + +@image{gfx/screenshot,,, Screenshot} + +@endbox + +@box{topframeright} + +Skim is a viewer for Portable Document Format (PDF) files, intended for easy reading and studying PDF documents. + +You can search PDF files, bookmark them, add notes, highlight sections, and take "snapshot" for easy reference. Skim can also open PostScript (PS) files, converting them to PDF. + +In addition, with Skim you can fully concentrate on reading the PDF file in a powerfull full screen mode, or give full screen presentations of your PDF file. + +@menu +* indexcp:: +* More information:: +@end menu + +@endbox + +@endbox + +@c ====================================================================================== + +@topic Viewing PDF files + +Skim can be used to open and print documents in Portable Document Format (PDF). A PDF file has elements of a printed document. Many PDF files are converted from printed documents, or created from the same source files as printed documents. + +PDF files opened in Skim can be read, resized for onscreen viewing, and printed. You can search a PDF document for specific text, navigate some PDF files using a table of contents, select and copy text in the file, add notes and highlights, and give presentations. + +If you open a PostScript (PS) or EPS file in Skim, it is converted to a PDF file. + +@box{taskbox} +@heading To open all PDF documents in Skim: +@enumerate +@item In the Finder, select a PDF document. +@item Choose File > Get Info. +@item Click Open with:. +@item Choose Skim from the pop-up menu, and click Change All. +@end enumerate +@endbox + +@c ====================================================================================== + +@topic Zooming in and out + +You can change your view of a page in a PDF file in several ways. + +@box{taskbox} +@itemize +@item To zoom in or out, choose View ... [truncated message content] |
From: <ho...@us...> - 2007-07-25 13:16:53
|
Revision: 2554 http://skim-app.svn.sourceforge.net/skim-app/?rev=2554&view=rev Author: hofman Date: 2007-07-25 06:16:51 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Change shortcut to get pages in presentation mode to 'p'. Add shortcut 'a' to toggle Auto/Actual size. Modified Paths: -------------- trunk/SKPDFView.m trunk/SKSideWindow.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-07-25 12:21:20 UTC (rev 2553) +++ trunk/SKPDFView.m 2007-07-25 13:16:51 UTC (rev 2554) @@ -841,8 +841,10 @@ [self goToNextPage:self]; } else if (isPresentation && (eventChar == NSLeftArrowFunctionKey) && (modifiers == 0)) { [self goToPreviousPage:self]; - } else if (isPresentation && (eventChar == 't') && (modifiers == 0)) { + } else if (isPresentation && (eventChar == 'p') && (modifiers == 0)) { [(SKMainWindowController *)[[self window] windowController] toggleLeftSidePane:self]; + } else if (isPresentation && (eventChar == 'a') && (modifiers == 0)) { + [(SKMainWindowController *)[[self window] windowController] toggleAutoActualSize:self]; } else if ((eventChar == NSDeleteCharacter || eventChar == NSDeleteFunctionKey) && (modifiers == 0)) { [self delete:self]; } else if (isPresentation == NO && ([self toolMode] == SKTextToolMode || [self toolMode] == SKNoteToolMode) && (eventChar == NSEnterCharacter || eventChar == NSFormFeedCharacter || eventChar == NSNewlineCharacter || eventChar == NSCarriageReturnCharacter) && (modifiers == 0)) { Modified: trunk/SKSideWindow.m =================================================================== --- trunk/SKSideWindow.m 2007-07-25 12:21:20 UTC (rev 2553) +++ trunk/SKSideWindow.m 2007-07-25 13:16:51 UTC (rev 2554) @@ -178,7 +178,7 @@ if (ch == 0x1B && modifierFlags == 0) { [controller exitFullScreen:self]; - } else if (ch == 't' && modifierFlags == 0 && [controller isPresentation]) { + } else if (ch == 'p' && modifierFlags == 0 && [controller isPresentation]) { [controller toggleLeftSidePane:self]; } else { [super keyDown:theEvent]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-25 12:45:51
|
Revision: 2553 http://skim-app.svn.sourceforge.net/skim-app/?rev=2553&view=rev Author: hofman Date: 2007-07-25 05:21:20 -0700 (Wed, 25 Jul 2007) Log Message: ----------- Cache the bitmap imagerep to use for the transition for better performance. Modified Paths: -------------- trunk/SKTransitionController.h trunk/SKTransitionController.m Modified: trunk/SKTransitionController.h =================================================================== --- trunk/SKTransitionController.h 2007-07-23 17:50:32 UTC (rev 2552) +++ trunk/SKTransitionController.h 2007-07-25 12:21:20 UTC (rev 2553) @@ -118,6 +118,7 @@ NSWindow *transitionWindow; SKTransitionView *transitionView; NSView *view; + NSBitmapImageRep *bitmap; CIImage *initialImage; NSRect imageRect; Modified: trunk/SKTransitionController.m =================================================================== --- trunk/SKTransitionController.m 2007-07-23 17:50:32 UTC (rev 2552) +++ trunk/SKTransitionController.m 2007-07-25 12:21:20 UTC (rev 2553) @@ -113,6 +113,7 @@ - (void)dealloc { [transitionWindow release]; + [bitmap release]; [initialImage release]; [super dealloc]; } @@ -122,7 +123,11 @@ } - (void)setView:(NSView *)newView { - view = newView; + if (view != newView) { + view = newView; + [bitmap release]; + bitmap = nil; + } } - (SKAnimationTransitionStyle)transitionStyle { @@ -250,10 +255,16 @@ - (CIImage *)createCurrentImage { NSRect bounds = [view bounds]; - NSBitmapImageRep *contentBitmap = [view bitmapImageRepForCachingDisplayInRect:bounds]; - [contentBitmap clear]; - [view cacheDisplayInRect:bounds toBitmapImageRep:contentBitmap]; - return [[CIImage alloc] initWithBitmapImageRep:contentBitmap]; + + if (bitmap == nil || NSEqualSizes(bounds.size, NSMakeSize([bitmap pixelsWide], [bitmap pixelsHigh])) == NO) { + [bitmap release]; + bitmap = [[view bitmapImageRepForCachingDisplayInRect:bounds] retain]; + } + + [bitmap clear]; + [view cacheDisplayInRect:bounds toBitmapImageRep:bitmap]; + + return [[CIImage alloc] initWithBitmapImageRep:bitmap]; } - (NSWindow *)transitionWindow { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 17:50:40
|
Revision: 2552 http://skim-app.svn.sourceforge.net/skim-app/?rev=2552&view=rev Author: hofman Date: 2007-07-23 10:50:32 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Typing to avoid compiler warning. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-23 16:32:29 UTC (rev 2551) +++ trunk/SKMainWindowController.m 2007-07-23 17:50:32 UTC (rev 2552) @@ -1245,7 +1245,7 @@ - (IBAction)doZoomToPhysicalSize:(id)sender { float scaleFactor = 1.0; NSScreen *screen = [[self window] screen]; - CGDirectDisplayID displayID = [[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; + CGDirectDisplayID displayID = (CGDirectDisplayID)[[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; CGSize physicalSize = CGDisplayScreenSize(displayID); NSSize resolution = [[[screen deviceDescription] objectForKey:NSDeviceResolution] sizeValue]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ama...@us...> - 2007-07-23 16:32:30
|
Revision: 2551 http://skim-app.svn.sourceforge.net/skim-app/?rev=2551&view=rev Author: amaxwell Date: 2007-07-23 09:32:29 -0700 (Mon, 23 Jul 2007) Log Message: ----------- ignore empty kAESearchText Modified Paths: -------------- trunk/SKDocument.m Modified: trunk/SKDocument.m =================================================================== --- trunk/SKDocument.m 2007-07-23 16:28:42 UTC (rev 2550) +++ trunk/SKDocument.m 2007-07-23 16:32:29 UTC (rev 2551) @@ -133,7 +133,7 @@ NSAppleEventDescriptor *event = [[NSAppleEventManager sharedAppleEventManager] currentAppleEvent]; NSString *searchString = [[event descriptorForKeyword:keyAESearchText] stringValue]; - if([event eventID] == kAEOpenDocuments && searchString != nil){ + if([event eventID] == kAEOpenDocuments && searchString != nil && [@"" isEqualToString:searchString] == NO){ [[self mainWindowController] displaySearchResultsForString:searchString]; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ama...@us...> - 2007-07-23 16:28:44
|
Revision: 2550 http://skim-app.svn.sourceforge.net/skim-app/?rev=2550&view=rev Author: amaxwell Date: 2007-07-23 09:28:42 -0700 (Mon, 23 Jul 2007) Log Message: ----------- add implementation of localizedCaseInsensitiveNumericCompare: from BibDesk, since caseInsensitiveNumericCompare: didn't seem to be implemented anywhere Modified Paths: -------------- trunk/NSArray_SKExtensions.m trunk/NSString_SKExtensions.h trunk/NSString_SKExtensions.m trunk/SKMainWindowController.m trunk/SKNotesDocument.m Modified: trunk/NSArray_SKExtensions.m =================================================================== --- trunk/NSArray_SKExtensions.m 2007-07-23 16:26:24 UTC (rev 2549) +++ trunk/NSArray_SKExtensions.m 2007-07-23 16:28:42 UTC (rev 2550) @@ -38,8 +38,8 @@ #import "NSArray_SKExtensions.h" #import "NSValue_SKExtensions.h" +#import "NSString_SKExtensions.h" - @implementation NSArray (SKExtensions) - (NSArray *)arraySortedByPageIndex { @@ -59,7 +59,7 @@ } - (NSArray *)arraySortedByContents { - return [self sortedArrayUsingDescriptors:[NSArray arrayWithObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease]]]; + return [self sortedArrayUsingDescriptors:[NSArray arrayWithObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(localizedCaseInsensitiveNumericCompare:)] autorelease]]]; } - (NSArray *)arraySortedByTypeAndContents { Modified: trunk/NSString_SKExtensions.h =================================================================== --- trunk/NSString_SKExtensions.h 2007-07-23 16:26:24 UTC (rev 2549) +++ trunk/NSString_SKExtensions.h 2007-07-23 16:28:42 UTC (rev 2550) @@ -49,6 +49,7 @@ - (NSString *)stringByEscapingShellChars; - (NSArray *)shellScriptArgumentsArray; +- (NSComparisonResult)localizedCaseInsensitiveNumericCompare:(NSString *)aStr; - (NSRange)rangeOfLeadingEmptyLine; - (NSRange)rangeOfLeadingEmptyLineInRange:(NSRange)range; Modified: trunk/NSString_SKExtensions.m =================================================================== --- trunk/NSString_SKExtensions.m 2007-07-23 16:26:24 UTC (rev 2549) +++ trunk/NSString_SKExtensions.m 2007-07-23 16:28:42 UTC (rev 2550) @@ -192,6 +192,13 @@ return arguments; } +- (NSComparisonResult)localizedCaseInsensitiveNumericCompare:(NSString *)aStr{ + return [self compare:aStr + options:NSCaseInsensitiveSearch | NSNumericSearch + range:NSMakeRange(0, [self length]) + locale:[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]]; +} + #pragma mark Empty lines // whitespace at the beginning of the string up to the end or until (and including) a newline Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-23 16:26:24 UTC (rev 2549) +++ trunk/SKMainWindowController.m 2007-07-23 16:28:42 UTC (rev 2550) @@ -1245,7 +1245,7 @@ - (IBAction)doZoomToPhysicalSize:(id)sender { float scaleFactor = 1.0; NSScreen *screen = [[self window] screen]; - CGDirectDisplayID displayID = [[[screen deviceDescription] objectForKey:@"NSScreenNumber"] pointerValue]; + CGDirectDisplayID displayID = [[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; CGSize physicalSize = CGDisplayScreenSize(displayID); NSSize resolution = [[[screen deviceDescription] objectForKey:NSDeviceResolution] sizeValue]; @@ -3152,7 +3152,7 @@ if ([tcID isEqualToString:@"type"]) { [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"note"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(localizedCaseInsensitiveNumericCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"page"]) { if (oldTableColumn == nil) ascending = NO; Modified: trunk/SKNotesDocument.m =================================================================== --- trunk/SKNotesDocument.m 2007-07-23 16:26:24 UTC (rev 2549) +++ trunk/SKNotesDocument.m 2007-07-23 16:28:42 UTC (rev 2550) @@ -68,7 +68,7 @@ [aController setShouldCloseDocument:YES]; NSSortDescriptor *indexSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"pageIndex" ascending:YES] autorelease]; - NSSortDescriptor *contentsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease]; + NSSortDescriptor *contentsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(localizedCaseInsensitiveNumericCompare:)] autorelease]; [arrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, contentsSortDescriptor, nil]]; [outlineView reloadData]; } @@ -255,7 +255,7 @@ if ([tcID isEqualToString:@"type"]) { [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"note"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(localizedCaseInsensitiveNumericCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"page"]) { if (oldTableColumn == nil) ascending = NO; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ama...@us...> - 2007-07-23 16:26:25
|
Revision: 2549 http://skim-app.svn.sourceforge.net/skim-app/?rev=2549&view=rev Author: amaxwell Date: 2007-07-23 09:26:24 -0700 (Mon, 23 Jul 2007) Log Message: ----------- fix types Modified Paths: -------------- trunk/SKColorSwatch.m trunk/SKDocument.m trunk/SKLineWell.m Modified: trunk/SKColorSwatch.m =================================================================== --- trunk/SKColorSwatch.m 2007-07-23 13:45:53 UTC (rev 2548) +++ trunk/SKColorSwatch.m 2007-07-23 16:26:24 UTC (rev 2549) @@ -319,7 +319,7 @@ NSDictionary *bindingsData = [NSDictionary dictionaryWithObjectsAndKeys:observableController, NSObservedObjectKey, [[keyPath copy] autorelease], NSObservedKeyPathKey, [[options copy] autorelease], NSOptionsKey, nil]; [bindingInfo setObject:bindingsData forKey:bindingName]; - [observableController addObserver:self forKeyPath:keyPath options:nil context:SKColorsObservationContext]; + [observableController addObserver:self forKeyPath:keyPath options:0 context:SKColorsObservationContext]; [self observeValueForKeyPath:keyPath ofObject:observableController change:nil context:SKColorsObservationContext]; } else { [super bind:bindingName toObject:observableController withKeyPath:keyPath options:options]; Modified: trunk/SKDocument.m =================================================================== --- trunk/SKDocument.m 2007-07-23 13:45:53 UTC (rev 2548) +++ trunk/SKDocument.m 2007-07-23 16:26:24 UTC (rev 2549) @@ -454,7 +454,7 @@ [rootObject addObject:[[notes objectAtIndex:i] dictionaryValue]]; } data = [NSKeyedArchiver archivedDataWithRootObject:rootObject]; - if ([fm setExtendedAttributeNamed:@"net_sourceforge_skim-app_notes" toValue:data atPath:path options:nil error:&error] == NO) { + if ([fm setExtendedAttributeNamed:@"net_sourceforge_skim-app_notes" toValue:data atPath:path options:kBDSKXattrDefault error:&error] == NO) { success = NO; if (outError) *outError = error; NSLog(@"%@: %@", self, error); Modified: trunk/SKLineWell.m =================================================================== --- trunk/SKLineWell.m 2007-07-23 13:45:53 UTC (rev 2548) +++ trunk/SKLineWell.m 2007-07-23 16:26:24 UTC (rev 2549) @@ -673,7 +673,7 @@ [bindingInfo setObject:bindingsData forKey:bindingName]; void *context = (void *)[observationContexts objectForKey:bindingName]; - [observableController addObserver:self forKeyPath:keyPath options:nil context:context]; + [observableController addObserver:self forKeyPath:keyPath options:0 context:context]; [self observeValueForKeyPath:keyPath ofObject:observableController change:nil context:context]; } else { [super bind:bindingName toObject:observableController withKeyPath:keyPath options:options]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 13:45:56
|
Revision: 2548 http://skim-app.svn.sourceforge.net/skim-app/?rev=2548&view=rev Author: hofman Date: 2007-07-23 06:45:53 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Update release notes. Modified Paths: -------------- trunk/ReleaseNotes.rtf Modified: trunk/ReleaseNotes.rtf =================================================================== --- trunk/ReleaseNotes.rtf 2007-07-23 12:00:30 UTC (rev 2547) +++ trunk/ReleaseNotes.rtf 2007-07-23 13:45:53 UTC (rev 2548) @@ -1,6 +1,7 @@ {\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf410 -{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 LucidaGrande;\f2\fswiss\fcharset77 Helvetica-Bold; -\f3\fswiss\fcharset77 Helvetica-BoldOblique;\f4\fnil\fcharset77 LucidaGrande-Bold;} +{\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;} {\*\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} @@ -94,24 +95,68 @@ {\list\listtemplateid90\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid90} {\list\listtemplateid91\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid91} {\list\listtemplateid92\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid92} -{\list\listtemplateid93\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid93}} -{\*\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}{\listoverride\listid33\listoverridecount0\ls33}{\listoverride\listid34\listoverridecount0\ls34}{\listoverride\listid35\listoverridecount0\ls35}{\listoverride\listid36\listoverridecount0\ls36}{\listoverride\listid37\listoverridecount0\ls37}{\listoverride\listid38\listoverridecount0\ls38}{\listoverride\listid39\listoverridecount0\ls39}{\listoverride\listid40\listoverridecount0\ls40}{\listoverride\listid41\listoverridecount0\ls41}{\listoverride\listid42\listoverridecount0\ls42}{\listoverride\listid43\listoverridecount0\ls43}{\listoverride\listid44\listoverridecount0\ls44}{\listoverride\listid45\listoverridecount0\ls45}{\listoverride\listid46\listoverridecount0\ls46}{\listoverride\listid47\listoverridecount0\ls47}{\listoverride\listid48\listoverridecount0\ls48}{\listoverride\listid49\listoverridecount0\ls49}{\listoverride\listid50\listoverridecount0\ls50}{\listoverride\listid51\listoverridecount0\ls51}{\listoverride\listid52\listoverridecount0\ls52}{\listoverride\listid53\listoverridecount0\ls53}{\listoverride\listid54\listoverridecount0\ls54}{\listoverride\listid55\listoverridecount0\ls55}{\listoverride\listid56\listoverridecount0\ls56}{\listoverride\listid57\listoverridecount0\ls57}{\listoverride\listid58\listoverridecount0\ls58}{\listoverride\listid59\listoverridecount0\ls59}{\listoverride\listid60\listoverridecount0\ls60}{\listoverride\listid61\listoverridecount0\ls61}{\listoverride\listid62\listoverridecount0\ls62}{\listoverride\listid63\listoverridecount0\ls63}{\listoverride\listid64\listoverridecount0\ls64}{\listoverride\listid65\listoverridecount0\ls65}{\listoverride\listid66\listoverridecount0\ls66}{\listoverride\listid67\listoverridecount0\ls67}{\listoverride\listid68\listoverridecount0\ls68}{\listoverride\listid69\listoverridecount0\ls69}{\listoverride\listid70\listoverridecount0\ls70}{\listoverride\listid71\listoverridecount0\ls71}{\listoverride\listid72\listoverridecount0\ls72}{\listoverride\listid73\listoverridecount0\ls73}{\listoverride\listid74\listoverridecount0\ls74}{\listoverride\listid75\listoverridecount0\ls75}{\listoverride\listid76\listoverridecount0\ls76}{\listoverride\listid77\listoverridecount0\ls77}{\listoverride\listid78\listoverridecount0\ls78}{\listoverride\listid79\listoverridecount0\ls79}{\listoverride\listid80\listoverridecount0\ls80}{\listoverride\listid81\listoverridecount0\ls81}{\listoverride\listid82\listoverridecount0\ls82}{\listoverride\listid83\listoverridecount0\ls83}{\listoverride\listid84\listoverridecount0\ls84}{\listoverride\listid85\listoverridecount0\ls85}{\listoverride\listid86\listoverridecount0\ls86}{\listoverride\listid87\listoverridecount0\ls87}{\listoverride\listid88\listoverridecount0\ls88}{\listoverride\listid89\listoverridecount0\ls89}{\listoverride\listid90\listoverridecount0\ls90}{\listoverride\listid91\listoverridecount0\ls91}{\listoverride\listid92\listoverridecount0\ls92}{\listoverride\listid93\listoverridecount0\ls93}} +{\list\listtemplateid93\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid93} +{\list\listtemplateid94\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid94} +{\list\listtemplateid95\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc2\leveljcn2\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid0\'02\'05.;}{\levelnumbers\'01;}}{\listname ;}\listid95}} +{\*\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}{\listoverride\listid33\listoverridecount0\ls33}{\listoverride\listid34\listoverridecount0\ls34}{\listoverride\listid35\listoverridecount0\ls35}{\listoverride\listid36\listoverridecount0\ls36}{\listoverride\listid37\listoverridecount0\ls37}{\listoverride\listid38\listoverridecount0\ls38}{\listoverride\listid39\listoverridecount0\ls39}{\listoverride\listid40\listoverridecount0\ls40}{\listoverride\listid41\listoverridecount0\ls41}{\listoverride\listid42\listoverridecount0\ls42}{\listoverride\listid43\listoverridecount0\ls43}{\listoverride\listid44\listoverridecount0\ls44}{\listoverride\listid45\listoverridecount0\ls45}{\listoverride\listid46\listoverridecount0\ls46}{\listoverride\listid47\listoverridecount0\ls47}{\listoverride\listid48\listoverridecount0\ls48}{\listoverride\listid49\listoverridecount0\ls49}{\listoverride\listid50\listoverridecount0\ls50}{\listoverride\listid51\listoverridecount0\ls51}{\listoverride\listid52\listoverridecount0\ls52}{\listoverride\listid53\listoverridecount0\ls53}{\listoverride\listid54\listoverridecount0\ls54}{\listoverride\listid55\listoverridecount0\ls55}{\listoverride\listid56\listoverridecount0\ls56}{\listoverride\listid57\listoverridecount0\ls57}{\listoverride\listid58\listoverridecount0\ls58}{\listoverride\listid59\listoverridecount0\ls59}{\listoverride\listid60\listoverridecount0\ls60}{\listoverride\listid61\listoverridecount0\ls61}{\listoverride\listid62\listoverridecount0\ls62}{\listoverride\listid63\listoverridecount0\ls63}{\listoverride\listid64\listoverridecount0\ls64}{\listoverride\listid65\listoverridecount0\ls65}{\listoverride\listid66\listoverridecount0\ls66}{\listoverride\listid67\listoverridecount0\ls67}{\listoverride\listid68\listoverridecount0\ls68}{\listoverride\listid69\listoverridecount0\ls69}{\listoverride\listid70\listoverridecount0\ls70}{\listoverride\listid71\listoverridecount0\ls71}{\listoverride\listid72\listoverridecount0\ls72}{\listoverride\listid73\listoverridecount0\ls73}{\listoverride\listid74\listoverridecount0\ls74}{\listoverride\listid75\listoverridecount0\ls75}{\listoverride\listid76\listoverridecount0\ls76}{\listoverride\listid77\listoverridecount0\ls77}{\listoverride\listid78\listoverridecount0\ls78}{\listoverride\listid79\listoverridecount0\ls79}{\listoverride\listid80\listoverridecount0\ls80}{\listoverride\listid81\listoverridecount0\ls81}{\listoverride\listid82\listoverridecount0\ls82}{\listoverride\listid83\listoverridecount0\ls83}{\listoverride\listid84\listoverridecount0\ls84}{\listoverride\listid85\listoverridecount0\ls85}{\listoverride\listid86\listoverridecount0\ls86}{\listoverride\listid87\listoverridecount0\ls87}{\listoverride\listid88\listoverridecount0\ls88}{\listoverride\listid89\listoverridecount0\ls89}{\listoverride\listid90\listoverridecount0\ls90}{\listoverride\listid91\listoverridecount0\ls91}{\listoverride\listid92\listoverridecount0\ls92}{\listoverride\listid93\listoverridecount0\ls93}{\listoverride\listid94\listoverridecount0\ls94}{\listoverride\listid95\listoverridecount0\ls95}} \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: 23 July 2007 (rev +\f2\fs20 2547) +\f1\fs22 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 Changes since 0.5\ +\f3\b\fs28 \cf0 \ +Changes since 0.5.1\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 New Features\ +\f4\i\fs26 \cf0 New Features\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \ls1\ilvl0 +\f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Default print settings automatically choose landscape for wide pages.\ +{\listtext \'a5 }Hidden preference for custom dvi conversion utilitiesto read DVU (e.g. dvips).\ +{\listtext \'a5 }You can now spell-check a PDF.\ +{\listtext \'a5 }Animated page transitions for your presentations. A large set of default transitions is provided.\ +{\listtext \'a5 }You can now quickly go to a page in presentation mode using the Show Contents Pane action, or by pressing "t".\ +{\listtext \'a5 }You can now search notes displayed in the table.\ +{\listtext \'a5 }New View menu item to show the file at the real size at which it would be printed.\ +{\listtext \'a5 }Added a Speech menu to Edit menu.\ +\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 +\ls2\ilvl0 +\f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Correct display of zero line width in Line inspector panel.\ +{\listtext \'a5 }Fix broken Note preferences in Italian localization.\ +{\listtext \'a5 }Improved security for PDFSync, escape special shell characters.\ +{\listtext \'a5 }Most tool modes now don't show the hand cursor, as you cannot drag.\ +{\listtext \'a5 }Notes and highlights are not printed anymore when they are hidden.\ +{\listtext \'a5 }Shortcuts to quickly change tool modes is changed to Option-Command-arrow, to avoid conflicts with moving notes (was Shift-arrow).\ +{\listtext \'a5 }Disable invalid menu actions in presentation mode.\ +{\listtext \'a5 }You can now also exit full screen mode by pressing action when a side panel is opened. Also some other actions are enabled in that case.\ +{\listtext \'a5 }You can now open PDF and PS files even if they happen to have the wrong extension.\ +{\listtext \'a5 }Fix layout issues in main window.\ +{\listtext \'a5 }Reopen snapshots after a reload at the correct zoom factor.\ +\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural + +\f3\b\fs28 \cf0 \ +Changes since 0.5\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\cf0 \ +\pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural + +\f4\i\fs26 \cf0 New Features\ +\pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural +\ls3\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Added some more sorting keys for use in text export templates.\ {\listtext \'a5 }Reorganized document info window, with some new properties.\ {\listtext \'a5 }You can now navigate through a presentation using mouse clicks.\ @@ -119,17 +164,17 @@ {\listtext \'a5 }Added an optional status bar, displaying the page number, number and pages, as well as informatino about the tool mode, if it applies.\ {\listtext \'a5 }You can now print documents from AppleScript.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls2\ilvl0\cf0 {\listtext \'a5 }Pdfsync from AppleScript now goes separately through the go command instead of the open command.\ +\ls4\ilvl0\cf0 {\listtext \'a5 }Pdfsync from AppleScript now goes separately through the go command instead of the open command.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls3\ilvl0\cf0 {\listtext \'a5 }You can now quickly rotate through tool modes using Shift-modified arrow keys.\ +\ls5\ilvl0\cf0 {\listtext \'a5 }You can now quickly rotate through tool modes using Shift-modified arrow keys.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 Bugs Fixed\ +\f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls4\ilvl0 +\ls6\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Prevent chaching of update info for updater.\ {\listtext \'a5 }Fix the default text export templates.\ {\listtext \'a5 }Allow other active application windows in front of Skim in presentation mode.\ @@ -144,15 +189,15 @@ {\listtext \'a5 }Fix full screen window layout when the full screen window moves to another screen.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ Changes since 0.4.1\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 New Features\ +\f4\i\fs26 \cf0 New Features\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls5\ilvl0 +\ls7\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }You can now hide all notes and highlights.\ {\listtext \'a5 }Remember last exported type.\ {\listtext \'a5 }Keyboard shortcut for Export.\ @@ -170,13 +215,13 @@ {\listtext \'a5 }You can now change the icon type of anchored notes from the note's window to some standard proofreader marks.\ {\listtext \'a5 }Hidden default for icon type of anchored notes (SKAnchoredNoteiconType).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls6\ilvl0\cf0 {\listtext \'a5 }Skim now saves the file type and creator code.\ +\ls8\ilvl0\cf0 {\listtext \'a5 }Skim now saves the file type and creator code.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls7\ilvl0\cf0 {\listtext \'a5 }The reading bar is now shown on the thumbnails.\ +\ls9\ilvl0\cf0 {\listtext \'a5 }The reading bar is now shown on the thumbnails.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls8\ilvl0\cf0 {\listtext \'a5 }Add border/line properties to circle, box, text and line notes. Accessible through a new inspector panel and AppleScript.\ +\ls10\ilvl0\cf0 {\listtext \'a5 }Add border/line properties to circle, box, text and line notes. Accessible through a new inspector panel and AppleScript.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls9\ilvl0\cf0 {\listtext \'a5 }Allow setting the interior (fill) color for circles and boxes. Select the check button at the bottom of the color panel.\ +\ls11\ilvl0\cf0 {\listtext \'a5 }Allow setting the interior (fill) color for circles and boxes. Select the check button at the bottom of the color panel.\ {\listtext \'a5 }Add a TeX editor perset for LyX.\ {\listtext \'a5 }You can now reopen snapshots from a previous run.\ {\listtext \'a5 }New preferences for line styles and interior colors.\ @@ -186,12 +231,12 @@ {\listtext \'a5 }New color swatch toolbar control to easily use a few default colors.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 Bugs Fixed\ +\f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls10\ilvl0 +\ls12\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Use old-style check for network availability for the updater, as the newer API is not reliable for dial-up connections.\ {\listtext \'a5 }Never add a new note on a click in note tool mode, because undoing such an addition can also remove a text edit in progress.\ {\listtext \'a5 }Update the window title when the document is reloaded; the number of pages can change. \ @@ -201,7 +246,7 @@ {\listtext \'a5 }Add help about cropping pages.\ {\listtext \'a5 }Start and end points for arrow notes in AppleScript are now relative to the page, and changing them automatically changes the bounds.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls11\ilvl0\cf0 {\listtext \'a5 }The side panels in full screen mode are now hidden when you switch to another application.\ +\ls13\ilvl0\cf0 {\listtext \'a5 }The side panels in full screen mode are now hidden when you switch to another application.\ {\listtext \'a5 }Renamed "Arrow" to "Line", as it now allows more general line styles. Also change some keyboard shortcuts.\ {\listtext \'a5 }Enable Password menu item for encrypted files that are flagged as unlocked, as the latter is unreliable in PDFKit.\ {\listtext \'a5 }Fix tab-loop for PDFs with fiallable forms. Also add some help about fillable forms.\ @@ -217,221 +262,221 @@ {\listtext \'a5 }The rotation of text notes is now saved.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ Changes since 0.4\ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 Bugs Fixed\ +\f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls12\ilvl0 +\ls14\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Fixed installation of new versions by updater.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ Changes since 0.3\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f3\i\fs26 \cf0 \ +\f4\i\fs26 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \cf0 New Features\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls13\ilvl0 +\ls15\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Add a menu item in the Help menu to visit the web site.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls14\ilvl0\cf0 {\listtext \'a5 }Add single-character shortcuts to change the note style in note mode (t, n, c, b, h, u, s, a).\ +\ls16\ilvl0\cf0 {\listtext \'a5 }Add single-character shortcuts to change the note style in note mode (t, n, c, b, h, u, s, a).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls15\ilvl0\cf0 {\listtext \'a5 }Fix PDFSync support to work with file names containing spaces.\ +\ls17\ilvl0\cf0 {\listtext \'a5 }Fix PDFSync support to work with file names containing spaces.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls16\ilvl0\cf0 {\listtext \'a5 }Add hidden default for activation of navigation buttons in presentation mode (SKActivatePresentationNavigationAtBottom).\ +\ls18\ilvl0\cf0 {\listtext \'a5 }Add hidden default for activation of navigation buttons in presentation mode (SKActivatePresentationNavigationAtBottom).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls17\ilvl0\cf0 {\listtext \'a5 }Start search using the find panel at the current page when there is no selection.\ +\ls19\ilvl0\cf0 {\listtext \'a5 }Start search using the find panel at the current page when there is no selection.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls18\ilvl0\cf0 {\listtext \'a5 }Wrap selection using the find panel.\ +\ls20\ilvl0\cf0 {\listtext \'a5 }Wrap selection using the find panel.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls19\ilvl0\cf0 {\listtext \'a5 }Add support for apple remote control. It can be disabled through the hidden default SKEnableAppleRemote.\ +\ls21\ilvl0\cf0 {\listtext \'a5 }Add support for apple remote control. It can be disabled through the hidden default SKEnableAppleRemote.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls20\ilvl0\cf0 {\listtext \'a5 }Hidden defaults for line ending style of arrows (SKLineNoteStartLineStyle, SKLineNoteEndLineStyle).\ +\ls22\ilvl0\cf0 {\listtext \'a5 }Hidden defaults for line ending style of arrows (SKLineNoteStartLineStyle, SKLineNoteEndLineStyle).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls21\ilvl0\cf0 {\listtext \'a5 }Hidden pref option for reading missing notes from separate .skim file (SKReadMissingNotesFromSkimFileOption). \ +\ls23\ilvl0\cf0 {\listtext \'a5 }Hidden pref option for reading missing notes from separate .skim file (SKReadMissingNotesFromSkimFileOption). \ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls22\ilvl0\cf0 {\listtext \'a5 }You can now open the corresponding PDF from a Skim Notes document.\ +\ls24\ilvl0\cf0 {\listtext \'a5 }You can now open the corresponding PDF from a Skim Notes document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls23\ilvl0\cf0 {\listtext \'a5 }Skim can now read TIFF images from the clipboard.\ +\ls25\ilvl0\cf0 {\listtext \'a5 }Skim can now read TIFF images from the clipboard.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls24\ilvl0\cf0 {\listtext \'a5 }New select tool. Allows you to copy PDF and TIFF images from a section of a page.\ +\ls26\ilvl0\cf0 {\listtext \'a5 }New select tool. Allows you to copy PDF and TIFF images from a section of a page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls25\ilvl0\cf0 {\listtext \'a5 }You can now search Skim note files from Spotlight.\ +\ls27\ilvl0\cf0 {\listtext \'a5 }You can now search Skim note files from Spotlight.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls26\ilvl0\cf0 {\listtext \'a5 }New Crop menu items and toolbar button.\ +\ls28\ilvl0\cf0 {\listtext \'a5 }New Crop menu items and toolbar button.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls27\ilvl0\cf0 {\listtext \'a5 }Cropping and page rotation are now undoable.\ +\ls29\ilvl0\cf0 {\listtext \'a5 }Cropping and page rotation are now undoable.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls28\ilvl0\cf0 {\listtext \'a5 }Allow reverting a document when it has changed on disk.\ +\ls30\ilvl0\cf0 {\listtext \'a5 }Allow reverting a document when it has changed on disk.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls29\ilvl0\cf0 {\listtext \'a5 }New menu item to set the selection from the content of the page.\ +\ls31\ilvl0\cf0 {\listtext \'a5 }New menu item to set the selection from the content of the page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls30\ilvl0\cf0 {\listtext \'a5 }Hidden defaults for automatic crop box margins (SKAutoCropBoxMarginWidth, SKAutoCropBoxMarginHeight).\ +\ls32\ilvl0\cf0 {\listtext \'a5 }Hidden defaults for automatic crop box margins (SKAutoCropBoxMarginWidth, SKAutoCropBoxMarginHeight).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls31\ilvl0\cf0 {\listtext \'a5 }New Zoom To Selection menu item and toolbar button.\ +\ls33\ilvl0\cf0 {\listtext \'a5 }New Zoom To Selection menu item and toolbar button.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls32\ilvl0\cf0 {\listtext \'a5 }New preference option to open files fit to the PDF.\ +\ls34\ilvl0\cf0 {\listtext \'a5 }New preference option to open files fit to the PDF.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls33\ilvl0\cf0 {\listtext \'a5 }You can now join markup highlights using shift-click, or by selecting a highlight before adding a new one.\ +\ls35\ilvl0\cf0 {\listtext \'a5 }You can now join markup highlights using shift-click, or by selecting a highlight before adding a new one.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls34\ilvl0\cf0 {\listtext \'a5 }You can now supply templates for text export of notes. See the wiki for more information.\ +\ls36\ilvl0\cf0 {\listtext \'a5 }You can now supply templates for text export of notes. See the wiki for more information.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 Bugs Fixed\ +\f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls35\ilvl0 +\ls37\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Fix links in help.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls36\ilvl0\cf0 {\listtext \'a5 }Don't create a new note in note tool mode on mousedown outside a page.\ +\ls38\ilvl0\cf0 {\listtext \'a5 }Don't create a new note in note tool mode on mousedown outside a page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls37\ilvl0\cf0 {\listtext \'a5 }Don't add new resizable notes in note tool mode when just clicking.\ +\ls39\ilvl0\cf0 {\listtext \'a5 }Don't add new resizable notes in note tool mode when just clicking.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls38\ilvl0\cf0 {\listtext \'a5 }You can now access links that are "hidden" by transparent highlights and arrows.\ +\ls40\ilvl0\cf0 {\listtext \'a5 }You can now access links that are "hidden" by transparent highlights and arrows.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls39\ilvl0\cf0 {\listtext \'a5 }Scroll reading bar to visible when it is shown.\ +\ls41\ilvl0\cf0 {\listtext \'a5 }Scroll reading bar to visible when it is shown.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls40\ilvl0\cf0 {\listtext \'a5 }Scroll to previous position on page when reloading PDF.\ +\ls42\ilvl0\cf0 {\listtext \'a5 }Scroll to previous position on page when reloading PDF.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls41\ilvl0\cf0 {\listtext \'a5 }Escape spaces in TeX editor command.\ +\ls43\ilvl0\cf0 {\listtext \'a5 }Escape spaces in TeX editor command.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls42\ilvl0\cf0 {\listtext \'a5 }Thumbnails now use the current display box.\ +\ls44\ilvl0\cf0 {\listtext \'a5 }Thumbnails now use the current display box.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls43\ilvl0\cf0 {\listtext \'a5 }Retry automatic reloading of files changed on disk a few times.\ +\ls45\ilvl0\cf0 {\listtext \'a5 }Retry automatic reloading of files changed on disk a few times.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls43\ilvl0 -\f2\b\fs28 \cf0 \ +\ls45\ilvl0 +\f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \cf0 Changes since 0.2\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f3\i\fs26 \cf0 \ +\f4\i\fs26 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \cf0 New Features\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls44\ilvl0 +\ls46\ilvl0 \f1\i0\b0\fs22 \cf0 {\listtext \'a5 }Add shortcuts for bigger/smaller font sizes.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls45\ilvl0\cf0 {\listtext \'a5 }Command-click a snapshot.\ +\ls47\ilvl0\cf0 {\listtext \'a5 }Command-click a snapshot.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls46\ilvl0\cf0 {\listtext \'a5 }We now print notes and highlights.\ +\ls48\ilvl0\cf0 {\listtext \'a5 }We now print notes and highlights.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls47\ilvl0\cf0 {\listtext \'a5 }Add copy/cut/paste items to the contextual menu, when they apply.\ +\ls49\ilvl0\cf0 {\listtext \'a5 }Add copy/cut/paste items to the contextual menu, when they apply.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls48\ilvl0\cf0 {\listtext \'a5 }You can now make a snapshot of a page by Command-clicking a thumbnail.\ +\ls50\ilvl0\cf0 {\listtext \'a5 }You can now make a snapshot of a page by Command-clicking a thumbnail.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls49\ilvl0\cf0 {\listtext \'a5 }Added Dutch localization.\ +\ls51\ilvl0\cf0 {\listtext \'a5 }Added Dutch localization.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls50\ilvl0\cf0 {\listtext \'a5 }We now do not leave Full Screen when switching to another application.\ +\ls52\ilvl0\cf0 {\listtext \'a5 }We now do not leave Full Screen when switching to another application.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls51\ilvl0\cf0 {\listtext \'a5 }Export notes as RTF.\ +\ls53\ilvl0\cf0 {\listtext \'a5 }Export notes as RTF.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls52\ilvl0\cf0 {\listtext \'a5 }Add preference options for default note/highlight colors and text note font.\ +\ls54\ilvl0\cf0 {\listtext \'a5 }Add preference options for default note/highlight colors and text note font.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls53\ilvl0\cf0 {\listtext \'a5 }Add menu item to save the current PDF display settings to be used for new documents.\ +\ls55\ilvl0\cf0 {\listtext \'a5 }Add menu item to save the current PDF display settings to be used for new documents.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls54\ilvl0\cf0 {\listtext \'a5 }Search results from the Find Panel are now also highlighted with a red oval.\ +\ls56\ilvl0\cf0 {\listtext \'a5 }Search results from the Find Panel are now also highlighted with a red oval.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls55\ilvl0\cf0 {\listtext \'a5 }Select search field when opening the Contents pane in full screen mode.\ +\ls57\ilvl0\cf0 {\listtext \'a5 }Select search field when opening the Contents pane in full screen mode.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls56\ilvl0\cf0 {\listtext \'a5 }You can now reset all preferences or all preferences in a pane.\ +\ls58\ilvl0\cf0 {\listtext \'a5 }You can now reset all preferences or all preferences in a pane.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls57\ilvl0\cf0 {\listtext \'a5 }Added Italian localization. (Thanks Andrea Bergia!)\ +\ls59\ilvl0\cf0 {\listtext \'a5 }Added Italian localization. (Thanks Andrea Bergia!)\ {\listtext \'a5 }Screensaver and sleep are now disabled in Presentation mode.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls58\ilvl0\cf0 {\listtext \'a5 }Skim can now return to the last page viewed in a document.\ +\ls60\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 -\ls59\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. \ +\ls61\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 -\ls60\ilvl0\cf0 {\listtext \'a5 }Skim can now also view separate Skim notes (.skim) files.\ +\ls62\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 -\ls61\ilvl0\cf0 {\listtext \'a5 }Using Sparkle for automatic updating. (Thanks Andy Matuschak!)\ +\ls63\ilvl0\cf0 {\listtext \'a5 }Using Sparkle for automatic updating. (Thanks Andy Matuschak!)\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls62\ilvl0\cf0 {\listtext \'a5 }Display the number of pages in the title bar.\ +\ls64\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 -\ls63\ilvl0\cf0 {\listtext \'a5 }Skim can now automatically backup a skim notes file whenever it saves a PDF file.\ +\ls65\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 -\ls64\ilvl0\cf0 {\listtext \'a5 }You can now resize the current note using the arrow keys, when you hold down the Control key.\ +\ls66\ilvl0\cf0 {\listtext \'a5 }You can now resize the current note using the arrow keys, when you hold down the Control key.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls65\ilvl0\cf0 {\listtext \'a5 }Notes are now ordered according to page and location in page.\ +\ls67\ilvl0\cf0 {\listtext \'a5 }Notes are now ordered according to page and location in page.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls66\ilvl0\cf0 {\listtext \'a5 }Several improvements of Skim's custom tool-tips.\ +\ls68\ilvl0\cf0 {\listtext \'a5 }Several improvements of Skim's custom tool-tips.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls67\ilvl0\cf0 {\listtext \'a5 }Add a menu item to select the search field.\ +\ls69\ilvl0\cf0 {\listtext \'a5 }Add a menu item to select the search field.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls68\ilvl0\cf0 {\listtext \'a5 }You can now add arrows to a PDF document.\ +\ls70\ilvl0\cf0 {\listtext \'a5 }You can now add arrows to a PDF document.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls69\ilvl0\cf0 {\listtext \'a5 }You can now add notes from external .skim files rather than just overwriting them.\ +\ls71\ilvl0\cf0 {\listtext \'a5 }You can now add notes from external .skim files rather than just overwriting them.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls70\ilvl0\cf0 {\listtext \'a5 }PDFSync support. See the Wiki for more information.\ +\ls72\ilvl0\cf0 {\listtext \'a5 }PDFSync support. See the Wiki for more information.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls71\ilvl0\cf0 {\listtext \'a5 }You can now set transparent colors from the color panel. \ +\ls73\ilvl0\cf0 {\listtext \'a5 }You can now set transparent colors from the color panel. \ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls72\ilvl0\cf0 {\listtext \'a5 }You can now set separate PDF view settings for full screen mode. \ +\ls74\ilvl0\cf0 {\listtext \'a5 }You can now set separate PDF view settings for full screen mode. \ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls73\ilvl0\cf0 {\listtext \'a5 }Add a Look Up in Dictionary item to the contextual menu.\ +\ls75\ilvl0\cf0 {\listtext \'a5 }Add a Look Up in Dictionary item to the contextual menu.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls74\ilvl0\cf0 {\listtext \'a5 }You can now undo edits of notes and highlights.\ +\ls76\ilvl0\cf0 {\listtext \'a5 }You can now undo edits of notes and highlights.\ {\listtext \'a5 }Add a hidden preference (SKActivateFullScreenNavigationAtBottom) to show the navigation buttons in full screen mode only when moving the mouse at the bottom of the screen. \ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls75\ilvl0\cf0 {\listtext \'a5 }Add hidden preferences for the line widths of circles and boxes (SKCircleNoteLineWidth and SKSquareNoteLineWidth).\ +\ls77\ilvl0\cf0 {\listtext \'a5 }Add hidden preferences for the line widths of circles and boxes (SKCircleNoteLineWidth and SKSquareNoteLineWidth).\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls76\ilvl0\cf0 {\listtext \'a5 }New tool modes for ading notes or highlights.\ +\ls78\ilvl0\cf0 {\listtext \'a5 }New tool modes for ading notes or highlights.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\fs26 \cf0 Bugs Fixed\ +\f4\i\fs26 \cf0 Bugs Fixed\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls77\ilvl0 +\ls79\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 -\ls78\ilvl0\cf0 {\listtext \'a5 }We now make sure new notes are added to a visible page.\ +\ls80\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 -\ls79\ilvl0\cf0 {\listtext \'a5 }Disable the TOC menu item when there is no TOC.\ +\ls81\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 -\ls80\ilvl0\cf0 {\listtext \'a5 }Return to the location that was viewed when reloading a document.\ +\ls82\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 -\ls81\ilvl0\cf0 {\listtext \'a5 }Search text in a PDf file asynchronously, so it does not block Skim.\ +\ls83\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 -\ls82\ilvl0\cf0 {\listtext \'a5 }Fix crashes that can appear for links with missing URLs.\ +\ls84\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 -\ls83\ilvl0\cf0 {\listtext \'a5 }Add separators in the Notes menu for categories.\ +\ls85\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 -\ls84\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting a PDF-document.\ +\ls86\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 -\ls85\ilvl0\cf0 {\listtext \'a5 }Fix typos in the Help and update for new features.\ +\ls87\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 -\ls86\ilvl0\cf0 {\listtext \'a5 }Fix a crasher when reverting the document. Unfortunately this disabled tool tips.\ +\ls88\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 -\ls87\ilvl0\cf0 {\listtext \'a5 }Open the contents pane to display the search term when opening from Spotlight.\ +\ls89\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 -\ls88\ilvl0\cf0 {\listtext \'a5 }Save notes when auto-saving and exporting as PDF.\ +\ls90\ilvl0\cf0 {\listtext \'a5 }Save notes when auto-saving and exporting as PDF.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls89\ilvl0\cf0 {\listtext \'a5 }Remember the width of notes pane.\ +\ls91\ilvl0\cf0 {\listtext \'a5 }Remember the width of notes pane.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls90\ilvl0\cf0 {\listtext \'a5 }Fix leaks leading to excessive memory use.\ +\ls92\ilvl0\cf0 {\listtext \'a5 }Fix leaks leading to excessive memory use.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls91\ilvl0\cf0 {\listtext \'a5 }Fix back-tabbing through notes and links.\ +\ls93\ilvl0\cf0 {\listtext \'a5 }Fix back-tabbing through notes and links.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls92\ilvl0\cf0 {\listtext \'a5 }Zooming using the scroll-wheel now only affects the current window.\ +\ls94\ilvl0\cf0 {\listtext \'a5 }Zooming using the scroll-wheel now only affects the current window.\ \pard\tx220\tx720\tx1440\tx2880\tx4320\tx5760\tx7200\li720\fi-720\ql\qnatural -\ls93\ilvl0\cf0 {\listtext \'a5 }Lazy updating of page thumbnails to avoid slowdown when opening a file.\ +\ls95\ilvl0\cf0 {\listtext \'a5 }Lazy updating of page thumbnails to avoid slowdown when opening a file.\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 \ +\f3\b\fs28 \cf0 \ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural \f0\b0\fs48 \cf0 Colofon -\f2\b\fs28 \ +\f3\b\fs28 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural @@ -442,7 +487,7 @@ \fs22 \cf0 \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f2\b\fs28 \cf0 About Skim\ +\f3\b\fs28 \cf0 About Skim\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\b0\fs22 \cf0 \ @@ -450,7 +495,7 @@ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\b\fs26 \cf0 Web Site\ +\f4\i\b\fs26 \cf0 Web Site\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\i0\b0\fs22 \cf0 \ @@ -458,7 +503,7 @@ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\b\fs26 \cf0 Getting Help\ +\f4\i\b\fs26 \cf0 Getting Help\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \f1\i0\b0\fs22 \cf0 \ @@ -466,11 +511,11 @@ \ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural -\f3\i\b\fs26 \cf0 Reporting Bugs\ +\f4\i\b\fs26 \cf0 Reporting Bugs\ \pard\tx1440\tx2880\tx4320\tx5760\tx7200\ql\qnatural \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. -\f4\b Note: +\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-07-23 12:00:31
|
Revision: 2547 http://skim-app.svn.sourceforge.net/skim-app/?rev=2547&view=rev Author: hofman Date: 2007-07-23 05:00:30 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Sort note contents case insensitive and numerically, in case someone wants to label notes with some description including numbers. Modified Paths: -------------- trunk/SKNotesDocument.m Modified: trunk/SKNotesDocument.m =================================================================== --- trunk/SKNotesDocument.m 2007-07-23 11:58:56 UTC (rev 2546) +++ trunk/SKNotesDocument.m 2007-07-23 12:00:30 UTC (rev 2547) @@ -253,9 +253,9 @@ NSSortDescriptor *boundsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"bounds" ascending:ascending selector:@selector(boundsCompare:)] autorelease]; NSMutableArray *sds = [NSMutableArray arrayWithObjects:pageIndexSortDescriptor, boundsSortDescriptor, nil]; if ([tcID isEqualToString:@"type"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"note"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"page"]) { if (oldTableColumn == nil) ascending = NO; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 11:59:09
|
Revision: 2546 http://skim-app.svn.sourceforge.net/skim-app/?rev=2546&view=rev Author: hofman Date: 2007-07-23 04:58:56 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Sort note contents case insensitive and numerically, in case someone wants to label notes with some description including numbers. Modified Paths: -------------- trunk/SKNotesDocument.m Modified: trunk/SKNotesDocument.m =================================================================== --- trunk/SKNotesDocument.m 2007-07-23 11:58:31 UTC (rev 2545) +++ trunk/SKNotesDocument.m 2007-07-23 11:58:56 UTC (rev 2546) @@ -68,7 +68,7 @@ [aController setShouldCloseDocument:YES]; NSSortDescriptor *indexSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"pageIndex" ascending:YES] autorelease]; - NSSortDescriptor *contentsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES] autorelease]; + NSSortDescriptor *contentsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease]; [arrayController setSortDescriptors:[NSArray arrayWithObjects:indexSortDescriptor, contentsSortDescriptor, nil]]; [outlineView reloadData]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 11:58:33
|
Revision: 2545 http://skim-app.svn.sourceforge.net/skim-app/?rev=2545&view=rev Author: hofman Date: 2007-07-23 04:58:31 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Sort note contents case insensitive and numerically, in case someone wants to label notes with some description including numbers. Modified Paths: -------------- trunk/NSArray_SKExtensions.m trunk/SKMainWindowController.m Modified: trunk/NSArray_SKExtensions.m =================================================================== --- trunk/NSArray_SKExtensions.m 2007-07-23 11:34:12 UTC (rev 2544) +++ trunk/NSArray_SKExtensions.m 2007-07-23 11:58:31 UTC (rev 2545) @@ -59,7 +59,7 @@ } - (NSArray *)arraySortedByContents { - return [self sortedArrayUsingDescriptors:[NSArray arrayWithObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease]]]; + return [self sortedArrayUsingDescriptors:[NSArray arrayWithObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease]]]; } - (NSArray *)arraySortedByTypeAndContents { Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-23 11:34:12 UTC (rev 2544) +++ trunk/SKMainWindowController.m 2007-07-23 11:58:31 UTC (rev 2545) @@ -3150,9 +3150,9 @@ NSSortDescriptor *boundsSortDescriptor = [[[NSSortDescriptor alloc] initWithKey:@"bounds" ascending:ascending selector:@selector(boundsCompare:)] autorelease]; NSMutableArray *sds = [NSMutableArray arrayWithObjects:pageIndexSortDescriptor, boundsSortDescriptor, nil]; if ([tcID isEqualToString:@"type"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"noteType" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"note"]) { - [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveCompare:)] autorelease] atIndex:0]; + [sds insertObject:[[[NSSortDescriptor alloc] initWithKey:@"contents" ascending:YES selector:@selector(caseInsensitiveNumericCompare:)] autorelease] atIndex:0]; } else if ([tcID isEqualToString:@"page"]) { if (oldTableColumn == nil) ascending = NO; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 11:34:14
|
Revision: 2544 http://skim-app.svn.sourceforge.net/skim-app/?rev=2544&view=rev Author: hofman Date: 2007-07-23 04:34:12 -0700 (Mon, 23 Jul 2007) Log Message: ----------- Move transition settings to the transition controller. Change some method names and split code for better readability. Modified Paths: -------------- trunk/SKPDFView.h trunk/SKPDFView.m trunk/SKTransitionController.h trunk/SKTransitionController.m Modified: trunk/SKPDFView.h =================================================================== --- trunk/SKPDFView.h 2007-07-23 00:23:53 UTC (rev 2543) +++ trunk/SKPDFView.h 2007-07-23 11:34:12 UTC (rev 2544) @@ -91,10 +91,6 @@ SKTransitionController *transitionController; - SKAnimationTransitionStyle transitionStyle; - float transitionDuration; - BOOL transitionShouldRestrict; - PDFAnnotation *activeAnnotation; PDFAnnotation *highlightAnnotation; PDFAnnotationTextWidget *editAnnotation; Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-07-23 00:23:53 UTC (rev 2543) +++ trunk/SKPDFView.m 2007-07-23 11:34:12 UTC (rev 2544) @@ -151,9 +151,6 @@ annotationMode = [[NSUserDefaults standardUserDefaults] integerForKey:SKLastAnnotationModeKey]; transitionController = nil; - transitionStyle = SKNoTransition; - transitionDuration = 1.0; - transitionShouldRestrict = YES; spellingTag = [NSSpellChecker uniqueSpellDocumentTag]; @@ -533,28 +530,34 @@ } } +- (SKTransitionController * )transitionController { + if (transitionController == nil) + transitionController = [[SKTransitionController alloc] initWithView:self]; + return transitionController; +} + - (SKAnimationTransitionStyle)transitionStyle { - return transitionStyle; + return [[self transitionController] transitionStyle]; } - (void)setTransitionStyle:(SKAnimationTransitionStyle)style { - transitionStyle = style; + [[self transitionController] setTransitionStyle:style]; } - (float)transitionDuration { - return transitionDuration; + return [[self transitionController] duration]; } - (void)setTransitionDuration:(float)duration { - transitionDuration = duration; + [[self transitionController] setDuration:duration]; } - (BOOL)transitionShouldRestrict { - return transitionShouldRestrict; + return [[self transitionController] shouldRestrict]; } - (void)setTransitionShouldRestrict:(BOOL)flag { - transitionShouldRestrict = flag; + [[self transitionController] setShouldRestrict:flag]; } #pragma mark Reading bar @@ -587,27 +590,25 @@ #pragma mark Actions - (void)animateTransitionForNextPage:(BOOL)next { - if (transitionController == nil) - transitionController = [[SKTransitionController alloc] initWithView:self]; NSRect rect = [self convertRect:[[self currentPage] boundsForBox:[self displayBox]] fromPage:[self currentPage]]; - [transitionController prepareForAnimationWithTransitionStyle:[self transitionStyle] fromRect:rect shouldRestrict:transitionShouldRestrict]; + [[self transitionController] prepareAnimationForRect:rect]; if (next) [super goToNextPage:self]; else [super goToPreviousPage:self]; rect = [self convertRect:[[self currentPage] boundsForBox:[self displayBox]] fromPage:[self currentPage]]; - [transitionController animateWithTransitionStyle:[self transitionStyle] direction:next ? CGSLeft : CGSRight duration:[self transitionDuration] fromRect:rect shouldRestrict:transitionShouldRestrict]; + [[self transitionController] animateForRect:rect forward:next]; } - (void)goToNextPage:(id)sender { - if (hasNavigation && autohidesCursor && [self transitionStyle] != SKNoTransition && [self canGoToNextPage]) + if (hasNavigation && autohidesCursor && transitionController && [self transitionStyle] != SKNoTransition && [self canGoToNextPage]) [self animateTransitionForNextPage:YES]; else [super goToNextPage:sender]; } - (void)goToPreviousPage:(id)sender { - if (hasNavigation && autohidesCursor && [self transitionStyle] != SKNoTransition && [self canGoToPreviousPage]) + if (hasNavigation && autohidesCursor && transitionController && [self transitionStyle] != SKNoTransition && [self canGoToPreviousPage]) [self animateTransitionForNextPage:NO]; else [super goToPreviousPage:sender]; Modified: trunk/SKTransitionController.h =================================================================== --- trunk/SKTransitionController.h 2007-07-23 00:23:53 UTC (rev 2543) +++ trunk/SKTransitionController.h 2007-07-23 11:34:12 UTC (rev 2544) @@ -120,6 +120,10 @@ NSView *view; CIImage *initialImage; NSRect imageRect; + + SKAnimationTransitionStyle transitionStyle; + float duration; + BOOL shouldRestrict; } + (NSArray *)transitionFilterNames; @@ -129,7 +133,16 @@ - (NSView *)view; - (void)setView:(NSView *)newView; -- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict; -- (void)animateWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle direction:(CGSTransitionOption)direction duration:(float)duration fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict; +- (SKAnimationTransitionStyle)transitionStyle; +- (void)setTransitionStyle:(SKAnimationTransitionStyle)style; +- (float)duration; +- (void)setDuration:(float)newDuration; + +- (BOOL)shouldRestrict; +- (void)setShouldRestrict:(BOOL)flag; + +- (void)prepareAnimationForRect:(NSRect)rect; +- (void)animateForRect:(NSRect)rect forward:(BOOL)forward; + @end Modified: trunk/SKTransitionController.m =================================================================== --- trunk/SKTransitionController.m 2007-07-23 00:23:53 UTC (rev 2543) +++ trunk/SKTransitionController.m 2007-07-23 11:34:12 UTC (rev 2544) @@ -82,6 +82,11 @@ #pragma mark - +@interface SKTransitionWindow : NSWindow +@end + +#pragma mark - + @implementation SKTransitionController + (NSArray *)transitionFilterNames { @@ -99,6 +104,9 @@ - (id)initWithView:(NSView *)aView { if (self = [super init]) { view = aView; + transitionStyle = SKNoTransition; + duration = 1.0; + shouldRestrict = YES; } return self; } @@ -117,6 +125,30 @@ view = newView; } +- (SKAnimationTransitionStyle)transitionStyle { + return transitionStyle; +} + +- (void)setTransitionStyle:(SKAnimationTransitionStyle)style { + transitionStyle = style; +} + +- (float)duration { + return duration; +} + +- (void)setDuration:(float)newDuration { + duration = newDuration; +} + +- (BOOL)shouldRestrict { + return shouldRestrict; +} + +- (void)setShouldRestrict:(BOOL)flag { + shouldRestrict = flag; +} + - (CIFilter *)filterWithName:(NSString *)name { static NSMutableDictionary *filters = nil; if (filters == nil) @@ -164,10 +196,12 @@ return [translationFilter valueForKey:@"outputImage"]; } -- (CIFilter *)transitionFilter:(SKAnimationTransitionStyle)transitionStyle forRect:(NSRect)rect inBounds:(NSRect)bounds shouldRestrict:(BOOL)shouldRestrict initialCIImage:(CIImage *)initialCIImage finalCIImage:(CIImage *)finalCIImage { +- (CIFilter *)transitionFilterForRect:(NSRect)rect initialCIImage:(CIImage *)initialCIImage finalCIImage:(CIImage *)finalCIImage { NSString *filterName = [[[self class] transitionFilterNames] objectAtIndex:transitionStyle - SKCoreImageTransition]; CIFilter *transitionFilter = [self filterWithName:filterName]; + NSRect bounds = [view bounds]; + NSEnumerator *keyEnum = [[transitionFilter inputKeys] objectEnumerator]; NSString *key; @@ -224,7 +258,7 @@ - (NSWindow *)transitionWindow { if (transitionWindow == nil) { - transitionWindow = [[NSWindow alloc] initWithContentRect:NSZeroRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; + transitionWindow = [[SKTransitionWindow alloc] initWithContentRect:NSZeroRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; [transitionWindow setReleasedWhenClosed:NO]; [transitionWindow setIgnoresMouseEvents:YES]; @@ -241,9 +275,9 @@ return transitionView; } -- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict { +- (void)prepareAnimationForRect:(NSRect)rect { if (transitionStyle == SKNoTransition) { - + // Do nothing } else if (transitionStyle < SKCoreImageTransition) { if (CoreGraphicsServicesTransitionsDefined()) { if (shouldRestrict) { @@ -263,9 +297,9 @@ imageRect = rect; } -- (void)animateWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle direction:(CGSTransitionOption)direction duration:(float)duration fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict { +- (void)animateForRect:(NSRect)rect forward:(BOOL)forward { if (transitionStyle == SKNoTransition) { - + // Do nothing } else if (transitionStyle < SKCoreImageTransition) { if (CoreGraphicsServicesTransitionsDefined()) { @@ -273,7 +307,7 @@ if (shouldRestrict) { if (initialImage == nil) - [self prepareForAnimationWithTransitionStyle:transitionStyle fromRect:rect shouldRestrict:shouldRestrict]; + [self prepareAnimationForRect:rect]; NSRect bounds = [view bounds]; imageRect = NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect, rect), bounds)); @@ -302,7 +336,7 @@ // specify our specifications spec.unknown1 = 0; spec.type = transitionStyle; - spec.option = direction; + spec.option = forward ? CGSLeft : CGSRight; spec.backColour = NULL; spec.wid = [(shouldRestrict ? [self transitionWindow] : [view window]) windowNumber]; @@ -339,22 +373,21 @@ } else { if (initialImage == nil) - [self prepareForAnimationWithTransitionStyle:transitionStyle fromRect:rect shouldRestrict:shouldRestrict]; + [self prepareAnimationForRect:rect]; NSRect bounds = [view bounds]; imageRect = NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect, rect), bounds)); CIImage *finalImage = [self createCurrentImage]; - CIFilter *transitionFilter = [self transitionFilter:transitionStyle forRect:imageRect inBounds:[view bounds] shouldRestrict:shouldRestrict initialCIImage:initialImage finalCIImage:finalImage]; + CIFilter *transitionFilter = [self transitionFilterForRect:imageRect initialCIImage:initialImage finalCIImage:finalImage]; [finalImage release]; [initialImage release]; initialImage = nil; - NSWindow *window = [view window]; NSRect frame = [view convertRect:[view frame] toView:nil]; - frame.origin = [window convertBaseToScreen:frame.origin]; + frame.origin = [[view window] convertBaseToScreen:frame.origin]; SKTransitionAnimation *animation = [[SKTransitionAnimation alloc] initWithFilter:transitionFilter duration:duration animationCurve:NSAnimationEaseInOut]; [[self transitionView] setAnimation:animation]; @@ -362,17 +395,17 @@ [[self transitionWindow] setFrame:frame display:NO]; [[self transitionWindow] orderBack:nil]; - [window addChildWindow:transitionWindow ordered:NSWindowAbove]; + [[view window] addChildWindow:transitionWindow ordered:NSWindowAbove]; [animation startAnimation]; // Update the view and its window, so it shows the correct state when it is shown. [view display]; // Remember we disabled flushing in the previous method, we need to balance that. - [window enableFlushWindow]; - [window flushWindow]; + [[view window] enableFlushWindow]; + [[view window] flushWindow]; - [window removeChildWindow:transitionWindow]; + [[view window] removeChildWindow:transitionWindow]; [[self transitionWindow] orderOut:nil]; [[self transitionView] setAnimation:nil]; @@ -445,8 +478,8 @@ long parm = 1; [[self openGLContext] setValues:&parm forParameter:NSOpenGLCPSwapInterval]; - // Make sure that everything we don't need is disabled. Some of these - //are enabled by default and can slow down rendering. + // Make sure that everything we don't need is disabled. + // Some of these are enabled by default and can slow down rendering. glDisable(GL_ALPHA_TEST); glDisable(GL_DEPTH_TEST); @@ -492,29 +525,44 @@ return image ? image : [animation currentImage]; } -- (void)drawRect:(NSRect)rect { +- (CIContext *)ciContext { + if (context == nil) { + [[self openGLContext] makeCurrentContext]; + + NSOpenGLPixelFormat *pf = [self pixelFormat]; + if (pf == nil) + pf = [[self class] defaultPixelFormat]; + + context = [[CIContext contextWithCGLContext:CGLGetCurrentContext() pixelFormat:[pf CGLPixelFormatObj] options:nil] retain]; + } + return context; +} + +- (void)updateMatrices { NSRect bounds = [self bounds]; - [[self openGLContext] makeCurrentContext]; + [[self openGLContext] update]; - if (needsReshape) { - // reset the views coordinate system when the view has been resized or scrolled - - glViewport (0, 0, NSWidth(bounds), NSHeight(bounds)); + glViewport(0, 0, NSWidth(bounds), NSHeight(bounds)); - glMatrixMode(GL_PROJECTION); - glLoadIdentity(); - glOrtho(NSMinX(bounds), NSMaxX(bounds), NSMinY(bounds), NSMaxY(bounds), -1, 1); + glMatrixMode(GL_PROJECTION); + glLoadIdentity(); + glOrtho(NSMinX(bounds), NSMaxX(bounds), NSMinY(bounds), NSMaxY(bounds), -1, 1); - glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - - [[self openGLContext] update]; - - needsReshape = NO; - } + glMatrixMode(GL_MODELVIEW); + glLoadIdentity(); - glColor4f(0.0f, 0.0f, 0.0f, 1.0f); + needsReshape = NO; +} + +- (void)drawRect:(NSRect)rect { + + [[self openGLContext] makeCurrentContext]; + + if (needsReshape) + [self updateMatrices]; + + glColor4f(0.0f, 0.0f, 0.0f, 0.0f); glBegin(GL_POLYGON); glVertex2f(NSMinX(rect), NSMinY(rect)); glVertex2f(NSMaxX(rect), NSMinY(rect)); @@ -523,21 +571,18 @@ glEnd(); CIImage *currentImage = [self currentImage]; - if (currentImage) { - - if (context == nil) { - NSOpenGLPixelFormat *pf = [self pixelFormat]; - if (pf == nil) - pf = [[self class] defaultPixelFormat]; - context = [[CIContext contextWithCGLContext:CGLGetCurrentContext() pixelFormat:[pf CGLPixelFormatObj] options:nil] retain]; - } - - [context drawImage:currentImage inRect:*(CGRect*)&bounds fromRect:*(CGRect*)&bounds]; - + NSRect bounds = [self bounds]; + [[self ciContext] drawImage:currentImage inRect:*(CGRect*)&bounds fromRect:*(CGRect*)&bounds]; } glFlush(); } @end + + +@implementation SKTransitionWindow +- (BOOL)canBecomeMainWindow { return NO; } +- (BOOL)canBecomeKeyWindow { return NO; } +@end This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-23 00:23:54
|
Revision: 2543 http://skim-app.svn.sourceforge.net/skim-app/?rev=2543&view=rev Author: hofman Date: 2007-07-22 17:23:53 -0700 (Sun, 22 Jul 2007) Log Message: ----------- We don't show the progress sheet when cropping to the selection, so don't end it. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-22 12:58:37 UTC (rev 2542) +++ trunk/SKMainWindowController.m 2007-07-23 00:23:53 UTC (rev 2543) @@ -1413,7 +1413,9 @@ - (IBAction)cropAll:(id)sender { NSRect rect[2] = {NSIntegralRect([pdfView currentSelectionRect]), NSZeroRect}; NSArray *rectArray; - if (NSIsEmptyRect(rect[0])) { + BOOL emptySelection = NSIsEmptyRect(rect[0]); + + if (emptySelection) { if (progressSheet == nil) { if ([NSBundle loadNibNamed:@"ProgressSheet" owner:self]) { [progressBar setUsesThreadedAnimation:YES]; @@ -1459,8 +1461,10 @@ [self cropPagesToRects:rectArray]; [pdfView setCurrentSelectionRect:NSZeroRect]; - [NSApp endSheet:progressSheet]; - [progressSheet orderOut:self]; + if (emptySelection) { + [NSApp endSheet:progressSheet]; + [progressSheet orderOut:self]; + } } - (IBAction)autoCropAll:(id)sender { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-22 12:58:39
|
Revision: 2542 http://skim-app.svn.sourceforge.net/skim-app/?rev=2542&view=rev Author: hofman Date: 2007-07-22 05:58:37 -0700 (Sun, 22 Jul 2007) Log Message: ----------- Add Speech menu to Edit menu. The connected actions are already implemented in PDFView. Modified Paths: -------------- trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib trunk/English.lproj/MainMenu.nib/keyedobjects.nib trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib Modified: trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainMenu.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-07-22 12:19:22
|
Revision: 2540 http://skim-app.svn.sourceforge.net/skim-app/?rev=2540&view=rev Author: hofman Date: 2007-07-22 05:05:03 -0700 (Sun, 22 Jul 2007) Log Message: ----------- Add a menu item to show the PDF at the real physical size, taking into account the physical screen resolution. Modified Paths: -------------- trunk/Dutch.lproj/MainMenu.nib/classes.nib trunk/Dutch.lproj/MainMenu.nib/info.nib trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib trunk/English.lproj/MainMenu.nib/classes.nib trunk/English.lproj/MainMenu.nib/keyedobjects.nib trunk/Italian.lproj/MainMenu.nib/classes.nib trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib trunk/SKMainWindowController.m Modified: trunk/Dutch.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-07-20 20:40:54 UTC (rev 2539) +++ trunk/Dutch.lproj/MainMenu.nib/classes.nib 2007-07-22 12:05:03 UTC (rev 2540) @@ -28,6 +28,7 @@ doZoomOut = id; doZoomToActualSize = id; doZoomToFit = id; + doZoomToPhysicalSize = id; doZoomToSelection = id; editBookmarks = id; editNote = id; Modified: trunk/Dutch.lproj/MainMenu.nib/info.nib =================================================================== --- trunk/Dutch.lproj/MainMenu.nib/info.nib 2007-07-20 20:40:54 UTC (rev 2539) +++ trunk/Dutch.lproj/MainMenu.nib/info.nib 2007-07-22 12:05:03 UTC (rev 2540) @@ -7,14 +7,10 @@ <key>IBEditorPositions</key> <dict> <key>29</key> - <string>140 614 635 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>8R218</string> </dict> Modified: trunk/Dutch.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/English.lproj/MainMenu.nib/classes.nib 2007-07-20 20:40:54 UTC (rev 2539) +++ trunk/English.lproj/MainMenu.nib/classes.nib 2007-07-22 12:05:03 UTC (rev 2540) @@ -28,6 +28,7 @@ doZoomOut = id; doZoomToActualSize = id; doZoomToFit = id; + doZoomToPhysicalSize = id; doZoomToSelection = id; editBookmarks = id; editNote = id; Modified: trunk/English.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainMenu.nib/classes.nib =================================================================== --- trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-07-20 20:40:54 UTC (rev 2539) +++ trunk/Italian.lproj/MainMenu.nib/classes.nib 2007-07-22 12:05:03 UTC (rev 2540) @@ -28,6 +28,7 @@ doZoomOut = id; doZoomToActualSize = id; doZoomToFit = id; + doZoomToPhysicalSize = id; doZoomToSelection = id; editBookmarks = id; editNote = id; Modified: trunk/Italian.lproj/MainMenu.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-20 20:40:54 UTC (rev 2539) +++ trunk/SKMainWindowController.m 2007-07-22 12:05:03 UTC (rev 2540) @@ -1242,6 +1242,18 @@ [pdfView zoomOut:sender]; } +- (IBAction)doZoomToPhysicalSize:(id)sender { + float scaleFactor = 1.0; + NSScreen *screen = [[self window] screen]; + CGDirectDisplayID displayID = [[[screen deviceDescription] objectForKey:@"NSScreenNumber"] pointerValue]; + CGSize physicalSize = CGDisplayScreenSize(displayID); + NSSize resolution = [[[screen deviceDescription] objectForKey:NSDeviceResolution] sizeValue]; + + if (CGSizeEqualToSize(physicalSize, CGSizeZero) == NO) + scaleFactor = CGDisplayPixelsWide(displayID) * 25.4f / (physicalSize.width * resolution.width); + [pdfView setScaleFactor:scaleFactor]; +} + - (IBAction)doZoomToActualSize:(id)sender { [pdfView setScaleFactor:1.0]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-22 12:15:06
|
Revision: 2541 http://skim-app.svn.sourceforge.net/skim-app/?rev=2541&view=rev Author: hofman Date: 2007-07-22 05:15:02 -0700 (Sun, 22 Jul 2007) Log Message: ----------- Validate Physical Size menu item. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-22 12:05:03 UTC (rev 2540) +++ trunk/SKMainWindowController.m 2007-07-22 12:15:02 UTC (rev 2541) @@ -4241,6 +4241,8 @@ return [self isPresentation] == NO && [pdfView canZoomOut]; } else if (action == @selector(doZoomToActualSize:)) { return fabs([pdfView scaleFactor] - 1.0 ) > 0.01; + } else if (action == @selector(doZoomToPhysicalSize:)) { + return [self isPresentation] == NO; } else if (action == @selector(doZoomToSelection:)) { return [self isPresentation] == NO && NSIsEmptyRect([pdfView currentSelectionRect]) == NO; } else if (action == @selector(doZoomToFit:)) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-20 20:41:00
|
Revision: 2539 http://skim-app.svn.sourceforge.net/skim-app/?rev=2539&view=rev Author: hofman Date: 2007-07-20 13:40:54 -0700 (Fri, 20 Jul 2007) Log Message: ----------- Allow restricting CoreGraphics transitions to the page extent. Animate the transitionWindow with OGL view instead of the PDFView's window in that case. Restrict to the page by default, as the full transition is typically less efficient and can be too flashy. Modified Paths: -------------- trunk/SKPDFView.m trunk/SKTransitionController.h trunk/SKTransitionController.m Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-07-19 23:25:01 UTC (rev 2538) +++ trunk/SKPDFView.m 2007-07-20 20:40:54 UTC (rev 2539) @@ -153,7 +153,7 @@ transitionController = nil; transitionStyle = SKNoTransition; transitionDuration = 1.0; - transitionShouldRestrict = NO; + transitionShouldRestrict = YES; spellingTag = [NSSpellChecker uniqueSpellDocumentTag]; @@ -590,7 +590,7 @@ if (transitionController == nil) transitionController = [[SKTransitionController alloc] initWithView:self]; NSRect rect = [self convertRect:[[self currentPage] boundsForBox:[self displayBox]] fromPage:[self currentPage]]; - [transitionController prepareForAnimationWithTransitionStyle:[self transitionStyle] fromRect:rect]; + [transitionController prepareForAnimationWithTransitionStyle:[self transitionStyle] fromRect:rect shouldRestrict:transitionShouldRestrict]; if (next) [super goToNextPage:self]; else Modified: trunk/SKTransitionController.h =================================================================== --- trunk/SKTransitionController.h 2007-07-19 23:25:01 UTC (rev 2538) +++ trunk/SKTransitionController.h 2007-07-20 20:40:54 UTC (rev 2539) @@ -129,7 +129,7 @@ - (NSView *)view; - (void)setView:(NSView *)newView; -- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect; +- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict; - (void)animateWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle direction:(CGSTransitionOption)direction duration:(float)duration fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict; @end Modified: trunk/SKTransitionController.m =================================================================== --- trunk/SKTransitionController.m 2007-07-19 23:25:01 UTC (rev 2538) +++ trunk/SKTransitionController.m 2007-07-20 20:40:54 UTC (rev 2539) @@ -69,11 +69,15 @@ @interface SKTransitionView : NSOpenGLView { SKTransitionAnimation *animation; + CIImage *image; CIContext *context; BOOL needsReshape; } - (SKTransitionAnimation *)animation; - (void)setAnimation:(SKTransitionAnimation *)newAnimation; +- (CIImage *)image; +- (void)setImage:(CIImage *)newImage; +- (CIImage *)currentImage; @end #pragma mark - @@ -144,6 +148,22 @@ return inputMaskImage; } +- (CIImage *)cropImage:(CIImage *)image toRect:(NSRect)rect { + CIFilter *cropFilter = [self filterWithName:@"CICrop"]; + [cropFilter setValue:[CIVector vectorWithX:NSMinX(rect) Y:NSMinY(rect) Z:NSWidth(rect) W:NSHeight(rect)] forKey:@"inputRectangle"]; + [cropFilter setValue:image forKey:@"inputImage"]; + return [cropFilter valueForKey:@"outputImage"]; +} + +- (CIImage *)translateImage:(CIImage *)image xBy:(float)dx yBy:(float)dy { + CIFilter *translationFilter = [self filterWithName:@"CIAffineTransform"]; + NSAffineTransform *affineTransform = [NSAffineTransform transform]; + [affineTransform translateXBy:dx yBy:dy]; + [translationFilter setValue:affineTransform forKey:@"inputTransform"]; + [translationFilter setValue:image forKey:@"inputImage"]; + return [translationFilter valueForKey:@"outputImage"]; +} + - (CIFilter *)transitionFilter:(SKAnimationTransitionStyle)transitionStyle forRect:(NSRect)rect inBounds:(NSRect)bounds shouldRestrict:(BOOL)shouldRestrict initialCIImage:(CIImage *)initialCIImage finalCIImage:(CIImage *)finalCIImage { NSString *filterName = [[[self class] transitionFilterNames] objectAtIndex:transitionStyle - SKCoreImageTransition]; CIFilter *transitionFilter = [self filterWithName:filterName]; @@ -176,25 +196,16 @@ [maskScalingFilter setValue:[NSNumber numberWithFloat:yScale] forKey:@"inputScale"]; [maskScalingFilter setValue:[NSNumber numberWithFloat:xScale / yScale] forKey:@"inputAspectRatio"]; [maskScalingFilter setValue:[self inputMaskImage] forKey:@"inputImage"]; - CIFilter *maskTranslationFilter = [self filterWithName:@"CIAffineTransform"]; - NSAffineTransform *affineTransform = [NSAffineTransform transform]; - [affineTransform translateXBy:NSMinX(rect) - NSMinX(bounds) yBy:NSMinY(rect) - NSMinY(bounds)]; - [maskTranslationFilter setValue:affineTransform forKey:@"inputTransform"]; - [maskTranslationFilter setValue:[maskScalingFilter valueForKey:@"outputImage"] forKey:@"inputImage"]; - [transitionFilter setValue:[maskTranslationFilter valueForKey:@"outputImage"] forKey:key]; + [transitionFilter setValue:[self translateImage:[maskScalingFilter valueForKey:@"outputImage"] xBy:NSMinX(rect) - NSMinX(bounds) yBy:NSMinY(rect) - NSMinY(bounds)] forKey:key]; } } } } if (NSEqualRects(rect, bounds) == NO) { - CIFilter *cropFilter = [self filterWithName:@"CICrop"]; - [cropFilter setValue:[CIVector vectorWithX:NSMinX(rect) Y:NSMinY(rect) Z:NSWidth(rect) W:NSHeight(rect)] forKey:@"inputRectangle"]; - [cropFilter setValue:initialCIImage forKey:@"inputImage"]; - initialCIImage = [cropFilter valueForKey:@"outputImage"]; - [cropFilter setValue:finalCIImage forKey:@"inputImage"]; - finalCIImage = [cropFilter valueForKey:@"outputImage"]; + initialCIImage = [self cropImage:initialCIImage toRect:rect]; + finalCIImage = [self cropImage:finalCIImage toRect:rect]; } [transitionFilter setValue:initialCIImage forKey:@"inputImage"]; @@ -203,26 +214,53 @@ return transitionFilter; } -- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect { +- (CIImage *)createCurrentImage { + NSRect bounds = [view bounds]; + NSBitmapImageRep *contentBitmap = [view bitmapImageRepForCachingDisplayInRect:bounds]; + [contentBitmap clear]; + [view cacheDisplayInRect:bounds toBitmapImageRep:contentBitmap]; + return [[CIImage alloc] initWithBitmapImageRep:contentBitmap]; +} + +- (NSWindow *)transitionWindow { + if (transitionWindow == nil) { + transitionWindow = [[NSWindow alloc] initWithContentRect:NSZeroRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; + [transitionWindow setReleasedWhenClosed:NO]; + [transitionWindow setIgnoresMouseEvents:YES]; + + transitionView = [[SKTransitionView alloc] init]; + [transitionWindow setContentView:transitionView]; + [transitionView release]; + } + return transitionWindow; +} + +- (SKTransitionView *)transitionView { + if (transitionView == nil) + [self transitionWindow]; + return transitionView; +} + +- (void)prepareForAnimationWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict { if (transitionStyle == SKNoTransition) { } else if (transitionStyle < SKCoreImageTransition) { if (CoreGraphicsServicesTransitionsDefined()) { + if (shouldRestrict) { + [initialImage release]; + initialImage = [self createCurrentImage]; + } // We don't want the window to draw the next state before the animation is run [[view window] disableFlushWindow]; } } else { - NSRect bounds = [view bounds]; [initialImage release]; - NSBitmapImageRep *initialContentBitmap = [view bitmapImageRepForCachingDisplayInRect:bounds]; - [initialContentBitmap clear]; - [view cacheDisplayInRect:bounds toBitmapImageRep:initialContentBitmap]; - initialImage = [[CIImage alloc] initWithBitmapImageRep:initialContentBitmap]; - imageRect = rect; + initialImage = [self createCurrentImage]; // We don't want the window to draw the next state before the animation is run [[view window] disableFlushWindow]; } + imageRect = rect; } - (void)animateWithTransitionStyle:(SKAnimationTransitionStyle)transitionStyle direction:(CGSTransitionOption)direction duration:(float)duration fromRect:(NSRect)rect shouldRestrict:(BOOL)shouldRestrict { @@ -230,16 +268,43 @@ } else if (transitionStyle < SKCoreImageTransition) { if (CoreGraphicsServicesTransitionsDefined()) { + + CIImage *finalImage = nil; + + if (shouldRestrict) { + if (initialImage == nil) + [self prepareForAnimationWithTransitionStyle:transitionStyle fromRect:rect shouldRestrict:shouldRestrict]; + + NSRect bounds = [view bounds]; + imageRect = NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect, rect), bounds)); + + finalImage = [self createCurrentImage]; + + float dx = NSMinX(bounds) - NSMinX(imageRect); + float dy = NSMinY(bounds) - NSMinY(imageRect); + initialImage = [self translateImage:[self cropImage:[initialImage autorelease] toRect:rect] xBy:dx yBy:dy]; + finalImage = [self translateImage:[self cropImage:[finalImage autorelease] toRect:rect] xBy:dx yBy:dy]; + + NSRect frame = [view convertRect:imageRect toView:nil]; + frame.origin = [[view window] convertBaseToScreen:frame.origin]; + + [[self transitionView] setImage:initialImage]; + initialImage = nil; + + [[self transitionWindow] setFrame:frame display:YES]; + [[self transitionWindow] orderBack:nil]; + [[view window] addChildWindow:[self transitionWindow] ordered:NSWindowAbove]; + } + // declare our variables int handle = -1; CGSTransitionSpec spec; - // specify our specifications spec.unknown1 = 0; spec.type = transitionStyle; spec.option = direction; spec.backColour = NULL; - spec.wid = [[view window] windowNumber]; + spec.wid = [(shouldRestrict ? [self transitionWindow] : [view window]) windowNumber]; // Let's get a connection CGSConnection cgs = _CGSDefaultConnection(); @@ -247,6 +312,11 @@ // Create a transition CGSNewTransition(cgs, &spec, &handle); + if (shouldRestrict) { + [[self transitionView] setImage:finalImage]; + [[self transitionView] display]; + } + // Redraw the window [[view window] display]; // Remember we disabled flushing in the previous method, we need to balance that. @@ -259,18 +329,22 @@ CGSReleaseTransition(cgs, handle); handle = 0; + + if (shouldRestrict) { + [[view window] removeChildWindow:[self transitionWindow]]; + [[self transitionWindow] orderOut:nil]; + [[self transitionView] setImage:nil]; + } } } else { if (initialImage == nil) - [self prepareForAnimationWithTransitionStyle:transitionStyle fromRect:rect]; + [self prepareForAnimationWithTransitionStyle:transitionStyle fromRect:rect shouldRestrict:shouldRestrict]; + NSRect bounds = [view bounds]; - imageRect = NSIntersectionRect(NSUnionRect(imageRect, rect), bounds); + imageRect = NSIntegralRect(NSIntersectionRect(NSUnionRect(imageRect, rect), bounds)); - NSBitmapImageRep *finalContentBitmap = [view bitmapImageRepForCachingDisplayInRect:bounds]; - [finalContentBitmap clear]; - [view cacheDisplayInRect:bounds toBitmapImageRep:finalContentBitmap]; - CIImage *finalImage = [[CIImage alloc] initWithBitmapImageRep:finalContentBitmap]; + CIImage *finalImage = [self createCurrentImage]; CIFilter *transitionFilter = [self transitionFilter:transitionStyle forRect:imageRect inBounds:[view bounds] shouldRestrict:shouldRestrict initialCIImage:initialImage finalCIImage:finalImage]; @@ -282,24 +356,12 @@ NSRect frame = [view convertRect:[view frame] toView:nil]; frame.origin = [window convertBaseToScreen:frame.origin]; - if (transitionWindow == nil) { - transitionWindow = [[NSWindow alloc] initWithContentRect:frame styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO screen:[window screen]]; - [transitionWindow setReleasedWhenClosed:NO]; - [transitionWindow setDisplaysWhenScreenProfileChanges:YES]; - [transitionWindow setIgnoresMouseEvents:YES]; - - transitionView = [[SKTransitionView alloc] init]; - [transitionWindow setContentView:transitionView]; - [transitionView release]; - } - SKTransitionAnimation *animation = [[SKTransitionAnimation alloc] initWithFilter:transitionFilter duration:duration animationCurve:NSAnimationEaseInOut]; - - [transitionView setAnimation:animation]; + [[self transitionView] setAnimation:animation]; [animation release]; - [transitionWindow setFrame:frame display:NO]; - [transitionWindow orderBack:nil]; + [[self transitionWindow] setFrame:frame display:NO]; + [[self transitionWindow] orderBack:nil]; [window addChildWindow:transitionWindow ordered:NSWindowAbove]; [animation startAnimation]; @@ -307,12 +369,12 @@ // Update the view and its window, so it shows the correct state when it is shown. [view display]; // Remember we disabled flushing in the previous method, we need to balance that. - [[view window] enableFlushWindow]; - [[view window] flushWindow]; + [window enableFlushWindow]; + [window flushWindow]; [window removeChildWindow:transitionWindow]; - [transitionWindow orderOut:nil]; - [transitionView setAnimation:nil]; + [[self transitionWindow] orderOut:nil]; + [[self transitionView] setAnimation:nil]; } } @@ -414,6 +476,22 @@ } } +- (CIImage *)image { + return image; +} + +- (void)setImage:(CIImage *)newImage { + if (image != newImage) { + [image release]; + image = [newImage retain]; + [self setNeedsDisplay:YES]; + } +} + +- (CIImage *)currentImage { + return image ? image : [animation currentImage]; +} + - (void)drawRect:(NSRect)rect { NSRect bounds = [self bounds]; @@ -430,10 +508,13 @@ glMatrixMode(GL_MODELVIEW); glLoadIdentity(); + + [[self openGLContext] update]; + needsReshape = NO; } - glColor4f(0.0f, 0.0f, 0.0f, 0.0f); + glColor4f(0.0f, 0.0f, 0.0f, 1.0f); glBegin(GL_POLYGON); glVertex2f(NSMinX(rect), NSMinY(rect)); glVertex2f(NSMaxX(rect), NSMinY(rect)); @@ -441,7 +522,9 @@ glVertex2f(NSMinX(rect), NSMaxY(rect)); glEnd(); - if (animation) { + CIImage *currentImage = [self currentImage]; + + if (currentImage) { if (context == nil) { NSOpenGLPixelFormat *pf = [self pixelFormat]; @@ -450,7 +533,7 @@ context = [[CIContext contextWithCGLContext:CGLGetCurrentContext() pixelFormat:[pf CGLPixelFormatObj] options:nil] retain]; } - [context drawImage:[animation currentImage] inRect:*(CGRect*)&bounds fromRect:*(CGRect*)&bounds]; + [context drawImage:currentImage inRect:*(CGRect*)&bounds fromRect:*(CGRect*)&bounds]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 23:25:06
|
Revision: 2538 http://skim-app.svn.sourceforge.net/skim-app/?rev=2538&view=rev Author: hofman Date: 2007-07-19 16:25:01 -0700 (Thu, 19 Jul 2007) Log Message: ----------- Use correct value for scale factor of reopened snapshots. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-19 20:11:41 UTC (rev 2537) +++ trunk/SKMainWindowController.m 2007-07-19 23:25:01 UTC (rev 2538) @@ -361,7 +361,7 @@ NSEnumerator *setupEnum = [[[SKBookmarkController sharedBookmarkController] snapshotsAtPath:[[[self document] fileURL] path]] objectEnumerator]; NSDictionary *setup; if (setup = [setupEnum nextObject]) - [self showSnapshotAtPageNumber:[[setup objectForKey:@"page"] unsignedIntValue] forRect:NSRectFromString([setup objectForKey:@"rect"]) factor:[[setup objectForKey:@"page"] floatValue] display:[[setup objectForKey:@"hasWindow"] boolValue]]; + [self showSnapshotAtPageNumber:[[setup objectForKey:@"page"] unsignedIntValue] forRect:NSRectFromString([setup objectForKey:@"rect"]) factor:[[setup objectForKey:@"scaleFactor"] floatValue] display:[[setup objectForKey:@"hasWindow"] boolValue]]; } // This update toolbar item and other states @@ -770,7 +770,7 @@ NSEnumerator *setupEnum = [snapshotDicts objectEnumerator]; NSDictionary *setup; while (setup = [setupEnum nextObject]) - [self showSnapshotAtPageNumber:[[setup objectForKey:@"page"] unsignedIntValue] forRect:NSRectFromString([setup objectForKey:@"rect"]) factor:[[setup objectForKey:@"page"] floatValue] display:[[setup objectForKey:@"hasWindow"] boolValue]]; + [self showSnapshotAtPageNumber:[[setup objectForKey:@"page"] unsignedIntValue] forRect:NSRectFromString([setup objectForKey:@"rect"]) factor:[[setup objectForKey:@"scaleFactor"] floatValue] display:[[setup objectForKey:@"hasWindow"] boolValue]]; if (pageIndex != NSNotFound && [document pageCount]) { PDFPage *page = [document pageAtIndex:MIN(pageIndex, [document pageCount] - 1)]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 20:11:43
|
Revision: 2537 http://skim-app.svn.sourceforge.net/skim-app/?rev=2537&view=rev Author: hofman Date: 2007-07-19 13:11:41 -0700 (Thu, 19 Jul 2007) Log Message: ----------- Remove a class declaration and rename method to check for CGS transitions. Modified Paths: -------------- trunk/SKTransitionController.h trunk/SKTransitionController.m Modified: trunk/SKTransitionController.h =================================================================== --- trunk/SKTransitionController.h 2007-07-19 18:21:15 UTC (rev 2536) +++ trunk/SKTransitionController.h 2007-07-19 20:11:41 UTC (rev 2537) @@ -92,12 +92,10 @@ #pragma mark Check whether the above functions are actually defined at run time -extern BOOL CoreGraphicsTransitionsDefined(); +extern BOOL CoreGraphicsServicesTransitionsDefined(); #pragma mark SKTransitionController -@class CIFilter, CIImage; - typedef enum _SKAnimationTransitionStyle { SKNoTransition = CGSNone, // Core Graphics transitions @@ -114,7 +112,7 @@ SKCoreImageTransition } SKAnimationTransitionStyle; -@class SKTransitionView; +@class CIImage, SKTransitionView; @interface SKTransitionController : NSObject { NSWindow *transitionWindow; Modified: trunk/SKTransitionController.m =================================================================== --- trunk/SKTransitionController.m 2007-07-19 18:21:15 UTC (rev 2536) +++ trunk/SKTransitionController.m 2007-07-19 20:11:41 UTC (rev 2537) @@ -49,7 +49,7 @@ #import <OpenGL/gl.h> #import "SKFullScreenWindow.h" -BOOL CoreGraphicsTransitionsDefined() { +BOOL CoreGraphicsServicesTransitionsDefined() { return &_CGSDefaultConnection != kUnresolvedCFragSymbolAddress && &CGSNewTransition != kUnresolvedCFragSymbolAddress && &CGSInvokeTransition != kUnresolvedCFragSymbolAddress && @@ -207,7 +207,7 @@ if (transitionStyle == SKNoTransition) { } else if (transitionStyle < SKCoreImageTransition) { - if (CoreGraphicsTransitionsDefined()) { + if (CoreGraphicsServicesTransitionsDefined()) { // We don't want the window to draw the next state before the animation is run [[view window] disableFlushWindow]; } @@ -229,7 +229,7 @@ if (transitionStyle == SKNoTransition) { } else if (transitionStyle < SKCoreImageTransition) { - if (CoreGraphicsTransitionsDefined()) { + if (CoreGraphicsServicesTransitionsDefined()) { // declare our variables int handle = -1; CGSTransitionSpec spec; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 18:21:20
|
Revision: 2536 http://skim-app.svn.sourceforge.net/skim-app/?rev=2536&view=rev Author: hofman Date: 2007-07-19 11:21:15 -0700 (Thu, 19 Jul 2007) Log Message: ----------- Check whether CoreGraphics transition functions are defined at run time before using them. Modified Paths: -------------- trunk/SKTransitionController.h trunk/SKTransitionController.m Modified: trunk/SKTransitionController.h =================================================================== --- trunk/SKTransitionController.h 2007-07-19 16:45:29 UTC (rev 2535) +++ trunk/SKTransitionController.h 2007-07-19 18:21:15 UTC (rev 2536) @@ -90,6 +90,10 @@ extern OSStatus CGSInvokeTransition(const CGSConnection cid, int transitionHandle, float duration); extern OSStatus CGSReleaseTransition(const CGSConnection cid, int transitionHandle); +#pragma mark Check whether the above functions are actually defined at run time + +extern BOOL CoreGraphicsTransitionsDefined(); + #pragma mark SKTransitionController @class CIFilter, CIImage; @@ -108,15 +112,6 @@ SKWarpFlipTransition = CGSFlip, // Core Image transitions SKCoreImageTransition - /* - SKCopyMachineTransition, - SKDisintegrateTransition, - SKDissolveTransition, - SKFlashTransition, - SKModTransition, - SKPageCurlTransition, - SKRippleTransition, - SKSwipeTransition*/ } SKAnimationTransitionStyle; @class SKTransitionView; Modified: trunk/SKTransitionController.m =================================================================== --- trunk/SKTransitionController.m 2007-07-19 16:45:29 UTC (rev 2535) +++ trunk/SKTransitionController.m 2007-07-19 18:21:15 UTC (rev 2536) @@ -49,6 +49,12 @@ #import <OpenGL/gl.h> #import "SKFullScreenWindow.h" +BOOL CoreGraphicsTransitionsDefined() { + return &_CGSDefaultConnection != kUnresolvedCFragSymbolAddress && + &CGSNewTransition != kUnresolvedCFragSymbolAddress && + &CGSInvokeTransition != kUnresolvedCFragSymbolAddress && + &CGSReleaseTransition != kUnresolvedCFragSymbolAddress; +} @interface SKTransitionAnimation : NSAnimation { CIFilter *filter; @@ -201,8 +207,10 @@ if (transitionStyle == SKNoTransition) { } else if (transitionStyle < SKCoreImageTransition) { - // We don't want the window to draw the next state before the animation is run - [[view window] disableFlushWindow]; + if (CoreGraphicsTransitionsDefined()) { + // We don't want the window to draw the next state before the animation is run + [[view window] disableFlushWindow]; + } } else { NSRect bounds = [view bounds]; [initialImage release]; @@ -221,37 +229,37 @@ if (transitionStyle == SKNoTransition) { } else if (transitionStyle < SKCoreImageTransition) { - - // declare our variables - int handle = -1; - CGSTransitionSpec spec; - - // specify our specifications - spec.unknown1 = 0; - spec.type = transitionStyle; - spec.option = direction; - spec.backColour = NULL; - spec.wid = [[view window] windowNumber]; - - // Let's get a connection - CGSConnection cgs = _CGSDefaultConnection(); - - // Create a transition - CGSNewTransition(cgs, &spec, &handle); - - // Redraw the window - [[view window] display]; - // Remember we disabled flushing in the previous method, we need to balance that. - [[view window] enableFlushWindow]; - [[view window] flushWindow]; - - CGSInvokeTransition(cgs, handle, duration); - // We need to wait for the transition to finish before we get rid of it, otherwise we'll get all sorts of nasty errors... or maybe not. - usleep((useconds_t)(duration * 1000000)); - - CGSReleaseTransition(cgs, handle); - handle = 0; - + if (CoreGraphicsTransitionsDefined()) { + // declare our variables + int handle = -1; + CGSTransitionSpec spec; + + // specify our specifications + spec.unknown1 = 0; + spec.type = transitionStyle; + spec.option = direction; + spec.backColour = NULL; + spec.wid = [[view window] windowNumber]; + + // Let's get a connection + CGSConnection cgs = _CGSDefaultConnection(); + + // Create a transition + CGSNewTransition(cgs, &spec, &handle); + + // Redraw the window + [[view window] display]; + // Remember we disabled flushing in the previous method, we need to balance that. + [[view window] enableFlushWindow]; + [[view window] flushWindow]; + + CGSInvokeTransition(cgs, handle, duration); + // We need to wait for the transition to finish before we get rid of it, otherwise we'll get all sorts of nasty errors... or maybe not. + usleep((useconds_t)(duration * 1000000)); + + CGSReleaseTransition(cgs, handle); + handle = 0; + } } else { if (initialImage == nil) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 16:45:30
|
Revision: 2535 http://skim-app.svn.sourceforge.net/skim-app/?rev=2535&view=rev Author: hofman Date: 2007-07-19 09:45:29 -0700 (Thu, 19 Jul 2007) Log Message: ----------- Fix default clipping paragraph style. Modified Paths: -------------- trunk/NSParagraphStyle_SKExtensions.m Modified: trunk/NSParagraphStyle_SKExtensions.m =================================================================== --- trunk/NSParagraphStyle_SKExtensions.m 2007-07-19 16:24:31 UTC (rev 2534) +++ trunk/NSParagraphStyle_SKExtensions.m 2007-07-19 16:45:29 UTC (rev 2535) @@ -45,7 +45,7 @@ static NSParagraphStyle *defaultClippingParagraphStyle = nil; if (defaultClippingParagraphStyle == nil) { NSMutableParagraphStyle *tmpParagraphStyle = [[NSParagraphStyle defaultParagraphStyle] mutableCopy]; - [tmpParagraphStyle setLineBreakMode:NSLineBreakByTruncatingTail]; + [tmpParagraphStyle setLineBreakMode:NSLineBreakByClipping]; defaultClippingParagraphStyle = [tmpParagraphStyle copy]; [tmpParagraphStyle release]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 16:24:33
|
Revision: 2534 http://skim-app.svn.sourceforge.net/skim-app/?rev=2534&view=rev Author: hofman Date: 2007-07-19 09:24:31 -0700 (Thu, 19 Jul 2007) Log Message: ----------- Convenience accessors for default colors. Add some remarks in windowDidLoad. Modified Paths: -------------- trunk/NSUserDefaultsController_SKExtensions.h trunk/NSUserDefaultsController_SKExtensions.m trunk/SKApplicationController.m trunk/SKMainWindowController.h trunk/SKMainWindowController.m trunk/SKPDFAnnotationNote.m trunk/SKPDFView.m Modified: trunk/NSUserDefaultsController_SKExtensions.h =================================================================== --- trunk/NSUserDefaultsController_SKExtensions.h 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/NSUserDefaultsController_SKExtensions.h 2007-07-19 16:24:31 UTC (rev 2534) @@ -49,3 +49,11 @@ - (void)revertToInitialValuesForKeys:(NSArray *)keys; @end + + +@interface NSUserDefaults (SKExtensions) + +- (NSColor *)colorForKey:(NSString *)key; +- (void)setColor:(NSColor *)color forKey:(NSString *)key; + +@end Modified: trunk/NSUserDefaultsController_SKExtensions.m =================================================================== --- trunk/NSUserDefaultsController_SKExtensions.m 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/NSUserDefaultsController_SKExtensions.m 2007-07-19 16:24:31 UTC (rev 2534) @@ -78,3 +78,18 @@ } @end + + +@implementation NSUserDefaults (SKExtensions) + +- (NSColor *)colorForKey:(NSString *)key { + NSData *data = [self dataForKey:key]; + return data ? [NSUnarchiver unarchiveObjectWithData:data] : nil; +} + +- (void)setColor:(NSColor *)color forKey:(NSString *)key { + NSData *data = color ? [NSArchiver archivedDataWithRootObject:color] : nil; + return [self setObject:data forKey:key]; +} + +@end Modified: trunk/SKApplicationController.m =================================================================== --- trunk/SKApplicationController.m 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/SKApplicationController.m 2007-07-19 16:24:31 UTC (rev 2534) @@ -457,59 +457,59 @@ } - (NSColor *)backgroundColor { - return [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKBackgroundColorKey]]; + return [[NSUserDefaults standardUserDefaults] colorForKey:SKBackgroundColorKey]; } - (void)setBackgroundColor:(NSColor *)color { - return [[NSUserDefaults standardUserDefaults] setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKBackgroundColorKey]; + return [[NSUserDefaults standardUserDefaults] setColor:color forKey:SKBackgroundColorKey]; } - (NSColor *)fullScreenBackgroundColor { - return [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKFullScreenBackgroundColorKey]]; + return [[NSUserDefaults standardUserDefaults] colorForKey:SKFullScreenBackgroundColorKey]; } - (void)setFullScreenBackgroundColor:(NSColor *)color { - return [[NSUserDefaults standardUserDefaults] setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKFullScreenBackgroundColorKey]; + return [[NSUserDefaults standardUserDefaults] setColor:color forKey:SKFullScreenBackgroundColorKey]; } - (NSDictionary *)defaultNoteColors { NSUserDefaults *sud = [NSUserDefaults standardUserDefaults]; return [NSDictionary dictionaryWithObjectsAndKeys: - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKFreeTextNoteColorKey]], @"textNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKAnchoredNoteColorKey]], @"anchoredNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKCircleNoteColorKey]], @"circleNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKSquareNoteColorKey]], @"squareNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKHighlightNoteColorKey]], @"highlightNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKUnderlineNoteColorKey]], @"underlineNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKStrikeOutNoteColorKey]], @"strikeOutNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKLineNoteColorKey]], @"lineNote", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKCircleNoteInteriorColorKey]], @"circleNoteInterior", - [NSUnarchiver unarchiveObjectWithData:[sud dataForKey:SKSquareNoteInteriorColorKey]], @"squareNoteInterior", nil]; + [sud colorForKey:SKFreeTextNoteColorKey], @"textNote", + [sud colorForKey:SKAnchoredNoteColorKey], @"anchoredNote", + [sud colorForKey:SKCircleNoteColorKey], @"circleNote", + [sud colorForKey:SKSquareNoteColorKey], @"squareNote", + [sud colorForKey:SKHighlightNoteColorKey], @"highlightNote", + [sud colorForKey:SKUnderlineNoteColorKey], @"underlineNote", + [sud colorForKey:SKStrikeOutNoteColorKey], @"strikeOutNote", + [sud colorForKey:SKLineNoteColorKey], @"lineNote", + [sud colorForKey:SKCircleNoteInteriorColorKey], @"circleNoteInterior", + [sud colorForKey:SKSquareNoteInteriorColorKey], @"squareNoteInterior", nil]; } - (void)setDefaultNoteColors:(NSDictionary *)colorDict { NSUserDefaults *sud = [NSUserDefaults standardUserDefaults]; NSColor *color; if (color = [colorDict objectForKey:@"textNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKFreeTextNoteColorKey]; + [sud setColor:color forKey:SKFreeTextNoteColorKey]; if (color = [colorDict objectForKey:@"anchoredNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKAnchoredNoteColorKey]; + [sud setColor:color forKey:SKAnchoredNoteColorKey]; if (color = [colorDict objectForKey:@"circleNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKCircleNoteColorKey]; + [sud setColor:color forKey:SKCircleNoteColorKey]; if (color = [colorDict objectForKey:@"squareNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKSquareNoteColorKey]; + [sud setColor:color forKey:SKSquareNoteColorKey]; if (color = [colorDict objectForKey:@"highlightNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKHighlightNoteColorKey]; + [sud setColor:color forKey:SKHighlightNoteColorKey]; if (color = [colorDict objectForKey:@"underlineNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKUnderlineNoteColorKey]; + [sud setColor:color forKey:SKUnderlineNoteColorKey]; if (color = [colorDict objectForKey:@"strikeOutNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKStrikeOutNoteColorKey]; + [sud setColor:color forKey:SKStrikeOutNoteColorKey]; if (color = [colorDict objectForKey:@"lineNote"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKLineNoteColorKey]; + [sud setColor:color forKey:SKLineNoteColorKey]; if (color = [colorDict objectForKey:@"circleNoteInterior"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKCircleNoteInteriorColorKey]; + [sud setColor:color forKey:SKCircleNoteInteriorColorKey]; if (color = [colorDict objectForKey:@"squareNoteInterior"]) - [sud setObject:[NSArchiver archivedDataWithRootObject:color] forKey:SKSquareNoteInteriorColorKey]; + [sud setColor:color forKey:SKSquareNoteInteriorColorKey]; } - (unsigned int)countOfLines { Modified: trunk/SKMainWindowController.h =================================================================== --- trunk/SKMainWindowController.h 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/SKMainWindowController.h 2007-07-19 16:24:31 UTC (rev 2534) @@ -48,6 +48,12 @@ SKSnapshotSidePaneState } SKRightSidePaneState; +enum { + SKDefaultWindowOption, + SKMaximizeWindowOption, + SKFitWindowOption +}; + typedef struct _SKPDFViewState { int displayMode; BOOL autoScales; Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/SKMainWindowController.m 2007-07-19 16:24:31 UTC (rev 2534) @@ -230,6 +230,10 @@ } - (void)windowDidLoad{ + NSUserDefaults *sud = [NSUserDefaults standardUserDefaults]; + + // Set up the panes and subviews, needs to be done before we resize them + [leftSideCollapsibleView setCollapseEdges:BDSKMaxXEdgeMask | BDSKMinYEdgeMask]; [leftSideCollapsibleView setMinSize:NSMakeSize(100.0, 42.0)]; @@ -268,8 +272,10 @@ [spinner setUsesThreadedAnimation:YES]; + // Set up the tool bar [self setupToolbar]; + // Set up the window // we retain as we might replace it with the full screen window mainWindow = [[self window] retain]; @@ -277,24 +283,30 @@ [[self window] setBackgroundColor:[NSColor colorWithCalibratedWhite:0.9 alpha:1.0]]; - int windowSizeOption = [[NSUserDefaults standardUserDefaults] integerForKey:SKInitialWindowSizeOptionKey]; - if (windowSizeOption == 1) + int windowSizeOption = [sud integerForKey:SKInitialWindowSizeOptionKey]; + if (windowSizeOption == SKMaximizeWindowOption) [[self window] setFrame:[[NSScreen mainScreen] visibleFrame] display:NO]; - [self applyPDFSettings:[[NSUserDefaults standardUserDefaults] dictionaryForKey:SKDefaultPDFDisplaySettingsKey]]; + if ([sud boolForKey:SKShowStatusBarKey]) + [self toggleStatusBar:nil]; - [pdfView setShouldAntiAlias:[[NSUserDefaults standardUserDefaults] boolForKey:SKShouldAntiAliasKey]]; - [pdfView setGreekingThreshold:[[NSUserDefaults standardUserDefaults] floatForKey:SKGreekingThresholdKey]]; - [pdfView setBackgroundColor:[NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKBackgroundColorKey]]]; + [[self window] makeFirstResponder:[pdfView documentView]]; - if ([[NSUserDefaults standardUserDefaults] objectForKey:SKLeftSidePaneWidthKey]) { - float width = [[NSUserDefaults standardUserDefaults] floatForKey:SKLeftSidePaneWidthKey]; + // Set up the PDF + [self applyPDFSettings:[sud dictionaryForKey:SKDefaultPDFDisplaySettingsKey]]; + + [pdfView setShouldAntiAlias:[sud boolForKey:SKShouldAntiAliasKey]]; + [pdfView setGreekingThreshold:[sud floatForKey:SKGreekingThresholdKey]]; + [pdfView setBackgroundColor:[sud colorForKey:SKBackgroundColorKey]]; + + if ([sud objectForKey:SKLeftSidePaneWidthKey]) { + float width = [sud floatForKey:SKLeftSidePaneWidthKey]; if (width >= 0.0) { frame = [leftSideContentBox frame]; frame.size.width = width; [leftSideContentBox setFrame:frame]; } - width = [[NSUserDefaults standardUserDefaults] floatForKey:SKRightSidePaneWidthKey]; + width = [sud floatForKey:SKRightSidePaneWidthKey]; if (width >= 0.0) { frame = [rightSideContentBox frame]; frame.size.width = width; @@ -307,9 +319,6 @@ [pdfContentBox setFrame:frame]; } - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKShowStatusBarKey]) - [self toggleStatusBar:nil]; - // this needs to be done before loading the PDFDocument [self resetThumbnailSizeIfNeeded]; [self resetSnapshotSizeIfNeeded]; @@ -328,41 +337,41 @@ // this is mainly needed when the pdf auto-scales [pdfView layoutDocumentView]; + // Show/hide left side pane if necessary + if ([sud boolForKey:SKOpenContentsPaneOnlyForTOCKey] && (NSWidth([leftSideContentBox frame]) > 0.0) == (pdfOutline == nil)) + [self toggleLeftSidePane:self]; if (pdfOutline == nil) { - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKOpenContentsPaneOnlyForTOCKey] && - NSWidth([leftSideContentBox frame]) > 0.0) - [self toggleLeftSidePane:self]; [self setLeftSidePaneState:SKThumbnailSidePaneState]; [leftSideButton setEnabled:NO forSegment:SKOutlineSidePaneState]; - } else if ([[NSUserDefaults standardUserDefaults] boolForKey:SKOpenContentsPaneOnlyForTOCKey] && - NSWidth([leftSideContentBox frame]) <= 0.0) { - [self toggleLeftSidePane:self]; } - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKRememberLastPageViewedKey]) { + // Go to page? + if ([sud boolForKey:SKRememberLastPageViewedKey]) { unsigned int pageIndex = [[SKBookmarkController sharedBookmarkController] pageIndexForRecentDocumentAtPath:[[[self document] fileURL] path]]; if (pageIndex != NSNotFound) [pdfView goToPage:[[pdfView document] pageAtIndex:pageIndex]]; } - if (windowSizeOption == 2) + // We can fit only after the PDF has been loaded + if (windowSizeOption == SKFitWindowOption) [self performFit:self]; - [[self window] makeFirstResponder:[pdfView documentView]]; - - if ([[NSUserDefaults standardUserDefaults] boolForKey:SKRememberSnapshotsKey]) { + // Open snapshots? + if ([sud boolForKey:SKRememberSnapshotsKey]) { NSEnumerator *setupEnum = [[[SKBookmarkController sharedBookmarkController] snapshotsAtPath:[[[self document] fileURL] path]] objectEnumerator]; NSDictionary *setup; if (setup = [setupEnum nextObject]) [self showSnapshotAtPageNumber:[[setup objectForKey:@"page"] unsignedIntValue] forRect:NSRectFromString([setup objectForKey:@"rect"]) factor:[[setup objectForKey:@"page"] floatValue] display:[[setup objectForKey:@"hasWindow"] boolValue]]; } + // This update toolbar item and other states [self handleChangedHistoryNotification:nil]; [self handlePageChangedNotification:nil]; [self handleScaleChangedNotification:nil]; [self handleToolModeChangedNotification:nil]; [self handleAnnotationModeChangedNotification:nil]; + // Observe notifications and KVO [self registerForNotifications]; [self registerAsObserver]; } @@ -1946,7 +1955,7 @@ - (void)goFullScreen { NSScreen *screen = [[self window] screen]; // @@ screen: or should we use the main screen? - NSColor *backgroundColor = [self isPresentation] ? [NSColor blackColor] : [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKFullScreenBackgroundColorKey]]; + NSColor *backgroundColor = [self isPresentation] ? [NSColor blackColor] : [[NSUserDefaults standardUserDefaults] colorForKey:SKFullScreenBackgroundColorKey]; if (screen == nil) // @@ screen: can this ever happen? screen = [NSScreen mainScreen]; @@ -2010,7 +2019,7 @@ } - (void)removeFullScreen { - [pdfView setBackgroundColor:[NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKBackgroundColorKey]]]; + [pdfView setBackgroundColor:[[NSUserDefaults standardUserDefaults] colorForKey:SKBackgroundColorKey]]; [pdfView layoutDocumentView]; NSEnumerator *wcEnum = [[[self document] windowControllers] objectEnumerator]; @@ -2113,7 +2122,7 @@ [scrollView setHasVerticalScroller:[[savedNormalSetup objectForKey:@"hasVerticalScroller"] boolValue]]; [scrollView setAutohidesScrollers:[[savedNormalSetup objectForKey:@"autoHidesScrollers"] boolValue]]; - NSColor *backgroundColor = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKFullScreenBackgroundColorKey]]; + NSColor *backgroundColor = [[NSUserDefaults standardUserDefaults] colorForKey:SKFullScreenBackgroundColorKey]; [pdfView setBackgroundColor:backgroundColor]; [fullScreenWindow setBackgroundColor:backgroundColor]; [fullScreenWindow setLevel:NSNormalWindowLevel]; @@ -2310,11 +2319,8 @@ - (void)addAnnotationsForSelection:(PDFSelection *)sel { NSArray *pages = [sel pages]; int i, iMax = [pages count]; - NSColor *color = nil; - NSData *colorData = [[NSUserDefaults standardUserDefaults] dataForKey:SKSearchHighlightColorKey]; + NSColor *color = [[NSUserDefaults standardUserDefaults] colorForKey:SKSearchHighlightColorKey]; - if (colorData != nil) - color = [NSUnarchiver unarchiveObjectWithData:colorData]; if (color == nil) color = [NSColor redColor]; @@ -2931,10 +2937,10 @@ NSString *key = [keyPath substringFromIndex:7]; if ([key isEqualToString:SKBackgroundColorKey]) { if ([self isFullScreen] == NO && [self isPresentation] == NO) - [pdfView setBackgroundColor:[NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKBackgroundColorKey]]]; + [pdfView setBackgroundColor:[[NSUserDefaults standardUserDefaults] colorForKey:SKBackgroundColorKey]]; } else if ([key isEqualToString:SKFullScreenBackgroundColorKey]) { if ([self isFullScreen]) { - NSColor *color = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKFullScreenBackgroundColorKey]]; + NSColor *color = [[NSUserDefaults standardUserDefaults] colorForKey:SKFullScreenBackgroundColorKey]; if (color) { [pdfView setBackgroundColor:color]; [fullScreenWindow setBackgroundColor:color]; Modified: trunk/SKPDFAnnotationNote.m =================================================================== --- trunk/SKPDFAnnotationNote.m 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/SKPDFAnnotationNote.m 2007-07-19 16:24:31 UTC (rev 2534) @@ -42,6 +42,7 @@ #import "PDFSelection_SKExtensions.h" #import "SKPDFView.h" #import "OBUtilities.h" +#import "NSUserDefaultsController_SKExtensions.h" enum { SKASTextNote = 'NTxt', @@ -563,10 +564,10 @@ - (id)initWithBounds:(NSRect)bounds { if (self = [super initWithBounds:bounds]) { [self setShouldPrint:YES]; - NSColor *color = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKCircleNoteInteriorColorKey]]; + NSColor *color = [[NSUserDefaults standardUserDefaults] colorForKey:SKCircleNoteInteriorColorKey]; if ([color alphaComponent] > 0.0) [super setInteriorColor:color]; - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKCircleNoteColorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:SKCircleNoteColorKey]); [[self border] setLineWidth:[[NSUserDefaults standardUserDefaults] floatForKey:SKCircleNoteLineWidthKey]]; [[self border] setDashPattern:[[NSUserDefaults standardUserDefaults] arrayForKey:SKCircleNoteDashPatternKey]]; [[self border] setStyle:[[NSUserDefaults standardUserDefaults] floatForKey:SKCircleNoteLineStyleKey]]; @@ -628,10 +629,10 @@ - (id)initWithBounds:(NSRect)bounds { if (self = [super initWithBounds:bounds]) { [self setShouldPrint:YES]; - NSColor *color = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKSquareNoteInteriorColorKey]]; + NSColor *color = [[NSUserDefaults standardUserDefaults] colorForKey:SKSquareNoteInteriorColorKey]; if ([color alphaComponent] > 0.0) [super setInteriorColor:color]; - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKSquareNoteColorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:SKSquareNoteColorKey]); [[self border] setLineWidth:[[NSUserDefaults standardUserDefaults] floatForKey:SKSquareNoteLineWidthKey]]; [[self border] setDashPattern:[[NSUserDefaults standardUserDefaults] arrayForKey:SKSquareNoteDashPatternKey]]; [[self border] setStyle:[[NSUserDefaults standardUserDefaults] floatForKey:SKSquareNoteLineStyleKey]]; @@ -737,7 +738,7 @@ case kPDFMarkupTypeStrikeOut: colorKey = SKStrikeOutNoteColorKey; break; } if (colorKey) - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:colorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:colorKey]); NSArray *quadPoints = nil; if (pointStrings) { @@ -994,7 +995,7 @@ NSFont *font = [NSFont fontWithName:[[NSUserDefaults standardUserDefaults] stringForKey:SKTextNoteFontNameKey] size:[[NSUserDefaults standardUserDefaults] floatForKey:SKTextNoteFontSizeKey]]; [super setFont:font]; - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKFreeTextNoteColorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:SKFreeTextNoteColorKey]); PDFBorder *border = [[PDFBorder allocWithZone:[self zone]] init]; [border setLineWidth:[[NSUserDefaults standardUserDefaults] floatForKey:SKFreeTextNoteLineWidthKey]]; [border setDashPattern:[[NSUserDefaults standardUserDefaults] arrayForKey:SKFreeTextNoteDashPatternKey]]; @@ -1091,7 +1092,7 @@ - (id)initWithBounds:(NSRect)bounds { if (self = [super initWithBounds:bounds]) { [self setShouldPrint:YES]; - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKAnchoredNoteColorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:SKAnchoredNoteColorKey]); [super setIconType:[[NSUserDefaults standardUserDefaults] integerForKey:SKAnchoredNoteIconTypeKey]]; texts = [[NSArray alloc] initWithObjects:[[[SKNoteText alloc] initWithAnnotation:self] autorelease], nil]; textStorage = [[NSTextStorage allocWithZone:[self zone]] init]; @@ -1277,7 +1278,7 @@ - (id)initWithBounds:(NSRect)bounds { if (self = [super initWithBounds:bounds]) { - originalSetColor(self, @selector(setColor:), [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKLineNoteColorKey]]); + originalSetColor(self, @selector(setColor:), [[NSUserDefaults standardUserDefaults] colorForKey:SKLineNoteColorKey]); [super setStartLineStyle:[[NSUserDefaults standardUserDefaults] integerForKey:SKLineNoteStartLineStyleKey]]; [super setEndLineStyle:[[NSUserDefaults standardUserDefaults] integerForKey:SKLineNoteEndLineStyleKey]]; [super setStartPoint:NSMakePoint(0.0, 0.0)]; Modified: trunk/SKPDFView.m =================================================================== --- trunk/SKPDFView.m 2007-07-19 13:33:06 UTC (rev 2533) +++ trunk/SKPDFView.m 2007-07-19 16:24:31 UTC (rev 2534) @@ -350,7 +350,7 @@ NSRect rect = [readingBar currentBoundsForBox:[self displayBox]]; BOOL invert = [[NSUserDefaults standardUserDefaults] boolForKey:SKReadingBarInvertKey]; - NSColor *nsColor = [NSUnarchiver unarchiveObjectWithData:[[NSUserDefaults standardUserDefaults] dataForKey:SKReadingBarColorKey]]; + NSColor *nsColor = [[NSUserDefaults standardUserDefaults] colorForKey:SKReadingBarColorKey]; float color[4] = { [nsColor redComponent], [nsColor greenComponent], [nsColor blueComponent], [nsColor alphaComponent] }; CGContextSetFillColor(context, color); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ho...@us...> - 2007-07-19 13:33:35
|
Revision: 2533 http://skim-app.svn.sourceforge.net/skim-app/?rev=2533&view=rev Author: hofman Date: 2007-07-19 06:33:06 -0700 (Thu, 19 Jul 2007) Log Message: ----------- No need to retain the left/rightSideView as they are now top-level objects in the nib and therefore implicitly retained by the nib's owner. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-19 13:22:31 UTC (rev 2532) +++ trunk/SKMainWindowController.m 2007-07-19 13:33:06 UTC (rev 2533) @@ -256,14 +256,10 @@ [[rightSideButton cell] setToolTip:NSLocalizedString(@"View Notes", @"Tool tip message") forSegment:SKNoteSidePaneState]; [[rightSideButton cell] setToolTip:NSLocalizedString(@"View Snapshots", @"Tool tip message") forSegment:SKSnapshotSidePaneState]; - [leftSideContentView retain]; [leftSideContentView setFrame:[leftSideContentBox bounds]]; [leftSideContentBox addSubview:leftSideContentView]; - [leftSideContentView release]; - [rightSideContentView retain]; [rightSideContentView setFrame:[rightSideContentBox bounds]]; [rightSideContentBox addSubview:rightSideContentView]; - [rightSideContentView release]; [pdfView setFrame:[[pdfContentBox contentView] bounds]]; @@ -1899,10 +1895,8 @@ if ([[leftSideWindow firstResponder] isDescendantOf:leftSideContentView]) [leftSideWindow makeFirstResponder:nil]; - [leftSideContentView retain]; // leftSideContentView is removed from its old superview in the process [leftSideContentView setFrame:[leftSideContentBox bounds]]; [leftSideContentBox addSubview:leftSideContentView]; - [leftSideContentView release]; [leftSideEdgeView setEdges:BDSKMinXEdgeMask | BDSKMaxXEdgeMask]; [findEdgeView setEdges:BDSKMinXEdgeMask | BDSKMaxXEdgeMask]; @@ -1922,10 +1916,8 @@ if ([[rightSideWindow firstResponder] isDescendantOf:rightSideContentView]) [rightSideWindow makeFirstResponder:nil]; - [rightSideContentView retain]; // rightSideContentView is removed from its old superview in the process [rightSideContentView setFrame:[rightSideContentBox bounds]]; [rightSideContentBox addSubview:rightSideContentView]; - [rightSideContentView release]; [rightSideEdgeView setEdges:BDSKMinXEdgeMask | BDSKMaxXEdgeMask]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |