Re: [IndexedDB] Current editor's draft

2010-07-27 Thread Jeremy Orlow
On Tue, Jul 27, 2010 at 4:38 PM, Jonas Sicking wrote: > On Tue, Jul 27, 2010 at 3:14 AM, Jeremy Orlow wrote: > > On Tue, Jul 27, 2010 at 12:22 AM, Jonas Sicking > wrote: > >> > >> On Sat, Jul 24, 2010 at 8:29 AM, Jeremy Orlow > wrote: > >> >> >> And is it > >> >> >> only possible to lock exist

Re: [IndexedDB] Current editor's draft

2010-07-27 Thread Jonas Sicking
On Tue, Jul 27, 2010 at 3:14 AM, Jeremy Orlow wrote: > On Tue, Jul 27, 2010 at 12:22 AM, Jonas Sicking wrote: >> >> On Sat, Jul 24, 2010 at 8:29 AM, Jeremy Orlow wrote: >> >> >> And is it >> >> >> only possible to lock existing rows, or can you prevent new records >> >> >> from being created? >>

Re: [IndexedDB] Current editor's draft

2010-07-27 Thread Jeremy Orlow
On Tue, Jul 27, 2010 at 12:22 AM, Jonas Sicking wrote: > On Sat, Jul 24, 2010 at 8:29 AM, Jeremy Orlow wrote: > >> >> And is it > >> >> only possible to lock existing rows, or can you prevent new records > >> >> from being created? > >> > > >> > There's no way to lock yet to be created rows sinc

Re: [IndexedDB] Current editor's draft

2010-07-26 Thread Jonas Sicking
On Sat, Jul 24, 2010 at 8:29 AM, Jeremy Orlow wrote: >> >> And is it >> >> only possible to lock existing rows, or can you prevent new records >> >> from being created? >> > >> > There's no way to lock yet to be created rows since until a transaction >> > ends, its effects cannot be made visible t

Re: [IndexedDB] Current editor's draft

2010-07-24 Thread Jeremy Orlow
On Fri, Jul 23, 2010 at 4:21 PM, Jonas Sicking wrote: > On Fri, Jul 23, 2010 at 8:09 AM, Nikunj Mehta wrote: > > > > On Jul 22, 2010, at 11:27 AM, Jonas Sicking wrote: > > > >> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta > wrote: > >>> > >>> On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: >

Re: [IndexedDB] Current editor's draft

2010-07-23 Thread Jonas Sicking
On Fri, Jul 23, 2010 at 8:09 AM, Nikunj Mehta wrote: > > On Jul 22, 2010, at 11:27 AM, Jonas Sicking wrote: > >> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta wrote: >>> >>> On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: >>> From: jor...@google.com [mailto:jor...@google.com] On Behalf

Re: [IndexedDB] Current editor's draft

2010-07-23 Thread Nikunj Mehta
On Jul 22, 2010, at 11:27 AM, Jonas Sicking wrote: > On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta wrote: >> >> On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: >> >>> >>> From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow >>> Sent: Thursday, July 15, 2010 8:41 AM >>

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jeremy Orlow
On Thu, Jul 22, 2010 at 8:39 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Thursday, July 22, 2010 5:25 PM > > >> >> Regarding deadlocks, that's right, the implementation cannot > determine if > >> >> a deadlock will occur ahead of time. Sophisticated implementa

RE: [IndexedDB] Current editor's draft

2010-07-22 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Thursday, July 22, 2010 5:30 PM >> On Thu, Jul 22, 2010 at 5:26 PM, Pablo Castro >> wrote: >> > >> > From: Jonas Sicking [mailto:jo...@sicking.cc] >> > Sent: Thursday, July 22, 2010 5:18 PM >> > >> >>> > The author doesn't explicitly specify w

RE: [IndexedDB] Current editor's draft

