Commit Graph

189678 Commits

Author SHA1 Message Date
Jonathan Watt
f1d16eb1ff Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Masayuki Nakano
128d884dc9 Bug 1026986 Allow to build InstallX11ErrorHandler() at building Qt-build r=karlt 2014-06-20 14:41:32 +09:00
Edgar Chen
d251caacf4 Bug 1026727 - Part 2: Fixing the "Unknown" state is displayed instead of "Connected" during manual network selection. r=hsinyi 2014-06-18 17:17:52 +08:00
Edgar Chen
df7dc8c6ae Bug 1026727 - Part 1: The attributes of MozMobileNetworkInfo could be null, so the parameters of constructor should be nullable. r=hsinyi,smaug 2014-06-18 15:54:01 +08:00
B2G Bumper Bot
1625faa549 Bumping manifests a=b2g-bump 2014-06-19 22:01:34 -07:00
B2G Bumper Bot
3fb8db62ce Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/9b25447bb7d6
Author: russnicoletti <rnicoletti@mozilla.com>
Desc: Merge pull request #20636 from russnicoletti/bug-1013464

Bug 1013464 -- intermittent dom.player is null during video_test.js unit testing r=johu

========

https://hg.mozilla.org/integration/gaia-central/rev/ae04badd67f6
Author: Russ Nicoletti <rnicoletti@mozilla.com>
Desc: Bug 1013464 -- intermittent dom.player is null
2014-06-19 21:55:22 -07:00
Jamin Liu
fe59e68db4 Bug 1020300 - Dispatch part of AdapterStateChangedCallback to main thread. r=btian 2014-06-20 12:07:23 +08:00
B2G Bumper Bot
efb432b14b Bumping manifests a=b2g-bump 2014-06-19 20:36:48 -07:00
B2G Bumper Bot
d746b69cc0 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

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

Bug 1026293 - Remove e.me as an available search engine and set new default in build

========

https://hg.mozilla.org/integration/gaia-central/rev/c6d7ae14921e
Author: Ben Francis <ben@tola.me.uk>
Desc: Bug 1026293 - Remove e.me as an available search engine and set new default in build r=kgrandon

========

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

Bug 1024720 - making accessibility settings' volume and rate sliders vis...

========

https://hg.mozilla.org/integration/gaia-central/rev/1043987ad3d8
Author: Yura Zenevich <yzenevich@mozilla.com>
Desc: Bug 1024720 - making accessibility settings' volume and rate sliders visible. Adding gaia-ui tests to avoid future regressions. r=arthurcc, bebe
2014-06-19 20:35:32 -07:00
Hsin-Yi Tsai
b6c46aab2f Bug 981519 - number and name presentation - part 4b - fix ril typo during rebasing. r=me 2014-06-20 11:25:18 +08:00
Trevor Saunders
ba19fb670d bug 1019744 - make ICU symbols hidden when compiling ICU as static libraries r=glandium 2014-06-16 16:23:10 -04:00
Timothy Nikkel
cad2a6f66e Bug 977831. Store layer event regions on thebes layer data in appunits relative to the reference frame until we finalize the thebes layer and then convert to layer coordinates. r=roc
Event regions weren't in a workable state prior to this. They were already stored relative to the reference frame, but in layer pixels.

Inside inactive layer managers the scale is always 1 regardless of the scale on the containing thebes layer (which is the scale it will actually be drawn at), and so the event regions did not take into account scale in this situation.

