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

981 Commits

Author SHA1 Message Date
Doug Kearns
a7925705d7 Finish the Great Opening Brace Correction. 2009-11-09 16:03:00 +11: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
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
Doug Kearns
a7c5da9f6f Restore :helpall. 2009-11-09 03:28:39 +11: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
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
9b32154909 Add note to TODO. 2009-11-01 00:32:27 -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
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
Kris Maglione
a9034d8559 Fix broken highlight groups.
--HG--
extra : rebase_source : 64e041fcdc00122ae86be1e2d97d84f101a62eae
2009-10-31 13:20:01 -04:00
Kris Maglione
43b9d560fa Add fold markers (that I don't use) to style.xsl; minor cleanup. 2009-10-30 07:53:37 -04:00
Kris Maglione
7449d40f73 Add TOC to help pages. 2009-10-30 02:04:15 -04:00
Kris Maglione
2ffbe6005e Fixes issue #119.
Update issue #119
This should be fixed, but I'm fairly convinced that it
shouldn't occur in the first place, and a new problem may well
occur in its place. Which version of Firefox are you using,
and which other extensions?
2009-10-29 22:28:21 -04:00
Kris Maglione
9bb01ce7ef Change Storage#newObject signature. 2009-10-29 20:30:24 -04:00
Martin Stubenschrott
172d04c1f2 merge 2009-10-29 21:42:02 +01:00
Martin Stubenschrott
d75c7cb870 Fix bug #122 - thanks robert anthony farrell 2009-10-29 21:33:48 +01:00
Kris Maglione
1350701eec Update util.generateHelp. 2009-10-28 17:38:06 -04:00
Kris Maglione
f6a3d42ab5 Update help status line parser. 2009-10-28 17:02:41 -04:00
Kris Maglione
9bb1feb3ce Fix broken donate button. 2009-10-28 17:00:07 -04:00