Commit graph

75 commits

Author SHA1 Message Date
wuggy
a5cf494890 Add support for compiling under MinGW + fix Windows compiling in general 2026-04-17 15:05:11 -07:00
ownedbywuigi
83a3972d44 Add native Windows media SMTC metadata publishing 2026-04-01 15:59:21 +01:00
ownedbywuigi
d9464e116c Whitelist Parallels 2026-03-27 15:37:18 +00:00
ownedbywuigi
d87a543978 Whitelist VMWare and HyperV 2026-03-27 15:34:37 +00:00
Moonchild
2cd0e956bd Issue #2909 - Fix build issues when targeting Windows 7.
Despite Windows 7 supporting Tablet Mode and screen orientation just fine
(I had a Win 7 tablet PC back when), Microsoft decided that starting with
the Windows SDK 10.0.22621.0, the enum and types for auto-rotation should
no longer be defined, so we have to define them ourselves.
2026-03-08 22:59:06 +00:00
K4sum1
8b80d1e84e Windows theme version override 2025-09-27 19:44:32 -07:00
K4sum1
6be1c0968c misc fixs 2025-09-27 19:36:43 -07:00
roytam1
ae1f9364cd Merge remote-tracking branch 'origin/tracking' into custom 2025-08-14 08:55:16 +08:00
Moonchild
723180132d Issue #2847 - Extend -moz-os-version media query with win11.
Resolves #2847
2025-08-14 08:39:18 +08:00
roytam1
5cb41937fb Merge remote-tracking branch 'origin/tracking' into custom 2025-06-29 00:15:50 +08:00
Francis Dominic Fajardo
6e358f1039 Issue #2765 - Follow-up: Fix UAF when returning the non-NAC style context from a frameless node 2025-06-29 00:15:02 +08:00
roytam1
f4d2bf6c3d Merge remote-tracking branch 'origin/tracking' into custom 2025-06-27 23:33:55 +08:00
Francis Dominic Fajardo
3ba0b10bb4 Issue #2765 - Part 3: Make scrollbar width checks use the originating non-NAC style context 2025-06-27 23:32:50 +08:00
Francis Dominic Fajardo
8236eec152 Issue #2765 - Part 1: Scrollbar width should be treated as a non-inherited property
Note: non-inherited properties are stored in "reset" style structs.

Previous implementation treats it as an inherited property, which
doesn't match the spec.

This also fixes the incorrect behavior when using the `unset` value
for this property by specifying SETVAL_UNSET_INITIAL in the mask.
2025-06-27 23:31:38 +08:00
roytam1
b86d97747f Merge remote-tracking branch 'origin/tracking' into custom 2025-04-03 09:50:55 +08:00
Moonchild
1283a5f874 [widget] Extend the use of FOS_NODEREFERENCELINKS on Windows.
In the modern era of user-customizable Quick Access sidebars on every file
dialog, navigating via `.lnk` files is considerably less useful than it
was twenty years ago.

Disable link-following in file-open dialogs by default, to prevent any of
the usual security issues involving symlink smuggling.

Allow overriding this behavior via a pref, for users who want to trade off
this security issue for convenience of being able to follow links inside
file dialogs (older OSes and established user workflows).
Note: File Save dialogs have a set of more nuanced guards against link
smuggling and protected file access; this change doesn't affect that.
2025-04-03 09:50:02 +08:00
roytam1
bac9ec9a84 Merge remote-tracking branch 'origin/tracking' into custom 2023-10-26 10:55:31 +08:00
Moonchild
f2b0066036 [widget] Change RegisterDragDrop to be called on idle.
This is a low-priority init function that should not be called with
immediate dispatch to the current thread, for performance reasons.
Additionally, do not call RegisterDragDrop for hidden windows.
2023-10-26 10:52:28 +08:00
roytam1
462805f0ee Merge remote-tracking branch 'origin/tracking' into custom 2023-05-11 09:29:55 +08:00
Moonchild
500af2fe51 [widget] Rewrite data-read loop in OnDataAvailable.
The read-loop in OnDataAvailable was needlessly baroque and used a very
strange dialect of Hungarian notation. Factored out the zero-element
case for simplicity, and added justification in comments as-appropriate.
2023-05-11 09:28:28 +08:00
roytam1
725b27a0f5 Merge remote-tracking branch 'origin/tracking' into custom 2023-05-05 23:02:05 +08:00
Moonchild
f1759b33ff Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from accessible, [root], tools, uriloader, widget, xpcom and
xpfe.
Resolves #1656
2023-05-05 23:00:05 +08:00
roytam1
16926c542d Merge remote-tracking branch 'origin/tracking' into custom 2023-02-20 12:02:40 +08:00
Moonchild
bca689b483 [widget] Properly test for and handle errors in target-surface creation and mapping. 2023-02-20 12:01:04 +08:00
roytam1
6de07653b9 Merge remote-tracking branch 'origin/tracking' into custom 2022-04-28 10:45:19 +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
b0eda70edf Merge remote-tracking branch 'origin/tracking' into custom 2022-01-19 10:29:12 +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
ad59d4c5fe widget/windows: fix build if sdk doesn't define FOS_OKBUTTONNEEDSINTERACTION 2021-02-26 07:35:38 +08:00
roytam1
75da290189 Merge remote-tracking branch 'origin/master' into custom 2021-02-25 09:43:06 +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
roytam1
a324d0a18c Merge remote-tracking branch 'origin/master' into custom 2021-01-14 22:41:39 +08:00
Moonchild
32df94bf3b Issue #1705 - Part 7: Implement scrollbar-width:thin on Windows. 2021-01-14 22:20:00 +08:00
roytam1
84282125cf Merge remote-tracking branch 'origin/master' into custom 2020-10-09 21:12:06 +08:00
Moonchild
810ce6aa74 Issue #1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) 2020-10-09 21:00:03 +08:00
roytam1
56aaf6a15a Merge remote-tracking branch 'origin/master' into custom 2020-09-25 22:18:48 +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
Roy Tam
5c4cee240f Merge remote-tracking branch 'origin/master' into custom 2020-06-06 07:27:53 +08:00
adeshkp
fcb2242703 Issue #1566 - Lowercase link filename extension 2020-06-06 07:20:35 +08:00
Roy Tam
1a197351cd Merge remote-tracking branch 'origin/master' into custom 2020-01-09 21:28:41 +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
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
Roy Tam
4ea7de218b Merge remote-tracking branch 'origin/master' into custom 2019-10-18 09:06:42 +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