Commit Graph

125399 Commits

Author SHA1 Message Date
Joe Drew
7d7f4428f7 Bug 716140 - Preallocate frames before going into a decoder. r=seth
--HG--
extra : rebase_source : 6445356bc4a01ac2890eca855103e58bda772095
2013-02-01 20:06:30 -05:00
Joe Drew
c6cdce35eb Bug 716140 - Run a size decode even if we're not storing source data. r=seth
--HG--
extra : rebase_source : 732ed17d8edec893fd6fdc8dc12c1d4a8bcbc330
2013-02-01 14:36:39 -05:00
Joe Drew
a4fb0a698b Bug 716140 - Always run a size decode before doing a full decode so we know the size before decoding. r=jlebar
--HG--
extra : rebase_source : de3388c861b00b135b658ea9a9225b0cc58e389a
2013-01-31 13:38:24 -05:00
Joe Drew
ffcb478530 Bug 716140 - Make animated image formats (PNG and GIF) explicitly pause decoding and ask for a new image frame when they need new frames.
--HG--
extra : rebase_source : 3a4148d8d144784075ec88668359c333420c3d4a
2013-01-28 12:27:35 -05:00
Joe Drew
82ec48a5a0 Bug 716140 - Count complete frames in Decoder::Finish(), not just whatever frame objects mImage has. r=seth
--HG--
extra : rebase_source : 2466ec5e5bc64d8d60190cdc4805eaa73bf695af
2013-02-07 17:23:44 -05:00
Joe Drew
7aa4fdd72d Bug 716140 - Make mImageData and mColormap (and their sizes) protected members of mozilla::image::Decoder rather than the leaf classes.
--HG--
extra : rebase_source : d4f506a669d5b18a33676434ad0cc512216956d5
2013-01-28 12:26:36 -05:00
Joe Drew
5fd88749b5 Bug 716140 - Create a clone imgStatusTracker on every asynchronous decoding event, and replay the difference between that imgStatusTracker and the image's current status tracker when decoding completes. r=seth
* * *
[mq]: test-fixes
* * *
[mq]: undefer-on-remove
* * *
imported patch notify-in-sequence

--HG--
extra : rebase_source : 01a495a64cb4b6a8076a3550c254ddd804f53e80
2013-01-18 16:47:18 -05:00
Joe Drew
d0c874d59f Bug 716140 - Handle discarding specially so it gets notified synchronously. r=seth
--HG--
extra : rebase_source : 1bd66dcec4925b486af0905dbd07286bb3ae729e
2013-02-07 17:22:38 -05:00
Joe Drew
82d083ed44 Bug 716140 - Heap-allocate DecodeRequests so we know when we're still decoding an image. r=seth
--HG--
extra : rebase_source : c03271201f48efb29972a1b6834036638029810c
2013-01-18 16:47:18 -05:00
Joe Drew
e3aad71854 Bug 716140 - Add SetObserver method to Decoder instead of initializing it in the constructor. r=seth
In order to have "throw-away" imgStatusTrackers that we'll use to track an
individual decode chunk's status, we need to be able to change the observer on
a decoder.

--HG--
extra : rebase_source : b10a050022f80dddeeea62e77d3f208598311d4f
2013-01-18 16:47:18 -05:00
Joe Drew
05e13f261f Bug 716140 - Calculate the difference between two imgStatusTrackers, notify for that difference, and apply it to the source. r=seth
This patch adds two semi-unrelated functions, currently unused:
 - SyncAndSyncNotifyDifference, which synchronizes the current
   imgStatusTracker to have the state of the argument imgStatusTracker, and
   notifies our observers about the new state;
 - CloneForRecording, which will let us create a new imgStatusTracker based on
   the current state for use with SyncAndSyncNotifyDifference.

