gecko-dev/netwerk/protocol/rtsp/rtsp
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
..
AAMRAssembler.cpp Bug 1073081 - Fix an operator precedence bug. r=bechen 2014-11-24 20:02:43 -05:00
AAMRAssembler.h Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium 2014-05-06 17:26:46 +12:00
AAVCAssembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AAVCAssembler.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AH263Assembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AH263Assembler.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AMPEG4AudioAssembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AMPEG4AudioAssembler.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AMPEG4ElementaryAssembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
AMPEG4ElementaryAssembler.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
APacketSource.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
APacketSource.h
ARTPAssembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
ARTPAssembler.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
ARTPConnection.cpp Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
ARTPConnection.h Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium 2014-05-06 17:26:46 +12:00
ARTPSession.cpp Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
ARTPSession.h Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
ARTPSource.cpp
ARTPSource.h Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium 2014-05-06 17:26:46 +12:00
ARTPWriter.cpp Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
ARTPWriter.h Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
ARTSPConnection.cpp Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
ARTSPConnection.h Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
ARawAudioAssembler.cpp Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
ARawAudioAssembler.h Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan 2014-11-24 19:40:59 -05:00
ASessionDescription.cpp Bug 1119980 - Use 'snprintf' instead of 'sprintf' to avoid a warning on Lollipop-based builds. r=froydnj 2015-05-26 14:33:55 -04:00
ASessionDescription.h Bug 1045062 - [RTSP] Replace CHECK assertions by NS_ASSERTION or graceful assertions. r=sworkman 2014-10-03 17:41:26 +08:00
RTSPConnectionHandler.h Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
RTSPSource.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
RTSPSource.h Bug 1117486 - [FFOS2.0][Woodduck] System crash by replaying the same RTSP clip several times. r=bechen 2015-02-16 12:37:09 +08:00
RTSPTransmitter.h Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
RtspPrlog.h Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj 2015-06-03 15:25:57 -07:00
UDPPusher.cpp Bug 1152046 - Make separate thread only for PRClose. r=mcmanus r=mayhemer 2015-09-10 19:07:00 +02:00
UDPPusher.h Bug 1024276 - Replace multiple character literals with enumerated constants. r=sworkman 2014-09-19 18:01:40 +08:00
VideoSource.h
rtp_test.cpp