Commit Graph

222 Commits

Author SHA1 Message Date
Michal Novotny
dc3cc5f862 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
5ddefec101 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Michal Novotny
b0448f4b17 Bug 976147 - Prevent throwing cached chunks when CacheFile is memory-only, r=honzab 2014-03-11 11:01:08 +01:00
Ed Morley
b3b12a7085 Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley
135000d848 Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley
cbd848b0dc Backed out changeset a43ae8497706 (bug 968101) 2014-03-05 17:25:01 +00:00
Ed Morley
8d864e873e Backed out changeset 234c0b4ec7c9 (bug 922081) 2014-03-05 17:24:58 +00:00
Ed Morley
c08d7ce5f5 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Ed Morley
4f0bf31e98 Backed out changeset 18d79e1e15f9 (bug 958317) 2014-03-05 17:24:52 +00:00
Ed Morley
4a33d9f698 Backed out changeset 2275f8be60c9 (bug 975255) 2014-03-05 17:24:49 +00:00
Michal Novotny
ebe1cdac72 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
bbd426487b Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
c6e00bad75 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
bc33d6846a Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
0626086220 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
e61eee0701 Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
a4289501a7 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
ceb7c11059 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Honza Bambas
966f7d6352 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
a37319e292 Bug 971975 - Proper state and non-null check for CacheFile::WriteMetadataIfNeededLocked(), r=michal 2014-02-14 14:21:28 +01:00
Honza Bambas
27cb196a73 Bug 950164 - Proper non-null check at CacheFileIOManager::OnProfile(), r=michal 2014-02-14 14:21:18 +01:00
Ehsan Akhgari
82ebdc883f 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
be3e1fc310 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
2fe81e82b4 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
3908bcae70 Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Honza Bambas
f7941fb815 Bug 913820 - Base for size limit preferences in HTTP cache v2, r=michal 2014-02-04 01:53:00 +01:00
Honza Bambas
93f00fa94f 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
eb2b8fbd27 Bug 965899 - Ensure properties are loaded before CacheFileIOManager::OnProfile call, r=michal 2014-02-04 01:52:58 +01:00
Honza Bambas
e6b8d77d02 Bug 950134 - Remove MOZ_ASSERT(!truncate) from CacheStorage::AsyncOpenURI when looking up an appcache, r=michal 2014-01-22 18:54:53 +01:00
Honza Bambas
d25e6aa483 Bug 949250 - Improve CacheFileMetadata write timer, remove non-thread safe nsWeakRef, r=michal 2014-01-06 21:27:18 +01:00
Honza Bambas
d598d516b0 Bug 945945 - Improve CacheFileHandle management to prevent crashes, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas
887cfd2eb5 Bug 957707 - Merge management and IO threads in cache v2, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas
30d493e728 Bug 958311 - Fix partial content condition in nsHttpChannel, prevent any reuse of doomed files in cache v2, r=michal 2014-01-22 18:54:51 +01:00
Honza Bambas
9846500a6d Bug 962077 - Uninitialized rv in CacheFile::Doom, r=michal 2014-01-22 18:54:50 +01:00
Honza Bambas
93dc8536c3 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00
Honza Bambas
c5b9740a6d Bug 914644 - HTTP cache v2: failure of test_doomentry.js, proper sync when dooming after open, r=michal 2014-01-09 00:27:32 +01:00
Honza Bambas
a2007b5647 Bug 956374 - HTTP cache v2: fix CacheIOThread::Target() wait conditioning, r=michal 2014-01-09 00:27:31 +01:00
Honza Bambas
cb53bae861 Bug 942835 - Better CacheEntry purge prevention followup, r=michal
* * *
* * *
imported patch cache2/942835-dont-purge-with-pending-callbacks.patch
2014-01-08 23:18:06 +01:00
Honza Bambas
5d84289cd1 Bug 942835 - HTTP cache v2: Better CacheEntry purge prevention, r=michal 2014-01-06 21:24:41 +01:00
Honza Bambas
3c8748480b Bug 937601 - HTTP cache v2: onCacheEntryCheck not called for R/O callbacks, r=michal 2014-01-08 20:36:57 +01:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Honza Bambas
5cc4ccb6b6 Bug 951713 - CacheIOThread causes activity spikes during idle, r=michal 2013-12-19 01:39:16 +01:00
Michal Novotny
5cbe88abb7 Bug 926069 - CacheFile must not create new entry when key is a hash, r=honzab 2013-12-16 18:01:54 +01:00
Ben Turner
0cffbe0bf4 Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Michal Novotny
0e13a9036e Bug 926070 - Addref CacheFileIOManager while using it in its static methods, r=honzab 2013-11-28 00:56:25 +01:00
Nathan Froyd
3e0aa7b9b8 Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Ehsan Akhgari
7242c62c57 Bug 941866 - Exclude files which rely on the known bad patterns from unified builds; r=BenWa 2013-11-21 16:36:59 -05:00
Honza Bambas
b3e6182b6b Bug 922659 - exception from onCacheEntryCheck should cause NOT_FOUND, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
de9b2aff79 Bug 934616 - fix race on use of mFile at CacheEntry::Load, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
80d9b73534 Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas
9744cba15b Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas
f6f9308188 Bug 934610 - fix Assertion failure: \!EventsPending(), at CacheIOThread.cpp:172, r=michal 2013-11-20 23:20:15 +01:00
Chris Peterson
ee12a391d3 Bug 940215 - Build netwerk/cache2, ftp, and rtsp in unified mode. r=mcmanus 2013-11-17 23:29:11 -08:00
Mike Hommey
931cb49886 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
db9e5129bc Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
5072f65f8c Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Honza Bambas
57881152b6 Bug 924938 - Correctly include CacheLog.h as the first file in a module to force logging in opt builds, r=michal 2013-10-15 20:08:26 +02:00
Gian-Carlo Pascutto
7610299230 Bug 925705 - Fix mismatched logging define check. r=honzab 2013-10-14 16:50:49 +02:00
Honza Bambas
9325d7393a Bug 920802 - don't set/drop OPEN_TRUNCATE flag when opening entries from an appcache for read, r=michal 2013-10-09 19:34:44 +02:00
Honza Bambas
5f366dd306 Bug 913814: Fix test_304_responses.js to not be dependent on random GC forcement, r=michal 2013-10-07 18:58:39 +02:00
Honza Bambas
4272ec5e6d Bug 924083 - Fix uninitialized mOldDesc in _OldCacheEntryWrapper(nsICacheEntryInfo*) ctor, r=michal 2013-10-07 18:58:38 +02:00
Ms2ger
6b293d77c2 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Honza Bambas
331e760119 Bug 922123 - Shutdown hang with 100% CPU on Nightly with new cache, r=michal 2013-10-02 11:30:42 +02:00
Honza Bambas
b2421609eb Bug 914824 - HTTP cache v1/v2 general timing and hit rate compare telemetry, r=michal 2013-09-26 21:37:04 +02:00
Honza Bambas
d41a61b56f Bug 913813 - HTTP cache v1/v2 miss/hit time compare telemetry, r=michal 2013-09-26 21:37:03 +02:00
Honza Bambas
af9a77c4e6 Bug 919468 - build issue in CacheStorageService.cpp with logging off, r=michal 2013-09-25 16:42:16 +02:00
Michal Novotny
3476cf6e3d Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab 2013-09-20 11:11:26 +02:00
Honza Bambas
da53acf440 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00