2010-07-22 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Thursday, July 22, 2010 5:25 PM >> >> Regarding deadlocks, that's right, the implementation cannot determine if >> >> a deadlock will occur ahead of time. Sophisticated implementations could >> >> track locks/owners and do deadlock detection, a

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jonas Sicking
On Thu, Jul 22, 2010 at 5:26 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Thursday, July 22, 2010 5:18 PM > >>> > The author doesn't explicitly specify which rows to lock. All rows that >>> > you "see" become locked (e.g. through get(), put(), scanning with a

RE: [IndexedDB] Current editor's draft

2010-07-22 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Thursday, July 22, 2010 5:18 PM >> > The author doesn't explicitly specify which rows to lock. All rows that >> > you "see" become locked (e.g. through get(), put(), scanning with a >> > cursor, etc.). If you start the transaction as read-onl

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jonas Sicking
On Thu, Jul 22, 2010 at 5:18 PM, Jeremy Orlow wrote: > On Thu, Jul 22, 2010 at 7:41 PM, Pablo Castro > wrote: >> >> From: Jonas Sicking [mailto:jo...@sicking.cc] >> Sent: Thursday, July 22, 2010 11:27 AM >> >> >> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta >> >> wrote: >> >> > >> >> > On Jul 1

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jeremy Orlow
On Thu, Jul 22, 2010 at 7:41 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Thursday, July 22, 2010 11:27 AM > > >> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta > wrote: > >> > > >> > On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: > >> > > >> >> > >> >> From:

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jonas Sicking
On Thu, Jul 22, 2010 at 4:41 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Thursday, July 22, 2010 11:27 AM > >>> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta wrote: >>> > >>> > On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: >>> > >>> >> >>> >> From: jor...@

RE: [IndexedDB] Current editor's draft

2010-07-22 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Thursday, July 22, 2010 11:27 AM >> On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta wrote: >> > >> > On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: >> > >> >> >> >> From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy >> >>

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Jonas Sicking
On Thu, Jul 22, 2010 at 3:43 AM, Nikunj Mehta wrote: > > On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: > >> >> From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow >> Sent: Thursday, July 15, 2010 8:41 AM >> >> On Thu, Jul 15, 2010 at 4:30 PM, Andrei Popescu wrote: >> O

Re: [IndexedDB] Current editor's draft

2010-07-22 Thread Nikunj Mehta
On Jul 16, 2010, at 5:41 AM, Pablo Castro wrote: > > From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow > Sent: Thursday, July 15, 2010 8:41 AM > > On Thu, Jul 15, 2010 at 4:30 PM, Andrei Popescu wrote: > On Thu, Jul 15, 2010 at 3:24 PM, Jeremy Orlow wrote: >> On Thu

RE: [IndexedDB] Current editor's draft

2010-07-15 Thread Pablo Castro
From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Thursday, July 15, 2010 8:41 AM On Thu, Jul 15, 2010 at 4:30 PM, Andrei Popescu wrote: On Thu, Jul 15, 2010 at 3:24 PM, Jeremy Orlow wrote: > On Thu, Jul 15, 2010 at 3:09 PM, Andrei Popescu wrote: >> >> On Thu,

Re: [IndexedDB] Current editor's draft

2010-07-15 Thread Jeremy Orlow
On Thu, Jul 15, 2010 at 4:30 PM, Andrei Popescu wrote: > On Thu, Jul 15, 2010 at 3:24 PM, Jeremy Orlow wrote: > > On Thu, Jul 15, 2010 at 3:09 PM, Andrei Popescu > wrote: > >> > >> On Thu, Jul 15, 2010 at 9:50 AM, Jeremy Orlow > wrote: > >> >> Nikunj, could you clarify how locking works for th

Re: [IndexedDB] Current editor's draft

2010-07-15 Thread Andrei Popescu
On Thu, Jul 15, 2010 at 3:24 PM, Jeremy Orlow wrote: > On Thu, Jul 15, 2010 at 3:09 PM, Andrei Popescu wrote: >> >> On Thu, Jul 15, 2010 at 9:50 AM, Jeremy Orlow wrote: >> >> Nikunj, could you clarify how locking works for the dynamic >> >> transactions proposal that is in the spec draft right n

Re: [IndexedDB] Current editor's draft

