1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:57:59 +01:00
Commit Graph

83 Commits

Author SHA1 Message Date
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
55f1ec7c3e Add some more help docs. 2009-11-04 01:15:08 -05:00
Kris Maglione
66286a890c Remove rollover effects from anchors without hrefs. 2009-11-03 21:48:23 -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
108f467fe4 Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. 2009-11-02 00:18:58 -05: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
cf03f99246 Fix broken :colorscheme completion. 2009-10-31 18:42:48 -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
a9034d8559 Fix broken highlight groups.
--HG--
extra : rebase_source : 64e041fcdc00122ae86be1e2d97d84f101a62eae
2009-10-31 13:20:01 -04:00
Kris Maglione
7449d40f73 Add TOC to help pages. 2009-10-30 02:04:15 -04:00
Kris Maglione
9bb01ce7ef Change Storage#newObject signature. 2009-10-29 20:30:24 -04:00
Kris Maglione
412f3101c1 Improve the help formatting with generous and ugly use of struts. Unfortunately, the HTML box model doesn't lend itself to automatic Vim-ish formatting.
--HG--
branch : xslt
2009-10-28 04:37:53 -04:00
Kris Maglione
537c0e0d51 Minor help fixes. Almost time to merge. Need to get rid of these silly security warnings flooding the console.
--HG--
branch : xslt
2009-10-26 03:54:29 -04:00
Kris Maglione
9e531ca343 Fix Xulmus, etc.
--HG--
branch : xslt
2009-10-25 13:43:25 -04:00
Kris Maglione
4c13eb0798 Help formatting fixes.
--HG--
branch : xslt
2009-10-24 14:24: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
9b0e6ac28b Move an inline style from util.objectToString to a new Key highlight group. 2009-10-16 00:28:27 +11:00
Kris Maglione
e62d9f96a5 Minor cleanup. 2009-10-08 23:13:24 -04:00
Doug Kearns
e041219339 Whitespace fixes. 2009-10-03 16:58:45 +10:00
Kris Maglione
e0ebc32489 Allow scripts to bulk-load new highlight groups, as in style.js; add Styles#loadCSS. 2009-10-02 19:46:57 -04:00
Martin Stubenschrott
3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Kris Maglione
fe8a96faf3 Replace my quirky license block with explicit MIT license. 2009-09-26 14:52:19 -04:00
Kris Maglione
a29c4bd9f5 Be nicer to color blind people. 2009-09-17 08:27:08 -04:00
Doug Kearns
990645c397 Add Enabled and Disabled highlight groups.
Currently only used in the :extensions output.
2009-09-17 15:56:54 +10:00
Doug Kearns
dbc99ad956 Revert "Move util.Array to modules.Array_."
This reverts commit d6cdda48a18c9fa05365b50046470fec9935fd3c.

Array_ method chaining needs fixing.
2009-09-15 13:20:06 +10:00
Doug Kearns
7c66dc2b17 Move util.Array to modules.Array_. 2009-09-14 15:19:56 +10:00
Kris Maglione
66a2579fb9 Add :styenable, :stydisable, :stytoggle 2009-09-10 18:22:26 -04:00
Doug Kearns
53a6d8c6ef Fix completion.highlightGroup to only show highlight groups. 2009-08-28 02:48:13 +10: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
Kris Maglione
9d77c018ca Fix something to do with <a>. 2009-08-19 14:03:14 -04:00
Doug Kearns
c43dbf510e Fix #326 (:style -append not working as expected). 2009-08-10 07:13:15 +10:00
Doug Kearns
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10: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
ec8d7686fc Move the standard type completers to appropriate modules. 2009-06-18 22:02:21 +10:00
Doug Kearns
e5c6d58a88 Fix some "for each" iteration of arrays. 2009-06-17 16:22:53 +10:00
Doug Kearns
64a9c9554c Fix more function formatting faux pas as per the style guide. 2009-06-01 16:46:09 +10:00
Doug Kearns
aeec233730 Fix source formatting. 2009-05-23 22:59:35 +10: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
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
324597c8a7 Fix completion. 2009-04-29 20:29:14 -04:00
Kris Maglione
2f753b6d27 Fix #247 2009-04-22 13:15:56 -04:00
Kris Maglione
8cd587b496 Fix #212 2009-04-15 18:30:30 -04:00
Kris Maglione
f3f70d5cb8 General cleanup related to last commit. 2009-04-15 16:31:32 -04:00
Kris Maglione
31ca8391b9 Only apply tab binding if tab numbers are enabled. 2009-04-07 15:45:26 -04:00