diff --git a/common/content/options.js b/common/content/options.js index 7e630acc..a8cda0a1 100644 --- a/common/content/options.js +++ b/common/content/options.js @@ -1006,13 +1006,19 @@ var Options = Module("options", { } let option = opt.option; - context.advance(context.filter.indexOf("=") + 1); - if (!option) { context.message = "No such option: " + opt.name; - context.highlight(0, name.length, "SPELLCHECK"); + context.highlight(0, opt.name.length, "SPELLCHECK"); } + context.advance(context.filter.indexOf("=")); + if (option.type == "boolean") { + context.message = "Trailing characters"; + context.highlight(0, context.filter.length, "SPELLCHECK"); + return; + } + + context.advance(1); if (opt.get || opt.reset || !option || prefix) return null; @@ -1230,9 +1236,7 @@ var Options = Module("options", { let extra = {}; switch (opt.type) { case "boolean": - if (!completer) - completer = function () [["true", ""], ["false", ""]]; - break; + return; case "regexplist": newValues = Option.splitList(context.filter); // Fallthrough diff --git a/common/modules/base.jsm b/common/modules/base.jsm index d8c02c1e..f4bf503a 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -160,7 +160,7 @@ function defineModule(name, params) { defineModule.loadLog = []; Object.defineProperty(defineModule.loadLog, "push", { value: function (val) { - if (false) + if (true) defineModule.dump(val + "\n"); this[this.length] = Date.now() + " " + val; } diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index 8afbcf66..50059e6e 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -1,4 +1,4 @@ -1.0b4.2: +1.0b5pre: * Extensive Firefox 4 support, including: - Fully restartless. Can now be installed, uninstalled, enabled, disabled, and upgraded without restarting Firefox. diff --git a/pentadactyl/install.rdf b/pentadactyl/install.rdf index eddd22cd..a03a3837 100644 --- a/pentadactyl/install.rdf +++ b/pentadactyl/install.rdf @@ -4,7 +4,7 @@