Commit Graph

1540 Commits

Author SHA1 Message Date
Seth Fowler
2260ea79c1 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
d67f6ae817 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
50350de860 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
02784a8b7c Bug 1134537 - Only support GIO in Linux's nsIconChannel. r=seth 2015-03-03 23:15:08 -07:00
Alexandre Lissy
32049a60d0 Bug 1039834 - Fix PNG suite reftest on mulet. r=dbaron 2015-03-04 10:12:00 +01:00
Seth Fowler
0f43915e26 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
71265524e7 Bug 1135977 (Part 2) - Use threadsafe refcounting for ProxyListener. r=baku 2015-03-04 22:18:12 -08:00
Seth Fowler
914c22e853 Bug 1135977 (Part 1) - Use modern Mozilla style for refcounting in imgLoader. r=baku 2015-03-04 22:18:09 -08:00
Anish
b9d3be97ea 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
454d9140a2 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
8d06e45b3d 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
dfcfb7d851 Bug 1132081 - Speed up ConvertHostARGBRow() in the PNG encoder. r=jmuizelaar 2015-02-21 05:54:00 +01:00
Carsten Book
9fcc3cd717 Bug 944353 - crashtest. 2015-02-22 02:41:58 +00:00
Anish
48094b2951 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
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
bbc6a8a249 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
1898fccaa5 Bug 1132427. Add test. 2015-02-17 19:26:52 -06:00
Matt Woodrow
3975f7a221 Bug 1133356 - Expand macro in OnImageAvailable to avoid checking NotificationsDeferred. r=roc 2015-02-17 10:15:04 +13:00
Timothy Nikkel
308915bb9f 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
27b74d5d7a Bug 1117337 - Properly serialize moz-icon URIs. r=bent 2015-02-12 15:41:21 -08:00
Blake Kaplan
8d0757bdf3 Bug 1117337 - Make icon URIs constructable via XPCOM. r=seth
--HG--
rename : image/decoders/icon/nsIIconURI.idl => image/public/nsIIconURI.idl
2015-02-12 15:41:21 -08:00
Jeff Muizelaar
f4819d1412 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.

--HG--
extra : rebase_source : 7233c03e9e4fd0987f3e7c12d5d0e27520ebddae
2015-02-10 13:26:14 +08:00
Chris Peterson
c220822760 Bug 1118076 - Remove obsolete comment about #including Attributes.h for MOZ_THIS_IN_INITIALIZER_LIST. DONTBUILD r=seth
--HG--
extra : rebase_source : 75226720f08d50d7aa05e54d61ffaff3250de324
extra : amend_source : ee16e00e9084092d6f4e88c02b6a76e955605213
2015-02-10 19:03:04 -08:00
Seth Fowler
bd08aaaf9c Bug 1130707 (Followup) - Add missing return statement. r=me 2015-02-10 14:28:14 -08:00
Seth Fowler
86a2737d4a 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
37c77723c3 Bug 1130707 - Make decode-on-draw-only image notifications more robust. r=tn 2015-02-09 23:50:30 -08:00
Seth Fowler
2ee993bb0c Bug 1128769 (Part 6) - Remove imgIContainer::IsDecoded and all remaining callers. r=tn 2015-02-09 23:27:40 -08:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Seth Fowler
ea0defa382 Bug 1128188 - Allow creation of animated frames that do not fit inside the bounds of their image. r=jrmuizel 2015-02-07 03:51:40 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Nathan Froyd
e3f180055e Bug 1128989 - part 2 - forward-declare Telemetry::ID in Decoder.h; r=seth
This change means that Decoder.h (and any files that include it) no
longer depend on Telemetry.h.  And since Telemetry.h can change rather
frequently, this change helps minimize the number of files that need to
be rebuilt when Telemetry.h does change.
2015-02-03 10:05:49 -05:00
Seth Fowler
aeb96e5b14 Bug 1120144 - Disable test_bug641198.html until it can be rewritten. r=me
--HG--
extra : rebase_source : 204ab661ec2bccc52aa82a00b912d9914f039560
2015-02-05 18:03:19 -08:00
Seth Fowler
d8cb270f3f Bug 1124610 - Call PostHasTransparency for corrupt images that we treat as usable. r=jrmuizel 2015-02-05 14:42:38 -08:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Seth Fowler
c8d0ddc5f2 Bug 1129818 - Don't call back into DecodePool from NotifyDecodeCompleteWorker. r=tn
--HG--
extra : rebase_source : 9e5de2e205620aed955aedd0b5c27f968976fce1
2015-02-05 02:49:08 -08:00
Seth Fowler
ba8b248bff Bug 1128225 (Part 1) - Return a result enumeration from imgIContainer::Draw. r=tn 2015-02-04 13:50:56 -08:00
Seth Fowler
a224709fcd Bug 1126490 (Part 2) - Recover from loss of surfaces in VectorImage. r=dholbert 2015-02-03 16:38:39 -08:00
Seth Fowler
e218e72305 Bug 1126490 (Part 1) - Recover when catastrophic circumstances cause us to lose frames in RasterImage. r=tn 2015-02-03 16:38:36 -08:00
Birunthan Mohanathas
730659ae0a Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo 2015-02-03 18:52:36 +02:00
Seth Fowler
240729596d Bug 1128223 (Part 4) - Remove DecodeStrategy and WantDecodedFrames. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
4a9f55168d Bug 1128223 (Part 3) - Add FLAG_ASYNC_NOTIFY. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
6a678ed5a6 Bug 1128223 (Part 2) - Add FLAG_SYNC_DECODE_IF_FAST. r=tn 2015-02-02 21:40:35 -08:00
Seth Fowler
564caf69e7 Bug 1128223 (Part 1) - Clean up existing image flags. r=tn 2015-02-02 21:40:35 -08:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Seth Fowler
aaf43f6f99 Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn 2015-01-31 15:29:48 -08:00
Carsten "Tomcat" Book
44b0589146 Backed out changeset e5c85f765f2d (bug 1126739) for bc2 test failures on a CLOSED TREE 2015-01-29 10:42:16 +01:00
Seth Fowler
5c78397e93 Bug 1126739 - Add locking to SurfaceCache entry points that bypass the public API. r=tn 2015-01-28 23:50:06 -08:00
Seth Fowler
fe165433d0 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
Carsten "Tomcat" Book
9ab3148719 Backed out changeset bbd77af91d82 (bug 1125490) for reftests failures on a CLOSED TREE 2015-01-27 11:16:28 +01:00
Seth Fowler
8179aea0b5 Bug 1125490 (Part 1) - Make sure we request discarding for images in PresShell::Destroy. r=tn 2015-01-26 22:53:21 -08:00