Commit Graph

1334 Commits

Author SHA1 Message Date
M. Sirringhaus
bcaf9b7cc1 Bug 1695646 - minidump_writer_linux mapping merge logic wrong r=gsvelto
The logic missed a pair of brackets, leading to memory regions
being merged that shouldn't have been merged (anonymous regions
with access flags set getting merged into the previous mapping)

Differential Revision: https://phabricator.services.mozilla.com/D106772
2021-03-05 13:32:27 +00:00
Dzmitry Malyshau
27e5308381 Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
This is another WebGPU API update, it picks up a lot of changes that were made recently:
  - new bind group layout
  - new render pipeline descriptor
  - new vertex formats
  - limits
  - compressed texture formats
  - index format
  - query sets
  - and more small ones!

It also brings in the updated `gfx/wgpu` to support these API changes.

Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 21:25:46 +00:00
Brindusan Cristian
cae8a0ef30 Backed out changeset 0c0c723b0a0e (bug 1622846) for build bustages in Device.h. CLOSED TREE 2021-03-04 22:02:58 +02:00
Dzmitry Malyshau
65199ec16a Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
This is another WebGPU API update, it picks up a lot of changes that were made recently:
  - new bind group layout
  - new render pipeline descriptor
  - new vertex formats
  - limits
  - compressed texture formats
  - index format
  - query sets
  - and more small ones!

It also brings in the updated `gfx/wgpu` to support these API changes.

Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 17:48:28 +00:00
Mike Hommey
39a14165d0 Bug 1694318 - Remove the mozjs_sys rust crate. r=jandem
The mozjs_sys crate is actually responsible for all the problems
encountered with the js crate we just removed, but the sm-mozjs-crate
task that builds and runs tests for it doesn't fail because... there is
actually no test to build and run, so all it builds is a static library,
which doesn't expose all the problems that exist.

The content of this crate in mozilla-central is also outdated compared
to servo upstream.

Differential Revision: https://phabricator.services.mozilla.com/D106390
2021-03-02 08:09:35 +00:00
Mike Hommey
93e7a214c2 Bug 1694318 - Remove the js rust crate. r=jandem,sheehan
The sm-rust-bindings task that builds and runs tests for it actually only
doesn't fail by three(!) distinct happenstances of chance:
- It somehow doesn't hit a race condition that can happen, but that
  attempting to change the build process for jsglue.cpp did,
- The second call to `cargo test` without `--feature debugmozjs` only
  works because nothing was cleaned up from the first and the second
  build uses artifacts from the first that are otherwise not there if
  only running the second.
- The addition of rust code to spidermonkey (the jsrust crate in
  js/src/rust) somehow didsn't cause problems in the current
  configuration, but in other configurations (which fixing the second
  thing above unveils) the build fails because of the multiple
  definition of rust_eh_personality between the jsrust staticlib and the
  rust stdlib that rustc links to test programs.

On top of all the above, the content of the crate in mozilla-central
has not received updates from upstream servo in years, and doesn't
reflect what servo actually uses.

Differential Revision: https://phabricator.services.mozilla.com/D106389
2021-03-02 08:09:35 +00:00
Jon Bauman
4d56684865 Bug 1695464 - Update mp4parse-rust to ccbe4eb. r=bryce,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D106727
2021-03-01 21:23:35 +00:00
Matthew Gregan
9388fa1057 Bug 1694777 - Update audioipc to 8fb5ff19. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-25 03:02:18 +00:00
smolnar
f7be142901 Backed out changeset 98ce934ae615 (bug 1694777) for causing multiple failures in RustMozCrash. CLOSED TREE 2021-02-25 01:38:45 +02:00
Matthew Gregan
45b135164f Bug 1694777 - Update audioipc to a5fd9eef. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D106322
2021-02-24 22:22:40 +00:00
Chun-Min Chang
ace92a2b09 Bug 1692910 - P2: mach vendor rust r=cubeb-reviewers,kinetik
Depends on D106252

