Eric Rahm
b3ba4f52ec
Bug 1219992 - Remove RasterImage::Init failed warning. r=tn
2016-05-20 20:03:44 -07:00
vincentliu
4332e3a00e
Bug 1167557 - Log for Null surface in SurfaceCache::Insert. r=milan
...
---
gfx/2d/Logging.h | 1 +
image/SurfaceCache.cpp | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
2016-05-19 13:01:26 +08:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Timothy Nikkel
2c28cda879
Bug 1271002. Notify right away after getting the first frame of an animated image. r=seth
...
The decoding loop in Decoder::Decode only pauses to report progress when it runs out of bytes to decode. So for long animated images where the network is keeping up with decoding it will be a relatively long time until we deliver the first frame complete notification and corresponding invalidation. In most cases this shouldn't be too expensive as it is just dispatching a runnable to the main thread from the decoding thread.
2016-05-13 21:32:21 -05:00
Sebastian Hengst
fe00520851
Backed out changeset 2ac62de7365d (bug 1271002) for crash in GTest: [@ mozilla::image::RasterImage::UpdateImageContainer]. r=backout
2016-05-14 00:08:18 +02:00
Timothy Nikkel
316a0874c5
Bug 1271002. Notify right away after getting the first frame of an animated image. r=seth
...
The decoding loop in Decoder::Decode only pauses to report progress when it runs out of bytes to decode. So for long animated images where the network is keeping up with decoding it will be a relatively long time until we deliver the first frame complete notification and corresponding invalidation. In most cases this shouldn't be too expensive as it is just dispatching a runnable to the main thread from the decoding thread.
2016-05-13 16:19:55 -05:00
JerryShih
325dfdc8dd
Bug 1256572
- use SourceSurfaceRawData with custom deallocator in imgFrame. r=bas
...
We can prevent the memory copy in GuaranteePersistance() during painting.
2016-05-05 07:30:00 +02:00
Timothy Nikkel
e68880b733
Bug 1263472. Limit the height of svg embed in image/test/mochitest/test_svg_animatedGIF.html. r=xidorn
...
The extra height of the test element (the embed) versus the reference element (a div with height 40px) can cause the iframe the test is run in to overflow, thus causing a scrollbar in the test but not the reference. But we are only interested in testing the frame of the contained animated gif.
2016-05-10 22:57:53 -05:00
Nathan Froyd
78256a6966
Bug 1265053 - don't needlessly construct nsAutoCString temporaries in image gtests; r=seth
...
Passing nsDependentCString gives us the same effect with less memory traffic.
2016-05-09 13:10:09 -04:00
Christoph Kerschbaumer
88454785ba
Bug 1269271 - Remove SEC_NORMAL from image/decoders (r=seth)
2016-05-08 20:05:51 +02:00
Jonathan Watt
6f1c454a86
Bug 1265744 - Make the "RasterImage::Init failed"/"VectorImage::Init failed" messages include the failing URI. r=seth
2016-05-03 17:16:31 +01:00
Robert Longson
957d0f6704
Bug 1267272 - NULL pointer mozilla::dom::SVGSVGElement::GetIntrinsicHeight. r=seth
2016-05-08 11:17:46 +01:00
Timothy Nikkel
6d672b7854
Bug 1270997. Send invalidations for the first image frame properly. r=seth
...
This was caused by http://hg.mozilla.org/mozilla-central/rev/167ceb965079 (bug 1194059). Before that changeset mIsAnimated meant "we currently have more than one frame". After that changeset mIsAnimated was replaced with HasAnimation(). HasAnimation() just looks at the metadata to see if the image is animated. That changeset had the effect of always detected if an image is animated during the metadata decode. Therefore during a full decode we always know the image is animated, even before we've decoded two or more frames.
The fix is to go back to using the actual current frame count to manage invalidations.
2016-05-07 15:54:39 -05:00
Joel Maher
ffec923436
Bug 1269872 - convert webgl related crashtests to mochitest. r=jgilbert
...
MozReview-Commit-ID: KaCuwJJPTmO
--HG--
extra : rebase_source : d6bffff07096c19c5bb4fd94004bec5f16e33fe9
extra : amend_source : 7cb1b494bf72c31b72c990e46b4dc9a89a072ac1
2016-05-05 10:22:33 -04:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ad9214381b
merge mozilla-inbound to mozilla-central a=merge
2016-05-04 11:54:42 +02:00
Georg Fritzsche
658a338acf
Bug 1261063
- Part 3 - Make RasterImage use the public Telemetry API. r=tnikkel
2016-05-03 18:07:45 +02:00
Christoph Kerschbaumer
2d199cd96d
Bug 1268396 - Add testcase for nsIDocShell::APP_TYPE_EDITOR. r=bz
2016-05-03 11:15:04 +02:00
Christoph Kerschbaumer
b18f786c05
Bug 1268396 - Follow up: Restore state of docShell at the end of test (r=bz)
2016-05-03 19:13:17 +02:00
Aryeh Gregor
161a269dc0
Bug 1193762 part 5 - Convert DecodePool::threads to nsTArray; r=froydnj
...
I don't remember what this has to do with this patchset, but it's a good
change anyway.
2016-05-01 21:29:22 +03:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Nicholas Nethercote
a5c843fe5f
Bug 1267550 (part 1) - Rename MOZ_MUST_USE as MOZ_MUST_USE_TYPE. r=ehsan.
...
This will allow MOZ_MUST_USE to be used for a different and more common case.
MozReview-Commit-ID: 4dQsdWjJfc6
--HG--
extra : rebase_source : 390ab56ef83d71eb6d28759a0195a79a78b153bd
2016-04-27 08:22:10 +10:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Christoph Kerschbaumer
0e1d963860
Bug 1206961 - Use channel->AsyncOpen2() in image/imgLoader.cpp; removing security checks from the callsite reveals that we have to pass the accurate contentPolicyType to ValidateEntry (r=seth,bz)
2016-04-27 19:40:56 +02:00
Yoshi Huang
ba1bb72568
Bug 1263496 - Part 3: fix for nsNullPrincipal::Create
...
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=nsNullPrincipal::Create (&redirect=true
that needs to inherit origin attributes.
2016-04-27 18:38:07 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Jonathan Watt
6a7fdf9b55
No Bug - Remove some unnecessary SVGImageContext.h includes and add comments. r=sparky
2016-04-22 15:07:31 +01:00
Sebastian Hengst
c108701a85
Backed out changeset 68442febc36c (bug 1160200) for almost permafailing added test apng-mime/test.html Android 4.3 API15+ opt. r=backout
2016-04-23 22:33:26 +02:00
Xidorn Quan
8080406d39
Bug 1266615 - Fix C4334 in imgFrame.cpp. r=padenot
...
MozReview-Commit-ID: BYBRJoFBj0V
--HG--
extra : rebase_source : 72ae050a2c167f1112947c3df5d9afed97e3226d
2016-04-22 11:22:53 +10:00
David Newton
f44103a43f
Bug 1160200 - APNG can't be used with type switching. r=mcaceres,r=jrmuizel
2016-04-20 23:57:00 +02:00
Kris Maglione
9788ff57c1
Bug 1261231: Fix shutdown leak in imgLoader::GetInstance. r=gabor
...
MozReview-Commit-ID: K3kQrva1mG7
--HG--
extra : rebase_source : 846b62a772ce7f1adbad1e834a3f8a98496d8f77
2016-03-31 16:26:38 -07:00
Dragana Damjanovic
645513565f
Bug 1125916 - Fix code that miss proper flags and originAttributes in LoadInfo. Also fix some tests. r=sicking, r=jduell
...
--HG--
extra : rebase_source : 2a08f0208496671439ce62a576b5f8a728bbdf3c
extra : amend_source : 30412ab68cc0ee4469a88e41b6ce81c908a26535
extra : histedit_source : 1faae352f7fbf7c4c7a9e1e571ca395c853a1334
2016-04-13 15:34:36 +02:00
Heiher
0dce9cb2f1
Bug 1260351 - Image: Enable ConvolveVertically/Horizontally in LS3 MMI. r=tnikkel
...
---
image/Downscaler.cpp | 5 +++--
image/DownscalingFilter.h | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
2016-04-13 21:40:33 +08:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Timothy Nikkel
30e1d4989f
Bug 1263474. Convert three tests image/test/mochitest/chrome.ini to mochitest-plain. r=kats
2016-04-11 20:52:40 -05:00
Chris Manchester
52083635d3
Bug 1261456 - Combine support-files listed in [DEFAULT] with any listed per-test rather than overriding. r=gps
...
This requires a change to how we process test manifests in the build system:
now, whenever we see a support file mentioned in a manifest, we require that
file isn't already in that test's support files, but if we see a support file
that was already seen in some other test, the entry is ignored, but it is not
an error. As a result of this change, several duplicate support-files entries
needed to be removed.
MozReview-Commit-ID: G0juyxzcaB8
--HG--
rename : testing/mozbase/manifestparser/tests/test_default_skipif.py => testing/mozbase/manifestparser/tests/test_default_overrides.py
2016-04-11 11:21:20 -07:00
Christoph Kerschbaumer
563d5a0864
Bug 1256999 - Use nsIDocument for ImageCacheKey. r=bz r=seth
2016-04-11 11:00:03 +02:00
Christoph Kerschbaumer
52a7f283b3
Bug 1256999 - Pass the right context to new channels for image loads. r=bz r=seth
2016-04-11 10:58:03 +02:00
Timothy Nikkel
28a90df677
Bug 1262269. Re-enable some imagelib tests that are passing.
2016-04-10 19:21:48 -05:00
Ryan VanderMeulen
f2ae6bedc6
Backed out changeset 98aa2df1a69f (bug 1262269) for frequent Linux failures in the re-enabled tests.
2016-04-10 21:52:07 -04:00
Timothy Nikkel
7bd583a54c
Bug 1262269. Re-enable some imagelib tests that are passing.
2016-04-10 19:21:48 -05:00
Timothy Nikkel
909b97b554
Bug 1263058. Fix image/test/mochitest/test_animation2.html to test what it is intending to test. r=mstange
...
opacity >= 0.999 gets interpreted as 1 for painting purposes, so does not serve the purpose of creating a container layer. Use will-change instead.
2016-04-08 01:13:53 -05:00
Kartikaya Gupta
76e300e3c3
Bug 1261158 - Convert test_bug1132427.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 4NXUjL4uGEP
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
146d7600ec
Bug 1261158 - Convert test_xultree_animation.xhtml to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: BDanrpo7ES
2016-04-04 16:28:13 -04:00
Kartikaya Gupta
372512629b
Bug 1261158 - Convert test_synchronized_animation.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: LrftftKDGn6
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e19f2b345c
Bug 1261158 - Convert test_svg_filter_animation.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: K5ZxnkhR6nE
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e13c70fd27
Bug 1261158 - Convert test_svg_animatedGIF.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: IIJT4178POO
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
e2bbe3839c
Bug 1261158 - Convert test_staticClone.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: 8CUzA0EzM2G
2016-04-04 16:28:12 -04:00
Kartikaya Gupta
a11b57dc20
Bug 1261158 - Convert test_removal_onload.html to a mochitest-plain. r=tnikkel
...
MozReview-Commit-ID: DL4IQaUl7t5
2016-04-04 16:28:12 -04:00