2010-07-15 Thread Jeremy Orlow
On Thu, Jul 15, 2010 at 3:09 PM, Andrei Popescu wrote: > On Thu, Jul 15, 2010 at 9:50 AM, Jeremy Orlow wrote: > >> Nikunj, could you clarify how locking works for the dynamic > >> transactions proposal that is in the spec draft right now? > > > > I'd definitely like to hear what Nikunj originall

Re: [IndexedDB] Current editor's draft

2010-07-15 Thread Andrei Popescu
On Thu, Jul 15, 2010 at 9:50 AM, Jeremy Orlow wrote: > On Thu, Jul 15, 2010 at 2:37 AM, Jonas Sicking wrote: >> >> On Wed, Jul 14, 2010 at 6:05 PM, Pablo Castro >> wrote: >> > >> > From: Jonas Sicking [mailto:jo...@sicking.cc] >> > Sent: Wednesday, July 14, 2010 5:43 PM >> > >> > On Wed, Jul 14,

Re: [IndexedDB] Current editor's draft

2010-07-15 Thread Jeremy Orlow
On Thu, Jul 15, 2010 at 2:37 AM, Jonas Sicking wrote: > On Wed, Jul 14, 2010 at 6:05 PM, Pablo Castro > wrote: > > > > From: Jonas Sicking [mailto:jo...@sicking.cc] > > Sent: Wednesday, July 14, 2010 5:43 PM > > > > On Wed, Jul 14, 2010 at 5:03 PM, Pablo Castro > > wrote: > >> > >> From: Jonas

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jonas Sicking
On Wed, Jul 14, 2010 at 6:05 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Wednesday, July 14, 2010 5:43 PM > > On Wed, Jul 14, 2010 at 5:03 PM, Pablo Castro > wrote: >> >> From: Jonas Sicking [mailto:jo...@sicking.cc] >> Sent: Wednesday, July 14, 2010 12:07 AM

RE: [IndexedDB] Current editor's draft

2010-07-14 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Wednesday, July 14, 2010 5:43 PM On Wed, Jul 14, 2010 at 5:03 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Wednesday, July 14, 2010 12:07 AM > >> I think what I'm struggling with is how dynamic transaction

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jonas Sicking
On Wed, Jul 14, 2010 at 5:03 PM, Pablo Castro wrote: > > From: Jonas Sicking [mailto:jo...@sicking.cc] > Sent: Wednesday, July 14, 2010 12:07 AM > >>> > Dynamic transactions: >>> > I see that most folks would like to see these going away. While I like >>> > the predictability and simplifications

RE: [IndexedDB] Current editor's draft

2010-07-14 Thread Pablo Castro
From: jor...@google.com [mailto:jor...@google.com] On Behalf Of Jeremy Orlow Sent: Wednesday, July 14, 2010 12:10 AM On Wed, Jul 14, 2010 at 3:52 AM, Pablo Castro wrote: From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Andrei Popescu Sent: Monday, July 1

RE: [IndexedDB] Current editor's draft

