Commit Graph

1058 Commits

Author SHA1 Message Date
Nicolas Silva
e381e9f3eb Bug 1933987 - Add some doc about toolkit/moz.configure. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D230529
2024-12-11 21:30:19 +00:00
hjones
476bb0c534 Bug 1837658 - enable Stylelint length-zero-no-unit r=frontend-codestyle-reviewers,desktop-theme-reviewers,mtigley,settings-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,tabbrowser-reviewers,translations-reviewers,android-reviewers,backup-reviewers,nchevobbe,dao,mconley,tthibaud
This use of units for zero length occasionally gets flagged during theme reviews so it makes sense to establish our preference and automate checks via Stylelint.

Differential Revision: https://phabricator.services.mozilla.com/D230287
2024-12-10 00:28:49 +00:00
Sylvestre Ledru
d7c69961bb no bug - mozlint/clippy: refresh of the doc r=linter-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D231425
2024-12-09 21:04:22 +00:00
Sylvestre Ledru
84ea601596 Bug 1933136 - Sphinx: Force English as locale when building it r=firefox-source-docs-reviewers,ahal DONTBUILD
Some sphinx warnings might be translated and not catched by our ignore list.

Differential Revision: https://phabricator.services.mozilla.com/D230079
2024-12-06 10:13:38 +00:00
Sylvestre Ledru
bd28a77829 Bug 1933136 - Sphinx: fix a sphinx get_html_theme_path warning r=firefox-source-docs-reviewers,ahal DONTBUILD
Was showing:
WARNING: Calling get_html_theme_path is deprecated. If you are calling it to define html_theme_path, you are safe to remove that code.

Differential Revision: https://phabricator.services.mozilla.com/D230078
2024-12-06 10:13:38 +00:00
Tooru Fujisawa
a3700f8005 Bug 1934232 - Add document for system modules. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D230678
2024-12-05 21:04:34 +00:00
Ryan VanderMeulen
30de208496 No bug - Update Firefox Pocket Guide to reflect updated QA milestones. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D231159
2024-12-04 22:29:24 +00:00
Mike Hommey
47e598c5ed Bug 1909343 - Update builders to rustc 1.82. r=firefox-build-system-reviewers,ahochheiden
The rust-dev toolchain is not updated because 1.82 changed things for
build-std that requires reworking the local patches entirely.

Differential Revision: https://phabricator.services.mozilla.com/D225714
2024-11-29 22:04:00 +00:00
Tooru Fujisawa
25b25c6edd Bug 1934167 - Remove JSM section from the Gecko overview. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D230638
2024-11-29 11:36:50 +00:00
Alexandru Marc
729c247d6d Backed out 2 changesets (bug 1909343, bug 1890886) for causing build bustages @ rules.mk. CLOSED TREE
Backed out changeset 9d5063ec12c9 (bug 1909343)
Backed out changeset c8a9a5b92c01 (bug 1890886)
2024-11-28 13:10:48 +02:00
Mike Hommey
c15090e6e4 Bug 1909343 - Update builders to rustc 1.82. r=firefox-build-system-reviewers,ahochheiden
The rust-dev toolchain is not updated because 1.82 changed things for
build-std that requires reworking the local patches entirely.

Differential Revision: https://phabricator.services.mozilla.com/D225714
2024-11-28 06:32:15 +00:00
Erich Gubler
3daf157f7a Bug 1933474 - docs: use trailing comma in conditional optimization example' list r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D230272
2024-11-26 15:17:56 +00:00
Erich Gubler
f005a78f4a Bug 1933474 - docs: fix conditional optimization example r=padenot
Using the current example on latest `mozilla-unified` yields this error
when used in a `mach build`:

```
TypeError: startswith first arg must be str or a tuple of str, not list
```

Implement the diagnostic's advice: swap the list for a tuple.

