Closed
Bug 1678583
Opened 4 years ago
Closed 3 years ago
Cleanup FOG FFI bridge & IDL layer
Categories
(Toolkit :: Telemetry, task, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
85 Branch
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
References
Details
(Whiteboard: [telemetry:glean-rs:m6])
Attachments
(4 files)
We don't use the same types consistently, e.g. we should use AUTF8String
in the IDL definition and pass through references to some type of nsString
to Rust to use them there instead of C-style char*
"strings".
Plus some other style cleanups.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → jrediger
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D97596
Assignee | ||
Comment 2•3 years ago
|
||
This touches multiple parts at once, including:
- Remove usage of
this->
in C++ code - Use
nsACString
across the FFI (no need forffi-support
anymore) - Use
AUTF8String
in the IDL definition, so we can pass it on unmodified.
Depends on D99033
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D99034
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D99035
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e40c4b34ec7 Use a proper bool type in return. r=chutten https://hg.mozilla.org/integration/autoland/rev/7346565f35b4 Clean up FFI bridge & IDL layer. r=chutten https://hg.mozilla.org/integration/autoland/rev/555eb48642be Apply same cleanup to boolean metric. r=chutten https://hg.mozilla.org/integration/autoland/rev/1e26d2cecfe7 Provide same optional API on datetime & timespan. r=chutten
Pushed by jrediger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d4be67b807b6 Use a proper bool type in return. r=chutten https://hg.mozilla.org/integration/autoland/rev/20d3051ed77d Clean up FFI bridge & IDL layer. r=chutten https://hg.mozilla.org/integration/autoland/rev/6948d67082a3 Apply same cleanup to boolean metric. r=chutten https://hg.mozilla.org/integration/autoland/rev/8aea353c110c Provide same optional API on datetime & timespan. r=chutten
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d4be67b807b6
https://hg.mozilla.org/mozilla-central/rev/20d3051ed77d
https://hg.mozilla.org/mozilla-central/rev/6948d67082a3
https://hg.mozilla.org/mozilla-central/rev/8aea353c110c
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•