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

194 Коммитов

Автор SHA1 Сообщение Дата
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
Honza Bambas 7d160757a1 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 6b4428ffb1 Bug 949250 - Improve CacheFileMetadata write timer, remove non-thread safe nsWeakRef, r=michal 2014-01-06 21:27:18 +01:00
Honza Bambas 751662293a Bug 945945 - Improve CacheFileHandle management to prevent crashes, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas ebad344e5a Bug 957707 - Merge management and IO threads in cache v2, r=michal 2014-01-22 18:54:52 +01:00
Honza Bambas 296342b9d9 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 32ecac3a1b Bug 962077 - Uninitialized rv in CacheFile::Doom, r=michal 2014-01-22 18:54:50 +01:00
Honza Bambas 1a0be10718 Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00
Honza Bambas e819212e97 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 369780f48e Bug 956374 - HTTP cache v2: fix CacheIOThread::Target() wait conditioning, r=michal 2014-01-09 00:27:31 +01:00
Honza Bambas 53b62374ae 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 61373dd5e8 Bug 942835 - HTTP cache v2: Better CacheEntry purge prevention, r=michal 2014-01-06 21:24:41 +01:00
Honza Bambas a88c0cbad6 Bug 937601 - HTTP cache v2: onCacheEntryCheck not called for R/O callbacks, r=michal 2014-01-08 20:36:57 +01:00
Ehsan Akhgari 1b83407ce9 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 5f369d6c6b Bug 951713 - CacheIOThread causes activity spikes during idle, r=michal 2013-12-19 01:39:16 +01:00
Michal Novotny 7e1a2214c6 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 4d2b15f34c 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 df5efd941a Bug 926070 - Addref CacheFileIOManager while using it in its static methods, r=honzab 2013-11-28 00:56:25 +01:00
Nathan Froyd e9d9f618bc Bug 941598 - constify PLDHashTableOps in netwerk/; r=jduell 2013-11-20 13:17:01 -05:00
Ehsan Akhgari 86afd352d7 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 0865e19acc Bug 922659 - exception from onCacheEntryCheck should cause NOT_FOUND, r=michal 2013-11-20 23:20:19 +01:00
Honza Bambas 4c15922ac8 Bug 934616 - fix race on use of mFile at CacheEntry::Load, r=michal 2013-11-20 23:20:18 +01:00
Honza Bambas 2437751f1d Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal 2013-11-20 23:20:17 +01:00
Honza Bambas 4a18021827 Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas 441efac7c7 Bug 934610 - fix Assertion failure: \!EventsPending(), at CacheIOThread.cpp:172, r=michal 2013-11-20 23:20:15 +01:00
Chris Peterson a0818a8b90 Bug 940215 - Build netwerk/cache2, ftp, and rtsp in unified mode. r=mcmanus 2013-11-17 23:29:11 -08:00
Mike Hommey 2812d11fce 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 e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey ffe0380912 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 b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey 59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey 3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Honza Bambas 6645e77fc2 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 05a19aceca Bug 925705 - Fix mismatched logging define check. r=honzab 2013-10-14 16:50:49 +02:00
Honza Bambas e37c4f6637 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 37f8167fb8 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 201997223e Bug 924083 - Fix uninitialized mOldDesc in _OldCacheEntryWrapper(nsICacheEntryInfo*) ctor, r=michal 2013-10-07 18:58:38 +02:00
Ms2ger d1e1fda3b3 Bug 922288 - Remove some unnecessary boilerplate from Makefile.ins; r=mshal 2013-10-03 09:10:00 +02:00
Honza Bambas c4a9101bed Bug 922123 - Shutdown hang with 100% CPU on Nightly with new cache, r=michal 2013-10-02 11:30:42 +02:00
Honza Bambas a5c60e51dc 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 eb8f8bc2c3 Bug 913813 - HTTP cache v1/v2 miss/hit time compare telemetry, r=michal 2013-09-26 21:37:03 +02:00
Honza Bambas bba34e47da Bug 919468 - build issue in CacheStorageService.cpp with logging off, r=michal 2013-09-25 16:42:16 +02:00
Michal Novotny f3cf185b1e Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab 2013-09-20 11:11:26 +02:00
Honza Bambas 894ba59236 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