gecko/xpcom/threads
Nathan Froyd 5254890206 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
..
AbstractThread.cpp
AbstractThread.h
BackgroundHangMonitor.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
BackgroundHangMonitor.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
HangAnnotations.cpp
HangAnnotations.h
HangMonitor.cpp
HangMonitor.h
LazyIdleThread.cpp Bug 1200922: Add the ability to shut down a thread asynchronously. r=froydnj 2015-09-14 18:24:43 -07:00
LazyIdleThread.h
LeakRefPtr.h Bug 1186745 part 1 - Add LeakRefPtr for pointer leaking by default. r=froydnj 2015-10-06 13:00:59 +11:00
moz.build Bug 1207031 - Suppress -Wshadow warnings from google-breakpad headers in xpcom/threads. r=froydnj 2015-09-21 22:41:52 -07:00
MozPromise.h Bug 1207312: P1. Prevent crash when more than one promise is rejected. r=bholley 2015-10-01 19:07:36 +10:00
nsEnvironment.cpp
nsEnvironment.h
nsEventQueue.cpp Bug 1202497 - part 6 - make the locking requirements of nsEventQueue explicit; r=gerald 2015-09-21 04:34:51 -04:00
nsEventQueue.h Bug 1202497 - follow-up - fix static analysis bustage; r=me 2015-09-22 19:25:37 -04:00
nsICancelableRunnable.idl
nsIEnvironment.idl
nsIEventTarget.idl Bug 1186745 part 5 - Make nsThread::Dispatch() always leak the event if it fails. r=froydnj 2015-10-06 13:00:59 +11:00
nsIProcess.idl
nsIRunnable.idl
nsISupportsPriority.idl
nsIThread.idl Bug 1200922: Add the ability to shut down a thread asynchronously. r=froydnj 2015-09-14 18:24:43 -07:00
nsIThreadInternal.idl
nsIThreadManager.idl
nsIThreadPool.idl
nsITimer.idl Bug 1203427 (part 4) - Remove trailing whitespace from nsITimer.idl. r=froydnj. 2015-09-14 15:57:17 -07:00
nsMemoryPressure.cpp
nsMemoryPressure.h
nsProcess.h
nsProcessCommon.cpp
nsThread.cpp Bug 1186745 part 5 - Make nsThread::Dispatch() always leak the event if it fails. r=froydnj 2015-10-06 13:00:59 +11:00
nsThread.h Bug 1186745 part 2 - Move nsThreadSyncDispatch class to its own header file. r=froydnj 2015-10-06 13:00:59 +11:00
nsThreadManager.cpp
nsThreadManager.h
nsThreadPool.cpp Bug 1186745 part 2 - Move nsThreadSyncDispatch class to its own header file. r=froydnj 2015-10-06 13:00:59 +11:00
nsThreadPool.h Bug 1202497 - part 6 - make the locking requirements of nsEventQueue explicit; r=gerald 2015-09-21 04:34:51 -04:00
nsThreadSyncDispatch.h Bug 1186745 part 3 - Make nsThreadSyncDispatch leak the sync task by default when Run() is not called. r=froydnj 2015-10-06 13:00:59 +11:00
nsTimerImpl.cpp Bug 1205941 - Make TimerFirings logging output post-processible with fix_linux_stack.py. r=glandium. 2015-09-21 17:13:51 -07:00
nsTimerImpl.h Bug 1203427 (part 3) - Change order of InitCommon() arguments. r=froydnj. 2015-09-14 15:57:17 -07:00
SharedThreadPool.cpp Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
SharedThreadPool.h Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
StateMirroring.h
StateWatching.h
SyncRunnable.h
TaskDispatcher.h
TaskQueue.cpp Bug 1202667 - make TaskQueue task running slightly more efficient; r=mccr8 2015-09-07 20:02:16 -04:00
TaskQueue.h
ThreadStackHelper.cpp Bug 1207031 - Suppress -Wshadow warnings from google-breakpad headers in xpcom/threads. r=froydnj 2015-09-21 22:41:52 -07:00
ThreadStackHelper.h Bug 1196381 - Eliminate breakpad dependency in ThreadStackHelper; r=nfroyd r=snorp 2015-09-18 09:17:10 -04:00
TimerThread.cpp Bug 1197152: Alternative to remove all sleep/wake functionality from Timers r=froydnj 2015-09-08 11:34:09 -04:00
TimerThread.h Bug 1197152: Alternative to remove all sleep/wake functionality from Timers r=froydnj 2015-09-08 11:34:09 -04:00