Commit Graph
100 Commits
Author SHA1 Message Date
Kris Maglione 61002641a3 Context-specific completer options. Option refactoring.
New review
Owner: dougkearns
Hopefully the changeset hash will actually be linked this time. If
not, it's the tip of the testing branch, presumably r4161.
I've been meaning to do this for a while. It allows case matching,
sorting, and auto completion options to be assigned on a per context
basis, with fine grained control. It also adds builtin regex support
to options since it's used fairly extensively. There are definitely
other options that would benefit from the regexlist type, if I can
dig them up. The interface (and perhaps the doc wording) is the only
place I'm really ambivalent.

--HG--
branch : testing
2009-11-20 15:37:39 -05:00
Kris Maglione bda2e685f8 Merge. 2009-11-15 13:43:41 -05:00
Kris Maglione d907ec0447 Fix makefile bug. 2009-11-15 13:39:13 -05:00
Kris Maglione 7ad0b06f4d Fix some brokenness. 2009-11-15 06:48:00 -05:00
Kris Maglione ae3cf7b02c Condense collapsed completion groups a bit.
--HG--
extra : rebase_source : 1c8ecadd775ab088fa726dff90646fa1345a818d
2009-11-15 03:39:27 -05:00
Kris Maglione f0c87aeae5 Properly quote strings. 2009-11-15 02:43:53 -05:00
Kris Maglione a70f1c2926 Replace some arrays with Objects after some memory profiling. 2009-11-15 02:31:48 -05:00
Kris Maglione cdaa26f968 Add 'javascript' module. Misc fixes along the way. 2009-11-15 02:08:10 -05:00
Kris Maglione cd17b12177 Fix stringToURLArray for file: URIs. Closes issue #154. 2009-11-14 22:48:51 -05:00
Kris Maglione a5f30ec7cc Clean up Struct constructor. 2009-11-14 21:43:57 -05:00
Kris Maglione 1d783600fb Halve the security errors at startup, but still annoyingly many of them. 2009-11-14 04:56:44 -05:00
Kris Maglione 91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione dcedb36e9b Be slightly paranoid about memory leaks. 2009-11-14 02:19:51 -05:00
Kris Maglione e2a8cd4a68 Remove obsolete comment. 2009-11-14 01:47:18 -05:00
Kris Maglione 209f8f89a3 Fix quirk in last commit. 2009-11-14 01:45:12 -05:00
Kris Maglione be0228be64 Deal with debuggerless cr^wapps in JS completion. 2009-11-14 01:21:38 -05:00
Kris Maglione 86142105a1 Add config.browser, config.tabbrowser. Fix mailbird. &c. 2009-11-14 01:04:53 -05:00
Kris Maglione a8f8ebaeb5 Allow :setcomm /dev/null <(js -Cv180 options.js |& grep .) all& 2009-11-13 22:04:50 -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
Kris Maglione 383e0d9ed1 Some JS completion functions. Still missing some properties... 2009-11-13 20:20:53 -05:00
Kris Maglione 00697620ca Clear highlighting on page unload, etc. 2009-11-13 19:17:34 -05:00
Kris Maglione a9f8e825b9 Fix :sethg diff options.js completer. 2009-11-13 18:16:27 -05:00
Kris Maglione a4dced6911 Automatically track and remove long-lived event listeners. 2009-11-13 16:12:50 -05:00
Kris Maglione d749340ef3 Resurrect my range finder, Part IV: Links only, match case, and all that stuff no one uses. 2009-11-13 04:22:11 -05:00
Kris Maglione 12012af693 More RangeFind work. 2009-11-13 03:00:46 -05:00
Kris Maglione f19a4edcee Merge. 2009-11-12 16:01:11 -05:00
Kris Maglione 5c3d06f141 More RangeFind stuff. 2009-11-12 15:58:03 -05:00
Kris Maglione 4a7484b285 Don't validate the "activate" option. Closes issue #150. 2009-11-12 14:21:58 -05:00
Kris Maglione 7f0a8a9ede Remove debugging dump statement. 2009-11-12 06:04:14 -05:00
Kris Maglione 433ebbc1d9 Fix 'cpt' completer. Closes issue #149. 2009-11-12 05:37:28 -05:00
Kris Maglione 79d1d68797 Document some crap. 2009-11-12 01:36:32 -05:00
Kris Maglione b607764012 Add Classeditor.jssetTimeout. Fix some broken timeouts. 2009-11-11 19:18:04 -05:00
Kris Maglione 5523b04604 Who the hell compiles without the debugger enabled? 2009-11-11 19:06:55 -05:00
Kris Maglione ad47056f6b Fix preferences.xul. Closes issue #148. 2009-11-11 13:21:53 -05:00
Kris Maglione 2b98547cb6 Better JS completion stuff. 2009-11-11 10:01:37 -05:00
Kris Maglione 2f8369ddf7 Add experimental transliterating hint matcher that I apparently wrote for Conkeror. (resume matches résume, mae mæstro, and so on (but résume and mæstro don't...)) 2009-11-11 08:46:18 -05:00
Kris Maglione ee91adc5ad Use the debugger for object property completion. 2009-11-11 07:53:47 -05:00
Kris Maglione f8ddb3e9c3 Resurrect my range finder, Part III: Search highlighting. 2009-11-11 06:09:26 -05:00
Kris Maglione 0f4598fcd6 Resurrect my range finder, Part II: Make things works sensibly with frames. 2009-11-11 02:35:51 -05:00
Kris Maglione f03c6e134e Fix :pageinfo. 2009-11-10 19:56:02 -05:00
Kris Maglione e6cbf92ddb Get rid of some selfs 2009-11-10 13:30:52 -05:00
Kris Maglione 11a6c03c71 Whatever happened to "Push creates new remote heads."? 2009-11-09 23:07:46 -05:00
Kris Maglione 95fa7a4037 Resurrect my range finder, Part I. 2009-11-09 23:00:56 -05:00
Kris Maglione dd924d0822 Fix mailbird. 2009-11-09 14:14:51 -05:00
Kris Maglione 5de5a79ce5 Add more useful header comments to shared XPCOMponents. 2009-11-09 13:35:27 -05:00
Kris Maglione 064f60855c Remove residual try-catch. 2009-11-09 13:26:11 -05:00
Kris Maglione 4658d7e211 Fix some crap. 2009-11-09 12:54:04 -05:00
Kris Maglione 9bcbc473fa Fix finder. 2009-11-09 12:33:23 -05:00
Kris Maglione e73b128cab Fix hint statusline buffer. I can't stand all of this special case spaghetty code event handling mess. 2009-11-09 10:20:31 -05:00
Kris Maglione b9d1d7ba46 Merge. 2009-11-09 10:12:11 -05:00
Kris Maglione ce2b7893e4 Fix some crap. Closes issue #145. 2009-11-09 08:09:27 -05:00
Kris Maglione 884411c39c Fix typos in hints.js and protocols.js. Closes issue #144. 2009-11-09 06:31:54 -05:00
Kris Maglione 092fb1ea15 Refactor storage init. Fixes issue #143. 2009-11-09 06:16:28 -05:00
Kris Maglione a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -05:00
Kris Maglione 4d88ccb036 Port Xulmus/Muttator. Not tested yet. 2009-11-09 02:39:23 -05:00
Kris Maglione a11cb93fa8 Remove some dead files. 2009-11-09 01:27:08 -05:00
Kris Maglione 8ef1674c6e Merge. 2009-11-08 21:22:32 -05:00
Kris Maglione b117f6749a Just explicitly check bookmark node URIs for nullness. How does this even happen? 2009-11-08 20:58:43 -05:00
Kris Maglione 46b7a29fb7 Fix hints on help pages. Closes issue #141.
Update issue #141.
It looks like we're actually quite a bit better at figuring out
element box data than Firebug is. Aside from actually mispositioning
the layout box, Firebug actually chokes on our pages and can't
manage to remove the layout guides once it's inserted them. Score
one for our hint system, I guess.
2009-11-07 15:40:19 -05:00
Kris Maglione 18d716c4af Fix <ex>foo!</ex> 2009-11-07 14:35:46 -05:00
Kris Maglione 470e609da4 Fix <ex>foo!</ex> 2009-11-07 14:32:23 -05:00
Kris Maglione c1a88e4a31 Reinstate buffer.evaluateXPath for plugins. :( 2009-11-07 01:39:01 -05:00
Kris Maglione 3a87ba3234 Commit forgotten symlinks.
Update issue #140.
2009-11-06 12:33:07 -05:00
Kris Maglione 33e5ea582c Fix some symlink woes. Closes issue #140.
--HG--
rename : common/components/about-handler.js => muttator/components/about-handler.js
rename : common/components/commandline-handler.js => muttator/components/commandline-handler.js
rename : common/components/about-handler.js => vimperator/components/about-handler.js
rename : common/components/commandline-handler.js => vimperator/components/commandline-handler.js
rename : common/components/about-handler.js => xulmus/components/about-handler.js
rename : common/components/commandline-handler.js => xulmus/components/commandline-handler.js
2009-11-05 16:09:49 -05:00
Kris Maglione 76e9b8c0ed Fix help tags. 2009-11-05 04:23:29 -05:00
Kris Maglione 336eb4fefa Fix horifically slow JS completion. 2009-11-04 01:52:21 -05:00
Kris Maglione 55f1ec7c3e Add some more help docs. 2009-11-04 01:15:08 -05:00
Kris Maglione fee974fdab Kludgilly fix some help layout bugs. 2009-11-03 22:35:16 -05:00
Kris Maglione 66286a890c Remove rollover effects from anchors without hrefs. 2009-11-03 21:48:23 -05:00
Kris Maglione 20dea05613 Allow separate email addresses and hrefs for authors. Make mailto more obvious. 2009-11-03 21:44:37 -05:00
Kris Maglione ec71ee9d4a Allow author[@href] in additional to author[@email] for plugin docs. 2009-11-03 21:17:58 -05:00
Kris Maglione 68dd615648 Cleanup some stuffs. 2009-11-03 19:50:10 -05:00
Kris Maglione d4b818b7d7 Yay XPCSafeJSObjectWrapper. 2009-11-03 06:11:53 -05:00
Kris Maglione 1ce498401e Add liberator.assert. 2009-11-03 02:36:48 -05:00
Kris Maglione 34e9b10fb9 Some manual help formatting tweaks. Why can troff handle stuff this but HTML can't? 2009-11-03 00:56:28 -05:00
Kris Maglione d59a85585b Fix storage bins. 2009-11-03 00:19:55 -05:00
Kris Maglione ca8849ebd1 Fix <oa> and <a> help templates. 2009-11-03 00:16:33 -05:00
Kris Maglione c159cf6efa Minor cleanup. 2009-11-02 22:05:03 -05:00
Kris Maglione 8224540d26 Check for existence of base64(1) before 'make dist' 2009-11-02 16:49:52 -05:00
Kris Maglione 108f467fe4 Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. 2009-11-02 00:18:58 -05:00
Kris Maglione 8eea868626 Make <toc/> tag explicit. 2009-11-01 22:13:50 -05:00
Kris Maglione eaf184ae9b Move to a two-stage parser for the help. 2009-11-01 21:30:13 -05:00
Kris Maglione 84da6102dc Fix 'make dist' 2009-11-01 19:23:25 -05:00
Kris Maglione 9b32154909 Add note to TODO. 2009-11-01 00:32:27 -04:00
Kris Maglione 457d979d9d Add some news entries. 2009-11-01 00:25:07 -04:00
Kris Maglione 80101a0f59 Fix some help markup issues. 2009-11-01 00:20:48 -04:00
Kris Maglione acf329bfc3 Add basic help on plugin authorship. 2009-11-01 00:16:55 -04:00
Kris Maglione 23699c0f54 Show more information in :h plugins 2009-10-31 23:24:59 -04:00
Kris Maglione 45252b381d Fix badly broken last commit (doesn't work from a clean start). 2009-10-31 21:25:49 -04:00
Kris Maglione 24de0a81a2 Add basic support for plugins including help data. 2009-10-31 19:59:37 -04:00
Kris Maglione 8fc29193e1 Fix broken file completion. 2009-10-31 19:01:59 -04:00
Kris Maglione cf03f99246 Fix broken :colorscheme completion. 2009-10-31 18:42:48 -04:00
Kris Maglione 785c416b3d Fix bug in second-last commit. 2009-10-31 18:43:34 -04: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 83ef6a7a93 Use curl for make dist rather than Google's upload script. 2009-10-31 15:43:29 -04:00
Kris Maglione 2365ac51f9 Forgive the botched merge. 2009-10-31 13:50:25 -04:00
Kris Maglione 7c5eeeaa65 Merge. 2009-10-31 13:36:46 -04:00
Kris Maglione fb9b81d1b7 Revert change in parent; this style is already applied in liberator.js. Add !important there instead. 2009-10-31 13:35:03 -04:00