├── Sparkle.framework ├── Versions │ ├── Current │ └── A │ │ ├── Sparkle │ │ ├── Resources │ │ ├── relaunch │ │ ├── fr_CA.lproj │ │ ├── de.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── en.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── es.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── fr.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── it.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── nl.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── ru.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── sv.lproj │ │ │ ├── Sparkle.strings │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ │ └── SUUpdatePermissionPrompt.nib │ │ │ │ ├── keyedobjects.nib │ │ │ │ ├── info.nib │ │ │ │ └── classes.nib │ │ ├── SUStatus.nib │ │ │ ├── keyedobjects.nib │ │ │ ├── info.nib │ │ │ └── classes.nib │ │ ├── Info.plist │ │ └── License.txt │ │ └── Headers │ │ ├── Sparkle.h │ │ ├── SUAppcast.h │ │ ├── SUVersionComparisonProtocol.h │ │ └── SUAppcastItem.h ├── Headers ├── Resources └── Sparkle ├── .gitignore ├── Fraise.xcodeproj └── .gitignore ├── Fraise-Manual.pdf ├── InfoPlist.strings ├── Other ├── ODBEditorSuite.h ├── FRADataModel2.xcdatamodel │ ├── elements │ └── layout └── FRADataModel3.xcdatamodel │ ├── elements │ └── layout ├── Graphics ├── FRAMainIcon.icns ├── FRADefaultIcon.png ├── FRACommandsIcon.icns ├── FRADocumentIcon.icns ├── FRAProjectIcon.icns ├── FRASnippetsIcon.icns ├── FRADefaultUnsavedIcon.png ├── Tab Bar │ ├── FRATabBarClose.pdf │ ├── FRATabBarOverflow.pdf │ ├── FRATabBarClosePressed.pdf │ ├── FRATabBarCloseRollover.pdf │ └── FRATabBarOverflowPressed.pdf ├── Toolbar Icons │ ├── FRANewIcon.pdf │ ├── FRARunIcon.pdf │ ├── FRACloseIcon.pdf │ ├── FRAInfoIcon.pdf │ ├── FRAOpenIcon.pdf │ ├── FRASaveIcon.pdf │ ├── FRAFunctionIcon.pdf │ ├── FRAPreviewIcon.pdf │ ├── FRAAdvancedFindIcon.pdf │ └── FRANewCollectionIcon.pdf └── Preferences Icons │ ├── FRAOpenSaveIcon.pdf │ └── FRAAppearanceIcon.pdf ├── sv.lproj ├── Localizable.strings └── Localizable3.strings ├── French.lproj ├── Localizable.strings └── Localizable3.strings ├── German.lproj ├── Localizable.strings └── Localizable3.strings ├── English.lproj ├── Localizable.strings └── Localizable3.strings ├── Italian.lproj ├── Localizable.strings └── Localizable3.strings ├── Japanese.lproj ├── Localizable.strings └── Localizable3.strings ├── Russian.lproj ├── Localizable.strings └── Localizable3.strings ├── Spanish.lproj ├── Localizable.strings └── Localizable3.strings ├── Classes ├── main.m ├── FRATableView.h ├── FRAProjectWindow.h ├── FRASearchField.h ├── FRAAdvancedFindPanel.h ├── FRAFontTransformer.h ├── FRAGutterTextView.h ├── FRASingleDocumentPanel.h ├── FRACommandManagedObject.h ├── FRASnippetManagedObject.h ├── FRADocumentManagedObject.h ├── FRAEncodingManagedObject.h ├── FRASplitView.h ├── FRACommandCollectionManagedObject.h ├── FRAPrintTextView.h ├── FRASnippetCollectionManagedObject.h ├── FRASyntaxDefinitionManagedObject.h ├── FRAGradientBackgroundView.h ├── FRAServicesController.h ├── FRAApplicationMenuController.h ├── FRAProject+TableViewDelegate.h ├── FRAHelpMenuController.h ├── FRAFullScreenWindow.h ├── FRASingleDocumentWindowDelegate.h ├── NSString+Fraise.h ├── FRAApplication.h ├── FRASingleDocumentPanel.m ├── FRADocumentsListCell.h ├── NSImage+Fraise.h ├── FRAApplicationMenuController.m ├── FRADocumentsMenuController.h ├── FRAPrintViewController.h ├── FRADummyView.h ├── FRAEditMenuController.h ├── FRAPreviewController.h ├── FRADragAndDropController.h ├── FRAMainController.h ├── FRAAuthenticationController.h ├── FRAProject+DocumentViewsController.h ├── FRALayoutManager.h ├── FRAProjectWindow.m ├── FRAFontTransformer.m ├── FRAAdvancedFindPanel.m ├── NSToolbarItem+Fraise.h ├── FRATextView.h ├── FRAShortcutsController.h ├── FRAProjectsController.h ├── FRAProject+ToolbarController.h ├── FRACommandCollectionManagedObject.m ├── FRASnippetCollectionManagedObject.m ├── FRATextPerformer.h ├── FRAFileMenuController.h ├── FRABasicPerformer.h ├── FRAGradientBackgroundView.m ├── FRAViewMenuController.h ├── FRACommandManagedObject.m ├── FRASearchField.m ├── FRASnippetManagedObject.m ├── FRAOpenSavePerformer.h ├── FRAApplicationDelegate.h ├── FRALineNumbers.h ├── FRAEncodingManagedObject.m ├── FRASplitView.m ├── FRAInfoController.h ├── FRASnippetsController.h ├── FRATextMenuController.h ├── FRASyntaxDefinitionManagedObject.m └── FRAToolsMenuController.h ├── PSMTabBar ├── PSMOverflowPopUpButton.h ├── PSMUnifiedTabStyle.h ├── PSMRolloverButton.h ├── PSMTabStyle.h └── PSMRolloverButton.m ├── dsa_pub.pem ├── Syntax Definitions ├── none.plist ├── standard.plist ├── sgml.plist ├── latex.plist ├── xml.plist ├── plist.plist ├── pdf.plist ├── shell.plist ├── torquescript.plist └── supercollider.plist ├── Command Line Utility ├── fraise.1 └── fraise_main.m ├── ICU ├── LICENSE.txt └── icu │ └── LICENSE.html └── README /Sparkle.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | build/ 3 | 4 | -------------------------------------------------------------------------------- /Sparkle.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Sparkle.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Sparkle.framework/Sparkle: -------------------------------------------------------------------------------- 1 | Versions/Current/Sparkle -------------------------------------------------------------------------------- /Fraise.xcodeproj/.gitignore: -------------------------------------------------------------------------------- 1 | *.pbxuser 2 | *.mode1v3 3 | -------------------------------------------------------------------------------- /Fraise-Manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Fraise-Manual.pdf -------------------------------------------------------------------------------- /InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/InfoPlist.strings -------------------------------------------------------------------------------- /Other/ODBEditorSuite.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Other/ODBEditorSuite.h -------------------------------------------------------------------------------- /Graphics/FRAMainIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRAMainIcon.icns -------------------------------------------------------------------------------- /Graphics/FRADefaultIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRADefaultIcon.png -------------------------------------------------------------------------------- /Graphics/FRACommandsIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRACommandsIcon.icns -------------------------------------------------------------------------------- /Graphics/FRADocumentIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRADocumentIcon.icns -------------------------------------------------------------------------------- /Graphics/FRAProjectIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRAProjectIcon.icns -------------------------------------------------------------------------------- /Graphics/FRASnippetsIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRASnippetsIcon.icns -------------------------------------------------------------------------------- /sv.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/sv.lproj/Localizable.strings -------------------------------------------------------------------------------- /sv.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/sv.lproj/Localizable3.strings -------------------------------------------------------------------------------- /French.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/French.lproj/Localizable.strings -------------------------------------------------------------------------------- /German.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/German.lproj/Localizable.strings -------------------------------------------------------------------------------- /English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /English.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/English.lproj/Localizable3.strings -------------------------------------------------------------------------------- /French.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/French.lproj/Localizable3.strings -------------------------------------------------------------------------------- /German.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/German.lproj/Localizable3.strings -------------------------------------------------------------------------------- /Graphics/FRADefaultUnsavedIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/FRADefaultUnsavedIcon.png -------------------------------------------------------------------------------- /Graphics/Tab Bar/FRATabBarClose.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Tab Bar/FRATabBarClose.pdf -------------------------------------------------------------------------------- /Italian.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Italian.lproj/Localizable.strings -------------------------------------------------------------------------------- /Italian.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Italian.lproj/Localizable3.strings -------------------------------------------------------------------------------- /Japanese.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Japanese.lproj/Localizable.strings -------------------------------------------------------------------------------- /Japanese.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Japanese.lproj/Localizable3.strings -------------------------------------------------------------------------------- /Russian.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Russian.lproj/Localizable.strings -------------------------------------------------------------------------------- /Russian.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Russian.lproj/Localizable3.strings -------------------------------------------------------------------------------- /Spanish.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Spanish.lproj/Localizable.strings -------------------------------------------------------------------------------- /Spanish.lproj/Localizable3.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Spanish.lproj/Localizable3.strings -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRANewIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRANewIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRARunIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRARunIcon.pdf -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Sparkle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Sparkle -------------------------------------------------------------------------------- /Graphics/Tab Bar/FRATabBarOverflow.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Tab Bar/FRATabBarOverflow.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRACloseIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRACloseIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRAInfoIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRAInfoIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRAOpenIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRAOpenIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRASaveIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRASaveIcon.pdf -------------------------------------------------------------------------------- /Other/FRADataModel2.xcdatamodel/elements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Other/FRADataModel2.xcdatamodel/elements -------------------------------------------------------------------------------- /Other/FRADataModel2.xcdatamodel/layout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Other/FRADataModel2.xcdatamodel/layout -------------------------------------------------------------------------------- /Other/FRADataModel3.xcdatamodel/elements: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Other/FRADataModel3.xcdatamodel/elements -------------------------------------------------------------------------------- /Other/FRADataModel3.xcdatamodel/layout: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Other/FRADataModel3.xcdatamodel/layout -------------------------------------------------------------------------------- /Graphics/Tab Bar/FRATabBarClosePressed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Tab Bar/FRATabBarClosePressed.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRAFunctionIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRAFunctionIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRAPreviewIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRAPreviewIcon.pdf -------------------------------------------------------------------------------- /Graphics/Tab Bar/FRATabBarCloseRollover.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Tab Bar/FRATabBarCloseRollover.pdf -------------------------------------------------------------------------------- /Graphics/Tab Bar/FRATabBarOverflowPressed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Tab Bar/FRATabBarOverflowPressed.pdf -------------------------------------------------------------------------------- /Graphics/Preferences Icons/FRAOpenSaveIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Preferences Icons/FRAOpenSaveIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRAAdvancedFindIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRAAdvancedFindIcon.pdf -------------------------------------------------------------------------------- /Graphics/Toolbar Icons/FRANewCollectionIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Toolbar Icons/FRANewCollectionIcon.pdf -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/relaunch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/relaunch -------------------------------------------------------------------------------- /Graphics/Preferences Icons/FRAAppearanceIcon.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Graphics/Preferences Icons/FRAAppearanceIcon.pdf -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr_CA.lproj: -------------------------------------------------------------------------------- 1 | /Users/andym/Development/Build Products/Release (GC dual-mode; 10.5-only)/Sparkle.framework/Resources/fr.lproj -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jfmoy/Fraise/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Classes/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // Fraise 4 | // 5 | // Created by Peter Borg on 2007-02-02. 6 | // 7 | 8 | #import 9 | 10 | int main(int argc, char *argv[]) 11 | { 12 | return NSApplicationMain(argc, (const char **) argv); 13 | } 14 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9E17 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9E17 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9D34 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9E17 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9E17 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /PSMTabBar/PSMOverflowPopUpButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // PSMOverflowPopUpButton.h 3 | // PSMTabBarControl 4 | // 5 | // Created by John Pannell on 11/4/05. 6 | // Copyright 2005 Positive Spin Media. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface PSMOverflowPopUpButton : NSPopUpButton { 13 | NSImage *_PSMTabBarOverflowPopUpImage; 14 | NSImage *_PSMTabBarOverflowDownPopUpImage; 15 | BOOL _down; 16 | } 17 | 18 | // archiving 19 | - (void)encodeWithCoder:(NSCoder *)aCoder; 20 | - (id)initWithCoder:(NSCoder *)aDecoder; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | 6 12 | 13 | IBSystem Version 14 | 9D34 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Headers/Sparkle.h: -------------------------------------------------------------------------------- 1 | // 2 | // Sparkle.h 3 | // Sparkle 4 | // 5 | // Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07) 6 | // Copyright 2006 Andy Matuschak. All rights reserved. 7 | // 8 | 9 | #ifndef SPARKLE_H 10 | #define SPARKLE_H 11 | 12 | // This list should include the shared headers. It doesn't matter if some of them aren't shared (unless 13 | // there are name-space collisions) so we can list all of them to start with: 14 | 15 | #import 16 | 17 | #import 18 | #import 19 | #import 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | IBSystem Version 14 | 9E17 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 10A96 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9E17 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 69 14 356 240 0 0 1280 778 7 | IBFramework Version 8 | 489.0 9 | IBLastKnownRelativeProjectPath 10 | ../Sparkle.xcodeproj 11 | IBOldestOS 12 | 5 13 | IBSystem Version 14 | 9D34 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 18 14 | 15 | IBSystem Version 16 | 10A96 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /PSMTabBar/PSMUnifiedTabStyle.h: -------------------------------------------------------------------------------- 1 | // 2 | // PSMUnifiedTabStyle.h 3 | // -------------------- 4 | // 5 | // Created by Keith Blount on 30/04/2006. 6 | // Copyright 2006 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "PSMTabStyle.h" 11 | 12 | @interface PSMUnifiedTabStyle : NSObject 13 | { 14 | NSImage *unifiedCloseButton; 15 | NSImage *unifiedCloseButtonDown; 16 | NSImage *unifiedCloseButtonOver; 17 | NSImage *_addTabButtonImage; 18 | NSImage *_addTabButtonPressedImage; 19 | NSImage *_addTabButtonRolloverImage; 20 | 21 | CGFloat leftMargin; 22 | } 23 | - (void)setLeftMarginForTabBarControl:(CGFloat)margin; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 658 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9C7010 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 5 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9E17 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 10A96 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 667 7 | IBLastKnownRelativeProjectPath 8 | ../../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 9D34 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 10A96 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | ../Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 41 15 | 16 | IBSystem Version 17 | 10A96 18 | targetFramework 19 | IBCocoaFramework 20 | 21 | 22 | -------------------------------------------------------------------------------- /PSMTabBar/PSMRolloverButton.h: -------------------------------------------------------------------------------- 1 | // 2 | // PSMOverflowPopUpButton.h 3 | // NetScrape 4 | // 5 | // Created by John Pannell on 8/4/04. 6 | // Copyright 2004 Positive Spin Media. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface PSMRolloverButton : NSButton 12 | { 13 | NSImage *_rolloverImage; 14 | NSImage *_usualImage; 15 | NSTrackingRectTag _myTrackingRectTag; 16 | } 17 | 18 | // the regular image 19 | - (void)setUsualImage:(NSImage *)newImage; 20 | - (NSImage *)usualImage; 21 | 22 | // the rollover image 23 | - (void)setRolloverImage:(NSImage *)newImage; 24 | - (NSImage *)rolloverImage; 25 | 26 | // tracking rect for mouse events 27 | - (void)addTrackingRect; 28 | - (void)removeTrackingRect; 29 | @end -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Headers/SUAppcast.h: -------------------------------------------------------------------------------- 1 | // 2 | // SUAppcast.h 3 | // Sparkle 4 | // 5 | // Created by Andy Matuschak on 3/12/06. 6 | // Copyright 2006 Andy Matuschak. All rights reserved. 7 | // 8 | 9 | #ifndef SUAPPCAST_H 10 | #define SUAPPCAST_H 11 | 12 | @class SUAppcastItem; 13 | @interface SUAppcast : NSObject { 14 | NSArray *items; 15 | NSString *userAgentString; 16 | id delegate; 17 | NSMutableData *incrementalData; 18 | } 19 | 20 | - (void)fetchAppcastFromURL:(NSURL *)url; 21 | - (void)setDelegate:delegate; 22 | - (void)setUserAgentString:(NSString *)userAgentString; 23 | 24 | - (NSArray *)items; 25 | 26 | @end 27 | 28 | @interface NSObject (SUAppcastDelegate) 29 | - (void)appcastDidFinishLoading:(SUAppcast *)appcast; 30 | - (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error; 31 | @end 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | Sparkle 9 | CFBundleIdentifier 10 | org.andymatuschak.Sparkle 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | Sparkle 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.5 Beta 6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 313 23 | 24 | 25 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // SUVersionComparisonProtocol.h 3 | // Sparkle 4 | // 5 | // Created by Andy Matuschak on 12/21/07. 6 | // Copyright 2007 Andy Matuschak. All rights reserved. 7 | // 8 | 9 | #ifndef SUVERSIONCOMPARISONPROTOCOL_H 10 | #define SUVERSIONCOMPARISONPROTOCOL_H 11 | 12 | /*! 13 | @protocol 14 | @abstract Implement this protocol to provide version comparison facilities for Sparkle. 15 | */ 16 | @protocol SUVersionComparison 17 | 18 | /*! 19 | @method 20 | @abstract An abstract method to compare two version strings. 21 | @discussion Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent. 22 | */ 23 | - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; 24 | 25 | @end 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /Classes/FRATableView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRATableView : NSTableView { 18 | 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Classes/FRAProjectWindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAProjectWindow : NSWindow { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRASearchField.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASearchField : NSSearchField { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAAdvancedFindPanel.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAAdvancedFindPanel : NSPanel { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAFontTransformer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAFontTransformer : NSObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAGutterTextView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAGutterTextView : NSTextView { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRASingleDocumentPanel.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASingleDocumentPanel : NSPanel { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRACommandManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRACommandManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRASnippetManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASnippetManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRADocumentManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRADocumentManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAEncodingManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAEncodingManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRASplitView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASplitView : NSSplitView { 19 | 20 | NSGradient *dividerGradient; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Classes/FRACommandCollectionManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRACommandCollectionManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAPrintTextView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAPrintTextView : NSTextView { 19 | 20 | 21 | } 22 | 23 | - (void)setupView; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /Classes/FRASnippetCollectionManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASnippetCollectionManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRASyntaxDefinitionManagedObject.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASyntaxDefinitionManagedObject : NSManagedObject { 19 | 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAGradientBackgroundView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAGradientBackgroundView : NSView { 18 | 19 | NSGradient *gradient; 20 | CGFloat scaleFactor; 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Classes/FRAServicesController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAServicesController : NSObject { 19 | 20 | } 21 | 22 | + (FRAServicesController *)sharedInstance; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Classes/FRAApplicationMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAApplicationMenuController : NSObject 18 | { 19 | 20 | } 21 | 22 | - (IBAction)showPreferencesWindowAction:(id)sender; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Classes/FRAProject+TableViewDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | #import "FRAProject.h" 17 | 18 | @interface FRAProject (TableViewDelegate) 19 | 20 | 21 | - (void)performInsertFirstDocument:(id)document; 22 | @end 23 | -------------------------------------------------------------------------------- /Classes/FRAHelpMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAHelpMenuController : NSObject 18 | { 19 | } 20 | 21 | - (IBAction)installCommandLineUtilityAction:(id)sender; 22 | 23 | - (IBAction)fraiseHelp:(id)sender; 24 | @end 25 | -------------------------------------------------------------------------------- /Classes/FRAFullScreenWindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAFullScreenWindow : NSWindow { 19 | NSTimer *fullScreenTimer; 20 | 21 | } 22 | 23 | - (void)enterFullScreen; 24 | - (void)returnFromFullScreen; 25 | 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Classes/FRASingleDocumentWindowDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRASingleDocumentWindowDelegate : NSObject { 19 | 20 | } 21 | 22 | + (FRASingleDocumentWindowDelegate *)sharedInstance; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Classes/NSString+Fraise.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface NSString (NSStringFraise) 19 | 20 | + (NSString *)dateStringForDate:(NSCalendarDate *)date formatIndex:(NSInteger)index; 21 | 22 | - (NSArray *)divideCommandIntoArray; 23 | 24 | 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /Classes/FRAApplication.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAApplication : NSApplication { 19 | unichar key; 20 | NSInteger keyCode; 21 | NSUInteger flags; 22 | NSWindow *eventWindow; 23 | id textViewClass; 24 | NSString *character; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Classes/FRASingleDocumentPanel.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASingleDocumentPanel.h" 18 | 19 | @implementation FRASingleDocumentPanel 20 | 21 | // A dummy class to be able to recognize a frontmost single document window in -[FRAProjectsController currentFRADocument] 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Classes/FRADocumentsListCell.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRADocumentsListCell : NSTextFieldCell { 18 | 19 | NSImage *image; 20 | 21 | CGFloat heightAndWidth; 22 | } 23 | 24 | @property (copy) NSImage *image; 25 | 26 | @property (assign, readwrite) CGFloat heightAndWidth; 27 | 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/License.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006 Andy Matuschak 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Classes/NSImage+Fraise.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface NSImage (NSImageFraise) 19 | 20 | + (NSArray *)iconsForPath:(NSString *)path; 21 | 22 | + (NSArray *)quickLookIconForPath:(NSString *)path; 23 | 24 | + (CIImage *)unsavedFilterForCIImage:(CIImage *)ciImage; 25 | 26 | //+ (NSBitmapImageRep *)unsavedIconBitmapRep:(NSBitmapImageRep *)bitmapImageRep; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /Classes/FRAApplicationMenuController.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAApplicationMenuController.h" 18 | #import "FRAPreferencesController.h" 19 | 20 | @implementation FRAApplicationMenuController 21 | 22 | 23 | - (IBAction)showPreferencesWindowAction:(id)sender 24 | { 25 | [[FRAPreferencesController sharedInstance] showPreferencesWindow]; 26 | } 27 | 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Classes/FRADocumentsMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRADocumentsMenuController : NSObject 18 | { 19 | IBOutlet NSMenu *documentsMenu; 20 | } 21 | 22 | + (FRADocumentsMenuController *)sharedInstance; 23 | 24 | - (IBAction)nextDocumentAction:(id)sender; 25 | - (IBAction)previousDocumentAction:(id)sender; 26 | 27 | - (void)buildDocumentsMenu; 28 | @end 29 | -------------------------------------------------------------------------------- /Classes/FRAPrintViewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAPrintViewController : NSViewController 19 | { 20 | IBOutlet NSView *printAccessoryView; 21 | 22 | BOOL dummyValue; 23 | } 24 | 25 | @property BOOL dummyValue; 26 | 27 | - (IBAction)setPrintFontAction:(id)sender; 28 | 29 | - (BOOL)dummyValue; 30 | - (void)setDummyValue:(BOOL)flag; 31 | 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Classes/FRADummyView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRADummyView : NSView { 19 | 20 | NSImage *fraiseImage; 21 | NSMutableDictionary *attributes; 22 | NSMutableDictionary *whiteAttributes; 23 | 24 | NSAttributedString *attributedString; 25 | NSAttributedString *whiteAttributedString; 26 | NSSize attributedStringSize; 27 | NSColor *backgroundColour; 28 | 29 | NSGradient *gradient; 30 | 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | { 4 | CLASS = FirstResponder; 5 | LANGUAGE = ObjC; 6 | SUPERCLASS = NSObject; 7 | }, 8 | { 9 | CLASS = NSApplication; 10 | LANGUAGE = ObjC; 11 | SUPERCLASS = NSResponder; 12 | }, 13 | { 14 | CLASS = NSObject; 15 | LANGUAGE = ObjC; 16 | }, 17 | { 18 | ACTIONS = { 19 | installUpdate = id; 20 | remindMeLater = id; 21 | skipThisVersion = id; 22 | }; 23 | CLASS = SUUpdateAlert; 24 | LANGUAGE = ObjC; 25 | OUTLETS = { 26 | delegate = id; 27 | description = NSTextField; 28 | releaseNotesView = WebView; 29 | }; 30 | SUPERCLASS = SUWindowController; 31 | }, 32 | { 33 | CLASS = SUWindowController; 34 | LANGUAGE = ObjC; 35 | SUPERCLASS = NSWindowController; 36 | } 37 | ); 38 | IBVersion = 1; 39 | } -------------------------------------------------------------------------------- /Classes/FRAEditMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAEditMenuController : NSObject { 19 | 20 | } 21 | 22 | //- (IBAction)selectAction:(id)sender; 23 | - (IBAction)advancedFindReplaceAction:(id)sender; 24 | - (IBAction)liveFindAction:(id)sender; 25 | 26 | //- (IBAction)deleteLineAction:(id)sender; 27 | //- (IBAction)deleteToBeginningOfLineAction:(id)sender; 28 | //- (IBAction)deleteToEndOfLineAction:(id)sender; 29 | 30 | 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /dsa_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIDOjCCAi0GByqGSM44BAEwggIgAoIBAQDJbby3GvMLAHuu2w/ZUjm1yvHKH0W1 3 | Sn4Gt8XyZjvfbSpP38xpieCw71VI/9df1JIiqzFVh37vM0yv4yNPa9bRWC6Bv0e5 4 | vxyxuBNNcaaeDP1N2iL0sw2k+syV4lkqZTtq9qVo3wSHcnb9c45lQceRMzHzwTAu 5 | gEDMGfM009avRTjKbNtuKDgs9qy+YuYBeHjA/dYKBPdbkOMKd1tMZXvGVhLAwGmF 6 | HDUG2kuJPnF/3PkijlhEIJfxpCNYYUhY302brZ1ZV8rRUTPnXFlM3nEbRHEBi7kQ 7 | bBlq9pKT6TC1R+fUaSU64STsVmsZSlO9393zeyA/oZL7FKjSEKljZQCVAhUA4CoK 8 | hcWfQu7nRV0ke9Lqn22KWUkCggEAQzr7nS9DJDefEZ5rHduqL9KIXRdHN1LsTU5o 9 | Nz2JSaW87TRkkxIWtZT0EFMc9Ct5YZH8W7Gd5H6/rXgvG7AIV2Llkh9U9d4h6BSx 10 | hHV3V9XHhZpSepRe4TiVZbFIFVFW4dNqpMhcwIsAN3LSYn4DeT42WJC5B/xjAYsk 11 | qCuAs6ViWTcP8bxW6JzhCbNLZccLjd2zS5nZ54NPrVM71tnvolQr/JkPpomiMY5Z 12 | 1ZYbvwjmSCCwlDF9+AnMXfM8E6BXyyViSVhcKCKeMLtVvjkv6JgBhsXmJumTIjqP 13 | U/Bspj9U336kKb2sXhf7upK14O11vGrwN4MbLZcI98VDbp6cMgOCAQUAAoIBADrZ 14 | NdHwUbi/AqRtHAdiObUFJdSBe31Pln8J5azU1e3N8yJPFg8uA9G47/ndBSFDv0bx 15 | 4SJM7mzaDUE+0lO6uyJ6x2+LDnz6t/+wuQGhh+CiRRjxrwkSo4WKuWD8GB9noo50 16 | pqjur/zBr6YSiWX+M72QtCeksSzJWm5ONFsu+qF/ocqUDrM9C0XmBNOgAhG0uk65 17 | 26SGVrj4CC7ES+SAEJH0Kn9vYvOxIphiluyd33n2xB2IH3OMy/VNM1kb8e/Ws36O 18 | yeUX5FjeXF/zk14iyURVqB5Pg6td7+4MvmK/Lium5NpCkKvKOOTM8aKuj5Mq1ccv 19 | b68pgepljByXissKPGA= 20 | -----END PUBLIC KEY----- 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Headers/SUAppcastItem.h: -------------------------------------------------------------------------------- 1 | // 2 | // SUAppcastItem.h 3 | // Sparkle 4 | // 5 | // Created by Andy Matuschak on 3/12/06. 6 | // Copyright 2006 Andy Matuschak. All rights reserved. 7 | // 8 | 9 | #ifndef SUAPPCASTITEM_H 10 | #define SUAPPCASTITEM_H 11 | 12 | @interface SUAppcastItem : NSObject { 13 | NSString *title; 14 | NSDate *date; 15 | NSString *itemDescription; 16 | 17 | NSURL *releaseNotesURL; 18 | 19 | NSString *DSASignature; 20 | NSString *minimumSystemVersion; 21 | 22 | NSURL *fileURL; 23 | NSString *versionString; 24 | NSString *displayVersionString; 25 | 26 | NSDictionary *propertiesDictionary; 27 | } 28 | 29 | // Initializes with data from a dictionary provided by the RSS class. 30 | - initWithDictionary:(NSDictionary *)dict; 31 | 32 | - (NSString *)title; 33 | - (NSString *)versionString; 34 | - (NSString *)displayVersionString; 35 | - (NSDate *)date; 36 | - (NSString *)itemDescription; 37 | - (NSURL *)releaseNotesURL; 38 | - (NSURL *)fileURL; 39 | - (NSString *)DSASignature; 40 | - (NSString *)minimumSystemVersion; 41 | 42 | // Returns the dictionary provided in initWithDictionary; this might be useful later for extensions. 43 | - (NSDictionary *)propertiesDictionary; 44 | 45 | @end 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /Classes/FRAPreviewController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAPreviewController : NSObject { 18 | 19 | IBOutlet NSWindow *previewWindow; 20 | IBOutlet WebView *webView; 21 | 22 | NSPoint scrollPoint; 23 | } 24 | 25 | @property (readonly) IBOutlet NSWindow *previewWindow; 26 | 27 | 28 | + (FRAPreviewController *)sharedInstance; 29 | 30 | - (void)showPreviewWindow; 31 | 32 | - (void)reload; 33 | 34 | - (IBAction)reloadAction:(id)sender; 35 | 36 | - (void)liveUpdate; 37 | @end 38 | -------------------------------------------------------------------------------- /Classes/FRADragAndDropController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRADragAndDropController : NSObject { 19 | 20 | NSString *movedDocumentType; 21 | NSString *movedSnippetType; 22 | NSString *movedCommandType; 23 | 24 | } 25 | 26 | + (FRADragAndDropController *)sharedInstance; 27 | 28 | - (void)moveObjects:(NSArray *)objects inArrayController:(NSArrayController *)arrayController fromIndexes:(NSIndexSet *)rowIndexes toIndex:(NSInteger)insertIndex; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /Classes/FRAMainController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | 16 | #import 17 | 18 | @interface FRAMainController : NSObject 19 | { 20 | BOOL isInFullScreenMode; 21 | BOOL singleDocumentWindowWasOpenBeforeEnteringFullScreen; 22 | 23 | NSOperationQueue *operationQueue; 24 | } 25 | 26 | @property BOOL isInFullScreenMode; 27 | @property BOOL singleDocumentWindowWasOpenBeforeEnteringFullScreen; 28 | 29 | @property (readonly) NSOperationQueue *operationQueue; 30 | 31 | + (FRAMainController *)sharedInstance; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Classes/FRAAuthenticationController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAAuthenticationController : NSObject { 19 | 20 | } 21 | 22 | + (FRAAuthenticationController *)sharedInstance; 23 | 24 | - (void)performAuthenticatedOpenOfPath:(NSString *)path withEncoding:(NSStringEncoding)encoding; 25 | - (void)performAuthenticatedSaveOfDocument:(id)document data:(NSData *)data path:(NSString *)path fromSaveAs:(BOOL)fromSaveAs aCopy:(BOOL)aCopy; 26 | 27 | - (void)installCommandLineUtility; 28 | 29 | @end 30 | -------------------------------------------------------------------------------- /Classes/FRAProject+DocumentViewsController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | #import "FRAProject.h" 17 | 18 | @interface FRAProject (DocumentViewsController) 19 | 20 | - (void)setDefaultViews; 21 | 22 | - (IBAction)viewSizeSliderAction:(id)sender; 23 | 24 | - (void)insertView:(FRAView)view; 25 | - (void)animateSizeSlider; 26 | - (void)reloadData; 27 | - (void)updateTabBar; 28 | - (void)selectSameDocumentInTabBarAsInDocumentsList; 29 | - (void)updateDocumentOrderFromCells:(NSMutableArray *)cells; 30 | 31 | - (void)resizeViewSizeSlider; 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Classes/FRALayoutManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRALayoutManager : NSLayoutManager { 18 | 19 | NSDictionary *attributes; 20 | NSString *tabCharacter; 21 | NSString *newLineCharacter; 22 | 23 | NSString *completeString; 24 | NSInteger lengthToRedraw; 25 | NSInteger index; 26 | unichar characterToCheck; 27 | NSPoint pointToDrawAt; 28 | NSRect glyphFragment; 29 | 30 | BOOL showInvisibleCharacters; 31 | } 32 | 33 | -(void)setShowInvisibleCharacters:(BOOL)flag; 34 | 35 | @property BOOL showInvisibleCharacters; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Classes/FRAProjectWindow.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAProjectWindow.h" 18 | 19 | @implementation FRAProjectWindow 20 | 21 | - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation 22 | { 23 | self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation]; 24 | 25 | if (self) { 26 | [self setContentBorderThickness:22.0 forEdge:NSMinYEdge]; 27 | } 28 | 29 | return self; 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Classes/FRAFontTransformer.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAFontTransformer.h" 18 | 19 | @implementation FRAFontTransformer 20 | 21 | + (Class)transformedValueClass 22 | { 23 | return [NSString class]; 24 | } 25 | 26 | 27 | + (BOOL)allowsReverseTransformation 28 | { 29 | return NO; 30 | } 31 | 32 | 33 | - (id)transformedValue:(id)value 34 | { 35 | NSFont *font = [NSUnarchiver unarchiveObjectWithData:value]; 36 | 37 | return [NSString stringWithFormat:@"%@ - %.0fpt", [font fontName], [font pointSize]]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /Classes/FRAAdvancedFindPanel.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAAdvancedFindPanel.h" 18 | 19 | @implementation FRAAdvancedFindPanel 20 | 21 | - (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation 22 | { 23 | self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation]; 24 | 25 | if (self) { 26 | [self setContentBorderThickness:22.0 forEdge:NSMinYEdge]; 27 | } 28 | 29 | return self; 30 | } 31 | 32 | @end -------------------------------------------------------------------------------- /Syntax Definitions/none.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Syntax Definitions/standard.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Classes/NSToolbarItem+Fraise.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface NSToolbarItem (NSToolbarItemFraise) 19 | 20 | + (NSToolbarItem *)createToolbarItemWithIdentifier:(NSString *)itemIdentifier name:(NSString *)name image:(NSImage *)image action:(SEL)selector tag:(NSInteger)tag target:(id)target; 21 | 22 | + (NSToolbarItem *)createPreferencesToolbarItemWithIdentifier:(NSString *)itemIdentifier name:(NSString *)name image:(NSImage *)image action:(SEL)selector target:(id)target; 23 | 24 | + (NSToolbarItem *)createSeachFieldToolbarItemWithIdentifier:(NSString *)itemIdentifier name:(NSString *)name view:(NSView *)view; 25 | @end 26 | -------------------------------------------------------------------------------- /Syntax Definitions/sgml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | doNotInstall 19 | id 20 | installLater 21 | id 22 | installNow 23 | id 24 | 25 | CLASS 26 | SUAutomaticUpdateAlert 27 | LANGUAGE 28 | ObjC 29 | SUPERCLASS 30 | SUWindowController 31 | 32 | 33 | CLASS 34 | FirstResponder 35 | LANGUAGE 36 | ObjC 37 | SUPERCLASS 38 | NSObject 39 | 40 | 41 | CLASS 42 | NSObject 43 | LANGUAGE 44 | ObjC 45 | 46 | 47 | IBVersion 48 | 1 49 | 50 | 51 | -------------------------------------------------------------------------------- /Classes/FRATextView.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @class FRATextView; 18 | 19 | @interface FRATextView : NSTextView { 20 | NSInteger lineHeight; 21 | NSPoint startPoint; 22 | NSPoint startOrigin; 23 | CGFloat pageGuideX; 24 | NSColor *pageGuideColour; 25 | 26 | BOOL showPageGuide; 27 | 28 | NSCursor *colouredIBeamCursor; 29 | 30 | BOOL inCompleteMethod; 31 | } 32 | 33 | @property (assign) NSCursor *colouredIBeamCursor; 34 | @property (assign) BOOL inCompleteMethod; 35 | 36 | - (void)setDefaults; 37 | 38 | - (NSInteger)lineHeight; 39 | 40 | - (void)setTabWidth; 41 | 42 | - (void)setPageGuideValues; 43 | 44 | - (void)updateIBeamCursor; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Classes/FRAShortcutsController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAShortcutsController : NSObject { 19 | 20 | } 21 | 22 | + (FRAShortcutsController *)sharedInstance; 23 | 24 | - (void)registerSnippetShortcutWithEvent:(NSEvent *)event; 25 | - (void)unregisterSelectedSnippetShortcut; 26 | 27 | - (void)registerCommandShortcutWithEvent:(NSEvent *)event; 28 | - (void)unregisterSelectedCommandShortcut; 29 | 30 | - (NSString *)menuItemKeyStringFromEvent:(NSEvent *)event; 31 | - (NSString *)plainKeyStringFromEvent:(NSEvent *)event; 32 | - (NSString *)plainModifierStringFromEvent:(NSEvent *)event; 33 | - (NSUInteger)carbonModifierFromCocoaModifier:(NSUInteger)cocoaModifier; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Classes/FRAProjectsController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @class FRATextView; 18 | @class FRAProject; 19 | 20 | @interface FRAProjectsController : NSDocumentController 21 | { 22 | FRAProject *currentProject; 23 | } 24 | 25 | @property (assign) FRAProject *currentProject; 26 | 27 | - (id)currentFRADocument; 28 | - (FRATextView *)currentTextView; 29 | - (NSString *)currentText; 30 | - (void)selectDocumentFromTheDock:(id)sender; 31 | 32 | - (void)putInRecentWithPath:(NSString *)path; 33 | 34 | - (IBAction)openProjectAction:(id)sender; 35 | - (void)performOpenProjectWithPath:(NSString *)path; 36 | - (void)insertDocumentsFromProjectArray:(NSArray *)array; 37 | 38 | - (void)selectDocument:(id)document; 39 | @end 40 | -------------------------------------------------------------------------------- /Command Line Utility/fraise.1: -------------------------------------------------------------------------------- 1 | .TH FRAISE 1 LOCAL 2 | 3 | .SH NAME 4 | fraise - A command-line utility for Fraise 5 | 6 | .SH SYNOPSIS 7 | .B fraise [file] ... 8 | 9 | .SH DESCRIPTION 10 | 11 | With fraise you can start the application Fraise by just writing fraise with no options. If you write something after fraise it considers that to be the path to the file or, if you write more than one path, the paths to the files. You can use the standard wildcards e.g. * and ~ for your home folder. If you don't specify a full path it adds the current working directory to what you write. If it can't find any of the specified files, it first creates them and then opens them. (Note that if you use a wildcard and it can't match a file to that it creates a file including the wildcard character as a character in the path, e.g. if you write fraise ~/Desktop/*.jsp and there aren't any .jsp-files on the desktop it creates a file called *.jsp on the desktop.) 12 | 13 | .SH EXAMPLES 14 | 15 | fraise - opens the application 16 | 17 | fraise foo - opens foo from the current directory in Fraise 18 | 19 | fraise ~/foo - opens foo from your home folder in Fraise 20 | 21 | fraise ~/Desktop/fooDoesNotExist - creates the file fooDoesNotExist on your desktop and opens it in Fraise 22 | 23 | fraise ~/Desktop/*.php /etc/*.conf - opens all the files that end with .php on the desktop and all files that ends with .conf in the /etc folder 24 | 25 | .SH AUTHOR 26 | 27 | Peter Borg (pgw3@mac.com), 2004-2008 28 | Jean-Francois Moy (jeanfrancois.moy@gmail.com), 2010 -------------------------------------------------------------------------------- /Syntax Definitions/latex.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | { 7 | endCommand 8 | } 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | \ 15 | endVariable 16 | {}()[],?.;/:+=><~ 17 | firstString 18 | $ 19 | secondString 20 | 21 | firstSingleLineComment 22 | % 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | \\((sub)*section|part|chapter|paragraph){[^}]*} 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | \begin{document} 44 | \end{document} 45 | 46 | autocompleteWords 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /Classes/FRAProject+ToolbarController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | #import "FRAProject.h" 17 | 18 | @interface FRAProject (ToolbarController) 19 | 20 | - (IBAction)liveFindToolbarItemAction:(id)sender; 21 | 22 | - (IBAction)functionToolbarItemAction:(id)sender; 23 | 24 | - (void)prepareForLiveFind; 25 | - (void)removeLiveFindSession; 26 | 27 | - (NSSearchField *)liveFindSearchField; 28 | - (NSToolbarItem *)liveFindToolbarItem; 29 | - (NSToolbarItem *)functionToolbarItem; 30 | 31 | - (void)updateLabelsInToolbar; 32 | - (void)removeFunctionMenuFormRepresentation; 33 | - (void)reinsertFunctionMenuFormRepresentation; 34 | 35 | - (NSButton *)functionButton; 36 | 37 | //- (void)updateSplitWindowToolbarItem; 38 | //- (void)updateLineWrapToolbarItem; 39 | 40 | - (void)extraToolbarValidation; 41 | @end 42 | -------------------------------------------------------------------------------- /Classes/FRACommandCollectionManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRACommandCollectionManagedObject.h" 18 | #import "FRAApplicationDelegate.h" 19 | #import "FRAToolsMenuController.h" 20 | #import "FRABasicPerformer.h" 21 | 22 | @implementation FRACommandCollectionManagedObject 23 | 24 | - (void)awakeFromInsert 25 | { 26 | [super awakeFromInsert]; 27 | 28 | [self setValue:[FRABasic createUUID] forKey:@"uuid"]; 29 | } 30 | 31 | 32 | - (void)didChangeValueForKey:(NSString *)key 33 | { 34 | [super didChangeValueForKey:key]; 35 | 36 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 37 | return; 38 | } 39 | 40 | if (![key isEqualToString:@"uuid"]) { 41 | [[FRAToolsMenuController sharedInstance] buildRunCommandMenu]; 42 | } 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | CLASS 25 | FirstResponder 26 | LANGUAGE 27 | ObjC 28 | SUPERCLASS 29 | NSObject 30 | 31 | 32 | CLASS 33 | NSObject 34 | LANGUAGE 35 | ObjC 36 | 37 | 38 | CLASS 39 | SUStatusController 40 | LANGUAGE 41 | ObjC 42 | OUTLETS 43 | 44 | actionButton 45 | NSButton 46 | progressBar 47 | NSProgressIndicator 48 | 49 | SUPERCLASS 50 | SUWindowController 51 | 52 | 53 | IBVersion 54 | 1 55 | 56 | 57 | -------------------------------------------------------------------------------- /Classes/FRASnippetCollectionManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASnippetCollectionManagedObject.h" 18 | #import "FRAApplicationDelegate.h" 19 | #import "FRAToolsMenuController.h" 20 | #import "FRABasicPerformer.h" 21 | 22 | @implementation FRASnippetCollectionManagedObject 23 | 24 | - (void)awakeFromInsert 25 | { 26 | [super awakeFromInsert]; 27 | 28 | [self setValue:[FRABasic createUUID] forKey:@"uuid"]; 29 | } 30 | 31 | 32 | - (void)didChangeValueForKey:(NSString *)key 33 | { 34 | [super didChangeValueForKey:key]; 35 | 36 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 37 | return; 38 | } 39 | 40 | if (![key isEqualToString:@"uuid"]) { 41 | [[FRAToolsMenuController sharedInstance] buildInsertSnippetMenu]; 42 | } 43 | } 44 | 45 | 46 | @end 47 | 48 | -------------------------------------------------------------------------------- /Classes/FRATextPerformer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRATextPerformer : NSObject { 19 | 20 | NSString *darkSideLineEnding; 21 | NSString *macLineEnding; 22 | NSString *unixLineEnding; 23 | 24 | NSString *newLineSymbolString; 25 | } 26 | 27 | @property (readonly) NSString *darkSideLineEnding; 28 | @property (readonly) NSString *macLineEnding; 29 | @property (readonly) NSString *unixLineEnding; 30 | 31 | + (FRATextPerformer *)sharedInstance; 32 | 33 | - (NSString *)convertLineEndings:(NSString *)stringToConvert inDocument:(id)document; 34 | 35 | - (NSStringEncoding)guessEncodingFromData:(NSData *)textData; 36 | 37 | - (NSString *)replaceAllNewLineCharactersWithSymbolInString:(NSString *)theTextString; 38 | 39 | - (NSString *)removeAllLineEndingsInString:(NSString *)string; 40 | 41 | 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Classes/FRAFileMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | 16 | #import 17 | 18 | @interface FRAFileMenuController : NSObject 19 | { 20 | NSOpenPanel *openPanel; 21 | } 22 | 23 | + (FRAFileMenuController *)sharedInstance; 24 | 25 | - (IBAction)newAction:(id)sender; 26 | - (IBAction)newProjectAction:(id)sender; 27 | - (IBAction)openAction:(id)sender; 28 | 29 | - (IBAction)saveAction:(id)sender; 30 | - (IBAction)saveAsAction:(id)sender; 31 | - (IBAction)saveACopyAsAction:(id)sender; 32 | - (IBAction)revertAction:(id)sender; 33 | - (void)performRevertOfDocument:(id)document; 34 | 35 | - (IBAction)closeAction:(id)sender; 36 | 37 | - (IBAction)saveAllAction:(id)sender; 38 | - (void)saveAsInSaveAllForDocument:(id)document; 39 | 40 | - (void)printAction:(id)sender; 41 | 42 | - (IBAction)revealInFinderAction:(id)sender; 43 | 44 | - (IBAction)saveDocumentsAsProjectAction:(id)sender; 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Syntax Definitions/xml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | <? 11 | endInstruction 12 | ?> 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | CDATA 44 | EMPTY 45 | INCLUDE 46 | IGNORE 47 | NDATA 48 | #IMPLIED 49 | #PCDATA 50 | #REQUIRED 51 | 52 | autocompleteWords 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /ICU/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2005-2006, Aaron Evans 2 | * All rights reserved. 3 | * Redistribution and use in source and binary forms, with or without 4 | * modification, are permitted provided that the following conditions are met: 5 | * 6 | * * Redistributions of source code must retain the above copyright 7 | * notice, this list of conditions and the following disclaimer. 8 | * * Redistributions in binary form must reproduce the above copyright 9 | * notice, this list of conditions and the following disclaimer in the 10 | * documentation and/or other materials provided with the distribution. 11 | * * Neither the name of Aaron Evans, nor the names of its contributors may 12 | * be used to endorse or promote products derived from this software 13 | * without specific prior written permission. 14 | * 15 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' 16 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | * DISCLAIMED. IN NO EVENT SHALL THE COYPRIGHT HOLDERS AND CONTRIBUTORS AND 19 | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 20 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21 | * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 22 | * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 23 | * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24 | * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 25 | * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | NSObject 10 | LANGUAGE 11 | ObjC 12 | 13 | 14 | CLASS 15 | SUWindowController 16 | LANGUAGE 17 | ObjC 18 | SUPERCLASS 19 | NSWindowController 20 | 21 | 22 | ACTIONS 23 | 24 | finishPrompt 25 | id 26 | toggleMoreInfo 27 | id 28 | 29 | CLASS 30 | SUUpdatePermissionPrompt 31 | LANGUAGE 32 | ObjC 33 | OUTLETS 34 | 35 | delegate 36 | id 37 | descriptionTextField 38 | NSTextField 39 | moreInfoButton 40 | NSButton 41 | moreInfoView 42 | NSView 43 | 44 | SUPERCLASS 45 | SUWindowController 46 | 47 | 48 | CLASS 49 | FirstResponder 50 | LANGUAGE 51 | ObjC 52 | SUPERCLASS 53 | NSObject 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | ACTIONS 17 | 18 | finishPrompt 19 | id 20 | toggleMoreInfo 21 | id 22 | 23 | CLASS 24 | SUUpdatePermissionPrompt 25 | LANGUAGE 26 | ObjC 27 | OUTLETS 28 | 29 | delegate 30 | id 31 | descriptionTextField 32 | NSTextField 33 | moreInfoButton 34 | NSButton 35 | moreInfoView 36 | NSView 37 | 38 | SUPERCLASS 39 | SUWindowController 40 | 41 | 42 | CLASS 43 | FirstResponder 44 | LANGUAGE 45 | ObjC 46 | SUPERCLASS 47 | NSObject 48 | 49 | 50 | CLASS 51 | NSObject 52 | LANGUAGE 53 | ObjC 54 | 55 | 56 | IBVersion 57 | 1 58 | 59 | 60 | -------------------------------------------------------------------------------- /Syntax Definitions/plist.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | <? 11 | endInstruction 12 | ?> 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | key 47 | string 48 | real 49 | integer 50 | date 51 | true 52 | false 53 | data 54 | array 55 | dict 56 | 57 | 58 | -------------------------------------------------------------------------------- /Classes/FRABasicPerformer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRABasicPerformer : NSObject { 19 | 20 | NSNumberFormatter *thousandFormatter; 21 | NSMutableDictionary *fetchRequests; 22 | } 23 | 24 | + (FRABasicPerformer *)sharedInstance; 25 | 26 | - (void)insertFetchRequests; 27 | - (NSArray *)fetchAll:(NSString *)key; 28 | - (NSFetchRequest *)fetchRequest:(NSString *)key; 29 | 30 | - (id)createNewObjectForEntity:(NSString *)entity; 31 | - (void)removeAllObjectsForEntity:(NSString *)entity; 32 | - (NSURL *)uriFromObject:(id)object; 33 | - (id)objectFromURI:(NSURL *)uri; 34 | - (void)removeAllItemsFromMenu:(NSMenu *)menu; 35 | - (NSString *)createUUID; 36 | - (void)insertSortOrderNumbersForArrayController:(NSArrayController *)arrayController; 37 | - (NSString *)genererateTemporaryPath; 38 | - (NSString *)thousandFormatedStringFromNumber:(NSNumber *)number; 39 | - (NSString *)resolveAliasInPath:(NSString *)path; 40 | 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /Syntax Definitions/pdf.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | / 15 | endVariable 16 | ()><[]{}/% 17 | firstString 18 | 19 | secondString 20 | 21 | firstSingleLineComment 22 | % 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | endobj 44 | endstream 45 | f 46 | false 47 | n 48 | null 49 | obj 50 | R 51 | startxref 52 | stream 53 | trailer 54 | true 55 | xref 56 | 57 | autocompleteWords 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /Classes/FRAGradientBackgroundView.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAGradientBackgroundView.h" 18 | 19 | @implementation FRAGradientBackgroundView 20 | 21 | - (id)initWithFrame:(NSRect)frame 22 | { 23 | if (self = [super initWithFrame:frame]) { 24 | 25 | gradient = [[NSGradient alloc] initWithStartingColor:[NSColor colorWithDeviceRed:0.812 green:0.812 blue:0.812 alpha:1.0] endingColor:[NSColor colorWithDeviceRed:0.914 green:0.914 blue:0.914 alpha:1.0]]; 26 | 27 | scaleFactor = [[NSScreen mainScreen] userSpaceScaleFactor]; 28 | } 29 | return self; 30 | } 31 | 32 | 33 | - (void)drawRect:(NSRect)rect 34 | { 35 | NSRect gradientRect = [self bounds]; 36 | 37 | NSDrawGroove(gradientRect, gradientRect); 38 | [gradient drawInRect:NSMakeRect(gradientRect.origin.x * scaleFactor, gradientRect.origin.y * scaleFactor, gradientRect.size.width * scaleFactor, gradientRect.size.height - 1.0 * scaleFactor) angle:90]; 39 | } 40 | 41 | 42 | - (BOOL)isOpaque { 43 | return YES; 44 | } 45 | 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | Fraise 3.7.2 2 | 3 | Author: Jean-Francois Moy 4 | Website: http://github.com/jfmoy/Fraise 5 | 6 | Here we are, the fruit is mature. Fraise 3.7.2 has just been released. This version should be bug-free but refactoring from Smultron could have brought some bugs that I haven't noticed yet so please report any bug you will encounter. I also wait for any remarks concerning Fraise and I hope I will have your support as with Smultron 3.7.1. Please spread the word around you concerning this new release! 7 | 8 | Now it is time to taste Fraise, I hope you will like it. 9 | 10 | Important message: 11 | 12 | I have removed every translations that have not been updated because notably they don't contain references to the new update system and other new features. If you want to translate Fraise in your language, please contact me (a big part of the application is already translated in multiple languages so it won't require a lot of time). 13 | 14 | Changelog: 15 | 16 | [3.7.2] 17 | * [Announcement] Name changed for Fraise (to avoid confusion with Smultron, following a request of Peter Borg) 18 | * [New Feature] New update system using Sparkle framework 19 | * [Translation] French, German, Japanese, Spanish, Swedish translations updated. (Italian coming) 20 | * [Bug Solved] Doesn't switch to Fraise's space when opening a document in 21 | a different one. 22 | 23 | [3.7.1] 24 | * [New Feature] String search in all files contained in the parent directory of the current document. 25 | * [New Feature] Duplicate Line 26 | * [New Feature] Auto Update 27 | * [Translation] Correction of the French translation of SMLMainMenu.xib 28 | * [Bug correction] Correction of the pointing URL in the About window. 29 | 30 | [3.7.0] 31 | * [New Feature] Full 64 bits support (Snow Leopard) 32 | * [New Feature] Import of all localizations -------------------------------------------------------------------------------- /Classes/FRAViewMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAViewMenuController : NSObject 18 | { 19 | 20 | 21 | } 22 | 23 | + (FRAViewMenuController *)sharedInstance; 24 | 25 | - (IBAction)splitWindowAction:(id)sender; 26 | - (void)performCollapse; 27 | - (IBAction)lineWrapTextAction:(id)sender; 28 | - (IBAction)showSyntaxColoursAction:(id)sender; 29 | - (IBAction)showLineNumbersAction:(id)sender; 30 | - (IBAction)showStatusBarAction:(id)sender; 31 | - (void)performHideStatusBar; 32 | - (IBAction)showInvisibleCharactersAction:(id)sender; 33 | - (IBAction)viewDocumentInSeparateWindowAction:(id)sender; 34 | - (IBAction)viewDocumentInFullScreenAction:(id)sender; 35 | 36 | - (IBAction)showTabBarAction:(id)sender; 37 | - (void)performHideTabBar; 38 | 39 | - (IBAction)showDocumentsViewAction:(id)sender; 40 | - (void)performCollapseDocumentsView; 41 | 42 | - (IBAction)documentsViewAction:(id)sender; 43 | 44 | - (IBAction)emptyDummyAction:(id)sender; 45 | 46 | - (IBAction)showSizeSliderAction:(id)sender; 47 | @end 48 | 49 | -------------------------------------------------------------------------------- /PSMTabBar/PSMTabStyle.h: -------------------------------------------------------------------------------- 1 | // 2 | // PSMTabStyle.h 3 | // PSMTabBarControl 4 | // 5 | // Created by John Pannell on 2/17/06. 6 | // Copyright 2006 Positive Spin Media. All rights reserved. 7 | // 8 | 9 | /* 10 | Protocol to be observed by all style delegate objects. These objects handle the drawing responsibilities for PSMTabBarCell; once the control has been assigned a style, the background and cells draw consistent with that style. Design pattern and implementation by David Smith, Seth Willits, and Chris Forsythe, all touch up and errors by John P. :-) 11 | */ 12 | 13 | #import "PSMTabBarCell.h" 14 | #import "PSMTabBarControl.h" 15 | 16 | @protocol PSMTabStyle 17 | 18 | // identity 19 | - (NSString *)name; 20 | 21 | // control specific parameters 22 | - (CGFloat)leftMarginForTabBarControl; 23 | - (CGFloat)rightMarginForTabBarControl; 24 | 25 | // add tab button 26 | - (NSImage *)addTabButtonImage; 27 | - (NSImage *)addTabButtonPressedImage; 28 | - (NSImage *)addTabButtonRolloverImage; 29 | 30 | // cell specific parameters 31 | - (NSRect)closeButtonRectForTabCell:(PSMTabBarCell *)cell; 32 | - (NSRect)iconRectForTabCell:(PSMTabBarCell *)cell; 33 | - (NSRect)indicatorRectForTabCell:(PSMTabBarCell *)cell; 34 | - (NSRect)objectCounterRectForTabCell:(PSMTabBarCell *)cell; 35 | - (CGFloat)minimumWidthOfTabCell:(PSMTabBarCell *)cell; 36 | - (CGFloat)desiredWidthOfTabCell:(PSMTabBarCell *)cell; 37 | 38 | // cell values 39 | - (NSAttributedString *)attributedObjectCountValueForTabCell:(PSMTabBarCell *)cell; 40 | - (NSAttributedString *)attributedStringValueForTabCell:(PSMTabBarCell *)cell; 41 | 42 | // drawing 43 | - (void)drawTabCell:(PSMTabBarCell *)cell; 44 | - (void)drawTabBar:(PSMTabBarControl *)bar inRect:(NSRect)rect; 45 | 46 | @end 47 | 48 | @interface PSMTabBarControl (StyleAccessors) 49 | 50 | - (NSMutableArray *)cells; 51 | 52 | @end -------------------------------------------------------------------------------- /Classes/FRACommandManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRACommandManagedObject.h" 18 | #import "FRABasicPerformer.h" 19 | #import "FRAApplicationDelegate.h" 20 | #import "FRAToolsMenuController.h" 21 | 22 | @implementation FRACommandManagedObject 23 | 24 | 25 | - (void)awakeFromInsert 26 | { 27 | [super awakeFromInsert]; 28 | 29 | [self setValue:[FRABasic createUUID] forKey:@"uuid"]; 30 | } 31 | 32 | - (void)didChangeValueForKey:(NSString *)key 33 | { 34 | [super didChangeValueForKey:key]; 35 | 36 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 37 | return; 38 | } 39 | 40 | if (![key isEqualToString:@"uuid"]) { 41 | [[FRAToolsMenuController sharedInstance] buildRunCommandMenu]; 42 | } 43 | } 44 | 45 | 46 | - (NSComparisonResult)localizedCaseInsensitiveCompare:(id)object 47 | { 48 | NSComparisonResult result = NSOrderedSame; 49 | 50 | if ([object isKindOfClass:[self class]]) { 51 | result = [[object valueForKey:@"name"] localizedCaseInsensitiveCompare:[self valueForKey:@"name"]]; 52 | } 53 | 54 | return result; 55 | } 56 | @end 57 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/classes.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBClasses 6 | 7 | 8 | CLASS 9 | SUWindowController 10 | LANGUAGE 11 | ObjC 12 | SUPERCLASS 13 | NSWindowController 14 | 15 | 16 | CLASS 17 | NSApplication 18 | LANGUAGE 19 | ObjC 20 | SUPERCLASS 21 | NSResponder 22 | 23 | 24 | ACTIONS 25 | 26 | installUpdate 27 | id 28 | remindMeLater 29 | id 30 | skipThisVersion 31 | id 32 | 33 | CLASS 34 | SUUpdateAlert 35 | LANGUAGE 36 | ObjC 37 | OUTLETS 38 | 39 | delegate 40 | id 41 | description 42 | NSTextField 43 | releaseNotesView 44 | WebView 45 | 46 | SUPERCLASS 47 | SUWindowController 48 | 49 | 50 | CLASS 51 | FirstResponder 52 | LANGUAGE 53 | ObjC 54 | SUPERCLASS 55 | NSObject 56 | 57 | 58 | CLASS 59 | NSObject 60 | LANGUAGE 61 | ObjC 62 | 63 | 64 | IBVersion 65 | 1 66 | 67 | 68 | -------------------------------------------------------------------------------- /Classes/FRASearchField.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASearchField.h" 18 | #import "FRAProjectsController.h" 19 | #import "FRAProject.h" 20 | 21 | 22 | @implementation FRASearchField 23 | 24 | - (BOOL)performKeyEquivalent:(NSEvent *)anEvent 25 | { 26 | NSUInteger flags = [anEvent modifierFlags] & NSDeviceIndependentModifierFlagsMask; 27 | unsigned short keyCode = [anEvent keyCode]; 28 | 29 | if (flags == 1048576 && keyCode == 5) { // Command-G 30 | NSToolbarItem *dummyToolbarItem = [[NSToolbarItem alloc] init]; 31 | [dummyToolbarItem setTag:NSFindPanelActionNext]; 32 | [[FRACurrentProject lastTextViewInFocus] performFindPanelAction:dummyToolbarItem]; 33 | 34 | return YES; 35 | } else if (flags == 1179648 && keyCode == 5) { // Command-Shift-G 36 | NSToolbarItem *dummyToolbarItem = [[NSToolbarItem alloc] init]; 37 | [dummyToolbarItem setTag:NSFindPanelActionPrevious]; 38 | [[FRACurrentProject lastTextViewInFocus] performFindPanelAction:dummyToolbarItem]; 39 | 40 | return YES; 41 | } else { 42 | [super performKeyEquivalent:anEvent]; 43 | 44 | return NO; 45 | } 46 | } 47 | @end 48 | -------------------------------------------------------------------------------- /Classes/FRASnippetManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASnippetManagedObject.h" 18 | #import "FRAApplicationDelegate.h" 19 | #import "FRAToolsMenuController.h" 20 | #import "FRABasicPerformer.h" 21 | 22 | @implementation FRASnippetManagedObject 23 | 24 | - (void)awakeFromInsert 25 | { 26 | [super awakeFromInsert]; 27 | 28 | [self setValue:[FRABasic createUUID] forKey:@"uuid"]; 29 | } 30 | 31 | 32 | - (void)didChangeValueForKey:(NSString *)key 33 | { 34 | [super didChangeValueForKey:key]; 35 | 36 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 37 | return; 38 | } 39 | 40 | if (![key isEqualToString:@"uuid"]) { 41 | [[FRAToolsMenuController sharedInstance] buildInsertSnippetMenu]; 42 | } 43 | 44 | } 45 | 46 | 47 | - (NSComparisonResult)localizedCaseInsensitiveCompare:(id)object 48 | { 49 | NSComparisonResult result = NSOrderedSame; 50 | 51 | if ([object isKindOfClass:[self class]]) { 52 | result = [[object valueForKey:@"name"] localizedCaseInsensitiveCompare:[self valueForKey:@"name"]]; 53 | } 54 | 55 | return result; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Syntax Definitions/shell.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | ` 7 | endCommand 8 | ´ 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | $ 15 | endVariable 16 | (){}=;:[] 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | # 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*(function)?\s?\w*(\(\))?\s?\n?\s*\{ 35 | removeFromFunction 36 | function 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | if 44 | then 45 | elif 46 | else 47 | fi 48 | case 49 | in 50 | ;; 51 | esac 52 | while 53 | for 54 | do 55 | done 56 | continue 57 | local 58 | return 59 | 60 | autocompleteWords 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /Classes/FRAOpenSavePerformer.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | 18 | @interface FRAOpenSavePerformer : NSObject { 19 | 20 | } 21 | 22 | + (FRAOpenSavePerformer *)sharedInstance; 23 | 24 | - (void)openAllTheseFiles:(NSArray *)arrayOfFiles; 25 | - (void)shouldOpen:(NSString *)path withEncoding:(NSStringEncoding)chosenEncoding; 26 | - (void)shouldOpenPartTwo:(NSString *)path withEncoding:(NSStringEncoding)chosenEncoding data:(NSData *)textData; 27 | - (void)performOpenWithPath:(NSString *)path contents:(NSString *)textString encoding:(NSStringEncoding)encoding; 28 | 29 | - (void)performSaveOfDocument:(id)document fromSaveAs:(BOOL)fromSaveAs; 30 | - (void)performSaveOfDocument:(id)document path:(NSString *)path fromSaveAs:(BOOL)fromSaveAs aCopy:(BOOL)aCopy; 31 | - (void)performDataSaveWith:(NSData *)data path:(NSString *)path; 32 | - (void)updateAfterSaveForDocument:(id)document path:(NSString *)path; 33 | 34 | - (NSDictionary *)getExtraMetaDataFromPath:(NSString *)path; 35 | - (void)resetExtraMetaData:(NSDictionary *)dictionary path:(NSString *)path; 36 | 37 | - (BOOL)isPathVisible:(NSString *)path; 38 | - (BOOL)isPartOfSVN:(NSString *)path; 39 | @end 40 | -------------------------------------------------------------------------------- /Classes/FRAApplicationDelegate.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAApplicationDelegate : NSObject 18 | { 19 | NSPersistentStoreCoordinator *persistentStoreCoordinator; 20 | NSManagedObjectModel *managedObjectModel; 21 | NSManagedObjectContext *managedObjectContext; 22 | 23 | BOOL shouldCreateEmptyDocument; 24 | BOOL hasFinishedLaunching; 25 | BOOL isTerminatingApplication; 26 | 27 | NSMutableArray *filesToOpenArray; 28 | NSAppleEventDescriptor *appleEventDescriptor; 29 | 30 | } 31 | 32 | @property (readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator; 33 | @property (readonly) NSManagedObjectModel *managedObjectModel; 34 | @property (readonly) NSManagedObjectContext *managedObjectContext; 35 | 36 | @property (readonly) BOOL shouldCreateEmptyDocument, hasFinishedLaunching, isTerminatingApplication; 37 | 38 | @property (readonly) NSMutableArray *filesToOpenArray; 39 | @property (assign) NSAppleEventDescriptor *appleEventDescriptor; 40 | 41 | 42 | + (FRAApplicationDelegate *)sharedInstance; 43 | 44 | - (IBAction)saveAction:sender; 45 | 46 | - (void)importFromVersion2; 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /Classes/FRALineNumbers.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @class FRATextView; 18 | 19 | @interface FRALineNumbers : NSObject { 20 | 21 | id document; 22 | NSPoint zeroPoint; 23 | NSDictionary *attributes; 24 | 25 | FRATextView *textView; 26 | NSScrollView *scrollView; 27 | NSScrollView *gutterScrollView; 28 | NSLayoutManager *layoutManager; 29 | NSRect visibleRect; 30 | NSRange visibleRange; 31 | NSString *textString; 32 | NSString *searchString; 33 | 34 | NSInteger index; 35 | NSInteger lineNumber; 36 | 37 | NSInteger indexNonWrap; 38 | NSInteger maxRangeVisibleRange; 39 | NSInteger numberOfGlyphsInTextString; 40 | BOOL oneMoreTime; 41 | unichar lastGlyph; 42 | 43 | NSRange range; 44 | NSInteger widthOfStringInGutter; 45 | NSInteger gutterWidth; 46 | NSRect currentViewBounds; 47 | NSInteger gutterY; 48 | 49 | NSInteger currentLineHeight; 50 | 51 | CGFloat addToScrollPoint; 52 | } 53 | 54 | - (id)initWithDocument:(id)theDocument; 55 | 56 | - (void)updateLineNumbersCheckWidth:(BOOL)checkWidth recolour:(BOOL)recolour; 57 | - (void)updateLineNumbersForClipView:(NSClipView *)clipView checkWidth:(BOOL)checkWidth recolour:(BOOL)recolour; 58 | 59 | @end 60 | -------------------------------------------------------------------------------- /Classes/FRAEncodingManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRAEncodingManagedObject.h" 18 | #import "FRAApplicationDelegate.h" 19 | #import "FRATextMenuController.h" 20 | #import "FRAPreferencesController.h" 21 | 22 | @implementation FRAEncodingManagedObject 23 | 24 | 25 | - (void)didChangeValueForKey:(NSString *)key 26 | { 27 | [super didChangeValueForKey:key]; 28 | 29 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 30 | return; 31 | } 32 | 33 | NSMutableArray *activeEncodings = [NSMutableArray arrayWithArray:[FRADefaults valueForKey:@"ActiveEncodings"]]; 34 | if ([[self valueForKey:@"active"] boolValue] == YES) { 35 | [activeEncodings addObject:[self valueForKey:@"encoding"]]; 36 | } else { 37 | [activeEncodings removeObject:[self valueForKey:@"encoding"]]; 38 | } 39 | [FRADefaults setValue:activeEncodings forKey:@"ActiveEncodings"]; 40 | 41 | [[FRATextMenuController sharedInstance] buildEncodingsMenus]; 42 | NSUInteger selectedTag = [[[[FRAPreferencesController sharedInstance] encodingsPopUp] selectedItem] tag]; 43 | [[FRAPreferencesController sharedInstance] buildEncodingsMenu]; 44 | [[[FRAPreferencesController sharedInstance] encodingsPopUp] selectItemWithTag:selectedTag]; 45 | } 46 | 47 | 48 | 49 | @end 50 | -------------------------------------------------------------------------------- /Syntax Definitions/torquescript.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | autocompleteWords 6 | 7 | beginCommand 8 | 9 | beginFirstMultiLineComment 10 | /* 11 | beginInstruction 12 | 13 | beginSecondMultiLineComment 14 | 15 | beginVariable 16 | $% 17 | endCommand 18 | 19 | endFirstMultiLineComment 20 | */ 21 | endInstruction 22 | 23 | endSecondMultiLineComment 24 | 25 | endVariable 26 | ./*+-()=; 27 | firstSingleLineComment 28 | // 29 | firstString 30 | " 31 | functionDefinition 32 | ^\s*\w*function\s+.* 33 | keywords 34 | 35 | break 36 | case 37 | continue 38 | datablock 39 | default 40 | else 41 | function 42 | if 43 | for 44 | new 45 | or 46 | package 47 | return 48 | switch 49 | switch$ 50 | while 51 | yes 52 | no 53 | on 54 | off 55 | true 56 | false 57 | 58 | keywordsCaseSensitive 59 | 60 | recolourKeywordIfAlreadyColoured 61 | 62 | removeFromFunction 63 | function 64 | secondSingleLineComment 65 | 66 | secondString 67 | ' 68 | 69 | 70 | -------------------------------------------------------------------------------- /Classes/FRASplitView.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASplitView.h" 18 | #import "FRAProjectsController.h" 19 | #import "FRAproject.h" 20 | 21 | @implementation FRASplitView 22 | 23 | - (void)awakeFromNib 24 | { 25 | dividerGradient = [[NSGradient alloc] initWithColorsAndLocations:[NSColor colorWithDeviceWhite:0.80 alpha:1.0], 0.0, [NSColor colorWithDeviceWhite:0.84 alpha:1.0], 0.2, [NSColor colorWithDeviceWhite:0.90 alpha:1.0], 0.50, [NSColor colorWithDeviceWhite:0.84 alpha:1.0], 0.8, [NSColor colorWithDeviceWhite:0.74 alpha:1.0], 1.0, nil]; 26 | } 27 | 28 | 29 | - (void)drawDividerInRect:(NSRect)aRect 30 | { 31 | if ([self isVertical]) { 32 | [dividerGradient drawInRect:aRect angle:0]; 33 | } else { 34 | [dividerGradient drawInRect:aRect angle:90]; 35 | } 36 | 37 | [super drawDividerInRect:aRect]; 38 | } 39 | 40 | 41 | - (CGFloat)dividerThickness 42 | { 43 | if ([[self autosaveName] isEqualToString:@"ProjectSplitView"]) { 44 | return 1.0; 45 | } else if ([[self autosaveName] isEqualToString:@"ContentSplitView"] && ([self isSubviewCollapsed:[FRACurrentProject secondContentView]] || ![NSApp isActive])) { 46 | return 0.0; 47 | } else if ([[self autosaveName] isEqualToString:@"ContentSplitView"]) { 48 | return 7.0; 49 | } else { 50 | return 5.0; 51 | } 52 | } 53 | 54 | 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /Syntax Definitions/supercollider.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | | 11 | endInstruction 12 | | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*.*\(.*\)\n?\s*\{ 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | and 44 | ar 45 | arg 46 | case 47 | classvar 48 | collect 49 | do 50 | dup 51 | false 52 | if 53 | inf 54 | kr 55 | new 56 | nil 57 | or 58 | protect 59 | switch 60 | this 61 | true 62 | super 63 | try 64 | var 65 | while 66 | 67 | autocompleteWords 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /Classes/FRAInfoController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | 16 | #import 17 | 18 | 19 | @interface FRAInfoController : NSObject 20 | { 21 | IBOutlet NSTextField *createdTextField; 22 | IBOutlet NSTextField *creatorTextField; 23 | IBOutlet NSTextField *encodingTextField; 24 | IBOutlet NSTextField *functionTextField; 25 | IBOutlet NSTextField *groupTextField; 26 | IBOutlet NSImageView *iconImageView; 27 | IBOutlet NSWindow *infoWindow; 28 | IBOutlet NSTextField *lengthTextField; 29 | IBOutlet NSTextField *linesTextField; 30 | IBOutlet NSTextField *modifiedTextField; 31 | IBOutlet NSTextField *ownerTextField; 32 | IBOutlet NSTextField *permissionsTextField; 33 | IBOutlet NSTextField *positionTextField; 34 | IBOutlet NSTextField *selectionTextField; 35 | IBOutlet NSTextField *fileSizeTextField; 36 | IBOutlet NSTextField *spotlightTextField; 37 | IBOutlet NSTextField *syntaxTextField; 38 | IBOutlet NSTextField *titleTextField; 39 | IBOutlet NSTextField *typeTextField; 40 | IBOutlet NSTextField *whereTextField; 41 | IBOutlet NSTextField *wordsTextField; 42 | } 43 | 44 | @property (readonly) IBOutlet NSWindow *infoWindow; 45 | 46 | + (FRAInfoController *)sharedInstance; 47 | 48 | - (void)openInfoWindow; 49 | - (void)refreshInfo; 50 | 51 | - (NSString *)stringFromPermissions:(NSUInteger)permissions; 52 | @end 53 | -------------------------------------------------------------------------------- /PSMTabBar/PSMRolloverButton.m: -------------------------------------------------------------------------------- 1 | // 2 | // PSMOverflowPopUpButton.m 3 | // NetScrape 4 | // 5 | // Created by John Pannell on 8/4/04. 6 | // Copyright 2004 Positive Spin Media. All rights reserved. 7 | // 8 | 9 | #import "PSMRolloverButton.h" 10 | 11 | @implementation PSMRolloverButton 12 | 13 | // the regular image 14 | - (void)setUsualImage:(NSImage *)newImage 15 | { 16 | _usualImage = newImage; 17 | [self setImage:_usualImage]; 18 | } 19 | 20 | - (NSImage *)usualImage 21 | { 22 | return _usualImage; 23 | } 24 | 25 | - (void)setRolloverImage:(NSImage *)newImage 26 | { 27 | _rolloverImage = newImage; 28 | } 29 | 30 | - (NSImage *)rolloverImage 31 | { 32 | return _rolloverImage; 33 | } 34 | 35 | - (void)addTrackingRect 36 | { 37 | // assign a tracking rect to watch for mouse enter/exit 38 | _myTrackingRectTag = [self addTrackingRect:[self bounds] owner:self userData:nil assumeInside:NO]; 39 | } 40 | 41 | - (void)removeTrackingRect 42 | { 43 | [self removeTrackingRect:_myTrackingRectTag]; 44 | } 45 | 46 | // override for rollover effect 47 | - (void)mouseEntered:(NSEvent *)theEvent; 48 | { 49 | // set rollover image 50 | [self setImage:_rolloverImage]; 51 | [self setNeedsDisplay]; 52 | [[self superview] setNeedsDisplay:YES]; // eliminates a drawing artifact 53 | } 54 | 55 | - (void)mouseExited:(NSEvent *)theEvent; 56 | { 57 | // restore usual image 58 | [self setImage:_usualImage]; 59 | [self setNeedsDisplay]; 60 | [[self superview] setNeedsDisplay:YES]; // eliminates a drawing artifact 61 | } 62 | 63 | - (void)mouseDown:(NSEvent *)theEvent 64 | { 65 | // eliminates drawing artifact 66 | [[NSRunLoop currentRunLoop] performSelector:@selector(display) target:[self superview] argument:nil order:1 modes:[NSArray arrayWithObjects:@"NSEventTrackingRunLoopMode", @"NSDefaultRunLoopMode", nil]]; 67 | [super mouseDown:theEvent]; 68 | } 69 | 70 | - (void)resetCursorRects 71 | { 72 | // called when the button rect has been changed 73 | [self removeTrackingRect]; 74 | [self addTrackingRect]; 75 | [[self superview] setNeedsDisplay:YES]; // eliminates a drawing artifact 76 | } 77 | 78 | 79 | 80 | @end 81 | -------------------------------------------------------------------------------- /ICU/icu/LICENSE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ICU License - ICU 1.8.1 and later 6 | 7 | 8 | 9 |

