Commit Graph

435752 Commits

Author SHA1 Message Date
Ryan VanderMeulen
0bb9f1e514 Backed out changeset ee800c0e234f (bug 1187092) for media crashes/asserts. 2015-08-18 13:11:05 -04:00
Nikhil Marathe
88eb19683a Bug 1162333 - Fix windows bustage. a=bustage CLOSED TREE
--HG--
extra : commitid : JQslbB96EhG
extra : rebase_source : 9893be5fadeab5c26ead032cbca24acf3f6049c7
2015-08-18 10:00:35 -07:00
Niels De Graef
582ad89c13 Bug 1195182 - Fixed broken AUR link for uuid; r=gps
DONTBUILD (NPOTB)

--HG--
extra : commitid : GVD1noGQI0w
extra : amend_source : 3e46667094f8bb51bdd74cc2615443bc4db3d0ba
2015-08-18 09:26:37 -07:00
Jonathan Kew
2800ce3e55 Bug 1194055 - GetSysFontInfo should return MS Shell Dlg 2 for eFont_Field and eFont_List on Windows. r=masayuki 2015-08-18 17:21:38 +01:00
Mason Chang
bb25bd45bf Bug 1190257. Use the previous vsync timestamp on windows 10. r=jrmuizel 2015-08-18 09:11:12 -07:00
Jinank Jain
f67a04e158 Bug 1162333 - Add stronger assertions to PromiseWorkerProxy in debug builds. r=catalinb
--HG--
extra : commitid : 2jVPtywuF92
extra : rebase_source : 85d8854a7f3eec8c1fd31ed0e57f33d3b83a2d04
2015-06-11 00:35:18 +02:00
Markus Stange
14484176b5 Bug 1187804 - Reftests for async scrolling with position:fixed in an iframe. r=kats
--HG--
extra : commitid : 7IsHJNrMn5D
2015-06-23 23:18:33 -07:00
Botond Ballo
ec7578e60c Bug 1187804 - When a layer is scrolled by multiple scroll frames, do an AlignFixedAndStickyLayers pass on its subtree for each of the scroll frames. r=kats
--HG--
extra : commitid : 762zKFT3GlD
2015-08-14 20:26:59 -04:00
Botond Ballo
ccf025657b Bug 1187804 - Un-adjust fixed layers by the async transform of the scroll frame that they're fixed with respect to, not of the nearest ancestor scroll frame. r=kats
--HG--
extra : commitid : ULr5Fj8seF
2015-08-14 16:11:28 -04:00
Markus Stange
6fab3abcb1 Bug 1187804 - Annotate fixed-position layers with the scroll id of the scroll frame that they are fixed with respect to. r=mattwoodrow
--HG--
extra : commitid : GjQ1Npqd8Ss
2015-08-17 19:44:42 -04:00
Alastor Wu
854989ea1f Bug 1179181 - Store separate volume setting into setting database. r=baku 2015-08-17 19:38:39 +08:00
Alastor Wu
7ce5d8c0b5 Bug 1187092 - Refactor the suspend process. r=jwwang 2015-08-17 17:25:07 +08:00
Ryan VanderMeulen
ec7cb5f4fc Merge m-c to inbound. a=merge 2015-08-18 10:58:07 -04:00
Ryan VanderMeulen
29ef75cefa Merge b2g-inbound to m-c. a=merge 2015-08-18 10:41:52 -04:00
Ryan VanderMeulen
210ad6260a No bug - Request a longer timeout for test_CrossSiteXHR_origin.html due to teetering on the edge of timing out on B2G debug. 2015-08-18 10:39:17 -04:00
Ryan VanderMeulen
93215ef261 Merge inbound to m-c. a=merge 2015-08-18 10:33:13 -04:00
Jan de Mooij
3e145fb17b Bug 1187323 - Use release asserts in assertValidJmpSrc and related methods. r=nbp
--HG--
extra : rebase_source : c60c2bd8a9782f45e416c6cdcaeef04667cb0506
2015-08-18 16:03:50 +02:00
Jan de Mooij
921ebacd55 Bug 1195208 - Fix ArrayBuffer.transfer isNeutered check. r=luke
--HG--
extra : rebase_source : 704ebdcf2c0c7b1e85c492eb0cfbde85804a212a
2015-08-18 16:03:31 +02:00
Ryan VanderMeulen
21eb172263 Backed out changesets df6e7f025c65, 3e5d45dcd5c6, and e00a383520f6 (bug 952456) for B2G test_browserElement_inproc_CopyPaste.html failures.
CLOSED TREE
2015-08-18 07:54:19 -04:00
Andrew Osmond
93a03d15bc Bug 1186273 - Part 2. Improve reuse of and releasing of device storage objects where appropriate. r=dhylands 2015-08-18 07:42:14 -04:00
Andrew Osmond
12d520af6a Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands 2015-08-18 07:42:12 -04:00
B2G Bumper Bot
2c9d2bd847 Bumping manifests a=b2g-bump 2015-08-18 04:27:06 -07:00
B2G Bumper Bot
b2c860cd3b Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8ca4fec22230
Author: albertopq <albert.pastor@gmail.com>
Desc: Merge pull request #31213 from albertopq/1189900-statusbar-emergency

