gecko-dev/widget/cocoa
Gabriele Svelto 15adf94f4d Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov
This introduces the machinery needed to generate crash annotations from a YAML
file. The relevant C++ functions are updated to take a typed enum. JavaScript
calls are unaffected but they will throw if the string argument does not
correspond to one of the known entries in the C++ enum. The existing whitelists
and blacklists of annotations are also generated from the YAML file and all
duplicate code related to them has been consolidated. Once written out to the
.extra file the annotations are converted in string form and are no different
than the existing ones.

All existing annotations have been included in the list (and some obsolete ones
have been removed) and all call sites have been updated including tests where
appropriate.

--HG--
extra : source : 4f6c43f2830701ec5552e08e3f1b06fe6d045860
2018-07-05 15:42:11 +02:00
..
crashtests
cursors Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans 2018-01-27 15:57:42 +08:00
resources/MainMenu.nib
ComplexTextInputPanel.h
ComplexTextInputPanel.mm
CustomCocoaEvents.h
GfxInfo.h Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert 2018-02-26 20:35:12 +01:00
GfxInfo.mm Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov 2018-07-05 15:42:11 +02:00
NativeKeyBindings.h
NativeKeyBindings.mm
OSXNotificationCenter.h Bug 952453 - Remove mozNotification API; r=mattn r=baku 2018-01-08 14:56:22 -08:00
OSXNotificationCenter.mm Backing out 8fd1d4a79a48 (Bug 952453) due to notification bustage on MacOS 2018-01-04 14:50:21 -08:00
RectTextureImage.h Bug 1444373 - Don't crash when trying to draw an empty RectTextureImage. r=mattwoodrow 2018-04-09 17:07:58 -04:00
RectTextureImage.mm Bug 1444373 - Don't crash when trying to draw an empty RectTextureImage. r=mattwoodrow 2018-04-09 17:07:58 -04:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
SwipeTracker.h
SwipeTracker.mm Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot 2018-06-26 17:05:01 -07:00
TextInputHandler.h Bug 1215818 - part 2: Add telemetry probe to collect IME usage on macOS r=m_kato 2018-06-20 11:33:42 +09:00
TextInputHandler.mm Bug 1215818 - part 2: Add telemetry probe to collect IME usage on macOS r=m_kato 2018-06-20 11:33:42 +09:00
VibrancyManager.h Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
VibrancyManager.mm Bug 1370040 - Use the public API -[NSVisualEffectView setMaskImage:] instead of the private API -[NSWindow _cornerMask]. r=spohl 2017-11-19 18:38:35 -05:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm
moz.build Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange 2018-03-12 09:16:51 +00:00
mozView.h
nsAppShell.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsAppShell.mm Backed out changeset 531593bacc4e (bug 1448040) for Android build bustages on HangAnnotations.h. CLOSED TREE 2018-06-07 19:22:31 +03:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h Bug 651120 - Remove index argument from content removed/appended/inserted notifications. r=peterv 2017-10-03 11:09:08 +01:00
nsChildView.h Bug 1458711 - Allow pinch-zooming to be triggered by Mac trackpad gestures (behind a pref); r=botond,mstange 2018-05-15 16:03:24 -04:00
nsChildView.mm Bug 1420061 - Don't duplicate window controls when titlebar is enabled. r=mstange 2018-07-31 09:14:10 -04:00
nsClipboard.h Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm. 2017-08-17 15:29:03 +10:00
nsClipboard.mm Bug 1462262 - Handle pasting image files on macOS. r=spohl 2018-05-17 23:12:46 +10:00
nsCocoaDebugUtils.h
nsCocoaDebugUtils.mm
nsCocoaFeatures.h Bug 1471950: Add nsCocoaFeatures::OnMojaveOrLater(). r=haik 2018-06-28 21:18:25 -04:00
nsCocoaFeatures.mm Bug 1471950: Add nsCocoaFeatures::OnMojaveOrLater(). r=haik 2018-06-28 21:18:25 -04:00
nsCocoaUtils.h Bug 1468053: Disable a workaround for an Apple bug described in bug 378645 involving popup windows that was fixed by Apple. r=mstange 2018-07-23 20:20:58 -04:00
nsCocoaUtils.mm Bug 1403989 - Automatically treat black menu icons as templates, so that they get drawn inverted in hovered menuitems. r=jrmuizel,spohl 2018-04-16 15:23:23 -04:00
nsCocoaWindow.h Bug 1335191 - Remove nsIWidget::SetWindowTitlebarColor and the nsCocoaWindow implementation. r=spohl 2018-03-24 01:16:20 -04:00
nsCocoaWindow.mm Bug 1478391: Autogenerate StyleAppearance. r=jwatt 2018-07-26 17:06:17 +02:00
nsColorPicker.h
nsColorPicker.mm Bug 1389908 - Make sure the NSColorPanel never has a dangling target, and make sure to set the new target before calling setColor. r=spohl 2017-08-21 19:16:22 -04:00
nsCursorManager.h
nsCursorManager.mm Bug 1423275: Ensure that the proper mouse cursor is shown on macOS when switching between custom and default system cursors. r=mstange 2017-12-15 16:49:23 -06:00
nsDeviceContextSpecX.h Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsDeviceContextSpecX.mm Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
nsDragService.h Bug 1473029, convert drag services to internally use CSSIntRegion instead ns nsIScriptableRegion, r=mstange 2018-08-07 09:32:08 -04:00
nsDragService.mm Bug 1473029, convert drag services to internally use CSSIntRegion instead ns nsIScriptableRegion, r=mstange 2018-08-07 09:32:08 -04:00
nsFilePicker.h
nsFilePicker.mm
nsIdleServiceX.h Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsIdleServiceX.mm Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsLookAndFeel.h Bug 1466335: Automatically switch to the appropriate Firefox theme based on the macOS dark mode system preference. r=dao,mstange 2018-06-27 13:59:21 -04:00
nsLookAndFeel.mm Bug 1471950: Restrict to 10.14 and above the automatic enabling of the dark theme when the system appearance changes to dark mode. r=haik 2018-06-28 21:18:31 -04:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm Bug 1453795 - Widget/Cocoa - Initialize member fields in classes/ structures. r=mstange 2018-06-15 17:15:23 +03:00
nsMacSharingService.h Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange 2018-03-12 09:16:51 +00:00
nsMacSharingService.mm Backed out changeset 68859b04588d (bug 1471877) for failures in browser/content/browser-pageActions.js on a CLOSED TREE 2018-07-18 13:32:50 +03:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBarX.mm Bug 1434318 part 8. Remove nsIDOMDocument::GetElementById. r=mystor 2018-01-31 15:18:10 -05:00
nsMenuBaseX.h
nsMenuGroupOwnerX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuGroupOwnerX.mm Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsMenuItemIconX.h Bug 1407498 - Don't query loadingprincipal in common case. r=baku 2017-10-24 10:13:31 +08:00
nsMenuItemIconX.mm Bug 1455674 part 17. Remove use of nsIDOMElement in non-dom non-JS code. r=qdot 2018-04-26 23:37:34 -04:00
nsMenuItemX.h Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz 2017-12-06 16:05:59 +01:00
nsMenuItemX.mm Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug 2018-04-05 13:42:41 -04:00
nsMenuUtilsX.h
nsMenuUtilsX.mm Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsMenuX.h
nsMenuX.mm Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
nsNativeThemeCocoa.h Bug 1478391: Autogenerate StyleAppearance. r=jwatt 2018-07-26 17:06:17 +02:00
nsNativeThemeCocoa.mm Bug 1428676 pt 5. Honor the webkit pref when handling 'menulist-button' on Mac. r=emilio 2018-07-16 14:46:19 +01:00
nsNativeThemeColors.h
nsPIWidgetCocoa.idl
nsPrintDialogX.h
nsPrintDialogX.mm Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsPrintSettingsServiceX.h Bug 144114 part 3 - Clean up the headers of the nsPrintSettingsService subclasses. r=bobowen 2017-12-19 11:05:37 +00:00
nsPrintSettingsServiceX.mm Bug 144114 part 2 - Rename nsPrintOptions and its subclasses to nsPrintSettingsService*. r=bobowen 2017-12-19 10:42:15 +00:00
nsPrintSettingsX.h Bug 1407103 - Convert wstring attributes to AString in widget/nsIPrint*.idl. r=bobowen. 2017-10-09 10:08:09 +11:00
nsPrintSettingsX.mm Bug 1467582: Prevent crashes on macOS when an invalid path is specified in the print.print_to_filename pref. r=haik 2018-06-25 15:17:34 -04:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm Bug 1448914 - remove nsISound::playSystemSound; r=masayuki 2018-03-27 10:41:40 -04:00
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm Bug 1455674 part 13. Remove remaining xpidl uses of nsIDOMElement. r=qdot 2018-04-26 23:37:29 -04:00
nsToolkit.h
nsToolkit.mm Bug 1415741. Switch to a different env var, not MOZ_DEBUG, for disabling mouse event taps on Mac. r=mstange 2017-11-15 12:23:58 -05:00
nsWidgetFactory.mm Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange 2018-03-12 09:16:51 +00:00
nsWindowMap.h
nsWindowMap.mm