mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 13:07:59 +01:00
Merge with master.
This commit is contained in:
@@ -107,7 +107,7 @@ $(JAR): doc
|
|||||||
|
|
||||||
check-asciidoc:
|
check-asciidoc:
|
||||||
@asciidoc --version | awk '{ exit $$2 !~ /^8\.2\./ }' || \
|
@asciidoc --version | awk '{ exit $$2 !~ /^8\.2\./ }' || \
|
||||||
echo >&2 "Warning: asciidoc versions other 8.2.x are unsupported"
|
echo >&2 "Warning: asciidoc versions other than 8.2.x are unsupported"
|
||||||
|
|
||||||
${DOC_FILES}: %.html: %.txt $(BASE)/Makefile.common locale/en-US/asciidoc.conf
|
${DOC_FILES}: %.html: %.txt $(BASE)/Makefile.common locale/en-US/asciidoc.conf
|
||||||
@echo "DOC $@"
|
@echo "DOC $@"
|
||||||
|
|||||||
@@ -173,24 +173,8 @@ function Buffer() //{{{
|
|||||||
"Show current website with a minimal style sheet to make it easily accessible",
|
"Show current website with a minimal style sheet to make it easily accessible",
|
||||||
"boolean", false,
|
"boolean", false,
|
||||||
{
|
{
|
||||||
setter: function (value)
|
setter: function (value) getBrowser().markupDocumentViewer.authorStyleDisabled = value,
|
||||||
{
|
getter: function () getBrowser().markupDocumentViewer.authorStyleDisabled
|
||||||
try
|
|
||||||
{
|
|
||||||
window.getMarkupDocumentViewer().authorStyleDisabled = value;
|
|
||||||
}
|
|
||||||
catch (e) {}
|
|
||||||
|
|
||||||
return value;
|
|
||||||
},
|
|
||||||
getter: function ()
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
return window.getMarkupDocumentViewer().authorStyleDisabled;
|
|
||||||
}
|
|
||||||
catch (e) {}
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////}}}
|
/////////////////////////////////////////////////////////////////////////////}}}
|
||||||
|
|||||||
@@ -1374,6 +1374,7 @@ function Completion() //{{{
|
|||||||
help: function help(context)
|
help: function help(context)
|
||||||
{
|
{
|
||||||
context.title = ["Help"];
|
context.title = ["Help"];
|
||||||
|
context.anchored = false;
|
||||||
context.generate = function ()
|
context.generate = function ()
|
||||||
{
|
{
|
||||||
let res = config.helpFiles.map(function (file) {
|
let res = config.helpFiles.map(function (file) {
|
||||||
|
|||||||
@@ -171,7 +171,6 @@ function AutoCommands() //{{{
|
|||||||
completion.setFunctionCompleter(autocommands.get, [function () config.autocommands]);
|
completion.setFunctionCompleter(autocommands.get, [function () config.autocommands]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
||||||
__iterator__: function () util.Array.iterator(store),
|
__iterator__: function () util.Array.iterator(store),
|
||||||
@@ -255,7 +254,17 @@ function AutoCommands() //{{{
|
|||||||
|
|
||||||
liberator.echomsg("autocommand " + autoCmd.command, 9);
|
liberator.echomsg("autocommand " + autoCmd.command, 9);
|
||||||
if (typeof autoCmd.command == "function")
|
if (typeof autoCmd.command == "function")
|
||||||
autoCmd.command.call(autoCmd, args);
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
autoCmd.command.call(autoCmd, args);
|
||||||
|
}
|
||||||
|
catch(e)
|
||||||
|
{
|
||||||
|
liberator.reportError(e);
|
||||||
|
liberator.echoerr(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
liberator.execute(commands.replaceTokens(autoCmd.command, args));
|
liberator.execute(commands.replaceTokens(autoCmd.command, args));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ function Hints() //{{{
|
|||||||
// 'usermode' appropriately? We're generally not very well integrated
|
// 'usermode' appropriately? We're generally not very well integrated
|
||||||
// into FF so having menu items toggle Vimperator options may be
|
// into FF so having menu items toggle Vimperator options may be
|
||||||
// confusing. --djk
|
// confusing. --djk
|
||||||
if (window.getMarkupDocumentViewer().authorStyleDisabled)
|
if (getBrowser().markupDocumentViewer.authorStyleDisabled)
|
||||||
{
|
{
|
||||||
let css = [];
|
let css = [];
|
||||||
// FIXME: Broken for imgspans.
|
// FIXME: Broken for imgspans.
|
||||||
|
|||||||
@@ -119,9 +119,9 @@ function IO() //{{{
|
|||||||
if (path.exists() && path.normalize)
|
if (path.exists() && path.normalize)
|
||||||
path.normalize();
|
path.normalize();
|
||||||
}
|
}
|
||||||
catch(e)
|
catch (e)
|
||||||
{
|
{
|
||||||
return { exists: function () false, __noSuchMethod__: function () { throw e } };
|
return { exists: function () false, __noSuchMethod__: function () { throw e; } };
|
||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ const liberator = (function () //{{{
|
|||||||
"Allow reading of an RC file in the current directory",
|
"Allow reading of an RC file in the current directory",
|
||||||
"boolean", false);
|
"boolean", false);
|
||||||
|
|
||||||
|
|
||||||
const groups = {
|
const groups = {
|
||||||
config: {
|
config: {
|
||||||
opts: config.guioptions,
|
opts: config.guioptions,
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ BUGS:
|
|||||||
|
|
||||||
(recent CVS regressions):
|
(recent CVS regressions):
|
||||||
- visual caret mode is broken
|
- visual caret mode is broken
|
||||||
|
- BookmarkAdd is fired once for each bookmark periodically i.e. not in response to adding a bookmark
|
||||||
|
|
||||||
FEATURES:
|
FEATURES:
|
||||||
9 fix local options
|
9 fix local options
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ if (liberator.options.getPref("extensions.vimperator.commandline_cmd_history"))
|
|||||||
store = liberator.storage["quickmarks"];
|
store = liberator.storage["quickmarks"];
|
||||||
pref = liberator.options.getPref("extensions.vimperator.quickmarks")
|
pref = liberator.options.getPref("extensions.vimperator.quickmarks")
|
||||||
.split("\n");
|
.split("\n");
|
||||||
while(pref.length > 0)
|
while (pref.length > 0)
|
||||||
store.set(pref.shift(), pref.shift());
|
store.set(pref.shift(), pref.shift());
|
||||||
|
|
||||||
liberator.options.resetPref("extensions.vimperator.commandline_cmd_history");
|
liberator.options.resetPref("extensions.vimperator.commandline_cmd_history");
|
||||||
|
|||||||
Reference in New Issue
Block a user