Commit Graph

142 Commits

Author SHA1 Message Date
Honza Bambas
a339540b41 Bug 961024 - Move HTTP cache on Android to application's cache/profile leaf name, r=michal 2014-06-03 14:35:17 +02:00
Honza Bambas
b724e6bbff Bug 1017546 - Move CacheStorageService::CleaupCacheDirectories job to background, r=michal 2014-06-03 14:35:17 +02:00
Honza Bambas
7d88e031ea Bug 1016451 - HTTP cache v2: add shutdown time probe for sanitize case, r=michal 2014-05-29 00:52:21 +02:00
Honza Bambas
2bfef15002 Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal 2014-05-29 00:52:21 +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
Birunthan Mohanathas
84d3adc780 Bug 869836 - Part 10: Use Truncate instead of AssignLiteral(""). r=ehsan
--HG--
extra : rebase_source : e75c900e72e5367518f2b923a839fd23acf29a42
2014-05-26 21:54:53 +03:00
Birunthan Mohanathas
6f68094e30 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
e2a009d822 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
807e72372f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03: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
702d63544d Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +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
d08db2f9f9 Bug 1011487 - HTTP cache v2: WalkCacheRunnable may release it's callback on a non-main thread, r=michal 2014-05-17 15:38:50 +02:00
Ryan VanderMeulen
96ed00e142 Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE. 2014-05-16 12:29:37 -04:00
Honza Bambas
a555d31f10 Bug 1011487 - HTTP cache v2: WalkCacheRunnable may release it's callback on a non-main thread, r=michal 2014-05-16 17:13:04 +02:00
Honza Bambas
3440c8ff66 Bug 913806 - turn HTTP cache v2 on by default, r=jduell 2014-05-15 16:31:26 -07: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
0a9a6f7ec8 Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal 2014-05-14 23:12:38 +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
Michal Novotny
6be4b9589a Bug 1006217 - Assertion failure: mValidityMap.Length() == 0, at netwerk/cache2/CacheFileChunk.cpp:392, r=honzab 2014-05-08 16:15:24 +02:00
Honza Bambas
93500bb0a6 Bug 1006181 - Update frecency of Recreate()'ed entries to get them purged from memory, r=michal 2014-05-06 20:55:50 +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
6ed2e57b0a Bug 1003208 - HTTP cache v2: CacheFileHandle::mHash is accessed after the memory is freed, r=honzab 2014-05-05 15:11:39 +02:00
Michal Novotny
1acf66735f Bug 1003091 - HTTP cache v2: Remove temporary fix in CacheFileContextEvictor::GetContextFile() due to CacheFileUtils::ParseKey() limitation, r=honzab 2014-05-05 15:04:09 +02:00
Honza Bambas
8560bfe949 Bug 976171 - crash in mozilla::net::CacheIOThread::LoopOneLevel(unsigned int), r=michal 2014-05-02 20:15:15 +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
Honza Bambas
b33ce6b166 Bug 998445 - Unable to see disk cache size, 'Calculating web content cache size' stays forever, r=michal 2014-04-24 18:50:46 +02:00
Honza Bambas
3597db07a2 Bug 992974 - Improve logs at CacheStorageService::AddStorageEntry, r=michal 2014-04-24 18:50:45 +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
Michal Novotny
57251af0e1 Bug 987829 - HTTP cache v2: make disk cache smart sizing work with the new backend, r=honzab 2014-04-22 11:21:00 +02:00
Michal Novotny
5b6bf3a4aa Bug 994574 - HTTP cache v2: CacheFileMetadata::ParseMetadata() fails to parse any entry, r=honzab 2014-04-10 14:29:46 +02:00
Michal Novotny
26cbc9bbf4 Bug 977766 - HTTP cache v2: selective deletion of data (by load context info), r=honzab, michal 2014-04-10 12:47:20 +02:00
Michal Novotny
dcb822b5ea Bug 920573 - HTTP cache v2: Remove all cache files during shutdown when "Clear history when Firefox closes" + "Cache" setting is checked, r=honzab 2014-04-09 10:06:59 +02:00
Aaron Klotz
0fe393e140 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Honza Bambas
ad9faabd23 Bug 941698 - HTTP cache v2: add version information to cache entries, r=michal 2014-04-07 22:07:43 +02:00
Michal Novotny
6e58c1290c Bug 988186 - HTTP cache v2: store all fields in CacheFileMetadata in network order on disk, r=honzab 2014-04-07 22:07:38 +02:00
Honza Bambas
69f180a455 Bug 988318 - HTTP cache v2: enlarge chunk size, r=michal 2014-04-06 20:45:49 +02:00
Honza Bambas
3c9ba955de Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas
506985fa5f Bug 915296 - HTTP cache v2: Show cache consumption correctly in UI, r=michal, gavin 2014-04-06 20:44:40 +02:00
Honza Bambas
3d554db1ee Bug 968593 - HTTP cache v2: Make load context key (a.k.a key prefix) safely parsable, r=michal 2014-04-06 20:44:40 +02:00