Hello community, here is the log from the commit of package MozillaFirefox for openSUSE:Factory checked in at 2017-03-21 22:47:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/MozillaFirefox (Old) and /work/SRC/openSUSE:Factory/.MozillaFirefox.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MozillaFirefox" Tue Mar 21 22:47:55 2017 rev:250 rq:481555 version:52.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/MozillaFirefox/MozillaFirefox.changes 2017-02-03 17:30:24.918573722 +0100 +++ /work/SRC/openSUSE:Factory/.MozillaFirefox.new/MozillaFirefox.changes 2017-03-21 22:47:56.428427791 +0100 @@ -1,0 +2,85 @@ +Mon Mar 20 15:35:57 UTC 2017 - w...@rosenauer.org + +- disable rust usage for everything but x86(-64) +- explicitely add libffi build requirement + +------------------------------------------------------------------- +Fri Mar 17 15:43:29 UTC 2017 - w...@rosenauer.org + +- update to Firefox 52.0.1 (boo#1029822) + MFSA 2017-08 + CVE-2017-5428: integer overflow in createImageBitmap() (bmo#1348168) + +------------------------------------------------------------------- +Thu Mar 9 12:30:14 UTC 2017 - w...@rosenauer.org + +- reenable ALSA support which was removed by default upstream + +------------------------------------------------------------------- +Sat Mar 4 16:57:45 UTC 2017 - w...@rosenauer.org + +- update to Firefox 52.0 (boo#1028391) + * requires NSS >= 3.28.3 + * Pages containing insecure password fields now display a warning + directly within username and password fields. + * Send and open a tab from one device to another with Sync + * Removed NPAPI support for plugins other than Flash. Silverlight, + Java, Acrobat and the like are no longer supported. + * Removed Battery Status API to reduce fingerprinting of users by + trackers + * MFSA 2017-05 + CVE-2017-5400: asm.js JIT-spray bypass of ASLR and DEP + (bmo#1334933) + CVE-2017-5401: Memory Corruption when handling ErrorResult + (bmo#1328861) + CVE-2017-5402: Use-after-free working with events in FontFace + objects (bmo#1334876) + CVE-2017-5403: Use-after-free using addRange to add range to an + incorrect root object (bmo#1340186) + CVE-2017-5404: Use-after-free working with ranges in selections + (bmo#1340138) + CVE-2017-5406: Segmentation fault in Skia with canvas operations + (bmo#1306890) + CVE-2017-5407: Pixel and history stealing via floating-point + timing side channel with SVG filters (bmo#1336622) + CVE-2017-5410: Memory corruption during JavaScript garbage + collection incremental sweeping (bmo#1330687) + CVE-2017-5408: Cross-origin reading of video captions in violation + of CORS (bmo#1313711) + CVE-2017-5412: Buffer overflow read in SVG filters (bmo#1328323) + CVE-2017-5413: Segmentation fault during bidirectional operations + (bmo#1337504) + CVE-2017-5414: File picker can choose incorrect default directory + (bmo#1319370) + CVE-2017-5415: Addressbar spoofing through blob URL (bmo#1321719) + CVE-2017-5416: Null dereference crash in HttpChannel (bmo#1328121) + CVE-2017-5417: Addressbar spoofing by draging and dropping URLs + (bmo#791597) + CVE-2017-5426: Gecko Media Plugin sandbox is not started if + seccomp-bpf filter is running (bmo#1257361) + CVE-2017-5427: Non-existent chrome.manifest file loaded during + startup (bmo#1295542) + CVE-2017-5418: Out of bounds read when parsing HTTP digest + authorization responses (bmo#1338876) + CVE-2017-5419: Repeated authentication prompts lead to DOS + attack (bmo#1312243) + CVE-2017-5420: Javascript: URLs can obfuscate addressbar + location (bmo#1284395) + CVE-2017-5405: FTP response codes can cause use of + uninitialized values for ports (bmo#1336699) + CVE-2017-5421: Print preview spoofing (bmo#1301876) + CVE-2017-5422: DOS attack by using view-source: protocol + repeatedly in one hyperlink (bmo#1295002) + CVE-2017-5399: Memory safety bugs fixed in Firefox 52 + CVE-2017-5398: Memory safety bugs fixed in Firefox 52 and + Firefox ESR 45.8 +- removed obsolete patches + * mozilla-binutils-visibility.patch + * mozilla-check_return.patch + * mozilla-disable-skia-be.patch + * mozilla-skia-overflow.patch + * mozilla-skia-ppc-endianess.patch +- rebased patches +- enable rust usage for Tumbleweed + +------------------------------------------------------------------- Old: ---- firefox-51.0.1-source.tar.xz l10n-51.0.1.tar.xz mozilla-binutils-visibility.patch mozilla-check_return.patch mozilla-disable-skia-be.patch mozilla-skia-overflow.patch mozilla-skia-ppc-endianess.patch New: ---- firefox-52.0.1-source.tar.xz l10n-52.0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ MozillaFirefox.spec ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.302042309 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.306041743 +0100 @@ -18,14 +18,21 @@ # changed with every update -%define major 51 +%define major 52 %define mainver %major.0.1 %define update_channel release -%define releasedate 20170126000000 +%define releasedate 20170317000000 # PIE, full relro (x86_64 for now) %define build_hardened 1 +%if 0%{?suse_version} > 1320 +%define firefox_use_gtk3 1 +%ifarch %ix86 x86_64 +%define firefox_use_rust 0 +%endif +%endif + # general build definitions %if "%{update_channel}" != "aurora" %define progname firefox @@ -36,9 +43,6 @@ %define pkgname firefox-dev-edition %define appname Firefox Developer Edition %endif -%if 0%{?suse_version} > 1320 -%define firefox_use_gtk3 1 -%endif %define progdir %{_prefix}/%_lib/%{progname} %define gnome_dir %{_prefix} %define desktop_file_name %{progname} @@ -78,7 +82,7 @@ BuildRequires: libproxy-devel BuildRequires: makeinfo BuildRequires: mozilla-nspr-devel >= 4.13.1 -BuildRequires: mozilla-nss-devel >= 3.28.1 +BuildRequires: mozilla-nss-devel >= 3.28.3 BuildRequires: nss-shared-helper-devel BuildRequires: python-devel BuildRequires: startup-notification-devel @@ -87,6 +91,7 @@ BuildRequires: xorg-x11-libXt-devel BuildRequires: yasm BuildRequires: zip +BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libpulse) %if 0%{?firefox_use_gtk3} BuildRequires: pkgconfig(glib-2.0) @@ -94,6 +99,11 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 BuildRequires: pkgconfig(gtk+-unix-print-3.0) %endif +%if 0%{?firefox_use_rust} +BuildRequires: cargo +BuildRequires: rust >= 1.10 +BuildRequires: rust-std +%endif # libavcodec is required for H.264 support but the # openSUSE version is currently not able to play H.264 # therefore the Packman version is required @@ -144,26 +154,20 @@ Patch4: mozilla-preferences.patch Patch5: mozilla-language.patch Patch6: mozilla-ntlm-full-path.patch -Patch8: mozilla-openaes-decl.patch -Patch10: mozilla-no-stdcxx-check.patch -Patch11: mozilla-reduce-files-per-UnifiedBindings.patch -Patch13: mozilla-check_return.patch -Patch14: mozilla-skia-overflow.patch -Patch17: mozilla-binutils-visibility.patch -Patch18: mozilla-skia-ppc-endianess.patch -Patch19: mozilla-disable-skia-be.patch +Patch7: mozilla-openaes-decl.patch +Patch8: mozilla-no-stdcxx-check.patch +Patch9: mozilla-reduce-files-per-UnifiedBindings.patch +Patch10: mozilla-aarch64-startup-crash.patch # Firefox/browser Patch101: firefox-kde.patch Patch102: firefox-no-default-ualocale.patch Patch103: firefox-branded-icons.patch -# hotfix -Patch200: mozilla-aarch64-startup-crash.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils Requires(postun): shared-mime-info desktop-file-utils %if %branding -Requires: %{name}-branding > 39.0 +Requires: %{name}-branding > 44.0 %endif Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) @@ -260,19 +264,14 @@ %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 %patch8 -p1 +%patch9 -p1 %patch10 -p1 -%patch11 -p1 -%patch13 -p1 -%patch14 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 # Firefox %patch101 -p1 %patch102 -p1 %patch103 -p1 -%patch200 -p1 %build # no need to add build time to binaries @@ -328,6 +327,9 @@ ac_add_options --libdir=%{_libdir} ac_add_options --includedir=%{_includedir} ac_add_options --enable-release +%if 0%{?firefox_use_rust} +ac_add_options --enable-rust +%endif %if 0%{?firefox_use_gtk3} ac_add_options --enable-default-toolkit=cairo-gtk3 %else @@ -354,6 +356,7 @@ ac_add_options --with-system-zlib ac_add_options --disable-updater ac_add_options --disable-tests +ac_add_options --enable-alsa ac_add_options --disable-debug ac_add_options --enable-startup-notification #ac_add_options --enable-chrome-format=jar @@ -564,7 +567,6 @@ %dir %{progdir}/browser/ %dir %{progdir}/browser/chrome/ %dir %{progdir}/browser/extensions/ -%{progdir}/browser/components/ %{progdir}/browser/defaults %{progdir}/browser/features/ %{progdir}/browser/icons/ @@ -586,9 +588,10 @@ %{progdir}/firefox %{progdir}/firefox-bin %{progdir}/application.ini +%{progdir}/chrome.manifest %{progdir}/dependentlibs.list +%{progdir}/icudt58l.dat %{progdir}/*.so -%{progdir}/icudt56l.dat %{progdir}/omni.ja %{progdir}/fonts/ %{progdir}/platform.ini @@ -597,6 +600,7 @@ %{progdir}/crashreporter %{progdir}/crashreporter.ini %{progdir}/Throbber-small.gif +%{progdir}/minidump-analyzer %{progdir}/browser/crashreporter-override.ini %endif %{_datadir}/applications/%{desktop_file_name}.desktop ++++++ compare-locales.tar.xz ++++++ ++++++ create-tar.sh ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.442022519 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.442022519 +0100 @@ -7,8 +7,8 @@ CHANNEL="release" BRANCH="releases/mozilla-$CHANNEL" -RELEASE_TAG="327e081221b064b05a302d7877c6e4be2949a617" -VERSION="51.0.1" +RELEASE_TAG="2f2b4a119565e9b5691187ee5fbe91881c90b249" +VERSION="52.0.1" # mozilla if [ -d mozilla ]; then ++++++ firefox-51.0.1-source.tar.xz -> firefox-52.0.1-source.tar.xz ++++++ /work/SRC/openSUSE:Factory/MozillaFirefox/firefox-51.0.1-source.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new/firefox-52.0.1-source.tar.xz differ: char 26, line 1 ++++++ firefox-kde.patch ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.478017431 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.478017431 +0100 @@ -1,11 +1,11 @@ # HG changeset patch -# Parent 2cae514c05c8836ca5b69884d3a07998a5d53e8b +# Parent 1c4e33861cfcffe5a189802cf97957b0701260db diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul new file mode 100644 --- /dev/null +++ b/browser/base/content/browser-kde.xul -@@ -0,0 +1,1119 @@ +@@ -0,0 +1,1134 @@ +#filter substitution +<?xml version="1.0"?> +# -*- Mode: HTML -*- @@ -149,7 +149,13 @@ + <tooltip id="remoteBrowserTooltip"/> + + <!-- for search and content formfill/pw manager --> -+ <panel type="autocomplete" id="PopupAutoComplete" noautofocus="true" hidden="true"/> ++ ++ <panel type="autocomplete-richlistbox" ++ id="PopupAutoComplete" ++ noautofocus="true" ++ hidden="true" ++ overflowpadding="4" ++ norolluponanchor="true" /> + + <!-- for search with one-off buttons --> + <panel type="autocomplete" id="PopupSearchAutoComplete" noautofocus="true" hidden="true"/> @@ -160,7 +166,18 @@ + noautofocus="true" + hidden="true" + flip="none" -+ level="parent"/> ++ level="parent" ++ overflowpadding="30" /> ++ ++ <panel id="DateTimePickerPanel" ++ type="arrow" ++ hidden="true" ++ orient="vertical" ++ noautofocus="true" ++ consumeoutsideclicks="false" ++ level="parent"> ++ <iframe id="dateTimePopupFrame"/> ++ </panel> + + <!-- for select dropdowns. The menupopup is what shows the list of options, + and the popuponly menulist makes things like the menuactive attributes @@ -170,7 +187,7 @@ + <menupopup rolluponmousewheel="true" + activateontab="true" position="after_start" +#ifdef XP_WIN -+ consumeoutsideclicks="false" ignorekeys="handled" ++ consumeoutsideclicks="false" ignorekeys="shortcuts" +#endif + /> + </menulist> @@ -267,12 +284,12 @@ + onpopuphidden="SocialShare.onHidden()" + hidden="true"> + <hbox class="social-share-toolbar"> -+ <toolbarbutton id="manage-share-providers" class="toolbarbutton share-provider-button" ++ <toolbarbutton id="manage-share-providers" class="share-provider-button" + tooltiptext="&social.addons.label;" + oncommand="BrowserOpenAddonsMgr('addons://list/service'); + this.parentNode.parentNode.hidePopup();"/> + <arrowscrollbox id="social-share-provider-buttons" orient="horizontal" flex="1" pack="end"> -+ <toolbarbutton id="add-share-provider" class="toolbarbutton share-provider-button" type="radio" ++ <toolbarbutton id="add-share-provider" class="share-provider-button" type="radio" + group="share-providers" tooltiptext="&findShareServices.label;" + oncommand="SocialShare.showDirectory()"/> + </arrowscrollbox> @@ -679,13 +696,9 @@ + newlines="stripsurroundingwhitespace" + ontextentered="this.handleCommand(param);" + ontextreverted="return this.handleRevert();" -+ pageproxystate="invalid" -+ onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" -+ onblur="setTimeout(() => { document.getElementById('identity-box').style.MozUserFocus = ''; }, 0);"> ++ pageproxystate="invalid"> + <!-- Use onclick instead of normal popup= syntax since the popup -+ code fires onmousedown, and hence eats our favicon drag events. -+ We only add the identity-box button to the tab order when the location bar -+ has focus, otherwise pressing F6 focuses it instead of the location bar --> ++ code fires onmousedown, and hence eats our favicon drag events. --> + <box id="identity-box" role="button" + align="center" + aria-label="&urlbar.viewSiteInfo.label;" @@ -752,14 +765,15 @@ + </hbox> + </box> + <box id="urlbar-display-box" align="center"> -+ <label class="urlbar-display urlbar-display-switchtab" value="&urlbar.switchToTab.label;"/> ++ <label id="switchtab" class="urlbar-display urlbar-display-switchtab" value="&urlbar.switchToTab.label;"/> ++ <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/> + </box> + <hbox id="urlbar-icons"> + <image id="page-report-button" + class="urlbar-icon" + hidden="true" + tooltiptext="&pageReportIcon.tooltip;" -+ onclick="gPopupBlockerObserver.onReportButtonClick(event);"/> ++ onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> + <image id="reader-mode-button" + class="urlbar-icon" + hidden="true" @@ -1061,7 +1075,8 @@ + tabcontainer="tabbrowser-tabs" + contentcontextmenu="contentAreaContextMenu" + autocompletepopup="PopupAutoComplete" -+ selectmenulist="ContentSelectDropdown"/> ++ selectmenulist="ContentSelectDropdown" ++ datetimepicker="DateTimePickerPanel"/> + </vbox> + <vbox id="browser-border-end" hidden="true" layer="true"/> + </hbox> @@ -1128,25 +1143,25 @@ diff --git a/browser/base/jar.mn b/browser/base/jar.mn --- a/browser/base/jar.mn +++ b/browser/base/jar.mn -@@ -68,16 +68,18 @@ browser.jar: +@@ -66,16 +66,18 @@ browser.jar: + content/browser/aboutSocialError.xhtml (content/aboutSocialError.xhtml) + content/browser/aboutProviderDirectory.xhtml (content/aboutProviderDirectory.xhtml) content/browser/aboutTabCrashed.css (content/aboutTabCrashed.css) content/browser/aboutTabCrashed.js (content/aboutTabCrashed.js) content/browser/aboutTabCrashed.xhtml (content/aboutTabCrashed.xhtml) - * content/browser/aboutTabGroupsMigration.xhtml (content/aboutTabGroupsMigration.xhtml) - content/browser/aboutTabGroupsMigration.js (content/aboutTabGroupsMigration.js) * content/browser/browser.css (content/browser.css) content/browser/browser.js (content/browser.js) * content/browser/browser.xul (content/browser.xul) +* content/browser/browser-kde.xul (content/browser-kde.xul) +% override chrome://browser/content/browser.xul chrome://browser/content/browser-kde.xul desktop=kde content/browser/browser-addons.js (content/browser-addons.js) + content/browser/browser-captivePortal.js (content/browser-captivePortal.js) content/browser/browser-ctrlTab.js (content/browser-ctrlTab.js) content/browser/browser-customization.js (content/browser-customization.js) content/browser/browser-data-submission-info-bar.js (content/browser-data-submission-info-bar.js) content/browser/browser-devedition.js (content/browser-devedition.js) content/browser/browser-feeds.js (content/browser-feeds.js) content/browser/browser-fullScreenAndPointerLock.js (content/browser-fullScreenAndPointerLock.js) - content/browser/browser-fullZoom.js (content/browser-fullZoom.js) diff --git a/browser/components/build/nsModule.cpp b/browser/components/build/nsModule.cpp --- a/browser/components/build/nsModule.cpp +++ b/browser/components/build/nsModule.cpp @@ -1505,7 +1520,7 @@ +#define nskdeshellservice_h____ + +#include "nsIGNOMEShellService.h" -+#include "nsStringAPI.h" ++#include "nsString.h" +#include "mozilla/Attributes.h" + +class nsKDEShellService final : public nsIGNOMEShellService @@ -1576,7 +1591,7 @@ diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in -@@ -675,16 +675,17 @@ +@@ -652,16 +652,17 @@ @RESPATH@/greprefs.js @RESPATH@/defaults/autoconfig/prefcalls.js @RESPATH@/browser/defaults/permissions ++++++ l10n-51.0.1.tar.xz -> l10n-52.0.1.tar.xz ++++++ /work/SRC/openSUSE:Factory/MozillaFirefox/l10n-51.0.1.tar.xz /work/SRC/openSUSE:Factory/.MozillaFirefox.new/l10n-52.0.1.tar.xz differ: char 25, line 1 ++++++ l10n_changesets.txt ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.562005557 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.562005557 +0100 @@ -1,93 +1,93 @@ -ach d6ba00c5c59a -af 221acbf9c551 -an efef89681add -ar 940e066d2dd8 -as a97311f0a051 -ast 37ff5970cc8f -az 374715191cd0 -bg d15a763f746a -bn-BD b4cdbb48d9fb -bn-IN 405c89530a66 -br e730984a8770 -bs e25f083ed28a -ca 2909feec9b62 -cak b0fe49f697f3 -cs 53096821fe5c -cy 4690316110e9 -da 24845323c326 -de ec96b812a542 -dsb 8e338605ccb9 -el 34a3488407a6 -en-GB 8000aa9daf28 -en-ZA ad5be8ba60f3 -eo 3a024766912e -es-AR 541f1c3690da -es-CL 56477941664e -es-ES 8b7162b69b09 -es-MX 77bc335e0853 -et a9b1775874d3 -eu 52ec58e99375 -fa 95d8b781e109 -ff 2e39572916fb -fi 94ad306d1492 -fr 27c4dc4cba4d -fy-NL 9399c11d5edb -ga-IE 5d9852283915 -gd bc702e34726b -gl 74d31ad43213 -gn 43e8b6cb5fc6 -gu-IN 97b7ec458ace -he 32e85d63d323 -hi-IN 25c7d3fceff8 -hr 15e2ad66589c -hsb ff5fb215596d -hu 814fad9068d9 -hy-AM 339e5b6d31d2 -id 1f325ac9007c -is e346cec6bace -it fc766adb485d -ja 78a60bf924e7 -ja-JP-mac 0ca52430f89c -ka fb0e9f4fdbe7 -kab 3de51a9c61ce -kk 368faf9a9ed3 -km 97cd3bb4f2f3 -kn f657dd18d8a1 -ko bc9fde5af704 -lij 500f328a0bf0 -lt 3eefea021768 -lv 90a827f08cb4 -mai 4a95441f376c -mk 666cf4d8067b -ml 1f2e734fbd60 -mr 8067689c39f3 -ms 76c4152f9e3f -nb-NO 1effc4c0ba39 -nl 28f169daa01f -nn-NO 272d7d7fbd67 -or 765fc4b06ed0 -pa-IN 8518db59aecf -pl 339f79766251 -pt-BR 3e521cc717b9 -pt-PT 5ea4fd22db27 -rm 66840279c384 -ro a87554f9bf7e -ru a8f0bc1f85db -si 2629b7b1279c -sk b78499013196 -sl b91f9bd2d619 -son 2934d6741b1a -sq 8ff97a87cbeb -sr 8ddd91c5629b -sv-SE 483944f0c102 -ta dc89744a2281 -te 545bca10223a -th 6076f69e7093 -tr 70129fabcb60 -uk cb0a4b0816fa -uz 01402c615783 -vi d6c09226896e -xh f587b401f8fc -zh-CN d260be15e967 -zh-TW 267404478cf9 +ach 34c236a22596 +af 90f7ccd90de4 +an 10f71571821e +ar 0edb7b32133a +as ee642d74fde9 +ast 80b866a98b5a +az 07778ef756d4 +bg f86aa012265d +bn-BD 6182802acd04 +bn-IN 0775fc62a38e +br 88938f2eb7e2 +bs afe1158833f4 +ca c49b6bb37779 +cak 30c024aa79ef +cs 392a1ff68cfd +cy e9cc2975266f +da cb1423eac811 +de 6535fbec1846 +dsb bbdbee2ecc9f +el 4232653d09a7 +en-GB 3b1783bdb6fd +en-ZA 86f98526de2f +eo 6af9eb3bb290 +es-AR adc3a9f3054e +es-CL 8ce5a00c2709 +es-ES 3debdad3d876 +es-MX c2d80c000c8c +et 5ce460a1227b +eu 55202a38f74c +fa de4daf555606 +ff 98974e0270a8 +fi 903b0416494a +fr 7e9efb5f39b1 +fy-NL 551f14553b31 +ga-IE 94a750872504 +gd b2e4e78a85cf +gl 79eda21c5b0b +gn 8448413afd01 +gu-IN ef0d3c1d041a +he 31df213cf89d +hi-IN 6578b433d66e +hr 77f103c07be0 +hsb 99f7c592ff8c +hu 7ec46b30e96d +hy-AM ee9609100a98 +id 584289a98164 +is 0de2039f0ead +it 81a6b9f3a701 +ja 289cc8d9b658 +ja-JP-mac 1dc42d8f8c6b +ka fd11643d032b +kab 89a29ca718ef +kk bbde07088662 +km 1d78cae948e2 +kn ceb699bfc19e +ko ab9bc02a8c39 +lij 221601dc2320 +lt 1c563aa726f8 +lv 33dd8fbeb14e +mai 4974d9967e3a +mk 85557d511a18 +ml 3ac6473b90b8 +mr 9c8106a513fd +ms f5ed710c8534 +nb-NO c84b8fb6b939 +nl b3c2ab953068 +nn-NO bc795ce8885a +or ad0d79e1df34 +pa-IN 7a7d721c7f47 +pl 42ea1da43a3b +pt-BR e9eaef0caba5 +pt-PT 5deb6216933d +rm 4981325b9462 +ro 952587a63617 +ru 3d319dcf82c7 +si ea8510d62e56 +sk 968ee9fbd8ba +sl e398e25297bc +son a071d439a5f3 +sq ab626a887267 +sr 3fb1197cc3f3 +sv-SE 2d93a3f0c284 +ta e5fbcf49496f +te d4cabe943952 +th e66a11b8da51 +tr 2ec45f681bb0 +uk d3ccc79b70b2 +uz 53122cc7d6ad +vi e4f8d820bef2 +xh 6ba5a5671721 +zh-CN 02ca4c1400c1 +zh-TW d17da9c45a93 ++++++ mozilla-kde.patch ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.594001034 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.594001034 +0100 @@ -1,5 +1,5 @@ # HG changeset patch -# Parent f3e80d26a430dfa1c58421fb66144a3c23ffc166 +# Parent 5c8ae59424f5318bf7a387257771bf95d3893063 Description: Add KDE integration to Firefox (toolkit parts) Author: Wolfgang Rosenauer <wolfg...@rosenauer.org> Author: Lubos Lunak <lu...@suse.com> @@ -255,12 +255,12 @@ int64_t goat = PR_Now() - mStartTime; showTaskbarAlert = goat > alertIntervalUSec; -@@ -2763,16 +2776,17 @@ nsDownload::SetState(DownloadState aStat - NS_LITERAL_STRING(DOWNLOAD_MANAGER_ALERT_ICON), title, +@@ -2764,16 +2777,17 @@ nsDownload::SetState(DownloadState aStat message, !removeWhenDone, mPrivate ? NS_LITERAL_STRING("private") : NS_LITERAL_STRING("non-private"), mDownloadManager, EmptyString(), NS_LITERAL_STRING("auto"), - EmptyString(), EmptyString(), nullptr, mPrivate); + EmptyString(), EmptyString(), nullptr, mPrivate, + false /* requireInteraction */); } } } @@ -276,14 +276,14 @@ diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn --- a/toolkit/content/jar.mn +++ b/toolkit/content/jar.mn -@@ -67,29 +67,33 @@ toolkit.jar: - content/global/viewZoomOverlay.js - content/global/bindings/autocomplete.xml (widgets/autocomplete.xml) - content/global/bindings/browser.xml (widgets/browser.xml) +@@ -71,29 +71,33 @@ toolkit.jar: content/global/bindings/button.xml (widgets/button.xml) content/global/bindings/checkbox.xml (widgets/checkbox.xml) content/global/bindings/colorpicker.xml (widgets/colorpicker.xml) content/global/bindings/datetimepicker.xml (widgets/datetimepicker.xml) + content/global/bindings/datetimepopup.xml (widgets/datetimepopup.xml) + content/global/bindings/datetimebox.xml (widgets/datetimebox.xml) + content/global/bindings/datetimebox.css (widgets/datetimebox.css) * content/global/bindings/dialog.xml (widgets/dialog.xml) +* content/global/bindings/dialog-kde.xml (widgets/dialog-kde.xml) +% override chrome://global/content/bindings/dialog.xml chrome://global/content/bindings/dialog-kde.xml desktop=kde @@ -310,6 +310,18 @@ content/global/bindings/scale.xml (widgets/scale.xml) content/global/bindings/scrollbar.xml (widgets/scrollbar.xml) content/global/bindings/scrollbox.xml (widgets/scrollbox.xml) +@@ -113,9 +117,9 @@ toolkit.jar: + content/global/bindings/videocontrols.css (widgets/videocontrols.css) + * content/global/bindings/wizard.xml (widgets/wizard.xml) + #ifdef XP_MACOSX + content/global/macWindowMenu.js + #endif + content/global/svg/svgBindings.xml (/layout/svg/resources/content/svgBindings.xml) + content/global/gmp-sources/eme-adobe.json (gmp-sources/eme-adobe.json) + content/global/gmp-sources/openh264.json (gmp-sources/openh264.json) +- content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json) +\ No newline at end of file ++ content/global/gmp-sources/widevinecdm.json (gmp-sources/widevinecdm.json) diff --git a/toolkit/content/widgets/dialog-kde.xml b/toolkit/content/widgets/dialog-kde.xml new file mode 100644 --- /dev/null @@ -460,7 +472,7 @@ + <body> + <![CDATA[ + var xOffset = screen.availWidth/2 - window.outerWidth/2; -+ var yOffset = screen.availHeight/2 - window.outerHeight/2; //(opener.outerHeight *2)/10; ++ var yOffset = screen.availHeight/2 - window.outerHeight/2; + + xOffset = xOffset > 0 ? xOffset : 0; + yOffset = yOffset > 0 ? yOffset : 0; @@ -776,7 +788,7 @@ new file mode 100644 --- /dev/null +++ b/toolkit/content/widgets/preferences-kde.xml -@@ -0,0 +1,1403 @@ +@@ -0,0 +1,1411 @@ +<?xml version="1.0"?> + +<!DOCTYPE bindings [ @@ -2042,11 +2054,19 @@ + </body> + </method> + -+ <field name="DeferredTask" readonly="true"> -+ let targetObj = {}; -+ Components.utils.import("resource://gre/modules/DeferredTask.jsm", targetObj); -+ targetObj.DeferredTask; -+ </field> ++ <property name="DeferredTask" readonly="true"> ++ <getter><![CDATA[ ++ let module = {}; ++ Components.utils.import("resource://gre/modules/DeferredTask.jsm", module); ++ Object.defineProperty(this, "DeferredTask", { ++ configurable: true, ++ enumerable: true, ++ writable: true, ++ value: module.DeferredTask ++ }); ++ return module.DeferredTask; ++ ]]></getter> ++ </property> + <method name="_deferredValueUpdate"> + <parameter name="aElement"/> + <body> @@ -2180,6 +2200,117 @@ +# PrefWindow II (???) +# PrefWindow I (June 4, 1999) +# +diff --git a/toolkit/mozapps/downloads/nsHelperAppDlg.js b/toolkit/mozapps/downloads/nsHelperAppDlg.js +--- a/toolkit/mozapps/downloads/nsHelperAppDlg.js ++++ b/toolkit/mozapps/downloads/nsHelperAppDlg.js +@@ -627,17 +627,17 @@ nsUnknownContentTypeDialog.prototype = { + else + typeString = mimeInfo.MIMEType; + } + // When the length is unknown, contentLength would be -1 + if (this.mLauncher.contentLength >= 0) { + let [size, unit] = DownloadUtils. + convertByteUnits(this.mLauncher.contentLength); + type.value = this.dialogElement("strings") +- .getFormattedString("orderedFileSizeWithType", ++ .getFormattedString("orderedFileSizeWithType", + [typeString, size, unit]); + } + else { + type.value = typeString; + } + }, + + // Returns true if opening the default application makes sense. +@@ -801,17 +801,17 @@ nsUnknownContentTypeDialog.prototype = { + switch (this.dialogElement("openHandler").selectedIndex) { + case 0: + // No app need be specified in this case. + ok = true; + break; + case 1: + // only enable the OK button if we have a default app to use or if + // the user chose an app.... +- ok = this.chosenApp || /\S/.test(this.dialogElement("otherHandler").getAttribute("path")); ++ ok = this.chosenApp || /\S/.test(this.dialogElement("otherHandler").getAttribute("path")); + break; + } + } + + // Enable Ok button if ok to press. + this.mDialog.document.documentElement.getButton("accept").disabled = !ok; + }, + +@@ -1068,30 +1068,56 @@ nsUnknownContentTypeDialog.prototype = { + params.handlerApp.executable && + params.handlerApp.executable.isFile()) { + // Remember the file they chose to run. + this.chosenApp = params.handlerApp; + } + } + else { + #if MOZ_WIDGET_GTK == 3 +- var nsIApplicationChooser = Components.interfaces.nsIApplicationChooser; +- var appChooser = Components.classes["@mozilla.org/applicationchooser;1"] +- .createInstance(nsIApplicationChooser); +- appChooser.init(this.mDialog, this.dialogElement("strings").getString("chooseAppFilePickerTitle")); +- var contentTypeDialogObj = this; +- let appChooserCallback = function appChooserCallback_done(aResult) { +- if (aResult) { +- contentTypeDialogObj.chosenApp = aResult.QueryInterface(Components.interfaces.nsILocalHandlerApp); ++ // handle the KDE case which is implemented in the filepicker ++ // therefore falling back to Gtk2 like behaviour if KDE is running ++ // FIXME this should be better handled in the nsIApplicationChooser interface ++ var env = Components.classes["@mozilla.org/process/environment;1"] ++ .getService(Components.interfaces.nsIEnvironment); ++ if (env.get('KDE_FULL_SESSION') == "true") ++ { ++ var nsIFilePicker = Components.interfaces.nsIFilePicker; ++ var fp = Components.classes["@mozilla.org/filepicker;1"] ++ .createInstance(nsIFilePicker); ++ fp.init(this.mDialog, ++ this.dialogElement("strings").getString("chooseAppFilePickerTitle"), ++ nsIFilePicker.modeOpen); ++ ++ fp.appendFilters(nsIFilePicker.filterApps); ++ ++ if (fp.show() == nsIFilePicker.returnOK && fp.file) { ++ // Remember the file they chose to run. ++ var localHandlerApp = ++ Components.classes["@mozilla.org/uriloader/local-handler-app;1"]. ++ createInstance(Components.interfaces.nsILocalHandlerApp); ++ localHandlerApp.executable = fp.file; ++ this.chosenApp = localHandlerApp; + } +- contentTypeDialogObj.finishChooseApp(); +- }; +- appChooser.open(this.mLauncher.MIMEInfo.MIMEType, appChooserCallback); +- // The finishChooseApp is called from appChooserCallback +- return; ++ } else { ++ var nsIApplicationChooser = Components.interfaces.nsIApplicationChooser; ++ var appChooser = Components.classes["@mozilla.org/applicationchooser;1"] ++ .createInstance(nsIApplicationChooser); ++ appChooser.init(this.mDialog, this.dialogElement("strings").getString("chooseAppFilePickerTitle")); ++ var contentTypeDialogObj = this; ++ let appChooserCallback = function appChooserCallback_done(aResult) { ++ if (aResult) { ++ contentTypeDialogObj.chosenApp = aResult.QueryInterface(Components.interfaces.nsILocalHandlerApp); ++ } ++ contentTypeDialogObj.finishChooseApp(); ++ }; ++ appChooser.open(this.mLauncher.MIMEInfo.MIMEType, appChooserCallback); ++ // The finishChooseApp is called from appChooserCallback ++ return; ++ } + #else + var nsIFilePicker = Components.interfaces.nsIFilePicker; + var fp = Components.classes["@mozilla.org/filepicker;1"] + .createInstance(nsIFilePicker); + fp.init(this.mDialog, + this.dialogElement("strings").getString("chooseAppFilePickerTitle"), + nsIFilePicker.modeOpen); + diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp --- a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp +++ b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp @@ -3676,7 +3807,7 @@ diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp --- a/xpcom/io/nsLocalFileUnix.cpp +++ b/xpcom/io/nsLocalFileUnix.cpp -@@ -44,16 +44,17 @@ +@@ -46,16 +46,17 @@ #include "prproces.h" #include "nsIDirectoryEnumerator.h" #include "nsISimpleEnumerator.h" ++++++ source-stamp.txt ++++++ --- /var/tmp/diff_new_pack.o9DE7w/_old 2017-03-21 22:48:13.645993683 +0100 +++ /var/tmp/diff_new_pack.o9DE7w/_new 2017-03-21 22:48:13.649993118 +0100 @@ -1,2 +1,2 @@ -REV=327e081221b0 +REV=2f2b4a119565 REPO=http://hg.mozilla.org/releases/mozilla-release