From f2cf6a77232a2a1032181d62dfc1e575a546fa40 Mon Sep 17 00:00:00 2001 From: "kairo%kairo.at" Date: Wed, 1 Nov 2006 17:07:23 +0000 Subject: [PATCH] bug 344243 - move suiterunner help over to toolkit help viewer (and build toolkit typeaheadfind), r=bsmedberg on configure.in change, r=Neil for the rest, sr=Neil --- configure.in | 11 +- suite/browser/browser-prefs.js | 3 + suite/common/helpSecurityOverlay.xul | 181 ++++++++++++++++++ suite/common/jar.mn | 25 ++- suite/common/utilityOverlay.xul | 35 ++++ .../en-US/chrome/common/help/suitehelp.rdf | 68 ++++--- .../en-US/chrome/common/utilityOverlay.dtd | 4 +- toolkit/components/Makefile.in | 9 +- toolkit/components/build/Makefile.in | 3 - .../components/build/nsToolkitCompsModule.cpp | 6 +- 10 files changed, 301 insertions(+), 44 deletions(-) create mode 100644 suite/common/helpSecurityOverlay.xul diff --git a/configure.in b/configure.in index 81e01dbf4f7..14f91951fce 100644 --- a/configure.in +++ b/configure.in @@ -4266,7 +4266,11 @@ suite) MOZ_SUITE=1 MOZ_PROFILESHARING= MOZ_APP_VERSION=$SEAMONKEY_VERSION - MOZ_EXTENSIONS_DEFAULT=" wallet xml-rpc help p3p venkman inspector irc typeaheadfind gnomevfs sroaming reporter" + if test "$MOZ_XUL_APP"; then + MOZ_EXTENSIONS_DEFAULT=" wallet xml-rpc p3p venkman inspector irc typeaheadfind gnomevfs sroaming reporter" + else + MOZ_EXTENSIONS_DEFAULT=" wallet xml-rpc help p3p venkman inspector irc typeaheadfind gnomevfs sroaming reporter" + fi AC_DEFINE(MOZ_SUITE) ;; @@ -5548,6 +5552,11 @@ if test -z "$MOZ_JSDEBUGGER" && test `echo "$MOZ_EXTENSIONS" | grep -c venkman` MOZ_EXTENSIONS=`echo $MOZ_EXTENSIONS | sed -e 's|venkman||'` fi +if test "$MOZ_XUL_APP" && test `echo "$MOZ_EXTENSIONS" | grep -c help` -ne 0; then + AC_MSG_WARN([Cannot build old help extension with MOZ_XUL_APP set. Removing help from MOZ_EXTENSIONS.]) + MOZ_EXTENSIONS=`echo $MOZ_EXTENSIONS | sed -e 's|help||'` +fi + dnl This might be temporary: build tridentprofile only on Windows if test `echo "$MOZ_EXTENSIONS" | grep -c tridentprofile` -ne 0 && test "$OS_ARCH" != "WINNT"; then AC_MSG_WARN([tridentprofile extension works only on Windows at this time. Removing tridentprofile from MOZ_EXTENSIONS.]) diff --git a/suite/browser/browser-prefs.js b/suite/browser/browser-prefs.js index 26f2c6a6b45..53462903ddb 100644 --- a/suite/browser/browser-prefs.js +++ b/suite/browser/browser-prefs.js @@ -199,6 +199,9 @@ pref("spellchecker.dictionaries.download.url", "https://%LOCALE%.add-ons.mozilla // 2 = check multi/single line controls pref("layout.spellcheckDefault", 1); +// special TypeAheadFind settings +pref("accessibility.typeaheadfind.flashBar", 0); + // App-specific update preferences // Whether or not app updates are enabled - false initally for SeaMonkey diff --git a/suite/common/helpSecurityOverlay.xul b/suite/common/helpSecurityOverlay.xul new file mode 100644 index 00000000000..a043f51d4c3 --- /dev/null +++ b/suite/common/helpSecurityOverlay.xul @@ -0,0 +1,181 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/suite/common/jar.mn b/suite/common/jar.mn index b0f21159e1f..1fd53ba253f 100644 --- a/suite/common/jar.mn +++ b/suite/common/jar.mn @@ -8,6 +8,28 @@ comm.jar: % overlay chrome://global/content/console.xul chrome://communicator/content/consoleOverlay.xul % overlay chrome://communicator/content/tasksOverlay.xul chrome://communicator/content/emOverlay.xul % overlay chrome://communicator/content/pref/preftree.xul chrome://pippki/content/PrefOverlay.xul +% overlay chrome://pippki/content/certManager.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/certViewer.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/changepassword.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/device_manager.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/choosetoken.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/clientauthask.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/crlImportDialog.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/deletecert.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/domainMismatch.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editcacert.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editemailcert.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/editsslcert.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/escrowWarn.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/getp12password.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/setp12password.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/newserver.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/pref-crlupdate.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/serverCertExpired.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/serverCrlNextupdate.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/crlManager.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/resetpassword.xul chrome://communicator/content/helpSecurityOverlay.xul +% overlay chrome://pippki/content/downloadcert.xul chrome://communicator/content/helpSecurityOverlay.xul % content communicator-platform %content/communicator-platform/ platform xpcnativewrappers=yes % content communicator-region %content/communicator-region/ xpcnativewrappers=yes #else @@ -27,6 +49,7 @@ comm.jar: content/communicator/editorBindings.xul content/communicator/emOverlay.xul content/communicator/findUtils.js + content/communicator/helpSecurityOverlay.xul content/communicator/nsContextMenu.js content/communicator/openLocation.js content/communicator/openLocation.xul @@ -35,7 +58,7 @@ comm.jar: content/communicator/tasksOverlay.js content/communicator/tasksOverlay.xul content/communicator/utilityOverlay.js - content/communicator/utilityOverlay.xul +* content/communicator/utilityOverlay.xul content/communicator/viewZoomOverlay.xul content/communicator/viewZoomOverlay.js #ifdef XP_MACOSX diff --git a/suite/common/utilityOverlay.xul b/suite/common/utilityOverlay.xul index 928ed478e08..c0be4da0089 100644 --- a/suite/common/utilityOverlay.xul +++ b/suite/common/utilityOverlay.xul @@ -8,6 +8,8 @@ %brandDTD; %globalRegionDTD; + +%platformCommunicatorDTD; %utilityDTD; @@ -20,6 +22,10 @@ src="chrome://global/content/strres.js"/>