Migrate all Services.py interfaces to components.conf
Categories
(Core :: XPCOM, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: Gankra, Assigned: Gankra)
References
Details
Attachments
(14 files, 4 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Services.py has effectively been replaced by the more robust components.conf system. We should deprecate the former because it's slower and less safe.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Basically all mechanical find-replace with a few hand fixups. Services.py
is still needed to generates services.rs, but I've deleted everything
that Rust doesn't use (almost everything).
Assignee | ||
Comment 2•4 years ago
|
||
These services had their name added to components.conf:
- GfxInfo
- ThirdPartyUtil
- History
- HttpActivityDistributor
- UUIDGenerator
- ServiceWorkerManager
- PermissionManager
These services were added to componenets.conf under a different name:
- DirectoryService => Directory
- IOService => IO
- StringBundleService => StringBundle
- CacheStorageService => CacheStorage
- StreamTransportService => StreamTransport
- SocketTransportService => SocketTransport
These preferences weren't migrated to components.conf because only Rust
code uses them:
- RemoteAgent
- XULRuntime
- PrefService
These services weren't migrated to components.conf because they're unused:
- ToolkitChromeRegistry (used as ChromeRegistry)
- XULChromeRegistry (used as ChromeRegistry)
- Bits (completely unused)
These services were already available in components.conf but are still
used by rust code:
- URIFixup
These services weren't migrated because they will be handled in
subsequent patchsets:
- ObserverService
For the record, the following Services are being used by Rust code
and must remain until a Rust version of Components.h is written:
- RemoteAgent
- XULRuntime
- PrefService
- URIFixup
- ObserverService
- DirectoryService
- ThirdPartyUtil
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D105521
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D105522
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D105523
Assignee | ||
Comment 6•4 years ago
|
||
Depends on D105524
Assignee | ||
Comment 7•4 years ago
|
||
Depends on D105525
Assignee | ||
Comment 8•4 years ago
|
||
Depends on D105526
Assignee | ||
Comment 9•4 years ago
|
||
Depends on D105527
Assignee | ||
Comment 10•4 years ago
|
||
Depends on D105528
Assignee | ||
Comment 11•4 years ago
|
||
Depends on D105529
Assignee | ||
Comment 12•4 years ago
|
||
Depends on D105530
Assignee | ||
Comment 13•4 years ago
|
||
Depends on D105531
Assignee | ||
Comment 14•4 years ago
|
||
Depends on D105532
Assignee | ||
Comment 15•4 years ago
|
||
Depends on D105533
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2473a904aa80
https://hg.mozilla.org/mozilla-central/rev/8d41504bf834
https://hg.mozilla.org/mozilla-central/rev/9948eb32fcdc
https://hg.mozilla.org/mozilla-central/rev/f6a2f878fa0f
https://hg.mozilla.org/mozilla-central/rev/83cea9a71527
https://hg.mozilla.org/mozilla-central/rev/18b51f552cec
https://hg.mozilla.org/mozilla-central/rev/6a5f3317cc4a
https://hg.mozilla.org/mozilla-central/rev/81accf94ee9f
https://hg.mozilla.org/mozilla-central/rev/832de017f827
https://hg.mozilla.org/mozilla-central/rev/b37b84e13f00
https://hg.mozilla.org/mozilla-central/rev/3ad4d0b12a62
https://hg.mozilla.org/mozilla-central/rev/6b23a123adcb
https://hg.mozilla.org/mozilla-central/rev/2337db198699
https://hg.mozilla.org/mozilla-central/rev/4814392b66bd
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 19•4 years ago
|
||
Assignee | ||
Comment 20•4 years ago
|
||
As well as fixup the includes of every file this touches wrt services.h\components.h.
This is all the automated\trivial changes -- the next commit will do the hand-edits.
Depends on D105848
Assignee | ||
Comment 21•4 years ago
|
||
CookieCommons.h was relying on implicitly including ThirdPartyUtils from Services.h
Database had one remaining use of services that slipped past previous rounds.
Depends on D105849
Updated•4 years ago
|
Assignee | ||
Comment 22•3 years ago
|
||
This is blocked on the above ObserverService change causing mysterious crashes. Changing all of those points seems to cause a fundamental change in how the ObserverService is created/destroyed in some subtle way that I wasn't able to isolate. I tried binary searching which usage sites were problematic but it seemed to be unstable / some combination of multiple sites?
At this point someone more experienced with the services system needs to finish this up, unfortunately.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 23•2 years ago
|
||
It looks like a ton of patches landed in this bug, so let's just close it. I filed a new bug, bug 1773085, for the remaining work.
Description
•