gecko-dev/widget/gonk
Nathan Froyd 583afa0965 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
..
hwchal Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow 2015-08-08 13:50:47 -07:00
libdisplay Bug 1204772 - Fix warnings in widget/gonk/libdisplay. r=mwu. 2015-09-16 23:01:27 -07:00
libui Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
nativewindow Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
GeckoTouchDispatcher.cpp Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
GeckoTouchDispatcher.h Bug 1177335 - Skip resampling if the time difference of touches is less than 2ms. 2015-08-19 13:02:21 +08:00
GfxInfo.cpp Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan 2015-08-04 16:17:36 -07:00
GfxInfo.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
GonkClipboardData.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
GonkClipboardData.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
GonkKeyMapping.h Bug 989198, Patch 7: Modify key mapping for volume keys, r=mwu. 2014-11-03 15:05:59 +08:00
GonkMemoryPressureMonitoring.cpp Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
GonkMemoryPressureMonitoring.h
GonkPermission.cpp Bug 1212027 - followup - qualify PBrowserParent in GonkPermission.cpp; r=me 2015-10-16 22:04:07 -04:00
GonkPermission.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
HwcComposer2D.cpp Bug 1205725 - Add basic SidebandStream handling to HwcComposer2D r=mwu,nical 2015-09-28 06:55:48 -07:00
HwcComposer2D.h Bug 1187345 - Fix HwcComposer2D::mCompositorParent handling r=mwu 2015-07-24 11:28:28 -07:00
HwcUtils.cpp Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow 2015-06-04 07:07:36 -07:00
HwcUtils.h Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow 2015-06-04 07:07:36 -07:00
OrientationObserver.cpp Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
OrientationObserver.h Bug 1131470 - Part 1: Rename existing use of ScreenOrientation to ScreenOrientationInternal. r=baku 2015-08-18 14:55:09 -07:00
ProcessOrientation.cpp Bug 1156398: Pass ProcessOrientation.cpp's unused-by-default bools to mozilla::unused. r=mwu 2015-04-21 10:24:34 -07:00
ProcessOrientation.h Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
WidgetTraceEvent.cpp Bug 1182996 - Fix and add missing namespace comments. rs=ehsan 2015-07-13 08:25:42 -07:00
moz.build Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
nsAppShell.cpp Bug 1204518 - Fix warnings in widget/gonk/. r=mwu. 2015-09-14 18:08:56 -07:00
nsAppShell.h Bug 1192122 - Safe mode startup, Part 1: check the power key state at startup r=mwu 2015-09-04 11:12:48 -07:00
nsClipboard.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
nsClipboard.h Bug 952456 - Part 1: Implement gonk/nsClipboard for rich text and raw image. r=fabrice 2015-08-19 22:52:00 -04:00
nsIdleServiceGonk.cpp
nsIdleServiceGonk.h
nsLookAndFeel.cpp Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn 2015-08-04 16:41:00 -04:00
nsLookAndFeel.h
nsScreenManagerGonk.cpp Bug 1210189 - Use nsScreenGonk in nsWindow::StartRemoteDrawing() r=mwu 2015-10-03 17:06:19 -07:00
nsScreenManagerGonk.h Bug 1210189 - Use nsScreenGonk in nsWindow::StartRemoteDrawing() r=mwu 2015-10-03 17:06:19 -07:00
nsWidgetFactory.cpp Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
nsWindow.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
nsWindow.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