1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-24 11:51:24 +02:00
Commit Graph

87 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 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 108f467fe4 Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. 2009-11-02 00:18:58 -05:00
Kris Maglione 486ac5954a Get rid of silly config.helpFiles.
--HG--
branch : xslt
rename : common/components/chrome-data.js => common/components/protocols.js
2009-10-25 20:06:50 -04:00
Kris Maglione 0d44d919bc Replace asciidoc with native XSLT transforms.
--HG--
branch : xslt
rename : common/Makefile.common => common/Makefile
rename : vimperator/components/about-handler.js => common/components/about-handler.js
rename : vimperator/components/chrome-data.js => common/components/chrome-data.js
rename : vimperator/components/commandline-handler.js => common/components/commandline-handler.js
2009-10-21 04:46:29 -04:00
Doug Kearns d0e1f3a2c2 Rename :only to :winonly. 2009-10-03 14:52:49 +10:00
Martin Stubenschrott 3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns 3c1ad3089e Add :only. 2009-10-03 01:13:21 +10:00
Doug Kearns cd474c1d6a Call the Sanitize autocommand when clearing each private item.
--HG--
extra : transplant_source : a%AB%B2%02%28R%3EM%E5%AC%7C%CB%18%2A%AA9%FEbt%09
2009-09-25 20:59:58 +10:00
Martin Stubenschrott a2a2f17e62 remove 't' from default 'complete' in preparation for 2.2. We have yet to decide whether we even want to this functionality in :open or maybe just add a super smart :goto) 2009-09-13 17:31:06 +02:00
Doug Kearns 11b54186d5 Add :sanitize, 'sanitizetimespan' and 'sanitizeitems'. 2009-09-04 12:30:27 +10:00
Kris Maglione b8d972ca94 Make some attempt to respect "Clear Private Data" 2009-09-03 17:29:26 -04:00
Doug Kearns bf240bc2b0 Make config.styleableChrome an array. 2009-08-27 14:46:35 +10:00
Doug Kearns c958616337 Formatting fixes. 2009-08-27 14:46:30 +10:00
Doug Kearns b0f4af5e55 Rename -liberator command-line option to -[config-name]. 2009-08-21 23:57:38 +10:00
Martin Stubenschrott fb44ca22dc Fix completions for FF3.6
Also see: https://bugzilla.mozilla.org/show_bug.cgi?id=510589
2009-08-14 23:45:42 +02:00
Doug Kearns e842bf8cc9 Add :window to run a command in a new window.
Works like :tab.
2009-08-10 21:56:23 +10:00
Doug Kearns ec4982d50b Add a :helpall command.
This effectively divides the help into chunked and unchunked subsystems
for clarity.
2009-08-04 17:55:55 +10:00
Martin Stubenschrott bfe94c311d Add "t" option to 'complete'. Visually it looks odd, that the icons are
more indented than others, we might want to remove or at least move the
% and # indicators
2009-07-31 18:21:32 +02:00
Doug Kearns f16797c73c Fix typo in PrivateMode description. 2009-07-15 20:25:19 +10:00
Doug Kearns f1ca259fac Rename "tabUndo" feature to "tabs_undo". 2009-07-15 18:03:17 +10:00
Doug Kearns f57d0c05a9 Add 'titlestring' to Muttator. 2009-07-15 17:59:57 +10:00
Doug Kearns ecc26ad728 Add an about:vimperator page. 2009-07-13 23:52:26 +10:00
Doug Kearns 363cefe30f Remove duplicated definition of 'private'. 2009-07-11 15:29:07 +10:00
Doug Kearns ed62a23c83 Extract common browser related behaviour into a new browser module. 2009-07-02 17:17:13 +10:00
Doug Kearns f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10:00
Doug Kearns 701f9ef494 Move filename calculations from io.createTempFile to config.tempFile. 2009-06-29 19:09:11 +10:00
Kris Maglione c4e9e414be Add PrivateMode autocommand. Add -js flag to :au 2009-06-28 15:14: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
Doug Kearns 63925afb03 Add 'private' for entering private browsing mode. (Gary Katsevman) 2009-06-28 16:44:40 +10:00
Doug Kearns 6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00
Doug Kearns f4b94374ae Support 'titlestring' in private browsing mode. 2009-06-28 16:03:17 +10:00
Doug Kearns ddfa294e1b Remove config.mainWindowID tests from common/*. 2009-06-28 16:03:16 +10:00
Doug Kearns ec8d7686fc Move the standard type completers to appropriate modules. 2009-06-18 22:02:21 +10:00
Doug Kearns dbe348687e Add an 'online' option to Muttator.
Also changed Vimperator's 'offline' to make use of Firefox's
BrowserOffline.
2009-06-14 02:14:03 +10:00
Doug Kearns 4585b1b476 Remove trailing commas from config.defaultOptions. 2009-06-11 03:22:35 +10:00
Doug Kearns 29daa12f8e Add a "tabUndo" config feature.
Songbird doesn't support tab undo.
2009-06-06 03:12:52 +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
Martin Stubenschrott 7e9fcf8d05 Move 'encoding' option to vimperator, since PlacesUtils is supported on firefox anyway 2009-06-01 14:45:57 +02:00
Kris Maglione 6055c8a77b Add some rough documentation for config.js properties. 2009-05-25 12:10:22 -04:00
Doug Kearns 9e9e553a70 Whitespace fixes. 2009-05-24 23:46:15 +10:00
Doug Kearns 61b6491b8b Add all.html for viewing all help in a single page.
This is all really inside out. It would be much better to store the help
in a single file and use asciidoc/docbook's capabilities to split it if
desired.
2009-05-24 23:32:09 +10:00
Kris Maglione b8aab050e9 Remove some config.name checks. Add configbase module. 2009-05-23 21:10:32 -04: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 cb0f542e94 Rename Search to Finder.
Search generally refers to web searches in this domain and mixing
"search" and "find" within the same module is very confusing.
2009-05-11 17:53:33 +10:00
Doug Kearns 4912348398 Normalise the count arg of map actions with Math.max.
Passing an arg object to these actions as is done for commands might be
better.
2009-05-06 21:45:03 +10: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 e5dc623247 Fix #258: :set urlseparator= results in infinite loop 2009-05-01 14:26:23 -04:00