Nikhil Marathe
4fad035dad
Bug 1167809 - Add skip size check flag to cache for use with ServiceWorkers. r=mayhemer
...
For non-e10s Service Worker, we use Cache entries to achieve interception.
While this is a temporary measure, the fact that cache enforces size limits on
cache entries (which make sense for the purpose it was designed) prevents large
files from being served via a Service Worker. This patch adds a skip size check
flag to CacheStorage that is relayed to CacheEntry and CacheFile. It is set to
false by default leading to normal cache behaviour.
The patch also adds nsICacheStorageService.synthesizedCacheStorage() that
retrieves a cache storage with this flag set to true, which is used by
nsHttpChannel in case of possible interception.
2015-09-03 16:05:42 -07: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
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
Andrea Marchesini
18b38ad706
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00: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
Ehsan Akhgari
a7f747ec15
Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Michal Novotny
27641eae48
Bug 1052266 - Potential deadlock detected: CacheEntry, CacheIndex.mLock, CacheStorageService at CacheEntry, r=honzab
2014-09-10 14:43:50 +02:00
Trevor Saunders
b131fddd60
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
Ehsan Akhgari
cae4fa66a8
Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
2014-08-05 09:20:24 -04:00
Jeremy Poulin
7dd5c39cf2
Bug 1038357 - Add automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab
2014-07-15 09:23:09 -07:00
Jeremy Poulin
89e74822a5
Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal
2014-07-21 11:34:17 -07:00
L. David Baron
59df9aeec8
Back out the remainder of 3f6ee18b1e9d (bug 1038357), most of which was backed out in 8da875b402fe (backout of bug 1020416).
2014-07-25 17:49:36 -07:00
Brad Lassey
7778c1c3ee
back out bug 1020416 for causing hangs on Firefox for Android
2014-07-25 13:21:42 -04:00
Jeremy Poulin
9a3b9a629b
Bug 1038357 - Added automatic pruning for mForcedValidEntries in CacheStorage Service. r=honzab
2014-07-15 09:23:09 -07:00
Jeremy Poulin
9c02d58a3f
Bug 1020416 - Added forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, michal
2014-07-21 11:34:17 -07:00
Carsten "Tomcat" Book
2ab1dc9d69
Backed out changeset a232fd36c827 (bug 1020416) for nightly startup crashed - bug 1041492 a=sheriffduty
2014-07-21 14:57:09 +02:00
Jeremy Poulin
129e9e1348
Bug 1020416 - Add forceValidFor() and isForcedValid attribute to nsICacheEntry. r=honzab, r=michal
2014-07-18 18:11:34 -07:00
Honza Bambas
ac61a38de7
Bug 920606 - HTTP cache v2: add telemetry for the intermediate memory cache purging, r=michal
2014-07-08 16:48:00 +02:00
Honza Bambas
b50763060f
Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal
2014-06-24 18:08:35 +02:00
Carsten "Tomcat" Book
7531adbd49
Backed out changeset f2c5626b3cec (bug 1023413) for causing Android 2.2 Armv6 Opt XPCShell Test failures on a CLOSED TREE
2014-06-23 13:06:30 +02:00
Honza Bambas
3a6c3ca8e5
Bug 1023413 - Introduce bool nsICacheStorage.exists(nsIURI, ACString), r=michal
2014-06-21 21:41:02 +02:00
Honza Bambas
126e170e62
Bug 1024635 - Add 'network' contract ID alias for the new cache service, r=bz
2014-06-13 01:45:43 +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
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
Michal Novotny
259c3d334a
Bug 977766 - HTTP cache v2: selective deletion of data (by load context info), r=honzab, michal
2014-04-10 12:47:20 +02:00
Honza Bambas
17c4e94872
Bug 986179 - Rework cache2 memory pool, r=michal
2014-04-06 20:45:18 +02:00
Honza Bambas
0a59307060
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
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
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
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
7be5d96a49
Bug 957707 - Merge management and IO threads in cache v2, r=michal
2014-01-22 18:54:52 +01:00
Honza Bambas
523e807afc
Bug 942835 - HTTP cache v2: Better CacheEntry purge prevention, r=michal
2014-01-06 21:24:41 +01:00
Honza Bambas
4e726f9815
Bug 922741 - make callbacks iteration in CacheEntry smarter, r=michal
2013-11-20 23:20:17 +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