Re: New FileAPI Draft | was Re: FileAPI feedback

2009-08-06 Thread Gregg Tavares
On Wed, Aug 5, 2009 at 8:08 PM, Garrett Smith dhtmlkitc...@gmail.comwrote: On Wed, Aug 5, 2009 at 1:04 AM, Arun Ranganathana...@mozilla.com wrote: Garrett Smith wrote: Please show the subsequent use cases you've studied and please do publish your studies. What I meant by use

Re: Web Storage how to check for support?

2009-08-06 Thread Garrett Smith
2009/8/5 Darin Adler da...@apple.com: On Aug 5, 2009, at 9:42 PM, Jonas Sicking wrote: 2009/8/1 João Eiras jo...@opera.com: How can one in a script check for UA support? else if(localStorage){} does not work for Opera**. This obviously does not work because you need to prefix

FileAPI splice method

2009-08-06 Thread Adam de Boor
this is a minor point, but I'm finding the name of the splice method to be odd. To me splice means to join, and slice would seem a more appropriate name. The Array object has both splice and slice, and the former is used for removing and inserting data and modifies the array in place, while the

Re: New FileAPI Draft | was Re: FileAPI feedback

2009-08-06 Thread Anne van Kesteren
On Thu, 06 Aug 2009 01:10:31 +0200, Gregg Tavares g...@google.com wrote: Why make a new API for getting the contents of a file (local or otherwise) when we already have one which is XHR? XHR does not do local data. It also does not do raw file data very well. What if FileList was just

Re: [File API] feedback on August 1/5 draft

2009-08-06 Thread Jonas Sicking
On Thu, Aug 6, 2009 at 4:04 AM, Anne van Kesterenann...@opera.com wrote: Thanks for the update to the draft! Below some feedback: In the table of contents the link to the filedata URL scheme is broken. The Web IDL syntax needs to be updated. E.g. FileList can be simply described as  

Re: [File API] events vs callbacks (was: Re: New FileAPI Draft | was Re: FileAPI feedback)

2009-08-06 Thread Jonas Sicking
On Wed, Aug 5, 2009 at 4:26 AM, Anne van Kesterenann...@opera.com wrote: On Wed, 05 Aug 2009 10:04:28 +0200, Arun Ranganathan a...@mozilla.com wrote: In the case of file read APIs, simply getting the data asynchronously is more convenient than using events.  There is no intrigue at work here,

Re: [File API] feedback on August 1/5 draft

2009-08-06 Thread Anne van Kesteren
I meant File rather than any, yes. Oops. Also: On Thu, 06 Aug 2009 20:29:37 +0200, Jonas Sicking jo...@sicking.cc wrote: On Thu, Aug 6, 2009 at 4:04 AM, Anne van Kesterenann...@opera.com wrote: I have not received any feedback on my comments as to why getAsDataURL is actually needed. I still

Re: New FileAPI Draft | was Re: FileAPI feedback

2009-08-06 Thread Gregg Tavares
On Thu, Aug 6, 2009 at 2:35 AM, Anne van Kesteren ann...@opera.com wrote: On Thu, 06 Aug 2009 10:53:31 +0200, Gregg Tavares g...@google.com wrote: On Thu, Aug 6, 2009 at 12:48 AM, Anne van Kesteren ann...@opera.com wrote: XHR does not do local data. It also does not do raw file data very

[Widgets] WARP LC comments

2009-08-06 Thread Marcos Caceres
Hi Robin, Thanks for putting this spec together... I copy/pasted the spec below and added inline comments. Enjoy! :) On Thu, Aug 6, 2009 at 9:53 PM, Marcos Caceresmarc...@opera.com wrote: 1 Introduction User agents running widgets are expected to provide access to potentially sensitive APIs

Re: [File API] feedback on August 1/5 draft

2009-08-06 Thread Jonas Sicking
On Thu, Aug 6, 2009 at 11:42 AM, Anne van Kesterenann...@opera.com wrote: I meant File rather than any, yes. Oops. Also: On Thu, 06 Aug 2009 20:29:37 +0200, Jonas Sicking jo...@sicking.cc wrote: On Thu, Aug 6, 2009 at 4:04 AM, Anne van Kesterenann...@opera.com wrote: I have not received any

Re: [PrototypeRoot]

2009-08-06 Thread Garrett Smith
On Mon, Jun 22, 2009 at 4:49 PM, Ian Hicksoni...@hixie.ch wrote: On Sun, 21 Jun 2009, Garrett Smith wrote: On Sat, Jun 20, 2009 at 12:43 AM, Ian Hicksoni...@hixie.ch wrote: On Sat, 20 Jun 2009, Garrett Smith wrote: I still want to know: Why would a program want to know the object's

Re: [whatwg] An BinaryArchive API for HTML5?

2009-08-06 Thread Ian Hickson
On Tue, 4 Aug 2009, Gregg Tavares wrote: Do you have some suggestions for how the data could be transferred most efficiently to the glBufferData call? As far as I know there is no tag which could be used to refer to the binary file within the archive. If there were then

Re: New FileAPI Draft | was Re: FileAPI feedback

2009-08-06 Thread Jonas Sicking
On Thu, Aug 6, 2009 at 1:05 PM, Gregg Tavaresg...@google.com wrote: On Thu, Aug 6, 2009 at 2:35 AM, Anne van Kesteren ann...@opera.com wrote: On Thu, 06 Aug 2009 10:53:31 +0200, Gregg Tavares g...@google.com wrote: On Thu, Aug 6, 2009 at 12:48 AM, Anne van Kesteren ann...@opera.com wrote: