Commit Graph

932 Commits

Author SHA1 Message Date
Calixte Denizet
8cff6b528a Bug 1559975 - Fix python3 lint issues on servo r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35247

--HG--
extra : moz-landing-system : lando
2019-07-05 14:29:44 +00:00
Edwin Gao
e8ea0ad451 Bug 1559975 - Fix python3 lint issues on js/src, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35243

--HG--
extra : moz-landing-system : lando
2019-07-05 14:34:55 +00:00
Victor Porof
726678d4e7 Bug 1563300 - Add a js-format git commit hook, r=sylvestre, CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36816

--HG--
extra : source : 53377e8c3200b2f25ec6f3471632353d7d5f7d88
extra : amend_source : c16d0b9dcced844fa50095e04bad9519713854b3
extra : intermediate-source : 01f1c9d343947743bfd033bcfbb344dcee4b76fc
2019-07-04 14:50:06 +02:00
Victor Porof
472d3c137a Bug 1561435 - Fix linting errors for tools/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 7082771b68989e7acb642a73d223fbe58f84def9
extra : intermediate-source : f2aff116f1d73052541a6095f3d8c8f0e7cf5340
2019-06-28 22:52:16 +02:00
Victor Porof
5c7cdbd4ba Bug 1561435 - Format tools/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : d214f0c82813e5a8d3987debc490a2c11f1308ff
2019-07-05 11:18:19 +02:00
Victor Porof
10375c0418 Bug 1558517 - Pre 7: Bump eslint-plugin-mozilla version, r=standard8, CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36989

--HG--
extra : source : 6d8fe93037b81be9112f6af2dbe1ca119faa059a
extra : amend_source : 22cbff1c11fa4ed7a0bce2b0f353ee02d1f14093
extra : intermediate-source : 700f28b61fa9701251b5f1e0e62be06e0688172c
2019-07-04 15:37:28 +02:00
Victor Porof
cda7f0dcb0 Bug 1558517 - Pre 3.2: Disable conflicting eslint:recommended rules by extending eslint-config-prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34536

--HG--
extra : source : d380852a85aeaa9c94a073babfb238976a2a92d6
extra : intermediate-source : 895bba67b824070da27360a49578b938636d72f5
2019-06-11 16:07:08 +02:00
Victor Porof
34da32ec3c Bug 1558517 - Pre 3.1: Change conflicting "camelcase" rule which would fail after running Prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34695

