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

626 Коммитов

Автор SHA1 Сообщение Дата
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
Tooru Fujisawa ab853db23f Bug 1773747 - Part 6: Add ESLint rule to check immediately-used lazy getter. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149867
2022-06-24 11:03:53 +00:00
Tooru Fujisawa 81ada6ab87 Bug 1772358 - Add ESLint rule to reject defining lazy getters for always available modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149872
2022-06-24 11:03:50 +00:00
Mark Banner e4e8d3c73f Bug 1771173 - Add ESLint rule to check for correct usages of lazy. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D149718
2022-06-21 20:42:16 +00:00
ahochheiden cbc0ef9b60 Bug 1276019 - Additional doc changes to include a definition for UAC and replaced a static url link with a :ref: link r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D149461
2022-06-20 10:03:03 +00:00
Tooru Fujisawa 088b6d97cd Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-17 04:59:13 +00:00
criss 8fc8ec5d8e Backed out 8 changesets (bug 1771092, bug 1768870, bug 1771097, bug 1769002, bug 1768819) for causing mochitest failures on browser_sendQuery.js. CLOSED TREE
Backed out changeset 8a4d712f819a (bug 1771092)
Backed out changeset f4e27a35c83c (bug 1771092)
Backed out changeset 072323bc72cc (bug 1771092)
Backed out changeset 2ccf2a00fff7 (bug 1769002)
Backed out changeset ba7086fd9b1f (bug 1768819)
Backed out changeset 6205d3e2c666 (bug 1771097)
Backed out changeset 960f0aee97d5 (bug 1768870)
Backed out changeset 5f53760c5637 (bug 1768870)
2022-06-17 05:44:37 +03:00
Tooru Fujisawa c0ff62bb21 Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-17 01:30:23 +00:00
Mark Banner 8ca4d49d65 Bug 1766228 - Add an ESLint rule to ensure that member property accesses of Services are valid. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149393
2022-06-16 21:11:24 +00:00
Markus Stange 23f6ddfed5 Bug 1774674 - Flesh out the documentation for getting Instruments to pick up macOS kernel symbols. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D149561
2022-06-16 19:36:38 +00:00
Molnar Sandor c1ae6857f8 Backed out 9 changesets (bug 1769002, bug 1768870, bug 1771097, bug 1771092, bug 1768819) for causing lint failures. CLOSED TREE
Backed out changeset 829df1dfad70 (bug 1769002)
Backed out changeset f0537d333adc (bug 1771092)
Backed out changeset 25b43856bc00 (bug 1771092)
Backed out changeset a49f754ca73f (bug 1771092)
Backed out changeset 164f85686a32 (bug 1769002)
Backed out changeset ef5cf9ceb915 (bug 1768819)
Backed out changeset c64e6c1fbfe7 (bug 1771097)
Backed out changeset f85393f988a8 (bug 1768870)
Backed out changeset fe708d13cc1d (bug 1768870)
2022-06-16 20:15:14 +03:00
Tooru Fujisawa a1c76f5683 Bug 1771097 - Add ESLint rule for ChromeUtils.defineESModuleGetters lazy object name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D147400
2022-06-16 16:20:36 +00:00
Norisz Fay 7cd43cc697 Backed out 5 changesets (bug 1766228) for causing lint failures on test_restrequest.js CLOSED TREE
Backed out changeset 5ff1634cfe18 (bug 1766228)
Backed out changeset 01642c97e7a5 (bug 1766228)
Backed out changeset cbba28151712 (bug 1766228)
Backed out changeset 76a32127865d (bug 1766228)
Backed out changeset 2c7ef1ad380a (bug 1766228)
2022-06-16 16:36:44 +03:00
Mark Banner 1383258437 Bug 1766228 - Add an ESLint rule to ensure that member property accesses of Services are valid. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D149393
2022-06-16 12:09:28 +00:00
Tooru Fujisawa 2337bc5418 Bug 1772299 - Reject modification to globalThis inside system module. r=Standard8,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D148116
2022-06-15 22:20:53 +00:00
Ray Kraesig 4fc7f7613e Bug 1772856 - Clean up formatting r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148417
2022-06-15 07:12:02 +00:00
Ray Kraesig 24e0619a0d Bug 1772856 - Add designated initializers to list of acceptable C++ features r=firefox-build-system-reviewers,bholley,glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148416
2022-06-15 07:12:02 +00:00
ahochheiden 66564fb0f0 Bug 1276019 - Add Microsoft Defender Antivirus exclusions automatically during source bootstrap r=glob
I also added `%USERPROFILE%/.mozbuild` to the exclusion list and updated the windows_build docs to reflect the changes made.

