Commit Graph

537 Commits

Author SHA1 Message Date
Kagami Sascha Rosylight
102bd338be Bug 1695435 - Part 2: Add more words to the chrome script heuristic in use-isInstance r=preferences-reviewers,Gijs,webdriver-reviewers,whimboo,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D110932
2022-08-24 22:47:42 +00:00
Zeid
e76495fa20 Bug 1780356: list toplevel at the top of the list r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D154545
2022-08-23 14:16:58 +00:00
Zeid
6775468e9f Bug 1780354: update mots.yaml with better template r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D154544
2022-08-23 14:16:58 +00:00
Marian-Vasile Laza
e9caca8307 Bug 1785311 - lint fix r=fix CLOSED TREE 2022-08-23 03:15:08 +03:00
Chris Martin
454fbbd0c0 Bug 1786419 - Fix macOS X build doc to workaround bad versions of tools r=ahochheiden DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D155291
2022-08-22 22:53:07 +00:00
Kagami Sascha Rosylight
a41415cb68 Bug 1695435 - Part 1: Use isInstance in XUL files r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D154841
2022-08-22 18:34:44 +00:00
Nika Layzell
4011409c5d Bug 1783282 - Use a custom attribute instead of derive for implementing xpcom interfaces in rust, r=xpcom-reviewers,necko-reviewers,dragana,barret
Differential Revision: https://phabricator.services.mozilla.com/D153801
2022-08-18 13:57:35 +00:00
Sylvestre Ledru
128c74caac Bug 1785451 - Ride along: Fix some typos r=linter-reviewers,fluent-reviewers,geckoview-reviewers,extension-reviewers,keeler,rpl,calu,ahal,flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154946
2022-08-18 07:29:08 +00:00
Mike Hommey
555c3cf18f Bug 1695828 - Update the Rust Update Policy to reflect the current practices. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D154709
2022-08-16 19:54:06 +00:00
Mike Hommey
656eca9622 Bug 1783985 - Bump MSRV to 1.61.0. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D154340
2022-08-16 00:56:23 +00:00
Sylvestre Ledru
6b782ad093 no bug - mots doc: update to use https by default r=zeid DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154295
2022-08-12 07:28:24 +00:00
André Bargull
60863b7187 Bug 1783404: Support --fix option when eslint-plugin-spidermonkey-js is used. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D153843
2022-08-12 06:10:55 +00:00
Mike Hommey
d7b5eb99c2 Bug 1783782 - Update builders to rustc 1.63.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D154177
2022-08-11 19:47:57 +00:00
Max Smolens
8596bc0440 Bug 1617103 - Add documentation for yamllint. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D154108
2022-08-09 19:13:45 +00:00
André Bargull
96daf134a0 Bug 1782491 - Part 1: Add self-hosted code environment plugin. r=tcampbell
Adds a simple ESLint plugin for custom environments.

The plugin has a single exported value named `globals`, which is an object with
keys for all globally available self-hosted identifiers. All self-hosted values
are read-only, so we set all properties of `globals` to `"readonly"`.

BytecodeEmitter special identifiers are added to the `.eslintrc.js` file,
because that keeps them closer to the SpiderMonkey source tree when compared
to "tools/lint/eslint/eslint-plugin-spidermonkey-js".

Also see:
- tools/lint/eslint/eslint-plugin-mozilla/lib/environments/
- https://eslint.org/docs/latest/user-guide/configuring/language-options

