Граф коммитов

313 Коммитов

Автор SHA1 Сообщение Дата
M. Sirringhaus 5299ba12e6 Bug 1620993 - Rewrite the Linux-specific minidump writer code in Rust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D98744
2021-01-14 11:01:59 +00:00
Razvan Maries 21321565f6 Backed out changeset 9fabf5ced4d3 (bug 1620993) for OSX Build bustages. CLOSED TREE 2021-01-13 12:57:41 +02:00
M. Sirringhaus 3665b8d70a Bug 1620993 - Rewrite the Linux-specific minidump writer code in Rust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D98744
2021-01-13 10:37:29 +00:00
Emilio Cobos Álvarez 3bd15f9e8e Bug 1684261 - Fix build with rust nightly. r=jrmuizel
Fixes errors like:

  dependency (nix) specification is ambiguous. Only one of `branch`, `tag` or `rev` is allowed.

I've left the most specific dependency, but for wgpu the rev is not
right, so I've kept the branch which effectively preserves behavior.

Differential Revision: https://phabricator.services.mozilla.com/D100485
2020-12-26 18:16:05 +00:00
Dragana Damjanovic 539ededfd5 Bug 1683902 - Update neqo to 0.4.19 r=necko-reviewers,kershaw
Update neqo to 0.4.19

Differential Revision: https://phabricator.services.mozilla.com/D100338
2020-12-22 18:36:22 +00:00
Dzmitry Malyshau 6b5716d415 Bug 1680376 - WebGPU error handling infrastructure r=jgilbert,webidl,smaug
the goal of this PR is to provide the necessary
infrastructure to handle errors on the GPU process side and send them
back to the client side, triggering the uncaptured error events.

Differential Revision: https://phabricator.services.mozilla.com/D98542
2020-12-18 20:07:47 +00:00
Chun-Min Chang 2e5d3014c7 Bug 1681811 - Update mp4parse-rust to 3d9efdc r=jbauman
Import the improvements made in mp4parse-rust repo. The changes would
save some redundant copy when calling avif related APIs and provide the
ability to get the alpha data of the parsed avif image.

Differential Revision: https://phabricator.services.mozilla.com/D98950
2020-12-14 22:31:07 +00:00
Dragana Damjanovic 96b916ebe1 Bug 1682262 - Update neqo to 0.4.18 and bindgen to 0.56 r=necko-reviewers,emilio,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99665
2020-12-14 18:38:49 +00:00
Csoregi Natalia 24146fd642 Backed out changeset a8c087a36965 (bug 1681811) for failures on test_case_mp4. CLOSED TREE 2020-12-11 22:51:06 +02:00
Chun-Min Chang 2c75dfdc7b Bug 1681811 - Update mp4parse-rust to 94fd2f1 r=jbauman
Import the improvements made in mp4parse-rust repo. The changes would
save some redundant copy when calling avif related APIs and provide the
ability to get the alpha data of the parsed avif image.

Differential Revision: https://phabricator.services.mozilla.com/D98950
2020-12-11 18:16:40 +00:00
Julian Seward 7564a2282f Bug 1681485 - Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558. r=lth.
Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558
from https://github.com/mozilla-spidermonkey/wasmtime branch firefox85.
The (only) purpose is to pull in this fix for an apparently rare but serious
LICM bug:

Fix missing modification of jump table in LICM.
See https://github.com/bytecodealliance/wasmtime/pull/1697

Differential Revision: https://phabricator.services.mozilla.com/D99230
2020-12-10 06:51:48 +00:00
Tooru Fujisawa 157d9e67fe Bug 1678170 - Update opcode for bug 1673553. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99073
2020-12-10 00:47:28 +00:00
shravanrn@gmail.com d475a75904 Bug 1670878: Instantiating a large number of wasm library sandboxes crashes due to overuse of file descriptors r=tjr
Instantiating a wasm library duplicates a file descriptor for /dev/null 3 times to be used as input, output and error streams for the wasm sandboxed code. When a lot of sandboxes are created and destroyed, a lot of descriptors are duplicated and closed. While this should be fine, POSIX does not seem to happy with the opening and closing of many file descriptors --- this could perhaps be some strange interaction with Firefox's seccomp filters and cross-process file descriptor handling as it is difficult to repro this outside of firefox.

However, the simpler fix here was to just eliminate the duplication of /dev/null and return an error when input, output or error streams are accessed by wasm sandboxed code. This means calls to printf will fail, but no code I know off actually checks the int error code returned by printf and this change is certainly compatible with existing sandboxed components.

Differential Revision: https://phabricator.services.mozilla.com/D99160
2020-12-09 21:54:03 +00:00
Csoregi Natalia e85a77d963 Backed out changeset d7cb07ecc30a (bug 1678170) for causing spidermonkey failures. CLOSED TREE 2020-12-09 18:16:50 +02:00
Tooru Fujisawa 6febe8808b Bug 1678170 - Update opcode for bug 1673553. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99073
2020-12-09 14:33:19 +00:00
Julian Seward 7e62d43bab Bug 1681450 - Revendor Cranelift to 3b01b4b850bafb981a04383198c0b50d041dc5ef. r=lth.
Revendor Cranelift to 3b01b4b850bafb981a04383198c0b50d041dc5ef
from https://github.com/mozilla-spidermonkey/wasmtime branch firefox85.
The (only) purpose is to pull in this:

commit 31bac3eafbfda8f1ffb504cdeb75505d48537336
Merge: 93c199363 34d9931ed
Author: Nick Fitzgerald <fitzgen@gmail.com>
Date: Wed Nov 25 13:09:05 2020 -0800

Merge pull request #2450 from bytecodealliance/cfallin/fix-wasm-reachable

Fix Wasm translator bug: end of toplevel frame is branched-to only for fallthrough returns.

Differential Revision: https://phabricator.services.mozilla.com/D99204
2020-12-09 12:05:52 +00:00
Julian Seward 5638b306c1 Bug 1678785 - AddressSanitizer: SEGV [@ vixl::Memory::Read]. r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D98932
2020-12-07 16:26:17 +00:00
Julian Seward 4434d99732 Bug 1680509 - Vendor in CL ac58a436ed84d1a88b4ff24367c5972cf8d3d405. Part 2: results of "mach vendor rust". r=yury.
Depends on D98647

Differential Revision: https://phabricator.services.mozilla.com/D98648
2020-12-04 07:01:55 +00:00
Henri Sivonen c55405f18e Bug 1678175 - Avoid detecting windows-1252 euro sign as GBK. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D98005
2020-11-29 08:07:45 +00:00
Julian Seward 3455a0f670 Bug 1677452 - Update Cranelift to firefox85 / dcc52ba3f69d3de7cdbd787b936825d9c61e3c27 and wasmparser to 0.67: Part 2 - results of "mach vendor rust". r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D97588
2020-11-19 18:50:58 +00:00
Dragana Damjanovic 8915c56905 Bug 1677743 - Neqo version 0.4.16 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97445
2020-11-19 13:06:31 +00:00
Chun-Min Chang 20d9584f84 Bug 1677766 - P2: mach vendor rust r=cubeb-reviewers,padenot
Depends on D97482

Differential Revision: https://phabricator.services.mozilla.com/D97483
2020-11-18 22:48:38 +00:00
Bogdan Tara 7974baccc1 Backed out changeset a6a44286addf (bug 1677743) for test_http3.js failures CLOSED TREE 2020-11-17 21:51:33 +02:00
Dragana Damjanovic 5fba5c88db Bug 1677743 - Update neqo (0.4.15) r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97328
2020-11-17 16:10:15 +00:00
Dzmitry Malyshau 8f74799ba5 Bug 1676916 - Implicit bind group layouts in WebGPU r=jgilbert,webidl,smaug
This change updates and enables Naga to get the
SPIRV shaders parsed, validated, and reflected back into
implicit bind group layouts.
WebGPU examples heavily rely on the implicit layouts now,
and the PR also updates the WebIDL to make that possible.
With the change, we are able to run most of the examples again!

Differential Revision: https://phabricator.services.mozilla.com/D96850
2020-11-13 14:15:49 +00:00
Emilio Cobos Álvarez d9ef0f274b Bug 1677073 - Update mapped_hyph. r=jfkthame
This removes a dependency on env_logger 0.7.

Differential Revision: https://phabricator.services.mozilla.com/D96985
2020-11-13 12:23:04 +00:00
Chun-Min Chang 40778f846e Bug 1675719 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D96617

Differential Revision: https://phabricator.services.mozilla.com/D96618
2020-11-10 20:00:22 +00:00
Mark Hammond 6c3e1b850d Bug 1675190 - Vendor new application-services into mozilla-central. r=extension-reviewers,janerik,eoger,dmose,rpl
Differential Revision: https://phabricator.services.mozilla.com/D95829
2020-11-09 04:25:14 +00:00
Dzmitry Malyshau f9116a751d Bug 1622846 - Serialize WebGPU descriptors via Serde for IPC r=jgilbert,webidl,smaug
This PR updates wgpu to the latest and changes the way we pass object descriptors to the GPU process.
Instead of trying to convert them between DOM-CPP-IPDL-FFI-Rust, we now do DOM-FFI-Rust
and serialize them by serde into ipc::ByteBuf objects.

Differential Revision: https://phabricator.services.mozilla.com/D94908
2020-11-07 02:43:09 +00:00
Csoregi Natalia 1a3ae2644d Backed out changeset bdd3d7eb5927 (bug 1622846) for linux bustage on gfx/wgpu/wgpu-types/src/lib.rs. CLOSED TREE 2020-11-07 00:48:50 +02:00
Dzmitry Malyshau 505438ed91 Bug 1622846 - Serialize WebGPU descriptors via Serde for IPC r=jgilbert,webidl,smaug
This PR updates wgpu to the latest and changes the way we pass object descriptors to the GPU process.
Instead of trying to convert them between DOM-CPP-IPDL-FFI-Rust, we now do DOM-FFI-Rust
and serialize them by serde into ipc::ByteBuf objects.