Differential Revision: https://phabricator.services.mozilla.com/D149199
2022-06-15 01:37:11 +00:00
Tooru Fujisawa 9975cd7318 Bug 1771751 - Reject static import for system module from non-system module. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149183
2022-06-14 21:56:55 +00:00
Tooru Fujisawa 371b3c1d97 Bug 1607331 - Part 3: Reject global this usage in JSM. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D148551
2022-06-14 21:56:55 +00:00
Stephen A Pohl d777cdbc58 Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-13 17:44:51 +00:00
criss 537f7f6e84 Backed out changeset e186162443a6 (bug 1696513) for causing bustages. CLOSED TREE 2022-06-11 05:31:53 +03:00
Stephen A Pohl b40f4b0786 Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-11 01:05:31 +00:00
criss ed1236630c Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE
Backed out changeset 6628f146ad0b (bug 1773752)
Backed out changeset f636b7e35d0c (bug 1696513)
2022-06-11 02:35:43 +03:00
Stephen A Pohl a26f93425e Bug 1696513: Require macOS 11 SDK at configure time and update docs. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D148933
2022-06-10 23:08:34 +00:00
Gian-Carlo Pascutto bcc91637f1 Bug 1773440 - Update GTest examples to moz.build. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D148800
2022-06-10 12:16:23 +00:00
Morgan Rae Reschenberg 10b7310064 Bug 1771514: Add design review and preliminary HCM documentation r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D147522
2022-06-08 16:18:32 +00:00
Bobby Holley 99677cea83 Bug 1772234 - Update the style guide to deprecate rooting API typedefs. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D148081
2022-06-02 21:01:42 +00:00
Mike Hommey 25f84e6a3a Bug 1771826 - Update builders to rustc 1.61. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D147707
2022-06-02 07:06:47 +00:00
Emilio Cobos Álvarez 0308b0a05c No bug - Fix configure help command. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D148064
2022-06-01 19:37:37 +00:00
Mark Banner 889c6efaf2 Bug 1768031 - Reject top-level await in modules via an ESLint rule. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145892
2022-05-11 14:08:15 +00:00
Janvi Bajoria c68c01937d Bug 1759754 - fix use the static preference API link in C++ coding style documentation r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D144191
2022-05-10 17:26:31 +00:00
Tooru Fujisawa 231114fa17 Bug 1548308 - Remove modules.json. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D145695
2022-05-06 12:35:33 +00:00
Mathew Hodson 05c78de712 Bug 1630027 - Migrate RTL Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142183
2022-05-06 07:16:58 +00:00
Mathew Hodson 34e2ece16f Bug 1630027 - Migrate CSS Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142163
2022-05-06 07:16:48 +00:00
Mathew Hodson d83e906b06 Bug 1630027 - Migrate SVG Guidelines from MDN. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142184
2022-05-06 07:16:48 +00:00
pankaj28988 d1becba15c Bug 1762795 - Removed dead links in contribution doc. r=sylvestre DONTBUILD
Updated links to Bugzilla and added links to Developer Guide

