Commit Graph

376463 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
0befdfe863 Bug 1022818 - Part 2: Implement Smooth Scrolling. r=bz
- Updated ScrollTo method in nsGlobalWindow to accept a
  mozilla::dom::ScrollOptions parameter to select between the instant
  and smooth MSD motion.
- Updated WebIDL binding boilerplate scrolling functions in nsGlobalWindow
  to pass the correct value of mozilla::dom::ScrollBehavior to the
  implementation and functions, activating smooth scrolling.
- These functions will need to be updated again to support the scroll-behavior
  CSS property in Bug 1010538.
2014-07-21 11:19:00 -04:00
Kearwood (Kip) Gilbert
cbede6f09b Bug 1022818 - Part 1: Update webidl interfaces. r=bz
- Extended the Element and Window webidl interfaces as described in the
  CSSOM-View smooth-scrolling specification.
- The Element.scrollTop and Element.scrollLeft changes have been omitted
  until either WebIDL is extended to allow properties to have union datatypes
  that contain dictionaries or the CSSOM-View smooth-scroll specification
  is upddated.  This will not prevent the other interface changes from being
  useful.
- Implemented wrapper functions for the nsGlobalWindow to connect to the new
  WebIDL bindings.  The ScrollOptions parameters are ignored in this patch,
  and used in Part 3 of this patch series.
2014-07-21 11:04:00 -04:00
David Parks
0a84f19d3f Bug 1008759 - Blocklist D2D on NVidia 310M, even when it is believed to be the secondary GPU. r=bjacob 2014-08-12 21:25:13 -07:00
Martijn Wargers
81f5f3fab6 Bug 928678 - Request complete log for intermittent failure in Intermittent test_iframe_sandbox_general.html. r=kwierso 2014-08-12 18:04:26 -07:00
Benjamin Bouvier
76aaae3c7d Bug 1019831: Add ARM stubs for SIMD moves; r=sunfish 2014-08-13 15:20:09 +02:00
Benjamin Bouvier
9f79951b2e Bug 1043337: SIMD x86-x64: Implement other arithmetic operations; r=sunfish 2014-08-13 15:13:48 +02:00
Benjamin Bouvier
4d9c0e8ff5 Bug 1043337: SIMD x86-x64: Implement Add; r=sunfish 2014-08-13 15:13:22 +02:00
Benjamin Bouvier
48ef37ca1b Bug 1025475: SIMD: Fold SIMD created values into SimdConstants; r=sunfish 2014-08-13 15:08:25 +02:00
Benjamin Bouvier
62d25f8b05 Bug 1025475: SIMD x86-x64: Implement SIMD constants; r=sunfish 2014-08-13 15:08:22 +02:00
Benjamin Bouvier
e490ef2f1b Bug 1025475: SIMD: Introduce SimdConstant; r=sunfish 2014-08-13 15:08:20 +02:00
Benjamin Bouvier
561a6af341 Bug 1025475: SIMD x86-x64: Implement SIMD constructors; r=sunfish 2014-08-13 15:08:16 +02:00
Andrea Marchesini
cc9b09f336 Bug 1043106 - StorageEvent should have the storageArea of the correct window, r=smaug 2014-08-13 14:56:25 +02:00
Jon Coppeard
b1b1d63e66 Bug 995284 - Make the GC more deterministic in the shell r=terrence 2014-08-13 10:05:33 +01:00
Jonathan Watt
1f2273ebfb Bug 1052999 - Stop using FOR_PAINTING in nsSVGForeignObjectFrame::GetInvalidRegion. r=longsonr 2014-08-13 13:36:41 +01:00
Jonathan Watt
9cf6a9f6a0 Bug 1052913 - Clean up some nsSVGClipPathFrame code and add some documentation to make it clearer. r=dholbert 2014-08-13 13:36:32 +01:00
Jonathan Watt
7a07a4a8da Bug 1052910 - Clean up some includes. r=dholbert 2014-08-13 13:34:53 +01:00
Jonathan Watt
5762a0a0eb Bug 1052915 - Stop unnecessarily calling nsSVGUtils::AdjustMatrixForUnits() over and over in nsSVGClipPathFrame. r=longsonr 2014-08-13 13:34:52 +01:00
David Moreira
bf79840e29 Bug 977966 - Replace foo.split(bar).join(baz) by foo.replace(bar, baz). r=nbp 2014-08-13 13:35:40 +02:00
David Moreira
c4db9115cb Bug 977966 - Implement MArrayJoin. r=nbp 2014-08-13 13:35:40 +02:00
Masayuki Nakano
9653e78b3c Bug 1052230 IMEContentObserver shouldn't flush pending notifications again during flushing notifications r=smaug 2014-08-13 20:25:14 +09:00
Ed Morley
60b62a869a Backed out changeset f6970e7f17e1 (bug 995284) for crashes on OS X and Windows; CLOSED TREE 2014-08-13 11:18:01 +01:00
Julian Seward
95678b9bbb Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow.
--HG--
extra : rebase_source : e21c5b9fb2c6ad380f7179d43292bbca032f9c5f
2014-08-13 11:26:33 +02:00
Jonathan Kew
ded61cb118 bug 1052535 - fix errors in Unicode Joining_Type data for Mandaic. r=jdaggett 2014-08-13 11:00:31 +01:00
Jim Mathies
dc108c90b9 Bug 1052395 - Improve ipc debug output for unhandled nonqueued Windows messages. r=bent 2014-08-12 14:06:00 -05:00
Jim Mathies
6792642961 Bug 1047842 - Pass WM_GETTEXTLENGTH messages in ipc wait for notify calls to DefWindowProc. r=bent 2014-08-13 04:39:47 -05:00
Brian Birtles
c9b30cafe3 Bug 1052147 - Initialize AnimationPlayer::mPlayState to running state; r=dbaron
The assertion in nsTimeStamp::operator >= occasionally fails due to a null RHS
timestamp when called from AnimationPlayer::GetCurrentTimeDuration, which, in
turn, is called from AnimationPlayer::SetSource.

