Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created June 1, 2012 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saitoha/2851592 to your computer and use it in GitHub Desktop.
Save saitoha/2851592 to your computer and use it in GitHub Desktop.
Terminal.app 2.2.3 (303.2) - 2.3 (307) class-dump diff
47c47
< TTMultiLineBuffer *_field1;
---
> id _field1;
118,119c118,119
< * File: /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
< * UUID: 4FE3571C-852C-3F5E-BA6A-87B48ED5E043
---
> * File: /Users/user/Desktop/Terminal.app/Contents/MacOS/Terminal
> * UUID: 13F0FDE0-12F4-3F49-B45A-A551A5000E19
121c121
< * Minimum Mac OS X version: 10.7.0
---
> * Minimum Mac OS X version: 10.8.0
235a236
> - (id)debugDescription;
281a283,285
>
> @optional
> - (BOOL)scrollerImpPair:(id)arg1 isContentPointVisible:(struct CGPoint)arg2;
313,314c317,318
< @protocol NSTextInput
< - (id)attributedSubstringFromRange:(struct _NSRange)arg1;
---
> @protocol NSTextInputClient
> - (id)attributedSubstringForProposedRange:(struct _NSRange)arg1 actualRange:(struct _NSRange *)arg2;
316d319
< - (long long)conversationIdentifier;
318c321
< - (struct CGRect)firstRectForCharacterRange:(struct _NSRange)arg1;
---
> - (struct CGRect)firstRectForCharacterRange:(struct _NSRange)arg1 actualRange:(struct _NSRange *)arg2;
320c323
< - (void)insertText:(id)arg1;
---
> - (void)insertText:(id)arg1 replacementRange:(struct _NSRange)arg2;
323c326
< - (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2;
---
> - (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2 replacementRange:(struct _NSRange)arg3;
325a329,335
>
> @optional
> - (id)attributedString;
> - (double)baselineDeltaForCharacterAtIndex:(unsigned long long)arg1;
> - (BOOL)drawsVerticallyForCharacterAtIndex:(unsigned long long)arg1;
> - (double)fractionOfDistanceThroughGlyphForPoint:(struct CGPoint)arg1;
> - (long long)windowLevel;
429c439
< + (id)newWithDictionary:(id)arg1;
---
> + (id)serviceWithDictionary:(id)arg1;
525a536,543
> @interface NSURL (TTTerminalURLValidation)
> + (id)keyPathsForValuesAffectingIsValidatingLocalHostFileURL;
> + (id)keyPathsForValuesAffectingValidatedLocalHostFileURLLocalizedName;
> - (BOOL)isValidLocalHostFileURL;
> - (BOOL)isValidatingLocalHostFileURL;
> - (id)validatedLocalHostFileURLLocalizedName;
> @end
>
805d822
< - (BOOL)authorizeShell;
832a850
> - (BOOL)isKnownHostName:(id)arg1;
837a856,857
> - (id)makeWindowControllerWithProfile:(id)arg1;
> - (id)makeWindowControllerWithProfile:(id)arg1 customFont:(id)arg2 command:(id)arg3 runAsShell:(BOOL)arg4 restorable:(BOOL)arg5 workingDirectory:(id)arg6;
847,848d866
< - (id)newWindowControllerWithProfile:(id)arg1;
< - (id)newWindowControllerWithProfile:(id)arg1 customFont:(id)arg2 command:(id)arg3 runAsShell:(BOOL)arg4 restorable:(BOOL)arg5 workingDirectory:(id)arg6;
854a873
> - (void)openManPageForSelection:(id)arg1;
873a893
> - (void)searchManPagesForSelection:(id)arg1;
978a999,1007
> @interface TTBoolToStringTransformer : NSValueTransformer
> {
> }
>
> + (Class)transformedValueClass;
> - (id)transformedValue:(id)arg1;
>
> @end
>
1071a1101
> + (id)validateUTF8Data:(id)arg1 pushingBackToBuffer:(id *)arg2;
1331a1362
> BOOL _isEastAsianAmbiguousWide;
1362,1363c1393,1397
< + (BOOL)automaticallyNotifiesObserversForKey:(id)arg1;
< + (id)keyPathsForValuesAffectingValueForRowCount;
---
> + (BOOL)automaticallyNotifiesObserversOfContentSize;
> + (BOOL)automaticallyNotifiesObserversOfRepresentedURL;
> + (BOOL)automaticallyNotifiesObserversOfTabTitle;
> + (BOOL)automaticallyNotifiesObserversOfWindowTitle;
> + (BOOL)automaticallyNotifiesObserversOfWorkingDirectoryURL;
1403a1438
> @property(nonatomic) BOOL isEastAsianAmbiguousWide; // @synthesize isEastAsianAmbiguousWide=_isEastAsianAmbiguousWide;
1422c1457
< @property(retain) NSURL *representedURL; // @synthesize representedURL=_representedURL;
---
> @property(retain, nonatomic) NSURL *representedURL; // @synthesize representedURL=_representedURL;
1423a1459
> - (void)rewrapLines;
1435a1472
> - (void)setCursorRowWrappedToNextRow:(BOOL)arg1;
1443,1445c1480,1482
< @property(retain) NSString *tabTitle; // @synthesize tabTitle=_tabTitle;
< @property(retain) NSString *windowTitle; // @synthesize windowTitle=_windowTitle;
< @property(retain) NSURL *workingDirectoryURL; // @synthesize workingDirectoryURL=_workingDirectoryURL;
---
> @property(retain, nonatomic) NSString *tabTitle; // @synthesize tabTitle=_tabTitle;
> @property(retain, nonatomic) NSString *windowTitle; // @synthesize windowTitle=_windowTitle;
> @property(retain, nonatomic) NSURL *workingDirectoryURL; // @synthesize workingDirectoryURL=_workingDirectoryURL;
1527,1528c1564,1565
< - (unsigned long long)wrapLineOffsets:(CDStruct_bff1fa32 *)arg1 toColumnCount:(unsigned long long)arg2 startingAtColumn:(unsigned long long)arg3 withLogicalScreen:(id)arg4;
< - (unsigned long long)wrapToColumnCount:(unsigned long long)arg1 startingAtColumn:(unsigned long long)arg2 withLogicalScreen:(id)arg3;
---
> - (unsigned long long)wrapLineOffsets:(CDStruct_bff1fa32 *)arg1 toColumnCount:(unsigned long long)arg2 startingAtColumn:(unsigned long long)arg3 withLogicalScreen:(id)arg4 forceRewrap:(BOOL)arg5;
> - (unsigned long long)wrapToColumnCount:(unsigned long long)arg1 startingAtColumn:(unsigned long long)arg2 withLogicalScreen:(id)arg3 forceRewrap:(BOOL)arg4;
1574d1610
< double _hideControlsFraction;
1591d1626
< @property BOOL controlsHidden;
1593d1627
< @property(nonatomic) double hideControlsFraction; // @synthesize hideControlsFraction=_hideControlsFraction;
1658a1693,1806
> @interface TTProcessDisplayNameCell : NSTextFieldCell
> {
> NSTableColumn *_statusColumn;
> NSTableColumn *_userColumn;
> NSTableColumn *_ttyColumn;
> }
>
> - (void)drawInteriorWithFrame:(struct CGRect)arg1 inView:(id)arg2;
>
> @end
>
> @interface TTProcessInfo : NSObject
> {
> NSString *_name;
> NSAttributedString *_displayName;
> int _pid;
> int _ppid;
> int _pgid;
> unsigned int _euid;
> NSString *_user;
> BOOL _hasCTTY;
> int _tdev;
> NSString *_tty;
> NSString *_tt;
> BOOL _isBase;
> BOOL _isCommand;
> BOOL _isShell;
> BOOL _isTerminalTTY;
> BOOL _isForeground;
> BOOL _isFrontmost;
> BOOL _isDirty;
> BOOL _status;
> NSString *_kind;
> long long _indent;
> NSObject<OS_dispatch_source> *_dispatchSource;
> }
>
> - (void)dealloc;
> - (id)description;
> @property(nonatomic) NSObject<OS_dispatch_source> *dispatchSource; // @synthesize dispatchSource=_dispatchSource;
> @property(retain) NSAttributedString *displayName; // @synthesize displayName=_displayName;
> @property unsigned int euid; // @synthesize euid=_euid;
> @property BOOL hasCTTY; // @synthesize hasCTTY=_hasCTTY;
> @property long long indent; // @synthesize indent=_indent;
> - (void)invalidate;
> @property BOOL isBase; // @synthesize isBase=_isBase;
> @property BOOL isCommand; // @synthesize isCommand=_isCommand;
> @property BOOL isDirty; // @synthesize isDirty=_isDirty;
> - (BOOL)isEqual:(id)arg1;
> @property BOOL isForeground; // @synthesize isForeground=_isForeground;
> @property BOOL isFrontmost; // @synthesize isFrontmost=_isFrontmost;
> @property BOOL isShell; // @synthesize isShell=_isShell;
> @property BOOL isTerminalTTY; // @synthesize isTerminalTTY=_isTerminalTTY;
> @property(retain) NSString *kind; // @synthesize kind=_kind;
> @property(retain) NSString *name; // @synthesize name=_name;
> @property int pgid; // @synthesize pgid=_pgid;
> @property int pid; // @synthesize pid=_pid;
> @property int ppid; // @synthesize ppid=_ppid;
> @property BOOL status; // @synthesize status=_status;
> @property int tdev; // @synthesize tdev=_tdev;
> @property(readonly) NSString *tt;
> @property(readonly) NSString *tty;
> @property(readonly) NSString *user;
>
> @end
>
> @interface TTProcessInfoToColorTransformer : NSValueTransformer
> {
> }
>
> + (Class)transformedValueClass;
> - (id)transformedValue:(id)arg1;
>
> @end
>
> @interface TTProcessInfoToDisplayNameTransformer : NSValueTransformer
> {
> }
>
> + (Class)transformedValueClass;
> - (id)transformedValue:(id)arg1;
>
> @end
>
> @interface TTProcessStatusToStringTransformer : NSValueTransformer
> {
> }
>
> + (Class)transformedValueClass;
> - (id)transformedValue:(id)arg1;
>
> @end
>
> @interface TTProcessTableViewController : NSViewController
> {
> NSArrayController *_processArrayController;
> }
>
> + (void)initialize;
> - (void)awakeFromNib;
> - (void)copy:(id)arg1;
> - (void)copyProcessID:(id)arg1;
> - (void)copyProcessName:(id)arg1;
> - (void)initializeSignalSubmenus;
> - (void)signal:(id)arg1 processGroups:(BOOL)arg2;
> - (void)signalProcess:(id)arg1;
> - (void)signalProcessGroup:(id)arg1;
> - (void)toggleColumnHidden:(id)arg1;
> - (void)toggleShowAllProcesses:(id)arg1;
> - (BOOL)validateMenuItem:(id)arg1;
> - (id)view;
>
> @end
>
1668c1816
< + (id)keyPathsForValuesAffectingValueForKey:(id)arg1;
---
> + (id)keyPathsForValuesAffectingFontAllowsDisableAntialias;
1914a2063,2064
> - (void)rewrapLines;
> - (void)rewrapLinesToColumn:(unsigned long long)arg1;
2004a2155,2156
> NSTimer *_runningProcessesUpdateTimer;
> BOOL _isLongDurationTimer;
2042a2195
> - (id)runningProcessNames;
2044,2045c2197,2200
< @property(readonly, retain) TTUUID *sessionClassID; // @synthesize sessionClassID=_sessionClassID;
< @property(readonly, retain) TTUUID *sessionRestorationID; // @synthesize sessionRestorationID=_sessionRestorationID;
---
> @property(retain) NSTimer *runningProcessesUpdateTimer; // @synthesize runningProcessesUpdateTimer=_runningProcessesUpdateTimer;
> - (void)scheduleRunningProcessesUpdateTimer:(BOOL)arg1;
> @property(readonly) TTUUID *sessionClassID; // @synthesize sessionClassID=_sessionClassID;
> @property(readonly) TTUUID *sessionRestorationID; // @synthesize sessionRestorationID=_sessionRestorationID;
2051d2205
< - (void)signal:(int)arg1 shell:(BOOL)arg2;
2053a2208
> - (void)toggleShowAllProcesses;
2056c2211
< - (id)updatedRunningProcesses;
---
> - (id)warningProcesses;
2082,2086d2236
< NSTrackingArea *_windowContentTrackingArea;
< NSTrackingArea *_controlsTrackingArea;
< TTSplitViewMouseTracker *_controlsMouseTracker;
< TTSplitViewControlFadeAnimation *_viewAnimation;
< TTProfile *_profile;
2091,2093d2240
< - (void)_delayedUpdateControlVisibility;
< - (BOOL)_isMouseInControls;
< - (void)_observeProfile:(id)arg1;
2097d2243
< - (void)cancelDelayedUpdateControlVisibility;
2099,2101d2244
< @property BOOL controlsHidden;
< @property(retain) TTSplitViewMouseTracker *controlsMouseTracker; // @synthesize controlsMouseTracker=_controlsMouseTracker;
< @property(retain) NSTrackingArea *controlsTrackingArea; // @synthesize controlsTrackingArea=_controlsTrackingArea;
2106,2107d2248
< - (void)observeValueForKeyPath:(id)arg1 ofObject:(id)arg2 change:(id)arg3 context:(void *)arg4;
< - (void)scheduleDelayedUpdateControlVisibility;
2113,2115d2253
< @property(retain) TTSplitViewControlFadeAnimation *viewAnimation; // @synthesize viewAnimation=_viewAnimation;
< @property(retain) NSTrackingArea *windowContentTrackingArea; // @synthesize windowContentTrackingArea=_windowContentTrackingArea;
< - (void)updateControlVisibility:(BOOL)arg1;
2122,2147d2259
< @interface TTSplitViewControlFadeAnimation : NSViewAnimation
< {
< TTPane *_pane;
< BOOL _fadeIn;
< }
<
< - (void)dealloc;
< @property BOOL fadeIn; // @synthesize fadeIn=_fadeIn;
< - (id)initFadeIn:(BOOL)arg1 view:(id)arg2 animations:(id)arg3;
< @property(retain) TTPane *pane; // @synthesize pane=_pane;
< - (void)setCurrentProgress:(float)arg1;
<
< @end
<
< @interface TTSplitViewMouseTracker : NSObject
< {
< TTSplitView *_splitView;
< }
<
< + (id)mouseTrackerWithSplitView:(id)arg1;
< - (void)mouseEntered:(id)arg1;
< - (void)mouseExited:(id)arg1;
< - (void)mouseMoved:(id)arg1;
<
< @end
<
2205a2318,2319
> NSURL *_windowTitleDerivedURL;
> NSURL *_tabTitleDerivedURL;
2210c2324,2325
< + (void)initialize;
---
> + (BOOL)automaticallyNotifiesObserversOfTabTitleDerivedURL;
> + (BOOL)automaticallyNotifiesObserversOfWindowTitleDerivedURL;
2216d2330
< + (id)keyPathsForValuesAffectingRepresentedURL;
2218c2332
< + (id)keyPathsForValuesAffectingWorkingDirectoryURL;
---
> + (id)keyPathsForValuesAffectingTitle;
2219a2334
> - (void)_deriveURLFromCustomTitle:(id)arg1;
2222d2336
< - (id)_urlFromCustomTitle:(id)arg1;
2228,2229c2342,2343
< @property(readonly, retain) NSString *commandScript; // @synthesize commandScript=_commandScript;
< @property(readonly, retain) NSURL *commandWorkingDirectoryURL; // @synthesize commandWorkingDirectoryURL=_commandWorkingDirectoryURL;
---
> @property(readonly) NSString *commandScript; // @synthesize commandScript=_commandScript;
> @property(readonly) NSURL *commandWorkingDirectoryURL; // @synthesize commandWorkingDirectoryURL=_commandWorkingDirectoryURL;
2231c2345
< @property(readonly, retain) NSString *customCommand; // @synthesize customCommand=_customCommand;
---
> @property(readonly) NSString *customCommand; // @synthesize customCommand=_customCommand;
2260d2373
< - (id)representedURL;
2292d2404
< - (void)setRepresentedURL:(id)arg1;
2311c2423,2424
< - (void)setWorkingDirectoryURL:(id)arg1;
---
> - (void)setTabTitleDerivedURL:(id)arg1;
> - (void)setWindowTitleDerivedURL:(id)arg1;
2323a2437
> - (id)tabTitleDerivedURL;
2331c2445
< - (id)workingDirectoryURL;
---
> - (id)windowTitleDerivedURL;
2381c2495,2496
< BOOL _showTabIfOnlyOne;
---
> BOOL _showTabIfOnlyOneInDesktopScreen;
> BOOL _showTabIfOnlyOneInFullScreen;
2389a2505
> + (id)keyPathsForValuesAffectingShowTabIfOnlyOne;
2392d2507
< - (BOOL)acceptsMouseMovedEvents;
2421c2536
< - (BOOL)isValidDrag:(id)arg1 operation:(unsigned long long *)arg2;
---
> - (BOOL)isValidDrag:(id)arg1 operation:(unsigned long long *)arg2 validCount:(long long *)arg3;
2450a2566,2567
> - (void)setShowTabIfOnlyOneInDesktopScreen:(BOOL)arg1;
> - (void)setShowTabIfOnlyOneInFullScreen:(BOOL)arg1;
2453a2571,2572
> - (BOOL)showTabIfOnlyOneInDesktopScreen;
> - (BOOL)showTabIfOnlyOneInFullScreen;
2464a2584
> - (void)updateDraggingItemsForDrag:(id)arg1;
2465a2586
> - (void)updateTabBarVisibility:(BOOL)arg1;
2544a2666
> - (void)removeBusyIndicator;
2570a2693,2701
> @interface TTTableColumnMenuItem : NSMenuItem
> {
> NSTableColumn *_tableColumn;
> }
>
> @property NSTableColumn *tableColumn; // @synthesize tableColumn=_tableColumn;
>
> @end
>
2725c2856
< @interface TTView : TTAccessibleView <TTBlinking, NSTextInput, NSAnimationDelegate>
---
> @interface TTView : TTAccessibleView <TTBlinking, NSTextInputClient, NSAnimationDelegate>
2727a2859
> double _kern;
2761,2763d2892
< NSMenuItem *_openURLMenuItem;
< NSMenuItem *_openManPageMenuItem;
< NSMenuItem *_searchManPagesMenuItem;
2805c2934
< + (struct CGSize)cellSizeForProfile:(id)arg1 controller:(id)arg2;
---
> + (struct CGSize)cellSizeForProfile:(id)arg1 controller:(id)arg2 kern:(double *)arg3;
2843c2972
< - (id)attributedSubstringFromRange:(struct _NSRange)arg1;
---
> - (id)attributedSubstringForProposedRange:(struct _NSRange)arg1 actualRange:(struct _NSRange *)arg2;
2846a2976
> - (double)baselineDeltaForCharacterAtIndex:(unsigned long long)arg1;
2857a2988
> - (void)clearAll:(id)arg1;
2869d2999
< - (long long)conversationIdentifier;
2879a3010,3011
> - (void)deleteForward:(id)arg1;
> - (void)deleteTextForReplacementRange:(struct _NSRange)arg1;
2909c3041
< - (struct CGRect)firstRectForCharacterRange:(struct _NSRange)arg1;
---
> - (struct CGRect)firstRectForCharacterRange:(struct _NSRange)arg1 actualRange:(struct _NSRange *)arg2;
2920c3052
< - (void)insertText:(id)arg1;
---
> - (void)insertText:(id)arg1 replacementRange:(struct _NSRange)arg2;
2935c3067,3068
< - (void)lookUpInDictionary:(id)arg1;
---
> - (void)lookUp:(id)arg1;
> - (id)mappedKeyForCharacter:(unsigned short)arg1 withModifiers:(unsigned long long)arg2;
2946a3080,3082
> - (void)newTabAtFolder:(id)arg1;
> - (void)newTerminalAtFolder:(id)arg1 inTab:(BOOL)arg2;
> - (void)newWindowAtFolder:(id)arg1;
2960c3096,3097
< - (BOOL)pasteboardHasText;
---
> - (void)pasteSelectionEscaped:(id)arg1;
> - (BOOL)pasteboardHasText:(id)arg1;
2973a3111
> - (BOOL)readFilePathFromString:(id)arg1 escapeTilde:(BOOL)arg2 isCommand:(BOOL)arg3 forceEscape:(BOOL)arg4;
2975c3113
< - (BOOL)readSelectionFromPasteboard:(id)arg1 isDragAndDrop:(BOOL)arg2 sender:(id)arg3;
---
> - (BOOL)readSelectionFromPasteboard:(id)arg1 isDragAndDrop:(BOOL)arg2 isCommand:(BOOL)arg3 sender:(id)arg4;
3022a3161
> - (id)selectionPasteboard;
3023a3163
> - (void)sendInterrupt:(id)arg1;
3024a3165,3166
> - (void)separatorMenuItem1:(id)arg1;
> - (void)separatorMenuItem2:(id)arg1;
3028c3170
< - (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2;
---
> - (void)setMarkedText:(id)arg1 selectedRange:(struct _NSRange)arg2 replacementRange:(struct _NSRange)arg3;
3084a3227
> - (void)updateDraggingItemsForDrag:(id)arg1;
3086a3230
> - (id)updatedSelectionPasteboard;
3097a3242
> - (void)windowDidBecomeKey:(id)arg1;
3157d3301
< NSMenu *_contextualMenu;
3182a3327
> - (id)_proxyIconForNonValidatedURL:(id)arg1;
3200d3344
< - (id)contextualMenu;
3216a3361,3362
> - (id)makeTabWithProfile:(id)arg1;
> - (id)makeTabWithProfile:(id)arg1 customFont:(id)arg2 command:(id)arg3 runAsShell:(BOOL)arg4 restorable:(BOOL)arg5 workingDirectory:(id)arg6 sessionClass:(id)arg7 restoreSession:(id)arg8;
3224,3225d3369
< - (id)newTabWithProfile:(id)arg1;
< - (id)newTabWithProfile:(id)arg1 customFont:(id)arg2 command:(id)arg3 runAsShell:(BOOL)arg4 restorable:(BOOL)arg5 workingDirectory:(id)arg6 sessionClass:(id)arg7 restoreSession:(id)arg8;
3263a3408
> - (id)warningNamesForProcesses:(id)arg1;
3264a3410
> - (BOOL)window:(id)arg1 shouldPopUpDocumentPathMenu:(id)arg2;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment