diff --git a/common/locale/en-US/options.xml b/common/locale/en-US/options.xml index 64de8606..f713bab2 100644 --- a/common/locale/en-US/options.xml +++ b/common/locale/en-US/options.xml @@ -1034,19 +1034,6 @@ - - 'nojsd' 'nojsdebugger' - 'jsd' 'jsdebugger' - 'jsdebugger' 'jsd' - &option.jsdebugger.type; - &option.jsdebugger.default; - - - Use the JavaScript debugger service for JavaScript completion. - - - - 'jt' 'jumptags' 'jumptags' 'jt' diff --git a/common/modules/base.jsm b/common/modules/base.jsm index fe67024f..13296528 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -17,6 +17,7 @@ function module(url) { } var { XPCOMUtils } = module("resource://gre/modules/XPCOMUtils.jsm"); +var { OS, TextDecoder, TextEncoder } = module("resource://gre/modules/osfile.jsm"); try { var ctypes = module("resource://gre/modules/ctypes.jsm"); } @@ -178,10 +179,13 @@ defineModule("base", { "Finished", "JSMLoader", "Module", + "OS", "RealSet", "Set", "Struct", "StructBase", + "TextEncoder", + "TextDecoder", "Timer", "UTF8", "XPCOM", diff --git a/common/modules/javascript.jsm b/common/modules/javascript.jsm index 8555cdf2..8b23315d 100644 --- a/common/modules/javascript.jsm +++ b/common/modules/javascript.jsm @@ -879,20 +879,6 @@ var JavaScript = Module("javascript", { bind(["", ""], "Scroll up half a page", function ({ self }) { self.repl.scrollVertical("pages", -1); }); - }, - options: function initOptions(dactyl, modules, window) { - modules.options.add(["jsdebugger", "jsd"], - "Enable the JavaScript debugger service for use in JavaScript completion", - "boolean", false, { - setter: function (value) { - if (services.debugger.isOn != value) - if (value) - (services.debugger.asyncOn || services.debugger.on)(null); - else - services.debugger.off(); - }, - getter: function () services.debugger.isOn - }); } }); diff --git a/common/modules/services.jsm b/common/modules/services.jsm index b5861394..9629fe71 100644 --- a/common/modules/services.jsm +++ b/common/modules/services.jsm @@ -33,7 +33,6 @@ var Services = Module("Services", { this.add("bookmarks", "@mozilla.org/browser/nav-bookmarks-service;1", "nsINavBookmarksService"); this.add("browserSearch", "@mozilla.org/browser/search-service;1", "nsIBrowserSearchService"); this.add("cache", "@mozilla.org/network/cache-service;1", "nsICacheService"); - this.add("charset", "@mozilla.org/charset-converter-manager;1", "nsICharsetConverterManager"); this.add("chromeRegistry", "@mozilla.org/chrome/chrome-registry;1", "nsIXULChromeRegistry"); this.add("clipboard", "@mozilla.org/widget/clipboard;1", "nsIClipboard"); this.add("clipboardHelper", "@mozilla.org/widget/clipboardhelper;1", "nsIClipboardHelper"); @@ -43,7 +42,6 @@ var Services = Module("Services", { "nsIContentPrefService2"]); this.add("dactyl", "@dactyl.googlecode.com/extra/utils", "dactylIUtils"); this.add("dactyl:", this.PROTOCOL + "dactyl"); - this.add("debugger", "@mozilla.org/js/jsd/debugger-service;1", "jsdIDebuggerService"); this.add("directory", "@mozilla.org/file/directory_service;1", "nsIProperties"); this.add("downloadManager", "@mozilla.org/download-manager;1", "nsIDownloadManager"); this.add("environment", "@mozilla.org/process/environment;1", "nsIEnvironment"); diff --git a/common/skin/dactyl.css b/common/skin/dactyl.css index 43aef7f4..cd2ebe3e 100644 --- a/common/skin/dactyl.css +++ b/common/skin/dactyl.css @@ -227,12 +227,13 @@ statusbarpanel { @-moz-document url(chrome://browser/content/browser.xul) { /* Fix ginormous Australis tabs. */ -[dactyl-australis=true] xul|tab.tabbrowser-tab .tab-background > * { +[dactyl-australis=true] :-moz-any(xul|tab.tabbrowser-tab, .tabs-newtab-button) + .tab-background > * { min-height: 24px !important; max-height: 24px !important; } -[dactyl-australis=true] xul|tab.tabbrowser-tab +[dactyl-australis=true] :-moz-any(xul|tab.tabbrowser-tab, .tabs-newtab-button) .tab-background > :-moz-any(.tab-background-start, .tab-background-end)::after { background-size: 30px 24px !important; max-height: 24px !important; @@ -241,6 +242,7 @@ statusbarpanel { [dactyl-australis=true] .tabbrowser-tabs { min-height: 0 !important; + max-height: 24px !important; } /* Fix stupid line... */ diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index 8912f301..8179bd36 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -1,3 +1,6 @@ +1.2pre: + • Remove 'jsdebugger' option. + 1.1: • Vim runtime files: - renamed :mksyntax to :mkvimruntime which now generates
- Use the JavaScript debugger service for JavaScript completion. -