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

583 Коммитов

Автор SHA1 Сообщение Дата
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
championshuttler 1878ff8955 Bug 1746839 - Rename the basename in firefox source docs.r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D134270
2021-12-20 10:20:23 +00:00
championshuttler a3dd4bd705 Bug 1746782 - Support myst parser and remove recommanmark.r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D134242
2021-12-20 09:45:44 +00:00
Mike Hommey 73230b8c3e Bug 1744234 - Bump minimum Rust version to 1.57. r=firefox-build-system-reviewers,andi
Also update the table of Firefox requirements. It's worth noting that I
actually upgraded to 1.57 earlier than I should have (too close to
freeze), but what is done is done.

Differential Revision: https://phabricator.services.mozilla.com/D134124
2021-12-17 08:37:39 +00:00
James Graham d0c8a06bc6 Bug 1657366 - Move wpt README to firefox-source-docs, r=karlcow
Add gecko-specific wpt docs to firefox-source-docs. This is instead of
the prior setup where we put the generic upstream docs on
firefox-source-docs and the gecko-specific documentation isn't
presented at all. It also avoids the problem where the upstream docs
don't build in the Firefox setup due to configuration differences.

Differential Revision: https://phabricator.services.mozilla.com/D133898
2021-12-16 15:44:15 +00:00
Valentin Gosu e8090c4a5d Bug 1740030 - Migrate "Writing xpcshell-based unit tests" MDN doc to Firefox Source Docs r=mbucher
Imported From: https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/qa/writing_xpcshell-based_unit_tests/index.html
Previous URL: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests
Rendered version of previous documentation: https://web.archive.org/web/20210601152246/https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests

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

Differential Revision: https://phabricator.services.mozilla.com/D132718
2021-12-08 15:18:02 +00:00
Vincent Couvert 4f99e85adc Bug 1742287 - Ride along: remove old path. r=mhentges,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132297
2021-12-06 20:09:02 +00:00
Emilio Cobos Álvarez c9d4405306 Bug 1743310 - Remove paint flashing. r=gfx-reviewers,lsalzman
It's only meaningfully read in two places:

 * WebRender fallback code.
 * Some widget DEBUG-only code, which on Linux is ifdef'd and on Windows does
   some rather sketchy things like sleeping for 30ms

So I think it should be ok to remove, since WR fallback has its own flashing
pref as well, IIUC.

Differential Revision: https://phabricator.services.mozilla.com/D132313
2021-11-30 11:46:08 +00:00
James Graham ef13df7c57 Bug 1743230 - Temporarily stop building wpt docs due to bustage. CLOSED TREE r=ahal
The upstream use of jsdoc doesn't seem to work trivially in our setup and
is causing bustage. Just stop building those docs for now rather than backing
out the whole sync.

Differential Revision: https://phabricator.services.mozilla.com/D132405
2021-11-29 21:14:57 +00:00
Ben Hearsum 2516d45fce Bug 1742998: Improve documentation of MSIX packaging and development. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D132161
2021-11-26 21:25:30 +00:00
Vincent Couvert e0bbd80ba3 Bug 1742287 - Fix Windows configuration files path (missing backslashes) and make paths highlighted. r=firefox-build-system-reviewers,mhentges DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131730
2021-11-22 16:43:33 +00:00
Sylvestre Ledru 1e47dd5d4f Bug 1738988 - Add support for trojan source detection in mozlint r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131086
2021-11-19 08:37:28 +00:00
Bobby Holley 02e9792c14 Bug 1740616 - Modify the C++ style guide to prefer unsigned types and CheckedInt. r=glandium DONTBUILD
This commit resolves the question posed in [1], largely on the basis of
the rationale put forth by emilio [2].

The reasons cited for using signed types boil down to (1) taking
advantage of UB optimizations, (2) more tractable dynamic overflow
analysis, and (3) increased chance of the surrounding logic identifying
and rejecting overflowed values.

Emilio points out that (1) is not a durable advantage. I see some value
in (2) and (3), but I see more value in consistency with existing code
and clear communication of semantic intent to the reader.

[1] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/
[2] https://groups.google.com/a/mozilla.org/g/dev-platform/c/-h_2cz5APmY/m/NPdl2uIhAgAJ

Differential Revision: https://phabricator.services.mozilla.com/D130928
2021-11-16 19:38:01 +00:00
Sylvestre Ledru 551a6b105b Bug 1714788 - doc: Fix 'undefined label: firefox status flags' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Depends on D131095

Differential Revision: https://phabricator.services.mozilla.com/D131096
2021-11-16 07:59:49 +00:00
Sylvestre Ledru dedafe8aea Bug 1740890 - doc: Silent a recommonmark warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131047
2021-11-16 07:59:48 +00:00
Sylvestre Ledru 2eaffc586b Bug 1714788 - doc: Remove the image - not available r=firefox-source-docs-reviewers,championshuttler DONTBUILD
'WARNING: image file not readable: public/images/sumo-flag.png'

Differential Revision: https://phabricator.services.mozilla.com/D131088
2021-11-16 07:59:45 +00:00
Mitchell Hentges 90694028ba Bug 1740167: Update Windows setup docs to use VS 2022 r=glandium
* Recommend the Build Tools over the full Community IDE install
* Bump Windows 10 SDK, C++ ATL version
* Remove "Game development with C++" workload, because it doesn't seem
  to be required anymore - I'm leaning on review and natural
  developer-testing to confirm this assumption.

Differential Revision: https://phabricator.services.mozilla.com/D130773
2021-11-15 22:49:42 +00:00
Sylvestre Ledru 782a59628e Bug 1682547 - Document how to merge two patches r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D130969
2021-11-11 13:25:30 +00:00
Nils 3c79233da8 Bug 1740294: Fix typo "then then" -> "then" r=mhentges
Instances of the typo that have been imported from other repositories have been left unchanged.

Differential Revision: https://phabricator.services.mozilla.com/D130561
2021-11-09 17:36:40 +00:00
Jan Odvarko 16402859b4 Bug 1737573 - [devtools] Migrate MDN docs into Sphinx (connect docs to toc + css) r=nchevobbe,ahal
Differential Revision: https://phabricator.services.mozilla.com/D129798
2021-11-03 10:45:52 +00:00
Myeongjun Go a2e121e262 Bug 1674220 - [perfdocs] Enumerate Talos tests using PerfDocs r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D128037
2021-11-02 19:11:06 +00:00
OnuohaOluebube 5ff974a055 Bug 1460100 - Added ESLint rule to prevent use of nsIScriptableUnicodeConverter r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D129668
2021-11-01 16:56:25 +00:00
Andi-Bogdan Postelnicu 80fddabd67 Bug 1738598 - sunset Coverity in Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D129779
2021-10-31 17:18:02 +00:00
Sylvestre Ledru 530d0ebc9b no bug - doc: use https:// for valgrind.org r=jseward DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129283
2021-10-22 17:09:59 +00:00
Gijs Kruitbosch f9929798b5 Bug 1736003 - tweak security patch landing guidance, r=dveditz DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D128585
2021-10-19 22:48:26 +00:00
Tooru Fujisawa d3871de00b Bug 1735747 - Use mozilla-unified as mercurial bundle document example. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D128464
2021-10-14 09:19:19 +00:00
Nihanth Subramanya e6d5cae88b Bug 1731780 - Reject .only() chained onto add_task in tests. r=Gijs,mythmon,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D128027
2021-10-13 21:26:40 +00:00
Tooru Fujisawa 411190c9c7 Bug 1735058 - Use absolute path to mozilla-unified after possible restart of shell. r=mhentges,glandium
bootstrap.py may ask the restart of shell to reflect the change to login script.
Given the step 2 lets user to move to c:/mozilla-source instead of home,
the document should explicitly specify the absolute path in step 3.

