Re: Moving File API: Directories and System API to Note track?

2012-10-11 Thread Brendan Eich
Glenn Maynard wrote: I'm interested in the same from Mozilla side: what are the real issues that you think are unsolvable, or do you just think the underlying use cases aren't compelling enough for the work required? Speaking for myself, not for all Mozillans here, I find the use-cases Eric U

RE: Moving File API: Directories and System API to Note track?

2012-10-04 Thread SULLIVAN, BRYAN L
> -Original Message- > From: Olli Pettay [mailto:olli.pet...@helsinki.fi] > Sent: Thursday, October 04, 2012 3:48 AM > To: SULLIVAN, BRYAN L > Cc: Maciej Stachowiak; Glenn Maynard; Eric U; public-webapps@w3.org > Subject: Re: Moving File API: Directories and System

Re: Moving File API: Directories and System API to Note track?

2012-10-04 Thread Olli Pettay
On 09/26/2012 01:32 AM, SULLIVAN, BRYAN L wrote: *From:*Maciej Stachowiak [mailto:m...@apple.com] *Sent:* Tuesday, September 25, 2012 2:59 PM *To:* Glenn Maynard *Cc:* Eric U; o...@pettay.fi; public-webapps@w3.org *Subject:* Re: Moving File API: Directories and System API to Note track? Hi

Re: Sandboxed Filesystem use cases? (was Re: Moving File API: Directories and System API to Note track?)

