Граф коммитов

16886 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 9b6d088496 merge autoland to mozilla-central a=merge
--HG--
rename : browser/components/preferences/in-content/tests/browser_advanced_siteData.js => browser/components/preferences/in-content-old/tests/browser_advanced_siteData.js
rename : dom/media/mediasink/DecodedAudioDataSink.cpp => dom/media/mediasink/AudioSink.cpp
2017-03-23 13:42:40 +01:00
cku a52259bf72 Bug 1349462 - Part 1. Rename IsSVGText as IsInSVGTextSubtree. r=heycam
MozReview-Commit-ID: LTo6c8tTtaf

--HG--
extra : rebase_source : bc6913c42cca141d7a3098fdd4dcc72fbf146b5a
2017-03-23 15:29:11 +08:00
Jeff Muizelaar 49eb5ba0b6 Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Boris Zbarsky ec233151ac Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot
MozReview-Commit-ID: 2ebVZO4fN6i
2017-03-21 14:59:02 -04:00
Cameron McCormack cf1045e125 Bug 1302054 - Part 3: Remove mention of nsChangeHint_Hints_NotHandledForDescendants in RestyleManager::ChangeHintToString. r=dbaron
MozReview-Commit-ID: K21VDcNd9Oy
2017-03-21 16:33:05 +08:00
Cameron McCormack cf56de72b5 Bug 1302054 - Part 2: Remove no longer useful nsStyleContext::CalcDifference optimization that handles the same-rule-node case. r=dbaron
nsStyleContext::CalcDifference had an optimization where, when we knew
that the old and new style context have the same rule node, we knew that
the only change hints that would need to be handled are those in the
"not handled for descendants" category, generated due to explicit
'inherit' values on reset properties.  This was because any changes due
to differences in inherited properties should only have generated
"handled for descendants" change hints (and thus would already have been
handled on an ancestor).

Before bug 931668, this let us avoid calling CalcDifference on structs
that only would have generated hints that we knew we already would have
handled.  However, after bug 931668, we compare all structs anyway so
that we can set the aEqualStructs outparam, so we don't gain anything
from this optimization.  We can still return these change hints we know
will not need to be handled, and rely on ElementRestyler::CaptureChange
to filter them out.

MozReview-Commit-ID: Ld1s2Js0i6r
2017-03-21 16:33:05 +08:00
Cameron McCormack 5131fe23a2 Bug 1302054 - Part 1: Avoid computing style differences when we just want to ensure structs are cached on the new context. r=dbaron
MozReview-Commit-ID: DLhHcCD4GQS
2017-03-21 16:33:05 +08:00
Cameron McCormack 767a077d73 Bug 1301258 - Part 2: Remove all subsumed hints when generating changes from restyles. r=dbaron
This changes ElementRestyler::CaptureChange so that it avoids generating the
current frame's entire set of change hints, if only some of the hints were
handled by ancestors, and instead to remove the hints that we know are
subsumed.

MozReview-Commit-ID: JvhxeQC6MmQ
2017-03-21 16:33:05 +08:00
Cameron McCormack 2a3ed57d71 Bug 1301258 - Part 1.5: Tweak some comments around change hints. r=dbaron
MozReview-Commit-ID: Gze6SFaXvSA
2017-03-21 16:33:05 +08:00
Cameron McCormack d2bf6adc7c Bug 1301258 - Part 1: Define macros for change hints always, never and sometimes handled for descendants. r=dbaron
MozReview-Commit-ID: 1lOl7U6rlC5
2017-03-21 16:33:05 +08:00
Timothy Nikkel 5587bb56c5 Bug 1346109. Set a displayport base rect in MobileViewportManager::UpdateDisplayPortMargins when we are setting displayport margins. r=botond
It's easy to calculate because it's always a root content document.
2017-03-21 00:16:41 -05:00
Wes Kocher 5d7c0bee97 Merge m-c to inbound a=merge
MozReview-Commit-ID: 860fBgcgHiy
2017-03-20 18:28:24 -07:00
Wes Kocher 4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Mats Palmgren b0adfe4733 Bug 1348665 part 4 - Remove some params to SyncFrameViewProperties and make it a member function instead. Make the aView param optional, use the frame's view if none provided. r=tnikkel
MozReview-Commit-ID: KTUaiqr0cmT
2017-03-21 01:22:13 +01:00
Mats Palmgren 896c347cb8 Bug 1348665 part 2 - Remove the ViewProperty and store the nsView* in a field on the relevant frame classes instead. r=tnikkel
The relevant frame classes are:
SubDocumentFrame
ListControlFrame (only when used for (non-e10s?) comboboxes)
PluginFrame
ViewportFrame
MenuPopupFrame

