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

201 Коммитов

Автор SHA1 Сообщение Дата
Thom Chiovoloni b3cbb2b28e Bug 1629127 - Add sync telemetry for storage.sync migration r=lina,extension-reviewers,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D78573
2020-06-10 22:29:02 +00:00
Andy Grover 2475b7008d Bug 1644532 - Update to Neqo 0.4.1 r=dragana,necko-reviewers
Default to using draft 27.

Differential Revision: https://phabricator.services.mozilla.com/D78960
2020-06-09 19:39:47 +00:00
Paul Adenot ddca94efc1 Bug 1644362 - mach vendor rust. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D78871
2020-06-09 13:17:38 +00:00
Razvan Maries 0ce303cbe3 Backed out changeset b6b48c37ab0c (bug 1644362) for SM Bustages. CLOSED TREE 2020-06-09 13:49:45 +03:00
Paul Adenot 1185075aa8 Bug 1644362 - Update cubeb-coreaudio-rs to 4cdbceadae8. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D78871
2020-06-09 10:24:41 +00:00
Tooru Fujisawa 447cb4a153 Bug 1644117 - Update jsparagus to use JSOp::ToPropertyKey. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D78685
2020-06-08 14:43:49 +00:00
Corentin Arnould a1659c9e19 Bug 1644080 - mach vendor rust. r=cubeb-reviewers,padenot
Depends on D78664

Differential Revision: https://phabricator.services.mozilla.com/D78665
2020-06-08 13:14:26 +00:00
Tooru Fujisawa 2c4cbe5c6f Bug 1643632 - Use BaseScopeData. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D78475
2020-06-05 10:34:56 +00:00
Tooru Fujisawa 654c97a626 Bug 1643044 - Use bumpalo 3.4.0. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D78079
2020-06-05 11:04:23 +00:00
Andy Grover 95b90fb23e Bug 1633006 - Update to Neqo 0.4.0 r=dragana,necko-reviewers
Document qlog uses 2 clause bsd license.

Adapt to API changes in glue and http3server

Differential Revision: https://phabricator.services.mozilla.com/D77903
2020-06-02 21:28:31 +00:00
Mark Hammond 6abadd577b Bug 1639449 - Vendor new application-services to expose kinto migration and sync change notifications. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76092
2020-05-30 02:44:07 +00:00
Tooru Fujisawa ff738e2546 Bug 1639772 - Update jsparagus and use ImmutableScriptFlags directly. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D76267
2020-05-29 13:30:51 +00:00
Paul Adenot 2c64853b8e Bug 1638801 - mach vendor rust r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D75776
2020-05-28 09:54:57 +00:00
Tooru Fujisawa fb93b18ec1 Bug 1639073 - Update jsparagus and use stencil crate. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D75881
2020-05-20 17:34:02 +00:00
Tooru Fujisawa 2ac5bccc9b Bug 1638470 - Update jsparagus, and update SmooshMonkey to store atoms in gcthings. r=yulia
Differential Revision: https://phabricator.services.mozilla.com/D75711
2020-05-19 17:30:32 +00:00
Dzmitry Malyshau 6c3a233284 Bug 1636068 - Update spirv-cross to 0.20.0 r=groves
This change updates spirv-cross to a new version.
Unlike the previous one, it now points to a SPIRV-Cross submodule in
https://github.com/kvark/SPIRV-Cross behind "gecko3" branch, which will guarantee the rev
to be accessible.

Differential Revision: https://phabricator.services.mozilla.com/D75648
2020-05-16 02:27:33 +00:00
Edouard Oger 0ab8afdce0 Bug 1631630 p1 - Vendor fxa-client crate. r=rfkelly,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D71851
2020-05-16 01:07:28 +00:00
Noemi Erli cac2780d42 Backed out 2 changesets (bug 1631630) for causing mass braoser chrome failures CLOSED TREE
Backed out changeset 9b8606a93c75 (bug 1631630)
Backed out changeset d57ea5d1921f (bug 1631630)
2020-05-16 02:16:33 +03:00
Edouard Oger 03f9a7d742 Bug 1631630 p1 - Vendor fxa-client crate. r=rfkelly,mhoye
Differential Revision: https://phabricator.services.mozilla.com/D71851
2020-05-15 20:13:28 +00:00
Edouard Oger 6e8ef040d3 Bug 1637537 - Bump application-services and anyhow versions. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D75150
2020-05-13 18:36:56 +00:00
Edouard Oger e348b78f5f Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-12 21:36:17 +00:00
Mark Hammond 0640090392 Bug 1637169 - Vendor new application-services. r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D74817
2020-05-12 07:53:39 +00:00
Bogdan Tara a823ee6545 Backed out 2 changesets (bug 1628068) for ViaductRequest.cpp related bustages CLOSED TREE
Backed out changeset 013a469557c1 (bug 1628068)
Backed out changeset dcda2ce7b7f9 (bug 1628068)
2020-05-12 00:44:58 +03:00
Edouard Oger 4e005845ab Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-11 21:01:17 +00:00
Bogdan Tara 3df4970bcc Backed out 2 changesets (bug 1628068) for ViaductRequest.cpp related bustages CLOSED TREE
Backed out changeset 928a5891c55d (bug 1628068)
Backed out changeset b6fe5d357bed (bug 1628068)
2020-05-11 23:52:47 +03:00
Edouard Oger 3dc0990bbf Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-11 20:19:11 +00:00
Bogdan Tara 448d53548b Backed out 2 changesets (bug 1628068) for ViaductRequest.cpp related bustages CLOSED TREE
Backed out changeset 1ea8f742ca69 (bug 1628068)
Backed out changeset 3aa2f99843e0 (bug 1628068)
2020-05-11 23:06:31 +03:00
Edouard Oger 8aebe42eda Bug 1628068 p1 - Vendor viaduct crate. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D70256
2020-05-11 19:14:21 +00:00
Tooru Fujisawa 2ed7096f1c Bug 1621127 - Assert opcode list is in sync between jsparagus and SpiderMonkey, and update jsparagus. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D74254
2020-05-08 22:49:50 +00:00
Jon Bauman ff79fde159 Bug 1624056 - Properly vendor mp4parse-rust. r=kinetik
This requires --build-peers-said-large-imports-were-ok since
third_party/rust/mp4parse/src/lib.rs is 113KB. This code is just moving from
media/mp4parse-rust to third_party/rust, so it's not really adding to net code
size.

