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 D0318D787 for ; Tue, 30 Oct 2012 21:27:29 +0000 (UTC) Received: (qmail 56302 invoked by uid 500); 30 Oct 2012 21:27:29 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 56273 invoked by uid 500); 30 Oct 2012 21:27:29 -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 56265 invoked by uid 99); 30 Oct 2012 21:27:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 21:27:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of simon.macdonald@gmail.com designates 209.85.160.47 as permitted sender) Received: from [209.85.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 21:27:25 +0000 Received: by mail-pb0-f47.google.com with SMTP id ro12so430522pbb.6 for ; Tue, 30 Oct 2012 14:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HDOEWW4Pcjl4CWFTqAxxn7pMrc8c8d79SIf+bh0gook=; b=g2ueRlTxiBOeTQ+Qh3piXu2HJc+syC8srI5yK2PDA2Ooa0LvESL+Dsuz7fMZ5t4RYV 3nrcq5+E/QRPGa7Lhld0Un0XNGSZg+XdPN34h02m8eSdWzMjTrR6CwDoNS8uQ2poc8qj xL4dJhEBp0+j7HHexHptex+mRnVrLBQsAVhPHC4MHVrWLJ9ukq1Lf0YQM0dLd8nvZOo/ 4a6v/7TfBinlAO69/YIQsyvPM40/7P84dEIwb5mnGq/AX2Wd5ixBWXDQW0Y6c2FUtD9R TJS1x7Ukb8H2sMwniNvmrJ+qqvloBj8ZwZJlwbQ1xyEEkfQjJhwpZQFrJ0n41JbhXv4/ 3pag== MIME-Version: 1.0 Received: by 10.66.75.132 with SMTP id c4mr96033081paw.2.1351632425118; Tue, 30 Oct 2012 14:27:05 -0700 (PDT) Received: by 10.68.41.138 with HTTP; Tue, 30 Oct 2012 14:27:05 -0700 (PDT) Received: by 10.68.41.138 with HTTP; Tue, 30 Oct 2012 14:27:05 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Oct 2012 17:27:05 -0400 Message-ID: Subject: Re: iOS changes in 2.2.0 From: Simon MacDonald To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=f46d042f9cc090ec1204cd4d7226 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042f9cc090ec1204cd4d7226 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable The part about it being 25 times faster is in there. Simon On Oct 30, 2012 4:07 PM, "Brian LeRoux" wrote: > What about bridge performance improvements in 2.2? > > On Tue, Oct 30, 2012 at 12:23 PM, Simon MacDonald > wrote: > > Okay, cool. I incorporated your feedback and will post later tonight > > if there are no more comments. > > > > Simon Mac Donald > > http://hi.im/simonmacdonald > > > > > > On Tue, Oct 30, 2012 at 2:55 PM, Andrew Grieve > wrote: > >> Great write-up Simon! Thanks for doing this. > >> > >> > >> On Tue, Oct 30, 2012 at 2:18 PM, Simon MacDonald > >> wrote: > >> > >>> Here is the post. Am I missing anything Android devs? Yes, I stole th= e > >>> 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. > >>> > >> I don't think it ever falls back to polling anymore. Might be better t= o > >> just say that the bridge now uses magic, and link to the JIRA issue > (CB-638) > >> > >> > >>> 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 g= o > >>> 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. > >>> > >> Might be good to mention that iframes now work because of this. > >> > >>> > >>> 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 t= o > >>> the native side provide their own JSON parser. > >>> > >> Maybe add: It also cuts down on boiler-plate, makes multi-threading > easier, > >> and adds an application-wide thread-pool to CordovaInterface. > >> > >>> > >>> 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. > >>> > >> 10. Adds an onReset function to plugins so that background operations > (such > >> as file transfers or playing sounds) will be stopped by page > navigations. > >> > >> > >>> > >>> 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 > > >>> wrote: > >>> >> > >>> >> You have shamed me into it. I will put something together this wee= k. > >>> >> > >>> >> 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-ios-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 < > >>> agrieve@chromium.org> > >>> >>> > 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, > >>> KeyboardDisplayRequiresUserAction) > >>> >>> > >>> 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/b74752f42da53532150d= 17aab80c0c6ae36a1a69/RELEASENOTES.md > >>> >>> > >>> > >>> >>> > > >>> >> > >>> >> > >>> > > >>> > --f46d042f9cc090ec1204cd4d7226--