Commit Graph

43010 Commits

Author SHA1 Message Date
Ben Turner
82f1c80364 Implement index.openCursor 2010-06-04 18:48:12 -07:00
Ben Turner
9d69b39ada Consolidate some code 2010-06-04 13:47:36 -07:00
Ben Turner
71e4ee9067 Implement GetObject on indexes 2010-06-04 13:05:39 -07:00
Ben Turner
fa9133a880 Fix index tests 2010-06-04 12:37:35 -07:00
Shawn Wilsher
8cbd534e4e Write better 2010-06-04 12:05:17 -07:00
Shawn Wilsher
389e4ababd Better working index creation code.
--HG--
extra : rebase_source : dfef291a72d7cffe7a7ebf990296f4c28fff3c4d
2010-06-04 11:45:04 -07:00
Ben Turner
5f81d77125 Make add/modify update relevant indexes 2010-06-04 11:20:32 -07:00
Ben Turner
d0550dc311 Fix GetAddInfo 2010-06-04 10:39:17 -07:00
Shawn Wilsher
789b10bd19 Actually populate data on index creation. 2010-06-04 10:09:53 -07:00
Ben Turner
6e008467c2 Fix query error 2010-06-04 10:06:00 -07:00
Ben Turner
4639b819cb Add cached statements for updating indexes 2010-06-04 10:00:18 -07:00
Shawn Wilsher
39bcbf8ab0 Gather the data to populate indexes on index creation.
--HG--
extra : rebase_source : 6bba623dc9bd1e5fdebe36252e2d05e50441b2e1
2010-06-03 17:28:37 -07:00
Ben Turner
65d06f7dc7 Get info to update index information for add/modify 2010-06-03 17:18:58 -07:00
Shawn Wilsher
5e6370e39d Update indexes should indicate that it's not done yet... 2010-06-03 16:33:54 -07:00
Ben Turner
76b1aa1503 Fix 2010-06-03 16:39:59 -07:00
Ben Turner
5e636aa26a Add helper for retrieving KeyPath value from JSON 2010-06-03 16:32:59 -07:00
Shawn Wilsher
4b0375736e Building blocks to support index updating.
--HG--
extra : rebase_source : 1859aa9be8b7ec08a281b484abbbb5f56bcec59a
2010-06-03 15:53:41 -07:00
Ben Turner
7a160c6467 Add index.get(), and test 2010-06-03 15:59:08 -07:00
Ben Turner
52ebfc7c4d Add helper for JSON 2010-06-03 15:42:52 -07:00
Ben Turner
f15c9f08b3 Fix test
--HG--
extra : rebase_source : 4afa91dbbea34da1f9de5c8e7e0de3de075000c7
2010-06-03 14:29:26 -07:00
Shawn Wilsher
422a351065 Remove unneeded method
--HG--
extra : rebase_source : 63458dadaadd9fc04d97c4319bb7893890cf77d4
2010-06-03 14:04:13 -07:00
Ben Turner
2b17bac168 Add IndexInfo 2010-06-03 13:58:18 -07:00
Shawn Wilsher
f2880ba0eb Add queries for getObject. 2010-06-03 11:37:55 -07:00
Shawn Wilsher
b7114151e6 Add cached statements for getting on an index. 2010-06-03 10:55:37 -07:00
Ben Turner
091aa39c38 Fix add twice failures 2010-06-03 10:47:07 -07:00
Ben Turner
3ff06db89e DOMClassInfo for indexes 2010-06-02 22:11:48 -07:00
Ben Turner
ed34b07500 Fix savepoint rollback code 2010-06-02 20:08:23 -07:00
Ben Turner
86cff3e357 Implement Remove on cursors 2010-06-02 19:52:52 -07:00
Ben Turner
890c7c1a76 Fix RemoveHelper result event 2010-06-02 18:15:33 -07:00
Ben Turner
171acc8c7e Future proof some key type checks 2010-06-02 18:05:23 -07:00
Ben Turner
311f732309 Add Update support for cursors 2010-06-02 17:23:22 -07:00
Shawn Wilsher
8503626d66 Add remove index support. 2010-06-02 15:25:57 -07:00
Shawn Wilsher
28d007b985 Add index creation support with a test. 2010-06-01 13:56:09 -07:00
Shawn Wilsher
f62fba4545 Add sqlite3_unlock_notify to the def file so windows builds again. 2010-06-02 11:06:49 -07:00
Ben Turner
5c20ae84f0 Fix up continue(key), it was actually broken 2010-06-02 09:41:46 -07:00
Ben Turner
cf982fae48 Implement cursor.continue(key) 2010-06-01 21:07:11 -07:00
Ben Turner
a3b251b947 Basic cursor support 2010-06-01 16:11:18 -07:00
Ben Turner
bb310200fe Cache desrialized jsvals to avoid JSON'ing multiple times 2010-06-01 09:03:42 -07:00
Ben Turner
78a8f2b593 Don't allow null keys for modify or remove operations 2010-05-31 19:23:46 -07:00
Ben Turner
a625ca95e9 Make requests and transactions have functional abort(), readystate too. 2010-05-31 12:06:47 -07:00
Ben Turner
901ac98034 Remove alert from a test, oops. 2010-05-30 15:29:15 -07:00
Ben Turner
403a6f141c Properly implement null keys (with UUIDs for now)
--HG--
rename : dom/indexedDB/test/test_null_key_uniqueness.html => dom/indexedDB/test/test_null_keys.html
2010-05-30 11:14:13 -07:00
Ben Turner
438b20ac44 Don't allow writers to starve 2010-05-28 22:45:24 -07:00
Ben Turner
d2fb9aee66 Add another failing test so I don't forget about it 2010-05-28 18:45:19 -07:00
Ben Turner
f8776516fc Update schema to fix uniqueness problems 2010-05-28 18:41:52 -07:00
Ben Turner
4704162c1a Merge mozilla-central 2010-05-28 17:01:31 -07:00
Dan Witte
da1b52ad84 Back out failing tests. 2010-05-28 16:58:06 -07:00
Ben Turner
dbfb8d871b Use sqlite3_unlock_notify() to prevent concurrent writers from crapping out 2010-05-28 16:57:07 -07:00
Vladimir Vukicevic
0c765f221e b=520136; clear canvaselement member on SetCanvasElement; r=joe 2010-05-28 16:41:02 -07:00
Blake Kaplan
f93188d433 Fix bustage. 2010-05-28 16:18:23 -07:00