The view is now created in the frame's Init() method, except for
ViewportFrame which has its view assigned by the frame constructor
via a SetView() call.

MozReview-Commit-ID: 4O7Hm1yqwIp
2017-03-21 01:22:13 +01:00
Mats Palmgren 48fe777dbb Bug 1348665 part 1 - Move a few nsView related methods from nsContainerFrame to nsIFrame/nsFrame (idempotent patch). r=dholbert
Views are used for PluginFrame which inherits nsFrame, not nsContainerFrame,
so it's more appropriate that these methods should live in nsIFrame/nsFrame.

MozReview-Commit-ID: 87EgCnkF5YT
2017-03-21 01:22:13 +01:00
Ting-Yu Lin f087300185 Bug 1338446 Part 3 - Label SheetLoadData in Loader::PostLoadEvent. r=heycam
When constructing a Loader without passing a document, we added a DocGroup
parameter so that we could still use it to dispatch events to the DocGroup.

Delete NS_ENSURE_TRUE because new() is infallable.

Use another runnable pointer for calling dispatching because forget() will
nuke the pointer and we need to use evt afterwards.

MozReview-Commit-ID: Ce2K6j4pUhA

--HG--
extra : rebase_source : 2bacf1f856e0700f36b2fefe4d2424719cad77a7
2017-03-13 17:00:57 +08:00
Emilio Cobos Álvarez 401a3ef429 Bug 1296516: Cleanup infallible or unchecked nsCSSFrameConstructor methods. r=heycam
MozReview-Commit-ID: IoMOQyAhadv
2017-03-20 22:28:16 +01:00
Emilio Cobos Álvarez c8a5bc5165 Bug 1296516: Convert UndisplayedMap to a typed hashtable. r=heycam
MozReview-Commit-ID: g54ekayP2y
2017-03-20 22:28:15 +01:00
Emilio Cobos Álvarez a079d79f65 Bug 1296516: Indentation nits in nsFrameManager. r=heycam
MozReview-Commit-ID: L98VVegeATX
2017-03-20 22:28:14 +01:00
Emilio Cobos Álvarez 6c40f8a40b Bug 1296516: Tidy RestyleManager::ContentStateChanged. r=heycam
MozReview-Commit-ID: 7iWc6JvljhT
2017-03-20 22:28:13 +01:00
Cameron McCormack 52f712bba2 Bug 1338461 - Pass eRestyle_StyleAttribute through to Servo_NoteExplicitHints. r=bholley
MozReview-Commit-ID: C7HIOTs1SSY

--HG--
extra : rebase_source : 638fe3e1c9ecf47dcd9b175ae03344450417c7da
2017-03-20 14:42:31 +08:00
Cameron McCormack fb18ceba5d Bug 1330843 - Allow JS to create NAC pseudo-elements. r=bholley
MozReview-Commit-ID: 2aBPoCOsT6R

--HG--
extra : rebase_source : bc32cd9e4bd5c73af094718c795691da84abe5ba
2017-03-17 15:30:34 +08:00
Cameron McCormack 2a59bf895d Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
MozReview-Commit-ID: K7jcUuz6KI4

--HG--
extra : rebase_source : 85c2939b020e7d4b401382c0d436f16c5af98b5e
2017-03-16 17:43:44 +08:00
cku c486e7014c Bug 1340044 - Part 2. Rename value in StyleGeometryBox. r=heycam
This change is to use gecko_enum_prefix in helpers.mako.rs, so that we do not
need to manually write code for nsStyleDisplay::mTransformBox.

MozReview-Commit-ID: 7UAL0iUcSIO

