Re: [whatwg] HTML5 Offline web applications file upload

2010-08-03 Thread Ian Hickson
On Fri, 14 May 2010, Alexandre Thiel wrote: I was wondering if HTML5 Offline mode and file upload can work together ? I can't find any reference in the online draft which covers only server resource caching. Let's imagine you're writing some kind of data editor that works in offline mode,

[whatwg] HTML5 Offline web applications file upload

2010-05-14 Thread Alexandre Thiel
Hi, I was wondering if HTML5 Offline mode and file upload can work together ? I can't find any reference in the online draft which covers only server resource caching. Let's imagine you're writing some kind of data editor that works in offline mode, can you ask the user to select a file to import

Re: [whatwg] HTML5 Offline web applications file upload

2010-05-14 Thread Jeremy Orlow
There's a bunch of work currently happening on public-webapps and public-device-apis @w3.org to enable many offline use cases like this. The most closely related specs are probably the FileSystem API and/or the LocalStorage/IndexedDB APIs + FileReader. Unfortunately these use cases are not very

Re: [whatwg] HTML5 Offline web applications file upload

2010-05-14 Thread And Clover
On 05/14/2010 11:51 AM, Alexandre Thiel wrote: can you ask the user to select a file to import from his filesystem that can be processed with javascript or directly transfered to the localStorage while being offline ? Yes. See http://www.w3.org/TR/file-upload/ -- And Clover

Re: [whatwg] HTML5 Offline web applications file upload

2010-05-14 Thread Charles McCathieNevile
On Fri, 14 May 2010 12:19:32 +0200, Jeremy Orlow jor...@chromium.org wrote: There's a bunch of work currently happening on public-webapps and public-device-apis @w3.org to enable many offline use cases like this. The most closely related specs are probably the FileSystem API and/or the

Re: [whatwg] HTML5 Offline Web Applications

2008-10-08 Thread Michael Nordman
On Tue, Oct 7, 2008 at 10:28 PM, Maciej Stachowiak [EMAIL PROTECTED] wrote: Dont you need to have some particular version loaded in the thread I think you're focusing on a particular implementation. Suppose that version is shared by all pages using these APIs. atomic update The set of cached

Re: [whatwg] HTML5 Offline Web Applications

2008-10-08 Thread Michael Nordman
Here's the thing i'm trying to avoid in section 5.7.6 where it discusses the add(url) method. ... 8. Wait for there to be no running scripts, or at least no running scripts that can reach an ApplicationCache object associated with the application cache with which this ApplicationCache object

Re: [whatwg] HTML5 Offline Web Applications

2008-10-07 Thread Maciej Stachowiak
On Oct 7, 2008, at 4:49 PM, Michael Nordman wrote: Another one... 6) The DOMApplicationCache .length and .item(indx) members. These two are troublesome in a multi-threaded / multi-process browser. Can we come up with an interface that's more ammenable to implementation non-single

Re: [whatwg] HTML5 Offline Web Applications

2008-10-03 Thread Philip Tucker
I'd like to offer more justification for Michael Nordman's scriptlet proposal. We've spent the last year or so modifying an existing online application to make it work offline. A secondary motivation was application speed. We used Google Gears to enable this. Although we had some success, we also

Re: [whatwg] HTML5 Offline Web Applications

2008-09-15 Thread Dave Camp
On Mon, Aug 25, 2008 at 11:54 AM, Michael Nordman [EMAIL PROTECTED] wrote: Manifest file section headers: * BYPASS: list of url [namespaces/filters] * CACHE: list of exact [urls] * INTERCEPT: list of [urlnamespaces, namespace-handler url] * AUTOCACHE: list of [urlnamespaces,

Re: [whatwg] HTML5 Offline Web Applications

2008-09-15 Thread Michael Nordman
Hi Dave, Thanx for taking a look. On Mon, Sep 15, 2008 at 2:25 PM, Dave Camp [EMAIL PROTECTED] wrote: On Mon, Aug 25, 2008 at 11:54 AM, Michael Nordman [EMAIL PROTECTED] wrote: Manifest file section headers: * BYPASS: list of url [namespaces/filters] * CACHE: list of exact [urls] *

Re: [whatwg] HTML5 Offline Web Applications

2008-09-06 Thread Maciej Stachowiak
On Sep 5, 2008, at 1:46 PM, Chris Prince wrote: Is anybody else working on the Offline Web Applications feature? We have it implemented in WebKit trunk. - Maciej

Re: [whatwg] HTML5 Offline Web Applications

2008-09-05 Thread Chris Prince
I think Michael has some valid concerns here. Specifically, where he says: - Where does appCache deletion happen? and - I think the appCache update/validation logic is fundamentally flawed with regard to resources that are not explicitly listed. Is anybody else working on the Offline Web

Re: [whatwg] HTML5 Offline Web Applications

2008-09-05 Thread Robert O'Callahan
On Sat, Sep 6, 2008 at 8:46 AM, Chris Prince [EMAIL PROTECTED] wrote: I think Michael has some valid concerns here. Specifically, where he says: - Where does appCache deletion happen? and - I think the appCache update/validation logic is fundamentally flawed with regard to resources

Re: [whatwg] HTML5 Offline Web Applications

2008-08-29 Thread Michael Nordman
Hello again all, A couple more comments. *When is anything ever deleted?* Maybe i missed it, but where does appCache deletion happen? Something that Gears user's have done is to serve an empty manifest file. The results are a close approximation to having deleted the resource store. I would

[whatwg] HTML5 Offline Web Applications

2008-08-25 Thread Michael Nordman
Hello all, I have many comments on the Offline Web Applications corner of the HTML5 spec. This is the first round of comments you'll see coming from me. This one is mostly top-level comments. 5.7.2 Application caches I found the terminology used to describe the contents of the cache sometimes