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
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
Kris Maglione
1ce498401e
Add liberator.assert.
2009-11-03 02:36:48 -05:00
Kris Maglione
7a9889b18c
Add IO#File.
...
New review:
owner: dougkearns
I like this for the most part, except that it has to go to lengths
to wrap the original nsIFile correctly, an that it can't be passed
directly to other XPCOM components. It makes most operations on
files a lot cleaner, though.
2009-10-31 17:40:16 -04:00
Kris Maglione
9e531ca343
Fix Xulmus, etc.
...
--HG--
branch : xslt
2009-10-25 13:43:25 -04:00
Doug Kearns
9c2f01bfea
Remove no-opping of arbitrary bindings in INSERT mode.
...
This list of keys is completely arbitrary, a small subset of Firefox's
supposedly undesirable bindings, and still manages to break three default
bindings on GTK/Firefox. INSERT mode is essentially a pass-through mode. If
that's not desirable then a new enhancement issue should be opened.
Fixes issue #58 .
2009-10-16 00:25:09 +11:00
Doug Kearns
34f8dcbd2f
Remove fixed FIXME comment.
2009-10-13 21:17:24 +11:00
Doug Kearns
29de612097
Fix escaping from Textarea mode in input fields.
...
When escaping from Textarea mode in input fields, and also text areas if
'insertmode' is set, return to Insert mode.
2009-10-11 01:38:11 +11:00
Martin Stubenschrott
3910c0604b
Move all files to a MIT license
2009-10-03 00:32:29 +02:00
Martin Stubenschrott
a74cc55f6d
* Ask for permission when editing external password fields.
...
* Bump maxVersion to 3.6b1
2009-09-24 12:11:29 +02:00
Doug Kearns
e1abaf5d9a
Fix typo in i_<Insert> definition.
2009-09-16 12:47:49 +10:00
Martin Stubenschrott
4d4da18b49
fix whitespace from last commit
2009-09-11 22:27:15 +02:00
Martin Stubenschrott
fcc1cffc88
disallow editing of password fields
2009-09-11 22:23:06 +02: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
Doug Kearns
776f9bb425
Cleanup some references to "Firefox" in common/*.
2009-06-28 16:03:23 +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
09d8af9044
Change multiline beep guard clauses to single line formatting.
2009-06-04 14:30:46 +10:00
Doug Kearns
6d7b94daa6
Add missing semicolons.
2009-06-02 16:59:24 +10: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
Doug Kearns
2c486edee7
Fix conditional in editor.executeCommandWithMotion.
2009-05-15 00:29:50 +10:00
Kris Maglione
dbf60914ab
Add 'fileencoding'
2009-05-01 15:19:35 -04:00
Kris Maglione
2f753b6d27
Fix #247
2009-04-22 13:15:56 -04:00
Martin Stubenschrott
5ab1771e3c
changed my email address
2009-03-28 23:38:33 +01:00
Daniel Bainton
ae150a373e
Fix bug #93 the hacky way, thanks to Conrad Irwin for the patch.
2009-03-15 03:27:07 +02:00