Commit Graph

184958 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
04f45d2293 Bug 1015978 - Check some PrefixSet invariants to detect & recover from disk corruption. r=mmc 2014-05-28 13:16:52 +02:00
Markus Stange
49c9fb2457 Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc 2014-05-28 12:52:13 +02:00
Markus Stange
57e99bcde7 Bug 1016437 - Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob 2014-05-28 12:52:13 +02:00
Markus Stange
922651b231 Bug 1016437 - Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical 2014-05-28 12:52:12 +02:00
Jonathan Kew
97aa604da3 bug 458634 - part 3 - reftests for real small-cap support. r=jdaggett 2014-05-28 11:35:17 +01:00
Jonathan Kew
da78438881 bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett 2014-05-28 11:35:14 +01:00
Jonathan Kew
aa7a4adac7 bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett 2014-05-28 11:35:12 +01:00
Makoto Kato
31263d4d98 Bug 982298 - Remove importing Timer.jsm. r=bz 2014-05-28 19:03:27 +09:00
Markus Stange
76fa5079c4 Bug 1012735 - Fix whitespace. r=bjacob
DONTBUILD
2014-05-28 11:51:37 +02:00
Markus Stange
7566e3aa50 Bug 1016525 - Ignore empty rects in AddTransformedBoundsToRegion. r=roc 2014-05-28 11:47:07 +02:00
Markus Stange
f21f2bc24c Bug 1016535 - Always give overlay scrollbars their own layers, even for subframes. r=roc 2014-05-28 11:46:10 +02:00
Markus Stange
5c16c8f59f Bug 1012735 - Use HeapCopyOfStackArray for the fBufferData call in nsChildView.mm. r=bjacob 2014-05-28 11:45:02 +02:00
Brian Birtles
9cad5ef8d9 Bug 1004361 - Dispatch animationstart events as well when skipping entire animation intervals; r=dholbert 2014-05-28 16:51:50 +09:00
Brian Birtles
29b49734b6 Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.

In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().

This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
70ade8a6ac Bug 1004871 part 11 - Move ElementAnimation members closer together for readability and packing; r=dholbert
Also shuffle the initialization of members in
nsAnimationManager::BuildAnimations to roughly match the order in which they
are declared (with the exception that mPlayState needs to be set before calling
IsPaused() which is used to set mPauseStart).
2014-05-28 16:51:50 +09:00
Brian Birtles
3962fb440f Bug 1004871 part 10 - Stop passing a fill mode of "both" to GetComputedTimingAt for throttled samples; r=dholbert
This was only needed when we were inspecting the returned time fraction but now
that we inspect the phase it's not necessary to force the fill mode to "both".
2014-05-28 16:51:50 +09:00
Brian Birtles
ce31823aa2 Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
adf45cac79 Bug 1004871 part 8 - Simplify ElementAnimations::GetEventsAt; r=dholbert
This patch shuffles the code in ElementAnimations::GetEventsAt to make it easier
to follow.

It also removes a check for whether or not the animation is paused.
Previously we would not dispatch events if the animation was paused and in its
active phase (but we would if the animation had finished). There doesn't seem to
be any reason for this. If the animation was paused between the last sample and
the current sample and the boundary of an iteration also occurred in that time
then I expect we should dispatch that event. Removing this check for the pause
state does not cause any tests fail.

Separating out the event logic here makes it clear that we do not dispatch start
events in the situation where one sample falls before the active interval and
one sample falls after it (filed as bug 1004361). This patch adds a comment to
this effect.
2014-05-28 16:51:49 +09:00
Brian Birtles
baaeda5bee Bug 1004871 part 7 - Remove event queueing from GetPositionInIteration and do it in GetEventsAt; r=dholbert
This patch simply shifts the event-related code from GetPositionInIteration to
GetEventsAt. Although there are simplifications that could be done to
GetEventsAt, they are deferred to a subsequent patch so as not to obscure the
translation of code from one function to another.

As a result of moving event-related handling from GetPositionInIteration it no
longer needs to support different main-thread vs compositor modes.
2014-05-28 16:51:49 +09:00
Brian Birtles
155c5f0edb Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).

Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
c9cad0a5c8 Bug 1004871 part 5 - Add ComputedTiming data structure; r=dholbert
This patch adds a ComputedTiming struct for storing the results of calculating
the timing properties of an animation at a given sample time.
2014-05-28 16:51:49 +09:00
Brian Birtles
b0f0bab622 Bug 1004871 part 4 - Move FillsForwards/FillsBackwards to AnimationTiming; r=dholbert
This patch moves the FillsForwards/FillsBackwards methods previously defined on
ElementAnimations to the structure contain the fill mode: AnimationTiming. It
also changes GetPositionInIteration to use these methods.
2014-05-28 16:51:49 +09:00
Brian Birtles
9f3b8d91b0 Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
1fa5b12248 Bug 1004871 part 2 - Add AnimationTiming struct, to encapsulate animation timing parameters; r=dholbert
Introduces a struct to store timing parameters for passing to
GetPositionInIteration. In future this struct is expected to be expanded to
include other timing parameters as well (based roughly on Web Animations'
"Timing" interface, hence the name AnimationTiming).
2014-05-28 16:51:49 +09:00
Brian Birtles
f06a971a86 Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.

In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.

(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)

There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.

The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Randell Jesup
917bc3029a Bug 743703: allow mirroring of trace logs to NSPR; fix backwards lazy allocation defines r=pkerr 2014-05-28 03:18:33 -04:00
Tim Taubert
84308dafb0 Bug 990812 - Restrict sessionstore, tabview, and browser frame scripts to tabbrowser browsers r=adw 2014-05-23 14:22:36 +02:00
Tim Taubert
4fc3223627 Bug 990812 - Fix nsIMessageManager documentation r=smaug 2014-05-27 21:46:06 +02:00
Jim Chen
64edb83f0f Bug 1013478 - Use GCC 4.8 on Android if available. r=glandium 2014-05-22 10:44:00 +02:00
William Lachance
ea5a5d5994 Bug 1016073 - Update stopApplication to work on Android 2.3. r=bc 2014-05-27 17:18:35 -04:00
Juien Pagès
c9c3af5164 Bug 940924 - Marionette should list the number of unexpected/expected fails at the end of the test run. r=jgriffin 2014-05-27 10:01:00 +02:00
Georg Koppen
4595b59c44 Bug 1013341 - Fix 'make package' for GCC ASan builds. r=glandium 2014-05-26 11:29:56 +02:00
Xidorn Quan
0904180af7 Bug 1015550 - Line boundary is incorrect for multi-char bullet. r=surkov 2014-05-27 18:07:00 +02:00
Nils Ohlmeier [:drno]
801c6c7e63 Bug 1011775 - increase ended event timeout for B2G debug builds. r=jesup 2014-05-27 15:13:00 +02:00
Cykesiopka
f81c301340 Bug 972702 - Make Cert Viewer details tab content resizable. r=keeler 2014-05-27 20:58:00 +02:00
Shih-Chiang Chien
64bcb93112 Bug 1012510 - xulrunner for Mac is under XUL.framework instead of XULRunner.app/Contents/MacOS. r=gps 2014-05-19 12:26:34 +08:00
Axel Viala
3702ff3149 Bug 1016399 - Remove never used value to fix a minor warning found by scan-build. r=ehsan 2014-05-27 08:23:00 +02:00
Ekanan Ketunuti
3111844be5 Bug 1016136 - Use suffix M instead of 's in en-US.dic. r=ehsan 2014-05-28 07:23:03 +07:00
Benny Mei
9844bc3b42 Bug 1010393 - Remove aProtoDoc parameter from nsXULPrototypeScript::Compile. r=bholly
Removed aProtoDoc parameter from nsXULElement.h and nsXULElement.cpp in
content/xul/content/src. Specifically in method nsXULElement::Compile.

