forked from pool/MozillaFirefox
- Mozilla Firefox 67.0
* Firefox 67 will be able to run different Firefox installs side by side https://blog.nightly.mozilla.org/2019/01/14/moving-to-a-profile-per-install-architecture/ * Tabs can now be pinned from the Page Actions menu in the address bar * Users can block known cryptominers and fingerprinters in the Custom settings or their Content Blocking preferences * The Import Data from Another Browser feature is now also available from the File menu * Firefox will now protect you against running older versions which can lead to data corruption and stability issues * Easier access to your list of saved logins from the main menu and login autocomplete * We’ve added a toolbar menu for your Firefox Account to provide more transparency for when you are synced, sharing data across devices and with Firefox. Personalize the appearance of the menu with your own avatar * Enable FIDO U2F API, and permit registrations for Google Accounts * Enabled AV1 support on Linux MFSA 2019-13 * CVE-2019-9815 (bmo#1546544) Disable hyperthreading on content JavaScript threads on macOS * CVE-2019-9816 (bmo#1536768) Type confusion with object groups and UnboxedObjects * CVE-2019-9817 (bmo#1540221) Stealing of cross-domain images using canvas * CVE-2019-9818 (bmo#1542581) (Windows only) Use-after-free in crash generation server * CVE-2019-9819 (bmo#1532553) Compartment mismatch with fetch API * CVE-2019-9820 (bmo#1536405) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=736
This commit is contained in:
parent
c6af23c61b
commit
3a4466d1cf
@ -1,3 +1,88 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun May 19 20:40:30 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
|
||||||
|
- Mozilla Firefox 67.0
|
||||||
|
* Firefox 67 will be able to run different Firefox installs side by side
|
||||||
|
https://blog.nightly.mozilla.org/2019/01/14/moving-to-a-profile-per-install-architecture/
|
||||||
|
* Tabs can now be pinned from the Page Actions menu in the address bar
|
||||||
|
* Users can block known cryptominers and fingerprinters in the
|
||||||
|
Custom settings or their Content Blocking preferences
|
||||||
|
* The Import Data from Another Browser feature is now also available
|
||||||
|
from the File menu
|
||||||
|
* Firefox will now protect you against running older versions which
|
||||||
|
can lead to data corruption and stability issues
|
||||||
|
* Easier access to your list of saved logins from the main menu and
|
||||||
|
login autocomplete
|
||||||
|
* We’ve added a toolbar menu for your Firefox Account to provide more
|
||||||
|
transparency for when you are synced, sharing data across devices
|
||||||
|
and with Firefox. Personalize the appearance of the menu with your
|
||||||
|
own avatar
|
||||||
|
* Enable FIDO U2F API, and permit registrations for Google Accounts
|
||||||
|
* Enabled AV1 support on Linux
|
||||||
|
MFSA 2019-13
|
||||||
|
* CVE-2019-9815 (bmo#1546544)
|
||||||
|
Disable hyperthreading on content JavaScript threads on macOS
|
||||||
|
* CVE-2019-9816 (bmo#1536768)
|
||||||
|
Type confusion with object groups and UnboxedObjects
|
||||||
|
* CVE-2019-9817 (bmo#1540221)
|
||||||
|
Stealing of cross-domain images using canvas
|
||||||
|
* CVE-2019-9818 (bmo#1542581) (Windows only)
|
||||||
|
Use-after-free in crash generation server
|
||||||
|
* CVE-2019-9819 (bmo#1532553)
|
||||||
|
Compartment mismatch with fetch API
|
||||||
|
* CVE-2019-9820 (bmo#1536405)
|
||||||
|
Use-after-free of ChromeEventHandler by DocShell
|
||||||
|
* CVE-2019-9821 (bmo#1539125)
|
||||||
|
Use-after-free in AssertWorkerThread
|
||||||
|
* CVE-2019-11691 (bmo#1542465)
|
||||||
|
Use-after-free in XMLHttpRequest
|
||||||
|
* CVE-2019-11692 (bmo#1544670)
|
||||||
|
Use-after-free removing listeners in the event listener manager
|
||||||
|
* CVE-2019-11693 (bmo#1532525)
|
||||||
|
Buffer overflow in WebGL bufferdata on Linux
|
||||||
|
* CVE-2019-7317 (bmo#1542829)
|
||||||
|
Use-after-free in png_image_free of libpng library
|
||||||
|
* CVE-2019-11694 (bmo#1534196) (Windows only)
|
||||||
|
Uninitialized memory memory leakage in Windows sandbox
|
||||||
|
* CVE-2019-11695 (bmo#1445844)
|
||||||
|
Custom cursor can render over user interface outside of web content
|
||||||
|
* CVE-2019-11696 (bmo#1392955)
|
||||||
|
Java web start .JNLP files are not recognized as executable files
|
||||||
|
for download prompts
|
||||||
|
* CVE-2019-11697 (bmo#1440079)
|
||||||
|
Pressing key combinations can bypass installation prompt delays and
|
||||||
|
install extensions
|
||||||
|
* CVE-2019-11698 (bmo#1543191)
|
||||||
|
Theft of user history data through drag and drop of hyperlinks
|
||||||
|
to and from bookmarks
|
||||||
|
* CVE-2019-11700 (bmo#1549833) (Windows only)
|
||||||
|
res: protocol can be used to open known local files
|
||||||
|
* CVE-2019-11699 (bmo#1528939)
|
||||||
|
Incorrect domain name highlighting during page navigation
|
||||||
|
* CVE-2019-11701 (bmo#1518627)
|
||||||
|
webcal: protocol default handler loads vulnerable web page
|
||||||
|
* CVE-2019-9814 (bmo#1527592, bmo#1534536, bmo#1520132, bmo#1543159,
|
||||||
|
bmo#1539393, bmo#1459932, bmo#1459182, bmo#1516425)
|
||||||
|
Memory safety bugs fixed in Firefox 67
|
||||||
|
* CVE-2019-9800 (bmo#1540166, bmo#1534593, bmo#1546327, bmo#1540136,
|
||||||
|
bmo#1538736, bmo#1538042, bmo#1535612, bmo#1499719, bmo#1499108,
|
||||||
|
bmo#1538619, bmo#1535194, bmo#1516325, bmo#1542324, bmo#1542097,
|
||||||
|
bmo#1532465, bmo#1533554, bmo#1541580)
|
||||||
|
Memory safety bugs fixed in Firefox 67 and Firefox ESR 60.7
|
||||||
|
- requires
|
||||||
|
* rust/cargo >= 1.32
|
||||||
|
* mozilla-nspr >= 4.21
|
||||||
|
* mozilla-nss >= 3.43
|
||||||
|
* rust-cbindgen >= 0.8.2
|
||||||
|
- rebased patches
|
||||||
|
- KDE integration for default browser detection is broken in this revision
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 17 12:04:49 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Fix armv7 build with:
|
||||||
|
* mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 10 10:30:05 UTC 2019 - Manfred Hollstein <manfred.h@gmx.net>
|
Fri May 10 10:30:05 UTC 2019 - Manfred Hollstein <manfred.h@gmx.net>
|
||||||
|
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
|
|
||||||
|
|
||||||
# changed with every update
|
# changed with every update
|
||||||
%define major 66
|
%define major 67
|
||||||
%define mainver %major.0.5
|
%define mainver %major.0
|
||||||
%define orig_version 66.0.5
|
%define orig_version 67.0
|
||||||
%define orig_suffix %{nil}
|
%define orig_suffix %{nil}
|
||||||
%define update_channel release
|
%define update_channel release
|
||||||
%define branding 1
|
%define branding 1
|
||||||
%define releasedate 20190507012018
|
%define releasedate 20190516215225
|
||||||
%define source_prefix firefox-%{orig_version}
|
%define source_prefix firefox-%{orig_version}
|
||||||
|
|
||||||
# always build with GCC as SUSE Security Team requires that
|
# always build with GCC as SUSE Security Team requires that
|
||||||
@ -69,7 +69,7 @@ BuildRequires: gcc7-c++
|
|||||||
%else
|
%else
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: cargo >= 1.31
|
BuildRequires: cargo >= 1.32
|
||||||
BuildRequires: libXcomposite-devel
|
BuildRequires: libXcomposite-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libidl-devel
|
BuildRequires: libidl-devel
|
||||||
@ -77,15 +77,15 @@ BuildRequires: libiw-devel
|
|||||||
BuildRequires: libnotify-devel
|
BuildRequires: libnotify-devel
|
||||||
BuildRequires: libproxy-devel
|
BuildRequires: libproxy-devel
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: mozilla-nspr-devel >= 4.20
|
BuildRequires: mozilla-nspr-devel >= 4.21
|
||||||
BuildRequires: mozilla-nss-devel >= 3.42.1
|
BuildRequires: mozilla-nss-devel >= 3.43
|
||||||
BuildRequires: nasm >= 2.13
|
BuildRequires: nasm >= 2.13
|
||||||
BuildRequires: nodejs >= 8.11
|
BuildRequires: nodejs >= 8.11
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python2-xml
|
BuildRequires: python2-xml
|
||||||
BuildRequires: python3 >= 3.5
|
BuildRequires: python3 >= 3.5
|
||||||
BuildRequires: rust >= 1.31
|
BuildRequires: rust >= 1.32
|
||||||
BuildRequires: rust-cbindgen >= 0.6.8
|
BuildRequires: rust-cbindgen >= 0.8.2
|
||||||
BuildRequires: startup-notification-devel
|
BuildRequires: startup-notification-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -164,6 +164,7 @@ Patch7: mozilla-aarch64-startup-crash.patch
|
|||||||
Patch9: mozilla-bmo1463035.patch
|
Patch9: mozilla-bmo1463035.patch
|
||||||
Patch10: mozilla-cubeb-noreturn.patch
|
Patch10: mozilla-cubeb-noreturn.patch
|
||||||
Patch11: mozilla-fix-aarch64-libopus.patch
|
Patch11: mozilla-fix-aarch64-libopus.patch
|
||||||
|
Patch12: mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
|
||||||
# Firefox/browser
|
# Firefox/browser
|
||||||
Patch101: firefox-kde.patch
|
Patch101: firefox-kde.patch
|
||||||
Patch102: firefox-branded-icons.patch
|
Patch102: firefox-branded-icons.patch
|
||||||
@ -271,6 +272,7 @@ cd $RPM_BUILD_DIR/%{source_prefix}
|
|||||||
%patch9 -p1
|
%patch9 -p1
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
%patch11 -p1
|
%patch11 -p1
|
||||||
|
%patch12 -p1
|
||||||
# Firefox
|
# Firefox
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:39b8275de1d7cf4720ea37c183581eec2a610778d01a92c2b4a58ffc71447343
|
oid sha256:2d18ee29e0ff9f57d7da75911beb1c02837872deacdf2ac3f586c5f2254f80d2
|
||||||
size 28528
|
size 28376
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
CHANNEL="release"
|
CHANNEL="release"
|
||||||
BRANCH="releases/mozilla-$CHANNEL"
|
BRANCH="releases/mozilla-$CHANNEL"
|
||||||
RELEASE_TAG="96d2576eae4baf0aa961b4f5a1dadd26bb8ee823"
|
RELEASE_TAG="2a7896ba9aa5d982abe01f859d771d411fda8101"
|
||||||
VERSION="66.0.5"
|
VERSION="67.0"
|
||||||
VERSION_SUFFIX=""
|
VERSION_SUFFIX=""
|
||||||
LOCALE_FILE="firefox-$VERSION/browser/locales/l10n-changesets.json"
|
LOCALE_FILE="firefox-$VERSION/browser/locales/l10n-changesets.json"
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2aeb4e036d1365a2d2550e24ba8b4dde061281300f2b11a204cc1e9eb1792b5
|
|
||||||
size 282561836
|
|
@ -1,17 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
|
||||||
|
|
||||||
iQIcBAABCAAGBQJc0Y7NAAoJELu+vbskxvNVq90QAInN1gfX7+MALy9XMPgGmtvL
|
|
||||||
SsSHx1y+I1CVXXb9dkUQ+2+omqLXhYbxzDl8/fknoiiKlDvmyO3RE9Sxc3t0OgWq
|
|
||||||
oCdqJynV2IuWv9QGVczDtP790FVV+of4LQiGsWgPGJTGWsUUhPmwziXGmj9Eie0A
|
|
||||||
8nZlNWB5lxz/7f8JofapzXkbM3nQRsKf41/xDQcHQ+j9OCPqlItAZtL2Tieh/kH+
|
|
||||||
v54gLH+H8v/4hh7q27PokBx7w7zqnK/F1xRsxIuTF0GXPMTAYOK/pvNst/5MKYyE
|
|
||||||
wVdQOATSYSnrBPqtBJx/UBGYL+5+RxRZFmxYS0gXfckPFVtWv601PtRjBKs7jGfN
|
|
||||||
8oPPnMZJPqq4S2y9xcpUyzBQDASxTccT7rMvSL34f2NUMRzyufN3R1ob/Dq9hqee
|
|
||||||
siDJ20JCTTzgH/pLmR2Ve3vE07uE7vQNXg+QShV/ViTQr28FRjXfTl6BW5N6jpsv
|
|
||||||
vpnBoasmzwX8CE5bTIexxoRhmwBDbGsN9Ii+VLgDOCdJRr/EC791HPsCRq8xBTx/
|
|
||||||
+07y/1CEJ6xZUIFtv4CNUvQc7mgz5a63dG24sxn5xIzVLS0tYziVqNU5PEJmBH93
|
|
||||||
90axZKvYlKCfiimLpNJloGC8b6XNdREvF4Uz90W2Pc6bD+o95jSCUNMaBzmtMUTA
|
|
||||||
8r2Jo2OEcKL2TZnr7hjo
|
|
||||||
=Yxmu
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
firefox-67.0.source.tar.xz
Normal file
3
firefox-67.0.source.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2cb937db00e35162393aa5b65d1f2280be1e62d5ee33d3e9997cccba542d791b
|
||||||
|
size 282874008
|
17
firefox-67.0.source.tar.xz.asc
Normal file
17
firefox-67.0.source.tar.xz.asc
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||||
|
|
||||||
|
iQIcBAABCAAGBQJc3gPQAAoJELu+vbskxvNV/5gP/2Z++c31MwW4nb2wFCYwipP0
|
||||||
|
WzZYVaKheVmgjgHsTQZUQMD2OoyyX231KuVvAqctr7R2p5jtk2nz3I6nN8g8uMm4
|
||||||
|
M2Pj7qWKdboCpuPV+TpdzoBI/Grz0A26qUzont4BdsUItrIhvXZyxiEjFbAfq25T
|
||||||
|
q+A8XRHduW7z1R4ouUiJXT65I4p8P35sAOpAAuunvakxNcZRcStpAxyPrK2C/G0M
|
||||||
|
5LDFK8Vaqom8QT0h3OMp1T43nHDNRgwtMpWseKkooIJulBywTsyEqoUgzUBxBVxQ
|
||||||
|
zcOLRrifdW31/q/UeOTJJnkpx94ghCfBvyux3yVHnLKHhJl2Zv/MDNj4Tn6BI2jA
|
||||||
|
cLIdCulqQJH02jZDgHbjInDRQCnypPaNeI70+dJDSEJV+ybffqMBqpyu4jhR0YQ/
|
||||||
|
YzaCLxqgl7NLo/2hMkoGdS70V00sene+RRpn/F00H/b9dIHuD4rxeJaI26zVhlVv
|
||||||
|
hdVJEclKiSZKhhGoI0S30CZDLA0V8KwyBt3Rhd6L3BySeODHCWLdqhqBazmfzNW0
|
||||||
|
XJCwALO6/9+H2Y5hEH1gAR0/kWsHJYJ32jhLLjk4Gv2BsyYhc2kcaY739PPmRk4K
|
||||||
|
aUC+TEmou88292MfvgTB2ywnySro1it30ehCduGO+NrGxMLS/Qk7z7fORVU0Y/x2
|
||||||
|
M/5e60ftt5bpCkJODxfR
|
||||||
|
=cYrK
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,11 +1,11 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent 87262204aa945e6fce864193d103a93659bf76f6
|
# Parent 18632e53d0b0c4c03f254ca2dbbeac8f48ec6f5c
|
||||||
|
|
||||||
diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
|
diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/browser/base/content/browser-kde.xul
|
+++ b/browser/base/content/browser-kde.xul
|
||||||
@@ -0,0 +1,1408 @@
|
@@ -0,0 +1,1404 @@
|
||||||
+#filter substitution
|
+#filter substitution
|
||||||
+<?xml version="1.0"?>
|
+<?xml version="1.0"?>
|
||||||
+# -*- Mode: HTML -*-
|
+# -*- Mode: HTML -*-
|
||||||
@ -80,7 +80,6 @@ new file mode 100644
|
|||||||
+ retargetdocumentfocus="urlbar"
|
+ retargetdocumentfocus="urlbar"
|
||||||
+ persist="screenX screenY width height sizemode"
|
+ persist="screenX screenY width height sizemode"
|
||||||
+#ifdef BROWSER_XHTML
|
+#ifdef BROWSER_XHTML
|
||||||
+ hidden="true"
|
|
||||||
+ mozpersist=""
|
+ mozpersist=""
|
||||||
+#endif
|
+#endif
|
||||||
+ >
|
+ >
|
||||||
@ -90,11 +89,7 @@ new file mode 100644
|
|||||||
+# that they can be shared with macWindow.inc.xul.
|
+# that they can be shared with macWindow.inc.xul.
|
||||||
+#include global-scripts.inc
|
+#include global-scripts.inc
|
||||||
+
|
+
|
||||||
+<script type="application/javascript"
|
+<script type="application/javascript">
|
||||||
+#ifdef BROWSER_XHTML
|
|
||||||
+xmlns="http://www.w3.org/1999/xhtml"
|
|
||||||
+#endif
|
|
||||||
+>
|
|
||||||
+ Services.scriptloader.loadSubScript("chrome://global/content/contentAreaUtils.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://global/content/contentAreaUtils.js", this);
|
||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-captivePortal.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-captivePortal.js", this);
|
||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-compacttheme.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-compacttheme.js", this);
|
||||||
@ -111,23 +106,16 @@ new file mode 100644
|
|||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-sidebar.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-sidebar.js", this);
|
||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-tabsintitlebar.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/browser-tabsintitlebar.js", this);
|
||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/tabbrowser.js", this);
|
||||||
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/search/autocomplete-popup.js", this);
|
||||||
+ Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this);
|
+ Services.scriptloader.loadSubScript("chrome://browser/content/search/searchbar.js", this);
|
||||||
+
|
+
|
||||||
+ window.onload = gBrowserInit.onLoad.bind(gBrowserInit);
|
+ window.onload = gBrowserInit.onLoad.bind(gBrowserInit);
|
||||||
+ window.onunload = gBrowserInit.onUnload.bind(gBrowserInit);
|
+ window.onunload = gBrowserInit.onUnload.bind(gBrowserInit);
|
||||||
+ window.onclose = WindowIsClosing;
|
+ window.onclose = WindowIsClosing;
|
||||||
+
|
+
|
||||||
+#ifdef BROWSER_XHTML
|
|
||||||
+ window.addEventListener("readystatechange", () => {
|
|
||||||
+ // We initially hide the window to prevent layouts during parse. This lets us
|
|
||||||
+ // avoid accidental XBL construction and better match browser.xul (see Bug 1497975).
|
|
||||||
+ gBrowserInit.onBeforeInitialXULLayout();
|
|
||||||
+ document.documentElement.removeAttribute("hidden");
|
|
||||||
+ }, { once: true, capture: true });
|
|
||||||
+#else
|
|
||||||
+ window.addEventListener("MozBeforeInitialXULLayout",
|
+ window.addEventListener("MozBeforeInitialXULLayout",
|
||||||
+ gBrowserInit.onBeforeInitialXULLayout.bind(gBrowserInit), { once: true });
|
+ gBrowserInit.onBeforeInitialXULLayout.bind(gBrowserInit), { once: true });
|
||||||
+#endif
|
+
|
||||||
+ // The listener of DOMContentLoaded must be set on window, rather than
|
+ // The listener of DOMContentLoaded must be set on window, rather than
|
||||||
+ // document, because the window can go away before the event is fired.
|
+ // document, because the window can go away before the event is fired.
|
||||||
+ // In that case, we don't want to initialize anything, otherwise we
|
+ // In that case, we don't want to initialize anything, otherwise we
|
||||||
@ -244,7 +232,8 @@ new file mode 100644
|
|||||||
+
|
+
|
||||||
+ <!-- for search and content formfill/pw manager -->
|
+ <!-- for search and content formfill/pw manager -->
|
||||||
+
|
+
|
||||||
+ <panel type="autocomplete-richlistbox"
|
+ <panel is="autocomplete-richlistbox-popup"
|
||||||
|
+ type="autocomplete-richlistbox"
|
||||||
+ id="PopupAutoComplete"
|
+ id="PopupAutoComplete"
|
||||||
+ role="group"
|
+ role="group"
|
||||||
+ noautofocus="true"
|
+ noautofocus="true"
|
||||||
@ -254,7 +243,8 @@ new file mode 100644
|
|||||||
+ nomaxresults="true" />
|
+ nomaxresults="true" />
|
||||||
+
|
+
|
||||||
+ <!-- for search with one-off buttons -->
|
+ <!-- for search with one-off buttons -->
|
||||||
+ <panel type="autocomplete-richlistbox"
|
+ <panel is="search-autocomplete-richlistbox-popup"
|
||||||
|
+ type="autocomplete-richlistbox"
|
||||||
+ id="PopupSearchAutoComplete"
|
+ id="PopupSearchAutoComplete"
|
||||||
+ role="group"
|
+ role="group"
|
||||||
+ noautofocus="true"
|
+ noautofocus="true"
|
||||||
@ -270,27 +260,6 @@ new file mode 100644
|
|||||||
+ level="parent"
|
+ level="parent"
|
||||||
+ overflowpadding="15" />
|
+ overflowpadding="15" />
|
||||||
+
|
+
|
||||||
+ <!-- for url bar autocomplete -->
|
|
||||||
+ <panel id="urlbar-results"
|
|
||||||
+ role="group"
|
|
||||||
+ noautofocus="true"
|
|
||||||
+ hidden="true"
|
|
||||||
+ flip="none"
|
|
||||||
+ consumeoutsideclicks="never"
|
|
||||||
+ norolluponanchor="true"
|
|
||||||
+ level="parent">
|
|
||||||
+ <html:div class="urlbarView-body-outer">
|
|
||||||
+ <html:div class="urlbarView-body-inner">
|
|
||||||
+ <!-- TODO: add search suggestions notification -->
|
|
||||||
+ <html:div class="urlbarView-results"/>
|
|
||||||
+ </html:div>
|
|
||||||
+ </html:div>
|
|
||||||
+ <hbox class="search-one-offs"
|
|
||||||
+ compact="true"
|
|
||||||
+ includecurrentengine="true"
|
|
||||||
+ disabletab="true"/>
|
|
||||||
+ </panel>
|
|
||||||
+
|
|
||||||
+ <!-- for date/time picker. consumeoutsideclicks is set to never, so that
|
+ <!-- for date/time picker. consumeoutsideclicks is set to never, so that
|
||||||
+ clicks on the anchored input box are never consumed. -->
|
+ clicks on the anchored input box are never consumed. -->
|
||||||
+ <panel id="DateTimePickerPanel"
|
+ <panel id="DateTimePickerPanel"
|
||||||
@ -581,6 +550,8 @@ new file mode 100644
|
|||||||
+ position="bottomcenter topright"
|
+ position="bottomcenter topright"
|
||||||
+ tabspecific="true"
|
+ tabspecific="true"
|
||||||
+ noautofocus="true"
|
+ noautofocus="true"
|
||||||
|
+ pinTab-title="&pinTab.label;"
|
||||||
|
+ unpinTab-title="&unpinTab.label;"
|
||||||
+ pocket-title="&saveToPocketCmd.label;"
|
+ pocket-title="&saveToPocketCmd.label;"
|
||||||
+ copyURL-title="&pageAction.copyLink.label;"
|
+ copyURL-title="&pageAction.copyLink.label;"
|
||||||
+ emailLink-title="&emailPageCmd.label;"
|
+ emailLink-title="&emailPageCmd.label;"
|
||||||
@ -607,9 +578,12 @@ new file mode 100644
|
|||||||
+ tabspecific="true"
|
+ tabspecific="true"
|
||||||
+ noautofocus="true">
|
+ noautofocus="true">
|
||||||
+ <hbox id="confirmation-hint-checkmark-animation-container">
|
+ <hbox id="confirmation-hint-checkmark-animation-container">
|
||||||
+ <image id="confirmation-hint-checkmark-image"/>
|
+ <image id="confirmation-hint-checkmark-image"/>
|
||||||
+ </hbox>
|
+ </hbox>
|
||||||
+ <label id="confirmation-hint-message"/>
|
+ <vbox id="confirmation-hint-message-container">
|
||||||
|
+ <label id="confirmation-hint-message"/>
|
||||||
|
+ <label id="confirmation-hint-description"/>
|
||||||
|
+ </vbox>
|
||||||
+ </panel>
|
+ </panel>
|
||||||
+
|
+
|
||||||
+ <menupopup id="pageActionContextMenu"
|
+ <menupopup id="pageActionContextMenu"
|
||||||
@ -843,6 +817,7 @@ new file mode 100644
|
|||||||
+ overflowpanel="widget-overflow"
|
+ overflowpanel="widget-overflow"
|
||||||
+ context="toolbar-context-menu">
|
+ context="toolbar-context-menu">
|
||||||
+
|
+
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ <hbox id="nav-bar-customization-target" flex="1">
|
+ <hbox id="nav-bar-customization-target" flex="1">
|
||||||
+ <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
+ <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional"
|
||||||
+ label="&backCmd.label;"
|
+ label="&backCmd.label;"
|
||||||
@ -896,11 +871,13 @@ new file mode 100644
|
|||||||
+ <toolbaritem id="urlbar-container" flex="400" persist="width"
|
+ <toolbaritem id="urlbar-container" flex="400" persist="width"
|
||||||
+ removable="false"
|
+ removable="false"
|
||||||
+ class="chromeclass-location" overflows="false">
|
+ class="chromeclass-location" overflows="false">
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ <textbox id="urlbar" flex="1"
|
+ <textbox id="urlbar" flex="1"
|
||||||
+ placeholder="&urlbar.placeholder2;"
|
+ placeholder="&urlbar.placeholder2;"
|
||||||
+ defaultPlaceholder="&urlbar.placeholder2;"
|
+ defaultPlaceholder="&urlbar.placeholder2;"
|
||||||
+ focused="true"
|
+ focused="true"
|
||||||
+ type="autocomplete"
|
+ type="autocomplete"
|
||||||
|
+ quantumbar="false"
|
||||||
+ autocompletesearch="unifiedcomplete"
|
+ autocompletesearch="unifiedcomplete"
|
||||||
+ autocompletesearchparam="enable-actions"
|
+ autocompletesearchparam="enable-actions"
|
||||||
+ autocompletepopup="PopupAutoCompleteRichResult"
|
+ autocompletepopup="PopupAutoCompleteRichResult"
|
||||||
@ -1015,6 +992,7 @@ new file mode 100644
|
|||||||
+ <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/>
|
+ <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/>
|
||||||
+ </box>
|
+ </box>
|
||||||
+ <hbox id="page-action-buttons" context="pageActionContextMenu">
|
+ <hbox id="page-action-buttons" context="pageActionContextMenu">
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ <hbox id="contextual-feature-recommendation" role="button" hidden="true">
|
+ <hbox id="contextual-feature-recommendation" role="button" hidden="true">
|
||||||
+ <hbox id="cfr-label-container">
|
+ <hbox id="cfr-label-container">
|
||||||
+ <label id="cfr-label"/>
|
+ <label id="cfr-label"/>
|
||||||
@ -1072,6 +1050,7 @@ new file mode 100644
|
|||||||
+ </hbox>
|
+ </hbox>
|
||||||
+ </hbox>
|
+ </hbox>
|
||||||
+ </textbox>
|
+ </textbox>
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ </toolbaritem>
|
+ </toolbaritem>
|
||||||
+
|
+
|
||||||
+ <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/>
|
+ <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/>
|
||||||
@ -1083,6 +1062,7 @@ new file mode 100644
|
|||||||
+ class="toolbarbutton-1 chromeclass-toolbar-additional badged-button"
|
+ class="toolbarbutton-1 chromeclass-toolbar-additional badged-button"
|
||||||
+ key="key_openDownloads"
|
+ key="key_openDownloads"
|
||||||
+ onmousedown="DownloadsIndicatorView.onCommand(event);"
|
+ onmousedown="DownloadsIndicatorView.onCommand(event);"
|
||||||
|
+ onkeypress="DownloadsIndicatorView.onCommand(event);"
|
||||||
+ ondrop="DownloadsIndicatorView.onDrop(event);"
|
+ ondrop="DownloadsIndicatorView.onDrop(event);"
|
||||||
+ ondragover="DownloadsIndicatorView.onDragOver(event);"
|
+ ondragover="DownloadsIndicatorView.onDragOver(event);"
|
||||||
+ ondragenter="DownloadsIndicatorView.onDragOver(event);"
|
+ ondragenter="DownloadsIndicatorView.onDragOver(event);"
|
||||||
@ -1115,6 +1095,19 @@ new file mode 100644
|
|||||||
+ tooltiptext="&libraryButton.tooltip;"
|
+ tooltiptext="&libraryButton.tooltip;"
|
||||||
+ label="&places.library.title;"/>
|
+ label="&places.library.title;"/>
|
||||||
+
|
+
|
||||||
|
+ <toolbarbutton id="fxa-toolbar-menu-button" class="toolbarbutton-1 badged-button chromeclass-toolbar-additional subviewbutton-nav"
|
||||||
|
+ onmousedown="gSync.toggleAccountPanel('PanelUI-fxa', event)"
|
||||||
|
+ onkeypress="gSync.toggleAccountPanel('PanelUI-fxa', event)"
|
||||||
|
+ consumeanchor="fxa-toolbar-menu-button"
|
||||||
|
+ closemenu="none"
|
||||||
|
+ label="&fxa.menu.firefoxAccount;"
|
||||||
|
+ tooltiptext="&fxa.menu.firefoxAccount;"
|
||||||
|
+ cui-areatype="toolbar"
|
||||||
|
+ removable="true">
|
||||||
|
+ <vbox>
|
||||||
|
+ <image id="fxa-avatar-image"/>
|
||||||
|
+ </vbox>
|
||||||
|
+ </toolbarbutton>
|
||||||
+ </hbox>
|
+ </hbox>
|
||||||
+
|
+
|
||||||
+ <toolbarbutton id="nav-bar-overflow-button"
|
+ <toolbarbutton id="nav-bar-overflow-button"
|
||||||
@ -1167,6 +1160,7 @@ new file mode 100644
|
|||||||
+ toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"
|
+ toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"
|
||||||
+ collapsed="true"
|
+ collapsed="true"
|
||||||
+ customizable="true">
|
+ customizable="true">
|
||||||
|
+ <toolbartabstop skipintoolbarset="true"/>
|
||||||
+ <toolbaritem id="personal-bookmarks"
|
+ <toolbaritem id="personal-bookmarks"
|
||||||
+ title="&bookmarksToolbarItem.label;"
|
+ title="&bookmarksToolbarItem.label;"
|
||||||
+ cui-areatype="toolbar"
|
+ cui-areatype="toolbar"
|
||||||
@ -1336,7 +1330,9 @@ new file mode 100644
|
|||||||
+ align="center"
|
+ align="center"
|
||||||
+ flex="100"
|
+ flex="100"
|
||||||
+ persist="width">
|
+ persist="width">
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ <searchbar id="searchbar" flex="1"/>
|
+ <searchbar id="searchbar" flex="1"/>
|
||||||
|
+ <toolbartabstop/>
|
||||||
+ </toolbaritem>
|
+ </toolbaritem>
|
||||||
+ </toolbarpalette>
|
+ </toolbarpalette>
|
||||||
+ </toolbox>
|
+ </toolbox>
|
||||||
@ -1436,70 +1432,10 @@ diff --git a/browser/base/jar.mn b/browser/base/jar.mn
|
|||||||
content/browser/browser-data-submission-info-bar.js (content/browser-data-submission-info-bar.js)
|
content/browser/browser-data-submission-info-bar.js (content/browser-data-submission-info-bar.js)
|
||||||
content/browser/browser-compacttheme.js (content/browser-compacttheme.js)
|
content/browser/browser-compacttheme.js (content/browser-compacttheme.js)
|
||||||
content/browser/browser-contentblocking.js (content/browser-contentblocking.js)
|
content/browser/browser-contentblocking.js (content/browser-contentblocking.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
|
|
||||||
@@ -8,17 +8,17 @@
|
|
||||||
#include "nsBrowserCompsCID.h"
|
|
||||||
#include "DirectoryProvider.h"
|
|
||||||
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
# include "nsWindowsShellService.h"
|
|
||||||
#elif defined(XP_MACOSX)
|
|
||||||
# include "nsMacShellService.h"
|
|
||||||
#elif defined(MOZ_WIDGET_GTK)
|
|
||||||
-# include "nsGNOMEShellService.h"
|
|
||||||
+# include "nsUnixShellService.h"
|
|
||||||
#endif
|
|
||||||
#include "nsIToolkitShellService.h"
|
|
||||||
|
|
||||||
#if defined(MOZ_WIDGET_COCOA)
|
|
||||||
# include "nsMacAttribution.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
@@ -34,18 +34,16 @@ using namespace mozilla::browser;
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
NS_GENERIC_FACTORY_CONSTRUCTOR(DirectoryProvider)
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWindowsShellService)
|
|
||||||
#elif defined(XP_MACOSX)
|
|
||||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMacShellService)
|
|
||||||
-#elif defined(MOZ_WIDGET_GTK)
|
|
||||||
-NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsGNOMEShellService, Init)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(MOZ_WIDGET_COCOA)
|
|
||||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMacAttributionService)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsIEHistoryEnumerator)
|
|
||||||
@@ -64,17 +62,17 @@ NS_DEFINE_NAMED_CID(NS_MACATTRIBUTIONSER
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const mozilla::Module::CIDEntry kBrowserCIDs[] = {
|
|
||||||
// clang-format off
|
|
||||||
{ &kNS_BROWSERDIRECTORYPROVIDER_CID, false, nullptr, DirectoryProviderConstructor },
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
{ &kNS_SHELLSERVICE_CID, false, nullptr, nsWindowsShellServiceConstructor },
|
|
||||||
#elif defined(MOZ_WIDGET_GTK)
|
|
||||||
- { &kNS_SHELLSERVICE_CID, false, nullptr, nsGNOMEShellServiceConstructor },
|
|
||||||
+ { &kNS_SHELLSERVICE_CID, false, nullptr, nsUnixShellServiceConstructor },
|
|
||||||
#elif defined(XP_MACOSX)
|
|
||||||
{ &kNS_SHELLSERVICE_CID, false, nullptr, nsMacShellServiceConstructor },
|
|
||||||
#endif
|
|
||||||
{ &kNS_BROWSER_ABOUT_REDIRECTOR_CID, false, nullptr, AboutRedirector::Create },
|
|
||||||
#if defined(XP_WIN)
|
|
||||||
{ &kNS_WINIEHISTORYENUMERATOR_CID, false, nullptr, nsIEHistoryEnumeratorConstructor },
|
|
||||||
#endif
|
|
||||||
#if defined(MOZ_WIDGET_COCOA)
|
|
||||||
diff --git a/browser/components/preferences/in-content/main.js b/browser/components/preferences/in-content/main.js
|
diff --git a/browser/components/preferences/in-content/main.js b/browser/components/preferences/in-content/main.js
|
||||||
--- a/browser/components/preferences/in-content/main.js
|
--- a/browser/components/preferences/in-content/main.js
|
||||||
+++ b/browser/components/preferences/in-content/main.js
|
+++ b/browser/components/preferences/in-content/main.js
|
||||||
@@ -289,16 +289,23 @@ var gMainPane = {
|
@@ -288,16 +288,23 @@ var gMainPane = {
|
||||||
this._backoffIndex++ : backoffTimes.length - 1]);
|
this._backoffIndex++ : backoffTimes.length - 1]);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1523,7 +1459,7 @@ diff --git a/browser/components/preferences/in-content/main.js b/browser/compone
|
|||||||
performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
|
performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
|
||||||
|
|
||||||
this.updateDefaultPerformanceSettingsPref();
|
this.updateDefaultPerformanceSettingsPref();
|
||||||
@@ -1021,16 +1028,27 @@ var gMainPane = {
|
@@ -1025,16 +1032,27 @@ var gMainPane = {
|
||||||
// Reset exponential backoff delay time in order to do visual update in pollForDefaultBrowser.
|
// Reset exponential backoff delay time in order to do visual update in pollForDefaultBrowser.
|
||||||
this._backoffIndex = 0;
|
this._backoffIndex = 0;
|
||||||
|
|
||||||
@ -1815,7 +1751,7 @@ new file mode 100644
|
|||||||
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
|
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
|
||||||
--- a/browser/installer/package-manifest.in
|
--- a/browser/installer/package-manifest.in
|
||||||
+++ b/browser/installer/package-manifest.in
|
+++ b/browser/installer/package-manifest.in
|
||||||
@@ -452,16 +452,18 @@
|
@@ -286,16 +286,18 @@
|
||||||
@RESPATH@/browser/defaults/settings/pinning
|
@RESPATH@/browser/defaults/settings/pinning
|
||||||
@RESPATH@/browser/defaults/settings/main
|
@RESPATH@/browser/defaults/settings/main
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ffd35011f8e796d5e29a0459d51bbdc7c08f7bcee8e3a706a57d6e5d1a89b7bf
|
|
||||||
size 48696164
|
|
3
l10n-67.0.tar.xz
Normal file
3
l10n-67.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e6a8919db44d131bfc0551727f348e14024170e6d26eb7a6c521f28da7da69d9
|
||||||
|
size 50523872
|
@ -1,12 +1,12 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
|
# Parent a5cfa3aa11a9d3391df49de6fc5a0e5232c12c10
|
||||||
# Parent 7b5f6b68a8963228f738b803177f937481e19745
|
# Parent 6dd2311796da4e15115fd04b181313ae62754317
|
||||||
Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
|
Bug 991344 - Rpi3: Firefox crashes after a few seconds of usage
|
||||||
|
|
||||||
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
|
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
|
||||||
--- a/netwerk/base/nsIOService.cpp
|
--- a/netwerk/base/nsIOService.cpp
|
||||||
+++ b/netwerk/base/nsIOService.cpp
|
+++ b/netwerk/base/nsIOService.cpp
|
||||||
@@ -842,17 +842,23 @@ nsresult nsIOService::NewChannelFromURIW
|
@@ -975,17 +975,23 @@ nsresult nsIOService::NewChannelFromURIW
|
||||||
"doesn't support nsIUploadChannel2. An extension has "
|
"doesn't support nsIUploadChannel2. An extension has "
|
||||||
"supplied a non-functional http protocol handler. This will "
|
"supplied a non-functional http protocol handler. This will "
|
||||||
"break behavior and in future releases not work at all.");
|
"break behavior and in future releases not work at all.");
|
||||||
@ -26,7 +26,7 @@ diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
|
|||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsIOService::NewChannelFromURIWithProxyFlags2(
|
nsIOService::NewChannelFromURIWithProxyFlags(
|
||||||
nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags,
|
nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags,
|
||||||
nsINode *aLoadingNode, nsIPrincipal *aLoadingPrincipal,
|
nsINode *aLoadingNode, nsIPrincipal *aLoadingPrincipal,
|
||||||
nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags,
|
nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags,
|
||||||
|
11
mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
Normal file
11
mozilla-disable-wasm-emulate-arm-unaligned-fp-access.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/js/src/wasm/WasmSignalHandlers.cpp 2019-05-16 11:25:13.260881532 +0200
|
||||||
|
+++ b/js/src/wasm/WasmSignalHandlers.cpp 2019-05-16 11:24:35.164589301 +0200
|
||||||
|
@@ -243,7 +243,7 @@ using mozilla::DebugOnly;
|
||||||
|
// 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
|
@ -1,6 +1,15 @@
|
|||||||
--- firefox-66.0.1.orig/media/libopus/silk/arm/arm_silk_map.c 2019-03-22 06:05:57.000000000 +0100
|
# HG changeset patch
|
||||||
+++ firefox-66.0.1/media/libopus/silk/arm/arm_silk_map.c 2019-03-28 09:35:28.604948775 +0100
|
# Parent 1317782cd47f1d1f2410712a1dd283b305393eae
|
||||||
@@ -28,7 +28,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
diff --git a/media/libopus/silk/arm/arm_silk_map.c b/media/libopus/silk/arm/arm_silk_map.c
|
||||||
|
--- a/media/libopus/silk/arm/arm_silk_map.c
|
||||||
|
+++ b/media/libopus/silk/arm/arm_silk_map.c
|
||||||
|
@@ -23,17 +23,17 @@ INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||||
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
***********************************************************************/
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -9,3 +18,8 @@
|
|||||||
#include "NSQ.h"
|
#include "NSQ.h"
|
||||||
#include "SigProc_FIX.h"
|
#include "SigProc_FIX.h"
|
||||||
|
|
||||||
|
#if defined(OPUS_HAVE_RTCD)
|
||||||
|
|
||||||
|
# if (defined(OPUS_ARM_MAY_HAVE_NEON_INTR) && \
|
||||||
|
!defined(OPUS_ARM_PRESUME_NEON_INTR))
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# HG changeset patch
|
# HG changeset patch
|
||||||
# Parent f55e33a10c2a23625826ef6f8dbe18d5a455d29e
|
# Parent cafacdb0b7c50666e5dcc927684a23e8733206a5
|
||||||
Description: Add KDE integration to Firefox (toolkit parts)
|
Description: Add KDE integration to Firefox (toolkit parts)
|
||||||
Author: Wolfgang Rosenauer <wolfgang@rosenauer.org>
|
Author: Wolfgang Rosenauer <wolfgang@rosenauer.org>
|
||||||
Author: Lubos Lunak <lunak@suse.com>
|
Author: Lubos Lunak <lunak@suse.com>
|
||||||
@ -27,7 +27,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
|||||||
#ifdef XP_WIN
|
#ifdef XP_WIN
|
||||||
# include "windows.h"
|
# include "windows.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -4467,25 +4468,37 @@ float MOZ_MAYBE_UNUSED GetPref<float>(co
|
@@ -4493,25 +4494,37 @@ float MOZ_MAYBE_UNUSED GetPref<float>(co
|
||||||
// application pref files for backwards compatibility.
|
// application pref files for backwards compatibility.
|
||||||
static const char* specialFiles[] = {
|
static const char* specialFiles[] = {
|
||||||
#if defined(XP_MACOSX)
|
#if defined(XP_MACOSX)
|
||||||
@ -65,7 +65,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
|||||||
|
|
||||||
// Load jar:$app/omni.jar!/defaults/preferences/*.js
|
// Load jar:$app/omni.jar!/defaults/preferences/*.js
|
||||||
// or jar:$gre/omni.jar!/defaults/preferences/*.js.
|
// or jar:$gre/omni.jar!/defaults/preferences/*.js.
|
||||||
@@ -4533,17 +4546,17 @@ float MOZ_MAYBE_UNUSED GetPref<float>(co
|
@@ -4559,17 +4572,17 @@ float MOZ_MAYBE_UNUSED GetPref<float>(co
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIFile> path = do_QueryInterface(elem);
|
nsCOMPtr<nsIFile> path = do_QueryInterface(elem);
|
||||||
@ -97,21 +97,21 @@ diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build
|
|||||||
]
|
]
|
||||||
|
|
||||||
+LOCAL_INCLUDES += [
|
+LOCAL_INCLUDES += [
|
||||||
+ '/toolkit/xre'
|
+ '/toolkit/xre'
|
||||||
+]
|
+]
|
||||||
+
|
+
|
||||||
|
XPCOM_MANIFESTS += [
|
||||||
|
'components.conf',
|
||||||
|
]
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
||||||
DEFINES['OS_ARCH'] = CONFIG['OS_ARCH']
|
|
||||||
DEFINES['MOZ_WIDGET_TOOLKIT'] = CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
||||||
if CONFIG['MOZ_ENABLE_WEBRENDER']:
|
|
||||||
DEFINES['MOZ_ENABLE_WEBRENDER'] = True
|
|
||||||
diff --git a/python/mozbuild/mozpack/chrome/flags.py b/python/mozbuild/mozpack/chrome/flags.py
|
diff --git a/python/mozbuild/mozpack/chrome/flags.py b/python/mozbuild/mozpack/chrome/flags.py
|
||||||
--- a/python/mozbuild/mozpack/chrome/flags.py
|
--- a/python/mozbuild/mozpack/chrome/flags.py
|
||||||
+++ b/python/mozbuild/mozpack/chrome/flags.py
|
+++ b/python/mozbuild/mozpack/chrome/flags.py
|
||||||
@@ -220,16 +220,17 @@ class Flags(OrderedDict):
|
@@ -223,16 +223,17 @@ class Flags(OrderedDict):
|
||||||
'contentaccessible': Flag,
|
'contentaccessible': Flag,
|
||||||
'os': StringFlag,
|
'os': StringFlag,
|
||||||
'osversion': VersionFlag,
|
'osversion': VersionFlag,
|
||||||
@ -153,7 +153,7 @@ diff --git a/python/mozbuild/mozpack/chrome/manifest.py b/python/mozbuild/mozpac
|
|||||||
diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloads/moz.build
|
diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloads/moz.build
|
||||||
--- a/toolkit/components/downloads/moz.build
|
--- a/toolkit/components/downloads/moz.build
|
||||||
+++ b/toolkit/components/downloads/moz.build
|
+++ b/toolkit/components/downloads/moz.build
|
||||||
@@ -41,10 +41,14 @@ EXTRA_JS_MODULES += [
|
@@ -41,10 +41,14 @@ XPCOM_MANIFESTS += [
|
||||||
|
|
||||||
if CONFIG['MOZ_PLACES']:
|
if CONFIG['MOZ_PLACES']:
|
||||||
EXTRA_JS_MODULES += [
|
EXTRA_JS_MODULES += [
|
||||||
@ -171,25 +171,25 @@ diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloa
|
|||||||
diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
|
diff --git a/toolkit/content/jar.mn b/toolkit/content/jar.mn
|
||||||
--- a/toolkit/content/jar.mn
|
--- a/toolkit/content/jar.mn
|
||||||
+++ b/toolkit/content/jar.mn
|
+++ b/toolkit/content/jar.mn
|
||||||
@@ -65,16 +65,18 @@ toolkit.jar:
|
@@ -63,16 +63,18 @@ toolkit.jar:
|
||||||
|
content/global/widgets.css
|
||||||
|
content/global/bindings/autocomplete.xml (widgets/autocomplete.xml)
|
||||||
content/global/bindings/button.xml (widgets/button.xml)
|
content/global/bindings/button.xml (widgets/button.xml)
|
||||||
content/global/bindings/calendar.js (widgets/calendar.js)
|
content/global/bindings/calendar.js (widgets/calendar.js)
|
||||||
content/global/bindings/checkbox.xml (widgets/checkbox.xml)
|
|
||||||
content/global/bindings/datekeeper.js (widgets/datekeeper.js)
|
content/global/bindings/datekeeper.js (widgets/datekeeper.js)
|
||||||
content/global/bindings/datepicker.js (widgets/datepicker.js)
|
content/global/bindings/datepicker.js (widgets/datepicker.js)
|
||||||
content/global/bindings/datetimebox.xml (widgets/datetimebox.xml)
|
|
||||||
content/global/bindings/datetimebox.css (widgets/datetimebox.css)
|
content/global/bindings/datetimebox.css (widgets/datetimebox.css)
|
||||||
* content/global/bindings/dialog.xml (widgets/dialog.xml)
|
* content/global/bindings/dialog.xml (widgets/dialog.xml)
|
||||||
+* content/global/bindings/dialog-kde.xml (widgets/dialog-kde.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
|
+% override chrome://global/content/bindings/dialog.xml chrome://global/content/bindings/dialog-kde.xml desktop=kde
|
||||||
content/global/bindings/general.xml (widgets/general.xml)
|
content/global/bindings/general.xml (widgets/general.xml)
|
||||||
content/global/bindings/menu.xml (widgets/menu.xml)
|
content/global/bindings/menu.xml (widgets/menu.xml)
|
||||||
content/global/bindings/menulist.xml (widgets/menulist.xml)
|
|
||||||
content/global/bindings/notification.xml (widgets/notification.xml)
|
|
||||||
content/global/bindings/popup.xml (widgets/popup.xml)
|
content/global/bindings/popup.xml (widgets/popup.xml)
|
||||||
content/global/bindings/radio.xml (widgets/radio.xml)
|
content/global/bindings/radio.xml (widgets/radio.xml)
|
||||||
content/global/bindings/richlistbox.xml (widgets/richlistbox.xml)
|
content/global/bindings/richlistbox.xml (widgets/richlistbox.xml)
|
||||||
content/global/bindings/scrollbox.xml (widgets/scrollbox.xml)
|
content/global/bindings/scrollbox.xml (widgets/scrollbox.xml)
|
||||||
|
content/global/bindings/spinner.js (widgets/spinner.js)
|
||||||
|
content/global/bindings/tabbox.xml (widgets/tabbox.xml)
|
||||||
diff --git a/toolkit/content/widgets/dialog-kde.xml b/toolkit/content/widgets/dialog-kde.xml
|
diff --git a/toolkit/content/widgets/dialog-kde.xml b/toolkit/content/widgets/dialog-kde.xml
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
@ -702,10 +702,10 @@ new file mode 100644
|
|||||||
+ </binding>
|
+ </binding>
|
||||||
+
|
+
|
||||||
+</bindings>
|
+</bindings>
|
||||||
diff --git a/toolkit/mozapps/downloads/nsHelperAppDlg.js b/toolkit/mozapps/downloads/nsHelperAppDlg.js
|
diff --git a/toolkit/mozapps/downloads/HelperAppDlg.jsm b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
--- a/toolkit/mozapps/downloads/nsHelperAppDlg.js
|
--- a/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
+++ b/toolkit/mozapps/downloads/nsHelperAppDlg.js
|
+++ b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
@@ -1033,30 +1033,60 @@ nsUnknownContentTypeDialog.prototype = {
|
@@ -1030,30 +1030,60 @@ nsUnknownContentTypeDialog.prototype = {
|
||||||
|
|
||||||
if (params.handlerApp &&
|
if (params.handlerApp &&
|
||||||
params.handlerApp.executable &&
|
params.handlerApp.executable &&
|
||||||
@ -794,14 +794,14 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
#include "nsIURI.h"
|
#include "nsIURI.h"
|
||||||
+#include "nsKDEUtils.h"
|
+#include "nsKDEUtils.h"
|
||||||
|
|
||||||
|
using namespace mozilla;
|
||||||
|
|
||||||
class nsUnixSystemProxySettings final : public nsISystemProxySettings {
|
class nsUnixSystemProxySettings final : public nsISystemProxySettings {
|
||||||
public:
|
public:
|
||||||
NS_DECL_ISUPPORTS
|
NS_DECL_ISUPPORTS
|
||||||
NS_DECL_NSISYSTEMPROXYSETTINGS
|
NS_DECL_NSISYSTEMPROXYSETTINGS
|
||||||
|
|
||||||
nsUnixSystemProxySettings() : mSchemeProxySettings(4) {}
|
@@ -44,16 +45,18 @@ class nsUnixSystemProxySettings final :
|
||||||
nsresult Init();
|
|
||||||
@@ -42,16 +43,18 @@ class nsUnixSystemProxySettings final :
|
|
||||||
nsACString& aResult);
|
nsACString& aResult);
|
||||||
nsresult GetProxyFromGConf(const nsACString& aScheme, const nsACString& aHost,
|
nsresult GetProxyFromGConf(const nsACString& aScheme, const nsACString& aHost,
|
||||||
int32_t aPort, nsACString& aResult);
|
int32_t aPort, nsACString& aResult);
|
||||||
@ -820,7 +820,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
|
nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
|
||||||
// dbus prevents us from being threadsafe, but this routine should not block
|
// dbus prevents us from being threadsafe, but this routine should not block
|
||||||
// anyhow
|
// anyhow
|
||||||
@@ -488,16 +491,19 @@ nsresult nsUnixSystemProxySettings::GetP
|
@@ -487,22 +490,51 @@ nsresult nsUnixSystemProxySettings::GetP
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -840,16 +840,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
|
|
||||||
return GetProxyFromEnvironment(aScheme, aHost, aPort, aResult);
|
return GetProxyFromEnvironment(aScheme, aHost, aPort, aResult);
|
||||||
}
|
}
|
||||||
@@ -521,8 +527,34 @@ static const mozilla::Module::CIDEntry k
|
|
||||||
static const mozilla::Module::ContractIDEntry kUnixProxyContracts[] = {
|
|
||||||
{NS_SYSTEMPROXYSETTINGS_CONTRACTID, &kNS_UNIXSYSTEMPROXYSERVICE_CID},
|
|
||||||
{nullptr}};
|
|
||||||
|
|
||||||
static const mozilla::Module kUnixProxyModule = {
|
|
||||||
mozilla::Module::kVersion, kUnixProxyCIDs, kUnixProxyContracts};
|
|
||||||
|
|
||||||
NSMODULE_DEFN(nsUnixProxyModule) = &kUnixProxyModule;
|
|
||||||
+
|
|
||||||
+nsresult
|
+nsresult
|
||||||
+nsUnixSystemProxySettings::GetProxyFromKDE(const nsACString& aScheme,
|
+nsUnixSystemProxySettings::GetProxyFromKDE(const nsACString& aScheme,
|
||||||
+ const nsACString& aHost,
|
+ const nsACString& aHost,
|
||||||
@ -875,10 +866,16 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
+ return NS_OK;
|
+ return NS_OK;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
+
|
||||||
|
NS_IMPL_COMPONENT_FACTORY(nsUnixSystemProxySettings) {
|
||||||
|
auto result = MakeRefPtr<nsUnixSystemProxySettings>();
|
||||||
|
result->Init();
|
||||||
|
return result.forget().downcast<nsISupports>();
|
||||||
|
}
|
||||||
diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
|
diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
|
||||||
--- a/toolkit/xre/moz.build
|
--- a/toolkit/xre/moz.build
|
||||||
+++ b/toolkit/xre/moz.build
|
+++ b/toolkit/xre/moz.build
|
||||||
@@ -81,17 +81,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co
|
@@ -83,17 +83,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co
|
||||||
'../components/printingui',
|
'../components/printingui',
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit':
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit':
|
||||||
@ -897,7 +894,7 @@ diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
|
|||||||
'nsNativeAppSupportDefault.cpp',
|
'nsNativeAppSupportDefault.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
|
if CONFIG['MOZ_HAS_REMOTE']:
|
||||||
diff --git a/toolkit/xre/nsKDEUtils.cpp b/toolkit/xre/nsKDEUtils.cpp
|
diff --git a/toolkit/xre/nsKDEUtils.cpp b/toolkit/xre/nsKDEUtils.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
@ -1343,7 +1340,7 @@ diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandle
|
|||||||
diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
|
diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
|
||||||
--- a/uriloader/exthandler/moz.build
|
--- a/uriloader/exthandler/moz.build
|
||||||
+++ b/uriloader/exthandler/moz.build
|
+++ b/uriloader/exthandler/moz.build
|
||||||
@@ -76,17 +76,19 @@ else:
|
@@ -80,17 +80,19 @@ else:
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
osdir + '/nsOSHelperAppService.cpp',
|
osdir + '/nsOSHelperAppService.cpp',
|
||||||
]
|
]
|
||||||
@ -1363,7 +1360,7 @@ diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
|
|||||||
'android/nsExternalURLHandlerService.cpp',
|
'android/nsExternalURLHandlerService.cpp',
|
||||||
'android/nsMIMEInfoAndroid.cpp',
|
'android/nsMIMEInfoAndroid.cpp',
|
||||||
]
|
]
|
||||||
@@ -120,16 +122,17 @@ include('/ipc/chromium/chromium-config.m
|
@@ -130,16 +132,17 @@ include('/ipc/chromium/chromium-config.m
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
||||||
LOCAL_INCLUDES += [
|
LOCAL_INCLUDES += [
|
||||||
@ -1797,7 +1794,7 @@ diff --git a/uriloader/exthandler/unix/nsOSHelperAppService.cpp b/uriloader/exth
|
|||||||
diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build
|
diff --git a/widget/gtk/moz.build b/widget/gtk/moz.build
|
||||||
--- a/widget/gtk/moz.build
|
--- a/widget/gtk/moz.build
|
||||||
+++ b/widget/gtk/moz.build
|
+++ b/widget/gtk/moz.build
|
||||||
@@ -116,16 +116,17 @@ include('/ipc/chromium/chromium-config.m
|
@@ -121,16 +121,17 @@ include('/ipc/chromium/chromium-config.m
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
FINAL_LIBRARY = 'xul'
|
||||||
|
|
||||||
@ -1914,7 +1911,7 @@ diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp
|
|||||||
|
|
||||||
GtkFileChooserAction action = GetGtkFileChooserAction(mMode);
|
GtkFileChooserAction action = GetGtkFileChooserAction(mMode);
|
||||||
|
|
||||||
@@ -571,16 +598,240 @@ void nsFilePicker::Done(void *file_choos
|
@@ -572,16 +599,240 @@ void nsFilePicker::Done(void *file_choos
|
||||||
mCallback->Done(result);
|
mCallback->Done(result);
|
||||||
mCallback = nullptr;
|
mCallback = nullptr;
|
||||||
} else {
|
} else {
|
||||||
@ -2315,7 +2312,7 @@ diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestPars
|
|||||||
diff --git a/xpcom/components/moz.build b/xpcom/components/moz.build
|
diff --git a/xpcom/components/moz.build b/xpcom/components/moz.build
|
||||||
--- a/xpcom/components/moz.build
|
--- a/xpcom/components/moz.build
|
||||||
+++ b/xpcom/components/moz.build
|
+++ b/xpcom/components/moz.build
|
||||||
@@ -44,12 +44,13 @@ LOCAL_INCLUDES += [
|
@@ -66,14 +66,15 @@ LOCAL_INCLUDES += [
|
||||||
'!..',
|
'!..',
|
||||||
'../base',
|
'../base',
|
||||||
'../build',
|
'../build',
|
||||||
@ -2329,6 +2326,8 @@ diff --git a/xpcom/components/moz.build b/xpcom/components/moz.build
|
|||||||
|
|
||||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
||||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||||
|
|
||||||
|
include('/ipc/chromium/chromium-config.mozbuild')
|
||||||
diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp
|
diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp
|
||||||
--- a/xpcom/io/nsLocalFileUnix.cpp
|
--- a/xpcom/io/nsLocalFileUnix.cpp
|
||||||
+++ b/xpcom/io/nsLocalFileUnix.cpp
|
+++ b/xpcom/io/nsLocalFileUnix.cpp
|
||||||
|
@ -9,7 +9,7 @@ retrieving revision 1.1
|
|||||||
diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
||||||
--- a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
--- a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
||||||
+++ b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
+++ b/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp
|
||||||
@@ -55,24 +55,27 @@ NS_IMETHODIMP
|
@@ -57,25 +57,27 @@ NS_IMETHODIMP
|
||||||
nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
|
nsUnixSystemProxySettings::GetMainThreadOnly(bool* aMainThreadOnly) {
|
||||||
// dbus prevents us from being threadsafe, but this routine should not block
|
// dbus prevents us from being threadsafe, but this routine should not block
|
||||||
// anyhow
|
// anyhow
|
||||||
@ -17,7 +17,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
nsresult nsUnixSystemProxySettings::Init() {
|
void nsUnixSystemProxySettings::Init() {
|
||||||
- mGSettings = do_GetService(NS_GSETTINGSSERVICE_CONTRACTID);
|
- mGSettings = do_GetService(NS_GSETTINGSSERVICE_CONTRACTID);
|
||||||
- if (mGSettings) {
|
- if (mGSettings) {
|
||||||
- mGSettings->GetCollectionForSchema(
|
- mGSettings->GetCollectionForSchema(
|
||||||
@ -26,6 +26,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
- }
|
- }
|
||||||
- if (!mProxySettings) {
|
- if (!mProxySettings) {
|
||||||
- mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
|
- mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
|
||||||
|
- }
|
||||||
+ // only use GSettings if that is a GNOME session
|
+ // only use GSettings if that is a GNOME session
|
||||||
+ const char* sessionType = PR_GetEnv("DESKTOP_SESSION");
|
+ const char* sessionType = PR_GetEnv("DESKTOP_SESSION");
|
||||||
+ if (sessionType && !strcmp(sessionType, "gnome")) {
|
+ if (sessionType && !strcmp(sessionType, "gnome")) {
|
||||||
@ -37,11 +38,11 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
|||||||
+ if (!mProxySettings) {
|
+ if (!mProxySettings) {
|
||||||
+ mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
|
+ mGConf = do_GetService(NS_GCONFSERVICE_CONTRACTID);
|
||||||
+ }
|
+ }
|
||||||
}
|
|
||||||
|
|
||||||
return NS_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool nsUnixSystemProxySettings::IsProxyMode(const char* aMode) {
|
bool nsUnixSystemProxySettings::IsProxyMode(const char* aMode) {
|
||||||
nsAutoCString mode;
|
nsAutoCString mode;
|
||||||
return NS_SUCCEEDED(mGConf->GetString(
|
return NS_SUCCEEDED(mGConf->GetString(
|
||||||
|
NS_LITERAL_CSTRING("/system/proxy/mode"), mode)) &&
|
||||||
|
mode.EqualsASCII(aMode);
|
||||||
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
REV=96d2576eae4b
|
REV=2a7896ba9aa5d982abe01f859d771d411fda8101
|
||||||
REPO=http://hg.mozilla.org/releases/mozilla-release
|
REPO=http://hg.mozilla.org/releases/mozilla-release
|
||||||
|
Loading…
Reference in New Issue
Block a user