2010-07-14 Thread Pablo Castro
From: Jonas Sicking [mailto:jo...@sicking.cc] Sent: Wednesday, July 14, 2010 12:07 AM >> > Dynamic transactions: >> > I see that most folks would like to see these going away. While I like the >> > predictability and simplifications that we're able to make by using static >> > scopes for trans

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jonas Sicking
On Wed, Jul 14, 2010 at 9:28 AM, Andrei Popescu wrote: > On Wed, Jul 14, 2010 at 5:21 PM, Jonas Sicking wrote: >> On Wed, Jul 14, 2010 at 5:20 AM, Andrei Popescu wrote: >>> Hi, >>> >>> I would like to propose that we update the current spec to reflect all >>> the changes we have agreement on. We

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Andrei Popescu
On Wed, Jul 14, 2010 at 5:21 PM, Jonas Sicking wrote: > On Wed, Jul 14, 2010 at 5:20 AM, Andrei Popescu wrote: >> Hi, >> >> I would like to propose that we update the current spec to reflect all >> the changes we have agreement on. We can then iteratively review and >> make edits as soon as the r

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jonas Sicking
On Wed, Jul 14, 2010 at 5:20 AM, Andrei Popescu wrote: > Hi, > > I would like to propose that we update the current spec to reflect all > the changes we have agreement on. We can then iteratively review and > make edits as soon as the remaining issues are solved.  Concretely, I > would like to che

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread ben turner
On Wed, Jul 14, 2010 at 3:10 AM, Jeremy Orlow wrote: > For example, with dynamic transactions you can get into live-lock > situations. I'm particularly opposed to dynamic transactions for just this reason. We would clearly have to throw an exception or call the error callback if we detect liveloc

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jeremy Orlow
On Wed, Jul 14, 2010 at 1:20 PM, Andrei Popescu wrote: > Hi, > > I would like to propose that we update the current spec to reflect all > the changes we have agreement on. We can then iteratively review and > make edits as soon as the remaining issues are solved. Concretely, I > would like to ch

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Andrei Popescu
Hi, I would like to propose that we update the current spec to reflect all the changes we have agreement on. We can then iteratively review and make edits as soon as the remaining issues are solved. Concretely, I would like to check in a fix for http://www.w3.org/Bugs/Public/show_bug.cgi?id=9975

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jeremy Orlow
On Wed, Jul 14, 2010 at 3:52 AM, Pablo Castro wrote: > > From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] > On Behalf Of Andrei Popescu > Sent: Monday, July 12, 2010 5:23 AM > > Sorry I disappeared for a while. Catching up with this discussion was an > interesting exercis

Re: [IndexedDB] Current editor's draft

2010-07-14 Thread Jonas Sicking
Hi Pablo, First off, thanks for your comments! (Probably too much) details below. On Tue, Jul 13, 2010 at 7:52 PM, Pablo Castro wrote: > > From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On > Behalf Of Andrei Popescu > Sent: Monday, July 12, 2010 5:23 AM > > Sorry I d

RE: [IndexedDB] Current editor's draft

2010-07-13 Thread Pablo Castro
From: public-webapps-requ...@w3.org [mailto:public-webapps-requ...@w3.org] On Behalf Of Andrei Popescu Sent: Monday, July 12, 2010 5:23 AM Sorry I disappeared for a while. Catching up with this discussion was an interesting exercise...there is no particular message in this thread I can respond

Re: [IndexedDB] Current editor's draft

2010-07-12 Thread Andrei Popescu
Nikunj, On Fri, Jul 9, 2010 at 8:21 PM, Nikunj Mehta wrote: > > > From my examples, it was clear that we need different object stores to be > opened in different modes. Currently dynamic scope supports this use case, > i.e., allow mode specification on a per object-store basis. Therefore, unles

Re: [IndexedDB] Current editor's draft

2010-07-10 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 6:27 PM, Jonas Sicking wrote: >> I also did not hear from you about explicit commits. Did that mean that you >> agree with that part of my proposal? There are several examples where it >> makes sense to explicitly commit, although it is automatic in some cases. > > I haven

Re: [IndexedDB] Current editor's draft