Differential Revision: https://phabricator.services.mozilla.com/D153337
2022-08-05 09:58:58 +00:00
Ben Dean-Kawamura
f4102dd546 Bug 1766045 - Document generating JS bindings with UniFFI r=teshaq,markh
Differential Revision: https://phabricator.services.mozilla.com/D144470
2022-08-03 18:59:37 +00:00
Butkovits Atila
a8ad39a288 Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE
Backed out changeset 113593df6272 (bug 1766045)
Backed out changeset f137315bb6af (bug 1766045)
Backed out changeset d86ad195a9a0 (bug 1766045)
Backed out changeset e8bc2ec40cff (bug 1766045)
Backed out changeset 2d33e41ac507 (bug 1766045)
Backed out changeset 4d5874e16302 (bug 1766045)
2022-08-03 17:40:30 +03:00
Ben Dean-Kawamura
4fb87acec7 Bug 1766045 - Document generating JS bindings with UniFFI r=teshaq,markh
Differential Revision: https://phabricator.services.mozilla.com/D144470
2022-08-03 13:48:29 +00:00
Mark Banner
4ed899ee38 Bug 1782008 - Add existing test directories to the ESLint test path definition file. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152735
2022-08-03 11:16:19 +00:00
Mathew Hodson
3d04063622 Bug 1782855 - Add MSVC to required list for Windows build docs. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D153545
2022-08-03 09:43:32 +00:00
Dan Robertson
6d3555163e Bug 1782274 - mots: add hiro and dlrobertson to APZ peers. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D153234
2022-07-29 19:13:57 +00:00
Tooru Fujisawa
de340512f3 Bug 1779988 - Part 2: Add ESLint rule that rejects multiple ChromeUtils.defineESModuleGetters call on the same object. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D152880
2022-07-28 00:54:20 +00:00
Nika Layzell
c1e984d0c6 Bug 1779326 - Handle a few more native types in rust-xpidl, r=xpcom-reviewers,kmag
This makes the logic for the rust type line up a bit more with the C++
logic for existing types, and adds support for 'char' and 'char16_t'
native types (for 'charPtr').

This specifically enables `nsIInputStream::Read` to be used from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D152715
2022-07-27 14:09:52 +00:00
Butkovits Atila
99f074b50f Backed out changeset d4dae48f386a (bug 1779326) for causing build bustages. CLOSED TREE 2022-07-27 02:28:37 +03:00
Nika Layzell
155b049ad5 Bug 1779326 - Handle a few more native types in rust-xpidl, r=xpcom-reviewers,kmag
This makes the logic for the rust type line up a bit more with the C++
logic for existing types, and adds support for 'char' and 'char16_t'
native types (for 'charPtr').

This specifically enables `nsIInputStream::Read` to be used from Rust.

Differential Revision: https://phabricator.services.mozilla.com/D152715
2022-07-26 23:12:58 +00:00
Francesco Lodolo (:flod)
2d85581b2c Bug 1781010: Fluent linter, add checks for hard-coded brand names,r=gregtatum,linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D152718
2022-07-26 19:48:08 +00:00
Tooru Fujisawa
5cda6987cf Bug 1780543 - Part 11: Update document for environment. r=Standard8
Depends on D152648

Differential Revision: https://phabricator.services.mozilla.com/D152649
2022-07-26 02:46:32 +00:00
Mark Banner
f9083f6df7 Bug 1780017 - Add mjs files to files that may be used for generating jsdocs. r=firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D152329
2022-07-22 08:25:44 +00:00
Denis Palmeiro
dc6ab45cf6 Bug 1778773: Add documentation for JIT profiling with perf r=iain DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D151398
2022-07-20 22:55:12 +00:00
Suhaib Mujahid
7898a42259 Bug 1780263 - Update rotating triage docs to reflect the process simplification. r=marco,firefox-source-docs-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152205
2022-07-19 20:36:16 +00:00
Andrew Halberstadt
e818e28315 Bug 1780087 - Convert some searchfox links under 'docs/code-quality' to the new role, r=linter-reviewers,sylvestre
This is more to demonstrate the use of the role than anything else.

Differential Revision: https://phabricator.services.mozilla.com/D152125
2022-07-19 15:41:08 +00:00
Mark Banner
a869ce033b Bug 1779989 - Explicitly disallow ES modules in ESLint import-globals-from statements. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D152002
2022-07-19 05:57:15 +00:00
Gijs Kruitbosch
e00e722239 Bug 1773520 - add vscode build backend by default if vscode is installed, r=firefox-build-system-reviewers,nalexander,glandium
Differential Revision: https://phabricator.services.mozilla.com/D150147
2022-07-18 13:14:23 +00:00
Zeid Zabaneh
c800d1fef3 Bug 1737634: mots config file r=sheehan
This revision migrates all the content of the following modules:
- Desktop_Firefox
- Toolkit
- Core
- Testing

Up to the their state on Monday June 20th, 2022 in the old system.

The rst file was automatically generated by running `mots export`.

