gecko-dev/widget
Jens Stutte f6d52040b9 Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten
This patch wants to solve several quirks around the shutdown terminator.

 - Use the same shutdown phase definitions in AppShutdown and nsTerminator. This touches quite a few files.
 - Ensure that the terminator phase shift is handled before any shutdown observer notifications are sent and reduce its heartbeat duration.
 - Add missing phases to the shutdown telemetry.

Please note that this changes the unit of "tick" to 100ms rather than 1s.
As a side effect, we also remove the obsolete "shutdown-persist" context.

While the existing test coverage continues to prove the most important functions, we acknowledge the wish for better test coverage with [[ https://bugzilla.mozilla.org/show_bug.cgi?id=1693966 | bug 1693966 ]].

Differential Revision: https://phabricator.services.mozilla.com/D103626
2021-02-26 21:33:29 +00:00
..
android Bug 1693306 - Simplify some uses of LookupOrInsertWith by GetOrInsertNew. r=xpcom-reviewers,necko-reviewers,dragana,nika 2021-02-26 09:22:54 +00:00
cocoa Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
crashtests
generic Bug 1657401 - Prelude: rearrange IPDL files in widget/. r=spohl 2020-11-11 23:17:40 +00:00
gtk Bug 1693306 - Simplify some uses of LookupOrInsertWith by GetOrInsertNew. r=xpcom-reviewers,necko-reviewers,dragana,nika 2021-02-26 09:22:54 +00:00
headless Bug 1691622 - part 9: Make nsIWidget::SynthesizeNativeMouseEvent take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato 2021-02-24 01:27:10 +00:00
reftests Bug 1694059 - Use WebRender to render most non-native-theme widgets when possible. r=mstange 2021-02-23 10:49:37 +00:00
tests Bug 1661132 - Make test_bug596600.xhtml wait proper event after syntheisizing native mousemove event r=smaug 2021-02-24 07:01:16 +00:00
uikit Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
windows Bug 1689953: Harmonize shutdown phase definitions across nsTerminator and AppShutdown r=dthayer,chutten 2021-02-26 21:33:29 +00:00
x11 Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
BasicEvents.h Bug 1689317 - Clipboard events should be composed. r=smaug 2021-01-29 13:30:40 +00:00
CommandList.h Bug 1357365 - part 3: Make TypeInState::OnSelectionChange() stop keeping link style if caret is positioned at edge of a link element and not moved in the link r=m_kato,edgar 2021-01-13 01:55:29 +00:00
CompositorWidget.cpp Bug 1689245 - replace CompositorWidget::ClearBeforePaint with GetTransparentRegion. r=mattwoodrow CLOSED TREE 2021-01-28 09:12:40 +00:00
CompositorWidget.h Bug 1690216 - Clarify that StartRemoteDrawingInRegion does not actually modify the region. r=mattwoodrow 2021-02-24 18:34:52 +00:00
ContentCache.cpp Bug 1683226 - part 4: Make stop ContentCache check whether a plugin has focus or not r=m_kato 2020-12-21 05:59:57 +00:00
ContentCache.h Bug 1678553 - part 12: Make ContentCache store character rects with Maybe r=m_kato 2020-11-27 14:48:03 +00:00
ContentEvents.h
EventClassList.h Bug 1683226 - part 16: Get rid of WidgetPluginEvent r=smaug 2020-12-29 21:19:45 +00:00
EventForwards.h Bug 1691622 - part 9: Make nsIWidget::SynthesizeNativeMouseEvent take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato 2021-02-24 01:27:10 +00:00
EventMessageList.h Bug 1683226 - part 16: Get rid of WidgetPluginEvent r=smaug 2020-12-29 21:19:45 +00:00
FontRange.h
GfxDriverInfo.cpp Bug 1693405 - Let WebRender on gen9lp and gen8lp ride into release. r=aosmond 2021-02-17 23:18:38 +00:00
GfxDriverInfo.h Bug 1690568 - Block WebRender on Linux with Mesa r600 driver if older than 17.3.0. r=jrmuizel 2021-02-03 16:00:47 +00:00
GfxInfoBase.cpp Bug 1689064 - Disable optimized shaders on Mali-T6xx. r=aosmond 2021-02-11 13:47:59 +00:00
GfxInfoBase.h Bug 1689945 - Update display info when WM_DISPLAYCHANGE happens r=jrmuizel 2021-02-04 23:25:35 +00:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoX11.cpp Bug 1673752 - Enable WebRender on Linux nightly/early beta for NVIDIA binary drivers 460.32.03 or newer. r=jrmuizel 2021-02-11 21:18:20 +00:00
GfxInfoX11.h Bug 1680512 - Prefer EGL for glxtest detection and fallback to GLX if unavailable. r=rmader 2021-01-25 19:41:04 +00:00
IconLoader.cpp Bug 1691861 - Remove unused mContentType fields. r=mconley 2021-02-12 00:32:06 +00:00
IconLoader.h Bug 1691861 - Remove unused mContentType fields. r=mconley 2021-02-12 00:32:06 +00:00
IMEData.cpp Bug 1683226 - part 11: Get rid of IMEEnabled::Plugin r=m_kato 2020-12-21 08:26:24 +00:00
IMEData.h Bug 1683226 - part 11: Get rid of IMEEnabled::Plugin r=m_kato 2020-12-21 08:26:24 +00:00
InProcessCompositorWidget.cpp Bug 1690216 - Clarify that StartRemoteDrawingInRegion does not actually modify the region. r=mattwoodrow 2021-02-24 18:34:52 +00:00
InProcessCompositorWidget.h Bug 1690216 - Clarify that StartRemoteDrawingInRegion does not actually modify the region. r=mattwoodrow 2021-02-24 18:34:52 +00:00
InputData.cpp Bug 1662363 - Rename eTopLevel/eChild to ePlatformTopLevel/ePlatformChild; r=smaug 2021-01-05 09:48:24 +00:00
InputData.h Bug 1677012 - Give MultiTouchInput a move constructor. r=kats 2020-11-13 12:15:45 +00:00
LookAndFeel.h Bug 1470983 - Remote all LookAndFeel values for the Gtk backend. r=spohl,jld 2020-12-16 04:17:36 +00:00
LookAndFeelTypes.ipdlh Bug 1689147 - Part 5: Change comparable to an extended attribute, r=mccr8 2021-02-09 16:50:23 +00:00
LSBUtils.cpp
LSBUtils.h
MediaKeysEventSourceFactory.h
MiscEvents.h Bug 1683226 - part 16: Get rid of WidgetPluginEvent r=smaug 2020-12-29 21:19:45 +00:00
MouseEvents.h Bug 1662363 - Rename eTopLevel/eChild to ePlatformTopLevel/ePlatformChild; r=smaug 2021-01-05 09:48:24 +00:00
moz.build Bug 1691213 - DeCOMtaminate nsINativeMenuService and rename it to mozilla::widget::NativeMenuSupport. r=spohl 2021-02-11 19:43:58 +00:00
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
nsAppShellSingleton.h
nsAutoRollup.cpp
nsAutoRollup.h
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.cpp Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian 2021-02-16 04:44:19 +00:00
nsBaseDragService.h
nsBaseFilePicker.cpp Bug 1686616 - make StringBundle use Components instead of Services. r=kmag 2021-02-18 13:26:32 +00:00
nsBaseFilePicker.h
nsBaseScreen.cpp
nsBaseScreen.h
nsBaseWidget.cpp Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsBaseWidget.h Bug 1688096 - Part 2. Add flag to CompositorOptions to allow SW-WR on a per widget basis. r=mattwoodrow 2021-02-24 19:40:00 +00:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp
nsCUPSShim.cpp Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsCUPSShim.h Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsDeviceContextSpecProxy.cpp Bug 1689789 part 2 - Use Ceil instead of Truncate the ensure the print surface is large enough for the requested paper size. r=jfkthame 2021-02-06 00:28:29 +00:00
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsFilePickerProxy.h
nsGUIEventIPC.h Bug 1683226 - part 16: Get rid of WidgetPluginEvent r=smaug 2020-12-29 21:19:45 +00:00
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIApplicationChooser.idl
nsIAppShell.idl
nsIBaseWindow.idl
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h
nsIDisplayInfo.idl
nsIDragService.idl Bug 1641270 - Part 8: Make the Drag&Drop to use the correct cookieJarSettings to download the url. r=smaug,dimi 2020-11-11 11:14:05 +00:00
nsIDragSession.idl
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl Bug 1689064 - Disable optimized shaders on Mali-T6xx. r=aosmond 2021-02-11 13:47:59 +00:00
nsIGfxInfoDebug.idl
nsIGtkTaskbarProgress.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIMacDockSupport.idl
nsIMacFinderProgress.idl
nsIMacSharingService.idl
nsIMacWebAppUtils.idl
nsIPaper.idl
nsIPaperMargin.idl
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrinter.idl Bug 1663652 part 1 - Implement combined CreateDefaultSettings and GetPaperList interface for nsPrinterBase r=emilio,mstriemer 2020-11-03 20:35:38 +00:00
nsIPrinterList.idl
nsIPrintSession.idl
nsIPrintSettings.idl Bug 1692845 - Restore read from global print settings for a few settings, including print_bgcolor and print_bgimages. r=bobowen 2021-02-23 10:52:53 +00:00
nsIPrintSettingsService.idl
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl
nsIScreenManager.idl
nsISharePicker.idl
nsISound.idl
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITouchBarHelper.idl
nsITouchBarInput.idl
nsITouchBarUpdater.idl
nsITransferable.idl Bug 1689827 - Remove length parameter from JS callers of setTransferData. r=smaug 2021-02-01 12:05:12 +00:00
nsIUserIdleService.idl
nsIUserIdleServiceInternal.idl
nsIWidget.h Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl
nsNativeBasicTheme.cpp Bug 1694059 - Use WebRender to render non-native range inputs and radio buttons. r=mstange 2021-02-23 23:22:19 +00:00
nsNativeBasicTheme.h Bug 1694059 - Use WebRender to render non-native range inputs and radio buttons. r=mstange 2021-02-23 23:22:19 +00:00
nsNativeTheme.cpp Bug 1689327 - Resizers for non-themed scrollable content shouldn't be themed. r=NeilDeakin 2021-02-20 00:15:42 +00:00
nsNativeTheme.h Bug 1615038: Fine-tune scrollbars in the non-native theme on Windows. r=emilio 2021-01-20 21:33:34 +00:00
nsPaper.cpp
nsPaper.h Bug 1678374 - Avoid including js/RootingAPI.h from header files. r=jandem 2020-11-23 16:12:12 +00:00
nsPaperMargin.cpp
nsPaperMargin.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrinterBase.cpp Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterBase.h Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterCUPS.cpp Bug 1676976 - Have nsPrinterCUPS::TryEnsurePrinterInfo return a DataMutex::AutoLock r=emilio 2020-11-13 19:58:25 +00:00
nsPrinterCUPS.h Bug 1693395 - Add XROutputColor:PrintAsGrayscale to the grayscale values for CUPS. r=jfkthame 2021-02-18 05:18:38 +00:00
nsPrinterListBase.cpp
nsPrinterListBase.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsPrinterListCUPS.cpp Bug 1683226 - part 14: Get rid of ComplexTextInputPanel r=m_kato 2020-12-24 02:49:02 +00:00
nsPrinterListCUPS.h Bug 1683226 - part 14: Get rid of ComplexTextInputPanel r=m_kato 2020-12-24 02:49:02 +00:00
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp Bug 1689789 part 2 - Use Ceil instead of Truncate the ensure the print surface is large enough for the requested paper size. r=jfkthame 2021-02-06 00:28:29 +00:00
nsPrintSettingsImpl.h Bug 1669854 - Add a single pageRanges print setting. r=nordzilla 2020-11-07 16:01:57 +00:00
nsPrintSettingsService.cpp Bug 1692845 - Restore read from global print settings for a few settings, including print_bgcolor and print_bgimages. r=bobowen 2021-02-23 10:52:53 +00:00
nsPrintSettingsService.h
nsShmImage.cpp
nsShmImage.h
nsSoundProxy.cpp
nsSoundProxy.h
nsTransferable.cpp Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug 2020-11-11 11:14:07 +00:00
nsTransferable.h Bug 1641270 - Part 7: Add setter/getter of nsICookieJarSettings to nsITransferable. r=smaug 2020-11-11 11:14:07 +00:00
nsUserIdleService.cpp
nsUserIdleService.h
nsWidgetInitData.h Bug 1679087 - Remove ability to create non-Unicode widgets. r=mhowell 2020-12-17 18:21:39 +00:00
nsWidgetsCID.h
nsXPLookAndFeel.cpp Bug 1678487 - Make CMSMode an enum class. r=aosmond 2021-02-13 03:59:23 +00:00
nsXPLookAndFeel.h Bug 1678487 - Minor cleanups to nsXPLookAndFeel::GetColorValue. r=mstange 2021-02-13 03:59:22 +00:00
PluginWidgetProxy.cpp
PluginWidgetProxy.h
PrintBackgroundTask.h
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Bug 1691622 - part 9: Make nsIWidget::SynthesizeNativeMouseEvent take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato 2021-02-24 01:27:10 +00:00
PuppetWidget.h Bug 1691622 - part 9: Make nsIWidget::SynthesizeNativeMouseEvent take an XP button ID and abstract message value r=smaug,geckoview-reviewers,agi,m_kato 2021-02-24 01:27:10 +00:00
RemoteLookAndFeel.cpp Bug 1694059 - Rename various nnt prefs. r=spohl,mstange 2021-02-22 20:05:35 +00:00
RemoteLookAndFeel.h Bug 1683204 - Include content theme configuration details in FullLookAndFeel. r=spohl 2020-12-22 19:26:41 +00:00
Screen.cpp
Screen.h
ScreenManager.cpp
ScreenManager.h
ScrollbarDrawingMac.cpp Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
ScrollbarDrawingMac.h Bug 1689253 - Add a more sensible scrollbar size API to nsITheme, and use it to replace ScrollbarNonDisappearing. r=spohl 2021-01-28 22:11:54 +00:00
SharedWidgetUtils.cpp
SystemTimeConverter.h
TextEventDispatcher.cpp Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to NativeKeyBindings r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
TextEventDispatcher.h Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to NativeKeyBindings r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
TextEventDispatcherListener.h
TextEvents.h Bug 1685491 - part 5: Move the code remapping arrow keys in vertical content to NativeKeyBindings r=smaug,jfkthame 2021-02-02 03:29:31 +00:00
TextRange.h
ThemeChangeKind.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
TouchEvents.h
TouchResampler.cpp Bug 1676771 - Add a TouchResampler class. r=kats 2020-11-18 03:57:35 +00:00
TouchResampler.h Bug 1676771 - Add a TouchResampler class. r=kats 2020-11-18 03:57:35 +00:00
VsyncDispatcher.cpp
VsyncDispatcher.h
WidgetEventImpl.cpp Bug 1691913 - Mark nsBaseHashtable (and its subclasses') member functions nodiscard where appropriate. r=xpcom-reviewers,necko-reviewers,dragana,nika 2021-02-26 09:22:53 +00:00
WidgetMessageUtils.h Bug 1640186 - Add machinery for sending native pinch gestures from a test, and a test which uses it r=botond 2021-02-19 05:35:40 +00:00
WidgetTraceEvent.h
WidgetUtils.cpp Bug 1686616 - make StringBundle use Components instead of Services. r=kmag 2021-02-18 13:26:32 +00:00
WidgetUtils.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
WindowSurface.h
WindowSurfaceX11SHM.cpp
WindowSurfaceX11SHM.h