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

211 Commits

Author SHA1 Message Date
Kris Maglione
ab81ed4cb4 Dispatch events from buffer.followLink as trusted events. Closes issue #124. 2010-11-07 10:17:22 -05:00
Doug Kearns
a66c37088c Remove unused editor._lastFindChar{,Func} variables.
t_; and t_, aren't implemented.
2010-11-05 02:16:08 +11:00
Doug Kearns
97147e8489 Partially clean up count handling in Editor. 2010-11-05 02:08:23 +11:00
Doug Kearns
749570aba8 Fix count handling of t_p.
--HG--
extra : rebase_source : bcbb1c42915c0a328e754e55eeb3c7ca6cfc5194
2010-11-05 01:17:57 +11:00
Doug Kearns
58502396a6 Remove some useless return statements from Editor.
--HG--
extra : rebase_source : e0d9e68dd782ceaa3bc444333eea62a7add7e215
2010-11-05 01:17:13 +11:00
Doug Kearns
c6a80bdcb3 End both visual characterwise and linewise modes with either v_V or v_v.
The distinction between these visual modes is barely implemented but having v_V
delete characterwise selected text is confusing.

--HG--
extra : rebase_source : c44c998f3e5572067cb858193f5fb1f2c82d3d13
2010-11-05 01:15:54 +11:00
Doug Kearns
c1c20175fb Remove support for t_gI for now.
It's odd to support just that Vim extension even though its implementation is
correct and that of t_I is not.  We should look at adding these commands later
when the core Vi commands are more accurately implemented.

--HG--
extra : rebase_source : f33cc9c9cbe0de8af2640655c0c7f9485f0a8a9d
2010-11-05 01:12:55 +11:00
Doug Kearns
ef6a52f01c Make use of dactyl.assert in t_<C-t> and v_d actions.
--HG--
extra : rebase_source : 7c7275d3695e98034f542c29fda8dafee2378253
2010-11-05 01:10:13 +11:00
Doug Kearns
359c6e8a76 Improve t_u and t_r descriptions.
--HG--
extra : rebase_source : f630111750ec2f2feaf7442534f4528036ea7975
2010-11-05 01:08:45 +11:00
Doug Kearns
26e130bd0b Whitespace fixes.
--HG--
extra : rebase_source : 7bc98c4cf1a8ca89cfbfb1f96ffe9fa72565c663
2010-11-05 00:52:40 +11:00
Doug Kearns
34eba352da Add missing semicolons.
--HG--
extra : rebase_source : 5fdc6c8e52b982ea4685d97cd7ccfeb184ec3851
2010-11-05 00:44:25 +11:00
Kris Maglione
dc38a2208c Do something remotely reasonable where designMode documents are concerned. Some fixes for evalInSandbox problems in recent nightlies. 2010-10-24 20:21:14 -04:00
Kris Maglione
6f95b33694 Don't collapse command-line selection on mode change. 2010-10-23 18:12:39 -04:00
Doug Kearns
0c797196c4 Typo fixes.
--HG--
extra : rebase_source : ae1f5592e46693439e561f82fdf14b33885071e6
2010-10-20 00:26:54 +11:00
Doug Kearns
d170fda0e3 Replace dactyl.has(OS) with util.isOS. 2010-10-17 23:22:53 +11:00
Kris Maglione
5ba4b84563 Hint mode: Don't be discouraged by a document's lack of a body. Closes issue #40.
--HG--
extra : rebase_source : dfdf9cf61af76aa84841ff181f42afcf318bce6d
2010-10-16 15:45:30 -04:00
Kris Maglione
bea1c20858 Better :yank formatting. 2010-10-14 22:06:17 -04:00
Doug Kearns
68b6df33ca Miscellaneous formatting fixes.
--HG--
extra : rebase_source : ac84b34db15b95fd5a6ad597a1420ffc4cb35414
2010-10-11 22:01:18 +11:00
Kris Maglione
6907ae130e Fix inserting [ '"] as the first character in command-line mode. 2010-10-12 12:25:00 -04:00
Kris Maglione
2597be756a Fix completion list for functions that return augmented arrays. 2010-10-11 16:45:12 -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
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
c3f977cf74 Prevent endless TEXTAREA->INSERT->TEXTAREA mode stacking.
--HG--
branch : mode-refactoring
2010-10-09 04:18:59 +11:00
Doug Kearns
ce10a9af13 Fix 'c' and 's' VISUAL mode mappings.
--HG--
branch : mode-refactoring
2010-10-09 02:05:00 +11: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
57fe3fe9eb Poll temp files in <C-i> so I don't have to be edgy every time I quit the editor. 2010-10-05 02:05:24 -04:00
Kris Maglione
af64937d55 Fix some crufty old mode-change related bugginess. 2010-10-04 14:17:13 -04:00
Kris Maglione
c577b15ea6 Replace tabs.localStore.focusedFrame with buffer.focusedFrame. 2010-10-03 14:13:24 -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
3645cd27d0 Banish old commands.parseArgs prototype. 2010-09-24 15:59:51 -04:00
Kris Maglione
99c4c44426 Crudely map <C-h> to <BS> rather than executing an editor command. Fixes issue #15. 2010-09-24 11:46:16 -04:00
Kris Maglione
296ceee3d2 Don't blow up if the user hasn't yet clicked the content when moving around in caret mode. 2010-09-24 10:35:27 -04:00
Kris Maglione
980fbd32d6 Send an "input" event when pasting into an element. Fixes issue #17. 2010-09-24 08:44:13 -04:00
Doug Kearns
06215e2eb9 Revert 975d3f90c8a1 for now.
The magical powers of getCurrentWord() have temporarily won.
2010-09-23 20:21:11 +10:00
Doug Kearns
b6b0d5b427 Change buffer.getCurrentWord() to a read-only property buffer.currentWord. 2010-09-23 20:03:26 +10:00
Kris Maglione
a37167b95a Fix pasting.
--HG--
extra : rebase_source : 338ca94353f9f407ab9cf2f5c892008adfce46fa
2010-09-22 13:59:02 -04:00
Doug Kearns
542086159f Fix Windows platform detection.
--HG--
extra : rebase_source : 22fa7cb45e3571c2fd4fe527121c50ceac249b25
2010-09-22 17:36:04 +10:00
Kris Maglione
a285d6a405 Added -javascript option to :abbrev, thanks mostly to anekos.
--HG--
extra : rebase_source : 06036f7e9e2bb21fc77b1cb783c8f7e4a7e3f50d
2010-09-21 16:13:31 -04:00
Kris Maglione
508cc08a8f Import some fixes from Vimperator. Thanks anekos, teramoko, and stepnem. 2010-09-18 03:42:48 -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
b8331a1b55 Rename Class#setTimeout to appease AMO's validation grep. 2010-09-17 06:15:13 -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
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
Doug Kearns
e04cc5dd33 Fix some munged documentation. 2009-11-10 18:27:32 +11:00
Doug Kearns
cf4c33bbd4 Fix abbreviation commands. 2009-11-10 07:06:46 +11:00