summaryrefslogtreecommitdiff
path: root/widget
Commit message (Collapse)AuthorAge
* No Issue - Fix drawing in titlebar on Mac when building with the Big Sur ↵Brian Smith2023-03-29
| | | | | | | | | 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.
* Issue #2161 - Ctrl + Enter should cause keypress event even though theMoonchild2023-03-23
| | | | | | | | | | | | | | | | | | | | 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
* Revert "[widget] Linux GTK3: Detach accessible from moz_container before ↵Moonchild2023-03-18
| | | | | | | it's deleted" This reverts commit 465a18f34286f8d7e0c9b5f0722d487b4812fb57. Resolves #2168
* Issue #1911 - Follow-up: Filter out illegal file extensions also.Moonchild2023-03-16
| | | | We already did this for file names, just not extensions.
* [widget] Linux GTK3: Detach accessible from moz_container before it's deletedMoonchild2023-03-16
|
* Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly ↵FranklinDM2023-03-04
| | | | | | | 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.
* [widget] Properly test for and handle errors in target-surface creationMoonchild2023-02-19
| | | | and mapping.
* [gtk widget] Use text/uri-list for file drag&drop.Moonchild2023-01-18
|
* No issue - Replace use of deprecated GetPreventDefault in GTK menu barFranklinDM2022-12-24
|
* Issue #1818 - Remove obsolete path hack in widget code.Moonchild2022-12-15
|
* Merge pull request 'Allow <button> children to receive pointer events' ↵Moonchild2022-11-30
|\ | | | | | | | | | | (#2043) from martok/UXP-contrib:2030-button into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2043
| * Issue #2030 - Dispatch click on common interactive ancestor if mousdown/up ↵Martok2022-11-27
| | | | | | | | | | | | | | 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
| * Issue #2030 - Allow child nodes of button to participate in mouse hit testsMartok2022-11-27
| | | | | | | | This is needed for web compatibility, even if standards compliance is debatable.
* | Merge pull request 'Prevent GTK color picker from being frozen when launched ↵Moonchild2022-11-27
|\ \ | | | | | | | | | | | | | | | from a modal XUL window' (#2037) from FranklinDM/UXP-contrib:work_gtk-color-picker-frozen into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2037
| * | Issue #2036 - Prevent GTK color picker from being frozen when launched from ↵FranklinDM2022-11-24
| |/ | | | | | | | | | | a modal XUL window Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1496836
* / Issue #2022 Follow-Up - Add autorelease to our manual NSView to prevent ↵Brian Smith2022-11-27
|/ | | | | | | | | | 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 https://github.com/WaterfoxCo/Waterfox-Classic/commit/d7f5814dc089f615385a00db4dfe187c6aefa1af
* Issue #2022 - Part 2 - Add Ventura version detection.Brian Smith2022-10-24
| | | | Also add Monterey and Ventura to the graphics driver blocklist.
* Issue #2022 - Part 1 - Fix transparent windows on MacOS 13 Ventura.Brian Smith2022-10-24
| | | | | During the BaseWindow creation contenView is nil on Ventura... So create a NSView with the requested dimensions and set is as the contenView.
* Issue #2019 - Do not dispatch keypress event for non-printable keys.Moonchild2022-10-17
| | | | | | | 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.
* Issue #1970 - Part 2: Remove the extra padding on buttonsMoonchild2022-07-22
| | | | | | 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.
* Issue #1905 - Part 2c - Fix OpenGL crash caused by calling [NSOpenGLContext ↵Brian Smith2022-06-04
| | | | | | | 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.
* Merge pull request 'Support MacOS Monterey version detection, 11.0 and newer ↵Moonchild2022-06-03
|\ | | | | | | | | | | | | SDKs and fix system font crash.' (#1912) from dbsoft/UXP:AppleARM into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1912 Reviewed-by: Moonchild <moonchild@palemoon.org>
| * Issue #1905 - Part 2a - Build system fixes to allow use of SDK versioned ↵Brian Smith2022-06-02
| | | | | | | | | | | | 11.0 and higher. Also don't include code incompatible with SDK 10.15 and higher, when building with such a SDK.
| * Issue #1905 - Part 1 - Implement detection of Monterey (12.x), Intel ↵Brian Smith2022-05-25
| | | | | | | | emulation and fix required OS version check.
* | Issue #1911 - Clean up nsFilePicker on Windows.Moonchild2022-05-31
| |
* | [DOM] Don't allow internal MIME types to be assigned to DataTransferMoonchild2022-05-30
|/ | | | | | 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)
* Issue #1829 - Revert “Issue #1751 -- Remove XP_MACOSX conditionals from ↵Brian Smith2022-04-26
| | | | | | | | | 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. This reverts commit 6f707bde95dab6998ac204f9ee6c925ee230c740.
* Issue #1829 - Revert "Issue #1751 -- Remove cocoa and uikit widget support code"Brian Smith2022-04-26
| | | | This reverts commit 08da125d9cc6eea0bc514023e3a75efd64587259.
* [interface] Make Windows non-ePopupLevelTop popups respect owner z-orderMoonchild2022-04-08
|
* [interface] Hold a self-reference in nsDataObj.Moonchild2022-04-08
|
* [interface] Don't block size mode changes.Moonchild2022-04-08
|
* Issue #953 - Neuter the user-facing controls for e10sMoonchild2022-04-08
| | | | | This should prevent people using a massive footgun that would blow off their entire legs. Requires appropriate FE changes.
* Issue #21 - Remove remaining telemetry structs, callers and flags.Moonchild2022-04-02
|
* Issue #21 - Remove Telemetry plumbing and fix build.Moonchild2022-04-02
| | | | | Note this won't give working applications. Requires FE changes and additional js module changes (next part).
* Issue #1053 - Clean up docs and some code comments.Moonchild2022-04-01
| | | | Polish only, no code changes.
* Issue #1830 - Remove --disable-xul config and conditionals.Moonchild2022-04-01
|
* No issue - Clean up some obsolete/archaic code paths.Moonchild2022-04-01
|
* [gfx] Hard-block old mesa/nouveau versionsMoonchild2021-07-14
|
* Issue #1782: Remove Luna, Royale and Zune support from the platform.Moonchild2021-06-14
| | | | | These are obsolete system themes; the platform will fall back to generic/unknown theme support instead.
* Issue #1751 -- Remove cocoa and uikit widget support codeMoonchild2021-05-08
|
* Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.Moonchild2021-05-06
| | | | | This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
* [widget] Require user interaction when picking files or folders v2Moonchild2021-02-21
| | | | | Now with extra sauce to make it work cross-platform and cross-versions and for HTML input elements only.
* [widget] Require user interaction when picking files or folders.Moonchild2021-02-15
|
* Issue #1705 - Part 9b: Revert overzealous changes on Mac (cocoa).Moonchild2021-01-12
|
* Issue #1705 - Part 9: Implement scrollbar-width:thin on Mac (cocoa).Moonchild2021-01-09
|
* Issue #1705 - Part 8: Implement scrollbar-width:thin on GTK.Moonchild2021-01-09
|
* Issue #1705 - Part 7: Implement scrollbar-width:thin on Windows.Moonchild2021-01-09
|
* Issue #1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.Brian Smith2020-12-01
| | | | Changes based on Mozilla bug 1678061.
* Issue #1690 - Part 1: Fix MacOS version detection above 10.15.Brian Smith2020-11-23
| | | | Changes based on Mozilla bug 1616404 but supporting back to 10.7.
* Issue #1667 - Part 3: Fix OpenGL load and runtime issues on Big SurBrian Smith2020-11-17
| | | | | This fix is included in NSPR 4.27 and Mozilla bug 1652330. Also put a main thread check in the cocoa draw callback.