Commit Graph

47 Commits

Author SHA1 Message Date
Michal Novotny
3de28086b8 Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman 2014-08-18 15:36:27 +02:00
Ehsan Akhgari
77dfc12d57 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Benoit Girard
e7aea75462 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Michal Novotny
c3742f1212 Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Honza Bambas
4c2f42ca89 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-23 17:48:52 +02:00
Carsten "Tomcat" Book
d5a0b28f6d Backed out changeset d1c1aec94228 (bug 967310) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:07:09 +02:00
Honza Bambas
fab3e28fe1 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-21 21:41:01 +02:00
Michal Novotny
138e5b63c3 Bug 1011771 - fix for crash in CacheFile::RemoveChunk() and CacheFile::Unlock(), r=honzab 2014-05-28 16:16:03 +02:00
Michal Novotny
9d113db4a2 Bug 1013333 - HTTP cache v2: do not allow preloading of chunks without input streams once the output stream is opened, r=honzab 2014-05-21 23:42:09 +02:00
Michal Novotny
604004a47d Bug 1007071 - Check cache entry size in CacheFileOutputStream::Write(), r=honzab 2014-05-19 14:21:18 +02:00
Honza Bambas
1fd761cfbc Bug 1012331 - Let CacheFile::PreloadChunks use mPreloadChunkCount instead of prefs, r=michal 2014-05-18 20:03:57 +02:00
Michal Novotny
922ce98bcf Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments, r=honzab 2014-05-18 09:31:38 +02:00
Honza Bambas
d781d97aa8 Bug 1010221 - Let CacheFileInputStream::ReadSegments loop over all preloaded chunks, r=michal 2014-05-15 19:24:55 +02:00
Honza Bambas
72655176a6 Bug 1010153 - CacheFileIOManager::ScheduleMetadataWrite called for memory only CacheFiles, r=michal 2014-05-14 23:12:39 +02:00
Honza Bambas
4b9d2cd197 Bug 1006181 - HTTP cache v2 memory only storage area not freed on limit, fix purge condition, r=michal 2014-05-14 23:12:38 +02:00
Honza Bambas
bb56324ae4 Bug 1005475 - Remove lock acquire from CacheEntry::IsFileDoomed() and bellow, r=michal 2014-05-05 19:25:59 +02:00
Honza Bambas
181d06f227 Bug 1005079 - Move index check from CacheFile to CacheEntry to speed up, r=michal 2014-05-05 19:25:58 +02:00
Michal Novotny
8ed86073b7 Bug 913819 - HTTP cache v2: preload several chunks in advance in input stream to speed up reading, r=honzab 2014-05-02 20:15:14 +02:00
Honza Bambas
3c1571370b Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
Honza Bambas
e0a27b1b69 Backing out bug 916052 (2557b51a47a0) for build bustage on linux/osx, r=bustage on CLOSED TREE 2014-04-30 13:05:43 +02:00
Honza Bambas
31fe98bfc2 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-04-30 12:39:18 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Honza Bambas
3c216393ff Bug 999383 - optimize Open and Read inter-thread calls in CacheFileIOManager, r=michal 2014-04-26 18:42:07 +02:00
Michal Novotny
7aec3e9c81 Bug 913812 - HTTP cache v2: properly propagate errors through the cache file code, r=honzab 2014-04-22 13:23:17 +02:00
Honza Bambas
3c9ba955de Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas
f995ca3053 Bug 985156 - CacheFile doesn't report mKey during memory report, r=michal 2014-04-04 14:42:06 +02:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Honza Bambas
c92efaadf6 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Michal Novotny
f63c6643d9 Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab 2014-02-18 18:26:48 +01:00
Michal Novotny
9b70ceb5ad Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Michal Novotny
49844b22b5 Bug 976147 - Prevent throwing cached chunks when CacheFile is memory-only, r=honzab 2014-03-11 11:01:08 +01:00
Ed Morley
c342ecebeb Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley
0c897a146f Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley
bf4bf677f4 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Michal Novotny
d00154d96e Bug 976922 - heap-use-after-free mozilla::net::CacheEntry::GetMetaDataElement in NS_strdup, r=honzab 2014-03-05 18:14:19 +01:00
Honza Bambas
ee26aea707 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Michal Novotny
7598469342 Bug 913808 - Evict entries from the disk cache when cache limit is reached, r=honzab 2014-02-18 18:26:48 +01:00
Michal Novotny
b8b4892850 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Honza Bambas
532e84f84f Bug 971975 - Proper state and non-null check for CacheFile::WriteMetadataIfNeededLocked(), r=michal 2014-02-14 14:21:28 +01:00
Honza Bambas
a78e92ddaa Bug 949250 - Improve CacheFileMetadata write timer, remove non-thread safe nsWeakRef, r=michal 2014-01-06 21:27:18 +01:00
Honza Bambas
4312d8231d Bug 958311 - Fix partial content condition in nsHttpChannel, prevent any reuse of doomed files in cache v2, r=michal 2014-01-22 18:54:51 +01:00
Honza Bambas
2f251dd01a Bug 962077 - Uninitialized rv in CacheFile::Doom, r=michal 2014-01-22 18:54:50 +01:00
Honza Bambas
d779f0e193 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00
Honza Bambas
f5edb7d29d Bug 914644 - HTTP cache v2: failure of test_doomentry.js, proper sync when dooming after open, r=michal 2014-01-09 00:27:32 +01:00
Michal Novotny
79f086b3bf Bug 926069 - CacheFile must not create new entry when key is a hash, r=honzab 2013-12-16 18:01:54 +01:00
Honza Bambas
e4cdf91ccd Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Michal Novotny
35950d5164 Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab 2013-09-20 11:11:26 +02:00