IME API Use cases editorial feedback

2012-02-29 Thread Kang-Hao (Kenny) Lu
http://dvcs.w3.org/hg/ime-api/raw-file/default/use-cases/Overview.html SUN Haitao found the description of the Traditional Chinese IME used as an example in this use cases document somewhat inaccurate. 3.1.2 Radical composer __ # typing ‘o’ produces ‘人’ on a

Re: RE: [IndexedDB] Plans to get to feature complete [Was: Numeric constants vs enumerated strings ]

2012-02-29 Thread Jonas Sicking
On Wed, Feb 29, 2012 at 10:44 AM, Odin Hørthe Omdal odi...@opera.com wrote: On Tuesday, February 28, 2012 11:17 AM, Kyle Huey wrote: Gecko does not implement the IDBSync APIs, and I don't think that is likely to change in the next few months. From: Israel Hilerio isra...@microsoft.com

Re: IME API Use cases editorial feedback

2012-02-29 Thread Timothy Chien
Kenny, Thanks for the correction, just want to say I am sure that Changjie radicals are NOT phonetics. It is correct to put them in section 3.1.2 Tim On Wed, Feb 29, 2012 at 5:59 PM, Kang-Hao (Kenny) Lu kennyl...@csail.mit.edu wrote:

Re: Colliding FileWriters

2012-02-29 Thread Jonas Sicking
On Wed, Feb 29, 2012 at 1:56 AM, Glenn Maynard gl...@zewt.org wrote: On Mon, Feb 27, 2012 at 6:40 PM, Jonas Sicking jo...@sicking.cc wrote: To do the locking without requiring calls to .close() or relying on GC we use a similar setup to IndexedDB transactions. I.e. you get an object which

Re: IME API Use cases editorial feedback

2012-02-29 Thread Glenn Adams
On Wed, Feb 29, 2012 at 2:59 AM, Kang-Hao (Kenny) Lu kennyl...@csail.mit.edu wrote: http://dvcs.w3.org/hg/ime-api/raw-file/default/use-cases/Overview.html SUN Haitao found the description of the Traditional Chinese IME used as an example in this use cases document somewhat inaccurate.

Re: [xhr] remove readystatechange event fired while invoking async send()?

2012-02-29 Thread Anne van Kesteren
On Thu, 23 Feb 2012 09:40:26 +0100, Anne van Kesteren ann...@opera.com wrote: In step eight of the send() method a substep fires a readystatechange event while the state of the object does not actually change. Internet Explorer and Firefox implement this, Safari, Chrome, and Opera do not.

Re: Colliding FileWriters

2012-02-29 Thread Eric U
On Mon, Feb 27, 2012 at 4:40 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Feb 27, 2012 at 11:36 PM, Eric U er...@google.com wrote: One working subset would be: * Keep createFileWriter async. * Make it optionally exclusive [possibly by default].  If exclusive, its length member is

[Bug 15434] [IndexedDB] Detail steps for assigning a key to a value

2012-02-29 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15434 Eliot Graff eliot...@microsoft.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug 15721] [IndexedDB] Specify when calling transaction() should throw due to being called too early

2012-02-29 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15721 Eliot Graff eliot...@microsoft.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-29 Thread Arun Ranganathan
On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan aranganat...@mozilla.com wrote: or use another algorithm with an identical result, and be decoded as UTF-8. I think this can be removed. You can always replace algorithms with equivalent ones, in any part of an implementation. and be

Re: FileReader abort, again

2012-02-29 Thread Eric U
Incidentally, the way XHR gets around this is to have open cancel any in-progress abort. We could certainly do the same thing, having any readAs* cancel abort(). On Tue, Feb 28, 2012 at 4:15 PM, Eric U er...@google.com wrote: I like the Event Invariants writeup at the end.  It's only

Re: FileReader abort, again

2012-02-29 Thread Arun Ranganathan
FileReader.abort is like a bad penny :) However, I'm not sure it quite matches the normative text in one respect. Where you say [8.5.6 step 4]: Terminate any steps while processing a read method. Does that also terminate the steps associated with an abort that terminated the read method?

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-29 Thread Glenn Adams
On Wed, Feb 29, 2012 at 2:36 PM, Arun Ranganathan aranganat...@mozilla.comwrote: On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan aranganat...@mozilla.com wrote: Should the actual UTF-8 encoding algorithm be specified by HTML? I don't know, since I think that Unicode to UTF-8 is pretty

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-29 Thread Arun Ranganathan
On Wed, Feb 29, 2012 at 2:36 PM, Arun Ranganathan aranganat...@mozilla.com wrote: On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan aranganat...@mozilla.com wrote: Should the actual UTF-8 encoding algorithm be specified by HTML? I don't know, since I think that Unicode to

Re: FileReader abort, again

