1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 18:42:27 +01:00
Commit Graph

201 Commits

Author SHA1 Message Date
Kris Maglione
ce88c8918d Sorry, committed some things accidentally, before. Added modes.addMode. Made some changes to Commands toward using the parser for completions. 2008-11-20 21:27:44 +00:00
Kris Maglione
a4072000c9 Add hints.addMode (e.g., hints.addMode("k", "Kill image", function (elem) elem.style.display="none", function () "//img")). Etc. 2008-11-18 20:10:24 +00:00
Doug Kearns
0b4232d401 add some more completion args for :command -complete 2008-11-14 14:50:39 +00:00
Doug Kearns
074df859c5 whitespace fixes 2008-11-13 15:45:30 +00:00
Doug Kearns
47fbbacf41 initial crack at :command -complete - YALNS 2008-11-13 15:41:08 +00:00
Kris Maglione
d7076c5aa5 Add some standard JS function completers for the liberator API 2008-11-12 23:55:34 +00:00
Doug Kearns
080cfd3304 refactor commands.{add*,get*} 2008-11-12 12:43:10 +00:00
Doug Kearns
5ed314964e fix :command listing and remove broken option filtering as it doesn't seem
generally useful
2008-11-11 14:50:31 +00:00
Doug Kearns
c6ad5faf9c refactor :delcommand action 2008-11-10 13:24:51 +00:00
Doug Kearns
1de3210214 fix -bang user commands regression 2008-11-10 13:19:16 +00:00
Doug Kearns
31ba397ff5 push literalArg onto the end of args.arguments in parseArgs - still a bit of a
mess
2008-11-03 06:00:44 +00:00
Doug Kearns
6dfc33035b whitespace and semicolon fixes 2008-11-02 11:54:56 +00:00
Doug Kearns
8aff700b67 whitespace fix 2008-11-01 09:29:13 +00:00
Doug Kearns
bf5c630575 simplify parseSpecs longname/shortname pattern 2008-11-01 05:39:48 +00:00
Kris Maglione
b904f580bb Add -append options to :hi and :sty. Fix some bugs (no, I don't know which bugs) 2008-11-01 02:04:42 +00:00
Doug Kearns
e84530b520 replace some match vars with matches for consistency's sake 2008-10-30 06:14:04 +00:00
Kris Maglione
3625aa1709 Use commandcomm /dev/null <(js -v 180 commands.js |& grep -v ReferenceError | grep .) in :mkv output 2008-10-30 04:03:58 +00:00
Kris Maglione
a53b702200 Generally niftier :mkv 2008-10-30 03:31:19 +00:00
Doug Kearns
9fc85871c8 fix typo in parseArgs#quoteArg 2008-10-19 08:01:09 +00:00
Doug Kearns
d14a32afa3 move array utility methods to util.Array 2008-10-19 07:26:17 +00:00
Doug Kearns
bec8d33e59 pass all command actions an args object - IMPORTANT: this will possibly break
your plugin, read the NEWS file
2008-10-17 11:39:25 +00:00
Doug Kearns
1394f483e4 declare some undeclared variables in parseOpt and whitespace fixes 2008-10-15 01:55:27 +00:00
Kris Maglione
ff7c3c1210 Add liberator.modules namespace, load scripts via subscript loader, report better errors on :so with here docs, beep when clicking an input field in command line mode. 2008-10-13 21:05:48 +00:00
Kris Maglione
cd0fb01dd4 with (liberator) 2008-10-13 00:50:03 +00:00
Kris Maglione
b84714bba6 Add a Struct() type for things like Bookmarks and Styles 2008-10-11 20:44:51 +00:00
Doug Kearns
fe970d315e remove extraneous fold markers from commands.parseArgs 2008-10-11 01:32:44 +00:00
Kris Maglione
29cc805622 Dont quote numbers, as per the previous behavior. 2008-10-11 00:22:53 +00:00
Kris Maglione
ff79cbf748 Add commands.replaceTokens 2008-10-11 00:21:07 +00:00
Kris Maglione
a1c082dda7 Add "literal" option to addCommand, to treat all args after argCount as a literal string 2008-10-10 20:02:33 +00:00
Kris Maglione
56dde515a0 Add the beginings of completion support to parseArgs 2008-10-10 19:03:38 +00:00
Doug Kearns
16164154ba add rough -nargs, -bang and -count support to :command 2008-10-10 13:52:08 +00:00
Doug Kearns
0c03963cf9 add count property to Command's extraInfo to specify whether the command
accepts a count/range
2008-10-06 10:42:06 +00:00
Doug Kearns
2ebb57fe93 rename Command's bangAllowed property to bang 2008-10-04 16:48:32 +00:00
Doug Kearns
6ef73cf313 whitespace fixes and revert some overly aggressive use of expression closures 2008-10-04 10:18:53 +00:00
Doug Kearns
156fa5d56f add bangAllowed property to Command's extraInfo to specify whether the bang
version of the command is available
2008-10-04 09:00:36 +00:00
Kris Maglione
1891746b9e Bunch-o-fixes, plus some non-trivial changes that I may wind up weeding out. 2008-10-04 04:08:03 +00:00
Doug Kearns
3ceecbaf52 use \S rather than a negated \s character set in patterns 2008-10-04 03:14:04 +00:00
Kris Maglione
40ff96452e Make some stuff nicer. Add heredoc support to :sty 2008-10-04 00:00:25 +00:00
Kris Maglione
1bb07747c4 Add :style and :delstyle commands. Need to write NEWS and :help entries, I suppose 2008-10-03 23:14:30 +00:00
Kris Maglione
76b6c530b1 Frob some fnords. 2008-10-02 06:42:42 +00:00
Kris Maglione
1cf325a539 Refactor HTML generation to use E4X. Could use some refactoring. 2008-09-30 23:37:33 +00:00
Doug Kearns
ce3cc55944 make sure all calls to command actions use sensible defaults 2008-09-29 09:40:52 +00:00
Doug Kearns
c076c8be0f fix some arg redeclarations 2008-09-28 12:51:53 +00:00
Doug Kearns
851d8d8383 use 'lambda' notation where appropriate 2008-09-23 10:06:04 +00:00
Doug Kearns
0d35d7c67d whitespace fixes 2008-09-21 11:12:32 +00:00
Doug Kearns
e64a7397df use let when declaring loop variables 2008-09-18 12:07:10 +00:00
Doug Kearns
0d2e00eb6b use the hl-Title class for the completion widget title 2008-09-16 16:09:14 +00:00
Doug Kearns
a0cbde84b1 remove redundant throwing of StopIteration from generators 2008-09-15 14:52:21 +00:00
Doug Kearns
f12f956e41 add liberator.dump() to prefix dump() messages with our extension name 2008-09-08 04:41:23 +00:00
Doug Kearns
f9a6d40697 add rudimentary <q-args> support to :command 2008-08-27 10:03:25 +00:00