viewcumber 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +20 -6
- data/Rakefile +11 -0
- data/VERSION +1 -1
- data/build/Application.js +36435 -0
- data/build/Browser.environment/MHTMLData.txt +9 -0
- data/build/Browser.environment/MHTMLPaths.txt +1 -0
- data/build/Browser.environment/MHTMLTest.txt +9 -0
- data/build/Browser.environment/ViewCumber.sj +541 -0
- data/build/Browser.environment/dataURLs.txt +1 -0
- data/build/CommonJS.environment/ViewCumber.sj +542 -0
- data/build/Frameworks/AppKit/Browser.environment/AppKit.sj +28443 -0
- data/build/Frameworks/AppKit/Browser.environment/MHTMLData.txt +679 -0
- data/build/Frameworks/AppKit/Browser.environment/MHTMLPaths.txt +1 -0
- data/build/Frameworks/AppKit/Browser.environment/MHTMLTest.txt +9 -0
- data/build/Frameworks/AppKit/Browser.environment/dataURLs.txt +1 -0
- data/build/Frameworks/AppKit/CommonJS.environment/AppKit.sj +34777 -0
- data/build/Frameworks/AppKit/Info.plist +1 -0
- data/build/Frameworks/AppKit/LICENSE +503 -0
- data/build/Frameworks/AppKit/Resources/AboutPanel.cib +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt +1329 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt +9 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Info.plist +1 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right copy.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-bezel.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-bezel.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-error.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-help-pressed.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-help.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-info.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-warning.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-resize-control.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/scrollview-bottom-corner-color.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/spinner.gif +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-ascending.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-descending.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted-pressed.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-pressed.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableviewselection.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-close-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-close.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-left.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-right.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/New.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/NewHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/Open.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/OpenHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/Save.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPApplication/SaveHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/closedHandCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/contextualMenuCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/disappearingItemCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/dragCopyCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/dragLinkCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/openHandCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/resizeDownCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/resizeLeftCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/resizeRightCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPCursor/resizeUpCursor.cur +0 -0
- data/build/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanel.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewRightShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif +0 -0
- data/build/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldFind.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewVertical.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow3.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow4.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow5.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow6.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow7.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow8.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png +0 -0
- data/build/Frameworks/AppKit/Resources/CPWindowResizeIndicator.png +0 -0
- data/build/Frameworks/AppKit/Resources/FIXME_ImageShadow.png +0 -0
- data/build/Frameworks/AppKit/Resources/GenericFile.png +0 -0
- data/build/Frameworks/AppKit/Resources/HUDTheme/WindowClose.png +0 -0
- data/build/Frameworks/AppKit/Resources/HUDTheme/WindowCloseActive.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png +0 -0
- data/build/Frameworks/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png +0 -0
- data/build/Frameworks/AppKit/Resources/action_button.png +0 -0
- data/build/Frameworks/AppKit/Resources/brightness_bar.png +0 -0
- data/build/Frameworks/AppKit/Resources/browser-leaf-highlighted.png +0 -0
- data/build/Frameworks/AppKit/Resources/browser-leaf.png +0 -0
- data/build/Frameworks/AppKit/Resources/browser-resize-control.png +0 -0
- data/build/Frameworks/AppKit/Resources/color_well.png +0 -0
- data/build/Frameworks/AppKit/Resources/empty.png +0 -0
- data/build/Frameworks/AppKit/Resources/minus_button.png +0 -0
- data/build/Frameworks/AppKit/Resources/plus_button.png +0 -0
- data/build/Frameworks/AppKit/Resources/slider_button.png +0 -0
- data/build/Frameworks/AppKit/Resources/slider_button_h.png +0 -0
- data/build/Frameworks/AppKit/Resources/standardApplicationIcon.png +0 -0
- data/build/Frameworks/AppKit/Resources/wheel.png +0 -0
- data/build/Frameworks/AppKit/Resources/wheel_black.png +0 -0
- data/build/Frameworks/AppKit/Resources/wheel_button.png +0 -0
- data/build/Frameworks/AppKit/Resources/wheel_button_h.png +0 -0
- data/build/Frameworks/Debug/AppKit/Browser.environment/AppKit.sj +41940 -0
- data/build/Frameworks/Debug/AppKit/Browser.environment/MHTMLData.txt +679 -0
- data/build/Frameworks/Debug/AppKit/Browser.environment/MHTMLPaths.txt +1 -0
- data/build/Frameworks/Debug/AppKit/Browser.environment/MHTMLTest.txt +9 -0
- data/build/Frameworks/Debug/AppKit/Browser.environment/dataURLs.txt +1 -0
- data/build/Frameworks/Debug/AppKit/CommonJS.environment/AppKit.sj +40403 -0
- data/build/Frameworks/Debug/AppKit/Info.plist +1 -0
- data/build/Frameworks/Debug/AppKit/LICENSE +503 -0
- data/build/Frameworks/Debug/AppKit/Resources/AboutPanel.cib +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt +1329 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt +9 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Info.plist +1 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right copy.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-bezel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-bezel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-error.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-help-pressed.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-help.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-info.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-warning.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-resize-control.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scrollview-bottom-corner-color.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/spinner.gif +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-ascending.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-descending.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted-pressed.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-pressed.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableviewselection.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-close-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-close.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-left.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-right.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/New.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/NewHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/Open.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/OpenHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/Save.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPApplication/SaveHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/closedHandCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/contextualMenuCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/disappearingItemCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/dragCopyCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/dragLinkCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/openHandCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/resizeDownCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/resizeLeftCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/resizeRightCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPCursor/resizeUpCursor.cur +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImage/CPImageNameColorPanel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewRightShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldFind.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPSplitView/CPSplitViewVertical.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow3.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow4.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow5.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow6.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow7.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow8.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/CPWindowResizeIndicator.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/FIXME_ImageShadow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/GenericFile.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/HUDTheme/WindowClose.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/HUDTheme/WindowCloseActive.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/action_button.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/brightness_bar.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/browser-leaf-highlighted.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/browser-leaf.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/browser-resize-control.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/color_well.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/empty.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/minus_button.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/plus_button.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/slider_button.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/slider_button_h.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/standardApplicationIcon.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/wheel.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/wheel_black.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/wheel_button.png +0 -0
- data/build/Frameworks/Debug/AppKit/Resources/wheel_button_h.png +0 -0
- data/build/Frameworks/Debug/Foundation/Info.plist +1 -0
- data/build/Frameworks/Debug/Foundation/LICENSE +503 -0
- data/build/Frameworks/Debug/Foundation/ObjJ.environment/Foundation.sj +17024 -0
- data/build/Frameworks/Debug/Objective-J/LICENSE +503 -0
- data/build/Frameworks/Debug/Objective-J/Objective-J.js +4600 -0
- data/build/Frameworks/Foundation/Info.plist +1 -0
- data/build/Frameworks/Foundation/LICENSE +503 -0
- data/build/Frameworks/Foundation/ObjJ.environment/Foundation.sj +7233 -0
- data/build/Frameworks/Objective-J/LICENSE +503 -0
- data/build/Frameworks/Objective-J/Objective-J.js +3699 -0
- data/build/Info.plist +1 -0
- data/build/Resources/MailView.cib +1 -0
- data/build/Resources/MainMenu.cib +1 -0
- data/build/Resources/spinner.gif +0 -0
- data/build/index.html +82 -0
- data/lib/viewcumber.rb +108 -623
- data/src/AppController.j +129 -0
- data/src/Email.j +60 -0
- data/src/FeatureFile.j +64 -0
- data/src/FeaturesOutlineViewController.j +175 -0
- data/src/Frameworks/AppKit/Browser.environment/AppKit.sj +36267 -0
- data/src/Frameworks/AppKit/Browser.environment/MHTMLData.txt +679 -0
- data/src/Frameworks/AppKit/Browser.environment/MHTMLPaths.txt +1 -0
- data/src/Frameworks/AppKit/Browser.environment/MHTMLTest.txt +9 -0
- data/src/Frameworks/AppKit/Browser.environment/dataURLs.txt +1 -0
- data/src/Frameworks/AppKit/CommonJS.environment/AppKit.sj +34777 -0
- data/src/Frameworks/AppKit/Info.plist +1 -0
- data/src/Frameworks/AppKit/LICENSE +503 -0
- data/src/Frameworks/AppKit/Resources/AboutPanel.cib +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt +1329 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt +9 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Info.plist +1 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right copy.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-bezel.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-bezel.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-error.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-help-pressed.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-help.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-info.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/alert-warning.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-resize-control.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-image.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image-selected.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-image.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/scrollview-bottom-corner-color.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/spinner.gif +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-ascending.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-descending.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted-pressed.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-pressed.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableview-headerview.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/tableviewselection.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-close-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-close.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-highlighted-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-left.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/token-right.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/New.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/NewHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/Open.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/OpenHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/Save.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPApplication/SaveHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/closedHandCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/contextualMenuCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/disappearingItemCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/dragCopyCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/dragLinkCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/openHandCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/resizeDownCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/resizeLeftCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/resizeRightCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPCursor/resizeUpCursor.cur +0 -0
- data/src/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanel.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewRightShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif +0 -0
- data/src/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldFind.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewVertical.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow3.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow4.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow5.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow6.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow7.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow8.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png +0 -0
- data/src/Frameworks/AppKit/Resources/CPWindowResizeIndicator.png +0 -0
- data/src/Frameworks/AppKit/Resources/FIXME_ImageShadow.png +0 -0
- data/src/Frameworks/AppKit/Resources/GenericFile.png +0 -0
- data/src/Frameworks/AppKit/Resources/HUDTheme/WindowClose.png +0 -0
- data/src/Frameworks/AppKit/Resources/HUDTheme/WindowCloseActive.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png +0 -0
- data/src/Frameworks/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png +0 -0
- data/src/Frameworks/AppKit/Resources/action_button.png +0 -0
- data/src/Frameworks/AppKit/Resources/brightness_bar.png +0 -0
- data/src/Frameworks/AppKit/Resources/browser-leaf-highlighted.png +0 -0
- data/src/Frameworks/AppKit/Resources/browser-leaf.png +0 -0
- data/src/Frameworks/AppKit/Resources/browser-resize-control.png +0 -0
- data/src/Frameworks/AppKit/Resources/color_well.png +0 -0
- data/src/Frameworks/AppKit/Resources/empty.png +0 -0
- data/src/Frameworks/AppKit/Resources/minus_button.png +0 -0
- data/src/Frameworks/AppKit/Resources/plus_button.png +0 -0
- data/src/Frameworks/AppKit/Resources/slider_button.png +0 -0
- data/src/Frameworks/AppKit/Resources/slider_button_h.png +0 -0
- data/src/Frameworks/AppKit/Resources/standardApplicationIcon.png +0 -0
- data/src/Frameworks/AppKit/Resources/wheel.png +0 -0
- data/src/Frameworks/AppKit/Resources/wheel_black.png +0 -0
- data/src/Frameworks/AppKit/Resources/wheel_button.png +0 -0
- data/src/Frameworks/AppKit/Resources/wheel_button_h.png +0 -0
- data/src/Frameworks/Debug/AppKit/Browser.environment/AppKit.sj +41940 -0
- data/src/Frameworks/Debug/AppKit/Browser.environment/MHTMLData.txt +679 -0
- data/src/Frameworks/Debug/AppKit/Browser.environment/MHTMLPaths.txt +1 -0
- data/src/Frameworks/Debug/AppKit/Browser.environment/MHTMLTest.txt +9 -0
- data/src/Frameworks/Debug/AppKit/Browser.environment/dataURLs.txt +1 -0
- data/src/Frameworks/Debug/AppKit/CommonJS.environment/AppKit.sj +40403 -0
- data/src/Frameworks/Debug/AppKit/Info.plist +1 -0
- data/src/Frameworks/Debug/AppKit/LICENSE +503 -0
- data/src/Frameworks/Debug/AppKit/Resources/AboutPanel.cib +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt +1329 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt +9 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Info.plist +1 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/default-button-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/horizontal-track-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right copy.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-pushed-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/segmented-control-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-bezel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-bezel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-disabled-knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/slider-circular-knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-disabled-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/HUD/vertical-track-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-error.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-help-pressed.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-help.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-info.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/alert-warning.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-button-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/buttonbar-resize-control.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-mixed.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image-selected.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/check-box-image.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image-selected.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/radio-image.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/scrollview-bottom-corner-color.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/spinner.gif +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-down-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-disabled-up-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-down-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-down-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-highlighted-up-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/stepper-bezel-big-up-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-ascending.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-descending.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted-pressed.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview-pressed.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableview-headerview.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/tableviewselection.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-close-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-close.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-highlighted-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-left.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/token-right.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/New.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/NewHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/Open.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/OpenHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/Save.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPApplication/SaveHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/closedHandCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/contextualMenuCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/disappearingItemCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/dragCopyCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/dragLinkCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/openHandCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/resizeDownCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/resizeLeftCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/resizeRightCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPCursor/resizeUpCursor.cur +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImage/CPImageNameColorPanel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewRightShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPImageView/CPImageViewTopShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldFind.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPSplitView/CPSplitViewVertical.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow3.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow4.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow5.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow6.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow7.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/CPWindowShadow8.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/CPWindowResizeIndicator.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/FIXME_ImageShadow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/GenericFile.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/HUDTheme/WindowClose.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/HUDTheme/WindowCloseActive.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/action_button.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/brightness_bar.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/browser-leaf-highlighted.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/browser-leaf.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/browser-resize-control.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/color_well.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/empty.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/minus_button.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/plus_button.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/slider_button.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/slider_button_h.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/standardApplicationIcon.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/wheel.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/wheel_black.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/wheel_button.png +0 -0
- data/src/Frameworks/Debug/AppKit/Resources/wheel_button_h.png +0 -0
- data/src/Frameworks/Debug/Foundation/Info.plist +1 -0
- data/src/Frameworks/Debug/Foundation/LICENSE +503 -0
- data/src/Frameworks/Debug/Foundation/ObjJ.environment/Foundation.sj +17024 -0
- data/src/Frameworks/Debug/Objective-J/LICENSE +503 -0
- data/src/Frameworks/Debug/Objective-J/Objective-J.js +4600 -0
- data/src/Frameworks/Foundation/Info.plist +1 -0
- data/src/Frameworks/Foundation/LICENSE +503 -0
- data/src/Frameworks/Foundation/ObjJ.environment/Foundation.sj +12376 -0
- data/src/Frameworks/Objective-J/LICENSE +503 -0
- data/src/Frameworks/Objective-J/Objective-J.js +3699 -0
- data/src/Info.plist +12 -0
- data/src/Jakefile +94 -0
- data/src/MailViewController.j +55 -0
- data/src/Resources/MailView.cib +1 -0
- data/src/Resources/MailView.xib +706 -0
- data/src/Resources/MainMenu.cib +1 -0
- data/src/Resources/MainMenu.xib +1037 -0
- data/src/Resources/spinner.gif +0 -0
- data/src/Scenario.j +32 -0
- data/src/ScenarioTableViewController.j +71 -0
- data/src/Step.j +36 -0
- data/src/index-debug.html +892 -0
- data/src/index.html +78 -0
- data/src/main.j +18 -0
- data/viewcumber.gemspec +1772 -20
- metadata +1764 -11
- data/.gitignore +0 -21
- data/lib/assets/jquery-min.js +0 -154
- data/lib/assets/viewcumber.css +0 -41
- data/lib/assets/viewcumber.js +0 -84
- data/lib/assets/viewless.html +0 -9
@@ -0,0 +1,4600 @@
|
|
1
|
+
/*
|
2
|
+
* Objective-J.js
|
3
|
+
* Objective-J
|
4
|
+
*
|
5
|
+
* Created by Francisco Tolmasky.
|
6
|
+
* Copyright 2008-2010, 280 North, Inc.
|
7
|
+
*
|
8
|
+
* This library is free software; you can redistribute it and/or
|
9
|
+
* modify it under the terms of the GNU Lesser General Public
|
10
|
+
* License as published by the Free Software Foundation; either
|
11
|
+
* version 2.1 of the License, or (at your option) any later version.
|
12
|
+
*
|
13
|
+
* This library is distributed in the hope that it will be useful,
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16
|
+
* Lesser General Public License for more details.
|
17
|
+
*
|
18
|
+
* You should have received a copy of the GNU Lesser General Public
|
19
|
+
* License along with this library; if not, write to the Free Software
|
20
|
+
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
21
|
+
*/
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
var ObjectiveJ = { };
|
27
|
+
|
28
|
+
(function (global, exports)
|
29
|
+
{
|
30
|
+
if (!this.JSON) {
|
31
|
+
JSON = {};
|
32
|
+
}
|
33
|
+
(function () {
|
34
|
+
function f(n) {
|
35
|
+
return n < 10 ? '0' + n : n;
|
36
|
+
}
|
37
|
+
if (typeof Date.prototype.toJSON !== 'function') {
|
38
|
+
Date.prototype.toJSON = function (key) {
|
39
|
+
return this.getUTCFullYear() + '-' +
|
40
|
+
f(this.getUTCMonth() + 1) + '-' +
|
41
|
+
f(this.getUTCDate()) + 'T' +
|
42
|
+
f(this.getUTCHours()) + ':' +
|
43
|
+
f(this.getUTCMinutes()) + ':' +
|
44
|
+
f(this.getUTCSeconds()) + 'Z';
|
45
|
+
};
|
46
|
+
String.prototype.toJSON =
|
47
|
+
Number.prototype.toJSON =
|
48
|
+
Boolean.prototype.toJSON = function (key) {
|
49
|
+
return this.valueOf();
|
50
|
+
};
|
51
|
+
}
|
52
|
+
var cx = new RegExp('[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]', "g");
|
53
|
+
var escapable = new RegExp('[\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]', "g");
|
54
|
+
var gap,
|
55
|
+
indent,
|
56
|
+
meta = {
|
57
|
+
'\b': '\\b',
|
58
|
+
'\t': '\\t',
|
59
|
+
'\n': '\\n',
|
60
|
+
'\f': '\\f',
|
61
|
+
'\r': '\\r',
|
62
|
+
'"' : '\\"',
|
63
|
+
'\\': '\\\\'
|
64
|
+
},
|
65
|
+
rep;
|
66
|
+
function quote(string) {
|
67
|
+
escapable.lastIndex = 0;
|
68
|
+
return escapable.test(string) ?
|
69
|
+
'"' + string.replace(escapable, function (a) {
|
70
|
+
var c = meta[a];
|
71
|
+
return typeof c === 'string' ? c :
|
72
|
+
'\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);
|
73
|
+
}) + '"' :
|
74
|
+
'"' + string + '"';
|
75
|
+
}
|
76
|
+
function str(key, holder) {
|
77
|
+
var i,
|
78
|
+
k,
|
79
|
+
v,
|
80
|
+
length,
|
81
|
+
mind = gap,
|
82
|
+
partial,
|
83
|
+
value = holder[key];
|
84
|
+
if (value && typeof value === 'object' &&
|
85
|
+
typeof value.toJSON === 'function') {
|
86
|
+
value = value.toJSON(key);
|
87
|
+
}
|
88
|
+
if (typeof rep === 'function') {
|
89
|
+
value = rep.call(holder, key, value);
|
90
|
+
}
|
91
|
+
switch (typeof value) {
|
92
|
+
case 'string':
|
93
|
+
return quote(value);
|
94
|
+
case 'number':
|
95
|
+
return isFinite(value) ? String(value) : 'null';
|
96
|
+
case 'boolean':
|
97
|
+
case 'null':
|
98
|
+
return String(value);
|
99
|
+
case 'object':
|
100
|
+
if (!value) {
|
101
|
+
return 'null';
|
102
|
+
}
|
103
|
+
gap += indent;
|
104
|
+
partial = [];
|
105
|
+
if (Object.prototype.toString.apply(value) === '[object Array]') {
|
106
|
+
length = value.length;
|
107
|
+
for (i = 0; i < length; i += 1) {
|
108
|
+
partial[i] = str(i, value) || 'null';
|
109
|
+
}
|
110
|
+
v = partial.length === 0 ? '[]' :
|
111
|
+
gap ? '[\n' + gap +
|
112
|
+
partial.join(',\n' + gap) + '\n' +
|
113
|
+
mind + ']' :
|
114
|
+
'[' + partial.join(',') + ']';
|
115
|
+
gap = mind;
|
116
|
+
return v;
|
117
|
+
}
|
118
|
+
if (rep && typeof rep === 'object') {
|
119
|
+
length = rep.length;
|
120
|
+
for (i = 0; i < length; i += 1) {
|
121
|
+
k = rep[i];
|
122
|
+
if (typeof k === 'string') {
|
123
|
+
v = str(k, value);
|
124
|
+
if (v) {
|
125
|
+
partial.push(quote(k) + (gap ? ': ' : ':') + v);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
}
|
129
|
+
} else {
|
130
|
+
for (k in value) {
|
131
|
+
if (Object.hasOwnProperty.call(value, k)) {
|
132
|
+
v = str(k, value);
|
133
|
+
if (v) {
|
134
|
+
partial.push(quote(k) + (gap ? ': ' : ':') + v);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
v = partial.length === 0 ? '{}' :
|
140
|
+
gap ? '{\n' + gap + partial.join(',\n' + gap) + '\n' +
|
141
|
+
mind + '}' : '{' + partial.join(',') + '}';
|
142
|
+
gap = mind;
|
143
|
+
return v;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
if (typeof JSON.stringify !== 'function') {
|
147
|
+
JSON.stringify = function (value, replacer, space) {
|
148
|
+
var i;
|
149
|
+
gap = '';
|
150
|
+
indent = '';
|
151
|
+
if (typeof space === 'number') {
|
152
|
+
for (i = 0; i < space; i += 1) {
|
153
|
+
indent += ' ';
|
154
|
+
}
|
155
|
+
} else if (typeof space === 'string') {
|
156
|
+
indent = space;
|
157
|
+
}
|
158
|
+
rep = replacer;
|
159
|
+
if (replacer && typeof replacer !== 'function' &&
|
160
|
+
(typeof replacer !== 'object' ||
|
161
|
+
typeof replacer.length !== 'number')) {
|
162
|
+
throw new Error('JSON.stringify');
|
163
|
+
}
|
164
|
+
return str('', {'': value});
|
165
|
+
};
|
166
|
+
}
|
167
|
+
if (typeof JSON.parse !== 'function') {
|
168
|
+
JSON.parse = function (text, reviver) {
|
169
|
+
var j;
|
170
|
+
function walk(holder, key) {
|
171
|
+
var k, v, value = holder[key];
|
172
|
+
if (value && typeof value === 'object') {
|
173
|
+
for (k in value) {
|
174
|
+
if (Object.hasOwnProperty.call(value, k)) {
|
175
|
+
v = walk(value, k);
|
176
|
+
if (v !== undefined) {
|
177
|
+
value[k] = v;
|
178
|
+
} else {
|
179
|
+
delete value[k];
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
}
|
184
|
+
return reviver.call(holder, key, value);
|
185
|
+
}
|
186
|
+
cx.lastIndex = 0;
|
187
|
+
if (cx.test(text)) {
|
188
|
+
text = text.replace(cx, function (a) {
|
189
|
+
return '\\u' +
|
190
|
+
('0000' + a.charCodeAt(0).toString(16)).slice(-4);
|
191
|
+
});
|
192
|
+
}
|
193
|
+
if (/^[\],:{}\s]*$/.
|
194
|
+
test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@').
|
195
|
+
replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']').
|
196
|
+
replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) {
|
197
|
+
j = eval('(' + text + ')');
|
198
|
+
return typeof reviver === 'function' ?
|
199
|
+
walk({'': j}, '') : j;
|
200
|
+
}
|
201
|
+
throw new SyntaxError('JSON.parse');
|
202
|
+
};
|
203
|
+
}
|
204
|
+
}());
|
205
|
+
var formatRegex = new RegExp("([^%]+|%(?:\\d+\\$)?[\\+\\-\\ \\#0]*[0-9\\*]*(.[0-9\\*]+)?[hlL]?[cbBdieEfgGosuxXpn%@])", "g");
|
206
|
+
var tagRegex = new RegExp("(%)(?:(\\d+)\\$)?([\\+\\-\\ \\#0]*)([0-9\\*]*)((?:.[0-9\\*]+)?)([hlL]?)([cbBdieEfgGosuxXpn%@])");
|
207
|
+
exports.sprintf = function(format)
|
208
|
+
{
|
209
|
+
var format = arguments[0],
|
210
|
+
tokens = format.match(formatRegex),
|
211
|
+
index = 0,
|
212
|
+
result = "",
|
213
|
+
arg = 1;
|
214
|
+
for (var i = 0; i < tokens.length; i++)
|
215
|
+
{
|
216
|
+
var t = tokens[i];
|
217
|
+
if (format.substring(index, index + t.length) != t)
|
218
|
+
{
|
219
|
+
return result;
|
220
|
+
}
|
221
|
+
index += t.length;
|
222
|
+
if (t.charAt(0) != "%")
|
223
|
+
{
|
224
|
+
result += t;
|
225
|
+
}
|
226
|
+
else
|
227
|
+
{
|
228
|
+
var subtokens = t.match(tagRegex);
|
229
|
+
if (subtokens.length != 8 || subtokens[0] != t)
|
230
|
+
{
|
231
|
+
return result;
|
232
|
+
}
|
233
|
+
var percentSign = subtokens[1],
|
234
|
+
argIndex = subtokens[2],
|
235
|
+
flags = subtokens[3],
|
236
|
+
widthString = subtokens[4],
|
237
|
+
precisionString = subtokens[5],
|
238
|
+
length = subtokens[6],
|
239
|
+
specifier = subtokens[7];
|
240
|
+
if (argIndex === undefined || argIndex === null || argIndex === "")
|
241
|
+
argIndex = arg++;
|
242
|
+
else
|
243
|
+
argIndex = Number(argIndex);
|
244
|
+
var width = null;
|
245
|
+
if (widthString == "*")
|
246
|
+
width = arguments[argIndex];
|
247
|
+
else if (widthString != "")
|
248
|
+
width = Number(widthString);
|
249
|
+
var precision = null;
|
250
|
+
if (precisionString == ".*")
|
251
|
+
precision = arguments[argIndex];
|
252
|
+
else if (precisionString != "")
|
253
|
+
precision = Number(precisionString.substring(1));
|
254
|
+
var leftJustify = (flags.indexOf("-") >= 0);
|
255
|
+
var padZeros = (flags.indexOf("0") >= 0);
|
256
|
+
var subresult = "";
|
257
|
+
if (RegExp("[bBdiufeExXo]").test(specifier))
|
258
|
+
{
|
259
|
+
var num = Number(arguments[argIndex]);
|
260
|
+
var sign = "";
|
261
|
+
if (num < 0)
|
262
|
+
{
|
263
|
+
sign = "-";
|
264
|
+
}
|
265
|
+
else
|
266
|
+
{
|
267
|
+
if (flags.indexOf("+") >= 0)
|
268
|
+
sign = "+";
|
269
|
+
else if (flags.indexOf(" ") >= 0)
|
270
|
+
sign = " ";
|
271
|
+
}
|
272
|
+
if (specifier == "d" || specifier == "i" || specifier == "u")
|
273
|
+
{
|
274
|
+
var number = String(Math.abs(Math.floor(num)));
|
275
|
+
subresult = justify(sign, "", number, "", width, leftJustify, padZeros)
|
276
|
+
}
|
277
|
+
if (specifier == "f")
|
278
|
+
{
|
279
|
+
var number = String((precision != null) ? Math.abs(num).toFixed(precision) : Math.abs(num));
|
280
|
+
var suffix = (flags.indexOf("#") >= 0 && number.indexOf(".") < 0) ? "." : "";
|
281
|
+
subresult = justify(sign, "", number, suffix, width, leftJustify, padZeros);
|
282
|
+
}
|
283
|
+
if (specifier == "e" || specifier == "E")
|
284
|
+
{
|
285
|
+
var number = String(Math.abs(num).toExponential(precision != null ? precision : 21));
|
286
|
+
var suffix = (flags.indexOf("#") >= 0 && number.indexOf(".") < 0) ? "." : "";
|
287
|
+
subresult = justify(sign, "", number, suffix, width, leftJustify, padZeros);
|
288
|
+
}
|
289
|
+
if (specifier == "x" || specifier == "X")
|
290
|
+
{
|
291
|
+
var number = String(Math.abs(num).toString(16));
|
292
|
+
var prefix = (flags.indexOf("#") >= 0 && num != 0) ? "0x" : "";
|
293
|
+
subresult = justify(sign, prefix, number, "", width, leftJustify, padZeros);
|
294
|
+
}
|
295
|
+
if (specifier == "b" || specifier == "B")
|
296
|
+
{
|
297
|
+
var number = String(Math.abs(num).toString(2));
|
298
|
+
var prefix = (flags.indexOf("#") >= 0 && num != 0) ? "0b" : "";
|
299
|
+
subresult = justify(sign, prefix, number, "", width, leftJustify, padZeros);
|
300
|
+
}
|
301
|
+
if (specifier == "o")
|
302
|
+
{
|
303
|
+
var number = String(Math.abs(num).toString(8));
|
304
|
+
var prefix = (flags.indexOf("#") >= 0 && num != 0) ? "0" : "";
|
305
|
+
subresult = justify(sign, prefix, number, "", width, leftJustify, padZeros);
|
306
|
+
}
|
307
|
+
if (RegExp("[A-Z]").test(specifier))
|
308
|
+
subresult = subresult.toUpperCase();
|
309
|
+
else
|
310
|
+
subresult = subresult.toLowerCase();
|
311
|
+
}
|
312
|
+
else
|
313
|
+
{
|
314
|
+
var subresult = "";
|
315
|
+
if (specifier == "%")
|
316
|
+
subresult = "%";
|
317
|
+
else if (specifier == "c")
|
318
|
+
subresult = String(arguments[argIndex]).charAt(0);
|
319
|
+
else if (specifier == "s" || specifier == "@")
|
320
|
+
subresult = String(arguments[argIndex]);
|
321
|
+
else if (specifier == "p" || specifier == "n")
|
322
|
+
{
|
323
|
+
subresult = "";
|
324
|
+
}
|
325
|
+
subresult = justify("", "", subresult, "", width, leftJustify, false);
|
326
|
+
}
|
327
|
+
result += subresult;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
return result;
|
331
|
+
}
|
332
|
+
function justify(sign, prefix, string, suffix, width, leftJustify, padZeros)
|
333
|
+
{
|
334
|
+
var length = (sign.length + prefix.length + string.length + suffix.length);
|
335
|
+
if (leftJustify)
|
336
|
+
{
|
337
|
+
return sign + prefix + string + suffix + pad(width - length, " ");
|
338
|
+
}
|
339
|
+
else
|
340
|
+
{
|
341
|
+
if (padZeros)
|
342
|
+
return sign + prefix + pad(width - length, "0") + string + suffix;
|
343
|
+
else
|
344
|
+
return pad(width - length, " ") + sign + prefix + string + suffix;
|
345
|
+
}
|
346
|
+
}
|
347
|
+
function pad(n, ch)
|
348
|
+
{
|
349
|
+
return Array(MAX(0,n)+1).join(ch);
|
350
|
+
}
|
351
|
+
CPLogDisable = false;
|
352
|
+
var CPLogDefaultTitle = "Cappuccino";
|
353
|
+
var CPLogLevels = ["fatal", "error", "warn", "info", "debug", "trace"];
|
354
|
+
var CPLogDefaultLevel = CPLogLevels[3];
|
355
|
+
var _CPLogLevelsInverted = {};
|
356
|
+
for (var i = 0; i < CPLogLevels.length; i++)
|
357
|
+
_CPLogLevelsInverted[CPLogLevels[i]] = i;
|
358
|
+
var _CPLogRegistrations = {};
|
359
|
+
CPLogRegister = function(aProvider, aMaxLevel, aFormatter)
|
360
|
+
{
|
361
|
+
CPLogRegisterRange(aProvider, CPLogLevels[0], aMaxLevel || CPLogLevels[CPLogLevels.length-1], aFormatter);
|
362
|
+
}
|
363
|
+
CPLogRegisterRange = function(aProvider, aMinLevel, aMaxLevel, aFormatter)
|
364
|
+
{
|
365
|
+
var min = _CPLogLevelsInverted[aMinLevel];
|
366
|
+
var max = _CPLogLevelsInverted[aMaxLevel];
|
367
|
+
if (min !== undefined && max !== undefined && min <= max)
|
368
|
+
for (var i = min; i <= max; i++)
|
369
|
+
CPLogRegisterSingle(aProvider, CPLogLevels[i], aFormatter);
|
370
|
+
}
|
371
|
+
CPLogRegisterSingle = function(aProvider, aLevel, aFormatter)
|
372
|
+
{
|
373
|
+
if (!_CPLogRegistrations[aLevel])
|
374
|
+
_CPLogRegistrations[aLevel] = [];
|
375
|
+
for (var i = 0; i < _CPLogRegistrations[aLevel].length; i++)
|
376
|
+
if (_CPLogRegistrations[aLevel][i][0] === aProvider)
|
377
|
+
{
|
378
|
+
_CPLogRegistrations[aLevel][i][1] = aFormatter;
|
379
|
+
return;
|
380
|
+
}
|
381
|
+
_CPLogRegistrations[aLevel].push([aProvider, aFormatter]);
|
382
|
+
}
|
383
|
+
CPLogUnregister = function(aProvider) {
|
384
|
+
for (var aLevel in _CPLogRegistrations)
|
385
|
+
for (var i = 0; i < _CPLogRegistrations[aLevel].length; i++)
|
386
|
+
if (_CPLogRegistrations[aLevel][i][0] === aProvider)
|
387
|
+
_CPLogRegistrations[aLevel].splice(i--, 1);
|
388
|
+
}
|
389
|
+
function _CPLogDispatch(parameters, aLevel, aTitle)
|
390
|
+
{
|
391
|
+
if (aTitle == undefined)
|
392
|
+
aTitle = CPLogDefaultTitle;
|
393
|
+
if (aLevel == undefined)
|
394
|
+
aLevel = CPLogDefaultLevel;
|
395
|
+
var message = (typeof parameters[0] == "string" && parameters.length > 1) ? exports.sprintf.apply(null, parameters) : String(parameters[0]);
|
396
|
+
if (_CPLogRegistrations[aLevel])
|
397
|
+
for (var i = 0; i < _CPLogRegistrations[aLevel].length; i++)
|
398
|
+
{
|
399
|
+
var logger = _CPLogRegistrations[aLevel][i];
|
400
|
+
logger[0](message, aLevel, aTitle, logger[1]);
|
401
|
+
}
|
402
|
+
}
|
403
|
+
CPLog = function() { _CPLogDispatch(arguments); }
|
404
|
+
for (var i = 0; i < CPLogLevels.length; i++)
|
405
|
+
CPLog[CPLogLevels[i]] = (function(level) { return function() { _CPLogDispatch(arguments, level); }; })(CPLogLevels[i]);
|
406
|
+
var _CPFormatLogMessage = function(aString, aLevel, aTitle)
|
407
|
+
{
|
408
|
+
var now = new Date();
|
409
|
+
aLevel = ( aLevel == null ? '' : ' [' + CPLogColorize(aLevel, aLevel) + ']' );
|
410
|
+
if (typeof exports.sprintf == "function")
|
411
|
+
return exports.sprintf("%4d-%02d-%02d %02d:%02d:%02d.%03d %s%s: %s",
|
412
|
+
now.getFullYear(), now.getMonth() + 1, now.getDate(),
|
413
|
+
now.getHours(), now.getMinutes(), now.getSeconds(), now.getMilliseconds(),
|
414
|
+
aTitle, aLevel, aString);
|
415
|
+
else
|
416
|
+
return now + " " + aTitle + aLevel + ": " + aString;
|
417
|
+
}
|
418
|
+
CPLogConsole = function(aString, aLevel, aTitle, aFormatter)
|
419
|
+
{
|
420
|
+
if (typeof console != "undefined")
|
421
|
+
{
|
422
|
+
var message = (aFormatter || _CPFormatLogMessage)(aString, aLevel, aTitle);
|
423
|
+
var logger = {
|
424
|
+
"fatal": "error",
|
425
|
+
"error": "error",
|
426
|
+
"warn": "warn",
|
427
|
+
"info": "info",
|
428
|
+
"debug": "debug",
|
429
|
+
"trace": "debug"
|
430
|
+
}[aLevel];
|
431
|
+
if (logger && console[logger])
|
432
|
+
console[logger](message);
|
433
|
+
else if (console.log)
|
434
|
+
console.log(message);
|
435
|
+
}
|
436
|
+
}
|
437
|
+
CPLogColorize = function(aString, aLevel)
|
438
|
+
{
|
439
|
+
return aString;
|
440
|
+
}
|
441
|
+
CPLogAlert = function(aString, aLevel, aTitle, aFormatter)
|
442
|
+
{
|
443
|
+
if (typeof alert != "undefined" && !CPLogDisable)
|
444
|
+
{
|
445
|
+
var message = (aFormatter || _CPFormatLogMessage)(aString, aLevel, aTitle);
|
446
|
+
CPLogDisable = !confirm(message + "\n\n(Click cancel to stop log alerts)");
|
447
|
+
}
|
448
|
+
}
|
449
|
+
var CPLogWindow = null;
|
450
|
+
CPLogPopup = function(aString, aLevel, aTitle, aFormatter)
|
451
|
+
{
|
452
|
+
try {
|
453
|
+
if (CPLogDisable || window.open == undefined)
|
454
|
+
return;
|
455
|
+
if (!CPLogWindow || !CPLogWindow.document)
|
456
|
+
{
|
457
|
+
CPLogWindow = window.open("", "_blank", "width=600,height=400,status=no,resizable=yes,scrollbars=yes");
|
458
|
+
if (!CPLogWindow) {
|
459
|
+
CPLogDisable = !confirm(aString + "\n\n(Disable pop-up blocking for CPLog window; Click cancel to stop log alerts)");
|
460
|
+
return;
|
461
|
+
}
|
462
|
+
_CPLogInitPopup(CPLogWindow);
|
463
|
+
}
|
464
|
+
var logDiv = CPLogWindow.document.createElement("div");
|
465
|
+
logDiv.setAttribute("class", aLevel || "fatal");
|
466
|
+
var message = (aFormatter || _CPFormatLogMessage)(aString, aFormatter ? aLevel : null, aTitle);
|
467
|
+
logDiv.appendChild(CPLogWindow.document.createTextNode(message));
|
468
|
+
CPLogWindow.log.appendChild(logDiv);
|
469
|
+
if (CPLogWindow.focusEnabled.checked)
|
470
|
+
CPLogWindow.focus();
|
471
|
+
if (CPLogWindow.blockEnabled.checked)
|
472
|
+
CPLogWindow.blockEnabled.checked = CPLogWindow.confirm(message+"\nContinue blocking?");
|
473
|
+
if (CPLogWindow.scrollEnabled.checked)
|
474
|
+
CPLogWindow.scrollToBottom();
|
475
|
+
} catch(e) {
|
476
|
+
}
|
477
|
+
}
|
478
|
+
var CPLogPopupStyle ='<style type="text/css" media="screen"> body{font:10px Monaco,Courier,"Courier New",monospace,mono;padding-top:15px;} div > .fatal,div > .error,div > .warn,div > .info,div > .debug,div > .trace{display:none;overflow:hidden;white-space:pre;padding:0px 5px 0px 5px;margin-top:2px;-moz-border-radius:5px;-webkit-border-radius:5px;} div[wrap="yes"] > div{white-space:normal;} .fatal{background-color:#ffb2b3;} .error{background-color:#ffe2b2;} .warn{background-color:#fdffb2;} .info{background-color:#e4ffb2;} .debug{background-color:#a0e5a0;} .trace{background-color:#99b9ff;} .enfatal .fatal,.enerror .error,.enwarn .warn,.eninfo .info,.endebug .debug,.entrace .trace{display:block;} div#header{background-color:rgba(240,240,240,0.82);position:fixed;top:0px;left:0px;width:100%;border-bottom:1px solid rgba(0,0,0,0.33);text-align:center;} ul#enablers{display:inline-block;margin:1px 15px 0 15px;padding:2px 0 2px 0;} ul#enablers li{display:inline;padding:0px 5px 0px 5px;margin-left:4px;-moz-border-radius:5px;-webkit-border-radius:5px;} [enabled="no"]{opacity:0.25;} ul#options{display:inline-block;margin:0 15px 0px 15px;padding:0 0px;} ul#options li{margin:0 0 0 0;padding:0 0 0 0;display:inline;} </style>';
|
479
|
+
function _CPLogInitPopup(logWindow)
|
480
|
+
{
|
481
|
+
var doc = logWindow.document;
|
482
|
+
doc.writeln("<html><head><title></title>"+CPLogPopupStyle+"</head><body></body></html>");
|
483
|
+
doc.title = CPLogDefaultTitle + " Run Log";
|
484
|
+
var head = doc.getElementsByTagName("head")[0];
|
485
|
+
var body = doc.getElementsByTagName("body")[0];
|
486
|
+
var base = window.location.protocol + "//" + window.location.host + window.location.pathname;
|
487
|
+
base = base.substring(0,base.lastIndexOf("/")+1);
|
488
|
+
var div = doc.createElement("div");
|
489
|
+
div.setAttribute("id", "header");
|
490
|
+
body.appendChild(div);
|
491
|
+
var ul = doc.createElement("ul");
|
492
|
+
ul.setAttribute("id", "enablers");
|
493
|
+
div.appendChild(ul);
|
494
|
+
for (var i = 0; i < CPLogLevels.length; i++) {
|
495
|
+
var li = doc.createElement("li");
|
496
|
+
li.setAttribute("id", "en"+CPLogLevels[i]);
|
497
|
+
li.setAttribute("class", CPLogLevels[i]);
|
498
|
+
li.setAttribute("onclick", "toggle(this);");
|
499
|
+
li.setAttribute("enabled", "yes");
|
500
|
+
li.appendChild(doc.createTextNode(CPLogLevels[i]));
|
501
|
+
ul.appendChild(li);
|
502
|
+
}
|
503
|
+
var ul = doc.createElement("ul");
|
504
|
+
ul.setAttribute("id", "options");
|
505
|
+
div.appendChild(ul);
|
506
|
+
var options = {"focus":["Focus",false], "block":["Block",false], "wrap":["Wrap",false], "scroll":["Scroll",true], "close":["Close",true]};
|
507
|
+
for (o in options) {
|
508
|
+
var li = doc.createElement("li");
|
509
|
+
ul.appendChild(li);
|
510
|
+
logWindow[o+"Enabled"] = doc.createElement("input");
|
511
|
+
logWindow[o+"Enabled"].setAttribute("id", o);
|
512
|
+
logWindow[o+"Enabled"].setAttribute("type", "checkbox");
|
513
|
+
if (options[o][1])
|
514
|
+
logWindow[o+"Enabled"].setAttribute("checked", "checked");
|
515
|
+
li.appendChild(logWindow[o+"Enabled"]);
|
516
|
+
var label = doc.createElement("label");
|
517
|
+
label.setAttribute("for", o);
|
518
|
+
label.appendChild(doc.createTextNode(options[o][0]));
|
519
|
+
li.appendChild(label);
|
520
|
+
}
|
521
|
+
logWindow.log = doc.createElement("div");
|
522
|
+
logWindow.log.setAttribute("class", "enerror endebug enwarn eninfo enfatal entrace");
|
523
|
+
body.appendChild(logWindow.log);
|
524
|
+
logWindow.toggle = function(elem) {
|
525
|
+
var enabled = (elem.getAttribute("enabled") == "yes") ? "no" : "yes";
|
526
|
+
elem.setAttribute("enabled", enabled);
|
527
|
+
if (enabled == "yes")
|
528
|
+
logWindow.log.className += " " + elem.id
|
529
|
+
else
|
530
|
+
logWindow.log.className = logWindow.log.className.replace(new RegExp("[\\s]*"+elem.id, "g"), "");
|
531
|
+
}
|
532
|
+
logWindow.scrollToBottom = function() {
|
533
|
+
logWindow.scrollTo(0, body.offsetHeight);
|
534
|
+
}
|
535
|
+
logWindow.wrapEnabled.addEventListener("click", function() {
|
536
|
+
logWindow.log.setAttribute("wrap", logWindow.wrapEnabled.checked ? "yes" : "no");
|
537
|
+
}, false);
|
538
|
+
logWindow.addEventListener("keydown", function(e) {
|
539
|
+
var e = e || logWindow.event;
|
540
|
+
if (e.keyCode == 75 && (e.ctrlKey || e.metaKey)) {
|
541
|
+
while (logWindow.log.firstChild) {
|
542
|
+
logWindow.log.removeChild(logWindow.log.firstChild);
|
543
|
+
}
|
544
|
+
e.preventDefault();
|
545
|
+
}
|
546
|
+
}, "false");
|
547
|
+
window.addEventListener("unload", function() {
|
548
|
+
if (logWindow && logWindow.closeEnabled && logWindow.closeEnabled.checked) {
|
549
|
+
CPLogDisable = true;
|
550
|
+
logWindow.close();
|
551
|
+
}
|
552
|
+
}, false);
|
553
|
+
logWindow.addEventListener("unload", function() {
|
554
|
+
if (!CPLogDisable) {
|
555
|
+
CPLogDisable = !confirm("Click cancel to stop logging");
|
556
|
+
}
|
557
|
+
}, false);
|
558
|
+
}
|
559
|
+
CPLogDefault = (typeof window === "object" && window.console) ? CPLogConsole : CPLogPopup;
|
560
|
+
var undefined;
|
561
|
+
if (typeof window !== "undefined")
|
562
|
+
{
|
563
|
+
window.setNativeTimeout = window.setTimeout;
|
564
|
+
window.clearNativeTimeout = window.clearTimeout;
|
565
|
+
window.setNativeInterval = window.setInterval;
|
566
|
+
window.clearNativeInterval = window.clearInterval;
|
567
|
+
}
|
568
|
+
NO = false;
|
569
|
+
YES = true;
|
570
|
+
nil = null;
|
571
|
+
Nil = null;
|
572
|
+
NULL = null;
|
573
|
+
ABS = Math.abs;
|
574
|
+
ASIN = Math.asin;
|
575
|
+
ACOS = Math.acos;
|
576
|
+
ATAN = Math.atan;
|
577
|
+
ATAN2 = Math.atan2;
|
578
|
+
SIN = Math.sin;
|
579
|
+
COS = Math.cos;
|
580
|
+
TAN = Math.tan;
|
581
|
+
EXP = Math.exp;
|
582
|
+
POW = Math.pow;
|
583
|
+
CEIL = Math.ceil;
|
584
|
+
FLOOR = Math.floor;
|
585
|
+
ROUND = Math.round;
|
586
|
+
MIN = Math.min;
|
587
|
+
MAX = Math.max;
|
588
|
+
RAND = Math.random;
|
589
|
+
SQRT = Math.sqrt;
|
590
|
+
E = Math.E;
|
591
|
+
LN2 = Math.LN2;
|
592
|
+
LN10 = Math.LN10;
|
593
|
+
LOG2E = Math.LOG2E;
|
594
|
+
LOG10E = Math.LOG10E;
|
595
|
+
PI = Math.PI;
|
596
|
+
PI2 = Math.PI * 2.0;
|
597
|
+
PI_2 = Math.PI / 2.0;
|
598
|
+
SQRT1_2 = Math.SQRT1_2;
|
599
|
+
SQRT2 = Math.SQRT2;
|
600
|
+
function EventDispatcher( anOwner)
|
601
|
+
{
|
602
|
+
this._eventListenersForEventNames = { };
|
603
|
+
this._owner = anOwner;
|
604
|
+
}
|
605
|
+
EventDispatcher.prototype.addEventListener = function( anEventName, anEventListener)
|
606
|
+
{
|
607
|
+
var eventListenersForEventNames = this._eventListenersForEventNames;
|
608
|
+
if (!hasOwnProperty.call(eventListenersForEventNames, anEventName))
|
609
|
+
{
|
610
|
+
var eventListenersForEventName = [];
|
611
|
+
eventListenersForEventNames[anEventName] = eventListenersForEventName;
|
612
|
+
}
|
613
|
+
else
|
614
|
+
var eventListenersForEventName = eventListenersForEventNames[anEventName];
|
615
|
+
var index = eventListenersForEventName.length;
|
616
|
+
while (index--)
|
617
|
+
if (eventListenersForEventName[index] === anEventListener)
|
618
|
+
return;
|
619
|
+
eventListenersForEventName.push(anEventListener);
|
620
|
+
}
|
621
|
+
EventDispatcher.prototype.removeEventListener = function( anEventName, anEventListener)
|
622
|
+
{
|
623
|
+
var eventListenersForEventNames = this._eventListenersForEventNames;
|
624
|
+
if (!hasOwnProperty.call(eventListenersForEventNames, anEventName))
|
625
|
+
return;
|
626
|
+
var eventListenersForEventName = eventListenersForEventNames[anEventName],
|
627
|
+
index = eventListenersForEventName.length;
|
628
|
+
while (index--)
|
629
|
+
if (eventListenersForEventName[index] === anEventListener)
|
630
|
+
return eventListenersForEventName.splice(index, 1);
|
631
|
+
}
|
632
|
+
EventDispatcher.prototype.dispatchEvent = function( anEvent)
|
633
|
+
{
|
634
|
+
var type = anEvent.type,
|
635
|
+
eventListenersForEventNames = this._eventListenersForEventNames;
|
636
|
+
if (hasOwnProperty.call(eventListenersForEventNames, type))
|
637
|
+
{
|
638
|
+
var eventListenersForEventName = this._eventListenersForEventNames[type],
|
639
|
+
index = 0,
|
640
|
+
count = eventListenersForEventName.length;
|
641
|
+
for (; index < count; ++index)
|
642
|
+
eventListenersForEventName[index](anEvent);
|
643
|
+
}
|
644
|
+
var manual = (this._owner || this)["on" + type];
|
645
|
+
if (manual)
|
646
|
+
manual(anEvent);
|
647
|
+
}
|
648
|
+
var asynchronousTimeoutCount = 0,
|
649
|
+
asynchronousTimeoutId = null,
|
650
|
+
asynchronousFunctionQueue = [];
|
651
|
+
function Asynchronous( aFunction)
|
652
|
+
{
|
653
|
+
var currentAsynchronousTimeoutCount = asynchronousTimeoutCount;
|
654
|
+
if (asynchronousTimeoutId === null)
|
655
|
+
{
|
656
|
+
window.setNativeTimeout(function()
|
657
|
+
{
|
658
|
+
var queue = asynchronousFunctionQueue,
|
659
|
+
index = 0,
|
660
|
+
count = asynchronousFunctionQueue.length;
|
661
|
+
++asynchronousTimeoutCount;
|
662
|
+
asynchronousTimeoutId = null;
|
663
|
+
asynchronousFunctionQueue = [];
|
664
|
+
for (; index < count; ++index)
|
665
|
+
queue[index]();
|
666
|
+
}, 0);
|
667
|
+
}
|
668
|
+
return function()
|
669
|
+
{
|
670
|
+
var args = arguments;
|
671
|
+
if (asynchronousTimeoutCount > currentAsynchronousTimeoutCount)
|
672
|
+
aFunction.apply(this, args);
|
673
|
+
else
|
674
|
+
asynchronousFunctionQueue.push(function() { aFunction.apply(this, args) });
|
675
|
+
};
|
676
|
+
}
|
677
|
+
var NativeRequest = null;
|
678
|
+
if (window.ActiveXObject !== undefined)
|
679
|
+
{
|
680
|
+
var MSXML_XMLHTTP_OBJECTS = ["Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP.6.0"],
|
681
|
+
index = MSXML_XMLHTTP_OBJECTS.length;
|
682
|
+
while (index--)
|
683
|
+
{
|
684
|
+
try
|
685
|
+
{
|
686
|
+
var MSXML_XMLHTTP = MSXML_XMLHTTP_OBJECTS[index];
|
687
|
+
new ActiveXObject(MSXML_XMLHTTP);
|
688
|
+
NativeRequest = function()
|
689
|
+
{
|
690
|
+
return new ActiveXObject(MSXML_XMLHTTP);
|
691
|
+
}
|
692
|
+
break;
|
693
|
+
}
|
694
|
+
catch (anException)
|
695
|
+
{
|
696
|
+
}
|
697
|
+
}
|
698
|
+
}
|
699
|
+
if (!NativeRequest)
|
700
|
+
NativeRequest = window.XMLHttpRequest;
|
701
|
+
CFHTTPRequest = function()
|
702
|
+
{
|
703
|
+
this._isOpen = false;
|
704
|
+
this._requestHeaders = {};
|
705
|
+
this._mimeType = null;
|
706
|
+
this._eventDispatcher = new EventDispatcher(this);
|
707
|
+
this._nativeRequest = new NativeRequest();
|
708
|
+
var self = this;
|
709
|
+
this._stateChangeHandler = function()
|
710
|
+
{
|
711
|
+
determineAndDispatchHTTPRequestEvents(self);
|
712
|
+
}
|
713
|
+
this._nativeRequest.onreadystatechange = this._stateChangeHandler;
|
714
|
+
if (CFHTTPRequest.AuthenticationDelegate !== nil)
|
715
|
+
this._eventDispatcher.addEventListener("HTTP403", function(){CFHTTPRequest.AuthenticationDelegate(self)});
|
716
|
+
}
|
717
|
+
CFHTTPRequest.UninitializedState = 0;
|
718
|
+
CFHTTPRequest.LoadingState = 1;
|
719
|
+
CFHTTPRequest.LoadedState = 2;
|
720
|
+
CFHTTPRequest.InteractiveState = 3;
|
721
|
+
CFHTTPRequest.CompleteState = 4;
|
722
|
+
CFHTTPRequest.AuthenticationDelegate = nil;
|
723
|
+
CFHTTPRequest.prototype.status = function()
|
724
|
+
{
|
725
|
+
try
|
726
|
+
{
|
727
|
+
return this._nativeRequest.status || 0;
|
728
|
+
}
|
729
|
+
catch (anException)
|
730
|
+
{
|
731
|
+
return 0;
|
732
|
+
}
|
733
|
+
}
|
734
|
+
CFHTTPRequest.prototype.statusText = function()
|
735
|
+
{
|
736
|
+
try
|
737
|
+
{
|
738
|
+
return this._nativeRequest.statusText || "";
|
739
|
+
}
|
740
|
+
catch (anException)
|
741
|
+
{
|
742
|
+
return "";
|
743
|
+
}
|
744
|
+
}
|
745
|
+
CFHTTPRequest.prototype.readyState = function()
|
746
|
+
{
|
747
|
+
return this._nativeRequest.readyState;
|
748
|
+
}
|
749
|
+
CFHTTPRequest.prototype.success = function()
|
750
|
+
{
|
751
|
+
var status = this.status();
|
752
|
+
if (status >= 200 && status < 300)
|
753
|
+
return YES;
|
754
|
+
return status === 0 && this.responseText() && this.responseText().length;
|
755
|
+
}
|
756
|
+
CFHTTPRequest.prototype.responseXML = function()
|
757
|
+
{
|
758
|
+
var responseXML = this._nativeRequest.responseXML;
|
759
|
+
if (responseXML && (NativeRequest === window.XMLHttpRequest))
|
760
|
+
return responseXML;
|
761
|
+
return parseXML(this.responseText());
|
762
|
+
}
|
763
|
+
CFHTTPRequest.prototype.responsePropertyList = function()
|
764
|
+
{
|
765
|
+
var responseText = this.responseText();
|
766
|
+
if (CFPropertyList.sniffedFormatOfString(responseText) === CFPropertyList.FormatXML_v1_0)
|
767
|
+
return CFPropertyList.propertyListFromXML(this.responseXML());
|
768
|
+
return CFPropertyList.propertyListFromString(responseText);
|
769
|
+
}
|
770
|
+
CFHTTPRequest.prototype.responseText = function()
|
771
|
+
{
|
772
|
+
return this._nativeRequest.responseText;
|
773
|
+
}
|
774
|
+
CFHTTPRequest.prototype.setRequestHeader = function( aHeader, aValue)
|
775
|
+
{
|
776
|
+
this._requestHeaders[aHeader] = aValue;
|
777
|
+
}
|
778
|
+
CFHTTPRequest.prototype.getResponseHeader = function( aHeader)
|
779
|
+
{
|
780
|
+
return this._nativeRequest.getResponseHeader(aHeader);
|
781
|
+
}
|
782
|
+
CFHTTPRequest.prototype.getAllResponseHeaders = function()
|
783
|
+
{
|
784
|
+
return this._nativeRequest.getAllResponseHeaders();
|
785
|
+
}
|
786
|
+
CFHTTPRequest.prototype.overrideMimeType = function( aMimeType)
|
787
|
+
{
|
788
|
+
this._mimeType = aMimeType;
|
789
|
+
}
|
790
|
+
CFHTTPRequest.prototype.open = function( aMethod, aURL, isAsynchronous, aUser, aPassword)
|
791
|
+
{
|
792
|
+
this._isOpen = true;
|
793
|
+
this._URL = aURL;
|
794
|
+
this._async = isAsynchronous;
|
795
|
+
this._method = aMethod;
|
796
|
+
this._user = aUser;
|
797
|
+
this._password = aPassword;
|
798
|
+
return this._nativeRequest.open(aMethod, aURL, isAsynchronous, aUser, aPassword);
|
799
|
+
}
|
800
|
+
CFHTTPRequest.prototype.send = function( aBody)
|
801
|
+
{
|
802
|
+
if (!this._isOpen)
|
803
|
+
{
|
804
|
+
delete this._nativeRequest.onreadystatechange;
|
805
|
+
this._nativeRequest.open(this._method, this._URL, this._async, this._user, this._password);
|
806
|
+
this._nativeRequest.onreadystatechange = this._stateChangeHandler;
|
807
|
+
}
|
808
|
+
for (var i in this._requestHeaders)
|
809
|
+
{
|
810
|
+
if (this._requestHeaders.hasOwnProperty(i))
|
811
|
+
this._nativeRequest.setRequestHeader(i, this._requestHeaders[i]);
|
812
|
+
}
|
813
|
+
if (this._mimeType && "overrideMimeType" in this._nativeRequest)
|
814
|
+
this._nativeRequest.overrideMimeType(this._mimeType);
|
815
|
+
this._isOpen = false;
|
816
|
+
try
|
817
|
+
{
|
818
|
+
return this._nativeRequest.send(aBody);
|
819
|
+
}
|
820
|
+
catch (anException)
|
821
|
+
{
|
822
|
+
this._eventDispatcher.dispatchEvent({ type:"failure", request:this });
|
823
|
+
}
|
824
|
+
}
|
825
|
+
CFHTTPRequest.prototype.abort = function()
|
826
|
+
{
|
827
|
+
this._isOpen = false;
|
828
|
+
return this._nativeRequest.abort();
|
829
|
+
}
|
830
|
+
CFHTTPRequest.prototype.addEventListener = function( anEventName, anEventListener)
|
831
|
+
{
|
832
|
+
this._eventDispatcher.addEventListener(anEventName, anEventListener);
|
833
|
+
}
|
834
|
+
CFHTTPRequest.prototype.removeEventListener = function( anEventName, anEventListener)
|
835
|
+
{
|
836
|
+
this._eventDispatcher.removeEventListener(anEventName, anEventListener);
|
837
|
+
}
|
838
|
+
function determineAndDispatchHTTPRequestEvents( aRequest)
|
839
|
+
{
|
840
|
+
var eventDispatcher = aRequest._eventDispatcher;
|
841
|
+
eventDispatcher.dispatchEvent({ type:"readystatechange", request:aRequest});
|
842
|
+
var nativeRequest = aRequest._nativeRequest,
|
843
|
+
readyStates = ["uninitialized", "loading", "loaded", "interactive", "complete"];
|
844
|
+
if (readyStates[aRequest.readyState()] === "complete")
|
845
|
+
{
|
846
|
+
var status = "HTTP" + aRequest.status();
|
847
|
+
eventDispatcher.dispatchEvent({ type:status, request:aRequest });
|
848
|
+
var result = aRequest.success() ? "success" : "failure";
|
849
|
+
eventDispatcher.dispatchEvent({ type:result, request:aRequest });
|
850
|
+
eventDispatcher.dispatchEvent({ type:readyStates[aRequest.readyState()], request:aRequest});
|
851
|
+
}
|
852
|
+
else
|
853
|
+
eventDispatcher.dispatchEvent({ type:readyStates[aRequest.readyState()], request:aRequest});
|
854
|
+
}
|
855
|
+
function FileRequest( aURL, onsuccess, onfailure)
|
856
|
+
{
|
857
|
+
var request = new CFHTTPRequest();
|
858
|
+
if (aURL.pathExtension() === "plist")
|
859
|
+
request.overrideMimeType("text/xml");
|
860
|
+
if (exports.asyncLoader)
|
861
|
+
{
|
862
|
+
request.onsuccess = Asynchronous(onsuccess);
|
863
|
+
request.onfailure = Asynchronous(onfailure);
|
864
|
+
}
|
865
|
+
else
|
866
|
+
{
|
867
|
+
request.onsuccess = onsuccess;
|
868
|
+
request.onfailure = onfailure;
|
869
|
+
}
|
870
|
+
request.open("GET", aURL.absoluteString(), exports.asyncLoader);
|
871
|
+
request.send("");
|
872
|
+
}
|
873
|
+
exports.asyncLoader = YES;
|
874
|
+
exports.Asynchronous = Asynchronous;
|
875
|
+
exports.determineAndDispatchHTTPRequestEvents = determineAndDispatchHTTPRequestEvents;
|
876
|
+
var OBJECT_COUNT = 0;
|
877
|
+
objj_generateObjectUID = function()
|
878
|
+
{
|
879
|
+
return OBJECT_COUNT++;
|
880
|
+
}
|
881
|
+
CFPropertyList = function()
|
882
|
+
{
|
883
|
+
this._UID = objj_generateObjectUID();
|
884
|
+
}
|
885
|
+
CFPropertyList.DTDRE = /^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?/i
|
886
|
+
CFPropertyList.XMLRE = /^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?<\s*plist[^>]*\>/i;
|
887
|
+
CFPropertyList.FormatXMLDTD = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">";
|
888
|
+
CFPropertyList.Format280NorthMagicNumber = "280NPLIST";
|
889
|
+
CFPropertyList.FormatOpenStep = 1,
|
890
|
+
CFPropertyList.FormatXML_v1_0 = 100,
|
891
|
+
CFPropertyList.FormatBinary_v1_0 = 200,
|
892
|
+
CFPropertyList.Format280North_v1_0 = -1000;
|
893
|
+
CFPropertyList.sniffedFormatOfString = function( aString)
|
894
|
+
{
|
895
|
+
if (aString.match(CFPropertyList.XMLRE))
|
896
|
+
return CFPropertyList.FormatXML_v1_0;
|
897
|
+
if (aString.substr(0, CFPropertyList.Format280NorthMagicNumber.length) === CFPropertyList.Format280NorthMagicNumber)
|
898
|
+
return CFPropertyList.Format280North_v1_0;
|
899
|
+
return NULL;
|
900
|
+
}
|
901
|
+
CFPropertyList.dataFromPropertyList = function( aPropertyList, aFormat)
|
902
|
+
{
|
903
|
+
var data = new CFMutableData();
|
904
|
+
data.setRawString(CFPropertyList.stringFromPropertyList(aPropertyList, aFormat));
|
905
|
+
return data;
|
906
|
+
}
|
907
|
+
CFPropertyList.stringFromPropertyList = function( aPropertyList, aFormat)
|
908
|
+
{
|
909
|
+
if (!aFormat)
|
910
|
+
aFormat = CFPropertyList.Format280North_v1_0;
|
911
|
+
var serializers = CFPropertyListSerializers[aFormat];
|
912
|
+
return serializers["start"]() +
|
913
|
+
serializePropertyList(aPropertyList, serializers) +
|
914
|
+
serializers["finish"]();
|
915
|
+
}
|
916
|
+
function serializePropertyList( aPropertyList, serializers)
|
917
|
+
{
|
918
|
+
var type = typeof aPropertyList,
|
919
|
+
valueOf = aPropertyList.valueOf(),
|
920
|
+
typeValueOf = typeof valueOf;
|
921
|
+
if (type !== typeValueOf)
|
922
|
+
{
|
923
|
+
type = typeValueOf;
|
924
|
+
aPropertyList = valueOf;
|
925
|
+
}
|
926
|
+
if (aPropertyList === YES || aPropertyList === NO)
|
927
|
+
type = "boolean";
|
928
|
+
else if (type === "number")
|
929
|
+
{
|
930
|
+
if (FLOOR(aPropertyList) === aPropertyList)
|
931
|
+
type = "integer";
|
932
|
+
else
|
933
|
+
type = "real";
|
934
|
+
}
|
935
|
+
else if (type !== "string")
|
936
|
+
{
|
937
|
+
if (aPropertyList.slice)
|
938
|
+
type = "array";
|
939
|
+
else
|
940
|
+
type = "dictionary";
|
941
|
+
}
|
942
|
+
return serializers[type](aPropertyList, serializers);
|
943
|
+
}
|
944
|
+
var CFPropertyListSerializers = { };
|
945
|
+
CFPropertyListSerializers[CFPropertyList.FormatXML_v1_0] =
|
946
|
+
{
|
947
|
+
"start": function()
|
948
|
+
{
|
949
|
+
return CFPropertyList.FormatXMLDTD + "<plist version = \"1.0\">";
|
950
|
+
},
|
951
|
+
"finish": function()
|
952
|
+
{
|
953
|
+
return "</plist>";
|
954
|
+
},
|
955
|
+
"string": function( aString)
|
956
|
+
{
|
957
|
+
return "<string>" + encodeHTMLComponent(aString) + "</string>";;
|
958
|
+
},
|
959
|
+
"boolean" : function( aBoolean)
|
960
|
+
{
|
961
|
+
return aBoolean ? "<true/>" : "<false/>";
|
962
|
+
},
|
963
|
+
"integer": function( anInteger)
|
964
|
+
{
|
965
|
+
return "<integer>" + anInteger + "</integer>";
|
966
|
+
},
|
967
|
+
"real": function( aFloat)
|
968
|
+
{
|
969
|
+
return "<real>" + aFloat + "</real>";
|
970
|
+
},
|
971
|
+
"array": function( anArray, serializers)
|
972
|
+
{
|
973
|
+
var index = 0,
|
974
|
+
count = anArray.length,
|
975
|
+
string = "<array>";
|
976
|
+
for (; index < count; ++index)
|
977
|
+
string += serializePropertyList(anArray[index], serializers);
|
978
|
+
return string + "</array>";
|
979
|
+
},
|
980
|
+
"dictionary": function( aDictionary, serializers)
|
981
|
+
{
|
982
|
+
var keys = aDictionary._keys,
|
983
|
+
index = 0,
|
984
|
+
count = keys.length,
|
985
|
+
string = "<dict>";
|
986
|
+
for (; index < count; ++index)
|
987
|
+
{
|
988
|
+
var key = keys[index];
|
989
|
+
string += "<key>" + key + "</key>";
|
990
|
+
string += serializePropertyList(aDictionary.valueForKey(key), serializers);
|
991
|
+
}
|
992
|
+
return string + "</dict>";
|
993
|
+
}
|
994
|
+
}
|
995
|
+
var ARRAY_MARKER = "A",
|
996
|
+
DICTIONARY_MARKER = "D",
|
997
|
+
FLOAT_MARKER = "f",
|
998
|
+
INTEGER_MARKER = "d",
|
999
|
+
STRING_MARKER = "S",
|
1000
|
+
TRUE_MARKER = "T",
|
1001
|
+
FALSE_MARKER = "F",
|
1002
|
+
KEY_MARKER = "K",
|
1003
|
+
END_MARKER = "E";
|
1004
|
+
CFPropertyListSerializers[CFPropertyList.Format280North_v1_0] =
|
1005
|
+
{
|
1006
|
+
"start": function()
|
1007
|
+
{
|
1008
|
+
return CFPropertyList.Format280NorthMagicNumber + ";1.0;";
|
1009
|
+
},
|
1010
|
+
"finish": function()
|
1011
|
+
{
|
1012
|
+
return "";
|
1013
|
+
},
|
1014
|
+
"string" : function( aString)
|
1015
|
+
{
|
1016
|
+
return STRING_MARKER + ';' + aString.length + ';' + aString;
|
1017
|
+
},
|
1018
|
+
"boolean" : function( aBoolean)
|
1019
|
+
{
|
1020
|
+
return (aBoolean ? TRUE_MARKER : FALSE_MARKER) + ';';
|
1021
|
+
},
|
1022
|
+
"integer": function( anInteger)
|
1023
|
+
{
|
1024
|
+
var string = "" + anInteger;
|
1025
|
+
return INTEGER_MARKER + ';' + string.length + ';' + string;
|
1026
|
+
},
|
1027
|
+
"real": function( aFloat)
|
1028
|
+
{
|
1029
|
+
var string = "" + aFloat;
|
1030
|
+
return FLOAT_MARKER + ';' + string.length + ';' + string;
|
1031
|
+
},
|
1032
|
+
"array": function( anArray, serializers)
|
1033
|
+
{
|
1034
|
+
var index = 0,
|
1035
|
+
count = anArray.length,
|
1036
|
+
string = ARRAY_MARKER + ';';
|
1037
|
+
for (; index < count; ++index)
|
1038
|
+
string += serializePropertyList(anArray[index], serializers);
|
1039
|
+
return string + END_MARKER + ';';
|
1040
|
+
},
|
1041
|
+
"dictionary": function( aDictionary, serializers)
|
1042
|
+
{
|
1043
|
+
var keys = aDictionary._keys,
|
1044
|
+
index = 0,
|
1045
|
+
count = keys.length,
|
1046
|
+
string = DICTIONARY_MARKER +';';
|
1047
|
+
for (; index < count; ++index)
|
1048
|
+
{
|
1049
|
+
var key = keys[index];
|
1050
|
+
string += KEY_MARKER + ';' + key.length + ';' + key;
|
1051
|
+
string += serializePropertyList(aDictionary.valueForKey(key), serializers);
|
1052
|
+
}
|
1053
|
+
return string + END_MARKER + ';';
|
1054
|
+
}
|
1055
|
+
}
|
1056
|
+
var XML_XML = "xml",
|
1057
|
+
XML_DOCUMENT = "#document",
|
1058
|
+
PLIST_PLIST = "plist",
|
1059
|
+
PLIST_KEY = "key",
|
1060
|
+
PLIST_DICTIONARY = "dict",
|
1061
|
+
PLIST_ARRAY = "array",
|
1062
|
+
PLIST_STRING = "string",
|
1063
|
+
PLIST_BOOLEAN_TRUE = "true",
|
1064
|
+
PLIST_BOOLEAN_FALSE = "false",
|
1065
|
+
PLIST_NUMBER_REAL = "real",
|
1066
|
+
PLIST_NUMBER_INTEGER = "integer",
|
1067
|
+
PLIST_DATA = "data";
|
1068
|
+
var _plist_traverseNextNode = function(anXMLNode, stayWithin, stack)
|
1069
|
+
{
|
1070
|
+
var node = anXMLNode;
|
1071
|
+
node = (node.firstChild); if (node !== NULL && ((node.nodeType) === 8 || (node.nodeType) === 3)) while ((node = (node.nextSibling)) && ((node.nodeType) === 8 || (node.nodeType) === 3)) ;;
|
1072
|
+
if (node)
|
1073
|
+
return node;
|
1074
|
+
if ((String(anXMLNode.nodeName)) === PLIST_ARRAY || (String(anXMLNode.nodeName)) === PLIST_DICTIONARY)
|
1075
|
+
stack.pop();
|
1076
|
+
else
|
1077
|
+
{
|
1078
|
+
if (node === stayWithin)
|
1079
|
+
return NULL;
|
1080
|
+
node = anXMLNode;
|
1081
|
+
while ((node = (node.nextSibling)) && ((node.nodeType) === 8 || (node.nodeType) === 3)) ;;
|
1082
|
+
if (node)
|
1083
|
+
return node;
|
1084
|
+
}
|
1085
|
+
node = anXMLNode;
|
1086
|
+
while (node)
|
1087
|
+
{
|
1088
|
+
var next = node;
|
1089
|
+
while ((next = (next.nextSibling)) && ((next.nodeType) === 8 || (next.nodeType) === 3)) ;;
|
1090
|
+
if (next)
|
1091
|
+
return next;
|
1092
|
+
var node = (node.parentNode);
|
1093
|
+
if (stayWithin && node === stayWithin)
|
1094
|
+
return NULL;
|
1095
|
+
stack.pop();
|
1096
|
+
}
|
1097
|
+
return NULL;
|
1098
|
+
}
|
1099
|
+
CFPropertyList.propertyListFromData = function( aData, aFormat)
|
1100
|
+
{
|
1101
|
+
return CFPropertyList.propertyListFromString(aData.rawString(), aFormat);
|
1102
|
+
}
|
1103
|
+
CFPropertyList.propertyListFromString = function( aString, aFormat)
|
1104
|
+
{
|
1105
|
+
if (!aFormat)
|
1106
|
+
aFormat = CFPropertyList.sniffedFormatOfString(aString);
|
1107
|
+
if (aFormat === CFPropertyList.FormatXML_v1_0)
|
1108
|
+
return CFPropertyList.propertyListFromXML(aString);
|
1109
|
+
if (aFormat === CFPropertyList.Format280North_v1_0)
|
1110
|
+
return propertyListFrom280NorthString(aString);
|
1111
|
+
return NULL;
|
1112
|
+
}
|
1113
|
+
var ARRAY_MARKER = "A",
|
1114
|
+
DICTIONARY_MARKER = "D",
|
1115
|
+
FLOAT_MARKER = "f",
|
1116
|
+
INTEGER_MARKER = "d",
|
1117
|
+
STRING_MARKER = "S",
|
1118
|
+
TRUE_MARKER = "T",
|
1119
|
+
FALSE_MARKER = "F",
|
1120
|
+
KEY_MARKER = "K",
|
1121
|
+
END_MARKER = "E";
|
1122
|
+
function propertyListFrom280NorthString( aString)
|
1123
|
+
{
|
1124
|
+
var stream = new MarkedStream(aString),
|
1125
|
+
marker = NULL,
|
1126
|
+
key = "",
|
1127
|
+
object = NULL,
|
1128
|
+
plistObject = NULL,
|
1129
|
+
containers = [],
|
1130
|
+
currentContainer = NULL;
|
1131
|
+
while (marker = stream.getMarker())
|
1132
|
+
{
|
1133
|
+
if (marker === END_MARKER)
|
1134
|
+
{
|
1135
|
+
containers.pop();
|
1136
|
+
continue;
|
1137
|
+
}
|
1138
|
+
var count = containers.length;
|
1139
|
+
if (count)
|
1140
|
+
currentContainer = containers[count - 1];
|
1141
|
+
if (marker === KEY_MARKER)
|
1142
|
+
{
|
1143
|
+
key = stream.getString();
|
1144
|
+
marker = stream.getMarker();
|
1145
|
+
}
|
1146
|
+
switch (marker)
|
1147
|
+
{
|
1148
|
+
case ARRAY_MARKER: object = []
|
1149
|
+
containers.push(object);
|
1150
|
+
break;
|
1151
|
+
case DICTIONARY_MARKER: object = new CFMutableDictionary();
|
1152
|
+
containers.push(object);
|
1153
|
+
break;
|
1154
|
+
case FLOAT_MARKER: object = parseFloat(stream.getString());
|
1155
|
+
break;
|
1156
|
+
case INTEGER_MARKER: object = parseInt(stream.getString(), 10);
|
1157
|
+
break;
|
1158
|
+
case STRING_MARKER: object = stream.getString();
|
1159
|
+
break;
|
1160
|
+
case TRUE_MARKER: object = YES;
|
1161
|
+
break;
|
1162
|
+
case FALSE_MARKER: object = NO;
|
1163
|
+
break;
|
1164
|
+
default: throw new Error("*** " + marker + " marker not recognized in Plist.");
|
1165
|
+
}
|
1166
|
+
if (!plistObject)
|
1167
|
+
plistObject = object;
|
1168
|
+
else if (currentContainer)
|
1169
|
+
if (currentContainer.slice)
|
1170
|
+
currentContainer.push(object);
|
1171
|
+
else
|
1172
|
+
currentContainer.setValueForKey(key, object);
|
1173
|
+
}
|
1174
|
+
return plistObject;
|
1175
|
+
}
|
1176
|
+
function encodeHTMLComponent( aString)
|
1177
|
+
{
|
1178
|
+
return aString.replace(/&/g,'&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g,'<').replace(/>/g,'>');
|
1179
|
+
}
|
1180
|
+
function decodeHTMLComponent( aString)
|
1181
|
+
{
|
1182
|
+
return aString.replace(/"/g, '"').replace(/'/g, '\'').replace(/</g,'<').replace(/>/g,'>').replace(/&/g,'&');
|
1183
|
+
}
|
1184
|
+
function parseXML( aString)
|
1185
|
+
{
|
1186
|
+
if (window.DOMParser)
|
1187
|
+
return (new window.DOMParser().parseFromString(aString, "text/xml").documentElement);
|
1188
|
+
else if (window.ActiveXObject)
|
1189
|
+
{
|
1190
|
+
XMLNode = new ActiveXObject("Microsoft.XMLDOM");
|
1191
|
+
var matches = aString.match(CFPropertyList.DTDRE);
|
1192
|
+
if (matches)
|
1193
|
+
aString = aString.substr(matches[0].length);
|
1194
|
+
XMLNode.loadXML(aString);
|
1195
|
+
return XMLNode
|
1196
|
+
}
|
1197
|
+
return NULL;
|
1198
|
+
}
|
1199
|
+
CFPropertyList.propertyListFromXML = function( aStringOrXMLNode)
|
1200
|
+
{
|
1201
|
+
var XMLNode = aStringOrXMLNode;
|
1202
|
+
if (aStringOrXMLNode.valueOf && typeof aStringOrXMLNode.valueOf() === "string")
|
1203
|
+
XMLNode = parseXML(aStringOrXMLNode);
|
1204
|
+
while (((String(XMLNode.nodeName)) === XML_DOCUMENT) || ((String(XMLNode.nodeName)) === XML_XML))
|
1205
|
+
XMLNode = (XMLNode.firstChild); if (XMLNode !== NULL && ((XMLNode.nodeType) === 8 || (XMLNode.nodeType) === 3)) while ((XMLNode = (XMLNode.nextSibling)) && ((XMLNode.nodeType) === 8 || (XMLNode.nodeType) === 3)) ;;
|
1206
|
+
if (((XMLNode.nodeType) === 10))
|
1207
|
+
while ((XMLNode = (XMLNode.nextSibling)) && ((XMLNode.nodeType) === 8 || (XMLNode.nodeType) === 3)) ;;
|
1208
|
+
if (!((String(XMLNode.nodeName)) === PLIST_PLIST))
|
1209
|
+
return NULL;
|
1210
|
+
var key = "",
|
1211
|
+
object = NULL,
|
1212
|
+
plistObject = NULL,
|
1213
|
+
plistNode = XMLNode,
|
1214
|
+
containers = [],
|
1215
|
+
currentContainer = NULL;
|
1216
|
+
while (XMLNode = _plist_traverseNextNode(XMLNode, plistNode, containers))
|
1217
|
+
{
|
1218
|
+
var count = containers.length;
|
1219
|
+
if (count)
|
1220
|
+
currentContainer = containers[count - 1];
|
1221
|
+
if ((String(XMLNode.nodeName)) === PLIST_KEY)
|
1222
|
+
{
|
1223
|
+
key = ((String((XMLNode.firstChild).nodeValue)));
|
1224
|
+
while ((XMLNode = (XMLNode.nextSibling)) && ((XMLNode.nodeType) === 8 || (XMLNode.nodeType) === 3)) ;;
|
1225
|
+
}
|
1226
|
+
switch (String((String(XMLNode.nodeName))))
|
1227
|
+
{
|
1228
|
+
case PLIST_ARRAY: object = []
|
1229
|
+
containers.push(object);
|
1230
|
+
break;
|
1231
|
+
case PLIST_DICTIONARY: object = new CFMutableDictionary();
|
1232
|
+
containers.push(object);
|
1233
|
+
break;
|
1234
|
+
case PLIST_NUMBER_REAL: object = parseFloat(((String((XMLNode.firstChild).nodeValue))));
|
1235
|
+
break;
|
1236
|
+
case PLIST_NUMBER_INTEGER: object = parseInt(((String((XMLNode.firstChild).nodeValue))), 10);
|
1237
|
+
break;
|
1238
|
+
case PLIST_STRING: if ((XMLNode.getAttribute("type") === "base64"))
|
1239
|
+
object = (XMLNode.firstChild) ? CFData.decodeBase64ToString(((String((XMLNode.firstChild).nodeValue)))) : "";
|
1240
|
+
else
|
1241
|
+
object = decodeHTMLComponent((XMLNode.firstChild) ? ((String((XMLNode.firstChild).nodeValue))) : "");
|
1242
|
+
break;
|
1243
|
+
case PLIST_BOOLEAN_TRUE: object = YES;
|
1244
|
+
break;
|
1245
|
+
case PLIST_BOOLEAN_FALSE: object = NO;
|
1246
|
+
break;
|
1247
|
+
case PLIST_DATA: object = new CFMutableData();
|
1248
|
+
object.bytes = (XMLNode.firstChild) ? CFData.decodeBase64ToArray(((String((XMLNode.firstChild).nodeValue))), YES) : [];
|
1249
|
+
break;
|
1250
|
+
default: throw new Error("*** " + (String(XMLNode.nodeName)) + " tag not recognized in Plist.");
|
1251
|
+
}
|
1252
|
+
if (!plistObject)
|
1253
|
+
plistObject = object;
|
1254
|
+
else if (currentContainer)
|
1255
|
+
if (currentContainer.slice)
|
1256
|
+
currentContainer.push(object);
|
1257
|
+
else
|
1258
|
+
currentContainer.setValueForKey(key, object);
|
1259
|
+
}
|
1260
|
+
return plistObject;
|
1261
|
+
}
|
1262
|
+
kCFPropertyListOpenStepFormat = CFPropertyList.FormatOpenStep;
|
1263
|
+
kCFPropertyListXMLFormat_v1_0 = CFPropertyList.FormatXML_v1_0;
|
1264
|
+
kCFPropertyListBinaryFormat_v1_0 = CFPropertyList.FormatBinary_v1_0;
|
1265
|
+
kCFPropertyList280NorthFormat_v1_0 = CFPropertyList.Format280North_v1_0;
|
1266
|
+
CFPropertyListCreate = function()
|
1267
|
+
{
|
1268
|
+
return new CFPropertyList();
|
1269
|
+
}
|
1270
|
+
CFPropertyListCreateFromXMLData = function( data)
|
1271
|
+
{
|
1272
|
+
return CFPropertyList.propertyListFromData(data, CFPropertyList.FormatXML_v1_0);
|
1273
|
+
}
|
1274
|
+
CFPropertyListCreateXMLData = function( aPropertyList)
|
1275
|
+
{
|
1276
|
+
return CFPropertyList.dataFromPropertyList(aPropertyList, CFPropertyList.FormatXML_v1_0);
|
1277
|
+
}
|
1278
|
+
CFPropertyListCreateFrom280NorthData = function( data)
|
1279
|
+
{
|
1280
|
+
return CFPropertyList.propertyListFromData(data, CFPropertyList.Format280North_v1_0);
|
1281
|
+
}
|
1282
|
+
CFPropertyListCreate280NorthData = function( aPropertyList)
|
1283
|
+
{
|
1284
|
+
return CFPropertyList.dataFromPropertyList(aPropertyList, CFPropertyList.Format280North_v1_0);
|
1285
|
+
}
|
1286
|
+
CPPropertyListCreateFromData = function( data, aFormat)
|
1287
|
+
{
|
1288
|
+
return CFPropertyList.propertyListFromData(data, aFormat);
|
1289
|
+
}
|
1290
|
+
CPPropertyListCreateData = function( aPropertyList, aFormat)
|
1291
|
+
{
|
1292
|
+
return CFPropertyList.dataFromPropertyList(aPropertyList, aFormat);
|
1293
|
+
}
|
1294
|
+
CFDictionary = function( aDictionary)
|
1295
|
+
{
|
1296
|
+
this._keys = [];
|
1297
|
+
this._count = 0;
|
1298
|
+
this._buckets = { };
|
1299
|
+
this._UID = objj_generateObjectUID();
|
1300
|
+
}
|
1301
|
+
var indexOf = Array.prototype.indexOf,
|
1302
|
+
hasOwnProperty = Object.prototype.hasOwnProperty;
|
1303
|
+
CFDictionary.prototype.copy = function()
|
1304
|
+
{
|
1305
|
+
return this;
|
1306
|
+
}
|
1307
|
+
CFDictionary.prototype.mutableCopy = function()
|
1308
|
+
{
|
1309
|
+
var newDictionary = new CFMutableDictionary(),
|
1310
|
+
keys = this._keys,
|
1311
|
+
count = this._count;
|
1312
|
+
newDictionary._keys = keys.slice();
|
1313
|
+
newDictionary._count = count;
|
1314
|
+
var index = 0,
|
1315
|
+
buckets = this._buckets,
|
1316
|
+
newBuckets = newDictionary._buckets;
|
1317
|
+
for (; index < count; ++index)
|
1318
|
+
{
|
1319
|
+
var key = keys[index];
|
1320
|
+
newBuckets[key] = buckets[key];
|
1321
|
+
}
|
1322
|
+
return newDictionary;
|
1323
|
+
}
|
1324
|
+
CFDictionary.prototype.containsKey = function( aKey)
|
1325
|
+
{
|
1326
|
+
return hasOwnProperty.apply(this._buckets, [aKey]);
|
1327
|
+
}
|
1328
|
+
CFDictionary.prototype.containsKey.displayName = "CFDictionary.prototype.containsKey";
|
1329
|
+
CFDictionary.prototype.containsValue = function( anObject)
|
1330
|
+
{
|
1331
|
+
var keys = this._keys,
|
1332
|
+
buckets = this._buckets,
|
1333
|
+
index = 0,
|
1334
|
+
count = keys.length;
|
1335
|
+
for (; index < count; ++index)
|
1336
|
+
if (buckets[keys[index]] === anObject)
|
1337
|
+
return YES;
|
1338
|
+
return NO;
|
1339
|
+
}
|
1340
|
+
CFDictionary.prototype.containsValue.displayName = "CFDictionary.prototype.containsValue";
|
1341
|
+
CFDictionary.prototype.count = function()
|
1342
|
+
{
|
1343
|
+
return this._count;
|
1344
|
+
}
|
1345
|
+
CFDictionary.prototype.count.displayName = "CFDictionary.prototype.count";
|
1346
|
+
CFDictionary.prototype.countOfKey = function( aKey)
|
1347
|
+
{
|
1348
|
+
return this.containsKey(aKey) ? 1 : 0;
|
1349
|
+
}
|
1350
|
+
CFDictionary.prototype.countOfKey.displayName = "CFDictionary.prototype.countOfKey";
|
1351
|
+
CFDictionary.prototype.countOfValue = function( anObject)
|
1352
|
+
{
|
1353
|
+
var keys = this._keys,
|
1354
|
+
buckets = this._buckets,
|
1355
|
+
index = 0,
|
1356
|
+
count = keys.length,
|
1357
|
+
countOfValue = 0;
|
1358
|
+
for (; index < count; ++index)
|
1359
|
+
if (buckets[keys[index]] === anObject)
|
1360
|
+
++countOfValue;
|
1361
|
+
return countOfValue;
|
1362
|
+
}
|
1363
|
+
CFDictionary.prototype.countOfValue.displayName = "CFDictionary.prototype.countOfValue";
|
1364
|
+
CFDictionary.prototype.keys = function()
|
1365
|
+
{
|
1366
|
+
return this._keys.slice();
|
1367
|
+
}
|
1368
|
+
CFDictionary.prototype.keys.displayName = "CFDictionary.prototype.keys";
|
1369
|
+
CFDictionary.prototype.valueForKey = function( aKey)
|
1370
|
+
{
|
1371
|
+
var buckets = this._buckets;
|
1372
|
+
if (!hasOwnProperty.apply(buckets, [aKey]))
|
1373
|
+
return nil;
|
1374
|
+
return buckets[aKey];
|
1375
|
+
}
|
1376
|
+
CFDictionary.prototype.valueForKey.displayName = "CFDictionary.prototype.valueForKey";
|
1377
|
+
CFDictionary.prototype.toString = function()
|
1378
|
+
{
|
1379
|
+
var string = "{\n",
|
1380
|
+
keys = this._keys,
|
1381
|
+
index = 0,
|
1382
|
+
count = this._count;
|
1383
|
+
for (; index < count; ++index)
|
1384
|
+
{
|
1385
|
+
var key = keys[index];
|
1386
|
+
string += "\t" + key + " = \"" + String(this.valueForKey(key)).split('\n').join("\n\t") + "\"\n";
|
1387
|
+
}
|
1388
|
+
return string + "}";
|
1389
|
+
}
|
1390
|
+
CFDictionary.prototype.toString.displayName = "CFDictionary.prototype.toString";
|
1391
|
+
CFMutableDictionary = function( aDictionary)
|
1392
|
+
{
|
1393
|
+
CFDictionary.apply(this, []);
|
1394
|
+
}
|
1395
|
+
CFMutableDictionary.prototype = new CFDictionary();
|
1396
|
+
CFMutableDictionary.prototype.copy = function()
|
1397
|
+
{
|
1398
|
+
return this.mutableCopy();
|
1399
|
+
}
|
1400
|
+
CFMutableDictionary.prototype.addValueForKey = function( aKey, aValue)
|
1401
|
+
{
|
1402
|
+
if (this.containsKey(aKey))
|
1403
|
+
return;
|
1404
|
+
++this._count;
|
1405
|
+
this._keys.push(aKey);
|
1406
|
+
this._buckets[aKey] = aValue;
|
1407
|
+
}
|
1408
|
+
CFMutableDictionary.prototype.addValueForKey.displayName = "CFMutableDictionary.prototype.addValueForKey";
|
1409
|
+
CFMutableDictionary.prototype.removeValueForKey = function( aKey)
|
1410
|
+
{
|
1411
|
+
var indexOfKey = -1;
|
1412
|
+
if (indexOf)
|
1413
|
+
indexOfKey = indexOf.call(this._keys, aKey);
|
1414
|
+
else
|
1415
|
+
{
|
1416
|
+
var keys = this._keys,
|
1417
|
+
index = 0,
|
1418
|
+
count = keys.length;
|
1419
|
+
for (; index < count; ++index)
|
1420
|
+
if (keys[index] === aKey)
|
1421
|
+
{
|
1422
|
+
indexOfKey = index;
|
1423
|
+
break;
|
1424
|
+
}
|
1425
|
+
}
|
1426
|
+
if (indexOfKey === -1)
|
1427
|
+
return;
|
1428
|
+
--this._count;
|
1429
|
+
this._keys.splice(indexOfKey, 1);
|
1430
|
+
delete this._buckets[aKey];
|
1431
|
+
}
|
1432
|
+
CFMutableDictionary.prototype.removeValueForKey.displayName = "CFMutableDictionary.prototype.removeValueForKey";
|
1433
|
+
CFMutableDictionary.prototype.removeAllValues = function()
|
1434
|
+
{
|
1435
|
+
this._count = 0;
|
1436
|
+
this._keys = [];
|
1437
|
+
this._buckets = { };
|
1438
|
+
}
|
1439
|
+
CFMutableDictionary.prototype.removeAllValues.displayName = "CFMutableDictionary.prototype.removeAllValues";
|
1440
|
+
CFMutableDictionary.prototype.replaceValueForKey = function( aKey, aValue)
|
1441
|
+
{
|
1442
|
+
if (!this.containsKey(aKey))
|
1443
|
+
return;
|
1444
|
+
this._buckets[aKey] = aValue;
|
1445
|
+
}
|
1446
|
+
CFMutableDictionary.prototype.replaceValueForKey.displayName = "CFMutableDictionary.prototype.replaceValueForKey";
|
1447
|
+
CFMutableDictionary.prototype.setValueForKey = function( aKey, aValue)
|
1448
|
+
{
|
1449
|
+
if (aValue === nil || aValue === undefined)
|
1450
|
+
this.removeValueForKey(aKey);
|
1451
|
+
else if (this.containsKey(aKey))
|
1452
|
+
this.replaceValueForKey(aKey, aValue);
|
1453
|
+
else
|
1454
|
+
this.addValueForKey(aKey, aValue);
|
1455
|
+
}
|
1456
|
+
CFMutableDictionary.prototype.setValueForKey.displayName = "CFMutableDictionary.prototype.setValueForKey";
|
1457
|
+
CFData = function()
|
1458
|
+
{
|
1459
|
+
this._rawString = NULL;
|
1460
|
+
this._propertyList = NULL;
|
1461
|
+
this._propertyListFormat = NULL;
|
1462
|
+
this._JSONObject = NULL;
|
1463
|
+
this._bytes = NULL;
|
1464
|
+
this._base64 = NULL;
|
1465
|
+
}
|
1466
|
+
CFData.prototype.propertyList = function()
|
1467
|
+
{
|
1468
|
+
if (!this._propertyList)
|
1469
|
+
this._propertyList = CFPropertyList.propertyListFromString(this.rawString());
|
1470
|
+
return this._propertyList;
|
1471
|
+
}
|
1472
|
+
CFData.prototype.JSONObject = function()
|
1473
|
+
{
|
1474
|
+
if (!this._JSONObject)
|
1475
|
+
{
|
1476
|
+
try
|
1477
|
+
{
|
1478
|
+
this._JSONObject = JSON.parse(this.rawString());
|
1479
|
+
}
|
1480
|
+
catch (anException)
|
1481
|
+
{
|
1482
|
+
}
|
1483
|
+
}
|
1484
|
+
return this._JSONObject;
|
1485
|
+
}
|
1486
|
+
CFData.prototype.rawString = function()
|
1487
|
+
{
|
1488
|
+
if (this._rawString === NULL)
|
1489
|
+
{
|
1490
|
+
if (this._propertyList)
|
1491
|
+
this._rawString = CFPropertyList.stringFromPropertyList(this._propertyList, this._propertyListFormat);
|
1492
|
+
else if (this._JSONObject)
|
1493
|
+
this._rawString = JSON.stringify(this._JSONObject);
|
1494
|
+
else
|
1495
|
+
throw new Error("Can't convert data to string.");
|
1496
|
+
}
|
1497
|
+
return this._rawString;
|
1498
|
+
}
|
1499
|
+
CFData.prototype.bytes = function()
|
1500
|
+
{
|
1501
|
+
return this._bytes;
|
1502
|
+
}
|
1503
|
+
CFData.prototype.base64 = function()
|
1504
|
+
{
|
1505
|
+
return this._base64;
|
1506
|
+
}
|
1507
|
+
CFMutableData = function()
|
1508
|
+
{
|
1509
|
+
CFData.call(this);
|
1510
|
+
}
|
1511
|
+
CFMutableData.prototype = new CFData();
|
1512
|
+
function clearMutableData( aData)
|
1513
|
+
{
|
1514
|
+
this._rawString = NULL;
|
1515
|
+
this._propertyList = NULL;
|
1516
|
+
this._propertyListFormat = NULL;
|
1517
|
+
this._JSONObject = NULL;
|
1518
|
+
this._bytes = NULL;
|
1519
|
+
this._base64 = NULL;
|
1520
|
+
}
|
1521
|
+
CFMutableData.prototype.setPropertyList = function( aPropertyList, aFormat)
|
1522
|
+
{
|
1523
|
+
clearMutableData(this);
|
1524
|
+
this._propertyList = aPropertyList;
|
1525
|
+
this._propertyListFormat = aFormat;
|
1526
|
+
}
|
1527
|
+
CFMutableData.prototype.setJSONObject = function( anObject)
|
1528
|
+
{
|
1529
|
+
clearMutableData(this);
|
1530
|
+
this._JSONObject = anObject
|
1531
|
+
}
|
1532
|
+
CFMutableData.prototype.setRawString = function( aString)
|
1533
|
+
{
|
1534
|
+
clearMutableData(this);
|
1535
|
+
this._rawString = aString;
|
1536
|
+
}
|
1537
|
+
CFMutableData.prototype.setBytes = function( bytes)
|
1538
|
+
{
|
1539
|
+
clearMutableData(this);
|
1540
|
+
this._bytes = bytes;
|
1541
|
+
}
|
1542
|
+
CFMutableData.prototype.setBase64String = function( aBase64String)
|
1543
|
+
{
|
1544
|
+
clearMutableData(this);
|
1545
|
+
this._base64 = aBase64String;
|
1546
|
+
}
|
1547
|
+
var base64_map_to = [
|
1548
|
+
"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
|
1549
|
+
"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z",
|
1550
|
+
"0","1","2","3","4","5","6","7","8","9","+","/","="],
|
1551
|
+
base64_map_from = [];
|
1552
|
+
for (var i = 0; i < base64_map_to.length; i++)
|
1553
|
+
base64_map_from[base64_map_to[i].charCodeAt(0)] = i;
|
1554
|
+
CFData.decodeBase64ToArray = function(input, strip)
|
1555
|
+
{
|
1556
|
+
if (strip)
|
1557
|
+
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
1558
|
+
var pad = (input[input.length-1] == "=" ? 1 : 0) + (input[input.length-2] == "=" ? 1 : 0),
|
1559
|
+
length = input.length,
|
1560
|
+
output = [];
|
1561
|
+
var i = 0;
|
1562
|
+
while (i < length)
|
1563
|
+
{
|
1564
|
+
var bits = (base64_map_from[input.charCodeAt(i++)] << 18) |
|
1565
|
+
(base64_map_from[input.charCodeAt(i++)] << 12) |
|
1566
|
+
(base64_map_from[input.charCodeAt(i++)] << 6) |
|
1567
|
+
(base64_map_from[input.charCodeAt(i++)]);
|
1568
|
+
output.push((bits & 0xFF0000) >> 16);
|
1569
|
+
output.push((bits & 0xFF00) >> 8);
|
1570
|
+
output.push(bits & 0xFF);
|
1571
|
+
}
|
1572
|
+
if (pad > 0)
|
1573
|
+
return output.slice(0, -1 * pad);
|
1574
|
+
return output;
|
1575
|
+
}
|
1576
|
+
CFData.encodeBase64Array = function(input)
|
1577
|
+
{
|
1578
|
+
var pad = (3 - (input.length % 3)) % 3,
|
1579
|
+
length = input.length + pad,
|
1580
|
+
output = [];
|
1581
|
+
if (pad > 0) input.push(0);
|
1582
|
+
if (pad > 1) input.push(0);
|
1583
|
+
var i = 0;
|
1584
|
+
while (i < length)
|
1585
|
+
{
|
1586
|
+
var bits = (input[i++] << 16) |
|
1587
|
+
(input[i++] << 8) |
|
1588
|
+
(input[i++]);
|
1589
|
+
output.push(base64_map_to[(bits & 0xFC0000) >> 18]);
|
1590
|
+
output.push(base64_map_to[(bits & 0x3F000) >> 12]);
|
1591
|
+
output.push(base64_map_to[(bits & 0xFC0) >> 6]);
|
1592
|
+
output.push(base64_map_to[bits & 0x3F]);
|
1593
|
+
}
|
1594
|
+
if (pad > 0)
|
1595
|
+
{
|
1596
|
+
output[output.length-1] = "=";
|
1597
|
+
input.pop();
|
1598
|
+
}
|
1599
|
+
if (pad > 1)
|
1600
|
+
{
|
1601
|
+
output[output.length-2] = "=";
|
1602
|
+
input.pop();
|
1603
|
+
}
|
1604
|
+
return output.join("");
|
1605
|
+
}
|
1606
|
+
CFData.decodeBase64ToString = function(input, strip)
|
1607
|
+
{
|
1608
|
+
return CFData.bytesToString(CFData.decodeBase64ToArray(input, strip));
|
1609
|
+
}
|
1610
|
+
CFData.decodeBase64ToUtf16String = function(input, strip)
|
1611
|
+
{
|
1612
|
+
return CFData.bytesToUtf16String(CFData.decodeBase64ToArray(input, strip));
|
1613
|
+
}
|
1614
|
+
CFData.bytesToString = function(bytes)
|
1615
|
+
{
|
1616
|
+
return String.fromCharCode.apply(NULL, bytes);
|
1617
|
+
}
|
1618
|
+
CFData.encodeBase64String = function(input)
|
1619
|
+
{
|
1620
|
+
var temp = [];
|
1621
|
+
for (var i = 0; i < input.length; i++)
|
1622
|
+
temp.push(input.charCodeAt(i));
|
1623
|
+
return CFData.encodeBase64Array(temp);
|
1624
|
+
}
|
1625
|
+
CFData.bytesToUtf16String = function(bytes)
|
1626
|
+
{
|
1627
|
+
var temp = [];
|
1628
|
+
for (var i = 0; i < bytes.length; i+=2)
|
1629
|
+
temp.push(bytes[i+1] << 8 | bytes[i]);
|
1630
|
+
return String.fromCharCode.apply(NULL, temp);
|
1631
|
+
}
|
1632
|
+
CFData.encodeBase64Utf16String = function(input)
|
1633
|
+
{
|
1634
|
+
var temp = [];
|
1635
|
+
for (var i = 0; i < input.length; i++)
|
1636
|
+
{
|
1637
|
+
var c = input.charCodeAt(i);
|
1638
|
+
temp.push(input.charCodeAt(i) & 0xFF);
|
1639
|
+
temp.push((input.charCodeAt(i) & 0xFF00) >> 8);
|
1640
|
+
}
|
1641
|
+
return CFData.encodeBase64Array(temp);
|
1642
|
+
}
|
1643
|
+
var CFURLsForCachedUIDs,
|
1644
|
+
CFURLPartsForURLStrings,
|
1645
|
+
CFURLCachingEnableCount = 0;
|
1646
|
+
function enableCFURLCaching()
|
1647
|
+
{
|
1648
|
+
if (++CFURLCachingEnableCount !== 1)
|
1649
|
+
return;
|
1650
|
+
CFURLsForCachedUIDs = { };
|
1651
|
+
CFURLPartsForURLStrings = { };
|
1652
|
+
}
|
1653
|
+
function disableCFURLCaching()
|
1654
|
+
{
|
1655
|
+
CFURLCachingEnableCount = MAX(CFURLCachingEnableCount - 1, 0);
|
1656
|
+
if (CFURLCachingEnableCount !== 0)
|
1657
|
+
return;
|
1658
|
+
delete CFURLsForCachedUIDs;
|
1659
|
+
delete CFURLPartsForURLStrings;
|
1660
|
+
}
|
1661
|
+
var URL_RE = new RegExp(
|
1662
|
+
"^" +
|
1663
|
+
"(?:" +
|
1664
|
+
"([^:/?#]+):" +
|
1665
|
+
")?" +
|
1666
|
+
"(?:" +
|
1667
|
+
"(//)" +
|
1668
|
+
"(" +
|
1669
|
+
"(?:" +
|
1670
|
+
"(" +
|
1671
|
+
"([^:@]*)" +
|
1672
|
+
":?" +
|
1673
|
+
"([^:@]*)" +
|
1674
|
+
")?" +
|
1675
|
+
"@" +
|
1676
|
+
")?" +
|
1677
|
+
"([^:/?#]*)" +
|
1678
|
+
"(?::(\\d*))?" +
|
1679
|
+
")" +
|
1680
|
+
")?" +
|
1681
|
+
"([^?#]*)" +
|
1682
|
+
"(?:\\?([^#]*))?" +
|
1683
|
+
"(?:#(.*))?"
|
1684
|
+
);
|
1685
|
+
var URI_KEYS =
|
1686
|
+
[
|
1687
|
+
"url",
|
1688
|
+
"scheme",
|
1689
|
+
"authorityRoot",
|
1690
|
+
"authority",
|
1691
|
+
"userInfo",
|
1692
|
+
"user",
|
1693
|
+
"password",
|
1694
|
+
"domain",
|
1695
|
+
"portNumber",
|
1696
|
+
"path",
|
1697
|
+
"queryString",
|
1698
|
+
"fragment"
|
1699
|
+
];
|
1700
|
+
function CFURLGetParts( aURL)
|
1701
|
+
{
|
1702
|
+
if (aURL._parts)
|
1703
|
+
return aURL._parts;
|
1704
|
+
var URLString = aURL.string(),
|
1705
|
+
isMHTMLURL = URLString.match(/^mhtml:/);
|
1706
|
+
if (isMHTMLURL)
|
1707
|
+
URLString = URLString.substr("mhtml:".length);
|
1708
|
+
if (CFURLCachingEnableCount > 0 && hasOwnProperty.call(CFURLPartsForURLStrings, URLString))
|
1709
|
+
{
|
1710
|
+
aURL._parts = CFURLPartsForURLStrings[URLString];
|
1711
|
+
return aURL._parts;
|
1712
|
+
}
|
1713
|
+
aURL._parts = { };
|
1714
|
+
var parts = aURL._parts,
|
1715
|
+
results = URL_RE.exec(URLString),
|
1716
|
+
index = results.length;
|
1717
|
+
while (index--)
|
1718
|
+
parts[URI_KEYS[index]] = results[index] || NULL;
|
1719
|
+
parts.portNumber = parseInt(parts.portNumber, 10);
|
1720
|
+
if (isNaN(parts.portNumber))
|
1721
|
+
parts.portNumber = -1;
|
1722
|
+
parts.pathComponents = [];
|
1723
|
+
if (parts.path)
|
1724
|
+
{
|
1725
|
+
var split = parts.path.split("/"),
|
1726
|
+
pathComponents = parts.pathComponents,
|
1727
|
+
index = 0,
|
1728
|
+
count = split.length;
|
1729
|
+
for (; index < count; ++index)
|
1730
|
+
{
|
1731
|
+
var component = split[index];
|
1732
|
+
if (component)
|
1733
|
+
pathComponents.push(component);
|
1734
|
+
else if (index === 0)
|
1735
|
+
pathComponents.push("/");
|
1736
|
+
}
|
1737
|
+
parts.pathComponents = pathComponents;
|
1738
|
+
}
|
1739
|
+
if (isMHTMLURL)
|
1740
|
+
{
|
1741
|
+
parts.url = "mhtml:" + parts.url;
|
1742
|
+
parts.scheme = "mhtml:" + parts.scheme;
|
1743
|
+
}
|
1744
|
+
if (CFURLCachingEnableCount > 0)
|
1745
|
+
CFURLPartsForURLStrings[URLString] = parts;
|
1746
|
+
return parts;
|
1747
|
+
}
|
1748
|
+
CFURL = function( aURL, aBaseURL)
|
1749
|
+
{
|
1750
|
+
aURL = aURL || "";
|
1751
|
+
if (aURL instanceof CFURL)
|
1752
|
+
{
|
1753
|
+
if (!aBaseURL)
|
1754
|
+
return aURL;
|
1755
|
+
var existingBaseURL = aURL.baseURL();
|
1756
|
+
if (existingBaseURL)
|
1757
|
+
aBaseURL = new CFURL(existingBaseURL.absoluteURL(), aBaseURL);
|
1758
|
+
aURL = aURL.string();
|
1759
|
+
}
|
1760
|
+
if (CFURLCachingEnableCount > 0)
|
1761
|
+
{
|
1762
|
+
var cacheUID = aURL + " " + (aBaseURL && aBaseURL.UID() || "");
|
1763
|
+
if (hasOwnProperty.call(CFURLsForCachedUIDs, cacheUID))
|
1764
|
+
return CFURLsForCachedUIDs[cacheUID];
|
1765
|
+
CFURLsForCachedUIDs[cacheUID] = this;
|
1766
|
+
}
|
1767
|
+
if (aURL.match(/^data:/))
|
1768
|
+
{
|
1769
|
+
var parts = { },
|
1770
|
+
index = URI_KEYS.length;
|
1771
|
+
while (index--)
|
1772
|
+
parts[URI_KEYS[index]] = "";
|
1773
|
+
parts.url = aURL;
|
1774
|
+
parts.scheme = "data";
|
1775
|
+
parts.pathComponents = [];
|
1776
|
+
this._parts = parts;
|
1777
|
+
this._standardizedURL = this;
|
1778
|
+
this._absoluteURL = this;
|
1779
|
+
}
|
1780
|
+
this._UID = objj_generateObjectUID();
|
1781
|
+
this._string = aURL;
|
1782
|
+
this._baseURL = aBaseURL;
|
1783
|
+
}
|
1784
|
+
CFURL.displayName = "CFURL";
|
1785
|
+
CFURL.prototype.UID = function()
|
1786
|
+
{
|
1787
|
+
return this._UID;
|
1788
|
+
}
|
1789
|
+
CFURL.prototype.UID.displayName = "CFURL.prototype.UID";
|
1790
|
+
var URLMap = { };
|
1791
|
+
CFURL.prototype.mappedURL = function()
|
1792
|
+
{
|
1793
|
+
return URLMap[this.absoluteString()] || this;
|
1794
|
+
}
|
1795
|
+
CFURL.prototype.mappedURL.displayName = "CFURL.prototype.mappedURL";
|
1796
|
+
CFURL.setMappedURLForURL = function( fromURL, toURL)
|
1797
|
+
{
|
1798
|
+
URLMap[fromURL.absoluteString()] = toURL;
|
1799
|
+
}
|
1800
|
+
CFURL.setMappedURLForURL.displayName = "CFURL.setMappedURLForURL";
|
1801
|
+
CFURL.prototype.schemeAndAuthority = function()
|
1802
|
+
{
|
1803
|
+
var string = "",
|
1804
|
+
scheme = this.scheme();
|
1805
|
+
if (scheme)
|
1806
|
+
string += scheme + ":";
|
1807
|
+
var authority = this.authority();
|
1808
|
+
if (authority)
|
1809
|
+
string += "//" + authority;
|
1810
|
+
return string;
|
1811
|
+
}
|
1812
|
+
CFURL.prototype.schemeAndAuthority.displayName = "CFURL.prototype.schemeAndAuthority";
|
1813
|
+
CFURL.prototype.absoluteString = function()
|
1814
|
+
{
|
1815
|
+
if (this._absoluteString === undefined)
|
1816
|
+
this._absoluteString = this.absoluteURL().string();
|
1817
|
+
return this._absoluteString;
|
1818
|
+
}
|
1819
|
+
CFURL.prototype.absoluteString.displayName = "CFURL.prototype.absoluteString";
|
1820
|
+
CFURL.prototype.toString = function()
|
1821
|
+
{
|
1822
|
+
return this.absoluteString();
|
1823
|
+
}
|
1824
|
+
CFURL.prototype.toString.displayName = "CFURL.prototype.toString";
|
1825
|
+
function resolveURL(aURL)
|
1826
|
+
{
|
1827
|
+
aURL = aURL.standardizedURL();
|
1828
|
+
var baseURL = aURL.baseURL();
|
1829
|
+
if (!baseURL)
|
1830
|
+
return aURL;
|
1831
|
+
var parts = ((aURL)._parts || CFURLGetParts(aURL)),
|
1832
|
+
resolvedParts,
|
1833
|
+
absoluteBaseURL = baseURL.absoluteURL(),
|
1834
|
+
baseParts = ((absoluteBaseURL)._parts || CFURLGetParts(absoluteBaseURL));
|
1835
|
+
if (parts.scheme || parts.authority)
|
1836
|
+
resolvedParts = parts;
|
1837
|
+
else
|
1838
|
+
{
|
1839
|
+
resolvedParts = { };
|
1840
|
+
resolvedParts.scheme = baseParts.scheme;
|
1841
|
+
resolvedParts.authority = baseParts.authority;
|
1842
|
+
resolvedParts.userInfo = baseParts.userInfo;
|
1843
|
+
resolvedParts.user = baseParts.user;
|
1844
|
+
resolvedParts.password = baseParts.password;
|
1845
|
+
resolvedParts.domain = baseParts.domain;
|
1846
|
+
resolvedParts.portNumber = baseParts.portNumber;
|
1847
|
+
resolvedParts.queryString = parts.queryString;
|
1848
|
+
resolvedParts.fragment = parts.fragment;
|
1849
|
+
var pathComponents = parts.pathComponents
|
1850
|
+
if (pathComponents.length && pathComponents[0] === "/")
|
1851
|
+
{
|
1852
|
+
resolvedParts.path = parts.path;
|
1853
|
+
resolvedParts.pathComponents = pathComponents;
|
1854
|
+
}
|
1855
|
+
else
|
1856
|
+
{
|
1857
|
+
var basePathComponents = baseParts.pathComponents,
|
1858
|
+
resolvedPathComponents = basePathComponents.concat(pathComponents);
|
1859
|
+
if (!baseURL.hasDirectoryPath() && basePathComponents.length)
|
1860
|
+
resolvedPathComponents.splice(basePathComponents.length - 1, 1);
|
1861
|
+
if (pathComponents.length && (pathComponents[0] === ".." || pathComponents[0] === "."))
|
1862
|
+
standardizePathComponents(resolvedPathComponents, YES);
|
1863
|
+
resolvedParts.pathComponents = resolvedPathComponents;
|
1864
|
+
resolvedParts.path = pathFromPathComponents(resolvedPathComponents, pathComponents.length <= 0 || aURL.hasDirectoryPath());
|
1865
|
+
}
|
1866
|
+
}
|
1867
|
+
var resolvedString = URLStringFromParts(resolvedParts),
|
1868
|
+
resolvedURL = new CFURL(resolvedString);
|
1869
|
+
resolvedURL._parts = resolvedParts;
|
1870
|
+
resolvedURL._standardizedURL = resolvedURL;
|
1871
|
+
resolvedURL._standardizedString = resolvedString;
|
1872
|
+
resolvedURL._absoluteURL = resolvedURL;
|
1873
|
+
resolvedURL._absoluteString = resolvedString;
|
1874
|
+
return resolvedURL;
|
1875
|
+
}
|
1876
|
+
function pathFromPathComponents( pathComponents, isDirectoryPath)
|
1877
|
+
{
|
1878
|
+
var path = pathComponents.join("/");
|
1879
|
+
if (path.length && path.charAt(0) === "/")
|
1880
|
+
path = path.substr(1);
|
1881
|
+
if (isDirectoryPath)
|
1882
|
+
path += "/";
|
1883
|
+
return path;
|
1884
|
+
}
|
1885
|
+
function standardizePathComponents( pathComponents, inPlace)
|
1886
|
+
{
|
1887
|
+
var index = 0,
|
1888
|
+
resultIndex = 0,
|
1889
|
+
count = pathComponents.length,
|
1890
|
+
result = inPlace ? pathComponents : [],
|
1891
|
+
startsWithPeriod = NO;
|
1892
|
+
for (; index < count; ++index)
|
1893
|
+
{
|
1894
|
+
var component = pathComponents[index];
|
1895
|
+
if (component === "")
|
1896
|
+
continue;
|
1897
|
+
if (component === ".")
|
1898
|
+
{
|
1899
|
+
startsWithPeriod = resultIndex === 0;
|
1900
|
+
continue;
|
1901
|
+
}
|
1902
|
+
if (component !== ".." || resultIndex === 0 || result[resultIndex - 1] === "..")
|
1903
|
+
{
|
1904
|
+
result[resultIndex] = component;
|
1905
|
+
resultIndex++;
|
1906
|
+
continue;
|
1907
|
+
}
|
1908
|
+
if (resultIndex > 0 && result[resultIndex - 1] !== "/")
|
1909
|
+
--resultIndex;
|
1910
|
+
}
|
1911
|
+
if (startsWithPeriod && resultIndex === 0)
|
1912
|
+
result[resultIndex++] = ".";
|
1913
|
+
result.length = resultIndex;
|
1914
|
+
return result;
|
1915
|
+
}
|
1916
|
+
function URLStringFromParts( parts)
|
1917
|
+
{
|
1918
|
+
var string = "",
|
1919
|
+
scheme = parts.scheme;
|
1920
|
+
if (scheme)
|
1921
|
+
string += scheme + ":";
|
1922
|
+
var authority = parts.authority;
|
1923
|
+
if (authority)
|
1924
|
+
string += "//" + authority;
|
1925
|
+
string += parts.path;
|
1926
|
+
var queryString = parts.queryString;
|
1927
|
+
if (queryString)
|
1928
|
+
string += "?" + queryString;
|
1929
|
+
var fragment = parts.fragment;
|
1930
|
+
if (fragment)
|
1931
|
+
string += "#" + fragment;
|
1932
|
+
return string;
|
1933
|
+
}
|
1934
|
+
CFURL.prototype.absoluteURL = function()
|
1935
|
+
{
|
1936
|
+
if (this._absoluteURL === undefined)
|
1937
|
+
this._absoluteURL = resolveURL(this);
|
1938
|
+
return this._absoluteURL;
|
1939
|
+
}
|
1940
|
+
CFURL.prototype.absoluteURL.displayName = "CFURL.prototype.absoluteURL";
|
1941
|
+
CFURL.prototype.standardizedURL = function()
|
1942
|
+
{
|
1943
|
+
if (this._standardizedURL === undefined)
|
1944
|
+
{
|
1945
|
+
var parts = ((this)._parts || CFURLGetParts(this)),
|
1946
|
+
pathComponents = parts.pathComponents,
|
1947
|
+
standardizedPathComponents = standardizePathComponents(pathComponents, NO);
|
1948
|
+
var standardizedPath = pathFromPathComponents(standardizedPathComponents, this.hasDirectoryPath());
|
1949
|
+
if (parts.path === standardizedPath)
|
1950
|
+
this._standardizedURL = this;
|
1951
|
+
else
|
1952
|
+
{
|
1953
|
+
var standardizedParts = CFURLPartsCreateCopy(parts);
|
1954
|
+
standardizedParts.pathComponents = standardizedPathComponents;
|
1955
|
+
standardizedParts.path = standardizedPath;
|
1956
|
+
var standardizedURL = new CFURL(URLStringFromParts(standardizedParts), this.baseURL());
|
1957
|
+
standardizedURL._parts = standardizedParts;
|
1958
|
+
standardizedURL._standardizedURL = standardizedURL;
|
1959
|
+
this._standardizedURL = standardizedURL;
|
1960
|
+
}
|
1961
|
+
}
|
1962
|
+
return this._standardizedURL;
|
1963
|
+
}
|
1964
|
+
CFURL.prototype.standardizedURL.displayName = "CFURL.prototype.standardizedURL";
|
1965
|
+
function CFURLPartsCreateCopy(parts)
|
1966
|
+
{
|
1967
|
+
var copiedParts = { },
|
1968
|
+
count = URI_KEYS.length;
|
1969
|
+
while (count--)
|
1970
|
+
{
|
1971
|
+
var partName = URI_KEYS[count];
|
1972
|
+
copiedParts[partName] = parts[partName];
|
1973
|
+
}
|
1974
|
+
return copiedParts;
|
1975
|
+
}
|
1976
|
+
CFURL.prototype.string = function()
|
1977
|
+
{
|
1978
|
+
return this._string;
|
1979
|
+
}
|
1980
|
+
CFURL.prototype.string.displayName = "CFURL.prototype.string";
|
1981
|
+
CFURL.prototype.authority = function()
|
1982
|
+
{
|
1983
|
+
var authority = ((this)._parts || CFURLGetParts(this)).authority;
|
1984
|
+
if (authority)
|
1985
|
+
return authority;
|
1986
|
+
var baseURL = this.baseURL();
|
1987
|
+
return baseURL && baseURL.authority() || "";
|
1988
|
+
}
|
1989
|
+
CFURL.prototype.authority.displayName = "CFURL.prototype.authority";
|
1990
|
+
CFURL.prototype.hasDirectoryPath = function()
|
1991
|
+
{
|
1992
|
+
var hasDirectoryPath = this._hasDirectoryPath;
|
1993
|
+
if (hasDirectoryPath === undefined)
|
1994
|
+
{
|
1995
|
+
var path = this.path();
|
1996
|
+
if (!path)
|
1997
|
+
return NO;
|
1998
|
+
if (path.charAt(path.length - 1) === "/")
|
1999
|
+
return YES;
|
2000
|
+
var lastPathComponent = this.lastPathComponent();
|
2001
|
+
hasDirectoryPath = lastPathComponent === "." || lastPathComponent === "..";
|
2002
|
+
this._hasDirectoryPath = hasDirectoryPath;
|
2003
|
+
}
|
2004
|
+
return hasDirectoryPath;
|
2005
|
+
}
|
2006
|
+
CFURL.prototype.hasDirectoryPath.displayName = "CFURL.prototype.hasDirectoryPath";
|
2007
|
+
CFURL.prototype.hostName = function()
|
2008
|
+
{
|
2009
|
+
return this.authority();
|
2010
|
+
}
|
2011
|
+
CFURL.prototype.hostName.displayName = "CFURL.prototype.hostName";
|
2012
|
+
CFURL.prototype.fragment = function()
|
2013
|
+
{
|
2014
|
+
return ((this)._parts || CFURLGetParts(this)).fragment;
|
2015
|
+
}
|
2016
|
+
CFURL.prototype.fragment.displayName = "CFURL.prototype.fragment";
|
2017
|
+
CFURL.prototype.lastPathComponent = function()
|
2018
|
+
{
|
2019
|
+
if (this._lastPathComponent === undefined)
|
2020
|
+
{
|
2021
|
+
var pathComponents = this.pathComponents(),
|
2022
|
+
pathComponentCount = pathComponents.length;
|
2023
|
+
if (!pathComponentCount)
|
2024
|
+
this._lastPathComponent = "";
|
2025
|
+
else
|
2026
|
+
this._lastPathComponent = pathComponents[pathComponentCount - 1];
|
2027
|
+
}
|
2028
|
+
return this._lastPathComponent;
|
2029
|
+
}
|
2030
|
+
CFURL.prototype.lastPathComponent.displayName = "CFURL.prototype.lastPathComponent";
|
2031
|
+
CFURL.prototype.path = function()
|
2032
|
+
{
|
2033
|
+
return ((this)._parts || CFURLGetParts(this)).path;
|
2034
|
+
}
|
2035
|
+
CFURL.prototype.path.displayName = "CFURL.prototype.path";
|
2036
|
+
CFURL.prototype.pathComponents = function()
|
2037
|
+
{
|
2038
|
+
return ((this)._parts || CFURLGetParts(this)).pathComponents;
|
2039
|
+
}
|
2040
|
+
CFURL.prototype.pathComponents.displayName = "CFURL.prototype.pathComponents";
|
2041
|
+
CFURL.prototype.pathExtension = function()
|
2042
|
+
{
|
2043
|
+
var lastPathComponent = this.lastPathComponent();
|
2044
|
+
if (!lastPathComponent)
|
2045
|
+
return NULL;
|
2046
|
+
lastPathComponent = lastPathComponent.replace(/^\.*/, '');
|
2047
|
+
var index = lastPathComponent.lastIndexOf(".");
|
2048
|
+
return index <= 0 ? "" : lastPathComponent.substring(index + 1);
|
2049
|
+
}
|
2050
|
+
CFURL.prototype.pathExtension.displayName = "CFURL.prototype.pathExtension";
|
2051
|
+
CFURL.prototype.queryString = function()
|
2052
|
+
{
|
2053
|
+
return ((this)._parts || CFURLGetParts(this)).queryString;
|
2054
|
+
}
|
2055
|
+
CFURL.prototype.queryString.displayName = "CFURL.prototype.queryString";
|
2056
|
+
CFURL.prototype.scheme = function()
|
2057
|
+
{
|
2058
|
+
var scheme = this._scheme;
|
2059
|
+
if (scheme === undefined)
|
2060
|
+
{
|
2061
|
+
scheme = ((this)._parts || CFURLGetParts(this)).scheme;
|
2062
|
+
if (!scheme)
|
2063
|
+
{
|
2064
|
+
var baseURL = this.baseURL();
|
2065
|
+
scheme = baseURL && baseURL.scheme();
|
2066
|
+
}
|
2067
|
+
this._scheme = scheme;
|
2068
|
+
}
|
2069
|
+
return scheme;
|
2070
|
+
}
|
2071
|
+
CFURL.prototype.scheme.displayName = "CFURL.prototype.scheme";
|
2072
|
+
CFURL.prototype.user = function()
|
2073
|
+
{
|
2074
|
+
return ((this)._parts || CFURLGetParts(this)).user;
|
2075
|
+
}
|
2076
|
+
CFURL.prototype.user.displayName = "CFURL.prototype.user";
|
2077
|
+
CFURL.prototype.password = function()
|
2078
|
+
{
|
2079
|
+
return ((this)._parts || CFURLGetParts(this)).password;
|
2080
|
+
}
|
2081
|
+
CFURL.prototype.password.displayName = "CFURL.prototype.password";
|
2082
|
+
CFURL.prototype.portNumber = function()
|
2083
|
+
{
|
2084
|
+
return ((this)._parts || CFURLGetParts(this)).portNumber;
|
2085
|
+
}
|
2086
|
+
CFURL.prototype.portNumber.displayName = "CFURL.prototype.portNumber";
|
2087
|
+
CFURL.prototype.domain = function()
|
2088
|
+
{
|
2089
|
+
return ((this)._parts || CFURLGetParts(this)).domain;
|
2090
|
+
}
|
2091
|
+
CFURL.prototype.domain.displayName = "CFURL.prototype.domain";
|
2092
|
+
CFURL.prototype.baseURL = function()
|
2093
|
+
{
|
2094
|
+
return this._baseURL;
|
2095
|
+
}
|
2096
|
+
CFURL.prototype.baseURL.displayName = "CFURL.prototype.baseURL";
|
2097
|
+
CFURL.prototype.asDirectoryPathURL = function()
|
2098
|
+
{
|
2099
|
+
if (this.hasDirectoryPath())
|
2100
|
+
return this;
|
2101
|
+
var lastPathComponent = this.lastPathComponent();
|
2102
|
+
if (lastPathComponent !== "/")
|
2103
|
+
lastPathComponent = "./" + lastPathComponent;
|
2104
|
+
return new CFURL(lastPathComponent + "/", this);
|
2105
|
+
}
|
2106
|
+
CFURL.prototype.asDirectoryPathURL.displayName = "CFURL.prototype.asDirectoryPathURL";
|
2107
|
+
function CFURLGetResourcePropertiesForKeys( aURL)
|
2108
|
+
{
|
2109
|
+
if (!aURL._resourcePropertiesForKeys)
|
2110
|
+
aURL._resourcePropertiesForKeys = new CFMutableDictionary();
|
2111
|
+
return aURL._resourcePropertiesForKeys;
|
2112
|
+
}
|
2113
|
+
CFURL.prototype.resourcePropertyForKey = function( aKey)
|
2114
|
+
{
|
2115
|
+
return CFURLGetResourcePropertiesForKeys(this).valueForKey(aKey);
|
2116
|
+
}
|
2117
|
+
CFURL.prototype.resourcePropertyForKey.displayName = "CFURL.prototype.resourcePropertyForKey";
|
2118
|
+
CFURL.prototype.setResourcePropertyForKey = function( aKey, aValue)
|
2119
|
+
{
|
2120
|
+
CFURLGetResourcePropertiesForKeys(this).setValueForKey(aKey, aValue);
|
2121
|
+
}
|
2122
|
+
CFURL.prototype.setResourcePropertyForKey.displayName = "CFURL.prototype.setResourcePropertyForKey";
|
2123
|
+
CFURL.prototype.staticResourceData = function()
|
2124
|
+
{
|
2125
|
+
var data = new CFMutableData();
|
2126
|
+
data.setRawString(StaticResource.resourceAtURL(this).contents());
|
2127
|
+
return data;
|
2128
|
+
}
|
2129
|
+
CFURL.prototype.staticResourceData.displayName = "CFURL.prototype.staticResourceData";
|
2130
|
+
function MarkedStream( aString)
|
2131
|
+
{
|
2132
|
+
this._string = aString;
|
2133
|
+
var index = aString.indexOf(";");
|
2134
|
+
this._magicNumber = aString.substr(0, index);
|
2135
|
+
this._location = aString.indexOf(";", ++index);
|
2136
|
+
this._version = aString.substring(index, this._location++);
|
2137
|
+
}
|
2138
|
+
MarkedStream.prototype.magicNumber = function()
|
2139
|
+
{
|
2140
|
+
return this._magicNumber;
|
2141
|
+
}
|
2142
|
+
MarkedStream.prototype.magicNumber.displayName = "MarkedStream.prototype.magicNumber";
|
2143
|
+
MarkedStream.prototype.version = function()
|
2144
|
+
{
|
2145
|
+
return this._version;
|
2146
|
+
}
|
2147
|
+
MarkedStream.prototype.version.displayName = "MarkedStream.prototype.version";
|
2148
|
+
MarkedStream.prototype.getMarker = function()
|
2149
|
+
{
|
2150
|
+
var string = this._string,
|
2151
|
+
location = this._location;
|
2152
|
+
if (location >= string.length)
|
2153
|
+
return null;
|
2154
|
+
var next = string.indexOf(';', location);
|
2155
|
+
if (next < 0)
|
2156
|
+
return null;
|
2157
|
+
var marker = string.substring(location, next);
|
2158
|
+
if (marker === 'e')
|
2159
|
+
return null;
|
2160
|
+
this._location = next + 1;
|
2161
|
+
return marker;
|
2162
|
+
}
|
2163
|
+
MarkedStream.prototype.getMarker.displayName = "MarkedStream.prototype.getMarker";
|
2164
|
+
MarkedStream.prototype.getString = function()
|
2165
|
+
{
|
2166
|
+
var string = this._string,
|
2167
|
+
location = this._location;
|
2168
|
+
if (location >= string.length)
|
2169
|
+
return null;
|
2170
|
+
var next = string.indexOf(';', location);
|
2171
|
+
if (next < 0)
|
2172
|
+
return null;
|
2173
|
+
var size = parseInt(string.substring(location, next), 10),
|
2174
|
+
text = string.substr(next + 1, size);
|
2175
|
+
this._location = next + 1 + size;
|
2176
|
+
return text;
|
2177
|
+
}
|
2178
|
+
MarkedStream.prototype.getString.displayName = "MarkedStream.prototype.getString";
|
2179
|
+
var CFBundleUnloaded = 0,
|
2180
|
+
CFBundleLoading = 1 << 0,
|
2181
|
+
CFBundleLoadingInfoPlist = 1 << 1,
|
2182
|
+
CFBundleLoadingExecutable = 1 << 2,
|
2183
|
+
CFBundleLoadingSpritedImages = 1 << 3,
|
2184
|
+
CFBundleLoaded = 1 << 4;
|
2185
|
+
var CFBundlesForURLStrings = { },
|
2186
|
+
CFBundlesForClasses = { },
|
2187
|
+
CFCacheBuster = new Date().getTime(),
|
2188
|
+
CFTotalBytesLoaded = 0,
|
2189
|
+
CPApplicationSizeInBytes = 0;
|
2190
|
+
CFBundle = function( aURL)
|
2191
|
+
{
|
2192
|
+
aURL = makeAbsoluteURL(aURL).asDirectoryPathURL();
|
2193
|
+
var URLString = aURL.absoluteString(),
|
2194
|
+
existingBundle = CFBundlesForURLStrings[URLString];
|
2195
|
+
if (existingBundle)
|
2196
|
+
return existingBundle;
|
2197
|
+
CFBundlesForURLStrings[URLString] = this;
|
2198
|
+
this._bundleURL = aURL;
|
2199
|
+
this._resourcesDirectoryURL = new CFURL("Resources/", aURL);
|
2200
|
+
this._staticResource = NULL;
|
2201
|
+
this._isValid = NO;
|
2202
|
+
this._loadStatus = CFBundleUnloaded;
|
2203
|
+
this._loadRequests = [];
|
2204
|
+
this._infoDictionary = new CFDictionary();
|
2205
|
+
this._eventDispatcher = new EventDispatcher(this);
|
2206
|
+
}
|
2207
|
+
CFBundle.displayName = "CFBundle";
|
2208
|
+
CFBundle.environments = function()
|
2209
|
+
{
|
2210
|
+
return ["Browser","ObjJ"];
|
2211
|
+
}
|
2212
|
+
CFBundle.environments.displayName = "CFBundle.environments";
|
2213
|
+
CFBundle.bundleContainingURL = function( aURL)
|
2214
|
+
{
|
2215
|
+
aURL = new CFURL(".", makeAbsoluteURL(aURL));
|
2216
|
+
var previousURLString,
|
2217
|
+
URLString = aURL.absoluteString();
|
2218
|
+
while (!previousURLString || previousURLString !== URLString)
|
2219
|
+
{
|
2220
|
+
var bundle = CFBundlesForURLStrings[URLString];
|
2221
|
+
if (bundle && bundle._isValid)
|
2222
|
+
return bundle;
|
2223
|
+
aURL = new CFURL("..", aURL);
|
2224
|
+
previousURLString = URLString;
|
2225
|
+
URLString = aURL.absoluteString();
|
2226
|
+
}
|
2227
|
+
return NULL;
|
2228
|
+
}
|
2229
|
+
CFBundle.bundleContainingURL.displayName = "CFBundle.bundleContainingURL";
|
2230
|
+
CFBundle.mainBundle = function()
|
2231
|
+
{
|
2232
|
+
return new CFBundle(mainBundleURL);
|
2233
|
+
}
|
2234
|
+
CFBundle.mainBundle.displayName = "CFBundle.mainBundle";
|
2235
|
+
function addClassToBundle(aClass, aBundle)
|
2236
|
+
{
|
2237
|
+
if (aBundle)
|
2238
|
+
CFBundlesForClasses[aClass.name] = aBundle;
|
2239
|
+
}
|
2240
|
+
CFBundle.bundleForClass = function( aClass)
|
2241
|
+
{
|
2242
|
+
return CFBundlesForClasses[aClass.name] || CFBundle.mainBundle();
|
2243
|
+
}
|
2244
|
+
CFBundle.bundleForClass.displayName = "CFBundle.bundleForClass";
|
2245
|
+
CFBundle.prototype.bundleURL = function()
|
2246
|
+
{
|
2247
|
+
return this._bundleURL;
|
2248
|
+
}
|
2249
|
+
CFBundle.prototype.bundleURL.displayName = "CFBundle.prototype.bundleURL";
|
2250
|
+
CFBundle.prototype.resourcesDirectoryURL = function()
|
2251
|
+
{
|
2252
|
+
return this._resourcesDirectoryURL;
|
2253
|
+
}
|
2254
|
+
CFBundle.prototype.resourcesDirectoryURL.displayName = "CFBundle.prototype.resourcesDirectoryURL";
|
2255
|
+
CFBundle.prototype.resourceURL = function( aResourceName, aType, aSubDirectory)
|
2256
|
+
{
|
2257
|
+
if (aType)
|
2258
|
+
aResourceName = aResourceName + "." + aType;
|
2259
|
+
if (aSubDirectory)
|
2260
|
+
aResourceName = aSubDirectory + "/" + aResourceName;
|
2261
|
+
var resourceURL = (new CFURL(aResourceName, this.resourcesDirectoryURL())).mappedURL();
|
2262
|
+
return resourceURL.absoluteURL();
|
2263
|
+
}
|
2264
|
+
CFBundle.prototype.resourceURL.displayName = "CFBundle.prototype.resourceURL";
|
2265
|
+
CFBundle.prototype.mostEligibleEnvironmentURL = function()
|
2266
|
+
{
|
2267
|
+
if (this._mostEligibleEnvironmentURL === undefined)
|
2268
|
+
this._mostEligibleEnvironmentURL = new CFURL(this.mostEligibleEnvironment() + ".environment/", this.bundleURL());
|
2269
|
+
return this._mostEligibleEnvironmentURL;
|
2270
|
+
}
|
2271
|
+
CFBundle.prototype.mostEligibleEnvironmentURL.displayName = "CFBundle.prototype.mostEligibleEnvironmentURL";
|
2272
|
+
CFBundle.prototype.executableURL = function()
|
2273
|
+
{
|
2274
|
+
if (this._executableURL === undefined)
|
2275
|
+
{
|
2276
|
+
var executableSubPath = this.valueForInfoDictionaryKey("CPBundleExecutable");
|
2277
|
+
if (!executableSubPath)
|
2278
|
+
this._executableURL = NULL;
|
2279
|
+
else
|
2280
|
+
this._executableURL = new CFURL(executableSubPath, this.mostEligibleEnvironmentURL());
|
2281
|
+
}
|
2282
|
+
return this._executableURL;
|
2283
|
+
}
|
2284
|
+
CFBundle.prototype.executableURL.displayName = "CFBundle.prototype.executableURL";
|
2285
|
+
CFBundle.prototype.infoDictionary = function()
|
2286
|
+
{
|
2287
|
+
return this._infoDictionary;
|
2288
|
+
}
|
2289
|
+
CFBundle.prototype.infoDictionary.displayName = "CFBundle.prototype.infoDictionary";
|
2290
|
+
CFBundle.prototype.valueForInfoDictionaryKey = function( aKey)
|
2291
|
+
{
|
2292
|
+
return this._infoDictionary.valueForKey(aKey);
|
2293
|
+
}
|
2294
|
+
CFBundle.prototype.valueForInfoDictionaryKey.displayName = "CFBundle.prototype.valueForInfoDictionaryKey";
|
2295
|
+
CFBundle.prototype.hasSpritedImages = function()
|
2296
|
+
{
|
2297
|
+
var environments = this._infoDictionary.valueForKey("CPBundleEnvironmentsWithImageSprites") || [],
|
2298
|
+
index = environments.length,
|
2299
|
+
mostEligibleEnvironment = this.mostEligibleEnvironment();
|
2300
|
+
while (index--)
|
2301
|
+
if (environments[index] === mostEligibleEnvironment)
|
2302
|
+
return YES;
|
2303
|
+
return NO;
|
2304
|
+
}
|
2305
|
+
CFBundle.prototype.hasSpritedImages.displayName = "CFBundle.prototype.hasSpritedImages";
|
2306
|
+
CFBundle.prototype.environments = function()
|
2307
|
+
{
|
2308
|
+
return this._infoDictionary.valueForKey("CPBundleEnvironments") || ["ObjJ"];
|
2309
|
+
}
|
2310
|
+
CFBundle.prototype.environments.displayName = "CFBundle.prototype.environments";
|
2311
|
+
CFBundle.prototype.mostEligibleEnvironment = function( environments)
|
2312
|
+
{
|
2313
|
+
environments = environments || this.environments();
|
2314
|
+
var objj_environments = CFBundle.environments(),
|
2315
|
+
index = 0,
|
2316
|
+
count = objj_environments.length,
|
2317
|
+
innerCount = environments.length;
|
2318
|
+
for(; index < count; ++index)
|
2319
|
+
{
|
2320
|
+
var innerIndex = 0,
|
2321
|
+
environment = objj_environments[index];
|
2322
|
+
for (; innerIndex < innerCount; ++innerIndex)
|
2323
|
+
if(environment === environments[innerIndex])
|
2324
|
+
return environment;
|
2325
|
+
}
|
2326
|
+
return NULL;
|
2327
|
+
}
|
2328
|
+
CFBundle.prototype.mostEligibleEnvironment.displayName = "CFBundle.prototype.mostEligibleEnvironment";
|
2329
|
+
CFBundle.prototype.isLoading = function()
|
2330
|
+
{
|
2331
|
+
return this._loadStatus & CFBundleLoading;
|
2332
|
+
}
|
2333
|
+
CFBundle.prototype.isLoading.displayName = "CFBundle.prototype.isLoading";
|
2334
|
+
CFBundle.prototype.isLoaded = function()
|
2335
|
+
{
|
2336
|
+
return this._loadStatus & CFBundleLoaded;
|
2337
|
+
}
|
2338
|
+
CFBundle.prototype.isLoaded.displayName = "CFBundle.prototype.isLoaded";
|
2339
|
+
CFBundle.prototype.load = function( shouldExecute)
|
2340
|
+
{
|
2341
|
+
if (this._loadStatus !== CFBundleUnloaded)
|
2342
|
+
return;
|
2343
|
+
this._loadStatus = CFBundleLoading | CFBundleLoadingInfoPlist;
|
2344
|
+
var self = this,
|
2345
|
+
bundleURL = this.bundleURL(),
|
2346
|
+
parentURL = new CFURL("..", bundleURL);
|
2347
|
+
if (parentURL.absoluteString() === bundleURL.absoluteString())
|
2348
|
+
parentURL = parentURL.schemeAndAuthority();
|
2349
|
+
StaticResource.resolveResourceAtURL(parentURL, YES, function(aStaticResource)
|
2350
|
+
{
|
2351
|
+
var resourceName = bundleURL.absoluteURL().lastPathComponent();
|
2352
|
+
self._staticResource = aStaticResource._children[resourceName] ||
|
2353
|
+
new StaticResource(bundleURL, aStaticResource, YES, NO);
|
2354
|
+
function onsuccess( anEvent)
|
2355
|
+
{
|
2356
|
+
self._loadStatus &= ~CFBundleLoadingInfoPlist;
|
2357
|
+
var infoDictionary = anEvent.request.responsePropertyList();
|
2358
|
+
self._isValid = !!infoDictionary || CFBundle.mainBundle() === self;
|
2359
|
+
if (infoDictionary)
|
2360
|
+
self._infoDictionary = infoDictionary;
|
2361
|
+
if (!self._infoDictionary)
|
2362
|
+
{
|
2363
|
+
finishBundleLoadingWithError(self, new Error("Could not load bundle at \"" + path + "\""));
|
2364
|
+
return;
|
2365
|
+
}
|
2366
|
+
if (self === CFBundle.mainBundle() && self.valueForInfoDictionaryKey("CPApplicationSize"))
|
2367
|
+
CPApplicationSizeInBytes = self.valueForInfoDictionaryKey("CPApplicationSize").valueForKey("executable") || 0;
|
2368
|
+
loadExecutableAndResources(self, shouldExecute);
|
2369
|
+
}
|
2370
|
+
function onfailure()
|
2371
|
+
{
|
2372
|
+
self._isValid = CFBundle.mainBundle() === self;
|
2373
|
+
self._loadStatus = CFBundleUnloaded;
|
2374
|
+
finishBundleLoadingWithError(self, new Error("Could not load bundle at \"" + self.bundleURL() + "\""));
|
2375
|
+
}
|
2376
|
+
new FileRequest(new CFURL("Info.plist", self.bundleURL()), onsuccess, onfailure);
|
2377
|
+
});
|
2378
|
+
}
|
2379
|
+
CFBundle.prototype.load.displayName = "CFBundle.prototype.load";
|
2380
|
+
function finishBundleLoadingWithError( aBundle, anError)
|
2381
|
+
{
|
2382
|
+
resolveStaticResource(aBundle._staticResource);
|
2383
|
+
aBundle._eventDispatcher.dispatchEvent(
|
2384
|
+
{
|
2385
|
+
type:"error",
|
2386
|
+
error:anError,
|
2387
|
+
bundle:aBundle
|
2388
|
+
});
|
2389
|
+
}
|
2390
|
+
function loadExecutableAndResources( aBundle, shouldExecute)
|
2391
|
+
{
|
2392
|
+
if (!aBundle.mostEligibleEnvironment())
|
2393
|
+
return failure();
|
2394
|
+
loadExecutableForBundle(aBundle, success, failure);
|
2395
|
+
loadSpritedImagesForBundle(aBundle, success, failure);
|
2396
|
+
if (aBundle._loadStatus === CFBundleLoading)
|
2397
|
+
return success();
|
2398
|
+
function failure( anError)
|
2399
|
+
{
|
2400
|
+
var loadRequests = aBundle._loadRequests,
|
2401
|
+
count = loadRequests.length;
|
2402
|
+
while (count--)
|
2403
|
+
loadRequests[count].abort();
|
2404
|
+
this._loadRequests = [];
|
2405
|
+
aBundle._loadStatus = CFBundleUnloaded;
|
2406
|
+
finishBundleLoadingWithError(aBundle, anError || new Error("Could not recognize executable code format in Bundle " + aBundle));
|
2407
|
+
}
|
2408
|
+
function success()
|
2409
|
+
{
|
2410
|
+
if ((typeof CPApp === "undefined" || !CPApp || !CPApp._finishedLaunching) &&
|
2411
|
+
typeof OBJJ_PROGRESS_CALLBACK === "function" && CPApplicationSizeInBytes)
|
2412
|
+
{
|
2413
|
+
OBJJ_PROGRESS_CALLBACK(MAX(MIN(1.0, CFTotalBytesLoaded / CPApplicationSizeInBytes), 0.0), CPApplicationSizeInBytes, aBundle.bundlePath())
|
2414
|
+
}
|
2415
|
+
if (aBundle._loadStatus === CFBundleLoading)
|
2416
|
+
aBundle._loadStatus = CFBundleLoaded;
|
2417
|
+
else
|
2418
|
+
return;
|
2419
|
+
resolveStaticResource(aBundle._staticResource);
|
2420
|
+
function complete()
|
2421
|
+
{
|
2422
|
+
aBundle._eventDispatcher.dispatchEvent(
|
2423
|
+
{
|
2424
|
+
type:"load",
|
2425
|
+
bundle:aBundle
|
2426
|
+
});
|
2427
|
+
}
|
2428
|
+
if (shouldExecute)
|
2429
|
+
executeBundle(aBundle, complete);
|
2430
|
+
else
|
2431
|
+
complete();
|
2432
|
+
}
|
2433
|
+
}
|
2434
|
+
function loadExecutableForBundle( aBundle, success, failure)
|
2435
|
+
{
|
2436
|
+
var executableURL = aBundle.executableURL();
|
2437
|
+
if (!executableURL)
|
2438
|
+
return;
|
2439
|
+
aBundle._loadStatus |= CFBundleLoadingExecutable;
|
2440
|
+
new FileRequest(executableURL, function( anEvent)
|
2441
|
+
{
|
2442
|
+
try
|
2443
|
+
{
|
2444
|
+
CFTotalBytesLoaded += anEvent.request.responseText().length;
|
2445
|
+
decompileStaticFile(aBundle, anEvent.request.responseText(), executableURL);
|
2446
|
+
aBundle._loadStatus &= ~CFBundleLoadingExecutable;
|
2447
|
+
success();
|
2448
|
+
}
|
2449
|
+
catch(anException)
|
2450
|
+
{
|
2451
|
+
failure(anException);
|
2452
|
+
}
|
2453
|
+
}, failure);
|
2454
|
+
}
|
2455
|
+
function spritedImagesTestURLStringForBundle( aBundle)
|
2456
|
+
{
|
2457
|
+
return "mhtml:" + new CFURL("MHTMLTest.txt", aBundle.mostEligibleEnvironmentURL());
|
2458
|
+
}
|
2459
|
+
function spritedImagesURLForBundle( aBundle)
|
2460
|
+
{
|
2461
|
+
if (CFBundleSupportedSpriteType === CFBundleDataURLSpriteType)
|
2462
|
+
return new CFURL("dataURLs.txt", aBundle.mostEligibleEnvironmentURL());
|
2463
|
+
if (CFBundleSupportedSpriteType === CFBundleMHTMLSpriteType ||
|
2464
|
+
CFBundleSupportedSpriteType === CFBundleMHTMLUncachedSpriteType)
|
2465
|
+
return new CFURL("MHTMLPaths.txt", aBundle.mostEligibleEnvironmentURL());
|
2466
|
+
return NULL;
|
2467
|
+
}
|
2468
|
+
function loadSpritedImagesForBundle( aBundle, success, failure)
|
2469
|
+
{
|
2470
|
+
if (!aBundle.hasSpritedImages())
|
2471
|
+
return;
|
2472
|
+
aBundle._loadStatus |= CFBundleLoadingSpritedImages;
|
2473
|
+
if (!CFBundleHasTestedSpriteSupport())
|
2474
|
+
return CFBundleTestSpriteSupport(spritedImagesTestURLStringForBundle(aBundle), function()
|
2475
|
+
{
|
2476
|
+
loadSpritedImagesForBundle(aBundle, success, failure);
|
2477
|
+
});
|
2478
|
+
var spritedImagesURL = spritedImagesURLForBundle(aBundle);
|
2479
|
+
if (!spritedImagesURL)
|
2480
|
+
{
|
2481
|
+
aBundle._loadStatus &= ~CFBundleLoadingSpritedImages;
|
2482
|
+
return success();
|
2483
|
+
}
|
2484
|
+
new FileRequest(spritedImagesURL, function( anEvent)
|
2485
|
+
{
|
2486
|
+
try
|
2487
|
+
{
|
2488
|
+
CFTotalBytesLoaded += anEvent.request.responseText().length;
|
2489
|
+
decompileStaticFile(aBundle, anEvent.request.responseText(), spritedImagesURL);
|
2490
|
+
aBundle._loadStatus &= ~CFBundleLoadingSpritedImages;
|
2491
|
+
}
|
2492
|
+
catch(anException)
|
2493
|
+
{
|
2494
|
+
failure(anException);
|
2495
|
+
}
|
2496
|
+
success();
|
2497
|
+
}, failure);
|
2498
|
+
}
|
2499
|
+
var CFBundleSpriteSupportListeners = [],
|
2500
|
+
CFBundleSupportedSpriteType = -1,
|
2501
|
+
CFBundleNoSpriteType = 0,
|
2502
|
+
CFBundleDataURLSpriteType = 1,
|
2503
|
+
CFBundleMHTMLSpriteType = 2,
|
2504
|
+
CFBundleMHTMLUncachedSpriteType = 3;
|
2505
|
+
function CFBundleHasTestedSpriteSupport()
|
2506
|
+
{
|
2507
|
+
return CFBundleSupportedSpriteType !== -1;
|
2508
|
+
}
|
2509
|
+
function CFBundleTestSpriteSupport( MHTMLPath, aCallback)
|
2510
|
+
{
|
2511
|
+
if (CFBundleHasTestedSpriteSupport())
|
2512
|
+
return;
|
2513
|
+
CFBundleSpriteSupportListeners.push(aCallback);
|
2514
|
+
if (CFBundleSpriteSupportListeners.length > 1)
|
2515
|
+
return;
|
2516
|
+
CFBundleSpriteSupportListeners.push(function()
|
2517
|
+
{
|
2518
|
+
var size = 0,
|
2519
|
+
sizeDictionary = CFBundle.mainBundle().valueForInfoDictionaryKey("CPApplicationSize");
|
2520
|
+
if (!sizeDictionary)
|
2521
|
+
return;
|
2522
|
+
switch (CFBundleSupportedSpriteType)
|
2523
|
+
{
|
2524
|
+
case CFBundleDataURLSpriteType:
|
2525
|
+
size = sizeDictionary.valueForKey("data");
|
2526
|
+
break;
|
2527
|
+
case CFBundleMHTMLSpriteType:
|
2528
|
+
case CFBundleMHTMLUncachedSpriteType:
|
2529
|
+
size = sizeDictionary.valueForKey("mhtml");
|
2530
|
+
break;
|
2531
|
+
}
|
2532
|
+
CPApplicationSizeInBytes += size;
|
2533
|
+
})
|
2534
|
+
CFBundleTestSpriteTypes([
|
2535
|
+
CFBundleDataURLSpriteType,
|
2536
|
+
"data:image/gif;base64,R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
2537
|
+
CFBundleMHTMLSpriteType,
|
2538
|
+
MHTMLPath+"!test",
|
2539
|
+
CFBundleMHTMLUncachedSpriteType,
|
2540
|
+
MHTMLPath+"?"+CFCacheBuster+"!test"
|
2541
|
+
]);
|
2542
|
+
}
|
2543
|
+
function CFBundleNotifySpriteSupportListeners()
|
2544
|
+
{
|
2545
|
+
var count = CFBundleSpriteSupportListeners.length;
|
2546
|
+
while (count--)
|
2547
|
+
CFBundleSpriteSupportListeners[count]();
|
2548
|
+
}
|
2549
|
+
function CFBundleTestSpriteTypes( spriteTypes)
|
2550
|
+
{
|
2551
|
+
if (spriteTypes.length < 2)
|
2552
|
+
{
|
2553
|
+
CFBundleSupportedSpriteType = CFBundleNoSpriteType;
|
2554
|
+
CFBundleNotifySpriteSupportListeners();
|
2555
|
+
return;
|
2556
|
+
}
|
2557
|
+
var image = new Image();
|
2558
|
+
image.onload = function()
|
2559
|
+
{
|
2560
|
+
if (image.width === 1 && image.height === 1)
|
2561
|
+
{
|
2562
|
+
CFBundleSupportedSpriteType = spriteTypes[0];
|
2563
|
+
CFBundleNotifySpriteSupportListeners();
|
2564
|
+
}
|
2565
|
+
else
|
2566
|
+
image.onerror();
|
2567
|
+
}
|
2568
|
+
image.onerror = function()
|
2569
|
+
{
|
2570
|
+
CFBundleTestSpriteTypes(spriteTypes.slice(2));
|
2571
|
+
}
|
2572
|
+
image.src = spriteTypes[1];
|
2573
|
+
}
|
2574
|
+
function executeBundle( aBundle, aCallback)
|
2575
|
+
{
|
2576
|
+
var staticResources = [aBundle._staticResource];
|
2577
|
+
function executeStaticResources(index)
|
2578
|
+
{
|
2579
|
+
for (; index < staticResources.length; ++index)
|
2580
|
+
{
|
2581
|
+
var staticResource = staticResources[index];
|
2582
|
+
if (staticResource.isNotFound())
|
2583
|
+
continue;
|
2584
|
+
if (staticResource.isFile())
|
2585
|
+
{
|
2586
|
+
var executable = new FileExecutable(staticResource.URL());
|
2587
|
+
if (executable.hasLoadedFileDependencies())
|
2588
|
+
executable.execute();
|
2589
|
+
else
|
2590
|
+
{
|
2591
|
+
executable.loadFileDependencies(function()
|
2592
|
+
{
|
2593
|
+
executeStaticResources(index);
|
2594
|
+
});
|
2595
|
+
return;
|
2596
|
+
}
|
2597
|
+
}
|
2598
|
+
else
|
2599
|
+
{
|
2600
|
+
if (staticResource.URL().absoluteString() === aBundle.resourcesDirectoryURL().absoluteString())
|
2601
|
+
continue;
|
2602
|
+
var children = staticResource.children();
|
2603
|
+
for (var name in children)
|
2604
|
+
if (hasOwnProperty.call(children, name))
|
2605
|
+
staticResources.push(children[name]);
|
2606
|
+
}
|
2607
|
+
}
|
2608
|
+
aCallback();
|
2609
|
+
}
|
2610
|
+
executeStaticResources(0);
|
2611
|
+
}
|
2612
|
+
var STATIC_MAGIC_NUMBER = "@STATIC",
|
2613
|
+
MARKER_PATH = "p",
|
2614
|
+
MARKER_URI = "u",
|
2615
|
+
MARKER_CODE = "c",
|
2616
|
+
MARKER_TEXT = "t",
|
2617
|
+
MARKER_IMPORT_STD = 'I',
|
2618
|
+
MARKER_IMPORT_LOCAL = 'i';
|
2619
|
+
function decompileStaticFile( aBundle, aString, aPath)
|
2620
|
+
{
|
2621
|
+
var stream = new MarkedStream(aString);
|
2622
|
+
if (stream.magicNumber() !== STATIC_MAGIC_NUMBER)
|
2623
|
+
throw new Error("Could not read static file: " + aPath);
|
2624
|
+
if (stream.version() !== "1.0")
|
2625
|
+
throw new Error("Could not read static file: " + aPath);
|
2626
|
+
var marker,
|
2627
|
+
bundleURL = aBundle.bundleURL(),
|
2628
|
+
file = NULL;
|
2629
|
+
while (marker = stream.getMarker())
|
2630
|
+
{
|
2631
|
+
var text = stream.getString();
|
2632
|
+
if (marker === MARKER_PATH)
|
2633
|
+
{
|
2634
|
+
var fileURL = new CFURL(text, bundleURL),
|
2635
|
+
parent = StaticResource.resourceAtURL(new CFURL(".", fileURL), YES);
|
2636
|
+
file = new StaticResource(fileURL, parent, NO, YES);
|
2637
|
+
}
|
2638
|
+
else if (marker === MARKER_URI)
|
2639
|
+
{
|
2640
|
+
var URL = new CFURL(text, bundleURL),
|
2641
|
+
mappedURLString = stream.getString();
|
2642
|
+
if (mappedURLString.indexOf("mhtml:") === 0)
|
2643
|
+
{
|
2644
|
+
mappedURLString = "mhtml:" + new CFURL(mappedURLString.substr("mhtml:".length), bundleURL);
|
2645
|
+
if (CFBundleSupportedSpriteType === CFBundleMHTMLUncachedSpriteType)
|
2646
|
+
{
|
2647
|
+
var exclamationIndex = mappedURLString.indexOf("!"),
|
2648
|
+
firstPart = mappedURLString.substring(0, exclamationIndex),
|
2649
|
+
lastPart = mappedURLString.substring(exclamationIndex);
|
2650
|
+
mappedURLString = firstPart + "?" + CFCacheBuster + lastPart;
|
2651
|
+
}
|
2652
|
+
}
|
2653
|
+
CFURL.setMappedURLForURL(URL, new CFURL(mappedURLString));
|
2654
|
+
var parent = StaticResource.resourceAtURL(new CFURL(".", URL), YES);
|
2655
|
+
new StaticResource(URL, parent, NO, YES);
|
2656
|
+
}
|
2657
|
+
else if (marker === MARKER_TEXT)
|
2658
|
+
file.write(text);
|
2659
|
+
}
|
2660
|
+
}
|
2661
|
+
CFBundle.prototype.addEventListener = function( anEventName, anEventListener)
|
2662
|
+
{
|
2663
|
+
this._eventDispatcher.addEventListener(anEventName, anEventListener);
|
2664
|
+
}
|
2665
|
+
CFBundle.prototype.addEventListener.displayName = "CFBundle.prototype.addEventListener";
|
2666
|
+
CFBundle.prototype.removeEventListener = function( anEventName, anEventListener)
|
2667
|
+
{
|
2668
|
+
this._eventDispatcher.removeEventListener(anEventName, anEventListener);
|
2669
|
+
}
|
2670
|
+
CFBundle.prototype.removeEventListener.displayName = "CFBundle.prototype.removeEventListener";
|
2671
|
+
CFBundle.prototype.onerror = function( anEvent)
|
2672
|
+
{
|
2673
|
+
throw anEvent.error;
|
2674
|
+
}
|
2675
|
+
CFBundle.prototype.onerror.displayName = "CFBundle.prototype.onerror";
|
2676
|
+
CFBundle.prototype.bundlePath = function()
|
2677
|
+
{
|
2678
|
+
return this._bundleURL.absoluteURL().path();
|
2679
|
+
}
|
2680
|
+
CFBundle.prototype.path = function()
|
2681
|
+
{
|
2682
|
+
CPLog.warn("CFBundle.prototype.path is deprecated, use CFBundle.prototype.bundlePath instead.");
|
2683
|
+
return this.bundlePath.apply(this, arguments);
|
2684
|
+
}
|
2685
|
+
CFBundle.prototype.pathForResource = function(aResource)
|
2686
|
+
{
|
2687
|
+
return this.resourceURL(aResource).absoluteString();
|
2688
|
+
}
|
2689
|
+
var rootResources = { };
|
2690
|
+
function StaticResource( aURL, aParent, isDirectory, isResolved)
|
2691
|
+
{
|
2692
|
+
this._parent = aParent;
|
2693
|
+
this._eventDispatcher = new EventDispatcher(this);
|
2694
|
+
var name = aURL.absoluteURL().lastPathComponent() || aURL.schemeAndAuthority();
|
2695
|
+
this._name = name;
|
2696
|
+
this._URL = aURL;
|
2697
|
+
this._isResolved = !!isResolved;
|
2698
|
+
if (isDirectory)
|
2699
|
+
this._URL = this._URL.asDirectoryPathURL();
|
2700
|
+
if (!aParent)
|
2701
|
+
rootResources[name] = this;
|
2702
|
+
this._isDirectory = !!isDirectory;
|
2703
|
+
this._isNotFound = NO;
|
2704
|
+
if (aParent)
|
2705
|
+
aParent._children[name] = this;
|
2706
|
+
if (isDirectory)
|
2707
|
+
this._children = { };
|
2708
|
+
else
|
2709
|
+
this._contents = "";
|
2710
|
+
}
|
2711
|
+
StaticResource.rootResources = function()
|
2712
|
+
{
|
2713
|
+
return rootResources;
|
2714
|
+
}
|
2715
|
+
exports.StaticResource = StaticResource;
|
2716
|
+
function resolveStaticResource( aResource)
|
2717
|
+
{
|
2718
|
+
aResource._isResolved = YES;
|
2719
|
+
aResource._eventDispatcher.dispatchEvent(
|
2720
|
+
{
|
2721
|
+
type:"resolve",
|
2722
|
+
staticResource:aResource
|
2723
|
+
});
|
2724
|
+
}
|
2725
|
+
StaticResource.prototype.resolve = function()
|
2726
|
+
{
|
2727
|
+
if (this.isDirectory())
|
2728
|
+
{
|
2729
|
+
var bundle = new CFBundle(this.URL());
|
2730
|
+
bundle.onerror = function() { };
|
2731
|
+
bundle.load(NO);
|
2732
|
+
}
|
2733
|
+
else
|
2734
|
+
{
|
2735
|
+
var self = this;
|
2736
|
+
function onsuccess( anEvent)
|
2737
|
+
{
|
2738
|
+
self._contents = anEvent.request.responseText();
|
2739
|
+
resolveStaticResource(self);
|
2740
|
+
}
|
2741
|
+
function onfailure()
|
2742
|
+
{
|
2743
|
+
self._isNotFound = YES;
|
2744
|
+
resolveStaticResource(self);
|
2745
|
+
}
|
2746
|
+
new FileRequest(this.URL(), onsuccess, onfailure);
|
2747
|
+
}
|
2748
|
+
}
|
2749
|
+
StaticResource.prototype.name = function()
|
2750
|
+
{
|
2751
|
+
return this._name;
|
2752
|
+
}
|
2753
|
+
StaticResource.prototype.URL = function()
|
2754
|
+
{
|
2755
|
+
return this._URL;
|
2756
|
+
}
|
2757
|
+
StaticResource.prototype.contents = function()
|
2758
|
+
{
|
2759
|
+
return this._contents;
|
2760
|
+
}
|
2761
|
+
StaticResource.prototype.children = function()
|
2762
|
+
{
|
2763
|
+
return this._children;
|
2764
|
+
}
|
2765
|
+
StaticResource.prototype.parent = function()
|
2766
|
+
{
|
2767
|
+
return this._parent;
|
2768
|
+
}
|
2769
|
+
StaticResource.prototype.isResolved = function()
|
2770
|
+
{
|
2771
|
+
return this._isResolved;
|
2772
|
+
}
|
2773
|
+
StaticResource.prototype.write = function( aString)
|
2774
|
+
{
|
2775
|
+
this._contents += aString;
|
2776
|
+
}
|
2777
|
+
function rootResourceForAbsoluteURL( anAbsoluteURL)
|
2778
|
+
{
|
2779
|
+
var schemeAndAuthority = anAbsoluteURL.schemeAndAuthority(),
|
2780
|
+
resource = rootResources[schemeAndAuthority];
|
2781
|
+
if (!resource)
|
2782
|
+
resource = new StaticResource(new CFURL(schemeAndAuthority), NULL, YES, YES);
|
2783
|
+
return resource;
|
2784
|
+
}
|
2785
|
+
StaticResource.resourceAtURL = function( aURL, resolveAsDirectoriesIfNecessary)
|
2786
|
+
{
|
2787
|
+
aURL = makeAbsoluteURL(aURL).absoluteURL();
|
2788
|
+
var resource = rootResourceForAbsoluteURL(aURL),
|
2789
|
+
components = aURL.pathComponents(),
|
2790
|
+
index = 0,
|
2791
|
+
count = components.length;
|
2792
|
+
for (; index < count; ++index)
|
2793
|
+
{
|
2794
|
+
var name = components[index];
|
2795
|
+
if (hasOwnProperty.call(resource._children, name))
|
2796
|
+
resource = resource._children[name];
|
2797
|
+
else if (resolveAsDirectoriesIfNecessary)
|
2798
|
+
{
|
2799
|
+
if (name !== "/")
|
2800
|
+
name = "./" + name;
|
2801
|
+
resource = new StaticResource(new CFURL(name, resource.URL()), resource, YES, YES);
|
2802
|
+
}
|
2803
|
+
else
|
2804
|
+
throw new Error("Static Resource at " + aURL + " is not resolved (\"" + name + "\")");
|
2805
|
+
}
|
2806
|
+
return resource;
|
2807
|
+
}
|
2808
|
+
StaticResource.prototype.resourceAtURL = function( aURL, resolveAsDirectoriesIfNecessary)
|
2809
|
+
{
|
2810
|
+
return StaticResource.resourceAtURL(new CFURL(aURL, this.URL()), resolveAsDirectoriesIfNecessary);
|
2811
|
+
}
|
2812
|
+
StaticResource.resolveResourceAtURL = function( aURL, isDirectory, aCallback)
|
2813
|
+
{
|
2814
|
+
aURL = makeAbsoluteURL(aURL).absoluteURL();
|
2815
|
+
resolveResourceComponents(rootResourceForAbsoluteURL(aURL), isDirectory, aURL.pathComponents(), 0, aCallback);
|
2816
|
+
}
|
2817
|
+
StaticResource.prototype.resolveResourceAtURL = function( aURL, isDirectory, aCallback)
|
2818
|
+
{
|
2819
|
+
StaticResource.resolveResourceAtURL(new CFURL(aURL, this.URL()).absoluteURL(), isDirectory, aCallback);
|
2820
|
+
}
|
2821
|
+
function resolveResourceComponents( aResource, isDirectory, components, index, aCallback)
|
2822
|
+
{
|
2823
|
+
var count = components.length;
|
2824
|
+
for (; index < count; ++index)
|
2825
|
+
{
|
2826
|
+
var name = components[index],
|
2827
|
+
child = hasOwnProperty.call(aResource._children, name) && aResource._children[name];
|
2828
|
+
if (!child)
|
2829
|
+
{
|
2830
|
+
child = new StaticResource(new CFURL(name, aResource.URL()), aResource, index + 1 < count || isDirectory , NO);
|
2831
|
+
child.resolve();
|
2832
|
+
}
|
2833
|
+
if (!child.isResolved())
|
2834
|
+
return child.addEventListener("resolve", function()
|
2835
|
+
{
|
2836
|
+
resolveResourceComponents(aResource, isDirectory, components, index, aCallback);
|
2837
|
+
});
|
2838
|
+
if (child.isNotFound())
|
2839
|
+
return aCallback(null, new Error("File not found: " + components.join("/")));
|
2840
|
+
if ((index + 1 < count) && child.isFile())
|
2841
|
+
return aCallback(null, new Error("File is not a directory: " + components.join("/")));
|
2842
|
+
aResource = child;
|
2843
|
+
}
|
2844
|
+
aCallback(aResource);
|
2845
|
+
}
|
2846
|
+
function resolveResourceAtURLSearchingIncludeURLs( aURL, anIndex, aCallback)
|
2847
|
+
{
|
2848
|
+
var includeURLs = StaticResource.includeURLs(),
|
2849
|
+
searchURL = new CFURL(aURL, includeURLs[anIndex]).absoluteURL();
|
2850
|
+
StaticResource.resolveResourceAtURL(searchURL, NO, function( aStaticResource)
|
2851
|
+
{
|
2852
|
+
if (!aStaticResource)
|
2853
|
+
{
|
2854
|
+
if (anIndex + 1 < includeURLs.length)
|
2855
|
+
resolveResourceAtURLSearchingIncludeURLs(aURL, anIndex + 1, aCallback);
|
2856
|
+
else
|
2857
|
+
aCallback(NULL);
|
2858
|
+
return;
|
2859
|
+
}
|
2860
|
+
aCallback(aStaticResource);
|
2861
|
+
});
|
2862
|
+
}
|
2863
|
+
StaticResource.resolveResourceAtURLSearchingIncludeURLs = function( aURL, aCallback)
|
2864
|
+
{
|
2865
|
+
resolveResourceAtURLSearchingIncludeURLs(aURL, 0, aCallback);
|
2866
|
+
}
|
2867
|
+
StaticResource.prototype.addEventListener = function( anEventName, anEventListener)
|
2868
|
+
{
|
2869
|
+
this._eventDispatcher.addEventListener(anEventName, anEventListener);
|
2870
|
+
}
|
2871
|
+
StaticResource.prototype.removeEventListener = function( anEventName, anEventListener)
|
2872
|
+
{
|
2873
|
+
this._eventDispatcher.removeEventListener(anEventName, anEventListener);
|
2874
|
+
}
|
2875
|
+
StaticResource.prototype.isNotFound = function()
|
2876
|
+
{
|
2877
|
+
return this._isNotFound;
|
2878
|
+
}
|
2879
|
+
StaticResource.prototype.isFile = function()
|
2880
|
+
{
|
2881
|
+
return !this._isDirectory;
|
2882
|
+
}
|
2883
|
+
StaticResource.prototype.isDirectory = function()
|
2884
|
+
{
|
2885
|
+
return this._isDirectory;
|
2886
|
+
}
|
2887
|
+
StaticResource.prototype.toString = function( includeNotFounds)
|
2888
|
+
{
|
2889
|
+
if (this.isNotFound())
|
2890
|
+
return "<file not found: " + this.name() + ">";
|
2891
|
+
var string = this.name();
|
2892
|
+
if (this.isDirectory())
|
2893
|
+
{
|
2894
|
+
var children = this._children;
|
2895
|
+
for (var name in children)
|
2896
|
+
if (children.hasOwnProperty(name))
|
2897
|
+
{
|
2898
|
+
var child = children[name];
|
2899
|
+
if (includeNotFounds || !child.isNotFound())
|
2900
|
+
string += "\n\t" + children[name].toString(includeNotFounds).split('\n').join("\n\t");
|
2901
|
+
}
|
2902
|
+
}
|
2903
|
+
return string;
|
2904
|
+
}
|
2905
|
+
var includeURLs = NULL;
|
2906
|
+
StaticResource.includeURLs = function()
|
2907
|
+
{
|
2908
|
+
if (includeURLs)
|
2909
|
+
return includeURLs;
|
2910
|
+
var includeURLs = [];
|
2911
|
+
if (!global.OBJJ_INCLUDE_PATHS && !global.OBJJ_INCLUDE_URLS)
|
2912
|
+
includeURLs = ["Frameworks", "Frameworks/Debug"];
|
2913
|
+
else
|
2914
|
+
includeURLs = (global.OBJJ_INCLUDE_PATHS || []).concat(global.OBJJ_INCLUDE_URLS || []);
|
2915
|
+
var count = includeURLs.length;
|
2916
|
+
while (count--)
|
2917
|
+
includeURLs[count] = new CFURL(includeURLs[count]).asDirectoryPathURL();
|
2918
|
+
return includeURLs;
|
2919
|
+
}
|
2920
|
+
var TOKEN_ACCESSORS = "accessors",
|
2921
|
+
TOKEN_CLASS = "class",
|
2922
|
+
TOKEN_END = "end",
|
2923
|
+
TOKEN_FUNCTION = "function",
|
2924
|
+
TOKEN_IMPLEMENTATION = "implementation",
|
2925
|
+
TOKEN_IMPORT = "import",
|
2926
|
+
TOKEN_EACH = "each",
|
2927
|
+
TOKEN_OUTLET = "outlet",
|
2928
|
+
TOKEN_ACTION = "action",
|
2929
|
+
TOKEN_NEW = "new",
|
2930
|
+
TOKEN_SELECTOR = "selector",
|
2931
|
+
TOKEN_SUPER = "super",
|
2932
|
+
TOKEN_VAR = "var",
|
2933
|
+
TOKEN_IN = "in",
|
2934
|
+
TOKEN_PRAGMA = "pragma",
|
2935
|
+
TOKEN_MARK = "mark",
|
2936
|
+
TOKEN_EQUAL = '=',
|
2937
|
+
TOKEN_PLUS = '+',
|
2938
|
+
TOKEN_MINUS = '-',
|
2939
|
+
TOKEN_COLON = ':',
|
2940
|
+
TOKEN_COMMA = ',',
|
2941
|
+
TOKEN_PERIOD = '.',
|
2942
|
+
TOKEN_ASTERISK = '*',
|
2943
|
+
TOKEN_SEMICOLON = ';',
|
2944
|
+
TOKEN_LESS_THAN = '<',
|
2945
|
+
TOKEN_OPEN_BRACE = '{',
|
2946
|
+
TOKEN_CLOSE_BRACE = '}',
|
2947
|
+
TOKEN_GREATER_THAN = '>',
|
2948
|
+
TOKEN_OPEN_BRACKET = '[',
|
2949
|
+
TOKEN_DOUBLE_QUOTE = '"',
|
2950
|
+
TOKEN_PREPROCESSOR = '@',
|
2951
|
+
TOKEN_HASH = '#',
|
2952
|
+
TOKEN_CLOSE_BRACKET = ']',
|
2953
|
+
TOKEN_QUESTION_MARK = '?',
|
2954
|
+
TOKEN_OPEN_PARENTHESIS = '(',
|
2955
|
+
TOKEN_CLOSE_PARENTHESIS = ')',
|
2956
|
+
TOKEN_WHITESPACE = /^(?:(?:\s+$)|(?:\/(?:\/|\*)))/,
|
2957
|
+
TOKEN_NUMBER = /^[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?$/,
|
2958
|
+
TOKEN_IDENTIFIER = /^[a-zA-Z_$](\w|$)*$/;
|
2959
|
+
function Lexer( aString)
|
2960
|
+
{
|
2961
|
+
this._index = -1;
|
2962
|
+
this._tokens = (aString + '\n').match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"[^"\\]*(\\[\s\S][^"\\]*)*"|'[^'\\]*(\\[\s\S][^'\\]*)*'|\s+|./g);
|
2963
|
+
this._context = [];
|
2964
|
+
return this;
|
2965
|
+
}
|
2966
|
+
Lexer.prototype.push = function()
|
2967
|
+
{
|
2968
|
+
this._context.push(this._index);
|
2969
|
+
}
|
2970
|
+
Lexer.prototype.pop = function()
|
2971
|
+
{
|
2972
|
+
this._index = this._context.pop();
|
2973
|
+
}
|
2974
|
+
Lexer.prototype.peek = function(shouldSkipWhitespace)
|
2975
|
+
{
|
2976
|
+
if (shouldSkipWhitespace)
|
2977
|
+
{
|
2978
|
+
this.push();
|
2979
|
+
var token = this.skip_whitespace();
|
2980
|
+
this.pop();
|
2981
|
+
return token;
|
2982
|
+
}
|
2983
|
+
return this._tokens[this._index + 1];
|
2984
|
+
}
|
2985
|
+
Lexer.prototype.next = function()
|
2986
|
+
{
|
2987
|
+
return this._tokens[++this._index];
|
2988
|
+
}
|
2989
|
+
Lexer.prototype.previous = function()
|
2990
|
+
{
|
2991
|
+
return this._tokens[--this._index];
|
2992
|
+
}
|
2993
|
+
Lexer.prototype.last = function()
|
2994
|
+
{
|
2995
|
+
if (this._index < 0)
|
2996
|
+
return NULL;
|
2997
|
+
return this._tokens[this._index - 1];
|
2998
|
+
}
|
2999
|
+
Lexer.prototype.skip_whitespace = function(shouldMoveBackwards)
|
3000
|
+
{
|
3001
|
+
var token;
|
3002
|
+
if (shouldMoveBackwards)
|
3003
|
+
while ((token = this.previous()) && TOKEN_WHITESPACE.test(token)) ;
|
3004
|
+
else
|
3005
|
+
while ((token = this.next()) && TOKEN_WHITESPACE.test(token)) ;
|
3006
|
+
return token;
|
3007
|
+
}
|
3008
|
+
exports.Lexer = Lexer;
|
3009
|
+
function StringBuffer()
|
3010
|
+
{
|
3011
|
+
this.atoms = [];
|
3012
|
+
}
|
3013
|
+
StringBuffer.prototype.toString = function()
|
3014
|
+
{
|
3015
|
+
return this.atoms.join("");
|
3016
|
+
}
|
3017
|
+
exports.preprocess = function( aString, aURL, flags)
|
3018
|
+
{
|
3019
|
+
return new Preprocessor(aString, aURL, flags).executable();
|
3020
|
+
}
|
3021
|
+
exports.eval = function( aString)
|
3022
|
+
{
|
3023
|
+
return eval(exports.preprocess(aString).code());
|
3024
|
+
}
|
3025
|
+
var Preprocessor = function( aString, aURL, flags)
|
3026
|
+
{
|
3027
|
+
this._URL = new CFURL(aURL);
|
3028
|
+
aString = aString.replace(/^#[^\n]+\n/, "\n");
|
3029
|
+
this._currentSelector = "";
|
3030
|
+
this._currentClass = "";
|
3031
|
+
this._currentSuperClass = "";
|
3032
|
+
this._currentSuperMetaClass = "";
|
3033
|
+
this._buffer = new StringBuffer();
|
3034
|
+
this._preprocessed = NULL;
|
3035
|
+
this._dependencies = [];
|
3036
|
+
this._tokens = new Lexer(aString);
|
3037
|
+
this._flags = flags;
|
3038
|
+
this._classMethod = false;
|
3039
|
+
this._executable = NULL;
|
3040
|
+
this._classLookupTable = {};
|
3041
|
+
this._classVars = {};
|
3042
|
+
var classObject = new objj_class();
|
3043
|
+
for (var i in classObject)
|
3044
|
+
this._classVars[i] = 1;
|
3045
|
+
this.preprocess(this._tokens, this._buffer);
|
3046
|
+
}
|
3047
|
+
Preprocessor.prototype.setClassInfo = function(className, superClassName, ivars)
|
3048
|
+
{
|
3049
|
+
this._classLookupTable[className] = { superClassName:superClassName, ivars:ivars };
|
3050
|
+
}
|
3051
|
+
Preprocessor.prototype.getClassInfo = function(className)
|
3052
|
+
{
|
3053
|
+
return this._classLookupTable[className];
|
3054
|
+
}
|
3055
|
+
Preprocessor.prototype.allIvarNamesForClassName = function(className)
|
3056
|
+
{
|
3057
|
+
var names = {},
|
3058
|
+
classInfo = this.getClassInfo(className);
|
3059
|
+
while (classInfo)
|
3060
|
+
{
|
3061
|
+
for (var i in classInfo.ivars)
|
3062
|
+
names[i] = 1;
|
3063
|
+
classInfo = this.getClassInfo(classInfo.superClassName);
|
3064
|
+
}
|
3065
|
+
return names;
|
3066
|
+
}
|
3067
|
+
exports.Preprocessor = Preprocessor;
|
3068
|
+
Preprocessor.Flags = { };
|
3069
|
+
Preprocessor.Flags.IncludeDebugSymbols = 1 << 0;
|
3070
|
+
Preprocessor.Flags.IncludeTypeSignatures = 1 << 1;
|
3071
|
+
Preprocessor.prototype.executable = function()
|
3072
|
+
{
|
3073
|
+
if (!this._executable)
|
3074
|
+
this._executable = new Executable(this._buffer.toString(), this._dependencies, this._URL);
|
3075
|
+
return this._executable;
|
3076
|
+
}
|
3077
|
+
Preprocessor.prototype.accessors = function(tokens)
|
3078
|
+
{
|
3079
|
+
var token = tokens.skip_whitespace(),
|
3080
|
+
attributes = {};
|
3081
|
+
if (token != TOKEN_OPEN_PARENTHESIS)
|
3082
|
+
{
|
3083
|
+
tokens.previous();
|
3084
|
+
return attributes;
|
3085
|
+
}
|
3086
|
+
while ((token = tokens.skip_whitespace()) != TOKEN_CLOSE_PARENTHESIS)
|
3087
|
+
{
|
3088
|
+
var name = token,
|
3089
|
+
value = true;
|
3090
|
+
if (!/^\w+$/.test(name))
|
3091
|
+
throw new SyntaxError(this.error_message("*** @accessors attribute name not valid."));
|
3092
|
+
if ((token = tokens.skip_whitespace()) == TOKEN_EQUAL)
|
3093
|
+
{
|
3094
|
+
value = tokens.skip_whitespace();
|
3095
|
+
if (!/^\w+$/.test(value))
|
3096
|
+
throw new SyntaxError(this.error_message("*** @accessors attribute value not valid."));
|
3097
|
+
if (name == "setter")
|
3098
|
+
{
|
3099
|
+
if ((token = tokens.next()) != TOKEN_COLON)
|
3100
|
+
throw new SyntaxError(this.error_message("*** @accessors setter attribute requires argument with \":\" at end of selector name."));
|
3101
|
+
value += ":";
|
3102
|
+
}
|
3103
|
+
token = tokens.skip_whitespace();
|
3104
|
+
}
|
3105
|
+
attributes[name] = value;
|
3106
|
+
if (token == TOKEN_CLOSE_PARENTHESIS)
|
3107
|
+
break;
|
3108
|
+
if (token != TOKEN_COMMA)
|
3109
|
+
throw new SyntaxError(this.error_message("*** Expected ',' or ')' in @accessors attribute list."));
|
3110
|
+
}
|
3111
|
+
return attributes;
|
3112
|
+
}
|
3113
|
+
Preprocessor.prototype.brackets = function( tokens, aStringBuffer)
|
3114
|
+
{
|
3115
|
+
var tuples = [];
|
3116
|
+
while (this.preprocess(tokens, NULL, NULL, NULL, tuples[tuples.length] = [])) ;
|
3117
|
+
if (tuples[0].length === 1)
|
3118
|
+
{
|
3119
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = '[';
|
3120
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = tuples[0][0];
|
3121
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = ']';
|
3122
|
+
}
|
3123
|
+
else
|
3124
|
+
{
|
3125
|
+
var selector = new StringBuffer();
|
3126
|
+
if (tuples[0][0].atoms[0] == TOKEN_SUPER)
|
3127
|
+
{
|
3128
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = "objj_msgSendSuper(";
|
3129
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = "{ receiver:self, super_class:" + (this._classMethod ? this._currentSuperMetaClass : this._currentSuperClass ) + " }";
|
3130
|
+
}
|
3131
|
+
else
|
3132
|
+
{
|
3133
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = "objj_msgSend(";
|
3134
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = tuples[0][0];
|
3135
|
+
}
|
3136
|
+
selector.atoms[selector.atoms.length] = tuples[0][1];
|
3137
|
+
var index = 1,
|
3138
|
+
count = tuples.length,
|
3139
|
+
marg_list = new StringBuffer();
|
3140
|
+
for(; index < count; ++index)
|
3141
|
+
{
|
3142
|
+
var pair = tuples[index];
|
3143
|
+
selector.atoms[selector.atoms.length] = pair[1];
|
3144
|
+
marg_list.atoms[marg_list.atoms.length] = ", " + pair[0];
|
3145
|
+
}
|
3146
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = ", \"";
|
3147
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = selector;
|
3148
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = '\"';
|
3149
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = marg_list;
|
3150
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = ')';
|
3151
|
+
}
|
3152
|
+
}
|
3153
|
+
Preprocessor.prototype.directive = function(tokens, aStringBuffer, allowedDirectivesFlags)
|
3154
|
+
{
|
3155
|
+
var buffer = aStringBuffer ? aStringBuffer : new StringBuffer(),
|
3156
|
+
token = tokens.next();
|
3157
|
+
if (token.charAt(0) == TOKEN_DOUBLE_QUOTE)
|
3158
|
+
buffer.atoms[buffer.atoms.length] = token;
|
3159
|
+
else if (token === TOKEN_CLASS)
|
3160
|
+
{
|
3161
|
+
tokens.skip_whitespace();
|
3162
|
+
return;
|
3163
|
+
}
|
3164
|
+
else if (token === TOKEN_IMPLEMENTATION)
|
3165
|
+
this.implementation(tokens, buffer);
|
3166
|
+
else if (token === TOKEN_IMPORT)
|
3167
|
+
this._import(tokens);
|
3168
|
+
else if (token === TOKEN_SELECTOR)
|
3169
|
+
this.selector(tokens, buffer);
|
3170
|
+
if (!aStringBuffer)
|
3171
|
+
return buffer;
|
3172
|
+
}
|
3173
|
+
Preprocessor.prototype.hash = function(tokens, aStringBuffer)
|
3174
|
+
{
|
3175
|
+
var buffer = aStringBuffer ? aStringBuffer : new StringBuffer(),
|
3176
|
+
token = tokens.next();
|
3177
|
+
if (token === TOKEN_PRAGMA)
|
3178
|
+
{
|
3179
|
+
token = tokens.skip_whitespace();
|
3180
|
+
if (token === TOKEN_MARK)
|
3181
|
+
{
|
3182
|
+
while ((token = tokens.next()).indexOf("\n") < 0);
|
3183
|
+
}
|
3184
|
+
}
|
3185
|
+
else
|
3186
|
+
throw new SyntaxError(this.error_message("*** Expected \"pragma\" to follow # but instead saw \"" + token + "\"."));
|
3187
|
+
}
|
3188
|
+
Preprocessor.prototype.implementation = function(tokens, aStringBuffer)
|
3189
|
+
{
|
3190
|
+
var buffer = aStringBuffer,
|
3191
|
+
token = "",
|
3192
|
+
category = NO,
|
3193
|
+
class_name = tokens.skip_whitespace(),
|
3194
|
+
superclass_name = "Nil",
|
3195
|
+
instance_methods = new StringBuffer(),
|
3196
|
+
class_methods = new StringBuffer();
|
3197
|
+
if (!(/^\w/).test(class_name))
|
3198
|
+
throw new Error(this.error_message("*** Expected class name, found \"" + class_name + "\"."));
|
3199
|
+
this._currentSuperClass = "objj_getClass(\"" + class_name + "\").super_class";
|
3200
|
+
this._currentSuperMetaClass = "objj_getMetaClass(\"" + class_name + "\").super_class";
|
3201
|
+
this._currentClass = class_name;
|
3202
|
+
this._currentSelector = "";
|
3203
|
+
if ((token = tokens.skip_whitespace()) == TOKEN_OPEN_PARENTHESIS)
|
3204
|
+
{
|
3205
|
+
token = tokens.skip_whitespace();
|
3206
|
+
if (token == TOKEN_CLOSE_PARENTHESIS)
|
3207
|
+
throw new SyntaxError(this.error_message("*** Can't Have Empty Category Name for class \"" + class_name + "\"."));
|
3208
|
+
if (tokens.skip_whitespace() != TOKEN_CLOSE_PARENTHESIS)
|
3209
|
+
throw new SyntaxError(this.error_message("*** Improper Category Definition for class \"" + class_name + "\"."));
|
3210
|
+
buffer.atoms[buffer.atoms.length] = "{\nvar the_class = objj_getClass(\"" + class_name + "\")\n";
|
3211
|
+
buffer.atoms[buffer.atoms.length] = "if(!the_class) throw new SyntaxError(\"*** Could not find definition for class \\\"" + class_name + "\\\"\");\n";
|
3212
|
+
buffer.atoms[buffer.atoms.length] = "var meta_class = the_class.isa;";
|
3213
|
+
}
|
3214
|
+
else
|
3215
|
+
{
|
3216
|
+
if(token == TOKEN_COLON)
|
3217
|
+
{
|
3218
|
+
token = tokens.skip_whitespace();
|
3219
|
+
if (!TOKEN_IDENTIFIER.test(token))
|
3220
|
+
throw new SyntaxError(this.error_message("*** Expected class name, found \"" + token + "\"."));
|
3221
|
+
superclass_name = token;
|
3222
|
+
token = tokens.skip_whitespace();
|
3223
|
+
}
|
3224
|
+
buffer.atoms[buffer.atoms.length] = "{var the_class = objj_allocateClassPair(" + superclass_name + ", \"" + class_name + "\"),\nmeta_class = the_class.isa;";
|
3225
|
+
if (token == TOKEN_OPEN_BRACE)
|
3226
|
+
{
|
3227
|
+
var ivar_names = {},
|
3228
|
+
ivar_count = 0,
|
3229
|
+
declaration = [],
|
3230
|
+
attributes,
|
3231
|
+
accessors = {};
|
3232
|
+
while((token = tokens.skip_whitespace()) && token != TOKEN_CLOSE_BRACE)
|
3233
|
+
{
|
3234
|
+
if (token === TOKEN_PREPROCESSOR)
|
3235
|
+
{
|
3236
|
+
token = tokens.next();
|
3237
|
+
if (token === TOKEN_ACCESSORS)
|
3238
|
+
attributes = this.accessors(tokens);
|
3239
|
+
else if (token !== TOKEN_OUTLET)
|
3240
|
+
throw new SyntaxError(this.error_message("*** Unexpected '@' token in ivar declaration ('@"+token+"')."));
|
3241
|
+
}
|
3242
|
+
else if (token == TOKEN_SEMICOLON)
|
3243
|
+
{
|
3244
|
+
if (ivar_count++ === 0)
|
3245
|
+
buffer.atoms[buffer.atoms.length] = "class_addIvars(the_class, [";
|
3246
|
+
else
|
3247
|
+
buffer.atoms[buffer.atoms.length] = ", ";
|
3248
|
+
var name = declaration[declaration.length - 1];
|
3249
|
+
buffer.atoms[buffer.atoms.length] = "new objj_ivar(\"" + name + "\")";
|
3250
|
+
ivar_names[name] = 1;
|
3251
|
+
declaration = [];
|
3252
|
+
if (attributes)
|
3253
|
+
{
|
3254
|
+
accessors[name] = attributes;
|
3255
|
+
attributes = NULL;
|
3256
|
+
}
|
3257
|
+
}
|
3258
|
+
else
|
3259
|
+
declaration.push(token);
|
3260
|
+
}
|
3261
|
+
if (declaration.length)
|
3262
|
+
throw new SyntaxError(this.error_message("*** Expected ';' in ivar declaration, found '}'."));
|
3263
|
+
if (ivar_count)
|
3264
|
+
buffer.atoms[buffer.atoms.length] = "]);\n";
|
3265
|
+
if (!token)
|
3266
|
+
throw new SyntaxError(this.error_message("*** Expected '}'"));
|
3267
|
+
this.setClassInfo(class_name, superclass_name === "Nil" ? null : superclass_name, ivar_names);
|
3268
|
+
var ivar_names = this.allIvarNamesForClassName(class_name);
|
3269
|
+
for (ivar_name in accessors)
|
3270
|
+
{
|
3271
|
+
var accessor = accessors[ivar_name],
|
3272
|
+
property = accessor["property"] || ivar_name;
|
3273
|
+
var getterName = accessor["getter"] || property,
|
3274
|
+
getterCode = "(id)" + getterName + "\n{\nreturn " + ivar_name + ";\n}";
|
3275
|
+
if (instance_methods.atoms.length !== 0)
|
3276
|
+
instance_methods.atoms[instance_methods.atoms.length] = ",\n";
|
3277
|
+
instance_methods.atoms[instance_methods.atoms.length] = this.method(new Lexer(getterCode), ivar_names);
|
3278
|
+
if (accessor["readonly"])
|
3279
|
+
continue;
|
3280
|
+
var setterName = accessor["setter"];
|
3281
|
+
if (!setterName)
|
3282
|
+
{
|
3283
|
+
var start = property.charAt(0) == '_' ? 1 : 0;
|
3284
|
+
setterName = (start ? "_" : "") + "set" + property.substr(start, 1).toUpperCase() + property.substring(start + 1) + ":";
|
3285
|
+
}
|
3286
|
+
var setterCode = "(void)" + setterName + "(id)newValue\n{\n";
|
3287
|
+
if (accessor["copy"])
|
3288
|
+
setterCode += "if (" + ivar_name + " !== newValue)\n" + ivar_name + " = [newValue copy];\n}";
|
3289
|
+
else
|
3290
|
+
setterCode += ivar_name + " = newValue;\n}";
|
3291
|
+
if (instance_methods.atoms.length !== 0)
|
3292
|
+
instance_methods.atoms[instance_methods.atoms.length] = ",\n";
|
3293
|
+
instance_methods.atoms[instance_methods.atoms.length] = this.method(new Lexer(setterCode), ivar_names);
|
3294
|
+
}
|
3295
|
+
}
|
3296
|
+
else
|
3297
|
+
tokens.previous();
|
3298
|
+
buffer.atoms[buffer.atoms.length] = "objj_registerClassPair(the_class);\n";
|
3299
|
+
}
|
3300
|
+
if (!ivar_names)
|
3301
|
+
var ivar_names = this.allIvarNamesForClassName(class_name);
|
3302
|
+
while ((token = tokens.skip_whitespace()))
|
3303
|
+
{
|
3304
|
+
if (token == TOKEN_PLUS)
|
3305
|
+
{
|
3306
|
+
this._classMethod = true;
|
3307
|
+
if (class_methods.atoms.length !== 0)
|
3308
|
+
class_methods.atoms[class_methods.atoms.length] = ", ";
|
3309
|
+
class_methods.atoms[class_methods.atoms.length] = this.method(tokens, this._classVars);
|
3310
|
+
}
|
3311
|
+
else if (token == TOKEN_MINUS)
|
3312
|
+
{
|
3313
|
+
this._classMethod = false;
|
3314
|
+
if (instance_methods.atoms.length !== 0)
|
3315
|
+
instance_methods.atoms[instance_methods.atoms.length] = ", ";
|
3316
|
+
instance_methods.atoms[instance_methods.atoms.length] = this.method(tokens, ivar_names);
|
3317
|
+
}
|
3318
|
+
else if (token == TOKEN_HASH)
|
3319
|
+
{
|
3320
|
+
this.hash(tokens, buffer);
|
3321
|
+
}
|
3322
|
+
else if (token == TOKEN_PREPROCESSOR)
|
3323
|
+
{
|
3324
|
+
if ((token = tokens.next()) == TOKEN_END)
|
3325
|
+
break;
|
3326
|
+
else
|
3327
|
+
throw new SyntaxError(this.error_message("*** Expected \"@end\", found \"@" + token + "\"."));
|
3328
|
+
}
|
3329
|
+
}
|
3330
|
+
if (instance_methods.atoms.length !== 0)
|
3331
|
+
{
|
3332
|
+
buffer.atoms[buffer.atoms.length] = "class_addMethods(the_class, [";
|
3333
|
+
buffer.atoms[buffer.atoms.length] = instance_methods;
|
3334
|
+
buffer.atoms[buffer.atoms.length] = "]);\n";
|
3335
|
+
}
|
3336
|
+
if (class_methods.atoms.length !== 0)
|
3337
|
+
{
|
3338
|
+
buffer.atoms[buffer.atoms.length] = "class_addMethods(meta_class, [";
|
3339
|
+
buffer.atoms[buffer.atoms.length] = class_methods;
|
3340
|
+
buffer.atoms[buffer.atoms.length] = "]);\n";
|
3341
|
+
}
|
3342
|
+
buffer.atoms[buffer.atoms.length] = '}';
|
3343
|
+
this._currentClass = "";
|
3344
|
+
}
|
3345
|
+
Preprocessor.prototype._import = function(tokens)
|
3346
|
+
{
|
3347
|
+
var URLString = "",
|
3348
|
+
token = tokens.skip_whitespace(),
|
3349
|
+
isQuoted = (token !== TOKEN_LESS_THAN);
|
3350
|
+
if (token === TOKEN_LESS_THAN)
|
3351
|
+
{
|
3352
|
+
while ((token = tokens.next()) && token !== TOKEN_GREATER_THAN)
|
3353
|
+
URLString += token;
|
3354
|
+
if (!token)
|
3355
|
+
throw new SyntaxError(this.error_message("*** Unterminated import statement."));
|
3356
|
+
}
|
3357
|
+
else if (token.charAt(0) === TOKEN_DOUBLE_QUOTE)
|
3358
|
+
URLString = token.substr(1, token.length - 2);
|
3359
|
+
else
|
3360
|
+
throw new SyntaxError(this.error_message("*** Expecting '<' or '\"', found \"" + token + "\"."));
|
3361
|
+
this._buffer.atoms[this._buffer.atoms.length] = "objj_executeFile(\"";
|
3362
|
+
this._buffer.atoms[this._buffer.atoms.length] = URLString;
|
3363
|
+
this._buffer.atoms[this._buffer.atoms.length] = isQuoted ? "\", YES);" : "\", NO);";
|
3364
|
+
this._dependencies.push(new FileDependency(new CFURL(URLString), isQuoted));
|
3365
|
+
}
|
3366
|
+
Preprocessor.prototype.method = function( tokens, ivar_names)
|
3367
|
+
{
|
3368
|
+
var buffer = new StringBuffer(),
|
3369
|
+
token,
|
3370
|
+
selector = "",
|
3371
|
+
parameters = [],
|
3372
|
+
types = [null];
|
3373
|
+
ivar_names = ivar_names || {};
|
3374
|
+
while ((token = tokens.skip_whitespace()) && token !== TOKEN_OPEN_BRACE && token !== TOKEN_SEMICOLON)
|
3375
|
+
{
|
3376
|
+
if (token == TOKEN_COLON)
|
3377
|
+
{
|
3378
|
+
var type = "";
|
3379
|
+
selector += token;
|
3380
|
+
token = tokens.skip_whitespace();
|
3381
|
+
if (token == TOKEN_OPEN_PARENTHESIS)
|
3382
|
+
{
|
3383
|
+
while ((token = tokens.skip_whitespace()) && token != TOKEN_CLOSE_PARENTHESIS)
|
3384
|
+
type += token;
|
3385
|
+
token = tokens.skip_whitespace();
|
3386
|
+
}
|
3387
|
+
types[parameters.length + 1] = type || null;
|
3388
|
+
parameters[parameters.length] = token;
|
3389
|
+
if (token in ivar_names)
|
3390
|
+
throw new SyntaxError(this.error_message("*** Method ( "+selector+" ) uses a parameter name that is already in use ( "+token+" )"));
|
3391
|
+
}
|
3392
|
+
else if (token == TOKEN_OPEN_PARENTHESIS)
|
3393
|
+
{
|
3394
|
+
var type = "";
|
3395
|
+
while ((token = tokens.skip_whitespace()) && token != TOKEN_CLOSE_PARENTHESIS)
|
3396
|
+
type += token;
|
3397
|
+
types[0] = type || null;
|
3398
|
+
}
|
3399
|
+
else if (token == TOKEN_COMMA)
|
3400
|
+
{
|
3401
|
+
if ((token = tokens.skip_whitespace()) != TOKEN_PERIOD || tokens.next() != TOKEN_PERIOD || tokens.next() != TOKEN_PERIOD)
|
3402
|
+
throw new SyntaxError(this.error_message("*** Argument list expected after ','."));
|
3403
|
+
}
|
3404
|
+
else
|
3405
|
+
selector += token;
|
3406
|
+
}
|
3407
|
+
if (token === TOKEN_SEMICOLON)
|
3408
|
+
{
|
3409
|
+
token = tokens.skip_whitespace();
|
3410
|
+
if (token !== TOKEN_OPEN_BRACE)
|
3411
|
+
{
|
3412
|
+
throw new SyntaxError(this.error_message("Invalid semi-colon in method declaration. "+
|
3413
|
+
"Semi-colons are allowed only to terminate the method signature, before the open brace."));
|
3414
|
+
}
|
3415
|
+
}
|
3416
|
+
var index = 0,
|
3417
|
+
count = parameters.length;
|
3418
|
+
buffer.atoms[buffer.atoms.length] = "new objj_method(sel_getUid(\"";
|
3419
|
+
buffer.atoms[buffer.atoms.length] = selector;
|
3420
|
+
buffer.atoms[buffer.atoms.length] = "\"), function";
|
3421
|
+
this._currentSelector = selector;
|
3422
|
+
if (this._flags & Preprocessor.Flags.IncludeDebugSymbols)
|
3423
|
+
buffer.atoms[buffer.atoms.length] = " $" + this._currentClass + "__" + selector.replace(/:/g, "_");
|
3424
|
+
buffer.atoms[buffer.atoms.length] = "(self, _cmd";
|
3425
|
+
for (; index < count; ++index)
|
3426
|
+
{
|
3427
|
+
buffer.atoms[buffer.atoms.length] = ", ";
|
3428
|
+
buffer.atoms[buffer.atoms.length] = parameters[index];
|
3429
|
+
}
|
3430
|
+
buffer.atoms[buffer.atoms.length] = ")\n{ with(self)\n{";
|
3431
|
+
buffer.atoms[buffer.atoms.length] = this.preprocess(tokens, NULL, TOKEN_CLOSE_BRACE, TOKEN_OPEN_BRACE);
|
3432
|
+
buffer.atoms[buffer.atoms.length] = "}\n}";
|
3433
|
+
if (this._flags & Preprocessor.Flags.IncludeDebugSymbols)
|
3434
|
+
buffer.atoms[buffer.atoms.length] = ","+JSON.stringify(types);
|
3435
|
+
buffer.atoms[buffer.atoms.length] = ")";
|
3436
|
+
this._currentSelector = "";
|
3437
|
+
return buffer;
|
3438
|
+
}
|
3439
|
+
Preprocessor.prototype.preprocess = function(tokens, aStringBuffer, terminator, instigator, tuple)
|
3440
|
+
{
|
3441
|
+
var buffer = aStringBuffer ? aStringBuffer : new StringBuffer(),
|
3442
|
+
count = 0,
|
3443
|
+
token = "";
|
3444
|
+
if (tuple)
|
3445
|
+
{
|
3446
|
+
tuple[0] = buffer;
|
3447
|
+
var bracket = false,
|
3448
|
+
closures = [0, 0, 0];
|
3449
|
+
}
|
3450
|
+
while ((token = tokens.next()) && ((token !== terminator) || count))
|
3451
|
+
{
|
3452
|
+
if (tuple)
|
3453
|
+
{
|
3454
|
+
if (token === TOKEN_QUESTION_MARK)
|
3455
|
+
++closures[2];
|
3456
|
+
else if (token === TOKEN_OPEN_BRACE)
|
3457
|
+
++closures[0];
|
3458
|
+
else if (token === TOKEN_CLOSE_BRACE)
|
3459
|
+
--closures[0];
|
3460
|
+
else if (token === TOKEN_OPEN_PARENTHESIS)
|
3461
|
+
++closures[1];
|
3462
|
+
else if (token === TOKEN_CLOSE_PARENTHESIS)
|
3463
|
+
--closures[1];
|
3464
|
+
else if ((token === TOKEN_COLON && closures[2]-- === 0 ||
|
3465
|
+
(bracket = (token === TOKEN_CLOSE_BRACKET))) &&
|
3466
|
+
closures[0] === 0 && closures[1] === 0)
|
3467
|
+
{
|
3468
|
+
tokens.push();
|
3469
|
+
var label = bracket ? tokens.skip_whitespace(true) : tokens.previous(),
|
3470
|
+
isEmptyLabel = TOKEN_WHITESPACE.test(label);
|
3471
|
+
if (isEmptyLabel || TOKEN_IDENTIFIER.test(label) && TOKEN_WHITESPACE.test(tokens.previous()))
|
3472
|
+
{
|
3473
|
+
tokens.push();
|
3474
|
+
var last = tokens.skip_whitespace(true),
|
3475
|
+
operatorCheck = true,
|
3476
|
+
isDoubleOperator = false;
|
3477
|
+
if (last === '+' || last === '-'){
|
3478
|
+
if (tokens.previous() !== last)
|
3479
|
+
operatorCheck = false;
|
3480
|
+
else
|
3481
|
+
{
|
3482
|
+
last = tokens.skip_whitespace(true);
|
3483
|
+
isDoubleOperator = true;
|
3484
|
+
}}
|
3485
|
+
tokens.pop();
|
3486
|
+
tokens.pop();
|
3487
|
+
if (operatorCheck && (
|
3488
|
+
(!isDoubleOperator && (last === TOKEN_CLOSE_BRACE)) ||
|
3489
|
+
last === TOKEN_CLOSE_PARENTHESIS || last === TOKEN_CLOSE_BRACKET ||
|
3490
|
+
last === TOKEN_PERIOD || TOKEN_NUMBER.test(last) ||
|
3491
|
+
last.charAt(last.length - 1) === '\"' || last.charAt(last.length - 1) === '\'' ||
|
3492
|
+
TOKEN_IDENTIFIER.test(last) && !/^(new|return|case|var)$/.test(last)))
|
3493
|
+
{
|
3494
|
+
if (isEmptyLabel)
|
3495
|
+
tuple[1] = ':';
|
3496
|
+
else
|
3497
|
+
{
|
3498
|
+
tuple[1] = label;
|
3499
|
+
if (!bracket)
|
3500
|
+
tuple[1] += ':';
|
3501
|
+
var count = buffer.atoms.length;
|
3502
|
+
while (buffer.atoms[count--] !== label) ;
|
3503
|
+
buffer.atoms.length = count;
|
3504
|
+
}
|
3505
|
+
return !bracket;
|
3506
|
+
}
|
3507
|
+
if (bracket)
|
3508
|
+
return NO;
|
3509
|
+
}
|
3510
|
+
tokens.pop();
|
3511
|
+
if (bracket)
|
3512
|
+
return NO;
|
3513
|
+
}
|
3514
|
+
closures[2] = MAX(closures[2], 0);
|
3515
|
+
}
|
3516
|
+
if (instigator)
|
3517
|
+
{
|
3518
|
+
if (token === instigator)
|
3519
|
+
++count;
|
3520
|
+
else if (token === terminator)
|
3521
|
+
--count;
|
3522
|
+
}
|
3523
|
+
if (token === TOKEN_FUNCTION)
|
3524
|
+
{
|
3525
|
+
var accumulator = "";
|
3526
|
+
while ((token = tokens.next()) && token !== TOKEN_OPEN_PARENTHESIS && !(/^\w/).test(token))
|
3527
|
+
accumulator += token;
|
3528
|
+
if (token === TOKEN_OPEN_PARENTHESIS)
|
3529
|
+
{
|
3530
|
+
if (instigator === TOKEN_OPEN_PARENTHESIS)
|
3531
|
+
++count;
|
3532
|
+
buffer.atoms[buffer.atoms.length] = "function" + accumulator + '(';
|
3533
|
+
if (tuple)
|
3534
|
+
++closures[1];
|
3535
|
+
}
|
3536
|
+
else
|
3537
|
+
{
|
3538
|
+
buffer.atoms[buffer.atoms.length] = token + "= function";
|
3539
|
+
}
|
3540
|
+
}
|
3541
|
+
else if (token == TOKEN_PREPROCESSOR)
|
3542
|
+
this.directive(tokens, buffer);
|
3543
|
+
else if (token == TOKEN_HASH)
|
3544
|
+
this.hash(tokens, buffer);
|
3545
|
+
else if (token == TOKEN_OPEN_BRACKET)
|
3546
|
+
this.brackets(tokens, buffer);
|
3547
|
+
else
|
3548
|
+
buffer.atoms[buffer.atoms.length] = token;
|
3549
|
+
}
|
3550
|
+
if (tuple)
|
3551
|
+
throw new SyntaxError(this.error_message("*** Expected ']' - Unterminated message send or array."));
|
3552
|
+
if (!aStringBuffer)
|
3553
|
+
return buffer;
|
3554
|
+
}
|
3555
|
+
Preprocessor.prototype.selector = function(tokens, aStringBuffer)
|
3556
|
+
{
|
3557
|
+
var buffer = aStringBuffer ? aStringBuffer : new StringBuffer();
|
3558
|
+
buffer.atoms[buffer.atoms.length] = "sel_getUid(\"";
|
3559
|
+
if (tokens.skip_whitespace() != TOKEN_OPEN_PARENTHESIS)
|
3560
|
+
throw new SyntaxError(this.error_message("*** Expected '('"));
|
3561
|
+
var selector = tokens.skip_whitespace();
|
3562
|
+
if (selector == TOKEN_CLOSE_PARENTHESIS)
|
3563
|
+
throw new SyntaxError(this.error_message("*** Unexpected ')', can't have empty @selector()"));
|
3564
|
+
aStringBuffer.atoms[aStringBuffer.atoms.length] = selector;
|
3565
|
+
var token,
|
3566
|
+
starting = true;
|
3567
|
+
while ((token = tokens.next()) && token != TOKEN_CLOSE_PARENTHESIS)
|
3568
|
+
{
|
3569
|
+
if (starting && /^\d+$/.test(token) || !(/^(\w|$|\:)/.test(token)))
|
3570
|
+
{
|
3571
|
+
if (!(/\S/).test(token))
|
3572
|
+
if (tokens.skip_whitespace() == TOKEN_CLOSE_PARENTHESIS)
|
3573
|
+
break;
|
3574
|
+
else
|
3575
|
+
throw new SyntaxError(this.error_message("*** Unexpected whitespace in @selector()."));
|
3576
|
+
else
|
3577
|
+
throw new SyntaxError(this.error_message("*** Illegal character '" + token + "' in @selector()."));
|
3578
|
+
}
|
3579
|
+
buffer.atoms[buffer.atoms.length] = token;
|
3580
|
+
starting = (token == TOKEN_COLON);
|
3581
|
+
}
|
3582
|
+
buffer.atoms[buffer.atoms.length] = "\")";
|
3583
|
+
if (!aStringBuffer)
|
3584
|
+
return buffer;
|
3585
|
+
}
|
3586
|
+
Preprocessor.prototype.error_message = function(errorMessage)
|
3587
|
+
{
|
3588
|
+
return errorMessage + " <Context File: "+ this._URL +
|
3589
|
+
(this._currentClass ? " Class: "+this._currentClass : "") +
|
3590
|
+
(this._currentSelector ? " Method: "+this._currentSelector : "") +">";
|
3591
|
+
}
|
3592
|
+
function FileDependency( aURL, isLocal)
|
3593
|
+
{
|
3594
|
+
this._URL = aURL;
|
3595
|
+
this._isLocal = isLocal;
|
3596
|
+
}
|
3597
|
+
exports.FileDependency = FileDependency;
|
3598
|
+
FileDependency.prototype.URL = function()
|
3599
|
+
{
|
3600
|
+
return this._URL;
|
3601
|
+
}
|
3602
|
+
FileDependency.prototype.isLocal = function()
|
3603
|
+
{
|
3604
|
+
return this._isLocal;
|
3605
|
+
}
|
3606
|
+
FileDependency.prototype.toMarkedString = function()
|
3607
|
+
{
|
3608
|
+
var URLString = this.URL().absoluteString();
|
3609
|
+
return (this.isLocal() ? MARKER_IMPORT_LOCAL : MARKER_IMPORT_STD) + ";" +
|
3610
|
+
URLString.length + ";" + URLString;
|
3611
|
+
}
|
3612
|
+
FileDependency.prototype.toString = function()
|
3613
|
+
{
|
3614
|
+
return (this.isLocal() ? "LOCAL: " : "STD: ") + this.URL();
|
3615
|
+
}
|
3616
|
+
var ExecutableUnloadedFileDependencies = 0,
|
3617
|
+
ExecutableLoadingFileDependencies = 1,
|
3618
|
+
ExecutableLoadedFileDependencies = 2,
|
3619
|
+
AnonymousExecutableCount = 0;
|
3620
|
+
function Executable( aCode, fileDependencies, aURL, aFunction)
|
3621
|
+
{
|
3622
|
+
if (arguments.length === 0)
|
3623
|
+
return this;
|
3624
|
+
this._code = aCode;
|
3625
|
+
this._function = aFunction || NULL;
|
3626
|
+
this._URL = makeAbsoluteURL(aURL || new CFURL("(Anonymous" + (AnonymousExecutableCount++) + ")"));
|
3627
|
+
this._fileDependencies = fileDependencies;
|
3628
|
+
if (fileDependencies.length)
|
3629
|
+
{
|
3630
|
+
this._fileDependencyStatus = ExecutableUnloadedFileDependencies;
|
3631
|
+
this._fileDependencyCallbacks = [];
|
3632
|
+
}
|
3633
|
+
else
|
3634
|
+
this._fileDependencyStatus = ExecutableLoadedFileDependencies;
|
3635
|
+
if (this._function)
|
3636
|
+
return;
|
3637
|
+
this.setCode(aCode);
|
3638
|
+
}
|
3639
|
+
exports.Executable = Executable;
|
3640
|
+
Executable.prototype.path = function()
|
3641
|
+
{
|
3642
|
+
return this.URL().path();
|
3643
|
+
}
|
3644
|
+
Executable.prototype.URL = function()
|
3645
|
+
{
|
3646
|
+
return this._URL;
|
3647
|
+
}
|
3648
|
+
Executable.prototype.URL.displayName = "Executable.prototype.URL";
|
3649
|
+
Executable.prototype.functionParameters = function()
|
3650
|
+
{
|
3651
|
+
var functionParameters = ["global", "objj_executeFile", "objj_importFile"];
|
3652
|
+
return functionParameters;
|
3653
|
+
}
|
3654
|
+
Executable.prototype.functionParameters.displayName = "Executable.prototype.functionParameters";
|
3655
|
+
Executable.prototype.functionArguments = function()
|
3656
|
+
{
|
3657
|
+
var functionArguments = [global, this.fileExecuter(), this.fileImporter()];
|
3658
|
+
return functionArguments;
|
3659
|
+
}
|
3660
|
+
Executable.prototype.functionArguments.displayName = "Executable.prototype.functionArguments";
|
3661
|
+
Executable.prototype.execute = function()
|
3662
|
+
{
|
3663
|
+
var oldContextBundle = CONTEXT_BUNDLE;
|
3664
|
+
CONTEXT_BUNDLE = CFBundle.bundleContainingURL(this.URL());
|
3665
|
+
var result = this._function.apply(global, this.functionArguments());
|
3666
|
+
CONTEXT_BUNDLE = oldContextBundle;
|
3667
|
+
return result;
|
3668
|
+
}
|
3669
|
+
Executable.prototype.execute.displayName = "Executable.prototype.execute";
|
3670
|
+
Executable.prototype.code = function()
|
3671
|
+
{
|
3672
|
+
return this._code;
|
3673
|
+
}
|
3674
|
+
Executable.prototype.code.displayName = "Executable.prototype.code";
|
3675
|
+
Executable.prototype.setCode = function(code)
|
3676
|
+
{
|
3677
|
+
this._code = code;
|
3678
|
+
var parameters = this.functionParameters().join(",");
|
3679
|
+
var absoluteString = this.URL().absoluteString();
|
3680
|
+
code += "/**/\n//@ sourceURL=" + absoluteString;
|
3681
|
+
this._function = new Function(parameters, code);
|
3682
|
+
this._function.displayName = absoluteString;
|
3683
|
+
}
|
3684
|
+
Executable.prototype.setCode.displayName = "Executable.prototype.setCode";
|
3685
|
+
Executable.prototype.fileDependencies = function()
|
3686
|
+
{
|
3687
|
+
return this._fileDependencies;
|
3688
|
+
}
|
3689
|
+
Executable.prototype.fileDependencies.displayName = "Executable.prototype.fileDependencies";
|
3690
|
+
Executable.prototype.hasLoadedFileDependencies = function()
|
3691
|
+
{
|
3692
|
+
return this._fileDependencyStatus === ExecutableLoadedFileDependencies;
|
3693
|
+
}
|
3694
|
+
Executable.prototype.hasLoadedFileDependencies.displayName = "Executable.prototype.hasLoadedFileDependencies";
|
3695
|
+
var fileDependencyLoadCount = 0,
|
3696
|
+
fileDependencyExecutables = [],
|
3697
|
+
fileDependencyMarkers = { };
|
3698
|
+
Executable.prototype.loadFileDependencies = function(aCallback)
|
3699
|
+
{
|
3700
|
+
var status = this._fileDependencyStatus;
|
3701
|
+
if (aCallback)
|
3702
|
+
{
|
3703
|
+
if (status === ExecutableLoadedFileDependencies)
|
3704
|
+
return aCallback();
|
3705
|
+
this._fileDependencyCallbacks.push(aCallback);
|
3706
|
+
}
|
3707
|
+
if (status === ExecutableUnloadedFileDependencies)
|
3708
|
+
{
|
3709
|
+
if (fileDependencyLoadCount)
|
3710
|
+
throw "Can't load";
|
3711
|
+
loadFileDependenciesForExecutable(this);
|
3712
|
+
}
|
3713
|
+
}
|
3714
|
+
Executable.prototype.loadFileDependencies.displayName = "Executable.prototype.loadFileDependencies";
|
3715
|
+
function loadFileDependenciesForExecutable( anExecutable)
|
3716
|
+
{
|
3717
|
+
fileDependencyExecutables.push(anExecutable);
|
3718
|
+
anExecutable._fileDependencyStatus = ExecutableLoadingFileDependencies;
|
3719
|
+
var fileDependencies = anExecutable.fileDependencies(),
|
3720
|
+
index = 0,
|
3721
|
+
count = fileDependencies.length,
|
3722
|
+
referenceURL = anExecutable.referenceURL(),
|
3723
|
+
referenceURLString = referenceURL.absoluteString(),
|
3724
|
+
fileExecutableSearcher = anExecutable.fileExecutableSearcher();
|
3725
|
+
fileDependencyLoadCount += count;
|
3726
|
+
for (; index < count; ++index)
|
3727
|
+
{
|
3728
|
+
var fileDependency = fileDependencies[index],
|
3729
|
+
isQuoted = fileDependency.isLocal(),
|
3730
|
+
URL = fileDependency.URL(),
|
3731
|
+
marker = (isQuoted && (referenceURLString + " ") || "") + URL;
|
3732
|
+
if (fileDependencyMarkers[marker])
|
3733
|
+
{
|
3734
|
+
if (--fileDependencyLoadCount === 0)
|
3735
|
+
fileExecutableDependencyLoadFinished();
|
3736
|
+
continue;
|
3737
|
+
}
|
3738
|
+
fileDependencyMarkers[marker] = YES;
|
3739
|
+
fileExecutableSearcher(URL, isQuoted, fileExecutableSearchFinished);
|
3740
|
+
}
|
3741
|
+
}
|
3742
|
+
function fileExecutableSearchFinished( aFileExecutable)
|
3743
|
+
{
|
3744
|
+
--fileDependencyLoadCount;
|
3745
|
+
if (aFileExecutable._fileDependencyStatus === ExecutableUnloadedFileDependencies)
|
3746
|
+
loadFileDependenciesForExecutable(aFileExecutable);
|
3747
|
+
else if (fileDependencyLoadCount === 0)
|
3748
|
+
fileExecutableDependencyLoadFinished();
|
3749
|
+
}
|
3750
|
+
function fileExecutableDependencyLoadFinished()
|
3751
|
+
{
|
3752
|
+
var executables = fileDependencyExecutables,
|
3753
|
+
index = 0,
|
3754
|
+
count = executables.length;
|
3755
|
+
fileDependencyExecutables = [];
|
3756
|
+
for (; index < count; ++index)
|
3757
|
+
executables[index]._fileDependencyStatus = ExecutableLoadedFileDependencies;
|
3758
|
+
for (index = 0; index < count; ++index)
|
3759
|
+
{
|
3760
|
+
var executable = executables[index],
|
3761
|
+
callbacks = executable._fileDependencyCallbacks,
|
3762
|
+
callbackIndex = 0,
|
3763
|
+
callbackCount = callbacks.length;
|
3764
|
+
for (; callbackIndex < callbackCount; ++callbackIndex)
|
3765
|
+
callbacks[callbackIndex]();
|
3766
|
+
executable._fileDependencyCallbacks = [];
|
3767
|
+
}
|
3768
|
+
}
|
3769
|
+
Executable.prototype.referenceURL = function()
|
3770
|
+
{
|
3771
|
+
if (this._referenceURL === undefined)
|
3772
|
+
this._referenceURL = new CFURL(".", this.URL());
|
3773
|
+
return this._referenceURL;
|
3774
|
+
}
|
3775
|
+
Executable.prototype.referenceURL.displayName = "Executable.prototype.referenceURL";
|
3776
|
+
Executable.prototype.fileImporter = function()
|
3777
|
+
{
|
3778
|
+
return Executable.fileImporterForURL(this.referenceURL());
|
3779
|
+
}
|
3780
|
+
Executable.prototype.fileImporter.displayName = "Executable.prototype.fileImporter";
|
3781
|
+
Executable.prototype.fileExecuter = function()
|
3782
|
+
{
|
3783
|
+
return Executable.fileExecuterForURL(this.referenceURL());
|
3784
|
+
}
|
3785
|
+
Executable.prototype.fileExecuter.displayName = "Executable.prototype.fileExecuter";
|
3786
|
+
Executable.prototype.fileExecutableSearcher = function()
|
3787
|
+
{
|
3788
|
+
return Executable.fileExecutableSearcherForURL(this.referenceURL());
|
3789
|
+
}
|
3790
|
+
Executable.prototype.fileExecutableSearcher.displayName = "Executable.prototype.fileExecutableSearcher";
|
3791
|
+
var cachedFileExecuters = { };
|
3792
|
+
Executable.fileExecuterForURL = function( aURL)
|
3793
|
+
{
|
3794
|
+
var referenceURL = makeAbsoluteURL(aURL),
|
3795
|
+
referenceURLString = referenceURL.absoluteString(),
|
3796
|
+
cachedFileExecuter = cachedFileExecuters[referenceURLString];
|
3797
|
+
if (!cachedFileExecuter)
|
3798
|
+
{
|
3799
|
+
cachedFileExecuter = function( aURL, isQuoted, shouldForce)
|
3800
|
+
{
|
3801
|
+
Executable.fileExecutableSearcherForURL(referenceURL)(aURL, isQuoted,
|
3802
|
+
function( aFileExecutable)
|
3803
|
+
{
|
3804
|
+
if (!aFileExecutable.hasLoadedFileDependencies())
|
3805
|
+
throw "No executable loaded for file at URL " + aURL;
|
3806
|
+
aFileExecutable.execute(shouldForce);
|
3807
|
+
});
|
3808
|
+
}
|
3809
|
+
cachedFileExecuters[referenceURLString] = cachedFileExecuter;
|
3810
|
+
}
|
3811
|
+
return cachedFileExecuter;
|
3812
|
+
}
|
3813
|
+
Executable.fileExecuterForURL.displayName = "Executable.fileExecuterForURL";
|
3814
|
+
var cachedFileImporters = { };
|
3815
|
+
Executable.fileImporterForURL = function( aURL)
|
3816
|
+
{
|
3817
|
+
var referenceURL = makeAbsoluteURL(aURL),
|
3818
|
+
referenceURLString = referenceURL.absoluteString(),
|
3819
|
+
cachedFileImporter = cachedFileImporters[referenceURLString];
|
3820
|
+
if (!cachedFileImporter)
|
3821
|
+
{
|
3822
|
+
cachedFileImporter = function( aURL, isQuoted, aCallback)
|
3823
|
+
{
|
3824
|
+
enableCFURLCaching();
|
3825
|
+
Executable.fileExecutableSearcherForURL(referenceURL)(aURL, isQuoted,
|
3826
|
+
function( aFileExecutable)
|
3827
|
+
{
|
3828
|
+
aFileExecutable.loadFileDependencies(function()
|
3829
|
+
{
|
3830
|
+
aFileExecutable.execute();
|
3831
|
+
disableCFURLCaching();
|
3832
|
+
if (aCallback)
|
3833
|
+
aCallback();
|
3834
|
+
});
|
3835
|
+
});
|
3836
|
+
}
|
3837
|
+
cachedFileImporters[referenceURLString] = cachedFileImporter;
|
3838
|
+
}
|
3839
|
+
return cachedFileImporter;
|
3840
|
+
}
|
3841
|
+
Executable.fileImporterForURL.displayName = "Executable.fileImporterForURL";
|
3842
|
+
var cachedFileExecutableSearchers = { },
|
3843
|
+
cachedFileExecutableSearchResults = { };
|
3844
|
+
Executable.fileExecutableSearcherForURL = function( referenceURL)
|
3845
|
+
{
|
3846
|
+
var referenceURLString = referenceURL.absoluteString(),
|
3847
|
+
cachedFileExecutableSearcher = cachedFileExecutableSearchers[referenceURLString],
|
3848
|
+
cachedSearchResults = { };
|
3849
|
+
if (!cachedFileExecutableSearcher)
|
3850
|
+
{
|
3851
|
+
cachedFileExecutableSearcher = function( aURL, isQuoted, success)
|
3852
|
+
{
|
3853
|
+
var cacheUID = (isQuoted && referenceURL || "") + aURL,
|
3854
|
+
cachedResult = cachedFileExecutableSearchResults[cacheUID];
|
3855
|
+
if (cachedResult)
|
3856
|
+
return completed(cachedResult);
|
3857
|
+
var isAbsoluteURL = (aURL instanceof CFURL) && aURL.scheme();
|
3858
|
+
if (isQuoted || isAbsoluteURL)
|
3859
|
+
{
|
3860
|
+
if (!isAbsoluteURL)
|
3861
|
+
aURL = new CFURL(aURL, referenceURL);
|
3862
|
+
StaticResource.resolveResourceAtURL(aURL, NO, completed);
|
3863
|
+
}
|
3864
|
+
else
|
3865
|
+
StaticResource.resolveResourceAtURLSearchingIncludeURLs(aURL, completed);
|
3866
|
+
function completed( aStaticResource)
|
3867
|
+
{
|
3868
|
+
if (!aStaticResource)
|
3869
|
+
throw new Error("Could not load file at " + aURL);
|
3870
|
+
cachedFileExecutableSearchResults[cacheUID] = aStaticResource;
|
3871
|
+
success(new FileExecutable(aStaticResource.URL()));
|
3872
|
+
}
|
3873
|
+
};
|
3874
|
+
cachedFileExecutableSearchers[referenceURLString] = cachedFileExecutableSearcher;
|
3875
|
+
}
|
3876
|
+
return cachedFileExecutableSearcher;
|
3877
|
+
}
|
3878
|
+
Executable.fileExecutableSearcherForURL.displayName = "Executable.fileExecutableSearcherForURL";
|
3879
|
+
var FileExecutablesForURLStrings = { };
|
3880
|
+
function FileExecutable( aURL)
|
3881
|
+
{
|
3882
|
+
aURL = makeAbsoluteURL(aURL);
|
3883
|
+
var URLString = aURL.absoluteString(),
|
3884
|
+
existingFileExecutable = FileExecutablesForURLStrings[URLString];
|
3885
|
+
if (existingFileExecutable)
|
3886
|
+
return existingFileExecutable;
|
3887
|
+
FileExecutablesForURLStrings[URLString] = this;
|
3888
|
+
var fileContents = StaticResource.resourceAtURL(aURL).contents(),
|
3889
|
+
executable = NULL,
|
3890
|
+
extension = aURL.pathExtension();
|
3891
|
+
if (fileContents.match(/^@STATIC;/))
|
3892
|
+
executable = decompile(fileContents, aURL);
|
3893
|
+
else if (extension === "j" || !extension)
|
3894
|
+
executable = exports.preprocess(fileContents, aURL, Preprocessor.Flags.IncludeDebugSymbols);
|
3895
|
+
else
|
3896
|
+
executable = new Executable(fileContents, [], aURL);
|
3897
|
+
Executable.apply(this, [executable.code(), executable.fileDependencies(), aURL, executable._function]);
|
3898
|
+
this._hasExecuted = NO;
|
3899
|
+
}
|
3900
|
+
exports.FileExecutable = FileExecutable;
|
3901
|
+
FileExecutable.prototype = new Executable();
|
3902
|
+
FileExecutable.prototype.execute = function( shouldForce)
|
3903
|
+
{
|
3904
|
+
if (this._hasExecuted && !shouldForce)
|
3905
|
+
return;
|
3906
|
+
this._hasExecuted = YES;
|
3907
|
+
Executable.prototype.execute.call(this);
|
3908
|
+
}
|
3909
|
+
FileExecutable.prototype.execute.displayName = "FileExecutable.prototype.execute";
|
3910
|
+
FileExecutable.prototype.hasExecuted = function()
|
3911
|
+
{
|
3912
|
+
return this._hasExecuted;
|
3913
|
+
}
|
3914
|
+
FileExecutable.prototype.hasExecuted.displayName = "FileExecutable.prototype.hasExecuted";
|
3915
|
+
function decompile( aString, aURL)
|
3916
|
+
{
|
3917
|
+
var stream = new MarkedStream(aString);
|
3918
|
+
var marker = NULL,
|
3919
|
+
code = "",
|
3920
|
+
dependencies = [];
|
3921
|
+
while (marker = stream.getMarker())
|
3922
|
+
{
|
3923
|
+
var text = stream.getString();
|
3924
|
+
if (marker === MARKER_TEXT)
|
3925
|
+
code += text;
|
3926
|
+
else if (marker === MARKER_IMPORT_STD)
|
3927
|
+
dependencies.push(new FileDependency(new CFURL(text), NO));
|
3928
|
+
else if (marker === MARKER_IMPORT_LOCAL)
|
3929
|
+
dependencies.push(new FileDependency(new CFURL(text), YES));
|
3930
|
+
}
|
3931
|
+
var fn = FileExecutable._lookupCachedFunction(aURL)
|
3932
|
+
if (fn)
|
3933
|
+
return new Executable(code, dependencies, aURL, fn);
|
3934
|
+
return new Executable(code, dependencies, aURL);
|
3935
|
+
}
|
3936
|
+
var FunctionCache = { };
|
3937
|
+
FileExecutable._cacheFunction = function( aURL, fn)
|
3938
|
+
{
|
3939
|
+
aURL = typeof aURL === "string" ? aURL : aURL.absoluteString();
|
3940
|
+
FunctionCache[aURL] = fn;
|
3941
|
+
}
|
3942
|
+
FileExecutable._lookupCachedFunction = function( aURL)
|
3943
|
+
{
|
3944
|
+
aURL = typeof aURL === "string" ? aURL : aURL.absoluteString();
|
3945
|
+
return FunctionCache[aURL];
|
3946
|
+
}
|
3947
|
+
var CLS_CLASS = 0x1,
|
3948
|
+
CLS_META = 0x2,
|
3949
|
+
CLS_INITIALIZED = 0x4,
|
3950
|
+
CLS_INITIALIZING = 0x8;
|
3951
|
+
objj_ivar = function( aName, aType)
|
3952
|
+
{
|
3953
|
+
this.name = aName;
|
3954
|
+
this.type = aType;
|
3955
|
+
}
|
3956
|
+
objj_ivar.displayName = "objj_ivar";
|
3957
|
+
objj_method = function( aName, anImplementation, types)
|
3958
|
+
{
|
3959
|
+
this.name = aName;
|
3960
|
+
this.method_imp = anImplementation;
|
3961
|
+
this.types = types;
|
3962
|
+
}
|
3963
|
+
objj_method.displayName = "objj_method";
|
3964
|
+
objj_class = function(displayName)
|
3965
|
+
{
|
3966
|
+
this.isa = NULL;
|
3967
|
+
this.super_class = NULL;
|
3968
|
+
this.sub_classes = [];
|
3969
|
+
this.name = NULL;
|
3970
|
+
this.info = 0;
|
3971
|
+
this.ivars = [];
|
3972
|
+
this.method_list = [];
|
3973
|
+
this.method_hash = {};
|
3974
|
+
this.method_store = function() { };
|
3975
|
+
this.method_dtable = this.method_store.prototype;
|
3976
|
+
eval("this.allocator = function " + (displayName || "OBJJ_OBJECT").replace(/\W/g, "_") + "() { }");
|
3977
|
+
this._UID = -1;
|
3978
|
+
}
|
3979
|
+
objj_class.displayName = "objj_class";
|
3980
|
+
objj_object = function()
|
3981
|
+
{
|
3982
|
+
this.isa = NULL;
|
3983
|
+
this._UID = -1;
|
3984
|
+
}
|
3985
|
+
objj_object.displayName = "objj_object";
|
3986
|
+
class_getName = function( aClass)
|
3987
|
+
{
|
3988
|
+
if (aClass == Nil)
|
3989
|
+
return "";
|
3990
|
+
return aClass.name;
|
3991
|
+
}
|
3992
|
+
class_getName.displayName = "class_getName";
|
3993
|
+
class_isMetaClass = function( aClass)
|
3994
|
+
{
|
3995
|
+
if (!aClass)
|
3996
|
+
return NO;
|
3997
|
+
return ((aClass.info & (CLS_META)));
|
3998
|
+
}
|
3999
|
+
class_isMetaClass.displayName = "class_isMetaClass";
|
4000
|
+
class_getSuperclass = function( aClass)
|
4001
|
+
{
|
4002
|
+
if (aClass == Nil)
|
4003
|
+
return Nil;
|
4004
|
+
return aClass.super_class;
|
4005
|
+
}
|
4006
|
+
class_getSuperclass.displayName = "class_getSuperclass"
|
4007
|
+
class_setSuperclass = function( aClass, aSuperClass)
|
4008
|
+
{
|
4009
|
+
aClass.super_class = aSuperClass;
|
4010
|
+
aClass.isa.super_class = aSuperClass.isa;
|
4011
|
+
}
|
4012
|
+
class_setSuperclass.displayName = "class_setSuperclass";
|
4013
|
+
class_addIvar = function( aClass, aName, aType)
|
4014
|
+
{
|
4015
|
+
var thePrototype = aClass.allocator.prototype;
|
4016
|
+
if (typeof thePrototype[aName] != "undefined")
|
4017
|
+
return NO;
|
4018
|
+
aClass.ivars.push(new objj_ivar(aName, aType));
|
4019
|
+
thePrototype[aName] = NULL;
|
4020
|
+
return YES;
|
4021
|
+
}
|
4022
|
+
class_addIvar.displayName = "class_addIvar";
|
4023
|
+
class_addIvars = function( aClass, ivars)
|
4024
|
+
{
|
4025
|
+
var index = 0,
|
4026
|
+
count = ivars.length,
|
4027
|
+
thePrototype = aClass.allocator.prototype;
|
4028
|
+
for (; index < count; ++index)
|
4029
|
+
{
|
4030
|
+
var ivar = ivars[index],
|
4031
|
+
name = ivar.name;
|
4032
|
+
if (typeof thePrototype[name] === "undefined")
|
4033
|
+
{
|
4034
|
+
aClass.ivars.push(ivar);
|
4035
|
+
thePrototype[name] = NULL;
|
4036
|
+
}
|
4037
|
+
}
|
4038
|
+
}
|
4039
|
+
class_addIvars.displayName = "class_addIvars";
|
4040
|
+
class_copyIvarList = function( aClass)
|
4041
|
+
{
|
4042
|
+
return aClass.ivars.slice(0);
|
4043
|
+
}
|
4044
|
+
class_copyIvarList.displayName = "class_copyIvarList";
|
4045
|
+
class_addMethod = function( aClass, aName, anImplementation, types)
|
4046
|
+
{
|
4047
|
+
if (aClass.method_hash[aName])
|
4048
|
+
return NO;
|
4049
|
+
var method = new objj_method(aName, anImplementation, types);
|
4050
|
+
aClass.method_list.push(method);
|
4051
|
+
aClass.method_dtable[aName] = method;
|
4052
|
+
method.method_imp.displayName = (((aClass.info & (CLS_META))) ? '+' : '-') + " [" + class_getName(aClass) + ' ' + method_getName(method) + ']';
|
4053
|
+
if (!((aClass.info & (CLS_META))) && (((aClass.info & (CLS_META))) ? aClass : aClass.isa).isa === (((aClass.info & (CLS_META))) ? aClass : aClass.isa))
|
4054
|
+
class_addMethod((((aClass.info & (CLS_META))) ? aClass : aClass.isa), aName, anImplementation, types);
|
4055
|
+
return YES;
|
4056
|
+
}
|
4057
|
+
class_addMethod.displayName = "class_addMethod";
|
4058
|
+
class_addMethods = function( aClass, methods)
|
4059
|
+
{
|
4060
|
+
var index = 0,
|
4061
|
+
count = methods.length,
|
4062
|
+
method_list = aClass.method_list,
|
4063
|
+
method_dtable = aClass.method_dtable;
|
4064
|
+
for (; index < count; ++index)
|
4065
|
+
{
|
4066
|
+
var method = methods[index];
|
4067
|
+
if (aClass.method_hash[method.name])
|
4068
|
+
continue;
|
4069
|
+
method_list.push(method);
|
4070
|
+
method_dtable[method.name] = method;
|
4071
|
+
method.method_imp.displayName = (((aClass.info & (CLS_META))) ? '+' : '-') + " [" + class_getName(aClass) + ' ' + method_getName(method) + ']';
|
4072
|
+
}
|
4073
|
+
if (!((aClass.info & (CLS_META))) && (((aClass.info & (CLS_META))) ? aClass : aClass.isa).isa === (((aClass.info & (CLS_META))) ? aClass : aClass.isa))
|
4074
|
+
class_addMethods((((aClass.info & (CLS_META))) ? aClass : aClass.isa), methods);
|
4075
|
+
}
|
4076
|
+
class_addMethods.displayName = "class_addMethods";
|
4077
|
+
class_getInstanceMethod = function( aClass, aSelector)
|
4078
|
+
{
|
4079
|
+
if (!aClass || !aSelector)
|
4080
|
+
return NULL;
|
4081
|
+
var method = aClass.method_dtable[aSelector];
|
4082
|
+
return method ? method : NULL;
|
4083
|
+
}
|
4084
|
+
class_getInstanceMethod.displayName = "class_getInstanceMethod";
|
4085
|
+
class_getClassMethod = function( aClass, aSelector)
|
4086
|
+
{
|
4087
|
+
if (!aClass || !aSelector)
|
4088
|
+
return NULL;
|
4089
|
+
var method = (((aClass.info & (CLS_META))) ? aClass : aClass.isa).method_dtable[aSelector];
|
4090
|
+
return method ? method : NULL;
|
4091
|
+
}
|
4092
|
+
class_getClassMethod.displayName = "class_getClassMethod";
|
4093
|
+
class_respondsToSelector = function( aClass, aSelector)
|
4094
|
+
{
|
4095
|
+
return class_getClassMethod(aClass, aSelector) != NULL;
|
4096
|
+
}
|
4097
|
+
class_respondsToSelector.displayName = "class_respondsToSelector";
|
4098
|
+
class_copyMethodList = function( aClass)
|
4099
|
+
{
|
4100
|
+
return aClass.method_list.slice(0);
|
4101
|
+
}
|
4102
|
+
class_copyMethodList.displayName = "class_copyMethodList";
|
4103
|
+
class_replaceMethod = function( aClass, aSelector, aMethodImplementation)
|
4104
|
+
{
|
4105
|
+
if (!aClass || !aSelector)
|
4106
|
+
return NULL;
|
4107
|
+
var method = aClass.method_dtable[aSelector],
|
4108
|
+
method_imp = NULL;
|
4109
|
+
if (method)
|
4110
|
+
method_imp = method.method_imp;
|
4111
|
+
method.method_imp = aMethodImplementation;
|
4112
|
+
return method_imp;
|
4113
|
+
}
|
4114
|
+
class_replaceMethod.displayName = "class_replaceMethod";
|
4115
|
+
var _class_initialize = function( aClass)
|
4116
|
+
{
|
4117
|
+
var meta = (((aClass.info & (CLS_META))) ? aClass : aClass.isa);
|
4118
|
+
if ((aClass.info & (CLS_META)))
|
4119
|
+
aClass = objj_getClass(aClass.name);
|
4120
|
+
if (aClass.super_class && !((((aClass.super_class.info & (CLS_META))) ? aClass.super_class : aClass.super_class.isa).info & (CLS_INITIALIZED)))
|
4121
|
+
_class_initialize(aClass.super_class);
|
4122
|
+
if (!(meta.info & (CLS_INITIALIZED)) && !(meta.info & (CLS_INITIALIZING)))
|
4123
|
+
{
|
4124
|
+
meta.info = (meta.info | (CLS_INITIALIZING)) & ~(0);
|
4125
|
+
objj_msgSend(aClass, "initialize");
|
4126
|
+
meta.info = (meta.info | (CLS_INITIALIZED)) & ~(CLS_INITIALIZING);
|
4127
|
+
}
|
4128
|
+
}
|
4129
|
+
var _objj_forward = new objj_method("forward", function(self, _cmd)
|
4130
|
+
{
|
4131
|
+
return objj_msgSend(self, "forward::", _cmd, arguments);
|
4132
|
+
});
|
4133
|
+
class_getMethodImplementation = function( aClass, aSelector)
|
4134
|
+
{
|
4135
|
+
if (!((((aClass.info & (CLS_META))) ? aClass : aClass.isa).info & (CLS_INITIALIZED))) _class_initialize(aClass); var method = aClass.method_dtable[aSelector]; if (!method) method = _objj_forward; var implementation = method.method_imp;;
|
4136
|
+
return implementation;
|
4137
|
+
}
|
4138
|
+
class_getMethodImplementation.displayName = "class_getMethodImplementation";
|
4139
|
+
var REGISTERED_CLASSES = { };
|
4140
|
+
objj_allocateClassPair = function( superclass, aName)
|
4141
|
+
{
|
4142
|
+
var classObject = new objj_class(aName),
|
4143
|
+
metaClassObject = new objj_class(aName),
|
4144
|
+
rootClassObject = classObject;
|
4145
|
+
if (superclass)
|
4146
|
+
{
|
4147
|
+
rootClassObject = superclass;
|
4148
|
+
while (rootClassObject.superclass)
|
4149
|
+
rootClassObject = rootClassObject.superclass;
|
4150
|
+
classObject.allocator.prototype = new superclass.allocator;
|
4151
|
+
classObject.method_store.prototype = new superclass.method_store;
|
4152
|
+
classObject.method_dtable = classObject.method_store.prototype;
|
4153
|
+
metaClassObject.method_store.prototype = new superclass.isa.method_store;
|
4154
|
+
metaClassObject.method_dtable = metaClassObject.method_store.prototype;
|
4155
|
+
classObject.super_class = superclass;
|
4156
|
+
metaClassObject.super_class = superclass.isa;
|
4157
|
+
}
|
4158
|
+
else
|
4159
|
+
classObject.allocator.prototype = new objj_object();
|
4160
|
+
classObject.isa = metaClassObject;
|
4161
|
+
classObject.name = aName;
|
4162
|
+
classObject.info = CLS_CLASS;
|
4163
|
+
classObject._UID = objj_generateObjectUID();
|
4164
|
+
metaClassObject.isa = rootClassObject.isa;
|
4165
|
+
metaClassObject.name = aName;
|
4166
|
+
metaClassObject.info = CLS_META;
|
4167
|
+
metaClassObject._UID = objj_generateObjectUID();
|
4168
|
+
return classObject;
|
4169
|
+
}
|
4170
|
+
objj_allocateClassPair.displayName = "objj_allocateClassPair";
|
4171
|
+
var CONTEXT_BUNDLE = nil;
|
4172
|
+
objj_registerClassPair = function( aClass)
|
4173
|
+
{
|
4174
|
+
global[aClass.name] = aClass;
|
4175
|
+
REGISTERED_CLASSES[aClass.name] = aClass;
|
4176
|
+
addClassToBundle(aClass, CONTEXT_BUNDLE);
|
4177
|
+
}
|
4178
|
+
objj_registerClassPair.displayName = "objj_registerClassPair";
|
4179
|
+
class_createInstance = function( aClass)
|
4180
|
+
{
|
4181
|
+
if (!aClass)
|
4182
|
+
throw new Error("*** Attempting to create object with Nil class.");
|
4183
|
+
var object = new aClass.allocator();
|
4184
|
+
object.isa = aClass;
|
4185
|
+
object._UID = objj_generateObjectUID();
|
4186
|
+
return object;
|
4187
|
+
}
|
4188
|
+
class_createInstance.displayName = "class_createInstance";
|
4189
|
+
var prototype_bug = function() { }
|
4190
|
+
prototype_bug.prototype.member = false;
|
4191
|
+
with (new prototype_bug())
|
4192
|
+
member = true;
|
4193
|
+
if (new prototype_bug().member)
|
4194
|
+
{
|
4195
|
+
var fast_class_createInstance = class_createInstance;
|
4196
|
+
class_createInstance = function( aClass)
|
4197
|
+
{
|
4198
|
+
var object = fast_class_createInstance(aClass);
|
4199
|
+
if (object)
|
4200
|
+
{
|
4201
|
+
var theClass = object.isa,
|
4202
|
+
actualClass = theClass;
|
4203
|
+
while (theClass)
|
4204
|
+
{
|
4205
|
+
var ivars = theClass.ivars,
|
4206
|
+
count = ivars.length;
|
4207
|
+
while (count--)
|
4208
|
+
object[ivars[count].name] = NULL;
|
4209
|
+
theClass = theClass.super_class;
|
4210
|
+
}
|
4211
|
+
object.isa = actualClass;
|
4212
|
+
}
|
4213
|
+
return object;
|
4214
|
+
}
|
4215
|
+
}
|
4216
|
+
object_getClassName = function( anObject)
|
4217
|
+
{
|
4218
|
+
if (!anObject)
|
4219
|
+
return "";
|
4220
|
+
var theClass = anObject.isa;
|
4221
|
+
return theClass ? class_getName(theClass) : "";
|
4222
|
+
}
|
4223
|
+
object_getClassName.displayName = "object_getClassName";
|
4224
|
+
objj_lookUpClass = function( aName)
|
4225
|
+
{
|
4226
|
+
var theClass = REGISTERED_CLASSES[aName];
|
4227
|
+
return theClass ? theClass : Nil;
|
4228
|
+
}
|
4229
|
+
objj_lookUpClass.displayName = "objj_lookUpClass";
|
4230
|
+
objj_getClass = function( aName)
|
4231
|
+
{
|
4232
|
+
var theClass = REGISTERED_CLASSES[aName];
|
4233
|
+
if (!theClass)
|
4234
|
+
{
|
4235
|
+
}
|
4236
|
+
return theClass ? theClass : Nil;
|
4237
|
+
}
|
4238
|
+
objj_getClass.displayName = "objj_getClass";
|
4239
|
+
objj_getMetaClass = function( aName)
|
4240
|
+
{
|
4241
|
+
var theClass = objj_getClass(aName);
|
4242
|
+
return (((theClass.info & (CLS_META))) ? theClass : theClass.isa);
|
4243
|
+
}
|
4244
|
+
objj_getMetaClass.displayName = "objj_getMetaClass";
|
4245
|
+
ivar_getName = function(anIvar)
|
4246
|
+
{
|
4247
|
+
return anIvar.name;
|
4248
|
+
}
|
4249
|
+
ivar_getName.displayName = "ivar_getName";
|
4250
|
+
ivar_getTypeEncoding = function(anIvar)
|
4251
|
+
{
|
4252
|
+
return anIvar.type;
|
4253
|
+
}
|
4254
|
+
ivar_getTypeEncoding.displayName = "ivar_getTypeEncoding";
|
4255
|
+
objj_msgSend = function( aReceiver, aSelector)
|
4256
|
+
{
|
4257
|
+
if (aReceiver == nil)
|
4258
|
+
return nil;
|
4259
|
+
var isa = aReceiver.isa;
|
4260
|
+
if (!((((isa.info & (CLS_META))) ? isa : isa.isa).info & (CLS_INITIALIZED))) _class_initialize(isa); var method = isa.method_dtable[aSelector]; if (!method) method = _objj_forward; var implementation = method.method_imp;;
|
4261
|
+
switch(arguments.length)
|
4262
|
+
{
|
4263
|
+
case 2: return implementation(aReceiver, aSelector);
|
4264
|
+
case 3: return implementation(aReceiver, aSelector, arguments[2]);
|
4265
|
+
case 4: return implementation(aReceiver, aSelector, arguments[2], arguments[3]);
|
4266
|
+
}
|
4267
|
+
return implementation.apply(aReceiver, arguments);
|
4268
|
+
}
|
4269
|
+
objj_msgSend.displayName = "objj_msgSend";
|
4270
|
+
objj_msgSendSuper = function( aSuper, aSelector)
|
4271
|
+
{
|
4272
|
+
var super_class = aSuper.super_class;
|
4273
|
+
arguments[0] = aSuper.receiver;
|
4274
|
+
if (!((((super_class.info & (CLS_META))) ? super_class : super_class.isa).info & (CLS_INITIALIZED))) _class_initialize(super_class); var method = super_class.method_dtable[aSelector]; if (!method) method = _objj_forward; var implementation = method.method_imp;;
|
4275
|
+
return implementation.apply(aSuper.receiver, arguments);
|
4276
|
+
}
|
4277
|
+
objj_msgSendSuper.displayName = "objj_msgSendSuper";
|
4278
|
+
method_getName = function( aMethod)
|
4279
|
+
{
|
4280
|
+
return aMethod.name;
|
4281
|
+
}
|
4282
|
+
method_getName.displayName = "method_getName";
|
4283
|
+
method_getImplementation = function( aMethod)
|
4284
|
+
{
|
4285
|
+
return aMethod.method_imp;
|
4286
|
+
}
|
4287
|
+
method_getImplementation.displayName = "method_getImplementation";
|
4288
|
+
method_setImplementation = function( aMethod, anImplementation)
|
4289
|
+
{
|
4290
|
+
var oldImplementation = aMethod.method_imp;
|
4291
|
+
aMethod.method_imp = anImplementation;
|
4292
|
+
return oldImplementation;
|
4293
|
+
}
|
4294
|
+
method_setImplementation.displayName = "method_setImplementation";
|
4295
|
+
method_exchangeImplementations = function( lhs, rhs)
|
4296
|
+
{
|
4297
|
+
var lhs_imp = method_getImplementation(lhs),
|
4298
|
+
rhs_imp = method_getImplementation(rhs);
|
4299
|
+
method_setImplementation(lhs, rhs_imp);
|
4300
|
+
method_setImplementation(rhs, lhs_imp);
|
4301
|
+
}
|
4302
|
+
method_exchangeImplementations.displayName = "method_exchangeImplementations";
|
4303
|
+
sel_getName = function(aSelector)
|
4304
|
+
{
|
4305
|
+
return aSelector ? aSelector : "<null selector>";
|
4306
|
+
}
|
4307
|
+
sel_getName.displayName = "sel_getName";
|
4308
|
+
sel_getUid = function( aName)
|
4309
|
+
{
|
4310
|
+
return aName;
|
4311
|
+
}
|
4312
|
+
sel_getUid.displayName = "sel_getUid";
|
4313
|
+
sel_isEqual = function( lhs, rhs)
|
4314
|
+
{
|
4315
|
+
return lhs === rhs;
|
4316
|
+
}
|
4317
|
+
sel_isEqual.displayName = "sel_isEqual";
|
4318
|
+
sel_registerName = function( aName)
|
4319
|
+
{
|
4320
|
+
return aName;
|
4321
|
+
}
|
4322
|
+
sel_registerName.displayName = "sel_registerName";
|
4323
|
+
objj_eval = function( aString)
|
4324
|
+
{
|
4325
|
+
var url = exports.pageURL;
|
4326
|
+
var asyncLoaderSaved = exports.asyncLoader;
|
4327
|
+
exports.asyncLoader = NO;
|
4328
|
+
var executable = exports.preprocess(aString, url, 0);
|
4329
|
+
if (!executable.hasLoadedFileDependencies())
|
4330
|
+
executable.loadFileDependencies();
|
4331
|
+
global._objj_eval_scope = {};
|
4332
|
+
global._objj_eval_scope.objj_executeFile = Executable.fileExecuterForURL(url);
|
4333
|
+
global._objj_eval_scope.objj_importFile = Executable.fileImporterForURL(url);
|
4334
|
+
var code = "with(_objj_eval_scope){" + executable._code + "\n//*/\n}";
|
4335
|
+
var result;
|
4336
|
+
result = eval(code);
|
4337
|
+
exports.asyncLoader = asyncLoaderSaved;
|
4338
|
+
return result;
|
4339
|
+
}
|
4340
|
+
exports.objj_eval = objj_eval;
|
4341
|
+
CPLogRegister(CPLogDefault);
|
4342
|
+
function objj_debug_object_format(aReceiver)
|
4343
|
+
{
|
4344
|
+
return (aReceiver && aReceiver.isa) ? exports.sprintf("<%s %#08x>", (((aReceiver.info & (CLS_META))) ? aReceiver : aReceiver.isa).name, aReceiver._UID) : String(aReceiver);
|
4345
|
+
}
|
4346
|
+
function objj_debug_message_format(aReceiver, aSelector)
|
4347
|
+
{
|
4348
|
+
return exports.sprintf("[%s %s]", objj_debug_object_format(aReceiver), aSelector);
|
4349
|
+
}
|
4350
|
+
var objj_msgSend_original = objj_msgSend,
|
4351
|
+
objj_msgSendSuper_original = objj_msgSendSuper;
|
4352
|
+
objj_msgSend_reset = function()
|
4353
|
+
{
|
4354
|
+
objj_msgSend = objj_msgSend_original;
|
4355
|
+
objj_msgSendSuper = objj_msgSendSuper_original;
|
4356
|
+
}
|
4357
|
+
objj_msgSend_decorate = function()
|
4358
|
+
{
|
4359
|
+
var index = 0,
|
4360
|
+
count = arguments.length;
|
4361
|
+
for (; index < count; ++index)
|
4362
|
+
{
|
4363
|
+
objj_msgSend = arguments[index](objj_msgSend);
|
4364
|
+
objj_msgSendSuper = arguments[index](objj_msgSendSuper);
|
4365
|
+
}
|
4366
|
+
}
|
4367
|
+
objj_msgSend_set_decorators = function()
|
4368
|
+
{
|
4369
|
+
objj_msgSend_reset();
|
4370
|
+
objj_msgSend_decorate.apply(NULL, arguments);
|
4371
|
+
}
|
4372
|
+
var objj_backtrace = [];
|
4373
|
+
objj_backtrace_print = function( aStream)
|
4374
|
+
{
|
4375
|
+
var index = 0,
|
4376
|
+
count = objj_backtrace.length;
|
4377
|
+
for (; index < count; ++index)
|
4378
|
+
{
|
4379
|
+
var frame = objj_backtrace[index];
|
4380
|
+
aStream(objj_debug_message_format(frame.receiver, frame.selector));
|
4381
|
+
}
|
4382
|
+
}
|
4383
|
+
objj_backtrace_decorator = function(msgSend)
|
4384
|
+
{
|
4385
|
+
return function(aReceiverOrSuper, aSelector)
|
4386
|
+
{
|
4387
|
+
var aReceiver = aReceiverOrSuper && (aReceiverOrSuper.receiver || aReceiverOrSuper);
|
4388
|
+
objj_backtrace.push({ receiver: aReceiver, selector : aSelector });
|
4389
|
+
try
|
4390
|
+
{
|
4391
|
+
return msgSend.apply(NULL, arguments);
|
4392
|
+
}
|
4393
|
+
catch (anException)
|
4394
|
+
{
|
4395
|
+
CPLog.warn("Exception " + anException + " in " + objj_debug_message_format(aReceiver, aSelector));
|
4396
|
+
objj_backtrace_print(CPLog.warn);
|
4397
|
+
throw anException;
|
4398
|
+
}
|
4399
|
+
finally
|
4400
|
+
{
|
4401
|
+
objj_backtrace.pop();
|
4402
|
+
}
|
4403
|
+
}
|
4404
|
+
}
|
4405
|
+
objj_supress_exceptions_decorator = function(msgSend)
|
4406
|
+
{
|
4407
|
+
return function(aReceiverOrSuper, aSelector)
|
4408
|
+
{
|
4409
|
+
var aReceiver = aReceiverOrSuper && (aReceiverOrSuper.receiver || aReceiverOrSuper);
|
4410
|
+
try
|
4411
|
+
{
|
4412
|
+
return msgSend.apply(NULL, arguments);
|
4413
|
+
}
|
4414
|
+
catch (anException)
|
4415
|
+
{
|
4416
|
+
CPLog.warn("Exception " + anException + " in " + objj_debug_message_format(aReceiver, aSelector));
|
4417
|
+
}
|
4418
|
+
}
|
4419
|
+
}
|
4420
|
+
var objj_typechecks_reported = {},
|
4421
|
+
objj_typecheck_prints_backtrace = NO;
|
4422
|
+
objj_typecheck_decorator = function(msgSend)
|
4423
|
+
{
|
4424
|
+
return function(aReceiverOrSuper, aSelector)
|
4425
|
+
{
|
4426
|
+
var aReceiver = aReceiverOrSuper && (aReceiverOrSuper.receiver || aReceiverOrSuper);
|
4427
|
+
if (!aReceiver)
|
4428
|
+
return msgSend.apply(NULL, arguments);
|
4429
|
+
var types = aReceiver.isa.method_dtable[aSelector].types;
|
4430
|
+
for (var i = 2; i < arguments.length; i++)
|
4431
|
+
{
|
4432
|
+
try
|
4433
|
+
{
|
4434
|
+
objj_debug_typecheck(types[i-1], arguments[i]);
|
4435
|
+
}
|
4436
|
+
catch (e)
|
4437
|
+
{
|
4438
|
+
var key = [(((aReceiver.info & (CLS_META))) ? aReceiver : aReceiver.isa).name, aSelector, i, e].join(";");
|
4439
|
+
if (!objj_typechecks_reported[key]) {
|
4440
|
+
objj_typechecks_reported[key] = YES;
|
4441
|
+
CPLog.warn("Type check failed on argument " + (i-2) + " of " + objj_debug_message_format(aReceiver, aSelector) + ": " + e);
|
4442
|
+
if (objj_typecheck_prints_backtrace)
|
4443
|
+
objj_backtrace_print(CPLog.warn);
|
4444
|
+
}
|
4445
|
+
}
|
4446
|
+
}
|
4447
|
+
var result = msgSend.apply(NULL, arguments);
|
4448
|
+
try
|
4449
|
+
{
|
4450
|
+
objj_debug_typecheck(types[0], result);
|
4451
|
+
}
|
4452
|
+
catch (e)
|
4453
|
+
{
|
4454
|
+
var key = [(((aReceiver.info & (CLS_META))) ? aReceiver : aReceiver.isa).name, aSelector, "ret", e].join(";");
|
4455
|
+
if (!objj_typechecks_reported[key]) {
|
4456
|
+
objj_typechecks_reported[key] = YES;
|
4457
|
+
CPLog.warn("Type check failed on return val of " + objj_debug_message_format(aReceiver, aSelector) + ": " + e);
|
4458
|
+
if (objj_typecheck_prints_backtrace)
|
4459
|
+
objj_backtrace_print(CPLog.warn);
|
4460
|
+
}
|
4461
|
+
}
|
4462
|
+
return result;
|
4463
|
+
}
|
4464
|
+
}
|
4465
|
+
objj_debug_typecheck = function(expectedType, object)
|
4466
|
+
{
|
4467
|
+
var objjClass;
|
4468
|
+
if (!expectedType)
|
4469
|
+
{
|
4470
|
+
return;
|
4471
|
+
}
|
4472
|
+
else if (expectedType === "id")
|
4473
|
+
{
|
4474
|
+
if (object !== undefined)
|
4475
|
+
return;
|
4476
|
+
}
|
4477
|
+
else if (expectedType === "void")
|
4478
|
+
{
|
4479
|
+
if (object === undefined)
|
4480
|
+
return;
|
4481
|
+
}
|
4482
|
+
else if (objjClass = objj_getClass(expectedType))
|
4483
|
+
{
|
4484
|
+
if (object === nil)
|
4485
|
+
{
|
4486
|
+
return;
|
4487
|
+
}
|
4488
|
+
else if (object !== undefined && object.isa)
|
4489
|
+
{
|
4490
|
+
var theClass = object.isa;
|
4491
|
+
for (; theClass; theClass = theClass.super_class)
|
4492
|
+
if (theClass === objjClass)
|
4493
|
+
return;
|
4494
|
+
}
|
4495
|
+
}
|
4496
|
+
else
|
4497
|
+
{
|
4498
|
+
return;
|
4499
|
+
}
|
4500
|
+
var actualType;
|
4501
|
+
if (object === NULL)
|
4502
|
+
actualType = "null";
|
4503
|
+
else if (object === undefined)
|
4504
|
+
actualType = "void";
|
4505
|
+
else if (object.isa)
|
4506
|
+
actualType = (((object.info & (CLS_META))) ? object : object.isa).name;
|
4507
|
+
else
|
4508
|
+
actualType = typeof object;
|
4509
|
+
throw ("expected=" + expectedType + ", actual=" + actualType);
|
4510
|
+
}
|
4511
|
+
enableCFURLCaching();
|
4512
|
+
var pageURL = new CFURL(window.location.href),
|
4513
|
+
DOMBaseElements = document.getElementsByTagName("base"),
|
4514
|
+
DOMBaseElementsCount = DOMBaseElements.length;
|
4515
|
+
if (DOMBaseElementsCount > 0)
|
4516
|
+
{
|
4517
|
+
var DOMBaseElement = DOMBaseElements[DOMBaseElementsCount - 1],
|
4518
|
+
DOMBaseElementHref = DOMBaseElement && DOMBaseElement.getAttribute("href");
|
4519
|
+
if (DOMBaseElementHref)
|
4520
|
+
pageURL = new CFURL(DOMBaseElementHref, pageURL);
|
4521
|
+
}
|
4522
|
+
var mainFileURL = new CFURL(window.OBJJ_MAIN_FILE || "main.j"),
|
4523
|
+
mainBundleURL = new CFURL(".", new CFURL(mainFileURL, pageURL)).absoluteURL(),
|
4524
|
+
assumedResolvedURL = new CFURL("..", mainBundleURL).absoluteURL();
|
4525
|
+
if (mainBundleURL === assumedResolvedURL)
|
4526
|
+
assumedResolvedURL = new CFURL(assumedResolvedURL.schemeAndAuthority());
|
4527
|
+
StaticResource.resourceAtURL(assumedResolvedURL, YES);
|
4528
|
+
exports.pageURL = pageURL;
|
4529
|
+
exports.bootstrap = function()
|
4530
|
+
{
|
4531
|
+
resolveMainBundleURL();
|
4532
|
+
}
|
4533
|
+
function resolveMainBundleURL()
|
4534
|
+
{
|
4535
|
+
StaticResource.resolveResourceAtURL(mainBundleURL, YES, function( aResource)
|
4536
|
+
{
|
4537
|
+
var includeURLs = StaticResource.includeURLs(),
|
4538
|
+
index = 0,
|
4539
|
+
count = includeURLs.length;
|
4540
|
+
for (; index < count; ++index)
|
4541
|
+
aResource.resourceAtURL(includeURLs[index], YES);
|
4542
|
+
Executable.fileImporterForURL(mainBundleURL)(mainFileURL.lastPathComponent(), YES, function()
|
4543
|
+
{
|
4544
|
+
disableCFURLCaching();
|
4545
|
+
afterDocumentLoad(function()
|
4546
|
+
{
|
4547
|
+
var hashString = window.location.hash.substring(1),
|
4548
|
+
args = [];
|
4549
|
+
if (hashString.length)
|
4550
|
+
{
|
4551
|
+
args = hashString.split("/");
|
4552
|
+
for (var i = 0, count = args.length; i < count; i++)
|
4553
|
+
args[i] = decodeURIComponent(args[i]);
|
4554
|
+
}
|
4555
|
+
var namedArgsArray = window.location.search.substring(1).split("&"),
|
4556
|
+
namedArgs = new CFMutableDictionary();
|
4557
|
+
for (var i = 0, count = namedArgsArray.length; i < count; i++)
|
4558
|
+
{
|
4559
|
+
var thisArg = namedArgsArray[i].split("=");
|
4560
|
+
if (!thisArg[0])
|
4561
|
+
continue;
|
4562
|
+
if (thisArg[1] == null)
|
4563
|
+
thisArg[1] = true;
|
4564
|
+
namedArgs.setValueForKey(decodeURIComponent(thisArg[0]), decodeURIComponent(thisArg[1]));
|
4565
|
+
}
|
4566
|
+
main(args, namedArgs);
|
4567
|
+
});
|
4568
|
+
});
|
4569
|
+
});
|
4570
|
+
}
|
4571
|
+
var documentLoaded = NO;
|
4572
|
+
function afterDocumentLoad( aFunction)
|
4573
|
+
{
|
4574
|
+
if (documentLoaded)
|
4575
|
+
return aFunction();
|
4576
|
+
if (window.addEventListener)
|
4577
|
+
window.addEventListener("load", aFunction, NO);
|
4578
|
+
else if (window.attachEvent)
|
4579
|
+
window.attachEvent("onload", aFunction);
|
4580
|
+
}
|
4581
|
+
afterDocumentLoad(function()
|
4582
|
+
{
|
4583
|
+
documentLoaded = YES;
|
4584
|
+
});
|
4585
|
+
if (typeof OBJJ_AUTO_BOOTSTRAP === "undefined" || OBJJ_AUTO_BOOTSTRAP)
|
4586
|
+
exports.bootstrap();
|
4587
|
+
function makeAbsoluteURL( aURL)
|
4588
|
+
{
|
4589
|
+
if (aURL instanceof CFURL && aURL.scheme())
|
4590
|
+
return aURL;
|
4591
|
+
return new CFURL(aURL, mainBundleURL);
|
4592
|
+
}
|
4593
|
+
objj_importFile = Executable.fileImporterForURL(mainBundleURL);
|
4594
|
+
objj_executeFile = Executable.fileExecuterForURL(mainBundleURL);
|
4595
|
+
objj_import = function()
|
4596
|
+
{
|
4597
|
+
CPLog.warn("objj_import is deprecated, use objj_importFile instead");
|
4598
|
+
objj_importFile.apply(this, arguments);
|
4599
|
+
}
|
4600
|
+
})(window, ObjectiveJ);
|