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
Michal Novotny
53e5e52ac1
Bug 1313095 - Preserve cache queue length for logging and telemetry r=honzab
...
MozReview-Commit-ID: 2PbkAm78xz8
2016-11-10 16:14:23 +01:00
Michal Novotny
2b03d7b575
Bug 1201042 - Update HTTP cache index format to work with OriginAttributes' suffix, r=honzab
2016-11-08 21:11:30 +01:00
Carsten "Tomcat" Book
dbc8d15cba
Backed out changeset bd16c2fde4bf (bug 1201042) for bc test failures
2016-11-07 12:58:23 +01:00
Michal Novotny
55b3501a07
Bug 1201042 - Update HTTP cache index format to work with OriginAttributes' suffix, r=honzab
2016-11-07 10:28:46 +01:00
Jacek Caban
dfd458e907
Bug 1288204 - cross-compilation fixup.
2016-11-04 15:40:22 +01:00
Michal Novotny
f3ecdc91f2
Bug 1311361 - Crash in mozilla::net::CacheFileChunkBuffer::SetDataSize, r=honzab
2016-10-24 20:47:56 +02:00
Michal Novotny
9b2bf11843
Bug 1310205 - remove MOZ_ASSERT(entry->mRec->mFrecency == 0 || entry->mRec->mFrecency > mOldFrecency)), r=honzab
2016-10-17 15:39:57 +02: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
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
Michal Novotny
e700b41079
Bug 1249304 - Optimize sorting of CacheIndex::mFrecencyArray, r=honzab
2016-10-06 11:23:52 +02:00
Honza Bambas
c9cce146d4
Bug 1306033 - Only fatal console warnings on failures of OpenAlternativeInputStream in HTTP cache. r=michal
...
--HG--
extra : rebase_source : 147258f504b3ce5433739b09c96ee68ffec30c0d
2016-09-29 07:26:00 -04:00
Valentin Gosu
29eff7dfe4
Bug 1231565 - (Part 3) Make alt-data responses report the correct content length r=michal
...
MozReview-Commit-ID: DvQP7NB4SqW
2016-09-27 10:26:00 +02:00
Valentin Gosu
76d2cd8b5d
Bug 1231565 - (Part 2) Allow storing alternate data in the HTTP cache r=honzab
...
* Add PAltDataOutputStream.ipdl to be able to open an OutputStream to the cache entry in the child process
* AltDataOutputStreamChild/Parent are Main Thread only for now.
* Adds methods for reading and writing alt-data to nsICacheInfoChannel.idl
* Keep a ref of the cache entry after OnStopRequest in case the consumer tries to open the alt-data output stream
MozReview-Commit-ID: jlraDI97Hg
2016-04-11 05:17:02 +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
Michael Layzell
36e08437d0
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Michal Novotny
dd304b5d16
Bug 1277826 - Crash in shutdownhang | mozilla::net::CacheIndex::WriteLogToDisk, r=honzab
2016-09-04 02:39:49 +02:00
Honza Bambas
389ae20f08
Bug 1288204 - Use CancelSynchronousIo Win32 function to cancel blocking I/O on the HTTP cache thread. r=michal
...
--HG--
extra : rebase_source : 996af543772b29c36fb2c8eeee7a8fa8b08dac68
2016-08-10 10:50:00 -04:00
Honza Bambas
a7ea3ad127
Bug 1292623 - Only write HTTP cache entries' metadata after shutdown. r=michal
...
--HG--
extra : rebase_source : 0ad5bde99a6fc969f7ec6033cd7010b425f1504f
2016-08-26 05:05:00 -04:00
James Andreou
4c787b8989
Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer
2016-08-26 13:06:48 -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
Honza Bambas
fe911e63d8
Bug 1289163 - Make sure no HTTP cache entry file is created when URL opened as read-only. r=michal
...
--HG--
extra : rebase_source : ebcaa166a942b54120dbb84e415bcda44b632fec
2016-08-09 11:19:00 -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
Michal Novotny
46b5c2fb6e
Bug 1258747 - Support for alternative data in CacheFile, r=honzab
2016-08-17 12:58:44 +02:00
Michael Layzell
eea03e9e4d
Bug 1293364 - Refactor out duplicate typedefs in xpidl, r=mayhemer
...
MozReview-Commit-ID: 6lJxrqqBTk8
2016-08-10 11:11:42 -04:00
Honza Bambas
b5e7290efb
Bug 1292547 - Kill() doomed CacheFile when only refered by the writer, r=michal
2016-08-05 11:05:00 +02:00
Honza Bambas
d665d2f45c
Bug 1292509 - Mark CacheFileHandles invalid ASAP we can't read metadata, r=michal
2016-08-05 11:10:00 +02:00
Honza Bambas
237faab5b3
Bug 1285476 - Let appcache double-cache resources that are cross origin, r=michal
2016-07-27 13:08:00 +02: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
Michal Novotny
67b220d054
Bug 1291347
- Make CacheFileContextEvictor::EvictEntries shutdown aware, r=honzab
2016-08-09 20:29:40 +02:00
Michal Novotny
31663f7edd
Bug 1268587 - Don't try to create cache2 dirs on and on when it once fails, r=honzab
2016-08-09 20:17:04 +02:00
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