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

1453 Коммитов

Автор SHA1 Сообщение Дата
Alessio Placitelli abc39d7ba1 Bug 1675534 - Vendor glean (Rust Language Bindings). r=chutten
This is vendoring the Glean Rust Language Bindings (built on the
top of glean-core), providing a nice Glean SDK Rust API for consumers,
for using in FOG.

Depends on D96833

Differential Revision: https://phabricator.services.mozilla.com/D96834
2020-11-12 15:52:06 +00:00
Alessio Placitelli 0225a451b1 Bug 1675534 - Bump glean-core to 33.3.0. r=chutten
This additionally brings in two more Rust dependencies:
adler and autocfg. They are included in one of the latest
flate2 version.

Differential Revision: https://phabricator.services.mozilla.com/D96833
2020-11-12 15:51:33 +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
Cosmin Sabou 9cf347fc5b Backed out 4 changesets (bug 1675534) for mass test failures. CLOSED TREE
Backed out changeset 27ee1ce4cfc7 (bug 1675534)
Backed out changeset 8af8c98229a8 (bug 1675534)
Backed out changeset 242953f682a5 (bug 1675534)
Backed out changeset 72fd081de136 (bug 1675534)
2020-11-10 11:28:32 +02:00
Alessio Placitelli 52ea4ea9d9 Bug 1675534 - Vendor glean (Rust Language Bindings). r=chutten
This is vendoring the Glean Rust Language Bindings (built on the
top of glean-core), providing a nice Glean SDK Rust API for consumers,
for using in FOG.

Differential Revision: https://phabricator.services.mozilla.com/D96227
2020-11-09 14:46:04 +00:00
Alessio Placitelli 69e641ef71 Bug 1675534 - Bump glean-core to 33.1.2. r=chutten
This additionally brings in two more Rust dependencies:
adler and autocfg. They are included in one of the latest
flate2 version.

Differential Revision: https://phabricator.services.mozilla.com/D96226
2020-11-09 13:39:45 +00:00
Csoregi Natalia d57cf574ea Backed out 3 changesets (bug 1675534) for causing build bustage. CLOSED TREE
Backed out changeset ee45a6abdadf (bug 1675534)
Backed out changeset 2c75ab4daa47 (bug 1675534)
Backed out changeset 35d4d9bddadd (bug 1675534)
2020-11-09 13:36:09 +02:00
Alessio Placitelli b5b774f6a8 Bug 1675534 - Vendor glean (Rust Language Bindings). r=chutten
This is vendoring the Glean Rust Language Bindings (built on the
top of glean-core), providing a nice Glean SDK Rust API for consumers,
for using in FOG.

Differential Revision: https://phabricator.services.mozilla.com/D96227
2020-11-09 11:09:02 +00:00
Alessio Placitelli 14b83e9152 Bug 1675534 - Bump glean-core to 33.1.2. r=chutten
This additionally brings in two more Rust dependencies:
adler and autocfg. They are included in one of the latest
flate2 version.

Differential Revision: https://phabricator.services.mozilla.com/D96226
2020-11-09 11:08:54 +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
Jamie Nicol e17f6c30ce Bug 1661528 - Update gleam to 0.13.1. r=kvark
Provides glBufferStorage and glFlushMappedBufferRange, and fixes
glClientWaitSync's return type.

Differential Revision: https://phabricator.services.mozilla.com/D96023
2020-11-07 00:30: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
Chris H-C a79272a14e Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-06 14:38:50 +00:00
Emilio Cobos Álvarez e4d9bac157 Bug 1675639 - Update indexmap. r=boris
New versions have shrink_to_fit(). This also explicitly requests the
"std" feature, because otherwise autocfg fails to pass the panic=abort
flag to rustc and it chokes.

Depends on D96130

Differential Revision: https://phabricator.services.mozilla.com/D96131
2020-11-06 12:46:13 +00:00
Narcis Beleuzu ba9ddd45c5 Backed out 3 changesets (bug 1675639) for Bpgo bustages. CLOSED TREE
Backed out changeset 9a7b394ca845 (bug 1675639)
Backed out changeset 270207ea42c1 (bug 1675639)
Backed out changeset 3d38566d80c6 (bug 1675639)
2020-11-06 03:32:33 +02:00
Narcis Beleuzu 46929ae82f Backed out 2 changesets (bug 1673664, bug 1673662) for Documentation failure on glean.py
Backed out changeset 430caac2467d (bug 1673662)
Backed out changeset 0bae1f5facda (bug 1673664)
2020-11-06 01:35:59 +02:00
Emilio Cobos Álvarez 34c14ecd28 Bug 1675639 - Update indexmap. r=boris
New versions have shrink_to_fit().

Depends on D96130

Differential Revision: https://phabricator.services.mozilla.com/D96131
2020-11-05 23:23:27 +00:00
Chris H-C c96dbaf582 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-05 14:19:21 +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
Dorel Luca af86d70b32 Backed out changeset b8f6130e6997 (bug 1673664) for Build bustages. CLOSED TREE 2020-11-05 01:24:33 +02:00
Chris H-C 3d603cdcd8 Bug 1673664 - Implement C++ and JS FOG APIs for UUID r=janerik,brizental
Differential Revision: https://phabricator.services.mozilla.com/D95590
2020-11-04 21:24:23 +00:00
Henrik Skupin 6e8527f840 Bug 1649094 - [geckodriver] Release version 0.28.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95074
2020-11-03 09:31:21 +00:00
Henrik Skupin 9bcfe67ea4 Bug 1649094 - [webdriver] Release version 0.42.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95072
2020-11-03 03:51:29 +00:00
Henrik Skupin d9c9b833fa Bug 1649094 - [rust-mozversion] Release version 0.4.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95071
2020-11-03 03:51:29 +00:00
Henrik Skupin b5b940bcec Bug 1649094 - [rust-mozrunner] Release version 0.12.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95070
2020-11-03 03:51:28 +00:00
Henrik Skupin 2d3512cef9 Bug 1649094 - [rust-mozdevice] Release version 0.3.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D95069
2020-11-03 03:51:28 +00:00
Dzmitry Malyshau 8d81c7e769 Bug 1674917 - Update parking_lot to 0.11 r=nika
Differential Revision: https://phabricator.services.mozilla.com/D95610
2020-11-02 22:56:40 +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
Emilio Cobos Álvarez 82e837eb83 Bug 933562 - Implement complex :not(). r=jfkthame
This fixes the failures in bug 1671573 and just works thanks to the
invalidation improvements I did for :is / :where.

Added a couple tests for invalidation which is the tricky bit. 001 is a
very straight-forward test, 002 is the :is test but with :is() replaced
by double-:not().

This also fixes default namespaces inside :is() / :where(), which are
supposed to get ignored, but aren't. Added tests for that and for the
pre-existing :not() behavior which Chrome doesn't quite get right.

Differential Revision: https://phabricator.services.mozilla.com/D94142
2020-10-29 18:03:54 +00:00
Bob Clary f225e46df1 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-28 12:33:47 +00:00
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
Andy Grover 96ac4b6334 Bug 1649495 - Add network.http.http3.qlog_enabled pref r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-18 07:02:15 +00:00
Bogdan Tara a4e517dc98 Backed out 4 changesets (bug 1659109) for dispatcher related bustage CLOSED TREE
Backed out changeset 9a824e53d6f0 (bug 1659109)
Backed out changeset 1ef4a64d4e39 (bug 1659109)
Backed out changeset 98e349acacfd (bug 1659109)
Backed out changeset c42a568625d0 (bug 1659109)
2020-09-17 19:33:54 +03:00
Jan-Erik Rediger 33a96c6eb0 Bug 1659109 - Add a dispatch queue for FOG. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D88837
2020-09-14 09:42:35 +00:00
David Teller d621561a4a Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-09-17 14:03:41 +00:00
Tooru Fujisawa 084f4ffe27 Bug 1662383 - Remove {EmitResult,SmooshResult}.top_level_script. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D88970
2020-09-16 15:10:55 +00:00
Razvan Maries 0c958444a7 Backed out 2 changesets (bug 1635494) for Windows build bustages. CLOSED TREE
Backed out changeset 14456b365a11 (bug 1635494)
Backed out changeset 2608db2fa8be (bug 1635494)
2020-09-16 16:33:17 +03:00
David Teller d76fedbfbb Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-09-16 10:03:33 +00:00
Chris Fallin 0931312b73 Bug 1664453: vendor Cranelift to 379aed8092cd1241ec7839e77d05557b1dceb234 to resolve two Wasm translation bugs. r=jseward
This Cranelift update to revision 379aed8092cd1241ec7839e77d05557b1dceb234
includes its PRs #2197 and #2194, which fix two Wasm translation bugs, as well a
other miscellaneous updates and fixes.

Fixes both Bug 1664453 and Bug 1663861.

Differential Revision: https://phabricator.services.mozilla.com/D90306
2020-09-15 20:01:26 +00:00
Narcis Beleuzu b62f859c3e Backed out 2 changesets (bug 1635494) for bustages on processtools/src/lib.rs . CLOSED TREE
Backed out changeset aab5984f73db (bug 1635494)
Backed out changeset a91e04073f9f (bug 1635494)
2020-09-15 22:54:38 +03:00
David Teller 8cf0a3a591 Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-07-23 15:03:17 +00:00
Alexis Beingessner e5dd298d13 Bug 1654807 - update thin-vec to 0.2.1 for potential endianess fix. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87019
2020-09-14 17:32:40 +00:00
Dragana Damjanovic 93fcbece5c Bug 1664321 - Update neqo to 0.4.11 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D89828
2020-09-14 07:50:57 +00:00
Nicholas Nethercote 5d45da52f2 Bug 1664105 - Upgrade `ron` to 0.6.2. r=kvark
Also update `base64` so that all webrender code is on the same version, as
required by the `webrender-lint-tidy` check.

Differential Revision: https://phabricator.services.mozilla.com/D89698
2020-09-11 06:22:37 +00:00
Cosmin Sabou 598ffecbd5 Backed out changeset 16d4d1f1a447 (bug 1664105) for linux webrender tidy bustage. CLOSED TREE 2020-09-11 08:13:57 +03:00
Nicholas Nethercote cc286890ec Bug 1664105 - Upgrade `ron` to 0.6.2. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D89698
2020-09-10 14:31:34 +00:00
J.C. Jones 0b80ebcbcb Bug 1664298 - Upgrade authenticator-rs to v0.3.0 r=kjacobs
https://github.com/mozilla/authenticator-rs/releases/tag/v0.3.0

Major changes:

 * Move to Rust 2018 edition #125
 * Remove dependency on boxfnonce #121
 * Reworked error handling #130
 * Added a higher-level AuthenticatorService that can use multiple backends #123
 * Changed the C API to use the new AuthenticatorService #123
 * Added a Status channel for backends #122
 * Now obtaining HID report sizes from the descriptors #12
 * Add authenticator USB and Firmware details to the C API #93

Differential Revision: https://phabricator.services.mozilla.com/D89823
2020-09-10 23:49:02 +00:00
Nicolas Silva b1c3ab9869 Bug 1662827 - Move the api senders to the webrender crate. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D89387
2020-09-09 12:45:00 +00:00
Emilio Cobos Álvarez 188dcede21 Bug 1663715 - Update syn and proc-macro2 so that Firefox can build on Rust nightly again. r=froydnj
Generated with:

  cargo update -p syn --precise 1.0.40
  ./mach vendor rust

Rust issue: https://github.com/rust-lang/rust/issues/76482

Differential Revision: https://phabricator.services.mozilla.com/D89473
2020-09-08 17:00:48 +00:00
Mihai Alexandru Michis 002a3217ae Backed out 4 changesets (bug 1662827) for causing webrender bustages.
Backed out changeset 4d216f67247b (bug 1662827)
Backed out changeset 25ef3ef3c69d (bug 1662827)
Backed out changeset 461e4e35a0e3 (bug 1662827)
Backed out changeset 40366bd1a0f7 (bug 1662827)
2020-09-08 17:11:19 +03:00
Nicolas Silva a7e48b6370 Bug 1662827 - Move the api senders to the webrender crate. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D89387
2020-09-08 13:06:16 +00:00
Emily McDonough 22fb22631b Bug 1662518 part 1 - Add semver to gkrust_util r=emilio
We will use this for CUPS version parsing.

Differential Revision: https://phabricator.services.mozilla.com/D89034
2020-09-02 23:49:02 +00:00
Zibi Braniecki 51dd2eebad Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-02 20:06:41 +00:00
Jon Bauman 5db1fd1dd5 Bug 1661583 - Update mp4parse-rust to fe90285. r=kinetik
- Enable fallible allocation in mp4parse_capi by default
- Switch from local implementation of fallible allocation to using
  fallible_collections crate
- Return error if any of the primary item data is missing

Differential Revision: https://phabricator.services.mozilla.com/D89091
2020-09-02 14:59:02 +00:00
Butkovits Atila c09561678c Backed out changeset 1ea91616c192 (bug 1662309) for reftest failures. CLOSED TREE 2020-09-01 23:38:36 +03:00
Zibi Braniecki f8a2cef646 Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 17:47:26 +00:00
Bogdan Tara 84922363f4 Backed out changeset ad6c81e11152 (bug 1662309) for CheckCapacity assertion failures CLOSED TREE 2020-09-01 09:40:56 +03:00
Zibi Braniecki f16141c258 Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-01 04:15:51 +00:00
Benjamin Bouvier 1893cc05f1 Bug 1661723; Bump Cranelift to a7f7c23bf9c37c642da962d575b7c99007918872; r=lth
Differential Revision: https://phabricator.services.mozilla.com/D88784
2020-08-31 16:34:29 +00:00
Jamie Nicol 0211cf8e50 Bug 1661045 - Update glslopt to fix build on OpenBSD. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D88254
2020-08-26 14:13:11 +00:00
Jon Bauman 14a9a05444 Bug 1660551 - Update mp4parse-rust to d5a37fd. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D87931
2020-08-25 17:54:45 +00:00
Julian Seward d994de3030 Bug 1660976 - Output of mach vendor rust; r=bbouvier.
Depends on D88132

Differential Revision: https://phabricator.services.mozilla.com/D88133
2020-08-25 10:56:36 +00:00
Mihai Alexandru Michis 1b1ee1c86e Backed out changeset 773188fb9acf (bug 1660551) for causing bustages.
CLOSED TREE
2020-08-24 23:33:44 +03:00
Jon Bauman 66bad9d400 Bug 1660551 - Update mp4parse-rust to 6ebb531. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D87931
2020-08-24 19:52:59 +00:00
Mike Hommey 38280df928 Bug 1659066 - Update glslopt-rs to 0.1.6. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D87842
2020-08-22 22:48:34 +00:00
Razvan Maries 60aa2d1349 Backed out 3 changesets (bug 1659066) for build bustages. CLOSED TREE
Backed out changeset e8fdf9f3a551 (bug 1659066)
Backed out changeset 0d9c38d87d51 (bug 1659066)
Backed out changeset bdecbe65a90e (bug 1659066)
2020-08-23 01:39:26 +03:00
Mike Hommey b6f42e711e Bug 1659066 - Update glslopt-rs to 0.1.6. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D87842
2020-08-22 22:02:12 +00:00
Tooru Fujisawa 50f13a4125 Bug 1659304 - Update opcode for bug 1435826. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87591
2020-08-21 16:13:24 +00:00
Chun-Min Chang bb6528a673 Bug 1658982 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D87618

Differential Revision: https://phabricator.services.mozilla.com/D87619
2020-08-19 21:22:23 +00:00
Nicolas Silva cc32927985 Bug 1656236 - Vendor euclid update. r=kvark,gw
Differential Revision: https://phabricator.services.mozilla.com/D85545
2020-08-18 22:58:20 +00:00
Nicolas Silva 298e987b8e Bug 1656236 - Update euclid in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85762
2020-08-18 17:28:27 +00:00
Chris Fallin b4d17c8c71 Bug 1659803: Bump Cranelift to rev 924782191b1cdd85438b707d20a82fbcc8ad40e1. r=jseward
This PR pulls in the latest version of Cranelift, which pulls in
regalloc.rs v0.0.30 and consequently includes some improvements in
memory allocation rate during compilation. No behavior changes expected.

Differential Revision: https://phabricator.services.mozilla.com/D87479
2020-08-18 19:07:53 +00:00
Dragana Damjanovic 2cb51f4e64 Bug 1659705 - Update neqo to version 0.4.10 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D87441
2020-08-18 13:22:00 +00:00
Ryan Hunt 7157eeec3a Bug 1561521 - Vendor the latest wat. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D85052
2020-08-18 16:50:27 +00:00
Csoregi Natalia fd9ca77e37 Backed out 3 changesets (bug 1656236) for wrench failures on filter-drop-shadow-clip-3.yaml. CLOSED TREE
Backed out changeset 78205b816ac8 (bug 1656236)
Backed out changeset dc4ccb5a8ea9 (bug 1656236)
Backed out changeset dcfa644ba078 (bug 1656236)
2020-08-18 20:22:57 +03:00
Nicolas Silva 9341dd8a38 Bug 1656236 - Vendor euclid update. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D85545
2020-08-18 16:06:19 +00:00
Nicolas Silva 0473064210 Bug 1656236 - Update euclid in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85762
2020-08-18 16:06:19 +00:00
Dorel Luca 7cf9cb9d07 Backed out 16 changesets (bug 1561521) for WASM build bustages
Backed out changeset a850ff24c2ae (bug 1561521)
Backed out changeset 3d1a8283d2f8 (bug 1561521)
Backed out changeset 02ce4be46831 (bug 1561521)
Backed out changeset 00d2290648a7 (bug 1561521)
Backed out changeset cd847eba7f9c (bug 1561521)
Backed out changeset a7ad7e2b02c1 (bug 1561521)
Backed out changeset 538920d2d777 (bug 1561521)
Backed out changeset 3d3e3d124767 (bug 1561521)
Backed out changeset c827ecead12d (bug 1561521)
Backed out changeset 1cb2561bf28f (bug 1561521)
Backed out changeset a18f7f6320c4 (bug 1561521)
Backed out changeset bc80a4372ba0 (bug 1561521)
Backed out changeset a3abc2d14f78 (bug 1561521)
Backed out changeset b8c0cb8771b6 (bug 1561521)
Backed out changeset fe600b71015f (bug 1561521)
Backed out changeset 41e46f9041bd (bug 1561521)
2020-08-18 05:35:55 +03:00
Ryan Hunt c7239f8aaa Bug 1561521 - Vendor the latest wat. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D85052
2020-08-17 23:57:53 +00:00
Chris Fallin c95dc245f5 Bug 1659139: Update vendored Cranelift to 279534e27611ee4a13e4590a0a10ffc0fdb95a33. r=jseward
This pulls in an upgrade to regalloc.rs v0.0.29, which brings several
performance improvements.

Differential Revision: https://phabricator.services.mozilla.com/D87096
2020-08-14 18:36:25 +00:00
undef1nd bb5ccdc8ff Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-12 07:07:33 +00:00
undef1nd 3ef52dac42 Bug 1631722 - Vendor sfv crate,r=valentin
***
Vendor

Differential Revision: https://phabricator.services.mozilla.com/D83502
2020-08-12 07:07:00 +00:00
Brindusan Cristian d0499be492 Backed out 2 changesets (bug 1631722) for xpcshell failures at test_trr_cname_chain.js.
Backed out changeset 6c52fb84d5c3 (bug 1631722)
Backed out changeset 24560593473e (bug 1631722)
2020-08-12 06:18:26 +03:00
undef1nd 26766daa23 Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-11 13:27:49 +00:00
undef1nd 44fbc67933 Bug 1631722 - Vendor sfv crate,r=valentin
***
Vendor

Differential Revision: https://phabricator.services.mozilla.com/D83502
2020-08-11 13:27:16 +00:00
Chris Fallin 32d18173b8 Bug 1657895: fix fuzzbug by vendoring Cranelift to rev e88d74903102266a18e97489557760b9be67f782. r=jseward
This pulls in (in addition to other miscellaneous changes) a Cranelift
PR which fixes a Wasm translation issue in which the value stack was not
properly restored to have the if-block-parameters in the else-branch
after the if-branch ended in an unreachable opcode:

https://github.com/bytecodealliance/wasmtime/pull/2120

Differential Revision: https://phabricator.services.mozilla.com/D86459
2020-08-10 20:21:48 +00:00
Tooru Fujisawa ba5257fbf6 Bug 1656749 - Update opcode for bug 1655465. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D86455
2020-08-10 15:16:27 +00:00
Luca Greco e4fa86648a Bug 1656947 - Vendor application-services to import fix on webext-storage component. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D86487
2020-08-10 00:32:24 +00:00
Bogdan Tara 9b65c93d6a Backed out 2 changesets (bug 1631722) for windows bpgo failures CLOSED TREE
Backed out changeset 580b7fe5c831 (bug 1631722)
Backed out changeset e635eff6171b (bug 1631722)
2020-08-07 16:37:42 +03:00
undef1nd a0eda6935a Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-06 18:50:11 +00:00
undef1nd 015552edde Bug 1631722 - Vendor sfv crate,r=valentin
***
Vendor

Differential Revision: https://phabricator.services.mozilla.com/D83502
2020-08-06 15:33:14 +00:00
shravanrn@gmail.com 12c83a7c60 Bug 1649631 - Fix wasi issues in clang-11 builds r=froydnj,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D85741
2020-08-06 19:22:24 +00:00
Chris H-C 05c469791b Bug 1654538 - Rename FOG crates to be more specific r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D85326
2020-08-06 19:18:35 +00:00
Cosmin Sabou 69bebdd7c9 Backed out changeset be1f60faeeda (bug 1654538) for causing glean related build bustages. CLOSED TREE 2020-08-06 19:28:10 +03:00
Andy Grover dce9a42b82 Bug 1657466 - Update to Neqo 0.4.9 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D86087
2020-08-06 04:54:05 +00:00
Cosmin Sabou 200c98a9ca Backed out 2 changesets (bug 1631722) for causing build bustages. CLOSED TREE
Backed out changeset b0b1c0fa93f9 (bug 1631722)
Backed out changeset ed318dc1f3ae (bug 1631722)
2020-08-06 18:29:19 +03:00
Chris H-C dcca80d8fc Bug 1654538 - Rename FOG crates to be more specific r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D85326
2020-08-06 07:31:56 +00:00
undef1nd f914e7976e Bug 1631722 - Add wrapper for structured-headers crate,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D81127
2020-08-06 12:53:26 +00:00
undef1nd c79925c0b3 Bug 1631722 - Vendor sfv crate,r=valentin
***
Vendor

Differential Revision: https://phabricator.services.mozilla.com/D83502
2020-08-04 17:22:45 +00:00
Chris Fallin 534b2e3e86 Bug 1657062: vendor Cranelift to rev fc88898e9ad7766feadfa0954c4594fcccd86b92 to fix fuzzbug. r=jseward
This patch vendors in the latest version of Cranelift, including the
following PR, which fixes this fuzzbug:

https://github.com/bytecodealliance/wasmtime/pull/2097

Differential Revision: https://phabricator.services.mozilla.com/D86044
2020-08-05 17:40:30 +00:00
Dorel Luca c594ecfbe7 Backed out 4 changesets (bug 1656236) for Webrender build bustage in reftests/filters/filter-drop-shadow-clip-3.yaml. CLOSED TREE
Backed out changeset c24f6a05294b (bug 1656236)
Backed out changeset a5d6a6f2f3ac (bug 1656236)
Backed out changeset bf4a2fe9f9c0 (bug 1656236)
Backed out changeset c5189b274b91 (bug 1656236)
2020-08-05 18:39:35 +03:00
Nicolas Silva 186ad0d7c3 Bug 1656236 - Vendor euclid update in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85763
2020-08-05 09:15:22 +00:00
Nicolas Silva 22f326b43d Bug 1656236 - Update euclid in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85762
2020-08-05 09:15:24 +00:00
Nicolas Silva 61179d460f Bug 1656236 - Vendor euclid update. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D85545
2020-08-05 09:15:29 +00:00
Tooru Fujisawa 7318dfbcf9 Bug 1657314 - Update opcode for bug 1656351. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D85994
2020-08-05 13:55:33 +00:00
Cristina Coroiu 2930787297 Backed out 4 changesets (bug 1656236) for build bustages on a CLOSED TREE
Backed out changeset bd79e14bc5ba (bug 1656236)
Backed out changeset dc76da883823 (bug 1656236)
Backed out changeset c4883923e091 (bug 1656236)
Backed out changeset 9464c1dcb0c9 (bug 1656236)
2020-08-05 12:10:43 +03:00
Nicolas Silva ec72c8ed36 Bug 1656236 - Vendor euclid update in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85763
2020-08-05 08:38:43 +00:00
Nicolas Silva 4db3a418e0 Bug 1656236 - Update euclid in stylo. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D85762
2020-08-05 08:37:38 +00:00
Nicolas Silva 1688d4ce45 Bug 1656236 - Vendor euclid update. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D85545
2020-08-05 08:37:10 +00:00
Matt Woodrow a4e9f1908e Bug 1656813 - Make swgl a dependency of gkrust so that we have correct dependencies for sccache. r=glandium
See https://github.com/rust-lang/rust/issues/58393

Differential Revision: https://phabricator.services.mozilla.com/D85713
2020-08-05 02:18:11 +00:00
Cosmin Sabou 38cd82e194 Backed out 8 changesets (bug 1656813) for reftest failures on bipbop_300_215kbps.mp4.lastframe.html.
Backed out changeset 92e0209dc7f1 (bug 1656813)
Backed out changeset 1b3842f2ca27 (bug 1656813)
Backed out changeset efed1b35fe47 (bug 1656813)
Backed out changeset d1c313ebe358 (bug 1656813)
Backed out changeset 4d6a3bf61345 (bug 1656813)
Backed out changeset 060254b3ad73 (bug 1656813)
Backed out changeset 37e5e5e6593a (bug 1656813)
Backed out changeset 12c0e9554a5f (bug 1656813)
2020-08-05 04:52:20 +03:00
Matt Woodrow e23caa3eba Bug 1656813 - Make swgl a dependency of gkrust so that we have correct dependencies for sccache. r=glandium
See https://github.com/rust-lang/rust/issues/58393

Differential Revision: https://phabricator.services.mozilla.com/D85713
2020-08-05 00:53:13 +00:00
Julian Seward ac0184c255 Bug 1657131 - Bump cranelift version to 25e31739a63b7a33a4a34c961b88606c76670e46. r=cfallin.
Differential Revision: https://phabricator.services.mozilla.com/D85886
2020-08-04 18:53:20 +00:00
Chris Fallin d70b8edad9 Bug 1655848: vendor in new Cranelift to fix fuzzbug. r=jseward
This patch vendors in the latest version of Cranelift, rev
026fb8d388964c7c1bace7019c4fe0d63c584560. This includes a fix for bug
1655848 (from GitHub PR #2081), as well as several other miscellaneous
changes.

Differential Revision: https://phabricator.services.mozilla.com/D85773
2020-08-03 16:53:46 +00:00
Jon Bauman 8cf9cec211 Bug 1656616 - Update mp4parse-rust to 63325444 r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D85646
2020-08-01 05:39:00 +00:00
Jim Blandy 4dfc74a41f Bug 1656395: Update to tracy-rs 0.1.2. r=gw
This version of `tracy-rs` adds the `text:` option to the `profile_scope!`
macro.

Differential Revision: https://phabricator.services.mozilla.com/D85509
2020-07-31 01:11:49 +00:00
Benjamin Bouvier 2269596e45 Bug 1654813 - Bump Cranelift to dd098656111396afa58e90084a705744e836bf10; r=cfallin
This is waiting on https://github.com/bytecodealliance/wasmtime/pull/2068 to be
landed first.

Differential Revision: https://phabricator.services.mozilla.com/D84711
2020-07-31 17:57:34 +00:00
Dorel Luca 88828e1dc0 Backed out 2 changesets (bug 1654192) for Talos failures in \xulstore\data.safe.bin. CLOSED TREE
Backed out changeset bad6faf26935 (bug 1654192)
Backed out changeset 6657944c0b63 (bug 1654192)
2020-07-31 19:39:01 +03:00
Victor Porof 0044c9f575 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-07-31 10:40:13 +00:00
Chris H-C e11259f3ac Bug 1635253 - Update glean-core to 31.4.0 r=janerik
The Glean SDK was recently updated to centralize debug tagging support.
We're gonna need that.

Differential Revision: https://phabricator.services.mozilla.com/D83978
2020-07-30 16:35:20 +00:00
Nathan Froyd 7aec6c65c1 Bug 1655929 - run `cargo update -p getrandom` + `mach vendor rust` to bump `getrandom` version; r=firefox-build-system-reviewers,rstewart
We can do this update now that `lucet-runtime-internals` no longer pins the
`getrandom` crate version; the conflicts around spinlocks have been removed
and the new version of `getrandom` brings in an important fix for calling
`SYS_getrandom` on some architectures.

Depends on D85409

Differential Revision: https://phabricator.services.mozilla.com/D85410
2020-07-30 15:54:02 +00:00
Nathan Froyd 623f837bed Bug 1655929 - run `cargo update` and `mach vendor rust` for rlbox + lucet updates; r=firefox-build-system-reviewers,rstewart
As the commit title suggests, this is a manual update, but we need to also
update `config/rules.mk` for the changed location of the wasi bindings.

Depends on D85408

Differential Revision: https://phabricator.services.mozilla.com/D85409
2020-07-30 15:54:20 +00:00
Jamie Nicol e3085373f9 Bug 1656210 - Update glslopt version to fix FreeBSD/Dragonfly build. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D85394
2020-07-30 15:23:03 +00:00
Tooru Fujisawa 188db27510 Bug 1648574 - Support lazy function. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D85363
2020-07-30 11:01:52 +00:00
Noemi Erli d3b2528ea8 Backed out 2 changesets (bug 1654192) for causing failures in browser_startup_mainthreadio.js CLOSED TREE
Backed out changeset 885b9b821bc0 (bug 1654192)
Backed out changeset f1ee7be3a135 (bug 1654192)
2020-07-30 01:54:13 +03:00
Victor Porof 553fe76ba0 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-07-29 18:38:58 +00:00
Victor Porof 477c1858e0 Bug 1597898 - Part 2: Vendor newly added rust dependencies, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D54281
2020-07-29 17:40:41 +00:00
Tooru Fujisawa 46f4638f20 Bug 1655961 - Update opcode for bug 1653567. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D85289
2020-07-29 17:05:25 +00:00
Jamie Nicol 6423c052ae Bug 1637148 - Update glslopt to fix intermittent build error. r=lsalzman
Update webrender's dependency on glslopt to 0.1.4. This includes an updated version of Mesa, which
has fixed a race condition that was causing intermittent build failures.

Differential Revision: https://phabricator.services.mozilla.com/D85254
2020-07-29 15:12:38 +00:00
Dzmitry Malyshau 544f262737 Bug 1653161 - Implement Queue.writeBuffer and writeTexture in WebGPU r=jgilbert,webidl,smaug
Updates wgpu to bd50867bb8c66ac9dec50046d066c02b8f7a3fc1

Differential Revision: https://phabricator.services.mozilla.com/D83734
2020-07-28 22:26:21 +00:00
Paul Adenot 16a7ea803c Bug 1655699 - mach vendor rust. r=cubeb-reviewers,achronop
Depends on D85143

Differential Revision: https://phabricator.services.mozilla.com/D85144
2020-07-28 12:42:45 +00:00
Nicolas Silva 643ec22ebc Bug 1648405 - Vendor crossbeam dependency. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D81041
2020-07-28 09:45:33 +00:00
Tooru Fujisawa 5525d4b88f Bug 1655472 - Set top level script extent. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D84995
2020-07-28 04:17:19 +00:00
Henrik Skupin 9df4f6dacc Bug 1584911 - [geckodriver] Release version 0.27.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D82659
2020-07-27 12:56:14 +00:00
Henrik Skupin 607ff41a86 Bug 1584911 - [webdriver] Release version 0.41.0. r=webdriver-reviewers,jgraham
Depends on D81905

Differential Revision: https://phabricator.services.mozilla.com/D81906
2020-07-02 08:24:30 +00:00
Henrik Skupin 81f12e6b15 Bug 1584911 - [rust-mozversion] Release version 0.3.0. r=webdriver-reviewers,jgraham
Depends on D81904

Differential Revision: https://phabricator.services.mozilla.com/D81905
2020-07-02 08:24:17 +00:00
Henrik Skupin 74d8e824fe Bug 1584911 - [rust-mozrunner] Release version 0.11.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81904
2020-07-02 15:56:58 +00:00
Henrik Skupin 569832c767 Bug 1584911 - [rust-mozprofile] Release version 0.7.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81903
2020-07-02 12:09:52 +00:00
Henrik Skupin 9f17643aed Bug 1584911 - [rust-mozdevice] Release version 0.2.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D81902
2020-07-02 08:19:12 +00:00
Jeff Muizelaar 78402acff4 Bug 1655298 - Pass in MallocSizeOfOps to reporter. r=gw
Just passing this along with the report is easier than
trying to store these functions some place as we do in other places.

These ops aren't used yet but will be in subsequent patches.

There's a bit of ugly around the bindings because of a cbindgen
limitation.

Differential Revision: https://phabricator.services.mozilla.com/D84916
2020-07-27 02:55:47 +00:00
Jeff Muizelaar b083673982 Bug 1654699. Update core-foundation/core-graphics. r=kvark,keeler,jcj,chunmin
This includes updates to authenticator, cubeb-coreaudio,
metal, gfx-backend-vulkan, gfx-backend-metal, freetype

libloading is duplicated because of ash

Differential Revision: https://phabricator.services.mozilla.com/D84688
2020-07-24 22:35:25 +00:00
Csoregi Natalia ea1ddfabbf Backed out changeset 9702b4a4f53c (bug 1654699) for Gtest failures. CLOSED TREE 2020-07-24 21:29:52 +03:00
Jeff Muizelaar b17ab0c2e7 Bug 1654699. Update core-foundation/core-graphics. r=kvark,keeler,jcj,chunmin
This includes updates to authenticator, cubeb-coreaudio,
metal, gfx-backend-vulkan, gfx-backend-metal, freetype

libloading is duplicated because of ash

Differential Revision: https://phabricator.services.mozilla.com/D84688
2020-07-24 15:59:54 +00:00
Andreea Pavel 5995f3a608 Backed out 3 changesets (bug 1597898) for breaking raptor tests on win on a CLOSED TREE
Backed out changeset 5159ffa5705c (bug 1597898)
Backed out changeset 3cfb899ae94c (bug 1597898)
Backed out changeset ac992b048e32 (bug 1597898)
2020-07-24 18:54:28 +03:00
Victor Porof 9dd8820847 Bug 1597898 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D54279
2020-07-24 13:51:20 +00:00
Mihai Alexandru Michis c3d9e17fa4 Backed out changeset 45fc4a780b2b (bug 1654699) for causing failures regarding AudioStream position.
CLOSED TREE
2020-07-23 23:13:52 +03:00
Jeff Muizelaar 4b666af85b Bug 1654699. Update core-foundation/core-graphics. r=kvark,keeler,chunmin
This includes updates to authenticator, cubeb-coreaudio,
metal, gfx-backend-vulkan, gfx-backend-metal, freetype

libloading is duplicated because of ash

Differential Revision: https://phabricator.services.mozilla.com/D84688
2020-07-23 17:01:14 +00:00
Tooru Fujisawa fba1f29935 Bug 1654312 - Support NullScriptThing. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D84388
2020-07-22 12:08:59 +00:00
Csoregi Natalia aec7461c96 Backed out 4 changesets (bug 1635494) for failures on test_process_kill.js. CLOSED TREE
Backed out changeset 67a16c6149f7 (bug 1635494)
Backed out changeset 862a5dcbe7a5 (bug 1635494)
Backed out changeset 36e670cd1653 (bug 1635494)
Backed out changeset 19c4d55874d9 (bug 1635494)
2020-07-22 14:07:01 +03:00
David Teller ff538cf8e8 Bug 1635494 - nsIProcessToolsService;r=lina
A small xpcom module implemented in Rust, designed to provide low-level tools to deal with processes
from JS. For the moment, the only notable feature is `kill()`, designed to be used from about:processes

Differential Revision: https://phabricator.services.mozilla.com/D82552
2020-07-22 10:05:10 +00:00
Nick Alexander 89e6512181 Bug 1636539 - Part 2: Add defaultagent-static Rust crate fetching remote disabled flag. r=bytesized
This lays out a Rust crate and statically links it into
`windows-default-agent.exe`.  It declares a single-method API (which
will be invoked in the next commit).

Strings cross the C/C++ <-> Rust FFI boundary as null-terminated
UTF-8.  (This will matter more if and when we use ETag and
If-None-Match to get 304 results.)

Errors are reported as Windows result codes, with the "customer" bit
set to encode certain classes of failure.

The bulk of the work is in implementing a
[Viaduct](https://github.com/mozilla/application-services/tree/master/components/viaduct)
backend built on top of `wininet.dll`.  The motivation is that if and
when this Remote Settings Rust client grows features (say,
Content-Signature: verification), then by using Viaduct there is a
smooth path to consume the client inside Firefox itself, because
Viaduct already has a backend on top of Necko.  That makes this
abstraction relatively low friction: it exists, is in-tree already,
and has a path to use in Gecko proper.

It is expected that the layer above this will handle "gracefully
failing", either open or closed; and will mirror Remote Settings
configuration to the registry so that testers can use prod/stage/dev
easily.

For follow-up:

- Configure logging to use the Windows event logger.  See [Bug
  1648617](https://bugzilla.mozilla.org/show_bug.cgi?id=1648617).

- Consider propagating errors into the Telemetry we send.

Differential Revision: https://phabricator.services.mozilla.com/D78579
2020-07-21 22:17:26 +00:00
Chris Fallin 1438721c3a Bug 1653502: Update vendored Cranelift to fix fuzzbug. r=bbouvier
This patch pulls in revision 1b3b2dbfd00492161032760992a8699d19b640ca of
Cranelift. This includes PR bytecodealliance/wasmtime#2042, which fixes
bug 1653502 by properly masking the shift amount in a shift incorporated
into an aarch64 arithmetic instruction.

This patch also includes various other miscellaneous Cranelift
improvements that have been merged since the last version-bump,
including some aarch64 codegen improvements.

Differential Revision: https://phabricator.services.mozilla.com/D84101
2020-07-20 10:04:31 +00:00
Paul Adenot 7c33b574ef Bug 1561207 - mach vendor rust. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D82719
2020-07-17 09:53:22 +00:00
Chris Fallin c07df47355 Bug 1633721, part 1 of 2: Bump Cranelift to revision 5e0268a542f612fee36d0256ed1f6a0e18dc02b3. r=bbouvier
This patch updates the vendored version of Cranelift, pulling in the
reference-types support recently merged in Cranelift's PR
bytecodealliance/wasmtime#1852. Usage of this update to support reftypes
in SpiderMonkey on aarch64 is added in the subsequent commit.

Differential Revision: https://phabricator.services.mozilla.com/D83582
2020-07-16 19:15:05 +00:00
Nicolas Silva 35d380ffc3 Bug 1650990 - Use Euclid 0.20.14. r=kvark
It contains a fix for some of the rect operations interacting poorly with NaNs.

Differential Revision: https://phabricator.services.mozilla.com/D83774
2020-07-16 13:24:19 +00:00
Tooru Fujisawa 916bf4d67b Bug 1652216 - Update jsparagus to fix private field handling. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D83643
2020-07-16 00:13:18 +00:00
Dragana Damjanovic f6bbab0c30 Bug 1652573 - Update to neqo version 0.4.8 r=agrover,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83397
2020-07-15 19:49:36 +00:00
Jamie Nicol c18dcab954 Bug 1609191 - Ensure shader sources are always unique to workaround adreno crash. r=gw
On some Adreno 505 and 506 devices we are encountering driver crashes during
glLinkProgram(). The only circumstance in which we have been able to reproduce
locally is when the show-overdraw debug option is enabled. The reason appears to
be that, due to shader optimisation, the debug overdraw variants of many shaders
have identical source code. The crash seems to occur when linking a shader which
has identical source code to a previously linked shader.

This does not, however, explain the non-insignificant numbers of crashes in the
wild because a) it's unlikely many users are enabling overdraw debugging, and b)
some crash reports predate the commit which enabled shader
optimisation. However, it is possible that for a different reason we are
compiling multiple shaders with identical source code.

To attempt to work around this crash this change adds a random comment to the
end of each shader source string, on the affected devices.

Differential Revision: https://phabricator.services.mozilla.com/D83571
2020-07-15 15:39:47 +00:00
Coroiu Cristina a96ed5ec72 Backed changeset bbe5ed51273b (Bug 1609191) for webrender failures. CLOSED TREE 2020-07-15 17:55:12 +03:00
Jamie Nicol 3141d488db Bug 1609191 - Ensure shader sources are always unique to workaround adreno crash. r=gw
On some Adreno 505 and 506 devices we are encountering driver crashes during
glLinkProgram(). The only circumstance in which we have been able to reproduce
locally is when the show-overdraw debug option is enabled. The reason appears to
be that, due to shader optimisation, the debug overdraw variants of many shaders
have identical source code. The crash seems to occur when linking a shader which
has identical source code to a previously linked shader.

This does not, however, explain the non-insignificant numbers of crashes in the
wild because a) it's unlikely many users are enabling overdraw debugging, and b)
some crash reports predate the commit which enabled shader
optimisation. However, it is possible that for a different reason we are
compiling multiple shaders with identical source code.

To attempt to work around this crash this change adds a random comment to the
end of each shader source string, on the affected devices.

Differential Revision: https://phabricator.services.mozilla.com/D83571
2020-07-15 14:29:35 +00:00
Jeff Muizelaar d2f53ff680 Bug 1651889. Update to gleam 0.12.1. r=kvark
This should fix a crash caused by an unexpected pixel type.

Differential Revision: https://phabricator.services.mozilla.com/D83167
2020-07-11 02:21:13 +00:00
Cosmin Sabou 8cf86d8b74 Backed out changeset 1a8c020ebbda (bug 1651889) for gleam related bustages. 2020-07-11 00:50:06 +03:00
Jeff Muizelaar 9f9ac49bd8 Bug 1651889. Update to gleam 0.12.1. r=kvark
This should fix a crash caused by an unexpected pixel type.

Differential Revision: https://phabricator.services.mozilla.com/D83167
2020-07-10 20:52:49 +00:00
Narcis Beleuzu 573b28be3c Backed out 2 changesets (bug 1561207) for bustages on lib.rs. CLOSED TREE
Backed out changeset c0d2201bd2fa (bug 1561207)
Backed out changeset 7931e2be169c (bug 1561207)
2020-07-10 15:56:59 +03:00
Paul Adenot 757e54125e Bug 1561207 - mach vendor rust. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D82719
2020-07-10 12:24:34 +00:00
Dragana Damjanovic 7ab560a9be Bug 1651489 - Update neqo. r=agrover
Bug 1651489 - Update neqo_glue to support new neqo API(neqo version 0.4.6).

Differential Revision: https://phabricator.services.mozilla.com/D82932
2020-07-10 04:35:17 +00:00
Tooru Fujisawa be67ca2eb8 Bug 1651545 - Update jsparagus for bug 1642476. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D82874
2020-07-09 09:41:04 +00:00
Tooru Fujisawa 2e3d4f1ff0 Bug 1649900 - Update jsparagus. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D82095
2020-07-03 10:03:19 +00:00
Chris Fallin 35cf81d389 Bug 1648885 and Bug 1649432: vendor latest Cranelift to get Spectre mitigations and fix fuzzbug. r=bbouvier
This patch pulls in Cranelift revision
47a218f908e6bdeb7a0fb65ed74e58a0b608080d, which incorporates several
relevant changes:

- It includes the Spectre mitigation for explicit heap bounds checks
  merged in PR bytecodealliance/wasmtime#1930, resolving Bug 1648885.

- It includes the fix for an out-of-bounds subtraction on large shift
  amounts merged in PR bytecodealliance/wasmtime#1954, resolving Bug
  1649432.

We need to temporarily disable the `wasm/limits.js` jit-test on
Cranelift configurations because it now needs shared memory to work, and
the Cranelift backend does not support this yet. Given that this should
be ready in the next month at most (requires atomics support on AArch64,
which is currently being examined), it seems simpler to temporarily
disable the test on aarch64 than to try to disentangle the bits that
depend on shared memories explicitly.

This patch also edits the `regexp/bug1445907.js` jit-test to run only if
Wasm debugging is supported. This is needed for the test not to fail
with `--wasm-compiler=cranelift` (which disables Baseline, the only Wasm
compiler that supports debugging).

Differential Revision: https://phabricator.services.mozilla.com/D81936
2020-07-02 15:47:56 +00:00
Andy Grover 05abb6839b Bug 1649512 - Update to Neqo 0.4.5 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81763
2020-07-01 08:11:35 +00:00
J.C. Jones b3dd4acf6b Bug 1649227 - Upgrade authenticator-rs to v0.2.13 r=kjacobs
https://crates.io/crates/authenticator/0.2.13
- Support for Linux on MIPS
- Fix a race condition in the main state machine causing repeated signature requests

Differential Revision: https://phabricator.services.mozilla.com/D81604
2020-06-29 21:26:19 +00:00
lougeniac64 499048fe86 (Bug 1635487) Wired up sync logging for extension pref storage r=lina,markh
Differential Revision: https://phabricator.services.mozilla.com/D80975
2020-06-27 19:15:17 +00:00
Csoregi Natalia 5bb8a015e6 Backed out changeset 8cd7fabbe270 (bug 1635487) for multiple leaks. CLOSED TREE 2020-06-27 10:43:15 +03:00
lougeniac64 bce2c33963 (Bug 1635487) Wired up sync logging for extension pref storage r=lina,markh
Differential Revision: https://phabricator.services.mozilla.com/D80975
2020-06-27 06:26:22 +00:00
Nick Alexander 8b37b1e5eb Bug 1648617 - Extract `wineventlog` crate from updateagent for more general use. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D81232
2020-06-27 00:55:59 +00:00
Razvan Maries eb909a6e55 Backed out changeset fec02fef5e73 (bug 1635487) for Android bustages. CLOSED TREE 2020-06-27 03:05:27 +03:00
lougeniac64 893cb93c43 (Bug 1635487) Wired up sync logging for extension pref storage r=lina,markh
Differential Revision: https://phabricator.services.mozilla.com/D80975
2020-06-26 21:19:17 +00:00
Emilio Cobos Álvarez 5dc443249c Bug 1648334 - Use less unsafe in gecko_logger. r=froydnj,valentin
We were storing LogModule::mName as an &'static str in the map... That's
not fine.

The Arc shenanigans were also more complicated than they need to be IMO.

This uses a plain atomic bool to keep the fast path snappy.

Differential Revision: https://phabricator.services.mozilla.com/D81007
2020-06-25 15:23:16 +00:00
Chris H-C 5a90b156f6 Bug 1635255 - Implement the Rust <-> C++ ffi for FOG IPC r=janerik
Bringing it all together.

Differential Revision: https://phabricator.services.mozilla.com/D79747
2020-06-24 16:16:29 +00:00
Chris H-C 6f5695446e Bug 1635255 - Build glean crate conditionally on Gecko symbols r=janerik
Introduces a gkrust Cargo feature `glean_with_gecko` and `with_gecko` on fog
and glean. This feature signifies the presence of gecko symbols in the build.

Use this feature to implement needs_ipc() which asks Gecko which process type
we're running as.

Differential Revision: https://phabricator.services.mozilla.com/D79744
2020-06-24 16:16:17 +00:00
Mihai Alexandru Michis fe89d1f20e Backed out 11 changesets (bug 1635255) for causing bustages in FOGIPC.cpp
CLOSED TREE

Backed out changeset d3e93edb1c76 (bug 1635255)
Backed out changeset 27df18486bff (bug 1635255)
Backed out changeset 4675772344eb (bug 1635255)
Backed out changeset 4d0c4beb910e (bug 1635255)
Backed out changeset 9b79c8208144 (bug 1635255)
Backed out changeset cb54f7a3177d (bug 1635255)
Backed out changeset d0591dc8d5a1 (bug 1635255)
Backed out changeset 5fc5e1070d4d (bug 1635255)
Backed out changeset bfcfda9cb19d (bug 1635255)
Backed out changeset 49447f10ad6e (bug 1635255)
Backed out changeset 0862a33399cf (bug 1635255)
2020-06-24 17:21:10 +03:00
Chris H-C 220a31aa49 Bug 1635255 - Implement the Rust <-> C++ ffi for FOG IPC r=janerik
Bringing it all together.

Differential Revision: https://phabricator.services.mozilla.com/D79747
2020-06-23 20:44:01 +00:00
Chris H-C 2f90804e01 Bug 1635255 - Build glean crate conditionally on Gecko symbols r=janerik
Introduces a gkrust Cargo feature `glean_with_gecko` and `with_gecko` on fog
and glean. This feature signifies the presence of gecko symbols in the build.

Use this feature to implement needs_ipc() which asks Gecko which process type
we're running as.

Differential Revision: https://phabricator.services.mozilla.com/D79744
2020-06-23 20:43:41 +00:00
Andy Grover 70c8aeee0b Bug 1647769 - Update to Neqo 0.4.4 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80687
2020-06-23 18:51:19 +00:00
Dzmitry Malyshau 74b412c826 Bug 1641370 - Add optional SPIR-V shader validation to WebGPU, via naga r=jgilbert
This change attempts to parse the incoming SPIR-V shader modules with
Naga SPIR-V front-end. It's not complete, but it returns an Error if it's unable to parse,
in which case we just continue without the validation (for now).
If it succeeds, we extract the reflection information from it, and use it for the pipeline.

This is just a start. More states would need to be validated, and SPIR-V front-end needs more work.

Differential Revision: https://phabricator.services.mozilla.com/D77170
2020-06-22 21:21:18 +00:00
Ryan Hunt 54aee7836c Bug 1645160 - Update wat to 1.0.20. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D80190
2020-06-22 04:30:09 +00:00
Jeff Muizelaar 6613f1b6b7 Bug 1646741 - Update gleam to 0.12. r=kvark
For stride calculation and SSBOs

Differential Revision: https://phabricator.services.mozilla.com/D80191
2020-06-18 18:11:13 +00:00
Coroiu Cristina 96536abc93 Backed out changeset 9367aa4b97e2 (bug 1646741) for wrench failures on a CLOSED TREE 2020-06-18 21:03:36 +03:00
Jeff Muizelaar c326a65a01 Bug 1646741 - Update gleam to 0.12. r=kvark
For stride calculation and SSBOs

Differential Revision: https://phabricator.services.mozilla.com/D80191
2020-06-18 15:02:08 +00:00
Simon Sapin 7c14e4e23e Bug 1633410 - Back out bug 1631721.
Rebased and squashed.

Differential Revision: https://phabricator.services.mozilla.com/D78174
2020-06-18 15:25:33 +00:00
Matthew Gregan 561f0ff278 Bug 1646576 - Vendor Rust. r=chunmin
Depends on D80123

Differential Revision: https://phabricator.services.mozilla.com/D80125
2020-06-18 03:59:11 +00:00
Andy Grover caf191f33d Bug 1646106 - Update to Neqo 0.4.3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79893
2020-06-17 07:09:52 +00:00
Ted Campbell 4b5638af5a Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:57:07 +00:00
Csoregi Natalia e722c196bc Backed out 5 changesets (bug 1642708) for build bustages. CLOSED TREE
Backed out changeset d307b00c7e1b (bug 1642708)
Backed out changeset d210a60ad435 (bug 1642708)
Backed out changeset bcc2728b5ca5 (bug 1642708)
Backed out changeset 1c245d4e8244 (bug 1642708)
Backed out changeset ad613fa94a83 (bug 1642708)
2020-06-17 16:51:16 +03:00
Ted Campbell b08256508e Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:22:41 +00:00
Tooru Fujisawa 5fb5aaefae Bug 1644698 - Part 1: Update ScriptStencil structs. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D79442
2020-06-15 15:47:21 +00:00
Rob Wu 206ca19c33 Bug 1645598 - Vendor application-services for fix in webext-storage r=lina
To get this fix: https://github.com/mozilla/application-services/pull/3235

Updated as follows:

```
sed -i 's/e8d7530319fa6c20d9de78d031c9398630eca3cd/61dcc364ac0d6d0816ab88a494bbf20d824b009b/g' services/fxaccounts/rust-bridge/firefox-accounts-bridge/Cargo.toml services/sync/golden_gate/Cargo.toml toolkit/components/extensions/storage/webext_storage_bridge/Cargo.toml toolkit/components/glean/Cargo.toml toolkit/library/rust/shared/Cargo.toml
./mach vendor rust
```

Verified by running the new regression test that I added in the bug:

```
./mach test toolkit/components/extensions/test/xpcshell/test_ext_storage_{local,sync,sync_kinto}.js
```

Differential Revision: https://phabricator.services.mozilla.com/D79628
2020-06-15 12:56:58 +00:00
Benjamin Bouvier 23b40c5736 Bug 1645336: Bump Cranelift to 238ae3bf2111847f60089656eb97fc9345295b1f; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D79659
2020-06-15 10:16:20 +00:00
Chris Fallin 771d76eb57 Bug 1641504: Bump Cranelift to 4d5fdfcbba1a8f38002a4223d7a329fc795d0e9f. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D78587
2020-06-11 23:34:39 +00:00
Razvan Maries d641e64a5e Backed out 3 changesets (bug 1641504) for valgrind bustages. CLOSED TREE
Backed out changeset 95646dbd26a1 (bug 1641504)
Backed out changeset bf1919e75e65 (bug 1641504)
Backed out changeset dedeac296eaa (bug 1641504)
2020-06-11 23:56:02 +03:00
Chris Fallin 6944be383a Bug 1641504: Bump Cranelift to e3d89c8a92a5fadedd75359b8485d23ac45ecf29. r=bbouvier
Differential Revision: https://phabricator.services.mozilla.com/D78587
2020-06-09 22:37:06 +00:00
Thom Chiovoloni b3cbb2b28e Bug 1629127 - Add sync telemetry for storage.sync migration r=lina,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78573
2020-06-10 22:29:02 +00:00
Andy Grover 2475b7008d Bug 1644532 - Update to Neqo 0.4.1 r=dragana,necko-reviewers
Default to using draft 27.

Differential Revision: https://phabricator.services.mozilla.com/D78960
2020-06-09 19:39:47 +00:00
Paul Adenot ddca94efc1 Bug 1644362 - mach vendor rust. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D78871
2020-06-09 13:17:38 +00:00
Razvan Maries 0ce303cbe3 Backed out changeset b6b48c37ab0c (bug 1644362) for SM Bustages. CLOSED TREE 2020-06-09 13:49:45 +03:00
Paul Adenot 1185075aa8 Bug 1644362 - Update cubeb-coreaudio-rs to 4cdbceadae8. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D78871
2020-06-09 10:24:41 +00:00
Tooru Fujisawa 447cb4a153 Bug 1644117 - Update jsparagus to use JSOp::ToPropertyKey. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D78685
2020-06-08 14:43:49 +00:00
Corentin Arnould a1659c9e19 Bug 1644080 - mach vendor rust. r=cubeb-reviewers,padenot
Depends on D78664

Differential Revision: https://phabricator.services.mozilla.com/D78665
2020-06-08 13:14:26 +00:00
Lars T Hansen 0cda75506a Bug 1642589 - Pull in new wat crate. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D78226
2020-06-08 08:01:13 +00:00
Tooru Fujisawa 2c4cbe5c6f Bug 1643632 - Use BaseScopeData. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D78475
2020-06-05 10:34:56 +00:00
Tooru Fujisawa 654c97a626 Bug 1643044 - Use bumpalo 3.4.0. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D78079
2020-06-05 11:04:23 +00:00
Dorel Luca fc6456ef88 Backed out changeset bde27b38c9c5 (bug 1643201) for causing Valgrind failures and build bustages 2020-06-04 05:17:11 +03:00
Emilio Cobos Álvarez 25666b5157 Bug 1643201 - Cherry-pick servo changes to use the matches macro from the standard library.
Depends on D78201

Differential Revision: https://phabricator.services.mozilla.com/D78202
2020-06-04 00:35:22 +00:00
Chris H-C 5975040ba3 Bug 1623304 - Add viaduct (and deps) to fog crate r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76749
2020-06-02 17:51:43 +00:00
Chris H-C 4cbf614d9e Bug 1623304 - Ensure Viaduct is initialized for FOG r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76747
2020-06-02 17:51:39 +00:00
Andy Grover 95b90fb23e Bug 1633006 - Update to Neqo 0.4.0 r=dragana,necko-reviewers
Document qlog uses 2 clause bsd license.

Adapt to API changes in glue and http3server

Differential Revision: https://phabricator.services.mozilla.com/D77903
2020-06-02 21:28:31 +00:00
Brindusan Cristian d6f1fb7bff Backed out 4 changesets (bug 1623304) for android build bustages. CLOSED TREE
Backed out changeset 28e076bc443b (bug 1623304)
Backed out changeset e7470ab5ae58 (bug 1623304)
Backed out changeset 932d51ae751e (bug 1623304)
Backed out changeset 1845fca9e3ec (bug 1623304)
2020-06-02 20:05:13 +03:00
Chris H-C bc9ef460c6 Bug 1623304 - Add viaduct (and deps) to fog crate r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76749
2020-06-01 18:17:32 +00:00
Chris H-C 323df76e55 Bug 1623304 - Ensure Viaduct is initialized for FOG r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D76747
2020-06-01 18:17:23 +00:00
Dana Keeler 6461b8a32b Bug 1638920 - use a background task queue in cert_storage rather than a dedicated thread r=lina
Differential Revision: https://phabricator.services.mozilla.com/D77370
2020-06-01 16:26:55 +00:00
Mark Hammond 6abadd577b Bug 1639449 - Vendor new application-services to expose kinto migration and sync change notifications. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76092
2020-05-30 02:44:07 +00:00
Jan-Erik Rediger 4d415be57c Bug 1640927 - Upgrade glean-core to v31.0.2 r=chutten
This gets us default gzip compression on ping sending.

Differential Revision: https://phabricator.services.mozilla.com/D77455
2020-05-29 13:47:18 +00:00
Tooru Fujisawa ff738e2546 Bug 1639772 - Update jsparagus and use ImmutableScriptFlags directly. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D76267
2020-05-29 13:30:51 +00:00
Bert Peers f41b9eb190 Bug 1641704 - vendor tracy-rs 0.1.1 r=gw
Differential Revision: https://phabricator.services.mozilla.com/D77401
2020-05-29 04:15:29 +00:00
Paul Adenot 2c64853b8e Bug 1638801 - mach vendor rust r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D75776
2020-05-28 09:54:57 +00:00
Valentin Gosu 383d242cb2 Bug 1636891 - Move logging specifics from toolkit/library/rust/shared/lib.rs to the gecko_logger crate r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D76669
2020-05-28 07:46:40 +00:00
Dzmitry Malyshau abaaa872a5 Bug 1634425 - Integrate WebGPU API tracing r=jgilbert
This is the logic of tracing the WebGPU API calls at the level of wgpu-core,
serialized into a folder of choosing on the user drive. Traces are extremely portable,
they can be shared (on BugZilla) and then replayed on the developer machine,
which can have a different architecture from the users machine.

The standalone player is introduced in `gfx/wgpu/player`, similar to WebRender's Wrench.

The output dir is controlled by "dom.webgpu.traceDir" pref. No tracing happens if it's empty.

Differential Revision: https://phabricator.services.mozilla.com/D73333
2020-05-27 16:49:03 +00:00
Bogdan Tara 6ed3c943f7 Backed out changeset f4ed4d3e0e9e (bug 1634425) for hazard failure on WebGPUParent.cpp CLOSED TREE 2020-05-27 01:12:40 +03:00
Dzmitry Malyshau 67c0d914f3 Bug 1634425 - Integrate WebGPU API tracing r=jgilbert
This is the logic of tracing the WebGPU API calls at the level of wgpu-core,
serialized into a folder of choosing on the user drive. Traces are extremely portable,
they can be shared (on BugZilla) and then replayed on the developer machine,
which can have a different architecture from the users machine.

The standalone player is introduced in `gfx/wgpu/player`, similar to WebRender's Wrench.

The output dir is controlled by "dom.webgpu.traceDir" pref. No tracing happens if it's empty.

Differential Revision: https://phabricator.services.mozilla.com/D73333
2020-05-26 21:15:40 +00:00
Lina Cambridge 1e4bad34ca Bug 1638927 - Replace `lazy_static` with `once_cell` in XULStore. r=froydnj
TSan returns false positives for `lazy_static`. While we could
blocklist it, `once_cell` has equivalent functionality, but with a more
modern API, so let's use it instead.

Depends on D75864

Differential Revision: https://phabricator.services.mozilla.com/D76342
2020-05-22 00:40:25 +00:00
Lina Cambridge a6395f4f1f Bug 1638918 - Convert kvstore to use a background task queue instead of a one-off thread. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D75863
2020-05-20 20:55:10 +00:00
Tooru Fujisawa fb93b18ec1 Bug 1639073 - Update jsparagus and use stencil crate. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D75881
2020-05-20 17:34:02 +00:00
Nathan Froyd 2e5f61bc12 Bug 1639302 - manually declare NCryptSignHash in osclientcerts; r=keeler
This function ought to be declared by `winapi`, but is not, for whatever
reason.  However, its definition is stable enough that we can just
declare it inline rather than invoking bindgen every single build (and
unnecessarily compiling a build script on non-windows platforms) to
discover its definition for us.

Differential Revision: https://phabricator.services.mozilla.com/D76015
2020-05-19 19:16:36 +00:00
Tooru Fujisawa 2ac5bccc9b Bug 1638470 - Update jsparagus, and update SmooshMonkey to store atoms in gcthings. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D75711
2020-05-19 17:30:32 +00:00
Emilio Cobos Álvarez cbbcb09d62 Bug 1638676 - Update Cargo.lock. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D75707
2020-05-17 17:15:35 +00:00
Dzmitry Malyshau 6c3a233284 Bug 1636068 - Update spirv-cross to 0.20.0 r=groves
This change updates spirv-cross to a new version.
Unlike the previous one, it now points to a SPIRV-Cross submodule in
https://github.com/kvark/SPIRV-Cross behind "gecko3" branch, which will guarantee the rev
to be accessible.

Differential Revision: https://phabricator.services.mozilla.com/D75648
2020-05-16 02:27:33 +00:00
Edouard Oger 0ab8afdce0 Bug 1631630 p1 - Vendor fxa-client crate. r=rfkelly,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D71851
2020-05-16 01:07:28 +00:00
Noemi Erli cac2780d42 Backed out 2 changesets (bug 1631630) for causing mass braoser chrome failures CLOSED TREE
Backed out changeset 9b8606a93c75 (bug 1631630)
Backed out changeset d57ea5d1921f (bug 1631630)
2020-05-16 02:16:33 +03:00
Edouard Oger 03f9a7d742 Bug 1631630 p1 - Vendor fxa-client crate. r=rfkelly,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D71851
2020-05-15 20:13:28 +00:00
Dzmitry Malyshau 4a18e10f04 Bug 1637998 - Fix wgpu swapchain cleanup on exit r=groves
Differential Revision: https://phabricator.services.mozilla.com/D75337
2020-05-15 14:59:18 +00:00
Chris H-C 2cba0004c0 Bug 1637647 - Update glean_core to v30.0.0 for ping upload redesign r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D75164
2020-05-14 07:47:51 +00:00
Edouard Oger 6e8ef040d3 Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D75150
2020-05-13 18:36:56 +00:00
Mike Hommey ea50a36e82 Bug 1637140 - Upgrade hashbrown to 0.7.2. r=emilio
The upgrade of mp4parse pulled some code that previously was eliminated as
dead code in libxul. That code was unfortunately unreproducible as it
was generating a random seed at compile time. This was due to hashbrown
enabling the ahash feature that does that, but that was changed in 0.7.2.

Differential Revision: https://phabricator.services.mozilla.com/D75033
2020-05-13 15:41:13 +00:00
Ryan Hunt 0a7b098471 Bug 1635534 - Update wat to 1.0.17. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D74694
2020-05-13 01:50:49 +00:00
Edouard Oger e348b78f5f Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-12 21:36:17 +00:00
Dzmitry Malyshau ea310127f1 Bug 1637092 - Change WR capture path to point to the home folder r=Bert,webdriver-reviewers,whimboo
Point the captures to the home folder at all times.

Differential Revision: https://phabricator.services.mozilla.com/D74747
2020-05-12 13:41:31 +00:00
Henri Sivonen c9cae42014 Bug 1631983 - Update chardetng to 0.1.9. r=m_kato
* Avoid misdetecting windows-1252 English as windows-1254.
* Avoid misdetecting windows-1252 English as IBM866.
* Avoid misdetecting windows-1252 English as GBK or EUC-KR.
* Improve Chinese and Japanese detection by not giving single-byte encodings score for letter next to digit.
* Improve Italian, Portuguese, Castilian, Catalan, and Galician detection by taking into account ordinal indicator use.
* Reduce lookup table size.

Differential Revision: https://phabricator.services.mozilla.com/D73237
2020-05-12 13:56:29 +00:00