Commit Graph

58 Commits

Author SHA1 Message Date
roytam1 a8c9733702 import from UXP: Increase size of data over which we write the data to disk rather than keep it around in memory (af613ef2) 2023-04-13 09:35:12 +08:00
roytam1 e77507eb72 import from UXP: Use nsAnonymousTemporaryFile for clipboard cache (42723b16) 2023-04-13 09:34:38 +08:00
roytam1 6f6086e1e1 import from UXP: 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. (2625cb0b) 2023-04-05 07:50:59 +08:00
roytam1 12bbdf34fa import from UXP: Issue #2161 - Ctrl + Enter should cause keypress event even though the key combination doesn't input any character (078b1b73) 2023-03-24 10:08:36 +08:00
roytam1 261bfcadcc ported from UXP: Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly in event handling (24572438) 2023-03-07 00:25:35 +08:00
roytam1 06bb203d1c import from UXP: [widget] Properly test for and handle errors in target-surface creation and mapping. (bca689b4) 2023-02-20 12:07:57 +08:00
roytam1 52083dd978 import from UXP: [gtk widget] Use text/uri-list for file drag&drop. (4381425b) 2023-01-19 09:46:19 +08:00
roytam1 c47e9f0853 ported from UXP: Issue #2030 - Dispatch click on common interactive ancestor if mousdown/up are not on the same element (0494d561c) 2022-12-03 00:52:19 +08:00
roytam1 cc57d007fb import from UXP: Issue #2030 - Allow child nodes of button to participate in mouse hit tests (a585aeacf) 2022-12-03 00:52:19 +08:00
roytam1 a2c7ff5a37 import from UXP:
- Issue #2036 - Prevent GTK color picker from being frozen when launched from a modal XUL window (058474229)
- Issue #2022 Follow-Up - Add autorelease to our manual NSView to prevent potential leaks. Also move titlebar overrides from BaseWindow to ToolbarWindow. (a061db91d)
2022-12-03 00:51:36 +08:00
roytam1 7304d9f1c5 ported from UXP:
- 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. (e73a2fb0f)
- Issue #2022 - Part 2 - Add Ventura version detection. Also add Monterey and Ventura to the graphics driver blocklist. (7a82ec576)
2022-10-27 13:40:44 +08:00
roytam1 4618c0f966 ported from UXP:
- Issue #2019 - Do not dispatch keypress event for non-printable keys. (74b3ce90d)
- Issue #2019 - Follow-up: Adjust content spellchecker to use keydown (3142f9546)
- Issue #2019 - Follow-up: Make autocomplete and satchel listen to keypress events in the system event group (7ac438f6a)
2022-10-27 13:15:25 +08:00
roytam1 e2f3198be9 import from UXP: [DOM] Don't allow internal MIME types to be assigned to DataTransfer (3bcd2ee3) 2022-05-31 11:48:29 +08:00
roytam1 7ecb8a9874 ported from UXP: [widget] Require user interaction when picking files or folders v2 (d867f26c) 2022-04-22 23:30:10 +08:00
roytam1 3f68538203 import from UXP:
- Issue #1705 - Part 9: Implement scrollbar-width:thin on Mac (cocoa). (b523c3be)
- Issue #1705 - Part 9b: Revert overzealous changes on Mac (cocoa). (4461ea7a)
2022-04-21 22:33:16 +08:00
roytam1 123ab0870c import from UXP: Issue #1705 - Part 8: Implement scrollbar-width:thin on GTK. (2d99d18c) 2022-04-21 22:31:47 +08:00
roytam1 c6f5b2e8d0 import from UXP: Issue #1705 - Part 7: Implement scrollbar-width:thin on Windows. (32df94bf) 2022-04-21 22:31:28 +08:00
roytam1 93f83e2a2e import from UXP: Issue #1606 - Add support for multi-monitor DPI awareness v2 (W10 1706+) (810ce6aa) 2022-04-18 12:56:28 +08:00
roytam1 4b9a69471e import from UXP: Issue #1566 - Lowercase link filename extension (fcb22427) 2022-04-15 10:30:55 +08:00
roytam1 1efa259f1e ported from UXP: Bug 1425441 - Move relatedTarget to WidgetEvent (907e2104) 2022-04-14 22:30:36 +08:00
roytam1 bfc4b5e3f2 import from UXP: Bug 1412775 - Implement Event.composedPath (2ee3ce62) 2022-04-14 22:17:25 +08:00
roytam1 b5350c1e3b import from UXP: Update GTK clipboard handling (01ba6b6d) 2022-04-06 12:28:16 +08:00
roytam1 14a761e619 import from UXP: Issue #1348 - Part 3: Set IS_PRIVATE input scope in private browsing. (1803a30a) 2022-04-06 12:00:53 +08:00
roytam1 3b709cd263 import from UXP: Issue #1348 - Part 2: Teach IMEState about Private Browsing mode. (9d2e51ac) 2022-04-06 11:59:56 +08:00
roytam1 f254eb15ab import from UXP: Issue #1348 - Part 1: Clean up input scope support for IMM32. (8972304b) 2022-04-06 11:59:09 +08:00
roytam1 074b4da4d5 import from UXP: Initialize all fields of GdkEvents in nsClipboard.cpp (72e5396d) 2022-04-06 10:22:44 +08:00
roytam1 5e7e20cef2 import from UXP: Issue #999 - Disable native file picker by default. (53bfc43d) 2022-04-05 15:01:45 +08:00
roytam1 a67596f5db import from UXP: Issue #999 - Use xdg-desktop-portal for file selection dialogs on Linux. (4d854945) 2022-04-05 14:59:19 +08:00
roytam1 7b9cefbb0c import from UXP: Perform a size check when dealing with clipboard data to be sure. (5944b47f) 2022-04-03 15:34:58 +08:00
roytam1 075cb87c53 import from UXP: Fix scroll bar orientation on MacOS (7dacd442) 2022-04-03 14:30:37 +08:00
roytam1 766d0299b9 import from UXP: Bug 1408701: Ensure that we continue to show dark scrollbar thumbs on macOS 10.13+ when scrollbars are always displayed. r=mstange (a446734d) 2022-04-03 13:51:49 +08:00
roytam1 e8a7bec146 import from UXP: Preserve transparency when copying a DIB to/from the clipboard. (5f10407c) 2022-04-01 10:32:52 +08:00
roytam1 4c2ed59600 import from UXP: Use existing image decoders to handle clipboard BMP data. (c15f982d) 2022-03-31 23:11:51 +08:00
roytam1 f558a5d789 import from UXP: Handle pasted data of certain types with an odd length. (84cc1f32) 2022-03-31 23:08:17 +08:00
roytam1 547966dd91 import from UXP: Don't allocate PendingAction twice. (107ddd11) 2022-03-29 12:32:54 +08:00
roytam1 f17c6b3723 import from UXP: Protect main thread in-process access to WinCompositorWidget transparent surface. (416ce4eb) 2022-03-29 12:25:09 +08:00
roytam1 d867a1d5bb import from UXP: Fix timer overflow on converting from sec to msec in idleService (640ededc) 2022-03-28 15:47:36 +08:00
roytam1 0c7e560a48 import from UXP: Issue #730 - Introduce ui.menu.allow_content_scroll (adca8376) 2022-03-28 13:37:46 +08:00
roytam1 51417235ca import from UXP:
- Issue #12 Part 1: Stop using nsIDOMEvent in UpdateIMEComposition. (32326ee1)
- Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. (550c8977)
- Issue #12 Part 3: EditorEventListener should check if it's removed during a call of editor's method. (107f8e58)
- Issue #12 Part 4: Don't access mEditorBase directly. (3e44d7b9)
- Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable. (ea3ff241)
2022-03-25 15:00:30 +08:00
roytam1 a48b953e63 import from UXP:
- Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code (36d469a7)
- Bug 1344642 - Part 2: Add a new pref for input type=week, month and datetime-local (5622e561)
2022-03-23 16:59:55 +08:00
roytam1 3b470745e0 partly import changes from tenfourfox:
- #654: M1739957 M1740985+backbugs M1742421, update HSTS, TLDs (861ae8f62)
2022-02-25 11:50:13 +08:00
roytam1 098160e04f import changes from UXP:
- Bug 1740389; r=handyman, a=tjr
  Bug 1735071: Make Windows non-ePopupLevelTop popups respect owner z-order. r=edgar, a=tjr (39c6d13d3)