2010-07-10 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 12:50 PM, Nikunj Mehta wrote: > > On Jul 10, 2010, at 12:29 AM, Jonas Sicking wrote: > >> On Fri, Jul 9, 2010 at 11:05 AM, Nikunj Mehta wrote: >>> We would not make dynamic transactions be the default since they would >>> produce more concurrency than static scoped transact

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 12:21 PM, Nikunj Mehta wrote: >>> >>> I don't think it's even possible with the current API since >>> openTransaction() takes a list of objectStore names but a single mode. >> >> Indeed. We could allow static transactions to use different lock >> levels for different ob

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 11:44 AM, Nikunj Mehta wrote: > > On Jul 8, 2010, at 12:38 AM, Jonas Sicking wrote: > >> On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: >>> >>> >>> On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: >

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 11:27 AM, Nikunj Mehta wrote: > > On Jul 7, 2010, at 12:57 PM, Jonas Sicking wrote: > > 2. Provide a catalog object that can be used to atomically add/remove > object stores and indexes as well as modify version. It seems to me that a catalog object doesn't

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Shawn Wilsher
On 7/9/2010 12:50 PM, Nikunj Mehta wrote: The point is that we are talking of leaving out dynamic scope in v1, while, in the same vein, talking of making READ_ONLY the default _because_ it produces "good" performance. That is, IMHO, contradictory. Dynamic scope == dynamic transactions, correct

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Shawn Wilsher
On 7/9/2010 11:05 AM, Nikunj Mehta wrote: We would not make dynamic transactions be the default since they would produce more concurrency than static scoped transactions, correct? I'm still of the opinion that dynamic transactions are a bad idea because it's too easy to hold a transaction open

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Andrei Popescu
Hi Nikunj, On Fri, Jul 9, 2010 at 7:31 PM, Nikunj Mehta wrote: > Andrei, > > Pejorative remarks about normative text don't help anyone. If you think that > the spec text is not clear or that you are unable to interpret it, please say > so. The text about dynamic scope has been around for long e

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
On Jul 10, 2010, at 12:29 AM, Jonas Sicking wrote: > On Fri, Jul 9, 2010 at 11:05 AM, Nikunj Mehta wrote: >> We would not make dynamic transactions be the default since they would >> produce more concurrency than static scoped transactions, correct? >> On Jul 7, 2010, at 12:57 PM, Jonas Sicking

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
On Jul 8, 2010, at 12:38 AM, Jonas Sicking wrote: > > One of our main points was to make getting objectStore > objects a synchronous operation as to avoid having to nest multiple > levels of asynchronous calls. Compare > > var req = db.openObjectStore("foo", trans);

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
On Jul 8, 2010, at 4:17 AM, Shawn Wilsher wrote: > On 7/6/2010 6:31 PM, Nikunj Mehta wrote: >> To begin with, 10052 shuts down the "users" of the database completely when >> only one is changing its structure, i.e., adding or removing an object >> store. How can we make it less draconian? Secondl

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
On Jul 8, 2010, at 12:38 AM, Jonas Sicking wrote: > On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: >> >> >> On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: >>> >>> On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking wrote: >>>

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 11:05 AM, Nikunj Mehta wrote: > We would not make dynamic transactions be the default since they would > produce more concurrency than static scoped transactions, correct? > On Jul 7, 2010, at 12:57 PM, Jonas Sicking wrote: I'm not sure I understand the question. We would u

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
Andrei, Pejorative remarks about normative text don't help anyone. If you think that the spec text is not clear or that you are unable to interpret it, please say so. The text about dynamic scope has been around for long enough and no one so far mentioned a problem with them. Nikunj On Jul 7,

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
On Jul 7, 2010, at 12:57 PM, Jonas Sicking wrote: 2. Provide a catalog object that can be used to atomically add/remove object stores and indexes as well as modify version. >>> >>> It seems to me that a catalog object doesn't really provide any >>> functionality over the proposal in bu

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Nikunj Mehta
We would not make dynamic transactions be the default since they would produce more concurrency than static scoped transactions, correct? On Jul 7, 2010, at 12:57 PM, Jonas Sicking wrote: >>> Unless we're planning on making all >>> transactions dynamic (I hope not), locks have to be grabbed when

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Jonas Sicking
On Fri, Jul 9, 2010 at 3:21 AM, Andrei Popescu wrote: > On Thu, Jul 8, 2010 at 8:27 PM, Jonas Sicking wrote: >> On Thu, Jul 8, 2010 at 8:22 AM, Andrei Popescu wrote: >>> Hi Jonas, >>> >>> On Wed, Jul 7, 2010 at 8:08 PM, Jonas Sicking wrote: On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu

Re: [IndexedDB] Current editor's draft

2010-07-09 Thread Andrei Popescu
On Thu, Jul 8, 2010 at 8:27 PM, Jonas Sicking wrote: > On Thu, Jul 8, 2010 at 8:22 AM, Andrei Popescu wrote: >> Hi Jonas, >> >> On Wed, Jul 7, 2010 at 8:08 PM, Jonas Sicking wrote: >>> On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: On Wed, Jul 7, 2010 at 8:27 AM, Jonas Si

