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

148 Commits

Author SHA1 Message Date
Doug Kearns afc14aff65 Remove :edit, :tabedit and :winedit aliases. 2009-11-14 04:20:26 +11:00
Doug Kearns 41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -05:00
Doug Kearns a7925705d7 Finish the Great Opening Brace Correction. 2009-11-09 16:03:00 +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 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 10091e0fd1 Use host branding dtd. Purge help of residual Vimperator/Firefox references.
--HG--
branch : xslt
2009-10-25 15:20:56 -04:00
Kris Maglione c697b165a0 Update Xulmus docs, in theory.
--HG--
branch : xslt
rename : common/locale/en-US/intro.xml => vimperator/locale/en-US/intro.xml
rename : common/locale/en-US/tutorial.xml => vimperator/locale/en-US/tutorial.xml
2009-10-24 18:45:11 -04:00
Kris Maglione 8b222085ec Add machinery to splice in app-specific help entries.
--HG--
branch : xslt
rename : vimperator/locale/en-US/all.xml => common/locale/en-US/all.xml
rename : vimperator/locale/en-US/autocommands.xml => common/locale/en-US/autocommands.xml
rename : vimperator/locale/en-US/browsing.xml => common/locale/en-US/browsing.xml
rename : vimperator/locale/en-US/buffer.xml => common/locale/en-US/buffer.xml
rename : vimperator/locale/en-US/cmdline.xml => common/locale/en-US/cmdline.xml
rename : vimperator/locale/en-US/developer.xml => common/locale/en-US/developer.xml
rename : vimperator/locale/en-US/eval.xml => common/locale/en-US/eval.xml
rename : vimperator/locale/en-US/gui.xml => common/locale/en-US/gui.xml
rename : vimperator/locale/en-US/hints.xml => common/locale/en-US/hints.xml
rename : vimperator/locale/en-US/index.xml => common/locale/en-US/index.xml
rename : vimperator/locale/en-US/insert.xml => common/locale/en-US/insert.xml
rename : vimperator/locale/en-US/intro.xml => common/locale/en-US/intro.xml
rename : vimperator/locale/en-US/map.xml => common/locale/en-US/map.xml
rename : vimperator/locale/en-US/marks.xml => common/locale/en-US/marks.xml
rename : vimperator/locale/en-US/message.xml => common/locale/en-US/message.xml
rename : vimperator/locale/en-US/options.xml => common/locale/en-US/options.xml
rename : vimperator/locale/en-US/pattern.xml => common/locale/en-US/pattern.xml
rename : vimperator/locale/en-US/print.xml => common/locale/en-US/print.xml
rename : vimperator/locale/en-US/repeat.xml => common/locale/en-US/repeat.xml
rename : vimperator/locale/en-US/starting.xml => common/locale/en-US/starting.xml
rename : vimperator/locale/en-US/styling.xml => common/locale/en-US/styling.xml
rename : vimperator/locale/en-US/tabs.xml => common/locale/en-US/tabs.xml
rename : vimperator/locale/en-US/tutorial.xml => common/locale/en-US/tutorial.xml
rename : vimperator/locale/en-US/various.xml => common/locale/en-US/various.xml
2009-10-24 16:17:33 -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 f2b624b812 Rename iGirl image to about_background.png.
--HG--
rename : vimperator/content/about_background.jpg => vimperator/content/about_background.png
2009-10-03 18:54:22 +10: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
Doug Kearns d24adb5f35 Fix the version string in the About:Vimperator page.
--HG--
extra : transplant_source : %F2%DA%8C%7E%EDrq%84%94%049H%27%82%99%95h%7B%BD%16
2009-09-25 18:02:12 +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 60ae1deb3f Move {xulmus,vimperator}/**/bookmarks.js to common/content. 2009-06-06 03:21:25 +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