1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 22:47:59 +01:00
Commit Graph

213 Commits

Author SHA1 Message Date
Doug Kearns
0cab11f017 Add a description to :command -nargs completion. 2009-08-16 01:35:04 +10:00
Doug Kearns
eca673911e Fix #335 (Escape quotes in page title when adding bookmarks with 'a' command). 2009-08-10 13:56:10 +10:00
Doug Kearns
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
5e2b5b014b Rename {Command,Map)#isUser{Command,Map} => #user. 2009-07-07 22:08:51 +10:00
Doug Kearns
8ef5ab8178 Add a Map#isUserMap property.
This is symmetrical with Command#isUserCommand although both should
probably be renamed #user given the other property names.
2009-07-01 18:52:32 +10:00
Doug Kearns
f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10:00
Doug Kearns
6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00
Doug Kearns
ec8d7686fc Move the standard type completers to appropriate modules. 2009-06-18 22:02:21 +10:00
Doug Kearns
e5c6d58a88 Fix some "for each" iteration of arrays. 2009-06-17 16:22:53 +10:00
Doug Kearns
bee39cacb7 Don't include the default -description value when serializing commands. 2009-06-04 17:05:53 +10:00
Doug Kearns
e762b6f9d4 Add a -description option to :command. 2009-06-04 14:28:32 +10:00
Doug Kearns
6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Doug Kearns
64a9c9554c Fix more function formatting faux pas as per the style guide. 2009-06-01 16:46:09 +10:00
Doug Kearns
73759f78f8 Remove silly guard clause from addCommand. 2009-05-24 23:32:05 +10:00
Kris Maglione
e9fc3327ed Make :undo a bit saner. Add TODO about config.name checks. 2009-05-22 13:55:22 -04:00
Doug Kearns
ee7e1244d3 Limit @: to config.browserModes. 2009-05-22 18:42:40 +10:00
Doug Kearns
da89552a1e Add @: mapping. 2009-05-22 12:47:57 +10:00
Doug Kearns
e12af69a09 Add some API docs for liberator. 2009-05-22 10:59:53 +10:00
Doug Kearns
26dabbfd0d Change multiline error message guard clauses to single line formatting.
Also apply similar formattng fixes to conditional blocks as per
standard.
2009-05-22 10:53:17 +10:00
Doug Kearns
111e27bf2e Add some very rough API documentation for Events. 2009-05-22 10:53:14 +10:00
Doug Kearns
f834cfcd6b Add some API documentation for Options and others. 2009-05-22 10:53:06 +10:00
Doug Kearns
56f1fe6c50 Remove some silly argument guard clauses.
Removed from Command(), Mapping() and Option().

Throw an exception if you care enough to check but we don't do so
anywhere else.
2009-05-15 00:39:47 +10:00
Doug Kearns
a487d34d7d Add some rough documentation for Mappings.
Someone should really add some polished documentation.
2009-05-15 00:37:46 +10:00
Kris Maglione
f3f70d5cb8 General cleanup related to last commit. 2009-04-15 16:31:32 -04:00
Martin Stubenschrott
5ab1771e3c changed my email address 2009-03-28 23:38:33 +01:00
anekos
e7c57052fa Fix: commands.parseArgs raises "Invalid option: .." Error.
When command(:foo) has NOARG option(-bar), ":foo -bar<CR>" raises the error.
2009-02-03 20:08:00 +09:00
anekos
3abd88276e Fix OPTION_NOARG's completion.
If the option is OPTION_NOARG, args[-opt] becomes null.
2009-01-20 23:40:07 +09:00
Kris Maglione
74256da392 Die on unclosed quote 2009-01-17 02:51:18 -05:00
Kris Maglione
00470a05b0 Generally insignificant aesthetic changes. 2009-01-14 00:07:17 -05:00
Ted Pavlic
d29013a2fd Three small changes (copyright, template.js copyright, and tildetidy target)
a.) Cleaned up copyright language to match conventions.
(I used the memoir document class documentation as a reference, but
 these conventions are common throughout publishing)

   * The (c) symbol has no legal meaning. Only the word "Copyright" and
     an encircled lowercase c are appropriate. So the word "Copyright"
     was placed before each (c).

   * Each (C) was changed to (c).

   * Kris uses the correct symbols in copyright notices, but those
     symbols can be problematic in terminal-mode editors. Added the word
     "Copyright" as well.

   * Replaced colons/spaces after years with the word "by."

b.) Added a copyright notice to common/content/template.js. It was
    missing one entirely. Please correct if it doesn't need one or if the
    copyright isn't held by Martin.

c.) Also added a "tildetidy" target to Makefile common that includes a
    version of the find line from the existing "clean" target (however,
    this version uses "rm -fv" instead of "rm -f").
2009-01-12 09:14:54 -05:00
Doug Kearns
723dd9cbca Fix user command completer listing in :command output. 2009-01-12 15:32:51 +11:00
Ted Pavlic
147cdab5d2 Update copyrights for 2009. 2009-01-11 00:47:56 -05:00
Kris Maglione
047c7e5cf2 Fix :mkv bug 2009-01-10 18:16:57 -05:00
Doug Kearns
5dbcd6f7e0 Add some rough source documentation for IO. 2009-01-11 01:12:30 +11:00
Doug Kearns
61d3fae8b4 Use self as the returned object from all creation functions. 2009-01-07 14:44:35 +11:00
Doug Kearns
0d3d8ce63b Remove old heredoc parsing cruft from commands.parseCommand. 2009-01-05 21:09:17 +11:00
Doug Kearns
e91fbcd754 Add some source documentation for AutoCommands.
Also normalise the use of /* */ and // comments.
2009-01-02 00:56:58 +11:00
Doug Kearns
eeca611435 Add some more rough source documentation. 2009-01-01 22:01:56 +11:00
anekos
6c9cef16f1 more '-quotes fix. 2008-12-29 07:29:59 +09:00
Doug Kearns
cf9cb136fc Whitespace fixes. 2008-12-23 22:34:02 +11:00
Kris Maglione
d7b20e26f5 Blur focused element on return to NORMAL mode. 2008-12-21 17:36:55 -05:00
Doug Kearns
fbb1f33fab Use the RegExp global function rather than calling the constructor. 2008-12-21 22:07:16 +11:00
Kris Maglione
e7a7093f0d Fix commands.js 2008-12-20 01:05:10 -05:00
Kris Maglione
a0eca3e2aa Document some more crap. 2008-12-19 19:09:07 -05:00
Kris Maglione
74700d3aff Document some more crap. 2008-12-19 13:27:01 -05:00
Doug Kearns
3801efb9ad minor refactoring of :command action 2008-12-19 23:50:12 +11:00
Doug Kearns
d60c81ef23 add missing semicolons 2008-12-19 23:00:14 +11:00
Doug Kearns
194aaf46eb brace formatting fixes 2008-12-19 19:07:17 +11:00
Kris Maglione
c094a2dd2b Fix */# 2008-12-18 18:21:01 -05:00
Doug Kearns
c11e153766 whitespace fixes 2008-12-18 21:06:51 +11:00