gecko-dev/widget
Erik Nordin d9f598b6bf Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily
This patch adds a new checkbox to the print UI for two-sided printing.
The checkbox is only visible if the currently selected printer supports
two-sided printing.

Notable Changes:
  - Add new section and checkbox for two-sided printing.
  - Add new getter to settings proxy for supportsDuplex.
  - Add new setter/getter to settings proxy for printDuplex.
  - Add new test for no duplex with PDF printer.
  - Add new test for toggle duplex in portrait orientation.
  - Add new test for toggle duplex in landscape orientation.
  - Add new test for toggle orientation with duplex checked.
  - Correctly set duple mode in GTK print settings.

Depends on D94026

Differential Revision: https://phabricator.services.mozilla.com/D93621
2020-11-06 06:33:27 +00:00
..
android Bug 1663000 - Return UNHANDLED even if there's no event handler which uses preventDefault() and the root content is not covered by the dynamic toolbar. r=botond,geckoview-reviewers,snorp 2020-11-04 03:16:07 +00:00
cocoa Bug 1519636 - Reformat recent changes to the Google coding style r=andi 2020-11-04 18:46:00 +00:00
crashtests
gtk Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily 2020-11-06 06:33:27 +00:00
headless Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
reftests Bug 1670023 - Emulate native scrollbar colors and sizes with custom drawing. r=haik 2020-10-16 23:11:50 +00:00
tests Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
uikit Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
windows Bug 1663652 - Deleted the whitespace that caused the Lint failure. DONTBUILD CLOSED TREE 2020-11-03 23:04:05 +02:00
x11 Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
BasicEvents.h Bug 1666497 - Don't flush layout from popuppositioned events. r=mconley,Gijs,smaug 2020-10-06 16:28:41 +00:00
CommandList.h
CompositorWidget.cpp
CompositorWidget.h Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2020-06-11 18:46:04 +00:00
ContentCache.cpp
ContentCache.h Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak 2020-04-30 09:38:38 +00:00
ContentEvents.h
EventClassList.h
EventForwards.h Bug 1643464 - Part 2: Rename eLeft/eRightFlag to ePrimary/eSecondaryFlag r=masayuki,geckoview-reviewers,agi 2020-06-22 22:54:07 +00:00
EventMessageList.h Bug 1669161 - Remove dead SVG event code r=smaug 2020-10-05 11:19:47 +00:00
FontRange.h
GfxDriverInfo.cpp Bug 1673095 - Include Intel gen6 gt1 in rollout. r=aosmond 2020-10-23 20:07:51 +00:00
GfxDriverInfo.h Bug 1668144 - Add blocklisting for OOP WebGL. r=mattwoodrow 2020-10-01 08:14:12 +00:00
GfxInfoBase.cpp Bug 1668144 - Add blocklisting for OOP WebGL. r=mattwoodrow 2020-10-01 08:14:12 +00:00
GfxInfoBase.h Bug 1672464 - Block WebRender for NVIDIA users with mixed refresh rates. r=jrmuizel 2020-10-23 15:12:41 +00:00
GfxInfoCollector.cpp
GfxInfoCollector.h
GfxInfoX11.cpp Backed out changeset d42dc1f995bb (bug 1669275) for gfx crashes. CLOSED TREE 2020-10-08 04:26:03 +03:00
GfxInfoX11.h Bug 1653464 - Improve Linux desktop and window protocol detection. r=nical 2020-07-17 09:57:25 +00:00
IMEData.cpp Bug 1425291 - Part 3. Add autocapitalize to InputContext. r=masayuki 2020-09-15 14:27:00 +00:00
IMEData.h Bug 1425291 - Part 3. Add autocapitalize to InputContext. r=masayuki 2020-09-15 14:27:00 +00:00
IconLoader.cpp Bug 1663784 - Make StatusBarEntry and IconLoader classes work with the cycle collector. r=mccr8 2020-09-30 21:13:55 +00:00
IconLoader.h Bug 1663784 - Make StatusBarEntry and IconLoader classes work with the cycle collector. r=mccr8 2020-09-30 21:13:55 +00:00
InProcessCompositorWidget.cpp Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2020-06-11 18:46:04 +00:00
InProcessCompositorWidget.h Bug 1592739 - Stop using the vibrant region as the transparent region. r=mattwoodrow 2020-06-11 18:46:04 +00:00
InputData.cpp Bug 1615858 - Add MultiTouchInput::SingleTouchData::mHistoricalData. r=kats 2020-11-03 16:46:19 +00:00
InputData.h Bug 1615858 - Add MultiTouchInput::SingleTouchData::mHistoricalData. r=kats 2020-11-03 16:46:19 +00:00
LSBUtils.cpp
LSBUtils.h
LookAndFeel.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
MediaKeysEventSourceFactory.h Bug 1640998 - part9 : use `MediaControlKey` to replace `MediaControlKeysEvent` r=chunmin,agi,geckoview-reviewers 2020-06-09 02:59:57 +00:00
MiscEvents.h
MouseEvents.h Bug 1653949 - Part 3: Dispatch MouseExitFromWidget event with proper ExitFrom type based on the "direction" of movement; r=smaug 2020-08-29 21:11:41 +00:00
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
PCompositorWidget.ipdl
PlatformWidgetTypes.ipdlh
PluginWidgetProxy.cpp
PluginWidgetProxy.h
PrintBackgroundTask.h Bug 1660686: Add telemetry for time taken in print background tasks. r=jwatt, dr=tdsmith 2020-08-31 14:36:45 +00:00
ProcInfo.h Bug 1652785 - Extract title, uri, window id for content processes;r=froydnj 2020-09-07 10:26:30 +00:00
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Bug 1672095 - Always send NOTIFY_IME_OF_BLUR on GeckoView. r=masayuki 2020-10-23 08:07:02 +00:00
PuppetWidget.h Bug 1671592 - Remove PuppetWidget::PaintTask and PuppetWidget::Paint r=emilio 2020-10-17 18:07:03 +00:00
Screen.cpp
Screen.h
ScreenManager.cpp Bug 1654775 [Wayland] Don't flood console with 'Getting screen in wayland, primary display will be returned', r=jhorak 2020-08-05 07:43:54 +00:00
ScreenManager.h
ScrollbarDrawingMac.cpp Bug 1671704 - Unify some calls to ComputeScrollbarParams and call nsLayoutUtils::StyleForScrollbar in the caller. r=spohl 2020-11-02 17:08:56 +00:00
ScrollbarDrawingMac.h Bug 1671704 - Unify some calls to ComputeScrollbarParams and call nsLayoutUtils::StyleForScrollbar in the caller. r=spohl 2020-11-02 17:08:56 +00:00
SharedWidgetUtils.cpp
SystemTimeConverter.h Bug 1626734 - Fix edge case that can cause TimeStamps to go backwards by fractional milliseconds. r=karlt 2020-05-07 12:56:09 +00:00
TextEventDispatcher.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
TextEventDispatcher.h
TextEventDispatcherListener.h
TextEvents.h Bug 1640883 - Treat ctrl-c, ctrl-x and ctrl-v as user activation; r=smaug 2020-05-28 21:56:30 +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 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak 2020-05-07 08:49:18 +00:00
VsyncDispatcher.cpp
VsyncDispatcher.h
WidgetEventImpl.cpp Bug 1673120 - Extract out scrollbar drawing from nsNativeThemeCocoa so that it can later be used by nsNativeBasicTheme. r=spohl 2020-10-27 15:16:49 +00:00
WidgetMessageUtils.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h
WindowSurface.h
WindowSurfaceX11SHM.cpp
WindowSurfaceX11SHM.h
moz.build Bug 1673120 - Fix python black lint failure in widget/moz.build 2020-10-27 18:56:11 +02:00
nsAppShellSingleton.h
nsAutoRollup.cpp
nsAutoRollup.h
nsBaseAppShell.cpp
nsBaseAppShell.h
nsBaseClipboard.cpp
nsBaseClipboard.h
nsBaseDragService.cpp Bug 1648463 - Move SVGForeignObjectFrame SVGImageFrame and SVGUseFrame to mozilla namespace r=dholbert,jgilbert 2020-06-25 20:42:49 +00:00
nsBaseDragService.h
nsBaseFilePicker.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsBaseFilePicker.h Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt 2020-05-01 03:02:13 +00:00
nsBaseScreen.cpp
nsBaseScreen.h
nsBaseWidget.cpp Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
nsBaseWidget.h Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
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
nsClipboardHelper.cpp Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt 2020-05-01 03:02:13 +00:00
nsClipboardHelper.h
nsClipboardProxy.cpp
nsClipboardProxy.h
nsColorPickerProxy.cpp
nsColorPickerProxy.h
nsContentProcessWidgetFactory.cpp
nsDeviceContextSpecProxy.cpp Bug 1662336 - Pass print recording dependency list across to parent process and use CrossProcessPaint to resolve it. r=bobowen 2020-10-08 08:40:15 +00:00
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp Bug 1634154. Make `widget/gtk` buildable outside of `unified-build` environment. r=karlt 2020-05-01 03:02:13 +00:00
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak 2020-04-30 09:38:38 +00:00
nsFilePickerProxy.h
nsGUIEventIPC.h Bug 1615858 - Add MultiTouchInput::SingleTouchData::mHistoricalData. r=kats 2020-11-03 16:46:19 +00:00
nsHTMLFormatConverter.cpp Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj 2020-07-01 08:29:29 +00:00
nsHTMLFormatConverter.h
nsIAppShell.idl
nsIApplicationChooser.idl
nsIBaseWindow.idl Bug 1653214 - Part 2: Remove nsIBaseWindow::Create; r=nika 2020-07-16 20:42:20 +00:00
nsIBidiKeyboard.idl
nsIClipboard.idl
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.h Bug 1664258 - Increase the default PDF resolution for non-windows platforms. r=jwatt 2020-09-11 11:37:40 +00:00
nsIDisplayInfo.idl
nsIDragService.idl
nsIDragSession.idl Bug 1650562: Add missing null check for document BrowsingContext. r=nika 2020-07-13 18:39:52 +00:00
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl Bug 1672464 - Block WebRender for NVIDIA users with mixed refresh rates. r=jrmuizel 2020-10-23 15:12:41 +00:00
nsIGfxInfoDebug.idl
nsIGtkTaskbarProgress.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIKeyEventInPluginCallback.h
nsIMacDockSupport.idl
nsIMacFinderProgress.idl
nsIMacSharingService.idl
nsIMacWebAppUtils.idl
nsINativeMenuService.h
nsIPaper.idl Bug 1662538 - patch 1 - Make nsIPaper expose a non-localizable .id in addition to a localizable .name attribute. r=jwatt 2020-09-17 20:05:08 +00:00
nsIPaperMargin.idl Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsIPluginWidget.h
nsIPrintDialogService.h
nsIPrintSession.idl
nsIPrintSettings.idl Bug 1670943 - Add monochrome support for OSX. r=jwatt,jfkthame 2020-10-23 11:58:42 +00:00
nsIPrintSettingsService.idl Bug 1669723. Stop unnecessarily catching exceptions from nsIPrintSettingsService.lastUsedPrinterName. r=mstriemer 2020-10-09 10:21:44 +00:00
nsIPrintSettingsWin.idl Bug 1663940: Ensure the unwriteable margins are populated in the print settings. r=emilio 2020-09-11 15:00:18 +00:00
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 Bug 1659807 - Add nsIPrinter.systemName and nsIPrinterList.getPrinterBySystemName r=emilio 2020-09-15 21:23:27 +00:00
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 1649121: part 94) Factor adding flavors in best order out. r=m_kato 2020-09-24 12:38:09 +00:00
nsIUserIdleService.idl Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsIUserIdleServiceInternal.idl Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsIWidget.h Bug 1653649 - Limit widget size to 16k. r=jrmuizel 2020-10-30 09:40:25 +00:00
nsIWidgetListener.cpp
nsIWidgetListener.h
nsIWinTaskbar.idl
nsIWindowsUIUtils.idl
nsNativeBasicTheme.cpp Bug 1674010 - Draw a shadow under the range thumb in the basic theme. r=spohl 2020-11-02 17:09:05 +00:00
nsNativeBasicTheme.h Bug 1674010 - Draw a shadow under the range thumb in the basic theme. r=spohl 2020-11-02 17:09:05 +00:00
nsNativeTheme.cpp Bug 1673132 - Use the -moz-default-appearance values "scrollbar-horizontal" and "scrollbar-vertical" on macOS and remove the now-unused value "scrollbar". r=emilio 2020-10-27 12:37:44 +00:00
nsNativeTheme.h Bug 1673120 - Extract out scrollbar drawing from nsNativeThemeCocoa so that it can later be used by nsNativeBasicTheme. r=spohl 2020-10-27 15:16:49 +00:00
nsPaper.cpp Bug 1662538 - patch 1 - Make nsIPaper expose a non-localizable .id in addition to a localizable .name attribute. r=jwatt 2020-09-17 20:05:08 +00:00
nsPaper.h Bug 1667486 part 1 - Make fallback paper sizes public to nsPaper, localize the sizes only once in nsPrinterListBase r=jwatt,emilio 2020-10-13 21:53:47 +00:00
nsPaperMargin.cpp Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsPaperMargin.h Bug 1655558 - Retrieve the paper margins lazily on Windows. r=jwatt,bobowen 2020-08-05 11:26:13 +00:00
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrintSession.cpp
nsPrintSession.h
nsPrintSettingsImpl.cpp Bug 1667053 - Refactor macOS print settings implementation for clarity. r=jwatt 2020-10-23 11:07:21 +00:00
nsPrintSettingsImpl.h Bug 1631452 part 1: Give nsIPrintSettings a "numPagesPerSheet" attribute. r=TYLin 2020-10-13 22:55:03 +00:00
nsPrintSettingsService.cpp Bug 1667053 - Refactor macOS print settings implementation for clarity. r=jwatt 2020-10-23 11:07:21 +00:00
nsPrintSettingsService.h Bug 1667285. Make nsPrintSettingsService::_CreatePrintSettings pure virtual. r=bobowen 2020-09-25 09:33:14 +00:00
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 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterCUPS.h Bug 1663652 part 2 - Add combined printerInfo method to nsPrinterCUPS r=emilio 2020-11-03 20:35:38 +00:00
nsPrinterListBase.cpp Bug 1667486 part 1 - Make fallback paper sizes public to nsPaper, localize the sizes only once in nsPrinterListBase r=jwatt,emilio 2020-10-13 21:53:47 +00:00
nsPrinterListBase.h Bug 1667486 part 1 - Make fallback paper sizes public to nsPaper, localize the sizes only once in nsPrinterListBase r=jwatt,emilio 2020-10-13 21:53:47 +00:00
nsPrinterListCUPS.cpp Bug 1658084 - Avoid creating a mozilla::OffTheBooksMutex in a static initializer, r=emilio,mccr8 2020-11-04 18:56:13 +00:00
nsPrinterListCUPS.h Bug 1659807 - Add nsIPrinter.systemName and nsIPrinterList.getPrinterBySystemName r=emilio 2020-09-15 21:23:27 +00:00
nsShmImage.cpp
nsShmImage.h
nsSoundProxy.cpp
nsSoundProxy.h
nsTransferable.cpp
nsTransferable.h
nsUserIdleService.cpp Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsUserIdleService.h Bug 1651165 - Rename idle service r=Gijs,geckoview-reviewers,snorp 2020-07-20 16:06:59 +00:00
nsWidgetInitData.h Bug 1642800 - Don't enforce minimum window dimensions on non-popup windows if they're not resizable on Windows. r=mhowell 2020-06-05 17:09:58 +00:00
nsWidgetsCID.h Bug 1663784 - Rename mozilla.org/widget/macsystemstatusbar to mozilla.org/widget/systemstatusbar. r=spohl 2020-09-15 17:38:27 +00:00
nsXPLookAndFeel.cpp Bug 1668875 - Distinguish theme changes that can and cannot affect style/layout. r=tnikkel 2020-10-27 10:24:40 +00:00
nsXPLookAndFeel.h Bug 1670145 - Record telemetry on Gtk version and other theme related info. r=tdsmith,spohl 2020-10-15 04:50:48 +00:00