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
Перейти к файлу
Lars T Hansen adf086b335 Bug 1674722 - Fix prefs, switches, and selection for cranelift. r=rhunt
This patch makes cranelift and ion exclusive of each other: enabling
cranelift on a platform will effectively disable Ion on that platform.

Specifically there's a change at the pref/switch level that does not
go terribly deep:

- the new about:config option is javascript.options.wasm_optimizingjit,
  the old wasm_cranelift and wasm_ionjit are no more
- new values of X in --wasm-compiler=X in the js shell are 'optimizing'
  and 'baseline+optimizing', the old values 'cranelift', 'ion',
  'baseline+ion' and 'baseline+optimizing' are still accepted but only
  when ion or cranelift is available
- we keep the separate prefs internally in the code for ion and cranelift
  but if ENABLE_WASM_CRANELIFT is defined then we never set the ion
  pref to true, and if it is not defined then we never set the cranelift
  pref to true

The trickiest changes are in testWasm.cpp and in the JIT compiler option
processing in jsapi.cpp.

People who will suffer as a result of this are those who are working
on ports of cranelift to new platforms in Firefox.  As of now we have
no such work going on.

In the longer term the exclusive-or situation can be alleviated by a
switch that lets cranelift override ion when cranelift is present and
the switch is on.  Patches welcome.

