gecko-dev/widget/cocoa
Emilio Cobos Álvarez 4414d74633 Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond
All its members are optional, so we can just use it as a plain struct
rather than Maybe<> all around, which simplifies the code and prevents
silly bugs like bug 1779592.

Mostly automatic via:

  rg -l 'SVGImageContext' . | xargs sed -i 's/Maybe<SVGImageContext>/SVGImageContext/g'

With trivial build fixes.

Not intended to change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D151846
2022-07-14 16:03:25 +00:00
..
crashtests
cursors
docs Bug 1773752: Remove workarounds for old macOS SDKs and update documentation. r=mstange 2022-06-11 02:21:30 +00:00
resources/MainMenu.nib
AppearanceOverride.h Bug 1736078 - Remove widget.macos.support-dark-appearance. r=mstange 2021-10-15 18:53:53 +00:00
AppearanceOverride.mm Bug 1736078 - Remove widget.macos.support-dark-appearance. r=mstange 2021-10-15 18:53:53 +00:00
CFTypeRefPtr.h
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
CustomCocoaEvents.h
DesktopBackgroundImage.h
DesktopBackgroundImage.mm
GfxInfo.h Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
GfxInfo.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
MacThemeGeometryType.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
MediaHardwareKeysEventSourceMac.h
MediaHardwareKeysEventSourceMac.mm
MediaHardwareKeysEventSourceMacMediaCenter.h
MediaHardwareKeysEventSourceMacMediaCenter.mm
MediaKeysEventSourceFactory.cpp
moz.build Bug 1759504 - Implement text recognition component in macOS. r=emilio,nordzilla 2022-06-03 16:01:32 +00:00
MOZIconHelper.h Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
MOZIconHelper.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
MOZMenuOpeningCoordinator.h Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
MOZMenuOpeningCoordinator.mm Bug 1748815 - Remove runAfterMenuClosed because it is now unused. r=bradwerth 2022-06-23 15:05:39 +00:00
mozView.h
NativeKeyBindings.h Bug 1191862 - part 1: Make nsIWidget::NativeKeyBindingsType independent from nsIWidget and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeKeyBindings.mm Bug 1191862 - part 1: Make nsIWidget::NativeKeyBindingsType independent from nsIWidget and defined in an independent header file r=smaug 2022-02-15 08:00:05 +00:00
NativeMenuMac.h Bug 1757402 - Add basic native context menu support on GTK. r=stransky 2022-02-28 14:53:24 +00:00
NativeMenuMac.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
NativeMenuSupport.mm Bug 1719939 - remove proton pref from static pref list and its last C++ consumer, r=mstange 2021-12-22 21:41:41 +00:00
nsAppShell.h Bug 1722261 - Use ProfilingStack inside ThreadRegistrationData - r=canaltinova 2021-08-24 04:47:15 +00:00
nsAppShell.mm Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm
nsChangeObserver.h
nsChildView.h Bug 1731821: Remove NativeLayerCA video layer isolation and support scaffolding. r=mstange 2022-06-02 15:37:24 +00:00
nsChildView.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsClipboard.h Bug 666254 - nsIClipboard.emptyClipboard should clear system clipboard. r=mac-reviewers,spohl 2022-04-15 02:48:04 +00:00
nsClipboard.mm Bug 1777517 - [Cocoa] Add clipboard logs; r=NeilDeakin 2022-07-04 15:34:45 +00:00
nsCocoaFeatures.h Bug 1722833 - Add nsCocoaFeatures::OnMontereyOrLater(). r=mac-reviewers,spohl 2021-10-18 21:29:42 +00:00
nsCocoaFeatures.mm Bug 1722833 - Add nsCocoaFeatures::OnMontereyOrLater(). r=mac-reviewers,spohl 2021-10-18 21:29:42 +00:00
nsCocoaUtils.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsCocoaUtils.mm Bug 1779598 - Stop passing around Maybe<SVGImageContext>. r=aosmond 2022-07-14 16:03:25 +00:00
nsCocoaWindow.h Bug 1750102 - Add an input-region-margin to widgets, and implement it on Linux. r=stransky 2022-06-04 12:41:06 +00:00
nsCocoaWindow.mm Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsColorPicker.h
nsColorPicker.mm
nsCursorManager.h
nsCursorManager.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
nsDeviceContextSpecX.h Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDeviceContextSpecX.mm Bug 370035 - Remove the aWidget parameter from nsIDeviceContextSpec::Init.r=spohl 2022-05-23 19:34:40 +00:00
nsDragService.h
nsDragService.mm Bug 1767944 - Fix drag image coordinates after bug 1753836. r=tnikkel 2022-05-05 12:10:08 +00:00
nsFilePicker.h
nsFilePicker.mm
nsLookAndFeel.h Bug 1633860: Place window control buttons on the right side on macOS when using an RTL system locale, regardless of the Firefox locale. r=mstange,emilio,harry 2021-09-22 18:51:20 +00:00
nsLookAndFeel.mm Bug 1775247 - Implement AccentColor/AccentColorText and remove -moz-prefixed version of the color. r=mstange 2022-06-22 09:45:06 +00:00
nsMacCursor.h
nsMacCursor.mm
nsMacDockSupport.h
nsMacDockSupport.mm Bug 1728580: Support replacing of an existing Dock icon during pinning on macOS if the first icon is pointing to an app inside a DMG. r=mstange 2021-09-02 16:48:38 +00:00
nsMacFinderProgress.h
nsMacFinderProgress.mm
nsMacSharingService.h
nsMacSharingService.mm Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsMacUserActivityUpdater.h Bug 1525788 - Support sending Handoff. r=mstange,Gijs 2021-11-02 18:08:08 +00:00
nsMacUserActivityUpdater.mm Bug 1740513 - Don't attempt macOS Handoff in headless mode. r=mstange 2021-11-24 23:10:35 +00:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm
nsMenuBarX.h Bug 308555 - On Mac move the "Account Settings" menuitem to the Thunderbird menu. r=mstange 2022-03-08 18:08:56 +00:00
nsMenuBarX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuGroupOwnerX.h Bug 308555 - On Mac move the "Account Settings" menuitem to the Thunderbird menu. r=mstange 2022-03-08 18:08:56 +00:00
nsMenuGroupOwnerX.mm Bug 1755779 - Rebuild the menus when there is a locale change; r=mstange 2022-02-23 14:44:07 +00:00
nsMenuItemIconX.h Bug 1777553 - Use a weak pres context reference in nsMenuItemIconX. r=mac-reviewers,spohl 2022-07-08 15:47:20 +00:00
nsMenuItemIconX.mm Bug 1777553 - Use a weak pres context reference in nsMenuItemIconX. r=mac-reviewers,spohl 2022-07-08 15:47:20 +00:00
nsMenuItemX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuItemX.mm
nsMenuParentX.h
nsMenuUtilsX.h Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuUtilsX.mm Bug 1748815 - Add a workaround for test_standalone_native_menu.xhtml and test_native_menus.xhtml, which expect menu items to be activated synchronously. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.h Bug 1748815 - Always run command events outside the context menu event loop. r=bradwerth 2022-06-23 15:05:39 +00:00
nsMenuX.mm Bug 1776763 - Only defer menu item activation if we know that the menu is open. r=spohl 2022-07-07 20:47:38 +00:00
nsNativeThemeCocoa.h Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug 2022-06-07 23:09:52 +00:00
nsNativeThemeCocoa.mm Bug 1773070 - Rename/remove some eventState/s variables. r=smaug 2022-06-07 23:09:54 +00:00
nsNativeThemeColors.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsPIWidgetCocoa.idl
nsPrintDialogX.h Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintDialogX.mm Bug 1769129. Remove nsIPrintSettings.isPrintSelectionRBEnabled. r=emilio 2022-05-13 15:26:07 +00:00
nsPrintSettingsServiceX.h
nsPrintSettingsServiceX.mm Bug 1763989. Remove the PPrinting and nsPrintingProxy code. r=bobowen 2022-04-26 14:30:29 +00:00
nsPrintSettingsX.h
nsPrintSettingsX.mm Bug 1766651 - Remove nsIPrintSettings.isCancelled and nsIPrintSettings.saveOnCancel. r=bobowen 2022-04-27 17:55:24 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm
nsSound.h
nsSound.mm
nsStandaloneNativeMenu.h Bug 1737620 - Fix misc errors in unified builds. r=mstange 2021-10-28 14:31:54 +00:00
nsStandaloneNativeMenu.mm
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm
nsToolkit.h
nsToolkit.mm
nsTouchBar.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBar.mm
nsTouchBarInput.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInput.mm
nsTouchBarInputIcon.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarInputIcon.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
nsTouchBarNativeAPIDefines.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsTouchBarUpdater.h
nsTouchBarUpdater.mm Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
nsUserIdleServiceX.h
nsUserIdleServiceX.mm
nsWidgetFactory.h Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWidgetFactory.mm Bug 1773770: Part 8 - Migrate Cocoa widget module to static component registration. r=mstange 2022-06-30 09:12:18 +00:00
nsWindowMap.h Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
nsWindowMap.mm
OSXNotificationCenter.h
OSXNotificationCenter.mm Bug 1764354 - Propagate color-scheme preference to SVG images on chrome documents. r=aosmond 2022-04-17 20:38:01 +00:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1767172 - Remove custom screen info handling from GfxInfo, use ScreenManager for that. r=jrmuizel,handyman,stransky 2022-05-06 23:37:25 +00:00
SDKDeclarations.h Backed out 2 changesets (bug 1773752, bug 1696513) for causing build bustages. CLOSED TREE 2022-06-11 02:35:43 +03:00
TextInputHandler.h
TextInputHandler.mm Bug 1746104 - part 5-4: Make widget code handle no selection case at getting selection change notifications r=m_kato,geckoview-reviewers 2022-02-07 22:33:38 +00:00
TextRecognition.mm Bug 1759199 - Fix a memory leak in text recognition; r=nordzilla 2022-06-21 14:30:40 +00:00
VibrancyManager.h Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
VibrancyManager.mm Bug 1771792 - Remove some dead vibrancy code. r=mstange 2022-05-31 10:43:29 +00:00
ViewRegion.h
ViewRegion.mm
WidgetTraceEvent.mm