gecko/widget/cocoa
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
..
crashtests
cursors
resources/MainMenu.nib
ComplexTextInputPanel.h
ComplexTextInputPanel.mm
CustomCocoaEvents.h
GfxInfo.h
GfxInfo.mm
moz.build Bug 1204398 - Fix -Wshadow warnings in widget/cocoa. r=spohl 2015-09-11 20:32:37 -07:00
mozView.h
NativeKeyBindings.h
NativeKeyBindings.mm
nsAppShell.h
nsAppShell.mm
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsChildView.mm 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
nsClipboard.mm Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
nsCocoaDebugUtils.h
nsCocoaDebugUtils.mm Bug 1206766 - Show meaningful module offsets in stack traces even when no symbol found. r=spohl 2015-09-21 14:20:35 -05:00
nsCocoaFeatures.h
nsCocoaFeatures.mm
nsCocoaUtils.h
nsCocoaUtils.mm Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
nsCocoaWindow.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsCocoaWindow.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm
nsDeviceContextSpecX.h
nsDeviceContextSpecX.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsDragService.h
nsDragService.mm Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
nsFilePicker.h
nsFilePicker.mm
nsIdleServiceX.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsIdleServiceX.mm
nsLookAndFeel.h
nsLookAndFeel.mm Bug 1201318 - revise OSX system font handling. r=mstange 2015-10-08 15:04:08 +09:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMacDockSupport.mm
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h
nsMenuBarX.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMenuBaseX.h
nsMenuGroupOwnerX.h
nsMenuGroupOwnerX.mm Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug 2015-09-24 08:23:32 -07:00
nsMenuItemIconX.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMenuItemIconX.mm Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan 2015-10-18 00:40:10 -04:00
nsMenuItemX.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMenuItemX.mm
nsMenuUtilsX.h
nsMenuUtilsX.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMenuX.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsMenuX.mm
nsNativeThemeCocoa.h Bug 1204620 - Don't prepend 'image.' to CUIDraw image names on 10.11. r=stefanh 2015-09-15 16:31:06 +02:00
nsNativeThemeCocoa.mm Bug 1204620 - Don't prepend 'image.' to CUIDraw image names on 10.11. r=stefanh 2015-09-15 16:31:06 +02:00
nsNativeThemeColors.h
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsPrintOptionsX.h
nsPrintOptionsX.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsPrintSettingsX.h
nsPrintSettingsX.mm
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsScreenCocoa.h
nsScreenCocoa.mm
nsScreenManagerCocoa.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsScreenManagerCocoa.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm
nsSystemStatusBarCocoa.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsSystemStatusBarCocoa.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
nsToolkit.h
nsToolkit.mm
nsWidgetFactory.mm
nsWindowMap.h
nsWindowMap.mm
OSXNotificationCenter.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
OSXNotificationCenter.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
SwipeTracker.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
SwipeTracker.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
TextInputHandler.h Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
TextInputHandler.mm Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
VibrancyManager.h
VibrancyManager.mm Bug 1210180 - Force the view to update when we recycle a Vibrancy view. r=mstange 2015-10-05 10:54:29 -04:00
WidgetTraceEvent.mm