Differential Revision: https://phabricator.services.mozilla.com/D74488
2020-05-09 00:36:48 +00:00
Matthew Gregan b874802505 Bug 1631965 - Vendor Rust. r=chunmin
Depends on D71836

Differential Revision: https://phabricator.services.mozilla.com/D71837
2020-05-05 21:13:53 +00:00
Paul Adenot 6a7f9ca0d5 Bug 1635404 - mach vendor rust. r=achronop
Depends on D73871

Differential Revision: https://phabricator.services.mozilla.com/D73872
2020-05-05 13:39:15 +00:00
Nicolas B. Pierron 0428de2a66 Bug 1635464 - Deref BoxedParseError to read the content. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D73902
2020-05-05 16:26:45 +00:00
Lina Cambridge 8caa2f7986 Bug 1634191 - Wire up Golden Gate to the new Rust extension storage interface. r=markh
This commit adds syncing support to the `StorageSyncArea` class, via
the Golden Gate library.

It also changes the `BridgedEngine` trait: `initialize` and `finalize`
haven't been useful in practice, since that's managed by the storage
service, and the `LazyStore` takes care of setting up the storage
connection on first use. But, what we do need is a way to signal a
sync is starting, so that the engine can set up temp tables. That's
handled by the new `sync_started`.

Finally, this commit changes `BridgedEngine::set_uploaded` to take a
`sync15_traits::Guid` instead of a `String`.

Differential Revision: https://phabricator.services.mozilla.com/D73415
2020-05-05 06:59:32 +00:00
Lina Cambridge 4eafc7c1a6 Bug 1634191 - Pass BSO fields along with Sync record payloads to bridged Rust engines. r=markh
This commit splits `CryptoWrapper` into a base `RawCryptoWrapper`
class, which only handles encryption and decryption without
parsing the cleartext's contents, and the existing `CryptoWrapper`
class, which works like before.

Our bridged engine subclasses `RawCryptoWrapper`, and
implements some methods to convert records to and from envelopes.
Envelopes are a concept we introduced in `sync15_traits` to pass
along metadata from the BSO wrapper (like the modified time from the
server, and ID, to ensure they match) in addition to the cleartext.
This lets us reuse `sync15_traits::Payload` to parse record payloads
in Rust, and avoids parsing the cleartext in JS, only to stringify it
again when we pass it to the bridged Rust engine.

Differential Revision: https://phabricator.services.mozilla.com/D73581
2020-05-04 22:25:00 +00:00
Lina Cambridge a9b590300f Bug 1634626 - Refactor interruption in Golden Gate. r=markh,tcsc
This commit removes the `nsICancelable` return values from all
`mozIBridgedSyncEngine` methods, and replaces them with a
`mozIInterruptible` interface that can be implemented by store
classes that support interrupting.

The `nsICancelable` pattern was intended to make each operation
interruptible, without affecting the others. But we can't guarantee
that with SQLite, because it only has a way to interrupt all
running statements on a connection, not specific ones. Further,
this pattern doesn't match what we currently do in a-s, where we
create an internal "interrupt scope" for each operation, and hand
out an "interrupt handle" for interrupting all in-progress
operations.

Storage classes like `StorageSyncArea` can opt in to interruption
by implementing `mozIInterruptible`. It's a separate interface to
protect against accidental misuse: because it interrupts all
statements on the connection, it might lose writes if the current
operation is a `set`, for example. But it's useful for testing and
debugging, so we still expose it.

This commit also changes Golden Gate ferries to hold weak references to
the `BridgedEngine`, so that they don't block teardown.

Differential Revision: https://phabricator.services.mozilla.com/D73413
2020-05-04 21:32:29 +00:00
Tooru Fujisawa 4d2291e503 Bug 1634108 - Add placeholder for not-yet-implemented ScopeData, and update jsparagus. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D73094
2020-05-01 17:34:36 +00:00
Benjamin Bouvier 9d52aedf32 Bug 1618595 - Bump Cranelift to b7cfd39b531680217537cfcf5294a22077a0a58d; r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D73251
2020-04-30 11:57:24 +00:00
Mark Hammond c777f6f9ed Bug 1634257 - expose wipe_all to mozIExtensionStorageArea. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D73191
2020-04-30 08:16:26 +00:00
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