Andrea Marchesini
28962b5168
Bug 1468501 - Implement a way to delete network cache by nsIPrincipal, r=mayhemer, r=michal
2018-07-20 13:57:18 +02:00
Andi-Bogdan Postelnicu
90ac230485
Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
2018-06-14 11:19:07 +03:00
Andi-Bogdan Postelnicu
3f2298c2f6
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Sebastian Hengst
0819f35e51
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
a3a77c0312
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Honza Bambas
951c3c0c9e
Bug 1441726 - Include CacheStorageService::mPurgeTimeStamps hashtable in the memory reporter. r=michal
2018-03-27 10:21:00 +03:00
Valentin Gosu
13f4c5ecaf
Bug 1408552 - Make sure we only instantiate CacheStorageService in the main process r=mayhemer
...
* A memory leak occurs when this happens in the content process
* I added an assertion that we only create it in the parent process
MozReview-Commit-ID: 1UTyusRg0qx
--HG--
extra : rebase_source : 400cfb21ee094ad33e15681f213af6dbe20ebbf5
2017-10-18 21:10:22 +02:00
Sebastian Hengst
538797050e
Backed out changeset dfb238189002 (bug 1408552) for asserting in xpcshell's netwerk/test/unit_ipc/test_cache-entry-id_wrap.js. r=backout on a CLOSED TREE
2017-10-18 15:56:09 +02:00
Valentin Gosu
ec70ea390d
Bug 1408552 - Make sure we only instantiate CacheStorageService in the main process r=mayhemer
...
* A memory leak occurs when this happens in the content process
* I added an assertion that we only create it in the parent process
MozReview-Commit-ID: 1UTyusRg0qx
--HG--
extra : rebase_source : 646c1c82d141cadc6c1b19843b4cc750e1a1ce59
2017-10-18 14:35:33 +02:00
Kris Maglione
d1f06996d7
Bug 1404198: Part 2c - Switch to NS_NewTimer* in necko. r=njn
...
MozReview-Commit-ID: 3YyyaBAEjHc
--HG--
extra : rebase_source : 8ea5a8adb4d134ae15041f86f0b185603ab9a989
2017-10-15 23:12:02 -07:00
Valentin Gosu
df4b6f9baf
Bug 1395938 - Prevent crash when we are missing an IOThread during shutdown r=michal
...
MozReview-Commit-ID: 4iuMoHMTzia
2017-09-07 15:15:25 +02:00
Michal Novotny
8030ac3f2d
Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab
2017-08-24 10:25:38 +02:00
Carsten "Tomcat" Book
d360d49d2a
merge mozilla-inbound to mozilla-central a=merge
2017-07-27 10:57:25 +02:00
Bevis Tseng
95b18d794e
Bug 1382172
- Name nsITimerCallback instances in native implementation. r=billm
...
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00
Kartikaya Gupta
ba4b3b9101
Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
...
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.
MozReview-Commit-ID: 6s78RvPFMzv
--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Mats Palmgren
977a9e5f89
Bug 1376498 part 4 - Make all nsClassHashtable::RemoveAndForget() consumers use Remove() instead. r=froydnj
...
MozReview-Commit-ID: G64YQLlgm6r
2017-07-05 02:01:45 +02:00
Bill McCloskey
f115503a0b
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Nicholas Nethercote
f1364a75ea
Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
...
All the instances are converted as follows.
- nsSubstring --> nsAString
- nsCSubstring --> nsACString
--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Carsten "Tomcat" Book
8a1350b5a6
Backed out changeset 4f6302a98ae4 (bug 1372405
)
...
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
ea1b86680c
Backed out changeset 9846de3bd954 (bug 1372405
)
...
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411
Bug 1372405
- Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Tom Tromey
818e335541
Bug 1369830 - fix "telementry" typo in netwerk; r=michal
...
MozReview-Commit-ID: KPsXmJ6UYyZ
--HG--
extra : rebase_source : 02eb2f0d095edee45e92eb650055a2cc81e57ebe
2017-06-02 12:49:22 -06:00
Valentin Gosu
223b5464d4
Bug 1325341 - Query the cache index to get if the entry has alt data and its fileSize r=michal
...
MozReview-Commit-ID: 6wqsexqJq3u
2017-04-10 14:22:23 +03:00
Paul Bignier
166ed99e17
Bug 1352805 - Typo fixes in comments around "unfortunately". r=MattN
...
MozReview-Commit-ID: B76JuHabq9T
2017-04-03 09:23:00 -07:00
Honza Bambas
51b7039d0c
Bug 1343191 - Displayed HTTP cache occupation size may overflow. r=michal
...
--HG--
extra : rebase_source : bf26da8a240856cc684baf1096d664a6b5e69eef
2017-03-01 09:23:00 -05:00
Tom Tromey
5f8f360823
Bug 1060419 - make log_print use Printf.h, r=froydnj
...
MozReview-Commit-ID: BIZ1GQEZ1vs
--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tim Huang
4af0ebd9ee
Bug 1312954
- part 2: Add a new interface nsICacheStorageService.asyncVisitAllStorages() to allow visiting every cache entry. r=mayhemer
2017-02-02 22:15:00 -05:00
Tim Huang
f747db3bbd
Bug 1312954
- Part 1: Add the nsILoadContextInfo as one additional argument of nsILoadContextInfo.onCacheEntryInfo() and CacheStorageService::EntryInfoCallback.OnEntryInfo(). r=mayhemer
2017-02-02 22:14:00 -05:00
Valentin Gosu
3c75088cde
Bug 1313095 - Add telemetry to measure if cache loads are faster than network loads r=michal
...
MozReview-Commit-ID: C6kMSPw8gxv
* * *
[mq]: bug1313095-telemetry-reval.patch
MozReview-Commit-ID: 8jwMgq0cx3Z
2016-11-10 16:14:34 +01:00
Honza Bambas
a604390796
Bug 1294183 - Make HTTP cache write leader-class resources with more priority, r=michal
2016-10-12 10:32:00 +02:00
Honza Bambas
cd3ee4c951
Bug 1231565 - (Part 1) Basic test for alt-data representation in cache r=honzab
2016-03-22 11:42:00 +01:00
Honza Bambas
b48113987b
Bug 1267820 - Fix HTTP cache2 leak after shutdown, don't setup purging timer after shutdown. r=michal
2016-09-20 06:53:00 -04:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Honza Bambas
425509d685
Bug 1289164 - Make about:cache not modify cache entry state on display. r=michal
...
--HG--
extra : rebase_source : b64fbced196064b78e8f6e1be6e566fe5233c8ab
2016-08-09 11:23:00 -04: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
Honza Bambas
601acdd087
Bug 1275898 - Proper about:cache asyncOpen implementation + kill the disk entries loop hard on shutdown, r=michal
...
MozReview-Commit-ID: 3Tmvy45Iayu
--HG--
extra : histedit_source : 736f2ff12fb097bf2776cc900750010a00c4cf2a
2016-05-31 22:20:17 -07:00
Honza Bambas
6be1404013
Bug 1273875 - On shutdown leak HTTP cache entries memory, r=michal
2016-05-18 06:39:00 +02:00
Honza Bambas
9c4215a1fb
Bug 1271701 - Make about:cache channels cancelable. r=michal
2016-05-12 10:19:00 -04:00
Honza Bambas
d9981dcb53
Bug 1271019 - Don't call on nsIURI on non-main threads from HTTP cache back end. r=michal
2016-05-12 06:38:00 -04: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 Hurley
fd7a5d97b5
Bug 1016628 - Add prefetch abilities to the predictor. r=mayhemer
2016-04-21 12:32:30 -07:00
Honza Bambas
de75162c69
Bug 1066970
- Show 'calculating' during HTTP cache cleaning process in preferences window, r=michal
2016-04-05 05:59:00 +02: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
Bogdan Postelnicu
3de845aa19
Bug 1251253 - prevent null pointer dereference of |aContext| in CacheStorageService::DoomStorageEntries. r=mayhemer
...
MozReview-Commit-ID: BmXXg4eW25n
--HG--
extra : rebase_source : 35ca2824ebdd618fef7b6de4858de8214571f466
2016-02-25 20:41:52 +02:00
Honza Bambas
68a7636bf1
Bug 1050613 - Make sure force-valid for HTTP cache entries is removed when entries are removed, r=michal
2016-02-19 11:56:00 +01:00