mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 22:47:59 +01:00
Release 1.0 βeta 4.2.
This commit is contained in:
@@ -38,18 +38,18 @@ var Modes = Module("modes", {
|
|||||||
// main modes, only one should ever be active
|
// main modes, only one should ever be active
|
||||||
this.addMode("NORMAL", {
|
this.addMode("NORMAL", {
|
||||||
char: "n",
|
char: "n",
|
||||||
description: "Normal mode, active when nothing is focused",
|
description: "Active when nothing is focused",
|
||||||
display: function () null
|
display: function () null
|
||||||
});
|
});
|
||||||
this.addMode("INSERT", {
|
this.addMode("INSERT", {
|
||||||
char: "i",
|
char: "i",
|
||||||
description: "Insert mode, active when an input element is focused",
|
description: "Active when an input element is focused",
|
||||||
input: true,
|
input: true,
|
||||||
ownsFocus: true
|
ownsFocus: true
|
||||||
});
|
});
|
||||||
this.addMode("VISUAL", {
|
this.addMode("VISUAL", {
|
||||||
char: "v",
|
char: "v",
|
||||||
description: "Visual mode, active when text is selected",
|
description: "Active when text is selected",
|
||||||
ownsFocus: true,
|
ownsFocus: true,
|
||||||
display: function () "VISUAL" + (this._extended & modes.LINE ? " LINE" : "")
|
display: function () "VISUAL" + (this._extended & modes.LINE ? " LINE" : "")
|
||||||
}, {
|
}, {
|
||||||
@@ -66,12 +66,12 @@ var Modes = Module("modes", {
|
|||||||
|
|
||||||
this.addMode("COMMAND_LINE", {
|
this.addMode("COMMAND_LINE", {
|
||||||
char: "c",
|
char: "c",
|
||||||
description: "Command Line mode, active when the command line is focused",
|
description: "Active when the command line is focused",
|
||||||
input: true
|
input: true
|
||||||
});
|
});
|
||||||
|
|
||||||
this.addMode("CARET", {
|
this.addMode("CARET", {
|
||||||
description: "Caret mode, active when the caret is visible in the web content",
|
description: "Active when the caret is visible in the web content",
|
||||||
}, {
|
}, {
|
||||||
|
|
||||||
get pref() prefs.get("accessibility.browsewithcaret"),
|
get pref() prefs.get("accessibility.browsewithcaret"),
|
||||||
@@ -91,22 +91,22 @@ var Modes = Module("modes", {
|
|||||||
});
|
});
|
||||||
this.addMode("TEXT_EDIT", {
|
this.addMode("TEXT_EDIT", {
|
||||||
char: "t",
|
char: "t",
|
||||||
description: "Text Edit mode, Vim-like editing of input elements",
|
description: "Vim-like editing of input elements",
|
||||||
ownsFocus: true
|
ownsFocus: true
|
||||||
});
|
});
|
||||||
this.addMode("EMBED", {
|
this.addMode("EMBED", {
|
||||||
input: true,
|
input: true,
|
||||||
description: "Embed mode, active when an <embed> or <object> element is focused",
|
description: "Active when an <embed> or <object> element is focused",
|
||||||
ownsFocus: true
|
ownsFocus: true
|
||||||
});
|
});
|
||||||
this.addMode("PASS_THROUGH", {
|
this.addMode("PASS_THROUGH", {
|
||||||
description: "Pass Through mode: all keys but <C-v> are ignored by " + config.appName,
|
description: "All keys but <C-v> are ignored by " + config.appName,
|
||||||
hidden: true
|
hidden: true
|
||||||
});
|
});
|
||||||
|
|
||||||
this.addMode("QUOTE", {
|
this.addMode("QUOTE", {
|
||||||
hidden: true,
|
hidden: true,
|
||||||
description: "Quote mode: The next key sequence is ignored by " + config.appName + ", unless in Pass Through mode",
|
description: "The next key sequence is ignored by " + config.appName + ", unless in Pass Through mode",
|
||||||
display: function () modes.getStack(1).main == modes.PASS_THROUGH
|
display: function () modes.getStack(1).main == modes.PASS_THROUGH
|
||||||
? (modes.getStack(2).main.display() || modes.getStack(2).main.name) + " (next)"
|
? (modes.getStack(2).main.display() || modes.getStack(2).main.name) + " (next)"
|
||||||
: "PASS THROUGH (next)"
|
: "PASS THROUGH (next)"
|
||||||
@@ -117,7 +117,7 @@ var Modes = Module("modes", {
|
|||||||
onEvent: function () { if (modes.main == modes.QUOTE) modes.pop() }
|
onEvent: function () { if (modes.main == modes.QUOTE) modes.pop() }
|
||||||
});
|
});
|
||||||
this.addMode("OUTPUT_MULTILINE", {
|
this.addMode("OUTPUT_MULTILINE", {
|
||||||
description: "Multiline Output mode, active when the multi-line output buffer is open"
|
description: "Active when the multi-line output buffer is open"
|
||||||
});
|
});
|
||||||
|
|
||||||
// this._extended modes, can include multiple modes, and even main modes
|
// this._extended modes, can include multiple modes, and even main modes
|
||||||
@@ -128,7 +128,7 @@ var Modes = Module("modes", {
|
|||||||
});
|
});
|
||||||
this.addMode("HINTS", {
|
this.addMode("HINTS", {
|
||||||
extended: true,
|
extended: true,
|
||||||
description: "Hint mode, active when selecting elements in QuickHint or ExtendedHint mode",
|
description: "Active when selecting elements in QuickHint or ExtendedHint mode",
|
||||||
count: false,
|
count: false,
|
||||||
ownsBuffer: true
|
ownsBuffer: true
|
||||||
});
|
});
|
||||||
@@ -139,14 +139,14 @@ var Modes = Module("modes", {
|
|||||||
});
|
});
|
||||||
this.addMode("MENU", {
|
this.addMode("MENU", {
|
||||||
extended: true,
|
extended: true,
|
||||||
description: "Menu mode, active when a menu or other pop-up is open",
|
description: "Active when a menu or other pop-up is open",
|
||||||
}); // a popupmenu is active
|
}); // a popupmenu is active
|
||||||
this.addMode("LINE", {
|
this.addMode("LINE", {
|
||||||
extended: true, hidden: true
|
extended: true, hidden: true
|
||||||
}); // linewise visual mode
|
}); // linewise visual mode
|
||||||
this.addMode("PROMPT", {
|
this.addMode("PROMPT", {
|
||||||
extended: true,
|
extended: true,
|
||||||
description: "Prompt mode, active when a prompt is open in the command line",
|
description: "Active when a prompt is open in the command line",
|
||||||
input: true
|
input: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ function defineModule(name, params) {
|
|||||||
defineModule.loadLog = [];
|
defineModule.loadLog = [];
|
||||||
Object.defineProperty(defineModule.loadLog, "push", {
|
Object.defineProperty(defineModule.loadLog, "push", {
|
||||||
value: function (val) {
|
value: function (val) {
|
||||||
if (true)
|
if (false)
|
||||||
defineModule.dump(val + "\n");
|
defineModule.dump(val + "\n");
|
||||||
this[this.length] = Date.now() + " " + val;
|
this[this.length] = Date.now() + " " + val;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
1.0b5pre:
|
1.0b4.2:
|
||||||
* Extensive Firefox 4 support, including:
|
* Extensive Firefox 4 support, including:
|
||||||
- Fully restartless. Can now be installed, uninstalled,
|
- Fully restartless. Can now be installed, uninstalled,
|
||||||
enabled, disabled, and upgraded without restarting Firefox.
|
enabled, disabled, and upgraded without restarting Firefox.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<Description about="urn:mozilla:install-manifest"
|
<Description about="urn:mozilla:install-manifest"
|
||||||
em:id="pentadactyl@dactyl.googlecode.com"
|
em:id="pentadactyl@dactyl.googlecode.com"
|
||||||
em:name="Pentadactyl"
|
em:name="Pentadactyl"
|
||||||
em:version="1.0b5pre"
|
em:version="1.0b4.2"
|
||||||
em:description="Firefox for Vim and Links addicts"
|
em:description="Firefox for Vim and Links addicts"
|
||||||
em:homepageURL="http://dactyl.sourceforge.net/pentadactyl"
|
em:homepageURL="http://dactyl.sourceforge.net/pentadactyl"
|
||||||
em:iconURL="chrome://pentadactyl/skin/icon.png"
|
em:iconURL="chrome://pentadactyl/skin/icon.png"
|
||||||
|
|||||||
Reference in New Issue
Block a user