Commit Graph

5231 Commits

Author SHA1 Message Date
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Philipp Kewisch
28bc073914 Bug 1312191 - Do not hardcode INDENT_LEVEL in xbl preprocessor. r=miker
MozReview-Commit-ID: EiufIKCNfSs

--HG--
extra : rebase_source : 8acea9052135d88cbf1f58f7090d5a9d60c61c2e
2017-10-08 14:40:16 +02:00
Sebastian Hengst
1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Phil Ringnalda
ecdb97c7dc Backed out 6 changesets (bug 1406212) for mass reftest failures
CLOSED TREE

Backed out changeset 1c9fe35de901 (bug 1406212)
Backed out changeset 1acc4c270bf9 (bug 1406212)
Backed out changeset d9ea9cff849f (bug 1406212)
Backed out changeset 5bf2f08f01f9 (bug 1406212)
Backed out changeset 1a050da96e9e (bug 1406212)
Backed out changeset 1b5e78113f06 (bug 1406212)

MozReview-Commit-ID: LizV8CD4IY4
2017-10-12 19:45:23 -07:00
Blake Kaplan
4c3264d49f Bug 1406212 - Remove the code that handles extensions for e10s{,-multi}. r=Felipe
MozReview-Commit-ID: ElPZIBmOYHR

--HG--
extra : rebase_source : 967287969f7d8c52c7522f449de55e8f36dd3f35
2017-09-28 16:09:20 -07:00
Nicholas Nethercote
bbfec72b95 Bug 1406296 (part 3) - Remove the profiler's "gpu" feature. r=mstange,jrmuizel.
This allows a bunch of additional stuff to be removed: ContextStateTracker,
ContextStateTrackerOGL, and GPUMarkerPayload.

--HG--
extra : rebase_source : 879045a9f9ac31ca0beb596964c6c3ef30283a53
2017-10-06 17:35:44 +11:00
Nicholas Nethercote
4bedc03a3d Bug 1406296 (part 2) - Remove the profiler's "layersdump" feature. r=mstange.
Because it just doesn't control any behaviour within the profiler, and it just
duplicates gfxPrefs::LayersDumpTexture().

With this gone, PROFILER_FEATURE_ACTIVE can also be removed.

--HG--
extra : rebase_source : d6718894b8a9332cf73729ea6b7bd2de348817bd
2017-10-06 17:34:22 +11:00
Nicholas Nethercote
706daca552 Bug 1406296 (part 1) - Remove the profiler's "displaylistdump" feature. r=mstange.
It's not useful.

