Commit Graph

404 Commits

Author SHA1 Message Date
Mihai Alexandru Michis
042e17b5c6 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
db28a72a95 Bug 1626506 - Add a binding for the new extension storage Rust component. r=markh
The `webext_storage_bridge` crate introduced in this commit bridges the
`mozIExtensionStorageArea` XPCOM interface to the `webext_storage` Rust
component from Application Services.

This commit factors out the following parts from bug 1623245, so that
we can land them piecemeal:

* The `mozIExtensionStorageArea` interfaces, which implement all the
  methods needed to support the `storage.sync` API.
* A Rust implementation of the above, in `StorageSyncArea`.
* A `StorageTask` type, for dispatching storage operations to a
  background task queue.
* A `LazyStore`, which wraps the Rust component's `Store` and lazily
  initializes it on the background queue the first time it's used.
* A `StorageSyncService`, which is our singleton. It holds on to a
  configured `StorageSyncArea`, and hands out references to it via
  `getInterface`. Eventually, we'll extend this to support syncing,
  too.

Differential Revision: https://phabricator.services.mozilla.com/D71897
2020-04-27 03:23:46 +00:00
Lina Cambridge
5583f83024 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
Thom Chiovoloni
18dd878398 Bug 1632575 - Update vendored rusqlite to 0.23.1 r=lina
Differential Revision: https://phabricator.services.mozilla.com/D72439
2020-04-24 20:43:34 +00:00
Dzmitry Malyshau
f5db302a99 Bug 1630813 - Remove gfx/wgpu/wgpu-native, move wgpu-remote out into gfx/wgpu_bindings r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D71699
2020-04-22 15:35:13 +00:00
Alex Chronopoulos
ad2c24a51b Bug 1628634 - Update cubeb-pulse-rs. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D71929
2020-04-22 12:07:56 +00:00
Paul Adenot
9ebd16b6a1 Bug 1631448 - Udpate cubeb-pulse-rs and cubeb-coreaudio-rs. r=kinetik,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D71623
2020-04-21 07:03:32 +00:00
Chun-Min Chang
2078d9722f 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
2020-04-14 00:44:24 +00:00
Dzmitry Malyshau
dc79ef8a06 Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432
2020-04-11 20:14:41 +00:00
Thom Chiovoloni
92f1e24ee4 Bug 1628447 - Bump vendored rusqlite version to 0.22.0 r=lina
This gets us off the prerelease.

Differential Revision: https://phabricator.services.mozilla.com/D70434
2020-04-10 20:55:16 +00:00
Mihai Alexandru Michis
95292d5b1e Backed out changeset d91a97562b48 (bug 1628772) for causing failures regarding core-foundation.
CLOSED TREE
2020-04-10 03:42:05 +03:00
Dzmitry Malyshau
c22e47bbe3 Bug 1628772 - Update core-foundation dependency to 0.7 r=kats
Differential Revision: https://phabricator.services.mozilla.com/D70432
2020-04-09 20:57:18 +00:00
Thom Chiovoloni
7892491b0b Bug 1626323 - Vendor rusqlite into mozilla-central. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70109
2020-04-07 22:13:51 +00:00
Chun-Min Chang
b0ce282f40 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
2020-04-06 12:43:21 +00:00
Chun-Min Chang
5395310f7e 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
2020-04-02 01:29:44 +00:00
Chun-Min Chang
666697bf48 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
2020-04-02 01:29:36 +00:00
Thom Chiovoloni
0ae72dcfae Bug 1626125 - Vendor sync15-traits into mozilla-central. r=lina
Vendor sync15-traits from application-services.

Differential Revision: https://phabricator.services.mozilla.com/D69099
2020-04-01 17:04:29 +00:00
Jan-Erik Rediger
c169e8ca52 Bug 1623300 - Replace fogotype with the actual FOG crate now. r=chutten
This also upgrades the vendored Glean version, which thanks to our
upstream work doesn't change anything else (except one small
Mozilla-developed dependency)

