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

1365 Коммитов

Автор SHA1 Сообщение Дата
Dzmitry Malyshau cdb4fe1fcb Bug 1622846 - Update BlendFactor API in WebGPU r=webidl,jimb,smaug
This is another incremental update of wgpu and WebGPU APIs.
It increases stability and makes us run most of the Austin's samples (again).
Likely fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1704148

Differential Revision: https://phabricator.services.mozilla.com/D112828
2021-04-22 19:18:49 +00:00
M. Sirringhaus 024220247f Bug 1706033 - Fix potential crash with out-of-bounds indexing r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D112554
2021-04-21 08:33:29 +00:00
Ryan Hunt 8ac7e3ebca Bug 1703105 - wasm: Update wat to latest version. r=lth
Some SIMD instructions rely on a newer version of wat then we
have vendored.

Differential Revision: https://phabricator.services.mozilla.com/D111230
2021-04-20 14:36:29 +00:00
R. Martinho Fernandes 4ecee0b048 Bug 1677866 - Report memory allocated by `cert_storage` crate r=keeler,emilio
Differential Revision: https://phabricator.services.mozilla.com/D107105
2021-04-19 22:12:56 +00:00
Gabriele Svelto 0775d6a0d2 Bug 1704518 - Use the workspace hack to reduce build times of the Rust WER components r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D112013
2021-04-15 11:55:31 +00:00
Henri Sivonen 822fc2ac55 Bug 1702246 - Make the encoding detector tolerate extensions to legacy CJK encodings. r=emk
This patch tries to address the issue that legacy CJK extensions have various
extended variants where the core of the encoding is compatible but the edges
are incompatible. Without this patch, we reject e.g. Big5 if it has a single
character from the UAO extension or a single Windows end-user-defined character.

Likewise for the other legacy CJK encodings.

This patch tolerates:

* All Big5 extensions (the motivating part of this patch).
* Windows EUDC for EUC-KR.
* Classic Mac OS extensions to Shift_JIS, EUC-KR, GBK, and Big5 to the
  extent practical considering conflicting definitions of what constitutes
  a lead byte in the Encoding Standard but a single-byte extension in
  Classic Mac OS.
* JIS X 0213 / 2004 extensions to Shift_JIS and EUC-JP. (It's unclear if
  these have actual deployment.)

Tolerating means that the occurrence of an extension character doesn't
disqualify a candidate but only applies a penalty to the pending score.
If there is enough other convincing content, it should be able to overcome
the penalty.

Differential Revision: https://phabricator.services.mozilla.com/D111372
2021-04-13 13:14:35 +00:00
M. Sirringhaus 02ec742536 Bug 1676109 - Remove font and cache mappings from the Linux minidumps r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D99338
2021-04-12 20:58:08 +00:00
Chris H-C b6ba57df3c Bug 1704106 - Update Glean SDK to v36.0.1 r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D111488
2021-04-12 13:49:15 +00:00
Dzmitry Malyshau 89ced952fc Bug 1622846 - Update wgpu and WebGPU IDL for the new copy views API r=webidl,jgilbert,smaug
Updates wgpu, WebGPU IDL, in particular the ImageCopyXxx types and render pass attachments.
Adds explicit mapping of the GPUTextureFormat enum. Our old casting was incorrect, because the enums diverged a bit.

Differential Revision: https://phabricator.services.mozilla.com/D110997
2021-04-08 14:35:42 +00:00
Henrik Skupin 337d33442c Bug 1700557 - [geckodriver] Release version 0.29.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D111159
2021-04-08 11:38:20 +00:00
Henrik Skupin 9d8a929736 Bug 1700557 - [webdriver] Release version 0.43.1. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D111158
2021-04-08 11:38:20 +00:00
Henrik Skupin 6ce8c20c8c Bug 1700557 - [rust-mozprofile] Release version 0.7.2. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D111157
2021-04-08 11:38:19 +00:00
Henrik Skupin 687e7933a6 Bug 1700557 - [rust-mozdevice] Release version 0.3.2. r=webdriver-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D111156
2021-04-08 11:38:19 +00:00
Butkovits Atila 8d90cf4b42 Backed out changeset 5b033d5d6e6d (bug 1622846) for causing bustages on WebGPUChild.cpp. CLOSED TREE 2021-04-08 06:08:25 +03:00
Dzmitry Malyshau 92d0383ea9 Bug 1622846 - Update wgpu and WebGPU IDL for the new copy views API r=webidl,jgilbert,smaug
Updates wgpu, WebGPU IDL, in particular the ImageCopyXxx types and render pass attachments.
Adds explicit mapping of the GPUTextureFormat enum. Our old casting was incorrect, because the enums diverged a bit.

Differential Revision: https://phabricator.services.mozilla.com/D110997
2021-04-07 22:46:47 +00:00
Gabriele Svelto 277338b229 Bug 1682509 - Add a Windows Error Reporting exception module capable of writing out crash reports r=dmajor
This is a minimal implementation of a WER exception module that can intercept
crashes of Firefox processes and write out a fully formed crash report, that is
a minidump, an .extra file containing the minimum annotations required by
Socorro and an event file.

The module in and by itself is not functional: an entry needs to be added to
the registry and the processes which want to be monitored need to register it
at runtime. With this patch applied it will only be built but it won't be
packaged with Firefox nor it will be used when doing local development.