Differential Revision: https://phabricator.services.mozilla.com/D230271
2024-11-26 15:17:56 +00:00
Drew Willcoxon
cfe03e1d83 Bug 1932496 - Vendor application-services 3303de1 for suggest weather, geonames, and Yelp. r=nanj,bdk
3303de12a0

Differential Revision: https://phabricator.services.mozilla.com/D229698
2024-11-20 23:47:31 +00:00
Kelly Cochrane
026558555a Bug 1932236 - Add documentation for animating the browser content area in docs/performance/bestpractices.md r=mconley,emilio
Differential Revision: https://phabricator.services.mozilla.com/D229542
2024-11-20 17:51:29 +00:00
longsonr
a1e0dc11f4 Bug 1931617 Part 2 - Remove mentions of Algorithm.h where it's no longer used r=emilio,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D229205
2024-11-19 11:25:39 +00:00
Adi
96cdd300d5 Backed out 2 changesets (bug 1931617) for causing for causing build bustages @sVersionComparator.cpp. CLOSED TREE
Backed out changeset 7376753fb852 (bug 1931617)
Backed out changeset 4cd29d936b4b (bug 1931617)
2024-11-19 11:11:50 +02:00
longsonr
2431f88b47 Bug 1931617 Part 2 - Remove mentions of Algorithm.h where it's no longer used r=emilio,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D229205
2024-11-19 08:26:38 +00:00
Denis Palmeiro
d97f8dec95 Bug 1931070: Update jit profiling documentation to reflect default behaviour and new option name. r=mgaudet DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D228931
2024-11-15 17:15:37 +00:00
ahochheiden
331e96bce7 Bug 1930880 - Update the Linux Build docs to correctly state Python 3.8 as the minimum Python version to build r=firefox-build-system-reviewers,sylvestre,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D228888
2024-11-13 20:14:23 +00:00
Jonathan Watt
ce8d5f8291 Bug 1927730. Fix the links on firefox-source-docs's Gecko Overview and MOTS pages to link to our Layout & CSS docs. r=zeid
Differential Revision: https://phabricator.services.mozilla.com/D227189
2024-11-13 12:32:07 +00:00
Ben Dean-Kawamura
11a6aeaea3 Bug 1927569 - Rust component JS topic guides, r=bgruber
Added JS topic guides and also updated the existing Swift/JS ones a bit.
I didn't add a guide for remote settings, since I don't think we want to
encourage users to use this one over the official client.

Split up the notes at the begining into prerequites and notes on async.
My hope is that the async notes can go away once we start making our
components async.

Differential Revision: https://phabricator.services.mozilla.com/D228481
2024-11-12 22:14:49 +00:00
Ben Dean-Kawamura
d2446b5015 Bug 1927566 - UniFFI JS API references, r=bgruber,supply-chain-reviewers
Extended the bindings generator to generate jsdoc comments and myst
files that reference them.

Differential Revision: https://phabricator.services.mozilla.com/D228473
2024-11-12 22:14:49 +00:00
Ben Dean-Kawamura
4dac557ada Bug 1929650 - Remote Settings Client doc fixes, r=bgruber
Differential Revision: https://phabricator.services.mozilla.com/D228220
2024-11-06 20:45:14 +00:00
Alex Jakobi
cbab66d88c Bug 1928016 - Add information to provide compatible Python version using virtual environments r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D227323
2024-11-05 16:41:42 +00:00
Ben Dean-Kawamura
1bc6d6ee61 Bug 1923942 - Proposal for the new Remote Settings API, r=Standard8
I'm testing out a docs-first approach to this, based on the excellent
work that Bastian has done with topic guides.  Here's how I'm thinking
the new API should generally work, what do others think?

Differential Revision: https://phabricator.services.mozilla.com/D225266
2024-11-05 14:05:28 +00:00
Goloman Adrian
f0707b5578 Backed out changeset 5c8bf24bb247 (bug 1923942) for causing generate failures. CLOSED TREE 2024-11-04 18:57:53 +02:00
Ben Dean-Kawamura
e91c221818 Bug 1923942 - Proposal for the new Remote Settings API, r=Standard8
I'm testing out a docs-first approach to this, based on the excellent
work that Bastian has done with topic guides.  Here's how I'm thinking
the new API should generally work, what do others think?

