gecko-dev/widget/cocoa
Masayuki Nakano df7807e1a4 Bug 1598619 - Make `TextInputHandler::HandleFlagsChanged()` not dispatch same key event twice r=m_kato
`TextInputHandler::HandleFlagsChanged()` dispatches `keydown` and `keyup`
events even if the native key code is not set properly because web apps
and our internal component like EventStateManager may cache modifier
state with listening to `keydown` and `keyup` events.

If native event does not have proper key code value, it computes key code
from recorded key code value for each flag, but one modifier key may
set 2 or more flags.  Therefore, it should check whether the computed
key code's event has already been dispatched or not.

Differential Revision: https://phabricator.services.mozilla.com/D56138

--HG--
extra : moz-landing-system : lando
2019-12-09 10:15:29 +00:00
..
crashtests Bug 1596327, rename .xul test files in widget/ to .xhtml r=jmathies 2019-11-20 19:05:30 +00:00
cursors
resources/MainMenu.nib
CFTypeRefPtr.h Bug 1578099 - Make CFTypeRefPtr usable as a key inside an unordered_map. r=mattwoodrow 2019-09-01 21:38:42 +00:00
ComplexTextInputPanel.h
ComplexTextInputPanel.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
CustomCocoaEvents.h
GfxInfo.h Bug 1594145 - Add gfx telemetry scalars to geckoview_streaming. r=Dexter,jnicol 2019-11-26 19:42:06 +00:00
GfxInfo.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
MediaHardwareKeysEventSourceMac.h Bug 1602617 - part1 : add a method to check if the event source is opened. r=MeFisto94 2019-12-10 18:24:37 +00:00
MediaHardwareKeysEventSourceMac.mm Bug 1602617 - part1 : add a method to check if the event source is opened. r=MeFisto94 2019-12-10 18:24:37 +00:00
MediaKeysEventSourceFactory.cpp Bug 1601508 - create a general interface for getting platform-specific media keys event source r=spohl 2019-12-06 20:55:26 +00:00
NativeKeyBindings.h Bug 1546839 - part 1: Change `enum Command` to `enum class Command` and drop "Command" prefix from each item r=smaug 2019-04-30 04:23:24 +00:00
NativeKeyBindings.mm Bug 1546839 - part 1: Change `enum Command` to `enum class Command` and drop "Command" prefix from each item r=smaug 2019-04-30 04:23:24 +00:00
OSXNotificationCenter.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
OSXNotificationCenter.mm Bug 1573157 - Load notification center icons with dual representations. r=mstange 2019-09-04 18:33:13 +00:00
ProcInfo.mm Bug 1529022 - Add a GeckoChildProcessHosts iterator r=jld 2019-06-21 01:33:47 +00:00
ScreenHelperCocoa.h
ScreenHelperCocoa.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
SwipeTracker.h Bug 1547422 - Make widget use mozilla::PresShell directly rather than via nsIPresShell r=jmathies 2019-05-01 18:52:59 +00:00
SwipeTracker.mm Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::buttons to WidgetMouseEventBase::mButtons r=masayuki 2019-04-21 19:42:37 +00:00
TextInputHandler.h Bug 1546839 - part 1: Change `enum Command` to `enum class Command` and drop "Command" prefix from each item r=smaug 2019-04-30 04:23:24 +00:00
TextInputHandler.mm Bug 1598619 - Make `TextInputHandler::HandleFlagsChanged()` not dispatch same key event twice r=m_kato 2019-12-09 10:15:29 +00:00
VibrancyManager.h Bug 1592739 - Remove vibrancy code for sheet windows. r=spohl 2019-11-05 18:48:15 +00:00
VibrancyManager.mm Bug 1592739 - Remove vibrancy code for sheet windows. r=spohl 2019-11-05 18:48:15 +00:00
ViewRegion.h
ViewRegion.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
WidgetTraceEvent.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
moz.build Bug 1601508 - create a general interface for getting platform-specific media keys event source r=spohl 2019-12-06 20:55:26 +00:00
mozView.h Bug 1527412 - Remove unused contextMenu method. r=spohl 2019-02-13 11:14:02 +00:00
nsAppShell.h
nsAppShell.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsBidiKeyboard.h
nsBidiKeyboard.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsChangeObserver.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsChildView.h Bug 1576390 - Remove the prefs gfx.core-animation.enabled and gfx.compositor.glcontext.opaque, and all the code needed to support it. r=mattwoodrow,spohl 2019-11-13 19:07:37 +00:00
nsChildView.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsClipboard.h
nsClipboard.mm Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond 2019-09-03 15:36:23 +00:00
nsCocoaDebugUtils.h
nsCocoaDebugUtils.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsCocoaFeatures.h Bug 1578075 - Increase stack size of paint thread/workers on OSX Catalina or higher to workaround crash from recursion in CoreText. r=jrmuizel 2019-09-10 15:20:34 +00:00
nsCocoaFeatures.mm Bug 1578075 - Increase stack size of paint thread/workers on OSX Catalina or higher to workaround crash from recursion in CoreText. r=jrmuizel 2019-09-10 15:20:34 +00:00
nsCocoaUtils.h Bug 1581433 - Maximize or minimize the window when double clicking the titlebar. r=spohl 2019-10-08 21:03:30 +00:00
nsCocoaUtils.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsCocoaWindow.h Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio 2019-11-25 16:00:23 +00:00
nsCocoaWindow.mm Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio 2019-11-25 16:00:23 +00:00
nsColorPicker.h
nsColorPicker.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsCursorManager.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsCursorManager.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsDeviceContextSpecX.h
nsDeviceContextSpecX.mm Bug 1602103. Set the print job name before initialization of the print session on macOS. r=bobowen 2019-12-09 08:46:56 +00:00
nsDragService.h Bug 1543315 - part 17: Mark PresShell::HandleDOMEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug 2019-05-09 20:21:28 +00:00
nsDragService.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsFilePicker.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsFilePicker.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsIconLoaderObserver.h Bug 1521893 - Part 1 - Split off nsMenuItemIconX image loading into a new utility class, nsIconLoaderService, and be its first consumer. r=spohl 2019-07-10 01:23:45 +00:00
nsIconLoaderService.h Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class. r=spohl 2019-10-07 18:37:15 +00:00
nsIconLoaderService.mm Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class. r=spohl 2019-10-07 18:37:15 +00:00
nsIdleServiceX.h
nsIdleServiceX.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsLookAndFeel.h Bug 1528960 - Query MacOS system dark mode only on the main browser process or it's the initial query on the child process. r=hiro 2019-03-01 18:09:19 +00:00
nsLookAndFeel.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsMacCursor.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsMacCursor.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsMacDockSupport.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsMacDockSupport.mm Bug 1562032 - Use NSDockTile to implement the dock download progress bar. r=spohl 2019-06-28 14:17:47 +00:00
nsMacFinderProgress.h Bug 909760 - Show download progress in the MacOS Finder r=spohl,mak 2019-06-19 18:48:49 +00:00
nsMacFinderProgress.mm Bug 909760 - Show download progress in the MacOS Finder r=spohl,mak 2019-06-19 18:48:49 +00:00
nsMacSharingService.h
nsMacSharingService.mm Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky 2019-12-11 06:17:44 +00:00
nsMacWebAppUtils.h
nsMacWebAppUtils.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsMenuBarX.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsMenuBarX.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsMenuBaseX.h Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike 2019-07-06 21:10:33 +00:00
nsMenuGroupOwnerX.h
nsMenuGroupOwnerX.mm Bug 1519185: Remove AttributeWillChange aNewValue parameter r=emilio,bzbarsky 2019-01-29 17:59:38 +01:00
nsMenuItemIconX.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsMenuItemIconX.mm Bug 1521893 - Part 2 - Support loading SVG icons on the Touch Bar through a new nsTouchBarInputIcon service class. r=spohl 2019-10-07 18:37:15 +00:00
nsMenuItemX.h
nsMenuItemX.mm Bug 1563295 - Only rebuild native menu when specific elements added. r=mstange 2019-09-16 05:03:32 +00:00
nsMenuUtilsX.h
nsMenuUtilsX.mm Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug 2019-03-29 15:11:04 +00:00
nsMenuX.h Bug 1521893 - Part 1 - Split off nsMenuItemIconX image loading into a new utility class, nsIconLoaderService, and be its first consumer. r=spohl 2019-07-10 01:23:45 +00:00
nsMenuX.mm Bug 1583314 - Fix macOS builds with XBL disabled. r=bzbarsky 2019-10-21 20:21:13 +00:00
nsNativeThemeCocoa.h Bug 1592739 - Stop clearing the background behind vibrant -moz-appearance items. r=mattwoodrow 2019-11-05 18:48:29 +00:00
nsNativeThemeCocoa.mm Bug 1592739 - Stop clearing the background behind vibrant -moz-appearance items. r=mattwoodrow 2019-11-05 18:48:29 +00:00
nsNativeThemeColors.h
nsPIWidgetCocoa.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsPrintDialogX.h Bug 1602125. Remove nsIPrintingPromptService.showPrintDialog's nsIWebBrowserPrint parameter and MockWebBrowserPrint. r=bobowen 2019-12-09 09:04:29 +00:00
nsPrintDialogX.mm Bug 1602125. Remove nsIPrintingPromptService.showPrintDialog's nsIWebBrowserPrint parameter and MockWebBrowserPrint. r=bobowen 2019-12-09 09:04:29 +00:00
nsPrintSettingsServiceX.h Bug 1602125. Remove nsIPrintingPromptService.showPrintDialog's nsIWebBrowserPrint parameter and MockWebBrowserPrint. r=bobowen 2019-12-09 09:04:29 +00:00
nsPrintSettingsServiceX.mm Bug 1602125. Remove nsIPrintingPromptService.showPrintDialog's nsIWebBrowserPrint parameter and MockWebBrowserPrint. r=bobowen 2019-12-09 09:04:29 +00:00
nsPrintSettingsX.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsPrintSettingsX.mm Bug 1319116 - Part 2 - "Cancel" reverts header and footer settings to defaults r=jwatt 2019-04-01 14:42:24 +00:00
nsSandboxViolationSink.h
nsSandboxViolationSink.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsSound.h
nsSound.mm Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
nsStandaloneNativeMenu.h
nsStandaloneNativeMenu.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsSystemStatusBarCocoa.h
nsSystemStatusBarCocoa.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsToolkit.h Bug 1563994 - [10.15] Right Click When Not Focused Presents "Keystroke Receiving" Access Grant Request Dialog r=mstange 2019-07-31 01:03:49 +00:00
nsToolkit.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsTouchBar.h Bug 1591839 - Close Touch Bar race condition. r=spohl 2019-11-10 19:39:12 +00:00
nsTouchBar.mm Bug 1591839 - Close Touch Bar race condition. r=spohl 2019-11-10 19:39:12 +00:00
nsTouchBarInputIcon.h Bug 1563349 - Part 4 - Support NSPopoverTouchBarItem. r=spohl 2019-10-09 17:55:15 +00:00
nsTouchBarInputIcon.mm Bug 1593001 - Add more stringent Touch Bar null-checks. r=mikedeboer 2019-11-05 10:02:34 +00:00
nsTouchBarNativeAPIDefines.h Bug 1563349 - Part 4 - Support NSPopoverTouchBarItem. r=spohl 2019-10-09 17:55:15 +00:00
nsTouchBarUpdater.h Bug 1563349 - Part 4 - Support NSPopoverTouchBarItem. r=spohl 2019-10-09 17:55:15 +00:00
nsTouchBarUpdater.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsWidgetFactory.mm Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsWindowMap.h
nsWindowMap.mm Bug 1533562 - Implement titlebar gradient drawing with a new TitlebarGradientView. r=spohl 2019-04-29 17:00:13 +00:00