Lina Cambridge
add5457732
Bug 1633943 - Support tearing down a Rust `StorageSyncArea`. r=markh
...
This commit wires up `StorageSyncArea::teardown()` to call the new
`webext_storage::Store::close()` method.
It also changes `teardown` to drop the `LazyStore`, and thus close its
database connection, on the main thread if dispatching to the task
queue fails. Dispatch should only fail at shutdown, and putting the
owned reference back only adds indirection, since the `StorageSyncArea`
will still drop its `LazyStore` later in shutdown.
Finally, it includes an xpcshell test fix for
https://github.com/mozilla/application-services/pull/3050 .
Differential Revision: https://phabricator.services.mozilla.com/D72992
2020-04-29 04:35:45 +00:00
Alex Chronopoulos
94ecd85385
Bug 1632093 - mach vendor rust. r=padenot
...
Depends on D72729
Differential Revision: https://phabricator.services.mozilla.com/D72730
2020-04-27 19:11:27 +00:00
Lina Cambridge
e6e665546f
Bug 1626506 - Vendor the `webext_storage` component. r=markh
...
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.
Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 05:40:52 +00:00
Mihai Alexandru Michis
807ec47bae
Backed out 2 changesets (bug 1626506) for causing bustages.
...
CLOSED TREE
Backed out changeset f3deedfe235d (bug 1626506)
Backed out changeset 00b40d247500 (bug 1626506)
2020-04-27 08:11:19 +03:00
Lina Cambridge
a42e765155
Bug 1626506 - Vendor the `webext_storage` component. r=markh
...
Hooray, our first Application Services Rust component! This is a
mechanical run of `mach vendor rust`, split out into its own commit
to make reviewing the Firefox bindings easier.
Differential Revision: https://phabricator.services.mozilla.com/D71895
2020-04-27 02:59:45 +00:00
Tooru Fujisawa
ade632335d
Bug 1632737 - Cover GCThing::Function in match. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D72287
2020-04-24 20:14:22 +00:00
Tooru Fujisawa
0a10fbcaaf
Bug 1631827 - Update jsparagus, use the first script in EmitResult, and store GCThings in SmooshScriptStencil. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D71787
2020-04-22 13:50:43 +00:00
Alex Chronopoulos
6b59c61f22
Bug 1628634 - mach vendor rust. r=padenot
...
Depends on D71929
Differential Revision: https://phabricator.services.mozilla.com/D71930
2020-04-22 12:08:08 +00:00
Paul Adenot
86e2733819
Bug 1631448 - mach vendor rust. r=chunmin,kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D71624
2020-04-20 21:59:17 +00:00
Chun-Min Chang
c0327eb4e1
Bug 1628132 - P3: Update cubeb-coreaudio to 0f62d38. r=kinetik
...
Pick commits:
- 0f62d38: backend: Allow Clippy's cognitive_complexity lint on several functions. (#83 )
- fbf5cbd: Update to cubeb-backend 0.6.3. (#82 )
- b49264b: Remove unknown devices when querying devices in scope (#81 )
Differential Revision: https://phabricator.services.mozilla.com/D70777
--HG--
extra : moz-landing-system : lando
2020-04-14 00:44:24 +00:00
Dzmitry Malyshau
e8a60d2eab
Bug 1624174 - Update wgpu to get the coordinate spaces right r=jgilbert
...
The updated wgpu has the coordinate space fixes.
Depends on
- https://phabricator.services.mozilla.com/D70421
- https://phabricator.services.mozilla.com/D70432
- https://phabricator.services.mozilla.com/D70646
Differential Revision: https://phabricator.services.mozilla.com/D70140
--HG--
rename : third_party/rust/rendy-descriptor/Cargo.toml => third_party/rust/gfx-descriptor/Cargo.toml
rename : third_party/rust/rendy-memory/Cargo.toml => third_party/rust/gfx-memory/Cargo.toml
rename : third_party/rust/rendy-memory/src/allocator/dynamic.rs => third_party/rust/gfx-memory/src/allocator/general.rs
rename : third_party/rust/rendy-memory/src/heaps/heap.rs => third_party/rust/gfx-memory/src/heaps/heap.rs
rename : third_party/rust/rendy-memory/src/utilization.rs => third_party/rust/gfx-memory/src/stats.rs
extra : moz-landing-system : lando
2020-04-13 13:42:15 +00:00
Dzmitry Malyshau
0e42a4799d
Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D70432
--HG--
extra : moz-landing-system : lando
2020-04-11 20:14:41 +00:00
Benjamin Bouvier
0c19028f8f
Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
...
Differential Revision: https://phabricator.services.mozilla.com/D69977
--HG--
extra : moz-landing-system : lando
2020-04-10 09:52:55 +00:00
Mihai Alexandru Michis
5beb91b795
Backed out changeset d91a97562b48 (bug 1628772) for causing failures regarding core-foundation.
...
CLOSED TREE
2020-04-10 03:42:05 +03:00
Dzmitry Malyshau
feed464a5d
Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
...
Differential Revision: https://phabricator.services.mozilla.com/D70432
--HG--
extra : moz-landing-system : lando
2020-04-09 20:57:18 +00:00
Dragana Damjanovic
eb775d698e
Bug 1628459 - Update neqo to 0.2.4 r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D70239
--HG--
extra : moz-landing-system : lando
2020-04-08 21:01:52 +00:00
Sebastian Hengst
b5fa1b7063
Backed out 4 changesets (bug 1626967) for breaking Raptor tests godot-c and wm-c. a=backout
...
Backed out changeset 985eea91c36c (bug 1626967)
Backed out changeset 837dab8ce31c (bug 1626967)
Backed out changeset f48ad40e60af (bug 1626967)
Backed out changeset 29aaf3ff21ea (bug 1626967)
--HG--
extra : amend_source : 8f86b92aa59cde8a0fdc9fec7b9994c79a6f19df
2020-04-08 10:06:47 +02:00
Tooru Fujisawa
be31dc3ce1
Bug 1625823 - Part 1: Update jsparagus and support RegExp. r=yulia
...
Differential Revision: https://phabricator.services.mozilla.com/D69886
--HG--
rename : third_party/rust/jsparagus-emitter/src/scope_pass.rs => third_party/rust/jsparagus-scope/src/context.rs
rename : third_party/rust/jsparagus-emitter/src/scope.rs => third_party/rust/jsparagus-scope/src/data.rs
rename : third_party/rust/jsparagus-emitter/src/frame_slot.rs => third_party/rust/jsparagus-scope/src/frame_slot.rs
extra : moz-landing-system : lando
2020-04-07 13:43:45 +00:00
Benjamin Bouvier
5333bbb793
Bug 1626967: bump Cranelift to 6a68130d5b0296379fae0b8de5fbb8a1499b67a5; r=jseward
...
Differential Revision: https://phabricator.services.mozilla.com/D69977
--HG--
extra : moz-landing-system : lando
2020-04-07 10:43:14 +00:00
Anthony Ramine
42bdec38a0
Bug 1627636 - Vendor mio-named-pipes from crates.io; r=kinetik
...
There is no need to use the Git repository, its only change compared to 0.1.6
is that some random tidbit has been fixed in the README file.
Depends on D69805
Differential Revision: https://phabricator.services.mozilla.com/D69806
--HG--
extra : moz-landing-system : lando
2020-04-07 02:41:07 +00:00
Chun-Min Chang
34ff7578a8
Bug 1627376 - Update cubeb-coreaudio to ea9e5aa. r=padenot
...
Pick commits:
- ea9e5aa: Implement a API to get `groupd_id` with special case handling (#69 )
- d67d4d2: Revise prepush when deleting branch (#76 )
- e5b0f97: Stop test immediately when error happens (#77 )
- 98e59e5: Migrate from travis-ci.org to travis-ci.com
Differential Revision: https://phabricator.services.mozilla.com/D69647
--HG--
extra : moz-landing-system : lando
2020-04-06 12:43:21 +00:00
Chun-Min Chang
ad5358ae60
Bug 1626697 - P2: Update cubeb-coreaudio to 432259a. r=padenot
...
Pick commits:
- 432259a: Run `cargo fmt`
- c9f0499: Revert `derive(Debug)` removal (#75 )
- f9abca8: Replace the custom input linear buffer by something based on ringbuf. (#74 )
- 4eafcc8: Fix the resampler-calling code to use the correct semantic (#71 )
- 828efbc: Merge pull request #72 from ChunMinChang/rm-debug-trait
Differential Revision: https://phabricator.services.mozilla.com/D69250
--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:44 +00:00
Chun-Min Chang
1ae748c840
Bug 1626697 - P1: Update cubeb-pulse to 72f813a. r=padenot
...
Pick commits:
- 72f813a: Fix warning
- f05a33f: Update ringbuf to 0.2
Differential Revision: https://phabricator.services.mozilla.com/D69253
--HG--
extra : moz-landing-system : lando
2020-04-02 01:29:36 +00:00
Dragana Damjanovic
722d96a748
Bug 1626799 - Update Neqo to 0.2.3 r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D69290
--HG--
rename : third_party/rust/neqo-common/src/once.rs => third_party/rust/neqo-crypto/src/once.rs
extra : moz-landing-system : lando
2020-04-01 23:48:22 +00:00
Thom Chiovoloni
5265a52464
Bug 1626125 - Vendor sync15-traits into mozilla-central. r=lina
...
Vendor sync15-traits from application-services.
Differential Revision: https://phabricator.services.mozilla.com/D69099
--HG--
extra : moz-landing-system : lando
2020-04-01 17:04:29 +00:00
Chun-Min Chang
20d8aef23f
Bug 1624485 - Update cubeb-coreaudio to 20daa86. r=padenot
...
Pick commits
- 20daa86: Revise git hooks (#68 )
- 81d0024: Revise `destroy_cubeb_device_info` (#67 )
- 1cc8a31: Add a hook to check that commits are formatted and linted correctly (#66 )
- aa80b3f: Try using the model id as group id. (#64 )
- ab31978: Bail if `cargo clippy` or `cargo fmt` fails (#65 )
- 3860bb3: Fix comments in #57 (#63 )
- ef5f58b: Run `cargo fmt` and make scripts executable (#62 )
- a4c83db: Fix two bugs and add logs (#57 )
Differential Revision: https://phabricator.services.mozilla.com/D68402
--HG--
extra : moz-landing-system : lando
2020-03-26 18:45:47 +00:00
Benjamin Bouvier
e8a9503af3
Bug 1620284 - Bump Cranelift to 5cfcbeb59d477e028c6fb312f1cf63aa711fcc3c; r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D65557
--HG--
extra : moz-landing-system : lando
2020-03-25 14:43:05 +00:00
Chun-Min Chang
4c786bae99
Bug 1619005
- Update cubeb-coreaudio to 799518a. r=padenot
...
Pick commits:
799518a - Rework threading model (#55 )
6e3e8e8 - Fix memory leak (#54 )
996fcfa - Revise messages in test_switch_device
6fac4a6 - Isolate device tests (#53 )
b78e817 - Save the duplicate tests and compilings when running sanitizers (#52 )
Differential Revision: https://phabricator.services.mozilla.com/D67536
--HG--
rename : third_party/rust/cubeb-coreaudio/run_tests.sh => third_party/rust/cubeb-coreaudio/run_device_tests.sh
extra : moz-landing-system : lando
2020-03-20 16:41:27 +00:00
Tooru Fujisawa
4b8433e27b
Bug 1623172 - Part 1: Receive str and allocate String in run_smoosh. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D67227
--HG--
extra : moz-landing-system : lando
2020-03-19 05:32:32 +00:00
Tooru Fujisawa
b213e509fc
Bug 1622036 - Implement scope handling for global and block. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D66627
--HG--
extra : moz-landing-system : lando
2020-03-19 05:32:14 +00:00
Andy Grover
b500f1a581
Bug 1623185 - Update Neqo to 0.2.2 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D67232
--HG--
extra : moz-landing-system : lando
2020-03-17 23:56:48 +00:00
Emilio Cobos Álvarez
62800f568a
Bug 1621044 - Update neqo. r=agrover
...
This pulls a new bindgen version and so on.
See last patch of this bug for the relevant third_party/ code changes.
Differential Revision: https://phabricator.services.mozilla.com/D66280
--HG--
extra : moz-landing-system : lando
2020-03-10 21:04:54 +00:00
Emilio Cobos Álvarez
980c6f3033
Bug 1621044 - Update rkv. r=vporof
...
See last patch of this bug for the third_party/ changes.
Differential Revision: https://phabricator.services.mozilla.com/D66279
--HG--
extra : moz-landing-system : lando
2020-03-10 21:04:51 +00:00
Tooru Fujisawa
04f376ebc4
Bug 1619283 - Use SourceAtomSet/ScriptAtomSet and atomize strings at the beginning. r=nbp
...
Differential Revision: https://phabricator.services.mozilla.com/D65348
--HG--
extra : moz-landing-system : lando
2020-03-09 20:21:07 +00:00
Andreea Pavel
c0adfbbf21
Backed out changeset 4c839456c3ff (bug 1620284) for build bustages on a CLOSED TREE
...
--HG--
extra : amend_source : b632dccf4524a77201507b45b5025d72446e6ef7
2020-03-06 12:33:59 +02:00
Benjamin Bouvier
3b8709ed44
Bug 1620284 - Bump Cranelift to 135a48ca7e9a45d7d31911753e602e6de8b14e2a; r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D65557
--HG--
extra : moz-landing-system : lando
2020-03-05 20:59:42 +00:00
Andy Grover
948bb52d09
Bug 1619375 - Update Neqo to 0.2.0 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D65023
--HG--
extra : moz-landing-system : lando
2020-03-03 17:03:45 +00:00
Tooru Fujisawa
350ed0cf8c
Bug 1612515 - Part 6: Import the SmooshMonkey change from rust-frontend. r=jorendorff,glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D64170
--HG--
extra : moz-landing-system : lando
2020-02-28 14:17:33 +00:00
Chun-Min Chang
eb3b669f6b
Bug 1614971 - Update cubeb-coreaudio to 4acd802. r=padenot
...
Pick commits:
- 4acd802: Destroy the stream properly
- 54d950a: Run the tests in the subcrate (#51 )
- 132d209: Clean up clippy warnings and errors (#49 )
Differential Revision: https://phabricator.services.mozilla.com/D63725
--HG--
extra : moz-landing-system : lando
2020-02-26 15:25:36 +00:00
shravanrn@gmail.com
826acb823b
Bug 1615786 - Fix crash report about wasm library sandbox creation on AMD machines r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63034
--HG--
extra : moz-landing-system : lando
2020-02-17 15:37:27 +00:00
Andy Grover
bb914e65cb
Bug 1614711 - Update to Neqo 0.1.14 for support for QUIC draft 25 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D62655
--HG--
extra : moz-landing-system : lando
2020-02-13 22:18:07 +00:00
Coroiu Cristina
174f1195ec
Backed out changeset b6e7f733e07a (bug 1614711) for build bustages at third_party/rust/neqo-crypto/src/lib.rs ona CLOSED TREE
2020-02-13 20:36:29 +02:00
Andy Grover
fcf649830f
Bug 1614711 - Update to Neqo 0.1.14 for support for QUIC draft 25 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D62655
--HG--
extra : moz-landing-system : lando
2020-02-13 17:56:45 +00:00
Chun-Min Chang
0cd564b0ce
Bug 1613156 - Update cubeb-coreaudio to 7fe03b4. r=padenot
...
Pick commits:
- 7fe03b4: Bail out if the output device has no output channel (#50 )
- ad74bad: Update README
- 3f38b17: Replace `*.get_mut()` by `*.store()` on all the `Atomic*` (#47 )
- b1bc781: Run tests by sanitizers (#46 )
Differential Revision: https://phabricator.services.mozilla.com/D62654
--HG--
extra : moz-landing-system : lando
2020-02-13 15:52:30 +00:00
Benjamin Bouvier
399c0377a9
Bug 1614303 - Bump Cranelift to "98c818c129979e98a3db150f8f9698f6451b7ef7"; r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D62233
--HG--
extra : moz-landing-system : lando
2020-02-10 16:50:57 +00:00
Nathan Froyd
9e0a0b2407
Bug 1614365 - use a git hash for packed_smid; r=hsivonen
...
A hash is better than a branch name.
Differential Revision: https://phabricator.services.mozilla.com/D62279
--HG--
extra : moz-landing-system : lando
2020-02-12 21:18:32 +00:00
Daniel Varga
c1fc568d90
Backed out changeset 848d0ab187f0 (bug 1614711) for causing build bustages with: use of unstable library feature 'mem_take' error
...
CLOSED TREE
2020-02-12 19:23:34 +02:00
Andy Grover
b4d51e52e4
Bug 1614711 - Update Neqo crates to 0.1.13 and draft 25 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D62513
--HG--
extra : moz-landing-system : lando
2020-02-11 23:17:12 +00:00
shravanrn@gmail.com
4fbd7a0f7c
Bug 1610991 - Update rlbox_lucet lib to Mac compatible version r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D61077
--HG--
extra : moz-landing-system : lando
2020-02-12 04:11:49 +00:00
Noemi Erli
cd1cea5a15
Backed out changeset e0e11528ba44 (bug 1610991) for causing failures in test_memory_usage.py CLOSED TREE
2020-02-11 01:11:41 +02:00
shravanrn@gmail.com
81c6fd9ae1
Bug 1610991 - Update rlbox_lucet lib to Mac compatible version r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D61077
--HG--
extra : moz-landing-system : lando
2020-02-10 19:36:43 +00:00
Ryan Hunt
2694c42d68
Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
...
Differential Revision: https://phabricator.services.mozilla.com/D60917
--HG--
extra : moz-landing-system : lando
2020-01-26 04:13:56 +00:00
Matthew Gregan
e49077cae1
Bug 1590249 - Vendor Rust. r=chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D60616
--HG--
extra : moz-landing-system : lando
2020-01-25 22:51:35 +00:00
Dorel Luca
3025fdd0aa
Backed out 5 changesets (bug 1590249) for Build bustage in AudioThreadPriorityError. CLOSED TREE
...
Backed out changeset 301b1a49db9b (bug 1590249)
Backed out changeset c675b890508d (bug 1590249)
Backed out changeset ed1cd65eedae (bug 1590249)
Backed out changeset 0a7873a6b522 (bug 1590249)
Backed out changeset 36f6505b50c9 (bug 1590249)
2020-01-26 00:18:35 +02:00
Matthew Gregan
0e7bf72221
Bug 1590249 - Vendor Rust. r=chunmin
...
Differential Revision: https://phabricator.services.mozilla.com/D60616
--HG--
extra : moz-landing-system : lando
2020-01-25 21:32:34 +00:00
Noemi Erli
796b3ee54c
Backed out 7 changesets (bug 1574865, bug 1611302) for causing bustage in WasmCraneliftCompile.cpp CLOSED TREE
...
Backed out changeset 05de7598585a (bug 1574865)
Backed out changeset f89941b23fce (bug 1574865)
Backed out changeset 242e859e580f (bug 1574865)
Backed out changeset 247e358f4fc7 (bug 1574865)
Backed out changeset bdf099acc592 (bug 1574865)
Backed out changeset 48c545152a47 (bug 1574865)
Backed out changeset a6bd070aa7f2 (bug 1611302)
--HG--
extra : amend_source : dd5db386f287ce1ee2f35d5f4c23bc304a905204
2020-01-24 19:55:47 +02:00
Ryan Hunt
1c7827de77
Bug 1611302 - Update Cranelift to eb20fcab349ce20ac6f8659d1c4b058108d5e627. r=bbouvier
...
Differential Revision: https://phabricator.services.mozilla.com/D60917
--HG--
extra : moz-landing-system : lando
2020-01-24 13:47:41 +00:00
Chun-Min Chang
c7c0492ef0
Bug 1611246 - Update cubeb-coreaudio to 4d8fcc1
. r=padenot
...
Pick commits:
- 4d8fcc1: Update to audio mixer 0.1.2 and fix clippy warnings (#44 )
- dce7ddc: Correct the removal of the aggregate device in the device list (#42 )
- 1423e49: Don't call functions in the assertions (#40 )
- a4a8022: Replace some `assert` by `debug_assert` (#39 )
- a53e94f: Make mixer become a standalone crate (#37 )
- 80978b6: Implement Display trait for StringRef (#36 )
Differential Revision: https://phabricator.services.mozilla.com/D60893
--HG--
rename : third_party/rust/mixer/benches/benchmark.rs => third_party/rust/audio-mixer/benches/benchmark.rs
rename : third_party/rust/mixer/src/channel.rs => third_party/rust/audio-mixer/src/channel.rs
rename : third_party/rust/mixer/src/coefficient.rs => third_party/rust/audio-mixer/src/coefficient.rs
rename : third_party/rust/mixer/src/lib.rs => third_party/rust/audio-mixer/src/lib.rs
rename : third_party/rust/mixer/src/main.rs => third_party/rust/audio-mixer/src/main.rs
extra : moz-landing-system : lando
2020-01-24 16:20:29 +00:00
Ryan Hunt
7609835778
Bug 1610535 - Update Cranelift to 98633eeb0d249efae23ee69ec03dc35b7d9bec17. r=bbouvier
...
Depends on D60873
Differential Revision: https://phabricator.services.mozilla.com/D60874
--HG--
extra : moz-landing-system : lando
2020-01-23 18:41:11 +00:00
Dzmitry Malyshau
df4fc33667
Bug 1596128
- WebGPU compute passes r=jgilbert,webidl,bzbarsky
...
Update third party dependencies
WebGPU command encoder creation
WebGPU CommandBuffer creation and submission
WebGPU Compute pass recording
Differential Revision: https://phabricator.services.mozilla.com/D59896
--HG--
rename : gfx/wgpu/wgpu-core/src/device.rs => gfx/wgpu/wgpu-core/src/device/mod.rs
extra : moz-landing-system : lando
2020-01-22 07:31:51 +00:00
Ryan Hunt
6dd534025d
Bug 1608941 - Bump cranelift to b01bee7c5269f72196b42e8bdd874425166bf429. r=bbouvier
...
Differential Revision: https://phabricator.services.mozilla.com/D60271
--HG--
extra : moz-landing-system : lando
2020-01-20 13:21:55 +00:00
Jan-Erik Rediger
29d536ae9e
Bug 1608157 - Replace failure with a version that doesn't include backtrace by default r=chutten,emilio
...
Some crates in the dependency graph at some point depend on failure,
without disabling its default features, which means they are turned on
for m-c builds.
The default features include the backtrace features, which seems to
cause issues for some m-c builds (like the Windows one).
As we can't turn of default features easily, our next best option is to
use a patched version that doesn't have include backtrace as a default feature.
Original repository: https://github.com/rust-lang-nursery/failure
Base commit: 20f9a9e223
Forked repository: https://github.com/badboy/failure
Branch: no-default-backtrace
New commit: 64af847bc5
Steps to update after adding the patch line:
cargo update -p gkrust-shared
mach vendor rust
Differential Revision: https://phabricator.services.mozilla.com/D59357
--HG--
extra : moz-landing-system : lando
2020-01-10 14:00:39 +00:00
Dragana Damjanovic
8b3ddd9394
Bug 1604683 - Update neqo. r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D59413
--HG--
extra : moz-landing-system : lando
2020-01-09 21:22:11 +00:00
shravanrn@gmail.com
c723d9bc1f
Bug 1606981 - Fix crash in IO redirection in wasm sandbox libs r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D58680
--HG--
extra : moz-landing-system : lando
2020-01-09 15:41:27 +00:00
shravanrn@gmail.com
ff79c2e00a
Bug 1605944 - Update rlbox wasm to version that doesn't break linux asan build tests r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D58344
--HG--
extra : moz-landing-system : lando
2019-12-28 16:19:07 +00:00
Chun-Min Chang
7e8bb1db07
Bug 1605471 - Update cubeb-coreaudio to acb90e9. r=alwu
...
Pick commits:
acb90e9 - Add license for mixer crate
82e7ff9 - Move criterion crate to [dev-dependencies]
f8b7d96 - Implement a new any-to-any mixer (#23 )
ae43813 - Remove the test_set_channel_layout_input (#32 )
9d0a0e8 - Improve device switch tests (#14 )
833a062 - Enable test_ops_stream_register_device_changed_callback (#33 )
Differential Revision: https://phabricator.services.mozilla.com/D58177
--HG--
extra : moz-landing-system : lando
2019-12-27 16:58:18 +00:00
Chun-Min Chang
0b90398bd9
Bug 1603761 - Update cubeb-coreaudio to 868d847. r=padenot
...
Pick commits:
b1ad8b9 - Minor cleanup (#27 )
868d847 - Return error when get_ranges_of_device_sample_rate gives an empty vector (#30 )
Differential Revision: https://phabricator.services.mozilla.com/D57385
--HG--
extra : source : e778231b145d37240127d209643ec4ecd7e5ea9b
2019-12-17 17:12:12 +00:00
Cosmin Sabou
02ff9c4ae8
Backed out changeset e778231b145d (bug 1603761) for causing firefox-ui test failures.
...
--HG--
extra : rebase_source : fc9d9d95ee558b4dae736ab7407b16646d50957a
2019-12-17 21:23:54 +02:00
shravanrn@gmail.com
7376850e95
Bug 1603658, Bug 1604123 - Update rlbox_lucet_sandbox to version which supports disabling static inline thread_locals and specifies explicit dependencies r=froydnj
...
The first bug is needed to work around mingw32's broken support of static inline thread_locals.
Differential Revision: https://phabricator.services.mozilla.com/D57273
--HG--
extra : moz-landing-system : lando
2019-12-17 18:11:47 +00:00
Chun-Min Chang
429dc810ba
Bug 1603761 - Update cubeb-coreaudio to 868d847. r=padenot
...
Pick commits:
b1ad8b9 - Minor cleanup (#27 )
868d847 - Return error when get_ranges_of_device_sample_rate gives an empty vector (#30 )
Differential Revision: https://phabricator.services.mozilla.com/D57385
--HG--
extra : moz-landing-system : lando
2019-12-17 17:12:12 +00:00
Benjamin Bouvier
d890f481f4
Bug 1604120: Bump Cranelift to ec787eb281bb2e18e191508c17abe694e91f0677; r=lth
...
Differential Revision: https://phabricator.services.mozilla.com/D57293
--HG--
extra : moz-landing-system : lando
2019-12-16 14:06:58 +00:00
Mike Hommey
ebb71d178c
Bug 1601859 - Update cubeb-pulse-rs to 8069f8f4189982e0b38fa6dc8993dd4fab41f728. r=kinetik
...
Differential Revision: https://phabricator.services.mozilla.com/D56164
--HG--
extra : moz-landing-system : lando
2019-12-10 15:43:18 +00:00
Mike Hommey
154efe364a
Bug 1601859 - Update cubeb-coreaudio to 5fcbd99e1b7356be1efcdc41654d495bd4c71c8c. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D56163
--HG--
extra : moz-landing-system : lando
2019-12-11 20:57:35 +00:00
Mike Hommey
7f4fff1db4
Bug 1601859 - Vendor cubeb-pulse-rs. r=kinetik
...
This technically breaks mach vendor rust because of the missing
licenses, but this will be fixed subsequently.
Differential Revision: https://phabricator.services.mozilla.com/D56161
--HG--
rename : media/libcubeb/cubeb-pulse-rs/AUTHORS => third_party/rust/cubeb-pulse/AUTHORS
rename : media/libcubeb/cubeb-pulse-rs/Cargo.toml => third_party/rust/cubeb-pulse/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/LICENSE => third_party/rust/cubeb-pulse/LICENSE
rename : media/libcubeb/cubeb-pulse-rs/README.md => third_party/rust/cubeb-pulse/README.md
rename : media/libcubeb/cubeb-pulse-rs/src/backend/context.rs => third_party/rust/cubeb-pulse/src/backend/context.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/cork_state.rs => third_party/rust/cubeb-pulse/src/backend/cork_state.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/intern.rs => third_party/rust/cubeb-pulse/src/backend/intern.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/mod.rs => third_party/rust/cubeb-pulse/src/backend/mod.rs
rename : media/libcubeb/cubeb-pulse-rs/src/backend/stream.rs => third_party/rust/cubeb-pulse/src/backend/stream.rs
rename : media/libcubeb/cubeb-pulse-rs/src/capi.rs => third_party/rust/cubeb-pulse/src/capi.rs
rename : media/libcubeb/cubeb-pulse-rs/src/lib.rs => third_party/rust/cubeb-pulse/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/Cargo.toml => third_party/rust/pulse-ffi/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_funcs.rs => third_party/rust/pulse-ffi/src/ffi_funcs.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_types.rs => third_party/rust/pulse-ffi/src/ffi_types.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/lib.rs => third_party/rust/pulse-ffi/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/Cargo.toml => third_party/rust/pulse/Cargo.toml
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/context.rs => third_party/rust/pulse/src/context.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/error.rs => third_party/rust/pulse/src/error.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/lib.rs => third_party/rust/pulse/src/lib.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/mainloop_api.rs => third_party/rust/pulse/src/mainloop_api.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/operation.rs => third_party/rust/pulse/src/operation.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/proplist.rs => third_party/rust/pulse/src/proplist.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/stream.rs => third_party/rust/pulse/src/stream.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/threaded_mainloop.rs => third_party/rust/pulse/src/threaded_mainloop.rs
rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/util.rs => third_party/rust/pulse/src/util.rs
extra : moz-landing-system : lando
2019-12-11 20:57:35 +00:00
Mike Hommey
1c4ef0191c
Bug 1601859 - Vendor cubeb-coreaudio. r=padenot
...
This technically breaks mach vendor rust because of the missing
licenses, but this will be fixed subsequently.
Differential Revision: https://phabricator.services.mozilla.com/D56160
--HG--
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/Cargo.toml => third_party/rust/coreaudio-sys-utils/Cargo.toml
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/aggregate_device.rs => third_party/rust/coreaudio-sys-utils/src/aggregate_device.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/audio_object.rs => third_party/rust/coreaudio-sys-utils/src/audio_object.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/audio_unit.rs => third_party/rust/coreaudio-sys-utils/src/audio_unit.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/cf_mutable_dict.rs => third_party/rust/coreaudio-sys-utils/src/cf_mutable_dict.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/dispatch.rs => third_party/rust/coreaudio-sys-utils/src/dispatch.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/lib.rs => third_party/rust/coreaudio-sys-utils/src/lib.rs
rename : media/libcubeb/cubeb-coreaudio-rs/coreaudio-sys-utils/src/string.rs => third_party/rust/coreaudio-sys-utils/src/string.rs
rename : media/libcubeb/cubeb-coreaudio-rs/Cargo.toml => third_party/rust/cubeb-coreaudio/Cargo.toml
rename : media/libcubeb/cubeb-coreaudio-rs/LICENSE => third_party/rust/cubeb-coreaudio/LICENSE
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/aggregate_device.rs => third_party/rust/cubeb-coreaudio/src/backend/aggregate_device.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/auto_array.rs => third_party/rust/cubeb-coreaudio/src/backend/auto_array.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/auto_release.rs => third_party/rust/cubeb-coreaudio/src/backend/auto_release.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/device_property.rs => third_party/rust/cubeb-coreaudio/src/backend/device_property.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/mixer.rs => third_party/rust/cubeb-coreaudio/src/backend/mixer.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/mod.rs => third_party/rust/cubeb-coreaudio/src/backend/mod.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/resampler.rs => third_party/rust/cubeb-coreaudio/src/backend/resampler.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/backend/utils.rs => third_party/rust/cubeb-coreaudio/src/backend/utils.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/capi.rs => third_party/rust/cubeb-coreaudio/src/capi.rs
rename : media/libcubeb/cubeb-coreaudio-rs/src/lib.rs => third_party/rust/cubeb-coreaudio/src/lib.rs
extra : moz-landing-system : lando
2019-12-10 15:43:17 +00:00
Ryan Hunt
4a24438b07
Bug 1599517 - Update cranelift to 4727b70b67abfa4f3ae1c276454a0da7a76e1d49. r=bbouvier
...
Just the results of ./mach vendor rust.
Depends on D56318
Differential Revision: https://phabricator.services.mozilla.com/D56319
--HG--
extra : moz-landing-system : lando
2019-12-09 14:04:31 +00:00
Emilio Cobos Álvarez
8975d3be2f
Bug 1601823 - Use pkcs11 just-released 0.4.1. r=glandium
...
Removes our custom git dep and a duplicate libloading.
Differential Revision: https://phabricator.services.mozilla.com/D56107
--HG--
extra : moz-landing-system : lando
2019-12-06 00:25:52 +00:00
Andy Grover
d51d3cc964
Bug 1601070 - update Neqo to 0.1.7 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D55731
--HG--
extra : moz-landing-system : lando
2019-12-05 18:44:09 +00:00
Benjamin Bouvier
ac52ddb216
Bug 1601233: Output of mach vendor rust r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D55791
--HG--
extra : moz-landing-system : lando
2019-12-05 04:26:50 +00:00
Emilio Cobos Álvarez
1d77c9e9e8
Bug 1601512 - Point the pkcs11 dependency to the upstream repo. r=glandium
...
I messed up and deleted my own fork once my PR was merged, given the owner said
they would do a release.
Differential Revision: https://phabricator.services.mozilla.com/D55894
--HG--
extra : moz-landing-system : lando
2019-12-05 01:25:51 +00:00
Emilio Cobos Álvarez
b0f38aab88
Bug 1600433 - Update pkcs11 to get rid of rustc-serialize and old rand version. r=keeler
...
I want to start updating gecko to rand 0.7, and it'd be silly having three rand
versions in tree.
This uses my git repo while I wait for upstream to merge my PR
(https://github.com/mheese/rust-pkcs11/pull/16 ).
That PR is the only difference from upstream.
Differential Revision: https://phabricator.services.mozilla.com/D55351
--HG--
rename : third_party/rust/num-bigint/src/tests/bigint.rs => third_party/rust/num-bigint/tests/bigint.rs
rename : third_party/rust/num-bigint/src/tests/biguint.rs => third_party/rust/num-bigint/tests/biguint.rs
extra : moz-landing-system : lando
2019-12-04 19:13:52 +00:00
Benjamin Bouvier
31b8bd6c3e
Bug 1597989: Output of mach rust vendor for the Cranelift bump; r=rhunt
...
Differential Revision: https://phabricator.services.mozilla.com/D53964
--HG--
rename : third_party/rust/target-lexicon/host.rs => third_party/rust/target-lexicon-0.8.1/host.rs
rename : third_party/rust/target-lexicon/sorted.txt => third_party/rust/target-lexicon-0.8.1/sorted.txt
extra : moz-landing-system : lando
2019-12-03 15:28:28 +00:00
Dzmitry Malyshau
52a541dee8
Bug 1600792 - Fix objc_exception dependency
...
Differential Revision: https://phabricator.services.mozilla.com/D55571
--HG--
extra : moz-landing-system : lando
2019-12-02 22:30:51 +00:00
Dragana Damjanovic
808438384e
Bug 1596069 - Update neqo to version 0.1.6 r=agrover
...
Differential Revision: https://phabricator.services.mozilla.com/D53327
--HG--
extra : moz-landing-system : lando
2019-11-17 03:30:04 +00:00
Victor Porof
5e32e89575
Bug 1596642 - Use `rev` instead of both `branch` and `tag` for specifying rkv dependency version, r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D53152
--HG--
extra : moz-landing-system : lando
2019-11-16 10:58:34 +00:00
Jonathan Kew
9f628e9a75
Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D49967
--HG--
extra : moz-landing-system : lando
2019-11-14 14:07:23 +00:00
Dzmitry Malyshau
1c5b01ed15
Bug 1575008 - WebGPU implementation basis r=baku,bzbarsky
...
This change vendors `wgpu` library in-tree and hooks up the initialization bits. It implements adapter and device initialization and adds a simple test.
Complementary ecosystem tracker - https://github.com/gfx-rs/wgpu/issues/374
Current status:
- [x] General
- [x] figure out the IPC story
- [ ] move wgpu crates into a dedicated folder (postponed as https://bugzilla.mozilla.org/show_bug.cgi?id=1594182 )
- [x] neko rebasing disaster
- [x] Linux
- [x] avoid depending on spirv_cross
- [x] macOS
- [x] due to cross-compiling shaders
- [x] need the dependency update
- [x] stop using gcc
- [x] unexpected SSL header collision - https://phabricator.services.mozilla.com/D51148
- [x] undefined Metal symbols
- [x] missing webrtc headers for IPDL magic - https://phabricator.services.mozilla.com/D51558
- [x] spirv-cross linking failure in ASAN - https://phabricator.services.mozilla.com/D52688
- [x] Windows
- [x] due to "ipc-channel" not supporting Windows yet
- [x] due to some exceptional stuff
- [x] undefined symbol: `D3D12CreateDevice`
- [x] d3d12.dll is not found, dxgi1_4 doesn't present
- [x] d3d11.dll and dxgi.dll need to be explicitly loaded on win32 mingw
- [x] libbacktrace fails to link on win32 mingw
- [x] cc mislinking C++ standard library
- [x] Android
- [x] spirv-cross fails to build due to exceptions
Update-1:
We decided to go with IPDL mechanism instead of Rust based ipc-channel (or any alternatives), which unblocks Windows build.
Update-2:
It appears that WebGPUThreading isn't needed any more as the child thread (and its event loop) is now managed by IPDL infrastructure. This PR removes it 🎉 .
Update-3:
InstanceProvider is also removed.
Update-4:
All set, the try is green, waiting for dependent changes to go in.
Differential Revision: https://phabricator.services.mozilla.com/D49458
--HG--
rename : dom/webgpu/Adapter.cpp => dom/webgpu/ipc/WebGPUTypes.h
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/ash/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/atom/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/cocoa/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/cocoa/LICENSE-MIT
rename : third_party/rust/core-graphics/src/lib.rs => third_party/rust/cocoa/src/lib.rs
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/colorful/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/copyless/Cargo.toml
rename : third_party/rust/crossbeam-utils/.cargo-checksum.json => third_party/rust/crossbeam-utils-0.6.5/.cargo-checksum.json
rename : third_party/rust/crossbeam-utils/CHANGELOG.md => third_party/rust/crossbeam-utils-0.6.5/CHANGELOG.md
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/crossbeam-utils-0.6.5/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/crossbeam-utils-0.6.5/LICENSE-MIT
rename : third_party/rust/crossbeam-utils/README.md => third_party/rust/crossbeam-utils-0.6.5/README.md
rename : third_party/rust/crossbeam-utils/benches/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/benches/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/src/atomic/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/src/atomic/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/src/atomic/mod.rs => third_party/rust/crossbeam-utils-0.6.5/src/atomic/mod.rs
rename : third_party/rust/crossbeam-utils/src/backoff.rs => third_party/rust/crossbeam-utils-0.6.5/src/backoff.rs
rename : third_party/rust/crossbeam-utils/src/cache_padded.rs => third_party/rust/crossbeam-utils-0.6.5/src/cache_padded.rs
rename : third_party/rust/crossbeam-utils/src/lib.rs => third_party/rust/crossbeam-utils-0.6.5/src/lib.rs
rename : third_party/rust/crossbeam-utils/src/thread.rs => third_party/rust/crossbeam-utils-0.6.5/src/thread.rs
rename : third_party/rust/crossbeam-utils/tests/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/tests/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/tests/parker.rs => third_party/rust/crossbeam-utils-0.6.5/tests/parker.rs
rename : third_party/rust/crossbeam-utils/tests/sharded_lock.rs => third_party/rust/crossbeam-utils-0.6.5/tests/sharded_lock.rs
rename : third_party/rust/crossbeam-utils/tests/thread.rs => third_party/rust/crossbeam-utils-0.6.5/tests/thread.rs
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/gfx-auxil/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/gfx-backend-empty/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/hibitset/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/hibitset/LICENSE-MIT
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/metal/LICENSE-MIT
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/range-alloc/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/raw-window-handle/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/relevant/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/relevant/LICENSE-MIT
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/rendy-descriptor/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/shared_library/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/shared_library/LICENSE-MIT
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/storage-map/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/x11/Cargo.toml
extra : moz-landing-system : lando
2019-11-14 04:59:56 +00:00
Gurzau Raul
6831800684
Backed out changeset f0968dabe1ff (bug 1590167) for build bustage at force-cargo-library-build on a CLOSED TREE.
2019-11-14 01:24:59 +02:00
Jonathan Kew
7bb39d9e94
Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D49967
--HG--
extra : moz-landing-system : lando
2019-11-13 22:11:22 +00:00
Victor Porof
e6fd5300ec
Bug 1594995 - Part 3: Vendor newly added rust dependencies, r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D52318
--HG--
rename : third_party/rust/rkv/Cargo.lock => third_party/rust/rkv-0.10.2/Cargo.lock
extra : moz-landing-system : lando
2019-11-13 11:52:46 +00:00
Victor Porof
3f5b086638
Bug 1594995 - Part 1: Update neqo dependencies to specify a rev instead of a version, and run `./mach vendor rust` on a clean central tip, r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D52316
--HG--
extra : moz-landing-system : lando
2019-11-13 11:52:15 +00:00
Gurzau Raul
1e2ebb9f42
Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE.
...
Backed out changeset 4d16c3d62cfc (bug 1575008)
Backed out changeset 97b8c3759aae (bug 1590167)
2019-11-13 21:38:23 +02:00
Dzmitry Malyshau
b074f1cf4e
Bug 1575008 - WebGPU implementation basis r=baku,bzbarsky
...
This change vendors `wgpu` library in-tree and hooks up the initialization bits. It implements adapter and device initialization and adds a simple test.
Complementary ecosystem tracker - https://github.com/gfx-rs/wgpu/issues/374
Current status:
- [x] Architecture
- [x] figure out the IPC story
- [ ] move wgpu crates into a dedicated folder (postponed as https://bugzilla.mozilla.org/show_bug.cgi?id=1594182 )
- [x] Linux
- [x] avoid depending on spirv_cross
- [x] macOS
- [x] due to cross-compiling shaders
- [x] need the dependency update
- [x] stop using gcc
- [x] unexpected SSL header collision - https://phabricator.services.mozilla.com/D51148
- [x] undefined Metal symbols
- [x] missing webrtc headers for IPDL magic - https://phabricator.services.mozilla.com/D51558
- [x] spirv-cross linking failure in ASAN - https://phabricator.services.mozilla.com/D52688
- [x] Windows
- [x] due to "ipc-channel" not supporting Windows yet
- [x] due to some exceptional stuff
- [x] undefined symbol: `D3D12CreateDevice`
- [x] d3d12.dll is not found, dxgi1_4 doesn't present
- [x] d3d11.dll and dxgi.dll need to be explicitly loaded on win32 mingw
- [x] libbacktrace fails to link on win32 mingw
- [x] cc mislinking C++ standard library
- [x] Android
- [x] spirv-cross fails to build due to exceptions
Update-1:
We decided to go with IPDL mechanism instead of Rust based ipc-channel (or any alternatives), which unblocks Windows build.
Update-2:
It appears that WebGPUThreading isn't needed any more as the child thread (and its event loop) is now managed by IPDL infrastructure. This PR removes it 🎉 .
Update-3:
InstanceProvider is also removed.
Update-4:
All set, the try is green, waiting for dependent changes to go in.
Differential Revision: https://phabricator.services.mozilla.com/D49458
--HG--
rename : dom/webgpu/Adapter.cpp => dom/webgpu/ipc/WebGPUTypes.h
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/ash/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/atom/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/cocoa/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/cocoa/LICENSE-MIT
rename : third_party/rust/core-graphics/src/lib.rs => third_party/rust/cocoa/src/lib.rs
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/colorful/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/copyless/Cargo.toml
rename : third_party/rust/crossbeam-utils/.cargo-checksum.json => third_party/rust/crossbeam-utils-0.6.5/.cargo-checksum.json
rename : third_party/rust/crossbeam-utils/CHANGELOG.md => third_party/rust/crossbeam-utils-0.6.5/CHANGELOG.md
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/crossbeam-utils-0.6.5/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/crossbeam-utils-0.6.5/LICENSE-MIT
rename : third_party/rust/crossbeam-utils/README.md => third_party/rust/crossbeam-utils-0.6.5/README.md
rename : third_party/rust/crossbeam-utils/benches/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/benches/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/src/atomic/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/src/atomic/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/src/atomic/mod.rs => third_party/rust/crossbeam-utils-0.6.5/src/atomic/mod.rs
rename : third_party/rust/crossbeam-utils/src/backoff.rs => third_party/rust/crossbeam-utils-0.6.5/src/backoff.rs
rename : third_party/rust/crossbeam-utils/src/cache_padded.rs => third_party/rust/crossbeam-utils-0.6.5/src/cache_padded.rs
rename : third_party/rust/crossbeam-utils/src/lib.rs => third_party/rust/crossbeam-utils-0.6.5/src/lib.rs
rename : third_party/rust/crossbeam-utils/src/thread.rs => third_party/rust/crossbeam-utils-0.6.5/src/thread.rs
rename : third_party/rust/crossbeam-utils/tests/atomic_cell.rs => third_party/rust/crossbeam-utils-0.6.5/tests/atomic_cell.rs
rename : third_party/rust/crossbeam-utils/tests/parker.rs => third_party/rust/crossbeam-utils-0.6.5/tests/parker.rs
rename : third_party/rust/crossbeam-utils/tests/sharded_lock.rs => third_party/rust/crossbeam-utils-0.6.5/tests/sharded_lock.rs
rename : third_party/rust/crossbeam-utils/tests/thread.rs => third_party/rust/crossbeam-utils-0.6.5/tests/thread.rs
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/gfx-auxil/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/gfx-backend-empty/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/hibitset/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/hibitset/LICENSE-MIT
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/metal/LICENSE-MIT
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/range-alloc/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/raw-window-handle/Cargo.toml
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/relevant/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/relevant/LICENSE-MIT
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/rendy-descriptor/Cargo.toml
rename : third_party/rust/uluru/Cargo.toml => third_party/rust/shared_library/Cargo.toml
rename : third_party/rust/crossbeam-deque/LICENSE-MIT => third_party/rust/shared_library/LICENSE-MIT
rename : third_party/rust/blake2b_simd/Cargo.toml => third_party/rust/storage-map/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/x11/Cargo.toml
extra : moz-landing-system : lando
2019-11-13 12:48:33 +00:00
Jonathan Kew
62b6903f65
Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D49967
--HG--
extra : moz-landing-system : lando
2019-11-12 12:05:24 +00:00
shravanrn@gmail.com
06e7d3e8d0
Bug 1576051 - Vendor the the RLBox Lucet sandbox library and its dependencies r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D43709
--HG--
extra : moz-landing-system : lando
2019-11-11 09:19:52 +00:00
Csoregi Natalia
2a4ef535b5
Backed out changeset 0ecfae072196 (bug 1590167) for reftest failures on 1507661-spurious-hyphenation-after-explicit.htm. CLOSED TREE
2019-11-08 23:41:05 +02:00
Jonathan Kew
c01eaab5f5
Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D49967
--HG--
extra : moz-landing-system : lando
2019-11-08 17:33:48 +00:00
Mihai Alexandru Michis
129577da8f
Backed out changeset 14e64e208672 (bug 1590167) for causing failures in spurious-hyphenation-after-explicit.html and nsHyphenator.cpp
2019-11-08 15:38:44 +02:00
Jonathan Kew
09fc119a12
Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D49967
--HG--
extra : moz-landing-system : lando
2019-11-08 12:33:23 +00:00
Narcis Beleuzu
45a3b83fc8
Backed out changeset cbec8a55a1bb (bug 1575008) for build bustages (Bof). CLOSED TREE
...
--HG--
rename : third_party/rust/arrayvec-0.4.11/build.rs => third_party/rust/arrayvec/build.rs
rename : third_party/rust/arrayvec-0.4.11/src/maybe_uninit_nodrop.rs => third_party/rust/arrayvec/src/maybe_uninit_nodrop.rs
rename : third_party/rust/arrayvec-0.4.11/src/maybe_uninit_stable.rs => third_party/rust/arrayvec/src/maybe_uninit_stable.rs
rename : third_party/rust/arrayvec-0.4.11/src/range.rs => third_party/rust/arrayvec/src/range.rs
2019-11-05 23:22:40 +02:00