Michal Novotny
dbb581c9f8
Bug 1276920 - Limit number of tries to find unused file name for doomed entry file, r=honzab
2016-07-30 00:55:46 +02:00
Ting-Yu Chou
1c886052d2
Bug 1289278 - Fix null dereferencing in GetCacheDirectory(). r=michal
2016-07-26 13:13:38 +08:00
Andi-Bogdan Postelnicu
423a1b45b2
Bug 1289397 - prevent overflow in CacheFileChunk::UpdateDataSize. r=valentin
...
MozReview-Commit-ID: HCZD9tkSr9I
--HG--
extra : rebase_source : 044f7d67f08de850da8cd23b4a35eb1cc5c99ccc
2016-07-26 15:29:16 +03:00
Carsten "Tomcat" Book
336105a0de
merge mozilla-inbound to mozilla-central a=merge
2016-07-22 11:58:02 +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
Wes Kocher
3bba9b339e
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
f4b033d329
Bug 1287623, part 5 - Convert CacheFileIOManager::gInstance to StaticRefPtr. r=mayhemer
2016-07-20 15:19:00 -07:00
Andrew McCreight
54bdb774ad
Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer
2016-07-20 15:19:00 -07:00
Andrew McCreight
afa9136306
Bug 1287602 - CacheFile::GetChunk() is unused. r=michal
2016-07-20 15:18:59 -07:00
Andrew McCreight
9653815dee
Bug 1287623, part 5 - Convert CacheFileIOManager::gInstance to StaticRefPtr. r=mayhemer
2016-07-21 09:54:17 -07:00
Andrew McCreight
3059107942
Bug 1287623, part 4 - Make CacheIndex::gInstance a StaticRefPtr. r=mayhemer
2016-07-21 09:54:17 -07:00
Michal Novotny
43bbac13b3
Bug 1279246 - Hang due to CacheFileInputStream deadlock, r=honzab
2016-07-12 17:58:38 +02:00
Julian Seward
848fd91f64
Bug 1278524 - TSan: data races netwerk/cache2/CacheEntry.{h,cpp} on CacheEntry::{mUseDisk, mSecurityInfoLoaded, mPreventCallbacks}. r=honzab.moz.
...
--HG--
extra : rebase_source : d9c32095f81622e70014be704406c277c28f887f
2016-06-30 12:24:54 +02:00
Honza Bambas
e62bd5f22b
Bug 1277275 - Cache I/O queue length telemetry, r=michal
2016-06-27 05:43:00 +02:00
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