cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject mac commit: Added RELEASENOTES and README for 2.6.0
Date Fri, 22 Mar 2013 15:58:13 GMT
Updated Branches:
  refs/heads/master a9794ce49 -> c963f558b


Added RELEASENOTES and README for 2.6.0


Project: http://git-wip-us.apache.org/repos/asf/cordova-osx/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-osx/commit/c963f558
Tree: http://git-wip-us.apache.org/repos/asf/cordova-osx/tree/c963f558
Diff: http://git-wip-us.apache.org/repos/asf/cordova-osx/diff/c963f558

Branch: refs/heads/master
Commit: c963f558b27e55d7a214d5805484e0b3be5d8195
Parents: a9794ce
Author: Shazron Abdullah <shazron@apache.org>
Authored: Fri Mar 22 08:58:06 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Fri Mar 22 08:58:06 2013 -0700

----------------------------------------------------------------------
 .../Classes/Commands/CDVAvailability.h             |    2 +
 README.md                                          |  101 ++++++++++++---
 RELEASENOTES.md                                    |   31 +++++
 3 files changed, 117 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/c963f558/CordovaFramework/CordovaFramework/Classes/Commands/CDVAvailability.h
----------------------------------------------------------------------
diff --git a/CordovaFramework/CordovaFramework/Classes/Commands/CDVAvailability.h b/CordovaFramework/CordovaFramework/Classes/Commands/CDVAvailability.h
index 955051e..9df89da 100644
--- a/CordovaFramework/CordovaFramework/Classes/Commands/CDVAvailability.h
+++ b/CordovaFramework/CordovaFramework/Classes/Commands/CDVAvailability.h
@@ -17,6 +17,8 @@
  under the License.
  */
 
+#define __CORDOVA_OSX__
+
 #define __CORDOVA_2_6_0 20600
 #define __CORDOVA_NA 99999      /* not available */
 

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/c963f558/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index f56d38f..ea03527 100644
--- a/README.md
+++ b/README.md
@@ -1,22 +1,89 @@
-Cordova Mac
-===========
-Cordova Mac aims to provide HTML/JS/CSS developers an XCode project for developing Native
OSX Apps that run in UIWebView and take advantage of WebKit technologies.
+<!--
+#
+# 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.
+#
+-->
+Cordova OSX
+=============================================================
+CordovaFramework is a framework that enables users to include Cordova in their OS X application
projects easily, and also create new Cordova based OS X application projects.
+<br />
 
-![Cordova Mac ScreenShot](https://raw.github.com/apache/incubator-cordova-mac/master/CordovaMacScreenShot.png)
+Pre-requisites
+-------------------------------------------------------------
+Make sure you have installed the latest released OS X SDK which comes with Xcode 4. Download
it at [http://developer.apple.com/downloads](http://developer.apple.com/downloads) or the
[Mac App Store](http://itunes.apple.com/us/app/xcode/id497799835?mt=12).
+<br />
 
-Cordova Family
-==============
-Cordova Mac belongs to Apache Cordova project. Apache Cordova is a platform for building
native mobile applications using HTML, CSS and JavaScript. You can find more info at [http://incubator.apache.org/cordova/](http://incubator.apache.org/cordova/)
+Install CordovaFramework
+-------------------------------------------------------------
 
-Repositories
-============
-Main code repository can be found at [git://git.apache.org/incubator-cordova-mac.git](git://git.apache.org/incubator-cordova-mac.git),
but if you feel more confortable with GitHub, [https://github.com/apache/incubator-cordova-mac](https://github.com/apache/incubator-cordova-mac)
+1. Download the source
+2. Extract to their final location
+3. There is no step 3
 
-Apache Software Foundation
-==========================
-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.
- 
-Pre-requisites
-==============
-Make sure you have installed the latest Mac OSX Core Library. Download at [http://developer.apple.com/](http://developer.apple.com/)
+<br />
+
+Create a Cordova project
+-------------------------------------------------------------
+
+1. Launch **Terminal.app**
+2. Go to the location where you installed Cordova, in the **bin** sub-folder
+3. Follow the instructions in the [**Command-Line Usage** section](http://docs.cordova.io/en/edge/guide_command-line_index.md.html#Command-Line%20Usage)
of [http://docs.cordova.io](http://docs.cordova.io)
+
+The docs should also have been included in the distribution.
+
+To use a **shared CordovaFramework**, add as the first parameter "**--shared**" to the **bin/create**
command.
+
+<br />
+
+Updating a CordovaFramework subproject reference in your project
+-------------------------------------------------------------
+
+When you update to a new Cordova version, you may need to update the CordovaFramework reference
in an existing project. Cordova comes with a script that will help you to do this. 
+
+1. Launch **Terminal.app**
+2. Go to the location where you installed Cordova, in the **bin** sub-folder
+3. Run **"update_cordova_subproject [path/to/your/project/xcodeproj]"**  where the first
parameter is the path to your project's .xcodeproj file
+
+<br />
+
+Unit Tests
+--------------------------------------------------------------------
+1. **Create** a new Cordova-based Application project
+2. **Download** the code from the **[mobile-spec](https://github.com/apache/cordova-mobile-spec)**
and put all of it in the root of your **www** folder
+3. **Modify cordova.js** to point to your correct cordova-X.X.X.js version
+4. **Run** the project
+
+<br />
+
+
+FAQ
+---
+
+None yet.
+
+
+BUGS?
+-----
+File them at the [Cordova Issue Tracker](https://issues.apache.org/jira/browse/CB)      
+<br />
+
+MORE INFO
+----------
+* [http://cordova.apache.org/](http://cordova.apache.org/)
 
+<br />

http://git-wip-us.apache.org/repos/asf/cordova-osx/blob/c963f558/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
new file mode 100644
index 0000000..ebcdd81
--- /dev/null
+++ b/RELEASENOTES.md
@@ -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.
+#
+-->
+## Release Notes for Cordova (OS X) ##
+ 
+ Cordova is a framework that enables developers to include the Cordova API in their OS X
application projects easily, and also create new Cordova-based OS X application projects through
the command-line.
+
+### 2.6.0 (20130401) ###
+
+* Initial release
+* Supports third-party plugins (Plugin Development model is the same as iOS)
+* Only two core plugins are supported currently (Device and NetworkStatus)
+* White-listing is NOT supported yet
+<br />


Mime
View raw message