Commit Graph

91 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
42b948f5dd Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz 2014-08-06 16:05:40 -07:00
Ehsan Akhgari
4dcaff616a Bug 1061047 - Fix some bad implicit constructors in imagelib; r=jrmuizel 2014-09-02 12:20:24 -04:00
Artem Sobolev
e53cca979f Bug 625012 - Handle multipart responses in ImageDocument::OnStartRequest correctly. r=bz 2014-07-29 15:23:22 -07:00
Georgios Kontaxis
cd6895f8d1 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
Daniel Stenberg
a29ee21efd 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
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Seth Fowler
0d47a4402b Bug 967985 - Don't retarget OnDataAvailable when not storing source data. r=tn
--HG--
extra : rebase_source : d3048bf3d949650f01ae97786cb5ca2d54aa3087
2014-04-02 19:20:25 -07:00
Jeff Muizelaar
698a218163 Bug 973088. Use nsContentUtils::GetSecurityManager(). r=ehsan
Faster and more like C++
2014-02-14 17:56:01 -05:00
Josh Matthews
74a0e914a5 Bug 942164 - Store weak references to imgRequest consumers. r=seth 2013-12-12 16:17:35 -05:00
Steve Workman
7ca64b29dd Bug 924967 - Dispatch nsIRequest::Cancel to main thread in imgRequest::Cancel r=seth 2013-10-15 16:33:11 -07:00
Steve Workman
38b912cd11 Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
71940cda4d Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth 2013-09-28 11:28:44 -07:00
Steve Workman
036d4ca49a Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth 2013-09-28 11:28:42 -07:00
Honza Bambas
ea8ec4777e 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
Ehsan Akhgari
bdb172ee45 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
Adam Dane [:hobophobe]
5c3f899820 Bug 907575 - mResniffMimeType not properly reset. r=seth 2013-08-27 18:39:54 -05:00
Shih-Chiang Chien
cc1f66e57f Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc 2013-07-22 22:31:24 -04:00
Luis de Bethencourt
efe34d2b7f Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew 2013-04-12 16:25:04 -04:00
Luis de Bethencourt
96f0654518 Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew 2013-04-12 16:25:04 -04:00
Luis de Bethencourt
ffc494cab7 Bug 855712 - Remove trailing whitespaces in image/src/*cpp. r=jmuizelaar 2013-03-29 16:14:19 -04:00
Mina Almasry
797287a144 Bug 582783 - Move windows.h include and undef LoadImage to gfxWindowsSurface.h. r=joe 2013-03-25 17:53:54 -04:00
Shih-Chiang Chien
c665155214 Bug 852053 - Support WBMP on FirefoxOS only. r=joe 2013-03-20 14:03:07 +08:00
Joe Drew
0349f6aeb4 Bug 716140 - Handle errors correctly. r=seth
--HG--
extra : rebase_source : 97f714b139508092ef5a733313f10e281b0bc6fe
2013-02-01 20:06:34 -05:00
Seth Fowler
d7a6834226 Bug 704059 - Part 2: Let images call imgStatusTracker::OnStopRequest. r=joe 2013-02-13 18:41:10 -08:00
Seth Fowler
824657df52 Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe 2013-02-13 13:53:42 -08:00
Seth Fowler
9ab61d4fcd Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2013-01-08 13:40:47 -08:00
Masatoshi Kimura
13ac82c57e Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe 2013-01-05 12:55:23 +09:00
Ryan VanderMeulen
1ed577fa28 Backed out changeset 5244caae8c46 (bug 822846) for Windows build bustage. 2012-12-23 11:45:38 -05:00
Seth Fowler
7278eff009 Bug 822846 - Use nsMimeTypes.h instead of working with literal strings in imagelib. r=joe 2012-12-19 13:33:56 -08:00
Seth Fowler
25f403a350 Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-19 13:28:54 -08:00
Seth Fowler
879247bc7e Bug 815471 - Don't assume that all imgIContainers are either a RasterImage or a VectorImage. r=joe 2012-12-17 14:05:18 -08:00
Ryan VanderMeulen
3aad78c6df 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
1230aaf81b Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-14 15:42:18 -08:00
Seth Fowler
90aaafe522 Bug 815471 - Don't assume that all imgIContainers are either a RasterImage or a VectorImage. r=joe 2012-12-13 16:06:31 -08:00
Ehsan Akhgari
3ff108e984 Bug 813787 - Remove support for image-sniffing-services; r=joe 2012-11-20 19:08:06 -05:00
Josh Matthews
41e92624f2 Bug 803125 - Notify status tracker when image request is destroyed. r=joe 2012-11-17 13:33:20 +00:00
Honza Bambas
4b1361b1c5 Bug 734062 - Followup: fixed unused varialble use, r=joedrew 2012-11-14 13:56:56 +01:00
Honza Bambas
a335e4be51 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
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
0b35b0e3d8 Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Patrick McManus
f77e276cbe bug 801013 - imgRequest::AdjustPriority wrongly adjusts loadgroup instead of channel r=joedrew 2012-10-13 12:47:36 -04:00
Josh Matthews
2b389bf47d Bug 505385 - Part 10: Remove GetConsumers from imgStatusTracker by delegating all remaining notification operations from imgRequest to the status tracker. r=joe 2012-10-12 12:11:21 -04:00
Josh Matthews
575c6923d4 Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe 2012-10-12 12:11:21 -04:00
Josh Matthews
d14b24720d Bug 505385 - Part 8: Remove image reference from proxies, and delegate operations on images to the owning request or the status tracker. r=joe 2012-10-12 12:11:21 -04:00
Bobby Holley
ff52b30b32 Bug 505385 - Part 6: Expose imgRequest::GetStatusTracker, and ensure that it's never null. r=joe
We're slowly turning imgStatusTracker into the central coordination point between imgRequest,
imgRequestProxy, and Image, so we need it to be a bit more visible.
2012-10-12 12:11:21 -04:00
Bobby Holley
b4f53e6959 Bug 505385 - Part 5: Expose pointers to the imgRequest and Image on imgStatusTracker. r=joe
This will help us decouple imgRequest and imgRequestProxy.
2012-10-12 12:11:20 -04:00
Bobby Holley
8e97ba9c7b Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-12 12:11:20 -04:00
Bobby Holley
66d01e9996 Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe 2012-10-12 12:11:20 -04:00
Bobby Holley
ea8c2c8456 Bug 505385 - Part 0: Remove the last vestiges of manual animation reset within imagelib. r=joe
This stuff should now all be taken care of by the AnimationConsumers infrastructure.
2012-10-12 12:11:20 -04:00
Josh Matthews
08a5eceeeb Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00