Re: [IndexedDB] Languages for collation

2010-08-12 Thread Mikeal Rogers
Why not just use the unicode collation algorithm? Then you won't have to hint the locale. http://en.wikipedia.org/wiki/Unicode_collation_algorithm CouchDB uses some definitions around sorting complex types like arrays and objects but when it comes down to sorting strings it just defaults to to

RE: [IndexedDB] Languages for collation

2010-08-12 Thread Pablo Castro
From: Mikeal Rogers [mailto:mikeal.rog...@gmail.com] Sent: Wednesday, August 11, 2010 11:35 PM Why not just use the unicode collation algorithm? Then you won't have to hint the locale. Unless I'm missing something, the UCA defines the general algorithm for collating strings but you

Re: [IndexedDB] Languages for collation

2010-08-12 Thread Jeremy Orlow
On Thu, Aug 12, 2010 at 8:28 AM, Pablo Castro pablo.cas...@microsoft.comwrote: From: Mikeal Rogers [mailto:mikeal.rog...@gmail.com] Sent: Wednesday, August 11, 2010 11:35 PM Why not just use the unicode collation algorithm? Then you won't have to hint the locale. Unless I'm missing

Re: [IndexedDB] Languages for collation

2010-08-12 Thread Jonas Sicking
On Wed, Aug 11, 2010 at 11:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We had some discussions about collation algorithms and such in the past, but I don't think we have settled on the language aspect of it. In order to have stores and indexes sort character-based keys in a way that

Re: [IndexedDB] Languages for collation

2010-08-12 Thread Jeremy Orlow
On Thu, Aug 12, 2010 at 11:19 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Aug 11, 2010 at 11:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We had some discussions about collation algorithms and such in the past, but I don't think we have settled on the language aspect of it. In

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Jeremy Orlow
I don't feel strongly. I'll file a bug for our proposed solution. On Thu, Aug 12, 2010 at 1:01 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Aug 11, 2010 at 4:05 PM, Jeremy Orlow jor...@chromium.org wrote: On Wed, Aug 11, 2010 at 10:33 PM, Jonas Sicking jo...@sicking.cc wrote: On

[Bug 10349] New: [IndexedDB] IDBDatabase.description should be removed from the spec and made optional

2010-08-12 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10349 Summary: [IndexedDB] IDBDatabase.description should be removed from the spec and made optional Product: WebAppsWG Version: unspecified Platform: PC OS/Version: All

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Jeremy Orlow
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10349 One quesiton though: if they pass in null or undefined, do we want to interpret this as the argument not being passed in or simply let them convert to undefined and null (which is the default behavior in WebIDL, I believe). I feel somewhat

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Jonas Sicking
On Thu, Aug 12, 2010 at 3:41 AM, Jeremy Orlow jor...@chromium.org wrote: http://www.w3.org/Bugs/Public/show_bug.cgi?id=10349 One quesiton though: if they pass in null or undefined, do we want to interpret this as the argument not being passed in or simply let them convert to undefined and null

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Jeremy Orlow
On Thu, Aug 12, 2010 at 11:55 AM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Aug 12, 2010 at 3:41 AM, Jeremy Orlow jor...@chromium.org wrote: http://www.w3.org/Bugs/Public/show_bug.cgi?id=10349 One quesiton though: if they pass in null or undefined, do we want to interpret this as the

[XHR] Redirects