The module implementation has a few notable properties:

* We use an empty C++ shim (mozwer) to build the module DLL. This is
  because the build system doesn't support building DLLs directly from Rust.
* The actual implementation is written in Rust (mozwer-rust) and exposes the
  callbacks that will be invoked by the WER service.
* We use the winapi crate to access Windows native functionality but given it
  is missing some bits (including upstream!) we declare them in our crate for
  the time being.
* The minidump uses the same options we use in Firefox and should be of
  similar size. I manually tested different type of crashes including
  __fastail() ones and they're all reliably captured.
* The .extra file contains only the annotations that are strictly required for
  submitting the crash to crash-stats.mozilla.org. More should be added in the
  future. The existing annotations are all extracted from within the module
  code because we have no way to access the ones that were stored in Firefox'
  crashed processes (nor should we, since we hope to catch crashes that happen
  even before Firefox sets up crash reporting internally).
* The module does not distinguish between main process and content process
  crashes at the moment. This will need to be implemented when we hook it up
  with the crash reporting code within Firefox.
* We use libc's time() function to get the crash time in order to be consistent
  with what the regular exception handler does.

Differential Revision: https://phabricator.services.mozilla.com/D101708
2021-04-07 07:55:23 +00:00
Henri Sivonen b98488aa92 Bug 673087 - Honor encoding declared via XML declaration in text/html. r=emk
Differential Revision: https://phabricator.services.mozilla.com/D107806
2021-03-23 09:52:04 +00:00
Jamie Nicol 9b9b862e65 Bug 1507074 - Update glslopt-rs to add support for GL_OES_EGL_image_external. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D108907
2021-03-18 18:31:25 +00:00
Kershaw Chang f5610eabae Bug 1699463 - Update neqo to v0.4.23 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108961
2021-03-18 16:18:27 +00:00
Jan-Erik Rediger e9bbd20895 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 11:21:27 +00:00
Narcis Beleuzu e152e9b4ca Backed out 3 changesets (bug 1678567, bug 1698518) for bustages on common_test.rs CLOSED TREE
Backed out changeset b270383193ea (bug 1678567)
Backed out changeset eb1a98bea60f (bug 1698518)
Backed out changeset eb28c5405782 (bug 1698518)
2021-03-18 12:59:46 +02:00
Jan-Erik Rediger 98ed1c4f32 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 10:14:58 +00:00
Brindusan Cristian 58b5969968 Backed out 2 changesets (bug 1698438) for windows build bustages. CLOSED TREE
Backed out changeset a27e4101f65f (bug 1698438)
Backed out changeset 257f86638d46 (bug 1698438)
2021-03-17 14:52:27 +02:00
Kershaw Chang cb78102ea6 Bug 1698438 - Neqo version 0.4.22 r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D108750
2021-03-17 12:15:54 +00:00
Dzmitry Malyshau 5249d3e499 Bug 1697509 - Fix WebGPU shaders and adapter limits r=jgilbert
Expose adapter limits, hook up spirv-cross

Differential Revision: https://phabricator.services.mozilla.com/D107840
2021-03-16 22:57:08 +00:00
Yury Delendik 2f5f62242f Bug 1693912 - Renumber SIMD instructions based on final spec. r=rhunt
Renumbers instructions based on final SIMD spec.

Removes I16x8AnyTrue / I32x4AnyTrue

Differential Revision: https://phabricator.services.mozilla.com/D105840
2021-03-12 17:23:54 +00:00
Emilio Cobos Álvarez ba2a3835f3 Bug 1694671 - Downgrade rayon-core to 1.8.1, rayon to 1.4.1. r=jrmuizel
This should help us isolate what rayon changes could've caused this
stability issue on 32-bit windows.

Automatically generated with:

$ cargo update -p rayon --precise 1.4.1 && cargo update -p rayon-core --precise 1.8.1 && ./mach vendor rust

Differential Revision: https://phabricator.services.mozilla.com/D108045
2021-03-12 11:35:08 +00:00
Noemi Erli ad66d64b34 Backed out changeset 689dd6a2949c (bug 1694671) for causing RustMozCrash crashes CLOSED TREE 2021-03-12 02:08:10 +02:00
Emilio Cobos Álvarez 73de425e8d Bug 1694671 - Downgrade rayon-core to 1.8.0, rayon to 1.4.0. r=jrmuizel
This should help us isolate what rayon changes could've caused this
stability issue on 32-bit windows.

Automatically generated with:

$ cargo update -p rayon --precise 1.4.0 && cargo update -p rayon-core --precise 1.8.0 && ./mach vendor rust

Differential Revision: https://phabricator.services.mozilla.com/D108045
2021-03-11 18:23:14 +00:00
Emilio Cobos Álvarez d2b2c7b5e6 Bug 1697847 - Update crossbeam-utils in the tree. r=firefox-build-system-reviewers,mhentges,sheehan
We're already vendoring 0.8 so no reason not to do this. We're still
held back by an ancient tokio version, which I filed bug 1697845 for.

There are no breaking changes that affect any of our internal consumers.

Differential Revision: https://phabricator.services.mozilla.com/D108046
2021-03-11 18:15:44 +00:00
Jon Bauman f8f210ce59 Bug 1696780 - Update mp4parse-rust to 94c3b1f. r=bryce,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D107702
2021-03-09 21:36:31 +00:00
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