Commit Graph

509144 Commits

Author SHA1 Message Date
Nicholas Nethercote
dfbacc4a42 Bug 1334466 (part 5) - Remove PlatformData::profiled_pthread_. r=mstange.
It's unused.

--HG--
extra : rebase_source : a755202318cf8abceefd1d29326380f3bc2746b7
2017-01-28 01:07:01 +11:00
Nicholas Nethercote
d1afdf0d74 Bug 1334466 (part 4) - Remove Sampler::profiling_. r=mstange.
Because it's always true.

--HG--
extra : rebase_source : b77cccb79989e6e93f003609baab34ca588e455e
2017-01-28 00:58:55 +11:00
Nicholas Nethercote
9c6ed67ad7 Bug 1334466 (part 3) - Rename GeckoSampler.cpp as Sampler.cpp. r=mstange.
The patch also moves some Sampler methods from platform.cpp to Sampler.cpp. Now
all Sampler methods are in Sampler.cpp except for a small number of
platform-specific ones, which are in platform-*.cpp.

--HG--
rename : tools/profiler/core/GeckoSampler.cpp => tools/profiler/core/Sampler.cpp
extra : rebase_source : a13862dccfcb1c78567cc9eb22e92b8410d2e544
2017-01-28 00:57:52 +11:00
Nicholas Nethercote
b33fc679ac Bug 1334466 (part 2) - Merge Sampler and GeckoSampler. r=mstange.
There's no point having them as separate classes. This removes the need for
some virtual functions, too.

--HG--
extra : rebase_source : b2607ba2431ae043b6e015f4f435b0d660b02d71
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
0a42d0f79c Bug 1334466 (part 1) - Merge Sampler constructors and destructors. r=mstange.
They're defined separately for each platform, but the definitions are almost
identical and can be commoned up.

--HG--
extra : rebase_source : 67b7f88410db1951a20f03f6c156aa6b35a3ee20
2017-01-28 00:52:57 +11:00
Mats Palmgren
b2ac374a02 Bug 1330962 part 6 - Start this test using MozReftestInvalidate rather than onload.
The test fails when using onload if it's the first test to run in its
reftest chunk.
2017-01-30 00:37:00 +01:00
Mats Palmgren
84fc7f3624 Bug 1330962 part 5 - Reftests for baseline alignment of various form controls. 2017-01-30 00:36:59 +01:00
Mats Palmgren
9fb7c1b523 Bug 1330962 part 4 - Cleanup some #includes and make nsLegendFrame 'final'. r=dholbert 2017-01-28 02:34:14 +01:00
Mats Palmgren
6e53f8fdf0 Bug 1330962 part 3 - Add baseline methods to nsFieldSetFrame. r=dholbert 2017-01-28 02:34:14 +01:00
Mats Palmgren
a44216adfb Bug 1330962 part 2 - Add baseline methods to nsHTMLButtonControlFrame. r=dholbert 2017-01-28 02:34:13 +01:00
Mats Palmgren
4d79cc0b8c Bug 1330962 part 1 - Add baseline methods to nsTextControlFrame. r=dholbert 2017-01-28 02:34:13 +01:00
Nicholas Nethercote
e584767774 Bug 1333655 - Improve the profiler's Thread class. r=mstange.
It's a clumsy cross-platform abstraction. GetCurrentId() and tid_t are the only
genuinely cross-platform things in it, and the patch keeps those in place.

The remaining methods are not implemented on all platforms (none are
implemented on Linux) and the fields are all used on either Mac or Windows, but
not both. So the patch moves the relevant Thread method implementations and
fields into the existing SamplerThread classes. There is sufficiently little
overlap between the two SamplerThread classes that there is no point sharing a
base class between them. This avoids the need for virtual functions, and
simplifies thread naming on Mac.

The patch also changes some of the existing code to use Gecko style, e.g.
|mFoo| instead of |foo_| for class fields.
2017-01-25 14:34:25 +11:00
Nicholas Nethercote
234a671f05 Bug 1328365 (part 3) - Remove GeckoSampler::sActiveSampler. r=mstange.
This variable is set in GeckoSampler's destructor and cleared in GeckoSampler's
destructor, which means it's just another handle to the GeckoSampler singleton,
which means it duplicates gSampler.

This patch replaces its uses with gSampler uses. This exposes various places
where GeckoSampler is being accessed off the main thread, which I have marked
with XXX comments.

