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

178 Commits

Author SHA1 Message Date
Doug Kearns
7787f0a2ce Normalise the standard completer signatures to fn(context, args, ...).
This also fixes a number of the :command completers.

--HG--
extra : rebase_source : 588a9b5a163ba3882c89d0716f292ef9658297f6
2010-11-06 23:52:23 +11:00
Kris Maglione
a3c423a609 Closes issue #126. 2010-11-07 15:32:00 -05:00
Kris Maglione
506c684073 Fix some Firefox version-specific brokenness. 2010-11-07 07:33:25 -05:00
Doug Kearns
a33c68877e Improve "command line" <-> "command-line" usage.
--HG--
extra : rebase_source : daa8ab7737ea2e82ce48de78d5ae3e8434735cf4
2010-11-05 01:08:01 +11:00
Doug Kearns
4f14857d66 Normalise regex -> regexp.
This is what JS uses and using both is confusing.
2010-10-22 12:03:03 +11:00
Doug Kearns
377f8b01d4 Replace use of <b>arg</b> in API docs with *arg*.
--HG--
extra : rebase_source : f127ac4f494053e4306074f5acded34b2d363eef
2010-10-21 22:55:15 +11:00
Doug Kearns
a78a9d536d Remove unnecessary use of typeof when setting the default value of 'cpt'. 2010-10-21 05:27:56 +11:00
Doug Kearns
0c797196c4 Typo fixes.
--HG--
extra : rebase_source : ae1f5592e46693439e561f82fdf14b33885071e6
2010-10-20 00:26:54 +11:00
Kris Maglione
a3799d3d05 Import (and augment) my cookies plugin per Doug's suggestion, and improve dactyl.generateHelp (and :yank). 2010-10-15 00:30:03 -04:00
Kris Maglione
8582ea8ba5 Fix some option validators. Closes issue #78. 2010-10-12 11:04:57 -04:00
Kris Maglione
a3ce7ae169 Hack to hide -- COMMAND LINE -- with MOW open (what the... does multiline out mode have to do with command-line mode, anyway?) 2010-10-12 02:57:10 -04:00
Kris Maglione
ad458f4be1 Fix broken :exte completion. 2010-10-11 20:12:50 -04:00
Kris Maglione
2597be756a Fix completion list for functions that return augmented arrays. 2010-10-11 16:45:12 -04:00
Kris Maglione
b2a70aea71 Return a sane format from Option#value, rename {join,parse}Values to stringify/parse (c.f. JSON), and deprecate Option#values. 2010-10-11 04:40:07 -04:00
Kris Maglione
a59d88fee7 Basic Songbird 1.9a support.
--HG--
rename : xulmus/AUTHORS => melodactyl/AUTHORS
rename : xulmus/Makefile => melodactyl/Makefile
rename : xulmus/NEWS => melodactyl/NEWS
rename : xulmus/TODO => melodactyl/TODO
rename : xulmus/chrome.manifest => melodactyl/chrome.manifest
rename : xulmus/components/commandline-handler.js => melodactyl/components/commandline-handler.js
rename : xulmus/components/protocols.js => melodactyl/components/protocols.js
rename : xulmus/content/config.js => melodactyl/content/config.js
rename : xulmus/content/dactyl.dtd => melodactyl/content/dactyl.dtd
rename : xulmus/content/library.js => melodactyl/content/library.js
rename : xulmus/content/logo.png => melodactyl/content/logo.png
rename : xulmus/content/xulmus.xul => melodactyl/content/melodactyl.xul
rename : xulmus/content/player.js => melodactyl/content/player.js
rename : xulmus/content/xulmus.svg => melodactyl/content/xulmus.svg
rename : xulmus/contrib/vim/Makefile => melodactyl/contrib/vim/Makefile
rename : xulmus/contrib/vim/ftdetect/xulmus.vim => melodactyl/contrib/vim/ftdetect/melodactyl.vim
rename : xulmus/contrib/vim/mkvimball.txt => melodactyl/contrib/vim/mkvimball.txt
rename : xulmus/contrib/vim/syntax/xulmus.vim => melodactyl/contrib/vim/syntax/melodactyl.vim
rename : xulmus/defaults/preferences/dactyl.js => melodactyl/defaults/preferences/dactyl.js
rename : xulmus/install.rdf => melodactyl/install.rdf
rename : xulmus/locale/en-US/all.xml => melodactyl/locale/en-US/all.xml
rename : xulmus/locale/en-US/autocommands.xml => melodactyl/locale/en-US/autocommands.xml
rename : xulmus/locale/en-US/browsing.xml => melodactyl/locale/en-US/browsing.xml
rename : xulmus/locale/en-US/dactyl.dtd => melodactyl/locale/en-US/dactyl.dtd
rename : xulmus/locale/en-US/gui.xml => melodactyl/locale/en-US/gui.xml
rename : xulmus/locale/en-US/intro.xml => melodactyl/locale/en-US/intro.xml
rename : xulmus/locale/en-US/player.xml => melodactyl/locale/en-US/player.xml
rename : xulmus/locale/en-US/tabs.xml => melodactyl/locale/en-US/tabs.xml
rename : xulmus/skin/icon.png => melodactyl/skin/icon.png
2010-10-02 10:44:19 -04:00
Kris Maglione
21514370da Fix some args parsing bugs.
--HG--
extra : rebase_source : 1860f8e4e3dd69f26009c704626f41e668ae7e9f
2010-10-01 13:25:10 -04:00
Doug Kearns
7a09c698f7 Add some missing options to index.xml help page. 2010-10-01 23:55:13 +10:00
Kris Maglione
e539e0b7ed Fix zero-argument :qmarks form. Closes issue #26. 2010-09-27 11:35:01 -04:00
Kris Maglione
0956c9a83b Manually add list of global object properties to global objects.
--HG--
extra : rebase_source : 53318cbfe4a044e6bbf9facb1ce6bc5933ba6fd9
2010-09-25 12:28:55 -04:00
Kris Maglione
944b24864f Allow :set foo=bar | echo baz. 2010-09-25 01:43:02 -04:00
Kris Maglione
761b95156a Add crude CSS property completion. 2010-09-24 22:06:44 -04:00
Kris Maglione
9849fae88e Fix some substring completion issue. 2010-09-24 16:52:53 -04:00
Doug Kearns
c111b047c6 Fix a few more comment typos. 2010-09-24 16:52:32 +10:00
Doug Kearns
904f3cb974 More camel-casing.
isInstance -> isinstance as homage to instanceof.
2010-09-24 16:19:50 +10:00
Kris Maglione
2fd301c81a Speed up opening of the completion list and substring completion, significantly. 2010-09-23 21:49:46 -04:00
Kris Maglione
8225325577 Fix silly 'wildanchor' default. 2010-09-23 15:16:29 -04:00
Kris Maglione
2f30daa09e Add wildanchor option. 2010-09-23 15:15:09 -04:00
Doug Kearns
defa81b3d5 Camel-case some identifiers gone rogue.
Do not free a camel of the burden of his hump; you may be freeing him from
being a camel.
- G. K. Chesterton
2010-09-23 20:01:50 +10:00
Kris Maglione
8cee13c9d4 Fix some :ext* completion problems in FF 3.6. 2010-09-22 16:28:28 -04:00
Doug Kearns
cce6bb653e Add missing semicolons.
...let the good times roll.
2010-09-22 23:44:04 +10:00
Kris Maglione
bda1e1c260 Add 'altwildmode'. 2010-09-18 01:48:46 -04:00
Kris Maglione
3fe0b9238f Fix CompletionContext#allItems in wake of quoting fixes in revision 8ea6242902e4; other small fixes. 2010-09-17 23:13:52 -04:00
Kris Maglione
1557b70f45 Major documentation updates and formatting fixes, and many, many other changes thanks to an MQ glitch, including:
* Significant completion speed improvements
 * Significantly improve startup speed, in large part by lazily
   instantiating Options and Commands, lazily installing highlight
   stylesheets, etc.
 * Update logos and icons, fix atrocious about page
 * Fix Teledactyl
 * JavaScript completion now avoids accessing property values
 * Add Option#persist to define which options are saved with :mkp
 * Add new Dactyl component which holds add-on-specific configuration
   information and removes need for separate components for each dactyl
   host
 * Several fixes for latest nightlies
 * Significant code cleanup and many bug fixes