It's still feature-gated to nightly.
In C++ there's now a `MOZ_GLEAN` define.
For Rust it's behind the `glean` feature (enabled on nightly only).
The `fog` crate is empty, so no Glean is actually instantiated.

Differential Revision: https://phabricator.services.mozilla.com/D68539
2020-03-31 08:24:40 +00:00
Razvan Maries
e144613827 Backed out 6 changesets (bug 1623300, bug 1623306) for build bustages. CLOSED TREE
Backed out changeset 5267e6e2015d (bug 1623300)
Backed out changeset 45fadf903140 (bug 1623300)
Backed out changeset 46949083a8c8 (bug 1623306)
Backed out changeset cbcb3bb23090 (bug 1623300)
Backed out changeset c04dbe8dd337 (bug 1623300)
Backed out changeset d2673451da54 (bug 1623300)
2020-03-31 11:19:31 +03:00
Jan-Erik Rediger
7c9cb14844 Bug 1623300 - Replace fogotype with the actual FOG crate now. r=chutten
This also upgrades the vendored Glean version, which thanks to our
upstream work doesn't change anything else (except one small
Mozilla-developed dependency)

It's still feature-gated to nightly.
In C++ there's now a `MOZ_GLEAN` define.
For Rust it's behind the `glean` feature (enabled on nightly only).
The `fog` crate is empty, so no Glean is actually instantiated.

Differential Revision: https://phabricator.services.mozilla.com/D68539
2020-03-30 19:09:43 +00:00
Chun-Min Chang
7e03aca90f 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
2020-03-26 18:45:47 +00:00
Chun-Min Chang
bd48f5eb61 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
2020-03-20 16:41:27 +00:00
Zibi Braniecki
eaf3919b04 Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323
2020-03-11 15:42:33 +00:00
Zibi Braniecki
389a9912cd Bug 1560038 - Vendor in fluent-rc. r=emilio 2020-03-11 08:45:00 +02:00
Dorel Luca
c6a854c77a Backed out changeset 3acb7c2cdc30 (bug 1560038) for build bustages 2020-03-11 07:33:40 +02:00
Zibi Braniecki
265fae248b Bug 1560038 - Vendor in fluent-rs. 2020-03-11 07:21:26 +02:00
Daniel Varga
0180f593ea Backed out 9 changesets (bug 1560038) for causing build bustage
CLOSED TREE

Backed out changeset 12069dae9b8d (bug 1560038)
Backed out changeset a0845cf79487 (bug 1560038)
Backed out changeset dc2406d01a63 (bug 1560038)
Backed out changeset 1b11616a5ee5 (bug 1560038)
Backed out changeset 06cdc27a39a7 (bug 1560038)
Backed out changeset a390456d9d26 (bug 1560038)
Backed out changeset 7e3d839a3e9d (bug 1560038)
Backed out changeset 0678db762fed (bug 1560038)
Backed out changeset 3b9b16532bf3 (bug 1560038)
2020-03-11 04:53:10 +02:00
Zibi Braniecki
4bbc62d4f9 Bug 1560038 - Add FluentResource.
Differential Revision: https://phabricator.services.mozilla.com/D54323

Depends on D56641
2020-03-10 20:05:06 +02:00
Zibi Braniecki
3ad62fe686 Bug 1560038 - Vendor in fluent-rs.
Differential Revision: https://phabricator.services.mozilla.com/D56641

Depends on D58858
2020-03-10 20:05:06 +02:00
Emilio Cobos Álvarez
ffea085391 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
2020-03-10 21:04:51 +00:00
J.C. Jones
b434ac8c64 Bug 1621346 - Update Authenticator-rs to 0.2.10 to add MIPS64 and S390X support r=kjacobs
Differential Revision: https://phabricator.services.mozilla.com/D66267
2020-03-10 19:28:27 +00:00
Daniel Varga
ffb0dc1a40 Backed out 9 changesets (bug 1560038) for causing build bustages.
CLOSED TREE

