Граф коммитов

244 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny fc4957e061 Bug 1054425 - cache2: leak in CacheFileMetadata::WriteMetadata, r=jduell 2014-08-18 21:11:40 +02:00
Michal Novotny fc093f7b96 Bug 1042192 - Use Cache2 I/O thread for callbacks from CacheFileIOManager, r=sworkman 2014-08-18 15:36:27 +02:00
Valentin Gosu a94022f8e3 Bug 1045886 - Remove Cache directory from Android profiles r=michal 2014-08-13 16:43:45 +03:00
Andrew McCreight 228d194059 Bug 1046281 - Use the simpler version of nsTHashtable memory reporters. r=njn 2014-08-05 13:27:41 -07:00
Ehsan Akhgari 748c8aca19 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Jeremy Poulin 1aff12806c Bug 1038357 - Add automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab 2014-07-15 09:23:09 -07:00
Jeremy Poulin 890b61b742 Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
L. David Baron 1852dd7be8 Back out the remainder of 3f6ee18b1e9d (bug 1038357), most of which was backed out in 8da875b402fe (backout of bug 1020416). 2014-07-25 17:49:36 -07:00
Brad Lassey d801604520 back out bug 1020416 for causing hangs on Firefox for Android 2014-07-25 13:21:42 -04:00
Jeremy Poulin 19d0897794 Bug 1038357 - Added automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab 2014-07-15 09:23:09 -07:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Jeremy Poulin 0cce7ce188 Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal 2014-07-21 11:34:17 -07:00
Carsten "Tomcat" Book 82d02bf40a Backed out changeset a232fd36c827 (bug 1020416) for nightly startup crashed - bug 1041492 a=sheriffduty 2014-07-21 14:57:09 +02:00
Jeremy Poulin 21a95c5876 Bug 1020416 - Add forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, r=michal 2014-07-18 18:11:34 -07:00
Honza Bambas bbcf250ab6 Bug 1037447 - Introduce nsICacheEntry nsICacheStorage.openTruncate(URL, idEnhance), r=michal 2014-07-16 16:16:30 +02:00
Honza Bambas 36388f686b Bug 1034672 - Fix order of arguments to memcpy in WriteMetadata. r=michal 2014-07-16 10:07:48 -04:00
Michal Novotny bf7bbdfd29 Bug 1035411 - Suspect lock handling in cache2, r=honzab 2014-07-16 10:57:52 +02:00
Michal Novotny 9e398090b9 Bug 1028415 - Cache thread gets stuck in CacheFileIOManager::OverLimitEvictionInternal loop, r=honzab 2014-07-16 10:47:02 +02:00
Benoit Girard 1465e09a99 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 a832d97bc8 Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab 2014-07-11 08:25:55 +02:00
Nicholas Nethercote 2a0942be41 Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Michal Novotny 4141a9c05a Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Benoit Jacob 2e6afb5415 Bug 1035394 - Fix dangerous public destructors in netwerk - r=mcmanus 2014-07-08 17:23:18 -04:00
Honza Bambas 3c2b1bc263 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 a5fa5f1298 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 74a506daf6 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 be993c90a5 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 e679f32ee4 Bug 1027789 - CacheEntry::RememberCallback should unlock before call to InvokeAvailableCallback, r=michal 2014-07-02 18:16:21 +02:00
Honza Bambas d01da37296 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 ff32bb14c1 Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus 2014-06-24 12:36:44 -04:00
Honza Bambas 1d6c3f7bc3 Bug 1024989 - Crash MOZ_ASSERT(mMetadata) in SetFrecency, r=michal 2014-06-24 18:08:36 +02:00
Honza Bambas 3eda94bdc6 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-24 18:08:35 +02:00
Honza Bambas d7d2ac6d0b Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-23 17:48:52 +02:00
Honza Bambas 199c07ce97 Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-23 17:48:52 +02:00
Carsten "Tomcat" Book 60f254fd99 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 63e5ae9d02 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 8e9e3ad772 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 6740725987 Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal 2014-06-21 21:41:02 +02:00
Honza Bambas 213d7e0a06 Bug 967310 - optimize call to CacheFileIOManager::UnscheduleMetadataWrite, r=michal 2014-06-21 21:41:01 +02:00
Honza Bambas 7abf6a38ec Bug 956801 - save some locking in CacheEntry::BackgroundOp, r=michal 2014-06-21 21:41:01 +02:00
Benoit Jacob 117676ec6f Bug 1027251 - Fix or whitelist dangerous public destructors in netwerk/ - r=mcmanus 2014-06-20 07:08:24 -04:00
Nicholas Nethercote aaf6fb2124 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 ddf3a1c225 Bug 1024495 - crash in mozilla::net::CacheFileIOManager::GetProfilelessCacheDirectory, r=michal 2014-06-13 01:45:43 +02:00
Honza Bambas a3e715ae45 Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz 2014-06-13 01:45:43 +02:00
Honza Bambas a77f4e5bd7 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 cbebf1f0df Bug 1013638 - CacheFileIn(Out)putStream::AsyncWait() doesn't respect eventTarget argument, r=honzab 2014-06-12 18:04:41 +02:00
Michal Novotny 89006b5b80 Bug 1021612 - Fix offset calculation in CacheFileMetadata::ReadMetadata(), r=honzab 2014-06-08 00:00:57 +02:00
Honza Bambas 4b98e16e4c Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen 006487470f 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 86c8669258 Bug 1019934 - don't access mRefCnt after CacheFileChunk::DispatchRelease() has been called, r=michal 2014-06-05 18:27:38 +02:00
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