summaryrefslogtreecommitdiffstats
path: root/widget
Commit message (Collapse)AuthorAgeLines
* Issue #1667 - Part 3: Fix OpenGL load and runtime issues on Big SurBrian Smith2020-11-19-1/+7
| | | | | This fix is included in NSPR 4.27 and Mozilla bug 1652330. Also put a main thread check in the cocoa draw callback.
* Issue #1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibilityBrian Smith2020-11-19-609/+286
| | | | | | | This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained in the following Mozilla meta bugs: 1496823 and 1491445 Also add Big Sur to the features tests and update popup menu look and feel based on Mozilla bug 1656301.
* Issue #1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+)Moonchild2020-10-06-11/+32
|
* Issue #1653 - Part 2: Stop indirectly loading DWM functions through WinUtils.Moonchild2020-09-21-74/+18
|
* Issue #1653 - Part 1: Remove WinUtils::SHGetKnownFolderPathMoonchild2020-09-21-44/+2
| | | | | Instead of doing the whole dll-load, replace function dance, we can just use the shlobj.h version of Windows.
* [widget] Clean up Windows widget code some.Moonchild2020-09-21-70/+10
|
* Fix usage of a macro in a cocoa widget (#1649)adeshkp2020-09-21-2/+2
| | | * Issue #457 - Fix usage of a macro in a cocoa widget
* Follow up to Issue #1578 - Remove unnecessary MOZ_ASSERTLootyhoof2020-06-17-1/+0
|
* Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTKLootyhoof2020-06-13-1/+4778
|
* Issue #1566 - Lowercase link filename extensionadeshkp2020-06-03-8/+8
|
* Issue #1491 - Part 2: Disable a workaround on macOS 10.14+ for an Apple bug ↵Brian Smith2020-04-14-20/+27
| | | | described in Mozilla bug 378645 involving popup windows that was fixed by Apple.
* Issue #1491 - Part 1: Update nsCocoaFeatures for newer versions of MacOS X.Brian Smith2020-04-14-0/+24
|
* Issue #1053 - Remove conditional android code from widget/Matt A. Tobin2020-04-14-416/+12
|
* Issue #1053 - Remove Android Widget Toolkit specific filesMatt A. Tobin2020-04-14-24492/+0
|
* Issue #439 - Remove tests from widget/Matt A. Tobin2020-04-14-23742/+8
|
* Update GTK clipboard handlingwolfbeast2020-01-10-25/+31
| | | | | | | | - Store the clipboard even if it was set in a GTK dialog. - Fix a GtkTargetList leak. - Notify GTK that the data is no longer available for clipboard_get_cb(), so that GTK will no longer advertise nor attempt to store the data.
* Merge pull request #1347 from g4jc/html5_dialogMoonchild2020-01-09-0/+3
|\ | | | | Implement HMTL5 <dialog>
| * Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is ↵Gaming4JC2020-01-07-0/+3
| | | | | | | | | | | | called. Tag #1343
* | Issue #1348 - Part 3: Set IS_PRIVATE input scope in private browsing.wolfbeast2020-01-09-9/+28
| | | | | | | | | | | | | | | | | | Microsoft IME on Windows 10 20H1 (build 19025+) supports IME private mode by input scope. Although previous Windows versions use an undocumented API for Edge and IE only, the next Windows 10 release will use a public API for it. We pre-empt this potential privacy concern by setting the IS_PRIVATE flag when in PB mode.
* | Issue #1348 - Part 2: Teach IMEState about Private Browsing mode.wolfbeast2020-01-09-0/+4
| |
* | Issue #1348 - Part 1: Clean up input scope support for IMM32.Makoto Kato2020-01-09-50/+26
|/ | | | Use AutoTArray to set input scope.
* Initialize all fields of GdkEvents in nsClipboard.cppwolfbeast2019-12-06-2/+2
|
* MoonchildProductions#1251 - Part 22: Remove some unused type declarations ↵athenian2002019-10-21-1/+1
| | | | | | | | | | from IPC process_util. https://bugzilla.mozilla.org/show_bug.cgi?id=1397928 Was looking into that _POSIX_PATH_MAX/NAME_MAX issue earlier because it didn't make a lot of sense and I was thinking of other approaches besides char arrays, and I wanted to make sure it didn't cause problems after they did it. Turns out that one commit after this was added, Mozilla determined the code I was working on fixing to be dead code as of Firefox 58. I don't know if it's dead code in Pale Moon as well, but given that it compiles fine without it and I can't find any other references to szExeFile in the IPC code, that seems like a safe bet. Besides, I determined config/pathsub.c already seems to do what this code looks like it's trying to do, and implements the solution of just defining NAME_MAX to 256 and having done with it that I nearly adopted after realizing that even OS/2 and BeOS, let alone Unix/Linux systems, all basically use that value and there's just disagreement on which system header to check for it.
* MoonchildProductions#1251 - Part 4: Core build system changes, lots of ↵athenian2002019-10-21-0/+9
| | | | | | | | libevent/IPC junk. This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else. I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
* No Issue - Expand HWA over RDP to Windows 8.1 and 10.wolfbeast2019-10-08-1/+1
| | | | | | | When Mozilla implemented this initially, only Windows 8 existed. Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP while they are perfectly capable of doing so with RemoteFX. This change allows any version of Windows from 8.0 onwards to use HWA over RDP.
* Issue #999 - Disable native file picker by default.Ascrod2019-08-15-4/+7
|
* Issue #999 - Use xdg-desktop-portal for file selection dialogs on Linux.Ascrod2019-08-10-39/+109
|
* Perform a size check when dealing with clipboard data to be sure.wolfbeast2019-05-29-6/+10
| | | | Follow-up to 0b6d9a47051be9ef4d064c6f7c60717da91d0bc2
* Fix scroll bar orientation on MacOSwicknix2019-05-15-3/+2
|
* Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..wicknix2019-04-15-1/+2
| | | ..macOS 10.13+ when scrollbars are always displayed. r=mstange
* Preserve transparency when copying a DIB to/from the clipboard.wolfbeast2019-02-14-2/+2
| | | | | In order to get the alpha channel when encoding BMP images from a surface, we need to supply bmp=32 in the encoder options.
* Use existing image decoders to handle clipboard BMP data.wolfbeast2019-02-07-646/+120
| | | | | This gets rid of the old nsImageClipboard widget code in favor of using the nsBMPDecoder in imglib.
* Handle pasted data of certain types with an odd length.Alex Gaynor2019-02-07-4/+7
|
* Remove VR hardware support.wolfbeast2018-11-26-3/+0
| | | | This resolves #881
* Don't allocate PendingAction twice.wolfbeast2018-11-02-4/+6
|
* Protect main thread in-process access to WinCompositorWidget transparent ↵wolfbeast2018-11-01-0/+29
| | | | surface.
* Merge pull request #852 from wicknix/masterMoonchild2018-10-24-52/+0
|\ | | | | Bug 1489785: Remove a workaround for gcc
| * Bug 1489785: Remove a workaround for gccwicknix2018-10-24-1/+0
| | | | | | | | Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14 https://hg.mozilla.org/mozilla-central/rev/3920c858319d
| * Bug 1489785: Remove a workaround for gccwicknix2018-10-24-52/+1
| | | | | | | | Introduced in bug 678607, that is no longer needed and causes hangs in modal dialogs on macOS 10.14. https://hg.mozilla.org/mozilla-central/rev/3920c858319d
* | Fix timer overflow on converting from sec to msec in idleServiceMihail Zenkov2018-09-20-4/+8
| |
* | Bug 1467363 - Protect access to mTransparentSurface with a lock.wolfbeast2018-09-11-0/+14
| |
* | Remove all C++ telemetry autotimerswolfbeast2018-09-04-3/+0
| |
* | Remove all C++ Telemetry Accumulation calls.wolfbeast2018-09-03-12/+0
| | | | | | | | | | This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables). Stub resolution/removal should be a follow-up to this.
* | Introduce ui.menu.allow_content_scrollwolfbeast2018-08-24-1/+9
|/ | | | | When true, overrides the OS convention to prevent scrolling of content when contextual menus are open. This resolves #730.
* Bypass transparency optimization with HC themes.wolfbeast2018-07-26-1/+4
| | | | | | | Don't use transparency optimization for theme items in Windows 8 or later with a high contrast theme in use. See MoonchildProductions/Pale-Moon#1591
* Merge pull request #567 from SpockMan02/moz-mac-lion-themeMoonchild2018-06-30-33/+48
|\ | | | | Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
| * Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media querySpockMan022018-06-27-33/+48
| |
* | Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not ↵wolfbeast2018-06-26-0/+6
| | | | | | | | | | | | | | | | cancelable. Currently, EventListenerManager calls WidgetEvent::PreventDefault() when the status is nsEventStatus_eConsumeNoDefault. That causes an unexpected state of events. To solve this, WidgetEvent should do nothing when it's not cancelable but PreventDefault() is called.
* | Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent.wolfbeast2018-06-26-0/+40
|/
* Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristauDavid Major2018-06-07-4/+39
| | | | | --HG-- extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc