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
Kris Maglione
474ce30ada
Minor cleanup/we like symlinks.
2009-05-28 15:03:47 -04:00
Doug Kearns
451e7af170
Don't return pointless values from keypress event handlers.
2009-05-28 20:28:50 +10:00
Kris Maglione
b8aab050e9
Remove some config.name checks. Add configbase module.
2009-05-23 21:10:32 -04:00
Kris Maglione
36f6ff463f
Store canonical names for all bound keys.
2009-05-22 22:12:11 -04:00
Kris Maglione
e9fc3327ed
Make :undo a bit saner. Add TODO about config.name checks.
2009-05-22 13:55:22 -04:00
Doug Kearns
26dabbfd0d
Change multiline error message guard clauses to single line formatting.
...
Also apply similar formattng fixes to conditional blocks as per
standard.
2009-05-22 10:53:17 +10:00
Doug Kearns
4c4295029e
Improve :delmacros error messages.
2009-05-22 10:53:15 +10:00
Doug Kearns
111e27bf2e
Add some very rough API documentation for Events.
2009-05-22 10:53:14 +10:00
Doug Kearns
3df0e174ac
Move liberator.input to Events.
2009-05-22 10:53:11 +10:00
Doug Kearns
a97d419fc8
Move events.prefObserver to options.prefObserver.
2009-05-15 22:17:00 +10:00
Doug Kearns
47a5c73a5b
Remove some Hungarian notation.
2009-05-12 18:24:12 +10:00
Kris Maglione
2578a77f52
Hack...
2009-04-29 17:34:22 -04:00
Kris Maglione
c64cd9e1af
Don't flush event queue in feedkeys loop.
2009-04-28 14:28:14 -04:00
Kris Maglione
2f753b6d27
Fix #247
2009-04-22 13:15:56 -04:00
Martin Stubenschrott
9320c5b1be
* Fix muttator and experimentally increase buffer position display timeout to 500ms to avoid rendering the page twice
2009-04-20 22:48:19 +02:00