2012-02-29 Thread Eric U
On Wed, Feb 29, 2012 at 1:43 PM, Arun Ranganathan aranganat...@mozilla.com wrote: FileReader.abort is like a bad penny :) However, I'm not sure it quite matches the normative text in one respect.  Where you say [8.5.6 step 4]: Terminate any steps while processing a read method.  Does that

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-29 Thread Glenn Adams
On Wed, Feb 29, 2012 at 2:58 PM, Arun Ranganathan aranganat...@mozilla.comwrote: On Wed, Feb 29, 2012 at 2:36 PM, Arun Ranganathan aranganat...@mozilla.com wrote: On Tue, Feb 28, 2012 at 6:46 PM, Arun Ranganathan aranganat...@mozilla.com wrote: Should the actual UTF-8 encoding algorithm

Re: [FileAPI, common] UTF-16 to UTF-8 conversion

2012-02-29 Thread Glenn Adams
On Wed, Feb 29, 2012 at 3:43 PM, Glenn Adams gl...@skynav.com wrote: HTML A conforming user agenthttp://dev.w3.org/2006/webapi/FileAPI/#dfn-conforming-implementation MUST support at least the subset of the functionality defined in HTML that this specification relies upon; in particular,

Re: FileReader abort, again

2012-02-29 Thread Arun Ranganathan
On Wed, Feb 29, 2012 at 1:43 PM, Arun Ranganathan Otherwise, if you start a new read in onabort [8.5.6 step 5], you'll still deliver the loadend [8.5.6 step 6]. This contradicts 8.5.9.2.1 Once a loadstart has been fired, a corresponding loadend fires at completion of the read, EXCEPT if

Re: FileReader abort, again

2012-02-29 Thread Eric U
On Wed, Feb 29, 2012 at 2:57 PM, Arun Ranganathan aranganat...@mozilla.com wrote: On Wed, Feb 29, 2012 at 1:43 PM, Arun Ranganathan Otherwise, if you start a new read in onabort [8.5.6 step 5], you'll still deliver the loadend [8.5.6 step 6]. This contradicts 8.5.9.2.1 Once a loadstart

[fileapi] timing of readyState changes vs. events

2012-02-29 Thread Eric U
In the readAsText in the latest draft [1] I see that readyState gets set to done When the blob has been read into memory fully. I see that elsewhere in the progress notification description, When the data from the blob has been completely read into memory, queue a task to fire a progress event

Re: [IndexedDB] Numeric constants vs enumerated strings

2012-02-29 Thread Jonas Sicking
On Mon, Feb 27, 2012 at 4:13 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Feb 27, 2012 at 1:44 PM, Odin Hørthe Omdal odi...@opera.com wrote: On Sat, 25 Feb 2012 00:34:40 +0100, Israel Hilerio isra...@microsoft.com wrote: We have several internal and external teams implementing solutions

Re: [IndexedDB] Transactions during window.unload?

2012-02-29 Thread Jonas Sicking
The whole issue of what happens if the user leaves the page while there are running transactions is something that we've left up to implementations. IIRC this was debated a long time ago but the conclusion was basically that implementations will use different strategies for dealing with this.

[Bug 16172] New: el shaddal dwxi 23 years celebations of faith love unity august 18::: 19 2007

2012-02-29 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16172 Summary: el shaddal dwxi 23 years celebations of faith love unity august 18::: 19 2007 Product: WebAppsWG Version: unspecified Platform: Other URL:

[Bug 16172] el shaddal dwxi 23 years celebations of faith love unity august 18::: 19 2007

2012-02-29 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16172 mi...@opera.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

RE: [FileAPI] createObjectURL isReusable proposal

2012-02-29 Thread Feras Moussa
We think the new property bag (objectURLOptions) semantics in the latest editors draft are very reasonable. We have an implementation of this and from our experience have found it very widely used internally with app developers - many leverage it as a way to get an easy to use one-time-use URL

Re: [FileAPI] createObjectURL isReusable proposal

2012-02-29 Thread Glenn Maynard
On Wed, Feb 29, 2012 at 9:38 PM, Feras Moussa fer...@microsoft.com wrote: Another case: whether loading a one-shot URL from a different origin, where you aren't allowed to load the content, still causes the URL to be revoked. (My first impression was that it shouldn't affect it at all, but

Re: [FileAPI] createObjectURL isReusable proposal

2012-02-29 Thread Bronislav Klučka
On 1.3.2012 4:38, Feras Moussa wrote: We think the new property bag (objectURLOptions) semantics in the latest editors draft are very reasonable. We have an implementation of this and from our experience have found it very widely used internally with app developers - many leverage it as a way

Re: FileSystem API: Adding file size field to Metadata?

2012-02-29 Thread Eric Uhrhane
On Tue, Feb 28, 2012 at 1:52 PM, Darin Fisher da...@chromium.org wrote: On Tue, Feb 28, 2012 at 10:47 AM, Kinuko Yasuda kin...@chromium.org wrote: Hi, While looking at the FileSystem API draft I noticed that we only expose 'modificationTime' in 'Metadata' object.  Since FileEntry itself