Bug 1189900 - Statusbar visible on emergency calls r=etienne

========

https://hg.mozilla.org/integration/gaia-central/rev/bf8df915e602
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1189900 - Statusbar visible on emergency calls
2015-08-18 04:25:28 -07:00
Jan de Mooij
4b7506a72d Bug 1187021 - Force arguments object allocation on dynamic name accesses. r=shu 2015-08-18 13:07:44 +02:00
Sebastian Hengst
7d2dad58e7 Backed out changesets d0eee19c83cd, 0c54ee53678f, 5b202008a431, 81291b4e6dc3, acbc0d7e21cd, a7ceb6162a63 (bug 1194112) for Linux x64 Hazard failure. r=backout
Backed out changeset d0eee19c83cd (bug 1194112)
Backed out changeset 0c54ee53678f (bug 1194112)
Backed out changeset 5b202008a431 (bug 1194112)
Backed out changeset 81291b4e6dc3 (bug 1194112)
Backed out changeset acbc0d7e21cd (bug 1194112)
Backed out changeset a7ceb6162a63 (bug 1194112)
2015-08-18 11:11:38 +02:00
Jon Coppeard
f6ded5c145 Bug 1195297 - Fix OOM handling in ExecutableAllocator r=terrence 2015-08-18 10:03:49 +01:00
B2G Bumper Bot
59a7a890d8 Bumping manifests a=b2g-bump 2015-08-18 02:03:38 -07:00
B2G Bumper Bot
aa9809ee44 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/7385041a9060
Author: albertopq <albert.pastor@gmail.com>
Desc: Merge pull request #31374 from albertopq/1194447-search-cut

Bug 1194447 - Searchbar cutoff on landscape r=mhenretty

========

https://hg.mozilla.org/integration/gaia-central/rev/a6feacbccbec
Author: albertopq <albert.pastor@gmail.com>
Desc: Bug 1194447 - Searchbar cutoff on landscape
2015-08-18 02:01:59 -07:00
Sebastian Hengst
a133c6114b Backed out changesets 7610baf4a3ae, 6226b99f19bd, 157e41e32906, 60a3b1862f71 (bug 1195158). r=backout
Backed out changeset 7610baf4a3ae (bug 1195158)
Backed out changeset 6226b99f19bd (bug 1195158)
Backed out changeset 157e41e32906 (bug 1195158)
Backed out changeset 60a3b1862f71 (bug 1195158)
2015-08-18 10:52:09 +02:00
B2G Bumper Bot
263c20976a Bumping manifests a=b2g-bump 2015-08-18 01:33:40 -07:00
B2G Bumper Bot
90c3b69810 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ec517d534246
Author: Greg Weng <snowmantw@gmail.com>
Desc: Merge pull request #31342 from snowmantw/bug1194200

Bug 1194200 - add the document of LockScreen hacking instruction

========