--HG--
extra : rebase_source : e99b7c163991df7ef3e7c0404fcef1832718a150
2017-03-16 15:18:10 +08:00
Carsten "Tomcat" Book e08ad28f77 Backed out changeset 9e40bc33e620 (bug 1346623) for perma leak in chrome-style stylo tests 2017-03-17 08:19:20 +01:00
Cameron McCormack f21bcc7ed3 Bug 1346623 - Part 1: Prevent canvas custom content from becoming NAC when reframing the root element. r=bholley
MozReview-Commit-ID: K7jcUuz6KI4

--HG--
extra : rebase_source : 85c2939b020e7d4b401382c0d436f16c5af98b5e
2017-03-16 17:43:44 +08:00
Astley Chen 785a31d171 Bug 1347047 Part 2 - Remove caret timeout control from AccessibleCaretManager. r=TYLin
The feature is controlled by pref layout.accessiblecaret.timeout_ms, and has been disabled in bug 1268410.
It's time to remove relevant code from the tree.

MozReview-Commit-ID: LLu8RiQcTpm

--HG--
extra : rebase_source : 906299afe9fbcb4bad2c74c83f19eb98b8815882
2017-03-17 08:50:30 +08:00
Astley Chen 5d27f09056 Bug 1347047 Part 1 - Remove touch caret timeout test. r=TYLin
MozReview-Commit-ID: 5fVdwVfcxaz

--HG--
extra : rebase_source : a9f459f427cbb3d502c7b2aa2be0d49a6d2f9d95
2017-03-17 08:47:02 +08:00
Wei-Cheng Pan 60a694bdf1 Bug 1341531 - Measure input event dispatching latency. (*_EVENT_RECEIVED_MS) r=smaug
This patch measures the time from an input event creation, to it been
dispatched to PresShell, but just before any handler been executed.

MozReview-Commit-ID: 6ZYra7YYICY

--HG--
extra : rebase_source : fb864ab2ec7af3d59f4a4ccf52667f34dcd588d6
2017-02-08 15:11:53 +08:00
Mantaroh Yoshinaga 90f3d3d4d0 Bug 1062106 part 2 - Remove unused SVG Attribute Animations cascade level. r=birtles,dbaron,xidorn
The previous patch in this series converted all uses of mapped attributes
for animation to be animated as CSS properties (that is, to be treated
as presentation hints in the cascade).

As result, we no longer need the SVG Animation presentation hints level
of the cascade, the corresponding rule processor(SVGAttrAnimationRuleProcessor),
or the corresponding eRestyle_SVGAttrAnimations restyle hint. So this patch
removes these unused rule processor and restyle hint.

MozReview-Commit-ID: Hm8IDaqc3ym

--HG--
extra : rebase_source : 339ad209f37ea84857577001c7385323f2187d46
2017-03-21 15:43:26 +09:00
Carsten "Tomcat" Book ebfcff23e8 Backed out changeset 17d753a5dd9a (bug 1342863) for bustage 2017-03-23 08:41:57 +01:00
Carsten "Tomcat" Book 6b473377a1 Backed out changeset b6422d885f48 (bug 1342863) 2017-03-23 08:41:38 +01:00
Carsten "Tomcat" Book e9fc12d979 Backed out changeset ec75fa65fb37 (bug 1342863) 2017-03-23 08:41:35 +01:00
Carsten "Tomcat" Book 108eb09e46 Backed out changeset 1b57aaf3cb59 (bug 1342863) 2017-03-23 08:41:31 +01:00
Carsten "Tomcat" Book 8476db39e4 Backed out changeset 1c8548bdac7f (bug 1342863) 2017-03-23 08:41:28 +01:00
Carsten "Tomcat" Book c1e924f7d0 Backed out changeset 07e257b46b6f (bug 1342863) 2017-03-23 08:41:25 +01:00
Carsten "Tomcat" Book bdcef21037 Backed out changeset 581cfae86457 (bug 1342863) 2017-03-23 08:41:22 +01:00
Carsten "Tomcat" Book aaf289009f Backed out changeset ca409f78c8a3 (bug 1342863) 2017-03-23 08:41:18 +01:00
KuoE0 c4d277eb8d Bug 1342863 - (Part 8) DocGroup labeling for timer callback in nsRefreshDriver. r=dholbert
MozReview-Commit-ID: DP7WFkvlrPq

