Commit Graph

383 Commits

Author SHA1 Message Date
Sebastian Hengst
b252fe9d1f Backed out changeset 7f0ea82bf6e9 (bug 1256049) because the new assertion hits so often that it generates many oranges. r=backout 2016-04-05 00:06:36 +02:00
Kyle Huey
621d422b87 Bug 1256049: More assertions. r=janv 2016-04-04 13:29:59 -07:00
Kyle Huey
1bdfe3cf11 Bug 1256049: Enable two more assertions in release. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey
41a3a033ad Bug 1256049: Revert diagnostics. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey
20d0dc7286 Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey
c8a0e18c27 Bug 1256049: More diagnostics. r=janv 2016-03-21 13:49:18 -07:00
Andi-Bogdan Postelnicu
f7a9fbdab7 Bug 1258339 - check return value of GetFileSize. r=janv
MozReview-Commit-ID: Fy0jMfVpcCN
2016-03-21 15:17:04 +02:00
Kyle Huey
d7d00cd16f Bug 1256049: Add some diagnostic code for an IDB crash. r=janv 2016-03-18 14:15:45 -07:00
Bogdan Postelnicu
2a8744cf46 Bug 1256593 - remvoed dead code. r=janv
MozReview-Commit-ID: CqeAV6I0Jme
2016-03-15 13:44:42 +02:00
Wes Kocher
5bd0fdbb7f Backed out changeset 5b6d3398c6e5 (bug 1256049) for build bustage CLOSED TREE
MozReview-Commit-ID: 8Ep9n1pa8u1
2016-03-17 15:38:32 -07:00
Kyle Huey
20cf4371ad Bug 1256049: Add some diagnostic code for an IDB crash. r=janv
CLOSED TREE
2016-03-17 15:06:33 -07:00
Jan Varga
cb0f72286a Bug 1182987 - Part 3: Add "cleanup" transaction with disabled quota checks and vacuuming/checkpointing after commit; r=baku 2016-03-15 07:00:37 +01:00
Jan Varga
d2fb870207 Bug 1182987 - Part 1: Remove unreferenced files immediately; r=baku 2016-03-15 07:00:15 +01:00
Gabriele Svelto
3b8c7dc2f2 Bug 1253807 - Use the shared UniqueFreePtr class r=bent 2016-03-09 12:24:03 +01:00
Jonathan Watt
f04970d828 Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Jan Varga
58e5de83f0 Bug 1248550 - Address review comments; r=khuey 2016-03-01 10:46:03 +01:00
Jan Varga
090c95e382 Bug 1248550 - Part 6: Move database maintenance specific methods from QuotaClient to DatabaseMaintenance; r=khuey 2016-03-01 10:45:10 +01:00
Jan Varga
82ffb896f7 Bug 1248550 - Part 5: Move AutoProgressHandler from QuotaClient to DatabaseMaintenance; r=khuey 2016-03-01 10:45:04 +01:00
Jan Varga
2efa05d20c Bug 1248550 - Part 4: Check FactoryOp objects before running a database maintenance and check for DatabaseMaintenance before dispatching a FactoryOp; r=khuey 2016-03-01 10:44:59 +01:00
Jan Varga
28b248ba39 Bug 1248550 - Part 3: Introduce a new object/runnable for database maintenance; r=khuey 2016-03-01 10:44:53 +01:00
Jan Varga
3fdf0bcc5f Bug 1248550 - Part 2: Move GetOrCreateThreadPool() to correct place; r=khuey 2016-03-01 10:44:48 +01:00
Jan Varga
0a519c313a Bug 1248550 - Part 1: Move main idle maintenance logic into a new object Maintenance; r=khuey 2016-03-01 10:44:39 +01:00
Kyle Huey
41c7967d38 Bug 1085575: Account for another potential race when asserting metadata is consistent. r=bent 2016-02-23 11:56:16 -08:00
Xidorn Quan
1d5e265dde Bug 1248851 part 3 - Fix a potential double-free issue in indexedDB. r=sicking
MozReview-Commit-ID: F3WpoJ5AE0j
2016-02-20 11:06:25 +08:00
Xidorn Quan
55529df56b Bug 1248851 part 2 - Remove redundant release() calls in indexedDB code. r=sicking
MozReview-Commit-ID: 8PpNcYfQ4IP
2016-02-20 11:06:25 +08:00
Jan Varga
0b1ff95758 Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Birunthan Mohanathas
7e3dfe6775 Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
862e2e00a5 Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.

This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
52bdd20cc0 Bug 1229376 - Downgrade lastVacuumSize > 0 assertion to an NS_ASSERTION so we don't have to star it all over the place, rs=khuey 2016-01-31 16:59:44 -08:00
Phil Ringnalda
d871b9515f Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
2b65ae7f2d Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
ba7463a898 Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.

This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
397c0f7d39 Bug 1195149 - Upgrade the !mInWriteTransaction check to a MOZ_RELEASE_ASSERT. r=janv 2016-01-22 11:18:00 -05:00
Lars T Hansen
bfeea8f21e Bug 1239666 - part 2, dom/indexedDB change. r=khuey 2016-01-18 09:48:23 +01:00
Nathan Froyd
f5133a44cb Bug 1236632 - remove unused variable in FactoryOp::WaitForTransactions; r=janv
This variable got left behind during the refactoring in bug 1125102.
2016-01-04 14:29:33 -05:00
Nicholas Nethercote
2edccef772 Bug 1187151 (part 5) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:55:01 -08:00
Nicholas Nethercote
fe3670d6d3 Bug 1187151 (part 4) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:54:42 -08:00
Nicholas Nethercote
3c08edc541 Bug 1187116 (part 6) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-18 21:04:22 -08:00
Nicholas Nethercote
383b1ae570 Bug 1187116 (part 5) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-18 21:04:10 -08:00
Jan Varga
3f63fb30a8 Bug 961049 - Part 9: Fix asynchronous deletion of files to work on PBackground; r=baku 2015-11-22 10:44:43 +01:00
Jan Varga
a1bb6a4521 Bug 961049 - Part 8: Move getFileReferences() from PContent under new protocol PBackgroundIndexedDBUtils; r=baku 2015-11-22 10:44:33 +01:00
Jan Varga
731bf55064 Bug 961049 - Part 7: QuotaManager on PBackground indexedDB changes; r=baku 2015-11-22 10:44:24 +01:00
Jan Varga
30813e0a3d Bug 961049 - Part 2: Remove Utilities.h; r=baku 2015-11-22 10:43:23 +01:00
Nicholas Nethercote
289eb5f7d8 Bug 1187116 (part 4) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:47:23 -08:00
Nicholas Nethercote
d45a021ad6 Bug 1187116 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:46:47 -08:00
Nicholas Nethercote
7abf677cdf Bug 1187116 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:46:29 -08:00
Nicholas Nethercote
d5487daf97 Bug 1187116 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/indexedDB/ with iterators. r=khuey. 2015-11-01 21:45:14 -08:00
Birunthan Mohanathas
ac37dec517 Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00