https://hg.mozilla.org/integration/gaia-central/rev/baeb50921d53
Author: Greg Weng <snowmantw@gmail.com>
Desc: Bug 1194200 - add the document of LockScreen hacking instruction
2015-08-18 01:32:01 -07:00
B2G Bumper Bot
746fe4e826 Bumping manifests a=b2g-bump 2015-08-18 00:14:54 -07:00
B2G Bumper Bot
e93e7889dc Bumping manifests a=b2g-bump 2015-08-17 23:47:16 -07:00
B2G Bumper Bot
1de0aab992 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/3db69eb5f307
Author: steveck-chung <schung@mozilla.com>
Desc: Merge pull request #30798 from steveck-chung/message-remove-threads-dependency

Bug 1167144 - [Messages] Reduce the use of Threads.active and Threads currentId in conversation view, r=julienw

========

https://hg.mozilla.org/integration/gaia-central/rev/5fd8c8acd7dc
Author: steveck-chung <schung@mozilla.com>
Desc: Bug 1167144 - [Messages] Reduce the use of Threads.active and Threads.currentId in conversation view, r=julienw
2015-08-17 23:45:38 -07:00
B2G Bumper Bot
7e44a92d33 Bumping manifests a=b2g-bump 2015-08-17 20:28:39 -07:00
B2G Bumper Bot
8897543b3a Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f39ebd4bf015
Author: Yura Zenevich <yura.zenevich@gmail.com>
Desc: Merge pull request #31356 from yzen/bug-1194106

Bug 1194106 - making sure that the outline is 0 for grid items.

========

https://hg.mozilla.org/integration/gaia-central/rev/ec7151608082
Author: Yura Zenevich <yzenevich@mozilla.com>
Desc: Bug 1194106 - making sure that the outline is 0 for grid items.
2015-08-17 20:27:00 -07:00
JW Wang
b47fc2fd4d Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-08-18 11:12:39 +08:00
B2G Bumper Bot
3e186a6a16 Bumping manifests a=b2g-bump 2015-08-17 20:12:39 -07:00
JW Wang
c024260362 Bug 1195158. Part 3 - connect listeners. r=cpearce.
a. MediaMetadataManager is connected to MediaDecoderReader::mTimedMetadataEvent to receive TimedMetadata events.
b. OggReader publish TimedMetadata events through MediaDecoderReader::mTimedMetadataEvent.
c. MDSM calls MediaMetadataManager::DispatchMetadataIfNeeded to publish metadata if playback positoin reaches the publish time.
d. MediaDecoder is connected to MediaMetadataManager::mTimedMetadataEvent to receive TimedMetadata events.
e. MediaDecoder updates its metadata when TimedMetadata events are received.
2015-08-18 11:12:39 +08:00
JW Wang
2b46e9e678 Bug 1195158. Part 2 - Have OggReader send TimedMetadata events through a event source instead of direct calls to AbstractMediaDecoder::QueueMetadata. r=cpearce. 2015-08-18 11:12:39 +08:00
JW Wang
e82e865c9a Bug 1195158. Part 1 - Have MediaMetadataManager listen to an event source to receive TimedMetadata events. OggReader will send TimedMetadata events through an event source. This will break OggReader's dependency on AbstractMediaDecoder::QueueMetadata which then can be removed for it is against our goal to run all MediaDecoder's methods on the main thread. r=cpearce. 2015-08-18 11:12:38 +08:00
Brian Birtles
7f6947284e Bug 1188251 part 12 - Use RestyleType::Layer in UpdateCascade; r=dholbert
When updating the cascade results between transitions and animations, if we
detect a change we force an update by taking the following steps:

 a. Updating the animation generation on the restyle manager
 b. Updating the animation generation on the collection
 c. Iterating over all the properties animated by the collection and, for
    each property that we can animate on the compositor, posting a restyle
    event with the appropriate change hint (nsChangeHint_UpdateTransformLayer
    or nsChangeHint_UpdateTransformOpacity)
 d. Marking the collection as needing refreshes
 e. Clearing the style rule refresh time so we generate a new style rule in
    EnsureStyleRuleFor

As it turns out, the newly-added
AnimationCollection::RequestRestyle(RestyleType::Layer) already performs a, b,
d, and e. It also:

* Ensures we are observing the refresh driver if need be (should have no effect
  in this case)
* Clears the last animation style update time on the pres context so that
  subsequent calls to FlushPendingNotifications will update animation style
  (it seems like we probably should have been doing this for changes to cascade
  results anyway)
* Posts a restyle event with restyle hint eRestyle_CSSTransitions or
  eRestyle_CSSAnimations
