incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [1/27] ios commit: Rename PhoneGap to Cordova.
Date Fri, 17 Feb 2012 01:38:49 GMT
Updated Branches:
  refs/heads/master 1bf368890 -> bcff9559b


Rename PhoneGap to Cordova.

commit 7a7332da9448658d2a26d8020da8ab11054eb21b
Author: Shazron Abdullah <shazron@apache.org>
Date:   Thu Feb 16 17:34:59 2012 -0800

    Massive rename of class prefix PG to CDV, and prepending CDV to filenames and classes that were missing a prefix (for name-spacing)

commit 353884029536732de71b8e22d2efea340671478e
Author: Shazron Abdullah <shazron@apache.org>
Date:   Thu Feb 16 13:12:34 2012 -0800

    Error in symbolic link.

commit 9b9caee709db5d6900b68412e0327b3710a5f3ef
Author: Shazron Abdullah <shazron@apache.org>
Date:   Thu Feb 16 13:02:06 2012 -0800

    Fixed script errors in the installer.

commit 4532cc1f824b8cb287a2c9f97e932429e5d053b3
Author: Shazron Abdullah <shazron@apache.org>
Date:   Thu Feb 16 11:50:28 2012 -0800

    Updated .gitignores for Cordova rename

commit dd147704e391859685512df6462f0316bab7015a
Author: Shazron Abdullah <shazron@apache.org>
Date:   Tue Feb 14 17:14:09 2012 -0800

    Rename PhoneGap to Cordova - more changes.

commit e794014fa201e29af60ff2881b15eb7ec902e47d
Author: Shazron Abdullah <shazron@apache.org>
Date:   Mon Feb 13 17:16:22 2012 -0800

    Rename PhoneGap to Cordova - fixes.

commit d192afe8c1be3f77a9ec8b0bdace652cf1bcfe73
Author: Shazron Abdullah <shazron@apache.org>
Date:   Fri Feb 10 17:34:17 2012 -0800

    Renamed PhoneGap to Cordova (un-tested)


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/bcff9559
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/bcff9559
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/bcff9559

Branch: refs/heads/master
Commit: bcff9559b31a6c80971b690f1bfed9212fc47c47
Parents: 1bf3688
Author: Shazron Abdullah <shazron@apache.org>
Authored: Thu Feb 16 17:38:30 2012 -0800
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Thu Feb 16 17:38:30 2012 -0800