2010-08-12 Thread João Eiras
Hi ! a) If a XHR follows a redirection chain, does the API provide a way to retrieve the final url? b) Could there be a way to opt-in into not following redirection chains ? For instance, a redirectCount property, default value would be something like Infinity (the user agent could then cap the

[widgets] Draft minutes 12 August 2010 voice conf

2010-08-12 Thread Arthur Barstow
Below are the draft minutes from the August 12 Widgets voice conference WG Members - if you have any comments, corrections, etc., please send them to the public-webapps mail list before August 26 (the next Widgets voice conference); otherwise these minutes will be considered Approved. -Art

Is anyone attending Web science: A new frontier at the Royal Society?

2010-08-12 Thread Jonathan Chetwynd
Is anyone attending Web science: A new frontier at the Royal Society? http://royalsociety.org/Web-science-a-new-frontier cheers Jonathan

RE: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Pablo Castro
From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Jeremy Orlow Sent: Thursday, August 12, 2010 3:59 AM On Thu, Aug 12, 2010 at 11:55 AM, Jonas Sicking jo...@sicking.cc wrote: On Thu, Aug 12, 2010 at 3:41 AM, Jeremy Orlow jor...@chromium.org wrote:

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Andrei Popescu
On Thu, Aug 12, 2010 at 6:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Jeremy Orlow Sent: Thursday, August 12, 2010 3:59 AM On Thu, Aug 12, 2010 at 11:55 AM, Jonas Sicking jo...@sicking.cc

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Andrei Popescu
On Thu, Aug 12, 2010 at 6:54 PM, Andrei Popescu andr...@google.com wrote: On Thu, Aug 12, 2010 at 6:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Jeremy Orlow Sent: Thursday, August 12, 2010 3:59

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Jeremy Orlow
That sounds great to me. On Thu, Aug 12, 2010 at 10:55 AM, Andrei Popescu andr...@google.com wrote: On Thu, Aug 12, 2010 at 6:54 PM, Andrei Popescu andr...@google.com wrote: On Thu, Aug 12, 2010 at 6:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: From:

Re: [IndexedDB] question about description argument of IDBFactory::open()

2010-08-12 Thread Tab Atkins Jr.
On Thu, Aug 12, 2010 at 11:44 AM, Jeremy Orlow jor...@chromium.org wrote: On Thu, Aug 12, 2010 at 10:55 AM, Andrei Popescu andr...@google.com wrote: Given that open() is one of those functions that are likely to grow in parameters over time, I wonder if we should consider taking an object as

[IndexedDB] READ_ONLY vs SNAPSHOT_READ transactions

2010-08-12 Thread Pablo Castro
We currently have two read-only transaction modes, READ_ONLY and SNAPSHOT_READ. As we map this out to implementation we ran into various questions that made me wonder whether we have the right set of modes. It seems that READ_ONLY and SNAPSHOT_READ are identical in every aspect (point-in-time

Re: [IndexedDB] READ_ONLY vs SNAPSHOT_READ transactions

2010-08-12 Thread Jeremy Orlow
On Thu, Aug 12, 2010 at 10:22 PM, Pablo Castro pablo.cas...@microsoft.comwrote: We currently have two read-only transaction modes, READ_ONLY and SNAPSHOT_READ. As we map this out to implementation we ran into various questions that made me wonder whether we have the right set of modes. It

Re: [IndexedDB] READ_ONLY vs SNAPSHOT_READ transactions

2010-08-12 Thread Nikunj Mehta
On Aug 12, 2010, at 2:22 PM, Pablo Castro wrote: We currently have two read-only transaction modes, READ_ONLY and SNAPSHOT_READ. As we map this out to implementation we ran into various questions that made me wonder whether we have the right set of modes. It seems that READ_ONLY and

Re: [IndexedDB] READ_ONLY vs SNAPSHOT_READ transactions

2010-08-12 Thread Jonas Sicking
On Thu, Aug 12, 2010 at 2:46 PM, Nikunj Mehta nik...@o-micron.com wrote: On Aug 12, 2010, at 2:22 PM, Pablo Castro wrote: We currently have two read-only transaction modes, READ_ONLY and SNAPSHOT_READ. As we map this out to implementation we ran into various questions that made me wonder

Re: [XHR] Redirects

2010-08-12 Thread Anne van Kesteren
On Thu, 12 Aug 2010 15:07:50 +0200, João Eiras joao.ei...@gmail.com wrote: Hi ! a) If a XHR follows a redirection chain, does the API provide a way to retrieve the final url? Apart from document.responseXML.URL I do not think so. And I'm not sure if document.responseXML.URL is supposed to

Re: [XHR] Redirects

2010-08-12 Thread João Eiras
On , Anne van Kesteren ann...@opera.com wrote: On Thu, 12 Aug 2010 15:07:50 +0200, João Eiras joao.ei...@gmail.com wrote: Hi ! a) If a XHR follows a redirection chain, does the API provide a way to retrieve the final url? Apart from document.responseXML.URL I do not think so. And I'm not

Re: [XHR] Redirects

2010-08-12 Thread Adam Barth
On Thu, Aug 12, 2010 at 3:03 PM, Anne van Kesteren ann...@opera.com wrote: On Thu, 12 Aug 2010 15:07:50 +0200, João Eiras joao.ei...@gmail.com wrote: Hi ! a) If a XHR follows a redirection chain, does the API provide a way to retrieve the final url? Apart from document.responseXML.URL I do

[Bug 10357] New: [IndexedDB] Remove the SNAPSHOT_READ transaction mode

2010-08-12 Thread bugzilla
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10357 Summary: [IndexedDB] Remove the SNAPSHOT_READ transaction mode Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal

RE: [IndexedDB] Languages for collation

2010-08-12 Thread Pablo Castro
From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Thursday, August 12, 2010 2:18 AM I think we should first break down the use cases and look at how many of them just need _a_ sort order, how many of them a per-database sort order is ok, and how many of them

RE: [IndexedDB] Languages for collation

2010-08-12 Thread Pablo Castro
From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Thursday, August 12, 2010 3:36 AM On Thu, Aug 12, 2010 at 11:19 AM, Jonas Sicking jo...@sicking.cc wrote: On Wed, Aug 11, 2010 at 11:28 PM, Pablo Castro pablo.cas...@microsoft.com wrote: We had some