1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-25 21:51:25 +02:00
Commit Graph

196 Commits

Author SHA1 Message Date
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
Doug Kearns 6f2eb2d1ef Split Map.flags into individual properties of Map. 2009-06-28 16:03:21 +10:00
Doug Kearns ec8d7686fc Move the standard type completers to appropriate modules. 2009-06-18 22:02:21 +10:00
Doug Kearns 8a834b3386 Refactor isFormElemFocused and rename isInputElemFocused. 2009-06-17 18:52:55 +10:00
Doug Kearns 2725aa2ee0 Don't reference modes.MESSAGE in events.onFocusChange. 2009-06-17 15:20:58 +10:00
Doug Kearns 3fde53ab9d Remove trailing whitespace. 2009-06-08 23:41:10 +10:00
Doug Kearns 32106364f5 Formatting fixes. 2009-06-08 23:37:07 +10:00
Doug Kearns c6056f711f Use lambda notation for events.is{Accept,Cancel}Key definitions. 2009-06-08 23:33:27 +10:00
Conrad Irwin 2d345fc10d Refactor events keyhandling and document changes.
Re-introduced S- into the canonical mappings so that
re-canonicalising will not differ from the original canonicalised form.

Documented recent changes to S- modifier in help.

Refactor events.js to avoid replicating parsing key-strings in two
places. The new fromString is the opposite of toString, and
canonicalisation now proceeds by doing both.

Added the .liberatorShift property to event-representations to allow for
key-combinations that cannot be typed, but can be mapped to. e.g. <S-@>
2009-06-08 00:56:46 +01:00
Kris Maglione 83d7e30b5d Petty makefile changes. 2009-06-06 23:40:17 -04:00
Conrad Irwin 1eec2c92cb Fix RegExp to exclude all numbers from key_code 2009-06-07 03:14:36 +01:00
Conrad Irwin 64e2adfe87 Fix macros.
Spaces are no-longer replaced by <s,

@q works, even though @: is mapped.
2009-06-07 02:21:58 +01:00
Conrad Irwin 41aed95c05 Fix S- handling to normalize in the manner of vim
Instead of treating all key presses as Shifted, it now normalises the
user-input.

Also now treats < as <lt>

Behaviour:

(:map <C-S-a> == :map <C-S-A>) != (:map <C-a> == :map <C-A>)
:map <C-S-@> is meaningless (though no error is produced) c.f. vim
:map <C-S-2> is meaningless (though no error is produced) c.f. vim

Internally, commands are stored with no shift modifiers for alphabetic
characters, i.e. (:map <C-S-a> creates the mapping <C-A>) as in vim.

<CapsLock> <C-a> will cause the <C-A> mapping (mapped with <C-S-a> to be
triggered).

There still seems to be a bug with :map <Space> and :map <CR>
2009-06-07 01:34:42 +01:00
Kris Maglione 8ac6321a1c Fix createEvent/init*Event insanity. 2009-06-06 14:47:34 -04:00
Doug Kearns 5f1d15968e Fix typo in events.feedkeys. 2009-06-07 00:16:20 +10:00
Doug Kearns 6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Martin Stubenschrott 3e984c776d clean up HACKING file a little, and rename canonKeys method 2009-06-01 14:45:57 +02:00
Doug Kearns 64a9c9554c Fix more function formatting faux pas as per the style guide. 2009-06-01 16:46:09 +10:00
Doug Kearns cd3364197f Fix some minor function formatting faux pas. 2009-06-01 16:46:07 +10:00
Kris Maglione 5e760406ab Fix #283, etc. 2009-05-30 13:29:17 -04:00
Kris Maglione 311affb871 Fix stupid idiosyncratic idiosyncrasy: RegExp literals are not like array literals—they always return the same object. Remove some dead code. 2009-05-29 14:32:50 -04:00
Kris Maglione 5831b652f9 Fix <C-v> 2009-05-28 17:38:12 -04:00