Re: [IndexedDB] Current editor's draft

2010-07-08 Thread Jonas Sicking
On Thu, Jul 8, 2010 at 8:22 AM, Andrei Popescu wrote: > Hi Jonas, > > On Wed, Jul 7, 2010 at 8:08 PM, Jonas Sicking wrote: >> On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: >>> >>> >>> On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: On Tue, Jul 6, 2010 at 6:31 PM, Nikunj

Re: [IndexedDB] Current editor's draft

2010-07-08 Thread Jonas Sicking
On Thu, Jul 8, 2010 at 8:22 AM, Andrei Popescu wrote: > Hi Jonas, > > On Wed, Jul 7, 2010 at 8:08 PM, Jonas Sicking wrote: >> On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: >>> >>> >>> On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: On Tue, Jul 6, 2010 at 6:31 PM, Nikunj

Re: [IndexedDB] Current editor's draft

2010-07-08 Thread Andrei Popescu
Hi Jonas, On Wed, Jul 7, 2010 at 8:08 PM, Jonas Sicking wrote: > On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: >> >> >> On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: >>> >>> On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: >>> > On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking

Re: [IndexedDB] Current editor's draft

2010-07-07 Thread Shawn Wilsher
On 7/7/2010 12:27 AM, Jonas Sicking wrote: This interface allows asynchronously requesting more objectStores to be locked. The author must take care whenever calling openObjectStores that the request might fail due to deadlocks. But as previously stated, I think this adds too much complexity an

Re: [IndexedDB] Current editor's draft

2010-07-07 Thread Shawn Wilsher
On 7/6/2010 6:31 PM, Nikunj Mehta wrote: To begin with, 10052 shuts down the "users" of the database completely when only one is changing its structure, i.e., adding or removing an object store. How can we make it less draconian? Secondly, I don't see how that approach can produce atomic changes

Re: [IndexedDB] Current editor's draft

2010-07-07 Thread Jonas Sicking
On Wed, Jul 7, 2010 at 10:41 AM, Andrei Popescu wrote: > > > On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: >> >> On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: >> > On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking wrote: >> >> >> >> On Tue, Jul 6, 2010 at 9:36 AM, Nikunj Mehta >> >> w

Re: [IndexedDB] Current editor's draft

2010-07-07 Thread Andrei Popescu
On Wed, Jul 7, 2010 at 8:27 AM, Jonas Sicking wrote: > On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: > > On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking wrote: > >> > >> On Tue, Jul 6, 2010 at 9:36 AM, Nikunj Mehta > wrote: > >> > Hi folks, > >> > > >> > There are several unimplemented pro

Re: [IndexedDB] Current editor's draft

2010-07-07 Thread Jonas Sicking
On Tue, Jul 6, 2010 at 6:31 PM, Nikunj Mehta wrote: > On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking wrote: >> >> On Tue, Jul 6, 2010 at 9:36 AM, Nikunj Mehta wrote: >> > Hi folks, >> > >> > There are several unimplemented proposals on strengthening and >> > expanding IndexedDB. The reason I have

Re: [IndexedDB] Current editor's draft

2010-07-06 Thread Nikunj Mehta
On Wed, Jul 7, 2010 at 5:57 AM, Jonas Sicking wrote: > On Tue, Jul 6, 2010 at 9:36 AM, Nikunj Mehta wrote: > > Hi folks, > > > > There are several unimplemented proposals on strengthening and > > expanding IndexedDB. The reason I have not implemented them yet is > > because I am not convinced th

Re: [IndexedDB] Current editor's draft

2010-07-06 Thread Jonas Sicking
On Tue, Jul 6, 2010 at 9:36 AM, Nikunj Mehta wrote: > Hi folks, > > There are several unimplemented proposals on strengthening and > expanding IndexedDB. The reason I have not implemented them yet is > because I am not convinced they are necessary in toto. Here's my > attempt at explaining why. I