From c2a70cd8b75f85c256f20d5bb0b3fd812aa8ea2e Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Thu, 30 Jun 2005 23:00:48 +0000 Subject: [PATCH] Fix and enable post-update prompting, make sure app managed items don't show up in incompatible list, make sure disabled items dont show up in incompatible list, reorg code and add documentation. bug 299302 for making extension manager getIncompatibleItemList have an optional filterDisabled parameter r=darin git-svn-id: svn://10.0.0.236/trunk@175436 18797224-902f-48f8-a5cc-f745e15eee43 --- .../install.rdf.in | 8 + .../browser/base/content/utilityOverlay.js | 2 +- .../components/preferences/advanced.js | 2 +- .../components/preferences/advanced.xul | 3 +- mozilla/extensions/inspector/install.rdf | 8 + mozilla/extensions/reporter/install.rdf | 8 + .../extensions/public/nsIExtensionManager.idl | 6 +- .../extensions/src/nsExtensionManager.js.in | 35 +- .../mozapps/update/content/history.xul | 2 +- .../toolkit/mozapps/update/content/updates.js | 4 +- .../update/public/nsIUpdateService.idl | 14 +- .../mozapps/update/src/nsUpdateService.js.in | 1645 +++++++++-------- 12 files changed, 910 insertions(+), 827 deletions(-) diff --git a/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in b/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in index 3ca7fec1db9..67d80789214 100644 --- a/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in +++ b/mozilla/browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf.in @@ -20,6 +20,14 @@ Firefox (default) The default theme + + + true true diff --git a/mozilla/browser/base/content/utilityOverlay.js b/mozilla/browser/base/content/utilityOverlay.js index 0ace836bd54..5418021dcc8 100644 --- a/mozilla/browser/base/content/utilityOverlay.js +++ b/mozilla/browser/base/content/utilityOverlay.js @@ -447,7 +447,7 @@ function checkForUpdates() { var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"] .createInstance(Components.interfaces.nsIUpdatePrompt); - prompter.checkForUpdates(window); + prompter.checkForUpdates(); } function buildHelpMenu() diff --git a/mozilla/browser/components/preferences/advanced.js b/mozilla/browser/components/preferences/advanced.js index 3d18ea7e8b1..a6512e4c37f 100644 --- a/mozilla/browser/components/preferences/advanced.js +++ b/mozilla/browser/components/preferences/advanced.js @@ -144,7 +144,7 @@ var gAdvancedPane = { { var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"] .createInstance(Components.interfaces.nsIUpdatePrompt); - prompter.checkForUpdates(window); + prompter.checkForUpdates(); }, showAutoInstallOptions: function () diff --git a/mozilla/browser/components/preferences/advanced.xul b/mozilla/browser/components/preferences/advanced.xul index 1d2864444e1..b1d1c5ce5fd 100644 --- a/mozilla/browser/components/preferences/advanced.xul +++ b/mozilla/browser/components/preferences/advanced.xul @@ -151,8 +151,7 @@