summaryrefslogtreecommitdiff
path: root/widget
Commit message (Collapse)AuthorAge
* [widget] Change RegisterDragDrop to be called on idle.Moonchild2023-10-25
| | | | | | 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.
* No Issue - Fix intermitted crash on MacOS 14 Sonoma Beta 3.Brian Smith2023-07-17
| | | | | 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.
* [widget] Rewrite data-read loop in OnDataAvailable.Moonchild2023-05-10
| | | | | | 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.
* Issue #1656 - Remove more vim control lines.Moonchild2023-05-05
| | | | | | | | 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
* Issue #1911 - Follow-up: Filter out illegal characters in more locations.Moonchild2023-04-12
|
* No issue - Fix off-by-one of kLargeDatasetSizeMoonchild2023-04-12
|
* Increase size of data over which we write the data to disk rather than keep ↵Sandra2023-04-12
| | | | it around in memory
* Use nsAnonymousTemporaryFile for clipboard cacheSandra2023-04-11
| | | | Base on https://github.com/mozilla/gecko-dev/commit/ecc04a9245b409d7eed7df63ba733cd2073180de
* 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.