Commit Graph

27565 Commits

Author SHA1 Message Date
Wes Kocher
2a8cb56103 Merge b2ginbound to central, a=merge 2015-09-17 15:23:20 -07:00
Carsten "Tomcat" Book
8a49c1f50c Merge mozilla-central to b2g-inbound 2015-09-17 15:08:41 +02:00
Ting-Yu Lin
63240259a3 Bug 1199161 - Add selectedTextContent to CaretStateChangedEvent. r=kanru, sr=smaug
The old SelectionStateChangedEvent dispatched by SelectionChanged had
this field, but it has not being ported to CaretStateChangedEvent. We
should include selected text in the event so that Gaia could have a
chance to enhance user experience.
2015-09-16 17:58:14 +08:00
Wes Kocher
8f2936989b Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-16 11:00:55 -07:00
Nicholas Nethercote
6855b78fbf Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Wes Kocher
e7846b8a1b Merge m-c to b2ginbound, a=merge 2015-09-15 17:20:50 -07:00
Fabrice Desré
9909ecc734 Bug 1202744 - Overlapping software home buttons r=snorp 2015-09-15 11:01:03 -07:00
Neil Deakin
f11b887349 Bug 1191897, add a flag for popups which allow shortcut keys to not be consumed, fixes shortcuts not working when an e10s select popup is open, r=neil 2015-09-17 11:20:33 -04:00
Brian Birtles
142a5e6061 Bug 1183461 part 8 - Add tests for event order dispatch; r=heycam 2015-09-15 14:13:04 +09:00
Brian Birtles
74d91ed6ed Bug 1183461 part 7 - Add EventInfoComparator and sort events; r=heycam
This patch also reworks the dispatch of events in nsRefreshDriver. Previously
the refresh driver would dispatch the transition events for all subdocuments
then the animation events. This arrangement is complicated and not obviously
necessary. This patch simplifies this arrangement by dispatching transition
events and animation events for each document before proceeding to
subdocuments.
2015-09-15 14:05:49 +09:00
Brian Birtles
2456d7d958 Bug 1183461 part 6 - Store the generating animation on the event; r=heycam
In order to sort between events that have the same timestamp we use the
sort order of the corresponding animations so we need to store a pointer
to the animation along with the event.
2015-09-15 14:05:44 +09:00
Brian Birtles
1d8acb9e47 Bug 1183461 part 5 - Store event TimeStamp along with event info; r=heycam 2015-09-15 14:04:53 +09:00
Brian Birtles
aa5953069f Bug 1183461 part 4 - Add CSSAnimation::ElapsedTimeToTimeStamp; r=heycam
The elapsedTime member reported on AnimationEvents measures the time from
the *end* of the delay phase (i.e. the beginning of the active interval) to
when the event occurred. However, the AnimationTimeToTimeStamp method
introduced in the previous patch expects a time relative to the animation's
start time (i.e. the *start* of the delay phase). This patch adds a method
that performs the necessary conversion from an elapsedTime to an animation
time before calling AnimationTimeToTimeStamp. It also provides extra handling
for cases such as when the animation's start time has not yet been resolved or
when animation effect has disappeared.
2015-09-15 14:04:08 +09:00
Brian Birtles
c2be532123 Bug 1183461 part 2 - Reorder the parameters to EventInfo constructors; r=heycam
This patch lines up the parameters of AnimationEventInfo and
TransitionEventInfo constructors so that they are more logical and consistent.
Specifically, it groups the element and pseudo type together since they
form a logical pair denoting the event target. For AnimationEventInfo this
patch also places the type of event before the common event parameters since
the event type seems to be more significant.

