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

1093 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow 60bb825151 Bug 1594963 - Add do_report_result to XPCShell test globals. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D52298

--HG--
extra : moz-landing-system : lando
2019-11-08 08:10:30 +00:00
rfkelly 048a518c75 Bug 1591312 - Revert to using BrowserID to generate OAuth tokens. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D50770

--HG--
extra : moz-landing-system : lando
2019-11-08 06:28:54 +00:00
Ed Lee 42ee4fc91a Bug 1590328 - [mozlint] Include mozbuild path now that mozversioncontrol uses it r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D52254

--HG--
extra : moz-landing-system : lando
2019-11-08 02:46:44 +00:00
Arthur Iakab 16715b47b8 Bug 1593071 - Fix for the license lint failure. r=RyanVM 2019-11-08 00:27:16 +02:00
Thomas Wisniewski dea46a2eed Bug 1589182 - remove mobile/android/extensions/ and /mobile/android/chrome/content (Fennec leftovers); r=snorp,agi
Remove mobile/android/extensions/ and /mobile/android/chrome/content from mozilla-central (Fennec leftovers)

Differential Revision: https://phabricator.services.mozilla.com/D51194

--HG--
extra : moz-landing-system : lando
2019-11-04 20:32:10 +00:00
Andrew Halberstadt 3e56188d46 Bug 1591977 - [lint.rustfmt] Don't print issues if --fix is passed in, r=sylvestre
This matches the behaviour of the other linters.

Depends on D50822

Differential Revision: https://phabricator.services.mozilla.com/D50823

--HG--
extra : moz-landing-system : lando
2019-10-30 21:30:10 +00:00
Andrew Halberstadt d4533429eb Bug 1591977 - [lint.rustfmt] Fix error when running 'mach lint -l rustfmt --fix', r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D50822

--HG--
extra : moz-landing-system : lando
2019-10-30 21:30:27 +00:00
Julian Descottes c87fb76740 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

Differential Revision: https://phabricator.services.mozilla.com/D50465

--HG--
extra : moz-landing-system : lando
2019-10-30 08:31:16 +00:00
Gurzau Raul 29cef09b45 Backed out 2 changesets (bug 1591013) for eslint failure at inspector/node.js on a CLOSED TREE.
Backed out changeset 5d53ab2f3152 (bug 1591013)
Backed out changeset d888aded0e70 (bug 1591013)
2019-10-30 00:56:04 +02:00
Julian Descottes a2bad4c3c2 Bug 1591013 - Support lazyImporter in reject-some-requires r=Standard8,nchevobbe
Depends on D50466

reject-some-requires only supports require/lazyRequireGetter at the moment
We still have a few call sites for lazyImporter, even though they probably should be
migrated to lazyRequireGetter IMO.

Differential Revision: https://phabricator.services.mozilla.com/D50465

--HG--
extra : moz-landing-system : lando
2019-10-29 22:10:00 +00:00
prathiksha f70c312dac Bug 1563355 - Remove AboutNetErrorSetAutomatic and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler.jsm. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46154

--HG--
extra : moz-landing-system : lando
2019-10-28 20:38:45 +00:00
Andrew Halberstadt 6368d98850 Bug 1591195 - [lint.shellcheck] Ensure shellcheck subprocess output is returned as text, r=sylvestre
This also adds a test which would have caught the issue.

Differential Revision: https://phabricator.services.mozilla.com/D50621

--HG--
extra : moz-landing-system : lando
2019-10-25 17:41:24 +00:00
Nicolas Chevobbe d76b60f122 Bug 1519103 - Remove Scratchpad panel. r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D50583

--HG--
extra : moz-landing-system : lando
2019-10-27 09:05:58 +00:00
Sylvestre Ledru ba7c03e388 Bug 1590310 - Hide the copyright section by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D50028

--HG--
extra : moz-landing-system : lando
2019-10-22 17:37:38 +00:00
Mihai Alexandru Michis c59792871c Bug 1587180 - Fix linting issue regarding tools/lint/libpref/__init__.py a=lint-fix 2019-10-21 23:47:26 +03:00
Kristen Wright 5eac06f458 Bug 1587180 - 4. Write a test for Lintpref r=ahal
Adds a test for Lintpref and two test files. Also makes some adjustments to `lintpref.yml` to improve support file loading.

Differential Revision: https://phabricator.services.mozilla.com/D49674

--HG--
extra : moz-landing-system : lando
2019-10-21 19:23:08 +00:00
Kristen Wright e1a7b2036e Bug 1585421 - Expand the usage of Lintpref into more pref files r=ahal
Adds the filepaths of more pref files to Lintpref as well as to its TaskCluster entry. All of the pref files added are noted in bug 1585421.

