Commit Graph

49 Commits

Author SHA1 Message Date
Andrea Marchesini
46a9207d60 Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Yoshi Huang
85db56b906 Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
James Andreou
ec9db2689b Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04:00
Honza Bambas
2e8472e065 Bug 1276930 - Bypass HTTP cache data read right after shutdown, r=michal 2016-06-22 16:18:01 -07:00
Michal Novotny
911d646438 Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab 2016-05-11 11:46:54 +02:00
Kyle Huey
b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey
e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Michal Novotny
59e9915f08 Bug 1265243 - Do not initialize CacheObserver in the child process, r=honzab 2016-04-20 11:29:50 +02:00
Julian Seward
f8a03c5645 Bug 1248915 - TSan: data race on global 'mozilla::net::CacheObserver::sDiskCacheCapacity'. r=honzab.moz, n.nethercote. 2016-03-20 10:08:57 +01:00
Honza Bambas
4efba8fea8 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown. r=michal 2016-02-12 09:36:00 -05:00
Wes Kocher
f2d1a1f060 Backed out changeset 9d5fa6d7558a (bug 1247432) for being a possible cause of the spike in ASAN test_browserElement_oop_getWebManifest.html failures 2016-02-16 16:40:43 -08:00
Honza Bambas
c723442b16 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown, r=michal 2016-02-12 09:36:00 +01:00
Honza Bambas
641dca290e Bug 913822 - Shutdown I/O time limit for HTTP cache. r=michal 2016-01-13 16:11:00 -05:00
Nicholas Nethercote
6a634f5d75 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Yoshi Huang
47c69d1edb Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Nathan Froyd
4e6d8f6705 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Honza Bambas
213ca181dd Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars 2015-10-11 18:13:09 +02:00
Carsten "Tomcat" Book
ca308afdc0 Backed out changeset fb2a27db76bc (bug 1032254) for OS X Static Build Bustage on a CLOSED TREE 2015-07-31 07:57:50 +02:00
Valentin Gosu
e4fd4909fb Bug 1032254 - Provide a way to pin resources in the http cache r=honzab 2015-07-30 11:40:00 +02:00
Michal Novotny
a290271052 Bug 1177278 - Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab 2015-07-22 15:23:16 +02:00
Birunthan Mohanathas
a29151dc87 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Michal Novotny
97f80de102 Bug 1151812 - Add telemetry to find optimal cache entry hash size, r=honzab 2015-06-14 14:13:18 +02:00
Honza Bambas
ea593e1ce3 Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell 2015-02-27 10:17:00 -05:00
Michal Novotny
8c08e63528 Bug 1128339 - Add telemetry probes to find out impact of bug 1120945, r=jduell 2015-02-23 12:24:35 +01:00
Valentin Gosu
e30e68a3cb Bug 1045886 - Remove Cache directory from Android profiles r=michal 2014-08-13 16:43:45 +03:00
Michal Novotny
30f572b7d0 Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab 2014-07-11 08:25:55 +02:00
Michal Novotny
805d7068eb Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab 2014-07-10 07:59:29 +02:00
Honza Bambas
bd89a739b5 Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal 2014-05-29 00:52:21 +02:00
Honza Bambas
bc88eb4d9b Bug 913806 - turn HTTP cache v2 on by default, r=jduell 2014-05-15 16:31:26 -07:00
Michal Novotny
923ff3c27e 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
Birunthan Mohanathas
eeb9aaaa94 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
Michal Novotny
8e578b34b6 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
c73222e95e 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
Honza Bambas
17c4e94872 Bug 986179 - Rework cache2 memory pool, r=michal 2014-04-06 20:45:18 +02:00
Honza Bambas
38b2b82e7f Bug 986728 - Engage frecency decay time experiment for HTTP cache v2, r=jduell 2014-04-04 14:42:06 +02:00
Honza Bambas
7747e3b5d9 Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal 2014-02-27 00:11:38 +01:00
Ed Morley
7de1d7621f Backed out changeset 234c0b4ec7c9 (bug 922081) 2014-03-05 17:24:58 +00:00
Honza Bambas
06740446a6 Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal 2014-02-27 00:11:38 +01:00
Honza Bambas
1d0d5bc42f 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
Phil Ringnalda
0e5e5d7c7c 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
b4d16803a0 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
8fc5b5b7e7 Bug 964898 - Auto delete unused cache version data on demand, r=jduell 2014-02-05 20:29:54 +01:00
Honza Bambas
45f9d8d675 Bug 913820 - Base for size limit preferences in HTTP cache v2, r=michal 2014-02-04 01:53:00 +01:00
Honza Bambas
c3fb4960ad Bug 965899 - Ensure properties are loaded before CacheFileIOManager::OnProfile call, r=michal 2014-02-04 01:52:58 +01:00
Honza Bambas
4c222308de Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal 2014-01-09 00:27:33 +01:00
Ehsan Akhgari
68bfe70f09 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
977ac18adf Bug 917432 - hook to webapps-clear-data notification, r=michal 2013-11-20 23:20:16 +01:00
Honza Bambas
a55f8e6460 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