Michal Novotny
357c6b94e1
Bug 1343916 - CacheFile::Truncate doesn't update hashes in CacheFileMetadata, r=valentin
2017-03-09 17:28:56 +01:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Michal Novotny
6265bfdf2d
Bug 1258747 - Support for alternative data in CacheFile, r=honzab
2016-08-17 12:58:44 +02:00
Chris Peterson
41c3720394
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
2016-05-22 13:31:11 -07:00
Honza Bambas
2a4f2863f9
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
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Honza Bambas
88d540ea21
Bug 1032254 - Generic way to pin reasource in the HTTP cache, r=michal
...
* * *
Bug NNNNNNN - message, r=reviewer
2015-10-22 12:11:00 +02: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
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
Ehsan Akhgari
ea41d8de48
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
0d57d2fe51
Bug 1139014 - Optimize memory allocations in CacheFileMetadata, r=honzab
2015-03-06 15:49:04 +01:00
Michal Novotny
5c17440712
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
7943855e34
Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus
2015-01-02 09:04:04 -05:00
Honza Bambas
df41234f0b
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-16 15:51:50 +02:00
Carsten "Tomcat" Book
4c057310ba
Backed out changeset ce8f00cca9dd (bug 1000338) for XPC-2 test failures
2014-09-11 14:31:54 +02:00
Honza Bambas
654e1d3308
Bug 1000338 - nsICacheEntry.lastModified not properly implemented, r=michal
2014-09-11 11:44:31 +02:00
Honza Bambas
ac742d35b0
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-05-01 13:28:12 +02:00
Honza Bambas
363e4d697a
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
a3fb819588
Bug 916052 - Adapt about:cache to the HTTP cache v2 API, r=michal+MattN
2014-04-30 12:39:18 +02:00
Honza Bambas
2d71bee15e
Bug 941698 - HTTP cache v2: add version information to cache entries, r=michal
2014-04-07 22:07:43 +02:00
Michal Novotny
2e2b9e63d9
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
17c4e94872
Bug 986179 - Rework cache2 memory pool, r=michal
2014-04-06 20:45:18 +02:00
Honza Bambas
3d5cd4451d
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Michal Novotny
094b973f9b
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
eb5de807b5
Bug 923016 - Implementation of cache index, r=honzab
2014-02-18 16:05:07 +01:00
Ed Morley
255b21ca61
Backed out changeset f514ab5c4b5b (bug 923016) for B2G xpcshell crashes; CLOSED TREE
2014-03-05 17:25:27 +00:00
Ed Morley
378760b644
Backed out changeset d8543551f12e (bug 913808)
2014-03-05 17:25:04 +00:00
Ed Morley
599ee2ead7
Backed out changeset 240333c3d2c1 (bug 964039)
2014-03-05 17:24:55 +00:00
Honza Bambas
3070b230c5
Bug 964039 - Memory used by the new cache backend is not reported, r=michal
2014-02-27 00:11:40 +01:00
Michal Novotny
7ca7537f88
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
23ab9f7ed0
Bug 923016 - Implementation of cache index, r=honzab
2014-02-18 16:05:07 +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
Michal Novotny
ecebf900fd
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
21c49d0398
Bug 913807 - HTTP cache v2: file I/O, off by default, r=honzab
2013-09-20 11:11:26 +02:00