Accepting request 917452 from mozilla:Factory
- Mozilla Firefox 92.0 * More secure connections: Firefox can now automatically upgrade to HTTPS using HTTPS RR as Alt-Svc headers * Full-range color levels are now supported for video playback on many systems MFSA 2021-38 (bsc#1190269) * CVE-2021-29993 (bmo#1708544, bmo#1708767, bmo#1712240, bmo#1712242, bmo#1729259) Handling custom intents could lead to crashes and UI spoofs * CVE-2021-38491 (bmo#1551886) Mixed-Content-Blocking was unable to check opaque origins * CVE-2021-38492 (bmo#1721107) Navigating to `mk:` URL scheme could load Internet Explorer * CVE-2021-38493 (bmo#1723391, bmo#1724101, bmo#1724107) Memory safety bugs fixed in Firefox 92, Firefox ESR 78.14 and Firefox ESR 91.1 * CVE-2021-38494 (bmo#1723920, bmo#1725638) Memory safety bugs fixed in Firefox 92 - updated appdata - remove mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch (does not apply anymore; unclear if obsolete) - bring back mozilla-silence-no-return-type.patch and run post-build-checks everywhere again - requires NSS 3.69.1 - Add mozilla-bmo1708709.patch: On [wayland] popup can be wrongly repositioned due to rounding errors when font scaling != 1 (bmo#1708709); patch taken from upstream bug report and rebased to apply cleanly against current version. OBS-URL: https://build.opensuse.org/request/show/917452 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox?expand=0&rev=344
This commit is contained in:
@@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 10:16:28 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
||||
- Mozilla Firefox 92.0
|
||||
* More secure connections: Firefox can now automatically upgrade to
|
||||
HTTPS using HTTPS RR as Alt-Svc headers
|
||||
* Full-range color levels are now supported for video playback on
|
||||
many systems
|
||||
MFSA 2021-38 (bsc#1190269)
|
||||
* CVE-2021-29993 (bmo#1708544, bmo#1708767, bmo#1712240,
|
||||
bmo#1712242, bmo#1729259)
|
||||
Handling custom intents could lead to crashes and UI spoofs
|
||||
* CVE-2021-38491 (bmo#1551886)
|
||||
Mixed-Content-Blocking was unable to check opaque origins
|
||||
* CVE-2021-38492 (bmo#1721107)
|
||||
Navigating to `mk:` URL scheme could load Internet Explorer
|
||||
* CVE-2021-38493 (bmo#1723391, bmo#1724101, bmo#1724107)
|
||||
Memory safety bugs fixed in Firefox 92, Firefox ESR 78.14 and
|
||||
Firefox ESR 91.1
|
||||
* CVE-2021-38494 (bmo#1723920, bmo#1725638)
|
||||
Memory safety bugs fixed in Firefox 92
|
||||
- updated appdata
|
||||
- remove mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
|
||||
(does not apply anymore; unclear if obsolete)
|
||||
- bring back mozilla-silence-no-return-type.patch and
|
||||
run post-build-checks everywhere again
|
||||
- requires NSS 3.69.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 31 00:33:39 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Add mozilla-bmo1708709.patch: On [wayland] popup can be wrongly
|
||||
repositioned due to rounding errors when font scaling != 1
|
||||
(bmo#1708709); patch taken from upstream bug report and rebased
|
||||
to apply cleanly against current version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 29 14:45:29 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Bump using with GCC (tested locally).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 27 22:47:48 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
@@ -20,10 +20,6 @@
|
||||
%define _dwz_low_mem_die_limit 40000000
|
||||
%define _dwz_max_die_limit 200000000
|
||||
|
||||
%if 0%{?suse_version} < 1550 && 0%{?sle_version} <= 150100
|
||||
#!BuildIgnore: post-build-checks
|
||||
%endif
|
||||
|
||||
# changed with every update
|
||||
# orig_version vs. mainver: To have beta-builds
|
||||
# FF70beta3 would be released as FF69.99
|
||||
@@ -32,9 +28,9 @@
|
||||
# orig_suffix b3
|
||||
# major 69
|
||||
# mainver %major.99
|
||||
%define major 91
|
||||
%define mainver %major.0.2
|
||||
%define orig_version 91.0.2
|
||||
%define major 92
|
||||
%define mainver %major.0
|
||||
%define orig_version 92.0
|
||||
%define orig_suffix %{nil}
|
||||
%define update_channel release
|
||||
%define branding 1
|
||||
@@ -44,7 +40,7 @@
|
||||
%define do_profiling 0
|
||||
|
||||
# upstream default is clang (to use gcc for large parts set to 0)
|
||||
%define clang_build 1
|
||||
%define clang_build 0
|
||||
|
||||
# PIE, full relro
|
||||
%define build_hardened 1
|
||||
@@ -66,9 +62,9 @@ BuildArch: i686
|
||||
|
||||
# general build definitions
|
||||
%define progname firefox
|
||||
%define appname Firefox
|
||||
%define pkgname MozillaFirefox
|
||||
%define srcname firefox
|
||||
%define appname Firefox
|
||||
%define progdir %{_prefix}/%_lib/%{progname}
|
||||
%define gnome_dir %{_prefix}
|
||||
%define desktop_file_name %{progname}
|
||||
@@ -122,7 +118,7 @@ BuildRequires: libiw-devel
|
||||
BuildRequires: libproxy-devel
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: mozilla-nspr-devel >= 4.32
|
||||
BuildRequires: mozilla-nss-devel >= 3.68
|
||||
BuildRequires: mozilla-nss-devel >= 3.69.1
|
||||
BuildRequires: nasm >= 2.14
|
||||
BuildRequires: nodejs >= 10.22.1
|
||||
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000
|
||||
@@ -211,7 +207,6 @@ Patch3: mozilla-ntlm-full-path.patch
|
||||
Patch4: mozilla-aarch64-startup-crash.patch
|
||||
Patch6: mozilla-sandbox-fips.patch
|
||||
Patch7: mozilla-fix-aarch64-libopus.patch
|
||||
Patch8: mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
|
||||
Patch9: mozilla-s390-context.patch
|
||||
Patch10: mozilla-pgo.patch
|
||||
Patch11: mozilla-reduce-rust-debuginfo.patch
|
||||
@@ -229,6 +224,8 @@ Patch25: mozilla-bmo998749.patch
|
||||
Patch26: mozilla-bmo1626236.patch
|
||||
Patch27: mozilla-s390x-skia-gradient.patch
|
||||
Patch28: mozilla-libavcodec58_91.patch
|
||||
Patch29: mozilla-bmo1708709.patch
|
||||
Patch30: mozilla-silence-no-return-type.patch
|
||||
# Firefox/browser
|
||||
Patch101: firefox-kde.patch
|
||||
Patch102: firefox-branded-icons.patch
|
||||
@@ -339,7 +336,6 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
|
||||
%patch4 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
@@ -357,6 +353,8 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
|
||||
%patch26 -p1
|
||||
%patch27 -p1
|
||||
%patch28 -p1
|
||||
%patch29 -p1
|
||||
%patch30 -p1
|
||||
# Firefox
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
@@ -365,7 +363,7 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
|
||||
%build
|
||||
%if !%{with only_print_mozconfig}
|
||||
# no need to add build time to binaries
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{pkgname}.changes")"
|
||||
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
||||
TIME="\"$(date -d "${modified}" "+%%R")\""
|
||||
find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:23523af27631e24dd7dbab8429bcd0d828133e9d32b7ab343495c6e15912f6b5
|
||||
size 381193820
|
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEQ2D+IQnEl2MYb44h6+QekPbxL20FAmEjv20ACgkQ6+QekPbx
|
||||
L21yKw/+PCNX2PUSgBKW8G1dNjZkL4D1ETjMeZ1GJpQr2LW2Rhm+vwEjLJiZEI02
|
||||
01FZQmRdN3HwBUK1a6nFJ2AlFGB4dT9Nw6Y+A3IYaOl6obBgdgA2Z+rFRP9SVC6v
|
||||
8rGUsxohqfYxFgm28+9Fe9/+J/kNgiUQ/kaUUL5fR2oc6fTMMt4/8EbhVsQpd96R
|
||||
KtNcVEhsmsv2Cq4eebguBSM7WCPUDS7qGumrB5/e71M2euJ8yL+snPXGXKmhKLrc
|
||||
OsEGRXULbiH70EfRY28DjlemRE8SpUk6yT8GpjvbS858SHFGIOAUeQOCaYer7Jru
|
||||
qwZ5e79fGWVS3jTyZBHy15ONqIPu6QEw+yZUGszy2Sn6u+bziCJMfPdP1R4nzoM9
|
||||
s4IAJP0YuyLEDalzZJ2zmfDOSO10s6yZEYfz7Bhw5R8JXJb/cbEta9Aa8QuKyjY9
|
||||
i20qwGG4vEwVSY2EGXcz6kkbnamABaksqSWz3+3JqS1a8KjN1O1gn0PjoB6jc/AP
|
||||
jQfumdVXm6e3pPMxKyKin4ZiUH8bZfBGiCrkp4uw3imMuGYe7wMl3RqLRZBkcgYM
|
||||
B/dq85JnAhGdH9dQLAyIM/OdGWllCqkS3aZWmpC/zEwJ9ZpQwbPjA0CniahVYnTq
|
||||
/GGLXZjHpg/mrvhFKOM6Qa9vcJjg95CsBlvZjzt4K+lqDXtxvAs=
|
||||
=qoZ/
|
||||
-----END PGP SIGNATURE-----
|
3
firefox-92.0.source.tar.xz
Normal file
3
firefox-92.0.source.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:299a472373021cc9194449c9f4bb962d5f74ef05e8af0448c589761ea34fbc84
|
||||
size 385055824
|
16
firefox-92.0.source.tar.xz.asc
Normal file
16
firefox-92.0.source.tar.xz.asc
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEQ2D+IQnEl2MYb44h6+QekPbxL20FAmEzdWMACgkQ6+QekPbx
|
||||
L23TKw/+JluhVvpQRjCugd7luU9MmprvuXwgvW9ueOF0X8kM7vPNYvPki8Z27eek
|
||||
EGHTHMPxgPfUr5P3l5vHqN18IYW3/KZRYa0MzyHJUyptY8bs4Zt+v2zy21ZivK14
|
||||
+klosmN42/SFLIp5VCO3wEn1b4NCe4RIqrbW3jQmMNg0DwTp1LGE95/aXAUbtzm8
|
||||
BgSNYl2AgfhoXN57XrRMUO3a2GG7no+7CE5vB6Oc3zZu0bXooQ5BDbbFyruTsG8Q
|
||||
jM64TR5KV/bPcpidaAMWobCBQ5FN0mG/mTNnuCreyRtpWTqsIFwwTu8D+1yhIBO2
|
||||
Dz4Wrtuqk1xZ+hB8gMXmeDOSYK+HU0qqWHsbZCcZDs1ot4/YvX+DGk1qGj2bQAaG
|
||||
gtdD95pn2EcRUh8KTzrK0xUwbg527dzNO7ovCdDNnKHXbYeyBxq/yCTDQnu4sM/w
|
||||
DAGYd+m0IvHMEHBJDPIHqkx1N/E2lzq/1Njuoc/HYupg/wbaP250zHe5ERa6nXUr
|
||||
U5nG5ZoQ4r8JoYULS482P/GqOWszMUeUS+VaCXhZoJhr+4BMbo0s7kRE8uoTB8Sa
|
||||
0m+WEjTq2Rx3XMj9JsVmFuTDNhTHjh0zD9Cd6YUpXi3eorpb0P0Cdo7Tsyt91ORJ
|
||||
Aa25GTY16xx6wD8VpN6xXl/XPPKa3sC+21pfhLZa5qFTzmmr8EI=
|
||||
=oc+i
|
||||
-----END PGP SIGNATURE-----
|
@@ -32,8 +32,16 @@ compliance and performance. Its functionality can be enhanced via a plethora of
|
||||
</description>
|
||||
<screenshots>
|
||||
<screenshot type="default">
|
||||
<image height="1920" width="1007">https://en.opensuse.org/images/d/d8/Mozilla_Firefox_78.6.0esr_openSUSE_15.2_KDE5.71.0_Spectacle.png</image>
|
||||
<caption>The openSUSE wiki</caption>
|
||||
<image height="800" width="1280">https://support.cdn.mozilla.net/media/uploads/gallery/images/2015-05-20-16-04-21-88bff4.png</image>
|
||||
<caption>New tab page with speed dials</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image height="439" width="620">https://support.cdn.mozilla.net/media/uploads/gallery/images/2015-12-22-15-15-05-3c0a80.png</image>
|
||||
<caption>Search suggestions from home page</caption>
|
||||
</screenshot>
|
||||
<screenshot>
|
||||
<image height="394" width="700">https://addons.cdn.mozilla.net/user-media/previews/full/159/159648.png</image>
|
||||
<caption>Firefox with Adwaita theme</caption>
|
||||
</screenshot>
|
||||
</screenshots>
|
||||
<update_contact>mdn@lists.mozilla.org</update_contact>
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51fc69a958d5f792b3d0ef94d4f9da9313685df94597eb21a0fb58e15eb9e64b
|
||||
size 51031676
|
3
l10n-92.0.tar.xz
Normal file
3
l10n-92.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:db2ccc9f76675d7f7e70a9996cd1464884bf7092f1aa6a7580c23e03f0d90c04
|
||||
size 51163396
|
201
mozilla-bmo1708709.patch
Normal file
201
mozilla-bmo1708709.patch
Normal file
@@ -0,0 +1,201 @@
|
||||
Index: firefox-91.0.2/dom/xul/XULPopupElement.cpp
|
||||
===================================================================
|
||||
--- firefox-91.0.2.orig/dom/xul/XULPopupElement.cpp
|
||||
+++ firefox-91.0.2/dom/xul/XULPopupElement.cpp
|
||||
@@ -271,8 +271,7 @@ already_AddRefed<DOMRect> XULPopupElemen
|
||||
// For native menus we can't query the true size. Use the anchor rect
|
||||
// instead, which at least has the position at which we were intending to
|
||||
// open the menu.
|
||||
- screenRect = Some(CSSRect(
|
||||
- CSSIntRect::FromUnknownRect(menuPopupFrame->GetScreenAnchorRect())));
|
||||
+ screenRect = Some(CSSRect(menuPopupFrame->GetScreenAnchorRect()));
|
||||
} else {
|
||||
// For non-native menus, query the bounds from the widget.
|
||||
if (nsView* view = menuPopupFrame->GetView()) {
|
||||
Index: firefox-91.0.2/layout/xul/nsMenuPopupFrame.h
|
||||
===================================================================
|
||||
--- firefox-91.0.2.orig/layout/xul/nsMenuPopupFrame.h
|
||||
+++ firefox-91.0.2/layout/xul/nsMenuPopupFrame.h
|
||||
@@ -321,7 +321,7 @@ class nsMenuPopupFrame final : public ns
|
||||
// If aUpdateAttrs is true, and the popup already has left or top attributes,
|
||||
// then those attributes are updated to the new location.
|
||||
// The frame may be destroyed by this method.
|
||||
- void MoveTo(const mozilla::CSSIntPoint& aPos, bool aUpdateAttrs);
|
||||
+ void MoveTo(const mozilla::CSSPoint& aPos, bool aUpdateAttrs);
|
||||
|
||||
void MoveToAnchor(nsIContent* aAnchorContent, const nsAString& aPosition,
|
||||
int32_t aXPos, int32_t aYPos, bool aAttributesOverride);
|
||||
@@ -370,7 +370,9 @@ class nsMenuPopupFrame final : public ns
|
||||
|
||||
// Return the screen coordinates in CSS pixels of the popup,
|
||||
// or (-1, -1, 0, 0) if anchored.
|
||||
- nsIntRect GetScreenAnchorRect() const { return mScreenRect; }
|
||||
+ mozilla::CSSIntRect GetScreenAnchorRect() const {
|
||||
+ return mozilla::CSSRect::FromAppUnitsRounded(mScreenRect);
|
||||
+ }
|
||||
|
||||
mozilla::LayoutDeviceIntPoint GetLastClientOffset() const {
|
||||
return mLastClientOffset;
|
||||
@@ -557,7 +559,7 @@ class nsMenuPopupFrame final : public ns
|
||||
// override mXPos and mYPos.
|
||||
int32_t mXPos;
|
||||
int32_t mYPos;
|
||||
- nsIntRect mScreenRect;
|
||||
+ nsRect mScreenRect;
|
||||
// Used for store rectangle which the popup is going to be anchored to,
|
||||
// we need that for Wayland
|
||||
#ifdef MOZ_WAYLAND
|
||||
Index: firefox-91.0.2/layout/xul/nsMenuPopupFrame.cpp
|
||||
===================================================================
|
||||
--- firefox-91.0.2.orig/layout/xul/nsMenuPopupFrame.cpp
|
||||
+++ firefox-91.0.2/layout/xul/nsMenuPopupFrame.cpp
|
||||
@@ -868,8 +868,9 @@ void nsMenuPopupFrame::InitializePopup(n
|
||||
InitPositionFromAnchorAlign(anchor, align);
|
||||
}
|
||||
}
|
||||
-
|
||||
- mScreenRect = nsIntRect(-1, -1, 0, 0);
|
||||
+ // When converted back to CSSIntRect it is (-1, -1, 0, 0) - as expected in
|
||||
+ // nsXULPopupManager::Rollup
|
||||
+ mScreenRect = nsRect(-AppUnitsPerCSSPixel(), -AppUnitsPerCSSPixel(), 0, 0);
|
||||
|
||||
if (aAttributesOverride) {
|
||||
// Use |left| and |top| dimension attributes to position the popup if
|
||||
@@ -881,11 +882,13 @@ void nsMenuPopupFrame::InitializePopup(n
|
||||
nsresult err;
|
||||
if (!left.IsEmpty()) {
|
||||
int32_t x = left.ToInteger(&err);
|
||||
- if (NS_SUCCEEDED(err)) mScreenRect.x = x;
|
||||
+ if (NS_SUCCEEDED(err))
|
||||
+ mScreenRect.x = nsPresContext::CSSPixelsToAppUnits(x);
|
||||
}
|
||||
if (!top.IsEmpty()) {
|
||||
int32_t y = top.ToInteger(&err);
|
||||
- if (NS_SUCCEEDED(err)) mScreenRect.y = y;
|
||||
+ if (NS_SUCCEEDED(err))
|
||||
+ mScreenRect.y = nsPresContext::CSSPixelsToAppUnits(y);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -900,7 +903,8 @@ void nsMenuPopupFrame::InitializePopupAt
|
||||
mPopupState = ePopupShowing;
|
||||
mAnchorContent = nullptr;
|
||||
mTriggerContent = aTriggerContent;
|
||||
- mScreenRect = nsIntRect(aXPos, aYPos, 0, 0);
|
||||
+ mScreenRect = nsRect(nsPresContext::CSSPixelsToAppUnits(aXPos),
|
||||
+ nsPresContext::CSSPixelsToAppUnits(aYPos), 0, 0);
|
||||
mXPos = 0;
|
||||
mYPos = 0;
|
||||
mFlip = FlipType_Default;
|
||||
@@ -920,7 +924,8 @@ void nsMenuPopupFrame::InitializePopupAs
|
||||
mTriggerContent = aTriggerContent;
|
||||
mPopupState = ePopupShowing;
|
||||
mAnchorContent = nullptr;
|
||||
- mScreenRect = nsIntRect(aXPos, aYPos, 0, 0);
|
||||
+ mScreenRect = nsRect(nsPresContext::CSSPixelsToAppUnits(aXPos),
|
||||
+ nsPresContext::CSSPixelsToAppUnits(aYPos), 0, 0);
|
||||
mXPos = 0;
|
||||
mYPos = 0;
|
||||
mFlip = FlipType_Default;
|
||||
@@ -941,7 +946,7 @@ void nsMenuPopupFrame::InitializePopupAt
|
||||
bool aAttributesOverride) {
|
||||
InitializePopup(nullptr, aTriggerContent, aPosition, 0, 0,
|
||||
MenuPopupAnchorType_Rect, aAttributesOverride);
|
||||
- mScreenRect = aRect;
|
||||
+ mScreenRect = ToAppUnits(aRect, AppUnitsPerCSSPixel());
|
||||
}
|
||||
|
||||
void nsMenuPopupFrame::ShowPopup(bool aIsContextMenu) {
|
||||
@@ -1430,7 +1435,7 @@ nsresult nsMenuPopupFrame::SetPopupPosit
|
||||
// If anchored to a rectangle, use that rectangle. Otherwise, determine the
|
||||
// rectangle from the anchor.
|
||||
if (mAnchorType == MenuPopupAnchorType_Rect) {
|
||||
- anchorRect = ToAppUnits(mScreenRect, AppUnitsPerCSSPixel());
|
||||
+ anchorRect = mScreenRect;
|
||||
} else {
|
||||
// if the frame is not specified, use the anchor node passed to OpenPopup.
|
||||
// If that wasn't specified either, use the root frame. Note that
|
||||
@@ -1539,10 +1544,8 @@ nsresult nsMenuPopupFrame::SetPopupPosit
|
||||
// Account for the margin that will end up being added to the screen
|
||||
// coordinate the next time SetPopupPosition is called.
|
||||
mAnchorType = MenuPopupAnchorType_Point;
|
||||
- mScreenRect.x =
|
||||
- nsPresContext::AppUnitsToIntCSSPixels(screenPoint.x - margin.left);
|
||||
- mScreenRect.y =
|
||||
- nsPresContext::AppUnitsToIntCSSPixels(screenPoint.y - margin.top);
|
||||
+ mScreenRect.x = screenPoint.x - margin.left;
|
||||
+ mScreenRect.y = screenPoint.y - margin.top;
|
||||
}
|
||||
} else {
|
||||
// The popup is positioned at a screen coordinate.
|
||||
@@ -1571,10 +1574,8 @@ nsresult nsMenuPopupFrame::SetPopupPosit
|
||||
}
|
||||
|
||||
// next, convert into app units accounting for the zoom
|
||||
- screenPoint.x = presContext->DevPixelsToAppUnits(
|
||||
- nsPresContext::CSSPixelsToAppUnits(mScreenRect.x) / factor);
|
||||
- screenPoint.y = presContext->DevPixelsToAppUnits(
|
||||
- nsPresContext::CSSPixelsToAppUnits(mScreenRect.y) / factor);
|
||||
+ screenPoint.x = presContext->DevPixelsToAppUnits(mScreenRect.x / factor);
|
||||
+ screenPoint.y = presContext->DevPixelsToAppUnits(mScreenRect.y / factor);
|
||||
anchorRect = nsRect(screenPoint, nsSize(0, 0));
|
||||
|
||||
// add the margins on the popup
|
||||
@@ -2377,9 +2378,10 @@ void nsMenuPopupFrame::DestroyFrom(nsIFr
|
||||
nsBoxFrame::DestroyFrom(aDestructRoot, aPostDestroyData);
|
||||
}
|
||||
|
||||
-void nsMenuPopupFrame::MoveTo(const CSSIntPoint& aPos, bool aUpdateAttrs) {
|
||||
+void nsMenuPopupFrame::MoveTo(const CSSPoint& aPos, bool aUpdateAttrs) {
|
||||
nsIWidget* widget = GetWidget();
|
||||
- if ((mScreenRect.x == aPos.x && mScreenRect.y == aPos.y) &&
|
||||
+ nsPoint appUnitsPos = mozilla::CSSPixel::ToAppUnits(aPos);
|
||||
+ if ((mScreenRect.x == appUnitsPos.x && mScreenRect.y == appUnitsPos.y) &&
|
||||
(!widget || widget->GetClientOffset() == mLastClientOffset)) {
|
||||
return;
|
||||
}
|
||||
@@ -2400,8 +2402,8 @@ void nsMenuPopupFrame::MoveTo(const CSSI
|
||||
}
|
||||
|
||||
mAnchorType = MenuPopupAnchorType_Point;
|
||||
- mScreenRect.x = aPos.x - nsPresContext::AppUnitsToIntCSSPixels(margin.left);
|
||||
- mScreenRect.y = aPos.y - nsPresContext::AppUnitsToIntCSSPixels(margin.top);
|
||||
+ mScreenRect.x = appUnitsPos.x - margin.left;
|
||||
+ mScreenRect.y = appUnitsPos.y - margin.top;
|
||||
|
||||
SetPopupPosition(nullptr, true, false);
|
||||
|
||||
@@ -2409,8 +2411,8 @@ void nsMenuPopupFrame::MoveTo(const CSSI
|
||||
if (aUpdateAttrs && (popup->HasAttr(kNameSpaceID_None, nsGkAtoms::left) ||
|
||||
popup->HasAttr(kNameSpaceID_None, nsGkAtoms::top))) {
|
||||
nsAutoString left, top;
|
||||
- left.AppendInt(aPos.x);
|
||||
- top.AppendInt(aPos.y);
|
||||
+ left.AppendInt(RoundedToInt(aPos).x);
|
||||
+ top.AppendInt(RoundedToInt(aPos).y);
|
||||
popup->SetAttr(kNameSpaceID_None, nsGkAtoms::left, left, false);
|
||||
popup->SetAttr(kNameSpaceID_None, nsGkAtoms::top, top, false);
|
||||
}
|
||||
Index: firefox-91.0.2/layout/xul/nsXULPopupManager.cpp
|
||||
===================================================================
|
||||
--- firefox-91.0.2.orig/layout/xul/nsXULPopupManager.cpp
|
||||
+++ firefox-91.0.2/layout/xul/nsXULPopupManager.cpp
|
||||
@@ -269,8 +269,7 @@ bool nsXULPopupManager::Rollup(uint32_t
|
||||
if (popupFrame->IsAnchored()) {
|
||||
// Check if the popup has a screen anchor rectangle. If not, get the
|
||||
// rectangle from the anchor element.
|
||||
- anchorRect =
|
||||
- CSSIntRect::FromUnknownRect(popupFrame->GetScreenAnchorRect());
|
||||
+ anchorRect = popupFrame->GetScreenAnchorRect();
|
||||
if (anchorRect.x == -1 || anchorRect.y == -1) {
|
||||
nsCOMPtr<nsIContent> anchor = popupFrame->GetAnchor();
|
||||
|
||||
@@ -507,7 +506,7 @@ void nsXULPopupManager::PopupMoved(nsIFr
|
||||
} else {
|
||||
CSSPoint cssPos = LayoutDeviceIntPoint::FromUnknownPoint(aPnt) /
|
||||
menuPopupFrame->PresContext()->CSSToDevPixelScale();
|
||||
- menuPopupFrame->MoveTo(RoundedToInt(cssPos), false);
|
||||
+ menuPopupFrame->MoveTo(cssPos, false);
|
||||
}
|
||||
}
|
||||
|
@@ -1,25 +0,0 @@
|
||||
# HG changeset patch
|
||||
# Parent 9bc02ee6567ae3f1dad1f8578e650c0a1faa0179
|
||||
|
||||
diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
|
||||
--- a/js/src/wasm/WasmSignalHandlers.cpp
|
||||
+++ b/js/src/wasm/WasmSignalHandlers.cpp
|
||||
@@ -240,17 +240,17 @@ using mozilla::DebugOnly;
|
||||
// Those definitions are however not present in the headers of every Linux
|
||||
// distro - Raspbian is known to be a problem, for example. However those
|
||||
// distros are tier-3 platforms.
|
||||
//
|
||||
// If you run into compile problems on a tier-3 platform, you can disable the
|
||||
// emulation here.
|
||||
|
||||
#if defined(__linux__) && defined(__arm__)
|
||||
-# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
||||
+// # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
||||
#endif
|
||||
|
||||
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
||||
# include <sys/user.h>
|
||||
#endif
|
||||
|
||||
#if defined(ANDROID)
|
||||
// Not all versions of the Android NDK define ucontext_t or mcontext_t.
|
1246
mozilla-silence-no-return-type.patch
Normal file
1246
mozilla-silence-no-return-type.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,10 @@
|
||||
PRODUCT="firefox"
|
||||
CHANNEL="release"
|
||||
VERSION="91.0.2"
|
||||
VERSION="92.0"
|
||||
VERSION_SUFFIX=""
|
||||
PREV_VERSION="91.0.1"
|
||||
PREV_VERSION="91.0.2"
|
||||
PREV_VERSION_SUFFIX=""
|
||||
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
||||
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
|
||||
RELEASE_TAG="1aa232202866276c3ee7a2748b2bb291bf4fe6fa"
|
||||
RELEASE_TIMESTAMP="20210823123856"
|
||||
RELEASE_TAG="74a9748f90655e731a34c298948869e67ceaa102"
|
||||
RELEASE_TIMESTAMP="20210903235534"
|
||||
|
Reference in New Issue
Block a user