Commit Graph

222 Commits

Author SHA1 Message Date
Benoit Jacob
c517b3dd2b Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00
Honza Bambas
5acf95d33e Bug 920606 - HTTP cache v2: add telemetry for the intermediate memory cache purging, r=michal 2014-07-08 16:48:00 +02:00
Honza Bambas
ea6bc303ad Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-07 20:58:26 +02:00
Honza Bambas
9f0550ae71 Backing out 6c5c6cbad330 (bug 1032992) for Adnroid failures - GC doesn't work there as on other platforms..., r=backout 2014-07-02 19:53:00 +02:00
Honza Bambas
dfc928aba7 Bug 1032992 - Set mHasData in CacheEntry when metadata are filled but no data are written, r=michal 2014-07-02 18:16:22 +02:00
Honza Bambas
6e7cb4bda7 Bug 1027789 - CacheEntry::RememberCallback should unlock before call to InvokeAvailableCallback, r=michal 2014-07-02 18:16:21 +02:00
Honza Bambas
eef02f8961 Bug 1025913 - Let memory-only HTTP cache entries doom disk entries, CacheEntry.mUseDisk immutable, r=michal 2014-06-25 18:42:50 +02:00
Benoit Jacob
d51ba204fb Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Honza Bambas
d03b8868f9 Bug 1024989 - Crash MOZ_ASSERT(mMetadata) in SetFrecency, r=michal 2014-06-24 18:08:36 +02:00
Honza Bambas
30423ad23b Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-24 18:08:35 +02:00
Honza Bambas
c7ab92d1ad Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-23 17:48:52 +02:00
Honza Bambas
1b75271e43 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-23 17:48:52 +02:00
Carsten "Tomcat" Book
a3056811ee Backed out changeset 374f71301703 (bug 956801) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:07:18 +02:00
Carsten "Tomcat" Book
8e64cacd96 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
Carsten "Tomcat" Book
f9c027ef68 Backed out changeset f2c5626b3cec (bug 1023413) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE 2014-06-23 13:06:30 +02:00
Honza Bambas
89d8927d57 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00
Honza Bambas
93dd96aa60 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-21 21:41:01 +02:00
Honza Bambas
93b81e1052 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-21 21:41:01 +02:00
Benoit Jacob
58b17c899b Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Honza Bambas
10e522722d Bug 1024495 - crash in mozilla::net::CacheFileIOManager::GetProfilelessCacheDirectory, r=michal 2014-06-13 01:45:43 +02:00
Honza Bambas
0cca635028 Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz 2014-06-13 01:45:43 +02:00
Honza Bambas
6ea917fd70 Bug 1013587 - HTTP cache v2: Start preload on input stream open for existing entries, r=michal 2014-06-12 18:04:42 +02:00
Michal Novotny
0aa0a48d6a Bug 1013638 - CacheFileIn(Out)putStream::AsyncWait() doesn't respect eventTarget argument, r=honzab 2014-06-12 18:04:41 +02:00
Michal Novotny
23a6a613cd Bug 1021612 - Fix offset calculation in CacheFileMetadata::ReadMetadata(), r=honzab 2014-06-08 00:00:57 +02:00
Honza Bambas
420f7458b0 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
a399b90ef2 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
cc27798dfe Bug 1019934 - don't access mRefCnt after CacheFileChunk::DispatchRelease() has been called, r=michal 2014-06-05 18:27:38 +02:00
Honza Bambas
6a323418e1 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Honza Bambas
97d6f59ea9 Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal 2014-06-05 18:27:38 +02:00
Honza Bambas
b448ba969f 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
99a9949555 Bug 1017546 - Move CacheStorageService::CleaupCacheDirectories job to background, r=michal 2014-06-03 14:35:17 +02:00
Honza Bambas
9118553761 Bug 1016451 - HTTP cache v2: add shutdown time probe for sanitize case, r=michal 2014-05-29 00:52:21 +02:00
Honza Bambas
63d11c10ca Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal 2014-05-29 00:52:21 +02:00
Michal Novotny
92e3a40b8a Bug 1011771 - fix for crash in CacheFile::RemoveChunk() and CacheFile::Unlock(), r=honzab 2014-05-28 16:16:03 +02:00
Birunthan Mohanathas
05e61fd2cb 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
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
e5b0697f13 Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
53a11ecbdf Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
41bdca1ff6 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Michal Novotny
9cf011be5c 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
112ee06aa3 Bug 1007071 - Check cache entry size in CacheFileOutputStream::Write(), r=honzab 2014-05-19 14:21:18 +02:00
Honza Bambas
9f27c74a01 Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +02:00
Honza Bambas
592c809abb Bug 1012331 - Let CacheFile::PreloadChunks use mPreloadChunkCount instead of prefs, r=michal 2014-05-18 20:03:57 +02:00
Michal Novotny
de296d752e Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments, r=honzab 2014-05-18 09:31:38 +02:00
Honza Bambas
9ed36bd7fe 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
63cd113b5a 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
a845a20be1 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
4cbc0878c1 Bug 913806 - turn HTTP cache v2 on by default, r=jduell 2014-05-15 16:31:26 -07:00
Honza Bambas
b6d4826f34 Bug 1010221 - Let CacheFileInputStream::ReadSegments loop over all preloaded chunks, r=michal 2014-05-15 19:24:55 +02:00
Honza Bambas
b4a20396e7 Bug 1010153 - CacheFileIOManager::ScheduleMetadataWrite called for memory only CacheFiles, r=michal 2014-05-14 23:12:39 +02:00
Honza Bambas
4f3dee8ee7 Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal 2014-05-14 23:12:38 +02:00
Honza Bambas
16830192eb 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
9d74aa4120 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
ce5d2b63cf 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
223e3b1b2a Bug 1005475 - Remove lock acquire from CacheEntry::IsFileDoomed() and bellow, r=michal 2014-05-05 19:25:59 +02:00
Honza Bambas
12b8e62554 Bug 1005079 - Move index check from CacheFile to CacheEntry to speed up, r=michal 2014-05-05 19:25:58 +02:00
Michal Novotny
f5e39d9807 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
5a3cea2381 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
729ad40cb1 Bug 976171 - crash in mozilla::net::CacheIOThread::LoopOneLevel(unsigned int), r=michal 2014-05-02 20:15:15 +02:00
Michal Novotny
1c148b9414 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
f58519de04 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
Honza Bambas
80c232b29e 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
3463b9921d Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-04-30 12:39:18 +02:00
Birunthan Mohanathas
504b581650 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
461bf1d56b Bug 999383 - optimize Open and Read inter-thread calls in CacheFileIOManager, r=michal 2014-04-26 18:42:07 +02:00
Honza Bambas
38da132655 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
01bfd9a71a Bug 992974 - Improve logs at CacheStorageService::AddStorageEntry, r=michal 2014-04-24 18:50:45 +02:00
Michal Novotny
03e018efb7 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
23c2db8e3a 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
22219571de Bug 994574 - HTTP cache v2: CacheFileMetadata::ParseMetadata() fails to parse any entry, r=honzab 2014-04-10 14:29:46 +02:00
Michal Novotny
de7c98ded1 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
84f59de5df 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
7bd0ac22b6 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Honza Bambas
fa35495fca Bug 941698 - HTTP cache v2: add version information to cache entries, r=michal 2014-04-07 22:07:43 +02:00
Michal Novotny
0b87e446a2 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
d67efedb0f Bug 988318 - HTTP cache v2: enlarge chunk size, r=michal 2014-04-06 20:45:49 +02:00
Honza Bambas
1a48d97266 Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas
7ae5cd9848 Bug 915296 - HTTP cache v2: Show cache consumption correctly in UI, r=michal, gavin 2014-04-06 20:44:40 +02:00
Honza Bambas
9daae001cd 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
Honza Bambas
ad97eaff34 Bug 985156 - CacheFile doesn't report mKey during memory report, r=michal 2014-04-04 14:42:06 +02:00
Honza Bambas
63ed8e8c2e Bug 986728 - Engage frecency decay time experiment for HTTP cache v2, r=jduell 2014-04-04 14:42:06 +02:00
Honza Bambas
271e4f5255 Bug 976866 - HTTP cache v2: Specific dispatch method for eviction events, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
1861e78efd Bug 973319 - Release CacheEntry callbacks on the proper thread, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
2910a2bf93 Bug 959761 - finalize nsICacheEntry interface, r=michal 2014-04-04 14:42:05 +02:00
Michal Novotny
7039482575 Bug 987814 - HTTP cache v2: initial index build happens immediately after the profile is open, r=honzab 2014-03-28 14:51:58 +01:00
Michal Novotny
59fe475a18 Bug 983582 - HTTP cache v2: special handles are not released until shutdown, r=honzab 2014-03-28 12:35:06 +01:00
Ehsan Akhgari
345b35a6e8 Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Neil Rashbrook
921625ab05 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
2939a367ba Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Neil Rashbrook
f83724018d Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Honza Bambas
75bcba9749 Bug 980527 - wrong log at CacheEntry::ReopenTruncated, r=michal 2014-03-17 18:21:39 +01:00
Honza Bambas
52cf0840af Bug 979422 - HTTP old cache wrapper performs UMR if onCacheEntryCheck fails, r=michal 2014-03-17 18:21:39 +01:00
Kyle Huey
f7eafc09a9 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Michal Novotny
6d22e72788 Bug 968106 - HTTP cache v2: implementation of the eviction of the whole disk cache, r=honzab 2014-03-07 12:22:59 +01:00
Honza Bambas
72173a705a Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
7b19368ac0 Bug 958317 - HTTP cache v2: allow yield to more priority levels in IOThread, r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
89e26e6000 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
d0061ae1e2 Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal 2014-02-27 00:11:38 +01:00
Michal Novotny
ed5f28fdfa Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00