Commit Graph

92 Commits

Author SHA1 Message Date
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