├── .gitignore ├── CodaPlugin ├── CodaPlugInsController.h ├── CodaPlugin-Info.plist ├── CodaPlugin-Prefix.pch ├── EMCodaEditor.h ├── EMCodaEditor.m ├── EMCodaPlugin.h ├── EMCodaPlugin.m ├── KeyboardShortcuts.plist └── en.lproj │ └── InfoPlist.strings ├── Emmet.xcodeproj └── project.pbxproj ├── EspressoPlugin ├── EMEspressoEditor.h ├── EMEspressoEditor.m ├── EMGenericAction.h ├── EMGenericAction.m ├── EMPreferences.h ├── EMPreferences.m ├── EMUpdates.h ├── EMUpdates.m ├── Info.plist ├── Prefix.pch └── XML Based │ └── TextActions │ ├── Actions.xml │ └── Categories.xml ├── Frameworks └── JSCocoa.framework │ ├── Headers │ ├── JSCocoa │ ├── Resources │ └── Versions │ ├── A │ ├── Headers │ │ ├── BridgeSupportController.h │ │ ├── JSCocoa.h │ │ ├── JSCocoaController.h │ │ ├── JSCocoaFFIArgument.h │ │ ├── JSCocoaFFIClosure.h │ │ └── JSCocoaPrivateObject.h │ ├── JSCocoa │ └── Resources │ │ ├── English.lproj │ │ └── InfoPlist.strings │ │ ├── Info.plist │ │ ├── class.js │ │ ├── jslint-jscocoa.js │ │ └── json.js │ └── Current ├── JSCocoa Delegate ├── JSCocoaDelegate.h └── JSCocoaDelegate.m ├── JSCocoa ├── English.lproj │ └── InfoPlist.strings └── Info.plist ├── MGSFragaria.framework ├── Headers ├── MGSFragaria ├── Resources └── Versions │ ├── A │ ├── Headers │ │ ├── MGSExtraInterfaceController.h │ │ ├── MGSFragaria.h │ │ ├── MGSFragariaFontsAndColoursPrefsViewController.h │ │ ├── MGSFragariaPreferences.h │ │ ├── MGSFragariaPrefsViewController.h │ │ ├── MGSFragariaTextEditingPrefsViewController.h │ │ ├── MGSSyntaxController.h │ │ ├── MGSTextMenuController.h │ │ └── SMLTextView.h │ ├── MGSFragaria │ └── Resources │ │ ├── Info.plist │ │ ├── LICENSE-2.0.txt │ │ ├── LICENSE.html │ │ ├── MGSPreferencesFontsAndColours.nib │ │ ├── MGSPreferencesTextEditing.nib │ │ ├── README.md │ │ ├── SMLCommandResult.nib │ │ ├── SMLDetab.nib │ │ ├── SMLEntab.nib │ │ ├── SMLGoToLine.nib │ │ ├── SMLOpenPanelAccessoryView.nib │ │ ├── SMLRegularExpressionHelp.nib │ │ ├── Syntax Definitions │ │ ├── actionscript.plist │ │ ├── actionscript3.plist │ │ ├── active4d.plist │ │ ├── ada.plist │ │ ├── ampl.plist │ │ ├── apache.plist │ │ ├── applescript.plist │ │ ├── asm-mips.plist │ │ ├── asm-x86.plist │ │ ├── asp-js.plist │ │ ├── asp-vb.plist │ │ ├── aspdotnet-cs.plist │ │ ├── aspdotnet-vb.plist │ │ ├── awk.plist │ │ ├── batch.plist │ │ ├── c.plist │ │ ├── cobol.plist │ │ ├── coldfusion.plist │ │ ├── cpp.plist │ │ ├── csharp.plist │ │ ├── csound.plist │ │ ├── css.plist │ │ ├── d.plist │ │ ├── dylan.plist │ │ ├── eiffel.plist │ │ ├── erl.plist │ │ ├── eztpl.plist │ │ ├── f-script.plist │ │ ├── fortran.plist │ │ ├── freefem.plist │ │ ├── gedcom.plist │ │ ├── gnuassembler.plist │ │ ├── graphviz.plist │ │ ├── haskell.plist │ │ ├── header.plist │ │ ├── html.plist │ │ ├── idl.plist │ │ ├── java.plist │ │ ├── javafx.plist │ │ ├── javascript.plist │ │ ├── jsp.plist │ │ ├── latex.plist │ │ ├── lilypond.plist │ │ ├── lisp.plist │ │ ├── logtalk.plist │ │ ├── lsl.plist │ │ ├── lua.plist │ │ ├── matlab.plist │ │ ├── mel.plist │ │ ├── metapost.plist │ │ ├── metaslang.plist │ │ ├── mysql.plist │ │ ├── nemerle.plist │ │ ├── none.plist │ │ ├── nrnhoc.plist │ │ ├── objectivec.plist │ │ ├── objectivecaml.plist │ │ ├── ox.plist │ │ ├── pascal.plist │ │ ├── pdf.plist │ │ ├── perl.plist │ │ ├── php.plist │ │ ├── plist.plist │ │ ├── postscript.plist │ │ ├── prolog.plist │ │ ├── python.plist │ │ ├── r.plist │ │ ├── rhtml.plist │ │ ├── ruby.plist │ │ ├── scala.plist │ │ ├── sgml.plist │ │ ├── shell.plist │ │ ├── sml.plist │ │ ├── sql.plist │ │ ├── standard.plist │ │ ├── stata.plist │ │ ├── supercollider.plist │ │ ├── tcltk.plist │ │ ├── torquescript.plist │ │ ├── udo.plist │ │ ├── vb.plist │ │ ├── verilog.plist │ │ ├── vhdl.plist │ │ └── xml.plist │ │ └── SyntaxDefinitions.plist │ └── Current ├── Preferences ├── Basic │ ├── BasicPreferences.xib │ ├── EMBasicPreferencesWindowController.h │ └── EMBasicPreferencesWindowController.m ├── Sample │ ├── Preferences.xib │ ├── SnippetEditor.xib │ ├── VariableEditor.xib │ ├── ZenCodingCorePreferencesController.h │ ├── ZenCodingCorePreferencesController.m │ ├── ZenCodingPreferences.h │ ├── ZenCodingPreferences.m │ ├── ZenCodingSnippetEditor.h │ └── ZenCodingSnippetEditor.m ├── Snippets Preferences │ ├── ZCSnippetsPreferencesDataSource.h │ ├── ZCSnippetsPreferencesDataSource.m │ ├── ZCSnippetsPreferencesWindow.h │ ├── ZCSnippetsPreferencesWindow.m │ └── ZCSnippetsPreferencesWindow.xib └── Transformers │ ├── EMArrayTransformer.h │ ├── EMArrayTransformer.m │ ├── EMSyntaxNameTransformer.h │ ├── EMSyntaxNameTransformer.m │ ├── EMTildePathTransformer.h │ └── EMTildePathTransformer.m ├── Sparkle.framework ├── Headers ├── Resources ├── Sparkle └── Versions │ ├── A │ ├── Headers │ │ ├── SUAppcast.h │ │ ├── SUAppcastItem.h │ │ ├── SUUpdater.h │ │ ├── SUVersionComparisonProtocol.h │ │ └── Sparkle.h │ ├── Resources │ │ ├── Info.plist │ │ ├── License.txt │ │ ├── SUModelTranslation.plist │ │ ├── SUStatus.nib │ │ │ ├── classes.nib │ │ │ ├── info.nib │ │ │ └── keyedobjects.nib │ │ ├── de.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ ├── en.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ ├── es.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ ├── fr.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── Sparkle.strings │ │ │ └── fr.lproj │ │ ├── fr_CA.lproj │ │ ├── it.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ ├── nl.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ ├── relaunch │ │ ├── ru.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ │ ├── classes.nib │ │ │ │ ├── info.nib │ │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ │ └── sv.lproj │ │ │ ├── SUAutomaticUpdateAlert.nib │ │ │ ├── classes.nib │ │ │ ├── info.nib │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdateAlert.nib │ │ │ ├── classes.nib │ │ │ ├── info.nib │ │ │ └── keyedobjects.nib │ │ │ ├── SUUpdatePermissionPrompt.nib │ │ │ ├── classes.nib │ │ │ ├── info.nib │ │ │ └── keyedobjects.nib │ │ │ └── Sparkle.strings │ └── Sparkle │ └── Current ├── TextMatePlugin ├── EMTextMateEditor.h ├── EMTextMateEditor.m ├── EMTextmatePlugin.h ├── EMTextmatePlugin.m ├── KeyboardShortcuts.plist ├── OakTextView.h ├── TextMatePlugin-Info.plist ├── TextMatePlugin-Prefix.pch ├── en.lproj │ └── InfoPlist.strings └── textmate-bootstrap.js ├── ZenCoding ├── EMDefaultsKeys.h ├── EMJSContext.h ├── EMNotifications.h ├── EMPromptDialogController.h ├── EMPromptDialogController.m ├── EMUserDataLoader.h ├── EMUserDataLoader.m ├── Emmet-Info.plist ├── Emmet-Prefix.pch ├── Emmet.h ├── Emmet.m ├── EmmetEditor.h ├── EmmetFile.h ├── EmmetFile.m ├── NSMutableDictionary+EMUtils.h ├── NSMutableDictionary+EMUtils.m ├── NSTextView+EmmetEditor.h ├── NSTextView+EmmetEditor.m ├── PreferencesDefaults.plist ├── PromptDialog.xib ├── Sample.plist ├── dsa_pub.pem ├── emmet-app.js ├── en.lproj │ └── InfoPlist.strings ├── file-interface.js ├── logo.tiff ├── logo@2x.tiff ├── objc-zeneditor-wrap.js └── snippets.json ├── ZenCodingSample ├── EMFragariaEditor.h ├── EMFragariaEditor.m ├── EmmetSample-Info.plist ├── EmmetSample-Prefix.pch ├── ZenCodingSampleAppDelegate.h ├── ZenCodingSampleAppDelegate.m ├── en.lproj │ ├── Credits.rtf │ ├── InfoPlist.strings │ └── MainMenu.xib └── main.m ├── build.sh └── change_name.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Emmet.xcodeproj/project.xcworkspace/ 3 | Emmet.xcodeproj/xcuserdata/ 4 | /build/ -------------------------------------------------------------------------------- /CodaPlugin/CodaPlugin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | logo.tiff 11 | CFBundleIdentifier 12 | io.emmet.EmmetCoda 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Emmet 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | CodaPlugInSupportedAPIVersion 26 | 6 27 | NSHumanReadableCopyright 28 | Copyright © 2012 serge.che@gmail.com. All rights reserved. 29 | NSPrincipalClass 30 | EMCodaPlugin 31 | SUPublicDSAKeyFile 32 | dsa_pub.pem 33 | SUEnableAutomaticChecks 34 | 35 | SUFeedURL 36 | http://download.emmet.io/coda/appcast.xml 37 | 38 | 39 | -------------------------------------------------------------------------------- /CodaPlugin/CodaPlugin-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'CodaPlugin' target in the 'CodaPlugin' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /CodaPlugin/EMCodaEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // CodaZenEditor.h 3 | // ZenCodingCoda 4 | // 5 | // Created by Сергей Чикуёнок on 2/19/12. 6 | // Copyright 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CodaPlugInsController.h" 11 | #import "Emmet.h" 12 | #import "EmmetEditor.h" 13 | 14 | #define DEFAULT_SYNTAX @"html" 15 | #define DEFAULT_PROFILE @"xhtml" 16 | 17 | @interface EMCodaEditor : NSObject { 18 | CodaTextView *tv; 19 | } 20 | 21 | @property (nonatomic, retain) CodaTextView *tv; 22 | 23 | - (id)initWithCodaView:(CodaTextView *)view; 24 | 25 | @end 26 | -------------------------------------------------------------------------------- /CodaPlugin/EMCodaPlugin.h: -------------------------------------------------------------------------------- 1 | // 2 | // CodaSample.h 3 | // CodaSample 4 | // 5 | // Created by Sergey Chikuyonok. 6 | // Copyright 2012. All rights reserved. 7 | // 8 | #import 9 | #import "CodaPlugInsController.h" 10 | #import "EMCodaEditor.h" 11 | #import "EMBasicPreferencesWindowController.h" 12 | #import 13 | 14 | @class CodaPlugInsController; 15 | 16 | @interface EMCodaPlugin : NSObject { 17 | CodaPlugInsController* controller; 18 | EMCodaEditor *editor; 19 | EMBasicPreferencesWindowController *prefs; 20 | NSString *keyboardShortcutsPlist; 21 | SUUpdater *updater; 22 | } 23 | 24 | - (void)performMenuAction:(id)sender; 25 | - (void)checkForUpdates:(id)sender; 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /CodaPlugin/KeyboardShortcuts.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | expand_abbreviation 6 | ^e 7 | wrap_with_abbreviation 8 | ^a 9 | update_image_size 10 | ^i 11 | next_edit_point 12 | ^ 13 | prev_edit_point 14 | ^ 15 | select_next_item 16 | ^$ 17 | select_previous_item 18 | ^$ 19 | match_pair_outward 20 | ^$d 21 | merge_lines 22 | ^m 23 | remove_tag 24 | @' 25 | split_join_tag 26 | @$' 27 | toggle_comment 28 | @\ 29 | evaluate_math_expression 30 | @y 31 | reflect_css_value 32 | ^r 33 | encode_decode_data_url 34 | ^$i 35 | increment_number_by_1 36 | ^ 37 | decrement_number_by_1 38 | ^ 39 | increment_number_by_01 40 | ~ 41 | decrement_number_by_01 42 | ~ 43 | increment_number_by_10 44 | ^$ 45 | decrement_number_by_10 46 | ^$ 47 | 48 | 49 | -------------------------------------------------------------------------------- /CodaPlugin/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /EspressoPlugin/EMEspressoEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // EspressoEmmetEditor.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/25/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "Emmet.h" 11 | 12 | @interface EMEspressoEditor : NSObject { 13 | NSObject *ctx; 14 | } 15 | 16 | - (id)initWithContext:(NSObject *)context; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /EspressoPlugin/EMGenericAction.h: -------------------------------------------------------------------------------- 1 | // 2 | // EMGenericAction.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/25/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface EMGenericAction : NSObject { 12 | NSDictionary *actionParams; 13 | } 14 | 15 | - (id)initWithDictionary:(NSDictionary *)dictionary bundlePath:(NSString *)bundlePath; 16 | - (BOOL)performActionWithContext:(id)context error:(NSError **)outError; 17 | - (BOOL)canPerformActionWithContext:(id)context; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /EspressoPlugin/EMGenericAction.m: -------------------------------------------------------------------------------- 1 | // 2 | // EMGenericAction.m 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/25/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "EMGenericAction.h" 10 | #import "EspressoSDK.h" 11 | #import "Emmet.h" 12 | #import "JSCocoaDelegate.h" 13 | #import "EMEspressoEditor.h" 14 | 15 | static NSString * const EmmetBundleIdentifier = @"io.emmet.EspressoPlugin"; 16 | 17 | @implementation EMGenericAction 18 | 19 | + (NSBundle *)bundle { 20 | return [NSBundle bundleWithIdentifier:EmmetBundleIdentifier]; 21 | } 22 | 23 | + (void)initialize { 24 | [Emmet setJSContextDelegateClass:[JSCocoaDelegate class]]; 25 | NSBundle *bundle = [EMGenericAction bundle]; 26 | [Emmet addCoreFile:[bundle pathForResource:@"textmate-bootstrap" ofType:@"js"]]; 27 | } 28 | 29 | - (id)initWithDictionary:(NSDictionary *)dictionary bundlePath:(NSString *)bundlePath { 30 | actionParams = [dictionary copy]; 31 | return [super init]; 32 | } 33 | 34 | - (BOOL)canPerformActionWithContext:(id)context { 35 | return YES; 36 | } 37 | 38 | - (BOOL)performActionWithContext:(NSObject *)context error:(NSError **)outError { 39 | NSString *actionName = [actionParams objectForKey:@"name"]; 40 | Emmet *zc = [Emmet sharedInstance]; 41 | EMEspressoEditor *editor = [[[EMEspressoEditor alloc] initWithContext:context] autorelease]; 42 | zc.context = editor; 43 | 44 | if ([actionName isEqualToString:@"expand_abbreviation"]) { 45 | SXSelector *cssSelector = [SXSelector selectorWithString:@"property-list.block.css, property-list.block.css *"]; 46 | SXZone *zone = [context.syntaxTree zoneAtCharacterIndex:[editor caretPos]]; 47 | if ([cssSelector matches:zone] && [editor selectionRange].length > 0) { 48 | // If we are in a CSS zone, delete the selected range (because it 49 | // likely is CodeSense filling in, and will screw up our abbreviation) 50 | CETextRecipe *recipe = [CETextRecipe new]; 51 | [recipe deleteRange:[editor selectionRange]]; 52 | [context applyTextRecipe:recipe]; 53 | [recipe release]; 54 | } 55 | } 56 | 57 | BOOL result = [zc runAction:actionName]; 58 | zc.context = nil; 59 | return result; 60 | } 61 | 62 | - (void)dealloc { 63 | [actionParams release]; 64 | [super dealloc]; 65 | } 66 | 67 | @end 68 | -------------------------------------------------------------------------------- /EspressoPlugin/EMPreferences.h: -------------------------------------------------------------------------------- 1 | // 2 | // EMPreferences.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/27/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "EMBasicPreferencesWindowController.h" 11 | 12 | @interface EMPreferences : NSObject { 13 | EMBasicPreferencesWindowController *prefs; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /EspressoPlugin/EMPreferences.m: -------------------------------------------------------------------------------- 1 | // 2 | // EMPreferences.m 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/27/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "EMPreferences.h" 10 | 11 | @implementation EMPreferences 12 | 13 | - (BOOL)canPerformActionWithContext:(id)context { 14 | return YES; 15 | } 16 | 17 | - (BOOL)performActionWithContext:(NSObject *)context error:(NSError **)outError { 18 | if (prefs == nil) { 19 | prefs = [EMBasicPreferencesWindowController new]; 20 | [prefs hideTabExpanderControl]; 21 | } 22 | 23 | [prefs showWindow:self]; 24 | return YES; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /EspressoPlugin/EMUpdates.h: -------------------------------------------------------------------------------- 1 | // 2 | // EMUpdates.h 3 | // Emmet 4 | // 5 | // Created by Sergey Chikuyonok on 2/21/13. 6 | // Copyright (c) 2013 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface EMUpdates : NSObject { 13 | SUUpdater *updater; 14 | } 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /EspressoPlugin/EMUpdates.m: -------------------------------------------------------------------------------- 1 | // 2 | // EMUpdates.m 3 | // Emmet 4 | // 5 | // Created by Sergey Chikuyonok on 2/21/13. 6 | // Copyright (c) 2013 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "EMUpdates.h" 10 | 11 | @implementation EMUpdates 12 | 13 | - (BOOL)canPerformActionWithContext:(id)context { 14 | return YES; 15 | } 16 | 17 | - (BOOL)performActionWithContext:(NSObject *)context error:(NSError **)outError { 18 | if (updater == nil) { 19 | NSBundle *bundle = [NSBundle bundleWithIdentifier:@"io.emmet.EspressoPlugin"]; 20 | updater = [SUUpdater updaterForBundle:bundle]; 21 | [updater setAutomaticallyChecksForUpdates:NO]; 22 | [updater resetUpdateCycle]; 23 | } 24 | 25 | [updater checkForUpdates:context]; 26 | return YES; 27 | } 28 | 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /EspressoPlugin/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | logo.tiff 11 | CFBundleIdentifier 12 | io.emmet.EspressoPlugin 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Emmet 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2012 Sergey Chikuyonok. All rights reserved. 27 | SUPublicDSAKeyFile 28 | dsa_pub.pem 29 | SUEnableAutomaticChecks 30 | 31 | SUFeedURL 32 | http://download.emmet.io/espresso/appcast.xml 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /EspressoPlugin/Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | 9 | #define MRRelease(arg) {[arg release]; arg = nil;} 10 | -------------------------------------------------------------------------------- /EspressoPlugin/XML Based/TextActions/Categories.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Emmet 6 | 7 | 8 | HTML 9 | 10 | 11 | CSS 12 | 13 | 14 | Number 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/JSCocoa: -------------------------------------------------------------------------------- 1 | Versions/Current/JSCocoa -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Headers/BridgeSupportController.h: -------------------------------------------------------------------------------- 1 | // 2 | // BridgeSupportController.h 3 | // JSCocoa 4 | // 5 | // Created by Patrick Geiller on 08/07/08. 6 | // Copyright 2008 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE 10 | #import 11 | #endif 12 | 13 | @interface BridgeSupportController : NSObject { 14 | 15 | 16 | NSMutableArray* paths; 17 | NSMutableArray* xmlDocuments; 18 | 19 | NSMutableDictionary* hash; 20 | NSMutableDictionary* variadicSelectors; 21 | NSMutableDictionary* variadicFunctions; 22 | } 23 | 24 | + (id)sharedController; 25 | 26 | - (BOOL)loadBridgeSupport:(NSString*)path; 27 | - (BOOL)isBridgeSupportLoaded:(NSString*)path; 28 | - (NSUInteger)bridgeSupportIndexForString:(NSString*)string; 29 | 30 | - (NSMutableDictionary*)variadicSelectors; 31 | - (NSMutableDictionary*)variadicFunctions; 32 | 33 | /* 34 | - (NSString*)query:(NSString*)name withType:(NSString*)type; 35 | - (NSString*)query:(NSString*)name withType:(NSString*)type inBridgeSupportFile:(NSString*)file; 36 | */ 37 | - (NSString*)queryName:(NSString*)name; 38 | - (NSString*)queryName:(NSString*)name type:(NSString*)type; 39 | 40 | - (NSArray*)keys; 41 | 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Headers/JSCocoa.h: -------------------------------------------------------------------------------- 1 | // 2 | // JSCocoa.h 3 | // JSCocoa 4 | // 5 | // Created by Patrick Geiller on 16/12/08. 6 | // Copyright 2008 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | 10 | #define JSCOCOA 11 | #import "JSCocoaController.h" -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Headers/JSCocoaFFIClosure.h: -------------------------------------------------------------------------------- 1 | // 2 | // JSCocoaFFIClosure.h 3 | // JSCocoa 4 | // 5 | // Created by Patrick Geiller on 29/07/08. 6 | // Copyright 2008 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE 10 | #import 11 | #import 12 | #define MACOSX 13 | #import 14 | #endif 15 | #import "JSCocoaFFIArgument.h" 16 | 17 | #if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE 18 | #import "iPhone/libffi/ffi.h" 19 | #endif 20 | 21 | 22 | @interface JSCocoaFFIClosure : NSObject { 23 | 24 | JSValueRef jsFunction; 25 | // ##UNSURE This might cause a crash if we're registered in a non global context that will have been destroyed when we JSValueUnprotect the function 26 | JSContextRef ctx; 27 | 28 | ffi_cif cif; 29 | #if !TARGET_OS_IPHONE 30 | ffi_closure* closure; 31 | #endif 32 | ffi_type** argTypes; 33 | 34 | NSMutableArray* encodings; 35 | 36 | JSObjectRef jsThisObject; 37 | 38 | BOOL isObjC; 39 | } 40 | 41 | - (IMP)setJSFunction:(JSValueRef)fn inContext:(JSContextRef)ctx argumentEncodings:(NSMutableArray*)argumentEncodings objC:(BOOL)objC; 42 | - (void*)functionPointer; 43 | - (void)calledByClosureWithArgs:(void**)args returnValue:(void*)returnValue; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Headers/JSCocoaPrivateObject.h: -------------------------------------------------------------------------------- 1 | // 2 | // JSCocoaPrivateObject.h 3 | // JSCocoa 4 | // 5 | // Created by Patrick Geiller on 09/07/08. 6 | // Copyright 2008 __MyCompanyName__. All rights reserved. 7 | // 8 | 9 | #if !TARGET_IPHONE_SIMULATOR && !TARGET_OS_IPHONE 10 | #import 11 | #import 12 | #endif 13 | 14 | #import 15 | #import 16 | //#import 17 | #import 18 | #import 19 | 20 | // 21 | // Boxing object 22 | // 23 | // type 24 | // @ ObjC object 25 | // struct C struct 26 | // method ObjC method name 27 | // function C function 28 | // rawPointer raw C pointer (_C_PTR) 29 | // jsFunction Javascript function 30 | // jsValueRef raw jsvalue 31 | // externalJSValueRef jsvalue coming from an external context (eg, a WebView) 32 | // 33 | 34 | @interface JSCocoaPrivateObject : NSObject { 35 | 36 | NSString* type; 37 | NSString* xml; 38 | NSString* methodName; 39 | NSString* structureName; 40 | 41 | NSString* declaredType; 42 | void* rawPointer; 43 | 44 | id object; 45 | 46 | Method method; 47 | 48 | JSValueRef jsValue; 49 | JSContextRef ctx; 50 | unsigned int externalJSValueIndex; 51 | // (test) when storing JSValues from a WebView, used to retain the WebView's context. 52 | // Disabled for now. Just make sure the WebView has a longer life than the vars it uses. 53 | // 54 | // Disabled because retaining the context crashes in 32 bits, but works in 64 bit. 55 | // May be reenabled someday. 56 | // JSContextGroupRef contextGroup; 57 | 58 | BOOL isAutoCall; 59 | BOOL retainObject; 60 | // Disabled because of a crash on i386. Release globalContext last. 61 | // BOOL retainContext; 62 | } 63 | 64 | @property (copy) NSString* type; 65 | @property (copy) NSString* xml; 66 | @property (copy) NSString* methodName; 67 | @property (copy) NSString* structureName; 68 | @property (copy) NSString* declaredType; 69 | @property BOOL isAutoCall; 70 | 71 | //- (void)setPtr:(void*)ptrValue; 72 | //- (void*)ptr; 73 | 74 | - (void)setObject:(id)o; 75 | - (void)setObjectNoRetain:(id)o; 76 | - (BOOL)retainObject; 77 | - (id)object; 78 | 79 | - (void)setMethod:(Method)m; 80 | - (Method)method; 81 | 82 | - (void)setJSValueRef:(JSValueRef)v ctx:(JSContextRef)ctx; 83 | - (JSValueRef)jsValueRef; 84 | - (void)setCtx:(JSContextRef)ctx; 85 | - (JSContextRef)ctx; 86 | - (void)setExternalJSValueRef:(JSValueRef)v ctx:(JSContextRef)ctx; 87 | 88 | - (void*)rawPointer; 89 | - (void)setRawPointer:(void*)rp encoding:(id)encoding; 90 | - (id)rawPointerEncoding; 91 | 92 | @end 93 | -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/JSCocoa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Frameworks/JSCocoa.framework/Versions/A/JSCocoa -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Frameworks/JSCocoa.framework/Versions/A/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 12C54 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | JSCocoa 11 | CFBundleIdentifier 12 | com.inexdo.JSCocoa 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | JSCocoa 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | DTCompiler 24 | 25 | DTPlatformBuild 26 | 4G1004 27 | DTPlatformVersion 28 | GM 29 | DTSDKBuild 30 | 11E52 31 | DTSDKName 32 | macosx10.7 33 | DTXcode 34 | 0451 35 | DTXcodeBuild 36 | 4G1004 37 | 38 | 39 | -------------------------------------------------------------------------------- /Frameworks/JSCocoa.framework/Versions/A/Resources/json.js: -------------------------------------------------------------------------------- 1 | 2 | // String JSON method 3 | String.prototype.toJSON = function () { return this } 4 | 5 | // Javascript JSON methods for native classes 6 | // These need to return Javascript values, not boxed ObjC objects 7 | class_add_js_function(NSNumber, 'toJSON', function () { return this.valueOf() } ) 8 | class_add_js_function(NSDate, 'toJSON', function () { return String(this.description) } ) 9 | class_add_js_function(NSArray, 'toJSON', function () { 10 | var r = [] 11 | for (var i=0; i 11 | #import "EMJSContext.h" 12 | 13 | @protocol ConsoleMethods 14 | 15 | - (void)log:(id)msg; 16 | 17 | @end 18 | 19 | @interface Console : NSObject 20 | 21 | @end 22 | 23 | @interface JSCocoaDelegate : NSObject { 24 | JSContext *jsc; 25 | BOOL _isException; 26 | } 27 | 28 | - (BOOL)isException; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /JSCocoa Delegate/JSCocoaDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // JSCocoaDelegate.m 3 | // ZenCoding 4 | // 5 | // Created by Siarhei Chykuyonak on 7/25/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "JSCocoaDelegate.h" 10 | 11 | @implementation Console 12 | 13 | - (void)log:(id)msg { 14 | if (msg) { 15 | NSLog(@"%@", [msg description]); 16 | } else { 17 | NSLog(@"null"); 18 | } 19 | } 20 | 21 | @end 22 | 23 | @implementation JSCocoaDelegate 24 | 25 | - (instancetype)init { 26 | if (self = [super init]) { 27 | jsc = [JSContext new]; 28 | jsc[@"console"] = [Console new]; 29 | _isException = NO; 30 | [jsc setExceptionHandler:^(JSContext *ctx, JSValue *ex) { 31 | NSLog(@"JSContext %@ exception: %@", ctx, ex); 32 | _isException = YES; 33 | }]; 34 | } 35 | return self; 36 | } 37 | 38 | - (void)dealloc { 39 | [jsc release]; 40 | [super dealloc]; 41 | } 42 | 43 | - (BOOL)isException { 44 | if (_isException == YES) { 45 | _isException = NO; 46 | return YES; 47 | } 48 | 49 | return NO; 50 | } 51 | 52 | // Evaluates passed JS file 53 | - (BOOL)evalFile:(NSString *)path { 54 | NSError *error = nil; 55 | NSString *scriptContent = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:&error]; 56 | if (error) { 57 | return NO; 58 | } 59 | 60 | [jsc evaluateScript:scriptContent]; 61 | return [self isException]; 62 | } 63 | 64 | // Evaluates passed function name with specified argumants. 65 | // This method should register all specified arguments in JS context 66 | // and, basically, evaluate `funcName(arg1, arg2, ...)` expression 67 | - (id)evalFunction:(NSString *)funcName withArguments:firstArg, ... { 68 | JSValue *func = jsc[funcName]; 69 | if (func == nil) { 70 | return nil; 71 | } 72 | 73 | // Convert args to array 74 | id arg; 75 | NSMutableArray *arguments = [NSMutableArray array]; 76 | 77 | if (firstArg) { 78 | [arguments addObject:firstArg]; 79 | 80 | va_list args; 81 | va_start(args, firstArg); 82 | while ((arg = va_arg(args, id))) 83 | [arguments addObject:arg]; 84 | va_end(args); 85 | } 86 | 87 | // NSLog(@"Call function %@ with arguments: %@", funcName, arguments); 88 | return [func callWithArguments:arguments]; 89 | } 90 | 91 | // Should convert passed JS object to Objective-C one of 92 | // specified type 93 | - (id)convertJSObject:(id)val toNativeType:(NSString *)type { 94 | if ([type isEqual:@"bool"] || [type isEqual:@"boolean"]) { 95 | return @([val toBool]); 96 | } 97 | 98 | if ([type isEqual:@"string"]) { 99 | return [val toObjectOfClass:[NSString class]]; 100 | } 101 | 102 | return [val toObject]; 103 | } 104 | 105 | @end 106 | 107 | -------------------------------------------------------------------------------- /JSCocoa/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/JSCocoa/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /JSCocoa/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleName 10 | ${PRODUCT_NAME} 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | com.inexdo.JSCocoa 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /MGSFragaria.framework/MGSFragaria: -------------------------------------------------------------------------------- 1 | Versions/Current/MGSFragaria -------------------------------------------------------------------------------- /MGSFragaria.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSExtraInterfaceController.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | MGSFragaria 4 | Written by Jonathan Mitchell, jonathan@mugginsoft.com 5 | Find the latest version at https://github.com/mugginsoft/Fragaria 6 | 7 | Smultron version 3.6b1, 2009-09-12 8 | Written by Peter Borg, pgw3@mac.com 9 | Find the latest version at http://smultron.sourceforge.net 10 | 11 | Copyright 2004-2009 Peter Borg 12 | 13 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 14 | 15 | http://www.apache.org/licenses/LICENSE-2.0 16 | 17 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 18 | */ 19 | 20 | #import 21 | 22 | 23 | @interface MGSExtraInterfaceController : NSObject { 24 | 25 | IBOutlet NSTextField *spacesTextFieldEntabWindow; 26 | IBOutlet NSTextField *spacesTextFieldDetabWindow; 27 | IBOutlet NSTextField *lineTextFieldGoToLineWindow; 28 | IBOutlet NSWindow *entabWindow; 29 | IBOutlet NSWindow *detabWindow; 30 | IBOutlet NSWindow *goToLineWindow; 31 | 32 | IBOutlet NSView *openPanelAccessoryView; 33 | IBOutlet NSPopUpButton *openPanelEncodingsPopUp; 34 | //IBOutlet NSView *printAccessoryView; 35 | 36 | IBOutlet NSWindow *commandResultWindow; 37 | IBOutlet NSTextView *commandResultTextView; 38 | 39 | IBOutlet NSWindow *projectWindow; 40 | IBOutlet NSPanel *regularExpressionsHelpPanel; 41 | } 42 | 43 | 44 | @property (readonly) IBOutlet NSView *openPanelAccessoryView; 45 | @property (readonly) IBOutlet NSPopUpButton *openPanelEncodingsPopUp; 46 | @property (readonly) IBOutlet NSWindow *commandResultWindow; 47 | @property (readonly) IBOutlet NSTextView *commandResultTextView; 48 | @property (readonly) IBOutlet NSWindow *projectWindow; 49 | 50 | - (void)displayEntab; 51 | - (void)displayDetab; 52 | - (IBAction)entabButtonEntabWindowAction:(id)sender; 53 | - (IBAction)detabButtonDetabWindowAction:(id)sender; 54 | - (IBAction)cancelButtonEntabDetabGoToLineWindowsAction:(id)sender; 55 | - (void)displayGoToLine; 56 | - (IBAction)goButtonGoToLineWindowAction:(id)sender; 57 | 58 | - (NSPopUpButton *)openPanelEncodingsPopUp; 59 | - (NSView *)openPanelAccessoryView; 60 | - (NSWindow *)commandResultWindow; 61 | - (NSTextView *)commandResultTextView; 62 | - (void)showCommandResultWindow; 63 | - (void)showRegularExpressionsHelpPanel; 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSFragaria.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MGSFragaria.h 3 | * Fragaria 4 | * 5 | * Created by Jonathan on 30/04/2010. 6 | * Copyright 2010 mugginsoft.com. All rights reserved. 7 | * 8 | */ 9 | 10 | // valid keys for 11 | // - (void)setObject:(id)object forKey:(id)key; 12 | // - (id)objectForKey:(id)key; 13 | 14 | // BOOL 15 | extern NSString * const MGSFOIsSyntaxColoured; 16 | extern NSString * const MGSFOShowLineNumberGutter; 17 | extern NSString * const MGSFOIsEdited; 18 | 19 | // string 20 | extern NSString * const MGSFOSyntaxDefinitionName; 21 | extern NSString * const MGSFODocumentName; 22 | 23 | // integer 24 | extern NSString * const MGSFOGutterWidth; 25 | 26 | // NSView * 27 | extern NSString * const ro_MGSFOTextView; // readonly 28 | extern NSString * const ro_MGSFOScrollView; // readonly 29 | extern NSString * const ro_MGSFOGutterScrollView; // readonly 30 | 31 | // NSObject 32 | extern NSString * const MGSFODelegate; 33 | extern NSString * const ro_MGSFOLineNumbers; // readonly 34 | extern NSString * const ro_MGSFOSyntaxColouring; // readonly 35 | 36 | @class MGSTextMenuController; 37 | @class MGSExtraInterfaceController; 38 | 39 | #import "MGSFragariaPreferences.h" 40 | 41 | @interface MGSFragaria : NSObject 42 | { 43 | @private 44 | id _docSpec; 45 | MGSExtraInterfaceController *extraInterfaceController; 46 | } 47 | 48 | @property (nonatomic, readonly, assign) MGSExtraInterfaceController *extraInterfaceController; 49 | 50 | + (id)currentInstance; 51 | + (void)setCurrentInstance:(MGSFragaria *)anInstance; 52 | 53 | + (void)initializeFramework; 54 | + (id)createDocSpec; 55 | + (void)docSpec:(id)docSpec setString:(NSString *)string; 56 | + (void)docSpec:(id)docSpec setString:(NSString *)string options:(NSDictionary *)options; 57 | + (void)docSpec:(id)docSpec setAttributedString:(NSAttributedString *)string; 58 | + (void)docSpec:(id)docSpec setAttributedString:(NSAttributedString *)string options:(NSDictionary *)options; 59 | 60 | + (NSString *)stringForDocSpec:(id)docSpec; 61 | + (NSAttributedString *)attributedStringForDocSpec:(id)docSpec; 62 | + (NSAttributedString *)attributedStringWithTemporaryAttributesAppliedForDocSpec:(id)docSpec; 63 | //+ (NSString *)stringForDocSpec:(id)docSpec; 64 | 65 | - (id)initWithObject:(id)object; 66 | - (void)setObject:(id)object forKey:(id)key; 67 | - (id)objectForKey:(id)key; 68 | - (void)embedInView:(NSView *)view; 69 | - (void)setString:(NSString *)aString; 70 | - (void)setString:(NSString *)aString options:(NSDictionary *)options; 71 | - (void)setAttributedString:(NSAttributedString *)aString; 72 | - (void)setAttributedString:(NSAttributedString *)aString options:(NSDictionary *)options; 73 | - (NSAttributedString *)attributedString; 74 | - (NSAttributedString *)attributedStringWithTemporaryAttributesApplied; 75 | - (NSString *)string; 76 | - (id)docSpec; 77 | - (NSTextView *)textView; 78 | - (MGSTextMenuController *)textMenuController; 79 | - (void)setSyntaxColoured:(BOOL)value; 80 | - (BOOL)isSyntaxColoured; 81 | - (void)setShowsLineNumbers:(BOOL)value; 82 | - (BOOL)showsLineNumbers; 83 | - (void)reloadString; 84 | @end 85 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSFragariaFontsAndColoursPrefsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MGSFragariaFontsAndColoursPrefsViewController.h 3 | // Fragaria 4 | // 5 | // Created by Jonathan on 14/09/2012. 6 | // 7 | // 8 | 9 | #import 10 | #import "MGSFragariaPrefsViewController.h" 11 | 12 | @interface MGSFragariaFontsAndColoursPrefsViewController : MGSFragariaPrefsViewController 13 | 14 | - (IBAction)setFontAction:(id)sender; 15 | - (void)changeFont:(id)sender; 16 | @end 17 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSFragariaPrefsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MGSFragariaPrefsViewController.h 3 | // Fragaria 4 | // 5 | // Created by Jonathan on 22/10/2012. 6 | // 7 | // 8 | 9 | #import 10 | 11 | @interface MGSFragariaPrefsViewController : NSViewController 12 | - (BOOL)commitEditingAndDiscard:(BOOL)discard; 13 | @end 14 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSFragariaTextEditingPrefsViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MGSFragariaTextEditingPrefsViewController.h 3 | // Fragaria 4 | // 5 | // Created by Jonathan on 14/09/2012. 6 | // 7 | // 8 | 9 | #import 10 | #import "MGSFragariaPrefsViewController.h" 11 | 12 | @interface MGSFragariaTextEditingPrefsViewController : MGSFragariaPrefsViewController { 13 | NSImage *toolbarImage; 14 | } 15 | 16 | - (IBAction)changeGutterWidth:(id)sender; 17 | @end 18 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSSyntaxController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MGSSyntaxController.h 3 | // Fragaria 4 | // 5 | // Created by Jonathan on 01/05/2010. 6 | // Copyright 2010 mugginsoft.com. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface MGSSyntaxController : NSObject { 13 | 14 | NSMutableDictionary *syntaxDefinitions; 15 | NSArray *syntaxDefinitionNames; 16 | } 17 | 18 | + (MGSSyntaxController *)sharedInstance; 19 | + (NSString *)standardSyntaxDefinitionName; 20 | - (NSArray *)syntaxDefinitionNames; 21 | - (void)insertSyntaxDefinitions; 22 | - (NSDictionary *)syntaxDictionaryWithName:(NSString *)name; 23 | - (NSDictionary *)syntaxDefinitionWithExtension:(NSString *)extension; 24 | - (NSString *)syntaxDefinitionNameWithExtension:(NSString *)extension; 25 | 26 | @property (readonly) NSArray *syntaxDefinitionNames; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/MGSTextMenuController.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | MGSFragaria 4 | Written by Jonathan Mitchell, jonathan@mugginsoft.com 5 | Find the latest version at https://github.com/mugginsoft/Fragaria 6 | 7 | Smultron version 3.6b1, 2009-09-12 8 | Written by Peter Borg, pgw3@mac.com 9 | Find the latest version at http://smultron.sourceforge.net 10 | 11 | Copyright 2004-2009 Peter Borg 12 | 13 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 14 | 15 | http://www.apache.org/licenses/LICENSE-2.0 16 | 17 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface MGSTextMenuController : NSObject 23 | { 24 | //NSArray *availableEncodingsArray; 25 | 26 | IBOutlet NSMenu *textEncodingMenu; 27 | IBOutlet NSMenu *reloadTextWithEncodingMenu; 28 | IBOutlet NSMenu *syntaxDefinitionMenu; 29 | } 30 | 31 | + (MGSTextMenuController *)sharedInstance; 32 | 33 | - (void)buildEncodingsMenus; 34 | - (void)buildSyntaxDefinitionsMenu; 35 | 36 | - (void)changeEncodingAction:(id)sender; 37 | 38 | - (IBAction)removeNeedlessWhitespaceAction:(id)sender; 39 | - (IBAction)detabAction:(id)sender; 40 | - (IBAction)entabAction:(id)sender; 41 | - (void)performEntab; 42 | - (void)performDetab; 43 | - (IBAction)shiftLeftAction:(id)sender; 44 | - (IBAction)shiftRightAction:(id)sender; 45 | - (IBAction)toLowercaseAction:(id)sender; 46 | - (IBAction)toUppercaseAction:(id)sender; 47 | - (IBAction)capitaliseAction:(id)sender; 48 | - (IBAction)goToLineAction:(id)sender; 49 | - (void)performGoToLine:(NSInteger)lineToGoTo; 50 | - (IBAction)closeTagAction:(id)sender; 51 | - (IBAction)commentOrUncommentAction:(id)sender; 52 | - (IBAction)emptyDummyAction:(id)sender; 53 | - (IBAction)removeLineEndingsAction:(id)sender; 54 | - (IBAction)changeLineEndingsAction:(id)sender; 55 | - (IBAction)interchangeAdjacentCharactersAction:(id)sender; 56 | - (IBAction)prepareForXMLAction:(id)sender; 57 | 58 | - (IBAction)changeSyntaxDefinitionAction:(id)sender; 59 | @end 60 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Headers/SMLTextView.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | MGSFragaria 4 | Written by Jonathan Mitchell, jonathan@mugginsoft.com 5 | Find the latest version at https://github.com/mugginsoft/Fragaria 6 | 7 | Smultron version 3.6b1, 2009-09-12 8 | Written by Peter Borg, pgw3@mac.com 9 | Find the latest version at http://smultron.sourceforge.net 10 | 11 | Copyright 2004-2009 Peter Borg 12 | 13 | Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 14 | 15 | http://www.apache.org/licenses/LICENSE-2.0 16 | 17 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 18 | */ 19 | 20 | #import 21 | 22 | @class MGSFragaria; 23 | 24 | @interface SMLTextView : NSTextView { 25 | @private 26 | NSInteger lineHeight; 27 | NSPoint startPoint; 28 | NSPoint startOrigin; 29 | CGFloat pageGuideX; 30 | NSColor *pageGuideColour; 31 | 32 | BOOL showPageGuide; 33 | 34 | NSCursor *colouredIBeamCursor; 35 | 36 | MGSFragaria *fragaria; 37 | BOOL lineWrap; 38 | } 39 | 40 | @property (retain) NSCursor *colouredIBeamCursor; 41 | @property (retain) MGSFragaria *fragaria; 42 | @property BOOL lineWrap; 43 | 44 | - (void)setDefaults; 45 | 46 | - (void)setTextDefaults; 47 | 48 | - (NSInteger)lineHeight; 49 | 50 | - (void)setTabWidth; 51 | 52 | - (void)setPageGuideValues; 53 | - (void)updateIBeamCursor; 54 | 55 | - (void)setString:(NSString *)text options:(NSDictionary *)options; 56 | - (void)setAttributedString:(NSAttributedString *)text; 57 | - (void)setAttributedString:(NSAttributedString *)text options:(NSDictionary *)options; 58 | - (void)updateLineWrap; 59 | @end 60 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/MGSFragaria: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/MGSFragaria -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 12C60 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | MGSFragaria 11 | CFBundleIdentifier 12 | com.mugginsoft.MGSFragaria 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | DTCompiler 24 | 25 | DTPlatformBuild 26 | 4G2008a 27 | DTPlatformVersion 28 | GM 29 | DTSDKBuild 30 | 12C37 31 | DTSDKName 32 | macosx10.8 33 | DTXcode 34 | 0452 35 | DTXcodeBuild 36 | 4G2008a 37 | 38 | 39 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/LICENSE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ICU License - ICU 1.8.1 and later 6 | 7 | 8 | 9 |

ICU License - ICU 1.8.1 and later

10 | 11 |

COPYRIGHT AND PERMISSION NOTICE

12 | 13 |

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

16 |

17 | All rights reserved. 18 |

19 |

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

30 |

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

40 |

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

45 | 46 |
47 |

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

50 | 51 | 52 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/MGSPreferencesFontsAndColours.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesFontsAndColours.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/MGSPreferencesTextEditing.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/MGSPreferencesTextEditing.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLCommandResult.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLCommandResult.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLDetab.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLDetab.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLEntab.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLEntab.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLGoToLine.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLGoToLine.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLOpenPanelAccessoryView.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLOpenPanelAccessoryView.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/SMLRegularExpressionHelp.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/MGSFragaria.framework/Versions/A/Resources/SMLRegularExpressionHelp.nib -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/batch.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | @ 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | % 15 | endVariable 16 | \.\=\\\" 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | :: 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keyWordsCaseSensitive 38 | 39 | recolourKeyWordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | assoc 44 | call 45 | cd 46 | chdir 47 | cls 48 | cmd 49 | color 50 | copy 51 | date 52 | defined 53 | del 54 | dir 55 | dpath 56 | echo 57 | else 58 | endlocal 59 | erase 60 | errorlevel 61 | exit 62 | exist 63 | for 64 | ftype 65 | goto 66 | if 67 | md 68 | mkdir 69 | move 70 | not 71 | path 72 | pause 73 | popd 74 | prompt 75 | pushd 76 | rd 77 | rem 78 | rename 79 | ren 80 | rmdir 81 | set 82 | setlocal 83 | shift 84 | start 85 | time 86 | title 87 | type 88 | ver 89 | 90 | autocompleteWords 91 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/c.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*.*\(.*\)\n?\s*\{ 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | char 44 | double 45 | enum 46 | float 47 | int 48 | long 49 | short 50 | signed 51 | struct 52 | typedef 53 | union 54 | unsigned 55 | void 56 | auto 57 | const 58 | extern 59 | register 60 | static 61 | volatile 62 | break 63 | case 64 | continue 65 | default 66 | do 67 | else 68 | for 69 | goto 70 | if 71 | return 72 | sizeof 73 | switch 74 | while 75 | asm 76 | asmlinkage 77 | far 78 | huge 79 | inline 80 | near 81 | pascal 82 | true 83 | false 84 | NULL 85 | #include 86 | #define 87 | #warning 88 | #error 89 | #ifdef 90 | #ifndef 91 | #endif 92 | #else 93 | 94 | autocompleteWords 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/eiffel.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | -- 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | indexing 44 | class 45 | inherit 46 | creation 47 | feature 48 | rename 49 | redefine 50 | undefine 51 | select 52 | export 53 | local 54 | deferred 55 | do 56 | is 57 | once 58 | alias 59 | external 60 | rescue 61 | debug 62 | if 63 | inspect 64 | from 65 | else 66 | elseif 67 | when 68 | until 69 | loop 70 | then 71 | obsolete 72 | end 73 | check 74 | ensure 75 | require 76 | variant 77 | invariant 78 | create 79 | 80 | autocompleteWords 81 | 82 | 83 | 84 | 85 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/erl.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | % 23 | secondSingleLineComment 24 | % 25 | beginFirstMultiLineComment 26 | % 27 | endFirstMultiLineComment 28 | % 29 | beginSecondMultiLineComment 30 | % 31 | endSecondMultiLineComment 32 | % 33 | functionDefinition 34 | ^[a-z]+.*\(.*\)\s*-> 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | module 44 | include 45 | compile 46 | author 47 | vsn 48 | behavior 49 | behaviour 50 | define 51 | record 52 | after 53 | and 54 | andalso 55 | band 56 | begin 57 | bnot 58 | bor 59 | bsi 60 | bsr 61 | case 62 | catch 63 | cond 64 | div 65 | end 66 | fun 67 | if 68 | let 69 | not 70 | of 71 | or 72 | orelse 73 | query 74 | receive 75 | rem 76 | try 77 | when 78 | xor 79 | 80 | autocompleteWords 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/java.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*(static|public|private|protected|internal).*\(.*\).*\n?\s*\{ 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | abstract 44 | break 45 | case 46 | catch 47 | continue 48 | default 49 | do 50 | else 51 | extends 52 | final 53 | finally 54 | for 55 | if 56 | implements 57 | instanceof 58 | native 59 | new 60 | private 61 | protected 62 | public 63 | return 64 | static 65 | switch 66 | synchronized 67 | throw 68 | throws 69 | transient 70 | try 71 | volatile 72 | while 73 | package 74 | import 75 | boolean 76 | byte 77 | char 78 | class 79 | double 80 | float 81 | int 82 | interface 83 | long 84 | short 85 | void 86 | assert 87 | strictfp 88 | false 89 | null 90 | super 91 | this 92 | true 93 | goto 94 | const 95 | enum 96 | 97 | autocompleteWords 98 | 99 | 100 | 101 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/javafx.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | after 44 | as 45 | attribute 46 | before 47 | bind 48 | Boolean 49 | break 50 | catch 51 | class 52 | continue 53 | delete 54 | do 55 | else 56 | extends 57 | finally 58 | first 59 | for 60 | foreach 61 | format 62 | from 63 | function 64 | import 65 | if 66 | in 67 | indexof 68 | insert 69 | instanceof 70 | Integer 71 | into 72 | inverse 73 | last 74 | later 75 | lazy 76 | new 77 | Number 78 | on 79 | operation 80 | return 81 | reverse 82 | select 83 | sizeof 84 | String 85 | then 86 | this 87 | throw 88 | trigger 89 | try 90 | var 91 | where 92 | while 93 | 94 | autocompleteWords 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/latex.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | { 7 | endCommand 8 | } 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | \ 15 | endVariable 16 | {}()[],?.;/:+=><~ 17 | firstString 18 | $ 19 | secondString 20 | 21 | firstSingleLineComment 22 | % 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | \\((sub)*section|part|chapter|paragraph){[^}]*} 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | \begin{document} 44 | \end{document} 45 | 46 | autocompleteWords 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/none.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/objectivecaml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | (* 27 | endFirstMultiLineComment 28 | *) 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | and 44 | as 45 | assert 46 | asr 47 | begin 48 | class 49 | constraint 50 | do 51 | done 52 | downto 53 | else 54 | end 55 | exception 56 | external 57 | false 58 | for 59 | fun 60 | function 61 | functor 62 | if 63 | in 64 | include 65 | inherit 66 | initializer 67 | land 68 | lazy 69 | let 70 | lor 71 | lsl 72 | lsr 73 | lxor 74 | match 75 | method 76 | mod 77 | module 78 | mutable 79 | new 80 | object 81 | of 82 | open 83 | or 84 | private 85 | rec 86 | sig 87 | struct 88 | then 89 | to 90 | true 91 | try 92 | type 93 | val 94 | virtual 95 | when 96 | while 97 | with 98 | 99 | autocompleteWords 100 | 101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/pdf.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | / 15 | endVariable 16 | ()><[]{}/% 17 | firstString 18 | 19 | secondString 20 | 21 | firstSingleLineComment 22 | % 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | endobj 44 | endstream 45 | f 46 | false 47 | n 48 | null 49 | obj 50 | R 51 | startxref 52 | stream 53 | trailer 54 | true 55 | xref 56 | 57 | autocompleteWords 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/plist.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | <? 11 | endInstruction 12 | ?> 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | key 47 | string 48 | real 49 | integer 50 | date 51 | true 52 | false 53 | data 54 | array 55 | dict 56 | 57 | 58 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/scala.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | def 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | abstract 44 | case 45 | catch 46 | class 47 | def 48 | do 49 | else 50 | extends 51 | false 52 | final 53 | finally 54 | for 55 | if 56 | implicit 57 | import 58 | match 59 | new 60 | null 61 | object 62 | override 63 | package 64 | private 65 | protected 66 | requires 67 | return 68 | sealed 69 | super 70 | this 71 | throw 72 | trait 73 | try 74 | true 75 | type 76 | val 77 | var 78 | while 79 | with 80 | yield 81 | 82 | autocompleteWords 83 | 84 | 85 | 86 | 87 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/sgml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/shell.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | ` 7 | endCommand 8 | ´ 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | $ 15 | endVariable 16 | (){}=;:[] 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | # 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*(function)?\s?\w*(\(\))?\s?\n?\s*\{ 35 | removeFromFunction 36 | function 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | if 44 | then 45 | elif 46 | else 47 | fi 48 | case 49 | in 50 | ;; 51 | esac 52 | while 53 | for 54 | do 55 | done 56 | continue 57 | local 58 | return 59 | 60 | autocompleteWords 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/sml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | (* 27 | endFirstMultiLineComment 28 | *) 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | abstype 44 | and 45 | andalso 46 | as 47 | case 48 | do 49 | datatype 50 | else 51 | end 52 | eqtype 53 | exception 54 | false 55 | fn 56 | fun 57 | functor 58 | handle 59 | if 60 | in 61 | include 62 | infix 63 | infixr 64 | let 65 | local 66 | nonfix 67 | of 68 | op 69 | open 70 | orelse 71 | raise 72 | rec 73 | sharing 74 | sig 75 | signature 76 | struct 77 | structure 78 | then 79 | true 80 | type 81 | val 82 | where 83 | with 84 | withtype 85 | while 86 | unit 87 | int 88 | real 89 | char 90 | string 91 | substring 92 | word 93 | ref 94 | array 95 | vector 96 | bool 97 | list 98 | option 99 | order 100 | 101 | autocompleteWords 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/standard.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | 11 | endInstruction 12 | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | 27 | endFirstMultiLineComment 28 | 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | 44 | autocompleteWords 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/supercollider.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | 7 | endCommand 8 | 9 | beginInstruction 10 | | 11 | endInstruction 12 | | 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | // 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | /* 27 | endFirstMultiLineComment 28 | */ 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | ^\s*.*\(.*\)\n?\s*\{ 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | and 44 | ar 45 | arg 46 | case 47 | classvar 48 | collect 49 | do 50 | dup 51 | false 52 | if 53 | inf 54 | kr 55 | new 56 | nil 57 | or 58 | protect 59 | switch 60 | this 61 | true 62 | super 63 | try 64 | var 65 | while 66 | 67 | autocompleteWords 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/torquescript.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | autocompleteWords 6 | 7 | beginCommand 8 | 9 | beginFirstMultiLineComment 10 | /* 11 | beginInstruction 12 | 13 | beginSecondMultiLineComment 14 | 15 | beginVariable 16 | $% 17 | endCommand 18 | 19 | endFirstMultiLineComment 20 | */ 21 | endInstruction 22 | 23 | endSecondMultiLineComment 24 | 25 | endVariable 26 | ./*+-()=; 27 | firstSingleLineComment 28 | // 29 | firstString 30 | " 31 | functionDefinition 32 | ^\s*\w*function\s+.* 33 | keywords 34 | 35 | break 36 | case 37 | continue 38 | datablock 39 | default 40 | else 41 | function 42 | if 43 | for 44 | new 45 | or 46 | package 47 | return 48 | switch 49 | switch$ 50 | while 51 | yes 52 | no 53 | on 54 | off 55 | true 56 | false 57 | 58 | keywordsCaseSensitive 59 | 60 | recolourKeywordIfAlreadyColoured 61 | 62 | removeFromFunction 63 | function 64 | secondSingleLineComment 65 | 66 | secondString 67 | ' 68 | 69 | 70 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/A/Resources/Syntax Definitions/xml.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | beginCommand 6 | < 7 | endCommand 8 | > 9 | beginInstruction 10 | <? 11 | endInstruction 12 | ?> 13 | beginVariable 14 | 15 | endVariable 16 | 17 | firstString 18 | " 19 | secondString 20 | ' 21 | firstSingleLineComment 22 | 23 | secondSingleLineComment 24 | 25 | beginFirstMultiLineComment 26 | <!-- 27 | endFirstMultiLineComment 28 | --> 29 | beginSecondMultiLineComment 30 | 31 | endSecondMultiLineComment 32 | 33 | functionDefinition 34 | 35 | removeFromFunction 36 | 37 | keywordsCaseSensitive 38 | 39 | recolourKeywordIfAlreadyColoured 40 | 41 | keywords 42 | 43 | CDATA 44 | EMPTY 45 | INCLUDE 46 | IGNORE 47 | NDATA 48 | #IMPLIED 49 | #PCDATA 50 | #REQUIRED 51 | 52 | autocompleteWords 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /MGSFragaria.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /Preferences/Basic/EMBasicPreferencesWindowController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey Chikuyonok on 8/3/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EMBasicPreferencesWindowController : NSWindowController { 9 | NSArrayController *outputProfiles; 10 | } 11 | @property (assign) IBOutlet NSArrayController *outputProfiles; 12 | 13 | - (IBAction)restoreDefaults:(id)sender; 14 | - (IBAction)reloadExtensions:(id)sender; 15 | - (void)hideTabExpanderControl; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Preferences/Sample/ZenCodingCorePreferencesController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZenCodingCorePreferencesController.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 7/29/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ZenCodingCorePreferencesController : NSObject 12 | 13 | @property (nonatomic, readonly, retain) NSArray *preferences; 14 | 15 | //- (id)initWithController:(NSArrayController *)controller; 16 | - (id)initWithTableView:(NSTableView *)view; 17 | //- (NSArray *)preferences; 18 | - (void)save; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Preferences/Sample/ZenCodingPreferences.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZenCodingPreferences.h 3 | // ZenCoding 4 | // 5 | // Created by Сергей Чикуёнок on 3/9/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "ZenCodingCorePreferencesController.h" 11 | 12 | @interface ZenCodingPreferences : NSWindowController { 13 | NSButton *pickExtensionsFolder; 14 | NSArrayController *syntaxList; 15 | NSTextField *extensionsPathField; 16 | NSTableView *snippetsView; 17 | NSTableView *abbreviationsView; 18 | NSTableView *variablesView; 19 | NSPopUpButton *syntaxPopup; 20 | NSObjectController *outputContext; 21 | NSArrayController *snippetsController; 22 | NSArrayController *abbreviationsController; 23 | NSArrayController *variablesController; 24 | NSArrayController *preferencesController; 25 | NSTableView *corePreferencesView; 26 | 27 | NSMutableDictionary *outputPreferences; 28 | 29 | // pointer to currently edited array controller (snippets or abbreviations) 30 | NSArrayController *contextController; 31 | ZenCodingCorePreferencesController *_prefsController; 32 | } 33 | 34 | @property (assign) IBOutlet NSArrayController *syntaxList; 35 | @property (assign) IBOutlet NSTextField *extensionsPathField; 36 | @property (assign) IBOutlet NSTableView *snippetsView; 37 | @property (assign) IBOutlet NSTableView *abbreviationsView; 38 | @property (assign) IBOutlet NSTableView *variablesView; 39 | @property (assign) IBOutlet NSPopUpButton *syntaxPopup; 40 | @property (assign) IBOutlet NSObjectController *outputContext; 41 | @property (assign) IBOutlet NSArrayController *snippetsController; 42 | @property (assign) IBOutlet NSArrayController *abbreviationsController; 43 | @property (assign) IBOutlet NSArrayController *variablesController; 44 | @property (assign) IBOutlet NSArrayController *preferencesController; 45 | @property (assign) IBOutlet NSTableView *corePreferencesView; 46 | 47 | 48 | + (void)loadDefaults; 49 | + (void)resetDefaults; 50 | 51 | - (IBAction)pickExtensionsFolder:(id)sender; 52 | - (IBAction)addSnippet:(id)sender; 53 | - (IBAction)editSnippet:(id)sender; 54 | - (IBAction)removeSnippet:(id)sender; 55 | 56 | @end 57 | -------------------------------------------------------------------------------- /Preferences/Sample/ZenCodingSnippetEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZenCodingSnippetEditor.h 3 | // ZenCoding 4 | // 5 | // Created by Сергей Чикуёнок on 3/13/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #define SNIPPET_EDITOR_OK 0 12 | #define SNIPPET_EDITOR_CANCEL 1 13 | #define SNIPPET_DEFAULT_SYNTAX @"common" 14 | 15 | @interface ZenCodingSnippetEditor : NSWindowController { 16 | NSMutableDictionary *editObject; 17 | NSTextView *textView; 18 | } 19 | 20 | @property (assign) IBOutlet NSTextView *textView; 21 | - (NSDictionary *)openAddDialogForWindow:(NSWindow *)wnd; 22 | - (NSDictionary *)openEditDialog:(NSDictionary *)editObj forWindow:(NSWindow *)wnd; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Preferences/Snippets Preferences/ZCSnippetsPreferencesDataSource.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZCSnippetsPreferencesDataSource.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/2/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ZCSnippetsPreferencesDataSource : NSObject 12 | 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Preferences/Snippets Preferences/ZCSnippetsPreferencesWindow.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZCSnippetsPreferencesWindow.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/2/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ZCSnippetsPreferencesWindow : NSWindowController { 12 | NSOutlineView *snippetsView; 13 | } 14 | 15 | @property (assign) IBOutlet NSOutlineView *snippetsView; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Preferences/Snippets Preferences/ZCSnippetsPreferencesWindow.m: -------------------------------------------------------------------------------- 1 | // 2 | // ZCSnippetsPreferencesWindow.m 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/2/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "ZCSnippetsPreferencesWindow.h" 10 | #import "ZCSnippetsPreferencesDataSource.h" 11 | 12 | @interface ZCSnippetsPreferencesWindow () 13 | 14 | @end 15 | 16 | @implementation ZCSnippetsPreferencesWindow 17 | @synthesize snippetsView; 18 | 19 | - (id)init { 20 | return [super initWithWindowNibName:@"ZCSnippetsPreferencesWindow"]; 21 | } 22 | 23 | - (id)initWithWindow:(NSWindow *)window 24 | { 25 | self = [super initWithWindow:window]; 26 | if (self) { 27 | // Initialization code here. 28 | } 29 | 30 | return self; 31 | } 32 | 33 | - (void)windowDidLoad 34 | { 35 | [super windowDidLoad]; 36 | 37 | // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file. 38 | [snippetsView setDataSource:[ZCSnippetsPreferencesDataSource new]]; 39 | } 40 | 41 | @end 42 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMArrayTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/10/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EMArrayTransformer : NSValueTransformer { 9 | NSArray *values; 10 | } 11 | 12 | - (id)initWithArray:(NSArray *)arr; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMArrayTransformer.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/10/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "EMArrayTransformer.h" 7 | 8 | @implementation EMArrayTransformer 9 | 10 | - (id)initWithArray:(NSArray *)arr { 11 | if (self = [super init]) { 12 | values = [arr retain]; 13 | } 14 | 15 | return self; 16 | } 17 | 18 | - (void)dealloc { 19 | [values release]; 20 | [super dealloc]; 21 | } 22 | 23 | + (Class)transformedValueClass { 24 | return [NSNumber class]; 25 | } 26 | 27 | + (BOOL)allowsReverseTransformation { 28 | return YES; 29 | } 30 | 31 | - (id)transformedValue:(id)value { 32 | if (value == nil) return nil; 33 | NSUInteger ix = [values indexOfObject:value]; 34 | if (ix == NSNotFound) { 35 | return nil; 36 | } 37 | 38 | return [NSNumber numberWithUnsignedInteger:ix]; 39 | } 40 | 41 | - (id)reverseTransformedValue:(id)value { 42 | if (value != nil && [value respondsToSelector:@selector(unsignedIntegerValue)]) { 43 | NSUInteger ix = [value unsignedIntegerValue]; 44 | return [values objectAtIndex:ix]; 45 | } 46 | 47 | return nil; 48 | } 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMSyntaxNameTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey on 3/16/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EMSyntaxNameTransformer : NSValueTransformer 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMSyntaxNameTransformer.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey on 3/16/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "EMSyntaxNameTransformer.h" 7 | 8 | @implementation EMSyntaxNameTransformer 9 | 10 | + (Class)transformedValueClass { 11 | return [NSString class]; 12 | } 13 | 14 | + (BOOL)allowsReverseTransformation { 15 | return YES; 16 | } 17 | 18 | - (id)transformedValue:(id)value { 19 | if (value != nil) { 20 | NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 21 | NSArray *syntaxes = [defaults arrayForKey:@"syntax"]; 22 | for (NSDictionary *syntax in syntaxes) { 23 | if ([[syntax valueForKey:@"id"] isEqual:value]) 24 | return [syntax valueForKey:@"title"]; 25 | } 26 | } 27 | 28 | return nil; 29 | } 30 | 31 | - (id)reverseTransformedValue:(id)value { 32 | if (value != nil) { 33 | NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; 34 | NSArray *syntaxes = [defaults arrayForKey:@"syntax"]; 35 | for (NSDictionary *syntax in syntaxes) { 36 | if ([[syntax valueForKey:@"title"] isEqual:value]) 37 | return [syntax valueForKey:@"id"]; 38 | } 39 | } 40 | 41 | return nil; 42 | } 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMTildePathTransformer.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/10/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EMTildePathTransformer : NSValueTransformer 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /Preferences/Transformers/EMTildePathTransformer.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/10/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "EMTildePathTransformer.h" 7 | 8 | @implementation EMTildePathTransformer 9 | 10 | + (Class)transformedValueClass { 11 | return [NSString class]; 12 | } 13 | 14 | + (BOOL)allowsReverseTransformation { 15 | return YES; 16 | } 17 | 18 | - (id)transformedValue:(id)value { 19 | if (value != nil && [value respondsToSelector:@selector(stringByAbbreviatingWithTildeInPath)]) { 20 | return [value stringByAbbreviatingWithTildeInPath]; 21 | } 22 | 23 | return nil; 24 | } 25 | 26 | - (id)reverseTransformedValue:(id)value { 27 | if (value != nil && [value respondsToSelector:@selector(stringByExpandingTildeInPath)]) { 28 | return [value stringByExpandingTildeInPath]; 29 | } 30 | 31 | return nil; 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Sparkle.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /Sparkle.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /Sparkle.framework/Sparkle: -------------------------------------------------------------------------------- 1 | Versions/Current/Sparkle -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | Sparkle 9 | CFBundleIdentifier 10 | org.andymatuschak.Sparkle 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | Sparkle 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.5 Beta 6 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 313 23 | 24 | 25 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/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. -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 670 7 | IBLastKnownRelativeProjectPath 8 | Sparkle.xcodeproj 9 | IBOldestOS 10 | 5 11 | IBOpenObjects 12 | 13 | 6 14 | 15 | IBSystem Version 16 | 10A96 17 | targetFramework 18 | IBCocoaFramework 19 | 20 | 21 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/SUStatus.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/de.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings -------------------------------------------------------------------------------- /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/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/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/en.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings -------------------------------------------------------------------------------- /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/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/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/es.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings -------------------------------------------------------------------------------- /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/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/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr.lproj/fr.lproj: -------------------------------------------------------------------------------- 1 | /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/fr_CA.lproj: -------------------------------------------------------------------------------- 1 | /Users/andym/Development/Build Products/Release/Sparkle.framework/Resources/fr.lproj -------------------------------------------------------------------------------- /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/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/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/it.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings -------------------------------------------------------------------------------- /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/nl.lproj/SUAutomaticUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | 6 12 | 13 | IBSystem Version 14 | 9D34 15 | targetFramework 16 | IBCocoaFramework 17 | 18 | 19 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/nl.lproj/SUUpdateAlert.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBFramework Version 6 | 629 7 | IBOldestOS 8 | 5 9 | IBOpenObjects 10 | 11 | IBSystem Version 12 | 9E17 13 | targetFramework 14 | IBCocoaFramework 15 | 16 | 17 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/relaunch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/relaunch -------------------------------------------------------------------------------- /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/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/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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/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/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings -------------------------------------------------------------------------------- /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/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/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /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/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib/keyedobjects.nib -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib/keyedobjects.nib -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings -------------------------------------------------------------------------------- /Sparkle.framework/Versions/A/Sparkle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/Sparkle.framework/Versions/A/Sparkle -------------------------------------------------------------------------------- /Sparkle.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /TextMatePlugin/EMTextMateEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // TextMateZenEditor.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/11/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "OakTextView.h" 11 | #import "EmmetEditor.h" 12 | 13 | typedef struct _TMLocation { 14 | NSUInteger startLine; 15 | NSUInteger startCol; 16 | NSUInteger endLine; 17 | NSUInteger endCol; 18 | } TMLocation; 19 | 20 | TMLocation convertRangeToLocation(NSRange range, NSString *string); 21 | 22 | @interface EMTextMateEditor : NSObject 23 | - (OakTextView *)tv; 24 | @end 25 | 26 | 27 | @interface TM2DocumentController : NSObject 28 | @property (nonatomic, assign) NSString* documentPath; 29 | @end -------------------------------------------------------------------------------- /TextMatePlugin/EMTextmatePlugin.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZCTextmatePlugin.h 3 | // ZenCoding 4 | // 5 | // Created by Sergey Chikuyonok on 8/11/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "Emmet.h" 11 | #import "EMTextMateEditor.h" 12 | #import "EMBasicPreferencesWindowController.h" 13 | #import 14 | 15 | @protocol TMPlugInController 16 | - (CGFloat)version; 17 | @end 18 | 19 | @interface EMTextmatePlugin : NSObject { 20 | EMTextMateEditor *editor; 21 | EMBasicPreferencesWindowController *prefs; 22 | SUUpdater *updater; 23 | } 24 | 25 | + (NSBundle *)bundle; 26 | 27 | - (id)initWithPlugInController:(id )aController; 28 | 29 | - (void)installMenuItems; 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /TextMatePlugin/KeyboardShortcuts.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | expand_abbreviation 6 | ^e 7 | wrap_with_abbreviation 8 | ^a 9 | update_image_size 10 | ^i 11 | next_edit_point 12 | ^ 13 | prev_edit_point 14 | ^ 15 | select_next_item 16 | ^$ 17 | select_previous_item 18 | ^$ 19 | match_pair_outward 20 | ^$d 21 | merge_lines 22 | ^m 23 | remove_tag 24 | @' 25 | split_join_tag 26 | @$' 27 | toggle_comment 28 | @\ 29 | evaluate_math_expression 30 | @y 31 | reflect_css_value 32 | ^r 33 | encode_decode_data_url 34 | ^$i 35 | increment_number_by_1 36 | ^ 37 | decrement_number_by_1 38 | ^ 39 | increment_number_by_01 40 | ~ 41 | decrement_number_by_01 42 | ~ 43 | increment_number_by_10 44 | ^$ 45 | decrement_number_by_10 46 | ^$ 47 | 48 | 49 | -------------------------------------------------------------------------------- /TextMatePlugin/OakTextView.h: -------------------------------------------------------------------------------- 1 | @interface OakTextView : NSView 2 | - (NSString *)stringValue; 3 | - (void)insertSnippetWithOptions:(NSDictionary*)someOptions; 4 | - (void)setSelectionString:(NSString*)aSelectionString; 5 | - (NSRange)selectedRange; 6 | - (id)xmlRepresentationForSelection; 7 | - (NSDictionary *)environmentVariables; 8 | 9 | - (void)goToLineNumber:(id)fp8; 10 | - (void)goToColumnNumber:(id)fp8; 11 | - (void)selectToLine:(id)fp8 andColumn:(id)fp12; 12 | 13 | // Actions 14 | - (void)deleteSelection:(id)sender; 15 | 16 | // TextMate 2 API 17 | - (id)scopeContext; 18 | - (NSString *)scopeAsString; 19 | @property (nonatomic, assign) id delegate; 20 | @property (nonatomic, retain) NSCursor* ibeamCursor; 21 | @property (nonatomic, retain) NSFont* font; 22 | @property (nonatomic, assign) BOOL antiAlias; 23 | @property (nonatomic, assign) size_t tabSize; 24 | @property (nonatomic, assign) BOOL showInvisibles; 25 | @property (nonatomic, assign) BOOL softWrap; 26 | @property (nonatomic, assign) BOOL softTabs; 27 | @property (nonatomic, readonly) BOOL continuousIndentCorrections; 28 | 29 | @property (nonatomic, readonly) BOOL hasMultiLineSelection; 30 | @property (nonatomic, readonly) BOOL hasSelection; 31 | @property (nonatomic, retain) NSString* selectionString; 32 | @property (nonatomic, retain) NSString* string; 33 | 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /TextMatePlugin/TextMatePlugin-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | logo.tiff 11 | CFBundleIdentifier 12 | io.emmet.EmmetTextmate 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | Emmet 17 | CFBundlePackageType 18 | BNDL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0.0 25 | NSHumanReadableCopyright 26 | Copyright © 2012 Sergey Chikuyonok. All rights reserved. 27 | NSPrincipalClass 28 | EMTextmatePlugin 29 | SUPublicDSAKeyFile 30 | dsa_pub.pem 31 | SUEnableAutomaticChecks 32 | 33 | SUFeedURL 34 | http://download.emmet.io/textmate/appcast.xml 35 | TMPlugInAPIVersion 36 | 2 37 | 38 | 39 | -------------------------------------------------------------------------------- /TextMatePlugin/TextMatePlugin-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'TextMatePlugin' target in the 'TextMatePlugin' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /TextMatePlugin/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /TextMatePlugin/textmate-bootstrap.js: -------------------------------------------------------------------------------- 1 | // override `replaceContent()` method of editor proxy 2 | // to provide desired output for back-end app 3 | objcEmmetEditor.replaceContent = function(value, start, end, noIndent) { 4 | var content = this.getContent(); 5 | var caretPos = this.getCaretPos(); 6 | 7 | if (_.isUndefined(end)) 8 | end = _.isUndefined(start) ? content.length : start; 9 | if (_.isUndefined(start)) start = 0; 10 | 11 | value = tmUpdateTabStops(value); 12 | this.getContext().replaceContentWithValue_from_to_withoutIndentation(value, start, end, !!noIndent); 13 | }; 14 | 15 | function tmUpdateTabStops(value) { 16 | var base = 1000; 17 | var zeroBase = 0; 18 | return emmet.require('tabStops').processText(value, { 19 | tabstop: function(data) { 20 | var group = parseInt(data.group, 10); 21 | if (group === 0) 22 | group = ++zeroBase; 23 | else 24 | group += base; 25 | 26 | return '${' + group + (data.placeholder ? ':' + data.placeholder : '') + '}'; 27 | } 28 | }) 29 | } -------------------------------------------------------------------------------- /ZenCoding/EMDefaultsKeys.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/20/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #ifndef Emmet_EMDefaultsKeys_h 7 | #define Emmet_EMDefaultsKeys_h 8 | 9 | #define ExpandWithTabKey @"expandWithTab" 10 | #define ExtensionsPath @"extensionsPath" 11 | #define Snippets @"snippets" 12 | #define Abbreviations @"abbreviations" 13 | #define Variables @"variables" 14 | #define Output @"output" 15 | #define Preferences @"preferences" 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /ZenCoding/EMJSContext.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Siarhei Chykuyonak on 7/25/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @protocol EMJSContext 9 | 10 | // Evaluates passed JS file 11 | - (BOOL)evalFile:(NSString *)path; 12 | 13 | // Evaluates passed function name with specified argumants. 14 | // This method should register all specified arguments in JS context 15 | // and, basically, evaluate `funcName(arg1, arg2, ...)` expression 16 | - (id)evalFunction:(NSString *)funcName withArguments:arguments, ... NS_REQUIRES_NIL_TERMINATION; 17 | 18 | // Should convert passed JS object to Objective-C one of 19 | // specified type 20 | - (id)convertJSObject:(id)obj toNativeType:(NSString *)type; 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /ZenCoding/EMNotifications.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 3/20/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #ifndef Emmet_EMNotifications_h 7 | #define Emmet_EMNotifications_h 8 | 9 | #define PreferencesWindowOpened @"EM_PreferencesWindowOpened" 10 | #define PreferencesWindowClosed @"EM_PreferencesWindowClosed" 11 | #define JSContextLoaded @"EM_JSContextLoaded" 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /ZenCoding/EMPromptDialogController.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey on 2/17/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | #define MODAL_ACTION_OK 0 9 | #define MODAL_ACTION_CANCEL 1 10 | 11 | #define MODAL_DEFAULT_LABEL @"Enter value" 12 | 13 | @interface EMPromptDialogController : NSWindowController { 14 | NSTextField *label; 15 | NSTextField *inputField; 16 | } 17 | 18 | @property (assign) IBOutlet NSTextField *label; 19 | @property (assign) IBOutlet NSTextField *inputField; 20 | 21 | - (IBAction)performOK:(id)sender; 22 | - (IBAction)performCancel:(id)sender; 23 | 24 | + (NSString *)prompt:(NSString *)labelText; 25 | + (NSString *)promptForWindow:(NSWindow *)wnd withLabel:(NSString *)labelText; 26 | 27 | - (NSString *)promptWithLabel:(NSString *)labelText; 28 | - (NSString *)promptForWindow:(NSWindow *)wnd withLabel:(NSString *)labelText; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /ZenCoding/EMPromptDialogController.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey on 2/17/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "EMPromptDialogController.h" 7 | 8 | @implementation EMPromptDialogController 9 | @synthesize label; 10 | @synthesize inputField; 11 | 12 | - (id)init { 13 | return [self initWithWindowNibName:@"PromptDialog"]; 14 | } 15 | 16 | - (IBAction)performOK:(id)sender { 17 | [NSApp stopModalWithCode:MODAL_ACTION_OK]; 18 | } 19 | 20 | - (IBAction)performCancel:(id)sender { 21 | [NSApp stopModalWithCode:MODAL_ACTION_CANCEL]; 22 | } 23 | 24 | + (NSString *)prompt:(NSString *)labelText { 25 | return [EMPromptDialogController promptForWindow:[NSApp mainWindow] withLabel:labelText]; 26 | } 27 | 28 | + (NSString *)promptForWindow:(NSWindow *)wnd withLabel :(NSString *)labelText { 29 | EMPromptDialogController *dialog = [EMPromptDialogController new]; 30 | NSString *value = [dialog promptForWindow:wnd withLabel:labelText]; 31 | [dialog release]; 32 | return value; 33 | } 34 | 35 | - (NSString *)promptWithLabel:(NSString *)labelText { 36 | return [self promptForWindow:[NSApp mainWindow] withLabel:labelText]; 37 | } 38 | 39 | - (NSString *)promptForWindow:(NSWindow *)wnd withLabel:(NSString *)labelText { 40 | NSWindow *w = [self window]; 41 | if (labelText != nil) 42 | [label setStringValue:labelText]; 43 | else 44 | [label setStringValue:MODAL_DEFAULT_LABEL]; 45 | 46 | [NSApp beginSheet:w 47 | modalForWindow:wnd 48 | modalDelegate:nil 49 | didEndSelector:nil 50 | contextInfo:nil]; 51 | 52 | NSInteger code = [NSApp runModalForWindow: w]; 53 | [NSApp endSheet: w]; 54 | [w orderOut: self]; 55 | 56 | if (code == MODAL_ACTION_OK) { 57 | return [inputField stringValue]; 58 | } 59 | 60 | return nil; 61 | } 62 | 63 | @end 64 | -------------------------------------------------------------------------------- /ZenCoding/EMUserDataLoader.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey Chikuyonok on 8/1/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EMUserDataLoader : NSObject 9 | 10 | + (NSDictionary *)userData; 11 | + (NSDictionary *)variables; 12 | + (NSArray *)snippets; 13 | + (NSDictionary *)syntaxProfiles; 14 | + (NSDictionary *)createOutputProfileFromDict:(NSDictionary *)dict; 15 | + (NSString *)extensionsPath; 16 | + (void)resetDefaults; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /ZenCoding/Emmet-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | ru.chikuyonok.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | NSHumanReadableCopyright 26 | Copyright © 2012 Sergey Chikuyonok. All rights reserved. 27 | ZCJavascriptDelegateClass 28 | ZenCodingJSContext 29 | NSPrincipalClass 30 | ZenCoding 31 | 32 | 33 | -------------------------------------------------------------------------------- /ZenCoding/Emmet-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ZenCoding' target in the 'ZenCoding' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /ZenCoding/Emmet.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 2/9/12. 3 | // Copyright 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | #import "EmmetFile.h" 8 | #import "EmmetEditor.h" 9 | #import "EMJSContext.h" 10 | #import "EMDefaultsKeys.h" 11 | #import "EMNotifications.h" 12 | 13 | void setKeyEquivalent(NSMenuItem *menuItem, NSString *key); 14 | 15 | @interface Emmet : NSObject { 16 | id context; 17 | id jsc; 18 | NSString *extensionsPath; 19 | } 20 | 21 | @property (nonatomic, retain) id context; 22 | @property (nonatomic, readonly, retain) id jsc; 23 | @property (nonatomic, retain) NSString *extensionsPath; 24 | 25 | + (Emmet *)sharedInstance; 26 | + (void)setJSContextDelegateClass:(Class)cl; 27 | + (void)loadDefaults; 28 | + (void)addCoreFile:(NSString *)file; 29 | + (NSString*)toJSON:(id)obj; 30 | 31 | // runs Emmet’s JS action 32 | - (BOOL)runAction:name; 33 | 34 | // Reload Emmet instance and update JS core 35 | - (void)reload; 36 | 37 | // returns Emmet actions as menu 38 | - (NSArray *)actionsList; 39 | - (NSMenu *)actionsMenu; 40 | - (NSMenu *)actionsMenuWithAction:(SEL)action forTarget:(id)target; 41 | - (NSMenu *)actionsMenuWithAction:(SEL)action keyboardShortcuts:(NSDictionary *)shortcuts forTarget:(id)target; 42 | - (NSString *)resolveActionNameFromMenu:(NSMenuItem *)menu; 43 | - (void)performMenuAction:(id)sender; 44 | @end 45 | -------------------------------------------------------------------------------- /ZenCoding/EmmetEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 2/6/12. 3 | // Copyright 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | #import 8 | 9 | @protocol EmmetEditor 10 | 11 | @property (nonatomic, assign) NSRange selectionRange; 12 | 13 | @property (nonatomic, assign) NSUInteger caretPos; 14 | 15 | 16 | - (NSRange)currentLineRange; 17 | - (NSString *)currentLine; 18 | - (NSString *)content; 19 | - (NSString *)syntax; 20 | - (NSString *)profileName; 21 | - (NSString *)selection; 22 | 23 | JSExportAs(replaceContentWithValue_from_to_withoutIndentation, 24 | - (void)replaceContentWithValue:(NSString *)value from:(NSUInteger)start to:(NSUInteger)end withoutIndentation:(BOOL)indent 25 | ); 26 | 27 | - (NSString *)prompt:(NSString *)label; 28 | 29 | @optional 30 | - (NSString *)filePath; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /ZenCoding/EmmetFile.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Siarhei Chykuyonak on 6/22/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | 8 | @interface EmmetFile : NSObject 9 | 10 | + (NSString *)read:(NSString *)filePath ofSize:(NSUInteger)size withEncoding:(NSStringEncoding)enc; 11 | + (NSString *)read:(NSString *)filePath ofSize:(NSUInteger)size; 12 | + (NSString *)readText:(NSString *)filePath; 13 | + (NSString *)locateFile:(NSString *)fileName relativeTo:(NSString *)baseFile; 14 | + (NSString *)createPath:(NSString *)fileName relativeTo:(NSString *)basePath; 15 | + (BOOL)save:(NSString *)content atPath:(NSString *)filePath; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /ZenCoding/EmmetFile.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Sergey Chikuyonok on 6/22/12. 3 | // Copyright (c) 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "EmmetFile.h" 7 | 8 | static BOOL isURL(NSString *path) { 9 | return [path hasPrefix:@"http://"] || [path hasPrefix:@"https://"]; 10 | } 11 | 12 | @implementation EmmetFile 13 | 14 | + (NSString *)read:(NSString *)filePath ofSize:(NSUInteger)size withEncoding:(NSStringEncoding)enc { 15 | NSString *content = nil; 16 | if (isURL(filePath)) { 17 | NSURL *url = [NSURL URLWithString:filePath]; 18 | NSURLRequest *req = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:2.0]; 19 | NSError *error; 20 | NSURLResponse *response; 21 | NSData *data = [NSURLConnection sendSynchronousRequest:req returningResponse:&response error:&error]; 22 | if (data) { 23 | content = [[NSString alloc] initWithData:data encoding:enc]; 24 | } else { 25 | NSLog(@"Error while loading URL: %@", error); 26 | } 27 | } else { 28 | content = [NSString stringWithContentsOfFile:filePath encoding:enc error:nil]; 29 | } 30 | 31 | if (size > 0 && content) { 32 | content = [content substringToIndex:size]; 33 | } 34 | 35 | return content; 36 | } 37 | 38 | + (NSString *)read:(NSString *)filePath ofSize:(NSUInteger)size { 39 | return [EmmetFile read:filePath ofSize:size withEncoding:NSASCIIStringEncoding]; 40 | } 41 | 42 | + (NSString *)readText:(NSString *)filePath { 43 | return [EmmetFile read:filePath ofSize:0 withEncoding:NSUTF8StringEncoding]; 44 | } 45 | 46 | + (NSString *)locateFile:(NSString *)fileName relativeTo:(NSString *)baseFile { 47 | if (isURL(fileName)) { 48 | return fileName; 49 | } 50 | 51 | baseFile = [baseFile stringByDeletingLastPathComponent]; 52 | int loop = 100; 53 | NSString *curPath; 54 | NSFileManager *fm = [NSFileManager defaultManager]; 55 | 56 | while (![baseFile isEqual:@""] && ![baseFile isEqual:@"/"] && loop > 0) { 57 | curPath = [self createPath:fileName relativeTo:baseFile]; 58 | // NSLog(@"Current path: %@", curPath); 59 | if ([fm fileExistsAtPath:curPath]) { 60 | return curPath; 61 | } 62 | 63 | baseFile = [baseFile stringByDeletingLastPathComponent]; 64 | loop--; 65 | } 66 | 67 | return nil; 68 | } 69 | 70 | + (NSString *)createPath:(NSString *)fileName relativeTo:(NSString *)basePath { 71 | NSFileManager *fm = [NSFileManager defaultManager]; 72 | NSURL *baseURL = [NSURL fileURLWithPath:basePath]; 73 | BOOL isDir; 74 | if ([fm fileExistsAtPath:[baseURL path] isDirectory:&isDir] && !isDir) { 75 | baseURL = [baseURL URLByDeletingLastPathComponent]; 76 | } 77 | 78 | NSURL *fileURL = [NSURL fileURLWithPathComponents:[NSArray arrayWithObjects:[baseURL path], fileName, nil]]; 79 | return [[fileURL path] stringByStandardizingPath]; 80 | } 81 | 82 | + (BOOL)save:(NSString *)content atPath:(NSString *)filePath { 83 | return [content writeToFile:filePath atomically:NO encoding:NSUTF8StringEncoding error:nil]; 84 | } 85 | 86 | @end 87 | -------------------------------------------------------------------------------- /ZenCoding/NSMutableDictionary+EMUtils.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableDictionary+ZCUtils.h 3 | // ZenCoding 4 | // 5 | // Created by Сергей Чикуёнок on 3/21/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSMutableDictionary (EMUtils) 12 | - (id)objectOfClass:(Class)cl forKey:(NSString *)key; 13 | - (NSMutableDictionary *) dictionaryForKey:(NSString *)key; 14 | - (NSMutableArray *) arrayForKey:(NSString *)key; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /ZenCoding/NSMutableDictionary+EMUtils.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSMutableDictionary+ZCUtils.m 3 | // ZenCoding 4 | // 5 | // Created by Сергей Чикуёнок on 3/21/12. 6 | // Copyright (c) 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "NSMutableDictionary+EMUtils.h" 10 | 11 | @implementation NSMutableDictionary (EMUtils) 12 | 13 | - (id)objectOfClass:(Class)cl forKey:(NSString *)key { 14 | id val = [self objectForKey:key]; 15 | if (!val || ![val isKindOfClass:cl]) { 16 | [self setObject:[[cl new] autorelease] forKey:key]; 17 | } 18 | 19 | return [self objectForKey:key]; 20 | } 21 | 22 | - (NSMutableDictionary *) dictionaryForKey:(NSString *)key { 23 | return (NSMutableDictionary *)[self objectOfClass:[NSMutableDictionary class] forKey:key]; 24 | } 25 | 26 | - (NSMutableArray *) arrayForKey:(NSString *)key { 27 | return (NSMutableArray *)[self objectOfClass:[NSMutableArray class] forKey:key]; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /ZenCoding/NSTextView+EmmetEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 2/6/12. 3 | // Copyright 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import 7 | #import "EmmetEditor.h" 8 | #import "Emmet.h" 9 | 10 | #define DEFAULT_PROFILE @"xhtml" 11 | #define DEFAULT_SYNTAX @"html" 12 | 13 | @interface NSTextView (NSTextView_EmmetEditor) 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ZenCoding/NSTextView+EmmetEditor.m: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Сергей Чикуёнок on 2/6/12. 3 | // Copyright 2012 Аймобилко. All rights reserved. 4 | // 5 | 6 | #import "NSTextView+EmmetEditor.h" 7 | #import "EMPromptDialogController.h" 8 | 9 | @implementation NSTextView (NSTextView_EmmetEditor) 10 | 11 | - (NSUInteger) caretPos { 12 | NSRange sel = [self selectionRange]; 13 | return sel.location; 14 | } 15 | 16 | - (void)setCaretPos:(NSUInteger)caretPos { 17 | [self setSelectedRange:NSMakeRange(caretPos, 0)]; 18 | } 19 | 20 | - (NSRange) selectionRange { 21 | return [self selectedRange]; 22 | } 23 | 24 | - (void) setSelectionRange:(NSRange)range { 25 | [self setSelectedRange:range]; 26 | } 27 | 28 | - (NSString *)selection { 29 | return [[self content] substringWithRange:[self selectedRange]]; 30 | } 31 | 32 | - (NSString *)content { 33 | return [self string]; 34 | } 35 | 36 | - (NSString *)syntax { 37 | return DEFAULT_SYNTAX; 38 | } 39 | 40 | - (NSString *)profileName { 41 | return nil; 42 | } 43 | 44 | - (NSRange)currentLineRange { 45 | NSString *content = [self content]; 46 | return [content lineRangeForRange:NSMakeRange(self.caretPos, 0)]; 47 | } 48 | 49 | - (NSString *)currentLine { 50 | return [[self content] substringWithRange:[self currentLineRange]]; 51 | } 52 | 53 | - (void) replaceContentWithValue:(NSString *)value from:(NSUInteger)start to:(NSUInteger)end withoutIndentation:(BOOL)noIndent { 54 | // check if range is in bounds 55 | if (end <= [[self string] length]) { 56 | // extract tabstops and clean-up output 57 | Emmet *em = [Emmet sharedInstance]; 58 | 59 | id output = [em.jsc evalFunction:@"objcExtractTabstopsOnInsert" withArguments:value, nil]; 60 | 61 | NSDictionary *tabstopData = [em.jsc convertJSObject:output toNativeType:@"object"]; 62 | value = [tabstopData valueForKey:@"text"]; 63 | 64 | NSRange updateRange = NSMakeRange(start, end - start); 65 | [self shouldChangeTextInRange:updateRange replacementString:value]; 66 | [self replaceCharactersInRange:updateRange withString:value]; 67 | [self didChangeText]; 68 | 69 | // locate first tabstop and place cursor in it 70 | NSArray *tabstops = [tabstopData objectForKey:@"tabstops"]; 71 | if (tabstops != nil && [tabstops count]) { 72 | NSDictionary *firstTabstop = [tabstops objectAtIndex:0]; 73 | if (firstTabstop) { 74 | NSNumber *tsStart = (NSNumber *)[firstTabstop objectForKey:@"start"]; 75 | NSNumber *tsEnd = (NSNumber *)[firstTabstop objectForKey:@"end"]; 76 | NSRange selRange = NSMakeRange([tsStart unsignedIntegerValue] + start, [tsEnd unsignedIntegerValue] - [tsStart unsignedIntegerValue]); 77 | 78 | [self setSelectionRange:selRange]; 79 | return; 80 | } 81 | } 82 | 83 | // unable to locate tabstops, place caret at the end of content 84 | [self setCaretPos:start + [value length]]; 85 | } 86 | } 87 | 88 | - (NSString *)prompt:(NSString *)label { 89 | return [EMPromptDialogController prompt:label]; 90 | } 91 | 92 | - (NSString *)filePath { 93 | return @"not implemented yet"; 94 | } 95 | 96 | @end 97 | -------------------------------------------------------------------------------- /ZenCoding/Sample.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Test 6 | 7 | Sample 8 | fgh 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ZenCoding/dsa_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIIDOzCCAi0GByqGSM44BAEwggIgAoIBAQD6eyEbg4CanwyU0NaV54oDJ2vSlsNP 3 | QuvO086wTowh6FonosTfSdWAOAMcxUXUmtts9NO7TSqBZCETVBI0VXKP0nFEbEsf 4 | +KmvM5n12sIHmXVSfsBTsj+sn9y13qb89I6hwgdC6O/F+dIvJToJqTjhcfEwqGDj 5 | lmq5QECBkfNREMv9+0b9WIidA+fwV+CYHnPMbYT7Q9dUkgStvvsC3vf0p62ycG90 6 | 5PhENMb/5cGh/dcohcAwnaZWjVtldMW7im8SmKVvXrEdMkvTGecKA0BNJw/uSmsS 7 | WVotk6hFiSSqWi76QUmEhlZPKOuDAvGQrMIkZTkHOHQbCjz++Djno9dVAhUA2nzM 8 | YlmHb+A/NsYbHOCODdJVMQMCggEAY4iaHMyGh0SUcR+g5QQaEREjz3pmtW5pYnFz 9 | O+JBxGn2w1pUu9qR5Z9+8tpwy3r0fFWkuqSeIwrCFXAMzD7lBExtwiaWhjoz+KfB 10 | BuvEra4NbJhN3FoSxDIOhRdtX5cPBSVk1A0Ug1r9yozJpayjlTpSh/yS3lxrrgwW 11 | uG5CRPWOxqjjI9xtbj9Dm1eIyC5mHog1WEpvMHtbt37809MjCsbMdJKYgXGgNgx5 12 | 1wuBppO2DqIgkvrJY2HJWfXiIYhHMeseZDyVGsX41di9SYchmsdDpcuHvxnru8Eu 13 | SXKN9iy3Y0PctFDFzAr4RAbhJqXy7gsauZL/HtHq7oeheQdlVAOCAQYAAoIBAQCh 14 | FuC3RXDgiXiGYfCshvYuKQYqB9BaHP9KXreyP0Fd53wRztcpPbYxL86T+28GMhE9 15 | f7uoFb02H6GiYavUCblVUSXOj59M5c4M7At5SMAwzhig26/19u+bb2wK2it1V9/P 16 | a26KDbMDf8dn+auPp6rSSM9ZgijMr2wcsQ2pss2WjbQSBXqz5ph4lONxfBGK4loA 17 | gnoNWG3QlVqR49rYEBrK3rTpJwGg5cTAS0LiI1XEAouijj6kKGYpOSngBrThVGPp 18 | 31A4eBs/Z2qWhjZtqXb+w6q8so91FOYpqPOKGHCurzAJWJcY4DQqHHJDC9zYuo+D 19 | YpdJDNpZTPRJkA92TFJ/ 20 | -----END PUBLIC KEY----- 21 | -------------------------------------------------------------------------------- /ZenCoding/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ZenCoding/file-interface.js: -------------------------------------------------------------------------------- 1 | emmet.define('file', function(require, _) { 2 | var context; 3 | return { 4 | setContext: function(ctx) { 5 | context = ctx; 6 | }, 7 | 8 | _parseParams: function(args) { 9 | var params = { 10 | path: args[0], 11 | size: -1 12 | }; 13 | 14 | args = _.rest(args); 15 | params.callback = _.last(args); 16 | args = _.initial(args); 17 | if (args.length) { 18 | params.size = args[0]; 19 | } 20 | 21 | return params; 22 | }, 23 | 24 | read: function(path, size, callback) { 25 | var params = this._parseParams(arguments); 26 | var content = context.read_ofSize(params.path, 0); 27 | params.callback(content ? null : 'ObjC error', content); 28 | }, 29 | 30 | readText: function(path, size, callback) { 31 | var params = this._parseParams(arguments); 32 | var content = context.readText(params.path); 33 | params.callback(content ? null : 'ObjC error', String(content || '')); 34 | }, 35 | 36 | locateFile: function(baseFile, fileName) { 37 | return fileName ? context.locateFile_relativeTo(fileName, baseFile) : null; 38 | }, 39 | 40 | createPath: function(basePath, fileName) { 41 | return context.createPath_relativeTo(fileName, baseFile); 42 | }, 43 | 44 | save: function(file, content) { 45 | return content.save_atPath(content, file); 46 | }, 47 | 48 | getExt: function(file) { 49 | var m = (file || '').match(/\.([\w\-]+)$/); 50 | return m ? m[1].toLowerCase() : ''; 51 | } 52 | }; 53 | }); 54 | -------------------------------------------------------------------------------- /ZenCoding/logo.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/ZenCoding/logo.tiff -------------------------------------------------------------------------------- /ZenCoding/logo@2x.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pingjiang/emmet-objc/d58f30ce40f2a7c07f3af0d4e4b821305e4fd11f/ZenCoding/logo@2x.tiff -------------------------------------------------------------------------------- /ZenCodingSample/EMFragariaEditor.h: -------------------------------------------------------------------------------- 1 | // 2 | // EMFragariaEditor.h 3 | // Emmet 4 | // 5 | // Created by Sergey Chikuyonok on 1/6/13. 6 | // Copyright (c) 2013 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import "EmmetEditor.h" 12 | 13 | @interface EMFragariaEditor : NSObject { 14 | MGSFragaria *_backend; 15 | NSTextView *tv; 16 | } 17 | 18 | - (id)initWithBackend:(MGSFragaria *)backend; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /ZenCodingSample/EMFragariaEditor.m: -------------------------------------------------------------------------------- 1 | // 2 | // EMFragariaEditor.m 3 | // Emmet 4 | // 5 | // Created by Sergey Chikuyonok on 1/6/13. 6 | // Copyright (c) 2013 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import "EMFragariaEditor.h" 10 | #import "NSTextView+EmmetEditor.h" 11 | 12 | @implementation EMFragariaEditor 13 | 14 | - (id)initWithBackend:(MGSFragaria *)backend { 15 | if (self = [super init]) { 16 | _backend = [backend retain]; 17 | tv = [backend objectForKey:ro_MGSFOTextView]; 18 | } 19 | 20 | return self; 21 | } 22 | 23 | - (NSUInteger) caretPos { 24 | return tv.caretPos; 25 | } 26 | 27 | - (void)setCaretPos:(NSUInteger)caretPos { 28 | tv.caretPos = caretPos; 29 | } 30 | 31 | - (NSRange) selectionRange { 32 | return tv.selectionRange; 33 | } 34 | 35 | - (void) setSelectionRange:(NSRange)range { 36 | tv.selectionRange = range; 37 | } 38 | 39 | - (NSRange)currentLineRange { 40 | return [tv currentLineRange]; 41 | } 42 | - (NSString *)currentLine { 43 | return [tv currentLine]; 44 | } 45 | - (NSString *)content { 46 | return [tv content]; 47 | } 48 | 49 | - (NSString *)syntax { 50 | NSString *syntax = [_backend objectForKey:MGSFOSyntaxDefinitionName]; 51 | return [syntax lowercaseString]; 52 | } 53 | - (NSString *)profileName { 54 | return nil; 55 | } 56 | 57 | - (NSString *)selection { 58 | return [tv selection]; 59 | } 60 | 61 | - (void)replaceContentWithValue:(NSString *)value from:(NSUInteger)start to:(NSUInteger)end withoutIndentation:(BOOL)indent { 62 | [tv replaceContentWithValue:value from:start to:end withoutIndentation:indent]; 63 | } 64 | 65 | - (NSString *)prompt:(NSString *)label { 66 | return [tv prompt:label]; 67 | } 68 | 69 | - (NSString *)filePath { 70 | return @"/Users/Sergey/Projects/zc-ext/sample.css"; 71 | // return [[NSFileManager defaultManager] currentDirectoryPath]; 72 | } 73 | 74 | - (void)dealloc { 75 | [_backend release]; 76 | [super dealloc]; 77 | } 78 | 79 | @end 80 | -------------------------------------------------------------------------------- /ZenCodingSample/EmmetSample-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | icon.tiff 11 | CFBundleIdentifier 12 | ru.chikuyonok.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSMinimumSystemVersion 26 | ${MACOSX_DEPLOYMENT_TARGET} 27 | NSHumanReadableCopyright 28 | Copyright © 2012 Аймобилко. All rights reserved. 29 | NSMainNibFile 30 | MainMenu 31 | NSPrincipalClass 32 | NSApplication 33 | 34 | 35 | -------------------------------------------------------------------------------- /ZenCodingSample/EmmetSample-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'ZenCodingSample' target in the 'ZenCodingSample' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /ZenCodingSample/ZenCodingSampleAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // ZenCodingSampleAppDelegate.h 3 | // ZenCodingSample 4 | // 5 | // Created by Сергей Чикуёнок on 2/18/12. 6 | // Copyright 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | #import "EMBasicPreferencesWindowController.h" 12 | #import "EMFragariaEditor.h" 13 | 14 | @interface ZenCodingSampleAppDelegate : NSObject { 15 | NSWindow *window; 16 | NSTextView *tv; 17 | IBOutlet NSView *textArea; 18 | EMBasicPreferencesWindowController *prefs; 19 | MGSFragaria *fragaria; 20 | EMFragariaEditor *editor; 21 | 22 | NSArrayController *syntaxesController; 23 | } 24 | 25 | @property (assign) IBOutlet NSWindow *window; 26 | - (IBAction)showPreferences:(id)sender; 27 | @property (assign) IBOutlet NSArrayController *syntaxesController; 28 | 29 | - (NSString *)syntaxDefinition; 30 | - (void)setSyntaxDefinition:(NSString *)name; 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /ZenCodingSample/en.lproj/Credits.rtf: -------------------------------------------------------------------------------- 1 | {\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;} 2 | {\colortbl;\red255\green255\blue255;} 3 | \paperw9840\paperh8400 4 | \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural 5 | 6 | \f0\b\fs24 \cf0 Engineering: 7 | \b0 \ 8 | Some people\ 9 | \ 10 | 11 | \b Human Interface Design: 12 | \b0 \ 13 | Some other people\ 14 | \ 15 | 16 | \b Testing: 17 | \b0 \ 18 | Hopefully not nobody\ 19 | \ 20 | 21 | \b Documentation: 22 | \b0 \ 23 | Whoever\ 24 | \ 25 | 26 | \b With special thanks to: 27 | \b0 \ 28 | Mom\ 29 | } 30 | -------------------------------------------------------------------------------- /ZenCodingSample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ZenCodingSample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ZenCodingSample 4 | // 5 | // Created by Сергей Чикуёнок on 2/18/12. 6 | // Copyright 2012 Аймобилко. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | int main(int argc, char *argv[]) 12 | { 13 | return NSApplicationMain(argc, (const char **)argv); 14 | } 15 | -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | xcodebuild -project ./Emmet.xcodeproj -target Plugins -configuration 'Release' CONFIGURATION_BUILD_DIR='~/Projects/emmet-ws/' -------------------------------------------------------------------------------- /change_name.sh: -------------------------------------------------------------------------------- 1 | install_name_tool -id @loader_path/../Frameworks/ZenCoding.framework/Versions/A/ZenCoding ./ZenCoding --------------------------------------------------------------------------------