Michal Novotny
43f8cee68d
Bug 1343916 - CacheFile::Truncate doesn't update hashes in CacheFileMetadata, r=valentin
2017-03-09 17:28:56 +01:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Michal Novotny
46b5c2fb6e
Bug 1258747 - Support for alternative data in CacheFile, r=honzab
2016-08-17 12:58:44 +02:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Honza Bambas
f6e228e9d3
Bug 1247644 - Don't do any I/O on doomed and unused HTTP cache entries, r=michal
2016-02-12 14:45:00 +01:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Honza Bambas
8f88fd6cdc
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
--HG--
rename : netwerk/test/unit/test_cache2-28-concurrent_read_resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29a-concurrent_read_resumable_entry_size_zero.js
rename : netwerk/test/unit/test_cache2-29-concurrent_read_non-resumable_entry_size_zero.js => netwerk/test/unit/test_cache2-29b-concurrent_read_non-resumable_entry_size_zero.js
2015-10-22 12:11:00 +02:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Honza Bambas
4bd41740d0
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Michal Novotny
cb267138f2
Bug 1177278
- Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab
2015-07-22 15:23:16 +02:00
Birunthan Mohanathas
a8939590de
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
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Michal Novotny
009dab9d94
Bug 1139014 - Optimize memory allocations in CacheFileMetadata, r=honzab
2015-03-06 15:49:04 +01:00
Michal Novotny
f6b06040ea
Bug 1133739 - HTTP cache v2: Add telemetry probes to find out the best initial read size of the metadata, r=jduell
2015-02-23 16:13:02 +01:00
Ehsan Akhgari
e9499ce141
Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus
2015-01-02 09:04:04 -05:00
Honza Bambas
1c22ca20d6
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-16 15:51:50 +02:00
Carsten "Tomcat" Book
f61f2f49c9
Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures
2014-09-11 14:31:54 +02:00
Honza Bambas
e73517351a
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-11 11:44:31 +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
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
b4dd4d8955
Bug 986179 - Rework cache2 memory pool, r=michal
2014-04-06 20:45:18 +02: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
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
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
8dbef9c6e0
Backed out changeset 240333c3d2c1 (bug 964039)
2014-03-05 17:24:55 +00: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
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
1a0be10718
Bug 924116 - HTTP cache v2: persists frecency and experiment with half-life, r=michal
2014-01-09 00:27:33 +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
Michal Novotny
f3cf185b1e
Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab
2013-09-20 11:11:26 +02:00