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

26 Commits

Author SHA1 Message Date
Kris Maglione
ee91adc5ad Use the debugger for object property completion. 2009-11-11 07:53:47 -05:00
Kris Maglione
dd924d0822 Fix mailbird. 2009-11-09 14:14:51 -05:00
Doug Kearns
bc101175a1 Whitespace fixes.
--HG--
extra : rebase_source : 3717d85606cea3b4bab637300a06c54d0af0d8c6
2009-11-10 04:54:15 +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
108f467fe4 Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. 2009-11-02 00:18:58 -05: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
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
Kris Maglione
8b7b290e65 Don't report live bookmark items as bookmarked. 2009-10-09 00:17: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
Doug Kearns
2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Doug Kearns
11b54186d5 Add :sanitize, 'sanitizetimespan' and 'sanitizeitems'. 2009-09-04 12:30:27 +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
Kris Maglione
a7de8b8cd0 Add favicons to :ba and :fo 2009-07-21 14:48:40 -04:00
Doug Kearns
4df207e6e5 Add some rudimentary extension related commands.
Adds :extadd, :extdelete, :extdisable, :extenable, :extensions.
2009-07-07 21:37:41 +10:00
Doug Kearns
837b17d6c1 Add function completers for services.{get,create}. 2009-06-18 22:08:59 +10:00
Doug Kearns
6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Doug Kearns
0edefd5dc2 Add a command-line handler to process the -liberator option. 2009-05-28 20:28:51 +10:00
Doug Kearns
1ca0bc0de4 Formatting fixes. 2009-03-16 16:24:09 +11:00
Doug Kearns
80beaa41df And xulmus was born. 2009-03-16 15:54:02 +11:00
Ted Pavlic
d29013a2fd Three small changes (copyright, template.js copyright, and tildetidy target)
a.) Cleaned up copyright language to match conventions.
(I used the memoir document class documentation as a reference, but
 these conventions are common throughout publishing)

   * The (c) symbol has no legal meaning. Only the word "Copyright" and
     an encircled lowercase c are appropriate. So the word "Copyright"
     was placed before each (c).

   * Each (C) was changed to (c).

   * Kris uses the correct symbols in copyright notices, but those
     symbols can be problematic in terminal-mode editors. Added the word
     "Copyright" as well.

   * Replaced colons/spaces after years with the word "by."

b.) Added a copyright notice to common/content/template.js. It was
    missing one entirely. Please correct if it doesn't need one or if the
    copyright isn't held by Martin.

c.) Also added a "tildetidy" target to Makefile common that includes a
    version of the find line from the existing "clean" target (however,
    this version uses "rm -fv" instead of "rm -f").
2009-01-12 09:14:54 -05:00
Kris Maglione
a524b70b52 Fix CommandLine#History docs. Add evil fold markers. 2009-01-11 14:43:29 -05:00
Doug Kearns
698cdb19c2 Add "io" to the services cache. 2009-01-05 21:47:49 +11:00
Doug Kearns
e91fbcd754 Add some source documentation for AutoCommands.
Also normalise the use of /* */ and // comments.
2009-01-02 00:56:58 +11:00
Kris Maglione
89698e3e05 s/service[(".*?")]/services.get(\1)/g; s/service.get(\w+)/'services.create("' + lcfirst($1) + '")'/ge 2008-12-23 15:07:48 -05:00