diff --git a/mozilla/gfx/src/nsDeviceContext.cpp b/mozilla/gfx/src/nsDeviceContext.cpp index ec7253ebedd..83038f506c2 100644 --- a/mozilla/gfx/src/nsDeviceContext.cpp +++ b/mozilla/gfx/src/nsDeviceContext.cpp @@ -375,7 +375,7 @@ NS_IMETHODIMP DeviceContextImpl::LoadIconImage(PRInt32 aId, nsIImage*& aImage) // Build the URL string char url[128]; - sprintf(url, "resource://res/gfx/icon_%d.gif", aId); + sprintf(url, "resource:/res/gfx/icon_%d.gif", aId); // Use a sync net context ilINetContext* netContext; diff --git a/mozilla/intl/uconv/src/nsCharsetAliasImp.cpp b/mozilla/intl/uconv/src/nsCharsetAliasImp.cpp index 7aeff517d89..efb7c4d0656 100644 --- a/mozilla/intl/uconv/src/nsCharsetAliasImp.cpp +++ b/mozilla/intl/uconv/src/nsCharsetAliasImp.cpp @@ -62,7 +62,7 @@ nsCharsetAlias2::nsCharsetAlias2() { NS_INIT_REFCNT(); PR_AtomicIncrement(&g_InstanceCount); - nsAutoString propertyURL("resource://res/charsetalias.properties"); + nsAutoString propertyURL("resource:/res/charsetalias.properties"); mDelegate = new nsURLProperties( propertyURL ); } //-------------------------------------------------------------- diff --git a/mozilla/intl/uconv/src/nsMacCharset.cpp b/mozilla/intl/uconv/src/nsMacCharset.cpp index 951ad838ec4..f6a407f5445 100644 --- a/mozilla/intl/uconv/src/nsMacCharset.cpp +++ b/mozilla/intl/uconv/src/nsMacCharset.cpp @@ -46,7 +46,7 @@ nsMacCharset::nsMacCharset() { NS_INIT_REFCNT(); PR_AtomicIncrement(&g_InstanceCount); - nsAutoString propertyURL("resource://res/maccharset.properties"); + nsAutoString propertyURL("resource:/res/maccharset.properties"); nsURLProperties *info = new nsURLProperties( propertyURL ); diff --git a/mozilla/intl/uconv/src/nsUNIXCharset.cpp b/mozilla/intl/uconv/src/nsUNIXCharset.cpp index c4192c186f2..6a0a94e9585 100644 --- a/mozilla/intl/uconv/src/nsUNIXCharset.cpp +++ b/mozilla/intl/uconv/src/nsUNIXCharset.cpp @@ -52,7 +52,7 @@ nsUNIXCharset::nsUNIXCharset() char* locale = setlocale(LC_CTYPE, NULL); if(locale) { - nsAutoString propertyURL("resource://res/unixcharset.properties"); + nsAutoString propertyURL("resource:/res/unixcharset.properties"); nsURLProperties *info = new nsURLProperties( propertyURL ); if( info ) diff --git a/mozilla/intl/uconv/src/nsWinCharset.cpp b/mozilla/intl/uconv/src/nsWinCharset.cpp index efa69b9e2e6..0394398b223 100644 --- a/mozilla/intl/uconv/src/nsWinCharset.cpp +++ b/mozilla/intl/uconv/src/nsWinCharset.cpp @@ -45,7 +45,7 @@ nsWinCharset::nsWinCharset() { NS_INIT_REFCNT(); PR_AtomicIncrement(&g_InstanceCount); - nsAutoString propertyURL("resource://res/wincharset.properties"); + nsAutoString propertyURL("resource:/res/wincharset.properties"); nsURLProperties *info = new nsURLProperties( propertyURL ); diff --git a/mozilla/mailnews/addrbook/resources/content/addressbook.xul b/mozilla/mailnews/addrbook/resources/content/addressbook.xul index 9eb56aaaa25..9ee70466278 100644 --- a/mozilla/mailnews/addrbook/resources/content/addressbook.xul +++ b/mozilla/mailnews/addrbook/resources/content/addressbook.xul @@ -90,7 +90,7 @@ diff --git a/mozilla/mailnews/addrbook/resources/content/selectaddress.xul b/mozilla/mailnews/addrbook/resources/content/selectaddress.xul index 3aded6aa72d..5a69b3f0781 100644 --- a/mozilla/mailnews/addrbook/resources/content/selectaddress.xul +++ b/mozilla/mailnews/addrbook/resources/content/selectaddress.xul @@ -67,7 +67,7 @@ Rights Reserved. diff --git a/mozilla/netwerk/protocol/resource/src/nsResourceProtocolHandler.cpp b/mozilla/netwerk/protocol/resource/src/nsResourceProtocolHandler.cpp index 6f8b9bc9b1e..9026bbc62a6 100644 --- a/mozilla/netwerk/protocol/resource/src/nsResourceProtocolHandler.cpp +++ b/mozilla/netwerk/protocol/resource/src/nsResourceProtocolHandler.cpp @@ -144,7 +144,7 @@ nsResourceProtocolHandler::NewURI(const char *aSpec, nsIURI *aBaseURI, } /* - * Rewrite "resource://" URLs into file: URLs with the path of the + * Rewrite "resource:/" URLs into file: URLs with the path of the * executable prepended to the file path... */ static char * diff --git a/mozilla/network/module/nsNetService.cpp b/mozilla/network/module/nsNetService.cpp index 567ade9a660..e408413a612 100644 --- a/mozilla/network/module/nsNetService.cpp +++ b/mozilla/network/module/nsNetService.cpp @@ -1490,7 +1490,7 @@ extern "C" void net_ReleaseContext(MWContext *context) /* - * Rewrite "resource://" URLs into file: URLs with the path of the + * Rewrite "resource:/" URLs into file: URLs with the path of the * executable prepended to the file path... */ char *mangleResourceIntoFileURL(const char* aResourceFileName) diff --git a/mozilla/profile/resources/navFinishPreg.xul b/mozilla/profile/resources/navFinishPreg.xul index c2c0b580f3b..b142c06cae6 100644 --- a/mozilla/profile/resources/navFinishPreg.xul +++ b/mozilla/profile/resources/navFinishPreg.xul @@ -45,7 +45,7 @@ dump("Inside the Exit Wizard function...\n"); parent.frames[0].commit(); parent.Finish(); - parent.location.replace("resource://res/profile/preg.html"); + parent.location.replace("resource:/res/profile/preg.html"); //var toolkitCore = XPAppCoresManager.Find("toolkitCore"); //if (!toolkitCore) { diff --git a/mozilla/profile/resources/pm.xul b/mozilla/profile/resources/pm.xul index 4b9769a9f0b..a113a4781d5 100644 --- a/mozilla/profile/resources/pm.xul +++ b/mozilla/profile/resources/pm.xul @@ -19,7 +19,7 @@ var currProfile = ""; function CreateProfile() { // Need to call CreateNewProfile xuls - // var win = window.openDialog('resource://res/profile/cpwManager.xul', 'Creator', 'chrome'); + // var win = window.openDialog('resource:/res/profile/cpwManager.xul', 'Creator', 'chrome'); dump("\ngot here\n"); //this.location.replace(this.location); this.location.replace("resource:/res/profile/cpwManager.xul"); diff --git a/mozilla/rdf/resources/customize.xul b/mozilla/rdf/resources/customize.xul index fefb78702a1..8035c07b924 100644 --- a/mozilla/rdf/resources/customize.xul +++ b/mozilla/rdf/resources/customize.xul @@ -1,7 +1,7 @@ - + @@ -11,7 +11,7 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="Init();"> - + diff --git a/mozilla/rdf/resources/sidebar-browser.rdf b/mozilla/rdf/resources/sidebar-browser.rdf index 286505a9f6d..4109bb64350 100644 --- a/mozilla/rdf/resources/sidebar-browser.rdf +++ b/mozilla/rdf/resources/sidebar-browser.rdf @@ -15,15 +15,15 @@ &sidebar.whats-related.label; - resource://res/samples/related-panel.xul - resource://res/samples/related-panel-cust.xul + resource:/res/samples/related-panel.xul + resource:/res/samples/related-panel-cust.xul &sidebar.flash.label; - resource://res/rdf/flash.xul - resource://res/rdf/flash-cust.xul + resource:/res/rdf/flash.xul + resource:/res/rdf/flash-cust.xul 5em @@ -36,8 +36,8 @@ &sidebar.bookmarks.label; - resource://res/samples/bm-panel.xul - resource://res/samples/bm-panel-cust.xul + resource:/res/samples/bm-panel.xul + resource:/res/samples/bm-panel-cust.xul diff --git a/mozilla/rdf/resources/sidebar-browser.xul b/mozilla/rdf/resources/sidebar-browser.xul index c0c8d769cee..cadd00c1d21 100644 --- a/mozilla/rdf/resources/sidebar-browser.xul +++ b/mozilla/rdf/resources/sidebar-browser.xul @@ -16,7 +16,7 @@ onload="Init('resource:/res/rdf/sidebar-browser.rdf', 'NC:BrowserSidebarRoot');" align="vertical"> - + &sidebar.title.label; diff --git a/mozilla/rdf/resources/sidebar-registry.rdf b/mozilla/rdf/resources/sidebar-registry.rdf index 79908deed4d..0de4dc11cdb 100644 --- a/mozilla/rdf/resources/sidebar-registry.rdf +++ b/mozilla/rdf/resources/sidebar-registry.rdf @@ -16,14 +16,14 @@ Headlines http://my.netscape.com/topstories_subchannel.tmpl - resource://res/samples/related-panel-cust.xul + resource:/res/samples/related-panel-cust.xul Local News http://my.netscape.com/localnews_content.tmpl - resource://res/rdf/flash-cust.xul + resource:/res/rdf/flash-cust.xul diff --git a/mozilla/rdf/resources/sidebar.js b/mozilla/rdf/resources/sidebar.js index 65e9d539dd7..8f9a5c390e6 100644 --- a/mozilla/rdf/resources/sidebar.js +++ b/mozilla/rdf/resources/sidebar.js @@ -141,7 +141,7 @@ function resize(id) { } function customize() { - var newWin = window.openDialog('resource://res/rdf/customize.xul','New','chrome', sidebar.db, sidebar.resource); + var newWin = window.openDialog('resource:/res/rdf/customize.xul','New','chrome', sidebar.db, sidebar.resource); return newWin; } diff --git a/mozilla/suite/browser/navigator.js b/mozilla/suite/browser/navigator.js index ca6dcadc894..a207e99cc38 100644 --- a/mozilla/suite/browser/navigator.js +++ b/mozilla/suite/browser/navigator.js @@ -549,7 +549,7 @@ } } if (toolkitCore) { - toolkitCore.ShowWindow("resource://res/samples/bookmarks.xul",window); + toolkitCore.ShowWindow("resource:/res/samples/bookmarks.xul",window); } } @@ -563,7 +563,7 @@ } } if (toolkitCore) { - toolkitCore.ShowWindow("resource://res/samples/history.xul",window); + toolkitCore.ShowWindow("resource:/res/samples/history.xul",window); } } diff --git a/mozilla/suite/common/bookmarks/bookmarks.js b/mozilla/suite/common/bookmarks/bookmarks.js index b1dfb967c9a..9312f4d428e 100644 --- a/mozilla/suite/common/bookmarks/bookmarks.js +++ b/mozilla/suite/common/bookmarks/bookmarks.js @@ -31,7 +31,7 @@ function BookmarkProperties() var type = select_list[0].getAttribute('type'); if (type != "http://home.netscape.com/NC-rdf#BookmarkSeparator") { - var props = window.open("resource://res/samples/bm-props.xul", "BookmarkProperties", "chrome"); + var props = window.open("resource:/res/samples/bm-props.xul", "BookmarkProperties", "chrome"); props.BookmarkURL = select_list[0].getAttribute("id"); } } else { diff --git a/mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp b/mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp index b9dca866f8d..5e5566a66a1 100644 --- a/mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp +++ b/mozilla/webshell/embed/ActiveX/MozillaBrowser.cpp @@ -43,7 +43,7 @@ extern "C" void NS_SetupRegistry(); static const std::string c_szPrefsFile = "prefs50.js"; static const std::string c_szPrefsHomePage = "browser.startup.homepage"; -static const std::string c_szDefaultPage = "resource://res/MozillaControl.html"; +static const std::string c_szDefaultPage = "resource:/res/MozillaControl.html"; BOOL CMozillaBrowser::m_bRegistryInitialized = FALSE; diff --git a/mozilla/xpfe/AppCores/src/nsBrowserAppCore.cpp b/mozilla/xpfe/AppCores/src/nsBrowserAppCore.cpp index 574717465ff..9890cb042dc 100644 --- a/mozilla/xpfe/AppCores/src/nsBrowserAppCore.cpp +++ b/mozilla/xpfe/AppCores/src/nsBrowserAppCore.cpp @@ -1803,7 +1803,7 @@ nsBrowserAppCore::DoDialog() window = nsnull; nsCOMPtr urlObj; - char * urlstr = "resource://res/samples/Password.html"; + char * urlstr = "resource:/res/samples/Password.html"; #ifndef NECKO rv = NS_NewURL(getter_AddRefs(urlObj), urlstr); #else diff --git a/mozilla/xpfe/browser/resources/content/navigator.js b/mozilla/xpfe/browser/resources/content/navigator.js index ca6dcadc894..a207e99cc38 100644 --- a/mozilla/xpfe/browser/resources/content/navigator.js +++ b/mozilla/xpfe/browser/resources/content/navigator.js @@ -549,7 +549,7 @@ } } if (toolkitCore) { - toolkitCore.ShowWindow("resource://res/samples/bookmarks.xul",window); + toolkitCore.ShowWindow("resource:/res/samples/bookmarks.xul",window); } } @@ -563,7 +563,7 @@ } } if (toolkitCore) { - toolkitCore.ShowWindow("resource://res/samples/history.xul",window); + toolkitCore.ShowWindow("resource:/res/samples/history.xul",window); } } diff --git a/mozilla/xpfe/browser/samples/dexparammaster.xul b/mozilla/xpfe/browser/samples/dexparammaster.xul index af68d557480..2e388afaa10 100644 --- a/mozilla/xpfe/browser/samples/dexparammaster.xul +++ b/mozilla/xpfe/browser/samples/dexparammaster.xul @@ -18,13 +18,13 @@ // show a nonmodal dialog, sending parameters as part of the URL function MakeURLDialog() { - var newWin = window.open("resource://res/samples/dexparamdialog.xul?remind=true;prompt=Give me your money and convertible bonds", "New", "chrome"); + var newWin = window.open("resource:/res/samples/dexparamdialog.xul?remind=true;prompt=Give me your money and convertible bonds", "New", "chrome"); return newWin; } // show a nonmodal dialog, sending parameters as part of the function call function MakeParamDialog() { - var newWin = window.openDialog("resource://res/samples/dexparamdialog.xul", + var newWin = window.openDialog("resource:/res/samples/dexparamdialog.xul", "New", "chrome", {remind:true, prompt:"Give me your money and convertible bonds"}); return newWin; } @@ -33,7 +33,7 @@ function ModalDialog() { var toolkitCore = GetToolkitCore(); if (toolkitCore) - toolkitCore.ShowModalDialog("resource://res/samples/dexparamdialog.xul", + toolkitCore.ShowModalDialog("resource:/res/samples/dexparamdialog.xul", window); } diff --git a/mozilla/xpfe/browser/src/navigator-test1.xul b/mozilla/xpfe/browser/src/navigator-test1.xul index 5b8cb01ce10..e03358f66e5 100644 --- a/mozilla/xpfe/browser/src/navigator-test1.xul +++ b/mozilla/xpfe/browser/src/navigator-test1.xul @@ -137,7 +137,7 @@ } } if (toolkitCore) { - toolkitCore.ShowWindow("resource://res/rdf/bookmarks.xul",window); + toolkitCore.ShowWindow("resource:/res/rdf/bookmarks.xul",window); } } diff --git a/mozilla/xpfe/components/bookmarks/resources/bookmarks.js b/mozilla/xpfe/components/bookmarks/resources/bookmarks.js index b1dfb967c9a..9312f4d428e 100644 --- a/mozilla/xpfe/components/bookmarks/resources/bookmarks.js +++ b/mozilla/xpfe/components/bookmarks/resources/bookmarks.js @@ -31,7 +31,7 @@ function BookmarkProperties() var type = select_list[0].getAttribute('type'); if (type != "http://home.netscape.com/NC-rdf#BookmarkSeparator") { - var props = window.open("resource://res/samples/bm-props.xul", "BookmarkProperties", "chrome"); + var props = window.open("resource:/res/samples/bm-props.xul", "BookmarkProperties", "chrome"); props.BookmarkURL = select_list[0].getAttribute("id"); } } else { diff --git a/mozilla/xpinstall/notifier/SoftwareUpdate.js b/mozilla/xpinstall/notifier/SoftwareUpdate.js index 82f27632f5c..3f63a654d4b 100644 --- a/mozilla/xpinstall/notifier/SoftwareUpdate.js +++ b/mozilla/xpinstall/notifier/SoftwareUpdate.js @@ -17,7 +17,7 @@ } // the location of the flash registry. - var localSoftwareUpdateRegistry = 'resource://res/rdf/SoftwareUpdates.rdf'; + var localSoftwareUpdateRegistry = 'resource:/res/rdf/SoftwareUpdates.rdf'; function Init() { diff --git a/mozilla/xpinstall/res/xpistatus.xul b/mozilla/xpinstall/res/xpistatus.xul index e012eb10f66..d6e94f136d8 100644 --- a/mozilla/xpinstall/res/xpistatus.xul +++ b/mozilla/xpinstall/res/xpistatus.xul @@ -1,5 +1,5 @@ - +