Commit Graph

166 Commits

Author SHA1 Message Date
Honza Bambas
afdfde986b 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
4180218bc7 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Honza Bambas
04ea686520 Bug 1024989 - Crash MOZ_ASSERT(mMetadata) in SetFrecency, r=michal 2014-06-24 18:08:36 +02:00
Honza Bambas
40a16c956f Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-24 18:08:35 +02:00
Honza Bambas
4c2f42ca89 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-23 17:48:52 +02:00
Honza Bambas
f20f68ae90 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-23 17:48:52 +02:00
Carsten "Tomcat" Book
8013815078 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
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
Carsten "Tomcat" Book
05066fba21 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
e697db4ce4 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00
Honza Bambas
fab3e28fe1 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-21 21:41:01 +02:00
Honza Bambas
e739653497 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-21 21:41:01 +02:00
Benoit Jacob
f8aed38cee Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Nicholas Nethercote
39f29c384a 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
16b9b1b959 Bug 1024495 - crash in mozilla::net::CacheFileIOManager::GetProfilelessCacheDirectory, r=michal 2014-06-13 01:45:43 +02:00
Honza Bambas
eb9e89b8fe Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz 2014-06-13 01:45:43 +02:00
Honza Bambas
0dae1ffa7a 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
6d8f2c04c1 Bug 1013638 - CacheFileIn(Out)putStream::AsyncWait() doesn't respect eventTarget argument, r=honzab 2014-06-12 18:04:41 +02:00
Michal Novotny
6266244a13 Bug 1021612 - Fix offset calculation in CacheFileMetadata::ReadMetadata(), r=honzab 2014-06-08 00:00:57 +02:00
Honza Bambas
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
d4516e53a4 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
98973a62fd Bug 1019934 - don't access mRefCnt after CacheFileChunk::DispatchRelease() has been called, r=michal 2014-06-05 18:27:38 +02:00
Honza Bambas
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Honza Bambas
97dcef96df Bug 938186 - introduce FORCE_ASYNC_CALLBACK for opening cache entries, r=michal 2014-06-05 18:27:38 +02:00
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