- Updated `Cargo.toml` to point to the app-services commit with the fix
- Reverted my default rust to `1.86.0`
- Ran `./mach configure` and `./mach vendor rust`
Differential Revision: https://phabricator.services.mozilla.com/D266197
This vendors this revision:
8986582d37
It also makes some desktop fixes due to some breaking changes in Suggest, which
@daisuke previously reviewed. It's a large vendor due to vendoring some new
crates plus some app-services revisions that made changes to logging and error
reporting and touched lots of files.
Differential Revision: https://phabricator.services.mozilla.com/D250877
This reverts commit d810bb578e.
Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"
This reverts commit fe3e643fee.
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:
* Use the IR pipeline code to generate the structs used to render the
templates.
* A new test fixture for bindings generators. This one targets bindings
generators specifically, it doesn't try test the scaffolding code and
it's not based on real-world example code. I originally thought it
would be a single crate, but I ended up needed 2 in order to test
external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)
Differential Revision: https://phabricator.services.mozilla.com/D242385
This reverts commit bcf4989b84.
Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"
This reverts commit 6e1a647b81.
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:
* Use the IR pipeline code to generate the structs used to render the
templates.
* A new test fixture for bindings generators. This one targets bindings
generators specifically, it doesn't try test the scaffolding code and
it's not based on real-world example code. I originally thought it
would be a single crate, but I ended up needed 2 in order to test
external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)
Differential Revision: https://phabricator.services.mozilla.com/D242385
This reverts commit 02d50105b9.
Revert "Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers"
This reverts commit 90368cc237.
Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:
* Use the IR pipeline code to generate the structs used to render the
templates.
* A new test fixture for bindings generators. This one targets bindings
generators specifically, it doesn't try test the scaffolding code and
it's not based on real-world example code. I originally thought it
would be a single crate, but I ended up needed 2 in order to test
external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)
Differential Revision: https://phabricator.services.mozilla.com/D242385
The eventual goal is to enable using the new IR pipeline code, but this
commit simply switches over to the new version. The main change is that
UniFFI is back to using askama as the template engine, since rinja
project has been merged back in.
Differential Revision: https://phabricator.services.mozilla.com/D247843
This incorporates (and obsoletes) @bdk's vendor in D246633 and content relevancy
fixes in D246326, and @daisuke's Yelp fixes in D243740, plus another small Yelp
fix.
Differential Revision: https://phabricator.services.mozilla.com/D246794
This implements the crash helper service used to move child process crash
report generation out of the main process and into its own process. This is
implemented as a separate executable that is launched on startup by the main
process on the desktop platforms and as a service hosted by a separate process
on Android.
The crash helper process is started when the first exception handler is set
on desktop platforms and before loading libxul on Android. In both cases
starting this process happens asynchronously so that neither the main process
nor child processes have to wait for it to come up. If a crash happens before
the crash helper has started, the crashed process will wait for it to fully
come up and then proceed with regular crash generation.
IPC with the crash helper is implemented using Unix sockets on Linux and macOS
with the former using sequential packets and the latter using stream sockets.
On Windows we use named pipes. In all cases the choice of IPC was dictated both
by the requirement to eventually talk directly to child processes from within
the sandbox, and to external processes in case of Windows as the Windows
Error Reporting exception handler must be able to reach out to the helper from
within a restricted context. These particular requirements are not used yet but
will be as we move more logic out of the main process logic.
Differential Revision: https://phabricator.services.mozilla.com/D231083
This includes some small fixes to desktop Suggest code and tests due to changes
in the `suggest` app-services component. It also incorporates D243740 by
@daisuke since it's required for vendoring.
This vendor replaces exposure suggestions with dynamic suggestions in the
`suggest` component, which breaks a few desktop tests. I disabled them for now
and will address them in bug 1961040.
Depends on D244233
Differential Revision: https://phabricator.services.mozilla.com/D245826
Do this by upgrading `application-services` repos to a commit that
_only_ differs from the current one in its `rusqlite` dependency.
Differential Revision: https://phabricator.services.mozilla.com/D244233