gecko/widget/cocoa
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
..
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 Bug 1187680 - Use NSVisualEffectMaterialMenu for menus if it's available. r=smichaud 2015-09-09 19:08:25 -04:00
nsCocoaFeatures.mm Bug 1187680 - Use NSVisualEffectMaterialMenu for menus if it's available. r=smichaud 2015-09-09 19:08:25 -04:00
nsCocoaUtils.h Bug 1193062 - Make nsChildView send PanGestureInput events into APZ. r=kats, r=smichaud 2015-08-23 19:50:29 -04:00
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 Bug 1199336 - Fix jank/hangs dragging files into the browser due to O(n^2) behavior in the Cocoa widget drag-and-drop code. r=mstange 2015-08-12 15:07:32 +01:00
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 Bug 1131473 - crash in -[NativeMenuItemTarget menuItemHit:]. r=spohl 2015-08-27 15:54:15 -05:00
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 Bug 895274 part.90 Rename NS_XUL_POPUP_HIDDEN to eXULPopupHidden r=smaug 2015-09-04 19:54:11 +09:00
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