Differential Revision: https://phabricator.services.mozilla.com/D96059
2020-11-11 09:20:13 +00:00
.cargo Bug 1675719 - P2: mach vendor rust r=cubeb-reviewers,kinetik 2020-11-10 20:00:22 +00:00
.vscode Bug 1656740 - Integrate `clangd` in `vscode` for C++ language support. r=froydnj 2020-08-06 06:25:17 +00:00
accessible Backed out 4 changesets (bug 1198336) for bustages on rules.mk. CLOSED TREE 2020-11-11 02:40:30 +02:00
browser Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js 2020-11-11 13:10:11 +02:00
build Backed out changeset f38410c45877 (bug 1670807) for linting failures. CLOSED TREE 2020-11-10 20:37:44 +02:00
caps Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
chrome Bug 1673054 - Migrate uses of intl.uidirection to intl.l10n.pseudo; r=Gijs,zbraniecki 2020-11-09 15:33:39 +00:00
config Backed out 2 changesets (bug 1674773) for turning Bug 1646925 into almost permafail. 2020-11-10 11:27:50 +02:00
devtools Bug 1662736 - [devtools] Simplify the network request payload r=ochameau 2020-11-11 10:51:28 +00:00
docs Bug 1676087: Add documentation for Accessibility Review process. r=bgrins 2020-11-10 17:17:28 +00:00
docshell Bug 1674519 - disable test_bug669671.html on fission r=intermittent-reviewers,jmaher DONTBUILD 2020-11-11 09:25:44 +00:00
dom Bug 1674722 - Fix prefs, switches, and selection for cranelift. r=rhunt 2020-11-11 09:20:13 +00:00
editor Bug 1627673 - Do null-check the result of `DragEvent::GetDataTransfer()` in `EditorEventListener`` r=smaug 2020-11-09 23:39:10 +00:00
extensions Bug 1676573 - Add support for named in-memory databases; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 07:26:41 +00:00
gfx Backed out 1 changesets (bug 1676332) for causing reftest failures. CLOSED TREE 2020-11-11 10:27:34 +02:00
gradle/wrapper
hal Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
image Bug 1674856 - Fiz fuzz annotations for Windows10 swr reftests. r=lsalzman 2020-11-03 23:51:40 +00:00
intl Bug 1667493 - Locale service shouldn't shutdown during normal shutting down phase. r=jfkthame 2020-11-11 03:33:04 +00:00
ipc Bug 1675441 - Use an x64 Widevine GMP Process for Apple Silicon Native Builds r=bryce,spohl 2020-11-11 02:37:57 +00:00
js Bug 1674722 - Fix prefs, switches, and selection for cranelift. r=rhunt 2020-11-11 09:20:13 +00:00
layout Bug 1676057 - Disable scrollbar buttons when non-native theme is in use on Linux. r=emilio,spohl 2020-11-10 02:41:46 +00:00
media Backed out 4 changesets (bug 1675534) for mass test failures. CLOSED TREE 2020-11-10 11:28:32 +02:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-11-04 18:46:00 +00:00
mfbt Bug 1665462 - Add moving Vector::appendAll(Vector&&) overload. r=jwalden 2020-10-29 19:41:43 +00:00
mobile Bug 1674500 - Remove deprecated content blocking exception code. r=geckoview-reviewers,agi 2020-11-11 00:54:40 +00:00
modules Bug 1674722 - Fix prefs, switches, and selection for cranelift. r=rhunt 2020-11-11 09:20:13 +00:00
mozglue Bug 1670957, add placeholder rectangles for toolbarbuttons and display in skeleton UI r=dthayer,smaug,Gijs 2020-11-10 16:48:10 +00:00
netwerk Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js 2020-11-11 13:10:11 +02:00
nsprpub Bug 1660371 - NSPR_4_29_RTM. r=kjacobs UPGRADE_NSPR_RELEASE DONTBUILD 2020-09-17 15:26:54 +00:00
other-licenses Bug 1461690 Part 3: HttpPostFile plugin for uploading uninstall ping via POST. r=mhowell 2020-10-20 23:20:25 +00:00
parser Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
python Bug 1676307 - Provide concrete instructions to enable sccache. r=sylvestre 2020-11-10 17:58:30 +00:00
remote Bug 1675266 - [remote] Add debuggerAddress as attribute on the Remote Agent interface. r=remote-protocol-reviewers,maja_zf 2020-11-06 18:36:49 +00:00
security Bug 1671713 - land NSS NSS_3_59_BETA1 UPGRADE_NSS_RELEASE, r=kjacobs 2020-11-11 00:56:20 +00:00
services Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio 2020-11-10 19:10:16 +00:00
servo Bug 1675514 - Fix declaration block serialization and logical properties. r=boris 2020-11-08 14:01:50 +00:00
startupcache Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
storage Bug 1676573 - Add support for named in-memory databases; r=asuth,dom-workers-and-storage-reviewers 2020-11-11 07:26:41 +00:00
taskcluster Bug 1674722 - Update raptor options for wasm tests. r=perftest-reviewers,AlexandruIonescu 2020-11-11 12:50:33 +00:00
testing Bug 1674722 - Update raptor options for wasm tests. r=perftest-reviewers,AlexandruIonescu 2020-11-11 12:50:33 +00:00
third_party Bug 1675719 - P2: mach vendor rust r=cubeb-reviewers,kinetik 2020-11-10 20:00:22 +00:00
toolkit Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js 2020-11-11 13:10:11 +02:00
tools Bug 1676139 - [devtools] Update devtools presets to include fission jobs r=nchevobbe 2020-11-10 09:42:21 +00:00
uriloader Bug 1652520 - do not overwrite extensions for all filetypes, r=mak 2020-11-10 13:59:39 +00:00
view Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
widget Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js 2020-11-11 13:10:11 +02:00
xpcom Bug 1675441 - Use an x64 Widevine GMP Process for Apple Silicon Native Builds r=bryce,spohl 2020-11-11 02:37:57 +00:00
xpfe/appshell Bug 1670957, add placeholder rectangles for toolbarbuttons and display in skeleton UI r=dthayer,smaug,Gijs 2020-11-10 16:48:10 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1620537 - Upgrade to ESLint 7.5.0, remove now unnecessary Babel plugins. r=mossop 2020-07-24 21:37:12 +00:00
.clang-format
.clang-format-ignore Bug 1667674 - [Wayland] Support public primary-selection unstable protocol. r=stransky 2020-10-02 09:13:06 +00:00
.cron.yml Bug 1661673 - remove esr68 references.r=releng-reviewers,aki DONTBUILD 2020-08-31 07:59:28 +00:00
.eslintignore Bug 1669956 - [devtools] Enable eslint for devtools/client/shared/components/reps. r=jdescottes. 2020-10-14 11:33:16 +00:00
.eslintrc.js Bug 1656280 - Enable remaining ESLint rules for widget/test/*.xhtml files. r=mhowell 2020-10-26 17:37:26 +00:00
.flake8 Bug 1673700 - Don't use double quotes around strings in definition of `fork_interpose` r=firefox-build-system-reviewers,glandium 2020-10-29 15:47:14 +00:00
.git-blame-ignore-revs Bug 1673690 - Add bugs 1654103, 1672023 to .git-blame-ignore-revs, .hg-annotate-ignore-revs r=nalexander DONTBUILD 2020-10-27 18:22:09 +00:00
.gitattributes
.gitignore Bug 1663372 - Ignore toolchains.json file with git. r=glandium 2020-09-25 13:09:50 +00:00
.hg-annotate-ignore-revs Bug 1673690 - Add bugs 1654103, 1672023 to .git-blame-ignore-revs, .hg-annotate-ignore-revs r=nalexander DONTBUILD 2020-10-27 18:22:09 +00:00
.hg-format-source
.hgignore Bug 1658396 - Make hg ignore newtab node_modules, r=Mardak 2020-08-10 23:32:15 +00:00
.hgtags No bug - tagging 6d98cc745df58e544a8d71c131f060fc2c460d83 with FIREFOX_NIGHTLY_83_END a=release DONTBUILD CLOSED TREE 2020-10-19 16:38:59 +00:00
.lldbinit
.mailmap Bug 1650456 - Correct name in a few places, r=froydnj 2020-07-03 20:20:29 +00:00
.prettierignore
.prettierrc
.taskcluster.yml Bug 1666809 - Insert decision task indexes directly via taskluster API rather than index-task, r=taskgraph-reviewers,aki 2020-09-24 19:19:36 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2020-08-24 14:18:41 +00:00
Cargo.lock Bug 1675719 - P2: mach vendor rust r=cubeb-reviewers,kinetik 2020-11-10 20:00:22 +00:00
Cargo.toml Bug 1622846 - Serialize WebGPU descriptors via Serde for IPC r=jgilbert,webidl,smaug 2020-11-07 02:43:09 +00:00
GNUmakefile
LICENSE
Makefile.in Bug 1675086 - drop reference to 'pgo' from Windows AArch EME artifact build. r=nalexander 2020-11-03 22:46:57 +00:00
README.txt Bug 1659631 - readme: update the wording to firefox, DONTBUILD.r=sylvestre 2020-08-18 04:04:36 +00:00
aclocal.m4 Bug 1635764 - Move --with-system-icu and --with-intl-api to python configure. r=firefox-build-system-reviewers,rstewart 2020-05-29 21:29:52 +00:00
build.gradle Bug 1671460 - Update to apilint 0.4.0. r=snorp 2020-11-02 19:42:25 +00:00
client.mk Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
client.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
configure.in Bug 1671424 - Move configure execution from client.mk to `mach configure`. r=firefox-build-system-reviewers,rstewart 2020-10-20 20:41:52 +00:00
configure.py Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
gradle.properties Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi 2020-09-18 22:29:04 +00:00
gradlew
gradlew.bat
mach Bug 1638947 - Run 'mach android' with python 3; r=nalexander 2020-11-09 17:54:33 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz.configure Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
mozilla-config.h.in
old-configure.in Bug 1654109 - Use PDB basename in cross-compiled Windows builds r=firefox-build-system-reviewers,mhentges 2020-11-11 02:34:44 +00:00
package-lock.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
package.json Bug 1668274 - update eslint, eslint-plugin-no-unsanitized and mocha to allow use of logical assignment operators, r=Standard8 2020-10-02 18:00:40 +00:00
settings.gradle Backed out changeset d0ff30e1d830 (bug 1650692) for toolchains failures on ImageDecoderTest.kt. CLOSED TREE 2020-07-15 07:42:37 +03:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

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.