Commit Graph

1042 Commits

Author SHA1 Message Date
Adi
355941ec79 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
d4f9c2a458 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
f96314d13d 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
faa8a24147 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
9570ff0505 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
726d243f2f 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
2b0abf3bad 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
c7f810e287 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
f3afb5636e 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
a2a9e7f9e0 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
1bc0601cc5 Backed out changeset 5c8bf24bb247 (bug 1923942) for causing generate failures. CLOSED TREE 2024-11-04 18:57:53 +02:00
Ben Dean-Kawamura
690a5b38b8 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
d55f746762 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
eec5191498 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
8a0a0f7524 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
79eeee2f4e 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
7f19f07519 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
7a0bce5f97 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
8b2a703a42 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
fa4ebd949f 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
d40aacf267 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
7d064ab64e 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
da2b771062 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
db5586f1f6 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
7eaf395546 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
9446fd21c5 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
b7941358f4 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
8be45dd280 Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
serge-sans-paille
069a97307f 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
e0a94f7c15 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
874fd31426 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
0a9332d5d1 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
eb34b7ccdb 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
9e854657c9 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
Mark Banner
25045cc41e Bug 1920970 - Move ESLint node_modules bundles away from tooltool and into the toolchain. r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D223647
2024-09-26 10:55:31 +00:00
Andreas Pehrson
dcde9b59c1 Bug 1919299 - In WebRTC debugging docs remove text on webrtc_trace logging prerequisites. r=webrtc-reviewers,mjf
They don't hold true since bug 1810498 which landed in Firefox 123.

Differential Revision: https://phabricator.services.mozilla.com/D222482
2024-09-17 16:21:19 +00:00
Andreas Pehrson
8b4c6e4661 Bug 1919299 - Add nicer:5 log module to the about:logging WebRTC preset. r=webrtc-reviewers,mjf
Differential Revision: https://phabricator.services.mozilla.com/D222480
2024-09-17 16:21:18 +00:00
Mark Banner
8f22c6514e Bug 1919322 - Update doc generate fatal warnings and reduce maximum number of warnings. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D222496
2024-09-17 16:16:30 +00:00
Sylvestre Ledru
67a1c9d5b0 Bug 1917683 - Remove dmd.py & fix_stacks.py from the Firefox nightly binary r=gsvelto,mccr8 DONTBUILD
Seems that we don't use them
+ it needs python on the system of the user

Differential Revision: https://phabricator.services.mozilla.com/D222240
2024-09-16 15:33:03 +00:00
Ben Dean-Kawamura
fba8dd2c1e Bug 1910404 - UniFFI proc-macro support, r=lina,firefox-build-system-reviewers,glandium
Switched to library mode for generating bindings.

Updated our strategy for UniFFI components/fixtures.  There's now a
crate for components and a crate for fixtures.  These crates are a
dependency of gkrust-shared and also built as standalone libraries which
UniFFI uses to generate the bindings.

One upshot of this is that we no longer need the `crate_name` or
`udl_file` config values.  library-mode can figure out the udl paths
automatically.

Differential Revision: https://phabricator.services.mozilla.com/D221824
2024-09-16 15:18:07 +00:00
Julian Descottes
42cf53ea82 Bug 1917003 - [eslint] Add linter rule to ban await await r=Standard8,frontend-codestyle-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D221187
2024-09-16 09:13:30 +00:00
Joe Walker
be30c2f7d4 Bug 1918072 - Update triage expectations in source-docs r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D221939
2024-09-13 07:18:14 +00:00
Noemi Erli
f32be0fa68 Backed out 2 changesets (bug 1888472) for causing failures in LateWriteChecks.cpp CLOSED TREE
Backed out changeset 20292c37151c (bug 1888472)
Backed out changeset 66ec9b374142 (bug 1888472)
2024-09-06 21:02:17 +03:00
lougeniac64
8dc4988e6f Bug 1888472 - Refactored webext-storage sync logic with uniffied component API calls r=markh,lina,extension-reviewers,sync-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D213094
2024-09-06 16:11:26 +00:00
Francesco Lodolo (:flod)
d0059173bd Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 15:04:10 +00:00
Cristina Horotan
c6ba4c0134 Backed out changeset 4e2df2c48e4b (bug 1917163) for causing mozlint failure. CLOSED TREE 2024-09-06 16:57:11 +03:00
Francesco Lodolo (:flod)
fd657600c1 Bug 1917163 - Update rstcheck to 6.2.4, fix resulting errors in documents, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D221287
2024-09-06 12:17:06 +00:00
Butkovits Atila
585cb9affe Backed out 2 changesets (bug 1888472) for causing failures at test_StorageSyncService.js. CLOSED TREE
Backed out changeset c6d3b6e81216 (bug 1888472)
Backed out changeset 9a58bdc9bb10 (bug 1888472)
2024-09-04 23:19:33 +03:00
lougeniac64
1e6b864792 Bug 1888472 - Refactored webext-storage sync logic with uniffied component API calls r=markh,lina,extension-reviewers,sync-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D213094
2024-09-04 18:02:50 +00:00
Bryan Olsson
22d6e6784a Bug 1915749 - Update Localization documentation post GitHub transition, r=flod
Differential Revision: https://phabricator.services.mozilla.com/D220638
2024-09-04 05:28:00 +00:00