--HG--
extra : rebase_source : b18244b6f1e28b29f1f71a4cca55781316e2cdc5
2017-10-06 17:33:30 +11:00
Sylvestre Ledru
358507fde2 Bug 1406650 - Make build/*.py and a few other files flake8 compatible and add them to the list of files to check r=chmanchester
MozReview-Commit-ID: icmFJtbWdN

--HG--
extra : rebase_source : 7b2ef783822bcad7f955bad8cbd6cea6df588f92
2017-10-07 16:45:22 +02:00
Sylvestre Ledru
816ba0c177 Bug 1406668 - Make build/moz.configure/*.configure compliant to the pep8 format + add to the list of directories to check r=glandium
MozReview-Commit-ID: 89NxxGUVjHV

--HG--
extra : rebase_source : 278ceb2d7d31da086216288bd54688fe25faa03b
2017-10-12 15:22:59 +02:00
Sebastian Hengst
3980c1732a Backed out changeset 4dc78384cb58 (bug 1406668) for flake8 linting failures. r=backout
--HG--
extra : rebase_source : 20f93207038c76e2804f255e4ebfdd5e03a8f7cc
2017-10-12 15:08:35 +02:00
Sylvestre Ledru
a102c9f46a Bug 1406668 - Make build/moz.configure/*.configure compliant to the pep8 format + add to the list of directories to check r=glandium
MozReview-Commit-ID: 89NxxGUVjHV

--HG--
extra : rebase_source : 658301cb32e9c042cd1931456e4e7b8f475900bd
2017-10-11 16:28:29 +02:00
Sebastian Hengst
7a40cdf1bb Backed out changeset b526011049ee (bug 1406668) for linting failures. r=backout
--HG--
extra : amend_source : fe8373f9572300c7fd090f529c6957fbf905d9ef
2017-10-12 14:41:28 +02:00
Sylvestre Ledru
4e4de3339f Bug 1406668 - Make build/moz.configure/*.configure compliant to the pep8 format + add to the list of directories to check r=glandium
MozReview-Commit-ID: 89NxxGUVjHV

--HG--
extra : rebase_source : 3d22007ea6793961e7031603efe58cdc66e3c6c9
2017-10-11 16:28:29 +02:00
Ryan VanderMeulen
0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Sylvestre Ledru
20dc07df5f Bug 1406672 - check_macroassembler_style.py: add to the list of file to check r=ahal
MozReview-Commit-ID: 8BzsrTLcEY6

--HG--
extra : rebase_source : 7b01271fed086771df1720665ad1532ef8252812
2017-10-11 16:15:18 +02:00
Sylvestre Ledru
d1799c5b65 Bug 1406669 - Add the .configure extension to flake8 support r=ahal
MozReview-Commit-ID: ErnYnQMv5pj

--HG--
extra : rebase_source : 0ee34dd517f735220a950c1a1df1213625d7e417
2017-10-11 16:03:32 +02:00
Sylvestre Ledru
61e0724a88 Bug 1406666 - Add testing/*cppun*.py to the list of flake8 compliant code r=ahal
MozReview-Commit-ID: KWsXMRgy4XG

--HG--
extra : rebase_source : b6e82fcd6f5dfb9f823ac5d00c623387b7e95632
2017-10-07 19:45:12 +02:00
Edouard Oger
4397201c90 Bug 1407726 - Add reason field to push messages sent with /notify. r=tcsc
MozReview-Commit-ID: 3sRpheND9Wa

--HG--
extra : rebase_source : 23f7dffb920f9f9f14ccdd16f171c489f36745cc
2017-10-11 14:58:21 -04:00
Andrew Halberstadt
7532e51ef9 Bug 1406777 - Support --message and --no-push with |mach try empty|, r=armenzg
This adds all the common arguments to |mach try empty|, including preset
arguments which will just be ignored if specified. The commit message can be
changed with:
./mach try empty -m DONTBUILD

MozReview-Commit-ID: 5RYfLBOIX1g

--HG--
extra : rebase_source : 412cbc50c2901a97893779a73a7f70d5ee6e2d72
2017-10-11 15:45:08 -04:00
Sebastian Hengst
051f888cef Backed out changeset 759a43ebc6bf (bug 1405541) for asserting in devtools/client/performance/test/browser_perf-console-record-03.js on Windows 7. r=backout
--HG--
extra : amend_source : 3df3e75c561cbc42db104ec1a6f6026ef021e3c7
2017-10-11 13:15:26 +02:00
Nicholas Nethercote
add7e65972 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 53c8b43b6a1be06d00618a133e28bf95c46a3ba3
2017-10-11 13:03:34 +02:00
Phil Ringnalda
bd5ca8f40d Backed out changeset 901a16fec9fc (bug 1405541) for Windows assertion failures
MozReview-Commit-ID: DRGWXU4Tbfk
2017-10-10 23:28:33 -07:00
Nicholas Nethercote
b23fb68ae3 Bug 1405541 - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive.

This patch splits that macro into three new ones that are harder to mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 59f77df0124249bfd11fee3585420a17b4201d37
2017-10-04 13:44:24 +11:00
Nicholas Nethercote
d90b841ba7 Bug 1405921 - Remove StackTop.{h,cpp}. r=mstange.
The platform-*.cpp files are a better place for GetStackTop().

--HG--
extra : rebase_source : eec7c038f45f002a62807d1e0033a76fcb17501e
2017-10-05 11:57:22 +11:00
Peter Van der Beken
772f1ee5da Bug 1383059 - Remove instanceof for supplemental interfaces. Part 2: remove support for supplemental interfaces in instanceof code and remove unnecessary ChromeWindow interface. r=bz.
--HG--
extra : rebase_source : e8ce446e7f1844c6d1d352896873cbb865837632
extra : source : 944786dca81aed2e480562694bfabc6e5fbf1266
2017-07-05 23:01:04 +02:00
Sebastian Hengst
aa78440a09 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EE6DcCgHufi
2017-10-09 11:19:20 +02:00
Nicholas Nethercote
8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
Nicholas Nethercote
74e64bcaa2 Bug 1403868 (part 3) - Rename the profiler's RAII macros. r=mstange.
--HG--
extra : rebase_source : 468a76da39dbc18c5eb9136553d73ca3cec080cf
2017-10-03 19:48:34 +11:00
Nicholas Nethercote
cbc9fbb2bf Bug 1403868 (part 2) - Tweak profiler_tracing(). r=mstange.
This patch does the following.

- Makes the TracingKind argument non-optional.

- Puts the UniqueProfilerBacktrace argument last in the second variant.

- Reorders AutoProfilerTracing to match the order of the profiler_tracing()
  declarations.

--HG--
extra : rebase_source : 8e9acdaf777c642cd854570771a3f96da6d524d1
2017-10-03 19:48:10 +11:00
Nicholas Nethercote
93c60b0d95 Bug 1403868 (part 1) - Remove argument from AutoProfilerInit(). r=mstange.
We can use |this| instead, as is already done in AutoProfilerRegisterThread().

--HG--
extra : rebase_source : c79716443cb8483f078d1d3d6a87d25a8d3d5445
2017-10-03 19:47:44 +11:00
Markus Stange
b863abefa9 Bug 1406492 - Fix TaskTracer build after bug 1404147. r=njn
MozReview-Commit-ID: CerCYhAmEI8

--HG--
extra : rebase_source : a73fe72018541ee66d8e46b9bd1fb6beffb14144
2017-10-04 23:30:38 -04:00
Nicholas Nethercote
d225f7151b Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Tom Prince
106f7e2a00 Bug 1405068: Don't use Cwd::abs_path in unwrap_full_update.pl. r=bhearsum
It is broken on the version of perl on the legacy buildbots, which is the only
place that this branch of the code runs.

MozReview-Commit-ID: 1Urw6mNOEHf

--HG--
extra : rebase_source : d599484b0f2062b7e3178e761c80b620624852a3
2017-10-02 12:25:05 -06:00
Tom Prince
031841670d Bug 1405068: Don't use a shell for running subcommands in unwrap_full_update.pl. r=bhearsum
MozReview-Commit-ID: JDhndUIhOT1

--HG--
extra : rebase_source : 5e072046f53127c04ee60292247139c2e1c0ac19
2017-10-02 12:21:55 -06:00
Tom Prince
bed30dcd29 Bug 1405068: Look for xz.exe at the root of a checkout when making incremental updates. r=bhearsum
MozReview-Commit-ID: 8R5kY8cntMc

--HG--
extra : rebase_source : fbe8d80519a8d46fea989bdefb7b2b1436a1a5f5
2017-10-02 11:59:36 -06:00
Dan Banner
14ad0fcb62 Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8
MozReview-Commit-ID: LJS6m1GppiS

--HG--
extra : rebase_source : 4a14e3309b7d554d9a1aa0d26f464e26bec3291e
2017-09-18 19:07:17 +01:00
Kris Maglione
3676137220 Bug 1404172: Remove MatchPattern.jsm. r=aswan
MozReview-Commit-ID: ItGMuChHS3z

--HG--
rename : toolkit/modules/addons/MatchPattern.jsm => toolkit/modules/addons/MatchURLFilters.jsm
extra : rebase_source : 986542ba4270799ca1d213d5b4807d12ab7ac148
2017-09-28 18:27:44 -07:00
Tom Ritter
6d14b17623 Bug 1404147 Convert tid_t to integer on all platforms to resolve signed/unsigned comparison warnings r=njn
MozReview-Commit-ID: G5E3GpELkPs

--HG--
extra : rebase_source : fcc611e9face0583a5ad2ad46fad38f270b1cb03
2017-10-03 23:04:24 -05:00
Sebastian Hengst
59aaffbcda Backed out changeset 9264d5789f76 (bug 1397849) for import failures, e.g. in mochitests and xpcshell tests. r=backout 2017-10-04 15:25:07 +02:00
Steve Armand
50c9b712c0 Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 19f47b7f5854b7ee25d9779622ce4cd734ac15e5
2017-09-25 22:57:18 -04:00
Andrew Halberstadt
cb9156b339 Bug 1401199 - [tryselect] Pass in strict=False when generating tasks, r=dustin
MozReview-Commit-ID: 9XWlLeGcPeQ

--HG--
extra : rebase_source : 05dbf742089e857eb697736ee6a6619192c07365
2017-09-29 11:36:42 -04:00
Andi-Bogdan Postelnicu
88b1f10b9f Bug 1402302 - sync checkers for static-analysis with the mozreview bot. r=sylvestre
MozReview-Commit-ID: I5rn4DEXGOK

--HG--
extra : rebase_source : 049079671c84a670718cf2efa2bd1a8c851446cc
2017-09-30 14:54:58 +03:00
Wes Kocher
2d79871195 Backed out changeset 048af66f7711 (bug 1402302) for lint issues in config.yaml a=backout
MozReview-Commit-ID: 8vkN5D8YVks
2017-09-29 14:23:59 -07:00
Andi-Bogdan Postelnicu
c182f3e18d Bug 1402302 - sync checkers for static-analysis with the mozreview bot. r=sylvestre
MozReview-Commit-ID: I5rn4DEXGOK

--HG--
extra : rebase_source : 880d5ed66b45ca3de83b12561bf1a75eb5f1b198
2017-09-29 23:48:19 +03:00
Andrew Halberstadt
776ed09b77 Bug 1404067 - [tryselect] Improve error message on parameter mismatch, r=dustin
MozReview-Commit-ID: GMiGuNApoUF

--HG--
extra : rebase_source : 326df920793b54806cd4423ec0bf0e20df6cd42d
2017-09-28 15:25:34 -04:00
Andrew Halberstadt
8dd527bf64 Bug 1401309 - Add python/mozversioncontrol to flake8 linter, r=gps
MozReview-Commit-ID: KuyEYa3Mbgd

--HG--
extra : rebase_source : cd3c111432de83d19004946c491f10959fd6d675
2017-09-20 10:02:26 -04:00
Sebastian Hengst
73fac0091d Backed out changeset dbe60b600dc0 (bug 1397853) for failining linter py-compat at testing/mochitest/runtests.py:2236. r=backout 2017-09-28 14:58:36 +02:00
Steve Armand
f8318d16e8 Bug 1397853 - Enable py2 and py3 linter on testing/mochitest. r=ahal
MozReview-Commit-ID: EhkNhyFHDox

--HG--
extra : rebase_source : 5200a985034c7ca0a494bc7d02a4c842e85dec3a
2017-09-24 21:28:25 -04:00
Jan Keromnes
1851e61177 Bug 1403527 - Add third-party URL Classifier sources to ThirdPartyPaths.txt. r=andi, r=sylvestre 2017-09-27 04:42:00 -04:00