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 5762FDEEE for ; Tue, 30 Oct 2012 20:07:43 +0000 (UTC) Received: (qmail 17570 invoked by uid 500); 30 Oct 2012 20:07:43 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 17531 invoked by uid 500); 30 Oct 2012 20:07:43 -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 17523 invoked by uid 99); 30 Oct 2012 20:07:43 -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 20:07:43 +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 (athena.apache.org: domain of brian.leroux@gmail.com designates 209.85.215.175 as permitted sender) Received: from [209.85.215.175] (HELO mail-ea0-f175.google.com) (209.85.215.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2012 20:07:39 +0000 Received: by mail-ea0-f175.google.com with SMTP id c1so267148eaa.6 for ; Tue, 30 Oct 2012 13:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=gd2oPAUAUUBAvuCiyYPzoDHo7Sth2+i9mVACRsdn3mM=; b=dmsmww2Wl1KPSQoHi+UF8bfviDa6x+JZXA79/T7ODtgRIY11lOilfGYOy3w+ykzlJV DIeqZJz+lIwAvZ/E6RbhB6HJm1XoeUUSfEfukh5UrwlkfS+7R2UwVcklN04Ybe+17R4T BnbmnNfWsC0y6vqzmJZPIMY9EcSx/K9I5CU7Zs33VtoB9/02T/EsJYrzCXlvMflgJqP1 fe0KG2zjDOOwEgpmqx7BZTSPlRXCm56Qo2G8KX+Q6RZZtYVwbXV3SnFPQy+wLbj8LfK1 bZ8LN5YEKib7iNEcMntphdUBUTFtlVadH0q0RXAJ8ciTZ0+NOSxqBGqHwh7uls3CEtBJ pJeQ== MIME-Version: 1.0 Received: by 10.14.194.136 with SMTP id m8mr76845506een.10.1351627637782; Tue, 30 Oct 2012 13:07:17 -0700 (PDT) Sender: brian.leroux@gmail.com Received: by 10.14.183.197 with HTTP; Tue, 30 Oct 2012 13:07:17 -0700 (PDT) In-Reply-To: References: Date: Tue, 30 Oct 2012 13:07:17 -0700 X-Google-Sender-Auth: uZf1Jmjh6zec87p8Puztb2rwCSk Message-ID: Subject: Re: iOS changes in 2.2.0 From: Brian LeRoux 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 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 wro= te: >> 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 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. >>> >> I don't think it ever falls back to polling anymore. Might be better to >> 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 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. >>> >> 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 to >>> the native side provide their own JSON parser. >>> >> Maybe add: It also cuts down on boiler-plate, makes multi-threading easi= er, >> 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 vie= w. >>> 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 (s= uch >> 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 week. >>> >> >>> >> Simon Mac Donald >>> >> http://hi.im/simonmacdonald >>> >> >>> >> >>> >> On Sat, Oct 27, 2012 at 2:53 PM, Andrew Lunny wro= te: >>> >>> >>> >>> 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 s= ame >>> >>> 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 wrot= e: >>> >>> > > 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 versi= ons >>> 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/b74752f42da5353215= 0d17aab80c0c6ae36a1a69/RELEASENOTES.md >>> >>> > >>> >>> >>> > >>> >> >>> >> >>> > >>>