Differential Revision: https://phabricator.services.mozilla.com/D106253
2021-02-24 15:59:53 +00:00
Matthew Gregan
00a601715e Bug 1693270 - Switch audioipc-2 to vendored code. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105453
2021-02-17 20:23:46 +00:00
Matthew Gregan
c7ff9a211c Bug 1689517 - mach vendor rust. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D105446
2021-02-17 20:06:44 +00:00
M. Sirringhaus
1f377765b0 Bug 1666733 - Add error reporting to minidump generation (Linux) r=gsvelto
Linux only, as part of the oxidization effort (Bug 1620993) of breakpad.

Differential Revision: https://phabricator.services.mozilla.com/D103895
2021-02-10 10:05:37 +00:00
M. Sirringhaus
d4644353c1 Bug 1666733 - Rebase to latest upstream changes (ARM specific, which is still deactivated) r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D104537
2021-02-10 10:05:36 +00:00
Jeff Muizelaar
0abab2be63 Bug 1687536 - Move SWGL compositor into WebRender proper. r=lsalzman
This will let us use it from Wrench.

Differential Revision: https://phabricator.services.mozilla.com/D102343
2021-02-07 20:04:14 +00:00
Yury Delendik
cefacad6f0 Bug 1690817 - Update wat to 1.0.34 r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D104072
2021-02-05 02:31:10 +00:00
Jan-Erik Rediger
a141e81771 Bug 1690774 - Upgrade to Glean v34.1.0 to get a bugfix. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D104049
2021-02-04 13:21:52 +00:00
Chris H-C
a28d2450d7 Bug 1690106 - fog crate no longer depends on glean_core r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103832
2021-02-03 19:02:49 +00:00
Chris H-C
a09f369723 Bug 1690106 - Update Glean crates to v34 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D103831
2021-02-03 19:02:33 +00:00
Tooru Fujisawa
ba4f83d4d6 Bug 1681624 - Update opcode for bug 1673553 and bug 1681272. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D103919
2021-02-03 16:45:02 +00:00
Jamie Nicol
abab286bf9 Bug 1689316 - Update glslopt to optimize shader switch statements in to fewer ifs. r=jrmuizel
We have encountered issues on some platforms due to a large number of
if statements in shaders. The shader optimizer previously generated
code with a large number of if statements, due to the way in which it
optimized switch statements.

Previously the optimizer output 2 if statements for every case in a
switch. First it ORs the "fallthrough" var with the case's
condition. Then sets the fallthrough var to false if the "break" var
is true. Then conditionally executes the case's instructions if
fallthrough is true. For example:

  switch (uMode) {
    case 0:
      gl_Position = vec4(0.0);
      break;
    case 1:
      gl_Position = vec4(1.0);
      break;
  }

becomes:

  bool break_var = bool(0);
  bool fallthrough_var = (0 == uMode);
  if (break_var) fallthrough_var = bool(0);
  if (fallthrough_var) {
    gl_Position = vec4(0.0, 0.0, 0.0, 0.0);
    break_var = bool(1);
  };
  fallthrough_var = (fallthrough_var || (1 == uMode));
  if (break_var) fallthrough_var = bool(0);
  if (fallthrough_var) {
    gl_Position = vec4(1.0, 1.0, 1.0, 1.0);
    break_var = bool(1);
  };

This update removes one of these ifs, by ANDing the fallthrough_var
with !break_var rather than conditionally setting it to false. eg:

  bool break_var = bool(0);
  bool fallthrough_var = (0 == uMode);
  if (fallthrough_var) {
    gl_Position = vec4(0.0, 0.0, 0.0, 0.0);
    break_var = bool(1);
  };
  fallthrough_var = (fallthrough_var || (1 == uMode));
  fallthrough_var = (fallthrough_var && !(break_var));
  if (fallthrough_var) {
    gl_Position = vec4(1.0, 1.0, 1.0, 1.0);
    break_var = bool(1);
  };

This is logically equivalent but uses half as many if statements,
which helps to avoid driver bugs on some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D103713
2021-02-01 21:14:15 +00:00
Julian Seward
ff3ceaf123 Bug 1689950 - Vendor in CL a25399760e9f12b679aa267dd2af7cfedc72bb71. Part 2: results of "mach vendor rust". r=yury.
Revendor CL to a25399760e9f12b679aa267dd2af7cfedc72bb71 from
https://github.com/mozilla-spidermonkey/wasmtime, branch firefox85.
This pulls in three code-correctness fixes that have accumulated in
the past month:
https://github.com/bytecodealliance/wasmtime/pull/{2548,2556,2559}.