Differential Revision: https://phabricator.services.mozilla.com/D128024
2021-10-13 06:42:08 +00:00
Tooru Fujisawa 2a69e3d3d6 Bug 1735307 - Move "rm bootstrap.py" into bootstrap step. r=glandium,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D128184
2021-10-13 06:42:07 +00:00
Agi Sferro 2bd64785fc Bug 1571899 - Use google-java-format via spotless to enforce Java formatting. r=ahal,owlish
This change adds a new lint `android-format` which enforces formatting of Java
code using google-java-format.

To run the lint simply run:

./mach lint -l android-format

This command also support automatically fixing all errors running by adding
--fix:

./mach lint -l android-format --fix

This change also removes all the formatting-related checkstyle checks which are
now implicitly enforced by the formatter.

Differential Revision: https://phabricator.services.mozilla.com/D127734
2021-10-11 18:11:55 +00:00
Tooru Fujisawa 665bb4ba2e Bug 1734983 - Use mozilla-unified in Building Firefox On Windows doc. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D128010
2021-10-09 10:43:15 +00:00
Sylvestre Ledru fdbbc054cf Bug 1734831 - fx doc: explain how to run gtest + remove the link to MDN r=gcp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127955
2021-10-08 19:54:40 +00:00
Sylvestre Ledru 9911098c80 Bug 1734831 - fx doc: import the gtest doc from mdn archive + refresh r=gcp DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127950
2021-10-08 19:53:53 +00:00
Markus Stange e438bb47ac Bug 1734460 - Make these profiler docs refer to the Upload button (which no longer says Publish) correctly. r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D127699
2021-10-07 16:48:52 +00:00
Sylvestre Ledru e28b9db1e6 Bug 1731542 - Remove infer from the list of code quality tools r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127634
2021-10-06 10:57:38 +00:00
Jackson Popkin 7f087b3bb2 Bug 1733845: Fix Gecko Logging doc links r=nika,sylvestre DONTBUILD
Gecko logging documentation moved earlier this year. Some docs and comments
still refer to the old URL, which now 404s.

Differential Revision: https://phabricator.services.mozilla.com/D127369
2021-10-05 21:00:33 +00:00
James Teh 0240b39c82 Bug 1732592: Create in-tree accessibility documentation and add Document Accessibility Lifecycle as our first page. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D126855
2021-09-30 21:52:54 +00:00
Paul Zuehlcke 9c9e66ecc8 No bug - Added documentation for the anti-tracking-reviewers and permissions-reviewers groups. r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127142
2021-09-30 18:55:35 +00:00
Sylvestre Ledru ae9b671737 no bug - doc: move the text on the same line to fix some weird presentation r=marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D126073
2021-09-20 09:02:35 +00:00
Mike Hommey a346591234 Bug 1730680 - Update minimum supported rust version to 1.53.0. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D125630
2021-09-15 08:10:09 +00:00
Chris Peterson 339c7d8961 Bug 1729598 - Remove now-unused MustUseChecker and MOZ_MUST_USE_TYPE attribute. r=static-analysis-reviewers,andi
Depends on D125504

Differential Revision: https://phabricator.services.mozilla.com/D125505
2021-09-15 05:10:51 +00:00
Michael Comella be77ae1fd6 Bug 1729053 - add links to Engineering Show and Tell. r=jaws,firefox-source-docs-reviewers,sylvestre
I feel these productivity tips will remain helpful in the future and
having them in our documentation will make them more discoverable.

Differential Revision: https://phabricator.services.mozilla.com/D124477
2021-09-08 19:45:05 +00:00
Simon Giesecke 78c7565ba4 Bug 1677549 - Add some guidelines on include directives and header files to the coding style. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D97916
2021-09-08 12:56:01 +00:00
Mike Hommey 4e47a99c0d Bug 1729383 - Advertize MOZ_PARALLEL_BUILD=n rather than MOZ_MAKE_FLAGS=-jn in docs. r=firefox-build-system-reviewers,mhentges
Both work, but the former is preferred. Also remove MOZ_MAKE_FLAGS
in the mozconfig example for msan, because it's irrelevant.

Differential Revision: https://phabricator.services.mozilla.com/D124726
2021-09-08 00:10:21 +00:00
Michael Comella ea478a08b8 Bug 1729056 - replace outdated content on Firefox for Mobile Devices docs. r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124494
2021-09-06 08:40:32 +00:00
Benjamin Beurdouche 0331e610c6 No bug - Reviews doc: add nss-reviewers. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124033
2021-08-31 09:24:28 +00:00
Jeff Muizelaar 2e351a5376 Bug 1727618 - Add documentation about kernel stacks to the Instruments doc. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D123675
2021-08-25 19:34:54 +00:00
Tooru Fujisawa af58648979 Bug 1689965 - Part 2: Use relative path in order to avoid OS-specific description around getting path to the file. r=sylvestre
Depends on D123059

Differential Revision: https://phabricator.services.mozilla.com/D123060
2021-08-20 04:57:12 +00:00
Tooru Fujisawa 6da72148d0 Bug 1689965 - Part 1: Remove unnecessary paragraph about path to hg. r=sylvestre
Depends on D123058

Differential Revision: https://phabricator.services.mozilla.com/D123059
2021-08-20 04:57:12 +00:00
Tooru Fujisawa c9d50d207d Bug 1726527 - Fix command to open local hgrc in mercurial bundle doc. r=sylvestre
Depends on D123057

Differential Revision: https://phabricator.services.mozilla.com/D123058
2021-08-20 04:57:12 +00:00
Tooru Fujisawa ca46b3acde Bug 1726495 - Use mozilla-central repository through mercurial bundle doc. r=sheehan,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D123057
2021-08-20 04:57:11 +00:00
Nicholas Fason d0cec07e15 Bug 1723855 - Fix italicization in Defect Severity docs page r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D121761
2021-08-19 12:19:34 +00:00
Toshihito Kikuchi 699162f574 Bug 1725471 - Update the "Capturing a minidump" page. r=handyman DONTBUILD
- Update the link to Microsoft Docs
- Update the steps to install debuggers
- Add steps using cdb.exe
- Add a section to identify a process
- Add a section to locate firefox.exe
- Add screenshots

Differential Revision: https://phabricator.services.mozilla.com/D122525
2021-08-17 15:16:01 +00:00
Julian Descottes b44277e02b Bug 1722456 - [devtools] Update documentation to find Devtools reviewers r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D121524
2021-08-02 14:14:22 +00:00
Tom Ritter 05cffe8a72 Bug 1722724: Start a cookbook that lists common needs for matchers r=andi
Differential Revision: https://phabricator.services.mozilla.com/D121105
2021-07-29 14:34:44 +00:00
Gijs Kruitbosch 6fce85b1ba Bug 1708462 - add warning level linter for OS.File use, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D120684
2021-07-28 15:15:03 +00:00
Sylvestre Ledru 989ed1c810 no bug - fx doc: adjust the link to 'contribute to moz projects' r=padenot DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120974
2021-07-27 14:44:11 +00:00
Greg Tatum 17a66918ee Bug 1721697 - Add platform-i18n-reviewers to reviews.rst; r=platform-i18n-reviewers,dminor DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120524
2021-07-26 22:13:36 +00:00
Tom Ritter 7026afec02 Bug 1717076: Tweak some of the existing documentation r=andi
Depends on D118211

Differential Revision: https://phabricator.services.mozilla.com/D120515
2021-07-22 19:50:38 +00:00
Tom Ritter 1b8cf0af95 Bug 1717076: Add documentation about advanced checker techniques r=andi
Differential Revision: https://phabricator.services.mozilla.com/D118211
2021-07-22 19:50:37 +00:00
Tom Ritter 537031b360 Bug 1717076 - Add a quick-start guide for how to turn a matcher to a static analysis check r=andi
Differential Revision: https://phabricator.services.mozilla.com/D118248
2021-07-22 19:50:37 +00:00
Tom Ritter 72b427a860 Bug 1717076 - Move comments to a separate line r=freddyb
clang-query does not allow end-of-line comments, they need
to be on a separate line

