Commit Graph

258198 Commits

Author SHA1 Message Date
Ryan VanderMeulen
fb5ffd5daf No bug - Use the correct requestLongerTimeout syntax. a=bustage 2015-08-18 12:53:55 -04:00
Ryan VanderMeulen
cd959e19f8 Merge b2g-inbound to m-c. a=merge 2015-08-18 10:41:52 -04:00
Ryan VanderMeulen
1fede6571d 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
cfd41f1dc8 Merge inbound to m-c. a=merge 2015-08-18 10:33:13 -04:00
Ryan VanderMeulen
0370f8dc4c 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
8af41a352f 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
124352f3cf 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
265f62604d Bumping manifests a=b2g-bump 2015-08-18 04:27:06 -07:00
B2G Bumper Bot
314242af0e 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
7c63227d63 Bug 1187021 - Force arguments object allocation on dynamic name accesses. r=shu 2015-08-18 13:07:44 +02:00
Sebastian Hengst
77867db976 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
84c4bb6976 Bug 1195297 - Fix OOM handling in ExecutableAllocator r=terrence 2015-08-18 10:03:49 +01:00
B2G Bumper Bot
8aad77b422 Bumping manifests a=b2g-bump 2015-08-18 02:03:38 -07:00
B2G Bumper Bot
922191287f 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
a240503938 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
fd5201cc6e Bumping manifests a=b2g-bump 2015-08-18 01:33:40 -07:00
B2G Bumper Bot
cbb17447b1 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
61d7b720f7 Bumping manifests a=b2g-bump 2015-08-18 00:14:54 -07:00
B2G Bumper Bot
003e8ebe6c Bumping manifests a=b2g-bump 2015-08-17 23:47:16 -07:00
B2G Bumper Bot
50290bccfb 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
b5cd1e2e3e Bumping manifests a=b2g-bump 2015-08-17 20:28:39 -07:00
B2G Bumper Bot
73bdadf639 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
3709f4768a Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-08-18 11:12:39 +08:00
B2G Bumper Bot
bd5d98a0b3 Bumping manifests a=b2g-bump 2015-08-17 20:12:39 -07:00
JW Wang
539b3a0c31 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
9ea6b2d493 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
01ec86dbeb 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
7d4d926aa6 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
735ff9144b 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
603a09ba64 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
0959beed1d 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
867bd0fcfb 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
5fe377ae91 Bug 1194112. Part 5 - remove dead code. r=kinetik. 2015-08-18 11:12:06 +08:00
JW Wang
206283ec0d Bug 1194112. Part 4 - reimplement Listener/ListenerImpl to support Move. r=kinetik. 2015-08-18 11:11:53 +08:00
JW Wang
997a17f75e 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
fd506c0b56 Bug 1194112. Part 2 - small code refactoring to reduce typing. r=kinetik. 2015-08-18 11:11:29 +08:00
JW Wang
a53fc1f7e3 Bug 1194112. Part 1 - extract event dispatch code from ListenerImpl to its own class. r=kinetik. 2015-08-18 11:11:16 +08:00
Makoto Kato
43ae374c18 Bug 1191688 - Add -nologo option to rc.exe. r=ted 2015-08-18 15:55:17 +09:00
B2G Bumper Bot
8eec30c196 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/600cee8e2a24
Author: Greg Weng <snowmantw@gmail.com>
Desc: Merge pull request #31320 from snowmantw/bug1186762

Bug 1186762 - fix: now the command is: RAPTOR_TRANSFORM_RULES=<which directory the esp files is> make raptor-transformer

========

https://hg.mozilla.org/integration/gaia-central/rev/d745d5d62aea
Author: Greg Weng <snowmantw@gmail.com>
Desc: Bug 1186762 - fix: now the command is: RAPTOR_TRANSFORM_RULES=<which directory the esp files is> make raptor-transformer
2015-08-17 20:10:37 -07:00
Jessica Jong
008a8c5a4f Bug 1185406 - B2G RIL: Read 'pcscf' and expose it in nsIRilNetworkInfo. r=hsinyi 2015-08-18 09:54:36 +08:00
B2G Bumper Bot
9294208be3 Bumping manifests a=b2g-bump 2015-08-17 17:21:49 -07:00
B2G Bumper Bot
a82748f8f6 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/ce868aab03e6
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #31365 from KevinGrandon/bug_1195062_clock_switches

Bug 1195062 - [Clock] Port building block switches to use web components

========

https://hg.mozilla.org/integration/gaia-central/rev/784f22088592
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1195062 - [Clock] Port building block switches to use web components
2015-08-17 17:20:11 -07:00
Wes Kocher
d56847e545 Merge m-c to b2ginbound, a=merge 2015-08-17 17:15:50 -07:00
Wes Kocher
f5f46725f0 Merge b2ginbound to central, a=merge 2015-08-17 17:05:25 -07:00
Wes Kocher
f6a10b2301 Merge inbound to central, a=merge 2015-08-17 17:00:42 -07:00
Wes Kocher
a766cb3417 Merge fx-team to central, a=merge 2015-08-17 16:54:21 -07:00
Boris Chiou
f38cb18883 Bug 952456 - Part 3: Enable test_copyimage.html on gonk/cocoa r=fabrice
Enable dom/base/test/test_copyimage.html on b2g emulators and macos
2015-08-17 15:49:30 -07:00
Boris Chiou
34b18580e3 Bug 952456 - Part 2: Support copy image in BrowserElement. r=kchen
Add a new context menu option, copy image.
2015-08-17 15:49:20 -07:00
Boris Chiou
b885cc202e Bug 952456 - Part 1: Implement gonk/nsClipboard for rich text and raw image r=fabrice
Handle text/html and image MIME types on gonk/nsClipboard
2015-08-17 15:49:14 -07:00
Roger Yang
ace6b897cb Bug 1008483 - removes the RW lock in CameraControlImpl and replaces it with a standard mutex. r=aosmond 2015-08-17 15:48:07 -07:00