fune/widget/windows
Masayuki Nakano 5546ae8990 Bug 1805799 - Make TSFTextStore::Selection::Length use MOZ_ASSERT_IF instead of MOZ_ASSERT to access Maybe<TS_SELECTION_ACP> r=m_kato
`ToString(mSelectionForTSF).c_str()` runs `TSFTextStore::Selection::operator<<`
if it's some.  Then, it calls `TSFTextStore::Selection::Length` always.
https://searchfox.org/mozilla-central/rev/17aeb39742eba71e0936ae44a51a54197100166d/widget/windows/TSFTextStore.h#725

However, `TSFTextStore::Selection::mACP` can be nothing if there is no
`Selection` ranges.  Therefore, the `MOZ_ASSERT(mACP->acpEnd >= mACP->acpStart)`
hits `Maybe<T>.isSome()` check in `->` operator.
https://searchfox.org/mozilla-central/rev/17aeb39742eba71e0936ae44a51a54197100166d/widget/windows/TSFTextStore.h#681

Differential Revision: https://phabricator.services.mozilla.com/D164759
2022-12-20 00:24:43 +00:00
..
res
tests Bug 1792341 - Migrate more toolkit/modules consumers to use direct ES module import. r=Gijs,webdriver-reviewers,perftest-reviewers,necko-reviewers,geckoview-reviewers,preferences-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,sgalich,owlish,bytesized,AlexandruIonescu,whimboo,mconley,mixedpuppy 2022-10-18 11:21:26 +00:00
AudioSession.cpp Bug 1755700: Serialize IAudioSessionControl destruction/re-creation r=cmartin 2022-07-29 19:32:15 +00:00
AudioSession.h
CheckInvariantWrapper.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
CompositorWidgetChild.cpp
CompositorWidgetChild.h
CompositorWidgetParent.cpp Bug 1798396 - Remove appearance: -moz-win-glass, which is unused. r=tnikkel 2022-11-22 10:56:38 +00:00
CompositorWidgetParent.h
DirectManipulationOwner.cpp Bug 1794070 - Make mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection private. r=botond 2022-11-22 06:52:51 +00:00
DirectManipulationOwner.h
GfxInfo.cpp Bug 1798245 - Enable video overlay without ZeroCopyNV12Texture with non-intel GPUs to release r=jrmuizel,gfx-reviewers 2022-12-16 00:54:14 +00:00
GfxInfo.h Bug 1797580 - Fix broken assumptions with allowlists and the downloadable blocklist. r=jrmuizel 2022-10-27 01:12:50 +00:00
IEnumFE.cpp
IEnumFE.h
IMMHandler.cpp Bug 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond 2022-11-04 18:29:35 +00:00
IMMHandler.h
InkCollector.cpp
InkCollector.h
InProcessWinCompositorWidget.cpp Bug 1798396 - Remove appearance: -moz-win-glass, which is unused. r=tnikkel 2022-11-22 10:56:38 +00:00
InProcessWinCompositorWidget.h
InputDeviceUtils.cpp
InputDeviceUtils.h
JumpListBuilder.cpp
JumpListBuilder.h Bug 1761040 - Prefix thread safety macros with MOZ_ r=geckoview-reviewers,media-playback-reviewers,alwu,jesup,m_kato 2022-08-03 16:39:41 +00:00
JumpListItem.cpp
JumpListItem.h
KeyboardLayout.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
KeyboardLayout.h
LSPAnnotator.cpp Bug 1795370 - Add nsICrashReporter as an interface on nsAppRunner. r=gsvelto 2022-10-18 18:22:24 +00:00
MediaKeysEventSourceFactory.cpp
moz.build Bug 1793834 - part 4/12: log window messages and expose entry point for retrieving them r=handyman 2022-11-22 03:44:52 +00:00
nsAppShell.cpp Bug 1783087 - Fix build with --disable-backgroundtasks. r=nalexander DONTBUILD 2022-08-08 10:40:29 +00:00
nsAppShell.h Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBidiKeyboard.cpp
nsBidiKeyboard.h
nsClipboard.cpp Bug 1798117 - Only flush clipboard for text data. r=smaug 2022-11-01 17:58:45 +00:00
nsClipboard.h Bug 1798160 - Avoid flushing the clipboard sync for images and files. r=smaug 2022-10-29 19:48:32 +00:00
nsColorPicker.cpp Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsColorPicker.h Bug 960984 - Implement the list attribute for <input type=color>. r=emilio,geckoview-reviewers,m_kato 2022-12-14 18:17:59 +00:00
nsDataObj.cpp Bug 1746139 - Keeping filename ending intact when using windows with events like drag and drop. r=cmartin 2022-11-05 03:21:35 +00:00
nsDataObj.h
nsDataObjCollection.cpp
nsDataObjCollection.h
nsdefs.h
nsDeviceContextSpecWin.cpp Bug 1785046 - Part 4: Use async move on printing to file on Windows. r=nika,emilio 2022-12-19 15:42:49 +00:00
nsDeviceContextSpecWin.h Bug 1785046 - Part 4: Use async move on printing to file on Windows. r=nika,emilio 2022-12-19 15:42:49 +00:00
nsDragService.cpp
nsDragService.h
nsFilePicker.cpp Bug 1772006 - Part 5: Simplify and move the string searching APIs from ns[T]StringObsolete, r=xpcom-reviewers,necko-reviewers,eeejay,dragana,barret 2022-07-30 00:12:48 +00:00
nsFilePicker.h
nsLookAndFeel.cpp Bug 1802799 - [refactor] Migrate NS_STYLE_TEXT_DECORATION_STYLE_* defines r=emilio,geckoview-reviewers,ohall 2022-12-19 22:47:24 +00:00
nsLookAndFeel.h Bug 1775310 - Add some accent-color-based dark mode system colors on Windows. r=handyman 2022-06-22 09:47:27 +00:00
nsNativeDragSource.cpp
nsNativeDragSource.h
nsNativeDragTarget.cpp
nsNativeDragTarget.h
nsNativeThemeWin.cpp Backed out changeset 2be56c37e28d (bug 1801844) for causing a regression 2022-11-26 13:39:50 -05:00
nsNativeThemeWin.h Backed out changeset 2be56c37e28d (bug 1801844) for causing a regression 2022-11-26 13:39:50 -05:00
nsPrintDialogUtil.cpp
nsPrintDialogUtil.h
nsPrintDialogWin.cpp Bug 1786048 - Part 3: Merge nsIEmbeddingSiteWindow into nsIBaseWindow. r=emilio 2022-12-15 23:13:00 +00:00
nsPrintDialogWin.h
nsPrinterWin.cpp
nsPrinterWin.h
nsPrintSettingsServiceWin.cpp
nsPrintSettingsServiceWin.h
nsPrintSettingsWin.cpp
nsPrintSettingsWin.h
nsSharePicker.cpp
nsSharePicker.h
nsSound.cpp
nsSound.h
nsToolkit.cpp
nsToolkit.h
nsUserIdleServiceWin.cpp
nsUserIdleServiceWin.h
nsUXThemeConstants.h
nsUXThemeData.cpp Bug 1775320 - WinContentSystemParameters is not needed. r=cmartin 2022-06-22 18:03:01 +00:00
nsUXThemeData.h
nsWidgetFactory.cpp
nsWidgetFactory.h
nsWindow.cpp Bug 1802225 - Remove Layers.{h,cpp}. r=tnikkel,geckoview-reviewers,jgilbert,media-playback-reviewers,padenot,m_kato 2022-11-29 01:52:03 +00:00
nsWindow.h Bug 1798396 - Remove appearance: -moz-win-glass, which is unused. r=tnikkel 2022-11-22 10:56:38 +00:00
nsWindowDbg.cpp Bug 1793834 - part 7: delete entries when a window closes r=handyman 2022-11-22 03:44:54 +00:00
nsWindowDbg.h Bug 1793834 - part 4/12: log window messages and expose entry point for retrieving them r=handyman 2022-11-22 03:44:52 +00:00
nsWindowDefs.h Bug 1750103 - Modernize nsWindow code by removing TriStateBool and using BOOL only when required. r=cmartin 2022-09-08 15:34:47 +00:00
nsWindowGfx.cpp Bug 1798396 - Remove appearance: -moz-win-glass, which is unused. r=tnikkel 2022-11-22 10:56:38 +00:00
nsWindowGfx.h
nsWindowLoggedMessages.cpp Bug 1793834 - part 8: add preference for number of messages to keep r=handyman 2022-11-22 03:44:54 +00:00
nsWindowLoggedMessages.h Bug 1793834 - part 7: delete entries when a window closes r=handyman 2022-11-22 03:44:54 +00:00
nsWindowTaskbarConcealer.cpp Bug 1732517 - [4/5] Fix fullscreen marking on Windows 7 r=handyman 2022-06-07 17:07:43 +00:00
nsWindowTaskbarConcealer.h Bug 1732517 - [3/5] Decouple Firefox/Windows fullscreen state r=handyman 2022-06-07 17:07:42 +00:00
nsWinGesture.cpp
nsWinGesture.h
OSKInputPaneManager.cpp
OSKInputPaneManager.h
OSKTabTipManager.cpp
OSKTabTipManager.h
OSKVRManager.cpp
OSKVRManager.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
RemoteBackbuffer.cpp
RemoteBackbuffer.h
resource.h
ScreenHelperWin.cpp
ScreenHelperWin.h
ShellHeaderOnlyUtils.h
SystemStatusBar.cpp Bug 1780318: Handle keyboard activation in Windows SystemStatusBar. r=mconley 2022-07-25 22:01:35 +00:00
SystemStatusBar.h
TaskbarPreview.cpp
TaskbarPreview.h
TaskbarPreviewButton.cpp
TaskbarPreviewButton.h
TaskbarTabPreview.cpp
TaskbarTabPreview.h
TaskbarWindowPreview.cpp
TaskbarWindowPreview.h
ToastNotification.cpp Bug 1786578 - Dismiss Windows native toast notifications when Firefox is closed in a private browsing session. r=nalexander. 2022-09-14 20:48:48 +00:00
ToastNotification.h Bug 1774082 - Add AUMID handling for Windows toast notifications. r=nalexander 2022-08-02 19:40:38 +00:00
ToastNotificationHandler.cpp Bug 1790692 - Make image smaller DOM notifications/non-system (chrome-privileged) alerts. r=nrishel 2022-09-15 23:32:10 +00:00
ToastNotificationHandler.h Bug 1786578 - Dismiss Windows native toast notifications when Firefox is closed in a private browsing session. r=nalexander. 2022-09-14 20:48:48 +00:00
touchinjection_sdk80.h
TSFTextStore.cpp Bug 1796044 - part 16: Make intl.tsf.enable a static pref and rename it r=m_kato 2022-10-25 07:07:01 +00:00
TSFTextStore.h Bug 1805799 - Make TSFTextStore::Selection::Length use MOZ_ASSERT_IF instead of MOZ_ASSERT to access Maybe<TS_SELECTION_ACP> r=m_kato 2022-12-20 00:24:43 +00:00
UrlmonHeaderOnlyUtils.h
widget.rc
WidgetTraceEvent.cpp
WinCompositorWidget.cpp
WinCompositorWidget.h
WinCompositorWindowThread.cpp Bug 1798014 - Note mouse redirection bugs in user software in about:support r=jrmuizel 2022-11-28 13:53:58 +00:00
WinCompositorWindowThread.h
WindowHook.cpp
WindowHook.h
WindowsConsole.cpp
WindowsConsole.h
WindowsEMF.cpp
WindowsEMF.h
WindowsEventLog.h Bug 1783051 - Turn default browser agent's EventLog into a Windows-only header utility. r=rkraesig 2022-08-17 20:01:58 +00:00
WindowsSMTCProvider.cpp
WindowsSMTCProvider.h
WindowsUIUtils.cpp Bug 1778444 - Clear UISettings on shutdown. r=kaie 2022-07-07 21:17:36 +00:00
WindowsUIUtils.h Bug 1775310 - Add some accent-color-based dark mode system colors on Windows. r=handyman 2022-06-22 09:47:27 +00:00
WinEventObserver.cpp
WinEventObserver.h
WinHeaderOnlyUtils.h
WinIMEHandler.cpp Bug 1796044 - part 15: Make intl.tsf.support_imm a static pref r=m_kato 2022-10-25 07:07:00 +00:00
WinIMEHandler.h Bug 1796044 - part 14: Get rid of intl.tsf.associate_imc_only_when_imm_ime_is_active r=m_kato 2022-10-25 07:07:00 +00:00
WinMessages.h Bug 1776498 - Use popup class with all popups. r=Jamie,handyman 2022-07-20 09:45:04 +00:00
WinModifierKeyState.h
WinMouseScrollHandler.cpp Bug 1060421 - Change the type of [Int]PointTyped::[x|y] back to [Int]CoordTyped. r=botond 2022-11-04 18:29:35 +00:00
WinMouseScrollHandler.h
WinPointerEvents.cpp
WinPointerEvents.h
WinTaskbar.cpp
WinTaskbar.h
WinTextEventDispatcherListener.cpp
WinTextEventDispatcherListener.h
WinUtils.cpp Bug 1744687 - Part 3. Fix build error for newer Windows SDK. r=gsvelto 2022-11-25 15:13:43 +00:00
WinUtils.h Bug 1744687 - Part 3. Fix build error for newer Windows SDK. r=gsvelto 2022-11-25 15:13:43 +00:00
WinWindowOcclusionTracker.cpp Bug 1798651 Part 2: Make WinWindowOcclusionTracker::ShutDown timeout after 2 seconds. r=gfx-reviewers,sotaro 2022-11-08 15:53:35 +00:00
WinWindowOcclusionTracker.h