gecko-dev/xpcom/build
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
..
BinaryPath.h
FileLocation.cpp Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj 2020-07-08 02:46:34 +00:00
FileLocation.h Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj 2020-07-08 02:46:34 +00:00
GeckoProcessTypes.h
IOInterposer.cpp Bug 1630655 - Squash TSAN data race report in IOInterposer r=aklotz 2020-04-30 17:17:21 +00:00
IOInterposer.h Bug 1223932 - delete guard object uses from the tree; r=jwalden 2020-07-30 14:22:38 +00:00
IOInterposerPrivate.h
LateWriteChecks.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
LateWriteChecks.h
MainThreadIOLogger.cpp
MainThreadIOLogger.h
NSPRInterposer.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
NSPRInterposer.h
Omnijar.cpp Bug 1656261 - Disable StartupCaching of Omnijar zip central r=froydnj 2020-08-13 17:34:05 +00:00
Omnijar.h Bug 1627075 - Route Omnijar requests through StartupCache r=froydnj 2020-07-08 02:46:34 +00:00
PoisonIOInterposer.h Bug 1529610 - LRU cache of Windows filenames in WinIOAutoObservation - r=canaltinova,florian 2020-07-06 23:42:38 +00:00
PoisonIOInterposerBase.cpp
PoisonIOInterposerMac.cpp Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
PoisonIOInterposerStub.cpp
PoisonIOInterposerWin.cpp Bug 1651280 - Only use GetFileType(HANDLE) from NtCreateFile if that was successful - r=canaltinova 2020-07-08 09:16:45 +00:00
Services.py Bug 1645982 - Rename some service getters in `Services.py` to better match the types. r=froydnj 2020-06-16 23:32:21 +00:00
SmallArrayLRUCache.h Bug 1529610 - SmallArrayLRUCache - r=canaltinova 2020-07-06 23:42:05 +00:00
XPCOM.h Bug 1632802 - Remove nsAgg.h. r=erahm 2020-04-27 07:56:04 +00:00
XPCOMInit.cpp Bug 1627075 - Init StartupCache before Omnijar r=froydnj 2020-07-08 02:43:30 +00:00
XPCOMModule.h
XPCOMModule.inc
XREAppData.h
XREChildData.h
XREShellData.h
components.conf Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi 2020-07-09 21:42:25 +00:00
mach_override.c
mach_override.h
moz.build Bug 1658385 - Exclude mach_override code on aarch64 builds for now. r=froydnj 2020-08-19 04:22:15 +00:00
nsXPCOM.h Bug 1631304 - Reject AbstractThread dispatches after the main thread has ceased event proccessing. r=erahm 2020-04-28 21:18:19 +00:00
nsXPCOMCID.h
nsXPCOMCIDInternal.h
nsXPCOMPrivate.h
nsXULAppAPI.h Bug 1632583: Only register taskbar button creation message in the parent process. r=aklotz 2020-05-05 16:11:44 +00:00
perfprobe.cpp
perfprobe.h
xpcom_alpha.def
xrecore.h