Commit Graph

82 Commits

Author SHA1 Message Date
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
1851068370 Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth 2013-09-28 11:28:44 -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
Honza Bambas
da53acf440 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
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
Adam Dane [:hobophobe]
3886623ff8 Bug 907575 - mResniffMimeType not properly reset. r=seth 2013-08-27 18:39:54 -05:00
Shih-Chiang Chien
a79b5d485b Bug 882526 - Remove Gecko support for WBMP. r=joe, r=roc 2013-07-22 22:31:24 -04:00
Luis de Bethencourt
7afd29fc08 Bug 859158 - Remove unneeded ifdef DEBUG_joe. r=joedrew 2013-04-12 16:25:04 -04:00
Luis de Bethencourt
bba440e753 Bug 859158 - Removed unused ifdef DEBUG in imgRequest.cpp. r=joedrew 2013-04-12 16:25:04 -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
Mina Almasry
5ffb7a55a5 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
d6896d64e7 Bug 852053 - Support WBMP on FirefoxOS only. r=joe 2013-03-20 14:03:07 +08:00
Joe Drew
b1d0cf2436 Bug 716140 - Handle errors correctly. r=seth
--HG--
extra : rebase_source : 97f714b139508092ef5a733313f10e281b0bc6fe
2013-02-01 20:06:34 -05:00
Seth Fowler
8c51cc508d Bug 704059 - Part 2: Let images call imgStatusTracker::OnStopRequest. r=joe 2013-02-13 18:41:10 -08:00
Seth Fowler
9d521805e5 Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe 2013-02-13 13:53:42 -08:00
Seth Fowler
bf6d29e9b6 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
285c17a7c5 Bug 826613 - Enable FAIL_ON_WARNINGS on MSVC in image/. r=joe 2013-01-05 12:55:23 +09:00
Ryan VanderMeulen
d0c3b92170 Backed out changeset 5244caae8c46 (bug 822846) for Windows build bustage. 2012-12-23 11:45:38 -05:00
Seth Fowler
d8f9d47626 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
3b8e9ef295 Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-19 13:28:54 -08:00
Seth Fowler
8ab5195c63 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
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
Seth Fowler
941299b5d8 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
308de53b5b Bug 813787 - Remove support for image-sniffing-services; r=joe 2012-11-20 19:08:06 -05:00
Josh Matthews
703991dff3 Bug 803125 - Notify status tracker when image request is destroyed. r=joe 2012-11-17 13:33:20 +00:00
Honza Bambas
902d604757 Bug 734062 - Followup: fixed unused varialble use, r=joedrew 2012-11-14 13:56:56 +01: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
Nathan Froyd
f9b2a74082 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Jacek Szpot
bea8356b2c Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan 2012-10-26 15:32:10 +02:00
Patrick McManus
8b408af6a4 bug 801013 - imgRequest::AdjustPriority wrongly adjusts loadgroup instead of channel r=joedrew 2012-10-13 12:47:36 -04:00
Josh Matthews
c34861bb2d 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
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
Josh Matthews
6348c50b96 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
ad6877697a 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
26f4d62fed 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
4575bcf375 Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-12 12:11:20 -04:00
Bobby Holley
e011cb0dc6 Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe 2012-10-12 12:11:20 -04:00
Bobby Holley
bd4348cc2d 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
e82f309179 Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews
d6ba50447f Bug 505385 - Part 10: Remove GetConsumers from imgStatusTracker by delegating all remaining notification operations from imgRequest to the status tracker. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
679f2d5e91 Bug 505385 - Part 9: Hoist decoder and container observer out of imgRequest into imgStatusTracker. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews
dd877db859 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-11 21:34:23 -04:00
Bobby Holley
89f6f2488d 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-11 21:34:22 -04:00
Bobby Holley
3f63b1f753 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-11 21:34:22 -04:00
Bobby Holley
202b6c0ce8 Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-11 21:34:22 -04:00
Bobby Holley
0e79614bc1 Bug 505385 - Part 1: Hoist proxy list into imgStatusTracker. r=joe 2012-10-11 21:34:22 -04:00
Bobby Holley
bb7d1c3abe 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-11 21:34:22 -04:00
Kyle Huey
923f1139b2 Bug 799791: Remove unused boolean parameters and dead branches. r=jlebar 2012-10-11 09:35:43 -07:00