Storing the regions in appunits relative to the reference frame means we can just transform to the new reference frame (if it is different) when passing event regions up and out of inactive layer managers. The proper scale will be applied when we apply the event regions to the layer.
2014-06-19 22:56:36 -05:00
Kevin Locke
19395503a7 Bug 961346 - Fix FTP date parsing of midnight for DOS format. r=mcmanus 2014-06-20 12:44:41 +09:00
Brian Birtles
45ddde181f Bug 1025709 part 13 - Simplify ComputeSuitableScaleForAnimation; r=heycam
Now that animations and transitions are largely treated alike, we can remove
some redundant code in the processing of transform animations in
ComputeSuitableScaleForAnimation.
2014-06-20 12:39:26 +09:00
Brian Birtles
7bcfb501cb Bug 1025709 part 12 - Remove ElementTransitions; r=heycam
This patch replaces all references to ElementTransitions (now that it is empty)
with references to the base class, CommonElementAnimationData. It also takes the
opportunity to tidy up some of the call sites in nsLayoutUtils since they no
longer need to differentiate between animations and transitions.
2014-06-20 12:39:26 +09:00
Brian Birtles
530d14feb3 Bug 1025709 part 11 - Make ElementPropertyTransition::ValuePortionFor reuse GetComputedTimingAt; r=heycam
In order to remove redundant code and generally make transitions less special,
this patch reworks ValuePortionFor to reuse the existing code for calculation
the fractional distance of within the animation interval.
2014-06-20 12:39:26 +09:00
Brian Birtles
9c5549aaa5 Bug 1025709 part 10 - Move active layer notification out of CanPerformOnCompositorThread to call sites; r=heycam
A previous patch moved CanPerformOnCompositorThread to
CommonElementAnimationData including a FIXME saying that active layer
notification should happen at call sites. Now that the code for
GetAnimationsForCompositor is common, we can do the active layer notification
there.
2014-06-20 12:39:26 +09:00
Brian Birtles
4af742b557 Bug 1025709 part 9 - Move heavy lifting of GetAnimationsForCompositor from ElementAnimations/ElementTransitions to base class; r=heycam
This patch still leaves ElementAnimations|
ElementTransitions::GetAnimationsForCompositor as shortcuts
for the method now defined on CommonElementAnimationData.
2014-06-20 12:39:25 +09:00
Brian Birtles
5aba002a6b Bug 1025709 part 8 - Move CanPerformOnCompositorThread from ElementAnimations/ElementTransitions to the base class; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
04b8371079 Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.

Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00
Brian Birtles
10e285db18 Bug 1025709 part 6 - Reuse nsAnimationManager::EnsureStyleRuleFor; r=heycam
In a number of places in nsAnimationManager we have the following sequence of
calls:

  CommonElementAnimationData::EnsureStyleRuleFor
  ElementAnimations::GetEventsAt
  nsAnimationManager::CheckNeedsRefresh

nsAnimationManager::EnsureStyleRuleFor already does exactly that so we should
just reuse it.

At the same time we rename EnsureStyleRuleFor to UpdateStyleAndEvents since
that's a bit more accurate. It's also confusing to have two methods of the same
name (but on different objects) that don't exactly correspond in terms of
the scope of what they do.
2014-06-20 12:39:25 +09:00
Brian Birtles
af843d9fd9 Bug 1025709 part 5 - Replace aIsThrottled bool value with an enum; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
ae594f7975 Bug 1025709 part 4 - Move EnsureStyleRuleFor from ElementTransitions and ElementAnimations to CommonElementAnimationData; r=heycam
Both ElementAnimations and ElementTransitions have an EnsureStyleRuleFor method.
The ElementAnimations version is a more general of the ElementTransitions one
with the exception that the ElementTransitions version checks for finished
transitions. This patch moves the code from ElementAnimations to
CommonElementAnimationData with one minor change: adding the checks for finished
transitions. The ElementTransitions version is removed.

Since the ElementAnimations version contains a second parameter, aIsThrottled,
callers of ElementTransitions must include this extra parameter. In
a subsequent patch we add an enum for this parameter to make call sites easier
to read.

The ElementAnimations version also sets the mNeedsRefreshes member so at the
same time we move mNeedsRefreshes to CommonElementAnimationData. Furthermore,
since the ElementAnimations version which we have adopted returns early if
mNeedsRefreshes is false, this patch ensures that when we call
EnsureStyleRuleFor from ElementTransitions::WalkTransitionRule, we set
mNeedsRefreshes to true first.