Differential Revision: https://phabricator.services.mozilla.com/D49363

--HG--
extra : moz-landing-system : lando
2019-10-18 22:31:38 +00:00
Kristen Wright a3b1f5c4f4 Bug 1587180 - 3. Have lintpref understand the value field r=glandium
Teaches Lintpref to look at `value` matches when considering possible duplicates.

Differential Revision: https://phabricator.services.mozilla.com/D49362

--HG--
extra : moz-landing-system : lando
2019-10-18 22:31:38 +00:00
Kristen Wright d816dae614 Bug 1587180 - 2. Improve Lintpref's pattern-matching r=glandium
Replaces the basic pattern-matching in the linter with a more robust regexp. This regexp can strip `name` and `value` from the pref, which will be useful in part 3 of bug 1587180.

Differential Revision: https://phabricator.services.mozilla.com/D49361

--HG--
extra : moz-landing-system : lando
2019-10-17 23:26:36 +00:00
Kristen Wright 4f72d58f26 Bug 1587180 - 1. Have Lintpref look for the files included in Lintpref.yml. r=ahal
Rather than statically loading the path to `all.js`, Lintpref should look at any file paths in `lintpref.yml`. Also added the `path` field to each error to accommodate multiple files, and a few other code tidiness cleanups.

Differential Revision: https://phabricator.services.mozilla.com/D48626

--HG--
extra : moz-landing-system : lando
2019-10-16 00:06:25 +00:00
Tom Tung a55521f246 Bug 1587394 - Bypass the lint check for the pref; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D49745

--HG--
extra : moz-landing-system : lando
2019-10-21 14:48:04 +00:00
Nicolas Chevobbe 02cfc079ff Bug 1588999 - Rename ObjectClient to ObjectFront. r=ochameau.
The object-client.js file is now a proper protocol.js front,
but is still named after a client.
This is confusing, so we rename and move the file next to other
fronts, and update all consumers to the new terminology.

Differential Revision: https://phabricator.services.mozilla.com/D49878

--HG--
rename : devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/object-client.js => devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/object-front.js
rename : devtools/shared/client/object-client.js => devtools/shared/fronts/object.js
extra : moz-landing-system : lando
2019-10-21 12:07:10 +00:00
Kristen Wright 3d06abd056 Bug 1588650 - Remove duplicate prefs from mobile.js r=njn
Removes all of the duplicate prefs from mobile.js and StaticPrefList.yaml where the `value` field is the same. Carries over comments from mobile.js where needed.

Differential Revision: https://phabricator.services.mozilla.com/D49357

--HG--
extra : moz-landing-system : lando
2019-10-17 23:24:14 +00:00
Mark Banner dcfbcb56d7 Bug 1588872 - Enable ESLint rule mozilla/prefer-boolean-length-check by default, disable for failing locations. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D49437

--HG--
extra : moz-landing-system : lando
2019-10-16 20:11:31 +00:00
Sylvestre Ledru 0c43e713ef Bug 1588523 - add links to the sources everywhere r=ahal
Depends on D49162

Differential Revision: https://phabricator.services.mozilla.com/D49163

--HG--
extra : moz-landing-system : lando
2019-10-16 07:51:59 +00:00
Sylvestre Ledru 75b3cfde64 Bug 1588523 - Document the autofix when existing r=ahal
Depends on D49161

Differential Revision: https://phabricator.services.mozilla.com/D49162

--HG--
extra : moz-landing-system : lando
2019-10-16 07:50:52 +00:00
Sylvestre Ledru 0e8bbb9060 Bug 1588523 - Provide doc for the codespell, file-perm, file-whitespace, etc linters r=ahal
Depends on D49160

Differential Revision: https://phabricator.services.mozilla.com/D49161

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:47 +00:00
Sylvestre Ledru 7491daaf08 Bug 1588523 - Improve the mozlint doc (various changes) r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49160

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:22 +00:00
Edwin Takahashi af0fda47bc Bug 1559977 - Remove tools/rb from py3/py2 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35238

--HG--
extra : moz-landing-system : lando
2019-10-15 20:58:35 +00:00
Greg Tatum b4b444658c Bug 1586757 - Rename .jsm files to .jsm.js to allow type checking; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D47911

