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
David Major
81d6dc12a4
Bug 1649193 - Update the package list in linux_32bit_build_on_64bit_OS.rst r=padenot
...
On a new machine the instructions didn't fully work for me. I suspect that `libpulse-dev:i686` -> `i386` might have been a typo, and I also needed `libx11-xcb-dev:i386`.
Differential Revision: https://phabricator.services.mozilla.com/D81560
2020-06-30 09:02:17 +00:00
Paul Adenot
c9c5897a37
Bug 1648393 - Link it from the main Linux build page. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D81044
2020-06-26 12:52:39 +00:00
Paul Adenot
f2892793be
Bug 1648393 - Update this document for Ubuntu and remove obsolete section. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D81043
2020-06-26 12:52:31 +00:00
Paul Adenot
b42eda7890
Bug 1648393 - Import Compiling_32-bit_Firefox_on_a_Linux_64-bit_OS from MDN. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D81042
2020-06-26 12:52:25 +00:00
Nicholas Nethercote
e671bf0673
Bug 1647987 - Create Rust testing docs. r=froydnj.
...
Some of the testing info is from the Oxidation wiki, and the logging info is
largely from a dev-platform email by Valentin. The other parts I wrote from
scratch.
The commit also makes some small improvements to the Rust build docs.
Differential Revision: https://phabricator.services.mozilla.com/D81017
2020-06-26 01:04:40 +00:00
Sylvestre Ledru
56fbafd822
Bug 1647265 - mozlint: when type is 'regex', add the capability to ignore the case r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D80477
2020-06-23 21:45:16 +00:00
Sonia Singla
2d8647fd24
Bug 1643819 - Prevent Firefox Docs to copy $ while copying using copy button.r=championshuttler,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D80643
2020-06-23 15:03:30 +00:00
Dennis Schubert
34763d3a8c
Bug 1647655 - Add documentation for the "webcompat-reviewers" review group. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D80616
2020-06-23 12:59:06 +00:00
Sylvestre Ledru
503bdb7fd3
Bug 1623024 - mozlint/pylint - follow up: fix a syntax issue in the rst file
...
Differential Revision: https://phabricator.services.mozilla.com/D80375
2020-06-20 12:28:48 +00:00
Emilio Cobos Álvarez
960ba606e8
No bug - Document the #layout-reviewers group. r=hiro
...
DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D80324
2020-06-19 03:00:34 +00:00
Sylvestre Ledru
f47f1968a4
Bug 1623024 - mozlint: Add pylint as new linter r=linter-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D79076
2020-06-18 20:04:50 +00:00
Kris Taeleman
6154d7110e
Bug 1616616 - Documenting Graphics review group. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D80222
2020-06-18 18:20:26 +00:00
Emilio Cobos Álvarez
f032c0c3c9
Bug 1646256 - Make rust-analyzer and YouCompleteMe work with mozilla-central. r=sylvestre
...
The default configuration recommended here[1], while being a good
generic default, it doesn't quite work for mozilla-central as that peeks
the closest ancestor directory with a `Cargo.toml`.
For example, when editing under `servo/components/style`, it'd try to
use that directory as a project root and fail like:
```
0: Failed to run `cargo metadata --manifest-path /home/emilio/src/moz/gecko/servo/components/style/Cargo.toml`
1: Error during execution of `cargo metadata`: Updating crates.io index
error: failed to get `servo_atoms` as a dependency of package `style v0.0.1 (/home/emilio/src/moz/gecko/servo/components/style)`
Caused by:
failed to load source for dependency `servo_atoms`
```
Instead, we want to override it using the `'project_directory'` setting
so that we hit this path[2] and it works out of the box.
[1]: https://rust-analyzer.github.io/manual.html#youcompleteme
[2]: 63db7ea379/ycmd/completers/language_server/language_server_completer.py (L1914-L1916)
Differential Revision: https://phabricator.services.mozilla.com/D79938
2020-06-17 17:53:56 +00:00
Sylvestre Ledru
47b3629cd9
Bug 1642825 - mozlint: Add a linter to prevent further use of black/whitelist r=Gijs,linter-reviewers,mossop,ahal
...
Note that I cannot do unit test because of it doesn't support regex payload
''Failed: could not resolve a lint function from''
Differential Revision: https://phabricator.services.mozilla.com/D78158
2020-06-16 17:02:59 +00:00
Sylvestre Ledru
e3c09c4029
no bug - doc: remove an old reference to mdn r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D79669
2020-06-15 11:29:29 +00:00
Kenrick
9d689fcc53
Bug 1645384
- Fix "More information" broken link at "Install Dependencies (non-Windows)" section in Quick Reference doc r=sylvestre
...
Link it to both "Building Firefox On Linux" and "Building Firefox On MacOS" docs
Differential Revision: https://phabricator.services.mozilla.com/D79466
2020-06-13 15:15:09 +00:00
Kenrick
7481615ef2
Bug 1645384
- Fix "More information" broken link at "Install Dependencies (non-Windows)" section in Quick Reference doc r=sylvestre
...
Link it to "Building Firefox On Linux" doc
Differential Revision: https://phabricator.services.mozilla.com/D79461
2020-06-12 13:45:40 +00:00
Kenrick
20f2d94f59
Bug 1645036 - Update link of "Windows prerequisites" in Quick Reference doc r=firefox-source-docs-reviewers,sylvestre
...
Instead of linking to a page in MDN which links back to firefox-source-doc, this change links it directly to "Building Firefox On Windows"
Differential Revision: https://phabricator.services.mozilla.com/D79302
2020-06-11 15:56:03 +00:00
Markus Stange
a917f428b8
Bug 1644047 - Add some documentation about SDKs and using macOS APIs. r=spohl
...
Differential Revision: https://phabricator.services.mozilla.com/D78629
2020-06-08 21:41:04 +00:00
Sylvestre Ledru
be715d2f73
Bug 1644123 - mach doc: Provides the full path to logo and favicon + update of the build sparse config r=firefox-source-docs-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D78671
2020-06-08 19:06:44 +00:00
Emma Humphries
cf358ddc84
Bug 1643525 Update rules for Severity r=sylvestre
...
We don't require immediately setting an asignee for high
severity bugs. Rewriting this line because it was contradictory
to policy.
Differential Revision: https://phabricator.services.mozilla.com/D78612
2020-06-07 07:38:19 +00:00
Sylvestre Ledru
7875f1e34e
Bug 1643295 - Firefox doc - Ride along - reformat with black r=championshuttler
...
# ignore-this-changeset
Depends on D78257
Differential Revision: https://phabricator.services.mozilla.com/D78258
2020-06-04 12:42:45 +00:00
Sylvestre Ledru
c1b9ab26a4
Bug 1643295 - Firefox doc - Ride along - remove duplicate info r=championshuttler
...
Depends on D78251
Differential Revision: https://phabricator.services.mozilla.com/D78257
2020-06-04 12:04:30 +00:00
Sylvestre Ledru
1a230265e4
Bug 1643295 - Firefox doc - add a favicon r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D78251
2020-06-04 12:01:14 +00:00
Sylvestre Ledru
47b6e279cf
Bug 1643034
- Improve the top left presentation of the doc r=championshuttler
...
* shorter title
* remove versions display (with 4 weeks cycle, less relevant)
* display the firefox wordmark https://searchfox.org/mozilla-central/source/browser/branding/nightly/content/firefox-wordmark.svg
Differential Revision: https://phabricator.services.mozilla.com/D78074
2020-06-03 19:29:11 +00:00
championshuttler
b8d9ae4413
Bug 1643074 - Add a copy button to firefox docs to copy commands. r=firefox-source-docs-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D78110
2020-06-03 19:22:03 +00:00
Sylvestre Ledru
7de68c2cea
Bug 1642898 - Remove most of the references of black/whitelist within the doc r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D78000
2020-06-03 09:34:12 +00:00
Tarek Ziadé
7c486e2ce0
Bug 1641834 - started a Sphinx doc r=sparky,acreskey
...
Initial Sphinx structure with minimal content.
This is mostly to get started in writing doc
Differential Revision: https://phabricator.services.mozilla.com/D77440
2020-06-03 08:17:06 +00:00
David Major
8b971e28fc
No bug - Fix the code block formatting in mercurial_bundles.rst. DONTBUILD r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D77682
2020-06-01 16:49:34 +00:00
Sylvestre Ledru
50830173ae
no bug - typo fixes - Remove duplicated doc docs/contributing/build/supported_configurations.rst
...
The right one is here:
build/docs/supported-configurations.rst
Differential Revision: https://phabricator.services.mozilla.com/D77645
2020-06-01 09:53:22 +00:00
Sylvestre Ledru
df7f09424c
Bug 1641848 - Import https://developer.mozilla.org/en-US/docs/Mozilla/Using_CXX_in_Mozilla_code in-tree r=nalexander
...
I replaced the color by bold on "No".
It seems we can't have color in cells with rst :/
Differential Revision: https://phabricator.services.mozilla.com/D77444
2020-05-29 19:28:52 +00:00
Sylvestre Ledru
af36e8b59c
Bug 1641182 - doc: Add a link to the quick reference doc
...
Differential Revision: https://phabricator.services.mozilla.com/D77054
2020-05-28 13:04:02 +00:00
Sylvestre Ledru
ea5a6c7b2e
Bug 1641182 - doc: fix links and remove some deprecated infos r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D77053
2020-05-28 13:04:00 +00:00
championshuttler
5fa2c88aaa
Bug 1641182 - doc: Fix links in mobile build docs. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D77063
2020-05-27 14:30:03 +00:00
mhoye
cb2f30a40e
Bug 1179358 - Consolidation of documentation patches into MC r=sylvestre
...
Depends on D68835
Differential Revision: https://phabricator.services.mozilla.com/D76398
2020-05-25 07:26:51 +00:00
mhoye
57a1c6a1d8
Bug 1179358 - Moving contribution and related info from MDN to m-c r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D68835
2020-05-25 08:53:37 +00:00
Tilden Windsor
a73234e7ec
Bug 1614477
- Replaced deprecated dxr links with searchfox links. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D76621
2020-05-24 13:46:30 +00:00
Benoit Chauvet
a0f17a5fbf
Bug 1636887 - how_to_contribute_firefox.rst : adding precisions to the windows dependencies setup explanations. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D74861
2020-05-13 16:50:07 +00:00
Sylvestre Ledru
fedde13549
Bug 1636494 - doc: update the doc about some of the lint job moved to tier-2 r=linter-reviewers,ahal
...
Depends on D74435
Differential Revision: https://phabricator.services.mozilla.com/D74436
2020-05-13 09:32:57 +00:00
Sylvestre Ledru
8305e1a99e
no bug - contribution doc: Document how to install moz-phab r=glob DONTBUILD
...
Depends on D74437
Differential Revision: https://phabricator.services.mozilla.com/D74438
2020-05-11 07:59:47 +00:00
Sylvestre Ledru
8635d12634
no bug - contribution doc: Make it clear that mac bootstrap isn't for Windows r=marco
...
Differential Revision: https://phabricator.services.mozilla.com/D74524
2020-05-09 21:44:11 +00:00
Emma Humphries
42caaede42
Bug 1636631 - Update in-tree docs for May 8 triage process change r=sylvestre
...
Update definition to:
The new definition of Triaged will be Firefox-related bugs of type
defect where the component is not
UNTRIAGED, and a non-default value not equal to -- or N/A.
Bugs of type Task or Enhancement may have a severity of N/A,
but defects must have a severity that is neither -- or
N/A.
This means edits to the references to setting release
status flags (which are now not required.)
Also switching to using :ref:`link text <target>` for
internal links because of some errors when compiling
.rst to HTML.
Fix linter error in rst
Differential Revision: https://phabricator.services.mozilla.com/D74515
2020-05-09 09:41:21 +00:00
Sylvestre Ledru
f73509b9c0
no bug - contribution doc: Define what is treeherder r=marco DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D74437
2020-05-09 13:08:27 +00:00
Sylvestre Ledru
0020d33ca2
Bug 1636499 - ride along - add support of strikethrough r=marco
...
Depends on D74427
Differential Revision: https://phabricator.services.mozilla.com/D74428
2020-05-08 16:57:28 +00:00
Sylvestre Ledru
135afb8ea4
Bug 1635826 - docs: Override some default values in the table to improve the rendering r=marco,ahal
...
Ride along: document the other changes
Differential Revision: https://phabricator.services.mozilla.com/D74275
2020-05-08 11:10:29 +00:00
Emma Humphries
90110c694f
Bug 1635654 - Update in-tree docs for new triage process. r=sylvestre
...
This changeset covers the new, severity-based triage process
Fix linting errors
Fix links and language
Fix headings and broken link
Add missing newline to labels.rst
Differential Revision: https://phabricator.services.mozilla.com/D73999
2020-05-08 09:28:35 +00:00
Ian Moody
a52653c73c
Bug 1536556 - Extend no-throw-cr-literal ESLint rule to forbid and fix `throw new Error(Cr.ERROR);`. r=Standard8
...
Code should be using `throw Components.Exception("", Cr.ERROR);` instead,
since `new Error()` just converts the int value of the Cr.ERROR into a string,
whereas `Exception` constructs an Exception object with the result property set
to the Cr.ERROR value, so other code can identify it.
Differential Revision: https://phabricator.services.mozilla.com/D28074
2020-05-05 17:43:39 +00:00
Ian Moody
85f9392bc8
Bug 1536556 - Add custom no-throw-cr-literal ESLint rule, and enable it by default. r=Standard8
...
This rule is based on the ESLint built-in no-throw-literal. Cr.ERRORs are also
literals since they are just integers and so have all the same disadvantages of
no stack info.
TestInterfaceJS.js is explicitly testing handling of throwing raw Cr.ERRORs and
thus needs to stay.
Differential Revision: https://phabricator.services.mozilla.com/D28072
2020-05-05 15:00:50 +00:00
championshuttler
c539f95b9a
Bug 1629884 - Restructure Mercurial Overview Docs with clone instructions.r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D73361
2020-05-04 16:48:00 +00:00
championshuttler
0a54ae29e0
Bug 1629884 - Alongside update the how to contribute docs.r=ahal,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D73360
2020-05-04 19:33:28 +00:00
Sylvestre Ledru
ee3767098d
no bug - Doc: document some vscode extensions r=nox
...
Differential Revision: https://phabricator.services.mozilla.com/D73083
2020-05-04 16:34:23 +00:00
championshuttler
6c014fbaf2
Bug 1634374 - Rename the doc title from Mozilla to Firefox in directory overview docs.r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D73266
2020-04-30 18:39:36 +00:00
championshuttler
9bb2b682ac
Bug 1634374 - Rename the doc title from Mozilla to Firefox.r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D73259
2020-04-30 12:52:37 +00:00
Frederik Braun
7fd1c1c349
Bug 1628252 - add 'security bug fixing' and 'sec approval' documents to soruce docs r=dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D70176
2020-04-28 15:07:08 +00:00
pbz
9c6a400ba5
Bug 1622836 - Added documentation for nsIPromptService. r=johannh DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D69595
2020-04-22 10:28:04 +00:00
Cosmin Sabou
2dfd2276b9
Backed out 3 changesets (bug 1622836, bug 1271842) for mochitest failures on test_prompt.html. CLOSED TREE
...
Backed out changeset cdedf7ddec47 (bug 1622836)
Backed out changeset 7262ae6d42ec (bug 1271842)
Backed out changeset 091a64a38136 (bug 1271842)
2020-04-21 22:06:48 +03:00
pbz
54747b0859
Bug 1622836 - Added documentation for nsIPromptService. r=johannh DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D69595
2020-04-21 16:54:52 +00:00
Sylvestre Ledru
af4a04d2c5
no bug - static analysis doc: Fix a trivial rst typo in the doc
...
Differential Revision: https://phabricator.services.mozilla.com/D71449
2020-04-18 10:55:15 +00:00
Emilio Cobos Álvarez
b9a30edb5e
Bug 1629708 - Point to the Eclipse CDT docs from the in-tree docs. r=sylvestre
...
Maybe we should move that in-tree, at some point.
Depends on D71052
Differential Revision: https://phabricator.services.mozilla.com/D71053
--HG--
extra : moz-landing-system : lando
2020-04-15 14:38:09 +00:00
Emilio Cobos Álvarez
0b2e28cb2e
Bug 1629708 - Port emacs docs to the in-tree docs. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D71052
--HG--
extra : moz-landing-system : lando
2020-04-15 14:47:15 +00:00
Emilio Cobos Álvarez
c825f4442a
Bug 1629708 - Fix title level and wrap the VSCode section. r=sylvestre
...
Depends on D71050
Differential Revision: https://phabricator.services.mozilla.com/D71051
--HG--
extra : moz-landing-system : lando
2020-04-15 14:30:26 +00:00
Emilio Cobos Álvarez
f2e40202f0
Bug 1629708 - Port ESLint VIM config from WebExtensions wiki to the in-tree docs. r=robwu
...
And tweak it so that if people want it can work outside-of the box (as
long as they have `eslint` in their path).
I've checked that mozilla-specific plugins also work with the setup I
mentioned.
Differential Revision: https://phabricator.services.mozilla.com/D71050
--HG--
extra : moz-landing-system : lando
2020-04-16 11:29:18 +00:00
Sylvestre Ledru
ee37eb29a7
Bug 1466070 - Integrate clang-format into mozlint r=linter-reviewers,ahal
...
For now, the local detection sucks. I will fix that once bug 1625884
is fixed
Differential Revision: https://phabricator.services.mozilla.com/D69683
--HG--
extra : moz-landing-system : lando
2020-04-15 20:39:32 +00:00
Ting-Yu Lin
8ee6670669
Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre
...
The documents can be generated via ./mach doc.
Differential Revision: https://phabricator.services.mozilla.com/D70475
--HG--
extra : moz-landing-system : lando
2020-04-15 18:07:24 +00:00
Sylvestre Ledru
8405eb241d
no bug - Also import the VS code documentation from MDN r=emilio
...
https://developer.mozilla.org/docs/Developer_Guide/Editor_Configuration
Differential Revision: https://phabricator.services.mozilla.com/D70941
--HG--
extra : moz-landing-system : lando
2020-04-14 21:43:49 +00:00
Emilio Cobos Álvarez
3cc5d55d45
No bug - Use the shorter name for some reviewer groups. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D70657
--HG--
extra : moz-landing-system : lando
2020-04-13 21:27:52 +00:00
Emilio Cobos Álvarez
79d260464c
No bug - Point to artifact builds / mozconfig from the contributing docs. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D70656
--HG--
extra : moz-landing-system : lando
2020-04-13 20:07:30 +00:00
Sylvestre Ledru
51ca3d607b
no bug - lint doc: Update some old links r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D70576
--HG--
extra : moz-landing-system : lando
2020-04-13 19:48:48 +00:00
Emilio Cobos Álvarez
5043703027
Bug 1629445
- Add a page about editor/IDE integration to the docs. r=sylvestre
...
This is a frequent question in #introduction / #developers. I'm not
aware of any page in MDN that documents this kind of stuff.
This is intended to be a catch-all page for stuff that some people may
want to have like auto-completion, debugger/linter integration, etc...
In the future, maybe this should be a sub-section in a more general
"Improving your development environment" section or something like that,
where other stuff like commit hooks / mozconfig managers like [1] could
also be explained, but that seems premature, at least for now.
[1]: https://github.com/emilio/mozconfigs
Differential Revision: https://phabricator.services.mozilla.com/D70659
--HG--
extra : moz-landing-system : lando
2020-04-13 18:45:08 +00:00
Narcis Beleuzu
69f64d87d9
Backed out 2 changesets (bug 1617963, bug 1179358) for Linting failure on windows_build.rst . CLOSED TREE
...
Backed out changeset a2c7ad83a45b (bug 1179358)
Backed out changeset 4cf6af7fbcdb (bug 1617963)
2020-04-13 22:53:54 +03:00
mhoye
586ad04bbc
Bug 1617963 - Moving contribution and related info from MDN to m-c r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D68835
--HG--
extra : moz-landing-system : lando
2020-04-01 22:15:27 +00:00
Emilio Cobos Álvarez
249c66fbe0
No bug - Add a link to GeckoView contribution docs from the source tree docs. r=sylvestre,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D70655
--HG--
extra : moz-landing-system : lando
2020-04-13 17:29:38 +00:00
Sylvestre Ledru
1ea28b28ec
Bug 1629012 - Rename the doc title from Mozilla to Firefox r=firefox-source-docs-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D70525
--HG--
extra : moz-landing-system : lando
2020-04-11 02:30:59 +00:00
Sylvestre Ledru
02f9eb9857
no bug - bugizlla doc - Fix the links r=emceeaich DONTBUILD
...
They are failing currently: https://firefox-source-docs.mozilla.org/bug-mgmt/guides/bug-types.html
Differential Revision: https://phabricator.services.mozilla.com/D70178
--HG--
extra : moz-landing-system : lando
2020-04-09 07:47:45 +00:00
Chris Peterson
32270107d9
Bug 1625855 - Replace MOZ_MUST_USE with [[nodiscard]] in some Servo Rust code. r=emilio
...
Are there any Rust crates outside mozilla-central that include or emit Mozilla C++ code that should be updated to use [[nodiscard]] instead of MOZ_MUST_USE?
Depends on D68751
Differential Revision: https://phabricator.services.mozilla.com/D69319
--HG--
extra : moz-landing-system : lando
2020-04-02 08:27:59 +00:00
Sylvestre Ledru
92c39ff3fa
Bug 1625216 - bugzilla/doc: Move priority definition into a specific file r=emceeaich
...
Differential Revision: https://phabricator.services.mozilla.com/D68532
--HG--
extra : moz-landing-system : lando
2020-03-28 00:44:33 +00:00
Sylvestre Ledru
2b1589dce0
Bug 1625216 - bugzilla doc - Remove an obsolete info in the doc r=emceeaich
...
Depends on D68530
Differential Revision: https://phabricator.services.mozilla.com/D68531
--HG--
extra : moz-landing-system : lando
2020-03-28 00:44:05 +00:00
Sylvestre Ledru
ef4fc0e312
Bug 1625216 - bugzilla/doc - remove a deprecated doc r=emceeaich
...
Depends on D68511
Differential Revision: https://phabricator.services.mozilla.com/D68530
--HG--
extra : moz-landing-system : lando
2020-03-28 00:43:22 +00:00
Sylvestre Ledru
18434246b2
Bug 1625216 - bugzilla doc - fix some typos r=emceeaich
...
Differential Revision: https://phabricator.services.mozilla.com/D68511
--HG--
extra : moz-landing-system : lando
2020-03-28 00:42:51 +00:00
Sylvestre Ledru
da7b37a199
Bug 1625216 - Migration the bugzilla doc in-tree from github r=emceeaich
...
for now, it is just a pandoc -trst conversion and titles added
I will polish the files.
Differential Revision: https://phabricator.services.mozilla.com/D68510
--HG--
extra : moz-landing-system : lando
2020-03-28 00:40:49 +00:00
Matthew Gaudet
6df9bb3b0d
Bug 1625052 - Add preliminary in-tree build documentation r=tcampbell
...
This preliminary in-tree build documentation is focused on the `mach`
workflow.
I've used reStructuredText for this because there are some nice features
(for example, see the nice 'Note' box we get).
I added a marker so that we could get a nice link to the linux build. Note,
that link only looks sensible if the whole tree of docs is built (first time
you run `mach doc`). Subsequent rebuilds only seem to rebuild the subtree
that is changed, and so that label isn't found and so is printed funny.
Differential Revision: https://phabricator.services.mozilla.com/D68299
--HG--
extra : moz-landing-system : lando
2020-03-27 15:02:29 +00:00
Sylvestre Ledru
7cfa120eb9
Bug 1623320
- Add support to run mozlint on dotfile r=linter-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D67316
--HG--
extra : moz-landing-system : lando
2020-03-20 21:51:03 +00:00
Andrew Halberstadt
ed55b7f24b
Bug 1623656 - [mozlint] Make output of ./mach lint --list readable, r=linter-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D67501
--HG--
extra : moz-landing-system : lando
2020-03-19 18:06:41 +00:00
Andrew Halberstadt
f4ff3c2181
Bug 1623339 - [lint.flake8] Fix path filtering bug when specifying subdirectory of excluded path, r=linter-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D67335
--HG--
rename : tools/lint/test/files/flake8/subdir/exclude/bad.py => tools/lint/test/files/flake8/subdir/exclude/exclude_subdir/bad.py
extra : moz-landing-system : lando
2020-03-18 17:02:34 +00:00
Andi-Bogdan Postelnicu
bc9dbe64a1
Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D65314
--HG--
extra : moz-landing-system : lando
2020-03-17 07:01:09 +00:00
Sylvestre Ledru
e734d33054
no bug - contribute doc - Create some sub categories r=firefox-source-docs-reviewers,ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D66651
--HG--
rename : docs/contributing/artifact_builds.rst => docs/contributing/build/artifact_builds.rst
rename : docs/contributing/linux_build.rst => docs/contributing/build/linux_build.rst
rename : docs/contributing/mercurial.rst => docs/contributing/vcs/mercurial.rst
rename : docs/contributing/mercurial_bundles.rst => docs/contributing/vcs/mercurial_bundles.rst
extra : moz-landing-system : lando
2020-03-16 21:20:04 +00:00
Andreea Pavel
a6b6afe578
Backed out changeset 780399392e20 (bug 1619921) for breaking toolchains on a CLOSED TREE
2020-03-16 18:27:17 +02:00
Andi-Bogdan Postelnicu
1ee04a1f77
Bug 1619921 - enable clang-plugin with support for alpha checkers module. r=froydnj,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D65314
--HG--
extra : moz-landing-system : lando
2020-03-16 16:04:00 +00:00
Sylvestre Ledru
96d228b38c
no bug - Use the in-tree doc instead of mdn (or hardcoded links) r=glob
...
Differential Revision: https://phabricator.services.mozilla.com/D66493
--HG--
extra : moz-landing-system : lando
2020-03-12 03:25:28 +00:00
Sylvestre Ledru
ff3d04b683
Bug 1620635 - doc follow up - fix a typo DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D65864
--HG--
extra : moz-landing-system : lando
2020-03-07 12:13:02 +00:00
Sylvestre Ledru
93ef1bd928
Bug 1620635 - static analysis, linting and coding style - add link to meta bugs r=static-analysis-reviewers,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65761
--HG--
extra : moz-landing-system : lando
2020-03-06 21:01:22 +00:00
Sylvestre Ledru
a886409789
Bug 1620633 - docs: Make tables have inconsistent sizes DONTBUILD r=championshuttler
...
Differential Revision: https://phabricator.services.mozilla.com/D65748
--HG--
extra : moz-landing-system : lando
2020-03-06 17:11:27 +00:00
championshuttler
a963bc0c4b
Bug 1619059 - Update the link to Artifact Build docs, DONTBUILD.r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D65357
--HG--
extra : moz-landing-system : lando
2020-03-05 19:41:30 +00:00
championshuttler
0952038a94
Bug 1619059 - Polish the artifact build doc (Remove bad char, fix links), DONTBUILD.r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D64901
--HG--
extra : moz-landing-system : lando
2020-03-05 19:42:09 +00:00
championshuttler
605e6dc841
Bug 1619059 - Blind Import of Artifact Build Docs from MDN, DONTBUILD.r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64900
--HG--
extra : moz-landing-system : lando
2020-03-05 19:42:32 +00:00
Eric Rahm
90d90833f2
no bug - reviewerdoc - Add the XPCOM group r=sylvestre DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D65021
--HG--
extra : moz-landing-system : lando
2020-03-02 21:10:09 +00:00
Sylvestre Ledru
74847a316b
Bug 1619159 - Reference the code coverage doc r=marco
...
Depends on D64903
Differential Revision: https://phabricator.services.mozilla.com/D64904
--HG--
extra : moz-landing-system : lando
2020-03-02 15:43:38 +00:00
emilfs
5ff804de2e
Bug 1618487 - fix rstcheck linter warning. r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64557
--HG--
extra : moz-landing-system : lando
2020-03-02 10:40:30 +00:00
victoria
9e28fdb247
Bug 1619012 - Suggestions for shorter/friendlier intro. r=sylvestre
...
Depends on D64835
Differential Revision: https://phabricator.services.mozilla.com/D64836
--HG--
extra : moz-landing-system : lando
2020-02-29 08:01:30 +00:00
victoria
c47677d075
Bug 1619012 - Changed Artifact Mode sentence to have a hint about mozconfig. r=sylvestre
...
Depends on D64834
Differential Revision: https://phabricator.services.mozilla.com/D64835
--HG--
extra : moz-landing-system : lando
2020-02-29 08:00:52 +00:00
victoria
14dc66c859
Bug 1619012 - Add sentence about SearchFox r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64834
--HG--
extra : moz-landing-system : lando
2020-02-29 07:59:53 +00:00
championshuttler
ff5c6e37a4
Bug 1617844- DONTBUILD Minor nits to Mercurial Docs(bad char, add matrix).r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64582
--HG--
extra : moz-landing-system : lando
2020-02-27 16:04:36 +00:00
Sylvestre Ledru
6f034f2f1c
Bug 1617836 - Create a new category for sanitizer in the doc r=decoder
...
Move the *san files from fuzzing to sanitizer
Depends on D64072
Differential Revision: https://phabricator.services.mozilla.com/D64407
--HG--
rename : tools/fuzzing/docs/asan.rst => tools/sanitizer/docs/asan.rst
rename : tools/fuzzing/docs/asan_nightly.rst => tools/sanitizer/docs/asan_nightly.rst
extra : moz-landing-system : lando
2020-02-27 15:34:12 +00:00
championshuttler
e7f486d269
Bug 1617844- Alongside add the reference of mercurial bundles in contribute page.r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64566
--HG--
extra : moz-landing-system : lando
2020-02-27 13:51:22 +00:00
Sylvestre Ledru
6b925c7d59
no bug - reviews doc: Add some missing groups + polish r=glob DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D64373
--HG--
extra : moz-landing-system : lando
2020-02-26 16:01:08 +00:00
Sylvestre Ledru
374863b8ad
Bug 1605934
- Add nested namespaces in the C++ coding style r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D64301
--HG--
extra : moz-landing-system : lando
2020-02-26 09:31:44 +00:00
Sylvestre Ledru
1b63bda4a8
Bug 1617836 - ride along: Rename the hg doc to avoid confusion when linking from other pages r=championshuttler
...
Depends on D64032
Differential Revision: https://phabricator.services.mozilla.com/D64036
--HG--
extra : moz-landing-system : lando
2020-02-25 18:06:17 +00:00
championshuttler
6fba22ee67
Bug 1617844 - Polish the mercurial bundles doc (fix links, bad char etc). r=firefox-source-docs-reviewers,sylvestre
...
Depends on D64051
Differential Revision: https://phabricator.services.mozilla.com/D64110
--HG--
extra : moz-landing-system : lando
2020-02-25 16:45:11 +00:00
championshuttler
3796b0a288
Bug 1617844 - Import docs for Mercurial Bundles without any changes. r=firefox-source-docs-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D64051
--HG--
extra : moz-landing-system : lando
2020-02-25 16:44:26 +00:00
Sylvestre Ledru
5522c75898
no bug - review doc: explain how to request review groups r=glob DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D63858
--HG--
extra : moz-landing-system : lando
2020-02-24 15:07:57 +00:00
Sylvestre Ledru
101e156501
no bug - Recommends using instead of typedef r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D63834
--HG--
extra : moz-landing-system : lando
2020-02-24 13:13:19 +00:00