1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-20 17:01:26 +02:00
Commit Graph

215 Commits

Author SHA1 Message Date
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 152e6d5a1f Complete :sanitize and private mode overhaul.
--HG--
rename : common/content/sanitizer.js => common/modules/sanitizer.jsm
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 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 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
Doug Kearns cb7cff5766 Only call update() in (Command|Option|Map)#init if the extra config map was specified. 2009-11-17 13:56:12 +11:00
Doug Kearns 230490db05 Move Map's property definitions outside init.
--HG--
extra : rebase_source : 6ab30f7e512283852024f2de6abc69f203f5e8d3
2009-11-16 23:45:11 +11:00
Kris Maglione cdaa26f968 Add 'javascript' module. Misc fixes along the way. 2009-11-15 02:08:10 -05:00
Doug Kearns 52749d6722 Remove some redundant uses of "new". 2009-11-14 23:07:56 +11:00
Kris Maglione 91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Doug Kearns 41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione 12012af693 More RangeFind work. 2009-11-13 03:00:46 -05:00
Kris Maglione 4658d7e211 Fix some crap. 2009-11-09 12:54:04 -05:00
Kris Maglione ce2b7893e4 Fix some crap. Closes issue #145. 2009-11-09 08:09:27 -05:00
Kris Maglione 6a25312c7d Recfactoring:
* Standard module format. All modules are explicitly declared
   as modules, they're created via a constructor and
   instantiated automatically. They're dependency aware. They
   stringify properly.

 * Classes are declared the same way (rather like Structs
   already were). They also stringify properly. Plus, each
   instance has a rather nifty closure member that closes all
   of its methods around 'this', so you can pass them to map,
   forEach, setTimeout, etc. Modules are themselves classes,
   with a special metaclass, as it were.

 * Doug Crockford is dead, metaphorically speaking.
   Closure-based classes just don't fit into any of the common
   JavaScript frameworks, and they're inefficient and
   confusing. Now, all class and module members are accessed
   explicitly via 'this', which makes it very clear that
   they're class members and not (e.g.) local variables,
   without anything nasty like Hungarian notation.

 * Strictly one module per file. Classes that belong to a
   module live in the same file.

 * For the moment, there are quite a few utility functions
   sitting in base.c, because my class implementation used
   them, and I haven't had the time or inclination to sort them
   out. I plan to reconcile them with the current mess that is
   the util namespace.

 * Changed bracing style.
2009-11-08 20:54:31 -05:00
Kris Maglione 1ce498401e Add liberator.assert. 2009-11-03 02:36:48 -05:00
Kris Maglione 8292f6384c Fix mappings when mode.addMode used after initialization.
--HG--
extra : rebase_source : 03fcc73999f01ef1987cf22c0061fbcfebf0bc23
2009-10-08 15:40:18 -04:00
Martin Stubenschrott 3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns dbc99ad956 Revert "Move util.Array to modules.Array_."
This reverts commit d6cdda48a18c9fa05365b50046470fec9935fd3c.

Array_ method chaining needs fixing.
2009-09-15 13:20:06 +10:00
Doug Kearns 7c66dc2b17 Move util.Array to modules.Array_. 2009-09-14 15:19:56 +10:00
Doug Kearns 2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Doug Kearns c958616337 Formatting fixes. 2009-08-27 14:46:30 +10:00
Kris Maglione 9d77c018ca Fix something to do with <a>. 2009-08-19 14:03:14 -04:00
Doug Kearns 5b595b013b Fix #334 (mkv! writes (v|n)noremap to vimperatorrc). 2009-08-16 01:45:15 +10:00
Doug Kearns 83808b2a13 Fix mode indicators in :map output. 2009-08-16 01:44:20 +10:00
Doug Kearns 77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns 18bf61c1e0 Match Vim's behaviour with <Nop> in the RHS of a mapping.
<Nop> is not remapped if it is the complete RHS of a mapping otherwise
it behaves like any other key.
2009-07-11 00:43:58 +10:00
Doug Kearns 5e2b5b014b Rename {Command,Map)#isUser{Command,Map} => #user. 2009-07-07 22:08:51 +10:00
Kris Maglione 6d7c247eac Remove liberator.log from addMap 2009-07-02 11:00:40 -04:00
Doug Kearns 29ce60821b Fix typo in mappings.addUserMap - broken in 5a9b51a. 2009-07-02 18:25:23 +10:00
Doug Kearns ddf3383619 Relocate mappings.get function completer to COMPLETION section. 2009-07-01 19:06:25 +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 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 5e8de51bcb Don't add :*map commands multiple times.
Multiple modes may share the same mode character. E.g. Textarea and
Insert modes.
2009-06-17 00:13:22 +10:00
Kris Maglione d12f77e347 Revert "Undo unacknowledged damage in penultimate commit."
This reverts commit b1455b31491b4443a4789b91ca3d172d55c1b424.
2009-06-06 23:50:26 -04:00
Kris Maglione f33100d579 Undo unacknowledged damage in penultimate commit. 2009-06-06 23:39:21 -04:00
Conrad Irwin 4892a927f8 Fix #232 (pass count through :mapped commands) 2009-06-07 03:02:11 +01:00
Conrad Irwin 834acb2776 Canonicalize map body. 2009-06-07 02:36:56 +01:00
Doug Kearns 6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Martin Stubenschrott 3e984c776d clean up HACKING file a little, and rename canonKeys method 2009-06-01 14:45:57 +02:00
Doug Kearns 64a9c9554c Fix more function formatting faux pas as per the style guide. 2009-06-01 16:46:09 +10:00
Kris Maglione b8aab050e9 Remove some config.name checks. Add configbase module. 2009-05-23 21:10:32 -04:00
Kris Maglione 955ee4185b Fix things like ":map :", ":map +", but not things like ":map <Plus>". Ideas? 2009-05-22 22:18:10 -04:00
Kris Maglione 36f6ff463f Store canonical names for all bound keys. 2009-05-22 22:12:11 -04: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 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 f834cfcd6b Add some API documentation for Options and others. 2009-05-22 10:53:06 +10:00