--HG--
extra : rebase_source : 2b9072e38f9dabf4d2cbe0d7c129b44c81743591
2013-01-18 16:47:17 -05:00
Joe Drew
b85c3b1328 Bug 716140 - Factor out notification of a particular imgStatusTracker state into its own function. r=seth
--HG--
extra : rebase_source : ba72f5c3aa1b47d8c6f36d1c2d0202d55671a1d2
2013-01-18 16:47:17 -05:00
Joe Drew
549f22bd07 Bug 716140 - Make an (unused) imgDecoderObserver implementation that doesn't notify proxies when it gets an observer function call, and rename the old version (which will be going away). r=jlebar
--HG--
extra : rebase_source : 4e09ccd83f0a4a26277fd65916c175189c1b8ba6
2013-01-02 12:00:50 -05:00
Joe Drew
cb88c52e27 Bug 716140 - Explicitly record whether an image is animated. r=seth
--HG--
extra : rebase_source : 741a16bd8c5cf30af839629deeb0274638b8720c
2013-01-18 16:47:17 -05:00
Joe Drew
459363c7b9 Bug 716140 - Track the invalid area for the latest frame from within imgStatusTracker. r=seth
--HG--
extra : rebase_source : 1a1197b63279a52eaf11faefa199f538b4f960f7
2013-01-18 16:47:17 -05:00
Joe Drew
6ec9e2fb0d Bug 716140 - Create and Send OnStartFrame when a frame starts. r=seth
--HG--
extra : rebase_source : 7af770a5cc28c2a6d199e632c706330a0d582659
2013-01-18 16:47:17 -05:00
Joe Drew
b1f9cd3d6f Bug 716140 - imgDecoderObserver::OnDataAvailable is simply a duplicate of imgDecoderObserver::FrameUpdated, so remove it. r=seth
--HG--
extra : rebase_source : 90d828b429a6dd629b76912a4a58c802d2318d34
2013-01-18 16:47:17 -05:00
Joe Drew
f5a344d560 Bug 716140 - Remove explicit imgStatusTracker::mBlockingOnload, as it's implied by stateBlockingOnload. r=khuey
--HG--
extra : rebase_source : 4368c09438bd6cb288a0c845ff20cb8a3f0c5560
2012-12-20 11:49:26 -05:00
Joe Drew
7ab61b029d Bug 716140 - Track image metadata in a separate object, and sync it to the image once decoding is done. r=jlebar
--HG--
extra : rebase_source : ba1173bc1cf090ed02f3a9a7927382c302576088
2012-12-20 11:49:25 -05:00
Joe Drew
8a43b8d666 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
Gavin Sharp
cd411899ff Bug 851516: browser-chrome should wait for delayedStartup. r=joe
--HG--
extra : rebase_source : 242defb996e64271c100b7de1140dde76d3e3c39
2013-03-19 09:50:31 +01:00
Dão Gottwald
c986eedc4c Bug 748740 - Crtl+clicking on a link should open it even if content is calling event.stopPropagation() in a click event handler. r=mak
--HG--
extra : rebase_source : 98665c040764c5616a8f34d3c33c2a00a8415a77
2013-03-20 15:07:28 +01:00
Marco Chen
fa63f266ec Bug 852049 - [Audio] The default value of Master Volume should be 1.0 if settings don't set a value. r=mwu 2013-03-20 13:37:08 +08:00
Sotaro Ikeda
ebcd1fab7b Bug 844248 - Add a custom media stream for camera preview. r=roc 2013-03-20 10:07:46 -04:00
Yiming Yang
7c086cdcb5 Bug 847758 - Fire touchcancel for single action chains and element touch commands, r=mdas 2013-03-19 14:59:48 -07:00
Marco Bonardo
3387e907d3 Bug 838839 - Remove deprecated synchronous favicons APIs.
r=Mano sr=gavin
2013-03-20 14:25:19 +01:00
Joe Drew
d959b05e56 Bug 851406 - Update the B2G emulator. r=rail 2013-03-18 16:12:39 -04:00
Ed Morley
e2a4cc14b8 Merge mozilla-central to mozilla-inbound 2013-03-20 11:47:15 +00:00
Ed Morley
40850c9a88 Merge latest green inbound changeset to mozilla-central 2013-03-20 11:46:01 +00:00
Robert O'Callahan
8f9e0391c5 Bug 843618. When reading back the results of clayer ompositing to draw them to a non-deefault rendering context, don't depend on the size of the rendering context's target surface --- it could be anything. r=jrmuizel 2013-03-21 00:22:58 +13:00
Robert O'Callahan
2d9ba0737e Bug 850587. Part 2: Make NotifyHasCurrentData fire when a stream would be able to produce data if it was not blocked. r=jesup
Also removes NotifyHasCurrentData's boolean parameter; we just fire this
once and treat a stream that has once had current data as always
having current data (since we block a stream that would advance
beyond its available data).
2013-03-21 00:19:39 +13:00
Robert O'Callahan
56c1d33fee Bug 850587. Part 1: Refactor NotifyAutoplayDataReady to CheckAutoplayDataReady and allow autoplay to start on HAVE_CURRENT_DATA if the source is a stream. r=cpearce 2013-03-21 00:11:48 +13:00
Tim Taubert
c64e450fb1 merge m-c to fx-team 2013-03-20 09:15:11 +01:00
Phil Ringnalda
17f6e7ca7f Back out fe29b2ae604b, 8c6ec2899d89 and 6b2f3cb031da (bug 851964) for test hangs
CLOSED TREE
2013-03-19 21:44:48 -07:00
Phil Ringnalda
5cb9ec3f11 Back out 26f0d590a021, d92e88a18263, 5a2d12a34466 (bug 846995) for not building
CLOSED TREE
2013-03-19 20:20:38 -07:00
Christian Holler
26fd1f889e Bug 616009 - Add missing test for bug 616009. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
ca73968786 Bug 566136 - Add missing test for bug 566136. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
8d684c7bd5 Bug 572232 - Add missing test for bug 572232. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
72e1b2f86b Bug 558531 - Add missing test for bug 558531. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
8ca452a4b6 Bug 563243 - Add missing test for bug 563243. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
290f0eab0b Bug 576891 - Add missing test for bug 576891. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
a37d78cea0 Bug 593611 - Add missing test for bug 593611. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
71d7a6a811 Bug 696748 - Add missing test for bug 696748. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
f141ddc599 Bug 718852 - Add missing test for bug 718852. r=needed-tests 2013-03-20 03:58:09 +01:00
Christian Holler
383841c99e Bug 720070 - Add missing test for bug 720070. r=needed-tests 2013-03-20 03:58:09 +01:00
Brian Hackett
7fc5fdd34f Bug 839209 - Relax CanFakeSync, r=dvander. 2013-03-19 20:53:47 -06:00
Patrick McManus
e834a01f86 bug 767742 - close spdy sessions under total connection pressure r=honzab
--HG--
extra : rebase_source : 5fd4d2b73cf5cecfa7862d0e5bfb1354cae4797a
2013-03-19 21:27:25 -04:00
Gary Kwong
ece9582bef Add another suppression entry for bug 794372 and modify suppression for bug 793533. DONTBUILD
--HG--
extra : rebase_source : 5ae37908f830a910681b91ec2a5e09634c2bedc2
2013-03-19 17:53:05 -07:00
Gregory Szorc
b4f353a7c9 Merge mozilla-central into services-central 2013-03-19 16:37:52 -07:00
Gregory Szorc
688748fa54 Bug 850450 - Longitudinal recording of build ID in FHR; r=rnewman 2013-03-19 13:03:24 -07:00