Eric Rahm
6af429ff8a
Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj
...
This makes most users of |NS_EscapeURL| use the fallible version. A few are
left infallible as it seems like the entire function is assumed to be
infallible.
MozReview-Commit-ID: Cy1L5jQwjO1
2017-01-24 11:11:44 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Jan Varga
c4553baa05
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
Nathan Froyd
f6a73ed989
Bug 1315274 - rename mozilla::MakeRange to mozilla::IntegerRange; r=Waldo
...
MakeRange is just way too generic for this sort of thing.
2017-01-06 09:22:53 -05:00
Andrea Marchesini
94547f20bb
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly
2017-01-05 10:05:32 +01:00
Jan Varga
965cffb389
Bug 1286914 - Part 1: Prevent creation of origin directories which are not supported by our origin parser; r=asuth
2017-01-03 13:46:34 +01:00
Cervantes Yu
6629c9887c
Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj
...
MozReview-Commit-ID: IPU9Qc8lr50
--HG--
extra : rebase_source : f25e7403492d1935c8ca714a75ccf99811775b44
2016-12-01 11:48:32 +08:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrea Marchesini
3eb6049ec1
Bug 1320275
- QuotaManager must be registered as battery observer before calling hal:GetCurrentBatteryInformation, r=janv
2016-11-28 22:22:51 +01:00
Kan-Ru Chen
f8100451db
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Shawn Huang
d93d31503b
Bug 1304966 - Enable Storage API only for nightly bulid, r=baku
2016-10-26 21:38:08 +08:00
Andi-Bogdan Postelnicu
cf2f92a099
Bug 1301333 - Add mark-initialisation-func annotation to functions Init and DoInitOnMainThread from GetUsageOp. r=baku
...
MozReview-Commit-ID: KKUX4FE0pth
2016-10-18 12:57:57 +03:00
Yoshi Huang
2a51f65d99
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Shawn Huang
ba9fa0d68a
Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku
2016-06-14 13:57:36 +01:00
Tim Huang
5277f5e7aa
Bug 1278037 - Part 3: Modify the nsIQuotaManagerService.clearStoragesForPrincipal() for clearing all storages under the given origin. r=janv
...
--HG--
extra : rebase_source : a7fdc05823bf274258588cd682bc2698d39b452d
extra : histedit_source : 4222585575bb96126cd8bca7e2c342d121535752
2016-08-17 14:46:16 +08:00
Tim Huang
c0c2d18169
Bug 1278037 - Part 2: Add a new type, the Prefix, of OriginScope for the Quota Manager. r=janv
...
--HG--
extra : rebase_source : c354b21c936da5d386ad1e75228bcd81f8e5e485
extra : histedit_source : 67096857aee0e103f6a969d01e051f7789b82439
2016-08-17 10:57:18 +08:00
Michael Layzell
b258dfaa89
Bug 1297802 - Remove unused RefPtr<> and COMPtr<> types in dom/, r=baku
...
MozReview-Commit-ID: CLUJZdbN7sW
2016-08-29 11:40:02 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Jan Varga
787316fb6a
Bug 1297056 - Use [must_use] in dom/quota; r=asuth
2016-08-23 08:03:25 +08:00
Jan Varga
321c9b5fb3
Bug 1296512 - Rework OriginScope to use a union; r=asuth
2016-08-20 20:50:20 +08:00
Sebastian Hengst
2399f226e1
Backed out changeset 7a3c14d1770f (bug 1296512) for 'Conditional jump or move depends on uninitialised value(s)' detected by valgrind. r=backout
2016-08-20 12:41:09 +02:00
Jan Varga
3daf0f3f96
Bug 1296512 - Rework OriginScope to use a union; r=asuth
2016-08-20 10:16:31 +08:00
Andi-Bogdan Postelnicu
108d1db3a1
Bug 1296297 - prevent integer overflow in QuotaManager::EnsureOriginIsInitialized. r=janv
...
MozReview-Commit-ID: KPYheDCdLa1
2016-08-18 17:16:24 +03:00
Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Jan Varga
410139beb7
Bug 1280216 - Remove nsIAboutModule::GetIndexedDBOriginPostfix(); r=bz
2016-08-09 20:47:29 +02:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Tom Tung
3b07e666f0
Bug 1281103 - Support getting the group usage and the limit in QuotaManagerService. r=janv.
...
--HG--
extra : rebase_source : 609795f25eeab0d96f962799629e4e81492fb087
2016-06-24 10:24:06 +08:00
Jan Varga
a6c44c3242
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
3b7511210c
Bug 1280336 - b2g-installer broke indexedDB; r=asuth
2016-06-16 15:26:22 +01:00
Jan Varga
2d1e6d62c8
Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth
2016-06-15 11:49:04 +01:00
Kyle Huey
a43998c8bf
Bug 1246828 - Part 2: Main changes, quota manager shutdown pushed back to profile-before-change2; r=asuth
2016-06-15 11:48:50 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Jan Varga
a25258797e
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
2b9890e7bd
Bug 1195930 - Part 10: Use extra durability mode for storage.sqlite; r=asuth
2016-06-05 21:43:02 +02:00
Jan Varga
111f87a355
Bug 1195930 - Part 9: Remove old directories (fixes bug 1273717); r=asuth
2016-06-05 21:42:55 +02:00
Jan Varga
af49dba19e
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
5a2fea4594
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
f81ab7f0fb
Bug 1195930 - Part 4: Move code to correct place - add; r=asuth
2016-06-05 21:42:18 +02:00
Jan Varga
0360bbe43a
Bug 1195930 - Part 3: Move code to correct place - remove; r=asuth
2016-06-05 21:42:11 +02:00
Jan Varga
3249fba977
Bug 1195930 - Part 2: Refactor StorageDirectoryHelper to a base class and two separate final classes, improve correctness of default storage upgrade and add support for resource urls; r=asuth
2016-06-05 21:42:01 +02:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07: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
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -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
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
J. Ryan Stinnett
2a55d065b7
Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
...
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement. Other
methods that pass these values around also have name changes.
Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc. No changes are made to any
serialization formats. Only runtime method and variable names are updated.
No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations. These are corrected in subsequent patches
focused on behavior.
MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06: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
Joel Maher
0a0e9612ba
Bug 1250525 - remove #IFDEF ENABLE_TESTS from dom/quota/ActorsParent.cpp. r=janv
...
MozReview-Commit-ID: 8Ico1aiA3k7
--HG--
extra : rebase_source : aeace3927029da4ffc9acad8ac3dc495e2d0f163
2016-02-23 07:55:21 -08:00
Wes Kocher
b899130873
Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE
...
--HG--
extra : commitid : 8sSr108Ob73
2016-02-10 13:40:41 -08:00
Kyle Huey
dd361add99
Bug 1246828: Push QuotaManager shutdown back to profile-before-change2
2016-02-10 10:53:26 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02: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
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Yoshi Huang
67beaeeec1
Bug 1209349 - Audit the callers of the two-argument OriginAttributes. r=janv
2015-12-17 15:41:16 +08:00
Jan Varga
b3c22dc9ac
Bug 1228932 - Create Quota background actor directly if PBackgroundChild exists; r=khuey
2015-12-01 11:54:40 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Jan Varga
38ee7f95d8
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
...
--HG--
rename : dom/quota/QuotaManager.cpp => dom/quota/ActorsParent.cpp
rename : dom/quota/nsIUsageCallback.idl => dom/quota/nsIQuotaCallbacks.idl
rename : dom/quota/nsIQuotaManager.idl => dom/quota/nsIQuotaManagerService.idl
rename : dom/quota/nsIQuotaRequest.idl => dom/quota/nsIQuotaRequests.idl
2015-11-22 10:43:55 +01:00
Jan Varga
c1c950896a
Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku
2015-11-22 10:43:34 +01:00
Jan Varga
80e3425247
Bug 961049 - Part 2: Remove Utilities.h; r=baku
2015-11-22 10:43:23 +01:00
Nicholas Nethercote
73173fb7ae
Bug 1187151 (part 2) - Replace nsBaseHashtable::Enumerate() calls in dom/base/ with iterators. r=janv.
...
--HG--
extra : rebase_source : 6e780bbe71aa0e2463b664ca17b9023bd9216179
2015-11-13 00:25:28 -08:00
Nicholas Nethercote
8df3ec9018
Bug 1186809 (part 3) - Replace nsBaseHashtable::EnumerateRead() calls in dom/quota/ with iterators. r=janv.
...
--HG--
extra : rebase_source : 0e2fc0953a336d7bcb8265e7ab31466723aeb9ce
2015-11-03 15:42:41 -08:00
Nicholas Nethercote
5d787863df
Bug 1186809 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in dom/quota/ with iterators. r=janv.
...
--HG--
extra : rebase_source : 7f50ef0c08893e686866a2f3cfe8a00e3214dd6d
2015-11-03 15:42:41 -08:00
Nicholas Nethercote
1b930cecdf
Bug 1186809 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in dom/quota/ with iterators. r=janv.
...
--HG--
extra : rebase_source : 2af9127b9cd500ee4fc206198662a097d0c891c3
2015-11-03 15:42:40 -08:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Yoshi Huang
4347bb2318
Bug 1165272 - Part 1: remove getAppCodebasePrincipal. r=bholley
2015-08-17 17:03:19 +08:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Yoshi Huang
12efacfa8c
Bug 1165272 - Part 1: Remove getAppCodebasePrincipal. r=bholley
2015-08-24 01:31:00 -04:00
Bobby Holley
ce93138568
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
dab7b8a1ea
Backed out changeset f00b7bf7b9f8 (bug 1196371) for build bustage CLOSED TREE
2015-08-19 15:49:30 -07:00
Bobby Holley
36e1d5fccf
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
e826e765e4
Bug 1165217 - Use nsIPrincipal instead of nsIURI/appId/inBrowser for nsIQuotaManager, r=janv
2015-08-18 20:24:30 -04:00
Jan Varga
93e83551ca
Bug 1183689 - Having moz-safe-about+home in storage/permanent and storage/persistent breaks temporary storage initialization; r=khuey
2015-07-25 09:20:19 +02:00
Ehsan Akhgari
1dc0b53b20
Bug 1182976 - Part 2: Get rid of the Helper class in QuotaManager::OpenDirectoryInternal; r=janv
2015-07-16 14:47:56 -04:00
Birunthan Mohanathas
a8939590de
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
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Daniel Holbert
09eb59ac3d
Bug 1130775 followup: Add missing 'override' keyword to SendResults() methods in QuotaManager.cpp. rs=ehsan
2015-06-30 09:53:17 -07:00
Jan Varga
283acfefd3
Bug 1170021 - Part 2: Move DirectoryLock out of QuotaManager class; r=bent
2015-06-30 14:59:53 +02:00
Jan Varga
2706c95022
Bug 1170021 - Part 1: Merge QuotaManager with QuotaObject; r=bent
2015-06-30 14:59:42 +02:00
Jan Varga
baba1643c1
Bug 1130775 - Convert synchronized ops and storage registration into unified directory locks; r=bent
...
--HG--
rename : dom/quota/OriginOrPatternString.h => dom/quota/OriginScope.h
2015-06-30 14:59:27 +02:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Jan Varga
4b812b15cf
Bug 1142694 - QuotaManager default/temporary initialization fails on some profiles; r=bent
2015-06-16 06:42:06 +02:00
Jan Varga
358e071116
Bug 1174113 - QuotaManager: Origin initialization fails on moz-safe-about+++home; r=bent
2015-06-12 12:00:53 +02:00
Jan Varga
e590c075d6
Bug 1157670 - Fixing an incorrect assertion in QuotaManager.cpp leads to an assertion failure; r=bent
2015-06-09 17:27:50 +02:00
Mike Hommey
237439bb25
Fixup to make bug 1165119 ride the trains properly. r=trivial,DONTBUILD
2015-05-29 11:12:57 +09:00
Ben Turner
2e348da54f
Bug 858680 - Part 4: Perform maintenance on databases while idle, r=janv.
...
--HG--
extra : rebase_source : b541f27d0a746949d721584dd061f499209cc05a
2015-05-04 22:56:47 -07:00
Ben Turner
805bc94273
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : d4ec5e860b885ab01e4e1c19e6aed057b78e5aaa
2015-04-30 13:46:51 -07:00
Wes Kocher
a6c4705f9a
Backed out changeset 0aaa67fc61e8 (bug 858680)
2015-05-21 16:44:42 -07:00
Wes Kocher
8f53fad843
Backed out changeset ca9c2b05d659 (bug 858680)
2015-05-21 16:44:36 -07:00
Ben Turner
dbcfebe3b8
Bug 858680 - Part 4: Perform maintenance on databases while idle, r=janv.
...
--HG--
extra : rebase_source : 8aa2fd6f34c66bbdf2004915b4da310f6d61751f
2015-05-04 22:56:47 -07:00
Ben Turner
b553d50f23
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
...
--HG--
extra : rebase_source : 6797f2d4fdaabef4e5d3b83fbacc09984f447866
2015-04-30 13:46:51 -07:00
Bobby Holley
3b6ba803a8
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Ben Kelly
89b5682e09
Bug 1165119 - Follow-up to address review feedback accidentally left out of last push. r=me
...
--HG--
extra : rebase_source : 142878e4dc58e072be4e6be40b3025f0f40247a2
2015-05-18 16:37:00 +02:00
Ben Kelly
1e5ef68804
Bug 1165119 Remove corrupt morgue directories polluting nightly profiles. r=janv
2015-05-18 12:11:32 -07:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Bobby Holley
e61971d74b
Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor
2015-05-15 11:51:51 -07:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
Jan Varga
85069278af
Bug 1162624 - Add support for restoring corrupted or missing metadata files; r=bent
2015-05-08 21:05:30 +02:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Andrea Marchesini
cb54385682
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
4f7bbfd7c8
Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent
2015-04-14 10:57:41 +02:00
Nathan Froyd
2b1ae6e2ca
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Jan Varga
8a9574fb77
Bug 1129991 - Remove QuotaManager::SetCurrentWindow(); r=bent
2015-04-02 08:22:19 +02:00
Ben Turner
630eacc28d
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Ben Turner
3075973d0c
Bug 1131766 - Use a simpler thread model for IndexedDB transactions, r=khuey.
2014-12-02 12:01:44 -08:00
Ben Turner
04cd5da921
Bug 866846 - Use WAL journal mode for IndexedDB databases, r=janv.
2015-01-24 08:16:26 -08:00
Wes Kocher
f8f506a4f1
Backed out changeset 8a8e8efa5d38 (bug 866846)
2015-03-30 19:45:59 -07:00
Wes Kocher
bfe73734c6
Backed out changeset fdb8d8484cce (bug 1131766)
2015-03-30 19:45:58 -07:00
Wes Kocher
23dabfd770
Backed out changeset 14b9b4827805 (bug 1131776)
2015-03-30 19:45:55 -07:00
Ben Turner
ad62e4a206
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
2015-02-16 09:48:14 -08:00
Ben Turner
8928e75e4d
Bug 1131766 - Use a simpler thread model for IndexedDB transactions, r=khuey.
2014-12-02 12:01:44 -08:00
Ben Turner
f9c5b7e194
Bug 866846 - Use WAL journal mode for IndexedDB databases, r=janv.
2015-01-24 08:16:26 -08:00
Phil Ringnalda
74fbc95715
Backed out 5 changesets (bug 866846, bug 1131776, bug 1131766, bug 1144806, bug 1112702) on suspicion of causing Windows debug devtools-4 storage crashes
...
CLOSED TREE
Backed out changeset 142d9ae5826c (bug 1131776)
Backed out changeset 0b4de21b759f (bug 1112702)
Backed out changeset 1b4ead852ae0 (bug 1131766)
Backed out changeset cbd862dd036f (bug 866846)
Backed out changeset 178412a2fe8b (bug 1144806)
2015-03-29 12:55:11 -07:00
Ben Turner
98536af974
Bug 1131776 - Use WITHOUT ROWID tables for IndexedDB, r=janv.
...
--HG--
extra : rebase_source : 9cba58701e0f6bf4c3d6deb784b5c8340fd895ac
2015-02-16 09:48:14 -08:00
Ben Turner
d454fb295b
Bug 1131766 - Use a simpler thread model for IndexedDB transactions, r=khuey.
...
--HG--
extra : rebase_source : 6f81d1f3f7dd8d9781b5eb5dec6d05f398b49438
2014-12-02 12:01:44 -08:00
Ben Turner
85be2eae91
Bug 866846 - Use WAL journal mode for IndexedDB databases, r=janv.
...
--HG--
extra : rebase_source : 6bd130ec0bdbeacde6b725ee16736083775f8ca7
2015-01-24 08:16:26 -08:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Chris Peterson
cdae3422b8
Bug 1142863 - Remove unused struct RemoveQuotaInfo in dom/quota/QuotaManager.cpp. r=janv
...
--HG--
extra : rebase_source : bcc16e8308db9ada02c360aa5e8b64ab979d6f4f
2015-03-12 21:04:07 -07:00
Ben Kelly
f9064fc636
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00
Jan Varga
519bed2559
Bug 1124189 - IndexedDB Unkown Error @ ActorsParent.cpp:414 when calling indexedDB.open; r=bent
2015-02-03 07:29:51 +01:00
Jan Varga
f514a5ed5b
Bug 1123637 - Remove all code relevant to quota prompts; r=bent,ehsan
2015-01-22 09:40:42 +01:00
Andrew McCreight
ffbaeabe1a
Bug 1119499 - Define BAD_TLS_INDEX where it is used. r=janv
2015-01-09 12:41:49 -08:00
Jan Varga
0e1aa3fc9b
Bug 1119462
- Allow unlimited quota for explicit persistent storage; r=bent
2015-01-09 16:56:23 +01:00
Nigel Babu
a7238c41c9
Backed out changeset 15830cc2b55b (bug 1119462
) for B2G M5 bustage
...
CLOSED TREE
2015-01-09 10:06:31 +05:30
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Jan Varga
22ea983a4c
Bug 1119462
- Allow unlimited quota for explicit persistent storage; r=bent
2015-01-09 01:24:54 +01:00
Wes Kocher
385a971f77
Backout 977aab16aad3 (bug 1119462
) for Android build bustage
2015-01-08 16:15:27 -08:00
Jan Varga
668b9c3a71
Bug 1119462
- Allow unlimited quota for explicit persistent storage; r=bent
2015-01-09 00:31:50 +01:00
Jan Varga
0adbc46b12
Bug 1110585 - Inconsistent timestamp in storage metadata file; r=bent
2015-01-08 23:38:53 +01:00
Ehsan Akhgari
1889255041
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Ben Turner
f2c0ff7d75
Bug 1111842 - Make sure QuotaManager can handle escaped URL components passed from SQLite, r=janv.
2014-12-01 16:29:27 -05:00
Jan Varga
28081c7948
Bug 1110067 - Presence of asmjs cache in storage/temporary causing indexedDB.open() to fail for non-persistent storage; r=bent
2014-12-11 20:34:52 +01:00
Jan Varga
7a79af88ee
Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent
2014-12-06 07:31:53 -08:00
Jan Varga
3528192339
Bug 1083927 - IndexedDB: Subdomain Quota Management; r=bent,ehsan
...
--HG--
rename : dom/indexedDB/test/unit/bug1056939.zip => dom/indexedDB/test/unit/bug1056939_profile.zip
2014-11-28 09:44:12 +01:00
Jan Varga
b89edf2131
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-04 21:44:56 +01:00
Jan Varga
a3073b1b35
Backed out changeset 45dad11b6580 (bug 1089764) for causing bug 1093067 and bug 1093223.
2014-11-03 21:00:52 +01:00
Jan Varga
49c83c236c
Bug 1089764 - Treat persistent storage as temporary storage; r=bent
2014-11-01 02:21:25 +01:00
Jan Varga
049c6364b8
Bug 1068787 - Quota usage not decreased when removing unsuccessfully copied files; r=bent
2014-10-28 20:06:54 +01:00
Jan Varga
33861bc8f2
Bug 1056939 - indexedDB.open fails for certain database names - part 2; r=bent
2014-10-13 21:12:25 +02:00