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

328 Commits

Author SHA1 Message Date
Kris Maglione
bf5fb6d44e Finish adding missing copyright notices.
--HG--
branch : testing
2009-12-01 07:08:05 -05:00
Kris Maglione
7ad0b06f4d Fix some brokenness. 2009-11-15 06:48:00 -05:00
Kris Maglione
f0c87aeae5 Properly quote strings. 2009-11-15 02:43:53 -05:00
Kris Maglione
a70f1c2926 Replace some arrays with Objects after some memory profiling. 2009-11-15 02:31:48 -05:00
Doug Kearns
9937c2965a Fix some variable references in Hints.
--HG--
extra : rebase_source : cc651cba7e6da7dee9c363f85b3b5459194cce06
2009-11-15 17:49:37 +11: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
91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione
86142105a1 Add config.browser, config.tabbrowser. Fix mailbird. &c. 2009-11-14 01:04:53 -05:00
Kris Maglione
a9e8d9d691 Make Option.validateCompleter the default validator: look out for minor breakage. 2009-11-13 21:50:06 -05:00
Kris Maglione
00697620ca Clear highlighting on page unload, etc. 2009-11-13 19:17:34 -05:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Kris Maglione
b607764012 Add Classeditor.jssetTimeout. Fix some broken timeouts. 2009-11-11 19:18:04 -05:00
Kris Maglione
2f8369ddf7 Add experimental transliterating hint matcher that I apparently wrote for Conkeror. (resume matches résume, mae mæstro, and so on (but résume and mæstro don't...)) 2009-11-11 08:46:18 -05:00
Doug Kearns
e04cc5dd33 Fix some munged documentation. 2009-11-10 18:27:32 +11:00
Kris Maglione
e73b128cab Fix hint statusline buffer. I can't stand all of this special case spaghetty code event handling mess. 2009-11-09 10:20:31 -05:00
Kris Maglione
884411c39c Fix typos in hints.js and protocols.js. Closes issue #144. 2009-11-09 06:31:54 -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
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
eaf184ae9b Move to a two-stage parser for the help. 2009-11-01 21:30:13 -05: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
Martin Stubenschrott
d75c7cb870 Fix bug #122 - thanks robert anthony farrell 2009-10-29 21:33:48 +01:00
Kris Maglione
18e414f180 Take a crack at killing security warnings. Fail miserably. Keep the new code because it's a bit nicer.
--HG--
branch : xslt
2009-10-26 04:31:54 -04:00
Doug Kearns
9450e65d05 Change lots of local vars in hints.js to camel case.
HACKING is that way ->

--HG--
extra : rebase_source : f531065897da913844d46f084a3b2ee890f215d1
2009-10-13 17:35:47 +11:00
Doug Kearns
66e3c4c95c Work around failing getComputedStyle on Facebook.
getComputedStyle returns null for the channel_iframe document.
2009-10-05 18:38:25 +11:00
Doug Kearns
e041219339 Whitespace fixes. 2009-10-03 16:58:45 +10:00
Martin Stubenschrott
3910c0604b Move all files to a MIT license 2009-10-03 00:32:29 +02:00
Doug Kearns
3e398fdbf3 Fix last commit. 2009-10-02 04:24:46 +10:00
Doug Kearns
c033ea3fab Remove useless var from getContainerOffsets. 2009-10-02 00:41:49 +10:00
Doug Kearns
2a67d973d6 Fix hint positioning for pages with body { position: static }. 2009-10-01 17:17:04 +10:00
Doug Kearns
4daa9ace53 Add util.makeXPath for constructing XPath expressions.
--HG--
extra : transplant_source : G%A7_%1B%9B%7BN%9C%FF%14%A9g%BA%04%99%B3%8B%23%ED%F2
2009-09-25 15:57:20 +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
6a26702769 Last commit ++ 2009-09-05 13:55:59 -04:00
Doug Kearns
86fe0d2d1e Quick fix for hints broken in 50681c8dda1e2f35c9f15a3221913f3bf8e0927f.
The first hint was always being selected.
2009-09-06 03:25:32 +10:00
Doug Kearns
2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Kris Maglione
ab63b8c314 Fix some hint bugs. 2009-09-03 19:54:14 -04:00
Kris Maglione
6ab4d222ae Fix bug in last commit. 2009-08-29 15:45:17 -04:00
Kris Maglione
3d8aa842da Fix hints with body { position: relative; } 2009-08-28 18:13:37 -04:00
Doug Kearns
b6a898a5fa Formatting fixes. 2009-08-27 14:46:37 +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
662bf53d5f Normalise fooID => fooId. 2009-08-16 01:35:03 +10:00
Doug Kearns
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
04b96235be Clean up some option descriptions. 2009-07-24 21:01:45 +10:00
Doug Kearns
3bb2f92e83 Remove Gmail hack from the default 'hinttags' value.
This was barely a partial solution anyway.
2009-07-01 18:47:27 +10:00
Doug Kearns
f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10:00
Kris Maglione
7c7710b23d Cleanup default 'hinttags' definition a bit 2009-06-28 14:46:23 -04:00
Doug Kearns
6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00