Commit Graph

194 Commits

Author SHA1 Message Date
Honza Bambas
995070a4f7 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Honza Bambas
0219d2b402 Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal 2014-06-05 18:27:38 +02:00
Honza Bambas
8f57c8e341 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
4b14ce2ad7 Bug 1017546 - Move CacheStorageService::CleaupCacheDirectories job to background, r=michal 2014-06-03 14:35:17 +02:00
Honza Bambas
7645fc87a0 Bug 1016451 - HTTP cache v2: add shutdown time probe for sanitize case, r=michal 2014-05-29 00:52:21 +02:00
Honza Bambas
3b4a73d31e Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal 2014-05-29 00:52:21 +02:00
Michal Novotny
8530936fe0 Bug 1011771 - fix for crash in CacheFile::RemoveChunk() and CacheFile::Unlock(), r=honzab 2014-05-28 16:16:03 +02:00
Birunthan Mohanathas
cfd62b35ad 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
952b834c76 Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
f65339b9ff Bug 869836 - Part 5: Use AssignLiteral instead of Assign where possible. r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
189593520f Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Michal Novotny
069163af8b 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
2266d17f80 Bug 1007071 - Check cache entry size in CacheFileOutputStream::Write(), r=honzab 2014-05-19 14:21:18 +02:00
Honza Bambas
e72e80c669 Bug 1011150 - HTTP cache v2: reimplement AsyncDoomURI for appcache storage, r=michal 2014-05-18 20:03:57 +02:00
Honza Bambas
9cb543b9fe Bug 1012331 - Let CacheFile::PreloadChunks use mPreloadChunkCount instead of prefs, r=michal 2014-05-18 20:03:57 +02:00
Michal Novotny
281e13e756 Bug 1010783 - Base CacheFileInputStream::Read on ReadSegments, r=honzab 2014-05-18 09:31:38 +02:00
Honza Bambas
19ddd1b186 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
9e342ce37a 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
e282331a70 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
e38b016b3b Bug 913806 - turn HTTP cache v2 on by default, r=jduell 2014-05-15 16:31:26 -07:00
Honza Bambas
1b6004c6f1 Bug 1010221 - Let CacheFileInputStream::ReadSegments loop over all preloaded chunks, r=michal 2014-05-15 19:24:55 +02:00
Honza Bambas
0e677f5560 Bug 1010153 - CacheFileIOManager::ScheduleMetadataWrite called for memory only CacheFiles, r=michal 2014-05-14 23:12:39 +02:00
Honza Bambas
8e145138f5 Bug 1009500 - HTTP cache v2: respect OPEN_BYPASS_IF_BUSY, r=michal 2014-05-14 23:12:38 +02:00
Honza Bambas
1ce5b4714e 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
7d83d58356 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
960edf3f12 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
77b3fc0b0b Bug 1005475 - Remove lock acquire from CacheEntry::IsFileDoomed() and bellow, r=michal 2014-05-05 19:25:59 +02:00
Honza Bambas
2a1a5368c6 Bug 1005079 - Move index check from CacheFile to CacheEntry to speed up, r=michal 2014-05-05 19:25:58 +02:00
Michal Novotny
919d02722d 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
64dcad7bee 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
39cdf6c4cb Bug 976171 - crash in mozilla::net::CacheIOThread::LoopOneLevel(unsigned int), r=michal 2014-05-02 20:15:15 +02:00
Michal Novotny
9a6e8306aa 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
ec884e84a0 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-05-01 13:28:12 +02:00
Honza Bambas
fcfec4dbfa 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
bbabececf4 Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN 2014-04-30 12:39:18 +02:00
Birunthan Mohanathas
5f1fde8824 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
5418308b9c Bug 999383 - optimize Open and Read inter-thread calls in CacheFileIOManager, r=michal 2014-04-26 18:42:07 +02:00
Honza Bambas
f52f871f89 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
f0d512f25e Bug 992974 - Improve logs at CacheStorageService::AddStorageEntry, r=michal 2014-04-24 18:50:45 +02:00
Michal Novotny
661f620203 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
161817ef1f 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
b748353443 Bug 994574 - HTTP cache v2: CacheFileMetadata::ParseMetadata() fails to parse any entry, r=honzab 2014-04-10 14:29:46 +02:00
Michal Novotny
993f02b514 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
7f7612b2d2 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
025fed58f4 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Honza Bambas
11890cf418 Bug 941698 - HTTP cache v2: add version information to cache entries, r=michal 2014-04-07 22:07:43 +02:00
Michal Novotny
3b8a819410 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
8371acf5d5 Bug 988318 - HTTP cache v2: enlarge chunk size, r=michal 2014-04-06 20:45:49 +02:00
Honza Bambas
b4dd4d8955 Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas
8f792746f0 Bug 915296 - HTTP cache v2: Show cache consumption correctly in UI, r=michal, gavin 2014-04-06 20:44:40 +02:00
Honza Bambas
e0dd661ad6 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
0ec33c9c0b Bug 985156 - CacheFile doesn't report mKey during memory report, r=michal 2014-04-04 14:42:06 +02:00
Honza Bambas
2f4a0ae540 Bug 986728 - Engage frecency decay time experiment for HTTP cache v2, r=jduell 2014-04-04 14:42:06 +02:00
Honza Bambas
fb73a2ae07 Bug 976866 - HTTP cache v2: Specific dispatch method for eviction events, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
cc5fb8d90d Bug 973319 - Release CacheEntry callbacks on the proper thread, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
918e3fdae3 Bug 959761 - finalize nsICacheEntry interface, r=michal 2014-04-04 14:42:05 +02:00
Michal Novotny
fb51f79dd7 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
b197bab7f7 Bug 983582 - HTTP cache v2: special handles are not released until shutdown, r=honzab 2014-03-28 12:35:06 +01:00
Ehsan Akhgari
186680d83a 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
604d9a5302 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
c879b47079 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
3e8915c4b8 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
1e250fb46a Bug 980527 - wrong log at CacheEntry::ReopenTruncated, r=michal 2014-03-17 18:21:39 +01:00
Honza Bambas
6806499fb7 Bug 979422 - HTTP old cache wrapper performs UMR if onCacheEntryCheck fails, r=michal 2014-03-17 18:21:39 +01:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Michal Novotny
63c7dcaab1 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
5267e9c628 Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
ff7f64d64a 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
a2b286f768 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
7d882ef618 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
811f3e58f6 Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
8c254f8b27 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
d2d590bfc8 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Michal Novotny
134ad6c7db Bug 976147 - Prevent throwing cached chunks when CacheFile is memory-only, r=honzab 2014-03-11 11:01:08 +01:00
Ed Morley
6088e9379c Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley
d324b8dded Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley
fa2daad1c0 Backed out changeset a43ae8497706 (bug 968101) 2014-03-05 17:25:01 +00:00
Ed Morley
ad73a3abc3 Backed out changeset 234c0b4ec7c9 (bug 922081) 2014-03-05 17:24:58 +00:00
Ed Morley
8dbef9c6e0 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Ed Morley
6fee27b115 Backed out changeset 18d79e1e15f9 (bug 958317) 2014-03-05 17:24:52 +00:00
Ed Morley
24bad37290 Backed out changeset 2275f8be60c9 (bug 975255) 2014-03-05 17:24:49 +00:00
Michal Novotny
dc96947b54 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
91aa8a6856 Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
6891434bc6 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
260271bf43 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
d238a88c49 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
227299b5aa Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
41ee219b6e 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
a5234f73a3 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Honza Bambas
617205ccba Bug 967693 - Temporarily turn on HTTP cache v2 on for Desktop Firefox Nightly users, r=jduell+ehsan 2014-02-18 19:06:06 +01:00
Honza Bambas
34a108d747 Bug 971975 - Proper state and non-null check for CacheFile::WriteMetadataIfNeededLocked(), r=michal 2014-02-14 14:21:28 +01:00
Honza Bambas
0a33541973 Bug 950164 - Proper non-null check at CacheFileIOManager::OnProfile(), r=michal 2014-02-14 14:21:18 +01:00
Ehsan Akhgari
d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Phil Ringnalda
33ffca7f1b Back out 285204b60e94 and f401b820cd6a (bug 967693) to turn HTTP cache v2 off to investigate the effect on the influx of failed tests
CLOSED TREE
2014-02-05 22:58:37 -08:00
Honza Bambas
cd0099adac Bug 967693 - Temporarily turn on HTTP cache v2, alternative pref to not lose early adopters, r=jduell 2014-02-05 23:36:56 +01:00
Honza Bambas
c5f606dd7b Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Honza Bambas
723ab5aff0 Bug 913820 - Base for size limit preferences in HTTP cache v2, r=michal 2014-02-04 01:53:00 +01:00
Honza Bambas
eb9c03b9e5 Bug 949175 - Remove possibility to un-persist a cache entry after it has been opened, r=michal 2014-02-04 01:52:59 +01:00
Honza Bambas
7c5fc076d8 Bug 965899 - Ensure properties are loaded before CacheFileIOManager::OnProfile call, r=michal 2014-02-04 01:52:58 +01:00