Seth Fowler
14afd5bdbb
Bug 1148397 - Fix data race on imgRequest::mHadInsecureRedirect. r=tanvi
2015-03-29 16:25:48 -07:00
Andrea Marchesini
94545cbb2e
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Tanvi Vyas
d5125a43ae
Bug 1082837 - Track insecure redirects on imgRequest. r=?
2014-12-15 17:40:43 -08:00
Seth Fowler
6a5d44fdeb
Bug 1139818 - Merge imgRequest public and private sections. r=baku
2015-03-23 19:37:46 -07:00
Seth Fowler
74cd6bd1eb
Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
92545a8efe
Bug 1139804 (Part 5) - Stop accessing private imgRequest members in imgMemoryReporter. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
e5503c5962
Bug 1139804 (Part 4) - Stop accessing private imgRequest members in imgLoader. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
2351077c02
Bug 1139804 (Part 3) - Stop accessing private imgRequest members in imgCache* classes. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
97409e8453
Bug 1139804 (Part 2) - Stop accessing private imgRequest members in imgRequestProxy. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
15b97a073f
Bug 1139804 (Part 1) - Remove references to nonexistent type imgRequestNotifyRunnable. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
5465d1c9e4
Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
fa047d9c6d
Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
5da4b2703b
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
2e7bc146e4
Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
190b4798ef
Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku
2015-03-23 19:37:44 -07:00
Seth Fowler
d86e060a7a
Bug 1137019 (Part 0) - Back out bug 1142849.
2015-03-23 19:37:44 -07:00
Ehsan Akhgari
5cccea6f0f
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
Seth Fowler
72645b77ed
Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn
2015-03-13 11:43:32 -07:00
Ryan VanderMeulen
4fdbfff255
Backed out changesets febbccd1cd1e and d834e57b0352 (bug 1137019) for making bug 1123563 permafail on Android 2.3.
...
CLOSED TREE
2015-03-10 16:45:01 -04:00
Ryan VanderMeulen
2168dd98ca
Backed out changeset 75709d46ba3b (bug 1137037)
2015-03-10 16:43:54 -04:00
Seth Fowler
c763071cf1
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
5512fd2b25
Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
b378f7854a
Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
3ff32616f2
Bug 1112972 (Part 2) - Add MultipartImage and use it for multipart/x-mixed-replace image loading. r=tn
2015-01-07 01:37:20 -08:00
Seth Fowler
5a483e9cb1
Bug 1065818 - Clean up memory reports and use of decoded size for image cache entries. r=tn,njn
2014-11-26 18:00:15 -08:00
Carsten "Tomcat" Book
09359363df
Backed out changeset 2ac38e527317 (bug 1065818)
2014-11-26 11:56:28 +01:00
Seth Fowler
29621936b3
Bug 1065818 - Clean up memory reports and use of decoded size for image cache entries. r=tn,njn
2014-11-26 01:37:57 -08:00
Sid Stamm
cafe8bb1f4
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05:00
Seth Fowler
2228978019
Bug 1097432 (Part 3) - Rename imgStatusTracker to ProgressTracker and ImageStatusDiff to Progress. r=tn
...
--HG--
rename : image/src/imgStatusTracker.cpp => image/src/ProgressTracker.cpp
rename : image/src/imgStatusTracker.h => image/src/ProgressTracker.h
2014-11-14 20:10:47 -08:00
Mats Palmgren
2a4b4e2dae
Bug 1013211 - Use the final resource URI after redirects etc as the source URI when dragging an image. r=roc
2014-11-10 22:06:24 +00:00
Timothy Nikkel
aa2ff91951
Bug 1059654. Report memory for all images, not just those that are in the image cache. r=seth f=njn
...
The image cache is just a map from URI to imgRequest, so if two images have the same URI (because we couldn't re-use the cached one for whatever reason (ie expired)) one won't be in the cache.
Also images that have no proxies will eventually get removed from the cache, if they are kept alive we still want to report them.
2014-09-05 16:36:11 -05:00
Trevor Saunders
b6b2d4b019
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Ehsan Akhgari
9e7d5a3fbc
Bug 1048245 - Fix more bad implicit constructors in image; r=jrmuizel
2014-08-05 17:58:18 -04:00
Georgios Kontaxis
b6c05379ec
Bug 1037213: extended imgIRequest with an imageErrorCode attribute and modified imgRequest::OnStopRequest to preserve the actual error code when NS_FAILED(status) (r=seth)
2014-07-18 18:47:11 -07:00
Benoit Jacob
bb5d6b4bdb
Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel
2014-06-23 14:49:08 -04:00
Daniel Stenberg
289d93b851
Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
...
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.
Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER
In HTTP1.1 for Content-Length: and chunked-encoding underruns
In http2 and SPDY for framing errors when data has already been received.
imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Steve Workman
9866d5ce45
Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth
2013-10-15 16:33:11 -07:00
Steve Workman
e396f1ef0a
Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
1b740124a5
Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth
2013-09-28 11:28:42 -07:00
Neil Rashbrook
1103518854
Bug 920073 Switch back to #including nsStringGlue.h in headers that need to work with the external string API r=ehsan
2013-09-25 08:27:54 +01:00
Ehsan Akhgari
dee6c12c6f
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Ehsan Akhgari
61d8f84eb7
Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
...
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Luis de Bethencourt
f60b1b9021
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04:00
Seth Fowler
3b8e9ef295
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-19 13:28:54 -08:00
Ryan VanderMeulen
41d18e74d0
Backed out 4 changesets (bug 815471, bug 821023, bug 816374, bug 816362) for reftest failures.
2012-12-16 21:13:35 -05:00
Seth Fowler
2b3b199964
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-14 15:42:18 -08:00
Saurabh Anand
151d13c7a5
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Ehsan Akhgari
308de53b5b
Bug 813787 - Remove support for image-sniffing-services; r=joe
2012-11-20 19:08:06 -05:00
Honza Bambas
33e46a6177
Bug 734062 - stale image in the image cache when an updated version is fetched into HTML5 offline cache in background, r=joedrew
2012-11-08 19:54:00 +01:00
Josh Matthews
4b1668f759
Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe
2012-10-12 12:11:21 -04:00