Bug 510378 Consider enabling Satchel/Form Fill in Thunderbird - Land the UI for form fill in content tabs (backend enabling to be done in core). r=philor
authorMark Banner <bugzilla@standard8.plus.com>
Fri, 04 Sep 2009 09:18:17 +0100
changeset 3512 3e1287030b09076fb682c8d1c17258395afc4b2e
parent 3511 9583204313f7ab433bb526869413b7b24e995d9f
child 3513 f10f5d64128498702266128f92f738d3df5b3804
push idunknown
push userunknown
push dateunknown
reviewersphilor
bugs510378
Bug 510378 Consider enabling Satchel/Form Fill in Thunderbird - Land the UI for form fill in content tabs (backend enabling to be done in core). r=philor
mail/app/profile/all-thunderbird.js
mail/base/content/specialTabs.xul
mail/installer/removed-files.in
mail/installer/windows/packages-static
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -457,12 +457,13 @@ pref("toolbar.customization.usesheet", t
 pref("toolbar.customization.usesheet", false);
 #endif
 
 // Check for missing attachments?
 pref("mail.compose.attachment_reminder", true);
 // Words that should trigger a missing attachments warning.
 pref("mail.compose.attachment_reminder_keywords", "chrome://messenger/locale/messengercompose/composeMsgs.properties");
 
+pref("browser.formfill.enable", true);
 // Override the all.js values so that unit tests pass and we get sane values.
 pref("browser.history_expire_days", 180);
 pref("browser.history_expire_days_min", 90);
 pref("browser.history_expire_sites", 40000);
--- a/mail/base/content/specialTabs.xul
+++ b/mail/base/content/specialTabs.xul
@@ -31,21 +31,33 @@
    - 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 LGPL or the GPL. 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 ***** -->
 
+<!DOCTYPE overlay [
+<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
+%globalDTD;
+]>
+
 <overlay id="specialTabs"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
+  <popupset id="mainPopupSet">
+    <!-- for search and content formfill/pw manager -->
+    <panel type="autocomplete" id="PopupAutoComplete" level="top"
+           noautofocus="true" chromedir="&locale.dir;"/>
+  </popupset>
+
   <vbox id="contentTab" collapsed="true">
     <vbox flex="1">
       <notificationbox flex="1">
-        <browser type="content-targetable" flex="1" disablehistory="true"/>
+        <browser type="content-targetable" flex="1" disablehistory="true"
+                 autocompletepopup="PopupAutoComplete"/>
       </notificationbox>
       <findbar/>
     </vbox>
   </vbox>
 </overlay>
 
--- a/mail/installer/removed-files.in
+++ b/mail/installer/removed-files.in
@@ -45,22 +45,28 @@ components/accessibility-atk.xpt
 components/airbag.xpt
 components/bookmarks.xpt
 components/downloadmanager.xpt
 components/compreg.dat
 components/history.xpt
 components/jsconsole.xpt
 components/mailnews.xpt
 components/mozgnome.xpt
+#ifdef MOZILLA_1_9_1_BRANCH
+components/satchel.xpt
+#endif
 components/@DLL_PREFIX@myspell@DLL_SUFFIX@
 components/necko_data.xpt
 components/nsBackgroundUpdateService.js
 components/nsCloseAllWindows.js
 components/nsComposerCmdLineHandler.js
 components/nsDownloadProgressListener.js
+#ifdef MOZILLA_1_9_1_BRANCH
+components/nsFormAutoComplete.js
+#endif
 components/nsInterfaceInfoToIDL.js
 components/nsLDAPPrefsService.js
 #ifdef XP_WIN
 #ifndef MOZILLA_1_9_1_BRANCH
 components/nsPostUpdateWin.js
 #endif
 #endif
 components/nsScriptableIO.js
--- a/mail/installer/windows/packages-static
+++ b/mail/installer/windows/packages-static
@@ -278,16 +278,19 @@ bin\components\pref.xpt
 ; profile
 bin\components\profile.xpt
 bin\components\toolkitprofile.xpt
 
 ; toolkit
 bin\components\commandlines.xpt
 bin\components\chrome.xpt
 bin\components\nsDefaultCLH.js
+#ifndef MOZILLA_1_9_1_BRANCH
+bin\components\nsFormAutoComplete.js
+#endif
 
 ; rdf
 bin\components\rdf.xpt
 
 ; required i18n libraries
 bin\components\intl.xpt
 bin\components\locale.xpt
 bin\components\uconv.xpt
@@ -409,16 +412,19 @@ bin\components\windowds.xpt
 bin\components\dom_xpath.xpt
 bin\AccessibleMarshal.dll
 bin\components\lwbrk.xpt
 bin\components\nsTryToClose.js
 bin\components\pluginGlue.js
 bin\components\txEXSLTRegExFunctions.js
 bin\components\feeds.xpt
 bin\components\saxparser.xpt
+#ifndef MOZILLA_1_9_1_BRANCH
+bin\components\satchel.xpt
+#endif
 bin\components\shistory.xpt
 bin\components\zipwriter.xpt
 bin\components\nsBadCertHandler.js
 bin\components\cookie.xpt
 bin\components\places.xpt
 bin\components\prefetch.xpt
 
 bin\res\hiddenWindow.html