This file contains 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
Ferrari:cappuccino Nick$ ant debug | |
Buildfile: build.xml | |
debug: | |
build-debug: | |
build: | |
build: |
This file contains 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
var field = [[CPTextField alloc] initWithFrame:CGRectMake(300,300,100,20)]; | |
[field setBordered:YES]; | |
[field setBezeled:YES]; | |
[field setEditable:YES]; | |
[field setBezelStyle:CPTextFieldSquareBezel]; | |
[field setStringValue:"7"] | |
[BridgeWindowView addSubview:field]; | |
[BridgeWindow makeFirstResponder:field]; | |
var result = [[CPTextField alloc] initWithFrame:CGRectMake(300,400,100,20)]; |
This file contains 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 LEHTMLView : CPView | |
{ | |
CPString _string; | |
} | |
- (CPString)HTMLString | |
{ | |
return _string; | |
} | |
This file contains 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 "NodePanel.j" | |
@implementation AppController : CPObject | |
{ | |
} | |
- (void)applicationDidFinishLaunching:(CPNotification)aNotification | |
{ | |
var node = { |
This file contains 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
var dict = [CPDictionary dictionary]; | |
var frame = [[CPView alloc] initWithFrame:CGRectMakeZero()]; | |
[dict setObject:frame forKey:@"something"]; | |
console.log([[dict objectForKey:@"something"] frame]); | |
[frame setFrame:CGRectMake(100.0, 100.0, 1000.0, 1000.0)]; | |
console.log([frame frame]) | |
console.log([[dict objectForKey:@"something"] frame]); |
This file contains 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
diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j | |
index c05deee..cabb056 100644 | |
--- a/AppKit/CPCollectionView.j | |
+++ b/AppKit/CPCollectionView.j | |
@@ -110,6 +110,7 @@ | |
_verticalMargin = 5.0; | |
_tileWidth = -1.0; | |
+ _isSelectable = YES; | |
_selectionIndexes = [CPIndexSet indexSet]; |
This file contains 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 <Foundation/CPObject.j> | |
@implementation AppController : CPObject | |
{ | |
} | |
- (void)applicationDidFinishLaunching:(CPNotification)aNotification | |
{ |
This file contains 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
$LOAD_PATH << File.join('~/Cappuccino/trunk', 'Rake') | |
require 'objective-j' | |
require 'objective-j/bundletask' | |
$BUILD_DIR = "#{ENV['STEAM_BUILD']}" | |
$CONFIGURATION = 'Release' | |
$BUILD_PATH = File.join($BUILD_DIR, $CONFIGURATION, 'Editor') |
This file contains 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
$LOAD_PATH << File.join('~/Cappuccino/trunk', 'Rake') | |
require 'objective-j' | |
require 'objective-j/bundletask' | |
$BUILD_DIR = "#{ENV['STEAM_BUILD']}" | |
if (ENV['c']) | |
$CONFIGURATION = ENV['c'] |
This file contains 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
slidekit Nick$ rake | |
(in /Users/Nick/Sites/escher/SlideKit) | |
exit value = 1 | |
org.mozilla.javascript.WrappedException: Wrapped java.io.FileNotFoundException: /Users/Nick/objj_build/Release/SlideKit/objj.platform/SKAdjustment.j.tmp (No such file or directory) (/usr/local/bin/objjc#115) | |
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1776) | |
at org.mozilla.javascript.MemberBox.newInstance(MemberBox.java:202) | |
at org.mozilla.javascript.NativeJavaClass.constructSpecific(NativeJavaClass.java:282) | |
at org.mozilla.javascript.NativeJavaClass.construct(NativeJavaClass.java:200) | |
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1735) | |
at script.preprocess(/usr/local/bin/objjc:115) |