Backed out changeset 350df98095f8 (bug 1560038)
Backed out changeset 56dd15fbeced (bug 1560038)
Backed out changeset 570aa7aaceb5 (bug 1560038)
Backed out changeset fc4da4a1c192 (bug 1560038)
Backed out changeset 7c69b0e5fd93 (bug 1560038)
Backed out changeset 1caf41590caf (bug 1560038)
Backed out changeset b4bf28bec6a8 (bug 1560038)
Backed out changeset e923de659c2b (bug 1560038)
Backed out changeset 7f1be4424898 (bug 1560038)
2020-03-10 22:22:40 +02:00
Zibi Braniecki
59edf5f64e Bug 1560038 - Add FluentResource. r=emilio,smaug
Differential Revision: https://phabricator.services.mozilla.com/D54323
2020-03-10 18:05:06 +00:00
Zibi Braniecki
d3ee538b6f Bug 1560038 - Vendor in fluent-rs. r=fluent-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D56641
2020-03-10 18:05:06 +00:00
Tooru Fujisawa
082768608d Bug 1612515 - Part 6: Import the SmooshMonkey change from rust-frontend. r=jorendorff,glandium
Differential Revision: https://phabricator.services.mozilla.com/D64170
2020-02-28 14:17:33 +00:00
Chun-Min Chang
cdbbd9843b 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
2020-02-26 15:25:36 +00:00
Sylvestre Ledru
ad86d79e07 Bug 1617369 - Reformat toolkit/crashreporter/ & toolkit/library/rust/ using rustfmt r=gsvelto
Depends on D63952

Differential Revision: https://phabricator.services.mozilla.com/D63955
2020-02-25 07:44:53 +00:00
Matthew Gregan
2f6f1bb6de Bug 1612512 - Update to audio_thread_priority 0.22. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D62664
2020-02-13 10:28:09 +00:00
Chun-Min Chang
8059b9498e 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
2020-02-13 15:52:30 +00:00
Zibi Braniecki
30aefb9d7e Bug 1612096 - Update unic-langid && fluent-langneg. r=jfkthame,manishearth
Differential Revision: https://phabricator.services.mozilla.com/D61222
2020-02-06 17:05:32 +00:00
Chris Manchester
a8d652bd85 Bug 1605188 - Bump oom hook version for rustc 1.41.0. r=froydnj
Depends on D61042

Differential Revision: https://phabricator.services.mozilla.com/D62365
2020-02-11 19:10:05 +00:00
Cosmin Sabou
2382025166 Backed out 2 changesets (bug 1605188) for causing valgrind bustages. CLOSED TREE
Backed out changeset 1415d9d73a9b (bug 1605188)
Backed out changeset 802aa1e10c54 (bug 1605188)
2020-02-12 01:32:11 +02:00
Chris Manchester
cb1612a8e4 Bug 1605188 - Bump oom hook version for rustc 1.41.0. r=froydnj
Depends on D61042

Differential Revision: https://phabricator.services.mozilla.com/D62365
2020-02-11 19:10:05 +00:00
Dorel Luca
d1aa8a9b2a 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
799ed66408 Bug 1590249 - Vendor Rust. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D60616
2020-01-25 21:32:34 +00:00
Chun-Min Chang
ae2a02c965 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
2020-01-24 16:20:29 +00:00
J.C. Jones
fa6a4254b9 Bug 1609997 - Upgrade to authenticator 0.2.9 (OpenBSD support, packet collision fix) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D60302
2020-01-22 05:00:52 +00:00
Noemi Erli
aa6cd0813e Backed out changeset 6fbcddb6636e (bug 1609997) for causinf build bustages CLOSED TREE 2020-01-22 02:38:36 +02:00
J.C. Jones
f1cd32d47c Bug 1609997 - Upgrade to authenticator 0.2.8 (OpenBSD support, packet collision fix) r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D60302
2020-01-21 23:55:19 +00:00
Chun-Min Chang
478b13a884 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
2019-12-27 16:58:18 +00:00