Kris Maglione
c284e1ced8
First work towards cleaning up the commandline.js rat's nest. Don't expect any of these new interfaces to stay remotely as they are.
...
--HG--
branch : key-processing
2011-01-26 01:24:54 -05:00
Kris Maglione
fb7d6c9809
Update copyright headers.
2011-01-23 23:34:24 -05:00
Kris Maglione
ed696fe5c4
Add an experimental prototype download manager replacement. Fix some bugs.
...
--HG--
extra : rebase_source : aea703414d4bd601bfdea779c5878a30d5b3d782
2011-01-16 22:38:44 -05:00
Kris Maglione
5b56624043
Make buffer.URL a string again. Use buffer.uri and buffer.documentURI internally. Fix loading Object stores.
2011-01-16 12:14:43 -05:00
Kris Maglione
e71f96dee6
Fix gu on Gecko 2. Closes issue #244 .
2011-01-06 18:55:38 -05:00
Kris Maglione
d661d60cb6
Make buffer.UR[LI] nsIURI objects. Fix bug in chrome-data:.
2011-01-03 22:00:53 -05:00
Kris Maglione
cb97f1cd25
Replace weird mystery meat args of mapping actions with a proper object.
2010-12-29 22:21:00 -05:00
Kris Maglione
47167e769e
Fix gU for URLs containing //.
2010-12-27 09:35:16 -05:00
Kris Maglione
dca9f2df86
Merge changes from bootstrapped.
2010-12-25 16:00:56 -05:00
Kris Maglione
8d9c2cddc0
Fix some bugs.
2010-12-22 22:54:57 -05:00
Kris Maglione
9fb3febe95
Typo and general idiocy fixes. Kill 'linksearch'.
2010-12-17 12:30:51 -05:00
Doug Kearns
903268b0e1
Add missing semicolons.
...
--HG--
extra : rebase_source : 9b307f142d55c3cd89ea6010ea15f1d26b11846f
2010-11-05 09:09:09 +11:00
Kris Maglione
97589ce40b
Handle sane shells on Windows somewhat better.
2010-11-05 13:36:30 -04:00
Kris Maglione
1ba66f6093
Add missing 'let'.
...
--HG--
extra : rebase_source : 42df33554d18feb86662bd5d8a940ca69e13a5aa
2010-11-04 10:47:19 -04:00
Doug Kearns
4f5fd70ab2
Make Browser.incrementURL a little more readable.
...
--HG--
extra : rebase_source : d297c23cb02a5b977297938f2086905ffa6a031c
2010-11-05 00:49:46 +11:00
Kris Maglione
f78a7174e3
Small change to Browser.climbUrlPath.
...
--HG--
extra : rebase_source : f9f68aff83c51c28812761306ad31cf8a9205d3a
2010-10-21 19:54:27 -04:00
Doug Kearns
f4b1617990
Don't reload the page on gU when we're already there.
2010-10-21 05:26:13 +11:00
Kris Maglione
e6b6d80b10
Implement (with an e) an experimental ‘ex’ namespace.
2010-10-17 20:00:57 -04:00
Doug Kearns
9a9a30f979
Refactor :open action.
2010-10-18 01:45:32 +11:00
Doug Kearns
a507900e04
Refactor the gu mapping action again.
2010-10-17 01:25:53 +11:00
Doug Kearns
e879395cb2
Refactor the gu mapping action.
2010-10-16 22:30:37 +11:00
Kris Maglione
7f2126179e
Rename stringToURLArray ⇒ parseURLs.
2010-10-11 15:50:23 -04:00
Kris Maglione
f4ddaafb9e
Fix n_~. Closes issue #68 .
2010-10-11 15:34:51 -04:00
Doug Kearns
64a50b8cfc
Clean up some crufty comments.
2010-10-09 22:48:54 +11:00
Kris Maglione
f8eb9b021f
Make | the default 'urlseparator'.
2010-10-05 14:35:32 -04:00
Kris Maglione
9af8705807
Remove bare references to 'content'.
2010-10-04 22:09:54 -04:00
Kris Maglione
72b6af3e6b
Use temp files rather than URL arguments for :viewsource!. Also update the statusline on :redraw and add an XPCOM shim class for pseudo-XPCOM objects.
2010-10-03 13:44:37 -04:00
Kris Maglione
ea6ae88d4e
Don't use modes.clear() to clear the last message and some collateral fixes.
2010-09-28 23:01:21 -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
Doug Kearns
8fdb8abd49
Clean up so loose ends from the recent Command#execute refactoring.
...
This fixes [count]u.
--HG--
extra : rebase_source : a453a99a757e434b6ce1758320d5840d8286002e
2010-09-26 01:57:54 +10:00
Kris Maglione
e6c716d1e3
Purge unnecessary uses of args.string.
2010-09-25 02:45:19 -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
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
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
anekos
db1fb981cc
Add the values into 'activate' option.
2009-11-18 21:39:39 +09:00
Kris Maglione
91fd0e1169
Get rid of absurd strict JS warnings.
2009-11-14 04:38:36 -05:00
Kris Maglione
86142105a1
Add config.browser, config.tabbrowser. Fix mailbird. &c.
2009-11-14 01:04:53 -05:00
Kris Maglione
a9e8d9d691
Make Option.validateCompleter the default validator: look out for minor breakage.
2009-11-13 21:50:06 -05:00
Kris Maglione
a75ef9a540
'Option' refactoring.
2009-11-13 21:32:19 -05:00
Doug Kearns
afc14aff65
Remove :edit, :tabedit and :winedit aliases.
2009-11-14 04:20:26 +11: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
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
d880d4afcb
Cleanup liberator.open a bit; could probably use a bit more.
2009-10-31 17:28:35 -04:00
Kris Maglione
9bb01ce7ef
Change Storage#newObject signature.
2009-10-29 20:30:24 -04:00
Doug Kearns
2d8c65a7b8
Normalise the browser.js header.
2009-10-03 17:00:18 +10:00
Doug Kearns
2b7e4dcb67
Remove redundant semicolons.
2009-09-04 21:58:43 +10:00
Doug Kearns
339592c4a2
Fix 'encoding' names.
...
Options require literal names.
2009-09-04 20:21:51 +10:00
Kris Maglione
b8d972ca94
Make some attempt to respect "Clear Private Data"
2009-09-03 17:29:26 -04:00