gecko-dev/dom/system/gonk
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
..
android_audio Bug 1206212 - Remove AUDIO_STREAM_FM after KK r=alwu 2015-09-21 17:43:41 -07:00
mozstumbler Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
tests Bug 980945 - Followup: Fix b2g test on CLOSED TREE. r=tree-fairy 2015-10-15 19:23:11 +02:00
AudioChannelManager.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AudioChannelManager.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AudioManager.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AudioManager.h Bug 1196358 - update volume setting to database when the volume changing. r=sotaro. 2015-09-30 16:14:59 +08:00
AutoMounter.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
AutoMounter.h
AutoMounterSetting.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
AutoMounterSetting.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
DataCallInterfaceService.js Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
DataCallInterfaceService.manifest Bug 1114901 - Part 2: (Gonk)DataCallInterfaceService implementation. r=echen 2015-05-20 10:08:37 +08:00
DataCallManager.js Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
DataCallManager.manifest Bug 1114901 - Part 3: move data connection related code out of RadioInterfaceLayer. r=echen 2015-05-20 10:08:39 +08:00
GeolocationUtil.cpp Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
GeolocationUtil.h Bug 1200304 - Move stumbling code from gonkgps to MozStumbler.cpp. r=jdm 2015-09-08 21:20:56 -04:00
GonkGPSGeolocationProvider.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
GonkGPSGeolocationProvider.h
Makefile.in
moz.build Bug 1207266 - turn off b2g stumbler if no RIL. r=jdm 2015-09-24 01:29:47 -04:00
MozMtpCommon.h
MozMtpDatabase.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpDatabase.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpServer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpServer.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpStorage.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
MozMtpStorage.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
NetIdManager.cpp
NetIdManager.h
NetworkInterfaceListService.js Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
NetworkInterfaceListService.manifest
NetworkManager.js Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
NetworkManager.manifest
NetworkService.js Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug 2015-09-23 15:35:29 +08:00
NetworkService.manifest
NetworkUtils.cpp Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug 2015-09-23 15:35:29 +08:00
NetworkUtils.h Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug 2015-09-23 15:35:29 +08:00
NetworkWorker.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
NetworkWorker.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
nsIAudioManager.idl Bug 1170117 - Separate volume control. r=baku 2015-07-17 10:07:37 +08:00
nsIDataCallInterfaceService.idl Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
nsIDataCallManager.idl Bug 1185406 - B2G RIL: Read 'pcscf' and expose it in nsIRilNetworkInfo. r=hsinyi 2015-08-18 09:54:36 +08:00
nsIGonkDataCallInterfaceService.idl Bug 1114901 - Part 1: introduce nsI(Gonk)DataCallInterfaceService and nsIDataCallManager. r=hsinyi,echen 2015-05-20 10:08:35 +08:00
nsINetworkInterface.idl Bug 1174998 - Part 2: Set MTU for connected network interfaces. r=echen 2015-09-23 15:35:31 +08:00
nsINetworkInterfaceListService.idl Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
nsINetworkManager.idl Bug 1167132 - Part 1: [NetworkManager] Move network information into a separate interface (idl). r=echen 2015-07-29 02:00:00 -04:00
nsINetworkService.idl Bug 1174998 - Part 1: add setMtu() support in NetworkService. r=echen,smaug 2015-09-23 15:35:29 +08:00
nsINetworkWorker.idl
nsIRadioInterfaceLayer.idl Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
nsISystemWorkerManager.idl
nsITetheringService.idl Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
nsIVolume.idl Bug 1126694 - Impl of DeviceStorageAreaListener. r=bz, dhylands 2015-05-04 08:11:00 +02:00
nsIVolumeMountLock.idl
nsIVolumeService.idl Bug 1126694 - Impl of DeviceStorageAreaListener. r=bz, dhylands 2015-05-04 08:11:00 +02:00
nsIVolumeStat.idl
nsIWorkerHolder.idl
nsVolume.cpp Bug 1166320 - Make volume service safer to use off main thread. r=dhylands 2015-08-20 12:47:23 -04:00
nsVolume.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeMountLock.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeMountLock.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeService.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeService.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsVolumeStat.cpp Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan 2015-08-04 16:17:36 -07:00
nsVolumeStat.h Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj 2015-03-21 12:28:04 -04:00
OpenFileFinder.cpp
OpenFileFinder.h
RadioInterfaceLayer.js Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
RadioInterfaceLayer.manifest
ril_consts.js Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02:00
ril_worker_buf_object.js Bug 991582 - Part 1: Deprecate rilRequestError. r=aknow 2015-02-25 15:00:49 +08:00
ril_worker_telephony_request_queue.js Bug 1146799 - B2G RIL: Pull out the TelephonyRequestQueue from RilWorker. r=aknow 2015-04-02 18:16:09 +08:00
ril_worker.js Bug 1174998 - Part 3: Read data call's MTU from network/apn settings. r=echen 2015-09-23 15:35:32 +08:00
RILSystemMessenger.jsm Bug 1114938 - Part 1: Refactor StkProactiveCmdFactory.jsm into a XPCOM Service. r=echen 2015-04-15 18:33:26 +08:00
RILSystemMessengerHelper.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
RILSystemMessengerHelper.manifest
systemlibs.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
SystemWorkerManager.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
SystemWorkerManager.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TetheringService.js Bug 1187262 - Let the flag 'Services.io.offline' reference the state of tethering. r=jjong 2015-10-05 09:59:08 +08:00
TetheringService.manifest
TimeZoneSettingObserver.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
TimeZoneSettingObserver.h
Volume.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
Volume.h Bug 1177374 - Call realpath on volume mount points so thatVolumeService::GetVolumeByPath works properly. r=achen 2015-10-15 11:42:10 -07:00
VolumeCommand.cpp
VolumeCommand.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeManager.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeManager.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeManagerLog.h
VolumeServiceIOThread.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeServiceIOThread.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
VolumeServiceTest.cpp
VolumeServiceTest.h
worker_buf.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00