Differential Revision: https://phabricator.services.mozilla.com/D118247
2021-07-22 19:50:37 +00:00
Benjamin Beurdouche 4582da2473 Bug 1709817 - Enable NSS documentation in firefox-src-tree. r=beurdouche
Differential Revision: https://phabricator.services.mozilla.com/D119913
2021-07-22 12:10:19 +00:00
Agi Sferro 05486b27b3 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-20 22:19:13 +00:00
Sebastian Hengst 5a4f8ee0eb Backed out 13 changesets (bug 1709640, bug 1718341) for failing geckoview-junit tasks on shippable lite platform. CLOSED TREE
Backed out changeset abc4249b08a0 (bug 1709640)
Backed out changeset c7f2fa8d7535 (bug 1709640)
Backed out changeset 45b07d37f247 (bug 1709640)
Backed out changeset a15b3b87d71e (bug 1718341)
Backed out changeset a87639f2921b (bug 1718341)
Backed out changeset 31a57851c6d1 (bug 1718341)
Backed out changeset c7de56a1f886 (bug 1718341)
Backed out changeset 5e76806752c8 (bug 1718341)
Backed out changeset 74cfe6df218b (bug 1718341)
Backed out changeset 3bd0e376de51 (bug 1718341)
Backed out changeset 176238f92cfe (bug 1718341)
Backed out changeset 38d622f60fa5 (bug 1718341)
Backed out changeset 2e16fa5f0a1f (bug 1718341)
2021-07-20 11:31:01 +02:00
Agi Sferro 910da6cc43 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-20 03:23:29 +00:00
Butkovits Atila df5b6f3929 Backed out 13 changesets (bug 1709640, bug 1718341) for causing android build bustages. CLOSED TREE
Backed out changeset 20645ae32b84 (bug 1709640)
Backed out changeset 7c45682a8f98 (bug 1709640)
Backed out changeset 667e768fd75e (bug 1709640)
Backed out changeset f072adb45b85 (bug 1718341)
Backed out changeset cf443dddb5f5 (bug 1718341)
Backed out changeset 09d3d3e4ce7d (bug 1718341)
Backed out changeset 2b47cc469477 (bug 1718341)
Backed out changeset 8ec277361e46 (bug 1718341)
Backed out changeset b6c4c82d3efc (bug 1718341)
Backed out changeset 8afb8fcd0dc3 (bug 1718341)
Backed out changeset 7723d3a9ba7f (bug 1718341)
Backed out changeset f33b120a77d0 (bug 1718341)
Backed out changeset e7bf6deac270 (bug 1718341)
2021-07-17 01:02:51 +03:00
Agi Sferro c43f1d54ef Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-16 17:49:54 +00:00
Sylvestre Ledru f731231c7e Bug 1720922 - Use right sphinx function (the old func has been removed) r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D120087
2021-07-16 17:38:43 +00:00
Sandor Molnar c40ce62c3c Backed out 10 changesets (bug 1718341) for causing wrench bustages. CLOSED TREE
Backed out changeset e5bd150a58b2 (bug 1718341)
Backed out changeset e82e752b8f44 (bug 1718341)
Backed out changeset d9462c727c8f (bug 1718341)
Backed out changeset 2bd647754780 (bug 1718341)
Backed out changeset 31dfce45985f (bug 1718341)
Backed out changeset 03266cea345d (bug 1718341)
Backed out changeset 3920b27acecb (bug 1718341)
Backed out changeset 2b17603c5e65 (bug 1718341)
Backed out changeset ebc0d5d4f537 (bug 1718341)
Backed out changeset 1c8844157b8d (bug 1718341)
2021-07-16 03:40:56 +03:00
Agi Sferro eb60dc64d3 Bug 1718341 - Rename arm-4.3 -> arm r=aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D119220
2021-07-15 23:22:15 +00:00
Dorel Luca a8dbc3a00f Backed out changeset 893f32015ef0 (bug 1709817) for Gecko Decision Task failure and Build bustages. CLOSED TREE 2021-07-15 14:03:08 +03:00
Benjamin Beurdouche c0714b01bc Bug 1709817 - Import the NSS documentation from MDN in nss/doc. r=beurdouche
Differential Revision: https://phabricator.services.mozilla.com/D119913
2021-07-15 10:47:28 +00:00
Mark Banner ff109894f5 Bug 1587022 - Improve documentation for remaining Mozilla specific ESLint rules. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D118735
2021-07-05 11:38:39 +00:00
Tarik Eshaq 453be8c6fd Bug 1716450 - Removes fxa-client rust code from Desktop. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D118238
2021-06-22 17:04:35 +00:00
Sylvestre Ledru b66d69349e Bug 1717447 - docs: fix a typo r=linter-reviewers,marco DONTBUILD
Depends on D118293

Differential Revision: https://phabricator.services.mozilla.com/D118294
2021-06-21 15:29:11 +00:00
Mike Hommey 7f9a51a8f5 Bug 1715282 - Bump minimum Rust version to 1.51. r=firefox-build-system-reviewers,andi
Also update the estimated rust versions for future releases, based on
the updated Firefox release dates.

Differential Revision: https://phabricator.services.mozilla.com/D117737
2021-06-15 09:23:20 +00:00
Iulian Moraru 952b525e6f Backed out changeset 55a7556ae185 (bug 1715282) for causing base-toolchain bustages and python failures on test_toolchain_configure.py. CLOSED TREE 2021-06-15 10:46:39 +03:00
Jeff Muizelaar e5c5ce020a Bug 1715282 - Bump minimum Rust version to 1.50. r=glandium
Various people want 1.50 and it's been out for a while so let's require it.

Differential Revision: https://phabricator.services.mozilla.com/D117158
2021-06-15 05:46:02 +00:00
Tom Ritter 5a4c1ce591 Bug 1716070 - Add more detailed documentation about our CE instance r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D117565
2021-06-14 17:28:09 +00:00
Silke Hofmann 7447c9915a Bug 1481470 - Stop using xlink:href in SVG in docs/. r=nhnt11,firefox-source-docs-reviewers,championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D117203
2021-06-13 19:01:18 +00:00
Butkovits Atila ce6e97604b Backed out changeset 7648560f810d (bug 1715282) for causing build bustages. CLOSED TREE 2021-06-11 22:47:34 +03:00
Jeff Muizelaar 5ca0d5fb13 Bug 1715282 - Bump minimum Rust version to 1.50. r=glandium
Various people want 1.50 and it's been out for a while so let's require it.

Differential Revision: https://phabricator.services.mozilla.com/D117158
2021-06-11 19:27:22 +00:00
surajeet310 6ea83c8ef9 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117419
2021-06-10 19:33:53 +00:00
surajeet310 4ee25b07d1 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117225
2021-06-09 20:27:09 +00:00
Mitchell Hentges 4cce0c5e12 Bug 1714641: Remove usages of vendored "futures" library r=ahal
`concurrent.futures` functionality has been part of Python since
Python 3.2.

Differential Revision: https://phabricator.services.mozilla.com/D117068
2021-06-09 15:48:54 +00:00
Mitchell Hentges e568fa2e0d Bug 1714641: Remove usages of vendored "backports" code r=ahal,perftest-reviewers
It provides `shutil.which(...)`, which has been part of `shutil` since
Python 3.3.

Differential Revision: https://phabricator.services.mozilla.com/D117063
2021-06-09 15:48:52 +00:00
surajeet310 ea853da3f4 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' ,r=sylvestre,webdriver-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D116939
2021-06-07 19:28:40 +00:00
Frederik Braun 6f19bc3072 Bug 1714991 - add docs for own compiler explorer instance r=andi
Differential Revision: https://phabricator.services.mozilla.com/D117000
2021-06-07 13:15:32 +00:00
Julian Descottes 1d9ad5795a Bug 1714616 - Update mention of marionette-reviewers and remote-protocol-reviewers in documentation r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D116867
2021-06-07 10:06:27 +00:00
Sylvestre Ledru 72f885fa29 Bug 1714434 - Doc/contribution: Refresh the list of projects and update the wording r=gsvelto DONTBUILD
Depends on D116821

