Commit Graph
100 Commits
Author SHA1 Message Date
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 a0c023113c Remove spurious entry about 't' flag for 'complete' from NEWS.. 2009-09-25 17:32:07 -04:00
Kris Maglione 4931f01353 Use options.allPrefs rather than nsIPrefBranch#getChildList 2009-09-23 01:09:11 -04:00
Kris Maglione b980157575 Migrage from liberator.saved. to extensions.liberator.saved. 2009-09-23 00:47:08 -04:00
Kris Maglione ec5a78ff2e Add more helpful information to safeSetPref messages. 2009-09-22 14:12:08 -04:00
Kris Maglione 29ef2b1c26 WIP on master: d52fcb4 Fix bookmarks.isBookmarked so we don't get spurious hearts in the status line. 2009-09-22 12:22:59 -04:00
Kris Maglione 0b1336f453 index on master: d52fcb4 Fix bookmarks.isBookmarked so we don't get spurious hearts in the status line. 2009-09-22 12:22:59 -04:00
Kris Maglione 383d4b635a Fix bookmarks.isBookmarked so we don't get spurious hearts in the status line. 2009-09-21 16:30:41 -04:00
Kris Maglione a896c98434 Make 'popups' more intuitive. 2009-09-19 01:42:59 -04:00
Kris Maglione f6e130a93f Make :viewsource a bit more robust 2009-09-17 14:00:26 -04:00
Kris Maglione 52378d8a9f Fix :tabdetach 2009-09-17 13:58:19 -04:00
Kris Maglione 4b43c2b3e5 Fix /find error message on submit with 'incsearch' 2009-09-17 11:07:54 -04:00
Kris Maglione a29c4bd9f5 Be nicer to color blind people. 2009-09-17 08:27:08 -04:00
Kris Maglione 66a2579fb9 Add :styenable, :stydisable, :stytoggle 2009-09-10 18:22:26 -04:00
Kris Maglione 94bd791028 Slight fix for <silent> 2009-09-10 18:22:26 -04:00
Kris Maglione ed38331178 Respect 'sanitizetimespan' in command history sanitization. 2009-09-10 18:22:26 -04:00
Kris Maglione 6a26702769 Last commit ++ 2009-09-05 13:55:59 -04:00
Kris Maglione 5116502bf9 Add EMBED mode. 2009-09-03 20:34:19 -04:00
Kris Maglione 561a3ff978 Fix #182, map <silent> quirk. 2009-09-03 20:08:58 -04:00
Kris Maglione ab63b8c314 Fix some hint bugs. 2009-09-03 19:54:14 -04:00
Kris Maglione b8d972ca94 Make some attempt to respect "Clear Private Data" 2009-09-03 17:29:26 -04:00
Kris Maglione 9bc7943667 Add note about ;<Tab> to :h ; 2009-09-03 15:53:44 -04:00
Kris Maglione 6ab4d222ae Fix bug in last commit. 2009-08-29 15:45:17 -04:00
Kris Maglione 3d8aa842da Fix hints with body { position: relative; } 2009-08-28 18:13:37 -04:00
Kris Maglione 30076394fb Deal with exit status of subsheels in make_jar.sh 2009-08-27 12:30:54 -04:00
Kris Maglione e63ed7bc64 Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-08-27 12:29:00 -04:00
Kris Maglione 776f3f4058 Fix [count]u 2009-08-23 22:44:16 -04:00
Kris Maglione 9d77c018ca Fix something to do with <a>. 2009-08-19 14:03:14 -04:00
Kris Maglione 0b60f3ebcc Fix JS completion sorting bug. Remove some commented code. 2009-08-03 17:33:55 -04:00
Kris Maglione 8dd1c86719 Fix starting.txt 2009-07-29 12:08:03 -04:00
Kris Maglione d42d833452 Fix typo. 2009-07-24 16:13:17 -04:00
Kris Maglione 842dd61f4c Add [c]:toolbaropen[c], [c]:toolbarclose[c], and [c]:toolbartoggle[c]. 2009-07-21 22:18:15 -04:00
Kris Maglione a7de8b8cd0 Add favicons to :ba and :fo 2009-07-21 14:48:40 -04:00
Kris Maglione 773814c985 Make :ba and :fo generally more consistent and less annoying. 2009-07-21 14:48:39 -04:00
Kris Maglione bc5c8fd72d More selective :ext* completion filtering. 2009-07-08 13:27:40 -04:00
Kris Maglione d7e8bf1543 Add :extoptions command 2009-07-08 13:20:27 -04:00
Kris Maglione 6d7c247eac Remove liberator.log from addMap 2009-07-02 11:00:40 -04:00
Kris Maglione 3628ff8803 Fix 'hinttags'. 2009-06-28 23:57:24 -04:00
Kris Maglione 645c446470 Don't save ex commands to history while feeding keys. 2009-06-28 16:57:55 -04:00
Kris Maglione c4e9e414be Add PrivateMode autocommand. Add -js flag to :au 2009-06-28 15:14:23 -04:00
Kris Maglione 7c7710b23d Cleanup default 'hinttags' definition a bit 2009-06-28 14:46:23 -04:00
Kris Maglione 55164325df Don't save storage objects while in private mode, restore them on exit. 2009-06-28 14:37:23 -04:00
Kris Maglione c2e18373ab Don't use Cc in common/content/help.js; it's not defined there. 2009-06-21 12:07:03 -04:00
Kris Maglione 8a34f5f60d Revert "Remove unneeded sleep const in Cache."
The bookmark cache is not window specific, and when the first window
disappears, so too does its liberator object.