The issue appears to be that we're not correctly initializing
AnimationPlayer.mPlayState. This value can be running (0) or paused (1) but we
only ever compare against the paused state (i.e. every other value is
effectively treated as running). If we don't initialize this we can end
up in the paused state but with mPauseStart not set to a valid (non-null)
TimeStamp. This creates an inconsistent state since we assume that when we're
paused mPauseStart is non-null, hence the assertion fails.

This gets tickled because, since bug 1040543, we call
AnimationPlayer::SetSource from nsAnimationManager::BuildAnimations *before* we
set mPlayState and mPauseStart.

This patch initializes mPlayState to the running state so we don't accidentally
end up in an inconsistent state.

It also removes some (now unnecessary) initialization of mPlayState and
mPauseStart from nsTransitionManager::ConsiderStartingTransition.

In future we could also consider reworking nsAnimationManager::BuildAnimations
so that we call SetSource on the new animation player *after* setting up its
play state. That may be more correct and would further avoid this problem but
may not be necessary since all that code is likely to change in the near future.
2014-08-13 18:21:45 +09:00
Benjamin Bouvier
cd5a3cc523 Bug 1021716: Use movhlps for extracting lane Z of a float32x4 register; r=sunfish 2014-08-13 11:18:09 +02:00
Benjamin Bouvier
bebf82b3f5 Bug 1021716: SIMD x86-x64: Implement MSimdExtractElement; r=sunfish 2014-08-13 11:18:00 +02:00
Jon Coppeard
ee54c3ad08 Bug 995284 - Make the GC more deterministic in the shell r=terrence 2014-08-13 10:05:33 +01:00
Jon Coppeard
511f6ef1c5 Bug 1052388 - Rename JS_CallHeapFooTracer() functions to JS_CallFooTracer() r=terrence r=smaug 2014-08-13 10:05:22 +01:00
Jon Coppeard
48493473e2 Bug 1049440 - Don't crash in jsapi-tests when a test fails to initialize r=luke 2014-08-13 10:03:45 +01:00
Benjamin Bouvier
e49c623287 Bug 1052380: Fix builds without Ion after bug 1019831 landed; r=nbp 2014-08-13 10:13:19 +02:00
Anthony Jones
b8b01041ff Bug 1051666 - Add avc3 atom support to MP4 parser; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
4c33e4d4ac Bug 1050060 - Fix 64 bit file offset in MP4 reader; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
fa358b339a Bug 1050060 - Fix MP4 range pinning; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
2c2bccb36d Bug 1050060 - Optimise MP4 range calculation; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
4f53a7c1a6 Bug 1050060 - Update index off main thread; r=edwin 2014-08-13 17:13:28 +12:00
Anthony Jones
ae0690b0eb Bug 1050060 - Clean up MP4 index fields; r=edwin 2014-08-13 17:13:27 +12:00
Dan Glastonbury
8efb306126 Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
Daniel Holbert
8c367c2bf1 Bug 1052758: Remove unused variable 'kWorkScheduled' from message_pump_glib.cc. r=ehsan 2014-08-12 21:46:27 -07:00
Nicholas Nethercote
5c21275b20 Bug 1052248 - Tweak the goodAllocated heuristics. r=bhackett.
--HG--
extra : rebase_source : 2ba3467efa21d5e00ae300d0fa57b3522ba3d721
2014-08-11 23:21:09 -07:00
Jed Davis
033a6785eb Bug 1043733 - Require sandboxing to load Gecko Media Plugins on Linux. r=jesup r=kang
Also refactors how sandbox support and disabling are handled, and allows
simulating a lack of sandbox support with an env var (for testing
without rebuilding a kernel).
2014-08-12 21:28:27 -07:00
Masayuki Nakano
50bda571f1 Bug 1050124 Support TSATTRID_Text_VerticalWriting for consistency with other TSF aware applications r=jimm 2014-08-13 12:55:59 +09:00
Chris Pearce
e1c08d8e72 Bug 1052378 - Replace stray mIsXXXDecoding fields with IsXXXDecoding() function calls in MediaDecoderStateMachine. r=kinetik 2014-08-13 15:04:19 +12:00
George Wright
14dc52ff49 Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow 2014-08-12 17:14:43 -04:00
Matt Woodrow
f81382dd80 Bug 1019693 - Always use tiled thebes layers when we're a descendant of a layer with a critical display port so that the low-resolution drawing area is handled correctly. r=tn
--HG--
extra : rebase_source : 0dabb9c73d65414979945d0cc46ba8c89d86b90e
2014-08-08 09:12:01 +12:00
Nicholas Nethercote
fca802563c Bug 1052213 - Reduce default size of Native2WrappedNativeMaps. r=mrbkap. 2014-08-12 16:29:39 -07:00
Gregory Szorc
95bd91b3cd Bug 1052526 - Treat appending None to List as empty list; r=glandium
As a special exception, we change List's + and += operators to treat
"+ None" and "+= None" as "+ []" and "+= []" respectively.

This is a hack to make moz.build files simpler so they don't have to
perform "is x" checks before appending x.

While I was here, I fixed the implementation of List.__add__ to return a
List instead of list.

--HG--
extra : rebase_source : e61db4be4cf8144b092609d3baf84c372b9cf9a0
extra : amend_source : dfabc00765582764426f7cf74e79354a0bfb0824
2014-08-12 09:23:33 -07:00
Benoit Girard
07510ca060 Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel 2014-08-12 18:46:16 -04:00
Harshit Harchani
f2bdad18c7 Bug 927946 - Add all APZC preferences to all.js. r=botond
--HG--
extra : rebase_source : d96f4aea65b40490d4cc7f8ec8704a2a2f7ef4b8
2014-08-13 01:35:22 +05:30