Differential Revision: https://phabricator.services.mozilla.com/D225266
2024-11-04 15:15:00 +00:00
Mark Banner
ccaff2bd0a Bug 1928625 - Remove ESLint rule mozilla/consistent-if-bracing as curly already enforces more than it. r=frontend-codestyle-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D227658
2024-11-04 13:48:54 +00:00
serge-sans-paille
c2bbe8fb3a Bug 1920717 - Add static checker for global variables with runtime initialisation r=glandium
This patch both:

1. Provides a static checker to detect global variables which may not be
   initialized at compile-time

2. Verify that variables flagged as MOZ_RUNINIT are indeed
   initialized at runtime

3. In case of variables whose initialisation status varies based on
   macro definition or template parameters, just flag them as
   MOZ_GLOBINIT.

Differential Revision: https://phabricator.services.mozilla.com/D223342
2024-10-30 11:05:25 +00:00
serge-sans-paille
5946338a6a Bug 1920718 - Annotate all global variable with runtime initialization attributes r=glandium,application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh,geckoview-reviewers,win-reviewers,gstoll,m_kato
MOZ_RUNINIT => initialized at runtime
MOZ_CONSTINIT => initialized at compile time
MOZ_GLOBINIT => initialized either at runtime or compile time, depending on template parameter, macro parameter etc
This annotation is only understood by our clang-tidy plugin. It has no
effect on regular compilation.

Differential Revision: https://phabricator.services.mozilla.com/D223341
2024-10-30 11:05:24 +00:00
Mark Banner
56aa5f8451 Bug 1864608 - Switch document generation warnings to use an allow list of known warnings, and output new ones as errors. r=sylvestre
This removes the separate handling of different types of warnings/failures, and switches to an allow list of warnings that are the existing ones. They'll still be output as TEST-KNOWN-FAIL. Any new warnings will be output as TEST-UNEXPECTED-FAIL and cause the document generation/upload to fail.

Differential Revision: https://phabricator.services.mozilla.com/D225973
2024-10-28 08:54:09 +00:00
Sylvestre Ledru
60963e6bc7 Bug 1926284 - Ride along: fix other fenix links r=android-reviewers,geckoview-reviewers,tthibaud,owlish DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D226494
2024-10-23 08:38:09 +00:00
Sandor Molnar
25cd06f383 Backed out 2 changesets (bug 1909343, bug 1890886) for causing crashes. CLOSED TREE
Backed out changeset 9f36338ef1de (bug 1909343)
Backed out changeset 4e30cef2e71c (bug 1890886)
2024-10-18 06:49:42 +03:00
Mike Hommey
9a29c4efa8 Bug 1909343 - Update builders to rustc 1.82. r=firefox-build-system-reviewers,ahochheiden
The rust-dev toolchain is not updated because 1.82 changed things for
build-std that requires reworking the local patches entirely.

Differential Revision: https://phabricator.services.mozilla.com/D225714
2024-10-17 20:38:20 +00:00
Emilio Cobos Álvarez
d84fb429c9 No bug - Document new review groups. r=view-transitions-reviewers,layout-grid-reviewers,anchor-positioning-reviewers,dshin,boris,tlouw
Differential Revision: https://phabricator.services.mozilla.com/D225990
2024-10-17 17:06:14 +00:00
Andreas Pehrson
8df61fc133 Bug 1920942 - Update VideoFrameConverter logging. r=webrtc-reviewers,ng
This adds logging to Pacer<T>, which is currently only used by
VideoFrameConverter. It also updates VideoFrameConverter's own logging through a
dedicated macro, and puts both classes' on the MediaPipeline log module.

