Commit Graph

1415 Commits

Author SHA1 Message Date
Seth Fowler
fc4a5f30f0 Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. r=tn 2015-01-11 19:28:02 -08:00
Tom Schuster
a1fc33823a Backout changeset b4ebefd0f7e3:a8044fd506db Bug 1117607, Bug 1118087, Bug 1118092, Bug 1118105, Bug 1030372, Bug 1079627 on CLOSED TREE 2015-01-11 20:43:32 +01:00
Seth Fowler
18cb47ce08 Bug 1079627 - Additonal commit to allow push on a CLOSED TREE since these patches should fix the oranges 2015-01-11 05:43:06 -08:00
Seth Fowler
12931c48ec Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler
c0f12016a1 Bug 1079627 (Part 2) - Add SourceBuffer. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler
d026f10d29 Bug 1079627 (Part 1) - Make image decoders hold a strong reference to their image. r=tn 2015-01-11 05:34:20 -08:00
Seth Fowler
4055945999 Bug 1118105 - Make SurfaceCache::Insert let you know if you try to insert a duplicate surface. r=dholbert 2015-01-10 20:47:39 -08:00
Seth Fowler
b63799e189 Bug 1118092 - Manage invalidation policy directly in the image decoder. r=tn 2015-01-10 20:47:38 -08:00
Seth Fowler
99d2131952 Bug 1118087 - Correctly sync decode even if an imgFrame is partially decoded. r=tn 2015-01-10 20:47:38 -08:00
Seth Fowler
4cfb230690 Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn 2015-01-10 18:47:44 -08:00
Chris Peterson
90751d5a6c Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Wes Kocher
87aaffcfac Backout 17fc30214d84 (bug 1117607) for reftest orange 2015-01-09 18:48:43 -08:00
Seth Fowler
55a9e0f656 Bug 1117607 - Make decoders responsible for their own frame allocations. r=tn 2015-01-09 15:02:48 -08:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ryan VanderMeulen
93ce88585b Bug 987616 - Disable browser_image.js on debug builds due to frequent failures. 2015-01-08 12:32:12 -05:00
Seth Fowler
284713aaa3 Bug 1116733 (Followup) - Mark constructor of UnlockImageDataRunnable explicit on a CLOSED TREE. r=me
--HG--
extra : amend_source : 866c595f036229aa3047d725b6158430536a911f
2015-01-08 01:28:21 -08:00
Seth Fowler
ebe4139428 Bug 1116747 - Always use multithreaded image decoding. r=tn 2015-01-08 00:29:41 -08:00
Seth Fowler
7b778fd850 Bug 1116746 - Remove unused statistics code from RasterImage. r=tn 2015-01-08 00:29:39 -08:00
Seth Fowler
97e722b9e0 Bug 1116733 (Part 2) - Remove DecodeStrategy and frame allocation handling outside of Decoder. r=tn 2015-01-08 00:04:31 -08:00
Seth Fowler
954c87102c Bug 1116733 (Part 1) - Allocate frames off-main-thread. r=tn 2015-01-08 00:04:31 -08:00
Seth Fowler
14f7ddb551 Bug 1116735 - Allocate frames in the decoder. r=tn
--HG--
extra : rebase_source : df5c3cbe4e8a8ad40e4a7fa04a2c53e1c3bad559
2015-01-08 00:01:25 -08:00
Seth Fowler
6b6f748f38 Bug 1116737 - Merge FrameBlender into FrameAnimator. r=tn
--HG--
extra : rebase_source : f2021135cf82e35273095f8e96373bcbee304710
2015-01-07 13:07:23 -08:00
Seth Fowler
f0bd64dc1d 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
b1a80a3530 Bug 1116716 - Store animated frames in the SurfaceCache. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
4b8e6b32b1 Bug 1116719 - Remove Image::FrameRect. r=tn 2015-01-07 01:40:23 -08:00
Seth Fowler
1077f96e21 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
cdb2d480c6 Bug 1112972 (Part 4) - Remove Image::OnNewSourceData. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
0e83d78d8f 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
3ff32616f2 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
78daf72001 Bug 1112972 (Part 1) - Minor refactoring to prepare for MultipartImage. r=tn 2015-01-07 01:37:20 -08:00
Seth Fowler
4ce455471d 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
86bd99811b 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
dd4b91b6b5 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
a72311ef3c bug 1113065 - spdy should not close session on imglib error r=bagder r=seth 2014-12-22 11:03:05 -05:00
Ehsan Akhgari
bc2500239a Bug 1117248 - Mark virtual overridden functions as MOZ_OVERRIDE in image/; r=jrmuizel 2015-01-03 12:24:49 -05:00
Christoph Kerschbaumer
295e89ab55 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
74cd24a194 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
e66c428356 Bug 773014 - Part 2: Mark Static{Auto,Ref}Ptr as global-only; r=jrmuizel 2014-12-22 18:10:44 -05:00
Seth Fowler
c28e66d620 Bug 1111041 - Detect PR_GetPhysicalMemorySize failure in SurfaceCache. r=dholbert 2014-12-18 19:50:56 -08:00
Carsten "Tomcat" Book
81fac98fac Backed out changeset 6d81c1303daf (bug 1086284) for refest failures on a CLOSED TREE 2014-12-17 13:21:07 +01:00
Jonathan Watt
517d061734 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
7bb8c6c551 (no bug) Fix some mis-indented lines in VectorImage.cpp. (whitespace-only, DONTBUILD) 2014-12-15 19:50:02 -08:00
Daniel Holbert
4873b4a63b (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
20474e5ba7 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
0906dff6b3 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-12 09:06:54 -08:00
Phil Ringnalda
e725b6fdc2 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
ea1673370b Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - image/ changes (r=seth) 2014-12-11 20:46:22 -08:00
Seth Fowler
f5a1845aa6 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
96eec4680f 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
fee3111e52 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00