--HG--
extra : rebase_source : 3c2d012b4d38d353022f384c31a528096a462711
2017-01-27 16:25:23 +11:00
Nicholas Nethercote
9fcc3d9c39 Bug 1328365 (part 2) - Rename ProfileGatherer::mTicker as mSampler. r=mstange.
It's a better name, given that the type is |GeckoSampler*|.

--HG--
extra : rebase_source : aaeb9d0c34f8650c2e034e334825c7e8d7c1e832
2017-01-25 16:09:06 +11:00
Nicholas Nethercote
fd25b06c81 Bug 1328365 (part 1) - Replace tlsTicker with gSampler. r=mstange.
There is a single GeckoSampler and it is currently only accessed on the main
thread, so it's silly to use TLS for it; a normal global variable is better.

This patch also adds main thread assertions to a number of the profiler_*()
functions. Even though bug 1330184 may get rid of some of them, right now they
are a useful as both a sanity check and documentation.

--HG--
extra : rebase_source : 7613eb3cc8089b31180365f6463c81f4556c7b66
2017-01-25 16:00:47 +11:00
Kris Maglione
22bea68112 Bug 1334893: Don't reset theme styling when non-theme extension shuts down. r=aswan
MozReview-Commit-ID: 19I0GDxvDcb
2017-01-29 12:23:50 -08:00
Andrew McCreight
f31f538622 Backed out changeset a0d8fb1244c5 (bug 1313864) for causing bug 1334904. 2017-01-29 10:29:27 -08:00
Phil Ringnalda
a481c3b57d Merge m-i to m-c, a=merge 2017-01-29 09:02:20 -08:00
ffxbld
2e014b99f8 No bug, Automated HPKP preload list update from host bld-linux64-spot-132 - a=hpkp-update 2017-01-29 08:10:01 -08:00
ffxbld
b60ce9ada6 No bug, Automated HSTS preload list update from host bld-linux64-spot-132 - a=hsts-update 2017-01-29 08:09:59 -08:00
Joel Maher
3d044d99d0 Bug 1334541 - add BUG_COMPONENT to dom/animation/* files. r=hiro
MozReview-Commit-ID: Bnyj9mWOYms
2017-01-29 06:51:47 -05:00
Joel Maher
a0b005583d bug 1302854 - disable jetpack/test-context-menu.js subtest for frequent failures. r=kmag
MozReview-Commit-ID: 74CpzkiFVja
2017-01-29 06:51:43 -05:00
Joel Maher
15ba3d260d Bug 1334529 - add BUG_COMPONENT to testing/web-platform/tests/media*/* files. r=mreavy
MozReview-Commit-ID: Jor1IPG1loQ
2017-01-29 06:51:39 -05:00
Joel Maher
8c153d5857 Bug 1334551 - add BUG_COMPONENT to dom/archivereader/* and dom/asmjscache/* files. r=overholt
MozReview-Commit-ID: IKPWxOsadTa
2017-01-29 06:51:35 -05:00
Cameron McCormack
7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Hiroyuki Ikezoe
5e33af310e Bug 1328787 - Part 13: Call nsAnimationManager.UpdateAnimations(). r=heycam
MozReview-Commit-ID: CcA3dJaxuYY
2017-01-29 12:59:00 +09:00
Hiroyuki Ikezoe
fc6d8f711b Bug 1328787 - Part 12: Fill Gecko's Keyframe. r=heycam
MozReview-Commit-ID: 5QdUtFj9lK9
2017-01-29 12:58:51 +09:00
Hiroyuki Ikezoe
e4b48af5ae Bug 1328787 - Part 4: Add Gecko_AnimationAppendKeyframe. r=heycam
This is a function which is called in Servo_StyleSet_FillKeyframesForName to
append a Gecko's Keyframe into nsTArray<Keyframe>.

Without this function we need to end up exposing ComputedTimingFunction class
and Maybe<> as FFI.

MozReview-Commit-ID: 2EpltR4rMVh
2017-01-29 12:58:39 +09:00
Hiroyuki Ikezoe
8d8004331b Bug 1328787 - Part 3: Add functions for filling each servo's animation keyframes into nsTArray<Keyframe>. r=heycam
The argument, ServoComputedValues*, will be used the case where keyframe is not specified.

MozReview-Commit-ID: HqqEXuYajCi
2017-01-29 12:58:28 +09:00
Hiroyuki Ikezoe
b760727ba4 Bug 1328787 - Part 2: Don't pass nsCSSKeyframesRule* to CSSAnimationBuild::Build. r=heycam
Because, in case of stylo, we don't have nsCSSKeyframesRule.

MozReview-Commit-ID: uWlrFihjbx
2017-01-29 12:58:25 +09:00
Hiroyuki Ikezoe
9ce5c619b0 Bug 1328787 - Part 1: Factor out Keyframe and PropertyValuePair into Keyframe.h. r=heycam
KeyframeEffectReadOnly.h has lots of unnecesarry stuff for stylo for now, so
is split stuff which needs for stylo into Keyframe.h.
2017-01-29 12:58:23 +09:00
Mats Palmgren
c44a2704e5 Bug 1334403 - Some <caption> size tests for table flex items. 2017-01-29 04:02:59 +01:00
Mats Palmgren
0d8685f315 Bug 1334403 - Make <caption> inline size stretch again for table flex items. r=dholbert 2017-01-29 04:02:59 +01:00
Gabriel Luong
7b223594ba Bug 1333561 - Part 5: Replace the inspector and computed view tests with the correct box model selectors. r=me 2017-01-28 17:38:58 -05:00
Gabriel Luong
b0eccb57d9 Bug 1333561 - Part 4: Rename box-model.js to deprecated-box-model.js. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/components/deprecated-box-model.js
2017-01-28 17:11:24 -05:00
Gabriel Luong
37d7b4c160 Bug 1333561 - Part 3: Implements the box model panel in the layout view. r=jdescottes 2017-01-28 17:11:04 -05:00
Gabriel Luong
53e3e0bfa2 Bug 1333561 - Part 2: Refactor EditingSession to a separate utils module. r=jdescottes
--HG--
rename : devtools/client/inspector/components/box-model.js => devtools/client/inspector/layout/utils/editing-session.js
2017-01-28 17:10:55 -05:00
Gabriel Luong
e3c40de999 Bug 1333561 - Part 1: Add an "old" prefix to the current box model's markup and css. r=jdescottes
--HG--
rename : devtools/client/themes/boxmodel.css => devtools/client/themes/deprecated-boxmodel.css
2017-01-28 17:10:46 -05:00
Phil Ringnalda
b6c9ea587d Merge m-c to m-i 2017-01-28 13:12:17 -08:00
Phil Ringnalda
5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Phil Ringnalda
1b25397681 Merge autoland to m-c, a=merge 2017-01-28 13:07:19 -08:00
Tom Schuster
48ee845dbd Bug 1333073 - Enable DataView Xray. r=bz 2017-01-28 21:52:45 +01:00
Tom Schuster
958ad51296 Bug 1333073 - Use ClassSpec for DataView. r=arai 2017-01-28 21:36:05 +01:00
Tom Schuster
fb7e4f2ec1 Bug 1333073 - Move DataViewObject to its own file. r=arai
--HG--
rename : js/src/vm/TypedArrayObject.cpp => js/src/builtin/DataViewObject.cpp
rename : js/src/vm/TypedArrayObject.h => js/src/builtin/DataViewObject.h
2017-01-28 21:33:29 +01:00
Tooru Fujisawa
f3c9396d1c Bug 1334799 - Handle stack value in correct order when leaving for-of loop from finally block. r=shu 2017-01-29 05:53:41 +09:00
Dustin J. Mitchell
d1125a7865 Bug 1334821: default to -t none; r=philor
MozReview-Commit-ID: 4TokylNSuAl

--HG--
extra : rebase_source : 1ee628b14ef01b5ab02f86073a18a10a671b1d04
2017-01-28 19:31:57 +00:00
Sebastian Hengst
2eb374bd43 Backed out changeset ab2849f57624 (bug 1333561) for failing browser_inspector_textbox-menu.js. r=backout 2017-01-28 20:31:42 +01:00
Sebastian Hengst
26891f1df2 Backed out changeset 841363ee81e6 (bug 1333561) 2017-01-28 20:31:09 +01:00
Sebastian Hengst
9d801abe94 Backed out changeset 34e6599b9e3c (bug 1333561) 2017-01-28 20:31:04 +01:00
Sebastian Hengst
bb40054c8c Backed out changeset 725a0bf59e2b (bug 1333561)
--HG--
rename : devtools/client/inspector/components/deprecated-box-model.js => devtools/client/inspector/components/box-model.js
2017-01-28 20:30:59 +01:00