Differential Revision: https://phabricator.services.mozilla.com/D116822
2021-06-06 14:36:53 +00:00
Sylvestre Ledru 4fabcce989 Bug 1714434 - Doc/contribution: remove trailing whitespaces r=gsvelto DONTBUILD
Depends on D116820

Differential Revision: https://phabricator.services.mozilla.com/D116821
2021-06-06 14:36:52 +00:00
Sylvestre Ledru abaad00ab4 Bug 1714434 - Doc/contribution: Rename the file about Mozilla contributions r=gsvelto DONTBUILD
and set up a redirect

Differential Revision: https://phabricator.services.mozilla.com/D116820
2021-06-06 14:36:52 +00:00
Kim Moir 5f981c24b9 Bug 1712168 - migrate profiler mdn docs to in tree performance docs r=julienw
***
bug 1712168 - migrate profiler mdn docs to in tree performance docs  r=#firefox-source-docs-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D116154
2021-06-03 13:47:50 +00:00
Henrik Skupin 2c6099421a Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 17:36:06 +00:00
Alexandru Michis d30bd50d0f Backed out changeset 37f2f9ef6ef8 (bug 1693993) for containing unreviewed changes.
CLOSED TREE
2021-05-31 15:55:11 +03:00
Henrik Skupin 55d4518049 Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D106311
2021-05-31 08:56:32 +00:00
Pier-Luc Thériault 4a86f78a7f Bug 1711824 - Removing documentation on MOZ_BUILD_PROJECTS because it is obsolete r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D115440
2021-05-19 14:17:25 +00:00
Kim Moir 5a0ef6d558 Bug 1711780 - fix some typos in the perf doc r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D115420
2021-05-19 08:06:21 +00:00
Kim Moir 82982c52a3 Bug 1708810 - migrate remaining MDN perf docs to in-tree - power docs r=ahal
***
Bug 1708810 - migrate remaining MDN perf docs to in-tree - power docs r=#firefox-source-docs-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D115222
2021-05-18 18:41:00 +00:00
byron jones 1a494b6f2b Bug 1704426 - Document supported build hosts. r=glob
Define "build host" support tiers, and their relationship
to existing "target" tiers.

Differential Revision: https://phabricator.services.mozilla.com/D111578
2021-05-18 14:57:50 +00:00
Andrew McCreight 9e0841b081 Bug 1710886, part 3 - Fix some escapes of < and >. r=xpcom-reviewers,nika DONTBUILD
Unlike the quote one, these do show up in the final
output.

Differential Revision: https://phabricator.services.mozilla.com/D114993
2021-05-17 17:44:47 +00:00
Andrew McCreight a662887aba Bug 1710886, part 2 - Remove some escapes for apostrophes. r=xpcom-reviewers,nika DONTBUILD
These don't show up in the final output, but I think they aren't
needed, and removing them makes reading the file nicer.

Differential Revision: https://phabricator.services.mozilla.com/D114992
2021-05-17 17:44:47 +00:00
Andrew McCreight 4fa093fff5 Bug 1710886, part 1 - Fix some weird errors introduced by importing. r=xpcom-reviewers,nika DONTBUILD
Also remove some trailing whitespace I noticed.

Differential Revision: https://phabricator.services.mozilla.com/D114991
2021-05-17 17:44:46 +00:00
Chris H-C f666fb3dc9 Bug 1705403 - Replace FOG's Glean autodocs with link to Glean Dictionary r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114631
2021-05-10 13:33:09 +00:00
Gagah Pangeran Rosfatiputra 250274d5c7 Bug 1709506 - doc: change html link format to rst link format. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114681
2021-05-08 18:13:43 +00:00
Mike Hommey 81fa47bdb1 Bug 1709730 - Update rust firefox requirements table. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D114417
2021-05-06 08:23:06 +00:00
Mike Hommey 73919045c1 Bug 1709730 - Import the Rust update policy from wiki.m.o. r=sylvestre
More or less verbatim from https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox

Differential Revision: https://phabricator.services.mozilla.com/D114416
2021-05-06 08:23:06 +00:00
keiko c23d24e129 Bug 1705755 - added explanations about Bugzilla and Phabricator amended2 r=firefox-source-docs-reviewers,sylvestre,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113256
2021-05-05 06:58:16 +00:00
Csoregi Natalia 55d7561df8 Bug 1706751 - Fix spell lint. r=fix CLOSED TREE 2021-04-30 20:19:55 +03:00
Kim Moir 7157a6c59b Bug 1706751 - convert performance memory docs from MDN->in-tree r=firefox-source-docs-reviewers,ahal
***
Bug 1706751 - convert performance memory docs from MDN->in-tree r=#firefox-source-docs-reviewers

***
Bug 1706751 - convert performance memory docs from MDN->in-tree r=#firefox-source-docs-reviewers
***
Bug 1706751 - convert performance memory docs from MDN->in-tree r=#firefox-source-docs-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D113696
2021-04-30 15:33:48 +00:00
bukola 69a468f2ad Bug 1696868 - 'moz-phab reorg' should be mentioned in https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D113211
2021-04-28 13:07:27 +00:00
Myeongjun Go a4c2f8da8d Bug 1698567 - [perfdocs] Provide a way to link directly to individual Raptor tests r=sparky,perftest-reviewers,firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D110779
2021-04-27 18:19:03 +00:00
Sylvestre Ledru 8bf449b92d no bug - Add a example of what a group review commit message looks like r=padenot DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113486
2021-04-27 15:50:58 +00:00
keiko 425815c622 Bug 1705675 -Deleted and modified the document links. r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113260
2021-04-26 18:24:14 +00:00
Sylvestre Ledru 24951f13b0 Bug 1702922 - mozlint/ride along: Document how to run a specific testsuite r=linter-reviewers,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D113287
2021-04-26 08:13:04 +00:00
Emilio Cobos Álvarez c78d99121a Bug 1706325 - Minor tweaks to the VIM docs. r=sylvestre
Mostly mentioning that other completion engines also work, and how to
set jsm files to be treated like other JS files (and thus ESLint etc
would work on them).

Differential Revision: https://phabricator.services.mozilla.com/D112729
2021-04-20 14:19:09 +00:00
Kim Moir e928155e9b Bug 1704528 - migrate first section performance docs r=firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D111864
2021-04-19 15:33:19 +00:00
Kim Moir c1d66ec89a Bug 1703618 - fix up patches to in tree patches for Performance Best Practices for Front-end Engineers doc r=florian
Differential Revision: https://phabricator.services.mozilla.com/D111136
2021-04-12 16:57:13 +00:00
championshuttler bd20013088 Bug 1693140 - Fix the mermaid rendering issue.r=ahal
sphinxcontrib-mermaid loads the mermaid library in different way which prevents mermaid library to load on production, it will work locally but not on writethedocs, so we have to hard loading the mermaid library through CDN in our tree.

Differential Revision: https://phabricator.services.mozilla.com/D111161
2021-04-09 13:26:53 +00:00
Matthew Gaudet 96f3044749 Bug 1703039 - Warn against `hg commit --amend -m` in the contribution docs r=firefox-source-docs-reviewers,sylvestre,championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D110818
2021-04-07 14:55:20 +00:00
Gijs Kruitbosch dab991dda3 Bug 1702526 - suggest people use wget instead of curl for downloading the bootstrap script on Windows DONTBUILD r=glob
Differential Revision: https://phabricator.services.mozilla.com/D110568
2021-04-01 17:23:05 +00:00
Kim Moir 809beee368 Bug 1682898 Migrate Performance Best Practices for Front-end Engineers MDN page to in-tree docs r=firefox-source-docs-reviewers,bas,ahal
***
Bug 1682898 Migrate Performance Best Practices for Front-end Engineers MDN page to in-tree docs

