Commit Graph

41911 Commits

Author SHA1 Message Date
Ben Turner
864f545209 Remove indexes from IDBDatabaseRequest 2010-05-18 10:12:54 -07:00
Ben Turner
122d6fb1fa Add IDBTransactionEvent 2010-05-18 10:12:30 -07:00
Ben Turner
290d7c5745 Remove readOnly from IndexedDatabaseRequest.open 2010-05-18 10:00:58 -07:00
Ben Turner
cac15cf111 Fix keyPath madness and make autoincrement+keyPath+JSObjects work 2010-05-17 18:50:41 -07:00
Shawn Wilsher
fa464181d2 Add tables for index support. 2010-05-12 15:24:08 -07:00
Shawn Wilsher
9aeb1b0a64 Support the setting and getting of version information. 2010-05-12 12:59:11 -07:00
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