--HG--
extra : rebase_source : e9fd53e772f3814c5d2800544852b2f3ba13d621
2017-03-15 17:38:53 +08:00
KuoE0 a4e9ec85a1 Bug 1342863 - (Part 7) DocGroup labeling for timer callback in nsPresContext. r=dholbert
MozReview-Commit-ID: Jhl2FVc8PRd

--HG--
extra : rebase_source : c54a75d50e3130d1e3029565cd44ab1ae0fec1cd
2017-03-15 17:38:29 +08:00
KuoE0 16cb383ef6 Bug 1342863 - (Part 6) DocGroup labeling for timer callback in PresShell. r=dholbert
MozReview-Commit-ID: 9gfiu9DN2aT

--HG--
extra : rebase_source : d34c368a9b495bf7d84ceb93222dc8c33465a205
2017-03-15 17:37:24 +08:00
KuoE0 b5a9f92460 Bug 1342863 - (Part 5) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in nsRefreshDriver. r=dholbert
MozReview-Commit-ID: CzddDOagdfZ

--HG--
extra : rebase_source : 15666028a2acddda2c72b78a0570e48793507933
2017-03-15 12:15:24 +08:00
KuoE0 d9f6f7dfd3 Bug 1342863 - (Part 4) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in nsDocumentViewer. r=dholbert
MozReview-Commit-ID: 9f32OTpim7V

--HG--
extra : rebase_source : 58312504c810d3efafa87e36a70fb176f4dedc69
2017-03-15 12:08:32 +08:00
KuoE0 07dfa16abe Bug 1342863 - (Part 3) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in ZoomConstraintsClient. r=dholbert
MozReview-Commit-ID: GcExvSnUB8o

--HG--
extra : rebase_source : 682d832f3e19f30ff2b01e3b1bb32b97f594eb88
2017-03-15 12:08:13 +08:00
KuoE0 f6c0cad15b Bug 1342863 - (Part 2) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in nsPresContext. r=dholbert
MozReview-Commit-ID: COWvfXRhPj7

--HG--
extra : rebase_source : d7e92f37b5d5f3261edd5217e38f03f396ad0f8e
2017-03-15 10:53:59 +08:00
KuoE0 940546aa6f Bug 1342863 - (Part 1) DocGroup labeling for runnables dispatched by NS_DispatchTo(Main|Current)Thread in PresShell. r=dholbert
MozReview-Commit-ID: HNBIDrSAo5B

--HG--
extra : rebase_source : edba806b7f7e9e9c5da99285828d8c99001eee38
2017-03-09 17:08:41 +08:00
Cameron McCormack f6e0ca5fb2 Bug 1349457 - stylo: Eagerly style generated content. r=bholley
MozReview-Commit-ID: Jv3hNEjUonp

--HG--
extra : rebase_source : 7f935ac0ae8bb5079041b1946ee68532ac625a78
2017-03-23 11:44:00 +08:00
Markus Stange 730b4fc829 Bug 1339897 - Rename PROFILER_LABEL_PRINTF to PROFILER_LABEL_DYNAMIC and make it really cheap. r=Ehsan,njn
Instead of copying and concatenating strings into an mDest buffer in
SamplerStackFramePrintfRAII, require callers to keep the string buffer alive
for the duration of the current scope, and store the pointer to the annotation
string in the ProfileEntry. During stackwalking, concatenate the label and the
annotation (separated by a space) and store the resulting string in the
profile buffer.

MozReview-Commit-ID: GEjcLrhhdvb

--HG--
extra : rebase_source : 683749421ee2122805a249cf413e882ee5f33331
2017-03-22 19:37:33 -04:00
Emilio Cobos Álvarez 4b44bcc15e Bug 1347381: Tell Servo earlier about stylesheet changes. r=heycam
MozReview-Commit-ID: 4FcFzvSTckm

--HG--
extra : rebase_source : 400153f672850975794b01fe7564e01b5ac65241
2017-03-15 19:54:11 +01:00