Removed aProtoDoc argument from XULDocument.cpp, and nsXULContentSink.cpp
in content/xul/document/src. Specifically when aProtoDoc argument used
in nsXULElement::Compile.
2014-05-27 16:15:00 +02:00
Enda Mannion
1358b1a4d9 Bug 1003994 - H.246 and multiple video codec tests. r=jesup 2014-05-26 10:07:19 +01:00
Brian Birtles
d1b0b06dea Bug 1010681 part 6 - Remove PassesConditionProcessingTests from SVGAnimationElement; r=longsonr
This method was originally exposed so that the animation compositor could test
if an animation should be skipped when sampling but now that we perform this
testing within the SVGAnimationElement itself it is no longer needed.
2014-05-28 14:15:30 +09:00
Brian Birtles
e6a15688b8 Bug 1010681 part 5 - Remove conditional processing inside animation controller; r=longsonr
Remove the changes to nsSMILAnimationController introduced by bug 619469 now
that we have introduced a more thorough approach to disabling animations that
fail conditional processing tests.
2014-05-28 14:15:30 +09:00
Brian Birtles
a7c0081e1b Bug 1010681 part 4 - Add crashtest for changes to conditional processing tests on animation elements; r=longsonr
Before the changes in this bug, this test used to produce an assertion:

  ABORT: Rewind in the middle of a forwards seek?

This was because for a timed element whose corresponding animation element fails
conditional processing tests, we were still performing milestone samples even
though we were skipping regular samples.
2014-05-28 14:15:30 +09:00
Brian Birtles
69656acb53 Bug 1010681 part 3 - Add mochitest for dynamic changes to conditional processing tests on animation elements; r=longsonr 2014-05-28 14:15:29 +09:00
Brian Birtles
459dbcd83d Bug 1010681 part 2 - Make SVG animation elements call SetIsDisabled on the corresponding timed element; r=longsonr
This patch makes use of the SetIsDisabled method added to nsSMILTimedElement in
the previous patch to "turn off" the associated timed element of an animation
element that has failing conditional processing tests.
2014-05-28 14:14:02 +09:00
Brian Birtles
ab9eeb56c8 Bug 1010681 part 1 - Add nsSMILTimedElement::SetIsDisabled for turning off a timed element; r=longsonr
This method is added so that animation elements that fail conditional processing
tests can disable the corresponding timed element. Currently, this handling is
performed by the animation controller which simply skips sampling animations
that fail tests. However, this doesn't provide the correct behavior since
"skipped" animations can still have intervals that trigger syncbase dependencies
etc. Also, we still do milestone samples for "skipped" animations which can
lead to cases where we are in an inconsistent state.

This patch provides a method that will be used in subsequent patches to more
correctly remove the effects of a timed element.

To do this, this patch also factors out some common methods for clearing timing
state that can be shared with the Rewind method.
2014-05-28 14:13:31 +09:00
Brian R. Bondy
117c3418d2 Backout 6533fc1ea789 Bug 724423 - Fix jump list favicon cleanup. CLOSED TREE r=me
Some debug win8 assertion failures that may be because of this

--HG--
extra : amend_source : 632ee9f59c9758734033d6a5deac60a396a81766
2014-05-28 00:04:04 -04:00
Robert O'Callahan
2124e37b3a Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.

We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.

--HG--
extra : rebase_source : 6544f923499ef604d48ec15961716549dd25d279
2014-05-28 15:39:25 +12:00
Jeff Gilbert
42d5c29474 Bug 980178 - Clean up context loss handling code. - r=kamidphish 2014-05-27 20:01:33 -07:00
David Major
d7356a07c7 Bug 1014288: Fix the OOM check in nsTArrayInfallibleAllocator::Realloc. r=bsmedberg 2014-05-28 14:45:15 +12:00