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

134 Коммитов

Автор SHA1 Сообщение Дата
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