Differential Revision: https://phabricator.services.mozilla.com/D143998
2022-05-03 13:19:54 +00:00
Max Vollmer ed87c3414b Bug 1761456 - Add natvis file for Visual Studio projects and update debugging documentation r=mhentges,handyman DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143183
2022-05-03 09:04:48 +00:00
Dan Robertson 4c5bf0dcba Bug 1767025 - Remove undesirable extensions from mercurial docs. r=sheehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D145090
2022-05-03 09:02:25 +00:00
Mark Banner 67e9352298 Bug 1766238 - Disallow more than one argument to ChromeUtils.import via ESLint. r=mossop
Depends on D144562

Differential Revision: https://phabricator.services.mozilla.com/D144563
2022-04-27 08:38:35 +00:00
Barret Rennie c34d04e40e Bug 1765675 - Reject OS.Path usage in reject-osfile lint r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D144307
2022-04-26 17:34:35 +00:00
Marco Castelluccio 7570af090f Bug 1754765 - Don't enumerate severity levels in the source docs to avoid sync problems with the canonical definitions. r=glob DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D144320
2022-04-26 08:44:55 +00:00
Katherine Patenio c4f6478c5d Bug 1749795 - create documentation for adding and testing site-specific wrappers. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D142011
2022-04-22 20:46:11 +00:00
jaia 0b5143a5da Bug 1762459 - disclaimer in the quick ref page that links to the setup page for a more detailed tutorial r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142631
2022-04-22 07:03:15 +00:00
manisha27 dec4684029 Bug 1763865 - Bootstrap Section added as per required OS. r=arai,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143323
2022-04-20 08:47:04 +00:00
Suhaib Mujahid b404534f19 Bug 1764593 - Fix a status flag name by changing `verified-disabled` to `verified disabled`. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143868
2022-04-19 06:41:19 +00:00
Norisz Fay ee985b69aa Bug 1761999 - Fix lint in stack_quickref.rst r=fix 2022-04-18 01:09:05 +03:00
gliu20 c74815dce0 Bug 1761999 - Add commands to Contributor Quick Start that come up frequently when working with patches r=firefox-source-docs-reviewers,sylvestre,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142343
2022-04-17 19:55:34 +00:00
Jim Blandy 0e29b63d39 Bug 1763305: Follow-up doc fix. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143196
2022-04-11 23:37:43 +00:00
Emilio Cobos Álvarez 82da829168 Bug 1763980 - Port most of the mochitest-plain documentation to the in-tree docs. r=jgraham,Gijs
These come from:

 * https://github.com/mdn/archived-content/blob/main/files/en-us/mozilla/projects/mochitest/index.html

With some manual clean-up and review.

Differential Revision: https://phabricator.services.mozilla.com/D143326
2022-04-11 12:00:01 +00:00
Jim Blandy bc55cd9f9b Bug 1763305: Update minimum Rust version to >= 1.59.0 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D143007
2022-04-07 00:34:01 +00:00
Kagami Sascha Rosylight 7f736cdebf Bug 1703953 - Part 1: Implement mozilla/use-isinstance rule r=Gijs,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D111354
2022-04-06 11:57:56 +00:00
Mathew Hodson 9dedb7282a Bug 1762099 - Fix "Report an issue" link on Firefox Source Docs. r=sylvestre DONTBUILD
Update the component and prefill the URL field.