Depends on D103672

Differential Revision: https://phabricator.services.mozilla.com/D103673
2021-02-01 16:20:01 +00:00
Xidorn Quan
1479c9d9e2 Bug 1687056 - Upgrade rkv to 0.17 and remove failure from rkv's dependent crates. r=vporof
Differential Revision: https://phabricator.services.mozilla.com/D102052
2021-01-29 12:58:00 +00:00
Bryce Seager van Dyk
7ce5240dfe Bug 1688784 - Bump mp4parse-rust version. r=jbauman,kinetik
Bumps version to
3011a2b923c8b0f1b392bcdd008cd8b95ffd846b

This is done to fix a bug where parsing bad metadata in the userdata (udta)
would be fatal when we should instead just fail the userdata.

This also updates some mp4parse-rust dependencies which results in some
removals.

Differential Revision: https://phabricator.services.mozilla.com/D102997
2021-01-27 21:01:24 +00:00
Xidorn Quan
ac3ecbadd3 Bug 1688439 - Update several Rust dependencies with known vulnerabilities reported by cargo audit. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D102850
2021-01-29 07:19:58 +00:00
M. Sirringhaus
5d4a325c23 Bug 1688882 - Always inform the main process that a minidump has been generated, even if it's incomplete r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D103041
2021-01-28 14:17:34 +00:00
Bogdan Tara
4535093154 Backed out changeset 924a3c191cdb (bug 1688784) for rust related windows bustage CLOSED TREE 2021-01-26 23:38:06 +02:00
Bryce Seager van Dyk
9bdd5b4443 Bug 1688784 - Bump mp4parse-rust version. r=jbauman,kinetik
Bumps version to
3011a2b923c8b0f1b392bcdd008cd8b95ffd846b

This is done to fix a bug where parsing bad metadata in the userdata (udta)
would be fatal when we should instead just fail the userdata.

This also updates some mp4parse-rust dependencies which results in some
removals.

Differential Revision: https://phabricator.services.mozilla.com/D102997
2021-01-26 19:10:46 +00:00
Dragana Damjanovic
deaef5512f Bug 1687787 - Neqo Version 0.4.21 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102970
2021-01-26 07:27:57 +00:00
Henri Sivonen
9b210c311e Bug 1686463 - Gather telemetry about automatic encoding detection outcomes. r=chutten,emk
Differential Revision: https://phabricator.services.mozilla.com/D102397
2021-01-24 00:11:07 +00:00
smolnar
24d0effbb0 Backed out 2 changesets (bug 1687787) for causing xpcshell failures in netwerk/test/unit/test_http3_large_post. CLOSED TREE
Backed out changeset 5ca2c2f951ce (bug 1687787)
Backed out changeset 48f23619ddb8 (bug 1687787)
2021-01-21 15:33:28 +02:00
Dragana Damjanovic
ef14d64551 Bug 1687787 - Neqo version 0.4.20 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D102467
2021-01-21 11:40:52 +00:00
Lars T Hansen
bacaea238f Bug 1687654 - Update wat to 1.0.33. r=rhunt
Pull in a number of new SIMD opcodes, and a change from iNxM.any_true
to v128.any_true.  Plus whatever else has landed in the mean time...

Differential Revision: https://phabricator.services.mozilla.com/D102398
2021-01-20 17:35:23 +00:00
Nico Grunbaum
fba68a8e39 Bug 1687098 - Update WebRTC-SDP to version 0.3.8;r=drno
Differential Revision: https://phabricator.services.mozilla.com/D102110
2021-01-18 06:27:38 +00:00
Mike Hommey
dbc3d9867f Bug 1685697 - Hide the rustc output from autocfg. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D101861
2021-01-15 12:19:13 +00:00
Mike Hommey
e4bf32e4f8 Bug 1686888 - Stop building dump_syms. r=gsvelto
Now that we use an external dump_syms, we don't need to build
breakpad's.

This means we also don't need the dump_syms_rust_demangle crate anymore.

Differential Revision: https://phabricator.services.mozilla.com/D101865
2021-01-15 10:31:48 +00:00
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