Differential Revision: https://phabricator.services.mozilla.com/D130508
2022-07-14 15:45:44 +00:00
Tooru Fujisawa
c26c3f5551 Bug 1667455 - Part 14: Stop importing Services.jsm in documents. r=kmag,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D150903
2022-07-11 12:41:54 +00:00
Mike Hommey
dba3a210e5 Bug 1777436 - Update builders to rustc 1.62. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D150733
2022-07-07 21:49:05 +00:00
Mark Banner
6cc792275f Bug 1777451 - Add a rule to prevent/recommend against using globalThis or window in non-system modules for lazy getters. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D151083
2022-07-06 08:35:59 +00:00
Mark Banner
e3f245f121 Bug 1764513 - Update ESLint docs for how to set up test configuration and how to use ES modules. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D151039
2022-07-05 17:09:43 +00:00
Tooru Fujisawa
8cc73badc6 Bug 1776837 - Part 2: Reject defining lazy getter for module that is already loaded eagerly at top-level. r=mossop
Depends on D150935

Differential Revision: https://phabricator.services.mozilla.com/D150936
2022-07-05 01:01:35 +00:00
Narcis Beleuzu
ea20959e2d Backed out 1 changesets (bug 1773520) for breaking the ./mach ide vscode
Backed out changeset d9571dde686f (bug 1773520)
2022-07-01 09:32:36 +03:00
smolnar
19f9a986ed Backed out 2 changesets (bug 1777436) for causing multiple bustages. CLOSED TREE
Backed out changeset 3949745c066c (bug 1777436)
Backed out changeset 30ff4b58d4b8 (bug 1777436)
2022-07-01 01:39:56 +03:00
Mike Hommey
46039292ed Bug 1777436 - Update builders to rustc 1.62. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D150733
2022-06-30 20:02:12 +00:00
Gijs Kruitbosch
e5852b6d8d Bug 1773520 - add vscode build backend by default if vscode is installed, r=firefox-build-system-reviewers,nalexander,glandium
Differential Revision: https://phabricator.services.mozilla.com/D150147
2022-06-30 08:38:02 +00:00
Mark Banner
05e3f1ea83 Bug 1646183 - Extend ESLint rule reject-importGlobalProperties to also handle defineLazyGlobalGetters. r=arai,webdriver-reviewers,webcompat-reviewers,extension-reviewers,whimboo,twisniewski,kmag
Differential Revision: https://phabricator.services.mozilla.com/D150353
2022-06-29 22:37:57 +00:00
Andrew McCreight
17068ff57b Bug 1776103 - Clean up DMD docs. r=xpcom-reviewers,nika DONTBUILD
I went through the docs and fixed up a few things. I also removed the other
version that was imported under XPCOM, updated a few obsolete MDN links that
now have updated docs, and deleted some ancient Bonsai links.

Differential Revision: https://phabricator.services.mozilla.com/D150504
2022-06-29 21:41:04 +00:00
Makoto Kato
93e0a3fccb Bug 1776804 - Update spotless information in firefox-source-docs. r=geckoview-reviewers,agi
"Google Java Format plug-in" link is broken now.

Also we should add spotless information to
https://firefox-source-docs.mozilla.org/code-quality/.

Differential Revision: https://phabricator.services.mozilla.com/D150440
2022-06-28 22:58:11 +00:00
Csoregi Natalia
52987dd4a5 Backed out changeset 85a7711e0e47 (bug 1737634) for causing bugzilla mapping failures. CLOSED TREE 2022-06-28 00:03:41 +03:00
Zeid Zabaneh
46a58b8440 Bug 1737634: mots config file r=sheehan
This revision migrates all the content of the following modules:
- Desktop_Firefox
- Toolkit
- Core
- Testing

Up to the their state on Monday June 20th, 2022 in the old system.

The rst file was automatically generated by running `mots export`.

Differential Revision: https://phabricator.services.mozilla.com/D130508
2022-06-27 20:32:38 +00:00
Kagami Sascha Rosylight
39d7ee6f91 Bug 1773740 - Part 3: Cover js files including ChromeUtils r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D148938
2022-06-27 20:31:33 +00:00
Gabriele Svelto
93a12df7cb Bug 1776279 - Remove the ContainsMemoryReport annotation r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D150183
2022-06-24 19:49:50 +00:00