***
Bug 1682898 Migrate Performance Best Practices for Front-end Engineers MDN page to in-tree docs

Differential Revision: https://phabricator.services.mozilla.com/D109970
2021-03-30 16:02:41 +00:00
Andi-Bogdan Postelnicu aede98462d Bug 1701913 - Documentation regarding Remote Development over SSH using VS Code. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D110237
2021-03-30 14:44:51 +00:00
Tony Froman 2b9f0a3dd4 Bug 1674152 - Building documentation for Picture-in-Picture using SphinxJS r=mtigley
Changed formatting to support parsing, adding config files to target for parsing by SphinxJS via mach docs command.

Differential Revision: https://phabricator.services.mozilla.com/D105061
2021-03-26 21:55:19 +00:00
Tom Ritter 829a688630 Bug 1645419: Add new static analysis documentation r=andi
Differential Revision: https://phabricator.services.mozilla.com/D101956
2021-03-22 17:28:37 +00:00
Tom Ritter 5e728f3aa7 Bug 1645419: Edit the old static analysis page in the context of what's to come r=andi
Depends on D108053

Differential Revision: https://phabricator.services.mozilla.com/D108054
2021-03-22 17:28:37 +00:00
Tom Ritter 5f9bfc09bd Bug 1645419: Move the existing static analysis page to a new one explicitly about existing stuff r=andi
Differential Revision: https://phabricator.services.mozilla.com/D108053
2021-03-22 17:28:37 +00:00
Jan Odvarko f62cae8410 Bug 1658876 - [devtools] Avoid including its own cloning and build instructions in docs. r=nchevobbe
Removing DevTools specific build instructions in favor of https://firefox-source-docs.mozilla.org/setup/index.html

Differential Revision: https://phabricator.services.mozilla.com/D108182
2021-03-15 11:41:14 +00:00
Myeongjun Go 95e1fff568 Bug 1691739 - [perfdocs] Display each test description for raptor r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D105643
2021-03-11 15:59:15 +00:00
Nikita Sen 692373c939 Bug 1696813 - Path of mach changed from mozilla-unified to project repository, i.e. mozilla-central. r=gsvelto DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D107887
2021-03-11 13:36:35 +00:00
David Parks f302214e11 Bug 1695954: Move Gecko Logging MDN Page In-tree r=nika
Moves the contents of https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Gecko_Logging in tree, with minor edits.  The only substantive addition is the information in the warning that explains how to get child process logging from sandboxed processes on Windows.

Differential Revision: https://phabricator.services.mozilla.com/D107579
2021-03-09 16:27:29 +00:00
Mitchell Hentges 63b2da5135 Bug 1696225: Remove "Processor" requirement in Mac quick-start r=firefox-build-system-reviewers,glandium
The linked ARM wiki docs are obsolete, and will soon be unnecessary.
Additionally, the "processor" requirement is entirely redundant since we
support all processors compatible with macOS 10.12 or later.

Differential Revision: https://phabricator.services.mozilla.com/D107098
2021-03-09 16:27:03 +00:00
Valentin Gosu 07f95b4824 Bug 1696393 - Add in-tree HTTP cache docs r=necko-reviewers,sylvestre,dragana DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D107203
2021-03-08 10:28:11 +00:00
championshuttler 3f7cb70543 Bug 1691327 - Update sphinxcontrib-mermaid to v0.6.3 DONTBUILD. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D107057
2021-03-04 07:07:58 +00:00
Sylvestre Ledru a9eae8dc84 no bug - doc: remove some old references - tinderbox/mxr r=decoder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106903
2021-03-02 14:21:47 +00:00
Sylvestre Ledru 896135cdcc hg diff Bug 1695756 - Import the 'Adding a new word to the en-US dictionary' doc r=firefox-source-docs-reviewers,flod,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D106830
2021-03-02 13:25:44 +00:00
Simon Giesecke f4f7c593e0 Bug 1692835 - Remove nsJSThingHashtable. r=xpcom-reviewers,nika
The only use of nsJSThingHashtable is replaced by a direct use of
nsBaseHashtable.

Differential Revision: https://phabricator.services.mozilla.com/D105971
2021-03-02 09:02:19 +00:00
championshuttler 2d8d6edee2 Bug 1693140 - Fix the mermaid rendering issue and remove post processing script.r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105674
2021-02-19 08:45:10 +00:00
Akshat 410a4c846a Bug 1692974 - doc(mozlint): Add documentation for counting fixed issues r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D105271
2021-02-17 08:49:12 +00:00
Mitchell Hentges e44df456bd Bug 1687980: Remove obsolete Fedora 19/20 32bit setup docs r=sylvestre
Fedora 19 and 20 were released in 2013. If these docs haven't been
adjusted for modern Fedora, they're probably out-of-date.

Differential Revision: https://phabricator.services.mozilla.com/D104733
2021-02-16 17:48:12 +00:00
Mitchell Hentges 8ce816f512 Bug 1687980: Simplify "Getting Set Up" page r=mhoye,firefox-build-system-reviewers,glandium,sylvestre,andi
When a user is at the top-level "Getting Set Up" page, they should be
shown which path to take (Windows/Mac/Linux) without redundantly showing
the platform-specific technicalities.

Differential Revision: https://phabricator.services.mozilla.com/D104099
2021-02-16 17:48:12 +00:00
Mitchell Hentges 35a65cf626 Bug 1687980: Make Linux quickstart docs more concise r=mhoye,sylvestre
* Removes duplicated information
* Removes unnecessary extra details (e.g.: how pyenv works - that's
  documented in pyenv docs)
* Recommends the standalone bootstrap script
* Removes unnecessary mozconfig instructions
* Removes unnecessary per-distro information

Differential Revision: https://phabricator.services.mozilla.com/D102975
2021-02-16 17:48:12 +00:00
Mitchell Hentges 08b3a902ec Bug 1687980: Make Windows quickstart docs more concise r=mhoye,sylvestre,andi
* Puts the docs in order, so that contributors aren't jumping to the
  middle of the page to install system tools, then back to the top to
  clone Firefox.
* Removes docs on MacPorts since it's being removed in bug 1688263.
* Removes step to manually install brew packages since that happens
   automatically in bootstrap now.
* Simplifies mercurial installation docs
* Removes unnecessary mozconfig-tweaking instructions
* Removes almost-always-unnecessary DEFINE and troubleshooting
  information.

Differential Revision: https://phabricator.services.mozilla.com/D102974
2021-02-16 17:48:11 +00:00
Mitchell Hentges a3eb85e571 Bug 1687980: Make macOS quickstart docs more concise r=sylvestre,mhoye
* Puts the docs in order, so that contributors aren't jumping to the
  middle of the page to install system tools, then back to the top to
  clone Firefox.
* Removes docs on MacPorts since it's being removed in bug 1688263.
* Removes step to manually install brew packages since that happens
   automatically in bootstrap now.
* Simplifies mercurial installation docs
* Removes unnecessary mozconfig-tweaking instructions
* Removes almost-always-unnecessary DEFINE and troubleshooting
  information.

Differential Revision: https://phabricator.services.mozilla.com/D102973
2021-02-16 17:48:11 +00:00
Mark Banner 67bf517e00 Bug 1608272 - Extend an ESLint rule to disallow 'this' as the second argument to ChromeUtils.import. r=Gijs
Depends on D104684

Differential Revision: https://phabricator.services.mozilla.com/D104685
2021-02-11 22:02:16 +00:00
Dan Minor febbe04140 Bug 1416149 - Add linter for checking fluent files r=zbraniecki,gregtatum,flod,Gijs,fluent-reviewers,linter-reviewers,sylvestre
This adds a linter for Fluent files based upon the existing test for bad
strings in browser_misused_characters_in_strings.js. It also adds a check
for identifiers that only permits lowercase letters, numbers and the
hyphen character (in ascii). Since a large number of existing identifiers
use uppercase letters, an exclusions file is used to disable the identifier
check on a file by file basis.

