mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 11:48:00 +01:00
renamed Startup, Quit and QuitPre autocmd events to VimperatorEnter,
VimperatorLeave and VimperatorLeavePre
This commit is contained in:
4
NEWS
4
NEWS
@@ -1,10 +1,12 @@
|
|||||||
<pre>
|
<pre>
|
||||||
2008-XX-XX:
|
2008-XX-XX:
|
||||||
* version 2.0 (probably)
|
* version 2.0 (probably)
|
||||||
|
* renamed Startup and Quit autocmd events to VimperatorEnter and
|
||||||
|
VimperatorLeave respectively
|
||||||
* add 'helpfile' option
|
* add 'helpfile' option
|
||||||
* add 'wildignore' option
|
* add 'wildignore' option
|
||||||
* add :finish command
|
* add :finish command
|
||||||
* new events BookmarkPost, ShellCmdPost, QuitPre
|
* new events BookmarkAdd, ShellCmdPost, VimperatorLeavePre
|
||||||
* add 'cdpath' option
|
* add 'cdpath' option
|
||||||
* allow :dialog to open the cookies manager
|
* allow :dialog to open the cookies manager
|
||||||
* add 'loadplugins' option
|
* add 'loadplugins' option
|
||||||
|
|||||||
@@ -1075,7 +1075,7 @@ const liberator = (function () //{{{
|
|||||||
option.reset();
|
option.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
liberator.autocommands.trigger("Startup", "");
|
liberator.autocommands.trigger(liberator.config.name + "Enter", "");
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
liberator.statusline.update();
|
liberator.statusline.update();
|
||||||
@@ -1085,7 +1085,7 @@ const liberator = (function () //{{{
|
|||||||
|
|
||||||
shutdown: function ()
|
shutdown: function ()
|
||||||
{
|
{
|
||||||
liberator.autocommands.trigger("QuitPre", "");
|
liberator.autocommands.trigger(liberator.config.name + "LeavePre", "");
|
||||||
|
|
||||||
// save our preferences
|
// save our preferences
|
||||||
liberator.commandline.destroy();
|
liberator.commandline.destroy();
|
||||||
@@ -1096,7 +1096,7 @@ const liberator = (function () //{{{
|
|||||||
|
|
||||||
liberator.dump("All liberator modules destroyed\n");
|
liberator.dump("All liberator modules destroyed\n");
|
||||||
|
|
||||||
liberator.autocommands.trigger("Quit", "");
|
liberator.autocommands.trigger(liberator.config.name + "Leave", "");
|
||||||
},
|
},
|
||||||
|
|
||||||
sleep: function (ms)
|
sleep: function (ms)
|
||||||
|
|||||||
@@ -49,8 +49,9 @@ liberator.config = { //{{{
|
|||||||
autocommands: [["FolderLoaded", "Triggered after switching folders in Thunderbird"],
|
autocommands: [["FolderLoaded", "Triggered after switching folders in Thunderbird"],
|
||||||
["PageLoadPre", "Triggered after a page load is initiated"],
|
["PageLoadPre", "Triggered after a page load is initiated"],
|
||||||
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
||||||
["Quit", "Triggered before exiting Thunderbird"],
|
["MuttatorEnter", "Triggered after Thunderbird starts"],
|
||||||
["Startup", "Triggered after Thunderbird starts"]],
|
["MuttatorLeave", "Triggered before exiting Thunderbird"],
|
||||||
|
["MuttatorLeavePre", "Triggered before exiting Thunderbird"]],
|
||||||
|
|
||||||
dialogs: [
|
dialogs: [
|
||||||
["about", "About Thunderbird",
|
["about", "About Thunderbird",
|
||||||
|
|||||||
@@ -42,10 +42,10 @@ liberator.config = { //{{{
|
|||||||
["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
["LocationChange", "Triggered when changing tabs or when naviagtion to a new location"],
|
||||||
["PageLoadPre", "Triggered after a page load is initiated"],
|
["PageLoadPre", "Triggered after a page load is initiated"],
|
||||||
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
["PageLoad", "Triggered when a page gets (re)loaded/opened"],
|
||||||
["QuitPre", "Triggered before exiting Firefox, just before destroying each module"],
|
|
||||||
["Quit", "Triggered before exiting Firefox"],
|
|
||||||
["ShellCmdPost", "Triggered after executing a shell command with :!cmd"],
|
["ShellCmdPost", "Triggered after executing a shell command with :!cmd"],
|
||||||
["Startup", "Triggered after Firefox starts"]],
|
["VimperatorEnter", "Triggered after Firefox starts"],
|
||||||
|
["VimperatorLeavePre", "Triggered before exiting Firefox, just before destroying each module"],
|
||||||
|
["VimperatorLeave", "Triggered before exiting Firefox"]],
|
||||||
|
|
||||||
dialogs: [
|
dialogs: [
|
||||||
["about", "About Firefox",
|
["about", "About Firefox",
|
||||||
|
|||||||
@@ -19,15 +19,15 @@ Add {cmd} to the list of commands Vimperator will execute on {event} for a URL m
|
|||||||
|
|
||||||
Available {events}:
|
Available {events}:
|
||||||
|
|
||||||
`----------------`--------------------------------------------
|
`--------------------`----------------------------------------
|
||||||
*BookmarkAdd* Triggered after a page is bookmarked
|
*BookmarkAdd* Triggered after a page is bookmarked
|
||||||
*LocationChange* Triggered when changing tabs or when navigating to a new location
|
*LocationChange* Triggered when changing tabs or when navigating to a new location
|
||||||
*PageLoadPre* Triggered after a page load is initiated.
|
*PageLoadPre* Triggered after a page load is initiated.
|
||||||
*PageLoad* Triggered when a page gets (re)loaded/opened
|
*PageLoad* Triggered when a page gets (re)loaded/opened
|
||||||
*QuitPre* Triggered before exiting Firefox, just before destroying each module
|
|
||||||
*Quit* Triggered before exiting Firefox
|
|
||||||
*ShellCmdPost* Triggered after executing a shell command with :!cmd
|
*ShellCmdPost* Triggered after executing a shell command with :!cmd
|
||||||
*Startup* Triggered after Firefox starts
|
*VimperatorEnter* Triggered after Firefox starts
|
||||||
|
*VimperatorLeavePre* Triggered before exiting Firefox, just before destroying each module
|
||||||
|
*VimperatorLeave* Triggered before exiting Firefox
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
|
|
||||||
{pat} is a regular expression, use .* if you want to match all URLs. Note: This
|
{pat} is a regular expression, use .* if you want to match all URLs. Note: This
|
||||||
|
|||||||
Reference in New Issue
Block a user