This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)drawRect:(CGRect)aRect { | |
| var context = [[CPGraphicsContext currentContext] graphicsPort]; | |
| var bounds = [self bounds]; | |
| // get the dimensions of the bounds and draw a rectangle with 1/4 the area | |
| CGContextSetStrokeColor(context, [CPColor blackColor]); | |
| myRect = CGRectMake(0,0,CGRectGetWidth(bounds) , CGRectGetHeight(bounds)); | |
| CGContextStrokeRect(context, myRect); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import <AppKit/CPView.j> | |
| @import "../models/Wall.j" | |
| @implementation WallView : CPView { | |
| Wall wall; | |
| } | |
| - (id)initWithWall:(Wall)aWall inFrame:(CGRect)aFrame { | |
| self = [super initWithFrame:aFrame]; | |
| if (self) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //WallSizer.j | |
| // | |
| @import <AppKit/CPWindowController.j> | |
| @import "../models/Wall.j" | |
| @implementation WallSizer : CPWindowController | |
| { | |
| Wall wall; | |
| CPTextField widthFeetInput; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Building... /Users/pivotal/workspace/cappuccino/Build/Release/CommonJS/objective-j/lib/objective-j/jake/frameworktask.js | |
| Copying... CommonJS/lib/objective-j/jake/LICENSES/LGPL-v2.1 | |
| Copying... CommonJS/lib/objective-j/jake/LICENSES/MIT | |
| Building... /Users/pivotal/workspace/cappuccino/Build/Release/CommonJS/objective-j/lib/objective-j/rhino/regexp-rhino-patch.js | |
| Copying... CommonJS/shrinksafe/js.jar | |
| Copying... CommonJS/shrinksafe/shrinksafe.jar | |
| Building... /Users/pivotal/workspace/cappuccino/Build/Release/Objective-J/Objective-J.js | |
| org.mozilla.javascript.WrappedException: Wrapped java.io.IOException: Broken pipe (/usr/local/narwhal/engines/rhino/lib/io-engine.js#36) | |
| at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781) | |
| at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/cappuccino (master)$ echo '1+1' | shrinksafe | |
| Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file | |
| at java.lang.ClassLoader.defineClass1(Native Method) | |
| at java.lang.ClassLoader.defineClass(ClassLoader.java:676) | |
| at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | |
| at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | |
| at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | |
| at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | |
| at java.security.AccessController.doPrivileged(Native Method) | |
| at java.net.URLClassLoader.findClass(URLClassLoader.java:188) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ypress:~/workspace/cappuccino (master)$ capp -h | |
| capp [--version] COMMAND [ARGS] | |
| --version Print version | |
| -h, --help Print usage | |
| org.mozilla.javascript.EcmaError: ReferenceError: "ANSITextApplyProperties" is not defined. (/usr/local/narwhal/packages/cappuccino/lib/capp/main.j#33) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3753) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3731) | |
| at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3816) | |
| at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1826) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/cappuccino (master)$ sudo tusk list | |
| narwhal /usr/local/narwhal/ | |
| browserjs /usr/local/narwhal/packages/browserjs/ | |
| cappuccino /usr/local/narwhal/packages/cappuccino/ | |
| jake /usr/local/narwhal/packages/jake/ | |
| objective-j /usr/local/narwhal/packages/objective-j/ | |
| ojmoq /usr/local/narwhal/packages/ojmoq/ | |
| ojunit /usr/local/narwhal/packages/ojunit/ | |
| readline /usr/local/narwhal/packages/readline/ | |
| shrinksafe /usr/local/narwhal/packages/shrinksafe/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cypress:~/workspace/diego/public (master)$ ojtest Tests/views/AvailableExclusionZoneTest.j | |
| AvailableExclusionZoneTest.2010-01-17 16:01:15.965 Cappuccino [error]: addError test=[AvailableExclusionZoneTest test_clicking_notifies_controller] error=ReferenceError: "CPTopVerticalTextAlignment" is not defined. | |
| 2010-01-17 16:01:15.973 Cappuccino [error]: at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPControl.j:399) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:1250) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:1082) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPView.j:70) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPControl.j:42) | |
| at script(/usr/local/narwhal/packages/cappuccino/Frameworks/Debug/AppKit/CPImageView.j:20) | |
| at script.$AvailableExclusionZoneView__initWithController_((Anonymous):7) | |
| at script.$AvailableExclusionZoneTest__test_clicking_notif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @implementation AvailableExclusionZoneView : CPImageView { | |
| // CGPoint dragLocation; | |
| // CGPoint editedOrigin; | |
| } | |
| - (id)initWithController:(id)aController { | |
| self = [super initWithFrame:CGRectMakeZero()]; | |
| return self; | |
| } | |
| @end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compiling [CommonJS] CPControl.j........................ | |
| Creating static file... /Users/pivotal/workspace/cappuccino/Build/Debug/AppKit/CommonJS.environment/AppKit.sj | |
| Creating sprited images file... /Users/pivotal/workspace/cappuccino/Build/Debug/AppKit/Browser.environment/dataURLs.txt | |
| (in /Users/pivotal/workspace/cappuccino/AppKit/Themes) | |
| setupEnvironment: ReferenceError: "CPControl" is not defined. | |
| org.mozilla.javascript.EcmaError: ReferenceError: "CPControl" is not defined. (/Users/pivotal/workspace/cappuccino/Build/Debug/CommonJS/cappuccino/Frameworks/AppKit/CPTextField.j#20) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3753) | |
| at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3731) | |
| at org.mozilla.javascript.ScriptRuntime.notFoundError(ScriptRuntime.java:3816) | |
| at org.mozilla.javascript.ScriptRuntime.nameOrFunction(ScriptRuntime.java:1826) |
OlderNewer