--HG--
rename : devtools/client/performance-new/popup/background.jsm => devtools/client/performance-new/popup/background.jsm.js
rename : devtools/client/performance-new/popup/menu-button.jsm => devtools/client/performance-new/popup/menu-button.jsm.js
extra : moz-landing-system : lando
2019-10-08 20:48:04 +00:00
Edouard Oger da3f0d0753 Bug 1581709 - Use sessionTokens for OAuth requests. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46517

--HG--
extra : moz-landing-system : lando
2019-10-08 15:45:06 +00:00
Razvan Maries 9c27546918 Backed out changeset 6852bdb8d8c5 (bug 1581709) for Linting failures. CLOSED TREE 2019-10-08 18:42:11 +03:00
Edouard Oger 1093781abc Bug 1581709 - Use sessionTokens for OAuth requests. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46517

--HG--
extra : moz-landing-system : lando
2019-10-08 14:19:11 +00:00
Sylvestre Ledru 21aca79eb1 Bug 1562642 - Cleanup the js exclude list + add a new string in the list of valid license r=andi
Differential Revision: https://phabricator.services.mozilla.com/D48308

--HG--
extra : moz-landing-system : lando
2019-10-08 08:36:33 +00:00
Sylvestre Ledru 2e9f376728 Bug 1586678 - Remove media/audioipc from the license exclude list r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D48305

--HG--
extra : moz-landing-system : lando
2019-10-07 14:44:12 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

Differential Revision: https://phabricator.services.mozilla.com/D46536

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Andrew Halberstadt f80662b1b5 Bug 1585702 - [lint] Remove temporary hacks now that 'null character' issue is fixed, r=gbrown
Depends on D48113

Differential Revision: https://phabricator.services.mozilla.com/D48209

--HG--
extra : moz-landing-system : lando
2019-10-04 19:13:04 +00:00
Ed Lee 6272276bf4 Bug 1585734 - [lint] Make sure codespell, rst and yaml run with virtualenv python r=ahal
Use mozfile.which to get the correct python for this environment.

Differential Revision: https://phabricator.services.mozilla.com/D48121

--HG--
extra : moz-landing-system : lando
2019-10-04 17:45:39 +00:00
Andrew Halberstadt cf49e5a898 Bug 1585751 - [lint.wpt] Work around mozprocess Windows + Python 3 bug, r=jgraham
Depends on D47975

Differential Revision: https://phabricator.services.mozilla.com/D47976

--HG--
extra : moz-landing-system : lando
2019-10-03 13:17:34 +00:00
Andrew Halberstadt 522d192cd4 Bug 1585751 - [lint.wpt] Fix Python 3 error processing 'wpt' output, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D47975

--HG--
extra : moz-landing-system : lando
2019-10-03 08:33:15 +00:00
Andrew Halberstadt a26feaed9e Bug 1585385 - [lint] Make sure hooks run |mach lint| with Python 3, r=mars
Differential Revision: https://phabricator.services.mozilla.com/D47807

--HG--
extra : moz-landing-system : lando
2019-10-02 16:23:59 +00:00
Andrew Halberstadt d919d558a3 Bug 1585565 - [lint.eslint] Work around mozprocess Windows + Python 3 bug, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47925

--HG--
extra : moz-landing-system : lando
2019-10-02 15:45:34 +00:00
Gijs Kruitbosch 438b65574e Bug 1585565 - fix package.json loading in eslint setup to always use utf-8 instead of system encoding, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47883

--HG--
extra : moz-landing-system : lando
2019-10-02 13:07:37 +00:00
Andrew Halberstadt d3eae4b83c Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:41 +00:00
Sylvestre Ledru bae04a811a Bug 1579845 - Add a test to the mozlint check: license r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45873

--HG--
extra : moz-landing-system : lando
2019-09-30 14:56:12 +00:00
Sylvestre Ledru 1b9161eb05 Bug 1579845 - ride along: codespell Add support of exclude: r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45489

--HG--
extra : moz-landing-system : lando
2019-09-30 13:44:55 +00:00
Oana Pop Rus 4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Andrew Halberstadt fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
Boris Zbarsky 7ccdf0a53c Bug 1574201. Remove support for IDL "implements" statements. r=edgar
A bunch of loop-detection, etc, complexity goes away because mixins are not
interfaces and the mixin syntax does not allow various things we had to guard
against in terms of maplikes and whatnot.

Differential Revision: https://phabricator.services.mozilla.com/D46524

--HG--
extra : moz-landing-system : lando
2019-09-25 19:59:00 +00:00
Eitan Isaacson 885a031613 Bug 1564549 - Remove AccessFu. r=geckoview-reviewers,yzen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D45604

--HG--
extra : moz-landing-system : lando
2019-09-24 19:28:28 +00:00