roytam1
d4a80aa2c4
Merge remote-tracking branch 'origin/tracking' into custom
2024-01-09 12:01:14 +08:00
Martok
65d72c5682
Issue #2435 - Add onrejectionhandled and onunhandledrejection EventHandler
...
Based-on: m-c 1362272
2024-01-09 12:00:14 +08:00
roytam1
a907bc3c17
Merge remote-tracking branch 'origin/tracking' into custom
2023-12-21 10:19:16 +08:00
Moonchild
94a892fcbf
Bug 1868901
2023-12-21 10:15:55 +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
1977864a3a
Merge remote-tracking branch 'origin/tracking' into custom
2023-07-25 09:16:25 +08:00
Brian Smith
0fc38724d1
No Issue - Fix intermitted crash on MacOS 14 Sonoma Beta 3. Not sure why this is happening but mIOSurface is nullptr. If we just skip binding, it will be created on the next call to BeginUpdate.
2023-07-25 09:15:54 +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
e361ce2b32
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-13 09:24:30 +08:00
Sandra
af613ef24e
Increase size of data over which we write the data to disk rather than keep it around in memory
2023-04-13 09:23:03 +08:00
Sandra
42723b1636
Use nsAnonymousTemporaryFile for clipboard cache
...
Base on ecc04a9245
2023-04-13 09:22:39 +08:00
roytam1
d9c82b1e71
Merge remote-tracking branch 'origin/tracking' into custom
2023-04-05 07:36:09 +08:00
Brian Smith
2625cb0b61
No Issue - Fix drawing in titlebar on Mac when building with the Big Sur 11.0 SDK. On Intel we build with the 10.12 SDK so this problem is avoided. Also Pale Moon no longer supports drawing in the titlebar in the front end. However Basilisk does and built for ARM the tabs were cut off by the native titlebar. This uses the new APIs introduced in SDK 10.10 and 11.0 to draw in the titlebar.
2023-04-05 07:11:27 +08:00
roytam1
3298c8907d
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-24 09:14:11 +08:00
Moonchild
078b1b73dc
Issue #2161 - Ctrl + Enter should cause keypress event even though the key combination doesn't input any character
...
Currently, we dispatch keypress event when Enter is pressed without
modifiers or only with the Shift key (line break).
However, other browsers dispatch keypress events for Ctrl + Enter also
even if it doesn't cause any text input.
So, we should fire keypress events for Ctrl + Enter, even in strict
keypress dispatching mode. Note that with other modifiers, it depends on
the browser and/or platform and we can't dispatch the event for
consistent behavior.
This means web developers shouldn't rely one keypress events to catch
Alt + Enter, Meta + Enter and two or more modifiers + Enter.
Based on BZ 1438133
Resolves #2161
2023-03-24 09:13:51 +08:00
roytam1
eb8748c537
Merge remote-tracking branch 'origin/tracking' into custom
2023-03-06 16:29:00 +08:00
FranklinDM
24572438a0
Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly in event handling
...
* RE: BasicEvents.h - our WidgetEvent is not movable (yet), so the change that requires that wasn't included.
* Parts of this use code that was introduced in bug 1427511. For now, they were replaced with their equivalents.
2023-03-06 16:14:31 +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
cad030d6cc
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-19 09:43:10 +08:00
Moonchild
4381425b26
[gtk widget] Use text/uri-list for file drag&drop.
2023-01-19 09:41:00 +08:00
roytam1
120ac6d556
Merge remote-tracking branch 'origin/tracking' into custom
2022-12-30 09:29:56 +08:00
FranklinDM
704a1bcfab
No issue - Replace use of deprecated GetPreventDefault in GTK menu bar
2022-12-30 09:20:59 +08:00
roytam1
74a139ee22
Merge remote-tracking branch 'origin/tracking' into custom
2022-12-02 23:57:49 +08:00
Brian Smith
e10eeed772
Issue #2022 Follow-Up - Add autorelease to our manual NSView to prevent potential leaks. Also move titlebar overrides from BaseWindow to ToolbarWindow... This caused problems in Waterfox Classic on Ventura, while this didn't seem to be necessary in UXP... There is no need for those overrides in BaseWindow, so why risk potential problems. https://bugzilla.mozilla.org/show_bug.cgi?id=1576387 d7f5814dc0
2022-12-02 23:56:58 +08:00
Martok
b4dd106262
Issue #2030 - Dispatch click on common interactive ancestor if mousdown/up are not on the same element
...
For example, if the mouse is dragged from one element to another while
staying inside the same button, dispatch from their common ancestor
2022-12-02 23:56:40 +08:00
Martok
4354c7a1bc
Issue #2030 - Allow child nodes of button to participate in mouse hit tests
...
This is needed for web compatibility, even if standards compliance is debatable.
2022-12-02 23:55:57 +08:00
FranklinDM
6d6d149b6f
Issue #2036 - Prevent GTK color picker from being frozen when launched from a modal XUL window
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1496836
2022-12-02 23:55:12 +08:00
roytam1
5f18cf3bed
Merge remote-tracking branch 'origin/tracking' into custom
2022-10-27 09:04:51 +08:00
Brian Smith
70727d0a0b
Issue #2022 - Part 2 - Add Ventura version detection. Also add Monterey and Ventura to the graphics driver blocklist.
2022-10-27 09:02:53 +08:00
Brian Smith
069b11c14c
Issue #2022 - Part 1 - Fix transparent windows on MacOS 13 Ventura. During the BaseWindow creation contenView is nil on Ventura... So create a NSView with the requested dimensions and set is as the contenView.
2022-10-27 08:59:37 +08:00
Moonchild
1392f5f223
Issue #2019 - Do not dispatch keypress event for non-printable keys.
...
This will prevent the keypress DOM event from firing on keypresses
that do not produce printable keys (e.g. editing nav keys) in content.
This should not affect any chrome events that are in use.
Event dispatch can be re-enabled if necessary with the added pref.
2022-10-27 08:57:42 +08:00
roytam1
34a7589a27
Merge remote-tracking branch 'origin/tracking' into custom
2022-08-04 14:26:42 +08:00
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
roytam1
22356686f9
Merge remote-tracking branch 'origin/tracking' into custom
2022-06-13 09:12:00 +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
roytam1
79792a91ee
Merge remote-tracking branch 'origin/tracking' into custom
2022-06-06 08:58:26 +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
roytam1
2cedfc1adf
Merge remote-tracking branch 'origin/tracking' into custom
2022-05-31 10:17:22 +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
roytam1
7f068ecce3
Merge remote-tracking branch 'origin/tracking' into custom
2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046
Issue #1829 - Revert "Issue #1751 "
2022-05-04 09:40:24 +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