mirror of
https://abf.rosa.ru/djam/firefox-esr78.git
synced 2025-02-23 17:52:46 +00:00
Updated to 70.0
This commit is contained in:
parent
a10d2cd20d
commit
90168896e3
6 changed files with 36 additions and 109 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,4 +1,4 @@
|
||||||
sources:
|
sources:
|
||||||
cbindgen-vendor.tar.xz: f661af3f8e6a52af8f0bc206987134e66b449fe0
|
cbindgen-vendor.tar.xz: f661af3f8e6a52af8f0bc206987134e66b449fe0
|
||||||
firefox-69.0.3.source.tar.xz: a1ae50dd7a7cf17f28a4e7a88d87e25050b977b3
|
firefox-70.0.source.tar.xz: 7eccef97655ad8b127213923bfd97401d6a17836
|
||||||
firefox-dictionary-61.0.2.tar.bz2: 25929c585dc8568a32d5be49aacc672f0ed2202f
|
firefox-dictionary-61.0.2.tar.bz2: 25929c585dc8568a32d5be49aacc672f0ed2202f
|
||||||
|
|
|
@ -32,9 +32,9 @@
|
||||||
--- firefox-61.0/layout/base/nsPresContext.h.orig 2018-06-26 23:51:02.000000000 +0300
|
--- firefox-61.0/layout/base/nsPresContext.h.orig 2018-06-26 23:51:02.000000000 +0300
|
||||||
+++ firefox-61.0/layout/base/nsPresContext.h 2018-06-27 00:03:52.872210766 +0300
|
+++ firefox-61.0/layout/base/nsPresContext.h 2018-06-27 00:03:52.872210766 +0300
|
||||||
@@ -39,11 +39,11 @@
|
@@ -39,11 +39,11 @@
|
||||||
#include "mozilla/MemoryReporting.h"
|
|
||||||
#include "mozilla/TimeStamp.h"
|
#include "mozilla/TimeStamp.h"
|
||||||
#include "mozilla/AppUnits.h"
|
#include "mozilla/AppUnits.h"
|
||||||
|
#include "mozilla/MediaEmulationData.h"
|
||||||
-#include "prclist.h"
|
-#include "prclist.h"
|
||||||
+#include "nspr4/prclist.h"
|
+#include "nspr4/prclist.h"
|
||||||
#include "nsThreadUtils.h"
|
#include "nsThreadUtils.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Date 1559300151 -7200
|
# Date 1559300151 -7200
|
||||||
# Fri May 31 12:55:51 2019 +0200
|
# Fri May 31 12:55:51 2019 +0200
|
||||||
# Node ID 54d41b0033b8d649d842a1f862c6fed8b9874dec
|
# Node ID 54d41b0033b8d649d842a1f862c6fed8b9874dec
|
||||||
# Parent 28bde69150771a1530f784903bf68214dd5790ea
|
# Parent 4faaad3619f286bd6077754d8e59d339a5142b80
|
||||||
How to apply this patch:
|
How to apply this patch:
|
||||||
1. Import and apply it
|
1. Import and apply it
|
||||||
2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul
|
2. cp browser/base/content/browser.xul browser/base/content/browser-kde.xul
|
||||||
|
@ -14,7 +14,7 @@ How to apply this patch:
|
||||||
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
|
||||||
@@ -339,16 +339,23 @@ var gMainPane = {
|
@@ -341,16 +341,23 @@ var gMainPane = {
|
||||||
}, backoffTimes[this._backoffIndex + 1 < backoffTimes.length ? this._backoffIndex++ : backoffTimes.length - 1]);
|
}, backoffTimes[this._backoffIndex + 1 < backoffTimes.length ? this._backoffIndex++ : backoffTimes.length - 1]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ diff --git a/browser/components/preferences/in-content/main.js b/browser/compone
|
||||||
);
|
);
|
||||||
let performanceSettingsUrl =
|
let performanceSettingsUrl =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
@@ -1146,16 +1153,27 @@ var gMainPane = {
|
@@ -1199,16 +1206,27 @@ var gMainPane = {
|
||||||
this._backoffIndex = 0;
|
this._backoffIndex = 0;
|
||||||
|
|
||||||
let shellSvc = getShellService();
|
let shellSvc = getShellService();
|
||||||
|
@ -71,7 +71,7 @@ diff --git a/browser/components/shell/moz.build b/browser/components/shell/moz.b
|
||||||
+++ b/browser/components/shell/moz.build
|
+++ b/browser/components/shell/moz.build
|
||||||
@@ -28,16 +28,18 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'coco
|
@@ -28,16 +28,18 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'coco
|
||||||
]
|
]
|
||||||
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||||
XPIDL_SOURCES += [
|
XPIDL_SOURCES += [
|
||||||
'nsIGNOMEShellService.idl',
|
'nsIGNOMEShellService.idl',
|
||||||
]
|
]
|
||||||
|
@ -92,7 +92,7 @@ diff --git a/browser/components/shell/nsKDEShellService.cpp b/browser/components
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/browser/components/shell/nsKDEShellService.cpp
|
+++ b/browser/components/shell/nsKDEShellService.cpp
|
||||||
@@ -0,0 +1,150 @@
|
@@ -0,0 +1,103 @@
|
||||||
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||||
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
+/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
@ -196,53 +196,6 @@ new file mode 100644
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
+ return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::OpenApplication(PRInt32 aApplication)
|
|
||||||
+{
|
|
||||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
|
||||||
+ if (!command)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsISupportsCString> str = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ if (!str)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ if( aApplication == APPLICATION_MAIL )
|
|
||||||
+ str->SetData( NS_LITERAL_CSTRING( "OPENMAIL" ));
|
|
||||||
+ else if( aApplication == APPLICATION_NEWS )
|
|
||||||
+ str->SetData( NS_LITERAL_CSTRING( "OPENNEWS" ));
|
|
||||||
+ else
|
|
||||||
+ return NS_ERROR_NOT_IMPLEMENTED;
|
|
||||||
+
|
|
||||||
+ command->AppendElement( str );
|
|
||||||
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+NS_IMETHODIMP
|
|
||||||
+nsKDEShellService::OpenApplicationWithURI(nsIFile* aApplication, const nsACString& aURI)
|
|
||||||
+{
|
|
||||||
+ nsCOMPtr<nsIMutableArray> command = do_CreateInstance( NS_ARRAY_CONTRACTID );
|
|
||||||
+ if (!command)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ nsCOMPtr<nsISupportsCString> cmdstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ nsCOMPtr<nsISupportsCString> appstr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ nsCOMPtr<nsISupportsCString> uristr = do_CreateInstance( NS_SUPPORTS_CSTRING_CONTRACTID );
|
|
||||||
+ if (!cmdstr || !appstr || !uristr)
|
|
||||||
+ return NS_ERROR_FAILURE;
|
|
||||||
+
|
|
||||||
+ cmdstr->SetData( NS_LITERAL_CSTRING( "RUN" ));
|
|
||||||
+ command->AppendElement( cmdstr );
|
|
||||||
+ nsAutoCString app;
|
|
||||||
+ nsresult rv = aApplication->GetNativePath( app );
|
|
||||||
+ NS_ENSURE_SUCCESS( rv, rv );
|
|
||||||
+ appstr->SetData( app );
|
|
||||||
+ command->AppendElement( appstr );
|
|
||||||
+ uristr->SetData( aURI );
|
|
||||||
+ command->AppendElement( uristr );
|
|
||||||
+ return nsKDEUtils::command( command ) ? NS_OK : NS_ERROR_FAILURE;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/shell/nsKDEShellService.h
|
diff --git a/browser/components/shell/nsKDEShellService.h b/browser/components/shell/nsKDEShellService.h
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
|
@ -327,25 +280,3 @@ new file mode 100644
|
||||||
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);
|
+nsUnixShellServiceConstructor(nsISupports *aOuter, REFNSIID aIID, void **aResult);
|
||||||
+
|
+
|
||||||
+#endif // nsunixshellservice_h____
|
+#endif // nsunixshellservice_h____
|
||||||
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
|
|
||||||
@@ -295,16 +295,18 @@
|
|
||||||
@RESPATH@/browser/defaults/settings/main
|
|
||||||
@RESPATH@/browser/defaults/settings/security-state
|
|
||||||
|
|
||||||
; Warning: changing the path to channel-prefs.js can cause bugs (Bug 756325)
|
|
||||||
; Technically this is an app pref file, but we are keeping it in the original
|
|
||||||
; gre location for now.
|
|
||||||
@RESPATH@/defaults/pref/channel-prefs.js
|
|
||||||
|
|
||||||
+@RESPATH@/defaults/pref/kde.js
|
|
||||||
+
|
|
||||||
; Services (gre) prefs
|
|
||||||
@RESPATH@/defaults/pref/services-sync.js
|
|
||||||
|
|
||||||
; [Layout Engine Resources]
|
|
||||||
; Style Sheets, Graphics and other Resources used by the layout engine.
|
|
||||||
@RESPATH@/res/EditorOverride.css
|
|
||||||
@RESPATH@/res/contenteditable.css
|
|
||||||
@RESPATH@/res/designmode.css
|
|
||||||
|
|
17
firefox.spec
17
firefox.spec
|
@ -10,7 +10,7 @@
|
||||||
# This also means only STABLE upstream releases, NO betas.
|
# This also means only STABLE upstream releases, NO betas.
|
||||||
# This is a discussed topic. Please, do not flame it again.
|
# This is a discussed topic. Please, do not flame it again.
|
||||||
|
|
||||||
%define major 69.0.3
|
%define major 70.0
|
||||||
%define ff_epoch 0
|
%define ff_epoch 0
|
||||||
# (tpg) set version HERE !!!
|
# (tpg) set version HERE !!!
|
||||||
%define realver %{major}
|
%define realver %{major}
|
||||||
|
@ -227,27 +227,24 @@ pushd security/nss/lib/ckfw/builtins
|
||||||
perl ./certdata.perl /etc/pki/tls/mozilla/certdata.txt
|
perl ./certdata.perl /etc/pki/tls/mozilla/certdata.txt
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%build
|
||||||
%if 0%{?use_bundled_cbindgen}
|
%if 0%{?use_bundled_cbindgen}
|
||||||
mkdir -p my_rust_vendor
|
mkdir -p my_rust_vendor
|
||||||
cd my_rust_vendor
|
cd my_rust_vendor
|
||||||
tar xf %{SOURCE12}
|
%{__tar} xf %{SOURCE12}
|
||||||
cd -
|
|
||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
cat > .cargo/config <<EOL
|
cat > .cargo/config <<EOL
|
||||||
[source.crates-io]
|
[source.crates-io]
|
||||||
replace-with = "vendored-sources"
|
replace-with = "vendored-sources"
|
||||||
|
|
||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = "`pwd`/my_rust_vendor"
|
directory = "`pwd`"
|
||||||
EOL
|
EOL
|
||||||
|
|
||||||
env CARGO_HOME=.cargo cargo install cbindgen
|
env CARGO_HOME=.cargo cargo install cbindgen
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
|
||||||
%if 0%{?use_bundled_cbindgen}
|
|
||||||
export PATH=`pwd`/.cargo/bin:$PATH
|
export PATH=`pwd`/.cargo/bin:$PATH
|
||||||
%endif
|
%endif
|
||||||
|
cd -
|
||||||
|
|
||||||
export RUSTFLAGS="-Cdebuginfo=0"
|
export RUSTFLAGS="-Cdebuginfo=0"
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ diff -urN firefox-58.0-orig/browser/components/shell/nsKDEShellService.cpp firef
|
||||||
NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService)
|
NS_IMPL_ISUPPORTS(nsKDEShellService, nsIGNOMEShellService, nsIShellService)
|
||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
@@ -89,19 +127,82 @@
|
@@ -124,18 +124,81 @@
|
||||||
int32_t aPosition,
|
int32_t aPosition,
|
||||||
const nsACString& aImageName)
|
const nsACString& aImageName)
|
||||||
{
|
{
|
||||||
|
@ -138,4 +138,3 @@ diff -urN firefox-58.0-orig/browser/components/shell/nsKDEShellService.cpp firef
|
||||||
+ return NS_OK;
|
+ return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Date 1559294891 -7200
|
# Date 1559294891 -7200
|
||||||
# Fri May 31 11:28:11 2019 +0200
|
# Fri May 31 11:28:11 2019 +0200
|
||||||
# Node ID c2aa7198fb925e7fde96abf65b6f68b9b755f112
|
# Node ID c2aa7198fb925e7fde96abf65b6f68b9b755f112
|
||||||
# Parent 85e4798b74da9c377f84cf8f5dd59a7f952d92eb
|
# Parent 86d7ace0b36abf542e56fbb702a5f9b308b9bf77
|
||||||
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>
|
||||||
|
@ -13,7 +13,7 @@ Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=140751
|
||||||
diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
||||||
--- a/modules/libpref/Preferences.cpp
|
--- a/modules/libpref/Preferences.cpp
|
||||||
+++ b/modules/libpref/Preferences.cpp
|
+++ b/modules/libpref/Preferences.cpp
|
||||||
@@ -83,16 +83,17 @@
|
@@ -88,16 +88,17 @@
|
||||||
#include "nsXPCOM.h"
|
#include "nsXPCOM.h"
|
||||||
#include "nsXULAppAPI.h"
|
#include "nsXULAppAPI.h"
|
||||||
#include "nsZipArchive.h"
|
#include "nsZipArchive.h"
|
||||||
|
@ -31,7 +31,7 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
||||||
#ifdef MOZ_MEMORY
|
#ifdef MOZ_MEMORY
|
||||||
# include "mozmemory.h"
|
# include "mozmemory.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -4623,25 +4624,37 @@ Result<Ok, const char*> Preferences::Ini
|
@@ -4542,25 +4543,37 @@ nsresult Preferences::InitInitialObjects
|
||||||
// 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)
|
||||||
|
@ -69,7 +69,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.
|
||||||
@@ -4688,17 +4701,17 @@ Result<Ok, const char*> Preferences::Ini
|
@@ -4606,17 +4619,17 @@ nsresult Preferences::InitInitialObjects
|
||||||
}
|
}
|
||||||
|
|
||||||
nsCOMPtr<nsIFile> path = do_QueryInterface(elem);
|
nsCOMPtr<nsIFile> path = do_QueryInterface(elem);
|
||||||
|
@ -91,9 +91,9 @@ diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp
|
||||||
diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build
|
diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build
|
||||||
--- a/modules/libpref/moz.build
|
--- a/modules/libpref/moz.build
|
||||||
+++ b/modules/libpref/moz.build
|
+++ b/modules/libpref/moz.build
|
||||||
@@ -31,16 +31,20 @@ EXPORTS.mozilla += [
|
@@ -110,16 +110,20 @@ EXPORTS.mozilla += [
|
||||||
'StaticPrefs.h',
|
|
||||||
]
|
]
|
||||||
|
EXPORTS.mozilla += sorted(['!' + g for g in gen_h])
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
'Preferences.cpp',
|
'Preferences.cpp',
|
||||||
|
@ -104,13 +104,13 @@ diff --git a/modules/libpref/moz.build b/modules/libpref/moz.build
|
||||||
+ '/toolkit/xre'
|
+ '/toolkit/xre'
|
||||||
+]
|
+]
|
||||||
+
|
+
|
||||||
XPCOM_MANIFESTS += [
|
gen_all_tuple = tuple(gen_h + gen_cpp + gen_rs)
|
||||||
'components.conf',
|
|
||||||
]
|
|
||||||
|
|
||||||
include('/ipc/chromium/chromium-config.mozbuild')
|
GENERATED_FILES += [gen_all_tuple]
|
||||||
|
|
||||||
FINAL_LIBRARY = 'xul'
|
static_pref_list = GENERATED_FILES[gen_all_tuple]
|
||||||
|
static_pref_list.script = 'init/generate_static_pref_list.py:emit_code'
|
||||||
|
static_pref_list.inputs = ['init/StaticPrefList.yaml']
|
||||||
|
|
||||||
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
|
||||||
|
@ -175,7 +175,7 @@ diff --git a/toolkit/components/downloads/moz.build b/toolkit/components/downloa
|
||||||
diff --git a/toolkit/mozapps/downloads/HelperAppDlg.jsm b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
diff --git a/toolkit/mozapps/downloads/HelperAppDlg.jsm b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
--- a/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
--- a/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
+++ b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
+++ b/toolkit/mozapps/downloads/HelperAppDlg.jsm
|
||||||
@@ -1204,36 +1204,66 @@ nsUnknownContentTypeDialog.prototype = {
|
@@ -1199,36 +1199,66 @@ nsUnknownContentTypeDialog.prototype = {
|
||||||
params.handlerApp &&
|
params.handlerApp &&
|
||||||
params.handlerApp.executable &&
|
params.handlerApp.executable &&
|
||||||
params.handlerApp.executable.isFile()
|
params.handlerApp.executable.isFile()
|
||||||
|
@ -302,7 +302,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
|
||||||
@@ -382,21 +385,50 @@ nsresult nsUnixSystemProxySettings::GetP
|
@@ -381,21 +384,50 @@ nsresult nsUnixSystemProxySettings::GetP
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ diff --git a/toolkit/system/unixproxy/nsUnixSystemProxySettings.cpp b/toolkit/sy
|
||||||
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
|
||||||
@@ -83,17 +83,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co
|
@@ -85,17 +85,19 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'co
|
||||||
'../components/printingui',
|
'../components/printingui',
|
||||||
]
|
]
|
||||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit':
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit':
|
||||||
|
@ -364,7 +364,7 @@ diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
|
||||||
'nsNativeAppSupportDefault.cpp',
|
'nsNativeAppSupportDefault.cpp',
|
||||||
'UIKitDirProvider.mm',
|
'UIKitDirProvider.mm',
|
||||||
]
|
]
|
||||||
elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||||
+ EXPORTS += ['nsKDEUtils.h']
|
+ EXPORTS += ['nsKDEUtils.h']
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
+ 'nsKDEUtils.cpp',
|
+ 'nsKDEUtils.cpp',
|
||||||
|
@ -781,7 +781,7 @@ new file mode 100644
|
||||||
diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandler/HandlerServiceParent.cpp
|
diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandler/HandlerServiceParent.cpp
|
||||||
--- a/uriloader/exthandler/HandlerServiceParent.cpp
|
--- a/uriloader/exthandler/HandlerServiceParent.cpp
|
||||||
+++ b/uriloader/exthandler/HandlerServiceParent.cpp
|
+++ b/uriloader/exthandler/HandlerServiceParent.cpp
|
||||||
@@ -1,17 +1,17 @@
|
@@ -7,17 +7,17 @@
|
||||||
#include "mozilla/ipc/ProtocolUtils.h"
|
#include "mozilla/ipc/ProtocolUtils.h"
|
||||||
#include "mozilla/Logging.h"
|
#include "mozilla/Logging.h"
|
||||||
#include "HandlerServiceParent.h"
|
#include "HandlerServiceParent.h"
|
||||||
|
@ -800,7 +800,7 @@ diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandle
|
||||||
using mozilla::dom::RemoteHandlerApp;
|
using mozilla::dom::RemoteHandlerApp;
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
@@ -282,17 +282,17 @@ mozilla::ipc::IPCResult HandlerServicePa
|
@@ -288,17 +288,17 @@ mozilla::ipc::IPCResult HandlerServicePa
|
||||||
mozilla::ipc::IPCResult HandlerServiceParent::RecvExistsForProtocolOS(
|
mozilla::ipc::IPCResult HandlerServiceParent::RecvExistsForProtocolOS(
|
||||||
const nsCString& aProtocolScheme, bool* aHandlerExists) {
|
const nsCString& aProtocolScheme, bool* aHandlerExists) {
|
||||||
if (aProtocolScheme.Length() > MAX_SCHEME_LENGTH) {
|
if (aProtocolScheme.Length() > MAX_SCHEME_LENGTH) {
|
||||||
|
@ -819,7 +819,7 @@ diff --git a/uriloader/exthandler/HandlerServiceParent.cpp b/uriloader/exthandle
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check if a handler exists for the provided protocol. Check the datastore
|
* Check if a handler exists for the provided protocol. Check the datastore
|
||||||
@@ -311,17 +311,17 @@ mozilla::ipc::IPCResult HandlerServicePa
|
@@ -317,17 +317,17 @@ mozilla::ipc::IPCResult HandlerServicePa
|
||||||
nsCOMPtr<nsIExternalProtocolService> protoSvc =
|
nsCOMPtr<nsIExternalProtocolService> protoSvc =
|
||||||
do_GetService(NS_EXTERNALPROTOCOLSERVICE_CONTRACTID, &rv);
|
do_GetService(NS_EXTERNALPROTOCOLSERVICE_CONTRACTID, &rv);
|
||||||
if (NS_WARN_IF(NS_FAILED(rv))) {
|
if (NS_WARN_IF(NS_FAILED(rv))) {
|
||||||
|
@ -848,7 +848,7 @@ diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
|
||||||
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
||||||
CXXFLAGS += ['-Wno-error=shadow']
|
CXXFLAGS += ['-Wno-error=shadow']
|
||||||
|
|
||||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||||
UNIFIED_SOURCES += [
|
UNIFIED_SOURCES += [
|
||||||
+ 'unix/nsCommonRegistry.cpp',
|
+ 'unix/nsCommonRegistry.cpp',
|
||||||
'unix/nsGNOMERegistry.cpp',
|
'unix/nsGNOMERegistry.cpp',
|
||||||
|
@ -877,7 +877,7 @@ diff --git a/uriloader/exthandler/moz.build b/uriloader/exthandler/moz.build
|
||||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||||
CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
|
CXXFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
|
||||||
|
|
||||||
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||||
diff --git a/uriloader/exthandler/unix/nsCommonRegistry.cpp b/uriloader/exthandler/unix/nsCommonRegistry.cpp
|
diff --git a/uriloader/exthandler/unix/nsCommonRegistry.cpp b/uriloader/exthandler/unix/nsCommonRegistry.cpp
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
|
@ -1826,7 +1826,7 @@ diff --git a/xpcom/components/moz.build b/xpcom/components/moz.build
|
||||||
+ '/toolkit/xre',
|
+ '/toolkit/xre',
|
||||||
]
|
]
|
||||||
|
|
||||||
if 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk':
|
||||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||||
|
|
||||||
if CONFIG['MOZ_LAYOUT_DEBUGGER']:
|
if CONFIG['MOZ_LAYOUT_DEBUGGER']:
|
||||||
|
|
Loading…
Add table
Reference in a new issue