--HG--
rename : muttator/AUTHORS => teledactyl/AUTHORS
rename : muttator/Donors => teledactyl/Donors
rename : muttator/Makefile => teledactyl/Makefile
rename : muttator/NEWS => teledactyl/NEWS
rename : muttator/TODO => teledactyl/TODO
rename : muttator/chrome.manifest => teledactyl/chrome.manifest
rename : muttator/components/commandline-handler.js => teledactyl/components/commandline-handler.js
rename : muttator/components/protocols.js => teledactyl/components/protocols.js
rename : muttator/content/addressbook.js => teledactyl/content/addressbook.js
rename : muttator/content/compose/compose.js => teledactyl/content/compose/compose.js
rename : muttator/content/compose/compose.xul => teledactyl/content/compose/compose.xul
rename : muttator/content/compose/dactyl.dtd => teledactyl/content/compose/dactyl.dtd
rename : muttator/content/compose/dactyl.xul => teledactyl/content/compose/dactyl.xul
rename : muttator/content/config.js => teledactyl/content/config.js
rename : muttator/content/dactyl.dtd => teledactyl/content/dactyl.dtd
rename : muttator/content/logo.png => teledactyl/content/logo.png
rename : muttator/content/mail.js => teledactyl/content/mail.js
rename : muttator/content/muttator.xul => teledactyl/content/pentadactyl.xul
rename : muttator/contrib/vim/Makefile => teledactyl/contrib/vim/Makefile
rename : muttator/contrib/vim/ftdetect/muttator.vim => teledactyl/contrib/vim/ftdetect/muttator.vim
rename : muttator/contrib/vim/mkvimball.txt => teledactyl/contrib/vim/mkvimball.txt
rename : muttator/contrib/vim/syntax/muttator.vim => teledactyl/contrib/vim/syntax/muttator.vim
rename : muttator/install.rdf => teledactyl/install.rdf
rename : muttator/locale/en-US/Makefile => teledactyl/locale/en-US/Makefile
rename : muttator/locale/en-US/all.xml => teledactyl/locale/en-US/all.xml
rename : muttator/locale/en-US/autocommands.xml => teledactyl/locale/en-US/autocommands.xml
rename : muttator/locale/en-US/gui.xml => teledactyl/locale/en-US/gui.xml
rename : muttator/locale/en-US/intro.xml => teledactyl/locale/en-US/intro.xml
rename : muttator/skin/icon.png => teledactyl/skin/icon.png
2010-09-17 06:21:33 -04:00
Kris Maglione
47083c5b66 Don't use the word eval for fear that it may break "use strict" mode later. 2010-09-17 06:15:13 -04:00
Kris Maglione
a5213c3760 Precompute completion string matching function. 2010-09-17 06:15:13 -04:00
Kris Maglione
8b0d9586b2 Merge testing.
--HG--
rename : common/content/base.js => common/modules/base.jsm
rename : common/content/services.js => common/modules/services.jsm
rename : common/content/style.js => common/modules/styles.jsm
rename : common/content/template.js => common/modules/template.jsm
rename : common/content/util.js => common/modules/util.jsm
2010-08-31 21:09:13 -04:00
Kris Maglione
5632e14721 Prepare for merge with testing branch. 2010-08-28 15:47:45 -04:00
Kris Maglione
4e40abe6b0 Lots of rangefinder and Gecko 2 tabbing fixes. 2010-08-28 18:02:03 -04:00
Kris Maglione
924863cd61 imported patch dactylify
--HG--
rename : common/content/liberator-overlay.js => common/content/dactyl-overlay.js
rename : common/content/liberator.js => common/content/dactyl.js
rename : common/content/liberator.xul => common/content/dactyl.xul
rename : common/skin/liberator.css => common/skin/dactyl.css
rename : muttator/content/compose/liberator.dtd => muttator/content/compose/dactyl.dtd
rename : muttator/content/compose/liberator.xul => muttator/content/compose/dactyl.xul
rename : muttator/content/liberator.dtd => muttator/content/dactyl.dtd
rename : vimperator/AUTHORS => pentadactyl/AUTHORS
rename : vimperator/Donors => pentadactyl/Donors
rename : vimperator/Makefile => pentadactyl/Makefile
rename : vimperator/NEWS => pentadactyl/NEWS
rename : vimperator/TODO => pentadactyl/TODO
rename : vimperator/chrome.manifest => pentadactyl/chrome.manifest
rename : vimperator/components/about-handler.js => pentadactyl/components/about-handler.js
rename : vimperator/components/commandline-handler.js => pentadactyl/components/commandline-handler.js
rename : vimperator/components/protocols.js => pentadactyl/components/protocols.js
rename : vimperator/content/about.html => pentadactyl/content/about.html
rename : vimperator/content/about_background.png => pentadactyl/content/about_background.png
rename : vimperator/content/config.js => pentadactyl/content/config.js
rename : vimperator/content/liberator.dtd => pentadactyl/content/dactyl.dtd
rename : vimperator/content/logo.png => pentadactyl/content/logo.png
rename : vimperator/content/vimperator.svg => pentadactyl/content/pentadactyl.svg
rename : vimperator/content/vimperator.xul => pentadactyl/content/pentadactyl.xul
rename : vimperator/contrib/vim/Makefile => pentadactyl/contrib/vim/Makefile
rename : vimperator/contrib/vim/ftdetect/vimperator.vim => pentadactyl/contrib/vim/ftdetect/pentadactyl.vim
rename : vimperator/contrib/vim/mkvimball.txt => pentadactyl/contrib/vim/mkvimball.txt
rename : vimperator/contrib/vim/syntax/vimperator.vim => pentadactyl/contrib/vim/syntax/pentadactyl.vim
rename : vimperator/install.rdf => pentadactyl/install.rdf
rename : vimperator/locale/en-US/all.xml => pentadactyl/locale/en-US/all.xml
rename : vimperator/locale/en-US/autocommands.xml => pentadactyl/locale/en-US/autocommands.xml
rename : vimperator/locale/en-US/liberator.dtd => pentadactyl/locale/en-US/dactyl.dtd
rename : vimperator/locale/en-US/gui.xml => pentadactyl/locale/en-US/gui.xml
rename : vimperator/locale/en-US/intro.xml => pentadactyl/locale/en-US/intro.xml
rename : vimperator/locale/en-US/options.xml => pentadactyl/locale/en-US/options.xml
rename : vimperator/locale/en-US/tutorial.xml => pentadactyl/locale/en-US/tutorial.xml
rename : vimperator/vimperatorrc.example => pentadactyl/pentadactylrc.example
rename : vimperator/regressions.js => pentadactyl/regressions.js
rename : vimperator/skin/about.css => pentadactyl/skin/about.css
rename : vimperator/skin/icon.png => pentadactyl/skin/icon.png
rename : xulmus/content/liberator.dtd => xulmus/content/dactyl.dtd
rename : xulmus/locale/en-US/liberator.dtd => xulmus/locale/en-US/dactyl.dtd
2010-08-28 18:02:03 -04:00
Kris Maglione
7a6365b54f Merge.
--HG--
branch : testing
2010-08-26 15:18:49 -04:00
Kris Maglione
a0cb07e7d7 Some smallish fixes.
--HG--
branch : testing
2010-08-26 11:40:59 -04:00
Kris Maglione
daa2d5dcc5 Use JS5's strict mode. But, alas! it outlaws octal! Oh the inanity...
--HG--
branch : testing
2010-08-15 07:49:52 -04:00
Kris Maglione
bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05:00
anekos
c3ec6fff4a Fix: completion.url
completion.url(foo, "") misuse option["complete"].
2009-11-28 08:45:23 +09:00
Kris Maglione
61002641a3 Context-specific completer options. Option refactoring.
New review
Owner: dougkearns
Hopefully the changeset hash will actually be linked this time. If
not, it's the tip of the testing branch, presumably r4161.
I've been meaning to do this for a while. It allows case matching,
sorting, and auto completion options to be assigned on a per context
basis, with fine grained control. It also adds builtin regex support
to options since it's used fairly extensively. There are definitely
other options that would benefit from the regexlist type, if I can
dig them up. The interface (and perhaps the doc wording) is the only
place I'm really ambivalent.

--HG--
branch : testing
2009-11-20 15:37:39 -05:00
Doug Kearns
49bedfa5c2 Fix some JS warnings. 2009-11-17 15:13:10 +11:00
Kris Maglione
cdaa26f968 Add 'javascript' module. Misc fixes along the way. 2009-11-15 02:08:10 -05:00
Kris Maglione
a5f30ec7cc Clean up Struct constructor. 2009-11-14 21:43:57 -05:00
teramako
8be2de8be7 add 'jsdebugger' option
for javascript completion
2009-11-15 00:49:24 +09:00
Doug Kearns
52749d6722 Remove some redundant uses of "new". 2009-11-14 23:07:56 +11:00