Differential Revision: https://phabricator.services.mozilla.com/D104414
2021-02-11 17:35:29 +00:00
Mark Hammond 53b7398083 Bug 1690961 - add some firefox-source-docs for sync. r=firefox-source-docs-reviewers,rfkelly,LougeniaBailey,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104146
2021-02-08 01:30:53 +00:00
Sylvestre Ledru c77f092e54 Bug 1690959 - docs: Mozlint/rust - Fix the link to the source r=linter-reviewers,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104160
2021-02-05 09:48:03 +00:00
Sylvestre Ledru c9c024db93 Bug 1690785 - Update of the contribution doc wrt check-in needed r=jwalker,aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D104057
2021-02-04 21:52:38 +00:00
Mark Banner abafccf4d7 Bug 1687650 - Rework Lint and ESLint document pages to provide a better layout and more information for ESLint itself. r=firefox-source-docs-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D103168
2021-01-29 09:09:12 +00:00
championshuttler 515555dbfa Bug 1689435 - Fix the docs rendering for debugging part of windows building docs.r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D103357
2021-01-28 20:55:46 +00:00
Sylvestre Ledru e40c3a19cd Bug 1682547 - stack doc: Add a screenshot of phab r=andi,marco DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102846
2021-01-26 19:53:21 +00:00
Daniel Le 7f474f9d91 Bug 1684672 - Update mentions of macOS SDK v10.11 to v10.12. r=glandium DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100591
2021-01-21 12:47:01 +00:00
Paul Bone 14f421b17b Bug 1687223 - Update debugging Firefox with Valgrind docs r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D102127
2021-01-19 08:25:08 +00:00
Makoto Kato d8cdbc5ec4 Bug 1687167 - Move IME handling guide to source tree. r=masayuki DONTBUILD
https://developer.mozilla.org/en-US/docs/Mozilla/IME_handling_guide is
archived content now, So we should move this to
https://firefox-source-docs.mozilla.org/.

Also, I have updated mActionHint and Android section.

Differential Revision: https://phabricator.services.mozilla.com/D102118
2021-01-19 06:07:27 +00:00
Mark Banner 787d4fd95d Bug 1686226 - Add references to the Matrix Lint & Formatting room in the coding style docs. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D101463
2021-01-12 15:04:35 +00:00
Kartik Gautam 8828f6896c Bug 1682817 - Make whitespace/newline linter also fail for absent newline character at the end of files and also implement fix for it r=sylvestre
Depends on D100484

Differential Revision: https://phabricator.services.mozilla.com/D100443
2021-01-07 08:53:16 +00:00
championshuttler b35e62f2df Bug 1684645 - Fix the regex for sphinx-copybutton.r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D100596
2021-01-02 15:39:07 +00:00
Sylvestre Ledru d64d40903d Bug 1682547 - Write a simple quick reference guide for managing patches stack r=julienw,sheehan DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99791
2020-12-18 21:28:25 +00:00
Kartik Gautam 5a1125a101 Bug 1675131 - Make whitespace / newline linter also fail for missing empty lines at the end of files. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D98000
2020-12-15 21:49:43 +00:00
Butkovits Atila cd73ee5d0b Backed out changeset eb6cdd43ce2e (bug 1677549) as requested by Simon. CLOSED TREE 2020-12-14 17:32:44 +02:00
Gabriele Svelto 36c296acc1 Bug 1681944 - Remove the remaining instances of crash-stats.mozilla.com and replace them with the .org domain r=willkg DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99447
2020-12-12 08:41:20 +00:00
Simon Giesecke ba0db06d63 Bug 1677549 - Add some guidelines on include directives and header files to the coding style. r=andi,sylvestre,asuth
Differential Revision: https://phabricator.services.mozilla.com/D97916
2020-12-11 10:35:54 +00:00
Julien Cristau 2014a39127 No bug - clarify triage documentation. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D99365
2020-12-10 16:09:30 +00:00
Joel Maher aa94a1b6e4 Summary: Bug 1679892 - add initial schedule of CI config changes in-tree. r=releng-reviewers,aki
add ci-configuration process and schedule of CI config changes in-tree

Differential Revision: https://phabricator.services.mozilla.com/D98252
2020-12-08 21:17:24 +00:00
Markus Stange 4526c84b57 Bug 1679842 - Remove reference to non-existent image file in Bugzilla severity documentation. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D98221
2020-11-30 19:05:19 +00:00
Andrey Bienkowski 0077ffa9ac Bug 1678314 - Add instructions to run mach lint to the contributors' quick reference. r=sylvestre,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D97585
2020-11-23 20:28:23 +00:00
Greg Tatum dbae6744d9 Bug 1641000 - Start documenting the Gecko Profiler; r=gerald
This patch represents joint authoriship by Greg Tatum and Gerald Squelart.
This is a work in progress start to documenting the Gecko Profiler. We
collaborated on this on GitHub.

https://github.com/gregtatum/gecko-dev/tree/profiler-docs/tools/profiler/docs

Differential Revision: https://phabricator.services.mozilla.com/D97655
2020-11-20 18:55:26 +00:00
Sylvestre Ledru 38008eb1cd Bug 1676514 - Add --fix to mozlint/clippy
I will add a test once this feature is considered as stable upstream

Differential Revision: https://phabricator.services.mozilla.com/D96634
2020-11-17 12:03:33 +00:00
Ricky Stewart 12f9eca861 Bug 1675875 - Document `--enable-release` and `RUSTC_OPT_LEVEL` r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96858
2020-11-16 16:47:46 +00:00
James Teh 4e2e3f8b06 Bug 1676087: Add documentation for Accessibility Review process. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D96512
2020-11-10 17:17:28 +00:00
Emilio Cobos Álvarez 4bfa353566 Bug 1676307 - Provide concrete instructions to enable sccache. r=sylvestre
And also, don't output that message if already using sccache.

Differential Revision: https://phabricator.services.mozilla.com/D96497
2020-11-10 17:58:30 +00:00
Zac Svoboda 071fcb1c66 no bug - Update IRC reference to Matrix r=sylvestre,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96334
2020-11-09 14:12:13 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Sylvestre Ledru 71abba1805 no bug - Remove old DXR references r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94076
2020-10-20 11:59:25 +00:00
Stephen A Pohl 19bd39d8da Bug 1668941: Update build and debugging documentation for macOS. r=haik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92293
2020-10-13 17:58:50 +00:00
gsvelto fbe0690bcd Bug 1460338 - Migrate symbol server docs from MDN to in-tree. r=sylvestre DONTBUILD
The links and instructions in the page have been updated to reflect the
changes in the symbol server and the old copy was removed. Images have been
recompressed to reduce size.

Differential Revision: https://phabricator.services.mozilla.com/D92878
2020-10-08 14:32:54 +00:00
Jasleen Kaur e1939456ec Bug 1669946 - Fixed some documentation typos. r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92931
2020-10-08 13:44:34 +00:00
Dhairya Bahl 1a64cbb050 Bug 1669921 - Fixed a typo in windows_build.rst r=championshuttler,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D92896
2020-10-08 11:54:45 +00:00
Sylvestre Ledru 9bce072e44 Bug 1588458 - Replace dxr by searchfox in the rst doc r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D49140
2020-10-08 08:13:15 +00:00
Ricky Stewart e6fd6a6aa7 Bug 1667436 - Merge content of `docs/setup/mach.rst` into existing documentation r=firefox-build-system-reviewers,mhentges DONTBUILD
This document was imported from MDN and contained very outdated/incorrect information, and much of the information here is duplicated from the existing `mach` documentation. For the little content that isn't already expressed in the existing documentation in a better way, merge it into `python/mach/docs`.

The unique content is mainly in the FAQ, so I added a new page for that.