This reverts commit 4f0154de457464ac7ffa64a6e9a7076e8af8964d.
2009-06-21 11:55:34 -04:00
Kris Maglione d12f77e347 Revert "Undo unacknowledged damage in penultimate commit."
This reverts commit b1455b31491b4443a4789b91ca3d172d55c1b424.
2009-06-06 23:50:26 -04:00
Kris Maglione 83d7e30b5d Petty makefile changes. 2009-06-06 23:40:17 -04:00
Kris Maglione f33100d579 Undo unacknowledged damage in penultimate commit. 2009-06-06 23:39:21 -04:00
Kris Maglione 8ac6321a1c Fix createEvent/init*Event insanity. 2009-06-06 14:47:34 -04:00
Kris Maglione 4b46d967bd Fix chrome://liberator/content/buffer.js:1797: TypeError: win.document.body is null 2009-06-06 14:46:30 -04:00
Kris Maglione 97987ef0f5 Specify sh rather than bash in make_jar.sh shebang line. Fix FIXME. 2009-06-06 10:14:47 -04:00
Kris Maglione 5e760406ab Fix #283, etc. 2009-05-30 13:29:17 -04:00
Kris Maglione 311affb871 Fix stupid idiosyncratic idiosyncrasy: RegExp literals are not like array literals—they always return the same object. Remove some dead code. 2009-05-29 14:32:50 -04:00
Kris Maglione 5831b652f9 Fix <C-v> 2009-05-28 17:38:12 -04:00
Kris Maglione 474ce30ada Minor cleanup/we like symlinks. 2009-05-28 15:03:47 -04:00
Kris Maglione 8d5fc6faea Update TODO. 2009-05-28 15:02:21 -04:00
Kris Maglione 9b49a41cba NEWS formatting. 2009-05-27 19:10:14 -04:00
Kris Maglione 6055c8a77b Add some rough documentation for config.js properties. 2009-05-25 12:10:22 -04:00
Kris Maglione 7f90cdcb6f Fix idiosyncratic module loading bug. 2009-05-25 11:19:13 -04:00
Kris Maglione ce120a7f9d Add to TODO, etc. 2009-05-23 21:24:57 -04:00
Kris Maglione b8aab050e9 Remove some config.name checks. Add configbase module. 2009-05-23 21:10:32 -04:00
Kris Maglione 16b8af74d1 Remove some config.name checks. Add configbase module. 2009-05-23 21:09:21 -04:00
Kris Maglione 955ee4185b Fix things like ":map :", ":map +", but not things like ":map <Plus>". Ideas? 2009-05-22 22:18:10 -04:00
Kris Maglione 36f6ff463f Store canonical names for all bound keys. 2009-05-22 22:12:11 -04:00
Kris Maglione fa16e09a9a Don't setcomm /dev/null <(js -Cv180 options.js |& grep .) browser.startup.page on startup. 2009-05-22 17:01:23 -04:00
Kris Maglione 68b75aa5c5 Fix <u>. 2009-05-22 16:58:00 -04:00
Kris Maglione b74df73c85 More sanity in completion changes in last commit. 2009-05-22 13:59:10 -04:00
Kris Maglione e9fc3327ed Make :undo a bit saner. Add TODO about config.name checks. 2009-05-22 13:55:22 -04:00
Kris Maglione d1241eb346 Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-05-19 13:06:48 -04: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 01a8844d96 Revert "Fix #258: :set urlseparator= results in infinite loop"
This reverts commit e0f50f4eef07670f5c4ece8496785f6683236dc8.
2009-05-01 17:49:41 -04:00
Kris Maglione dbf60914ab Add 'fileencoding' 2009-05-01 15:19:35 -04:00
Kris Maglione e5dc623247 Fix #258: :set urlseparator= results in infinite loop 2009-05-01 14:26:23 -04:00
Kris Maglione 324597c8a7 Fix completion. 2009-04-29 20:29:14 -04:00
Kris Maglione 2578a77f52 Hack... 2009-04-29 17:34:22 -04:00
Kris Maglione c64cd9e1af Don't flush event queue in feedkeys loop. 2009-04-28 14:28:14 -04:00
Kris Maglione 9aec9f3e6a Fix #243 2009-04-24 19:27:06 -04:00
Kris Maglione 2f753b6d27 Fix #247 2009-04-22 13:15:56 -04:00
Kris Maglione 63360ac6a3 Fix 9b347a8b11e3f9d2b1ffa2391b1cc93bc5997fef (contentEditable) 2009-04-15 18:34:50 -04:00
Kris Maglione 8cd587b496 Fix #212 2009-04-15 18:30:30 -04:00
Kris Maglione 3d8c17574a Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-04-15 16:31:37 -04:00
Kris Maglione f3f70d5cb8 General cleanup related to last commit. 2009-04-15 16:31:32 -04:00
Kris Maglione df5b66d838 Add 'encoding' 2009-04-13 12:22:17 -04:00
Kris Maglione 5231ce880f Validate 'hinttags' and 'extendedhinttags' 2009-04-13 08:42:06 -04:00
Kris Maglione 93df18885a Document incompatibility of go=l and go=r 2009-04-07 16:32:18 -04:00
Kris Maglione 31ca8391b9 Only apply tab binding if tab numbers are enabled. 2009-04-07 15:45:26 -04:00
Kris Maglione 323f3ab175 Fix template.highlightURL 2009-04-06 16:42:48 -04:00
Kris Maglione 3c22453d31 Add horrifically mangled, unicode-aware asciidoc. 2009-03-30 20:16:45 -04:00
Kris Maglione 56da39319b Fix config.focusChange check. 2009-03-30 11:00:38 -04:00
Kris Maglione dfe061db6f Change ted's licence block in template.js 2009-03-30 01:28:03 -04:00
Kris Maglione ff9b9b3d2f Change xulmus's id to xulmus@vimperator.org before it affects too many users. 2009-03-30 01:23:00 -04:00
Kris Maglione 3a60d9e530 Finish this ridiculously botched merge. 2009-03-30 01:20:18 -04:00
Kris Maglione 2a88d8a3bf Revert "Fix some zi/zo issues."
This reverts commit b39be7b367528d9a86380c3ec5c2a6fcafd2cd22.
2009-03-30 01:19:29 -04:00
Kris Maglione 5f27bf99da Fix some zi/zo issues. 2009-03-30 01:19:11 -04:00
Kris Maglione 7e068d4f9e Fix some zi/zo issues. 2009-03-30 01:16:39 -04:00
Kris Maglione a8f41faf4e Merge. 2009-03-30 01:14:46 -04:00
Kris Maglione cf57844986 Get rid of some 'config.name' checks in the common tree. These should all, ideally, go. 2009-03-22 02:25:05 -04:00
Kris Maglione c35cca159f Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-03-21 13:43:43 -04:00
Kris Maglione 6c4a4bbae8 Merge branch 'xulmus' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-03-18 03:36:22 -04:00
Kris Maglione ed79b24a01 Merge. 2009-03-12 22:05:38 -04:00
Kris Maglione 93f59df6e7 Fix some bugs---which bugs, I have no idea. 2009-03-12 22:00:46 -04:00