Differential Revision: https://phabricator.services.mozilla.com/D94908
2020-11-06 18:59:27 +00:00
smolnar 5957a1ba9c Backed out changeset a82a3d7cec03 (bug 1675190) for causing linux toolchains bustage. CLOSED TREE 2020-11-05 13:26:46 +02:00
Mark Hammond bcb7a913bb Bug 1675190 - Vendor new application-services into mozilla-central. r=extension-reviewers,janerik,eoger,dmose,rpl
Differential Revision: https://phabricator.services.mozilla.com/D95829
2020-11-05 03:50:21 +00:00
Dragana Damjanovic a0d95ff222 Bug 1674366 - Neqo version 0.4.14 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95291
2020-10-31 18:44:21 +00:00
Henri Sivonen 33c996c701 Bug 1667736 - Update packed_simd to compile on Rust 1.48. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D91572
2020-10-30 08:29:53 +00:00
Paul Adenot 5e550c342c Bug 1672459 - Update cubeb-coreaudio-rs to d5af7ad7. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D94343
2020-10-21 17:55:15 +00:00
Paul Adenot a16e8314ad Bug 1670917 - mach vendor rust. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93368
2020-10-21 09:24:14 +00:00
Razvan Maries 6ad7ee6c29 Backed out 7 changesets (bug 1670917) for multiple GTest perma failures. CLOSED TREE
Backed out changeset 635942af8244 (bug 1670917)
Backed out changeset b0825300e78d (bug 1670917)
Backed out changeset 881fac72e13c (bug 1670917)
Backed out changeset 0285b2ab6d50 (bug 1670917)
Backed out changeset b58d65b96f2d (bug 1670917)
Backed out changeset 6ad13b34f08d (bug 1670917)
Backed out changeset 426aa6482835 (bug 1670917)
2020-10-20 22:55:47 +03:00
Paul Adenot 7a78919c05 Bug 1670917 - mach vendor rust. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D93368
2020-10-20 13:08:35 +00:00
Jon Bauman ce053c88e0 Bug 1670341 - Update mp4parse-rust to eliminate multiple versions of hashbrown crate. r=emilio
Also update servo's `style` package to use hashbrown 0.9.

Differential Revision: https://phabricator.services.mozilla.com/D93616
2020-10-16 19:49:05 +00:00
Dragana Damjanovic ddaca31b0c Bug 1671521 - Update neqo to version 0.4.13 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93703
2020-10-16 07:13:32 +00:00
Jonathan Kew 1c54e5ffd7 Bug 1669162 - Update mapped_hyph to 0.4.2 so that .dic parse errors are non-fatal. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D92435
2020-10-12 10:23:27 +00:00
Mark Hammond 5c11945748 Bug 1669722 - vendor a new app-services, which includes ruslite 0.24.1. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D93004
2020-10-08 21:23:40 +00:00
Chun-Min Chang a50bf7dcd8 Bug 1669852 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D92836

Differential Revision: https://phabricator.services.mozilla.com/D92837
2020-10-07 23:01:48 +00:00
Chris Fallin 7a5957abe6 Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-07 06:25:50 +00:00
Razvan Maries 8674a04012 Backed out 2 changesets (bug 1655042, bug 1669055) for build bustages. CLOSED TREE
Backed out changeset 0807415f1ea5 (bug 1655042)
Backed out changeset bb5e11920e1a (bug 1669055)
2020-10-07 09:20:25 +03:00
Chris Fallin b1ad6c43eb Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-07 03:44:43 +00:00
Butkovits Atila ad041bcdda Backed out changeset 34fddbf97cc7 (bug 1669055) for bustages complaining about rust. CLOSED TREE 2020-10-07 01:44:54 +03:00
Chris Fallin b560ffb6f2 Bug 1669055: Vendor Cranelift e22e2c3722f2fbccd3c8d3230119fa04c332c69c. r=jseward
This patch pulls in an updated Cranelift with a new validation strategy,
introduced by bytecodealliance/wasmtime#2059. This new design validates
the Wasm module as it parses the function bodies. A subsequent patch
will adapt Baldrdash to work with this.

Differential Revision: https://phabricator.services.mozilla.com/D92503
2020-10-06 16:52:57 +00:00
Chris Fallin 2e04279f34 Bug 1668398: vendor Cranelift 57fed697920cb888c6cb7e406d13518f7edd12ea. r=bbouvier
This patch pulls in the latest version of Cranelift, which includes
necessary updates to support some recent work on the Wasm backend (e.g.,
support for the new ABI in PR #2223).

Differential Revision: https://phabricator.services.mozilla.com/D92000
2020-10-02 20:02:51 +00:00