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
Kris Maglione
63360ac6a3
Fix 9b347a8b11e3f9d2b1ffa2391b1cc93bc5997fef (contentEditable)
2009-04-15 18:34:50 -04:00
Kris Maglione
3d8c17574a
Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator
2009-04-15 16:31:37 -04:00
Kris Maglione
f3f70d5cb8
General cleanup related to last commit.
2009-04-15 16:31:32 -04:00
Daniel Bainton
25935fa578
Elements with contentEditable will now trigger insert mode. (David Bronke)
2009-04-15 08:32:09 +03:00
Kris Maglione
56da39319b
Fix config.focusChange check.
2009-03-30 11:00:38 -04:00
Kris Maglione
2a88d8a3bf
Revert "Fix some zi/zo issues."
...
This reverts commit b39be7b367528d9a86380c3ec5c2a6fcafd2cd22.
2009-03-30 01:19:29 -04:00
Kris Maglione
7e068d4f9e
Fix some zi/zo issues.
2009-03-30 01:16:39 -04:00
Kris Maglione
a8f41faf4e
Merge.
2009-03-30 01:14:46 -04:00
Doug Kearns
897181a5c4
Whitespace fixes.
2009-03-29 13:50:18 +11:00
Doug Kearns
3b667419f8
Merge branch 'master' into xulmus
...
Conflicts:
License.txt
2009-03-29 12:34:05 +11:00