* Marks the document as needing a style flush (irrelevant since posting
  a restyle event does this anyway)

The only missing piece that would prevent using RequestRestyle in place of this
code when updating cascade results is (c) from the list above. However, (c)
should not be necessary since ElementRestyler::AddLayerChangesForAnimation()
explicitly checks for out-of-date layer animation generation numbers and adds
the appropriate change hints (nsChangeHint_UpdateTransformLayer etc.) to the
change list.
2015-08-18 16:11:55 +09:00
Brian Birtles
3cc3ae622c Bug 1188251 part 11 - Add RestyleType::Layer; r=dholbert
We currently have a series of methods that clobber various bits of animation
state to force animations on layers to be updated. This aligns closely with
the restyle code introduced in this patch series.

By re-using RequestRestyle when updating animations on layers, not only should
we be able to simplify the code somewhat but, in future, we should also be able
to have Animation objects use the same mechanism to update layers during
a regular tick.

For example, currently we have a bug where when an animation starts after
a delay with the same value as the backwards fill then we don't send the
animation to the compositor right away (see
https://dxr.mozilla.org/mozilla-central/rev/d6ea652c579992daa9041cc9718bb7c6abefbc91/layout/style/test/test_animations_omta.html#287).
By adding this Restyle::Layer value we should be able to fix that in future.
2015-08-18 16:11:55 +09:00
Brian Birtles
6e18b672e3 Bug 1188251 part 10 - Remove throttling from EnsureStyleRuleFor; r=dholbert
EnsureStyleRuleFor contains logic for performing throttled updates to the style
rule but it is only used in one case: inside
nsTransitionManager::UpdateCascadeResults to determine what properties are
being animated by CSS animations.

We would like to remove throttling logic from EnsureStyleRuleFor altogether but
if that one case where it is currently used is run on every tick then removing
this logic could effectively mean we end up updating the style rule on every
tick. Fortunately nsTransitionManager::UpdateCascadeResults is only called
in the following cases:

1. From nsTransitionManager::StyleContextChanged (via
   TransitionManager::UpdateCascadeResultsWithTransitions), when we are
   processing style changes for transitions.

2. From AnimationCollection::EnsureStyleRuleFor (via
   nsAnimationManager::MaybeUpdateCascadeResults and
   nsTransitionManager::UpdateCascadeResultsWithAnimations), when we are
   updating the animation style rule from CSS animations.

3. From nsAnimationManager::CheckAnimationRule (via
   TransitionManager::UpdateCascadeResultsWithAnimationsToBeDestroyed), when
   we are processing style changes for CSS animations.

None of these things should be happenning on a regular throttle-able tick so by
removing this logic we shouldn't be causing any additional work.

I have verified, using a test case that combines transitions and animations on
the same property, that we have the same behavior with regard to calling
EnsureStyleRuleFor both before and after this patch (specifically we avoid
calling it altogether while running only the transition but when the animation
starts and clobbers the transition we end up calling EnsureStyleRuleFor once on
each tick).
2015-08-18 16:11:55 +09:00
Brian Birtles
5715bb1092 Bug 1188251 part 9 - Request restyles from Animation::Tick; r=dholbert
In preparation for ultimately being able to run animations without a manager,
this patch moves the request restyle code from FlushAnimations to
Animation::Tick. (Ultimately most of this functionality should move to the
KeyframeEffect but for now Animation is fine.)
2015-08-18 16:11:55 +09:00
JW Wang
043e43feb6 Bug 1194112. Part 6 - add a test case to test the exclusive mode. r=kinetik. 2015-08-18 11:12:18 +08:00
JW Wang
efbb80586d Bug 1194112. Part 5 - remove dead code. r=kinetik. 2015-08-18 11:12:06 +08:00
JW Wang
1b22c5e8ce Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik. 2015-08-18 11:11:53 +08:00
JW Wang
5f598a7653 Bug 1194112. Part 3 - use perfect forwarding in MediaEventProducer::Notify() so MediaEventSource can decide whether to copy or move according to its ListenerMode. r=kinetik. 2015-08-18 11:11:42 +08:00
JW Wang
de505bd968 Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik. 2015-08-18 11:11:29 +08:00