1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-25 20:55:45 +01:00

Use host branding dtd. Purge help of residual Vimperator/Firefox references.

--HG--
branch : xslt
This commit is contained in:
Kris Maglione
2009-10-25 15:20:56 -04:00
parent 9e531ca343
commit 10091e0fd1
12 changed files with 35 additions and 27 deletions

View File

@@ -30,7 +30,7 @@
variables. variables.
</p> </p>
<p>Add <a>cmd</a> to the list of commands Vimperator will execute on <a>event</a> for a URL matching <a>pat</a>:</p> <p>Add <a>cmd</a> to the list of commands &liberator.appname; will execute on <a>event</a> for a URL matching <a>pat</a>:</p>
<ul> <ul>
<li><ex>:autocmd[!]</ex> <a>events</a> <a>pat</a>: list/remove autocommands filtered by <a>events</a> and <a>pat</a></li> <li><ex>:autocmd[!]</ex> <a>events</a> <a>pat</a>: list/remove autocommands filtered by <a>events</a> and <a>pat</a></li>

View File

@@ -10,9 +10,9 @@
xmlns:html="http://www.w3.org/1999/xhtml"> xmlns:html="http://www.w3.org/1999/xhtml">
<h2 tag="surfing browsing">Browsing</h2> <h2 tag="surfing browsing">Browsing</h2>
Vimperator overrides nearly all Firefox keys in order to make browsing more &liberator.appname; overrides nearly all &liberator.host; keys in order to make browsing more
pleasant for Vim users. On the rare occasions when you want to pass a keystroke pleasant for Vim users. On the rare occasions when you want to pass a keystroke
to Firefox, or to the web page, and have it retain its original meaning you to &liberator.host;, or to the web page, and have it retain its original meaning you
have 2 possibilities: have 2 possibilities:
<item> <item>
@@ -20,7 +20,7 @@ have 2 possibilities:
<spec>CTRL-Z</spec> <spec>CTRL-Z</spec>
<description> <description>
<p> <p>
Disable all Vimperator keys except <k name="Esc"/> and pass them to the next event Disable all &liberator.appname; keys except <k name="Esc"/> and pass them to the next event
handler. This is especially useful if JavaScript controlled forms (e.g., the handler. This is especially useful if JavaScript controlled forms (e.g., the
RichEdit form fields of Gmail) don't work anymore. To exit this mode, press RichEdit form fields of Gmail) don't work anymore. To exit this mode, press
<k name="Esc"/>. If you also need to pass <k name="Esc"/> in this mode to the web page, <k name="Esc"/>. If you also need to pass <k name="Esc"/> in this mode to the web page,
@@ -36,10 +36,10 @@ have 2 possibilities:
<description> <description>
<p> <p>
If you only need to pass a single key to a JavaScript form field or another If you only need to pass a single key to a JavaScript form field or another
extension prefix the key with <k name="C-v"/>. Also works to unshadow Firefox extension prefix the key with <k name="C-v"/>. Also works to unshadow &liberator.host;
shortcuts like <k name="C-o"/> which are otherwise hidden in Vimperator. When shortcuts like <k name="C-o"/> which are otherwise hidden in &liberator.appname;. When
Vimperator mode is temporarily disabled with <k name="C-z"/>, <k name="C-v"/> will pass &liberator.appname; mode is temporarily disabled with <k name="C-z"/>, <k name="C-v"/> will pass
the next key to Vimperator instead of the web page. the next key to &liberator.appname; instead of the web page.
</p> </p>
</description> </description>
</item> </item>
@@ -86,7 +86,7 @@ have 2 possibilities:
opens a Google search for linus torvalds). opens a Google search for linus torvalds).
</li> </li>
<li> <li>
Passed directly to Firefox in all other cases Passed directly to &liberator.host; in all other cases
(<ex>:open www.osnews.com, www.slashdot.org</ex> (<ex>:open www.osnews.com, www.slashdot.org</ex>
opens OSNews in the current, and Slashdot in a new opens OSNews in the current, and Slashdot in a new
background tab). background tab).
@@ -440,7 +440,7 @@ have 2 possibilities:
<description> <description>
<p> <p>
Quit current tab. If this is the last tab in the window, close the window. If Quit current tab. If this is the last tab in the window, close the window. If
this was the last window, close Vimperator. When quitting Vimperator, the this was the last window, close &liberator.appname;. When quitting &liberator.appname;, the
session is not stored. session is not stored.
</p> </p>
</description> </description>
@@ -452,7 +452,7 @@ have 2 possibilities:
<spec>:quita<oa>ll</oa></spec> <spec>:quita<oa>ll</oa></spec>
<description> <description>
<p> <p>
Quit Vimperator. Quit Vimperator, no matter how many tabs/windows are open. Quit &liberator.appname;. Quit &liberator.appname;, no matter how many tabs/windows are open.
The session is not stored. The session is not stored.
</p> </p>
</description> </description>
@@ -483,7 +483,7 @@ have 2 possibilities:
<spec>:xa<oa>ll</oa></spec> <spec>:xa<oa>ll</oa></spec>
<description> <description>
<p> <p>
Save the session and quit. Quit Vimperator, no matter how many tabs/windows Save the session and quit. Quit &liberator.appname;, no matter how many tabs/windows
are open. The session is stored. <ex>:wq</ex> is different from Vim, as it are open. The session is stored. <ex>:wq</ex> is different from Vim, as it
closes the window instead of just one tab by popular demand. Complain on the closes the window instead of just one tab by popular demand. Complain on the
mailing list if you want to change that. mailing list if you want to change that.
@@ -506,7 +506,7 @@ have 2 possibilities:
<spec>ZZ</spec> <spec>ZZ</spec>
<description> <description>
<p> <p>
Quit and save the session. Quit Vimperator, no matter how many tabs/windows Quit and save the session. Quit &liberator.appname;, no matter how many tabs/windows
are open. The session is stored. Works like <ex>:xall</ex>. are open. The session is stored. Works like <ex>:xall</ex>.
</p> </p>
</description> </description>

