Jan Varga
44fc7013c4
Bug 1470811 - Update FF 62 to know about upcoming new quota client; r=asuth
2018-06-29 09:58:09 +02:00
Tom Tung
99a846b32d
Bug 1373183 - Part 2: Remove the argument for EnsureTemporaryStorageIsInitialized() since it's unnecessary. r=janv
...
MozReview-Commit-ID: 9sCHI3XEpIj
2017-08-23 15:56:06 +08:00
Tom Tung
746674b8ba
Bug 1373183 - Part 1: Only initialize the temporary storage for estimate(). r=janv
...
To do this, reuse the code for initializing temporay storage in
EnsureOriginIsInitializedInternal(). Thus, create a helper function called
EnsureTemporaryStorageIsInitialized() and call it from both side.
MozReview-Commit-ID: vNQVteoicH
2017-08-23 15:22:47 +08:00
Andrew Sutherland
dd0f1f64ec
Bug 1404344 - Part 1: Alias QuotaManager schema 3.0 to 2.1. r=janv
...
To improve the Firefox 57 to 56 downgrade scenario, have 57 and 58
re-number the version 3.0 schema introduced by bug 1290481 to
version 2.1. Firefox 56's Quota Manager will recognize the minor
schema version and accept the schema from the future.
2017-10-03 10:02:27 -04:00
Tom Tung
c6849638fc
Bug 1290481 - P6: Upgrade QuotaManager to v3.0 for adding directory padding file to existing DOM Cache directory. r=bkelly, janv
...
MozReview-Commit-ID: KlVsaGhpABk
2017-07-18 18:54:20 +08:00
Tom Tung
a744bbce77
Bug 1290481 - P4: Update padding size to the QuotaManager. r=bkelly, janv
...
MozReview-Commit-ID: 6poDeyErBjc
2017-07-10 17:02:44 +08:00
Shawn Huang
99666652c4
Bug 1384492 - Notify storage pressure in CheckTemporaryStorageLimits. r=janv
2017-09-06 17:25:13 +08:00
Jan Varga
119e49ca87
Bug 1348660 - Part 6: Rename QuotaManager::IsOriginWhitelistedForPersistentStorage() to QuotaManager::IsOriginInternal(); r=btseng
2017-03-22 12:14:09 +01:00
Tom Tung
b2c063ffff
Bug 1298329 - Part 1: Implement persist/persisted in QuotaManager and expose them to QuotaManagerService; r=janv
2016-08-25 10:19:31 +08:00
Tom Tung
4a6109ddd1
Bug 1298329 - Part 0: Add persisted attribute to OriginInfo; r=janv
2017-01-17 09:41:00 +08:00
Jan Varga
c23488bd3a
Bug 1339081 - Part 23: Treat it as an error if the origin stored in the database doesn't match the origin used to open the database; r=asuth
2017-03-06 18:40:37 +01:00
Jan Varga
d949b0c76e
Bug 1339081 - Part 12: Add a baseline helper for 1.0 to 2.0 upgrade; r=asuth
2017-03-06 18:39:58 +01:00
Jan Varga
5faa6e2da3
Bug 1339081 - Part 5: Add a method for testing origin initialization; r=asuth
2017-03-06 18:39:33 +01:00
Jan Varga
d010f7bdd2
Bug 1339081 - Part 2: Add a method for testing storage initialization; r=asuth
2017-03-06 18:39:21 +01:00
Jan Varga
efbbedcf75
Bug 1311057 - Part 3: Code simplification and cleanup after isApp removal; r=asuth
2017-03-06 18:38:44 +01:00
Jan Varga
deee894326
Bug 1311057 - Part 2: Remove isApp from quota manager and its clients; r=asuth
2017-03-06 18:38:42 +01:00
Jeff Walden
76e0d9bbc6
Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz
2017-02-13 09:07:40 -08:00
Kartikaya Gupta
a2a492cb06
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
2017-01-25 14:51:34 -05:00
Jan Varga
302ca9f2b0
Bug 1329689 - QuotaManager: Upgrade loop should also cover "from 0_0 to 1_0" case; r=asuth
2017-01-10 11:44:32 +01:00
Cervantes Yu
b3d13f4c64
Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj
...
MozReview-Commit-ID: IPU9Qc8lr50
2016-12-01 11:48:32 +08:00
Tom Tung
08561a04ae
Bug 1281103 - Support getting the group usage and the limit in QuotaManagerService. r=janv.
2016-06-24 10:24:06 +08:00
Jan Varga
c0c8eca8b9
Bug 1261491 - Intermittent test_quotaExceeded_recovery.js | application crashed [@ mozilla::dom::IndexedDatabaseManager::Notify]; r=khuey
2016-07-18 18:51:54 +02:00
Jan Varga
ac86ec1534
Bug 1195930 - Part 11: Unified SQLite database schema and storage version, major and minor version support; r=asuth
2016-06-05 21:43:09 +02:00
Jan Varga
3c1008c367
Bug 1195930 - Part 9: Remove old directories (fixes bug 1273717); r=asuth
2016-06-05 21:42:55 +02:00
Jan Varga
b9a0bf422d
Bug 1195930 - Part 8: Fixed support for origin clearing, reworked internal origin patterns to use OriginAttributesPattern; r=asuth
2016-06-05 21:42:48 +02:00
Jan Varga
cfd34f9856
Bug 1195930 - Part 5: Core changes, support for storage directory versioning, new metadata v2 files, origin suffix added to API methods, origin attributes used across the implementation, more upgrade tests; r=asuth
2016-06-05 21:42:25 +02: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
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02: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
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Jan Varga
ea0cabfec0
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
2015-11-22 10:43:55 +01:00
Nicholas Nethercote
291d773d0e
Bug 1187151 (part 2) - Replace nsBaseHashtable::Enumerate() calls in dom/base/ with iterators. r=janv.
2015-11-13 00:25:28 -08:00
Nicholas Nethercote
c39a6f8b32
Bug 1186809 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/quota/ with iterators. r=janv.
2015-11-03 15:42:41 -08:00
Nicholas Nethercote
6fb9c93740
Bug 1186809 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/quota/ with iterators. r=janv.
2015-11-03 15:42:41 -08:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Bobby Holley
15ef69d53b
Bug 1196371 - Add a runtime assertion against illegal string characters in OriginAttributes suffix creation. r=janv,r=mystor
2015-08-19 21:14:34 -07:00
Wes Kocher
24993f6a4a
Backed out changeset f00b7bf7b9f8 (bug 1196371) for build bustage CLOSED TREE
2015-08-19 15:49:30 -07:00
Bobby Holley
598071492e
Bug 1196371 - Add a runtime assertion against illegal string characters in OriginAttributes suffix creation. r=janv,r=mystor
2015-08-19 14:51:58 -07:00
Michael Layzell
33c106d99d
Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv
2015-08-18 20:24:30 -04:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Jan Varga
186504e6b4
Bug 1170021 - Part 2: Move DirectoryLock out of QuotaManager class; r=bent
2015-06-30 14:59:53 +02:00
Jan Varga
d39a93ca78
Bug 1170021 - Part 1: Merge QuotaManager with QuotaObject; r=bent
2015-06-30 14:59:42 +02:00
Jan Varga
a1455f50a1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
2015-06-30 14:59:27 +02:00
Ben Turner
a5d54cecd4
Bug 858680 - Part 4: Perform maintenance on databases while idle, r=janv.
2015-05-04 22:56:47 -07:00
Wes Kocher
42f6eae010
Backed out changeset ca9c2b05d659 (bug 858680)
2015-05-21 16:44:36 -07:00
Ben Turner
ad8389529a
Bug 858680 - Part 4: Perform maintenance on databases while idle, r=janv.
2015-05-04 22:56:47 -07:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
18b38ad706
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Jan Varga
d025110ed9
Bug 1129991 - Remove QuotaManager::SetCurrentWindow(); r=bent
2015-04-02 08:22:19 +02:00