--HG--
extra : source : 078747ad644246551a165a176a691e0440553c85
extra : intermediate-source : 3b39b237ae3c49eb6c9d56a2ef8bfb5134b878da
2019-06-12 11:43:25 +02:00
Victor Porof
b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Victor Porof
cb98e2f464 Bug 1558517 - Pre 2: Move the **/*.*html overrides to recommended.js, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34534

--HG--
extra : source : ed2cf27ca3ec535e1dbc634f3a603ad41678e646
extra : intermediate-source : 9b1f833b858f9bcdeed1fd7cd45d3fe051748712
2019-06-11 14:30:40 +02:00
Victor Porof
f64de7f91e Bug 1558517 - Pre 1: Add eslint-plugin-fetch-options as a peer dependency, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34533

--HG--
extra : source : 18abd00a8919909a5c51fdb906a18de21310ff28
extra : intermediate-source : b86586c6a5995f7ea2fbe07ebdf9db402d26f94b
2019-06-19 13:52:53 -07:00
Victor Porof
41fa633fdd Bug 1558517 - Pre 0: Prevent circular dependencies between the top-level .eslintrc and eslint-plugin-mozilla, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34532

--HG--
extra : source : a5c75883cb8fd56f92d984a4323ee5b8f8bb8e76
extra : intermediate-source : 81d50b2acc5cb1dbd0b81fc89a90200890b4187f
2019-06-12 11:12:04 +02:00
Brian Grinstead
5786770250 Bug 1562956 - eslint: allow dash in tag names in xul documents;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36808

--HG--
extra : moz-landing-system : lando
2019-07-04 11:18:47 +00:00
Ed Lee
c863d3c77b Bug 1555450 - Remove locale-specific behavior when fully fluent (no longer using properties/json) r=k88hudson
Depends on D36764

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

--HG--
rename : browser/components/newtab/prerendered/static/activity-stream-debug.html => browser/components/newtab/prerendered/activity-stream-debug.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream-noscripts.html => browser/components/newtab/prerendered/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream.html => browser/components/newtab/prerendered/activity-stream.html
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Edwin Gao
6b9a6ec54c Bug 1559975 - convert testing/tps to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35328

--HG--
extra : moz-landing-system : lando
2019-07-02 18:04:40 +00:00
Edwin Gao
1fd0b4e594 Bug 1559975 - convert testing/awsy to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35327

--HG--
extra : moz-landing-system : lando
2019-07-02 17:26:13 +00:00
Maliha Islam
2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Zibi Braniecki
b0ba25f8b9 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584

--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Simon Fraser
d0608d0c0a Bug 1559980 Remove python/safety from py3 linting r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D35242

--HG--
extra : moz-landing-system : lando
2019-06-26 20:57:21 +00:00
Armen Zambrano G.
53bd62e369 Bug 1559975 - Python3 linting changes for raptor r=Callek,rwood
Differential Revision: https://phabricator.services.mozilla.com/D35252

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:14 +00:00
Nick Thomas
1048178580 Bug 1559975 - enable py2 and py3 linting in memory r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35251

--HG--
extra : moz-landing-system : lando
2019-06-28 18:53:28 +00:00
Marco Castelluccio
52be340076 Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-28 13:47:57 +00:00
Mark Banner
12326bcf8b Bug 1542246 - Add initial documentation for the new Search Engine configuration format. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D34144

--HG--
extra : moz-landing-system : lando
2019-06-28 15:23:00 +00:00
Marco Castelluccio
41559f0e29 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:53 +00:00
Marco Castelluccio
1ca0405e1a Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:55 +00:00
Chris AtLee
edfd451e75 Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:47 +00:00
Chris Manchester
4158f69bc1 Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:51 +00:00
Mihai Alexandru Michis
9852c55d11 Backed out 5 changesets (bug 1559982, bug 1559975) for cpp unit test failures due to unsupported operand type. CLOSED TREE
Backed out changeset 2309aac6cea3 (bug 1559975)
Backed out changeset bf5a6d853abd (bug 1559975)
Backed out changeset 0c36f78c971a (bug 1559975)
Backed out changeset 0560cf7df7dc (bug 1559975)
Backed out changeset 4cb64ca524e7 (bug 1559982)
2019-06-27 02:03:31 +03:00
prathiksha
70eb996035 Bug 1555438 - Add support to get appBuildID in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33063

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:42 +00:00
prathiksha
71e6682344 Bug 1555438 - Add support for getIntPref in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33062

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:32 +00:00
Marco Castelluccio
ed545ba83e Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-26 15:31:24 +00:00
Marco Castelluccio
cad5dfda57 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 18:25:18 +00:00
Marco Castelluccio
9ef2872276 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-26 16:09:56 +00:00
Chris AtLee
2735dd4a00 Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Chris Manchester
89a6a2647d Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Dorel Luca
d85302a490 Backed out 3 changesets (bug 1559975) for Build bustage. CLOSED TREE
Backed out changeset bdb15150dc59 (bug 1559975)
Backed out changeset 16efad631029 (bug 1559975)
Backed out changeset d72bc2063456 (bug 1559975)
2019-06-24 23:42:34 +03:00
Bastien Abadie
be17d14cb5 Bug 1559975 - Fix python3 lint issues on js/src, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35243

--HG--
extra : moz-landing-system : lando
2019-06-24 16:55:05 +00:00
Marco Castelluccio
6af2d64066 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:01 +00:00
Chris AtLee
f9fda033ba Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:55 +00:00
Mark Banner
fc492ced11 Bug 1464007 - Specify the 'html' plugin in .eslintrc.js by default for better editor integration. r=mossop
This moves the html plugin enabling from the ./mach command line to the configuration, which means editors can pick this up automatically.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 21:33:34 +00:00
Mathieu Leplatre
a102f01554 Bug 1543598 - Move OneCRL and Pinning blocklist clients out of services r=jcj,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32297

--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => security/manager/ssl/tests/unit/test_blocklist_onecrl.js
rename : services/common/tests/unit/test_blocklist_pinning.js => security/manager/ssl/tests/unit/test_blocklist_pinning.js
extra : moz-landing-system : lando
2019-06-11 10:14:40 +00:00
Victor Porof
1b8a37fd24 Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D33303

--HG--
extra : moz-landing-system : lando
2019-06-07 14:20:09 +00:00
Zibi Braniecki
a49f5263f1 Bug 1552714 - Fix tests to compare the result of getAttributes against L10nKeys. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33740

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:09 +00:00
Andrei Oprea
6c4e640dae Bug 1553926 - Add fetch-options eslint plugin to mozilla central r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D32723

--HG--
extra : moz-landing-system : lando
2019-06-06 11:31:20 +00:00
Brian Grinstead
8917b90c82 Bug 1553188 - Part 3 - Support eslint for browser.xhtml;r=Standard8
Since it's not a xul document anymore we can't rely on the xul.js lint preprocessor.
This means we need to remove preprocessor attributes from inline scripts, and tell
lint about the browser window environment.

Differential Revision: https://phabricator.services.mozilla.com/D33207
2019-05-30 09:30:21 -07:00
Sylvestre Ledru
ddeb921733 Bug 1554406 - rustfmt: Remove servo from the list (not green yet) r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32681

--HG--
extra : moz-landing-system : lando
2019-05-27 15:25:47 +00:00
Sylvestre Ledru
c016ea09a2 Bug 1554111 - Add js/src/wasm/cranelift/src/ to the rustfmt list r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D32437

--HG--
extra : moz-landing-system : lando
2019-05-27 07:22:04 +00:00
Sylvestre Ledru
d4a0ba5010 Bug 1554115 - mozlint rustfmt should fail if using the old rustfmt version r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32439

--HG--
extra : moz-landing-system : lando
2019-05-24 21:53:58 +00:00
Sylvestre Ledru
d1fc7c3609 Bug 1551078 - Add rustfmt as part of mozlint r=ahal
Two use cases:

1) Show the errors
$ ./mach lint -l rustfmt js/rust/src/rust.rs

Also works on a directory:
$ ./mach lint -l rustfmt js/rust/src/

2) Update the code
$ ./mach lint -l rustfmt js/rust/src/rust.rs --fix

To install it:
$ rustup component add rustfmt
$ export PATH=$PATH:~/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/

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

--HG--
extra : moz-landing-system : lando
2019-05-23 17:26:05 +00:00
Sylvestre Ledru
f793b0ae36 Bug 1553060 - Enable codespell on ftl files r=ahal
Depends on D31967

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

--HG--
extra : moz-landing-system : lando
2019-05-22 12:08:46 +00:00