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

26 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
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
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
Doug Kearns
e2e31528e2 Normalise the use of "func" vs "fn" for function references.
"func" had the numbers.
2009-06-29 19:09:08 +10:00
Doug Kearns
ec8d7686fc Move the standard type completers to appropriate modules. 2009-06-18 22:02:21 +10:00
Doug Kearns
7e4a0096de Fix use of reserved word "class" in template.completionRow. 2009-05-11 20:13:45 +10:00
Doug Kearns
3c408003d2 Remove fixed FIXME comment from template.highlightURL. 2009-05-02 17:06:30 +10:00
Kris Maglione
f3f70d5cb8 General cleanup related to last commit. 2009-04-15 16:31:32 -04:00
Kris Maglione
323f3ab175 Fix template.highlightURL 2009-04-06 16:42:48 -04:00
Kris Maglione
dfe061db6f Change ted's licence block in template.js 2009-03-30 01:28:03 -04:00
Martin Stubenschrott
5ab1771e3c changed my email address 2009-03-28 23:38:33 +01:00
Doug Kearns
866940886d Set the href of links in the output of :jumps to the actual URL.
template.highlightURL should probably have the same change applied but
I'm not sure of the intent there.
2009-03-03 00:57:04 +11:00
Kris Maglione
c9c708f636 Fix some bugs, generally. 2009-02-09 16:18:24 -05: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
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
e1d5236261 Remove other uses of CompletionContextcompletion.jsgetKey 2008-12-20 13:54:35 -05:00
Kris Maglione
74700d3aff Document some more crap. 2008-12-19 13:27:01 -05:00
Kris Maglione
304bfab29e Fix clicking links in the MOW 2008-12-17 18:35:02 -05:00
Kris Maglione
374004e31b Add *very* basic (and bad) E4X highlighting for vim. 2008-12-09 22:00:47 -05:00
Martin Stubenschrott
f52548c7a6 Fixed :qmarks 2008-12-08 02:08:45 +01:00
Kris Maglione
bdc8b4794c Fix occurances of this.generic in completion.js 2008-12-07 14:39:07 -05:00
Kris Maglione
7693ac5000 Fix :time :stuff, etc. 2008-12-07 10:48:03 -05:00
Kris Maglione
183b48afa1 Cleanup ui.js history searching. Fix white-space in :echo/! output. 2008-12-06 18:10:22 -05:00
Daniel Bainton
729854c749 Rename liberator/ to common/ 2008-12-04 07:56:35 +02:00