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

15 Commits

Author SHA1 Message Date
Doug Kearns
a057f840e8 Q'n'D fix for :messages. 2009-11-18 06:48:04 +11:00
Kris Maglione
7ad0b06f4d Fix some brokenness. 2009-11-15 06:48:00 -05:00
Kris Maglione
ae3cf7b02c Condense collapsed completion groups a bit.
--HG--
extra : rebase_source : 1c8ecadd775ab088fa726dff90646fa1345a818d
2009-11-15 03:39:27 -05:00
Doug Kearns
52749d6722 Remove some redundant uses of "new". 2009-11-14 23:07:56 +11:00
Doug Kearns
6cc43ad29a Formatting fixes. 2009-11-14 21:57:32 +11:00
Kris Maglione
1d783600fb Halve the security errors at startup, but still annoyingly many of them. 2009-11-14 04:56:44 -05:00
Kris Maglione
91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione
a9e8d9d691 Make Option.validateCompleter the default validator: look out for minor breakage. 2009-11-13 21:50:06 -05:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione
433ebbc1d9 Fix 'cpt' completer. Closes issue #149. 2009-11-12 05:37:28 -05:00
Kris Maglione
b607764012 Add Classeditor.jssetTimeout. Fix some broken timeouts. 2009-11-11 19:18:04 -05:00
Doug Kearns
e04cc5dd33 Fix some munged documentation. 2009-11-10 18:27:32 +11:00
Kris Maglione
ce2b7893e4 Fix some crap. Closes issue #145. 2009-11-09 08:09:27 -05:00
Kris Maglione
a72068c9f7 Refactor modules.config. 2009-11-09 03:12:27 -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