Another difference to account for is that the ElementTransitions version of
EnsureStyleRuleFor *always* sets mStyleRule (even if it doesn't add anything to
it) where as the ElementAnimations version only creates the rule when necessary
so we need to add a check to ElementTransitions::WalkTransitionRule that
mStyleRule is actually set before using it.
2014-06-20 12:39:24 +09:00
Brian Birtles
7c7ea66905 Bug 1025709 part 3 - Move delay calculation to GetComputedTimingAt; r=heycam
Now that an animation's delay is part of AnimationTiming--the struct we pass to
GetComputedTimingAt--it makes sense to act on it in GetComputedTimingAt.

This also happens to bring the procedures here closer to the algorithm
definitions in Web Animations.

As part of this refactoring, this patch converts ElementAnimation::IsRunningAt
to use GetComputedTiming since the previous approach no longer works now that
GetLocalTimeAt (nee ElapsedDurationAt) no longer handles delays. This also
removes duplicated logic.

Also, previously ElapsedDurationAt would assert if called on a finished
transition since TimeDuration's - operator wouldn't like the null mStartTime.
This patch adds an assertion for this case to GetLocalTimeAt to ease debugging.
2014-06-20 12:39:24 +09:00
Brian Birtles
6607a15a60 Bug 1025709 part 2 - Add IsFinished() to ElementAnimation; r=heycam
One of the main differences in handling a list of transitions vs a list of
regular animations is that when we are dealing with a list of transitions we
need to check for transitions that have finished and are about to be discarded
but need to be retained temporarily to provide correct triggering of subsequent
transitions. Such transitions are marked as "removed sentinels" and are ignored
for most operations.

This patch moves the methods for setting and checking such transitions to the
base class ElementAnimation so that we can treat animations and transitions
alike without having to downcast or do obscure checks for mStartTime.IsNull()
(which equates to checking if the animation is a "removed sentinel" but is not
particularly clear).

In the process, this patch renames said methods to Is/SetFinishedTransition
since hopefully that is a little easier to understand at a glance.
2014-06-20 12:39:24 +09:00
Brian Birtles
292c410c9e Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Sotaro Ikeda
0e32a771bf Bug 1027088 - Ensure fence delivery for TiledContentClient on gonk r=nical 2014-06-19 19:41:36 -07:00
Chris Cooper
ddba2c8da6 Bug 920364 - Remove unused --enable-privilege from remotereftest invocations - r=gbrown 2014-06-19 22:29:33 -04:00
Daniel Holbert
0822868c7c Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
fcaab74dfe Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Dan Gohman
5a4dac7cfb Bug 1027842 - Make jit_test.py search in PATH to find the js shell command. r=terrence 2014-06-19 18:50:09 -07:00
Dan Gohman
07638d0296 Bug 1027848 - SpiderMonkey: Delete obsolete command-line options r=h4writer 2014-06-19 18:50:06 -07:00
Wes Kocher
08b6cf7c19 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
0581005adc Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Wes Kocher
dff4f03174 Backed out 2 changesets (bug 1026008, bug 1025264) for debug crashtest leaks on a CLOSED TREE
Backed out changeset d7ab14487c62 (bug 1026008)
Backed out changeset 0b04aefdd3e3 (bug 1025264)
2014-06-19 17:13:12 -07:00
Eric Faust
c2bc7d3543 Bug 1007334 - Followup: More test futzing for readability and Waldo-appeasement on a CLOSED TREE. (r=test-only) 2014-06-19 17:11:11 -07:00
Eric Faust
89eab84346 Bug 1007334 - Followup: Fix bogus test for new behavior on a CLOSED TREE. (r=jwalden over IRC) 2014-06-19 16:41:46 -07:00
Wes Kocher
dda9770366 Merge fx-team to m-c a=merge 2014-06-19 16:14:35 -07:00
Neil Rashbrook
25e86d415e Bug 1026008 Incorrect XBL behaviour with multiple insertion points r=mrbkap 2014-06-19 23:57:42 +01:00
Neil Rashbrook
1aeb541237 Bug 1025264 Broken chrome: URLs should result in error pages r=bsmedberg 2014-06-19 23:56:02 +01:00
Benoit Girard
e99f6cd57d Bug 1027794 - Don't copy the visible region when rendering. r=bjacob 2014-06-19 16:14:46 -04:00
B2G Bumper Bot
e48646ab95 Bumping manifests a=b2g-bump 2014-06-19 13:06:42 -07:00
B2G Bumper Bot
6ee92a9fdc Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/dcb55fbcaa9b
Author: Jim Porter <jporter@mozilla.com>
Desc: Merge pull request #20642 from jimporter/ringtones-manage-activity