This patch also performs some miscelleaneous housekeeping: removing some
unnecessary namespace prefixes, whitespace fixes, and making
TransitionEventInfo use the same concrete type to store the target element
as AnimationEventInfo (dom::Element instead of nsIContent).
2015-09-15 14:04:05 +09:00
Brian Birtles
8d2fbaee7e Bug 1183461 part 1 - Move InitialAdvance to CSSAnimation; r=heycam
Currently we define a helper method, InitialAdvance, on KeyframeEffectReadOnly.
However, this method is only used for filling out the elapsedTime member of
AnimationEvents (which are generated by CSS animations). This patch moves this
method to CSSAnimation since it is unneeded for other types of Animations.
2015-09-15 14:03:24 +09:00
Wes Kocher
3456270dff Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for breaking android 4.0 debug reftests CLOSED TREE
Backed out changeset 25f22b3433e0 (bug 1194166)
Backed out changeset a824847677c5 (bug 1193257)
Backed out changeset 6cc19a8f1bb0 (bug 1193224)
Backed out changeset bf1271f6cfa0 (bug 1198257)
Backed out changeset 75b3c43770bd (bug 1193223)
Backed out changeset 81a5cf4c8f19 (bug 1181516)
Backed out changeset db3691ee6fd1 (bug 1181520)
2015-09-15 08:52:19 -07:00
Mason Chang
6fc0803c01 Bug 1160216 - Add a preference to force software vsync and set software vsync rate. r=kats 2015-09-15 08:13:57 -07:00
James Graham
0cd70aee8e Bug 1198257 - Better support for providing a directory name and discovering reftests under that directory, r=jmaher 2015-09-15 15:33:35 +01:00
James Graham
fe4d634b34 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-15 15:33:34 +01:00
James Graham
068b773f95 Bug 1181516 - Allow reftests to take paths to multiple directories containing tests on the command line, r=jmaher
This makes reftest command line arguments behave more like other test suites,
so we can use a simple unified syntax for e.g. |mach try|. The patch also
reworks the command line argument parsing to use argparse rather than optparse,
and causes mach to reuse the same parser as the suite.
2015-09-15 15:33:33 +01:00
James Graham
290625fa0a Bug 1181520 - Remove support for passing in reftest arguments via the command line, r=jmaher
This unifies how reftests are invoked across desktop and
mobile, and paves the way for introducing more complex
datatypes that are unreasonable to express on the
command line.
2015-09-15 15:33:32 +01:00
Hiroyuki Ikezoe
7309dd53ce Bug 1197620 - Part 1 - Stop all animations in destroyed frames. r=bbirtles 2015-09-14 23:42:00 +02:00
Nicholas Nethercote
09b4a9e997 Bug 1203427 (part 5) - Add logging of timer firings. r=froydnj. 2015-09-10 00:50:51 -07:00
Nicholas Nethercote
cae6e9971a Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)
2015-09-09 21:07:07 -07:00
Cameron McCormack
3f7087fb33 Bug 1203766 - Unified compilation fixes. 2015-09-17 12:08:21 +10:00
Cameron McCormack
a31c3c6415 Bug 1203766 - Part 7: Test. r=bzbarsky 2015-09-17 12:08:21 +10:00
Cameron McCormack
345ee82d56 Bug 1203766 - Part 6.1: Clear cached style context on nsComputedDOMStyle when its element is moved. r=bzbarsky 2015-09-17 12:08:21 +10:00
Cameron McCormack
7ba2629736 Bug 1203766 - Part 6: Cache resolved style contexts on nsComputedDOMStyle to avoid re-resolving if styles haven't changed. r=bzbarsky 2015-09-17 12:08:20 +10:00
Cameron McCormack
9569899351 Bug 1203766 - Part 5: Rename nsComputedDOMStyle::mStyleContextHolder to mStyleContext. r=bzbarsky 2015-09-17 12:08:20 +10:00
Cameron McCormack
0ddb48bec5 Bug 1203766 - Part 4: Add a "restyle generation" counter, which increments whenever we process pending restyles. r=bzbarsky 2015-09-17 12:08:20 +10:00
Cameron McCormack
871252c02c Bug 1203766 - Part 3: Add ArenaRefPtr support to nsStyleContext. r=bzbarsky 2015-09-17 12:08:20 +10:00
Cameron McCormack
b07b1ba584 Bug 1203766 - Part 2: Add an ArenaRefPtr class that can have its pointer cleared out when an object's owning nsPresArena goes away. r=bzbarsky 2015-09-17 12:08:19 +10:00
Cameron McCormack
ed8f4f2166 Bug 1203766 - Part 1: Generate nsPresArena::ObjectIDs with a preprocessor-included file. r=bzbarsky 2015-09-17 12:08:19 +10:00
Cameron McCormack
9c35f0bc5a Bug 1203142 - Insert /**/ separate between two adjacent '-' symbols when serializing token streams. r=simon.sapin 2015-09-17 11:34:04 +10:00
Lee Salzman
899c301c42 Bug 1074733 - Add reftest to verify canvas 2d rects with negative dimensions are rendered properly. r=jmuizelaar 2015-09-09 17:32:11 -04:00
Carsten "Tomcat" Book
42aa14ed8e Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)
2015-09-17 16:24:43 +02:00
Nicholas Nethercote
ac3ae5e6c1 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
5c91fcd1e6 Bug 1121760 (part 3) - Remove PL_DHashTableRemove(). r=poiru. 2015-09-14 14:23:24 -07:00
Nicholas Nethercote
538c6626e9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00
Christoph Kerschbaumer
6c00da9063 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
John Daggett
7391cfc99d Bug 953408 - switch to unprefixed hyphens property in tests. r=jfkthame 2015-09-15 10:09:30 +09:00
John Daggett
772bb3bf50 Bug 953408 - unprefix hyphens property. r=heycam 2015-09-15 10:09:30 +09:00
Benoit Girard
8c8bb9604c Bug 1191539 - DisplayPort should ForceInside frameRect to match compositor DisplayPort. r=kats 2015-09-09 14:41:38 -04:00
Matt Woodrow
0c0cd60ed7 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel 2015-09-14 14:18:20 -04:00
Matt Woodrow
54910ecde7 Bug 1202029 - Use the containing block for determining perspective for transformed elements. r=dbaron 2015-09-14 14:17:40 -04:00
Masayuki Nakano
c0fd5b5d6e Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano
093b183f70 Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
35331f6652 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
0a89e2e88e Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
a89904392c Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00