Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29A249BD6 for ; Wed, 22 Feb 2012 17:34:04 +0000 (UTC) Received: (qmail 51449 invoked by uid 500); 22 Feb 2012 17:34:04 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 51424 invoked by uid 500); 22 Feb 2012 17:34:04 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 51411 invoked by uid 99); 22 Feb 2012 17:34:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 17:34:03 +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 purdrew@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 17:33:58 +0000 Received: by bkwq11 with SMTP id q11so339929bkw.6 for ; Wed, 22 Feb 2012 09:33:37 -0800 (PST) Received-SPF: pass (google.com: domain of purdrew@gmail.com designates 10.204.150.69 as permitted sender) client-ip=10.204.150.69; Authentication-Results: mr.google.com; spf=pass (google.com: domain of purdrew@gmail.com designates 10.204.150.69 as permitted sender) smtp.mail=purdrew@gmail.com; dkim=pass header.i=purdrew@gmail.com Received: from mr.google.com ([10.204.150.69]) by 10.204.150.69 with SMTP id x5mr16253974bkv.53.1329932017357 (num_hops = 1); Wed, 22 Feb 2012 09:33:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=FlFPKjeQ6fjMPaWOnqODDcJI3T0CcRSIFQLSFTKHgZc=; b=tYY2p/Ff2ipK2FA+Fx7wQWxIGpRCllMIvHSFpcdPf2Q4xhpbdSsp/voQ2R6h31UTA/ 13QfGRTO+iPs4cPWelmYFe24z86Nv+8DuZxJ+DT/mRwba+PWae+Kbe1LbcfOSxBNimsQ 7jWYECkH1AB95nP3OTfqyZsfCxPW5Tf8bBEkI= Received: by 10.204.150.69 with SMTP id x5mr13185502bkv.53.1329932017215; Wed, 22 Feb 2012 09:33:37 -0800 (PST) MIME-Version: 1.0 Sender: purdrew@gmail.com Received: by 10.204.174.68 with HTTP; Wed, 22 Feb 2012 09:33:17 -0800 (PST) In-Reply-To: References: From: Drew Walters Date: Wed, 22 Feb 2012 11:33:17 -0600 X-Google-Sender-Auth: ubVDBG8hZhKYl0RhKAzGb767HP4 Message-ID: Subject: Re: Changes to File API To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable mimetype is not a parameter of toURL either though right? On Wed, Feb 22, 2012 at 11:30 AM, Simon MacDonald wrote: > Okay, I've just put a change that adds toURI back into the Entry class fo= r > backwards compatibility. I also removed the success/error parameters from > toURL as they are not according spec and they are never used. > > Take a look at the change and let me know if anything else is needed: > > https://github.com/macdonst/callback-js/commit/de67a919af0aa5bdc81ab3c2ee= ce1ed17a7fd9de > > If I get a +1 I'll merge the code into the Apache cordova-js repo. > > Simon Mac Donald > http://hi.im/simonmacdonald > > > On Fri, Feb 17, 2012 at 2:55 PM, Filip Maj wrote: > >> I like that idea, Simon. Simple to add a method copy from toURL -> toURI= , >> add a console.log, tag for 1.5, done. >> >> As for updating the error codes - can we shelve that for 1.6? >> >> On 12-02-17 11:52 AM, "Simon MacDonald" wrot= e: >> >> >For the 1.5.0 release can we support .toURI() and .toURL(= )? >> >We'll mark toURI as deprecated and remove it in 1.6.0 or 1.7.0. What do >> >you >> >think? >> > >> >As for the FileError codes. Grrrrr...why did they have to change them. >> > >> >Simon Mac Donald >> >http://hi.im/simonmacdonald >> > >> > >> >On Fri, Feb 17, 2012 at 2:36 PM, Becky Gibson >> >wrote: >> > >> >> I was running the mobile-spec after Shaz completed and checked in the >> >>iOS >> >> name change (THANKS, Shaz!) and found that several file tests fail. T= he >> >> issue is the name change of the .toURI() api to .toURL(= ). >> >> Checking on the W3C File API: Directories and Systems spec. this API = was >> >> indeed renamed from the October, 2010, version of the spec that we >> >> implemented to the April and May, 2011 versions. =A0 The FileError co= des >> >>have >> >> also been reassigned - although that has not been updated in the >> >>unified-js >> >> implementation. >> >> >> >> Other than the API name change and FileError code reassignments, I do= n't >> >> see major changes in the specification. =A0However, this will certain= ly >> >>break >> >> existing apps and I question making that change. =A0 I realize it has= to >> >>be >> >> made sooner or later, but it might be best to wait for the api to be >> >> finalized. =A0 If we are going to make this api change, then we shoul= d >> >> probably also make the FileError changes to be consistent. =A0And upd= ate >> >>the >> >> docs and make sure this is well documented. >> >> >> >> my two cents, >> >> -becky >> >> >> >>