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

372 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu e8090c4a5d Bug 1740030 - Migrate "Writing xpcshell-based unit tests" MDN doc to Firefox Source Docs r=mbucher
Imported From: https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/qa/writing_xpcshell-based_unit_tests/index.html
Previous URL: https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests
Rendered version of previous documentation: https://web.archive.org/web/20210601152246/https://developer.mozilla.org/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

To run the lint simply run:

./mach lint -l android-format

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

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

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

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

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

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

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

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

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D122525
2021-08-17 15:16:01 +00:00
Julian Descottes b44277e02b Bug 1722456 - [devtools] Update documentation to find Devtools reviewers r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D121524
2021-08-02 14:14:22 +00:00
Tom Ritter 05cffe8a72 Bug 1722724: Start a cookbook that lists common needs for matchers r=andi
Differential Revision: https://phabricator.services.mozilla.com/D121105
2021-07-29 14:34:44 +00:00