├── Growl.framework ├── Versions │ ├── Current │ └── A │ │ ├── Growl │ │ ├── Headers │ │ └── Growl.h │ │ ├── _CodeSignature │ │ └── CodeResources │ │ └── Resources │ │ └── Info.plist ├── Growl ├── Headers └── Resources ├── CURLHandle.framework ├── Versions │ ├── Current │ └── A │ │ ├── CURLHandle │ │ ├── Frameworks │ │ └── libcurl.dylib │ │ ├── Headers │ │ ├── CURLProtocol.h │ │ └── CURLFTPSession.h │ │ └── Resources │ │ └── Info.plist ├── Headers ├── CURLHandle └── Resources ├── Sparkle.framework ├── Versions │ ├── Current │ └── A │ │ ├── Sparkle │ │ ├── Resources │ │ ├── fr_CA.lproj │ │ ├── fr.lproj │ │ │ ├── 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 │ │ ├── relaunch │ │ ├── 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 │ │ ├── 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 ├── ShortcutRecorder.framework ├── Versions │ ├── Current │ └── A │ │ ├── ShortcutRecorder │ │ ├── Headers │ │ ├── SR_LeopardView.h │ │ ├── SRKeyCodeTransformer.h │ │ ├── ShortcutRecorder.h │ │ ├── SRValidator.h │ │ └── SRRecorderControl.h │ │ └── Resources │ │ └── Info.plist ├── Headers ├── Resources └── ShortcutRecorder ├── FileShuttle ├── en.lproj │ └── InfoPlist.strings ├── status_item.png ├── status_item@2x.png ├── status_item_empty.png ├── status_item_error.png ├── status_item_mask.png ├── status_item_empty@2x.png ├── status_item_error@2x.png ├── status_item_mask@2x.png ├── status_item_completed.png ├── status_item_completed@2x.png ├── status_item_highlighted.png ├── status_item_highlighted@2x.png ├── FileShuttle-Prefix.pch ├── main.m ├── Growl Registration Ticket.growlRegDict ├── dsa_pub.pem ├── AppController.h └── FileShuttle-Info.plist ├── fileshuttle.icns ├── README.md ├── assets └── icon_menubar.psd ├── RegexKit.framework ├── RegexKit ├── Versions │ ├── A │ │ ├── RegexKit │ │ ├── Resources │ │ │ ├── English.lproj │ │ │ │ ├── pcre.strings │ │ │ │ ├── InfoPlist.strings │ │ │ │ └── Localizable.strings │ │ │ └── Info.plist │ │ └── Headers │ │ │ ├── NSSet.h │ │ │ ├── NSData.h │ │ │ ├── RKUtility.h │ │ │ ├── NSDictionary.h │ │ │ ├── RegexKit.h │ │ │ ├── NSArray.h │ │ │ └── NSObject.h │ └── Current │ │ ├── RegexKit │ │ ├── Resources │ │ ├── English.lproj │ │ │ ├── pcre.strings │ │ │ ├── InfoPlist.strings │ │ │ └── Localizable.strings │ │ └── Info.plist │ │ └── Headers │ │ ├── NSSet.h │ │ ├── NSData.h │ │ ├── RKUtility.h │ │ ├── NSDictionary.h │ │ ├── RegexKit.h │ │ ├── NSArray.h │ │ └── NSObject.h ├── Resources │ ├── English.lproj │ │ ├── pcre.strings │ │ ├── InfoPlist.strings │ │ └── Localizable.strings │ ├── Info.plist │ └── LICENSE └── Headers │ ├── NSSet.h │ ├── NSData.h │ ├── RKUtility.h │ ├── NSDictionary.h │ ├── RegexKit.h │ ├── NSArray.h │ └── NSObject.h ├── FileShuttle.xcodeproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── sshversion.h ├── MVDictionaryKeyCombo.h ├── NSPasteboard+Files.h ├── NSString+MD5.h ├── MVZipFiles.h ├── NSBezierPath-RoundedRect.h ├── MVSFTPFileUpload.h ├── MVURLShortener.h ├── MVFTPFileUpload.h ├── MVDockImage.h ├── MVFileUploadDelegate.h ├── MVDictionaryKeyCombo.m ├── NSString+MD5.m ├── MVScreenshotsListener.h ├── MVURLShortener.m ├── MVFileUpload.h ├── MVPreferencesController.h ├── MVFileUploader.h ├── NSBezierPath-RoundedRect.m ├── NSPasteboard+Files.m ├── MVStatusItemView.h ├── MVFileUpload.m ├── MVZipFiles.m ├── DDHotKeyCenter.h ├── .gitignore └── MVScreenshotsListener.m /Growl.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /Sparkle.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /Growl.framework/Growl: -------------------------------------------------------------------------------- 1 | Versions/Current/Growl -------------------------------------------------------------------------------- /Growl.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /CURLHandle.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Growl.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Sparkle.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Sparkle.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Sparkle.framework/Sparkle: -------------------------------------------------------------------------------- 1 | Versions/Current/Sparkle -------------------------------------------------------------------------------- /CURLHandle.framework/CURLHandle: -------------------------------------------------------------------------------- 1 | Versions/Current/CURLHandle -------------------------------------------------------------------------------- /CURLHandle.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /ShortcutRecorder.framework/ShortcutRecorder: -------------------------------------------------------------------------------- 1 | Versions/Current/ShortcutRecorder -------------------------------------------------------------------------------- /FileShuttle/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /fileshuttle.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/fileshuttle.icns -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | FileShuttle 2 | =========== 3 | 4 | MIGRATED to https://github.com/FileShuttle/fileshuttle 5 | -------------------------------------------------------------------------------- /assets/icon_menubar.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/assets/icon_menubar.psd -------------------------------------------------------------------------------- /FileShuttle/status_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item.png -------------------------------------------------------------------------------- /RegexKit.framework/RegexKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/RegexKit -------------------------------------------------------------------------------- /FileShuttle/status_item@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item@2x.png -------------------------------------------------------------------------------- /FileShuttle/status_item_empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_empty.png -------------------------------------------------------------------------------- /FileShuttle/status_item_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_error.png -------------------------------------------------------------------------------- /FileShuttle/status_item_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_mask.png -------------------------------------------------------------------------------- /Growl.framework/Versions/A/Growl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Growl.framework/Versions/A/Growl -------------------------------------------------------------------------------- /FileShuttle/status_item_empty@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_empty@2x.png -------------------------------------------------------------------------------- /FileShuttle/status_item_error@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_error@2x.png -------------------------------------------------------------------------------- /FileShuttle/status_item_mask@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_mask@2x.png -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Sparkle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Sparkle -------------------------------------------------------------------------------- /FileShuttle/status_item_completed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_completed.png -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/RegexKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/A/RegexKit -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr_CA.lproj: -------------------------------------------------------------------------------- 1 | /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj -------------------------------------------------------------------------------- /FileShuttle/status_item_completed@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_completed@2x.png -------------------------------------------------------------------------------- /FileShuttle/status_item_highlighted.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_highlighted.png -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/fr.lproj: -------------------------------------------------------------------------------- 1 | /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/A/CURLHandle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/CURLHandle.framework/Versions/A/CURLHandle -------------------------------------------------------------------------------- /FileShuttle/status_item_highlighted@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/FileShuttle/status_item_highlighted@2x.png -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/RegexKit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/Current/RegexKit -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/relaunch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/relaunch -------------------------------------------------------------------------------- /Growl.framework/Versions/A/Headers/Growl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef __OBJC__ 4 | # include 5 | #endif 6 | -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/A/Frameworks/libcurl.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/CURLHandle.framework/Versions/A/Frameworks/libcurl.dylib -------------------------------------------------------------------------------- /RegexKit.framework/Resources/English.lproj/pcre.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Resources/English.lproj/pcre.strings -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/ShortcutRecorder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/ShortcutRecorder.framework/Versions/A/ShortcutRecorder -------------------------------------------------------------------------------- /RegexKit.framework/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /RegexKit.framework/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Resources/English.lproj/pcre.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/A/Resources/English.lproj/pcre.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/A/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/A/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Resources/English.lproj/pcre.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/Current/Resources/English.lproj/pcre.strings -------------------------------------------------------------------------------- /FileShuttle/FileShuttle-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'FileShuttle' target in the 'FileShuttle' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/Current/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Resources/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/HEAD/RegexKit.framework/Versions/Current/Resources/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/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/michaelvillar/fileshuttle/HEAD/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /FileShuttle.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /FileShuttle/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | 10 | int main(int argc, char *argv[]) 11 | { 12 | return NSApplicationMain(argc, (const char **)argv); 13 | } 14 | -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Headers/SR_LeopardView.h: -------------------------------------------------------------------------------- 1 | // 2 | // SR_LeopardView.h 3 | // SR Leopard 4 | // 5 | // Created by Jesper on 2007-10-19. 6 | // Copyright 2007 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SR_LeopardView : NSView { 12 | 13 | } 14 | 15 | @end -------------------------------------------------------------------------------- /sshversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2003 Regents of The University of Michigan. 3 | * All Rights Reserved. See COPYRIGHT. 4 | */ 5 | 6 | #define SFTP_LS_SHORT_FORM 0 7 | #define SFTP_LS_LONG_FORM 1 8 | #define SFTP_LS_EXTENDED_LONG_FORM 2 9 | #define SFTP_VERSION_UNSUPPORTED 0xff 10 | 11 | int sshversion(); 12 | 13 | -------------------------------------------------------------------------------- /MVDictionaryKeyCombo.h: -------------------------------------------------------------------------------- 1 | // 2 | // SRDictionaryKeyCombo.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/26/11. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | NSDictionary* MVDictionaryFromKeyCombo(KeyCombo keyCombo); 12 | KeyCombo MVKeyComboFromDictionary(NSDictionary *dic); -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Headers/SRKeyCodeTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // SRKeyCodeTransformer.h 3 | // ShortcutRecorder 4 | // 5 | // Copyright 2006-2007 Contributors. All rights reserved. 6 | // 7 | // License: BSD 8 | // 9 | // Contributors: 10 | // David Dauer 11 | // Jesper 12 | // Jamie Kirkpatrick 13 | 14 | #import 15 | 16 | @interface SRKeyCodeTransformer : NSValueTransformer {} @end 17 | -------------------------------------------------------------------------------- /NSPasteboard+Files.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSPasteboard+Files.h 3 | // Kickoff 4 | // 5 | // Created by Michael Villar on 7/6/11. 6 | // 7 | 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | /////////////////////////////////////////////////////////////////////////////////////////////////// 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | @interface NSPasteboard (Files) 12 | 13 | - (NSArray*)filesRepresentation; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Headers/ShortcutRecorder.h: -------------------------------------------------------------------------------- 1 | // 2 | // ShortcutRecorder.h 3 | // ShortcutRecorder 4 | // - 10.5 version only; master framework header 5 | // 6 | // Copyright 2007 Contributors. All rights reserved. 7 | // 8 | // License: BSD 9 | // 10 | // Contributors to this file: 11 | // Jesper 12 | 13 | #import 14 | #import 15 | #import 16 | #import 17 | #import 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /NSString+MD5.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+MD5.h 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | @interface NSString (MD5) 15 | 16 | - (NSString*)md5; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MVZipFiles.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVZipFiles.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/11/11. 6 | // 7 | 8 | #import 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @interface MVZipFiles : NSObject 14 | 15 | - (NSString*)zipFiles:(NSArray*)filenames; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /NSBezierPath-RoundedRect.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | /////////////////////////////////////////////////////////////////////////////////////////////////// 5 | /////////////////////////////////////////////////////////////////////////////////////////////////// 6 | @interface NSBezierPath (RoundedRect) 7 | 8 | + (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius; 9 | - (void)appendBezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius; 10 | 11 | @end -------------------------------------------------------------------------------- /MVSFTPFileUpload.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVSFTPFileUpload.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/13/11. 6 | // 7 | 8 | #import "MVFileUpload.h" 9 | #import 10 | 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | @interface MVSFTPFileUpload : MVFileUpload { 15 | pid_t scppid_; 16 | int masterfd_; 17 | } 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MVURLShortener.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVURLShortener.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/11/11. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | @interface MVURLShortener : NSObject 15 | 16 | - (NSString*)shortenURL:(NSString*)url; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /MVFTPFileUpload.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVFTPFileUpload.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/10/11. 6 | // 7 | 8 | #import 9 | #import "MVFileUpload.h" 10 | #import "MVFileUploadDelegate.h" 11 | #define kMyBufferSize 32768 12 | 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | /////////////////////////////////////////////////////////////////////////////////////////////////// 15 | /////////////////////////////////////////////////////////////////////////////////////////////////// 16 | @interface MVFTPFileUpload : MVFileUpload { 17 | 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/A/Headers/CURLProtocol.h: -------------------------------------------------------------------------------- 1 | // 2 | // CURLProtocol.h 3 | // CURLHandle 4 | // 5 | // Created by Mike Abdullah on 19/01/2012. 6 | // Copyright (c) 2012 Karelia Software. All rights reserved. 7 | // 8 | 9 | #import "CURLHandle.h" 10 | 11 | 12 | @interface NSURLRequest (CURLProtocol) 13 | - (BOOL)shouldUseCurlHandle; 14 | @end 15 | 16 | 17 | @interface NSMutableURLRequest (CURLProtocol) 18 | // Setting to YES automatically registers CURLProtocol with NSURLProtocol. You can do so earlier, manually if required 19 | - (void)setShouldUseCurlHandle:(BOOL)useCurl; 20 | @end 21 | 22 | 23 | @interface CURLProtocol : NSURLProtocol 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /FileShuttle/Growl Registration Ticket.growlRegDict: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | TicketVersion 13 | 1 14 | AllNotifications 15 | 16 | File uploaded 17 | URL copied 18 | Bad configuration 19 | 20 | DefaultNotifications 21 | 22 | File uploaded 23 | URL copied 24 | Bad configuration 25 | 26 | 27 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Growl.framework/Versions/A/_CodeSignature/CodeResources: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | files 6 | 7 | Resources/Info.plist 8 | 9 | SwzGt9RQsuVafBBrfBalB75dCwU= 10 | 11 | 12 | rules 13 | 14 | ^Resources/ 15 | 16 | ^Resources/.*\.lproj/ 17 | 18 | optional 19 | 20 | weight 21 | 1000 22 | 23 | ^Resources/.*\.lproj/locversion.plist$ 24 | 25 | omit 26 | 27 | weight 28 | 1100 29 | 30 | ^version.plist$ 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /MVDockImage.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVDockImage.h 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | #import "NSBezierPath-RoundedRect.h" 10 | 11 | extern int const MVDockImageStateNormal; 12 | extern int const MVDockImageStateUploading; 13 | extern int const MVDockImageStateComplete; 14 | extern int const MVDockImageStateError; 15 | 16 | /////////////////////////////////////////////////////////////////////////////////////////////////// 17 | /////////////////////////////////////////////////////////////////////////////////////////////////// 18 | /////////////////////////////////////////////////////////////////////////////////////////////////// 19 | @interface MVDockImage : NSImage { 20 | 21 | @private 22 | int state; 23 | float progression; 24 | NSImage *appIcon; 25 | } 26 | 27 | @property (assign, nonatomic) int state; 28 | @property (assign, nonatomic) float progression; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /MVFileUploadDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVFileUploadDelegate.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/10/11. 6 | // 7 | 8 | #import 9 | 10 | @class MVFileUpload; 11 | 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | /////////////////////////////////////////////////////////////////////////////////////////////////// 15 | @protocol MVFileUploadDelegate 16 | 17 | @optional 18 | - (void)fileUpload:(MVFileUpload*)fileUpload didFailWithError:(NSString*)error; 19 | - (void)fileUploadDidSuccess:(MVFileUpload*)fileUpload; 20 | - (void)fileUploadDidStartUpload:(MVFileUpload*)fileUpload; 21 | - (void)fileUpload:(MVFileUpload*)fileUpload didChangeProgression:(float)progression 22 | bytesRead:(long)bytesRead 23 | totalBytes:(long)totalBytes; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Headers/SRValidator.h: -------------------------------------------------------------------------------- 1 | // 2 | // SRValidator.h 3 | // ShortcutRecorder 4 | // 5 | // Copyright 2006-2007 Contributors. All rights reserved. 6 | // 7 | // License: BSD 8 | // 9 | // Contributors: 10 | // David Dauer 11 | // Jesper 12 | // Jamie Kirkpatrick 13 | 14 | #import 15 | 16 | @interface SRValidator : NSObject { 17 | id delegate; 18 | } 19 | 20 | - (id) initWithDelegate:(id)theDelegate; 21 | 22 | - (BOOL) isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags error:(NSError **)error; 23 | - (BOOL) isKeyCode:(NSInteger)keyCode andFlags:(NSUInteger)flags takenInMenu:(NSMenu *)menu error:(NSError **)error; 24 | 25 | - (id) delegate; 26 | - (void) setDelegate: (id) theDelegate; 27 | 28 | @end 29 | 30 | #pragma mark - 31 | 32 | @interface NSObject( SRValidation ) 33 | - (BOOL) shortcutValidator:(SRValidator *)validator isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags reason:(NSString **)aReason; 34 | @end 35 | -------------------------------------------------------------------------------- /MVDictionaryKeyCombo.m: -------------------------------------------------------------------------------- 1 | // 2 | // SRDictionaryKeyCombo.m 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/26/11. 6 | // 7 | 8 | #import "MVDictionaryKeyCombo.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | NSDictionary* MVDictionaryFromKeyCombo(KeyCombo keyCombo) 12 | { 13 | NSDictionary *values = [NSDictionary dictionaryWithObjectsAndKeys: 14 | [NSNumber numberWithShort:keyCombo.code], @"keyCode", 15 | [NSNumber numberWithUnsignedInteger:keyCombo.flags], @"modifierFlags", 16 | nil]; 17 | return values; 18 | } 19 | 20 | /////////////////////////////////////////////////////////////////////////////////////////////////// 21 | KeyCombo MVKeyComboFromDictionary(NSDictionary *dic) 22 | { 23 | short keyCode = [[dic valueForKey:@"keyCode"] shortValue]; 24 | unsigned int modifiedFlags = [[dic valueForKey:@"modifierFlags"] unsignedIntValue]; 25 | return SRMakeKeyCombo(keyCode, modifiedFlags); 26 | } -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /NSString+MD5.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSString+MD5.m 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import "NSString+MD5.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @implementation NSString (MD5) 14 | 15 | /////////////////////////////////////////////////////////////////////////////////////////////////// 16 | - (NSString*)md5 { 17 | NSData *md5data = [self dataUsingEncoding:NSUTF8StringEncoding]; 18 | unsigned char *digest = MD5([md5data bytes], [md5data length], NULL); 19 | NSString *digestStr = [NSString stringWithFormat: @"%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", 20 | digest[0], digest[1], 21 | digest[2], digest[3], 22 | digest[4], digest[5], 23 | digest[6], digest[7], 24 | digest[8], digest[9], 25 | digest[10], digest[11], 26 | digest[12], digest[13], 27 | digest[14], digest[15]]; 28 | return digestStr; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /MVScreenshotsListener.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVDirectoryListener.h 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | 10 | @protocol MVDirectoryListenerDelegate; 11 | 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | /////////////////////////////////////////////////////////////////////////////////////////////////// 15 | @interface MVScreenshotsListener : NSObject { 16 | 17 | } 18 | 19 | @property (assign, nonatomic) BOOL listening; 20 | @property (assign) NSObject *delegate; 21 | 22 | @end 23 | 24 | /////////////////////////////////////////////////////////////////////////////////////////////////// 25 | /////////////////////////////////////////////////////////////////////////////////////////////////// 26 | /////////////////////////////////////////////////////////////////////////////////////////////////// 27 | @protocol MVDirectoryListenerDelegate 28 | 29 | - (void)directoryListener:(MVScreenshotsListener*)aDirectoryListener 30 | newFile:(NSURL*)fileURL; 31 | 32 | @end -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11C74 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | ShortcutRecorder 11 | CFBundleIdentifier 12 | net.wafflesoftware.ShortcutRecorder.framework.Leopard 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.0 21 | DTCompiler 22 | 23 | DTPlatformBuild 24 | 4D199 25 | DTPlatformVersion 26 | GM 27 | DTSDKBuild 28 | 10K549 29 | DTSDKName 30 | macosx10.6 31 | DTXcode 32 | 0420 33 | DTXcodeBuild 34 | 4D199 35 | 36 | 37 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 12C2034 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | CURLHandle 11 | CFBundleIdentifier 12 | com.karelia.CURLHandle 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | CURLHandle 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | DTCompiler 24 | 25 | DTPlatformBuild 26 | 4H127 27 | DTPlatformVersion 28 | GM 29 | DTSDKBuild 30 | 11E52 31 | DTSDKName 32 | macosx10.7 33 | DTXcode 34 | 0460 35 | DTXcodeBuild 36 | 4H127 37 | 38 | 39 | -------------------------------------------------------------------------------- /FileShuttle/dsa_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIDOjCCAi0GByqGSM44BAEwggIgAoIBAQCkS51hfQxnG30d8419U3WTBoGi/V0y 3 | 3CTmV6PbFuWgZV0P1zQaEGQmsy2sQJJuHn3WJLnGA99+uC844m349nXmEX+3MjuK 4 | VIxZ9gli4hTlh3CxwfI9amEniJ2ekVKWZMniREcquCaMEPmDurZeCGGWqujw6TLG 5 | X0HM07bQ2vIe7aV46x8z/piCrHfA/sGZNEJkGcnaoU3zDmoMWnre+/lhlowF1n4M 6 | 9r/pxVXpkPzKnLyAYsAl3KwdEBZU8UMTZPvwEAsFbqZs14h9iqhruU87wrQSEcyL 7 | HdwNmgkQAAvOHyOLGFyMREuexNVr1sXNMb+kE5SaTKNE5PtPMYxHK9HlAhUA1a5h 8 | c5mmh3mCVZWdZMqflCgUkaMCggEATFfYXurQtcW8742yIu8jSoB0L7bpU7HpkB7K 9 | YZx8plfmntQaLSLn3/D7nVay6HqCoPaH/1FTbK8tI+vmf8Vow7845havBf+J2PSN 10 | tp8kk2lKeHUlvM1gha/1B3oeMAxdMF9JhgxFVZK/XiToKQcFZMlU+DUAWLnz6u8q 11 | ZJBpknEtwlW4bJcGJJqRs4qSMON615ZHV84k+1Gne2qcMmqENiUlwVj4WThdUw4v 12 | V4yClmT9Nq2vdvJ2ls433YUdlrVUrujmJLdpDBZn/IBEdLRnolzdAogb8GhUy2rV 13 | C+7jQjIzjUfIZjbxdbYU9SDmSMP0Ln5l6ceK/7Olky9x+bqopQOCAQUAAoIBADLd 14 | QsvdIkQUJZ4zCTEkUtkFNzJ/tBrcZ0XJ5QRladVMz3u6CNcNDfdLmUjLyBz5vPWh 15 | zpuoPziyHLewqJXhv0YXz9nEX7BDew/4/KXI3/pYt6rMdiJcqbNE4VRI8WK6tRMc 16 | lCaq9RCq+iYRULNX0kZ6I0wfx2OBAowzXBukMi5Qlfbb3KqdwFg3ti+Tdek10Q2R 17 | MREgk6weZeGES06M1Ajv7oJYIHEpOLfyL9DCz+9xnpv6tDp22EueNRYyRzA48pTJ 18 | DtJ26i7TVyH06Tvlgq8ziumK6nb3h0o5k6mhuFz3Sn+jvtTI8Bl4rvjRjwXMNvlw 19 | 3szgLF3AYb4U6yHo9PU= 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 | -------------------------------------------------------------------------------- /MVURLShortener.m: -------------------------------------------------------------------------------- 1 | // 2 | // MVURLShortener.m 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/11/11. 6 | // 7 | 8 | #import "MVURLShortener.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @implementation MVURLShortener 14 | 15 | /////////////////////////////////////////////////////////////////////////////////////////////////// 16 | - (NSString*)shortenURL:(NSString*)url { 17 | NSString *shttleUrl = [NSString stringWithFormat: 18 | @"http://sht.tl/api.php?action=shorten&longUrl=%@",url]; 19 | NSString *doc = [NSString stringWithContentsOfURL:[NSURL URLWithString:shttleUrl] 20 | encoding:NSUTF8StringEncoding error:nil]; 21 | if(doc == nil) return nil; 22 | 23 | NSString *shortenedUrl = nil; 24 | BOOL matched = [doc getCapturesWithRegexAndReferences:@"\\(.*)\\<\\/shortUrl\\>", 25 | @"${1}", &shortenedUrl, nil]; 26 | if(matched) return shortenedUrl; 27 | return nil; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /MVFileUpload.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVFileUpload.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/10/11. 6 | // 7 | 8 | #import 9 | #import "MVFileUploadDelegate.h" 10 | 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | @interface MVFileUpload : NSObject { 15 | NSString *destination_; 16 | NSString *username_; 17 | NSString *password_; 18 | NSURL *source_; 19 | NSObject *delegate_; 20 | } 21 | 22 | @property (retain) NSString *destination; 23 | @property (retain) NSString *username; 24 | @property (retain) NSString *password; 25 | @property (retain) NSURL *source; 26 | @property (assign) NSObject *delegate; 27 | 28 | - (id)initWithDestination:(NSString *)destination 29 | username:(NSString *)username 30 | password:(NSString *)password 31 | source:(NSURL *)source 32 | delegate:(NSObject *)delegate; 33 | - (void)start; 34 | - (void)cancel; 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /Growl.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11C74 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | Growl 11 | CFBundleIdentifier 12 | com.growl.growlframework 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.3.1 19 | CFBundleSignature 20 | GRRR 21 | CFBundleVersion 22 | 1.3.1 23 | DTCompiler 24 | com.apple.compilers.llvm.clang.1_0 25 | DTPlatformBuild 26 | 4D199 27 | DTPlatformVersion 28 | GM 29 | DTSDKBuild 30 | 11C63 31 | DTSDKName 32 | macosx10.7 33 | DTXcode 34 | 0420 35 | DTXcodeBuild 36 | 4D199 37 | NSPrincipalClass 38 | GrowlApplicationBridge 39 | 40 | 41 | -------------------------------------------------------------------------------- /RegexKit.framework/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | RegexKit 9 | CFBundleIdentifier 10 | com.zang.RegexKit 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | RegexKit 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.6.0 19 | CFBundleSignature 20 | ZanG 21 | CFBundleVersion 22 | 0.6.0 23 | LSMinimumSystemVersion 24 | 10.4.0 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | i386 28 | 10.4.4 29 | ppc 30 | 10.4.0 31 | ppc64 32 | 10.5.0 33 | x86_64 34 | 10.5.0 35 | 36 | NSHumanReadableCopyright 37 | Copyright © 2007-2008, John Engelhart 38 | NSPrincipalClass 39 | RKRegex 40 | 41 | 42 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | RegexKit 9 | CFBundleIdentifier 10 | com.zang.RegexKit 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | RegexKit 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.6.0 19 | CFBundleSignature 20 | ZanG 21 | CFBundleVersion 22 | 0.6.0 23 | LSMinimumSystemVersion 24 | 10.4.0 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | i386 28 | 10.4.4 29 | ppc 30 | 10.4.0 31 | ppc64 32 | 10.5.0 33 | x86_64 34 | 10.5.0 35 | 36 | NSHumanReadableCopyright 37 | Copyright © 2007-2008, John Engelhart 38 | NSPrincipalClass 39 | RKRegex 40 | 41 | 42 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | RegexKit 9 | CFBundleIdentifier 10 | com.zang.RegexKit 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | RegexKit 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.6.0 19 | CFBundleSignature 20 | ZanG 21 | CFBundleVersion 22 | 0.6.0 23 | LSMinimumSystemVersion 24 | 10.4.0 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | i386 28 | 10.4.4 29 | ppc 30 | 10.4.0 31 | ppc64 32 | 10.5.0 33 | x86_64 34 | 10.5.0 35 | 36 | NSHumanReadableCopyright 37 | Copyright © 2007-2008, John Engelhart 38 | NSPrincipalClass 39 | RKRegex 40 | 41 | 42 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /MVPreferencesController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVPreferencesController.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 8/15/11. 6 | // 7 | 8 | #import 9 | #import 10 | 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | /////////////////////////////////////////////////////////////////////////////////////////////////// 14 | @interface MVPreferencesController : NSObject { 15 | BOOL showDockIcon_; 16 | NSTimer *passwordTimer_; 17 | NSWindow *window_; 18 | NSSecureTextField *passwordTextField_; 19 | NSPopUpButton *showInPopUpButton_; 20 | SRRecorderControl *clipboardRecorderControl_; 21 | NSPopUpButton *setFilenamePopUpButton; 22 | } 23 | 24 | @property (assign) IBOutlet NSWindow *window; 25 | @property (assign) IBOutlet NSToolbar *toolbar; 26 | @property (assign) IBOutlet NSView *generalView; 27 | @property (assign) IBOutlet NSView *advancedView; 28 | @property (assign) IBOutlet NSSecureTextField *passwordTextField; 29 | @property (assign) IBOutlet NSPopUpButton *showInPopUpButton; 30 | @property (assign) IBOutlet NSPopUpButton *setFilenamePopUpButton; 31 | @property (assign) IBOutlet SRRecorderControl *clipboardRecorderControl; 32 | 33 | - (IBAction)toolbarItemAction:(id)sender; 34 | - (IBAction)protocolChanged:(id)sender; 35 | - (IBAction)passwordChanged:(id)sender; 36 | - (IBAction)showInPopUpButtonChanged:(id)sender; 37 | - (IBAction)setFilenamePopUpButtonChanged:(id)sender; 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /FileShuttle/AppController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppController.h 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | #import 10 | #import 11 | #import "DDHotKeyCenter.h" 12 | #import "MVDockImage.h" 13 | #import "MVScreenshotsListener.h" 14 | #import "MVFileUploader.h" 15 | #import "MVURLShortener.h" 16 | #import "MVZipFiles.h" 17 | #import "MVStatusItemView.h" 18 | 19 | /////////////////////////////////////////////////////////////////////////////////////////////////// 20 | /////////////////////////////////////////////////////////////////////////////////////////////////// 21 | /////////////////////////////////////////////////////////////////////////////////////////////////// 22 | @interface AppController : NSObject 26 | { 27 | MVDockImage *dockImage_; 28 | MVScreenshotsListener *screenshotsDirectoryListener_; 29 | MVFileUploader *fileUploader_; 30 | NSTimer *restoreDockIconTimer_; 31 | NSStatusItem *statusItem_; 32 | MVStatusItemView *statusView_; 33 | NSMenu *statusMenu_; 34 | MVURLShortener *urlShortener_; 35 | MVZipFiles *zipFiles_; 36 | BOOL showDockIcon_; 37 | NSMutableArray *lastUploadedFilesMenuItems_; 38 | NSMenuItem *separatorMenuItem_; 39 | NSData *originalDockImageData_; 40 | KeyCombo registeredClipboardShortcut_; 41 | BOOL isRegisteredClipboardShortcut_; 42 | NSWindow *preferencesWindow_; 43 | } 44 | 45 | @property (assign) IBOutlet NSWindow *preferencesWindow; 46 | 47 | @end 48 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /MVFileUploader.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVFileUploader.h 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import 9 | #import "MVFTPFileUpload.h" 10 | #import "MVSFTPFileUpload.h" 11 | #import "MVFileUpload.h" 12 | #import "MVFileUploadDelegate.h" 13 | 14 | @class MVFileUploader; 15 | 16 | /////////////////////////////////////////////////////////////////////////////////////////////////// 17 | /////////////////////////////////////////////////////////////////////////////////////////////////// 18 | /////////////////////////////////////////////////////////////////////////////////////////////////// 19 | @protocol MVFileUploaderDelegate 20 | 21 | - (void)fileUploaderDidStart:(MVFileUploader*)fileUploader; 22 | - (void)fileUploader:(MVFileUploader*)fileUploader 23 | didChangeProgression:(float)progression; 24 | - (void)fileUploader:(MVFileUploader*)fileUploader 25 | didSuccess:(NSString*)url 26 | fileName:(NSString*)filename 27 | filePath:(NSString*)filepath; 28 | - (void)fileUploader:(MVFileUploader *)fileUploader 29 | didFailWithError:(NSString*)error; 30 | 31 | @end 32 | 33 | /////////////////////////////////////////////////////////////////////////////////////////////////// 34 | /////////////////////////////////////////////////////////////////////////////////////////////////// 35 | /////////////////////////////////////////////////////////////////////////////////////////////////// 36 | @interface MVFileUploader : NSObject { 37 | MVFileUpload *fileUpload_; 38 | NSString *filename_; 39 | NSString *filepath_; 40 | BOOL deleteFile_; 41 | int tries_; 42 | NSObject *delegate_; 43 | } 44 | 45 | @property (assign) NSObject *delegate; 46 | 47 | - (void)uploadFile:(NSString*)filepath 48 | toFilename:(NSString*)filename 49 | deleteFile:(BOOL)deleteFile; 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /NSBezierPath-RoundedRect.m: -------------------------------------------------------------------------------- 1 | #import "NSBezierPath-RoundedRect.h" 2 | 3 | /////////////////////////////////////////////////////////////////////////////////////////////////// 4 | /////////////////////////////////////////////////////////////////////////////////////////////////// 5 | /////////////////////////////////////////////////////////////////////////////////////////////////// 6 | @implementation NSBezierPath (RoundedRect) 7 | 8 | /////////////////////////////////////////////////////////////////////////////////////////////////// 9 | + (NSBezierPath *)bezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius 10 | { 11 | NSBezierPath *result = [NSBezierPath bezierPath]; 12 | [result appendBezierPathWithRoundedRect:rect cornerRadius:radius]; 13 | return result; 14 | } 15 | 16 | /////////////////////////////////////////////////////////////////////////////////////////////////// 17 | - (void)appendBezierPathWithRoundedRect:(NSRect)rect cornerRadius:(float)radius 18 | { 19 | if (!NSIsEmptyRect(rect)) 20 | { 21 | if (radius > 0.0) 22 | { 23 | float clampedRadius = MIN(radius, 0.5 * MIN(rect.size.width, rect.size.height)); 24 | 25 | NSPoint topLeft = NSMakePoint(NSMinX(rect), NSMaxY(rect)); 26 | NSPoint topRight = NSMakePoint(NSMaxX(rect), NSMaxY(rect)); 27 | NSPoint bottomRight = NSMakePoint(NSMaxX(rect), NSMinY(rect)); 28 | 29 | [self moveToPoint:NSMakePoint(NSMidX(rect), NSMaxY(rect))]; 30 | [self appendBezierPathWithArcFromPoint:topLeft toPoint:rect.origin radius:clampedRadius]; 31 | [self appendBezierPathWithArcFromPoint:rect.origin toPoint:bottomRight radius:clampedRadius]; 32 | [self appendBezierPathWithArcFromPoint:bottomRight toPoint:topRight radius:clampedRadius]; 33 | [self appendBezierPathWithArcFromPoint:topRight toPoint:topLeft radius:clampedRadius]; 34 | [self closePath]; 35 | } 36 | else 37 | { 38 | [self appendBezierPathWithRect:rect]; 39 | } 40 | } 41 | } 42 | 43 | @end -------------------------------------------------------------------------------- /NSPasteboard+Files.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSPasteboard+Files.m 3 | // Kickoff 4 | // 5 | // Created by Michael Villar on 7/6/11. 6 | // 7 | 8 | #import "NSPasteboard+Files.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @implementation NSPasteboard (Files) 14 | 15 | /////////////////////////////////////////////////////////////////////////////////////////////////// 16 | - (NSArray*)filesRepresentation { 17 | NSString *type = [self availableTypeFromArray: 18 | [NSArray arrayWithObjects: 19 | NSFilenamesPboardType,NSTIFFPboardType, 20 | NSPasteboardTypeTIFF,NSPasteboardTypePNG,nil]]; 21 | NSMutableArray *files = [NSMutableArray array]; 22 | if(!type) 23 | return files; 24 | NSData *data = [self dataForType:type]; 25 | if(type == NSTIFFPboardType || type == NSPasteboardTypeTIFF || type == NSPasteboardTypePNG) { 26 | NSDateFormatter* formatter = [[NSDateFormatter alloc] init]; 27 | [formatter setDateFormat:@"yyyy-MM-dd-HH-mm-ss"]; 28 | NSString *path = [NSString stringWithFormat:@"/tmp/image-%@.png", 29 | [formatter stringFromDate:[NSDate date]]]; 30 | [formatter release]; 31 | 32 | NSData *imageRepresentation = [[NSBitmapImageRep imageRepWithData:data] 33 | representationUsingType:NSPNGFileType 34 | properties:nil]; 35 | [imageRepresentation writeToFile:path atomically:YES]; 36 | 37 | [files addObject:path]; 38 | } 39 | else if(type == NSFilenamesPboardType) { 40 | NSString* errorDescription; 41 | files = [NSPropertyListSerialization propertyListFromData:data 42 | mutabilityOption:kCFPropertyListImmutable 43 | format:nil 44 | errorDescription:&errorDescription]; 45 | } 46 | 47 | if(!files) 48 | return [NSArray array]; 49 | return files; 50 | } 51 | 52 | @end 53 | -------------------------------------------------------------------------------- /MVStatusItemView.h: -------------------------------------------------------------------------------- 1 | // 2 | // MVStatusItemView.h 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/11/11. 6 | // 7 | 8 | #import 9 | 10 | extern int const MVStatusItemStateNormal; 11 | extern int const MVStatusItemStateUploading; 12 | extern int const MVStatusItemStateComplete; 13 | extern int const MVStatusItemStateError; 14 | 15 | @class MVStatusItemView; 16 | 17 | /////////////////////////////////////////////////////////////////////////////////////////////////// 18 | /////////////////////////////////////////////////////////////////////////////////////////////////// 19 | /////////////////////////////////////////////////////////////////////////////////////////////////// 20 | @protocol MVStatusItemViewDelegate 21 | 22 | @optional; 23 | - (void)statusItemView:(MVStatusItemView*)view 24 | didDropFiles:(NSArray*)filenames; 25 | - (void)statusItemView:(MVStatusItemView*)view 26 | didDropString:(NSString*)string; 27 | 28 | @end 29 | 30 | /////////////////////////////////////////////////////////////////////////////////////////////////// 31 | /////////////////////////////////////////////////////////////////////////////////////////////////// 32 | /////////////////////////////////////////////////////////////////////////////////////////////////// 33 | @interface MVStatusItemView : NSView { 34 | BOOL isMenuVisible_; 35 | NSStatusItem *statusItem_; 36 | NSImage *image_; 37 | NSImage *emptyImage_; 38 | NSImage *maskImage_; 39 | NSImage *alternateImage_; 40 | NSImage *errorImage_; 41 | NSImage *completedImage_; 42 | int state_; 43 | float progression_; 44 | NSObject *delegate_; 45 | } 46 | 47 | @property (retain) NSStatusItem *statusItem; 48 | @property (retain, nonatomic) NSImage *image; 49 | @property (retain, nonatomic) NSImage *emptyImage; 50 | @property (retain, nonatomic) NSImage *maskImage; 51 | @property (retain, nonatomic) NSImage *alternateImage; 52 | @property (retain, nonatomic) NSImage *errorImage; 53 | @property (retain, nonatomic) NSImage *completedImage; 54 | @property (assign, nonatomic) int state; 55 | @property (assign, nonatomic) float progression; 56 | @property (assign) NSObject *delegate; 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /ShortcutRecorder.framework/Versions/A/Headers/SRRecorderControl.h: -------------------------------------------------------------------------------- 1 | // 2 | // SRRecorderControl.h 3 | // ShortcutRecorder 4 | // 5 | // Copyright 2006-2007 Contributors. All rights reserved. 6 | // 7 | // License: BSD 8 | // 9 | // Contributors: 10 | // David Dauer 11 | // Jesper 12 | // Jamie Kirkpatrick 13 | 14 | #import 15 | #import "SRRecorderCell.h" 16 | 17 | @interface SRRecorderControl : NSControl 18 | { 19 | IBOutlet id delegate; 20 | } 21 | 22 | #pragma mark *** Aesthetics *** 23 | - (BOOL)animates; 24 | - (void)setAnimates:(BOOL)an; 25 | - (SRRecorderStyle)style; 26 | - (void)setStyle:(SRRecorderStyle)nStyle; 27 | 28 | #pragma mark *** Delegate *** 29 | - (id)delegate; 30 | - (void)setDelegate:(id)aDelegate; 31 | 32 | #pragma mark *** Key Combination Control *** 33 | 34 | - (NSUInteger)allowedFlags; 35 | - (void)setAllowedFlags:(NSUInteger)flags; 36 | 37 | - (BOOL)allowsKeyOnly; 38 | - (void)setAllowsKeyOnly:(BOOL)nAllowsKeyOnly escapeKeysRecord:(BOOL)nEscapeKeysRecord; 39 | - (BOOL)escapeKeysRecord; 40 | 41 | - (BOOL)canCaptureGlobalHotKeys; 42 | - (void)setCanCaptureGlobalHotKeys:(BOOL)inState; 43 | 44 | - (NSUInteger)requiredFlags; 45 | - (void)setRequiredFlags:(NSUInteger)flags; 46 | 47 | - (KeyCombo)keyCombo; 48 | - (void)setKeyCombo:(KeyCombo)aKeyCombo; 49 | 50 | - (NSString *)keyChars; 51 | - (NSString *)keyCharsIgnoringModifiers; 52 | 53 | #pragma mark *** Autosave Control *** 54 | 55 | - (NSString *)autosaveName; 56 | - (void)setAutosaveName:(NSString *)aName; 57 | 58 | #pragma mark - 59 | 60 | // Returns the displayed key combination if set 61 | - (NSString *)keyComboString; 62 | 63 | #pragma mark *** Conversion Methods *** 64 | 65 | - (NSUInteger)cocoaToCarbonFlags:(NSUInteger)cocoaFlags; 66 | - (NSUInteger)carbonToCocoaFlags:(NSUInteger)carbonFlags; 67 | 68 | #pragma mark *** Binding Methods *** 69 | 70 | - (NSDictionary *)objectValue; 71 | - (void)setObjectValue:(NSDictionary *)shortcut; 72 | 73 | @end 74 | 75 | // Delegate Methods 76 | @interface NSObject (SRRecorderDelegate) 77 | - (BOOL)shortcutRecorder:(SRRecorderControl *)aRecorder isKeyCode:(NSInteger)keyCode andFlagsTaken:(NSUInteger)flags reason:(NSString **)aReason; 78 | - (void)shortcutRecorder:(SRRecorderControl *)aRecorder keyComboDidChange:(KeyCombo)newKeyCombo; 79 | @end 80 | -------------------------------------------------------------------------------- /MVFileUpload.m: -------------------------------------------------------------------------------- 1 | // 2 | // MVFileUpload.m 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/10/11. 6 | // 7 | 8 | #import "MVFileUpload.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @implementation MVFileUpload 14 | 15 | @synthesize destination = destination_, 16 | username = username_, 17 | password = password_, 18 | source = source_, 19 | delegate = delegate_; 20 | 21 | /////////////////////////////////////////////////////////////////////////////////////////////////// 22 | /////////////////////////////////////////////////////////////////////////////////////////////////// 23 | #pragma mark - 24 | #pragma mark Memory management 25 | 26 | /////////////////////////////////////////////////////////////////////////////////////////////////// 27 | - (void)dealloc 28 | { 29 | [destination_ release]; 30 | [username_ release]; 31 | [password_ release]; 32 | [source_ release]; 33 | 34 | [super dealloc]; 35 | } 36 | 37 | /////////////////////////////////////////////////////////////////////////////////////////////////// 38 | /////////////////////////////////////////////////////////////////////////////////////////////////// 39 | #pragma mark - 40 | #pragma mark Public Methods 41 | 42 | /////////////////////////////////////////////////////////////////////////////////////////////////// 43 | - (id)initWithDestination:(NSString *)destination 44 | username:(NSString *)username 45 | password:(NSString *)password 46 | source:(NSURL *)source 47 | delegate:(NSObject *)delegate 48 | { 49 | self = [super init]; 50 | if(self) { 51 | destination_ = [destination retain]; 52 | username_ = [username retain]; 53 | password_ = [password retain]; 54 | source_ = [source retain]; 55 | delegate_ = delegate; 56 | } 57 | return self; 58 | } 59 | 60 | /////////////////////////////////////////////////////////////////////////////////////////////////// 61 | - (void)start { 62 | 63 | } 64 | 65 | /////////////////////////////////////////////////////////////////////////////////////////////////// 66 | - (void)cancel { 67 | 68 | } 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /FileShuttle/FileShuttle-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeExtensions 11 | 12 | * 13 | 14 | CFBundleTypeMIMETypes 15 | 16 | * 17 | 18 | CFBundleTypeName 19 | All files 20 | CFBundleTypeRole 21 | Editor 22 | LSTypeIsPackage 23 | 24 | NSPersistentStoreTypeKey 25 | XML 26 | 27 | 28 | CFBundleExecutable 29 | ${EXECUTABLE_NAME} 30 | CFBundleIconFile 31 | fileshuttle.icns 32 | CFBundleIdentifier 33 | com.michaelvillar.${PRODUCT_NAME:rfc1034identifier} 34 | CFBundleInfoDictionaryVersion 35 | 6.0 36 | CFBundleName 37 | ${PRODUCT_NAME} 38 | CFBundlePackageType 39 | APPL 40 | CFBundleShortVersionString 41 | 2.2 42 | CFBundleSignature 43 | ???? 44 | CFBundleVersion 45 | 6 46 | LSApplicationCategoryType 47 | public.app-category.productivity 48 | LSMinimumSystemVersion 49 | ${MACOSX_DEPLOYMENT_TARGET} 50 | LSUIElement 51 | 52 | NSMainNibFile 53 | MainMenu 54 | NSPrincipalClass 55 | NSApplication 56 | NSServices 57 | 58 | 59 | NSMenuItem 60 | 61 | default 62 | Upload text as a file 63 | 64 | NSMessage 65 | doString 66 | NSSendTypes 67 | 68 | NSStringPboardType 69 | 70 | 71 | 72 | SUEnableAutomaticChecks 73 | 74 | SUFeedURL 75 | http://updates.getfileshuttle.com/update.xml 76 | SUPublicDSAKeyFile 77 | dsa_pub.pem 78 | 79 | 80 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/NSSet.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSSet.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSSET_H_ 44 | #define _REGEXKIT_NSSET_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSSet (RegexKitAdditions) 51 | -(id)anyObjectMatchingRegex:(id)aRegex; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 54 | -(NSSet *)setByMatchingObjectsWithRegex:(id)aRegex; 55 | 56 | 57 | @end 58 | 59 | @interface NSMutableSet (RegexKitAdditions) 60 | -(void)removeObjectsMatchingRegex:(id)aRegex; 61 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 62 | - (void)addObjectsFromSet:(NSSet *)otherSet matchingRegex:(id)aRegex; 63 | 64 | @end 65 | 66 | #endif // _REGEXKIT_NSSET_H_ 67 | 68 | #ifdef __cplusplus 69 | } /* extern "C" */ 70 | #endif 71 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/NSData.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSData.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDATA_H_ 44 | #define _REGEXKIT_NSDATA_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSData (RegexKitAdditions) 51 | - (BOOL)isMatchedByRegex:(id)aRegex; 52 | - (BOOL)isMatchedByRegex:(id)aRegex inRange:(const NSRange)range; 53 | - (NSRange)rangeOfRegex:(id)aRegex; 54 | - (NSRange)rangeOfRegex:(id)aRegex inRange:(const NSRange)range capture:(const RKUInteger)capture; 55 | - (NSRange *)rangesOfRegex:(id)aRegex; 56 | - (NSRange *)rangesOfRegex:(id)aRegex inRange:(const NSRange)range; 57 | - (NSData *)subdataByMatching:(id)aRegex; 58 | - (NSData *)subdataByMatching:(id)aRegex inRange:(const NSRange)range; 59 | 60 | @end 61 | 62 | #endif // _REGEXKIT_NSDATA_H_ 63 | 64 | #ifdef __cplusplus 65 | } /* extern "C" */ 66 | #endif 67 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/NSSet.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSSet.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSSET_H_ 44 | #define _REGEXKIT_NSSET_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSSet (RegexKitAdditions) 51 | -(id)anyObjectMatchingRegex:(id)aRegex; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 54 | -(NSSet *)setByMatchingObjectsWithRegex:(id)aRegex; 55 | 56 | 57 | @end 58 | 59 | @interface NSMutableSet (RegexKitAdditions) 60 | -(void)removeObjectsMatchingRegex:(id)aRegex; 61 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 62 | - (void)addObjectsFromSet:(NSSet *)otherSet matchingRegex:(id)aRegex; 63 | 64 | @end 65 | 66 | #endif // _REGEXKIT_NSSET_H_ 67 | 68 | #ifdef __cplusplus 69 | } /* extern "C" */ 70 | #endif 71 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/NSData.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSData.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDATA_H_ 44 | #define _REGEXKIT_NSDATA_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSData (RegexKitAdditions) 51 | - (BOOL)isMatchedByRegex:(id)aRegex; 52 | - (BOOL)isMatchedByRegex:(id)aRegex inRange:(const NSRange)range; 53 | - (NSRange)rangeOfRegex:(id)aRegex; 54 | - (NSRange)rangeOfRegex:(id)aRegex inRange:(const NSRange)range capture:(const RKUInteger)capture; 55 | - (NSRange *)rangesOfRegex:(id)aRegex; 56 | - (NSRange *)rangesOfRegex:(id)aRegex inRange:(const NSRange)range; 57 | - (NSData *)subdataByMatching:(id)aRegex; 58 | - (NSData *)subdataByMatching:(id)aRegex inRange:(const NSRange)range; 59 | 60 | @end 61 | 62 | #endif // _REGEXKIT_NSDATA_H_ 63 | 64 | #ifdef __cplusplus 65 | } /* extern "C" */ 66 | #endif 67 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/NSSet.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSSet.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSSET_H_ 44 | #define _REGEXKIT_NSSET_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSSet (RegexKitAdditions) 51 | -(id)anyObjectMatchingRegex:(id)aRegex; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 54 | -(NSSet *)setByMatchingObjectsWithRegex:(id)aRegex; 55 | 56 | 57 | @end 58 | 59 | @interface NSMutableSet (RegexKitAdditions) 60 | -(void)removeObjectsMatchingRegex:(id)aRegex; 61 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 62 | - (void)addObjectsFromSet:(NSSet *)otherSet matchingRegex:(id)aRegex; 63 | 64 | @end 65 | 66 | #endif // _REGEXKIT_NSSET_H_ 67 | 68 | #ifdef __cplusplus 69 | } /* extern "C" */ 70 | #endif 71 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/NSData.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSData.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDATA_H_ 44 | #define _REGEXKIT_NSDATA_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | 50 | @interface NSData (RegexKitAdditions) 51 | - (BOOL)isMatchedByRegex:(id)aRegex; 52 | - (BOOL)isMatchedByRegex:(id)aRegex inRange:(const NSRange)range; 53 | - (NSRange)rangeOfRegex:(id)aRegex; 54 | - (NSRange)rangeOfRegex:(id)aRegex inRange:(const NSRange)range capture:(const RKUInteger)capture; 55 | - (NSRange *)rangesOfRegex:(id)aRegex; 56 | - (NSRange *)rangesOfRegex:(id)aRegex inRange:(const NSRange)range; 57 | - (NSData *)subdataByMatching:(id)aRegex; 58 | - (NSData *)subdataByMatching:(id)aRegex inRange:(const NSRange)range; 59 | 60 | @end 61 | 62 | #endif // _REGEXKIT_NSDATA_H_ 63 | 64 | #ifdef __cplusplus 65 | } /* extern "C" */ 66 | #endif 67 | -------------------------------------------------------------------------------- /MVZipFiles.m: -------------------------------------------------------------------------------- 1 | // 2 | // MVZipFiles.m 3 | // FileShuttle 4 | // 5 | // Created by Michael Villar on 12/11/11. 6 | // 7 | 8 | #import "MVZipFiles.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @implementation MVZipFiles 14 | 15 | /////////////////////////////////////////////////////////////////////////////////////////////////// 16 | - (NSString*)zipFiles:(NSArray*)filenames 17 | { 18 | NSString *tmpDirectory = @"/tmp/fileshuttle_files/"; 19 | BOOL isDirectory; 20 | if([[NSFileManager defaultManager] fileExistsAtPath:tmpDirectory 21 | isDirectory:&isDirectory]) 22 | { 23 | [[NSFileManager defaultManager] removeItemAtPath:tmpDirectory error:nil]; 24 | } 25 | [[NSFileManager defaultManager] createDirectoryAtPath:tmpDirectory 26 | withIntermediateDirectories:YES 27 | attributes:nil 28 | error:nil]; 29 | 30 | NSString *path = @"/tmp/files.zip"; 31 | if([[NSFileManager defaultManager] fileExistsAtPath:path]) 32 | [[NSFileManager defaultManager] removeItemAtPath:path error:nil]; 33 | 34 | NSTask *zipTask = [[NSTask alloc] init]; 35 | [zipTask setCurrentDirectoryPath:tmpDirectory]; 36 | [zipTask setLaunchPath:@"/usr/bin/zip"]; 37 | 38 | NSMutableArray *args = [NSMutableArray arrayWithObjects:@"-q", @"-r", @"-b", @".", 39 | path, 40 | nil]; 41 | 42 | NSString *file; 43 | for(file in filenames) { 44 | NSString *tmpFile = [NSString stringWithFormat: 45 | @"%@%@",tmpDirectory,[file lastPathComponent]]; 46 | [[NSFileManager defaultManager] createSymbolicLinkAtPath:tmpFile 47 | withDestinationPath:file 48 | error:nil]; 49 | [args addObject:[file lastPathComponent]]; 50 | } 51 | 52 | [zipTask setArguments:args]; 53 | 54 | // launch it and wait for execution 55 | [zipTask launch]; 56 | [zipTask waitUntilExit]; 57 | 58 | // handle the task's termination status 59 | if ([zipTask terminationStatus] == 0) { 60 | [zipTask release]; 61 | NSDictionary *attributes=[NSDictionary dictionaryWithObject:[NSNumber numberWithShort:0644] forKey:NSFilePosixPermissions]; 62 | [[NSFileManager defaultManager] setAttributes:attributes ofItemAtPath:path error:nil]; 63 | return path; 64 | } 65 | [zipTask release]; 66 | return nil; 67 | } 68 | 69 | @end 70 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/RKUtility.h: -------------------------------------------------------------------------------- 1 | // 2 | // RKUtility.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_RKUTILITY_H_ 44 | #define _REGEXKIT_RKUTILITY_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | REGEXKIT_EXTERN NSString *RKStringFromNewlineOption(const int decodeNewlineOption, NSString *prefixString) RK_ATTRIBUTES(nonnull (2), used); 50 | REGEXKIT_EXTERN NSArray *RKArrayFromMatchOption(const RKMatchOption decodeMatchOption) RK_ATTRIBUTES(used); 51 | REGEXKIT_EXTERN NSArray *RKArrayFromCompileOption(const RKCompileOption decodeCompileOption) RK_ATTRIBUTES(used); 52 | REGEXKIT_EXTERN NSArray *RKArrayFromBuildConfig(const RKBuildConfig decodeBuildConfig) RK_ATTRIBUTES(used); 53 | REGEXKIT_EXTERN NSString *RKStringFromCompileErrorCode(const RKCompileErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 54 | REGEXKIT_EXTERN NSString *RKStringFromMatchErrorCode(const RKMatchErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 55 | 56 | #endif // _REGEXKIT_RKUTILITY_H_ 57 | 58 | #ifdef __cplusplus 59 | } /* extern "C" */ 60 | #endif 61 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/RKUtility.h: -------------------------------------------------------------------------------- 1 | // 2 | // RKUtility.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_RKUTILITY_H_ 44 | #define _REGEXKIT_RKUTILITY_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | REGEXKIT_EXTERN NSString *RKStringFromNewlineOption(const int decodeNewlineOption, NSString *prefixString) RK_ATTRIBUTES(nonnull (2), used); 50 | REGEXKIT_EXTERN NSArray *RKArrayFromMatchOption(const RKMatchOption decodeMatchOption) RK_ATTRIBUTES(used); 51 | REGEXKIT_EXTERN NSArray *RKArrayFromCompileOption(const RKCompileOption decodeCompileOption) RK_ATTRIBUTES(used); 52 | REGEXKIT_EXTERN NSArray *RKArrayFromBuildConfig(const RKBuildConfig decodeBuildConfig) RK_ATTRIBUTES(used); 53 | REGEXKIT_EXTERN NSString *RKStringFromCompileErrorCode(const RKCompileErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 54 | REGEXKIT_EXTERN NSString *RKStringFromMatchErrorCode(const RKMatchErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 55 | 56 | #endif // _REGEXKIT_RKUTILITY_H_ 57 | 58 | #ifdef __cplusplus 59 | } /* extern "C" */ 60 | #endif 61 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/RKUtility.h: -------------------------------------------------------------------------------- 1 | // 2 | // RKUtility.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_RKUTILITY_H_ 44 | #define _REGEXKIT_RKUTILITY_H_ 1 45 | 46 | #import 47 | #import 48 | #import 49 | REGEXKIT_EXTERN NSString *RKStringFromNewlineOption(const int decodeNewlineOption, NSString *prefixString) RK_ATTRIBUTES(nonnull (2), used); 50 | REGEXKIT_EXTERN NSArray *RKArrayFromMatchOption(const RKMatchOption decodeMatchOption) RK_ATTRIBUTES(used); 51 | REGEXKIT_EXTERN NSArray *RKArrayFromCompileOption(const RKCompileOption decodeCompileOption) RK_ATTRIBUTES(used); 52 | REGEXKIT_EXTERN NSArray *RKArrayFromBuildConfig(const RKBuildConfig decodeBuildConfig) RK_ATTRIBUTES(used); 53 | REGEXKIT_EXTERN NSString *RKStringFromCompileErrorCode(const RKCompileErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 54 | REGEXKIT_EXTERN NSString *RKStringFromMatchErrorCode(const RKMatchErrorCode decodeErrorCode) RK_ATTRIBUTES(used); 55 | 56 | #endif // _REGEXKIT_RKUTILITY_H_ 57 | 58 | #ifdef __cplusplus 59 | } /* extern "C" */ 60 | #endif 61 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/NSDictionary.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDICTIONARY_H_ 44 | #define _REGEXKIT_NSDICTIONARY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSDictionary (RegexKitAdditions) 50 | - (NSDictionary *)dictionaryByMatchingKeysWithRegex:(id)aRegex; 51 | - (NSDictionary *)dictionaryByMatchingObjectsWithRegex:(id)aRegex; 52 | - (BOOL)containsKeyMatchingRegex:(id)aRegex; 53 | - (BOOL)containsObjectMatchingRegex:(id)aRegex; 54 | - (NSArray *)keysMatchingRegex:(id)aRegex; 55 | - (NSArray *)keysForObjectsMatchingRegex:(id)aRegex; 56 | - (NSArray *)objectsForKeysMatchingRegex:(id)aRegex; 57 | - (NSArray *)objectsMatchingRegex:(id)regexObject; 58 | 59 | @end 60 | 61 | @interface NSMutableDictionary (RegexKitAdditions) 62 | - (void)addEntriesFromDictionary:(id)otherDictionary withKeysMatchingRegex:(id)aRegex; 63 | - (void)addEntriesFromDictionary:(id)otherDictionary withObjectsMatchingRegex:(id)aRegex; 64 | - (void)removeObjectsMatchingRegex:(id)aRegex; 65 | - (void)removeObjectsForKeysMatchingRegex:(id)aRegex; 66 | 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSDICTIONARY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/NSDictionary.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDICTIONARY_H_ 44 | #define _REGEXKIT_NSDICTIONARY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSDictionary (RegexKitAdditions) 50 | - (NSDictionary *)dictionaryByMatchingKeysWithRegex:(id)aRegex; 51 | - (NSDictionary *)dictionaryByMatchingObjectsWithRegex:(id)aRegex; 52 | - (BOOL)containsKeyMatchingRegex:(id)aRegex; 53 | - (BOOL)containsObjectMatchingRegex:(id)aRegex; 54 | - (NSArray *)keysMatchingRegex:(id)aRegex; 55 | - (NSArray *)keysForObjectsMatchingRegex:(id)aRegex; 56 | - (NSArray *)objectsForKeysMatchingRegex:(id)aRegex; 57 | - (NSArray *)objectsMatchingRegex:(id)regexObject; 58 | 59 | @end 60 | 61 | @interface NSMutableDictionary (RegexKitAdditions) 62 | - (void)addEntriesFromDictionary:(id)otherDictionary withKeysMatchingRegex:(id)aRegex; 63 | - (void)addEntriesFromDictionary:(id)otherDictionary withObjectsMatchingRegex:(id)aRegex; 64 | - (void)removeObjectsMatchingRegex:(id)aRegex; 65 | - (void)removeObjectsForKeysMatchingRegex:(id)aRegex; 66 | 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSDICTIONARY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/NSDictionary.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSDictionary.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSDICTIONARY_H_ 44 | #define _REGEXKIT_NSDICTIONARY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSDictionary (RegexKitAdditions) 50 | - (NSDictionary *)dictionaryByMatchingKeysWithRegex:(id)aRegex; 51 | - (NSDictionary *)dictionaryByMatchingObjectsWithRegex:(id)aRegex; 52 | - (BOOL)containsKeyMatchingRegex:(id)aRegex; 53 | - (BOOL)containsObjectMatchingRegex:(id)aRegex; 54 | - (NSArray *)keysMatchingRegex:(id)aRegex; 55 | - (NSArray *)keysForObjectsMatchingRegex:(id)aRegex; 56 | - (NSArray *)objectsForKeysMatchingRegex:(id)aRegex; 57 | - (NSArray *)objectsMatchingRegex:(id)regexObject; 58 | 59 | @end 60 | 61 | @interface NSMutableDictionary (RegexKitAdditions) 62 | - (void)addEntriesFromDictionary:(id)otherDictionary withKeysMatchingRegex:(id)aRegex; 63 | - (void)addEntriesFromDictionary:(id)otherDictionary withObjectsMatchingRegex:(id)aRegex; 64 | - (void)removeObjectsMatchingRegex:(id)aRegex; 65 | - (void)removeObjectsForKeysMatchingRegex:(id)aRegex; 66 | 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSDICTIONARY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/RegexKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // RegexKit.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_REGEXKIT_H_ 44 | #define _REGEXKIT_REGEXKIT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | // Include primary header for the runtime environment 50 | #ifdef __MACOSX_RUNTIME__ 51 | #import 52 | #else // Using GNUstep run time 53 | #import 54 | #import 55 | #endif //__MACOSX_RUNTIME__ defined in RegexKitDefines 56 | 57 | // RKLock and RKReadWriteLock are private classes 58 | @class RKRegex, RKCache, RKEnumerator, RKLock, RKReadWriteLock; 59 | 60 | #ifdef USE_AUTORELEASED_MALLOC 61 | @class RKAutoreleasedMemory; 62 | #endif 63 | 64 | #ifdef USE_PLACEHOLDER 65 | @class RKRegexPlaceholder; 66 | #endif 67 | 68 | #import 69 | 70 | #import 71 | #import 72 | #import 73 | #import 74 | #import 75 | #import 76 | #import 77 | #import 78 | #import 79 | #import 80 | 81 | 82 | #endif // _REGEXKIT_REGEXKIT_H_ 83 | 84 | #ifdef __cplusplus 85 | } /* extern "C" */ 86 | #endif 87 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/RegexKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // RegexKit.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_REGEXKIT_H_ 44 | #define _REGEXKIT_REGEXKIT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | // Include primary header for the runtime environment 50 | #ifdef __MACOSX_RUNTIME__ 51 | #import 52 | #else // Using GNUstep run time 53 | #import 54 | #import 55 | #endif //__MACOSX_RUNTIME__ defined in RegexKitDefines 56 | 57 | // RKLock and RKReadWriteLock are private classes 58 | @class RKRegex, RKCache, RKEnumerator, RKLock, RKReadWriteLock; 59 | 60 | #ifdef USE_AUTORELEASED_MALLOC 61 | @class RKAutoreleasedMemory; 62 | #endif 63 | 64 | #ifdef USE_PLACEHOLDER 65 | @class RKRegexPlaceholder; 66 | #endif 67 | 68 | #import 69 | 70 | #import 71 | #import 72 | #import 73 | #import 74 | #import 75 | #import 76 | #import 77 | #import 78 | #import 79 | #import 80 | 81 | 82 | #endif // _REGEXKIT_REGEXKIT_H_ 83 | 84 | #ifdef __cplusplus 85 | } /* extern "C" */ 86 | #endif 87 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/RegexKit.h: -------------------------------------------------------------------------------- 1 | // 2 | // RegexKit.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_REGEXKIT_H_ 44 | #define _REGEXKIT_REGEXKIT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | // Include primary header for the runtime environment 50 | #ifdef __MACOSX_RUNTIME__ 51 | #import 52 | #else // Using GNUstep run time 53 | #import 54 | #import 55 | #endif //__MACOSX_RUNTIME__ defined in RegexKitDefines 56 | 57 | // RKLock and RKReadWriteLock are private classes 58 | @class RKRegex, RKCache, RKEnumerator, RKLock, RKReadWriteLock; 59 | 60 | #ifdef USE_AUTORELEASED_MALLOC 61 | @class RKAutoreleasedMemory; 62 | #endif 63 | 64 | #ifdef USE_PLACEHOLDER 65 | @class RKRegexPlaceholder; 66 | #endif 67 | 68 | #import 69 | 70 | #import 71 | #import 72 | #import 73 | #import 74 | #import 75 | #import 76 | #import 77 | #import 78 | #import 79 | #import 80 | 81 | 82 | #endif // _REGEXKIT_REGEXKIT_H_ 83 | 84 | #ifdef __cplusplus 85 | } /* extern "C" */ 86 | #endif 87 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/NSArray.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSARRAY_H_ 44 | #define _REGEXKIT_NSARRAY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSArray (RegexKitAdditions) 50 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex; 51 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex inRange:(const NSRange)range; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(BOOL)containsObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 54 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 55 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 56 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex; 57 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 58 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex; 59 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 60 | 61 | @end 62 | 63 | @interface NSMutableArray (RegexKitAdditions) 64 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 65 | -(void)removeObjectsMatchingRegex:(id)aRegex; 66 | -(void)removeObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSARRAY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/NSArray.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSARRAY_H_ 44 | #define _REGEXKIT_NSARRAY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSArray (RegexKitAdditions) 50 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex; 51 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex inRange:(const NSRange)range; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(BOOL)containsObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 54 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 55 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 56 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex; 57 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 58 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex; 59 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 60 | 61 | @end 62 | 63 | @interface NSMutableArray (RegexKitAdditions) 64 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 65 | -(void)removeObjectsMatchingRegex:(id)aRegex; 66 | -(void)removeObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSARRAY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/NSArray.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSARRAY_H_ 44 | #define _REGEXKIT_NSARRAY_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSArray (RegexKitAdditions) 50 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex; 51 | -(NSArray *)arrayByMatchingObjectsWithRegex:(id)aRegex inRange:(const NSRange)range; 52 | -(BOOL)containsObjectMatchingRegex:(id)aRegex; 53 | -(BOOL)containsObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 54 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex; 55 | -(RKUInteger)countOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 56 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex; 57 | -(RKUInteger)indexOfObjectMatchingRegex:(id)aRegex inRange:(const NSRange)range; 58 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex; 59 | -(NSIndexSet *)indexSetOfObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 60 | 61 | @end 62 | 63 | @interface NSMutableArray (RegexKitAdditions) 64 | - (void)addObjectsFromArray:(NSArray *)otherArray matchingRegex:(id)aRegex; 65 | -(void)removeObjectsMatchingRegex:(id)aRegex; 66 | -(void)removeObjectsMatchingRegex:(id)aRegex inRange:(const NSRange)range; 67 | 68 | @end 69 | 70 | #endif // _REGEXKIT_NSARRAY_H_ 71 | 72 | #ifdef __cplusplus 73 | } /* extern "C" */ 74 | #endif 75 | -------------------------------------------------------------------------------- /RegexKit.framework/Headers/NSObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSOBJECT_H_ 44 | #define _REGEXKIT_NSOBJECT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSObject (RegexKitAdditions) 50 | - (BOOL)isMatchedByRegex:(id)aRegex; 51 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray; 52 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray; 53 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray; 54 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 55 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 56 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 57 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet; 58 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet; 59 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 60 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 61 | 62 | @end 63 | 64 | #endif // _REGEXKIT_NSOBJECT_H_ 65 | 66 | #ifdef __cplusplus 67 | } /* extern "C" */ 68 | #endif 69 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/A/Headers/NSObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSOBJECT_H_ 44 | #define _REGEXKIT_NSOBJECT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSObject (RegexKitAdditions) 50 | - (BOOL)isMatchedByRegex:(id)aRegex; 51 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray; 52 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray; 53 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray; 54 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 55 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 56 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 57 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet; 58 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet; 59 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 60 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 61 | 62 | @end 63 | 64 | #endif // _REGEXKIT_NSOBJECT_H_ 65 | 66 | #ifdef __cplusplus 67 | } /* extern "C" */ 68 | #endif 69 | -------------------------------------------------------------------------------- /RegexKit.framework/Versions/Current/Headers/NSObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSObject.h 3 | // RegexKit 4 | // http://regexkit.sourceforge.net/ 5 | // 6 | 7 | /* 8 | Copyright © 2007-2008, John Engelhart 9 | 10 | All rights reserved. 11 | 12 | Redistribution and use in source and binary forms, with or without 13 | modification, are permitted provided that the following conditions are met: 14 | 15 | * Redistributions of source code must retain the above copyright 16 | notice, this list of conditions and the following disclaimer. 17 | 18 | * Redistributions in binary form must reproduce the above copyright 19 | notice, this list of conditions and the following disclaimer in the 20 | documentation and/or other materials provided with the distribution. 21 | 22 | * Neither the name of the Zang Industries nor the names of its 23 | contributors may be used to endorse or promote products derived from 24 | this software without specific prior written permission. 25 | 26 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 27 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 28 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 29 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 30 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 31 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 32 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 33 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 34 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 35 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 36 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 37 | */ 38 | 39 | #ifdef __cplusplus 40 | extern "C" { 41 | #endif 42 | 43 | #ifndef _REGEXKIT_NSOBJECT_H_ 44 | #define _REGEXKIT_NSOBJECT_H_ 1 45 | 46 | #import 47 | #import 48 | 49 | @interface NSObject (RegexKitAdditions) 50 | - (BOOL)isMatchedByRegex:(id)aRegex; 51 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray; 52 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray; 53 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray; 54 | - (BOOL)isMatchedByAnyRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 55 | - (RKRegex *)anyMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 56 | - (RKRegex *)firstMatchingRegexInArray:(NSArray *)regexArray library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 57 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet; 58 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet; 59 | - (BOOL)isMatchedByAnyRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 60 | - (RKRegex *)anyMatchingRegexInSet:(NSSet *)regexSet library:(NSString *)library options:(RKCompileOption)libraryOptions error:(NSError **)error; 61 | 62 | @end 63 | 64 | #endif // _REGEXKIT_NSOBJECT_H_ 65 | 66 | #ifdef __cplusplus 67 | } /* extern "C" */ 68 | #endif 69 | -------------------------------------------------------------------------------- /DDHotKeyCenter.h: -------------------------------------------------------------------------------- 1 | /* 2 | DDHotKey -- DDHotKeyCenter.h 3 | 4 | Copyright (c) 2010, Dave DeLong 5 | 6 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 7 | 8 | The software is provided "as is", without warranty of any kind, including all implied warranties of merchantability and fitness. In no event shall the author(s) or copyright holder(s) 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. 9 | */ 10 | 11 | #import 12 | 13 | #if NS_BLOCKS_AVAILABLE 14 | //a convenient typedef for the required signature of a hotkey block callback 15 | typedef void (^DDHotKeyTask)(NSEvent*); 16 | #endif 17 | 18 | @interface DDHotKey : NSObject 19 | 20 | @property (nonatomic, readonly, retain) id target; 21 | @property (nonatomic, readonly) SEL action; 22 | @property (nonatomic, readonly, retain) id object; 23 | #if NS_BLOCKS_AVAILABLE 24 | @property (nonatomic, readonly, copy) DDHotKeyTask task; 25 | #endif 26 | 27 | @property (nonatomic, readonly) unsigned short keyCode; 28 | @property (nonatomic, readonly) NSUInteger modifierFlags; 29 | 30 | @end 31 | 32 | #pragma mark - 33 | 34 | @interface DDHotKeyCenter : NSObject { 35 | 36 | } 37 | 38 | /** 39 | Register a target/action hotkey. 40 | The modifierFlags must be a bitwise OR of NSCommandKeyMask, NSAlternateKeyMask, NSControlKeyMask, or NSShiftKeyMask; 41 | Returns YES if the hotkey was registered; NO otherwise. 42 | */ 43 | - (BOOL) registerHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags target:(id)target action:(SEL)action object:(id)object; 44 | 45 | #if NS_BLOCKS_AVAILABLE 46 | /** 47 | Register a block callback hotkey. 48 | The modifierFlags must be a bitwise OR of NSCommandKeyMask, NSAlternateKeyMask, NSControlKeyMask, or NSShiftKeyMask; 49 | Returns YES if the hotkey was registered; NO otherwise. 50 | */ 51 | - (BOOL) registerHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags task:(DDHotKeyTask)task; 52 | #endif 53 | 54 | /** 55 | See if a hotkey exists with the specified keycode and modifier flags. 56 | NOTE: this will only check among hotkeys you have explicitly registered with DDHotKeyCenter. This does not check all globally registered hotkeys. 57 | */ 58 | - (BOOL) hasRegisteredHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags; 59 | 60 | /** 61 | Unregister a specific hotkey 62 | */ 63 | - (void) unregisterHotKey:(DDHotKey *)hotKey; 64 | 65 | /** 66 | Unregister all hotkeys with a specific target 67 | */ 68 | - (void) unregisterHotKeysWithTarget:(id)target; 69 | 70 | /** 71 | Unregister all hotkeys with a specific target and action 72 | */ 73 | - (void) unregisterHotKeysWithTarget:(id)target action:(SEL)action; 74 | 75 | /** 76 | Unregister a hotkey with a specific keycode and modifier flags 77 | */ 78 | - (void) unregisterHotKeyWithKeyCode:(unsigned short)keyCode modifierFlags:(NSUInteger)flags; 79 | 80 | /** 81 | Returns a set of currently registered hotkeys 82 | **/ 83 | - (NSSet *) registeredHotKeys; 84 | 85 | @end 86 | 87 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ######################### 2 | # .gitignore file for Xcode4 / OS X Source projects 3 | # 4 | # NB: if you are storing "built" products, this WILL NOT WORK, 5 | # and you should use a different .gitignore (or none at all) 6 | # This file is for SOURCE projects, where there are many extra 7 | # files that we want to exclude 8 | # 9 | # For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects 10 | ######################### 11 | 12 | ##### 13 | # OS X temporary files that should never be committed 14 | 15 | .DS_Store 16 | *.swp 17 | *.lock 18 | profile 19 | 20 | 21 | #### 22 | # Xcode temporary files that should never be committed 23 | # 24 | # NB: NIB/XIB files still exist even on Storyboard projects, so we want this... 25 | 26 | *~.nib 27 | 28 | 29 | #### 30 | # Xcode build files - 31 | # 32 | # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "DerivedData" 33 | 34 | DerivedData/ 35 | 36 | # NB: slash on the end, so we only remove the FOLDER, not any files that were badly named "build" 37 | 38 | build/ 39 | 40 | 41 | ##### 42 | # Xcode private settings (window sizes, bookmarks, breakpoints, custom executables, smart groups) 43 | # 44 | # This is complicated: 45 | # 46 | # SOMETIMES you need to put this file in version control. 47 | # Apple designed it poorly - if you use "custom executables", they are 48 | # saved in this file. 49 | # 99% of projects do NOT use those, so they do NOT want to version control this file. 50 | # ..but if you're in the 1%, comment out the line "*.pbxuser" 51 | 52 | *.pbxuser 53 | *.mode1v3 54 | *.mode2v3 55 | *.perspectivev3 56 | # NB: also, whitelist the default ones, some projects need to use these 57 | !default.pbxuser 58 | !default.mode1v3 59 | !default.mode2v3 60 | !default.perspectivev3 61 | 62 | 63 | #### 64 | # Xcode 4 - semi-personal settings, often included in workspaces 65 | # 66 | # You can safely ignore the xcuserdata files - but do NOT ignore the files next to them 67 | # 68 | 69 | xcuserdata 70 | 71 | #### 72 | # XCode 4 workspaces - more detailed 73 | # 74 | # Workspaces are important! They are a core feature of Xcode - don't exclude them :) 75 | # 76 | # Workspace layout is quite spammy. For reference: 77 | # 78 | # (root)/ 79 | # (project-name).xcodeproj/ 80 | # project.pbxproj 81 | # project.xcworkspace/ 82 | # contents.xcworkspacedata 83 | # xcuserdata/ 84 | # (your name)/xcuserdatad/ 85 | # xcuserdata/ 86 | # (your name)/xcuserdatad/ 87 | # 88 | # 89 | # 90 | # Xcode 4 workspaces - SHARED 91 | # 92 | # This is UNDOCUMENTED (google: "developer.apple.com xcshareddata" - 0 results 93 | # But if you're going to kill personal workspaces, at least keep the shared ones... 94 | # 95 | # 96 | !xcshareddata 97 | 98 | #### 99 | # XCode 4 build-schemes 100 | # 101 | # PRIVATE ones are stored inside xcuserdata 102 | !xcschemes 103 | 104 | #### 105 | # Xcode 4 - Deprecated classes 106 | # 107 | # Allegedly, if you manually "deprecate" your classes, they get moved here. 108 | # 109 | # We're using source-control, so this is a "feature" that we do not want! 110 | 111 | *.moved-aside 112 | 113 | 114 | #### 115 | # UNKNOWN: recommended by others, but I can't discover what these files are 116 | # 117 | # ...none. Everything is now explained. 118 | -------------------------------------------------------------------------------- /CURLHandle.framework/Versions/A/Headers/CURLFTPSession.h: -------------------------------------------------------------------------------- 1 | // 2 | // CURLFTPSession.h 3 | // CURLHandle 4 | // 5 | // Created by Mike Abdullah on 04/03/2012. 6 | // Copyright (c) 2012 Karelia Software. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @protocol CURLFTPSessionDelegate; 13 | 14 | 15 | @interface CURLFTPSession : NSObject 16 | { 17 | @private 18 | CURLHandle *_handle; 19 | NSURLRequest *_request; 20 | NSURLCredential *_credential; 21 | 22 | id _delegate; 23 | 24 | NSMutableData *_data; 25 | void (^_progressBlock)(NSUInteger bytesWritten); 26 | } 27 | 28 | // Returns nil if not a supported FTP URL 29 | // All paths passed to a session are resolved relative to this request's URL. Normally you pass in a URL like ftp://example.com/ so it doesn't really make a difference! But let's say you passed in ftp://example.com/foo/ , a path of @"bar.html" would end up working on the file at ftp://example.com/foo/bar.html (i.e. the path foo/bar.html from the user's home directory) 30 | - (id)initWithRequest:(NSURLRequest *)request; 31 | @property(nonatomic, copy) NSURLRequest *baseRequest; // throws exception if not FTP URL 32 | 33 | - (void)useCredential:(NSURLCredential *)credential; 34 | 35 | // Note that it's possible for this method to return nil with an error of nil, although I don't know what circumstances could cause this 36 | - (NSString *)homeDirectoryPath:(NSError **)error; 37 | 38 | 39 | #pragma mark Discovering Directory Contents 40 | 41 | // Potentially, directory listings arrive in pieces. As the listing is parsed, each resource is passed to the block as dictionary with keys such as kCFFTPResourceName 42 | - (BOOL)enumerateContentsOfDirectoryAtPath:(NSString *)path 43 | error:(NSError **)error 44 | usingBlock:(void (^)(NSDictionary *parsedResourceListing))block; 45 | 46 | 47 | #pragma mark Creating and Deleting Items 48 | 49 | - (BOOL)createFileAtPath:(NSString *)path contents:(NSData *)data withIntermediateDirectories:(BOOL)createIntermediates error:(NSError **)error; 50 | 51 | #if NS_BLOCKS_AVAILABLE 52 | - (BOOL)createFileAtPath:(NSString *)path withContentsOfURL:(NSURL *)url withIntermediateDirectories:(BOOL)createIntermediates error:(NSError **)error progressBlock:(void (^)(NSUInteger bytesWritten))progressBlock; 53 | #endif 54 | 55 | - (BOOL)createDirectoryAtPath:(NSString *)path withIntermediateDirectories:(BOOL)createIntermediates error:(NSError **)error; 56 | 57 | - (BOOL)removeFileAtPath:(NSString *)path error:(NSError **)error; 58 | 59 | 60 | #pragma mark Setting Attributes 61 | // Only NSFilePosixPermissions is recognised at present. Note that some servers don't support this so will return an error (code 500) 62 | // All other attributes are ignored 63 | - (BOOL)setAttributes:(NSDictionary *)attributes ofItemAtPath:(NSString *)path error:(NSError **)error; 64 | 65 | 66 | #pragma mark Cancellation 67 | // Can call on any thread to cancel the current operation as soon as reasonable 68 | - (void)cancel; 69 | 70 | 71 | #pragma mark Delegate 72 | @property(nonatomic, assign) id delegate; 73 | 74 | 75 | #pragma mark FTP URLs 76 | + (NSURL *)URLWithPath:(NSString *)path relativeToURL:(NSURL *)baseURL; 77 | + (NSString *)pathOfURLRelativeToHomeDirectory:(NSURL *)URL; 78 | 79 | 80 | @end 81 | 82 | 83 | @protocol CURLFTPSessionDelegate 84 | - (void)FTPSession:(CURLFTPSession *)session didReceiveDebugInfo:(NSString *)info ofType:(curl_infotype)type; 85 | @end -------------------------------------------------------------------------------- /MVScreenshotsListener.m: -------------------------------------------------------------------------------- 1 | // 2 | // MVDirectoryListener.m 3 | // FileShuttle 4 | // 5 | // Created by Michaël on 26/04/11. 6 | // 7 | 8 | #import "MVScreenshotsListener.h" 9 | 10 | /////////////////////////////////////////////////////////////////////////////////////////////////// 11 | /////////////////////////////////////////////////////////////////////////////////////////////////// 12 | /////////////////////////////////////////////////////////////////////////////////////////////////// 13 | @interface MVScreenshotsListener () 14 | 15 | @property (retain) NSDate *date; 16 | @property (retain) NSMetadataQuery *query; 17 | 18 | @end 19 | 20 | /////////////////////////////////////////////////////////////////////////////////////////////////// 21 | /////////////////////////////////////////////////////////////////////////////////////////////////// 22 | /////////////////////////////////////////////////////////////////////////////////////////////////// 23 | @implementation MVScreenshotsListener 24 | 25 | @synthesize listening, 26 | query, 27 | date, 28 | delegate; 29 | 30 | /////////////////////////////////////////////////////////////////////////////////////////////////// 31 | - (id)init 32 | { 33 | self = [super init]; 34 | if (self) { 35 | date = [[NSDate alloc] init]; 36 | query = [[NSMetadataQuery alloc] init]; 37 | [query setDelegate:self]; 38 | [query setPredicate:[NSPredicate predicateWithFormat:@"kMDItemIsScreenCapture = 1"]]; 39 | [query startQuery]; 40 | } 41 | 42 | return self; 43 | } 44 | 45 | /////////////////////////////////////////////////////////////////////////////////////////////////// 46 | - (void)dealloc 47 | { 48 | [date release]; 49 | [query release]; 50 | [[NSNotificationCenter defaultCenter] removeObserver:self]; 51 | [super dealloc]; 52 | } 53 | 54 | /////////////////////////////////////////////////////////////////////////////////////////////////// 55 | - (void)setListening:(BOOL)isListening { 56 | if(listening == isListening) 57 | return; 58 | listening = isListening; 59 | NSNotificationCenter *nc = [NSNotificationCenter defaultCenter]; 60 | if(listening) { 61 | self.date = [NSDate date]; 62 | [nc addObserver:self selector:@selector(queryUpdated:) 63 | name:NSMetadataQueryDidStartGatheringNotification object:query]; 64 | [nc addObserver:self selector:@selector(queryUpdated:) 65 | name:NSMetadataQueryDidUpdateNotification object:query]; 66 | [nc addObserver:self selector:@selector(queryUpdated:) 67 | name:NSMetadataQueryDidFinishGatheringNotification object:query]; 68 | } 69 | else { 70 | [nc removeObserver:self]; 71 | } 72 | } 73 | 74 | /////////////////////////////////////////////////////////////////////////////////////////////////// 75 | - (void)queryUpdated:(NSNotification *)note { 76 | NSDate *newDate = nil; 77 | for (NSMetadataItem *result in self.query.results) { 78 | NSURL *fileURL = [NSURL fileURLWithPath:[result valueForAttribute:NSMetadataItemPathKey]]; 79 | if(!fileURL) 80 | continue; 81 | NSDate *creationDate = [result valueForAttribute:NSMetadataItemFSCreationDateKey]; 82 | if(creationDate != nil && [self.date compare:creationDate] == NSOrderedAscending) { 83 | if(newDate == nil || ([newDate compare:creationDate] == NSOrderedAscending)) { 84 | newDate = creationDate; 85 | } 86 | 87 | if([delegate respondsToSelector:@selector(directoryListener:newFile:)]) 88 | [delegate directoryListener:self newFile:fileURL]; 89 | } 90 | } 91 | 92 | if(newDate) 93 | self.date = newDate; 94 | } 95 | 96 | @end 97 | -------------------------------------------------------------------------------- /RegexKit.framework/Resources/LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Important Information 3 | --------------------- 4 | 5 | RegexKit uses the PCRE library, written by Philip Hazel and 6 | Copyright © 1997-2008 University of Cambridge, as its regular expression 7 | pattern matching engine. Therefore, RegexKit requires and incorporates the 8 | PCRE library in to the framework executable. Because of this, you should be 9 | aware of the PCRE library licensing requirements. 10 | 11 | Website: http://www.pcre.org/ 12 | License: http://www.pcre.org/license.txt 13 | Type : BSD License (at time of publication) 14 | 15 | The RegexKit BSD License 16 | ------------------------ 17 | 18 | Copyright © 2007-2008, John Engelhart 19 | 20 | All rights reserved. 21 | 22 | Redistribution and use in source and binary forms, with or without 23 | modification, are permitted provided that the following conditions are met: 24 | 25 | * Redistributions of source code must retain the above copyright 26 | notice, this list of conditions and the following disclaimer. 27 | 28 | * Redistributions in binary form must reproduce the above copyright 29 | notice, this list of conditions and the following disclaimer in the 30 | documentation and/or other materials provided with the distribution. 31 | 32 | * Neither the name of the Zang Industries nor the names of its 33 | contributors may be used to endorse or promote products derived from 34 | this software without specific prior written permission. 35 | 36 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 37 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 38 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 39 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 40 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 41 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 42 | TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 43 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 44 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 45 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 46 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 47 | 48 | The PCRE BSD License 49 | ------------------------ 50 | 51 | Copyright (c) 1997-2008 University of Cambridge 52 | All rights reserved. 53 | 54 | Redistribution and use in source and binary forms, with or without 55 | modification, are permitted provided that the following conditions are met: 56 | 57 | * Redistributions of source code must retain the above copyright notice, 58 | this list of conditions and the following disclaimer. 59 | 60 | * Redistributions in binary form must reproduce the above copyright 61 | notice, this list of conditions and the following disclaimer in the 62 | documentation and/or other materials provided with the distribution. 63 | 64 | * Neither the name of the University of Cambridge nor the name of Google 65 | Inc. nor the names of their contributors may be used to endorse or 66 | promote products derived from this software without specific prior 67 | written permission. 68 | 69 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 70 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 71 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 72 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 73 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 74 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 75 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 76 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 77 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 78 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 79 | POSSIBILITY OF SUCH DAMAGE. 80 | --------------------------------------------------------------------------------