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

4658 Commits

Author SHA1 Message Date
Doug Kearns
3bfa2d39d5 Prefer let over var in muttator modules. 2009-06-08 23:37:08 +10:00
Doug Kearns
32106364f5 Formatting fixes. 2009-06-08 23:37:07 +10:00
Doug Kearns
f37a0a37b3 Fix some heinous comment formatting errors. 2009-06-08 23:37:06 +10:00
Doug Kearns
cc60df5bb7 Simplify tabs.tabStrip definition. 2009-06-08 23:33:29 +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
d12f77e347 Revert "Undo unacknowledged damage in penultimate commit."
This reverts commit b1455b31491b4443a4789b91ca3d172d55c1b424.
2009-06-06 23:50:26 -04:00
Kris Maglione
83d7e30b5d Petty makefile changes. 2009-06-06 23:40:17 -04:00
Kris Maglione
f33100d579 Undo unacknowledged damage in penultimate commit. 2009-06-06 23:39:21 -04:00
Conrad Irwin
1eec2c92cb Fix RegExp to exclude all numbers from key_code 2009-06-07 03:14:36 +01:00
Conrad Irwin
4892a927f8 Fix #232 (pass count through :mapped commands) 2009-06-07 03:02:11 +01:00
Conrad Irwin
834acb2776 Canonicalize map body. 2009-06-07 02:36:56 +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
Kris Maglione
4b46d967bd Fix chrome://liberator/content/buffer.js:1797: TypeError: win.document.body is null 2009-06-06 14:46:30 -04:00
Doug Kearns
5f1d15968e Fix typo in events.feedkeys. 2009-06-07 00:16:20 +10:00
Kris Maglione
97987ef0f5 Specify sh rather than bash in make_jar.sh shebang line. Fix FIXME. 2009-06-06 10:14:47 -04:00
Doug Kearns
209947619b Add FIXME note about an Error from the completions status timer. 2009-06-06 10:43:02 +10:00
Doug Kearns
60ae1deb3f Move {xulmus,vimperator}/**/bookmarks.js to common/content. 2009-06-06 03:21:25 +10:00
Doug Kearns
29daa12f8e Add a "tabUndo" config feature.
Songbird doesn't support tab undo.
2009-06-06 03:12:52 +10:00
Doug Kearns
56814ed072 Specify bash rather than dash in the make_jar.sh shebang line. 2009-06-04 21:42:30 +10:00
Doug Kearns
bee39cacb7 Don't include the default -description value when serializing commands. 2009-06-04 17:05:53 +10:00
Doug Kearns
7cb53db7da Fix some typos in configbase documentation. 2009-06-04 14:30:49 +10:00
Doug Kearns
09d8af9044 Change multiline beep guard clauses to single line formatting. 2009-06-04 14:30:46 +10:00
Doug Kearns
e762b6f9d4 Add a -description option to :command. 2009-06-04 14:28:32 +10:00
Doug Kearns
4df596d969 Fix tabs.js loading in Xulmus. 2009-06-03 20:15:38 +10:00
Doug Kearns
40ede036f6 Fix <C-u> and <C-d> (durka42). 2009-06-02 16:59:25 +10:00
Doug Kearns
6d7b94daa6 Add missing semicolons. 2009-06-02 16:59:24 +10:00
Doug Kearns
95dffaf95a Add util.Math.constrain. 2009-06-02 16:58:20 +10:00
Martin Stubenschrott
3e984c776d clean up HACKING file a little, and rename canonKeys method 2009-06-01 14:45:57 +02:00
Martin Stubenschrott
7e9fcf8d05 Move 'encoding' option to vimperator, since PlacesUtils is supported on firefox anyway 2009-06-01 14:45:57 +02:00
Doug Kearns
0c5fde8ebf Merge Vimperator's docs with Xulmus. 2009-06-01 21:57:25 +10:00
Doug Kearns
494cfc6e84 Clean up :map help. 2009-06-01 16:46:10 +10: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
Martin Stubenschrott
324fe50f36 Fix muttator's key bindings 2009-05-29 13:27:09 +02:00
Martin Stubenschrott
9fa6b8e624 Fix space/return etc. for muttator. Unfortunatly config{base}.ignoreKeys
can't really be used for this, so we have to duplicate it for all apps.
2009-05-29 13:07:17 +02: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
Kris Maglione
8d5fc6faea Update TODO. 2009-05-28 15:02:21 -04:00
Doug Kearns
b966c4dac1 Fix NEWS feature ordering. 2009-05-28 20:33:00 +10:00
Doug Kearns
0edefd5dc2 Add a command-line handler to process the -liberator option. 2009-05-28 20:28:51 +10:00
Doug Kearns
451e7af170 Don't return pointless values from keypress event handlers. 2009-05-28 20:28:50 +10:00
Kris Maglione
9b49a41cba NEWS formatting. 2009-05-27 19:10:14 -04:00
Conrad Irwin
0766b31697 NEWS and documentation for previous commit (;i ;I) 2009-05-27 23:43:53 +01:00
Conrad Irwin
54b48868ce Fix #268 (Hints for opening images)
Hmm, these extended hints are just awful, instead of just one ; we
should have four (this tab, new tab, background tab, window) so that we
don't need so much repitition (and the background tab mode can trigger
the multiple hint modes for all relevant hints too)
2009-05-27 21:20:41 +01:00
Kris Maglione
6055c8a77b Add some rough documentation for config.js properties. 2009-05-25 12:10:22 -04:00