Differential Revision: https://phabricator.services.mozilla.com/D91455
2020-10-05 16:51:41 +00:00
Sylvestre Ledru 31b3856da6 Bug 1667831 - doc: fix more pygments r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91868
2020-09-30 07:03:41 +00:00
Sylvestre Ledru 3c813005a1 Bug 1667831 - doc: fix more warnings r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91642
2020-09-29 18:48:17 +00:00
Sylvestre Ledru 6be67c14c4 Bug 1667831 - doc: refresh links as many pages moved in-tree r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91619
2020-09-29 17:53:54 +00:00
ruchikabgosain 5e3cc11a26 Bug 1587022 - Improve documentation for Mozilla specific ESLint rules. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D52626
2020-09-29 15:18:56 +00:00
Sylvestre Ledru b875fbbac5 Bug 1667831 - fx doc: Include some recent changes from mdn r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D91618
2020-09-28 18:24:55 +00:00
Markus Stange 9aa3b6a184 Bug 1667463 - Fix two typos in using_cxx_in_firefox_code.rst. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D91472
2020-09-25 20:25:23 +00:00
Simon Giesecke 3abd6dca98 Bug 1648010 - Update coding style with respect to string literals. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D81503
2020-07-21 11:24:06 +00:00
Sylvestre Ledru 264cb8dba5 no bug - fx doc - Fix some rst warnings
Depends on D90832

Differential Revision: https://phabricator.services.mozilla.com/D90864
2020-09-22 06:26:42 +00:00
Sylvestre Ledru 102a0968b1 Bug 1665854 - fx doc: Various improvements + configuration + fixes in the doc r=firefox-build-system-reviewers,rstewart
Depends on D90831

Differential Revision: https://phabricator.services.mozilla.com/D90832
2020-09-22 06:26:17 +00:00
Sylvestre Ledru cadbbb06d8 Bug 1666183 - Import the crash reporting doc from MDN r=gsvelto,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D90831
2020-09-22 06:25:36 +00:00
Sylvestre Ledru 768d4782c8 Bug 1665854 - fx doc: Update the contributions docs from MDN r=firefox-build-system-reviewers,rstewart
Depends on D90664

Differential Revision: https://phabricator.services.mozilla.com/D90665
2020-09-21 19:31:16 +00:00
Sylvestre Ledru c89bc81827 Bug 1665854 - Import more contributions docs from MDN r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D90664
2020-09-21 17:57:22 +00:00
Sylvestre Ledru ae62eb5a62 Bug 1666257 - fx doc: Limit the depth of autosection r=firefox-source-docs-reviewers,championshuttler
Only run autosection for the page title.
Otherwise, we have a huge number of duplicate links.
For example, the page https://firefox-source-docs.mozilla.org/code-quality/lint/
is called "Linting"
just like https://firefox-source-docs.mozilla.org/remote/CodeStyle.html

And creating a :ref:Linting point to the latter.

We have also a huge number of dup label as they are following the same template:
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/codespell.html
https://firefox-source-docs.mozilla.org/code-quality/lint/linters/cpp-virtual-final.html

It also decreases the number of warnings (1463 to 637)

Differential Revision: https://phabricator.services.mozilla.com/D90857
2020-09-21 15:31:57 +00:00
Sylvestre Ledru dba81844c2 Bug 1666244 - Update of the wording + url at the end of the build r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D90855
2020-09-21 13:43:52 +00:00
Botond Ballo 80d302db4e Bug 1665499 - Document clangd's 'switch header/source' command. r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D90482
2020-09-17 05:20:18 +00:00
Sylvestre Ledru d0dd2b5efe no bug - doc: replace the mdn link by intree r=andi DONTBUILD
Depends on D90387

Differential Revision: https://phabricator.services.mozilla.com/D90388
2020-09-16 13:24:16 +00:00
Ricky Stewart 72d793d728 Bug 1664581 - Specifically recommend installing version control systems in documentation r=nalexander
This is a requirement anyway, and the bootstrap script will yell at you if it can't find `hg` (or `git`, if it's necessary), but we can be more specific about this requirement here so people don't waste any more time than necessary.

Differential Revision: https://phabricator.services.mozilla.com/D90172
2020-09-14 21:30:21 +00:00
Sylvestre Ledru f23398e021 no bug - Update the pylint doc r=andi DONTBUILD
Also do that to verify reviewbot

Differential Revision: https://phabricator.services.mozilla.com/D90075
2020-09-14 10:34:37 +00:00
Brian Grinstead 4edb87a680 Bug 1664507 - Add documentation for testing policy r=Gijs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89941
2020-09-11 19:19:29 +00:00
Andi-Bogdan Postelnicu 4e61a84966 no bug - Doc: document `vscode` integration. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D89716
2020-09-10 13:56:26 +00:00
Ricky Stewart e559d0c65b Bug 1663959 - Remove references to `autoconf` from build documentation r=dmajor
As of bug 1663863, we vendor this in-tree, so installing/configuring it is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D89614
2020-09-09 15:44:50 +00:00
Sylvestre Ledru 62f7f8390f Bug 1663916 - mdn to in-tree: Import some Windows & Debugging info r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D89592
2020-09-09 15:37:20 +00:00
Ricky Stewart f339ca9f42 Bug 1660831 - Reference the standalone `bootstrap.py` script in `windows_build.rst` and prefer `mozilla-unified` to `mozilla-central` where relevant r=mhentges,froydnj
Today the docs tell you to directly clone `mozilla-central`, which is a weird departure from what we do in the other per-platform documents for no real reason. Instead, reference the standalone `bootstrap.py` script as we do for Linux and macOS.

Also, do a little scan and replace references to `mozilla-central` with `mozilla-unified` where appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D88051
2020-08-31 17:51:14 +00:00
Emil Farisan 3997e86c02 Bug 1661434 - added imported message banner to imported pages.
Differential Revision: https://phabricator.services.mozilla.com/D88733
2020-08-31 12:13:53 +00:00
Emil Farisan affc18cdb6 Bug 1661434 - added mozilla symbol server and source server page to in-tree. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88729
2020-08-31 11:51:58 +00:00
Emil Farisan 611d45c6ff Bug 1661434 - move some strings to an rst code block. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88728
2020-08-31 11:52:06 +00:00
Emil Farisan 7a87d13818 Bug 1661434 - made content changes to some of the pages. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88727
2020-08-31 11:50:47 +00:00
Emil Farisan d68985630c Bug 1661434 - added debugging and taskcluster pages from MDN to in-tree. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D88580
2020-08-31 11:16:52 +00:00
Sylvestre Ledru da28d33f60 no bug - Fx doc: Replace the record/replay doc by rr DONTBUILD
This is a simple import from:
https://github.com/mozilla/rr/wiki/Recording-Firefox

Differential Revision: https://phabricator.services.mozilla.com/D87946
2020-08-22 15:08:37 +00:00
Chris H-C 5493409c18 Bug 1654339 - Add Glean metrics autodocs to moztreedocs r=janerik,ahal
Also define a scheme for storing the index of Glean definitions files in a file
separate from the build system for consumption by
* mach build
* mach doc
* (future) mozilla/probe-scraper

