Commit Graph

41905 Commits

Author SHA1 Message Date
Shawn Wilsher
7318105b8e Add test for inline autoincrement keys being added to object stores when they are stored.
Also refactors some common test code.
2010-05-11 16:22:44 -07:00
Shawn Wilsher
b2c3afd9ab Cache get statements for object stores.
Also makes sure we reset other statements that we use.
2010-05-11 15:23:22 -07:00
Shawn Wilsher
cf84e90938 Fix transaction issue and assert that we have a connection in DoDatabaseWork methods that need it.
--HG--
extra : rebase_source : 0bb2d5b4b7dbf45b64a437f7dd1b7127708cd06c
2010-05-11 14:33:35 -07:00
Ben Turner
c99dc21cb1 Better timeout setting 2010-05-11 14:21:33 -07:00
Ben Turner
c072fbaa3f Disable broken test until we can figure out what to do with it 2010-05-11 09:39:27 -07:00
Ben Turner
5a1a23f3d9 Allow subclasses to override timeout value for AsyncConnectionHelper 2010-05-10 17:29:20 -07:00
Ben Turner
9a0865f767 Simple timeout support for queries 2010-05-10 17:22:20 -07:00
Ben Turner
72eae22266 Fixups 2010-05-10 14:54:27 -07:00
Shawn Wilsher
1864a37944 Add two additional test cases for removing puted items, and a small fix to make sure all cases of put are actually inserted. 2010-05-10 14:26:56 -07:00
Shawn Wilsher
7825f33ec2 Handle all inline key cases for put and add tests that removing works.
--HG--
extra : rebase_source : 341ade97cf91b6d5d903a67f12c2d17b759bdc88
2010-05-10 13:42:23 -07:00
Ben Turner
8b1779aedd Make GetSuccessResult return an error code 2010-05-10 12:01:55 -07:00
Shawn Wilsher
b822e970e4 Make the test more awesome with generator send support. 2010-05-10 10:49:42 -07:00
Ben Turner
30317337c9 Make indexedDB.open async 2010-05-09 21:26:31 -07:00
Ben Turner
ad78046b90 Move 'source' property from IDBRequest to success/error events 2010-05-09 15:04:46 -07:00
Shawn Wilsher
c2a5fe35aa Fix put to work better. Now with tests. 2010-05-07 16:18:27 -07:00
Ben Turner
d50e2e3c8e Fix leak 2010-05-07 16:04:22 -07:00
Ben Turner
fdf236368d Fix overwrite method, and bad cleanup of comptrs 2010-05-07 15:05:42 -07:00
Shawn Wilsher
18b42344d0 Implement remove on an object store with cached statements. 2010-05-07 14:15:23 -07:00
Ben Turner
a984bf7f15 Make put have aNoOverwrite default to true 2010-05-07 11:37:41 -07:00
Ben Turner
a8497d0a14 Finalize cached statements on the connection thread 2010-05-06 22:17:14 -07:00
Shawn Wilsher
4fe9e6dfe4 Cache put statements to avoid the cost of recreating them all the time. 2010-05-06 10:59:31 -07:00
Ben Turner
30cfb9b1d1 Fix LazyIdleThread to work properly and not eat events and hang the browser. 2010-05-05 22:44:49 -07:00
Ben Turner
6c2466d8ad Merge mozilla-central 2010-05-04 17:39:59 -07:00
Ben Turner
4c0691f45e Add tests for get and put 2010-05-04 17:36:42 -07:00
Ben Turner
c394cbd4de Fix Get/Put to correctly deal with different key types 2010-05-04 16:44:04 -07:00
Shawn Wilsher
4a10a6a0aa Try harder to make get work on an object store. 2010-05-04 15:59:17 -07:00
Shawn Wilsher
779456c30b Try harder to make put work better. 2010-05-04 15:13:50 -07:00
Ben Turner
7dfcefae59 Add Get/Put on IDBObjectStoreRequest, move database files into subfolders based on origin 2010-05-04 13:25:16 -07:00
Jason Orendorff
afeaf2a57a Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander. 2010-05-04 14:57:27 -05:00
Mats Palmgren
5d589f9726 Disable the test for bug 563416 for now. 2010-05-04 20:27:40 +02:00
Masayuki Nakano
6aa99dc4be Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug 2010-05-05 02:40:39 +09:00
Robert Sayre
faf02611d9 Merge tracemonkey to mozilla-central. 2010-05-04 13:27:55 -04:00
Mats Palmgren
fcb34d8042 Layout the child unless the rects are exactly equal; both being empty does not count as equal here. b=563416 r=roc 2010-05-04 19:21:43 +02:00
Shawn Wilsher
d7012c1e13 Initial object store put implementation. 2010-05-04 10:05:11 -07:00
Serge Gautherie
8fc0512b9d Bug 557958 - Get rid of MOZ_DISABLE_VISTA_SDK_REQUIREMENTS, which was deprecated in m-1.9.2; (Av1) Just get rid of it.
r=ted.mielczarek.
2010-05-04 17:30:31 +02:00
Serge Gautherie
d7497412f7 Bug 517122 - Remove MOZ_DEFAULT_TOOLKIT remnants(!?); (Bv1) Just remove them.
r=ted.mielczarek.
2010-05-04 17:29:02 +02:00
Daniel Holbert
d4bf1daecc Bug 562310 followup: remove whitespace on empty lines, in nsCharSeparatedTokenizer.h. (whitespace-only changes) 2010-05-04 07:43:48 -07:00
Daniel Holbert
4d7b4ac88a Bug 562310 Part 6: Convert C-string version (nsCCommaSeparatedTokenizer) into generic nsCCharSeparatedTokenizer class, too. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
003d36c7fc Bug 562310 Part 5: Use nsCharSeparatedTokenizer to simplify/fix existing parsing code in SVG and SMIL. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
06a036b3ef Bug 562310 Part 4: Remove nsCommaSeparatedTokenizer typedef, and replace its uses with nsCharSeparatedTokenizer(','). r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
54c4f9b04b Bug 562310 Part 3: Extend nsCharSeparatedTokenizer to allow separator to be optional. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
a904d63111 Bug 562310 Part 2: Convert nsCommaSeparatedTokenizer class into a custom-SeparatorChar version, nsCharSeparatedTokenizer. r=roc 2010-05-04 07:43:48 -07:00
Daniel Holbert
20950733f1 Bug 562310 Part 1: Rename file nsCommaSeparatedTokenizer.h to nsCharSeparatedTokenizer.h (and update #includes). r=roc
--HG--
rename : xpcom/ds/nsCommaSeparatedTokenizer.h => xpcom/ds/nsCharSeparatedTokenizer.h
2010-05-04 07:43:48 -07:00
Peter Van der Beken
8295166c92 Fix more bustage in testcase for bug 551654. 2010-05-04 16:09:37 +02:00
Peter Van der Beken
cfd9eb568d Fix bustage in testcase for bug 551654.
--HG--
extra : rebase_source : b51a740e03cd15e92ae6a24cf7917db68f41b1d0
2010-05-04 15:41:12 +02:00
Peter Van der Beken
b6d7166e39 Fix bustage in testcase for bug 551412.
--HG--
extra : rebase_source : bb89bc9b30e4dbbc220fda6f74a1fca3ddfbee6f
2010-05-04 15:40:43 +02:00
Olli Pettay
611286756a Bug 562321 - De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 16:19:54 +03:00
Andreas Wictor
d494805a08 Fix for bug 551654 (The EXSLT node-set function fails to convert number, boolean and string values to text nodes). r=peterv. 2010-05-04 12:10:44 +02:00
Peter Van der Beken
9c4f35056f Fix for bug 551412 (The EXSLT node-set function drops text nodes if they appear last in a rtf). r=sicking. 2010-05-04 12:10:40 +02:00
Olli Pettay
8f9fc8c4d8 backout Bug 562321 2010-05-04 12:46:37 +03:00