Commit Graph

142 Commits

Author SHA1 Message Date
Honza Bambas
f995ca3053 Bug 985156 - CacheFile doesn't report mKey during memory report, r=michal 2014-04-04 14:42:06 +02:00
Honza Bambas
ccb03c457d Bug 986728 - Engage frecency decay time experiment for HTTP cache v2, r=jduell 2014-04-04 14:42:06 +02:00
Honza Bambas
62b82713ee Bug 976866 - HTTP cache v2: Specific dispatch method for eviction events, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
4d80458f88 Bug 973319 - Release CacheEntry callbacks on the proper thread, r=michal 2014-04-04 14:42:05 +02:00
Honza Bambas
e333c00f22 Bug 959761 - finalize nsICacheEntry interface, r=michal 2014-04-04 14:42:05 +02:00
Michal Novotny
3a53855543 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
8c8c7967d5 Bug 983582 - HTTP cache v2: special handles are not released until shutdown, r=honzab 2014-03-28 12:35:06 +01:00
Ehsan Akhgari
5b9f45a1a5 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
c3b2f90f39 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
c0dba87922 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
b07eaa1644 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
9b61ba130c Bug 980527 - wrong log at CacheEntry::ReopenTruncated, r=michal 2014-03-17 18:21:39 +01:00
Honza Bambas
ef8256065c Bug 979422 - HTTP old cache wrapper performs UMR if onCacheEntryCheck fails, r=michal 2014-03-17 18:21:39 +01:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Michal Novotny
64ef90af75 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
40324132c9 Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
3ba6463069 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
c92efaadf6 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
4a7b372f12 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
8794a7fc4e Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
f63c6643d9 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
9b70ceb5ad Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Michal Novotny
49844b22b5 Bug 976147 - Prevent throwing cached chunks when CacheFile is memory-only, r=honzab 2014-03-11 11:01:08 +01:00
Ed Morley
c342ecebeb Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE 2014-03-05 17:25:27 +00:00
Ed Morley
0c897a146f Backed out changeset d8543551f12e (bug 913808) 2014-03-05 17:25:04 +00:00
Ed Morley
b1bc16a48b Backed out changeset a43ae8497706 (bug 968101) 2014-03-05 17:25:01 +00:00
Ed Morley
cabdf9fb49 Backed out changeset 234c0b4ec7c9 (bug 922081) 2014-03-05 17:24:58 +00:00
Ed Morley
bf4bf677f4 Backed out changeset 240333c3d2c1 (bug 964039) 2014-03-05 17:24:55 +00:00
Ed Morley
da21ca5267 Backed out changeset 18d79e1e15f9 (bug 958317) 2014-03-05 17:24:52 +00:00
Ed Morley
34824fa60a Backed out changeset 2275f8be60c9 (bug 975255) 2014-03-05 17:24:49 +00:00
Michal Novotny
d00154d96e 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
dc08ca7458 Bug 975255 - HTTP cache v2: optimize CacheIOThread::Target(), r=michal 2014-02-27 00:11:42 +01:00
Honza Bambas
234ec2acc3 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
ee26aea707 Bug 964039 - Memory used by the new cache backend is not reported, r=michal 2014-02-27 00:11:40 +01:00
Honza Bambas
aa126ec60f 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
5a7dc723e7 Bug 968101 - Remove directories with low priority on background, r=honzab 2014-02-19 13:04:06 +01:00
Michal Novotny
7598469342 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
b8b4892850 Bug 923016 - Implementation of cache index, r=honzab 2014-02-18 16:05:07 +01:00
Honza Bambas
91218ee3b4 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
532e84f84f Bug 971975 - Proper state and non-null check for CacheFile::WriteMetadataIfNeededLocked(), r=michal 2014-02-14 14:21:28 +01:00
Honza Bambas
bc935c9b54 Bug 950164 - Proper non-null check at CacheFileIOManager::OnProfile(), r=michal 2014-02-14 14:21:18 +01:00
Ehsan Akhgari
b870bb3fe9 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
19487a104f 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
cdac679592 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
ee4abe791e Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Honza Bambas
26d600e5c6 Bug 913820 - Base for size limit preferences in HTTP cache v2, r=michal 2014-02-04 01:53:00 +01:00
Honza Bambas
4fa7f4f872 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
577bfa471a Bug 965899 - Ensure properties are loaded before CacheFileIOManager::OnProfile call, r=michal 2014-02-04 01:52:58 +01:00
Honza Bambas
df1e295637 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
a78e92ddaa Bug 949250 - Improve CacheFileMetadata write timer, remove non-thread safe nsWeakRef, r=michal 2014-01-06 21:27:18 +01:00
Honza Bambas
72f7924751 Bug 945945 - Improve CacheFileHandle management to prevent crashes, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas
dfc9aac1d5 Bug 957707 - Merge management and IO threads in cache v2, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas
4312d8231d 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
2f251dd01a Bug 962077 - Uninitialized rv in CacheFile::Doom, r=michal 2014-01-22 18:54:50 +01:00
Honza Bambas
d779f0e193 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00
Honza Bambas
f5edb7d29d 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
6a775c9c56 Bug 956374 - HTTP cache v2: fix CacheIOThread::Target() wait conditioning, r=michal 2014-01-09 00:27:31 +01:00
Honza Bambas
4a2784a766 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
562003b94a Bug 942835 - HTTP cache v2: Better CacheEntry purge prevention, r=michal 2014-01-06 21:24:41 +01:00
Honza Bambas
3981323a1c Bug 937601 - HTTP cache v2: onCacheEntryCheck not called for R/O callbacks, r=michal 2014-01-08 20:36:57 +01:00
Ehsan Akhgari
ebd358dfd7 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
399938269a Bug 951713 - CacheIOThread causes activity spikes during idle, r=michal 2013-12-19 01:39:16 +01:00
Michal Novotny
79f086b3bf 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
5e46d041d5 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
bb82725df2 Bug 926070 - Addref CacheFileIOManager while using it in its static methods, r=honzab 2013-11-28 00:56:25 +01:00
Nathan Froyd
e035127d5b Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Ehsan Akhgari
90fa786c75 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
06554ed76b Bug 922659 - exception from onCacheEntryCheck should cause NOT_FOUND, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas
0ea4ff876b Bug 934616 - fix race on use of mFile at CacheEntry::Load, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas
e4cdf91ccd Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas
a6dea964f8 Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas
bcd89f976f Bug 934610 - fix Assertion failure: \!EventsPending(), at CacheIOThread.cpp:172, r=michal 2013-11-20 23:20:15 +01:00
Chris Peterson
794faa84f6 Bug 940215 - Build netwerk/cache2, ftp, and rtsp in unified mode. r=mcmanus 2013-11-17 23:29:11 -08:00
Mike Hommey
a65383e1e9 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
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 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
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Honza Bambas
e417758bb2 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
d0a14f7383 Bug 925705 - Fix mismatched logging define check. r=honzab 2013-10-14 16:50:49 +02:00
Honza Bambas
f282ad8bbf 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
eeb3a8b049 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
4c77606db1 Bug 924083 - Fix uninitialized mOldDesc in _OldCacheEntryWrapper(nsICacheEntryInfo*) ctor, r=michal 2013-10-07 18:58:38 +02:00
Ms2ger
20dd9dd4e3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Honza Bambas
d252f6a29f Bug 922123 - Shutdown hang with 100% CPU on Nightly with new cache, r=michal 2013-10-02 11:30:42 +02:00
Honza Bambas
862868d7df 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
5f33b8eb1d Bug 913813 - HTTP cache v1/v2 miss/hit time compare telemetry, r=michal 2013-09-26 21:37:03 +02:00
Honza Bambas
3a9e654a21 Bug 919468 - build issue in CacheStorageService.cpp with logging off, r=michal 2013-09-25 16:42:16 +02:00
Michal Novotny
35950d5164 Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab 2013-09-20 11:11:26 +02:00
Honza Bambas
ea8ec4777e 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