Differential Revision: https://phabricator.services.mozilla.com/D87600
2020-08-21 16:30:45 +00:00
Emil Farisan e5378efe38 Bug 1658505 - updated links and updated some code blocks. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D87443
2020-08-19 16:10:37 +00:00
Emil Farisan 1c3c4674f6 Bug 1658505 - added banner in migrated pages and added table. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D86812
2020-08-19 10:12:39 +00:00
Emil Farisan f7f16794c9 Bug 1658505 - renamed files from mozilla to firefox. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D86811
2020-08-17 12:08:57 +00:00
Emil Farisan bfa8dd8228 Bug 1658505 - fix codespell and rst errors and remove unused reference. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D86810
2020-08-17 12:07:49 +00:00
Emil Farisan 8d75cc29fb Bug 1658505 - added debugging and memory sanitizer pages from MDN to in-tree. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D86705
2020-08-17 12:07:18 +00:00
Bryce Seager van Dyk 0c45c50c1f Bug 1659726 - Fix mode line docs to use 2 space indents rather than 8. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D87448
2020-08-19 07:51:42 +00:00
Sylvestre Ledru 5ea6c250c3 Bug 1657926 - firefox doc: fix some warnings r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D86732
2020-08-11 23:20:25 +00:00
Mitchell Hentges 710be25312 Bug 1655361: Prints a warning if Windows Defender is watching the Firefox checkout directory r=firefox-build-system-reviewers,rstewart
There's a Windows Defender CLI (`Get-MpComputerStatus`) available, but MozillaBuild
can't (easily) access PowerShell. So, instead, we find Windows Defender status and path exclusions
by checking the registry at HKLM\SOFTWARE\Microsoft\Windows Defender.

Determining if Windows Defender is "on" or not is a surprisingly vague task.
Not only does it encompass a lot of components (of which Ricky and I believe "Real-time protection"
is the part slowing down the build), but there's (at least?) two different kinds of "disabled"
states that it can be in:
* If "disabled" via Settings, it will turn itself back on after a reboot
* If an antivirus is installed, it will turn itself off permanently

Unfortunately, disabling "Real-time protection" in Settings doesn't affect any registry keys, but
I'm opting to ignore this because I doubt many users are manually disabling this protection before
each build. The repercussion of this is that users may be incorrectly warned "your Firefox
directory isn't excluded from Windows Defender!".

Focusing on the antivirus use case and querying the registry I found that:
* Querying the `IsServiceRunning` value wasn't sufficient because new Windows installations didn't have that key
* Querying the `DisableRealtimeMonitoring` value was inconsistent - it can be missing, and not always because an antivirus removed it
* Querying the `DisableAntiVirus` value doesn't _sound_ accurate (we care about Real-time Protection), but it's consistently "off" for non-AV machines, and "on" for machines with an AV installed. So, this is our winner!

TL;DR: there may be some "false positive" warnings about excluding the Firefox srcdir, but they're
accurate for my test cases and workaround-able (just add the exclusion to Windows Defender).

Also, this patch updates our Windows Defender docs to make them:
* More easily link-able
* Have direct advice to resolve the issue

Differential Revision: https://phabricator.services.mozilla.com/D85952
2020-08-11 20:59:40 +00:00
Sylvestre Ledru 1bcabb9d34 Bug 1657926 - Move to sphinx 3.1.2 and sphinx-js 3.0.1 r=championshuttler
Hopefully, it will help with the intermittent issues.
And it seems that the warnings are better presented.

Differential Revision: https://phabricator.services.mozilla.com/D86361
2020-08-11 15:26:16 +00:00
Andi-Bogdan Postelnicu 60cc6f8d69 Bug 1656740 - Integrate `clangd` in `vscode` for C++ language support. r=froydnj
In order to have a cross platform ide for C++ language support we've added `clangd`
extenssion and artifact part of `vscode` suite.
To generate the configuration you simply run:
`./mach ide vscode `.

Differential Revision: https://phabricator.services.mozilla.com/D85416
2020-08-06 06:25:17 +00:00
Simon Giesecke ee62debaab Bug 1653532 - Improve reference of Google Coding Style for C++ Code. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D83923
2020-08-04 08:31:17 +00:00
Sylvestre Ledru e06ff0dd5c no bug - doc - Import the 'Pocket Guide: Shipping Firefox' in tree r=RyanVM
Actual author: Thomas Elin

Differential Revision: https://phabricator.services.mozilla.com/D83930
2020-07-22 17:46:54 +00:00
Ricky Stewart 055da469b5 Bug 1647806 - Document Python installation steps r=firefox-source-docs-reviewers,sylvestre,froydnj
`bootstrap` won't be able to install them for you forever (and it isn't really properly capable of installing it for you at this very moment), and installing Python 3 as well as Python 2 is increasingly non-trivial on arbitrary OS'es, so we need to document things properly here.

Specific guidance on how to use `brew` to install Python 2 on macOS is included here. I also go into more depth on the situation on Linux and explicitly point people to the existence of `pyenv` with basic usage information, which should fill in the gaps left by the OS package managers.

Also, update some documentation to prefer the `python3` binary to the `python` binary (which is often Python 2), and fix some broken links.

Differential Revision: https://phabricator.services.mozilla.com/D82611
2020-07-20 18:15:39 +00:00
Mitchell Hentges ccdcc211eb Bug 1653049: Docs support markdown tables r=championshuttler
Glean generates telemetry documentation in markdown and uses tables.

This revision adds support for rendering markdown tables using an extension.

Differential Revision: https://phabricator.services.mozilla.com/D83685
2020-07-17 17:11:33 +00:00
Ricky Stewart f34f1b6153 Bug 1648555 - `mach bootstrap` installs `libdrm-dev` package on Ubuntu/Debian r=dmajor
Also delete a bunch of dead code that was apparently meant to be useful for subclassing, but there's no subclasses of `DebianBootstrapper` in tree.

Differential Revision: https://phabricator.services.mozilla.com/D82073
2020-07-16 13:49:59 +00:00
Myeongjun Go 32cbdb3b33 Bug 1649497 - [perfdocs] Port mozperftest into Performance Testing r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82207
2020-07-15 17:13:30 +00:00
Sylvestre Ledru d9d0eda42a no bug - python CS doc - point to our linters r=marco
Differential Revision: https://phabricator.services.mozilla.com/D82897
2020-07-10 12:50:25 +00:00
Csoregi Natalia 2d34e224ae Backed out changeset 448679382b06 (bug 1649497) for linting failures on framework_gatherers.py. CLOSED TREE 2020-07-14 20:20:48 +03:00
Myeongjun Go 62777a18b5 Bug 1649497 - [perfdocs] Port mozperftest into Performance Testing r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82207
2020-07-14 16:55:56 +00:00
Emma Humphries b357621126 Bug 1649662 - Add examples to severity documentation r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D81805
2020-07-10 22:52:17 +00:00
Tom Prince 2244b1cc7c Bug 1651731: [lint] Only allow files that are typically executable to have shebang lines override permission check; r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82949
2020-07-09 21:16:32 +00:00
Chris AtLee d1fb386dae Bug 1555560: Add support for black formatting with mozlint; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33125
2020-07-08 22:08:08 +00:00
Mihai Alexandru Michis 5f385df474 Backed out 2 changesets (bug 1555560) for causing multiple lint failures.
CLOSED TREE

Backed out changeset bd9460ac6e48 (bug 1555560)
Backed out changeset f2896032ced6 (bug 1555560)
2020-07-09 01:04:18 +03:00
Chris AtLee 7f8f324f06 Bug 1555560: Add support for black formatting with mozlint; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D33125
2020-07-08 19:35:49 +00:00
Sonia Singla f20849d520 Bug 1651099 - Broken link to contributor reference. r=rstewart,championshuttler,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82562
2020-07-08 07:32:17 +00:00
Gijs Kruitbosch 86a446c282 Bug 1650490 - clarify documentation about commit messages, reviewers and checkin-needed, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D82238
2020-07-07 08:42:02 +00:00
Nicholas Nethercote 977d5b8a57 Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina.
This patch includes content from the following places.

- Lina's "Getting Rusty: How to ship an XPCOM component in Firefox" slide deck.
- Zibi's "Rust <--> C/C++ FFI for newbies" gist.

It also links to Emilio's "FFI patterns #1 - Complex Rust data structures
exposed seamlessly to C++" blog post. I was going to include that content, but
it's very long, so I have omitted it for now.

Differential Revision: https://phabricator.services.mozilla.com/D81963
2020-07-07 07:38:27 +00:00
Sylvestre Ledru 4660b92c2b Bug 1645572 - doc: fix some redirects r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D81664
2020-07-02 16:02:39 +00:00