Граф коммитов

241 Коммитов

Автор SHA1 Сообщение Дата
Bevis Tseng e0e7ead1f0 Bug 1118028 - Allow objectStores and indexes to be renamed. r=khuey
--HG--
extra : rebase_source : 4f2d1da2ddafbe786c3908eb46723b4d2f0c48cc
2016-03-30 11:04:56 +08:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey 48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Nicholas Nethercote 60dcde7875 Bug 1261723 (part 2) - Separate class ops from js::Class. code=njn,h4writer. r=efaust,bz.
js::Class op are often all null. And when they're not all null, they're often
duplicated among classes. By pulling them out into their own struct, and using a
(possibly null) pointer in js::Class, we can save 114 KiB per process on
64-bit, and half that on 32-bit.
* * *
imported patch separate-ClassOps-2

--HG--
extra : rebase_source : bd751bf247e9491c1966a123dbeffa573657dfb1
2016-04-01 11:00:01 +11:00
Kyle Huey aaeb289b61 Bug 1256049: Remove diagnostic assertions. r=me 2016-04-11 11:39:52 -07:00
Kyle Huey 5063425777 Bug 1256049: Correctly handle databases currently performing maintenance when a new transaction is started. r=janv 2016-04-05 20:21:25 -07:00
Sebastian Hengst dde9a7fe14 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 794ef1d41e Bug 1256049: More assertions. r=janv 2016-04-04 13:29:59 -07:00
Kyle Huey 8eb934feb7 Bug 1256049: Enable two more assertions in release. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey b58cdb109e Bug 1256049: Revert diagnostics. r=janv 2016-03-28 10:28:15 -07:00
Kyle Huey d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Kyle Huey 032dc90f4b Bug 1256049: More diagnostics. r=janv 2016-03-21 13:49:18 -07:00
Andi-Bogdan Postelnicu f3c7e89ddb Bug 1258339 - check return value of GetFileSize. r=janv
MozReview-Commit-ID: Fy0jMfVpcCN

--HG--
extra : rebase_source : 31ac4fe714aa62a6c5b86438ca3ab983c7d4a6d9
2016-03-21 15:17:04 +02:00
Kyle Huey 31aa749f1f Bug 1256049: Add some diagnostic code for an IDB crash. r=janv 2016-03-18 14:15:45 -07:00
Bogdan Postelnicu 8f95e3eb5b Bug 1256593 - remvoed dead code. r=janv
MozReview-Commit-ID: CqeAV6I0Jme

--HG--
extra : rebase_source : 69b5d7396b30a6a483ef341100cc74698b2250db
2016-03-15 13:44:42 +02:00
Wes Kocher a52e3dedae 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 d694d665be Bug 1256049: Add some diagnostic code for an IDB crash. r=janv
CLOSED TREE
2016-03-17 15:06:33 -07:00
Jan Varga e578091712 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 f3d631abd1 Bug 1182987 - Part 1: Remove unreferenced files immediately; r=baku 2016-03-15 07:00:15 +01:00
Gabriele Svelto 7866c2e34a Bug 1253807 - Use the shared UniqueFreePtr class r=bent 2016-03-09 12:24:03 +01:00
Jonathan Watt a73bd8c354 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 3c44d5ea54 Bug 1248550 - Address review comments; r=khuey 2016-03-01 10:46:03 +01:00
Jan Varga 75f3cc4202 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 b31c7759b9 Bug 1248550 - Part 5: Move AutoProgressHandler from QuotaClient to DatabaseMaintenance; r=khuey 2016-03-01 10:45:04 +01:00
Jan Varga 216919952d 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 1b90de1845 Bug 1248550 - Part 3: Introduce a new object/runnable for database maintenance; r=khuey 2016-03-01 10:44:53 +01:00
Jan Varga 13351dbab0 Bug 1248550 - Part 2: Move GetOrCreateThreadPool() to correct place; r=khuey 2016-03-01 10:44:48 +01:00
Jan Varga 8857cde431 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 723d39a8d6 Bug 1085575: Account for another potential race when asserting metadata is consistent. r=bent 2016-02-23 11:56:16 -08:00
Xidorn Quan 7e896cbc31 Bug 1248851 part 3 - Fix a potential double-free issue in indexedDB. r=sicking
MozReview-Commit-ID: F3WpoJ5AE0j

--HG--
extra : source : 02d1d836aa6597fad142318707fc5bbcbf7e227d
2016-02-20 11:06:25 +08:00
Xidorn Quan 14b0b94ee9 Bug 1248851 part 2 - Remove redundant release() calls in indexedDB code. r=sicking
MozReview-Commit-ID: 8PpNcYfQ4IP

--HG--
extra : source : 00b7d6e773a9bbae902469913db6da350a803b6f
2016-02-20 11:06:25 +08:00
Jan Varga 9b4516ad03 Bug 1183959 - Move FlushPendingFileDeletions() from PContent to PBackground; r=khuey 2016-02-10 16:11:25 +01:00
Birunthan Mohanathas 690e6fe38b 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 9137955c65 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 d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda f82794ec09 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 d381b4bca6 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 720fce4f80 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 53bb27f2a4 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 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey e1512917bd Bug 1195149 - Upgrade the !mInWriteTransaction check to a MOZ_RELEASE_ASSERT. r=janv
--HG--
extra : amend_source : 1603d25a31a2e04752ff498426d2e0e1ce102673
2016-01-22 11:18:00 -05:00
Lars T Hansen afa80bc73e Bug 1239666 - part 2, dom/indexedDB change. r=khuey
--HG--
extra : rebase_source : 1e6fc476f61ab42b5ed59b68506fc2ac5e7ea10a
extra : histedit_source : a093ba98d7ac9353cc24b7d93c18d77ed4496d42
2016-01-18 09:48:23 +01:00
Nathan Froyd 1965bce699 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 6f9bc492d5 Bug 1187151 (part 5) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:55:01 -08:00
Nicholas Nethercote 2ef69fa23a Bug 1187151 (part 4) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=khuey. 2015-11-24 16:54:42 -08:00
Nicholas Nethercote 39043b2d44 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 bb8aa825e5 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 01bc2fb8bb Bug 961049 - Part 9: Fix asynchronous deletion of files to work on PBackground; r=baku 2015-11-22 10:44:43 +01:00