Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Valentin Gosu 1a1f42da37 Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk r=necko-reviewers,kershaw
This changeset is the result of adding modernize-use-default-member-init to
tools/clang-tidy/config.yaml then proceeding to run
`./mach static-analysis check netwerk/ --fix`
I then went through the resulting fix and manually updated all of the member
variables which were missed due to them having a non-trivial constructor.

Note that the tool was only run on Linux, so code that only runs on some
platforms may have been missed.

The member variables that are still initialized in the contructor definition
are:
  - bitfields (not all currently supported compilers allow default-member-init
  - variables that are initialized via a parameter
  - variables that use code not visible in the header file

There are a few advantages to landing this change:
- fewer lines of code - now declaration is in the same place as initialization
  this also makes it easier to see when looking at the header.
- it makes it harder to miss initializing a member when adding a new contructor
- variables that depend on an include guard look much nicer now

Additionally I removed some unnecessary reinitialization of NetAddr members
(it has a constructor that does that now), and changed nsWifiScannerDBus to
use the thread-safe strtok_r instead of strtok.

Differential Revision: https://phabricator.services.mozilla.com/D116980
2021-06-11 07:10:41 +00:00
.cargo Bug 1715731 - Bump jsparagus for bug 1709956 and some more. r=nbp 2021-06-10 13:24:16 +00:00
.vscode Bug 1701913 - Documentation regarding Remote Development over SSH using VS Code. r=marco 2021-03-30 14:44:51 +00:00
accessible Bug 1714390 - P7: Add custom de/serializer for AccAttributes. r=Jamie 2021-06-10 23:07:07 +00:00
browser Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE 2021-06-11 02:45:34 +03:00
build Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD 2021-06-10 19:33:53 +00:00
caps Part 1: Bug 1700623 - Add storagePrincipal to WindowGlobalParent. r=nika,timhuang 2021-05-26 07:14:03 +00:00
chrome Bug 1695162 - Use range-based for instead of custom hashtable iterators. r=xpcom-reviewers,kmag 2021-03-17 15:49:46 +00:00
config Bug 1686052 - Part 4: Update tzdata in ICU data files to 2021a. r=jwalden 2021-06-04 17:42:19 +00:00
devtools Bug 1715802 - [devtools] Remove testActor#getStyleSheetsInfoForNode. r=jdescottes. 2021-06-11 05:59:32 +00:00
docs Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD 2021-06-10 19:33:53 +00:00
docshell Bug 1714918 - Sort out editor class accessors of nsIEditor r=m_kato 2021-06-11 03:01:08 +00:00
dom Bug 1715705 - Ask the parent before doing a MEMORY_PRESSURE GC r=smaug 2021-06-11 05:47:48 +00:00
editor Bug 1713760 - Make HTMLEditor inherit EditorBase directly r=m_kato 2021-06-11 03:01:09 +00:00
extensions Bug 1713757 - Make mozInlineSpellChecker, mozInlineSpellWordUtil and TextServicesDocument use EditorBase instead of TextEditor r=m_kato 2021-06-09 09:02:31 +00:00
gfx Bug 1715663 - Remove fractional device offset invalidation r=gfx-reviewers,aosmond 2021-06-11 02:53:15 +00:00
gradle/wrapper
hal Bug 1710473 - Remove hal::SetProcessPrioritySupported(). r=gsvelto,geckoview-reviewers,aklotz 2021-05-10 19:59:24 +00:00
image Bug 1696093 - AVIF image transform support. r=aosmond 2021-06-08 18:30:46 +00:00
intl Bug 1711902 - Add Calendar::GetCanonicalTimeZoneID; r=dminor 2021-06-10 20:14:17 +00:00
ipc Backed out 5 changesets (bug 1682518, bug 1703761, bug 1711418, bug 1697895) for causing build bustages on nsEmbedFunctions.cpp. CLOSED TREE 2021-06-11 07:08:38 +03:00
js Bug 1699271 - Part 13: Add auto generated static assertions for non gc pointer arguments to MIR ops. r=iain 2021-06-10 21:00:32 +00:00
layout Backed out changeset 3fa7dc1e1303 (bug 1715586) for causing reftest failures on fixed-pos-scrollable-1.html. CLOSED TREE 2021-06-10 23:31:41 +03:00
media Bug 1714686 - Disable libjxl updates; r=saschanaz 2021-06-04 23:38:29 +00:00
memory Backed out changeset 49f8a4acd649 (bug 1712674) for stack walking crashes on older Windows versions (bug 1715633). 2021-06-10 11:39:30 +03:00
mfbt Bug 1695817 - Part 5: Add std::equal_range equivalent in MFBT. r=glandium 2021-05-28 22:35:58 +00:00
mobile Backed out changeset 3a5a0d8ea411 (bug 1699794) for Browser-chrome failures in browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js. CLOSED TREE 2021-06-11 08:16:37 +03:00
modules Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE 2021-06-11 02:45:34 +03:00
mozglue Backed out changeset 49f8a4acd649 (bug 1712674) for stack walking crashes on older Windows versions (bug 1715633). 2021-06-10 11:39:30 +03:00
netwerk Bug 1714307 - Run modernize-use-default-member-init --fix check on netwerk r=necko-reviewers,kershaw 2021-06-11 07:10:41 +00:00
nsprpub Bug 1715584 - NSPR_4_32_BETA1. r=bbeurdouche UPGRADE_NSPR_RELEASE 2021-06-10 09:15:06 +00:00
other-licenses Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
parser Bug 737785 - Un-prefix -moz-tab-size (keeping the prefixed version as an alias for now). r=layout-reviewers,dholbert 2021-06-10 09:19:24 +00:00
python Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD 2021-06-10 19:33:53 +00:00
remote Bug 1691414 - [remote] Extract WebDriver capabilities specific classes into their own Capability module. r=webdriver-reviewers,jdescottes 2021-06-09 08:19:01 +00:00
security Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE 2021-06-11 02:45:34 +03:00
services Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD 2021-06-10 19:33:53 +00:00
servo Bug 1663740 - Specify has_no_effect_on_gecko_scrollbars on inherited internal properties. r=boris 2021-06-10 11:50:23 +00:00
startupcache Bug 708901 - Migrate to nsTHashSet in startupcache. r=dthayer 2021-03-23 10:36:39 +00:00
storage Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
taskcluster Backed out 2 changesets (bug 1715142) for causing marionette failures on test_navigation.py and mochitest failures on browser_setIgnoreCertificateErrors.js. CLOSED TREE 2021-06-11 02:45:34 +03:00
testing Bug 1715559 - set accent-color test step in forced-colors-mode-41.html as passing outside Nightly. r=emilio DONTBUILD 2021-06-10 23:45:29 +00:00
third_party Bug 1715731 - Bump jsparagus for bug 1709956 and some more. r=nbp 2021-06-10 13:24:16 +00:00
toolkit Backed out changeset 3a5a0d8ea411 (bug 1699794) for Browser-chrome failures in browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js. CLOSED TREE 2021-06-11 08:16:37 +03:00
tools Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD 2021-06-09 20:27:09 +00:00
uriloader Bug 1710933 - Save LaunchWithApplication downloads into downloads folder for windows and unix r=mtigley 2021-06-07 13:39:03 +00:00
view Bug 1710533 - Apply the widget size constraints to newBounds r=mstange,gfx-reviewers 2021-05-13 09:34:26 +00:00
widget Bug 1715895 - Disable sw-wr on non-x86 Linux in late beta and release. r=aosmond 2021-06-10 21:32:17 +00:00
xpcom Bug 1714390 - P6: Make more attribute keys static atoms. r=Jamie 2021-06-10 23:07:07 +00:00
xpfe/appshell Bug 1710687, null check mDocShell before using it, r=peterv 2021-05-25 12:25:41 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe 2021-04-04 08:05:39 +00:00
.clang-format
.clang-format-ignore Bug 1714577 - Part 5 - Add GeckoTraceEvent.h to clang-format-ignore. r=gerald 2021-06-09 15:43:38 +00:00
.cron.yml Bug 1707937 - Consolidate live performance tests into a single schedule; r=perftest-reviewers,sparky 2021-05-05 11:45:03 +00:00
.eslintignore Bug 1693993 - [marionette] Move Marionette server code to /remote/marionette. r=remote-protocol-reviewers,marionette-reviewers,jdescottes,webdriver-reviewers 2021-05-31 17:36:06 +00:00
.eslintrc.js Bug 1710273 - Stop using ChromeUtils.import(..., null) for importing EnterprisePolicies.jsm. r=nhnt11,extension-reviewers,preferences-reviewers,zombie 2021-05-12 23:16:33 +00:00
.flake8 Bug 1714641: Remove usages of vendored "wptserve_py2" library r=jgraham,ahal 2021-06-09 15:48:51 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1703105 - wasm: Move generate-spectest tool into tree. r=lth 2021-04-13 16:41:46 +00:00
.hgtags No bug - tagging b724ec4440e0fec4dd6e02ac019f43b2e0b32f85 with FIREFOX_NIGHTLY_90_END a=release DONTBUILD CLOSED TREE 2021-05-31 17:00:09 +00:00
.lando.ini Bug 1714470: add .lando.ini file r=zeid DONTBUILD 2021-06-08 12:52:25 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1696944 - Part 3 - Add new image to taskcluster.yml. r=aki 2021-03-17 11:22:02 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle
Cargo.lock Bug 1715731 - Bump jsparagus for bug 1709956 and some more. r=nbp 2021-06-10 13:24:16 +00:00
Cargo.toml Bug 1710685 - Part 1: Update RLBox lucetc to fix clock() on mac r=tjr 2021-06-08 17:40:21 +00:00
client.mk Bug 1683797: Removes unnecessary lines from client.mk r=sheehan,firefox-build-system-reviewers,glandium 2021-03-09 14:45:24 +00:00
client.py No bug - fix client.py update_nss on python3. r=firefox-build-system-reviewers,mhentges,bbeurdouche 2021-05-05 16:59:09 +00:00
CLOBBER Bug 1686052 - Part 11: Updating ICU requires a clobber. r=jwalden 2021-06-04 17:42:27 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1713173 - Add --profile-command flag for profiling mach commands. r=firefox-build-system-reviewers,mhentges 2021-06-02 21:28:56 +00:00
mach.ps1
Makefile.in
moz.build Bug 1705403 - Replace FOG's Glean autodocs with link to Glean Dictionary r=janerik DONTBUILD 2021-05-10 13:33:09 +00:00
moz.configure Bug 1714397 - Apply mach lint --fix to /moz.configure. r=firefox-build-system-reviewers,mhentges 2021-06-03 18:04:23 +00:00
mozilla-config.h.in
old-configure.in Backed out 3 changesets (bug 1709640) for causing android-4-1-armv7 pgo build bustages. 2021-06-08 03:58:27 +03:00
package-lock.json Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
package.json Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle Backed out 3 changesets (bug 1709640) for causing android-4-1-armv7 pgo build bustages. 2021-06-08 03:58:27 +03:00
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.