View File

@@ -10,7 +10,7 @@
xmlns:html="http://www.w3.org/1999/xhtml"> xmlns:html="http://www.w3.org/1999/xhtml">
<h2 tag="buffer document">Buffer</h2> <h2 tag="buffer document">Buffer</h2>
Vimperator holds exactly one buffer object for each tab. It is usually an &liberator.appname; holds exactly one buffer object for each tab. It is usually an
(X)HTML document with advanced features. (X)HTML document with advanced features.
<h2 tag="buffer-information">Buffer information</h2> <h2 tag="buffer-information">Buffer information</h2>
@@ -357,7 +357,7 @@ default zoom levels are 30%, 50%, 67%, 80%, 90%, 100%, 110%, 120%, 133%, 150%,
The available zoom range can be changed by setting the The available zoom range can be changed by setting the
<link topic="http://kb.mozillazine.org/Zoom.minPercent">'zoom.minPercent'</link> and <link topic="http://kb.mozillazine.org/Zoom.minPercent">'zoom.minPercent'</link> and
<link topic="http://kb.mozillazine.org/Zoom.maxPercent">'zoom.maxPercent'</link> Firefox <link topic="http://kb.mozillazine.org/Zoom.maxPercent">'zoom.maxPercent'</link> &liberator.host;
preferences. The zoom levels can be changed using the preferences. The zoom levels can be changed using the
<link topic="http://kb.mozillazine.org/Toolkit.zoomManager.zoomValues">'toolkit.ZoomManager.zoomLevels'</link> <link topic="http://kb.mozillazine.org/Toolkit.zoomManager.zoomValues">'toolkit.ZoomManager.zoomLevels'</link>
preference. preference.

View File

@@ -83,12 +83,12 @@
<p> <p>
The special version <ex>:javascript!</ex> opens the JavaScript console of The special version <ex>:javascript!</ex> opens the JavaScript console of
Firefox. &liberator.host;.
</p> </p>
<p> <p>
<k name="Tab"/> completion is available for <ex>:javascript <a>cmd</a><k name="Tab"/></ex> (but not <k name="Tab"/> completion is available for <ex>:javascript <a>cmd</a><k name="Tab"/></ex> (but not
yet for the <ex>:js &lt;&lt;EOF</ex> multiline widget). Be aware that Vimperator needs yet for the <ex>:js &lt;&lt;EOF</ex> multiline widget). Be aware that &liberator.appname; needs
to run <a>cmd</a> through eval() to get the completions, which could have unwanted to run <a>cmd</a> through eval() to get the completions, which could have unwanted
side effects. side effects.
</p> </p>

View File

@@ -51,7 +51,7 @@
<item> <item>
<tags>:dia :dialog</tags> <tags>:dia :dialog</tags>
<spec>:dia<oa>log</oa> <oa>firefox-dialog</oa></spec> <spec>:dia<oa>log</oa> <oa>&liberator.host;-dialog</oa></spec>
<description> <description>
<p>Open a &liberator.host; dialog.</p> <p>Open a &liberator.host; dialog.</p>

View File

@@ -10,7 +10,7 @@
xmlns:html="http://www.w3.org/1999/xhtml"> xmlns:html="http://www.w3.org/1999/xhtml">
<h1 tag="quick-hints hints">Hints</h1> <h1 tag="quick-hints hints">Hints</h1>
Hints are the way in which Vimperator allows you to follow links on a page. By Hints are the way in which &liberator.appname; allows you to follow links on a page. By
providing each link with a suitable hint, you can access all links with a providing each link with a suitable hint, you can access all links with a
similar amount of minimal effort. This contrasts strongly with the traditional similar amount of minimal effort. This contrasts strongly with the traditional
approaches offered by the mouse, in which you must first find and then aim for approaches offered by the mouse, in which you must first find and then aim for
@@ -46,7 +46,7 @@ tedious unless you always visit the first link on a page.
Start QuickHint mode, but open link in a new tab. Like normal QuickHint Start QuickHint mode, but open link in a new tab. Like normal QuickHint
mode (activated with <k>f</k>) but opens the link in a new tab. The new mode (activated with <k>f</k>) but opens the link in a new tab. The new
tab will be loaded in background according to the tab will be loaded in background according to the
<str>browser.tabs.loadInBackground</str> Firefox preference. <str>browser.tabs.loadInBackground</str> &liberator.host; preference.
</p> </p>
</description> </description>
</item> </item>