- Bug 1664149: Hold a self reference in nsDataObj. r=smaug, a=RyanVM (120b884d9)
- Bug 1735028 - check for missing signedData field r=keeler (298b22980)
- Bug 1743515 - Add dynamic check for valid serialized length. r=jonco, a=RyanVM (49b81b9f0)
- Bug 1746720 - Don't special-case <meta> refresh for XSLT. r=ckerschb,freddyb a=RyanVM (c95c05786)
- Bug 1746011 - Handle truncated ADTS stream. r=bryce, a=RyanVM (1650804ee)
- Bug 1737816 - Handle truncated mp3 resources. r=bryce, a=RyanVM (fb0149c9a)
- Bug 1741201 - Increase intermediate byte storage maximum capacity. r=janv, a=tjr (84045e671)
- Bug 1650214 - Cancel progress timer when shutting down FileReader. r=asuth, a=RyanVM (aa254c9ab)
- Bug 1737252 - [devtools] Escaping back tick signs. r=nchevobbe, a=RyanVM (0abaf48c5)
- Issue #unknown, update mozglue delay-load DLL list. (5148da520)
2022-01-19 11:43:05 +08:00
roytam1 761e41420a partly import changes from tenfourfox:
- #482: better bidi M1358275 M1392181 M1428774 + backbugs (e88a717ab)
- M1739352 M1732572(partial) M1730120 M1738237 M1737009 M1717318(partial) M1586061 (03ffdeadb)
- M1737515 M1737470(no tests) +TLDs, HSTS, tzdata (fd2b82f13)
2022-01-04 12:22:52 +08:00
roytam1 f7cbe248db import changes from tenfourfox:
- #578: M1322864 M1585106 M1597043 (7758ebb12)
- #578: M1579060 M1586176 (f3f295615)
- #581: M1047098 M1355576 (ec8e68102) (remove-tele part only)
- closes #582: M1358018 modified for 45ESR (74fd7b6d0)
- #584: update certs, pins, TLDs (690b9bbce)
- #587: M1513855 M1596668 M1602944 M1599420 M1595399 (35a4358b3)
- #587: update TLDs, certs, pins, etc. (35584e5e6)
- #587: M1598543 M1607902 disable remote jars (cfb4b1e08)
- #587: update TLDs (c15b86c49)
- #591: M1467722 (cfb43390a) (with libeditor fix)
- #591: bustage fix (bbc9a12a5)
- #593: M1607742 M1684490 + updated TLDs, pins, HSTS (67706e1f6)
2020-02-28 22:35:51 +08:00
roytam1 4d70836fa5 fixed inverted logic in rev 17c64c5c71 2019-04-05 14:56:10 +08:00
roytam1 17c64c5c71 port most of XP related hunks from iceweaselXP-53 2019-04-05 13:58:04 +08:00
roytam1 f63e51e471 revert most of "Switch working copy to Goanna 4" (https://github.com/MoonchildProductions/moebius/commit/c4895374053ab93b4f365d3e690e99a30ffa1a2f) in order to keep upstream patch applicable 2019-02-20 00:30:25 +08:00
roytam1 9c1bff8485 import changes from wg9s seamonkey-2.49 patches:
- Bug 1420865 - Don't check for CONTENT_MAY_CHANGE_TRANSFORM across layer trees. r=mstange, a=RyanVM
- Bug 1466991 - Part 1: Factor out ShouldUseXBLScope. r=smaug, a=RyanVM
- Bug 1376756 - gtk: while drawing nsTreeBodyFrame, fetch current row attributes for proper style rendering. r=karlt a=jorgk DONTBUILD
- Bug 1465458 - Fix launching downloads without a file extension on Windows. r=mak, a=RyanVM
- Bug 1470260 - Part 1: Ensure that 'this' stays alive for the duration of the TickRefreshDriver call. r=emilio, a=RyanVM
- Bug 1470260 - Part 2: Make RefreshDriverTimer ref-counted and hold a strong ref on it on the stack when nsRefreshDriver::Tick can be reached. r=emilio, a=RyanVM
- Bug 1469914 - Prevent the HAL from registering duplicate observers. r=froydnj, a=RyanVM
- Bug 1472925 - Keep a strong reference to MediaStreamGraph from GraphDriver. r=padenot, a=RyanVM
- Bug 468497: Inform the accessibility FocusManager when a XUL tree's view changes. r=MarcoZ a=jorgk DONTBUILD
- Bug 1362303: Avoid crashes when dragging on macOS due to failed allocations of large shmem segments. r=glandium
- Bug 1473161 - Add missing bound check in nsContentUtils::DataTransferItemToImage. r=nika, a=RyanVM
- Bug 1456294 - Hook ImmAssociateContextEx. r=masayuki, a=RyanVM
- Bug 1435319. r=valentin, a=RyanVM
- Bug 1478679 - Fix memory leak in LCovCompartment. r=nbp, a=RyanVM
- Bug 1468053 - Disable a workaround on macOS 10.14+ for an Apple bug described in bug 378645 involving popup windows that was fixed by Apple. r=mstange, a=RyanVM
- Bug 1403945 - Add utility functions to recognize OS X 10.13. r=mstange, a=sledru
- Bug 1468053 - Add nsCocoaFeatures::OnMojaveOrLater(). r=haik, a=RyanVM
- Bug 1467889 - Adjust some uses of XPCOM strings. r=mrbkap, r=mstange, a=RyanVM
- Bug 1474883 - Ensure D2D glyph cache is pruned after rendering 1000 transformed glyphs. r=bas, a=RyanVM
- Bug 1450989 - Capture the action and target as part of the form submission creation. r=bz, a=RyanVM
- Bug 1473113 - Defer initializing the MAR index until it's needed. r=rstrong, a=RyanVM
- Bug 1467363 - Protect access to mTransparentSurface with a lock. r=rhunt, a=RyanVM
- Bug 1404274 - Key Evaluation on the cloned JS objects. r=asuth, a=RyanVM
- Bug 1480640 - Fix hazard in CopyingStructuredCloneReadCallback. r=baku, a=RyanVM
- Bug 1480092 - Cherrypick rev 52add5896661d186dec284ed646a4b33b607d2c7. r=drno a=RyanVM
- Bug 1466577 - Race condition in WebSocketChannel::StopSession. r=hurley a=dveditz
- Bug 1461307 - Overwrite selection colors of widget which may be referred by IME via IM context with selection colors of GtkTextView. r=karlt, a=RyanVM
- Bug 1480521 - Backport fixes from Bug 1479900. r=sfink, a=RyanVM
- Bug 1469348 - Fix the problem of download file failed on Mac. r=paolo, a=RyanVM
- Bug 1478575 - Unify CamerasChild shutdown paths. r=gcp, a=RyanVM
- Bug 1461706 - Sync disabled state of number control regardless of appearance. r=jwatt, a=RyanVM
- Bug 1485224 - Make best efforts to write a stack frame atomically. r=froydnj
- Bug 1435212 - Add support for FFmpeg 4.0. r=bryce, a=jcristau
- Bug 1512882 - Use Windows 7 search icon on Windows 8.x. r=IanN a=IanN
- Bug 1496588: Avoid a UB in mozStorageService.cpp. r=froydnj
- Bug 1500759 - Root parameter dictionaries in AesTask::Init(). r=keeler, a=lizzard
2019-01-19 22:13:12 +08:00
roytam1 019ca9a532 try to sync with UXP to solve crash in msctfime. 2018-07-07 13:59:34 +08:00
roytam1 442fafaad5 cherry-picked mozilla upstream changes:
bug1437842, bug1452619, bug1453127, bug1447080, bug1426129, bug1454692, bug1458270, bug1452576, bug1459206, bug1459162, bug1451297, bug1462682, bug1450688, bug1456975, bug1442722, bug1465108, bug1459693
2018-06-23 01:47:24 +08:00