Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D3D5DB31 for ; Tue, 30 Oct 2012 18:19:32 +0000 (UTC) Received: (qmail 77925 invoked by uid 500); 30 Oct 2012 18:19:31 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 77893 invoked by uid 500); 30 Oct 2012 18:19:31 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 77885 invoked by uid 99); 30 Oct 2012 18:19:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 18:19:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.macdonald@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-da0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 18:19:26 +0000 Received: by mail-da0-f47.google.com with SMTP id s35so208532dak.6 for ; Tue, 30 Oct 2012 11:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=k3rBQVyg3gJIiMVDebT4TYJ95OK8JNIksbD7nEJhPUY=; b=LXWSTnm6Vp8LoVnE3pSYeS/zNqVYVAVRNeWKRJWQFE4+ckT2h83QPhuF/HnI+8aDXE t+UZ+0fGm225NX55ucISMr3Iq6rmNADuoHOvhBFo/aQe/kzqIEFvjZZ86WjCecqSA+95 FnVhoaE3tIuGRlwOe3XW98fmTylPVdmlfSHqsA1UUzwqt/soFXeerL3/p8F9v4kUkHjn 1vDYxtYHYWhcI2ZejJDBHspl/S7Zro9CiWbUAnfe4Cdmi5ffeR7bFzg0lhC5fwofxR/F lX51WhA7OjpiQy4Xpkq2dGtiWdrN/MVSsoDJXF0CJPJ7WZ1t36iVOShpO0JhMuLRwH5d dnyw== Received: by 10.68.236.131 with SMTP id uu3mr13935816pbc.104.1351621144814; Tue, 30 Oct 2012 11:19:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.41.138 with HTTP; Tue, 30 Oct 2012 11:18:44 -0700 (PDT) In-Reply-To: References: From: Simon MacDonald Date: Tue, 30 Oct 2012 14:18:44 -0400 Message-ID: Subject: Re: iOS changes in 2.2.0 To: dev@cordova.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Here is the post. Am I missing anything Android devs? Yes, I stole the first 3 directly from Shaz. 1. FileTransfer API changes Added support for the onprogress event to get progress events for a FileTransfer operation Added the abort function to cancel a FileTransfer operation See the API doc. 2. Graduated the Globalization plugin to core This plugin was previously in the phonegap-plugins repo (BB WebWorks 5, iOS, Android). The globalization object obtains information and performs operations specific to the user=92s locale and timezone. See the API doc. 3. Splashscreen API The Splashscreen API is now formally documented for iOS and Android. 4. Android JavaScript to Java bridge improvements The callback server is gone. Uses events to specify when a result it ready. Defaults to polling if all else fails. Up to 25 times faster. 5. Partial support for video tag We've been able to shim in support for the video tag. See my earlier blog post for more details. 6. Hardware acceleration is enabled by default When you run bin/create to make a new PhoneGap Android project then android:hardwareAccelerated is set to true by default on the main activity. See Android docs for an explanation of hardware acceleration. 7. useBrowserHistory now defaults to true We've deprecated the current way that history is handled in Android apps in favour of the default way it is handled in the web view. To go back a page you should be using history.back(). If you need to enable the old way to handle history you can set useBrowserHistory to false in config.xml. 8. Introduce CordovaPlugin class CordovaPlugin will be replacing the Plugin class for extending PhoneGap functionality. It adds a new execute method public boolean execute(String action, String rawArgs, CallbackContext callbackContext) to enable developers passing large amounts of data to the native side provide their own JSON parser. 9. Various bug fixes Back and Menu button events now fire if the cursor is inside a text view. Fixed a path where the whitelist was not being checked in DroidGap. FileTransfer.download now supports the trustAllHosts option to allow downloading from servers with self signed certificates. Removed trailing space from contact.name.formatted. Properly set contact's IM type. navigator.language is now set properly when the language is switched in Android settings. Simon Mac Donald http://hi.im/simonmacdonald On Mon, Oct 29, 2012 at 5:30 AM, Andrew Lunny wrote: > Woot, go shame! > > > On 28 October 2012 09:37, Simon MacDonald wro= te: >> >> You have shamed me into it. I will put something together this week. >> >> Simon Mac Donald >> http://hi.im/simonmacdonald >> >> >> On Sat, Oct 27, 2012 at 2:53 PM, Andrew Lunny wrote: >>> >>> This is awesome Shaz - thanks for writing this up every release. >>> >>> It would be even awesomer if one of the Android devs could do the same >>> thing - I know Simon does similar things with individual features, but = it >>> would be great to have this kind of roundup for Android. >>> >>> On 27 October 2012 09:50, Shazron wrote: >>> >>> > >>> > >>> > http://shazronatadobe.wordpress.com/2012/10/27/whats-new-in-cordova-i= os-2-2-0/ >>> > >>> > On Mon, Oct 22, 2012 at 2:28 PM, Shazron wrote: >>> > > Thanks Andrew, I'll incorporate those in. >>> > > >>> > > On Mon, Oct 22, 2012 at 6:51 AM, Andrew Grieve >>> > wrote: >>> > >> Sounds great Shaz! Might also be worth mentioning the bridge >>> > improvements: >>> > >> -No longer broken for non file:// pages >>> > >> -No longer shows failed requests in the remote web inspector >>> > >> -15% speed improvement in benchmarks >>> > >> >>> > >> >>> > >> On Mon, Oct 22, 2012 at 3:57 AM, Shazron wrote= : >>> > >> >>> > >>> I'm preparing a blog post. Here is the outline of what I have so >>> > >>> far: >>> > >>> >>> > >>> 1. CordovaLib multiple architecture support (across all versions = of >>> > iOS) >>> > >>> 2. Added Capture API microphone image for iPhone 5 dimensions and >>> > >>> orientation fix >>> > >>> 3. Adde dFileTransfer API progress events, abort function >>> > >>> 4. Cordova.plist - added two new iOS 6 properties >>> > >>> (SuppressesIncrementalRendering, KeyboardDisplayRequiresUserActio= n) >>> > >>> 5. Added Globalization Core Plugin >>> > >>> 6. Fixed iOS 6 orientation issues >>> > >>> 7. Added iOS 6 LocalStorage changes (backup flag) >>> > >>> 8. bin/create changes for shared and CordovaLib copying >>> > >>> 9. uncrustify hook for committers >>> > >>> 10. onReset() override for plugins >>> > >>> >>> > >>> Link: >>> > >>> >>> > >>> >>> > >>> > https://github.com/apache/incubator-cordova-ios/blob/b74752f42da53532= 150d17aab80c0c6ae36a1a69/RELEASENOTES.md >>> > >>> >>> > >> >> >