Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package MozillaFirefox for openSUSE:Factory 
checked in at 2021-09-13 16:24:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/MozillaFirefox (Old)
 and      /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "MozillaFirefox"

Mon Sep 13 16:24:11 2021 rev:344 rq:917452 version:92.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/MozillaFirefox/MozillaFirefox.changes    
2021-09-03 21:26:20.822187716 +0200
+++ /work/SRC/openSUSE:Factory/.MozillaFirefox.new.1899/MozillaFirefox.changes  
2021-09-13 16:24:18.638729417 +0200
@@ -1,0 +2,41 @@
+Mon Sep  6 10:16:28 UTC 2021 - Wolfgang Rosenauer <w...@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 <badshah...@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 <mli...@suse.cz>
+
+- Bump using with GCC (tested locally).
+
+-------------------------------------------------------------------

Old:
----
  firefox-91.0.2.source.tar.xz
  firefox-91.0.2.source.tar.xz.asc
  l10n-91.0.2.tar.xz
  mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch

New:
----
  firefox-92.0.source.tar.xz
  firefox-92.0.source.tar.xz.asc
  l10n-92.0.tar.xz
  mozilla-bmo1708709.patch
  mozilla-silence-no-return-type.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ MozillaFirefox.spec ++++++
--- /var/tmp/diff_new_pack.0PFJu6/_old  2021-09-13 16:24:29.794742314 +0200
+++ /var/tmp/diff_new_pack.0PFJu6/_new  2021-09-13 16:24:29.798742318 +0200
@@ -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 @@
 
 # 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:  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 @@
 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 @@
 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 @@
 %patch4 -p1
 %patch6 -p1
 %patch7 -p1
-%patch8 -p1
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
@@ -357,6 +353,8 @@
 %patch26 -p1
 %patch27 -p1
 %patch28 -p1
+%patch29 -p1
+%patch30 -p1
 # Firefox
 %patch101 -p1
 %patch102 -p1
@@ -365,7 +363,7 @@
 %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" {} +

++++++ firefox-91.0.2.source.tar.xz -> firefox-92.0.source.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/firefox-91.0.2.source.tar.xz 
/work/SRC/openSUSE:Factory/.MozillaFirefox.new.1899/firefox-92.0.source.tar.xz 
differ: char 15, line 1

++++++ firefox-appdata.xml ++++++
--- /var/tmp/diff_new_pack.0PFJu6/_old  2021-09-13 16:24:29.946742490 +0200
+++ /var/tmp/diff_new_pack.0PFJu6/_new  2021-09-13 16:24:29.946742490 +0200
@@ -32,8 +32,16 @@
   </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>m...@lists.mozilla.org</update_contact>

++++++ l10n-91.0.2.tar.xz -> l10n-92.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/MozillaFirefox/l10n-91.0.2.tar.xz 
/work/SRC/openSUSE:Factory/.MozillaFirefox.new.1899/l10n-92.0.tar.xz differ: 
char 27, line 1

++++++ mozilla-bmo1708709.patch ++++++
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);
   }
 }
 
++++++ mozilla-silence-no-return-type.patch ++++++
++++ 1246 lines (skipped)

++++++ tar_stamps ++++++
--- /var/tmp/diff_new_pack.0PFJu6/_old  2021-09-13 16:24:30.162742739 +0200
+++ /var/tmp/diff_new_pack.0PFJu6/_new  2021-09-13 16:24:30.166742744 +0200
@@ -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"

Reply via email to