Differential Revision: https://phabricator.services.mozilla.com/D142422
2022-03-31 12:28:31 +00:00
Sylvestre Ledru 6c8d8bbeab no bug - Doc: explicit that reviews aren't required for doc changes r=overholt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140630
2022-03-31 12:17:59 +00:00
Mark Banner a6d11f320d Bug 1760286 - Add missing docs for rules in eslint-plugin-mozilla. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D142285
2022-03-30 17:40:15 +00:00
Gijs Kruitbosch 4d3b6146b8 Bug 1753696 - use an eslint rule to switch to add_setup(), r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139542
2022-03-30 16:16:42 +00:00
Norisz Fay acdd6851cd Backed out 2 changesets (bug 1753696) for causing multiple dt and bc failures CLOSED TREE
Backed out changeset 67fd9edfbcea (bug 1753696)
Backed out changeset a9d957ea887b (bug 1753696)
2022-03-30 12:17:55 +03:00
Gijs Kruitbosch 35d2a4ca12 Bug 1753696 - use an eslint rule to switch to add_setup(), r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139542
2022-03-30 08:18:51 +00:00
Sylvestre Ledru 7d9c6b9759 no bug - doc: add the 'mach try again' on the quickref manual r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D142349
2022-03-29 19:42:52 +00:00
Sylvestre Ledru e81f92e477 Bug 1730515 - FX doc: Use google search instead of sphinx search r=firefox-source-docs-reviewers,ahal DONTBUILD
sphinx search is pretty bad...

Differential Revision: https://phabricator.services.mozilla.com/D128022
2022-03-29 15:19:47 +00:00
criss 4eec7e25a3 Backed out 3 changesets (bug 1703953) for causing multiple failures. CLOSED TREE
Backed out changeset 871a1fac289e (bug 1703953)
Backed out changeset 8151244bda18 (bug 1703953)
Backed out changeset eaf6d4c353be (bug 1703953)
2022-03-29 17:01:58 +03:00
Kagami Sascha Rosylight cbfca993e7 Bug 1703953 - Part 1: Implement mozilla/use-isinstance rule r=Gijs,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D111354
2022-03-29 13:10:59 +00:00
Sylvestre Ledru da8c9ddcc2 no bug - doc: fix the presentation
Differential Revision: https://phabricator.services.mozilla.com/D142116
2022-03-25 19:58:30 +00:00
Sylvestre Ledru e019ba6fc7 Bug 1760360 - fx doc: Add a link to report an issue on a page r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141537
2022-03-21 20:32:50 +00:00
Marco Castelluccio 94abd3de71 no bug - doc: Remove rule of thumb from the severity guide which is not actually true. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141589
2022-03-21 11:57:56 +00:00
Mike Conley f29b80b95b Bug 1758753 - Migrate XPCOM hashtable documentation from MDN to Firefox Source Docs. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D140671
2022-03-17 14:23:27 +00:00
Sylvestre Ledru e8e7c6a268 no bug - Add 'Working with stack of patches' to the index
Differential Revision: https://phabricator.services.mozilla.com/D141200
2022-03-16 10:35:34 +00:00
Mathew Hodson 0dd398e4c2 Bug 1741710 - Migrate WebRender tests doc from MDN. r=tgiles,gw
Differential Revision: https://phabricator.services.mozilla.com/D140791
2022-03-15 14:22:05 +00:00
Sylvestre Ledru a319bda635 no bug - editor doc: Fix warning 'Duplicate implicit target name: vim' r=marco DONTBUILD
Depends on D141090

Differential Revision: https://phabricator.services.mozilla.com/D141092
2022-03-15 12:43:01 +00:00
Sylvestre Ledru f747d2295d no bug - editor doc: highlight that vscode is the recommended editor r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D141090
2022-03-15 12:43:00 +00:00
Sylvestre Ledru 31ac6011a0 no bug - contribution doc: also list the other ways to call it r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140966
2022-03-15 08:47:50 +00:00
Drew Willcoxon 88d0fc3d57 Bug 1757220 - Automatically generate API docs for a few urlbar classes using sphinx-js. r=mcheang
This does the following:

* Add the urlbar root directory to the list of sphinx-js directories
* Add three new rst files for the automatically generated API docs for
  UrlbarController, UrlbarInput, and UrlbarView
* Add a new top-level section to the urlbar's index.rst for these three docs
* Tweak two JSDocs in UrlbarSearchOneOffs so that sphinx-js doesn't complain

This should be a good starting place for integrating automatically generated API
docs into the urlbar docs, and we can iterate on it from here.