ICU License - ICU 1.8.1 and later

10 | 11 |

COPYRIGHT AND PERMISSION NOTICE

12 | 13 |

14 | Copyright (c) 1995-2006 International Business Machines Corporation and others 15 |

16 |

17 | All rights reserved. 18 |

19 |

20 | Permission is hereby granted, free of charge, to any person obtaining a copy 21 | of this software and associated documentation files (the "Software"), 22 | to deal in the Software without restriction, including without limitation 23 | the rights to use, copy, modify, merge, publish, distribute, and/or sell 24 | copies of the Software, and to permit persons 25 | to whom the Software is furnished to do so, provided that the above 26 | copyright notice(s) and this permission notice appear in all copies 27 | of the Software and that both the above copyright notice(s) and this 28 | permission notice appear in supporting documentation. 29 |

30 |

31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 32 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 33 | PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL 34 | THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, 35 | OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER 36 | RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 37 | NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE 38 | USE OR PERFORMANCE OF THIS SOFTWARE. 39 |

40 |

41 | Except as contained in this notice, the name of a copyright holder shall not be 42 | used in advertising or otherwise to promote the sale, use or other dealings in 43 | this Software without prior written authorization of the copyright holder. 44 |

45 | 46 |
47 |

48 | All trademarks and registered trademarks mentioned herein are the property of their respective owners. 49 |

