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
/* | |
* CPBundle.sj | |
* AppKit | |
* | |
* Created by Nicholas Small. | |
* Copyright 2009, 280 North, Inc. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either |
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
/* | |
* CPPropertyAnimation.j | |
* AppKit | |
* | |
* Created by Nicholas Small. (Extended by David Cann). | |
* Copyright 2009, Nicholas Small. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either |
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
/* | |
* CPLightbox.j | |
* AppKit | |
* | |
* Created by Nicholas Small. | |
* Copyright 2009, 280 North, Inc. | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; either |
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) |
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
$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
@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
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
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]); |