gecko-dev/uriloader/exthandler
Nathan Froyd cfb8fb313f Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg
This patch was generated by running:

```
perl -p -i \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF8toUTF16\((.*)\);/\1CopyUTF8toUTF16(\3, \2);/;' \
     -e 's/^(\s+)([a-zA-Z0-9.]+) = NS_ConvertUTF16toUTF8\((.*)\);/\1CopyUTF16toUTF8(\3, \2);/;' \
     $FILE
```

against every .cpp and .h in mozilla-central, and then fixing up the
inevitable errors that happen as a result of matching C++ expressions with
regexes.  The errors fell into three categories:

1. Calling the convert functions with `std::string::c_str()`; these were
   changed to simply pass the string instead, relying on implicit conversion
   to `mozilla::Span`.
2. Calling the convert functions with raw pointers, which is not permitted
   with the copy functions; these were changed to invoke `MakeStringSpan` first.
3. Other miscellaneous errors resulting from over-eager regexes and/or the
   replacement not being type-aware.  These changes were reverted.

Differential Revision: https://phabricator.services.mozilla.com/D88903
2020-09-02 09:54:37 +00:00
..
android Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
docs
mac Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
tests Bug 1661030 - Updated tests for external protocol dialog in TabDialogBox. r=Gijs,mixedpuppy 2020-09-02 14:26:26 +00:00
uikit
unix Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
win Bug 1654100 - Backed out changeset 6e556d9c0845. r=froydnj 2020-08-31 18:05:56 +00:00
ContentHandlerService.cpp
ContentHandlerService.h
DBusHelpers.h
ExternalHelperAppChild.cpp
ExternalHelperAppChild.h
ExternalHelperAppParent.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
ExternalHelperAppParent.h Bug 1654621 - Make nsIExternalHelperAppService::createListener more generic to include mobile r=necko-reviewers,geckoview-reviewers,snorp,mattwoodrow,dragana 2020-07-27 22:39:48 +00:00
HandlerService.js Backed out changeset d7d16d30097d (bug 1659008) for perma failures on browser_download_open_with_internal_handler.js. CLOSED TREE 2020-08-21 01:40:03 +03:00
HandlerService.manifest
HandlerServiceChild.h
HandlerServiceParent.cpp
HandlerServiceParent.h
PExternalHelperApp.ipdl
PHandlerService.ipdl
WebHandlerApp.jsm Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski 2020-07-10 23:58:28 +00:00
components.conf
moz.build
nsCExternalHandlerService.idl
nsContentHandlerApp.h
nsDBusHandlerApp.cpp
nsDBusHandlerApp.h
nsExternalHelperAppService.cpp Bug 1660560 - Hard-code fallback MIME-extension mappings for common Office formats and iCalendar. r=Gijs 2020-08-24 16:50:48 +00:00
nsExternalHelperAppService.h Bug 1656296 - Pass Blocked Downloads to the DownloadsUI r=ckerschb,Gijs 2020-08-24 15:29:23 +00:00
nsExternalProtocolHandler.cpp Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp 2020-07-15 11:20:45 +00:00
nsExternalProtocolHandler.h
nsIContentDispatchChooser.idl Bug 1606797 - pass the triggering principal when opening external URIs, r=ckerschb 2020-05-27 12:46:34 +00:00
nsIExternalHelperAppService.idl Bug 1654621 - Make nsIExternalHelperAppService::createListener more generic to include mobile r=necko-reviewers,geckoview-reviewers,snorp,mattwoodrow,dragana 2020-07-27 22:39:48 +00:00
nsIExternalProtocolService.idl Bug 1606797 - pass the triggering principal when opening external URIs, r=ckerschb 2020-05-27 12:46:34 +00:00
nsIExternalURLHandlerService.idl
nsIHandlerService.idl
nsIHelperAppLauncherDialog.idl
nsISharingHandlerApp.idl
nsLocalHandlerApp.cpp
nsLocalHandlerApp.h
nsMIMEInfoChild.h
nsMIMEInfoImpl.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsMIMEInfoImpl.h Bug 1644900 - Remove nsMIMEInfoBase::IsPdf as it's no longer used. r=tkikuchi 2020-06-11 14:38:43 +00:00
nsOSHelperAppServiceChild.cpp
nsOSHelperAppServiceChild.h