Commit graph

124 commits

Author SHA1 Message Date
Moonchild
e54e8f61bb Issue #1970 - Part 2: Remove the extra padding on buttons
Extra padding was created for a prospective -moz-focus-inner ring.
We now just size that ring the same as the content frame, inflated by its CSS
padding.
2022-08-04 14:24:10 +08:00
Brian Smith
7224a17903 Issue #1905 - Part 2c - Fix OpenGL crash caused by calling [NSOpenGLContext setView:] on the Compositor thread. Starting with SDK 10.14 I believe, many functions have main thread checks, including setView: and update. So we now move the code in the updateGLContext method into doDrawRect which runs on the main thread. 2022-06-13 08:55:28 +08:00
Brian Smith
45606ffa59 Issue #1905 - Part 2a - Build system fixes to allow use of SDK versioned 11.0 and higher. Also don't include code incompatible with SDK 10.15 and higher, when building with such a SDK. 2022-06-06 08:57:16 +08:00
Brian Smith
8cee7f2b18 Issue #1905 - Part 1 - Implement detection of Monterey (12.x), Intel emulation and fix required OS version check. 2022-06-06 08:57:09 +08:00
Moonchild
3bcd2ee360 [DOM] Don't allow internal MIME types to be assigned to DataTransfer
We already blocked x-moz-file(-promise) and x-moz-place* but of course people
would find ways to abuse other internal types. This change now blocks everything
except x-moz-url types which are harmless. (i.e. whitelist instead of blacklist)
2022-05-31 09:41:43 +08:00
Brian Smith
13fcc4a046 Issue #1829 - Revert "Issue #1751" 2022-05-04 09:40:24 +08:00
Moonchild
eaf9e756a0 Issue #21 - Remove remaining telemetry structs, callers and flags. 2022-04-28 10:33:44 +08:00
Moonchild
8d800b1cb0 Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
roytam1
afc2f71d70 Bug 1664149: Hold a self reference in nsDataObj. r=smaug, a=RyanVM 2022-01-19 10:24:50 +08:00
roytam1
7d96ee2fe6 Bug 1740389; r=handyman, a=tjr
Bug 1735071: Make Windows non-ePopupLevelTop popups respect owner z-order. r=edgar, a=tjr
2022-01-19 10:24:31 +08:00
roytam1
8fb608b22d remove OSX support 2021-11-10 09:10:25 +08:00
Moonchild
fc40ca5ac1 [gfx] Hard-block old mesa/nouveau versions 2021-07-15 09:26:55 +08:00
Moonchild
3a4e65f1de Issue #1751 -- Remove cocoa and uikit widget support code 2021-05-10 09:54:45 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild
d867f26c0e [widget] Require user interaction when picking files or folders v2
Now with extra sauce to make it work cross-platform and cross-versions and
for HTML input elements only.
2021-02-25 09:25:17 +08:00
Moonchild
4461ea7a07 Issue #1705 - Part 9b: Revert overzealous changes on Mac (cocoa). 2021-01-14 22:20:05 +08:00
Moonchild
b523c3be80 Issue #1705 - Part 9: Implement scrollbar-width:thin on Mac (cocoa). 2021-01-14 22:20:03 +08:00
Moonchild
2d99d18c21 Issue #1705 - Part 8: Implement scrollbar-width:thin on GTK. 2021-01-14 22:20:01 +08:00
Moonchild
32df94bf3b Issue #1705 - Part 7: Implement scrollbar-width:thin on Windows. 2021-01-14 22:20:00 +08:00
Brian Smith
0ccf8dfa99 Issue #1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.
Changes based on Mozilla bug 1678061.
2020-12-02 09:57:29 +08:00
Brian Smith
e4030ad075 Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-12-02 09:57:28 +08:00
Brian Smith
11036811cb 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-20 09:31:00 +08:00
Brian Smith
de885df033 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-20 09:30:59 +08:00
Moonchild
810ce6aa74 Issue #1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) 2020-10-09 21:00:03 +08:00
Moonchild
9c59990883 Issue #1656 - Part 10: Manual cleanup. 2020-09-25 22:07:01 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
d7a4abc3d4 Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc 2020-09-25 22:04:18 +08:00
Moonchild
30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9 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-25 22:04:12 +08:00
adeshkp
cbd06086ea Fix usage of a macro in a cocoa widget (#1649)
* Issue #457 - Fix usage of a macro in a cocoa widget
2020-09-16 21:11:03 +08:00
Lootyhoof
2b8d258df0 Follow up to Issue #1578 - Remove unnecessary MOZ_ASSERT 2020-06-20 06:44:31 +08:00
Lootyhoof
564f1026d5 Issue MoonchildProductions/UXP#1578 - Add global menubar support for GTK 2020-06-10 21:00:30 +08:00
adeshkp
fcb2242703 Issue #1566 - Lowercase link filename extension 2020-06-06 07:20:35 +08:00
Matt A. Tobin
907e210445 Bug 1425441 - Move relatedTarget to WidgetEvent
Tag #1375
2020-04-18 07:06:21 +08:00
Matt A. Tobin
2ee3ce62fc Bug 1412775 - Implement Event.composedPath
Tag #1375
2020-04-18 07:06:15 +08:00
Brian Smith
186c726563 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-04-03 09:16:16 +08:00
Brian Smith
d33ab8621a Issue #1491 - Part 1: Update nsCocoaFeatures for newer versions of MacOS X. 2020-04-03 09:16:12 +08:00
Matt A. Tobin
516bf07de1 Issue #1053 - Remove conditional android code from widget/ 2020-02-21 07:05:43 +08:00
Matt A. Tobin
27b8966a39 Issue #1053 - Remove Android Widget Toolkit specific files 2020-02-21 07:05:41 +08:00
Matt A. Tobin
f526c2fbb5 Issue #439 - Remove tests from widget/ 2020-02-21 07:05:39 +08:00
wolfbeast
01ba6b6d82 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-11 06:47:36 +08:00
Gaming4JC
c39b0e4fd7 Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag #1343
2020-01-09 21:27:56 +08:00
wolfbeast
1803a30a06 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 21:26:59 +08:00
wolfbeast
9d2e51ac97 Issue #1348 - Part 2: Teach IMEState about Private Browsing mode. 2020-01-09 21:26:56 +08:00
Makoto Kato
8972304bba Issue #1348 - Part 1: Clean up input scope support for IMM32.
Use AutoTArray to set input scope.
2020-01-09 21:26:54 +08:00
wolfbeast
72e5396dfa Initialize all fields of GdkEvents in nsClipboard.cpp 2019-12-06 22:46:50 +08:00
athenian200
a5dcb0f82a 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-11-04 11:54:00 +08:00
athenian200
afb2e3a054 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-11-04 11:52:17 +08:00
wolfbeast
1e7a9e0e28 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-18 09:05:00 +08:00
Ascrod
53bfc43dbe Issue #999 - Disable native file picker by default. 2019-08-17 13:33:40 +08:00