gecko-dev/accessible/atk
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
..
ARIAGridAccessibleWrap.h
AccessibleWrap.cpp Bug 1649217 - Part 2: Send isSelectionCollapsed for caret move in IPC. r=Jamie 2020-07-02 18:08:52 +00:00
AccessibleWrap.h Bug 1662251 - stop assigning from NS_Convert* values, mostly; r=sg 2020-09-02 09:54:37 +00:00
ApplicationAccessibleWrap.cpp
ApplicationAccessibleWrap.h
AtkSocketAccessible.cpp
AtkSocketAccessible.h
DOMtoATK.cpp Bug 1606721 - Fix crash on screen reader text requests with end offset smaller than -1, r=Jamie 2020-07-08 22:47:11 +00:00
DOMtoATK.h Bug 1606721 - Fix crash on screen reader text requests with bogus offsets, r=Jamie 2020-07-08 22:46:28 +00:00
DocAccessibleWrap.cpp
DocAccessibleWrap.h
HTMLTableAccessibleWrap.h
HyperTextAccessibleWrap.h
ImageAccessibleWrap.h
InterfaceInitFuncs.h
Platform.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
RootAccessibleWrap.cpp
RootAccessibleWrap.h
TextLeafAccessibleWrap.h
UtilInterface.cpp
XULListboxAccessibleWrap.h
XULMenuAccessibleWrap.h
XULTreeGridAccessibleWrap.h
moz.build
nsMai.h
nsMaiHyperlink.cpp
nsMaiHyperlink.h
nsMaiInterfaceAction.cpp
nsMaiInterfaceComponent.cpp Bug 1598299 part 1: Make atk_component_ref_accessible_at_point return the deepest child instead of the direct child. r=yzen 2020-03-26 15:27:45 +00:00
nsMaiInterfaceDocument.cpp
nsMaiInterfaceEditableText.cpp
nsMaiInterfaceHyperlinkImpl.cpp
nsMaiInterfaceHypertext.cpp
nsMaiInterfaceImage.cpp
nsMaiInterfaceSelection.cpp
nsMaiInterfaceTable.cpp
nsMaiInterfaceTableCell.cpp
nsMaiInterfaceText.cpp
nsMaiInterfaceValue.cpp
nsStateMap.h