Differential Revision: https://phabricator.services.mozilla.com/D224701
2024-10-17 15:33:43 +00:00
Mark Banner
0e2d1c6a84 Bug 1923048 - Increase num of document generation warnings to resolve bustage. r=aryx DONTBUILD
Bug 1924903 introduced a new warning that we don't currently care about (document isn't included in any toctree), as the document
is linked to from other pages.

Differential Revision: https://phabricator.services.mozilla.com/D225959
2024-10-17 11:48:51 +00:00
Nico Grunbaum
6ad034292f Bug 1925089 - remove refs to imaginary log module from webrtc docs;r=webrtc-reviewers,pehrsons DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D225855
2024-10-16 21:29:58 +00:00
Andrew McCreight
3899f04385 Bug 1924903 - Document how to investigate leaked-until-shutdown using cycle collector logs. r=emilio,sthompson DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D225740
2024-10-16 20:00:15 +00:00
Diego Ciudad Real Escalante
b21634a119 Bug 1853990 - Added the reusable components group to the "Getting Reviews" documentation. r=hjones DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D225792
2024-10-16 15:20:12 +00:00
Bastian Gruber
9fdad334a8 Bug 1923048 - [text], r=aryx
Fix the warnings for the topic-guide docs by removing the not needed sync-group: language

Differential Revision: https://phabricator.services.mozilla.com/D225636
2024-10-16 11:01:55 +00:00
Bastian Gruber
829b811a91 Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD
Bug 1923364 - cleanup extensions, r=nanj

Bug 1923364 - Adding tabs to lint, r=nanj

Bug 1923364 - Ignore tabs linting, r=nanj

Bug 1923364 - Restructure and combine rust components, r=nanj

Bug 1923364 - Replace rst with MyST markdown, r=nanj

Bug 1923364 - PR review fixes, r=nanj

Differential Revision: https://phabricator.services.mozilla.com/D224949
2024-10-09 23:24:17 +00:00
Tamas Szentpeteri
8285dfaab8 Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
serge-sans-paille
1966f9a43c Bug 1920718 - Annotate all global variable with runtime initialization as MOZ_RUNINIT r=application-update-reviewers,media-playback-reviewers,anti-tracking-reviewers,places-reviewers,profiler-reviewers,gfx-reviewers,aosmond,lina,nalexander,aabh
This annotation is only understood by our clang-tidy plugin. It has no
effect on regular compilation.

Differential Revision: https://phabricator.services.mozilla.com/D223341
2024-10-08 16:49:51 +00:00
Paul Adenot
4ac9ea1055 Bug 1919737 - Document the moz.build hook. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D222810
2024-10-03 10:00:33 +00:00
Mark Banner
6f308f2c82 No bug - Update uniffi docs to include references for adding scaffolding when adding new bindings. r=bdk DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D224331
2024-10-02 16:22:31 +00:00
Tim Giles
4c8de92255 Bug 1921556 - Add Git vcs args snippet to sections that use bootstrap.py r=sylvestre DONTBUILD
This will clarify when to use the `--vcs=git` argument during the setup
process to prevent people from accidentally setting up their repository
for Mercurial.

Differential Revision: https://phabricator.services.mozilla.com/D224259
2024-10-02 14:56:16 +00:00
Sylvestre Ledru
f87f0c0b2c Bug 1920794 - Remove leak-gauge from m-c r=mccr8,zeid
Differential Revision: https://phabricator.services.mozilla.com/D223403
2024-10-01 14:13:43 +00:00
Hanna Jones
e98c8e4379 Bug 1838298 - Custom Stylelint plugin to prevent color tokens from being used directly r=Standard8,frontend-codestyle-reviewers,desktop-theme-reviewers,dao
This patch lays the foundation for a Mozilla-specific Stylelint plugin that we can continue to expand on with new rules as needed. For the first rule I've implemented a simple check to ensure our color tokens are being used as intended.

Differential Revision: https://phabricator.services.mozilla.com/D223204
2024-09-27 14:58:41 +00:00