50 | 51 | 52 | -------------------------------------------------------------------------------- /Command Line Utility/fraise_main.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | #import 17 | 18 | int main (int argc, const char * argv[]) { 19 | NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 20 | 21 | NSFileManager *fileManager = [NSFileManager defaultManager]; 22 | NSWorkspace *workspace = [NSWorkspace sharedWorkspace]; 23 | if (!argv[1]) { // There is no argument 24 | if (![workspace launchApplication:@"Fraise.app"]) { 25 | NSLog(@"Can't open Fraise"); 26 | } 27 | } else { // We should open files 28 | short i = 1; 29 | NSString *path; 30 | while (argv[i]) { 31 | path = [[NSString alloc] initWithUTF8String:argv[i]]; 32 | if (![fileManager fileExistsAtPath:path]) { // Check if file exists, otherwise create it 33 | NSMutableDictionary *attributes = [[NSMutableDictionary alloc] init]; 34 | NSNumber *creatorCode = [NSNumber numberWithUnsignedLong:'SMUL']; 35 | NSNumber *typeCode = [NSNumber numberWithUnsignedLong:'FRAd']; 36 | [attributes setObject:creatorCode forKey:@"NSFileHFSCreatorCode"]; 37 | [attributes setObject:typeCode forKey:@"NSFileHFSTypeCode"]; 38 | [fileManager createFileAtPath:path contents:nil attributes:attributes]; 39 | } 40 | 41 | if (![workspace openFile:path withApplication:@"Fraise.app"]) { // Open file 42 | NSLog(@"Couldn't open %@ with Fraise", path); 43 | } 44 | i++; 45 | } 46 | } 47 | 48 | [pool drain]; 49 | return 0; 50 | } 51 | -------------------------------------------------------------------------------- /Classes/FRASnippetsController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRASnippetsController : NSObject 18 | { 19 | IBOutlet NSArrayController *snippetCollectionsArrayController; 20 | IBOutlet NSTableView *snippetCollectionsTableView; 21 | IBOutlet NSArrayController *snippetsArrayController; 22 | IBOutlet NSTableView *snippetsTableView; 23 | IBOutlet NSWindow *snippetsWindow; 24 | IBOutlet NSTextView *snippetsTextView; 25 | IBOutlet NSView *snippetsFilterView; 26 | } 27 | 28 | @property (readonly) IBOutlet NSTextView *snippetsTextView; 29 | @property (readonly) IBOutlet NSWindow *snippetsWindow; 30 | @property (readonly) IBOutlet NSArrayController *snippetCollectionsArrayController; 31 | @property (readonly) IBOutlet NSTableView *snippetCollectionsTableView; 32 | @property (readonly) IBOutlet NSArrayController *snippetsArrayController; 33 | @property (readonly) IBOutlet NSTableView *snippetsTableView; 34 | 35 | + (FRASnippetsController *)sharedInstance; 36 | 37 | - (void)openSnippetsWindow; 38 | 39 | - (IBAction)newCollectionAction:(id)sender; 40 | - (IBAction)newSnippetAction:(id)sender; 41 | 42 | - (id)performInsertNewSnippet; 43 | 44 | - (void)insertSnippet:(id)snippet; 45 | 46 | - (void)performDeleteCollection; 47 | 48 | - (void)importSnippets; 49 | - (void)performSnippetsImportWithPath:(NSString *)path; 50 | - (void)exportSnippets; 51 | 52 | - (NSManagedObjectContext *)managedObjectContext; 53 | 54 | 55 | @end 56 | -------------------------------------------------------------------------------- /Classes/FRATextMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRATextMenuController : NSObject 18 | { 19 | //NSArray *availableEncodingsArray; 20 | 21 | IBOutlet NSMenu *textEncodingMenu; 22 | IBOutlet NSMenu *reloadTextWithEncodingMenu; 23 | IBOutlet NSMenu *syntaxDefinitionMenu; 24 | } 25 | 26 | + (FRATextMenuController *)sharedInstance; 27 | 28 | - (void)buildEncodingsMenus; 29 | - (void)buildSyntaxDefinitionsMenu; 30 | 31 | - (void)changeEncodingAction:(id)sender; 32 | 33 | - (IBAction)removeNeedlessWhitespaceAction:(id)sender; 34 | - (IBAction)detabAction:(id)sender; 35 | - (IBAction)entabAction:(id)sender; 36 | - (void)performEntab; 37 | - (void)performDetab; 38 | - (IBAction)shiftLeftAction:(id)sender; 39 | - (IBAction)shiftRightAction:(id)sender; 40 | - (IBAction)toLowercaseAction:(id)sender; 41 | - (IBAction)toUppercaseAction:(id)sender; 42 | - (IBAction)capitaliseAction:(id)sender; 43 | - (IBAction)goToLineAction:(id)sender; 44 | - (void)performGoToLine:(NSInteger)lineToGoTo; 45 | - (IBAction)closeTagAction:(id)sender; 46 | - (IBAction)commentOrUncommentAction:(id)sender; 47 | - (IBAction)emptyDummyAction:(id)sender; 48 | - (IBAction)removeLineEndingsAction:(id)sender; 49 | - (IBAction)changeLineEndingsAction:(id)sender; 50 | - (IBAction)interchangeAdjacentCharactersAction:(id)sender; 51 | - (IBAction)prepareForXMLAction:(id)sender; 52 | - (IBAction)duplicateLineAction:(id)sender; 53 | 54 | - (IBAction)changeSyntaxDefinitionAction:(id)sender; 55 | @end 56 | -------------------------------------------------------------------------------- /Classes/FRASyntaxDefinitionManagedObject.m: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import "FRAStandardHeader.h" 16 | 17 | #import "FRASyntaxDefinitionManagedObject.h" 18 | #import "FRAApplicationDelegate.h" 19 | #import "FRAVariousPerformer.h" 20 | 21 | @implementation FRASyntaxDefinitionManagedObject 22 | 23 | - (void)didChangeValueForKey:(NSString *)key 24 | { 25 | [super didChangeValueForKey:key]; 26 | 27 | if ([[FRAApplicationDelegate sharedInstance] hasFinishedLaunching] == NO) { 28 | return; 29 | } 30 | 31 | if ([FRAVarious isChangingSyntaxDefinitionsProgrammatically] == YES) { 32 | return; 33 | } 34 | 35 | NSDictionary *changedObject = [NSDictionary dictionaryWithObjects:[NSArray arrayWithObjects:[self valueForKey:@"name"], [self valueForKey:@"extensions"], nil] forKeys:[NSArray arrayWithObjects:@"name", @"extensions", nil]]; 36 | if ([FRADefaults valueForKey:@"ChangedSyntaxDefinitions"]) { 37 | NSMutableArray *changedSyntaxDefinitionsArray = [NSMutableArray arrayWithArray:[FRADefaults valueForKey:@"ChangedSyntaxDefinitions"]]; 38 | NSArray *array = [NSArray arrayWithArray:changedSyntaxDefinitionsArray]; 39 | for (id item in array) { 40 | if ([[item valueForKey:@"name"] isEqualToString:[self valueForKey:@"name"]]) { 41 | [changedSyntaxDefinitionsArray removeObject:item]; 42 | } 43 | } 44 | [changedSyntaxDefinitionsArray addObject:changedObject]; 45 | [FRADefaults setValue:changedSyntaxDefinitionsArray forKey:@"ChangedSyntaxDefinitions"]; 46 | } else { 47 | [FRADefaults setValue:[NSArray arrayWithObject:changedObject] forKey:@"ChangedSyntaxDefinitions"]; 48 | } 49 | } 50 | @end 51 | -------------------------------------------------------------------------------- /Classes/FRAToolsMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Fraise version 3.7 - Based on Smultron by Peter Borg 3 | Written by Jean-François Moy - jeanfrancois.moy@gmail.com 4 | Find the latest version at http://github.com/jfmoy/Fraise 5 | 6 | Copyright 2010 Jean-François Moy 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 13 | */ 14 | 15 | #import 16 | 17 | @interface FRAToolsMenuController : NSObject 18 | { 19 | IBOutlet NSMenu *runCommandMenu; 20 | IBOutlet NSMenu *insertSnippetMenu; 21 | IBOutlet NSMenu *functionsMenu; 22 | 23 | NSTextView *textViewToInsertColourInto; 24 | } 25 | 26 | + (FRAToolsMenuController *)sharedInstance; 27 | 28 | - (IBAction)createSnippetFromSelectionAction:(id)sender; 29 | - (IBAction)insertColourAction:(id)sender; 30 | - (IBAction)previewAction:(id)sender; 31 | - (IBAction)reloadPreviewAction:(id)sender; 32 | - (IBAction)showCommandsWindowAction:(id)sender; 33 | - (IBAction)runTextAction:(id)sender; 34 | - (IBAction)showSnippetsWindowAction:(id)sender; 35 | - (IBAction)previousFunctionAction:(id)sender; 36 | - (IBAction)nextFunctionAction:(id)sender; 37 | 38 | - (void)buildInsertSnippetMenu; 39 | - (void)buildRunCommandMenu; 40 | 41 | - (IBAction)emptyDummyAction:(id)sender; 42 | 43 | - (IBAction)getInfoAction:(id)sender; 44 | - (IBAction)refreshInfoAction:(id)sender; 45 | 46 | - (IBAction)importSnippetsAction:(id)sender; 47 | - (IBAction)exportSnippetsAction:(id)sender; 48 | 49 | - (IBAction)importCommandsAction:(id)sender; 50 | - (IBAction)exportCommandsAction:(id)sender; 51 | 52 | - (IBAction)showCommandResultWindowAction:(id)sender; 53 | - (IBAction)runSelectionInlineAction:(id)sender; 54 | 55 | - (IBAction)runCommandAction:(id)sender; 56 | - (IBAction)newCommandAction:(id)sender; 57 | - (IBAction)newCommandCollectionAction:(id)sender; 58 | 59 | - (IBAction)newSnippetAction:(id)sender; 60 | - (IBAction)newSnippetCollectionAction:(id)sender; 61 | 62 | @end 63 | --------------------------------------------------------------------------------