Differential Revision: https://phabricator.services.mozilla.com/D139780
2022-03-11 17:51:18 +00:00
Mark Banner 8bb4667fae Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
Suhaib Mujahid bc51aee8f3 Bug 1759015: Update Contributors’ Quick Reference to incloud a new task selector. r=sylvestre DONTBUILD CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D140790
2022-03-11 08:14:43 +00:00
Butkovits Atila 87efe4b5e2 Backed out changeset d876a95afe78 (bug 1759015) for causing failures at browser_preserveTabPipIconOverlay.js. CLOSED TREE 2022-03-11 12:52:05 +02:00
Suhaib Mujahid c64e23879a Bug 1759015: Update Contributors’ Quick Reference to incloud a new task selector. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140790
2022-03-11 08:14:43 +00:00
smolnar e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Tim Giles e3aca3b88a Bug 1740037 - Migrate "Chrome Test" MDN doc to Firefox Source Docs. r=jmaher,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140220
2022-03-09 19:13:03 +00:00
Sylvestre Ledru 7932ce0b6d no bug - doc: document the bug pipeline r=overholt DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D140629
2022-03-09 16:45:04 +00:00
Alexis Beingessner ec10d290e7 Bug 1755602 - consistently use minidump-stackwalk instead of minidump_stackwalk. r=glandium
Inconsistency confuses some of our tools. As part of this, I:

* Updated some docs to point to rust-minidump
* Added a fallback to mozcrash.py to try both versions
* Make mozcrash.py use --brief output when the local mdsw is used
* Remove the renaming hack from build-minidump-stackwalk.sh

This isn't as simple as a sed because we still have breakpad in tree
for minidump-analyzer. I did my best to replace the right strings.

Differential Revision: https://phabricator.services.mozilla.com/D138971
2022-03-09 16:44:42 +00:00
Mitchell Hentges 1d06e45585 Bug 1756224: Update references to perfdocs linter to explicitly set path r=sparky
Ideally, the `perfdocs` linter suggestion to `--fix` issues would take
into account the `paths` that were provided, rather than printing the
sure-fire "lint and fix all" solution.

Actually, on further consideration, theoretically such a recommendation
should appear at the `./mach lint` level, and not be linter-specific. Oh
well, that's a future improvement :)

-----

This patch updates the `perfdocs` documentation and suggestions to
successfully operate in the same manner that they did before
bug 1753701.

Differential Revision: https://phabricator.services.mozilla.com/D139159
2022-03-09 15:52:49 +00:00
Csoregi Natalia 3bbe5b075b Backed out changeset e665e278f4ac (bug 1730515) for causing issues on search functionality. a=backout 2022-03-04 20:04:18 +02:00
Sylvestre Ledru 20c1a08cd9 Bug 1730515 - FX doc: Use google search instead of sphinx search r=firefox-source-docs-reviewers,ahal DONTBUILD
sphinx search is pretty bad...

Differential Revision: https://phabricator.services.mozilla.com/D128022
2022-03-03 08:25:29 +00:00
Mike Hommey 545e5d16a9 Bug 1756534 - Update builders to rustc 1.59. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D139353
2022-02-25 08:27:04 +00:00
Chris Peterson 4c1f824528 Bug 1756504 - Remove cpp-virtual-final linter, a minor style check that doesn't diagnose real bugs. r=firefox-static-analysis-reviewers,sylvestre
In bug 1436263, I added a cpp-virtual-final.yml linter to warn about virtual function declarations that included more than one virtual function specifier `virtual`, `final`, or `override`.

I think we should remove this linter now because:

* It's just a style check and doesn't diagnose a real bug. Including more than one virtual function specifier (`virtual`, `final`, or `override`) is harmless and unambiguous, just unnecessary extra code.
* It has caused some engineer frustration because this style check caused their changeset to be backed out of autoland. Backing out and fixing these style issues are not a good use of sheriffs' or engineers' time.
* It doesn't catch all virtual/final/override style issues because:
  * It can't analyze virtual function definitions that span multiple lines.
  * It doesn't check for `virtual void Foo() override` because  there are over 6000 cases already, so our code will never follow this style check consistently.

Differential Revision: https://phabricator.services.mozilla.com/D139454
2022-02-24 02:14:39 +00:00
Sylvestre Ledru c6ad81bd80 no bug - fx docs: reference the quick reference doc from the setup pages r=marco DONTBUILD
The setup page is referenced from:

https://www.mozilla.org/en-US/about/governance/policies/commit/

Differential Revision: https://phabricator.services.mozilla.com/D139296
2022-02-21 15:57:35 +00:00
Sylvestre Ledru 0f69196034 no bug - fx doc review: remove duplicate content r=marco
Differential Revision: https://phabricator.services.mozilla.com/D138524
2022-02-11 18:50:54 +00:00
Haik Aftandilian 25b935f2aa Bug 1754609 - Add #mac-reviewers to reviews.rst r=mac-reviewers,mstange DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D138374
2022-02-10 16:58:36 +00:00
Tim Giles 875c819715 Bug 1740027 - Migrate "Test Verification" MDN doc to Firefox Source Docs. r=jmaher
Imported from: https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/qa/test_verification/index.html
Previous URL: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Verification
Rendered version of previous documentation: https://web.archive.org/web/20210531181724/https://developer.mozilla.org/en-US/docs/Mozilla/QA/Test_Verification

Followed instructions at https://firefox-source-docs.mozilla.org/tools/moztreedocs/mdn-import.html

Differential Revision: https://phabricator.services.mozilla.com/D138059
2022-02-08 19:28:37 +00:00
Cristian Tuns ccc93f6faf Bug 1753426 - Fix lint failure r=fix CLOSED TREE 2022-02-07 08:32:10 -05:00
Sylvestre Ledru 909f96f128 Bug 1753127 - NSPR doc: Fix warnings and links r=kaie DONTBUILD
and remove the old doc
docs/nspr/porting_nspr_to_unix_platforms.rst

Differential Revision: https://phabricator.services.mozilla.com/D137979
2022-02-07 12:05:48 +00:00
Kai Engert e7eabe08f4 Bug 1753127 - Additional NSPR docs from www and MDN archives. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137751
2022-02-07 12:05:48 +00:00
Sylvestre Ledru caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Sylvestre Ledru 72a3999f74 Bug 1753127 - NSPR doc: fix some links + cosmetic changes r=kaie
Differential Revision: https://phabricator.services.mozilla.com/D137740
2022-02-03 18:34:57 +00:00
Sylvestre Ledru 5e8728c4ac Bug 1753127 - NSPR doc: add a listing page r=kaie DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D137772
2022-02-03 17:52:23 +00:00
Sylvestre Ledru 14e205a735 Bug 1753127 - NSPR doc: fix the typos, warnings and nbsp; r=kaie
Depends on D137612

Differential Revision: https://phabricator.services.mozilla.com/D137650
2022-02-02 17:19:51 +00:00
Sylvestre Ledru 16b9c75459 Bug 1753127 - NSPR doc: move the doc into docs/nspr UPGRADE_NSS_RELEASE r=kaie,bbeurdouche
Depends on D137611

Differential Revision: https://phabricator.services.mozilla.com/D137612
2022-02-02 17:19:51 +00:00
Sylvestre Ledru b30245fd89 Bug 1753127 - NSPR doc: fix some links in the various part of the doc UPGRADE_NSS_RELEASE r=bbeurdouche
Depends on D137590

Differential Revision: https://phabricator.services.mozilla.com/D137607
2022-02-02 17:19:50 +00:00
Anastasios Bithas ea71af5809 Bug 1650197 - Add an extension to autolink bug xxxxxxx strings in docs to bugzilla hyperlinks r=sylvestre DONTBUILD
An extension is created that uses SphinxTransform to convert bug xxxxxxx strings that exist in docs to reference links that redirect to the appropriate bug in bugzilla

