Kris Maglione
6f95b33694
Don't collapse command-line selection on mode change.
2010-10-23 18:12:39 -04:00
Doug Kearns
72b38d2d2e
Remove crufty comment.
...
--HG--
extra : rebase_source : 3d39efb98c9dd571d019862dded2e6a2cc123c7d
2010-10-15 04:34:14 +11:00
Kris Maglione
b0eb3230ab
Remove debugging statements from last commit.
2010-10-14 17:35:37 -04:00
Kris Maglione
abf234ee0b
Impliment more focus change hacks until my next patch is finished.
2010-10-14 17:32:00 -04:00
Kris Maglione
a703d0a3bf
Integrate sanitizer with host UI, sanitize at shutdown support, and control which items are sanitized when more thoroughly. Closes issue #70 .
2010-10-14 03:29:56 -04:00
Kris Maglione
46f871571d
Add some temporary debugging code to catch the last element of the mode stack being popped.
2010-10-12 15:58:07 -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
a682373e27
Replace spurious modes.replace call that Doug, er, warned be about before I committed it.
...
--HG--
branch : mode-refactoring
2010-10-09 02:26:12 -04:00
Kris Maglione
fbba50e267
Merge default.
...
--HG--
branch : mode-refactoring
2010-10-08 23:45:52 -04:00
Kris Maglione
42d79460e2
Change the timing of mode-change callbacks slightly. Fix some message display bugs.
...
--HG--
branch : mode-refactoring
2010-10-08 20:49:54 -04:00
Kris Maglione
0856343b40
Rename TEXTAREA mode to TEXT EDIT mode, and move it from :imap to :tmap.
...
--HG--
branch : mode-refactoring
2010-10-08 13:42:16 -04:00
Doug Kearns
a74f5df6c7
Use null rather than -1 for specifying a non-existent mode display function.
...
--HG--
extra : rebase_source : 1709c70c9e792c2f52009728fc7cd53970f8a9ae
2010-10-07 01:35:25 +11:00
Kris Maglione
97f043d32f
Fix some mode changing corner cases. Closes issue #51 .
2010-10-06 11:38:22 -04:00
Kris Maglione
41335adaae
Fix some major mode changing bugs. Closes issue #55 .
...
--HG--
branch : mode-refactoring
2010-10-06 10:34:28 -04:00
Kris Maglione
1d5eb0f991
Fix entering insert mode after revision 78337a3816fd.
2010-10-04 15:47:01 -04:00
Kris Maglione
e61caf8f23
Ensure that modes.stack[0].reset gets called on modes.reset()
2010-10-04 15:16:33 -04:00
Kris Maglione
af64937d55
Fix some crufty old mode-change related bugginess.
2010-10-04 14:17:13 -04:00
Kris Maglione
bed08a3455
Auto-hide the command-line by default; allow showing messages/mode/command-line in the status bar.
2010-09-27 07:39:49 -04:00
Kris Maglione
c8faebba0a
Preparation for a future commit and fix ;F in the MOW.
2010-09-26 10:36:46 -04:00
Doug Kearns
87b29aa609
Camel-case array#{iteritems,itervalues}.
2010-09-26 11:54:28 +10:00
Doug Kearns
0d2b1b6dfd
Whitespace fixes.
2010-09-24 16:26:08 +10:00
Kris Maglione
6170b3197b
Long awaited augmentation of the :map command. Surrounding code needs cleanup.
...
--HG--
extra : rebase_source : 6bb2406343f04aff20456e1a9d0cb595f4ec767d
2010-09-21 16:13:31 -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
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
f1ca59a83d
Use Object.keys/getOwnPropertyNames (and provide them if they don't exist).
2010-08-28 18:57:59 -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
Kris Maglione
91fd0e1169
Get rid of absurd strict JS warnings.
2009-11-14 04:38:36 -05:00
Kris Maglione
a72068c9f7
Refactor modules.config.
2009-11-09 03:12: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
Doug Kearns
ddcdca1e59
Fix count processing for Textarea mode commands.
2009-10-11 02:03:16 +11: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
Kris Maglione
f374fc981a
imported patch quick-cleanup
2009-10-06 20:19:15 -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
Kris Maglione
5116502bf9
Add EMBED mode.
2009-09-03 20:34:19 -04:00
Doug Kearns
97236c4839
Remove some commented-out code from Events.
2009-08-27 14:46:32 +10:00
Kris Maglione
9d77c018ca
Fix something to do with <a>.
2009-08-19 14:03:14 -04:00
Doug Kearns
77458e5b8a
Whitespace and semicolon fixes.
2009-08-10 02:15:23 +10:00
Doug Kearns
6d7b94daa6
Add missing semicolons.
2009-06-02 16:59:24 +10:00
Kris Maglione
ce120a7f9d
Add to TODO, etc.
2009-05-23 21:24:57 -04:00
Doug Kearns
abc11f1068
Move application specific modes to config.modes.
2009-05-24 01:56:44 +10:00
Kris Maglione
43537025c6
Some esthetic and practical changes to modes and a couple of completion functions.
2009-05-05 17:23:04 -04:00
Kris Maglione
f3f70d5cb8
General cleanup related to last commit.
2009-04-15 16:31:32 -04:00
Doug Kearns
3b667419f8
Merge branch 'master' into xulmus
...
Conflicts:
License.txt
2009-03-29 12:34:05 +11:00
Martin Stubenschrott
5ab1771e3c
changed my email address
2009-03-28 23:38:33 +01:00
Prathyush Thota
f06f1d776e
Added SearchView - '/', 'n' & 'N'
2009-03-27 23:32:03 +05:30