Commit Graph

1496 Commits

Author SHA1 Message Date
Seth Fowler
a704fc2527 Bug 1116733 (Part 1) - Allocate frames off-main-thread. r=tn 2015-01-08 00:04:31 -08:00
Seth Fowler
5d761e1f76 Bug 1116735 - Allocate frames in the decoder. r=tn
--HG--
extra : rebase_source : df5c3cbe4e8a8ad40e4a7fa04a2c53e1c3bad559
2015-01-08 00:01:25 -08:00
Seth Fowler
bb7c911c87 Bug 1116737 - Merge FrameBlender into FrameAnimator. r=tn
--HG--
extra : rebase_source : f2021135cf82e35273095f8e96373bcbee304710
2015-01-07 13:07:23 -08:00
Seth Fowler
c78cbc746d Bug 1116716 (Followup) - Add missing header file in FrameAnimator.cpp on a CLOSED TREE. r=me 2015-01-07 02:51:58 -08:00
Seth Fowler
940360b1fb Bug 1116716 - Store animated frames in the SurfaceCache. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
9d237b161e Bug 1116719 - Remove Image::FrameRect. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
9d88e055e0 Bug 1112972 (Part 5) - Remove almost all special handling of multipart images in ProgressTracker. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
acf9784fd9 Bug 1112972 (Part 4) - Remove Image::OnNewSourceData. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
a2e6d78d9e Bug 1112972 (Part 3) - Remove almost all special handling of multipart images in RasterImage. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
3378f920a5 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
cb0db77387 Bug 1112972 (Part 1) - Minor refactoring to prepare for MultipartImage. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
3af45f967d Bug 1112956 - Add IProgressObserver to permit more than one class to observe ProgressTracker. r=tn 2015-01-07 01:35:20 -08:00
Valentin Gosu
e9f2ac1bcb Bug 1021221 - resourceTiming initiatorType is empty/other when images are loaded from cache r=seth
Setting the initiatorType to img in ProxyListener::OnStartRequest for resources that don't already have it set.
2014-10-29 17:35:05 +02:00
Christoph Kerschbaumer
88c83107b4 Bug 1116624 - Move CORS into dom/security (r=sicking)
--HG--
rename : dom/base/nsCrossSiteListenerProxy.cpp => dom/security/nsCORSListenerProxy.cpp
rename : dom/base/nsCrossSiteListenerProxy.h => dom/security/nsCORSListenerProxy.h
2014-12-30 15:54:59 -08:00
Patrick McManus
036df5055a bug 1113065 - spdy should not close session on imglib error r=bagder r=seth 2014-12-22 11:03:05 -05:00
Ehsan Akhgari
d2919c59e9 Bug 1117248 - Mark virtual overridden functions as MOZ_OVERRIDE in image/; r=jrmuizel 2015-01-03 12:24:49 -05:00
Christoph Kerschbaumer
68f34a9814 Bug 1087731: Make JS callers of ios.newChannel call ios.newChannel2 in image/ (r=seth) 2014-10-24 14:54:01 -07:00
Glenn Randers-Pehrson
e24a241b96 Bug 1102048 (Part 08) - Make image/src/FrameAnimator.* comply with the Mozilla Coding Style Guide. r=seth
--HG--
extra : rebase_source : 317b7ad7f96fd63b3f989beb177397f065f66c8f
2014-12-14 15:54:00 -08:00
Ehsan Akhgari
66d94da660 Bug 773014 - Part 2: Mark Static{Auto,Ref}Ptr as global-only; r=jrmuizel 2014-12-22 18:10:44 -05:00
Seth Fowler
cdcbbdf794 Bug 1111041 - Detect PR_GetPhysicalMemorySize failure in SurfaceCache. r=dholbert 2014-12-18 19:50:56 -08:00
Carsten "Tomcat" Book
e57f3ff4ab Backed out changeset 6d81c1303daf (bug 1086284) for refest failures on a CLOSED TREE 2014-12-17 13:21:07 +01:00
Jonathan Watt
801fc5ea65 Bug 1086284 - Avoid using refcounting when determining an SVG-as-an-image's intrinsic size so that the image doesn't end up in the CC graph. r=dholbert 2014-12-09 22:32:10 +00:00
Daniel Holbert
9fed75765c (no bug) Fix some mis-indented lines in VectorImage.cpp. (whitespace-only, DONTBUILD) 2014-12-15 19:50:02 -08:00
Daniel Holbert
e5ee78f58a (no bug) Update stale comment above VectorImage::Draw() impl, to reflect current IDL function-prototype. (comment-only, DONTBUILD) 2014-12-15 19:49:59 -08:00
Ehsan Akhgari
309b4049b4 Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Christoph Kerschbaumer
cf68f2dbce Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-12 09:06:54 -08:00
Phil Ringnalda
9c4b09285b Backed out 15 changesets (bug 1087442)
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
2d40e8595e Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-11 20:46:22 -08:00
Seth Fowler
9d6e1a4bf8 Bug 1101415 - Disable test_animation2.html until it can be fixed (on a CLOSED TREE). r=me a=RyanVM 2014-12-11 12:03:05 -08:00
Seth Fowler
1f35112a50 Bug 1098958 - Call UpdateImageContainer whenever we send invalidations in RasterImage. r=tn
--HG--
extra : rebase_source : 06226edca355e318d442dbf4410a722f0d1e0d1b
2014-12-10 19:35:15 -08:00
Ehsan Akhgari
278b49e363 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
Seth Fowler
7a2c5e4cd0 Bug 1109283 - Handle failure of nsExpirationTracker::AddObject in the SurfaceCache. r=dholbert 2014-12-10 02:53:47 -08:00
Glenn Randers-Pehrson
8f980a0f12 Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 17:17:00 -08:00
Glenn Randers-Pehrson
769737166d Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 16:35:00 -08:00
Glenn Randers-Pehrson
e817eb8c41 Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 16:28:00 -08:00
Glenn Randers-Pehrson
86d650039c Bug 1102048 - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 15:58:00 -08:00
Glenn Randers-Pehrson
76319d4f5b Bug 1102048 (Part 18) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-04 11:43:00 -08:00
Glenn Randers-Pehrson
8e15aaa375 Bug 1102048 (Part 16) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-04 11:23:00 -08:00
Glenn Randers-Pehrson
93f9012adc Bug 1102048 (Part 22) - Make image/src files comply with the Mozilla Coding Style Guide. r=seth 2014-12-05 15:12:08 -08:00
Seth Fowler
54a3ff28e4 Bug 1106522 (Part 1) - Make imgLoader::SupportImageWithMimeType optionally support image/svg+xml. r=bz 2014-12-05 11:33:08 -08:00
Daniel Holbert
1807829bf1 Bug 1002632 part 1: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Seth Fowler
c85f8073dd Bug 1106448 - Make sure we have a frame in GetCurrentFrameRef. r=tn 2014-12-03 10:02:19 -08:00
Seth Fowler
aa6abb5ca2 Bug 1106423 - Always use raw frames in DoBlend. r=tn 2014-12-03 10:02:17 -08:00
Seth Fowler
f6cd8e8155 Bug 1104622 (Part 2) - Don't discard for redecoding. r=tn 2014-11-27 19:56:00 -08:00
Seth Fowler
d40a7245bb Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn 2014-11-27 19:55:57 -08:00
Seth Fowler
376f64a09d 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
Phil Ringnalda
3b686a8ffa Back out 01093b5a774b (bug 948194) for not fixing enough races
--HG--
extra : rebase_source : 7e2d451639be57ef03818d84ba2e4e7fd72fa63d
2014-11-26 17:42:04 -08:00
Blake Kaplan
3954991723 Bug 948194 - Fix races related to CPOWs and tab switching. Original patch by Alexandru Tifrea. r=seth 2014-11-26 14:29:52 -08:00
Seth Fowler
c18938521f Bug 1060869 - Followup - Fix mochitest.ini syntax and bump back up memory limit prefs on B2G. r=me
--HG--
extra : rebase_source : 1b3a89c0c35e2fc8e1febcba1e4b3b784fa5fcff
2014-11-26 13:39:30 -08:00
Seth Fowler
f15f946907 Bug 923302 - Add explicit memory reporting for SurfaceCache. r=njn,dholbert 2014-11-26 13:22:11 -08:00
Seth Fowler
af27689cab Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn 2014-11-26 13:22:10 -08:00
Seth Fowler
f8105ed5b9 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 13:22:10 -08:00
Seth Fowler
d7d3dc52e8 Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn 2014-11-26 13:22:10 -08:00
Seth Fowler
cc993975b0 Bug 1060869 (Part 1) - Add lifetime control to SurfaceCache. r=dholbert 2014-11-26 13:22:10 -08:00
Seth Fowler
882b4f4b0f Bug 1057904 (Part 2) - Make imgFrame::LockImageData and UnlockImageData private. r=tn 2014-11-26 13:22:10 -08:00
Seth Fowler
c02c057b31 Bug 1057904 (Part 1) - Use RawAccessRef in FrameBlender and related classes and clean up. r=tn 2014-11-26 13:22:10 -08:00
Ryan VanderMeulen
7604cd09c2 Backed out changeset 82fd2eef7630 (bug 1060869) because the rest of this bug was backed out and it seems to be causing OSX Gip(f1) to be near permafail. 2014-11-26 16:06:53 -05:00
Carsten "Tomcat" Book
77107c07e9 Backed out changeset 2fd42e5e2920 (bug 1057904) for bc3 test failures on a CLOSED TREE 2014-11-26 11:57:41 +01:00
Carsten "Tomcat" Book
bb82f27e3e Backed out changeset 351d96ab9475 (bug 1057904) 2014-11-26 11:57:13 +01:00
Carsten "Tomcat" Book
d4b2e59a1a Backed out changeset 73c52394b08b (bug 1060869) 2014-11-26 11:57:11 +01:00
Carsten "Tomcat" Book
973b580876 Backed out changeset 0a67a7799022 (bug 1060869) 2014-11-26 11:57:09 +01:00
Carsten "Tomcat" Book
bffbe0a66f Backed out changeset c70381132ccf (bug 1060869) 2014-11-26 11:57:06 +01:00
Carsten "Tomcat" Book
5e330f576b Backed out changeset 503b80845952 (bug 923302) 2014-11-26 11:57:00 +01:00
Carsten "Tomcat" Book
993a343364 Backed out changeset 2ac38e527317 (bug 1065818) 2014-11-26 11:56:28 +01:00
Seth Fowler
a5e338ca8f 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
Seth Fowler
23f754441d Bug 923302 - Add explicit memory reporting for SurfaceCache. r=njn,dholbert 2014-11-26 01:37:57 -08:00
Seth Fowler
840e1405a2 Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn 2014-11-26 01:37:57 -08:00
Seth Fowler
de8d2e92b6 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 01:37:56 -08:00
Seth Fowler
d3b31b1a38 Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn 2014-11-26 01:37:56 -08:00
Seth Fowler
99786b270c Bug 1060869 (Part 1) - Add lifetime control to SurfaceCache. r=dholbert 2014-11-26 01:37:56 -08:00
Seth Fowler
8a488d5a01 Bug 1057904 (Part 2) - Make imgFrame::LockImageData and UnlockImageData private. r=tn 2014-11-26 01:37:56 -08:00
Seth Fowler
ad5c60edad Bug 1057904 (Part 1) - Use RawAccessRef in FrameBlender and related classes and clean up. r=tn 2014-11-26 01:37:56 -08:00
Carsten "Tomcat" Book
783fa50767 Backed out changeset 62c4e3d64b7d (bug 1057904) for permafailure mulet test 2014-11-25 14:14:15 +01:00
Carsten "Tomcat" Book
5119c38f27 Backed out changeset b42bc7db8a8e (bug 1057904) 2014-11-25 14:13:59 +01:00
Carsten "Tomcat" Book
85e1f7ebaa Backed out changeset f993ad4dc8f6 (bug 1060869) 2014-11-25 14:13:58 +01:00
Carsten "Tomcat" Book
d912d51274 Backed out changeset f6989ebe8e1c (bug 1060869) 2014-11-25 14:13:56 +01:00
Carsten "Tomcat" Book
affa023840 Backed out changeset a5d577ebb3d0 (bug 1060869) 2014-11-25 14:13:55 +01:00
Carsten "Tomcat" Book
2d024ff052 Backed out changeset 61b0f5391e9d (bug 1060869) 2014-11-25 14:13:53 +01:00
Carsten "Tomcat" Book
899ff4b486 Backed out changeset 2a95a3663cc2 (bug 923302) 2014-11-25 14:13:52 +01:00
Carsten "Tomcat" Book
42c8bc3608 Backed out changeset 7fbcaefd5052 (bug 1060869) 2014-11-25 14:13:50 +01:00
Carsten "Tomcat" Book
d003fee1b3 Backed out changeset 2d6db5d2f985 (bug 1065818) for Android Crashes 2014-11-25 12:40:24 +01:00
Seth Fowler
0bcfff8103 Bug 1060869 - Followup - Use disabled instead of skip-if to disable tests correctly. r=me
--HG--
extra : rebase_source : b81383475210b9f76b7107449c0ec8202f3fd4a5
2014-11-25 02:27:40 -08:00
Seth Fowler
0510d57d71 Bug 1065818 - Clean up memory reports and use of decoded size for image cache entries. r=tn,njn
--HG--
extra : rebase_source : 21c0f6a346e42a71d4298f589ed0c412b8f7bc2d
2014-11-25 02:13:46 -08:00
Seth Fowler
d4431e5720 Bug 923302 - Add explicit memory reporting for SurfaceCache. r=njn,dholbert
--HG--
extra : rebase_source : 08487a50c1d036fda2cf0a74dbe2705f4f3e7cd1
2014-11-25 00:10:11 -08:00
Seth Fowler
ea345d042f Bug 1060869 (Part 4) - Update SurfaceCache prefs to increase the cache size. r=dholbert,tn
--HG--
extra : rebase_source : 64746ba9ac1dab008857aa5acbe8699b2de69f0b
2014-11-25 00:10:11 -08:00
Seth Fowler
3c52847f5b Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert
--HG--
extra : rebase_source : 432056ddc161ca128aabfa7adeef763a3250a070
2014-11-25 00:10:11 -08:00
Seth Fowler
5e2c77546a Bug 1060869 (Part 2) - Store the first frame of a RasterImage in the SurfaceCache. r=tn
--HG--
extra : rebase_source : 3dcbc1258ab36634859c739c8e3c0d464cc52711
2014-11-25 00:10:11 -08:00
Seth Fowler
3d48469682 Bug 1060869 (Part 1) - Add lifetime control to SurfaceCache. r=dholbert
--HG--
extra : rebase_source : 2f95fbd919f1c03acf5d0d01f191ae302973b252
2014-11-25 00:10:11 -08:00
Seth Fowler
63af1c5306 Bug 1057904 (Part 2) - Make imgFrame::LockImageData and UnlockImageData private. r=tn
--HG--
extra : rebase_source : 7f4842f30618e58493745f9da321b018bc3a0b7e
2014-11-25 00:10:11 -08:00
Seth Fowler
8391050f53 Bug 1057904 (Part 1) - Use RawAccessRef in FrameBlender and related classes and clean up. r=tn
--HG--
extra : rebase_source : 5253562628843a84751fea8e51443ef55183d8de
2014-11-25 00:10:11 -08:00
Seth Fowler
9236a64f2d Bug 1103328 - Tweak wording of comment for Decoder::PostHasTransparency. r=me DONTBUILD 2014-11-25 00:00:00 -08:00
Seth Fowler
934ef6a88d Bug 1103652 - Make animSVGImage tests listen for FRAME_UPDATE or poll. r=tn 2014-11-24 23:42:44 -08:00
Seth Fowler
bade7a643c Bug 1103439 - Add a function to clear both chrome and nonchrome image caches. r=tn 2014-11-24 23:42:44 -08:00
Seth Fowler
3941e8ed60 Bug 1103157 (Part 1) - Add HAS_TRANSPARENCY and IS_ANIMATED imgIRequest flags. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
04a7d19f79 Bug 1102617 - Replace imgIContainer::FrameIsOpaque with imgIContainer::IsOpaque. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
bf5b2d05ea Bug 1103328 (Part 5) - Add better documentation for PostHasTransparency. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
247e1f9775 Bug 1103328 (Part 4) - Force decoding in test_has_transparency. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
ed18fd6ef4 Bug 1103328 (Part 3) - Fire HAS_TRANSPARENCY in nsIconDecoder. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
64cc28e074 Bug 1103328 (Part 2) - Fire HAS_TRANSPARENCY for PNGs with first frame padding. r=tn 2014-11-24 23:42:43 -08:00
Seth Fowler
7ef7c236b3 Bug 1103328 (Part 1) - Fire HAS_TRANSPARENCY for clear disposal methods. r=tn 2014-11-24 23:42:43 -08:00
Wes Kocher
46b5abc297 Backed out changeset fd24a9549c1d (bug 1021221) for mochitest-3 orange 2014-11-24 14:42:05 -08:00
Valentin Gosu
2eec9ded7e Bug 1021221 - resourceTiming initiatorType is empty/other when images are loaded from cache r=seth
Setting the initiatorType in imgCacheValidator::OnStartRequest for images in <img> tags
and ProxyListener::OnStartRequest for images that are dynamically loaded
2014-10-29 17:35:05 +02:00
Seth Fowler
6ce4f88e04 Bug 1101759 - Correctly record when we flush data during sync decodes. r=tn 2014-11-20 00:59:05 -08:00
Seth Fowler
331d34398f Bug 1100497 - Disable test_animation.html due to intermittent oranges. r=me
--HG--
extra : rebase_source : 0042b8128f5c4e53ae84a3b852000389effefd34
2014-11-18 18:41:48 -08:00
Seth Fowler
f950251326 Bug 1081012 - Move DecodePool and related helpers out of RasterImage. r=tn 2014-11-18 18:17:17 -08:00
Seth Fowler
e5fc829d7c Bug 1079653 (Part 4) - Move decode status tracking onto RasterImage and remove DecodeRequest. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
25ceced44f Bug 1079653 (Part 3) - Make decoders track whether they need to flush data after getting a new frame. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
54870c611c Bug 1079653 (Part 2) - Remove DecodeRequest::mBytesToDecode. r=tn 2014-11-18 12:06:27 -08:00
Seth Fowler
2033ad107f Bug 1079653 (Part 1) - Move decode telemetry data from DecodeRequest to Decoder. r=tn 2014-11-18 12:06:26 -08:00
Sid Stamm
7840802ff5 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Seth Fowler
ca1dce2292 Bug 1100725 (Part 4) - Assert that we always consume all decoder progress and invalidations. r=tn 2014-11-18 01:48:49 -08:00
Seth Fowler
433055f61a Bug 1100725 (Part 3) - Take invalidations after decoder shutdown in FinishedSomeDecoding. r=tn 2014-11-18 01:48:49 -08:00
Seth Fowler
1df17a3d88 Bug 1100725 (Part 2) - Consume all the contained decoder's invalidations in nsICODecoder. r=tn 2014-11-18 01:48:48 -08:00
Seth Fowler
a7d4ad918d Bug 1100725 (Part 1) - Don't shut down decoder in DoImageDataComplete. r=tn 2014-11-18 01:48:48 -08:00
Seth Fowler
9ff47dee0b Bug 1093785 - Remove RasterImage::FinishedSomeDecoding recursive notification warning. r=tn
--HG--
extra : rebase_source : 5d2dda5be793dcdc3ab680c9f13a691bbca13448
2014-11-17 14:29:57 -08:00
Seth Fowler
62eae44142 Bug 968008 - Adds comments to imgINotificationObserver.idl. r=tn
--HG--
extra : rebase_source : 5276e796133fd806d0b9229aec51aaaa7fedb5ef
2014-11-17 14:29:56 -08:00
Seth Fowler
a5a4994677 Bug 1098202 (Part 2) - Rename Progress flags to be consistent with the corresponding notifications. r=tn
--HG--
extra : rebase_source : 9a8c0c3efe55a459c5a9a687e94a7861eb44bc35
2014-11-17 14:29:56 -08:00
Seth Fowler
8272e602b4 Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Seth Fowler
fadb4ded83 Bug 1098648 - Remove FLAG_REQUEST_STARTED from ProgressTracker. r=tn
--HG--
extra : rebase_source : 1fdd8761fde5817528dcda53f7754d8e83628037
2014-11-17 14:29:56 -08:00
Seth Fowler
59abe4bf01 Bug 1098645 - Remove imgRequestProxy::mSentStartContainer. r=tn
--HG--
extra : rebase_source : 21b1891f0b6e39d7ed4945d9d42b37f43490c0f5
2014-11-17 14:29:56 -08:00
Seth Fowler
646a87b452 Bug 1089880 (Part 2) - Add tests for HAS_TRANSPARENCY. r=tn
--HG--
rename : image/test/reftest/gif/one-color-offset.gif => image/test/mochitest/first-frame-padding.gif
rename : image/test/reftest/ico/ico-bmp-8bpp/ico-size-1x1-8bpp.ico => image/test/mochitest/ico-bmp-opaque.ico
rename : image/test/reftest/ico/ico-bmp-32bpp/ico-transparent-32bpp.ico => image/test/mochitest/ico-bmp-transparent.ico
rename : image/test/reftest/bmp/bmp-8bpp/bmp-size-2x2-8bpp.bmp => image/test/mochitest/opaque.bmp
rename : image/test/reftest/gif/red.gif => image/test/mochitest/red.gif
rename : image/test/reftest/gif/in-colormap-trans.gif => image/test/mochitest/transparent.gif
rename : image/test/reftest/pngsuite-transparency/tbbn1g04.png => image/test/mochitest/transparent.png
2014-11-17 11:16:45 -08:00
Seth Fowler
2104fd39af Bug 1089880 (Part 1) - Add a HAS_TRANSPARENCY notification to ImageLib. r=tn 2014-11-17 11:16:45 -08:00
Seth Fowler
8c03c259c1 Bug 1098108 (Part 5) - Check consistency whenever progress changes in ProgressTracker. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
ea1536c85d Bug 1098108 (Part 4) - Make resniffed multipart requests progress like normal requests. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
949fc39567 Bug 1098108 (Part 3) - Record REQUEST* notifications for imgTools decodes. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
1fb79da0fa Bug 1098108 (Part 2) - Don't send DECODE_STOPPED or ONLOAD_UNBLOCKED for size decodes. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
1fffd497bd Bug 1098108 (Part 1) - Don't overwrite nsICODecoder's progress with the contained decoder's progress. r=tn 2014-11-14 20:10:48 -08:00
Seth Fowler
83e59f2ed5 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
Seth Fowler
24c45611da Bug 1097432 (Part 2) - Clean up imgStatusTracker's interface. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
c93cf9d5cb Bug 1097432 (Part 1) - Remove imgStatusTracker::Send* methods and clean up. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
22f87ae84e Bug 1097431 - Carry over the minimal set of imgStatusTracker flags between multipart parts. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
f50b3b8b94 Bug 1097405 - Clean up imgStatusTracker's Difference APIs. r=tn 2014-11-14 20:10:47 -08:00
Seth Fowler
d3c9f17bad Bug 1089046 (Part 2) - Remove guards against recursive notifications. r=tn 2014-11-14 20:06:21 -08:00
Seth Fowler
d723752d36 Bug 1089046 (Part 1) - Remove imgDecoderObserver and related code. r=tn 2014-11-14 20:06:19 -08:00
Glenn Randers-Pehrson
e2bc55a28c Bug 991149 - Improve image/* source compliance with Mozilla Coding Style. r=seth 2014-11-14 12:59:00 -05:00
Christoph Kerschbaumer
a9d3ae9136 Bug 1083422 - Add triggering Principal to nsILoadInfo - update callsites (r=bz,sicking) 2014-11-14 08:56:55 -08:00
Mats Palmgren
da599d4464 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
Seth Fowler
779f210fa8 Bug 1084679 - Track invalidation rects during decoding on Decoder, not imgStatusTracker. r=tn 2014-11-10 12:37:35 -08:00
Michael Ratcliffe
e2616dda10 Bug 1090913 - Make mochitests fail when it has 0 passes and 0 fails r=jmaher 2014-11-05 16:00:52 +00:00
Seth Fowler
ccab9ea666 Bug 1084136 (Part 11) - Don't treat FLAG_REQUEST_STARTED specially. r=tn,a=kwierso
--HG--
extra : rebase_source : 6dcf827fcd14d0310222dad8403d73704c7dcde2
extra : amend_source : 22dfb613487919c715b720c45e8a6779c33a341d
2014-11-06 17:34:01 -08:00
Seth Fowler
095424a834 Bug 1084136 (Part 10) - Materialize image status from image state when needed. r=tn
--HG--
extra : rebase_source : d401de894d19c6f2b74faa2c26a2422cfbac0a6d
2014-11-06 17:34:00 -08:00
Seth Fowler
f8366bef6a Bug 1084136 (Part 9) - Don't track whether we've ever been decoded separately. r=tn
--HG--
extra : rebase_source : 6a6708f9b6524b152204fccf96922e17eccbd6b3
2014-11-06 17:34:00 -08:00
Seth Fowler
a704eb8e0a Bug 1084136 (Part 8) - Treat receiving the last part of a multipart image as an image state. r=tn
--HG--
extra : rebase_source : 136af95415b6756b9d4c5c667d2287da77557a23
2014-11-06 17:33:59 -08:00
Seth Fowler
a2b91e8274 Bug 1084136 (Part 7) - Treat being multipart as an image state. r=tn
--HG--
extra : rebase_source : 2026ffd7698abe21f15dbc52cbf318b52e329129
2014-11-06 17:33:59 -08:00
Seth Fowler
ffe50e3c56 Bug 1084136 (Part 6) - Don't reset any imgStatusTracker state when discarding. r=tn
--HG--
extra : rebase_source : 48b0bb6827f6b8121f662bab4dcfb823fa8fe870
2014-11-06 17:33:59 -08:00
Seth Fowler
4bb8da9c27 Bug 1084136 (Part 5) - Don't reset STATUS_DECODE_STARTED when decoding finishes. r=tn
--HG--
extra : rebase_source : d60164094c0dc0d7fbc4f47980f8b2d9df0b9deb
2014-11-06 17:33:58 -08:00
Seth Fowler
483bb40bfa Bug 1084136 (Part 4) - Record STATUS_DECODE_COMPLETE even if there's an error. r=tn
--HG--
extra : rebase_source : 9d5ba3964faf1fe2d28020050a0d89fa5cbc5bb0
2014-11-06 17:33:58 -08:00
Seth Fowler
8de98648d8 Bug 1084136 (Part 3) - Don't reset image status flags on error. r=tn
--HG--
extra : rebase_source : a14a69a7f8a000be8c66008edf99c6d08a755325
2014-11-06 17:33:57 -08:00
Seth Fowler
955fd6a1eb Bug 1084136 (Part 2) - Add FLAG_UNBLOCK_ONLOAD and never unset FLAG_BLOCK_ONLOAD. r=tn
--HG--
extra : rebase_source : 1658f334021b19c15e55fc838276a2d7903e5bca
2014-11-06 17:33:57 -08:00
Seth Fowler
072f743299 Bug 1084136 (Part 1) - Clean up image state flags. r=tn
--HG--
extra : rebase_source : e91a0adca1f47e1f430c9120f86a903c374c29dc
2014-11-06 17:33:57 -08:00