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
Перейти к файлу
Ryan Hunt f4d3b34fd1 Bug 1790626 - wasm: Use pointer to TypeDef instead of type index in PackedType. r=yury
This commit switches the representation of PackedType (and therefore ValType/FieldType)
to use a *TypeDef instead of type index.

There are several changes here:
  1. PackedTypeCode is always 64-bits now to pack the pointer. This penalizes 32-bit
     platforms, but we likely don't care about them enough to try to optimize this.
  2. RefType::TypeIndex is RefType::TypeRef
  3. RefType::typeIndex() is RefType::typeDef()
  4. TypeContext now stores a map from *TypeDef to original type index for printing errors
  5. Decoding a RefType now stores a *TypeDef instead of type index
  6. We now just transfer the SharedTypeContext from ModuleEnvironment to Metadata instead
     of copying definitions. This is needed for sharing the indexOf map.
  7. We now manually serialize/deserialize TypeContext
  8. TypeContext now stores SharedTypeDef in vector instead of TypeDef, this is needed so
     that *TypeDef is not invalidated across resizing the vector (asm.js does this)
  9. The initialization of TypeContext is refactored to keep the indexOf map in-sync
     with adding new types (asm.js needs this)
  10. We now manually serialize/deserialize PackedTypeCode using a new SerializedTypeCode
  11. Serialization now needs a TypeContext in order to get the index of type definitions
  12. Deserialization now constructs a TypeContext, and uses that when deserializing
      ValType/RefType/FieldType

Differential Revision: https://phabricator.services.mozilla.com/D157387
2022-10-18 22:28:13 +00:00
.cargo Bug 1793294 - mach vendor rust. r=cubeb-reviewers,chunmin 2022-10-17 13:18:55 +00:00
.vscode
accessible Bug 1794100: Fix order of arguments for ATK GetPosition. r=eeejay 2022-10-18 21:59:02 +00:00
browser Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand 2022-10-18 21:44:48 +00:00
build Merge mozilla-central to autoland a=merge 2022-10-19 00:41:42 +03:00
caps Bug 1764391 - truncate ExpandedPrincipals in LoadInfo::RedirectChain; r=freddyb,necko-reviewers,dragana 2022-10-18 18:01:58 +00:00
chrome Backed out 2 changesets (bug 1783497) for causing failures in test_displayOrigin.js CLOSED TREE 2022-10-18 01:45:49 +03:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-10-17 14:03:50 +00:00
devtools Bug 1795933 - Remove now unnecessary and broken XUL workaround. r=mstange 2022-10-18 20:47:29 +00:00
docs Bug 1794030, part 3 - Fix XPCOM peers in mots file. r=nika,zeid DONTBUILD 2022-10-18 18:00:08 +00:00
docshell Bug 1792635 - Prevent DNS not found page from suggesting the same URI - r=mak 2022-10-18 13:24:51 +00:00
dom Bug 1793841 - deserialize nsITransportSecurityInfo without already having an instance of it r=jschanck,necko-reviewers,dragana 2022-10-18 21:25:03 +00:00
editor Backed out 2 changesets (bug 1778565) for causing mochitest plain failures in editor/libeditor/tests/test_bug490879.html CLOSED TREE 2022-10-18 22:18:00 +03:00
extensions Bug 1785278 - Reading AutoConfig from /etc/firefox when running under Snap r=mkaply,xpcom-reviewers,barret 2022-10-18 21:06:43 +00:00
gfx Bug 1795919 - Remove unused gfxQuartzSurface constructor from a data buffer, and the (locally-added) cairo_quartz_surface function it depends on. r=gfx-reviewers,lsalzman 2022-10-18 21:05:21 +00:00
gradle/wrapper Bug 1786164 - Update gradle and plugin to the latest versions. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:38 +00:00
hal Bug 1791531 - Do not assume that the battery listener has been registered correctly on macOS r=haik 2022-09-22 09:29:42 +00:00
image Bug 1795779. Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r=smaug 2022-10-18 06:57:13 +00:00
intl Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
ipc Bug 1793841 - deserialize nsITransportSecurityInfo without already having an instance of it r=jschanck,necko-reviewers,dragana 2022-10-18 21:25:03 +00:00
js Bug 1790626 - wasm: Use pointer to TypeDef instead of type index in PackedType. r=yury 2022-10-18 22:28:13 +00:00
layout Bug 1788192. Deal with frame/image size overflow and handle it gracefully in border code. r=nical 2022-10-18 19:57:57 +00:00
media Bug 1793289 - Override EXTERN_ASM when building ffvpx in generic / no asm configuration. r=alwu 2022-10-11 08:26:52 +00:00
memory Bug 1794594: Remove codeql builds r=freddyb,firefox-build-system-reviewers,nalexander 2022-10-17 15:02:39 +00:00
mfbt Bug 1795644 - A bit of tuning of inlining in the JS parser. r=arai. 2022-10-18 05:22:03 +00:00
mobile Backed out 3 changesets (bug 1787274, bug 1792964, bug 1774708) for causing mochitest failures on browser_test_visibility.js. CLOSED TREE 2022-10-18 22:54:12 +03:00
modules Bug 1785278 - Reading AutoConfig from /etc/firefox when running under Snap r=mkaply,xpcom-reviewers,barret 2022-10-18 21:06:43 +00:00
mozglue Bug 1792158 - Restrict SIMD_avx2 to AMD64 r=stransky 2022-10-10 16:15:48 +00:00
netwerk Bug 1793841 - deserialize nsITransportSecurityInfo without already having an instance of it r=jschanck,necko-reviewers,dragana 2022-10-18 21:25:03 +00:00
nsprpub Bug 1788009 - NSPR_4_35_RTM, version number only, no code change. r=glandium UPGRADE_NSPR_RELEASE 2022-09-13 06:26:48 +00:00
other-licenses Bug 1743947 - Update Snappy to version 1.1.9. r=dom-storage-reviewers,janv 2022-07-12 15:38:23 +00:00
parser Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
python Bug 1793974 - Pass mode=staged for staged files r=tjr DONTBUILD 2022-10-18 20:25:31 +00:00
remote Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
security Bug 1793841 - deserialize nsITransportSecurityInfo without already having an instance of it r=jschanck,necko-reviewers,dragana 2022-10-18 21:25:03 +00:00
services Bug 1790961 - Invalidate cache attachments base URL when server changes r=gbeckley 2022-10-18 14:54:30 +00:00
servo Bug 1744231: Part 5 - Rematch all descendants when `container-type` changes. r=emilio 2022-10-17 17:26:14 +00:00
startupcache Bug 1790614 - Part 2: Use {ASSERT,ENSURE}_NS_{SUCCEEEDED,FAILED} in gtests, r=ahal,necko-reviewers 2022-09-15 14:51:50 +00:00
storage Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
supply-chain Bug 1793294 - Vet recent cubeb-rs changes. r=cubeb-reviewers,supply-chain-reviewers,bholley,chunmin 2022-10-17 13:18:54 +00:00
taskcluster Bug 1795063 - Migrate spidermonkey tasks from AWS -> GCP, r=MasterWayZ 2022-10-18 17:58:18 +00:00
testing Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
third_party Bug 1792069: Add libsrtp to Updatebot r=bwc 2022-10-18 15:15:48 +00:00
toolkit Bug 1793629 - Implement attention indicator for the unified extensions button, r=willdurand 2022-10-18 21:44:48 +00:00
tools Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
uriloader Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
view Bug 1786513 - Make SimpleResizeReflow not flush by default. r=jfkthame,layout-reviewers 2022-09-01 10:54:24 +00:00
widget Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
xpcom Bug 1785278 - Reading AutoConfig from /etc/firefox when running under Snap r=mkaply,xpcom-reviewers,barret 2022-10-18 21:06:43 +00:00
xpfe/appshell Backed out changeset d2e0da08b38f (bug 1795804) for causing assertion failures in widget/cocoa/nsCocoaWindow.mm 2022-10-18 21:07:02 +03:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1764698 - Move LanguageDetector.jsm and related files to toolkit. r=robwu 2022-08-23 05:59:55 +00:00
.cron.yml Bug 1786291 - Remove esr91 references r=jcristau 2022-09-19 13:23:03 +00:00
.eslintignore Bug 1792341 - Migrate most of the rest of toolkit/modules/ to be system ES modules. r=Gijs 2022-10-18 11:21:25 +00:00
.eslintrc-test-paths.js Bug 1774300 - Implement VideoColorSpace r=padenot,jgilbert 2022-10-06 00:37:20 +00:00
.eslintrc.js Bug 1795602 - Stop using the 'with' statement in dom/. r=padenot 2022-10-17 12:53:07 +00:00
.flake8 Bug 1790708 - Clean up some per-file flake8 ignores that are no longer needed. r=linter-reviewers,sylvestre DONTBUILD 2022-09-14 06:17:51 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1784022 - [refactor] Convert text-emphasis-position #defines to enum classes r=emilio 2022-09-27 07:38:08 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1784022 - [refactor] Convert text-emphasis-position #defines to enum classes r=emilio 2022-09-27 07:38:08 +00:00
.hgtags No bug - tagging f12833d9593379df22c08c09446799c56c1dd912 with FIREFOX_NIGHTLY_107_END a=release DONTBUILD CLOSED TREE 2022-10-17 14:03:43 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 1782273 - Part 30: Enable prettier for selfhosted code. r=tcampbell,Standard8 2022-08-04 17:13:03 +00:00
.prettierrc
.taskcluster.yml Bug 1784232 - Bump taskgraph to v3.2.0 r=ahal 2022-09-20 09:11:45 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-10-17 14:03:50 +00:00
Cargo.lock Bug 1793294 - Vet recent cubeb-rs changes. r=cubeb-reviewers,supply-chain-reviewers,bholley,chunmin 2022-10-17 13:18:54 +00:00
Cargo.toml Bug 1794001 - Part 6: Patch rure to remove cdylib and staticlib targets, r=#xpcom-reviewers CLOSED TREE 2022-10-13 21:46:07 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1793786 - Update Glean version to 51.4.0 r=chutten,supply-chain-reviewers,webdriver-reviewers 2022-10-07 20:19:49 +00:00
client.mk
client.py
configure Bug 1787977 - Include configure in the tree. r=firefox-build-system-reviewers,nalexander 2022-08-30 04:02:12 +00:00
configure.py Bug 1787628 - Add `looseversion` import to `configure.py` r=firefox-build-system-reviewers,glandium 2022-08-30 18:24:55 +00:00
gradle.properties Bug 1786164 - Add more Gradle JVM memory flags. r=geckoview-reviewers,jonalmeida 2022-08-31 22:10:39 +00:00
gradlew
gradlew.bat
mach Backed out 5 changesets (bug 1766497) for causing build bustages with "No module named 'encodings'" CLOSED TREE 2022-10-12 22:51:51 -04:00
mach.cmd
mach.ps1
mots.yaml Bug 1794030, part 3 - Fix XPCOM peers in mots file. r=nika,zeid DONTBUILD 2022-10-18 18:00:08 +00:00
moz.build Bug 1737634: mots config file r=sheehan 2022-07-14 15:45:44 +00:00
moz.configure Bug 1794517 - Make CI plain builds a little closer to local builds. r=firefox-build-system-reviewers,andi 2022-10-11 06:54:45 +00:00
mozilla-config.h.in
old-configure.in Bug 1795207 - Move the remainder of warning flags setup in old-configure to python. r=firefox-build-system-reviewers,andi 2022-10-18 19:46:44 +00:00
package-lock.json Bug 1792465 - Add eslint-plugin-jsdoc and upgrade node_modules to latest versions. r=mossop 2022-10-03 06:55:28 +00:00
package.json Bug 1792465 - Add eslint-plugin-jsdoc and upgrade node_modules to latest versions. r=mossop 2022-10-03 06:55:28 +00:00
settings.gradle
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.