Ted Pavlic
4884f5defc
Fixes <C-[>, <C-\\>, <C-]>, <C-^>, and <C-_> on Mac OS/X.
...
On Mac OS/X, control characters 27 through 31 pass charCode=CONTROL_CHAR
rather than charCode=KEY. For example, when a user wants <C-[>
Vimperator sees <C-Esc>. Most people view this as a bug in FirefOS/X.
The following patch tests for has("MacUnix"), then checks to see if the
control character is within this buggy range. If so, it shifts the
charCode up by 64 (there is a special case for Escape where the CTRL key
is relaxed and key is set to "Esc").
For more information, see:
[*] Vimp FAQ: http://vimperator.org/trac/wiki/Vimperator/FAQ#WhydoesntC-workforEscMacOSX
[*] Referenced mailing list msg: http://www.mozdev.org/pipermail/vimperator/2008-May/001548.html
[*] Mozilla bug 416227: event.charCode in keypress handler has unexpected values on Mac for Ctrl with chars in "[ ] _ \"
https://bugzilla.mozilla.org/show_bug.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&id=416227
[*] Mozilla bug 432951: Ctrl+'foo' doesn't seem same charCode as Meta+'foo' on Cocoa
https://bugzilla.mozilla.org/show_bug.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&id=432951
2009-01-23 10:05:14 -05:00
Ted Pavlic
45f6153de4
More command-line edits (now elsewhere in the source).
2009-01-17 12:55:56 -05:00
Martin Stubenschrott
6cddced452
fixed muttator completions
2009-01-14 22:33:17 +01:00
Ted Pavlic
d29013a2fd
Three small changes (copyright, template.js copyright, and tildetidy target)
...
a.) Cleaned up copyright language to match conventions.
(I used the memoir document class documentation as a reference, but
these conventions are common throughout publishing)
* The (c) symbol has no legal meaning. Only the word "Copyright" and
an encircled lowercase c are appropriate. So the word "Copyright"
was placed before each (c).
* Each (C) was changed to (c).
* Kris uses the correct symbols in copyright notices, but those
symbols can be problematic in terminal-mode editors. Added the word
"Copyright" as well.
* Replaced colons/spaces after years with the word "by."
b.) Added a copyright notice to common/content/template.js. It was
missing one entirely. Please correct if it doesn't need one or if the
copyright isn't held by Martin.
c.) Also added a "tildetidy" target to Makefile common that includes a
version of the find line from the existing "clean" target (however,
this version uses "rm -fv" instead of "rm -f").
2009-01-12 09:14:54 -05:00
Doug Kearns
9729969d8b
Whitespace fixes.
2009-01-12 15:32:50 +11:00
Ted Pavlic
147cdab5d2
Update copyrights for 2009.
2009-01-11 00:47:56 -05:00
Doug Kearns
5dbcd6f7e0
Add some rough source documentation for IO.
2009-01-11 01:12:30 +11:00
teramako
994993820f
support multi modifiers
2009-01-09 00:17:18 +09:00
Kris Maglione
8acd490a50
Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator into HEAD
2009-01-06 23:13:28 -05:00
Kris Maglione
102605556d
Fix rapid succession <Tab><Tab> when busy. Don't wait for all contexts to complete when processing <Tab>
2009-01-06 23:12:51 -05:00
Doug Kearns
61d3fae8b4
Use self as the returned object from all creation functions.
2009-01-07 14:44:35 +11:00
Martin Stubenschrott
153536799a
dont output continous "Waiting for page to load..." as a message
2009-01-05 06:09:57 +01:00
Doug Kearns
e91fbcd754
Add some source documentation for AutoCommands.
...
Also normalise the use of /* */ and // comments.
2009-01-02 00:56:58 +11:00
Doug Kearns
eeca611435
Add some more rough source documentation.
2009-01-01 22:01:56 +11:00
Doug Kearns
1e25799ef1
Use a Struct for autocommands.
...
This is marginally clearer and will be helpful for autocommand groups
etc.
2009-01-01 22:01:53 +11:00
Martin Stubenschrott
b7bc245430
teramako: please follow our rules of intention, whitespace, etc. (same
...
for Ted, but Kris already said that)
2008-12-31 16:31:35 +01:00
teramako
5988c4fbf4
not display the command when autocommand triggered
2009-01-01 00:23:15 +09:00
Doug Kearns
0f0d26d504
Normalise element related temporary variable names (elt -> elem).
2008-12-31 13:08:41 +11:00
Doug Kearns
2828b47b65
Search recursively for plugins in liberator.loadPlugins.
2008-12-31 13:08:32 +11:00
Kris Maglione
d552719235
Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator
2008-12-29 13:55:48 -05:00
Kris Maglione
72cb6c35e9
Fix some bugs.
2008-12-29 13:43:26 -05:00
Doug Kearns
d65b57cf2d
Prefer " over '.
2008-12-29 23:26:09 +11:00
anekos
09cfa87fed
s/'/"/ and remove spaces.
2008-12-29 07:05:57 +09:00
Kris Maglione
3acf687340
Fix stupid MS/Mac urlbar focus bug again (again)
2008-12-24 12:57:59 -05:00
Kris Maglione
89698e3e05
s/service[(".*?")]/services.get(\1)/g; s/service.get(\w+)/'services.create("' + lcfirst($1) + '")'/ge
2008-12-23 15:07:48 -05:00
Martin Stubenschrott
feeccb23d2
Undo certain parts from the unfortunate "service" commit, to unbreak Muttator. @Kris: Please try not to
...
commit unconnected things at once, as it's much harder to revert such commits :( I'll have to revert
the service -> Cc/Ci manually now, as I got lots of conflicts in reverting, and if i didn't, i wouldn't
want to undo the other parts of that commit (like VIMPERATOR_RUNTIME or the added comments)
2008-12-23 03:15:52 +01:00
Doug Kearns
fbb1f33fab
Use the RegExp global function rather than calling the constructor.
2008-12-21 22:07:16 +11:00
Kris Maglione
872d03808e
Add $VIMPERATOR_RUNTIME, $VIMPERATOR_INIT, ~/.vimperator/info/{profile}.
2008-12-20 18:34:14 -05:00
Kris Maglione
0583508b94
Fix onKeyPress error
2008-12-20 15:38:12 -05:00
Kris Maglione
f60ea76379
Make sure that the hint number is in the viewport
2008-12-19 14:57:34 -05:00
Kris Maglione
74700d3aff
Document some more crap.
2008-12-19 13:27:01 -05:00
Doug Kearns
4b896f3706
remove some ancient cruft
2008-12-19 23:09:37 +11:00
Doug Kearns
d60c81ef23
add missing semicolons
2008-12-19 23:00:14 +11:00
Doug Kearns
1ff25093c0
whitespace fix
2008-12-19 19:12:55 +11:00
Kris Maglione
947311dfdf
Kludge the stupid urlbar focus bug better
2008-12-18 21:37:44 -05:00
Doug Kearns
c11e153766
whitespace fixes
2008-12-18 21:06:51 +11:00
anekos
b200139456
Fix: When one of functional AutoCommand raise a error, remaining AutoCommands are not executed.
2008-12-18 19:00:02 +09:00
Kris Maglione
c40238e109
Fix keypress handling bug
2008-12-17 22:17:10 -05:00
Kris Maglione
6a04a6e7cf
Add 'const service'
2008-12-17 16:41:54 -05:00
Kris Maglione
18d4f74b6e
Cc/Ci/Cr/Cu
2008-12-16 19:12:04 -05:00
Martin Stubenschrott
59ab76cead
fixed macros. Also don't push echomsgs to the multiline for now
2008-12-17 00:08:57 +01:00
Doug Kearns
f27c461c7f
replace some echo() calls with echomsg()
2008-12-12 14:03:31 +11:00
Kris Maglione
0f330b3a15
Fix :echo undefined
2008-12-11 15:22:01 -05:00
Kris Maglione
90b2fba611
Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator
2008-12-09 22:05:03 -05:00
Kris Maglione
374004e31b
Add *very* basic (and bad) E4X highlighting for vim.
2008-12-09 22:00:47 -05:00
Doug Kearns
f2a2e9dc55
prefer let over var in Events and AutoCommands
2008-12-10 13:52:59 +11:00
Doug Kearns
9233a428bf
retab files
2008-12-10 01:46:06 +11:00
Kris Maglione
29de1f0e8a
Use FORCE_SINGLELINE in a few more places
2008-12-08 12:33:23 -05:00
Kris Maglione
cc22c2f192
Fuck with :regressions a bit.
2008-12-08 11:44:58 -05:00
anekos
6a3be0dcc6
Enabled autocommmands(trigger) to call function.
2008-12-08 23:30:25 +09:00