Nathan Froyd
8b24c9d51c
Bug 1281626 - part 3 - make various things accept already_AddRefed<nsIRunnable>; r=khuey
...
All of these things are called with the result of
NS_NewRunnableFunction, so we need to transition them over to a world
where NS_NewRunnableFunction returns something different.
2016-06-28 22:24:54 -04:00
Honza Bambas
1998cc0732
Bug 1276930 - Bypass HTTP cache data read right after shutdown, r=michal
...
--HG--
extra : rebase_source : c0f568a3642c74eaad7f901c52f6dd67c6281217
2016-06-22 16:18:01 -07:00
Julian Seward
5f62e27fe9
Bug 1278502 - TSan: data races netwerk/cache2/CacheFileIOManager.{h,cpp} on CacheFileHandle::{mSpecialFile, mInvalid}. r=michal.novotny.
...
--HG--
extra : rebase_source : 0e81dc3ed261bf8d2e62c4f1ffaccc28e8ffcfa1
2016-06-21 14:48:48 +02:00
Carsten "Tomcat" Book
7433982068
Backed out changeset 5038112b5f78 (bug 1277275) for bustage
2016-06-13 09:55:08 +02:00
Honza Bambas
ee7057c5e9
Bug 1277275 - Cache I/O queue length telemetry, r=michal
2016-06-09 09:00:00 +02:00
Ralph Giles
2635086221
Bug 1275744 - Reference MOZ_LOG in netwerk comments. r=erahm
...
NSPR_LOG_MODULES is deprecated.
Programs in the test directory still use PR_NewLogModule,
so NSPR_LOG_MODULES is accurate for them. Getting these
to link against libxul for LazyLogModule is still to do,
so leave those for now.
MozReview-Commit-ID: 3uMR3YPJyyi
--HG--
extra : rebase_source : a94c6392cb0de1b6d6324b192954f48f784e8cbe
2016-05-25 16:13:54 -07:00
Honza Bambas
b46bbd249f
Bug 1276869 - Don't remove any active HTTP caches file after shutdown, r=michal
2016-06-03 13:30:57 +02: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
85e6362a96
Bug 1274585 - Push HTTP cache index build when asked for disk cache size, r=michal
2016-05-30 04:48:00 +02:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -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
2cea93fbf9
Bug 1268569 - Don't bother removing files from cache2/doomed dir after shutdown. r=michal
...
--HG--
extra : rebase_source : 0d8a1963584261a784ab9708bcb5f4ae5c4b2d71
2016-05-20 09:04:00 +02:00
Honza Bambas
9c4215a1fb
Bug 1271701 - Make about:cache channels cancelable. r=michal
2016-05-12 10:19:00 -04: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
Honza Bambas
a8542b6e9c
Bug 1267195 - Correctly update HTTP cache size in UI only after we actually clear the cache. r=michal
2016-05-12 07:57: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
Michal Novotny
ef6eda1f63
Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab
2016-05-11 11:46:54 +02:00
Michal Novotny
04256ec318
Bug 1253883 - Do not release mRWBuf until pending read/write operation finishes, r=honzab
2016-05-11 10:48:28 +02:00
Nathan Froyd
08c711b5df
Bug 1263197 - part 1 - use temporary variables in CacheIndex logging; r=michal.novotny
...
Using temporary variables here makes the code a bit clearer by not
repeating the readUint32 call. A temporary variable also avoids the
compiler complaining about not using the result of readUint32 (which is
a MOZ_MUST_USE function) for the upcoming logging disabling patch.
2016-05-06 09:11:17 -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
Michal Novotny
4282b4dba0
Bug 1268922 - Limit number of tries to find unused trash directory, r=honzab
2016-05-02 19:58:58 +02:00
Honza Bambas
5a9074a7ca
Bug 1268922 - Don't insist on removal of cache2/doomed directory, causing cache responsiveness slowdown, r=michal
2016-04-30 14:24:20 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10: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
Michal Novotny
03ed0becb2
Bug 1265243 - Do not initialize CacheObserver in the child process, r=honzab
2016-04-20 11:29:50 +02:00
Michal Novotny
3e05444c44
Bug 1253040 - Do not write metadata if CacheFile is killed, r=honzab
2016-04-17 16:23:49 +02: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
Michal Novotny
36eaa1d10d
Bug 1257611 - Fix wrong CondVar::Wait() and Monitor::Wait() usage in netwerk/cache2, r=honzab
2016-03-21 16:51:58 +01:00
Julian Seward
96a413ffed
Bug 1248915 - TSan: data race on global 'mozilla::net::CacheObserver::sDiskCacheCapacity'. r=honzab.moz, n.nethercote.
2016-03-20 10:08:57 +01:00
Michal Novotny
64e57a04ef
Backed out changeset 1ff643f2c358 (bug 1251130). r=backout
2016-03-11 12:55:15 +01:00
Michal Novotny
a226a7c588
Bug 1251130 - null out CacheFileIOManager::gInstance in CacheFileIOManager::ShutdownInternal() to prevent doing shutdown procedure multiple times, r=honzab
2016-03-09 16:50:16 +01:00
Jonathan Watt
7000ea35bd
Bug 1253094, part 6 - Stop using DebugOnly for class/struct members in netwerk/. r=mayhemer
...
MozReview-Commit-ID: Ab9bM9WI2uD
2016-02-26 15:52:07 +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
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
f6e228e9d3
Bug 1247644 - Don't do any I/O on doomed and unused HTTP cache entries, r=michal
2016-02-12 14:45:00 +01: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
Honza Bambas
fd14c17712
Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown. r=michal
2016-02-12 09:36:00 -05:00
Michal Novotny
83b2b79f9d
Bug 1248958 - CacheIndex mRWBuf ownership too fragile, read-after-free, r=honzab
2016-02-18 11:43:20 +01:00
Honza Bambas
581cd94d0a
Bug 1248003 - Purge from HTTP cache memory pool only in reasonable intervals, r=michal
2016-02-15 11:45:00 +01:00
Michal Novotny
5546f7149d
Bug 1248389 - Cache index causing CPU loops, r=honzab
2016-02-17 11:47:47 +01:00
radu stoica
913ed1d7ab
Bug 1248558 - "[Static Analysis][Unintentional integer overflow][CacheFile.cpp::PreloadChunk, CacheFile.cpp::GetChunkLocked]". r=michal
...
--HG--
extra : rebase_source : a13923fa1d2618f7a00363b17e3a8f9bf090e89f
2016-02-16 04:29:00 +01:00
Wes Kocher
6d91654914
Backed out changeset 9d5fa6d7558a (bug 1247432) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures
...
--HG--
extra : commitid : 1NKaYZHHXip
extra : rebase_source : 4f280016d0e7c767eca959d428a6978397514840
2016-02-16 16:40:43 -08:00
Honza Bambas
b081be5e55
Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown, r=michal
2016-02-12 09:36:00 +01:00
Aidin Gharibnavaz
686438c658
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book
5b358688b7
Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
...
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz
69cf7e035f
Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
...
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Ben Kelly
2f4a4aa980
Bug 1244122 P1 Always support SW intercept even when http cache is disabled. r=mayhemer
2016-02-02 10:03:20 -08:00