Skip to content
Snippets Groups Projects
Commit 68063a1e authored by George Nachman's avatar George Nachman
Browse files

Adhoc build 3.0.20160930_221121

parent c8db23d2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -825,7 +825,7 @@ static int MyForkPty(int *amaster,
}
 
- (void)setSize:(VT100GridSize)size {
PtyTaskDebugLog(@"Set terminal size to %@", VT100GridSizeDescription(size));
NSLog(@"Set terminal size to %@", VT100GridSizeDescription(size));
struct winsize winsize;
if (self.fd == -1) {
return;
Loading
Loading
Loading
Loading
@@ -149,6 +149,7 @@ ITERM_WEAKLY_REFERENCEABLE
 
- (void)encodeRestorableStateWithCoder:(NSCoder *)coder {
[super encodeRestorableStateWithCoder:coder];
DLog(@"Encode restorable state:\n%@", restoreState_);
[coder encodeObject:restoreState_ forKey:kPseudoTerminalStateRestorationWindowArrangementKey];
}
 
Loading
Loading
Loading
Loading
@@ -7209,6 +7209,8 @@ static NSString* TERMINAL_ARRANGEMENT_HIDING_TOOLBELT_SHOULD_RESIZE_WINDOW = @"H
NSTimeInterval end = [NSDate timeIntervalSinceReferenceDate];
NSLog(@"Time to encode state for window %@: %@", self, @(end - start));
}
DLog(@"Move arrangement to window:\n%@", lastArrangement_);
// For whatever reason, setting the value in the coder here doesn't work but
// doing it in PTYWindow immediately after this method's caller returns does
// work.
Loading
Loading
Loading
Loading
@@ -123,6 +123,7 @@ static BOOL gWaitingForFullScreen;
NSDictionary *arrangement = [state decodeObjectForKey:kPseudoTerminalStateRestorationWindowArrangementKey];
if (arrangement) {
DLog(@"Have an arrangement");
DLog(@"Arrangement:\n%@", arrangement);
VoidBlock theBlock = ^{
DLog(@"PseudoTerminalRestorer block running for id %@", identifier);
DLog(@"Creating term");
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment