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

1447 Коммитов

Автор SHA1 Сообщение Дата
Chris H-C 3aba5f52fe Bug 1673663 - Update Glean to 33.10.2 to get lock order fix r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D102030
2021-01-15 20:27:07 +00:00
Chris H-C 43244314a8 Bug 1679950 - Remove Rust dispatcher from FOG r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D101639
2021-01-15 20:33:30 +00:00
M. Sirringhaus 5299ba12e6 Bug 1620993 - Rewrite the Linux-specific minidump writer code in Rust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D98744
2021-01-14 11:01:59 +00:00
Nicolas Silva be6b2bc8af Bug 1686500 - Update etagere to 0.2.4 r=gfx-reviewers,kvark
The new version contains
 - A bug fix for the bucketed allocator (we don't currently use it)
 - A few fixes that can happen when requesting large enough allocation sizes to cause integer overflows. At the moment we never request an allocation larger than 512px so we are safe but it's still good to stay up to date.

Differential Revision: https://phabricator.services.mozilla.com/D101608
2021-01-14 08:31:40 +00:00
Henrik Skupin b0aa196847 Bug 1668243 - [geckodriver] Release version 0.29.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101592
2021-01-13 17:47:31 +00:00
Henrik Skupin bd6a1fdab2 Bug 1668243 - [webdriver] Release version 0.43.0. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101591
2021-01-13 16:42:09 +00:00
Henrik Skupin 04e2940102 Bug 1668243 - [rust-mozversion] Release version 0.4.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101590
2021-01-13 16:42:01 +00:00
Henrik Skupin 6c2057c69c Bug 1668243 - [rust-mozrunner] Release version 0.12.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101589
2021-01-13 16:41:54 +00:00
Henrik Skupin 425ed3a57c Bug 1668243 - [rust-mozprofile] Release version 0.7.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101588
2021-01-13 16:41:46 +00:00
Henrik Skupin e3692a7e5f Bug 1668243 - [rust-mozdevice] Release version 0.3.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101587
2021-01-13 15:55:18 +00:00
Zibi Braniecki a5fd18ba3a Bug 1686275 - Update fluent-rs to 0.14. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 16:30:20 +00:00
Razvan Maries 21321565f6 Backed out changeset 9fabf5ced4d3 (bug 1620993) for OSX Build bustages. CLOSED TREE 2021-01-13 12:57:41 +02:00
M. Sirringhaus 3665b8d70a Bug 1620993 - Rewrite the Linux-specific minidump writer code in Rust r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D98744
2021-01-13 10:37:29 +00:00
Butkovits Atila 4fb654352b Backed out changeset 1a9fcf5cbe17 (bug 1686275) for causing failures on test_formatMessages.html. CLOSED TREE 2021-01-13 06:47:00 +02:00
Zibi Braniecki 1c1851d0fa Bug 1686275 - Update fluent-rs to 0.14. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D101474
2021-01-13 02:50:44 +00:00
Henrik Skupin 2727c3cd24 Bug 1682219 - [third-party] Upgrade linked-hash-map crate from 0.5.1 to 0.5.4. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D101469
2021-01-12 16:17:35 +00:00
Lars T Hansen 8275be2d9a Bug 1682466 - Update wat to 1.0.31. r=rhunt
This version contains new opcodes for ExtMul.

Differential Revision: https://phabricator.services.mozilla.com/D101348
2021-01-11 21:29:14 +00:00
Emilio Cobos Álvarez 48bb279f22 Bug 1685950 - update cssparser. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D101300
2021-01-11 02:11:11 +00:00
Nicolas Silva 30d561c26b Bug 1683294 - Update rayon to 1.5 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D100110
2021-01-07 15:29:27 +00:00
Xidorn Quan 2b537ae32a Bug 1684238 - Remove dependency to failure crates from bitsdownload. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D100480
2021-01-05 22:32:00 +00:00
Jeff Muizelaar a3db045160 Bug 1685214 - Add some documentation to qcms and bump the crate version. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D100845
2021-01-06 01:36:30 +00:00
Emilio Cobos Álvarez 3bd15f9e8e Bug 1684261 - Fix build with rust nightly. r=jrmuizel
Fixes errors like:

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

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

Differential Revision: https://phabricator.services.mozilla.com/D100485
2020-12-26 18:16:05 +00:00
Jeff Muizelaar e6dad53841 Bug 1683966. Add some more objc autorelease pools. r=mstange
This isn't very systematic as I'm not sure the best approach for that
yet. That being said, this captures the bulk of the autoreleases without
that happen without a pool.

Differential Revision: https://phabricator.services.mozilla.com/D100363
2020-12-23 04:02:43 +00:00
Dragana Damjanovic 539ededfd5 Bug 1683902 - Update neqo to 0.4.19 r=necko-reviewers,kershaw
Update neqo to 0.4.19

Differential Revision: https://phabricator.services.mozilla.com/D100338
2020-12-22 18:36:22 +00:00
Jeff Muizelaar 5a90b263f7 Bug 1683418. Add an autoreleasepool to staunch some of the bleeding. r=mstange,aosmond
There are probably other places that have this kind of problem but this
keeps thing simple for now and might be sufficient to get things under
control.

Further work will follow.

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

Differential Revision: https://phabricator.services.mozilla.com/D98542
2020-12-18 20:07:47 +00:00
Adam Gashlin 5097c15b3a Bug 1683003 - Update comedy-rs to remove dependency on failure. r=bytesized
comedy 0.2.0 no longer impls Fail itself. By reenabling the default features
(including std) of failure, the blanket impl will cover that. These features
were disabled to remove a dependency on backtrace, but since bug 1608157 we
are using a version of failure without backtrace by default so that is no
longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D99969
2020-12-17 19:14:35 +00:00
Jan-Erik Rediger 04b73ee4f1 Bug 1682638 - Update to Glean v33.9.1. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D100006
2020-12-17 13:12:08 +00:00
Nicolas Silva 17739343f2 Bug 1679751 - Run Mach vendor rust. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D98657
2020-12-16 14:56:52 +00:00
Asumu Takikawa bd345c38b9 Bug 1335652 - wasm exceptions part 7: vendor the latest wat r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D99594
2020-12-15 20:52:05 +00:00
Adam Gashlin f949e155a3 Bug 1681574: Remove the old update agent skeleton. r=nalexander
I'm keeping the --enable-update-agent config option and the corresponding
MOZ_UPDATE_AGENT config flag and define, as these should still be useful.

As we never shipped this there is no need to keep anything around to
clean up the scheduled tasks.

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

Differential Revision: https://phabricator.services.mozilla.com/D98950
2020-12-14 22:31:07 +00:00
Dragana Damjanovic 96b916ebe1 Bug 1682262 - Update neqo to 0.4.18 and bindgen to 0.56 r=necko-reviewers,emilio,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99665
2020-12-14 18:38:49 +00:00
Xidorn Quan 5b6e237eec Bug 1681957 - Migrate gecko-fuzz-targets away from rkv 0.10. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D99453
2020-12-12 08:32:40 +00:00
Dan Glastonbury d22631c4d7 Bug 1679094 - Resolve dom::Promise from Rust. r=nika
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.

Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 02:55:49 +00:00
Csoregi Natalia 3b68bf27c8 Backed out changeset cccdff68c790 (bug 1679094) for causing build bustage. CLOSED TREE 2020-12-12 03:18:44 +02:00
Dan Glastonbury 27752e15a3 Bug 1679094 - Resolve dom::Promise from Rust. r=nika
A very limited interface to allow resolving dom::Promises from Rust code by
marshaling values via nsIVariant.

Differential Revision: https://phabricator.services.mozilla.com/D97905
2020-12-12 00:47:23 +00:00
Xidorn Quan 3173c39eb9 Bug 1681935 - Replace dependency to failure with thiserror in remote crate. r=remote-protocol-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99442
2020-12-11 14:34:23 +00:00
Csoregi Natalia 24146fd642 Backed out changeset a8c087a36965 (bug 1681811) for failures on test_case_mp4. CLOSED TREE 2020-12-11 22:51:06 +02:00
Chun-Min Chang 2c75dfdc7b Bug 1681811 - Update mp4parse-rust to 94fd2f1 r=jbauman
Import the improvements made in mp4parse-rust repo. The changes would
save some redundant copy when calling avif related APIs and provide the
ability to get the alpha data of the parsed avif image.

Differential Revision: https://phabricator.services.mozilla.com/D98950
2020-12-11 18:16:40 +00:00
Emilio Cobos Álvarez d6ccac5546 Bug 1681940 - Update dtoa-short. r=xidorn
Has some minor perf optimizations.

Differential Revision: https://phabricator.services.mozilla.com/D99445
2020-12-11 13:14:13 +00:00
Jan-Erik Rediger ee1003ab9f Bug 1677455 - Update Glean to pull in TSan-fixes. r=Dexter
Depends on D98454

Differential Revision: https://phabricator.services.mozilla.com/D99345
2020-12-10 13:50:59 +00:00
Jan-Erik Rediger 057ef45d94 Bug 1678583 - Clean up FFI bridge & IDL layer. r=chutten
This touches multiple parts at once, including:

* Remove usage of `this->` in C++ code
* Use `nsACString` across the FFI (no need for `ffi-support` anymore)
* Use `AUTF8String` in the IDL definition, so we can pass it on unmodified.

Differential Revision: https://phabricator.services.mozilla.com/D99034
2020-12-10 13:44:47 +00:00
Jan-Erik Rediger 96444a64c1 Bug 1675286 - Implement C++ and JS APIs for events. r=emilio,chutten
Events are special in that they are generic over the type of extra keys
they can handle.
This makes them unsuitable to store in simple hashmaps, as (nearly) every event metric is its own type.

To still keep the nice and statically-checked Rust API, but also have
C++ and JS APIs we defer it all to a big ol' lookup table using `match`
at `record()` time.

Note:
While passing `extras` works it's not yet perfect.
The C++ API is hard to use.
The JavaScript API works, but is not documented.
Additionally `testGetValue` doesn't work yet for events in either language.

Differential Revision: https://phabricator.services.mozilla.com/D97450
2020-12-10 13:20:04 +00:00
Emilio Cobos Álvarez 1c2975501b Bug 1632469 - Update smallvec. r=manishearth
Differential Revision: https://phabricator.services.mozilla.com/D72146
2020-12-10 11:10:05 +00:00
Julian Seward 7564a2282f Bug 1681485 - Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558. r=lth.
Revendor Cranelift to 3334d92350da40b90d2529c147db3ea44918b558
from https://github.com/mozilla-spidermonkey/wasmtime branch firefox85.
The (only) purpose is to pull in this fix for an apparently rare but serious
LICM bug:

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D99160
2020-12-09 21:54:03 +00:00
Csoregi Natalia e85a77d963 Backed out changeset d7cb07ecc30a (bug 1678170) for causing spidermonkey failures. CLOSED TREE 2020-12-09 18:16:50 +02:00
Tooru Fujisawa 6febe8808b Bug 1678170 - Update opcode for bug 1673553. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D99073
2020-12-09 14:33:19 +00:00
Victor Porof 781260432a Bug 1681492 - Update rkv to 0.16.1, r=janerik
Depends on D99210

Differential Revision: https://phabricator.services.mozilla.com/D99211
2020-12-09 12:19:52 +00:00
Cristina Coroiu dfff858221 Backed out 8 changesets (bug 1677455, bug 1678583, bug 1677962, bug 1675286) for xpcshell failures at toolkit/components/glean/xpcshell/test_Glean.js on a CLOSED TREE
Backed out changeset ab0d5057817b (bug 1677455)
Backed out changeset 1e26d2cecfe7 (bug 1678583)
Backed out changeset 555eb48642be (bug 1678583)
Backed out changeset 7346565f35b4 (bug 1678583)
Backed out changeset 0e40c4b34ec7 (bug 1678583)
Backed out changeset b3b6cfebc8e3 (bug 1677962)
Backed out changeset 6c6a59d7c472 (bug 1675286)
Backed out changeset 45c8c0f1d7bf (bug 1675286)
2020-12-09 16:38:20 +02:00
Julian Seward 7e62d43bab Bug 1681450 - Revendor Cranelift to 3b01b4b850bafb981a04383198c0b50d041dc5ef. r=lth.
Revendor Cranelift to 3b01b4b850bafb981a04383198c0b50d041dc5ef
from https://github.com/mozilla-spidermonkey/wasmtime branch firefox85.
The (only) purpose is to pull in this:

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

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

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

Differential Revision: https://phabricator.services.mozilla.com/D99204
2020-12-09 12:05:52 +00:00
Jan-Erik Rediger c218ef2435 Bug 1678583 - Clean up FFI bridge & IDL layer. r=chutten
This touches multiple parts at once, including:

* Remove usage of `this->` in C++ code
* Use `nsACString` across the FFI (no need for `ffi-support` anymore)
* Use `AUTF8String` in the IDL definition, so we can pass it on unmodified.

Differential Revision: https://phabricator.services.mozilla.com/D99034
2020-12-09 09:44:27 +00:00
Jan-Erik Rediger 94353fd333 Bug 1675286 - Implement C++ and JS APIs for events. r=emilio,chutten
Events are special in that they are generic over the type of extra keys
they can handle.
This makes them unsuitable to store in simple hashmaps, as (nearly) every event metric is its own type.

To still keep the nice and statically-checked Rust API, but also have
C++ and JS APIs we defer it all to a big ol' lookup table using `match`
at `record()` time.

Note:
While passing `extras` works it's not yet perfect.
The C++ API is hard to use.
The JavaScript API works, but is not documented.
Additionally `testGetValue` doesn't work yet for events in either language.

Differential Revision: https://phabricator.services.mozilla.com/D97450
2020-12-09 08:51:44 +00:00
Julian Seward 5638b306c1 Bug 1678785 - AddressSanitizer: SEGV [@ vixl::Memory::Read]. r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D98932
2020-12-07 16:26:17 +00:00
Jan-Erik Rediger 3a44990fe0 Bug 1680230 - Update Glean to 33.7.0. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D98905
2020-12-07 14:32:58 +00:00
Victor Porof 173311ea52 Bug 1680230 - Part 2: Vendor, r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98595
2020-12-07 14:01:36 +00:00
Victor Porof 9c281e0cd5 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-12-07 07:24:34 +00:00
Xidorn Quan 8799a09b16 Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D98839
2020-12-07 08:01:04 +00:00
Mihai Alexandru Michis d88071abc9 Backed out 5 changesets (bug 1654192, bug 1680230) for causing tsan bc failures in RWLock.
CLOSED TREE

Backed out changeset 804ccdf33ae8 (bug 1680230)
Backed out changeset 2ced955ab891 (bug 1680230)
Backed out changeset b09ca0548784 (bug 1654192)
Backed out changeset a92f0deb07b2 (bug 1654192)
Backed out changeset 26abc175808e (bug 1654192)
2020-12-07 09:21:15 +02:00
Victor Porof 7a13ba6687 Bug 1680230 - Part 2: Vendor, r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98595
2020-12-04 20:49:48 +00:00
Victor Porof 0e467487a3 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-12-07 06:49:31 +00:00
Emilio Cobos Álvarez 80b8ba4acd Bug 1671170 - Downgrade smallvec to 1.3. r=markh
See https://github.com/servo/rust-smallvec/issues/243 and the PRs in the
comments.

Differential Revision: https://phabricator.services.mozilla.com/D98802
2020-12-05 17:12:44 +00:00
Alexis Beingessner d2495438a1 Bug 1674770 - update parking_lot to get tsan fixes. r=glandium
Although this doesn't fix the particular false positive we hit, more fixes
is good to get

Differential Revision: https://phabricator.services.mozilla.com/D98649
2020-12-04 17:02:33 +00:00
Emilio Cobos Álvarez 96a85ab8c6 Bug 1680558 - Update cssparser to get ParserState in rule parser. r=heycam
The changes should be trivial.

The third_party changes are up for review in
https://github.com/servo/rust-cssparser/pull/277 (and of course I'll
land with a bump to 0.28 rather than the override after that gets r+'d).

The basic idea is that with this we have the actual start offset of the
rule, so we wouldn't include html comments or other invalid stuff we
discard during sanitization in bug 1680084. But that's a separate
change.

Differential Revision: https://phabricator.services.mozilla.com/D98677
2020-12-04 10:47:55 +00:00
Julian Seward 4434d99732 Bug 1680509 - Vendor in CL ac58a436ed84d1a88b4ff24367c5972cf8d3d405. Part 2: results of "mach vendor rust". r=yury.
Depends on D98647

Differential Revision: https://phabricator.services.mozilla.com/D98648
2020-12-04 07:01:55 +00:00
Razvan Maries e755870785 Backed out changeset 54068f044426 (bug 1680558) for perma failures on browser_resources_stylesheets.js. CLOSED TREE 2020-12-04 06:48:30 +02:00
Emilio Cobos Álvarez 659a6773ad Bug 1680558 - Update cssparser to get ParserState in rule parser. r=heycam
The changes should be trivial.

The third_party changes are up for review in
https://github.com/servo/rust-cssparser/pull/277 (and of course I'll
land with a bump to 0.28 rather than the override after that gets r+'d).

The basic idea is that with this we have the actual start offset of the
rule, so we wouldn't include html comments or other invalid stuff we
discard during sanitization in bug 1680084. But that's a separate
change.

Differential Revision: https://phabricator.services.mozilla.com/D98677
2020-12-04 03:14:36 +00:00
Alessio Placitelli 302025c613 Bug 1662868 - Vendor Glean 33.5.0. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D98356
2020-12-03 11:56:26 +00:00
Alessio Placitelli bfe7b8f5e5 Bug 1662868 - Use the inherent crate in FOG and update Cargo.lock. r=janerik,chutten
Differential Revision: https://phabricator.services.mozilla.com/D98059
2020-12-03 11:54:22 +00:00
Mihai Alexandru Michis d2849190f6 Backed out 15 changesets (bug 1662868) for causing xpcshell thread leaks.
CLOSED TREE

Backed out changeset fe1462617a8d (bug 1662868)
Backed out changeset 99df04f55be1 (bug 1662868)
Backed out changeset 21f7b675b3b9 (bug 1662868)
Backed out changeset 33a5ec2378cd (bug 1662868)
Backed out changeset be7a168ee182 (bug 1662868)
Backed out changeset 1803b5acd0f8 (bug 1662868)
Backed out changeset 98415dd8ee7e (bug 1662868)
Backed out changeset 6e38bfcb8587 (bug 1662868)
Backed out changeset 43245bce408a (bug 1662868)
Backed out changeset b727f5c658f5 (bug 1662868)
Backed out changeset f631a1d04d0a (bug 1662868)
Backed out changeset 6a5e0257086c (bug 1662868)
Backed out changeset 82c6c1b7a24a (bug 1662868)
Backed out changeset 6f4740140fe1 (bug 1662868)
Backed out changeset 2f342eaea13e (bug 1662868)
2020-12-02 18:24:59 +02:00
Alessio Placitelli ac981d2db9 Bug 1662868 - Vendor Glean 33.5.0. r=chutten
Depends on D98299

Differential Revision: https://phabricator.services.mozilla.com/D98356
2020-12-01 18:45:12 +00:00
Alessio Placitelli 9876ebaea1 Bug 1662868 - Use the inherent crate in FOG and update Cargo.lock. r=janerik,chutten
Differential Revision: https://phabricator.services.mozilla.com/D98059
2020-12-01 16:56:20 +00:00
Julian Seward 4f05523121 Bug 1680043 - Remove redundant Cargo.toml dependency on wasmparser 0.67. r=yury.
js/src/wasm/cranelift/Cargo.toml lists wasmparser as a dependency, but this is
(confusingly) not necessary, since we use the version re-exported by Cranelift
(IIUC).  So let's remove the dependency.

Differential Revision: https://phabricator.services.mozilla.com/D98372
2020-12-01 19:08:12 +00:00
Razvan Maries 1122f1dd53 Backed out changeset f4d2921dbb2a (bug 1679977) for build bustages. CLOSED TREE 2020-12-01 17:13:30 +02:00
Alessio Placitelli 53deac993e Bug 1679977 - Vendor Glean 33.5.0. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98300
2020-12-01 13:20:33 +00:00
Henri Sivonen c55405f18e Bug 1678175 - Avoid detecting windows-1252 euro sign as GBK. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D98005
2020-11-29 08:07:45 +00:00
Dzmitry Malyshau 09630ed233 Bug 1678454 - Update plane-split dependency to 0.17.1 r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D97784
2020-11-20 19:52:15 +00:00
Julian Seward 3455a0f670 Bug 1677452 - Update Cranelift to firefox85 / dcc52ba3f69d3de7cdbd787b936825d9c61e3c27 and wasmparser to 0.67: Part 2 - results of "mach vendor rust". r=lth.
Differential Revision: https://phabricator.services.mozilla.com/D97588
2020-11-19 18:50:58 +00:00
Csoregi Natalia baf3102105 Backed out changeset 88f6cae1d63f (bug 1674770) for causing build bustages. CLOSED TREE 2020-11-19 19:06:26 +02:00
Alexis Beingessner fa2a407bd0 Bug 1674770 - Update parking_lot to get RwLock fix. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D97608
2020-11-19 16:47:35 +00:00
Emilio Cobos Álvarez 5716498fbd Bug 1677073 - Update in-tree version of env_logger. r=janerik
Also update plist to avoid pulling a duplicate humantime version.

Differential Revision: https://phabricator.services.mozilla.com/D96995
2020-11-19 14:03:43 +00:00
Dragana Damjanovic 8915c56905 Bug 1677743 - Neqo version 0.4.16 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97445
2020-11-19 13:06:31 +00:00
Chun-Min Chang 20d9584f84 Bug 1677766 - P2: mach vendor rust r=cubeb-reviewers,padenot
Depends on D97482

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

Differential Revision: https://phabricator.services.mozilla.com/D96850
2020-11-13 14:15:49 +00:00
Dan Minor bc574a5dfa Bug 1675789 - Run vendor rust; r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D96854
2020-11-13 13:23:10 +00:00
Emilio Cobos Álvarez d9ef0f274b Bug 1677073 - Update mapped_hyph. r=jfkthame
This removes a dependency on env_logger 0.7.

Differential Revision: https://phabricator.services.mozilla.com/D96985
2020-11-13 12:23:04 +00:00
Bogdan Tara 944e17a779 Backed out 3 changesets (bug 1675789) for test_pseudo.js failures CLOSED TREE
Backed out changeset 96add4c0a255 (bug 1675789)
Backed out changeset 0e0fe4161436 (bug 1675789)
Backed out changeset dcd4e0412d54 (bug 1675789)
2020-11-13 04:21:54 +02:00
Dan Minor b4cfba2bcf Bug 1675789 - Run vendor rust; r=zbraniecki
Depends on D96853

Differential Revision: https://phabricator.services.mozilla.com/D96854
2020-11-12 21:29:58 +00:00
Ricky Stewart 8e1ecc17b1 Bug 1661027 - Update `cc` crate to v1.0.59 r=mhentges,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D90141
2020-11-12 18:02:31 +00:00
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