gecko/widget
Nathan Froyd e504437747 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
..
android Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
cocoa Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
crashtests
gonk Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
gtk Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
gtkxtbin
qt Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
reftests
tests Bug 605813 - Re-enable test_taskbar_progress.xul on Windows. r=me 2015-10-15 18:39:28 -03:00
uikit Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
windows Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
x11
xremoteclient Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
BasicEvents.h Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
CommandList.h
ContentCache.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
ContentCache.h
ContentEvents.h
ContentHelper.cpp
ContentHelper.h
EventClassList.h
EventForwards.h Bug 1204439 part.3 Create methods to get enum item name r=smaug 2015-09-17 12:05:44 +09:00
EventMessageList.h Bug 1204439 part.2 NS_EVENT_MESSAGE() shouldn't take specific value for the event message r=smaug 2015-09-17 12:05:44 +09:00
FontRange.h
GfxDriverInfo.cpp Bug 1207665 - Block Intel GMA 3150 for d3d11/d2d on all drivers. (bug 1207665 part 1, r=jrmuizel). r=jrmuizel 2015-09-28 01:44:00 +02:00
GfxDriverInfo.h Bug 1207665 - Block Intel GMA 3150 for d3d11/d2d on all drivers. (bug 1207665 part 1, r=jrmuizel). r=jrmuizel 2015-09-28 01:44:00 +02:00
GfxInfoBase.cpp
GfxInfoBase.h
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoWebGL.cpp
GfxInfoWebGL.h
GfxInfoX11.cpp
GfxInfoX11.h
IMEData.h Bug 1203364 IMEContentObserver should notify IME of selection change with the latest change reason r=smaug 2015-09-14 23:28:43 +09:00
InputData.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
InputData.h Bug 1199885 - Part 9: Let APZC handle the drag events. r=kats 2015-09-28 14:44:37 -04:00
LookAndFeel.h Bug 232227 - Do not expose system colors to CSS or canvas. r=jmuizelaar r=enndeakin tor-r=arthuredelstein 2015-09-25 00:59:00 +02:00
MiscEvents.h
MouseEvents.h Bug 376679 part.5 nsPluginInstanceOwner::ProcessEvent() should create WM_MOUSE*WHEEL message from WidgetWheelEvent data r=smaug+jimm 2015-10-16 13:19:27 +09:00
moz.build
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h Backed out changeset 02a7211c3ac8 (bug 1112712) for build bustage 2015-10-05 14:29:44 +05:30
nsAppShellSingleton.h
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.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
nsBaseDragService.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
nsBaseFilePicker.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsBaseFilePicker.h
nsBaseScreen.cpp
nsBaseScreen.h
nsBaseWidget.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
nsBaseWidget.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
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp
nsDragServiceProxy.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
nsDragServiceProxy.h
nsFilePickerProxy.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsFilePickerProxy.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsGUIEventIPC.h
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIApplicationChooser.idl
nsIAppShell.idl
nsIBaseWindow.idl
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardDragDropHookList.idl
nsIClipboardDragDropHooks.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h
nsIDisplayInfo.idl
nsIdleService.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsIdleService.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsIDragService.idl Bug 1205511 - Document that nsIDragService.dragMoved() takes its arguments in LayoutDevice pixels. r=enn IGNORE IDL (comment change only) 2015-09-28 20:29:48 -04:00
nsIDragSession.idl
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl
nsIGfxInfoDebug.idl
nsIIdleService.idl
nsIIdleServiceInternal.idl
nsIIMEPicker.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIMacDockSupport.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrintOptions.idl
nsIPrintSession.idl
nsIPrintSettings.idl
nsIPrintSettingsService.idl
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl
nsIScreenManager.idl
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITransferable.idl
nsIWidget.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
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl
nsNativeTheme.cpp
nsNativeTheme.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrintOptionsImpl.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsPrintOptionsImpl.h
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsPrintSettingsImpl.h
nsScreenManagerProxy.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsScreenManagerProxy.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsShmImage.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsShmImage.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsTransferable.cpp
nsTransferable.h
nsWidgetInitData.h
nsWidgetsCID.h
nsXPLookAndFeel.cpp Bug 232227 - Do not expose system colors to CSS or canvas. r=jmuizelaar r=enndeakin tor-r=arthuredelstein 2015-09-25 00:59:00 +02:00
nsXPLookAndFeel.h Bug 232227 - Do not expose system colors to CSS or canvas. r=jmuizelaar r=enndeakin tor-r=arthuredelstein 2015-09-25 00:59:00 +02:00
PluginWidgetProxy.cpp
PluginWidgetProxy.h
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.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
PuppetWidget.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
ScreenProxy.cpp
ScreenProxy.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
TextEventDispatcher.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
TextEventDispatcherListener.h
TextEvents.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
TextRange.h
TouchEvents.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
VsyncDispatcher.cpp
VsyncDispatcher.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
WidgetEventImpl.cpp Bug 1204439 part.3 Create methods to get enum item name r=smaug 2015-09-17 12:05:44 +09:00
WidgetMessageUtils.h
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h