Joe Drew
eeeeac4775
Bug 716140 - Don't call Set* methods directly on images from decoders; call them from the Decoder base class. r=seth
...
--HG--
extra : rebase_source : 9f7ec3cb8b8393053abbc872d706a6304a157d55
2012-12-19 15:11:42 -05:00
Gregory Szorc
89e86f9b21
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Trevor Saunders
37866632e6
bug 852379 - remove unneeded prlock.h includes r=Ms2ger
2013-03-16 22:46:40 -04:00
Timothy Nikkel
1a564394b1
Bug 851785. Stop RasterImage::FrameRect from initiating a decode. r=joe
...
imgStatusTracker::SyncNotify is the only caller and it does not need a decode to be initiated.
This prevents us from kicking off a decode for almost every image we download.
2013-03-18 16:10:28 -05:00
Timothy Nikkel
8f3da71640
Bug 851785. Stop expecting the image to be decoded in async_load_tests.js because it never does anything that would require a decode to happen. r=joe
2013-03-18 16:10:26 -05:00
Ed Morley
ab0833645c
Backed out changeset c75481a07302 (bug 851611)
2013-03-18 14:10:35 +00:00
Ed Morley
3091d3e2b6
Backed out changeset d195190adc48 (bug 851611)
...
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
b03f14270d
Bug 851611 - Part 3: Rename headers. r=jrmuizel
...
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
919018414b
Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
...
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Gregory Szorc
7d09ff18e0
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Ms2ger
51cced7786
Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:16 +01:00
Ms2ger
4f5fca99bc
Bug 845374 - Part l: Stop including nsIDocument.h in nsContentUtils.h and fix two nits; r=khuey
2013-03-17 08:55:15 +01:00
Ms2ger
eb52584f84
Bug 845374 - Part g: Stop including nsContentSink.h in nsContentUtils.h; r=khuey
2013-03-17 08:55:13 +01:00
Shih-Chiang Chien
33c3c6c7de
Bug 847310 - Test cases for WBMP decoder. r=joe
2013-03-08 16:04:51 +08:00
Shih-Chiang Chien
e51f538dd6
Bug 847310 - WBMP decoder implementation. r=joe
2013-03-08 11:17:29 +08:00
Gregory Szorc
426ac0cdd3
Merge mozilla-central into build-system
2013-03-13 08:20:09 -07:00
Gregory Szorc
de55b5242b
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Jim Mathies
cf587a7cd9
Bug 848963 - disable bug415761 reftest on Win8 due to bug 850194. r=bbondy
2013-03-12 09:57:52 -05:00
Gregory Szorc
c865547d94
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Seth Fowler
ec23f3c541
Bug 843895 (Part 4) - Use FrozenImage instead of ExtractFrame for imgRequestProxy::GetStaticRequest. r=joe
2013-03-10 18:43:38 -07:00
Seth Fowler
52dd08a044
Bug 843895 (Part 3) - Add the FrozenImage wrapper class to stop image animation. r=joe
2013-03-10 18:43:38 -07:00
Seth Fowler
e63ce3659a
Bug 843895 (Part 2) - Add ImageWrapper. r=joe
2013-03-10 18:43:38 -07:00
Seth Fowler
0f684de7ac
Bug 843895 (Part 1) - Add an aWhichFrame parameter to imgIContainer::Draw. r=joe
2013-03-10 18:43:37 -07:00
Seth Fowler
e5b7b7c5e0
Bug 847630 - Stop deferring OnStopRequest in VectorImage. r=joe
2013-03-10 14:04:29 -07:00
Seth Fowler
9c8dbc3c77
Bug 843895 (Followup) - Use a dummy variable in FrozenImage::GetAnimated. r=me
2013-03-12 13:42:09 -07:00
Gregory Szorc
7b6f9c7add
Bug 818246 - Part 1: Remove unncessary definitions of XPIDL_MODULE; r=glandium
...
XPIDL_MODULE defaults to MODULE. These Makefile.in were setting
XPIDL_MODULE to the same value as MODULE.
--HG--
extra : rebase_source : e96bd34d5949d0ab94cecbec35d6c9f4bffec01e
2013-03-07 05:03:51 -08:00
Joe Drew
51c2053e27
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : 75d00d31bcce93e26a9154aacef706a6b55c9135
2013-02-15 11:48:17 -05:00
Joe Drew
7c06d22e35
Back out the code changes from bug 841579 for causing a frequent intermittent failure.
...
--HG--
extra : rebase_source : 4748bf23718b781128f93364fad3c6ca924a2008
2013-03-06 15:49:40 -05:00
Joe Drew
b4ef328a8d
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : b2ca068840c2e4effc8c93fd9e5effe122e8b45e
2013-02-15 11:48:17 -05:00
Joe Drew
c4049cf451
Bug 841579 - Tests to make sure that removing elements from a document midway through load don't inhibit onload. rs=khuey
...
--HG--
extra : rebase_source : 4ac911cdb4039a8e1a0531b7171e4f5cf3641bef
2013-02-15 11:49:54 -05:00
Joe Drew
428798f6a1
Bug 840353 - Don't send OnStopRequest if we're cancelled. r=khuey
2013-02-13 14:57:16 -05:00
Daniel Holbert
56c48afacf
Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth
2013-03-06 00:05:55 -08:00
Ryan VanderMeulen
7d64b3ca6c
Backed out changeset 260fb463334f (bug 848963) for Win7 reftest failures on a CLOSED TREE.
2013-03-11 20:14:22 -04:00
Jim Mathies
458b7c9004
Bug 848963 - Fix for bug415761.sjs reftest fails on Windows 8. r=bbondy
2013-03-11 16:48:04 -05:00
Seth Fowler
b4b99568d2
Bug 846132 (Part 3) - Remove imgIContainer::CopyFrame. r=jdm
2013-03-05 15:39:48 -08:00
Seth Fowler
4e91a14346
Bug 846132 - (Part 2) Update CopyFrame callers to use GetFrame. r=jdm
2013-03-05 15:39:48 -08:00
Ryan VanderMeulen
7bdcd63e71
Backed out changeset 45d4f7b16c2f (bug 847559) for bustage.
2013-03-05 12:59:00 -05:00
Joe Drew
bdf1a75c9e
Bug 847559 - Handle writes to a size-only JPEG decoder after we've gotten the size. r=seth
...
--HG--
extra : rebase_source : c02aa4f03dbba90d07f55d383a507bb27f605287
2013-02-27 14:23:08 -05:00
Joe Drew
02ac9026a6
Backed out 2 changesets (bug 841579) on a CLOSED TREE
...
Backed out changeset d21d144e3db9 (bug 841579)
Backed out changeset 0222cb048028 (bug 841579)
2013-03-04 17:27:51 -05:00
Joe Drew
09702bcf62
Bug 846852 - Preallocate the RasterImage source data array when loading from file://. r=seth
...
--HG--
extra : rebase_source : 9bf2cc014d97f245ae063f65ab4aa6743c3194f2
2013-03-01 14:21:06 -05:00
Joe Drew
63ad0ad95e
Bug 841579 - Tests to make sure that removing elements from a document midway through load don't inhibit onload. rs=khuey
...
--HG--
extra : rebase_source : 96a86a7c597abe587ff770a1942657d8fde84a17
2013-02-15 11:49:54 -05:00
Joe Drew
da4e770926
Bug 841579 - If we start a decode (or a decode is already started) at the time OnStopRequest is fired, wait around for it to finish decoding before firing onload/onerror. r=khuey
...
--HG--
extra : rebase_source : e4a97b3f037df283e89dbcb21d330030b6e35c85
2013-02-15 11:48:17 -05:00
Daniel Holbert
cbb3058c0c
Bug 846078 part 2: Use MOZ_ASSERT instead of NS_ABORT_IF_FALSE in VectorImage.cpp. rs=seth
2013-02-28 22:45:00 -08:00
Daniel Holbert
8d29f4dedf
Bug 846078 part 1: Code-cleanup in helper classes within VectorImage.cpp. r=seth
2013-02-28 22:44:59 -08:00
Daniel Holbert
5f5afc43d9
Bug 846046: Make VectorImage member-vars type 'bool' instead of 'bool:1', and use AutoRestore to clear mIsDrawing at the end of Draw(). r=joe
2013-02-28 22:44:57 -08:00
Seth Fowler
e42ac33f53
Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert
2013-02-28 16:43:43 -08:00
Ryan VanderMeulen
e89c2a6319
Backed out changeset 1cf12e699dc7 (bug 846028) for reftest crashes on a CLOSED TREE.
2013-02-28 16:59:26 -05:00
Seth Fowler
d3ae5f62de
Bug 842850 (Part 2) - Remove imgIContainer::GetRootLayoutFrame. r=dholbert,joe sr=bz
2013-02-28 12:22:46 -08:00
Seth Fowler
c9f0633db1
Bug 842850 (Part 1) - Use an SVGImageContext class for overridden SVG properties. r=dholbert,joe sr=bz
2013-02-28 12:22:43 -08:00
Seth Fowler
50bda8ed08
Bug 846028 - Coalesce invalidations in VectorImage. r=dholbert
2013-02-28 12:02:31 -08:00
Ms2ger
8fedd090cc
Merge m-i to b-s.
2013-02-28 14:46:10 +01:00
Gregory Szorc
e1b210ddf6
Merge mozilla-central into build-system
...
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Seth Fowler
5daca11f3d
Add crashtest for Bug 844403. r=dholbert
2013-02-27 19:43:45 -08:00
Gregory Szorc
45faa95b04
Merge mozilla-central into build-system
...
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Ryan VanderMeulen
86edf921e8
Merge inbound to m-c.
2013-02-25 21:27:56 -05:00
Seth Fowler
18e5025cef
Bug 844403 - Make VectorImage cancel all listeners when destroyed. r=dholbert
2013-02-25 17:40:13 -08:00
Gregory Szorc
ac908b7493
Bug 784841 - Part 18p: Convert /image; r=jrmuizel f=Ms2ger
2013-02-25 12:47:21 -08:00
Timothy Nikkel
45f8b4f1f9
Bug 689623. Part 8. Add an 'unlocked draw' notification for images that are drawn when not locked so we catch any images that become visible through a means other than scrolling. r=joe,mats
2013-02-24 18:59:22 -06:00
Bob Clary
5b3f258822
Bug 845778 - Skip content/canvas/crashtests/789933-1.html (bug 833371), gfx/tests/crashtests/385228-1.svg, image/test/crashtests/694165-1.xhtml for Android, r=jmaher.
2013-02-27 06:52:05 -08:00
Bobby Holley
07f2fa5d3f
Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8
2013-02-25 10:43:03 -08:00
Josh Matthews
904420d6a2
Bug 844684 - Decode GIFs that include an application extension string shorter than 11 bytes. r=joe
2013-02-27 00:24:18 -05:00
Josh Matthews
52f9992be5
Bug 801366 - Add crashtest.
2013-02-26 17:46:03 -05:00
Seth Fowler
d30ced4483
Bug 845234 - Add null check in VectorImage's listener Cancel methods. r=dholbert
2013-02-26 13:21:07 -08:00
Seth Fowler
67035b0d87
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Ryan VanderMeulen
b711734e91
Speculatively backout changeset e8d73b8ba1a1 (bug 825720) for Android armv6 reftest 2 timeouts.
2013-02-20 12:20:12 -05:00
Seth Fowler
1a987773c6
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Seth Fowler
1be9f53248
Bug 839739 - Remove bad NS_ENSURE_STATE in imgRequestProxy::AdjustPriority. r=joe
2013-02-15 17:00:03 -08:00
Seth Fowler
275786c6bf
Bug 704059 - Part 2: Let images call imgStatusTracker::OnStopRequest. r=joe
2013-02-13 18:41:10 -08:00
Seth Fowler
2c5dbc3666
Bug 704059 - Part 1: Decouple OnStopRequest and OnStopDecode for VectorImage. r=joe, r=dholbert
2013-02-13 18:04:08 -08:00
Phil Ringnalda
5ff3e12017
Bug 807211 - annotate ownerdiscard.html as asserts(0-2), since it certainly does
2013-02-16 10:05:52 -08:00
Joe Drew
1f65fa55d0
Bug 841661 - Remove the observer in this test when it finishes so we don't get failures from it in unrelated tests. r=mcmanus
...
--HG--
extra : rebase_source : ba49ab425632c6b090b018818df2aa29c73d9cc9
2013-02-15 15:43:27 -05:00
Seth Fowler
d0dff7d0d7
Bug 840841 - Remove mObserver from RasterImage and VectorImage. r=joe
2013-02-12 19:00:03 -08:00
Seth Fowler
7f52659439
Bug 840851 - Mark RasterImage::Initialize as static in RasterImage.cpp. r=joe
2013-02-13 14:03:37 -08:00
Seth Fowler
3b79141537
Bug 840850 - Fix missing include guard and style issues in ImageFactory. r=joe
2013-02-13 13:53:42 -08:00
Seth Fowler
fbb7912f96
Bug 840843 - Rename RasterImage::eShutdownIntent_Interrupted to eShutdownIntent_Unneeded. r=joe
2013-02-13 13:41:45 -08:00
Chris Jones
fb4f8130d6
Bug 841154: Add a sample label for image decoding. r=khuey
2013-02-13 13:49:57 -08:00
Timothy Nikkel
330699d04c
Bug 784591. Just end the crashtest ownerdiscard.html after 30 seconds if the image doesn't get decoded. r=jdm
...
The test normally ends when the image is discarded. But there is nothing in the test that requires the image to ever be decoded. To properly test the original bug that this test is intended for we want the following sequence: imgRequestProxy::Cancel, imgRequestProxy::ChangeOwner, and then the image getting discarded. The cancel call makes it hard to get a full decode started, especially since it needs to happen before the ChangeOwner call which itself happens quite early. So it appears that there is no easy way to modify the test to keep this sequence of events 100% of the time.
However the test as it currently stands does indeed get this sequence of events most of the time, so it continues to test the right thing most of the time. The few times it doesn't test the right thing we can just move on.
2013-02-13 14:18:07 -06:00
David Zbarsky
63fa89c316
Bug 833446: Remove nsIDOMSVGSVGElement r=peterv
2013-02-08 14:55:07 -05:00
Ed Morley
ddfd14d940
Backout changeset d2fda338874d (bug 784591) for causing bug 832571 again
2013-02-07 11:20:47 +00:00
Timothy Nikkel
6104021a11
Bug 784591. Wait for the DOMContentLoaded event in the child iframe before removing the node from the document in this test. r=jdm
2013-02-06 19:24:15 -06:00
Kyle Huey
b07aef6051
Bug 835814. r=joe
2013-02-05 09:38:22 +00:00
Seth Fowler
0762d9279f
Bug 836155 - Replace GetCurrentFrameRect() with FrameRect(aWhichFrame). r=joe
2013-02-04 16:06:14 -08:00
Seth Fowler
41916bc9e5
Bug 836124 - Replace GetCurrentFrameIsOpaque() with [noscript] FrameIsOpaque(aWhichFrame). r=joe
2013-02-04 14:22:30 -08:00
Daniel Holbert
5a82f9a135
Bug 837313: Mark image/decoders, image/decoders/icon, and image/decoders/icon/win as FAIL_ON_WARNINGS. r=joe
2013-02-01 23:19:15 -08:00
Seth Fowler
226451c23b
Bug 828176 - Make RasterImage::GetURIString work again. r=joe
2013-01-30 12:11:20 -08:00
Ryan VanderMeulen
dc16d1fd40
Backed out changeset 25ea9ac37380 (bug 828176) for crashes.
2013-01-30 18:16:09 -05:00
Seth Fowler
9a2fc230ab
Bug 828176 - Make RasterImage::GetURIString work again. r=joe
2013-01-10 18:15:05 -08:00
Chris Peterson
0147200468
Bug 834611 - Part 3: Mark widget/android, mozglue/android, and image/decoders/icon/android as FAIL_ON_WARNINGS. r=kats
2013-01-25 11:03:56 -08:00
Seth Fowler
02254bb9cf
Bug 820602 - Remove change to decoder notification behavior that causes AWSY leak. r=joe
2013-01-25 18:39:11 -08:00
Joe Drew
2f0327ee73
Bug 832446 - Don't use the high-quality downscaler on multipart images. r=jrmuizel
2013-01-21 11:37:54 -05:00
Ehsan Akhgari
dff20ff30d
Follow-up for bug 833097, bug 833101 and bug 833118 - Only disable PGO on the modules in question on Windows, a=me
...
--HG--
extra : rebase_source : dae7ac9db9e0b85a39cf7d647b46f9da48398dc2
2013-01-21 18:53:05 -05:00
Christian Holler
3d79e5a25d
Bug 797900 - Disable invalid-size-second-frame crashtest under AddressSanitizer. r=dbaron, a=nonlibxul
2013-01-22 00:46:40 +01:00
Joe Drew
a19994517d
Bug 833101 - Stop doing PGO on imagelib in the hopes of being able to reopen the tree; r=ehsan a=dePGO
2013-01-21 17:18:05 -05:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Kyle Huey
cd31424f01
Bug 824658 - Avoid infinite decode loops of images by switching some GetFrame calls to GetFrameNoDecode. r=joe
2013-01-14 16:01:08 -05:00
Ryan VanderMeulen
c78c56e1d2
Backed out changeset c8fe09ac1842 (bug 825720) on suspicion of making bug 772443 nearly perma-orange.
2013-01-12 21:00:30 -05:00
Seth Fowler
e9042e47c6
Bug 825720 - Don't use GetRootLayoutFrame to calculate the size of SVG images. r=joe
2013-01-10 19:38:34 -08:00
Chris Peterson
63e242521e
Bug 829344 - Part 4: Fix gcc -Wlogical-op warnings from PRBool/bool conversion. r=ehsan
2013-01-10 17:56:51 -08:00