View File

@@ -11,14 +11,14 @@
<h1 tag="different-marks marks">Marks</h1> <h1 tag="different-marks marks">Marks</h1>
<p> <p>
Vimperator supports a number of different marks: &liberator.appname; supports a number of different marks:
</p> </p>
<ul> <ul>
<li>Bookmarks which allow you to mark a web page as one of your favorites for easy access.</li> <li>Bookmarks which allow you to mark a web page as one of your favorites for easy access.</li>
<li>QuickMarks allow you to define up to 62 (a-zA-Z0-9) web sites (or groups of web sites) which you visit most often.</li> <li>QuickMarks allow you to define up to 62 (a-zA-Z0-9) web sites (or groups of web sites) which you visit most often.</li>
<li>Local marks to store the position within a web page.</li> <li>Local marks to store the position within a web page.</li>
<li>History is also a special type of marks, as Vimperator automatically remembers sites which you have visited in the past.</li> <li>History is also a special type of marks, as &liberator.appname; automatically remembers sites which you have visited in the past.</li>
</ul> </ul>
<h1 tag="bookmarks">Bookmarks</h1> <h1 tag="bookmarks">Bookmarks</h1>

View File

@@ -210,7 +210,7 @@
character) or <em>$<a>VAR</a></em>. <em>%VAR%</em> is also supported on Windows. character) or <em>$<a>VAR</a></em>. <em>%VAR%</em> is also supported on Windows.
</p> </p>
<h2 tag="firefox-options preferences">Setting &liberator.host; options</h2> <h2 tag="&liberator.host;-options preferences">Setting &liberator.host; options</h2>
<p>&liberator.host; options can be viewed and set with the following commands:</p> <p>&liberator.host; options can be viewed and set with the following commands:</p>

View File

@@ -33,7 +33,7 @@
</item> </item>
<h2 tag="firefox-print-dialogs">&liberator.host; printing dialogs</h2> <h2 tag="&liberator.host;-print-dialogs">&liberator.host; printing dialogs</h2>
<p> <p>
The "Print Preview" and "Page Setup" dialogs can be opened via the <ex>:dialog</ex> The "Print Preview" and "Page Setup" dialogs can be opened via the <ex>:dialog</ex>

View File

@@ -15,7 +15,7 @@
<p> <p>
Command-line options can be passed to &liberator.appname; via the -&liberator.name; &liberator.host; Command-line options can be passed to &liberator.appname; via the -&liberator.name; &liberator.host;
option. These are passed as single string argument. option. These are passed as single string argument.
E.g., firefox -&liberator.name; <str>++cmd 'set exrc' +u 'tempRcFile' ++noplugin</str> E.g., &liberator.hostbin; -&liberator.name; <str>++cmd 'set exrc' +u 'tempRcFile' ++noplugin</str>
</p> </p>
<item> <item>

View File

@@ -1,9 +1,13 @@
<!ENTITY % liberatorBranding SYSTEM "chrome://branding/locale/brand.dtd">
%liberatorBranding;
<!ENTITY liberator.mainWindow "main-window"> <!ENTITY liberator.mainWindow "main-window">
<!ENTITY liberator.name "vimperator"> <!ENTITY liberator.name "vimperator">
<!ENTITY liberator.idname "VIMPERATOR"> <!ENTITY liberator.idname "VIMPERATOR">
<!ENTITY liberator.appname "Vimperator"> <!ENTITY liberator.appname "Vimperator">
<!ENTITY liberator.host "Firefox"> <!ENTITY liberator.host "&brandShortName;">
<!ENTITY liberator.hostbin "firefox">
<!ENTITY liberator.statusBefore "statusbar-display"> <!ENTITY liberator.statusBefore "statusbar-display">
<!ENTITY liberator.statusAfter ""> <!ENTITY liberator.statusAfter "">

View File

@@ -1,9 +1,13 @@
<!ENTITY % liberatorBranding SYSTEM "chrome://branding/locale/brand.dtd">
%liberatorBranding;
<!ENTITY liberator.mainWindow "mainplayer"> <!ENTITY liberator.mainWindow "mainplayer">
<!ENTITY liberator.name "xulmus"> <!ENTITY liberator.name "xulmus">
<!ENTITY liberator.appname "Xulmus"> <!ENTITY liberator.appname "Xulmus">
<!ENTITY liberator.idname "XULMUS"> <!ENTITY liberator.idname "XULMUS">
<!ENTITY liberator.host "Songbird"> <!ENTITY liberator.host "&brandShortName">
<!ENTITY liberator.hostbin "songbird">
<!ENTITY liberator.statusBefore "statusbar-display"> <!ENTITY liberator.statusBefore "statusbar-display">
<!ENTITY liberator.statusAfter ""> <!ENTITY liberator.statusAfter "">