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

1169 Коммитов

Автор SHA1 Сообщение Дата
Butkovits Atila 98dda426a1 Backed out changeset 1a272b971b33 (bug 1650891) for bustage. CLOSED TREE 2020-10-26 21:57:30 +02:00
Bob Clary 54574d52fd Bug 1650891 - [geckodriver] Make profile customizable to support root-less Android devices. r=webdriver-reviewers,jgraham,bc,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87464
2020-10-26 18:53:36 +00:00
Lars T Hansen e17a63397d Bug 1671874 - Pull a new wat version. r=rhunt
Pull in a version that correctly handles v128.load32_zero and v128.load64_zero.

Differential Revision: https://phabricator.services.mozilla.com/D94271
2020-10-22 07:39:01 +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
Dan Glastonbury f5c6d9e6a5 Bug 1660393 - P3: Implement load_sync and load_async functions for L10n. r=zbraniecki,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D89695
2020-10-21 05:48:10 +00:00
Dan Glastonbury 38f9a7cc9f Bug 1660393 - P2: Add `Future` execution support. r=nika
Allow Rust Futures to be polled to completion on the current thread's
`nsIEventTarget`.

Futures don't need to be `Send` since they are polled on the thread spawning the
task responsible to completing the Future.

Differential Revision: https://phabricator.services.mozilla.com/D89694
2020-09-22 00:39:37 +00:00
Dan Glastonbury 21660d203d Bug 1660393 - P1: Add support to moz-task to spin event loop. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D89693
2020-09-18 16:23:39 +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
Dzmitry Malyshau 5668f013a9 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 17:19:12 +00:00
Dorel Luca 9ca588da3e Backed out changeset 13bb2d007f1f (bug 1622846) for Build bustage on android. CLOSED TREE 2020-10-19 19:28:27 +03:00
Dzmitry Malyshau 84fe9a5693 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 15:08:55 +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
Jeff Muizelaar 25c5cd2354 Bug 1671034 - Avoid creating CTFonts from CGFonts. r=lsalzman
The CGFonts end up in a cache that we don't want. Creating the CTFonts
directly should avoid this.

Notes:
add_native_font normally takes a CGFont and we need a CTFontDescriptor
so we convert to postscript name and then postscript name to
CTFontDescriptor. This is wasteful but avoids needing to change the
external API.

To avoid copying the data in the Vec we use a CFAllocator to wrap the
Vec for use by CFData

Differential Revision: https://phabricator.services.mozilla.com/D93518
2020-10-14 20:42:25 +00:00
Lars T Hansen e015128a86 Bug 1669938 - Pull in latest wast version. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D93475
2020-10-14 09:49:56 +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
Lars T Hansen 3b3f2d9de2 Bug 1669668 - mach vendor rust. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D92755
2020-10-08 09:18:49 +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
J.C. Jones 429b38902b Bug 1666701 - Upgrade Authenticator-rs to v0.3.1 r=kjacobs,keeler
This patch fixes a failure to compile on OpenBSD, and also includes the new
(and not yet used by Gecko) WebDriver implementation, and its associated
error-code upgrades.

This has a lot of new packages added into the cargo-checksum, but they were
already used by Gecko, and thus don't change the gecko-wide Cargo.{lock,toml}
files.

Differential Revision: https://phabricator.services.mozilla.com/D92784
2020-10-07 19:14:34 +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
Emilio Cobos Álvarez c314a37ea6 Bug 1668514 - Update crossbeam-channel. r=janerik
It's used by both webrender and fog, and it contains a subtle soundness
issue which may affect us, see:

 * https://github.com/crossbeam-rs/crossbeam/pull/533
 * https://twitter.com/khuey_/status/1311641831201857537

Quoting for posterity:

> There is a 0.4.4 on a branch and it contains a reversion for the UB
> mentioned in https://github.com/crossbeam-rs/crossbeam/pull/533.
>
> This was causing corruption of jemalloc structures (and ultimately a
> deadlock) for us.

Update the crate resolving the issue.

Differential Revision: https://phabricator.services.mozilla.com/D92046
2020-10-02 19:15:26 +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
Tooru Fujisawa 913954320b Bug 1668776 - Update opcode for bug 1667258. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D92203
2020-10-02 10:37:24 +00:00
Dan Mosedale 56fe9ac25f Bug 1668704 - upgrade serde to 1.0.116 so we can vendor in Nimbus SDK r=markh
Differential Revision: https://phabricator.services.mozilla.com/D92164
2020-10-02 01:10:38 +00:00
Butkovits Atila 983d99240d Backed out changeset 92a01ad5e890 (bug 1668398) for bustages complaining about ABIMachineSpec. CLOSED TREE 2020-10-02 03:49:26 +03:00
Chris Fallin 65f126f9c6 Bug 1668398: vendor Cranelift b8f0dc429f2b886e7423122223393b2c7ee3cd4f. 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-01 17:28:30 +00:00
Valentin Gosu b9501927ed Bug 1616252 - Exclude domains in /etc/hosts from using TRR r=necko-reviewers,dragana
This patch adds a task that is dispatched to the background thread when TRR
is first enabled. This may mean during the TRRService initialization at
startup or later when the pref is flipped.

The task will call into rust_parse_etc_hosts which does the actual file
opening and parsing. We pass the path to the file, that being either
/etc/hosts or the Windows equivalent obtained by calling
SHGetSpecialFolderPathA.

The rust code opens the file and proceeds to read it line by line while
accumulating all the hostnames in an array. Since these files can be
quite large, on the order of several megabytes, we need to make sure we
don't block shutdown doing this - so once more than 100 domains have
accumulated in the array we call back into C++ code to add them to the
exclusion list. The callback will return true if we should continue to
parse the file or false otherwise.

We also change the tests to use "excluded" rather than localhost when
testing the excluded-domains prefs, since localhost is unually present
in /etc/hosts and may interfere with the test.

We also use an atomic sTRRServicePtr to make sure that we don't have
a data race between the TRRService being freed and the callbacks of the
parsing.

Differential Revision: https://phabricator.services.mozilla.com/D90663
2020-10-01 07:01:58 +00:00
Dragana Damjanovic cb3f1acfbd Bug 1668019 - Update neqo to version 0.4.12 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D91873
2020-09-30 10:51:34 +00:00
Jonathan Kew 1643382733 Bug 1667192 - patch 1 - Update to mapped_hyph v0.4.0, to get FFI access to hyphenation table compilation. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D91408
2020-09-30 12:51:17 +00:00
Jan-Erik Rediger e284db0882 Bug 1662123 - Measure the time it takes to initialize FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D90850
2020-09-29 16:01:47 +00:00
Bogdan Tara 31bcac6a70 Backed out 4 changesets (bug 1662123, bug 1662122) for RustMozCrash raptor crashed CLOSED TREE
Backed out changeset 832848e2277f (bug 1662123)
Backed out changeset 4930629bf758 (bug 1662123)
Backed out changeset a05a1b934110 (bug 1662122)
Backed out changeset 47e17a661b8e (bug 1662122)
2020-09-28 21:13:41 +03:00
Jan-Erik Rediger e32e416a86 Bug 1662123 - Measure the time it takes to initialize FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D90850
2020-09-28 14:29:48 +00:00
Sebastian Hengst e391849424 Backed out 4 changesets (bug 1662123, bug 1662122) for build bustage because of missing toolkit/components/glean/api/src/metrics.rs. CLOSED TREE
Backed out changeset 36ef41fa3470 (bug 1662123)
Backed out changeset 69089070fb49 (bug 1662123)
Backed out changeset 86d5740e32a2 (bug 1662122)
Backed out changeset 060270c0220f (bug 1662122)
2020-09-28 13:46:12 +02:00
Jan-Erik Rediger c503da69ce Bug 1662123 - Measure the time it takes to initialize FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D90850
2020-09-28 10:09:28 +00:00
Zibi Braniecki 5bbfa14bf4 Bug 1667307 - Update fluent-rs to 0.13. r=kamidphish
Differential Revision: https://lando.services.mozilla.com/D91390/
2020-09-27 02:04:35 +02:00
Jan-Erik Rediger 54cbab74c5 Bug 1659109 - Add a dispatch queue for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88837
2020-09-23 07:25:16 +00:00
Csoregi Natalia 9d0405e881 Backed out 5 changesets (bug 1659109) for bustage on src/dispatcher/mod.rs. CLOSED TREE
Backed out changeset fbe0ea62f4bb (bug 1659109)
Backed out changeset b3671a7196cf (bug 1659109)
Backed out changeset 0ffc40c1046a (bug 1659109)
Backed out changeset aa9157143036 (bug 1659109)
Backed out changeset 32c3d23de6ea (bug 1659109)
2020-09-22 23:06:06 +03:00
Jan-Erik Rediger 50409c63c4 Bug 1659109 - Add a dispatch queue for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88837
2020-09-17 16:43:10 +00:00
Andy Grover 99792ccf29 Bug 1649495 - Add network.http.http3.enable_qlog pref r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-22 08:28:44 +00:00
Jeff Muizelaar 0f0c9a9a0c Bug 1666057. Convert qcms to rust. r=aosmond
The conversion was done with c2rust and then manually cleaned up some.
There's still lots of unsafe code remaining but I'd rather do the rest
of the cleanup in-tree so that it's easier to catch and revert
regressions.

I've dropped support for SSE1 (Firefox requires SSE2) and Altivec
(not wanting to deal with fixing Rust's Altivec support).

transform_neon.rs manually implements a bunch of intrinsics, this
can be fixed when we can depend on Rust 1.48.

The fuzz target is changed to a cargo-fuzz target.

Some of the gtests are moved to Rust.

Differential Revision: https://phabricator.services.mozilla.com/D90782
2020-09-21 18:40:51 +00:00
Butkovits Atila 49f424b435 Backed out changeset f82548378b79 (bug 1649495) for xpc failures at test_upgrade.js. CLOSED TREE 2020-09-21 15:45:00 +03:00
Andy Grover 63993e1a49 Bug 1649495 - Add network.http.http3.qlog_enabled pref r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-21 11:00:26 +00:00
Mihai Alexandru Michis 51875c07f4 Backed out changeset 932516ec74bb (bug 1649495) for causing bustages in nsHttpHandler
CLOSED TREE
2020-09-18 15:55:06 +03:00