gecko-dev/build/docs
Nicholas Nethercote 0f7f399e93 Bug 1426269 - Change the slashslash filter in preprocessor.py. r=glandium
This commit does the following.

- Renames `slashslash` as `dumbComments`. As a result, it now comes before
  `emptyLines` in alphabetical ordering, which means that if you apply both
  `dumbComments` and `emptyLines`, lines that contain only comments will be
  fully removed.

  (I contemplated changing the filter ordering to match the order specified,
  rather than using alphabetical ordering, but that was more invasive and not
  obviously better.)

- Changes `dumbComments` so it only applies if the comment is at the start of
  the line (with optional leading whitespace). This is so it can be used with
  prefs files, which contain lines like `pref("foo", "https://mozilla.org");`
  where the `//` must not be treated as a comment.

Note that `slashslash` wasn't being used anywhere.

Depends on D88240

Differential Revision: https://phabricator.services.mozilla.com/D88242
2020-09-08 23:04:51 +00:00
..
mozbuild Bug 925350 - Remove dumbmake r=nalexander 2020-07-10 18:12:07 +00:00
build-overview.rst
build-targets.rst
cppeclipse.rst
defining-binaries.rst
defining-xpcom-components.rst Bug 1652354, part 𝋡: Support categories with generic values in static component registration. r=kmag 2020-08-10 21:16:31 +00:00
environment-variables.rst
files-metadata.rst
glossary.rst
gn.rst
index.rst Bug 925350 - Remove dumbmake r=nalexander 2020-07-10 18:12:07 +00:00
jar-manifests.rst
locales.rst Bug 1240930 - Move jar_maker to the misc tier. r=firefox-build-system-reviewers,geckoview-reviewers,rstewart,agi 2020-06-30 21:34:32 +00:00
mozbuild-files.rst
mozbuild-symbols.rst
mozconfigs.rst Bug 1632874: |mach bootstrap| should write mozconfig file if it doesn't exist r=rstewart 2020-06-08 19:36:56 +00:00
mozinfo.rst
pgo.rst Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester 2019-12-06 01:07:32 +00:00
preprocessor.rst Bug 1426269 - Change the slashslash filter in preprocessor.py. r=glandium 2020-09-08 23:04:51 +00:00
python.rst
rust.rst Bug 1648348 - Create "Writing Rust Code" docs. r=froydnj,zbraniecki,lina. 2020-07-07 07:38:27 +00:00
sccache-dist.rst Bug 1660614 - Upgrade sccache to pick up more resilient behavior in the presence of cache read failures r=froydnj 2020-08-25 21:16:53 +00:00
slow.rst Bug 1635514 - Delete tup CI/configure stuff r=froydnj 2020-05-05 18:34:16 +00:00
sparse.rst
supported-configurations.rst Bug 1652075 - Update the minimum supported macOS version in the build docs. r=sylvestre 2020-07-17 09:49:32 +00:00
telemetry.rst Bug 1636251: document mach error reporting r=rstewart 2020-06-11 20:38:18 +00:00
test_certificates.rst
test_manifests.rst Bug 1616522 - Added mochitest documentation for https-tests. r=ahal DONTBUILD 2020-02-21 14:32:05 +00:00
toolchains.rst Bug 1644046 - Get Sonatype nexus with fetch task rather than when building android-build image. r=froydnj 2020-06-15 16:29:30 +00:00
visualstudio.rst