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

4658 Commits

Author SHA1 Message Date
Kris Maglione
3a4da78529 Revert "In delmarks, change let variable name to prevent namespace-related error (bug #126)."
This reverts commit f6eb37e82c0419cdc62c1a781b64d30148024a58.
2009-01-24 00:45:01 -05:00
Ted Pavlic
d99720ce10 In delmarks, change let variable name to prevent namespace-related error (bug #126).
See http://vimperator.org/trac/ticket/126

Using...

    function (args)
    {
        let args = args.string;
    ...

was causing Firefox to complain that args was undefined. Changing the
"let" to "var" or changing the names of the variables (e.g., changing
"function (args)" to "function (arg)") fixes the problem. IMO, this
appears to be a bug in Firefox.

The short fix would be to change the formal argument from "args" to
"arg." However, that would make delmarks' implementation different from
all the rest. So changed "let args" to "let argstring" and adjusted
throughout the function.
2009-01-23 16:31:55 -05:00
Ted Pavlic
9cb000545e Put |VIMP_INIT| back where it should be in starting.txt 2009-01-23 15:28:53 -05:00
Ted Pavlic
ac603ad687 Small fix to last commit. Prevents gobbling all <C-*> on Mac. 2009-01-23 10:47:26 -05:00
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
Doug Kearns
8c466abdcd Remove the Vimballs as they're generated files.
The muttator Vimball was committed unintentionally.
2009-01-23 22:47:32 +11:00
Ted Pavlic
d4c62b4851 Corrections to last commit.
* The stdin - wasn't needed. However, an ||true is now used to prevent
  Makefile from erroring out (I'm sure there's a better way).
* muttatorrc was spelled muttatororrc; fixed now.
2009-01-22 10:43:22 -05:00
Ted Pavlic
612362149a Fully-staged previous commit (f4e4ed50986d091461536536a6a085dfcbc91823).
* The vimperator.vba was not included although muttator.vba was.
* Adjusted Makefiles so that vim is called with "-" to open stdin (that
  was required on my Vim7.2 system; does it break others?)
2009-01-22 10:30:35 -05:00
Doug Kearns
6b8cd0b35b Add a Vim syntax file for Muttator files and ftdetect files for all.
This also adds a quick 'n' dirty build mechanism for creating the
Vimballs.  Unfortunately, these aren't particularly amenable to being
created in a batch process.  Dr Chip has created a small C program for
this but that would be a silly dependency.
2009-01-22 18:59:23 +11:00
Ted Pavlic
f752a00233 Removed final extra indentation from Makefile status messages.
I thought the indentation looked nice and helped when viewing the output
of a "make xpi" from liberator.

Oh, well.
2009-01-21 15:55:49 -05:00
Kris Maglione
0d3ceb8c98 Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-01-21 15:09:38 -05:00
Kris Maglione
3b6c0a2428 Remove last reference to T2T from Makefile.doc. 2009-01-21 15:09:29 -05:00
Kris Maglione
91c5485c42 Fix LANG setting in Makefile.doc. Remove extra indentation in messages. 2009-01-21 14:53:12 -05:00
Ted Pavlic
24e4a3ac19 Changed .gitignore to catch .stgit-*.txt instead of just .stgit-edit.txt 2009-01-21 14:48:37 -05:00
Ted Pavlic
f36748338b Added some instructions to vimperator.vim.
Files like vimperator.vim, javascript.vim, and vimperatorrc.example
might fit better in a "contrib" directory. It's not clear whether there
should be vimperator/contrib and muttator/contrib directories or a
single liberator/contrib directory.

The Makefile.common doesn't include these files in the bundle, and so it
doesn't seem like a bad idea to package them in a single
liberator/contrib directory with a CONTENTS or README file giving a ToC
for the directory.
2009-01-21 11:19:16 -05:00
Ted Pavlic
23ff9efc61 Make xpi the default liberator/Makefile target (rather than clean). 2009-01-21 11:07:50 -05:00
Ted Pavlic
48be1c8df7 Changed awk to $(AWK) in Makefile.doc. 2009-01-21 11:02:52 -05:00
Ted Pavlic
74c04cc49b Polished Makefile.doc anD Makefile.common.
(includes a more elegant fix for 1e4369cb40de23bd912bb7b5175c6cfae4e665c2)
2009-01-21 10:59:47 -05:00
Ted Pavlic
f381a86bf7 Temporary fix for "Sanitize Makefile.doc" (1e4369cb40de23bd912bb7b5175c6cfae4e665c2)
More elegant fix to come, but something was needed so that "make xpi"
could build.
2009-01-21 10:41:42 -05:00
Ted Pavlic
9ad451b7f7 Three small Makefile.doc fixes.
* Require language part of locale to be two lowercase letters.
* Update Makefile.doc comment -- add "include" comment.
* Get rid of muttator/locale/en-US/Makefile symlink in favor of include.
2009-01-21 10:17:37 -05:00
Kris Maglione
eb88d7ea0b Sorry, stashed changes including:
Change util.range to accept an increment as the third argument.
    Sanitize Makefile.doc
2009-01-21 03:41:43 -05:00
Kris Maglione
347938bfca Merge branch 'master' into vimperator-2.1
Conflicts:
	vimperator/NEWS
2009-01-21 03:40:04 -05:00
Kris Maglione
050cd4b2e4 Make [count]<C-n> behave as expected. 2009-01-21 03:37:40 -05:00
Kris Maglione
4d07a8b47f Cleanup last patch 2009-01-20 23:40:05 -05:00
janus_wel
912bf91133 Fix erroneous info and add group names in styling.txt
* Delete the desctiption of nonexistent command :highlight-clear.
* Delete the erroneous info about bang of :highlight command.
* Add unwritten group names from styling.js.

Signed-off-by: Kris Maglione <maglione.k@gmail.com>
2009-01-20 23:38:48 -05:00
Ted Pavlic
8b95e72115 Minor copyedits. 2009-01-20 11:54:46 -05:00
Ted Pavlic
1f93e422e7 Fixed (:abbr """a b) so it stopped throwing E114 (like Vim). 2009-01-20 11:28:32 -05:00
Ted Pavlic
1927574ef5 Linked insert.html to :help's intro 2009-01-20 11:15:17 -05:00
Ted Pavlic
4e203e0840 Removed implicit numbering in map.txt; made numbering explicit.
This commit is in the spirit of
a3fc60c011b8ed42c2efec2147b1268abc10d578.

Vim's help format really numbers everything manually? Sections too?
That's unbelievable.
2009-01-20 10:49:42 -05:00
Ted Pavlic
9993f0594e Make abbreviations expand on quotes as well as space.
Also added rough documentation for insert mode.

TODO: Abbreviations should also expand on <CR> and <Tab>, but right now
adding <CR> to the mappings.add() has no effect, and adding <Tab> to the
mappings.add() breaks tab completion.

TODO: Rather than listing non-keyword characters in two places (ui.js
and mappings.js), they should be specified in one location (that could
someday be trumped by an 'iskeyword' option).
2009-01-20 10:45:48 -05:00
anekos
3abd88276e Fix OPTION_NOARG's completion.
If the option is OPTION_NOARG, args[-opt] becomes null.
2009-01-20 23:40:07 +09:00
Martin Stubenschrott
9b8a23ca40 added dpb to Donors 2009-01-19 22:39:02 +01:00
Martin Stubenschrott
08dbdcb7ba Fixed external editor on Linux, maybe broke it for some other system? 2009-01-19 20:28:49 +01:00
Martin Stubenschrott
30db94b3db Fixed zoom level messages (not opening MOW anymore on subsequent zi's) 2009-01-19 18:42:42 +01:00
Kris Maglione
7f305e8ba4 Allow extra args to be bassed to completion.addUrlCompleter 2009-01-19 00:39:35 -05:00
Doug Kearns
2f2f753f2d Remove some erroneous entries from :help option-index (Janus Wel). 2009-01-19 12:50:53 +11:00
Kris Maglione
207913e49a s/Itarator/Iterator/ 2009-01-18 17:24:51 -05:00
Kris Maglione
cead5e3230 Merge branch 'master' of kmaglione@git.vimperator.org:/git/vimperator/liberator 2009-01-18 14:44:51 -05:00
Doug Kearns
d782ff4862 Fix "Command-line-mode" help tag name.
Help tags don't contain whitespace. Words are separated by "-".
2009-01-19 00:54:12 +11:00
Doug Kearns
16b9b98a45 Remove setting of 'syntax' in Asciidoc file modelines.
Setting 'filetype' makes this redundant.
2009-01-19 00:45:58 +11:00
Doug Kearns
aaa36956c5 Fix abbreviation tests (Luo Chunlei). 2009-01-19 00:42:44 +11:00
Doug Kearns
ed9555d8d7 Fix regressions#getSinglelineOutput() (Luo Chunlei). 2009-01-19 00:42:43 +11:00
Doug Kearns
5cf64c5d57 Mention accessibility.typeaheadfind.* in overridden-preferences help. 2009-01-19 00:42:42 +11:00
Kris Maglione
211e68f8d3 Revert "Again removed explicit numbering in asciidoc help files."
This reverts commit a401e3ebf34c964ca508c189e1daf9b0b18e57b9.

Explicit numbering is easier to read, and will likely be required if and when
we switch to Vim's help format.
2009-01-17 23:45:50 -05:00
Kris Maglione
53f33e0561 Allow ` as local mark 2009-01-17 23:43:29 -05:00
anekos
d822a0b363 Merge branch 'master' into fixTailQuote 2009-01-18 03:14:50 +09:00
anekos
a381a3947a Fix let-command's extraInfo
'let g:foo="c:\"' raise a error.
  -> E114: Missing quote: "
2009-01-18 03:07:47 +09:00
Ted Pavlic
db872c5e65 Added "filetype=asciidoc" to help file modlines.
At the moment, only "syntax=asciidoc" was specified. The
asciidoc_filetype.vim that is distributed with Asciidoc gives the
installer two options -- to either associate every *.txt file with
asciidoc or to try to decipher whether or not the file is an asciidoc
using the first 50 lines.

So it's not given that a developer will open the *.txt files with
ft=asciidoc, and so it's helpful to have it explicitly in the modeline.
2009-01-17 13:02:41 -05:00
Ted Pavlic
45f6153de4 More command-line edits (now elsewhere in the source). 2009-01-17 12:55:56 -05:00
Ted Pavlic
f618833c18 More "command-line edits" in prompts.
Again, by Chicago Manual of Style (CMOS) and several other style guides, we
hyphenate compound /modifiers/ when they come /before/ the word being
modified.

So the "command line" is not hyphenated, but the "command-line mode" is. 

This is consistent with Vim help style conventions as well.
2009-01-17 12:46:10 -05:00