Commit Graph

121 Commits

Author SHA1 Message Date
Brian Smith 2f3cf3c8cf Issue #1667 - Part 3: Fix OpenGL load and runtime issues on Big Sur
This fix is included in NSPR 4.27 and Mozilla bug 1652330.
Also put a main thread check in the cocoa draw callback.
2020-11-17 06:52:06 -06:00
Brian Smith fa5aba4c0f Issue #1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
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.
2020-11-16 07:23:44 -06:00
Moonchild bda6f1a93f Issue #1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) 2020-10-06 09:23:59 +00:00
Moonchild e0bda22462 Issue #1656 - Part 10: Manual cleanup. 2020-09-24 09:22:12 +00:00
Moonchild d5a2c45aad Issue #1656 - Part 6: Clean up the build files 2020-09-23 15:52:00 +00:00
Moonchild 18ea98f7a9 Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc 2020-09-23 15:24:52 +00:00
Moonchild 528b88d704 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-23 15:14:30 +00:00
Moonchild a680bdc637 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-23 13:55:00 +00:00
Moonchild a0cdf32877 Issue #1653 - Part 2: Stop indirectly loading DWM functions through WinUtils. 2020-09-17 15:28:59 +00:00
Moonchild 8151bb2b05 Issue #1653 - Part 1: Remove WinUtils::SHGetKnownFolderPath
Instead of doing the whole dll-load, replace function dance, we can just use the
shlobj.h version of Windows.
2020-09-17 15:25:44 +00:00
Moonchild 6f5cd8a5e7 [widget] Clean up Windows widget code some. 2020-09-14 12:18:24 +00:00
adeshkp 00e0733915 Fix usage of a macro in a cocoa widget (#1649)
* Issue #457 - Fix usage of a macro in a cocoa widget
2020-09-13 10:09:40 +02:00
Lootyhoof 4e688106c4 Follow up to Issue #1578 - Remove unnecessary MOZ_ASSERT 2020-06-14 23:23:23 +01:00
Lootyhoof d18faf8193 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-09 13:41:53 +01:00
adeshkp 66b02a8044 Issue #1566 - Lowercase link filename extension 2020-06-01 19:36:07 +05:30
Matt A. Tobin f164962a3d Bug 1425441 - Move relatedTarget to WidgetEvent
Tag #1375
2020-04-17 07:34:35 -04:00
Matt A. Tobin 7e506bd98d Bug 1412775 - Implement Event.composedPath
Tag #1375
2020-04-17 07:30:43 -04:00
Brian Smith 10a45dfda6 Issue #1491 - Part 2: Disable a workaround on macOS 10.14+ for an Apple bug described in Mozilla bug 378645 involving popup windows that was fixed by Apple. 2020-03-21 17:39:53 -05:00
Brian Smith c1633db6d2 Issue #1491 - Part 1: Update nsCocoaFeatures for newer versions of MacOS X. 2020-03-21 17:37:05 -05:00
Matt A. Tobin b36e606158 Issue #1053 - Remove conditional android code from widget/ 2020-02-20 12:12:30 -05:00
Matt A. Tobin 18e74277b3 Issue #1053 - Remove Android Widget Toolkit specific files 2020-02-20 11:22:40 -05:00
Matt A. Tobin 178382e4ce Issue #439 - Remove tests from widget/ 2020-02-20 11:08:15 -05:00
wolfbeast 095a02f259 Update GTK clipboard handling
- 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.
2020-01-10 19:40:14 +01:00
Moonchild 29bf28ca34 Merge pull request #1347 from g4jc/html5_dialog
Implement HMTL5 <dialog>
2020-01-09 13:07:56 +00:00
wolfbeast d79cc5fb49 Issue #1348 - Part 3: Set IS_PRIVATE input scope in private browsing.
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.
2020-01-09 13:22:29 +01:00
wolfbeast 8ae047bbbf Issue #1348 - Part 2: Teach IMEState about Private Browsing mode. 2020-01-09 13:19:56 +01:00
Makoto Kato 1672355a77 Issue #1348 - Part 1: Clean up input scope support for IMM32.
Use AutoTArray to set input scope.
2020-01-09 09:53:16 +01:00
Gaming4JC ef2cd8749f Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag #1343
2020-01-07 18:33:23 -05:00
wolfbeast d558cf6647 Initialize all fields of GdkEvents in nsClipboard.cpp 2019-12-06 15:08:10 +01:00
athenian200 7d65eb2b3a MoonchildProductions#1251 - Part 22: Remove some unused type declarations 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.
2019-10-21 04:53:44 -05:00
athenian200 4105ebb6ed MoonchildProductions#1251 - Part 4: Core build system changes, lots of 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.
2019-10-21 04:53:39 -05:00
wolfbeast 1a86abc159 No Issue - Expand HWA over RDP to Windows 8.1 and 10.
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.
2019-10-08 21:02:28 +02:00
Ascrod f7fced09da Issue #999 - Disable native file picker by default. 2019-08-15 18:22:56 -04:00
Ascrod 47c48dfcb8 Issue #999 - Use xdg-desktop-portal for file selection dialogs on Linux. 2019-08-10 17:26:31 -04:00
wolfbeast 1fe365eba2 Perform a size check when dealing with clipboard data to be sure.
Follow-up to 0b6d9a4705
2019-05-29 11:05:41 +02:00
wicknix 06f7a03ffd Fix scroll bar orientation on MacOS 2019-05-15 01:37:09 -04:00
wicknix 577ca2cd60 Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..
..macOS 10.13+ when scrollbars are always displayed. r=mstange
2019-04-15 19:04:39 -05:00
wolfbeast 77e1b07f30 Preserve transparency when copying a DIB to/from the clipboard.
In order to get the alpha channel when encoding BMP images from a
surface, we need to supply bmp=32 in the encoder options.
2019-02-14 22:42:55 +01:00
wolfbeast 6992106dc7 Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using
the nsBMPDecoder in imglib.
2019-02-07 22:06:24 +01:00
Alex Gaynor 0b6d9a4705 Handle pasted data of certain types with an odd length. 2019-02-07 14:08:09 +01:00
wolfbeast 7504ca8ab4 Remove VR hardware support.
This resolves #881
2018-11-26 16:41:20 +01:00
wolfbeast 09fec033ec Don't allocate PendingAction twice. 2018-11-02 08:33:16 +01:00
wolfbeast e0de8181d9 Protect main thread in-process access to WinCompositorWidget transparent surface. 2018-11-01 20:16:11 +01:00
Moonchild f5b13e91d1 Merge pull request #852 from wicknix/master
Bug 1489785: Remove a workaround for gcc
2018-10-24 08:58:28 +02:00
wicknix 065f6f9e5e Bug 1489785: Remove a workaround for gcc
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
2018-10-24 01:16:11 -05:00
wicknix 6db23ae65e Bug 1489785: Remove a workaround for gcc
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
2018-10-24 01:10:07 -05:00
Mihail Zenkov 7214d60a12 Fix timer overflow on converting from sec to msec in idleService 2018-09-20 00:13:34 +03:00
wolfbeast 6ded94d38c Bug 1467363 - Protect access to mTransparentSurface with a lock. 2018-09-11 11:55:16 +02:00
wolfbeast 93cae908bc Remove all C++ telemetry autotimers 2018-09-04 09:41:24 +02:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
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.
2018-09-03 10:11:38 +02:00