Skip to content

Commit

Permalink
more minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cooljeanius committed May 8, 2012
1 parent 9f3f93a commit 8eb3be1
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -11,6 +11,8 @@ build

*.xcworkspace/
xcuserdata/
*.movedaside
movedaside/*

-1

2 changes: 1 addition & 1 deletion Cocoa/Categories/NSOutlineView-SelectedItems.h
Expand Up @@ -5,4 +5,4 @@
- (id)selectedItem;
- (NSArray *)selectedItems;

@end
@end
2 changes: 1 addition & 1 deletion Cocoa/Plug-Ins/Hex Editor/HexEditorDelegate.m
Expand Up @@ -143,4 +143,4 @@ - (NSRange)rangeForUserTextChange
return rangeForUserTextChange;
}

@end
@end
2 changes: 1 addition & 1 deletion Cocoa/Plug-Ins/Hex Editor/NSData-HexRepresentation.m
Expand Up @@ -92,4 +92,4 @@ - (NSData *)dataFromHex
return [NSData dataWithBytesNoCopy:buffer length:actualBytesEncoded freeWhenDone:YES];
}

@end
@end
2 changes: 1 addition & 1 deletion Cocoa/Plug-Ins/Template Editor/ElementDBYT.h
Expand Up @@ -14,4 +14,4 @@
@end

@interface ElementKBYT : ElementDBYT
@end
@end
2 changes: 1 addition & 1 deletion Cocoa/Plug-Ins/Template Editor/TemplateWindowController.h
Expand Up @@ -50,4 +50,4 @@
@end

@interface NTOutlineView : NSOutlineView
@end
@end
2 changes: 1 addition & 1 deletion Cocoa/Plug-Ins/Template Editor/TemplateWindowController.m
Expand Up @@ -459,4 +459,4 @@ - (BOOL)textView:(NSTextView *)textView doCommandBySelector:(SEL)selector
}
return [super textView:textView doCommandBySelector:selector];
}
@end
@end
3 changes: 3 additions & 0 deletions Cocoa/Resources/ResKnife Cocoa.sdef
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
<dictionary><suite name="Standard Suite" code="????" description="Common classes and commands for most applications."><command name="close" code="coreclos" description="Close an object."><direct-parameter type="specifier" description="the object for the command"/><parameter name="saving" code="savo" type="savo" optional="yes" description="Specifies whether changes should be saved before closing."/><parameter name="saving in" code="kfil" type="alias" optional="yes" description="The file in which to save the object."/></command><command name="count" code="corecnte" description="Return the number of elements of a particular class within an object."><direct-parameter type="specifier" description="the object for the command"/><parameter name="each" code="kocl" type="type" optional="yes" description="The class of objects to be counted."/><result type="integer"/></command><command name="delete" code="coredelo" description="Delete an object."><direct-parameter type="specifier" description="the object for the command"/></command><command name="duplicate" code="coreclon" description="Copy object(s) and put the copies at a new location."><direct-parameter type="specifier" description="the object for the command"/><parameter name="to" code="insh" type="location specifier" optional="yes" description="The location for the new object(s)."/><parameter name="with properties" code="prdt" type="record" optional="yes" description="Properties to be set in the new duplicated object(s)."/></command><command name="exists" code="coredoex" description="Verify if an object exists."><direct-parameter type="specifier" description="the object for the command"/><result type="boolean"/></command><command name="get" code="coregetd" description="Get the data for an object."><direct-parameter type="specifier" description="the object for the command"/><result type="any"/></command><command name="make" code="corecrel" description="Make a new object."><parameter name="new" code="kocl" type="type" description="The class of the new object."/><parameter name="at" code="insh" type="location specifier" optional="yes" description="The location at which to insert the object."/><parameter name="with data" code="data" type="any" optional="yes" description="The initial data for the object."/><parameter name="with properties" code="prdt" type="record" optional="yes" description="The initial values for properties of the object."/><result type="specifier"/></command><command name="move" code="coremove" description="Move object(s) to a new location."><direct-parameter type="specifier" description="the object for the command"/><parameter name="to" code="insh" type="location specifier" description="The new location for the object(s)."/></command><command name="open" code="aevtodoc" description="Open an object."><direct-parameter type="alias" description="The file(s) to be opened."/><result type="document"/></command><command name="print" code="aevtpdoc" description="Print an object."><direct-parameter type="alias" description="The file(s) or document(s) to be printed."/><parameter name="print dialog" code="pdlg" type="boolean" optional="yes" description="Should the application show the Print dialog?"/><parameter name="with properties" code="prdt" type="print settings" optional="yes" description="the print settings"/></command><command name="quit" code="aevtquit" description="Quit an application."><parameter name="saving" code="savo" type="savo" optional="yes" description="Specifies whether changes should be saved before quitting."/></command><command name="save" code="coresave" description="Save an object."><direct-parameter type="specifier" description="the object for the command"/><parameter name="as" code="fltp" type="text" optional="yes" description="The file type in which to save the data."/><parameter name="in" code="kfil" type="alias" optional="yes" description="The file in which to save the object."/></command><command name="set" code="coresetd" description="Set an object&apos;s data."><direct-parameter type="specifier" description="the object for the command"/><parameter name="to" code="data" type="any" description="The new value."/></command><class name="application" code="capp" description="An application&apos;s top level scripting object." inherits="item" plural="applications"><element type="document"/><element type="window"/><property name="frontmost" code="pisf" type="boolean" access="r" description="Is this the frontmost (active) application?"/><property name="name" code="pnam" type="text" access="r" description="The name of the application."/><property name="version" code="vers" type="text" access="r" description="The version of the application."/></class><class name="color" code="colr" description="A color." inherits="item" plural="colors"/><class name="document" code="docu" description="A document." inherits="item" plural="documents"><property name="modified" code="imod" type="boolean" access="r" description="Has the document been modified since the last save?"/><property name="name" code="pnam" type="text" description="The document&apos;s name."/><property name="path" code="ppth" type="text" description="The document&apos;s path."/></class><class name="item" code="cobj" description="A scriptable object." plural="items"><property name="class" code="pcls" type="type" access="r" description="The class of the object."/><property name="properties" code="pALL" type="record" description="All of the object&apos;s properties."/></class><class name="window" code="cwin" description="A window." inherits="item" plural="windows"><property name="bounds" code="pbnd" type="rectangle" description="The bounding rectangle of the window."/><property name="closeable" code="hclb" type="boolean" access="r" description="Whether the window has a close box."/><property name="document" code="docu" type="document" access="r" description="The document whose contents are being displayed in the window."/><property name="floating" code="isfl" type="boolean" access="r" description="Whether the window floats."/><property name="id" code="ID " type="integer" access="r" description="The unique identifier of the window."/><property name="index" code="pidx" type="integer" description="The index of the window, ordered front to back."/><property name="miniaturizable" code="ismn" type="boolean" access="r" description="Whether the window can be miniaturized."/><property name="miniaturized" code="pmnd" type="boolean" description="Whether the window is currently miniaturized."/><property name="modal" code="pmod" type="boolean" access="r" description="Whether the window is the application&apos;s current modal window."/><property name="name" code="pnam" type="text" description="The full title of the window."/><property name="resizable" code="prsz" type="boolean" access="r" description="Whether the window can be resized."/><property name="titled" code="ptit" type="boolean" access="r" description="Whether the window has a title bar."/><property name="visible" code="pvis" type="boolean" description="Whether the window is currently visible."/><property name="zoomable" code="iszm" type="boolean" access="r" description="Whether the window can be zoomed."/><property name="zoomed" code="pzum" type="boolean" description="Whether the window is currently zoomed."/></class><enumeration name="savo" code="savo"><enumerator name="ask" code="ask " description="Ask the user whether or not to save the file."/><enumerator name="no" code="no " description="Do not save the file."/><enumerator name="yes" code="yes " description="Save the file."/></enumeration></suite><suite name="Text Suite" code="????" description="A set of basic classes for text processing."><class name="attachment" code="atts" description="Represents an inline text attachment. This class is used mainly for make commands." inherits="text.ctxt"><property name="file name" code="atfn" type="text" description="The path to the file for the attachment"/></class><class name="attribute run" code="catr" description="This subdivides the text into chunks that all have the same attributes." inherits="item" plural="attribute runs"><element type="attachment"/><element type="attribute run"/><element type="character"/><element type="paragraph"/><element type="word"/><property name="color" code="colr" type="color" description="The color of the first character."/><property name="font" code="font" type="text" description="The name of the font of the first character."/><property name="size" code="ptsz" type="integer" description="The size in points of the first character."/></class><class name="character" code="cha " description="This subdivides the text into characters." inherits="item" plural="characters"><element type="attachment"/><element type="attribute run"/><element type="character"/><element type="paragraph"/><element type="word"/><property name="color" code="colr" type="color" description="The color of the first character."/><property name="font" code="font" type="text" description="The name of the font of the first character."/><property name="size" code="ptsz" type="integer" description="The size in points of the first character."/></class><class name="paragraph" code="cpar" description="This subdivides the text into paragraphs." inherits="item" plural="paragraphs"><element type="attachment"/><element type="attribute run"/><element type="character"/><element type="paragraph"/><element type="word"/><property name="color" code="colr" type="color" description="The color of the first character."/><property name="font" code="font" type="text" description="The name of the font of the first character."/><property name="size" code="ptsz" type="integer" description="The size in points of the first character."/></class><class name="text" code="ctxt" description="Rich (styled) text" id="text.ctxt" inherits="item"><element type="attachment"/><element type="attribute run"/><element type="character"/><element type="paragraph"/><element type="word"/><property name="color" code="colr" type="color" description="The color of the first character."/><property name="font" code="font" type="text" description="The name of the font of the first character."/><property name="size" code="ptsz" type="integer" description="The size in points of the first character."/></class><class name="word" code="cwor" description="This subdivides the text into words." inherits="item" plural="words"><element type="attachment"/><element type="attribute run"/><element type="character"/><element type="paragraph"/><element type="word"/><property name="color" code="colr" type="color" description="The color of the first character."/><property name="font" code="font" type="text" description="The name of the font of the first character."/><property name="size" code="ptsz" type="integer" description="The size in points of the first character."/></class></suite><suite name="Type Definitions" code="tpdf" description="Records used in scripting ResKnife"><class name="print settings" code="pset"><property name="copies" code="lwcp" type="integer" description="the number of copies of a document to be printed"/><property name="collating" code="lwcl" type="boolean" description="Should printed copies be collated?"/><property name="starting page" code="lwfp" type="integer" description="the first page of the document to be printed"/><property name="ending page" code="lwlp" type="integer" description="the last page of the document to be printed"/><property name="pages across" code="lwla" type="integer" description="number of logical pages laid across a physical page"/><property name="pages down" code="lwld" type="integer" description="number of logical pages laid out down a physical page"/><property name="requested print time" code="lwqt" type="date" description="the time at which the desktop printer should print the document"/><property name="error handling" code="lweh" type="enum" description="how errors are handled"/><property name="fax number" code="faxn" type="text" description="for fax number"/><property name="target printer" code="trpr" type="text" description="for target printer"/></class><enumeration name="enum" code="enum"><enumerator name="standard" code="lwst" description="Standard PostScript error handling"/><enumerator name="detailed" code="lwdt" description="print a detailed report of PostScript errors"/></enumeration></suite><suite name="Type Names" code="tpnm" description="Other classes and commands" hidden="yes"/></dictionary>
Binary file modified Cocoa/Resources/ResKnife.icns
Binary file not shown.
25 changes: 25 additions & 0 deletions ResKnife.xcodeproj/project.pbxproj
Expand Up @@ -2705,8 +2705,33 @@
buildSettings = {
ENABLE_OPENMP_SUPPORT = YES;
GCC_ALTIVEC_EXTENSIONS = YES;
GCC_GENERATE_TEST_COVERAGE_FILES = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO;
GCC_TREAT_WARNINGS_AS_ERRORS = NO;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES;
GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES;
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
GCC_WARN_MISSING_PARENTHESES = YES;
GCC_WARN_MULTIPLE_DEFINITION_TYPES_FOR_SELECTOR = YES;
GCC_WARN_PEDANTIC = YES;
GCC_WARN_PROTOTYPE_CONVERSION = YES;
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_STRICT_SELECTOR_MATCH = YES;
GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNKNOWN_PRAGMAS = YES;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_LABEL = YES;
GCC_WARN_UNUSED_PARAMETER = YES;
GCC_WARN_UNUSED_VALUE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
GENERATE_PKGINFO_FILE = YES;
GENERATE_PROFILING_CODE = YES;
LD_GENERATE_MAP_FILE = YES;
Expand Down

0 comments on commit 8eb3be1

Please sign in to comment.