diff --git a/AppKit/CPSavePanel.j b/AppKit/CPSavePanel.j index 3aa5994c8..7ee56bd59 100644 --- a/AppKit/CPSavePanel.j +++ b/AppKit/CPSavePanel.j @@ -35,6 +35,11 @@ CPArray _allowedFileTypes @accessors(property=allowedFileTypes); } ++ (CPURL)proposedFileURLWithDocumentName:(CPString)aDocumentName +{ + return [CPURL URLWithString:aDocumentName]; +} + + (id)savePanel { return [[CPSavePanel alloc] init]; diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j index 0bd1043ed..2db96912e 100644 --- a/AppKit/CPSplitView.j +++ b/AppKit/CPSplitView.j @@ -117,6 +117,7 @@ var ShouldSuppressResizeNotifications = 1, CPArray _DOMDividerElements; CPString _dividerImagePath; int _drawingDivider; + BOOL _isTracking; CPString _autosaveName; BOOL _shouldAutosave; @@ -158,6 +159,7 @@ var ShouldSuppressResizeNotifications = 1, _buttonBars = []; _shouldAutosave = YES; + _isTracking = NO; [self _setVertical:YES]; } @@ -213,6 +215,9 @@ var ShouldSuppressResizeNotifications = 1, [_subviews[index] setFrame:CGRectMake(0, ROUND((eachSize + dividerThickness) * index), frame.size.width, eachSize)]; } + if (_DOMDividerElements[_drawingDivider]) + [self _setupDOMDivider]; + [self setNeedsDisplay:YES]; [self _postNotificationDidResize]; @@ -363,9 +368,9 @@ var ShouldSuppressResizeNotifications = 1, _DOMDividerElements[_drawingDivider].style.backgroundRepeat = "repeat"; CPDOMDisplayServerAppendChild(_DOMElement, _DOMDividerElements[_drawingDivider]); + [self _setupDOMDivider]; } - [self _setupDOMDivider]; CPDOMDisplayServerSetStyleLeftTop(_DOMDividerElements[_drawingDivider], NULL, CGRectGetMinX(aRect), CGRectGetMinY(aRect)); CPDOMDisplayServerSetStyleSize(_DOMDividerElements[_drawingDivider], CGRectGetWidth(aRect), CGRectGetHeight(aRect)); #endif @@ -452,17 +457,26 @@ var ShouldSuppressResizeNotifications = 1, return nil; var point = [self convertPoint:aPoint fromView:[self superview]], - count = [_subviews count] - 1; + dividerIndex = [self _dividerAtPoint:point]; - for (var i = 0; i < count; i++) - { - if ([self cursorAtPoint:point hitDividerAtIndex:i]) - return self; - } + if (dividerIndex !== CPNotFound) + return self; return [super hitTest:aPoint]; } +- (CPInteger)_dividerAtPoint:(CGPoint)aPoint +{ + var count = [_subviews count] - 1; + + for (var i = 0; i < count; i++) + { + if ([self cursorAtPoint:aPoint hitDividerAtIndex:i]) + return i; + } + + return CPNotFound; +} /* Tracks the divider. @param anEvent the input event @@ -473,12 +487,13 @@ var ShouldSuppressResizeNotifications = 1, if (type == CPLeftMouseUp) { - // We disabled autosaving during tracking. - _shouldAutosave = YES; - - if (_currentDivider != CPNotFound) + if ([anEvent clickCount] == 2 || (_isTracking && _currentDivider != CPNotFound)) { + // We disabled autosaving during tracking. + _shouldAutosave = YES; _currentDivider = CPNotFound; + _isTracking = NO; + [self _autosave]; [self _updateResizeCursor:anEvent]; } @@ -488,59 +503,55 @@ var ShouldSuppressResizeNotifications = 1, if (type == CPLeftMouseDown) { - var point = [self convertPoint:[anEvent locationInWindow] fromView:nil], - count = [_subviews count] - 1; + var point = [self convertPoint:[anEvent locationInWindow] fromView:nil]; + _currentDivider = [self _dividerAtPoint:point]; - _currentDivider = CPNotFound; + var frame = [_subviews[_currentDivider] frame], + startPosition = frame.origin[_originComponent] + frame.size[_sizeComponent]; - for (var i = 0; i < count; i++) + if ([anEvent clickCount] == 2 && + [self _delegateRespondsToSplitViewCanCollapseSubview] && + [self _delegateRespondsToSplitViewshouldCollapseSubviewForDoubleClickOnDividerAtIndex]) { - var frame = [_subviews[i] frame], - startPosition = frame.origin[_originComponent] + frame.size[_sizeComponent]; + var minPosition = [self minPossiblePositionOfDividerAtIndex:_currentDivider], + maxPosition = [self maxPossiblePositionOfDividerAtIndex:_currentDivider], + preCollapsePosition = [_preCollapsePositions objectForKey:"" + _currentDivider] || 0; - if ([self cursorAtPoint:point hitDividerAtIndex:i]) + if ([self _sendDelegateSplitViewCanCollapseSubview:_subviews[_currentDivider]] && [self _sendDelegateSplitViewShouldCollapseSubview:_subviews[_currentDivider] forDoubleClickOnDividerAtIndex:_currentDivider]) { - if ([anEvent clickCount] == 2 && - [self _delegateRespondsToSplitViewCanCollapseSubview] && - [self _delegateRespondsToSplitViewshouldCollapseSubviewForDoubleClickOnDividerAtIndex]) - { - var minPosition = [self minPossiblePositionOfDividerAtIndex:i], - maxPosition = [self maxPossiblePositionOfDividerAtIndex:i], - preCollapsePosition = [_preCollapsePositions objectForKey:"" + i] || 0; - - if ([self _sendDelegateSplitViewCanCollapseSubview:_subviews[i]] && [self _sendDelegateSplitViewShouldCollapseSubview:_subviews[i] forDoubleClickOnDividerAtIndex:i]) - { - if ([self isSubviewCollapsed:_subviews[i]]) - [self setPosition:preCollapsePosition ? preCollapsePosition : (minPosition + (maxPosition - minPosition) / 2) ofDividerAtIndex:i]; - else - [self setPosition:minPosition ofDividerAtIndex:i]; - } - else if ([self _sendDelegateSplitViewCanCollapseSubview:_subviews[i + 1]] && [self _sendDelegateSplitViewShouldCollapseSubview:_subviews[i + 1] forDoubleClickOnDividerAtIndex:i]) - { - if ([self isSubviewCollapsed:_subviews[i + 1]]) - [self setPosition:preCollapsePosition ? preCollapsePosition : (minPosition + (maxPosition - minPosition) / 2) ofDividerAtIndex:i]; - else - [self setPosition:maxPosition ofDividerAtIndex:i]; - } - } + if ([self isSubviewCollapsed:_subviews[_currentDivider]]) + [self setPosition:preCollapsePosition ? preCollapsePosition : (minPosition + (maxPosition - minPosition) / 2) ofDividerAtIndex:_currentDivider]; else - { - _currentDivider = i; - _initialOffset = startPosition - point[_originComponent]; - - // Don't autosave during a resize. We'll wait until it's done. - _shouldAutosave = NO; - [self _postNotificationWillResize]; - } + [self setPosition:minPosition ofDividerAtIndex:_currentDivider]; + } + else if ([self _sendDelegateSplitViewCanCollapseSubview:_subviews[_currentDivider + 1]] && [self _sendDelegateSplitViewShouldCollapseSubview:_subviews[_currentDivider + 1] forDoubleClickOnDividerAtIndex:_currentDivider]) + { + if ([self isSubviewCollapsed:_subviews[_currentDivider + 1]]) + [self setPosition:preCollapsePosition ? preCollapsePosition : (minPosition + (maxPosition - minPosition) / 2) ofDividerAtIndex:_currentDivider]; + else + [self setPosition:maxPosition ofDividerAtIndex:_currentDivider]; } } + else + { + _initialOffset = startPosition - point[_originComponent]; + // Don't autosave during a resize. We'll wait until it's done. + _shouldAutosave = NO; + [self _postNotificationWillResize]; + } - if (_currentDivider === CPNotFound) - return; } - else if (type == CPLeftMouseDragged && _currentDivider != CPNotFound) { + if (!_isTracking) + { + // Don't autosave during a resize. We'll wait until it's done. + _shouldAutosave = NO; + [self _postNotificationWillResize]; + + _isTracking = YES; + } + var point = [self convertPoint:[anEvent locationInWindow] fromView:nil]; [self setPosition:(point[_originComponent] + _initialOffset) ofDividerAtIndex:_currentDivider]; @@ -553,8 +564,11 @@ var ShouldSuppressResizeNotifications = 1, - (void)mouseDown:(CPEvent)anEvent { - // FIXME: This should not trap events if not on a divider! - [self trackDivider:anEvent]; + var point = [self convertPoint:[anEvent locationInWindow] fromView:nil], + dividerIndex = [self _dividerAtPoint:point]; + + if (dividerIndex !== CPNotFound) + [self trackDivider:anEvent]; } - (void)viewDidMoveToWindow @@ -1193,7 +1207,7 @@ The sum of the views and the sum of the dividers should be equal to the size of [self removeAllTrackingAreas]; var options = CPTrackingCursorUpdate | CPTrackingActiveInKeyWindow; - + for (var i = 0; i < _subviews.length - 1; i++) [self addTrackingArea:[[CPTrackingArea alloc] initWithRect:[self effectiveRectOfDividerAtIndex:i] options:options @@ -1438,6 +1452,7 @@ var CPSplitViewDelegateKey = "CPSplitViewDelegateKey", _currentDivider = CPNotFound; _shouldAutosave = YES; + _isTracking = NO; _DOMDividerElements = []; diff --git a/AppKit/CPText.j b/AppKit/CPText.j index 7f2034bcc..490053047 100644 --- a/AppKit/CPText.j +++ b/AppKit/CPText.j @@ -40,6 +40,7 @@ @protocol CPTextDelegate +@optional - (BOOL)textShouldBeginEditing:(CPText)aTextObject; - (BOOL)textShouldEndEditing:(CPText)aTextObject; - (void)textDidBeginEditing:(CPNotification)aNotification; diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 3e07825e5..e0000f2cb 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -873,12 +873,18 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder"); if (!CPTextFieldInputDidBlur) CPTextFieldBlurHandler(); - CPTextFieldInputDidBlur = NO; - CPTextFieldInputResigning = NO; - if (element.parentNode == _DOMElement) element.parentNode.removeChild(element); + // Previosly, we unflagged CPTextFieldInputDidBlur and CPTextFieldInputResigning before + // the call to removeChild. This resulted in DOM exceptions in Chrome under certain conditions. + // See https://stackoverflow.com/questions/21926083/failed-to-execute-removechild-on-node + // for why we need to unflag CPTextFieldInputDidBlur and CPTextFieldInputResigning + // only after removing the element. + + CPTextFieldInputDidBlur = NO; + CPTextFieldInputResigning = NO; + CPTextFieldInputIsActive = NO; if (document.attachEvent) diff --git a/AppKit/CPTextView/CPTextContainer.j b/AppKit/CPTextView/CPTextContainer.j index 5c3f485a9..f9e988816 100644 --- a/AppKit/CPTextView/CPTextContainer.j +++ b/AppKit/CPTextView/CPTextContainer.j @@ -168,10 +168,7 @@ CPLineMovesUp = 4; - (void)setTextView:(CPTextView)aTextView { if (_textView) - { - [self _removeAllLines]; [_textView setTextContainer:nil]; - } _textView = aTextView; @@ -252,4 +249,4 @@ var CPTextContainerSizeKey = @"CPTextContainerSizeKey", [aCoder encodeObject:_layoutManager forKey:CPTextContainerLayoutManagerKey]; } -@end \ No newline at end of file +@end diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 5953a31f8..fae2b59b2 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -43,6 +43,7 @@ @protocol CPTextViewDelegate +@optional - (BOOL)textView:(CPTextView)aTextView doCommandBySelector:(SEL)aSelector; - (BOOL)textView:(CPTextView)aTextView shouldChangeTextInRange:(CPRange)affectedCharRange replacementString:(CPString)replacementString; - (CPDictionary)textView:(CPTextView)textView shouldChangeTypingAttributes:(CPDictionary)oldTypingAttributes toAttributes:(CPDictionary)newTypingAttributes; @@ -94,13 +95,16 @@ CPSelectByWord = 1; CPSelectByParagraph = 2; var kDelegateRespondsTo_textShouldBeginEditing = 1 << 0, - kDelegateRespondsTo_textView_doCommandBySelector = 1 << 1, - kDelegateRespondsTo_textView_willChangeSelectionFromCharacterRange_toCharacterRange = 1 << 2, - kDelegateRespondsTo_textView_shouldChangeTextInRange_replacementString = 1 << 3, - kDelegateRespondsTo_textView_shouldChangeTypingAttributes_toAttributes = 1 << 4, - kDelegateRespondsTo_textView_textDidChange = 1 << 5, - kDelegateRespondsTo_textView_didChangeSelection = 1 << 6, - kDelegateRespondsTo_textView_didChangeTypingAttributes = 1 << 7; + kDelegateRespondsTo_textShouldEndEditing = 1 << 1 + kDelegateRespondsTo_textView_doCommandBySelector = 1 << 2, + kDelegateRespondsTo_textView_willChangeSelectionFromCharacterRange_toCharacterRange = 1 << 3, + kDelegateRespondsTo_textView_shouldChangeTextInRange_replacementString = 1 << 4, + kDelegateRespondsTo_textView_shouldChangeTypingAttributes_toAttributes = 1 << 5, + kDelegateRespondsTo_textView_textDidChange = 1 << 6, + kDelegateRespondsTo_textView_didChangeSelection = 1 << 7, + kDelegateRespondsTo_textView_didChangeTypingAttributes = 1 << 8, + kDelegateRespondsTo_textView_textDidBeginEditing = 1 << 9, + kDelegateRespondsTo_textView_textDidEndEditing = 1 << 10; @class _CPCaret; @@ -152,6 +156,10 @@ var kDelegateRespondsTo_textShouldBeginEditing CPTimer _scrollingTimer; CPString _placeholderString; + + BOOL _firstResponderButNotEditingYet; + + CPRange _mouseDownOldSelection; } + (Class)_binderClassForBinding:(CPString)aBinding @@ -264,6 +272,7 @@ var kDelegateRespondsTo_textShouldBeginEditing [super _removeObservers]; [self _setObserveWindowKeyNotifications:NO]; + [self _removeDelegateObservers]; } - (void)_addObservers @@ -274,7 +283,53 @@ var kDelegateRespondsTo_textShouldBeginEditing [super _addObservers]; [self _setObserveWindowKeyNotifications:YES]; [self _startObservingClipView]; + [self _addDelegateObservers]; } + +- (void)_addDelegateObservers +{ + if (!_delegate) return; + + var nc = [CPNotificationCenter defaultCenter]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidBeginEditing) + [nc addObserver:_delegate selector:@selector(textDidBeginEditing:) name:CPTextDidBeginEditingNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidChange) + [nc addObserver:_delegate selector:@selector(textDidChange:) name:CPTextDidChangeNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidEndEditing) + [nc addObserver:_delegate selector:@selector(textDidEndEditing:) name:CPTextDidEndEditingNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeSelection) + [nc addObserver:_delegate selector:@selector(textViewDidChangeSelection:) name:CPTextViewDidChangeSelectionNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeTypingAttributes) + [nc addObserver:_delegate selector:@selector(textViewDidChangeTypingAttributes:) name:CPTextViewDidChangeTypingAttributesNotification object:self]; +} + +- (void)_removeDelegateObservers +{ + if (!_delegate) return; + + var nc = [CPNotificationCenter defaultCenter]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidBeginEditing) + [nc removeObserver:_delegate name:CPTextDidBeginEditingNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidChange) + [nc removeObserver:_delegate name:CPTextDidChangeNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidEndEditing) + [nc removeObserver:_delegate name:CPTextDidEndEditingNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeSelection) + [nc removeObserver:_delegate name:CPTextViewDidChangeSelectionNotification object:self]; + + if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeTypingAttributes) + [nc removeObserver:_delegate name:CPTextViewDidChangeTypingAttributesNotification object:self]; +} + - (void)_startObservingClipView { if (!_observedClipView) @@ -358,7 +413,7 @@ var kDelegateRespondsTo_textShouldBeginEditing - (void)_windowDidResignKey:(CPNotification)aNotification { if (![[self window] isKeyWindow]) - [self resignFirstResponder]; + [self _resignFirstResponder]; } - (void)_windowDidBecomeKey:(CPNotification)aNotification @@ -452,17 +507,33 @@ var kDelegateRespondsTo_textShouldBeginEditing - (BOOL)becomeFirstResponder { [super becomeFirstResponder]; + _firstResponderButNotEditingYet = YES; [self _becomeFirstResponder]; return YES; } -- (BOOL)resignFirstResponder +- (void)_resignFirstResponder { [self _reverseSetBinding]; [_caret stopBlinking]; [self setNeedsDisplay:YES]; [_CPNativeInputManager cancelCurrentInputSessionIfNeeded]; +} + +- (BOOL)resignFirstResponder +{ + if (_firstResponderButNotEditingYet) + _firstResponderButNotEditingYet = NO; + else + { + if ([self _sendDelegateTextShouldEndEditing]) + [[CPNotificationCenter defaultCenter] postNotificationName:CPTextDidEndEditingNotification object:self]; + else + return NO; + } + + [self _resignFirstResponder]; return YES; } @@ -479,6 +550,8 @@ var kDelegateRespondsTo_textShouldBeginEditing if (aDelegate === _delegate) return; + [self _removeDelegateObservers]; + _delegateRespondsToSelectorMask = 0; _delegate = aDelegate; @@ -493,12 +566,21 @@ var kDelegateRespondsTo_textShouldBeginEditing if ([_delegate respondsToSelector:@selector(textViewDidChangeTypingAttributes:)]) _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_didChangeTypingAttributes; + if ([_delegate respondsToSelector:@selector(textDidBeginEditing:)]) + _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_textDidBeginEditing; + + if ([_delegate respondsToSelector:@selector(textDidEndEditing:)]) + _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_textDidEndEditing; + if ([_delegate respondsToSelector:@selector(textView:doCommandBySelector:)]) _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_doCommandBySelector; if ([_delegate respondsToSelector:@selector(textShouldBeginEditing:)]) _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textShouldBeginEditing; + if ([_delegate respondsToSelector:@selector(textShouldEndEditing:)]) + _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textShouldEndEditing; + if ([_delegate respondsToSelector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:)]) _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_willChangeSelectionFromCharacterRange_toCharacterRange; @@ -507,6 +589,9 @@ var kDelegateRespondsTo_textShouldBeginEditing if ([_delegate respondsToSelector:@selector(textView:shouldChangeTypingAttributes:toAttributes:)]) _delegateRespondsToSelectorMask |= kDelegateRespondsTo_textView_shouldChangeTypingAttributes_toAttributes; + + if (_superview) + [self _addDelegateObservers]; } } @@ -643,9 +728,21 @@ var kDelegateRespondsTo_textShouldBeginEditing - (void)didChangeText { [[CPNotificationCenter defaultCenter] postNotificationName:CPTextDidChangeNotification object:self]; +} - if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_textDidChange) - [_delegate textDidChange:[[CPNotification alloc] initWithName:CPTextDidChangeNotification object:self userInfo:nil]]; +- (BOOL)_didBeginEditing +{ + if (_firstResponderButNotEditingYet) + { + if ([self _sendDelegateTextShouldBeginEditing]) + { + [[CPNotificationCenter defaultCenter] postNotificationName:CPTextDidBeginEditingNotification object:self]; + _firstResponderButNotEditingYet = NO; + } else + return NO; + } + + return YES; } - (BOOL)shouldChangeTextInRange:(CPRange)aRange replacementString:(CPString)aString @@ -653,7 +750,7 @@ var kDelegateRespondsTo_textShouldBeginEditing if (![self isEditable]) return NO; - return [self _sendDelegateTextShouldBeginEditing] && [self _sendDelegateShouldChangeTextInRange:aRange replacementString:aString]; + return [self _sendDelegateShouldChangeTextInRange:aRange replacementString:aString]; } @@ -685,7 +782,7 @@ var kDelegateRespondsTo_textShouldBeginEditing var isAttributed = [aString isKindOfClass:CPAttributedString], string = isAttributed ? [aString string]:aString; - if (![self shouldChangeTextInRange:CPMakeRangeCopy(_selectionRange) replacementString:string]) + if (![self _didBeginEditing] || ![self shouldChangeTextInRange:CPMakeRangeCopy(_selectionRange) replacementString:string]) return; if (!isAttributed) @@ -787,53 +884,80 @@ var kDelegateRespondsTo_textShouldBeginEditing } } +/*! +Sets the selection to a range of characters in response to user action. +@param range The range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks. +*/ - (void)setSelectedRange:(CPRange)range { [_CPNativeInputManager cancelCurrentInputSessionIfNeeded]; [self setSelectedRange:range affinity:0 stillSelecting:NO]; } +/*! +Sets the selection to a range of characters in response to user action. +@param range The range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks. +@param affinity The selection affinity for the selection. See selectionAffinity for more information about how affinities work. +@param selecting YES to behave appropriately for a continuing selection where the user is still dragging the mouse, NO otherwise. If YES, the receiver doesn’t send notifications or remove the marking from its marked text. If NO, the receiver posts an NSTextViewDidChangeSelectionNotification to the default notification center and removes the marking from marked text if the new selection is greater than the marked region. +*/ - (void)setSelectedRange:(CPRange)range affinity:(CPSelectionAffinity)affinity stillSelecting:(BOOL)selecting { [self _setSelectedRange:range affinity:affinity stillSelecting:selecting overwriteTypingAttributes:YES]; } + +/*! +Sets the selection to a range of characters in response to user action. +@param range The range of characters to select. This range must begin and end on glyph boundaries and not split base glyphs and their nonspacing marks. +@param affinity The selection affinity for the selection. See selectionAffinity for more information about how affinities work. +@param selecting YES to behave appropriately for a continuing selection where the user is still dragging the mouse, NO otherwise. If YES, the receiver doesn’t send notifications or remove the marking from its marked text. If NO, the receiver posts an NSTextViewDidChangeSelectionNotification to the default notification center and removes the marking from marked text if the new selection is greater than the marked region. +@param doOverwrite YES to override typing attributes. NO to not override. +*/ - (void)_setSelectedRange:(CPRange)range affinity:(CPSelectionAffinity)affinity stillSelecting:(BOOL)selecting overwriteTypingAttributes:(BOOL)doOverwrite { - var maxRange = CPMakeRange(0, [_layoutManager numberOfCharacters]); + var maxRange = CPMakeRange(0, [_layoutManager numberOfCharacters]), + newSelectionRange; range = CPIntersectionRange(maxRange, range); if (!selecting && [self _delegateRespondsToWillChangeSelectionFromCharacterRangeToCharacterRange]) { - _selectionRange = [self _sendDelegateWillChangeSelectionFromCharacterRange:_selectionRange toCharacterRange:range]; + newSelectionRange = [self _sendDelegateWillChangeSelectionFromCharacterRange:_selectionRange toCharacterRange:range]; } else { - _selectionRange = CPMakeRangeCopy(range); - _selectionRange = [self selectionRangeForProposedRange:_selectionRange granularity:[self selectionGranularity]]; + newSelectionRange = [self selectionRangeForProposedRange:range granularity:[self selectionGranularity]]; } - if (_selectionRange.length) - [_layoutManager invalidateDisplayForGlyphRange:_selectionRange]; + var isNewSelection = !CPEqualRanges(newSelectionRange, _selectionRange); + + if (isNewSelection) + _selectionRange = newSelectionRange; + + if (newSelectionRange.length) + { + if (isNewSelection) + [_layoutManager invalidateDisplayForGlyphRange:newSelectionRange]; + } else [self setNeedsDisplay:YES]; if (!selecting) { if ([self _isFirstResponder]) - [self updateInsertionPointStateAndRestartTimer:((_selectionRange.length === 0) && ![_caret isBlinking])]; + [self updateInsertionPointStateAndRestartTimer:((newSelectionRange.length === 0) && ![_caret isBlinking])]; - if (doOverwrite && _placeholderString === nil) + // If there is no new selection but the pervious mouseDown has saved a selection we check against the saved selection instead + if (!isNewSelection && _mouseDownOldSelection) + isNewSelection = !CPEqualRanges(newSelectionRange, _mouseDownOldSelection); + + if (doOverwrite && _placeholderString === nil && isNewSelection) [self setTypingAttributes:[_textStorage attributesAtIndex:CPMaxRange(range) effectiveRange:nil]]; [[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeSelectionNotification object:self]; - - if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeSelection) - [_delegate textViewDidChangeSelection:[[CPNotification alloc] initWithName:CPTextViewDidChangeSelectionNotification object:self userInfo:nil]]; } - if (!selecting && _selectionRange.length > 0) + if (!selecting && newSelectionRange.length > 0) [_CPNativeInputManager focusForClipboardOfTextView:self]; } @@ -917,18 +1041,18 @@ var kDelegateRespondsTo_textShouldBeginEditing { var fraction = [], point = [self convertPoint:point fromView:nil]; - + // convert to container coordinate point.x -= _textContainerOrigin.x; point.y -= _textContainerOrigin.y; - + var index = [_layoutManager glyphIndexForPoint:point inTextContainer:_textContainer fractionOfDistanceThroughGlyph:fraction]; - + if (index === CPNotFound) index = [_layoutManager numberOfCharacters]; else if (fraction[0] > 0.5) index++; - + return index; } - (CGPoint)_characterIndexFromEvent:(CPEvent)event @@ -951,9 +1075,9 @@ var kDelegateRespondsTo_textShouldBeginEditing [_CPNativeInputManager cancelCurrentInputSessionIfNeeded]; [_caret setVisibility:NO]; - + _startTrackingLocation = [self _characterIndexFromEvent:event]; - + var granularities = [CPNotFound, CPSelectByCharacter, CPSelectByWord, CPSelectByParagraph]; [self setSelectionGranularity:granularities[[event clickCount]]]; @@ -966,20 +1090,20 @@ var kDelegateRespondsTo_textShouldBeginEditing placeholderFrame = CGRectIntersection([_layoutManager boundingRectForGlyphRange:placeholderRange inTextContainer:_textContainer], _frame), rangeToHide = CPMakeRange(0, _selectionRange.location - lineBeginningIndex), dragPlaceholder; - + // hide the left part of the first line of the selection that is not included [placeholderString addAttribute:CPForegroundColorAttributeName value:[CPColor colorWithRed:1 green:1 blue:1 alpha:0] range:rangeToHide]; - + _movingSelection = CPMakeRange(_startTrackingLocation, 0); - + dragPlaceholder = [[CPTextView alloc] initWithFrame:placeholderFrame]; [dragPlaceholder._textStorage replaceCharactersInRange:CPMakeRange(0, 0) withAttributedString:placeholderString]; [dragPlaceholder setBackgroundColor:[CPColor colorWithRed:1 green:1 blue:1 alpha:0]]; [dragPlaceholder setAlphaValue:0.5]; - + var stringForPasting = [_textStorage attributedSubstringFromRange:CPMakeRangeCopy(_selectionRange)], richData = [_CPRTFProducer produceRTF:stringForPasting documentAttributes:@{}], draggingPasteboard = [CPPasteboard pasteboardWithName:CPDragPboard]; @@ -994,17 +1118,19 @@ var kDelegateRespondsTo_textShouldBeginEditing pasteboard:draggingPasteboard source:self slideBack:YES]; - + return; } - + var setRange = CPMakeRange(_startTrackingLocation, 0); - + if ([event modifierFlags] & CPShiftKeyMask) setRange = _MakeRangeFromAbs(_startTrackingLocation < _MidRange(_selectionRange) ? CPMaxRange(_selectionRange) : _selectionRange.location, _startTrackingLocation); else _scrollingTimer = [CPTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(_supportScrolling:) userInfo:nil repeats:YES]; // fixme: only start if we are in the scrolling areas + // Save old selection so we can only send textViewDidChangeTypingAttribute notification when selection is changed on mouse up. + _mouseDownOldSelection = _selectionRange; [self setSelectedRange:setRange affinity:0 stillSelecting:YES]; } @@ -1020,7 +1146,7 @@ var kDelegateRespondsTo_textShouldBeginEditing if (_movingSelection) return; - + var oldRange = [self selectedRange], index = [self _characterIndexFromEvent:event]; @@ -1047,6 +1173,7 @@ var kDelegateRespondsTo_textShouldBeginEditing _previousSelectionGranularity = [self selectionGranularity]; [self setSelectionGranularity:CPSelectByCharacter]; [self setSelectedRange:[self selectedRange] affinity:0 stillSelecting:NO]; + _mouseDownOldSelection = nil; var point = [_layoutManager locationForGlyphAtIndex:[self selectedRange].location]; _stickyXLocation = point.x; @@ -1470,7 +1597,7 @@ var kDelegateRespondsTo_textShouldBeginEditing - (void)_deleteForRange:(CPRange)changedRange { - if (![self shouldChangeTextInRange:changedRange replacementString:@""]) + if (![self _didBeginEditing] || ![self shouldChangeTextInRange:changedRange replacementString:@""]) return; changedRange = CPIntersectionRange(CPMakeRange(0, [_layoutManager numberOfCharacters]), changedRange); @@ -1592,11 +1719,11 @@ var kDelegateRespondsTo_textShouldBeginEditing [self _enrichEssentialTypingAttributes:_typingAttributes]; } - [[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeTypingAttributesNotification - object:self]; + [[CPNotificationCenter defaultCenter] postNotificationName:CPTextViewDidChangeTypingAttributesNotification object:self]; - if (_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_didChangeTypingAttributes) - [_delegate textViewDidChangeTypingAttributes:[[CPNotification alloc] initWithName:CPTextViewDidChangeTypingAttributesNotification object:self userInfo:nil]]; + // We always clear the saved selection range from the last mouse down event here. + // This is normally done in mouseUp: but this is if that event was never sent. + _mouseDownOldSelection = nil; } - (CPDictionary)_attributesForFontPanel @@ -1739,7 +1866,7 @@ var kDelegateRespondsTo_textShouldBeginEditing - (void)underline:(id)sender { - if (![self shouldChangeTextInRange:_selectionRange replacementString:nil]) + if (![self _didBeginEditing] || ![self shouldChangeTextInRange:_selectionRange replacementString:nil]) return; if (!CPEmptyRange(_selectionRange)) @@ -2040,7 +2167,7 @@ var kDelegateRespondsTo_textShouldBeginEditing { var point = [info draggingLocation], location = [self _characterIndexFromRawPoint:CGPointCreateCopy(point)]; - + _movingSelection = CPMakeRange(location, 0); [_caret _drawCaretAtLocation:_movingSelection.location]; [_caret setVisibility:YES]; @@ -2053,11 +2180,11 @@ var kDelegateRespondsTo_textShouldBeginEditing { var location = [self convertPoint:[aSender draggingLocation] fromView:nil], pasteboard = [aSender draggingPasteboard]; - + if ([pasteboard availableTypeFromArray:[CPRTFPboardType, CPStringPboardType]]) { [_caret setVisibility:NO]; - + if (CPLocationInRange(_movingSelection.location, _selectionRange)) { [self setSelectedRange:_movingSelection]; @@ -2082,7 +2209,7 @@ var kDelegateRespondsTo_textShouldBeginEditing [self insertText:dataForPasting]; }, 0); } - + if ([pasteboard availableTypeFromArray:[CPColorDragType]]) [self setTextColor:[CPKeyedUnarchiver unarchiveObjectWithData:[pasteboard dataForType:CPColorDragType]] range:_selectionRange]; } @@ -2156,6 +2283,14 @@ var kDelegateRespondsTo_textShouldBeginEditing return [_delegate textShouldBeginEditing:self]; } +- (BOOL)_sendDelegateTextShouldEndEditing +{ + if (!(_delegateRespondsToSelectorMask & kDelegateRespondsTo_textShouldEndEditing)) + return YES; + + return [_delegate textShouldEndEditing:self]; +} + - (BOOL)_sendDelegateShouldChangeTextInRange:(CPRange)aRange replacementString:(CPString)aString { if (!(_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_shouldChangeTextInRange_replacementString)) @@ -2166,7 +2301,7 @@ var kDelegateRespondsTo_textShouldBeginEditing - (CPDictionary)_sendDelegateShouldChangeTypingAttributes:(CPDictionary)typingAttributes toAttributes:(CPDictionary)attributes { - if (!(_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_doCommandBySelector)) + if (!(_delegateRespondsToSelectorMask & kDelegateRespondsTo_textView_shouldChangeTypingAttributes_toAttributes)) return [CPDictionary dictionary]; return [_delegate textView:self shouldChangeTypingAttributes:typingAttributes toAttributes:attributes]; @@ -2399,7 +2534,7 @@ var CPTextViewAllowsUndoKey = @"CPTextViewAllowsUndoKey", _caretTimer = nil; } } - + - (void)_drawCaretAtLocation:(int)aLoc { var rect = [_textView._layoutManager boundingRectForGlyphRange:CPMakeRange(aLoc, 1) inTextContainer:_textView._textContainer]; @@ -2732,6 +2867,3 @@ var _CPCopyPlaceholder = '-'; } @end - - - diff --git a/AppKit/CPTextView/_CPRTFParser.j b/AppKit/CPTextView/_CPRTFParser.j index 08a7400ff..6cd936508 100644 --- a/AppKit/CPTextView/_CPRTFParser.j +++ b/AppKit/CPTextView/_CPRTFParser.j @@ -113,13 +113,13 @@ var hexTable = []; - (CPNumber)script { - return [CPNumber numberWithInt: script]; + return [CPNumber numberWithInt:script]; } - (CPNumber)underline { if (underline != 0) - return [CPNumber numberWithInteger: underline]; + return [CPNumber numberWithInt:underline]; else return nil; } @@ -127,7 +127,7 @@ var hexTable = []; - (CPNumber)strikethrough { if (strikethrough != 0) - return [CPNumber numberWithInteger: strikethrough]; + return [CPNumber numberWithInt:strikethrough]; else return nil; } diff --git a/AppKit/CPTextView/_CPRTFProducer.j b/AppKit/CPTextView/_CPRTFProducer.j index ef540ef3d..71b1a32c1 100644 --- a/AppKit/CPTextView/_CPRTFProducer.j +++ b/AppKit/CPTextView/_CPRTFProducer.j @@ -1,5 +1,5 @@ /* - RTFProducer.j + _CPRTFProducer.j Serialize CPAttributedString to a RTF String @@ -189,11 +189,9 @@ function _points2twips(a) { return (a) * 20.0; } if (val) { - var size = [val sizeValue]; - detail = [CPString stringWithFormat:@"\\paperw%d \\paperh%d", - _points2twips(size.width), - _points2twips(size.height)]; + _points2twips(val.width), + _points2twips(val.height)]; result += detail; } @@ -612,4 +610,4 @@ function _points2twips(a) { return (a) * 20.0; } output += trailerString; return output; } -@end \ No newline at end of file +@end diff --git a/AppKit/CPTokenField.j b/AppKit/CPTokenField.j index 858b11495..1d4471a8c 100644 --- a/AppKit/CPTokenField.j +++ b/AppKit/CPTokenField.j @@ -523,17 +523,25 @@ CPTokenFieldDeleteButtonType = 1; var element = [self _inputElement]; CPTokenFieldInputResigning = YES; - element.blur(); + + if (CPTokenFieldInputIsActive) + element.blur(); if (!CPTokenFieldInputDidBlur) CPTokenFieldBlurHandler(); - CPTokenFieldInputDidBlur = NO; - CPTokenFieldInputResigning = NO; - if (element.parentNode == [_tokenScrollView documentView]._DOMElement) element.parentNode.removeChild(element); + // Previosly, we unflagged CPTokenFieldInputDidBlur and CPTokenFieldInputResigning before + // the call to removeChild. This may result in DOM exceptions in Chrome under certain conditions. + // See https://stackoverflow.com/questions/21926083/failed-to-execute-removechild-on-node + // for why we need to unflag CPTokenFieldInputDidBlur and CPTokenFieldInputResigning + // only after removing the element. + + CPTokenFieldInputDidBlur = NO; + CPTokenFieldInputResigning = NO; + CPTokenFieldInputIsActive = NO; if (document.attachEvent) diff --git a/AppKit/Jakefile b/AppKit/Jakefile index b5aeb5434..cccbe0ec9 100644 --- a/AppKit/Jakefile +++ b/AppKit/Jakefile @@ -37,7 +37,7 @@ appKitTask = framework ("AppKit", function(appKitTask) appKitTask.setCompilerFlags("-O2 " + INCLUDES); } else - appKitTask.setCompilerFlags("-DDEBUG -g " + INCLUDES); + appKitTask.setCompilerFlags("-DDEBUG -g -S --inline-msg-send " + INCLUDES); }); $BUILD_CJS_CAPPUCCINO_APPKIT = FILE.join($BUILD_CJS_CAPPUCCINO_FRAMEWORKS, "AppKit"); diff --git a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-disabled.png b/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-disabled.png deleted file mode 100644 index f8c7e0b05..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-disabled.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-highlighted.png b/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-highlighted.png deleted file mode 100644 index 19314c85f..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow-highlighted.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow.png b/AppKit/Themes/Aristo2/Resources/scroller-down-arrow.png deleted file mode 100644 index ad5ed8ecd..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-down-arrow.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-disabled.png b/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-disabled.png deleted file mode 100644 index 273eadb90..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-disabled.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-highlighted.png b/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-highlighted.png deleted file mode 100644 index 95df8bd70..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow-highlighted.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow.png b/AppKit/Themes/Aristo2/Resources/scroller-left-arrow.png deleted file mode 100644 index ebd6b686f..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-left-arrow.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-center.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-center.png deleted file mode 100644 index 098fd5f02..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-center.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-left.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-left.png deleted file mode 100644 index 031e16dbf..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-left.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-right.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-right.png deleted file mode 100644 index 541c61299..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-knob-right.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-center.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-center.png index cadda610c..750495731 100644 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-center.png and b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-center.png differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-left.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-left.png deleted file mode 100644 index 04e2510a6..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-left.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-right.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-right.png deleted file mode 100644 index 5a9e6c8b1..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-horizontal-track-right.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-bottom.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-bottom.png deleted file mode 100644 index da41c8293..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-bottom.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-center.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-center.png deleted file mode 100644 index a30f8981f..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-center.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-top.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-top.png deleted file mode 100644 index 517d33999..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-knob-top.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-bottom.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-bottom.png deleted file mode 100644 index 51517a659..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-bottom.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-center.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-center.png index b5afcbb9d..aacffb38b 100644 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-center.png and b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-center.png differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-top.png b/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-top.png deleted file mode 100644 index c41a4afb2..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-legacy-vertical-track-top.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-disabled.png b/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-disabled.png deleted file mode 100644 index 8430527dd..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-disabled.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-highlighted.png b/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-highlighted.png deleted file mode 100644 index 2acbd7b0e..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow-highlighted.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow.png b/AppKit/Themes/Aristo2/Resources/scroller-right-arrow.png deleted file mode 100644 index c536cf3f7..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-right-arrow.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-disabled.png b/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-disabled.png deleted file mode 100644 index 929ac1458..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-disabled.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-highlighted.png b/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-highlighted.png deleted file mode 100644 index 8caeacfeb..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow-highlighted.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow.png b/AppKit/Themes/Aristo2/Resources/scroller-up-arrow.png deleted file mode 100644 index eaa182606..000000000 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-up-arrow.png and /dev/null differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-vertical-track-disabled.png b/AppKit/Themes/Aristo2/Resources/scroller-vertical-track-disabled.png index 174a43363..b0423c5bf 100644 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-vertical-track-disabled.png and b/AppKit/Themes/Aristo2/Resources/scroller-vertical-track-disabled.png differ diff --git a/AppKit/Themes/Aristo2/Resources/scroller-vertical-track.png b/AppKit/Themes/Aristo2/Resources/scroller-vertical-track.png index d940f4084..b0423c5bf 100644 Binary files a/AppKit/Themes/Aristo2/Resources/scroller-vertical-track.png and b/AppKit/Themes/Aristo2/Resources/scroller-vertical-track.png differ diff --git a/AppKit/Themes/Aristo2/ThemeDescriptors.j b/AppKit/Themes/Aristo2/ThemeDescriptors.j index 365cadba0..391bf8503 100644 --- a/AppKit/Themes/Aristo2/ThemeDescriptors.j +++ b/AppKit/Themes/Aristo2/ThemeDescriptors.j @@ -508,9 +508,7 @@ var themedButtonValues = nil, orientation: PatternIsVertical }), - trackColorLegacy = PatternColor("scroller-legacy-vertical-track-center.png", 14.0, 1.0), - incrementColorLegacy = PatternColor("scroller-legacy-vertical-track-bottom.png", 14.0, 11.0), - decrementColorLegacy = PatternColor("scroller-legacy-vertical-track-top.png", 14.0, 11.0), + trackColorLegacy = PatternColor("scroller-legacy-vertical-track-center.png", 14.0, 1.0), knobColor = PatternColor( "scroller-vertical-knob{style}{position}.png", @@ -535,7 +533,7 @@ var themedButtonValues = nil, [@"minimum-knob-length", 21.0, CPThemeStateVertical], // Overlay - [@"scroller-width", 9.0, CPThemeStateVertical], + [@"scroller-width", 14.0, CPThemeStateVertical], [@"knob-inset", CGInsetMake(2.0, 0.0, 0.0, 0.0), CPThemeStateVertical], [@"track-inset", CGInsetMake(2.0, 0.0, 2.0, 0.0), CPThemeStateVertical], [@"track-border-overlay", 12.0, CPThemeStateVertical], @@ -553,7 +551,7 @@ var themedButtonValues = nil, // Legacy [@"scroller-width", 14.0, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], - [@"knob-inset", CGInsetMake(0.0, 0.0, 0.0, 0.0), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], + [@"knob-inset", CGInsetMake(0.0, 2.0, 0.0, 2.0), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], [@"track-inset", CGInsetMake(0.0, 0.0, 0.0, 0.0), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], [@"track-border-overlay", 0.0, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], [@"knob-slot-color", trackColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], @@ -562,13 +560,11 @@ var themedButtonValues = nil, [@"knob-slot-color", trackColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy, CPThemeStateSelected, CPThemeStateScrollerKnobDark]], [@"knob-slot-color", trackColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobDark]], [@"knob-slot-color", trackColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobLight]], - [@"knob-color", knobColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], - [@"knob-color", knobColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobLight]], - [@"knob-color", knobColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobDark]], - [@"increment-line-color", incrementColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], - [@"decrement-line-color", decrementColorLegacy, [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], - [@"decrement-line-size", CGSizeMake(14.0, 11.0), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], - [@"increment-line-size", CGSizeMake(14.0, 11.0), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]] + [@"knob-color", knobColor["dark"], [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], + [@"increment-line-color", [CPNull null], [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], + [@"decrement-line-color", [CPNull null], [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], + [@"decrement-line-size", CGSizeMakeZero(), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]], + [@"increment-line-size", CGSizeMakeZero(), [CPThemeStateVertical, CPThemeStateScrollViewLegacy]] ]; [self registerThemeValues:themedVerticalScrollerValues forView:scroller]; @@ -588,9 +584,7 @@ var themedButtonValues = nil, orientation: PatternIsHorizontal }), - trackColorLegacy = PatternColor("scroller-legacy-horizontal-track-center.png", 1.0, 14.0), - incrementColorLegacy = PatternColor("scroller-legacy-horizontal-track-right.png", 11.0, 14.0), - decrementColorLegacy = PatternColor("scroller-legacy-horizontal-track-left.png", 11.0, 14.0), + trackColorLegacy = PatternColor("scroller-legacy-horizontal-track-center.png", 1.0, 14.0), knobColor = PatternColor( "scroller-horizontal-knob{style}{position}.png", @@ -631,20 +625,18 @@ var themedButtonValues = nil, // Legacy [@"scroller-width", 14.0, CPThemeStateScrollViewLegacy], - [@"knob-inset", CGInsetMake(0.0, 0.0, 0.0, 0.0), CPThemeStateScrollViewLegacy], + [@"knob-inset", CGInsetMake(2.0, 0.0, 2.0, 0.0), CPThemeStateScrollViewLegacy], [@"track-inset", CGInsetMake(0.0, 0.0, 0.0, 0.0), CPThemeStateScrollViewLegacy], [@"track-border-overlay", 0.0, CPThemeStateScrollViewLegacy], [@"knob-slot-color", trackColorLegacy, CPThemeStateScrollViewLegacy], [@"knob-slot-color", trackColorLegacy, [CPThemeStateScrollViewLegacy, CPThemeStateSelected]], [@"knob-slot-color", trackColorLegacy, [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobLight]], [@"knob-slot-color", trackColorLegacy, [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobDark]], - [@"knob-color", knobColorLegacy, CPThemeStateScrollViewLegacy], - [@"knob-color", knobColorLegacy, [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobLight]], - [@"knob-color", knobColorLegacy, [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobDark]], - [@"increment-line-color", incrementColorLegacy, CPThemeStateScrollViewLegacy], - [@"decrement-line-color", decrementColorLegacy, CPThemeStateScrollViewLegacy], - [@"decrement-line-size", CGSizeMake(11.0, 14.0), CPThemeStateScrollViewLegacy], - [@"increment-line-size", CGSizeMake(11.0, 14.0), CPThemeStateScrollViewLegacy] + [@"knob-color", knobColor["@"], CPThemeStateScrollViewLegacy], + [@"knob-color", knobColor["light"], [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobLight]], + [@"knob-color", knobColor["dark"], [CPThemeStateScrollViewLegacy, CPThemeStateScrollerKnobDark]], + [@"decrement-line-size", CGSizeMakeZero(), CPThemeStateScrollViewLegacy], + [@"increment-line-size", CGSizeMakeZero(), CPThemeStateScrollViewLegacy] ]; [self registerThemeValues:themedHorizontalScrollerValues forView:scroller]; diff --git a/AppKit/_CPImageAndTextView.j b/AppKit/_CPImageAndTextView.j index 38721d086..b09e0ee27 100644 --- a/AppKit/_CPImageAndTextView.j +++ b/AppKit/_CPImageAndTextView.j @@ -836,7 +836,8 @@ var _CPimageAndTextViewFrameSizeChangedFlag = 1 << 0, - (void)setSelectedRange:(CPRange)aRange { #if PLATFORM(DOM) - [[[self window] platformWindow] setSelectedRange:aRange inElement:_DOMTextElement]; + if (_DOMTextElement) + [[[self window] platformWindow] setSelectedRange:aRange inElement:_DOMTextElement]; #endif } diff --git a/Foundation/CPCoder.j b/Foundation/CPCoder.j index 0bdc7b89a..1de52f7aa 100644 --- a/Foundation/CPCoder.j +++ b/Foundation/CPCoder.j @@ -82,8 +82,7 @@ */ - (void)encodePoint:(CGPoint)aPoint { - [self encodeNumber:aPoint.x]; - [self encodeNumber:aPoint.y]; + _CPRaiseInvalidAbstractInvocation(self, _cmd); } /*! @@ -92,8 +91,7 @@ */ - (void)encodeRect:(CGRect)aRect { - [self encodePoint:aRect.origin]; - [self encodeSize:aRect.size]; + _CPRaiseInvalidAbstractInvocation(self, _cmd); } /*! @@ -102,8 +100,7 @@ */ - (void)encodeSize:(CGSize)aSize { - [self encodeNumber:aSize.width]; - [self encodeNumber:aSize.height]; + _CPRaiseInvalidAbstractInvocation(self, _cmd); } /*! diff --git a/Foundation/CPKeyValueObserving.j b/Foundation/CPKeyValueObserving.j index e4b55f752..4c08aee1e 100644 --- a/Foundation/CPKeyValueObserving.j +++ b/Foundation/CPKeyValueObserving.j @@ -209,7 +209,7 @@ [[self mutableArrayValueForKeyPath:aKeyPath] removeObjectsAtIndexes:indexes]; else if (changeKind === CPKeyValueChangeReplacement) - [[self mutableArrayValueForKeyPath:aKeyPath] replaceObjectAtIndexes:indexes withObjects:newValue]; + [[self mutableArrayValueForKeyPath:aKeyPath] replaceObjectsAtIndexes:indexes withObjects:newValue]; } else { diff --git a/Foundation/CPNumber.j b/Foundation/CPNumber.j index 4aec997f5..ef641b1ec 100644 --- a/Foundation/CPNumber.j +++ b/Foundation/CPNumber.j @@ -336,7 +336,7 @@ FIXME: Do we need this? - (id)initWithCoder:(CPCoder)aCoder { - return [aCoder decodeNumber]; + return [aCoder decodeObjectForKey:@"self"]; } - (void)encodeWithCoder:(CPCoder)aCoder diff --git a/Foundation/CPPredicate/_CPFunctionExpression.j b/Foundation/CPPredicate/_CPFunctionExpression.j index 7de9f0d73..1ae0e269e 100644 --- a/Foundation/CPPredicate/_CPFunctionExpression.j +++ b/Foundation/CPPredicate/_CPFunctionExpression.j @@ -220,7 +220,7 @@ var CPSelectorNameKey = @"CPSelectorName", { if ([object isKindOfClass:[CPDictionary class]]) return [object objectForKey:anIndex]; - else ([object isKindOfClass:[CPArray class]]) + else if ([object isKindOfClass:[CPArray class]]) return [object objectAtIndex:anIndex]; [CPException raise:CPInvalidArgumentException reason:@"object[#] requires a CPDictionary or CPArray"]; diff --git a/Foundation/CPPredicate/_CPSubqueryExpression.j b/Foundation/CPPredicate/_CPSubqueryExpression.j index d69483d2c..0f51572ec 100644 --- a/Foundation/CPPredicate/_CPSubqueryExpression.j +++ b/Foundation/CPPredicate/_CPSubqueryExpression.j @@ -70,7 +70,7 @@ return result; } -- (BOOL)isEqual:(id)object; +- (BOOL)isEqual:(id)object { if (self === object) return YES; diff --git a/Foundation/Jakefile b/Foundation/Jakefile index 066d1341b..bd00253e3 100644 --- a/Foundation/Jakefile +++ b/Foundation/Jakefile @@ -53,7 +53,7 @@ foundationTask = framework ("Foundation", function(foundationTask) if ($CONFIGURATION === "Release") foundationTask.setCompilerFlags("-O2 " + INCLUDES); else - foundationTask.setCompilerFlags("-DDEBUG -g " + INCLUDES); + foundationTask.setCompilerFlags("-DDEBUG -g -S --inline-msg-send " + INCLUDES); }); $BUILD_CJS_FOUNDATION = FILE.join($BUILD_CJS_CAPPUCCINO_FRAMEWORKS, "Foundation"); diff --git a/Objective-J/CFBundle.js b/Objective-J/CFBundle.js index 296305b78..5133d08d0 100644 --- a/Objective-J/CFBundle.js +++ b/Objective-J/CFBundle.js @@ -772,6 +772,7 @@ var STATIC_MAGIC_NUMBER = "@STATIC", MARKER_TEXT = "t", MARKER_IMPORT_STD = 'I', MARKER_IMPORT_LOCAL = 'i'; + MARKER_SOURCE_MAP = 'S'; function decompileStaticFile(/*Bundle*/ aBundle, /*String*/ aString, /*String*/ aPath) { diff --git a/Objective-J/CFPropertyList.js b/Objective-J/CFPropertyList.js index 00bf332c5..d4ba61527 100644 --- a/Objective-J/CFPropertyList.js +++ b/Objective-J/CFPropertyList.js @@ -310,18 +310,18 @@ var XML_XML = "xml", #define FIRST_CHILD(anXMLNode) (anXMLNode.firstChild) #define NEXT_SIBLING(anXMLNode) (anXMLNode.nextSibling) #define PARENT_NODE(anXMLNode) (anXMLNode.parentNode) -#define DOCUMENT_ELEMENT(aDocument) (aDocument.documentElement) +#define DOCUMENT_ELEMENT(aDocument) (aDocument && aDocument.documentElement) #define HAS_ATTRIBUTE_VALUE(anXMLNode, anAttributeName, aValue) (anXMLNode.getAttribute(anAttributeName) === aValue) #define IS_OF_TYPE(anXMLNode, aType) (NODE_NAME(anXMLNode) === aType) #define IS_PLIST(anXMLNode) IS_OF_TYPE(anXMLNode, PLIST_PLIST) -#define IS_WHITESPACE(anXMLNode) (NODE_TYPE(anXMLNode) === 8 || NODE_TYPE(anXMLNode) === 3) +#define IS_WHITESPACE(anXMLNode) (NODE_TYPE(anXMLNode) === 8 || NODE_TYPE(anXMLNode) === 3 || NODE_TYPE(anXMLNode) === 7) #define IS_DOCUMENTTYPE(anXMLNode) (NODE_TYPE(anXMLNode) === 10) #define PLIST_NEXT_SIBLING(anXMLNode) while ((anXMLNode = NEXT_SIBLING(anXMLNode)) && IS_WHITESPACE(anXMLNode)); -#define PLIST_FIRST_CHILD(anXMLNode) { anXMLNode = FIRST_CHILD(anXMLNode); if (anXMLNode !== NULL && IS_WHITESPACE(anXMLNode)) PLIST_NEXT_SIBLING(anXMLNode) } +#define PLIST_FIRST_CHILD(anXMLNode) { anXMLNode = FIRST_CHILD(anXMLNode); if (anXMLNode != NULL && IS_WHITESPACE(anXMLNode)) PLIST_NEXT_SIBLING(anXMLNode) } var textContent = function(nodes) { @@ -544,15 +544,16 @@ CFPropertyList.propertyListFromXML = function(/*String | XMLNode*/ aStringOrXMLN XMLNode = parseXML(aStringOrXMLNode); // Skip over DOCTYPE and so forth. - while (IS_OF_TYPE(XMLNode, XML_DOCUMENT) || IS_OF_TYPE(XMLNode, XML_XML)) + while (XMLNode && (IS_OF_TYPE(XMLNode, XML_DOCUMENT) || IS_OF_TYPE(XMLNode, XML_XML))) { PLIST_FIRST_CHILD(XMLNode); + } // Skip over the DOCTYPE... see a pattern? - if (IS_DOCUMENTTYPE(XMLNode)) + if (XMLNode && IS_DOCUMENTTYPE(XMLNode)) PLIST_NEXT_SIBLING(XMLNode); // If this is not a PLIST, bail. - if (!IS_PLIST(XMLNode)) + if (!XMLNode || !IS_PLIST(XMLNode)) return NULL; var key = "", diff --git a/Objective-J/CommonJS/lib/objective-j/compiler.js b/Objective-J/CommonJS/lib/objective-j/compiler.js index 681c00116..d1bb6b48f 100644 --- a/Objective-J/CommonJS/lib/objective-j/compiler.js +++ b/Objective-J/CommonJS/lib/objective-j/compiler.js @@ -193,6 +193,11 @@ function resolveFlags(args) else if (argument.indexOf("-G") === 0) objjcFlags.generate = true; + else if (argument.indexOf("--inline-msg-send") === 0) + { + // This option is if you only want to inline message send functions and not compress + objjcFlags.inlineMsgSendFunctions = true; + } else filePaths.push(argument); } diff --git a/Objective-J/Executable.js b/Objective-J/Executable.js index 1e7844392..136af0654 100644 --- a/Objective-J/Executable.js +++ b/Objective-J/Executable.js @@ -27,7 +27,7 @@ var ExecutableUnloadedFileDependencies = 0, ExecutableCantStartLoadYetFileDependencies = 3, AnonymousExecutableCount = 0; -function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*CFURL|String*/ aURL, /*Function*/ aFunction, /*ObjJCompiler*/aCompiler, /*Dictionary*/ aFilenameTranslateDictionary) +function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*CFURL|String*/ aURL, /*Function*/ aFunction, /*ObjJCompiler*/aCompiler, /*Dictionary*/ aFilenameTranslateDictionary, /* Base64 String */ sourceMap) { if (arguments.length === 0) return this; @@ -41,6 +41,9 @@ function Executable(/*String*/ aCode, /*Array*/ fileDependencies, /*CFURL|String this._fileDependencies = fileDependencies; this._filenameTranslateDictionary = aFilenameTranslateDictionary; + if (sourceMap) + this._base64EncodedSourceMap = sourceMap; + // This is a little hacky but if fileDependencies is null we can start loading file dependencies yet if (!fileDependencies) { @@ -148,6 +151,12 @@ Executable.prototype.toMarkedString = function() for (; index < count; ++index) markedString += dependencies[index].toMarkedString(); + var sourceMap = this._base64EncodedSourceMap; + + if (sourceMap) { + markedString += MARKER_SOURCE_MAP + ";" + sourceMap.length + ";" + sourceMap; + } + var code = this.code(); return markedString + MARKER_TEXT + ";" + code.length + ";" + code; @@ -179,7 +188,7 @@ Executable.prototype.execute = function() this.setCode(this._compiler.compilePass2(), this._compiler.map()); - if (FileExecutable.printWarningsAndErrors(this._compiler, exports.messageOutputFormatInXML)) + if (FileExecutable.printWarningsAndErrors(this._compiler, exports.messageOutputFormatInXML)) throw "Compilation error"; this._compiler = null; @@ -211,6 +220,7 @@ Executable.prototype.setCode = function(code, sourceMap) this._code = code; var parameters = this.functionParameters().join(","); + var sourceMapBase64; #if COMMONJS if (typeof system !== "undefined" && system.engine === "rhino") @@ -222,6 +232,9 @@ Executable.prototype.setCode = function(code, sourceMap) { #endif #if DEBUG + // Check if base64 source map is available + sourceMapBase64 = this._base64EncodedSourceMap; + // "//# sourceURL=" at the end lets us name our eval'd files for debuggers, etc. // * WebKit: http://pmuellr.blogspot.com/2009/06/debugger-friendly.html // * Firebug: http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/ @@ -229,22 +242,23 @@ Executable.prototype.setCode = function(code, sourceMap) var absoluteString = this.URL().absoluteString(); code += "/**/\n//# sourceURL=" + absoluteString + "s"; + if (sourceMap) { - // The new Function constructor will add a function header before the first line - // The compiler adds a new line as the first character to the code to get the spurce - // mapping correct. We have to remove it here - code = code.substring(2); - - var sourceMapBase64; - if (typeof btoa === 'function') sourceMapBase64 = btoa(UTF16ToUTF8(sourceMap)); else if (typeof Buffer === 'function') sourceMapBase64 = new Buffer(sourceMap).toString("base64"); + } - if (sourceMapBase64) - code += "\n//# sourceMappingURL=data:application/json;charset=utf-8;base64," + sourceMapBase64; + if (sourceMapBase64) { + // The new Function constructor will add a function header before the first line + // The compiler adds two newlines as the first character to the code to get the source + // mapping correct. We have to remove it here. As Javascript engines adds diffentent + // amount of lines at the top we need to calculate how many. + code = code.substring(exports.ObjJCompiler.numberOfLinesAtTopOfFunction()); + this._base64EncodedSourceMap = sourceMapBase64; + code += "\n//# sourceMappingURL=data:application/json;charset=utf-8;base64," + sourceMapBase64; } //} else { // // Firebug only does it for "eval()", not "new Function()". Ugh. Slower. diff --git a/Objective-J/FileExecutable.js b/Objective-J/FileExecutable.js index 2fd4d88ac..b0ec5d0fb 100644 --- a/Objective-J/FileExecutable.js +++ b/Objective-J/FileExecutable.js @@ -248,7 +248,8 @@ function decompile(/*String*/ aString, /*CFURL*/ aURL) */ var marker = NULL, code = "", - dependencies = []; + dependencies = [], + sourceMap; while (marker = stream.getMarker()) { @@ -262,14 +263,17 @@ function decompile(/*String*/ aString, /*CFURL*/ aURL) else if (marker === MARKER_IMPORT_LOCAL) dependencies.push(new FileDependency(new CFURL(text), YES)); + + else if (marker === MARKER_SOURCE_MAP) + sourceMap = text; } var fn = FileExecutable._lookupCachedFunction(aURL); if (fn) - return new Executable(code, dependencies, aURL, fn); + return new Executable(code, dependencies, aURL, fn, null, null, sourceMap); - return new Executable(code, dependencies, aURL); + return new Executable(code, dependencies, aURL, null, null, null, sourceMap); } var FunctionCache = { }; diff --git a/Objective-J/Includes.js b/Objective-J/Includes.js index 43adc2de2..296cda757 100644 --- a/Objective-J/Includes.js +++ b/Objective-J/Includes.js @@ -46,6 +46,7 @@ #include "CFBundle.js" #include "StaticResource.js" #include "Preprocessor.js" +#include "source-map.js" #include "acorn.js" #include "acornwalk.js" #include "ObjJAcornCompiler.js" diff --git a/Objective-J/ObjJAcornCompiler.js b/Objective-J/ObjJAcornCompiler.js index 7bc57f61d..61aa59da4 100644 --- a/Objective-J/ObjJAcornCompiler.js +++ b/Objective-J/ObjJAcornCompiler.js @@ -16,7 +16,7 @@ (function(mod) { - mod(exports.ObjJCompiler || (exports.ObjJCompiler = {}), exports.acorn || acorn, (exports.acorn || acorn).walk, typeof sourceMap != "undefined" ? sourceMap : null); // Plain browser env + mod(exports.ObjJCompiler || (exports.ObjJCompiler = {}), exports.acorn || acorn, (exports.acorn || acorn).walk, typeof exports.sourceMap != "undefined" ? exports.sourceMap : (typeof module != "undefined" && typeof module.exports === "object" ? module.exports : null)); // Plain browser env })(function(exports, acorn, walk, sourceMap) { "use strict"; @@ -821,6 +821,28 @@ exports.compileFileDependencies = function(/*String*/ aString, /*CFURL*/ aURL, o return new ObjJAcornCompiler(aString, aURL, options); } +/*! + This function is used to calculate the number of lines that is added when a 'new Function(...) call is used. + This is used to make sure source maps are correct + Currently Safari is adding one line and Chrome and Firefox is adding two lines. + + We calculate this by creating a function and counts the number of new lines at the top of the function + The result is cached so we only need to make the calculation once. + */ +exports.numberOfLinesAtTopOfFunction = function() { + var f = new Function("x", "return x;"); + var fString = f.toString(); + var index = fString.indexOf("return x;"); + var firstPart = fString.substring(0, index); + var numberOfLines = (firstPart.match(/\n/g) || []).length; + + ObjJAcornCompiler.numberOfLinesAtTopOfFunction = function() { + return numberOfLines; + } + + return numberOfLines; +} + ObjJAcornCompiler.prototype.compilePass2 = function() { var options = this.options; @@ -1005,7 +1027,7 @@ exports.parseGccCompilerFlags = function(/* String */ compilerFlags) if (argument.indexOf("-g") === 0) objjcFlags.includeMethodFunctionNames = true; else if (argument.indexOf("-O") === 0) { - objjcFlags.inlineMsgSendFunctions = true; + objjcFlags.compress = true; // This is not used in the compiler option dictionary but we add it here as it is also done if compiling from command line. // FIXME: currently we are sending in '-O2' when we want InlineMsgSend. Here we only check if it is '-O...'. // Maybe we should have some other option for this if (argument.length > 2) @@ -1031,6 +1053,11 @@ exports.parseGccCompilerFlags = function(/* String */ compilerFlags) (objjcFlags.includeFiles || (objjcFlags.includeFiles = [])).push(includeUrl); } + else if (argument.indexOf("--inline-msg-send") === 0) + { + // This option is if you only want to inline message send functions + objjcFlags.inlineMsgSendFunctions = true; + } /* else if (argument.indexOf("-I") === 0) { var includeUrl = argument.substring(2), firstChar = includeUrl && includeUrl.charCodeAt(0); @@ -1427,7 +1454,7 @@ ExpressionStatement: function(node, st, c, format) { generate = compiler.generate && !format; if (generate) compiler.jsBuffer.concat(indentation); c(node.expression, st, "Expression"); - if (generate) compiler.jsBuffer.concat(";\n"); + if (generate) compiler.jsBuffer.concat(";\n", node); }, IfStatement: function(node, st, c, format) { var compiler = st.compiler, @@ -1994,7 +2021,7 @@ VariableDeclaration: function(node, st, c, format) { } } } - if (generate && !format && !st.isFor) buffer.concat(";\n"); // Don't add ';' if this is a for statement but do it if this is a statement + if (generate && !format && !st.isFor) buffer.concat(";\n", node); // Don't add ';' if this is a for statement but do it if this is a statement }, ThisExpression: function(node, st, c) { var compiler = st.compiler; @@ -2149,7 +2176,7 @@ BinaryExpression: function(node, st, c, format) { if (generate) { var buffer = compiler.jsBuffer; buffer.concatFormat(format ? format.beforeOperator : " "); - buffer.concat(node.operator); + buffer.concat(node.operator, node); buffer.concatFormat(format ? format.afterOperator : " "); } (generate && nodePrecedence(node, node.right, true) ? surroundExpression(c) : c)(node.right, st, "Expression"); @@ -2315,7 +2342,7 @@ MemberExpression: function(node, st, c) { if (generate) compiler.jsBuffer.concat(computed ? "[" : ".", node); st.secondMemberExpression = !computed; - // No parentheses when it is computed, '[' amd ']' are the same thing. + // No parentheses when it is computed, '[' and ']' are the same thing. (generate && !computed && nodePrecedence(node, node.property) ? surroundExpression(c) : c)(node.property, st, "Expression"); st.secondMemberExpression = false; if (generate && computed) @@ -2369,7 +2396,7 @@ Identifier: function(node, st, c) { st.addMaybeWarning(message); } } - if (generate) compiler.jsBuffer.concat(identifier, node, "self"); + if (generate) compiler.jsBuffer.concat(identifier, node, identifier === "self" ? "self" : null); }, // Use this when there should not be a look up to issue warnings or add 'self.' before ivars IdentifierName: function(node, st, c) { @@ -3315,7 +3342,8 @@ MessageSendExpression: function(node, st, c) { firstSelector = selectors[0], selector = firstSelector ? firstSelector.name : "", // There is always at least one selector parameters = node.parameters, - generateObjJ = compiler.options.generateObjJ; + options = compiler.options, + generateObjJ = options.generateObjJ; // Put together the selector. Maybe this should be done in the parser... for (var i = 0; i < argumentsLength; i++) { @@ -3438,10 +3466,12 @@ MessageSendExpression: function(node, st, c) { } buffer.concat("]"); } else { + var selectorJSPath; + if (generate && !node.superObject) { if (!inlineMsgSend) { if (totalNoOfParameters < 4) { - buffer.concat("" + totalNoOfParameters, null); + buffer.concat("" + totalNoOfParameters, node); } } @@ -3451,12 +3481,35 @@ MessageSendExpression: function(node, st, c) { } else { buffer.concat("(___r" + st.receiverLevel, node); } + + // Only do this if source map is enabled and we have an identifier + if (options.sourceMap && nodeObject.type === "Identifier") { + // Get target expression for sourcemap to allow hovering selector to show method function. Create new buffer to write in. + compiler.jsBuffer = new StringBuffer(); + c(nodeObject, st, "Expression"); + var aTarget = compiler.jsBuffer.toString(); + selectorJSPath = aTarget + ".isa.method_dtable[\"" + selector + "\"]" + // Restored buffer so everything will continue as usually. + compiler.jsBuffer = buffer; + } } - buffer.concat(", \"", node); - buffer.concat(selector); // FIXME: sel_getUid(selector + "") ? This FIXME is from the old preprocessor compiler + buffer.concat(", ", node); + if (selectorJSPath) { + buffer.concat("(", node); + for (var i = 0; i < selectors.length; i++) { + var nextSelector = selectors[i]; + if (nextSelector) { + buffer.concat(selectorJSPath, nextSelector); + buffer.concat(", ", node); + } + } + } buffer.concat("\"", node); + buffer.concat(selector, node); // FIXME: sel_getUid(selector + "") ? This FIXME is from the old preprocessor compiler + buffer.concat(selectorJSPath ? "\")" : "\"", node); + if (nodeArguments) for (var i = 0; i < nodeArguments.length; i++) { var argument = nodeArguments[i]; diff --git a/Objective-J/acorn.js b/Objective-J/acorn.js index f493aff8b..7a6ac77b4 100644 --- a/Objective-J/acorn.js +++ b/Objective-J/acorn.js @@ -738,13 +738,13 @@ if (macroCurrentLine) this.line += macroCurrentLine; var macroCurrentLineStart = locationOffset.column; // Only add column offset if we are on the first line - if (macroCurrentLineStart) this.column += tokPosMacroOffset - (tokCurLine === 0 ? macroCurrentLineStart : 0); + if (macroCurrentLineStart) this.column += tokPosMacroOffset - (tokCurLine === 1 ? macroCurrentLineStart : 0); } } } function PositionOffset(line, column) { - this.line = line; + this.line = line - 1; // Line start on one so we have to convert it to an offset this.column = column; if (preprocessStackLastItem) { var macro = preprocessStackLastItem.macro; @@ -893,10 +893,6 @@ last = ch; ch = input.charCodeAt(++tokPos); } - if (options.locations) { - ++tokCurLine; - tokLineStart = tokPos; - } } // Called at the start of the parse and after every token. Skips @@ -1320,6 +1316,8 @@ // We don't want to concatenate tokens when creating macros preprocessDontConcatenate = true; + // Get position offset now as ´tokCurLine´ and ´tokLineStart´ points to next token. + var positionOffset = options.locations && new PositionOffset(tokCurLine, tokLineStart); var macroIdentifier = preprocessGetIdent(); // '(' Must follow directly after identifier to be a valid macro with parameters if (input.charCodeAt(macroIdentifierEnd) === 40) { // '(' @@ -1332,10 +1330,12 @@ if (!first) preprocessExpect(_comma, "Expected ',' between macro parameters"); else first = false; parameters.push(preprocessEat(_dotdotdot) ? variadic = true && "__VA_ARGS__" : preprocessGetIdent()); if (preprocessEat(_dotdotdot)) variadic = true; + // Get a new position offset as macro has parameters. This is needed if line has escaped (backslash) newline + positionOffset = options.locations && new PositionOffset(tokCurLine, tokLineStart); } } var start = preTokStart; - var positionOffset = options.locations && new PositionOffset(tokCurLine, tokLineStart); + while(preTokType !== _eol && preTokType !== _eof) preprocessReadToken(); @@ -1532,18 +1532,13 @@ if (allowEndOfLineToken) { var r; - if (code === 13) { - r = finishOp(_eol, input.charCodeAt(tokPos+1) === 10 ? 2 : 1, finisher); - } else if (code === 10 || code === 8232 || code === 8233) { - r = finishOp(_eol, 1, finisher); - } else { - return false; + if (code === 13 || code === 10 || code === 8232 || code === 8233) { + if (options.locations) { + ++tokCurLine; + tokLineStart = tokPos; + } + return finishOp(_eol, (code === 13 && input.charCodeAt(tokPos+1) === 10) ? 2 : 1, finisher); } - if (options.locations) { - ++tokCurLine; - tokLineStart = tokPos; - } - return r; } return false; @@ -1613,8 +1608,8 @@ // Skip whitespaces sometimes without line breaks // Returns true if it stops at a line break. - function preprocessSkipSpace(skipComments, skipEOL) { - var ch = onlySkipSpace(!skipEOL); + function preprocessSkipSpace(dontSkipComments, skipEOL) { + var ch = onlySkipSpace(!skipEOL, false, dontSkipComments); // Can't see that this line break test is used anymore //lineBreak.lastIndex = 0; //var match = lineBreak.exec(input.slice(tokPos, tokPos + 2)); @@ -1670,7 +1665,9 @@ if (!preprocessToken && !preNotSkipping && code !== 35) { // '#' // If we are skipping take the whole line if the token does not start with '#' (preprocess tokens) preprocesSkipRestOfLine(); - return preprocessFinishToken(_preprocessSkipLine, input.slice(preTokStart, tokPos++)); + preprocessFinishToken(_preprocessSkipLine, input.slice(preTokStart, tokPos)); + preprocessSkipSpace(true, true); // Don't skip comments and skip EOL + return; } else if (preprocessMacroParameterListMode && code !== 41 && code !== 44) { // ')', ',' var parenLevel = 0; // If we are parsing a macro parameter list parentheses within each argument must balance @@ -1723,7 +1720,7 @@ preTokEnd = overrideTokEnd || tokPos; if (type !== _eol) firstTokEnd = preTokEnd; //tokRegexpAllowed = type.beforeExpr; - var ch = preprocessSkipSpace(false, skipEOL); // Dont skip comments + var ch = preprocessSkipSpace(false, skipEOL); // Skip comments if (ch === 35 && options.preprocess && !preprocessDontConcatenate && input.charCodeAt(tokPos + 1) === 35) { // '##' var val1 = val != null ? val : type.keyword || type.type; tokPos += 2; @@ -1765,7 +1762,7 @@ preTokType = type; preTokVal = val; firstTokEnd = preTokEnd = tokPos; - preprocessSkipSpace(true); // 'true' for skip comments + preprocessSkipSpace(true); // 'true' for don't skip comments } // Continue to the next token. @@ -2426,7 +2423,7 @@ inputLen = macroString.length; tokPosMacroOffset = macro.start; tokPos = 0; - tokCurLine = 0; + tokCurLine = 1; tokLineStart = 0; firstTokEnd = 0; localLastEnd = 0; @@ -2634,7 +2631,6 @@ // Test whether a semicolon can be inserted at the current position. function canInsertSemicolon() { - //if (lastEnd !== localLastEnd) print("lastEnd: " + lastEnd + ", localLastEnd: " + localLastEnd); return !options.strictSemicolons && (tokType === _eof || tokType === _braceR || newline.test(lastEndInput.slice(lastEnd, lastEndOfFile || tokFirstStart)) || (nodeMessageSendObjectExpression && options.objj) || lastEndOfFile != null); diff --git a/Objective-J/source-map.js b/Objective-J/source-map.js new file mode 100644 index 000000000..c3346b893 --- /dev/null +++ b/Objective-J/source-map.js @@ -0,0 +1,3109 @@ +(function webpackUniversalModuleDefinition(root, factory) { + function DescriptionOfObject(anObject, maximumRecursionDepth) + { + if (anObject === nil) + return "nil"; + + if (anObject === undefined) + return "undefined"; + + if (anObject === window) + return "window"; + + if (maximumRecursionDepth === 0) + return "..."; + + if (typeof(anObject) !== "object") + return String(anObject); + + var properties = [], + desc; + + for (var property in anObject) + if (anObject.hasOwnProperty(property)) + properties.push(property); + + properties.sort(); + + desc = "{"; + + for (var i = 0; i < properties.length; ++i) + { + if (i === 0) + desc += "\n"; + + var value = anObject[properties[i]], + valueDescription = DescriptionOfObject(value, maximumRecursionDepth !== undefined ? maximumRecursionDepth - 1 : maximumRecursionDepth).split("\n").join("\n "); + + desc += " " + properties[i] + ": " + valueDescription; + + if (i < properties.length - 1) + desc += ",\n"; + else + desc += "\n"; + } + + desc += "}"; + + return desc; + } + + if (typeof exports === 'object' && typeof module === 'object') { + //print("SourceMap 1: " + DescriptionOfObject(module, 2)); + module.exports = factory(); + } else if (typeof define === 'function' && define.amd) { + //print("SourceMap 2"); + define([], factory); + } else if (typeof exports === 'object') { + //print("SourceMap 3"); + exports["sourceMap"] = factory(); + } else { + //print("SourceMap 4"); + root["sourceMap"] = factory(); + } +})(this, function() { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; + +/******/ // The require function +/******/ function __webpack_require__(moduleId) { + +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) +/******/ return installedModules[moduleId].exports; + +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ exports: {}, +/******/ id: moduleId, +/******/ loaded: false +/******/ }; + +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); + +/******/ // Flag the module as loaded +/******/ module.loaded = true; + +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } + + +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; + +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; + +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; + +/******/ // Load entry module and return exports +/******/ return __webpack_require__(0); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ function(module, exports, __webpack_require__) { + + /* + * Copyright 2009-2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE.txt or: + * http://opensource.org/licenses/BSD-3-Clause + */ + exports.SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; + exports.SourceMapConsumer = __webpack_require__(7).SourceMapConsumer; + exports.SourceNode = __webpack_require__(10).SourceNode; + + +/***/ }, +/* 1 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var base64VLQ = __webpack_require__(2); + var util = __webpack_require__(4); + var ArraySet = __webpack_require__(5).ArraySet; + var MappingList = __webpack_require__(6).MappingList; + + /** + * An instance of the SourceMapGenerator represents a source map which is + * being built incrementally. You may pass an object with the following + * properties: + * + * - file: The filename of the generated source. + * - sourceRoot: A root for all relative URLs in this source map. + */ + function SourceMapGenerator(aArgs) { + if (!aArgs) { + aArgs = {}; + } + this._file = util.getArg(aArgs, 'file', null); + this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null); + this._skipValidation = util.getArg(aArgs, 'skipValidation', false); + this._sources = new ArraySet(); + this._names = new ArraySet(); + this._mappings = new MappingList(); + this._sourcesContents = null; + } + + SourceMapGenerator.prototype._version = 3; + + /** + * Creates a new SourceMapGenerator based on a SourceMapConsumer + * + * @param aSourceMapConsumer The SourceMap. + */ + SourceMapGenerator.fromSourceMap = + function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) { + var sourceRoot = aSourceMapConsumer.sourceRoot; + var generator = new SourceMapGenerator({ + file: aSourceMapConsumer.file, + sourceRoot: sourceRoot + }); + aSourceMapConsumer.eachMapping(function (mapping) { + var newMapping = { + generated: { + line: mapping.generatedLine, + column: mapping.generatedColumn + } + }; + + if (mapping.source != null) { + newMapping.source = mapping.source; + if (sourceRoot != null) { + newMapping.source = util.relative(sourceRoot, newMapping.source); + } + + newMapping.original = { + line: mapping.originalLine, + column: mapping.originalColumn + }; + + if (mapping.name != null) { + newMapping.name = mapping.name; + } + } + + generator.addMapping(newMapping); + }); + aSourceMapConsumer.sources.forEach(function (sourceFile) { + var content = aSourceMapConsumer.sourceContentFor(sourceFile); + if (content != null) { + generator.setSourceContent(sourceFile, content); + } + }); + return generator; + }; + + /** + * Add a single mapping from original source line and column to the generated + * source's line and column for this source map being created. The mapping + * object should have the following properties: + * + * - generated: An object with the generated line and column positions. + * - original: An object with the original line and column positions. + * - source: The original source file (relative to the sourceRoot). + * - name: An optional original token name for this mapping. + */ + SourceMapGenerator.prototype.addMapping = + function SourceMapGenerator_addMapping(aArgs) { + var generated = util.getArg(aArgs, 'generated'); + var original = util.getArg(aArgs, 'original', null); + var source = util.getArg(aArgs, 'source', null); + var name = util.getArg(aArgs, 'name', null); + + if (!this._skipValidation) { + this._validateMapping(generated, original, source, name); + } + + if (source != null) { + source = String(source); + if (!this._sources.has(source)) { + this._sources.add(source); + } + } + + if (name != null) { + name = String(name); + if (!this._names.has(name)) { + this._names.add(name); + } + } + + this._mappings.add({ + generatedLine: generated.line, + generatedColumn: generated.column, + originalLine: original != null && original.line, + originalColumn: original != null && original.column, + source: source, + name: name + }); + }; + + /** + * Set the source content for a source file. + */ + SourceMapGenerator.prototype.setSourceContent = + function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) { + var source = aSourceFile; + if (this._sourceRoot != null) { + source = util.relative(this._sourceRoot, source); + } + + if (aSourceContent != null) { + // Add the source content to the _sourcesContents map. + // Create a new _sourcesContents map if the property is null. + if (!this._sourcesContents) { + this._sourcesContents = Object.create(null); + } + this._sourcesContents[util.toSetString(source)] = aSourceContent; + } else if (this._sourcesContents) { + // Remove the source file from the _sourcesContents map. + // If the _sourcesContents map is empty, set the property to null. + delete this._sourcesContents[util.toSetString(source)]; + if (Object.keys(this._sourcesContents).length === 0) { + this._sourcesContents = null; + } + } + }; + + /** + * Applies the mappings of a sub-source-map for a specific source file to the + * source map being generated. Each mapping to the supplied source file is + * rewritten using the supplied source map. Note: The resolution for the + * resulting mappings is the minimium of this map and the supplied map. + * + * @param aSourceMapConsumer The source map to be applied. + * @param aSourceFile Optional. The filename of the source file. + * If omitted, SourceMapConsumer's file property will be used. + * @param aSourceMapPath Optional. The dirname of the path to the source map + * to be applied. If relative, it is relative to the SourceMapConsumer. + * This parameter is needed when the two source maps aren't in the same + * directory, and the source map to be applied contains relative source + * paths. If so, those relative source paths need to be rewritten + * relative to the SourceMapGenerator. + */ + SourceMapGenerator.prototype.applySourceMap = + function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) { + var sourceFile = aSourceFile; + // If aSourceFile is omitted, we will use the file property of the SourceMap + if (aSourceFile == null) { + if (aSourceMapConsumer.file == null) { + throw new Error( + 'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' + + 'or the source map\'s "file" property. Both were omitted.' + ); + } + sourceFile = aSourceMapConsumer.file; + } + var sourceRoot = this._sourceRoot; + // Make "sourceFile" relative if an absolute Url is passed. + if (sourceRoot != null) { + sourceFile = util.relative(sourceRoot, sourceFile); + } + // Applying the SourceMap can add and remove items from the sources and + // the names array. + var newSources = new ArraySet(); + var newNames = new ArraySet(); + + // Find mappings for the "sourceFile" + this._mappings.unsortedForEach(function (mapping) { + if (mapping.source === sourceFile && mapping.originalLine != null) { + // Check if it can be mapped by the source map, then update the mapping. + var original = aSourceMapConsumer.originalPositionFor({ + line: mapping.originalLine, + column: mapping.originalColumn + }); + if (original.source != null) { + // Copy mapping + mapping.source = original.source; + if (aSourceMapPath != null) { + mapping.source = util.join(aSourceMapPath, mapping.source) + } + if (sourceRoot != null) { + mapping.source = util.relative(sourceRoot, mapping.source); + } + mapping.originalLine = original.line; + mapping.originalColumn = original.column; + if (original.name != null) { + mapping.name = original.name; + } + } + } + + var source = mapping.source; + if (source != null && !newSources.has(source)) { + newSources.add(source); + } + + var name = mapping.name; + if (name != null && !newNames.has(name)) { + newNames.add(name); + } + + }, this); + this._sources = newSources; + this._names = newNames; + + // Copy sourcesContents of applied map. + aSourceMapConsumer.sources.forEach(function (sourceFile) { + var content = aSourceMapConsumer.sourceContentFor(sourceFile); + if (content != null) { + if (aSourceMapPath != null) { + sourceFile = util.join(aSourceMapPath, sourceFile); + } + if (sourceRoot != null) { + sourceFile = util.relative(sourceRoot, sourceFile); + } + this.setSourceContent(sourceFile, content); + } + }, this); + }; + + /** + * A mapping can have one of the three levels of data: + * + * 1. Just the generated position. + * 2. The Generated position, original position, and original source. + * 3. Generated and original position, original source, as well as a name + * token. + * + * To maintain consistency, we validate that any new mapping being added falls + * in to one of these categories. + */ + SourceMapGenerator.prototype._validateMapping = + function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource, + aName) { + if (aGenerated && 'line' in aGenerated && 'column' in aGenerated + && aGenerated.line > 0 && aGenerated.column >= 0 + && !aOriginal && !aSource && !aName) { + // Case 1. + return; + } + else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated + && aOriginal && 'line' in aOriginal && 'column' in aOriginal + && aGenerated.line > 0 && aGenerated.column >= 0 + && aOriginal.line > 0 && aOriginal.column >= 0 + && aSource) { + // Cases 2 and 3. + return; + } + else { + throw new Error('Invalid mapping: ' + JSON.stringify({ + generated: aGenerated, + source: aSource, + original: aOriginal, + name: aName + })); + } + }; + + /** + * Serialize the accumulated mappings in to the stream of base 64 VLQs + * specified by the source map format. + */ + SourceMapGenerator.prototype._serializeMappings = + function SourceMapGenerator_serializeMappings() { + var previousGeneratedColumn = 0; + var previousGeneratedLine = 1; + var previousOriginalColumn = 0; + var previousOriginalLine = 0; + var previousName = 0; + var previousSource = 0; + var result = ''; + var next; + var mapping; + var nameIdx; + var sourceIdx; + + var mappings = this._mappings.toArray(); + for (var i = 0, len = mappings.length; i < len; i++) { + mapping = mappings[i]; + next = '' + + if (mapping.generatedLine !== previousGeneratedLine) { + previousGeneratedColumn = 0; + while (mapping.generatedLine !== previousGeneratedLine) { + next += ';'; + previousGeneratedLine++; + } + } + else { + if (i > 0) { + if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) { + continue; + } + next += ','; + } + } + + next += base64VLQ.encode(mapping.generatedColumn + - previousGeneratedColumn); + previousGeneratedColumn = mapping.generatedColumn; + + if (mapping.source != null) { + sourceIdx = this._sources.indexOf(mapping.source); + next += base64VLQ.encode(sourceIdx - previousSource); + previousSource = sourceIdx; + + // lines are stored 0-based in SourceMap spec version 3 + next += base64VLQ.encode(mapping.originalLine - 1 + - previousOriginalLine); + previousOriginalLine = mapping.originalLine - 1; + + next += base64VLQ.encode(mapping.originalColumn + - previousOriginalColumn); + previousOriginalColumn = mapping.originalColumn; + + if (mapping.name != null) { + nameIdx = this._names.indexOf(mapping.name); + next += base64VLQ.encode(nameIdx - previousName); + previousName = nameIdx; + } + } + + result += next; + } + + return result; + }; + + SourceMapGenerator.prototype._generateSourcesContent = + function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) { + return aSources.map(function (source) { + if (!this._sourcesContents) { + return null; + } + if (aSourceRoot != null) { + source = util.relative(aSourceRoot, source); + } + var key = util.toSetString(source); + return Object.prototype.hasOwnProperty.call(this._sourcesContents, key) + ? this._sourcesContents[key] + : null; + }, this); + }; + + /** + * Externalize the source map. + */ + SourceMapGenerator.prototype.toJSON = + function SourceMapGenerator_toJSON() { + var map = { + version: this._version, + sources: this._sources.toArray(), + names: this._names.toArray(), + mappings: this._serializeMappings() + }; + if (this._file != null) { + map.file = this._file; + } + if (this._sourceRoot != null) { + map.sourceRoot = this._sourceRoot; + } + if (this._sourcesContents) { + map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot); + } + + return map; + }; + + /** + * Render the source map being generated to a string. + */ + SourceMapGenerator.prototype.toString = + function SourceMapGenerator_toString() { + return JSON.stringify(this.toJSON()); + }; + + exports.SourceMapGenerator = SourceMapGenerator; + + +/***/ }, +/* 2 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + * + * Based on the Base 64 VLQ implementation in Closure Compiler: + * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java + * + * Copyright 2011 The Closure Compiler Authors. All rights reserved. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * * Neither the name of Google Inc. nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + var base64 = __webpack_require__(3); + + // A single base 64 digit can contain 6 bits of data. For the base 64 variable + // length quantities we use in the source map spec, the first bit is the sign, + // the next four bits are the actual value, and the 6th bit is the + // continuation bit. The continuation bit tells us whether there are more + // digits in this value following this digit. + // + // Continuation + // | Sign + // | | + // V V + // 101011 + + var VLQ_BASE_SHIFT = 5; + + // binary: 100000 + var VLQ_BASE = 1 << VLQ_BASE_SHIFT; + + // binary: 011111 + var VLQ_BASE_MASK = VLQ_BASE - 1; + + // binary: 100000 + var VLQ_CONTINUATION_BIT = VLQ_BASE; + + /** + * Converts from a two-complement value to a value where the sign bit is + * placed in the least significant bit. For example, as decimals: + * 1 becomes 2 (10 binary), -1 becomes 3 (11 binary) + * 2 becomes 4 (100 binary), -2 becomes 5 (101 binary) + */ + function toVLQSigned(aValue) { + return aValue < 0 + ? ((-aValue) << 1) + 1 + : (aValue << 1) + 0; + } + + /** + * Converts to a two-complement value from a value where the sign bit is + * placed in the least significant bit. For example, as decimals: + * 2 (10 binary) becomes 1, 3 (11 binary) becomes -1 + * 4 (100 binary) becomes 2, 5 (101 binary) becomes -2 + */ + function fromVLQSigned(aValue) { + var isNegative = (aValue & 1) === 1; + var shifted = aValue >> 1; + return isNegative + ? -shifted + : shifted; + } + + /** + * Returns the base 64 VLQ encoded value. + */ + exports.encode = function base64VLQ_encode(aValue) { + var encoded = ""; + var digit; + + var vlq = toVLQSigned(aValue); + + do { + digit = vlq & VLQ_BASE_MASK; + vlq >>>= VLQ_BASE_SHIFT; + if (vlq > 0) { + // There are still more digits in this value, so we must make sure the + // continuation bit is marked. + digit |= VLQ_CONTINUATION_BIT; + } + encoded += base64.encode(digit); + } while (vlq > 0); + + return encoded; + }; + + /** + * Decodes the next base 64 VLQ value from the given string and returns the + * value and the rest of the string via the out parameter. + */ + exports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) { + var strLen = aStr.length; + var result = 0; + var shift = 0; + var continuation, digit; + + do { + if (aIndex >= strLen) { + throw new Error("Expected more digits in base 64 VLQ value."); + } + + digit = base64.decode(aStr.charCodeAt(aIndex++)); + if (digit === -1) { + throw new Error("Invalid base64 digit: " + aStr.charAt(aIndex - 1)); + } + + continuation = !!(digit & VLQ_CONTINUATION_BIT); + digit &= VLQ_BASE_MASK; + result = result + (digit << shift); + shift += VLQ_BASE_SHIFT; + } while (continuation); + + aOutParam.value = fromVLQSigned(result); + aOutParam.rest = aIndex; + }; + + +/***/ }, +/* 3 */ +/***/ function(module, exports) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); + + /** + * Encode an integer in the range of 0 to 63 to a single base 64 digit. + */ + exports.encode = function (number) { + if (0 <= number && number < intToCharMap.length) { + return intToCharMap[number]; + } + throw new TypeError("Must be between 0 and 63: " + number); + }; + + /** + * Decode a single base 64 character code digit to an integer. Returns -1 on + * failure. + */ + exports.decode = function (charCode) { + var bigA = 65; // 'A' + var bigZ = 90; // 'Z' + + var littleA = 97; // 'a' + var littleZ = 122; // 'z' + + var zero = 48; // '0' + var nine = 57; // '9' + + var plus = 43; // '+' + var slash = 47; // '/' + + var littleOffset = 26; + var numberOffset = 52; + + // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ + if (bigA <= charCode && charCode <= bigZ) { + return (charCode - bigA); + } + + // 26 - 51: abcdefghijklmnopqrstuvwxyz + if (littleA <= charCode && charCode <= littleZ) { + return (charCode - littleA + littleOffset); + } + + // 52 - 61: 0123456789 + if (zero <= charCode && charCode <= nine) { + return (charCode - zero + numberOffset); + } + + // 62: + + if (charCode == plus) { + return 62; + } + + // 63: / + if (charCode == slash) { + return 63; + } + + // Invalid base64 digit. + return -1; + }; + + +/***/ }, +/* 4 */ +/***/ function(module, exports) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + /** + * This is a helper function for getting values from parameter/options + * objects. + * + * @param args The object we are extracting values from + * @param name The name of the property we are getting. + * @param defaultValue An optional value to return if the property is missing + * from the object. If this is not specified and the property is missing, an + * error will be thrown. + */ + function getArg(aArgs, aName, aDefaultValue) { + if (aName in aArgs) { + return aArgs[aName]; + } else if (arguments.length === 3) { + return aDefaultValue; + } else { + throw new Error('"' + aName + '" is a required argument.'); + } + } + exports.getArg = getArg; + + var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; + var dataUrlRegexp = /^data:.+\,.+$/; + + function urlParse(aUrl) { + var match = aUrl.match(urlRegexp); + if (!match) { + return null; + } + return { + scheme: match[1], + auth: match[2], + host: match[3], + port: match[4], + path: match[5] + }; + } + exports.urlParse = urlParse; + + function urlGenerate(aParsedUrl) { + var url = ''; + if (aParsedUrl.scheme) { + url += aParsedUrl.scheme + ':'; + } + url += '//'; + if (aParsedUrl.auth) { + url += aParsedUrl.auth + '@'; + } + if (aParsedUrl.host) { + url += aParsedUrl.host; + } + if (aParsedUrl.port) { + url += ":" + aParsedUrl.port + } + if (aParsedUrl.path) { + url += aParsedUrl.path; + } + return url; + } + exports.urlGenerate = urlGenerate; + + /** + * Normalizes a path, or the path portion of a URL: + * + * - Replaces consequtive slashes with one slash. + * - Removes unnecessary '.' parts. + * - Removes unnecessary '/..' parts. + * + * Based on code in the Node.js 'path' core module. + * + * @param aPath The path or url to normalize. + */ + function normalize(aPath) { + var path = aPath; + var url = urlParse(aPath); + if (url) { + if (!url.path) { + return aPath; + } + path = url.path; + } + var isAbsolute = exports.isAbsolute(path); + + var parts = path.split(/\/+/); + for (var part, up = 0, i = parts.length - 1; i >= 0; i--) { + part = parts[i]; + if (part === '.') { + parts.splice(i, 1); + } else if (part === '..') { + up++; + } else if (up > 0) { + if (part === '') { + // The first part is blank if the path is absolute. Trying to go + // above the root is a no-op. Therefore we can remove all '..' parts + // directly after the root. + parts.splice(i + 1, up); + up = 0; + } else { + parts.splice(i, 2); + up--; + } + } + } + path = parts.join('/'); + + if (path === '') { + path = isAbsolute ? '/' : '.'; + } + + if (url) { + url.path = path; + return urlGenerate(url); + } + return path; + } + exports.normalize = normalize; + + /** + * Joins two paths/URLs. + * + * @param aRoot The root path or URL. + * @param aPath The path or URL to be joined with the root. + * + * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a + * scheme-relative URL: Then the scheme of aRoot, if any, is prepended + * first. + * - Otherwise aPath is a path. If aRoot is a URL, then its path portion + * is updated with the result and aRoot is returned. Otherwise the result + * is returned. + * - If aPath is absolute, the result is aPath. + * - Otherwise the two paths are joined with a slash. + * - Joining for example 'http://' and 'www.example.com' is also supported. + */ + function join(aRoot, aPath) { + if (aRoot === "") { + aRoot = "."; + } + if (aPath === "") { + aPath = "."; + } + var aPathUrl = urlParse(aPath); + var aRootUrl = urlParse(aRoot); + if (aRootUrl) { + aRoot = aRootUrl.path || '/'; + } + + // `join(foo, '//www.example.org')` + if (aPathUrl && !aPathUrl.scheme) { + if (aRootUrl) { + aPathUrl.scheme = aRootUrl.scheme; + } + return urlGenerate(aPathUrl); + } + + if (aPathUrl || aPath.match(dataUrlRegexp)) { + return aPath; + } + + // `join('http://', 'www.example.com')` + if (aRootUrl && !aRootUrl.host && !aRootUrl.path) { + aRootUrl.host = aPath; + return urlGenerate(aRootUrl); + } + + var joined = aPath.charAt(0) === '/' + ? aPath + : normalize(aRoot.replace(/\/+$/, '') + '/' + aPath); + + if (aRootUrl) { + aRootUrl.path = joined; + return urlGenerate(aRootUrl); + } + return joined; + } + exports.join = join; + + exports.isAbsolute = function (aPath) { + return aPath.charAt(0) === '/' || !!aPath.match(urlRegexp); + }; + + /** + * Make a path relative to a URL or another path. + * + * @param aRoot The root path or URL. + * @param aPath The path or URL to be made relative to aRoot. + */ + function relative(aRoot, aPath) { + if (aRoot === "") { + aRoot = "."; + } + + aRoot = aRoot.replace(/\/$/, ''); + + // It is possible for the path to be above the root. In this case, simply + // checking whether the root is a prefix of the path won't work. Instead, we + // need to remove components from the root one by one, until either we find + // a prefix that fits, or we run out of components to remove. + var level = 0; + while (aPath.indexOf(aRoot + '/') !== 0) { + var index = aRoot.lastIndexOf("/"); + if (index < 0) { + return aPath; + } + + // If the only part of the root that is left is the scheme (i.e. http://, + // file:///, etc.), one or more slashes (/), or simply nothing at all, we + // have exhausted all components, so the path is not relative to the root. + aRoot = aRoot.slice(0, index); + if (aRoot.match(/^([^\/]+:\/)?\/*$/)) { + return aPath; + } + + ++level; + } + + // Make sure we add a "../" for each component we removed from the root. + return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1); + } + exports.relative = relative; + + var supportsNullProto = (function () { + var obj = Object.create(null); + return !('__proto__' in obj); + }()); + + function identity (s) { + return s; + } + + /** + * Because behavior goes wacky when you set `__proto__` on objects, we + * have to prefix all the strings in our set with an arbitrary character. + * + * See https://github.com/mozilla/source-map/pull/31 and + * https://github.com/mozilla/source-map/issues/30 + * + * @param String aStr + */ + function toSetString(aStr) { + if (isProtoString(aStr)) { + return '$' + aStr; + } + + return aStr; + } + exports.toSetString = supportsNullProto ? identity : toSetString; + + function fromSetString(aStr) { + if (isProtoString(aStr)) { + return aStr.slice(1); + } + + return aStr; + } + exports.fromSetString = supportsNullProto ? identity : fromSetString; + + function isProtoString(s) { + if (!s) { + return false; + } + + var length = s.length; + + if (length < 9 /* "__proto__".length */) { + return false; + } + + if (s.charCodeAt(length - 1) !== 95 /* '_' */ || + s.charCodeAt(length - 2) !== 95 /* '_' */ || + s.charCodeAt(length - 3) !== 111 /* 'o' */ || + s.charCodeAt(length - 4) !== 116 /* 't' */ || + s.charCodeAt(length - 5) !== 111 /* 'o' */ || + s.charCodeAt(length - 6) !== 114 /* 'r' */ || + s.charCodeAt(length - 7) !== 112 /* 'p' */ || + s.charCodeAt(length - 8) !== 95 /* '_' */ || + s.charCodeAt(length - 9) !== 95 /* '_' */) { + return false; + } + + for (var i = length - 10; i >= 0; i--) { + if (s.charCodeAt(i) !== 36 /* '$' */) { + return false; + } + } + + return true; + } + + /** + * Comparator between two mappings where the original positions are compared. + * + * Optionally pass in `true` as `onlyCompareGenerated` to consider two + * mappings with the same original source/line/column, but different generated + * line and column the same. Useful when searching for a mapping with a + * stubbed out mapping. + */ + function compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) { + var cmp = mappingA.source - mappingB.source; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalLine - mappingB.originalLine; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalColumn - mappingB.originalColumn; + if (cmp !== 0 || onlyCompareOriginal) { + return cmp; + } + + cmp = mappingA.generatedColumn - mappingB.generatedColumn; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.generatedLine - mappingB.generatedLine; + if (cmp !== 0) { + return cmp; + } + + return mappingA.name - mappingB.name; + } + exports.compareByOriginalPositions = compareByOriginalPositions; + + /** + * Comparator between two mappings with deflated source and name indices where + * the generated positions are compared. + * + * Optionally pass in `true` as `onlyCompareGenerated` to consider two + * mappings with the same generated line and column, but different + * source/name/original line and column the same. Useful when searching for a + * mapping with a stubbed out mapping. + */ + function compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) { + var cmp = mappingA.generatedLine - mappingB.generatedLine; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.generatedColumn - mappingB.generatedColumn; + if (cmp !== 0 || onlyCompareGenerated) { + return cmp; + } + + cmp = mappingA.source - mappingB.source; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalLine - mappingB.originalLine; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalColumn - mappingB.originalColumn; + if (cmp !== 0) { + return cmp; + } + + return mappingA.name - mappingB.name; + } + exports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated; + + function strcmp(aStr1, aStr2) { + if (aStr1 === aStr2) { + return 0; + } + + if (aStr1 > aStr2) { + return 1; + } + + return -1; + } + + /** + * Comparator between two mappings with inflated source and name strings where + * the generated positions are compared. + */ + function compareByGeneratedPositionsInflated(mappingA, mappingB) { + var cmp = mappingA.generatedLine - mappingB.generatedLine; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.generatedColumn - mappingB.generatedColumn; + if (cmp !== 0) { + return cmp; + } + + cmp = strcmp(mappingA.source, mappingB.source); + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalLine - mappingB.originalLine; + if (cmp !== 0) { + return cmp; + } + + cmp = mappingA.originalColumn - mappingB.originalColumn; + if (cmp !== 0) { + return cmp; + } + + return strcmp(mappingA.name, mappingB.name); + } + exports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated; + + +/***/ }, +/* 5 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var util = __webpack_require__(4); + var has = Object.prototype.hasOwnProperty; + + /** + * A data structure which is a combination of an array and a set. Adding a new + * member is O(1), testing for membership is O(1), and finding the index of an + * element is O(1). Removing elements from the set is not supported. Only + * strings are supported for membership. + */ + function ArraySet() { + this._array = []; + this._set = Object.create(null); + } + + /** + * Static method for creating ArraySet instances from an existing array. + */ + ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) { + var set = new ArraySet(); + for (var i = 0, len = aArray.length; i < len; i++) { + set.add(aArray[i], aAllowDuplicates); + } + return set; + }; + + /** + * Return how many unique items are in this ArraySet. If duplicates have been + * added, than those do not count towards the size. + * + * @returns Number + */ + ArraySet.prototype.size = function ArraySet_size() { + return Object.getOwnPropertyNames(this._set).length; + }; + + /** + * Add the given string to this set. + * + * @param String aStr + */ + ArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) { + var sStr = util.toSetString(aStr); + var isDuplicate = has.call(this._set, sStr); + var idx = this._array.length; + if (!isDuplicate || aAllowDuplicates) { + this._array.push(aStr); + } + if (!isDuplicate) { + this._set[sStr] = idx; + } + }; + + /** + * Is the given string a member of this set? + * + * @param String aStr + */ + ArraySet.prototype.has = function ArraySet_has(aStr) { + var sStr = util.toSetString(aStr); + return has.call(this._set, sStr); + }; + + /** + * What is the index of the given string in the array? + * + * @param String aStr + */ + ArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) { + var sStr = util.toSetString(aStr); + if (has.call(this._set, sStr)) { + return this._set[sStr]; + } + throw new Error('"' + aStr + '" is not in the set.'); + }; + + /** + * What is the element at the given index? + * + * @param Number aIdx + */ + ArraySet.prototype.at = function ArraySet_at(aIdx) { + if (aIdx >= 0 && aIdx < this._array.length) { + return this._array[aIdx]; + } + throw new Error('No element indexed by ' + aIdx); + }; + + /** + * Returns the array representation of this set (which has the proper indices + * indicated by indexOf). Note that this is a copy of the internal array used + * for storing the members so that no one can mess with internal state. + */ + ArraySet.prototype.toArray = function ArraySet_toArray() { + return this._array.slice(); + }; + + exports.ArraySet = ArraySet; + + +/***/ }, +/* 6 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2014 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var util = __webpack_require__(4); + + /** + * Determine whether mappingB is after mappingA with respect to generated + * position. + */ + function generatedPositionAfter(mappingA, mappingB) { + // Optimized for most common case + var lineA = mappingA.generatedLine; + var lineB = mappingB.generatedLine; + var columnA = mappingA.generatedColumn; + var columnB = mappingB.generatedColumn; + return lineB > lineA || lineB == lineA && columnB >= columnA || + util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0; + } + + /** + * A data structure to provide a sorted view of accumulated mappings in a + * performance conscious manner. It trades a neglibable overhead in general + * case for a large speedup in case of mappings being added in order. + */ + function MappingList() { + this._array = []; + this._sorted = true; + // Serves as infimum + this._last = {generatedLine: -1, generatedColumn: 0}; + } + + /** + * Iterate through internal items. This method takes the same arguments that + * `Array.prototype.forEach` takes. + * + * NOTE: The order of the mappings is NOT guaranteed. + */ + MappingList.prototype.unsortedForEach = + function MappingList_forEach(aCallback, aThisArg) { + this._array.forEach(aCallback, aThisArg); + }; + + /** + * Add the given source mapping. + * + * @param Object aMapping + */ + MappingList.prototype.add = function MappingList_add(aMapping) { + if (generatedPositionAfter(this._last, aMapping)) { + this._last = aMapping; + this._array.push(aMapping); + } else { + this._sorted = false; + this._array.push(aMapping); + } + }; + + /** + * Returns the flat, sorted array of mappings. The mappings are sorted by + * generated position. + * + * WARNING: This method returns internal data without copying, for + * performance. The return value must NOT be mutated, and should be treated as + * an immutable borrow. If you want to take ownership, you must make your own + * copy. + */ + MappingList.prototype.toArray = function MappingList_toArray() { + if (!this._sorted) { + this._array.sort(util.compareByGeneratedPositionsInflated); + this._sorted = true; + } + return this._array; + }; + + exports.MappingList = MappingList; + + +/***/ }, +/* 7 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var util = __webpack_require__(4); + var binarySearch = __webpack_require__(8); + var ArraySet = __webpack_require__(5).ArraySet; + var base64VLQ = __webpack_require__(2); + var quickSort = __webpack_require__(9).quickSort; + + function SourceMapConsumer(aSourceMap) { + var sourceMap = aSourceMap; + if (typeof aSourceMap === 'string') { + sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); + } + + return sourceMap.sections != null + ? new IndexedSourceMapConsumer(sourceMap) + : new BasicSourceMapConsumer(sourceMap); + } + + SourceMapConsumer.fromSourceMap = function(aSourceMap) { + return BasicSourceMapConsumer.fromSourceMap(aSourceMap); + } + + /** + * The version of the source mapping spec that we are consuming. + */ + SourceMapConsumer.prototype._version = 3; + + // `__generatedMappings` and `__originalMappings` are arrays that hold the + // parsed mapping coordinates from the source map's "mappings" attribute. They + // are lazily instantiated, accessed via the `_generatedMappings` and + // `_originalMappings` getters respectively, and we only parse the mappings + // and create these arrays once queried for a source location. We jump through + // these hoops because there can be many thousands of mappings, and parsing + // them is expensive, so we only want to do it if we must. + // + // Each object in the arrays is of the form: + // + // { + // generatedLine: The line number in the generated code, + // generatedColumn: The column number in the generated code, + // source: The path to the original source file that generated this + // chunk of code, + // originalLine: The line number in the original source that + // corresponds to this chunk of generated code, + // originalColumn: The column number in the original source that + // corresponds to this chunk of generated code, + // name: The name of the original symbol which generated this chunk of + // code. + // } + // + // All properties except for `generatedLine` and `generatedColumn` can be + // `null`. + // + // `_generatedMappings` is ordered by the generated positions. + // + // `_originalMappings` is ordered by the original positions. + + SourceMapConsumer.prototype.__generatedMappings = null; + Object.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', { + get: function () { + if (!this.__generatedMappings) { + this._parseMappings(this._mappings, this.sourceRoot); + } + + return this.__generatedMappings; + } + }); + + SourceMapConsumer.prototype.__originalMappings = null; + Object.defineProperty(SourceMapConsumer.prototype, '_originalMappings', { + get: function () { + if (!this.__originalMappings) { + this._parseMappings(this._mappings, this.sourceRoot); + } + + return this.__originalMappings; + } + }); + + SourceMapConsumer.prototype._charIsMappingSeparator = + function SourceMapConsumer_charIsMappingSeparator(aStr, index) { + var c = aStr.charAt(index); + return c === ";" || c === ","; + }; + + /** + * Parse the mappings in a string in to a data structure which we can easily + * query (the ordered arrays in the `this.__generatedMappings` and + * `this.__originalMappings` properties). + */ + SourceMapConsumer.prototype._parseMappings = + function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { + throw new Error("Subclasses must implement _parseMappings"); + }; + + SourceMapConsumer.GENERATED_ORDER = 1; + SourceMapConsumer.ORIGINAL_ORDER = 2; + + SourceMapConsumer.GREATEST_LOWER_BOUND = 1; + SourceMapConsumer.LEAST_UPPER_BOUND = 2; + + /** + * Iterate over each mapping between an original source/line/column and a + * generated line/column in this source map. + * + * @param Function aCallback + * The function that is called with each mapping. + * @param Object aContext + * Optional. If specified, this object will be the value of `this` every + * time that `aCallback` is called. + * @param aOrder + * Either `SourceMapConsumer.GENERATED_ORDER` or + * `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to + * iterate over the mappings sorted by the generated file's line/column + * order or the original's source/line/column order, respectively. Defaults to + * `SourceMapConsumer.GENERATED_ORDER`. + */ + SourceMapConsumer.prototype.eachMapping = + function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) { + var context = aContext || null; + var order = aOrder || SourceMapConsumer.GENERATED_ORDER; + + var mappings; + switch (order) { + case SourceMapConsumer.GENERATED_ORDER: + mappings = this._generatedMappings; + break; + case SourceMapConsumer.ORIGINAL_ORDER: + mappings = this._originalMappings; + break; + default: + throw new Error("Unknown order of iteration."); + } + + var sourceRoot = this.sourceRoot; + mappings.map(function (mapping) { + var source = mapping.source === null ? null : this._sources.at(mapping.source); + if (source != null && sourceRoot != null) { + source = util.join(sourceRoot, source); + } + return { + source: source, + generatedLine: mapping.generatedLine, + generatedColumn: mapping.generatedColumn, + originalLine: mapping.originalLine, + originalColumn: mapping.originalColumn, + name: mapping.name === null ? null : this._names.at(mapping.name) + }; + }, this).forEach(aCallback, context); + }; + + /** + * Returns all generated line and column information for the original source, + * line, and column provided. If no column is provided, returns all mappings + * corresponding to a either the line we are searching for or the next + * closest line that has any mappings. Otherwise, returns all mappings + * corresponding to the given line and either the column we are searching for + * or the next closest column that has any offsets. + * + * The only argument is an object with the following properties: + * + * - source: The filename of the original source. + * - line: The line number in the original source. + * - column: Optional. the column number in the original source. + * + * and an array of objects is returned, each with the following properties: + * + * - line: The line number in the generated source, or null. + * - column: The column number in the generated source, or null. + */ + SourceMapConsumer.prototype.allGeneratedPositionsFor = + function SourceMapConsumer_allGeneratedPositionsFor(aArgs) { + var line = util.getArg(aArgs, 'line'); + + // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping + // returns the index of the closest mapping less than the needle. By + // setting needle.originalColumn to 0, we thus find the last mapping for + // the given line, provided such a mapping exists. + var needle = { + source: util.getArg(aArgs, 'source'), + originalLine: line, + originalColumn: util.getArg(aArgs, 'column', 0) + }; + + if (this.sourceRoot != null) { + needle.source = util.relative(this.sourceRoot, needle.source); + } + if (!this._sources.has(needle.source)) { + return []; + } + needle.source = this._sources.indexOf(needle.source); + + var mappings = []; + + var index = this._findMapping(needle, + this._originalMappings, + "originalLine", + "originalColumn", + util.compareByOriginalPositions, + binarySearch.LEAST_UPPER_BOUND); + if (index >= 0) { + var mapping = this._originalMappings[index]; + + if (aArgs.column === undefined) { + var originalLine = mapping.originalLine; + + // Iterate until either we run out of mappings, or we run into + // a mapping for a different line than the one we found. Since + // mappings are sorted, this is guaranteed to find all mappings for + // the line we found. + while (mapping && mapping.originalLine === originalLine) { + mappings.push({ + line: util.getArg(mapping, 'generatedLine', null), + column: util.getArg(mapping, 'generatedColumn', null), + lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) + }); + + mapping = this._originalMappings[++index]; + } + } else { + var originalColumn = mapping.originalColumn; + + // Iterate until either we run out of mappings, or we run into + // a mapping for a different line than the one we were searching for. + // Since mappings are sorted, this is guaranteed to find all mappings for + // the line we are searching for. + while (mapping && + mapping.originalLine === line && + mapping.originalColumn == originalColumn) { + mappings.push({ + line: util.getArg(mapping, 'generatedLine', null), + column: util.getArg(mapping, 'generatedColumn', null), + lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) + }); + + mapping = this._originalMappings[++index]; + } + } + } + + return mappings; + }; + + exports.SourceMapConsumer = SourceMapConsumer; + + /** + * A BasicSourceMapConsumer instance represents a parsed source map which we can + * query for information about the original file positions by giving it a file + * position in the generated source. + * + * The only parameter is the raw source map (either as a JSON string, or + * already parsed to an object). According to the spec, source maps have the + * following attributes: + * + * - version: Which version of the source map spec this map is following. + * - sources: An array of URLs to the original source files. + * - names: An array of identifiers which can be referrenced by individual mappings. + * - sourceRoot: Optional. The URL root from which all sources are relative. + * - sourcesContent: Optional. An array of contents of the original source files. + * - mappings: A string of base64 VLQs which contain the actual mappings. + * - file: Optional. The generated file this source map is associated with. + * + * Here is an example source map, taken from the source map spec[0]: + * + * { + * version : 3, + * file: "out.js", + * sourceRoot : "", + * sources: ["foo.js", "bar.js"], + * names: ["src", "maps", "are", "fun"], + * mappings: "AA,AB;;ABCDE;" + * } + * + * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1# + */ + function BasicSourceMapConsumer(aSourceMap) { + var sourceMap = aSourceMap; + if (typeof aSourceMap === 'string') { + sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); + } + + var version = util.getArg(sourceMap, 'version'); + var sources = util.getArg(sourceMap, 'sources'); + // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which + // requires the array) to play nice here. + var names = util.getArg(sourceMap, 'names', []); + var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null); + var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null); + var mappings = util.getArg(sourceMap, 'mappings'); + var file = util.getArg(sourceMap, 'file', null); + + // Once again, Sass deviates from the spec and supplies the version as a + // string rather than a number, so we use loose equality checking here. + if (version != this._version) { + throw new Error('Unsupported version: ' + version); + } + + sources = sources + .map(String) + // Some source maps produce relative source paths like "./foo.js" instead of + // "foo.js". Normalize these first so that future comparisons will succeed. + // See bugzil.la/1090768. + .map(util.normalize) + // Always ensure that absolute sources are internally stored relative to + // the source root, if the source root is absolute. Not doing this would + // be particularly problematic when the source root is a prefix of the + // source (valid, but why??). See github issue #199 and bugzil.la/1188982. + .map(function (source) { + return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source) + ? util.relative(sourceRoot, source) + : source; + }); + + // Pass `true` below to allow duplicate names and sources. While source maps + // are intended to be compressed and deduplicated, the TypeScript compiler + // sometimes generates source maps with duplicates in them. See Github issue + // #72 and bugzil.la/889492. + this._names = ArraySet.fromArray(names.map(String), true); + this._sources = ArraySet.fromArray(sources, true); + + this.sourceRoot = sourceRoot; + this.sourcesContent = sourcesContent; + this._mappings = mappings; + this.file = file; + } + + BasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); + BasicSourceMapConsumer.prototype.consumer = SourceMapConsumer; + + /** + * Create a BasicSourceMapConsumer from a SourceMapGenerator. + * + * @param SourceMapGenerator aSourceMap + * The source map that will be consumed. + * @returns BasicSourceMapConsumer + */ + BasicSourceMapConsumer.fromSourceMap = + function SourceMapConsumer_fromSourceMap(aSourceMap) { + var smc = Object.create(BasicSourceMapConsumer.prototype); + + var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true); + var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true); + smc.sourceRoot = aSourceMap._sourceRoot; + smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(), + smc.sourceRoot); + smc.file = aSourceMap._file; + + // Because we are modifying the entries (by converting string sources and + // names to indices into the sources and names ArraySets), we have to make + // a copy of the entry or else bad things happen. Shared mutable state + // strikes again! See github issue #191. + + var generatedMappings = aSourceMap._mappings.toArray().slice(); + var destGeneratedMappings = smc.__generatedMappings = []; + var destOriginalMappings = smc.__originalMappings = []; + + for (var i = 0, length = generatedMappings.length; i < length; i++) { + var srcMapping = generatedMappings[i]; + var destMapping = new Mapping; + destMapping.generatedLine = srcMapping.generatedLine; + destMapping.generatedColumn = srcMapping.generatedColumn; + + if (srcMapping.source) { + destMapping.source = sources.indexOf(srcMapping.source); + destMapping.originalLine = srcMapping.originalLine; + destMapping.originalColumn = srcMapping.originalColumn; + + if (srcMapping.name) { + destMapping.name = names.indexOf(srcMapping.name); + } + + destOriginalMappings.push(destMapping); + } + + destGeneratedMappings.push(destMapping); + } + + quickSort(smc.__originalMappings, util.compareByOriginalPositions); + + return smc; + }; + + /** + * The version of the source mapping spec that we are consuming. + */ + BasicSourceMapConsumer.prototype._version = 3; + + /** + * The list of original sources. + */ + Object.defineProperty(BasicSourceMapConsumer.prototype, 'sources', { + get: function () { + return this._sources.toArray().map(function (s) { + return this.sourceRoot != null ? util.join(this.sourceRoot, s) : s; + }, this); + } + }); + + /** + * Provide the JIT with a nice shape / hidden class. + */ + function Mapping() { + this.generatedLine = 0; + this.generatedColumn = 0; + this.source = null; + this.originalLine = null; + this.originalColumn = null; + this.name = null; + } + + /** + * Parse the mappings in a string in to a data structure which we can easily + * query (the ordered arrays in the `this.__generatedMappings` and + * `this.__originalMappings` properties). + */ + BasicSourceMapConsumer.prototype._parseMappings = + function SourceMapConsumer_parseMappings(aStr, aSourceRoot) { + var generatedLine = 1; + var previousGeneratedColumn = 0; + var previousOriginalLine = 0; + var previousOriginalColumn = 0; + var previousSource = 0; + var previousName = 0; + var length = aStr.length; + var index = 0; + var cachedSegments = {}; + var temp = {}; + var originalMappings = []; + var generatedMappings = []; + var mapping, str, segment, end, value; + + while (index < length) { + if (aStr.charAt(index) === ';') { + generatedLine++; + index++; + previousGeneratedColumn = 0; + } + else if (aStr.charAt(index) === ',') { + index++; + } + else { + mapping = new Mapping(); + mapping.generatedLine = generatedLine; + + // Because each offset is encoded relative to the previous one, + // many segments often have the same encoding. We can exploit this + // fact by caching the parsed variable length fields of each segment, + // allowing us to avoid a second parse if we encounter the same + // segment again. + for (end = index; end < length; end++) { + if (this._charIsMappingSeparator(aStr, end)) { + break; + } + } + str = aStr.slice(index, end); + + segment = cachedSegments[str]; + if (segment) { + index += str.length; + } else { + segment = []; + while (index < end) { + base64VLQ.decode(aStr, index, temp); + value = temp.value; + index = temp.rest; + segment.push(value); + } + + if (segment.length === 2) { + throw new Error('Found a source, but no line and column'); + } + + if (segment.length === 3) { + throw new Error('Found a source and line, but no column'); + } + + cachedSegments[str] = segment; + } + + // Generated column. + mapping.generatedColumn = previousGeneratedColumn + segment[0]; + previousGeneratedColumn = mapping.generatedColumn; + + if (segment.length > 1) { + // Original source. + mapping.source = previousSource + segment[1]; + previousSource += segment[1]; + + // Original line. + mapping.originalLine = previousOriginalLine + segment[2]; + previousOriginalLine = mapping.originalLine; + // Lines are stored 0-based + mapping.originalLine += 1; + + // Original column. + mapping.originalColumn = previousOriginalColumn + segment[3]; + previousOriginalColumn = mapping.originalColumn; + + if (segment.length > 4) { + // Original name. + mapping.name = previousName + segment[4]; + previousName += segment[4]; + } + } + + generatedMappings.push(mapping); + if (typeof mapping.originalLine === 'number') { + originalMappings.push(mapping); + } + } + } + + quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated); + this.__generatedMappings = generatedMappings; + + quickSort(originalMappings, util.compareByOriginalPositions); + this.__originalMappings = originalMappings; + }; + + /** + * Find the mapping that best matches the hypothetical "needle" mapping that + * we are searching for in the given "haystack" of mappings. + */ + BasicSourceMapConsumer.prototype._findMapping = + function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName, + aColumnName, aComparator, aBias) { + // To return the position we are searching for, we must first find the + // mapping for the given position and then return the opposite position it + // points to. Because the mappings are sorted, we can use binary search to + // find the best mapping. + + if (aNeedle[aLineName] <= 0) { + throw new TypeError('Line must be greater than or equal to 1, got ' + + aNeedle[aLineName]); + } + if (aNeedle[aColumnName] < 0) { + throw new TypeError('Column must be greater than or equal to 0, got ' + + aNeedle[aColumnName]); + } + + return binarySearch.search(aNeedle, aMappings, aComparator, aBias); + }; + + /** + * Compute the last column for each generated mapping. The last column is + * inclusive. + */ + BasicSourceMapConsumer.prototype.computeColumnSpans = + function SourceMapConsumer_computeColumnSpans() { + for (var index = 0; index < this._generatedMappings.length; ++index) { + var mapping = this._generatedMappings[index]; + + // Mappings do not contain a field for the last generated columnt. We + // can come up with an optimistic estimate, however, by assuming that + // mappings are contiguous (i.e. given two consecutive mappings, the + // first mapping ends where the second one starts). + if (index + 1 < this._generatedMappings.length) { + var nextMapping = this._generatedMappings[index + 1]; + + if (mapping.generatedLine === nextMapping.generatedLine) { + mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1; + continue; + } + } + + // The last mapping for each line spans the entire line. + mapping.lastGeneratedColumn = Infinity; + } + }; + + /** + * Returns the original source, line, and column information for the generated + * source's line and column positions provided. The only argument is an object + * with the following properties: + * + * - line: The line number in the generated source. + * - column: The column number in the generated source. + * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or + * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the + * closest element that is smaller than or greater than the one we are + * searching for, respectively, if the exact element cannot be found. + * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. + * + * and an object is returned with the following properties: + * + * - source: The original source file, or null. + * - line: The line number in the original source, or null. + * - column: The column number in the original source, or null. + * - name: The original identifier, or null. + */ + BasicSourceMapConsumer.prototype.originalPositionFor = + function SourceMapConsumer_originalPositionFor(aArgs) { + var needle = { + generatedLine: util.getArg(aArgs, 'line'), + generatedColumn: util.getArg(aArgs, 'column') + }; + + var index = this._findMapping( + needle, + this._generatedMappings, + "generatedLine", + "generatedColumn", + util.compareByGeneratedPositionsDeflated, + util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) + ); + + if (index >= 0) { + var mapping = this._generatedMappings[index]; + + if (mapping.generatedLine === needle.generatedLine) { + var source = util.getArg(mapping, 'source', null); + if (source !== null) { + source = this._sources.at(source); + if (this.sourceRoot != null) { + source = util.join(this.sourceRoot, source); + } + } + var name = util.getArg(mapping, 'name', null); + if (name !== null) { + name = this._names.at(name); + } + return { + source: source, + line: util.getArg(mapping, 'originalLine', null), + column: util.getArg(mapping, 'originalColumn', null), + name: name + }; + } + } + + return { + source: null, + line: null, + column: null, + name: null + }; + }; + + /** + * Return true if we have the source content for every source in the source + * map, false otherwise. + */ + BasicSourceMapConsumer.prototype.hasContentsOfAllSources = + function BasicSourceMapConsumer_hasContentsOfAllSources() { + if (!this.sourcesContent) { + return false; + } + return this.sourcesContent.length >= this._sources.size() && + !this.sourcesContent.some(function (sc) { return sc == null; }); + }; + + /** + * Returns the original source content. The only argument is the url of the + * original source file. Returns null if no original source content is + * available. + */ + BasicSourceMapConsumer.prototype.sourceContentFor = + function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { + if (!this.sourcesContent) { + return null; + } + + if (this.sourceRoot != null) { + aSource = util.relative(this.sourceRoot, aSource); + } + + if (this._sources.has(aSource)) { + return this.sourcesContent[this._sources.indexOf(aSource)]; + } + + var url; + if (this.sourceRoot != null + && (url = util.urlParse(this.sourceRoot))) { + // XXX: file:// URIs and absolute paths lead to unexpected behavior for + // many users. We can help them out when they expect file:// URIs to + // behave like it would if they were running a local HTTP server. See + // https://bugzilla.mozilla.org/show_bug.cgi?id=885597. + var fileUriAbsPath = aSource.replace(/^file:\/\//, ""); + if (url.scheme == "file" + && this._sources.has(fileUriAbsPath)) { + return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)] + } + + if ((!url.path || url.path == "/") + && this._sources.has("/" + aSource)) { + return this.sourcesContent[this._sources.indexOf("/" + aSource)]; + } + } + + // This function is used recursively from + // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we + // don't want to throw if we can't find the source - we just want to + // return null, so we provide a flag to exit gracefully. + if (nullOnMissing) { + return null; + } + else { + throw new Error('"' + aSource + '" is not in the SourceMap.'); + } + }; + + /** + * Returns the generated line and column information for the original source, + * line, and column positions provided. The only argument is an object with + * the following properties: + * + * - source: The filename of the original source. + * - line: The line number in the original source. + * - column: The column number in the original source. + * - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or + * 'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the + * closest element that is smaller than or greater than the one we are + * searching for, respectively, if the exact element cannot be found. + * Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'. + * + * and an object is returned with the following properties: + * + * - line: The line number in the generated source, or null. + * - column: The column number in the generated source, or null. + */ + BasicSourceMapConsumer.prototype.generatedPositionFor = + function SourceMapConsumer_generatedPositionFor(aArgs) { + var source = util.getArg(aArgs, 'source'); + if (this.sourceRoot != null) { + source = util.relative(this.sourceRoot, source); + } + if (!this._sources.has(source)) { + return { + line: null, + column: null, + lastColumn: null + }; + } + source = this._sources.indexOf(source); + + var needle = { + source: source, + originalLine: util.getArg(aArgs, 'line'), + originalColumn: util.getArg(aArgs, 'column') + }; + + var index = this._findMapping( + needle, + this._originalMappings, + "originalLine", + "originalColumn", + util.compareByOriginalPositions, + util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND) + ); + + if (index >= 0) { + var mapping = this._originalMappings[index]; + + if (mapping.source === needle.source) { + return { + line: util.getArg(mapping, 'generatedLine', null), + column: util.getArg(mapping, 'generatedColumn', null), + lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null) + }; + } + } + + return { + line: null, + column: null, + lastColumn: null + }; + }; + + exports.BasicSourceMapConsumer = BasicSourceMapConsumer; + + /** + * An IndexedSourceMapConsumer instance represents a parsed source map which + * we can query for information. It differs from BasicSourceMapConsumer in + * that it takes "indexed" source maps (i.e. ones with a "sections" field) as + * input. + * + * The only parameter is a raw source map (either as a JSON string, or already + * parsed to an object). According to the spec for indexed source maps, they + * have the following attributes: + * + * - version: Which version of the source map spec this map is following. + * - file: Optional. The generated file this source map is associated with. + * - sections: A list of section definitions. + * + * Each value under the "sections" field has two fields: + * - offset: The offset into the original specified at which this section + * begins to apply, defined as an object with a "line" and "column" + * field. + * - map: A source map definition. This source map could also be indexed, + * but doesn't have to be. + * + * Instead of the "map" field, it's also possible to have a "url" field + * specifying a URL to retrieve a source map from, but that's currently + * unsupported. + * + * Here's an example source map, taken from the source map spec[0], but + * modified to omit a section which uses the "url" field. + * + * { + * version : 3, + * file: "app.js", + * sections: [{ + * offset: {line:100, column:10}, + * map: { + * version : 3, + * file: "section.js", + * sources: ["foo.js", "bar.js"], + * names: ["src", "maps", "are", "fun"], + * mappings: "AAAA,E;;ABCDE;" + * } + * }], + * } + * + * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt + */ + function IndexedSourceMapConsumer(aSourceMap) { + var sourceMap = aSourceMap; + if (typeof aSourceMap === 'string') { + sourceMap = JSON.parse(aSourceMap.replace(/^\)\]\}'/, '')); + } + + var version = util.getArg(sourceMap, 'version'); + var sections = util.getArg(sourceMap, 'sections'); + + if (version != this._version) { + throw new Error('Unsupported version: ' + version); + } + + this._sources = new ArraySet(); + this._names = new ArraySet(); + + var lastOffset = { + line: -1, + column: 0 + }; + this._sections = sections.map(function (s) { + if (s.url) { + // The url field will require support for asynchronicity. + // See https://github.com/mozilla/source-map/issues/16 + throw new Error('Support for url field in sections not implemented.'); + } + var offset = util.getArg(s, 'offset'); + var offsetLine = util.getArg(offset, 'line'); + var offsetColumn = util.getArg(offset, 'column'); + + if (offsetLine < lastOffset.line || + (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) { + throw new Error('Section offsets must be ordered and non-overlapping.'); + } + lastOffset = offset; + + return { + generatedOffset: { + // The offset fields are 0-based, but we use 1-based indices when + // encoding/decoding from VLQ. + generatedLine: offsetLine + 1, + generatedColumn: offsetColumn + 1 + }, + consumer: new SourceMapConsumer(util.getArg(s, 'map')) + } + }); + } + + IndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype); + IndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer; + + /** + * The version of the source mapping spec that we are consuming. + */ + IndexedSourceMapConsumer.prototype._version = 3; + + /** + * The list of original sources. + */ + Object.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', { + get: function () { + var sources = []; + for (var i = 0; i < this._sections.length; i++) { + for (var j = 0; j < this._sections[i].consumer.sources.length; j++) { + sources.push(this._sections[i].consumer.sources[j]); + } + } + return sources; + } + }); + + /** + * Returns the original source, line, and column information for the generated + * source's line and column positions provided. The only argument is an object + * with the following properties: + * + * - line: The line number in the generated source. + * - column: The column number in the generated source. + * + * and an object is returned with the following properties: + * + * - source: The original source file, or null. + * - line: The line number in the original source, or null. + * - column: The column number in the original source, or null. + * - name: The original identifier, or null. + */ + IndexedSourceMapConsumer.prototype.originalPositionFor = + function IndexedSourceMapConsumer_originalPositionFor(aArgs) { + var needle = { + generatedLine: util.getArg(aArgs, 'line'), + generatedColumn: util.getArg(aArgs, 'column') + }; + + // Find the section containing the generated position we're trying to map + // to an original position. + var sectionIndex = binarySearch.search(needle, this._sections, + function(needle, section) { + var cmp = needle.generatedLine - section.generatedOffset.generatedLine; + if (cmp) { + return cmp; + } + + return (needle.generatedColumn - + section.generatedOffset.generatedColumn); + }); + var section = this._sections[sectionIndex]; + + if (!section) { + return { + source: null, + line: null, + column: null, + name: null + }; + } + + return section.consumer.originalPositionFor({ + line: needle.generatedLine - + (section.generatedOffset.generatedLine - 1), + column: needle.generatedColumn - + (section.generatedOffset.generatedLine === needle.generatedLine + ? section.generatedOffset.generatedColumn - 1 + : 0), + bias: aArgs.bias + }); + }; + + /** + * Return true if we have the source content for every source in the source + * map, false otherwise. + */ + IndexedSourceMapConsumer.prototype.hasContentsOfAllSources = + function IndexedSourceMapConsumer_hasContentsOfAllSources() { + return this._sections.every(function (s) { + return s.consumer.hasContentsOfAllSources(); + }); + }; + + /** + * Returns the original source content. The only argument is the url of the + * original source file. Returns null if no original source content is + * available. + */ + IndexedSourceMapConsumer.prototype.sourceContentFor = + function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) { + for (var i = 0; i < this._sections.length; i++) { + var section = this._sections[i]; + + var content = section.consumer.sourceContentFor(aSource, true); + if (content) { + return content; + } + } + if (nullOnMissing) { + return null; + } + else { + throw new Error('"' + aSource + '" is not in the SourceMap.'); + } + }; + + /** + * Returns the generated line and column information for the original source, + * line, and column positions provided. The only argument is an object with + * the following properties: + * + * - source: The filename of the original source. + * - line: The line number in the original source. + * - column: The column number in the original source. + * + * and an object is returned with the following properties: + * + * - line: The line number in the generated source, or null. + * - column: The column number in the generated source, or null. + */ + IndexedSourceMapConsumer.prototype.generatedPositionFor = + function IndexedSourceMapConsumer_generatedPositionFor(aArgs) { + for (var i = 0; i < this._sections.length; i++) { + var section = this._sections[i]; + + // Only consider this section if the requested source is in the list of + // sources of the consumer. + if (section.consumer.sources.indexOf(util.getArg(aArgs, 'source')) === -1) { + continue; + } + var generatedPosition = section.consumer.generatedPositionFor(aArgs); + if (generatedPosition) { + var ret = { + line: generatedPosition.line + + (section.generatedOffset.generatedLine - 1), + column: generatedPosition.column + + (section.generatedOffset.generatedLine === generatedPosition.line + ? section.generatedOffset.generatedColumn - 1 + : 0) + }; + return ret; + } + } + + return { + line: null, + column: null + }; + }; + + /** + * Parse the mappings in a string in to a data structure which we can easily + * query (the ordered arrays in the `this.__generatedMappings` and + * `this.__originalMappings` properties). + */ + IndexedSourceMapConsumer.prototype._parseMappings = + function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) { + this.__generatedMappings = []; + this.__originalMappings = []; + for (var i = 0; i < this._sections.length; i++) { + var section = this._sections[i]; + var sectionMappings = section.consumer._generatedMappings; + for (var j = 0; j < sectionMappings.length; j++) { + var mapping = sectionMappings[j]; + + var source = section.consumer._sources.at(mapping.source); + if (section.consumer.sourceRoot !== null) { + source = util.join(section.consumer.sourceRoot, source); + } + this._sources.add(source); + source = this._sources.indexOf(source); + + var name = section.consumer._names.at(mapping.name); + this._names.add(name); + name = this._names.indexOf(name); + + // The mappings coming from the consumer for the section have + // generated positions relative to the start of the section, so we + // need to offset them to be relative to the start of the concatenated + // generated file. + var adjustedMapping = { + source: source, + generatedLine: mapping.generatedLine + + (section.generatedOffset.generatedLine - 1), + generatedColumn: mapping.generatedColumn + + (section.generatedOffset.generatedLine === mapping.generatedLine + ? section.generatedOffset.generatedColumn - 1 + : 0), + originalLine: mapping.originalLine, + originalColumn: mapping.originalColumn, + name: name + }; + + this.__generatedMappings.push(adjustedMapping); + if (typeof adjustedMapping.originalLine === 'number') { + this.__originalMappings.push(adjustedMapping); + } + } + } + + quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated); + quickSort(this.__originalMappings, util.compareByOriginalPositions); + }; + + exports.IndexedSourceMapConsumer = IndexedSourceMapConsumer; + + +/***/ }, +/* 8 */ +/***/ function(module, exports) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + exports.GREATEST_LOWER_BOUND = 1; + exports.LEAST_UPPER_BOUND = 2; + + /** + * Recursive implementation of binary search. + * + * @param aLow Indices here and lower do not contain the needle. + * @param aHigh Indices here and higher do not contain the needle. + * @param aNeedle The element being searched for. + * @param aHaystack The non-empty array being searched. + * @param aCompare Function which takes two elements and returns -1, 0, or 1. + * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or + * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the + * closest element that is smaller than or greater than the one we are + * searching for, respectively, if the exact element cannot be found. + */ + function recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) { + // This function terminates when one of the following is true: + // + // 1. We find the exact element we are looking for. + // + // 2. We did not find the exact element, but we can return the index of + // the next-closest element. + // + // 3. We did not find the exact element, and there is no next-closest + // element than the one we are searching for, so we return -1. + var mid = Math.floor((aHigh - aLow) / 2) + aLow; + var cmp = aCompare(aNeedle, aHaystack[mid], true); + if (cmp === 0) { + // Found the element we are looking for. + return mid; + } + else if (cmp > 0) { + // Our needle is greater than aHaystack[mid]. + if (aHigh - mid > 1) { + // The element is in the upper half. + return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias); + } + + // The exact needle element was not found in this haystack. Determine if + // we are in termination case (3) or (2) and return the appropriate thing. + if (aBias == exports.LEAST_UPPER_BOUND) { + return aHigh < aHaystack.length ? aHigh : -1; + } else { + return mid; + } + } + else { + // Our needle is less than aHaystack[mid]. + if (mid - aLow > 1) { + // The element is in the lower half. + return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias); + } + + // we are in termination case (3) or (2) and return the appropriate thing. + if (aBias == exports.LEAST_UPPER_BOUND) { + return mid; + } else { + return aLow < 0 ? -1 : aLow; + } + } + } + + /** + * This is an implementation of binary search which will always try and return + * the index of the closest element if there is no exact hit. This is because + * mappings between original and generated line/col pairs are single points, + * and there is an implicit region between each of them, so a miss just means + * that you aren't on the very start of a region. + * + * @param aNeedle The element you are looking for. + * @param aHaystack The array that is being searched. + * @param aCompare A function which takes the needle and an element in the + * array and returns -1, 0, or 1 depending on whether the needle is less + * than, equal to, or greater than the element, respectively. + * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or + * 'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the + * closest element that is smaller than or greater than the one we are + * searching for, respectively, if the exact element cannot be found. + * Defaults to 'binarySearch.GREATEST_LOWER_BOUND'. + */ + exports.search = function search(aNeedle, aHaystack, aCompare, aBias) { + if (aHaystack.length === 0) { + return -1; + } + + var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack, + aCompare, aBias || exports.GREATEST_LOWER_BOUND); + if (index < 0) { + return -1; + } + + // We have found either the exact element, or the next-closest element than + // the one we are searching for. However, there may be more than one such + // element. Make sure we always return the smallest of these. + while (index - 1 >= 0) { + if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) { + break; + } + --index; + } + + return index; + }; + + +/***/ }, +/* 9 */ +/***/ function(module, exports) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + // It turns out that some (most?) JavaScript engines don't self-host + // `Array.prototype.sort`. This makes sense because C++ will likely remain + // faster than JS when doing raw CPU-intensive sorting. However, when using a + // custom comparator function, calling back and forth between the VM's C++ and + // JIT'd JS is rather slow *and* loses JIT type information, resulting in + // worse generated code for the comparator function than would be optimal. In + // fact, when sorting with a comparator, these costs outweigh the benefits of + // sorting in C++. By using our own JS-implemented Quick Sort (below), we get + // a ~3500ms mean speed-up in `bench/bench.html`. + + /** + * Swap the elements indexed by `x` and `y` in the array `ary`. + * + * @param {Array} ary + * The array. + * @param {Number} x + * The index of the first item. + * @param {Number} y + * The index of the second item. + */ + function swap(ary, x, y) { + var temp = ary[x]; + ary[x] = ary[y]; + ary[y] = temp; + } + + /** + * Returns a random integer within the range `low .. high` inclusive. + * + * @param {Number} low + * The lower bound on the range. + * @param {Number} high + * The upper bound on the range. + */ + function randomIntInRange(low, high) { + return Math.round(low + (Math.random() * (high - low))); + } + + /** + * The Quick Sort algorithm. + * + * @param {Array} ary + * An array to sort. + * @param {function} comparator + * Function to use to compare two items. + * @param {Number} p + * Start index of the array + * @param {Number} r + * End index of the array + */ + function doQuickSort(ary, comparator, p, r) { + // If our lower bound is less than our upper bound, we (1) partition the + // array into two pieces and (2) recurse on each half. If it is not, this is + // the empty array and our base case. + + if (p < r) { + // (1) Partitioning. + // + // The partitioning chooses a pivot between `p` and `r` and moves all + // elements that are less than or equal to the pivot to the before it, and + // all the elements that are greater than it after it. The effect is that + // once partition is done, the pivot is in the exact place it will be when + // the array is put in sorted order, and it will not need to be moved + // again. This runs in O(n) time. + + // Always choose a random pivot so that an input array which is reverse + // sorted does not cause O(n^2) running time. + var pivotIndex = randomIntInRange(p, r); + var i = p - 1; + + swap(ary, pivotIndex, r); + var pivot = ary[r]; + + // Immediately after `j` is incremented in this loop, the following hold + // true: + // + // * Every element in `ary[p .. i]` is less than or equal to the pivot. + // + // * Every element in `ary[i+1 .. j-1]` is greater than the pivot. + for (var j = p; j < r; j++) { + if (comparator(ary[j], pivot) <= 0) { + i += 1; + swap(ary, i, j); + } + } + + swap(ary, i + 1, j); + var q = i + 1; + + // (2) Recurse on each half. + + doQuickSort(ary, comparator, p, q - 1); + doQuickSort(ary, comparator, q + 1, r); + } + } + + /** + * Sort the given array in-place with the given comparator function. + * + * @param {Array} ary + * An array to sort. + * @param {function} comparator + * Function to use to compare two items. + */ + exports.quickSort = function (ary, comparator) { + doQuickSort(ary, comparator, 0, ary.length - 1); + }; + + +/***/ }, +/* 10 */ +/***/ function(module, exports, __webpack_require__) { + + /* -*- Mode: js; js-indent-level: 2; -*- */ + /* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ + + var SourceMapGenerator = __webpack_require__(1).SourceMapGenerator; + var util = __webpack_require__(4); + + // Matches a Windows-style `\r\n` newline or a `\n` newline used by all other + // operating systems these days (capturing the result). + var REGEX_NEWLINE = /(\r?\n)/; + + // Newline character code for charCodeAt() comparisons + var NEWLINE_CODE = 10; + + // Private symbol for identifying `SourceNode`s when multiple versions of + // the source-map library are loaded. This MUST NOT CHANGE across + // versions! + var isSourceNode = "$$$isSourceNode$$$"; + + /** + * SourceNodes provide a way to abstract over interpolating/concatenating + * snippets of generated JavaScript source code while maintaining the line and + * column information associated with the original source code. + * + * @param aLine The original line number. + * @param aColumn The original column number. + * @param aSource The original source's filename. + * @param aChunks Optional. An array of strings which are snippets of + * generated JS, or other SourceNodes. + * @param aName The original identifier. + */ + function SourceNode(aLine, aColumn, aSource, aChunks, aName) { + this.children = []; + this.sourceContents = {}; + this.line = aLine == null ? null : aLine; + this.column = aColumn == null ? null : aColumn; + this.source = aSource == null ? null : aSource; + this.name = aName == null ? null : aName; + this[isSourceNode] = true; + if (aChunks != null) this.add(aChunks); + } + + /** + * Creates a SourceNode from generated code and a SourceMapConsumer. + * + * @param aGeneratedCode The generated code + * @param aSourceMapConsumer The SourceMap for the generated code + * @param aRelativePath Optional. The path that relative sources in the + * SourceMapConsumer should be relative to. + */ + SourceNode.fromStringWithSourceMap = + function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) { + // The SourceNode we want to fill with the generated code + // and the SourceMap + var node = new SourceNode(); + + // All even indices of this array are one line of the generated code, + // while all odd indices are the newlines between two adjacent lines + // (since `REGEX_NEWLINE` captures its match). + // Processed fragments are removed from this array, by calling `shiftNextLine`. + var remainingLines = aGeneratedCode.split(REGEX_NEWLINE); + var shiftNextLine = function() { + var lineContents = remainingLines.shift(); + // The last line of a file might not have a newline. + var newLine = remainingLines.shift() || ""; + return lineContents + newLine; + }; + + // We need to remember the position of "remainingLines" + var lastGeneratedLine = 1, lastGeneratedColumn = 0; + + // The generate SourceNodes we need a code range. + // To extract it current and last mapping is used. + // Here we store the last mapping. + var lastMapping = null; + + aSourceMapConsumer.eachMapping(function (mapping) { + if (lastMapping !== null) { + // We add the code from "lastMapping" to "mapping": + // First check if there is a new line in between. + if (lastGeneratedLine < mapping.generatedLine) { + // Associate first line with "lastMapping" + addMappingWithCode(lastMapping, shiftNextLine()); + lastGeneratedLine++; + lastGeneratedColumn = 0; + // The remaining code is added without mapping + } else { + // There is no new line in between. + // Associate the code between "lastGeneratedColumn" and + // "mapping.generatedColumn" with "lastMapping" + var nextLine = remainingLines[0]; + var code = nextLine.substr(0, mapping.generatedColumn - + lastGeneratedColumn); + remainingLines[0] = nextLine.substr(mapping.generatedColumn - + lastGeneratedColumn); + lastGeneratedColumn = mapping.generatedColumn; + addMappingWithCode(lastMapping, code); + // No more remaining code, continue + lastMapping = mapping; + return; + } + } + // We add the generated code until the first mapping + // to the SourceNode without any mapping. + // Each line is added as separate string. + while (lastGeneratedLine < mapping.generatedLine) { + node.add(shiftNextLine()); + lastGeneratedLine++; + } + if (lastGeneratedColumn < mapping.generatedColumn) { + var nextLine = remainingLines[0]; + node.add(nextLine.substr(0, mapping.generatedColumn)); + remainingLines[0] = nextLine.substr(mapping.generatedColumn); + lastGeneratedColumn = mapping.generatedColumn; + } + lastMapping = mapping; + }, this); + // We have processed all mappings. + if (remainingLines.length > 0) { + if (lastMapping) { + // Associate the remaining code in the current line with "lastMapping" + addMappingWithCode(lastMapping, shiftNextLine()); + } + // and add the remaining lines without any mapping + node.add(remainingLines.join("")); + } + + // Copy sourcesContent into SourceNode + aSourceMapConsumer.sources.forEach(function (sourceFile) { + var content = aSourceMapConsumer.sourceContentFor(sourceFile); + if (content != null) { + if (aRelativePath != null) { + sourceFile = util.join(aRelativePath, sourceFile); + } + node.setSourceContent(sourceFile, content); + } + }); + + return node; + + function addMappingWithCode(mapping, code) { + if (mapping === null || mapping.source === undefined) { + node.add(code); + } else { + var source = aRelativePath + ? util.join(aRelativePath, mapping.source) + : mapping.source; + node.add(new SourceNode(mapping.originalLine, + mapping.originalColumn, + source, + code, + mapping.name)); + } + } + }; + + /** + * Add a chunk of generated JS to this source node. + * + * @param aChunk A string snippet of generated JS code, another instance of + * SourceNode, or an array where each member is one of those things. + */ + SourceNode.prototype.add = function SourceNode_add(aChunk) { + if (Array.isArray(aChunk)) { + aChunk.forEach(function (chunk) { + this.add(chunk); + }, this); + } + else if (aChunk[isSourceNode] || typeof aChunk === "string") { + if (aChunk) { + this.children.push(aChunk); + } + } + else { + throw new TypeError( + "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk + ); + } + return this; + }; + + /** + * Add a chunk of generated JS to the beginning of this source node. + * + * @param aChunk A string snippet of generated JS code, another instance of + * SourceNode, or an array where each member is one of those things. + */ + SourceNode.prototype.prepend = function SourceNode_prepend(aChunk) { + if (Array.isArray(aChunk)) { + for (var i = aChunk.length-1; i >= 0; i--) { + this.prepend(aChunk[i]); + } + } + else if (aChunk[isSourceNode] || typeof aChunk === "string") { + this.children.unshift(aChunk); + } + else { + throw new TypeError( + "Expected a SourceNode, string, or an array of SourceNodes and strings. Got " + aChunk + ); + } + return this; + }; + + /** + * Walk over the tree of JS snippets in this node and its children. The + * walking function is called once for each snippet of JS and is passed that + * snippet and the its original associated source's line/column location. + * + * @param aFn The traversal function. + */ + SourceNode.prototype.walk = function SourceNode_walk(aFn) { + var chunk; + for (var i = 0, len = this.children.length; i < len; i++) { + chunk = this.children[i]; + if (chunk[isSourceNode]) { + chunk.walk(aFn); + } + else { + if (chunk !== '') { + aFn(chunk, { source: this.source, + line: this.line, + column: this.column, + name: this.name }); + } + } + } + }; + + /** + * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between + * each of `this.children`. + * + * @param aSep The separator. + */ + SourceNode.prototype.join = function SourceNode_join(aSep) { + var newChildren; + var i; + var len = this.children.length; + if (len > 0) { + newChildren = []; + for (i = 0; i < len-1; i++) { + newChildren.push(this.children[i]); + newChildren.push(aSep); + } + newChildren.push(this.children[i]); + this.children = newChildren; + } + return this; + }; + + /** + * Call String.prototype.replace on the very right-most source snippet. Useful + * for trimming whitespace from the end of a source node, etc. + * + * @param aPattern The pattern to replace. + * @param aReplacement The thing to replace the pattern with. + */ + SourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) { + var lastChild = this.children[this.children.length - 1]; + if (lastChild[isSourceNode]) { + lastChild.replaceRight(aPattern, aReplacement); + } + else if (typeof lastChild === 'string') { + this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement); + } + else { + this.children.push(''.replace(aPattern, aReplacement)); + } + return this; + }; + + /** + * Set the source content for a source file. This will be added to the SourceMapGenerator + * in the sourcesContent field. + * + * @param aSourceFile The filename of the source file + * @param aSourceContent The content of the source file + */ + SourceNode.prototype.setSourceContent = + function SourceNode_setSourceContent(aSourceFile, aSourceContent) { + this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent; + }; + + /** + * Walk over the tree of SourceNodes. The walking function is called for each + * source file content and is passed the filename and source content. + * + * @param aFn The traversal function. + */ + SourceNode.prototype.walkSourceContents = + function SourceNode_walkSourceContents(aFn) { + for (var i = 0, len = this.children.length; i < len; i++) { + if (this.children[i][isSourceNode]) { + this.children[i].walkSourceContents(aFn); + } + } + + var sources = Object.keys(this.sourceContents); + for (var i = 0, len = sources.length; i < len; i++) { + aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]); + } + }; + + /** + * Return the string representation of this source node. Walks over the tree + * and concatenates all the various snippets together to one string. + */ + SourceNode.prototype.toString = function SourceNode_toString() { + var str = ""; + this.walk(function (chunk) { + str += chunk; + }); + return str; + }; + + /** + * Returns the string representation of this source node along with a source + * map. + */ + SourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) { + var generated = { + code: "", + line: 1, + column: 0 + }; + var map = new SourceMapGenerator(aArgs); + var sourceMappingActive = false; + var lastOriginalSource = null; + var lastOriginalLine = null; + var lastOriginalColumn = null; + var lastOriginalName = null; + this.walk(function (chunk, original) { + generated.code += chunk; + if (original.source !== null + && original.line !== null + && original.column !== null) { + if(lastOriginalSource !== original.source + || lastOriginalLine !== original.line + || lastOriginalColumn !== original.column + || lastOriginalName !== original.name) { + map.addMapping({ + source: original.source, + original: { + line: original.line, + column: original.column + }, + generated: { + line: generated.line, + column: generated.column + }, + name: original.name + }); + } + lastOriginalSource = original.source; + lastOriginalLine = original.line; + lastOriginalColumn = original.column; + lastOriginalName = original.name; + sourceMappingActive = true; + } else if (sourceMappingActive) { + map.addMapping({ + generated: { + line: generated.line, + column: generated.column + } + }); + lastOriginalSource = null; + sourceMappingActive = false; + } + for (var idx = 0, length = chunk.length; idx < length; idx++) { + if (chunk.charCodeAt(idx) === NEWLINE_CODE) { + generated.line++; + generated.column = 0; + // Mappings end at eol + if (idx + 1 === length) { + lastOriginalSource = null; + sourceMappingActive = false; + } else if (sourceMappingActive) { + map.addMapping({ + source: original.source, + original: { + line: original.line, + column: original.column + }, + generated: { + line: generated.line, + column: generated.column + }, + name: original.name + }); + } + } else { + generated.column++; + } + } + }); + this.walkSourceContents(function (sourceFile, sourceContent) { + map.setSourceContent(sourceFile, sourceContent); + }); + + return { code: generated.code, map: map }; + }; + + exports.SourceNode = SourceNode; + + +/***/ } +/******/ ]) +}); +; \ No newline at end of file diff --git a/Tests/AppKit/CPTextViewTest.j b/Tests/AppKit/CPTextViewTest.j index 343b28dbc..61149e6dc 100644 --- a/Tests/AppKit/CPTextViewTest.j +++ b/Tests/AppKit/CPTextViewTest.j @@ -48,26 +48,91 @@ - (void)testTextViewSelectionRange { - //TODO : uncomment once ojtest will be up to date on travis var range; - // - //[delegateSpy selector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:) times:1 arguments:[textView, CPMakeRange(0,0), CPMakeRange(0, 18)]]; - //[delegateSpy selector:@selector(textViewDidChangeSelection:) times:1]; - //[textView selectAll:self]; - //range = [[textView selectedRanges] firstObject]; - //[self assert:0 equals:range.location]; - //[self assert:18 equals:range.length]; - // [delegateSpy verifyThatAllExpectationsHaveBeenMet]; - // - // - // [delegateSpy reset]; - // [delegateSpy selector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:) times:1 arguments:[textView, CPMakeRange(0, 18), CPMakeRange(3, 6)]]; - // [delegateSpy selector:@selector(textViewDidChangeSelection:) times:1]; - //[textView setSelectedRange:CPMakeRange(3, 6)]; - //range = [[textView selectedRanges] firstObject]; - //[self assert:3 equals:range.location]; - //[self assert:6 equals:range.length]; - // [delegateSpy verifyThatAllExpectationsHaveBeenMet]; + + [delegateSpy selector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:) times:1 arguments:[textView, CPMakeRange(0,0), CPMakeRange(0, 18)]]; + [delegateSpy selector:@selector(textViewDidChangeSelection:) times:1]; + [delegateSpy selector:@selector(textView:shouldChangeTypingAttributes:toAttributes:) times:1]; + [delegateSpy selector:@selector(textViewDidChangeTypingAttributes:) times:1]; + [delegateSpy selector:@selector(textDidChange:) times:0]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:0]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:0]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:0]; + [delegateSpy selector:@selector(textDidEndEditing:) times:0]; + [textView selectAll:self]; + range = [[textView selectedRanges] firstObject]; + [self assert:0 equals:range.location]; + [self assert:18 equals:range.length]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; + + [delegateSpy reset]; + [delegateSpy selector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:) times:1 arguments:[textView, CPMakeRange(0, 18), CPMakeRange(3, 6)]]; + [delegateSpy selector:@selector(textViewDidChangeSelection:) times:1]; + [delegateSpy selector:@selector(textView:shouldChangeTypingAttributes:toAttributes:) times:1]; + [delegateSpy selector:@selector(textViewDidChangeTypingAttributes:) times:1]; + [delegateSpy selector:@selector(textDidChange:) times:0]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:0]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:0]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:0]; + [delegateSpy selector:@selector(textDidEndEditing:) times:0]; + [textView setSelectedRange:CPMakeRange(3, 6)]; + range = [[textView selectedRanges] firstObject]; + [self assert:3 equals:range.location]; + [self assert:6 equals:range.length]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; + + // When selecting the same range again textView:shouldChangeTypingAttributes:toAttributes: or textViewDidChangeTypingAttributes: should not be triggered + [delegateSpy reset]; + [delegateSpy selector:@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:) times:1 arguments:[textView, CPMakeRange(3, 6), CPMakeRange(3, 6)]]; + [delegateSpy selector:@selector(textViewDidChangeSelection:) times:1]; + [delegateSpy selector:@selector(textView:shouldChangeTypingAttributes:toAttributes:) times:0]; + [delegateSpy selector:@selector(textViewDidChangeTypingAttributes:) times:0]; + [delegateSpy selector:@selector(textDidChange:) times:0]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:0]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:0]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:0]; + [delegateSpy selector:@selector(textDidEndEditing:) times:0]; + [textView setSelectedRange:CPMakeRange(3, 6)]; + range = [[textView selectedRanges] firstObject]; + [self assert:3 equals:range.location]; + [self assert:6 equals:range.length]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; +} + +- (void)testTextDidChange +{ + [delegateSpy selector:@selector(textDidChange:) times:1]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:0]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:0]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:0]; + [delegateSpy selector:@selector(textDidEndEditing:) times:0]; + [textView setString:@"New text"]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; +} + +- (void)testTextBeginEditing +{ + [delegateSpy selector:@selector(textDidChange:) times:1]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:1]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:1]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:0]; + [delegateSpy selector:@selector(textDidEndEditing:) times:0]; + [self assertTrue:[theWindow makeFirstResponder:textView]]; + [textView insertText:@"New text"]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; +} + +- (void)testTextEndEditing +{ + [self assertTrue:[theWindow makeFirstResponder:textView]]; + [textView insertText:@"New text"]; + [delegateSpy selector:@selector(textDidChange:) times:0]; + [delegateSpy selector:@selector(textShouldBeginEditing:) times:0]; + [delegateSpy selector:@selector(textDidBeginEditing:) times:0]; + [delegateSpy selector:@selector(textShouldEndEditing:) times:1]; + [delegateSpy selector:@selector(textDidEndEditing:) times:1]; + [self assertFalse:[theWindow makeFirstResponder:nil]]; + [delegateSpy verifyThatAllExpectationsHaveBeenMet]; } @end @@ -79,9 +144,44 @@ return newSelectedCharRange; } +- (CPDictionary)textView:(CPTextView)textView shouldChangeTypingAttributes:(CPDictionary)oldTypingAttributes toAttributes:(CPDictionary)newTypingAttributes +{ + return newTypingAttributes; +} + - (void)textViewDidChangeSelection:(CPNotification)aNotification { } +- (void)textViewDidChangeTypingAttributes:(CPNotification)aNotification +{ + +} + +- (void)textDidChange:(CPNotification)aNotification +{ + +} + +- (BOOL)textShouldBeginEditing:(CPText)aTextObject +{ + return YES; +} + +- (void)textDidBeginEditing:(CPNotification)aNotification +{ + +} + +- (BOOL)textShouldEndEditing:(CPText)aTextObject +{ + return YES; +} + +- (void)textDidEndEditing:(CPNotification)aNotification +{ + +} + @end \ No newline at end of file diff --git a/Tests/Manual/CPSplitViewTest/AppController.j b/Tests/Manual/CPSplitViewTest/AppController.j index f532861a8..6503c953c 100644 --- a/Tests/Manual/CPSplitViewTest/AppController.j +++ b/Tests/Manual/CPSplitViewTest/AppController.j @@ -27,7 +27,8 @@ - (void)awakeFromCib { [splitViewA setDelegate:self]; - + [splitViewB setDelegate:self]; + [splitViewC setDelegate:self]; // This is called when the cib is done loading. // You can implement this method on any object instantiated from a Cib. // It's a useful hook for setting up current UI values, and other things. @@ -36,12 +37,6 @@ [theWindow setFullPlatformWindow:YES]; } -- (BOOL)splitView:(CPSplitView)splitView shouldAdjustSizeOfSubview:(CPView)subview -{ - var subviews = [splitView subviews]; - return (subview !== [subviews objectAtIndex:1]); -} - - (@action)deleteAutosave:(id)sender { [splitViewA deleteAutosave]; @@ -84,5 +79,20 @@ console.error(@"splitViewWillResizeSubviews") } +- (BOOL)splitView:(CPSplitView)splitView shouldAdjustSizeOfSubview:(CPView)subview +{ + var subviews = [splitView subviews]; + return (subview !== [subviews objectAtIndex:1]); +} + +- (BOOL)splitView:(CPSplitView)splitView canCollapseSubview:(CPView)subview +{ + return subview == [[splitView subviews] objectAtIndex:0]; +} + +- (BOOL)splitView:(CPSplitView)splitView shouldCollapseSubview:(CPView)subview forDoubleClickOnDividerAtIndex:(CPInteger)dividerIndex +{ + return dividerIndex == 0; +} @end diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/AppController.j b/Tests/Manual/CPTextViewDelegateAndNotifications/AppController.j new file mode 100644 index 000000000..92d755e8d --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/AppController.j @@ -0,0 +1,125 @@ +/* + * AppController.j + * CPTextViewDelegateAndNotifications + * + * Created by Martin Carlberg on December 22, 2017. + * Copyright 2017, Oops AB All rights reserved. + */ + +@import +@import +@import "NotificationStatistics.j" + +@implementation AppController : CPObject +{ + @outlet CPWindow theWindow; + + CPArray notificationStatistics @accessors; +} + +- (void)applicationDidFinishLaunching:(CPNotification)aNotification +{ + // This is called when the application is done loading. + [self setNotificationStatistics: @[ + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textView:willChangeSelectionFromCharacterRange:toCharacterRange:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textView:shouldChangeTextInRange:replacementString:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textView:doCommandBySelector:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textViewDidChangeSelection:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textView:shouldChangeTypingAttributes:toAttributes:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textViewDidChangeTypingAttributes:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textShouldBeginEditing:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textShouldEndEditing:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textDidBeginEditing:))], + [NotificationStatistics notificationStatisticsWithName:CPStringFromSelector(@selector(textDidEndEditing:))], + ]]; + + self.globalOrder = 0; +} + +- (void)awakeFromCib +{ + // This is called when the cib is done loading. + // You can implement this method on any object instantiated from a Cib. + // It's a useful hook for setting up current UI values, and other things. + + // In this case, we want the window from Cib to become our full browser window + [theWindow setFullPlatformWindow:YES]; + self.globalOrder = 0; +} + +- (IBAction)resetStatistics:(id)sender { + self.globalOrder = 0; + for (var i = 0, array = [self notificationStatistics]; i < array.length; i++) { + var ns = array[i]; + [ns setOrder:0]; + [ns setCount:0]; + } +} + +- (NotificationStatistics)notificationStatisticsWithName:(CPString)aName +{ + for (var i = 0, array = [self notificationStatistics]; i < array.length; i++) { + var ns = array[i]; + if ([ns.name isEqualToString:aName]) { + return ns; + } + } + + return nil; +} + +- (void)registerNotificationWithSelector:(SEL)selector +{ + var ns = [self notificationStatisticsWithName:CPStringFromSelector(selector)]; + if (ns) { + [ns setCount:[ns count] + 1]; + [ns setOrder:self.globalOrder += 1]; + } +} + +- (CPRange)textView:(CPTextView)textView willChangeSelectionFromCharacterRange:(CPRange)oldSelectedCharRange toCharacterRange:(CPRange)newSelectedCharRange { + [self registerNotificationWithSelector:_cmd]; + return newSelectedCharRange; +} + +- (BOOL)textView:(CPTextView)textView shouldChangeTextInRange:(CPRange)affectedCharRange replacementString:(CPString)replacementString { + [self registerNotificationWithSelector:_cmd]; + return YES; +} + +- (BOOL)textView:(CPTextView)textView doCommandBySelector:(SEL)commandSelector { + [self registerNotificationWithSelector:_cmd]; + return NO; +} +- (CPDictionary)textView:(CPTextView)textView shouldChangeTypingAttributes:(CPDictionary)oldTypingAttributes toAttributes:(CPDictionary)newTypingAttributes { + [self registerNotificationWithSelector:_cmd]; + return newTypingAttributes; +} + +- (void)textViewDidChangeSelection:(CPNotification)notification { + [self registerNotificationWithSelector:_cmd]; +} + +- (void)textViewDidChangeTypingAttributes:(CPNotification)notification { + [self registerNotificationWithSelector:_cmd]; +} + +- (BOOL)textShouldBeginEditing:(CPText)textObject { + [self registerNotificationWithSelector:_cmd]; + return YES; +} + +- (BOOL)textShouldEndEditing:(CPText)textObject { + [self registerNotificationWithSelector:_cmd]; + return YES; +} + +- (void)textDidBeginEditing:(CPNotification)notification { + [self registerNotificationWithSelector:_cmd]; +} + +- (void)textDidEndEditing:(CPNotification)notification { + [self registerNotificationWithSelector:_cmd]; +} + +@end diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/Info.plist b/Tests/Manual/CPTextViewDelegateAndNotifications/Info.plist new file mode 100644 index 000000000..60e0874e6 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/Info.plist @@ -0,0 +1,14 @@ + + + + + Main cib file base name + MainMenu.cib + CPBundleName + CPTextViewDelegateAndNotifications + CPBundleVersion + 1.0 + CPHumanReadableCopyright + Copyright © 2017, Your Company All rights reserved. + + diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/Jakefile b/Tests/Manual/CPTextViewDelegateAndNotifications/Jakefile new file mode 100644 index 000000000..5d8dc3484 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/Jakefile @@ -0,0 +1,172 @@ +/* + * Jakefile + * CPTextViewDelegateAndNotifications + * + * Created by You on December 22, 2017. + * Copyright 2017, Your Company All rights reserved. + */ + +var ENV = require("system").env, + FILE = require("file"), + JAKE = require("jake"), + task = JAKE.task, + FileList = JAKE.FileList, + app = require("cappuccino/jake").app, + configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug", + OS = require("os"), + projectName = "CPTextViewDelegateAndNotifications"; + +app (projectName, function(task) +{ + ENV["OBJJ_INCLUDE_PATHS"] = "Frameworks"; + + if (configuration === "Debug") + ENV["OBJJ_INCLUDE_PATHS"] = FILE.join(ENV["OBJJ_INCLUDE_PATHS"], configuration); + + task.setBuildIntermediatesPath(FILE.join("Build", "CPTextViewDelegateAndNotifications.build", configuration)); + task.setBuildPath(FILE.join("Build", configuration)); + + task.setProductName("CPTextViewDelegateAndNotifications"); + task.setIdentifier("com.yourcompany.CPTextViewDelegateAndNotifications"); + task.setVersion("1.0"); + task.setAuthor("Your Company"); + task.setEmail("feedback @nospam@ yourcompany.com"); + task.setSummary("CPTextViewDelegateAndNotifications"); + task.setSources(new FileList("**/*.j").exclude(FILE.join("Build", "**")).exclude(FILE.join("Frameworks", "Source", "**"))); + task.setResources(new FileList("Resources/**")); + task.setIndexFilePath("index.html"); + task.setInfoPlistPath("Info.plist"); + + if (configuration === "Debug") + task.setCompilerFlags("-DDEBUG -g -S --inline-msg-send"); + else + task.setCompilerFlags("-O2"); +}); + +task ("default", [projectName], function() +{ + printResults(configuration); +}); + +task ("build", ["default"], function() +{ + updateApplicationSize(); +}); + +task ("debug", function() +{ + configuration = ENV["CONFIGURATION"] = "Debug"; + JAKE.subjake(["."], "build", ENV); +}); + +task ("release", function() +{ + configuration = ENV["CONFIGURATION"] = "Release"; + JAKE.subjake(["."], "build", ENV); +}); + +task ("run", ["debug"], function() +{ + OS.system(["open", FILE.join("Build", "Debug", projectName, "index.html")]); +}); + +task ("run-release", ["release"], function() +{ + OS.system(["open", FILE.join("Build", "Release", projectName, "index.html")]); +}); + +task ("deploy", ["release"], function() +{ + FILE.mkdirs(FILE.join("Build", "Deployment", projectName)); + OS.system(["press", "-f", FILE.join("Build", "Release", projectName), FILE.join("Build", "Deployment", projectName)]); + printResults("Deployment") +}); + +function printResults(configuration) +{ + print("----------------------------"); + print(configuration+" app built at path: "+FILE.join("Build", configuration, projectName)); + print("----------------------------"); +} + +function updateApplicationSize() +{ + print("Calculating application file sizes..."); + + var contents = FILE.read(FILE.join("Build", configuration, projectName, "Info.plist"), { charset:"UTF-8" }), + format = CFPropertyList.sniffedFormatOfString(contents), + plist = CFPropertyList.propertyListFromString(contents), + totalBytes = {executable:0, data:0, mhtml:0}; + + // Get the size of all framework executables and sprite data + var frameworksDir = "Frameworks"; + + if (configuration === "Debug") + frameworksDir = FILE.join(frameworksDir, "Debug"); + + var frameworks = FILE.list(frameworksDir); + + frameworks.forEach(function(framework) + { + if (framework !== "Source") + addBundleFileSizes(FILE.join(frameworksDir, framework), totalBytes); + }); + + // Read in the default theme name, and attempt to get its size + var themeName = plist.valueForKey("CPDefaultTheme") || "Aristo2", + themePath = nil; + + if (themeName === "Aristo" || themeName === "Aristo2") + themePath = FILE.join(frameworksDir, "AppKit", "Resources", themeName + ".blend"); + else + themePath = FILE.join("Frameworks", "Resources", themeName + ".blend"); + + if (FILE.isDirectory(themePath)) + addBundleFileSizes(themePath, totalBytes); + + // Add sizes for the app + addBundleFileSizes(FILE.join("Build", configuration, projectName), totalBytes); + + print("Executables: " + totalBytes.executable + ", sprite data: " + totalBytes.data + ", total: " + (totalBytes.executable + totalBytes.data)); + + var dict = new CFMutableDictionary(); + + dict.setValueForKey("executable", totalBytes.executable); + dict.setValueForKey("data", totalBytes.data); + dict.setValueForKey("mhtml", totalBytes.mhtml); + + plist.setValueForKey("CPApplicationSize", dict); + + FILE.write(FILE.join("Build", configuration, projectName, "Info.plist"), CFPropertyList.stringFromPropertyList(plist, format), { charset:"UTF-8" }); +} + +function addBundleFileSizes(bundlePath, totalBytes) +{ + var bundleName = FILE.basename(bundlePath), + environment = bundleName === "Foundation" ? "Objj" : "Browser", + bundlePath = FILE.join(bundlePath, environment + ".environment"); + + if (FILE.isDirectory(bundlePath)) + { + var filename = bundleName + ".sj", + filePath = new FILE.Path(FILE.join(bundlePath, filename)); + + if (filePath.exists()) + totalBytes.executable += filePath.size(); + + filePath = new FILE.Path(FILE.join(bundlePath, "dataURLs.txt")); + + if (filePath.exists()) + totalBytes.data += filePath.size(); + + filePath = new FILE.Path(FILE.join(bundlePath, "MHTMLData.txt")); + + if (filePath.exists()) + totalBytes.mhtml += filePath.size(); + + filePath = new FILE.Path(FILE.join(bundlePath, "MHTMLPaths.txt")); + + if (filePath.exists()) + totalBytes.mhtml += filePath.size(); + } +} diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/NotificationStatistics.j b/Tests/Manual/CPTextViewDelegateAndNotifications/NotificationStatistics.j new file mode 100644 index 000000000..e11fa07f9 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/NotificationStatistics.j @@ -0,0 +1,33 @@ +/* + * NotificationStatistics.j + * CPTextViewDelegateAndNotifications + * + * Created by Martin Carlberg on December 22, 2017. + * Copyright 2017, Oops AB All rights reserved. + */ + +@import + +@implementation NotificationStatistics : CPObject { + CPString name @accessors; + CPUInteger order @accessors; + CPUInteger count @accessors; +} + ++ (id)notificationStatisticsWithName:(CPString)aName +{ + return [[NotificationStatistics alloc] initWithName:aName]; +} + +- (id)initWithName:(CPString)aName +{ + self = [super init]; + if (self) { + [self setName: aName]; + [self setOrder:0]; + [self setCount:0]; + } + return self; +} + +@end diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.cib b/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.cib new file mode 100644 index 000000000..8285397ba --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.cib @@ -0,0 +1,4 @@ +280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;0E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;0E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;4E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;1;0E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;1;6E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;1;7E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;1;8E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;11E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;13E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;15E;D;K;6;CP$UIDd;2;16E;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;18E;D;K;6;CP$UIDd;2;19E;D;K;6;CP$UIDd;2;20E;D;K;6;CP$UIDd;2;22E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;24E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;33E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;35E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;37E;D;K;6;CP$UIDd;2;38E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;41E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;43E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;45E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;D;K;6;CP$UIDd;2;49E;D;K;6;CP$UID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$UIDd;3;165E;D;K;6;CP$UIDd;3;134E;D;K;6;CP$UIDd;3;166E;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;11E;D;K;6;CP$UIDd;2;11E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;10;$classnameS;18;_CPCibCustomObjectK;8;$classesA;S;18;_CPCibCustomObjectS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;3;172E;E;D;K;10;$classnameS;5;CPSetK;8;$classesA;S;5;CPSetS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;12E;K;15;CPSetObjectsKeyD;K;6;CP$UIDd;3;173E;E;D;K;10;$classnameS;20;CPCibOutletConnectorK;8;$classesA;S;20;CPCibOutletConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;11E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;167E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;174E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;167E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;132E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;175E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;151E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;153E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;176E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;158E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;159E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;176E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;155E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;156E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;176E;E;D;K;6;$classD;K;6;CP$UIDd;2;14E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;140E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;167E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;174E;E;D;K;10;$classnameS;21;CPCibControlConnectorK;8;$classesA;S;21;CPCibControlConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;127E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;177E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;124E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;178E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;68E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;11E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;179E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;76E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;180E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;81E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;181E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;82E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;182E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;83E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;183E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;75E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;184E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;130E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;185E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;84E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;186E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;79E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;187E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;72E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;62E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;188E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;117E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;189E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;116E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;190E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;91E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;191E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;94E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;192E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;90E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;193E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;106E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;194E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;93E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;195E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;92E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;196E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;105E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;197E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;87E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;198E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;98E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;199E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;102E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;200E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;88E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;107E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;202E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;125E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;203E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;120E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;204E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;121E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;205E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;108E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;206E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;111E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;207E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;112E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;208E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;113E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;1;0E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;209E;E;D;K;6;$classD;K;6;CP$UIDd;2;21E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;165E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;167E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;210E;E;D;K;10;$classnameS;21;CPCibBindingConnectorK;8;$classesA;S;21;CPCibBindingConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;56E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;156E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;155E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;211E;K;31;CPCibBindingConnectorBindingKeyD;K;6;CP$UIDd;3;212E;K;31;CPCibBindingConnectorKeyPathKeyD;K;6;CP$UIDd;3;213E;K;31;CPCibBindingConnectorOptionsKeyD;K;6;CP$UIDd;3;215E;E;D;K;6;$classD;K;6;CP$UIDd;2;56E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;169E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;167E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;216E;K;31;CPCibBindingConnectorBindingKeyD;K;6;CP$UIDd;3;217E;K;31;CPCibBindingConnectorKeyPathKeyD;K;6;CP$UIDd;3;218E;K;31;CPCibBindingConnectorOptionsKeyD;K;6;CP$UIDd;3;219E;E;D;K;6;$classD;K;6;CP$UIDd;2;56E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;153E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;151E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;220E;K;31;CPCibBindingConnectorBindingKeyD;K;6;CP$UIDd;3;212E;K;31;CPCibBindingConnectorKeyPathKeyD;K;6;CP$UIDd;3;221E;K;31;CPCibBindingConnectorOptionsKeyD;K;6;CP$UIDd;3;222E;E;D;K;6;$classD;K;6;CP$UIDd;2;56E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;159E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;158E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;223E;K;31;CPCibBindingConnectorBindingKeyD;K;6;CP$UIDd;3;212E;K;31;CPCibBindingConnectorKeyPathKeyD;K;6;CP$UIDd;3;224E;K;31;CPCibBindingConnectorOptionsKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;56E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;3;147E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;3;169E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;226E;K;31;CPCibBindingConnectorBindingKeyD;K;6;CP$UIDd;3;227E;K;31;CPCibBindingConnectorKeyPathKeyD;K;6;CP$UIDd;3;228E;K;31;CPCibBindingConnectorOptionsKeyD;K;6;CP$UIDd;3;229E;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;3;172E;E;D;K;10;$classnameS;6;CPMenuK;8;$classesA;S;6;CPMenuS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;230E;K;13;CPMenuNameKeyD;K;6;CP$UIDd;3;231E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;232E;E;D;K;10;$classnameS;10;CPMenuItemK;8;$classesA;S;10;CPMenuItemS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;233E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;2;67E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;2;67E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;233E;K;13;CPMenuNameKeyD;K;6;CP$UIDd;3;236E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;237E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;238E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;67E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;67E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;242E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;67E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;243E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;67E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;244E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;67E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;245E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;246E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;2;74E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;2;74E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;246E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;247E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;248E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;249E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;250E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;251E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;252E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;2;78E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;2;78E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;252E;K;13;CPMenuNameKeyD;K;6;CP$UIDd;3;253E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;254E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;255E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;78E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;256E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;257E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;258E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;259E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;260E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;261E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;262E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;263E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;74E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;264E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;2;86E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;2;86E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;264E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;265E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;266E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;267E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;268E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;269E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;262E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;270E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;271E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;272E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;273E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;274E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;275E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;276E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;277E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;278E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;279E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;2;97E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;2;97E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;279E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;280E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;281E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;282E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;97E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;283E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;284E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;285E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;97E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;286E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;287E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;288E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;97E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;289E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;262E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;290E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;291E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;97E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;292E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;293E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;97E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;294E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;295E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;104E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;104E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;295E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;296E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;297E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;104E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;298E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;299E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;104E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;300E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;301E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;104E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;302E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;104E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;303E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;110E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;110E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;303E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;304E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;305E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;282E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;110E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;283E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;306E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;285E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;110E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;286E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;307E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;16;CPMenuItemTagKeyD;K;6;CP$UIDd;3;288E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;110E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;289E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;262E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;308E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;115E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;115E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;86E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;308E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;309E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;310E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;115E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;311E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;115E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;312E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;119E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;119E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;312E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;313E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;314E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;119E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;315E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;316E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;317E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;119E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;318E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;123E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;123E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;318E;K;13;CPMenuNameKeyD;K;6;CP$UIDd;3;319E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;320E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;321E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;123E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;322E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;323E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;123E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;24;CPMenuItemIsSeparatorKeyD;K;6;CP$UIDd;3;239E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;240E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;22;CPMenuItemIsEnabledKeyD;K;6;CP$UIDd;3;241E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;123E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;324E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;123E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;325E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;3;129E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;3;234E;K;20;CPMenuItemSubmenuKeyD;K;6;CP$UIDd;3;129E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;2;64E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;6;$classD;K;6;CP$UIDd;2;63E;K;14;CPMenuTitleKeyD;K;6;CP$UIDd;3;325E;K;14;CPMenuItemsKeyD;K;6;CP$UIDd;3;326E;E;D;K;6;$classD;K;6;CP$UIDd;2;65E;K;18;CPMenuItemTitleKeyD;K;6;CP$UIDd;3;327E;K;19;CPMenuItemTargetKeyD;K;6;CP$UIDd;1;0E;K;19;CPMenuItemActionKeyD;K;6;CP$UIDd;1;0E;K;17;CPMenuItemMenuKeyD;K;6;CP$UIDd;3;129E;K;26;CPMenuItemKeyEquivalentKeyD;K;6;CP$UIDd;3;328E;K;38;CPMenuItemKeyEquivalentModifierMaskKeyD;K;6;CP$UIDd;3;235E;E;D;K;10;$classnameS;20;_CPCibWindowTemplateK;8;$classesA;S;20;_CPCibWindowTemplateS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;131E;K;30;_CPCibWindowTemplateMaxSizeKeyD;K;6;CP$UIDd;3;329E;K;32;_CPCibWindowTemplateViewClassKeyD;K;6;CP$UIDd;1;0E;K;34;_CPCibWindowTemplateWindowClassKeyD;K;6;CP$UIDd;3;330E;K;30;_CPCibWindowTemplateWTFlagsKeyD;K;6;CP$UIDd;3;331E;K;33;_CPCibWindowTemplateWindowRectKeyD;K;6;CP$UIDd;3;332E;K;33;_CPCibWindowTemplateScreenRectKeyD;K;6;CP$UIDd;3;333E;K;30;_CPCibWindowTempatStyleMaskKeyD;K;6;CP$UIDd;3;291E;K;34;_CPCibWindowTemplateWindowTitleKeyD;K;6;CP$UIDd;3;318E;K;33;_CPCibWindowTemplateWindowViewKeyD;K;6;CP$UIDd;3;134E;E;D;K;10;$classnameS;6;CPViewK;8;$classesA;S;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;133E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;335E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;335E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;336E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;339E;E;D;K;10;$classnameS;12;CPScrollViewK;8;$classesA;S;12;CPScrollViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;135E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;134E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;340E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;341E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;342E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;134E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;343E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;344E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;345E;K;23;CPScrollViewContentViewD;K;6;CP$UIDd;3;138E;K;29;CPScrollViewHeaderClipViewKeyD;K;6;CP$UIDd;1;0E;K;21;CPScrollViewVScrollerD;K;6;CP$UIDd;3;143E;K;21;CPScrollViewHScrollerD;K;6;CP$UIDd;3;142E;K;23;CPScrollViewVLineScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewVPageScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewHLineScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewHPageScrollD;K;6;CP$UIDd;3;346E;K;24;CPScrollViewHasVScrollerD;K;6;CP$UIDd;3;239E;K;24;CPScrollViewHasHScrollerD;K;6;CP$UIDd;3;241E;K;29;CPScrollViewAutohidesScrollerD;K;6;CP$UIDd;3;241E;K;25;CPScrollViewCornerViewKeyD;K;6;CP$UIDd;1;0E;K;31;CPScrollViewBottomCornerViewKeyD;K;6;CP$UIDd;3;347E;K;25;CPScrollViewBorderTypeKeyD;K;6;CP$UIDd;3;285E;K;28;CPScrollViewScrollerStyleKeyD;K;6;CP$UIDd;1;0E;K;32;CPScrollViewScrollerKnobStyleKeyD;K;6;CP$UIDd;3;334E;E;D;K;10;$classnameS;10;CPClipViewK;8;$classesA;S;10;CPClipViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;137E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;136E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;348E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;349E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;350E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;136E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;21;CPViewBackgroundColorD;K;6;CP$UIDd;3;353E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;354E;K;24;CPScrollViewDocumentViewD;K;6;CP$UIDd;3;140E;E;D;K;10;$classnameS;10;CPTextViewK;8;$classesA;S;10;CPTextViewS;6;CPTextS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;139E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;138E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;349E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;349E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;138E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;21;CPViewBackgroundColorD;K;6;CP$UIDd;3;356E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;357E;K;23;CPTextViewIsEditableKeyD;K;6;CP$UIDd;3;239E;K;25;CPTextViewIsSelectableKeyD;K;6;CP$UIDd;3;239E;K;23;CPTextViewIsRichTextKeyD;K;6;CP$UIDd;3;239E;K;21;CPTextViewDelegateKeyD;K;6;CP$UIDd;1;0E;K;22;CPTextViewContainerKeyD;K;6;CP$UIDd;3;359E;K;32;CPTextViewInsertionPointColorKeyD;K;6;CP$UIDd;3;360E;K;35;CPTextViewSelectedTextAttributesKeyD;K;6;CP$UIDd;3;361E;K;23;CPTextViewAllowsUndoKeyD;K;6;CP$UIDd;3;239E;K;26;CPTextViewUsesFontPanelKeyD;K;6;CP$UIDd;3;239E;E;D;K;10;$classnameS;10;CPScrollerK;8;$classesA;S;10;CPScrollerS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;141E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;136E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;362E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;363E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;136E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;17;CPViewIsHiddenKeyD;K;6;CP$UIDd;3;364E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;365E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;366E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;367E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;334E;K;18;CPControlTargetKeyD;K;6;CP$UIDd;3;136E;K;18;CPControlActionKeyD;K;6;CP$UIDd;3;368E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;1;0E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;1;0E;K;23;CPScrollerIsVerticalKeyD;K;6;CP$UIDd;3;241E;K;24;CPScrollerKnobProportionD;K;6;CP$UIDd;3;282E;K;18;CPScrollerStyleKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;141E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;136E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;370E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;371E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;136E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;365E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;366E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;372E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;334E;K;18;CPControlTargetKeyD;K;6;CP$UIDd;3;136E;K;18;CPControlActionKeyD;K;6;CP$UIDd;3;373E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;1;0E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;1;0E;K;23;CPScrollerIsVerticalKeyD;K;6;CP$UIDd;3;239E;K;24;CPScrollerKnobProportionD;K;6;CP$UIDd;3;282E;K;18;CPScrollerStyleKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;135E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;134E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;374E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;375E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;376E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;134E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;344E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;377E;K;23;CPScrollViewContentViewD;K;6;CP$UIDd;3;145E;K;29;CPScrollViewHeaderClipViewKeyD;K;6;CP$UIDd;3;378E;K;21;CPScrollViewVScrollerD;K;6;CP$UIDd;3;161E;K;21;CPScrollViewHScrollerD;K;6;CP$UIDd;3;160E;K;23;CPScrollViewVLineScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewVPageScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewHLineScrollD;K;6;CP$UIDd;3;346E;K;23;CPScrollViewHPageScrollD;K;6;CP$UIDd;3;346E;K;24;CPScrollViewHasVScrollerD;K;6;CP$UIDd;3;239E;K;24;CPScrollViewHasHScrollerD;K;6;CP$UIDd;3;239E;K;29;CPScrollViewAutohidesScrollerD;K;6;CP$UIDd;3;239E;K;25;CPScrollViewCornerViewKeyD;K;6;CP$UIDd;3;380E;K;31;CPScrollViewBottomCornerViewKeyD;K;6;CP$UIDd;3;381E;K;25;CPScrollViewBorderTypeKeyD;K;6;CP$UIDd;3;285E;K;28;CPScrollViewScrollerStyleKeyD;K;6;CP$UIDd;1;0E;K;32;CPScrollViewScrollerKnobStyleKeyD;K;6;CP$UIDd;3;334E;E;D;K;6;$classD;K;6;CP$UIDd;3;137E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;382E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;383E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;384E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;21;CPViewBackgroundColorD;K;6;CP$UIDd;3;385E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;386E;K;24;CPScrollViewDocumentViewD;K;6;CP$UIDd;3;147E;E;D;K;10;$classnameS;11;CPTableViewK;8;$classesA;S;11;CPTableViewS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;146E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;145E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;387E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;387E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;145E;K;21;CPViewBackgroundColorD;K;6;CP$UIDd;3;385E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;388E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;12;$agrid-colorD;K;6;CP$UIDd;3;389E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;390E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;1;0E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;1;0E;K;24;CPTableViewDataSourceKeyD;K;6;CP$UIDd;1;0E;K;22;CPTableViewDelegateKeyD;K;6;CP$UIDd;1;0E;K;23;CPTableViewRowHeightKeyD;K;6;CP$UIDd;3;391E;K;30;CPTableViewIntercellSpacingKeyD;K;6;CP$UIDd;3;392E;K;37;CPTableViewSelectionHighlightStyleKeyD;K;6;CP$UIDd;3;334E;K;37;CPTableViewColumnAutoresizingStyleKeyD;K;6;CP$UIDd;3;369E;K;31;CPTableViewMultipleSelectionKeyD;K;6;CP$UIDd;3;241E;K;28;CPTableViewEmptySelectionKeyD;K;6;CP$UIDd;3;241E;K;30;CPTableViewColumnReorderingKeyD;K;6;CP$UIDd;3;239E;K;28;CPTableViewColumnResizingKeyD;K;6;CP$UIDd;3;239E;K;29;CPTableViewColumnSelectionKeyD;K;6;CP$UIDd;3;241E;K;26;CPTableViewTableColumnsKeyD;K;6;CP$UIDd;3;393E;K;23;CPTableViewGridColorKeyD;K;6;CP$UIDd;3;389E;K;27;CPTableViewGridStyleMaskKeyD;K;6;CP$UIDd;3;334E;K;39;CPTableViewUsesAlternatingBackgroundKeyD;K;6;CP$UIDd;3;241E;K;34;CPTableViewAlternatingRowColorsKeyD;K;6;CP$UIDd;1;0E;K;24;CPTableViewCornerViewKeyD;K;6;CP$UIDd;3;380E;K;24;CPTableViewHeaderViewKeyD;K;6;CP$UIDd;3;163E;K;26;CPTableViewAutosaveNameKeyD;K;6;CP$UIDd;3;394E;K;35;CPTableViewArchivedReusableViewsKeyD;K;6;CP$UIDd;3;395E;E;D;K;10;$classnameS;13;CPTableColumnK;8;$classesA;S;13;CPTableColumnS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;148E;K;26;CPTableColumnIdentifierKeyD;K;6;CP$UIDd;3;396E;K;21;CPTableColumnWidthKeyD;K;6;CP$UIDd;3;397E;K;24;CPTableColumnMinWidthKeyD;K;6;CP$UIDd;3;398E;K;24;CPTableColumnMaxWidthKeyD;K;6;CP$UIDd;3;399E;K;26;CPTableColumnHeaderViewKeyD;K;6;CP$UIDd;3;401E;K;24;CPTableColumnDataViewKeyD;K;6;CP$UIDd;3;402E;K;28;CPTableColumnResizingMaskKeyD;K;6;CP$UIDd;3;288E;K;24;CPTableColumnIsHiddenKeyD;K;6;CP$UIDd;3;241E;K;26;CPTableColumnIsEditableKeyD;K;6;CP$UIDd;3;239E;K;28;CPSortDescriptorPrototypeKeyD;K;6;CP$UIDd;1;0E;E;D;K;10;$classnameS;15;CPTableCellViewK;8;$classesA;S;15;CPTableCellViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;150E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;403E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;404E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;405E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;406E;E;D;K;10;$classnameS;11;CPTextFieldK;8;$classesA;S;11;CPTextFieldS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;151E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;407E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;408E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;151E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;409E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;411E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;414E;K;35;CPControlSendsActionOnEndEditingKeyD;K;6;CP$UIDd;3;239E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;415E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;241E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;417E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;369E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;3;148E;K;26;CPTableColumnIdentifierKeyD;K;6;CP$UIDd;3;418E;K;21;CPTableColumnWidthKeyD;K;6;CP$UIDd;3;419E;K;24;CPTableColumnMinWidthKeyD;K;6;CP$UIDd;3;346E;K;24;CPTableColumnMaxWidthKeyD;K;6;CP$UIDd;3;420E;K;26;CPTableColumnHeaderViewKeyD;K;6;CP$UIDd;3;421E;K;24;CPTableColumnDataViewKeyD;K;6;CP$UIDd;3;422E;K;28;CPTableColumnResizingMaskKeyD;K;6;CP$UIDd;3;288E;K;24;CPTableColumnIsHiddenKeyD;K;6;CP$UIDd;3;241E;K;26;CPTableColumnIsEditableKeyD;K;6;CP$UIDd;3;239E;K;28;CPSortDescriptorPrototypeKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;150E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;423E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;424E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;425E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;426E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;155E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;427E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;428E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;155E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;409E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;411E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;429E;K;35;CPControlSendsActionOnEndEditingKeyD;K;6;CP$UIDd;3;239E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;415E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;241E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;417E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;369E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;3;148E;K;26;CPTableColumnIdentifierKeyD;K;6;CP$UIDd;3;430E;K;21;CPTableColumnWidthKeyD;K;6;CP$UIDd;3;431E;K;24;CPTableColumnMinWidthKeyD;K;6;CP$UIDd;3;346E;K;24;CPTableColumnMaxWidthKeyD;K;6;CP$UIDd;3;420E;K;26;CPTableColumnHeaderViewKeyD;K;6;CP$UIDd;3;432E;K;24;CPTableColumnDataViewKeyD;K;6;CP$UIDd;3;433E;K;28;CPTableColumnResizingMaskKeyD;K;6;CP$UIDd;3;288E;K;24;CPTableColumnIsHiddenKeyD;K;6;CP$UIDd;3;241E;K;26;CPTableColumnIsEditableKeyD;K;6;CP$UIDd;3;239E;K;28;CPSortDescriptorPrototypeKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;150E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;434E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;435E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;436E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;437E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;158E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;438E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;439E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;158E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;409E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;411E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;440E;K;35;CPControlSendsActionOnEndEditingKeyD;K;6;CP$UIDd;3;239E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;415E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;241E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;417E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;369E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;3;141E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;441E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;442E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;17;CPViewIsHiddenKeyD;K;6;CP$UIDd;3;364E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;365E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;366E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;443E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;334E;K;18;CPControlTargetKeyD;K;6;CP$UIDd;3;144E;K;18;CPControlActionKeyD;K;6;CP$UIDd;3;368E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;1;0E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;1;0E;K;23;CPScrollerIsVerticalKeyD;K;6;CP$UIDd;3;241E;K;24;CPScrollerKnobProportionD;K;6;CP$UIDd;3;282E;K;18;CPScrollerStyleKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;141E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;444E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;445E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;17;CPViewIsHiddenKeyD;K;6;CP$UIDd;3;364E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;365E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;366E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;446E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;334E;K;18;CPControlTargetKeyD;K;6;CP$UIDd;3;144E;K;18;CPControlActionKeyD;K;6;CP$UIDd;3;373E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;1;0E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;1;0E;K;23;CPScrollerIsVerticalKeyD;K;6;CP$UIDd;3;239E;K;24;CPScrollerKnobProportionD;K;6;CP$UIDd;3;282E;K;18;CPScrollerStyleKeyD;K;6;CP$UIDd;1;0E;E;D;K;10;$classnameS;17;CPTableHeaderViewK;8;$classesA;S;17;CPTableHeaderViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;162E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;378E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;447E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;447E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;378E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;448E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;449E;K;29;CPTableHeaderViewTableViewKeyD;K;6;CP$UIDd;3;147E;E;D;K;10;$classnameS;8;CPButtonK;8;$classesA;S;8;CPButtonS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;164E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;134E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;450E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;451E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;134E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;452E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;453E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;454E;K;15;$aimage-scalingD;K;6;CP$UIDd;3;334E;K;6;$afontD;K;6;CP$UIDd;3;455E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;334E;K;11;$aalignmentD;K;6;CP$UIDd;3;285E;K;7;$aimageD;K;6;CP$UIDd;3;457E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;458E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;334E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;16;CPButtonTitleKeyD;K;6;CP$UIDd;3;459E;K;25;CPButtonAlternateTitleKeyD;K;6;CP$UIDd;3;240E;K;27;CPButtonAllowsMixedStateKeyD;K;6;CP$UIDd;3;241E;K;23;CPButtonHighlightsByKeyD;K;6;CP$UIDd;3;460E;K;23;CPButtonShowsStateByKeyD;K;6;CP$UIDd;3;334E;K;32;CPButtonImageDimsWhenDisabledKeyD;K;6;CP$UIDd;3;239E;K;24;CPButtonImagePositionKeyD;K;6;CP$UIDd;3;285E;K;28;CPButtonKeyEquivalentMaskKeyD;K;6;CP$UIDd;3;334E;K;24;CPButtonPeriodicDelayKeyD;K;6;CP$UIDd;1;0E;K;27;CPButtonPeriodicIntervalKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;134E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;461E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;462E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;134E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;409E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;411E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;334E;K;11;$aalignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;463E;K;35;CPControlSendsActionOnEndEditingKeyD;K;6;CP$UIDd;3;239E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;464E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;369E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;241E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;417E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;334E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;369E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;239E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;2;10E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;3;465E;E;D;K;10;$classnameS;17;CPArrayControllerK;8;$classesA;S;17;CPArrayControllerS;18;CPObjectControllerS;12;CPControllerS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;168E;K;28;CPObjectControllerContentKeyD;K;6;CP$UIDd;1;0E;K;36;CPObjectControllerObjectClassNameKeyD;K;6;CP$UIDd;3;394E;K;31;CPObjectControllerIsEditableKeyD;K;6;CP$UIDd;3;241E;K;49;CPObjectControllerAutomaticallyPreparesContentKeyD;K;6;CP$UIDd;3;241E;K;37;CPObjectControllerUsesLazyFetchingKeyD;K;6;CP$UIDd;3;241E;K;40;CPObjectControllerIsUsingManagedProxyKeyD;K;6;CP$UIDd;3;241E;K;33;CPObjectControllerManagedProxyKeyD;K;6;CP$UIDd;3;467E;K;37;CPArrayControllerAvoidsEmptySelectionD;K;6;CP$UIDd;3;241E;K;49;CPArrayControllerClearsFilterPredicateOnInsertionD;K;6;CP$UIDd;3;241E;K;41;CPArrayControllerFilterRestrictsInsertionD;K;6;CP$UIDd;3;239E;K;35;CPArrayControllerPreservesSelectionD;K;6;CP$UIDd;3;241E;K;39;CPArrayControllerSelectsInsertedObjectsD;K;6;CP$UIDd;3;241E;K;47;CPArrayControllerAlwaysUsesMultipleValuesMarkerD;K;6;CP$UIDd;3;241E;K;47;CPArrayControllerAutomaticallyRearrangesObjectsD;K;6;CP$UIDd;3;241E;E;D;K;10;$classnameS;24;CPUserDefaultsControllerK;8;$classesA;S;24;CPUserDefaultsControllerS;12;CPControllerS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;170E;K;33;CPUserDefaultsControllerSharedKeyD;K;6;CP$UIDd;3;239E;E;S;13;CPApplicationD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;132E;E;E;S;8;delegateS;9;theWindowS;9;textFieldS;15;arrangeInFront:S;19;performMiniaturize:S;29;orderFrontStandardAboutPanel:S;13;openDocument:S;13;performClose:S;13;saveDocument:S;15;saveDocumentAs:S;12;newDocument:S;9;showHelp:S;22;revertDocumentToSaved:S;21;clearRecentDocuments:S;10;terminate:S;13;stopSpeaking:S;14;startSpeaking:S;5;copy:S;10;selectAll:S;4;cut:S;14;checkSpelling:S;7;delete:S;6;paste:S;15;showGuessPanel:S;5;undo:S;23;performFindPanelAction:S;29;centerSelectionInVisibleArea:S;5;redo:S;30;toggleContinuousSpellChecking:S;12;performZoom:S;19;toggleToolbarShown:S;31;runToolbarCustomizationPalette:S;22;toggleGrammarChecking:S;24;toggleSmartInsertDelete:S;33;toggleAutomaticQuoteSubstitution:S;29;toggleAutomaticLinkDetection:S;16;resetStatistics:S;24;value: objectValue.orderS;5;valueS;17;objectValue.orderD;K;10;$classnameS;12;CPDictionaryK;8;$classesA;S;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;41;contentArray: self.notificationStatisticsS;12;contentArrayS;27;self.notificationStatisticsD;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;23;value: objectValue.nameS;16;objectValue.nameD;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;24;value: objectValue.countS;17;objectValue.countD;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;24;content: arrangedObjectsS;7;contentS;15;arrangedObjectsD;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;9;AMainMenuS;11;_CPMainMenuD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;66E;D;K;6;CP$UIDd;2;73E;D;K;6;CP$UIDd;2;85E;D;K;6;CP$UIDd;3;118E;D;K;6;CP$UIDd;3;122E;D;K;6;CP$UIDd;3;128E;E;E;S;14;NewApplicationS;14;submenuAction:d;7;1048576S;18;_CPApplicationMenuD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;68E;D;K;6;CP$UIDd;2;69E;D;K;6;CP$UIDd;2;70E;D;K;6;CP$UIDd;2;71E;D;K;6;CP$UIDd;2;72E;E;E;S;20;About NewApplicationT;S;0;F;S;12;Preferences…S;1;,S;19;Quit NewApplicationS;1;qS;4;FileD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;75E;D;K;6;CP$UIDd;2;76E;D;K;6;CP$UIDd;2;77E;D;K;6;CP$UIDd;2;80E;D;K;6;CP$UIDd;2;81E;D;K;6;CP$UIDd;2;82E;D;K;6;CP$UIDd;2;83E;D;K;6;CP$UIDd;2;84E;E;E;S;3;NewS;1;nS;5;Open…S;1;oS;11;Open RecentS;22;_CPRecentDocumentsMenuD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;79E;E;E;S;10;Clear MenuS;5;CloseS;1;wS;4;SaveS;1;sS;8;Save As…S;1;Sd;7;1179648S;15;Revert to SavedS;4;EditD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;87E;D;K;6;CP$UIDd;2;88E;D;K;6;CP$UIDd;2;89E;D;K;6;CP$UIDd;2;90E;D;K;6;CP$UIDd;2;91E;D;K;6;CP$UIDd;2;92E;D;K;6;CP$UIDd;2;93E;D;K;6;CP$UIDd;2;94E;D;K;6;CP$UIDd;2;95E;D;K;6;CP$UIDd;2;96E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;109E;D;K;6;CP$UIDd;3;114E;E;E;S;4;UndoS;1;zS;4;RedoS;1;ZS;3;CutS;1;xS;4;CopyS;1;cS;5;PasteS;1;vS;6;DeleteS;10;Select AllS;1;aS;4;FindD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;98E;D;K;6;CP$UIDd;2;99E;D;K;6;CP$UIDd;3;100E;D;K;6;CP$UIDd;3;101E;D;K;6;CP$UIDd;3;102E;E;E;S;5;Find…d;1;1S;1;fS;9;Find Nextd;1;2S;1;gS;13;Find Previousd;1;3S;1;GS;22;Use Selection for Findd;1;7S;1;eS;17;Jump to SelectionS;1;jS;20;Spelling and GrammarD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;105E;D;K;6;CP$UIDd;3;106E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;108E;E;E;S;14;Show Spelling…S;1;:S;14;Check SpellingS;1;;S;27;Check Spelling While TypingS;27;Check Grammar With SpellingS;13;SubstitutionsD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;111E;D;K;6;CP$UIDd;3;112E;D;K;6;CP$UIDd;3;113E;E;E;S;16;Smart Copy/PasteS;12;Smart QuotesS;11;Smart LinksS;6;SpeechD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;116E;D;K;6;CP$UIDd;3;117E;E;E;S;14;Start SpeakingS;13;Stop SpeakingS;4;ViewD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;120E;D;K;6;CP$UIDd;3;121E;E;E;S;12;Show ToolbarS;1;td;7;1572864S;18;Customize Toolbar…S;6;WindowS;14;_CPWindowsMenuD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;124E;D;K;6;CP$UIDd;3;125E;D;K;6;CP$UIDd;3;126E;D;K;6;CP$UIDd;3;127E;E;E;S;8;MinimizeS;1;mS;4;ZoomS;18;Bring All to FrontS;4;HelpD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;130E;E;E;S;19;NewApplication HelpS;1;?S;32;{10000000000000, 10000000000000}S;8;CPWindowd;10;1879048192S;24;{{335, -85}, {858, 573}}S;21;{{0, 0}, {1440, 878}}d;1;0S;20;{{0, 0}, {858, 573}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;136E;D;K;6;CP$UIDd;3;144E;D;K;6;CP$UIDd;3;165E;D;K;6;CP$UIDd;3;166E;E;E;S;6;normalS;6;{1, 1}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;23;{{20, 129}, {235, 424}}S;20;{{0, 0}, {235, 424}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;138E;D;K;6;CP$UIDd;3;142E;D;K;6;CP$UIDd;3;143E;D;K;6;CP$UIDd;3;347E;E;E;d;2;20S;10;scrollviewD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;d;2;10D;K;6;$classD;K;6;CP$UIDd;3;133E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;136E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;136E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;469E;E;S;20;{{1, 1}, {218, 422}}S;20;{{0, 0}, {218, 422}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;140E;E;E;d;1;8D;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;470E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;d;2;18D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;472E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;10;$classnameS;15;CPTextContainerK;8;$classesA;S;15;CPTextContainerS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;358E;K;22;CPTextContainerSizeKeyD;K;6;CP$UIDd;3;473E;K;31;CPTextContainerLayoutManagerKeyD;K;6;CP$UIDd;3;475E;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;476E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;K;7;NSColorD;K;6;CP$UIDd;3;477E;K;17;NSBackgroundColorD;K;6;CP$UIDd;3;478E;E;E;S;23;{{-100, 509}, {87, 15}}S;18;{{0, 0}, {87, 15}}d;11;-2147483648S;8;scrollerS;27;controlSizeRegular+disabledD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;29;_horizontalScrollerDidScroll:d;1;4S;21;{{219, 1}, {15, 422}}S;19;{{0, 0}, {15, 422}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;27;_verticalScrollerDidScroll:S;24;{{286, 129}, {552, 377}}S;20;{{0, 0}, {552, 377}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;145E;D;K;6;CP$UIDd;3;378E;D;K;6;CP$UIDd;3;160E;D;K;6;CP$UIDd;3;380E;D;K;6;CP$UIDd;3;161E;D;K;6;CP$UIDd;3;381E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;3;137E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;479E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;480E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;481E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;482E;K;24;CPScrollViewDocumentViewD;K;6;CP$UIDd;3;163E;E;D;K;10;$classnameS;13;_CPCornerViewK;8;$classesA;S;13;_CPCornerViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;379E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;334E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;483E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;484E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;351E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;485E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;486E;E;D;K;6;$classD;K;6;CP$UIDd;3;133E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;144E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;144E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;487E;E;S;20;{{1, 1}, {550, 376}}S;20;{{0, 0}, {550, 376}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;147E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;488E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;20;{{0, 0}, {550, 353}}S;9;tableviewD;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;489E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;d;2;25S;6;{3, 2}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;149E;D;K;6;CP$UIDd;3;154E;D;K;6;CP$UIDd;3;157E;E;E;S;22;NotificationStatisticsD;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;K;32;AutomaticTableColumnIdentifier.2D;K;6;CP$UIDd;3;491E;K;32;AutomaticTableColumnIdentifier.0D;K;6;CP$UIDd;3;492E;K;32;AutomaticTableColumnIdentifier.1D;K;6;CP$UIDd;3;493E;E;E;S;32;AutomaticTableColumnIdentifier.0d;3;316d;2;40d;4;1000D;K;10;$classnameS;24;_CPTableColumnHeaderViewK;8;$classesA;S;24;_CPTableColumnHeaderViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;400E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;494E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;495E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;6;$afontD;K;6;CP$UIDd;3;496E;K;12;$atext-colorD;K;6;CP$UIDd;3;497E;K;16;$atext-alignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;498E;K;38;_CPTableColumnHeaderViewStringValueKeyD;K;6;CP$UIDd;3;499E;K;32;_CPTableColumnHeaderViewImageKeyD;K;6;CP$UIDd;1;0E;K;31;_CPTableColumnHeaderViewFontKeyD;K;6;CP$UIDd;3;496E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;500E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;369E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;501E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;502E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;503E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;239E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;239E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;385E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;369E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;S;19;{{1, 1}, {316, 17}}S;19;{{0, 0}, {316, 17}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;153E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;19;{{2, 0}, {312, 17}}S;19;{{0, 0}, {312, 17}}d;2;34S;9;textfieldS;18;controlSizeRegularD;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;412E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;504E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;416E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsItalicKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsSystemKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;15;Table View Celld;2;-1D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;505E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;S;32;AutomaticTableColumnIdentifier.1d;3;117f;22;3.4028234663852886e+38D;K;6;$classD;K;6;CP$UIDd;3;400E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;506E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;495E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;6;$afontD;K;6;CP$UIDd;3;496E;K;12;$atext-colorD;K;6;CP$UIDd;3;497E;K;16;$atext-alignmentD;K;6;CP$UIDd;3;334E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;507E;K;38;_CPTableColumnHeaderViewStringValueKeyD;K;6;CP$UIDd;3;508E;K;32;_CPTableColumnHeaderViewImageKeyD;K;6;CP$UIDd;1;0E;K;31;_CPTableColumnHeaderViewFontKeyD;K;6;CP$UIDd;3;496E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;500E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;334E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;509E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;502E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;503E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;239E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;239E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;385E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;334E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;S;21;{{320, 1}, {117, 17}}S;19;{{0, 0}, {117, 17}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;156E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;19;{{2, 0}, {113, 17}}S;19;{{0, 0}, {113, 17}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;32;AutomaticTableColumnIdentifier.2d;3;108D;K;6;$classD;K;6;CP$UIDd;3;400E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;3;510E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;495E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;6;$afontD;K;6;CP$UIDd;3;496E;K;12;$atext-colorD;K;6;CP$UIDd;3;497E;K;16;$atext-alignmentD;K;6;CP$UIDd;3;334E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;511E;K;38;_CPTableColumnHeaderViewStringValueKeyD;K;6;CP$UIDd;3;512E;K;32;_CPTableColumnHeaderViewImageKeyD;K;6;CP$UIDd;1;0E;K;31;_CPTableColumnHeaderViewFontKeyD;K;6;CP$UIDd;3;496E;E;D;K;6;$classD;K;6;CP$UIDd;3;152E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;468E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;468E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;410E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;500E;K;6;$afontD;K;6;CP$UIDd;3;413E;K;17;$aline-break-modeD;K;6;CP$UIDd;3;369E;K;11;$aalignmentD;K;6;CP$UIDd;3;334E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;513E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;502E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;503E;K;23;CPControlControlSizeKeyD;K;6;CP$UIDd;3;334E;K;33;CPControlBaseWrittingDirectionKeyD;K;6;CP$UIDd;3;416E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;239E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;239E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;3;241E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;3;385E;K;27;CPTextFieldLineBreakModeKeyD;K;6;CP$UIDd;3;369E;K;23;CPTextFieldAlignmentKeyD;K;6;CP$UIDd;3;334E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldUsesSingleLineModeD;K;6;CP$UIDd;3;241E;K;16;CPTextFieldWrapsD;K;6;CP$UIDd;3;241E;K;18;CPTextFieldScrollsD;K;6;CP$UIDd;3;241E;E;S;21;{{440, 1}, {108, 17}}S;19;{{0, 0}, {108, 17}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;159E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;19;{{2, 0}, {104, 17}}S;19;{{0, 0}, {104, 17}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;21;{{1, 243}, {223, 15}}S;19;{{0, 0}, {223, 15}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;23;{{224, 258}, {15, 102}}S;19;{{0, 0}, {15, 102}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;19;{{0, 0}, {550, 25}}S;14;tableHeaderRowD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;22;{{286, 532}, {96, 25}}S;18;{{0, 0}, {96, 25}}d;2;12S;6;buttonS;27;bordered+controlSizeRegularD;K;6;$classD;K;6;CP$UIDd;3;412E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;504E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;416E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;239E;K;17;CPFontIsItalicKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsSystemKeyD;K;6;CP$UIDd;3;239E;E;D;K;10;$classnameS;17;_CPThemeAttributeK;8;$classesA;S;17;_CPThemeAttributeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;456E;K;4;nameD;K;6;CP$UIDd;3;514E;K;12;defaultValueD;K;6;CP$UIDd;3;516E;K;5;stateD;K;6;CP$UIDd;3;517E;K;5;valueD;K;6;CP$UIDd;3;518E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;11;Reset statsd;2;14S;21;{{20, 14}, {818, 99}}S;19;{{0, 0}, {818, 99}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;355;This test application will track delegate methods and notification messages from the CPTextView to the left below. +  +The Call order column tells in which order they are called. It is an increasing global number for each call to a delegate method or notification message. +The Number of calls column show how many times this method or message has been sent.S;13;AppControllerD;K;10;$classnameS;15;_CPManagedProxyK;8;$classesA;S;15;_CPManagedProxyS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;466E;K;27;CPManagedProxyEntityNameKeyD;K;6;CP$UIDd;1;0E;K;31;CPManagedProxyFetchPredicateKeyD;K;6;CP$UIDd;1;0E;E;S;16;{{0, 0}, {0, 0}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;E;E;S;5;colorD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;E;E;S;15;{218, 10000000}D;K;10;$classnameS;15;CPLayoutManagerK;8;$classesA;S;15;CPLayoutManagerS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;474E;K;29;CPLayoutManagerTextStorageKeyD;K;6;CP$UIDd;3;520E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;334E;D;K;6;CP$UIDd;3;334E;D;K;6;CP$UIDd;3;334E;D;K;6;CP$UIDd;3;282E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;521E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;522E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;S;21;{{1, 354}, {550, 23}}S;19;{{0, 0}, {550, 23}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;163E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;20;{{0, 352}, {14, 25}}S;18;{{0, 0}, {14, 25}}S;10;cornerviewD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;D;K;6;CP$UIDd;3;282E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;523E;D;K;6;CP$UIDd;3;523E;D;K;6;CP$UIDd;3;523E;D;K;6;CP$UIDd;3;282E;E;E;D;K;10;$classnameS;5;CPCibK;8;$classesA;S;5;CPCibS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;490E;K;16;CPCibDataFileKeyD;K;6;CP$UIDd;3;524E;E;D;K;6;$classD;K;6;CP$UIDd;3;490E;K;16;CPCibDataFileKeyD;K;6;CP$UIDd;3;525E;E;D;K;6;$classD;K;6;CP$UIDd;3;490E;K;16;CPCibDataFileKeyD;K;6;CP$UIDd;3;526E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;528E;E;E;S;12;columnHeaderD;K;6;$classD;K;6;CP$UIDd;3;412E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;504E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;452E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;239E;K;17;CPFontIsItalicKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsSystemKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;3;352E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;529E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;3;471E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;36;Delegate method or Notification nameS;41;controlSizeRegular+editable+tableDataViewD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;531E;E;E;S;9;Text Celld;4;3072S;28;_CPFontSystemFacePlaceholderD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;532E;D;K;6;CP$UIDd;3;532E;D;K;6;CP$UIDd;3;532E;D;K;6;CP$UIDd;3;282E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;533E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;10;Call orderD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;534E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;535E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;15;Number of callsD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;536E;E;E;S;5;imageD;K;10;$classnameS;6;CPNullK;8;$classesA;S;6;CPNullS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;515E;E;S;11;highlightedD;K;6;$classD;K;6;CP$UIDd;3;412E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;537E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;538E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsItalicKeyD;K;6;CP$UIDd;3;241E;K;17;CPFontIsSystemKeyD;K;6;CP$UIDd;3;241E;E;D;K;10;$classnameS;13;CPTextStorageK;8;$classesA;S;13;CPTextStorageS;25;CPMutableAttributedStringS;18;CPAttributedStringS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;519E;K;24;CPAttributedStringStringD;K;6;CP$UIDd;3;240E;K;24;CPAttributedStringRangesD;K;6;CP$UIDd;3;539E;K;28;CPAttributedStringAttributesD;K;6;CP$UIDd;3;540E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd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EO0s7NjskY2xhc3NEO0s7NjtDUCRVSURkOzI7NTNFO0s7MjA7Q1BDb2xvckNvbXBvbmVudHNLZXlEO0s7NjtDUCRVSURkOzI7NTdFO0s7MTk7Q1BWaWV3VGhlbWVDbGFzc0tleUQ7Szs2O0NQJFVJRGQ7Mjs1OEU7SzsxOTtDUFZpZXdUaGVtZVN0YXRlS2V5RDtLOzY7Q1AkVUlEZDsyOzM2RTtFO1M7MTM7Q1BBcHBsaWNhdGlvblM7Mjg7X0NQRm9udFN5c3RlbUZhY2VQbGFjZWhvbGRlckQ7Szs2OyRjbGFzc0Q7Szs2O0NQJFVJRGQ7MTszRTtLOzEwO0NQLm9iamVjdHNBO0Q7Szs2O0NQJFVJRGQ7Mjs1OUU7RDtLOzY7Q1AkVUlEZDsyOzU5RTtEO0s7NjtDUCRVSURkOzI7NTlFO0Q7Szs2O0NQJFVJRGQ7Mjs2MEU7RTtFO1M7NTtjb2xvcmY7MTg7MC42ODYyNzQ1MDk4MDM5MjE2ZDsxOzFFO0s7OTskYXJjaGl2ZXJTOzE1O0NQS2V5ZWRBcmNoaXZlcks7ODskdmVyc2lvblM7NjsxMDAwMDBFOw==D;K;10;$classnameS;19;_CPImageAndTextViewK;8;$classesA;S;19;_CPImageAndTextViewS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;527E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;401E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;542E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;543E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;401E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;17;CPViewHitTestsKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;544E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;545E;D;K;6;CP$UIDd;3;545E;D;K;6;CP$UIDd;3;545E;D;K;6;CP$UIDd;3;282E;E;E;D;K;10;$classnameS;14;CPTrackingAreaK;8;$classesA;S;14;CPTrackingAreaS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;530E;K;25;CPTrackinkAreaViewRectKeyD;K;6;CP$UIDd;3;547E;K;24;CPTrackingAreaOptionsKeyD;K;6;CP$UIDd;3;548E;K;22;CPTrackingAreaOwnerKeyD;K;6;CP$UIDd;3;402E;K;25;CPTrackingAreaUserInfoKeyD;K;6;CP$UIDd;1;0E;K;32;CPTrackingAreaReferencingViewKeyD;K;6;CP$UIDd;3;402E;K;24;CPTrackingAreaWindowRectD;K;6;CP$UIDd;3;549E;E;f;18;0.6862745098039216D;K;6;$classD;K;6;CP$UIDd;3;527E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;421E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;542E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;543E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;421E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;17;CPViewHitTestsKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;550E;E;D;K;6;$classD;K;6;CP$UIDd;3;530E;K;25;CPTrackinkAreaViewRectKeyD;K;6;CP$UIDd;3;551E;K;24;CPTrackingAreaOptionsKeyD;K;6;CP$UIDd;3;548E;K;22;CPTrackingAreaOwnerKeyD;K;6;CP$UIDd;3;422E;K;25;CPTrackingAreaUserInfoKeyD;K;6;CP$UIDd;1;0E;K;32;CPTrackingAreaReferencingViewKeyD;K;6;CP$UIDd;3;422E;K;24;CPTrackingAreaWindowRectD;K;6;CP$UIDd;3;552E;E;D;K;6;$classD;K;6;CP$UIDd;3;527E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;3;432E;K;18;CPResponderMenuKeyD;K;6;CP$UIDd;1;0E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;542E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;543E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;3;432E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;355E;K;17;CPViewHitTestsKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewThemeClassKeyD;K;6;CP$UIDd;1;0E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;3;337E;K;14;CPViewScaleKeyD;K;6;CP$UIDd;3;338E;K;18;CPViewSizeScaleKeyD;K;6;CP$UIDd;3;338E;K;17;CPViewIsScaledKeyD;K;6;CP$UIDd;3;241E;K;19;CPViewAppearanceKeyD;K;6;CP$UIDd;1;0E;K;22;CPViewTrackingAreasKeyD;K;6;CP$UIDd;3;553E;E;D;K;6;$classD;K;6;CP$UIDd;3;530E;K;25;CPTrackinkAreaViewRectKeyD;K;6;CP$UIDd;3;554E;K;24;CPTrackingAreaOptionsKeyD;K;6;CP$UIDd;3;548E;K;22;CPTrackingAreaOwnerKeyD;K;6;CP$UIDd;3;433E;K;25;CPTrackingAreaUserInfoKeyD;K;6;CP$UIDd;1;0E;K;32;CPTrackingAreaReferencingViewKeyD;K;6;CP$UIDd;3;433E;K;24;CPTrackingAreaWindowRectD;K;6;CP$UIDd;3;555E;E;S;18;.AppleSystemUIFontd;2;13D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;556E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;557E;E;E;f;11;0.602715373S;18;{{5, 0}, {-10, 0}}S;18;{{0, 0}, {-10, 0}}D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;f;18;0.5019607843137255D;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;558E;E;d;2;42D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;559E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;558E;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;559E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;558E;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;559E;E;D;K;6;$classD;K;6;CP$UIDd;3;546E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;560E;E;D;K;6;$classD;K;6;CP$UIDd;3;214E;K;10;CP.objectsD;E;E;S;55;{"origin":{"x":0,"y":1},"size":{"width":0,"height":-1}}S;54;{"origin":{"x":0,"y":0},"size":{"width":0,"height":1}}S;25;{"location":0,"length":0}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E; \ No newline at end of file diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.xib b/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.xib new file mode 100644 index 000000000..d9977ee61 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/Resources/MainMenu.xib @@ -0,0 +1,503 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This test application will track delegate methods and notification messages from the CPTextView to the left below. +  +The Call order column tells in which order they are called. It is an increasing global number for each call to a delegate method or notification message. +The Number of calls column show how many times this method or message has been sent. + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/index-debug.html b/Tests/Manual/CPTextViewDelegateAndNotifications/index-debug.html new file mode 100644 index 000000000..153ad11f1 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/index-debug.html @@ -0,0 +1,204 @@ + + + + + + + + + + + + + + + + + + CPTextViewDelegateAndNotifications + + + + + + + + + + + + + + +
+
+
+ +
+
+ +
+ + diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/index.html b/Tests/Manual/CPTextViewDelegateAndNotifications/index.html new file mode 100644 index 000000000..466bd2815 --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/index.html @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + CPTextViewDelegateAndNotifications + + + + + + + + + + + + +
+
+
+ +
+
+ +
+ + diff --git a/Tests/Manual/CPTextViewDelegateAndNotifications/main.j b/Tests/Manual/CPTextViewDelegateAndNotifications/main.j new file mode 100644 index 000000000..c9a59f9ff --- /dev/null +++ b/Tests/Manual/CPTextViewDelegateAndNotifications/main.j @@ -0,0 +1,18 @@ +/* + * AppController.j + * CPTextViewDelegateAndNotifications + * + * Created by You on December 22, 2017. + * Copyright 2017, Your Company All rights reserved. + */ + +@import +@import + +@import "AppController.j" + + +function main(args, namedArgs) +{ + CPApplicationMain(args, namedArgs); +} diff --git a/Tools/capp/Resources/Templates/Application/Jakefile b/Tools/capp/Resources/Templates/Application/Jakefile index a25464947..0eb63a13a 100644 --- a/Tools/capp/Resources/Templates/Application/Jakefile +++ b/Tools/capp/Resources/Templates/Application/Jakefile @@ -38,7 +38,7 @@ app (projectName, function(task) task.setInfoPlistPath("Info.plist"); if (configuration === "Debug") - task.setCompilerFlags("-DDEBUG -g"); + task.setCompilerFlags("-DDEBUG -g -S --inline-msg-send"); else task.setCompilerFlags("-O2"); }); diff --git a/Tools/capp/Resources/Templates/Application/index-debug.html b/Tools/capp/Resources/Templates/Application/index-debug.html index 652466be6..02c62149a 100644 --- a/Tools/capp/Resources/Templates/Application/index-debug.html +++ b/Tools/capp/Resources/Templates/Application/index-debug.html @@ -44,7 +44,7 @@ // more information on decorators. // // Uncomment or comment on the line below to change the flags - OBJJ_COMPILER_FLAGS = ["IncludeDebugSymbols", "IncludeTypeSignatures"/*, "InlineMsgSend"*/]; + OBJJ_COMPILER_FLAGS = ["IncludeDebugSymbols", "IncludeTypeSignatures", "SourceMap", "InlineMsgSend"]; var progressBar = null; diff --git a/Tools/capp/Resources/Templates/Application/index.html b/Tools/capp/Resources/Templates/Application/index.html index 30c76e304..30125b9a4 100644 --- a/Tools/capp/Resources/Templates/Application/index.html +++ b/Tools/capp/Resources/Templates/Application/index.html @@ -36,7 +36,7 @@ // This will affect only Objective-J code that is compiled when loading the application. It will not affect precompiled // code like the Cappuccino frameworks. // Uncomment or comment on the line below to change the flags - OBJJ_COMPILER_FLAGS = [/*"IncludeDebugSymbols"*/, "IncludeTypeSignatures", "InlineMsgSend"]; + OBJJ_COMPILER_FLAGS = [/*"IncludeDebugSymbols"*/, "IncludeTypeSignatures"/*, "SourceMap"*/, "InlineMsgSend"]; var progressBar = null; diff --git a/Tools/capp/Resources/Templates/Framework/Jakefile b/Tools/capp/Resources/Templates/Framework/Jakefile index 0158ad33b..caa4140d2 100644 --- a/Tools/capp/Resources/Templates/Framework/Jakefile +++ b/Tools/capp/Resources/Templates/Framework/Jakefile @@ -110,7 +110,7 @@ var frameworkTask = framework (productName, function(frameworkTask) //frameworkTask.setEnvironments([browserEnvironment]); if (configuration === "Debug") - frameworkTask.setCompilerFlags("-DDEBUG -g"); + frameworkTask.setCompilerFlags("-DDEBUG -g -S --inline-msg-send"); else frameworkTask.setCompilerFlags("-O2"); }); diff --git a/Tools/capp/Resources/Templates/NibApplication/Jakefile b/Tools/capp/Resources/Templates/NibApplication/Jakefile index fd053cf00..c2bd53b58 100644 --- a/Tools/capp/Resources/Templates/NibApplication/Jakefile +++ b/Tools/capp/Resources/Templates/NibApplication/Jakefile @@ -38,7 +38,7 @@ app (projectName, function(task) task.setInfoPlistPath("Info.plist"); if (configuration === "Debug") - task.setCompilerFlags("-DDEBUG -g"); + task.setCompilerFlags("-DDEBUG -g -S --inline-msg-send"); else task.setCompilerFlags("-O2"); }); diff --git a/Tools/capp/Resources/Templates/NibApplication/index-debug.html b/Tools/capp/Resources/Templates/NibApplication/index-debug.html index 652466be6..02c62149a 100644 --- a/Tools/capp/Resources/Templates/NibApplication/index-debug.html +++ b/Tools/capp/Resources/Templates/NibApplication/index-debug.html @@ -44,7 +44,7 @@ // more information on decorators. // // Uncomment or comment on the line below to change the flags - OBJJ_COMPILER_FLAGS = ["IncludeDebugSymbols", "IncludeTypeSignatures"/*, "InlineMsgSend"*/]; + OBJJ_COMPILER_FLAGS = ["IncludeDebugSymbols", "IncludeTypeSignatures", "SourceMap", "InlineMsgSend"]; var progressBar = null; diff --git a/Tools/capp/Resources/Templates/NibApplication/index.html b/Tools/capp/Resources/Templates/NibApplication/index.html index 30c76e304..30125b9a4 100644 --- a/Tools/capp/Resources/Templates/NibApplication/index.html +++ b/Tools/capp/Resources/Templates/NibApplication/index.html @@ -36,7 +36,7 @@ // This will affect only Objective-J code that is compiled when loading the application. It will not affect precompiled // code like the Cappuccino frameworks. // Uncomment or comment on the line below to change the flags - OBJJ_COMPILER_FLAGS = [/*"IncludeDebugSymbols"*/, "IncludeTypeSignatures", "InlineMsgSend"]; + OBJJ_COMPILER_FLAGS = [/*"IncludeDebugSymbols"*/, "IncludeTypeSignatures"/*, "SourceMap"*/, "InlineMsgSend"]; var progressBar = null; diff --git a/Tools/nib2cib/NSTextField.j b/Tools/nib2cib/NSTextField.j index cb0fa306b..ddbf69b48 100644 --- a/Tools/nib2cib/NSTextField.j +++ b/Tools/nib2cib/NSTextField.j @@ -26,6 +26,7 @@ @import "NSCell.j" @import "NSControl.j" +@global NIB_CONNECTION_EQUIVALENCY_TABLE @implementation CPTextField (NSCoding) @@ -82,6 +83,10 @@ if (self) { var cell = [aCoder decodeObjectForKey:@"NSCell"]; + + // If we have bindings/connections connected to the text field cell make sure they are replaced + NIB_CONNECTION_EQUIVALENCY_TABLE[[cell UID]] = self; + [self NS_initWithCell:cell]; [self _adjustNib2CibSize]; }