----------------------------------------------------------------------
 .gitignore                                         |    6 +-
 Cordova Upgrade Guide.md                           |   44 +
 Cordova-based Application.xctemplate/README        |    5 +
 .../TemplateInfo.plist                             |  408 ++
 Cordova-based Application/.gitignore               |    6 +
 Cordova-based Application/Classes/AppDelegate.h    |   52 +
 Cordova-based Application/Classes/AppDelegate.m    |  191 +
 .../Classes/MainViewController.h                   |   36 +
 .../Classes/MainViewController.m                   |   70 +
 .../Classes/MainViewController.xib                 |  118 +
 Cordova-based Application/Cordova.plist            |   55 +
 .../CordovaBuildSettings.xcconfig                  |   26 +
 Cordova-based Application/Plugins/README           |    1 +
 .../Resources/Capture.bundle/controls_bg.png       |  Bin 0 -> 955 bytes
 .../Resources/Capture.bundle/controls_bg@2x.png    |  Bin 0 -> 971 bytes
 .../Resources/Capture.bundle/controls_bg~ipad.png  |  Bin 0 -> 969 bytes
 .../Resources/Capture.bundle/microphone.png        |  Bin 0 -> 72226 bytes
 .../Resources/Capture.bundle/microphone@2x.png     |  Bin 0 -> 282409 bytes
 .../Resources/Capture.bundle/microphone~ipad.png   |  Bin 0 -> 393975 bytes
 .../Resources/Capture.bundle/record_button.png     |  Bin 0 -> 5852 bytes
 .../Resources/Capture.bundle/record_button@2x.png  |  Bin 0 -> 13875 bytes
 .../Capture.bundle/record_button~ipad.png          |  Bin 0 -> 7547 bytes
 .../Resources/Capture.bundle/recording_bg.png      |  Bin 0 -> 973 bytes
 .../Resources/Capture.bundle/recording_bg@2x.png   |  Bin 0 -> 990 bytes
 .../Resources/Capture.bundle/recording_bg~ipad.png |  Bin 0 -> 996 bytes
 .../Resources/Capture.bundle/stop_button.png       |  Bin 0 -> 5514 bytes
 .../Resources/Capture.bundle/stop_button@2x.png    |  Bin 0 -> 12965 bytes
 .../Resources/Capture.bundle/stop_button~ipad.png  |  Bin 0 -> 7119 bytes
 .../Resources/de.lproj/Localizable.strings         |   26 +
 .../Resources/en.lproj/Localizable.strings         |   25 +
 .../Resources/es.lproj/Localizable.strings         |   25 +
 .../Resources/icons/icon-72.png                    |  Bin 0 -> 4944 bytes
 Cordova-based Application/Resources/icons/icon.png |  Bin 0 -> 3902 bytes
 .../Resources/icons/icon@2x.png                    |  Bin 0 -> 7869 bytes
 .../Resources/se.lproj/Localizable.strings         |   26 +
 .../Resources/splash/Default-Landscape.png         |  Bin 0 -> 24080 bytes
 .../Resources/splash/Default-Portrait.png          |  Bin 0 -> 22644 bytes
 .../Resources/splash/Default.png                   |  Bin 0 -> 9537 bytes
 .../Resources/splash/Default@2x.png                |  Bin 0 -> 22029 bytes
 .../___PROJECTNAMEASIDENTIFIER___-Info.plist       |   49 +
 .../___PROJECTNAMEASIDENTIFIER___-Prefix.pch       |   26 +
 .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns  |  Bin 0 -> 183175 bytes
 .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist |    8 +
 .../___PROJECTNAME___.xcodeproj/project.pbxproj    |  601 +++
 Cordova-based Application/main.m                   |   35 +
 Cordova-based Application/www/index.html           |   64 +
 .../01cordovalib-contents.xml                      |    1 +
 .../CordovaInstaller.pmdoc/01cordovalib.xml        |    1 +
 .../CordovaInstaller.pmdoc/02cordova-contents.xml  |    1 +
 .../CordovaInstaller.pmdoc/02cordova.xml           |    1 +
 .../CordovaInstaller.pmdoc/03cordova-contents.xml  |    1 +
 .../CordovaInstaller.pmdoc/03cordova.xml           |    1 +
 .../CordovaInstaller.pmdoc/04cordova-contents.xml  |    1 +
 .../CordovaInstaller.pmdoc/04cordova.xml           |    1 +
 CordovaInstaller/CordovaInstaller.pmdoc/index.xml  |   57 +
 CordovaInstaller/cordova.png                       |  Bin 0 -> 15902 bytes
 CordovaInstaller/docs/.gitignore                   |    1 +
 CordovaInstaller/docs/README                       |   12 +
 CordovaInstaller/docs/finishup.md                  |   68 +
 CordovaInstaller/docs/releasenotes.md              |  270 ++
 CordovaInstaller/scripts/framework.postinstall     |   29 +
 CordovaInstaller/scripts/framework.preinstall      |   26 +
 CordovaInstaller/scripts/xcodetemplate.preinstall  |   22 +
 CordovaInstaller/scripts/xcodevars.postinstall     |   29 +
 CordovaLib/.gitignore                              |    6 +
 CordovaLib/Classes/CDVAccelerometer.h              |   42 +
 CordovaLib/Classes/CDVAccelerometer.m              |  113 +
 CordovaLib/Classes/CDVBattery.h                    |   39 +
 CordovaLib/Classes/CDVBattery.m                    |  157 +
 CordovaLib/Classes/CDVCamera.h                     |   95 +
 CordovaLib/Classes/CDVCamera.m                     |  428 ++
 CordovaLib/Classes/CDVCapture.h                    |  119 +
 CordovaLib/Classes/CDVCapture.m                    |  882 +++++
 CordovaLib/Classes/CDVCommandDelegate.h            |   28 +
 CordovaLib/Classes/CDVConnection.h                 |   34 +
 CordovaLib/Classes/CDVConnection.m                 |  144 +
 CordovaLib/Classes/CDVContact.h                    |  146 +
 CordovaLib/Classes/CDVContact.m                    | 1734 ++++++++
 CordovaLib/Classes/CDVContacts.h                   |  140 +
 CordovaLib/Classes/CDVContacts.m                   |  511 +++
 CordovaLib/Classes/CDVCordovaView.h                |   29 +
 CordovaLib/Classes/CDVCordovaView.m                |   47 +
 CordovaLib/Classes/CDVDebug.h                      |   25 +
 CordovaLib/Classes/CDVDebugConsole.h               |   30 +
 CordovaLib/Classes/CDVDebugConsole.m               |   36 +
 CordovaLib/Classes/CDVFile.h                       |  107 +
 CordovaLib/Classes/CDVFile.m                       | 1241 ++++++
 CordovaLib/Classes/CDVFileTransfer.h               |   62 +
 CordovaLib/Classes/CDVFileTransfer.m               |  318 ++
 CordovaLib/Classes/CDVInvokedUrlCommand.h          |   39 +
 CordovaLib/Classes/CDVInvokedUrlCommand.m          |   51 +
 CordovaLib/Classes/CDVLocation.h                   |   91 +
 CordovaLib/Classes/CDVLocation.m                   |  515 +++
 CordovaLib/Classes/CDVMotion.h                     |   36 +
 CordovaLib/Classes/CDVMotion.m                     |   78 +
 CordovaLib/Classes/CDVNotification.h               |   41 +
 CordovaLib/Classes/CDVNotification.m               |  117 +
 CordovaLib/Classes/CDVPlugin.h                     |   65 +
 CordovaLib/Classes/CDVPlugin.m                     |  161 +
 CordovaLib/Classes/CDVPluginResult.h               |   73 +
 CordovaLib/Classes/CDVPluginResult.m               |  176 +
 CordovaLib/Classes/CDVReachability.h               |   89 +
 CordovaLib/Classes/CDVReachability.m               |  285 ++
 CordovaLib/Classes/CDVSound.h                      |  115 +
 CordovaLib/Classes/CDVSound.m                      |  593 +++
 CordovaLib/Classes/CDVSplashScreen.h               |   30 +
 CordovaLib/Classes/CDVSplashScreen.m               |   51 +
 CordovaLib/Classes/CDVURLProtocol.h                |   34 +
 CordovaLib/Classes/CDVURLProtocol.m                |  124 +
 CordovaLib/Classes/CDVViewController.h             |   65 +
 CordovaLib/Classes/CDVViewController.m             |  957 +++++
 CordovaLib/Classes/CDVWhitelist.h                  |   33 +
 CordovaLib/Classes/CDVWhitelist.m                  |  183 +
 CordovaLib/Classes/JSON/JSONKit.h                  |  251 ++
 CordovaLib/Classes/JSON/JSONKit.m                  | 3059 +++++++++++++++
 CordovaLib/Classes/NSData+Base64.h                 |   33 +
 CordovaLib/Classes/NSData+Base64.m                 |  299 ++
 CordovaLib/Classes/NSDictionary+Extensions.h       |   36 +
 CordovaLib/Classes/NSDictionary+Extensions.m       |  136 +
 CordovaLib/Classes/NSMutableArray+QueueAdditions.h |   30 +
 CordovaLib/Classes/NSMutableArray+QueueAdditions.m |   58 +
 CordovaLib/CordovaLib.xcodeproj/project.pbxproj    | 1125 ++++++
 CordovaLib/CordovaLibTests/CDVContactsTests.h      |   31 +
 CordovaLib/CordovaLibTests/CDVContactsTests.m      |   67 +
 CordovaLib/CordovaLibTests/CDVMockUIWebview.h      |   43 +
 CordovaLib/CordovaLibTests/CDVMockUIWebview.m      |   74 +
 .../CDVPluginResultJSONSerializationTests.h        |   28 +
 .../CDVPluginResultJSONSerializationTests.m        |  132 +
 CordovaLib/CordovaLibTests/CDVWhitelistTests.h     |   26 +
 CordovaLib/CordovaLibTests/CDVWhitelistTests.m     |  255 ++
 .../CordovaLibTests/CordovaLibTests-Info.plist     |   22 +
 .../CordovaLibTests/CordovaLibTests-Prefix.pch     |   25 +
 .../CordovaLibTests/en.lproj/InfoPlist.strings     |   20 +
 CordovaLib/CordovaLib_Prefix.pch                   |   22 +
 CordovaLib/Makefile                                |   70 +
 CordovaLib/VERSION                                 |    1 +
 CordovaLib/javascripts/core/acceleration.js        |   42 +
 CordovaLib/javascripts/core/accelerometer.js       |  160 +
 CordovaLib/javascripts/core/battery.js             |  123 +
 CordovaLib/javascripts/core/camera.js              |  117 +
 CordovaLib/javascripts/core/capture.js             |  194 +
 CordovaLib/javascripts/core/compass.js             |  155 +
 CordovaLib/javascripts/core/contact.js             |  409 ++
 CordovaLib/javascripts/core/cordova.js.base        |  548 +++
 CordovaLib/javascripts/core/debugconsole.js        |  108 +
 CordovaLib/javascripts/core/device.js              |   37 +
 CordovaLib/javascripts/core/file.js                | 1169 ++++++
 CordovaLib/javascripts/core/filetransfer.js        |  119 +
 CordovaLib/javascripts/core/geolocation.js         |  285 ++
 CordovaLib/javascripts/core/license.js             |   21 +
 CordovaLib/javascripts/core/media.js               |  217 +
 CordovaLib/javascripts/core/network.js             |   34 +
 CordovaLib/javascripts/core/notification.js        |   64 +
 CordovaLib/javascripts/core/orientation.js         |  125 +
 CordovaLib/javascripts/core/position.js            |  130 +
 CordovaLib/javascripts/core/sms.js                 |   27 +
 CordovaLib/javascripts/core/splashscreen.js        |   22 +
 CordovaLib/javascripts/core/telephony.js           |   23 +
 CordovaLib/javascripts/plugins/README.md           |    3 +
 How to Use Cordova as a Component.md               |  131 +
 How to Use PhoneGap as a Component.md              |  131 -
 Makefile                                           |  208 +-
 PhoneGap Upgrade Guide.md                          |   33 -
 PhoneGap-based Application.xctemplate/README       |    5 -
 .../TemplateInfo.plist                             |  408 --
 PhoneGap-based Application/.gitignore              |    6 -
 PhoneGap-based Application/Classes/AppDelegate.h   |   52 -
 PhoneGap-based Application/Classes/AppDelegate.m   |  191 -
 .../Classes/MainViewController.h                   |   17 -
 .../Classes/MainViewController.m                   |   47 -
 .../Classes/MainViewController.xib                 |  118 -
 PhoneGap-based Application/PhoneGap.plist          |   55 -
 .../PhoneGapBuildSettings.xcconfig                 |   26 -
 PhoneGap-based Application/Plugins/README          |    1 -
 .../Resources/Capture.bundle/controls_bg.png       |  Bin 955 -> 0 bytes
 .../Resources/Capture.bundle/controls_bg@2x.png    |  Bin 971 -> 0 bytes
 .../Resources/Capture.bundle/controls_bg~ipad.png  |  Bin 969 -> 0 bytes
 .../Resources/Capture.bundle/microphone.png        |  Bin 72226 -> 0 bytes
 .../Resources/Capture.bundle/microphone@2x.png     |  Bin 282409 -> 0 bytes
 .../Resources/Capture.bundle/microphone~ipad.png   |  Bin 393975 -> 0 bytes
 .../Resources/Capture.bundle/record_button.png     |  Bin 5852 -> 0 bytes
 .../Resources/Capture.bundle/record_button@2x.png  |  Bin 13875 -> 0 bytes
 .../Capture.bundle/record_button~ipad.png          |  Bin 7547 -> 0 bytes
 .../Resources/Capture.bundle/recording_bg.png      |  Bin 973 -> 0 bytes
 .../Resources/Capture.bundle/recording_bg@2x.png   |  Bin 990 -> 0 bytes
 .../Resources/Capture.bundle/recording_bg~ipad.png |  Bin 996 -> 0 bytes
 .../Resources/Capture.bundle/stop_button.png       |  Bin 5514 -> 0 bytes
 .../Resources/Capture.bundle/stop_button@2x.png    |  Bin 12965 -> 0 bytes
 .../Resources/Capture.bundle/stop_button~ipad.png  |  Bin 7119 -> 0 bytes
 .../Resources/de.lproj/Localizable.strings         |   26 -
 .../Resources/en.lproj/Localizable.strings         |   25 -
 .../Resources/es.lproj/Localizable.strings         |   25 -
 .../Resources/icons/icon-72.png                    |  Bin 4944 -> 0 bytes
 .../Resources/icons/icon.png                       |  Bin 3902 -> 0 bytes
 .../Resources/icons/icon@2x.png                    |  Bin 7869 -> 0 bytes
 .../Resources/se.lproj/Localizable.strings         |   26 -
 .../Resources/splash/Default-Landscape.png         |  Bin 24080 -> 0 bytes
 .../Resources/splash/Default-Portrait.png          |  Bin 22644 -> 0 bytes
 .../Resources/splash/Default.png                   |  Bin 9537 -> 0 bytes
 .../Resources/splash/Default@2x.png                |  Bin 22029 -> 0 bytes
 .../___PROJECTNAMEASIDENTIFIER___-Info.plist       |   49 -
 .../___PROJECTNAMEASIDENTIFIER___-Prefix.pch       |   26 -
 .../___PROJECTNAME___.xcodeproj/TemplateIcon.icns  |  Bin 183175 -> 0 bytes
 .../___PROJECTNAME___.xcodeproj/TemplateInfo.plist |    8 -
 .../___PROJECTNAME___.xcodeproj/project.pbxproj    |  601 ---
 PhoneGap-based Application/main.m                  |   35 -
 PhoneGap-based Application/www/index.html          |   64 -
 .../01phonegaplib-contents.xml                     |    1 -
 .../PhoneGapInstaller.pmdoc/01phonegaplib.xml      |    1 -
 .../02phonegap-contents.xml                        |    1 -
 .../PhoneGapInstaller.pmdoc/02phonegap.xml         |    1 -
 .../03phonegap-contents.xml                        |    1 -
 .../PhoneGapInstaller.pmdoc/03phonegap.xml         |    1 -
 .../04phonegap-contents.xml                        |    1 -
 .../PhoneGapInstaller.pmdoc/04phonegap.xml         |    1 -
 .../PhoneGapInstaller.pmdoc/index.xml              |   57 -
 PhoneGapInstaller/docs/.gitignore                  |    1 -
 PhoneGapInstaller/docs/README                      |   12 -
 PhoneGapInstaller/docs/finishup.md                 |   68 -
 PhoneGapInstaller/docs/releasenotes.md             |  270 --
 PhoneGapInstaller/phonegap.png                     |  Bin 16349 -> 0 bytes
 PhoneGapInstaller/scripts/framework.postinstall    |   28 -
 PhoneGapInstaller/scripts/framework.preinstall     |   30 -
 PhoneGapInstaller/scripts/xcodetemplate.preinstall |   22 -
 PhoneGapInstaller/scripts/xcodevars.postinstall    |   24 -
 PhoneGapLib/.gitignore                             |    6 -
 PhoneGapLib/Classes/Accelerometer.h                |   42 -
 PhoneGapLib/Classes/Accelerometer.m                |  113 -
 PhoneGapLib/Classes/Battery.h                      |   39 -
 PhoneGapLib/Classes/Battery.m                      |  157 -
 PhoneGapLib/Classes/Camera.h                       |   95 -
 PhoneGapLib/Classes/Camera.m                       |  428 --
 PhoneGapLib/Classes/Capture.h                      |  119 -
 PhoneGapLib/Classes/Capture.m                      |  882 -----
 PhoneGapLib/Classes/Categories.h                   |   33 -
 PhoneGapLib/Classes/Categories.m                   |  123 -
 PhoneGapLib/Classes/Connection.h                   |   34 -
 PhoneGapLib/Classes/Connection.m                   |  144 -
 PhoneGapLib/Classes/Contact.h                      |  146 -
 PhoneGapLib/Classes/Contact.m                      | 1734 --------
 PhoneGapLib/Classes/Contacts.h                     |  140 -
 PhoneGapLib/Classes/Contacts.m                     |  511 ---
 PhoneGapLib/Classes/DebugConsole.h                 |   30 -
 PhoneGapLib/Classes/DebugConsole.m                 |   36 -
 PhoneGapLib/Classes/File.h                         |  107 -
 PhoneGapLib/Classes/File.m                         | 1241 ------
 PhoneGapLib/Classes/FileTransfer.h                 |   62 -
 PhoneGapLib/Classes/FileTransfer.m                 |  318 --
 PhoneGapLib/Classes/InvokedUrlCommand.h            |   39 -
 PhoneGapLib/Classes/InvokedUrlCommand.m            |   51 -
 PhoneGapLib/Classes/JSON/JSONKit.h                 |  251 --
 PhoneGapLib/Classes/JSON/JSONKit.m                 | 3059 ---------------
 PhoneGapLib/Classes/Location.h                     |   91 -
 PhoneGapLib/Classes/Location.m                     |  515 ---
 PhoneGapLib/Classes/NSData+Base64.h                |   33 -
 PhoneGapLib/Classes/NSData+Base64.m                |  299 --
 PhoneGapLib/Classes/NSDictionary+LowercaseKeys.h   |   14 -
 PhoneGapLib/Classes/NSDictionary+LowercaseKeys.m   |   25 -
 .../Classes/NSMutableArray+QueueAdditions.h        |   30 -
 .../Classes/NSMutableArray+QueueAdditions.m        |   58 -
 PhoneGapLib/Classes/Notification.h                 |   41 -
 PhoneGapLib/Classes/Notification.m                 |  117 -
 PhoneGapLib/Classes/PGCommandDelegate.h            |   28 -
 PhoneGapLib/Classes/PGDebug.h                      |   25 -
 PhoneGapLib/Classes/PGMotion.h                     |   36 -
 PhoneGapLib/Classes/PGMotion.m                     |   78 -
 PhoneGapLib/Classes/PGPlugin.h                     |   65 -
 PhoneGapLib/Classes/PGPlugin.m                     |  161 -
 PhoneGapLib/Classes/PGSplashScreen.h               |   30 -
 PhoneGapLib/Classes/PGSplashScreen.m               |   55 -
 PhoneGapLib/Classes/PGURLProtocol.h                |   34 -
 PhoneGapLib/Classes/PGURLProtocol.m                |  127 -
 PhoneGapLib/Classes/PGViewController.h             |   65 -
 PhoneGapLib/Classes/PGViewController.m             |  957 -----
 PhoneGapLib/Classes/PGWhitelist.h                  |   33 -
 PhoneGapLib/Classes/PGWhitelist.m                  |  183 -
 PhoneGapLib/Classes/PhoneGapDelegate.h             |   64 -
 PhoneGapLib/Classes/PhoneGapDelegate.m             |  953 -----
 PhoneGapLib/Classes/PhoneGapViewController.h       |   31 -
 PhoneGapLib/Classes/PhoneGapViewController.m       |  120 -
 PhoneGapLib/Classes/PluginResult.h                 |   73 -
 PhoneGapLib/Classes/PluginResult.m                 |  176 -
 PhoneGapLib/Classes/Reachability.h                 |   89 -
 PhoneGapLib/Classes/Reachability.m                 |  285 --
 PhoneGapLib/Classes/Sound.h                        |  115 -
 PhoneGapLib/Classes/Sound.m                        |  593 ---
 PhoneGapLib/Classes/UIGapView.h                    |   29 -
 PhoneGapLib/Classes/UIGapView.m                    |   47 -
 PhoneGapLib/Makefile                               |   70 -
 PhoneGapLib/PhoneGapLib.xcodeproj/project.pbxproj  | 1189 ------
 PhoneGapLib/PhoneGapLibTests/MockUIWebview.h       |   43 -
 PhoneGapLib/PhoneGapLibTests/MockUIWebview.m       |   74 -
 PhoneGapLib/PhoneGapLibTests/PGContactsTests.h     |   31 -
 PhoneGapLib/PhoneGapLibTests/PGContactsTests.m     |   67 -
 PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.h    |   26 -
 PhoneGapLib/PhoneGapLibTests/PGWhitelistTests.m    |  255 --
 .../PhoneGapLibTests/PhoneGapLibTests-Info.plist   |   22 -
 .../PhoneGapLibTests/PhoneGapLibTests-Prefix.pch   |   25 -
 .../PluginResultJSONSerializationTests.h           |   28 -
 .../PluginResultJSONSerializationTests.m           |  132 -
 .../PhoneGapLibTests/en.lproj/InfoPlist.strings    |   20 -
 PhoneGapLib/PhoneGapLib_Prefix.pch                 |    7 -
 PhoneGapLib/VERSION                                |    1 -
 PhoneGapLib/javascripts/core/acceleration.js       |   42 -
 PhoneGapLib/javascripts/core/accelerometer.js      |  160 -
 PhoneGapLib/javascripts/core/battery.js            |  123 -
 PhoneGapLib/javascripts/core/camera.js             |  117 -
 PhoneGapLib/javascripts/core/capture.js            |  194 -
 PhoneGapLib/javascripts/core/compass.js            |  155 -
 PhoneGapLib/javascripts/core/contact.js            |  409 --
 PhoneGapLib/javascripts/core/debugconsole.js       |  108 -
 PhoneGapLib/javascripts/core/device.js             |   37 -
 PhoneGapLib/javascripts/core/file.js               | 1169 ------
 PhoneGapLib/javascripts/core/filetransfer.js       |  119 -
 PhoneGapLib/javascripts/core/geolocation.js        |  285 --
 PhoneGapLib/javascripts/core/license.js            |   21 -
 PhoneGapLib/javascripts/core/media.js              |  217 -
 PhoneGapLib/javascripts/core/network.js            |   34 -
 PhoneGapLib/javascripts/core/notification.js       |   64 -
 PhoneGapLib/javascripts/core/orientation.js        |  125 -
 PhoneGapLib/javascripts/core/phonegap.js.base      |  548 ---
 PhoneGapLib/javascripts/core/position.js           |  130 -
 PhoneGapLib/javascripts/core/sms.js                |   27 -
 PhoneGapLib/javascripts/core/splashscreen.js       |   22 -
 PhoneGapLib/javascripts/core/telephony.js          |   23 -
 PhoneGapLib/javascripts/plugins/README.md          |    3 -
 README.md                                          |   62 +-
 Uninstall Cordova.applescript                      |   64 +
 Uninstall PhoneGap.applescript                     |   64 -
 329 files changed, 23241 insertions(+), 24435 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 2b23596..d035722 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,14 +3,12 @@
 *.cso
 tmp
 lib
-PhoneGapInstaller.pkg
-
-/PhoneGapLib/javascripts/phonegap-uncompressed.js
+CordovaInstaller.pkg
 *.mode1v3
 *.pbxuser
 build
 _build.bak
-/PhoneGap.framework/
+/Cordova.framework/
 /pkg_error_log
 *.xcworkspace
 xcuserdata

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova Upgrade Guide.md
----------------------------------------------------------------------
diff --git a/Cordova Upgrade Guide.md b/Cordova Upgrade Guide.md
new file mode 100644
index 0000000..0ea5e83
--- /dev/null
+++ b/Cordova Upgrade Guide.md	
@@ -0,0 +1,44 @@
+# Cordova Upgrade Guide #
+
+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.
+
+For your existing 1.4.0 based projects that use the deprecated classes above, you will have to first use the 1.3.0 -> 1.4.0 instructions at the end of this document (since the classes mentioned above have been removed in 1.5.0), then upgrade using the 1.4.x -> 1.5.0 instructions.
+
+## Upgrading Cordova 1.4.x projects to 1.5.0 ##
+
+1. **Install** Cordova 1.5.0
+2. **Create a new project** - you will have to grab assets from this new project
+3. **Copy** these files from the **new** project into your 1.4.x based project folder on disk, **replacing** any old files 
+
+        Cordova.plist
+4. **Copy** the **www/cordova-1.5.0.js** file from the new project into your **www** folder, and delete your **www/phonegap-1.4.x.js** file
+5. **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 **cordova-1.5.0.js** file
+6. **TODO: PhoneGap.plist to Cordova.plist changes, especially core plugins**
+
+## Upgrading Cordova 1.4.0 projects to 1.4.1 ##
+
+1. **Install** Cordova 1.4.1
+2. **Make a backup** of **MainViewController.m**
+3. **Create a new project** - you will have to grab assets from this new project
+4. **Copy** the **MainViewController.m** file from the **new** project into your 1.4.0 based project folder on disk, **replacing** the old file (**backup** your files first from step 2 above).
+5. **Add** the **MainViewController.m** file into your Xcode project
+6. **Integrate** any project specific code that you have in your **backed-up MainViewController.m** into the new file
+7. Updating the phonegap-X.X.X.js file is optional, nothing has changed in the JavaScript between 1.4.0 and 1.4.1
+
+## Upgrading Cordova 1.3.0 projects to 1.4.0 ##
+
+1. **Install** Cordova 1.4.0
+2. **Make a backup** of **AppDelegate.m** and **AppDelegate.h** 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.3.0 based project folder on disk, **replacing** any old files (**backup** your files first from step 2 above):
+
+        AppDelegate.h
+        AppDelegate.m
+        MainViewController.h
+        MainViewController.m
+        MainViewController.xib
+5. **Add** all the **MainViewController** files into your Xcode project
+6. **Copy** the **www/phonegap-1.4.0.js** file from the new project into your **www** folder, and delete your **www/phonegap-1.3.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 **phonegap-1.4.0.js** file
+8. **Add** a new entry under **Plugins** in your **PhoneGap.plist** file - key is **com.phonegap.battery** and the value is **PGBattery**
+9. **Integrate** any project specific code that you have in your **backed-up AppDelegate.h and AppDelegate.m** into the new AppDelegate files
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application.xctemplate/README
----------------------------------------------------------------------
diff --git a/Cordova-based Application.xctemplate/README b/Cordova-based Application.xctemplate/README
new file mode 100644
index 0000000..3510fe1
--- /dev/null
+++ b/Cordova-based Application.xctemplate/README	
@@ -0,0 +1,5 @@
+The contents of this folder are generated by running the Makefile at the parent directory.
+"make xcode4-template"
+
+NOTE:
+Adding a folder reference through the template definition is currently unknown, and current attempts in figuring it out are buggy. For now, you will need to create the "www" folder (and the index.html within it), yourself in your project folder - then drag and drop the "www" folder into your Xcode project.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application.xctemplate/TemplateInfo.plist
----------------------------------------------------------------------
diff --git a/Cordova-based Application.xctemplate/TemplateInfo.plist b/Cordova-based Application.xctemplate/TemplateInfo.plist
new file mode 100644
index 0000000..daf61e8
--- /dev/null
+++ b/Cordova-based Application.xctemplate/TemplateInfo.plist	
@@ -0,0 +1,408 @@
+<?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>Ancestors</key>
+	<array>
+		<string>com.apple.dt.unit.objectiveCApplication</string>
+		<string>com.apple.dt.unit.iPhoneBase</string>
+	</array>
+	<key>Concrete</key>
+	<true/>
+	<key>Definitions</key>
+	<dict>
+		<key>___PACKAGENAME___-Info.plist</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Supporting Files</string>
+			</array>
+			<key>Path</key>
+			<string>./___PACKAGENAME___-Info.plist</string>
+			<key>PathType</key>
+			<string>Group</string>
+			<key>TargetIndices</key>
+			<array/>
+		</dict>
+		<key>___PACKAGENAME___Prefix.pch</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Supporting Files</string>
+			</array>
+			<key>Path</key>
+			<string>./___PACKAGENAME___-Prefix.pch</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Classes/AppDelegate.h</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Classes</string>
+			</array>
+			<key>Path</key>
+			<string>./Classes/AppDelegate.h</string>
+			<key>PathType</key>
+			<string>Group</string>
+			<key>TargetIndices</key>
+			<array/>
+		</dict>
+		<key>Classes/AppDelegate.m</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Classes</string>
+			</array>
+			<key>Path</key>
+			<string>./Classes/AppDelegate.m</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Classes/MainViewController.h</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Classes</string>
+			</array>
+			<key>Path</key>
+			<string>./Classes/MainViewController.h</string>
+			<key>PathType</key>
+			<string>Group</string>
+			<key>TargetIndices</key>
+			<array/>
+		</dict>
+		<key>Classes/MainViewController.m</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Classes</string>
+			</array>
+			<key>Path</key>
+			<string>./Classes/MainViewController.m</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Classes/MainViewController.xib</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Supporting Files</string>
+			</array>
+			<key>Path</key>
+			<string>./Classes/MainViewController.xib</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>main.m</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Supporting Files</string>
+			</array>
+			<key>Path</key>
+			<string>./main.m</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Cordova</key>
+		<dict>
+			<key>Path</key>
+			<string>/Users/Shared/Cordova/Frameworks/Cordova.framework</string>
+			<key>PathType</key>
+			<string>Absolute</string>
+		</dict>
+		<key>Cordova.plist</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Supporting Files</string>
+			</array>
+			<key>Path</key>
+			<string>./Cordova.plist</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Plugins/README</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Plugins</string>
+			</array>
+			<key>Path</key>
+			<string>./Plugins/README</string>
+			<key>PathType</key>
+			<string>Group</string>
+			<key>TargetIndices</key>
+			<array/>
+		</dict>
+		<key>Resources/Capture.bundle</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/capture.bundle</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/en.lproj/Localizable.strings</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>en.lproj</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/en.lproj/Localizable.strings</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/es.lproj/Localizable.strings</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>es.lproj</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/es.lproj/Localizable.strings</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/de.lproj/Localizable.strings</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>de.lproj</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/de.lproj/Localizable.strings</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/se.lproj/Localizable.strings</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>se.lproj</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/se.lproj/Localizable.strings</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/icons/icon-72.png</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>icons</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/icons/icon-72.png</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/icons/icon.png</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>icons</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/icons/icon.png</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/icons/icon@2x.png</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>icons</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/icons/icon@2x.png</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/splash/Default.png</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>splash</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/splash/Default.png</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+		<key>Resources/splash/Default@2x.png</key>
+		<dict>
+			<key>Group</key>
+			<array>
+				<string>Resources</string>
+				<string>splash</string>
+			</array>
+			<key>Path</key>
+			<string>./Resources/splash/Default@2x.png</string>
+			<key>PathType</key>
+			<string>Group</string>
+		</dict>
+	</dict>
+	<key>Description</key>
+	<string>This template provides a starting point for a Cordova based application. On first run, it will create the www folder. You must drag and drop in the www folder into your project (as a folder reference). Then just modify the www folder contents with your HTML, CSS and Javascript.</string>
+	<key>Identifier</key>
+	<string>org.apache.cordova.ios.template</string>
+	<key>Kind</key>
+	<string>Xcode.Xcode3.ProjectTemplateUnitKind</string>
+	<key>Nodes</key>
+	<array>
+		<string>main.m</string>
+		<string>Cordova</string>
+		<string>___PACKAGENAME___-Prefix.pch</string>
+		<string>___PACKAGENAME___-Info.plist</string>
+		<string>Resources/en.lproj/Localizable.strings</string>
+		<string>Resources/es.lproj/Localizable.strings</string>
+		<string>Resources/de.lproj/Localizable.strings</string>
+		<string>Resources/se.lproj/Localizable.strings</string>
+		<string>Resources/icons/icon.png</string>
+		<string>Resources/icons/icon@2x.png</string>
+		<string>Resources/icons/icon-72.png</string>
+		<string>Resources/splash/Default.png</string>
+		<string>Resources/splash/Default@2x.png</string>
+		<string>Resources/Capture.bundle</string>
+		<string>Cordova.plist</string>
+		<string>Classes/AppDelegate.h</string>
+		<string>Classes/AppDelegate.m</string>
+		<string>Classes/MainViewController.h</string>
+		<string>Classes/MainViewController.m</string>
+		<string>Classes/MainViewController.xib</string>
+		<string>Plugins/README</string>
+	</array>
+	<key>Options</key>
+	<array/>
+	<key>Platforms</key>
+	<array>
+		<string>com.apple.platform.iphoneos</string>
+	</array>
+	<key>Project</key>
+	<dict>
+		<key>Configurations</key>
+		<dict>
+			<key>Debug</key>
+			<dict/>
+			<key>Release</key>
+			<dict/>
+		</dict>
+		<key>SDK</key>
+		<string>iphoneos</string>
+		<key>SharedSettings</key>
+		<dict>
+			<key>ARCHS</key>
+			<string>$(ARCHS_STANDARD_32_BIT)</string>
+			<key>CODE_SIGN_IDENTITY[sdk=iphoneos*]</key>
+			<string>iPhone Developer</string>
+			<key>GCC_VERSION</key>
+			<string>com.apple.compilers.llvmgcc42</string>
+			<key>IPHONEOS_DEPLOYMENT_TARGET</key>
+			<string>3.0</string>
+		</dict>
+	</dict>
+	<key>Targets</key>
+	<array>
+		<dict>
+			<key>BuildPhases</key>
+			<array>
+				<dict>
+					<key>Class</key>
+					<string>Sources</string>
+				</dict>
+				<dict>
+					<key>Class</key>
+					<string>Frameworks</string>
+				</dict>
+				<dict>
+					<key>Class</key>
+					<string>ShellScript</string>
+					<key>ShellPath</key>
+					<string>/bin/bash</string>
+					<key>ShellScript</key>
+					<string>
+								if [ ! -d &quot;$PROJECT_DIR/www&quot; ] ; then
+									cp -R /Users/Shared/Cordova/Frameworks/Cordova.framework/www &quot;$PROJECT_DIR&quot;
+								fi
+								# detect www folder reference in project, if missing, print warning
+								grep &quot;{isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = \&quot;&lt;group&gt;\&quot;; };&quot; &quot;$PROJECT_DIR/$PROJECT_NAME.xcodeproj/project.pbxproj&quot;
+								rc=$? 
+								if [ $rc != 0 ] ; then
+								echo -e &quot;warning: Missing - Add $PROJECT_DIR/www as a folder reference in your project. Just drag and drop the folder into your project, into the Project Navigator of Xcode 4. Make sure you select the second radio-button: &apos;Create folder references for any added folders&apos; (which will create a blue folder)&quot; 1&gt;&amp;2
+								fi							</string>
+				</dict>
+			</array>
+			<key>Configurations</key>
+			<dict>
+				<key>Debug</key>
+				<dict>
+					<key>COPY_PHASE_STRIP</key>
+					<string>NO</string>
+					<key>GCC_DYNAMIC_NO_PIC</key>
+					<string>NO</string>
+				</dict>
+				<key>Release</key>
+				<dict>
+					<key>COPY_PHASE_STRIP</key>
+					<string>YES</string>
+					<key>DEBUG_INFORMATION_FORMAT</key>
+					<string>dwarf-with-dsym</string>
+					<key>VALIDATE_PRODUCT</key>
+					<string>YES</string>
+				</dict>
+			</dict>
+			<key>Frameworks</key>
+			<array>
+				<string>Foundation</string>
+				<string>UIKit</string>
+				<string>CoreGraphics</string>
+				<string>AddressBook</string>
+				<string>AddressBookUI</string>
+				<string>AudioToolbox</string>
+				<string>AVFoundation</string>
+				<string>CoreLocation</string>
+				<string>MediaPlayer</string>
+				<string>QuartzCore</string>
+				<string>SystemConfiguration</string>
+				<string>MobileCoreServices</string>
+				<string>CoreMedia</string>
+			</array>
+			<key>Name</key>
+			<string>___PACKAGENAME___</string>
+			<key>OtherFrameworks</key>
+			<array/>
+			<key>ProductType</key>
+			<string>com.apple.product-type.application</string>
+			<key>SharedSettings</key>
+			<dict>
+				<key>ALWAYS_SEARCH_USER_PATHS</key>
+				<string>YES</string>
+				<key>FRAMEWORK_SEARCH_PATHS</key>
+				<string>/Users/Shared/Cordova/Frameworks</string>
+				<key>GCC_PREPROCESSOR_DEFINITIONS</key>
+				<string>CORDOVA_FRAMEWORK=YES</string>
+				<key>PRODUCT_NAME</key>
+				<string>$(TARGET_NAME)</string>
+				<key>OTHER_LDFLAGS</key>
+				<string>-weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak_library /usr/lib/libSystem.B.dylib</string>
+				<key>TARGETED_DEVICE_FAMILY</key>
+				<string>1,2</string>
+			</dict>
+		</dict>
+	</array>
+</dict>
+</plist>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/.gitignore
----------------------------------------------------------------------
diff --git a/Cordova-based Application/.gitignore b/Cordova-based Application/.gitignore
new file mode 100644
index 0000000..d30c0b0
--- /dev/null
+++ b/Cordova-based Application/.gitignore	
@@ -0,0 +1,6 @@
+*.mode1v3
+*.perspectivev3
+*.pbxuser
+.DS_Store
+build
+www/phonegap.js

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Classes/AppDelegate.h
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Classes/AppDelegate.h b/Cordova-based Application/Classes/AppDelegate.h
new file mode 100644
index 0000000..5530ba6
--- /dev/null
+++ b/Cordova-based Application/Classes/AppDelegate.h	
@@ -0,0 +1,52 @@
+/*
+ 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.
+ */
+
+//
+//  AppDelegate.h
+//  ___PROJECTNAME___
+//
+//  Created by ___FULLUSERNAME___ on ___DATE___.
+//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#ifdef CORDOVA_FRAMEWORK
+    #import <Cordova/CDVViewController.h>
+#else
+    #import "CDVViewController.h"
+#endif
+
+
+@interface AppDelegate : NSObject < UIApplicationDelegate, UIWebViewDelegate, CDVCommandDelegate > {
+
+	NSString* invokeString;
+}
+
+// invoke string is passed to your app on launch, this is only valid if you 
+// edit FooBar.plist to add a protocol
+// a simple tutorial can be found here : 
+// http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
+
+@property (nonatomic, copy)  NSString* invokeString;
+@property (nonatomic, retain) IBOutlet UIWindow* window;
+@property (nonatomic, retain) IBOutlet CDVViewController* viewController;
+
+@end
+

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Classes/AppDelegate.m
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Classes/AppDelegate.m b/Cordova-based Application/Classes/AppDelegate.m
new file mode 100644
index 0000000..87062da
--- /dev/null
+++ b/Cordova-based Application/Classes/AppDelegate.m	
@@ -0,0 +1,191 @@
+/*
+ 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.
+ */
+
+//
+//  AppDelegate.m
+//  ___PROJECTNAME___
+//
+//  Created by ___FULLUSERNAME___ on ___DATE___.
+//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "MainViewController.h"
+
+#ifdef CORDOVA_FRAMEWORK
+    #import <Cordova/CDVPlugin.h>
+    #import <Cordova/CDVURLProtocol.h>
+#else
+    #import "CDVPlugin.h"
+    #import "CDVURLProtocol.h"
+#endif
+
+
+@implementation AppDelegate
+
+@synthesize invokeString, window, viewController;
+
+- (id) init
+{	
+	/** If you need to do any extra app-specific initialization, you can do it here
+	 *  -jm
+	 **/
+    NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; 
+    [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
+    
+    [CDVURLProtocol registerPGHttpURLProtocol];
+    
+    return [super init];
+}
+
+#pragma UIApplicationDelegate implementation
+
+/**
+ * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
+ */
+- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
+{    
+    NSURL* url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
+    if (url && [url isKindOfClass:[NSURL class]]) {
+        self.invokeString = [url absoluteString];
+		NSLog(@"___PROJECTNAME___ launchOptions = %@", url);
+    }    
+    
+    CGRect screenBounds = [[UIScreen mainScreen] bounds];
+    self.window = [[[UIWindow alloc] initWithFrame:screenBounds] autorelease];
+    self.window.autoresizesSubviews = YES;
+    
+    CGRect viewBounds = [[UIScreen mainScreen] applicationFrame];
+    
+    self.viewController = [[[MainViewController alloc] init] autorelease];
+    self.viewController.useSplashScreen = YES;
+    self.viewController.wwwFolderName = @"www";
+    self.viewController.startPage = @"index.html";
+    self.viewController.view.frame = viewBounds;
+    
+    // over-ride delegates
+    self.viewController.webView.delegate = self;
+    self.viewController.commandDelegate = self;
+
+    // check whether the current orientation is supported: if it is, keep it, rather than forcing a rotation
+    BOOL forceStartupRotation = YES;
+    UIDeviceOrientation curDevOrientation = [[UIDevice currentDevice] orientation];
+    
+    if (UIDeviceOrientationUnknown == curDevOrientation) {
+        // UIDevice isn't firing orientation notifications yet… go look at the status bar
+        curDevOrientation = (UIDeviceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
+    }
+    
+    if (UIDeviceOrientationIsValidInterfaceOrientation(curDevOrientation)) {
+        for (NSNumber *orient in self.viewController.supportedOrientations) {
+            if ([orient intValue] == curDevOrientation) {
+                forceStartupRotation = NO;
+                break;
+            }
+        }
+    } 
+    
+    if (forceStartupRotation) {
+        NSLog(@"supportedOrientations: %@", self.viewController.supportedOrientations);
+        // The first item in the supportedOrientations array is the start orientation (guaranteed to be at least Portrait)
+        UIInterfaceOrientation newOrient = [[self.viewController.supportedOrientations objectAtIndex:0] intValue];
+        NSLog(@"AppDelegate forcing status bar to: %d from: %d", newOrient, curDevOrientation);
+        [[UIApplication sharedApplication] setStatusBarOrientation:newOrient];
+    }
+    
+    [self.window addSubview:self.viewController.view];
+    [self.window makeKeyAndVisible];
+    
+    return YES;
+}
+
+// this happens while we are running ( in the background, or from within our own app )
+// only valid if FooBar.plist specifies a protocol to handle
+- (BOOL) application:(UIApplication*)application handleOpenURL:(NSURL*)url 
+{
+    if (!url) { 
+        return NO; 
+    }
+    
+	// calls into javascript global function 'handleOpenURL'
+    NSString* jsString = [NSString stringWithFormat:@"handleOpenURL(\"%@\");", url];
+    [self.viewController.webView stringByEvaluatingJavaScriptFromString:jsString];
+    
+    // all plugins will get the notification, and their handlers will be called 
+    [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPluginHandleOpenURLNotification object:url]];
+    
+    return YES;    
+}
+
+#pragma PGCommandDelegate implementation
+
+- (id) getCommandInstance:(NSString*)className
+{
+	return [self.viewController getCommandInstance:className];
+}
+
+- (BOOL) execute:(CDVInvokedUrlCommand*)command
+{
+	return [self.viewController execute:command];
+}
+
+- (NSString*) pathForResource:(NSString*)resourcepath;
+{
+	return [self.viewController pathForResource:resourcepath];
+}
+
+#pragma UIWebDelegate implementation
+
+- (void) webViewDidFinishLoad:(UIWebView*) theWebView 
+{
+	// only valid if FooBar.plist specifies a protocol to handle
+	if (self.invokeString)
+	{
+		// this is passed before the deviceready event is fired, so you can access it in js when you receive deviceready
+		NSString* jsString = [NSString stringWithFormat:@"var invokeString = \"%@\";", self.invokeString];
+		[theWebView stringByEvaluatingJavaScriptFromString:jsString];
+	}
+	
+	 // Black base color for background matches the native apps
+   	theWebView.backgroundColor = [UIColor blackColor];
+    
+	return [self.viewController webViewDidFinishLoad:theWebView];
+}
+
+- (void) webViewDidStartLoad:(UIWebView*)theWebView 
+{
+	return [self.viewController webViewDidStartLoad:theWebView];
+}
+
+- (void) webView:(UIWebView*)theWebView didFailLoadWithError:(NSError*)error 
+{
+	return [self.viewController webView:theWebView didFailLoadWithError:error];
+}
+
+- (BOOL) webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
+{
+	return [self.viewController webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType];
+}
+
+- (void) dealloc
+{
+	[super dealloc];
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Classes/MainViewController.h
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Classes/MainViewController.h b/Cordova-based Application/Classes/MainViewController.h
new file mode 100644
index 0000000..0c7c3ea
--- /dev/null
+++ b/Cordova-based Application/Classes/MainViewController.h	
@@ -0,0 +1,36 @@
+/*
+ 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.
+ */
+
+//
+//  MainViewController.h
+//  ___PROJECTNAME___
+//
+//  Created by ___FULLUSERNAME___ on ___DATE___.
+//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#ifdef CORDOVA_FRAMEWORK
+    #import <Cordova/CDVViewController.h>
+#else
+    #import "CDVViewController.h"
+#endif
+
+@interface MainViewController : CDVViewController
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Classes/MainViewController.m
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Classes/MainViewController.m b/Cordova-based Application/Classes/MainViewController.m
new file mode 100644
index 0000000..2750ae9
--- /dev/null
+++ b/Cordova-based Application/Classes/MainViewController.m	
@@ -0,0 +1,70 @@
+/*
+ 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.
+ */
+
+//
+//  MainViewController.h
+//  ___PROJECTNAME___
+//
+//  Created by ___FULLUSERNAME___ on ___DATE___.
+//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.
+//
+
+#import "MainViewController.h"
+
+@implementation MainViewController
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+    if (self) {
+        // Custom initialization
+    }
+    return self;
+}
+
+- (void)didReceiveMemoryWarning
+{
+    // Releases the view if it doesn't have a superview.
+    [super didReceiveMemoryWarning];
+    
+    // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void)viewDidLoad
+{
+    [super viewDidLoad];
+    // Do any additional setup after loading the view from its nib.
+}
+
+- (void)viewDidUnload
+{
+    [super viewDidUnload];
+    // Release any retained subviews of the main view.
+    // e.g. self.myOutlet = nil;
+}
+
+- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+    // Return YES for supported orientations
+    return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
+}
+
+@end

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Classes/MainViewController.xib
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Classes/MainViewController.xib b/Cordova-based Application/Classes/MainViewController.xib
new file mode 100644
index 0000000..9837f57
--- /dev/null
+++ b/Cordova-based Application/Classes/MainViewController.xib	
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+	<data>
+		<int key="IBDocument.SystemTarget">1280</int>
+		<string key="IBDocument.SystemVersion">11C25</string>
+		<string key="IBDocument.InterfaceBuilderVersion">1919</string>
+		<string key="IBDocument.AppKitVersion">1138.11</string>
+		<string key="IBDocument.HIToolboxVersion">566.00</string>
+		<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+			<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+			<string key="NS.object.0">916</string>
+		</object>
+		<array key="IBDocument.IntegratedClassDependencies">
+			<string>IBProxyObject</string>
+			<string>IBUIView</string>
+		</array>
+		<array key="IBDocument.PluginDependencies">
+			<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+		</array>
+		<object class="NSMutableDictionary" key="IBDocument.Metadata">
+			<string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+			<integer value="1" key="NS.object.0"/>
+		</object>
+		<array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+			<object class="IBProxyObject" id="372490531">
+				<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBProxyObject" id="975951072">
+				<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+			<object class="IBUIView" id="191373211">
+				<reference key="NSNextResponder"/>
+				<int key="NSvFlags">274</int>
+				<string key="NSFrame">{{0, 20}, {320, 460}}</string>
+				<reference key="NSSuperview"/>
+				<reference key="NSWindow"/>
+				<object class="NSColor" key="IBUIBackgroundColor">
+					<int key="NSColorSpace">3</int>
+					<bytes key="NSWhite">MQA</bytes>
+					<object class="NSColorSpace" key="NSCustomColorSpace">
+						<int key="NSID">2</int>
+					</object>
+				</object>
+				<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+				<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+			</object>
+		</array>
+		<object class="IBObjectContainer" key="IBDocument.Objects">
+			<array class="NSMutableArray" key="connectionRecords">
+				<object class="IBConnectionRecord">
+					<object class="IBCocoaTouchOutletConnection" key="connection">
+						<string key="label">view</string>
+						<reference key="source" ref="372490531"/>
+						<reference key="destination" ref="191373211"/>
+					</object>
+					<int key="connectionID">3</int>
+				</object>
+			</array>
+			<object class="IBMutableOrderedSet" key="objectRecords">
+				<array key="orderedObjects">
+					<object class="IBObjectRecord">
+						<int key="objectID">0</int>
+						<array key="object" id="0"/>
+						<reference key="children" ref="1000"/>
+						<nil key="parent"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">1</int>
+						<reference key="object" ref="191373211"/>
+						<reference key="parent" ref="0"/>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-1</int>
+						<reference key="object" ref="372490531"/>
+						<reference key="parent" ref="0"/>
+						<string key="objectName">File's Owner</string>
+					</object>
+					<object class="IBObjectRecord">
+						<int key="objectID">-2</int>
+						<reference key="object" ref="975951072"/>
+						<reference key="parent" ref="0"/>
+					</object>
+				</array>
+			</object>
+			<dictionary class="NSMutableDictionary" key="flattenedProperties">
+				<string key="-1.CustomClassName">MainViewController</string>
+				<string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+				<string key="-2.CustomClassName">UIResponder</string>
+				<string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+				<string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+			</dictionary>
+			<dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+			<nil key="activeLocalization"/>
+			<dictionary class="NSMutableDictionary" key="localizations"/>
+			<nil key="sourceID"/>
+			<int key="maxID">3</int>
+		</object>
+		<object class="IBClassDescriber" key="IBDocument.Classes">
+			<array class="NSMutableArray" key="referencedPartialClassDescriptions">
+				<object class="IBPartialClassDescription">
+					<string key="className">MainViewController</string>
+					<string key="superclassName">UIViewController</string>
+					<object class="IBClassDescriptionSource" key="sourceIdentifier">
+						<string key="majorKey">IBProjectSource</string>
+						<string key="minorKey">./Classes/MainViewController.h</string>
+					</object>
+				</object>
+			</array>
+		</object>
+		<int key="IBDocument.localizationMode">0</int>
+		<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+		<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+		<int key="IBDocument.defaultPropertyAccessControl">3</int>
+		<string key="IBCocoaTouchPluginVersion">916</string>
+	</data>
+</archive>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Cordova.plist
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Cordova.plist b/Cordova-based Application/Cordova.plist
new file mode 100644
index 0000000..979e17b
--- /dev/null
+++ b/Cordova-based Application/Cordova.plist	
@@ -0,0 +1,55 @@
+<?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>UIWebViewBounce</key>
+	<true/>
+	<key>TopActivityIndicator</key>
+	<string>gray</string>
+	<key>EnableLocation</key>
+	<false/>
+	<key>EnableViewportScale</key>
+	<false/>
+	<key>AutoHideSplashScreen</key>
+	<true/>
+	<key>ShowSplashScreenSpinner</key>
+	<true/>
+	<key>MediaPlaybackRequiresUserAction</key>
+	<false/>
+	<key>AllowInlineMediaPlayback</key>
+	<false/>
+	<key>OpenAllWhitelistURLsInWebView</key>
+	<false/>
+	<key>ExternalHosts</key>
+	<array/>
+	<key>Plugins</key>
+	<dict>
+		<key>org.apache.cordova.accelerometer</key>
+		<string>CDVAccelerometer</string>
+		<key>org.apache.cordova.camera</key>
+		<string>CDVCamera</string>
+		<key>org.apache.cordova.connection</key>
+		<string>CDVConnection</string>
+		<key>org.apache.cordova.contacts</key>
+		<string>CDVContacts</string>
+		<key>org.apache.cordova.debugconsole</key>
+		<string>CDVDebugConsole</string>
+		<key>org.apache.cordova.file</key>
+		<string>CDVFile</string>
+		<key>org.apache.cordova.filetransfer</key>
+		<string>CDVFileTransfer</string>
+		<key>org.apache.cordova.geolocation</key>
+		<string>CDVLocation</string>
+		<key>org.apache.cordova.notification</key>
+		<string>CDVNotification</string>
+		<key>org.apache.cordova.media</key>
+		<string>CDVSound</string>
+		<key>org.apache.cordova.mediacapture</key>
+		<string>CDVCapture</string>
+		<key>org.apache.cordova.splashscreen</key>
+		<string>CDVSplashScreen</string>
+		<key>org.apache.cordova.battery</key>
+		<string>CDVBattery</string>
+	</dict>
+</dict>
+</plist>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/CordovaBuildSettings.xcconfig
----------------------------------------------------------------------
diff --git a/Cordova-based Application/CordovaBuildSettings.xcconfig b/Cordova-based Application/CordovaBuildSettings.xcconfig
new file mode 100644
index 0000000..897159d
--- /dev/null
+++ b/Cordova-based Application/CordovaBuildSettings.xcconfig	
@@ -0,0 +1,26 @@
+//
+// 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.xcconfig
+//  ___PROJECTNAME___
+//
+
+// Override this to use your project specific CORDOVALIB. 
+// You can base it off the current project path, $(PROJECT_DIR)
+CORDOVALIB = $(CORDOVALIB)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Plugins/README
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Plugins/README b/Cordova-based Application/Plugins/README
new file mode 100644
index 0000000..438840d
--- /dev/null
+++ b/Cordova-based Application/Plugins/README	
@@ -0,0 +1 @@
+Put the .h and .m files of your plugin here. The .js files of your plugin belong in the www folder.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/controls_bg.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/controls_bg.png b/Cordova-based Application/Resources/Capture.bundle/controls_bg.png
new file mode 100644
index 0000000..784e9c7
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/controls_bg.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/controls_bg@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/controls_bg@2x.png b/Cordova-based Application/Resources/Capture.bundle/controls_bg@2x.png
new file mode 100644
index 0000000..1e28c6d
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/controls_bg@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/controls_bg~ipad.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/controls_bg~ipad.png b/Cordova-based Application/Resources/Capture.bundle/controls_bg~ipad.png
new file mode 100644
index 0000000..efbef8a
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/controls_bg~ipad.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/microphone.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/microphone.png b/Cordova-based Application/Resources/Capture.bundle/microphone.png
new file mode 100644
index 0000000..155b88c
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/microphone.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/microphone@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/microphone@2x.png b/Cordova-based Application/Resources/Capture.bundle/microphone@2x.png
new file mode 100644
index 0000000..79ef16b
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/microphone@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/microphone~ipad.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/microphone~ipad.png b/Cordova-based Application/Resources/Capture.bundle/microphone~ipad.png
new file mode 100644
index 0000000..ef1c472
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/microphone~ipad.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/record_button.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/record_button.png b/Cordova-based Application/Resources/Capture.bundle/record_button.png
new file mode 100644
index 0000000..ceb9589
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/record_button.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/record_button@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/record_button@2x.png b/Cordova-based Application/Resources/Capture.bundle/record_button@2x.png
new file mode 100644
index 0000000..d6ce302
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/record_button@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/record_button~ipad.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/record_button~ipad.png b/Cordova-based Application/Resources/Capture.bundle/record_button~ipad.png
new file mode 100644
index 0000000..d8e24a4
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/record_button~ipad.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/recording_bg.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/recording_bg.png b/Cordova-based Application/Resources/Capture.bundle/recording_bg.png
new file mode 100644
index 0000000..bafc087
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/recording_bg.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/recording_bg@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/recording_bg@2x.png b/Cordova-based Application/Resources/Capture.bundle/recording_bg@2x.png
new file mode 100644
index 0000000..798490b
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/recording_bg@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/recording_bg~ipad.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/recording_bg~ipad.png b/Cordova-based Application/Resources/Capture.bundle/recording_bg~ipad.png
new file mode 100644
index 0000000..3b467f6
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/recording_bg~ipad.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/stop_button.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/stop_button.png b/Cordova-based Application/Resources/Capture.bundle/stop_button.png
new file mode 100644
index 0000000..9c31838
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/stop_button.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/stop_button@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/stop_button@2x.png b/Cordova-based Application/Resources/Capture.bundle/stop_button@2x.png
new file mode 100644
index 0000000..8cf657e
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/stop_button@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/Capture.bundle/stop_button~ipad.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/Capture.bundle/stop_button~ipad.png b/Cordova-based Application/Resources/Capture.bundle/stop_button~ipad.png
new file mode 100644
index 0000000..59bb7a5
Binary files /dev/null and b/Cordova-based Application/Resources/Capture.bundle/stop_button~ipad.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/de.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/de.lproj/Localizable.strings b/Cordova-based Application/Resources/de.lproj/Localizable.strings
new file mode 100644
index 0000000..f1cdb42
--- /dev/null
+++ b/Cordova-based Application/Resources/de.lproj/Localizable.strings	
@@ -0,0 +1,26 @@
+/*
+ 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.
+ */
+
+
+// accessibility label for recording button
+"toggle audio recording" = "starten/beenden der Tonaufnahme";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "programmierte Aufnahme beendet";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "aufgenommene Zeit in Minuten und Sekunden";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/en.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/en.lproj/Localizable.strings b/Cordova-based Application/Resources/en.lproj/Localizable.strings
new file mode 100644
index 0000000..8972684
--- /dev/null
+++ b/Cordova-based Application/Resources/en.lproj/Localizable.strings	
@@ -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.
+ */
+
+// accessibility label for recording button
+"toggle audio recording" = "toggle audio recording";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "timed recording complete";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "recorded time in minutes and seconds";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/es.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/es.lproj/Localizable.strings b/Cordova-based Application/Resources/es.lproj/Localizable.strings
new file mode 100644
index 0000000..23831e6
--- /dev/null
+++ b/Cordova-based Application/Resources/es.lproj/Localizable.strings	
@@ -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.
+ */
+
+// accessibility label for recording button
+"toggle audio recording" = "grabación de audio cambiar";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "tiempo de grabación completo";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "tiempo registrado en minutos y segundos";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/icons/icon-72.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/icons/icon-72.png b/Cordova-based Application/Resources/icons/icon-72.png
new file mode 100644
index 0000000..8c6e5df
Binary files /dev/null and b/Cordova-based Application/Resources/icons/icon-72.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/icons/icon.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/icons/icon.png b/Cordova-based Application/Resources/icons/icon.png
new file mode 100644
index 0000000..b2571a7
Binary files /dev/null and b/Cordova-based Application/Resources/icons/icon.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/icons/icon@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/icons/icon@2x.png b/Cordova-based Application/Resources/icons/icon@2x.png
new file mode 100644
index 0000000..d75098f
Binary files /dev/null and b/Cordova-based Application/Resources/icons/icon@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/se.lproj/Localizable.strings
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/se.lproj/Localizable.strings b/Cordova-based Application/Resources/se.lproj/Localizable.strings
new file mode 100644
index 0000000..0af9646
--- /dev/null
+++ b/Cordova-based Application/Resources/se.lproj/Localizable.strings	
@@ -0,0 +1,26 @@
+/*
+ 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.
+ */
+
+
+// accessibility label for recording button
+"toggle audio recording" = "börja/avsluta inspelning";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "inspelning har avslutad";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "inspelad tid in minuter och sekund";
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/splash/Default-Landscape.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/splash/Default-Landscape.png b/Cordova-based Application/Resources/splash/Default-Landscape.png
new file mode 100644
index 0000000..b547dd1
Binary files /dev/null and b/Cordova-based Application/Resources/splash/Default-Landscape.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/splash/Default-Portrait.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/splash/Default-Portrait.png b/Cordova-based Application/Resources/splash/Default-Portrait.png
new file mode 100644
index 0000000..d5aa710
Binary files /dev/null and b/Cordova-based Application/Resources/splash/Default-Portrait.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/splash/Default.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/splash/Default.png b/Cordova-based Application/Resources/splash/Default.png
new file mode 100644
index 0000000..644f380
Binary files /dev/null and b/Cordova-based Application/Resources/splash/Default.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/Resources/splash/Default@2x.png
----------------------------------------------------------------------
diff --git a/Cordova-based Application/Resources/splash/Default@2x.png b/Cordova-based Application/Resources/splash/Default@2x.png
new file mode 100644
index 0000000..02d6e35
Binary files /dev/null and b/Cordova-based Application/Resources/splash/Default@2x.png differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Info.plist
----------------------------------------------------------------------
diff --git a/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Info.plist b/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Info.plist
new file mode 100644
index 0000000..9f72574
--- /dev/null
+++ b/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Info.plist	
@@ -0,0 +1,49 @@
+<?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>CFBundleIconFiles</key>
+	<array>
+		<string>icon.png</string>
+		<string>icon@2x.png</string>
+		<string>icon-72.png</string>
+	</array>
+	<key>UISupportedInterfaceOrientations~ipad</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+		<string>UIInterfaceOrientationLandscapeLeft</string>
+		<string>UIInterfaceOrientationPortraitUpsideDown</string>
+		<string>UIInterfaceOrientationLandscapeRight</string>
+	</array>
+	<key>UISupportedInterfaceOrientations</key>
+	<array>
+		<string>UIInterfaceOrientationPortrait</string>
+	</array>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>English</string>
+	<key>CFBundleDisplayName</key>
+	<string>${PRODUCT_NAME}</string>
+	<key>CFBundleExecutable</key>
+	<string>${EXECUTABLE_NAME}</string>
+	<key>CFBundleIconFile</key>
+	<string>icon.png</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.yourcompany.___PROJECTNAMEASIDENTIFIER___</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>${PRODUCT_NAME}</string>
+	<key>CFBundlePackageType</key>
+	<string>APPL</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleVersion</key>
+	<string>1.0</string>
+	<key>LSRequiresIPhoneOS</key>
+	<true/>
+	<key>NSMainNibFile</key>
+	<string></string>
+	<key>NSMainNibFile~ipad</key>
+	<string></string>
+</dict>
+</plist>

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Prefix.pch
----------------------------------------------------------------------
diff --git a/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Prefix.pch b/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Prefix.pch
new file mode 100644
index 0000000..cec4dff
--- /dev/null
+++ b/Cordova-based Application/___PROJECTNAMEASIDENTIFIER___-Prefix.pch	
@@ -0,0 +1,26 @@
+/*
+ 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.
+ */
+//
+// Prefix header for all source files of the '___PROJECTNAME___' target in the '___PROJECTNAME___' project
+//
+
+#ifdef __OBJC__
+    #import <Foundation/Foundation.h>
+    #import <UIKit/UIKit.h>
+#endif

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
----------------------------------------------------------------------
diff --git a/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns b/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
new file mode 100644
index 0000000..47f85e5
Binary files /dev/null and b/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns differ

http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/bcff9559/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
----------------------------------------------------------------------
diff --git a/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist b/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
new file mode 100644
index 0000000..e3a48ad
--- /dev/null
+++ b/Cordova-based Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist	
@@ -0,0 +1,8 @@
+<?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>Description</key>
+	<string>This template provides a starting point for a Cordova based application. Just modify the www folder contents with your HTML, CSS and Javascript.</string>
+</dict>
+</plist>


Mime
View raw message