incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [1/6] mac commit: Updating for ASF compliance.
Date Fri, 06 Apr 2012 22:29:24 GMT
Updated Branches:
  refs/heads/master beca71793 -> 38ee66c7d


Updating for ASF compliance.

commit 2f80e30783f985c11fcd5652ca18c6cb06fdbd54
Author: Randy McMillan <randy.lee.mcmillan@gmail.com>
Date:   Fri Apr 6 15:32:41 2012 -0400

    Updating for ASF compliance

commit ff7e1944d19519d992bb918a390ff7fedf872209
Author: Randy McMillan <randy.lee.mcmillan@gmail.com>
Date:   Fri Apr 6 15:29:55 2012 -0400

    Updating for ASF compliance

commit 2eaff786f98c02d726135f17a6ff96d2d54a858d
Author: Randy McMillan <randy.lee.mcmillan@gmail.com>
Date:   Fri Apr 6 15:19:32 2012 -0400

    Updating for ASF compliance

commit 27fae9891c8760ca4d8aad579344fa09aaec9503
Author: Randy McMillan <randy.lee.mcmillan@gmail.com>
Date:   Fri Apr 6 15:16:59 2012 -0400

    Updating for ASF compliance

commit f9d0e6c88c8599126a70a7a7b67327442ea56640
Author: Randy McMillan <randy.lee.mcmillan@gmail.com>
Date:   Fri Apr 6 15:14:07 2012 -0400

    Updating for ASF compliance


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/commit/38ee66c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/tree/38ee66c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/diff/38ee66c7

Branch: refs/heads/master
Commit: 38ee66c7d2e4657f014426d6c6a8f46e45ce3d07
Parents: beca717
Author: shazron <shazron@gmail.com>
Authored: Fri Apr 6 15:28:32 2012 -0700
Committer: shazron <shazron@gmail.com>
Committed: Fri Apr 6 15:28:32 2012 -0700

----------------------------------------------------------------------
 .gitignore                                         |   27 +-
 Classes/Commands/Sound.h                           |   18 -
 Classes/Commands/Sound.m                           |   68 -
 Classes/Constants.h                                |   18 -
 Classes/ContentView.h                              |   24 -
 Classes/ContentView.m                              |   53 -
 Classes/Utils.h                                    |   26 -
 Classes/Utils.m                                    |   83 -
 Classes/WebViewDelegate.h                          |   20 -
 Classes/WebViewDelegate.m                          |   50 -
 CordovaMac/Cordova.icns                            |  Bin 0 -> 117212 bytes
 CordovaMac/CordovaMac.xcodeproj/project.pbxproj    |  342 ++
 CordovaMac/CordovaMac/AppDelegate.h                |   32 +
 CordovaMac/CordovaMac/AppDelegate.m                |   74 +
 CordovaMac/CordovaMac/Constants.h                  |   25 +
 CordovaMac/CordovaMac/ContentView.h                |   35 +
 CordovaMac/CordovaMac/ContentView.m                |   64 +
 CordovaMac/CordovaMac/CordovaMac-Info.plist        |   34 +
 CordovaMac/CordovaMac/CordovaMac-Prefix.pch        |   32 +
 CordovaMac/CordovaMac/Sound.h                      |   29 +
 CordovaMac/CordovaMac/Sound.m                      |   79 +
 CordovaMac/CordovaMac/Utils.h                      |   37 +
 CordovaMac/CordovaMac/Utils.m                      |   94 +
 CordovaMac/CordovaMac/WebViewDelegate.h            |   31 +
 CordovaMac/CordovaMac/WebViewDelegate.m            |   62 +
 CordovaMac/CordovaMac/en.lproj/Credits.rtf         |   18 +
 CordovaMac/CordovaMac/en.lproj/InfoPlist.strings   |   23 +
 CordovaMac/CordovaMac/en.lproj/MainMenu.xib        | 3511 +++++++++++++++
 CordovaMac/CordovaMac/main.m                       |   25 +
 .../www/phonegap-docs/template/joDoc/doc.css       |  325 ++
 .../www/phonegap-docs/template/joDoc/docbody.css   |   11 +
 .../www/phonegap-docs/template/joDoc/index.html    |    4 +
 .../www/phonegap-docs/template/phonegap/arrow.png  |  Bin 0 -> 6285 bytes
 .../www/phonegap-docs/template/phonegap/index.css  |  384 ++
 .../www/phonegap-docs/template/phonegap/index.html |  145 +
 .../www/phonegap-docs/template/phonegap/line.png   |  Bin 0 -> 2795 bytes
 .../www/phonegap-docs/template/phonegap/mobile.css |  120 +
 .../template/phonegap/prettify/lang-apollo.js      |    2 +
 .../template/phonegap/prettify/lang-css.js         |    2 +
 .../template/phonegap/prettify/lang-hs.js          |    2 +
 .../template/phonegap/prettify/lang-lisp.js        |    2 +
 .../template/phonegap/prettify/lang-lua.js         |    2 +
 .../template/phonegap/prettify/lang-ml.js          |    2 +
 .../template/phonegap/prettify/lang-proto.js       |    1 +
 .../template/phonegap/prettify/lang-scala.js       |    2 +
 .../template/phonegap/prettify/lang-sql.js         |    2 +
 .../template/phonegap/prettify/lang-vb.js          |    2 +
 .../template/phonegap/prettify/lang-vhdl.js        |    3 +
 .../template/phonegap/prettify/lang-wiki.js        |    2 +
 .../template/phonegap/prettify/lang-yaml.js        |    2 +
 .../template/phonegap/prettify/prettify.css        |   44 +
 .../template/phonegap/prettify/prettify.js         |   33 +
 CordovaMacScreenShot.png                           |  Bin 0 -> 349316 bytes
 Default-Landscape.png                              |  Bin 21134 -> 0 bytes
 English.lproj/InfoPlist.strings                    |    2 -
 English.lproj/MainMenu.xib                         |  744 ---
 MacGap.icns                                        |  Bin 88566 -> 0 bytes
 PhoneGapLogo.png                                   |  Bin 36746 -> 0 bytes
 ReadMe.md                                          |   20 +-
 application.icns                                   |  Bin 31996 -> 0 bytes
 macgap.plist                                       |   34 -
 main.m                                             |   14 -
 phonegap-mac.xcodeproj/project.pbxproj             |  338 --
 .../project.xcworkspace/contents.xcworkspacedata   |    7 -
 phonegap-mac.xcodeproj/shazron.perspectivev3       | 1501 ------
 phonegap_mac-Info.plist                            |   32 -
 phonegap_macAppDelegate.h                          |   24 -
 phonegap_macAppDelegate.m                          |   62 -
 phonegap_mac_Prefix.pch                            |   17 -
 www/phonegap-docs/joDoc.zip                        |  Bin 165586 -> 0 bytes
 www/phonegap-docs/template/joDoc/doc.css           |  325 --
 www/phonegap-docs/template/joDoc/docbody.css       |   11 -
 www/phonegap-docs/template/joDoc/index.html        |    4 -
 www/phonegap-docs/template/phonegap/arrow.png      |  Bin 6285 -> 0 bytes
 www/phonegap-docs/template/phonegap/index.css      |  384 --
 www/phonegap-docs/template/phonegap/index.html     |  145 -
 www/phonegap-docs/template/phonegap/line.png       |  Bin 2795 -> 0 bytes
 www/phonegap-docs/template/phonegap/mobile.css     |  120 -
 .../template/phonegap/prettify/lang-apollo.js      |    2 -
 .../template/phonegap/prettify/lang-css.js         |    2 -
 .../template/phonegap/prettify/lang-hs.js          |    2 -
 .../template/phonegap/prettify/lang-lisp.js        |    2 -
 .../template/phonegap/prettify/lang-lua.js         |    2 -
 .../template/phonegap/prettify/lang-ml.js          |    2 -
 .../template/phonegap/prettify/lang-proto.js       |    1 -
 .../template/phonegap/prettify/lang-scala.js       |    2 -
 .../template/phonegap/prettify/lang-sql.js         |    2 -
 .../template/phonegap/prettify/lang-vb.js          |    2 -
 .../template/phonegap/prettify/lang-vhdl.js        |    3 -
 .../template/phonegap/prettify/lang-wiki.js        |    2 -
 .../template/phonegap/prettify/lang-yaml.js        |    2 -
 .../template/phonegap/prettify/prettify.css        |   44 -
 .../template/phonegap/prettify/prettify.js         |   33 -
 93 files changed, 5680 insertions(+), 4233 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 4f5cc5b..71e225d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,28 @@
 .DS_Store
