aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-04-04 05:00:23 +0800
committerChristian Persch <chpe@src.gnome.org>2008-04-04 05:00:23 +0800
commit18325ac0850ff053477580b448fc6d1b7f21afa8 (patch)
tree95601b4b872d95ec4fed73d46835639ffbc159a3 /data
parentc0267b1c65c216a3f1e4743be20b7175ac903b50 (diff)
downloadgsoc2013-epiphany-18325ac0850ff053477580b448fc6d1b7f21afa8.tar.gz
gsoc2013-epiphany-18325ac0850ff053477580b448fc6d1b7f21afa8.tar.zst
gsoc2013-epiphany-18325ac0850ff053477580b448fc6d1b7f21afa8.zip
Exorcise gecko configure & build stuff
svn path=/trunk/; revision=8183
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am22
-rw-r--r--data/chrome/Makefile.am31
-rw-r--r--data/chrome/about.xhtml99
-rw-r--r--data/chrome/app-chrome.manifest.in4
-rw-r--r--data/chrome/brand.dtd.in7
-rw-r--r--data/chrome/brand.properties.in4
-rw-r--r--data/chrome/netError.dtd9
-rw-r--r--data/default-prefs-common.js173
-rw-r--r--data/weasel-ua-pref.js.in6
9 files changed, 2 insertions, 353 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index f6f9fb124..fbafbacdf 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,27 +1,11 @@
-SUBDIRS = art chrome glade icons ui
+
+SUBDIRS = art glade icons ui
@INTLTOOL_SERVER_RULE@
@INTLTOOL_DESKTOP_RULE@
@INTLTOOL_SCHEMAS_RULE@
@INTLTOOL_XML_RULE@
-default_prefs_in_FILES = \
- default-prefs-common.js
-
-default_prefs_files = \
- default-prefs-common.js
-
-
-if HAVE_XULRUNNER
-default_prefs_files += weasel-ua-pref.js
-endif
-
-default-prefs.js: $(default_prefs_files)
- cat $^ > $@
-
-default_prefsdir = $(pkgdatadir)
-default_prefs_DATA = default-prefs.js
-
desktop_in_files = epiphany.desktop.in.in bme.desktop.in.in
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
@@ -79,7 +63,6 @@ EXTRA_DIST = \
$(about_DATA) \
$(mimepermission_DATA) \
$(pkgconfig_DATA) \
- $(default_prefs_in_FILES) \
$(xsl_DATA) \
$(service_DATA) \
$(m4data_DATA) \
@@ -91,5 +74,4 @@ DISTCLEANFILES = \
$(service_DATA) \
$(schema_in_files:.schemas.in=.schemas) \
$(pkgconfig_DATA) \
- $(default_prefs_DATA) \
$(desktop_DATA)
diff --git a/data/chrome/Makefile.am b/data/chrome/Makefile.am
deleted file mode 100644
index 04c575340..000000000
--- a/data/chrome/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-manifestdir = $(pkgdatadir)/chrome
-manifest_in_files = app-chrome.manifest.in
-manifest_DATA = $(manifest_in_files:.manifest.in=.manifest)
-
-%.manifest: %.manifest.in
- @sed -e "s!@CHROMEDIR@!$(pkgdatadir)/chrome!g" $< > $@
-
-brandingdir = $(manifestdir)/branding
-branding_in_files = \
- brand.dtd.in \
- brand.properties.in
-branding_DATA = $(branding_in_files:%.in=%)
-
-globalchromedir = $(manifestdir)/global
-globalchrome_DATA = about.xhtml
-
-if HAVE_GECKO_1_9
-globalchrome_DATA += netError.dtd
-endif
-
-EXTRA_DIST = \
- $(manifest_in_files) \
- $(branding_in_files) \
- $(globalchrome_DATA)
-
-CLEANFILES = \
- $(manifest_DATA)
-
-DISTCLEANFILES = \
- $(manifest_DATA) \
- $(branding_DATA)
diff --git a/data/chrome/about.xhtml b/data/chrome/about.xhtml
deleted file mode 100644
index 664d46126..000000000
--- a/data/chrome/about.xhtml
+++ /dev/null
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" [
-<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
-%brandDTD;
-]>
-
-<!-- ***** BEGIN LICENSE BLOCK *****
- - Version: MPL 1.1/GPL 2.0/LGPL 2.1
- -
- - The contents of this file are subject to the Mozilla Public License Version
- - 1.1 (the "License"); you may not use this file except in compliance with
- - the License. You may obtain a copy of the License at
- - http://www.mozilla.org/MPL/
- -
- - Software distributed under the License is distributed on an "AS IS" basis,
- - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- - for the specific language governing rights and limitations under the
- - License.
- -
- - The Original Code is Mozilla Communicator client code, released
- - March 31, 1998.
- -
- - The Initial Developer of the Original Code is
- - Netscape Communications Corporation.
- - Portions created by the Initial Developer are Copyright © 1998-1999
- - the Initial Developer. All Rights Reserved.
- -
- - Contributor(s):
- - Henrik Gemal <mozilla@gemal.dk>
- - Daniel Veditz <dveditz@netscape.com>
- - Alexey Chernyak <alexeyc@bigfoot.com>
- - Crispin Flowerday <crispin@gnome.org>
- -
- - Alternatively, the contents of this file may be used under the terms of
- - either the GNU General Public License Version 2 or later (the "GPL"), or
- - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- - in which case the provisions of the GPL or the LGPL are applicable instead
- - of those above. If you wish to allow use of your version of this file only
- - under the terms of either the GPL or the LGPL, and not to allow others to
- - use your version of this file under the terms of the MPL, indicate your
- - decision by deleting the provisions above and replace them with the notice
- - and other provisions required by the GPL or the LGPL. If you do not delete
- - the provisions above, a recipient may use your version of this file under
- - the terms of any one of the MPL, the GPL or the LGPL.
- -
- - ***** END LICENSE BLOCK ***** -->
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>About:</title>
-<style type="text/css">
-img {
- border: 0;
-}
-p {
- font-size: smaller;
-}
-h1 {
- margin: 0;
-}
-:link {
- color: #00e;
-}
-:visited {
- color: #551a8b;
-}
-:link:active, :visited:active {
- color: #f00;
-}
-</style>
-</head>
-<body>
-
-<div id="mozinfo" align="center">
-<a href="&releaseURL;">
-<img src="moz-icon://stock/gnome-web-browser?size=dialog" alt="&brandShortName;"/></a>
-
-<h1>
-<a id="mozlink" href="&releaseURL;">&brandShortName; &brandVersion;</a>
-</h1>
-<script type="application/x-javascript">
- // using try..catch to handle empty useragents and other cases where the regex fails to apply
- try {
- document.getElementById("mozinfo").appendChild(document.createTextNode(navigator.userAgent));
- }
- catch (e) {}
-</script>
-</div>
-<hr />
-
-<ul>
-<li>Copyright &copy; 2002-2004 Marco Pesenti Gritti</li>
-<li>Copyright &copy; 2003-2007 The GNOME Web Browser Developers</li>
-</ul>
-
-</body>
-</html>
diff --git a/data/chrome/app-chrome.manifest.in b/data/chrome/app-chrome.manifest.in
deleted file mode 100644
index 150f691ea..000000000
--- a/data/chrome/app-chrome.manifest.in
+++ /dev/null
@@ -1,4 +0,0 @@
-override chrome://branding/locale/brand.properties file://@CHROMEDIR@/branding/brand.properties
-override chrome://branding/locale/brand.dtd file://@CHROMEDIR@/branding/brand.dtd
-override chrome://global/content/about.xhtml file://@CHROMEDIR@/global/about.xhtml
-override chrome://global/locale/netErrorApp.dtd file://@CHROMEDIR@/global/netError.dtd
diff --git a/data/chrome/brand.dtd.in b/data/chrome/brand.dtd.in
deleted file mode 100644
index c048a7d17..000000000
--- a/data/chrome/brand.dtd.in
+++ /dev/null
@@ -1,7 +0,0 @@
-<!ENTITY brandShortName "Epiphany">
-<!ENTITY brandFullName "Epiphany @VERSION@">
-<!ENTITY vendorShortName "GNOME">
-<!ENTITY brandVersion "@VERSION@">
-
-<!ENTITY releaseURL "http://www.gnome.org/projects/epiphany/">
-<!ENTITY releaseBaseURL "http://www.gnome.org/projects/epiphany/">
diff --git a/data/chrome/brand.properties.in b/data/chrome/brand.properties.in
deleted file mode 100644
index 2b5fb3f9b..000000000
--- a/data/chrome/brand.properties.in
+++ /dev/null
@@ -1,4 +0,0 @@
-brandShortName=Epiphany
-brandFullName=Epiphany @VERSION@
-vendorShortName=GNOME
-brandVersion=@VERSION@
diff --git a/data/chrome/netError.dtd b/data/chrome/netError.dtd
deleted file mode 100644
index 82fe3b1a8..000000000
--- a/data/chrome/netError.dtd
+++ /dev/null
@@ -1,9 +0,0 @@
-<!ENTITY securityOverride.linkText "Or you can add an exception…">
-<!ENTITY securityOverride.getMeOutOfHereButton "Get me out of here!">
-<!ENTITY securityOverride.exceptionButtonLabel "Add Exception…">
-
-<!ENTITY securityOverride.warningText "
-<p>You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.</p>
-
-<xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='exceptionDialogButton' label='&securityOverride.exceptionButtonLabel;'/>
-">
diff --git a/data/default-prefs-common.js b/data/default-prefs-common.js
deleted file mode 100644
index 87b0cb9d5..000000000
--- a/data/default-prefs-common.js
+++ /dev/null
@@ -1,173 +0,0 @@
-// mouse wheel: disable mozilla's ctrl+wheel zooming, and enable our own
-// set numlines to -1 to reverse directions, see bug #306110
-pref("mousewheel.withcontrolkey.action", 0);
-// NOTE! on gecko 1.9 we must set this to 1, see https://bugzilla.mozilla.org/show_bug.cgi?id=141476
-pref("mousewheel.withcontrolkey.numlines", -1);
-pref("mousewheel.withcontrolkey.sysnumlines", false);
-
-// fix horizontal scroll with 2nd wheel, see bug #148557
-pref("mousewheel.horizscroll.withnokey.action", 0);
-pref("mousewheel.horizscroll.withnokey.sysnumlines", true);
-
-// don't allow opening file:/// URLs on pages from network sources (http, etc.)
-pref("security.checkloaduri", true);
-
-// enable line wrapping in View Source
-pref("view_source.wrap_long_lines", true);
-
-// disable sidebar What's Related, we don't use it
-pref("browser.related.enabled", false);
-
-// Work around for mozilla focus bugs
-pref("mozilla.widget.raise-on-setfocus", false);
-
-// ftp
-pref("advanced.mailftp", false);
-// disable sucky XUL ftp view, have nice ns4-like html page instead
-pref("network.dir.generate_html", true);
-
-// deactivate mailcap support, it breaks Gnome-based helper apps
-pref("helpers.global_mailcap_file", "");
-pref("helpers.private_mailcap_file", "");
-
-// use the mozilla defaults for mime.types files to let mozilla guess proper
-// Content-Type for file uploads instead of always falling back to
-// application/octet-stream
-pref("helpers.global_mime_types_file", "");
-pref("helpers.private_mime_types_file", "");
-
-// enable keyword search
-pref("keyword.enabled", true);
-
-// disable usless security warnings
-pref("security.warn_entering_secure", false);
-pref("security.warn_entering_secure.show_once", true);
-pref("security.warn_leaving_secure", false);
-pref("security.warn_leaving_secure.show_once", false);
-pref("security.warn_submit_insecure", false);
-pref("security.warn_submit_insecure.show_once", false);
-pref("security.warn_viewing_mixed", true);
-pref("security.warn_viewing_mixed.show_once", false);
-pref("security.warn_entering_weak", true);
-pref("security.warn_entering_weak.show_once", false);
-
-// always ask which client cert to use
-pref("security.default_personal_cert", "Ask Every Time");
-
-// fonts
-pref("font.size.unit", "pt");
-
-// protocols
-pref("network.protocol-handler.external.ftp", false);
-pref("network.protocol-handler.external.irc", true);
-pref("network.protocol-handler.external.mailto", true);
-pref("network.protocol-handler.external.news", true);
-pref("network.protocol-handler.external.nntp", true);
-pref("network.protocol-handler.external.snews", true);
-pref("network.protocol-handler.external.webcal", true);
-// but don't show warnings for these
-pref("network.protocol-handler.warn-external.irc", false);
-pref("network.protocol-handler.warn-external.mailto", false);
-pref("network.protocol-handler.warn-external.news", false);
-pref("network.protocol-handler.warn-external.nntp", false);
-pref("network.protocol-handler.warn-external.snews", false);
-pref("network.protocol-handler.warn-external.webcal", false);
-
-// don't warn
-pref("network.protocol-handler.warn-external.rtsp", false);
-pref("network.protocol-handler.warn-external.mms", false);
-pref("network.protocol-handler.warn-external.mmsh", false);
-
-// disable xpinstall
-pref("xpinstall.enabled", false);
-
-// enable plugin finder
-pref("plugin.default_plugin_disabled", true);
-
-// enable locale matching
-pref("intl.locale.matchOS", true);
-
-// enable fixed-up typeaheadfind extension
-pref("accessibility.typeaheadfindsea", false);
-pref("accessibility.typeaheadfindsea.autostart", true);
-pref("accessibility.typeaheadfindsea.linksonly", true);
-
-// disable image resizing
-pref("browser.enable_automatic_image_resizing", false);
-
-// enable password manager
-// need to include those prefs since xulrunner doesn't include them
-pref("signon.rememberSignons", true);
-pref("signon.expireMasterPassword", false);
-pref("signon.SignonFileName", "signons.txt");
-pref("signon.SignonFileName2", "signons2.txt");
-pref("signon.autofillForms", true);
-
-// use system colours
-pref("browser.display.use_system_colors", true);
-
-// explicitly enable error pages (xulrunner is missing this pref)
-pref("browser.xul.error_pages.enabled", true);
-
-// unset weird xulrunner default UA string
-pref("general.useragent.extra.simple", "");
-pref("general.useragent.vendor", "");
-pref("general.useragent.vendorComment", "");
-pref("general.useragent.vendorSub", "");
-
-// we don't want ping(uin)s
-pref("browser.send_pings", false);
-pref("browser.send_pings.require_same_host", true);
-
-// disable blink tags
-pref("browser.blink_allowed", false);
-
-// enable spatial navigation (only works if the extension is built with gecko)
-pref("snav.enabled", true);
-
-// don't leak UI language, and don't default to "en-US"
-pref("general.useragent.locale", "en");
-
-// spellcheck
-// pref("extensions.spellcheck.inline.max-misspellings", -1);
-// 0: disabled, 1: only textareas, 2: check textareas and single-line input fields
-pref("layout.spellcheckDefault", 0);
-pref("spellchecker.dictionary", "");
-
-// print settings
-pref("print.print_printer", "PostScript/default");
-pref("print.use_global_printsettings", false);
-pref("print.save_print_settings", false);
-pref("print.show_print_progress", true);
-pref("print.printer_list", "");
-pref("print.postscript.enabled", true);
-pref("print.postscript.cups.enabled", false);
-// deactivate PAPI too (will be added in https://bugzilla.mozilla.org/show_bug.cgi?id=317450)
-pref("print.postscript.papi.enabled", false);
-
-// print margins used for the page header and footer, measured in hundredths of an inch
-// see http://bugzilla.gnome.org/show_bug.cgi?id=346110
-pref("print.printer_PostScript/default.print_edge_bottom", 15);
-pref("print.printer_PostScript/default.print_edge_left", 15);
-pref("print.printer_PostScript/default.print_edge_right", 15);
-pref("print.printer_PostScript/default.print_edge_top", 15);
-
-// sites stealthly storing unlimited amount of data? no thanks
-pref("dom.storage.enabled", false);
-
-// warn about about:config
-pref("general.warnOnAboutConfig", false);
-
-// enable negotiate extension
-pref("network.negotiate-auth.trusted-uris", "https://");
-
-// JS annoyances
-pref("dom.disable_window_flip", true);
-
-// Whether delete and backspace should immediately delete characters not
-// visually adjacent to the caret, or adjust the visual position of the caret
-// on the first keypress and delete the character on a second keypress
-// (added in bug https://bugzilla.mozilla.org/show_bug.cgi?id=328834)
-// set to true for parity with gtk entries
-pref("bidi.edit.delete_immediately", true);
-
diff --git a/data/weasel-ua-pref.js.in b/data/weasel-ua-pref.js.in
deleted file mode 100644
index 475d52cd8..000000000
--- a/data/weasel-ua-pref.js.in
+++ /dev/null
@@ -1,6 +0,0 @@
-// Add "Firefox/@WEASEL_UA_VERSION@" to the UA. This fixes
-// [https://bugzilla.mozilla.org/show_bug.cgi?id=334967]
-// Same as Camino [https://bugzilla.mozilla.org/show_bug.cgi?id=384721] and
-// IceApe [https://bugzilla.mozilla.org/show_bug.cgi?id=386113] do.
-// Also see discussion on [https://bugzilla.mozilla.org/show_bug.cgi?id=385999].
-pref("general.useragent.extra.firefox", "Firefox/@WEASEL_UA_VERSION@");