Bug 1024779 - [ringtones] edge gestures doesn't work

========

https://hg.mozilla.org/integration/gaia-central/rev/6360719e181d
Author: Jim Porter <jporter@mozilla.com>
Desc: Bug 1024779 - [ringtones] edge gestures doesn't work

========

https://hg.mozilla.org/integration/gaia-central/rev/5e2194fbe2c1
Author: Jared Hirsch <ohai@6a68.net>
Desc: Merge pull request #20762 from 6a68/bug-1027487-fmd-server-update

Bug 1027487 - Point FMD Client to New Stage Server URLs

========

https://hg.mozilla.org/integration/gaia-central/rev/e832d6a01c32
Author: Jared Hirsch <ohai@6a68.net>
Desc: Bug 1027487 - Point FMD Client to New Stage Server URLs
2014-06-19 13:00:50 -07:00
B2G Bumper Bot
fe39bca08d Bumping manifests a=b2g-bump 2014-06-19 12:32:18 -07:00
B2G Bumper Bot
4eaaea7383 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/207ea09faee3
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Merge pull request #20641 from millermedeiros/1023777-account-warning

Bug 1023777 - [B2G][Calendar] Account warning icon is bigger than it should r=gaye

========

https://hg.mozilla.org/integration/gaia-central/rev/745db4eb1bc3
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Bug 1023777 - [B2G][Calendar] Account warning icon is bigger than it should
2014-06-19 12:30:42 -07:00
B2G Bumper Bot
5aca32a2a9 Bumping manifests a=b2g-bump 2014-06-19 12:06:33 -07:00
B2G Bumper Bot
68ea87437b Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/bb7c89814cf0
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Merge pull request #20717 from millermedeiros/1023784-offline-calendar-master

Bug 1023784 - [7715][calendar] create/modify/view event L10n r=gaye

========

https://hg.mozilla.org/integration/gaia-central/rev/659422fec336
Author: Miller Medeiros <miller@millermedeiros.com>
Desc: Bug 1023784 - [7715][calendar] create/modify/view event L10n
2014-06-19 12:00:39 -07:00
B2G Bumper Bot
0eec5ca1f0 Bumping manifests a=b2g-bump 2014-06-19 11:56:14 -07:00
B2G Bumper Bot
221b1892ca Bumping gaia.json for 3 gaia revision(s) a=gaia-bump
========

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

Retry: Bug 1020158 - Send IAC message to start the population process

========

https://hg.mozilla.org/integration/gaia-central/rev/ffd672941b06
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1027708 - Disable test_cleanup_gaia for mac r=me

========

https://hg.mozilla.org/integration/gaia-central/rev/b5d950b2db23
Author: Carmen Jimenez Cabezas <cjc@tid.es>
Desc: Bug 1020158 - Send IAC message to start the population process
2014-06-19 11:50:54 -07:00
B2G Bumper Bot
8a9b345ae3 Bumping manifests a=b2g-bump 2014-06-19 11:41:14 -07:00