Commit Graph
75 Commits
Author SHA1 Message Date
Georgios Kontaxis a03b60d7e2 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
Steve Workman a4329ef536 Bug 867755 - Add strong refcnting for derived classes of mozilla::image::Image r=seth 2013-09-28 11:28:44 -07:00
Steve Workman 32e13ae5fe Bug 867755 - Return already_AddRefed from GetStatusTracker instead of C++ ref r=seth 2013-09-28 11:28:44 -07:00
Steve Workman d1e4743da1 Bug 867755 - Support OnDataAvailable and OnStopRequest off main thread for image loading r=seth 2013-09-28 11:28:42 -07:00
Ehsan Akhgari 30bea3a588 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
Joe Drew a0f4f24e90 Bug 878037 - Make static image requests (imgRequestProxyStatic) Clone correctly when the concrete-type Clone override is called. r=seth 2013-06-04 14:38:37 -04:00
Joe Drew e561956f21 Bug 878037 - Revert the null-owner intentional crashes, since we found the cause. r=seth 2013-06-04 14:38:31 -04:00
Seth Fowler 0d6e7bfd29 Bug 853774 - Crash if sanity checks related to imgRequestProxy::Clone fail. r=joe 2013-05-22 15:46:57 +08:00
Seth Fowler 57709a527d Bug 853774 - RequestBehaviour must handle null owners. r=joe 2013-04-25 20:30:29 -07:00
Andrew McCreight eb7a157d6a Bug 853707 - Fix bogus assert in StaticBehaviour::SetOwner. r=joedrew 2013-04-02 17:48:42 -07:00
Seth Fowler d557422932 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-04-05 14:14:34 -07:00
Phil Ringnalda 3f372a5d61 Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Seth Fowler 591db17069 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-04-04 19:06:42 -07:00
Ryan VanderMeulen d59826c312 Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE. 2013-03-26 21:56:03 -04:00
Seth Fowler b8ff8560ca Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-03-26 16:29:13 -07:00
Ryan VanderMeulen 1105a2d533 Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE. 2013-03-26 16:52:17 -04:00
Seth Fowler ad6b9d4e42 Bug 826093 (Part 2) - Create a static utility class for image operations. r=joe, sr=bz 2013-03-26 11:56:46 -07:00
Seth Fowler ae1ab5ab82 Bug 843895 (Part 4) - Use FrozenImage instead of ExtractFrame for imgRequestProxy::GetStaticRequest. r=joe 2013-03-10 18:43:38 -07:00
Joe Drew 22205fa766 Bug 840353 - Don't send OnStopRequest if we're cancelled. r=khuey 2013-02-13 14:57:16 -05:00
Timothy Nikkel 5326ecc3d4 Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats 2013-02-24 18:59:22 -06:00
Seth Fowler d1bc4d29d7 Bug 839739 - Remove bad NS_ENSURE_STATE in imgRequestProxy::AdjustPriority. r=joe 2013-02-15 17:00:03 -08:00
Kyle Huey 7ecc5ab1f6 Bug 835814. r=joe 2013-02-05 09:38:22 +00:00
Seth Fowler b46b19c36c Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-19 13:28:54 -08:00
Joe Drew 644bf01c61 Bug 716140 - Convert the XPCOM imgIDecoderObserver interface into a private C++ interface, imgDecoderObserver, so we can more easily make changes to it. r=jrmuizel 2012-12-18 11:37:15 -05:00
Ryan VanderMeulen 60b3b24acf 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 6c11f2841a Bug 821023 - imgStatusTracker should not know about imgRequest. r=joe 2012-12-14 15:42:18 -08:00
Jeff Muizelaar 170a207cce Bug 801061. Switch from imgIRequest to imgRequestProxy. r=joe
This doesn't switch all of the users yet, but is a step in the right
direction.
2012-10-12 08:43:01 -04:00
Josh Matthews 0b8ebaa745 Bug 803121 - Avoid using virtual functions in imgRequestProxy's destructor. r=joe 2012-10-19 15:39:38 -04:00
Nathan Froyd cb4c9c2a0d Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Josh Matthews 9be3a5e29e Bug 802485 - Remove special handling for canceled image request proxies that are changing owners. r=joe 2012-10-22 12:44:53 -04:00
Josh Matthews 093850a86e Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews 16895ae2d7 Bug 505385 - Part 17: Clean up unused arguments in imgStatusTracker observers, document unclear things, etc. r=joe 2012-10-12 12:11:23 -04:00
Josh Matthews 82fb90b8cd Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews 44b54a1987 Bug 505385 - Part 12: Ensure clones of static image proxies result in more static proxies. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews d09b4de4e5 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-12 12:11:22 -04:00
Josh Matthews 04f5ffa6a6 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 e65ef5f689 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 68a85c984d Bug 505385 - Part 7: Initialize imgRequestProxy with a status tracker. r=joe
This is sort of symbolic for now, since we keep mOwner and mImage and just
pull them off the tracker, but we'll soon change that. ;-)
2012-10-12 12:11:21 -04:00
Bobby Holley c0ce7d1ebe Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-12 12:11:20 -04:00
Josh Matthews fe318ee93c Back out bug 585385 for build bustage. 2012-10-11 21:58:24 -04:00
Josh Matthews 49b66676a8 Bug 505385 - Part 18: Reduce number of notifications - START_REQUEST/START_CONTAINER -> SIZE_AVAILABLE, remove START_DECODE and START_FRAME. Rename remaining ones for clarity. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews 5e92efab17 Bug 505385 - Part 17: Clean up unused arguments in imgStatusTracker observers, document unclear things, etc. r=joe 2012-10-11 21:34:24 -04:00
Josh Matthews 163446f63c Bug 505385 - Part 13: Remove OnStopContainer and make OnStopDecode a true decode notification. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews 92d1a4da74 Bug 505385 - Part 12: Ensure clones of static image proxies result in more static proxies. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews 90404f7650 Bug 505385 - Part 11: Create a new imgINotificationObserver interface to replace all uses of imgIContainerObserver and imgIDecoderObserver outside of image/. r=joe 2012-10-11 21:34:23 -04:00
Josh Matthews 363cfacf6d 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 f596783c51 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 56f9e8f0e0 Bug 505385 - Part 7: Initialize imgRequestProxy with a status tracker. r=joe
This is sort of symbolic for now, since we keep mOwner and mImage and just
pull them off the tracker, but we'll soon change that. ;-)
2012-10-11 21:34:22 -04:00
Bobby Holley f3f0b3d677 Bug 505385 - Part 2: Move notification dispatch into imgStatusTracker. r=joe 2012-10-11 21:34:22 -04:00
Kyle Huey 9bb876d3d0 Bug 799791: Remove unused boolean parameters and dead branches. r=jlebar 2012-10-11 09:35:43 -07:00