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
alwu 68dd7e07df Bug 1759033 - no longer start or shutdown MediaFoundation explictly, and ensure the media foundation's life cycle long enough. r=bryce
According to [1], `MFShutdown` will shutdown the media foundation for every other call of `MFStartup`, which means it's possible to shutdown the media foundation even if other components are still using that.

Therefore, we should consider make the media foundation alive when the first time any component wants to use it, and shutdown it when the whole process destroys.

We already did similar thing on the RDD process [2] so it makes sense to do it as well on other places. Especially considering we will move the MFT decoder into the RDD process in the future, we definitely don't want an encoder incorrectly shutdown the media foundation the decoder is using.

Also, it saves time to call `MFStartup` if the media foundation is already started.

[1] https://docs.microsoft.com/en-us/windows/win32/api/mfapi/nf-mfapi-mfshutdown
[2] https://searchfox.org/mozilla-central/rev/eeeba8183d3268e0d563c2becf9f4adc21a37368/dom/media/ipc/RDDParent.cpp#111,303,315

Differential Revision: https://phabricator.services.mozilla.com/D140757
2022-03-24 18:56:16 +00:00
.cargo Bug 1760930 - Bump jsparagus for bug 1760605. r=nbp 2022-03-23 13:43:18 +00:00
.vscode
accessible Bug 1550644: nsTextEquivUtils: Add space for block elements when we encounter them. r=eeejay,adw 2022-03-24 00:06:15 +00:00
browser Bug 1759452 - When querying snapshot groups, take into account hidden snapshots. r=mak 2022-03-24 18:44:27 +00:00
build Bug 1724274: Move virtualenv dependency manifests to python/virtualenvs r=ahal 2022-03-24 14:04:34 +00:00
caps Bug 1757796 - Permit midi-sysex on localhost. r=mixedpuppy 2022-03-04 22:55:00 +00:00
chrome Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky 2022-03-11 16:41:29 +00:00
config Backed out changeset c25c591841cd (bug 1351378) for causing multiple failures. CLOSED TREE 2022-03-22 19:37:46 +02:00
devtools Bug 1750245 - [devtools] Adds test for basic functionality of the new HTTP Custom request panel r=bomsy 2022-03-24 09:43:32 +00:00
docs Bug 1760360 - fx doc: Add a link to report an issue on a page r=firefox-source-docs-reviewers,ahal DONTBUILD 2022-03-21 20:32:50 +00:00
docshell Bug 1760009 - Don't strip the URL query parameters if there is no triggering principal. r=smaug 2022-03-22 08:45:19 +00:00
dom Bug 1759033 - no longer start or shutdown MediaFoundation explictly, and ensure the media foundation's life cycle long enough. r=bryce 2022-03-24 18:56:16 +00:00
editor Bug 1402822 - Add mochitest for multiple dictionaries; r=smaug 2022-03-23 13:53:39 +00:00
extensions Bug 1402822 - Update unit tests for multiple dictionaries; r=smaug 2022-03-23 13:53:39 +00:00
gfx Bug 1759033 - no longer start or shutdown MediaFoundation explictly, and ensure the media foundation's life cycle long enough. r=bryce 2022-03-24 18:56:16 +00:00
gradle/wrapper Bug 1724480 - Upgrade JDK to Java 17. r=glandium,ahal,calu 2022-01-11 19:16:01 +00:00
hal Bug 1760839 - Use more automatic memory management in GTK code. r=stransky 2022-03-23 16:14:34 +00:00
image Bug 1207753 - image thread-safety annotations r=aosmond 2022-03-21 20:04:39 +00:00
intl Bug 1759577 - Create logic to check if live reloading is supported; r=platform-i18n-reviewers,dminor 2022-03-22 15:26:09 +00:00
ipc Bug 1738104 - Shutdown IPC actors during EventTarget shutdown, r=ipc-reviewers,mccr8 2022-03-23 22:22:05 +00:00
js Bug 1642412 - wasm: Don't read a call site line in operations that AsmJS won't emit one for. r=lth 2022-03-24 17:56:53 +00:00
layout Bug 1760007, use less frequent painting during page load only if there is something else to do. r=mstange 2022-03-24 18:48:52 +00:00
media Bug 1759846 - the 'empty' method should be used to check for emptiness. r=sylvestre 2022-03-24 17:08:50 +00:00
memory Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
mfbt Bug 1760357 - Part 6: Don't generate thread safety annotations on clang < 8.0, r=jesup 2022-03-22 14:59:42 +00:00
mobile Bug 1732151 - Remove unused vendorShortName from brand.properties and brand.dtd. r=flod 2022-03-24 15:57:54 +00:00
modules Bug 1754063: Add nsJAR and nsZipArchive logging r=nika 2022-03-24 13:55:26 +00:00
mozglue Bug 1680285 - Simplify selector flag setting now that flag setting is atomic. r=nika,decoder 2022-03-24 15:09:47 +00:00
netwerk No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS 2022-03-24 12:55:16 +00:00
nsprpub Bug 1743566 - Finalize NSPR version number (no code change). r=glandium UPGRADE_NSPR_RELEASE DONTBUILD 2021-12-18 01:13:20 +00:00
other-licenses
parser Bug 1760661 - Parser thread-safety annotations r=hsivonen 2022-03-22 14:06:03 +00:00
python Bug 1732151 - Migrate dataReportingNotification strings to Fluent. r=preferences-reviewers,fluent-reviewers,flod 2022-03-24 15:57:54 +00:00
remote Bug 1760259 - [remote] Disable session restore infobar for marionette tests, webplatform tests and geckodriver r=webdriver-reviewers,whimboo 2022-03-24 11:26:06 +00:00
security Backed out changeset 624ac865ee72 (bug 1760977) for causing browser-chrome failures CLOSED TREE 2022-03-24 17:36:25 +02:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=diannaS 2022-03-24 12:55:16 +00:00
servo Bug 1751217 Part 1: Support media queries for dynamic-range and video-dynamic-range. r=emilio 2022-03-24 18:19:49 +00:00
startupcache Bug 1755181 - Allow live language reloading to invalidate the startup cache; r=dthayer 2022-03-22 15:19:47 +00:00
storage Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
taskcluster Bug 1758216 - update mozboot minidump-stackwalk to 0.10.2. r=gsvelto 2022-03-24 18:24:32 +00:00
testing Bug 1751217 Part 5: Update test expectations. r=emilio 2022-03-24 18:19:50 +00:00
third_party Bug 1724274: Downgrade vendored packages for poetry compatibility r=ahal 2022-03-24 14:04:34 +00:00
toolkit Bug 1759452 - Allow hiding snapshots within snapshot groups. r=mak 2022-03-24 18:44:27 +00:00
tools Bug 1748821 - Support running visual metrics on Apple Silicon r=perftest-reviewers,Eng_Esther 2022-03-24 15:05:05 +00:00
uriloader Bug 1753369 - Use sync PathUtils directory getters on mainthread in uriloader/ r=Gijs 2022-03-10 15:16:43 +00:00
view
widget Bug 1751217 Part 4: Make macOS declare video-dynamic-range: high with new-enough OS. r=emilio 2022-03-24 18:19:50 +00:00
xpcom Bug 1751217 Part 1: Support media queries for dynamic-range and video-dynamic-range. r=emilio 2022-03-24 18:19:49 +00:00
xpfe/appshell Bug 1207753 - Smaller xpcom/threads & xpfe thread-safety annotations r=nika 2022-03-21 23:04:07 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1750663 [Linux] Move mozva library and va headers to media directory r=alwu,media-playback-reviewers 2022-01-24 10:19:51 +00:00
.cron.yml Bug 1758746 - Make searchfox run on-push for mozilla-central r=ahal 2022-03-09 21:21:16 +00:00
.eslintignore Bug 1757552 - [devtools] Generate actor-less reps stubs.r=bomsy. 2022-03-03 16:16:50 +00:00
.eslintrc.js Bug 1758107 - Stop using ChromeUtils.import(..., null) for importing modules in dom/push/. r=mt 2022-03-23 12:03:28 +00:00
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1759087 - Ignore Visual Studio user config files in VCS. r=mhentges 2022-03-11 15:40:52 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1732376 - Add a --clean option to remove the raptor venv before running r=sparky,perftest-reviewers 2022-03-16 12:39:55 +00:00
.hgtags No bug - tagging 923f64ad8d51a0ba1540c400bb6ee63cbe1233c4 with FIREFOX_NIGHTLY_99_END a=release DONTBUILD CLOSED TREE 2022-03-08 10:07:40 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1747970 - Move AC_CHECK_FUNC{,S} to python configure. r=firefox-build-system-reviewers,andi 2022-01-20 21:01:20 +00:00
AUTHORS
build.gradle Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik 2022-02-15 13:35:07 +00:00
Cargo.lock Bug 1757571 - Upgrade crossbeam-channel to 0.5.4. r=emilio 2022-03-24 06:08:27 +00:00
Cargo.toml Bug 1755956 - Add initial boilerplate for origin trials. r=smaug,hsivonen 2022-02-18 13:57:30 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-12-06 19:18:29 +00:00
configure.in
configure.py Bug 1747332 - Move build environment checks to configure.py. r=firefox-build-system-reviewers,andi 2021-12-23 20:47:47 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1752927: Avoid distutils deprecation warning on every Mach call r=ahal 2022-02-04 21:49:15 +00:00
mach.cmd Bug 1750874: Support launching Mach with py instead of python r=glandium 2022-01-21 18:22:58 +00:00
mach.ps1 Bug 1748762: Update mach.ps1 to always support MozillaBuild 4.0 r=saschanaz 2022-01-21 18:22:59 +00:00
Makefile.in Bug 1751515 - Part 3: Do not install artifact test archive when --disable-tests. r=firefox-build-system-reviewers,glandium 2022-01-26 19:08:57 +00:00
moz.build Bug 1753127 - NSPR doc: move the doc into docs/nspr UPGRADE_NSS_RELEASE r=kaie,bbeurdouche 2022-02-02 17:19:51 +00:00
moz.configure Bug 1724274: Move virtualenv dependency manifests to python/virtualenvs r=ahal 2022-03-24 14:04:34 +00:00
mozilla-config.h.in Bug 1746991 - Avoid warning noise from __STDC_CONSTANT_MACROS being redefined. r=firefox-build-system-reviewers,andi 2021-12-21 21:22:26 +00:00
old-configure.in Bug 1752064 - Move the remainder of AS to python configure. r=firefox-build-system-reviewers,andi 2022-02-03 00:06:29 +00:00
package-lock.json Bug 1753652 - Update various node_modules to their latest versions. r=Gijs 2022-02-07 17:28:47 +00:00
package.json Bug 1753652 - Update various node_modules to their latest versions. r=Gijs 2022-02-07 17:28:47 +00:00
README.txt
settings.gradle Bug 1753914 - ./mach environment is failed in gradle task on Windows. r=nalexander 2022-02-08 06:19:41 +00:00
substitute-local-geckoview.gradle Bug 1752381 - only parse stdout in substitute-local-geckoview. r=nalexander 2022-02-02 18:00:46 +00: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.