+.*.sw?
+*.cso
+tmp
+lib
+CordovaInstaller.pkg
+*.mode1v3
+*.pbxuser
+build
+_build.bak
+/Cordova.framework/
+/pkg_error_log
+*.xcworkspace
+xcuserdata
+/dist/
+/Markdown_1.0.1/
+Markdown_*.zip
+example
+
+wkhtmltopdf.dmg
+wkhtmltopdf/
+
 build
 
-/phonegap-mac.xcodeproj/xcuserdata/
-/phonegap-mac.xcodeproj/project.xcworkspace/xcuserdata/
+/CordovaMac.xcodeproj/xcuserdata/
+/CordovaMac.xcodeproj/project.xcworkspace/xcuserdata/
 *.pbxuser
-*.mode1v3
\ No newline at end of file
+*.mode1v3

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/Commands/Sound.h
----------------------------------------------------------------------
diff --git a/Classes/Commands/Sound.h b/Classes/Commands/Sound.h
deleted file mode 100644
index 0505a70..0000000
--- a/Classes/Commands/Sound.h
+++ /dev/null
@@ -1,18 +0,0 @@
-//
-//  Sound.h
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-30.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import <Cocoa/Cocoa.h>
-
-
-@interface Sound : NSObject {
-
-}
-
-- (void) play:(NSString*)file;
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/Commands/Sound.m
----------------------------------------------------------------------
diff --git a/Classes/Commands/Sound.m b/Classes/Commands/Sound.m
deleted file mode 100644
index 1b9d583..0000000
--- a/Classes/Commands/Sound.m
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-//  Sound.m
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-30.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import "Sound.h"
-
-
-@implementation Sound
-
-
-- (void) play:(NSString*)file
-{
-	NSURL* fileUrl  = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:file]];
-	DebugNSLog(@"Sound file:%@", [fileUrl description]);
-	
-	NSSound* sound = [[[NSSound alloc] initWithContentsOfURL:fileUrl byReference:YES] autorelease];
-	[sound play];
-}
-
-#pragma mark WebScripting Protocol
-
-/* checks whether a selector is acceptable to be called from JavaScript */
-+ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
-{
-	BOOL	result = YES;
-	
-	int			i = 0;
-	static SEL	* acceptableList = NULL;
-	SEL			currentSelector;
-	
-	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
-	{
-		acceptableList[i++] = @selector(play:);
-	}
-	
-	i = 0;
-	while (result == YES && (currentSelector = acceptableList[i++]))
-	{
-		//checking for exclusions
-		result = !(selector == currentSelector);
-	}
-	
-	return result;
-}
-
-/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
-+ (NSString*) webScriptNameForSelector:(SEL)aSelector
-{
-	id	result = nil;
-	
-	if (aSelector == @selector(play:)) {
-		result = @"play";
-	}
-	
-	return result;
-}
-
-// right now exclude all properties (eg keys)
-+ (BOOL) isKeyExcludedFromWebScript:(const char*)name
-{
-	return YES;
-}
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/Constants.h
----------------------------------------------------------------------
diff --git a/Classes/Constants.h b/Classes/Constants.h
deleted file mode 100644
index 54144d7..0000000
--- a/Classes/Constants.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- *  Constants.h
- *  phonegap-mac
- *
- *  Created by shazron on 10-04-08.
- *  Copyright 2010 Nitobi Software Inc. All rights reserved.
- *
- */
-
-
-#define kStartPage @"index.html"
-
-//Sencha Demos
-//#define kStartFolder @"www/sencha"
-
-// PhoneGap Docs Only
-#define kStartFolder @"www/phonegap-docs/template/phonegap/"
-

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/ContentView.h
----------------------------------------------------------------------
diff --git a/Classes/ContentView.h b/Classes/ContentView.h
deleted file mode 100644
index 27fea7c..0000000
--- a/Classes/ContentView.h
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-//  ContentView.h
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-19.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import <Cocoa/Cocoa.h>
-#import <WebKit/WebKit.h>
-
-@class WebViewDelegate;
-
-@interface ContentView : NSView {
-	IBOutlet WebView* webView;
-	WebViewDelegate* delegate;
-
-}
-
-@property (retain) WebView* webView;
-@property (retain) WebViewDelegate* delegate;
-
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/ContentView.m
----------------------------------------------------------------------
diff --git a/Classes/ContentView.m b/Classes/ContentView.m
deleted file mode 100644
index 19a886d..0000000
--- a/Classes/ContentView.m
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-//  ContentView.m
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-19.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import "ContentView.h"
-#import "WebViewDelegate.h"
-#import "phonegap_macAppDelegate.h"
-
-@implementation ContentView
-
-@synthesize webView, delegate;
-
-- (void) awakeFromNib
-{
-	self.delegate = [[[WebViewDelegate alloc] init] autorelease];
-	[self.webView setFrameLoadDelegate:self.delegate];
-	[self.webView setUIDelegate:self.delegate];
-	[self.webView setResourceLoadDelegate:self.delegate];
-	[self.webView setDownloadDelegate:self.delegate];
-	[self.webView setPolicyDelegate:self.delegate];	
-    //self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
-}
-
-- (id)initWithFrame:(NSRect)frame 
-{
-    self = [super initWithFrame:frame];
-    if (self) {
-		// init here
-    }
-    return self;
-}
-
-- (void) drawRect:(NSRect)dirtyRect 
-{
-    // Drawing code here.
-}
-
-- (void) windowResized:(NSNotification*)notification;
-{
-	NSWindow* window = (NSWindow*)notification.object;
-	NSSize size = [window frame].size;
-	
-	DebugNSLog(@"window width = %f, window height = %f", size.width, size.height);
-	[self.webView setFrame:NSMakeRect(0, 0, size.width, size.height - [[Utils sharedInstance] titleBarHeight:window])];
-    [self.webView stringByEvaluatingJavaScriptFromString:@"var e = document.createEvent('Events'); e.initEvent('orientationchange', true, false); document.dispatchEvent(e); "];
-}
-
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/Utils.h
----------------------------------------------------------------------
diff --git a/Classes/Utils.h b/Classes/Utils.h
deleted file mode 100644
index 0fc90f4..0000000
--- a/Classes/Utils.h
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-//  Utils.h
-//  phonegap-mac
-//
-//  Shazron Abdullah
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-#define DEG_EPS 0.001
-#define fequal(a,b) (fabs((a) - (b)) < DEG_EPS)
-#define fequalzero(a) (fabs(a) < DEG_EPS)
-
-@class LoadingView;
-
-@interface Utils : NSObject {
-}
-
-- (float) titleBarHeight:(NSWindow*)aWindow;
-- (NSString*) pathForResource:(NSString*)resourcepath;
-
-
-+ (Utils*) sharedInstance;
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/Utils.m
----------------------------------------------------------------------
diff --git a/Classes/Utils.m b/Classes/Utils.m
deleted file mode 100644
index a17b40c..0000000
--- a/Classes/Utils.m
+++ /dev/null
@@ -1,83 +0,0 @@
-//
-//  Utils.m
-//  VanGuide
-//
-//  Created by shazron on 09-12-03.
-//  Copyright 2009 Nitobi Software Inc. All rights reserved.
-//
-
-#import "Utils.h"
-
-static Utils* sharedInstance = nil;
-
-@implementation Utils
-
-- (float) titleBarHeight:(NSWindow*)aWindow
-{
-    NSRect frame = [aWindow frame];
-    NSRect contentRect = [NSWindow contentRectForFrameRect: frame
-												 styleMask: NSTitledWindowMask];
-	
-    return (frame.size.height - contentRect.size.height);
-}
-
-- (NSString*) pathForResource:(NSString*)resourcepath
-{
-    NSBundle * mainBundle = [NSBundle mainBundle];
-    NSMutableArray *directoryParts = [NSMutableArray arrayWithArray:[resourcepath componentsSeparatedByString:@"/"]];
-    NSString       *filename       = [directoryParts lastObject];
-    [directoryParts removeLastObject];
-	
-    NSString *directoryStr = [NSString stringWithFormat:@"%@/%@", kStartFolder, [directoryParts componentsJoinedByString:@"/"]];
-    return [mainBundle pathForResource:filename
-								ofType:@""
-						   inDirectory:directoryStr];
-}
-
-#pragma mark -
-#pragma mark Singleton methods
-
-+ (Utils*) sharedInstance
-{
-    @synchronized(self)
-    {
-        if (sharedInstance == nil){
-			sharedInstance = [[Utils alloc] init];
-		 }
-    }
-    return sharedInstance;
-}
-
-+ (id) allocWithZone:(NSZone *)zone {
-    @synchronized(self) {
-        if (sharedInstance == nil) {
-            sharedInstance = [super allocWithZone:zone];
-            return sharedInstance;  // assignment and return on first allocation
-        }
-    }
-    return nil; // on subsequent allocation attempts return nil
-}
-
-- (id) copyWithZone:(NSZone *)zone
-{
-    return self;
-}
-
-- (id) retain {
-    return self;
-}
-
-- (unsigned long) retainCount {
-    return UINT_MAX;  // denotes an object that cannot be released
-}
-
-- (void) release {
-    //do nothing
-}
-
-- (id) autorelease {
-    return self;
-}
-
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/WebViewDelegate.h
----------------------------------------------------------------------
diff --git a/Classes/WebViewDelegate.h b/Classes/WebViewDelegate.h
deleted file mode 100644
index 457fb79..0000000
--- a/Classes/WebViewDelegate.h
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-//  WebViewDelegate.h
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-30.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import <Cocoa/Cocoa.h>
-#import <WebKit/WebKit.h>
-
-@class Sound;
-
-@interface WebViewDelegate : NSObject {
-	Sound* sound;
-}
-
-@property (nonatomic, retain) Sound* sound;
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/Classes/WebViewDelegate.m
----------------------------------------------------------------------
diff --git a/Classes/WebViewDelegate.m b/Classes/WebViewDelegate.m
deleted file mode 100644
index 00d431c..0000000
--- a/Classes/WebViewDelegate.m
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-//  WebViewDelegate.m
-//  phonegap-mac
-//
-//  Created by shazron on 10-04-30.
-//  Copyright 2010 Nitobi Software Inc. All rights reserved.
-//
-
-#import "WebViewDelegate.h"
-#import "Sound.h"
-
-@implementation WebViewDelegate
-
-@synthesize sound;
-
-- (void) webView:(WebView*)webView windowScriptObjectAvailable:(WebScriptObject*)windowScriptObject
-{
-	if (self.sound == nil) { self.sound = [Sound new]; }
-	[windowScriptObject setValue:self.sound forKey:@"sound"];
-}
-
-/* This logs all errors from Javascript, nifty */
-- (void) webView:(WebView*)webView addMessageToConsole:(NSDictionary*)message
-{
-	if (![message isKindOfClass:[NSDictionary class]]) { 
-		return;
-	}
-	
-	NSLog(@"JavaScript error: %@:%@: %@", 
-		  [[message objectForKey:@"sourceURL"] lastPathComponent],	// could be nil
-		  [message objectForKey:@"lineNumber"],
-		  [message objectForKey:@"message"]);
-}
-
-#pragma mark WebScripting protocol
-
-/* checks whether a selector is acceptable to be called from JavaScript */
-+ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
-{
-	return YES;
-}
-
-// right now exclude all properties (eg keys)
-+ (BOOL) isKeyExcludedFromWebScript:(const char*)name
-{
-	return YES;
-}
-
-
-@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/Cordova.icns
----------------------------------------------------------------------
diff --git a/CordovaMac/Cordova.icns b/CordovaMac/Cordova.icns
new file mode 100644
index 0000000..20fc3d3
Binary files /dev/null and b/CordovaMac/Cordova.icns differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac.xcodeproj/project.pbxproj b/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..0fc7977
--- /dev/null
+++ b/CordovaMac/CordovaMac.xcodeproj/project.pbxproj
@@ -0,0 +1,342 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		488B21E7152F6242007056D6 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 488B21E6152F6242007056D6 /* AppDelegate.m */; };
+		488B21EC152F742C007056D6 /* Cordova.icns in Resources */ = {isa = PBXBuildFile; fileRef = 488B21EB152F742C007056D6 /* Cordova.icns */; };
+		48B43519152E5E3500906A36 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48B43518152E5E3500906A36 /* Cocoa.framework */; };
+		48B43523152E5E3500906A36 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 48B43521152E5E3500906A36 /* InfoPlist.strings */; };
+		48B43525152E5E3500906A36 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B43524152E5E3500906A36 /* main.m */; };
+		48B43529152E5E3500906A36 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 48B43527152E5E3500906A36 /* Credits.rtf */; };
+		48B4352F152E5E3600906A36 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 48B4352D152E5E3600906A36 /* MainMenu.xib */; };
+		48B43536152E5E4100906A36 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 48B43535152E5E4100906A36 /* WebKit.framework */; };
+		48B43538152E5E6B00906A36 /* www in Resources */ = {isa = PBXBuildFile; fileRef = 48B43537152E5E6B00906A36 /* www */; };
+		48B4353B152E5EC300906A36 /* ContentView.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B4353A152E5EC300906A36 /* ContentView.m */; };
+		48B4353E152E5FE200906A36 /* WebViewDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B4353D152E5FE200906A36 /* WebViewDelegate.m */; };
+		48B43541152E603C00906A36 /* Sound.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B43540152E603C00906A36 /* Sound.m */; };
+		48B43544152E60A300906A36 /* Utils.m in Sources */ = {isa = PBXBuildFile; fileRef = 48B43543152E60A300906A36 /* Utils.m */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+		488B21E5152F6242007056D6 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
+		488B21E6152F6242007056D6 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
+		488B21EB152F742C007056D6 /* Cordova.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = Cordova.icns; path = ../Cordova.icns; sourceTree = "<group>"; };
+		48B43514152E5E3500906A36 /* CordovaMac.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CordovaMac.app; sourceTree = BUILT_PRODUCTS_DIR; };
+		48B43518152E5E3500906A36 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; };
+		48B4351B152E5E3500906A36 /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = System/Library/Frameworks/AppKit.framework; sourceTree = SDKROOT; };
+		48B4351C152E5E3500906A36 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; };
+		48B4351D152E5E3500906A36 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+		48B43520152E5E3500906A36 /* CordovaMac-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CordovaMac-Info.plist"; sourceTree = "<group>"; };
+		48B43522152E5E3500906A36 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+		48B43524152E5E3500906A36 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+		48B43526152E5E3500906A36 /* CordovaMac-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CordovaMac-Prefix.pch"; sourceTree = "<group>"; };
+		48B43528152E5E3500906A36 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = "<group>"; };
+		48B4352E152E5E3600906A36 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = "<group>"; };
+		48B43535152E5E4100906A36 /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
+		48B43537152E5E6B00906A36 /* www */ = {isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = "<group>"; };
+		48B43539152E5EC300906A36 /* ContentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ContentView.h; sourceTree = "<group>"; };
+		48B4353A152E5EC300906A36 /* ContentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ContentView.m; sourceTree = "<group>"; };
+		48B4353C152E5FE200906A36 /* WebViewDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebViewDelegate.h; sourceTree = "<group>"; };
+		48B4353D152E5FE200906A36 /* WebViewDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WebViewDelegate.m; sourceTree = "<group>"; };
+		48B4353F152E603C00906A36 /* Sound.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Sound.h; sourceTree = "<group>"; };
+		48B43540152E603C00906A36 /* Sound.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Sound.m; sourceTree = "<group>"; };
+		48B43542152E60A300906A36 /* Utils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Utils.h; sourceTree = "<group>"; };
+		48B43543152E60A300906A36 /* Utils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Utils.m; sourceTree = "<group>"; };
+		48B43545152E60E500906A36 /* Constants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Constants.h; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		48B43511152E5E3500906A36 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				48B43536152E5E4100906A36 /* WebKit.framework in Frameworks */,
+				48B43519152E5E3500906A36 /* Cocoa.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		488B21E3152F61A9007056D6 /* Commands */ = {
+			isa = PBXGroup;
+			children = (
+				48B4353F152E603C00906A36 /* Sound.h */,
+				48B43540152E603C00906A36 /* Sound.m */,
+			);
+			name = Commands;
+			sourceTree = "<group>";
+		};
+		48B43509152E5E3500906A36 = {
+			isa = PBXGroup;
+			children = (
+				48B43537152E5E6B00906A36 /* www */,
+				48B4351E152E5E3500906A36 /* CordovaMac */,
+				48B43517152E5E3500906A36 /* Frameworks */,
+				48B43515152E5E3500906A36 /* Products */,
+			);
+			sourceTree = "<group>";
+		};
+		48B43515152E5E3500906A36 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				48B43514152E5E3500906A36 /* CordovaMac.app */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		48B43517152E5E3500906A36 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				48B43535152E5E4100906A36 /* WebKit.framework */,
+				48B43518152E5E3500906A36 /* Cocoa.framework */,
+				48B4351A152E5E3500906A36 /* Other Frameworks */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		48B4351A152E5E3500906A36 /* Other Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				48B4351B152E5E3500906A36 /* AppKit.framework */,
+				48B4351C152E5E3500906A36 /* CoreData.framework */,
+				48B4351D152E5E3500906A36 /* Foundation.framework */,
+			);
+			name = "Other Frameworks";
+			sourceTree = "<group>";
+		};
+		48B4351E152E5E3500906A36 /* CordovaMac */ = {
+			isa = PBXGroup;
+			children = (
+				48B43542152E60A300906A36 /* Utils.h */,
+				48B43543152E60A300906A36 /* Utils.m */,
+				488B21E3152F61A9007056D6 /* Commands */,
+				488B21E5152F6242007056D6 /* AppDelegate.h */,
+				488B21E6152F6242007056D6 /* AppDelegate.m */,
+				48B43545152E60E500906A36 /* Constants.h */,
+				48B43539152E5EC300906A36 /* ContentView.h */,
+				48B4353A152E5EC300906A36 /* ContentView.m */,
+				48B4353C152E5FE200906A36 /* WebViewDelegate.h */,
+				48B4353D152E5FE200906A36 /* WebViewDelegate.m */,
+				48B4351F152E5E3500906A36 /* Supporting Files */,
+			);
+			path = CordovaMac;
+			sourceTree = "<group>";
+		};
+		48B4351F152E5E3500906A36 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				488B21EB152F742C007056D6 /* Cordova.icns */,
+				48B4352D152E5E3600906A36 /* MainMenu.xib */,
+				48B43520152E5E3500906A36 /* CordovaMac-Info.plist */,
+				48B43521152E5E3500906A36 /* InfoPlist.strings */,
+				48B43524152E5E3500906A36 /* main.m */,
+				48B43526152E5E3500906A36 /* CordovaMac-Prefix.pch */,
+				48B43527152E5E3500906A36 /* Credits.rtf */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		48B43513152E5E3500906A36 /* CordovaMac */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = 48B43532152E5E3600906A36 /* Build configuration list for PBXNativeTarget "CordovaMac" */;
+			buildPhases = (
+				48B43510152E5E3500906A36 /* Sources */,
+				48B43511152E5E3500906A36 /* Frameworks */,
+				48B43512152E5E3500906A36 /* Resources */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = CordovaMac;
+			productName = CordovaMac;
+			productReference = 48B43514152E5E3500906A36 /* CordovaMac.app */;
+			productType = "com.apple.product-type.application";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		48B4350B152E5E3500906A36 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				CLASSPREFIX = CDV;
+				LastUpgradeCheck = 0430;
+				ORGANIZATIONNAME = OpenOSX.org;
+			};
+			buildConfigurationList = 48B4350E152E5E3500906A36 /* Build configuration list for PBXProject "CordovaMac" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+			);
+			mainGroup = 48B43509152E5E3500906A36;
+			productRefGroup = 48B43515152E5E3500906A36 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				48B43513152E5E3500906A36 /* CordovaMac */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+		48B43512152E5E3500906A36 /* Resources */ = {
+			isa = PBXResourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				48B43523152E5E3500906A36 /* InfoPlist.strings in Resources */,
+				48B43529152E5E3500906A36 /* Credits.rtf in Resources */,
+				48B4352F152E5E3600906A36 /* MainMenu.xib in Resources */,
+				48B43538152E5E6B00906A36 /* www in Resources */,
+				488B21EC152F742C007056D6 /* Cordova.icns in Resources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+		48B43510152E5E3500906A36 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				48B43525152E5E3500906A36 /* main.m in Sources */,
+				48B4353B152E5EC300906A36 /* ContentView.m in Sources */,
+				48B4353E152E5FE200906A36 /* WebViewDelegate.m in Sources */,
+				48B43541152E603C00906A36 /* Sound.m in Sources */,
+				48B43544152E60A300906A36 /* Utils.m in Sources */,
+				488B21E7152F6242007056D6 /* AppDelegate.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+		48B43521152E5E3500906A36 /* InfoPlist.strings */ = {
+			isa = PBXVariantGroup;
+			children = (
+				48B43522152E5E3500906A36 /* en */,
+			);
+			name = InfoPlist.strings;
+			sourceTree = "<group>";
+		};
+		48B43527152E5E3500906A36 /* Credits.rtf */ = {
+			isa = PBXVariantGroup;
+			children = (
+				48B43528152E5E3500906A36 /* en */,
+			);
+			name = Credits.rtf;
+			sourceTree = "<group>";
+		};
+		48B4352D152E5E3600906A36 /* MainMenu.xib */ = {
+			isa = PBXVariantGroup;
+			children = (
+				48B4352E152E5E3600906A36 /* en */,
+			);
+			name = MainMenu.xib;
+			sourceTree = "<group>";
+		};
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+		48B43530152E5E3600906A36 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				COPY_PHASE_STRIP = NO;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.7;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = macosx;
+			};
+			name = Debug;
+		};
+		48B43531152E5E3600906A36 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.7;
+				SDKROOT = macosx;
+			};
+			name = Release;
+		};
+		48B43533152E5E3600906A36 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "CordovaMac/CordovaMac-Prefix.pch";
+				INFOPLIST_FILE = "CordovaMac/CordovaMac-Info.plist";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				WRAPPER_EXTENSION = app;
+			};
+			name = Debug;
+		};
+		48B43534152E5E3600906A36 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "CordovaMac/CordovaMac-Prefix.pch";
+				INFOPLIST_FILE = "CordovaMac/CordovaMac-Info.plist";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+				WRAPPER_EXTENSION = app;
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		48B4350E152E5E3500906A36 /* Build configuration list for PBXProject "CordovaMac" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				48B43530152E5E3600906A36 /* Debug */,
+				48B43531152E5E3600906A36 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		48B43532152E5E3600906A36 /* Build configuration list for PBXNativeTarget "CordovaMac" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				48B43533152E5E3600906A36 /* Debug */,
+				48B43534152E5E3600906A36 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = 48B4350B152E5E3500906A36 /* Project object */;
+}

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/AppDelegate.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/AppDelegate.h b/CordovaMac/CordovaMac/AppDelegate.h
new file mode 100644
index 0000000..ec38a73
--- /dev/null
+++ b/CordovaMac/CordovaMac/AppDelegate.h
@@ -0,0 +1,32 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+#import "ContentView.h"
+
+@interface AppDelegate : NSObject <NSApplicationDelegate> {
+
+	IBOutlet NSWindow* window;
+	IBOutlet ContentView* contentView;
+}
+
+@property (nonatomic, retain) NSWindow* window;
+@property (nonatomic, retain) ContentView* contentView;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/AppDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/AppDelegate.m b/CordovaMac/CordovaMac/AppDelegate.m
new file mode 100644
index 0000000..5574803
--- /dev/null
+++ b/CordovaMac/CordovaMac/AppDelegate.m
@@ -0,0 +1,74 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "AppDelegate.h"
+
+@implementation AppDelegate
+
+
+@synthesize window, contentView;
+
+- (void) applicationDidStartLaunching:(NSNotification *)aNotification {}
+
+- (void) applicationWillFinishLaunching:(NSNotification *)aNotification
+{
+[[NSNotificationCenter defaultCenter] addObserver:self.contentView 
+										 selector:@selector(windowResized:) 
+											 name:NSWindowDidResizeNotification 
+										   object:[self window]];
+
+NSURL* fileUrl = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:kStartPage]];
+[self.contentView.webView setMainFrameURL:[fileUrl description]];
+
+/* useful colors
+ NSColor *brown = [NSColor colorWithCalibratedRed:0.184 green:0.180 blue:0.176 alpha:1.000];
+ NSColor *red = [NSColor colorWithCalibratedRed:0.918 green:0.000 blue:0.000 alpha:1.000];
+ NSColor *orange = [NSColor colorWithCalibratedRed:0.918 green:0.518 blue:0.000 alpha:1.000];
+ NSColor *yellow = [NSColor colorWithCalibratedRed:0.918 green:0.914 blue:0.000 alpha:1.000];
+ NSColor *green = [NSColor colorWithCalibratedRed:0.000 green:0.918 blue:0.106 alpha:1.000];
+ NSColor *skyBlue = [NSColor colorWithCalibratedRed:0.000 green:0.918 blue:0.906 alpha:1.000];
+ NSColor *blue = [NSColor colorWithCalibratedRed:0.000 green:0.020 blue:0.918 alpha:1.000];
+ NSColor *clearColor = [NSColor clearColor];
+ */
+
+if (kStartFolder == @"www/phonegap-docs/template/phonegap/") {
+	
+    //NSColor *brown = [NSColor colorWithCalibratedRed:0.184 green:0.180 blue:0.176 alpha:1.000];
+    //[window setBackgroundColor:brown];
+    //[self.contentView.webView setBackgroundColor:brown]; //it ignores "WebView" may not respond to 'setBackGroundColor:' @RandyMcMillan
+    self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
+	
+}else{
+	
+    //NSColor *windowBackGroundColor = [NSColor colorWithCalibratedRed:0.918 green:0.918 blue:0.918 alpha:1.000];
+    //NSColor *webViewBackGroundColor = [NSColor colorWithCalibratedRed:0.082 green:0.133 blue:0.192 alpha:1.000];
+    //[window setBackgroundColor:windowBackGroundColor];
+    //[self.contentView.webView setBackgroundColor:webViewBackGroundColor]; //it ignores "WebView" may not respond to 'setBackGroundColor:' @RandyMcMillan
+    self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
+}//end else
+
+}
+
+- (void) applicationDidFinishLaunching:(NSNotification *)aNotification {
+
+self.contentView.webView.alphaValue = 1.0;
+self.contentView.alphaValue = 1.0;
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/Constants.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Constants.h b/CordovaMac/CordovaMac/Constants.h
new file mode 100644
index 0000000..aff04de
--- /dev/null
+++ b/CordovaMac/CordovaMac/Constants.h
@@ -0,0 +1,25 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#define kStartPage @"index.html"
+
+
+// PhoneGap Docs 
+#define kStartFolder @"www/phonegap-docs/template/phonegap/"
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/ContentView.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/ContentView.h b/CordovaMac/CordovaMac/ContentView.h
new file mode 100644
index 0000000..6156efb
--- /dev/null
+++ b/CordovaMac/CordovaMac/ContentView.h
@@ -0,0 +1,35 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+#import <WebKit/WebKit.h>
+
+@class WebViewDelegate;
+
+@interface ContentView : NSView {
+	
+	IBOutlet WebView* webView;
+	WebViewDelegate* delegate;
+	
+}
+
+@property (retain) WebView* webView;
+@property (retain) WebViewDelegate* delegate;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/ContentView.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/ContentView.m b/CordovaMac/CordovaMac/ContentView.m
new file mode 100644
index 0000000..e8ed6a6
--- /dev/null
+++ b/CordovaMac/CordovaMac/ContentView.m
@@ -0,0 +1,64 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "ContentView.h"
+#import "WebViewDelegate.h"
+#import "AppDelegate.h"
+
+@implementation ContentView
+
+@synthesize webView, delegate;
+
+- (void) awakeFromNib
+{
+self.delegate = [[[WebViewDelegate alloc] init] autorelease];
+[self.webView setFrameLoadDelegate:self.delegate];
+[self.webView setUIDelegate:self.delegate];
+[self.webView setResourceLoadDelegate:self.delegate];
+[self.webView setDownloadDelegate:self.delegate];
+[self.webView setPolicyDelegate:self.delegate];	
+//self.window.backgroundColor = [NSColor colorWithCalibratedRed:0.933 green:0.933 blue:0.933 alpha:1.000];
+}
+
+- (id)initWithFrame:(NSRect)frame 
+{
+self = [super initWithFrame:frame];
+if (self) {
+	// init here
+}
+return self;
+}
+
+- (void) drawRect:(NSRect)dirtyRect 
+{
+// Drawing code here.
+}
+
+- (void) windowResized:(NSNotification*)notification;
+{
+	NSWindow* window = (NSWindow*)notification.object;
+	NSSize size = [window frame].size;
+	
+	//DebugNSLog(@"window width = %f, window height = %f", size.width, size.height);
+	[self.webView setFrame:NSMakeRect(0, 0, size.width, size.height - [[Utils sharedInstance] titleBarHeight:window])];
+    [self.webView stringByEvaluatingJavaScriptFromString:@"var e = document.createEvent('Events'); e.initEvent('orientationchange', true, false); document.dispatchEvent(e); "];
+}
+
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/CordovaMac-Info.plist
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/CordovaMac-Info.plist b/CordovaMac/CordovaMac/CordovaMac-Info.plist
new file mode 100644
index 0000000..c8f540f
--- /dev/null
+++ b/CordovaMac/CordovaMac/CordovaMac-Info.plist
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleIconFile</key>
+	<string>Cordova.icns</string>
+	<key>CFBundleIdentifier</key>
+	<string>org.apache.cordova.mac.${PRODUCT_NAME:rfc1034identifier}</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>${PRODUCT_NAME}</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>${MACOSX_DEPLOYMENT_TARGET}</string>
+	<key>NSHumanReadableCopyright</key>
+	<string>Apache License, Version 2.0</string>
+	<key>NSMainNibFile</key>
+	<string>MainMenu</string>
+	<key>NSPrincipalClass</key>
+	<string>NSApplication</string>
+</dict>
+</plist>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/CordovaMac-Prefix.pch
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/CordovaMac-Prefix.pch b/CordovaMac/CordovaMac/CordovaMac-Prefix.pch
new file mode 100644
index 0000000..eac26de
--- /dev/null
+++ b/CordovaMac/CordovaMac/CordovaMac-Prefix.pch
@@ -0,0 +1,32 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#ifdef __OBJC__
+
+#ifdef _DEBUG
+#define DebugNSLog(format, ...) NSLog(format, ## __VA_ARGS__)
+#else
+#define DebugNSLog(format, ...)
+#endif
+
+#import <Cocoa/Cocoa.h>
+
+#import "Constants.h"
+#import "Utils.h"
+#endif

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/Sound.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Sound.h b/CordovaMac/CordovaMac/Sound.h
new file mode 100644
index 0000000..7781742
--- /dev/null
+++ b/CordovaMac/CordovaMac/Sound.h
@@ -0,0 +1,29 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+
+
+@interface Sound : NSObject {
+	
+}
+
+- (void) play:(NSString*)file;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/Sound.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Sound.m b/CordovaMac/CordovaMac/Sound.m
new file mode 100644
index 0000000..b6359c6
--- /dev/null
+++ b/CordovaMac/CordovaMac/Sound.m
@@ -0,0 +1,79 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "Sound.h"
+
+
+@implementation Sound
+
+
+- (void) play:(NSString*)file
+{
+	NSURL* fileUrl  = [NSURL fileURLWithPath:[[Utils sharedInstance] pathForResource:file]];
+	//DebugNSLog(@"Sound file:%@", [fileUrl description]);
+	
+	NSSound* sound = [[[NSSound alloc] initWithContentsOfURL:fileUrl byReference:YES] autorelease];
+	[sound play];
+}
+
+#pragma mark WebScripting Protocol
+
+/* checks whether a selector is acceptable to be called from JavaScript */
++ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
+{
+	BOOL	result = YES;
+	
+	int			i = 0;
+	static SEL	* acceptableList = NULL;
+	SEL			currentSelector;
+	
+	if (acceptableList == NULL && (acceptableList = calloc(256, sizeof(SEL))))	// up to 256 selectors
+	{
+		acceptableList[i++] = @selector(play:);
+	}
+	
+	i = 0;
+	while (result == YES && (currentSelector = acceptableList[i++]))
+	{
+		//checking for exclusions
+		result = !(selector == currentSelector);
+	}
+	
+	return result;
+}
+
+/* helper function so we don't have to have underscores and stuff in js to refer to the right method */
++ (NSString*) webScriptNameForSelector:(SEL)aSelector
+{
+	id	result = nil;
+	
+	if (aSelector == @selector(play:)) {
+		result = @"play";
+	}
+	
+	return result;
+}
+
+// right now exclude all properties (eg keys)
++ (BOOL) isKeyExcludedFromWebScript:(const char*)name
+{
+	return YES;
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/Utils.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Utils.h b/CordovaMac/CordovaMac/Utils.h
new file mode 100644
index 0000000..9895454
--- /dev/null
+++ b/CordovaMac/CordovaMac/Utils.h
@@ -0,0 +1,37 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Foundation/Foundation.h>
+
+#define DEG_EPS 0.001
+#define fequal(a,b) (fabs((a) - (b)) < DEG_EPS)
+#define fequalzero(a) (fabs(a) < DEG_EPS)
+
+@class LoadingView;
+
+@interface Utils : NSObject {
+}
+
+- (float) titleBarHeight:(NSWindow*)aWindow;
+- (NSString*) pathForResource:(NSString*)resourcepath;
+
+
++ (Utils*) sharedInstance;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/Utils.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/Utils.m b/CordovaMac/CordovaMac/Utils.m
new file mode 100644
index 0000000..5ce2614
--- /dev/null
+++ b/CordovaMac/CordovaMac/Utils.m
@@ -0,0 +1,94 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import "Utils.h"
+
+static Utils* sharedInstance = nil;
+
+@implementation Utils
+
+- (float) titleBarHeight:(NSWindow*)aWindow
+{
+    NSRect frame = [aWindow frame];
+    NSRect contentRect = [NSWindow contentRectForFrameRect: frame
+												 styleMask: NSTitledWindowMask];
+	
+    return (frame.size.height - contentRect.size.height);
+}
+
+- (NSString*) pathForResource:(NSString*)resourcepath
+{
+    NSBundle * mainBundle = [NSBundle mainBundle];
+    NSMutableArray *directoryParts = [NSMutableArray arrayWithArray:[resourcepath componentsSeparatedByString:@"/"]];
+    NSString       *filename       = [directoryParts lastObject];
+    [directoryParts removeLastObject];
+	
+    NSString *directoryStr = [NSString stringWithFormat:@"%@/%@", kStartFolder, [directoryParts componentsJoinedByString:@"/"]];
+    return [mainBundle pathForResource:filename
+								ofType:@""
+						   inDirectory:directoryStr];
+}
+
+#pragma mark -
+#pragma mark Singleton methods
+
++ (Utils*) sharedInstance
+{
+    @synchronized(self)
+    {
+        if (sharedInstance == nil){
+			sharedInstance = [[Utils alloc] init];
+		}
+    }
+    return sharedInstance;
+}
+
++ (id) allocWithZone:(NSZone *)zone {
+    @synchronized(self) {
+        if (sharedInstance == nil) {
+            sharedInstance = [super allocWithZone:zone];
+            return sharedInstance;  // assignment and return on first allocation
+        }
+    }
+    return nil; // on subsequent allocation attempts return nil
+}
+
+- (id) copyWithZone:(NSZone *)zone
+{
+    return self;
+}
+
+- (id) retain {
+    return self;
+}
+
+- (unsigned long) retainCount {
+    return UINT_MAX;  // denotes an object that cannot be released
+}
+
+- (void) release {
+    //do nothing
+}
+
+- (id) autorelease {
+    return self;
+}
+
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/WebViewDelegate.h
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/WebViewDelegate.h b/CordovaMac/CordovaMac/WebViewDelegate.h
new file mode 100644
index 0000000..4acda1b
--- /dev/null
+++ b/CordovaMac/CordovaMac/WebViewDelegate.h
@@ -0,0 +1,31 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+#import <Cocoa/Cocoa.h>
+#import <WebKit/WebKit.h>
+
+@class Sound;
+
+@interface WebViewDelegate : NSObject {
+	Sound* sound;
+}
+
+@property (nonatomic, retain) Sound* sound;
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/WebViewDelegate.m
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/WebViewDelegate.m b/CordovaMac/CordovaMac/WebViewDelegate.m
new file mode 100644
index 0000000..445e10b
--- /dev/null
+++ b/CordovaMac/CordovaMac/WebViewDelegate.m
@@ -0,0 +1,62 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+
+#import "WebViewDelegate.h"
+#import "Sound.h"
+
+@implementation WebViewDelegate
+
+@synthesize sound;
+
+- (void) webView:(WebView*)webView windowScriptObjectAvailable:(WebScriptObject*)windowScriptObject
+{
+	if (self.sound == nil) { self.sound = [Sound new]; }
+	[windowScriptObject setValue:self.sound forKey:@"sound"];
+}
+
+/* This logs all errors from Javascript, nifty */
+- (void) webView:(WebView*)webView addMessageToConsole:(NSDictionary*)message
+{
+	if (![message isKindOfClass:[NSDictionary class]]) { 
+		return;
+	}
+	
+	NSLog(@"JavaScript error: %@:%@: %@", 
+		  [[message objectForKey:@"sourceURL"] lastPathComponent],	// could be nil
+		  [message objectForKey:@"lineNumber"],
+		  [message objectForKey:@"message"]);
+}
+
+#pragma mark WebScripting protocol
+
+/* checks whether a selector is acceptable to be called from JavaScript */
++ (BOOL) isSelectorExcludedFromWebScript:(SEL)selector
+{
+	return YES;
+}
+
+// right now exclude all properties (eg keys)
++ (BOOL) isKeyExcludedFromWebScript:(const char*)name
+{
+	return YES;
+}
+
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/en.lproj/Credits.rtf
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/en.lproj/Credits.rtf b/CordovaMac/CordovaMac/en.lproj/Credits.rtf
new file mode 100644
index 0000000..816c9db
--- /dev/null
+++ b/CordovaMac/CordovaMac/en.lproj/Credits.rtf
@@ -0,0 +1,18 @@
+{\rtf1\ansi\ansicpg1252\cocoartf1138\cocoasubrtf320
+{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;\f1\fnil\fcharset0 HelveticaNeue-Light;}
+{\colortbl;\red255\green255\blue255;}
+\vieww9600\viewh8400\viewkind0
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
+{\field{\*\fldinst{HYPERLINK "http://www.apache.org/"}}{\fldrslt 
+\f0\fs36 \cf0 Apache Software Foundation\
+}}\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
+
+\f1\fs36 \cf0 \
+
+\fs28 The {\field{\*\fldinst{HYPERLINK "http://phonegap.com/about"}}{\fldrslt PhoneGap}} code was contributed to the Apache Software Foundation (ASF) under the name Apache Callback in October 2011. It is currently under incubation until it can become a full Apache project. Through the ASF, future {\field{\*\fldinst{HYPERLINK "http://phonegap.com/about"}}{\fldrslt PhoneGap}} development will ensure open stewardship of the project. It will always remain free and open source under the Apache License, Version 2.0.
+\fs32 \
+\
+\pard\tx560\pardeftab560\pardirnatural
+
+\fs28 \cf0 \CocoaLigature0 Licensed to the {\field{\*\fldinst{HYPERLINK "http://www.apache.org/"}}{\fldrslt Apache Software Foundation (ASF)}} under one or more contributor license agreements.  See the NOTICE file distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at {\field{\*\fldinst{HYPERLINK "http://www.apache.org/licenses/LICENSE-2.0"}}{\fldrslt http://www.apache.org/licenses/LICENSE-2.0}} Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the specific language governing permissions and limitations under the License.\
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-mac/blob/38ee66c7/CordovaMac/CordovaMac/en.lproj/InfoPlist.strings
----------------------------------------------------------------------
diff --git a/CordovaMac/CordovaMac/en.lproj/InfoPlist.strings b/CordovaMac/CordovaMac/en.lproj/InfoPlist.strings
new file mode 100644
index 0000000..d277f9d
--- /dev/null
+++ b/CordovaMac/CordovaMac/en.lproj/InfoPlist.strings
@@ -0,0 +1,23 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+
+
+/* Localized versions of Info.plist keys */
+


Mime
View raw message