gecko-dev/accessible/windows/ia2
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
..
ia2Accessible.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
ia2Accessible.h bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText 2015-04-09 11:18:23 -04:00
ia2AccessibleAction.cpp bug 1168204 - Expose more interfaces to windows for proxied accessibles r=davidb 2015-05-29 10:15:27 -04:00
ia2AccessibleAction.h
ia2AccessibleComponent.cpp Bug 1064877 - dexpcomify Accessible class, r=tbsaunde 2014-09-16 13:30:23 -04:00
ia2AccessibleComponent.h
ia2AccessibleEditableText.cpp bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText 2015-04-09 11:18:23 -04:00
ia2AccessibleEditableText.h Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
ia2AccessibleHyperlink.cpp bug 1213327 - expose iAccessibleHyperlink on proxied accessibles r=davidb 2015-10-16 16:13:38 -04:00
ia2AccessibleHyperlink.h
ia2AccessibleHypertext.cpp bug 1159741 - make ia2HyperText use proxies r=davidb 2015-05-07 13:47:52 -04:00
ia2AccessibleHypertext.h
ia2AccessibleImage.cpp Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
ia2AccessibleImage.h
ia2AccessibleRelation.cpp Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
ia2AccessibleRelation.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
ia2AccessibleTable.cpp Bug 1076816 - segregate XPCOM tree, r=davidb 2014-10-21 20:49:28 -04:00
ia2AccessibleTable.h
ia2AccessibleTableCell.cpp
ia2AccessibleTableCell.h
ia2AccessibleText.cpp bug 1214864 - fixup SetCaret() changes on windows 2015-10-15 15:46:42 -04:00
ia2AccessibleText.h bug 1192330 - add ia2AccessibleText::UpdateTextChangeData r=surkov 2015-08-19 12:48:58 -04:00
ia2AccessibleValue.cpp bug 1159850 - make ia2Accessiblevalue use proxies r=davidb 2015-05-07 13:47:53 -04:00
ia2AccessibleValue.h
moz.build Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00