Differential Revision: https://phabricator.services.mozilla.com/D137385
2022-01-31 15:12:40 +00:00
Shane Hughes b023d4c351 Bug 1751668 - Add more information to Quick Reference doc. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D136709
2022-01-31 10:25:25 +00:00
Mitchell Hentges 168707a1e5 Bug 1746286: Don't recommend adding "Mach" to your PATH r=ahal
This can cause issues when Mach from sourcetree A fails when used in
sourcetree B because an expected file is missing.

Differential Revision: https://phabricator.services.mozilla.com/D133951
2022-01-13 21:39:39 +00:00
David Parks 1195985bf3 Bug 1696382: Add IPC in-tree docs r=nika,gerard-majax,ipc-reviewers
Includes docs for IPDL actors and protocols.

Differential Revision: https://phabricator.services.mozilla.com/D121871
2022-01-13 00:10:20 +00:00
James Graham f76ad255a6 Bug 1748845 - Add a custom mechanism to make some docs warnings fatal, r=ahal,firefox-source-docs-reviewers,sylvestre
The idea is to capture the warnings in a temporary file, and then
apply a set of regex to find any that should be treated as fatal.

This allows us to fix warnings one type at a time, and prevents us
regressing the warnings that are already fixed.

The "reference target not count" warning is added to the initial
forbidden list, so we can ensure we don't end up with internal links
pointing to nowhere.

Differential Revision: https://phabricator.services.mozilla.com/D135389
2022-01-11 10:48:23 +00:00
James Graham e31c095050 Bug 1748845 - Update source-relative links in performance docs, r=firefox-source-docs-reviewers,sylvestre
These were broken since we adopted MyST.

Differential Revision: https://phabricator.services.mozilla.com/D135386
2022-01-11 10:48:22 +00:00
James Graham ba41d62bb9 Bug 1748845 - Update source-relative links in rust docs, r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D135384
2022-01-11 10:48:21 +00:00
Chris H-C 1efbbf8bd5 Bug 1748904 - Fix use of now-obsolete eval_rst directives in docs r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D135252
2022-01-06 20:21:24 +00:00
Mitchell Hentges 92a19e0eb9 Bug 1740123: Allow invoking Mach outside of MozillaBuild r=glandium
Assuming that the `MOZILLABUILD` environment variable is set, allow
invoking Mach from non-MozillaBuild terminals.

Note that MozillaBuild still needs to be installed, and the
`MOZILLABUILD` environment variable will have to be set.

For future reference: when I tried setting this up with Windows
Store's Python 3.9, I encountered issues when running binaries installed
via `pip`: it would fail with `abort: failed to load Python DLL
python3x.dll`.

Differential Revision: https://phabricator.services.mozilla.com/D133936
2022-01-06 06:49:47 +00:00
Sylvestre Ledru 0078fdfb98 Bug 1721475 - Linux setup doc: add python3-pip in the list of packages r=firefox-build-system-reviewers,mhentges DONTBUILD
Depends on D134954

Differential Revision: https://phabricator.services.mozilla.com/D134955
2022-01-03 20:03:04 +00:00
Sylvestre Ledru 1662821416 Bug 1721478 - Linux setup doc: add curl in the list of packages r=firefox-build-system-reviewers,mhentges DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134954
2022-01-03 20:03:04 +00:00
Mark Hammond 5f4fff5ef8 Bug 1745683 - add documentation for the webext-storage implementation. r=rpl,firefox-source-docs-reviewers,ahal,bdk DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133595
2021-12-29 03:53:00 +00:00
alwu 7436bfd966 Bug 1747341 - add 'media-playback-reviewers'. r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134588
2021-12-23 08:48:59 +00:00