You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2012/04/17 02:09:21 UTC

[1/4] ios commit: Updated docs/guides for 1.6.1

Updated Branches:
  refs/heads/master b7ea8b67f -> 590d087f2


Updated docs/guides for 1.6.1


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

Branch: refs/heads/master
Commit: fd6c2833400cb495e7305425ad678729f2720fe6
Parents: b7ea8b6
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Apr 16 17:06:06 2012 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Apr 16 17:08:54 2012 -0700

----------------------------------------------------------------------
 CordovaInstaller/docs/releasenotes.md  |   12 ++++++++++++
 guides/Cordova Plugin Upgrade Guide.md |    1 +
 guides/Cordova Upgrade Guide.md        |   14 +++++++-------
 3 files changed, 20 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/fd6c2833/CordovaInstaller/docs/releasenotes.md
----------------------------------------------------------------------
diff --git a/CordovaInstaller/docs/releasenotes.md b/CordovaInstaller/docs/releasenotes.md
index 26f6ae3..f6723fb 100644
--- a/CordovaInstaller/docs/releasenotes.md
+++ b/CordovaInstaller/docs/releasenotes.md
@@ -1,6 +1,17 @@
 ## Release Notes for Cordova ({VERSION})  ##
   
 Cordova is a static library and static framework that enables developers to include the Cordova API in their iOS application projects easily, and also create new Cordova-based iOS application projects through an Xcode project template.
+
+### 1.6.1 (20120416) ###
+
+* Fixed CB-496 - Camera.getPicture - will always return FILE\_URI even though DATA\_URL specified
+* Fixed CB-497 - online and offline events are not being fired in 1.6.0
+* Fixed CB-501 - orientationchange event is not being fired in 1.6.0
+* Fixed CB-302 - orientation change event fired off twice on iOS 5.x
+* Fixed CB-507 - Remove excessive debug logging in execute delegate method in CDVViewController
+
+<br/>
+
 ### 1.6.0 (20120409) ###
 * Updates for Media API
 * Contacts updates for Unified JavaScript
@@ -54,6 +65,7 @@ Cordova is a static library and static framework that enables developers to incl
 * Fixed CB-377 - add a check for PM_APP,  XC_APP, and DEVELOPER in the Makefile
 * REMOVED: navigator.splashscreen JavaScript interface (was unofficial) - use **cordova.exec(null, null, "SplashScreen", "hide", [])** OR **cordova.exec(null, null, "SplashScreen", "show", [])**
 
+<br/>
 
 ### 1.5.0 (20120302) ###
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/fd6c2833/guides/Cordova Plugin Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Plugin Upgrade Guide.md b/guides/Cordova Plugin Upgrade Guide.md
index 0de825c..f2b28e1 100644
--- a/guides/Cordova Plugin Upgrade Guide.md	
+++ b/guides/Cordova Plugin Upgrade Guide.md	
@@ -11,6 +11,7 @@ This document is for developers who need to upgrade their Cordova  plugins to a
 4. The global **"Cordova"** (upper-case C) was renamed to **"cordova"** (lower-case c) to match the cordova-js Android implementation in 1.5.0 that is now common to Android, Blackberry and iOS. Please rename your calls to reflect the new lower-case **c**, or you can add a shim (which will support older versions) like so:
 
     a. Wrap your plugin JavaScript in a temporary scope (self-executing function) - see ["Temporary Scope"](http://ejohn.org/apps/learn/#57) or [this](https://github.com/phonegap/phonegap-plugins/wiki/Wrapping-your-Plugin's-JavaScript)
+    
     b. Inside your temporary scope, set a **local var** to the global PhoneGap/Cordova/cordova object, for the exec function
     
             var cordovaRef = window.PhoneGap || window.Cordova || window.cordova; // old to new fallbacks

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/fd6c2833/guides/Cordova Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/guides/Cordova Upgrade Guide.md b/guides/Cordova Upgrade Guide.md
index 31b6d00..37e3cfd 100644
--- a/guides/Cordova Upgrade Guide.md	
+++ b/guides/Cordova Upgrade Guide.md	
@@ -2,13 +2,13 @@
 
 This document is for developers who need to upgrade their Cordova-based projects to a newer Cordova version. Starting with Cordova 1.4.0, Cordova has been re-factored to use Cleaver (Cordova as a Component), and some classes that were used before have been removed - namely PhoneGapDelegate and PhoneGapViewController.
 
-- To upgrade from 1.3.0 to 1.6.0, please go to the 1.4.0 instructions first, then 1.5.0, then 1.6.0
-- To upgrade from 1.4.x to 1.6.0, please go to the 1.5.0 instructions first, then 1.6.0
-- To upgrade from 1.5.0 to 1.6.0, go straight to the 1.6.0 instructions
+- To upgrade from 1.3.0 to 1.6.x, please go to the 1.4.0 instructions first, then 1.5.0, then 1.6.x
+- To upgrade from 1.4.x to 1.6.x, please go to the 1.5.0 instructions first, then 1.6.x
+- To upgrade from 1.5.0 to 1.6.x, go straight to the 1.6.x instructions
 
-## Upgrading Cordova 1.5.0 projects to 1.6.0 ##
+## Upgrading Cordova 1.5.0 projects to 1.6.x ##
 
-1. **Install** Cordova 1.6.0
+1. **Install** Cordova 1.6.1
 2. **Make a backup** of **AppDelegate.m**, **AppDelegate.h**, **MainViewController.m**, **MainViewController.h**, and **Cordova.plist** in your project
 3. **Create a new project** - you will have to grab assets from this new project
 4. **Copy** these files from the **new** project into your 1.5.0 based project folder on disk, **replacing** any old files (**backup** your files first from step 2 above):
@@ -19,8 +19,8 @@ This document is for developers who need to upgrade their Cordova-based projects
         MainViewController.m
         Cordova.plist
 5. **Add** all the new **MainViewController** and **AppDelegate** files into your Xcode project
-6. **Copy** the **www/cordova-1.6.0.js** file from the new project into your **www** folder, and delete your **www/cordova-1.5.0.js** file
-7. **Update** the Cordova script reference in your **www/index.html** file (and any other files that contain the script reference) to point to the new **cordova-1.6.0.js** file
+6. **Copy** the **www/cordova-1.6.1.js** file from the new project into your **www** folder, and delete your **www/cordova-1.5.0.js** file
+7. **Update** the Cordova script reference in your **www/index.html** file (and any other files that contain the script reference) to point to the new **cordova-1.6.1.js** file
 8. **Add** the new **Cordova.plist** file into your project - this is because the core plugin service names needed to be changed to match the ones from Android and Blackberry, for a unified Cordova JavaScript file (cordova-js). 
 9. **Integrate** any settings, **Plugins** and **ExternalHosts** entries that you had in your **backed-up Cordova.plist** into the new **Cordova.plist**
 10. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h and AppDelegate.m** into the new AppDelegate files. Any **UIWebViewDelegate** or **CDVCommandDelegate** code in **AppDelegate.m** will need to go into MainViewController.m now (see commented out sections in that file)