Seth Fowler
67aae95b57
Bug 1155429 - Add an explicit ImageCacheKey type for the ImageLib cache. r=baku
2015-04-28 11:45:45 -07:00
Glenn Randers-Pehrson
abf7e02404
Bug 1102048 (Part 11, imgRequest) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth
2015-03-31 11:06:00 -07:00
Seth Fowler
b6704cffc6
Bug 1148397 - Fix data race on imgRequest::mHadInsecureRedirect. r=tanvi
2015-03-29 16:25:48 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Tanvi Vyas
1bb8dfe2ce
Bug 1082837
- Track insecure redirects on imgRequest. r=?
2014-12-15 17:40:43 -08:00
Seth Fowler
156efe1b0a
Bug 1139818 - Merge imgRequest public and private sections. r=baku
2015-03-23 19:37:46 -07:00
Seth Fowler
54f930b0b6
Bug 1139804 (Part 6) - Make imgRequest no longer friends with ProgressTracker. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
e8811199a7
Bug 1139804 (Part 5) - Stop accessing private imgRequest members in imgMemoryReporter. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
45978d466b
Bug 1139804 (Part 4) - Stop accessing private imgRequest members in imgLoader. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
53de0b014b
Bug 1139804 (Part 3) - Stop accessing private imgRequest members in imgCache* classes. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
dd4f7c449e
Bug 1139804 (Part 2) - Stop accessing private imgRequest members in imgRequestProxy. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
6d7a905304
Bug 1139804 (Part 1) - Remove references to nonexistent type imgRequestNotifyRunnable. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
32afe4039f
Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
419d6b14f2
Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn
2015-03-23 19:37:45 -07:00
Seth Fowler
e343dc6f71
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-23 19:37:45 -07:00
Seth Fowler
ba8b95e80d
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
9156a2820a
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
a149c6f69b
Bug 1137019
(Part 0) - Back out bug 1142849.
2015-03-23 19:37:44 -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
Seth Fowler
604fcc70bb
Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn
...
--HG--
extra : rebase_source : aa6f95d1a441478f54de3833fbf2ab4cad10a581
2015-03-13 11:43:32 -07:00
Ryan VanderMeulen
160143e978
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
2c63c17f19
Backed out changeset 75709d46ba3b (bug 1137037)
2015-03-10 16:43:54 -04:00
Seth Fowler
7b7beb8f9b
Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku
2015-03-10 11:21:45 -07:00
Seth Fowler
f2523e36c7
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
98a3c24c58
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
d39948761c
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
102bd52983
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
b163c11b8d
Backed out changeset 2ac38e527317 (bug 1065818)
2014-11-26 11:56:28 +01:00
Seth Fowler
be492f68ce
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
55e3ccdad7
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05:00
Seth Fowler
03cc795af0
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
b4f43a55d9
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
546d3b244d
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
fd5e9d1fcc
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
1d5065cce4
Bug 1048245 - Fix more bad implicit constructors in image; r=jrmuizel
2014-08-05 17:58:18 -04:00
Georgios Kontaxis
36a988c0d4
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
9a1a886bf7
Bug 1028588 - Fix dangerous public destructors in image/ - r=jrmuizel
2014-06-23 14:49:08 -04:00
Daniel Stenberg
43f0c8ec63
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
000699ecd8
Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth
2013-10-15 16:33:11 -07:00
Steve Workman
9f54d2c390
Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth
2013-09-28 11:28:44 -07:00
Steve Workman
e9a5dd723a
Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth
2013-09-28 11:28:42 -07:00
Neil Rashbrook
fec95dc2b5
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
7233ba7103
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
cfc4d18351
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
390ad04106
Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar
2013-03-29 16:14:19 -04:00
Seth Fowler
ae0e17ea94
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-19 13:28:54 -08:00
Ryan VanderMeulen
1f6c96bff1
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
b5e9a2a186
Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe
2012-12-14 15:42:18 -08:00
Saurabh Anand
6de7befa37
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Ehsan Akhgari
de15f90350
Bug 813787 - Remove support for image-sniffing-services; r=joe
2012-11-20 19:08:06 -05:00