Boris Zbarsky
960d2b3ddd
Bug 1335368 part 17. Get rid of IsCallerChrome in the quota manager service. r=bholley
...
This class is not exposed to untrusted script at all, so only system callers are possible.
2017-02-01 15:43:38 -05:00
Kartikaya Gupta
1af1a82edf
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
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
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