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

217 Commits

Author SHA1 Message Date
Kris Maglione
f0c87aeae5 Properly quote strings. 2009-11-15 02:43:53 -05:00
Doug Kearns
607e65bf6f Remove unused variable. 2009-11-14 21:54:09 +11:00
Kris Maglione
91fd0e1169 Get rid of absurd strict JS warnings. 2009-11-14 04:38:36 -05:00
Kris Maglione
a4dced6911 Automatically track and remove long-lived event listeners. 2009-11-13 16:12:50 -05:00
Doug Kearns
569bef73bd Finish moving page load event handlers to the buffer module.
Bad merge.
2009-11-14 06:00:57 +11:00
Doug Kearns
41b9c8e9a1 Formatting fixes. 2009-11-14 04:20:09 +11:00
Doug Kearns
d979eb7326 Move Tab* event handlers to the tabs module. 2009-11-14 04:18:01 +11:00
Doug Kearns
157fa3b2e5 Remove unused events#wantsModeReset property. 2009-11-14 04:17:32 +11:00
Doug Kearns
10cd85c34f Fix removal of wrapped key press event handlers. 2009-11-14 04:12:03 +11:00
Kris Maglione
12012af693 More RangeFind work. 2009-11-13 03:00:46 -05:00
Kris Maglione
b607764012 Add Classeditor.jssetTimeout. Fix some broken timeouts. 2009-11-11 19:18:04 -05:00
Kris Maglione
0f4598fcd6 Resurrect my range finder, Part II: Make things works sensibly with frames. 2009-11-11 02:35:51 -05:00
teramako
a1dbd3fa7a prevent showing up warning in error console in case event type is 'keyup' and javascript.options.showInConsole is true 2009-11-10 20:53:19 +09:00
Kris Maglione
95fa7a4037 Resurrect my range finder, Part I. 2009-11-09 23:00:56 -05: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
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
1ce498401e Add liberator.assert. 2009-11-03 02:36:48 -05:00
Kris Maglione
d59a85585b Fix storage bins. 2009-11-03 00:19:55 -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
755079877e Fix occasional lag in updating tab count widget (thanks elitemx). Minor cleanup. 2009-10-11 02:38:33 -04:00
Doug Kearns
42db245cac Fix events.js license header. 2009-10-11 01:53:23 +11:00
Doug Kearns
29de612097 Fix escaping from Textarea mode in input fields.
When escaping from Textarea mode in input fields, and also text areas if
'insertmode' is set, return to Insert mode.
2009-10-11 01:38:11 +11:00
Doug Kearns
422579f6e2 Fix input buffer related hint bugs.
Spurious "null"s in input fields and key event swallowing following f1<Return>
etc.
2009-09-30 15:41:49 +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
Doug Kearns
1eacb77f53 Reset the mode when an embedded object loses focus. 2009-09-06 20:52:32 +10:00
Doug Kearns
2b7e4dcb67 Remove redundant semicolons. 2009-09-04 21:58:43 +10:00
Doug Kearns
0aa4d28ac5 Fix inputting of numbers in INSERT mode.
This is a quick fix, I haven't digested the relevant commit yet.
2009-09-04 20:20:03 +10:00
Kris Maglione
5116502bf9 Add EMBED mode. 2009-09-03 20:34:19 -04:00
Kris Maglione
561a3ff978 Fix #182, map <silent> quirk. 2009-09-03 20:08:58 -04:00
Kris Maglione
ab63b8c314 Fix some hint bugs. 2009-09-03 19:54:14 -04:00
Doug Kearns
1a3394d1a0 Fix :doautoall. 2009-08-27 14:46:37 +10:00
Doug Kearns
b6a898a5fa Formatting fixes. 2009-08-27 14:46:37 +10:00
Doug Kearns
97236c4839 Remove some commented-out code from Events. 2009-08-27 14:46:32 +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
77458e5b8a Whitespace and semicolon fixes. 2009-08-10 02:15:23 +10:00
Doug Kearns
821e48a7e3 Add the DOMLoad autocommand event to Muttator.
This also fixes the PageLoad* events.
2009-07-15 14:10:40 +10:00
Doug Kearns
25f2695ee2 Fix Debian #534477(don't print the HTML code in url in the status line).
This matches the behaviour of hovered link status-line updates.
2009-07-11 16:51:49 +10:00
Doug Kearns
49da7fca3a Fix 'focuscontent' error. 2009-07-11 16:04:07 +10:00
Doug Kearns
c51761e08b Validate the pattern arg to :autocmd. 2009-07-11 15:45:55 +10:00
Doug Kearns
76a096e36b Only fire the DOMLoad autocommand for the top level document.
This matches the PageLoad autocommand behaviour.
2009-07-11 15:29:53 +10:00
Doug Kearns
494788e5ca Test the "tabs" feature when adding Tab* events. 2009-07-09 06:00:26 +10:00
Doug Kearns
8cb22c4c97 Fix the tab count status-line field in FF 3.5. 2009-07-09 06:00:25 +10:00
Doug Kearns
581b2e67dc Prevent user mappings from shadowing longer ones with a common prefix. 2009-07-01 18:53:49 +10:00
Doug Kearns
f9ffc9138a Cleanup and add some documention. 2009-06-29 19:22:09 +10:00
Kris Maglione
c4e9e414be Add PrivateMode autocommand. Add -js flag to :au 2009-06-28 15:14:23 -04:00
Kris Maglione
55164325df Don't save storage objects while in private mode, restore them on exit. 2009-06-28 14:37:23 -04:00
Doug Kearns
776f9bb425 Cleanup some references to "Firefox" in common/*. 2009-06-28 16:03:23 +10:00