2012-09-26 Thread Eric U
Asking about use cases that can be served by a filesystem API, but not by IDB, is reasonable [and I'll respond to it below], but it misses a lot of the point. The users I've talked to like the FS API because it's a simple interface that everyone already understands, that's powerful enough to handl

RE: Moving File API: Directories and System API to Note track?

2012-09-25 Thread SULLIVAN, BRYAN L
From: Maciej Stachowiak [mailto:m...@apple.com] Sent: Tuesday, September 25, 2012 2:59 PM To: Glenn Maynard Cc: Eric U; o...@pettay.fi; public-webapps@w3.org Subject: Re: Moving File API: Directories and System API to Note track? Hi Glenn, I read over your points. But I don't think they

Re: Moving File API: Directories and System API to Note track?

2012-09-25 Thread Glenn Maynard
On Tue, Sep 25, 2012 at 4:59 PM, Maciej Stachowiak wrote: > I read over your points. But I don't think they would change Apple's > calculation about exposing an API to the real user filesystem in Safari, > particularly as specified. I do think that my more minimal API might also > be a better fit

Re: Moving File API: Directories and System API to Note track?

2012-09-25 Thread Maciej Stachowiak
Hi Glenn, I read over your points. But I don't think they would change Apple's calculation about exposing an API to the real user filesystem in Safari, particularly as specified. I do think that my more minimal API might also be a better fit for the "real filesystem" use case, as it removes a

Re: Moving File API: Directories and System API to Note track?

2012-09-25 Thread Glenn Maynard
On Wed, Sep 19, 2012 at 3:46 PM, James Graham wrote: > Indeed. We are not enthusiastic about implementing an API that has to > traverse directory trees as this has significant technical challenges, or > may expose user's path names, as this has security implications. Also AIUI > this API is not a

Sandboxed Filesystem use cases? (was Re: Moving File API: Directories and System API to Note track?)

2012-09-25 Thread Maciej Stachowiak
On Sep 25, 2012, at 10:20 AM, James Graham wrote: > > In addition, this would be the fourth storage API that we have tried to > introduce to the platform in 5 years (localStorage, WebSQL, IndexedDB being > the other three), and the fifth in total. Of the four APIs excluding this > one, one h

Re: Moving File API: Directories and System API to Note track?

2012-09-25 Thread James Graham
On Tue, 25 Sep 2012, Brendan Eich wrote: Maciej Stachowiak wrote: On Sep 22, 2012, at 9:35 PM, Maciej Stachowiak wrote: On Sep 22, 2012, at 8:18 PM, Brendan Eich wrote: And two of the interfaces are generic and reusable in other contexts. Nice, and DOMRequest predates yours -- should it

Re: Moving File API: Directories and System API to Note track?

2012-09-25 Thread Brendan Eich
Maciej Stachowiak wrote: On Sep 22, 2012, at 9:35 PM, Maciej Stachowiak wrote: On Sep 22, 2012, at 8:18 PM, Brendan Eich wrote: And two of the interfaces are generic and reusable in other contexts. Nice, and DOMRequest predates yours -- should it be done separately since (I believe) it is

Re: Moving File API: Directories and System API to Note track?

2012-09-24 Thread Maciej Stachowiak
On Sep 22, 2012, at 9:35 PM, Maciej Stachowiak wrote: > > On Sep 22, 2012, at 8:18 PM, Brendan Eich wrote: > >> >>> And two of the interfaces are generic and reusable in other contexts. >> >> Nice, and DOMRequest predates yours -- should it be done separately since (I >> believe) it is bei

Re: Moving File API: Directories and System API to Note track?

2012-09-24 Thread Kinuko Yasuda
On Sat, Sep 22, 2012 at 8:32 AM, Eric U wrote: > While I don't see any other browsers showing interest in implementing > the FileSystem API as currently specced, Just for the record, Blackberry, Tizen/EFL and Netfront seem to have some support of FileSystem API. EFL has also uploaded a new File

Re: Moving File API: Directories and System API to Note track?

2012-09-22 Thread Maciej Stachowiak
On Sep 22, 2012, at 8:18 PM, Brendan Eich wrote: > >> And two of the interfaces are generic and reusable in other contexts. > > Nice, and DOMRequest predates yours -- should it be done separately since (I > believe) it is being used by other proposals unrelated to FileSystem-like > ones? >

Re: Moving File API: Directories and System API to Note track?

2012-09-22 Thread Brendan Eich
Maciej Stachowiak wrote: On Sep 21, 2012, at 10:10 PM, Jonas Sicking wrote: For what it's worth, I put together a draft for what an API would look like that has basically the same feature set as the current FileSystem API, but based on DeviceStorage. It's a much smaller API that the current Fi

Re: Moving File API: Directories and System API to Note track?

2012-09-22 Thread Maciej Stachowiak
On Sep 21, 2012, at 10:10 PM, Jonas Sicking wrote: > > For what it's worth, I put together a draft for what an API would look > like that has basically the same feature set as the current FileSystem > API, but based on DeviceStorage. It's a much smaller API that the > current FileSystem drafts,

Re: Moving File API: Directories and System API to Note track?

2012-09-22 Thread Maciej Stachowiak
What does getMetadata a synchronously return? I think this API as written is still a fair bit more complex than needed for the sandboxed storage use case. It does seem simpler than Filesystem API. Regards, Maciej On Sep 21, 2012, at 10:10 PM, Jonas Sicking wrote: > On Fri, Sep 21, 2012 at 5:

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Jonas Sicking
On Fri, Sep 21, 2012 at 5:37 PM, Maciej Stachowiak wrote: > > My personal objections (ones that I think are shared by at least some other > Safari folks): > > - It's way too complicated. (As one crude metric, I count 22 interfaces; and > yes, I know many of those are callback interfaces or sync

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Maciej Stachowiak
My personal objections (ones that I think are shared by at least some other Safari folks): - It's way too complicated. (As one crude metric, I count 22 interfaces; and yes, I know many of those are callback interfaces or sync versions of interfaces; it still seems overengineered). - I see valu

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Maciej Stachowiak
I like the idea of offering asynchronous listing of files in . But I think Filesystem API is overkill for this use case. Regards, Maciej On Sep 21, 2012, at 3:50 PM, Darin Fisher wrote: > No comment on the value of DirectoryEntry for enabling asynchronous listing > of files in ? > > -Darin >

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Eric U
While I don't see any other browsers showing interest in implementing the FileSystem API as currently specced, I do see Firefox coming around to the belief that a filesystem-style API is a good thing, hence their DeviceStorage API. Rather than scrap the API that we've put 2 years of discussion and

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Darin Fisher
Or.. drag-n-drop receipt of a folder or set of folders. On Fri, Sep 21, 2012 at 3:50 PM, Darin Fisher wrote: > No comment on the value of DirectoryEntry for enabling asynchronous > listing of files in ? > > -Darin > > > On Thu, Sep 20, 2012 at 4:48 PM, Maciej Stachowiak wrote: > >> >> +1 >> >>

Re: Paths exposed in input type=file (was: Re: Moving File API: Directories and System API to Note track?)

2012-09-21 Thread Darin Fisher
On Fri, Sep 21, 2012 at 1:14 AM, James Graham wrote: > On 09/20/2012 11:45 PM, Darin Fisher wrote: > > File path information is already exposed via . >> >> "File names may contain partial paths." >> http://www.whatwg.org/specs/**web-apps/current-work/** >> multipage/states-of-the-type-**attribut

Re: Moving File API: Directories and System API to Note track?

2012-09-21 Thread Darin Fisher
No comment on the value of DirectoryEntry for enabling asynchronous listing of files in ? -Darin On Thu, Sep 20, 2012 at 4:48 PM, Maciej Stachowiak wrote: > > +1 > > I don't see an indication of any major browser but Chrome planning to > implement this and expose it to the Web. > > - Maciej >

Paths exposed in input type=file (was: Re: Moving File API: Directories and System API to Note track?)

2012-09-21 Thread James Graham
On 09/20/2012 11:45 PM, Darin Fisher wrote: File path information is already exposed via . "File names may contain partial paths." http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html#concept-input-type-file-selected I couldn't get any actual browser t

Re: Moving File API: Directories and System API to Note track?

2012-09-20 Thread Maciej Stachowiak
+1 I don't see an indication of any major browser but Chrome planning to implement this and expose it to the Web. - Maciej On Sep 18, 2012, at 4:04 AM, Olli Pettay wrote: > Hi all, > > > I think we should discuss about moving File API: Directories and System API > from Recommendation trac

Re: Moving File API: Directories and System API to Note track?

2012-09-20 Thread Darin Fisher
On Wed, Sep 19, 2012 at 11:50 PM, James Graham wrote: > > > On Wed, 19 Sep 2012, Adam Barth wrote: > > On Wed, Sep 19, 2012 at 1:46 PM, James Graham wrote: >> >>> On Wed, 19 Sep 2012, Edward O'Connor wrote: >>> Olli wrote: > I think we should discuss about moving File API: Directo

Re: Moving File API: Directories and System API to Note track?

2012-09-20 Thread Adam Barth
On Wed, Sep 19, 2012 at 11:50 PM, James Graham wrote: > On Wed, 19 Sep 2012, Adam Barth wrote: >> On Wed, Sep 19, 2012 at 1:46 PM, James Graham wrote: >>> On Wed, 19 Sep 2012, Edward O'Connor wrote: Olli wrote: > I think we should discuss about moving File API: Directories and > Syst

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread James Graham
On Wed, 19 Sep 2012, Adam Barth wrote: On Wed, Sep 19, 2012 at 1:46 PM, James Graham wrote: On Wed, 19 Sep 2012, Edward O'Connor wrote: Olli wrote: I think we should discuss about moving File API: Directories and System API from Recommendation track to Note. Sounds good to me. Indeed.

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread Adam Barth
On Wed, Sep 19, 2012 at 1:46 PM, James Graham wrote: > On Wed, 19 Sep 2012, Edward O'Connor wrote: >> Olli wrote: >>> I think we should discuss about moving File API: Directories and >>> System API from Recommendation track to Note. >> >> Sounds good to me. > > Indeed. We are not enthusiastic abou

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread James Graham
On Wed, 19 Sep 2012, Edward O'Connor wrote: Hi, Olli wrote: I think we should discuss about moving File API: Directories and System API from Recommendation track to Note. Sounds good to me. Indeed. We are not enthusiastic about implementing an API that has to traverse directory trees as

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread Edward O'Connor
Hi, Olli wrote: > I think we should discuss about moving File API: Directories and > System API from Recommendation track to Note. Sounds good to me. Ted

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread Ian Hickson
On Wed, 19 Sep 2012, Darin Fisher wrote: > > Note: The {File,Directory}Entry types are also separately useful for > multi-file input and drag-n-drop applications: > http://wiki.whatwg.org/wiki/DragAndDropEntries ...in Chrome. This was the recent topic of: http://lists.w3.org/Archives/Public/

Re: Moving File API: Directories and System API to Note track?

2012-09-19 Thread Darin Fisher
Note: The {File,Directory}Entry types are also separately useful for multi-file input and drag-n-drop applications: http://wiki.whatwg.org/wiki/DragAndDropEntries To summarize, it solves several problems with FileList: 1- A DirectoryEntry can be lazily resolved by the developer. With FileList,

Re: Moving File API: Directories and System API to Note track?

2012-09-18 Thread SULLIVAN, BRYAN L
What are the other proposals that handle the same use cases? Thanks, Bryan Sullivan On Sep 18, 2012, at 6:07 PM, "Olli Pettay" wrote: Hi all, I think we should discuss about moving File API: Directories and System API from Recommendation track to Note. Mainly because the API hasn't been widel

Re: Moving File API: Directories and System API to Note track?

2012-09-18 Thread SULLIVAN, BRYAN L
For the use cases of media storage for offline use perhaps (an important use case), but there are broader use cases necessary for the growth of Webapps which need to manage their own arbitrary storage resources outside the browser-managed space. Until this is supported, the web will remain a thi

Re: Moving File API: Directories and System API to Note track?

2012-09-18 Thread Robin Berjon
On 18/09/2012 13:04 , Olli Pettay wrote: I think we should discuss about moving File API: Directories and System API from Recommendation track to Note. Mainly because the API hasn't been widely accepted nor implemented and also because there are other proposals which handle the same use cases. Th

Moving File API: Directories and System API to Note track?

2012-09-18 Thread Olli Pettay
Hi all, I think we should discuss about moving File API: Directories and System API from Recommendation track to Note. Mainly because the API hasn't been widely accepted nor implemented and also because there are other proposals which handle the same use cases. The problem with keeping the API