Commit Graph

1564 Commits

Author SHA1 Message Date
Seth Fowler
5465d1c9e4 Bug 1139225 (Part 3) - Make OnDataAvailable threadsafe. r=tn 2015-03-23 19:37:45 -07:00
Seth Fowler
5c100fc464 Bug 1139225 (Part 2) - Dispatch OnImageAvailable to the main thread manually in imgRequest. r=tn 2015-03-23 19:37:45 -07:00
Seth Fowler
fa047d9c6d Bug 1139225 (Part 1) - Remove unused imgRequest::mBlockingOnload flag. r=tn 2015-03-23 19:37:45 -07:00
Seth Fowler
5da4b2703b Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
2e7bc146e4 Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku 2015-03-23 19:37:45 -07:00
Seth Fowler
190b4798ef Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku 2015-03-23 19:37:44 -07:00
Seth Fowler
d86e060a7a Bug 1137019 (Part 0) - Back out bug 1142849. 2015-03-23 19:37:44 -07:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ryan VanderMeulen
d296d3f9ca Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Nathan Froyd
c88b0aa913 Bug 1145167 - make imgIContainer::type getter infallible; r=seth
Rather than writing out a separate GetType() for every concrete
imgIContainer, we can tag the attribute as [infallible] in the IDL file.
The IDL code generator takes care of generating the correct GetType,
leading to less code duplication.
2015-03-19 10:12:52 -04:00
Seth Fowler
c7e806b5cd Bug 1144899 - Make the perfect match check in LookupBestMatch skip undecoded surfaces. r=dholbert 2015-03-18 20:31:38 -07:00
Seth Fowler
431609ad4a Bug 1141398 - Do not always revalidate image cache entries for file URIs. r=tn 2015-03-18 18:29:32 -07:00
Seth Fowler
2c9ec2cdda Bug 1139636 - Add BUG_COMPONENT info for ImageLib. r=gps 2015-03-18 18:29:32 -07:00
Seth Fowler
a2b6a8221d Bug 1137058 - Increment RasterImage::mLockCount to ensure that non-discardable images don't eventually become unlocked. r=tn 2015-03-17 19:40:17 -07:00
Seth Fowler
eebec0f7d6 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
0b505f011b Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Seth Fowler
3be45d0bcc Bug 1143509 - Unlock surfaces for downscale-during-decode before creating a new decoder. r=dholbert 2015-03-17 13:56:49 -07:00
Seth Fowler
f49f593021 Bug 1135572 - Disable 944353.jpg crashtest on ASAN. r=me DONTBUILD 2015-03-16 10:48:09 -07:00
Seth Fowler
72645b77ed Bug 1142849 - Upliftable fix for imgRequest TSan violations. r=tn 2015-03-13 11:43:32 -07:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Ehsan Akhgari
16b4114ff2 Bug 1140766 - Build more files in image/decoders in unified mode; r=jrmuizel 2015-03-11 21:30:03 -04:00
Ryan VanderMeulen
4fdbfff255 Backed out changesets febbccd1cd1e and d834e57b0352 (bug 1137019) for making bug 1123563 permafail on Android 2.3.
CLOSED TREE
2015-03-10 16:45:01 -04:00
Ryan VanderMeulen
2168dd98ca Backed out changeset 75709d46ba3b (bug 1137037) 2015-03-10 16:43:54 -04:00
Seth Fowler
c763071cf1 Bug 1137037 - Determine the inner window ID in imgRequest::Init. r=baku 2015-03-10 11:21:45 -07:00
Seth Fowler
5512fd2b25 Bug 1137019 (Part 2) - Replace imgRequest's image decoding methods with a single minimal method that updates an atomic. r=baku 2015-03-10 11:21:45 -07:00
Seth Fowler
b378f7854a Bug 1137019 (Part 1) - Get rid of unused LockImage forwarding methods on imgRequest. r=baku 2015-03-10 11:21:45 -07:00
Milan Sreckovic
ae310469c2 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Alex Henrie
52f2b50487 Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth 2015-03-03 23:15:08 -07:00
Alexandre Lissy
dd35eaa14c Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Seth Fowler
a32d61e9b6 Bug 1130607 - Cancel our imgRequest if we get an unexpected duplicate imgRequest event. r=tn 2015-03-04 22:18:14 -08:00
Seth Fowler
e9e1603dbc Bug 1135977 (Part 2) - Use threadsafe refcounting for ProxyListener. r=baku 2015-03-04 22:18:12 -08:00
Seth Fowler
5306f07c44 Bug 1135977 (Part 1) - Use modern Mozilla style for refcounting in imgLoader. r=baku 2015-03-04 22:18:09 -08:00
Anish
9b39f2745a Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Andrea Marchesini
5a32f7fa5a Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Boris Zbarsky
897168be1d Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Glenn Randers-Pehrson
620d67cd5f Bug 1132081 - Speed up ConvertHostARGBRow() in the PNG encoder. r=jmuizelaar 2015-02-21 05:54:00 +01:00
Carsten Book
bbd47ba64d Bug 944353 - crashtest. 2015-02-22 02:41:58 +00:00
Anish
d6962a9b5b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
24df8222d0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e982da177f Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Timothy Nikkel
dd3fed6f09 Bug 1132427. Add test. 2015-02-17 19:26:52 -06:00
Matt Woodrow
cde1d90f5f Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc 2015-02-17 10:15:04 +13:00
Timothy Nikkel
09dabd46dc Bug 1132427. Make sure that the first frame refresh area for an animated image gets updated based on the refresh area of all subsequent frames, not just the second. r=jrmuizel 2015-02-13 02:26:41 -06:00
Blake Kaplan
1d30248d08 Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-12 15:41:21 -08:00
Blake Kaplan
3627a368c3 Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth 2015-02-12 15:41:21 -08:00
Jeff Muizelaar
738a667bbd Bug 1131446. mFrameHasNoAlpha is mostly pointless. r=seth
Starting with bug 391583 we detect whether a png image has any transparency
during decode. I don't think this is worth doing anymore. We choose the format
of image based on the png header, that should be sufficient for the performance
improvement we desire from opaque images. This gets us faster image decoding.
2015-02-10 13:26:14 +08:00
Chris Peterson
b00d104bb6 Bug 1118076 - Remove obsolete comment about #including Attributes.h for MOZ_THIS_IN_INITIALIZER_LIST. DONTBUILD r=seth 2015-02-10 19:03:04 -08:00
Seth Fowler
0b596c149c Bug 1130707 (Followup) - Add missing return statement. r=me 2015-02-10 14:28:14 -08:00
Seth Fowler
e92e773792 Bug 1130802 - Always prefer decoded surfaces when substituting surfaces for downscale-during-decode. r=dholbert 2015-02-10 04:20:45 -08:00
Seth Fowler
59f6986711 Bug 1130707 - Make decode-on-draw-only image notifications more robust. r=tn 2015-02-09 23:50:30 -08:00