From e65e3b89083376adc755177a26ed467eaa3b04ea Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Wed, 15 Feb 2006 03:06:24 +0000 Subject: [PATCH] Adding in necko 2 for keyword and data support. fixing crash when adding a space into the gGlobalHistory. removing unused js components used in webservices. updating for 013. --- minimo/chrome/content/minimo.js | 15 +++++++++------ minimo/config/wince/minimo_installer.ini | 20 ++++++++++---------- minimo/config/wince_package.sh | 3 --- minimo/customization/all.js | 21 +++++++++------------ 4 files changed, 28 insertions(+), 31 deletions(-) diff --git a/minimo/chrome/content/minimo.js b/minimo/chrome/content/minimo.js index f5268ac89494..dc52890809bb 100755 --- a/minimo/chrome/content/minimo.js +++ b/minimo/chrome/content/minimo.js @@ -1138,15 +1138,18 @@ function URLBarEntered() BrowserSetDeck(0,document.getElementById("command_ViewDeckDefault")); return; } + /* Other normal cases */ - var fixedUpURI = gURIFixup.createFixupURI(url, 2 /*fixup url*/ ); - gGlobalHistory.markPageAsTyped(fixedUpURI); - - gURLBar.value = fixedUpURI.spec; - - loadURI(fixedUpURI.spec); + if (gURLBar.value.indexOf(" ") == -1) + { + var fixedUpURI = gURIFixup.createFixupURI(url, 2 /*fixup url*/ ); + gGlobalHistory.markPageAsTyped(fixedUpURI); + gURLBar.value = fixedUpURI.spec; + } + loadURI(gURLBar.value); + content.focus(); } catch(ex) {alert(ex);} diff --git a/minimo/config/wince/minimo_installer.ini b/minimo/config/wince/minimo_installer.ini index 0e8ffaec0648..bdb0b6d945fb 100755 --- a/minimo/config/wince/minimo_installer.ini +++ b/minimo/config/wince/minimo_installer.ini @@ -1,10 +1,10 @@ -[CEAppManager] -Version = 1.0 -Component = Minimo - -[Minimo] -CabFiles = minimo.2577.CAB -Description=Mozilla Minimo for CE devices -Uninstall=Mozilla Minimo 012 -IconFile = minimo.ico -IconIndex=0 +[CEAppManager] +Version = 1.0 +Component = Minimo + +[Minimo] +CabFiles = minimo.2577.CAB +Description=Mozilla Minimo for CE devices +Uninstall=Mozilla Minimo 012 +IconFile = minimo.ico +IconIndex=0 diff --git a/minimo/config/wince_package.sh b/minimo/config/wince_package.sh index ca39475d3cab..33e9cf41329d 100755 --- a/minimo/config/wince_package.sh +++ b/minimo/config/wince_package.sh @@ -40,9 +40,6 @@ cp -a bin/chrome/toolkit.manifest minimo/chrome mkdir -p minimo/components -cp -a bin/components/nsDictionary.js minimo/components -cp -a bin/components/nsXmlRpcClient.js minimo/components - cp -a bin/extensions/spatial-navigation@extensions.mozilla.org/components/* minimo/components mkdir -p minimo/greprefs diff --git a/minimo/customization/all.js b/minimo/customization/all.js index b5322bb7cdb3..dfcb576bac0e 100755 --- a/minimo/customization/all.js +++ b/minimo/customization/all.js @@ -1,16 +1,22 @@ -pref("general.useragent.extra.minimo", "Minimo/0.012"); +pref("general.useragent.extra.minimo", "Minimo/0.013"); + +pref("keyword.enabled", true); +pref("keyword.URL", "http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q="); pref("browser.cache.disk.enable", false); pref("browser.cache.disk.capacity", 1024); pref("browser.cache.memory.enable", true); pref("browser.cache.memory.capacity", 1024); + // -1 = determine dynamically, 0 = none, n = memory capacity in kilobytes pref("browser.cache.disk_cache_ssl", false); + // 0 = once-per-session, 1 = each-time, 2 = never, 3 = when-appropriate/automatically pref("browser.cache.check_doc_frequency", 3); + // Fastback caching - if this pref is negative, then we calculate the number // of content viewers to cache based on the amount of available memory. -pref("browser.sessionhistory.max_total_viewers", -1); +pref("browser.sessionhistory.max_total_viewers", 0); pref("browser.display.use_document_fonts", 1); // 0 = never, 1 = quick, 2 = always pref("browser.display.use_document_colors", true); @@ -163,7 +169,7 @@ pref("dom.disable_window_open_feature.status", true); pref("dom.allow_scripts_to_close_windows", false); -pref("dom.disable_open_during_load", false); +pref("dom.disable_open_during_load", true); pref("dom.popup_maximum", 20); pref("dom.popup_allowed_events", "change click dblclick mouseup reset submit"); pref("dom.disable_open_click_delay", 5000); @@ -342,13 +348,6 @@ pref("network.negotiate-auth.gsslib", ""); // Specify if the gss lib comes standard with the OS pref("network.negotiate-auth.using-native-gsslib", true); -#ifdef XP_WIN - -// Default to using the SSPI intead of GSSAPI on windows -pref("network.auth.use-sspi", true); - -#endif - // The following prefs are used to enable automatic use of the operating // system's NTLM implementation to silently authenticate the user with their // Window's domain logon. The trusted-uris pref follows the format of the @@ -533,8 +532,6 @@ pref("config.use_system_prefs.accessibility", false); pref("editor.resizing.preserve_ratio", true); pref("editor.positioning.offset", 0); -pref("dom.max_script_run_time", 5); - pref("svg.enabled", false); // override double-click word selection behavior.